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 PublicRangedDatePropertyOperation
20
- attr_accessor :operation_type
21
-
22
- attr_accessor :operator
23
-
24
20
  attr_accessor :include_objects_with_no_value_set
25
21
 
26
22
  attr_accessor :upper_bound
27
23
 
24
+ attr_accessor :requires_time_zone_conversion
25
+
26
+ attr_accessor :operation_type
27
+
28
28
  attr_accessor :lower_bound
29
29
 
30
- attr_accessor :requires_time_zone_conversion
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
- :'operation_type' => :'operationType',
58
- :'operator' => :'operator',
59
57
  :'include_objects_with_no_value_set' => :'includeObjectsWithNoValueSet',
60
58
  :'upper_bound' => :'upperBound',
59
+ :'requires_time_zone_conversion' => :'requiresTimeZoneConversion',
60
+ :'operation_type' => :'operationType',
61
61
  :'lower_bound' => :'lowerBound',
62
- :'requires_time_zone_conversion' => :'requiresTimeZoneConversion'
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
- :'operation_type' => :'String',
75
- :'operator' => :'String',
76
74
  :'include_objects_with_no_value_set' => :'Boolean',
77
75
  :'upper_bound' => :'Integer',
76
+ :'requires_time_zone_conversion' => :'Boolean',
77
+ :'operation_type' => :'String',
78
78
  :'lower_bound' => :'Integer',
79
- :'requires_time_zone_conversion' => :'Boolean'
79
+ :'operator' => :'String'
80
80
  }
81
81
  end
82
82
 
@@ -101,16 +101,6 @@ module Hubspot
101
101
  h[k.to_sym] = v
102
102
  }
103
103
 
104
- if attributes.key?(:'operation_type')
105
- self.operation_type = attributes[:'operation_type']
106
- else
107
- self.operation_type = 'RANGED_DATE'
108
- end
109
-
110
- if attributes.key?(:'operator')
111
- self.operator = attributes[:'operator']
112
- end
113
-
114
104
  if attributes.key?(:'include_objects_with_no_value_set')
115
105
  self.include_objects_with_no_value_set = attributes[:'include_objects_with_no_value_set']
116
106
  end
@@ -119,12 +109,22 @@ module Hubspot
119
109
  self.upper_bound = attributes[:'upper_bound']
120
110
  end
121
111
 
112
+ if attributes.key?(:'requires_time_zone_conversion')
113
+ self.requires_time_zone_conversion = attributes[:'requires_time_zone_conversion']
114
+ end
115
+
116
+ if attributes.key?(:'operation_type')
117
+ self.operation_type = attributes[:'operation_type']
118
+ else
119
+ self.operation_type = 'RANGED_DATE'
120
+ end
121
+
122
122
  if attributes.key?(:'lower_bound')
123
123
  self.lower_bound = attributes[:'lower_bound']
124
124
  end
125
125
 
126
- if attributes.key?(:'requires_time_zone_conversion')
127
- self.requires_time_zone_conversion = attributes[:'requires_time_zone_conversion']
126
+ if attributes.key?(:'operator')
127
+ self.operator = attributes[:'operator']
128
128
  end
129
129
  end
130
130
 
@@ -132,14 +132,6 @@ 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 @operation_type.nil?
136
- invalid_properties.push('invalid value for "operation_type", operation_type cannot be nil.')
137
- end
138
-
139
- if @operator.nil?
140
- invalid_properties.push('invalid value for "operator", operator cannot be nil.')
141
- end
142
-
143
135
  if @include_objects_with_no_value_set.nil?
144
136
  invalid_properties.push('invalid value for "include_objects_with_no_value_set", include_objects_with_no_value_set cannot be nil.')
145
137
  end
@@ -148,12 +140,20 @@ module Hubspot
148
140
  invalid_properties.push('invalid value for "upper_bound", upper_bound cannot be nil.')
149
141
  end
150
142
 
143
+ if @requires_time_zone_conversion.nil?
144
+ invalid_properties.push('invalid value for "requires_time_zone_conversion", requires_time_zone_conversion cannot be nil.')
145
+ end
146
+
147
+ if @operation_type.nil?
148
+ invalid_properties.push('invalid value for "operation_type", operation_type cannot be nil.')
149
+ end
150
+
151
151
  if @lower_bound.nil?
152
152
  invalid_properties.push('invalid value for "lower_bound", lower_bound cannot be nil.')
153
153
  end
154
154
 
155
- if @requires_time_zone_conversion.nil?
156
- invalid_properties.push('invalid value for "requires_time_zone_conversion", requires_time_zone_conversion cannot be nil.')
155
+ if @operator.nil?
156
+ invalid_properties.push('invalid value for "operator", operator cannot be nil.')
157
157
  end
158
158
 
159
159
  invalid_properties
@@ -162,14 +162,14 @@ module Hubspot
162
162
  # Check to see if the all the properties in the model are valid
163
163
  # @return true if the model is valid
164
164
  def valid?
165
+ return false if @include_objects_with_no_value_set.nil?
166
+ return false if @upper_bound.nil?
167
+ return false if @requires_time_zone_conversion.nil?
165
168
  return false if @operation_type.nil?
166
169
  operation_type_validator = EnumAttributeValidator.new('String', ["RANGED_DATE"])
167
170
  return false unless operation_type_validator.valid?(@operation_type)
168
- return false if @operator.nil?
169
- return false if @include_objects_with_no_value_set.nil?
170
- return false if @upper_bound.nil?
171
171
  return false if @lower_bound.nil?
172
- return false if @requires_time_zone_conversion.nil?
172
+ return false if @operator.nil?
173
173
  true
174
174
  end
175
175
 
@@ -188,12 +188,12 @@ module Hubspot
188
188
  def ==(o)
189
189
  return true if self.equal?(o)
190
190
  self.class == o.class &&
191
- operation_type == o.operation_type &&
192
- operator == o.operator &&
193
191
  include_objects_with_no_value_set == o.include_objects_with_no_value_set &&
194
192
  upper_bound == o.upper_bound &&
193
+ requires_time_zone_conversion == o.requires_time_zone_conversion &&
194
+ operation_type == o.operation_type &&
195
195
  lower_bound == o.lower_bound &&
196
- requires_time_zone_conversion == o.requires_time_zone_conversion
196
+ operator == o.operator
197
197
  end
198
198
 
199
199
  # @see the `==` method
@@ -205,7 +205,7 @@ module Hubspot
205
205
  # Calculates hash code according to all attributes.
206
206
  # @return [Integer] Hash code
207
207
  def hash
208
- [operation_type, operator, include_objects_with_no_value_set, upper_bound, lower_bound, requires_time_zone_conversion].hash
208
+ [include_objects_with_no_value_set, upper_bound, requires_time_zone_conversion, operation_type, lower_bound, operator].hash
209
209
  end
210
210
 
211
211
  # 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,16 +17,16 @@ module Hubspot
17
17
  module Crm
18
18
  module Lists
19
19
  class PublicRangedNumberPropertyOperation
20
- attr_accessor :operation_type
21
-
22
- attr_accessor :operator
23
-
24
20
  attr_accessor :include_objects_with_no_value_set
25
21
 
26
22
  attr_accessor :upper_bound
27
23
 
24
+ attr_accessor :operation_type
25
+
28
26
  attr_accessor :lower_bound
29
27
 
28
+ attr_accessor :operator
29
+
30
30
  class EnumAttributeValidator
31
31
  attr_reader :datatype
32
32
  attr_reader :allowable_values
@@ -52,11 +52,11 @@ module Hubspot
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
53
53
  def self.attribute_map
54
54
  {
55
- :'operation_type' => :'operationType',
56
- :'operator' => :'operator',
57
55
  :'include_objects_with_no_value_set' => :'includeObjectsWithNoValueSet',
58
56
  :'upper_bound' => :'upperBound',
59
- :'lower_bound' => :'lowerBound'
57
+ :'operation_type' => :'operationType',
58
+ :'lower_bound' => :'lowerBound',
59
+ :'operator' => :'operator'
60
60
  }
61
61
  end
62
62
 
@@ -68,11 +68,11 @@ module Hubspot
68
68
  # Attribute type mapping.
69
69
  def self.openapi_types
70
70
  {
71
- :'operation_type' => :'String',
72
- :'operator' => :'String',
73
71
  :'include_objects_with_no_value_set' => :'Boolean',
74
72
  :'upper_bound' => :'Integer',
75
- :'lower_bound' => :'Integer'
73
+ :'operation_type' => :'String',
74
+ :'lower_bound' => :'Integer',
75
+ :'operator' => :'String'
76
76
  }
77
77
  end
78
78
 
@@ -97,16 +97,6 @@ module Hubspot
97
97
  h[k.to_sym] = v
98
98
  }
99
99
 
100
- if attributes.key?(:'operation_type')
101
- self.operation_type = attributes[:'operation_type']
102
- else
103
- self.operation_type = 'NUMBER_RANGED'
104
- end
105
-
106
- if attributes.key?(:'operator')
107
- self.operator = attributes[:'operator']
108
- end
109
-
110
100
  if attributes.key?(:'include_objects_with_no_value_set')
111
101
  self.include_objects_with_no_value_set = attributes[:'include_objects_with_no_value_set']
112
102
  end
@@ -115,23 +105,25 @@ module Hubspot
115
105
  self.upper_bound = attributes[:'upper_bound']
116
106
  end
117
107
 
108
+ if attributes.key?(:'operation_type')
109
+ self.operation_type = attributes[:'operation_type']
110
+ else
111
+ self.operation_type = 'NUMBER_RANGED'
112
+ end
113
+
118
114
  if attributes.key?(:'lower_bound')
119
115
  self.lower_bound = attributes[:'lower_bound']
120
116
  end
117
+
118
+ if attributes.key?(:'operator')
119
+ self.operator = attributes[:'operator']
120
+ end
121
121
  end
122
122
 
123
123
  # Show invalid properties with the reasons. Usually used together with valid?
124
124
  # @return Array for valid properties with the reasons
125
125
  def list_invalid_properties
126
126
  invalid_properties = Array.new
127
- if @operation_type.nil?
128
- invalid_properties.push('invalid value for "operation_type", operation_type cannot be nil.')
129
- end
130
-
131
- if @operator.nil?
132
- invalid_properties.push('invalid value for "operator", operator cannot be nil.')
133
- end
134
-
135
127
  if @include_objects_with_no_value_set.nil?
136
128
  invalid_properties.push('invalid value for "include_objects_with_no_value_set", include_objects_with_no_value_set cannot be nil.')
137
129
  end
@@ -140,23 +132,31 @@ module Hubspot
140
132
  invalid_properties.push('invalid value for "upper_bound", upper_bound cannot be nil.')
141
133
  end
142
134
 
135
+ if @operation_type.nil?
136
+ invalid_properties.push('invalid value for "operation_type", operation_type cannot be nil.')
137
+ end
138
+
143
139
  if @lower_bound.nil?
144
140
  invalid_properties.push('invalid value for "lower_bound", lower_bound cannot be nil.')
145
141
  end
146
142
 
143
+ if @operator.nil?
144
+ invalid_properties.push('invalid value for "operator", operator cannot be nil.')
145
+ end
146
+
147
147
  invalid_properties
148
148
  end
149
149
 
150
150
  # Check to see if the all the properties in the model are valid
151
151
  # @return true if the model is valid
152
152
  def valid?
153
+ return false if @include_objects_with_no_value_set.nil?
154
+ return false if @upper_bound.nil?
153
155
  return false if @operation_type.nil?
154
156
  operation_type_validator = EnumAttributeValidator.new('String', ["NUMBER_RANGED"])
155
157
  return false unless operation_type_validator.valid?(@operation_type)
156
- return false if @operator.nil?
157
- return false if @include_objects_with_no_value_set.nil?
158
- return false if @upper_bound.nil?
159
158
  return false if @lower_bound.nil?
159
+ return false if @operator.nil?
160
160
  true
161
161
  end
162
162
 
@@ -175,11 +175,11 @@ module Hubspot
175
175
  def ==(o)
176
176
  return true if self.equal?(o)
177
177
  self.class == o.class &&
178
- operation_type == o.operation_type &&
179
- operator == o.operator &&
180
178
  include_objects_with_no_value_set == o.include_objects_with_no_value_set &&
181
179
  upper_bound == o.upper_bound &&
182
- lower_bound == o.lower_bound
180
+ operation_type == o.operation_type &&
181
+ lower_bound == o.lower_bound &&
182
+ operator == o.operator
183
183
  end
184
184
 
185
185
  # @see the `==` method
@@ -191,7 +191,7 @@ module Hubspot
191
191
  # Calculates hash code according to all attributes.
192
192
  # @return [Integer] Hash code
193
193
  def hash
194
- [operation_type, operator, include_objects_with_no_value_set, upper_bound, lower_bound].hash
194
+ [include_objects_with_no_value_set, upper_bound, operation_type, lower_bound, operator].hash
195
195
  end
196
196
 
197
197
  # 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,23 +17,23 @@ module Hubspot
17
17
  module Crm
18
18
  module Lists
19
19
  class PublicRangedTimeOperation
20
- attr_accessor :type
21
-
22
- attr_accessor :operator
20
+ attr_accessor :upper_bound_endpoint_behavior
23
21
 
24
22
  attr_accessor :include_objects_with_no_value_set
25
23
 
26
- attr_accessor :lower_bound_endpoint_behavior
27
-
28
- attr_accessor :upper_bound_endpoint_behavior
24
+ attr_accessor :upper_bound_time_point
29
25
 
30
26
  attr_accessor :property_parser
31
27
 
32
- attr_accessor :lower_bound_time_point
28
+ attr_accessor :operation_type
33
29
 
34
- attr_accessor :upper_bound_time_point
30
+ attr_accessor :type
35
31
 
36
- attr_accessor :operation_type
32
+ attr_accessor :lower_bound_endpoint_behavior
33
+
34
+ attr_accessor :operator
35
+
36
+ attr_accessor :lower_bound_time_point
37
37
 
38
38
  class EnumAttributeValidator
39
39
  attr_reader :datatype
@@ -60,15 +60,15 @@ module Hubspot
60
60
  # Attribute mapping from ruby-style variable name to JSON key.
61
61
  def self.attribute_map
62
62
  {
63
- :'type' => :'type',
64
- :'operator' => :'operator',
65
- :'include_objects_with_no_value_set' => :'includeObjectsWithNoValueSet',
66
- :'lower_bound_endpoint_behavior' => :'lowerBoundEndpointBehavior',
67
63
  :'upper_bound_endpoint_behavior' => :'upperBoundEndpointBehavior',
68
- :'property_parser' => :'propertyParser',
69
- :'lower_bound_time_point' => :'lowerBoundTimePoint',
64
+ :'include_objects_with_no_value_set' => :'includeObjectsWithNoValueSet',
70
65
  :'upper_bound_time_point' => :'upperBoundTimePoint',
71
- :'operation_type' => :'operationType'
66
+ :'property_parser' => :'propertyParser',
67
+ :'operation_type' => :'operationType',
68
+ :'type' => :'type',
69
+ :'lower_bound_endpoint_behavior' => :'lowerBoundEndpointBehavior',
70
+ :'operator' => :'operator',
71
+ :'lower_bound_time_point' => :'lowerBoundTimePoint'
72
72
  }
73
73
  end
74
74
 
@@ -80,15 +80,15 @@ module Hubspot
80
80
  # Attribute type mapping.
81
81
  def self.openapi_types
82
82
  {
83
- :'type' => :'String',
84
- :'operator' => :'String',
85
- :'include_objects_with_no_value_set' => :'Boolean',
86
- :'lower_bound_endpoint_behavior' => :'String',
87
83
  :'upper_bound_endpoint_behavior' => :'String',
88
- :'property_parser' => :'String',
89
- :'lower_bound_time_point' => :'PublicTimePointOperationTimePoint',
84
+ :'include_objects_with_no_value_set' => :'Boolean',
90
85
  :'upper_bound_time_point' => :'PublicTimePointOperationTimePoint',
91
- :'operation_type' => :'String'
86
+ :'property_parser' => :'String',
87
+ :'operation_type' => :'String',
88
+ :'type' => :'String',
89
+ :'lower_bound_endpoint_behavior' => :'String',
90
+ :'operator' => :'String',
91
+ :'lower_bound_time_point' => :'PublicTimePointOperationTimePoint'
92
92
  }
93
93
  end
94
94
 
@@ -113,42 +113,42 @@ module Hubspot
113
113
  h[k.to_sym] = v
114
114
  }
115
115
 
116
- if attributes.key?(:'type')
117
- self.type = attributes[:'type']
118
- else
119
- self.type = 'TIME_RANGED'
120
- end
121
-
122
- if attributes.key?(:'operator')
123
- self.operator = attributes[:'operator']
116
+ if attributes.key?(:'upper_bound_endpoint_behavior')
117
+ self.upper_bound_endpoint_behavior = attributes[:'upper_bound_endpoint_behavior']
124
118
  end
125
119
 
126
120
  if attributes.key?(:'include_objects_with_no_value_set')
127
121
  self.include_objects_with_no_value_set = attributes[:'include_objects_with_no_value_set']
128
122
  end
129
123
 
130
- if attributes.key?(:'lower_bound_endpoint_behavior')
131
- self.lower_bound_endpoint_behavior = attributes[:'lower_bound_endpoint_behavior']
132
- end
133
-
134
- if attributes.key?(:'upper_bound_endpoint_behavior')
135
- self.upper_bound_endpoint_behavior = attributes[:'upper_bound_endpoint_behavior']
124
+ if attributes.key?(:'upper_bound_time_point')
125
+ self.upper_bound_time_point = attributes[:'upper_bound_time_point']
136
126
  end
137
127
 
138
128
  if attributes.key?(:'property_parser')
139
129
  self.property_parser = attributes[:'property_parser']
140
130
  end
141
131
 
142
- if attributes.key?(:'lower_bound_time_point')
143
- self.lower_bound_time_point = attributes[:'lower_bound_time_point']
132
+ if attributes.key?(:'operation_type')
133
+ self.operation_type = attributes[:'operation_type']
144
134
  end
145
135
 
146
- if attributes.key?(:'upper_bound_time_point')
147
- self.upper_bound_time_point = attributes[:'upper_bound_time_point']
136
+ if attributes.key?(:'type')
137
+ self.type = attributes[:'type']
138
+ else
139
+ self.type = 'TIME_RANGED'
148
140
  end
149
141
 
150
- if attributes.key?(:'operation_type')
151
- self.operation_type = attributes[:'operation_type']
142
+ if attributes.key?(:'lower_bound_endpoint_behavior')
143
+ self.lower_bound_endpoint_behavior = attributes[:'lower_bound_endpoint_behavior']
144
+ end
145
+
146
+ if attributes.key?(:'operator')
147
+ self.operator = attributes[:'operator']
148
+ end
149
+
150
+ if attributes.key?(:'lower_bound_time_point')
151
+ self.lower_bound_time_point = attributes[:'lower_bound_time_point']
152
152
  end
153
153
  end
154
154
 
@@ -156,22 +156,10 @@ module Hubspot
156
156
  # @return Array for valid properties with the reasons
157
157
  def list_invalid_properties
158
158
  invalid_properties = Array.new
159
- if @type.nil?
160
- invalid_properties.push('invalid value for "type", type cannot be nil.')
161
- end
162
-
163
- if @operator.nil?
164
- invalid_properties.push('invalid value for "operator", operator cannot be nil.')
165
- end
166
-
167
159
  if @include_objects_with_no_value_set.nil?
168
160
  invalid_properties.push('invalid value for "include_objects_with_no_value_set", include_objects_with_no_value_set cannot be nil.')
169
161
  end
170
162
 
171
- if @lower_bound_time_point.nil?
172
- invalid_properties.push('invalid value for "lower_bound_time_point", lower_bound_time_point cannot be nil.')
173
- end
174
-
175
163
  if @upper_bound_time_point.nil?
176
164
  invalid_properties.push('invalid value for "upper_bound_time_point", upper_bound_time_point cannot be nil.')
177
165
  end
@@ -180,20 +168,32 @@ module Hubspot
180
168
  invalid_properties.push('invalid value for "operation_type", operation_type cannot be nil.')
181
169
  end
182
170
 
171
+ if @type.nil?
172
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
173
+ end
174
+
175
+ if @operator.nil?
176
+ invalid_properties.push('invalid value for "operator", operator cannot be nil.')
177
+ end
178
+
179
+ if @lower_bound_time_point.nil?
180
+ invalid_properties.push('invalid value for "lower_bound_time_point", lower_bound_time_point cannot be nil.')
181
+ end
182
+
183
183
  invalid_properties
184
184
  end
185
185
 
186
186
  # Check to see if the all the properties in the model are valid
187
187
  # @return true if the model is valid
188
188
  def valid?
189
+ return false if @include_objects_with_no_value_set.nil?
190
+ return false if @upper_bound_time_point.nil?
191
+ return false if @operation_type.nil?
189
192
  return false if @type.nil?
190
193
  type_validator = EnumAttributeValidator.new('String', ["TIME_RANGED"])
191
194
  return false unless type_validator.valid?(@type)
192
195
  return false if @operator.nil?
193
- return false if @include_objects_with_no_value_set.nil?
194
196
  return false if @lower_bound_time_point.nil?
195
- return false if @upper_bound_time_point.nil?
196
- return false if @operation_type.nil?
197
197
  true
198
198
  end
199
199
 
@@ -212,15 +212,15 @@ module Hubspot
212
212
  def ==(o)
213
213
  return true if self.equal?(o)
214
214
  self.class == o.class &&
215
- type == o.type &&
216
- operator == o.operator &&
217
- include_objects_with_no_value_set == o.include_objects_with_no_value_set &&
218
- lower_bound_endpoint_behavior == o.lower_bound_endpoint_behavior &&
219
215
  upper_bound_endpoint_behavior == o.upper_bound_endpoint_behavior &&
220
- property_parser == o.property_parser &&
221
- lower_bound_time_point == o.lower_bound_time_point &&
216
+ include_objects_with_no_value_set == o.include_objects_with_no_value_set &&
222
217
  upper_bound_time_point == o.upper_bound_time_point &&
223
- operation_type == o.operation_type
218
+ property_parser == o.property_parser &&
219
+ operation_type == o.operation_type &&
220
+ type == o.type &&
221
+ lower_bound_endpoint_behavior == o.lower_bound_endpoint_behavior &&
222
+ operator == o.operator &&
223
+ lower_bound_time_point == o.lower_bound_time_point
224
224
  end
225
225
 
226
226
  # @see the `==` method
@@ -232,7 +232,7 @@ module Hubspot
232
232
  # Calculates hash code according to all attributes.
233
233
  # @return [Integer] Hash code
234
234
  def hash
235
- [type, operator, include_objects_with_no_value_set, lower_bound_endpoint_behavior, upper_bound_endpoint_behavior, property_parser, lower_bound_time_point, upper_bound_time_point, operation_type].hash
235
+ [upper_bound_endpoint_behavior, include_objects_with_no_value_set, upper_bound_time_point, property_parser, operation_type, type, lower_bound_endpoint_behavior, operator, lower_bound_time_point].hash
236
236
  end
237
237
 
238
238
  # Builds the object from hash