hubspot-api-client 19.0.0 → 20.0.0

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 (703) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +102 -1
  3. data/Gemfile.lock +2 -2
  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/blog_post.rb +18 -18
  10. data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +7 -7
  11. data/lib/hubspot/codegen/cms/hubdb/models/unified_collection_response_with_total_base_hub_db_table_row_v3.rb +1 -0
  12. data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +1 -1
  13. data/lib/hubspot/codegen/crm/associations/api_client.rb +1 -1
  14. data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
  15. data/lib/hubspot/codegen/crm/associations/configuration.rb +1 -1
  16. data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +1 -1
  17. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +1 -1
  18. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +1 -1
  19. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +1 -1
  20. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +1 -1
  21. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi_with_errors.rb +1 -1
  22. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_with_errors.rb +1 -1
  23. data/lib/hubspot/codegen/crm/associations/models/error.rb +1 -1
  24. data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +1 -1
  25. data/lib/hubspot/codegen/crm/associations/models/next_page.rb +1 -1
  26. data/lib/hubspot/codegen/crm/associations/models/paging.rb +1 -1
  27. data/lib/hubspot/codegen/crm/associations/models/previous_page.rb +1 -1
  28. data/lib/hubspot/codegen/crm/associations/models/public_association.rb +1 -1
  29. data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +1 -1
  30. data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +1 -1
  31. data/lib/hubspot/codegen/crm/associations/models/standard_error.rb +1 -1
  32. data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +1 -1
  33. data/lib/hubspot/codegen/crm/associations/schema/api_client.rb +1 -1
  34. data/lib/hubspot/codegen/crm/associations/schema/api_error.rb +1 -1
  35. data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +1 -1
  36. data/lib/hubspot/codegen/crm/associations/schema/models/collection_response_public_association_definition_no_paging.rb +1 -1
  37. data/lib/hubspot/codegen/crm/associations/schema/models/error.rb +1 -1
  38. data/lib/hubspot/codegen/crm/associations/schema/models/error_detail.rb +1 -1
  39. data/lib/hubspot/codegen/crm/associations/schema/models/public_association_definition.rb +1 -1
  40. data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +1 -1
  41. data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +3 -3
  42. data/lib/hubspot/codegen/crm/associations/v4/api/report_api.rb +91 -0
  43. data/lib/hubspot/codegen/crm/associations/v4/api_client.rb +1 -1
  44. data/lib/hubspot/codegen/crm/associations/v4/api_error.rb +1 -1
  45. data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +1 -1
  46. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec.rb +1 -1
  47. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +1 -1
  48. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_archive.rb +1 -1
  49. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_post.rb +1 -1
  50. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_default_association_multi_post.rb +1 -1
  51. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_fetch_associations_batch_request.rb +1 -1
  52. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +1 -1
  53. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +1 -1
  54. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +1 -1
  55. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +1 -1
  56. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +1 -1
  57. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +1 -1
  58. data/lib/hubspot/codegen/crm/associations/v4/models/date_time.rb +258 -0
  59. data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +1 -1
  60. data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +1 -1
  61. data/lib/hubspot/codegen/crm/associations/v4/models/forward_paging.rb +1 -1
  62. data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +1 -1
  63. data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +1 -1
  64. data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +1 -1
  65. data/lib/hubspot/codegen/crm/associations/v4/models/paging.rb +1 -1
  66. data/lib/hubspot/codegen/crm/associations/v4/models/previous_page.rb +1 -1
  67. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_archive.rb +1 -1
  68. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +1 -1
  69. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +1 -1
  70. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +1 -1
  71. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association_multi_post.rb +1 -1
  72. data/lib/hubspot/codegen/crm/associations/v4/models/public_fetch_associations_batch_request.rb +1 -1
  73. data/lib/hubspot/codegen/crm/associations/v4/models/public_object_id.rb +1 -1
  74. data/lib/hubspot/codegen/crm/associations/v4/models/report_creation_response.rb +258 -0
  75. data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +1 -1
  76. data/lib/hubspot/codegen/crm/associations/v4/schema/api/definition_configurations_api.rb +396 -0
  77. data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +69 -69
  78. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_definition_configuration_create_request.rb +234 -0
  79. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_definition_configuration_update_request.rb +234 -0
  80. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_spec.rb +234 -0
  81. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_configuration_update_result.rb +330 -0
  82. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_configuration_update_result_with_errors.rb +350 -0
  83. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_user_configuration.rb +330 -0
  84. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_user_configuration_with_errors.rb +350 -0
  85. data/lib/hubspot/codegen/crm/associations/v4/schema/models/collection_response_public_association_definition_user_configuration_no_paging.rb +234 -0
  86. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_create_request.rb +294 -0
  87. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_update_request.rb +294 -0
  88. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_update_result.rb +289 -0
  89. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_user_configuration.rb +298 -0
  90. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_spec.rb +246 -0
  91. data/lib/hubspot/codegen/crm/associations/v4/schema/models/standard_error.rb +326 -0
  92. data/lib/hubspot/codegen/crm/commerce/invoices/api/basic_api.rb +391 -0
  93. data/lib/hubspot/codegen/crm/commerce/invoices/api/batch_api.rb +363 -0
  94. data/lib/hubspot/codegen/crm/{objects/feedback_submissions/api/public_object_api.rb → commerce/invoices/api/search_api.rb} +24 -22
  95. data/lib/hubspot/codegen/crm/commerce/invoices/api_client.rb +412 -0
  96. data/lib/hubspot/codegen/crm/commerce/invoices/api_error.rb +63 -0
  97. data/lib/hubspot/codegen/crm/commerce/invoices/configuration.rb +289 -0
  98. data/lib/hubspot/codegen/crm/commerce/invoices/models/associated_id.rb +244 -0
  99. data/lib/hubspot/codegen/crm/commerce/invoices/models/association_spec.rb +278 -0
  100. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_batch_input.rb +232 -0
  101. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  102. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_id.rb +232 -0
  103. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_input_for_create.rb +232 -0
  104. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_read_input_simple_public_object_id.rb +273 -0
  105. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_object.rb +328 -0
  106. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_object_with_errors.rb +348 -0
  107. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_upsert_object.rb +328 -0
  108. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  109. data/lib/hubspot/codegen/crm/commerce/invoices/models/collection_response_associated_id.rb +241 -0
  110. data/lib/hubspot/codegen/crm/commerce/invoices/models/collection_response_simple_public_object_with_associations_forward_paging.rb +241 -0
  111. data/lib/hubspot/codegen/crm/{objects/feedback_submissions/models/public_merge_input.rb → commerce/invoices/models/collection_response_with_total_simple_public_object_forward_paging.rb} +37 -26
  112. data/lib/hubspot/codegen/crm/commerce/invoices/models/error.rb +307 -0
  113. data/lib/hubspot/codegen/crm/commerce/invoices/models/error_detail.rb +273 -0
  114. data/lib/hubspot/codegen/crm/commerce/invoices/models/filter.rb +308 -0
  115. data/lib/hubspot/codegen/crm/commerce/invoices/models/filter_group.rb +232 -0
  116. data/lib/hubspot/codegen/crm/commerce/invoices/models/forward_paging.rb +225 -0
  117. data/lib/hubspot/codegen/crm/commerce/invoices/models/next_page.rb +239 -0
  118. data/lib/hubspot/codegen/crm/commerce/invoices/models/paging.rb +234 -0
  119. data/lib/hubspot/codegen/crm/{objects/feedback_submissions/models/batch_input_simple_public_object_input_for_create.rb → commerce/invoices/models/previous_page.rb} +26 -19
  120. data/lib/hubspot/codegen/crm/commerce/invoices/models/public_associations_for_object.rb +246 -0
  121. data/lib/hubspot/codegen/crm/commerce/invoices/models/public_object_id.rb +230 -0
  122. data/lib/hubspot/codegen/crm/commerce/invoices/models/public_object_search_request.rb +276 -0
  123. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object.rb +303 -0
  124. data/lib/hubspot/codegen/crm/{objects/feedback_submissions → commerce/invoices}/models/simple_public_object_batch_input.rb +16 -7
  125. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_batch_input_upsert.rb +264 -0
  126. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_id.rb +230 -0
  127. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_input.rb +241 -0
  128. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_input_for_create.rb +257 -0
  129. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_with_associations.rb +314 -0
  130. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_upsert_object.rb +317 -0
  131. data/lib/hubspot/codegen/crm/commerce/invoices/models/standard_error.rb +324 -0
  132. data/lib/hubspot/codegen/crm/commerce/invoices/models/value_with_timestamp.rb +285 -0
  133. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +91 -22
  134. data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +25 -17
  135. data/lib/hubspot/codegen/crm/companies/api/search_api.rb +4 -0
  136. data/lib/hubspot/codegen/crm/companies/models/association_spec.rb +12 -0
  137. data/lib/hubspot/codegen/crm/companies/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  138. data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +1 -0
  139. data/lib/hubspot/codegen/crm/companies/models/public_associations_for_object.rb +10 -0
  140. data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +2 -0
  141. data/lib/hubspot/codegen/crm/companies/models/public_object_id.rb +6 -0
  142. data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +10 -1
  143. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +4 -0
  144. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_for_create.rb +250 -0
  145. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_upsert.rb +4 -0
  146. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +2 -10
  147. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +2 -10
  148. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +10 -1
  149. data/lib/hubspot/codegen/crm/companies/models/simple_public_upsert_object.rb +10 -1
  150. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +163 -26
  151. data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +27 -19
  152. data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +4 -0
  153. data/lib/hubspot/codegen/crm/contacts/models/association_spec.rb +10 -0
  154. data/lib/hubspot/codegen/crm/contacts/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  155. data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +1 -0
  156. data/lib/hubspot/codegen/crm/contacts/models/public_associations_for_object.rb +10 -0
  157. data/lib/hubspot/codegen/crm/contacts/models/public_gdpr_delete_input.rb +2 -0
  158. data/lib/hubspot/codegen/crm/contacts/models/public_object_id.rb +5 -0
  159. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +10 -1
  160. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +2 -0
  161. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_for_create.rb +250 -0
  162. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_upsert.rb +1 -0
  163. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +1 -10
  164. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input_for_create.rb +1 -10
  165. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +13 -1
  166. data/lib/hubspot/codegen/crm/contacts/models/simple_public_upsert_object.rb +10 -1
  167. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +67 -0
  168. data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +11 -9
  169. data/lib/hubspot/codegen/crm/deals/models/association_spec.rb +10 -0
  170. data/lib/hubspot/codegen/crm/deals/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  171. data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +1 -0
  172. data/lib/hubspot/codegen/crm/deals/models/public_associations_for_object.rb +10 -0
  173. data/lib/hubspot/codegen/crm/deals/models/public_object_id.rb +5 -0
  174. data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +10 -1
  175. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +2 -0
  176. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input_for_create.rb +250 -0
  177. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input_upsert.rb +1 -0
  178. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +1 -10
  179. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input_for_create.rb +1 -10
  180. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +10 -1
  181. data/lib/hubspot/codegen/crm/deals/models/simple_public_upsert_object.rb +10 -1
  182. data/lib/hubspot/codegen/crm/exports/api/public_exports_api.rb +157 -0
  183. data/lib/hubspot/codegen/{cms/performance → crm/exports}/api_client.rb +5 -5
  184. data/lib/hubspot/codegen/{cms/performance → crm/exports}/api_error.rb +4 -4
  185. data/lib/hubspot/codegen/{cms/performance → crm/exports}/configuration.rb +4 -4
  186. data/lib/hubspot/codegen/crm/exports/models/action_response_with_single_result_uri.rb +339 -0
  187. data/lib/hubspot/codegen/{cms/performance → crm/exports}/models/error.rb +7 -7
  188. data/lib/hubspot/codegen/{cms/performance → crm/exports}/models/error_detail.rb +7 -7
  189. data/lib/hubspot/codegen/crm/exports/models/filter.rb +305 -0
  190. data/lib/hubspot/codegen/crm/exports/models/public_crm_search_request.rb +260 -0
  191. data/lib/hubspot/codegen/crm/exports/models/public_export_list_request.rb +420 -0
  192. data/lib/hubspot/codegen/crm/exports/models/public_export_list_request_all_of.rb +413 -0
  193. data/lib/hubspot/codegen/crm/exports/models/public_export_request.rb +109 -0
  194. data/lib/hubspot/codegen/crm/exports/models/public_export_view_request.rb +415 -0
  195. data/lib/hubspot/codegen/crm/exports/models/public_export_view_request_all_of.rb +408 -0
  196. data/lib/hubspot/codegen/crm/exports/models/standard_error.rb +322 -0
  197. data/lib/hubspot/codegen/crm/exports/models/task_locator.rb +239 -0
  198. data/lib/hubspot/codegen/crm/extensions/calling/api/channel_connection_settings_api.rb +302 -0
  199. data/lib/hubspot/codegen/crm/extensions/calling/api/recording_settings_api.rb +12 -12
  200. data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +10 -10
  201. data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_patch_request.rb +236 -0
  202. data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_request.rb +246 -0
  203. data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_response.rb +276 -0
  204. data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_response.rb +1 -0
  205. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +21 -1
  206. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +21 -1
  207. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +31 -1
  208. data/lib/hubspot/codegen/crm/imports/api/core_api.rb +4 -4
  209. data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +6 -0
  210. data/lib/hubspot/codegen/crm/imports/models/import_row_core.rb +15 -1
  211. data/lib/hubspot/codegen/crm/imports/models/property_value.rb +514 -0
  212. data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +32 -5
  213. data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +17 -1
  214. data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +7 -6
  215. data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +11 -9
  216. data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +4 -0
  217. data/lib/hubspot/codegen/crm/line_items/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  218. data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +1 -0
  219. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +10 -1
  220. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +2 -0
  221. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_for_create.rb +250 -0
  222. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_upsert.rb +1 -0
  223. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +1 -10
  224. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +1 -15
  225. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +10 -1
  226. data/lib/hubspot/codegen/crm/line_items/models/simple_public_upsert_object.rb +10 -1
  227. data/lib/hubspot/codegen/crm/lists/models/public_form_submission_filter_coalescing_refine_by.rb +1 -0
  228. data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point_index_reference.rb +1 -0
  229. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filter_branches_inner.rb +1 -0
  230. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filters_inner.rb +1 -0
  231. data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_value_filter_value_comparison.rb +1 -0
  232. data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation_time_point.rb +1 -0
  233. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +2 -1
  234. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +12 -10
  235. data/lib/hubspot/codegen/crm/objects/api/search_api.rb +1 -1
  236. data/lib/hubspot/codegen/crm/objects/api_client.rb +1 -1
  237. data/lib/hubspot/codegen/crm/objects/api_error.rb +1 -1
  238. data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +13 -12
  239. data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +17 -9
  240. data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +4 -0
  241. data/lib/hubspot/codegen/crm/objects/calls/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  242. data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +1 -0
  243. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +10 -1
  244. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +2 -0
  245. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input_for_create.rb +252 -0
  246. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input_upsert.rb +1 -0
  247. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +1 -10
  248. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +1 -15
  249. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +10 -1
  250. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_upsert_object.rb +10 -1
  251. data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +13 -12
  252. data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +17 -9
  253. data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +4 -0
  254. data/lib/hubspot/codegen/crm/objects/communications/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  255. data/lib/hubspot/codegen/crm/objects/communications/models/batch_read_input_simple_public_object_id.rb +1 -0
  256. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object.rb +10 -1
  257. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input.rb +2 -0
  258. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_for_create.rb +252 -0
  259. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_upsert.rb +1 -0
  260. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input.rb +1 -10
  261. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +1 -15
  262. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_with_associations.rb +10 -1
  263. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_upsert_object.rb +10 -1
  264. data/lib/hubspot/codegen/crm/objects/configuration.rb +1 -1
  265. data/lib/hubspot/codegen/crm/objects/deal_splits/api/batch_api.rb +160 -0
  266. data/lib/hubspot/codegen/crm/objects/deal_splits/api_client.rb +412 -0
  267. data/lib/hubspot/codegen/crm/objects/deal_splits/api_error.rb +63 -0
  268. data/lib/hubspot/codegen/crm/objects/deal_splits/configuration.rb +289 -0
  269. data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_input_public_object_id.rb +232 -0
  270. data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_response_deal_to_deal_splits.rb +328 -0
  271. data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_response_deal_to_deal_splits_with_errors.rb +348 -0
  272. data/lib/hubspot/codegen/crm/objects/deal_splits/models/deal_to_deal_splits.rb +246 -0
  273. data/lib/hubspot/codegen/crm/objects/deal_splits/models/error.rb +307 -0
  274. data/lib/hubspot/codegen/crm/objects/deal_splits/models/error_detail.rb +273 -0
  275. data/lib/hubspot/codegen/crm/objects/{feedback_submissions/models/public_gdpr_delete_input.rb → deal_splits/models/public_deal_split_input.rb} +27 -22
  276. data/lib/hubspot/codegen/crm/objects/deal_splits/models/public_deal_splits_batch_create_request.rb +232 -0
  277. data/lib/hubspot/codegen/crm/objects/deal_splits/models/public_deal_splits_create_request.rb +246 -0
  278. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → deal_splits}/models/public_object_id.rb +5 -5
  279. data/lib/hubspot/codegen/crm/objects/deal_splits/models/simple_public_object.rb +303 -0
  280. data/lib/hubspot/codegen/crm/objects/deal_splits/models/standard_error.rb +331 -0
  281. data/lib/hubspot/codegen/crm/objects/deal_splits/models/value_with_timestamp.rb +285 -0
  282. data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +7 -6
  283. data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +11 -9
  284. data/lib/hubspot/codegen/crm/objects/emails/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  285. data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +1 -0
  286. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +10 -1
  287. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +2 -0
  288. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_for_create.rb +252 -0
  289. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_upsert.rb +1 -0
  290. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +1 -10
  291. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +1 -15
  292. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +10 -1
  293. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_upsert_object.rb +10 -1
  294. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +3 -210
  295. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +2 -198
  296. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +1 -0
  297. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_search_request.rb +0 -25
  298. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +10 -1
  299. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +10 -1
  300. data/lib/hubspot/codegen/crm/objects/goals/api/basic_api.rb +209 -0
  301. data/lib/hubspot/codegen/crm/objects/goals/api/batch_api.rb +268 -0
  302. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/association_spec.rb +5 -5
  303. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/batch_input_simple_public_object_batch_input.rb +5 -5
  304. data/lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
  305. data/lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  306. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/batch_input_simple_public_object_id.rb +5 -5
  307. data/lib/hubspot/codegen/crm/objects/goals/models/batch_read_input_simple_public_object_id.rb +1 -0
  308. data/lib/hubspot/codegen/crm/objects/goals/models/batch_response_simple_public_upsert_object.rb +328 -0
  309. data/lib/hubspot/codegen/crm/objects/goals/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  310. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/public_associations_for_object.rb +5 -5
  311. data/lib/hubspot/codegen/crm/objects/goals/models/public_object_id.rb +230 -0
  312. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object.rb +10 -1
  313. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input.rb +266 -0
  314. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_for_create.rb +252 -0
  315. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_upsert.rb +265 -0
  316. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/simple_public_object_input.rb +5 -5
  317. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/simple_public_object_input_for_create.rb +5 -10
  318. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_with_associations.rb +10 -1
  319. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_upsert_object.rb +326 -0
  320. data/lib/hubspot/codegen/crm/objects/leads/api/basic_api.rb +1 -0
  321. data/lib/hubspot/codegen/crm/objects/leads/api/batch_api.rb +13 -11
  322. data/lib/hubspot/codegen/crm/objects/leads/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  323. data/lib/hubspot/codegen/crm/objects/leads/models/batch_read_input_simple_public_object_id.rb +1 -0
  324. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object.rb +10 -1
  325. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input.rb +2 -0
  326. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input_for_create.rb +252 -0
  327. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input_upsert.rb +1 -0
  328. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_input.rb +1 -10
  329. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_input_for_create.rb +1 -15
  330. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_with_associations.rb +10 -1
  331. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_upsert_object.rb +10 -1
  332. data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +7 -6
  333. data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +11 -9
  334. data/lib/hubspot/codegen/crm/objects/meetings/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  335. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +1 -0
  336. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +10 -1
  337. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +2 -0
  338. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input_for_create.rb +252 -0
  339. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input_upsert.rb +1 -0
  340. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +1 -10
  341. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +1 -15
  342. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +10 -1
  343. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_upsert_object.rb +10 -1
  344. data/lib/hubspot/codegen/crm/objects/models/associated_id.rb +1 -1
  345. data/lib/hubspot/codegen/crm/objects/models/association_spec.rb +1 -1
  346. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +1 -1
  347. data/lib/hubspot/codegen/crm/objects/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +5 -5
  348. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input_upsert.rb +1 -1
  349. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +1 -1
  350. data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +2 -2
  351. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +1 -1
  352. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +1 -1
  353. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object.rb +1 -1
  354. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object_with_errors.rb +1 -1
  355. data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +1 -1
  356. data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_with_associations_forward_paging.rb +1 -1
  357. data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object_forward_paging.rb +1 -1
  358. data/lib/hubspot/codegen/crm/objects/models/error.rb +1 -1
  359. data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +1 -1
  360. data/lib/hubspot/codegen/crm/objects/models/filter.rb +1 -1
  361. data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +1 -1
  362. data/lib/hubspot/codegen/crm/objects/models/forward_paging.rb +1 -1
  363. data/lib/hubspot/codegen/crm/objects/models/next_page.rb +1 -1
  364. data/lib/hubspot/codegen/crm/objects/models/paging.rb +1 -1
  365. data/lib/hubspot/codegen/crm/objects/models/previous_page.rb +1 -1
  366. data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +1 -1
  367. data/lib/hubspot/codegen/crm/objects/models/public_object_id.rb +1 -1
  368. data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +1 -1
  369. data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +11 -2
  370. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +1 -1
  371. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input_for_create.rb +250 -0
  372. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input_upsert.rb +1 -1
  373. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +1 -1
  374. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +2 -11
  375. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +2 -16
  376. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +11 -2
  377. data/lib/hubspot/codegen/crm/objects/models/simple_public_upsert_object.rb +11 -2
  378. data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +1 -1
  379. data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +1 -1
  380. data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +7 -6
  381. data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +11 -9
  382. data/lib/hubspot/codegen/crm/objects/notes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  383. data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +1 -0
  384. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +10 -1
  385. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +2 -0
  386. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input_for_create.rb +252 -0
  387. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input_upsert.rb +1 -0
  388. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +1 -10
  389. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +1 -15
  390. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +10 -1
  391. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_upsert_object.rb +10 -1
  392. data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +7 -6
  393. data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +11 -9
  394. 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_for_create.rb} +4 -4
  395. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_read_input_simple_public_object_id.rb +1 -0
  396. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object.rb +10 -1
  397. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input.rb +2 -0
  398. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_for_create.rb +252 -0
  399. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_upsert.rb +1 -0
  400. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input.rb +1 -10
  401. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +1 -15
  402. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_with_associations.rb +10 -1
  403. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_upsert_object.rb +10 -1
  404. data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +7 -6
  405. data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +11 -9
  406. data/lib/hubspot/codegen/crm/objects/tasks/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  407. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +1 -0
  408. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +10 -1
  409. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +2 -0
  410. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_for_create.rb +252 -0
  411. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_upsert.rb +1 -0
  412. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +1 -10
  413. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +1 -15
  414. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +10 -1
  415. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_upsert_object.rb +10 -1
  416. data/lib/hubspot/codegen/crm/objects/taxes/api/basic_api.rb +7 -6
  417. data/lib/hubspot/codegen/crm/objects/taxes/api/batch_api.rb +11 -9
  418. data/lib/hubspot/codegen/crm/objects/taxes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  419. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_read_input_simple_public_object_id.rb +1 -0
  420. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object.rb +10 -1
  421. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input.rb +2 -0
  422. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input_for_create.rb +252 -0
  423. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input_upsert.rb +1 -0
  424. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input.rb +1 -10
  425. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input_for_create.rb +1 -15
  426. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_with_associations.rb +10 -1
  427. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_upsert_object.rb +10 -1
  428. data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +58 -1
  429. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +5 -4
  430. data/lib/hubspot/codegen/crm/products/api/batch_api.rb +11 -9
  431. data/lib/hubspot/codegen/crm/products/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  432. data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +1 -1
  433. data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +10 -1
  434. data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input_for_create.rb +250 -0
  435. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +1 -10
  436. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input_for_create.rb +6 -10
  437. data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +10 -1
  438. data/lib/hubspot/codegen/crm/products/models/simple_public_upsert_object.rb +10 -1
  439. data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +7 -6
  440. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +11 -9
  441. data/lib/hubspot/codegen/crm/quotes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  442. data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +1 -0
  443. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +10 -1
  444. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +2 -0
  445. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_for_create.rb +250 -0
  446. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_upsert.rb +1 -0
  447. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +1 -10
  448. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +1 -15
  449. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +10 -1
  450. data/lib/hubspot/codegen/crm/quotes/models/simple_public_upsert_object.rb +10 -1
  451. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +73 -4
  452. data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +17 -9
  453. data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +4 -0
  454. data/lib/hubspot/codegen/crm/tickets/models/association_spec.rb +10 -0
  455. data/lib/hubspot/codegen/crm/tickets/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  456. data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +1 -0
  457. data/lib/hubspot/codegen/crm/tickets/models/public_associations_for_object.rb +10 -0
  458. data/lib/hubspot/codegen/crm/tickets/models/public_object_id.rb +5 -0
  459. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +10 -1
  460. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +2 -0
  461. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input_for_create.rb +250 -0
  462. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input_upsert.rb +1 -0
  463. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +1 -10
  464. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input_for_create.rb +1 -10
  465. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +10 -1
  466. data/lib/hubspot/codegen/crm/tickets/models/simple_public_upsert_object.rb +10 -1
  467. data/lib/hubspot/codegen/events/api/events_api.rb +22 -22
  468. data/lib/hubspot/codegen/events/send/api/{custom_event_data_api.rb → basic_api.rb} +13 -10
  469. data/lib/hubspot/codegen/{crm/contacts/api/gdpr_api.rb → events/send/api/batch_api.rb} +21 -21
  470. data/lib/hubspot/codegen/events/send/api_client.rb +1 -1
  471. data/lib/hubspot/codegen/events/send/api_error.rb +1 -1
  472. data/lib/hubspot/codegen/events/send/configuration.rb +1 -1
  473. data/lib/hubspot/codegen/events/send/models/batched_behavioral_event_http_completion_request.rb +230 -0
  474. data/lib/hubspot/codegen/events/send/models/behavioral_event_http_completion_request.rb +8 -7
  475. data/lib/hubspot/codegen/events/send/models/error.rb +1 -1
  476. data/lib/hubspot/codegen/events/send/models/error_detail.rb +1 -1
  477. data/lib/hubspot/codegen/files/api/files_api.rb +144 -104
  478. data/lib/hubspot/codegen/files/api/folders_api.rb +142 -57
  479. data/lib/hubspot/codegen/files/api_client.rb +1 -1
  480. data/lib/hubspot/codegen/files/api_error.rb +1 -1
  481. data/lib/hubspot/codegen/files/configuration.rb +1 -1
  482. data/lib/hubspot/codegen/files/models/collection_response_file.rb +2 -1
  483. data/lib/hubspot/codegen/files/models/collection_response_folder.rb +1 -1
  484. data/lib/hubspot/codegen/files/models/error.rb +1 -1
  485. data/lib/hubspot/codegen/files/models/error_detail.rb +1 -1
  486. data/lib/hubspot/codegen/files/models/file.rb +33 -14
  487. data/lib/hubspot/codegen/files/models/file_action_response.rb +1 -1
  488. data/lib/hubspot/codegen/files/models/file_stat.rb +1 -1
  489. data/lib/hubspot/codegen/files/models/file_update_input.rb +15 -5
  490. data/lib/hubspot/codegen/files/models/folder.rb +12 -12
  491. data/lib/hubspot/codegen/files/models/folder_action_response.rb +1 -1
  492. data/lib/hubspot/codegen/files/models/folder_input.rb +2 -1
  493. data/lib/hubspot/codegen/files/models/folder_update_input.rb +6 -20
  494. data/lib/hubspot/codegen/files/models/folder_update_input_with_id.rb +244 -0
  495. data/lib/hubspot/codegen/files/models/folder_update_task_locator.rb +2 -1
  496. data/lib/hubspot/codegen/files/models/import_from_url_input.rb +13 -4
  497. data/lib/hubspot/codegen/files/models/import_from_url_task_locator.rb +2 -1
  498. data/lib/hubspot/codegen/files/models/next_page.rb +1 -1
  499. data/lib/hubspot/codegen/files/models/paging.rb +1 -1
  500. data/lib/hubspot/codegen/files/models/previous_page.rb +1 -1
  501. data/lib/hubspot/codegen/files/models/signed_url.rb +18 -17
  502. data/lib/hubspot/codegen/files/models/standard_error.rb +1 -1
  503. data/lib/hubspot/codegen/marketing/emails/api/marketing_emails_api.rb +1226 -0
  504. data/lib/hubspot/codegen/marketing/emails/api/statistics_api.rb +168 -0
  505. data/lib/hubspot/codegen/marketing/emails/api_client.rb +410 -0
  506. data/lib/hubspot/codegen/marketing/emails/api_error.rb +61 -0
  507. data/lib/hubspot/codegen/marketing/emails/configuration.rb +287 -0
  508. data/lib/hubspot/codegen/marketing/emails/models/ab_test_create_request_v_next.rb +244 -0
  509. data/lib/hubspot/codegen/marketing/emails/models/aggregate_email_statistics.rb +248 -0
  510. data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_email_statistic_interval_no_paging.rb +247 -0
  511. data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_public_email_forward_paging.rb +256 -0
  512. data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_version_public_email.rb +256 -0
  513. data/lib/hubspot/codegen/marketing/emails/models/content_clone_request_v_next.rb +240 -0
  514. data/lib/hubspot/codegen/marketing/emails/models/email_create_request.rb +468 -0
  515. data/lib/hubspot/codegen/marketing/emails/models/email_statistic_interval.rb +232 -0
  516. data/lib/hubspot/codegen/marketing/emails/models/email_statistics_data.rb +282 -0
  517. data/lib/hubspot/codegen/marketing/emails/models/email_update_request.rb +453 -0
  518. data/lib/hubspot/codegen/marketing/emails/models/error.rb +305 -0
  519. data/lib/hubspot/codegen/marketing/emails/models/error_detail.rb +271 -0
  520. data/lib/hubspot/codegen/marketing/emails/models/forward_paging.rb +223 -0
  521. data/lib/hubspot/codegen/marketing/emails/models/interval.rb +242 -0
  522. data/lib/hubspot/codegen/marketing/emails/models/next_page.rb +240 -0
  523. data/lib/hubspot/codegen/marketing/emails/models/paging.rb +238 -0
  524. data/lib/hubspot/codegen/marketing/emails/models/previous_page.rb +240 -0
  525. data/lib/hubspot/codegen/marketing/emails/models/public_button_style_settings.rb +241 -0
  526. data/lib/hubspot/codegen/marketing/emails/models/public_divider_style_settings.rb +241 -0
  527. data/lib/hubspot/codegen/marketing/emails/models/public_email.rb +654 -0
  528. data/lib/hubspot/codegen/marketing/emails/models/public_email_content.rb +304 -0
  529. data/lib/hubspot/codegen/marketing/emails/models/public_email_from_details.rb +245 -0
  530. data/lib/hubspot/codegen/marketing/emails/models/public_email_recipients.rb +239 -0
  531. data/lib/hubspot/codegen/marketing/emails/models/public_email_style_settings.rb +484 -0
  532. data/lib/hubspot/codegen/marketing/emails/models/public_email_subscription_details.rb +245 -0
  533. data/lib/hubspot/codegen/marketing/emails/models/public_email_testing_details.rb +355 -0
  534. data/lib/hubspot/codegen/marketing/emails/models/public_email_to_details.rb +262 -0
  535. data/lib/hubspot/codegen/marketing/emails/models/public_font_style.rb +268 -0
  536. data/lib/hubspot/codegen/marketing/emails/models/public_rss_email_details.rb +307 -0
  537. data/lib/hubspot/codegen/marketing/emails/models/public_webversion_details.rb +311 -0
  538. data/lib/hubspot/codegen/marketing/emails/models/version_public_email.rb +272 -0
  539. data/lib/hubspot/codegen/marketing/emails/models/version_user.rb +260 -0
  540. data/lib/hubspot/codegen/marketing/events/api/add_event_attendees_api.rb +352 -0
  541. data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +177 -264
  542. data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +298 -0
  543. data/lib/hubspot/codegen/marketing/events/api/change_property_api.rb +177 -0
  544. data/lib/hubspot/codegen/marketing/events/api/identifiers_api.rb +153 -0
  545. data/lib/hubspot/codegen/marketing/events/api/list_associations_api.rb +2 -2
  546. data/lib/hubspot/codegen/marketing/events/api/{participant_state_api.rb → retrieve_participant_state_api.rb} +23 -23
  547. data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +8 -8
  548. data/lib/hubspot/codegen/marketing/events/models/app_info.rb +242 -0
  549. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_public_object_id_delete_request.rb +230 -0
  550. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_public_update_request_full_v2.rb +230 -0
  551. data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response_v2.rb +326 -0
  552. data/lib/hubspot/codegen/{cms/performance/models/public_performance_response.rb → marketing/events/models/batch_response_marketing_event_public_default_response_v2_with_errors.rb} +85 -84
  553. data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_public_read_response_v2_forward_paging.rb +239 -0
  554. data/lib/hubspot/codegen/marketing/events/models/{collection_response_marketing_event_external_unique_identifier_no_paging.rb → collection_response_search_public_response_wrapper_no_paging.rb} +4 -4
  555. data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_marketing_event_identifiers_response_no_paging.rb +244 -0
  556. data/lib/hubspot/codegen/marketing/events/models/crm_property_wrapper.rb +242 -0
  557. data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +13 -4
  558. data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +1 -1
  559. data/lib/hubspot/codegen/marketing/events/models/marketing_event_identifiers_response.rb +274 -0
  560. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +10 -1
  561. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response_v2.rb +367 -0
  562. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_object_id_delete_request.rb +228 -0
  563. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +10 -1
  564. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response_v2.rb +421 -0
  565. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_update_request_full_v2.rb +316 -0
  566. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_update_request_v2.rb +302 -0
  567. data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +1 -1
  568. data/lib/hubspot/codegen/marketing/events/models/property_value.rb +2 -2
  569. data/lib/hubspot/codegen/marketing/events/models/search_public_response_wrapper.rb +270 -0
  570. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +0 -1
  571. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +0 -1
  572. data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +7 -3
  573. data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +13 -5
  574. data/lib/hubspot/codegen/oauth/api/tokens_api.rb +5 -1
  575. data/lib/hubspot/codegen/oauth/api_client.rb +2 -2
  576. data/lib/hubspot/codegen/oauth/api_error.rb +1 -1
  577. data/lib/hubspot/codegen/oauth/configuration.rb +1 -1
  578. data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +4 -4
  579. data/lib/hubspot/codegen/oauth/models/error.rb +4 -4
  580. data/lib/hubspot/codegen/oauth/models/error_detail.rb +4 -4
  581. data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +4 -4
  582. data/lib/hubspot/codegen/oauth/models/token_response_if.rb +4 -4
  583. data/lib/hubspot/codegen/webhooks/api/settings_api.rb +18 -6
  584. data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +42 -18
  585. data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +1 -0
  586. data/lib/hubspot/codegen/webhooks/models/settings_response.rb +1 -0
  587. data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +13 -3
  588. data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +1 -0
  589. data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +1 -0
  590. data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +13 -3
  591. data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +2 -50
  592. data/lib/hubspot/discovery/cms/blogs/blog_posts/api/{blog_posts_api.rb → basic_api.rb} +1 -1
  593. data/lib/hubspot/discovery/cms/blogs/blog_posts/api/batch_api.rb +15 -0
  594. data/lib/hubspot/discovery/cms/blogs/blog_posts/api/multi_language_api.rb +15 -0
  595. data/lib/hubspot/discovery/cms/blogs/blog_posts/client.rb +3 -1
  596. data/lib/hubspot/discovery/cms/client.rb +0 -1
  597. data/lib/hubspot/discovery/crm/{objects/feedback_submissions/api/public_object_api.rb → associations/v4/api/report_api.rb} +3 -3
  598. data/lib/hubspot/discovery/crm/associations/v4/client.rb +1 -0
  599. data/lib/hubspot/discovery/crm/associations/v4/schema/api/definition_configurations_api.rb +17 -0
  600. data/lib/hubspot/discovery/crm/associations/v4/schema/client.rb +1 -0
  601. data/lib/hubspot/discovery/crm/client.rb +2 -0
  602. data/lib/hubspot/discovery/crm/commerce/client.rb +19 -0
  603. data/lib/hubspot/discovery/crm/commerce/invoices/api/basic_api.rb +15 -0
  604. data/lib/hubspot/discovery/crm/commerce/invoices/api/batch_api.rb +15 -0
  605. data/lib/hubspot/discovery/crm/commerce/invoices/api/search_api.rb +15 -0
  606. data/lib/hubspot/discovery/crm/commerce/invoices/client.rb +23 -0
  607. data/lib/hubspot/discovery/crm/companies/client.rb +0 -1
  608. data/lib/hubspot/discovery/crm/contacts/client.rb +0 -2
  609. data/lib/hubspot/discovery/crm/deals/client.rb +0 -1
  610. data/lib/hubspot/discovery/crm/{contacts/api/merge_api.rb → exports/api/public_exports_api.rb} +2 -2
  611. data/lib/hubspot/discovery/{cms/performance → crm/exports}/client.rb +3 -3
  612. data/lib/hubspot/discovery/crm/extensions/calling/api/channel_connection_settings_api.rb +15 -0
  613. data/lib/hubspot/discovery/crm/extensions/calling/client.rb +1 -0
  614. data/lib/hubspot/discovery/crm/objects/client.rb +1 -3
  615. data/lib/hubspot/discovery/crm/objects/{feedback_submissions/api/gdpr_api.rb → deal_splits/api/batch_api.rb} +2 -2
  616. data/lib/hubspot/discovery/crm/objects/deal_splits/client.rb +21 -0
  617. data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +0 -2
  618. data/lib/hubspot/discovery/crm/tickets/client.rb +0 -1
  619. data/lib/hubspot/discovery/events/send/api/{custom_event_data_api.rb → basic_api.rb} +1 -1
  620. data/lib/hubspot/discovery/{crm/deals/api/merge_api.rb → events/send/api/batch_api.rb} +3 -3
  621. data/lib/hubspot/discovery/events/send/client.rb +2 -1
  622. data/lib/hubspot/discovery/marketing/client.rb +1 -0
  623. data/lib/hubspot/discovery/marketing/emails/api/marketing_emails_api.rb +13 -0
  624. data/lib/hubspot/discovery/{crm/contacts/api/gdpr_api.rb → marketing/emails/api/statistics_api.rb} +3 -3
  625. data/lib/hubspot/discovery/marketing/emails/client.rb +20 -0
  626. data/lib/hubspot/discovery/marketing/events/api/{attendance_subscriber_state_changes_api.rb → add_event_attendees_api.rb} +1 -1
  627. data/lib/hubspot/discovery/marketing/events/api/{participant_state_api.rb → batch_api.rb} +1 -1
  628. data/lib/hubspot/discovery/marketing/events/api/change_property_api.rb +13 -0
  629. data/lib/hubspot/discovery/{crm/companies/api/merge_api.rb → marketing/events/api/identifiers_api.rb} +3 -3
  630. data/lib/hubspot/discovery/marketing/events/api/retrieve_participant_state_api.rb +13 -0
  631. data/lib/hubspot/discovery/marketing/events/client.rb +5 -2
  632. data/lib/hubspot/discovery/oauth/api/access_tokens_api.rb +1 -1
  633. data/lib/hubspot/discovery/oauth/api/refresh_tokens_api.rb +1 -1
  634. data/lib/hubspot/discovery/oauth/api/tokens_api.rb +1 -1
  635. data/lib/hubspot/discovery/oauth/client.rb +1 -1
  636. data/lib/hubspot/helpers/camel_case.rb +0 -4
  637. data/lib/hubspot/helpers/requests/http_auth.rb +33 -0
  638. data/lib/hubspot/helpers/requests/http_request_builder.rb +120 -0
  639. data/lib/hubspot/helpers/signature.rb +54 -26
  640. data/lib/hubspot/version.rb +1 -1
  641. data/spec/discovery/client_spec.rb +1 -0
  642. data/spec/discovery/cms/blogs/blog-posts/{blog_posts_api_spec.rb → basic_api_spec.rb} +2 -6
  643. data/spec/discovery/cms/blogs/blog-posts/batch_api_spec.rb +11 -0
  644. data/spec/discovery/cms/blogs/blog-posts/multi_language_api_spec.rb +11 -0
  645. data/spec/discovery/cms/client_spec.rb +0 -1
  646. data/spec/discovery/crm/associations/v4/report_api_spec.rb +7 -0
  647. data/spec/discovery/crm/associations/v4/schema/definition_configurations_api_spec.rb +11 -0
  648. data/spec/discovery/crm/associations/v4/schema/definitions_api_spec.rb +2 -2
  649. data/spec/discovery/crm/commerce/client_spec.rb +7 -0
  650. data/spec/discovery/crm/commerce/invoices/basic_api_spec.rb +11 -0
  651. data/spec/discovery/crm/commerce/invoices/batch_api_spec.rb +11 -0
  652. data/spec/discovery/crm/commerce/invoices/search_api_spec.rb +7 -0
  653. data/spec/discovery/crm/companies/basic_api_spec.rb +1 -0
  654. data/spec/discovery/crm/contacts/basic_api_spec.rb +1 -0
  655. data/spec/discovery/crm/deals/basic_api_spec.rb +1 -0
  656. data/spec/discovery/crm/exports/public_exports_api_spec.rb +8 -0
  657. data/spec/discovery/crm/extensions/calling/channel_connection_settings_api_spec.rb +10 -0
  658. data/spec/discovery/crm/objects/deal_splits/batch_api_spec.rb +8 -0
  659. data/spec/discovery/crm/objects/feedback_submissions/basic_api_spec.rb +0 -3
  660. data/spec/discovery/crm/objects/feedback_submissions/batch_api_spec.rb +0 -3
  661. data/spec/discovery/crm/objects/goals/basic_api_spec.rb +3 -0
  662. data/spec/discovery/crm/objects/goals/batch_api_spec.rb +4 -0
  663. data/spec/discovery/crm/tickets/basic_api_spec.rb +1 -0
  664. data/spec/discovery/events/send/basic_api_spec.rb +7 -0
  665. data/spec/discovery/events/send/batch_api_spec.rb +7 -0
  666. data/spec/discovery/files/files_api_spec.rb +2 -1
  667. data/spec/discovery/files/folders_api_spec.rb +1 -0
  668. data/spec/discovery/marketing/emails/marketing_emails_api_spec.rb +24 -0
  669. data/spec/discovery/marketing/emails/statistics_api_spec.rb +8 -0
  670. data/spec/discovery/marketing/events/add_event_attendees_api_spec.rb +10 -0
  671. data/spec/discovery/marketing/events/basic_api_spec.rb +5 -6
  672. data/spec/discovery/marketing/events/batch_api_spec.rb +10 -0
  673. data/spec/discovery/marketing/events/change_property_api_spec.rb +8 -0
  674. data/spec/discovery/marketing/events/identifiers_api_spec.rb +8 -0
  675. data/spec/discovery/marketing/events/{participant_state_api_spec.rb → retrieve_participant_state_api_spec.rb} +2 -2
  676. data/spec/discovery/oauth/access_tokens_api_spec.rb +1 -1
  677. data/spec/discovery/oauth/refresh_tokens_api_spec.rb +1 -1
  678. data/spec/discovery/oauth/tokens_api_spec.rb +1 -1
  679. data/spec/helpers/requests/http_auth_spec.rb +58 -0
  680. data/spec/helpers/requests/http_request_spec.rb +71 -0
  681. data/spec/helpers/signature_spec.rb +15 -5
  682. metadata +286 -87
  683. data/lib/hubspot/codegen/cms/blogs/blog_posts/api/blog_posts_api.rb +0 -1694
  684. data/lib/hubspot/codegen/cms/performance/api/public_performance_api.rb +0 -188
  685. data/lib/hubspot/codegen/cms/performance/models/performance_view.rb +0 -526
  686. data/lib/hubspot/codegen/crm/companies/api/merge_api.rb +0 -92
  687. data/lib/hubspot/codegen/crm/contacts/api/merge_api.rb +0 -92
  688. data/lib/hubspot/codegen/crm/deals/api/merge_api.rb +0 -92
  689. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/gdpr_api.rb +0 -96
  690. data/lib/hubspot/codegen/crm/tickets/api/merge_api.rb +0 -92
  691. data/lib/hubspot/codegen/marketing/events/api/attendance_subscriber_state_changes_api.rb +0 -192
  692. data/lib/hubspot/discovery/cms/performance/api/public_performance_api.rb +0 -13
  693. data/lib/hubspot/discovery/crm/tickets/api/merge_api.rb +0 -13
  694. data/spec/discovery/cms/performance/public_performance_api_spec.rb +0 -8
  695. data/spec/discovery/crm/companies/merge_api_spec.rb +0 -7
  696. data/spec/discovery/crm/contacts/gdpr_api_spec.rb +0 -7
  697. data/spec/discovery/crm/contacts/merge_api_spec.rb +0 -7
  698. data/spec/discovery/crm/deals/merge_api_spec.rb +0 -7
  699. data/spec/discovery/crm/objects/feedback_submissions/gdpr_api_spec.rb +0 -7
  700. data/spec/discovery/crm/objects/feedback_submissions/public_object_api_spec.rb +0 -7
  701. data/spec/discovery/crm/tickets/merge_api_spec.rb +0 -7
  702. data/spec/discovery/events/send/custom_event_data_api_spec.rb +0 -7
  703. data/spec/discovery/marketing/events/attendance_subscriber_state_changes_api_spec.rb +0 -8
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Files Files
2
+ #Files
3
3
 
4
4
  #Upload and manage files.
5
5
 
@@ -20,8 +20,8 @@ module Hubspot
20
20
  def initialize(api_client = ApiClient.default)
21
21
  @api_client = api_client
22
22
  end
23
- # Delete file
24
23
  # Delete file by ID
24
+ # Delete a file by ID
25
25
  # @param file_id [String] FileId to delete
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [nil]
@@ -30,8 +30,8 @@ module Hubspot
30
30
  nil
31
31
  end
32
32
 
33
- # Delete file
34
33
  # Delete file by ID
34
+ # Delete a file by ID
35
35
  # @param file_id [String] FileId to delete
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -88,36 +88,31 @@ module Hubspot
88
88
  return data, status_code, headers
89
89
  end
90
90
 
91
- # GDPR delete
92
- # GDRP delete file
93
- # @param file_id [String] ID of file to GDPR delete
91
+ # Check import status
92
+ # Check the status of requested import.
93
+ # @param task_id [String] Import by URL task ID
94
94
  # @param [Hash] opts the optional parameters
95
- # @return [nil]
96
- def archive_gdpr(file_id, opts = {})
97
- archive_gdpr_with_http_info(file_id, opts)
98
- nil
95
+ # @return [FileActionResponse]
96
+ def check_import(task_id, opts = {})
97
+ data, _status_code, _headers = check_import_with_http_info(task_id, opts)
98
+ data
99
99
  end
100
100
 
101
- # GDPR delete
102
- # GDRP delete file
103
- # @param file_id [String] ID of file to GDPR delete
101
+ # Check import status
102
+ # Check the status of requested import.
103
+ # @param task_id [String] Import by URL task ID
104
104
  # @param [Hash] opts the optional parameters
105
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
106
- def archive_gdpr_with_http_info(file_id, opts = {})
105
+ # @return [Array<(FileActionResponse, Integer, Hash)>] FileActionResponse data, response status code and response headers
106
+ def check_import_with_http_info(task_id, opts = {})
107
107
  if @api_client.config.debugging
108
- @api_client.config.logger.debug 'Calling API: FilesApi.archive_gdpr ...'
109
- end
110
- # verify the required parameter 'file_id' is set
111
- if @api_client.config.client_side_validation && file_id.nil?
112
- fail ArgumentError, "Missing the required parameter 'file_id' when calling FilesApi.archive_gdpr"
108
+ @api_client.config.logger.debug 'Calling API: FilesApi.check_import ...'
113
109
  end
114
- pattern = Regexp.new(/\d+/)
115
- if @api_client.config.client_side_validation && file_id !~ pattern
116
- fail ArgumentError, "invalid value for 'file_id' when calling FilesApi.archive_gdpr, must conform to the pattern #{pattern}."
110
+ # verify the required parameter 'task_id' is set
111
+ if @api_client.config.client_side_validation && task_id.nil?
112
+ fail ArgumentError, "Missing the required parameter 'task_id' when calling FilesApi.check_import"
117
113
  end
118
-
119
114
  # resource path
120
- local_var_path = '/files/v3/files/{fileId}/gdpr-delete'.sub('{' + 'fileId' + '}', CGI.escape(file_id.to_s))
115
+ local_var_path = '/files/v3/files/import-from-url/async/tasks/{taskId}/status'.sub('{' + 'taskId' + '}', CGI.escape(task_id.to_s))
121
116
 
122
117
  # query parameters
123
118
  query_params = opts[:query_params] || {}
@@ -125,7 +120,7 @@ module Hubspot
125
120
  # header parameters
126
121
  header_params = opts[:header_params] || {}
127
122
  # HTTP header 'Accept' (if needed)
128
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
123
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
129
124
 
130
125
  # form parameters
131
126
  form_params = opts[:form_params] || {}
@@ -134,13 +129,13 @@ module Hubspot
134
129
  post_body = opts[:debug_body]
135
130
 
136
131
  # return_type
137
- return_type = opts[:debug_return_type]
132
+ return_type = opts[:debug_return_type] || 'FileActionResponse'
138
133
 
139
134
  # auth_names
140
135
  auth_names = opts[:debug_auth_names] || ['oauth2']
141
136
 
142
137
  new_options = opts.merge(
143
- :operation => :"FilesApi.archive_gdpr",
138
+ :operation => :"FilesApi.check_import",
144
139
  :header_params => header_params,
145
140
  :query_params => query_params,
146
141
  :form_params => form_params,
@@ -149,38 +144,43 @@ module Hubspot
149
144
  :return_type => return_type
150
145
  )
151
146
 
152
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
147
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
153
148
  if @api_client.config.debugging
154
- @api_client.config.logger.debug "API called: FilesApi#archive_gdpr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
149
+ @api_client.config.logger.debug "API called: FilesApi#check_import\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
155
150
  end
156
151
  return data, status_code, headers
157
152
  end
158
153
 
159
- # Check import status.
160
- # Check the status of requested import.
161
- # @param task_id [String] Import by URL task ID
154
+ # GDPR-delete file
155
+ # Delete a file in accordance with GDPR regulations.
156
+ # @param file_id [String] ID of file to GDPR delete
162
157
  # @param [Hash] opts the optional parameters
163
- # @return [FileActionResponse]
164
- def check_import(task_id, opts = {})
165
- data, _status_code, _headers = check_import_with_http_info(task_id, opts)
166
- data
158
+ # @return [nil]
159
+ def delete(file_id, opts = {})
160
+ delete_with_http_info(file_id, opts)
161
+ nil
167
162
  end
168
163
 
169
- # Check import status.
170
- # Check the status of requested import.
171
- # @param task_id [String] Import by URL task ID
164
+ # GDPR-delete file
165
+ # Delete a file in accordance with GDPR regulations.
166
+ # @param file_id [String] ID of file to GDPR delete
172
167
  # @param [Hash] opts the optional parameters
173
- # @return [Array<(FileActionResponse, Integer, Hash)>] FileActionResponse data, response status code and response headers
174
- def check_import_with_http_info(task_id, opts = {})
168
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
169
+ def delete_with_http_info(file_id, opts = {})
175
170
  if @api_client.config.debugging
176
- @api_client.config.logger.debug 'Calling API: FilesApi.check_import ...'
171
+ @api_client.config.logger.debug 'Calling API: FilesApi.delete ...'
177
172
  end
178
- # verify the required parameter 'task_id' is set
179
- if @api_client.config.client_side_validation && task_id.nil?
180
- fail ArgumentError, "Missing the required parameter 'task_id' when calling FilesApi.check_import"
173
+ # verify the required parameter 'file_id' is set
174
+ if @api_client.config.client_side_validation && file_id.nil?
175
+ fail ArgumentError, "Missing the required parameter 'file_id' when calling FilesApi.delete"
181
176
  end
177
+ pattern = Regexp.new(/\d+/)
178
+ if @api_client.config.client_side_validation && file_id !~ pattern
179
+ fail ArgumentError, "invalid value for 'file_id' when calling FilesApi.delete, must conform to the pattern #{pattern}."
180
+ end
181
+
182
182
  # resource path
183
- local_var_path = '/files/v3/files/import-from-url/async/tasks/{taskId}/status'.sub('{' + 'taskId' + '}', CGI.escape(task_id.to_s))
183
+ local_var_path = '/files/v3/files/{fileId}/gdpr-delete'.sub('{' + 'fileId' + '}', CGI.escape(file_id.to_s))
184
184
 
185
185
  # query parameters
186
186
  query_params = opts[:query_params] || {}
@@ -188,7 +188,7 @@ module Hubspot
188
188
  # header parameters
189
189
  header_params = opts[:header_params] || {}
190
190
  # HTTP header 'Accept' (if needed)
191
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
191
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
192
192
 
193
193
  # form parameters
194
194
  form_params = opts[:form_params] || {}
@@ -197,13 +197,13 @@ module Hubspot
197
197
  post_body = opts[:debug_body]
198
198
 
199
199
  # return_type
200
- return_type = opts[:debug_return_type] || 'FileActionResponse'
200
+ return_type = opts[:debug_return_type]
201
201
 
202
202
  # auth_names
203
203
  auth_names = opts[:debug_auth_names] || ['oauth2']
204
204
 
205
205
  new_options = opts.merge(
206
- :operation => :"FilesApi.check_import",
206
+ :operation => :"FilesApi.delete",
207
207
  :header_params => header_params,
208
208
  :query_params => query_params,
209
209
  :form_params => form_params,
@@ -212,9 +212,9 @@ module Hubspot
212
212
  :return_type => return_type
213
213
  )
214
214
 
215
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
215
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
216
216
  if @api_client.config.debugging
217
- @api_client.config.logger.debug "API called: FilesApi#check_import\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
217
+ @api_client.config.logger.debug "API called: FilesApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
218
218
  end
219
219
  return data, status_code, headers
220
220
  end
@@ -222,30 +222,42 @@ module Hubspot
222
222
  # Search files
223
223
  # Search through files in the file manager. Does not display hidden or archived files.
224
224
  # @param [Hash] opts the optional parameters
225
- # @option opts [Array<String>] :properties Desired file properties in the return object.
226
- # @option opts [String] :after The maximum offset of items for a given search is 10000. Narrow your search down if you are reaching this limit.
225
+ # @option opts [Array<String>] :properties A list of file properties to return.
226
+ # @option opts [String] :after Offset search results by this value. The default offset is 0 and the maximum offset of items for a given search is 10,000. Narrow your search down if you are reaching this limit.
227
227
  # @option opts [String] :before
228
- # @option opts [Integer] :limit Number of items to return. Maximum limit is 100.
228
+ # @option opts [Integer] :limit Number of items to return. Default limit is 10, maximum limit is 100.
229
229
  # @option opts [Array<String>] :sort Sort files by a given field.
230
- # @option opts [String] :id Search files by given ID.
230
+ # @option opts [Array<Integer>] :ids Search by a list of file IDs.
231
+ # @option opts [Integer] :id_lte
232
+ # @option opts [Integer] :id_gte
231
233
  # @option opts [Time] :created_at Search files by time of creation.
232
- # @option opts [Time] :created_at_lte
233
- # @option opts [Time] :created_at_gte
234
+ # @option opts [Time] :created_at_lte Search files by less than or equal to time of creation. Can be used with &#x60;createdAtGte&#x60; to create a range.
235
+ # @option opts [Time] :created_at_gte Search files by greater than or equal to time of creation. Can be used with &#x60;createdAtLte&#x60; to create a range.
234
236
  # @option opts [Time] :updated_at Search files by time of latest updated.
235
- # @option opts [Time] :updated_at_lte
236
- # @option opts [Time] :updated_at_gte
237
+ # @option opts [Time] :updated_at_lte Search files by less than or equal to time of latest update. Can be used with &#x60;updatedAtGte&#x60; to create a range.
238
+ # @option opts [Time] :updated_at_gte Search files by greater than or equal to time of latest update. Can be used with &#x60;updatedAtLte&#x60; to create a range.
237
239
  # @option opts [String] :name Search for files containing the given name.
238
240
  # @option opts [String] :path Search files by path.
239
- # @option opts [Integer] :parent_folder_id Search files within given folderId.
240
- # @option opts [Integer] :size Query by file size.
241
+ # @option opts [Array<Integer>] :parent_folder_ids Search files within given &#x60;folderId&#x60;.
242
+ # @option opts [Integer] :size Search files by exact file size in bytes.
243
+ # @option opts [Integer] :size_lte Search files by less than or equal to file size. Can be used with &#x60;sizeGte&#x60; to create a range.
244
+ # @option opts [Integer] :size_gte Search files by greater than or equal to file size. Can be used with &#x60;sizeLte&#x60; to create a range.
241
245
  # @option opts [Integer] :height Search files by height of image or video.
246
+ # @option opts [Integer] :height_lte Search files by less than or equal to height of image or video. Can be used with &#x60;heightGte&#x60; to create a range.
247
+ # @option opts [Integer] :height_gte Search files by greater than or equal to height of image or video. Can be used with &#x60;heightLte&#x60; to create a range.
242
248
  # @option opts [Integer] :width Search files by width of image or video.
243
- # @option opts [String] :encoding Search files with specified encoding.
249
+ # @option opts [Integer] :width_lte Search files by less than or equal to width of image or video. Can be used with &#x60;widthGte&#x60; to create a range.
250
+ # @option opts [Integer] :width_gte Search files by greater than or equal to width of image or video. Can be used with &#x60;widthLte&#x60; to create a range.
251
+ # @option opts [String] :encoding Search files by specified encoding.
244
252
  # @option opts [String] :type Filter by provided file type.
245
253
  # @option opts [String] :extension Search files by given extension.
246
- # @option opts [String] :url Search for given URL
247
- # @option opts [Boolean] :is_usable_in_content If true shows files that have been marked to be used in new content. It false shows files that should not be used in new content.
248
- # @option opts [Boolean] :allows_anonymous_access If &#39;true&#39; will show private files; if &#39;false&#39; will show public files
254
+ # @option opts [String] :url Search by file URL.
255
+ # @option opts [Boolean] :is_usable_in_content If &#x60;true&#x60;, shows files that have been marked to be used in new content. If &#x60;false&#x60;, shows files that should not be used in new content.
256
+ # @option opts [Boolean] :allows_anonymous_access Search files by access. If &#x60;true&#x60;, will show only public files. If &#x60;false&#x60;, will show only private files.
257
+ # @option opts [String] :file_md5 Search files by a specific md5 hash.
258
+ # @option opts [Time] :expires_at Search files by exact expires time. Time must be epoch time in milliseconds.
259
+ # @option opts [Time] :expires_at_lte Search files by less than or equal to expires time. Can be used with &#x60;expiresAtGte&#x60; to create a range.
260
+ # @option opts [Time] :expires_at_gte Search files by greater than or equal to expires time. Can be used with &#x60;expiresAtLte&#x60; to create a range.
249
261
  # @return [CollectionResponseFile]
250
262
  def do_search(opts = {})
251
263
  data, _status_code, _headers = do_search_with_http_info(opts)
@@ -255,30 +267,42 @@ module Hubspot
255
267
  # Search files
256
268
  # Search through files in the file manager. Does not display hidden or archived files.
257
269
  # @param [Hash] opts the optional parameters
258
- # @option opts [Array<String>] :properties Desired file properties in the return object.
259
- # @option opts [String] :after The maximum offset of items for a given search is 10000. Narrow your search down if you are reaching this limit.
270
+ # @option opts [Array<String>] :properties A list of file properties to return.
271
+ # @option opts [String] :after Offset search results by this value. The default offset is 0 and the maximum offset of items for a given search is 10,000. Narrow your search down if you are reaching this limit.
260
272
  # @option opts [String] :before
261
- # @option opts [Integer] :limit Number of items to return. Maximum limit is 100.
273
+ # @option opts [Integer] :limit Number of items to return. Default limit is 10, maximum limit is 100.
262
274
  # @option opts [Array<String>] :sort Sort files by a given field.
263
- # @option opts [String] :id Search files by given ID.
275
+ # @option opts [Array<Integer>] :ids Search by a list of file IDs.
276
+ # @option opts [Integer] :id_lte
277
+ # @option opts [Integer] :id_gte
264
278
  # @option opts [Time] :created_at Search files by time of creation.
265
- # @option opts [Time] :created_at_lte
266
- # @option opts [Time] :created_at_gte
279
+ # @option opts [Time] :created_at_lte Search files by less than or equal to time of creation. Can be used with &#x60;createdAtGte&#x60; to create a range.
280
+ # @option opts [Time] :created_at_gte Search files by greater than or equal to time of creation. Can be used with &#x60;createdAtLte&#x60; to create a range.
267
281
  # @option opts [Time] :updated_at Search files by time of latest updated.
268
- # @option opts [Time] :updated_at_lte
269
- # @option opts [Time] :updated_at_gte
282
+ # @option opts [Time] :updated_at_lte Search files by less than or equal to time of latest update. Can be used with &#x60;updatedAtGte&#x60; to create a range.
283
+ # @option opts [Time] :updated_at_gte Search files by greater than or equal to time of latest update. Can be used with &#x60;updatedAtLte&#x60; to create a range.
270
284
  # @option opts [String] :name Search for files containing the given name.
271
285
  # @option opts [String] :path Search files by path.
272
- # @option opts [Integer] :parent_folder_id Search files within given folderId.
273
- # @option opts [Integer] :size Query by file size.
286
+ # @option opts [Array<Integer>] :parent_folder_ids Search files within given &#x60;folderId&#x60;.
287
+ # @option opts [Integer] :size Search files by exact file size in bytes.
288
+ # @option opts [Integer] :size_lte Search files by less than or equal to file size. Can be used with &#x60;sizeGte&#x60; to create a range.
289
+ # @option opts [Integer] :size_gte Search files by greater than or equal to file size. Can be used with &#x60;sizeLte&#x60; to create a range.
274
290
  # @option opts [Integer] :height Search files by height of image or video.
291
+ # @option opts [Integer] :height_lte Search files by less than or equal to height of image or video. Can be used with &#x60;heightGte&#x60; to create a range.
292
+ # @option opts [Integer] :height_gte Search files by greater than or equal to height of image or video. Can be used with &#x60;heightLte&#x60; to create a range.
275
293
  # @option opts [Integer] :width Search files by width of image or video.
276
- # @option opts [String] :encoding Search files with specified encoding.
294
+ # @option opts [Integer] :width_lte Search files by less than or equal to width of image or video. Can be used with &#x60;widthGte&#x60; to create a range.
295
+ # @option opts [Integer] :width_gte Search files by greater than or equal to width of image or video. Can be used with &#x60;widthLte&#x60; to create a range.
296
+ # @option opts [String] :encoding Search files by specified encoding.
277
297
  # @option opts [String] :type Filter by provided file type.
278
298
  # @option opts [String] :extension Search files by given extension.
279
- # @option opts [String] :url Search for given URL
280
- # @option opts [Boolean] :is_usable_in_content If true shows files that have been marked to be used in new content. It false shows files that should not be used in new content.
281
- # @option opts [Boolean] :allows_anonymous_access If &#39;true&#39; will show private files; if &#39;false&#39; will show public files
299
+ # @option opts [String] :url Search by file URL.
300
+ # @option opts [Boolean] :is_usable_in_content If &#x60;true&#x60;, shows files that have been marked to be used in new content. If &#x60;false&#x60;, shows files that should not be used in new content.
301
+ # @option opts [Boolean] :allows_anonymous_access Search files by access. If &#x60;true&#x60;, will show only public files. If &#x60;false&#x60;, will show only private files.
302
+ # @option opts [String] :file_md5 Search files by a specific md5 hash.
303
+ # @option opts [Time] :expires_at Search files by exact expires time. Time must be epoch time in milliseconds.
304
+ # @option opts [Time] :expires_at_lte Search files by less than or equal to expires time. Can be used with &#x60;expiresAtGte&#x60; to create a range.
305
+ # @option opts [Time] :expires_at_gte Search files by greater than or equal to expires time. Can be used with &#x60;expiresAtLte&#x60; to create a range.
282
306
  # @return [Array<(CollectionResponseFile, Integer, Hash)>] CollectionResponseFile data, response status code and response headers
283
307
  def do_search_with_http_info(opts = {})
284
308
  if @api_client.config.debugging
@@ -294,7 +318,9 @@ module Hubspot
294
318
  query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
295
319
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
296
320
  query_params[:'sort'] = @api_client.build_collection_param(opts[:'sort'], :multi) if !opts[:'sort'].nil?
297
- query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
321
+ query_params[:'ids'] = @api_client.build_collection_param(opts[:'ids'], :multi) if !opts[:'ids'].nil?
322
+ query_params[:'idLte'] = opts[:'id_lte'] if !opts[:'id_lte'].nil?
323
+ query_params[:'idGte'] = opts[:'id_gte'] if !opts[:'id_gte'].nil?
298
324
  query_params[:'createdAt'] = opts[:'created_at'] if !opts[:'created_at'].nil?
299
325
  query_params[:'createdAtLte'] = opts[:'created_at_lte'] if !opts[:'created_at_lte'].nil?
300
326
  query_params[:'createdAtGte'] = opts[:'created_at_gte'] if !opts[:'created_at_gte'].nil?
@@ -303,16 +329,26 @@ module Hubspot
303
329
  query_params[:'updatedAtGte'] = opts[:'updated_at_gte'] if !opts[:'updated_at_gte'].nil?
304
330
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
305
331
  query_params[:'path'] = opts[:'path'] if !opts[:'path'].nil?
306
- query_params[:'parentFolderId'] = opts[:'parent_folder_id'] if !opts[:'parent_folder_id'].nil?
332
+ query_params[:'parentFolderIds'] = @api_client.build_collection_param(opts[:'parent_folder_ids'], :multi) if !opts[:'parent_folder_ids'].nil?
307
333
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
334
+ query_params[:'sizeLte'] = opts[:'size_lte'] if !opts[:'size_lte'].nil?
335
+ query_params[:'sizeGte'] = opts[:'size_gte'] if !opts[:'size_gte'].nil?
308
336
  query_params[:'height'] = opts[:'height'] if !opts[:'height'].nil?
337
+ query_params[:'heightLte'] = opts[:'height_lte'] if !opts[:'height_lte'].nil?
338
+ query_params[:'heightGte'] = opts[:'height_gte'] if !opts[:'height_gte'].nil?
309
339
  query_params[:'width'] = opts[:'width'] if !opts[:'width'].nil?
340
+ query_params[:'widthLte'] = opts[:'width_lte'] if !opts[:'width_lte'].nil?
341
+ query_params[:'widthGte'] = opts[:'width_gte'] if !opts[:'width_gte'].nil?
310
342
  query_params[:'encoding'] = opts[:'encoding'] if !opts[:'encoding'].nil?
311
343
  query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
312
344
  query_params[:'extension'] = opts[:'extension'] if !opts[:'extension'].nil?
313
345
  query_params[:'url'] = opts[:'url'] if !opts[:'url'].nil?
314
346
  query_params[:'isUsableInContent'] = opts[:'is_usable_in_content'] if !opts[:'is_usable_in_content'].nil?
315
347
  query_params[:'allowsAnonymousAccess'] = opts[:'allows_anonymous_access'] if !opts[:'allows_anonymous_access'].nil?
348
+ query_params[:'fileMd5'] = opts[:'file_md5'] if !opts[:'file_md5'].nil?
349
+ query_params[:'expiresAt'] = opts[:'expires_at'] if !opts[:'expires_at'].nil?
350
+ query_params[:'expiresAtLte'] = opts[:'expires_at_lte'] if !opts[:'expires_at_lte'].nil?
351
+ query_params[:'expiresAtGte'] = opts[:'expires_at_gte'] if !opts[:'expires_at_gte'].nil?
316
352
 
317
353
  # header parameters
318
354
  header_params = opts[:header_params] || {}
@@ -348,22 +384,22 @@ module Hubspot
348
384
  return data, status_code, headers
349
385
  end
350
386
 
351
- # Get file.
352
- # Get file by ID.
387
+ # Retrieve file by ID
388
+ # Retrieve a file by its ID.
353
389
  # @param file_id [String] ID of the desired file.
354
390
  # @param [Hash] opts the optional parameters
355
- # @option opts [Array<String>] :properties
391
+ # @option opts [Array<String>] :properties null
356
392
  # @return [File]
357
393
  def get_by_id(file_id, opts = {})
358
394
  data, _status_code, _headers = get_by_id_with_http_info(file_id, opts)
359
395
  data
360
396
  end
361
397
 
362
- # Get file.
363
- # Get file by ID.
398
+ # Retrieve file by ID
399
+ # Retrieve a file by its ID.
364
400
  # @param file_id [String] ID of the desired file.
365
401
  # @param [Hash] opts the optional parameters
366
- # @option opts [Array<String>] :properties
402
+ # @option opts [Array<String>] :properties null
367
403
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
368
404
  def get_by_id_with_http_info(file_id, opts = {})
369
405
  if @api_client.config.debugging
@@ -419,18 +455,22 @@ module Hubspot
419
455
  return data, status_code, headers
420
456
  end
421
457
 
422
- # @param path [String]
458
+ # Retrieve file by path
459
+ # Retrieve a file by its path.
460
+ # @param path [String] The path of the file.
423
461
  # @param [Hash] opts the optional parameters
424
- # @option opts [Array<String>] :properties
462
+ # @option opts [Array<String>] :properties Properties to return in the response.
425
463
  # @return [FileStat]
426
464
  def get_metadata(path, opts = {})
427
465
  data, _status_code, _headers = get_metadata_with_http_info(path, opts)
428
466
  data
429
467
  end
430
468
 
431
- # @param path [String]
469
+ # Retrieve file by path
470
+ # Retrieve a file by its path.
471
+ # @param path [String] The path of the file.
432
472
  # @param [Hash] opts the optional parameters
433
- # @option opts [Array<String>] :properties
473
+ # @option opts [Array<String>] :properties Properties to return in the response.
434
474
  # @return [Array<(FileStat, Integer, Hash)>] FileStat data, response status code and response headers
435
475
  def get_metadata_with_http_info(path, opts = {})
436
476
  if @api_client.config.debugging
@@ -486,7 +526,7 @@ module Hubspot
486
526
  return data, status_code, headers
487
527
  end
488
528
 
489
- # Get signed URL to access private file.
529
+ # Get signed URL to access private file
490
530
  # Generates signed URL that allows temporary access to a private file.
491
531
  # @param file_id [String] ID of file.
492
532
  # @param [Hash] opts the optional parameters
@@ -499,7 +539,7 @@ module Hubspot
499
539
  data
500
540
  end
501
541
 
502
- # Get signed URL to access private file.
542
+ # Get signed URL to access private file
503
543
  # Generates signed URL that allows temporary access to a private file.
504
544
  # @param file_id [String] ID of file.
505
545
  # @param [Hash] opts the optional parameters
@@ -567,7 +607,7 @@ module Hubspot
567
607
  return data, status_code, headers
568
608
  end
569
609
 
570
- # Import a file from a URL into the file manager.
610
+ # Import file from URL
571
611
  # Asynchronously imports the file at the given URL into the file manager.
572
612
  # @param import_from_url_input [ImportFromUrlInput]
573
613
  # @param [Hash] opts the optional parameters
@@ -577,7 +617,7 @@ module Hubspot
577
617
  data
578
618
  end
579
619
 
580
- # Import a file from a URL into the file manager.
620
+ # Import file from URL
581
621
  # Asynchronously imports the file at the given URL into the file manager.
582
622
  # @param import_from_url_input [ImportFromUrlInput]
583
623
  # @param [Hash] opts the optional parameters
@@ -635,26 +675,26 @@ module Hubspot
635
675
  return data, status_code, headers
636
676
  end
637
677
 
638
- # Replace file.
678
+ # Replace file
639
679
  # Replace existing file data with new file data. Can be used to change image content without having to upload a new file and update all references.
640
680
  # @param file_id [String] ID of the desired file.
641
681
  # @param [Hash] opts the optional parameters
642
682
  # @option opts [File] :file File data that will replace existing file in the file manager.
643
683
  # @option opts [String] :charset_hunch Character set of given file data.
644
- # @option opts [String] :options JSON String representing FileReplaceOptions
684
+ # @option opts [String] :options JSON string representing FileReplaceOptions. Includes options to set the access and expiresAt properties, which will automatically update when the file is replaced.
645
685
  # @return [File]
646
686
  def replace(file_id, opts = {})
647
687
  data, _status_code, _headers = replace_with_http_info(file_id, opts)
648
688
  data
649
689
  end
650
690
 
651
- # Replace file.
691
+ # Replace file
652
692
  # Replace existing file data with new file data. Can be used to change image content without having to upload a new file and update all references.
653
693
  # @param file_id [String] ID of the desired file.
654
694
  # @param [Hash] opts the optional parameters
655
695
  # @option opts [File] :file File data that will replace existing file in the file manager.
656
696
  # @option opts [String] :charset_hunch Character set of given file data.
657
- # @option opts [String] :options JSON String representing FileReplaceOptions
697
+ # @option opts [String] :options JSON string representing FileReplaceOptions. Includes options to set the access and expiresAt properties, which will automatically update when the file is replaced.
658
698
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
659
699
  def replace_with_http_info(file_id, opts = {})
660
700
  if @api_client.config.debugging
@@ -717,10 +757,10 @@ module Hubspot
717
757
  return data, status_code, headers
718
758
  end
719
759
 
720
- # update file properties
760
+ # Update file properties
721
761
  # Update properties of file by ID.
722
762
  # @param file_id [String] ID of file to update
723
- # @param file_update_input [FileUpdateInput] Options to update.
763
+ # @param file_update_input [FileUpdateInput]
724
764
  # @param [Hash] opts the optional parameters
725
765
  # @return [File]
726
766
  def update_properties(file_id, file_update_input, opts = {})
@@ -728,10 +768,10 @@ module Hubspot
728
768
  data
729
769
  end
730
770
 
731
- # update file properties
771
+ # Update file properties
732
772
  # Update properties of file by ID.
733
773
  # @param file_id [String] ID of file to update
734
- # @param file_update_input [FileUpdateInput] Options to update.
774
+ # @param file_update_input [FileUpdateInput]
735
775
  # @param [Hash] opts the optional parameters
736
776
  # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
737
777
  def update_properties_with_http_info(file_id, file_update_input, opts = {})