hubspot-api-client 18.0.0 → 20.0.0.pre.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1177) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +287 -53
  3. data/Gemfile.lock +1 -1
  4. data/README.md +83 -8
  5. data/lib/hubspot/client.rb +7 -0
  6. data/lib/hubspot/codegen/cms/blogs/blog_posts/api/basic_api.rb +1079 -0
  7. data/lib/hubspot/codegen/cms/blogs/blog_posts/api/batch_api.rb +306 -0
  8. data/lib/hubspot/codegen/cms/blogs/blog_posts/api/multi_language_api.rb +368 -0
  9. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/attach_to_lang_primary_request_v_next.rb +34 -0
  10. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/blog_post.rb +38 -38
  11. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/breakpoint_styles.rb +258 -0
  12. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_language_variation.rb +15 -1
  13. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/styles.rb +12 -1
  14. data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +52 -31
  15. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +36 -36
  16. data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +55 -40
  17. data/lib/hubspot/codegen/cms/hubdb/api_client.rb +1 -1
  18. data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
  19. data/lib/hubspot/codegen/cms/hubdb/configuration.rb +1 -1
  20. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_batch_clone_request.rb +230 -0
  21. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_batch_update_request.rb +1 -1
  22. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_request.rb +1 -1
  23. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +1 -1
  24. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +1 -1
  25. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +1 -1
  26. data/lib/hubspot/codegen/cms/hubdb/models/bounded_next_page.rb +237 -0
  27. data/lib/hubspot/codegen/cms/hubdb/models/bounded_paging.rb +223 -0
  28. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +1 -1
  29. data/lib/hubspot/codegen/cms/hubdb/models/column.rb +61 -7
  30. data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +3 -3
  31. data/lib/hubspot/codegen/cms/hubdb/models/error.rb +1 -1
  32. data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +1 -1
  33. data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +1 -1
  34. data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +1 -1
  35. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +16 -2
  36. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_batch_clone_request.rb +237 -0
  37. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +1 -1
  38. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_batch_update_request.rb +1 -1
  39. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +1 -1
  40. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +2 -2
  41. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_request.rb +2 -2
  42. data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +1 -1
  43. data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +1 -1
  44. data/lib/hubspot/codegen/cms/hubdb/models/option.rb +69 -5
  45. data/lib/hubspot/codegen/cms/hubdb/models/paging.rb +232 -0
  46. data/lib/hubspot/codegen/cms/hubdb/models/previous_page.rb +237 -0
  47. 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
  48. data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +1 -1
  49. data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +8 -8
  50. data/lib/hubspot/codegen/cms/hubdb/models/streaming_collection_response_with_total_hub_db_table_row_v3.rb +303 -0
  51. data/lib/hubspot/codegen/cms/hubdb/models/unified_collection_response_with_total_base_hub_db_table_row_v3.rb +109 -0
  52. data/lib/hubspot/codegen/cms/source_code/api/content_api.rb +5 -5
  53. data/lib/hubspot/codegen/cms/source_code/api/extract_api.rb +89 -26
  54. data/lib/hubspot/codegen/cms/source_code/api/metadata_api.rb +1 -1
  55. data/lib/hubspot/codegen/cms/source_code/api/validation_api.rb +3 -3
  56. data/lib/hubspot/codegen/cms/source_code/api_client.rb +1 -1
  57. data/lib/hubspot/codegen/cms/source_code/api_error.rb +1 -1
  58. data/lib/hubspot/codegen/cms/source_code/configuration.rb +1 -1
  59. data/lib/hubspot/codegen/cms/source_code/models/action_response.rb +1 -1
  60. data/lib/hubspot/codegen/cms/source_code/models/asset_file_metadata.rb +1 -1
  61. data/lib/hubspot/codegen/cms/source_code/models/error.rb +1 -1
  62. data/lib/hubspot/codegen/cms/source_code/models/error_detail.rb +1 -1
  63. data/lib/hubspot/codegen/cms/source_code/models/file_extract_request.rb +1 -1
  64. data/lib/hubspot/codegen/cms/source_code/models/task_locator.rb +1 -1
  65. data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +2 -2
  66. data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +2 -2
  67. data/lib/hubspot/codegen/communication_preferences/api_client.rb +2 -2
  68. data/lib/hubspot/codegen/communication_preferences/api_error.rb +2 -2
  69. data/lib/hubspot/codegen/communication_preferences/configuration.rb +2 -2
  70. data/lib/hubspot/codegen/communication_preferences/models/error.rb +2 -2
  71. data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +2 -2
  72. data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +2 -2
  73. data/lib/hubspot/codegen/communication_preferences/models/public_subscription_statuses_response.rb +2 -2
  74. data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +2 -2
  75. data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +12 -3
  76. data/lib/hubspot/codegen/communication_preferences/models/subscription_definitions_response.rb +2 -2
  77. data/lib/hubspot/codegen/conversations/visitor_identification/api/generate_api.rb +1 -1
  78. data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +1 -1
  79. data/lib/hubspot/codegen/crm/associations/api_client.rb +1 -1
  80. data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
  81. data/lib/hubspot/codegen/crm/associations/configuration.rb +1 -1
  82. data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +1 -1
  83. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +1 -1
  84. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +1 -1
  85. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +1 -1
  86. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +1 -1
  87. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi_with_errors.rb +1 -1
  88. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_with_errors.rb +1 -1
  89. data/lib/hubspot/codegen/crm/associations/models/error.rb +1 -1
  90. data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +1 -1
  91. data/lib/hubspot/codegen/crm/associations/models/next_page.rb +1 -1
  92. data/lib/hubspot/codegen/crm/associations/models/paging.rb +1 -1
  93. data/lib/hubspot/codegen/crm/associations/models/previous_page.rb +1 -1
  94. data/lib/hubspot/codegen/crm/associations/models/public_association.rb +1 -1
  95. data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +1 -1
  96. data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +1 -1
  97. data/lib/hubspot/codegen/crm/associations/models/standard_error.rb +1 -1
  98. data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +1 -1
  99. data/lib/hubspot/codegen/crm/associations/schema/api_client.rb +1 -1
  100. data/lib/hubspot/codegen/crm/associations/schema/api_error.rb +1 -1
  101. data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +1 -1
  102. data/lib/hubspot/codegen/crm/associations/schema/models/collection_response_public_association_definition_no_paging.rb +1 -1
  103. data/lib/hubspot/codegen/crm/associations/schema/models/error.rb +1 -1
  104. data/lib/hubspot/codegen/crm/associations/schema/models/error_detail.rb +1 -1
  105. data/lib/hubspot/codegen/crm/associations/schema/models/public_association_definition.rb +1 -1
  106. data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +1 -1
  107. data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +3 -3
  108. data/lib/hubspot/codegen/crm/{objects/calls/api/public_object_api.rb → associations/v4/api/report_api.rb} +25 -28
  109. data/lib/hubspot/codegen/crm/associations/v4/api_client.rb +1 -1
  110. data/lib/hubspot/codegen/crm/associations/v4/api_error.rb +1 -1
  111. data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +1 -1
  112. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec.rb +1 -1
  113. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +1 -1
  114. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_archive.rb +1 -1
  115. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_post.rb +1 -1
  116. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_default_association_multi_post.rb +1 -1
  117. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_fetch_associations_batch_request.rb +1 -1
  118. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +1 -1
  119. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +1 -1
  120. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +1 -1
  121. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +1 -1
  122. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +1 -1
  123. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +1 -1
  124. data/lib/hubspot/codegen/crm/associations/v4/models/date_time.rb +258 -0
  125. data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +1 -1
  126. data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +1 -1
  127. data/lib/hubspot/codegen/crm/associations/v4/models/forward_paging.rb +1 -1
  128. data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +1 -1
  129. data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +1 -1
  130. data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +1 -1
  131. data/lib/hubspot/codegen/crm/associations/v4/models/paging.rb +1 -1
  132. data/lib/hubspot/codegen/crm/associations/v4/models/previous_page.rb +1 -1
  133. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_archive.rb +1 -1
  134. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +1 -1
  135. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +1 -1
  136. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +1 -1
  137. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association_multi_post.rb +1 -1
  138. data/lib/hubspot/codegen/crm/associations/v4/models/public_fetch_associations_batch_request.rb +1 -1
  139. data/lib/hubspot/codegen/crm/associations/v4/models/public_object_id.rb +1 -1
  140. data/lib/hubspot/codegen/crm/associations/v4/models/report_creation_response.rb +258 -0
  141. data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +1 -1
  142. data/lib/hubspot/codegen/crm/associations/v4/schema/api/definition_configurations_api.rb +396 -0
  143. data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +69 -69
  144. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_definition_configuration_create_request.rb +234 -0
  145. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_definition_configuration_update_request.rb +234 -0
  146. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_spec.rb +234 -0
  147. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_configuration_update_result.rb +330 -0
  148. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_configuration_update_result_with_errors.rb +350 -0
  149. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_user_configuration.rb +330 -0
  150. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_user_configuration_with_errors.rb +350 -0
  151. data/lib/hubspot/codegen/crm/associations/v4/schema/models/collection_response_public_association_definition_user_configuration_no_paging.rb +234 -0
  152. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_create_request.rb +294 -0
  153. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_update_request.rb +294 -0
  154. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_update_result.rb +289 -0
  155. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_user_configuration.rb +298 -0
  156. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_spec.rb +246 -0
  157. data/lib/hubspot/codegen/crm/associations/v4/schema/models/standard_error.rb +326 -0
  158. data/lib/hubspot/codegen/crm/commerce/invoices/api/basic_api.rb +391 -0
  159. data/lib/hubspot/codegen/crm/commerce/invoices/api/batch_api.rb +363 -0
  160. data/lib/hubspot/codegen/crm/{objects/emails/api/public_object_api.rb → commerce/invoices/api/search_api.rb} +24 -22
  161. data/lib/hubspot/codegen/crm/{extensions/accounting → commerce/invoices}/api_client.rb +5 -5
  162. data/lib/hubspot/codegen/crm/{extensions/accounting → commerce/invoices}/api_error.rb +4 -4
  163. data/lib/hubspot/codegen/crm/{extensions/accounting → commerce/invoices}/configuration.rb +4 -4
  164. data/lib/hubspot/codegen/crm/{objects/tasks/models/public_gdpr_delete_input.rb → commerce/invoices/models/associated_id.rb} +28 -23
  165. data/lib/hubspot/codegen/crm/{extensions/accounting/models/customer_search_response_external.rb → commerce/invoices/models/association_spec.rb} +35 -40
  166. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_batch_input.rb +232 -0
  167. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  168. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_id.rb +232 -0
  169. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_input_for_create.rb +232 -0
  170. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_read_input_simple_public_object_id.rb +273 -0
  171. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_object.rb +328 -0
  172. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_object_with_errors.rb +348 -0
  173. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_upsert_object.rb +328 -0
  174. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  175. data/lib/hubspot/codegen/crm/commerce/invoices/models/collection_response_associated_id.rb +241 -0
  176. data/lib/hubspot/codegen/crm/commerce/invoices/models/collection_response_simple_public_object_with_associations_forward_paging.rb +241 -0
  177. data/lib/hubspot/codegen/crm/commerce/invoices/models/collection_response_with_total_simple_public_object_forward_paging.rb +255 -0
  178. data/lib/hubspot/codegen/crm/{extensions/accounting → commerce/invoices}/models/error.rb +57 -57
  179. data/lib/hubspot/codegen/crm/{extensions/accounting → commerce/invoices}/models/error_detail.rb +35 -35
  180. data/lib/hubspot/codegen/crm/{extensions/accounting/models/invoice_search_response.rb → commerce/invoices/models/filter.rb} +66 -36
  181. data/lib/hubspot/codegen/crm/commerce/invoices/models/filter_group.rb +232 -0
  182. data/lib/hubspot/codegen/crm/commerce/invoices/models/forward_paging.rb +225 -0
  183. data/lib/hubspot/codegen/crm/commerce/invoices/models/next_page.rb +239 -0
  184. data/lib/hubspot/codegen/crm/commerce/invoices/models/paging.rb +234 -0
  185. data/lib/hubspot/codegen/crm/commerce/invoices/models/previous_page.rb +239 -0
  186. data/lib/hubspot/codegen/crm/commerce/invoices/models/public_associations_for_object.rb +246 -0
  187. data/lib/hubspot/codegen/crm/commerce/invoices/models/public_object_id.rb +230 -0
  188. data/lib/hubspot/codegen/crm/commerce/invoices/models/public_object_search_request.rb +276 -0
  189. data/lib/hubspot/codegen/crm/{extensions/accounting/models/accounting_extension_customer.rb → commerce/invoices/models/simple_public_object.rb} +68 -41
  190. data/lib/hubspot/codegen/crm/{objects/feedback_submissions → commerce/invoices}/models/simple_public_object_batch_input.rb +16 -7
  191. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_batch_input_upsert.rb +264 -0
  192. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_id.rb +230 -0
  193. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_input.rb +241 -0
  194. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_input_for_create.rb +257 -0
  195. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_with_associations.rb +314 -0
  196. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_upsert_object.rb +317 -0
  197. data/lib/hubspot/codegen/crm/commerce/invoices/models/standard_error.rb +324 -0
  198. data/lib/hubspot/codegen/crm/commerce/invoices/models/value_with_timestamp.rb +285 -0
  199. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +6 -6
  200. data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +70 -2
  201. data/lib/hubspot/codegen/crm/companies/api/{public_object_api.rb → merge_api.rb} +5 -5
  202. data/lib/hubspot/codegen/crm/companies/models/association_spec.rb +0 -10
  203. data/lib/hubspot/codegen/crm/companies/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +15 -22
  204. data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_upsert_object.rb +326 -0
  205. data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  206. data/lib/hubspot/codegen/crm/companies/models/public_associations_for_object.rb +0 -10
  207. data/lib/hubspot/codegen/crm/companies/models/public_object_id.rb +0 -5
  208. data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +0 -25
  209. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +10 -1
  210. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_upsert.rb +262 -0
  211. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +10 -1
  212. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +10 -6
  213. data/lib/hubspot/codegen/crm/companies/models/simple_public_upsert_object.rb +315 -0
  214. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +2 -2
  215. data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +70 -2
  216. data/lib/hubspot/codegen/crm/contacts/api/{public_object_api.rb → merge_api.rb} +5 -5
  217. data/lib/hubspot/codegen/crm/contacts/models/association_spec.rb +0 -10
  218. data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  219. data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_upsert_object.rb +326 -0
  220. data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  221. data/lib/hubspot/codegen/crm/contacts/models/public_associations_for_object.rb +0 -10
  222. data/lib/hubspot/codegen/crm/contacts/models/public_object_id.rb +0 -5
  223. data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +0 -25
  224. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +10 -1
  225. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_upsert.rb +262 -0
  226. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +10 -1
  227. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input_for_create.rb +10 -6
  228. data/lib/hubspot/codegen/crm/contacts/models/simple_public_upsert_object.rb +315 -0
  229. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +6 -6
  230. data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +70 -2
  231. data/lib/hubspot/codegen/crm/deals/api/{public_object_api.rb → merge_api.rb} +7 -7
  232. data/lib/hubspot/codegen/crm/deals/models/association_spec.rb +0 -10
  233. data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  234. data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_upsert_object.rb +326 -0
  235. data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  236. data/lib/hubspot/codegen/crm/deals/models/public_associations_for_object.rb +0 -10
  237. data/lib/hubspot/codegen/crm/deals/models/public_object_id.rb +0 -5
  238. data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +0 -25
  239. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +10 -1
  240. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input_upsert.rb +262 -0
  241. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +10 -1
  242. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input_for_create.rb +10 -6
  243. data/lib/hubspot/codegen/crm/deals/models/simple_public_upsert_object.rb +315 -0
  244. data/lib/hubspot/codegen/{cms/source_code/api/source_code_extract_api.rb → crm/exports/api/public_exports_api.rb} +52 -44
  245. data/lib/hubspot/codegen/crm/exports/api_client.rb +410 -0
  246. data/lib/hubspot/codegen/crm/exports/api_error.rb +61 -0
  247. data/lib/hubspot/codegen/crm/exports/configuration.rb +287 -0
  248. data/lib/hubspot/codegen/crm/exports/models/action_response_with_single_result_uri.rb +339 -0
  249. data/lib/hubspot/codegen/crm/exports/models/error.rb +305 -0
  250. data/lib/hubspot/codegen/crm/exports/models/error_detail.rb +271 -0
  251. data/lib/hubspot/codegen/crm/exports/models/filter.rb +305 -0
  252. data/lib/hubspot/codegen/crm/exports/models/public_crm_search_request.rb +260 -0
  253. data/lib/hubspot/codegen/crm/exports/models/public_export_list_request.rb +420 -0
  254. data/lib/hubspot/codegen/crm/exports/models/public_export_list_request_all_of.rb +413 -0
  255. data/lib/hubspot/codegen/crm/exports/models/public_export_request.rb +109 -0
  256. data/lib/hubspot/codegen/crm/exports/models/public_export_view_request.rb +415 -0
  257. data/lib/hubspot/codegen/crm/exports/models/public_export_view_request_all_of.rb +408 -0
  258. data/lib/hubspot/codegen/crm/exports/models/standard_error.rb +322 -0
  259. data/lib/hubspot/codegen/crm/exports/models/task_locator.rb +239 -0
  260. data/lib/hubspot/codegen/crm/extensions/calling/api/channel_connection_settings_api.rb +302 -0
  261. data/lib/hubspot/codegen/crm/extensions/calling/api/recording_settings_api.rb +88 -8
  262. data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +24 -24
  263. data/lib/hubspot/codegen/crm/extensions/calling/api_client.rb +2 -2
  264. data/lib/hubspot/codegen/crm/extensions/calling/api_error.rb +2 -2
  265. data/lib/hubspot/codegen/crm/extensions/calling/configuration.rb +9 -2
  266. data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_patch_request.rb +236 -0
  267. data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_request.rb +246 -0
  268. data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_response.rb +276 -0
  269. data/lib/hubspot/codegen/crm/extensions/calling/models/error.rb +2 -2
  270. data/lib/hubspot/codegen/crm/extensions/calling/models/error_detail.rb +2 -2
  271. data/lib/hubspot/codegen/crm/extensions/calling/models/mark_recording_as_ready_request.rb +230 -0
  272. data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_patch_request.rb +2 -2
  273. data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_request.rb +2 -2
  274. data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_response.rb +3 -2
  275. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +35 -6
  276. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +35 -6
  277. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +50 -6
  278. data/lib/hubspot/codegen/crm/imports/api/core_api.rb +4 -4
  279. data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +6 -0
  280. data/lib/hubspot/codegen/crm/imports/models/import_row_core.rb +15 -1
  281. data/lib/hubspot/codegen/crm/imports/models/property_value.rb +514 -0
  282. data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +32 -5
  283. data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +17 -1
  284. data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +7 -6
  285. data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +81 -11
  286. data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +4 -0
  287. data/lib/hubspot/codegen/crm/line_items/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_for_create.rb} +15 -22
  288. data/lib/hubspot/codegen/crm/line_items/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
  289. data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +1 -0
  290. data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_upsert_object.rb +326 -0
  291. data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  292. data/lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb +0 -25
  293. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +15 -1
  294. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +17 -1
  295. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_for_create.rb +250 -0
  296. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_upsert.rb +263 -0
  297. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +5 -0
  298. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +3 -3
  299. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +10 -1
  300. data/lib/hubspot/codegen/crm/line_items/models/simple_public_upsert_object.rb +324 -0
  301. data/lib/hubspot/codegen/crm/lists/api/folders_api.rb +420 -0
  302. data/lib/hubspot/codegen/crm/lists/api/lists_api.rb +15 -15
  303. data/lib/hubspot/codegen/crm/lists/api/mapping_api.rb +154 -0
  304. data/lib/hubspot/codegen/crm/lists/api/memberships_api.rb +169 -28
  305. data/lib/hubspot/codegen/crm/lists/api_client.rb +1 -1
  306. data/lib/hubspot/codegen/crm/lists/api_error.rb +1 -1
  307. data/lib/hubspot/codegen/crm/lists/configuration.rb +1 -1
  308. data/lib/hubspot/codegen/crm/lists/models/{collection_response_long.rb → api_collection_response_join_time_and_record_id.rb} +15 -7
  309. data/lib/hubspot/codegen/crm/lists/models/api_collection_response_record_list_membership_no_paging.rb +239 -0
  310. data/lib/hubspot/codegen/crm/lists/models/error.rb +1 -1
  311. data/lib/hubspot/codegen/crm/lists/models/error_detail.rb +1 -1
  312. data/lib/hubspot/codegen/crm/{products/models/public_merge_input.rb → lists/models/join_time_and_record_id.rb} +25 -25
  313. data/lib/hubspot/codegen/crm/lists/models/list_create_request.rb +14 -2
  314. data/lib/hubspot/codegen/crm/lists/models/list_create_response.rb +1 -1
  315. data/lib/hubspot/codegen/crm/lists/models/list_fetch_response.rb +1 -1
  316. data/lib/hubspot/codegen/crm/lists/models/list_filter_update_request.rb +1 -1
  317. data/lib/hubspot/codegen/crm/lists/models/list_folder_create_request.rb +239 -0
  318. data/lib/hubspot/codegen/crm/{products/models/public_gdpr_delete_input.rb → lists/models/list_folder_create_response.rb} +16 -25
  319. data/lib/hubspot/codegen/crm/{tickets/models/public_gdpr_delete_input.rb → lists/models/list_folder_fetch_response.rb} +16 -25
  320. data/lib/hubspot/codegen/crm/lists/models/list_move_request.rb +244 -0
  321. data/lib/hubspot/codegen/crm/lists/models/list_search_request.rb +38 -15
  322. data/lib/hubspot/codegen/crm/lists/models/list_search_response.rb +1 -1
  323. data/lib/hubspot/codegen/crm/lists/models/list_update_response.rb +1 -1
  324. data/lib/hubspot/codegen/crm/lists/models/lists_by_id_response.rb +1 -1
  325. data/lib/hubspot/codegen/crm/lists/models/membership_change_request.rb +3 -3
  326. data/lib/hubspot/codegen/crm/lists/models/memberships_update_response.rb +4 -4
  327. data/lib/hubspot/codegen/crm/lists/models/next_page.rb +1 -1
  328. data/lib/hubspot/codegen/crm/lists/models/paging.rb +1 -1
  329. data/lib/hubspot/codegen/crm/lists/models/previous_page.rb +1 -1
  330. data/lib/hubspot/codegen/crm/lists/models/public_absolute_comparative_timestamp_refine_by.rb +16 -16
  331. data/lib/hubspot/codegen/crm/lists/models/public_absolute_ranged_timestamp_refine_by.rb +28 -28
  332. data/lib/hubspot/codegen/crm/lists/models/public_ads_search_filter.rb +39 -39
  333. data/lib/hubspot/codegen/crm/lists/models/public_ads_time_filter.rb +19 -19
  334. data/lib/hubspot/codegen/crm/lists/models/public_all_history_refine_by.rb +1 -1
  335. data/lib/hubspot/codegen/crm/lists/models/public_all_property_types_operation.rb +19 -19
  336. data/lib/hubspot/codegen/crm/lists/models/public_and_filter_branch.rb +19 -19
  337. data/lib/hubspot/codegen/crm/lists/models/public_association_filter_branch.rb +36 -36
  338. data/lib/hubspot/codegen/crm/lists/models/public_association_in_list_filter.rb +55 -55
  339. data/lib/hubspot/codegen/crm/lists/models/public_batch_migration_mapping.rb +247 -0
  340. data/lib/hubspot/codegen/crm/lists/models/public_bool_property_operation.rb +33 -33
  341. data/lib/hubspot/codegen/crm/lists/models/public_calendar_date_property_operation.rb +54 -54
  342. data/lib/hubspot/codegen/crm/lists/models/public_campaign_influenced_filter.rb +19 -19
  343. data/lib/hubspot/codegen/crm/lists/models/public_communication_subscription_filter.rb +31 -31
  344. data/lib/hubspot/codegen/crm/lists/models/public_comparative_date_property_operation.rb +35 -35
  345. data/lib/hubspot/codegen/crm/lists/models/public_comparative_property_updated_operation.rb +35 -35
  346. data/lib/hubspot/codegen/crm/lists/models/public_constant_filter.rb +21 -21
  347. data/lib/hubspot/codegen/crm/lists/models/public_cta_analytics_filter.rb +28 -28
  348. data/lib/hubspot/codegen/crm/lists/models/public_date_point.rb +56 -56
  349. data/lib/hubspot/codegen/crm/lists/models/public_date_property_operation.rb +45 -45
  350. data/lib/hubspot/codegen/crm/lists/models/public_date_time_property_operation.rb +30 -30
  351. data/lib/hubspot/codegen/crm/lists/models/public_email_event_filter.rb +44 -44
  352. data/lib/hubspot/codegen/crm/lists/models/public_email_subscription_filter.rb +27 -27
  353. data/lib/hubspot/codegen/crm/lists/models/public_enumeration_property_operation.rb +35 -35
  354. data/lib/hubspot/codegen/crm/lists/models/public_event_analytics_filter.rb +28 -28
  355. data/lib/hubspot/codegen/crm/lists/models/public_event_filter_metadata.rb +2 -2
  356. data/lib/hubspot/codegen/crm/lists/models/public_fiscal_quarter_reference.rb +42 -42
  357. data/lib/hubspot/codegen/crm/lists/models/public_fiscal_year_reference.rb +42 -42
  358. data/lib/hubspot/codegen/crm/lists/models/public_form_submission_filter.rb +20 -20
  359. data/lib/hubspot/codegen/crm/lists/models/{public_event_analytics_filter_coalescing_refine_by.rb → public_form_submission_filter_coalescing_refine_by.rb} +2 -1
  360. data/lib/hubspot/codegen/crm/lists/models/public_form_submission_on_page_filter.rb +37 -37
  361. data/lib/hubspot/codegen/crm/lists/models/public_in_list_filter.rb +19 -19
  362. data/lib/hubspot/codegen/crm/lists/models/public_in_list_filter_metadata.rb +1 -1
  363. data/lib/hubspot/codegen/crm/lists/models/public_index_offset.rb +44 -44
  364. data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point.rb +30 -30
  365. data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point_index_reference.rb +2 -1
  366. data/lib/hubspot/codegen/crm/lists/models/public_integration_event_filter.rb +22 -22
  367. data/lib/hubspot/codegen/crm/lists/models/public_list_folder.rb +327 -0
  368. data/lib/hubspot/codegen/crm/lists/models/public_migration_mapping.rb +244 -0
  369. data/lib/hubspot/codegen/crm/lists/models/public_month_reference.rb +29 -29
  370. data/lib/hubspot/codegen/crm/lists/models/public_multi_string_property_operation.rb +35 -35
  371. data/lib/hubspot/codegen/crm/lists/models/public_not_all_filter_branch.rb +16 -16
  372. data/lib/hubspot/codegen/crm/lists/models/public_not_any_filter_branch.rb +16 -16
  373. data/lib/hubspot/codegen/crm/lists/models/public_now_reference.rb +23 -23
  374. data/lib/hubspot/codegen/crm/lists/models/public_num_associations_filter.rb +23 -23
  375. data/lib/hubspot/codegen/crm/lists/models/public_num_occurrences_refine_by.rb +14 -14
  376. data/lib/hubspot/codegen/crm/lists/models/public_number_property_operation.rb +33 -33
  377. data/lib/hubspot/codegen/crm/lists/models/public_object_list.rb +14 -5
  378. data/lib/hubspot/codegen/crm/lists/models/public_object_list_search_result.rb +4 -4
  379. data/lib/hubspot/codegen/crm/lists/models/public_or_filter_branch.rb +19 -19
  380. data/lib/hubspot/codegen/crm/lists/models/public_page_view_analytics_filter.rb +37 -37
  381. data/lib/hubspot/codegen/crm/lists/models/public_privacy_analytics_filter.rb +16 -16
  382. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch.rb +42 -42
  383. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filter_branches_inner.rb +2 -1
  384. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filters_inner.rb +2 -2
  385. data/lib/hubspot/codegen/crm/lists/models/public_property_association_in_list_filter.rb +39 -39
  386. data/lib/hubspot/codegen/crm/lists/models/public_property_filter.rb +17 -17
  387. data/lib/hubspot/codegen/crm/lists/models/public_property_referenced_time.rb +25 -25
  388. data/lib/hubspot/codegen/crm/lists/models/public_quarter_reference.rb +42 -42
  389. data/lib/hubspot/codegen/crm/lists/models/public_ranged_date_property_operation.rb +42 -42
  390. data/lib/hubspot/codegen/crm/lists/models/public_ranged_number_property_operation.rb +36 -36
  391. data/lib/hubspot/codegen/crm/lists/models/public_ranged_time_operation.rb +67 -67
  392. data/lib/hubspot/codegen/crm/lists/models/public_relative_comparative_timestamp_refine_by.rb +22 -22
  393. data/lib/hubspot/codegen/crm/lists/models/public_relative_ranged_timestamp_refine_by.rb +31 -31
  394. data/lib/hubspot/codegen/crm/lists/models/public_restricted_filter_branch.rb +16 -16
  395. data/lib/hubspot/codegen/crm/lists/models/public_rolling_date_range_property_operation.rb +36 -36
  396. data/lib/hubspot/codegen/crm/lists/models/public_rolling_property_updated_operation.rb +33 -33
  397. data/lib/hubspot/codegen/crm/lists/models/public_set_occurrences_refine_by.rb +1 -1
  398. data/lib/hubspot/codegen/crm/lists/models/public_string_property_operation.rb +33 -33
  399. data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_filter.rb +16 -16
  400. data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_value_filter.rb +26 -26
  401. data/lib/hubspot/codegen/crm/lists/models/{public_property_filter_operation.rb → public_survey_monkey_value_filter_value_comparison.rb} +2 -1
  402. data/lib/hubspot/codegen/crm/lists/models/public_time_offset.rb +19 -19
  403. data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation.rb +47 -47
  404. data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation_time_point.rb +2 -1
  405. data/lib/hubspot/codegen/crm/lists/models/public_today_reference.rb +23 -23
  406. data/lib/hubspot/codegen/crm/lists/models/public_unified_events_filter.rb +31 -31
  407. data/lib/hubspot/codegen/crm/lists/models/public_unified_events_filter_branch.rb +41 -32
  408. data/lib/hubspot/codegen/crm/lists/models/public_webinar_filter.rb +14 -14
  409. data/lib/hubspot/codegen/crm/lists/models/public_week_reference.rb +48 -48
  410. data/lib/hubspot/codegen/crm/lists/models/public_year_reference.rb +42 -42
  411. data/lib/hubspot/codegen/crm/lists/models/record_list_membership.rb +270 -0
  412. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +7 -6
  413. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +85 -9
  414. data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +13 -12
  415. data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +87 -11
  416. data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +4 -0
  417. data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
  418. data/lib/hubspot/codegen/crm/objects/calls/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
  419. data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +1 -0
  420. data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_upsert_object.rb +328 -0
  421. data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  422. data/lib/hubspot/codegen/crm/objects/calls/models/public_object_search_request.rb +0 -25
  423. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +10 -1
  424. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +12 -1
  425. data/lib/hubspot/codegen/crm/objects/calls/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
  426. data/lib/hubspot/codegen/crm/objects/calls/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +39 -13
  427. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +0 -5
  428. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +10 -1
  429. data/lib/hubspot/codegen/crm/{extensions/accounting/models/updated_product.rb → objects/calls/models/simple_public_upsert_object.rb} +76 -88
  430. data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +13 -12
  431. data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +87 -11
  432. data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +4 -0
  433. data/lib/hubspot/codegen/crm/objects/{feedback_submissions/models/batch_input_simple_public_object_input_for_create.rb → communications/models/batch_input_simple_public_object_batch_input_for_create.rb} +7 -7
  434. data/lib/hubspot/codegen/crm/objects/communications/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
  435. data/lib/hubspot/codegen/crm/objects/communications/models/batch_read_input_simple_public_object_id.rb +1 -0
  436. data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_upsert_object.rb +328 -0
  437. data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  438. data/lib/hubspot/codegen/crm/objects/communications/models/public_object_search_request.rb +0 -25
  439. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object.rb +10 -1
  440. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input.rb +12 -1
  441. data/lib/hubspot/codegen/crm/objects/communications/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
  442. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_upsert.rb +265 -0
  443. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +0 -5
  444. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_with_associations.rb +10 -1
  445. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_upsert_object.rb +326 -0
  446. data/lib/hubspot/codegen/crm/objects/deal_splits/api/batch_api.rb +160 -0
  447. data/lib/hubspot/codegen/crm/objects/deal_splits/api_client.rb +412 -0
  448. data/lib/hubspot/codegen/crm/objects/deal_splits/api_error.rb +63 -0
  449. data/lib/hubspot/codegen/crm/objects/deal_splits/configuration.rb +289 -0
  450. data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_input_public_object_id.rb +232 -0
  451. data/lib/hubspot/codegen/crm/{extensions/accounting/models/result_id_accounting_response.rb → objects/deal_splits/models/batch_response_deal_to_deal_splits.rb} +85 -38
  452. data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_response_deal_to_deal_splits_with_errors.rb +348 -0
  453. data/lib/hubspot/codegen/crm/objects/{goals/models/public_gdpr_delete_input.rb → deal_splits/models/deal_to_deal_splits.rb} +29 -22
  454. data/lib/hubspot/codegen/crm/objects/deal_splits/models/error.rb +307 -0
  455. data/lib/hubspot/codegen/crm/objects/{goals/models/public_merge_input.rb → deal_splits/models/error_detail.rb} +56 -27
  456. data/lib/hubspot/codegen/crm/objects/{emails/models/public_gdpr_delete_input.rb → deal_splits/models/public_deal_split_input.rb} +27 -22
  457. data/lib/hubspot/codegen/crm/objects/deal_splits/models/public_deal_splits_batch_create_request.rb +232 -0
  458. data/lib/hubspot/codegen/crm/objects/{postal_mail/models/public_gdpr_delete_input.rb → deal_splits/models/public_deal_splits_create_request.rb} +29 -22
  459. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → deal_splits}/models/public_object_id.rb +5 -5
  460. data/lib/hubspot/codegen/crm/objects/deal_splits/models/simple_public_object.rb +303 -0
  461. data/lib/hubspot/codegen/crm/objects/deal_splits/models/standard_error.rb +331 -0
  462. data/lib/hubspot/codegen/crm/objects/deal_splits/models/value_with_timestamp.rb +285 -0
  463. data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +7 -6
  464. data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +81 -11
  465. data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
  466. data/lib/hubspot/codegen/crm/objects/emails/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
  467. data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +1 -0
  468. data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_upsert_object.rb +328 -0
  469. data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  470. data/lib/hubspot/codegen/crm/objects/emails/models/public_object_search_request.rb +0 -25
  471. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +10 -1
  472. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +12 -1
  473. data/lib/hubspot/codegen/crm/objects/emails/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
  474. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_upsert.rb +265 -0
  475. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +0 -5
  476. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +10 -1
  477. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_upsert_object.rb +326 -0
  478. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +0 -208
  479. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +0 -198
  480. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_search_request.rb +0 -25
  481. data/lib/hubspot/codegen/crm/objects/goals/api/basic_api.rb +11 -11
  482. data/lib/hubspot/codegen/crm/objects/goals/api/batch_api.rb +74 -6
  483. data/lib/hubspot/codegen/crm/objects/goals/api/search_api.rb +1 -1
  484. data/lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  485. data/lib/hubspot/codegen/crm/objects/goals/models/batch_response_simple_public_upsert_object.rb +328 -0
  486. data/lib/hubspot/codegen/crm/objects/goals/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  487. data/lib/hubspot/codegen/crm/objects/goals/models/public_object_search_request.rb +0 -25
  488. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input.rb +10 -1
  489. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_upsert.rb +264 -0
  490. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_input.rb +10 -1
  491. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_input_for_create.rb +10 -1
  492. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_upsert_object.rb +317 -0
  493. data/lib/hubspot/codegen/crm/objects/leads/api/basic_api.rb +392 -0
  494. data/lib/hubspot/codegen/crm/objects/leads/api/batch_api.rb +365 -0
  495. data/lib/hubspot/codegen/crm/objects/{postal_mail/api/public_object_api.rb → leads/api/search_api.rb} +19 -21
  496. data/lib/hubspot/codegen/crm/objects/leads/api_client.rb +412 -0
  497. data/lib/hubspot/codegen/crm/objects/leads/api_error.rb +63 -0
  498. data/lib/hubspot/codegen/crm/objects/leads/configuration.rb +289 -0
  499. data/lib/hubspot/codegen/crm/objects/leads/models/associated_id.rb +244 -0
  500. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/association_spec.rb +5 -5
  501. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/batch_input_simple_public_object_batch_input.rb +5 -5
  502. data/lib/hubspot/codegen/crm/objects/leads/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
  503. data/lib/hubspot/codegen/crm/objects/leads/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  504. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/batch_input_simple_public_object_id.rb +5 -5
  505. data/lib/hubspot/codegen/crm/objects/leads/models/batch_read_input_simple_public_object_id.rb +274 -0
  506. data/lib/hubspot/codegen/crm/{extensions/accounting/models/action_response.rb → objects/leads/models/batch_response_simple_public_object.rb} +49 -33
  507. 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
  508. data/lib/hubspot/codegen/crm/objects/leads/models/batch_response_simple_public_upsert_object.rb +328 -0
  509. data/lib/hubspot/codegen/crm/objects/leads/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  510. data/lib/hubspot/codegen/crm/objects/{communications/models/public_gdpr_delete_input.rb → leads/models/collection_response_associated_id.rb} +24 -22
  511. data/lib/hubspot/codegen/crm/objects/leads/models/collection_response_simple_public_object_with_associations_forward_paging.rb +241 -0
  512. data/lib/hubspot/codegen/crm/objects/leads/models/collection_response_with_total_simple_public_object_forward_paging.rb +255 -0
  513. data/lib/hubspot/codegen/crm/objects/leads/models/error.rb +307 -0
  514. data/lib/hubspot/codegen/crm/{extensions/accounting/models/tax.rb → objects/leads/models/error_detail.rb} +49 -38
  515. data/lib/hubspot/codegen/crm/{extensions/accounting/models/invoice_pdf_response.rb → objects/leads/models/filter.rb} +65 -54
  516. data/lib/hubspot/codegen/crm/objects/leads/models/filter_group.rb +232 -0
  517. data/lib/hubspot/codegen/crm/objects/leads/models/forward_paging.rb +225 -0
  518. data/lib/hubspot/codegen/crm/objects/leads/models/next_page.rb +239 -0
  519. data/lib/hubspot/codegen/crm/objects/leads/models/paging.rb +234 -0
  520. data/lib/hubspot/codegen/crm/objects/leads/models/previous_page.rb +239 -0
  521. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/public_associations_for_object.rb +5 -5
  522. data/lib/hubspot/codegen/crm/objects/leads/models/public_object_id.rb +230 -0
  523. data/lib/hubspot/codegen/crm/objects/leads/models/public_object_search_request.rb +276 -0
  524. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object.rb +312 -0
  525. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input.rb +266 -0
  526. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input_for_create.rb +252 -0
  527. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input_upsert.rb +265 -0
  528. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_id.rb +230 -0
  529. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/simple_public_object_input.rb +5 -5
  530. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/simple_public_object_input_for_create.rb +5 -10
  531. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_with_associations.rb +323 -0
  532. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_upsert_object.rb +326 -0
  533. data/lib/hubspot/codegen/crm/objects/leads/models/standard_error.rb +324 -0
  534. data/lib/hubspot/codegen/crm/objects/leads/models/value_with_timestamp.rb +285 -0
  535. data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +7 -6
  536. data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +81 -11
  537. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
  538. data/lib/hubspot/codegen/crm/objects/meetings/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
  539. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +1 -0
  540. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_upsert_object.rb +328 -0
  541. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  542. data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_search_request.rb +0 -25
  543. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +10 -1
  544. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +12 -1
  545. data/lib/hubspot/codegen/crm/objects/meetings/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
  546. data/lib/hubspot/codegen/crm/objects/meetings/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +39 -13
  547. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +0 -5
  548. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +10 -1
  549. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_upsert_object.rb +326 -0
  550. data/lib/hubspot/codegen/crm/objects/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_for_create.rb} +15 -22
  551. data/lib/hubspot/codegen/crm/objects/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
  552. data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +1 -0
  553. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object.rb +326 -0
  554. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  555. data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +0 -25
  556. data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +10 -1
  557. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +11 -2
  558. data/lib/hubspot/codegen/crm/objects/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
  559. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input_upsert.rb +263 -0
  560. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +0 -5
  561. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +10 -1
  562. data/lib/hubspot/codegen/crm/objects/models/simple_public_upsert_object.rb +324 -0
  563. data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +7 -6
  564. data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +81 -11
  565. data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
  566. data/lib/hubspot/codegen/crm/objects/notes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
  567. data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +1 -0
  568. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_upsert_object.rb +328 -0
  569. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  570. data/lib/hubspot/codegen/crm/objects/notes/models/public_object_search_request.rb +0 -25
  571. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +10 -1
  572. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +12 -1
  573. data/lib/hubspot/codegen/crm/objects/notes/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
  574. data/lib/hubspot/codegen/crm/objects/notes/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +39 -13
  575. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +0 -5
  576. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +10 -1
  577. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_upsert_object.rb +326 -0
  578. data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +7 -6
  579. data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +81 -11
  580. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
  581. data/lib/hubspot/codegen/crm/objects/postal_mail/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
  582. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_read_input_simple_public_object_id.rb +1 -0
  583. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_response_simple_public_upsert_object.rb +328 -0
  584. 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
  585. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_object_search_request.rb +0 -25
  586. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object.rb +10 -1
  587. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input.rb +12 -1
  588. data/lib/hubspot/codegen/crm/objects/postal_mail/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
  589. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_upsert.rb +265 -0
  590. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +0 -5
  591. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_with_associations.rb +10 -1
  592. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_upsert_object.rb +326 -0
  593. data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +7 -6
  594. data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +81 -11
  595. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
  596. data/lib/hubspot/codegen/crm/objects/tasks/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
  597. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +1 -0
  598. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_upsert_object.rb +328 -0
  599. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  600. data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_search_request.rb +0 -25
  601. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +10 -1
  602. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +12 -1
  603. data/lib/hubspot/codegen/crm/objects/tasks/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
  604. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_upsert.rb +265 -0
  605. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +0 -5
  606. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +10 -1
  607. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_upsert_object.rb +326 -0
  608. data/lib/hubspot/codegen/crm/objects/taxes/api/basic_api.rb +7 -6
  609. data/lib/hubspot/codegen/crm/objects/taxes/api/batch_api.rb +81 -11
  610. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
  611. data/lib/hubspot/codegen/crm/objects/taxes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
  612. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_read_input_simple_public_object_id.rb +1 -0
  613. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_response_simple_public_upsert_object.rb +328 -0
  614. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  615. data/lib/hubspot/codegen/crm/objects/taxes/models/public_object_search_request.rb +0 -25
  616. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object.rb +10 -1
  617. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input.rb +12 -1
  618. data/lib/hubspot/codegen/crm/objects/taxes/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
  619. data/lib/hubspot/codegen/crm/objects/taxes/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +39 -13
  620. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input_for_create.rb +0 -5
  621. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_with_associations.rb +10 -1
  622. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_upsert_object.rb +326 -0
  623. data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +58 -1
  624. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +1 -1
  625. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +1 -1
  626. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +1 -1
  627. data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +1 -1
  628. data/lib/hubspot/codegen/crm/pipelines/api_client.rb +1 -1
  629. data/lib/hubspot/codegen/crm/pipelines/api_error.rb +1 -1
  630. data/lib/hubspot/codegen/crm/pipelines/configuration.rb +1 -1
  631. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_no_paging.rb +1 -1
  632. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_stage_no_paging.rb +1 -1
  633. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_public_audit_info_no_paging.rb +1 -1
  634. data/lib/hubspot/codegen/crm/pipelines/models/error.rb +1 -1
  635. data/lib/hubspot/codegen/crm/pipelines/models/error_detail.rb +1 -1
  636. data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +1 -1
  637. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +1 -1
  638. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb +1 -1
  639. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +1 -6
  640. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +1 -6
  641. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +1 -6
  642. data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +1 -1
  643. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +6 -6
  644. data/lib/hubspot/codegen/crm/products/api/batch_api.rb +70 -2
  645. data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  646. data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +1 -0
  647. data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_upsert_object.rb +326 -0
  648. data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  649. data/lib/hubspot/codegen/crm/products/models/public_object_search_request.rb +0 -25
  650. data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +5 -0
  651. data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +22 -1
  652. data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input_upsert.rb +263 -0
  653. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +15 -2
  654. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input_for_create.rb +10 -2
  655. data/lib/hubspot/codegen/crm/products/models/simple_public_upsert_object.rb +315 -0
  656. data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +7 -6
  657. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +81 -11
  658. data/lib/hubspot/codegen/crm/quotes/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_for_create.rb} +15 -22
  659. data/lib/hubspot/codegen/crm/quotes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
  660. data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +1 -0
  661. data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_upsert_object.rb +326 -0
  662. data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  663. data/lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb +0 -25
  664. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +10 -1
  665. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +12 -1
  666. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_for_create.rb +250 -0
  667. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_upsert.rb +263 -0
  668. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +0 -5
  669. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +10 -1
  670. data/lib/hubspot/codegen/crm/quotes/models/simple_public_upsert_object.rb +324 -0
  671. data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +7 -7
  672. data/lib/hubspot/codegen/crm/schemas/models/association_definition.rb +1 -1
  673. data/lib/hubspot/codegen/crm/schemas/models/association_definition_egg.rb +1 -1
  674. data/lib/hubspot/codegen/crm/schemas/models/object_schema.rb +19 -1
  675. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_patch.rb +10 -1
  676. data/lib/hubspot/codegen/crm/schemas/models/property.rb +164 -110
  677. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +6 -6
  678. data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +70 -2
  679. data/lib/hubspot/codegen/crm/tickets/api/{public_object_api.rb → merge_api.rb} +5 -5
  680. data/lib/hubspot/codegen/crm/tickets/models/association_spec.rb +0 -10
  681. data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  682. data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_upsert_object.rb +326 -0
  683. data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  684. data/lib/hubspot/codegen/crm/tickets/models/public_associations_for_object.rb +0 -10
  685. data/lib/hubspot/codegen/crm/tickets/models/public_object_id.rb +0 -5
  686. data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +0 -25
  687. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +10 -1
  688. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input_upsert.rb +262 -0
  689. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +10 -1
  690. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input_for_create.rb +10 -6
  691. data/lib/hubspot/codegen/crm/tickets/models/simple_public_upsert_object.rb +315 -0
  692. data/lib/hubspot/codegen/crm/timeline/api/events_api.rb +6 -6
  693. data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +6 -6
  694. data/lib/hubspot/codegen/crm/timeline/api/tokens_api.rb +4 -4
  695. data/lib/hubspot/codegen/crm/timeline/api_client.rb +1 -1
  696. data/lib/hubspot/codegen/crm/timeline/api_error.rb +1 -1
  697. data/lib/hubspot/codegen/crm/timeline/configuration.rb +1 -1
  698. data/lib/hubspot/codegen/crm/timeline/models/batch_input_timeline_event.rb +1 -1
  699. data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response.rb +1 -1
  700. data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors.rb +1 -1
  701. data/lib/hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template_no_paging.rb +1 -1
  702. data/lib/hubspot/codegen/crm/timeline/models/error.rb +1 -1
  703. data/lib/hubspot/codegen/crm/timeline/models/error_detail.rb +1 -1
  704. data/lib/hubspot/codegen/crm/timeline/models/event_detail.rb +1 -1
  705. data/lib/hubspot/codegen/crm/timeline/models/standard_error.rb +1 -1
  706. data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +1 -1
  707. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_i_frame.rb +1 -1
  708. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_response.rb +1 -1
  709. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template.rb +1 -1
  710. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_create_request.rb +1 -1
  711. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token.rb +1 -1
  712. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_option.rb +1 -1
  713. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_update_request.rb +1 -1
  714. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_update_request.rb +1 -1
  715. data/lib/hubspot/codegen/events/api/events_api.rb +84 -29
  716. data/lib/hubspot/codegen/events/api_client.rb +2 -2
  717. data/lib/hubspot/codegen/events/api_error.rb +2 -2
  718. data/lib/hubspot/codegen/events/configuration.rb +2 -2
  719. data/lib/hubspot/codegen/events/models/collection_response_external_unified_event.rb +2 -2
  720. data/lib/hubspot/codegen/events/models/error.rb +2 -2
  721. data/lib/hubspot/codegen/events/models/error_detail.rb +2 -2
  722. data/lib/hubspot/codegen/events/models/external_unified_event.rb +2 -2
  723. data/lib/hubspot/codegen/events/models/next_page.rb +2 -2
  724. data/lib/hubspot/codegen/events/models/paging.rb +2 -2
  725. data/lib/hubspot/codegen/events/models/previous_page.rb +2 -2
  726. data/lib/hubspot/codegen/events/models/visible_external_event_type_names.rb +229 -0
  727. data/lib/hubspot/codegen/events/send/api/{custom_event_data_api.rb → basic_api.rb} +13 -10
  728. data/lib/hubspot/codegen/{crm/deals/api/gdpr_api.rb → events/send/api/batch_api.rb} +21 -21
  729. data/lib/hubspot/codegen/events/send/api_client.rb +1 -1
  730. data/lib/hubspot/codegen/events/send/api_error.rb +1 -1
  731. data/lib/hubspot/codegen/events/send/configuration.rb +1 -1
  732. data/lib/hubspot/codegen/events/send/models/batched_behavioral_event_http_completion_request.rb +230 -0
  733. data/lib/hubspot/codegen/events/send/models/behavioral_event_http_completion_request.rb +8 -7
  734. data/lib/hubspot/codegen/events/send/models/error.rb +1 -1
  735. data/lib/hubspot/codegen/events/send/models/error_detail.rb +1 -1
  736. data/lib/hubspot/codegen/marketing/emails/api/marketing_emails_api.rb +1226 -0
  737. data/lib/hubspot/codegen/marketing/emails/api/statistics_api.rb +168 -0
  738. data/lib/hubspot/codegen/marketing/emails/api_client.rb +410 -0
  739. data/lib/hubspot/codegen/marketing/emails/api_error.rb +61 -0
  740. data/lib/hubspot/codegen/marketing/emails/configuration.rb +287 -0
  741. data/lib/hubspot/codegen/{crm/quotes/models/public_merge_input.rb → marketing/emails/models/ab_test_create_request_v_next.rb} +28 -26
  742. data/lib/hubspot/codegen/marketing/emails/models/aggregate_email_statistics.rb +248 -0
  743. data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_email_statistic_interval_no_paging.rb +247 -0
  744. data/lib/hubspot/codegen/{cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb → marketing/emails/models/collection_response_with_total_public_email_forward_paging.rb} +12 -11
  745. data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_version_public_email.rb +256 -0
  746. data/lib/hubspot/codegen/marketing/emails/models/content_clone_request_v_next.rb +240 -0
  747. data/lib/hubspot/codegen/marketing/emails/models/email_create_request.rb +468 -0
  748. data/lib/hubspot/codegen/marketing/emails/models/email_statistic_interval.rb +232 -0
  749. data/lib/hubspot/codegen/marketing/emails/models/email_statistics_data.rb +282 -0
  750. data/lib/hubspot/codegen/marketing/emails/models/email_update_request.rb +453 -0
  751. data/lib/hubspot/codegen/marketing/emails/models/error.rb +305 -0
  752. data/lib/hubspot/codegen/marketing/emails/models/error_detail.rb +271 -0
  753. data/lib/hubspot/codegen/marketing/emails/models/forward_paging.rb +223 -0
  754. data/lib/hubspot/codegen/marketing/emails/models/interval.rb +242 -0
  755. data/lib/hubspot/codegen/marketing/emails/models/next_page.rb +240 -0
  756. data/lib/hubspot/codegen/marketing/emails/models/paging.rb +238 -0
  757. data/lib/hubspot/codegen/marketing/emails/models/previous_page.rb +240 -0
  758. data/lib/hubspot/codegen/marketing/emails/models/public_button_style_settings.rb +241 -0
  759. data/lib/hubspot/codegen/marketing/emails/models/public_divider_style_settings.rb +241 -0
  760. data/lib/hubspot/codegen/marketing/emails/models/public_email.rb +654 -0
  761. data/lib/hubspot/codegen/marketing/emails/models/public_email_content.rb +304 -0
  762. data/lib/hubspot/codegen/{crm/line_items/models/public_merge_input.rb → marketing/emails/models/public_email_from_details.rb} +33 -30
  763. data/lib/hubspot/codegen/marketing/emails/models/public_email_recipients.rb +239 -0
  764. data/lib/hubspot/codegen/marketing/emails/models/public_email_style_settings.rb +484 -0
  765. data/lib/hubspot/codegen/marketing/emails/models/public_email_subscription_details.rb +245 -0
  766. data/lib/hubspot/codegen/marketing/emails/models/public_email_testing_details.rb +355 -0
  767. data/lib/hubspot/codegen/marketing/emails/models/public_email_to_details.rb +262 -0
  768. data/lib/hubspot/codegen/marketing/emails/models/public_font_style.rb +268 -0
  769. data/lib/hubspot/codegen/marketing/emails/models/public_rss_email_details.rb +307 -0
  770. data/lib/hubspot/codegen/marketing/emails/models/public_webversion_details.rb +311 -0
  771. data/lib/hubspot/codegen/marketing/emails/models/version_public_email.rb +272 -0
  772. data/lib/hubspot/codegen/marketing/emails/models/version_user.rb +260 -0
  773. data/lib/hubspot/codegen/marketing/events/api/add_event_attendees_api.rb +352 -0
  774. data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +294 -100
  775. data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +156 -20
  776. data/lib/hubspot/codegen/marketing/events/api/change_property_api.rb +177 -0
  777. data/lib/hubspot/codegen/marketing/events/api/identifiers_api.rb +153 -0
  778. data/lib/hubspot/codegen/marketing/events/api/list_associations_api.rb +446 -0
  779. data/lib/hubspot/codegen/marketing/events/api/retrieve_participant_state_api.rb +386 -0
  780. data/lib/hubspot/codegen/marketing/events/api/settings_api.rb +42 -42
  781. data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +45 -45
  782. data/lib/hubspot/codegen/marketing/events/api_client.rb +1 -1
  783. data/lib/hubspot/codegen/marketing/events/api_error.rb +1 -1
  784. data/lib/hubspot/codegen/marketing/events/configuration.rb +1 -1
  785. data/lib/hubspot/codegen/marketing/events/models/app_info.rb +242 -0
  786. data/lib/hubspot/codegen/marketing/events/models/attendance_counters.rb +270 -0
  787. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +1 -1
  788. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +1 -2
  789. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +1 -1
  790. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_public_object_id_delete_request.rb +230 -0
  791. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_public_update_request_full_v2.rb +230 -0
  792. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_subscriber.rb +1 -2
  793. data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +1 -1
  794. data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response_v2.rb +326 -0
  795. data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response_v2_with_errors.rb +346 -0
  796. data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_email_response.rb +1 -1
  797. data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_vid_response.rb +1 -1
  798. data/lib/hubspot/codegen/marketing/events/models/{collection_response_marketing_event_external_unique_identifier_no_paging.rb → collection_response_marketing_event_public_read_response_v2_forward_paging.rb} +15 -6
  799. data/lib/hubspot/codegen/marketing/events/models/collection_response_search_public_response_wrapper_no_paging.rb +230 -0
  800. data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_marketing_event_identifiers_response_no_paging.rb +244 -0
  801. data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_participation_breakdown_forward_paging.rb +253 -0
  802. data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_public_list_no_paging.rb +244 -0
  803. data/lib/hubspot/codegen/marketing/events/models/contact_association.rb +260 -0
  804. data/lib/hubspot/codegen/marketing/events/models/crm_property_wrapper.rb +242 -0
  805. data/lib/hubspot/codegen/marketing/events/models/error.rb +1 -1
  806. data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +1 -1
  807. data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +1 -1
  808. data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +1 -1
  809. data/lib/hubspot/codegen/marketing/events/models/forward_paging.rb +223 -0
  810. data/lib/hubspot/codegen/marketing/events/models/marketing_event_association.rb +260 -0
  811. data/lib/hubspot/codegen/marketing/events/models/marketing_event_complete_request_params.rb +1 -1
  812. data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +11 -2
  813. data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +23 -5
  814. data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +2 -2
  815. data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +1 -1
  816. data/lib/hubspot/codegen/marketing/events/models/marketing_event_identifiers_response.rb +274 -0
  817. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +62 -44
  818. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response_v2.rb +367 -0
  819. data/lib/hubspot/codegen/{crm/deals/models/public_gdpr_delete_input.rb → marketing/events/models/marketing_event_public_object_id_delete_request.rb} +8 -17
  820. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +20 -2
  821. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response_v2.rb +421 -0
  822. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_update_request_full_v2.rb +316 -0
  823. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_update_request_v2.rb +302 -0
  824. data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +2 -2
  825. data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +11 -2
  826. data/lib/hubspot/codegen/marketing/events/models/next_page.rb +237 -0
  827. data/lib/hubspot/codegen/marketing/events/models/participation_associations.rb +242 -0
  828. data/lib/hubspot/codegen/marketing/events/models/participation_breakdown.rb +270 -0
  829. data/lib/hubspot/codegen/marketing/events/models/participation_properties.rb +294 -0
  830. data/lib/hubspot/codegen/marketing/events/models/property_value.rb +58 -4
  831. data/lib/hubspot/codegen/marketing/events/models/public_list.rb +361 -0
  832. data/lib/hubspot/codegen/marketing/events/models/search_public_response_wrapper.rb +270 -0
  833. data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +1 -1
  834. data/lib/hubspot/codegen/marketing/events/models/subscriber_email_response.rb +1 -1
  835. data/lib/hubspot/codegen/marketing/events/models/subscriber_vid_response.rb +1 -1
  836. data/lib/hubspot/codegen/marketing/forms/models/datepicker_field.rb +67 -67
  837. data/lib/hubspot/codegen/marketing/forms/models/dependent_field_filter.rb +38 -33
  838. data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +84 -84
  839. data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +67 -67
  840. data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +19 -19
  841. data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +29 -28
  842. data/lib/hubspot/codegen/marketing/forms/models/file_field.rb +77 -77
  843. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +0 -1
  844. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +0 -1
  845. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_checkbox.rb +20 -19
  846. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +42 -35
  847. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +27 -22
  848. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +33 -29
  849. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +1 -0
  850. data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +67 -67
  851. data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +67 -67
  852. data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +78 -78
  853. data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +67 -67
  854. data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +2 -0
  855. data/lib/hubspot/codegen/marketing/forms/models/payment_link_radio_field.rb +72 -72
  856. data/lib/hubspot/codegen/marketing/forms/models/phone_field.rb +77 -77
  857. data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +2 -0
  858. data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +84 -84
  859. data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +67 -67
  860. data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +67 -67
  861. data/lib/hubspot/codegen/marketing/transactional/api/public_smtp_tokens_api.rb +21 -21
  862. data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +1 -1
  863. data/lib/hubspot/codegen/marketing/transactional/api_client.rb +1 -1
  864. data/lib/hubspot/codegen/marketing/transactional/api_error.rb +1 -1
  865. data/lib/hubspot/codegen/marketing/transactional/configuration.rb +1 -1
  866. data/lib/hubspot/codegen/marketing/transactional/models/collection_response_smtp_api_token_view_forward_paging.rb +1 -1
  867. data/lib/hubspot/codegen/marketing/transactional/models/email_send_status_view.rb +1 -1
  868. data/lib/hubspot/codegen/marketing/transactional/models/error.rb +1 -1
  869. data/lib/hubspot/codegen/marketing/transactional/models/error_detail.rb +1 -1
  870. data/lib/hubspot/codegen/marketing/transactional/models/event_id_view.rb +1 -1
  871. data/lib/hubspot/codegen/marketing/transactional/models/forward_paging.rb +1 -1
  872. data/lib/hubspot/codegen/marketing/transactional/models/next_page.rb +1 -1
  873. data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_email.rb +1 -1
  874. data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_request_egg.rb +1 -1
  875. data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_request_egg.rb +1 -1
  876. data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_view.rb +1 -1
  877. data/lib/hubspot/codegen/settings/users/api/roles_api.rb +1 -1
  878. data/lib/hubspot/codegen/settings/users/api/teams_api.rb +1 -1
  879. data/lib/hubspot/codegen/settings/users/api/users_api.rb +13 -1
  880. data/lib/hubspot/codegen/settings/users/api_client.rb +1 -1
  881. data/lib/hubspot/codegen/settings/users/api_error.rb +1 -1
  882. data/lib/hubspot/codegen/settings/users/configuration.rb +1 -1
  883. data/lib/hubspot/codegen/settings/users/models/collection_response_public_permission_set_no_paging.rb +1 -1
  884. data/lib/hubspot/codegen/settings/users/models/collection_response_public_team_no_paging.rb +1 -1
  885. data/lib/hubspot/codegen/settings/users/models/collection_response_public_user_forward_paging.rb +1 -1
  886. data/lib/hubspot/codegen/settings/users/models/error.rb +1 -1
  887. data/lib/hubspot/codegen/settings/users/models/error_detail.rb +1 -1
  888. data/lib/hubspot/codegen/settings/users/models/forward_paging.rb +1 -1
  889. data/lib/hubspot/codegen/settings/users/models/next_page.rb +1 -1
  890. data/lib/hubspot/codegen/settings/users/models/public_permission_set.rb +1 -1
  891. data/lib/hubspot/codegen/settings/users/models/public_team.rb +1 -1
  892. data/lib/hubspot/codegen/settings/users/models/public_user.rb +20 -2
  893. data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +20 -2
  894. data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +20 -2
  895. data/lib/hubspot/codegen/webhooks/api/settings_api.rb +18 -6
  896. data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +42 -18
  897. data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +1 -0
  898. data/lib/hubspot/codegen/webhooks/models/settings_response.rb +1 -0
  899. data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +13 -3
  900. data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +1 -0
  901. data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +1 -0
  902. data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +13 -3
  903. data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +2 -50
  904. data/lib/hubspot/discovery/cms/blogs/blog_posts/api/{blog_posts_api.rb → basic_api.rb} +1 -1
  905. data/lib/hubspot/discovery/cms/blogs/blog_posts/api/batch_api.rb +15 -0
  906. data/lib/hubspot/discovery/{crm/extensions/accounting/api/invoice_api.rb → cms/blogs/blog_posts/api/multi_language_api.rb} +4 -4
  907. data/lib/hubspot/discovery/cms/blogs/blog_posts/client.rb +3 -1
  908. data/lib/hubspot/discovery/cms/source_code/client.rb +0 -1
  909. data/lib/hubspot/discovery/crm/associations/v4/api/report_api.rb +15 -0
  910. data/lib/hubspot/discovery/crm/associations/v4/client.rb +1 -0
  911. data/lib/hubspot/discovery/crm/associations/v4/schema/api/definition_configurations_api.rb +17 -0
  912. data/lib/hubspot/discovery/crm/associations/v4/schema/client.rb +1 -0
  913. data/lib/hubspot/discovery/crm/client.rb +2 -0
  914. data/lib/hubspot/discovery/crm/commerce/client.rb +19 -0
  915. data/lib/hubspot/discovery/crm/commerce/invoices/api/basic_api.rb +15 -0
  916. data/lib/hubspot/discovery/crm/commerce/invoices/api/batch_api.rb +15 -0
  917. data/lib/hubspot/discovery/crm/commerce/invoices/api/search_api.rb +15 -0
  918. data/lib/hubspot/discovery/crm/{extensions/accounting → commerce/invoices}/client.rb +5 -8
  919. data/lib/hubspot/discovery/crm/companies/api/{public_object_api.rb → merge_api.rb} +1 -1
  920. data/lib/hubspot/discovery/crm/companies/client.rb +1 -1
  921. data/lib/hubspot/discovery/crm/contacts/api/{public_object_api.rb → merge_api.rb} +1 -1
  922. data/lib/hubspot/discovery/crm/contacts/client.rb +1 -1
  923. data/lib/hubspot/discovery/crm/deals/api/{public_object_api.rb → merge_api.rb} +1 -1
  924. data/lib/hubspot/discovery/crm/deals/client.rb +1 -1
  925. data/lib/hubspot/discovery/crm/{line_items/api/gdpr_api.rb → exports/api/public_exports_api.rb} +2 -2
  926. data/lib/hubspot/discovery/crm/exports/client.rb +19 -0
  927. data/lib/hubspot/discovery/crm/extensions/{accounting/api/sync_api.rb → calling/api/channel_connection_settings_api.rb} +2 -2
  928. data/lib/hubspot/discovery/crm/extensions/calling/client.rb +1 -0
  929. data/lib/hubspot/discovery/crm/extensions/client.rb +0 -1
  930. data/lib/hubspot/discovery/crm/line_items/client.rb +0 -2
  931. data/lib/hubspot/discovery/crm/{quotes/api/gdpr_api.rb → lists/api/folders_api.rb} +2 -2
  932. data/lib/hubspot/discovery/crm/{products/api/gdpr_api.rb → lists/api/mapping_api.rb} +2 -2
  933. data/lib/hubspot/discovery/crm/lists/client.rb +2 -0
  934. data/lib/hubspot/discovery/crm/objects/calls/client.rb +0 -2
  935. data/lib/hubspot/discovery/crm/objects/client.rb +2 -3
  936. data/lib/hubspot/discovery/crm/objects/communications/client.rb +0 -2
  937. data/lib/hubspot/discovery/crm/objects/{meetings/api/gdpr_api.rb → deal_splits/api/batch_api.rb} +2 -2
  938. data/lib/hubspot/discovery/crm/objects/deal_splits/client.rb +21 -0
  939. data/lib/hubspot/discovery/crm/objects/emails/client.rb +0 -2
  940. data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +0 -2
  941. data/lib/hubspot/discovery/crm/objects/goals/client.rb +0 -2
  942. data/lib/hubspot/discovery/crm/objects/{emails/api/gdpr_api.rb → leads/api/basic_api.rb} +2 -2
  943. data/lib/hubspot/discovery/crm/objects/{calls/api/gdpr_api.rb → leads/api/batch_api.rb} +2 -2
  944. data/lib/hubspot/discovery/crm/objects/{goals/api/gdpr_api.rb → leads/api/search_api.rb} +2 -2
  945. data/lib/hubspot/discovery/crm/objects/leads/client.rb +23 -0
  946. data/lib/hubspot/discovery/crm/objects/meetings/client.rb +0 -2
  947. data/lib/hubspot/discovery/crm/objects/notes/client.rb +0 -2
  948. data/lib/hubspot/discovery/crm/objects/postal_mail/client.rb +0 -2
  949. data/lib/hubspot/discovery/crm/objects/tasks/client.rb +0 -2
  950. data/lib/hubspot/discovery/crm/objects/taxes/client.rb +0 -2
  951. data/lib/hubspot/discovery/crm/products/client.rb +0 -3
  952. data/lib/hubspot/discovery/crm/quotes/client.rb +0 -3
  953. data/lib/hubspot/discovery/crm/schemas/client.rb +0 -1
  954. data/lib/hubspot/discovery/crm/tickets/api/{gdpr_api.rb → merge_api.rb} +1 -1
  955. data/lib/hubspot/discovery/crm/tickets/client.rb +1 -3
  956. data/lib/hubspot/discovery/events/send/api/{custom_event_data_api.rb → basic_api.rb} +1 -1
  957. data/lib/hubspot/discovery/{crm/objects/api/gdpr_api.rb → events/send/api/batch_api.rb} +3 -3
  958. data/lib/hubspot/discovery/events/send/client.rb +2 -1
  959. data/lib/hubspot/discovery/marketing/client.rb +1 -0
  960. data/lib/hubspot/discovery/marketing/emails/api/marketing_emails_api.rb +13 -0
  961. data/lib/hubspot/discovery/marketing/emails/api/statistics_api.rb +13 -0
  962. data/lib/hubspot/discovery/marketing/emails/client.rb +20 -0
  963. data/lib/hubspot/discovery/marketing/events/api/{marketing_events_external_api.rb → add_event_attendees_api.rb} +1 -1
  964. data/lib/hubspot/discovery/marketing/events/api/{attendance_subscriber_state_changes_api.rb → change_property_api.rb} +1 -1
  965. data/lib/hubspot/discovery/marketing/events/api/{search_api.rb → identifiers_api.rb} +1 -1
  966. data/lib/hubspot/discovery/marketing/events/api/list_associations_api.rb +13 -0
  967. data/lib/hubspot/discovery/marketing/events/api/retrieve_participant_state_api.rb +13 -0
  968. data/lib/hubspot/discovery/marketing/events/client.rb +6 -4
  969. data/lib/hubspot/discovery/marketing/transactional/api/public_smtp_tokens_api.rb +1 -1
  970. data/lib/hubspot/helpers/camel_case.rb +2 -0
  971. data/lib/hubspot/helpers/requests/http_auth.rb +33 -0
  972. data/lib/hubspot/helpers/requests/http_request_builder.rb +120 -0
  973. data/lib/hubspot/helpers/signature.rb +54 -26
  974. data/lib/hubspot/version.rb +1 -1
  975. data/spec/discovery/client_spec.rb +1 -0
  976. data/spec/discovery/cms/blogs/blog-posts/{blog_posts_api_spec.rb → basic_api_spec.rb} +2 -6
  977. data/spec/discovery/cms/blogs/blog-posts/batch_api_spec.rb +11 -0
  978. data/spec/discovery/cms/blogs/blog-posts/multi_language_api_spec.rb +11 -0
  979. data/spec/discovery/cms/source-code/extract_api_spec.rb +2 -1
  980. data/spec/discovery/crm/associations/v4/report_api_spec.rb +7 -0
  981. data/spec/discovery/crm/associations/v4/schema/definition_configurations_api_spec.rb +11 -0
  982. data/spec/discovery/crm/associations/v4/schema/definitions_api_spec.rb +2 -2
  983. data/spec/discovery/crm/commerce/client_spec.rb +7 -0
  984. data/spec/discovery/crm/commerce/invoices/basic_api_spec.rb +11 -0
  985. data/spec/discovery/crm/commerce/invoices/batch_api_spec.rb +11 -0
  986. data/spec/discovery/crm/commerce/invoices/search_api_spec.rb +7 -0
  987. data/spec/discovery/crm/companies/batch_api_spec.rb +1 -0
  988. data/spec/discovery/crm/{deals/public_object_api_spec.rb → companies/merge_api_spec.rb} +2 -2
  989. data/spec/discovery/crm/contacts/batch_api_spec.rb +1 -0
  990. data/spec/discovery/crm/{quotes/public_object_api_spec.rb → contacts/merge_api_spec.rb} +2 -2
  991. data/spec/discovery/crm/deals/batch_api_spec.rb +1 -0
  992. data/spec/discovery/crm/{objects/public_object_api_spec.rb → deals/merge_api_spec.rb} +2 -2
  993. data/spec/discovery/crm/exports/public_exports_api_spec.rb +8 -0
  994. data/spec/discovery/crm/extensions/calling/channel_connection_settings_api_spec.rb +10 -0
  995. data/spec/discovery/crm/extensions/calling/recording_settings_api_spec.rb +1 -0
  996. data/spec/discovery/crm/extensions/client_spec.rb +0 -1
  997. data/spec/discovery/crm/line_items/batch_api_spec.rb +1 -0
  998. data/spec/discovery/crm/lists/folders_api_spec.rb +12 -0
  999. data/spec/discovery/crm/lists/lists_api_spec.rb +4 -11
  1000. data/spec/discovery/crm/lists/mapping_api_spec.rb +15 -0
  1001. data/spec/discovery/crm/lists/memberships_api_spec.rb +1 -0
  1002. data/spec/discovery/crm/objects/batch_api_spec.rb +1 -0
  1003. data/spec/discovery/crm/objects/calls/batch_api_spec.rb +1 -0
  1004. data/spec/discovery/crm/objects/client_spec.rb +2 -0
  1005. data/spec/discovery/crm/objects/communications/batch_api_spec.rb +1 -0
  1006. data/spec/discovery/crm/objects/deal_splits/batch_api_spec.rb +8 -0
  1007. data/spec/discovery/crm/objects/emails/batch_api_spec.rb +1 -0
  1008. data/spec/discovery/crm/objects/feedback_submissions/basic_api_spec.rb +0 -3
  1009. data/spec/discovery/crm/objects/feedback_submissions/batch_api_spec.rb +0 -3
  1010. data/spec/discovery/crm/objects/goals/batch_api_spec.rb +1 -0
  1011. data/spec/discovery/crm/objects/leads/basic_api_spec.rb +11 -0
  1012. data/spec/discovery/crm/objects/leads/batch_api_spec.rb +11 -0
  1013. data/spec/discovery/crm/objects/leads/search_api_spec.rb +7 -0
  1014. data/spec/discovery/crm/objects/meetings/batch_api_spec.rb +1 -0
  1015. data/spec/discovery/crm/objects/notes/batch_api_spec.rb +1 -0
  1016. data/spec/discovery/crm/objects/postal_mail/batch_api_spec.rb +1 -0
  1017. data/spec/discovery/crm/objects/tasks/batch_api_spec.rb +1 -0
  1018. data/spec/discovery/crm/objects/taxes/batch_api_spec.rb +1 -0
  1019. data/spec/discovery/crm/products/batch_api_spec.rb +1 -0
  1020. data/spec/discovery/crm/quotes/basic_api_spec.rb +3 -0
  1021. data/spec/discovery/crm/quotes/batch_api_spec.rb +4 -0
  1022. data/spec/discovery/crm/tickets/batch_api_spec.rb +1 -0
  1023. data/spec/discovery/crm/{objects/goals/public_object_api_spec.rb → tickets/merge_api_spec.rb} +2 -2
  1024. data/spec/discovery/events/events_api_spec.rb +1 -0
  1025. data/spec/discovery/events/send/basic_api_spec.rb +7 -0
  1026. data/spec/discovery/events/send/batch_api_spec.rb +7 -0
  1027. data/spec/discovery/marketing/emails/marketing_emails_api_spec.rb +24 -0
  1028. data/spec/discovery/marketing/emails/statistics_api_spec.rb +8 -0
  1029. data/spec/discovery/marketing/events/add_event_attendees_api_spec.rb +10 -0
  1030. data/spec/discovery/marketing/events/basic_api_spec.rb +7 -4
  1031. data/spec/discovery/marketing/events/batch_api_spec.rb +4 -2
  1032. data/spec/discovery/marketing/events/change_property_api_spec.rb +8 -0
  1033. data/spec/discovery/marketing/events/identifiers_api_spec.rb +8 -0
  1034. data/spec/discovery/marketing/events/list_associations_api_spec.rb +12 -0
  1035. data/spec/discovery/marketing/events/retrieve_participant_state_api_spec.rb +11 -0
  1036. data/spec/discovery/marketing/events/settings_api_spec.rb +1 -1
  1037. data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +2 -2
  1038. data/spec/discovery/marketing/transactional/public_smtp_tokens_api_spec.rb +1 -1
  1039. data/spec/helpers/requests/http_auth_spec.rb +58 -0
  1040. data/spec/helpers/requests/http_request_spec.rb +71 -0
  1041. data/spec/helpers/signature_spec.rb +15 -5
  1042. metadata +457 -291
  1043. data/lib/hubspot/codegen/cms/blogs/blog_posts/api/blog_posts_api.rb +0 -1694
  1044. data/lib/hubspot/codegen/crm/companies/api/gdpr_api.rb +0 -94
  1045. data/lib/hubspot/codegen/crm/extensions/accounting/api/callbacks_api.rb +0 -768
  1046. data/lib/hubspot/codegen/crm/extensions/accounting/api/invoice_api.rb +0 -256
  1047. data/lib/hubspot/codegen/crm/extensions/accounting/api/settings_api.rb +0 -165
  1048. data/lib/hubspot/codegen/crm/extensions/accounting/api/sync_api.rb +0 -176
  1049. data/lib/hubspot/codegen/crm/extensions/accounting/api/user_accounts_api.rb +0 -159
  1050. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_settings.rb +0 -255
  1051. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_urls.rb +0 -395
  1052. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_term.rb +0 -267
  1053. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_features.rb +0 -262
  1054. data/lib/hubspot/codegen/crm/extensions/accounting/models/address.rb +0 -267
  1055. data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_feature.rb +0 -246
  1056. data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_sub_features.rb +0 -307
  1057. data/lib/hubspot/codegen/crm/extensions/accounting/models/create_user_account_request_external.rb +0 -262
  1058. data/lib/hubspot/codegen/crm/extensions/accounting/models/import_invoice_feature.rb +0 -232
  1059. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_create_payment_request.rb +0 -276
  1060. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_read_response.rb +0 -469
  1061. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_request.rb +0 -295
  1062. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_response.rb +0 -454
  1063. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoices_response_external.rb +0 -278
  1064. data/lib/hubspot/codegen/crm/extensions/accounting/models/object_sync_feature.rb +0 -231
  1065. data/lib/hubspot/codegen/crm/extensions/accounting/models/product.rb +0 -295
  1066. data/lib/hubspot/codegen/crm/extensions/accounting/models/product_search_response.rb +0 -278
  1067. data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_contacts_request.rb +0 -249
  1068. data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_products_request.rb +0 -249
  1069. data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_search_response.rb +0 -278
  1070. data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_type.rb +0 -242
  1071. data/lib/hubspot/codegen/crm/extensions/accounting/models/terms_response.rb +0 -278
  1072. data/lib/hubspot/codegen/crm/extensions/accounting/models/unit_price.rb +0 -242
  1073. data/lib/hubspot/codegen/crm/extensions/accounting/models/updated_contact.rb +0 -333
  1074. data/lib/hubspot/codegen/crm/line_items/api/gdpr_api.rb +0 -94
  1075. data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +0 -92
  1076. data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +0 -100
  1077. data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +0 -98
  1078. data/lib/hubspot/codegen/crm/objects/calls/api/gdpr_api.rb +0 -96
  1079. data/lib/hubspot/codegen/crm/objects/communications/api/gdpr_api.rb +0 -96
  1080. data/lib/hubspot/codegen/crm/objects/communications/api/public_object_api.rb +0 -94
  1081. data/lib/hubspot/codegen/crm/objects/emails/api/gdpr_api.rb +0 -96
  1082. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/gdpr_api.rb +0 -96
  1083. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +0 -94
  1084. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_gdpr_delete_input.rb +0 -239
  1085. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_merge_input.rb +0 -244
  1086. data/lib/hubspot/codegen/crm/objects/goals/api/gdpr_api.rb +0 -96
  1087. data/lib/hubspot/codegen/crm/objects/goals/api/public_object_api.rb +0 -94
  1088. data/lib/hubspot/codegen/crm/objects/meetings/api/gdpr_api.rb +0 -96
  1089. data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +0 -94
  1090. data/lib/hubspot/codegen/crm/objects/notes/api/gdpr_api.rb +0 -96
  1091. data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +0 -94
  1092. data/lib/hubspot/codegen/crm/objects/postal_mail/api/gdpr_api.rb +0 -96
  1093. data/lib/hubspot/codegen/crm/objects/tasks/api/gdpr_api.rb +0 -96
  1094. data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +0 -94
  1095. data/lib/hubspot/codegen/crm/objects/taxes/api/gdpr_api.rb +0 -96
  1096. data/lib/hubspot/codegen/crm/objects/taxes/api/public_object_api.rb +0 -94
  1097. data/lib/hubspot/codegen/crm/products/api/gdpr_api.rb +0 -94
  1098. data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +0 -92
  1099. data/lib/hubspot/codegen/crm/quotes/api/gdpr_api.rb +0 -94
  1100. data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +0 -92
  1101. data/lib/hubspot/codegen/crm/schemas/api/public_object_schemas_api.rb +0 -85
  1102. data/lib/hubspot/codegen/crm/tickets/api/gdpr_api.rb +0 -94
  1103. data/lib/hubspot/codegen/marketing/events/api/attendance_subscriber_state_changes_api.rb +0 -192
  1104. data/lib/hubspot/codegen/marketing/events/api/marketing_events_external_api.rb +0 -103
  1105. data/lib/hubspot/codegen/marketing/events/api/search_api.rb +0 -90
  1106. data/lib/hubspot/discovery/cms/source_code/api/source_code_extract_api.rb +0 -13
  1107. data/lib/hubspot/discovery/crm/extensions/accounting/api/callbacks_api.rb +0 -15
  1108. data/lib/hubspot/discovery/crm/extensions/accounting/api/settings_api.rb +0 -15
  1109. data/lib/hubspot/discovery/crm/extensions/accounting/api/user_accounts_api.rb +0 -15
  1110. data/lib/hubspot/discovery/crm/line_items/api/public_object_api.rb +0 -13
  1111. data/lib/hubspot/discovery/crm/objects/api/associations_api.rb +0 -13
  1112. data/lib/hubspot/discovery/crm/objects/api/public_object_api.rb +0 -13
  1113. data/lib/hubspot/discovery/crm/objects/calls/api/public_object_api.rb +0 -15
  1114. data/lib/hubspot/discovery/crm/objects/communications/api/gdpr_api.rb +0 -15
  1115. data/lib/hubspot/discovery/crm/objects/communications/api/public_object_api.rb +0 -15
  1116. data/lib/hubspot/discovery/crm/objects/emails/api/public_object_api.rb +0 -15
  1117. data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/gdpr_api.rb +0 -15
  1118. data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/public_object_api.rb +0 -15
  1119. data/lib/hubspot/discovery/crm/objects/goals/api/public_object_api.rb +0 -15
  1120. data/lib/hubspot/discovery/crm/objects/meetings/api/public_object_api.rb +0 -15
  1121. data/lib/hubspot/discovery/crm/objects/notes/api/gdpr_api.rb +0 -15
  1122. data/lib/hubspot/discovery/crm/objects/notes/api/public_object_api.rb +0 -15
  1123. data/lib/hubspot/discovery/crm/objects/postal_mail/api/gdpr_api.rb +0 -15
  1124. data/lib/hubspot/discovery/crm/objects/postal_mail/api/public_object_api.rb +0 -15
  1125. data/lib/hubspot/discovery/crm/objects/tasks/api/gdpr_api.rb +0 -15
  1126. data/lib/hubspot/discovery/crm/objects/tasks/api/public_object_api.rb +0 -15
  1127. data/lib/hubspot/discovery/crm/objects/taxes/api/gdpr_api.rb +0 -15
  1128. data/lib/hubspot/discovery/crm/objects/taxes/api/public_object_api.rb +0 -15
  1129. data/lib/hubspot/discovery/crm/products/api/associations_api.rb +0 -13
  1130. data/lib/hubspot/discovery/crm/products/api/public_object_api.rb +0 -13
  1131. data/lib/hubspot/discovery/crm/quotes/api/associations_api.rb +0 -13
  1132. data/lib/hubspot/discovery/crm/quotes/api/public_object_api.rb +0 -13
  1133. data/lib/hubspot/discovery/crm/schemas/api/public_object_schemas_api.rb +0 -13
  1134. data/lib/hubspot/discovery/crm/tickets/api/associations_api.rb +0 -13
  1135. data/lib/hubspot/discovery/crm/tickets/api/public_object_api.rb +0 -13
  1136. data/spec/discovery/cms/source-code/source_code_extract_api_spec.rb +0 -8
  1137. data/spec/discovery/crm/companies/public_object_api_spec.rb +0 -7
  1138. data/spec/discovery/crm/contacts/public_object_api_spec.rb +0 -7
  1139. data/spec/discovery/crm/extensions/accounting/callbacks_api_spec.rb +0 -16
  1140. data/spec/discovery/crm/extensions/accounting/invoice_api_spec.rb +0 -9
  1141. data/spec/discovery/crm/extensions/accounting/settings_api_spec.rb +0 -8
  1142. data/spec/discovery/crm/extensions/accounting/sync_api_spec.rb +0 -8
  1143. data/spec/discovery/crm/extensions/accounting/user_accounts_api_spec.rb +0 -8
  1144. data/spec/discovery/crm/line_items/gdpr_api_spec.rb +0 -7
  1145. data/spec/discovery/crm/line_items/public_object_api_spec.rb +0 -7
  1146. data/spec/discovery/crm/objects/associations_api_spec.rb +0 -9
  1147. data/spec/discovery/crm/objects/calls/gdpr_api_spec.rb +0 -7
  1148. data/spec/discovery/crm/objects/calls/public_object_api_spec.rb +0 -7
  1149. data/spec/discovery/crm/objects/communications/gdpr_api_spec.rb +0 -7
  1150. data/spec/discovery/crm/objects/communications/public_object_api_spec.rb +0 -7
  1151. data/spec/discovery/crm/objects/emails/gdpr_api_spec.rb +0 -7
  1152. data/spec/discovery/crm/objects/emails/public_object_api_spec.rb +0 -7
  1153. data/spec/discovery/crm/objects/feedback_submissions/gdpr_api_spec.rb +0 -7
  1154. data/spec/discovery/crm/objects/feedback_submissions/public_object_api_spec.rb +0 -7
  1155. data/spec/discovery/crm/objects/gdpr_api_spec.rb +0 -7
  1156. data/spec/discovery/crm/objects/goals/gdpr_api_spec.rb +0 -7
  1157. data/spec/discovery/crm/objects/meetings/gdpr_api_spec.rb +0 -7
  1158. data/spec/discovery/crm/objects/meetings/public_object_api_spec.rb +0 -7
  1159. data/spec/discovery/crm/objects/notes/gdpr_api_spec.rb +0 -7
  1160. data/spec/discovery/crm/objects/notes/public_object_api_spec.rb +0 -7
  1161. data/spec/discovery/crm/objects/postal_mail/gdpr_api_spec.rb +0 -7
  1162. data/spec/discovery/crm/objects/postal_mail/public_object_api_spec.rb +0 -7
  1163. data/spec/discovery/crm/objects/tasks/gdpr_api_spec.rb +0 -7
  1164. data/spec/discovery/crm/objects/tasks/public_object_api_spec.rb +0 -7
  1165. data/spec/discovery/crm/objects/taxes/gdpr_api_spec.rb +0 -7
  1166. data/spec/discovery/crm/objects/taxes/public_object_api_spec.rb +0 -7
  1167. data/spec/discovery/crm/products/gdpr_api_spec.rb +0 -7
  1168. data/spec/discovery/crm/products/public_object_api_spec.rb +0 -7
  1169. data/spec/discovery/crm/quotes/gdpr_api_spec.rb +0 -7
  1170. data/spec/discovery/crm/schemas/public_object_schemas_api_spec.rb +0 -7
  1171. data/spec/discovery/crm/tickets/gdpr_api_spec.rb +0 -7
  1172. data/spec/discovery/crm/tickets/public_object_api_spec.rb +0 -7
  1173. data/spec/discovery/events/send/custom_event_data_api_spec.rb +0 -7
  1174. data/spec/discovery/marketing/events/attendance_subscriber_state_changes_api_spec.rb +0 -8
  1175. data/spec/discovery/marketing/events/marketing_events_external_api_spec.rb +0 -7
  1176. data/spec/discovery/marketing/events/search_api_spec.rb +0 -7
  1177. data/spec/integration/contacts_spec.rb +0 -85
@@ -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
 
@@ -85,9 +85,9 @@ module Hubspot
85
85
  end
86
86
 
87
87
  # Clone a table
88
- # Clone an existing HubDB table. The `newName` and `newLabel` of the new table can be sent as JSON in the `body` parameter. This will create the cloned table as a `draft`.
88
+ # Clone an existing HubDB table. The `newName` and `newLabel` of the new table can be sent as JSON in the request body. This will create the cloned table as a draft.
89
89
  # @param table_id_or_name [String] The ID or name of the table to clone.
90
- # @param hub_db_table_clone_request [HubDbTableCloneRequest] JSON object with the properties newName and newLabel. You can set copyRows to false to clone the table with copying rows and default is true.
90
+ # @param hub_db_table_clone_request [HubDbTableCloneRequest]
91
91
  # @param [Hash] opts the optional parameters
92
92
  # @return [HubDbTableV3]
93
93
  def clone_draft_table(table_id_or_name, hub_db_table_clone_request, opts = {})
@@ -96,9 +96,9 @@ module Hubspot
96
96
  end
97
97
 
98
98
  # Clone a table
99
- # Clone an existing HubDB table. The `newName` and `newLabel` of the new table can be sent as JSON in the `body` parameter. This will create the cloned table as a `draft`.
99
+ # Clone an existing HubDB table. The `newName` and `newLabel` of the new table can be sent as JSON in the request body. This will create the cloned table as a draft.
100
100
  # @param table_id_or_name [String] The ID or name of the table to clone.
101
- # @param hub_db_table_clone_request [HubDbTableCloneRequest] JSON object with the properties newName and newLabel. You can set copyRows to false to clone the table with copying rows and default is true.
101
+ # @param hub_db_table_clone_request [HubDbTableCloneRequest]
102
102
  # @param [Hash] opts the optional parameters
103
103
  # @return [Array<(HubDbTableV3, Integer, Hash)>] HubDbTableV3 data, response status code and response headers
104
104
  def clone_draft_table_with_http_info(table_id_or_name, hub_db_table_clone_request, opts = {})
@@ -160,7 +160,7 @@ module Hubspot
160
160
 
161
161
  # Create a new table
162
162
  # Creates a new draft HubDB table given a JSON schema. The table name and label should be unique for each account.
163
- # @param hub_db_table_v3_request [HubDbTableV3Request] The JSON schema for the table being created.
163
+ # @param hub_db_table_v3_request [HubDbTableV3Request]
164
164
  # @param [Hash] opts the optional parameters
165
165
  # @return [HubDbTableV3]
166
166
  def create_table(hub_db_table_v3_request, opts = {})
@@ -170,7 +170,7 @@ module Hubspot
170
170
 
171
171
  # Create a new table
172
172
  # Creates a new draft HubDB table given a JSON schema. The table name and label should be unique for each account.
173
- # @param hub_db_table_v3_request [HubDbTableV3Request] The JSON schema for the table being created.
173
+ # @param hub_db_table_v3_request [HubDbTableV3Request]
174
174
  # @param [Hash] opts the optional parameters
175
175
  # @return [Array<(HubDbTableV3, Integer, Hash)>] HubDbTableV3 data, response status code and response headers
176
176
  def create_table_with_http_info(hub_db_table_v3_request, opts = {})
@@ -227,7 +227,7 @@ module Hubspot
227
227
  end
228
228
 
229
229
  # Export a draft table
230
- # Exports the `draft` version of a table to CSV / EXCEL format.
230
+ # Exports the draft version of a table to CSV / EXCEL format.
231
231
  # @param table_id_or_name [String] The ID or name of the table to export.
232
232
  # @param [Hash] opts the optional parameters
233
233
  # @option opts [String] :format The file format to export. Possible values include &#x60;CSV&#x60;, &#x60;XLSX&#x60;, and &#x60;XLS&#x60;.
@@ -238,7 +238,7 @@ module Hubspot
238
238
  end
239
239
 
240
240
  # Export a draft table
241
- # Exports the &#x60;draft&#x60; version of a table to CSV / EXCEL format.
241
+ # Exports the draft version of a table to CSV / EXCEL format.
242
242
  # @param table_id_or_name [String] The ID or name of the table to export.
243
243
  # @param [Hash] opts the optional parameters
244
244
  # @option opts [String] :format The file format to export. Possible values include &#x60;CSV&#x60;, &#x60;XLSX&#x60;, and &#x60;XLS&#x60;.
@@ -293,7 +293,7 @@ module Hubspot
293
293
  end
294
294
 
295
295
  # Export a published version of a table
296
- # Exports the `published` version of a table to CSV / EXCEL format.
296
+ # Exports the published version of a table in a specified format.
297
297
  # @param table_id_or_name [String] The ID or name of the table to export.
298
298
  # @param [Hash] opts the optional parameters
299
299
  # @option opts [String] :format The file format to export. Possible values include &#x60;CSV&#x60;, &#x60;XLSX&#x60;, and &#x60;XLS&#x60;.
@@ -304,7 +304,7 @@ module Hubspot
304
304
  end
305
305
 
306
306
  # Export a published version of a table
307
- # Exports the &#x60;published&#x60; version of a table to CSV / EXCEL format.
307
+ # Exports the published version of a table in a specified format.
308
308
  # @param table_id_or_name [String] The ID or name of the table to export.
309
309
  # @param [Hash] opts the optional parameters
310
310
  # @option opts [String] :format The file format to export. Possible values include &#x60;CSV&#x60;, &#x60;XLSX&#x60;, and &#x60;XLS&#x60;.
@@ -370,6 +370,7 @@ module Hubspot
370
370
  # @option opts [Time] :updated_at Only return tables last updated at exactly the specified time.
371
371
  # @option opts [Time] :updated_after Only return tables last updated after the specified time.
372
372
  # @option opts [Time] :updated_before Only return tables last updated before the specified time.
373
+ # @option opts [String] :content_type
373
374
  # @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to &#x60;false&#x60;.
374
375
  # @return [CollectionResponseWithTotalHubDbTableV3ForwardPaging]
375
376
  def get_all_draft_tables(opts = {})
@@ -389,6 +390,7 @@ module Hubspot
389
390
  # @option opts [Time] :updated_at Only return tables last updated at exactly the specified time.
390
391
  # @option opts [Time] :updated_after Only return tables last updated after the specified time.
391
392
  # @option opts [Time] :updated_before Only return tables last updated before the specified time.
393
+ # @option opts [String] :content_type
392
394
  # @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to &#x60;false&#x60;.
393
395
  # @return [Array<(CollectionResponseWithTotalHubDbTableV3ForwardPaging, Integer, Hash)>] CollectionResponseWithTotalHubDbTableV3ForwardPaging data, response status code and response headers
394
396
  def get_all_draft_tables_with_http_info(opts = {})
@@ -409,6 +411,7 @@ module Hubspot
409
411
  query_params[:'updatedAt'] = opts[:'updated_at'] if !opts[:'updated_at'].nil?
410
412
  query_params[:'updatedAfter'] = opts[:'updated_after'] if !opts[:'updated_after'].nil?
411
413
  query_params[:'updatedBefore'] = opts[:'updated_before'] if !opts[:'updated_before'].nil?
414
+ query_params[:'contentType'] = opts[:'content_type'] if !opts[:'content_type'].nil?
412
415
  query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
413
416
 
414
417
  # header parameters
@@ -446,7 +449,7 @@ module Hubspot
446
449
  end
447
450
 
448
451
  # Get all published tables
449
- # Returns the details for the `published` version of each table defined in an account, including column definitions.
452
+ # Returns the details for the published version of each table defined in an account, including column definitions.
450
453
  # @param [Hash] opts the optional parameters
451
454
  # @option opts [Array<String>] :sort Specifies which fields to use for sorting results. Valid fields are &#x60;name&#x60;, &#x60;createdAt&#x60;, &#x60;updatedAt&#x60;, &#x60;createdBy&#x60;, &#x60;updatedBy&#x60;. &#x60;createdAt&#x60; will be used by default.
452
455
  # @option opts [String] :after The cursor token value to get the next set of results. You can get this from the &#x60;paging.next.after&#x60; JSON property of a paged response containing more results.
@@ -457,6 +460,7 @@ module Hubspot
457
460
  # @option opts [Time] :updated_at Only return tables last updated at exactly the specified time.
458
461
  # @option opts [Time] :updated_after Only return tables last updated after the specified time.
459
462
  # @option opts [Time] :updated_before Only return tables last updated before the specified time.
463
+ # @option opts [String] :content_type
460
464
  # @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to &#x60;false&#x60;.
461
465
  # @return [CollectionResponseWithTotalHubDbTableV3ForwardPaging]
462
466
  def get_all_tables(opts = {})
@@ -465,7 +469,7 @@ module Hubspot
465
469
  end
466
470
 
467
471
  # Get all published tables
468
- # Returns the details for the &#x60;published&#x60; version of each table defined in an account, including column definitions.
472
+ # Returns the details for the published version of each table defined in an account, including column definitions.
469
473
  # @param [Hash] opts the optional parameters
470
474
  # @option opts [Array<String>] :sort Specifies which fields to use for sorting results. Valid fields are &#x60;name&#x60;, &#x60;createdAt&#x60;, &#x60;updatedAt&#x60;, &#x60;createdBy&#x60;, &#x60;updatedBy&#x60;. &#x60;createdAt&#x60; will be used by default.
471
475
  # @option opts [String] :after The cursor token value to get the next set of results. You can get this from the &#x60;paging.next.after&#x60; JSON property of a paged response containing more results.
@@ -476,6 +480,7 @@ module Hubspot
476
480
  # @option opts [Time] :updated_at Only return tables last updated at exactly the specified time.
477
481
  # @option opts [Time] :updated_after Only return tables last updated after the specified time.
478
482
  # @option opts [Time] :updated_before Only return tables last updated before the specified time.
483
+ # @option opts [String] :content_type
479
484
  # @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to &#x60;false&#x60;.
480
485
  # @return [Array<(CollectionResponseWithTotalHubDbTableV3ForwardPaging, Integer, Hash)>] CollectionResponseWithTotalHubDbTableV3ForwardPaging data, response status code and response headers
481
486
  def get_all_tables_with_http_info(opts = {})
@@ -496,6 +501,7 @@ module Hubspot
496
501
  query_params[:'updatedAt'] = opts[:'updated_at'] if !opts[:'updated_at'].nil?
497
502
  query_params[:'updatedAfter'] = opts[:'updated_after'] if !opts[:'updated_after'].nil?
498
503
  query_params[:'updatedBefore'] = opts[:'updated_before'] if !opts[:'updated_before'].nil?
504
+ query_params[:'contentType'] = opts[:'content_type'] if !opts[:'content_type'].nil?
499
505
  query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
500
506
 
501
507
  # header parameters
@@ -533,11 +539,12 @@ module Hubspot
533
539
  end
534
540
 
535
541
  # Get details for a draft table
536
- # Get the details for the `draft` version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table.
542
+ # Get the details for the draft version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table.
537
543
  # @param table_id_or_name [String] The ID or name of the table to return.
538
544
  # @param [Hash] opts the optional parameters
539
- # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
545
+ # @option opts [Boolean] :is_get_localized_schema
540
546
  # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return an archived table. Defaults to &#x60;false&#x60;.
547
+ # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
541
548
  # @return [HubDbTableV3]
542
549
  def get_draft_table_details_by_id(table_id_or_name, opts = {})
543
550
  data, _status_code, _headers = get_draft_table_details_by_id_with_http_info(table_id_or_name, opts)
@@ -545,11 +552,12 @@ module Hubspot
545
552
  end
546
553
 
547
554
  # Get details for a draft table
548
- # Get the details for the &#x60;draft&#x60; version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table.
555
+ # Get the details for the draft version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table.
549
556
  # @param table_id_or_name [String] The ID or name of the table to return.
550
557
  # @param [Hash] opts the optional parameters
551
- # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
558
+ # @option opts [Boolean] :is_get_localized_schema
552
559
  # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return an archived table. Defaults to &#x60;false&#x60;.
560
+ # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
553
561
  # @return [Array<(HubDbTableV3, Integer, Hash)>] HubDbTableV3 data, response status code and response headers
554
562
  def get_draft_table_details_by_id_with_http_info(table_id_or_name, opts = {})
555
563
  if @api_client.config.debugging
@@ -564,8 +572,9 @@ module Hubspot
564
572
 
565
573
  # query parameters
566
574
  query_params = opts[:query_params] || {}
567
- query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
575
+ query_params[:'isGetLocalizedSchema'] = opts[:'is_get_localized_schema'] if !opts[:'is_get_localized_schema'].nil?
568
576
  query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
577
+ query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
569
578
 
570
579
  # header parameters
571
580
  header_params = opts[:header_params] || {}
@@ -601,24 +610,26 @@ module Hubspot
601
610
  return data, status_code, headers
602
611
  end
603
612
 
604
- # Get details for a published table
605
- # Returns the details for the `published` version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.
613
+ # Get details of a published table
614
+ # Returns the details for the published version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access. To do so, you'll need to include the HubSpot account ID in a `portalId` query parameter.
606
615
  # @param table_id_or_name [String] The ID or name of the table to return.
607
616
  # @param [Hash] opts the optional parameters
608
- # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
617
+ # @option opts [Boolean] :is_get_localized_schema
609
618
  # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return details for an archived table. Defaults to &#x60;false&#x60;.
619
+ # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
610
620
  # @return [HubDbTableV3]
611
621
  def get_table_details(table_id_or_name, opts = {})
612
622
  data, _status_code, _headers = get_table_details_with_http_info(table_id_or_name, opts)
613
623
  data
614
624
  end
615
625
 
616
- # Get details for a published table
617
- # Returns the details for the &#x60;published&#x60; version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.
626
+ # Get details of a published table
627
+ # Returns the details for the published version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access. To do so, you&#39;ll need to include the HubSpot account ID in a &#x60;portalId&#x60; query parameter.
618
628
  # @param table_id_or_name [String] The ID or name of the table to return.
619
629
  # @param [Hash] opts the optional parameters
620
- # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
630
+ # @option opts [Boolean] :is_get_localized_schema
621
631
  # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return details for an archived table. Defaults to &#x60;false&#x60;.
632
+ # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
622
633
  # @return [Array<(HubDbTableV3, Integer, Hash)>] HubDbTableV3 data, response status code and response headers
623
634
  def get_table_details_with_http_info(table_id_or_name, opts = {})
624
635
  if @api_client.config.debugging
@@ -633,8 +644,9 @@ module Hubspot
633
644
 
634
645
  # query parameters
635
646
  query_params = opts[:query_params] || {}
636
- query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
647
+ query_params[:'isGetLocalizedSchema'] = opts[:'is_get_localized_schema'] if !opts[:'is_get_localized_schema'].nil?
637
648
  query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
649
+ query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
638
650
 
639
651
  # header parameters
640
652
  header_params = opts[:header_params] || {}
@@ -671,11 +683,11 @@ module Hubspot
671
683
  end
672
684
 
673
685
  # Import data into draft table
674
- # Import the contents of a CSV file into an existing HubDB table. The data will always be imported into the `draft` version of the table. Use `/publish` endpoint to push these changes to `published` version. This endpoint takes a multi-part POST request. The first part will be a set of JSON-formatted options for the import and you can specify this with the name as `config`. The second part will be the CSV file you want to import and you can specify this with the name as `file`. Refer the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#importing-tables) to check the details and format of the JSON-formatted options for the import.
686
+ # Import the contents of a CSV file into an existing HubDB table. The data will always be imported into the draft version of the table. Use the `/publish` endpoint to push these changes to the published version. This endpoint takes a multi-part POST request. The first part will be a set of JSON-formatted options for the import and you can specify this with the name as `config`. The second part will be the CSV file you want to import and you can specify this with the name as `file`. Refer the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#importing-tables) to check the details and format of the JSON-formatted options for the import.
675
687
  # @param table_id_or_name [String] The ID of the destination table where data will be imported.
676
688
  # @param [Hash] opts the optional parameters
677
- # @option opts [String] :config Configuration for the import in JSON format as described above.
678
- # @option opts [File] :file The source CSV file to be imported.
689
+ # @option opts [String] :config
690
+ # @option opts [File] :file
679
691
  # @return [ImportResult]
680
692
  def import_draft_table(table_id_or_name, opts = {})
681
693
  data, _status_code, _headers = import_draft_table_with_http_info(table_id_or_name, opts)
@@ -683,11 +695,11 @@ module Hubspot
683
695
  end
684
696
 
685
697
  # Import data into draft table
686
- # Import the contents of a CSV file into an existing HubDB table. The data will always be imported into the &#x60;draft&#x60; version of the table. Use &#x60;/publish&#x60; endpoint to push these changes to &#x60;published&#x60; version. This endpoint takes a multi-part POST request. The first part will be a set of JSON-formatted options for the import and you can specify this with the name as &#x60;config&#x60;. The second part will be the CSV file you want to import and you can specify this with the name as &#x60;file&#x60;. Refer the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#importing-tables) to check the details and format of the JSON-formatted options for the import.
698
+ # Import the contents of a CSV file into an existing HubDB table. The data will always be imported into the draft version of the table. Use the &#x60;/publish&#x60; endpoint to push these changes to the published version. This endpoint takes a multi-part POST request. The first part will be a set of JSON-formatted options for the import and you can specify this with the name as &#x60;config&#x60;. The second part will be the CSV file you want to import and you can specify this with the name as &#x60;file&#x60;. Refer the [overview section](https://developers.hubspot.com/docs/api/cms/hubdb#importing-tables) to check the details and format of the JSON-formatted options for the import.
687
699
  # @param table_id_or_name [String] The ID of the destination table where data will be imported.
688
700
  # @param [Hash] opts the optional parameters
689
- # @option opts [String] :config Configuration for the import in JSON format as described above.
690
- # @option opts [File] :file The source CSV file to be imported.
701
+ # @option opts [String] :config
702
+ # @option opts [File] :file
691
703
  # @return [Array<(ImportResult, Integer, Hash)>] ImportResult data, response status code and response headers
692
704
  def import_draft_table_with_http_info(table_id_or_name, opts = {})
693
705
  if @api_client.config.debugging
@@ -811,7 +823,7 @@ module Hubspot
811
823
  end
812
824
 
813
825
  # Reset a draft table
814
- # Replaces the data in the `draft` version of the table with values from the `published` version. Any unpublished changes in the `draft` will be lost after this call is made.
826
+ # Replaces the data in the draft version of the table with values from the published version. Any unpublished changes in the draft will be lost after this call is made.
815
827
  # @param table_id_or_name [String] The ID or name of the table to reset.
816
828
  # @param [Hash] opts the optional parameters
817
829
  # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the response.
@@ -822,7 +834,7 @@ module Hubspot
822
834
  end
823
835
 
824
836
  # Reset a draft table
825
- # Replaces the data in the &#x60;draft&#x60; version of the table with values from the &#x60;published&#x60; version. Any unpublished changes in the &#x60;draft&#x60; will be lost after this call is made.
837
+ # Replaces the data in the draft version of the table with values from the published version. Any unpublished changes in the draft will be lost after this call is made.
826
838
  # @param table_id_or_name [String] The ID or name of the table to reset.
827
839
  # @param [Hash] opts the optional parameters
828
840
  # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the response.
@@ -943,12 +955,13 @@ module Hubspot
943
955
  end
944
956
 
945
957
  # Update an existing table
946
- # Update an existing HubDB table. You can use this endpoint to add or remove columns to the table as well as restore an archived table. Tables updated using the endpoint will only modify the `draft` verion of the table. Use `publish` endpoint to push all the changes to the `published` version. To restore a table, include the query parameter `archived=true` and `\"archived\": false` in the json body. **Note:** You need to include all the columns in the input when you are adding/removing/updating a column. If you do not include an already existing column in the request, it will be deleted.
958
+ # Update an existing HubDB table. You can use this endpoint to add or remove columns to the table as well as restore an archived table. Tables updated using the endpoint will only modify the draft verion of the table. Use the `/publish` endpoint to push all the changes to the published version. To restore a table, include the query parameter `archived=true` and `\"archived\": false` in the json body. **Note:** You need to include all the columns in the input when you are adding/removing/updating a column. If you do not include an already existing column in the request, it will be deleted.
947
959
  # @param table_id_or_name [String] The ID or name of the table to update.
948
- # @param hub_db_table_v3_request [HubDbTableV3Request] The JSON schema for the table being updated.
960
+ # @param hub_db_table_v3_request [HubDbTableV3Request]
949
961
  # @param [Hash] opts the optional parameters
950
- # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
962
+ # @option opts [Boolean] :is_get_localized_schema
951
963
  # @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to &#x60;false&#x60;.
964
+ # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
952
965
  # @return [HubDbTableV3]
953
966
  def update_draft_table(table_id_or_name, hub_db_table_v3_request, opts = {})
954
967
  data, _status_code, _headers = update_draft_table_with_http_info(table_id_or_name, hub_db_table_v3_request, opts)
@@ -956,12 +969,13 @@ module Hubspot
956
969
  end
957
970
 
958
971
  # Update an existing table
959
- # Update an existing HubDB table. You can use this endpoint to add or remove columns to the table as well as restore an archived table. Tables updated using the endpoint will only modify the &#x60;draft&#x60; verion of the table. Use &#x60;publish&#x60; endpoint to push all the changes to the &#x60;published&#x60; version. To restore a table, include the query parameter &#x60;archived&#x3D;true&#x60; and &#x60;\&quot;archived\&quot;: false&#x60; in the json body. **Note:** You need to include all the columns in the input when you are adding/removing/updating a column. If you do not include an already existing column in the request, it will be deleted.
972
+ # Update an existing HubDB table. You can use this endpoint to add or remove columns to the table as well as restore an archived table. Tables updated using the endpoint will only modify the draft verion of the table. Use the &#x60;/publish&#x60; endpoint to push all the changes to the published version. To restore a table, include the query parameter &#x60;archived&#x3D;true&#x60; and &#x60;\&quot;archived\&quot;: false&#x60; in the json body. **Note:** You need to include all the columns in the input when you are adding/removing/updating a column. If you do not include an already existing column in the request, it will be deleted.
960
973
  # @param table_id_or_name [String] The ID or name of the table to update.
961
- # @param hub_db_table_v3_request [HubDbTableV3Request] The JSON schema for the table being updated.
974
+ # @param hub_db_table_v3_request [HubDbTableV3Request]
962
975
  # @param [Hash] opts the optional parameters
963
- # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
976
+ # @option opts [Boolean] :is_get_localized_schema
964
977
  # @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to &#x60;false&#x60;.
978
+ # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
965
979
  # @return [Array<(HubDbTableV3, Integer, Hash)>] HubDbTableV3 data, response status code and response headers
966
980
  def update_draft_table_with_http_info(table_id_or_name, hub_db_table_v3_request, opts = {})
967
981
  if @api_client.config.debugging
@@ -980,8 +994,9 @@ module Hubspot
980
994
 
981
995
  # query parameters
982
996
  query_params = opts[:query_params] || {}
983
- query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
997
+ query_params[:'isGetLocalizedSchema'] = opts[:'is_get_localized_schema'] if !opts[:'is_get_localized_schema'].nil?
984
998
  query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
999
+ query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
985
1000
 
986
1001
  # header parameters
987
1002
  header_params = opts[:header_params] || {}
@@ -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
 
@@ -0,0 +1,230 @@
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 BatchInputHubDbTableRowBatchCloneRequest
20
+ attr_accessor :inputs
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'inputs' => :'inputs'
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
+ :'inputs' => :'Array<HubDbTableRowBatchCloneRequest>'
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::BatchInputHubDbTableRowBatchCloneRequest` 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::BatchInputHubDbTableRowBatchCloneRequest`. 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?(:'inputs')
63
+ if (value = attributes[:'inputs']).is_a?(Array)
64
+ self.inputs = value
65
+ end
66
+ end
67
+ end
68
+
69
+ # Show invalid properties with the reasons. Usually used together with valid?
70
+ # @return Array for valid properties with the reasons
71
+ def list_invalid_properties
72
+ invalid_properties = Array.new
73
+ if @inputs.nil?
74
+ invalid_properties.push('invalid value for "inputs", inputs cannot be nil.')
75
+ end
76
+
77
+ invalid_properties
78
+ end
79
+
80
+ # Check to see if the all the properties in the model are valid
81
+ # @return true if the model is valid
82
+ def valid?
83
+ return false if @inputs.nil?
84
+ true
85
+ end
86
+
87
+ # Checks equality by comparing each attribute.
88
+ # @param [Object] Object to be compared
89
+ def ==(o)
90
+ return true if self.equal?(o)
91
+ self.class == o.class &&
92
+ inputs == o.inputs
93
+ end
94
+
95
+ # @see the `==` method
96
+ # @param [Object] Object to be compared
97
+ def eql?(o)
98
+ self == o
99
+ end
100
+
101
+ # Calculates hash code according to all attributes.
102
+ # @return [Integer] Hash code
103
+ def hash
104
+ [inputs].hash
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 self.build_from_hash(attributes)
111
+ new.build_from_hash(attributes)
112
+ end
113
+
114
+ # Builds the object from hash
115
+ # @param [Hash] attributes Model attributes in the form of hash
116
+ # @return [Object] Returns the model itself
117
+ def build_from_hash(attributes)
118
+ return nil unless attributes.is_a?(Hash)
119
+ attributes = attributes.transform_keys(&:to_sym)
120
+ self.class.openapi_types.each_pair do |key, type|
121
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
122
+ self.send("#{key}=", nil)
123
+ elsif type =~ /\AArray<(.*)>/i
124
+ # check to ensure the input is an array given that the attribute
125
+ # is documented as an array but the input is not
126
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
127
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
128
+ end
129
+ elsif !attributes[self.class.attribute_map[key]].nil?
130
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
131
+ end
132
+ end
133
+
134
+ self
135
+ end
136
+
137
+ # Deserializes the data based on type
138
+ # @param string type Data type
139
+ # @param string value Value to be deserialized
140
+ # @return [Object] Deserialized data
141
+ def _deserialize(type, value)
142
+ case type.to_sym
143
+ when :Time
144
+ Time.parse(value)
145
+ when :Date
146
+ Date.parse(value)
147
+ when :String
148
+ value.to_s
149
+ when :Integer
150
+ value.to_i
151
+ when :Float
152
+ value.to_f
153
+ when :Boolean
154
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
155
+ true
156
+ else
157
+ false
158
+ end
159
+ when :Object
160
+ # generic object (usually a Hash), return directly
161
+ value
162
+ when /\AArray<(?<inner_type>.+)>\z/
163
+ inner_type = Regexp.last_match[:inner_type]
164
+ value.map { |v| _deserialize(inner_type, v) }
165
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
166
+ k_type = Regexp.last_match[:k_type]
167
+ v_type = Regexp.last_match[:v_type]
168
+ {}.tap do |hash|
169
+ value.each do |k, v|
170
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
171
+ end
172
+ end
173
+ else # model
174
+ # models (e.g. Pet) or oneOf
175
+ klass = Hubspot::Cms::Hubdb.const_get(type)
176
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
177
+ end
178
+ end
179
+
180
+ # Returns the string representation of the object
181
+ # @return [String] String presentation of the object
182
+ def to_s
183
+ to_hash.to_s
184
+ end
185
+
186
+ # to_body is an alias to to_hash (backward compatibility)
187
+ # @return [Hash] Returns the object in the form of hash
188
+ def to_body
189
+ to_hash
190
+ end
191
+
192
+ # Returns the object in the form of hash
193
+ # @return [Hash] Returns the object in the form of hash
194
+ def to_hash
195
+ hash = {}
196
+ self.class.attribute_map.each_pair do |attr, param|
197
+ value = self.send(attr)
198
+ if value.nil?
199
+ is_nullable = self.class.openapi_nullable.include?(attr)
200
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
201
+ end
202
+
203
+ hash[param] = _to_hash(value)
204
+ end
205
+ hash
206
+ end
207
+
208
+ # Outputs non-array value in the form of hash
209
+ # For object, use to_hash. Otherwise, just return the value
210
+ # @param [Object] value Any valid value
211
+ # @return [Hash] Returns the value in the form of hash
212
+ def _to_hash(value)
213
+ if value.is_a?(Array)
214
+ value.compact.map { |v| _to_hash(v) }
215
+ elsif value.is_a?(Hash)
216
+ {}.tap do |hash|
217
+ value.each { |k, v| hash[k] = _to_hash(v) }
218
+ end
219
+ elsif value.respond_to? :to_hash
220
+ value.to_hash
221
+ else
222
+ value
223
+ end
224
+ end
225
+
226
+ end
227
+
228
+ end
229
+ end
230
+ 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