constant_contact_client 1.0.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (545) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +653 -27
  3. data/Gemfile.lock +52 -23
  4. data/README.md +23 -6
  5. data/constant_contact_client.gemspec +3 -3
  6. data/docs/AccountServicesApi.md +2 -2
  7. data/docs/BulkActivitiesApi.md +16 -12
  8. data/docs/ContactListsApi.md +5 -1
  9. data/docs/ContactsApi.md +84 -10
  10. data/docs/ContactsCustomFieldsApi.md +22 -22
  11. data/docs/EmailCampaignsApi.md +1 -1
  12. data/docs/EmailSchedulingApi.md +1 -1
  13. data/docs/EventsApi.md +881 -0
  14. data/docs/SMSReportingApi.md +86 -0
  15. data/docs/SocialApi.md +302 -0
  16. data/lib/constant_contact_client/api/account_services_api.rb +4 -4
  17. data/lib/constant_contact_client/api/bulk_activities_api.rb +19 -16
  18. data/lib/constant_contact_client/api/contact_lists_api.rb +12 -2
  19. data/lib/constant_contact_client/api/contact_tags_api.rb +2 -2
  20. data/lib/constant_contact_client/api/contacts_api.rb +89 -17
  21. data/lib/constant_contact_client/api/contacts_custom_fields_api.rb +29 -29
  22. data/lib/constant_contact_client/api/contacts_reporting_api.rb +2 -2
  23. data/lib/constant_contact_client/api/email_campaigns_ab_tests_api.rb +2 -2
  24. data/lib/constant_contact_client/api/email_campaigns_api.rb +4 -4
  25. data/lib/constant_contact_client/api/email_reporting_api.rb +2 -2
  26. data/lib/constant_contact_client/api/email_scheduling_api.rb +4 -4
  27. data/lib/constant_contact_client/api/events_api.rb +881 -0
  28. data/lib/constant_contact_client/api/landing_pages_reporting_api.rb +2 -2
  29. data/lib/constant_contact_client/api/segments_api.rb +2 -2
  30. data/lib/constant_contact_client/api/sms_reporting_api.rb +92 -0
  31. data/lib/constant_contact_client/api/social_api.rb +286 -0
  32. data/lib/constant_contact_client/api_client.rb +3 -3
  33. data/lib/constant_contact_client/api_error.rb +2 -2
  34. data/lib/constant_contact_client/configuration.rb +2 -2
  35. data/lib/constant_contact_client/models/ab_test_data.rb +2 -2
  36. data/lib/constant_contact_client/models/access_token_response.rb +2 -2
  37. data/lib/constant_contact_client/models/account_cancellation.rb +2 -2
  38. data/lib/constant_contact_client/models/account_email_create_response.rb +2 -2
  39. data/lib/constant_contact_client/models/account_email_input.rb +2 -2
  40. data/lib/constant_contact_client/models/account_info_dto.rb +266 -0
  41. data/lib/constant_contact_client/models/account_physical_address.rb +2 -2
  42. data/lib/constant_contact_client/models/account_suspension.rb +2 -2
  43. data/lib/constant_contact_client/models/activities.rb +2 -2
  44. data/lib/constant_contact_client/models/activity.rb +2 -2
  45. data/lib/constant_contact_client/models/activity_delete_custom_fields.rb +2 -2
  46. data/lib/constant_contact_client/models/activity_delete_list_response.rb +3 -3
  47. data/lib/constant_contact_client/models/activity_delete_lists_response.rb +2 -2
  48. data/lib/constant_contact_client/models/activity_delete_status.rb +2 -2
  49. data/lib/constant_contact_client/models/activity_errors.rb +2 -2
  50. data/lib/constant_contact_client/models/activity_export_status.rb +2 -2
  51. data/lib/constant_contact_client/models/activity_generic.rb +2 -2
  52. data/lib/constant_contact_client/models/activity_generic_status.rb +2 -2
  53. data/lib/constant_contact_client/models/activity_import.rb +2 -2
  54. data/lib/constant_contact_client/models/activity_links.rb +2 -2
  55. data/lib/constant_contact_client/models/activity_lists_membership.rb +2 -2
  56. data/lib/constant_contact_client/models/activity_reference.rb +2 -2
  57. data/lib/constant_contact_client/models/activity_status.rb +2 -2
  58. data/lib/constant_contact_client/models/activity_status_export_link.rb +2 -2
  59. data/lib/constant_contact_client/models/activity_status_link.rb +2 -2
  60. data/lib/constant_contact_client/models/activity_tagging.rb +2 -2
  61. data/lib/constant_contact_client/models/activity_tagging_status.rb +2 -2
  62. data/lib/constant_contact_client/models/add_account_email_address201_response.rb +2 -2
  63. data/lib/constant_contact_client/models/add_account_email_address_request.rb +2 -2
  64. data/lib/constant_contact_client/models/address_dto.rb +604 -0
  65. data/lib/constant_contact_client/models/address_dto1.rb +604 -0
  66. data/lib/constant_contact_client/models/api_error_schema_inner.rb +2 -2
  67. data/lib/constant_contact_client/models/attribute_dto.rb +323 -0
  68. data/lib/constant_contact_client/models/attribute_dto1.rb +323 -0
  69. data/lib/constant_contact_client/models/authorization_error_schema.rb +2 -2
  70. data/lib/constant_contact_client/models/automation_campaign.rb +274 -0
  71. data/lib/constant_contact_client/models/automation_campaign_active_definition.rb +235 -0
  72. data/lib/constant_contact_client/models/automation_campaign_structured_tags_inner.rb +232 -0
  73. data/lib/constant_contact_client/models/automation_flow.rb +215 -0
  74. data/lib/constant_contact_client/models/automation_flow_workflow_def.rb +262 -0
  75. data/lib/constant_contact_client/models/automation_structured_tag.rb +232 -0
  76. data/lib/constant_contact_client/models/automation_workflow_def.rb +262 -0
  77. data/lib/constant_contact_client/models/automation_workflow_definition.rb +235 -0
  78. data/lib/constant_contact_client/models/automation_workflow_definition_workflow.rb +215 -0
  79. data/lib/constant_contact_client/models/bounces_tracking_activities_page.rb +2 -2
  80. data/lib/constant_contact_client/models/bounces_tracking_activity.rb +2 -2
  81. data/lib/constant_contact_client/models/bulk_campaign_summary.rb +289 -0
  82. data/lib/constant_contact_client/models/bulk_email_campaign_summaries_page.rb +2 -16
  83. data/lib/constant_contact_client/models/bulk_email_campaign_summaries_percents.rb +2 -2
  84. data/lib/constant_contact_client/models/bulk_email_campaign_summary.rb +2 -23
  85. data/lib/constant_contact_client/models/bulk_sms_campaign_summaries_percents.rb +245 -0
  86. data/lib/constant_contact_client/models/campaign_activity_stats_query_result_email.rb +2 -2
  87. data/lib/constant_contact_client/models/campaign_activity_stats_result_generic_stats_email_activity.rb +2 -2
  88. data/lib/constant_contact_client/models/campaign_activity_summary.rb +2 -2
  89. data/lib/constant_contact_client/models/campaign_stats_query_result_email.rb +2 -2
  90. data/lib/constant_contact_client/models/campaign_stats_result_generic_stats_email_percents_email.rb +2 -2
  91. data/lib/constant_contact_client/models/check_in_tickets_request.rb +225 -0
  92. data/lib/constant_contact_client/models/clicks_tracking_activities_page.rb +2 -2
  93. data/lib/constant_contact_client/models/clicks_tracking_activity.rb +2 -2
  94. data/lib/constant_contact_client/models/company_logo.rb +2 -2
  95. data/lib/constant_contact_client/models/connection_dto.rb +224 -0
  96. data/lib/constant_contact_client/models/connection_response_dto.rb +218 -0
  97. data/lib/constant_contact_client/models/connection_status_dto.rb +276 -0
  98. data/lib/constant_contact_client/models/contact_campaign_activities_summary.rb +2 -2
  99. data/lib/constant_contact_client/models/contact_create_or_update_input.rb +17 -15
  100. data/lib/constant_contact_client/models/contact_create_or_update_response.rb +2 -2
  101. data/lib/constant_contact_client/models/contact_custom_field.rb +22 -17
  102. data/lib/constant_contact_client/models/contact_delete.rb +2 -2
  103. data/lib/constant_contact_client/models/contact_dto.rb +429 -0
  104. data/lib/constant_contact_client/models/contact_dto1.rb +430 -0
  105. data/lib/constant_contact_client/models/contact_list.rb +2 -2
  106. data/lib/constant_contact_client/models/contact_list_array.rb +2 -2
  107. data/lib/constant_contact_client/models/contact_list_put_post.rb +2 -2
  108. data/lib/constant_contact_client/models/contact_open_and_click_rates.rb +2 -2
  109. data/lib/constant_contact_client/models/contact_post_request.rb +15 -6
  110. data/lib/constant_contact_client/models/contact_put_request.rb +15 -6
  111. data/lib/constant_contact_client/models/contact_resource.rb +2 -2
  112. data/lib/constant_contact_client/models/contact_resubscribe_request.rb +224 -0
  113. data/lib/constant_contact_client/models/contact_sms_channel.rb +241 -0
  114. data/lib/constant_contact_client/models/contact_sms_channel_consents.rb +249 -0
  115. data/lib/constant_contact_client/models/contact_tracking_activities_page.rb +2 -2
  116. data/lib/constant_contact_client/models/contact_tracking_activity.rb +2 -2
  117. data/lib/constant_contact_client/models/contact_xref.rb +2 -2
  118. data/lib/constant_contact_client/models/contact_xrefs.rb +2 -2
  119. data/lib/constant_contact_client/models/contacts.rb +2 -2
  120. data/lib/constant_contact_client/models/contacts_counts.rb +2 -2
  121. data/lib/constant_contact_client/models/contacts_export.rb +62 -12
  122. data/lib/constant_contact_client/models/contacts_json_import.rb +2 -2
  123. data/lib/constant_contact_client/models/copy_event_request.rb +235 -0
  124. data/lib/constant_contact_client/models/create_contact_request.rb +15 -6
  125. data/lib/constant_contact_client/models/create_contact_request_email_address.rb +2 -2
  126. data/lib/constant_contact_client/models/create_csv_import_activity201_response.rb +2 -2
  127. data/lib/constant_contact_client/models/create_csv_import_activity201_response_links.rb +2 -2
  128. data/lib/constant_contact_client/models/create_csv_import_activity201_response_status.rb +2 -2
  129. data/lib/constant_contact_client/models/create_custom_fields_request.rb +313 -0
  130. data/lib/constant_contact_client/models/create_custom_fields_request_choices_inner.rb +245 -0
  131. data/lib/constant_contact_client/models/create_delete_activity201_response.rb +2 -2
  132. data/lib/constant_contact_client/models/create_delete_activity201_response_links.rb +2 -2
  133. data/lib/constant_contact_client/models/create_delete_activity201_response_links_self.rb +2 -2
  134. data/lib/constant_contact_client/models/create_delete_activity201_response_status.rb +2 -2
  135. data/lib/constant_contact_client/models/create_delete_activity_request.rb +2 -2
  136. data/lib/constant_contact_client/models/create_email_campaign200_response.rb +2 -2
  137. data/lib/constant_contact_client/models/create_email_campaign200_response_campaign_activities_inner.rb +2 -2
  138. data/lib/constant_contact_client/models/create_email_campaign_request.rb +2 -2
  139. data/lib/constant_contact_client/models/create_email_campaign_request_email_campaign_activities_inner.rb +21 -2
  140. data/lib/constant_contact_client/models/create_email_campaign_request_email_campaign_activities_inner_physical_address_in_footer.rb +2 -2
  141. data/lib/constant_contact_client/models/create_event201_response.rb +708 -0
  142. data/lib/constant_contact_client/models/create_event201_response_event_promotions_inner.rb +256 -0
  143. data/lib/constant_contact_client/models/create_event201_response_event_settings.rb +265 -0
  144. data/lib/constant_contact_client/models/create_export_activity201_response.rb +2 -2
  145. data/lib/constant_contact_client/models/create_export_activity201_response_status.rb +2 -2
  146. data/lib/constant_contact_client/models/create_export_activity_request.rb +62 -12
  147. data/lib/constant_contact_client/models/create_export_activity_request_exclude.rb +217 -0
  148. data/lib/constant_contact_client/models/create_import_json_activity_request.rb +2 -2
  149. data/lib/constant_contact_client/models/create_import_json_activity_request_import_data_inner.rb +7 -14
  150. data/lib/constant_contact_client/models/create_list_add_activity_request.rb +2 -2
  151. data/lib/constant_contact_client/models/create_list_add_activity_request_exclude.rb +2 -2
  152. data/lib/constant_contact_client/models/create_list_add_activity_request_source.rb +2 -2
  153. data/lib/constant_contact_client/models/create_list_delete_activity201_response.rb +2 -2
  154. data/lib/constant_contact_client/models/create_list_delete_activity201_response_links.rb +2 -2
  155. data/lib/constant_contact_client/models/create_list_delete_activity201_response_links_self.rb +2 -2
  156. data/lib/constant_contact_client/models/create_list_delete_activity201_response_status.rb +2 -2
  157. data/lib/constant_contact_client/models/create_list_delete_activity_request.rb +2 -2
  158. data/lib/constant_contact_client/models/create_list_remove_activity201_response.rb +2 -2
  159. data/lib/constant_contact_client/models/create_list_remove_activity201_response_status.rb +2 -2
  160. data/lib/constant_contact_client/models/create_list_remove_activity_request.rb +2 -2
  161. data/lib/constant_contact_client/models/create_list_remove_activity_request_exclude.rb +2 -2
  162. data/lib/constant_contact_client/models/create_list_remove_activity_request_source.rb +2 -2
  163. data/lib/constant_contact_client/models/create_or_update_contact200_response.rb +2 -2
  164. data/lib/constant_contact_client/models/create_or_update_contact_custom_field.rb +2 -2
  165. data/lib/constant_contact_client/models/create_or_update_contact_request.rb +17 -15
  166. data/lib/constant_contact_client/models/create_or_update_contact_request_custom_fields_inner.rb +2 -2
  167. data/lib/constant_contact_client/models/create_or_update_contact_request_sms_channel.rb +276 -0
  168. data/lib/constant_contact_client/models/create_or_update_contact_request_sms_channel_sms_channel_consents_inner.rb +310 -0
  169. data/lib/constant_contact_client/models/create_or_update_contact_request_street_address.rb +2 -2
  170. data/lib/constant_contact_client/models/create_resend_email_campaign201_response.rb +2 -2
  171. data/lib/constant_contact_client/models/create_resend_email_campaign_request.rb +2 -2
  172. data/lib/constant_contact_client/models/create_segment201_response.rb +2 -2
  173. data/lib/constant_contact_client/models/create_segment_request.rb +2 -2
  174. data/lib/constant_contact_client/models/create_social_post200_response.rb +272 -0
  175. data/lib/constant_contact_client/models/create_social_post_request.rb +262 -0
  176. data/lib/constant_contact_client/models/create_social_post_request_profile_posts_inner.rb +269 -0
  177. data/lib/constant_contact_client/models/create_social_post_request_profile_posts_inner_images_inner.rb +233 -0
  178. data/lib/constant_contact_client/models/create_social_post_request_profile_posts_inner_profiles_inner.rb +323 -0
  179. data/lib/constant_contact_client/models/create_tag_delete_activity_request.rb +2 -2
  180. data/lib/constant_contact_client/models/create_tag_remove_activity201_response.rb +2 -2
  181. data/lib/constant_contact_client/models/create_tag_remove_activity201_response_links.rb +2 -2
  182. data/lib/constant_contact_client/models/create_tag_remove_activity201_response_links_results.rb +2 -2
  183. data/lib/constant_contact_client/models/create_tag_remove_activity201_response_links_self.rb +2 -2
  184. data/lib/constant_contact_client/models/create_tag_remove_activity201_response_status.rb +2 -2
  185. data/lib/constant_contact_client/models/create_tag_remove_activity_request.rb +2 -2
  186. data/lib/constant_contact_client/models/create_tag_remove_activity_request_exclude.rb +2 -2
  187. data/lib/constant_contact_client/models/create_tag_remove_activity_request_source.rb +2 -2
  188. data/lib/constant_contact_client/models/cross_reference.rb +2 -2
  189. data/lib/constant_contact_client/models/cross_reference_response.rb +2 -2
  190. data/lib/constant_contact_client/models/{custom_field_resource.rb → custom_field.rb} +80 -11
  191. data/lib/constant_contact_client/models/custom_field_choice.rb +295 -0
  192. data/lib/constant_contact_client/models/custom_field_choice_put_request.rb +255 -0
  193. data/lib/constant_contact_client/models/custom_field_choice_request.rb +245 -0
  194. data/lib/constant_contact_client/models/custom_field_id100.rb +2 -2
  195. data/lib/constant_contact_client/models/custom_field_metadata.rb +266 -0
  196. data/lib/constant_contact_client/models/{custom_field_input.rb → custom_field_put_request.rb} +35 -28
  197. data/lib/constant_contact_client/models/custom_field_request.rb +313 -0
  198. data/lib/constant_contact_client/models/custom_fields.rb +2 -3
  199. data/lib/constant_contact_client/models/customer.rb +13 -3
  200. data/lib/constant_contact_client/models/customer_put.rb +2 -2
  201. data/lib/constant_contact_client/models/delete_list202_response.rb +3 -3
  202. data/lib/constant_contact_client/models/delete_tag202_response.rb +2 -2
  203. data/lib/constant_contact_client/models/delete_tag202_response_activity_errors_inner.rb +2 -2
  204. data/lib/constant_contact_client/models/delete_tag202_response_links.rb +2 -2
  205. data/lib/constant_contact_client/models/delete_tag202_response_links_self.rb +2 -2
  206. data/lib/constant_contact_client/models/delete_tag202_response_status.rb +2 -2
  207. data/lib/constant_contact_client/models/detailed_registration_dto.rb +316 -0
  208. data/lib/constant_contact_client/models/device_flow_response.rb +2 -2
  209. data/lib/constant_contact_client/models/did_not_opens_tracking_activities_page.rb +2 -2
  210. data/lib/constant_contact_client/models/did_not_opens_tracking_activity.rb +2 -2
  211. data/lib/constant_contact_client/models/email_address.rb +2 -2
  212. data/lib/constant_contact_client/models/email_address_post.rb +2 -2
  213. data/lib/constant_contact_client/models/email_address_put.rb +2 -2
  214. data/lib/constant_contact_client/models/email_campaign.rb +2 -2
  215. data/lib/constant_contact_client/models/email_campaign_account_information.rb +417 -0
  216. data/lib/constant_contact_client/models/email_campaign_account_information_message_settings.rb +256 -0
  217. data/lib/constant_contact_client/models/email_campaign_account_information_physical_address.rb +336 -0
  218. data/lib/constant_contact_client/models/email_campaign_activity.rb +2 -2
  219. data/lib/constant_contact_client/models/email_campaign_activity_input.rb +21 -2
  220. data/lib/constant_contact_client/models/email_campaign_activity_preview.rb +2 -2
  221. data/lib/constant_contact_client/models/email_campaign_complete.rb +2 -2
  222. data/lib/constant_contact_client/models/email_campaign_name.rb +2 -2
  223. data/lib/constant_contact_client/models/email_campaigns.rb +2 -2
  224. data/lib/constant_contact_client/models/email_link_click_count.rb +2 -2
  225. data/lib/constant_contact_client/models/email_links.rb +2 -2
  226. data/lib/constant_contact_client/models/email_physical_address.rb +2 -2
  227. data/lib/constant_contact_client/models/email_schedule_input.rb +2 -2
  228. data/lib/constant_contact_client/models/email_test_send_input.rb +2 -2
  229. data/lib/constant_contact_client/models/emails_link.rb +2 -2
  230. data/lib/constant_contact_client/models/emails_paging_links.rb +2 -2
  231. data/lib/constant_contact_client/models/event_copy_request_dto.rb +235 -0
  232. data/lib/constant_contact_client/models/event_dto.rb +708 -0
  233. data/lib/constant_contact_client/models/event_listing_dto.rb +344 -0
  234. data/lib/constant_contact_client/models/event_media_asset_dto.rb +265 -0
  235. data/lib/constant_contact_client/models/event_media_asset_dto1.rb +265 -0
  236. data/lib/constant_contact_client/models/event_meta_data_dto.rb +236 -0
  237. data/lib/constant_contact_client/models/event_meta_data_dto1.rb +236 -0
  238. data/lib/constant_contact_client/models/event_promotion_dto.rb +256 -0
  239. data/lib/constant_contact_client/models/event_registration_summary_metric_dto.rb +235 -0
  240. data/lib/constant_contact_client/models/event_settings_dto.rb +265 -0
  241. data/lib/constant_contact_client/models/file_object.rb +2 -2
  242. data/lib/constant_contact_client/models/file_status_array_inner.rb +2 -2
  243. data/lib/constant_contact_client/models/find_events200_response.rb +256 -0
  244. data/lib/constant_contact_client/models/find_events200_response_links.rb +233 -0
  245. data/lib/constant_contact_client/models/find_events200_response_records_inner.rb +344 -0
  246. data/lib/constant_contact_client/models/find_events200_response_records_inner_event_registration_summary_metrics.rb +235 -0
  247. data/lib/constant_contact_client/models/find_registrations_using_get200_response.rb +255 -0
  248. data/lib/constant_contact_client/models/find_registrations_using_get200_response_links.rb +232 -0
  249. data/lib/constant_contact_client/models/find_registrations_using_get200_response_records_inner.rb +345 -0
  250. data/lib/constant_contact_client/models/forwards_tracking_activities_page.rb +2 -2
  251. data/lib/constant_contact_client/models/forwards_tracking_activity.rb +2 -2
  252. data/lib/constant_contact_client/models/get_ab_test_email_campaign200_response.rb +2 -2
  253. data/lib/constant_contact_client/models/get_account_details200_response.rb +13 -3
  254. data/lib/constant_contact_client/models/get_account_details200_response_company_logo.rb +2 -2
  255. data/lib/constant_contact_client/models/get_account_details200_response_physical_address.rb +2 -2
  256. data/lib/constant_contact_client/models/get_activity_by_id200_response.rb +2 -2
  257. data/lib/constant_contact_client/models/get_all_account_email_addresses200_response_inner.rb +2 -2
  258. data/lib/constant_contact_client/models/get_all_activities200_response.rb +2 -2
  259. data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner.rb +2 -2
  260. data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_links.rb +2 -2
  261. data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_links_results.rb +2 -2
  262. data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_links_self.rb +2 -2
  263. data/lib/constant_contact_client/models/get_all_activities200_response_activities_inner_status.rb +2 -2
  264. data/lib/constant_contact_client/models/get_all_activities200_response_links.rb +2 -2
  265. data/lib/constant_contact_client/models/get_all_activities200_response_links_next.rb +2 -2
  266. data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response.rb +235 -0
  267. data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response_aggregate_percents.rb +246 -0
  268. data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response_bulk_sms_campaign_summaries_inner.rb +289 -0
  269. data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response_bulk_sms_campaign_summaries_inner_unique_counts.rb +284 -0
  270. data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response_links.rb +215 -0
  271. data/lib/constant_contact_client/models/get_all_bulk_sms_campaign_summaries200_response_links_next.rb +223 -0
  272. data/lib/constant_contact_client/models/get_all_contacts200_response.rb +2 -2
  273. data/lib/constant_contact_client/models/get_all_custom_fields200_response.rb +2 -3
  274. data/lib/constant_contact_client/models/get_all_email_campaigns200_response.rb +2 -2
  275. data/lib/constant_contact_client/models/get_all_email_campaigns200_response_campaigns_inner.rb +2 -2
  276. data/lib/constant_contact_client/models/get_all_email_campaigns200_response_links.rb +2 -2
  277. data/lib/constant_contact_client/models/get_all_lists200_response.rb +2 -2
  278. data/lib/constant_contact_client/models/get_all_segments200_response.rb +2 -2
  279. data/lib/constant_contact_client/models/get_all_segments200_response_links.rb +2 -2
  280. data/lib/constant_contact_client/models/get_all_segments200_response_links_next.rb +2 -2
  281. data/lib/constant_contact_client/models/get_all_segments200_response_segments_inner.rb +2 -2
  282. data/lib/constant_contact_client/models/get_all_tags200_response.rb +2 -2
  283. data/lib/constant_contact_client/models/get_all_tags200_response_links.rb +2 -2
  284. data/lib/constant_contact_client/models/get_all_tags200_response_links_next.rb +2 -2
  285. data/lib/constant_contact_client/models/get_all_tags200_response_links_next_next.rb +2 -9
  286. data/lib/constant_contact_client/models/get_bounces_report200_response.rb +2 -2
  287. data/lib/constant_contact_client/models/get_bounces_report200_response_links.rb +2 -9
  288. data/lib/constant_contact_client/models/get_bounces_report200_response_tracking_activities_inner.rb +2 -2
  289. data/lib/constant_contact_client/models/get_campaign_activity_link_report200_response.rb +2 -2
  290. data/lib/constant_contact_client/models/get_campaign_activity_link_report200_response_link_click_counts_inner.rb +2 -2
  291. data/lib/constant_contact_client/models/get_clicks_report200_response.rb +2 -2
  292. data/lib/constant_contact_client/models/get_clicks_report200_response_links.rb +2 -9
  293. data/lib/constant_contact_client/models/get_clicks_report200_response_tracking_activities_inner.rb +2 -2
  294. data/lib/constant_contact_client/models/get_contact_adds200_response.rb +2 -2
  295. data/lib/constant_contact_client/models/get_contact_adds200_response_tracking_activities_inner.rb +2 -2
  296. data/lib/constant_contact_client/models/get_contact_by_id200_response.rb +2 -2
  297. data/lib/constant_contact_client/models/get_contact_by_id200_response_custom_fields_inner.rb +22 -17
  298. data/lib/constant_contact_client/models/get_contact_by_id200_response_email_address.rb +2 -2
  299. data/lib/constant_contact_client/models/get_contact_by_id200_response_notes_inner.rb +2 -2
  300. data/lib/constant_contact_client/models/get_contact_by_id200_response_phone_numbers_inner.rb +2 -2
  301. data/lib/constant_contact_client/models/get_contact_by_id200_response_sms_channel.rb +2 -2
  302. data/lib/constant_contact_client/models/get_contact_by_id200_response_sms_channel_sms_channel_consents_inner.rb +3 -2
  303. data/lib/constant_contact_client/models/get_contact_by_id200_response_street_addresses_inner.rb +2 -2
  304. data/lib/constant_contact_client/models/get_contact_counts200_response.rb +2 -2
  305. data/lib/constant_contact_client/models/get_contact_id_xrefs200_response.rb +2 -2
  306. data/lib/constant_contact_client/models/get_contact_id_xrefs200_response_xrefs_inner.rb +2 -2
  307. data/lib/constant_contact_client/models/get_contact_open_click_rate_report200_response.rb +2 -2
  308. data/lib/constant_contact_client/models/get_contact_tracking_count_report200_response.rb +2 -2
  309. data/lib/constant_contact_client/models/get_contact_tracking_count_report200_response_campaign_activities_inner.rb +2 -2
  310. data/lib/constant_contact_client/models/get_contact_tracking_count_report200_response_links.rb +2 -9
  311. data/lib/constant_contact_client/models/get_contact_tracking_report200_response.rb +2 -2
  312. data/lib/constant_contact_client/models/get_contact_tracking_report200_response_links.rb +2 -9
  313. data/lib/constant_contact_client/models/get_contact_tracking_report200_response_links_next.rb +2 -9
  314. data/lib/constant_contact_client/models/get_contact_tracking_report200_response_tracking_activities_inner.rb +2 -2
  315. data/lib/constant_contact_client/models/get_custom_field200_response.rb +77 -8
  316. data/lib/constant_contact_client/models/get_custom_field200_response_choices_inner.rb +295 -0
  317. data/lib/constant_contact_client/models/get_custom_field200_response_metadata.rb +266 -0
  318. data/lib/constant_contact_client/models/get_did_not_opens_report200_response.rb +2 -2
  319. data/lib/constant_contact_client/models/get_did_not_opens_report200_response_tracking_activities_inner.rb +2 -2
  320. data/lib/constant_contact_client/models/get_email_campaign_activity200_response.rb +2 -2
  321. data/lib/constant_contact_client/models/get_email_campaign_activity200_response_document_properties.rb +2 -2
  322. data/lib/constant_contact_client/models/get_email_campaign_activity200_response_physical_address_in_footer.rb +2 -2
  323. data/lib/constant_contact_client/models/get_email_campaign_activity_preview200_response.rb +2 -2
  324. data/lib/constant_contact_client/models/get_email_campaign_activity_report200_response.rb +2 -2
  325. data/lib/constant_contact_client/models/get_email_campaign_activity_report200_response_results_inner.rb +2 -2
  326. data/lib/constant_contact_client/models/get_email_campaign_activity_report200_response_results_inner_stats.rb +2 -2
  327. data/lib/constant_contact_client/models/get_email_campaign_activity_schedule200_response_inner.rb +2 -2
  328. data/lib/constant_contact_client/models/get_email_campaign_activity_send_history200_response_inner.rb +2 -2
  329. data/lib/constant_contact_client/models/get_email_campaign_report200_response.rb +2 -16
  330. data/lib/constant_contact_client/models/get_email_campaign_report200_response_aggregate_percents.rb +2 -2
  331. data/lib/constant_contact_client/models/get_email_campaign_report200_response_bulk_email_campaign_summaries_inner.rb +2 -23
  332. data/lib/constant_contact_client/models/get_email_campaign_report200_response_bulk_email_campaign_summaries_inner_unique_counts.rb +2 -58
  333. data/lib/constant_contact_client/models/get_email_campaign_xrefs200_response.rb +2 -2
  334. data/lib/constant_contact_client/models/get_email_campaign_xrefs200_response_xrefs_inner.rb +2 -2
  335. data/lib/constant_contact_client/models/get_email_opens_report200_response.rb +2 -2
  336. data/lib/constant_contact_client/models/get_email_opens_report200_response_tracking_activities_inner.rb +2 -2
  337. data/lib/constant_contact_client/models/get_email_sends_report200_response.rb +2 -2
  338. data/lib/constant_contact_client/models/get_email_sends_report200_response_links.rb +2 -9
  339. data/lib/constant_contact_client/models/get_email_sends_report200_response_tracking_activities_inner.rb +2 -2
  340. data/lib/constant_contact_client/models/get_email_stats_report200_response.rb +2 -2
  341. data/lib/constant_contact_client/models/get_email_stats_report200_response_errors_inner.rb +2 -2
  342. data/lib/constant_contact_client/models/get_email_stats_report200_response_results_inner.rb +2 -2
  343. data/lib/constant_contact_client/models/get_email_stats_report200_response_results_inner_percents.rb +2 -2
  344. data/lib/constant_contact_client/models/get_email_stats_report200_response_results_inner_stats.rb +2 -2
  345. data/lib/constant_contact_client/models/get_forwards_report200_response.rb +2 -2
  346. data/lib/constant_contact_client/models/get_forwards_report200_response_tracking_activities_inner.rb +2 -2
  347. data/lib/constant_contact_client/models/get_hashtag_groups200_response.rb +257 -0
  348. data/lib/constant_contact_client/models/get_hashtag_groups200_response_hashtag_groups_inner.rb +252 -0
  349. data/lib/constant_contact_client/models/get_hashtag_groups200_response_links.rb +215 -0
  350. data/lib/constant_contact_client/models/get_hashtag_groups200_response_links_next.rb +223 -0
  351. data/lib/constant_contact_client/models/get_hashtag_groups200_response_page.rb +274 -0
  352. data/lib/constant_contact_client/models/get_list200_response.rb +2 -2
  353. data/lib/constant_contact_client/models/get_list_id_xrefs200_response.rb +2 -2
  354. data/lib/constant_contact_client/models/get_list_id_xrefs200_response_xrefs_inner.rb +2 -2
  355. data/lib/constant_contact_client/models/get_optouts_report200_response.rb +2 -2
  356. data/lib/constant_contact_client/models/get_optouts_report200_response_tracking_activities_inner.rb +2 -2
  357. data/lib/constant_contact_client/models/get_registration_info200_response.rb +316 -0
  358. data/lib/constant_contact_client/models/get_registration_info200_response_contact_inner.rb +278 -0
  359. data/lib/constant_contact_client/models/get_registration_info200_response_order_summary.rb +296 -0
  360. data/lib/constant_contact_client/models/get_registration_info200_response_order_summary_details_inner.rb +245 -0
  361. data/lib/constant_contact_client/models/get_registration_info200_response_tickets_inner.rb +266 -0
  362. data/lib/constant_contact_client/models/get_resend_email_campaign200_response_inner.rb +2 -2
  363. data/lib/constant_contact_client/models/get_sms_engagement_history200_response_inner.rb +2 -2
  364. data/lib/constant_contact_client/models/get_sms_engagement_history200_response_inner_history_details.rb +3 -13
  365. data/lib/constant_contact_client/models/get_social_connections200_response.rb +218 -0
  366. data/lib/constant_contact_client/models/get_social_connections200_response_connections_inner.rb +224 -0
  367. data/lib/constant_contact_client/models/get_social_connections200_response_connections_inner_account_info.rb +266 -0
  368. data/lib/constant_contact_client/models/get_social_connections200_response_connections_inner_connection_status.rb +276 -0
  369. data/lib/constant_contact_client/models/get_social_profiles200_response_inner.rb +348 -0
  370. data/lib/constant_contact_client/models/get_social_profiles200_response_inner_account_info.rb +266 -0
  371. data/lib/constant_contact_client/models/get_tag200_response.rb +2 -2
  372. data/lib/constant_contact_client/models/get_unique_contact_clicks200_response.rb +2 -2
  373. data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_links.rb +2 -2
  374. data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_links_next.rb +2 -2
  375. data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_tracking_activities_inner.rb +2 -2
  376. data/lib/constant_contact_client/models/get_unique_contact_clicks200_response_tracking_activities_inner_sms_channel.rb +2 -2
  377. data/lib/constant_contact_client/models/get_unique_contact_opens200_response.rb +2 -2
  378. data/lib/constant_contact_client/models/get_unique_contact_opens200_response_tracking_activities_inner.rb +2 -2
  379. data/lib/constant_contact_client/models/get_unique_contact_sms_opt_ins200_response.rb +2 -2
  380. data/lib/constant_contact_client/models/get_unique_contact_sms_opt_ins200_response_tracking_activities_inner.rb +2 -2
  381. data/lib/constant_contact_client/models/get_unique_contact_updates200_response.rb +2 -2
  382. data/lib/constant_contact_client/models/get_unique_contact_updates200_response_tracking_activities_inner.rb +2 -2
  383. data/lib/constant_contact_client/models/get_user_privileges200_response_inner.rb +2 -2
  384. data/lib/constant_contact_client/models/hashtag_group_dto.rb +252 -0
  385. data/lib/constant_contact_client/models/headers_object.rb +2 -2
  386. data/lib/constant_contact_client/models/history_details.rb +3 -13
  387. data/lib/constant_contact_client/models/href.rb +214 -0
  388. data/lib/constant_contact_client/models/image_dto.rb +233 -0
  389. data/lib/constant_contact_client/models/item_dto.rb +444 -0
  390. data/lib/constant_contact_client/models/item_dto1.rb +444 -0
  391. data/lib/constant_contact_client/models/item_summary_dto.rb +263 -0
  392. data/lib/constant_contact_client/models/item_summary_dto1.rb +263 -0
  393. data/lib/constant_contact_client/models/jmml_sms_channel.rb +276 -0
  394. data/lib/constant_contact_client/models/jmml_sms_channel_consents.rb +310 -0
  395. data/lib/constant_contact_client/models/json_import_contact.rb +7 -14
  396. data/lib/constant_contact_client/models/line_item_details_dto.rb +245 -0
  397. data/lib/constant_contact_client/models/link.rb +2 -2
  398. data/lib/constant_contact_client/models/links.rb +25 -13
  399. data/lib/constant_contact_client/models/list_activity_add_contacts.rb +2 -2
  400. data/lib/constant_contact_client/models/list_activity_remove_contacts.rb +2 -2
  401. data/lib/constant_contact_client/models/list_id_list100.rb +2 -2
  402. data/lib/constant_contact_client/models/list_input.rb +2 -2
  403. data/lib/constant_contact_client/models/list_xref.rb +2 -2
  404. data/lib/constant_contact_client/models/list_xrefs.rb +2 -2
  405. data/lib/constant_contact_client/models/lpreporting_links.rb +2 -2
  406. data/lib/constant_contact_client/models/lpreporting_next.rb +2 -2
  407. data/lib/constant_contact_client/models/model_next.rb +2 -2
  408. data/lib/constant_contact_client/models/my_library_file_collection_inner.rb +2 -2
  409. data/lib/constant_contact_client/models/my_library_file_collection_inner_thumbnail.rb +2 -2
  410. data/lib/constant_contact_client/models/note.rb +2 -2
  411. data/lib/constant_contact_client/models/o_auth_error.rb +2 -2
  412. data/lib/constant_contact_client/models/online_meeting_dto.rb +272 -0
  413. data/lib/constant_contact_client/models/online_meeting_dto1.rb +273 -0
  414. data/lib/constant_contact_client/models/opens_tracking_activities_page.rb +2 -2
  415. data/lib/constant_contact_client/models/opens_tracking_activity.rb +2 -2
  416. data/lib/constant_contact_client/models/optouts_tracking_activities_page.rb +2 -2
  417. data/lib/constant_contact_client/models/optouts_tracking_activity.rb +2 -2
  418. data/lib/constant_contact_client/models/order_details_dto.rb +296 -0
  419. data/lib/constant_contact_client/models/order_ticket_keys_request_dto.rb +225 -0
  420. data/lib/constant_contact_client/models/p_contact_add_tracking_activities_page.rb +2 -2
  421. data/lib/constant_contact_client/models/p_contact_add_tracking_activity.rb +2 -2
  422. data/lib/constant_contact_client/models/p_contact_click_tracking_activities_page.rb +2 -2
  423. data/lib/constant_contact_client/models/p_contact_click_tracking_activity.rb +2 -2
  424. data/lib/constant_contact_client/models/p_contact_open_tracking_activity.rb +2 -2
  425. data/lib/constant_contact_client/models/p_contact_opens_tracking_activities_page.rb +2 -2
  426. data/lib/constant_contact_client/models/p_contact_sms_opt_in_tracking_activities_page.rb +2 -2
  427. data/lib/constant_contact_client/models/p_contact_sms_opt_in_tracking_activity.rb +2 -2
  428. data/lib/constant_contact_client/models/p_contact_update_tracking_activities_page.rb +2 -2
  429. data/lib/constant_contact_client/models/p_contact_update_tracking_activity.rb +2 -2
  430. data/lib/constant_contact_client/models/page_metadata_dto.rb +274 -0
  431. data/lib/constant_contact_client/models/paged_email_campaign_response.rb +2 -2
  432. data/lib/constant_contact_client/models/paged_hashtag_groups_dto.rb +257 -0
  433. data/lib/constant_contact_client/models/paged_response_link_rel_dto.rb +223 -0
  434. data/lib/constant_contact_client/models/paged_response_links_dto.rb +215 -0
  435. data/lib/constant_contact_client/models/paginated_registrations.rb +255 -0
  436. data/lib/constant_contact_client/models/pagination_dto_event_listing_dto.rb +256 -0
  437. data/lib/constant_contact_client/models/pagination_links.rb +2 -2
  438. data/lib/constant_contact_client/models/pagination_links_next.rb +2 -2
  439. data/lib/constant_contact_client/models/paging_links.rb +2 -2
  440. data/lib/constant_contact_client/models/partner_account.rb +2 -2
  441. data/lib/constant_contact_client/models/partner_account_links.rb +2 -2
  442. data/lib/constant_contact_client/models/partner_account_operations_request.rb +2 -2
  443. data/lib/constant_contact_client/models/partner_account_operations_request_account_operation_headers_inner.rb +2 -2
  444. data/lib/constant_contact_client/models/partner_account_operations_request_account_operation_path_parameters_inner.rb +2 -2
  445. data/lib/constant_contact_client/models/partner_account_operations_request_account_operation_query_parameters_inner.rb +2 -2
  446. data/lib/constant_contact_client/models/partner_account_site_owner_list_inner.rb +2 -2
  447. data/lib/constant_contact_client/models/partner_unsubscribe_response.rb +216 -0
  448. data/lib/constant_contact_client/models/partners_link.rb +2 -2
  449. data/lib/constant_contact_client/models/patch_email_campaign_name_request.rb +2 -2
  450. data/lib/constant_contact_client/models/path_param_object.rb +2 -2
  451. data/lib/constant_contact_client/models/payment_status_update_request_dto.rb +242 -0
  452. data/lib/constant_contact_client/models/percents_email.rb +2 -2
  453. data/lib/constant_contact_client/models/phone_number.rb +2 -2
  454. data/lib/constant_contact_client/models/phone_number_put.rb +2 -2
  455. data/lib/constant_contact_client/models/plan_info.rb +2 -2
  456. data/lib/constant_contact_client/models/plan_tiers_object.rb +2 -2
  457. data/lib/constant_contact_client/models/plan_tiers_object_current_tiers_inner.rb +2 -2
  458. data/lib/constant_contact_client/models/post_create_dto.rb +262 -0
  459. data/lib/constant_contact_client/models/post_custom_field_delete201_response.rb +2 -2
  460. data/lib/constant_contact_client/models/post_custom_field_delete_request.rb +2 -2
  461. data/lib/constant_contact_client/models/post_dto.rb +272 -0
  462. data/lib/constant_contact_client/models/post_tag_request.rb +2 -2
  463. data/lib/constant_contact_client/models/profile_dto.rb +348 -0
  464. data/lib/constant_contact_client/models/profile_post_dto.rb +269 -0
  465. data/lib/constant_contact_client/models/profile_post_profile_dto.rb +323 -0
  466. data/lib/constant_contact_client/models/promo_code_dto.rb +408 -0
  467. data/lib/constant_contact_client/models/promo_code_dto1.rb +408 -0
  468. data/lib/constant_contact_client/models/provision.rb +2 -2
  469. data/lib/constant_contact_client/models/provision_response.rb +2 -2
  470. data/lib/constant_contact_client/models/put_tag_request.rb +2 -2
  471. data/lib/constant_contact_client/models/query_param_object.rb +2 -2
  472. data/lib/constant_contact_client/models/registrant_information_lite_dto.rb +345 -0
  473. data/lib/constant_contact_client/models/registration_status_update_request_dto.rb +242 -0
  474. data/lib/constant_contact_client/models/registration_status_update_response_dto.rb +218 -0
  475. data/lib/constant_contact_client/models/registration_ticket_dto.rb +266 -0
  476. data/lib/constant_contact_client/models/registrations_links.rb +232 -0
  477. data/lib/constant_contact_client/models/reporting_links.rb +2 -9
  478. data/lib/constant_contact_client/models/reporting_next.rb +2 -9
  479. data/lib/constant_contact_client/models/reportingsms_links.rb +214 -0
  480. data/lib/constant_contact_client/models/reportingsms_next.rb +222 -0
  481. data/lib/constant_contact_client/models/resend_to_non_openers_input.rb +2 -2
  482. data/lib/constant_contact_client/models/resend_to_non_openers_object.rb +2 -2
  483. data/lib/constant_contact_client/models/resubscribe_contact_request.rb +224 -0
  484. data/lib/constant_contact_client/models/schedule_email_campaign_activity_request.rb +2 -2
  485. data/lib/constant_contact_client/models/segment_data.rb +2 -2
  486. data/lib/constant_contact_client/models/segment_detail.rb +2 -2
  487. data/lib/constant_contact_client/models/segment_master.rb +2 -2
  488. data/lib/constant_contact_client/models/segment_name.rb +2 -2
  489. data/lib/constant_contact_client/models/segments_dto.rb +2 -2
  490. data/lib/constant_contact_client/models/segments_links.rb +221 -0
  491. data/lib/constant_contact_client/models/sends_tracking_activities_page.rb +2 -2
  492. data/lib/constant_contact_client/models/sends_tracking_activity.rb +2 -2
  493. data/lib/constant_contact_client/models/simple_field_dto.rb +278 -0
  494. data/lib/constant_contact_client/models/sms_campaign_summaries_page.rb +235 -0
  495. data/lib/constant_contact_client/models/sms_channel_consent_details.rb +3 -2
  496. data/lib/constant_contact_client/models/sso_user.rb +3 -3
  497. data/lib/constant_contact_client/models/stats_email.rb +2 -2
  498. data/lib/constant_contact_client/models/stats_email_activity.rb +2 -2
  499. data/lib/constant_contact_client/models/stats_error.rb +2 -2
  500. data/lib/constant_contact_client/models/status_display_label_dto.rb +226 -0
  501. data/lib/constant_contact_client/models/status_display_label_dto1.rb +226 -0
  502. data/lib/constant_contact_client/models/street_address.rb +2 -2
  503. data/lib/constant_contact_client/models/street_address_put.rb +2 -2
  504. data/lib/constant_contact_client/models/tag.rb +2 -2
  505. data/lib/constant_contact_client/models/tag_add_remove_contacts.rb +2 -2
  506. data/lib/constant_contact_client/models/tag_id_list500_limit.rb +2 -2
  507. data/lib/constant_contact_client/models/tag_post.rb +2 -2
  508. data/lib/constant_contact_client/models/tag_put.rb +2 -2
  509. data/lib/constant_contact_client/models/tags.rb +2 -2
  510. data/lib/constant_contact_client/models/tags_activity_links.rb +2 -2
  511. data/lib/constant_contact_client/models/tags_links.rb +2 -2
  512. data/lib/constant_contact_client/models/tags_paging_links.rb +2 -2
  513. data/lib/constant_contact_client/models/test_send_email_campaign_activity_request.rb +2 -2
  514. data/lib/constant_contact_client/models/ticket_summary_dto.rb +279 -0
  515. data/lib/constant_contact_client/models/ticket_summary_dto1.rb +279 -0
  516. data/lib/constant_contact_client/models/tier_object.rb +2 -2
  517. data/lib/constant_contact_client/models/track_dto.rb +377 -0
  518. data/lib/constant_contact_client/models/track_dto1.rb +377 -0
  519. data/lib/constant_contact_client/models/tracking_activity_sms_channel_dto.rb +2 -2
  520. data/lib/constant_contact_client/models/unique_email_counts.rb +2 -58
  521. data/lib/constant_contact_client/models/unique_sms_counts.rb +283 -0
  522. data/lib/constant_contact_client/models/update_account_request.rb +2 -2
  523. data/lib/constant_contact_client/models/update_contact_request.rb +15 -6
  524. data/lib/constant_contact_client/models/update_contact_request_email_address.rb +2 -2
  525. data/lib/constant_contact_client/models/update_contact_request_phone_numbers_inner.rb +2 -2
  526. data/lib/constant_contact_client/models/update_contact_request_sms_channel.rb +241 -0
  527. data/lib/constant_contact_client/models/update_contact_request_sms_channel_sms_channel_consents_inner.rb +249 -0
  528. data/lib/constant_contact_client/models/update_contact_request_street_addresses_inner.rb +2 -2
  529. data/lib/constant_contact_client/models/update_custom_field_request.rb +32 -25
  530. data/lib/constant_contact_client/models/update_custom_field_request_choices_inner.rb +255 -0
  531. data/lib/constant_contact_client/models/update_list200_response.rb +2 -2
  532. data/lib/constant_contact_client/models/update_list_request.rb +2 -2
  533. data/lib/constant_contact_client/models/update_registration_payment_status_using_put_request.rb +242 -0
  534. data/lib/constant_contact_client/models/update_registration_status_using_put207_response.rb +218 -0
  535. data/lib/constant_contact_client/models/update_registration_status_using_put_request.rb +242 -0
  536. data/lib/constant_contact_client/models/update_segment_name_request.rb +2 -2
  537. data/lib/constant_contact_client/models/webhooks_subscription_body.rb +2 -2
  538. data/lib/constant_contact_client/models/webhooks_subscription_collection_inner.rb +2 -2
  539. data/lib/constant_contact_client/models/webhooks_subscription_put_resp.rb +2 -2
  540. data/lib/constant_contact_client/models/webhooks_subscription_response.rb +2 -2
  541. data/lib/constant_contact_client/models/webhooks_test_send.rb +2 -2
  542. data/lib/constant_contact_client/version.rb +3 -3
  543. data/lib/constant_contact_client.rb +149 -4
  544. data/spec/spec_helper.rb +2 -2
  545. metadata +157 -9
data/docs/EventsApi.md ADDED
@@ -0,0 +1,881 @@
1
+ # ConstantContactClient::EventsApi
2
+
3
+ All URIs are relative to *https://api.cc.email/v3*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**check_in_tickets**](EventsApi.md#check_in_tickets) | **POST** /events/{event_id}/check_in/tickets | Check in event tickets. |
8
+ | [**copy_event**](EventsApi.md#copy_event) | **POST** /events/{event_id}/copy | POST (copy) an existing event. |
9
+ | [**create_event**](EventsApi.md#create_event) | **POST** /events/default | POST (create) a new event. |
10
+ | [**find_events**](EventsApi.md#find_events) | **GET** /events | GET a collection of events. |
11
+ | [**find_registrations_using_get**](EventsApi.md#find_registrations_using_get) | **GET** /events/{event_id}/tracks/{track_id}/registrations | Get a list of registrations for an event. |
12
+ | [**get_event2**](EventsApi.md#get_event2) | **GET** /events/{event_id} | GET details for a single event. |
13
+ | [**get_registration_info**](EventsApi.md#get_registration_info) | **GET** /events/{event_id}/tracks/{track_id}/registrations/{registration_id} | Get registration details for an event. |
14
+ | [**undo_check_in_tickets**](EventsApi.md#undo_check_in_tickets) | **POST** /events/{event_id}/undo_check_in/tickets | Undo event ticket check-in. |
15
+ | [**update_event**](EventsApi.md#update_event) | **PATCH** /events/{event_id} | PATCH (update) an event. |
16
+ | [**update_registration_payment_status_using_put**](EventsApi.md#update_registration_payment_status_using_put) | **PUT** /events/{event_id}/tracks/{track_id}/registrations/payment_status | Update payment status for event registrations. |
17
+ | [**update_registration_status_using_put**](EventsApi.md#update_registration_status_using_put) | **PUT** /events/{event_id}/tracks/{track_id}/registrations | Update status for event registrations. |
18
+
19
+
20
+ ## check_in_tickets
21
+
22
+ > check_in_tickets(event_id, check_in_tickets_request)
23
+
24
+ Check in event tickets.
25
+
26
+ Use this endpoint to mark one or more tickets as checked in. The event must be in `ACTIVE` or `COMPLETE` status. Tickets with `CANCELLED` status cannot be checked in (returns HTTP 400).
27
+
28
+ ### Examples
29
+
30
+ ```ruby
31
+ require 'time'
32
+ require 'constant_contact_client'
33
+ # setup authorization
34
+ ConstantContactClient.configure do |config|
35
+ # Configure OAuth2 access token for authorization: oauth2_access_code
36
+ config.access_token = 'YOUR ACCESS TOKEN'
37
+
38
+ # Configure OAuth2 access token for authorization: oauth2_implicit
39
+ config.access_token = 'YOUR ACCESS TOKEN'
40
+ end
41
+
42
+ api_instance = ConstantContactClient::EventsApi.new
43
+ event_id = '07216444-4e3b-41ea-a3b8-5a418fce41f4' # String | The ID that uniquely identifies the event.
44
+ check_in_tickets_request = ConstantContactClient::CheckInTicketsRequest.new({order_ticket_keys: ["a1b2c3", "d4e5f6"]}) # CheckInTicketsRequest | Set of order ticket keys to mark as checked in.
45
+
46
+ begin
47
+ # Check in event tickets.
48
+ api_instance.check_in_tickets(event_id, check_in_tickets_request)
49
+ rescue ConstantContactClient::ApiError => e
50
+ puts "Error when calling EventsApi->check_in_tickets: #{e}"
51
+ end
52
+ ```
53
+
54
+ #### Using the check_in_tickets_with_http_info variant
55
+
56
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
57
+
58
+ > <Array(nil, Integer, Hash)> check_in_tickets_with_http_info(event_id, check_in_tickets_request)
59
+
60
+ ```ruby
61
+ begin
62
+ # Check in event tickets.
63
+ data, status_code, headers = api_instance.check_in_tickets_with_http_info(event_id, check_in_tickets_request)
64
+ p status_code # => 2xx
65
+ p headers # => { ... }
66
+ p data # => nil
67
+ rescue ConstantContactClient::ApiError => e
68
+ puts "Error when calling EventsApi->check_in_tickets_with_http_info: #{e}"
69
+ end
70
+ ```
71
+
72
+ ### Parameters
73
+
74
+ | Name | Type | Description | Notes |
75
+ | ---- | ---- | ----------- | ----- |
76
+ | **event_id** | **String** | The ID that uniquely identifies the event. | |
77
+ | **check_in_tickets_request** | [**CheckInTicketsRequest**](CheckInTicketsRequest.md) | Set of order ticket keys to mark as checked in. | |
78
+
79
+ ### Return type
80
+
81
+ nil (empty response body)
82
+
83
+ ### Authorization
84
+
85
+ [oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
86
+
87
+ ### HTTP request headers
88
+
89
+ - **Content-Type**: application/json
90
+ - **Accept**: Not defined
91
+
92
+
93
+ ## copy_event
94
+
95
+ > <CreateEvent201Response> copy_event(event_id, copy_event_request)
96
+
97
+ POST (copy) an existing event.
98
+
99
+ Creates a deep copy of an existing event with all its settings, registration forms, and landing pages. The copied event is created in DRAFT status. Events in DRAFT, ACTIVE, COMPLETE, or CANCELED status can be copied. DELETED events cannot be copied.
100
+
101
+ ### Examples
102
+
103
+ ```ruby
104
+ require 'time'
105
+ require 'constant_contact_client'
106
+ # setup authorization
107
+ ConstantContactClient.configure do |config|
108
+ # Configure OAuth2 access token for authorization: oauth2_access_code
109
+ config.access_token = 'YOUR ACCESS TOKEN'
110
+
111
+ # Configure OAuth2 access token for authorization: oauth2_implicit
112
+ config.access_token = 'YOUR ACCESS TOKEN'
113
+ end
114
+
115
+ api_instance = ConstantContactClient::EventsApi.new
116
+ event_id = '1697732a-8664-4675-8415-c4aabaa17dae' # String | The ID of the event to copy.
117
+ copy_event_request = ConstantContactClient::CopyEventRequest.new({target_event_name: 'My Copied Event'}) # CopyEventRequest | A JSON request body containing the copy options.
118
+
119
+ begin
120
+ # POST (copy) an existing event.
121
+ result = api_instance.copy_event(event_id, copy_event_request)
122
+ p result
123
+ rescue ConstantContactClient::ApiError => e
124
+ puts "Error when calling EventsApi->copy_event: #{e}"
125
+ end
126
+ ```
127
+
128
+ #### Using the copy_event_with_http_info variant
129
+
130
+ This returns an Array which contains the response data, status code and headers.
131
+
132
+ > <Array(<CreateEvent201Response>, Integer, Hash)> copy_event_with_http_info(event_id, copy_event_request)
133
+
134
+ ```ruby
135
+ begin
136
+ # POST (copy) an existing event.
137
+ data, status_code, headers = api_instance.copy_event_with_http_info(event_id, copy_event_request)
138
+ p status_code # => 2xx
139
+ p headers # => { ... }
140
+ p data # => <CreateEvent201Response>
141
+ rescue ConstantContactClient::ApiError => e
142
+ puts "Error when calling EventsApi->copy_event_with_http_info: #{e}"
143
+ end
144
+ ```
145
+
146
+ ### Parameters
147
+
148
+ | Name | Type | Description | Notes |
149
+ | ---- | ---- | ----------- | ----- |
150
+ | **event_id** | **String** | The ID of the event to copy. | |
151
+ | **copy_event_request** | [**CopyEventRequest**](CopyEventRequest.md) | A JSON request body containing the copy options. | |
152
+
153
+ ### Return type
154
+
155
+ [**CreateEvent201Response**](CreateEvent201Response.md)
156
+
157
+ ### Authorization
158
+
159
+ [oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
160
+
161
+ ### HTTP request headers
162
+
163
+ - **Content-Type**: application/json
164
+ - **Accept**: application/json
165
+
166
+
167
+ ## create_event
168
+
169
+ > <CreateEvent201Response> create_event(opts)
170
+
171
+ POST (create) a new event.
172
+
173
+ Creates a new event with default settings, registration form, and landing page. The event will be created in DRAFT status.
174
+
175
+ ### Examples
176
+
177
+ ```ruby
178
+ require 'time'
179
+ require 'constant_contact_client'
180
+ # setup authorization
181
+ ConstantContactClient.configure do |config|
182
+ # Configure OAuth2 access token for authorization: oauth2_access_code
183
+ config.access_token = 'YOUR ACCESS TOKEN'
184
+
185
+ # Configure OAuth2 access token for authorization: oauth2_implicit
186
+ config.access_token = 'YOUR ACCESS TOKEN'
187
+ end
188
+
189
+ api_instance = ConstantContactClient::EventsApi.new
190
+ opts = {
191
+ name: 'My Event', # String | Name for the new event. If not provided, a default name will be generated.
192
+ start_time: '2024-01-15T10:00:00Z', # String | Event start time in ISO 8601 format. If not provided, defaults to a future date.
193
+ end_time: '2024-01-15T18:00:00Z', # String | Event end time in ISO 8601 format. If not provided, defaults to one hour after start time.
194
+ placeholder_campaign_id: 'campaign-123' # String | Placeholder campaign ID for the event.
195
+ }
196
+
197
+ begin
198
+ # POST (create) a new event.
199
+ result = api_instance.create_event(opts)
200
+ p result
201
+ rescue ConstantContactClient::ApiError => e
202
+ puts "Error when calling EventsApi->create_event: #{e}"
203
+ end
204
+ ```
205
+
206
+ #### Using the create_event_with_http_info variant
207
+
208
+ This returns an Array which contains the response data, status code and headers.
209
+
210
+ > <Array(<CreateEvent201Response>, Integer, Hash)> create_event_with_http_info(opts)
211
+
212
+ ```ruby
213
+ begin
214
+ # POST (create) a new event.
215
+ data, status_code, headers = api_instance.create_event_with_http_info(opts)
216
+ p status_code # => 2xx
217
+ p headers # => { ... }
218
+ p data # => <CreateEvent201Response>
219
+ rescue ConstantContactClient::ApiError => e
220
+ puts "Error when calling EventsApi->create_event_with_http_info: #{e}"
221
+ end
222
+ ```
223
+
224
+ ### Parameters
225
+
226
+ | Name | Type | Description | Notes |
227
+ | ---- | ---- | ----------- | ----- |
228
+ | **name** | **String** | Name for the new event. If not provided, a default name will be generated. | [optional] |
229
+ | **start_time** | **String** | Event start time in ISO 8601 format. If not provided, defaults to a future date. | [optional] |
230
+ | **end_time** | **String** | Event end time in ISO 8601 format. If not provided, defaults to one hour after start time. | [optional] |
231
+ | **placeholder_campaign_id** | **String** | Placeholder campaign ID for the event. | [optional] |
232
+
233
+ ### Return type
234
+
235
+ [**CreateEvent201Response**](CreateEvent201Response.md)
236
+
237
+ ### Authorization
238
+
239
+ [oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
240
+
241
+ ### HTTP request headers
242
+
243
+ - **Content-Type**: Not defined
244
+ - **Accept**: application/json
245
+
246
+
247
+ ## find_events
248
+
249
+ > <FindEvents200Response> find_events(opts)
250
+
251
+ GET a collection of events.
252
+
253
+ Retrieve a collection of events with event details.
254
+
255
+ ### Examples
256
+
257
+ ```ruby
258
+ require 'time'
259
+ require 'constant_contact_client'
260
+ # setup authorization
261
+ ConstantContactClient.configure do |config|
262
+ # Configure OAuth2 access token for authorization: oauth2_access_code
263
+ config.access_token = 'YOUR ACCESS TOKEN'
264
+
265
+ # Configure OAuth2 access token for authorization: oauth2_implicit
266
+ config.access_token = 'YOUR ACCESS TOKEN'
267
+ end
268
+
269
+ api_instance = ConstantContactClient::EventsApi.new
270
+ opts = {
271
+ event_status: 'DRAFT', # String | Use to return only events that meet the specified status. Acceptable values include `ACTIVE`,`DRAFT`, `COMPLETE`, `DELETED`,`CANCELLED`, and `ERROR`.
272
+ search_text: 'reunion', # String | Use to return only events that include the specified text.
273
+ sort_by: 'created_time', # String | Use to sort resulting events by one of the following properties: `name`, `start_time`, `end_time`, `created_time`, or `updated_time`.
274
+ sort_order: 'DESC', # String | Sort order for the `sort_by parameter`. Accepted values include `ASC` (ascending) or `DESC` (descending). Defaults to `ASC` if `sort_by` is provided.
275
+ limit: '5', # String | Limit the number of results to return per page. Default and maximum is `100`.
276
+ prev: '7zDEe3DhD5gUiwRFsvWKKZlZO1j6-YihH2hyVWD8GaW7JnzXbHFP8Tou212KoU20mOjvM6pdWwycDWC3X-Hb_xY-RK1eBwYp_pc4X2CvLxo.', # String | Cursor for retrieving the previous page of results. This value is obtained from the `prev_cursor` field in a previous response.
277
+ _next: '7zDEe3DhD5gUiwRFsvWKKZlZO1j6-YihH2hyVWD8GaW7JnzXbHFP8Tou212KoU20mOjvM6pdWwycDWC3X-Hb_xY-RK1eBwYp_pc4X2CvLxo' # String | Cursor for retrieving the next page of results. This value is obtained from the `next_cursor` field in a previous response.
278
+ }
279
+
280
+ begin
281
+ # GET a collection of events.
282
+ result = api_instance.find_events(opts)
283
+ p result
284
+ rescue ConstantContactClient::ApiError => e
285
+ puts "Error when calling EventsApi->find_events: #{e}"
286
+ end
287
+ ```
288
+
289
+ #### Using the find_events_with_http_info variant
290
+
291
+ This returns an Array which contains the response data, status code and headers.
292
+
293
+ > <Array(<FindEvents200Response>, Integer, Hash)> find_events_with_http_info(opts)
294
+
295
+ ```ruby
296
+ begin
297
+ # GET a collection of events.
298
+ data, status_code, headers = api_instance.find_events_with_http_info(opts)
299
+ p status_code # => 2xx
300
+ p headers # => { ... }
301
+ p data # => <FindEvents200Response>
302
+ rescue ConstantContactClient::ApiError => e
303
+ puts "Error when calling EventsApi->find_events_with_http_info: #{e}"
304
+ end
305
+ ```
306
+
307
+ ### Parameters
308
+
309
+ | Name | Type | Description | Notes |
310
+ | ---- | ---- | ----------- | ----- |
311
+ | **event_status** | **String** | Use to return only events that meet the specified status. Acceptable values include &#x60;ACTIVE&#x60;,&#x60;DRAFT&#x60;, &#x60;COMPLETE&#x60;, &#x60;DELETED&#x60;,&#x60;CANCELLED&#x60;, and &#x60;ERROR&#x60;. | [optional] |
312
+ | **search_text** | **String** | Use to return only events that include the specified text. | [optional] |
313
+ | **sort_by** | **String** | Use to sort resulting events by one of the following properties: &#x60;name&#x60;, &#x60;start_time&#x60;, &#x60;end_time&#x60;, &#x60;created_time&#x60;, or &#x60;updated_time&#x60;. | [optional] |
314
+ | **sort_order** | **String** | Sort order for the &#x60;sort_by parameter&#x60;. Accepted values include &#x60;ASC&#x60; (ascending) or &#x60;DESC&#x60; (descending). Defaults to &#x60;ASC&#x60; if &#x60;sort_by&#x60; is provided. | [optional] |
315
+ | **limit** | **String** | Limit the number of results to return per page. Default and maximum is &#x60;100&#x60;. | [optional] |
316
+ | **prev** | **String** | Cursor for retrieving the previous page of results. This value is obtained from the &#x60;prev_cursor&#x60; field in a previous response. | [optional] |
317
+ | **_next** | **String** | Cursor for retrieving the next page of results. This value is obtained from the &#x60;next_cursor&#x60; field in a previous response. | [optional] |
318
+
319
+ ### Return type
320
+
321
+ [**FindEvents200Response**](FindEvents200Response.md)
322
+
323
+ ### Authorization
324
+
325
+ [oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
326
+
327
+ ### HTTP request headers
328
+
329
+ - **Content-Type**: Not defined
330
+ - **Accept**: application/json
331
+
332
+
333
+ ## find_registrations_using_get
334
+
335
+ > <FindRegistrationsUsingGET200Response> find_registrations_using_get(event_id, track_id, opts)
336
+
337
+ Get a list of registrations for an event.
338
+
339
+ Use the `event_id` and `track_id` path parameters to get a list of registrations for an event. Use optional query parameters to limit the number of results returned per page, the sort order, or to filter results by specific criteria; such as registration `status`.
340
+
341
+ ### Examples
342
+
343
+ ```ruby
344
+ require 'time'
345
+ require 'constant_contact_client'
346
+ # setup authorization
347
+ ConstantContactClient.configure do |config|
348
+ # Configure OAuth2 access token for authorization: oauth2_access_code
349
+ config.access_token = 'YOUR ACCESS TOKEN'
350
+
351
+ # Configure OAuth2 access token for authorization: oauth2_implicit
352
+ config.access_token = 'YOUR ACCESS TOKEN'
353
+ end
354
+
355
+ api_instance = ConstantContactClient::EventsApi.new
356
+ event_id = '1697732a-8664-4675-8415-c4aabaa17dae' # String | The ID that uniquely identifies the event.
357
+ track_id = 's8zabc' # String | The track ID that uniquely identifies the event track.
358
+ opts = {
359
+ registration_status: 'PENDING', # String | Filter registration results by status.
360
+ payment_status: 'PENDING', # String | Filter registration results by payment status.
361
+ search_text: 'john.doe@example.com', # String | Filter registration results by first name, last name, or email address.
362
+ sort_by: 'first_name', # String | Specify the field to use to sort the results.
363
+ sort_order: 'ASC', # String | Use to specify how you want the results sorted.
364
+ page_size: '50', # String | Alternative to the <code>limit</code> parameter to limit the number of results returned per page. If specifying both the <code>limit</code> and <code>page_size</code> query parameters, they must be the same value.
365
+ limit: '50', # String | Limit the number of results returned per page. If specifying both the <code>limit</code> and <code>page_size</code> query parameters, they must be the same value.
366
+ prev: 'bSzsyWkkq95R44vIFEpY62gr8_xSeRXsEQkhnhltPgiT', # String | Cursor for pagination used to get the previous page of results (mutually exclusive with <code>next</code>).
367
+ _next: 'cTk9xLmmr06S55wJGfQ73hs9_yTfSYtFRlimimQhjUj' # String | Cursor for pagination used to get the next page of results (mutually exclusive with <code>prev</code>).
368
+ }
369
+
370
+ begin
371
+ # Get a list of registrations for an event.
372
+ result = api_instance.find_registrations_using_get(event_id, track_id, opts)
373
+ p result
374
+ rescue ConstantContactClient::ApiError => e
375
+ puts "Error when calling EventsApi->find_registrations_using_get: #{e}"
376
+ end
377
+ ```
378
+
379
+ #### Using the find_registrations_using_get_with_http_info variant
380
+
381
+ This returns an Array which contains the response data, status code and headers.
382
+
383
+ > <Array(<FindRegistrationsUsingGET200Response>, Integer, Hash)> find_registrations_using_get_with_http_info(event_id, track_id, opts)
384
+
385
+ ```ruby
386
+ begin
387
+ # Get a list of registrations for an event.
388
+ data, status_code, headers = api_instance.find_registrations_using_get_with_http_info(event_id, track_id, opts)
389
+ p status_code # => 2xx
390
+ p headers # => { ... }
391
+ p data # => <FindRegistrationsUsingGET200Response>
392
+ rescue ConstantContactClient::ApiError => e
393
+ puts "Error when calling EventsApi->find_registrations_using_get_with_http_info: #{e}"
394
+ end
395
+ ```
396
+
397
+ ### Parameters
398
+
399
+ | Name | Type | Description | Notes |
400
+ | ---- | ---- | ----------- | ----- |
401
+ | **event_id** | **String** | The ID that uniquely identifies the event. | |
402
+ | **track_id** | **String** | The track ID that uniquely identifies the event track. | |
403
+ | **registration_status** | **String** | Filter registration results by status. | [optional] |
404
+ | **payment_status** | **String** | Filter registration results by payment status. | [optional] |
405
+ | **search_text** | **String** | Filter registration results by first name, last name, or email address. | [optional] |
406
+ | **sort_by** | **String** | Specify the field to use to sort the results. | [optional] |
407
+ | **sort_order** | **String** | Use to specify how you want the results sorted. | [optional] |
408
+ | **page_size** | **String** | Alternative to the &lt;code&gt;limit&lt;/code&gt; parameter to limit the number of results returned per page. If specifying both the &lt;code&gt;limit&lt;/code&gt; and &lt;code&gt;page_size&lt;/code&gt; query parameters, they must be the same value. | [optional] |
409
+ | **limit** | **String** | Limit the number of results returned per page. If specifying both the &lt;code&gt;limit&lt;/code&gt; and &lt;code&gt;page_size&lt;/code&gt; query parameters, they must be the same value. | [optional] |
410
+ | **prev** | **String** | Cursor for pagination used to get the previous page of results (mutually exclusive with &lt;code&gt;next&lt;/code&gt;). | [optional] |
411
+ | **_next** | **String** | Cursor for pagination used to get the next page of results (mutually exclusive with &lt;code&gt;prev&lt;/code&gt;). | [optional] |
412
+
413
+ ### Return type
414
+
415
+ [**FindRegistrationsUsingGET200Response**](FindRegistrationsUsingGET200Response.md)
416
+
417
+ ### Authorization
418
+
419
+ [oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
420
+
421
+ ### HTTP request headers
422
+
423
+ - **Content-Type**: Not defined
424
+ - **Accept**: application/json
425
+
426
+
427
+ ## get_event2
428
+
429
+ > <CreateEvent201Response> get_event2(event_id, opts)
430
+
431
+ GET details for a single event.
432
+
433
+ Specify the `event_id` path parameter to retrieve the event's details.
434
+
435
+ ### Examples
436
+
437
+ ```ruby
438
+ require 'time'
439
+ require 'constant_contact_client'
440
+ # setup authorization
441
+ ConstantContactClient.configure do |config|
442
+ # Configure OAuth2 access token for authorization: oauth2_access_code
443
+ config.access_token = 'YOUR ACCESS TOKEN'
444
+
445
+ # Configure OAuth2 access token for authorization: oauth2_implicit
446
+ config.access_token = 'YOUR ACCESS TOKEN'
447
+ end
448
+
449
+ api_instance = ConstantContactClient::EventsApi.new
450
+ event_id = '1697732a-8664-4675-8415-c4aabaa17dae' # String | The ID that uniquely identifies the event.
451
+ opts = {
452
+ include: true # Boolean | Use to include (`true`) or exclude (`false`) event setting properties in the results.
453
+ }
454
+
455
+ begin
456
+ # GET details for a single event.
457
+ result = api_instance.get_event2(event_id, opts)
458
+ p result
459
+ rescue ConstantContactClient::ApiError => e
460
+ puts "Error when calling EventsApi->get_event2: #{e}"
461
+ end
462
+ ```
463
+
464
+ #### Using the get_event2_with_http_info variant
465
+
466
+ This returns an Array which contains the response data, status code and headers.
467
+
468
+ > <Array(<CreateEvent201Response>, Integer, Hash)> get_event2_with_http_info(event_id, opts)
469
+
470
+ ```ruby
471
+ begin
472
+ # GET details for a single event.
473
+ data, status_code, headers = api_instance.get_event2_with_http_info(event_id, opts)
474
+ p status_code # => 2xx
475
+ p headers # => { ... }
476
+ p data # => <CreateEvent201Response>
477
+ rescue ConstantContactClient::ApiError => e
478
+ puts "Error when calling EventsApi->get_event2_with_http_info: #{e}"
479
+ end
480
+ ```
481
+
482
+ ### Parameters
483
+
484
+ | Name | Type | Description | Notes |
485
+ | ---- | ---- | ----------- | ----- |
486
+ | **event_id** | **String** | The ID that uniquely identifies the event. | |
487
+ | **include** | **Boolean** | Use to include (&#x60;true&#x60;) or exclude (&#x60;false&#x60;) event setting properties in the results. | [optional] |
488
+
489
+ ### Return type
490
+
491
+ [**CreateEvent201Response**](CreateEvent201Response.md)
492
+
493
+ ### Authorization
494
+
495
+ [oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
496
+
497
+ ### HTTP request headers
498
+
499
+ - **Content-Type**: Not defined
500
+ - **Accept**: application/json
501
+
502
+
503
+ ## get_registration_info
504
+
505
+ > <GetRegistrationInfo200Response> get_registration_info(event_id, track_id, registration_id)
506
+
507
+ Get registration details for an event.
508
+
509
+ Use the `event_id`, `registration_id`, and `track_id` path parameters to get registration details.
510
+
511
+ ### Examples
512
+
513
+ ```ruby
514
+ require 'time'
515
+ require 'constant_contact_client'
516
+ # setup authorization
517
+ ConstantContactClient.configure do |config|
518
+ # Configure OAuth2 access token for authorization: oauth2_access_code
519
+ config.access_token = 'YOUR ACCESS TOKEN'
520
+
521
+ # Configure OAuth2 access token for authorization: oauth2_implicit
522
+ config.access_token = 'YOUR ACCESS TOKEN'
523
+ end
524
+
525
+ api_instance = ConstantContactClient::EventsApi.new
526
+ event_id = '1697732a-8664-4675-8415-c4aabaa17dae' # String | The ID that uniquely identifies the event.
527
+ track_id = 's8zabc' # String | The track key that uniquely identifies the event track.
528
+ registration_id = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890' # String | The ID that uniquely identifies the registration.
529
+
530
+ begin
531
+ # Get registration details for an event.
532
+ result = api_instance.get_registration_info(event_id, track_id, registration_id)
533
+ p result
534
+ rescue ConstantContactClient::ApiError => e
535
+ puts "Error when calling EventsApi->get_registration_info: #{e}"
536
+ end
537
+ ```
538
+
539
+ #### Using the get_registration_info_with_http_info variant
540
+
541
+ This returns an Array which contains the response data, status code and headers.
542
+
543
+ > <Array(<GetRegistrationInfo200Response>, Integer, Hash)> get_registration_info_with_http_info(event_id, track_id, registration_id)
544
+
545
+ ```ruby
546
+ begin
547
+ # Get registration details for an event.
548
+ data, status_code, headers = api_instance.get_registration_info_with_http_info(event_id, track_id, registration_id)
549
+ p status_code # => 2xx
550
+ p headers # => { ... }
551
+ p data # => <GetRegistrationInfo200Response>
552
+ rescue ConstantContactClient::ApiError => e
553
+ puts "Error when calling EventsApi->get_registration_info_with_http_info: #{e}"
554
+ end
555
+ ```
556
+
557
+ ### Parameters
558
+
559
+ | Name | Type | Description | Notes |
560
+ | ---- | ---- | ----------- | ----- |
561
+ | **event_id** | **String** | The ID that uniquely identifies the event. | |
562
+ | **track_id** | **String** | The track key that uniquely identifies the event track. | |
563
+ | **registration_id** | **String** | The ID that uniquely identifies the registration. | |
564
+
565
+ ### Return type
566
+
567
+ [**GetRegistrationInfo200Response**](GetRegistrationInfo200Response.md)
568
+
569
+ ### Authorization
570
+
571
+ [oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
572
+
573
+ ### HTTP request headers
574
+
575
+ - **Content-Type**: Not defined
576
+ - **Accept**: application/json
577
+
578
+
579
+ ## undo_check_in_tickets
580
+
581
+ > undo_check_in_tickets(event_id, check_in_tickets_request)
582
+
583
+ Undo event ticket check-in.
584
+
585
+ Use this endpoint to undo check-in for one or more tickets, marking them as not checked in. The event must be in `ACTIVE` or `COMPLETE` status.
586
+
587
+ ### Examples
588
+
589
+ ```ruby
590
+ require 'time'
591
+ require 'constant_contact_client'
592
+ # setup authorization
593
+ ConstantContactClient.configure do |config|
594
+ # Configure OAuth2 access token for authorization: oauth2_access_code
595
+ config.access_token = 'YOUR ACCESS TOKEN'
596
+
597
+ # Configure OAuth2 access token for authorization: oauth2_implicit
598
+ config.access_token = 'YOUR ACCESS TOKEN'
599
+ end
600
+
601
+ api_instance = ConstantContactClient::EventsApi.new
602
+ event_id = '07216444-4e3b-41ea-a3b8-5a418fce41f4' # String | The ID that uniquely identifies the event.
603
+ check_in_tickets_request = ConstantContactClient::CheckInTicketsRequest.new({order_ticket_keys: ["a1b2c3", "d4e5f6"]}) # CheckInTicketsRequest | Set of order ticket keys to mark as not checked in.
604
+
605
+ begin
606
+ # Undo event ticket check-in.
607
+ api_instance.undo_check_in_tickets(event_id, check_in_tickets_request)
608
+ rescue ConstantContactClient::ApiError => e
609
+ puts "Error when calling EventsApi->undo_check_in_tickets: #{e}"
610
+ end
611
+ ```
612
+
613
+ #### Using the undo_check_in_tickets_with_http_info variant
614
+
615
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
616
+
617
+ > <Array(nil, Integer, Hash)> undo_check_in_tickets_with_http_info(event_id, check_in_tickets_request)
618
+
619
+ ```ruby
620
+ begin
621
+ # Undo event ticket check-in.
622
+ data, status_code, headers = api_instance.undo_check_in_tickets_with_http_info(event_id, check_in_tickets_request)
623
+ p status_code # => 2xx
624
+ p headers # => { ... }
625
+ p data # => nil
626
+ rescue ConstantContactClient::ApiError => e
627
+ puts "Error when calling EventsApi->undo_check_in_tickets_with_http_info: #{e}"
628
+ end
629
+ ```
630
+
631
+ ### Parameters
632
+
633
+ | Name | Type | Description | Notes |
634
+ | ---- | ---- | ----------- | ----- |
635
+ | **event_id** | **String** | The ID that uniquely identifies the event. | |
636
+ | **check_in_tickets_request** | [**CheckInTicketsRequest**](CheckInTicketsRequest.md) | Set of order ticket keys to mark as not checked in. | |
637
+
638
+ ### Return type
639
+
640
+ nil (empty response body)
641
+
642
+ ### Authorization
643
+
644
+ [oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
645
+
646
+ ### HTTP request headers
647
+
648
+ - **Content-Type**: application/json
649
+ - **Accept**: Not defined
650
+
651
+
652
+ ## update_event
653
+
654
+ > update_event(event_id, create_event201_response)
655
+
656
+ PATCH (update) an event.
657
+
658
+ Partially updates an event with the provided fields. Only the specified fields will be updated. This endpoint only works for events in DRAFT or ACTIVE status. Events in COMPLETE, CANCELED, or DELETED status cannot be updated.
659
+
660
+ ### Examples
661
+
662
+ ```ruby
663
+ require 'time'
664
+ require 'constant_contact_client'
665
+ # setup authorization
666
+ ConstantContactClient.configure do |config|
667
+ # Configure OAuth2 access token for authorization: oauth2_access_code
668
+ config.access_token = 'YOUR ACCESS TOKEN'
669
+
670
+ # Configure OAuth2 access token for authorization: oauth2_implicit
671
+ config.access_token = 'YOUR ACCESS TOKEN'
672
+ end
673
+
674
+ api_instance = ConstantContactClient::EventsApi.new
675
+ event_id = '1697732a-8664-4675-8415-c4aabaa17dae' # String | The ID that uniquely identifies the event to update.
676
+ create_event201_response = ConstantContactClient::CreateEvent201Response.new({description: 'It's time for the High-Class Reunion. A night of reminiscing, networking, and celebrating shared success amongst old friends.', title: 'Riverdale High - Class of 2015 Reunion', name: 'Class of 2015 Reunion', campaign_id: '05cf4d60-56ea-4023-bf49-b35e56a9c7b5', event_start: '2023-12-01T20:30:00Z', event_end: '2023-12-01T21:30:00Z', event_type: 'PERFORMING_ARTS', default_track: ConstantContactClient::TrackDto1.new({campaign_activity_id: '31bb0c22-1c72-4841-9d2c-8bd41ed526bc'}), location_type: 'PHYSICAL', time_zone: 'US/Eastern'}) # CreateEvent201Response | A JSON request body containing the event fields to update.
677
+
678
+ begin
679
+ # PATCH (update) an event.
680
+ api_instance.update_event(event_id, create_event201_response)
681
+ rescue ConstantContactClient::ApiError => e
682
+ puts "Error when calling EventsApi->update_event: #{e}"
683
+ end
684
+ ```
685
+
686
+ #### Using the update_event_with_http_info variant
687
+
688
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
689
+
690
+ > <Array(nil, Integer, Hash)> update_event_with_http_info(event_id, create_event201_response)
691
+
692
+ ```ruby
693
+ begin
694
+ # PATCH (update) an event.
695
+ data, status_code, headers = api_instance.update_event_with_http_info(event_id, create_event201_response)
696
+ p status_code # => 2xx
697
+ p headers # => { ... }
698
+ p data # => nil
699
+ rescue ConstantContactClient::ApiError => e
700
+ puts "Error when calling EventsApi->update_event_with_http_info: #{e}"
701
+ end
702
+ ```
703
+
704
+ ### Parameters
705
+
706
+ | Name | Type | Description | Notes |
707
+ | ---- | ---- | ----------- | ----- |
708
+ | **event_id** | **String** | The ID that uniquely identifies the event to update. | |
709
+ | **create_event201_response** | [**CreateEvent201Response**](CreateEvent201Response.md) | A JSON request body containing the event fields to update. | |
710
+
711
+ ### Return type
712
+
713
+ nil (empty response body)
714
+
715
+ ### Authorization
716
+
717
+ [oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
718
+
719
+ ### HTTP request headers
720
+
721
+ - **Content-Type**: application/json
722
+ - **Accept**: Not defined
723
+
724
+
725
+ ## update_registration_payment_status_using_put
726
+
727
+ > update_registration_payment_status_using_put(event_id, track_id, update_registration_payment_status_using_put_request)
728
+
729
+ Update payment status for event registrations.
730
+
731
+ Use this endpoint to update the payment status for one or more registrations. This endpoint only processes registrations with a payment method (PAYPAL, WEPAY, STRIPE, DOOR, or CHECK). Free registrations without a payment method are silently excluded.
732
+
733
+ ### Examples
734
+
735
+ ```ruby
736
+ require 'time'
737
+ require 'constant_contact_client'
738
+ # setup authorization
739
+ ConstantContactClient.configure do |config|
740
+ # Configure OAuth2 access token for authorization: oauth2_access_code
741
+ config.access_token = 'YOUR ACCESS TOKEN'
742
+
743
+ # Configure OAuth2 access token for authorization: oauth2_implicit
744
+ config.access_token = 'YOUR ACCESS TOKEN'
745
+ end
746
+
747
+ api_instance = ConstantContactClient::EventsApi.new
748
+ event_id = 'c5da3665-88f9-4b15-82bc-cd6593c32537' # String | The ID that uniquely identifies the event.
749
+ track_id = '2unzqq' # String | The track key that uniquely identifies the event track.
750
+ update_registration_payment_status_using_put_request = ConstantContactClient::UpdateRegistrationPaymentStatusUsingPUTRequest.new({registration_ids: ["4460bdcd-1a8a-434a-a7bf-c72a500743b2", "2ed7e310-ab71-4e8f-8863-8784e7ee4183"], payment_status: 'Paid'}) # UpdateRegistrationPaymentStatusUsingPUTRequest | Payment status update request data.
751
+
752
+ begin
753
+ # Update payment status for event registrations.
754
+ api_instance.update_registration_payment_status_using_put(event_id, track_id, update_registration_payment_status_using_put_request)
755
+ rescue ConstantContactClient::ApiError => e
756
+ puts "Error when calling EventsApi->update_registration_payment_status_using_put: #{e}"
757
+ end
758
+ ```
759
+
760
+ #### Using the update_registration_payment_status_using_put_with_http_info variant
761
+
762
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
763
+
764
+ > <Array(nil, Integer, Hash)> update_registration_payment_status_using_put_with_http_info(event_id, track_id, update_registration_payment_status_using_put_request)
765
+
766
+ ```ruby
767
+ begin
768
+ # Update payment status for event registrations.
769
+ data, status_code, headers = api_instance.update_registration_payment_status_using_put_with_http_info(event_id, track_id, update_registration_payment_status_using_put_request)
770
+ p status_code # => 2xx
771
+ p headers # => { ... }
772
+ p data # => nil
773
+ rescue ConstantContactClient::ApiError => e
774
+ puts "Error when calling EventsApi->update_registration_payment_status_using_put_with_http_info: #{e}"
775
+ end
776
+ ```
777
+
778
+ ### Parameters
779
+
780
+ | Name | Type | Description | Notes |
781
+ | ---- | ---- | ----------- | ----- |
782
+ | **event_id** | **String** | The ID that uniquely identifies the event. | |
783
+ | **track_id** | **String** | The track key that uniquely identifies the event track. | |
784
+ | **update_registration_payment_status_using_put_request** | [**UpdateRegistrationPaymentStatusUsingPUTRequest**](UpdateRegistrationPaymentStatusUsingPUTRequest.md) | Payment status update request data. | |
785
+
786
+ ### Return type
787
+
788
+ nil (empty response body)
789
+
790
+ ### Authorization
791
+
792
+ [oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
793
+
794
+ ### HTTP request headers
795
+
796
+ - **Content-Type**: application/json
797
+ - **Accept**: application/json
798
+
799
+
800
+ ## update_registration_status_using_put
801
+
802
+ > update_registration_status_using_put(event_id, track_id, update_registration_status_using_put_request, opts)
803
+
804
+ Update status for event registrations.
805
+
806
+ Use this endpoint to update the registration status for one or more registrations within an event track.
807
+
808
+ ### Examples
809
+
810
+ ```ruby
811
+ require 'time'
812
+ require 'constant_contact_client'
813
+ # setup authorization
814
+ ConstantContactClient.configure do |config|
815
+ # Configure OAuth2 access token for authorization: oauth2_access_code
816
+ config.access_token = 'YOUR ACCESS TOKEN'
817
+
818
+ # Configure OAuth2 access token for authorization: oauth2_implicit
819
+ config.access_token = 'YOUR ACCESS TOKEN'
820
+ end
821
+
822
+ api_instance = ConstantContactClient::EventsApi.new
823
+ event_id = '07216444-4e3b-41ea-a3b8-5a418fce41f4' # String | The ID that uniquely identifies the event.
824
+ track_id = 'gqz1gb' # String | The track key that uniquely identifies the event track.
825
+ update_registration_status_using_put_request = ConstantContactClient::UpdateRegistrationStatusUsingPUTRequest.new({registration_ids: ["0c6a6ce8-e620-4ffc-92e6-6ffb689eb9d2", "15cdb4d3-86b9-4b9d-9431-4a5a0de53c4f"], registration_status: 'CANCELED'}) # UpdateRegistrationStatusUsingPUTRequest | Registration status update request data.
826
+ opts = {
827
+ increase_count: true, # Boolean | Override count flag.
828
+ increase_item_count: true, # Boolean | Override item count flag.
829
+ return_items_to_inventory: true # Boolean | Return items to inventory flag. Defaults to `true`.
830
+ }
831
+
832
+ begin
833
+ # Update status for event registrations.
834
+ api_instance.update_registration_status_using_put(event_id, track_id, update_registration_status_using_put_request, opts)
835
+ rescue ConstantContactClient::ApiError => e
836
+ puts "Error when calling EventsApi->update_registration_status_using_put: #{e}"
837
+ end
838
+ ```
839
+
840
+ #### Using the update_registration_status_using_put_with_http_info variant
841
+
842
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
843
+
844
+ > <Array(nil, Integer, Hash)> update_registration_status_using_put_with_http_info(event_id, track_id, update_registration_status_using_put_request, opts)
845
+
846
+ ```ruby
847
+ begin
848
+ # Update status for event registrations.
849
+ data, status_code, headers = api_instance.update_registration_status_using_put_with_http_info(event_id, track_id, update_registration_status_using_put_request, opts)
850
+ p status_code # => 2xx
851
+ p headers # => { ... }
852
+ p data # => nil
853
+ rescue ConstantContactClient::ApiError => e
854
+ puts "Error when calling EventsApi->update_registration_status_using_put_with_http_info: #{e}"
855
+ end
856
+ ```
857
+
858
+ ### Parameters
859
+
860
+ | Name | Type | Description | Notes |
861
+ | ---- | ---- | ----------- | ----- |
862
+ | **event_id** | **String** | The ID that uniquely identifies the event. | |
863
+ | **track_id** | **String** | The track key that uniquely identifies the event track. | |
864
+ | **update_registration_status_using_put_request** | [**UpdateRegistrationStatusUsingPUTRequest**](UpdateRegistrationStatusUsingPUTRequest.md) | Registration status update request data. | |
865
+ | **increase_count** | **Boolean** | Override count flag. | [optional] |
866
+ | **increase_item_count** | **Boolean** | Override item count flag. | [optional] |
867
+ | **return_items_to_inventory** | **Boolean** | Return items to inventory flag. Defaults to &#x60;true&#x60;. | [optional] |
868
+
869
+ ### Return type
870
+
871
+ nil (empty response body)
872
+
873
+ ### Authorization
874
+
875
+ [oauth2_access_code](../README.md#oauth2_access_code), [oauth2_implicit](../README.md#oauth2_implicit)
876
+
877
+ ### HTTP request headers
878
+
879
+ - **Content-Type**: application/json
880
+ - **Accept**: application/json
881
+