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
@@ -0,0 +1,223 @@
1
+ =begin
2
+ #Hubdb
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Hubspot
17
+ module Cms
18
+ module Hubdb
19
+ class BoundedPaging
20
+ attr_accessor :_next
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'_next' => :'next'
26
+ }
27
+ end
28
+
29
+ # Returns all the JSON keys this model knows about
30
+ def self.acceptable_attributes
31
+ attribute_map.values
32
+ end
33
+
34
+ # Attribute type mapping.
35
+ def self.openapi_types
36
+ {
37
+ :'_next' => :'BoundedNextPage'
38
+ }
39
+ end
40
+
41
+ # List of attributes with nullable: true
42
+ def self.openapi_nullable
43
+ Set.new([
44
+ ])
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ if (!attributes.is_a?(Hash))
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Cms::Hubdb::BoundedPaging` initialize method"
52
+ end
53
+
54
+ # check to see if the attribute exists and convert string to symbol for hash key
55
+ attributes = attributes.each_with_object({}) { |(k, v), h|
56
+ if (!self.class.attribute_map.key?(k.to_sym))
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Cms::Hubdb::BoundedPaging`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
+ end
59
+ h[k.to_sym] = v
60
+ }
61
+
62
+ if attributes.key?(:'_next')
63
+ self._next = attributes[:'_next']
64
+ end
65
+ end
66
+
67
+ # Show invalid properties with the reasons. Usually used together with valid?
68
+ # @return Array for valid properties with the reasons
69
+ def list_invalid_properties
70
+ invalid_properties = Array.new
71
+ invalid_properties
72
+ end
73
+
74
+ # Check to see if the all the properties in the model are valid
75
+ # @return true if the model is valid
76
+ def valid?
77
+ true
78
+ end
79
+
80
+ # Checks equality by comparing each attribute.
81
+ # @param [Object] Object to be compared
82
+ def ==(o)
83
+ return true if self.equal?(o)
84
+ self.class == o.class &&
85
+ _next == o._next
86
+ end
87
+
88
+ # @see the `==` method
89
+ # @param [Object] Object to be compared
90
+ def eql?(o)
91
+ self == o
92
+ end
93
+
94
+ # Calculates hash code according to all attributes.
95
+ # @return [Integer] Hash code
96
+ def hash
97
+ [_next].hash
98
+ end
99
+
100
+ # Builds the object from hash
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ # @return [Object] Returns the model itself
103
+ def self.build_from_hash(attributes)
104
+ new.build_from_hash(attributes)
105
+ end
106
+
107
+ # Builds the object from hash
108
+ # @param [Hash] attributes Model attributes in the form of hash
109
+ # @return [Object] Returns the model itself
110
+ def build_from_hash(attributes)
111
+ return nil unless attributes.is_a?(Hash)
112
+ attributes = attributes.transform_keys(&:to_sym)
113
+ self.class.openapi_types.each_pair do |key, type|
114
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
115
+ self.send("#{key}=", nil)
116
+ elsif type =~ /\AArray<(.*)>/i
117
+ # check to ensure the input is an array given that the attribute
118
+ # is documented as an array but the input is not
119
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
120
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
121
+ end
122
+ elsif !attributes[self.class.attribute_map[key]].nil?
123
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
124
+ end
125
+ end
126
+
127
+ self
128
+ end
129
+
130
+ # Deserializes the data based on type
131
+ # @param string type Data type
132
+ # @param string value Value to be deserialized
133
+ # @return [Object] Deserialized data
134
+ def _deserialize(type, value)
135
+ case type.to_sym
136
+ when :Time
137
+ Time.parse(value)
138
+ when :Date
139
+ Date.parse(value)
140
+ when :String
141
+ value.to_s
142
+ when :Integer
143
+ value.to_i
144
+ when :Float
145
+ value.to_f
146
+ when :Boolean
147
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
148
+ true
149
+ else
150
+ false
151
+ end
152
+ when :Object
153
+ # generic object (usually a Hash), return directly
154
+ value
155
+ when /\AArray<(?<inner_type>.+)>\z/
156
+ inner_type = Regexp.last_match[:inner_type]
157
+ value.map { |v| _deserialize(inner_type, v) }
158
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
159
+ k_type = Regexp.last_match[:k_type]
160
+ v_type = Regexp.last_match[:v_type]
161
+ {}.tap do |hash|
162
+ value.each do |k, v|
163
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
164
+ end
165
+ end
166
+ else # model
167
+ # models (e.g. Pet) or oneOf
168
+ klass = Hubspot::Cms::Hubdb.const_get(type)
169
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
170
+ end
171
+ end
172
+
173
+ # Returns the string representation of the object
174
+ # @return [String] String presentation of the object
175
+ def to_s
176
+ to_hash.to_s
177
+ end
178
+
179
+ # to_body is an alias to to_hash (backward compatibility)
180
+ # @return [Hash] Returns the object in the form of hash
181
+ def to_body
182
+ to_hash
183
+ end
184
+
185
+ # Returns the object in the form of hash
186
+ # @return [Hash] Returns the object in the form of hash
187
+ def to_hash
188
+ hash = {}
189
+ self.class.attribute_map.each_pair do |attr, param|
190
+ value = self.send(attr)
191
+ if value.nil?
192
+ is_nullable = self.class.openapi_nullable.include?(attr)
193
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
194
+ end
195
+
196
+ hash[param] = _to_hash(value)
197
+ end
198
+ hash
199
+ end
200
+
201
+ # Outputs non-array value in the form of hash
202
+ # For object, use to_hash. Otherwise, just return the value
203
+ # @param [Object] value Any valid value
204
+ # @return [Hash] Returns the value in the form of hash
205
+ def _to_hash(value)
206
+ if value.is_a?(Array)
207
+ value.compact.map { |v| _to_hash(v) }
208
+ elsif value.is_a?(Hash)
209
+ {}.tap do |hash|
210
+ value.each { |k, v| hash[k] = _to_hash(v) }
211
+ end
212
+ elsif value.respond_to? :to_hash
213
+ value.to_hash
214
+ else
215
+ value
216
+ end
217
+ end
218
+
219
+ end
220
+
221
+ end
222
+ end
223
+ end
@@ -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
 
@@ -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
 
@@ -17,14 +17,20 @@ module Hubspot
17
17
  module Cms
18
18
  module Hubdb
19
19
  class Column
20
+ attr_accessor :created_by_user_id
21
+
20
22
  # Foreign table id referenced
21
23
  attr_accessor :foreign_table_id
22
24
 
25
+ attr_accessor :updated_by
26
+
23
27
  attr_accessor :description
24
28
 
25
29
  # Label of the column
26
30
  attr_accessor :label
27
31
 
32
+ attr_accessor :updated_by_user_id
33
+
28
34
  # Type of the column
29
35
  attr_accessor :type
30
36
 
@@ -34,8 +40,12 @@ module Hubspot
34
40
  # Foreign Ids
35
41
  attr_accessor :foreign_ids
36
42
 
43
+ attr_accessor :created_at
44
+
37
45
  attr_accessor :deleted
38
46
 
47
+ attr_accessor :created_by
48
+
39
49
  # Name of the column
40
50
  attr_accessor :name
41
51
 
@@ -57,6 +67,8 @@ module Hubspot
57
67
  # Foreign ids by name
58
68
  attr_accessor :foreign_ids_by_name
59
69
 
70
+ attr_accessor :updated_at
71
+
60
72
  class EnumAttributeValidator
61
73
  attr_reader :datatype
62
74
  attr_reader :allowable_values
@@ -82,20 +94,26 @@ module Hubspot
82
94
  # Attribute mapping from ruby-style variable name to JSON key.
83
95
  def self.attribute_map
84
96
  {
97
+ :'created_by_user_id' => :'createdByUserId',
85
98
  :'foreign_table_id' => :'foreignTableId',
99
+ :'updated_by' => :'updatedBy',
86
100
  :'description' => :'description',
87
101
  :'label' => :'label',
102
+ :'updated_by_user_id' => :'updatedByUserId',
88
103
  :'type' => :'type',
89
104
  :'option_count' => :'optionCount',
90
105
  :'foreign_ids' => :'foreignIds',
106
+ :'created_at' => :'createdAt',
91
107
  :'deleted' => :'deleted',
108
+ :'created_by' => :'createdBy',
92
109
  :'name' => :'name',
93
110
  :'options' => :'options',
94
111
  :'width' => :'width',
95
112
  :'id' => :'id',
96
113
  :'foreign_ids_by_id' => :'foreignIdsById',
97
114
  :'foreign_column_id' => :'foreignColumnId',
98
- :'foreign_ids_by_name' => :'foreignIdsByName'
115
+ :'foreign_ids_by_name' => :'foreignIdsByName',
116
+ :'updated_at' => :'updatedAt'
99
117
  }
100
118
  end
101
119
 
@@ -107,20 +125,26 @@ module Hubspot
107
125
  # Attribute type mapping.
108
126
  def self.openapi_types
109
127
  {
128
+ :'created_by_user_id' => :'Integer',
110
129
  :'foreign_table_id' => :'Integer',
130
+ :'updated_by' => :'SimpleUser',
111
131
  :'description' => :'String',
112
132
  :'label' => :'String',
133
+ :'updated_by_user_id' => :'Integer',
113
134
  :'type' => :'String',
114
135
  :'option_count' => :'Integer',
115
136
  :'foreign_ids' => :'Array<ForeignId>',
137
+ :'created_at' => :'Time',
116
138
  :'deleted' => :'Boolean',
139
+ :'created_by' => :'SimpleUser',
117
140
  :'name' => :'String',
118
141
  :'options' => :'Array<Option>',
119
142
  :'width' => :'Integer',
120
143
  :'id' => :'String',
121
144
  :'foreign_ids_by_id' => :'Hash<String, ForeignId>',
122
145
  :'foreign_column_id' => :'Integer',
123
- :'foreign_ids_by_name' => :'Hash<String, ForeignId>'
146
+ :'foreign_ids_by_name' => :'Hash<String, ForeignId>',
147
+ :'updated_at' => :'Time'
124
148
  }
125
149
  end
126
150
 
@@ -145,10 +169,18 @@ module Hubspot
145
169
  h[k.to_sym] = v
146
170
  }
147
171
 
172
+ if attributes.key?(:'created_by_user_id')
173
+ self.created_by_user_id = attributes[:'created_by_user_id']
174
+ end
175
+
148
176
  if attributes.key?(:'foreign_table_id')
149
177
  self.foreign_table_id = attributes[:'foreign_table_id']
150
178
  end
151
179
 
180
+ if attributes.key?(:'updated_by')
181
+ self.updated_by = attributes[:'updated_by']
182
+ end
183
+
152
184
  if attributes.key?(:'description')
153
185
  self.description = attributes[:'description']
154
186
  end
@@ -157,6 +189,10 @@ module Hubspot
157
189
  self.label = attributes[:'label']
158
190
  end
159
191
 
192
+ if attributes.key?(:'updated_by_user_id')
193
+ self.updated_by_user_id = attributes[:'updated_by_user_id']
194
+ end
195
+
160
196
  if attributes.key?(:'type')
161
197
  self.type = attributes[:'type']
162
198
  end
@@ -171,10 +207,18 @@ module Hubspot
171
207
  end
172
208
  end
173
209
 
210
+ if attributes.key?(:'created_at')
211
+ self.created_at = attributes[:'created_at']
212
+ end
213
+
174
214
  if attributes.key?(:'deleted')
175
215
  self.deleted = attributes[:'deleted']
176
216
  end
177
217
 
218
+ if attributes.key?(:'created_by')
219
+ self.created_by = attributes[:'created_by']
220
+ end
221
+
178
222
  if attributes.key?(:'name')
179
223
  self.name = attributes[:'name']
180
224
  end
@@ -208,6 +252,10 @@ module Hubspot
208
252
  self.foreign_ids_by_name = value
209
253
  end
210
254
  end
255
+
256
+ if attributes.key?(:'updated_at')
257
+ self.updated_at = attributes[:'updated_at']
258
+ end
211
259
  end
212
260
 
213
261
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -234,7 +282,7 @@ module Hubspot
234
282
  def valid?
235
283
  return false if @label.nil?
236
284
  return false if @type.nil?
237
- type_validator = EnumAttributeValidator.new('String', ["NULL", "TEXT", "NUMBER", "URL", "IMAGE", "SELECT", "MULTISELECT", "BOOLEAN", "LOCATION", "DATE", "DATETIME", "CURRENCY", "RICHTEXT", "FOREIGN_ID", "VIDEO", "CTA", "FILE"])
285
+ type_validator = EnumAttributeValidator.new('String', ["NULL", "TEXT", "NUMBER", "URL", "IMAGE", "SELECT", "MULTISELECT", "BOOLEAN", "LOCATION", "DATE", "DATETIME", "CURRENCY", "RICHTEXT", "FOREIGN_ID", "VIDEO", "CTA", "FILE", "JSON", "COMPOSITE", "CODE"])
238
286
  return false unless type_validator.valid?(@type)
239
287
  return false if @name.nil?
240
288
  true
@@ -243,7 +291,7 @@ module Hubspot
243
291
  # Custom attribute writer method checking allowed values (enum).
244
292
  # @param [Object] type Object to be assigned
245
293
  def type=(type)
246
- validator = EnumAttributeValidator.new('String', ["NULL", "TEXT", "NUMBER", "URL", "IMAGE", "SELECT", "MULTISELECT", "BOOLEAN", "LOCATION", "DATE", "DATETIME", "CURRENCY", "RICHTEXT", "FOREIGN_ID", "VIDEO", "CTA", "FILE"])
294
+ validator = EnumAttributeValidator.new('String', ["NULL", "TEXT", "NUMBER", "URL", "IMAGE", "SELECT", "MULTISELECT", "BOOLEAN", "LOCATION", "DATE", "DATETIME", "CURRENCY", "RICHTEXT", "FOREIGN_ID", "VIDEO", "CTA", "FILE", "JSON", "COMPOSITE", "CODE"])
247
295
  unless validator.valid?(type)
248
296
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
249
297
  end
@@ -255,20 +303,26 @@ module Hubspot
255
303
  def ==(o)
256
304
  return true if self.equal?(o)
257
305
  self.class == o.class &&
306
+ created_by_user_id == o.created_by_user_id &&
258
307
  foreign_table_id == o.foreign_table_id &&
308
+ updated_by == o.updated_by &&
259
309
  description == o.description &&
260
310
  label == o.label &&
311
+ updated_by_user_id == o.updated_by_user_id &&
261
312
  type == o.type &&
262
313
  option_count == o.option_count &&
263
314
  foreign_ids == o.foreign_ids &&
315
+ created_at == o.created_at &&
264
316
  deleted == o.deleted &&
317
+ created_by == o.created_by &&
265
318
  name == o.name &&
266
319
  options == o.options &&
267
320
  width == o.width &&
268
321
  id == o.id &&
269
322
  foreign_ids_by_id == o.foreign_ids_by_id &&
270
323
  foreign_column_id == o.foreign_column_id &&
271
- foreign_ids_by_name == o.foreign_ids_by_name
324
+ foreign_ids_by_name == o.foreign_ids_by_name &&
325
+ updated_at == o.updated_at
272
326
  end
273
327
 
274
328
  # @see the `==` method
@@ -280,7 +334,7 @@ module Hubspot
280
334
  # Calculates hash code according to all attributes.
281
335
  # @return [Integer] Hash code
282
336
  def hash
283
- [foreign_table_id, description, label, type, option_count, foreign_ids, deleted, name, options, width, id, foreign_ids_by_id, foreign_column_id, foreign_ids_by_name].hash
337
+ [created_by_user_id, foreign_table_id, updated_by, description, label, updated_by_user_id, type, option_count, foreign_ids, created_at, deleted, created_by, name, options, width, id, foreign_ids_by_id, foreign_column_id, foreign_ids_by_name, updated_at].hash
284
338
  end
285
339
 
286
340
  # 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
 
@@ -178,7 +178,7 @@ module Hubspot
178
178
  return false if @id.nil?
179
179
  return false if @label.nil?
180
180
  return false if @type.nil?
181
- type_validator = EnumAttributeValidator.new('String', ["NULL", "TEXT", "NUMBER", "URL", "IMAGE", "SELECT", "MULTISELECT", "BOOLEAN", "LOCATION", "DATE", "DATETIME", "CURRENCY", "RICHTEXT", "FOREIGN_ID", "VIDEO", "CTA", "FILE"])
181
+ type_validator = EnumAttributeValidator.new('String', ["NULL", "TEXT", "NUMBER", "URL", "IMAGE", "SELECT", "MULTISELECT", "BOOLEAN", "LOCATION", "DATE", "DATETIME", "CURRENCY", "RICHTEXT", "FOREIGN_ID", "VIDEO", "CTA", "FILE", "JSON", "COMPOSITE", "CODE"])
182
182
  return false unless type_validator.valid?(@type)
183
183
  true
184
184
  end
@@ -186,7 +186,7 @@ module Hubspot
186
186
  # Custom attribute writer method checking allowed values (enum).
187
187
  # @param [Object] type Object to be assigned
188
188
  def type=(type)
189
- validator = EnumAttributeValidator.new('String', ["NULL", "TEXT", "NUMBER", "URL", "IMAGE", "SELECT", "MULTISELECT", "BOOLEAN", "LOCATION", "DATE", "DATETIME", "CURRENCY", "RICHTEXT", "FOREIGN_ID", "VIDEO", "CTA", "FILE"])
189
+ validator = EnumAttributeValidator.new('String', ["NULL", "TEXT", "NUMBER", "URL", "IMAGE", "SELECT", "MULTISELECT", "BOOLEAN", "LOCATION", "DATE", "DATETIME", "CURRENCY", "RICHTEXT", "FOREIGN_ID", "VIDEO", "CTA", "FILE", "JSON", "COMPOSITE", "CODE"])
190
190
  unless validator.valid?(type)
191
191
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
192
192
  end
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -20,6 +20,8 @@ module Hubspot
20
20
  # The new name for the cloned table
21
21
  attr_accessor :new_name
22
22
 
23
+ attr_accessor :is_hubspot_defined
24
+
23
25
  # The new label for the cloned table
24
26
  attr_accessor :new_label
25
27
 
@@ -30,6 +32,7 @@ module Hubspot
30
32
  def self.attribute_map
31
33
  {
32
34
  :'new_name' => :'newName',
35
+ :'is_hubspot_defined' => :'isHubspotDefined',
33
36
  :'new_label' => :'newLabel',
34
37
  :'copy_rows' => :'copyRows'
35
38
  }
@@ -44,6 +47,7 @@ module Hubspot
44
47
  def self.openapi_types
45
48
  {
46
49
  :'new_name' => :'String',
50
+ :'is_hubspot_defined' => :'Boolean',
47
51
  :'new_label' => :'String',
48
52
  :'copy_rows' => :'Boolean'
49
53
  }
@@ -74,6 +78,10 @@ module Hubspot
74
78
  self.new_name = attributes[:'new_name']
75
79
  end
76
80
 
81
+ if attributes.key?(:'is_hubspot_defined')
82
+ self.is_hubspot_defined = attributes[:'is_hubspot_defined']
83
+ end
84
+
77
85
  if attributes.key?(:'new_label')
78
86
  self.new_label = attributes[:'new_label']
79
87
  end
@@ -87,6 +95,10 @@ module Hubspot
87
95
  # @return Array for valid properties with the reasons
88
96
  def list_invalid_properties
89
97
  invalid_properties = Array.new
98
+ if @is_hubspot_defined.nil?
99
+ invalid_properties.push('invalid value for "is_hubspot_defined", is_hubspot_defined cannot be nil.')
100
+ end
101
+
90
102
  if @copy_rows.nil?
91
103
  invalid_properties.push('invalid value for "copy_rows", copy_rows cannot be nil.')
92
104
  end
@@ -97,6 +109,7 @@ module Hubspot
97
109
  # Check to see if the all the properties in the model are valid
98
110
  # @return true if the model is valid
99
111
  def valid?
112
+ return false if @is_hubspot_defined.nil?
100
113
  return false if @copy_rows.nil?
101
114
  true
102
115
  end
@@ -107,6 +120,7 @@ module Hubspot
107
120
  return true if self.equal?(o)
108
121
  self.class == o.class &&
109
122
  new_name == o.new_name &&
123
+ is_hubspot_defined == o.is_hubspot_defined &&
110
124
  new_label == o.new_label &&
111
125
  copy_rows == o.copy_rows
112
126
  end
@@ -120,7 +134,7 @@ module Hubspot
120
134
  # Calculates hash code according to all attributes.
121
135
  # @return [Integer] Hash code
122
136
  def hash
123
- [new_name, new_label, copy_rows].hash
137
+ [new_name, is_hubspot_defined, new_label, copy_rows].hash
124
138
  end
125
139
 
126
140
  # Builds the object from hash