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
@@ -0,0 +1,881 @@
1
+ =begin
2
+ #Constant Contact API v3
3
+
4
+ #Swagger build version 3.0.161
5
+
6
+ The version of the OpenAPI document: 1.0.220
7
+ Contact: webservices@constantcontact.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.2.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module ConstantContactClient
16
+ class EventsApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Check in event tickets.
23
+ # 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).
24
+ # @param event_id [String] The ID that uniquely identifies the event.
25
+ # @param check_in_tickets_request [CheckInTicketsRequest] Set of order ticket keys to mark as checked in.
26
+ # @param [Hash] opts the optional parameters
27
+ # @return [nil]
28
+ def check_in_tickets(event_id, check_in_tickets_request, opts = {})
29
+ check_in_tickets_with_http_info(event_id, check_in_tickets_request, opts)
30
+ nil
31
+ end
32
+
33
+ # Check in event tickets.
34
+ # 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).
35
+ # @param event_id [String] The ID that uniquely identifies the event.
36
+ # @param check_in_tickets_request [CheckInTicketsRequest] Set of order ticket keys to mark as checked in.
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
39
+ def check_in_tickets_with_http_info(event_id, check_in_tickets_request, opts = {})
40
+ if @api_client.config.debugging
41
+ @api_client.config.logger.debug 'Calling API: EventsApi.check_in_tickets ...'
42
+ end
43
+ # verify the required parameter 'event_id' is set
44
+ if @api_client.config.client_side_validation && event_id.nil?
45
+ fail ArgumentError, "Missing the required parameter 'event_id' when calling EventsApi.check_in_tickets"
46
+ end
47
+ # verify the required parameter 'check_in_tickets_request' is set
48
+ if @api_client.config.client_side_validation && check_in_tickets_request.nil?
49
+ fail ArgumentError, "Missing the required parameter 'check_in_tickets_request' when calling EventsApi.check_in_tickets"
50
+ end
51
+ # resource path
52
+ local_var_path = '/events/{event_id}/check_in/tickets'.sub('{' + 'event_id' + '}', CGI.escape(event_id.to_s))
53
+
54
+ # query parameters
55
+ query_params = opts[:query_params] || {}
56
+
57
+ # header parameters
58
+ header_params = opts[:header_params] || {}
59
+ # HTTP header 'Content-Type'
60
+ content_type = @api_client.select_header_content_type(['application/json'])
61
+ if !content_type.nil?
62
+ header_params['Content-Type'] = content_type
63
+ end
64
+
65
+ # form parameters
66
+ form_params = opts[:form_params] || {}
67
+
68
+ # http body (model)
69
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(check_in_tickets_request)
70
+
71
+ # return_type
72
+ return_type = opts[:debug_return_type]
73
+
74
+ # auth_names
75
+ auth_names = opts[:debug_auth_names] || ['oauth2_access_code', 'oauth2_implicit']
76
+
77
+ new_options = opts.merge(
78
+ :operation => :"EventsApi.check_in_tickets",
79
+ :header_params => header_params,
80
+ :query_params => query_params,
81
+ :form_params => form_params,
82
+ :body => post_body,
83
+ :auth_names => auth_names,
84
+ :return_type => return_type
85
+ )
86
+
87
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
88
+ if @api_client.config.debugging
89
+ @api_client.config.logger.debug "API called: EventsApi#check_in_tickets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
90
+ end
91
+ return data, status_code, headers
92
+ end
93
+
94
+ # POST (copy) an existing event.
95
+ # 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.
96
+ # @param event_id [String] The ID of the event to copy.
97
+ # @param copy_event_request [CopyEventRequest] A JSON request body containing the copy options.
98
+ # @param [Hash] opts the optional parameters
99
+ # @return [CreateEvent201Response]
100
+ def copy_event(event_id, copy_event_request, opts = {})
101
+ data, _status_code, _headers = copy_event_with_http_info(event_id, copy_event_request, opts)
102
+ data
103
+ end
104
+
105
+ # POST (copy) an existing event.
106
+ # 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.
107
+ # @param event_id [String] The ID of the event to copy.
108
+ # @param copy_event_request [CopyEventRequest] A JSON request body containing the copy options.
109
+ # @param [Hash] opts the optional parameters
110
+ # @return [Array<(CreateEvent201Response, Integer, Hash)>] CreateEvent201Response data, response status code and response headers
111
+ def copy_event_with_http_info(event_id, copy_event_request, opts = {})
112
+ if @api_client.config.debugging
113
+ @api_client.config.logger.debug 'Calling API: EventsApi.copy_event ...'
114
+ end
115
+ # verify the required parameter 'event_id' is set
116
+ if @api_client.config.client_side_validation && event_id.nil?
117
+ fail ArgumentError, "Missing the required parameter 'event_id' when calling EventsApi.copy_event"
118
+ end
119
+ # verify the required parameter 'copy_event_request' is set
120
+ if @api_client.config.client_side_validation && copy_event_request.nil?
121
+ fail ArgumentError, "Missing the required parameter 'copy_event_request' when calling EventsApi.copy_event"
122
+ end
123
+ # resource path
124
+ local_var_path = '/events/{event_id}/copy'.sub('{' + 'event_id' + '}', CGI.escape(event_id.to_s))
125
+
126
+ # query parameters
127
+ query_params = opts[:query_params] || {}
128
+
129
+ # header parameters
130
+ header_params = opts[:header_params] || {}
131
+ # HTTP header 'Accept' (if needed)
132
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
133
+ # HTTP header 'Content-Type'
134
+ content_type = @api_client.select_header_content_type(['application/json'])
135
+ if !content_type.nil?
136
+ header_params['Content-Type'] = content_type
137
+ end
138
+
139
+ # form parameters
140
+ form_params = opts[:form_params] || {}
141
+
142
+ # http body (model)
143
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(copy_event_request)
144
+
145
+ # return_type
146
+ return_type = opts[:debug_return_type] || 'CreateEvent201Response'
147
+
148
+ # auth_names
149
+ auth_names = opts[:debug_auth_names] || ['oauth2_access_code', 'oauth2_implicit']
150
+
151
+ new_options = opts.merge(
152
+ :operation => :"EventsApi.copy_event",
153
+ :header_params => header_params,
154
+ :query_params => query_params,
155
+ :form_params => form_params,
156
+ :body => post_body,
157
+ :auth_names => auth_names,
158
+ :return_type => return_type
159
+ )
160
+
161
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
162
+ if @api_client.config.debugging
163
+ @api_client.config.logger.debug "API called: EventsApi#copy_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
164
+ end
165
+ return data, status_code, headers
166
+ end
167
+
168
+ # POST (create) a new event.
169
+ # Creates a new event with default settings, registration form, and landing page. The event will be created in DRAFT status.
170
+ # @param [Hash] opts the optional parameters
171
+ # @option opts [String] :name Name for the new event. If not provided, a default name will be generated.
172
+ # @option opts [String] :start_time Event start time in ISO 8601 format. If not provided, defaults to a future date.
173
+ # @option opts [String] :end_time Event end time in ISO 8601 format. If not provided, defaults to one hour after start time.
174
+ # @option opts [String] :placeholder_campaign_id Placeholder campaign ID for the event.
175
+ # @return [CreateEvent201Response]
176
+ def create_event(opts = {})
177
+ data, _status_code, _headers = create_event_with_http_info(opts)
178
+ data
179
+ end
180
+
181
+ # POST (create) a new event.
182
+ # Creates a new event with default settings, registration form, and landing page. The event will be created in DRAFT status.
183
+ # @param [Hash] opts the optional parameters
184
+ # @option opts [String] :name Name for the new event. If not provided, a default name will be generated.
185
+ # @option opts [String] :start_time Event start time in ISO 8601 format. If not provided, defaults to a future date.
186
+ # @option opts [String] :end_time Event end time in ISO 8601 format. If not provided, defaults to one hour after start time.
187
+ # @option opts [String] :placeholder_campaign_id Placeholder campaign ID for the event.
188
+ # @return [Array<(CreateEvent201Response, Integer, Hash)>] CreateEvent201Response data, response status code and response headers
189
+ def create_event_with_http_info(opts = {})
190
+ if @api_client.config.debugging
191
+ @api_client.config.logger.debug 'Calling API: EventsApi.create_event ...'
192
+ end
193
+ # resource path
194
+ local_var_path = '/events/default'
195
+
196
+ # query parameters
197
+ query_params = opts[:query_params] || {}
198
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
199
+ query_params[:'start_time'] = opts[:'start_time'] if !opts[:'start_time'].nil?
200
+ query_params[:'end_time'] = opts[:'end_time'] if !opts[:'end_time'].nil?
201
+ query_params[:'placeholder_campaign_id'] = opts[:'placeholder_campaign_id'] if !opts[:'placeholder_campaign_id'].nil?
202
+
203
+ # header parameters
204
+ header_params = opts[:header_params] || {}
205
+ # HTTP header 'Accept' (if needed)
206
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
207
+
208
+ # form parameters
209
+ form_params = opts[:form_params] || {}
210
+
211
+ # http body (model)
212
+ post_body = opts[:debug_body]
213
+
214
+ # return_type
215
+ return_type = opts[:debug_return_type] || 'CreateEvent201Response'
216
+
217
+ # auth_names
218
+ auth_names = opts[:debug_auth_names] || ['oauth2_access_code', 'oauth2_implicit']
219
+
220
+ new_options = opts.merge(
221
+ :operation => :"EventsApi.create_event",
222
+ :header_params => header_params,
223
+ :query_params => query_params,
224
+ :form_params => form_params,
225
+ :body => post_body,
226
+ :auth_names => auth_names,
227
+ :return_type => return_type
228
+ )
229
+
230
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
231
+ if @api_client.config.debugging
232
+ @api_client.config.logger.debug "API called: EventsApi#create_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
233
+ end
234
+ return data, status_code, headers
235
+ end
236
+
237
+ # GET a collection of events.
238
+ # Retrieve a collection of events with event details.
239
+ # @param [Hash] opts the optional parameters
240
+ # @option opts [String] :event_status 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;.
241
+ # @option opts [String] :search_text Use to return only events that include the specified text.
242
+ # @option opts [String] :sort_by 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;.
243
+ # @option opts [String] :sort_order 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.
244
+ # @option opts [String] :limit Limit the number of results to return per page. Default and maximum is &#x60;100&#x60;.
245
+ # @option opts [String] :prev Cursor for retrieving the previous page of results. This value is obtained from the &#x60;prev_cursor&#x60; field in a previous response.
246
+ # @option opts [String] :_next Cursor for retrieving the next page of results. This value is obtained from the &#x60;next_cursor&#x60; field in a previous response.
247
+ # @return [FindEvents200Response]
248
+ def find_events(opts = {})
249
+ data, _status_code, _headers = find_events_with_http_info(opts)
250
+ data
251
+ end
252
+
253
+ # GET a collection of events.
254
+ # Retrieve a collection of events with event details.
255
+ # @param [Hash] opts the optional parameters
256
+ # @option opts [String] :event_status 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;.
257
+ # @option opts [String] :search_text Use to return only events that include the specified text.
258
+ # @option opts [String] :sort_by 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;.
259
+ # @option opts [String] :sort_order 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.
260
+ # @option opts [String] :limit Limit the number of results to return per page. Default and maximum is &#x60;100&#x60;.
261
+ # @option opts [String] :prev Cursor for retrieving the previous page of results. This value is obtained from the &#x60;prev_cursor&#x60; field in a previous response.
262
+ # @option opts [String] :_next Cursor for retrieving the next page of results. This value is obtained from the &#x60;next_cursor&#x60; field in a previous response.
263
+ # @return [Array<(FindEvents200Response, Integer, Hash)>] FindEvents200Response data, response status code and response headers
264
+ def find_events_with_http_info(opts = {})
265
+ if @api_client.config.debugging
266
+ @api_client.config.logger.debug 'Calling API: EventsApi.find_events ...'
267
+ end
268
+ # resource path
269
+ local_var_path = '/events'
270
+
271
+ # query parameters
272
+ query_params = opts[:query_params] || {}
273
+ query_params[:'event_status'] = opts[:'event_status'] if !opts[:'event_status'].nil?
274
+ query_params[:'search_text'] = opts[:'search_text'] if !opts[:'search_text'].nil?
275
+ query_params[:'sort_by'] = opts[:'sort_by'] if !opts[:'sort_by'].nil?
276
+ query_params[:'sort_order'] = opts[:'sort_order'] if !opts[:'sort_order'].nil?
277
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
278
+ query_params[:'prev'] = opts[:'prev'] if !opts[:'prev'].nil?
279
+ query_params[:'next'] = opts[:'_next'] if !opts[:'_next'].nil?
280
+
281
+ # header parameters
282
+ header_params = opts[:header_params] || {}
283
+ # HTTP header 'Accept' (if needed)
284
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
285
+
286
+ # form parameters
287
+ form_params = opts[:form_params] || {}
288
+
289
+ # http body (model)
290
+ post_body = opts[:debug_body]
291
+
292
+ # return_type
293
+ return_type = opts[:debug_return_type] || 'FindEvents200Response'
294
+
295
+ # auth_names
296
+ auth_names = opts[:debug_auth_names] || ['oauth2_access_code', 'oauth2_implicit']
297
+
298
+ new_options = opts.merge(
299
+ :operation => :"EventsApi.find_events",
300
+ :header_params => header_params,
301
+ :query_params => query_params,
302
+ :form_params => form_params,
303
+ :body => post_body,
304
+ :auth_names => auth_names,
305
+ :return_type => return_type
306
+ )
307
+
308
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
309
+ if @api_client.config.debugging
310
+ @api_client.config.logger.debug "API called: EventsApi#find_events\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
311
+ end
312
+ return data, status_code, headers
313
+ end
314
+
315
+ # Get a list of registrations for an event.
316
+ # 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`.
317
+ # @param event_id [String] The ID that uniquely identifies the event.
318
+ # @param track_id [String] The track ID that uniquely identifies the event track.
319
+ # @param [Hash] opts the optional parameters
320
+ # @option opts [String] :registration_status Filter registration results by status.
321
+ # @option opts [String] :payment_status Filter registration results by payment status.
322
+ # @option opts [String] :search_text Filter registration results by first name, last name, or email address.
323
+ # @option opts [String] :sort_by Specify the field to use to sort the results.
324
+ # @option opts [String] :sort_order Use to specify how you want the results sorted.
325
+ # @option opts [String] :page_size 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.
326
+ # @option opts [String] :limit 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.
327
+ # @option opts [String] :prev Cursor for pagination used to get the previous page of results (mutually exclusive with &lt;code&gt;next&lt;/code&gt;).
328
+ # @option opts [String] :_next Cursor for pagination used to get the next page of results (mutually exclusive with &lt;code&gt;prev&lt;/code&gt;).
329
+ # @return [FindRegistrationsUsingGET200Response]
330
+ def find_registrations_using_get(event_id, track_id, opts = {})
331
+ data, _status_code, _headers = find_registrations_using_get_with_http_info(event_id, track_id, opts)
332
+ data
333
+ end
334
+
335
+ # Get a list of registrations for an event.
336
+ # Use the &#x60;event_id&#x60; and &#x60;track_id&#x60; 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 &#x60;status&#x60;.
337
+ # @param event_id [String] The ID that uniquely identifies the event.
338
+ # @param track_id [String] The track ID that uniquely identifies the event track.
339
+ # @param [Hash] opts the optional parameters
340
+ # @option opts [String] :registration_status Filter registration results by status.
341
+ # @option opts [String] :payment_status Filter registration results by payment status.
342
+ # @option opts [String] :search_text Filter registration results by first name, last name, or email address.
343
+ # @option opts [String] :sort_by Specify the field to use to sort the results.
344
+ # @option opts [String] :sort_order Use to specify how you want the results sorted.
345
+ # @option opts [String] :page_size 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.
346
+ # @option opts [String] :limit 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.
347
+ # @option opts [String] :prev Cursor for pagination used to get the previous page of results (mutually exclusive with &lt;code&gt;next&lt;/code&gt;).
348
+ # @option opts [String] :_next Cursor for pagination used to get the next page of results (mutually exclusive with &lt;code&gt;prev&lt;/code&gt;).
349
+ # @return [Array<(FindRegistrationsUsingGET200Response, Integer, Hash)>] FindRegistrationsUsingGET200Response data, response status code and response headers
350
+ def find_registrations_using_get_with_http_info(event_id, track_id, opts = {})
351
+ if @api_client.config.debugging
352
+ @api_client.config.logger.debug 'Calling API: EventsApi.find_registrations_using_get ...'
353
+ end
354
+ # verify the required parameter 'event_id' is set
355
+ if @api_client.config.client_side_validation && event_id.nil?
356
+ fail ArgumentError, "Missing the required parameter 'event_id' when calling EventsApi.find_registrations_using_get"
357
+ end
358
+ # verify the required parameter 'track_id' is set
359
+ if @api_client.config.client_side_validation && track_id.nil?
360
+ fail ArgumentError, "Missing the required parameter 'track_id' when calling EventsApi.find_registrations_using_get"
361
+ end
362
+ allowable_values = ["PENDING", "REGISTERED", "CANCELED", "EXPIRED", "IN_PROGRESS, FAILED"]
363
+ if @api_client.config.client_side_validation && opts[:'registration_status'] && !allowable_values.include?(opts[:'registration_status'])
364
+ fail ArgumentError, "invalid value for \"registration_status\", must be one of #{allowable_values}"
365
+ end
366
+ allowable_values = ["PENDING", "PAID", "REFUNDED", "CANCELLED", "FAILED", "CHARGED_BACK"]
367
+ if @api_client.config.client_side_validation && opts[:'payment_status'] && !allowable_values.include?(opts[:'payment_status'])
368
+ fail ArgumentError, "invalid value for \"payment_status\", must be one of #{allowable_values}"
369
+ end
370
+ allowable_values = ["first_name", "last_name", "email_address", "registration_status", "payment_status", "tickets", "total"]
371
+ if @api_client.config.client_side_validation && opts[:'sort_by'] && !allowable_values.include?(opts[:'sort_by'])
372
+ fail ArgumentError, "invalid value for \"sort_by\", must be one of #{allowable_values}"
373
+ end
374
+ allowable_values = ["ASC", "DESC"]
375
+ if @api_client.config.client_side_validation && opts[:'sort_order'] && !allowable_values.include?(opts[:'sort_order'])
376
+ fail ArgumentError, "invalid value for \"sort_order\", must be one of #{allowable_values}"
377
+ end
378
+ # resource path
379
+ local_var_path = '/events/{event_id}/tracks/{track_id}/registrations'.sub('{' + 'event_id' + '}', CGI.escape(event_id.to_s)).sub('{' + 'track_id' + '}', CGI.escape(track_id.to_s))
380
+
381
+ # query parameters
382
+ query_params = opts[:query_params] || {}
383
+ query_params[:'registration_status'] = opts[:'registration_status'] if !opts[:'registration_status'].nil?
384
+ query_params[:'payment_status'] = opts[:'payment_status'] if !opts[:'payment_status'].nil?
385
+ query_params[:'search_text'] = opts[:'search_text'] if !opts[:'search_text'].nil?
386
+ query_params[:'sort_by'] = opts[:'sort_by'] if !opts[:'sort_by'].nil?
387
+ query_params[:'sort_order'] = opts[:'sort_order'] if !opts[:'sort_order'].nil?
388
+ query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
389
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
390
+ query_params[:'prev'] = opts[:'prev'] if !opts[:'prev'].nil?
391
+ query_params[:'next'] = opts[:'_next'] if !opts[:'_next'].nil?
392
+
393
+ # header parameters
394
+ header_params = opts[:header_params] || {}
395
+ # HTTP header 'Accept' (if needed)
396
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
397
+
398
+ # form parameters
399
+ form_params = opts[:form_params] || {}
400
+
401
+ # http body (model)
402
+ post_body = opts[:debug_body]
403
+
404
+ # return_type
405
+ return_type = opts[:debug_return_type] || 'FindRegistrationsUsingGET200Response'
406
+
407
+ # auth_names
408
+ auth_names = opts[:debug_auth_names] || ['oauth2_access_code', 'oauth2_implicit']
409
+
410
+ new_options = opts.merge(
411
+ :operation => :"EventsApi.find_registrations_using_get",
412
+ :header_params => header_params,
413
+ :query_params => query_params,
414
+ :form_params => form_params,
415
+ :body => post_body,
416
+ :auth_names => auth_names,
417
+ :return_type => return_type
418
+ )
419
+
420
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
421
+ if @api_client.config.debugging
422
+ @api_client.config.logger.debug "API called: EventsApi#find_registrations_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
423
+ end
424
+ return data, status_code, headers
425
+ end
426
+
427
+ # GET details for a single event.
428
+ # Specify the `event_id` path parameter to retrieve the event's details.
429
+ # @param event_id [String] The ID that uniquely identifies the event.
430
+ # @param [Hash] opts the optional parameters
431
+ # @option opts [Boolean] :include Use to include (&#x60;true&#x60;) or exclude (&#x60;false&#x60;) event setting properties in the results.
432
+ # @return [CreateEvent201Response]
433
+ def get_event2(event_id, opts = {})
434
+ data, _status_code, _headers = get_event2_with_http_info(event_id, opts)
435
+ data
436
+ end
437
+
438
+ # GET details for a single event.
439
+ # Specify the &#x60;event_id&#x60; path parameter to retrieve the event&#39;s details.
440
+ # @param event_id [String] The ID that uniquely identifies the event.
441
+ # @param [Hash] opts the optional parameters
442
+ # @option opts [Boolean] :include Use to include (&#x60;true&#x60;) or exclude (&#x60;false&#x60;) event setting properties in the results.
443
+ # @return [Array<(CreateEvent201Response, Integer, Hash)>] CreateEvent201Response data, response status code and response headers
444
+ def get_event2_with_http_info(event_id, opts = {})
445
+ if @api_client.config.debugging
446
+ @api_client.config.logger.debug 'Calling API: EventsApi.get_event2 ...'
447
+ end
448
+ # verify the required parameter 'event_id' is set
449
+ if @api_client.config.client_side_validation && event_id.nil?
450
+ fail ArgumentError, "Missing the required parameter 'event_id' when calling EventsApi.get_event2"
451
+ end
452
+ # resource path
453
+ local_var_path = '/events/{event_id}'.sub('{' + 'event_id' + '}', CGI.escape(event_id.to_s))
454
+
455
+ # query parameters
456
+ query_params = opts[:query_params] || {}
457
+ query_params[:'include'] = opts[:'include'] if !opts[:'include'].nil?
458
+
459
+ # header parameters
460
+ header_params = opts[:header_params] || {}
461
+ # HTTP header 'Accept' (if needed)
462
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
463
+
464
+ # form parameters
465
+ form_params = opts[:form_params] || {}
466
+
467
+ # http body (model)
468
+ post_body = opts[:debug_body]
469
+
470
+ # return_type
471
+ return_type = opts[:debug_return_type] || 'CreateEvent201Response'
472
+
473
+ # auth_names
474
+ auth_names = opts[:debug_auth_names] || ['oauth2_access_code', 'oauth2_implicit']
475
+
476
+ new_options = opts.merge(
477
+ :operation => :"EventsApi.get_event2",
478
+ :header_params => header_params,
479
+ :query_params => query_params,
480
+ :form_params => form_params,
481
+ :body => post_body,
482
+ :auth_names => auth_names,
483
+ :return_type => return_type
484
+ )
485
+
486
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
487
+ if @api_client.config.debugging
488
+ @api_client.config.logger.debug "API called: EventsApi#get_event2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
489
+ end
490
+ return data, status_code, headers
491
+ end
492
+
493
+ # Get registration details for an event.
494
+ # Use the `event_id`, `registration_id`, and `track_id` path parameters to get registration details.
495
+ # @param event_id [String] The ID that uniquely identifies the event.
496
+ # @param track_id [String] The track key that uniquely identifies the event track.
497
+ # @param registration_id [String] The ID that uniquely identifies the registration.
498
+ # @param [Hash] opts the optional parameters
499
+ # @return [GetRegistrationInfo200Response]
500
+ def get_registration_info(event_id, track_id, registration_id, opts = {})
501
+ data, _status_code, _headers = get_registration_info_with_http_info(event_id, track_id, registration_id, opts)
502
+ data
503
+ end
504
+
505
+ # Get registration details for an event.
506
+ # Use the &#x60;event_id&#x60;, &#x60;registration_id&#x60;, and &#x60;track_id&#x60; path parameters to get registration details.
507
+ # @param event_id [String] The ID that uniquely identifies the event.
508
+ # @param track_id [String] The track key that uniquely identifies the event track.
509
+ # @param registration_id [String] The ID that uniquely identifies the registration.
510
+ # @param [Hash] opts the optional parameters
511
+ # @return [Array<(GetRegistrationInfo200Response, Integer, Hash)>] GetRegistrationInfo200Response data, response status code and response headers
512
+ def get_registration_info_with_http_info(event_id, track_id, registration_id, opts = {})
513
+ if @api_client.config.debugging
514
+ @api_client.config.logger.debug 'Calling API: EventsApi.get_registration_info ...'
515
+ end
516
+ # verify the required parameter 'event_id' is set
517
+ if @api_client.config.client_side_validation && event_id.nil?
518
+ fail ArgumentError, "Missing the required parameter 'event_id' when calling EventsApi.get_registration_info"
519
+ end
520
+ # verify the required parameter 'track_id' is set
521
+ if @api_client.config.client_side_validation && track_id.nil?
522
+ fail ArgumentError, "Missing the required parameter 'track_id' when calling EventsApi.get_registration_info"
523
+ end
524
+ # verify the required parameter 'registration_id' is set
525
+ if @api_client.config.client_side_validation && registration_id.nil?
526
+ fail ArgumentError, "Missing the required parameter 'registration_id' when calling EventsApi.get_registration_info"
527
+ end
528
+ # resource path
529
+ local_var_path = '/events/{event_id}/tracks/{track_id}/registrations/{registration_id}'.sub('{' + 'event_id' + '}', CGI.escape(event_id.to_s)).sub('{' + 'track_id' + '}', CGI.escape(track_id.to_s)).sub('{' + 'registration_id' + '}', CGI.escape(registration_id.to_s))
530
+
531
+ # query parameters
532
+ query_params = opts[:query_params] || {}
533
+
534
+ # header parameters
535
+ header_params = opts[:header_params] || {}
536
+ # HTTP header 'Accept' (if needed)
537
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
538
+
539
+ # form parameters
540
+ form_params = opts[:form_params] || {}
541
+
542
+ # http body (model)
543
+ post_body = opts[:debug_body]
544
+
545
+ # return_type
546
+ return_type = opts[:debug_return_type] || 'GetRegistrationInfo200Response'
547
+
548
+ # auth_names
549
+ auth_names = opts[:debug_auth_names] || ['oauth2_access_code', 'oauth2_implicit']
550
+
551
+ new_options = opts.merge(
552
+ :operation => :"EventsApi.get_registration_info",
553
+ :header_params => header_params,
554
+ :query_params => query_params,
555
+ :form_params => form_params,
556
+ :body => post_body,
557
+ :auth_names => auth_names,
558
+ :return_type => return_type
559
+ )
560
+
561
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
562
+ if @api_client.config.debugging
563
+ @api_client.config.logger.debug "API called: EventsApi#get_registration_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
564
+ end
565
+ return data, status_code, headers
566
+ end
567
+
568
+ # Undo event ticket check-in.
569
+ # 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.
570
+ # @param event_id [String] The ID that uniquely identifies the event.
571
+ # @param check_in_tickets_request [CheckInTicketsRequest] Set of order ticket keys to mark as not checked in.
572
+ # @param [Hash] opts the optional parameters
573
+ # @return [nil]
574
+ def undo_check_in_tickets(event_id, check_in_tickets_request, opts = {})
575
+ undo_check_in_tickets_with_http_info(event_id, check_in_tickets_request, opts)
576
+ nil
577
+ end
578
+
579
+ # Undo event ticket check-in.
580
+ # Use this endpoint to undo check-in for one or more tickets, marking them as not checked in. The event must be in &#x60;ACTIVE&#x60; or &#x60;COMPLETE&#x60; status.
581
+ # @param event_id [String] The ID that uniquely identifies the event.
582
+ # @param check_in_tickets_request [CheckInTicketsRequest] Set of order ticket keys to mark as not checked in.
583
+ # @param [Hash] opts the optional parameters
584
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
585
+ def undo_check_in_tickets_with_http_info(event_id, check_in_tickets_request, opts = {})
586
+ if @api_client.config.debugging
587
+ @api_client.config.logger.debug 'Calling API: EventsApi.undo_check_in_tickets ...'
588
+ end
589
+ # verify the required parameter 'event_id' is set
590
+ if @api_client.config.client_side_validation && event_id.nil?
591
+ fail ArgumentError, "Missing the required parameter 'event_id' when calling EventsApi.undo_check_in_tickets"
592
+ end
593
+ # verify the required parameter 'check_in_tickets_request' is set
594
+ if @api_client.config.client_side_validation && check_in_tickets_request.nil?
595
+ fail ArgumentError, "Missing the required parameter 'check_in_tickets_request' when calling EventsApi.undo_check_in_tickets"
596
+ end
597
+ # resource path
598
+ local_var_path = '/events/{event_id}/undo_check_in/tickets'.sub('{' + 'event_id' + '}', CGI.escape(event_id.to_s))
599
+
600
+ # query parameters
601
+ query_params = opts[:query_params] || {}
602
+
603
+ # header parameters
604
+ header_params = opts[:header_params] || {}
605
+ # HTTP header 'Content-Type'
606
+ content_type = @api_client.select_header_content_type(['application/json'])
607
+ if !content_type.nil?
608
+ header_params['Content-Type'] = content_type
609
+ end
610
+
611
+ # form parameters
612
+ form_params = opts[:form_params] || {}
613
+
614
+ # http body (model)
615
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(check_in_tickets_request)
616
+
617
+ # return_type
618
+ return_type = opts[:debug_return_type]
619
+
620
+ # auth_names
621
+ auth_names = opts[:debug_auth_names] || ['oauth2_access_code', 'oauth2_implicit']
622
+
623
+ new_options = opts.merge(
624
+ :operation => :"EventsApi.undo_check_in_tickets",
625
+ :header_params => header_params,
626
+ :query_params => query_params,
627
+ :form_params => form_params,
628
+ :body => post_body,
629
+ :auth_names => auth_names,
630
+ :return_type => return_type
631
+ )
632
+
633
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
634
+ if @api_client.config.debugging
635
+ @api_client.config.logger.debug "API called: EventsApi#undo_check_in_tickets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
636
+ end
637
+ return data, status_code, headers
638
+ end
639
+
640
+ # PATCH (update) an event.
641
+ # 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.
642
+ # @param event_id [String] The ID that uniquely identifies the event to update.
643
+ # @param create_event201_response [CreateEvent201Response] A JSON request body containing the event fields to update.
644
+ # @param [Hash] opts the optional parameters
645
+ # @return [nil]
646
+ def update_event(event_id, create_event201_response, opts = {})
647
+ update_event_with_http_info(event_id, create_event201_response, opts)
648
+ nil
649
+ end
650
+
651
+ # PATCH (update) an event.
652
+ # 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.
653
+ # @param event_id [String] The ID that uniquely identifies the event to update.
654
+ # @param create_event201_response [CreateEvent201Response] A JSON request body containing the event fields to update.
655
+ # @param [Hash] opts the optional parameters
656
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
657
+ def update_event_with_http_info(event_id, create_event201_response, opts = {})
658
+ if @api_client.config.debugging
659
+ @api_client.config.logger.debug 'Calling API: EventsApi.update_event ...'
660
+ end
661
+ # verify the required parameter 'event_id' is set
662
+ if @api_client.config.client_side_validation && event_id.nil?
663
+ fail ArgumentError, "Missing the required parameter 'event_id' when calling EventsApi.update_event"
664
+ end
665
+ # verify the required parameter 'create_event201_response' is set
666
+ if @api_client.config.client_side_validation && create_event201_response.nil?
667
+ fail ArgumentError, "Missing the required parameter 'create_event201_response' when calling EventsApi.update_event"
668
+ end
669
+ # resource path
670
+ local_var_path = '/events/{event_id}'.sub('{' + 'event_id' + '}', CGI.escape(event_id.to_s))
671
+
672
+ # query parameters
673
+ query_params = opts[:query_params] || {}
674
+
675
+ # header parameters
676
+ header_params = opts[:header_params] || {}
677
+ # HTTP header 'Content-Type'
678
+ content_type = @api_client.select_header_content_type(['application/json'])
679
+ if !content_type.nil?
680
+ header_params['Content-Type'] = content_type
681
+ end
682
+
683
+ # form parameters
684
+ form_params = opts[:form_params] || {}
685
+
686
+ # http body (model)
687
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_event201_response)
688
+
689
+ # return_type
690
+ return_type = opts[:debug_return_type]
691
+
692
+ # auth_names
693
+ auth_names = opts[:debug_auth_names] || ['oauth2_access_code', 'oauth2_implicit']
694
+
695
+ new_options = opts.merge(
696
+ :operation => :"EventsApi.update_event",
697
+ :header_params => header_params,
698
+ :query_params => query_params,
699
+ :form_params => form_params,
700
+ :body => post_body,
701
+ :auth_names => auth_names,
702
+ :return_type => return_type
703
+ )
704
+
705
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
706
+ if @api_client.config.debugging
707
+ @api_client.config.logger.debug "API called: EventsApi#update_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
708
+ end
709
+ return data, status_code, headers
710
+ end
711
+
712
+ # Update payment status for event registrations.
713
+ # 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.
714
+ # @param event_id [String] The ID that uniquely identifies the event.
715
+ # @param track_id [String] The track key that uniquely identifies the event track.
716
+ # @param update_registration_payment_status_using_put_request [UpdateRegistrationPaymentStatusUsingPUTRequest] Payment status update request data.
717
+ # @param [Hash] opts the optional parameters
718
+ # @return [nil]
719
+ def update_registration_payment_status_using_put(event_id, track_id, update_registration_payment_status_using_put_request, opts = {})
720
+ update_registration_payment_status_using_put_with_http_info(event_id, track_id, update_registration_payment_status_using_put_request, opts)
721
+ nil
722
+ end
723
+
724
+ # Update payment status for event registrations.
725
+ # 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.
726
+ # @param event_id [String] The ID that uniquely identifies the event.
727
+ # @param track_id [String] The track key that uniquely identifies the event track.
728
+ # @param update_registration_payment_status_using_put_request [UpdateRegistrationPaymentStatusUsingPUTRequest] Payment status update request data.
729
+ # @param [Hash] opts the optional parameters
730
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
731
+ def update_registration_payment_status_using_put_with_http_info(event_id, track_id, update_registration_payment_status_using_put_request, opts = {})
732
+ if @api_client.config.debugging
733
+ @api_client.config.logger.debug 'Calling API: EventsApi.update_registration_payment_status_using_put ...'
734
+ end
735
+ # verify the required parameter 'event_id' is set
736
+ if @api_client.config.client_side_validation && event_id.nil?
737
+ fail ArgumentError, "Missing the required parameter 'event_id' when calling EventsApi.update_registration_payment_status_using_put"
738
+ end
739
+ # verify the required parameter 'track_id' is set
740
+ if @api_client.config.client_side_validation && track_id.nil?
741
+ fail ArgumentError, "Missing the required parameter 'track_id' when calling EventsApi.update_registration_payment_status_using_put"
742
+ end
743
+ # verify the required parameter 'update_registration_payment_status_using_put_request' is set
744
+ if @api_client.config.client_side_validation && update_registration_payment_status_using_put_request.nil?
745
+ fail ArgumentError, "Missing the required parameter 'update_registration_payment_status_using_put_request' when calling EventsApi.update_registration_payment_status_using_put"
746
+ end
747
+ # resource path
748
+ local_var_path = '/events/{event_id}/tracks/{track_id}/registrations/payment_status'.sub('{' + 'event_id' + '}', CGI.escape(event_id.to_s)).sub('{' + 'track_id' + '}', CGI.escape(track_id.to_s))
749
+
750
+ # query parameters
751
+ query_params = opts[:query_params] || {}
752
+
753
+ # header parameters
754
+ header_params = opts[:header_params] || {}
755
+ # HTTP header 'Accept' (if needed)
756
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
757
+ # HTTP header 'Content-Type'
758
+ content_type = @api_client.select_header_content_type(['application/json'])
759
+ if !content_type.nil?
760
+ header_params['Content-Type'] = content_type
761
+ end
762
+
763
+ # form parameters
764
+ form_params = opts[:form_params] || {}
765
+
766
+ # http body (model)
767
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_registration_payment_status_using_put_request)
768
+
769
+ # return_type
770
+ return_type = opts[:debug_return_type]
771
+
772
+ # auth_names
773
+ auth_names = opts[:debug_auth_names] || ['oauth2_access_code', 'oauth2_implicit']
774
+
775
+ new_options = opts.merge(
776
+ :operation => :"EventsApi.update_registration_payment_status_using_put",
777
+ :header_params => header_params,
778
+ :query_params => query_params,
779
+ :form_params => form_params,
780
+ :body => post_body,
781
+ :auth_names => auth_names,
782
+ :return_type => return_type
783
+ )
784
+
785
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
786
+ if @api_client.config.debugging
787
+ @api_client.config.logger.debug "API called: EventsApi#update_registration_payment_status_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
788
+ end
789
+ return data, status_code, headers
790
+ end
791
+
792
+ # Update status for event registrations.
793
+ # Use this endpoint to update the registration status for one or more registrations within an event track.
794
+ # @param event_id [String] The ID that uniquely identifies the event.
795
+ # @param track_id [String] The track key that uniquely identifies the event track.
796
+ # @param update_registration_status_using_put_request [UpdateRegistrationStatusUsingPUTRequest] Registration status update request data.
797
+ # @param [Hash] opts the optional parameters
798
+ # @option opts [Boolean] :increase_count Override count flag.
799
+ # @option opts [Boolean] :increase_item_count Override item count flag.
800
+ # @option opts [Boolean] :return_items_to_inventory Return items to inventory flag. Defaults to &#x60;true&#x60;.
801
+ # @return [nil]
802
+ def update_registration_status_using_put(event_id, track_id, update_registration_status_using_put_request, opts = {})
803
+ update_registration_status_using_put_with_http_info(event_id, track_id, update_registration_status_using_put_request, opts)
804
+ nil
805
+ end
806
+
807
+ # Update status for event registrations.
808
+ # Use this endpoint to update the registration status for one or more registrations within an event track.
809
+ # @param event_id [String] The ID that uniquely identifies the event.
810
+ # @param track_id [String] The track key that uniquely identifies the event track.
811
+ # @param update_registration_status_using_put_request [UpdateRegistrationStatusUsingPUTRequest] Registration status update request data.
812
+ # @param [Hash] opts the optional parameters
813
+ # @option opts [Boolean] :increase_count Override count flag.
814
+ # @option opts [Boolean] :increase_item_count Override item count flag.
815
+ # @option opts [Boolean] :return_items_to_inventory Return items to inventory flag. Defaults to &#x60;true&#x60;.
816
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
817
+ def update_registration_status_using_put_with_http_info(event_id, track_id, update_registration_status_using_put_request, opts = {})
818
+ if @api_client.config.debugging
819
+ @api_client.config.logger.debug 'Calling API: EventsApi.update_registration_status_using_put ...'
820
+ end
821
+ # verify the required parameter 'event_id' is set
822
+ if @api_client.config.client_side_validation && event_id.nil?
823
+ fail ArgumentError, "Missing the required parameter 'event_id' when calling EventsApi.update_registration_status_using_put"
824
+ end
825
+ # verify the required parameter 'track_id' is set
826
+ if @api_client.config.client_side_validation && track_id.nil?
827
+ fail ArgumentError, "Missing the required parameter 'track_id' when calling EventsApi.update_registration_status_using_put"
828
+ end
829
+ # verify the required parameter 'update_registration_status_using_put_request' is set
830
+ if @api_client.config.client_side_validation && update_registration_status_using_put_request.nil?
831
+ fail ArgumentError, "Missing the required parameter 'update_registration_status_using_put_request' when calling EventsApi.update_registration_status_using_put"
832
+ end
833
+ # resource path
834
+ local_var_path = '/events/{event_id}/tracks/{track_id}/registrations'.sub('{' + 'event_id' + '}', CGI.escape(event_id.to_s)).sub('{' + 'track_id' + '}', CGI.escape(track_id.to_s))
835
+
836
+ # query parameters
837
+ query_params = opts[:query_params] || {}
838
+ query_params[:'increase_count'] = opts[:'increase_count'] if !opts[:'increase_count'].nil?
839
+ query_params[:'increase_item_count'] = opts[:'increase_item_count'] if !opts[:'increase_item_count'].nil?
840
+ query_params[:'return_items_to_inventory'] = opts[:'return_items_to_inventory'] if !opts[:'return_items_to_inventory'].nil?
841
+
842
+ # header parameters
843
+ header_params = opts[:header_params] || {}
844
+ # HTTP header 'Accept' (if needed)
845
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
846
+ # HTTP header 'Content-Type'
847
+ content_type = @api_client.select_header_content_type(['application/json'])
848
+ if !content_type.nil?
849
+ header_params['Content-Type'] = content_type
850
+ end
851
+
852
+ # form parameters
853
+ form_params = opts[:form_params] || {}
854
+
855
+ # http body (model)
856
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(update_registration_status_using_put_request)
857
+
858
+ # return_type
859
+ return_type = opts[:debug_return_type]
860
+
861
+ # auth_names
862
+ auth_names = opts[:debug_auth_names] || ['oauth2_access_code', 'oauth2_implicit']
863
+
864
+ new_options = opts.merge(
865
+ :operation => :"EventsApi.update_registration_status_using_put",
866
+ :header_params => header_params,
867
+ :query_params => query_params,
868
+ :form_params => form_params,
869
+ :body => post_body,
870
+ :auth_names => auth_names,
871
+ :return_type => return_type
872
+ )
873
+
874
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
875
+ if @api_client.config.debugging
876
+ @api_client.config.logger.debug "API called: EventsApi#update_registration_status_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
877
+ end
878
+ return data, status_code, headers
879
+ end
880
+ end
881
+ end