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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (550) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +70 -1
  3. data/Gemfile.lock +1 -1
  4. data/README.md +83 -8
  5. data/lib/hubspot/client.rb +7 -0
  6. data/lib/hubspot/codegen/cms/blogs/blog_posts/api/basic_api.rb +1079 -0
  7. data/lib/hubspot/codegen/cms/blogs/blog_posts/api/batch_api.rb +306 -0
  8. data/lib/hubspot/codegen/cms/blogs/blog_posts/api/multi_language_api.rb +368 -0
  9. data/lib/hubspot/codegen/cms/blogs/blog_posts/models/blog_post.rb +18 -18
  10. data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +7 -7
  11. data/lib/hubspot/codegen/cms/hubdb/models/unified_collection_response_with_total_base_hub_db_table_row_v3.rb +1 -0
  12. data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +1 -1
  13. data/lib/hubspot/codegen/crm/associations/api_client.rb +1 -1
  14. data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
  15. data/lib/hubspot/codegen/crm/associations/configuration.rb +1 -1
  16. data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +1 -1
  17. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +1 -1
  18. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +1 -1
  19. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +1 -1
  20. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +1 -1
  21. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi_with_errors.rb +1 -1
  22. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_with_errors.rb +1 -1
  23. data/lib/hubspot/codegen/crm/associations/models/error.rb +1 -1
  24. data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +1 -1
  25. data/lib/hubspot/codegen/crm/associations/models/next_page.rb +1 -1
  26. data/lib/hubspot/codegen/crm/associations/models/paging.rb +1 -1
  27. data/lib/hubspot/codegen/crm/associations/models/previous_page.rb +1 -1
  28. data/lib/hubspot/codegen/crm/associations/models/public_association.rb +1 -1
  29. data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +1 -1
  30. data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +1 -1
  31. data/lib/hubspot/codegen/crm/associations/models/standard_error.rb +1 -1
  32. data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +1 -1
  33. data/lib/hubspot/codegen/crm/associations/schema/api_client.rb +1 -1
  34. data/lib/hubspot/codegen/crm/associations/schema/api_error.rb +1 -1
  35. data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +1 -1
  36. data/lib/hubspot/codegen/crm/associations/schema/models/collection_response_public_association_definition_no_paging.rb +1 -1
  37. data/lib/hubspot/codegen/crm/associations/schema/models/error.rb +1 -1
  38. data/lib/hubspot/codegen/crm/associations/schema/models/error_detail.rb +1 -1
  39. data/lib/hubspot/codegen/crm/associations/schema/models/public_association_definition.rb +1 -1
  40. data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +1 -1
  41. data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +3 -3
  42. data/lib/hubspot/codegen/crm/associations/v4/api/report_api.rb +91 -0
  43. data/lib/hubspot/codegen/crm/associations/v4/api_client.rb +1 -1
  44. data/lib/hubspot/codegen/crm/associations/v4/api_error.rb +1 -1
  45. data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +1 -1
  46. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec.rb +1 -1
  47. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +1 -1
  48. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_archive.rb +1 -1
  49. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_post.rb +1 -1
  50. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_default_association_multi_post.rb +1 -1
  51. data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_fetch_associations_batch_request.rb +1 -1
  52. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +1 -1
  53. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +1 -1
  54. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +1 -1
  55. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +1 -1
  56. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +1 -1
  57. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +1 -1
  58. data/lib/hubspot/codegen/crm/associations/v4/models/date_time.rb +258 -0
  59. data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +1 -1
  60. data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +1 -1
  61. data/lib/hubspot/codegen/crm/associations/v4/models/forward_paging.rb +1 -1
  62. data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +1 -1
  63. data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +1 -1
  64. data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +1 -1
  65. data/lib/hubspot/codegen/crm/associations/v4/models/paging.rb +1 -1
  66. data/lib/hubspot/codegen/crm/associations/v4/models/previous_page.rb +1 -1
  67. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_archive.rb +1 -1
  68. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +1 -1
  69. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +1 -1
  70. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +1 -1
  71. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association_multi_post.rb +1 -1
  72. data/lib/hubspot/codegen/crm/associations/v4/models/public_fetch_associations_batch_request.rb +1 -1
  73. data/lib/hubspot/codegen/crm/associations/v4/models/public_object_id.rb +1 -1
  74. data/lib/hubspot/codegen/crm/associations/v4/models/report_creation_response.rb +258 -0
  75. data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +1 -1
  76. data/lib/hubspot/codegen/crm/associations/v4/schema/api/definition_configurations_api.rb +396 -0
  77. data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +69 -69
  78. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_definition_configuration_create_request.rb +234 -0
  79. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_definition_configuration_update_request.rb +234 -0
  80. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_spec.rb +234 -0
  81. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_configuration_update_result.rb +330 -0
  82. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_configuration_update_result_with_errors.rb +350 -0
  83. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_user_configuration.rb +330 -0
  84. data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_user_configuration_with_errors.rb +350 -0
  85. data/lib/hubspot/codegen/crm/associations/v4/schema/models/collection_response_public_association_definition_user_configuration_no_paging.rb +234 -0
  86. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_create_request.rb +294 -0
  87. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_update_request.rb +294 -0
  88. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_update_result.rb +289 -0
  89. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_user_configuration.rb +298 -0
  90. data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_spec.rb +246 -0
  91. data/lib/hubspot/codegen/crm/associations/v4/schema/models/standard_error.rb +326 -0
  92. data/lib/hubspot/codegen/crm/commerce/invoices/api/basic_api.rb +391 -0
  93. data/lib/hubspot/codegen/crm/commerce/invoices/api/batch_api.rb +363 -0
  94. data/lib/hubspot/codegen/crm/{objects/feedback_submissions/api/public_object_api.rb → commerce/invoices/api/search_api.rb} +24 -22
  95. data/lib/hubspot/codegen/crm/commerce/invoices/api_client.rb +412 -0
  96. data/lib/hubspot/codegen/crm/commerce/invoices/api_error.rb +63 -0
  97. data/lib/hubspot/codegen/crm/commerce/invoices/configuration.rb +289 -0
  98. data/lib/hubspot/codegen/crm/commerce/invoices/models/associated_id.rb +244 -0
  99. data/lib/hubspot/codegen/crm/commerce/invoices/models/association_spec.rb +278 -0
  100. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_batch_input.rb +232 -0
  101. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  102. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_id.rb +232 -0
  103. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_input_for_create.rb +232 -0
  104. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_read_input_simple_public_object_id.rb +273 -0
  105. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_object.rb +328 -0
  106. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_object_with_errors.rb +348 -0
  107. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_upsert_object.rb +328 -0
  108. data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  109. data/lib/hubspot/codegen/crm/commerce/invoices/models/collection_response_associated_id.rb +241 -0
  110. data/lib/hubspot/codegen/crm/commerce/invoices/models/collection_response_simple_public_object_with_associations_forward_paging.rb +241 -0
  111. data/lib/hubspot/codegen/crm/{objects/feedback_submissions/models/public_merge_input.rb → commerce/invoices/models/collection_response_with_total_simple_public_object_forward_paging.rb} +37 -26
  112. data/lib/hubspot/codegen/crm/commerce/invoices/models/error.rb +307 -0
  113. data/lib/hubspot/codegen/crm/commerce/invoices/models/error_detail.rb +273 -0
  114. data/lib/hubspot/codegen/crm/commerce/invoices/models/filter.rb +308 -0
  115. data/lib/hubspot/codegen/crm/commerce/invoices/models/filter_group.rb +232 -0
  116. data/lib/hubspot/codegen/crm/commerce/invoices/models/forward_paging.rb +225 -0
  117. data/lib/hubspot/codegen/crm/commerce/invoices/models/next_page.rb +239 -0
  118. data/lib/hubspot/codegen/crm/commerce/invoices/models/paging.rb +234 -0
  119. data/lib/hubspot/codegen/crm/{objects/feedback_submissions/models/batch_input_simple_public_object_input_for_create.rb → commerce/invoices/models/previous_page.rb} +26 -19
  120. data/lib/hubspot/codegen/crm/commerce/invoices/models/public_associations_for_object.rb +246 -0
  121. data/lib/hubspot/codegen/crm/commerce/invoices/models/public_object_id.rb +230 -0
  122. data/lib/hubspot/codegen/crm/commerce/invoices/models/public_object_search_request.rb +276 -0
  123. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object.rb +303 -0
  124. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_batch_input.rb +264 -0
  125. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_batch_input_upsert.rb +264 -0
  126. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_id.rb +230 -0
  127. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_input.rb +241 -0
  128. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_input_for_create.rb +257 -0
  129. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_with_associations.rb +314 -0
  130. data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_upsert_object.rb +317 -0
  131. data/lib/hubspot/codegen/crm/commerce/invoices/models/standard_error.rb +324 -0
  132. data/lib/hubspot/codegen/crm/commerce/invoices/models/value_with_timestamp.rb +285 -0
  133. data/lib/hubspot/codegen/crm/exports/api/public_exports_api.rb +157 -0
  134. data/lib/hubspot/codegen/crm/exports/api_client.rb +410 -0
  135. data/lib/hubspot/codegen/crm/exports/api_error.rb +61 -0
  136. data/lib/hubspot/codegen/crm/exports/configuration.rb +287 -0
  137. data/lib/hubspot/codegen/crm/exports/models/action_response_with_single_result_uri.rb +339 -0
  138. data/lib/hubspot/codegen/crm/exports/models/error.rb +305 -0
  139. data/lib/hubspot/codegen/crm/exports/models/error_detail.rb +271 -0
  140. data/lib/hubspot/codegen/crm/exports/models/filter.rb +305 -0
  141. data/lib/hubspot/codegen/crm/exports/models/public_crm_search_request.rb +260 -0
  142. data/lib/hubspot/codegen/crm/exports/models/public_export_list_request.rb +420 -0
  143. data/lib/hubspot/codegen/crm/exports/models/public_export_list_request_all_of.rb +413 -0
  144. data/lib/hubspot/codegen/crm/exports/models/public_export_request.rb +109 -0
  145. data/lib/hubspot/codegen/crm/exports/models/public_export_view_request.rb +415 -0
  146. data/lib/hubspot/codegen/crm/exports/models/public_export_view_request_all_of.rb +408 -0
  147. data/lib/hubspot/codegen/crm/exports/models/standard_error.rb +322 -0
  148. data/lib/hubspot/codegen/crm/exports/models/task_locator.rb +239 -0
  149. data/lib/hubspot/codegen/crm/extensions/calling/api/channel_connection_settings_api.rb +302 -0
  150. data/lib/hubspot/codegen/crm/extensions/calling/api/recording_settings_api.rb +12 -12
  151. data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +10 -10
  152. data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_patch_request.rb +236 -0
  153. data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_request.rb +246 -0
  154. data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_response.rb +276 -0
  155. data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_response.rb +1 -0
  156. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +21 -1
  157. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +21 -1
  158. data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +31 -1
  159. data/lib/hubspot/codegen/crm/imports/api/core_api.rb +4 -4
  160. data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +6 -0
  161. data/lib/hubspot/codegen/crm/imports/models/import_row_core.rb +15 -1
  162. data/lib/hubspot/codegen/crm/imports/models/property_value.rb +514 -0
  163. data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +32 -5
  164. data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +17 -1
  165. data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +7 -6
  166. data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +11 -9
  167. data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +4 -0
  168. data/lib/hubspot/codegen/crm/line_items/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  169. data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +1 -0
  170. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +10 -1
  171. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +2 -0
  172. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_for_create.rb +250 -0
  173. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_upsert.rb +1 -0
  174. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +1 -10
  175. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +1 -15
  176. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +10 -1
  177. data/lib/hubspot/codegen/crm/line_items/models/simple_public_upsert_object.rb +10 -1
  178. data/lib/hubspot/codegen/crm/lists/models/public_form_submission_filter_coalescing_refine_by.rb +1 -0
  179. data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point_index_reference.rb +1 -0
  180. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filter_branches_inner.rb +1 -0
  181. data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filters_inner.rb +1 -0
  182. data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_value_filter_value_comparison.rb +1 -0
  183. data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation_time_point.rb +1 -0
  184. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +2 -1
  185. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +12 -10
  186. data/lib/hubspot/codegen/crm/objects/api/search_api.rb +1 -1
  187. data/lib/hubspot/codegen/crm/objects/api_client.rb +1 -1
  188. data/lib/hubspot/codegen/crm/objects/api_error.rb +1 -1
  189. data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +13 -12
  190. data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +17 -9
  191. data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +4 -0
  192. data/lib/hubspot/codegen/crm/objects/calls/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  193. data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +1 -0
  194. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +10 -1
  195. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +2 -0
  196. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input_for_create.rb +252 -0
  197. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input_upsert.rb +1 -0
  198. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +1 -10
  199. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +1 -15
  200. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +10 -1
  201. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_upsert_object.rb +10 -1
  202. data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +13 -12
  203. data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +17 -9
  204. data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +4 -0
  205. data/lib/hubspot/codegen/crm/objects/communications/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  206. data/lib/hubspot/codegen/crm/objects/communications/models/batch_read_input_simple_public_object_id.rb +1 -0
  207. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object.rb +10 -1
  208. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input.rb +2 -0
  209. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_for_create.rb +252 -0
  210. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_upsert.rb +1 -0
  211. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input.rb +1 -10
  212. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +1 -15
  213. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_with_associations.rb +10 -1
  214. data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_upsert_object.rb +10 -1
  215. data/lib/hubspot/codegen/crm/objects/configuration.rb +1 -1
  216. data/lib/hubspot/codegen/crm/objects/deal_splits/api/batch_api.rb +160 -0
  217. data/lib/hubspot/codegen/crm/objects/deal_splits/api_client.rb +412 -0
  218. data/lib/hubspot/codegen/crm/objects/deal_splits/api_error.rb +63 -0
  219. data/lib/hubspot/codegen/crm/objects/deal_splits/configuration.rb +289 -0
  220. data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_input_public_object_id.rb +232 -0
  221. data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_response_deal_to_deal_splits.rb +328 -0
  222. data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_response_deal_to_deal_splits_with_errors.rb +348 -0
  223. data/lib/hubspot/codegen/crm/objects/deal_splits/models/deal_to_deal_splits.rb +246 -0
  224. data/lib/hubspot/codegen/crm/objects/deal_splits/models/error.rb +307 -0
  225. data/lib/hubspot/codegen/crm/objects/deal_splits/models/error_detail.rb +273 -0
  226. data/lib/hubspot/codegen/crm/objects/{feedback_submissions/models/public_gdpr_delete_input.rb → deal_splits/models/public_deal_split_input.rb} +27 -22
  227. data/lib/hubspot/codegen/crm/objects/deal_splits/models/public_deal_splits_batch_create_request.rb +232 -0
  228. data/lib/hubspot/codegen/crm/objects/deal_splits/models/public_deal_splits_create_request.rb +246 -0
  229. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → deal_splits}/models/public_object_id.rb +5 -5
  230. data/lib/hubspot/codegen/crm/objects/deal_splits/models/simple_public_object.rb +303 -0
  231. data/lib/hubspot/codegen/crm/objects/deal_splits/models/standard_error.rb +331 -0
  232. data/lib/hubspot/codegen/crm/objects/deal_splits/models/value_with_timestamp.rb +285 -0
  233. data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +7 -6
  234. data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +11 -9
  235. data/lib/hubspot/codegen/crm/objects/emails/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  236. data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +1 -0
  237. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +10 -1
  238. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +2 -0
  239. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_for_create.rb +252 -0
  240. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_upsert.rb +1 -0
  241. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +1 -10
  242. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +1 -15
  243. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +10 -1
  244. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_upsert_object.rb +10 -1
  245. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +0 -208
  246. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +0 -198
  247. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_search_request.rb +0 -25
  248. data/lib/hubspot/codegen/crm/objects/goals/api/basic_api.rb +208 -0
  249. data/lib/hubspot/codegen/crm/objects/goals/api/batch_api.rb +266 -0
  250. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/association_spec.rb +5 -5
  251. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/batch_input_simple_public_object_batch_input.rb +5 -5
  252. data/lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
  253. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/batch_input_simple_public_object_id.rb +5 -5
  254. data/lib/hubspot/codegen/crm/objects/{tasks → goals}/models/batch_input_simple_public_object_input_for_create.rb +5 -5
  255. data/lib/hubspot/codegen/crm/objects/goals/models/batch_response_simple_public_upsert_object.rb +328 -0
  256. data/lib/hubspot/codegen/crm/objects/goals/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
  257. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/public_associations_for_object.rb +5 -5
  258. data/lib/hubspot/codegen/crm/objects/goals/models/public_object_id.rb +230 -0
  259. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/simple_public_object_batch_input.rb +15 -6
  260. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_upsert.rb +264 -0
  261. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/simple_public_object_input.rb +15 -6
  262. data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/simple_public_object_input_for_create.rb +15 -6
  263. data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_upsert_object.rb +317 -0
  264. data/lib/hubspot/codegen/crm/objects/leads/api/basic_api.rb +1 -0
  265. data/lib/hubspot/codegen/crm/objects/leads/api/batch_api.rb +13 -11
  266. data/lib/hubspot/codegen/crm/objects/leads/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  267. data/lib/hubspot/codegen/crm/objects/leads/models/batch_read_input_simple_public_object_id.rb +1 -0
  268. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object.rb +10 -1
  269. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input.rb +2 -0
  270. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input_for_create.rb +252 -0
  271. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input_upsert.rb +1 -0
  272. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_input.rb +1 -10
  273. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_input_for_create.rb +1 -15
  274. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_with_associations.rb +10 -1
  275. data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_upsert_object.rb +10 -1
  276. data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +7 -6
  277. data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +11 -9
  278. data/lib/hubspot/codegen/crm/objects/meetings/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  279. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +1 -0
  280. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +10 -1
  281. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +2 -0
  282. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input_for_create.rb +252 -0
  283. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input_upsert.rb +1 -0
  284. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +1 -10
  285. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +1 -15
  286. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +10 -1
  287. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_upsert_object.rb +10 -1
  288. data/lib/hubspot/codegen/crm/objects/models/associated_id.rb +1 -1
  289. data/lib/hubspot/codegen/crm/objects/models/association_spec.rb +1 -1
  290. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +1 -1
  291. data/lib/hubspot/codegen/crm/objects/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +5 -5
  292. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input_upsert.rb +1 -1
  293. data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +1 -1
  294. data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +2 -2
  295. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +1 -1
  296. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +1 -1
  297. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object.rb +1 -1
  298. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object_with_errors.rb +1 -1
  299. data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +1 -1
  300. data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_with_associations_forward_paging.rb +1 -1
  301. data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object_forward_paging.rb +1 -1
  302. data/lib/hubspot/codegen/crm/objects/models/error.rb +1 -1
  303. data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +1 -1
  304. data/lib/hubspot/codegen/crm/objects/models/filter.rb +1 -1
  305. data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +1 -1
  306. data/lib/hubspot/codegen/crm/objects/models/forward_paging.rb +1 -1
  307. data/lib/hubspot/codegen/crm/objects/models/next_page.rb +1 -1
  308. data/lib/hubspot/codegen/crm/objects/models/paging.rb +1 -1
  309. data/lib/hubspot/codegen/crm/objects/models/previous_page.rb +1 -1
  310. data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +1 -1
  311. data/lib/hubspot/codegen/crm/objects/models/public_object_id.rb +1 -1
  312. data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +1 -1
  313. data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +11 -2
  314. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +1 -1
  315. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input_for_create.rb +250 -0
  316. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input_upsert.rb +1 -1
  317. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +1 -1
  318. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +2 -11
  319. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +2 -16
  320. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +11 -2
  321. data/lib/hubspot/codegen/crm/objects/models/simple_public_upsert_object.rb +11 -2
  322. data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +1 -1
  323. data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +1 -1
  324. data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +7 -6
  325. data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +11 -9
  326. data/lib/hubspot/codegen/crm/objects/notes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  327. data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +1 -0
  328. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +10 -1
  329. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +2 -0
  330. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input_for_create.rb +252 -0
  331. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input_upsert.rb +1 -0
  332. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +1 -10
  333. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +1 -15
  334. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +10 -1
  335. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_upsert_object.rb +10 -1
  336. data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +7 -6
  337. data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +11 -9
  338. data/lib/hubspot/codegen/crm/objects/postal_mail/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  339. data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_read_input_simple_public_object_id.rb +1 -0
  340. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object.rb +10 -1
  341. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input.rb +2 -0
  342. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_for_create.rb +252 -0
  343. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_upsert.rb +1 -0
  344. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input.rb +1 -10
  345. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +1 -15
  346. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_with_associations.rb +10 -1
  347. data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_upsert_object.rb +10 -1
  348. data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +7 -6
  349. data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +11 -9
  350. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
  351. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +1 -0
  352. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +10 -1
  353. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +2 -0
  354. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_for_create.rb +252 -0
  355. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_upsert.rb +1 -0
  356. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +1 -10
  357. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +1 -15
  358. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +10 -1
  359. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_upsert_object.rb +10 -1
  360. data/lib/hubspot/codegen/crm/objects/taxes/api/basic_api.rb +7 -6
  361. data/lib/hubspot/codegen/crm/objects/taxes/api/batch_api.rb +11 -9
  362. data/lib/hubspot/codegen/crm/objects/taxes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  363. data/lib/hubspot/codegen/crm/objects/taxes/models/batch_read_input_simple_public_object_id.rb +1 -0
  364. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object.rb +10 -1
  365. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input.rb +2 -0
  366. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input_for_create.rb +252 -0
  367. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input_upsert.rb +1 -0
  368. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input.rb +1 -10
  369. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input_for_create.rb +1 -15
  370. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_with_associations.rb +10 -1
  371. data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_upsert_object.rb +10 -1
  372. data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +58 -1
  373. data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +7 -6
  374. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +11 -9
  375. data/lib/hubspot/codegen/crm/quotes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
  376. data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +1 -0
  377. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +10 -1
  378. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +2 -0
  379. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_for_create.rb +250 -0
  380. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_upsert.rb +1 -0
  381. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +1 -10
  382. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +1 -15
  383. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +10 -1
  384. data/lib/hubspot/codegen/crm/quotes/models/simple_public_upsert_object.rb +10 -1
  385. data/lib/hubspot/codegen/events/api/events_api.rb +22 -22
  386. data/lib/hubspot/codegen/events/send/api/{custom_event_data_api.rb → basic_api.rb} +13 -10
  387. data/lib/hubspot/codegen/events/send/api/batch_api.rb +94 -0
  388. data/lib/hubspot/codegen/events/send/api_client.rb +1 -1
  389. data/lib/hubspot/codegen/events/send/api_error.rb +1 -1
  390. data/lib/hubspot/codegen/events/send/configuration.rb +1 -1
  391. data/lib/hubspot/codegen/events/send/models/batched_behavioral_event_http_completion_request.rb +230 -0
  392. data/lib/hubspot/codegen/events/send/models/behavioral_event_http_completion_request.rb +8 -7
  393. data/lib/hubspot/codegen/events/send/models/error.rb +1 -1
  394. data/lib/hubspot/codegen/events/send/models/error_detail.rb +1 -1
  395. data/lib/hubspot/codegen/marketing/emails/api/marketing_emails_api.rb +1226 -0
  396. data/lib/hubspot/codegen/marketing/emails/api/statistics_api.rb +168 -0
  397. data/lib/hubspot/codegen/marketing/emails/api_client.rb +410 -0
  398. data/lib/hubspot/codegen/marketing/emails/api_error.rb +61 -0
  399. data/lib/hubspot/codegen/marketing/emails/configuration.rb +287 -0
  400. data/lib/hubspot/codegen/marketing/emails/models/ab_test_create_request_v_next.rb +244 -0
  401. data/lib/hubspot/codegen/marketing/emails/models/aggregate_email_statistics.rb +248 -0
  402. data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_email_statistic_interval_no_paging.rb +247 -0
  403. data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_public_email_forward_paging.rb +256 -0
  404. data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_version_public_email.rb +256 -0
  405. data/lib/hubspot/codegen/marketing/emails/models/content_clone_request_v_next.rb +240 -0
  406. data/lib/hubspot/codegen/marketing/emails/models/email_create_request.rb +468 -0
  407. data/lib/hubspot/codegen/marketing/emails/models/email_statistic_interval.rb +232 -0
  408. data/lib/hubspot/codegen/marketing/emails/models/email_statistics_data.rb +282 -0
  409. data/lib/hubspot/codegen/marketing/emails/models/email_update_request.rb +453 -0
  410. data/lib/hubspot/codegen/marketing/emails/models/error.rb +305 -0
  411. data/lib/hubspot/codegen/marketing/emails/models/error_detail.rb +271 -0
  412. data/lib/hubspot/codegen/marketing/emails/models/forward_paging.rb +223 -0
  413. data/lib/hubspot/codegen/marketing/emails/models/interval.rb +242 -0
  414. data/lib/hubspot/codegen/marketing/emails/models/next_page.rb +240 -0
  415. data/lib/hubspot/codegen/marketing/emails/models/paging.rb +238 -0
  416. data/lib/hubspot/codegen/marketing/emails/models/previous_page.rb +240 -0
  417. data/lib/hubspot/codegen/marketing/emails/models/public_button_style_settings.rb +241 -0
  418. data/lib/hubspot/codegen/marketing/emails/models/public_divider_style_settings.rb +241 -0
  419. data/lib/hubspot/codegen/marketing/emails/models/public_email.rb +654 -0
  420. data/lib/hubspot/codegen/marketing/emails/models/public_email_content.rb +304 -0
  421. data/lib/hubspot/codegen/marketing/emails/models/public_email_from_details.rb +245 -0
  422. data/lib/hubspot/codegen/marketing/emails/models/public_email_recipients.rb +239 -0
  423. data/lib/hubspot/codegen/marketing/emails/models/public_email_style_settings.rb +484 -0
  424. data/lib/hubspot/codegen/marketing/emails/models/public_email_subscription_details.rb +245 -0
  425. data/lib/hubspot/codegen/marketing/emails/models/public_email_testing_details.rb +355 -0
  426. data/lib/hubspot/codegen/marketing/emails/models/public_email_to_details.rb +262 -0
  427. data/lib/hubspot/codegen/marketing/emails/models/public_font_style.rb +268 -0
  428. data/lib/hubspot/codegen/marketing/emails/models/public_rss_email_details.rb +307 -0
  429. data/lib/hubspot/codegen/marketing/emails/models/public_webversion_details.rb +311 -0
  430. data/lib/hubspot/codegen/marketing/emails/models/version_public_email.rb +272 -0
  431. data/lib/hubspot/codegen/marketing/emails/models/version_user.rb +260 -0
  432. data/lib/hubspot/codegen/marketing/events/api/add_event_attendees_api.rb +352 -0
  433. data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +177 -264
  434. data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +298 -0
  435. data/lib/hubspot/codegen/marketing/events/api/change_property_api.rb +177 -0
  436. data/lib/hubspot/codegen/marketing/events/api/identifiers_api.rb +153 -0
  437. data/lib/hubspot/codegen/marketing/events/api/list_associations_api.rb +2 -2
  438. data/lib/hubspot/codegen/marketing/events/api/{participant_state_api.rb → retrieve_participant_state_api.rb} +23 -23
  439. data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +8 -8
  440. data/lib/hubspot/codegen/marketing/events/models/app_info.rb +242 -0
  441. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_public_object_id_delete_request.rb +230 -0
  442. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_public_update_request_full_v2.rb +230 -0
  443. data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response_v2.rb +326 -0
  444. data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response_v2_with_errors.rb +346 -0
  445. data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_public_read_response_v2_forward_paging.rb +239 -0
  446. data/lib/hubspot/codegen/marketing/events/models/{collection_response_marketing_event_external_unique_identifier_no_paging.rb → collection_response_search_public_response_wrapper_no_paging.rb} +4 -4
  447. data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_marketing_event_identifiers_response_no_paging.rb +244 -0
  448. data/lib/hubspot/codegen/marketing/events/models/crm_property_wrapper.rb +242 -0
  449. data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +13 -4
  450. data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +1 -1
  451. data/lib/hubspot/codegen/marketing/events/models/marketing_event_identifiers_response.rb +274 -0
  452. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +10 -1
  453. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response_v2.rb +367 -0
  454. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_object_id_delete_request.rb +228 -0
  455. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +10 -1
  456. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response_v2.rb +421 -0
  457. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_update_request_full_v2.rb +316 -0
  458. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_update_request_v2.rb +302 -0
  459. data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +1 -1
  460. data/lib/hubspot/codegen/marketing/events/models/property_value.rb +2 -2
  461. data/lib/hubspot/codegen/marketing/events/models/search_public_response_wrapper.rb +270 -0
  462. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +0 -1
  463. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +0 -1
  464. data/lib/hubspot/codegen/webhooks/api/settings_api.rb +18 -6
  465. data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +42 -18
  466. data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +1 -0
  467. data/lib/hubspot/codegen/webhooks/models/settings_response.rb +1 -0
  468. data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +13 -3
  469. data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +1 -0
  470. data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +1 -0
  471. data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +13 -3
  472. data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +2 -50
  473. data/lib/hubspot/discovery/cms/blogs/blog_posts/api/{blog_posts_api.rb → basic_api.rb} +1 -1
  474. data/lib/hubspot/discovery/cms/blogs/blog_posts/api/batch_api.rb +15 -0
  475. data/lib/hubspot/discovery/cms/blogs/blog_posts/api/multi_language_api.rb +15 -0
  476. data/lib/hubspot/discovery/cms/blogs/blog_posts/client.rb +3 -1
  477. data/lib/hubspot/discovery/crm/{objects/feedback_submissions/api/public_object_api.rb → associations/v4/api/report_api.rb} +3 -3
  478. data/lib/hubspot/discovery/crm/associations/v4/client.rb +1 -0
  479. data/lib/hubspot/discovery/crm/associations/v4/schema/api/definition_configurations_api.rb +17 -0
  480. data/lib/hubspot/discovery/crm/associations/v4/schema/client.rb +1 -0
  481. data/lib/hubspot/discovery/crm/client.rb +2 -0
  482. data/lib/hubspot/discovery/crm/commerce/client.rb +19 -0
  483. data/lib/hubspot/discovery/crm/commerce/invoices/api/basic_api.rb +15 -0
  484. data/lib/hubspot/discovery/crm/commerce/invoices/api/batch_api.rb +15 -0
  485. data/lib/hubspot/discovery/crm/commerce/invoices/api/search_api.rb +15 -0
  486. data/lib/hubspot/discovery/crm/commerce/invoices/client.rb +23 -0
  487. data/lib/hubspot/discovery/crm/exports/api/public_exports_api.rb +13 -0
  488. data/lib/hubspot/discovery/crm/exports/client.rb +19 -0
  489. data/lib/hubspot/discovery/crm/extensions/calling/api/channel_connection_settings_api.rb +15 -0
  490. data/lib/hubspot/discovery/crm/extensions/calling/client.rb +1 -0
  491. data/lib/hubspot/discovery/crm/objects/client.rb +1 -3
  492. data/lib/hubspot/discovery/crm/objects/{feedback_submissions/api/gdpr_api.rb → deal_splits/api/batch_api.rb} +2 -2
  493. data/lib/hubspot/discovery/crm/objects/deal_splits/client.rb +21 -0
  494. data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +0 -2
  495. data/lib/hubspot/discovery/events/send/api/{custom_event_data_api.rb → basic_api.rb} +1 -1
  496. data/lib/hubspot/discovery/events/send/api/batch_api.rb +13 -0
  497. data/lib/hubspot/discovery/events/send/client.rb +2 -1
  498. data/lib/hubspot/discovery/marketing/client.rb +1 -0
  499. data/lib/hubspot/discovery/marketing/emails/api/marketing_emails_api.rb +13 -0
  500. data/lib/hubspot/discovery/marketing/emails/api/statistics_api.rb +13 -0
  501. data/lib/hubspot/discovery/marketing/emails/client.rb +20 -0
  502. data/lib/hubspot/discovery/marketing/events/api/{attendance_subscriber_state_changes_api.rb → add_event_attendees_api.rb} +1 -1
  503. data/lib/hubspot/discovery/marketing/events/api/{participant_state_api.rb → batch_api.rb} +1 -1
  504. data/lib/hubspot/discovery/marketing/events/api/change_property_api.rb +13 -0
  505. data/lib/hubspot/discovery/marketing/events/api/identifiers_api.rb +13 -0
  506. data/lib/hubspot/discovery/marketing/events/api/retrieve_participant_state_api.rb +13 -0
  507. data/lib/hubspot/discovery/marketing/events/client.rb +5 -2
  508. data/lib/hubspot/helpers/requests/http_auth.rb +33 -0
  509. data/lib/hubspot/helpers/requests/http_request_builder.rb +120 -0
  510. data/lib/hubspot/helpers/signature.rb +54 -26
  511. data/lib/hubspot/version.rb +1 -1
  512. data/spec/discovery/client_spec.rb +1 -0
  513. data/spec/discovery/cms/blogs/blog-posts/{blog_posts_api_spec.rb → basic_api_spec.rb} +2 -6
  514. data/spec/discovery/cms/blogs/blog-posts/batch_api_spec.rb +11 -0
  515. data/spec/discovery/cms/blogs/blog-posts/multi_language_api_spec.rb +11 -0
  516. data/spec/discovery/crm/associations/v4/report_api_spec.rb +7 -0
  517. data/spec/discovery/crm/associations/v4/schema/definition_configurations_api_spec.rb +11 -0
  518. data/spec/discovery/crm/associations/v4/schema/definitions_api_spec.rb +2 -2
  519. data/spec/discovery/crm/commerce/client_spec.rb +7 -0
  520. data/spec/discovery/crm/commerce/invoices/basic_api_spec.rb +11 -0
  521. data/spec/discovery/crm/commerce/invoices/batch_api_spec.rb +11 -0
  522. data/spec/discovery/crm/commerce/invoices/search_api_spec.rb +7 -0
  523. data/spec/discovery/crm/exports/public_exports_api_spec.rb +8 -0
  524. data/spec/discovery/crm/extensions/calling/channel_connection_settings_api_spec.rb +10 -0
  525. data/spec/discovery/crm/objects/deal_splits/batch_api_spec.rb +8 -0
  526. data/spec/discovery/crm/objects/feedback_submissions/basic_api_spec.rb +0 -3
  527. data/spec/discovery/crm/objects/feedback_submissions/batch_api_spec.rb +0 -3
  528. data/spec/discovery/crm/objects/goals/basic_api_spec.rb +3 -0
  529. data/spec/discovery/crm/objects/goals/batch_api_spec.rb +4 -0
  530. data/spec/discovery/events/send/basic_api_spec.rb +7 -0
  531. data/spec/discovery/events/send/batch_api_spec.rb +7 -0
  532. data/spec/discovery/marketing/emails/marketing_emails_api_spec.rb +24 -0
  533. data/spec/discovery/marketing/emails/statistics_api_spec.rb +8 -0
  534. data/spec/discovery/marketing/events/add_event_attendees_api_spec.rb +10 -0
  535. data/spec/discovery/marketing/events/basic_api_spec.rb +5 -6
  536. data/spec/discovery/marketing/events/batch_api_spec.rb +10 -0
  537. data/spec/discovery/marketing/events/change_property_api_spec.rb +8 -0
  538. data/spec/discovery/marketing/events/identifiers_api_spec.rb +8 -0
  539. data/spec/discovery/marketing/events/{participant_state_api_spec.rb → retrieve_participant_state_api_spec.rb} +2 -2
  540. data/spec/helpers/requests/http_auth_spec.rb +58 -0
  541. data/spec/helpers/requests/http_request_spec.rb +71 -0
  542. data/spec/helpers/signature_spec.rb +15 -5
  543. metadata +276 -52
  544. data/lib/hubspot/codegen/cms/blogs/blog_posts/api/blog_posts_api.rb +0 -1694
  545. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/gdpr_api.rb +0 -96
  546. data/lib/hubspot/codegen/marketing/events/api/attendance_subscriber_state_changes_api.rb +0 -192
  547. data/spec/discovery/crm/objects/feedback_submissions/gdpr_api_spec.rb +0 -7
  548. data/spec/discovery/crm/objects/feedback_submissions/public_object_api_spec.rb +0 -7
  549. data/spec/discovery/events/send/custom_event_data_api_spec.rb +0 -7
  550. data/spec/discovery/marketing/events/attendance_subscriber_state_changes_api_spec.rb +0 -8
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -27,6 +27,8 @@ module Hubspot
27
27
 
28
28
  attr_accessor :id
29
29
 
30
+ attr_accessor :object_write_trace_id
31
+
30
32
  attr_accessor :properties
31
33
 
32
34
  attr_accessor :updated_at
@@ -39,6 +41,7 @@ module Hubspot
39
41
  :'archived_at' => :'archivedAt',
40
42
  :'properties_with_history' => :'propertiesWithHistory',
41
43
  :'id' => :'id',
44
+ :'object_write_trace_id' => :'objectWriteTraceId',
42
45
  :'properties' => :'properties',
43
46
  :'updated_at' => :'updatedAt'
44
47
  }
@@ -57,6 +60,7 @@ module Hubspot
57
60
  :'archived_at' => :'Time',
58
61
  :'properties_with_history' => :'Hash<String, Array<ValueWithTimestamp>>',
59
62
  :'id' => :'String',
63
+ :'object_write_trace_id' => :'String',
60
64
  :'properties' => :'Hash<String, String>',
61
65
  :'updated_at' => :'Time'
62
66
  }
@@ -105,6 +109,10 @@ module Hubspot
105
109
  self.id = attributes[:'id']
106
110
  end
107
111
 
112
+ if attributes.key?(:'object_write_trace_id')
113
+ self.object_write_trace_id = attributes[:'object_write_trace_id']
114
+ end
115
+
108
116
  if attributes.key?(:'properties')
109
117
  if (value = attributes[:'properties']).is_a?(Hash)
110
118
  self.properties = value
@@ -159,6 +167,7 @@ module Hubspot
159
167
  archived_at == o.archived_at &&
160
168
  properties_with_history == o.properties_with_history &&
161
169
  id == o.id &&
170
+ object_write_trace_id == o.object_write_trace_id &&
162
171
  properties == o.properties &&
163
172
  updated_at == o.updated_at
164
173
  end
@@ -172,7 +181,7 @@ module Hubspot
172
181
  # Calculates hash code according to all attributes.
173
182
  # @return [Integer] Hash code
174
183
  def hash
175
- [created_at, archived, archived_at, properties_with_history, id, properties, updated_at].hash
184
+ [created_at, archived, archived_at, properties_with_history, id, object_write_trace_id, properties, updated_at].hash
176
185
  end
177
186
 
178
187
  # Builds the object from hash
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -0,0 +1,250 @@
1
+ =begin
2
+ #CRM Objects
3
+
4
+ #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Hubspot
17
+ module Crm
18
+ module Objects
19
+ class SimplePublicObjectBatchInputForCreate
20
+ attr_accessor :associations
21
+
22
+ attr_accessor :object_write_trace_id
23
+
24
+ attr_accessor :properties
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'associations' => :'associations',
30
+ :'object_write_trace_id' => :'objectWriteTraceId',
31
+ :'properties' => :'properties'
32
+ }
33
+ end
34
+
35
+ # Returns all the JSON keys this model knows about
36
+ def self.acceptable_attributes
37
+ attribute_map.values
38
+ end
39
+
40
+ # Attribute type mapping.
41
+ def self.openapi_types
42
+ {
43
+ :'associations' => :'Array<PublicAssociationsForObject>',
44
+ :'object_write_trace_id' => :'String',
45
+ :'properties' => :'Hash<String, String>'
46
+ }
47
+ end
48
+
49
+ # List of attributes with nullable: true
50
+ def self.openapi_nullable
51
+ Set.new([
52
+ ])
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ if (!attributes.is_a?(Hash))
59
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Objects::SimplePublicObjectBatchInputForCreate` initialize method"
60
+ end
61
+
62
+ # check to see if the attribute exists and convert string to symbol for hash key
63
+ attributes = attributes.each_with_object({}) { |(k, v), h|
64
+ if (!self.class.attribute_map.key?(k.to_sym))
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Objects::SimplePublicObjectBatchInputForCreate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
66
+ end
67
+ h[k.to_sym] = v
68
+ }
69
+
70
+ if attributes.key?(:'associations')
71
+ if (value = attributes[:'associations']).is_a?(Array)
72
+ self.associations = value
73
+ end
74
+ end
75
+
76
+ if attributes.key?(:'object_write_trace_id')
77
+ self.object_write_trace_id = attributes[:'object_write_trace_id']
78
+ end
79
+
80
+ if attributes.key?(:'properties')
81
+ if (value = attributes[:'properties']).is_a?(Hash)
82
+ self.properties = value
83
+ end
84
+ end
85
+ end
86
+
87
+ # Show invalid properties with the reasons. Usually used together with valid?
88
+ # @return Array for valid properties with the reasons
89
+ def list_invalid_properties
90
+ invalid_properties = Array.new
91
+ if @properties.nil?
92
+ invalid_properties.push('invalid value for "properties", properties cannot be nil.')
93
+ end
94
+
95
+ invalid_properties
96
+ end
97
+
98
+ # Check to see if the all the properties in the model are valid
99
+ # @return true if the model is valid
100
+ def valid?
101
+ return false if @properties.nil?
102
+ true
103
+ end
104
+
105
+ # Checks equality by comparing each attribute.
106
+ # @param [Object] Object to be compared
107
+ def ==(o)
108
+ return true if self.equal?(o)
109
+ self.class == o.class &&
110
+ associations == o.associations &&
111
+ object_write_trace_id == o.object_write_trace_id &&
112
+ properties == o.properties
113
+ end
114
+
115
+ # @see the `==` method
116
+ # @param [Object] Object to be compared
117
+ def eql?(o)
118
+ self == o
119
+ end
120
+
121
+ # Calculates hash code according to all attributes.
122
+ # @return [Integer] Hash code
123
+ def hash
124
+ [associations, object_write_trace_id, properties].hash
125
+ end
126
+
127
+ # Builds the object from hash
128
+ # @param [Hash] attributes Model attributes in the form of hash
129
+ # @return [Object] Returns the model itself
130
+ def self.build_from_hash(attributes)
131
+ new.build_from_hash(attributes)
132
+ end
133
+
134
+ # Builds the object from hash
135
+ # @param [Hash] attributes Model attributes in the form of hash
136
+ # @return [Object] Returns the model itself
137
+ def build_from_hash(attributes)
138
+ return nil unless attributes.is_a?(Hash)
139
+ attributes = attributes.transform_keys(&:to_sym)
140
+ self.class.openapi_types.each_pair do |key, type|
141
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
142
+ self.send("#{key}=", nil)
143
+ elsif type =~ /\AArray<(.*)>/i
144
+ # check to ensure the input is an array given that the attribute
145
+ # is documented as an array but the input is not
146
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
147
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
148
+ end
149
+ elsif !attributes[self.class.attribute_map[key]].nil?
150
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
151
+ end
152
+ end
153
+
154
+ self
155
+ end
156
+
157
+ # Deserializes the data based on type
158
+ # @param string type Data type
159
+ # @param string value Value to be deserialized
160
+ # @return [Object] Deserialized data
161
+ def _deserialize(type, value)
162
+ case type.to_sym
163
+ when :Time
164
+ Time.parse(value)
165
+ when :Date
166
+ Date.parse(value)
167
+ when :String
168
+ value.to_s
169
+ when :Integer
170
+ value.to_i
171
+ when :Float
172
+ value.to_f
173
+ when :Boolean
174
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
175
+ true
176
+ else
177
+ false
178
+ end
179
+ when :Object
180
+ # generic object (usually a Hash), return directly
181
+ value
182
+ when /\AArray<(?<inner_type>.+)>\z/
183
+ inner_type = Regexp.last_match[:inner_type]
184
+ value.map { |v| _deserialize(inner_type, v) }
185
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
186
+ k_type = Regexp.last_match[:k_type]
187
+ v_type = Regexp.last_match[:v_type]
188
+ {}.tap do |hash|
189
+ value.each do |k, v|
190
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
191
+ end
192
+ end
193
+ else # model
194
+ # models (e.g. Pet) or oneOf
195
+ klass = Hubspot::Crm::Objects.const_get(type)
196
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
197
+ end
198
+ end
199
+
200
+ # Returns the string representation of the object
201
+ # @return [String] String presentation of the object
202
+ def to_s
203
+ to_hash.to_s
204
+ end
205
+
206
+ # to_body is an alias to to_hash (backward compatibility)
207
+ # @return [Hash] Returns the object in the form of hash
208
+ def to_body
209
+ to_hash
210
+ end
211
+
212
+ # Returns the object in the form of hash
213
+ # @return [Hash] Returns the object in the form of hash
214
+ def to_hash
215
+ hash = {}
216
+ self.class.attribute_map.each_pair do |attr, param|
217
+ value = self.send(attr)
218
+ if value.nil?
219
+ is_nullable = self.class.openapi_nullable.include?(attr)
220
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
221
+ end
222
+
223
+ hash[param] = _to_hash(value)
224
+ end
225
+ hash
226
+ end
227
+
228
+ # Outputs non-array value in the form of hash
229
+ # For object, use to_hash. Otherwise, just return the value
230
+ # @param [Object] value Any valid value
231
+ # @return [Hash] Returns the value in the form of hash
232
+ def _to_hash(value)
233
+ if value.is_a?(Array)
234
+ value.compact.map { |v| _to_hash(v) }
235
+ elsif value.is_a?(Hash)
236
+ {}.tap do |hash|
237
+ value.each { |k, v| hash[k] = _to_hash(v) }
238
+ end
239
+ elsif value.respond_to? :to_hash
240
+ value.to_hash
241
+ else
242
+ value
243
+ end
244
+ end
245
+
246
+ end
247
+
248
+ end
249
+ end
250
+ end
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #Objects
2
+ #CRM Objects
3
3
 
4
4
  #CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application. ## Supported Object Types This API provides access to collections of CRM objects, which return a map of property names to values. Each object type has its own set of default properties, which can be found by exploring the [CRM Object Properties API](https://developers.hubspot.com/docs/methods/crm-properties/crm-properties-overview). |Object Type |Properties returned by default | |--|--| | `companies` | `name`, `domain` | | `contacts` | `firstname`, `lastname`, `email` | | `deals` | `dealname`, `amount`, `closedate`, `pipeline`, `dealstage` | | `products` | `name`, `description`, `price` | | `tickets` | `content`, `hs_pipeline`, `hs_pipeline_stage`, `hs_ticket_category`, `hs_ticket_priority`, `subject` | Find a list of all properties for an object type using the [CRM Object Properties](https://developers.hubspot.com/docs/methods/crm-properties/get-properties) API. e.g. `GET https://api.hubapi.com/properties/v2/companies/properties`. Change the properties returned in the response using the `properties` array in the request body.
5
5
 
@@ -17,14 +17,11 @@ module Hubspot
17
17
  module Crm
18
18
  module Objects
19
19
  class SimplePublicObjectInput
20
- attr_accessor :object_write_trace_id
21
-
22
20
  attr_accessor :properties
23
21
 
24
22
  # Attribute mapping from ruby-style variable name to JSON key.
25
23
  def self.attribute_map
26
24
  {
27
- :'object_write_trace_id' => :'objectWriteTraceId',
28
25
  :'properties' => :'properties'
29
26
  }
30
27
  end
@@ -37,7 +34,6 @@ module Hubspot
37
34
  # Attribute type mapping.
38
35
  def self.openapi_types
39
36
  {
40
- :'object_write_trace_id' => :'String',
41
37
  :'properties' => :'Hash<String, String>'
42
38
  }
43
39
  end
@@ -63,10 +59,6 @@ module Hubspot
63
59
  h[k.to_sym] = v
64
60
  }
65
61
 
66
- if attributes.key?(:'object_write_trace_id')
67
- self.object_write_trace_id = attributes[:'object_write_trace_id']
68
- end
69
-
70
62
  if attributes.key?(:'properties')
71
63
  if (value = attributes[:'properties']).is_a?(Hash)
72
64
  self.properties = value
@@ -97,7 +89,6 @@ module Hubspot
97
89
  def ==(o)
98
90
  return true if self.equal?(o)
99
91
  self.class == o.class &&
100
- object_write_trace_id == o.object_write_trace_id &&
101
92
  properties == o.properties
102
93
  end
103
94
 
@@ -110,7 +101,7 @@ module Hubspot
110
101
  # Calculates hash code according to all attributes.
111
102
  # @return [Integer] Hash code
112
103
  def hash
113
- [object_write_trace_id, properties].hash
104
+ [properties].hash
114
105
  end
115
106
 
116
107
  # Builds the object from hash