hubspot-api-client 17.2.0 → 18.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1144) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +195 -1
  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/{files/files/models/next_page.rb → automation/actions/models/output_field_definition.rb} +19 -28
  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 → cms/audit_logs}/models/previous_page.rb +7 -7
  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 +46 -40
  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 +18 -64
  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 +571 -560
  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/cms/blogs/blog_posts/models/collection_response_with_total_blog_post_forward_paging.rb +14 -14
  85. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/collection_response_with_total_version_blog_post.rb +14 -14
  86. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/color_stop.rb +1 -1
  87. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_clone_request_v_next.rb +15 -15
  88. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_language_variation.rb +98 -98
  89. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_schedule_request_v_next.rb +20 -20
  90. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/detach_from_lang_group_request_v_next.rb +1 -1
  91. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/error.rb +51 -51
  92. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/error_detail.rb +29 -29
  93. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/forward_paging.rb +1 -1
  94. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/gradient.rb +16 -16
  95. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/layout_section.rb +48 -48
  96. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/next_page.rb +16 -14
  97. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/paging.rb +1 -1
  98. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/previous_page.rb +3 -1
  99. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/rgba_color.rb +27 -27
  100. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/row_meta_data.rb +19 -19
  101. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/set_new_language_primary_request_v_next.rb +1 -1
  102. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/side_or_corner.rb +18 -64
  103. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/standard_error.rb +53 -53
  104. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/styles.rb +47 -93
  105. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/update_languages_request_v_next.rb +19 -41
  106. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/version_blog_post.rb +21 -21
  107. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/version_user.rb +20 -20
  108. data/lib/hubspot/codegen/cms/blogs/tags/api/blog_tags_api.rb +22 -16
  109. data/lib/hubspot/codegen/cms/blogs/tags/api_client.rb +1 -1
  110. data/lib/hubspot/codegen/cms/blogs/tags/api_error.rb +1 -1
  111. data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +1 -1
  112. data/lib/hubspot/codegen/cms/blogs/tags/models/attach_to_lang_primary_request_v_next.rb +18 -64
  113. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_json_node.rb +1 -1
  114. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_string.rb +1 -1
  115. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_tag.rb +1 -1
  116. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag.rb +45 -45
  117. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag_with_errors.rb +57 -57
  118. data/lib/hubspot/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging.rb +14 -14
  119. data/lib/hubspot/codegen/cms/blogs/tags/models/detach_from_lang_group_request_v_next.rb +1 -1
  120. data/lib/hubspot/codegen/cms/blogs/tags/models/error.rb +51 -51
  121. data/lib/hubspot/codegen/cms/blogs/tags/models/error_detail.rb +29 -29
  122. data/lib/hubspot/codegen/cms/blogs/tags/models/forward_paging.rb +1 -1
  123. data/lib/hubspot/codegen/cms/blogs/tags/models/next_page.rb +16 -14
  124. data/lib/hubspot/codegen/cms/blogs/tags/models/set_new_language_primary_request_v_next.rb +1 -1
  125. data/lib/hubspot/codegen/cms/blogs/tags/models/standard_error.rb +53 -53
  126. data/lib/hubspot/codegen/cms/blogs/tags/models/tag.rb +46 -46
  127. data/lib/hubspot/codegen/cms/blogs/tags/models/tag_clone_request_v_next.rb +27 -27
  128. data/lib/hubspot/codegen/cms/blogs/tags/models/update_languages_request_v_next.rb +19 -41
  129. data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +1 -1
  130. data/lib/hubspot/codegen/cms/domains/api_client.rb +1 -1
  131. data/lib/hubspot/codegen/cms/domains/api_error.rb +1 -1
  132. data/lib/hubspot/codegen/cms/domains/configuration.rb +1 -1
  133. data/lib/hubspot/codegen/cms/domains/models/collection_response_with_total_domain_forward_paging.rb +14 -14
  134. data/lib/hubspot/codegen/cms/domains/models/domain.rb +111 -111
  135. data/lib/hubspot/codegen/cms/domains/models/error.rb +51 -51
  136. data/lib/hubspot/codegen/cms/domains/models/error_detail.rb +29 -29
  137. data/lib/hubspot/codegen/cms/domains/models/forward_paging.rb +1 -1
  138. data/lib/hubspot/codegen/cms/domains/models/next_page.rb +14 -14
  139. data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +1 -1
  140. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +1 -1
  141. data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +1 -1
  142. data/lib/hubspot/codegen/cms/hubdb/api_client.rb +1 -1
  143. data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
  144. data/lib/hubspot/codegen/cms/hubdb/configuration.rb +1 -1
  145. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_batch_update_request.rb +1 -1
  146. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_request.rb +2 -1
  147. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +2 -1
  148. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +31 -31
  149. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +61 -53
  150. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb +16 -14
  151. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +16 -14
  152. data/lib/hubspot/codegen/cms/hubdb/models/column.rb +83 -83
  153. data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +41 -41
  154. data/lib/hubspot/codegen/cms/hubdb/models/error.rb +51 -51
  155. data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +29 -29
  156. data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +19 -16
  157. data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +1 -1
  158. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +1 -1
  159. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +48 -48
  160. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_batch_update_request.rb +21 -21
  161. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +12 -12
  162. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +106 -106
  163. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_request.rb +48 -48
  164. data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +32 -32
  165. data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +16 -14
  166. data/lib/hubspot/codegen/cms/hubdb/models/option.rb +20 -16
  167. data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +37 -33
  168. data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +55 -47
  169. data/lib/hubspot/codegen/cms/performance/api/public_performance_api.rb +1 -1
  170. data/lib/hubspot/codegen/cms/performance/api_client.rb +1 -1
  171. data/lib/hubspot/codegen/cms/performance/api_error.rb +1 -1
  172. data/lib/hubspot/codegen/cms/performance/configuration.rb +1 -1
  173. data/lib/hubspot/codegen/cms/performance/models/error.rb +51 -51
  174. data/lib/hubspot/codegen/cms/performance/models/error_detail.rb +29 -29
  175. data/lib/hubspot/codegen/cms/performance/models/performance_view.rb +105 -120
  176. data/lib/hubspot/codegen/cms/performance/models/public_performance_response.rb +54 -54
  177. data/lib/hubspot/codegen/cms/site_search/api/public_api.rb +3 -3
  178. data/lib/hubspot/codegen/cms/site_search/configuration.rb +0 -7
  179. data/lib/hubspot/codegen/cms/site_search/models/content_search_result.rb +113 -113
  180. data/lib/hubspot/codegen/cms/site_search/models/error.rb +50 -50
  181. data/lib/hubspot/codegen/cms/site_search/models/error_detail.rb +28 -28
  182. data/lib/hubspot/codegen/cms/site_search/models/indexed_field.rb +17 -17
  183. data/lib/hubspot/codegen/cms/site_search/models/public_search_results.rb +27 -27
  184. data/lib/hubspot/codegen/cms/source_code/api/content_api.rb +48 -48
  185. data/lib/hubspot/codegen/cms/source_code/api/extract_api.rb +1 -1
  186. data/lib/hubspot/codegen/cms/source_code/api/metadata_api.rb +4 -1
  187. data/lib/hubspot/codegen/cms/source_code/api/source_code_extract_api.rb +9 -4
  188. data/lib/hubspot/codegen/cms/source_code/api/validation_api.rb +1 -1
  189. data/lib/hubspot/codegen/cms/source_code/configuration.rb +0 -7
  190. data/lib/hubspot/codegen/cms/source_code/models/action_response.rb +25 -25
  191. data/lib/hubspot/codegen/cms/source_code/models/asset_file_metadata.rb +56 -47
  192. data/lib/hubspot/codegen/cms/source_code/models/error.rb +50 -50
  193. data/lib/hubspot/codegen/cms/source_code/models/error_detail.rb +28 -28
  194. data/lib/hubspot/codegen/cms/source_code/models/task_locator.rb +13 -13
  195. data/lib/hubspot/codegen/cms/url_redirects/api/redirects_api.rb +6 -6
  196. data/lib/hubspot/codegen/cms/url_redirects/api_client.rb +1 -1
  197. data/lib/hubspot/codegen/cms/url_redirects/api_error.rb +1 -1
  198. data/lib/hubspot/codegen/cms/url_redirects/configuration.rb +1 -8
  199. data/lib/hubspot/codegen/cms/url_redirects/models/collection_response_with_total_url_mapping_forward_paging.rb +14 -14
  200. data/lib/hubspot/codegen/cms/url_redirects/models/error.rb +51 -51
  201. data/lib/hubspot/codegen/cms/url_redirects/models/error_detail.rb +29 -29
  202. data/lib/hubspot/codegen/cms/url_redirects/models/forward_paging.rb +1 -1
  203. data/lib/hubspot/codegen/cms/url_redirects/models/next_page.rb +14 -14
  204. data/lib/hubspot/codegen/cms/url_redirects/models/url_mapping.rb +91 -91
  205. data/lib/hubspot/codegen/cms/url_redirects/models/url_mapping_create_request_body.rb +58 -58
  206. data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +1 -1
  207. data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +3 -3
  208. data/lib/hubspot/codegen/communication_preferences/configuration.rb +0 -7
  209. data/lib/hubspot/codegen/communication_preferences/models/error.rb +50 -50
  210. data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +28 -28
  211. data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +62 -62
  212. data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +12 -12
  213. data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +71 -71
  214. data/lib/hubspot/codegen/conversations/visitor_identification/api/generate_api.rb +1 -1
  215. data/lib/hubspot/codegen/conversations/visitor_identification/configuration.rb +0 -7
  216. data/lib/hubspot/codegen/conversations/visitor_identification/models/error.rb +50 -50
  217. data/lib/hubspot/codegen/conversations/visitor_identification/models/error_detail.rb +28 -28
  218. data/lib/hubspot/codegen/conversations/visitor_identification/models/identification_token_generation_request.rb +14 -14
  219. data/lib/hubspot/codegen/conversations/visitor_identification/models/identification_token_response.rb +1 -0
  220. data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +1 -1
  221. data/lib/hubspot/codegen/crm/associations/api_client.rb +1 -1
  222. data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
  223. data/lib/hubspot/codegen/crm/associations/configuration.rb +1 -1
  224. data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +1 -1
  225. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +1 -1
  226. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +1 -1
  227. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +42 -42
  228. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +42 -42
  229. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi_with_errors.rb +53 -53
  230. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_with_errors.rb +53 -53
  231. data/lib/hubspot/codegen/crm/associations/models/error.rb +51 -51
  232. data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +29 -29
  233. data/lib/hubspot/codegen/crm/associations/models/next_page.rb +14 -14
  234. data/lib/hubspot/codegen/crm/associations/models/paging.rb +1 -1
  235. data/lib/hubspot/codegen/crm/associations/models/previous_page.rb +1 -1
  236. data/lib/hubspot/codegen/crm/associations/models/public_association.rb +1 -1
  237. data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +14 -14
  238. data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +1 -1
  239. data/lib/hubspot/codegen/crm/associations/models/standard_error.rb +48 -48
  240. data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +1 -1
  241. data/lib/hubspot/codegen/crm/associations/schema/api_client.rb +1 -1
  242. data/lib/hubspot/codegen/crm/associations/schema/api_error.rb +1 -1
  243. data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +1 -1
  244. data/lib/hubspot/codegen/crm/associations/schema/models/collection_response_public_association_definition_no_paging.rb +1 -1
  245. data/lib/hubspot/codegen/crm/associations/schema/models/error.rb +51 -51
  246. data/lib/hubspot/codegen/crm/associations/schema/models/error_detail.rb +29 -29
  247. data/lib/hubspot/codegen/crm/associations/schema/models/public_association_definition.rb +19 -19
  248. data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +15 -15
  249. data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +1 -1
  250. data/lib/hubspot/codegen/crm/associations/v4/api_client.rb +1 -1
  251. data/lib/hubspot/codegen/crm/associations/v4/api_error.rb +1 -1
  252. data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +1 -1
  253. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec.rb +1 -1
  254. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +1 -1
  255. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_archive.rb +1 -1
  256. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_post.rb +1 -1
  257. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_default_association_multi_post.rb +1 -1
  258. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_fetch_associations_batch_request.rb +1 -1
  259. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +1 -1
  260. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +1 -1
  261. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +1 -1
  262. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +1 -1
  263. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +2 -2
  264. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +1 -1
  265. data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +1 -1
  266. data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +1 -1
  267. data/lib/hubspot/codegen/crm/associations/v4/models/forward_paging.rb +1 -1
  268. data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +3 -3
  269. data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +2 -2
  270. data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +1 -1
  271. data/lib/hubspot/codegen/crm/associations/v4/models/paging.rb +1 -1
  272. data/lib/hubspot/codegen/crm/associations/v4/models/previous_page.rb +1 -1
  273. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_archive.rb +1 -1
  274. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +1 -1
  275. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +1 -1
  276. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +1 -1
  277. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association_multi_post.rb +1 -1
  278. data/lib/hubspot/codegen/crm/associations/v4/models/public_fetch_associations_batch_request.rb +1 -1
  279. data/lib/hubspot/codegen/crm/associations/v4/models/public_object_id.rb +1 -1
  280. data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +2 -2
  281. data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +56 -56
  282. data/lib/hubspot/codegen/crm/associations/v4/schema/api_client.rb +2 -2
  283. data/lib/hubspot/codegen/crm/associations/v4/schema/api_error.rb +1 -1
  284. data/lib/hubspot/codegen/crm/associations/v4/schema/configuration.rb +1 -1
  285. data/lib/hubspot/codegen/crm/associations/v4/schema/models/association_spec_with_label.rb +22 -22
  286. data/lib/hubspot/codegen/crm/associations/v4/schema/models/collection_response_association_spec_with_label_no_paging.rb +4 -4
  287. data/lib/hubspot/codegen/crm/associations/v4/schema/models/error.rb +54 -54
  288. data/lib/hubspot/codegen/crm/associations/v4/schema/models/error_detail.rb +32 -32
  289. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_create_request.rb +28 -19
  290. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_update_request.rb +28 -19
  291. data/lib/hubspot/codegen/crm/companies/api/gdpr_api.rb +94 -0
  292. data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +20 -20
  293. data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object.rb +41 -41
  294. data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object_with_errors.rb +52 -52
  295. data/lib/hubspot/codegen/crm/companies/models/collection_response_associated_id.rb +13 -13
  296. data/lib/hubspot/codegen/crm/companies/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  297. data/lib/hubspot/codegen/crm/companies/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  298. data/lib/hubspot/codegen/crm/companies/models/error.rb +50 -50
  299. data/lib/hubspot/codegen/crm/companies/models/error_detail.rb +28 -28
  300. data/lib/hubspot/codegen/crm/companies/models/filter.rb +16 -16
  301. data/lib/hubspot/codegen/crm/companies/models/next_page.rb +13 -13
  302. data/lib/hubspot/codegen/crm/companies/models/public_associations_for_object.rb +18 -18
  303. data/lib/hubspot/codegen/{files/files/models/folder_update_task_locator.rb → crm/companies/models/public_gdpr_delete_input.rb} +24 -29
  304. data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +18 -18
  305. data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +44 -44
  306. data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +44 -44
  307. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +26 -17
  308. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +20 -20
  309. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +49 -49
  310. data/lib/hubspot/codegen/crm/companies/models/standard_error.rb +46 -46
  311. data/lib/hubspot/codegen/crm/companies/models/value_with_timestamp.rb +33 -33
  312. data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +9 -9
  313. data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +20 -20
  314. data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object.rb +41 -41
  315. data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object_with_errors.rb +52 -52
  316. data/lib/hubspot/codegen/crm/contacts/models/collection_response_associated_id.rb +13 -13
  317. data/lib/hubspot/codegen/crm/contacts/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  318. data/lib/hubspot/codegen/crm/contacts/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  319. data/lib/hubspot/codegen/crm/contacts/models/error.rb +50 -50
  320. data/lib/hubspot/codegen/crm/contacts/models/error_detail.rb +28 -28
  321. data/lib/hubspot/codegen/crm/contacts/models/filter.rb +16 -16
  322. data/lib/hubspot/codegen/crm/contacts/models/next_page.rb +13 -13
  323. data/lib/hubspot/codegen/crm/contacts/models/public_associations_for_object.rb +18 -18
  324. data/lib/hubspot/codegen/crm/contacts/models/public_gdpr_delete_input.rb +13 -13
  325. data/lib/hubspot/codegen/crm/contacts/models/public_merge_input.rb +18 -18
  326. data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +44 -44
  327. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +44 -44
  328. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +26 -17
  329. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input_for_create.rb +20 -20
  330. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +49 -49
  331. data/lib/hubspot/codegen/crm/contacts/models/standard_error.rb +46 -46
  332. data/lib/hubspot/codegen/crm/contacts/models/value_with_timestamp.rb +33 -33
  333. data/lib/hubspot/codegen/crm/deals/api/gdpr_api.rb +94 -0
  334. data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +20 -20
  335. data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object.rb +41 -41
  336. data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object_with_errors.rb +52 -52
  337. data/lib/hubspot/codegen/crm/deals/models/collection_response_associated_id.rb +13 -13
  338. data/lib/hubspot/codegen/crm/deals/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  339. data/lib/hubspot/codegen/crm/deals/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  340. data/lib/hubspot/codegen/crm/deals/models/error.rb +50 -50
  341. data/lib/hubspot/codegen/crm/deals/models/error_detail.rb +28 -28
  342. data/lib/hubspot/codegen/crm/deals/models/filter.rb +16 -16
  343. data/lib/hubspot/codegen/crm/deals/models/next_page.rb +13 -13
  344. data/lib/hubspot/codegen/crm/deals/models/public_associations_for_object.rb +18 -18
  345. data/lib/hubspot/codegen/{files/files/models/collection_response_folder.rb → crm/deals/models/public_gdpr_delete_input.rb} +24 -26
  346. data/lib/hubspot/codegen/crm/deals/models/public_merge_input.rb +18 -18
  347. data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +44 -44
  348. data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +44 -44
  349. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +26 -17
  350. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input_for_create.rb +20 -20
  351. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +49 -49
  352. data/lib/hubspot/codegen/crm/deals/models/standard_error.rb +46 -46
  353. data/lib/hubspot/codegen/crm/deals/models/value_with_timestamp.rb +33 -33
  354. data/lib/hubspot/codegen/crm/extensions/calling/api/recording_settings_api.rb +227 -0
  355. data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +1 -1
  356. data/lib/hubspot/codegen/crm/extensions/calling/api_client.rb +1 -1
  357. data/lib/hubspot/codegen/crm/extensions/calling/api_error.rb +1 -1
  358. data/lib/hubspot/codegen/crm/extensions/calling/configuration.rb +1 -1
  359. data/lib/hubspot/codegen/crm/extensions/calling/models/error.rb +51 -51
  360. data/lib/hubspot/codegen/crm/extensions/calling/models/error_detail.rb +29 -29
  361. data/lib/hubspot/codegen/crm/{associations/v4/models/public_associations_for_object.rb → extensions/calling/models/recording_settings_patch_request.rb} +16 -37
  362. data/lib/hubspot/codegen/crm/{associations/schema/models/batch_input_public_association.rb → extensions/calling/models/recording_settings_request.rb} +18 -20
  363. data/lib/hubspot/codegen/crm/{associations/schema/models/batch_input_public_object_id.rb → extensions/calling/models/recording_settings_response.rb} +18 -20
  364. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +33 -33
  365. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +33 -33
  366. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +58 -58
  367. data/lib/hubspot/codegen/crm/extensions/cards/api/cards_api.rb +45 -45
  368. data/lib/hubspot/codegen/crm/extensions/cards/api/sample_response_api.rb +2 -2
  369. data/lib/hubspot/codegen/crm/extensions/cards/api_client.rb +1 -1
  370. data/lib/hubspot/codegen/crm/extensions/cards/api_error.rb +1 -1
  371. data/lib/hubspot/codegen/crm/extensions/cards/configuration.rb +1 -1
  372. data/lib/hubspot/codegen/crm/extensions/cards/models/action_confirmation_body.rb +1 -1
  373. data/lib/hubspot/codegen/crm/extensions/cards/models/action_hook_action_body.rb +1 -1
  374. data/lib/hubspot/codegen/crm/extensions/cards/models/card_actions.rb +1 -1
  375. data/lib/hubspot/codegen/crm/{associations/schema/models/batch_response_public_association_with_errors.rb → extensions/cards/models/card_audit_response.rb} +87 -89
  376. data/lib/hubspot/codegen/crm/extensions/cards/models/card_create_request.rb +17 -17
  377. data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_body.rb +1 -1
  378. data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_property.rb +35 -35
  379. data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body.rb +69 -17
  380. data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body_patch.rb +64 -12
  381. data/lib/hubspot/codegen/crm/extensions/cards/models/card_object_type_body.rb +3 -3
  382. data/lib/hubspot/codegen/crm/extensions/cards/models/card_patch_request.rb +12 -12
  383. data/lib/hubspot/codegen/crm/extensions/cards/models/display_option.rb +1 -1
  384. data/lib/hubspot/codegen/crm/extensions/cards/models/error.rb +51 -51
  385. data/lib/hubspot/codegen/crm/extensions/cards/models/error_detail.rb +29 -29
  386. data/lib/hubspot/codegen/crm/extensions/cards/models/i_frame_action_body.rb +42 -42
  387. data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_card_payload_response.rb +29 -29
  388. data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result.rb +25 -25
  389. data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result_actions_inner.rb +1 -1
  390. data/lib/hubspot/codegen/crm/extensions/cards/models/object_token.rb +11 -11
  391. data/lib/hubspot/codegen/crm/{associations/schema/models/associated_id.rb → extensions/cards/models/public_card_fetch_body.rb} +29 -27
  392. data/lib/hubspot/codegen/crm/extensions/cards/models/{card_list_response.rb → public_card_list_response.rb} +5 -7
  393. data/lib/hubspot/codegen/crm/extensions/cards/models/{card_response.rb → public_card_response.rb} +62 -51
  394. data/lib/hubspot/codegen/crm/extensions/cards/models/top_level_actions.rb +16 -16
  395. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api/settings_api.rb +4 -4
  396. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_client.rb +2 -1
  397. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_error.rb +1 -1
  398. data/lib/hubspot/codegen/crm/extensions/videoconferencing/configuration.rb +8 -1
  399. data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/error.rb +51 -51
  400. data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/error_detail.rb +29 -29
  401. data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/external_settings.rb +24 -15
  402. data/lib/hubspot/codegen/crm/imports/api/core_api.rb +1 -1
  403. data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +1 -1
  404. data/lib/hubspot/codegen/crm/imports/api_client.rb +1 -1
  405. data/lib/hubspot/codegen/crm/imports/api_error.rb +1 -1
  406. data/lib/hubspot/codegen/crm/imports/configuration.rb +1 -1
  407. data/lib/hubspot/codegen/crm/imports/models/action_response.rb +26 -26
  408. data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_error_forward_paging.rb +14 -14
  409. data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_response.rb +14 -14
  410. data/lib/hubspot/codegen/crm/imports/models/error.rb +51 -51
  411. data/lib/hubspot/codegen/crm/imports/models/error_detail.rb +29 -29
  412. data/lib/hubspot/codegen/crm/imports/models/forward_paging.rb +1 -1
  413. data/lib/hubspot/codegen/crm/imports/models/import_row_core.rb +25 -25
  414. data/lib/hubspot/codegen/{files/files/models/error_detail.rb → crm/imports/models/import_template.rb} +63 -58
  415. data/lib/hubspot/codegen/crm/imports/models/next_page.rb +14 -14
  416. data/lib/hubspot/codegen/crm/imports/models/paging.rb +1 -1
  417. data/lib/hubspot/codegen/crm/imports/models/previous_page.rb +1 -1
  418. data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +60 -65
  419. data/lib/hubspot/codegen/crm/imports/models/public_import_metadata.rb +22 -22
  420. data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +72 -42
  421. data/lib/hubspot/codegen/crm/imports/models/public_object_list_record.rb +1 -1
  422. data/lib/hubspot/codegen/crm/line_items/api/gdpr_api.rb +94 -0
  423. data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +20 -20
  424. data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object.rb +41 -41
  425. data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object_with_errors.rb +52 -52
  426. data/lib/hubspot/codegen/crm/line_items/models/collection_response_associated_id.rb +13 -13
  427. data/lib/hubspot/codegen/crm/line_items/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  428. data/lib/hubspot/codegen/crm/line_items/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  429. data/lib/hubspot/codegen/crm/line_items/models/error.rb +50 -50
  430. data/lib/hubspot/codegen/crm/line_items/models/error_detail.rb +28 -28
  431. data/lib/hubspot/codegen/crm/line_items/models/filter.rb +16 -16
  432. data/lib/hubspot/codegen/crm/line_items/models/next_page.rb +13 -13
  433. data/lib/hubspot/codegen/crm/line_items/models/public_associations_for_object.rb +18 -18
  434. data/lib/hubspot/codegen/crm/line_items/models/public_gdpr_delete_input.rb +237 -0
  435. data/lib/hubspot/codegen/crm/line_items/models/public_merge_input.rb +18 -18
  436. data/lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb +44 -44
  437. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +44 -49
  438. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +21 -17
  439. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +0 -5
  440. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +15 -20
  441. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +49 -49
  442. data/lib/hubspot/codegen/crm/line_items/models/standard_error.rb +46 -46
  443. data/lib/hubspot/codegen/crm/line_items/models/value_with_timestamp.rb +33 -33
  444. data/lib/hubspot/codegen/crm/lists/api/memberships_api.rb +8 -8
  445. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +2 -2
  446. data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +10 -10
  447. data/lib/hubspot/codegen/crm/objects/calls/api/gdpr_api.rb +96 -0
  448. data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +20 -20
  449. data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object.rb +41 -41
  450. data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object_with_errors.rb +52 -52
  451. data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id.rb +13 -13
  452. data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  453. data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  454. data/lib/hubspot/codegen/crm/objects/calls/models/error.rb +50 -50
  455. data/lib/hubspot/codegen/crm/objects/calls/models/error_detail.rb +28 -28
  456. data/lib/hubspot/codegen/crm/objects/calls/models/filter.rb +16 -16
  457. data/lib/hubspot/codegen/crm/objects/calls/models/next_page.rb +13 -13
  458. data/lib/hubspot/codegen/crm/objects/calls/models/public_associations_for_object.rb +18 -18
  459. data/lib/hubspot/codegen/crm/{associations/v4 → objects/calls}/models/public_gdpr_delete_input.rb +7 -7
  460. data/lib/hubspot/codegen/crm/objects/calls/models/public_merge_input.rb +18 -18
  461. data/lib/hubspot/codegen/crm/objects/calls/models/public_object_search_request.rb +44 -44
  462. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +44 -44
  463. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +26 -17
  464. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +20 -20
  465. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +49 -49
  466. data/lib/hubspot/codegen/crm/objects/calls/models/standard_error.rb +46 -46
  467. data/lib/hubspot/codegen/crm/objects/calls/models/value_with_timestamp.rb +33 -33
  468. data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +9 -9
  469. data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +12 -12
  470. data/lib/hubspot/codegen/crm/objects/communications/api/gdpr_api.rb +96 -0
  471. data/lib/hubspot/codegen/crm/objects/communications/api/public_object_api.rb +3 -3
  472. data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +1 -1
  473. data/lib/hubspot/codegen/crm/objects/communications/models/batch_read_input_simple_public_object_id.rb +20 -20
  474. data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_object.rb +41 -41
  475. data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_object_with_errors.rb +52 -52
  476. data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_associated_id.rb +13 -13
  477. data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  478. data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  479. data/lib/hubspot/codegen/crm/objects/communications/models/error.rb +50 -50
  480. data/lib/hubspot/codegen/crm/objects/communications/models/error_detail.rb +28 -28
  481. data/lib/hubspot/codegen/crm/objects/communications/models/filter.rb +16 -16
  482. data/lib/hubspot/codegen/crm/objects/communications/models/next_page.rb +13 -13
  483. data/lib/hubspot/codegen/crm/objects/communications/models/public_associations_for_object.rb +18 -18
  484. data/lib/hubspot/codegen/crm/{associations/v4/models/collection_response_associated_id.rb → objects/communications/models/public_gdpr_delete_input.rb} +24 -26
  485. data/lib/hubspot/codegen/crm/objects/communications/models/public_merge_input.rb +18 -18
  486. data/lib/hubspot/codegen/crm/objects/communications/models/public_object_search_request.rb +44 -44
  487. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object.rb +44 -44
  488. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input.rb +26 -17
  489. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +20 -20
  490. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_with_associations.rb +49 -49
  491. data/lib/hubspot/codegen/crm/objects/communications/models/standard_error.rb +46 -46
  492. data/lib/hubspot/codegen/crm/objects/communications/models/value_with_timestamp.rb +33 -33
  493. data/lib/hubspot/codegen/crm/objects/emails/api/gdpr_api.rb +96 -0
  494. data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +20 -20
  495. data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object.rb +41 -41
  496. data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object_with_errors.rb +52 -52
  497. data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id.rb +13 -13
  498. data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  499. data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  500. data/lib/hubspot/codegen/crm/objects/emails/models/error.rb +50 -50
  501. data/lib/hubspot/codegen/crm/objects/emails/models/error_detail.rb +28 -28
  502. data/lib/hubspot/codegen/crm/objects/emails/models/filter.rb +16 -16
  503. data/lib/hubspot/codegen/crm/objects/emails/models/next_page.rb +13 -13
  504. data/lib/hubspot/codegen/crm/objects/emails/models/public_associations_for_object.rb +18 -18
  505. data/lib/hubspot/codegen/crm/{associations/v4/models/simple_public_object_id.rb → objects/emails/models/public_gdpr_delete_input.rb} +27 -18
  506. data/lib/hubspot/codegen/crm/objects/emails/models/public_merge_input.rb +18 -18
  507. data/lib/hubspot/codegen/crm/objects/emails/models/public_object_search_request.rb +44 -44
  508. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +44 -44
  509. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +26 -17
  510. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +20 -20
  511. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +49 -49
  512. data/lib/hubspot/codegen/crm/objects/emails/models/standard_error.rb +46 -46
  513. data/lib/hubspot/codegen/crm/objects/emails/models/value_with_timestamp.rb +33 -33
  514. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/gdpr_api.rb +96 -0
  515. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +20 -20
  516. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_response_simple_public_object.rb +41 -41
  517. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_response_simple_public_object_with_errors.rb +52 -52
  518. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_associated_id.rb +13 -13
  519. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  520. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  521. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error.rb +50 -50
  522. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_detail.rb +28 -28
  523. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +16 -16
  524. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/next_page.rb +13 -13
  525. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_associations_for_object.rb +18 -18
  526. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_gdpr_delete_input.rb +239 -0
  527. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_merge_input.rb +18 -18
  528. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_search_request.rb +44 -44
  529. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +44 -44
  530. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_batch_input.rb +26 -17
  531. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_input_for_create.rb +20 -20
  532. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +49 -49
  533. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/standard_error.rb +46 -46
  534. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/value_with_timestamp.rb +33 -33
  535. data/lib/hubspot/codegen/crm/objects/goals/api/gdpr_api.rb +9 -9
  536. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input.rb +10 -1
  537. data/lib/hubspot/codegen/crm/objects/meetings/api/gdpr_api.rb +96 -0
  538. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +20 -20
  539. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object.rb +41 -41
  540. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object_with_errors.rb +52 -52
  541. data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id.rb +13 -13
  542. data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  543. data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  544. data/lib/hubspot/codegen/crm/objects/meetings/models/error.rb +50 -50
  545. data/lib/hubspot/codegen/crm/objects/meetings/models/error_detail.rb +28 -28
  546. data/lib/hubspot/codegen/crm/objects/meetings/models/filter.rb +16 -16
  547. data/lib/hubspot/codegen/crm/objects/meetings/models/next_page.rb +13 -13
  548. data/lib/hubspot/codegen/crm/objects/meetings/models/public_associations_for_object.rb +18 -18
  549. data/lib/hubspot/codegen/crm/{associations/v4/models/simple_public_object_input.rb → objects/meetings/models/public_gdpr_delete_input.rb} +27 -20
  550. data/lib/hubspot/codegen/crm/objects/meetings/models/public_merge_input.rb +18 -18
  551. data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_search_request.rb +44 -44
  552. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +44 -44
  553. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +26 -17
  554. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +20 -20
  555. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +49 -49
  556. data/lib/hubspot/codegen/crm/objects/meetings/models/standard_error.rb +46 -46
  557. data/lib/hubspot/codegen/crm/objects/meetings/models/value_with_timestamp.rb +33 -33
  558. data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +20 -20
  559. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +41 -41
  560. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +52 -52
  561. data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +13 -13
  562. data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  563. data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  564. data/lib/hubspot/codegen/crm/objects/models/error.rb +50 -50
  565. data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +28 -28
  566. data/lib/hubspot/codegen/crm/objects/models/filter.rb +16 -16
  567. data/lib/hubspot/codegen/crm/objects/models/next_page.rb +13 -13
  568. data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +18 -18
  569. data/lib/hubspot/codegen/crm/objects/models/public_gdpr_delete_input.rb +13 -13
  570. data/lib/hubspot/codegen/crm/objects/models/public_merge_input.rb +18 -18
  571. data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +44 -44
  572. data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +44 -44
  573. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +28 -17
  574. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +20 -20
  575. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +49 -49
  576. data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +46 -46
  577. data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +33 -33
  578. data/lib/hubspot/codegen/crm/objects/notes/api/gdpr_api.rb +96 -0
  579. data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +20 -20
  580. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object.rb +41 -41
  581. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object_with_errors.rb +52 -52
  582. data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id.rb +13 -13
  583. data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  584. data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  585. data/lib/hubspot/codegen/crm/objects/notes/models/error.rb +50 -50
  586. data/lib/hubspot/codegen/crm/objects/notes/models/error_detail.rb +28 -28
  587. data/lib/hubspot/codegen/crm/objects/notes/models/filter.rb +16 -16
  588. data/lib/hubspot/codegen/crm/objects/notes/models/next_page.rb +13 -13
  589. data/lib/hubspot/codegen/crm/objects/notes/models/public_associations_for_object.rb +18 -18
  590. data/lib/hubspot/codegen/crm/{associations/v4/models/associated_id.rb → objects/notes/models/public_gdpr_delete_input.rb} +24 -29
  591. data/lib/hubspot/codegen/crm/objects/notes/models/public_merge_input.rb +18 -18
  592. data/lib/hubspot/codegen/crm/objects/notes/models/public_object_search_request.rb +44 -44
  593. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +44 -44
  594. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +26 -17
  595. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +20 -20
  596. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +49 -49
  597. data/lib/hubspot/codegen/crm/objects/notes/models/standard_error.rb +46 -46
  598. data/lib/hubspot/codegen/crm/objects/notes/models/value_with_timestamp.rb +33 -33
  599. data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +33 -33
  600. data/lib/hubspot/codegen/crm/objects/postal_mail/api/gdpr_api.rb +96 -0
  601. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_read_input_simple_public_object_id.rb +20 -20
  602. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_response_simple_public_object.rb +41 -41
  603. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_response_simple_public_object_with_errors.rb +52 -52
  604. data/lib/hubspot/codegen/crm/objects/postal_mail/models/collection_response_associated_id.rb +13 -13
  605. data/lib/hubspot/codegen/crm/objects/postal_mail/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  606. data/lib/hubspot/codegen/crm/objects/postal_mail/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  607. data/lib/hubspot/codegen/crm/objects/postal_mail/models/error.rb +50 -50
  608. data/lib/hubspot/codegen/crm/objects/postal_mail/models/error_detail.rb +28 -28
  609. data/lib/hubspot/codegen/crm/objects/postal_mail/models/filter.rb +16 -16
  610. data/lib/hubspot/codegen/crm/objects/postal_mail/models/next_page.rb +13 -13
  611. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_associations_for_object.rb +18 -18
  612. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_gdpr_delete_input.rb +239 -0
  613. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_merge_input.rb +18 -18
  614. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_object_search_request.rb +44 -44
  615. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object.rb +44 -44
  616. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input.rb +26 -17
  617. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +20 -20
  618. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_with_associations.rb +49 -49
  619. data/lib/hubspot/codegen/crm/objects/postal_mail/models/standard_error.rb +46 -46
  620. data/lib/hubspot/codegen/crm/objects/postal_mail/models/value_with_timestamp.rb +33 -33
  621. data/lib/hubspot/codegen/crm/objects/tasks/api/gdpr_api.rb +96 -0
  622. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +20 -20
  623. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object.rb +41 -41
  624. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object_with_errors.rb +52 -52
  625. data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id.rb +13 -13
  626. data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  627. data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  628. data/lib/hubspot/codegen/crm/objects/tasks/models/error.rb +50 -50
  629. data/lib/hubspot/codegen/crm/objects/tasks/models/error_detail.rb +28 -28
  630. data/lib/hubspot/codegen/crm/objects/tasks/models/filter.rb +16 -16
  631. data/lib/hubspot/codegen/crm/objects/tasks/models/next_page.rb +13 -13
  632. data/lib/hubspot/codegen/crm/objects/tasks/models/public_associations_for_object.rb +18 -18
  633. data/lib/hubspot/codegen/crm/{associations/v4/models/collection_response_association_spec_with_label_no_paging.rb → objects/tasks/models/public_gdpr_delete_input.rb} +27 -20
  634. data/lib/hubspot/codegen/crm/objects/tasks/models/public_merge_input.rb +18 -18
  635. data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_search_request.rb +44 -44
  636. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +44 -44
  637. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +26 -17
  638. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +20 -20
  639. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +49 -49
  640. data/lib/hubspot/codegen/crm/objects/tasks/models/standard_error.rb +46 -46
  641. data/lib/hubspot/codegen/crm/objects/tasks/models/value_with_timestamp.rb +33 -33
  642. data/lib/hubspot/codegen/crm/objects/taxes/api/gdpr_api.rb +9 -9
  643. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input.rb +10 -1
  644. data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +1 -1
  645. data/lib/hubspot/codegen/crm/owners/api_client.rb +1 -1
  646. data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
  647. data/lib/hubspot/codegen/crm/owners/configuration.rb +1 -1
  648. data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner_forward_paging.rb +14 -14
  649. data/lib/hubspot/codegen/crm/owners/models/error.rb +51 -51
  650. data/lib/hubspot/codegen/crm/owners/models/error_detail.rb +29 -29
  651. data/lib/hubspot/codegen/crm/owners/models/forward_paging.rb +1 -1
  652. data/lib/hubspot/codegen/crm/owners/models/next_page.rb +14 -14
  653. data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +51 -51
  654. data/lib/hubspot/codegen/crm/owners/models/public_team.rb +16 -16
  655. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +1 -1
  656. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +1 -1
  657. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +1 -1
  658. data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +10 -1
  659. data/lib/hubspot/codegen/crm/pipelines/api_client.rb +1 -1
  660. data/lib/hubspot/codegen/crm/pipelines/api_error.rb +1 -1
  661. data/lib/hubspot/codegen/crm/pipelines/configuration.rb +1 -1
  662. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_no_paging.rb +1 -1
  663. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_stage_no_paging.rb +1 -1
  664. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_public_audit_info_no_paging.rb +1 -1
  665. data/lib/hubspot/codegen/crm/pipelines/models/error.rb +51 -51
  666. data/lib/hubspot/codegen/crm/pipelines/models/error_detail.rb +29 -29
  667. data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +62 -62
  668. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +20 -20
  669. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb +16 -16
  670. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +105 -62
  671. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +24 -24
  672. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +21 -21
  673. data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +40 -40
  674. data/lib/hubspot/codegen/crm/products/api/gdpr_api.rb +94 -0
  675. data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +20 -20
  676. data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object.rb +41 -41
  677. data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object_with_errors.rb +52 -52
  678. data/lib/hubspot/codegen/crm/products/models/collection_response_associated_id.rb +13 -13
  679. data/lib/hubspot/codegen/crm/products/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  680. data/lib/hubspot/codegen/crm/products/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  681. data/lib/hubspot/codegen/crm/products/models/error.rb +50 -50
  682. data/lib/hubspot/codegen/crm/products/models/error_detail.rb +28 -28
  683. data/lib/hubspot/codegen/crm/products/models/filter.rb +16 -16
  684. data/lib/hubspot/codegen/crm/products/models/next_page.rb +13 -13
  685. data/lib/hubspot/codegen/crm/products/models/public_associations_for_object.rb +18 -18
  686. data/lib/hubspot/codegen/{files/files/models/collection_response_file.rb → crm/products/models/public_gdpr_delete_input.rb} +24 -27
  687. data/lib/hubspot/codegen/crm/products/models/public_merge_input.rb +18 -18
  688. data/lib/hubspot/codegen/crm/products/models/public_object_search_request.rb +44 -44
  689. data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +44 -49
  690. data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +21 -22
  691. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +1 -5
  692. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input_for_create.rb +16 -25
  693. data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +49 -49
  694. data/lib/hubspot/codegen/crm/products/models/standard_error.rb +46 -46
  695. data/lib/hubspot/codegen/crm/products/models/value_with_timestamp.rb +33 -33
  696. data/lib/hubspot/codegen/crm/properties/models/batch_response_property.rb +41 -41
  697. data/lib/hubspot/codegen/crm/properties/models/batch_response_property_with_errors.rb +52 -52
  698. data/lib/hubspot/codegen/crm/properties/models/error.rb +50 -50
  699. data/lib/hubspot/codegen/crm/properties/models/error_detail.rb +28 -28
  700. data/lib/hubspot/codegen/crm/properties/models/option.rb +34 -34
  701. data/lib/hubspot/codegen/crm/properties/models/option_input.rb +34 -34
  702. data/lib/hubspot/codegen/crm/properties/models/property.rb +152 -150
  703. data/lib/hubspot/codegen/crm/properties/models/property_create.rb +79 -79
  704. data/lib/hubspot/codegen/crm/properties/models/property_group.rb +25 -25
  705. data/lib/hubspot/codegen/crm/properties/models/property_group_create.rb +14 -14
  706. data/lib/hubspot/codegen/crm/properties/models/property_group_update.rb +14 -14
  707. data/lib/hubspot/codegen/crm/properties/models/property_modification_metadata.rb +28 -28
  708. data/lib/hubspot/codegen/crm/properties/models/property_update.rb +58 -58
  709. data/lib/hubspot/codegen/crm/properties/models/standard_error.rb +46 -46
  710. data/lib/hubspot/codegen/crm/quotes/api/gdpr_api.rb +94 -0
  711. data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +20 -20
  712. data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object.rb +41 -41
  713. data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object_with_errors.rb +52 -52
  714. data/lib/hubspot/codegen/crm/quotes/models/collection_response_associated_id.rb +13 -13
  715. data/lib/hubspot/codegen/crm/quotes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  716. data/lib/hubspot/codegen/crm/quotes/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  717. data/lib/hubspot/codegen/crm/quotes/models/error.rb +50 -50
  718. data/lib/hubspot/codegen/crm/quotes/models/error_detail.rb +28 -28
  719. data/lib/hubspot/codegen/crm/quotes/models/filter.rb +16 -16
  720. data/lib/hubspot/codegen/crm/quotes/models/next_page.rb +13 -13
  721. data/lib/hubspot/codegen/crm/quotes/models/public_associations_for_object.rb +18 -18
  722. data/lib/hubspot/codegen/crm/quotes/models/public_gdpr_delete_input.rb +237 -0
  723. data/lib/hubspot/codegen/crm/quotes/models/public_merge_input.rb +18 -18
  724. data/lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb +44 -44
  725. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +44 -44
  726. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +26 -17
  727. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +20 -20
  728. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +49 -49
  729. data/lib/hubspot/codegen/crm/quotes/models/standard_error.rb +46 -46
  730. data/lib/hubspot/codegen/crm/quotes/models/value_with_timestamp.rb +33 -33
  731. data/lib/hubspot/codegen/crm/schemas/models/association_definition.rb +23 -23
  732. data/lib/hubspot/codegen/crm/schemas/models/association_definition_egg.rb +14 -14
  733. data/lib/hubspot/codegen/crm/schemas/models/error.rb +50 -50
  734. data/lib/hubspot/codegen/crm/schemas/models/error_detail.rb +28 -28
  735. data/lib/hubspot/codegen/crm/schemas/models/object_schema.rb +94 -110
  736. data/lib/hubspot/codegen/crm/schemas/models/object_schema_egg.rb +50 -51
  737. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition.rb +82 -98
  738. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_labels.rb +14 -14
  739. data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_patch.rb +28 -19
  740. data/lib/hubspot/codegen/crm/schemas/models/object_type_property_create.rb +152 -46
  741. data/lib/hubspot/codegen/crm/schemas/models/option.rb +34 -34
  742. data/lib/hubspot/codegen/crm/schemas/models/option_input.rb +39 -39
  743. data/lib/hubspot/codegen/crm/schemas/models/property.rb +150 -140
  744. data/lib/hubspot/codegen/crm/schemas/models/property_modification_metadata.rb +32 -28
  745. data/lib/hubspot/codegen/crm/tickets/api/gdpr_api.rb +94 -0
  746. data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +20 -20
  747. data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object.rb +41 -41
  748. data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object_with_errors.rb +52 -52
  749. data/lib/hubspot/codegen/crm/tickets/models/collection_response_associated_id.rb +13 -13
  750. data/lib/hubspot/codegen/crm/tickets/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  751. data/lib/hubspot/codegen/crm/tickets/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
  752. data/lib/hubspot/codegen/crm/tickets/models/error.rb +50 -50
  753. data/lib/hubspot/codegen/crm/tickets/models/error_detail.rb +28 -28
  754. data/lib/hubspot/codegen/crm/tickets/models/filter.rb +16 -16
  755. data/lib/hubspot/codegen/crm/tickets/models/next_page.rb +13 -13
  756. data/lib/hubspot/codegen/crm/tickets/models/public_associations_for_object.rb +18 -18
  757. data/lib/hubspot/codegen/crm/tickets/models/public_gdpr_delete_input.rb +237 -0
  758. data/lib/hubspot/codegen/crm/tickets/models/public_merge_input.rb +18 -18
  759. data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +44 -44
  760. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +44 -44
  761. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +26 -17
  762. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input_for_create.rb +20 -20
  763. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +49 -49
  764. data/lib/hubspot/codegen/crm/tickets/models/standard_error.rb +46 -46
  765. data/lib/hubspot/codegen/crm/tickets/models/value_with_timestamp.rb +33 -33
  766. data/lib/hubspot/codegen/crm/timeline/api/events_api.rb +6 -6
  767. data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +1 -1
  768. data/lib/hubspot/codegen/crm/timeline/api/tokens_api.rb +1 -1
  769. data/lib/hubspot/codegen/crm/timeline/api_client.rb +1 -1
  770. data/lib/hubspot/codegen/crm/timeline/api_error.rb +1 -1
  771. data/lib/hubspot/codegen/crm/timeline/configuration.rb +1 -1
  772. data/lib/hubspot/codegen/crm/timeline/models/batch_input_timeline_event.rb +1 -1
  773. data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response.rb +45 -45
  774. data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors.rb +53 -53
  775. data/lib/hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template_no_paging.rb +1 -1
  776. data/lib/hubspot/codegen/crm/timeline/models/error.rb +51 -51
  777. data/lib/hubspot/codegen/crm/timeline/models/error_detail.rb +29 -29
  778. data/lib/hubspot/codegen/crm/timeline/models/event_detail.rb +1 -1
  779. data/lib/hubspot/codegen/crm/timeline/models/standard_error.rb +48 -48
  780. data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +56 -56
  781. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_i_frame.rb +17 -17
  782. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_response.rb +70 -70
  783. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template.rb +29 -29
  784. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_create_request.rb +22 -22
  785. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token.rb +34 -39
  786. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_option.rb +19 -19
  787. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_update_request.rb +17 -22
  788. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_update_request.rb +25 -25
  789. data/lib/hubspot/codegen/events/api/events_api.rb +35 -22
  790. data/lib/hubspot/codegen/events/api_client.rb +1 -1
  791. data/lib/hubspot/codegen/events/api_error.rb +1 -1
  792. data/lib/hubspot/codegen/events/configuration.rb +1 -1
  793. data/lib/hubspot/codegen/events/models/collection_response_external_unified_event.rb +15 -14
  794. data/lib/hubspot/codegen/events/models/error.rb +51 -51
  795. data/lib/hubspot/codegen/events/models/error_detail.rb +29 -29
  796. data/lib/hubspot/codegen/events/models/external_unified_event.rb +43 -48
  797. data/lib/hubspot/codegen/events/models/next_page.rb +16 -14
  798. data/lib/hubspot/codegen/events/models/paging.rb +14 -5
  799. data/lib/hubspot/codegen/events/models/previous_page.rb +235 -0
  800. data/lib/hubspot/codegen/events/send/api/{behavioral_events_tracking_api.rb → custom_event_data_api.rb} +9 -9
  801. data/lib/hubspot/codegen/files/api/files_api.rb +880 -0
  802. data/lib/hubspot/codegen/files/api/folders_api.rb +603 -0
  803. data/lib/hubspot/codegen/files/api_client.rb +408 -0
  804. data/lib/hubspot/codegen/files/api_error.rb +59 -0
  805. data/lib/hubspot/codegen/files/configuration.rb +285 -0
  806. data/lib/hubspot/codegen/files/models/collection_response_file.rb +238 -0
  807. data/lib/hubspot/codegen/files/models/collection_response_folder.rb +238 -0
  808. data/lib/hubspot/codegen/files/models/error.rb +303 -0
  809. data/lib/hubspot/codegen/files/models/error_detail.rb +269 -0
  810. data/lib/hubspot/codegen/files/models/file.rb +460 -0
  811. data/lib/hubspot/codegen/files/models/file_action_response.rb +359 -0
  812. data/lib/hubspot/codegen/files/models/file_stat.rb +230 -0
  813. data/lib/hubspot/codegen/{webhooks/models/error_category.rb → files/models/file_update_input.rb} +63 -32
  814. data/lib/hubspot/codegen/files/models/folder.rb +312 -0
  815. data/lib/hubspot/codegen/files/models/folder_action_response.rb +359 -0
  816. data/lib/hubspot/codegen/files/models/folder_input.rb +247 -0
  817. data/lib/hubspot/codegen/files/models/folder_update_input.rb +247 -0
  818. data/lib/hubspot/codegen/files/models/folder_update_task_locator.rb +244 -0
  819. data/lib/hubspot/codegen/files/models/import_from_url_input.rb +370 -0
  820. data/lib/hubspot/codegen/files/models/import_from_url_task_locator.rb +244 -0
  821. data/lib/hubspot/codegen/files/models/next_page.rb +235 -0
  822. data/lib/hubspot/codegen/files/models/paging.rb +230 -0
  823. data/lib/hubspot/codegen/files/models/previous_page.rb +235 -0
  824. data/lib/hubspot/codegen/files/models/signed_url.rb +322 -0
  825. data/lib/hubspot/codegen/files/models/standard_error.rb +320 -0
  826. data/lib/hubspot/codegen/marketing/events/api/attendance_subscriber_state_changes_api.rb +3 -3
  827. data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +460 -0
  828. data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +162 -0
  829. data/lib/hubspot/codegen/marketing/events/api/marketing_events_external_api.rb +1 -704
  830. data/lib/hubspot/codegen/marketing/events/api/search_api.rb +1 -1
  831. data/lib/hubspot/codegen/marketing/events/api/{settings_external_api.rb → settings_api.rb} +27 -19
  832. data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +200 -0
  833. data/lib/hubspot/codegen/marketing/events/api_client.rb +1 -1
  834. data/lib/hubspot/codegen/marketing/events/api_error.rb +1 -1
  835. data/lib/hubspot/codegen/marketing/events/configuration.rb +1 -8
  836. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +2 -1
  837. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +1 -1
  838. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +1 -1
  839. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_subscriber.rb +1 -1
  840. data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +61 -53
  841. data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_email_response.rb +53 -53
  842. data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_vid_response.rb +53 -53
  843. data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging.rb +1 -1
  844. data/lib/hubspot/codegen/marketing/events/models/error.rb +51 -51
  845. data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +29 -29
  846. data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +1 -1
  847. data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +1 -1
  848. data/lib/hubspot/codegen/marketing/events/models/marketing_event_complete_request_params.rb +1 -1
  849. data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +75 -75
  850. data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +57 -57
  851. data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +23 -23
  852. data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +20 -20
  853. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +69 -66
  854. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +120 -117
  855. data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +15 -15
  856. data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +52 -52
  857. data/lib/hubspot/codegen/marketing/events/models/property_value.rb +114 -95
  858. data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +56 -48
  859. data/lib/hubspot/codegen/marketing/events/models/subscriber_email_response.rb +1 -1
  860. data/lib/hubspot/codegen/marketing/events/models/subscriber_vid_response.rb +1 -1
  861. data/lib/hubspot/codegen/marketing/forms/api/forms_api.rb +1 -1
  862. data/lib/hubspot/codegen/marketing/forms/api_client.rb +1 -1
  863. data/lib/hubspot/codegen/marketing/forms/api_error.rb +1 -1
  864. data/lib/hubspot/codegen/marketing/forms/configuration.rb +1 -1
  865. data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging.rb +14 -14
  866. data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging_results_inner.rb +1 -1
  867. data/lib/hubspot/codegen/marketing/forms/models/datepicker_field.rb +31 -1
  868. data/lib/hubspot/codegen/marketing/forms/models/dependent_field.rb +6 -1
  869. data/lib/hubspot/codegen/marketing/forms/models/dependent_field_dependent_field.rb +2 -1
  870. data/lib/hubspot/codegen/marketing/forms/models/dependent_field_filter.rb +1 -1
  871. data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +41 -1
  872. data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +36 -1
  873. data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +1 -1
  874. data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +1 -1
  875. data/lib/hubspot/codegen/marketing/forms/models/error.rb +51 -51
  876. data/lib/hubspot/codegen/marketing/forms/models/error_detail.rb +29 -29
  877. data/lib/hubspot/codegen/marketing/forms/models/field_group.rb +12 -1
  878. data/lib/hubspot/codegen/marketing/forms/models/file_field.rb +36 -1
  879. data/lib/hubspot/codegen/marketing/forms/models/form_definition_base.rb +1 -1
  880. data/lib/hubspot/codegen/marketing/forms/models/form_definition_create_request_base.rb +1 -1
  881. data/lib/hubspot/codegen/marketing/forms/models/form_display_options.rb +17 -16
  882. data/lib/hubspot/codegen/marketing/forms/models/form_post_submit_action.rb +1 -1
  883. data/lib/hubspot/codegen/marketing/forms/models/form_style.rb +100 -88
  884. data/lib/hubspot/codegen/marketing/forms/models/forward_paging.rb +1 -1
  885. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_configuration.rb +106 -95
  886. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +3 -7
  887. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_all_of.rb +3 -7
  888. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +3 -7
  889. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request_all_of.rb +3 -7
  890. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request.rb +25 -25
  891. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request_legal_consent_options.rb +1 -1
  892. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_checkbox.rb +1 -1
  893. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +1 -1
  894. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +1 -1
  895. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +3 -3
  896. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +1 -1
  897. data/lib/hubspot/codegen/{crm/associations/models/public_association_definition.rb → marketing/forms/models/lifecycle_stage.rb} +29 -27
  898. data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +36 -1
  899. data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +31 -1
  900. data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +41 -1
  901. data/lib/hubspot/codegen/marketing/forms/models/next_page.rb +16 -14
  902. data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +31 -1
  903. data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +1 -1
  904. data/lib/hubspot/codegen/{crm/companies/models/error_category.rb → marketing/forms/models/payment_link_radio_field.rb} +140 -25
  905. data/lib/hubspot/codegen/marketing/forms/models/phone_field.rb +41 -1
  906. data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +1 -1
  907. data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +41 -1
  908. data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +31 -1
  909. data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +31 -1
  910. data/lib/hubspot/codegen/marketing/transactional/api/public_smtp_tokens_api.rb +1 -1
  911. data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +1 -1
  912. data/lib/hubspot/codegen/marketing/transactional/api_client.rb +1 -1
  913. data/lib/hubspot/codegen/marketing/transactional/api_error.rb +1 -1
  914. data/lib/hubspot/codegen/marketing/transactional/configuration.rb +1 -1
  915. data/lib/hubspot/codegen/marketing/transactional/models/collection_response_smtp_api_token_view_forward_paging.rb +14 -14
  916. data/lib/hubspot/codegen/marketing/transactional/models/email_send_status_view.rb +26 -26
  917. data/lib/hubspot/codegen/marketing/transactional/models/error.rb +51 -51
  918. data/lib/hubspot/codegen/marketing/transactional/models/error_detail.rb +29 -29
  919. data/lib/hubspot/codegen/marketing/transactional/models/event_id_view.rb +1 -1
  920. data/lib/hubspot/codegen/marketing/transactional/models/forward_paging.rb +1 -1
  921. data/lib/hubspot/codegen/marketing/transactional/models/next_page.rb +16 -14
  922. data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_email.rb +37 -37
  923. data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_request_egg.rb +17 -17
  924. data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_request_egg.rb +1 -1
  925. data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_view.rb +47 -47
  926. data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +2 -0
  927. data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +2 -0
  928. data/lib/hubspot/codegen/oauth/api/tokens_api.rb +2 -0
  929. data/lib/hubspot/codegen/oauth/api_client.rb +2 -0
  930. data/lib/hubspot/codegen/oauth/api_error.rb +2 -0
  931. data/lib/hubspot/codegen/oauth/configuration.rb +2 -0
  932. data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +59 -96
  933. data/lib/hubspot/codegen/oauth/models/error.rb +52 -50
  934. data/lib/hubspot/codegen/oauth/models/error_detail.rb +30 -28
  935. data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +63 -53
  936. data/lib/hubspot/codegen/oauth/models/token_response_if.rb +28 -21
  937. data/lib/hubspot/codegen/settings/business_units/api/business_unit_api.rb +1 -1
  938. data/lib/hubspot/codegen/settings/business_units/api_client.rb +1 -1
  939. data/lib/hubspot/codegen/settings/business_units/api_error.rb +1 -1
  940. data/lib/hubspot/codegen/settings/business_units/configuration.rb +1 -1
  941. data/lib/hubspot/codegen/settings/business_units/models/collection_response_public_business_unit_no_paging.rb +1 -1
  942. data/lib/hubspot/codegen/settings/business_units/models/error.rb +1 -1
  943. data/lib/hubspot/codegen/settings/business_units/models/error_detail.rb +1 -1
  944. data/lib/hubspot/codegen/settings/business_units/models/public_business_unit.rb +1 -1
  945. data/lib/hubspot/codegen/settings/business_units/models/public_business_unit_logo_metadata.rb +1 -1
  946. data/lib/hubspot/codegen/settings/users/api/roles_api.rb +1 -1
  947. data/lib/hubspot/codegen/settings/users/api/teams_api.rb +1 -1
  948. data/lib/hubspot/codegen/settings/users/api/users_api.rb +1 -1
  949. data/lib/hubspot/codegen/settings/users/api_client.rb +1 -1
  950. data/lib/hubspot/codegen/settings/users/api_error.rb +1 -1
  951. data/lib/hubspot/codegen/settings/users/configuration.rb +1 -1
  952. data/lib/hubspot/codegen/settings/users/models/collection_response_public_permission_set_no_paging.rb +1 -1
  953. data/lib/hubspot/codegen/settings/users/models/collection_response_public_team_no_paging.rb +1 -1
  954. data/lib/hubspot/codegen/settings/users/models/collection_response_public_user_forward_paging.rb +14 -14
  955. data/lib/hubspot/codegen/settings/users/models/error.rb +51 -51
  956. data/lib/hubspot/codegen/settings/users/models/error_detail.rb +29 -29
  957. data/lib/hubspot/codegen/settings/users/models/forward_paging.rb +1 -1
  958. data/lib/hubspot/codegen/settings/users/models/next_page.rb +14 -14
  959. data/lib/hubspot/codegen/settings/users/models/public_permission_set.rb +22 -22
  960. data/lib/hubspot/codegen/settings/users/models/public_team.rb +24 -24
  961. data/lib/hubspot/codegen/settings/users/models/public_user.rb +58 -29
  962. data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +12 -12
  963. data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +26 -31
  964. data/lib/hubspot/codegen/webhooks/api/settings_api.rb +1 -1
  965. data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +1 -1
  966. data/lib/hubspot/codegen/webhooks/api_client.rb +1 -1
  967. data/lib/hubspot/codegen/webhooks/api_error.rb +1 -1
  968. data/lib/hubspot/codegen/webhooks/configuration.rb +1 -1
  969. data/lib/hubspot/codegen/webhooks/models/batch_input_subscription_batch_update_request.rb +1 -1
  970. data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response.rb +42 -42
  971. data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response_with_errors.rb +53 -53
  972. data/lib/hubspot/codegen/webhooks/models/error.rb +51 -51
  973. data/lib/hubspot/codegen/webhooks/models/error_detail.rb +29 -29
  974. data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +20 -20
  975. data/lib/hubspot/codegen/webhooks/models/settings_response.rb +22 -22
  976. data/lib/hubspot/codegen/webhooks/models/standard_error.rb +47 -47
  977. data/lib/hubspot/codegen/webhooks/models/subscription_batch_update_request.rb +19 -19
  978. data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +15 -15
  979. data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +1 -1
  980. data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +1 -1
  981. data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +27 -27
  982. data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +20 -20
  983. data/lib/hubspot/discovery/crm/contacts/api/gdpr_api.rb +1 -1
  984. data/lib/hubspot/discovery/crm/extensions/accounting/client.rb +1 -0
  985. data/lib/hubspot/discovery/crm/extensions/calling/api/recording_settings_api.rb +15 -0
  986. data/lib/hubspot/discovery/crm/extensions/calling/client.rb +1 -0
  987. data/lib/hubspot/discovery/{files/files/api/folders_api.rb → crm/line_items/api/gdpr_api.rb} +3 -3
  988. data/lib/hubspot/discovery/crm/line_items/client.rb +1 -0
  989. data/lib/hubspot/discovery/crm/objects/api/gdpr_api.rb +1 -1
  990. data/lib/hubspot/discovery/crm/objects/calls/api/gdpr_api.rb +15 -0
  991. data/lib/hubspot/discovery/crm/objects/calls/client.rb +1 -0
  992. data/lib/hubspot/discovery/crm/objects/communications/api/gdpr_api.rb +15 -0
  993. data/lib/hubspot/discovery/crm/objects/communications/client.rb +1 -0
  994. data/lib/hubspot/discovery/crm/objects/emails/api/gdpr_api.rb +15 -0
  995. data/lib/hubspot/discovery/crm/objects/emails/client.rb +1 -0
  996. data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/gdpr_api.rb +15 -0
  997. data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +1 -0
  998. data/lib/hubspot/discovery/crm/objects/goals/api/gdpr_api.rb +1 -1
  999. data/lib/hubspot/discovery/crm/objects/meetings/api/gdpr_api.rb +15 -0
  1000. data/lib/hubspot/discovery/crm/objects/meetings/client.rb +1 -0
  1001. data/lib/hubspot/discovery/crm/objects/notes/api/gdpr_api.rb +15 -0
  1002. data/lib/hubspot/discovery/crm/objects/notes/client.rb +1 -0
  1003. data/lib/hubspot/discovery/crm/objects/postal_mail/api/gdpr_api.rb +15 -0
  1004. data/lib/hubspot/discovery/crm/objects/postal_mail/client.rb +1 -0
  1005. data/lib/hubspot/discovery/crm/objects/tasks/api/gdpr_api.rb +15 -0
  1006. data/lib/hubspot/discovery/crm/objects/tasks/client.rb +1 -0
  1007. data/lib/hubspot/discovery/crm/objects/taxes/api/gdpr_api.rb +1 -1
  1008. data/lib/hubspot/discovery/{files/files/api/files_api.rb → crm/products/api/gdpr_api.rb} +3 -3
  1009. data/lib/hubspot/discovery/crm/products/client.rb +1 -0
  1010. data/lib/hubspot/discovery/crm/quotes/api/gdpr_api.rb +13 -0
  1011. data/lib/hubspot/discovery/crm/quotes/client.rb +1 -0
  1012. data/lib/hubspot/discovery/crm/tickets/api/gdpr_api.rb +13 -0
  1013. data/lib/hubspot/discovery/crm/tickets/client.rb +1 -0
  1014. data/lib/hubspot/discovery/events/send/api/{behavioral_events_tracking_api.rb → custom_event_data_api.rb} +1 -1
  1015. data/lib/hubspot/discovery/events/send/client.rb +1 -1
  1016. data/lib/hubspot/discovery/files/api/files_api.rb +11 -0
  1017. data/lib/hubspot/discovery/files/api/folders_api.rb +11 -0
  1018. data/lib/hubspot/discovery/files/client.rb +2 -1
  1019. data/lib/hubspot/discovery/marketing/events/api/{settings_external_api.rb → basic_api.rb} +1 -1
  1020. data/lib/hubspot/discovery/marketing/events/api/batch_api.rb +13 -0
  1021. data/lib/hubspot/discovery/marketing/events/api/settings_api.rb +13 -0
  1022. data/lib/hubspot/discovery/marketing/events/api/subscriber_state_changes_api.rb +13 -0
  1023. data/lib/hubspot/discovery/marketing/events/client.rb +4 -1
  1024. data/lib/hubspot/helpers/camel_case.rb +4 -1
  1025. data/lib/hubspot/version.rb +1 -1
  1026. data/spec/discovery/cms/source-code/content_api_spec.rb +2 -2
  1027. data/spec/discovery/crm/associations/v4/schema/definitions_api_spec.rb +1 -1
  1028. data/spec/discovery/crm/contacts/gdpr_api_spec.rb +1 -1
  1029. data/spec/discovery/crm/extensions/calling/recording_settings_api_spec.rb +9 -0
  1030. data/spec/discovery/crm/line_items/gdpr_api_spec.rb +7 -0
  1031. data/spec/discovery/crm/lists/memberships_api_spec.rb +1 -1
  1032. data/spec/discovery/crm/objects/calls/gdpr_api_spec.rb +7 -0
  1033. data/spec/discovery/crm/objects/communications/gdpr_api_spec.rb +7 -0
  1034. data/spec/discovery/crm/objects/emails/gdpr_api_spec.rb +7 -0
  1035. data/spec/discovery/crm/objects/feedback_submissions/gdpr_api_spec.rb +7 -0
  1036. data/spec/discovery/crm/objects/meetings/gdpr_api_spec.rb +7 -0
  1037. data/spec/discovery/crm/objects/notes/gdpr_api_spec.rb +7 -0
  1038. data/spec/discovery/crm/objects/postal_mail/gdpr_api_spec.rb +7 -0
  1039. data/spec/discovery/crm/objects/tasks/gdpr_api_spec.rb +7 -0
  1040. data/spec/discovery/crm/products/gdpr_api_spec.rb +7 -0
  1041. data/spec/discovery/crm/quotes/gdpr_api_spec.rb +7 -0
  1042. data/spec/discovery/crm/tickets/gdpr_api_spec.rb +7 -0
  1043. data/spec/discovery/events/send/{behavioral_events_tracking_api_spec.rb → custom_event_data_api_spec.rb} +2 -2
  1044. data/spec/discovery/files/{files/files_api_spec.rb → files_api_spec.rb} +2 -2
  1045. data/spec/discovery/files/{files/folders_api_spec.rb → folders_api_spec.rb} +2 -2
  1046. data/spec/discovery/marketing/events/basic_api_spec.rb +12 -0
  1047. data/spec/discovery/marketing/events/batch_api_spec.rb +8 -0
  1048. data/spec/discovery/marketing/events/marketing_events_external_api_spec.rb +0 -11
  1049. data/spec/discovery/marketing/events/{settings_external_api_spec.rb → settings_api_spec.rb} +2 -2
  1050. data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +8 -0
  1051. metadata +149 -145
  1052. data/lib/hubspot/codegen/crm/associations/models/collection_response_public_association_definition_no_paging.rb +0 -230
  1053. data/lib/hubspot/codegen/crm/associations/models/error_category.rb +0 -276
  1054. data/lib/hubspot/codegen/crm/associations/schema/models/batch_response_public_association.rb +0 -328
  1055. data/lib/hubspot/codegen/crm/associations/schema/models/batch_response_public_association_multi.rb +0 -328
  1056. data/lib/hubspot/codegen/crm/associations/schema/models/batch_response_public_association_multi_with_errors.rb +0 -348
  1057. data/lib/hubspot/codegen/crm/associations/schema/models/error_category.rb +0 -278
  1058. data/lib/hubspot/codegen/crm/associations/schema/models/next_page.rb +0 -239
  1059. data/lib/hubspot/codegen/crm/associations/schema/models/paging.rb +0 -234
  1060. data/lib/hubspot/codegen/crm/associations/schema/models/previous_page.rb +0 -239
  1061. data/lib/hubspot/codegen/crm/associations/schema/models/public_association.rb +0 -258
  1062. data/lib/hubspot/codegen/crm/associations/schema/models/public_association_multi.rb +0 -256
  1063. data/lib/hubspot/codegen/crm/associations/schema/models/public_object_id.rb +0 -231
  1064. data/lib/hubspot/codegen/crm/associations/schema/models/standard_error.rb +0 -324
  1065. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_simple_public_object_batch_input.rb +0 -232
  1066. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_simple_public_object_id.rb +0 -232
  1067. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_simple_public_object_input_for_create.rb +0 -232
  1068. data/lib/hubspot/codegen/crm/associations/v4/models/batch_read_input_simple_public_object_id.rb +0 -273
  1069. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object.rb +0 -328
  1070. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object_with_errors.rb +0 -348
  1071. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_simple_public_object_with_associations_forward_paging.rb +0 -241
  1072. data/lib/hubspot/codegen/crm/associations/v4/models/error_category.rb +0 -278
  1073. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_create_request.rb +0 -244
  1074. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_update_request.rb +0 -244
  1075. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object.rb +0 -303
  1076. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_batch_input.rb +0 -246
  1077. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_input_for_create.rb +0 -248
  1078. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_with_associations.rb +0 -314
  1079. data/lib/hubspot/codegen/crm/associations/v4/models/standard_error1.rb +0 -324
  1080. data/lib/hubspot/codegen/crm/associations/v4/models/value_with_timestamp.rb +0 -285
  1081. data/lib/hubspot/codegen/crm/associations/v4/schema/models/association_spec.rb +0 -280
  1082. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_multi_archive.rb +0 -234
  1083. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_multi_post.rb +0 -234
  1084. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_default_association_multi_post.rb +0 -234
  1085. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_fetch_associations_batch_request.rb +0 -234
  1086. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_labels_between_object_pair.rb +0 -330
  1087. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_labels_between_object_pair_with_errors.rb +0 -350
  1088. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_multi_with_label.rb +0 -330
  1089. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_multi_with_label_with_errors.rb +0 -350
  1090. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_default_association.rb +0 -350
  1091. data/lib/hubspot/codegen/crm/associations/v4/schema/models/error_category.rb +0 -280
  1092. data/lib/hubspot/codegen/crm/associations/v4/schema/models/labels_between_object_pair.rb +0 -290
  1093. data/lib/hubspot/codegen/crm/associations/v4/schema/models/multi_associated_object_with_label.rb +0 -248
  1094. data/lib/hubspot/codegen/crm/associations/v4/schema/models/next_page.rb +0 -241
  1095. data/lib/hubspot/codegen/crm/associations/v4/schema/models/paging.rb +0 -236
  1096. data/lib/hubspot/codegen/crm/associations/v4/schema/models/previous_page.rb +0 -241
  1097. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_archive.rb +0 -248
  1098. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_post.rb +0 -262
  1099. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_with_label.rb +0 -257
  1100. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_default_association.rb +0 -260
  1101. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_default_association_multi_post.rb +0 -246
  1102. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_fetch_associations_batch_request.rb +0 -241
  1103. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_object_id.rb +0 -232
  1104. data/lib/hubspot/codegen/crm/associations/v4/schema/models/standard_error.rb +0 -326
  1105. data/lib/hubspot/codegen/crm/contacts/models/error_category.rb +0 -276
  1106. data/lib/hubspot/codegen/crm/deals/models/error_category.rb +0 -276
  1107. data/lib/hubspot/codegen/crm/line_items/models/error_category.rb +0 -276
  1108. data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +0 -275
  1109. data/lib/hubspot/codegen/crm/objects/calls/models/error_category.rb +0 -278
  1110. data/lib/hubspot/codegen/crm/objects/communications/models/error_category.rb +0 -278
  1111. data/lib/hubspot/codegen/crm/objects/emails/models/error_category.rb +0 -278
  1112. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_category.rb +0 -278
  1113. data/lib/hubspot/codegen/crm/objects/meetings/models/error_category.rb +0 -278
  1114. data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id_forward_paging.rb +0 -239
  1115. data/lib/hubspot/codegen/crm/objects/models/error_category.rb +0 -276
  1116. data/lib/hubspot/codegen/crm/objects/notes/models/error_category.rb +0 -278
  1117. data/lib/hubspot/codegen/crm/objects/postal_mail/models/error_category.rb +0 -278
  1118. data/lib/hubspot/codegen/crm/objects/tasks/models/error_category.rb +0 -278
  1119. data/lib/hubspot/codegen/crm/products/models/error_category.rb +0 -276
  1120. data/lib/hubspot/codegen/crm/properties/models/error_category.rb +0 -276
  1121. data/lib/hubspot/codegen/crm/quotes/models/error_category.rb +0 -276
  1122. data/lib/hubspot/codegen/crm/tickets/models/error_category.rb +0 -276
  1123. data/lib/hubspot/codegen/crm/timeline/models/error_category.rb +0 -276
  1124. data/lib/hubspot/codegen/files/files/api/files_api.rb +0 -815
  1125. data/lib/hubspot/codegen/files/files/api/folders_api.rb +0 -605
  1126. data/lib/hubspot/codegen/files/files/api_client.rb +0 -410
  1127. data/lib/hubspot/codegen/files/files/api_error.rb +0 -61
  1128. data/lib/hubspot/codegen/files/files/configuration.rb +0 -287
  1129. data/lib/hubspot/codegen/files/files/models/error.rb +0 -305
  1130. data/lib/hubspot/codegen/files/files/models/error_category.rb +0 -276
  1131. data/lib/hubspot/codegen/files/files/models/file_action_response.rb +0 -361
  1132. data/lib/hubspot/codegen/files/files/models/file_update_input.rb +0 -299
  1133. data/lib/hubspot/codegen/files/files/models/folder.rb +0 -314
  1134. data/lib/hubspot/codegen/files/files/models/folder_action_response.rb +0 -361
  1135. data/lib/hubspot/codegen/files/files/models/folder_input.rb +0 -250
  1136. data/lib/hubspot/codegen/files/files/models/folder_update_input.rb +0 -250
  1137. data/lib/hubspot/codegen/files/files/models/hubspot_file.rb +0 -454
  1138. data/lib/hubspot/codegen/files/files/models/import_from_url_input.rb +0 -387
  1139. data/lib/hubspot/codegen/files/files/models/import_from_url_task_locator.rb +0 -242
  1140. data/lib/hubspot/codegen/files/files/models/paging.rb +0 -232
  1141. data/lib/hubspot/codegen/files/files/models/signed_url.rb +0 -324
  1142. data/lib/hubspot/codegen/files/files/models/standard_error.rb +0 -322
  1143. data/lib/hubspot/codegen/marketing/events/models/error_category.rb +0 -276
  1144. data/lib/hubspot/discovery/files/files/client.rb +0 -20
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #CrmPublicAssociationsServiceV4
2
+ #CRM Associations Schema
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
@@ -23,43 +23,43 @@ module Hubspot
23
23
  def initialize(api_client = ApiClient.default)
24
24
  @api_client = api_client
25
25
  end
26
- # Create
27
- # Create a user defined association definition
26
+ # Delete
27
+ # Deletes an association definition
28
28
  # @param from_object_type [String]
29
29
  # @param to_object_type [String]
30
- # @param public_association_definition_create_request [PublicAssociationDefinitionCreateRequest]
30
+ # @param association_type_id [Integer]
31
31
  # @param [Hash] opts the optional parameters
32
- # @return [CollectionResponseAssociationSpecWithLabelNoPaging]
33
- def create(from_object_type, to_object_type, public_association_definition_create_request, opts = {})
34
- data, _status_code, _headers = create_with_http_info(from_object_type, to_object_type, public_association_definition_create_request, opts)
35
- data
32
+ # @return [nil]
33
+ def archive(from_object_type, to_object_type, association_type_id, opts = {})
34
+ archive_with_http_info(from_object_type, to_object_type, association_type_id, opts)
35
+ nil
36
36
  end
37
37
 
38
- # Create
39
- # Create a user defined association definition
38
+ # Delete
39
+ # Deletes an association definition
40
40
  # @param from_object_type [String]
41
41
  # @param to_object_type [String]
42
- # @param public_association_definition_create_request [PublicAssociationDefinitionCreateRequest]
42
+ # @param association_type_id [Integer]
43
43
  # @param [Hash] opts the optional parameters
44
- # @return [Array<(CollectionResponseAssociationSpecWithLabelNoPaging, Integer, Hash)>] CollectionResponseAssociationSpecWithLabelNoPaging data, response status code and response headers
45
- def create_with_http_info(from_object_type, to_object_type, public_association_definition_create_request, opts = {})
44
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
45
+ def archive_with_http_info(from_object_type, to_object_type, association_type_id, opts = {})
46
46
  if @api_client.config.debugging
47
- @api_client.config.logger.debug 'Calling API: DefinitionsApi.create ...'
47
+ @api_client.config.logger.debug 'Calling API: DefinitionsApi.archive ...'
48
48
  end
49
49
  # verify the required parameter 'from_object_type' is set
50
50
  if @api_client.config.client_side_validation && from_object_type.nil?
51
- fail ArgumentError, "Missing the required parameter 'from_object_type' when calling DefinitionsApi.create"
51
+ fail ArgumentError, "Missing the required parameter 'from_object_type' when calling DefinitionsApi.archive"
52
52
  end
53
53
  # verify the required parameter 'to_object_type' is set
54
54
  if @api_client.config.client_side_validation && to_object_type.nil?
55
- fail ArgumentError, "Missing the required parameter 'to_object_type' when calling DefinitionsApi.create"
55
+ fail ArgumentError, "Missing the required parameter 'to_object_type' when calling DefinitionsApi.archive"
56
56
  end
57
- # verify the required parameter 'public_association_definition_create_request' is set
58
- if @api_client.config.client_side_validation && public_association_definition_create_request.nil?
59
- fail ArgumentError, "Missing the required parameter 'public_association_definition_create_request' when calling DefinitionsApi.create"
57
+ # verify the required parameter 'association_type_id' is set
58
+ if @api_client.config.client_side_validation && association_type_id.nil?
59
+ fail ArgumentError, "Missing the required parameter 'association_type_id' when calling DefinitionsApi.archive"
60
60
  end
61
61
  # resource path
62
- local_var_path = '/crm/v4/associations/{fromObjectType}/{toObjectType}/labels'.sub('{' + 'fromObjectType' + '}', CGI.escape(from_object_type.to_s)).sub('{' + 'toObjectType' + '}', CGI.escape(to_object_type.to_s))
62
+ local_var_path = '/crm/v4/associations/{fromObjectType}/{toObjectType}/labels/{associationTypeId}'.sub('{' + 'fromObjectType' + '}', CGI.escape(from_object_type.to_s)).sub('{' + 'toObjectType' + '}', CGI.escape(to_object_type.to_s)).sub('{' + 'associationTypeId' + '}', CGI.escape(association_type_id.to_s))
63
63
 
64
64
  # query parameters
65
65
  query_params = opts[:query_params] || {}
@@ -67,27 +67,22 @@ module Hubspot
67
67
  # header parameters
68
68
  header_params = opts[:header_params] || {}
69
69
  # HTTP header 'Accept' (if needed)
70
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
71
- # HTTP header 'Content-Type'
72
- content_type = @api_client.select_header_content_type(['application/json'])
73
- if !content_type.nil?
74
- header_params['Content-Type'] = content_type
75
- end
70
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
76
71
 
77
72
  # form parameters
78
73
  form_params = opts[:form_params] || {}
79
74
 
80
75
  # http body (model)
81
- post_body = opts[:debug_body] || @api_client.object_to_http_body(public_association_definition_create_request)
76
+ post_body = opts[:debug_body]
82
77
 
83
78
  # return_type
84
- return_type = opts[:debug_return_type] || 'CollectionResponseAssociationSpecWithLabelNoPaging'
79
+ return_type = opts[:debug_return_type]
85
80
 
86
81
  # auth_names
87
82
  auth_names = opts[:debug_auth_names] || ['oauth2']
88
83
 
89
84
  new_options = opts.merge(
90
- :operation => :"DefinitionsApi.create",
85
+ :operation => :"DefinitionsApi.archive",
91
86
  :header_params => header_params,
92
87
  :query_params => query_params,
93
88
  :form_params => form_params,
@@ -96,50 +91,50 @@ module Hubspot
96
91
  :return_type => return_type
97
92
  )
98
93
 
99
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
94
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
100
95
  if @api_client.config.debugging
101
- @api_client.config.logger.debug "API called: DefinitionsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
96
+ @api_client.config.logger.debug "API called: DefinitionsApi#archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
102
97
  end
103
98
  return data, status_code, headers
104
99
  end
105
100
 
106
- # Delete
107
- # Deletes an association definition
101
+ # Create
102
+ # Create a user defined association definition
108
103
  # @param from_object_type [String]
109
104
  # @param to_object_type [String]
110
- # @param association_type_id [Integer]
105
+ # @param public_association_definition_create_request [PublicAssociationDefinitionCreateRequest]
111
106
  # @param [Hash] opts the optional parameters
112
- # @return [nil]
113
- def delete(from_object_type, to_object_type, association_type_id, opts = {})
114
- delete_with_http_info(from_object_type, to_object_type, association_type_id, opts)
115
- nil
107
+ # @return [CollectionResponseAssociationSpecWithLabelNoPaging]
108
+ def create(from_object_type, to_object_type, public_association_definition_create_request, opts = {})
109
+ data, _status_code, _headers = create_with_http_info(from_object_type, to_object_type, public_association_definition_create_request, opts)
110
+ data
116
111
  end
117
112
 
118
- # Delete
119
- # Deletes an association definition
113
+ # Create
114
+ # Create a user defined association definition
120
115
  # @param from_object_type [String]
121
116
  # @param to_object_type [String]
122
- # @param association_type_id [Integer]
117
+ # @param public_association_definition_create_request [PublicAssociationDefinitionCreateRequest]
123
118
  # @param [Hash] opts the optional parameters
124
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
125
- def delete_with_http_info(from_object_type, to_object_type, association_type_id, opts = {})
119
+ # @return [Array<(CollectionResponseAssociationSpecWithLabelNoPaging, Integer, Hash)>] CollectionResponseAssociationSpecWithLabelNoPaging data, response status code and response headers
120
+ def create_with_http_info(from_object_type, to_object_type, public_association_definition_create_request, opts = {})
126
121
  if @api_client.config.debugging
127
- @api_client.config.logger.debug 'Calling API: DefinitionsApi.delete ...'
122
+ @api_client.config.logger.debug 'Calling API: DefinitionsApi.create ...'
128
123
  end
129
124
  # verify the required parameter 'from_object_type' is set
130
125
  if @api_client.config.client_side_validation && from_object_type.nil?
131
- fail ArgumentError, "Missing the required parameter 'from_object_type' when calling DefinitionsApi.delete"
126
+ fail ArgumentError, "Missing the required parameter 'from_object_type' when calling DefinitionsApi.create"
132
127
  end
133
128
  # verify the required parameter 'to_object_type' is set
134
129
  if @api_client.config.client_side_validation && to_object_type.nil?
135
- fail ArgumentError, "Missing the required parameter 'to_object_type' when calling DefinitionsApi.delete"
130
+ fail ArgumentError, "Missing the required parameter 'to_object_type' when calling DefinitionsApi.create"
136
131
  end
137
- # verify the required parameter 'association_type_id' is set
138
- if @api_client.config.client_side_validation && association_type_id.nil?
139
- fail ArgumentError, "Missing the required parameter 'association_type_id' when calling DefinitionsApi.delete"
132
+ # verify the required parameter 'public_association_definition_create_request' is set
133
+ if @api_client.config.client_side_validation && public_association_definition_create_request.nil?
134
+ fail ArgumentError, "Missing the required parameter 'public_association_definition_create_request' when calling DefinitionsApi.create"
140
135
  end
141
136
  # resource path
142
- local_var_path = '/crm/v4/associations/{fromObjectType}/{toObjectType}/labels/{associationTypeId}'.sub('{' + 'fromObjectType' + '}', CGI.escape(from_object_type.to_s)).sub('{' + 'toObjectType' + '}', CGI.escape(to_object_type.to_s)).sub('{' + 'associationTypeId' + '}', CGI.escape(association_type_id.to_s))
137
+ local_var_path = '/crm/v4/associations/{fromObjectType}/{toObjectType}/labels'.sub('{' + 'fromObjectType' + '}', CGI.escape(from_object_type.to_s)).sub('{' + 'toObjectType' + '}', CGI.escape(to_object_type.to_s))
143
138
 
144
139
  # query parameters
145
140
  query_params = opts[:query_params] || {}
@@ -147,22 +142,27 @@ module Hubspot
147
142
  # header parameters
148
143
  header_params = opts[:header_params] || {}
149
144
  # HTTP header 'Accept' (if needed)
150
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
145
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
146
+ # HTTP header 'Content-Type'
147
+ content_type = @api_client.select_header_content_type(['application/json'])
148
+ if !content_type.nil?
149
+ header_params['Content-Type'] = content_type
150
+ end
151
151
 
152
152
  # form parameters
153
153
  form_params = opts[:form_params] || {}
154
154
 
155
155
  # http body (model)
156
- post_body = opts[:debug_body]
156
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(public_association_definition_create_request)
157
157
 
158
158
  # return_type
159
- return_type = opts[:debug_return_type]
159
+ return_type = opts[:debug_return_type] || 'CollectionResponseAssociationSpecWithLabelNoPaging'
160
160
 
161
161
  # auth_names
162
162
  auth_names = opts[:debug_auth_names] || ['oauth2']
163
163
 
164
164
  new_options = opts.merge(
165
- :operation => :"DefinitionsApi.delete",
165
+ :operation => :"DefinitionsApi.create",
166
166
  :header_params => header_params,
167
167
  :query_params => query_params,
168
168
  :form_params => form_params,
@@ -171,9 +171,9 @@ module Hubspot
171
171
  :return_type => return_type
172
172
  )
173
173
 
174
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
174
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
175
175
  if @api_client.config.debugging
176
- @api_client.config.logger.debug "API called: DefinitionsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
176
+ @api_client.config.logger.debug "API called: DefinitionsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
177
177
  end
178
178
  return data, status_code, headers
179
179
  end
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #CrmPublicAssociationsServiceV4
2
+ #CRM Associations Schema
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
@@ -296,7 +296,7 @@ module Hubspot
296
296
  end
297
297
  else
298
298
  # models (e.g. Pet) or oneOf
299
- klass = Hubspot::Crm::Associations::V4.const_get(return_type)
299
+ klass = Hubspot::Crm::Associations::V4::Schema.const_get(return_type)
300
300
  klass.respond_to?(:openapi_one_of) ? klass.build(data) : klass.build_from_hash(data)
301
301
  end
302
302
  end
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #CrmPublicAssociationsServiceV4
2
+ #CRM Associations Schema
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #CrmPublicAssociationsServiceV4
2
+ #CRM Associations Schema
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #CrmPublicAssociationsServiceV4
2
+ #CRM Associations Schema
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
@@ -19,12 +19,12 @@ module Hubspot
19
19
  module V4
20
20
  module Schema
21
21
  class AssociationSpecWithLabel
22
- attr_accessor :category
23
-
24
22
  attr_accessor :type_id
25
23
 
26
24
  attr_accessor :label
27
25
 
26
+ attr_accessor :category
27
+
28
28
  class EnumAttributeValidator
29
29
  attr_reader :datatype
30
30
  attr_reader :allowable_values
@@ -50,9 +50,9 @@ module Hubspot
50
50
  # Attribute mapping from ruby-style variable name to JSON key.
51
51
  def self.attribute_map
52
52
  {
53
- :'category' => :'category',
54
53
  :'type_id' => :'typeId',
55
- :'label' => :'label'
54
+ :'label' => :'label',
55
+ :'category' => :'category'
56
56
  }
57
57
  end
58
58
 
@@ -64,9 +64,9 @@ module Hubspot
64
64
  # Attribute type mapping.
65
65
  def self.openapi_types
66
66
  {
67
- :'category' => :'String',
68
67
  :'type_id' => :'Integer',
69
- :'label' => :'String'
68
+ :'label' => :'String',
69
+ :'category' => :'String'
70
70
  }
71
71
  end
72
72
 
@@ -80,21 +80,17 @@ module Hubspot
80
80
  # @param [Hash] attributes Model attributes in the form of hash
81
81
  def initialize(attributes = {})
82
82
  if (!attributes.is_a?(Hash))
83
- fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Associations::V4::AssociationSpecWithLabel` initialize method"
83
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Associations::V4::Schema::AssociationSpecWithLabel` initialize method"
84
84
  end
85
85
 
86
86
  # check to see if the attribute exists and convert string to symbol for hash key
87
87
  attributes = attributes.each_with_object({}) { |(k, v), h|
88
88
  if (!self.class.attribute_map.key?(k.to_sym))
89
- fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Associations::V4::AssociationSpecWithLabel`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
89
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Associations::V4::Schema::AssociationSpecWithLabel`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
90
90
  end
91
91
  h[k.to_sym] = v
92
92
  }
93
93
 
94
- if attributes.key?(:'category')
95
- self.category = attributes[:'category']
96
- end
97
-
98
94
  if attributes.key?(:'type_id')
99
95
  self.type_id = attributes[:'type_id']
100
96
  end
@@ -102,30 +98,34 @@ module Hubspot
102
98
  if attributes.key?(:'label')
103
99
  self.label = attributes[:'label']
104
100
  end
101
+
102
+ if attributes.key?(:'category')
103
+ self.category = attributes[:'category']
104
+ end
105
105
  end
106
106
 
107
107
  # Show invalid properties with the reasons. Usually used together with valid?
108
108
  # @return Array for valid properties with the reasons
109
109
  def list_invalid_properties
110
110
  invalid_properties = Array.new
111
- if @category.nil?
112
- invalid_properties.push('invalid value for "category", category cannot be nil.')
113
- end
114
-
115
111
  if @type_id.nil?
116
112
  invalid_properties.push('invalid value for "type_id", type_id cannot be nil.')
117
113
  end
118
114
 
115
+ if @category.nil?
116
+ invalid_properties.push('invalid value for "category", category cannot be nil.')
117
+ end
118
+
119
119
  invalid_properties
120
120
  end
121
121
 
122
122
  # Check to see if the all the properties in the model are valid
123
123
  # @return true if the model is valid
124
124
  def valid?
125
+ return false if @type_id.nil?
125
126
  return false if @category.nil?
126
127
  category_validator = EnumAttributeValidator.new('String', ["HUBSPOT_DEFINED", "USER_DEFINED", "INTEGRATOR_DEFINED"])
127
128
  return false unless category_validator.valid?(@category)
128
- return false if @type_id.nil?
129
129
  true
130
130
  end
131
131
 
@@ -144,9 +144,9 @@ module Hubspot
144
144
  def ==(o)
145
145
  return true if self.equal?(o)
146
146
  self.class == o.class &&
147
- category == o.category &&
148
147
  type_id == o.type_id &&
149
- label == o.label
148
+ label == o.label &&
149
+ category == o.category
150
150
  end
151
151
 
152
152
  # @see the `==` method
@@ -158,7 +158,7 @@ module Hubspot
158
158
  # Calculates hash code according to all attributes.
159
159
  # @return [Integer] Hash code
160
160
  def hash
161
- [category, type_id, label].hash
161
+ [type_id, label, category].hash
162
162
  end
163
163
 
164
164
  # Builds the object from hash
@@ -229,7 +229,7 @@ module Hubspot
229
229
  end
230
230
  else # model
231
231
  # models (e.g. Pet) or oneOf
232
- klass = Hubspot::Crm::Associations::V4.const_get(type)
232
+ klass = Hubspot::Crm::Associations::V4::Schema.const_get(type)
233
233
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
234
234
  end
235
235
  end
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #CrmPublicAssociationsServiceV4
2
+ #CRM Associations Schema
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
@@ -50,13 +50,13 @@ module Hubspot
50
50
  # @param [Hash] attributes Model attributes in the form of hash
51
51
  def initialize(attributes = {})
52
52
  if (!attributes.is_a?(Hash))
53
- fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Associations::V4::CollectionResponseAssociationSpecWithLabelNoPaging` initialize method"
53
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Associations::V4::Schema::CollectionResponseAssociationSpecWithLabelNoPaging` initialize method"
54
54
  end
55
55
 
56
56
  # check to see if the attribute exists and convert string to symbol for hash key
57
57
  attributes = attributes.each_with_object({}) { |(k, v), h|
58
58
  if (!self.class.attribute_map.key?(k.to_sym))
59
- fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Associations::V4::CollectionResponseAssociationSpecWithLabelNoPaging`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
59
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Associations::V4::Schema::CollectionResponseAssociationSpecWithLabelNoPaging`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
60
60
  end
61
61
  h[k.to_sym] = v
62
62
  }
@@ -174,7 +174,7 @@ module Hubspot
174
174
  end
175
175
  else # model
176
176
  # models (e.g. Pet) or oneOf
177
- klass = Hubspot::Crm::Associations::V4.const_get(type)
177
+ klass = Hubspot::Crm::Associations::V4::Schema.const_get(type)
178
178
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
179
179
  end
180
180
  end
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #CrmPublicAssociationsServiceV4
2
+ #CRM Associations Schema
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
@@ -19,37 +19,37 @@ module Hubspot
19
19
  module V4
20
20
  module Schema
21
21
  class Error
22
- # A human readable message describing the error along with remediation steps where appropriate
23
- attr_accessor :message
22
+ # A specific category that contains more specific detail about the error
23
+ attr_accessor :sub_category
24
+
25
+ # Context about the error condition
26
+ attr_accessor :context
24
27
 
25
28
  # A unique identifier for the request. Include this value with any error reports or support tickets
26
29
  attr_accessor :correlation_id
27
30
 
31
+ # A map of link names to associated URIs containing documentation about the error or recommended remediation steps
32
+ attr_accessor :links
33
+
34
+ # A human readable message describing the error along with remediation steps where appropriate
35
+ attr_accessor :message
36
+
28
37
  # The error category
29
38
  attr_accessor :category
30
39
 
31
- # A specific category that contains more specific detail about the error
32
- attr_accessor :sub_category
33
-
34
40
  # further information about the error
35
41
  attr_accessor :errors
36
42
 
37
- # Context about the error condition
38
- attr_accessor :context
39
-
40
- # A map of link names to associated URIs containing documentation about the error or recommended remediation steps
41
- attr_accessor :links
42
-
43
43
  # Attribute mapping from ruby-style variable name to JSON key.
44
44
  def self.attribute_map
45
45
  {
46
- :'message' => :'message',
47
- :'correlation_id' => :'correlationId',
48
- :'category' => :'category',
49
46
  :'sub_category' => :'subCategory',
50
- :'errors' => :'errors',
51
47
  :'context' => :'context',
52
- :'links' => :'links'
48
+ :'correlation_id' => :'correlationId',
49
+ :'links' => :'links',
50
+ :'message' => :'message',
51
+ :'category' => :'category',
52
+ :'errors' => :'errors'
53
53
  }
54
54
  end
55
55
 
@@ -61,13 +61,13 @@ module Hubspot
61
61
  # Attribute type mapping.
62
62
  def self.openapi_types
63
63
  {
64
- :'message' => :'String',
65
- :'correlation_id' => :'String',
66
- :'category' => :'String',
67
64
  :'sub_category' => :'String',
68
- :'errors' => :'Array<ErrorDetail>',
69
65
  :'context' => :'Hash<String, Array<String>>',
70
- :'links' => :'Hash<String, String>'
66
+ :'correlation_id' => :'String',
67
+ :'links' => :'Hash<String, String>',
68
+ :'message' => :'String',
69
+ :'category' => :'String',
70
+ :'errors' => :'Array<ErrorDetail>'
71
71
  }
72
72
  end
73
73
 
@@ -81,64 +81,64 @@ module Hubspot
81
81
  # @param [Hash] attributes Model attributes in the form of hash
82
82
  def initialize(attributes = {})
83
83
  if (!attributes.is_a?(Hash))
84
- fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Associations::V4::Error` initialize method"
84
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Associations::V4::Schema::Error` initialize method"
85
85
  end
86
86
 
87
87
  # check to see if the attribute exists and convert string to symbol for hash key
88
88
  attributes = attributes.each_with_object({}) { |(k, v), h|
89
89
  if (!self.class.attribute_map.key?(k.to_sym))
90
- fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Associations::V4::Error`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
90
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Associations::V4::Schema::Error`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
91
91
  end
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'message')
96
- self.message = attributes[:'message']
97
- end
98
-
99
- if attributes.key?(:'correlation_id')
100
- self.correlation_id = attributes[:'correlation_id']
101
- end
102
-
103
- if attributes.key?(:'category')
104
- self.category = attributes[:'category']
105
- end
106
-
107
95
  if attributes.key?(:'sub_category')
108
96
  self.sub_category = attributes[:'sub_category']
109
97
  end
110
98
 
111
- if attributes.key?(:'errors')
112
- if (value = attributes[:'errors']).is_a?(Array)
113
- self.errors = value
114
- end
115
- end
116
-
117
99
  if attributes.key?(:'context')
118
100
  if (value = attributes[:'context']).is_a?(Hash)
119
101
  self.context = value
120
102
  end
121
103
  end
122
104
 
105
+ if attributes.key?(:'correlation_id')
106
+ self.correlation_id = attributes[:'correlation_id']
107
+ end
108
+
123
109
  if attributes.key?(:'links')
124
110
  if (value = attributes[:'links']).is_a?(Hash)
125
111
  self.links = value
126
112
  end
127
113
  end
114
+
115
+ if attributes.key?(:'message')
116
+ self.message = attributes[:'message']
117
+ end
118
+
119
+ if attributes.key?(:'category')
120
+ self.category = attributes[:'category']
121
+ end
122
+
123
+ if attributes.key?(:'errors')
124
+ if (value = attributes[:'errors']).is_a?(Array)
125
+ self.errors = value
126
+ end
127
+ end
128
128
  end
129
129
 
130
130
  # Show invalid properties with the reasons. Usually used together with valid?
131
131
  # @return Array for valid properties with the reasons
132
132
  def list_invalid_properties
133
133
  invalid_properties = Array.new
134
- if @message.nil?
135
- invalid_properties.push('invalid value for "message", message cannot be nil.')
136
- end
137
-
138
134
  if @correlation_id.nil?
139
135
  invalid_properties.push('invalid value for "correlation_id", correlation_id cannot be nil.')
140
136
  end
141
137
 
138
+ if @message.nil?
139
+ invalid_properties.push('invalid value for "message", message cannot be nil.')
140
+ end
141
+
142
142
  if @category.nil?
143
143
  invalid_properties.push('invalid value for "category", category cannot be nil.')
144
144
  end
@@ -149,8 +149,8 @@ module Hubspot
149
149
  # Check to see if the all the properties in the model are valid
150
150
  # @return true if the model is valid
151
151
  def valid?
152
- return false if @message.nil?
153
152
  return false if @correlation_id.nil?
153
+ return false if @message.nil?
154
154
  return false if @category.nil?
155
155
  true
156
156
  end
@@ -160,13 +160,13 @@ module Hubspot
160
160
  def ==(o)
161
161
  return true if self.equal?(o)
162
162
  self.class == o.class &&
163
- message == o.message &&
164
- correlation_id == o.correlation_id &&
165
- category == o.category &&
166
163
  sub_category == o.sub_category &&
167
- errors == o.errors &&
168
164
  context == o.context &&
169
- links == o.links
165
+ correlation_id == o.correlation_id &&
166
+ links == o.links &&
167
+ message == o.message &&
168
+ category == o.category &&
169
+ errors == o.errors
170
170
  end
171
171
 
172
172
  # @see the `==` method
@@ -178,7 +178,7 @@ module Hubspot
178
178
  # Calculates hash code according to all attributes.
179
179
  # @return [Integer] Hash code
180
180
  def hash
181
- [message, correlation_id, category, sub_category, errors, context, links].hash
181
+ [sub_category, context, correlation_id, links, message, category, errors].hash
182
182
  end
183
183
 
184
184
  # Builds the object from hash
@@ -249,7 +249,7 @@ module Hubspot
249
249
  end
250
250
  else # model
251
251
  # models (e.g. Pet) or oneOf
252
- klass = Hubspot::Crm::Associations::V4.const_get(type)
252
+ klass = Hubspot::Crm::Associations::V4::Schema.const_get(type)
253
253
  klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
254
254
  end
255
255
  end