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
@@ -42,6 +42,8 @@ module Hubspot
42
42
 
43
43
  attr_accessor :state
44
44
 
45
+ attr_accessor :campaign_name
46
+
45
47
  attr_accessor :updated
46
48
 
47
49
  attr_accessor :slug
@@ -61,6 +63,7 @@ module Hubspot
61
63
  :'campaign' => :'campaign',
62
64
  :'id' => :'id',
63
65
  :'state' => :'state',
66
+ :'campaign_name' => :'campaignName',
64
67
  :'updated' => :'updated',
65
68
  :'slug' => :'slug'
66
69
  }
@@ -86,6 +89,7 @@ module Hubspot
86
89
  :'campaign' => :'String',
87
90
  :'id' => :'Integer',
88
91
  :'state' => :'String',
92
+ :'campaign_name' => :'String',
89
93
  :'updated' => :'Time',
90
94
  :'slug' => :'String'
91
95
  }
@@ -164,6 +168,10 @@ module Hubspot
164
168
  self.state = attributes[:'state']
165
169
  end
166
170
 
171
+ if attributes.key?(:'campaign_name')
172
+ self.campaign_name = attributes[:'campaign_name']
173
+ end
174
+
167
175
  if attributes.key?(:'updated')
168
176
  self.updated = attributes[:'updated']
169
177
  end
@@ -221,6 +229,10 @@ module Hubspot
221
229
  invalid_properties.push('invalid value for "state", state cannot be nil.')
222
230
  end
223
231
 
232
+ if @campaign_name.nil?
233
+ invalid_properties.push('invalid value for "campaign_name", campaign_name cannot be nil.')
234
+ end
235
+
224
236
  if @updated.nil?
225
237
  invalid_properties.push('invalid value for "updated", updated cannot be nil.')
226
238
  end
@@ -246,6 +258,7 @@ module Hubspot
246
258
  return false if @campaign.nil?
247
259
  return false if @id.nil?
248
260
  return false if @state.nil?
261
+ return false if @campaign_name.nil?
249
262
  return false if @updated.nil?
250
263
  return false if @slug.nil?
251
264
  true
@@ -268,6 +281,7 @@ module Hubspot
268
281
  campaign == o.campaign &&
269
282
  id == o.id &&
270
283
  state == o.state &&
284
+ campaign_name == o.campaign_name &&
271
285
  updated == o.updated &&
272
286
  slug == o.slug
273
287
  end
@@ -281,7 +295,7 @@ module Hubspot
281
295
  # Calculates hash code according to all attributes.
282
296
  # @return [Integer] Hash code
283
297
  def hash
284
- [archived_in_dashboard, created, tag_ids, publish_date, public_access_rules, password, author_name, public_access_rules_enabled, name, campaign, id, state, updated, slug].hash
298
+ [archived_in_dashboard, created, tag_ids, publish_date, public_access_rules, password, author_name, public_access_rules_enabled, name, campaign, id, state, campaign_name, updated, slug].hash
285
299
  end
286
300
 
287
301
  # Builds the object from hash
@@ -26,6 +26,8 @@ module Hubspot
26
26
 
27
27
  attr_accessor :force_full_width_section
28
28
 
29
+ attr_accessor :breakpoint_styles
30
+
29
31
  attr_accessor :vertical_alignment
30
32
 
31
33
  attr_accessor :max_width_section_centering
@@ -39,6 +41,7 @@ module Hubspot
39
41
  :'flexbox_positioning' => :'flexboxPositioning',
40
42
  :'background_image' => :'backgroundImage',
41
43
  :'force_full_width_section' => :'forceFullWidthSection',
44
+ :'breakpoint_styles' => :'breakpointStyles',
42
45
  :'vertical_alignment' => :'verticalAlignment',
43
46
  :'max_width_section_centering' => :'maxWidthSectionCentering',
44
47
  :'background_gradient' => :'backgroundGradient'
@@ -57,6 +60,7 @@ module Hubspot
57
60
  :'flexbox_positioning' => :'String',
58
61
  :'background_image' => :'BackgroundImage',
59
62
  :'force_full_width_section' => :'Boolean',
63
+ :'breakpoint_styles' => :'Hash<String, BreakpointStyles>',
60
64
  :'vertical_alignment' => :'String',
61
65
  :'max_width_section_centering' => :'Integer',
62
66
  :'background_gradient' => :'Gradient'
@@ -100,6 +104,12 @@ module Hubspot
100
104
  self.force_full_width_section = attributes[:'force_full_width_section']
101
105
  end
102
106
 
107
+ if attributes.key?(:'breakpoint_styles')
108
+ if (value = attributes[:'breakpoint_styles']).is_a?(Hash)
109
+ self.breakpoint_styles = value
110
+ end
111
+ end
112
+
103
113
  if attributes.key?(:'vertical_alignment')
104
114
  self.vertical_alignment = attributes[:'vertical_alignment']
105
115
  end
@@ -170,6 +180,7 @@ module Hubspot
170
180
  flexbox_positioning == o.flexbox_positioning &&
171
181
  background_image == o.background_image &&
172
182
  force_full_width_section == o.force_full_width_section &&
183
+ breakpoint_styles == o.breakpoint_styles &&
173
184
  vertical_alignment == o.vertical_alignment &&
174
185
  max_width_section_centering == o.max_width_section_centering &&
175
186
  background_gradient == o.background_gradient
@@ -184,7 +195,7 @@ module Hubspot
184
195
  # Calculates hash code according to all attributes.
185
196
  # @return [Integer] Hash code
186
197
  def hash
187
- [background_color, flexbox_positioning, background_image, force_full_width_section, vertical_alignment, max_width_section_centering, background_gradient].hash
198
+ [background_color, flexbox_positioning, background_image, force_full_width_section, breakpoint_styles, vertical_alignment, max_width_section_centering, background_gradient].hash
188
199
  end
189
200
 
190
201
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Hubdb
3
3
 
4
- #HubDB is a relational data store that presents data as rows, columns, and cells in a table, much like a spreadsheet. HubDB tables can be added or modified [in the HubSpot CMS](https://knowledge.hubspot.com/cos-general/how-to-edit-hubdb-tables), but you can also use the API endpoints documented here. For more information on HubDB tables and using their data on a HubSpot site, see the [CMS developers site](https://designers.hubspot.com/docs/tools/hubdb). You can also see the [documentation for dynamic pages](https://designers.hubspot.com/docs/tutorials/how-to-build-dynamic-pages-with-hubdb) for more details about the `useForPages` field. HubDB tables support `draft` and `published` versions. This allows you to update data in the table, either for testing or to allow for a manual approval process, without affecting any live pages using the existing data. Draft data can be reviewed, and published by a user working in HubSpot or published via the API. Draft data can also be discarded, allowing users to go back to the published version of the data without disrupting it. If a table is set to be `allowed for public access`, you can access the published version of the table and rows without any authentication by specifying the portal id via the query parameter `portalId`.
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
 
@@ -22,10 +22,11 @@ module Hubspot
22
22
  @api_client = api_client
23
23
  end
24
24
  # Clone a row
25
- # Clones a single row in the `draft` version of the table.
25
+ # Clones a single row in the draft version of a table.
26
26
  # @param table_id_or_name [String] The ID or name of the table
27
27
  # @param row_id [String] The ID of the row
28
28
  # @param [Hash] opts the optional parameters
29
+ # @option opts [String] :name
29
30
  # @return [HubDbTableRowV3]
30
31
  def clone_draft_table_row(table_id_or_name, row_id, opts = {})
31
32
  data, _status_code, _headers = clone_draft_table_row_with_http_info(table_id_or_name, row_id, opts)
@@ -33,10 +34,11 @@ module Hubspot
33
34
  end
34
35
 
35
36
  # Clone a row
36
- # Clones a single row in the &#x60;draft&#x60; version of the table.
37
+ # Clones a single row in the draft version of a table.
37
38
  # @param table_id_or_name [String] The ID or name of the table
38
39
  # @param row_id [String] The ID of the row
39
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :name
40
42
  # @return [Array<(HubDbTableRowV3, Integer, Hash)>] HubDbTableRowV3 data, response status code and response headers
41
43
  def clone_draft_table_row_with_http_info(table_id_or_name, row_id, opts = {})
42
44
  if @api_client.config.debugging
@@ -60,6 +62,7 @@ module Hubspot
60
62
 
61
63
  # query parameters
62
64
  query_params = opts[:query_params] || {}
65
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
63
66
 
64
67
  # header parameters
65
68
  header_params = opts[:header_params] || {}
@@ -96,9 +99,9 @@ module Hubspot
96
99
  end
97
100
 
98
101
  # Add a new row to a table
99
- # Add a new row to a HubDB table. New rows will be added to the `draft` version of the table. Use `publish` endpoint to push these changes to published version.
102
+ # Add a new row to a HubDB table. New rows will be added to the draft version of the table. Use the `/publish` endpoint to push these changes to published version.
100
103
  # @param table_id_or_name [String] The ID or name of the target table.
101
- # @param hub_db_table_row_v3_request [HubDbTableRowV3Request] The row definition JSON, formatted as described above.
104
+ # @param hub_db_table_row_v3_request [HubDbTableRowV3Request]
102
105
  # @param [Hash] opts the optional parameters
103
106
  # @return [HubDbTableRowV3]
104
107
  def create_table_row(table_id_or_name, hub_db_table_row_v3_request, opts = {})
@@ -107,9 +110,9 @@ module Hubspot
107
110
  end
108
111
 
109
112
  # Add a new row to a table
110
- # Add a new row to a HubDB table. New rows will be added to the &#x60;draft&#x60; version of the table. Use &#x60;publish&#x60; endpoint to push these changes to published version.
113
+ # Add a new row to a HubDB table. New rows will be added to the draft version of the table. Use the &#x60;/publish&#x60; endpoint to push these changes to published version.
111
114
  # @param table_id_or_name [String] The ID or name of the target table.
112
- # @param hub_db_table_row_v3_request [HubDbTableRowV3Request] The row definition JSON, formatted as described above.
115
+ # @param hub_db_table_row_v3_request [HubDbTableRowV3Request]
113
116
  # @param [Hash] opts the optional parameters
114
117
  # @return [Array<(HubDbTableRowV3, Integer, Hash)>] HubDbTableRowV3 data, response status code and response headers
115
118
  def create_table_row_with_http_info(table_id_or_name, hub_db_table_row_v3_request, opts = {})
@@ -170,10 +173,11 @@ module Hubspot
170
173
  end
171
174
 
172
175
  # Get a row from the draft table
173
- # Get a single row by ID from a table's `draft` version.
176
+ # Get a single row by ID from a table's draft version.
174
177
  # @param table_id_or_name [String] The ID or name of the table
175
178
  # @param row_id [String] The ID of the row
176
179
  # @param [Hash] opts the optional parameters
180
+ # @option opts [Boolean] :archived
177
181
  # @return [HubDbTableRowV3]
178
182
  def get_draft_table_row_by_id(table_id_or_name, row_id, opts = {})
179
183
  data, _status_code, _headers = get_draft_table_row_by_id_with_http_info(table_id_or_name, row_id, opts)
@@ -181,10 +185,11 @@ module Hubspot
181
185
  end
182
186
 
183
187
  # Get a row from the draft table
184
- # Get a single row by ID from a table&#39;s &#x60;draft&#x60; version.
188
+ # Get a single row by ID from a table&#39;s draft version.
185
189
  # @param table_id_or_name [String] The ID or name of the table
186
190
  # @param row_id [String] The ID of the row
187
191
  # @param [Hash] opts the optional parameters
192
+ # @option opts [Boolean] :archived
188
193
  # @return [Array<(HubDbTableRowV3, Integer, Hash)>] HubDbTableRowV3 data, response status code and response headers
189
194
  def get_draft_table_row_by_id_with_http_info(table_id_or_name, row_id, opts = {})
190
195
  if @api_client.config.debugging
@@ -208,6 +213,7 @@ module Hubspot
208
213
 
209
214
  # query parameters
210
215
  query_params = opts[:query_params] || {}
216
+ query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
211
217
 
212
218
  # header parameters
213
219
  header_params = opts[:header_params] || {}
@@ -244,10 +250,11 @@ module Hubspot
244
250
  end
245
251
 
246
252
  # Get a table row
247
- # Get a single row by ID from a table's `published` version. **Note:** This endpoint can be accessed without any authentication, if the table is set to be allowed for public access.
253
+ # Get a single row by ID from the published version of a table. **Note:** This endpoint can be accessed without any authentication, if the table is set to be allowed for public access.
248
254
  # @param table_id_or_name [String] The ID or name of the table
249
255
  # @param row_id [String] The ID of the row
250
256
  # @param [Hash] opts the optional parameters
257
+ # @option opts [Boolean] :archived
251
258
  # @return [HubDbTableRowV3]
252
259
  def get_table_row(table_id_or_name, row_id, opts = {})
253
260
  data, _status_code, _headers = get_table_row_with_http_info(table_id_or_name, row_id, opts)
@@ -255,10 +262,11 @@ module Hubspot
255
262
  end
256
263
 
257
264
  # Get a table row
258
- # Get a single row by ID from a table&#39;s &#x60;published&#x60; version. **Note:** This endpoint can be accessed without any authentication, if the table is set to be allowed for public access.
265
+ # Get a single row by ID from the published version of a table. **Note:** This endpoint can be accessed without any authentication, if the table is set to be allowed for public access.
259
266
  # @param table_id_or_name [String] The ID or name of the table
260
267
  # @param row_id [String] The ID of the row
261
268
  # @param [Hash] opts the optional parameters
269
+ # @option opts [Boolean] :archived
262
270
  # @return [Array<(HubDbTableRowV3, Integer, Hash)>] HubDbTableRowV3 data, response status code and response headers
263
271
  def get_table_row_with_http_info(table_id_or_name, row_id, opts = {})
264
272
  if @api_client.config.debugging
@@ -282,6 +290,7 @@ module Hubspot
282
290
 
283
291
  # query parameters
284
292
  query_params = opts[:query_params] || {}
293
+ query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
285
294
 
286
295
  # header parameters
287
296
  header_params = opts[:header_params] || {}
@@ -318,28 +327,32 @@ module Hubspot
318
327
  end
319
328
 
320
329
  # Get rows for a table
321
- # Returns a set of rows in the `published` version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters `column1__gt=5&sort=-column1`, API returns the rows with values for column `column1` greater than 5 and in the descending order of `column1` values. Refer to the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#filtering-and-sorting-table-rows) for detailed filtering and sorting options. **Note:** This endpoint can be accessed without any authentication, if the table is set to be allowed for public access.
330
+ # Returns a set of rows in the published version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters `column1__gt=5&sort=-column1`, API returns the rows with values for column `column1` greater than 5 and in the descending order of `column1` values. Refer to the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#filtering-and-sorting-table-rows) for detailed filtering and sorting options. **Note:** This endpoint can be accessed without any authentication, if the table is set to be allowed for public access.
322
331
  # @param table_id_or_name [String] The ID or name of the table to query.
323
332
  # @param [Hash] opts the optional parameters
324
333
  # @option opts [Array<String>] :sort Specifies the column names to sort the results by. See the above description for more details.
325
334
  # @option opts [String] :after The cursor token value to get the next set of results. You can get this from the &#x60;paging.next.after&#x60; JSON property of a paged response containing more results.
326
335
  # @option opts [Integer] :limit The maximum number of results to return. Default is &#x60;1000&#x60;.
327
336
  # @option opts [Array<String>] :properties Specify the column names to get results containing only the required columns instead of all column details.
328
- # @return [CollectionResponseWithTotalHubDbTableRowV3ForwardPaging]
337
+ # @option opts [Integer] :offset
338
+ # @option opts [Boolean] :archived
339
+ # @return [UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3]
329
340
  def get_table_rows(table_id_or_name, opts = {})
330
341
  data, _status_code, _headers = get_table_rows_with_http_info(table_id_or_name, opts)
331
342
  data
332
343
  end
333
344
 
334
345
  # Get rows for a table
335
- # Returns a set of rows in the &#x60;published&#x60; version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters &#x60;column1__gt&#x3D;5&amp;sort&#x3D;-column1&#x60;, API returns the rows with values for column &#x60;column1&#x60; greater than 5 and in the descending order of &#x60;column1&#x60; values. Refer to the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#filtering-and-sorting-table-rows) for detailed filtering and sorting options. **Note:** This endpoint can be accessed without any authentication, if the table is set to be allowed for public access.
346
+ # Returns a set of rows in the published version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters &#x60;column1__gt&#x3D;5&amp;sort&#x3D;-column1&#x60;, API returns the rows with values for column &#x60;column1&#x60; greater than 5 and in the descending order of &#x60;column1&#x60; values. Refer to the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#filtering-and-sorting-table-rows) for detailed filtering and sorting options. **Note:** This endpoint can be accessed without any authentication, if the table is set to be allowed for public access.
336
347
  # @param table_id_or_name [String] The ID or name of the table to query.
337
348
  # @param [Hash] opts the optional parameters
338
349
  # @option opts [Array<String>] :sort Specifies the column names to sort the results by. See the above description for more details.
339
350
  # @option opts [String] :after The cursor token value to get the next set of results. You can get this from the &#x60;paging.next.after&#x60; JSON property of a paged response containing more results.
340
351
  # @option opts [Integer] :limit The maximum number of results to return. Default is &#x60;1000&#x60;.
341
352
  # @option opts [Array<String>] :properties Specify the column names to get results containing only the required columns instead of all column details.
342
- # @return [Array<(CollectionResponseWithTotalHubDbTableRowV3ForwardPaging, Integer, Hash)>] CollectionResponseWithTotalHubDbTableRowV3ForwardPaging data, response status code and response headers
353
+ # @option opts [Integer] :offset
354
+ # @option opts [Boolean] :archived
355
+ # @return [Array<(UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3, Integer, Hash)>] UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3 data, response status code and response headers
343
356
  def get_table_rows_with_http_info(table_id_or_name, opts = {})
344
357
  if @api_client.config.debugging
345
358
  @api_client.config.logger.debug 'Calling API: RowsApi.get_table_rows ...'
@@ -357,6 +370,8 @@ module Hubspot
357
370
  query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
358
371
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
359
372
  query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
373
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
374
+ query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
360
375
 
361
376
  # header parameters
362
377
  header_params = opts[:header_params] || {}
@@ -370,7 +385,7 @@ module Hubspot
370
385
  post_body = opts[:debug_body]
371
386
 
372
387
  # return_type
373
- return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalHubDbTableRowV3ForwardPaging'
388
+ return_type = opts[:debug_return_type] || 'UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3'
374
389
 
375
390
  # auth_names
376
391
  auth_names = opts[:debug_auth_names] || ['oauth2']
@@ -393,7 +408,7 @@ module Hubspot
393
408
  end
394
409
 
395
410
  # Permanently deletes a row
396
- # Permanently deletes a row from a table's `draft` version.
411
+ # Permanently deletes a row from a table's draft version.
397
412
  # @param table_id_or_name [String] The ID or name of the table
398
413
  # @param row_id [String] The ID of the row
399
414
  # @param [Hash] opts the optional parameters
@@ -404,7 +419,7 @@ module Hubspot
404
419
  end
405
420
 
406
421
  # Permanently deletes a row
407
- # Permanently deletes a row from a table&#39;s &#x60;draft&#x60; version.
422
+ # Permanently deletes a row from a table&#39;s draft version.
408
423
  # @param table_id_or_name [String] The ID or name of the table
409
424
  # @param row_id [String] The ID of the row
410
425
  # @param [Hash] opts the optional parameters
@@ -467,28 +482,32 @@ module Hubspot
467
482
  end
468
483
 
469
484
  # Get rows from draft table
470
- # Returns rows in the `draft` version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters `column1__gt=5&sort=-column1`, API returns the rows with values for column `column1` greater than 5 and in the descending order of `column1` values. Refer to the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#filtering-and-sorting-table-rows) for detailed filtering and sorting options.
485
+ # Returns rows in the draft version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters `column1__gt=5&sort=-column1`, API returns the rows with values for column `column1` greater than 5 and in the descending order of `column1` values. Refer to the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#filtering-and-sorting-table-rows) for detailed filtering and sorting options.
471
486
  # @param table_id_or_name [String] The ID or name of the table to query.
472
487
  # @param [Hash] opts the optional parameters
473
488
  # @option opts [Array<String>] :sort Specifies the column names to sort the results by.
474
489
  # @option opts [String] :after The cursor token value to get the next set of results. You can get this from the &#x60;paging.next.after&#x60; JSON property of a paged response containing more results.
475
490
  # @option opts [Integer] :limit The maximum number of results to return. Default is &#x60;1000&#x60;.
476
491
  # @option opts [Array<String>] :properties Specify the column names to get results containing only the required columns instead of all column details. If you want to include multiple columns in the result, use this query param as many times.
477
- # @return [CollectionResponseWithTotalHubDbTableRowV3ForwardPaging]
492
+ # @option opts [Integer] :offset
493
+ # @option opts [Boolean] :archived
494
+ # @return [UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3]
478
495
  def read_draft_table_rows(table_id_or_name, opts = {})
479
496
  data, _status_code, _headers = read_draft_table_rows_with_http_info(table_id_or_name, opts)
480
497
  data
481
498
  end
482
499
 
483
500
  # Get rows from draft table
484
- # Returns rows in the &#x60;draft&#x60; version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters &#x60;column1__gt&#x3D;5&amp;sort&#x3D;-column1&#x60;, API returns the rows with values for column &#x60;column1&#x60; greater than 5 and in the descending order of &#x60;column1&#x60; values. Refer to the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#filtering-and-sorting-table-rows) for detailed filtering and sorting options.
501
+ # Returns rows in the draft version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters &#x60;column1__gt&#x3D;5&amp;sort&#x3D;-column1&#x60;, API returns the rows with values for column &#x60;column1&#x60; greater than 5 and in the descending order of &#x60;column1&#x60; values. Refer to the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#filtering-and-sorting-table-rows) for detailed filtering and sorting options.
485
502
  # @param table_id_or_name [String] The ID or name of the table to query.
486
503
  # @param [Hash] opts the optional parameters
487
504
  # @option opts [Array<String>] :sort Specifies the column names to sort the results by.
488
505
  # @option opts [String] :after The cursor token value to get the next set of results. You can get this from the &#x60;paging.next.after&#x60; JSON property of a paged response containing more results.
489
506
  # @option opts [Integer] :limit The maximum number of results to return. Default is &#x60;1000&#x60;.
490
507
  # @option opts [Array<String>] :properties Specify the column names to get results containing only the required columns instead of all column details. If you want to include multiple columns in the result, use this query param as many times.
491
- # @return [Array<(CollectionResponseWithTotalHubDbTableRowV3ForwardPaging, Integer, Hash)>] CollectionResponseWithTotalHubDbTableRowV3ForwardPaging data, response status code and response headers
508
+ # @option opts [Integer] :offset
509
+ # @option opts [Boolean] :archived
510
+ # @return [Array<(UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3, Integer, Hash)>] UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3 data, response status code and response headers
492
511
  def read_draft_table_rows_with_http_info(table_id_or_name, opts = {})
493
512
  if @api_client.config.debugging
494
513
  @api_client.config.logger.debug 'Calling API: RowsApi.read_draft_table_rows ...'
@@ -506,6 +525,8 @@ module Hubspot
506
525
  query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
507
526
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
508
527
  query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
528
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
529
+ query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
509
530
 
510
531
  # header parameters
511
532
  header_params = opts[:header_params] || {}
@@ -519,7 +540,7 @@ module Hubspot
519
540
  post_body = opts[:debug_body]
520
541
 
521
542
  # return_type
522
- return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalHubDbTableRowV3ForwardPaging'
543
+ return_type = opts[:debug_return_type] || 'UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3'
523
544
 
524
545
  # auth_names
525
546
  auth_names = opts[:debug_auth_names] || ['oauth2']
@@ -542,10 +563,10 @@ module Hubspot
542
563
  end
543
564
 
544
565
  # Replaces an existing row
545
- # Replace a single row in the table's `draft` version. All the column values must be specified. If a column has a value in the target table and this request doesn't define that value, it will be deleted. See the `Create a row` endpoint for instructions on how to format the JSON row definitions.
566
+ # Replace a single row in the draft version of a table. All column values must be specified. If a column has a value in the target table and this request doesn't define that value, it will be deleted. See the \"Create a row\" endpoint for instructions on how to format the JSON row definitions.
546
567
  # @param table_id_or_name [String] The ID or name of the table
547
568
  # @param row_id [String] The ID of the row
548
- # @param hub_db_table_row_v3_request [HubDbTableRowV3Request] The JSON object of the row
569
+ # @param hub_db_table_row_v3_request [HubDbTableRowV3Request]
549
570
  # @param [Hash] opts the optional parameters
550
571
  # @return [HubDbTableRowV3]
551
572
  def replace_draft_table_row(table_id_or_name, row_id, hub_db_table_row_v3_request, opts = {})
@@ -554,10 +575,10 @@ module Hubspot
554
575
  end
555
576
 
556
577
  # Replaces an existing row
557
- # Replace a single row in the table&#39;s &#x60;draft&#x60; version. All the column values must be specified. If a column has a value in the target table and this request doesn&#39;t define that value, it will be deleted. See the &#x60;Create a row&#x60; endpoint for instructions on how to format the JSON row definitions.
578
+ # Replace a single row in the draft version of a table. All column values must be specified. If a column has a value in the target table and this request doesn&#39;t define that value, it will be deleted. See the \&quot;Create a row\&quot; endpoint for instructions on how to format the JSON row definitions.
558
579
  # @param table_id_or_name [String] The ID or name of the table
559
580
  # @param row_id [String] The ID of the row
560
- # @param hub_db_table_row_v3_request [HubDbTableRowV3Request] The JSON object of the row
581
+ # @param hub_db_table_row_v3_request [HubDbTableRowV3Request]
561
582
  # @param [Hash] opts the optional parameters
562
583
  # @return [Array<(HubDbTableRowV3, Integer, Hash)>] HubDbTableRowV3 data, response status code and response headers
563
584
  def replace_draft_table_row_with_http_info(table_id_or_name, row_id, hub_db_table_row_v3_request, opts = {})
@@ -627,10 +648,10 @@ module Hubspot
627
648
  end
628
649
 
629
650
  # Updates an existing row
630
- # Sparse updates a single row in the table's `draft` version. All the column values need not be specified. Only the columns or fields that needs to be modified can be specified. See the `Create a row` endpoint for instructions on how to format the JSON row definitions.
651
+ # Sparse updates a single row in the table's draft version. All the column values need not be specified. Only the columns or fields that needs to be modified can be specified. See the \"Create a row\" endpoint for instructions on how to format the JSON row definitions.
631
652
  # @param table_id_or_name [String] The ID or name of the table
632
653
  # @param row_id [String] The ID of the row
633
- # @param hub_db_table_row_v3_request [HubDbTableRowV3Request] The JSON object of the row with necessary fields that needs to be updated.
654
+ # @param hub_db_table_row_v3_request [HubDbTableRowV3Request]
634
655
  # @param [Hash] opts the optional parameters
635
656
  # @return [HubDbTableRowV3]
636
657
  def update_draft_table_row(table_id_or_name, row_id, hub_db_table_row_v3_request, opts = {})
@@ -639,10 +660,10 @@ module Hubspot
639
660
  end
640
661
 
641
662
  # Updates an existing row
642
- # Sparse updates a single row in the table&#39;s &#x60;draft&#x60; version. All the column values need not be specified. Only the columns or fields that needs to be modified can be specified. See the &#x60;Create a row&#x60; endpoint for instructions on how to format the JSON row definitions.
663
+ # Sparse updates a single row in the table&#39;s draft version. All the column values need not be specified. Only the columns or fields that needs to be modified can be specified. See the \&quot;Create a row\&quot; endpoint for instructions on how to format the JSON row definitions.
643
664
  # @param table_id_or_name [String] The ID or name of the table
644
665
  # @param row_id [String] The ID of the row
645
- # @param hub_db_table_row_v3_request [HubDbTableRowV3Request] The JSON object of the row with necessary fields that needs to be updated.
666
+ # @param hub_db_table_row_v3_request [HubDbTableRowV3Request]
646
667
  # @param [Hash] opts the optional parameters
647
668
  # @return [Array<(HubDbTableRowV3, Integer, Hash)>] HubDbTableRowV3 data, response status code and response headers
648
669
  def update_draft_table_row_with_http_info(table_id_or_name, row_id, hub_db_table_row_v3_request, opts = {})