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
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #Constant Contact API v3
3
3
 
4
- #Swagger build version 3.0.2475
4
+ #Swagger build version 3.0.161
5
5
 
6
- The version of the OpenAPI document: 1.0.101
6
+ The version of the OpenAPI document: 1.0.220
7
7
  Contact: webservices@constantcontact.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.2.0
@@ -59,8 +59,6 @@ module ConstantContactClient
59
59
 
60
60
  if attributes.key?(:'_next')
61
61
  self._next = attributes[:'_next']
62
- else
63
- self._next = nil
64
62
  end
65
63
  end
66
64
 
@@ -69,10 +67,6 @@ module ConstantContactClient
69
67
  def list_invalid_properties
70
68
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
71
69
  invalid_properties = Array.new
72
- if @_next.nil?
73
- invalid_properties.push('invalid value for "_next", _next cannot be nil.')
74
- end
75
-
76
70
  invalid_properties
77
71
  end
78
72
 
@@ -80,7 +74,6 @@ module ConstantContactClient
80
74
  # @return true if the model is valid
81
75
  def valid?
82
76
  warn '[DEPRECATED] the `valid?` method is obsolete'
83
- return false if @_next.nil?
84
77
  true
85
78
  end
86
79
 
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #Constant Contact API v3
3
3
 
4
- #Swagger build version 3.0.2475
4
+ #Swagger build version 3.0.161
5
5
 
6
- The version of the OpenAPI document: 1.0.101
6
+ The version of the OpenAPI document: 1.0.220
7
7
  Contact: webservices@constantcontact.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.2.0
@@ -60,8 +60,6 @@ module ConstantContactClient
60
60
 
61
61
  if attributes.key?(:'href')
62
62
  self.href = attributes[:'href']
63
- else
64
- self.href = nil
65
63
  end
66
64
  end
67
65
 
@@ -70,10 +68,6 @@ module ConstantContactClient
70
68
  def list_invalid_properties
71
69
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
72
70
  invalid_properties = Array.new
73
- if @href.nil?
74
- invalid_properties.push('invalid value for "href", href cannot be nil.')
75
- end
76
-
77
71
  invalid_properties
78
72
  end
79
73
 
@@ -81,7 +75,6 @@ module ConstantContactClient
81
75
  # @return true if the model is valid
82
76
  def valid?
83
77
  warn '[DEPRECATED] the `valid?` method is obsolete'
84
- return false if @href.nil?
85
78
  true
86
79
  end
87
80
 
@@ -0,0 +1,214 @@
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 'date'
14
+ require 'time'
15
+
16
+ module ConstantContactClient
17
+ class ReportingsmsLinks
18
+ attr_accessor :_next
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'_next' => :'next'
24
+ }
25
+ end
26
+
27
+ # Returns all the JSON keys this model knows about
28
+ def self.acceptable_attributes
29
+ attribute_map.values
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'_next' => :'GetAllBulkSmsCampaignSummaries200ResponseLinksNext'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ if (!attributes.is_a?(Hash))
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `ConstantContactClient::ReportingsmsLinks` initialize method"
50
+ end
51
+
52
+ # check to see if the attribute exists and convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h|
54
+ if (!self.class.attribute_map.key?(k.to_sym))
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `ConstantContactClient::ReportingsmsLinks`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ end
57
+ h[k.to_sym] = v
58
+ }
59
+
60
+ if attributes.key?(:'_next')
61
+ self._next = attributes[:'_next']
62
+ end
63
+ end
64
+
65
+ # Show invalid properties with the reasons. Usually used together with valid?
66
+ # @return Array for valid properties with the reasons
67
+ def list_invalid_properties
68
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
69
+ invalid_properties = Array.new
70
+ invalid_properties
71
+ end
72
+
73
+ # Check to see if the all the properties in the model are valid
74
+ # @return true if the model is valid
75
+ def valid?
76
+ warn '[DEPRECATED] the `valid?` method is obsolete'
77
+ true
78
+ end
79
+
80
+ # Checks equality by comparing each attribute.
81
+ # @param [Object] Object to be compared
82
+ def ==(o)
83
+ return true if self.equal?(o)
84
+ self.class == o.class &&
85
+ _next == o._next
86
+ end
87
+
88
+ # @see the `==` method
89
+ # @param [Object] Object to be compared
90
+ def eql?(o)
91
+ self == o
92
+ end
93
+
94
+ # Calculates hash code according to all attributes.
95
+ # @return [Integer] Hash code
96
+ def hash
97
+ [_next].hash
98
+ end
99
+
100
+ # Builds the object from hash
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ # @return [Object] Returns the model itself
103
+ def self.build_from_hash(attributes)
104
+ return nil unless attributes.is_a?(Hash)
105
+ attributes = attributes.transform_keys(&:to_sym)
106
+ transformed_hash = {}
107
+ openapi_types.each_pair do |key, type|
108
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
109
+ transformed_hash["#{key}"] = nil
110
+ elsif type =~ /\AArray<(.*)>/i
111
+ # check to ensure the input is an array given that the attribute
112
+ # is documented as an array but the input is not
113
+ if attributes[attribute_map[key]].is_a?(Array)
114
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
115
+ end
116
+ elsif !attributes[attribute_map[key]].nil?
117
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
118
+ end
119
+ end
120
+ new(transformed_hash)
121
+ end
122
+
123
+ # Deserializes the data based on type
124
+ # @param string type Data type
125
+ # @param string value Value to be deserialized
126
+ # @return [Object] Deserialized data
127
+ def self._deserialize(type, value)
128
+ case type.to_sym
129
+ when :Time
130
+ Time.parse(value)
131
+ when :Date
132
+ Date.parse(value)
133
+ when :String
134
+ value.to_s
135
+ when :Integer
136
+ value.to_i
137
+ when :Float
138
+ value.to_f
139
+ when :Boolean
140
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
141
+ true
142
+ else
143
+ false
144
+ end
145
+ when :Object
146
+ # generic object (usually a Hash), return directly
147
+ value
148
+ when /\AArray<(?<inner_type>.+)>\z/
149
+ inner_type = Regexp.last_match[:inner_type]
150
+ value.map { |v| _deserialize(inner_type, v) }
151
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
152
+ k_type = Regexp.last_match[:k_type]
153
+ v_type = Regexp.last_match[:v_type]
154
+ {}.tap do |hash|
155
+ value.each do |k, v|
156
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
157
+ end
158
+ end
159
+ else # model
160
+ # models (e.g. Pet) or oneOf
161
+ klass = ConstantContactClient.const_get(type)
162
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
163
+ end
164
+ end
165
+
166
+ # Returns the string representation of the object
167
+ # @return [String] String presentation of the object
168
+ def to_s
169
+ to_hash.to_s
170
+ end
171
+
172
+ # to_body is an alias to to_hash (backward compatibility)
173
+ # @return [Hash] Returns the object in the form of hash
174
+ def to_body
175
+ to_hash
176
+ end
177
+
178
+ # Returns the object in the form of hash
179
+ # @return [Hash] Returns the object in the form of hash
180
+ def to_hash
181
+ hash = {}
182
+ self.class.attribute_map.each_pair do |attr, param|
183
+ value = self.send(attr)
184
+ if value.nil?
185
+ is_nullable = self.class.openapi_nullable.include?(attr)
186
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
187
+ end
188
+
189
+ hash[param] = _to_hash(value)
190
+ end
191
+ hash
192
+ end
193
+
194
+ # Outputs non-array value in the form of hash
195
+ # For object, use to_hash. Otherwise, just return the value
196
+ # @param [Object] value Any valid value
197
+ # @return [Hash] Returns the value in the form of hash
198
+ def _to_hash(value)
199
+ if value.is_a?(Array)
200
+ value.compact.map { |v| _to_hash(v) }
201
+ elsif value.is_a?(Hash)
202
+ {}.tap do |hash|
203
+ value.each { |k, v| hash[k] = _to_hash(v) }
204
+ end
205
+ elsif value.respond_to? :to_hash
206
+ value.to_hash
207
+ else
208
+ value
209
+ end
210
+ end
211
+
212
+ end
213
+
214
+ end
@@ -0,0 +1,222 @@
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 'date'
14
+ require 'time'
15
+
16
+ module ConstantContactClient
17
+ class ReportingsmsNext
18
+ # The next link in the page or null if there are no additional pages.
19
+ attr_accessor :href
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'href' => :'href'
25
+ }
26
+ end
27
+
28
+ # Returns all the JSON keys this model knows about
29
+ def self.acceptable_attributes
30
+ attribute_map.values
31
+ end
32
+
33
+ # Attribute type mapping.
34
+ def self.openapi_types
35
+ {
36
+ :'href' => :'String'
37
+ }
38
+ end
39
+
40
+ # List of attributes with nullable: true
41
+ def self.openapi_nullable
42
+ Set.new([
43
+ ])
44
+ end
45
+
46
+ # Initializes the object
47
+ # @param [Hash] attributes Model attributes in the form of hash
48
+ def initialize(attributes = {})
49
+ if (!attributes.is_a?(Hash))
50
+ fail ArgumentError, "The input argument (attributes) must be a hash in `ConstantContactClient::ReportingsmsNext` initialize method"
51
+ end
52
+
53
+ # check to see if the attribute exists and convert string to symbol for hash key
54
+ attributes = attributes.each_with_object({}) { |(k, v), h|
55
+ if (!self.class.attribute_map.key?(k.to_sym))
56
+ fail ArgumentError, "`#{k}` is not a valid attribute in `ConstantContactClient::ReportingsmsNext`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
57
+ end
58
+ h[k.to_sym] = v
59
+ }
60
+
61
+ if attributes.key?(:'href')
62
+ self.href = attributes[:'href']
63
+ else
64
+ self.href = nil
65
+ end
66
+ end
67
+
68
+ # Show invalid properties with the reasons. Usually used together with valid?
69
+ # @return Array for valid properties with the reasons
70
+ def list_invalid_properties
71
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
72
+ invalid_properties = Array.new
73
+ if @href.nil?
74
+ invalid_properties.push('invalid value for "href", href cannot be nil.')
75
+ end
76
+
77
+ invalid_properties
78
+ end
79
+
80
+ # Check to see if the all the properties in the model are valid
81
+ # @return true if the model is valid
82
+ def valid?
83
+ warn '[DEPRECATED] the `valid?` method is obsolete'
84
+ return false if @href.nil?
85
+ true
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ href == o.href
94
+ end
95
+
96
+ # @see the `==` method
97
+ # @param [Object] Object to be compared
98
+ def eql?(o)
99
+ self == o
100
+ end
101
+
102
+ # Calculates hash code according to all attributes.
103
+ # @return [Integer] Hash code
104
+ def hash
105
+ [href].hash
106
+ end
107
+
108
+ # Builds the object from hash
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ # @return [Object] Returns the model itself
111
+ def self.build_from_hash(attributes)
112
+ return nil unless attributes.is_a?(Hash)
113
+ attributes = attributes.transform_keys(&:to_sym)
114
+ transformed_hash = {}
115
+ openapi_types.each_pair do |key, type|
116
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
117
+ transformed_hash["#{key}"] = nil
118
+ elsif type =~ /\AArray<(.*)>/i
119
+ # check to ensure the input is an array given that the attribute
120
+ # is documented as an array but the input is not
121
+ if attributes[attribute_map[key]].is_a?(Array)
122
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
123
+ end
124
+ elsif !attributes[attribute_map[key]].nil?
125
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
126
+ end
127
+ end
128
+ new(transformed_hash)
129
+ end
130
+
131
+ # Deserializes the data based on type
132
+ # @param string type Data type
133
+ # @param string value Value to be deserialized
134
+ # @return [Object] Deserialized data
135
+ def self._deserialize(type, value)
136
+ case type.to_sym
137
+ when :Time
138
+ Time.parse(value)
139
+ when :Date
140
+ Date.parse(value)
141
+ when :String
142
+ value.to_s
143
+ when :Integer
144
+ value.to_i
145
+ when :Float
146
+ value.to_f
147
+ when :Boolean
148
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
149
+ true
150
+ else
151
+ false
152
+ end
153
+ when :Object
154
+ # generic object (usually a Hash), return directly
155
+ value
156
+ when /\AArray<(?<inner_type>.+)>\z/
157
+ inner_type = Regexp.last_match[:inner_type]
158
+ value.map { |v| _deserialize(inner_type, v) }
159
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
160
+ k_type = Regexp.last_match[:k_type]
161
+ v_type = Regexp.last_match[:v_type]
162
+ {}.tap do |hash|
163
+ value.each do |k, v|
164
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
165
+ end
166
+ end
167
+ else # model
168
+ # models (e.g. Pet) or oneOf
169
+ klass = ConstantContactClient.const_get(type)
170
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
171
+ end
172
+ end
173
+
174
+ # Returns the string representation of the object
175
+ # @return [String] String presentation of the object
176
+ def to_s
177
+ to_hash.to_s
178
+ end
179
+
180
+ # to_body is an alias to to_hash (backward compatibility)
181
+ # @return [Hash] Returns the object in the form of hash
182
+ def to_body
183
+ to_hash
184
+ end
185
+
186
+ # Returns the object in the form of hash
187
+ # @return [Hash] Returns the object in the form of hash
188
+ def to_hash
189
+ hash = {}
190
+ self.class.attribute_map.each_pair do |attr, param|
191
+ value = self.send(attr)
192
+ if value.nil?
193
+ is_nullable = self.class.openapi_nullable.include?(attr)
194
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
195
+ end
196
+
197
+ hash[param] = _to_hash(value)
198
+ end
199
+ hash
200
+ end
201
+
202
+ # Outputs non-array value in the form of hash
203
+ # For object, use to_hash. Otherwise, just return the value
204
+ # @param [Object] value Any valid value
205
+ # @return [Hash] Returns the value in the form of hash
206
+ def _to_hash(value)
207
+ if value.is_a?(Array)
208
+ value.compact.map { |v| _to_hash(v) }
209
+ elsif value.is_a?(Hash)
210
+ {}.tap do |hash|
211
+ value.each { |k, v| hash[k] = _to_hash(v) }
212
+ end
213
+ elsif value.respond_to? :to_hash
214
+ value.to_hash
215
+ else
216
+ value
217
+ end
218
+ end
219
+
220
+ end
221
+
222
+ end
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #Constant Contact API v3
3
3
 
4
- #Swagger build version 3.0.2475
4
+ #Swagger build version 3.0.161
5
5
 
6
- The version of the OpenAPI document: 1.0.101
6
+ The version of the OpenAPI document: 1.0.220
7
7
  Contact: webservices@constantcontact.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.2.0
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #Constant Contact API v3
3
3
 
4
- #Swagger build version 3.0.2475
4
+ #Swagger build version 3.0.161
5
5
 
6
- The version of the OpenAPI document: 1.0.101
6
+ The version of the OpenAPI document: 1.0.220
7
7
  Contact: webservices@constantcontact.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.2.0