hubspot-api-client 18.0.0 → 19.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (844) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +218 -53
  3. data/Gemfile.lock +1 -1
  4. data/lib/hubspot/codegen/cms/blogs/blog_posts/api/blog_posts_api.rb +2 -2
  5. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/attach_to_lang_primary_request_v_next.rb +34 -0
  6. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/blog_post.rb +21 -21
  7. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/breakpoint_styles.rb +258 -0
  8. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_language_variation.rb +15 -1
  9. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/styles.rb +12 -1
  10. data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +52 -31
  11. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +36 -36
  12. data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +55 -40
  13. data/lib/hubspot/codegen/cms/hubdb/api_client.rb +1 -1
  14. data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
  15. data/lib/hubspot/codegen/cms/hubdb/configuration.rb +1 -1
  16. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_batch_clone_request.rb +230 -0
  17. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_batch_update_request.rb +1 -1
  18. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_request.rb +1 -1
  19. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +1 -1
  20. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +1 -1
  21. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +1 -1
  22. data/lib/hubspot/codegen/cms/hubdb/models/bounded_next_page.rb +237 -0
  23. data/lib/hubspot/codegen/cms/hubdb/models/bounded_paging.rb +223 -0
  24. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +1 -1
  25. data/lib/hubspot/codegen/cms/hubdb/models/column.rb +61 -7
  26. data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +3 -3
  27. data/lib/hubspot/codegen/cms/hubdb/models/error.rb +1 -1
  28. data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +1 -1
  29. data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +1 -1
  30. data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +1 -1
  31. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +16 -2
  32. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_batch_clone_request.rb +237 -0
  33. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +1 -1
  34. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_batch_update_request.rb +1 -1
  35. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +1 -1
  36. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +2 -2
  37. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_request.rb +2 -2
  38. data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +1 -1
  39. data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +1 -1
  40. data/lib/hubspot/codegen/cms/hubdb/models/option.rb +69 -5
  41. data/lib/hubspot/codegen/cms/hubdb/models/paging.rb +232 -0
  42. data/lib/hubspot/codegen/cms/hubdb/models/previous_page.rb +237 -0
  43. data/lib/hubspot/codegen/{crm/lists/models/public_unified_events_in_list_filter.rb → cms/hubdb/models/random_access_collection_response_with_total_hub_db_table_row_v3.rb} +54 -61
  44. data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +1 -1
  45. data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +1 -1
  46. data/lib/hubspot/codegen/cms/hubdb/models/streaming_collection_response_with_total_hub_db_table_row_v3.rb +303 -0
  47. data/lib/hubspot/codegen/cms/hubdb/models/unified_collection_response_with_total_base_hub_db_table_row_v3.rb +108 -0
  48. data/lib/hubspot/codegen/cms/source_code/api/content_api.rb +5 -5
  49. data/lib/hubspot/codegen/cms/source_code/api/extract_api.rb +89 -26
  50. data/lib/hubspot/codegen/cms/source_code/api/metadata_api.rb +1 -1
  51. data/lib/hubspot/codegen/cms/source_code/api/validation_api.rb +3 -3
  52. data/lib/hubspot/codegen/cms/source_code/api_client.rb +1 -1
  53. data/lib/hubspot/codegen/cms/source_code/api_error.rb +1 -1
  54. data/lib/hubspot/codegen/cms/source_code/configuration.rb +1 -1
  55. data/lib/hubspot/codegen/cms/source_code/models/action_response.rb +1 -1
  56. data/lib/hubspot/codegen/cms/source_code/models/asset_file_metadata.rb +1 -1
  57. data/lib/hubspot/codegen/cms/source_code/models/error.rb +1 -1
  58. data/lib/hubspot/codegen/cms/source_code/models/error_detail.rb +1 -1
  59. data/lib/hubspot/codegen/cms/source_code/models/file_extract_request.rb +1 -1
  60. data/lib/hubspot/codegen/cms/source_code/models/task_locator.rb +1 -1
  61. data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +2 -2
  62. data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +2 -2
  63. data/lib/hubspot/codegen/communication_preferences/api_client.rb +2 -2
  64. data/lib/hubspot/codegen/communication_preferences/api_error.rb +2 -2
  65. data/lib/hubspot/codegen/communication_preferences/configuration.rb +2 -2
  66. data/lib/hubspot/codegen/communication_preferences/models/error.rb +2 -2
  67. data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +2 -2
  68. data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +2 -2
  69. data/lib/hubspot/codegen/communication_preferences/models/public_subscription_statuses_response.rb +2 -2
  70. data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +2 -2
  71. data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +12 -3
  72. data/lib/hubspot/codegen/communication_preferences/models/subscription_definitions_response.rb +2 -2
  73. data/lib/hubspot/codegen/conversations/visitor_identification/api/generate_api.rb +1 -1
  74. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +6 -6
  75. data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +70 -2
  76. data/lib/hubspot/codegen/crm/companies/api/{public_object_api.rb → merge_api.rb} +5 -5
  77. data/lib/hubspot/codegen/crm/companies/models/association_spec.rb +0 -10
  78. data/lib/hubspot/codegen/crm/companies/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +15 -22
  79. data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_upsert_object.rb +326 -0
  80. data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  81. data/lib/hubspot/codegen/crm/companies/models/public_associations_for_object.rb +0 -10
  82. data/lib/hubspot/codegen/crm/companies/models/public_object_id.rb +0 -5
  83. data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +0 -25
  84. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +10 -1
  85. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_upsert.rb +262 -0
  86. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +10 -1
  87. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +10 -6
  88. data/lib/hubspot/codegen/crm/companies/models/simple_public_upsert_object.rb +315 -0
  89. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +2 -2
  90. data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +70 -2
  91. data/lib/hubspot/codegen/crm/contacts/api/{public_object_api.rb → merge_api.rb} +5 -5
  92. data/lib/hubspot/codegen/crm/contacts/models/association_spec.rb +0 -10
  93. data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  94. data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_upsert_object.rb +326 -0
  95. data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  96. data/lib/hubspot/codegen/crm/contacts/models/public_associations_for_object.rb +0 -10
  97. data/lib/hubspot/codegen/crm/contacts/models/public_object_id.rb +0 -5
  98. data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +0 -25
  99. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +10 -1
  100. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_upsert.rb +262 -0
  101. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +10 -1
  102. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input_for_create.rb +10 -6
  103. data/lib/hubspot/codegen/crm/contacts/models/simple_public_upsert_object.rb +315 -0
  104. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +6 -6
  105. data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +70 -2
  106. data/lib/hubspot/codegen/crm/deals/api/{public_object_api.rb → merge_api.rb} +7 -7
  107. data/lib/hubspot/codegen/crm/deals/models/association_spec.rb +0 -10
  108. data/lib/hubspot/codegen/crm/deals/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +15 -22
  109. data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_upsert_object.rb +326 -0
  110. data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  111. data/lib/hubspot/codegen/crm/deals/models/public_associations_for_object.rb +0 -10
  112. data/lib/hubspot/codegen/crm/deals/models/public_object_id.rb +0 -5
  113. data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +0 -25
  114. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +10 -1
  115. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input_upsert.rb +262 -0
  116. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +10 -1
  117. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input_for_create.rb +10 -6
  118. data/lib/hubspot/codegen/crm/deals/models/simple_public_upsert_object.rb +315 -0
  119. data/lib/hubspot/codegen/crm/extensions/calling/api/recording_settings_api.rb +88 -8
  120. data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +14 -14
  121. data/lib/hubspot/codegen/crm/extensions/calling/api_client.rb +2 -2
  122. data/lib/hubspot/codegen/crm/extensions/calling/api_error.rb +2 -2
  123. data/lib/hubspot/codegen/crm/extensions/calling/configuration.rb +9 -2
  124. data/lib/hubspot/codegen/crm/extensions/calling/models/error.rb +2 -2
  125. data/lib/hubspot/codegen/crm/extensions/calling/models/error_detail.rb +2 -2
  126. data/lib/hubspot/codegen/crm/extensions/calling/models/mark_recording_as_ready_request.rb +230 -0
  127. data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_patch_request.rb +2 -2
  128. data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_request.rb +2 -2
  129. data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_response.rb +2 -2
  130. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +15 -6
  131. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +15 -6
  132. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +20 -6
  133. data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +70 -2
  134. data/lib/hubspot/codegen/crm/line_items/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +15 -22
  135. data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_upsert_object.rb +326 -0
  136. data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  137. data/lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb +0 -25
  138. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +5 -0
  139. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +15 -1
  140. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_upsert.rb +262 -0
  141. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +15 -1
  142. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +15 -1
  143. data/lib/hubspot/codegen/crm/line_items/models/simple_public_upsert_object.rb +315 -0
  144. data/lib/hubspot/codegen/crm/lists/api/folders_api.rb +420 -0
  145. data/lib/hubspot/codegen/crm/lists/api/lists_api.rb +15 -15
  146. data/lib/hubspot/codegen/crm/lists/api/mapping_api.rb +154 -0
  147. data/lib/hubspot/codegen/crm/lists/api/memberships_api.rb +169 -28
  148. data/lib/hubspot/codegen/crm/lists/api_client.rb +1 -1
  149. data/lib/hubspot/codegen/crm/lists/api_error.rb +1 -1
  150. data/lib/hubspot/codegen/crm/lists/configuration.rb +1 -1
  151. data/lib/hubspot/codegen/crm/lists/models/{collection_response_long.rb → api_collection_response_join_time_and_record_id.rb} +15 -7
  152. data/lib/hubspot/codegen/crm/lists/models/api_collection_response_record_list_membership_no_paging.rb +239 -0
  153. data/lib/hubspot/codegen/crm/lists/models/error.rb +1 -1
  154. data/lib/hubspot/codegen/crm/lists/models/error_detail.rb +1 -1
  155. data/lib/hubspot/codegen/crm/{products/models/public_merge_input.rb → lists/models/join_time_and_record_id.rb} +25 -25
  156. data/lib/hubspot/codegen/crm/lists/models/list_create_request.rb +14 -2
  157. data/lib/hubspot/codegen/crm/lists/models/list_create_response.rb +1 -1
  158. data/lib/hubspot/codegen/crm/lists/models/list_fetch_response.rb +1 -1
  159. data/lib/hubspot/codegen/crm/lists/models/list_filter_update_request.rb +1 -1
  160. data/lib/hubspot/codegen/crm/lists/models/list_folder_create_request.rb +239 -0
  161. data/lib/hubspot/codegen/crm/{products/models/public_gdpr_delete_input.rb → lists/models/list_folder_create_response.rb} +16 -25
  162. data/lib/hubspot/codegen/crm/{tickets/models/public_gdpr_delete_input.rb → lists/models/list_folder_fetch_response.rb} +16 -25
  163. data/lib/hubspot/codegen/crm/lists/models/list_move_request.rb +244 -0
  164. data/lib/hubspot/codegen/crm/lists/models/list_search_request.rb +38 -15
  165. data/lib/hubspot/codegen/crm/lists/models/list_search_response.rb +1 -1
  166. data/lib/hubspot/codegen/crm/lists/models/list_update_response.rb +1 -1
  167. data/lib/hubspot/codegen/crm/lists/models/lists_by_id_response.rb +1 -1
  168. data/lib/hubspot/codegen/crm/lists/models/membership_change_request.rb +3 -3
  169. data/lib/hubspot/codegen/crm/lists/models/memberships_update_response.rb +4 -4
  170. data/lib/hubspot/codegen/crm/lists/models/next_page.rb +1 -1
  171. data/lib/hubspot/codegen/crm/lists/models/paging.rb +1 -1
  172. data/lib/hubspot/codegen/crm/lists/models/previous_page.rb +1 -1
  173. data/lib/hubspot/codegen/crm/lists/models/public_absolute_comparative_timestamp_refine_by.rb +16 -16
  174. data/lib/hubspot/codegen/crm/lists/models/public_absolute_ranged_timestamp_refine_by.rb +28 -28
  175. data/lib/hubspot/codegen/crm/lists/models/public_ads_search_filter.rb +39 -39
  176. data/lib/hubspot/codegen/crm/lists/models/public_ads_time_filter.rb +19 -19
  177. data/lib/hubspot/codegen/crm/lists/models/public_all_history_refine_by.rb +1 -1
  178. data/lib/hubspot/codegen/crm/lists/models/public_all_property_types_operation.rb +19 -19
  179. data/lib/hubspot/codegen/crm/lists/models/public_and_filter_branch.rb +19 -19
  180. data/lib/hubspot/codegen/crm/lists/models/public_association_filter_branch.rb +36 -36
  181. data/lib/hubspot/codegen/crm/lists/models/public_association_in_list_filter.rb +55 -55
  182. data/lib/hubspot/codegen/crm/{quotes/models/public_merge_input.rb → lists/models/public_batch_migration_mapping.rb} +30 -25
  183. data/lib/hubspot/codegen/crm/lists/models/public_bool_property_operation.rb +33 -33
  184. data/lib/hubspot/codegen/crm/lists/models/public_calendar_date_property_operation.rb +54 -54
  185. data/lib/hubspot/codegen/crm/lists/models/public_campaign_influenced_filter.rb +19 -19
  186. data/lib/hubspot/codegen/crm/lists/models/public_communication_subscription_filter.rb +31 -31
  187. data/lib/hubspot/codegen/crm/lists/models/public_comparative_date_property_operation.rb +35 -35
  188. data/lib/hubspot/codegen/crm/lists/models/public_comparative_property_updated_operation.rb +35 -35
  189. data/lib/hubspot/codegen/crm/lists/models/public_constant_filter.rb +21 -21
  190. data/lib/hubspot/codegen/crm/lists/models/public_cta_analytics_filter.rb +28 -28
  191. data/lib/hubspot/codegen/crm/lists/models/public_date_point.rb +56 -56
  192. data/lib/hubspot/codegen/crm/lists/models/public_date_property_operation.rb +45 -45
  193. data/lib/hubspot/codegen/crm/lists/models/public_date_time_property_operation.rb +30 -30
  194. data/lib/hubspot/codegen/crm/lists/models/public_email_event_filter.rb +44 -44
  195. data/lib/hubspot/codegen/crm/lists/models/public_email_subscription_filter.rb +27 -27
  196. data/lib/hubspot/codegen/crm/lists/models/public_enumeration_property_operation.rb +35 -35
  197. data/lib/hubspot/codegen/crm/lists/models/public_event_analytics_filter.rb +28 -28
  198. data/lib/hubspot/codegen/crm/lists/models/public_event_filter_metadata.rb +2 -2
  199. data/lib/hubspot/codegen/crm/lists/models/public_fiscal_quarter_reference.rb +42 -42
  200. data/lib/hubspot/codegen/crm/lists/models/public_fiscal_year_reference.rb +42 -42
  201. data/lib/hubspot/codegen/crm/lists/models/public_form_submission_filter.rb +20 -20
  202. data/lib/hubspot/codegen/crm/lists/models/{public_event_analytics_filter_coalescing_refine_by.rb → public_form_submission_filter_coalescing_refine_by.rb} +1 -1
  203. data/lib/hubspot/codegen/crm/lists/models/public_form_submission_on_page_filter.rb +37 -37
  204. data/lib/hubspot/codegen/crm/lists/models/public_in_list_filter.rb +19 -19
  205. data/lib/hubspot/codegen/crm/lists/models/public_in_list_filter_metadata.rb +1 -1
  206. data/lib/hubspot/codegen/crm/lists/models/public_index_offset.rb +44 -44
  207. data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point.rb +30 -30
  208. data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point_index_reference.rb +1 -1
  209. data/lib/hubspot/codegen/crm/lists/models/public_integration_event_filter.rb +22 -22
  210. data/lib/hubspot/codegen/crm/lists/models/public_list_folder.rb +327 -0
  211. data/lib/hubspot/codegen/crm/lists/models/public_migration_mapping.rb +244 -0
  212. data/lib/hubspot/codegen/crm/lists/models/public_month_reference.rb +29 -29
  213. data/lib/hubspot/codegen/crm/lists/models/public_multi_string_property_operation.rb +35 -35
  214. data/lib/hubspot/codegen/crm/lists/models/public_not_all_filter_branch.rb +16 -16
  215. data/lib/hubspot/codegen/crm/lists/models/public_not_any_filter_branch.rb +16 -16
  216. data/lib/hubspot/codegen/crm/lists/models/public_now_reference.rb +23 -23
  217. data/lib/hubspot/codegen/crm/lists/models/public_num_associations_filter.rb +23 -23
  218. data/lib/hubspot/codegen/crm/lists/models/public_num_occurrences_refine_by.rb +14 -14
  219. data/lib/hubspot/codegen/crm/lists/models/public_number_property_operation.rb +33 -33
  220. data/lib/hubspot/codegen/crm/lists/models/public_object_list.rb +14 -5
  221. data/lib/hubspot/codegen/crm/lists/models/public_object_list_search_result.rb +4 -4
  222. data/lib/hubspot/codegen/crm/lists/models/public_or_filter_branch.rb +19 -19
  223. data/lib/hubspot/codegen/crm/lists/models/public_page_view_analytics_filter.rb +37 -37
  224. data/lib/hubspot/codegen/crm/lists/models/public_privacy_analytics_filter.rb +16 -16
  225. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch.rb +42 -42
  226. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filter_branches_inner.rb +1 -1
  227. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filters_inner.rb +1 -2
  228. data/lib/hubspot/codegen/crm/lists/models/public_property_association_in_list_filter.rb +39 -39
  229. data/lib/hubspot/codegen/crm/lists/models/public_property_filter.rb +17 -17
  230. data/lib/hubspot/codegen/crm/lists/models/public_property_referenced_time.rb +25 -25
  231. data/lib/hubspot/codegen/crm/lists/models/public_quarter_reference.rb +42 -42
  232. data/lib/hubspot/codegen/crm/lists/models/public_ranged_date_property_operation.rb +42 -42
  233. data/lib/hubspot/codegen/crm/lists/models/public_ranged_number_property_operation.rb +36 -36
  234. data/lib/hubspot/codegen/crm/lists/models/public_ranged_time_operation.rb +67 -67
  235. data/lib/hubspot/codegen/crm/lists/models/public_relative_comparative_timestamp_refine_by.rb +22 -22
  236. data/lib/hubspot/codegen/crm/lists/models/public_relative_ranged_timestamp_refine_by.rb +31 -31
  237. data/lib/hubspot/codegen/crm/lists/models/public_restricted_filter_branch.rb +16 -16
  238. data/lib/hubspot/codegen/crm/lists/models/public_rolling_date_range_property_operation.rb +36 -36
  239. data/lib/hubspot/codegen/crm/lists/models/public_rolling_property_updated_operation.rb +33 -33
  240. data/lib/hubspot/codegen/crm/lists/models/public_set_occurrences_refine_by.rb +1 -1
  241. data/lib/hubspot/codegen/crm/lists/models/public_string_property_operation.rb +33 -33
  242. data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_filter.rb +16 -16
  243. data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_value_filter.rb +26 -26
  244. data/lib/hubspot/codegen/crm/lists/models/{public_property_filter_operation.rb → public_survey_monkey_value_filter_value_comparison.rb} +1 -1
  245. data/lib/hubspot/codegen/crm/lists/models/public_time_offset.rb +19 -19
  246. data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation.rb +47 -47
  247. data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation_time_point.rb +1 -1
  248. data/lib/hubspot/codegen/crm/lists/models/public_today_reference.rb +23 -23
  249. data/lib/hubspot/codegen/crm/lists/models/public_unified_events_filter.rb +31 -31
  250. data/lib/hubspot/codegen/crm/lists/models/public_unified_events_filter_branch.rb +41 -32
  251. data/lib/hubspot/codegen/crm/lists/models/public_webinar_filter.rb +14 -14
  252. data/lib/hubspot/codegen/crm/lists/models/public_week_reference.rb +48 -48
  253. data/lib/hubspot/codegen/crm/lists/models/public_year_reference.rb +42 -42
  254. data/lib/hubspot/codegen/crm/lists/models/record_list_membership.rb +270 -0
  255. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +7 -7
  256. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +75 -1
  257. data/lib/hubspot/codegen/crm/objects/api/search_api.rb +1 -1
  258. data/lib/hubspot/codegen/crm/objects/api_client.rb +1 -1
  259. data/lib/hubspot/codegen/crm/objects/api_error.rb +1 -1
  260. data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +70 -2
  261. data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  262. data/lib/hubspot/codegen/crm/{extensions/accounting/models/result_id_accounting_response.rb → objects/calls/models/batch_response_simple_public_upsert_object.rb} +85 -38
  263. data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  264. data/lib/hubspot/codegen/crm/objects/calls/models/public_object_search_request.rb +0 -25
  265. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +10 -1
  266. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input_upsert.rb +264 -0
  267. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +10 -1
  268. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +10 -1
  269. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_upsert_object.rb +317 -0
  270. data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +70 -2
  271. data/lib/hubspot/codegen/crm/objects/communications/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  272. data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_upsert_object.rb +328 -0
  273. data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  274. data/lib/hubspot/codegen/crm/objects/communications/models/public_object_search_request.rb +0 -25
  275. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input.rb +10 -1
  276. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_upsert.rb +264 -0
  277. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input.rb +10 -1
  278. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +10 -1
  279. data/lib/hubspot/codegen/crm/{extensions/accounting/models/updated_product.rb → objects/communications/models/simple_public_upsert_object.rb} +67 -88
  280. data/lib/hubspot/codegen/crm/objects/configuration.rb +1 -1
  281. data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +70 -2
  282. data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  283. data/lib/hubspot/codegen/crm/{extensions/accounting/models/customer_search_response_external.rb → objects/emails/models/batch_response_simple_public_upsert_object.rb} +84 -39
  284. data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  285. data/lib/hubspot/codegen/crm/objects/emails/models/public_object_search_request.rb +0 -25
  286. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +10 -1
  287. data/lib/hubspot/codegen/crm/objects/emails/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
  288. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +10 -1
  289. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +10 -1
  290. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_upsert_object.rb +317 -0
  291. data/lib/hubspot/codegen/crm/objects/goals/api/basic_api.rb +4 -212
  292. data/lib/hubspot/codegen/crm/objects/goals/api/batch_api.rb +1 -199
  293. data/lib/hubspot/codegen/crm/objects/goals/api/search_api.rb +1 -1
  294. data/lib/hubspot/codegen/crm/objects/goals/models/public_object_search_request.rb +0 -25
  295. data/lib/hubspot/codegen/crm/objects/leads/api/basic_api.rb +391 -0
  296. data/lib/hubspot/codegen/crm/objects/leads/api/batch_api.rb +363 -0
  297. data/lib/hubspot/codegen/crm/objects/{postal_mail/api/public_object_api.rb → leads/api/search_api.rb} +19 -21
  298. data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/api_client.rb +5 -5
  299. data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/api_error.rb +4 -4
  300. data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/configuration.rb +4 -4
  301. data/lib/hubspot/codegen/crm/objects/leads/models/associated_id.rb +244 -0
  302. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/association_spec.rb +5 -5
  303. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/batch_input_simple_public_object_batch_input.rb +5 -5
  304. data/lib/hubspot/codegen/crm/objects/leads/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  305. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/batch_input_simple_public_object_id.rb +5 -5
  306. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/batch_input_simple_public_object_input_for_create.rb +5 -5
  307. data/lib/hubspot/codegen/crm/objects/leads/models/batch_read_input_simple_public_object_id.rb +273 -0
  308. data/lib/hubspot/codegen/crm/{extensions/accounting/models/action_response.rb → objects/leads/models/batch_response_simple_public_object.rb} +49 -33
  309. data/lib/hubspot/codegen/crm/{extensions/accounting/models/exchange_rate_response.rb → objects/leads/models/batch_response_simple_public_object_with_errors.rb} +95 -58
  310. data/lib/hubspot/codegen/crm/objects/leads/models/batch_response_simple_public_upsert_object.rb +328 -0
  311. data/lib/hubspot/codegen/crm/objects/leads/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  312. data/lib/hubspot/codegen/crm/objects/{communications/models/public_gdpr_delete_input.rb → leads/models/collection_response_associated_id.rb} +24 -22
  313. data/lib/hubspot/codegen/crm/objects/{calls/models/public_gdpr_delete_input.rb → leads/models/collection_response_simple_public_object_with_associations_forward_paging.rb} +24 -22
  314. data/lib/hubspot/codegen/crm/objects/{calls/models/public_merge_input.rb → leads/models/collection_response_with_total_simple_public_object_forward_paging.rb} +36 -25
  315. data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/models/error.rb +57 -57
  316. data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/models/error_detail.rb +35 -35
  317. data/lib/hubspot/codegen/crm/{extensions/accounting/models/invoice_pdf_response.rb → objects/leads/models/filter.rb} +65 -54
  318. data/lib/hubspot/codegen/crm/objects/leads/models/filter_group.rb +232 -0
  319. data/lib/hubspot/codegen/crm/objects/leads/models/forward_paging.rb +225 -0
  320. data/lib/hubspot/codegen/crm/objects/leads/models/next_page.rb +239 -0
  321. data/lib/hubspot/codegen/crm/objects/leads/models/paging.rb +234 -0
  322. data/lib/hubspot/codegen/crm/objects/leads/models/previous_page.rb +239 -0
  323. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/public_associations_for_object.rb +5 -5
  324. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/public_object_id.rb +5 -5
  325. data/lib/hubspot/codegen/crm/objects/{communications/models/public_merge_input.rb → leads/models/public_object_search_request.rb} +61 -29
  326. data/lib/hubspot/codegen/crm/{extensions/accounting/models/accounting_extension_customer.rb → objects/leads/models/simple_public_object.rb} +68 -41
  327. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_batch_input.rb +15 -6
  328. data/lib/hubspot/codegen/crm/objects/{goals/models/public_gdpr_delete_input.rb → leads/models/simple_public_object_batch_input_upsert.rb} +41 -16
  329. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_id.rb +230 -0
  330. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_input.rb +15 -6
  331. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_input_for_create.rb +15 -6
  332. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_with_associations.rb +314 -0
  333. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_upsert_object.rb +317 -0
  334. data/lib/hubspot/codegen/crm/objects/leads/models/standard_error.rb +324 -0
  335. data/lib/hubspot/codegen/crm/objects/leads/models/value_with_timestamp.rb +285 -0
  336. data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +70 -2
  337. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  338. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_upsert_object.rb +328 -0
  339. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  340. data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_search_request.rb +0 -25
  341. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +10 -1
  342. data/lib/hubspot/codegen/crm/objects/meetings/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
  343. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +10 -1
  344. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +10 -1
  345. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_upsert_object.rb +317 -0
  346. data/lib/hubspot/codegen/crm/objects/models/associated_id.rb +1 -1
  347. data/lib/hubspot/codegen/crm/objects/models/association_spec.rb +1 -1
  348. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +1 -1
  349. data/lib/hubspot/codegen/crm/objects/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +16 -23
  350. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +1 -1
  351. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_input_for_create.rb +1 -1
  352. data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +2 -1
  353. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +1 -1
  354. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +1 -1
  355. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object.rb +326 -0
  356. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  357. data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +1 -1
  358. data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_with_associations_forward_paging.rb +1 -1
  359. data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object_forward_paging.rb +1 -1
  360. data/lib/hubspot/codegen/crm/objects/models/error.rb +1 -1
  361. data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +1 -1
  362. data/lib/hubspot/codegen/crm/objects/models/filter.rb +1 -1
  363. data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +1 -1
  364. data/lib/hubspot/codegen/crm/objects/models/forward_paging.rb +1 -1
  365. data/lib/hubspot/codegen/crm/objects/models/next_page.rb +1 -1
  366. data/lib/hubspot/codegen/crm/objects/models/paging.rb +1 -1
  367. data/lib/hubspot/codegen/crm/objects/models/previous_page.rb +1 -1
  368. data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +1 -1
  369. data/lib/hubspot/codegen/crm/objects/models/public_object_id.rb +1 -1
  370. data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +1 -26
  371. data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +1 -1
  372. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +12 -3
  373. data/lib/hubspot/codegen/crm/objects/models/{public_merge_input.rb → simple_public_object_batch_input_upsert.rb} +44 -23
  374. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +1 -1
  375. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +11 -2
  376. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +11 -2
  377. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +1 -1
  378. data/lib/hubspot/codegen/crm/objects/models/simple_public_upsert_object.rb +315 -0
  379. data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +1 -1
  380. data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +1 -1
  381. data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +70 -2
  382. data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  383. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_upsert_object.rb +328 -0
  384. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  385. data/lib/hubspot/codegen/crm/objects/notes/models/public_object_search_request.rb +0 -25
  386. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +10 -1
  387. data/lib/hubspot/codegen/crm/objects/notes/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
  388. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +10 -1
  389. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +10 -1
  390. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_upsert_object.rb +317 -0
  391. data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +70 -2
  392. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  393. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_response_simple_public_upsert_object.rb +328 -0
  394. data/lib/hubspot/codegen/crm/{extensions/accounting/models/accounting_extension_invoice.rb → objects/postal_mail/models/batch_response_simple_public_upsert_object_with_errors.rb} +68 -91
  395. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_object_search_request.rb +0 -25
  396. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input.rb +10 -1
  397. data/lib/hubspot/codegen/crm/objects/postal_mail/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
  398. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input.rb +10 -1
  399. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +10 -1
  400. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_upsert_object.rb +317 -0
  401. data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +70 -2
  402. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  403. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_upsert_object.rb +328 -0
  404. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  405. data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_search_request.rb +0 -25
  406. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +10 -1
  407. data/lib/hubspot/codegen/crm/objects/tasks/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
  408. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +10 -1
  409. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +10 -1
  410. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_upsert_object.rb +317 -0
  411. data/lib/hubspot/codegen/crm/objects/taxes/api/batch_api.rb +70 -2
  412. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  413. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_response_simple_public_upsert_object.rb +328 -0
  414. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  415. data/lib/hubspot/codegen/crm/objects/taxes/models/public_object_search_request.rb +0 -25
  416. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input.rb +10 -1
  417. data/lib/hubspot/codegen/crm/objects/taxes/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
  418. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input.rb +10 -1
  419. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input_for_create.rb +10 -1
  420. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_upsert_object.rb +317 -0
  421. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +1 -1
  422. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +1 -1
  423. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +1 -1
  424. data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +1 -1
  425. data/lib/hubspot/codegen/crm/pipelines/api_client.rb +1 -1
  426. data/lib/hubspot/codegen/crm/pipelines/api_error.rb +1 -1
  427. data/lib/hubspot/codegen/crm/pipelines/configuration.rb +1 -1
  428. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_no_paging.rb +1 -1
  429. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_stage_no_paging.rb +1 -1
  430. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_public_audit_info_no_paging.rb +1 -1
  431. data/lib/hubspot/codegen/crm/pipelines/models/error.rb +1 -1
  432. data/lib/hubspot/codegen/crm/pipelines/models/error_detail.rb +1 -1
  433. data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +1 -1
  434. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +1 -1
  435. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb +1 -1
  436. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +1 -6
  437. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +1 -6
  438. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +1 -6
  439. data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +1 -1
  440. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +6 -6
  441. data/lib/hubspot/codegen/crm/products/api/batch_api.rb +70 -2
  442. data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  443. data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +1 -0
  444. data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_upsert_object.rb +326 -0
  445. data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  446. data/lib/hubspot/codegen/crm/products/models/public_object_search_request.rb +0 -25
  447. data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +5 -0
  448. data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +22 -1
  449. data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input_upsert.rb +263 -0
  450. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +15 -2
  451. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input_for_create.rb +10 -2
  452. data/lib/hubspot/codegen/crm/products/models/simple_public_upsert_object.rb +315 -0
  453. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +70 -2
  454. data/lib/hubspot/codegen/crm/quotes/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +15 -22
  455. data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_upsert_object.rb +326 -0
  456. data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  457. data/lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb +0 -25
  458. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +10 -1
  459. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_upsert.rb +262 -0
  460. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +10 -1
  461. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +10 -1
  462. data/lib/hubspot/codegen/crm/quotes/models/simple_public_upsert_object.rb +315 -0
  463. data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +7 -7
  464. data/lib/hubspot/codegen/crm/schemas/models/association_definition.rb +1 -1
  465. data/lib/hubspot/codegen/crm/schemas/models/association_definition_egg.rb +1 -1
  466. data/lib/hubspot/codegen/crm/schemas/models/object_schema.rb +19 -1
  467. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_patch.rb +10 -1
  468. data/lib/hubspot/codegen/crm/schemas/models/property.rb +164 -110
  469. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +6 -6
  470. data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +70 -2
  471. data/lib/hubspot/codegen/crm/tickets/api/{public_object_api.rb → merge_api.rb} +5 -5
  472. data/lib/hubspot/codegen/crm/tickets/models/association_spec.rb +0 -10
  473. data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  474. data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_upsert_object.rb +326 -0
  475. data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  476. data/lib/hubspot/codegen/crm/tickets/models/public_associations_for_object.rb +0 -10
  477. data/lib/hubspot/codegen/crm/tickets/models/public_object_id.rb +0 -5
  478. data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +0 -25
  479. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +10 -1
  480. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input_upsert.rb +262 -0
  481. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +10 -1
  482. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input_for_create.rb +10 -6
  483. data/lib/hubspot/codegen/crm/tickets/models/simple_public_upsert_object.rb +315 -0
  484. data/lib/hubspot/codegen/crm/timeline/api/events_api.rb +6 -6
  485. data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +6 -6
  486. data/lib/hubspot/codegen/crm/timeline/api/tokens_api.rb +4 -4
  487. data/lib/hubspot/codegen/crm/timeline/api_client.rb +1 -1
  488. data/lib/hubspot/codegen/crm/timeline/api_error.rb +1 -1
  489. data/lib/hubspot/codegen/crm/timeline/configuration.rb +1 -1
  490. data/lib/hubspot/codegen/crm/timeline/models/batch_input_timeline_event.rb +1 -1
  491. data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response.rb +1 -1
  492. data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors.rb +1 -1
  493. data/lib/hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template_no_paging.rb +1 -1
  494. data/lib/hubspot/codegen/crm/timeline/models/error.rb +1 -1
  495. data/lib/hubspot/codegen/crm/timeline/models/error_detail.rb +1 -1
  496. data/lib/hubspot/codegen/crm/timeline/models/event_detail.rb +1 -1
  497. data/lib/hubspot/codegen/crm/timeline/models/standard_error.rb +1 -1
  498. data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +1 -1
  499. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_i_frame.rb +1 -1
  500. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_response.rb +1 -1
  501. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template.rb +1 -1
  502. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_create_request.rb +1 -1
  503. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token.rb +1 -1
  504. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_option.rb +1 -1
  505. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_update_request.rb +1 -1
  506. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_update_request.rb +1 -1
  507. data/lib/hubspot/codegen/events/api/events_api.rb +80 -25
  508. data/lib/hubspot/codegen/events/api_client.rb +2 -2
  509. data/lib/hubspot/codegen/events/api_error.rb +2 -2
  510. data/lib/hubspot/codegen/events/configuration.rb +2 -2
  511. data/lib/hubspot/codegen/events/models/collection_response_external_unified_event.rb +2 -2
  512. data/lib/hubspot/codegen/events/models/error.rb +2 -2
  513. data/lib/hubspot/codegen/events/models/error_detail.rb +2 -2
  514. data/lib/hubspot/codegen/events/models/external_unified_event.rb +2 -2
  515. data/lib/hubspot/codegen/events/models/next_page.rb +2 -2
  516. data/lib/hubspot/codegen/events/models/paging.rb +2 -2
  517. data/lib/hubspot/codegen/events/models/previous_page.rb +2 -2
  518. data/lib/hubspot/codegen/events/models/visible_external_event_type_names.rb +229 -0
  519. data/lib/hubspot/codegen/marketing/events/api/attendance_subscriber_state_changes_api.rb +45 -45
  520. data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +358 -77
  521. data/lib/hubspot/codegen/marketing/events/api/list_associations_api.rb +446 -0
  522. data/lib/hubspot/codegen/marketing/events/api/participant_state_api.rb +386 -0
  523. data/lib/hubspot/codegen/marketing/events/api/settings_api.rb +42 -42
  524. data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +45 -45
  525. data/lib/hubspot/codegen/marketing/events/api_client.rb +1 -1
  526. data/lib/hubspot/codegen/marketing/events/api_error.rb +1 -1
  527. data/lib/hubspot/codegen/marketing/events/configuration.rb +1 -1
  528. data/lib/hubspot/codegen/marketing/events/models/attendance_counters.rb +270 -0
  529. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +1 -1
  530. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +1 -2
  531. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +1 -1
  532. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_subscriber.rb +1 -2
  533. data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +1 -1
  534. data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_email_response.rb +1 -1
  535. data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_vid_response.rb +1 -1
  536. data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging.rb +1 -1
  537. data/lib/hubspot/codegen/{cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb → marketing/events/models/collection_response_with_total_participation_breakdown_forward_paging.rb} +9 -11
  538. data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_public_list_no_paging.rb +244 -0
  539. data/lib/hubspot/codegen/{crm/line_items/models/public_merge_input.rb → marketing/events/models/contact_association.rb} +44 -26
  540. data/lib/hubspot/codegen/marketing/events/models/error.rb +1 -1
  541. data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +1 -1
  542. data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +1 -1
  543. data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +1 -1
  544. data/lib/hubspot/codegen/marketing/events/models/forward_paging.rb +223 -0
  545. data/lib/hubspot/codegen/marketing/events/models/marketing_event_association.rb +260 -0
  546. data/lib/hubspot/codegen/marketing/events/models/marketing_event_complete_request_params.rb +1 -1
  547. data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +11 -2
  548. data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +11 -2
  549. data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +1 -1
  550. data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +1 -1
  551. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +56 -47
  552. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +11 -2
  553. data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +1 -1
  554. data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +11 -2
  555. data/lib/hubspot/codegen/marketing/events/models/next_page.rb +237 -0
  556. data/lib/hubspot/codegen/marketing/events/models/participation_associations.rb +242 -0
  557. data/lib/hubspot/codegen/marketing/events/models/participation_breakdown.rb +270 -0
  558. data/lib/hubspot/codegen/marketing/events/models/participation_properties.rb +294 -0
  559. data/lib/hubspot/codegen/marketing/events/models/property_value.rb +58 -4
  560. data/lib/hubspot/codegen/marketing/events/models/public_list.rb +361 -0
  561. data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +1 -1
  562. data/lib/hubspot/codegen/marketing/events/models/subscriber_email_response.rb +1 -1
  563. data/lib/hubspot/codegen/marketing/events/models/subscriber_vid_response.rb +1 -1
  564. data/lib/hubspot/codegen/marketing/forms/models/datepicker_field.rb +67 -67
  565. data/lib/hubspot/codegen/marketing/forms/models/dependent_field_filter.rb +38 -33
  566. data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +84 -84
  567. data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +67 -67
  568. data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +19 -19
  569. data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +29 -28
  570. data/lib/hubspot/codegen/marketing/forms/models/file_field.rb +77 -77
  571. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_checkbox.rb +20 -19
  572. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +42 -35
  573. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +27 -22
  574. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +33 -29
  575. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +1 -0
  576. data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +67 -67
  577. data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +67 -67
  578. data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +78 -78
  579. data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +67 -67
  580. data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +2 -0
  581. data/lib/hubspot/codegen/marketing/forms/models/payment_link_radio_field.rb +72 -72
  582. data/lib/hubspot/codegen/marketing/forms/models/phone_field.rb +77 -77
  583. data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +2 -0
  584. data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +84 -84
  585. data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +67 -67
  586. data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +67 -67
  587. data/lib/hubspot/codegen/marketing/transactional/api/public_smtp_tokens_api.rb +21 -21
  588. data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +1 -1
  589. data/lib/hubspot/codegen/marketing/transactional/api_client.rb +1 -1
  590. data/lib/hubspot/codegen/marketing/transactional/api_error.rb +1 -1
  591. data/lib/hubspot/codegen/marketing/transactional/configuration.rb +1 -1
  592. data/lib/hubspot/codegen/marketing/transactional/models/collection_response_smtp_api_token_view_forward_paging.rb +1 -1
  593. data/lib/hubspot/codegen/marketing/transactional/models/email_send_status_view.rb +1 -1
  594. data/lib/hubspot/codegen/marketing/transactional/models/error.rb +1 -1
  595. data/lib/hubspot/codegen/marketing/transactional/models/error_detail.rb +1 -1
  596. data/lib/hubspot/codegen/marketing/transactional/models/event_id_view.rb +1 -1
  597. data/lib/hubspot/codegen/marketing/transactional/models/forward_paging.rb +1 -1
  598. data/lib/hubspot/codegen/marketing/transactional/models/next_page.rb +1 -1
  599. data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_email.rb +1 -1
  600. data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_request_egg.rb +1 -1
  601. data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_request_egg.rb +1 -1
  602. data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_view.rb +1 -1
  603. data/lib/hubspot/codegen/settings/users/api/roles_api.rb +1 -1
  604. data/lib/hubspot/codegen/settings/users/api/teams_api.rb +1 -1
  605. data/lib/hubspot/codegen/settings/users/api/users_api.rb +13 -1
  606. data/lib/hubspot/codegen/settings/users/api_client.rb +1 -1
  607. data/lib/hubspot/codegen/settings/users/api_error.rb +1 -1
  608. data/lib/hubspot/codegen/settings/users/configuration.rb +1 -1
  609. data/lib/hubspot/codegen/settings/users/models/collection_response_public_permission_set_no_paging.rb +1 -1
  610. data/lib/hubspot/codegen/settings/users/models/collection_response_public_team_no_paging.rb +1 -1
  611. data/lib/hubspot/codegen/settings/users/models/collection_response_public_user_forward_paging.rb +1 -1
  612. data/lib/hubspot/codegen/settings/users/models/error.rb +1 -1
  613. data/lib/hubspot/codegen/settings/users/models/error_detail.rb +1 -1
  614. data/lib/hubspot/codegen/settings/users/models/forward_paging.rb +1 -1
  615. data/lib/hubspot/codegen/settings/users/models/next_page.rb +1 -1
  616. data/lib/hubspot/codegen/settings/users/models/public_permission_set.rb +1 -1
  617. data/lib/hubspot/codegen/settings/users/models/public_team.rb +1 -1
  618. data/lib/hubspot/codegen/settings/users/models/public_user.rb +20 -2
  619. data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +20 -2
  620. data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +20 -2
  621. data/lib/hubspot/discovery/cms/source_code/client.rb +0 -1
  622. data/lib/hubspot/discovery/crm/companies/api/{public_object_api.rb → merge_api.rb} +1 -1
  623. data/lib/hubspot/discovery/crm/companies/client.rb +1 -1
  624. data/lib/hubspot/discovery/crm/contacts/api/{public_object_api.rb → merge_api.rb} +1 -1
  625. data/lib/hubspot/discovery/crm/contacts/client.rb +1 -1
  626. data/lib/hubspot/discovery/crm/deals/api/{public_object_api.rb → merge_api.rb} +1 -1
  627. data/lib/hubspot/discovery/crm/deals/client.rb +1 -1
  628. data/lib/hubspot/discovery/crm/extensions/client.rb +0 -1
  629. data/lib/hubspot/discovery/crm/line_items/client.rb +0 -2
  630. data/lib/hubspot/discovery/crm/{products/api/gdpr_api.rb → lists/api/folders_api.rb} +2 -2
  631. data/lib/hubspot/discovery/crm/{objects/api/gdpr_api.rb → lists/api/mapping_api.rb} +2 -2
  632. data/lib/hubspot/discovery/crm/lists/client.rb +2 -0
  633. data/lib/hubspot/discovery/crm/objects/calls/client.rb +0 -2
  634. data/lib/hubspot/discovery/crm/objects/client.rb +1 -0
  635. data/lib/hubspot/discovery/crm/objects/communications/client.rb +0 -2
  636. data/lib/hubspot/discovery/crm/objects/emails/client.rb +0 -2
  637. data/lib/hubspot/discovery/crm/objects/goals/client.rb +0 -2
  638. data/lib/hubspot/discovery/crm/objects/{calls/api/gdpr_api.rb → leads/api/basic_api.rb} +2 -2
  639. data/lib/hubspot/discovery/crm/objects/{goals/api/gdpr_api.rb → leads/api/batch_api.rb} +2 -2
  640. data/lib/hubspot/discovery/crm/objects/{notes/api/gdpr_api.rb → leads/api/search_api.rb} +2 -2
  641. data/lib/hubspot/discovery/crm/{extensions/accounting → objects/leads}/client.rb +5 -8
  642. data/lib/hubspot/discovery/crm/objects/meetings/client.rb +0 -2
  643. data/lib/hubspot/discovery/crm/objects/notes/client.rb +0 -2
  644. data/lib/hubspot/discovery/crm/objects/postal_mail/client.rb +0 -2
  645. data/lib/hubspot/discovery/crm/objects/tasks/client.rb +0 -2
  646. data/lib/hubspot/discovery/crm/objects/taxes/client.rb +0 -2
  647. data/lib/hubspot/discovery/crm/products/client.rb +0 -3
  648. data/lib/hubspot/discovery/crm/quotes/client.rb +0 -3
  649. data/lib/hubspot/discovery/crm/schemas/client.rb +0 -1
  650. data/lib/hubspot/discovery/crm/tickets/api/{gdpr_api.rb → merge_api.rb} +1 -1
  651. data/lib/hubspot/discovery/crm/tickets/client.rb +1 -3
  652. data/lib/hubspot/discovery/marketing/events/api/{batch_api.rb → list_associations_api.rb} +1 -1
  653. data/lib/hubspot/discovery/marketing/events/api/{search_api.rb → participant_state_api.rb} +1 -1
  654. data/lib/hubspot/discovery/marketing/events/client.rb +2 -3
  655. data/lib/hubspot/discovery/marketing/transactional/api/public_smtp_tokens_api.rb +1 -1
  656. data/lib/hubspot/helpers/camel_case.rb +2 -0
  657. data/lib/hubspot/version.rb +1 -1
  658. data/spec/discovery/cms/source-code/extract_api_spec.rb +2 -1
  659. data/spec/discovery/crm/companies/batch_api_spec.rb +1 -0
  660. data/spec/discovery/crm/{deals/public_object_api_spec.rb → companies/merge_api_spec.rb} +2 -2
  661. data/spec/discovery/crm/contacts/batch_api_spec.rb +1 -0
  662. data/spec/discovery/crm/{quotes/public_object_api_spec.rb → contacts/merge_api_spec.rb} +2 -2
  663. data/spec/discovery/crm/deals/batch_api_spec.rb +1 -0
  664. data/spec/discovery/crm/{objects/public_object_api_spec.rb → deals/merge_api_spec.rb} +2 -2
  665. data/spec/discovery/crm/extensions/calling/recording_settings_api_spec.rb +1 -0
  666. data/spec/discovery/crm/extensions/client_spec.rb +0 -1
  667. data/spec/discovery/crm/line_items/batch_api_spec.rb +1 -0
  668. data/spec/discovery/crm/lists/folders_api_spec.rb +12 -0
  669. data/spec/discovery/crm/lists/lists_api_spec.rb +4 -11
  670. data/spec/discovery/crm/lists/mapping_api_spec.rb +15 -0
  671. data/spec/discovery/crm/lists/memberships_api_spec.rb +1 -0
  672. data/spec/discovery/crm/objects/batch_api_spec.rb +1 -0
  673. data/spec/discovery/crm/objects/calls/batch_api_spec.rb +1 -0
  674. data/spec/discovery/crm/objects/client_spec.rb +2 -0
  675. data/spec/discovery/crm/objects/communications/batch_api_spec.rb +1 -0
  676. data/spec/discovery/crm/objects/emails/batch_api_spec.rb +1 -0
  677. data/spec/discovery/crm/objects/goals/basic_api_spec.rb +0 -3
  678. data/spec/discovery/crm/objects/goals/batch_api_spec.rb +0 -3
  679. data/spec/discovery/crm/objects/leads/basic_api_spec.rb +11 -0
  680. data/spec/discovery/crm/objects/leads/batch_api_spec.rb +11 -0
  681. data/spec/discovery/crm/objects/leads/search_api_spec.rb +7 -0
  682. data/spec/discovery/crm/objects/meetings/batch_api_spec.rb +1 -0
  683. data/spec/discovery/crm/objects/notes/batch_api_spec.rb +1 -0
  684. data/spec/discovery/crm/objects/postal_mail/batch_api_spec.rb +1 -0
  685. data/spec/discovery/crm/objects/tasks/batch_api_spec.rb +1 -0
  686. data/spec/discovery/crm/objects/taxes/batch_api_spec.rb +1 -0
  687. data/spec/discovery/crm/products/batch_api_spec.rb +1 -0
  688. data/spec/discovery/crm/quotes/basic_api_spec.rb +3 -0
  689. data/spec/discovery/crm/quotes/batch_api_spec.rb +4 -0
  690. data/spec/discovery/crm/tickets/batch_api_spec.rb +1 -0
  691. data/spec/discovery/crm/{objects/calls/public_object_api_spec.rb → tickets/merge_api_spec.rb} +2 -2
  692. data/spec/discovery/events/events_api_spec.rb +1 -0
  693. data/spec/discovery/marketing/events/attendance_subscriber_state_changes_api_spec.rb +2 -2
  694. data/spec/discovery/marketing/events/basic_api_spec.rb +7 -3
  695. data/spec/discovery/marketing/events/list_associations_api_spec.rb +12 -0
  696. data/spec/discovery/marketing/events/participant_state_api_spec.rb +11 -0
  697. data/spec/discovery/marketing/events/settings_api_spec.rb +1 -1
  698. data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +2 -2
  699. data/spec/discovery/marketing/transactional/public_smtp_tokens_api_spec.rb +1 -1
  700. metadata +201 -259
  701. data/lib/hubspot/codegen/cms/source_code/api/source_code_extract_api.rb +0 -149
  702. data/lib/hubspot/codegen/crm/companies/api/gdpr_api.rb +0 -94
  703. data/lib/hubspot/codegen/crm/deals/api/gdpr_api.rb +0 -94
  704. data/lib/hubspot/codegen/crm/extensions/accounting/api/callbacks_api.rb +0 -768
  705. data/lib/hubspot/codegen/crm/extensions/accounting/api/invoice_api.rb +0 -256
  706. data/lib/hubspot/codegen/crm/extensions/accounting/api/settings_api.rb +0 -165
  707. data/lib/hubspot/codegen/crm/extensions/accounting/api/sync_api.rb +0 -176
  708. data/lib/hubspot/codegen/crm/extensions/accounting/api/user_accounts_api.rb +0 -159
  709. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_settings.rb +0 -255
  710. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_urls.rb +0 -395
  711. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_term.rb +0 -267
  712. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_features.rb +0 -262
  713. data/lib/hubspot/codegen/crm/extensions/accounting/models/address.rb +0 -267
  714. data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_feature.rb +0 -246
  715. data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_sub_features.rb +0 -307
  716. data/lib/hubspot/codegen/crm/extensions/accounting/models/create_user_account_request_external.rb +0 -262
  717. data/lib/hubspot/codegen/crm/extensions/accounting/models/import_invoice_feature.rb +0 -232
  718. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_create_payment_request.rb +0 -276
  719. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_read_response.rb +0 -469
  720. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_search_response.rb +0 -278
  721. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_request.rb +0 -295
  722. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_response.rb +0 -454
  723. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoices_response_external.rb +0 -278
  724. data/lib/hubspot/codegen/crm/extensions/accounting/models/object_sync_feature.rb +0 -231
  725. data/lib/hubspot/codegen/crm/extensions/accounting/models/product.rb +0 -295
  726. data/lib/hubspot/codegen/crm/extensions/accounting/models/product_search_response.rb +0 -278
  727. data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_contacts_request.rb +0 -249
  728. data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_products_request.rb +0 -249
  729. data/lib/hubspot/codegen/crm/extensions/accounting/models/tax.rb +0 -262
  730. data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_search_response.rb +0 -278
  731. data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_type.rb +0 -242
  732. data/lib/hubspot/codegen/crm/extensions/accounting/models/terms_response.rb +0 -278
  733. data/lib/hubspot/codegen/crm/extensions/accounting/models/unit_price.rb +0 -242
  734. data/lib/hubspot/codegen/crm/extensions/accounting/models/updated_contact.rb +0 -333
  735. data/lib/hubspot/codegen/crm/line_items/api/gdpr_api.rb +0 -94
  736. data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +0 -92
  737. data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +0 -100
  738. data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +0 -98
  739. data/lib/hubspot/codegen/crm/objects/calls/api/gdpr_api.rb +0 -96
  740. data/lib/hubspot/codegen/crm/objects/calls/api/public_object_api.rb +0 -94
  741. data/lib/hubspot/codegen/crm/objects/communications/api/gdpr_api.rb +0 -96
  742. data/lib/hubspot/codegen/crm/objects/communications/api/public_object_api.rb +0 -94
  743. data/lib/hubspot/codegen/crm/objects/emails/api/gdpr_api.rb +0 -96
  744. data/lib/hubspot/codegen/crm/objects/emails/api/public_object_api.rb +0 -94
  745. data/lib/hubspot/codegen/crm/objects/emails/models/public_merge_input.rb +0 -244
  746. data/lib/hubspot/codegen/crm/objects/goals/api/gdpr_api.rb +0 -96
  747. data/lib/hubspot/codegen/crm/objects/goals/api/public_object_api.rb +0 -94
  748. data/lib/hubspot/codegen/crm/objects/goals/models/public_merge_input.rb +0 -244
  749. data/lib/hubspot/codegen/crm/objects/meetings/api/gdpr_api.rb +0 -96
  750. data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +0 -94
  751. data/lib/hubspot/codegen/crm/objects/meetings/models/public_merge_input.rb +0 -244
  752. data/lib/hubspot/codegen/crm/objects/notes/api/gdpr_api.rb +0 -96
  753. data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +0 -94
  754. data/lib/hubspot/codegen/crm/objects/notes/models/public_merge_input.rb +0 -244
  755. data/lib/hubspot/codegen/crm/objects/postal_mail/api/gdpr_api.rb +0 -96
  756. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_merge_input.rb +0 -244
  757. data/lib/hubspot/codegen/crm/objects/tasks/api/gdpr_api.rb +0 -96
  758. data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +0 -94
  759. data/lib/hubspot/codegen/crm/objects/tasks/models/public_merge_input.rb +0 -244
  760. data/lib/hubspot/codegen/crm/objects/taxes/api/gdpr_api.rb +0 -96
  761. data/lib/hubspot/codegen/crm/objects/taxes/api/public_object_api.rb +0 -94
  762. data/lib/hubspot/codegen/crm/objects/taxes/models/public_merge_input.rb +0 -244
  763. data/lib/hubspot/codegen/crm/products/api/gdpr_api.rb +0 -94
  764. data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +0 -92
  765. data/lib/hubspot/codegen/crm/quotes/api/gdpr_api.rb +0 -94
  766. data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +0 -92
  767. data/lib/hubspot/codegen/crm/schemas/api/public_object_schemas_api.rb +0 -85
  768. data/lib/hubspot/codegen/crm/tickets/api/gdpr_api.rb +0 -94
  769. data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +0 -162
  770. data/lib/hubspot/codegen/marketing/events/api/marketing_events_external_api.rb +0 -103
  771. data/lib/hubspot/codegen/marketing/events/api/search_api.rb +0 -90
  772. data/lib/hubspot/discovery/cms/source_code/api/source_code_extract_api.rb +0 -13
  773. data/lib/hubspot/discovery/crm/extensions/accounting/api/callbacks_api.rb +0 -15
  774. data/lib/hubspot/discovery/crm/extensions/accounting/api/invoice_api.rb +0 -15
  775. data/lib/hubspot/discovery/crm/extensions/accounting/api/settings_api.rb +0 -15
  776. data/lib/hubspot/discovery/crm/extensions/accounting/api/sync_api.rb +0 -15
  777. data/lib/hubspot/discovery/crm/extensions/accounting/api/user_accounts_api.rb +0 -15
  778. data/lib/hubspot/discovery/crm/line_items/api/gdpr_api.rb +0 -13
  779. data/lib/hubspot/discovery/crm/line_items/api/public_object_api.rb +0 -13
  780. data/lib/hubspot/discovery/crm/objects/api/associations_api.rb +0 -13
  781. data/lib/hubspot/discovery/crm/objects/api/public_object_api.rb +0 -13
  782. data/lib/hubspot/discovery/crm/objects/calls/api/public_object_api.rb +0 -15
  783. data/lib/hubspot/discovery/crm/objects/communications/api/gdpr_api.rb +0 -15
  784. data/lib/hubspot/discovery/crm/objects/communications/api/public_object_api.rb +0 -15
  785. data/lib/hubspot/discovery/crm/objects/emails/api/gdpr_api.rb +0 -15
  786. data/lib/hubspot/discovery/crm/objects/emails/api/public_object_api.rb +0 -15
  787. data/lib/hubspot/discovery/crm/objects/goals/api/public_object_api.rb +0 -15
  788. data/lib/hubspot/discovery/crm/objects/meetings/api/gdpr_api.rb +0 -15
  789. data/lib/hubspot/discovery/crm/objects/meetings/api/public_object_api.rb +0 -15
  790. data/lib/hubspot/discovery/crm/objects/notes/api/public_object_api.rb +0 -15
  791. data/lib/hubspot/discovery/crm/objects/postal_mail/api/gdpr_api.rb +0 -15
  792. data/lib/hubspot/discovery/crm/objects/postal_mail/api/public_object_api.rb +0 -15
  793. data/lib/hubspot/discovery/crm/objects/tasks/api/gdpr_api.rb +0 -15
  794. data/lib/hubspot/discovery/crm/objects/tasks/api/public_object_api.rb +0 -15
  795. data/lib/hubspot/discovery/crm/objects/taxes/api/gdpr_api.rb +0 -15
  796. data/lib/hubspot/discovery/crm/objects/taxes/api/public_object_api.rb +0 -15
  797. data/lib/hubspot/discovery/crm/products/api/associations_api.rb +0 -13
  798. data/lib/hubspot/discovery/crm/products/api/public_object_api.rb +0 -13
  799. data/lib/hubspot/discovery/crm/quotes/api/associations_api.rb +0 -13
  800. data/lib/hubspot/discovery/crm/quotes/api/gdpr_api.rb +0 -13
  801. data/lib/hubspot/discovery/crm/quotes/api/public_object_api.rb +0 -13
  802. data/lib/hubspot/discovery/crm/schemas/api/public_object_schemas_api.rb +0 -13
  803. data/lib/hubspot/discovery/crm/tickets/api/associations_api.rb +0 -13
  804. data/lib/hubspot/discovery/crm/tickets/api/public_object_api.rb +0 -13
  805. data/lib/hubspot/discovery/marketing/events/api/marketing_events_external_api.rb +0 -13
  806. data/spec/discovery/cms/source-code/source_code_extract_api_spec.rb +0 -8
  807. data/spec/discovery/crm/companies/public_object_api_spec.rb +0 -7
  808. data/spec/discovery/crm/contacts/public_object_api_spec.rb +0 -7
  809. data/spec/discovery/crm/extensions/accounting/callbacks_api_spec.rb +0 -16
  810. data/spec/discovery/crm/extensions/accounting/invoice_api_spec.rb +0 -9
  811. data/spec/discovery/crm/extensions/accounting/settings_api_spec.rb +0 -8
  812. data/spec/discovery/crm/extensions/accounting/sync_api_spec.rb +0 -8
  813. data/spec/discovery/crm/extensions/accounting/user_accounts_api_spec.rb +0 -8
  814. data/spec/discovery/crm/line_items/gdpr_api_spec.rb +0 -7
  815. data/spec/discovery/crm/line_items/public_object_api_spec.rb +0 -7
  816. data/spec/discovery/crm/objects/associations_api_spec.rb +0 -9
  817. data/spec/discovery/crm/objects/calls/gdpr_api_spec.rb +0 -7
  818. data/spec/discovery/crm/objects/communications/gdpr_api_spec.rb +0 -7
  819. data/spec/discovery/crm/objects/communications/public_object_api_spec.rb +0 -7
  820. data/spec/discovery/crm/objects/emails/gdpr_api_spec.rb +0 -7
  821. data/spec/discovery/crm/objects/emails/public_object_api_spec.rb +0 -7
  822. data/spec/discovery/crm/objects/gdpr_api_spec.rb +0 -7
  823. data/spec/discovery/crm/objects/goals/gdpr_api_spec.rb +0 -7
  824. data/spec/discovery/crm/objects/goals/public_object_api_spec.rb +0 -7
  825. data/spec/discovery/crm/objects/meetings/gdpr_api_spec.rb +0 -7
  826. data/spec/discovery/crm/objects/meetings/public_object_api_spec.rb +0 -7
  827. data/spec/discovery/crm/objects/notes/gdpr_api_spec.rb +0 -7
  828. data/spec/discovery/crm/objects/notes/public_object_api_spec.rb +0 -7
  829. data/spec/discovery/crm/objects/postal_mail/gdpr_api_spec.rb +0 -7
  830. data/spec/discovery/crm/objects/postal_mail/public_object_api_spec.rb +0 -7
  831. data/spec/discovery/crm/objects/tasks/gdpr_api_spec.rb +0 -7
  832. data/spec/discovery/crm/objects/tasks/public_object_api_spec.rb +0 -7
  833. data/spec/discovery/crm/objects/taxes/gdpr_api_spec.rb +0 -7
  834. data/spec/discovery/crm/objects/taxes/public_object_api_spec.rb +0 -7
  835. data/spec/discovery/crm/products/gdpr_api_spec.rb +0 -7
  836. data/spec/discovery/crm/products/public_object_api_spec.rb +0 -7
  837. data/spec/discovery/crm/quotes/gdpr_api_spec.rb +0 -7
  838. data/spec/discovery/crm/schemas/public_object_schemas_api_spec.rb +0 -7
  839. data/spec/discovery/crm/tickets/gdpr_api_spec.rb +0 -7
  840. data/spec/discovery/crm/tickets/public_object_api_spec.rb +0 -7
  841. data/spec/discovery/marketing/events/batch_api_spec.rb +0 -8
  842. data/spec/discovery/marketing/events/marketing_events_external_api_spec.rb +0 -7
  843. data/spec/discovery/marketing/events/search_api_spec.rb +0 -7
  844. data/spec/integration/contacts_spec.rb +0 -85
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Lists
3
3
 
4
- #CRUD operations to manage lists and list memberships
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
6
  The version of the OpenAPI document: v3
7
7
 
@@ -17,17 +17,17 @@ module Hubspot
17
17
  module Crm
18
18
  module Lists
19
19
  class PublicPropertyAssociationInListFilter
20
- attr_accessor :filter_type
20
+ attr_accessor :list_id
21
21
 
22
22
  attr_accessor :coalescing_refine_by
23
23
 
24
- attr_accessor :operator
24
+ attr_accessor :property_with_object_id
25
25
 
26
- attr_accessor :list_id
26
+ attr_accessor :filter_type
27
27
 
28
28
  attr_accessor :to_object_type_id
29
29
 
30
- attr_accessor :property_with_object_id
30
+ attr_accessor :operator
31
31
 
32
32
  class EnumAttributeValidator
33
33
  attr_reader :datatype
@@ -54,12 +54,12 @@ module Hubspot
54
54
  # Attribute mapping from ruby-style variable name to JSON key.
55
55
  def self.attribute_map
56
56
  {
57
- :'filter_type' => :'filterType',
58
- :'coalescing_refine_by' => :'coalescingRefineBy',
59
- :'operator' => :'operator',
60
57
  :'list_id' => :'listId',
58
+ :'coalescing_refine_by' => :'coalescingRefineBy',
59
+ :'property_with_object_id' => :'propertyWithObjectId',
60
+ :'filter_type' => :'filterType',
61
61
  :'to_object_type_id' => :'toObjectTypeId',
62
- :'property_with_object_id' => :'propertyWithObjectId'
62
+ :'operator' => :'operator'
63
63
  }
64
64
  end
65
65
 
@@ -71,12 +71,12 @@ module Hubspot
71
71
  # Attribute type mapping.
72
72
  def self.openapi_types
73
73
  {
74
+ :'list_id' => :'String',
75
+ :'coalescing_refine_by' => :'PublicFormSubmissionFilterCoalescingRefineBy',
76
+ :'property_with_object_id' => :'String',
74
77
  :'filter_type' => :'String',
75
- :'coalescing_refine_by' => :'PublicEventAnalyticsFilterCoalescingRefineBy',
76
- :'operator' => :'String',
77
- :'list_id' => :'Integer',
78
78
  :'to_object_type_id' => :'String',
79
- :'property_with_object_id' => :'String'
79
+ :'operator' => :'String'
80
80
  }
81
81
  end
82
82
 
@@ -101,30 +101,30 @@ module Hubspot
101
101
  h[k.to_sym] = v
102
102
  }
103
103
 
104
- if attributes.key?(:'filter_type')
105
- self.filter_type = attributes[:'filter_type']
106
- else
107
- self.filter_type = 'PROPERTY_ASSOCIATION'
104
+ if attributes.key?(:'list_id')
105
+ self.list_id = attributes[:'list_id']
108
106
  end
109
107
 
110
108
  if attributes.key?(:'coalescing_refine_by')
111
109
  self.coalescing_refine_by = attributes[:'coalescing_refine_by']
112
110
  end
113
111
 
114
- if attributes.key?(:'operator')
115
- self.operator = attributes[:'operator']
112
+ if attributes.key?(:'property_with_object_id')
113
+ self.property_with_object_id = attributes[:'property_with_object_id']
116
114
  end
117
115
 
118
- if attributes.key?(:'list_id')
119
- self.list_id = attributes[:'list_id']
116
+ if attributes.key?(:'filter_type')
117
+ self.filter_type = attributes[:'filter_type']
118
+ else
119
+ self.filter_type = 'PROPERTY_ASSOCIATION'
120
120
  end
121
121
 
122
122
  if attributes.key?(:'to_object_type_id')
123
123
  self.to_object_type_id = attributes[:'to_object_type_id']
124
124
  end
125
125
 
126
- if attributes.key?(:'property_with_object_id')
127
- self.property_with_object_id = attributes[:'property_with_object_id']
126
+ if attributes.key?(:'operator')
127
+ self.operator = attributes[:'operator']
128
128
  end
129
129
  end
130
130
 
@@ -132,24 +132,24 @@ module Hubspot
132
132
  # @return Array for valid properties with the reasons
133
133
  def list_invalid_properties
134
134
  invalid_properties = Array.new
135
- if @filter_type.nil?
136
- invalid_properties.push('invalid value for "filter_type", filter_type cannot be nil.')
135
+ if @list_id.nil?
136
+ invalid_properties.push('invalid value for "list_id", list_id cannot be nil.')
137
137
  end
138
138
 
139
139
  if @coalescing_refine_by.nil?
140
140
  invalid_properties.push('invalid value for "coalescing_refine_by", coalescing_refine_by cannot be nil.')
141
141
  end
142
142
 
143
- if @operator.nil?
144
- invalid_properties.push('invalid value for "operator", operator cannot be nil.')
143
+ if @property_with_object_id.nil?
144
+ invalid_properties.push('invalid value for "property_with_object_id", property_with_object_id cannot be nil.')
145
145
  end
146
146
 
147
- if @list_id.nil?
148
- invalid_properties.push('invalid value for "list_id", list_id cannot be nil.')
147
+ if @filter_type.nil?
148
+ invalid_properties.push('invalid value for "filter_type", filter_type cannot be nil.')
149
149
  end
150
150
 
151
- if @property_with_object_id.nil?
152
- invalid_properties.push('invalid value for "property_with_object_id", property_with_object_id cannot be nil.')
151
+ if @operator.nil?
152
+ invalid_properties.push('invalid value for "operator", operator cannot be nil.')
153
153
  end
154
154
 
155
155
  invalid_properties
@@ -158,13 +158,13 @@ module Hubspot
158
158
  # Check to see if the all the properties in the model are valid
159
159
  # @return true if the model is valid
160
160
  def valid?
161
+ return false if @list_id.nil?
162
+ return false if @coalescing_refine_by.nil?
163
+ return false if @property_with_object_id.nil?
161
164
  return false if @filter_type.nil?
162
165
  filter_type_validator = EnumAttributeValidator.new('String', ["PROPERTY_ASSOCIATION"])
163
166
  return false unless filter_type_validator.valid?(@filter_type)
164
- return false if @coalescing_refine_by.nil?
165
167
  return false if @operator.nil?
166
- return false if @list_id.nil?
167
- return false if @property_with_object_id.nil?
168
168
  true
169
169
  end
170
170
 
@@ -183,12 +183,12 @@ module Hubspot
183
183
  def ==(o)
184
184
  return true if self.equal?(o)
185
185
  self.class == o.class &&
186
- filter_type == o.filter_type &&
187
- coalescing_refine_by == o.coalescing_refine_by &&
188
- operator == o.operator &&
189
186
  list_id == o.list_id &&
187
+ coalescing_refine_by == o.coalescing_refine_by &&
188
+ property_with_object_id == o.property_with_object_id &&
189
+ filter_type == o.filter_type &&
190
190
  to_object_type_id == o.to_object_type_id &&
191
- property_with_object_id == o.property_with_object_id
191
+ operator == o.operator
192
192
  end
193
193
 
194
194
  # @see the `==` method
@@ -200,7 +200,7 @@ module Hubspot
200
200
  # Calculates hash code according to all attributes.
201
201
  # @return [Integer] Hash code
202
202
  def hash
203
- [filter_type, coalescing_refine_by, operator, list_id, to_object_type_id, property_with_object_id].hash
203
+ [list_id, coalescing_refine_by, property_with_object_id, filter_type, to_object_type_id, operator].hash
204
204
  end
205
205
 
206
206
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Lists
3
3
 
4
- #CRUD operations to manage lists and list memberships
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
6
  The version of the OpenAPI document: v3
7
7
 
@@ -17,10 +17,10 @@ module Hubspot
17
17
  module Crm
18
18
  module Lists
19
19
  class PublicPropertyFilter
20
- attr_accessor :filter_type
21
-
22
20
  attr_accessor :property
23
21
 
22
+ attr_accessor :filter_type
23
+
24
24
  attr_accessor :operation
25
25
 
26
26
  class EnumAttributeValidator
@@ -48,8 +48,8 @@ module Hubspot
48
48
  # Attribute mapping from ruby-style variable name to JSON key.
49
49
  def self.attribute_map
50
50
  {
51
- :'filter_type' => :'filterType',
52
51
  :'property' => :'property',
52
+ :'filter_type' => :'filterType',
53
53
  :'operation' => :'operation'
54
54
  }
55
55
  end
@@ -62,9 +62,9 @@ module Hubspot
62
62
  # Attribute type mapping.
63
63
  def self.openapi_types
64
64
  {
65
- :'filter_type' => :'String',
66
65
  :'property' => :'String',
67
- :'operation' => :'PublicPropertyFilterOperation'
66
+ :'filter_type' => :'String',
67
+ :'operation' => :'PublicSurveyMonkeyValueFilterValueComparison'
68
68
  }
69
69
  end
70
70
 
@@ -89,16 +89,16 @@ module Hubspot
89
89
  h[k.to_sym] = v
90
90
  }
91
91
 
92
+ if attributes.key?(:'property')
93
+ self.property = attributes[:'property']
94
+ end
95
+
92
96
  if attributes.key?(:'filter_type')
93
97
  self.filter_type = attributes[:'filter_type']
94
98
  else
95
99
  self.filter_type = 'PROPERTY'
96
100
  end
97
101
 
98
- if attributes.key?(:'property')
99
- self.property = attributes[:'property']
100
- end
101
-
102
102
  if attributes.key?(:'operation')
103
103
  self.operation = attributes[:'operation']
104
104
  end
@@ -108,14 +108,14 @@ module Hubspot
108
108
  # @return Array for valid properties with the reasons
109
109
  def list_invalid_properties
110
110
  invalid_properties = Array.new
111
- if @filter_type.nil?
112
- invalid_properties.push('invalid value for "filter_type", filter_type cannot be nil.')
113
- end
114
-
115
111
  if @property.nil?
116
112
  invalid_properties.push('invalid value for "property", property cannot be nil.')
117
113
  end
118
114
 
115
+ if @filter_type.nil?
116
+ invalid_properties.push('invalid value for "filter_type", filter_type cannot be nil.')
117
+ end
118
+
119
119
  if @operation.nil?
120
120
  invalid_properties.push('invalid value for "operation", operation cannot be nil.')
121
121
  end
@@ -126,10 +126,10 @@ module Hubspot
126
126
  # Check to see if the all the properties in the model are valid
127
127
  # @return true if the model is valid
128
128
  def valid?
129
+ return false if @property.nil?
129
130
  return false if @filter_type.nil?
130
131
  filter_type_validator = EnumAttributeValidator.new('String', ["PROPERTY"])
131
132
  return false unless filter_type_validator.valid?(@filter_type)
132
- return false if @property.nil?
133
133
  return false if @operation.nil?
134
134
  true
135
135
  end
@@ -149,8 +149,8 @@ module Hubspot
149
149
  def ==(o)
150
150
  return true if self.equal?(o)
151
151
  self.class == o.class &&
152
- filter_type == o.filter_type &&
153
152
  property == o.property &&
153
+ filter_type == o.filter_type &&
154
154
  operation == o.operation
155
155
  end
156
156
 
@@ -163,7 +163,7 @@ module Hubspot
163
163
  # Calculates hash code according to all attributes.
164
164
  # @return [Integer] Hash code
165
165
  def hash
166
- [filter_type, property, operation].hash
166
+ [property, filter_type, operation].hash
167
167
  end
168
168
 
169
169
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Lists
3
3
 
4
- #CRUD operations to manage lists and list memberships
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
6
  The version of the OpenAPI document: v3
7
7
 
@@ -17,14 +17,14 @@ module Hubspot
17
17
  module Crm
18
18
  module Lists
19
19
  class PublicPropertyReferencedTime
20
- attr_accessor :time_type
21
-
22
20
  attr_accessor :timezone_source
23
21
 
24
- attr_accessor :zone_id
25
-
26
22
  attr_accessor :property
27
23
 
24
+ attr_accessor :time_type
25
+
26
+ attr_accessor :zone_id
27
+
28
28
  attr_accessor :reference_type
29
29
 
30
30
  class EnumAttributeValidator
@@ -52,10 +52,10 @@ module Hubspot
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
53
53
  def self.attribute_map
54
54
  {
55
- :'time_type' => :'timeType',
56
55
  :'timezone_source' => :'timezoneSource',
57
- :'zone_id' => :'zoneId',
58
56
  :'property' => :'property',
57
+ :'time_type' => :'timeType',
58
+ :'zone_id' => :'zoneId',
59
59
  :'reference_type' => :'referenceType'
60
60
  }
61
61
  end
@@ -68,10 +68,10 @@ module Hubspot
68
68
  # Attribute type mapping.
69
69
  def self.openapi_types
70
70
  {
71
- :'time_type' => :'String',
72
71
  :'timezone_source' => :'String',
73
- :'zone_id' => :'String',
74
72
  :'property' => :'String',
73
+ :'time_type' => :'String',
74
+ :'zone_id' => :'String',
75
75
  :'reference_type' => :'String'
76
76
  }
77
77
  end
@@ -97,24 +97,24 @@ module Hubspot
97
97
  h[k.to_sym] = v
98
98
  }
99
99
 
100
+ if attributes.key?(:'timezone_source')
101
+ self.timezone_source = attributes[:'timezone_source']
102
+ end
103
+
104
+ if attributes.key?(:'property')
105
+ self.property = attributes[:'property']
106
+ end
107
+
100
108
  if attributes.key?(:'time_type')
101
109
  self.time_type = attributes[:'time_type']
102
110
  else
103
111
  self.time_type = 'PROPERTY_REFERENCED'
104
112
  end
105
113
 
106
- if attributes.key?(:'timezone_source')
107
- self.timezone_source = attributes[:'timezone_source']
108
- end
109
-
110
114
  if attributes.key?(:'zone_id')
111
115
  self.zone_id = attributes[:'zone_id']
112
116
  end
113
117
 
114
- if attributes.key?(:'property')
115
- self.property = attributes[:'property']
116
- end
117
-
118
118
  if attributes.key?(:'reference_type')
119
119
  self.reference_type = attributes[:'reference_type']
120
120
  end
@@ -124,6 +124,10 @@ module Hubspot
124
124
  # @return Array for valid properties with the reasons
125
125
  def list_invalid_properties
126
126
  invalid_properties = Array.new
127
+ if @property.nil?
128
+ invalid_properties.push('invalid value for "property", property cannot be nil.')
129
+ end
130
+
127
131
  if @time_type.nil?
128
132
  invalid_properties.push('invalid value for "time_type", time_type cannot be nil.')
129
133
  end
@@ -132,10 +136,6 @@ module Hubspot
132
136
  invalid_properties.push('invalid value for "zone_id", zone_id cannot be nil.')
133
137
  end
134
138
 
135
- if @property.nil?
136
- invalid_properties.push('invalid value for "property", property cannot be nil.')
137
- end
138
-
139
139
  if @reference_type.nil?
140
140
  invalid_properties.push('invalid value for "reference_type", reference_type cannot be nil.')
141
141
  end
@@ -146,11 +146,11 @@ module Hubspot
146
146
  # Check to see if the all the properties in the model are valid
147
147
  # @return true if the model is valid
148
148
  def valid?
149
+ return false if @property.nil?
149
150
  return false if @time_type.nil?
150
151
  time_type_validator = EnumAttributeValidator.new('String', ["PROPERTY_REFERENCED"])
151
152
  return false unless time_type_validator.valid?(@time_type)
152
153
  return false if @zone_id.nil?
153
- return false if @property.nil?
154
154
  return false if @reference_type.nil?
155
155
  true
156
156
  end
@@ -170,10 +170,10 @@ module Hubspot
170
170
  def ==(o)
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
- time_type == o.time_type &&
174
173
  timezone_source == o.timezone_source &&
175
- zone_id == o.zone_id &&
176
174
  property == o.property &&
175
+ time_type == o.time_type &&
176
+ zone_id == o.zone_id &&
177
177
  reference_type == o.reference_type
178
178
  end
179
179
 
@@ -186,7 +186,7 @@ module Hubspot
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [time_type, timezone_source, zone_id, property, reference_type].hash
189
+ [timezone_source, property, time_type, zone_id, reference_type].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Lists
3
3
 
4
- #CRUD operations to manage lists and list memberships
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
6
  The version of the OpenAPI document: v3
7
7
 
@@ -17,20 +17,20 @@ module Hubspot
17
17
  module Crm
18
18
  module Lists
19
19
  class PublicQuarterReference
20
- attr_accessor :reference_type
21
-
22
20
  attr_accessor :hour
23
21
 
24
- attr_accessor :minute
25
-
26
- attr_accessor :second
22
+ attr_accessor :month
27
23
 
28
24
  attr_accessor :millisecond
29
25
 
30
- attr_accessor :month
26
+ attr_accessor :reference_type
31
27
 
32
28
  attr_accessor :day
33
29
 
30
+ attr_accessor :minute
31
+
32
+ attr_accessor :second
33
+
34
34
  class EnumAttributeValidator
35
35
  attr_reader :datatype
36
36
  attr_reader :allowable_values
@@ -56,13 +56,13 @@ module Hubspot
56
56
  # Attribute mapping from ruby-style variable name to JSON key.
57
57
  def self.attribute_map
58
58
  {
59
- :'reference_type' => :'referenceType',
60
59
  :'hour' => :'hour',
61
- :'minute' => :'minute',
62
- :'second' => :'second',
63
- :'millisecond' => :'millisecond',
64
60
  :'month' => :'month',
65
- :'day' => :'day'
61
+ :'millisecond' => :'millisecond',
62
+ :'reference_type' => :'referenceType',
63
+ :'day' => :'day',
64
+ :'minute' => :'minute',
65
+ :'second' => :'second'
66
66
  }
67
67
  end
68
68
 
@@ -74,13 +74,13 @@ module Hubspot
74
74
  # Attribute type mapping.
75
75
  def self.openapi_types
76
76
  {
77
- :'reference_type' => :'String',
78
77
  :'hour' => :'Integer',
79
- :'minute' => :'Integer',
80
- :'second' => :'Integer',
81
- :'millisecond' => :'Integer',
82
78
  :'month' => :'Integer',
83
- :'day' => :'Integer'
79
+ :'millisecond' => :'Integer',
80
+ :'reference_type' => :'String',
81
+ :'day' => :'Integer',
82
+ :'minute' => :'Integer',
83
+ :'second' => :'Integer'
84
84
  }
85
85
  end
86
86
 
@@ -105,49 +105,49 @@ module Hubspot
105
105
  h[k.to_sym] = v
106
106
  }
107
107
 
108
- if attributes.key?(:'reference_type')
109
- self.reference_type = attributes[:'reference_type']
110
- else
111
- self.reference_type = 'QUARTER'
112
- end
113
-
114
108
  if attributes.key?(:'hour')
115
109
  self.hour = attributes[:'hour']
116
110
  end
117
111
 
118
- if attributes.key?(:'minute')
119
- self.minute = attributes[:'minute']
120
- end
121
-
122
- if attributes.key?(:'second')
123
- self.second = attributes[:'second']
112
+ if attributes.key?(:'month')
113
+ self.month = attributes[:'month']
124
114
  end
125
115
 
126
116
  if attributes.key?(:'millisecond')
127
117
  self.millisecond = attributes[:'millisecond']
128
118
  end
129
119
 
130
- if attributes.key?(:'month')
131
- self.month = attributes[:'month']
120
+ if attributes.key?(:'reference_type')
121
+ self.reference_type = attributes[:'reference_type']
122
+ else
123
+ self.reference_type = 'QUARTER'
132
124
  end
133
125
 
134
126
  if attributes.key?(:'day')
135
127
  self.day = attributes[:'day']
136
128
  end
129
+
130
+ if attributes.key?(:'minute')
131
+ self.minute = attributes[:'minute']
132
+ end
133
+
134
+ if attributes.key?(:'second')
135
+ self.second = attributes[:'second']
136
+ end
137
137
  end
138
138
 
139
139
  # Show invalid properties with the reasons. Usually used together with valid?
140
140
  # @return Array for valid properties with the reasons
141
141
  def list_invalid_properties
142
142
  invalid_properties = Array.new
143
- if @reference_type.nil?
144
- invalid_properties.push('invalid value for "reference_type", reference_type cannot be nil.')
145
- end
146
-
147
143
  if @month.nil?
148
144
  invalid_properties.push('invalid value for "month", month cannot be nil.')
149
145
  end
150
146
 
147
+ if @reference_type.nil?
148
+ invalid_properties.push('invalid value for "reference_type", reference_type cannot be nil.')
149
+ end
150
+
151
151
  if @day.nil?
152
152
  invalid_properties.push('invalid value for "day", day cannot be nil.')
153
153
  end
@@ -158,10 +158,10 @@ module Hubspot
158
158
  # Check to see if the all the properties in the model are valid
159
159
  # @return true if the model is valid
160
160
  def valid?
161
+ return false if @month.nil?
161
162
  return false if @reference_type.nil?
162
163
  reference_type_validator = EnumAttributeValidator.new('String', ["QUARTER"])
163
164
  return false unless reference_type_validator.valid?(@reference_type)
164
- return false if @month.nil?
165
165
  return false if @day.nil?
166
166
  true
167
167
  end
@@ -181,13 +181,13 @@ module Hubspot
181
181
  def ==(o)
182
182
  return true if self.equal?(o)
183
183
  self.class == o.class &&
184
- reference_type == o.reference_type &&
185
184
  hour == o.hour &&
186
- minute == o.minute &&
187
- second == o.second &&
188
- millisecond == o.millisecond &&
189
185
  month == o.month &&
190
- day == o.day
186
+ millisecond == o.millisecond &&
187
+ reference_type == o.reference_type &&
188
+ day == o.day &&
189
+ minute == o.minute &&
190
+ second == o.second
191
191
  end
192
192
 
193
193
  # @see the `==` method
@@ -199,7 +199,7 @@ module Hubspot
199
199
  # Calculates hash code according to all attributes.
200
200
  # @return [Integer] Hash code
201
201
  def hash
202
- [reference_type, hour, minute, second, millisecond, month, day].hash
202
+ [hour, month, millisecond, reference_type, day, minute, second].hash
203
203
  end
204
204
 
205
205
  # Builds the object from hash