hubspot-api-client 17.2.0 → 19.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1530) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +373 -14
  3. data/Gemfile.lock +1 -1
  4. data/README.md +1 -1
  5. data/lib/hubspot/codegen/automation/actions/api/callbacks_api.rb +12 -16
  6. data/lib/hubspot/codegen/automation/actions/api/definitions_api.rb +54 -64
  7. data/lib/hubspot/codegen/automation/actions/api/functions_api.rb +73 -87
  8. data/lib/hubspot/codegen/automation/actions/api/revisions_api.rb +20 -24
  9. data/lib/hubspot/codegen/automation/actions/api_client.rb +2 -2
  10. data/lib/hubspot/codegen/automation/actions/api_error.rb +2 -2
  11. data/lib/hubspot/codegen/automation/actions/configuration.rb +2 -2
  12. data/lib/hubspot/codegen/automation/actions/models/batch_input_callback_completion_batch_request.rb +2 -2
  13. data/lib/hubspot/codegen/automation/actions/models/callback_completion_batch_request.rb +20 -23
  14. data/lib/hubspot/codegen/automation/actions/models/callback_completion_request.rb +2 -4
  15. data/lib/hubspot/codegen/automation/actions/models/{collection_response_extension_action_definition_forward_paging.rb → collection_response_public_action_definition_forward_paging.rb} +18 -18
  16. data/lib/hubspot/codegen/automation/actions/models/{collection_response_action_function_identifier_no_paging.rb → collection_response_public_action_function_identifier_no_paging.rb} +6 -6
  17. data/lib/hubspot/codegen/automation/actions/models/{collection_response_action_revision_forward_paging.rb → collection_response_public_action_revision_forward_paging.rb} +18 -18
  18. data/lib/hubspot/codegen/automation/actions/models/error.rb +52 -52
  19. data/lib/hubspot/codegen/automation/actions/models/error_detail.rb +30 -30
  20. data/lib/hubspot/codegen/automation/actions/models/field_type_definition.rb +87 -44
  21. data/lib/hubspot/codegen/automation/actions/models/forward_paging.rb +2 -2
  22. data/lib/hubspot/codegen/automation/actions/models/input_field_definition.rb +29 -23
  23. data/lib/hubspot/codegen/automation/actions/models/next_page.rb +15 -15
  24. data/lib/hubspot/codegen/automation/actions/models/option.rb +43 -46
  25. data/lib/hubspot/codegen/automation/actions/models/output_field_definition.rb +228 -0
  26. data/lib/hubspot/codegen/automation/actions/models/{extension_action_definition.rb → public_action_definition.rb} +83 -71
  27. data/lib/hubspot/codegen/automation/actions/models/{extension_action_definition_input.rb → public_action_definition_egg.rb} +76 -63
  28. data/lib/hubspot/codegen/automation/actions/models/{extension_action_definition_patch_input_field_dependencies_inner.rb → public_action_definition_input_field_dependencies_inner.rb} +5 -5
  29. data/lib/hubspot/codegen/automation/actions/models/{extension_action_definition_patch.rb → public_action_definition_patch.rb} +59 -44
  30. data/lib/hubspot/codegen/automation/actions/models/{action_function.rb → public_action_function.rb} +7 -11
  31. data/lib/hubspot/codegen/automation/actions/models/{action_function_identifier.rb → public_action_function_identifier.rb} +7 -10
  32. data/lib/hubspot/codegen/automation/actions/models/{action_labels.rb → public_action_labels.rb} +62 -36
  33. data/lib/hubspot/codegen/automation/actions/models/{action_revision.rb → public_action_revision.rb} +32 -35
  34. data/lib/hubspot/codegen/automation/actions/models/{conditional_single_field_dependency.rb → public_conditional_single_field_dependency.rb} +5 -5
  35. data/lib/hubspot/codegen/automation/actions/models/public_execution_translation_rule.rb +244 -0
  36. data/lib/hubspot/codegen/automation/actions/models/{object_request_options.rb → public_object_request_options.rb} +5 -7
  37. data/lib/hubspot/codegen/automation/actions/models/{single_field_dependency.rb → public_single_field_dependency.rb} +5 -5
  38. data/lib/hubspot/codegen/cms/audit_logs/api/audit_logs_api.rb +14 -14
  39. data/lib/hubspot/codegen/cms/audit_logs/api_client.rb +1 -1
  40. data/lib/hubspot/codegen/cms/audit_logs/api_error.rb +1 -1
  41. data/lib/hubspot/codegen/cms/audit_logs/configuration.rb +1 -8
  42. data/lib/hubspot/codegen/cms/audit_logs/models/collection_response_public_audit_log.rb +15 -14
  43. data/lib/hubspot/codegen/cms/audit_logs/models/error.rb +51 -51
  44. data/lib/hubspot/codegen/cms/audit_logs/models/error_detail.rb +29 -29
  45. data/lib/hubspot/codegen/cms/audit_logs/models/next_page.rb +14 -14
  46. data/lib/hubspot/codegen/cms/audit_logs/models/paging.rb +14 -5
  47. data/lib/hubspot/codegen/{files/files/models/collection_response_folder.rb → cms/audit_logs/models/previous_page.rb} +24 -26
  48. data/lib/hubspot/codegen/cms/audit_logs/models/public_audit_log.rb +60 -51
  49. data/lib/hubspot/codegen/cms/blogs/authors/api/blog_authors_api.rb +22 -16
  50. data/lib/hubspot/codegen/cms/blogs/authors/api_client.rb +1 -1
  51. data/lib/hubspot/codegen/cms/blogs/authors/api_error.rb +1 -1
  52. data/lib/hubspot/codegen/cms/blogs/authors/configuration.rb +1 -1
  53. data/lib/hubspot/codegen/cms/blogs/authors/models/attach_to_lang_primary_request_v_next.rb +18 -64
  54. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_blog_author.rb +1 -1
  55. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_json_node.rb +1 -1
  56. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_string.rb +1 -1
  57. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author.rb +45 -45
  58. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors.rb +57 -57
  59. data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb +142 -142
  60. data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author_clone_request_v_next.rb +12 -12
  61. data/lib/hubspot/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging.rb +14 -14
  62. data/lib/hubspot/codegen/cms/blogs/authors/models/detach_from_lang_group_request_v_next.rb +1 -1
  63. data/lib/hubspot/codegen/cms/blogs/authors/models/error.rb +51 -51
  64. data/lib/hubspot/codegen/cms/blogs/authors/models/error_detail.rb +29 -29
  65. data/lib/hubspot/codegen/cms/blogs/authors/models/forward_paging.rb +1 -1
  66. data/lib/hubspot/codegen/cms/blogs/authors/models/next_page.rb +16 -14
  67. data/lib/hubspot/codegen/cms/blogs/authors/models/set_new_language_primary_request_v_next.rb +1 -1
  68. data/lib/hubspot/codegen/cms/blogs/authors/models/standard_error.rb +53 -53
  69. data/lib/hubspot/codegen/cms/blogs/authors/models/update_languages_request_v_next.rb +19 -41
  70. data/lib/hubspot/codegen/cms/blogs/blog_posts/api/blog_posts_api.rb +48 -42
  71. data/lib/hubspot/codegen/cms/blogs/blog_posts/api_client.rb +1 -1
  72. data/lib/hubspot/codegen/cms/blogs/blog_posts/api_error.rb +1 -1
  73. data/lib/hubspot/codegen/cms/blogs/blog_posts/configuration.rb +1 -8
  74. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/angle.rb +18 -52
  75. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/attach_to_lang_primary_request_v_next.rb +20 -32
  76. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/background_image.rb +1 -35
  77. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/batch_input_blog_post.rb +1 -1
  78. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/batch_input_json_node.rb +1 -1
  79. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/batch_input_string.rb +1 -1
  80. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/batch_response_blog_post.rb +45 -45
  81. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/batch_response_blog_post_with_errors.rb +57 -57
  82. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/blog_post.rb +567 -556
  83. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/blog_post_language_clone_request_v_next.rb +15 -15
  84. data/lib/hubspot/codegen/{crm/associations/schema/models/associated_id.rb → cms/blogs/blog_posts/models/breakpoint_styles.rb} +42 -28
  85. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/collection_response_with_total_blog_post_forward_paging.rb +14 -14
  86. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/collection_response_with_total_version_blog_post.rb +14 -14
  87. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/color_stop.rb +1 -1
  88. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_clone_request_v_next.rb +15 -15
  89. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_language_variation.rb +109 -95
  90. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_schedule_request_v_next.rb +20 -20
  91. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/detach_from_lang_group_request_v_next.rb +1 -1
  92. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/error.rb +51 -51
  93. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/error_detail.rb +29 -29
  94. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/forward_paging.rb +1 -1
  95. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/gradient.rb +16 -16
  96. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/layout_section.rb +48 -48
  97. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/next_page.rb +16 -14
  98. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/paging.rb +1 -1
  99. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/previous_page.rb +3 -1
  100. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/rgba_color.rb +27 -27
  101. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/row_meta_data.rb +19 -19
  102. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/set_new_language_primary_request_v_next.rb +1 -1
  103. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/side_or_corner.rb +18 -64
  104. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/standard_error.rb +53 -53
  105. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/styles.rb +58 -93
  106. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/update_languages_request_v_next.rb +19 -41
  107. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/version_blog_post.rb +21 -21
  108. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/version_user.rb +20 -20
  109. data/lib/hubspot/codegen/cms/blogs/tags/api/blog_tags_api.rb +22 -16
  110. data/lib/hubspot/codegen/cms/blogs/tags/api_client.rb +1 -1
  111. data/lib/hubspot/codegen/cms/blogs/tags/api_error.rb +1 -1
  112. data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +1 -1
  113. data/lib/hubspot/codegen/cms/blogs/tags/models/attach_to_lang_primary_request_v_next.rb +18 -64
  114. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_json_node.rb +1 -1
  115. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_string.rb +1 -1
  116. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_tag.rb +1 -1
  117. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag.rb +45 -45
  118. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag_with_errors.rb +57 -57
  119. data/lib/hubspot/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging.rb +14 -14
  120. data/lib/hubspot/codegen/cms/blogs/tags/models/detach_from_lang_group_request_v_next.rb +1 -1
  121. data/lib/hubspot/codegen/cms/blogs/tags/models/error.rb +51 -51
  122. data/lib/hubspot/codegen/cms/blogs/tags/models/error_detail.rb +29 -29
  123. data/lib/hubspot/codegen/cms/blogs/tags/models/forward_paging.rb +1 -1
  124. data/lib/hubspot/codegen/cms/blogs/tags/models/next_page.rb +16 -14
  125. data/lib/hubspot/codegen/cms/blogs/tags/models/set_new_language_primary_request_v_next.rb +1 -1
  126. data/lib/hubspot/codegen/cms/blogs/tags/models/standard_error.rb +53 -53
  127. data/lib/hubspot/codegen/cms/blogs/tags/models/tag.rb +46 -46
  128. data/lib/hubspot/codegen/cms/blogs/tags/models/tag_clone_request_v_next.rb +27 -27
  129. data/lib/hubspot/codegen/cms/blogs/tags/models/update_languages_request_v_next.rb +19 -41
  130. data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +1 -1
  131. data/lib/hubspot/codegen/cms/domains/api_client.rb +1 -1
  132. data/lib/hubspot/codegen/cms/domains/api_error.rb +1 -1
  133. data/lib/hubspot/codegen/cms/domains/configuration.rb +1 -1
  134. data/lib/hubspot/codegen/cms/domains/models/collection_response_with_total_domain_forward_paging.rb +14 -14
  135. data/lib/hubspot/codegen/cms/domains/models/domain.rb +111 -111
  136. data/lib/hubspot/codegen/cms/domains/models/error.rb +51 -51
  137. data/lib/hubspot/codegen/cms/domains/models/error_detail.rb +29 -29
  138. data/lib/hubspot/codegen/cms/domains/models/forward_paging.rb +1 -1
  139. data/lib/hubspot/codegen/cms/domains/models/next_page.rb +14 -14
  140. data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +53 -32
  141. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +37 -37
  142. data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +56 -41
  143. data/lib/hubspot/codegen/cms/hubdb/api_client.rb +2 -2
  144. data/lib/hubspot/codegen/cms/hubdb/api_error.rb +2 -2
  145. data/lib/hubspot/codegen/cms/hubdb/configuration.rb +2 -2
  146. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_batch_clone_request.rb +230 -0
  147. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_batch_update_request.rb +2 -2
  148. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_request.rb +3 -2
  149. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +3 -2
  150. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +32 -32
  151. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +62 -54
  152. data/lib/hubspot/codegen/cms/hubdb/models/bounded_next_page.rb +237 -0
  153. data/lib/hubspot/codegen/cms/hubdb/models/bounded_paging.rb +223 -0
  154. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +17 -15
  155. data/lib/hubspot/codegen/cms/hubdb/models/column.rb +134 -80
  156. data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +44 -44
  157. data/lib/hubspot/codegen/cms/hubdb/models/error.rb +52 -52
  158. data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +30 -30
  159. data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +20 -17
  160. data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +2 -2
  161. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +17 -3
  162. data/lib/hubspot/codegen/{crm/associations/models/public_association_definition.rb → cms/hubdb/models/hub_db_table_row_batch_clone_request.rb} +21 -26
  163. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +49 -49
  164. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_batch_update_request.rb +22 -22
  165. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +13 -13
  166. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +107 -107
  167. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_request.rb +49 -49
  168. data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +33 -33
  169. data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +17 -15
  170. data/lib/hubspot/codegen/cms/hubdb/models/option.rb +83 -15
  171. data/lib/hubspot/codegen/{files/files → cms/hubdb}/models/paging.rb +7 -7
  172. data/lib/hubspot/codegen/{files/files → cms/hubdb}/models/previous_page.rb +7 -7
  173. data/lib/hubspot/codegen/cms/hubdb/models/random_access_collection_response_with_total_hub_db_table_row_v3.rb +303 -0
  174. data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +38 -34
  175. data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +56 -48
  176. data/lib/hubspot/codegen/cms/hubdb/models/{collection_response_with_total_hub_db_table_row_v3_forward_paging.rb → streaming_collection_response_with_total_hub_db_table_row_v3.rb} +67 -17
  177. data/lib/hubspot/codegen/cms/hubdb/models/unified_collection_response_with_total_base_hub_db_table_row_v3.rb +108 -0
  178. data/lib/hubspot/codegen/cms/performance/api/public_performance_api.rb +1 -1
  179. data/lib/hubspot/codegen/cms/performance/api_client.rb +1 -1
  180. data/lib/hubspot/codegen/cms/performance/api_error.rb +1 -1
  181. data/lib/hubspot/codegen/cms/performance/configuration.rb +1 -1
  182. data/lib/hubspot/codegen/cms/performance/models/error.rb +51 -51
  183. data/lib/hubspot/codegen/cms/performance/models/error_detail.rb +29 -29
  184. data/lib/hubspot/codegen/cms/performance/models/performance_view.rb +105 -120
  185. data/lib/hubspot/codegen/cms/performance/models/public_performance_response.rb +54 -54
  186. data/lib/hubspot/codegen/cms/site_search/api/public_api.rb +3 -3
  187. data/lib/hubspot/codegen/cms/site_search/configuration.rb +0 -7
  188. data/lib/hubspot/codegen/cms/site_search/models/content_search_result.rb +113 -113
  189. data/lib/hubspot/codegen/cms/site_search/models/error.rb +50 -50
  190. data/lib/hubspot/codegen/cms/site_search/models/error_detail.rb +28 -28
  191. data/lib/hubspot/codegen/cms/site_search/models/indexed_field.rb +17 -17
  192. data/lib/hubspot/codegen/cms/site_search/models/public_search_results.rb +27 -27
  193. data/lib/hubspot/codegen/cms/source_code/api/content_api.rb +51 -51
  194. data/lib/hubspot/codegen/cms/source_code/api/extract_api.rb +90 -27
  195. data/lib/hubspot/codegen/cms/source_code/api/metadata_api.rb +5 -2
  196. data/lib/hubspot/codegen/cms/source_code/api/validation_api.rb +4 -4
  197. data/lib/hubspot/codegen/cms/source_code/api_client.rb +1 -1
  198. data/lib/hubspot/codegen/cms/source_code/api_error.rb +1 -1
  199. data/lib/hubspot/codegen/cms/source_code/configuration.rb +1 -8
  200. data/lib/hubspot/codegen/cms/source_code/models/action_response.rb +26 -26
  201. data/lib/hubspot/codegen/cms/source_code/models/asset_file_metadata.rb +57 -48
  202. data/lib/hubspot/codegen/cms/source_code/models/error.rb +51 -51
  203. data/lib/hubspot/codegen/cms/source_code/models/error_detail.rb +29 -29
  204. data/lib/hubspot/codegen/cms/source_code/models/file_extract_request.rb +1 -1
  205. data/lib/hubspot/codegen/cms/source_code/models/task_locator.rb +14 -14
  206. data/lib/hubspot/codegen/cms/url_redirects/api/redirects_api.rb +6 -6
  207. data/lib/hubspot/codegen/cms/url_redirects/api_client.rb +1 -1
  208. data/lib/hubspot/codegen/cms/url_redirects/api_error.rb +1 -1
  209. data/lib/hubspot/codegen/cms/url_redirects/configuration.rb +1 -8
  210. data/lib/hubspot/codegen/cms/url_redirects/models/collection_response_with_total_url_mapping_forward_paging.rb +14 -14
  211. data/lib/hubspot/codegen/cms/url_redirects/models/error.rb +51 -51
  212. data/lib/hubspot/codegen/cms/url_redirects/models/error_detail.rb +29 -29
  213. data/lib/hubspot/codegen/cms/url_redirects/models/forward_paging.rb +1 -1
  214. data/lib/hubspot/codegen/cms/url_redirects/models/next_page.rb +14 -14
  215. data/lib/hubspot/codegen/cms/url_redirects/models/url_mapping.rb +91 -91
  216. data/lib/hubspot/codegen/cms/url_redirects/models/url_mapping_create_request_body.rb +58 -58
  217. data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +3 -3
  218. data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +5 -5
  219. data/lib/hubspot/codegen/communication_preferences/api_client.rb +2 -2
  220. data/lib/hubspot/codegen/communication_preferences/api_error.rb +2 -2
  221. data/lib/hubspot/codegen/communication_preferences/configuration.rb +2 -9
  222. data/lib/hubspot/codegen/communication_preferences/models/error.rb +52 -52
  223. data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +30 -30
  224. data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +64 -64
  225. data/lib/hubspot/codegen/communication_preferences/models/public_subscription_statuses_response.rb +2 -2
  226. data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +14 -14
  227. data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +79 -70
  228. data/lib/hubspot/codegen/communication_preferences/models/subscription_definitions_response.rb +2 -2
  229. data/lib/hubspot/codegen/conversations/visitor_identification/api/generate_api.rb +2 -2
  230. data/lib/hubspot/codegen/conversations/visitor_identification/configuration.rb +0 -7
  231. data/lib/hubspot/codegen/conversations/visitor_identification/models/error.rb +50 -50
  232. data/lib/hubspot/codegen/conversations/visitor_identification/models/error_detail.rb +28 -28
  233. data/lib/hubspot/codegen/conversations/visitor_identification/models/identification_token_generation_request.rb +14 -14
  234. data/lib/hubspot/codegen/conversations/visitor_identification/models/identification_token_response.rb +1 -0
  235. data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +1 -1
  236. data/lib/hubspot/codegen/crm/associations/api_client.rb +1 -1
  237. data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
  238. data/lib/hubspot/codegen/crm/associations/configuration.rb +1 -1
  239. data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +1 -1
  240. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +1 -1
  241. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +1 -1
  242. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +42 -42
  243. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +42 -42
  244. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi_with_errors.rb +53 -53
  245. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_with_errors.rb +53 -53
  246. data/lib/hubspot/codegen/crm/associations/models/error.rb +51 -51
  247. data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +29 -29
  248. data/lib/hubspot/codegen/crm/associations/models/next_page.rb +14 -14
  249. data/lib/hubspot/codegen/crm/associations/models/paging.rb +1 -1
  250. data/lib/hubspot/codegen/crm/associations/models/previous_page.rb +1 -1
  251. data/lib/hubspot/codegen/crm/associations/models/public_association.rb +1 -1
  252. data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +14 -14
  253. data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +1 -1
  254. data/lib/hubspot/codegen/crm/associations/models/standard_error.rb +48 -48
  255. data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +1 -1
  256. data/lib/hubspot/codegen/crm/associations/schema/api_client.rb +1 -1
  257. data/lib/hubspot/codegen/crm/associations/schema/api_error.rb +1 -1
  258. data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +1 -1
  259. data/lib/hubspot/codegen/crm/associations/schema/models/collection_response_public_association_definition_no_paging.rb +1 -1
  260. data/lib/hubspot/codegen/crm/associations/schema/models/error.rb +51 -51
  261. data/lib/hubspot/codegen/crm/associations/schema/models/error_detail.rb +29 -29
  262. data/lib/hubspot/codegen/crm/associations/schema/models/public_association_definition.rb +19 -19
  263. data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +15 -15
  264. data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +1 -1
  265. data/lib/hubspot/codegen/crm/associations/v4/api_client.rb +1 -1
  266. data/lib/hubspot/codegen/crm/associations/v4/api_error.rb +1 -1
  267. data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +1 -1
  268. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec.rb +1 -1
  269. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +1 -1
  270. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_archive.rb +1 -1
  271. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_post.rb +1 -1
  272. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_default_association_multi_post.rb +1 -1
  273. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_fetch_associations_batch_request.rb +1 -1
  274. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +1 -1
  275. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +1 -1
  276. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +1 -1
  277. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +1 -1
  278. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +2 -2
  279. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +1 -1
  280. data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +1 -1
  281. data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +1 -1
  282. data/lib/hubspot/codegen/crm/associations/v4/models/forward_paging.rb +1 -1
  283. data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +3 -3
  284. data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +2 -2
  285. data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +1 -1
  286. data/lib/hubspot/codegen/crm/associations/v4/models/paging.rb +1 -1
  287. data/lib/hubspot/codegen/crm/associations/v4/models/previous_page.rb +1 -1
  288. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_archive.rb +1 -1
  289. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +1 -1
  290. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +1 -1
  291. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +1 -1
  292. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association_multi_post.rb +1 -1
  293. data/lib/hubspot/codegen/crm/associations/v4/models/public_fetch_associations_batch_request.rb +1 -1
  294. data/lib/hubspot/codegen/crm/associations/v4/models/public_object_id.rb +1 -1
  295. data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +2 -2
  296. data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +56 -56
  297. data/lib/hubspot/codegen/crm/associations/v4/schema/api_client.rb +2 -2
  298. data/lib/hubspot/codegen/crm/associations/v4/schema/api_error.rb +1 -1
  299. data/lib/hubspot/codegen/crm/associations/v4/schema/configuration.rb +1 -1
  300. data/lib/hubspot/codegen/crm/associations/v4/schema/models/association_spec_with_label.rb +22 -22
  301. data/lib/hubspot/codegen/crm/associations/v4/schema/models/collection_response_association_spec_with_label_no_paging.rb +4 -4
  302. data/lib/hubspot/codegen/crm/associations/v4/schema/models/error.rb +54 -54
  303. data/lib/hubspot/codegen/crm/associations/v4/schema/models/error_detail.rb +32 -32
  304. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_create_request.rb +28 -19
  305. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_update_request.rb +28 -19
  306. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +6 -6
  307. data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +70 -2
  308. data/lib/hubspot/codegen/crm/companies/api/{public_object_api.rb → merge_api.rb} +5 -5
  309. data/lib/hubspot/codegen/crm/companies/models/association_spec.rb +0 -10
  310. data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  311. data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +20 -20
  312. data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object.rb +41 -41
  313. data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object_with_errors.rb +52 -52
  314. data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_upsert_object.rb +326 -0
  315. data/lib/hubspot/codegen/{files/files/models/file_action_response.rb → crm/companies/models/batch_response_simple_public_upsert_object_with_errors.rb} +52 -67
  316. data/lib/hubspot/codegen/crm/companies/models/collection_response_associated_id.rb +13 -13
  317. data/lib/hubspot/codegen/crm/companies/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  318. data/lib/hubspot/codegen/crm/companies/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  319. data/lib/hubspot/codegen/crm/companies/models/error.rb +50 -50
  320. data/lib/hubspot/codegen/crm/companies/models/error_detail.rb +28 -28
  321. data/lib/hubspot/codegen/crm/companies/models/filter.rb +16 -16
  322. data/lib/hubspot/codegen/crm/companies/models/next_page.rb +13 -13
  323. data/lib/hubspot/codegen/crm/companies/models/public_associations_for_object.rb +13 -23
  324. data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +18 -18
  325. data/lib/hubspot/codegen/crm/companies/models/public_object_id.rb +0 -5
  326. data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +33 -58
  327. data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +44 -44
  328. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +35 -17
  329. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_upsert.rb +262 -0
  330. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +10 -1
  331. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +24 -20
  332. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +49 -49
  333. data/lib/hubspot/codegen/crm/companies/models/simple_public_upsert_object.rb +315 -0
  334. data/lib/hubspot/codegen/crm/companies/models/standard_error.rb +46 -46
  335. data/lib/hubspot/codegen/crm/companies/models/value_with_timestamp.rb +33 -33
  336. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +2 -2
  337. data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +70 -2
  338. data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +9 -9
  339. data/lib/hubspot/codegen/crm/contacts/api/{public_object_api.rb → merge_api.rb} +5 -5
  340. data/lib/hubspot/codegen/crm/contacts/models/association_spec.rb +0 -10
  341. data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  342. data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +20 -20
  343. data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object.rb +41 -41
  344. data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object_with_errors.rb +52 -52
  345. data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_upsert_object.rb +326 -0
  346. data/lib/hubspot/codegen/{files/files/models/folder_action_response.rb → crm/contacts/models/batch_response_simple_public_upsert_object_with_errors.rb} +52 -67
  347. data/lib/hubspot/codegen/crm/contacts/models/collection_response_associated_id.rb +13 -13
  348. data/lib/hubspot/codegen/crm/contacts/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  349. data/lib/hubspot/codegen/crm/contacts/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  350. data/lib/hubspot/codegen/crm/contacts/models/error.rb +50 -50
  351. data/lib/hubspot/codegen/crm/contacts/models/error_detail.rb +28 -28
  352. data/lib/hubspot/codegen/crm/contacts/models/filter.rb +16 -16
  353. data/lib/hubspot/codegen/crm/contacts/models/next_page.rb +13 -13
  354. data/lib/hubspot/codegen/crm/contacts/models/public_associations_for_object.rb +13 -23
  355. data/lib/hubspot/codegen/crm/contacts/models/public_gdpr_delete_input.rb +13 -13
  356. data/lib/hubspot/codegen/crm/contacts/models/public_merge_input.rb +18 -18
  357. data/lib/hubspot/codegen/crm/contacts/models/public_object_id.rb +0 -5
  358. data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +33 -58
  359. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +44 -44
  360. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +35 -17
  361. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_upsert.rb +262 -0
  362. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +10 -1
  363. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input_for_create.rb +24 -20
  364. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +49 -49
  365. data/lib/hubspot/codegen/crm/contacts/models/simple_public_upsert_object.rb +315 -0
  366. data/lib/hubspot/codegen/crm/contacts/models/standard_error.rb +46 -46
  367. data/lib/hubspot/codegen/crm/contacts/models/value_with_timestamp.rb +33 -33
  368. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +6 -6
  369. data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +70 -2
  370. data/lib/hubspot/codegen/crm/deals/api/{public_object_api.rb → merge_api.rb} +7 -7
  371. data/lib/hubspot/codegen/crm/deals/models/association_spec.rb +0 -10
  372. data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  373. data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +20 -20
  374. data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object.rb +41 -41
  375. data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object_with_errors.rb +52 -52
  376. data/lib/hubspot/codegen/crm/{lists/models/public_unified_events_in_list_filter.rb → deals/models/batch_response_simple_public_upsert_object.rb} +73 -57
  377. data/lib/hubspot/codegen/crm/deals/models/{error_category.rb → batch_response_simple_public_upsert_object_with_errors.rb} +100 -30
  378. data/lib/hubspot/codegen/crm/deals/models/collection_response_associated_id.rb +13 -13
  379. data/lib/hubspot/codegen/crm/deals/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  380. data/lib/hubspot/codegen/crm/deals/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  381. data/lib/hubspot/codegen/crm/deals/models/error.rb +50 -50
  382. data/lib/hubspot/codegen/crm/deals/models/error_detail.rb +28 -28
  383. data/lib/hubspot/codegen/crm/deals/models/filter.rb +16 -16
  384. data/lib/hubspot/codegen/crm/deals/models/next_page.rb +13 -13
  385. data/lib/hubspot/codegen/crm/deals/models/public_associations_for_object.rb +13 -23
  386. data/lib/hubspot/codegen/crm/deals/models/public_merge_input.rb +18 -18
  387. data/lib/hubspot/codegen/crm/deals/models/public_object_id.rb +0 -5
  388. data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +33 -58
  389. data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +44 -44
  390. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +35 -17
  391. data/lib/hubspot/codegen/{files/files/models/folder_update_input.rb → crm/deals/models/simple_public_object_batch_input_upsert.rb} +40 -28
  392. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +10 -1
  393. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input_for_create.rb +24 -20
  394. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +49 -49
  395. data/lib/hubspot/codegen/{files/files/models/folder.rb → crm/deals/models/simple_public_upsert_object.rb} +65 -64
  396. data/lib/hubspot/codegen/crm/deals/models/standard_error.rb +46 -46
  397. data/lib/hubspot/codegen/crm/deals/models/value_with_timestamp.rb +33 -33
  398. data/lib/hubspot/codegen/crm/extensions/calling/api/recording_settings_api.rb +307 -0
  399. data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +14 -14
  400. data/lib/hubspot/codegen/crm/extensions/calling/api_client.rb +2 -2
  401. data/lib/hubspot/codegen/crm/extensions/calling/api_error.rb +2 -2
  402. data/lib/hubspot/codegen/crm/extensions/calling/configuration.rb +9 -2
  403. data/lib/hubspot/codegen/crm/extensions/calling/models/error.rb +52 -52
  404. data/lib/hubspot/codegen/crm/extensions/calling/models/error_detail.rb +30 -30
  405. data/lib/hubspot/codegen/crm/extensions/calling/models/mark_recording_as_ready_request.rb +230 -0
  406. data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_patch_request.rb +225 -0
  407. data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_request.rb +230 -0
  408. data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_response.rb +230 -0
  409. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +44 -35
  410. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +44 -35
  411. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +70 -56
  412. data/lib/hubspot/codegen/crm/extensions/cards/api/cards_api.rb +45 -45
  413. data/lib/hubspot/codegen/crm/extensions/cards/api/sample_response_api.rb +2 -2
  414. data/lib/hubspot/codegen/crm/extensions/cards/api_client.rb +1 -1
  415. data/lib/hubspot/codegen/crm/extensions/cards/api_error.rb +1 -1
  416. data/lib/hubspot/codegen/crm/extensions/cards/configuration.rb +1 -1
  417. data/lib/hubspot/codegen/crm/extensions/cards/models/action_confirmation_body.rb +1 -1
  418. data/lib/hubspot/codegen/crm/extensions/cards/models/action_hook_action_body.rb +1 -1
  419. data/lib/hubspot/codegen/crm/extensions/cards/models/card_actions.rb +1 -1
  420. data/lib/hubspot/codegen/crm/extensions/{accounting/models/updated_contact.rb → cards/models/card_audit_response.rb} +84 -71
  421. data/lib/hubspot/codegen/crm/extensions/cards/models/card_create_request.rb +17 -17
  422. data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_body.rb +1 -1
  423. data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_property.rb +35 -35
  424. data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body.rb +69 -17
  425. data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body_patch.rb +64 -12
  426. data/lib/hubspot/codegen/crm/extensions/cards/models/card_object_type_body.rb +3 -3
  427. data/lib/hubspot/codegen/crm/extensions/cards/models/card_patch_request.rb +12 -12
  428. data/lib/hubspot/codegen/crm/extensions/cards/models/display_option.rb +1 -1
  429. data/lib/hubspot/codegen/crm/extensions/cards/models/error.rb +51 -51
  430. data/lib/hubspot/codegen/crm/extensions/cards/models/error_detail.rb +29 -29
  431. data/lib/hubspot/codegen/crm/extensions/cards/models/i_frame_action_body.rb +42 -42
  432. data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_card_payload_response.rb +29 -29
  433. data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result.rb +25 -25
  434. data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result_actions_inner.rb +1 -1
  435. data/lib/hubspot/codegen/crm/extensions/cards/models/object_token.rb +11 -11
  436. data/lib/hubspot/codegen/crm/{objects/meetings/models/public_merge_input.rb → extensions/cards/models/public_card_fetch_body.rb} +29 -27
  437. data/lib/hubspot/codegen/crm/extensions/cards/models/{card_list_response.rb → public_card_list_response.rb} +5 -7
  438. data/lib/hubspot/codegen/crm/extensions/cards/models/{card_response.rb → public_card_response.rb} +62 -51
  439. data/lib/hubspot/codegen/crm/extensions/cards/models/top_level_actions.rb +16 -16
  440. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api/settings_api.rb +4 -4
  441. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_client.rb +2 -1
  442. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_error.rb +1 -1
  443. data/lib/hubspot/codegen/crm/extensions/videoconferencing/configuration.rb +8 -1
  444. data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/error.rb +51 -51
  445. data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/error_detail.rb +29 -29
  446. data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/external_settings.rb +24 -15
  447. data/lib/hubspot/codegen/crm/imports/api/core_api.rb +1 -1
  448. data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +1 -1
  449. data/lib/hubspot/codegen/crm/imports/api_client.rb +1 -1
  450. data/lib/hubspot/codegen/crm/imports/api_error.rb +1 -1
  451. data/lib/hubspot/codegen/crm/imports/configuration.rb +1 -1
  452. data/lib/hubspot/codegen/crm/imports/models/action_response.rb +26 -26
  453. data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_error_forward_paging.rb +14 -14
  454. data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_response.rb +14 -14
  455. data/lib/hubspot/codegen/crm/imports/models/error.rb +51 -51
  456. data/lib/hubspot/codegen/crm/imports/models/error_detail.rb +29 -29
  457. data/lib/hubspot/codegen/crm/imports/models/forward_paging.rb +1 -1
  458. data/lib/hubspot/codegen/crm/imports/models/import_row_core.rb +25 -25
  459. data/lib/hubspot/codegen/crm/imports/models/import_template.rb +276 -0
  460. data/lib/hubspot/codegen/crm/imports/models/next_page.rb +14 -14
  461. data/lib/hubspot/codegen/crm/imports/models/paging.rb +1 -1
  462. data/lib/hubspot/codegen/crm/imports/models/previous_page.rb +1 -1
  463. data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +60 -65
  464. data/lib/hubspot/codegen/crm/imports/models/public_import_metadata.rb +22 -22
  465. data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +72 -42
  466. data/lib/hubspot/codegen/crm/imports/models/public_object_list_record.rb +1 -1
  467. data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +70 -2
  468. data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  469. data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +20 -20
  470. data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object.rb +41 -41
  471. data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object_with_errors.rb +52 -52
  472. data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_upsert_object.rb +326 -0
  473. data/lib/hubspot/codegen/crm/line_items/models/{error_category.rb → batch_response_simple_public_upsert_object_with_errors.rb} +100 -30
  474. data/lib/hubspot/codegen/crm/line_items/models/collection_response_associated_id.rb +13 -13
  475. data/lib/hubspot/codegen/crm/line_items/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  476. data/lib/hubspot/codegen/crm/line_items/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  477. data/lib/hubspot/codegen/crm/line_items/models/error.rb +50 -50
  478. data/lib/hubspot/codegen/crm/line_items/models/error_detail.rb +28 -28
  479. data/lib/hubspot/codegen/crm/line_items/models/filter.rb +16 -16
  480. data/lib/hubspot/codegen/crm/line_items/models/next_page.rb +13 -13
  481. data/lib/hubspot/codegen/crm/line_items/models/public_associations_for_object.rb +18 -18
  482. data/lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb +33 -58
  483. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +44 -44
  484. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +35 -17
  485. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_upsert.rb +262 -0
  486. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +10 -1
  487. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +29 -20
  488. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +49 -49
  489. data/lib/hubspot/codegen/crm/line_items/models/simple_public_upsert_object.rb +315 -0
  490. data/lib/hubspot/codegen/crm/line_items/models/standard_error.rb +46 -46
  491. data/lib/hubspot/codegen/crm/line_items/models/value_with_timestamp.rb +33 -33
  492. data/lib/hubspot/codegen/crm/lists/api/folders_api.rb +420 -0
  493. data/lib/hubspot/codegen/crm/lists/api/lists_api.rb +15 -15
  494. data/lib/hubspot/codegen/crm/lists/api/mapping_api.rb +154 -0
  495. data/lib/hubspot/codegen/crm/lists/api/memberships_api.rb +177 -36
  496. data/lib/hubspot/codegen/crm/lists/api_client.rb +1 -1
  497. data/lib/hubspot/codegen/crm/lists/api_error.rb +1 -1
  498. data/lib/hubspot/codegen/crm/lists/configuration.rb +1 -1
  499. data/lib/hubspot/codegen/crm/lists/models/{collection_response_long.rb → api_collection_response_join_time_and_record_id.rb} +15 -7
  500. data/lib/hubspot/codegen/crm/{associations/models/collection_response_public_association_definition_no_paging.rb → lists/models/api_collection_response_record_list_membership_no_paging.rb} +18 -9
  501. data/lib/hubspot/codegen/crm/lists/models/error.rb +1 -1
  502. data/lib/hubspot/codegen/crm/lists/models/error_detail.rb +1 -1
  503. data/lib/hubspot/codegen/crm/{products/models/public_merge_input.rb → lists/models/join_time_and_record_id.rb} +25 -25
  504. data/lib/hubspot/codegen/crm/lists/models/list_create_request.rb +14 -2
  505. data/lib/hubspot/codegen/crm/lists/models/list_create_response.rb +1 -1
  506. data/lib/hubspot/codegen/crm/lists/models/list_fetch_response.rb +1 -1
  507. data/lib/hubspot/codegen/crm/lists/models/list_filter_update_request.rb +1 -1
  508. data/lib/hubspot/codegen/{files/files/models/folder_input.rb → crm/lists/models/list_folder_create_request.rb} +17 -28
  509. data/lib/hubspot/codegen/{files/files/models/collection_response_file.rb → crm/lists/models/list_folder_create_response.rb} +18 -30
  510. data/lib/hubspot/codegen/crm/lists/models/list_folder_fetch_response.rb +228 -0
  511. data/lib/hubspot/codegen/crm/{quotes/models/public_merge_input.rb → lists/models/list_move_request.rb} +27 -25
  512. data/lib/hubspot/codegen/crm/lists/models/list_search_request.rb +38 -15
  513. data/lib/hubspot/codegen/crm/lists/models/list_search_response.rb +1 -1
  514. data/lib/hubspot/codegen/crm/lists/models/list_update_response.rb +1 -1
  515. data/lib/hubspot/codegen/crm/lists/models/lists_by_id_response.rb +1 -1
  516. data/lib/hubspot/codegen/crm/lists/models/membership_change_request.rb +3 -3
  517. data/lib/hubspot/codegen/crm/lists/models/memberships_update_response.rb +4 -4
  518. data/lib/hubspot/codegen/crm/lists/models/next_page.rb +1 -1
  519. data/lib/hubspot/codegen/crm/lists/models/paging.rb +1 -1
  520. data/lib/hubspot/codegen/crm/lists/models/previous_page.rb +1 -1
  521. data/lib/hubspot/codegen/crm/lists/models/public_absolute_comparative_timestamp_refine_by.rb +16 -16
  522. data/lib/hubspot/codegen/crm/lists/models/public_absolute_ranged_timestamp_refine_by.rb +28 -28
  523. data/lib/hubspot/codegen/crm/lists/models/public_ads_search_filter.rb +39 -39
  524. data/lib/hubspot/codegen/crm/lists/models/public_ads_time_filter.rb +19 -19
  525. data/lib/hubspot/codegen/crm/lists/models/public_all_history_refine_by.rb +1 -1
  526. data/lib/hubspot/codegen/crm/lists/models/public_all_property_types_operation.rb +19 -19
  527. data/lib/hubspot/codegen/crm/lists/models/public_and_filter_branch.rb +19 -19
  528. data/lib/hubspot/codegen/crm/lists/models/public_association_filter_branch.rb +36 -36
  529. data/lib/hubspot/codegen/crm/lists/models/public_association_in_list_filter.rb +55 -55
  530. data/lib/hubspot/codegen/crm/lists/models/public_batch_migration_mapping.rb +247 -0
  531. data/lib/hubspot/codegen/crm/lists/models/public_bool_property_operation.rb +33 -33
  532. data/lib/hubspot/codegen/crm/lists/models/public_calendar_date_property_operation.rb +54 -54
  533. data/lib/hubspot/codegen/crm/lists/models/public_campaign_influenced_filter.rb +19 -19
  534. data/lib/hubspot/codegen/crm/lists/models/public_communication_subscription_filter.rb +31 -31
  535. data/lib/hubspot/codegen/crm/lists/models/public_comparative_date_property_operation.rb +35 -35
  536. data/lib/hubspot/codegen/crm/lists/models/public_comparative_property_updated_operation.rb +35 -35
  537. data/lib/hubspot/codegen/crm/lists/models/public_constant_filter.rb +21 -21
  538. data/lib/hubspot/codegen/crm/lists/models/public_cta_analytics_filter.rb +28 -28
  539. data/lib/hubspot/codegen/crm/lists/models/public_date_point.rb +56 -56
  540. data/lib/hubspot/codegen/crm/lists/models/public_date_property_operation.rb +45 -45
  541. data/lib/hubspot/codegen/crm/lists/models/public_date_time_property_operation.rb +30 -30
  542. data/lib/hubspot/codegen/crm/lists/models/public_email_event_filter.rb +44 -44
  543. data/lib/hubspot/codegen/crm/lists/models/public_email_subscription_filter.rb +27 -27
  544. data/lib/hubspot/codegen/crm/lists/models/public_enumeration_property_operation.rb +35 -35
  545. data/lib/hubspot/codegen/crm/lists/models/public_event_analytics_filter.rb +28 -28
  546. data/lib/hubspot/codegen/crm/lists/models/public_event_filter_metadata.rb +2 -2
  547. data/lib/hubspot/codegen/crm/lists/models/public_fiscal_quarter_reference.rb +42 -42
  548. data/lib/hubspot/codegen/crm/lists/models/public_fiscal_year_reference.rb +42 -42
  549. data/lib/hubspot/codegen/crm/lists/models/public_form_submission_filter.rb +20 -20
  550. data/lib/hubspot/codegen/crm/lists/models/{public_event_analytics_filter_coalescing_refine_by.rb → public_form_submission_filter_coalescing_refine_by.rb} +1 -1
  551. data/lib/hubspot/codegen/crm/lists/models/public_form_submission_on_page_filter.rb +37 -37
  552. data/lib/hubspot/codegen/crm/lists/models/public_in_list_filter.rb +19 -19
  553. data/lib/hubspot/codegen/crm/lists/models/public_in_list_filter_metadata.rb +1 -1
  554. data/lib/hubspot/codegen/crm/lists/models/public_index_offset.rb +44 -44
  555. data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point.rb +30 -30
  556. data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point_index_reference.rb +1 -1
  557. data/lib/hubspot/codegen/crm/lists/models/public_integration_event_filter.rb +22 -22
  558. data/lib/hubspot/codegen/crm/lists/models/public_list_folder.rb +327 -0
  559. data/lib/hubspot/codegen/crm/lists/models/public_migration_mapping.rb +244 -0
  560. data/lib/hubspot/codegen/crm/lists/models/public_month_reference.rb +29 -29
  561. data/lib/hubspot/codegen/crm/lists/models/public_multi_string_property_operation.rb +35 -35
  562. data/lib/hubspot/codegen/crm/lists/models/public_not_all_filter_branch.rb +16 -16
  563. data/lib/hubspot/codegen/crm/lists/models/public_not_any_filter_branch.rb +16 -16
  564. data/lib/hubspot/codegen/crm/lists/models/public_now_reference.rb +23 -23
  565. data/lib/hubspot/codegen/crm/lists/models/public_num_associations_filter.rb +23 -23
  566. data/lib/hubspot/codegen/crm/lists/models/public_num_occurrences_refine_by.rb +14 -14
  567. data/lib/hubspot/codegen/crm/lists/models/public_number_property_operation.rb +33 -33
  568. data/lib/hubspot/codegen/crm/lists/models/public_object_list.rb +14 -5
  569. data/lib/hubspot/codegen/crm/lists/models/public_object_list_search_result.rb +4 -4
  570. data/lib/hubspot/codegen/crm/lists/models/public_or_filter_branch.rb +19 -19
  571. data/lib/hubspot/codegen/crm/lists/models/public_page_view_analytics_filter.rb +37 -37
  572. data/lib/hubspot/codegen/crm/lists/models/public_privacy_analytics_filter.rb +16 -16
  573. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch.rb +42 -42
  574. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filter_branches_inner.rb +1 -1
  575. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filters_inner.rb +1 -2
  576. data/lib/hubspot/codegen/crm/lists/models/public_property_association_in_list_filter.rb +39 -39
  577. data/lib/hubspot/codegen/crm/lists/models/public_property_filter.rb +17 -17
  578. data/lib/hubspot/codegen/crm/lists/models/public_property_referenced_time.rb +25 -25
  579. data/lib/hubspot/codegen/crm/lists/models/public_quarter_reference.rb +42 -42
  580. data/lib/hubspot/codegen/crm/lists/models/public_ranged_date_property_operation.rb +42 -42
  581. data/lib/hubspot/codegen/crm/lists/models/public_ranged_number_property_operation.rb +36 -36
  582. data/lib/hubspot/codegen/crm/lists/models/public_ranged_time_operation.rb +67 -67
  583. data/lib/hubspot/codegen/crm/lists/models/public_relative_comparative_timestamp_refine_by.rb +22 -22
  584. data/lib/hubspot/codegen/crm/lists/models/public_relative_ranged_timestamp_refine_by.rb +31 -31
  585. data/lib/hubspot/codegen/crm/lists/models/public_restricted_filter_branch.rb +16 -16
  586. data/lib/hubspot/codegen/crm/lists/models/public_rolling_date_range_property_operation.rb +36 -36
  587. data/lib/hubspot/codegen/crm/lists/models/public_rolling_property_updated_operation.rb +33 -33
  588. data/lib/hubspot/codegen/crm/lists/models/public_set_occurrences_refine_by.rb +1 -1
  589. data/lib/hubspot/codegen/crm/lists/models/public_string_property_operation.rb +33 -33
  590. data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_filter.rb +16 -16
  591. data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_value_filter.rb +26 -26
  592. data/lib/hubspot/codegen/crm/lists/models/{public_property_filter_operation.rb → public_survey_monkey_value_filter_value_comparison.rb} +1 -1
  593. data/lib/hubspot/codegen/crm/lists/models/public_time_offset.rb +19 -19
  594. data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation.rb +47 -47
  595. data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation_time_point.rb +1 -1
  596. data/lib/hubspot/codegen/crm/lists/models/public_today_reference.rb +23 -23
  597. data/lib/hubspot/codegen/crm/lists/models/public_unified_events_filter.rb +31 -31
  598. data/lib/hubspot/codegen/crm/lists/models/public_unified_events_filter_branch.rb +41 -32
  599. data/lib/hubspot/codegen/crm/lists/models/public_webinar_filter.rb +14 -14
  600. data/lib/hubspot/codegen/crm/lists/models/public_week_reference.rb +48 -48
  601. data/lib/hubspot/codegen/crm/lists/models/public_year_reference.rb +42 -42
  602. data/lib/hubspot/codegen/crm/lists/models/record_list_membership.rb +270 -0
  603. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +7 -7
  604. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +77 -3
  605. data/lib/hubspot/codegen/crm/objects/api/search_api.rb +1 -1
  606. data/lib/hubspot/codegen/crm/objects/api_client.rb +1 -1
  607. data/lib/hubspot/codegen/crm/objects/api_error.rb +1 -1
  608. data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +70 -2
  609. data/lib/hubspot/codegen/crm/{associations/v4/models/batch_input_simple_public_object_input_for_create.rb → objects/calls/models/batch_input_simple_public_object_batch_input_upsert.rb} +9 -9
  610. data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +20 -20
  611. data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object.rb +41 -41
  612. data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object_with_errors.rb +52 -52
  613. data/lib/hubspot/codegen/crm/{associations/schema/models/batch_response_public_association.rb → objects/calls/models/batch_response_simple_public_upsert_object.rb} +49 -49
  614. data/lib/hubspot/codegen/crm/{associations/schema/models/batch_response_public_association_with_errors.rb → objects/calls/models/batch_response_simple_public_upsert_object_with_errors.rb} +60 -60
  615. data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id.rb +13 -13
  616. data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  617. data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  618. data/lib/hubspot/codegen/crm/objects/calls/models/error.rb +50 -50
  619. data/lib/hubspot/codegen/crm/objects/calls/models/error_detail.rb +28 -28
  620. data/lib/hubspot/codegen/crm/objects/calls/models/filter.rb +16 -16
  621. data/lib/hubspot/codegen/crm/objects/calls/models/next_page.rb +13 -13
  622. data/lib/hubspot/codegen/crm/objects/calls/models/public_associations_for_object.rb +18 -18
  623. data/lib/hubspot/codegen/crm/objects/calls/models/public_object_search_request.rb +33 -58
  624. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +44 -44
  625. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +35 -17
  626. data/lib/hubspot/codegen/crm/{associations/v4/models/simple_public_object_batch_input.rb → objects/calls/models/simple_public_object_batch_input_upsert.rb} +27 -9
  627. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +10 -1
  628. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +29 -20
  629. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +49 -49
  630. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_upsert_object.rb +317 -0
  631. data/lib/hubspot/codegen/crm/objects/calls/models/standard_error.rb +46 -46
  632. data/lib/hubspot/codegen/crm/objects/calls/models/value_with_timestamp.rb +33 -33
  633. data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +9 -9
  634. data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +80 -12
  635. data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +1 -1
  636. data/lib/hubspot/codegen/crm/objects/communications/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  637. data/lib/hubspot/codegen/crm/objects/communications/models/batch_read_input_simple_public_object_id.rb +20 -20
  638. data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_object.rb +41 -41
  639. data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_object_with_errors.rb +52 -52
  640. data/lib/hubspot/codegen/crm/{associations/schema/models/batch_response_public_association_multi.rb → objects/communications/models/batch_response_simple_public_upsert_object.rb} +49 -49
  641. data/lib/hubspot/codegen/crm/{associations/schema/models/batch_response_public_association_multi_with_errors.rb → objects/communications/models/batch_response_simple_public_upsert_object_with_errors.rb} +60 -60
  642. data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_associated_id.rb +13 -13
  643. data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  644. data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  645. data/lib/hubspot/codegen/crm/objects/communications/models/error.rb +50 -50
  646. data/lib/hubspot/codegen/crm/objects/communications/models/error_detail.rb +28 -28
  647. data/lib/hubspot/codegen/crm/objects/communications/models/filter.rb +16 -16
  648. data/lib/hubspot/codegen/crm/objects/communications/models/next_page.rb +13 -13
  649. data/lib/hubspot/codegen/crm/objects/communications/models/public_associations_for_object.rb +18 -18
  650. data/lib/hubspot/codegen/crm/objects/communications/models/public_object_search_request.rb +33 -58
  651. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object.rb +44 -44
  652. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input.rb +35 -17
  653. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_upsert.rb +264 -0
  654. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input.rb +10 -1
  655. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +29 -20
  656. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_with_associations.rb +49 -49
  657. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_upsert_object.rb +317 -0
  658. data/lib/hubspot/codegen/crm/objects/communications/models/standard_error.rb +46 -46
  659. data/lib/hubspot/codegen/crm/objects/communications/models/value_with_timestamp.rb +33 -33
  660. data/lib/hubspot/codegen/crm/objects/configuration.rb +1 -1
  661. data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +70 -2
  662. data/lib/hubspot/codegen/crm/{associations/v4/models/batch_input_simple_public_object_id.rb → objects/emails/models/batch_input_simple_public_object_batch_input_upsert.rb} +9 -9
  663. data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +20 -20
  664. data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object.rb +41 -41
  665. data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object_with_errors.rb +52 -52
  666. data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_upsert_object.rb +328 -0
  667. data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  668. data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id.rb +13 -13
  669. data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  670. data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  671. data/lib/hubspot/codegen/crm/objects/emails/models/error.rb +50 -50
  672. data/lib/hubspot/codegen/crm/objects/emails/models/error_detail.rb +28 -28
  673. data/lib/hubspot/codegen/crm/objects/emails/models/filter.rb +16 -16
  674. data/lib/hubspot/codegen/crm/objects/emails/models/next_page.rb +13 -13
  675. data/lib/hubspot/codegen/crm/objects/emails/models/public_associations_for_object.rb +18 -18
  676. data/lib/hubspot/codegen/crm/objects/emails/models/public_object_search_request.rb +33 -58
  677. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +44 -44
  678. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +35 -17
  679. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_upsert.rb +264 -0
  680. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +10 -1
  681. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +29 -20
  682. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +49 -49
  683. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_upsert_object.rb +317 -0
  684. data/lib/hubspot/codegen/crm/objects/emails/models/standard_error.rb +46 -46
  685. data/lib/hubspot/codegen/crm/objects/emails/models/value_with_timestamp.rb +33 -33
  686. data/lib/hubspot/codegen/crm/objects/{taxes → feedback_submissions}/api/gdpr_api.rb +12 -12
  687. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +20 -20
  688. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_response_simple_public_object.rb +41 -41
  689. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_response_simple_public_object_with_errors.rb +52 -52
  690. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_associated_id.rb +13 -13
  691. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  692. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  693. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error.rb +50 -50
  694. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_detail.rb +28 -28
  695. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +16 -16
  696. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/next_page.rb +13 -13
  697. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_associations_for_object.rb +18 -18
  698. data/lib/hubspot/codegen/crm/objects/{goals → feedback_submissions}/models/public_gdpr_delete_input.rb +5 -5
  699. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_merge_input.rb +18 -18
  700. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_search_request.rb +44 -44
  701. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +44 -44
  702. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_batch_input.rb +26 -17
  703. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_input_for_create.rb +20 -20
  704. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +49 -49
  705. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/standard_error.rb +46 -46
  706. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/value_with_timestamp.rb +33 -33
  707. data/lib/hubspot/codegen/crm/objects/goals/api/basic_api.rb +4 -212
  708. data/lib/hubspot/codegen/crm/objects/goals/api/batch_api.rb +1 -199
  709. data/lib/hubspot/codegen/crm/objects/goals/api/search_api.rb +1 -1
  710. data/lib/hubspot/codegen/crm/objects/goals/models/public_object_search_request.rb +0 -25
  711. data/lib/hubspot/codegen/crm/objects/leads/api/basic_api.rb +391 -0
  712. data/lib/hubspot/codegen/crm/objects/leads/api/batch_api.rb +363 -0
  713. data/lib/hubspot/codegen/crm/objects/{postal_mail/api/public_object_api.rb → leads/api/search_api.rb} +19 -21
  714. data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/api_client.rb +5 -5
  715. data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/api_error.rb +4 -4
  716. data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/configuration.rb +4 -4
  717. data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/associated_id.rb +7 -7
  718. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/association_spec.rb +5 -5
  719. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/batch_input_simple_public_object_batch_input.rb +5 -5
  720. data/lib/hubspot/codegen/crm/objects/leads/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  721. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/batch_input_simple_public_object_id.rb +5 -5
  722. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/batch_input_simple_public_object_input_for_create.rb +5 -5
  723. data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/batch_read_input_simple_public_object_id.rb +7 -7
  724. data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/batch_response_simple_public_object.rb +7 -7
  725. data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/batch_response_simple_public_object_with_errors.rb +8 -8
  726. data/lib/hubspot/codegen/crm/objects/leads/models/batch_response_simple_public_upsert_object.rb +328 -0
  727. data/lib/hubspot/codegen/crm/objects/leads/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  728. data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/collection_response_associated_id.rb +7 -7
  729. data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/collection_response_simple_public_object_with_associations_forward_paging.rb +7 -7
  730. data/lib/hubspot/codegen/crm/{associations/v4/models/collection_response_association_spec_with_label_no_paging.rb → objects/leads/models/collection_response_with_total_simple_public_object_forward_paging.rb} +33 -10
  731. data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/models/error.rb +57 -57
  732. data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/models/error_detail.rb +35 -35
  733. data/lib/hubspot/codegen/crm/{extensions/accounting/models/invoice_pdf_response.rb → objects/leads/models/filter.rb} +65 -54
  734. data/lib/hubspot/codegen/crm/objects/leads/models/filter_group.rb +232 -0
  735. data/lib/hubspot/codegen/crm/objects/leads/models/forward_paging.rb +225 -0
  736. data/lib/hubspot/codegen/crm/{associations/schema → objects/leads}/models/next_page.rb +20 -20
  737. data/lib/hubspot/codegen/crm/{associations/schema → objects/leads}/models/paging.rb +7 -7
  738. data/lib/hubspot/codegen/crm/{associations/schema → objects/leads}/models/previous_page.rb +7 -7
  739. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/public_associations_for_object.rb +5 -5
  740. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/public_object_id.rb +5 -5
  741. data/lib/hubspot/codegen/crm/{associations/v4/models/simple_public_object_input.rb → objects/leads/models/public_object_search_request.rb} +62 -18
  742. data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/simple_public_object.rb +7 -7
  743. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_batch_input.rb +24 -6
  744. data/lib/hubspot/codegen/crm/{associations/v4/models/simple_public_object_input_for_create.rb → objects/leads/models/simple_public_object_batch_input_upsert.rb} +36 -20
  745. data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/simple_public_object_id.rb +7 -7
  746. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_input.rb +15 -6
  747. data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_input_for_create.rb +15 -6
  748. data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/simple_public_object_with_associations.rb +7 -7
  749. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_upsert_object.rb +317 -0
  750. data/lib/hubspot/codegen/crm/{associations/v4/models/standard_error1.rb → objects/leads/models/standard_error.rb} +8 -8
  751. data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/value_with_timestamp.rb +7 -7
  752. data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +70 -2
  753. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  754. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +20 -20
  755. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object.rb +41 -41
  756. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object_with_errors.rb +52 -52
  757. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_upsert_object.rb +328 -0
  758. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  759. data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id.rb +13 -13
  760. data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  761. data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  762. data/lib/hubspot/codegen/crm/objects/meetings/models/error.rb +50 -50
  763. data/lib/hubspot/codegen/crm/objects/meetings/models/error_detail.rb +28 -28
  764. data/lib/hubspot/codegen/crm/objects/meetings/models/filter.rb +16 -16
  765. data/lib/hubspot/codegen/crm/objects/meetings/models/next_page.rb +13 -13
  766. data/lib/hubspot/codegen/crm/objects/meetings/models/public_associations_for_object.rb +18 -18
  767. data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_search_request.rb +33 -58
  768. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +44 -44
  769. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +35 -17
  770. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input_upsert.rb +264 -0
  771. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +10 -1
  772. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +29 -20
  773. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +49 -49
  774. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_upsert_object.rb +317 -0
  775. data/lib/hubspot/codegen/crm/objects/meetings/models/standard_error.rb +46 -46
  776. data/lib/hubspot/codegen/crm/objects/meetings/models/value_with_timestamp.rb +33 -33
  777. data/lib/hubspot/codegen/crm/objects/models/associated_id.rb +1 -1
  778. data/lib/hubspot/codegen/crm/objects/models/association_spec.rb +1 -1
  779. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +1 -1
  780. data/lib/hubspot/codegen/crm/objects/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +16 -23
  781. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +1 -1
  782. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_input_for_create.rb +1 -1
  783. data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +22 -21
  784. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +42 -42
  785. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +53 -53
  786. data/lib/hubspot/codegen/crm/objects/models/{error_category.rb → batch_response_simple_public_upsert_object.rb} +81 -31
  787. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
  788. data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +14 -14
  789. data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_with_associations_forward_paging.rb +14 -14
  790. data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object_forward_paging.rb +14 -14
  791. data/lib/hubspot/codegen/crm/objects/models/error.rb +51 -51
  792. data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +29 -29
  793. data/lib/hubspot/codegen/crm/objects/models/filter.rb +17 -17
  794. data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +1 -1
  795. data/lib/hubspot/codegen/crm/objects/models/forward_paging.rb +1 -1
  796. data/lib/hubspot/codegen/crm/objects/models/next_page.rb +14 -14
  797. data/lib/hubspot/codegen/crm/objects/models/paging.rb +1 -1
  798. data/lib/hubspot/codegen/crm/objects/models/previous_page.rb +1 -1
  799. data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +19 -19
  800. data/lib/hubspot/codegen/crm/objects/models/public_object_id.rb +1 -1
  801. data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +34 -59
  802. data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +45 -45
  803. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +38 -18
  804. data/lib/hubspot/codegen/crm/objects/models/{collection_response_associated_id_forward_paging.rb → simple_public_object_batch_input_upsert.rb} +46 -22
  805. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +1 -1
  806. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +11 -2
  807. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +30 -21
  808. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +50 -50
  809. data/lib/hubspot/codegen/crm/objects/models/{public_merge_input.rb → simple_public_upsert_object.rb} +96 -23
  810. data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +47 -47
  811. data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +34 -34
  812. data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +70 -2
  813. data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  814. data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +20 -20
  815. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object.rb +41 -41
  816. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object_with_errors.rb +52 -52
  817. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_upsert_object.rb +328 -0
  818. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  819. data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id.rb +13 -13
  820. data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  821. data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  822. data/lib/hubspot/codegen/crm/objects/notes/models/error.rb +50 -50
  823. data/lib/hubspot/codegen/crm/objects/notes/models/error_detail.rb +28 -28
  824. data/lib/hubspot/codegen/crm/objects/notes/models/filter.rb +16 -16
  825. data/lib/hubspot/codegen/crm/objects/notes/models/next_page.rb +13 -13
  826. data/lib/hubspot/codegen/crm/objects/notes/models/public_associations_for_object.rb +18 -18
  827. data/lib/hubspot/codegen/crm/objects/notes/models/public_object_search_request.rb +33 -58
  828. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +44 -44
  829. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +35 -17
  830. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input_upsert.rb +264 -0
  831. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +10 -1
  832. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +29 -20
  833. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +49 -49
  834. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_upsert_object.rb +317 -0
  835. data/lib/hubspot/codegen/crm/objects/notes/models/standard_error.rb +46 -46
  836. data/lib/hubspot/codegen/crm/objects/notes/models/value_with_timestamp.rb +33 -33
  837. data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +33 -33
  838. data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +70 -2
  839. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  840. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_read_input_simple_public_object_id.rb +20 -20
  841. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_response_simple_public_object.rb +41 -41
  842. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_response_simple_public_object_with_errors.rb +52 -52
  843. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_response_simple_public_upsert_object.rb +328 -0
  844. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  845. data/lib/hubspot/codegen/crm/objects/postal_mail/models/collection_response_associated_id.rb +13 -13
  846. data/lib/hubspot/codegen/crm/objects/postal_mail/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  847. data/lib/hubspot/codegen/crm/objects/postal_mail/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  848. data/lib/hubspot/codegen/crm/objects/postal_mail/models/error.rb +50 -50
  849. data/lib/hubspot/codegen/crm/objects/postal_mail/models/error_detail.rb +28 -28
  850. data/lib/hubspot/codegen/crm/objects/postal_mail/models/filter.rb +16 -16
  851. data/lib/hubspot/codegen/crm/objects/postal_mail/models/next_page.rb +13 -13
  852. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_associations_for_object.rb +18 -18
  853. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_object_search_request.rb +33 -58
  854. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object.rb +44 -44
  855. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input.rb +35 -17
  856. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_upsert.rb +264 -0
  857. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input.rb +10 -1
  858. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +29 -20
  859. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_with_associations.rb +49 -49
  860. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_upsert_object.rb +317 -0
  861. data/lib/hubspot/codegen/crm/objects/postal_mail/models/standard_error.rb +46 -46
  862. data/lib/hubspot/codegen/crm/objects/postal_mail/models/value_with_timestamp.rb +33 -33
  863. data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +70 -2
  864. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  865. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +20 -20
  866. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object.rb +41 -41
  867. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object_with_errors.rb +52 -52
  868. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_upsert_object.rb +328 -0
  869. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  870. data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id.rb +13 -13
  871. data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  872. data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  873. data/lib/hubspot/codegen/crm/objects/tasks/models/error.rb +50 -50
  874. data/lib/hubspot/codegen/crm/objects/tasks/models/error_detail.rb +28 -28
  875. data/lib/hubspot/codegen/crm/objects/tasks/models/filter.rb +16 -16
  876. data/lib/hubspot/codegen/crm/objects/tasks/models/next_page.rb +13 -13
  877. data/lib/hubspot/codegen/crm/objects/tasks/models/public_associations_for_object.rb +18 -18
  878. data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_search_request.rb +33 -58
  879. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +44 -44
  880. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +35 -17
  881. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_upsert.rb +264 -0
  882. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +10 -1
  883. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +29 -20
  884. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +49 -49
  885. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_upsert_object.rb +317 -0
  886. data/lib/hubspot/codegen/crm/objects/tasks/models/standard_error.rb +46 -46
  887. data/lib/hubspot/codegen/crm/objects/tasks/models/value_with_timestamp.rb +33 -33
  888. data/lib/hubspot/codegen/crm/objects/taxes/api/batch_api.rb +70 -2
  889. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  890. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_response_simple_public_upsert_object.rb +328 -0
  891. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  892. data/lib/hubspot/codegen/crm/objects/taxes/models/public_object_search_request.rb +0 -25
  893. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input.rb +19 -1
  894. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input_upsert.rb +264 -0
  895. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input.rb +10 -1
  896. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input_for_create.rb +10 -1
  897. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_upsert_object.rb +317 -0
  898. data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +1 -1
  899. data/lib/hubspot/codegen/crm/owners/api_client.rb +1 -1
  900. data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
  901. data/lib/hubspot/codegen/crm/owners/configuration.rb +1 -1
  902. data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner_forward_paging.rb +14 -14
  903. data/lib/hubspot/codegen/crm/owners/models/error.rb +51 -51
  904. data/lib/hubspot/codegen/crm/owners/models/error_detail.rb +29 -29
  905. data/lib/hubspot/codegen/crm/owners/models/forward_paging.rb +1 -1
  906. data/lib/hubspot/codegen/crm/owners/models/next_page.rb +14 -14
  907. data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +51 -51
  908. data/lib/hubspot/codegen/crm/owners/models/public_team.rb +16 -16
  909. data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +9 -0
  910. data/lib/hubspot/codegen/crm/pipelines/models/error.rb +50 -50
  911. data/lib/hubspot/codegen/crm/pipelines/models/error_detail.rb +28 -28
  912. data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +61 -61
  913. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +19 -19
  914. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb +15 -15
  915. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +99 -61
  916. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +20 -25
  917. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +20 -25
  918. data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +39 -39
  919. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +6 -6
  920. data/lib/hubspot/codegen/crm/products/api/batch_api.rb +70 -2
  921. data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  922. data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +21 -20
  923. data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object.rb +41 -41
  924. data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object_with_errors.rb +52 -52
  925. data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_upsert_object.rb +326 -0
  926. data/lib/hubspot/codegen/crm/products/models/{error_category.rb → batch_response_simple_public_upsert_object_with_errors.rb} +100 -30
  927. data/lib/hubspot/codegen/crm/products/models/collection_response_associated_id.rb +13 -13
  928. data/lib/hubspot/codegen/crm/products/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  929. data/lib/hubspot/codegen/crm/products/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  930. data/lib/hubspot/codegen/crm/products/models/error.rb +50 -50
  931. data/lib/hubspot/codegen/crm/products/models/error_detail.rb +28 -28
  932. data/lib/hubspot/codegen/crm/products/models/filter.rb +16 -16
  933. data/lib/hubspot/codegen/crm/products/models/next_page.rb +13 -13
  934. data/lib/hubspot/codegen/crm/products/models/public_associations_for_object.rb +18 -18
  935. data/lib/hubspot/codegen/crm/products/models/public_object_search_request.rb +33 -58
  936. data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +44 -44
  937. data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +37 -17
  938. data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input_upsert.rb +263 -0
  939. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +10 -1
  940. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input_for_create.rb +24 -25
  941. data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +49 -49
  942. data/lib/hubspot/codegen/crm/products/models/simple_public_upsert_object.rb +315 -0
  943. data/lib/hubspot/codegen/crm/products/models/standard_error.rb +46 -46
  944. data/lib/hubspot/codegen/crm/products/models/value_with_timestamp.rb +33 -33
  945. data/lib/hubspot/codegen/crm/properties/models/batch_response_property.rb +41 -41
  946. data/lib/hubspot/codegen/crm/properties/models/batch_response_property_with_errors.rb +52 -52
  947. data/lib/hubspot/codegen/crm/properties/models/error.rb +50 -50
  948. data/lib/hubspot/codegen/crm/properties/models/error_detail.rb +28 -28
  949. data/lib/hubspot/codegen/crm/properties/models/option.rb +34 -34
  950. data/lib/hubspot/codegen/crm/properties/models/option_input.rb +34 -34
  951. data/lib/hubspot/codegen/crm/properties/models/property.rb +152 -150
  952. data/lib/hubspot/codegen/crm/properties/models/property_create.rb +79 -79
  953. data/lib/hubspot/codegen/crm/properties/models/property_group.rb +25 -25
  954. data/lib/hubspot/codegen/crm/properties/models/property_group_create.rb +14 -14
  955. data/lib/hubspot/codegen/crm/properties/models/property_group_update.rb +14 -14
  956. data/lib/hubspot/codegen/crm/properties/models/property_modification_metadata.rb +28 -28
  957. data/lib/hubspot/codegen/crm/properties/models/property_update.rb +58 -58
  958. data/lib/hubspot/codegen/crm/properties/models/standard_error.rb +46 -46
  959. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +70 -2
  960. data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  961. data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +20 -20
  962. data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object.rb +41 -41
  963. data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object_with_errors.rb +52 -52
  964. data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_upsert_object.rb +326 -0
  965. data/lib/hubspot/codegen/crm/quotes/models/{error_category.rb → batch_response_simple_public_upsert_object_with_errors.rb} +100 -30
  966. data/lib/hubspot/codegen/crm/quotes/models/collection_response_associated_id.rb +13 -13
  967. data/lib/hubspot/codegen/crm/quotes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  968. data/lib/hubspot/codegen/crm/quotes/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  969. data/lib/hubspot/codegen/crm/quotes/models/error.rb +50 -50
  970. data/lib/hubspot/codegen/crm/quotes/models/error_detail.rb +28 -28
  971. data/lib/hubspot/codegen/crm/quotes/models/filter.rb +16 -16
  972. data/lib/hubspot/codegen/crm/quotes/models/next_page.rb +13 -13
  973. data/lib/hubspot/codegen/crm/quotes/models/public_associations_for_object.rb +18 -18
  974. data/lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb +33 -58
  975. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +44 -44
  976. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +35 -17
  977. data/lib/hubspot/codegen/{files/files/models/folder_update_task_locator.rb → crm/quotes/models/simple_public_object_batch_input_upsert.rb} +39 -19
  978. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +10 -1
  979. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +29 -20
  980. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +49 -49
  981. data/lib/hubspot/codegen/{files/files/models/standard_error.rb → crm/quotes/models/simple_public_upsert_object.rb} +72 -79
  982. data/lib/hubspot/codegen/crm/quotes/models/standard_error.rb +46 -46
  983. data/lib/hubspot/codegen/crm/quotes/models/value_with_timestamp.rb +33 -33
  984. data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +7 -7
  985. data/lib/hubspot/codegen/crm/schemas/models/association_definition.rb +23 -23
  986. data/lib/hubspot/codegen/crm/schemas/models/association_definition_egg.rb +14 -14
  987. data/lib/hubspot/codegen/crm/schemas/models/error.rb +50 -50
  988. data/lib/hubspot/codegen/crm/schemas/models/error_detail.rb +28 -28
  989. data/lib/hubspot/codegen/crm/schemas/models/object_schema.rb +112 -110
  990. data/lib/hubspot/codegen/crm/schemas/models/object_schema_egg.rb +50 -51
  991. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition.rb +82 -98
  992. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_labels.rb +14 -14
  993. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_patch.rb +37 -19
  994. data/lib/hubspot/codegen/crm/schemas/models/object_type_property_create.rb +152 -46
  995. data/lib/hubspot/codegen/crm/schemas/models/option.rb +34 -34
  996. data/lib/hubspot/codegen/crm/schemas/models/option_input.rb +39 -39
  997. data/lib/hubspot/codegen/crm/schemas/models/property.rb +216 -152
  998. data/lib/hubspot/codegen/crm/schemas/models/property_modification_metadata.rb +32 -28
  999. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +6 -6
  1000. data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +70 -2
  1001. data/lib/hubspot/codegen/crm/tickets/api/{public_object_api.rb → merge_api.rb} +5 -5
  1002. data/lib/hubspot/codegen/crm/tickets/models/association_spec.rb +0 -10
  1003. data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
  1004. data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +20 -20
  1005. data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object.rb +41 -41
  1006. data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object_with_errors.rb +52 -52
  1007. data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_upsert_object.rb +326 -0
  1008. data/lib/hubspot/codegen/crm/tickets/models/{error_category.rb → batch_response_simple_public_upsert_object_with_errors.rb} +100 -30
  1009. data/lib/hubspot/codegen/crm/tickets/models/collection_response_associated_id.rb +13 -13
  1010. data/lib/hubspot/codegen/crm/tickets/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  1011. data/lib/hubspot/codegen/crm/tickets/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  1012. data/lib/hubspot/codegen/crm/tickets/models/error.rb +50 -50
  1013. data/lib/hubspot/codegen/crm/tickets/models/error_detail.rb +28 -28
  1014. data/lib/hubspot/codegen/crm/tickets/models/filter.rb +16 -16
  1015. data/lib/hubspot/codegen/crm/tickets/models/next_page.rb +13 -13
  1016. data/lib/hubspot/codegen/crm/tickets/models/public_associations_for_object.rb +13 -23
  1017. data/lib/hubspot/codegen/crm/tickets/models/public_merge_input.rb +18 -18
  1018. data/lib/hubspot/codegen/crm/tickets/models/public_object_id.rb +0 -5
  1019. data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +33 -58
  1020. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +44 -44
  1021. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +35 -17
  1022. data/lib/hubspot/codegen/{files/files/models/import_from_url_task_locator.rb → crm/tickets/models/simple_public_object_batch_input_upsert.rb} +39 -19
  1023. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +10 -1
  1024. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input_for_create.rb +24 -20
  1025. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +49 -49
  1026. data/lib/hubspot/codegen/crm/tickets/models/simple_public_upsert_object.rb +315 -0
  1027. data/lib/hubspot/codegen/crm/tickets/models/standard_error.rb +46 -46
  1028. data/lib/hubspot/codegen/crm/tickets/models/value_with_timestamp.rb +33 -33
  1029. data/lib/hubspot/codegen/crm/timeline/api/events_api.rb +11 -11
  1030. data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +6 -6
  1031. data/lib/hubspot/codegen/crm/timeline/api/tokens_api.rb +4 -4
  1032. data/lib/hubspot/codegen/crm/timeline/api_client.rb +1 -1
  1033. data/lib/hubspot/codegen/crm/timeline/api_error.rb +1 -1
  1034. data/lib/hubspot/codegen/crm/timeline/configuration.rb +1 -1
  1035. data/lib/hubspot/codegen/crm/timeline/models/batch_input_timeline_event.rb +1 -1
  1036. data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response.rb +45 -45
  1037. data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors.rb +53 -53
  1038. data/lib/hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template_no_paging.rb +1 -1
  1039. data/lib/hubspot/codegen/crm/timeline/models/error.rb +51 -51
  1040. data/lib/hubspot/codegen/crm/timeline/models/error_detail.rb +29 -29
  1041. data/lib/hubspot/codegen/crm/timeline/models/event_detail.rb +1 -1
  1042. data/lib/hubspot/codegen/crm/timeline/models/standard_error.rb +48 -48
  1043. data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +56 -56
  1044. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_i_frame.rb +17 -17
  1045. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_response.rb +70 -70
  1046. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template.rb +29 -29
  1047. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_create_request.rb +22 -22
  1048. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token.rb +34 -39
  1049. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_option.rb +19 -19
  1050. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_update_request.rb +17 -22
  1051. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_update_request.rb +25 -25
  1052. data/lib/hubspot/codegen/events/api/events_api.rb +92 -24
  1053. data/lib/hubspot/codegen/events/api_client.rb +2 -2
  1054. data/lib/hubspot/codegen/events/api_error.rb +2 -2
  1055. data/lib/hubspot/codegen/events/configuration.rb +2 -2
  1056. data/lib/hubspot/codegen/events/models/collection_response_external_unified_event.rb +16 -15
  1057. data/lib/hubspot/codegen/events/models/error.rb +52 -52
  1058. data/lib/hubspot/codegen/events/models/error_detail.rb +30 -30
  1059. data/lib/hubspot/codegen/events/models/external_unified_event.rb +44 -49
  1060. data/lib/hubspot/codegen/events/models/next_page.rb +17 -15
  1061. data/lib/hubspot/codegen/events/models/paging.rb +15 -6
  1062. data/lib/hubspot/codegen/events/models/previous_page.rb +235 -0
  1063. data/lib/hubspot/codegen/events/models/visible_external_event_type_names.rb +229 -0
  1064. data/lib/hubspot/codegen/events/send/api/{behavioral_events_tracking_api.rb → custom_event_data_api.rb} +9 -9
  1065. data/lib/hubspot/codegen/files/api/files_api.rb +880 -0
  1066. data/lib/hubspot/codegen/files/api/folders_api.rb +603 -0
  1067. data/lib/hubspot/codegen/files/api_client.rb +408 -0
  1068. data/lib/hubspot/codegen/files/api_error.rb +59 -0
  1069. data/lib/hubspot/codegen/files/configuration.rb +285 -0
  1070. data/lib/hubspot/codegen/files/models/collection_response_file.rb +238 -0
  1071. data/lib/hubspot/codegen/files/models/collection_response_folder.rb +238 -0
  1072. data/lib/hubspot/codegen/files/models/error.rb +303 -0
  1073. data/lib/hubspot/codegen/files/models/error_detail.rb +269 -0
  1074. data/lib/hubspot/codegen/files/models/file.rb +460 -0
  1075. data/lib/hubspot/codegen/files/models/file_action_response.rb +359 -0
  1076. data/lib/hubspot/codegen/files/models/file_stat.rb +230 -0
  1077. data/lib/hubspot/codegen/{webhooks/models/error_category.rb → files/models/file_update_input.rb} +63 -32
  1078. data/lib/hubspot/codegen/files/models/folder.rb +312 -0
  1079. data/lib/hubspot/codegen/files/models/folder_action_response.rb +359 -0
  1080. data/lib/hubspot/codegen/files/models/folder_input.rb +247 -0
  1081. data/lib/hubspot/codegen/files/models/folder_update_input.rb +247 -0
  1082. data/lib/hubspot/codegen/files/models/folder_update_task_locator.rb +244 -0
  1083. data/lib/hubspot/codegen/files/models/import_from_url_input.rb +370 -0
  1084. data/lib/hubspot/codegen/files/models/import_from_url_task_locator.rb +244 -0
  1085. data/lib/hubspot/codegen/files/models/next_page.rb +235 -0
  1086. data/lib/hubspot/codegen/files/models/paging.rb +230 -0
  1087. data/lib/hubspot/codegen/files/models/previous_page.rb +235 -0
  1088. data/lib/hubspot/codegen/files/models/signed_url.rb +322 -0
  1089. data/lib/hubspot/codegen/files/models/standard_error.rb +320 -0
  1090. data/lib/hubspot/codegen/marketing/events/api/attendance_subscriber_state_changes_api.rb +46 -46
  1091. data/lib/hubspot/codegen/marketing/events/api/{marketing_events_external_api.rb → basic_api.rb} +197 -262
  1092. data/lib/hubspot/codegen/marketing/events/api/list_associations_api.rb +446 -0
  1093. data/lib/hubspot/codegen/marketing/events/api/participant_state_api.rb +386 -0
  1094. data/lib/hubspot/codegen/marketing/events/api/{settings_external_api.rb → settings_api.rb} +46 -38
  1095. data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +200 -0
  1096. data/lib/hubspot/codegen/marketing/events/api_client.rb +2 -2
  1097. data/lib/hubspot/codegen/marketing/events/api_error.rb +2 -2
  1098. data/lib/hubspot/codegen/marketing/events/configuration.rb +2 -9
  1099. data/lib/hubspot/codegen/marketing/events/models/attendance_counters.rb +270 -0
  1100. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +3 -2
  1101. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +2 -3
  1102. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +2 -2
  1103. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_subscriber.rb +2 -3
  1104. data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +62 -54
  1105. data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_email_response.rb +54 -54
  1106. data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_vid_response.rb +54 -54
  1107. data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging.rb +2 -2
  1108. data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_participation_breakdown_forward_paging.rb +253 -0
  1109. data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_public_list_no_paging.rb +244 -0
  1110. data/lib/hubspot/codegen/marketing/events/models/contact_association.rb +260 -0
  1111. data/lib/hubspot/codegen/marketing/events/models/error.rb +52 -52
  1112. data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +30 -30
  1113. data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +2 -2
  1114. data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +2 -2
  1115. data/lib/hubspot/codegen/marketing/events/models/forward_paging.rb +223 -0
  1116. data/lib/hubspot/codegen/marketing/events/models/marketing_event_association.rb +260 -0
  1117. data/lib/hubspot/codegen/marketing/events/models/marketing_event_complete_request_params.rb +2 -2
  1118. data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +85 -76
  1119. data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +67 -58
  1120. data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +24 -24
  1121. data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +21 -21
  1122. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +78 -66
  1123. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +127 -115
  1124. data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +16 -16
  1125. data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +62 -53
  1126. data/lib/hubspot/codegen/{files/files → marketing/events}/models/next_page.rb +20 -20
  1127. data/lib/hubspot/codegen/marketing/events/models/participation_associations.rb +242 -0
  1128. data/lib/hubspot/codegen/marketing/events/models/participation_breakdown.rb +270 -0
  1129. data/lib/hubspot/codegen/{files/files/models/file_update_input.rb → marketing/events/models/participation_properties.rb} +51 -56
  1130. data/lib/hubspot/codegen/marketing/events/models/property_value.rb +162 -89
  1131. data/lib/hubspot/codegen/{files/files/models/signed_url.rb → marketing/events/models/public_list.rb} +113 -76
  1132. data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +57 -49
  1133. data/lib/hubspot/codegen/marketing/events/models/subscriber_email_response.rb +2 -2
  1134. data/lib/hubspot/codegen/marketing/events/models/subscriber_vid_response.rb +2 -2
  1135. data/lib/hubspot/codegen/marketing/forms/api/forms_api.rb +1 -1
  1136. data/lib/hubspot/codegen/marketing/forms/api_client.rb +1 -1
  1137. data/lib/hubspot/codegen/marketing/forms/api_error.rb +1 -1
  1138. data/lib/hubspot/codegen/marketing/forms/configuration.rb +1 -1
  1139. data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging.rb +14 -14
  1140. data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging_results_inner.rb +1 -1
  1141. data/lib/hubspot/codegen/marketing/forms/models/datepicker_field.rb +81 -51
  1142. data/lib/hubspot/codegen/marketing/forms/models/dependent_field.rb +6 -1
  1143. data/lib/hubspot/codegen/marketing/forms/models/dependent_field_dependent_field.rb +2 -1
  1144. data/lib/hubspot/codegen/marketing/forms/models/dependent_field_filter.rb +39 -34
  1145. data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +102 -62
  1146. data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +86 -51
  1147. data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +20 -20
  1148. data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +30 -29
  1149. data/lib/hubspot/codegen/marketing/forms/models/error.rb +51 -51
  1150. data/lib/hubspot/codegen/marketing/forms/models/error_detail.rb +29 -29
  1151. data/lib/hubspot/codegen/marketing/forms/models/field_group.rb +12 -1
  1152. data/lib/hubspot/codegen/marketing/forms/models/file_field.rb +91 -56
  1153. data/lib/hubspot/codegen/marketing/forms/models/form_definition_base.rb +1 -1
  1154. data/lib/hubspot/codegen/marketing/forms/models/form_definition_create_request_base.rb +1 -1
  1155. data/lib/hubspot/codegen/marketing/forms/models/form_display_options.rb +17 -16
  1156. data/lib/hubspot/codegen/marketing/forms/models/form_post_submit_action.rb +1 -1
  1157. data/lib/hubspot/codegen/marketing/forms/models/form_style.rb +100 -88
  1158. data/lib/hubspot/codegen/marketing/forms/models/forward_paging.rb +1 -1
  1159. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_configuration.rb +106 -95
  1160. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +3 -7
  1161. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_all_of.rb +3 -7
  1162. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +3 -7
  1163. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request_all_of.rb +3 -7
  1164. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request.rb +25 -25
  1165. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request_legal_consent_options.rb +1 -1
  1166. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_checkbox.rb +21 -20
  1167. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +43 -36
  1168. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +28 -23
  1169. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +35 -31
  1170. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +2 -1
  1171. data/lib/hubspot/codegen/{crm/line_items/models/public_merge_input.rb → marketing/forms/models/lifecycle_stage.rb} +28 -26
  1172. data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +86 -51
  1173. data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +81 -51
  1174. data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +96 -56
  1175. data/lib/hubspot/codegen/marketing/forms/models/next_page.rb +16 -14
  1176. data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +81 -51
  1177. data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +3 -1
  1178. data/lib/hubspot/codegen/{crm/companies/models/error_category.rb → marketing/forms/models/payment_link_radio_field.rb} +140 -25
  1179. data/lib/hubspot/codegen/marketing/forms/models/phone_field.rb +96 -56
  1180. data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +3 -1
  1181. data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +102 -62
  1182. data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +81 -51
  1183. data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +81 -51
  1184. data/lib/hubspot/codegen/marketing/transactional/api/public_smtp_tokens_api.rb +21 -21
  1185. data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +1 -1
  1186. data/lib/hubspot/codegen/marketing/transactional/api_client.rb +1 -1
  1187. data/lib/hubspot/codegen/marketing/transactional/api_error.rb +1 -1
  1188. data/lib/hubspot/codegen/marketing/transactional/configuration.rb +1 -1
  1189. data/lib/hubspot/codegen/marketing/transactional/models/collection_response_smtp_api_token_view_forward_paging.rb +14 -14
  1190. data/lib/hubspot/codegen/marketing/transactional/models/email_send_status_view.rb +26 -26
  1191. data/lib/hubspot/codegen/marketing/transactional/models/error.rb +51 -51
  1192. data/lib/hubspot/codegen/marketing/transactional/models/error_detail.rb +29 -29
  1193. data/lib/hubspot/codegen/marketing/transactional/models/event_id_view.rb +1 -1
  1194. data/lib/hubspot/codegen/marketing/transactional/models/forward_paging.rb +1 -1
  1195. data/lib/hubspot/codegen/marketing/transactional/models/next_page.rb +16 -14
  1196. data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_email.rb +37 -37
  1197. data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_request_egg.rb +17 -17
  1198. data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_request_egg.rb +1 -1
  1199. data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_view.rb +47 -47
  1200. data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +2 -0
  1201. data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +2 -0
  1202. data/lib/hubspot/codegen/oauth/api/tokens_api.rb +2 -0
  1203. data/lib/hubspot/codegen/oauth/api_client.rb +2 -0
  1204. data/lib/hubspot/codegen/oauth/api_error.rb +2 -0
  1205. data/lib/hubspot/codegen/oauth/configuration.rb +2 -0
  1206. data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +59 -96
  1207. data/lib/hubspot/codegen/oauth/models/error.rb +52 -50
  1208. data/lib/hubspot/codegen/oauth/models/error_detail.rb +30 -28
  1209. data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +63 -53
  1210. data/lib/hubspot/codegen/oauth/models/token_response_if.rb +28 -21
  1211. data/lib/hubspot/codegen/settings/business_units/api/business_unit_api.rb +1 -1
  1212. data/lib/hubspot/codegen/settings/business_units/api_client.rb +1 -1
  1213. data/lib/hubspot/codegen/settings/business_units/api_error.rb +1 -1
  1214. data/lib/hubspot/codegen/settings/business_units/configuration.rb +1 -1
  1215. data/lib/hubspot/codegen/settings/business_units/models/collection_response_public_business_unit_no_paging.rb +1 -1
  1216. data/lib/hubspot/codegen/settings/business_units/models/error.rb +1 -1
  1217. data/lib/hubspot/codegen/settings/business_units/models/error_detail.rb +1 -1
  1218. data/lib/hubspot/codegen/settings/business_units/models/public_business_unit.rb +1 -1
  1219. data/lib/hubspot/codegen/settings/business_units/models/public_business_unit_logo_metadata.rb +1 -1
  1220. data/lib/hubspot/codegen/settings/users/api/roles_api.rb +1 -1
  1221. data/lib/hubspot/codegen/settings/users/api/teams_api.rb +1 -1
  1222. data/lib/hubspot/codegen/settings/users/api/users_api.rb +13 -1
  1223. data/lib/hubspot/codegen/settings/users/api_client.rb +1 -1
  1224. data/lib/hubspot/codegen/settings/users/api_error.rb +1 -1
  1225. data/lib/hubspot/codegen/settings/users/configuration.rb +1 -1
  1226. data/lib/hubspot/codegen/settings/users/models/collection_response_public_permission_set_no_paging.rb +1 -1
  1227. data/lib/hubspot/codegen/settings/users/models/collection_response_public_team_no_paging.rb +1 -1
  1228. data/lib/hubspot/codegen/settings/users/models/collection_response_public_user_forward_paging.rb +14 -14
  1229. data/lib/hubspot/codegen/settings/users/models/error.rb +51 -51
  1230. data/lib/hubspot/codegen/settings/users/models/error_detail.rb +29 -29
  1231. data/lib/hubspot/codegen/settings/users/models/forward_paging.rb +1 -1
  1232. data/lib/hubspot/codegen/settings/users/models/next_page.rb +14 -14
  1233. data/lib/hubspot/codegen/settings/users/models/public_permission_set.rb +22 -22
  1234. data/lib/hubspot/codegen/settings/users/models/public_team.rb +24 -24
  1235. data/lib/hubspot/codegen/settings/users/models/public_user.rb +76 -29
  1236. data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +27 -9
  1237. data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +41 -28
  1238. data/lib/hubspot/codegen/webhooks/api/settings_api.rb +1 -1
  1239. data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +1 -1
  1240. data/lib/hubspot/codegen/webhooks/api_client.rb +1 -1
  1241. data/lib/hubspot/codegen/webhooks/api_error.rb +1 -1
  1242. data/lib/hubspot/codegen/webhooks/configuration.rb +1 -1
  1243. data/lib/hubspot/codegen/webhooks/models/batch_input_subscription_batch_update_request.rb +1 -1
  1244. data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response.rb +42 -42
  1245. data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response_with_errors.rb +53 -53
  1246. data/lib/hubspot/codegen/webhooks/models/error.rb +51 -51
  1247. data/lib/hubspot/codegen/webhooks/models/error_detail.rb +29 -29
  1248. data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +20 -20
  1249. data/lib/hubspot/codegen/webhooks/models/settings_response.rb +22 -22
  1250. data/lib/hubspot/codegen/webhooks/models/standard_error.rb +47 -47
  1251. data/lib/hubspot/codegen/webhooks/models/subscription_batch_update_request.rb +19 -19
  1252. data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +15 -15
  1253. data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +1 -1
  1254. data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +1 -1
  1255. data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +27 -27
  1256. data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +20 -20
  1257. data/lib/hubspot/discovery/cms/source_code/client.rb +0 -1
  1258. data/lib/hubspot/discovery/crm/companies/api/{public_object_api.rb → merge_api.rb} +1 -1
  1259. data/lib/hubspot/discovery/crm/companies/client.rb +1 -1
  1260. data/lib/hubspot/discovery/crm/contacts/api/gdpr_api.rb +1 -1
  1261. data/lib/hubspot/discovery/crm/contacts/api/{public_object_api.rb → merge_api.rb} +1 -1
  1262. data/lib/hubspot/discovery/crm/contacts/client.rb +1 -1
  1263. data/lib/hubspot/discovery/crm/deals/api/{public_object_api.rb → merge_api.rb} +1 -1
  1264. data/lib/hubspot/discovery/crm/deals/client.rb +1 -1
  1265. data/lib/hubspot/discovery/crm/extensions/{accounting/api/callbacks_api.rb → calling/api/recording_settings_api.rb} +2 -2
  1266. data/lib/hubspot/discovery/crm/extensions/calling/client.rb +1 -0
  1267. data/lib/hubspot/discovery/crm/extensions/client.rb +0 -1
  1268. data/lib/hubspot/discovery/crm/line_items/client.rb +0 -1
  1269. data/lib/hubspot/discovery/{files/files → crm/lists}/api/folders_api.rb +2 -2
  1270. data/lib/hubspot/discovery/crm/{objects/api/gdpr_api.rb → lists/api/mapping_api.rb} +2 -2
  1271. data/lib/hubspot/discovery/crm/lists/client.rb +2 -0
  1272. data/lib/hubspot/discovery/crm/objects/calls/client.rb +0 -1
  1273. data/lib/hubspot/discovery/crm/objects/client.rb +1 -0
  1274. data/lib/hubspot/discovery/crm/objects/communications/client.rb +0 -1
  1275. data/lib/hubspot/discovery/crm/objects/emails/client.rb +0 -1
  1276. data/lib/hubspot/discovery/crm/objects/{goals/api/public_object_api.rb → feedback_submissions/api/gdpr_api.rb} +2 -2
  1277. data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +1 -0
  1278. data/lib/hubspot/discovery/crm/objects/goals/client.rb +0 -2
  1279. data/lib/hubspot/discovery/crm/objects/{taxes/api/gdpr_api.rb → leads/api/basic_api.rb} +2 -2
  1280. data/lib/hubspot/discovery/crm/objects/{goals/api/gdpr_api.rb → leads/api/batch_api.rb} +2 -2
  1281. data/lib/hubspot/discovery/crm/objects/{calls/api/public_object_api.rb → leads/api/search_api.rb} +2 -2
  1282. data/lib/hubspot/discovery/crm/{extensions/accounting → objects/leads}/client.rb +5 -7
  1283. data/lib/hubspot/discovery/crm/objects/meetings/client.rb +0 -1
  1284. data/lib/hubspot/discovery/crm/objects/notes/client.rb +0 -1
  1285. data/lib/hubspot/discovery/crm/objects/postal_mail/client.rb +0 -1
  1286. data/lib/hubspot/discovery/crm/objects/tasks/client.rb +0 -1
  1287. data/lib/hubspot/discovery/crm/objects/taxes/client.rb +0 -2
  1288. data/lib/hubspot/discovery/crm/products/client.rb +0 -2
  1289. data/lib/hubspot/discovery/crm/quotes/client.rb +0 -2
  1290. data/lib/hubspot/discovery/crm/schemas/client.rb +0 -1
  1291. data/lib/hubspot/discovery/crm/tickets/api/{associations_api.rb → merge_api.rb} +1 -1
  1292. data/lib/hubspot/discovery/crm/tickets/client.rb +1 -2
  1293. data/lib/hubspot/discovery/events/send/api/{behavioral_events_tracking_api.rb → custom_event_data_api.rb} +1 -1
  1294. data/lib/hubspot/discovery/events/send/client.rb +1 -1
  1295. data/lib/hubspot/discovery/files/api/files_api.rb +11 -0
  1296. data/lib/hubspot/discovery/files/api/folders_api.rb +11 -0
  1297. data/lib/hubspot/discovery/files/client.rb +2 -1
  1298. data/lib/hubspot/discovery/marketing/events/api/{search_api.rb → basic_api.rb} +1 -1
  1299. data/lib/hubspot/discovery/marketing/events/api/{settings_external_api.rb → list_associations_api.rb} +1 -1
  1300. data/lib/hubspot/discovery/marketing/events/api/{marketing_events_external_api.rb → participant_state_api.rb} +1 -1
  1301. data/lib/hubspot/discovery/marketing/events/api/settings_api.rb +13 -0
  1302. data/lib/hubspot/discovery/marketing/events/api/subscriber_state_changes_api.rb +13 -0
  1303. data/lib/hubspot/discovery/marketing/events/client.rb +5 -3
  1304. data/lib/hubspot/discovery/marketing/transactional/api/public_smtp_tokens_api.rb +1 -1
  1305. data/lib/hubspot/helpers/camel_case.rb +6 -1
  1306. data/lib/hubspot/version.rb +1 -1
  1307. data/spec/discovery/cms/source-code/content_api_spec.rb +2 -2
  1308. data/spec/discovery/cms/source-code/extract_api_spec.rb +2 -1
  1309. data/spec/discovery/crm/associations/v4/schema/definitions_api_spec.rb +1 -1
  1310. data/spec/discovery/crm/companies/batch_api_spec.rb +1 -0
  1311. data/spec/discovery/crm/{deals/public_object_api_spec.rb → companies/merge_api_spec.rb} +2 -2
  1312. data/spec/discovery/crm/contacts/batch_api_spec.rb +1 -0
  1313. data/spec/discovery/crm/contacts/gdpr_api_spec.rb +1 -1
  1314. data/spec/discovery/crm/{quotes/public_object_api_spec.rb → contacts/merge_api_spec.rb} +2 -2
  1315. data/spec/discovery/crm/deals/batch_api_spec.rb +1 -0
  1316. data/spec/discovery/crm/{tickets/public_object_api_spec.rb → deals/merge_api_spec.rb} +2 -2
  1317. data/spec/discovery/crm/extensions/calling/recording_settings_api_spec.rb +10 -0
  1318. data/spec/discovery/crm/extensions/client_spec.rb +0 -1
  1319. data/spec/discovery/crm/line_items/batch_api_spec.rb +1 -0
  1320. data/spec/discovery/crm/lists/folders_api_spec.rb +12 -0
  1321. data/spec/discovery/crm/lists/lists_api_spec.rb +4 -11
  1322. data/spec/discovery/crm/lists/mapping_api_spec.rb +15 -0
  1323. data/spec/discovery/crm/lists/memberships_api_spec.rb +2 -1
  1324. data/spec/discovery/crm/objects/batch_api_spec.rb +1 -0
  1325. data/spec/discovery/crm/objects/calls/batch_api_spec.rb +1 -0
  1326. data/spec/discovery/crm/objects/client_spec.rb +2 -0
  1327. data/spec/discovery/crm/objects/communications/batch_api_spec.rb +1 -0
  1328. data/spec/discovery/crm/objects/emails/batch_api_spec.rb +1 -0
  1329. data/spec/discovery/crm/objects/{taxes → feedback_submissions}/gdpr_api_spec.rb +2 -2
  1330. data/spec/discovery/crm/objects/goals/basic_api_spec.rb +0 -3
  1331. data/spec/discovery/crm/objects/goals/batch_api_spec.rb +0 -3
  1332. data/spec/discovery/crm/objects/leads/basic_api_spec.rb +11 -0
  1333. data/spec/discovery/crm/objects/leads/batch_api_spec.rb +11 -0
  1334. data/spec/discovery/crm/objects/leads/search_api_spec.rb +7 -0
  1335. data/spec/discovery/crm/objects/meetings/batch_api_spec.rb +1 -0
  1336. data/spec/discovery/crm/objects/notes/batch_api_spec.rb +1 -0
  1337. data/spec/discovery/crm/objects/postal_mail/batch_api_spec.rb +1 -0
  1338. data/spec/discovery/crm/objects/tasks/batch_api_spec.rb +1 -0
  1339. data/spec/discovery/crm/objects/taxes/batch_api_spec.rb +1 -0
  1340. data/spec/discovery/crm/products/batch_api_spec.rb +1 -0
  1341. data/spec/discovery/crm/quotes/basic_api_spec.rb +3 -0
  1342. data/spec/discovery/crm/quotes/batch_api_spec.rb +4 -0
  1343. data/spec/discovery/crm/tickets/batch_api_spec.rb +1 -0
  1344. data/spec/discovery/crm/{objects/notes/public_object_api_spec.rb → tickets/merge_api_spec.rb} +2 -2
  1345. data/spec/discovery/events/events_api_spec.rb +1 -0
  1346. data/spec/discovery/events/send/{behavioral_events_tracking_api_spec.rb → custom_event_data_api_spec.rb} +2 -2
  1347. data/spec/discovery/files/{files/files_api_spec.rb → files_api_spec.rb} +2 -2
  1348. data/spec/discovery/files/{files/folders_api_spec.rb → folders_api_spec.rb} +2 -2
  1349. data/spec/discovery/marketing/events/attendance_subscriber_state_changes_api_spec.rb +2 -2
  1350. data/spec/discovery/marketing/events/basic_api_spec.rb +16 -0
  1351. data/spec/discovery/marketing/events/list_associations_api_spec.rb +12 -0
  1352. data/spec/discovery/marketing/events/participant_state_api_spec.rb +11 -0
  1353. data/spec/discovery/marketing/events/settings_api_spec.rb +8 -0
  1354. data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +8 -0
  1355. data/spec/discovery/marketing/transactional/public_smtp_tokens_api_spec.rb +1 -1
  1356. metadata +285 -339
  1357. data/lib/hubspot/codegen/cms/source_code/api/source_code_extract_api.rb +0 -144
  1358. data/lib/hubspot/codegen/crm/associations/models/error_category.rb +0 -276
  1359. data/lib/hubspot/codegen/crm/associations/schema/models/batch_input_public_association.rb +0 -232
  1360. data/lib/hubspot/codegen/crm/associations/schema/models/batch_input_public_object_id.rb +0 -232
  1361. data/lib/hubspot/codegen/crm/associations/schema/models/error_category.rb +0 -278
  1362. data/lib/hubspot/codegen/crm/associations/schema/models/public_association.rb +0 -258
  1363. data/lib/hubspot/codegen/crm/associations/schema/models/public_association_multi.rb +0 -256
  1364. data/lib/hubspot/codegen/crm/associations/schema/models/public_object_id.rb +0 -231
  1365. data/lib/hubspot/codegen/crm/associations/schema/models/standard_error.rb +0 -324
  1366. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_simple_public_object_batch_input.rb +0 -232
  1367. data/lib/hubspot/codegen/crm/associations/v4/models/error_category.rb +0 -278
  1368. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_create_request.rb +0 -244
  1369. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_update_request.rb +0 -244
  1370. data/lib/hubspot/codegen/crm/associations/v4/models/public_associations_for_object.rb +0 -246
  1371. data/lib/hubspot/codegen/crm/associations/v4/models/public_gdpr_delete_input.rb +0 -239
  1372. data/lib/hubspot/codegen/crm/associations/v4/schema/models/association_spec.rb +0 -280
  1373. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_multi_archive.rb +0 -234
  1374. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_multi_post.rb +0 -234
  1375. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_default_association_multi_post.rb +0 -234
  1376. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_fetch_associations_batch_request.rb +0 -234
  1377. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_labels_between_object_pair.rb +0 -330
  1378. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_labels_between_object_pair_with_errors.rb +0 -350
  1379. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_multi_with_label.rb +0 -330
  1380. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_multi_with_label_with_errors.rb +0 -350
  1381. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_default_association.rb +0 -350
  1382. data/lib/hubspot/codegen/crm/associations/v4/schema/models/error_category.rb +0 -280
  1383. data/lib/hubspot/codegen/crm/associations/v4/schema/models/labels_between_object_pair.rb +0 -290
  1384. data/lib/hubspot/codegen/crm/associations/v4/schema/models/multi_associated_object_with_label.rb +0 -248
  1385. data/lib/hubspot/codegen/crm/associations/v4/schema/models/next_page.rb +0 -241
  1386. data/lib/hubspot/codegen/crm/associations/v4/schema/models/paging.rb +0 -236
  1387. data/lib/hubspot/codegen/crm/associations/v4/schema/models/previous_page.rb +0 -241
  1388. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_archive.rb +0 -248
  1389. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_post.rb +0 -262
  1390. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_with_label.rb +0 -257
  1391. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_default_association.rb +0 -260
  1392. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_default_association_multi_post.rb +0 -246
  1393. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_fetch_associations_batch_request.rb +0 -241
  1394. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_object_id.rb +0 -232
  1395. data/lib/hubspot/codegen/crm/associations/v4/schema/models/standard_error.rb +0 -326
  1396. data/lib/hubspot/codegen/crm/contacts/models/error_category.rb +0 -276
  1397. data/lib/hubspot/codegen/crm/extensions/accounting/api/callbacks_api.rb +0 -768
  1398. data/lib/hubspot/codegen/crm/extensions/accounting/api/invoice_api.rb +0 -256
  1399. data/lib/hubspot/codegen/crm/extensions/accounting/api/settings_api.rb +0 -165
  1400. data/lib/hubspot/codegen/crm/extensions/accounting/api/sync_api.rb +0 -176
  1401. data/lib/hubspot/codegen/crm/extensions/accounting/api/user_accounts_api.rb +0 -159
  1402. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_settings.rb +0 -255
  1403. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_urls.rb +0 -395
  1404. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_customer.rb +0 -276
  1405. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_invoice.rb +0 -371
  1406. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_term.rb +0 -267
  1407. data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_features.rb +0 -262
  1408. data/lib/hubspot/codegen/crm/extensions/accounting/models/action_response.rb +0 -312
  1409. data/lib/hubspot/codegen/crm/extensions/accounting/models/address.rb +0 -267
  1410. data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_feature.rb +0 -246
  1411. data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_sub_features.rb +0 -307
  1412. data/lib/hubspot/codegen/crm/extensions/accounting/models/create_user_account_request_external.rb +0 -262
  1413. data/lib/hubspot/codegen/crm/extensions/accounting/models/customer_search_response_external.rb +0 -283
  1414. data/lib/hubspot/codegen/crm/extensions/accounting/models/exchange_rate_response.rb +0 -311
  1415. data/lib/hubspot/codegen/crm/extensions/accounting/models/import_invoice_feature.rb +0 -232
  1416. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_create_payment_request.rb +0 -276
  1417. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_read_response.rb +0 -469
  1418. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_search_response.rb +0 -278
  1419. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_request.rb +0 -295
  1420. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_response.rb +0 -454
  1421. data/lib/hubspot/codegen/crm/extensions/accounting/models/invoices_response_external.rb +0 -278
  1422. data/lib/hubspot/codegen/crm/extensions/accounting/models/object_sync_feature.rb +0 -231
  1423. data/lib/hubspot/codegen/crm/extensions/accounting/models/product.rb +0 -295
  1424. data/lib/hubspot/codegen/crm/extensions/accounting/models/product_search_response.rb +0 -278
  1425. data/lib/hubspot/codegen/crm/extensions/accounting/models/result_id_accounting_response.rb +0 -281
  1426. data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_contacts_request.rb +0 -249
  1427. data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_products_request.rb +0 -249
  1428. data/lib/hubspot/codegen/crm/extensions/accounting/models/tax.rb +0 -262
  1429. data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_search_response.rb +0 -278
  1430. data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_type.rb +0 -242
  1431. data/lib/hubspot/codegen/crm/extensions/accounting/models/terms_response.rb +0 -278
  1432. data/lib/hubspot/codegen/crm/extensions/accounting/models/unit_price.rb +0 -242
  1433. data/lib/hubspot/codegen/crm/extensions/accounting/models/updated_product.rb +0 -338
  1434. data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +0 -92
  1435. data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +0 -275
  1436. data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +0 -100
  1437. data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +0 -98
  1438. data/lib/hubspot/codegen/crm/objects/calls/api/public_object_api.rb +0 -94
  1439. data/lib/hubspot/codegen/crm/objects/calls/models/error_category.rb +0 -278
  1440. data/lib/hubspot/codegen/crm/objects/calls/models/public_merge_input.rb +0 -244
  1441. data/lib/hubspot/codegen/crm/objects/communications/api/public_object_api.rb +0 -94
  1442. data/lib/hubspot/codegen/crm/objects/communications/models/error_category.rb +0 -278
  1443. data/lib/hubspot/codegen/crm/objects/communications/models/public_merge_input.rb +0 -244
  1444. data/lib/hubspot/codegen/crm/objects/emails/api/public_object_api.rb +0 -94
  1445. data/lib/hubspot/codegen/crm/objects/emails/models/error_category.rb +0 -278
  1446. data/lib/hubspot/codegen/crm/objects/emails/models/public_merge_input.rb +0 -244
  1447. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_category.rb +0 -278
  1448. data/lib/hubspot/codegen/crm/objects/goals/api/gdpr_api.rb +0 -96
  1449. data/lib/hubspot/codegen/crm/objects/goals/api/public_object_api.rb +0 -94
  1450. data/lib/hubspot/codegen/crm/objects/goals/models/public_merge_input.rb +0 -244
  1451. data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +0 -94
  1452. data/lib/hubspot/codegen/crm/objects/meetings/models/error_category.rb +0 -278
  1453. data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +0 -94
  1454. data/lib/hubspot/codegen/crm/objects/notes/models/error_category.rb +0 -278
  1455. data/lib/hubspot/codegen/crm/objects/notes/models/public_merge_input.rb +0 -244
  1456. data/lib/hubspot/codegen/crm/objects/postal_mail/models/error_category.rb +0 -278
  1457. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_merge_input.rb +0 -244
  1458. data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +0 -94
  1459. data/lib/hubspot/codegen/crm/objects/tasks/models/error_category.rb +0 -278
  1460. data/lib/hubspot/codegen/crm/objects/tasks/models/public_merge_input.rb +0 -244
  1461. data/lib/hubspot/codegen/crm/objects/taxes/api/public_object_api.rb +0 -94
  1462. data/lib/hubspot/codegen/crm/objects/taxes/models/public_gdpr_delete_input.rb +0 -239
  1463. data/lib/hubspot/codegen/crm/objects/taxes/models/public_merge_input.rb +0 -244
  1464. data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +0 -92
  1465. data/lib/hubspot/codegen/crm/properties/models/error_category.rb +0 -276
  1466. data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +0 -92
  1467. data/lib/hubspot/codegen/crm/schemas/api/public_object_schemas_api.rb +0 -85
  1468. data/lib/hubspot/codegen/crm/timeline/models/error_category.rb +0 -276
  1469. data/lib/hubspot/codegen/files/files/api/files_api.rb +0 -815
  1470. data/lib/hubspot/codegen/files/files/api/folders_api.rb +0 -605
  1471. data/lib/hubspot/codegen/files/files/api_client.rb +0 -410
  1472. data/lib/hubspot/codegen/files/files/api_error.rb +0 -61
  1473. data/lib/hubspot/codegen/files/files/configuration.rb +0 -287
  1474. data/lib/hubspot/codegen/files/files/models/error.rb +0 -305
  1475. data/lib/hubspot/codegen/files/files/models/error_category.rb +0 -276
  1476. data/lib/hubspot/codegen/files/files/models/error_detail.rb +0 -271
  1477. data/lib/hubspot/codegen/files/files/models/hubspot_file.rb +0 -454
  1478. data/lib/hubspot/codegen/files/files/models/import_from_url_input.rb +0 -387
  1479. data/lib/hubspot/codegen/marketing/events/api/search_api.rb +0 -90
  1480. data/lib/hubspot/codegen/marketing/events/models/error_category.rb +0 -276
  1481. data/lib/hubspot/discovery/cms/source_code/api/source_code_extract_api.rb +0 -13
  1482. data/lib/hubspot/discovery/crm/extensions/accounting/api/invoice_api.rb +0 -15
  1483. data/lib/hubspot/discovery/crm/extensions/accounting/api/settings_api.rb +0 -15
  1484. data/lib/hubspot/discovery/crm/extensions/accounting/api/sync_api.rb +0 -15
  1485. data/lib/hubspot/discovery/crm/extensions/accounting/api/user_accounts_api.rb +0 -15
  1486. data/lib/hubspot/discovery/crm/line_items/api/public_object_api.rb +0 -13
  1487. data/lib/hubspot/discovery/crm/objects/api/associations_api.rb +0 -13
  1488. data/lib/hubspot/discovery/crm/objects/api/public_object_api.rb +0 -13
  1489. data/lib/hubspot/discovery/crm/objects/communications/api/public_object_api.rb +0 -15
  1490. data/lib/hubspot/discovery/crm/objects/emails/api/public_object_api.rb +0 -15
  1491. data/lib/hubspot/discovery/crm/objects/meetings/api/public_object_api.rb +0 -15
  1492. data/lib/hubspot/discovery/crm/objects/notes/api/public_object_api.rb +0 -15
  1493. data/lib/hubspot/discovery/crm/objects/postal_mail/api/public_object_api.rb +0 -15
  1494. data/lib/hubspot/discovery/crm/objects/tasks/api/public_object_api.rb +0 -15
  1495. data/lib/hubspot/discovery/crm/objects/taxes/api/public_object_api.rb +0 -15
  1496. data/lib/hubspot/discovery/crm/products/api/associations_api.rb +0 -13
  1497. data/lib/hubspot/discovery/crm/products/api/public_object_api.rb +0 -13
  1498. data/lib/hubspot/discovery/crm/quotes/api/associations_api.rb +0 -13
  1499. data/lib/hubspot/discovery/crm/quotes/api/public_object_api.rb +0 -13
  1500. data/lib/hubspot/discovery/crm/schemas/api/public_object_schemas_api.rb +0 -13
  1501. data/lib/hubspot/discovery/crm/tickets/api/public_object_api.rb +0 -13
  1502. data/lib/hubspot/discovery/files/files/api/files_api.rb +0 -13
  1503. data/lib/hubspot/discovery/files/files/client.rb +0 -20
  1504. data/spec/discovery/cms/source-code/source_code_extract_api_spec.rb +0 -8
  1505. data/spec/discovery/crm/companies/public_object_api_spec.rb +0 -7
  1506. data/spec/discovery/crm/contacts/public_object_api_spec.rb +0 -7
  1507. data/spec/discovery/crm/extensions/accounting/callbacks_api_spec.rb +0 -16
  1508. data/spec/discovery/crm/extensions/accounting/invoice_api_spec.rb +0 -9
  1509. data/spec/discovery/crm/extensions/accounting/settings_api_spec.rb +0 -8
  1510. data/spec/discovery/crm/extensions/accounting/sync_api_spec.rb +0 -8
  1511. data/spec/discovery/crm/extensions/accounting/user_accounts_api_spec.rb +0 -8
  1512. data/spec/discovery/crm/line_items/public_object_api_spec.rb +0 -7
  1513. data/spec/discovery/crm/objects/associations_api_spec.rb +0 -9
  1514. data/spec/discovery/crm/objects/calls/public_object_api_spec.rb +0 -7
  1515. data/spec/discovery/crm/objects/communications/public_object_api_spec.rb +0 -7
  1516. data/spec/discovery/crm/objects/emails/public_object_api_spec.rb +0 -7
  1517. data/spec/discovery/crm/objects/gdpr_api_spec.rb +0 -7
  1518. data/spec/discovery/crm/objects/goals/gdpr_api_spec.rb +0 -7
  1519. data/spec/discovery/crm/objects/goals/public_object_api_spec.rb +0 -7
  1520. data/spec/discovery/crm/objects/meetings/public_object_api_spec.rb +0 -7
  1521. data/spec/discovery/crm/objects/postal_mail/public_object_api_spec.rb +0 -7
  1522. data/spec/discovery/crm/objects/public_object_api_spec.rb +0 -7
  1523. data/spec/discovery/crm/objects/tasks/public_object_api_spec.rb +0 -7
  1524. data/spec/discovery/crm/objects/taxes/public_object_api_spec.rb +0 -7
  1525. data/spec/discovery/crm/products/public_object_api_spec.rb +0 -7
  1526. data/spec/discovery/crm/schemas/public_object_schemas_api_spec.rb +0 -7
  1527. data/spec/discovery/marketing/events/marketing_events_external_api_spec.rb +0 -18
  1528. data/spec/discovery/marketing/events/search_api_spec.rb +0 -7
  1529. data/spec/discovery/marketing/events/settings_external_api_spec.rb +0 -8
  1530. data/spec/integration/contacts_spec.rb +0 -85
@@ -1,815 +0,0 @@
1
- =begin
2
- #Files
3
-
4
- #Upload and manage files.
5
-
6
- The version of the OpenAPI document: v3
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.2.1
10
-
11
- =end
12
-
13
- require 'cgi'
14
-
15
- module Hubspot
16
- module Files
17
- module Files
18
- class FilesApi
19
- attr_accessor :api_client
20
-
21
- def initialize(api_client = ApiClient.default)
22
- @api_client = api_client
23
- end
24
- # Delete file
25
- # Delete file by ID
26
- # @param file_id [String] File ID to delete
27
- # @param [Hash] opts the optional parameters
28
- # @return [nil]
29
- def archive(file_id, opts = {})
30
- archive_with_http_info(file_id, opts)
31
- nil
32
- end
33
-
34
- # Delete file
35
- # Delete file by ID
36
- # @param file_id [String] File ID to delete
37
- # @param [Hash] opts the optional parameters
38
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
39
- def archive_with_http_info(file_id, opts = {})
40
- if @api_client.config.debugging
41
- @api_client.config.logger.debug 'Calling API: FilesApi.archive ...'
42
- end
43
- # verify the required parameter 'file_id' is set
44
- if @api_client.config.client_side_validation && file_id.nil?
45
- fail ArgumentError, "Missing the required parameter 'file_id' when calling FilesApi.archive"
46
- end
47
- pattern = Regexp.new(/\d+/)
48
- if @api_client.config.client_side_validation && file_id !~ pattern
49
- fail ArgumentError, "invalid value for 'file_id' when calling FilesApi.archive, must conform to the pattern #{pattern}."
50
- end
51
-
52
- # resource path
53
- local_var_path = '/files/v3/files/{fileId}'.sub('{' + 'fileId' + '}', CGI.escape(file_id.to_s))
54
-
55
- # query parameters
56
- query_params = opts[:query_params] || {}
57
-
58
- # header parameters
59
- header_params = opts[:header_params] || {}
60
- # HTTP header 'Accept' (if needed)
61
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
62
-
63
- # form parameters
64
- form_params = opts[:form_params] || {}
65
-
66
- # http body (model)
67
- post_body = opts[:debug_body]
68
-
69
- # return_type
70
- return_type = opts[:debug_return_type]
71
-
72
- # auth_names
73
- auth_names = opts[:debug_auth_names] || ['oauth2']
74
-
75
- new_options = opts.merge(
76
- :operation => :"FilesApi.archive",
77
- :header_params => header_params,
78
- :query_params => query_params,
79
- :form_params => form_params,
80
- :body => post_body,
81
- :auth_names => auth_names,
82
- :return_type => return_type
83
- )
84
-
85
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
86
- if @api_client.config.debugging
87
- @api_client.config.logger.debug "API called: FilesApi#archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
- end
89
- return data, status_code, headers
90
- end
91
-
92
- # GDPR delete
93
- # GDRP delete file
94
- # @param file_id [String] ID of file to GDPR delete
95
- # @param [Hash] opts the optional parameters
96
- # @return [nil]
97
- def archive_gdpr(file_id, opts = {})
98
- archive_gdpr_with_http_info(file_id, opts)
99
- nil
100
- end
101
-
102
- # GDPR delete
103
- # GDRP delete file
104
- # @param file_id [String] ID of file to GDPR delete
105
- # @param [Hash] opts the optional parameters
106
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
107
- def archive_gdpr_with_http_info(file_id, opts = {})
108
- if @api_client.config.debugging
109
- @api_client.config.logger.debug 'Calling API: FilesApi.archive_gdpr ...'
110
- end
111
- # verify the required parameter 'file_id' is set
112
- if @api_client.config.client_side_validation && file_id.nil?
113
- fail ArgumentError, "Missing the required parameter 'file_id' when calling FilesApi.archive_gdpr"
114
- end
115
- pattern = Regexp.new(/\d+/)
116
- if @api_client.config.client_side_validation && file_id !~ pattern
117
- fail ArgumentError, "invalid value for 'file_id' when calling FilesApi.archive_gdpr, must conform to the pattern #{pattern}."
118
- end
119
-
120
- # resource path
121
- local_var_path = '/files/v3/files/{fileId}/gdpr-delete'.sub('{' + 'fileId' + '}', CGI.escape(file_id.to_s))
122
-
123
- # query parameters
124
- query_params = opts[:query_params] || {}
125
-
126
- # header parameters
127
- header_params = opts[:header_params] || {}
128
- # HTTP header 'Accept' (if needed)
129
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
130
-
131
- # form parameters
132
- form_params = opts[:form_params] || {}
133
-
134
- # http body (model)
135
- post_body = opts[:debug_body]
136
-
137
- # return_type
138
- return_type = opts[:debug_return_type]
139
-
140
- # auth_names
141
- auth_names = opts[:debug_auth_names] || ['oauth2']
142
-
143
- new_options = opts.merge(
144
- :operation => :"FilesApi.archive_gdpr",
145
- :header_params => header_params,
146
- :query_params => query_params,
147
- :form_params => form_params,
148
- :body => post_body,
149
- :auth_names => auth_names,
150
- :return_type => return_type
151
- )
152
-
153
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
154
- if @api_client.config.debugging
155
- @api_client.config.logger.debug "API called: FilesApi#archive_gdpr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
156
- end
157
- return data, status_code, headers
158
- end
159
-
160
- # Check import status.
161
- # Check the status of requested import.
162
- # @param task_id [String] Import by URL task ID
163
- # @param [Hash] opts the optional parameters
164
- # @return [FileActionResponse]
165
- def check_import(task_id, opts = {})
166
- data, _status_code, _headers = check_import_with_http_info(task_id, opts)
167
- data
168
- end
169
-
170
- # Check import status.
171
- # Check the status of requested import.
172
- # @param task_id [String] Import by URL task ID
173
- # @param [Hash] opts the optional parameters
174
- # @return [Array<(FileActionResponse, Integer, Hash)>] FileActionResponse data, response status code and response headers
175
- def check_import_with_http_info(task_id, opts = {})
176
- if @api_client.config.debugging
177
- @api_client.config.logger.debug 'Calling API: FilesApi.check_import ...'
178
- end
179
- # verify the required parameter 'task_id' is set
180
- if @api_client.config.client_side_validation && task_id.nil?
181
- fail ArgumentError, "Missing the required parameter 'task_id' when calling FilesApi.check_import"
182
- end
183
- # resource path
184
- local_var_path = '/files/v3/files/import-from-url/async/tasks/{taskId}/status'.sub('{' + 'taskId' + '}', CGI.escape(task_id.to_s))
185
-
186
- # query parameters
187
- query_params = opts[:query_params] || {}
188
-
189
- # header parameters
190
- header_params = opts[:header_params] || {}
191
- # HTTP header 'Accept' (if needed)
192
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
193
-
194
- # form parameters
195
- form_params = opts[:form_params] || {}
196
-
197
- # http body (model)
198
- post_body = opts[:debug_body]
199
-
200
- # return_type
201
- return_type = opts[:debug_return_type] || 'FileActionResponse'
202
-
203
- # auth_names
204
- auth_names = opts[:debug_auth_names] || ['oauth2']
205
-
206
- new_options = opts.merge(
207
- :operation => :"FilesApi.check_import",
208
- :header_params => header_params,
209
- :query_params => query_params,
210
- :form_params => form_params,
211
- :body => post_body,
212
- :auth_names => auth_names,
213
- :return_type => return_type
214
- )
215
-
216
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
217
- if @api_client.config.debugging
218
- @api_client.config.logger.debug "API called: FilesApi#check_import\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
219
- end
220
- return data, status_code, headers
221
- end
222
-
223
- # Search files
224
- # Search through files in the file manager. Does not display hidden or archived files.
225
- # @param [Hash] opts the optional parameters
226
- # @option opts [Array<String>] :properties Desired file properties in the return object.
227
- # @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.
228
- # @option opts [String] :before
229
- # @option opts [Integer] :limit Number of items to return. Maximum limit is 100.
230
- # @option opts [Array<String>] :sort Sort files by a given field.
231
- # @option opts [String] :id Search files by given ID.
232
- # @option opts [Time] :created_at Search files by time of creation.
233
- # @option opts [Time] :created_at_lte
234
- # @option opts [Time] :created_at_gte
235
- # @option opts [Time] :updated_at Search files by time of latest updated.
236
- # @option opts [Time] :updated_at_lte
237
- # @option opts [Time] :updated_at_gte
238
- # @option opts [String] :name Search for files containing the given name.
239
- # @option opts [String] :path Search files by path.
240
- # @option opts [Integer] :parent_folder_id Search files within given folder ID.
241
- # @option opts [Integer] :size Query by file size.
242
- # @option opts [Integer] :height Search files by height of image or video.
243
- # @option opts [Integer] :width Search files by width of image or video.
244
- # @option opts [String] :encoding Search files with specified encoding.
245
- # @option opts [String] :type Filter by provided file type.
246
- # @option opts [String] :extension Search files by given extension.
247
- # @option opts [String] :url Search for given URL
248
- # @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.
249
- # @option opts [Boolean] :allows_anonymous_access If &#39;true&#39; will show private files; if &#39;false&#39; will show public files
250
- # @return [CollectionResponseFile]
251
- def do_search(opts = {})
252
- data, _status_code, _headers = do_search_with_http_info(opts)
253
- data
254
- end
255
-
256
- # Search files
257
- # Search through files in the file manager. Does not display hidden or archived files.
258
- # @param [Hash] opts the optional parameters
259
- # @option opts [Array<String>] :properties Desired file properties in the return object.
260
- # @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.
261
- # @option opts [String] :before
262
- # @option opts [Integer] :limit Number of items to return. Maximum limit is 100.
263
- # @option opts [Array<String>] :sort Sort files by a given field.
264
- # @option opts [String] :id Search files by given ID.
265
- # @option opts [Time] :created_at Search files by time of creation.
266
- # @option opts [Time] :created_at_lte
267
- # @option opts [Time] :created_at_gte
268
- # @option opts [Time] :updated_at Search files by time of latest updated.
269
- # @option opts [Time] :updated_at_lte
270
- # @option opts [Time] :updated_at_gte
271
- # @option opts [String] :name Search for files containing the given name.
272
- # @option opts [String] :path Search files by path.
273
- # @option opts [Integer] :parent_folder_id Search files within given folder ID.
274
- # @option opts [Integer] :size Query by file size.
275
- # @option opts [Integer] :height Search files by height of image or video.
276
- # @option opts [Integer] :width Search files by width of image or video.
277
- # @option opts [String] :encoding Search files with specified encoding.
278
- # @option opts [String] :type Filter by provided file type.
279
- # @option opts [String] :extension Search files by given extension.
280
- # @option opts [String] :url Search for given URL
281
- # @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.
282
- # @option opts [Boolean] :allows_anonymous_access If &#39;true&#39; will show private files; if &#39;false&#39; will show public files
283
- # @return [Array<(CollectionResponseFile, Integer, Hash)>] CollectionResponseFile data, response status code and response headers
284
- def do_search_with_http_info(opts = {})
285
- if @api_client.config.debugging
286
- @api_client.config.logger.debug 'Calling API: FilesApi.do_search ...'
287
- end
288
- # resource path
289
- local_var_path = '/files/v3/files/search'
290
-
291
- # query parameters
292
- query_params = opts[:query_params] || {}
293
- query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
294
- query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
295
- query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
296
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
297
- query_params[:'sort'] = @api_client.build_collection_param(opts[:'sort'], :multi) if !opts[:'sort'].nil?
298
- query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
299
- query_params[:'createdAt'] = opts[:'created_at'] if !opts[:'created_at'].nil?
300
- query_params[:'createdAtLte'] = opts[:'created_at_lte'] if !opts[:'created_at_lte'].nil?
301
- query_params[:'createdAtGte'] = opts[:'created_at_gte'] if !opts[:'created_at_gte'].nil?
302
- query_params[:'updatedAt'] = opts[:'updated_at'] if !opts[:'updated_at'].nil?
303
- query_params[:'updatedAtLte'] = opts[:'updated_at_lte'] if !opts[:'updated_at_lte'].nil?
304
- query_params[:'updatedAtGte'] = opts[:'updated_at_gte'] if !opts[:'updated_at_gte'].nil?
305
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
306
- query_params[:'path'] = opts[:'path'] if !opts[:'path'].nil?
307
- query_params[:'parentFolderId'] = opts[:'parent_folder_id'] if !opts[:'parent_folder_id'].nil?
308
- query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
309
- query_params[:'height'] = opts[:'height'] if !opts[:'height'].nil?
310
- query_params[:'width'] = opts[:'width'] if !opts[:'width'].nil?
311
- query_params[:'encoding'] = opts[:'encoding'] if !opts[:'encoding'].nil?
312
- query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
313
- query_params[:'extension'] = opts[:'extension'] if !opts[:'extension'].nil?
314
- query_params[:'url'] = opts[:'url'] if !opts[:'url'].nil?
315
- query_params[:'isUsableInContent'] = opts[:'is_usable_in_content'] if !opts[:'is_usable_in_content'].nil?
316
- query_params[:'allowsAnonymousAccess'] = opts[:'allows_anonymous_access'] if !opts[:'allows_anonymous_access'].nil?
317
-
318
- # header parameters
319
- header_params = opts[:header_params] || {}
320
- # HTTP header 'Accept' (if needed)
321
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
322
-
323
- # form parameters
324
- form_params = opts[:form_params] || {}
325
-
326
- # http body (model)
327
- post_body = opts[:debug_body]
328
-
329
- # return_type
330
- return_type = opts[:debug_return_type] || 'CollectionResponseFile'
331
-
332
- # auth_names
333
- auth_names = opts[:debug_auth_names] || ['oauth2']
334
-
335
- new_options = opts.merge(
336
- :operation => :"FilesApi.do_search",
337
- :header_params => header_params,
338
- :query_params => query_params,
339
- :form_params => form_params,
340
- :body => post_body,
341
- :auth_names => auth_names,
342
- :return_type => return_type
343
- )
344
-
345
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
346
- if @api_client.config.debugging
347
- @api_client.config.logger.debug "API called: FilesApi#do_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
348
- end
349
- return data, status_code, headers
350
- end
351
-
352
- # Get file.
353
- # Get file by ID.
354
- # @param file_id [String] Id of the desired file.
355
- # @param [Hash] opts the optional parameters
356
- # @option opts [Array<String>] :properties
357
- # @return [File]
358
- def get_by_id(file_id, opts = {})
359
- data, _status_code, _headers = get_by_id_with_http_info(file_id, opts)
360
- data
361
- end
362
-
363
- # Get file.
364
- # Get file by ID.
365
- # @param file_id [String] Id of the desired file.
366
- # @param [Hash] opts the optional parameters
367
- # @option opts [Array<String>] :properties
368
- # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
369
- def get_by_id_with_http_info(file_id, opts = {})
370
- if @api_client.config.debugging
371
- @api_client.config.logger.debug 'Calling API: FilesApi.get_by_id ...'
372
- end
373
- # verify the required parameter 'file_id' is set
374
- if @api_client.config.client_side_validation && file_id.nil?
375
- fail ArgumentError, "Missing the required parameter 'file_id' when calling FilesApi.get_by_id"
376
- end
377
- pattern = Regexp.new(/\d+/)
378
- if @api_client.config.client_side_validation && file_id !~ pattern
379
- fail ArgumentError, "invalid value for 'file_id' when calling FilesApi.get_by_id, must conform to the pattern #{pattern}."
380
- end
381
-
382
- # resource path
383
- local_var_path = '/files/v3/files/{fileId}'.sub('{' + 'fileId' + '}', CGI.escape(file_id.to_s))
384
-
385
- # query parameters
386
- query_params = opts[:query_params] || {}
387
- query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
388
-
389
- # header parameters
390
- header_params = opts[:header_params] || {}
391
- # HTTP header 'Accept' (if needed)
392
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
393
-
394
- # form parameters
395
- form_params = opts[:form_params] || {}
396
-
397
- # http body (model)
398
- post_body = opts[:debug_body]
399
-
400
- # return_type
401
- return_type = opts[:debug_return_type] || 'HubspotFile'
402
-
403
- # auth_names
404
- auth_names = opts[:debug_auth_names] || ['oauth2']
405
-
406
- new_options = opts.merge(
407
- :operation => :"FilesApi.get_by_id",
408
- :header_params => header_params,
409
- :query_params => query_params,
410
- :form_params => form_params,
411
- :body => post_body,
412
- :auth_names => auth_names,
413
- :return_type => return_type
414
- )
415
-
416
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
417
- if @api_client.config.debugging
418
- @api_client.config.logger.debug "API called: FilesApi#get_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
419
- end
420
- return data, status_code, headers
421
- end
422
-
423
- # Get signed URL to access private file.
424
- # Generates signed URL that allows temporary access to a private file.
425
- # @param file_id [String] ID of file.
426
- # @param [Hash] opts the optional parameters
427
- # @option opts [String] :size For image files. This will resize the image to the desired size before sharing. Does not affect the original file, just the file served by this signed URL.
428
- # @option opts [Integer] :expiration_seconds How long in seconds the link will provide access to the file.
429
- # @option opts [Boolean] :upscale If size is provided, this will upscale the image to fit the size dimensions.
430
- # @return [SignedUrl]
431
- def get_signed_url(file_id, opts = {})
432
- data, _status_code, _headers = get_signed_url_with_http_info(file_id, opts)
433
- data
434
- end
435
-
436
- # Get signed URL to access private file.
437
- # Generates signed URL that allows temporary access to a private file.
438
- # @param file_id [String] ID of file.
439
- # @param [Hash] opts the optional parameters
440
- # @option opts [String] :size For image files. This will resize the image to the desired size before sharing. Does not affect the original file, just the file served by this signed URL.
441
- # @option opts [Integer] :expiration_seconds How long in seconds the link will provide access to the file.
442
- # @option opts [Boolean] :upscale If size is provided, this will upscale the image to fit the size dimensions.
443
- # @return [Array<(SignedUrl, Integer, Hash)>] SignedUrl data, response status code and response headers
444
- def get_signed_url_with_http_info(file_id, opts = {})
445
- if @api_client.config.debugging
446
- @api_client.config.logger.debug 'Calling API: FilesApi.get_signed_url ...'
447
- end
448
- # verify the required parameter 'file_id' is set
449
- if @api_client.config.client_side_validation && file_id.nil?
450
- fail ArgumentError, "Missing the required parameter 'file_id' when calling FilesApi.get_signed_url"
451
- end
452
- pattern = Regexp.new(/\d+/)
453
- if @api_client.config.client_side_validation && file_id !~ pattern
454
- fail ArgumentError, "invalid value for 'file_id' when calling FilesApi.get_signed_url, must conform to the pattern #{pattern}."
455
- end
456
-
457
- allowable_values = ["thumb", "icon", "medium", "preview"]
458
- if @api_client.config.client_side_validation && opts[:'size'] && !allowable_values.include?(opts[:'size'])
459
- fail ArgumentError, "invalid value for \"size\", must be one of #{allowable_values}"
460
- end
461
- # resource path
462
- local_var_path = '/files/v3/files/{fileId}/signed-url'.sub('{' + 'fileId' + '}', CGI.escape(file_id.to_s))
463
-
464
- # query parameters
465
- query_params = opts[:query_params] || {}
466
- query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
467
- query_params[:'expirationSeconds'] = opts[:'expiration_seconds'] if !opts[:'expiration_seconds'].nil?
468
- query_params[:'upscale'] = opts[:'upscale'] if !opts[:'upscale'].nil?
469
-
470
- # header parameters
471
- header_params = opts[:header_params] || {}
472
- # HTTP header 'Accept' (if needed)
473
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
474
-
475
- # form parameters
476
- form_params = opts[:form_params] || {}
477
-
478
- # http body (model)
479
- post_body = opts[:debug_body]
480
-
481
- # return_type
482
- return_type = opts[:debug_return_type] || 'SignedUrl'
483
-
484
- # auth_names
485
- auth_names = opts[:debug_auth_names] || ['oauth2']
486
-
487
- new_options = opts.merge(
488
- :operation => :"FilesApi.get_signed_url",
489
- :header_params => header_params,
490
- :query_params => query_params,
491
- :form_params => form_params,
492
- :body => post_body,
493
- :auth_names => auth_names,
494
- :return_type => return_type
495
- )
496
-
497
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
498
- if @api_client.config.debugging
499
- @api_client.config.logger.debug "API called: FilesApi#get_signed_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
500
- end
501
- return data, status_code, headers
502
- end
503
-
504
- # Import a file from a URL into the file manager.
505
- # Asynchronously imports the file at the given URL into the file manager.
506
- # @param import_from_url_input [ImportFromUrlInput]
507
- # @param [Hash] opts the optional parameters
508
- # @return [ImportFromUrlTaskLocator]
509
- def import_from_url(import_from_url_input, opts = {})
510
- data, _status_code, _headers = import_from_url_with_http_info(import_from_url_input, opts)
511
- data
512
- end
513
-
514
- # Import a file from a URL into the file manager.
515
- # Asynchronously imports the file at the given URL into the file manager.
516
- # @param import_from_url_input [ImportFromUrlInput]
517
- # @param [Hash] opts the optional parameters
518
- # @return [Array<(ImportFromUrlTaskLocator, Integer, Hash)>] ImportFromUrlTaskLocator data, response status code and response headers
519
- def import_from_url_with_http_info(import_from_url_input, opts = {})
520
- if @api_client.config.debugging
521
- @api_client.config.logger.debug 'Calling API: FilesApi.import_from_url ...'
522
- end
523
- # verify the required parameter 'import_from_url_input' is set
524
- if @api_client.config.client_side_validation && import_from_url_input.nil?
525
- fail ArgumentError, "Missing the required parameter 'import_from_url_input' when calling FilesApi.import_from_url"
526
- end
527
- # resource path
528
- local_var_path = '/files/v3/files/import-from-url/async'
529
-
530
- # query parameters
531
- query_params = opts[:query_params] || {}
532
-
533
- # header parameters
534
- header_params = opts[:header_params] || {}
535
- # HTTP header 'Accept' (if needed)
536
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
537
- # HTTP header 'Content-Type'
538
- content_type = @api_client.select_header_content_type(['application/json'])
539
- if !content_type.nil?
540
- header_params['Content-Type'] = content_type
541
- end
542
-
543
- # form parameters
544
- form_params = opts[:form_params] || {}
545
-
546
- # http body (model)
547
- post_body = opts[:debug_body] || @api_client.object_to_http_body(import_from_url_input)
548
-
549
- # return_type
550
- return_type = opts[:debug_return_type] || 'ImportFromUrlTaskLocator'
551
-
552
- # auth_names
553
- auth_names = opts[:debug_auth_names] || ['oauth2']
554
-
555
- new_options = opts.merge(
556
- :operation => :"FilesApi.import_from_url",
557
- :header_params => header_params,
558
- :query_params => query_params,
559
- :form_params => form_params,
560
- :body => post_body,
561
- :auth_names => auth_names,
562
- :return_type => return_type
563
- )
564
-
565
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
566
- if @api_client.config.debugging
567
- @api_client.config.logger.debug "API called: FilesApi#import_from_url\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
568
- end
569
- return data, status_code, headers
570
- end
571
-
572
- # Replace file.
573
- # 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.
574
- # @param file_id [String] Id of the desired file.
575
- # @param [Hash] opts the optional parameters
576
- # @option opts [File] :file File data that will replace existing file in the file manager.
577
- # @option opts [String] :charset_hunch Character set of given file data.
578
- # @option opts [String] :options JSON String representing FileReplaceOptions
579
- # @return [File]
580
- def replace(file_id, opts = {})
581
- data, _status_code, _headers = replace_with_http_info(file_id, opts)
582
- data
583
- end
584
-
585
- # Replace file.
586
- # 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.
587
- # @param file_id [String] Id of the desired file.
588
- # @param [Hash] opts the optional parameters
589
- # @option opts [File] :file File data that will replace existing file in the file manager.
590
- # @option opts [String] :charset_hunch Character set of given file data.
591
- # @option opts [String] :options JSON String representing FileReplaceOptions
592
- # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
593
- def replace_with_http_info(file_id, opts = {})
594
- if @api_client.config.debugging
595
- @api_client.config.logger.debug 'Calling API: FilesApi.replace ...'
596
- end
597
- # verify the required parameter 'file_id' is set
598
- if @api_client.config.client_side_validation && file_id.nil?
599
- fail ArgumentError, "Missing the required parameter 'file_id' when calling FilesApi.replace"
600
- end
601
- pattern = Regexp.new(/\d+/)
602
- if @api_client.config.client_side_validation && file_id !~ pattern
603
- fail ArgumentError, "invalid value for 'file_id' when calling FilesApi.replace, must conform to the pattern #{pattern}."
604
- end
605
-
606
- # resource path
607
- local_var_path = '/files/v3/files/{fileId}'.sub('{' + 'fileId' + '}', CGI.escape(file_id.to_s))
608
-
609
- # query parameters
610
- query_params = opts[:query_params] || {}
611
-
612
- # header parameters
613
- header_params = opts[:header_params] || {}
614
- # HTTP header 'Accept' (if needed)
615
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
616
- # HTTP header 'Content-Type'
617
- content_type = @api_client.select_header_content_type(['multipart/form-data'])
618
- if !content_type.nil?
619
- header_params['Content-Type'] = content_type
620
- end
621
-
622
- # form parameters
623
- form_params = opts[:form_params] || {}
624
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
625
- form_params['charsetHunch'] = opts[:'charset_hunch'] if !opts[:'charset_hunch'].nil?
626
- form_params['options'] = opts[:'options'] if !opts[:'options'].nil?
627
-
628
- # http body (model)
629
- post_body = opts[:debug_body]
630
-
631
- # return_type
632
- return_type = opts[:debug_return_type] || 'HubspotFile'
633
-
634
- # auth_names
635
- auth_names = opts[:debug_auth_names] || ['oauth2']
636
-
637
- new_options = opts.merge(
638
- :operation => :"FilesApi.replace",
639
- :header_params => header_params,
640
- :query_params => query_params,
641
- :form_params => form_params,
642
- :body => post_body,
643
- :auth_names => auth_names,
644
- :return_type => return_type
645
- )
646
-
647
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
648
- if @api_client.config.debugging
649
- @api_client.config.logger.debug "API called: FilesApi#replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
650
- end
651
- return data, status_code, headers
652
- end
653
-
654
- # update file properties
655
- # Update properties of file by ID.
656
- # @param file_id [String] ID of file to update
657
- # @param file_update_input [FileUpdateInput] Options to update.
658
- # @param [Hash] opts the optional parameters
659
- # @return [File]
660
- def update_properties(file_id, file_update_input, opts = {})
661
- data, _status_code, _headers = update_properties_with_http_info(file_id, file_update_input, opts)
662
- data
663
- end
664
-
665
- # update file properties
666
- # Update properties of file by ID.
667
- # @param file_id [String] ID of file to update
668
- # @param file_update_input [FileUpdateInput] Options to update.
669
- # @param [Hash] opts the optional parameters
670
- # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
671
- def update_properties_with_http_info(file_id, file_update_input, opts = {})
672
- if @api_client.config.debugging
673
- @api_client.config.logger.debug 'Calling API: FilesApi.update_properties ...'
674
- end
675
- # verify the required parameter 'file_id' is set
676
- if @api_client.config.client_side_validation && file_id.nil?
677
- fail ArgumentError, "Missing the required parameter 'file_id' when calling FilesApi.update_properties"
678
- end
679
- pattern = Regexp.new(/\d+/)
680
- if @api_client.config.client_side_validation && file_id !~ pattern
681
- fail ArgumentError, "invalid value for 'file_id' when calling FilesApi.update_properties, must conform to the pattern #{pattern}."
682
- end
683
-
684
- # verify the required parameter 'file_update_input' is set
685
- if @api_client.config.client_side_validation && file_update_input.nil?
686
- fail ArgumentError, "Missing the required parameter 'file_update_input' when calling FilesApi.update_properties"
687
- end
688
- # resource path
689
- local_var_path = '/files/v3/files/{fileId}'.sub('{' + 'fileId' + '}', CGI.escape(file_id.to_s))
690
-
691
- # query parameters
692
- query_params = opts[:query_params] || {}
693
-
694
- # header parameters
695
- header_params = opts[:header_params] || {}
696
- # HTTP header 'Accept' (if needed)
697
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
698
- # HTTP header 'Content-Type'
699
- content_type = @api_client.select_header_content_type(['application/json'])
700
- if !content_type.nil?
701
- header_params['Content-Type'] = content_type
702
- end
703
-
704
- # form parameters
705
- form_params = opts[:form_params] || {}
706
-
707
- # http body (model)
708
- post_body = opts[:debug_body] || @api_client.object_to_http_body(file_update_input)
709
-
710
- # return_type
711
- return_type = opts[:debug_return_type] || 'HubspotFile'
712
-
713
- # auth_names
714
- auth_names = opts[:debug_auth_names] || ['oauth2']
715
-
716
- new_options = opts.merge(
717
- :operation => :"FilesApi.update_properties",
718
- :header_params => header_params,
719
- :query_params => query_params,
720
- :form_params => form_params,
721
- :body => post_body,
722
- :auth_names => auth_names,
723
- :return_type => return_type
724
- )
725
-
726
- data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
727
- if @api_client.config.debugging
728
- @api_client.config.logger.debug "API called: FilesApi#update_properties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
729
- end
730
- return data, status_code, headers
731
- end
732
-
733
- # Upload file
734
- # Upload a single file with content specified in request body.
735
- # @param [Hash] opts the optional parameters
736
- # @option opts [File] :file File to be uploaded.
737
- # @option opts [String] :folder_id Either &#39;folderId&#39; or &#39;folderPath&#39; is required. folderId is the ID of the folder the file will be uploaded to.
738
- # @option opts [String] :folder_path Either &#39;folderPath&#39; or &#39;folderId&#39; is required. This field represents the destination folder path for the uploaded file. If a path doesn&#39;t exist, the system will try to create one.
739
- # @option opts [String] :file_name Desired name for the uploaded file.
740
- # @option opts [String] :charset_hunch Character set of the uploaded file.
741
- # @option opts [String] :options JSON string representing FileUploadOptions.
742
- # @return [File]
743
- def upload(opts = {})
744
- data, _status_code, _headers = upload_with_http_info(opts)
745
- data
746
- end
747
-
748
- # Upload file
749
- # Upload a single file with content specified in request body.
750
- # @param [Hash] opts the optional parameters
751
- # @option opts [File] :file File to be uploaded.
752
- # @option opts [String] :folder_id Either &#39;folderId&#39; or &#39;folderPath&#39; is required. folderId is the ID of the folder the file will be uploaded to.
753
- # @option opts [String] :folder_path Either &#39;folderPath&#39; or &#39;folderId&#39; is required. This field represents the destination folder path for the uploaded file. If a path doesn&#39;t exist, the system will try to create one.
754
- # @option opts [String] :file_name Desired name for the uploaded file.
755
- # @option opts [String] :charset_hunch Character set of the uploaded file.
756
- # @option opts [String] :options JSON string representing FileUploadOptions.
757
- # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
758
- def upload_with_http_info(opts = {})
759
- if @api_client.config.debugging
760
- @api_client.config.logger.debug 'Calling API: FilesApi.upload ...'
761
- end
762
- # resource path
763
- local_var_path = '/files/v3/files'
764
-
765
- # query parameters
766
- query_params = opts[:query_params] || {}
767
-
768
- # header parameters
769
- header_params = opts[:header_params] || {}
770
- # HTTP header 'Accept' (if needed)
771
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
772
- # HTTP header 'Content-Type'
773
- content_type = @api_client.select_header_content_type(['multipart/form-data'])
774
- if !content_type.nil?
775
- header_params['Content-Type'] = content_type
776
- end
777
-
778
- # form parameters
779
- form_params = opts[:form_params] || {}
780
- form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
781
- form_params['folderId'] = opts[:'folder_id'] if !opts[:'folder_id'].nil?
782
- form_params['folderPath'] = opts[:'folder_path'] if !opts[:'folder_path'].nil?
783
- form_params['fileName'] = opts[:'file_name'] if !opts[:'file_name'].nil?
784
- form_params['charsetHunch'] = opts[:'charset_hunch'] if !opts[:'charset_hunch'].nil?
785
- form_params['options'] = opts[:'options'] if !opts[:'options'].nil?
786
-
787
- # http body (model)
788
- post_body = opts[:debug_body]
789
-
790
- # return_type
791
- return_type = opts[:debug_return_type] || 'HubspotFile'
792
-
793
- # auth_names
794
- auth_names = opts[:debug_auth_names] || ['oauth2']
795
-
796
- new_options = opts.merge(
797
- :operation => :"FilesApi.upload",
798
- :header_params => header_params,
799
- :query_params => query_params,
800
- :form_params => form_params,
801
- :body => post_body,
802
- :auth_names => auth_names,
803
- :return_type => return_type
804
- )
805
-
806
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
807
- if @api_client.config.debugging
808
- @api_client.config.logger.debug "API called: FilesApi#upload\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
809
- end
810
- return data, status_code, headers
811
- end
812
- end
813
- end
814
- end
815
- end