hubspot-api-client 11.2.0 → 12.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1201) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/Gemfile.lock +2 -2
  4. data/lib/hubspot/client.rb +1 -0
  5. data/lib/hubspot/codegen/cms/blogs/authors/api/{author_api.rb → blog_authors_api.rb} +372 -52
  6. data/lib/hubspot/codegen/cms/blogs/authors/api_client.rb +1 -1
  7. data/lib/hubspot/codegen/cms/blogs/authors/api_error.rb +1 -1
  8. data/lib/hubspot/codegen/cms/blogs/authors/configuration.rb +1 -1
  9. data/lib/hubspot/codegen/cms/blogs/authors/models/attach_to_lang_primary_request_v_next.rb +304 -0
  10. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_blog_author.rb +2 -1
  11. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_json_node.rb +2 -1
  12. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_string.rb +2 -1
  13. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author.rb +321 -0
  14. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors.rb +9 -1
  15. data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb +147 -43
  16. data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author_clone_request_v_next.rb +252 -0
  17. data/lib/hubspot/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging.rb +3 -1
  18. data/lib/hubspot/codegen/cms/blogs/authors/models/detach_from_lang_group_request_v_next.rb +218 -0
  19. data/lib/hubspot/codegen/cms/blogs/authors/models/error.rb +1 -1
  20. data/lib/hubspot/codegen/cms/blogs/authors/models/error_detail.rb +1 -1
  21. data/lib/hubspot/codegen/cms/blogs/authors/models/forward_paging.rb +1 -1
  22. data/lib/hubspot/codegen/cms/blogs/authors/models/next_page.rb +1 -1
  23. data/lib/hubspot/codegen/cms/blogs/authors/models/set_new_language_primary_request_v_next.rb +218 -0
  24. data/lib/hubspot/codegen/cms/blogs/authors/models/standard_error.rb +9 -1
  25. data/lib/hubspot/codegen/cms/blogs/authors/models/update_languages_request_v_next.rb +257 -0
  26. data/lib/hubspot/codegen/cms/blogs/blog-posts/api/{blog_post_api.rb → blog_posts_api.rb} +414 -94
  27. data/lib/hubspot/codegen/cms/blogs/blog-posts/api_client.rb +1 -1
  28. data/lib/hubspot/codegen/cms/blogs/blog-posts/api_error.rb +1 -1
  29. data/lib/hubspot/codegen/cms/blogs/blog-posts/configuration.rb +1 -1
  30. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/angle.rb +1 -1
  31. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/attach_to_lang_primary_request_v_next.rb +304 -0
  32. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/background_image.rb +1 -1
  33. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_blog_post.rb +2 -1
  34. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_json_node.rb +2 -1
  35. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_string.rb +2 -1
  36. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post.rb +321 -0
  37. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors.rb +9 -1
  38. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post.rb +271 -272
  39. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post_language_clone_request_v_next.rb +228 -0
  40. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging.rb +3 -1
  41. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post.rb +3 -1
  42. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/color_stop.rb +1 -1
  43. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_clone_request_v_next.rb +3 -3
  44. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_language_variation.rb +398 -0
  45. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_schedule_request_v_next.rb +1 -1
  46. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/detach_from_lang_group_request_v_next.rb +218 -0
  47. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error.rb +1 -1
  48. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error_detail.rb +1 -1
  49. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/forward_paging.rb +1 -1
  50. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/gradient.rb +1 -1
  51. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/layout_section.rb +2 -1
  52. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/next_page.rb +1 -1
  53. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/paging.rb +1 -1
  54. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/previous_page.rb +1 -1
  55. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/rgba_color.rb +5 -1
  56. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/row_meta_data.rb +1 -1
  57. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/set_new_language_primary_request_v_next.rb +218 -0
  58. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/side_or_corner.rb +1 -1
  59. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/standard_error.rb +9 -1
  60. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/styles.rb +1 -1
  61. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/update_languages_request_v_next.rb +257 -0
  62. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_blog_post.rb +11 -12
  63. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_user.rb +1 -1
  64. data/lib/hubspot/codegen/cms/blogs/tags/api/{tag_api.rb → blog_tags_api.rb} +372 -52
  65. data/lib/hubspot/codegen/cms/blogs/tags/api_client.rb +1 -1
  66. data/lib/hubspot/codegen/cms/blogs/tags/api_error.rb +1 -1
  67. data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +1 -1
  68. data/lib/hubspot/codegen/cms/blogs/tags/models/attach_to_lang_primary_request_v_next.rb +304 -0
  69. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_json_node.rb +2 -1
  70. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_string.rb +2 -1
  71. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_tag.rb +2 -1
  72. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag.rb +321 -0
  73. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag_with_errors.rb +9 -1
  74. data/lib/hubspot/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging.rb +3 -1
  75. data/lib/hubspot/codegen/cms/blogs/tags/models/detach_from_lang_group_request_v_next.rb +218 -0
  76. data/lib/hubspot/codegen/cms/blogs/tags/models/error.rb +1 -1
  77. data/lib/hubspot/codegen/cms/blogs/tags/models/error_detail.rb +1 -1
  78. data/lib/hubspot/codegen/cms/blogs/tags/models/forward_paging.rb +1 -1
  79. data/lib/hubspot/codegen/cms/blogs/tags/models/next_page.rb +1 -1
  80. data/lib/hubspot/codegen/cms/blogs/tags/models/set_new_language_primary_request_v_next.rb +218 -0
  81. data/lib/hubspot/codegen/cms/blogs/tags/models/standard_error.rb +9 -1
  82. data/lib/hubspot/codegen/cms/blogs/tags/models/tag.rb +91 -29
  83. data/lib/hubspot/codegen/cms/blogs/tags/models/tag_clone_request_v_next.rb +253 -0
  84. data/lib/hubspot/codegen/cms/blogs/tags/models/update_languages_request_v_next.rb +257 -0
  85. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +18 -18
  86. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +293 -0
  87. data/lib/hubspot/codegen/cms/hubdb/models/column.rb +13 -13
  88. data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +24 -4
  89. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +11 -11
  90. data/lib/hubspot/codegen/cms/source-code/api/content_api.rb +328 -0
  91. data/lib/hubspot/codegen/cms/source-code/api/extract_api.rb +93 -0
  92. data/lib/hubspot/codegen/cms/source-code/api/metadata_api.rb +99 -0
  93. data/lib/hubspot/codegen/cms/source-code/api/source_code_extract_api.rb +142 -0
  94. data/lib/hubspot/codegen/cms/source-code/api/validation_api.rb +98 -0
  95. data/lib/hubspot/codegen/cms/source-code/api_client.rb +406 -0
  96. data/lib/hubspot/codegen/cms/source-code/api_error.rb +61 -0
  97. data/lib/hubspot/codegen/cms/source-code/configuration.rb +263 -0
  98. data/lib/hubspot/codegen/cms/source-code/models/action_response.rb +297 -0
  99. data/lib/hubspot/codegen/cms/source-code/models/asset_file_metadata.rb +298 -0
  100. data/lib/hubspot/codegen/cms/source-code/models/error.rb +292 -0
  101. data/lib/hubspot/codegen/cms/source-code/models/error_detail.rb +258 -0
  102. data/lib/hubspot/codegen/cms/source-code/models/file_extract_request.rb +215 -0
  103. data/lib/hubspot/codegen/cms/source-code/models/task_locator.rb +226 -0
  104. data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +1 -1
  105. data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +3 -3
  106. data/lib/hubspot/codegen/communication_preferences/configuration.rb +7 -0
  107. data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +2 -2
  108. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +6 -0
  109. data/lib/hubspot/codegen/crm/companies/api/public_object_api.rb +88 -0
  110. data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +17 -1
  111. data/lib/hubspot/codegen/crm/companies/models/error_category.rb +20 -20
  112. data/lib/hubspot/codegen/crm/companies/models/filter.rb +12 -1
  113. data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +229 -0
  114. data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +12 -1
  115. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +12 -1
  116. data/lib/hubspot/codegen/crm/companies/models/value_with_timestamp.rb +270 -0
  117. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +10 -10
  118. data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +20 -80
  119. data/lib/hubspot/codegen/crm/contacts/api/public_object_api.rb +88 -0
  120. data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +17 -1
  121. data/lib/hubspot/codegen/crm/contacts/models/error_category.rb +20 -20
  122. data/lib/hubspot/codegen/crm/contacts/models/filter.rb +12 -1
  123. data/lib/hubspot/codegen/crm/contacts/models/public_gdpr_delete_input.rb +224 -0
  124. data/lib/hubspot/codegen/crm/contacts/models/public_merge_input.rb +229 -0
  125. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +12 -1
  126. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +12 -1
  127. data/lib/hubspot/codegen/crm/contacts/models/value_with_timestamp.rb +270 -0
  128. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +6 -0
  129. data/lib/hubspot/codegen/crm/deals/api/public_object_api.rb +88 -0
  130. data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +17 -1
  131. data/lib/hubspot/codegen/crm/deals/models/error_category.rb +20 -20
  132. data/lib/hubspot/codegen/crm/deals/models/filter.rb +12 -1
  133. data/lib/hubspot/codegen/crm/deals/models/public_merge_input.rb +229 -0
  134. data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +12 -1
  135. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +12 -1
  136. data/lib/hubspot/codegen/crm/deals/models/value_with_timestamp.rb +270 -0
  137. data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +6 -0
  138. data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +88 -0
  139. data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +17 -1
  140. data/lib/hubspot/codegen/crm/line_items/models/error_category.rb +20 -20
  141. data/lib/hubspot/codegen/crm/line_items/models/filter.rb +12 -1
  142. data/lib/hubspot/codegen/crm/line_items/models/public_merge_input.rb +229 -0
  143. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +12 -1
  144. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +12 -1
  145. data/lib/hubspot/codegen/crm/line_items/models/value_with_timestamp.rb +270 -0
  146. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +6 -0
  147. data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +21 -87
  148. data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +94 -0
  149. data/lib/hubspot/codegen/crm/objects/calls/api/associations_api.rb +256 -0
  150. data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +380 -0
  151. data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +279 -0
  152. data/lib/hubspot/codegen/crm/objects/calls/api/public_object_api.rb +90 -0
  153. data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +88 -0
  154. data/lib/hubspot/codegen/crm/objects/calls/api_client.rb +408 -0
  155. data/lib/hubspot/codegen/crm/objects/calls/api_error.rb +63 -0
  156. data/lib/hubspot/codegen/crm/objects/calls/configuration.rb +265 -0
  157. data/lib/hubspot/codegen/crm/objects/calls/models/associated_id.rb +231 -0
  158. data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_batch_input.rb +219 -0
  159. data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_id.rb +219 -0
  160. data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_input.rb +219 -0
  161. data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +260 -0
  162. data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object.rb +315 -0
  163. data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object_with_errors.rb +335 -0
  164. data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id.rb +228 -0
  165. data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id_forward_paging.rb +228 -0
  166. data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
  167. data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
  168. data/lib/hubspot/codegen/crm/objects/calls/models/error.rb +294 -0
  169. data/lib/hubspot/codegen/crm/objects/calls/models/error_category.rb +265 -0
  170. data/lib/hubspot/codegen/crm/objects/calls/models/error_detail.rb +260 -0
  171. data/lib/hubspot/codegen/crm/objects/calls/models/filter.rb +286 -0
  172. data/lib/hubspot/codegen/crm/objects/calls/models/filter_group.rb +219 -0
  173. data/lib/hubspot/codegen/crm/objects/calls/models/forward_paging.rb +212 -0
  174. data/lib/hubspot/codegen/crm/objects/calls/models/next_page.rb +226 -0
  175. data/lib/hubspot/codegen/crm/objects/calls/models/paging.rb +221 -0
  176. data/lib/hubspot/codegen/crm/objects/calls/models/previous_page.rb +226 -0
  177. data/lib/hubspot/codegen/crm/objects/calls/models/public_merge_input.rb +231 -0
  178. data/lib/hubspot/codegen/crm/objects/calls/models/public_object_search_request.rb +288 -0
  179. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +290 -0
  180. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +233 -0
  181. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_id.rb +217 -0
  182. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +219 -0
  183. data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +301 -0
  184. data/lib/hubspot/codegen/crm/objects/calls/models/standard_error.rb +311 -0
  185. data/lib/hubspot/codegen/crm/objects/calls/models/value_with_timestamp.rb +272 -0
  186. data/lib/hubspot/codegen/crm/objects/emails/api/associations_api.rb +256 -0
  187. data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +380 -0
  188. data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +279 -0
  189. data/lib/hubspot/codegen/crm/objects/emails/api/public_object_api.rb +90 -0
  190. data/lib/hubspot/codegen/crm/objects/emails/api/search_api.rb +88 -0
  191. data/lib/hubspot/codegen/crm/objects/emails/api_client.rb +408 -0
  192. data/lib/hubspot/codegen/crm/objects/emails/api_error.rb +63 -0
  193. data/lib/hubspot/codegen/crm/objects/emails/configuration.rb +265 -0
  194. data/lib/hubspot/codegen/crm/objects/emails/models/associated_id.rb +231 -0
  195. data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input.rb +219 -0
  196. data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_id.rb +219 -0
  197. data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_input.rb +219 -0
  198. data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +260 -0
  199. data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object.rb +315 -0
  200. data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object_with_errors.rb +335 -0
  201. data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id.rb +228 -0
  202. data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id_forward_paging.rb +228 -0
  203. data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
  204. data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
  205. data/lib/hubspot/codegen/crm/objects/emails/models/error.rb +294 -0
  206. data/lib/hubspot/codegen/crm/objects/emails/models/error_category.rb +265 -0
  207. data/lib/hubspot/codegen/crm/objects/emails/models/error_detail.rb +260 -0
  208. data/lib/hubspot/codegen/crm/objects/emails/models/filter.rb +286 -0
  209. data/lib/hubspot/codegen/crm/objects/emails/models/filter_group.rb +219 -0
  210. data/lib/hubspot/codegen/crm/objects/emails/models/forward_paging.rb +212 -0
  211. data/lib/hubspot/codegen/crm/objects/emails/models/next_page.rb +226 -0
  212. data/lib/hubspot/codegen/crm/objects/emails/models/paging.rb +221 -0
  213. data/lib/hubspot/codegen/crm/objects/emails/models/previous_page.rb +226 -0
  214. data/lib/hubspot/codegen/crm/objects/emails/models/public_merge_input.rb +231 -0
  215. data/lib/hubspot/codegen/crm/objects/emails/models/public_object_search_request.rb +288 -0
  216. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +290 -0
  217. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +233 -0
  218. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_id.rb +217 -0
  219. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +219 -0
  220. data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +301 -0
  221. data/lib/hubspot/codegen/crm/objects/emails/models/standard_error.rb +311 -0
  222. data/lib/hubspot/codegen/crm/objects/emails/models/value_with_timestamp.rb +272 -0
  223. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +156 -0
  224. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +205 -0
  225. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +186 -0
  226. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +90 -0
  227. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +17 -1
  228. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_category.rb +20 -20
  229. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +12 -1
  230. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_merge_input.rb +231 -0
  231. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +12 -1
  232. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +12 -1
  233. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/value_with_timestamp.rb +272 -0
  234. data/lib/hubspot/codegen/crm/objects/meetings/api/associations_api.rb +256 -0
  235. data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +380 -0
  236. data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +279 -0
  237. data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +90 -0
  238. data/lib/hubspot/codegen/crm/objects/meetings/api/search_api.rb +88 -0
  239. data/lib/hubspot/codegen/crm/objects/meetings/api_client.rb +408 -0
  240. data/lib/hubspot/codegen/crm/objects/meetings/api_error.rb +63 -0
  241. data/lib/hubspot/codegen/crm/objects/meetings/configuration.rb +265 -0
  242. data/lib/hubspot/codegen/crm/objects/meetings/models/associated_id.rb +231 -0
  243. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input.rb +219 -0
  244. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_id.rb +219 -0
  245. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_input.rb +219 -0
  246. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +260 -0
  247. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object.rb +315 -0
  248. data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object_with_errors.rb +335 -0
  249. data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id.rb +228 -0
  250. data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id_forward_paging.rb +228 -0
  251. data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
  252. data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
  253. data/lib/hubspot/codegen/crm/objects/meetings/models/error.rb +294 -0
  254. data/lib/hubspot/codegen/crm/objects/meetings/models/error_category.rb +265 -0
  255. data/lib/hubspot/codegen/crm/objects/meetings/models/error_detail.rb +260 -0
  256. data/lib/hubspot/codegen/crm/objects/meetings/models/filter.rb +286 -0
  257. data/lib/hubspot/codegen/crm/objects/meetings/models/filter_group.rb +219 -0
  258. data/lib/hubspot/codegen/crm/objects/meetings/models/forward_paging.rb +212 -0
  259. data/lib/hubspot/codegen/crm/objects/meetings/models/next_page.rb +226 -0
  260. data/lib/hubspot/codegen/crm/objects/meetings/models/paging.rb +221 -0
  261. data/lib/hubspot/codegen/crm/objects/meetings/models/previous_page.rb +226 -0
  262. data/lib/hubspot/codegen/crm/objects/meetings/models/public_merge_input.rb +231 -0
  263. data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_search_request.rb +288 -0
  264. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +290 -0
  265. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +233 -0
  266. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_id.rb +217 -0
  267. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +219 -0
  268. data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +301 -0
  269. data/lib/hubspot/codegen/crm/objects/meetings/models/standard_error.rb +311 -0
  270. data/lib/hubspot/codegen/crm/objects/meetings/models/value_with_timestamp.rb +272 -0
  271. data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +17 -1
  272. data/lib/hubspot/codegen/crm/objects/models/error_category.rb +20 -20
  273. data/lib/hubspot/codegen/crm/objects/models/filter.rb +12 -1
  274. data/lib/hubspot/codegen/crm/objects/models/public_gdpr_delete_input.rb +224 -0
  275. data/lib/hubspot/codegen/crm/objects/models/public_merge_input.rb +229 -0
  276. data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +12 -1
  277. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +12 -1
  278. data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +270 -0
  279. data/lib/hubspot/codegen/crm/objects/notes/api/associations_api.rb +256 -0
  280. data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +380 -0
  281. data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +279 -0
  282. data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +90 -0
  283. data/lib/hubspot/codegen/crm/objects/notes/api/search_api.rb +88 -0
  284. data/lib/hubspot/codegen/crm/objects/notes/api_client.rb +408 -0
  285. data/lib/hubspot/codegen/crm/objects/notes/api_error.rb +63 -0
  286. data/lib/hubspot/codegen/crm/objects/notes/configuration.rb +265 -0
  287. data/lib/hubspot/codegen/crm/objects/notes/models/associated_id.rb +231 -0
  288. data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input.rb +219 -0
  289. data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_id.rb +219 -0
  290. data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_input.rb +219 -0
  291. data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +260 -0
  292. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object.rb +315 -0
  293. data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object_with_errors.rb +335 -0
  294. data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id.rb +228 -0
  295. data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id_forward_paging.rb +228 -0
  296. data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
  297. data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
  298. data/lib/hubspot/codegen/crm/objects/notes/models/error.rb +294 -0
  299. data/lib/hubspot/codegen/crm/objects/notes/models/error_category.rb +265 -0
  300. data/lib/hubspot/codegen/crm/objects/notes/models/error_detail.rb +260 -0
  301. data/lib/hubspot/codegen/crm/objects/notes/models/filter.rb +286 -0
  302. data/lib/hubspot/codegen/crm/objects/notes/models/filter_group.rb +219 -0
  303. data/lib/hubspot/codegen/crm/objects/notes/models/forward_paging.rb +212 -0
  304. data/lib/hubspot/codegen/crm/objects/notes/models/next_page.rb +226 -0
  305. data/lib/hubspot/codegen/crm/objects/notes/models/paging.rb +221 -0
  306. data/lib/hubspot/codegen/crm/objects/notes/models/previous_page.rb +226 -0
  307. data/lib/hubspot/codegen/crm/objects/notes/models/public_merge_input.rb +231 -0
  308. data/lib/hubspot/codegen/crm/objects/notes/models/public_object_search_request.rb +288 -0
  309. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +290 -0
  310. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +233 -0
  311. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_id.rb +217 -0
  312. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +219 -0
  313. data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +301 -0
  314. data/lib/hubspot/codegen/crm/objects/notes/models/standard_error.rb +311 -0
  315. data/lib/hubspot/codegen/crm/objects/notes/models/value_with_timestamp.rb +272 -0
  316. data/lib/hubspot/codegen/crm/objects/tasks/api/associations_api.rb +256 -0
  317. data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +380 -0
  318. data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +279 -0
  319. data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +90 -0
  320. data/lib/hubspot/codegen/crm/objects/tasks/api/search_api.rb +88 -0
  321. data/lib/hubspot/codegen/crm/objects/tasks/api_client.rb +408 -0
  322. data/lib/hubspot/codegen/crm/objects/tasks/api_error.rb +63 -0
  323. data/lib/hubspot/codegen/crm/objects/tasks/configuration.rb +265 -0
  324. data/lib/hubspot/codegen/crm/objects/tasks/models/associated_id.rb +231 -0
  325. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input.rb +219 -0
  326. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_id.rb +219 -0
  327. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_input.rb +219 -0
  328. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +260 -0
  329. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object.rb +315 -0
  330. data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object_with_errors.rb +335 -0
  331. data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id.rb +228 -0
  332. data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id_forward_paging.rb +228 -0
  333. data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
  334. data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
  335. data/lib/hubspot/codegen/crm/objects/tasks/models/error.rb +294 -0
  336. data/lib/hubspot/codegen/crm/objects/tasks/models/error_category.rb +265 -0
  337. data/lib/hubspot/codegen/crm/objects/tasks/models/error_detail.rb +260 -0
  338. data/lib/hubspot/codegen/crm/objects/tasks/models/filter.rb +286 -0
  339. data/lib/hubspot/codegen/crm/objects/tasks/models/filter_group.rb +219 -0
  340. data/lib/hubspot/codegen/crm/objects/tasks/models/forward_paging.rb +212 -0
  341. data/lib/hubspot/codegen/crm/objects/tasks/models/next_page.rb +226 -0
  342. data/lib/hubspot/codegen/crm/objects/tasks/models/paging.rb +221 -0
  343. data/lib/hubspot/codegen/crm/objects/tasks/models/previous_page.rb +226 -0
  344. data/lib/hubspot/codegen/crm/objects/tasks/models/public_merge_input.rb +231 -0
  345. data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_search_request.rb +288 -0
  346. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +290 -0
  347. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +233 -0
  348. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_id.rb +217 -0
  349. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +219 -0
  350. data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +301 -0
  351. data/lib/hubspot/codegen/crm/objects/tasks/models/standard_error.rb +311 -0
  352. data/lib/hubspot/codegen/crm/objects/tasks/models/value_with_timestamp.rb +272 -0
  353. data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +1 -1
  354. data/lib/hubspot/codegen/crm/owners/api_client.rb +1 -1
  355. data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
  356. data/lib/hubspot/codegen/crm/owners/configuration.rb +1 -1
  357. data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner_forward_paging.rb +1 -1
  358. data/lib/hubspot/codegen/crm/owners/models/error.rb +1 -1
  359. data/lib/hubspot/codegen/crm/owners/models/error_detail.rb +1 -1
  360. data/lib/hubspot/codegen/crm/owners/models/forward_paging.rb +1 -1
  361. data/lib/hubspot/codegen/crm/owners/models/next_page.rb +1 -1
  362. data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +1 -1
  363. data/lib/hubspot/codegen/crm/owners/models/public_team.rb +13 -42
  364. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +94 -0
  365. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +94 -0
  366. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +37 -34
  367. data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +46 -34
  368. data/lib/hubspot/codegen/crm/pipelines/models/{collection_response_pipeline.rb → collection_response_pipeline_no_paging.rb} +7 -16
  369. data/lib/hubspot/codegen/crm/pipelines/models/{collection_response_pipeline_stage.rb → collection_response_pipeline_stage_no_paging.rb} +7 -16
  370. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_public_audit_info_no_paging.rb +217 -0
  371. data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +48 -48
  372. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +21 -21
  373. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +58 -58
  374. data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +279 -0
  375. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +6 -0
  376. data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +88 -0
  377. data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +17 -1
  378. data/lib/hubspot/codegen/crm/products/models/error_category.rb +20 -20
  379. data/lib/hubspot/codegen/crm/products/models/filter.rb +12 -1
  380. data/lib/hubspot/codegen/crm/products/models/public_merge_input.rb +229 -0
  381. data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +12 -1
  382. data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +12 -1
  383. data/lib/hubspot/codegen/crm/products/models/value_with_timestamp.rb +270 -0
  384. data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +157 -1
  385. data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +207 -2
  386. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +187 -1
  387. data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +88 -0
  388. data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +1 -1
  389. data/lib/hubspot/codegen/crm/quotes/configuration.rb +7 -0
  390. data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +17 -1
  391. data/lib/hubspot/codegen/crm/quotes/models/error_category.rb +20 -20
  392. data/lib/hubspot/codegen/crm/quotes/models/filter.rb +12 -1
  393. data/lib/hubspot/codegen/crm/quotes/models/public_merge_input.rb +229 -0
  394. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +12 -1
  395. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +12 -1
  396. data/lib/hubspot/codegen/crm/quotes/models/value_with_timestamp.rb +270 -0
  397. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +6 -0
  398. data/lib/hubspot/codegen/crm/tickets/api/public_object_api.rb +88 -0
  399. data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +17 -1
  400. data/lib/hubspot/codegen/crm/tickets/models/error_category.rb +20 -20
  401. data/lib/hubspot/codegen/crm/tickets/models/filter.rb +12 -1
  402. data/lib/hubspot/codegen/crm/tickets/models/public_merge_input.rb +229 -0
  403. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +12 -1
  404. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +12 -1
  405. data/lib/hubspot/codegen/crm/tickets/models/value_with_timestamp.rb +270 -0
  406. data/lib/hubspot/codegen/crm/timeline/models/error_category.rb +2 -2
  407. data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +0 -5
  408. data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +446 -0
  409. data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +154 -0
  410. data/lib/hubspot/codegen/marketing/events/api/search_api.rb +89 -0
  411. data/lib/hubspot/codegen/marketing/events/api/settings_api.rb +158 -0
  412. data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +192 -0
  413. data/lib/hubspot/codegen/marketing/events/api_client.rb +406 -0
  414. data/lib/hubspot/codegen/marketing/events/api_error.rb +61 -0
  415. data/lib/hubspot/codegen/marketing/events/configuration.rb +270 -0
  416. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +217 -0
  417. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +218 -0
  418. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +217 -0
  419. data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_subscriber.rb +218 -0
  420. data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +333 -0
  421. data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging.rb +217 -0
  422. data/lib/hubspot/codegen/marketing/events/models/error.rb +292 -0
  423. data/lib/hubspot/codegen/marketing/events/models/error_category.rb +263 -0
  424. data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +258 -0
  425. data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +231 -0
  426. data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +216 -0
  427. data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +333 -0
  428. data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +303 -0
  429. data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +231 -0
  430. data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +246 -0
  431. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +345 -0
  432. data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +420 -0
  433. data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +225 -0
  434. data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +293 -0
  435. data/lib/hubspot/codegen/marketing/events/models/property_value.rb +401 -0
  436. data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +309 -0
  437. data/lib/hubspot/codegen/marketing/forms/api/forms_api.rb +429 -0
  438. data/lib/hubspot/codegen/marketing/forms/api_client.rb +406 -0
  439. data/lib/hubspot/codegen/marketing/forms/api_error.rb +61 -0
  440. data/lib/hubspot/codegen/marketing/forms/configuration.rb +263 -0
  441. data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging.rb +226 -0
  442. data/lib/hubspot/codegen/marketing/forms/models/datepicker_field.rb +344 -0
  443. data/lib/hubspot/codegen/marketing/forms/models/dependent_field.rb +224 -0
  444. data/lib/hubspot/codegen/marketing/forms/models/dependent_field_filter.rb +307 -0
  445. data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +358 -0
  446. data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +353 -0
  447. data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +233 -0
  448. data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +255 -0
  449. data/lib/hubspot/codegen/marketing/forms/models/error.rb +292 -0
  450. data/lib/hubspot/codegen/marketing/forms/models/error_detail.rb +258 -0
  451. data/lib/hubspot/codegen/marketing/forms/models/field_group.rb +293 -0
  452. data/lib/hubspot/codegen/marketing/forms/models/file_field.rb +354 -0
  453. data/lib/hubspot/codegen/marketing/forms/models/form_definition_base.rb +246 -0
  454. data/lib/hubspot/codegen/marketing/forms/models/form_definition_create_request_base.rb +246 -0
  455. data/lib/hubspot/codegen/marketing/forms/models/form_display_options.rb +303 -0
  456. data/lib/hubspot/codegen/marketing/forms/models/form_post_submit_action.rb +265 -0
  457. data/lib/hubspot/codegen/marketing/forms/models/form_style.rb +403 -0
  458. data/lib/hubspot/codegen/{crm/pipelines/models/paging.rb → marketing/forms/models/forward_paging.rb} +8 -8
  459. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_configuration.rb +401 -0
  460. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +235 -0
  461. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_all_of.rb +388 -0
  462. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +235 -0
  463. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request_all_of.rb +374 -0
  464. data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request.rb +260 -0
  465. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_checkbox.rb +245 -0
  466. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +317 -0
  467. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +299 -0
  468. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +307 -0
  469. data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +251 -0
  470. data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +353 -0
  471. data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +344 -0
  472. data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +348 -0
  473. data/lib/hubspot/codegen/{crm/pipelines → marketing/forms}/models/next_page.rb +7 -7
  474. data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +353 -0
  475. data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +229 -0
  476. data/lib/hubspot/codegen/marketing/forms/models/phone_field.rb +363 -0
  477. data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +229 -0
  478. data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +358 -0
  479. data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +334 -0
  480. data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +344 -0
  481. data/lib/hubspot/codegen/settings/users/api/roles_api.rb +82 -0
  482. data/lib/hubspot/codegen/settings/users/api/teams_api.rb +82 -0
  483. data/lib/hubspot/codegen/settings/users/api/users_api.rb +355 -0
  484. data/lib/hubspot/codegen/settings/users/api_client.rb +406 -0
  485. data/lib/hubspot/codegen/settings/users/api_error.rb +61 -0
  486. data/lib/hubspot/codegen/settings/users/configuration.rb +256 -0
  487. data/lib/hubspot/codegen/settings/users/models/collection_response_public_permission_set_no_paging.rb +217 -0
  488. data/lib/hubspot/codegen/settings/users/models/collection_response_public_team_no_paging.rb +217 -0
  489. data/lib/hubspot/codegen/settings/users/models/collection_response_public_user_forward_paging.rb +226 -0
  490. data/lib/hubspot/codegen/settings/users/models/error.rb +292 -0
  491. data/lib/hubspot/codegen/settings/users/models/error_detail.rb +258 -0
  492. data/lib/hubspot/codegen/settings/users/models/forward_paging.rb +210 -0
  493. data/lib/hubspot/codegen/settings/users/models/next_page.rb +224 -0
  494. data/lib/hubspot/codegen/settings/users/models/public_permission_set.rb +246 -0
  495. data/lib/hubspot/codegen/settings/users/models/public_team.rb +265 -0
  496. data/lib/hubspot/codegen/settings/users/models/public_user.rb +263 -0
  497. data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +233 -0
  498. data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +263 -0
  499. data/lib/hubspot/codegen/webhooks/api/settings_api.rb +11 -23
  500. data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +38 -62
  501. data/lib/hubspot/codegen/webhooks/configuration.rb +1 -1
  502. data/lib/hubspot/codegen/webhooks/models/error_category.rb +2 -2
  503. data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +2 -4
  504. data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +2 -2
  505. data/lib/hubspot/discovery/cms/blogs/authors/api/{author_api.rb → blog_authors_api.rb} +1 -1
  506. data/lib/hubspot/discovery/cms/blogs/authors/client.rb +1 -1
  507. data/lib/hubspot/discovery/cms/blogs/blog_posts/api/{blog_post_api.rb → blog_posts_api.rb} +1 -1
  508. data/lib/hubspot/discovery/cms/blogs/blog_posts/client.rb +1 -1
  509. data/lib/hubspot/discovery/cms/blogs/tags/api/{tag_api.rb → blog_tags_api.rb} +1 -1
  510. data/lib/hubspot/discovery/cms/blogs/tags/client.rb +1 -1
  511. data/lib/hubspot/discovery/cms/client.rb +1 -0
  512. data/lib/hubspot/discovery/cms/source_code/api/content_api.rb +13 -0
  513. data/lib/hubspot/discovery/cms/source_code/api/extract_api.rb +13 -0
  514. data/lib/hubspot/discovery/cms/source_code/api/metadata_api.rb +13 -0
  515. data/lib/hubspot/discovery/cms/source_code/api/source_code_extract_api.rb +13 -0
  516. data/lib/hubspot/discovery/cms/source_code/api/validation_api.rb +13 -0
  517. data/lib/hubspot/discovery/cms/source_code/client.rb +23 -0
  518. data/lib/hubspot/discovery/crm/contacts/api/gdpr_api.rb +1 -1
  519. data/lib/hubspot/discovery/crm/contacts/client.rb +1 -1
  520. data/lib/hubspot/discovery/crm/objects/api/gdpr_api.rb +1 -1
  521. data/lib/hubspot/discovery/crm/objects/calls/api/associations_api.rb +15 -0
  522. data/lib/hubspot/discovery/crm/objects/calls/api/basic_api.rb +15 -0
  523. data/lib/hubspot/discovery/crm/objects/calls/api/batch_api.rb +15 -0
  524. data/lib/hubspot/discovery/crm/objects/calls/api/public_object_api.rb +15 -0
  525. data/lib/hubspot/discovery/crm/objects/calls/api/search_api.rb +15 -0
  526. data/lib/hubspot/discovery/crm/objects/calls/client.rb +25 -0
  527. data/lib/hubspot/discovery/crm/objects/client.rb +6 -1
  528. data/lib/hubspot/discovery/crm/objects/emails/api/associations_api.rb +15 -0
  529. data/lib/hubspot/discovery/crm/objects/emails/api/basic_api.rb +15 -0
  530. data/lib/hubspot/discovery/crm/objects/emails/api/batch_api.rb +15 -0
  531. data/lib/hubspot/discovery/crm/objects/emails/api/public_object_api.rb +15 -0
  532. data/lib/hubspot/discovery/crm/objects/emails/api/search_api.rb +15 -0
  533. data/lib/hubspot/discovery/crm/objects/emails/client.rb +25 -0
  534. data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/public_object_api.rb +15 -0
  535. data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +1 -0
  536. data/lib/hubspot/discovery/crm/objects/meetings/api/associations_api.rb +15 -0
  537. data/lib/hubspot/discovery/crm/objects/meetings/api/basic_api.rb +15 -0
  538. data/lib/hubspot/discovery/crm/objects/meetings/api/batch_api.rb +15 -0
  539. data/lib/hubspot/discovery/crm/objects/meetings/api/public_object_api.rb +15 -0
  540. data/lib/hubspot/discovery/crm/objects/meetings/api/search_api.rb +15 -0
  541. data/lib/hubspot/discovery/crm/objects/meetings/client.rb +25 -0
  542. data/lib/hubspot/discovery/crm/objects/notes/api/associations_api.rb +15 -0
  543. data/lib/hubspot/discovery/crm/objects/notes/api/basic_api.rb +15 -0
  544. data/lib/hubspot/discovery/crm/objects/notes/api/batch_api.rb +15 -0
  545. data/lib/hubspot/discovery/crm/objects/notes/api/public_object_api.rb +15 -0
  546. data/lib/hubspot/discovery/crm/objects/notes/api/search_api.rb +15 -0
  547. data/lib/hubspot/discovery/crm/objects/notes/client.rb +25 -0
  548. data/lib/hubspot/discovery/crm/objects/tasks/api/associations_api.rb +15 -0
  549. data/lib/hubspot/discovery/crm/objects/tasks/api/basic_api.rb +15 -0
  550. data/lib/hubspot/discovery/crm/objects/tasks/api/batch_api.rb +15 -0
  551. data/lib/hubspot/discovery/crm/objects/tasks/api/public_object_api.rb +15 -0
  552. data/lib/hubspot/discovery/crm/objects/tasks/api/search_api.rb +15 -0
  553. data/lib/hubspot/discovery/crm/objects/tasks/client.rb +25 -0
  554. data/lib/hubspot/discovery/marketing/client.rb +2 -0
  555. data/lib/hubspot/discovery/marketing/events/api/basic_api.rb +13 -0
  556. data/lib/hubspot/discovery/marketing/events/api/batch_api.rb +13 -0
  557. data/lib/hubspot/discovery/marketing/events/api/search_api.rb +13 -0
  558. data/lib/hubspot/discovery/marketing/events/api/settings_api.rb +13 -0
  559. data/lib/hubspot/discovery/marketing/events/api/subscriber_state_changes_api.rb +13 -0
  560. data/lib/hubspot/discovery/marketing/events/client.rb +23 -0
  561. data/lib/hubspot/discovery/marketing/forms/api/forms_api.rb +13 -0
  562. data/lib/hubspot/discovery/marketing/forms/client.rb +19 -0
  563. data/lib/hubspot/discovery/settings/client.rb +17 -0
  564. data/lib/hubspot/discovery/settings/users/api/roles_api.rb +13 -0
  565. data/lib/hubspot/discovery/settings/users/api/teams_api.rb +13 -0
  566. data/lib/hubspot/discovery/settings/users/api/users_api.rb +13 -0
  567. data/lib/hubspot/discovery/settings/users/client.rb +21 -0
  568. data/lib/hubspot/version.rb +1 -1
  569. data/lib/hubspot-api-client.rb +9 -0
  570. data/spec/codegen/cms/blogs/authors/api/{author_api_spec.rb → blog_authors_api_spec.rb} +77 -17
  571. data/spec/codegen/cms/blogs/authors/models/attach_to_lang_primary_request_v_next_spec.rb +67 -0
  572. data/spec/codegen/cms/blogs/authors/models/batch_input_blog_author_spec.rb +1 -1
  573. data/spec/codegen/cms/blogs/authors/models/batch_input_json_node_spec.rb +1 -1
  574. data/spec/codegen/cms/blogs/authors/models/batch_input_string_spec.rb +1 -1
  575. data/spec/codegen/cms/blogs/authors/models/batch_response_blog_author_spec.rb +75 -0
  576. data/spec/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors_spec.rb +1 -1
  577. data/spec/codegen/cms/blogs/authors/models/blog_author_clone_request_v_next_spec.rb +59 -0
  578. data/spec/codegen/cms/blogs/authors/models/blog_author_spec.rb +44 -10
  579. data/spec/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging_spec.rb +1 -1
  580. data/spec/codegen/cms/blogs/authors/models/detach_from_lang_group_request_v_next_spec.rb +41 -0
  581. data/spec/codegen/cms/blogs/authors/models/error_detail_spec.rb +1 -1
  582. data/spec/codegen/cms/blogs/authors/models/error_spec.rb +1 -1
  583. data/spec/codegen/cms/blogs/authors/models/forward_paging_spec.rb +1 -1
  584. data/spec/codegen/cms/blogs/authors/models/next_page_spec.rb +1 -1
  585. data/spec/codegen/cms/blogs/authors/models/set_new_language_primary_request_v_next_spec.rb +41 -0
  586. data/spec/codegen/cms/blogs/authors/models/standard_error_spec.rb +1 -1
  587. data/spec/codegen/cms/blogs/authors/models/update_languages_request_v_next_spec.rb +51 -0
  588. data/spec/codegen/cms/blogs/blog-posts/api/{blog_post_api_spec.rb → blog_posts_api_spec.rb} +81 -21
  589. data/spec/codegen/cms/blogs/blog-posts/models/angle_spec.rb +1 -1
  590. data/spec/codegen/cms/blogs/blog-posts/models/attach_to_lang_primary_request_v_next_spec.rb +67 -0
  591. data/spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb +1 -1
  592. data/spec/codegen/cms/blogs/blog-posts/models/batch_input_blog_post_spec.rb +1 -1
  593. data/spec/codegen/cms/blogs/blog-posts/models/batch_input_json_node_spec.rb +1 -1
  594. data/spec/codegen/cms/blogs/blog-posts/models/batch_input_string_spec.rb +1 -1
  595. data/spec/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_spec.rb +75 -0
  596. data/spec/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors_spec.rb +1 -1
  597. data/spec/codegen/cms/blogs/blog-posts/models/blog_post_language_clone_request_v_next_spec.rb +47 -0
  598. data/spec/codegen/cms/blogs/blog-posts/models/blog_post_spec.rb +51 -51
  599. data/spec/codegen/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging_spec.rb +1 -1
  600. data/spec/codegen/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post_spec.rb +1 -1
  601. data/spec/codegen/cms/blogs/blog-posts/models/color_stop_spec.rb +1 -1
  602. data/spec/codegen/cms/blogs/blog-posts/models/content_clone_request_v_next_spec.rb +1 -1
  603. data/spec/codegen/cms/blogs/blog-posts/models/content_language_variation_spec.rb +119 -0
  604. data/spec/codegen/cms/blogs/blog-posts/models/content_schedule_request_v_next_spec.rb +1 -1
  605. data/spec/codegen/cms/blogs/blog-posts/models/detach_from_lang_group_request_v_next_spec.rb +41 -0
  606. data/spec/codegen/cms/blogs/blog-posts/models/error_detail_spec.rb +1 -1
  607. data/spec/codegen/cms/blogs/blog-posts/models/error_spec.rb +1 -1
  608. data/spec/codegen/cms/blogs/blog-posts/models/forward_paging_spec.rb +1 -1
  609. data/spec/codegen/cms/blogs/blog-posts/models/gradient_spec.rb +1 -1
  610. data/spec/codegen/cms/blogs/blog-posts/models/layout_section_spec.rb +1 -1
  611. data/spec/codegen/cms/blogs/blog-posts/models/next_page_spec.rb +1 -1
  612. data/spec/codegen/cms/blogs/blog-posts/models/paging_spec.rb +1 -1
  613. data/spec/codegen/cms/blogs/blog-posts/models/previous_page_spec.rb +1 -1
  614. data/spec/codegen/cms/blogs/blog-posts/models/rgba_color_spec.rb +1 -1
  615. data/spec/codegen/cms/blogs/blog-posts/models/row_meta_data_spec.rb +1 -1
  616. data/spec/codegen/cms/blogs/blog-posts/models/set_new_language_primary_request_v_next_spec.rb +41 -0
  617. data/spec/codegen/cms/blogs/blog-posts/models/side_or_corner_spec.rb +1 -1
  618. data/spec/codegen/cms/blogs/blog-posts/models/standard_error_spec.rb +1 -1
  619. data/spec/codegen/cms/blogs/blog-posts/models/styles_spec.rb +1 -1
  620. data/spec/codegen/cms/blogs/blog-posts/models/update_languages_request_v_next_spec.rb +51 -0
  621. data/spec/codegen/cms/blogs/blog-posts/models/version_blog_post_spec.rb +2 -2
  622. data/spec/codegen/cms/blogs/blog-posts/models/version_user_spec.rb +1 -1
  623. data/spec/codegen/cms/blogs/tags/api/{tag_api_spec.rb → blog_tags_api_spec.rb} +77 -17
  624. data/spec/codegen/cms/blogs/tags/models/attach_to_lang_primary_request_v_next_spec.rb +67 -0
  625. data/spec/codegen/cms/blogs/tags/models/batch_input_json_node_spec.rb +1 -1
  626. data/spec/codegen/cms/blogs/tags/models/batch_input_string_spec.rb +1 -1
  627. data/spec/codegen/cms/blogs/tags/models/batch_input_tag_spec.rb +1 -1
  628. data/spec/codegen/cms/blogs/tags/models/batch_response_tag_spec.rb +75 -0
  629. data/spec/codegen/cms/blogs/tags/models/batch_response_tag_with_errors_spec.rb +1 -1
  630. data/spec/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging_spec.rb +1 -1
  631. data/spec/codegen/cms/blogs/tags/models/detach_from_lang_group_request_v_next_spec.rb +41 -0
  632. data/spec/codegen/cms/blogs/tags/models/error_detail_spec.rb +1 -1
  633. data/spec/codegen/cms/blogs/tags/models/error_spec.rb +1 -1
  634. data/spec/codegen/cms/blogs/tags/models/forward_paging_spec.rb +1 -1
  635. data/spec/codegen/cms/blogs/tags/models/next_page_spec.rb +1 -1
  636. data/spec/codegen/cms/blogs/tags/models/set_new_language_primary_request_v_next_spec.rb +41 -0
  637. data/spec/codegen/cms/blogs/tags/models/standard_error_spec.rb +1 -1
  638. data/spec/codegen/cms/blogs/tags/models/tag_clone_request_v_next_spec.rb +59 -0
  639. data/spec/codegen/cms/blogs/tags/models/tag_spec.rb +20 -4
  640. data/spec/codegen/cms/blogs/tags/models/update_languages_request_v_next_spec.rb +51 -0
  641. data/spec/codegen/cms/hubdb/api/rows_batch_api_spec.rb +6 -6
  642. data/spec/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_spec.rb +75 -0
  643. data/spec/codegen/cms/hubdb/models/column_request_spec.rb +12 -0
  644. data/spec/codegen/cms/hubdb/models/column_spec.rb +2 -2
  645. data/spec/codegen/cms/hubdb/models/hub_db_table_v3_spec.rb +6 -6
  646. data/spec/codegen/cms/source-code/api/content_api_spec.rb +89 -0
  647. data/spec/codegen/cms/source-code/api/extract_api_spec.rb +47 -0
  648. data/spec/codegen/cms/source-code/api/metadata_api_spec.rb +48 -0
  649. data/spec/codegen/cms/source-code/api/source_code_extract_api_spec.rb +55 -0
  650. data/spec/codegen/cms/source-code/api/validation_api_spec.rb +48 -0
  651. data/spec/codegen/cms/source-code/models/action_response_spec.rb +69 -0
  652. data/spec/codegen/cms/source-code/models/asset_file_metadata_spec.rb +77 -0
  653. data/spec/codegen/cms/source-code/models/error_detail_spec.rb +65 -0
  654. data/spec/codegen/cms/source-code/models/error_spec.rb +77 -0
  655. data/spec/codegen/cms/source-code/models/file_extract_request_spec.rb +41 -0
  656. data/spec/codegen/cms/source-code/models/task_locator_spec.rb +47 -0
  657. data/spec/codegen/crm/companies/api/basic_api_spec.rb +2 -0
  658. data/spec/codegen/crm/companies/api/public_object_api_spec.rb +46 -0
  659. data/spec/codegen/crm/companies/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
  660. data/spec/codegen/crm/companies/models/error_category_spec.rb +6 -6
  661. data/spec/codegen/crm/companies/models/filter_spec.rb +6 -0
  662. data/spec/codegen/crm/companies/models/public_merge_input_spec.rb +47 -0
  663. data/spec/codegen/crm/companies/models/simple_public_object_spec.rb +6 -0
  664. data/spec/codegen/crm/companies/models/simple_public_object_with_associations_spec.rb +6 -0
  665. data/spec/codegen/crm/companies/models/value_with_timestamp_spec.rb +71 -0
  666. data/spec/codegen/crm/contacts/api/basic_api_spec.rb +4 -4
  667. data/spec/codegen/crm/contacts/api/gdpr_api_spec.rb +10 -22
  668. data/spec/codegen/crm/contacts/api/public_object_api_spec.rb +46 -0
  669. data/spec/codegen/crm/contacts/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
  670. data/spec/codegen/crm/contacts/models/error_category_spec.rb +6 -6
  671. data/spec/codegen/crm/contacts/models/filter_spec.rb +6 -0
  672. data/spec/codegen/crm/contacts/models/public_gdpr_delete_input_spec.rb +47 -0
  673. data/spec/codegen/crm/contacts/models/public_merge_input_spec.rb +47 -0
  674. data/spec/codegen/crm/contacts/models/simple_public_object_spec.rb +6 -0
  675. data/spec/codegen/crm/contacts/models/simple_public_object_with_associations_spec.rb +6 -0
  676. data/spec/codegen/crm/contacts/models/value_with_timestamp_spec.rb +71 -0
  677. data/spec/codegen/crm/deals/api/basic_api_spec.rb +2 -0
  678. data/spec/codegen/crm/deals/api/public_object_api_spec.rb +46 -0
  679. data/spec/codegen/crm/deals/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
  680. data/spec/codegen/crm/deals/models/error_category_spec.rb +6 -6
  681. data/spec/codegen/crm/deals/models/filter_spec.rb +6 -0
  682. data/spec/codegen/crm/deals/models/public_merge_input_spec.rb +47 -0
  683. data/spec/codegen/crm/deals/models/simple_public_object_spec.rb +6 -0
  684. data/spec/codegen/crm/deals/models/simple_public_object_with_associations_spec.rb +6 -0
  685. data/spec/codegen/crm/deals/models/value_with_timestamp_spec.rb +71 -0
  686. data/spec/codegen/crm/line_items/api/basic_api_spec.rb +2 -0
  687. data/spec/codegen/crm/line_items/api/public_object_api_spec.rb +46 -0
  688. data/spec/codegen/crm/line_items/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
  689. data/spec/codegen/crm/line_items/models/error_category_spec.rb +6 -6
  690. data/spec/codegen/crm/line_items/models/filter_spec.rb +6 -0
  691. data/spec/codegen/crm/line_items/models/public_merge_input_spec.rb +47 -0
  692. data/spec/codegen/crm/line_items/models/simple_public_object_spec.rb +6 -0
  693. data/spec/codegen/crm/line_items/models/simple_public_object_with_associations_spec.rb +6 -0
  694. data/spec/codegen/crm/line_items/models/value_with_timestamp_spec.rb +71 -0
  695. data/spec/codegen/crm/objects/api/basic_api_spec.rb +2 -0
  696. data/spec/codegen/crm/objects/api/gdpr_api_spec.rb +10 -23
  697. data/spec/codegen/crm/objects/api/public_object_api_spec.rb +47 -0
  698. data/spec/codegen/crm/objects/calls/api/associations_api_spec.rb +77 -0
  699. data/spec/codegen/crm/objects/calls/api/basic_api_spec.rb +107 -0
  700. data/spec/codegen/crm/objects/calls/api/batch_api_spec.rb +80 -0
  701. data/spec/codegen/crm/objects/calls/api/public_object_api_spec.rb +46 -0
  702. data/spec/codegen/crm/objects/calls/api/search_api_spec.rb +45 -0
  703. data/spec/codegen/crm/objects/calls/models/associated_id_spec.rb +47 -0
  704. data/spec/codegen/crm/objects/calls/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
  705. data/spec/codegen/crm/objects/calls/models/batch_input_simple_public_object_id_spec.rb +41 -0
  706. data/spec/codegen/crm/objects/calls/models/batch_input_simple_public_object_input_spec.rb +41 -0
  707. data/spec/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
  708. data/spec/codegen/crm/objects/calls/models/batch_response_simple_public_object_spec.rb +75 -0
  709. data/spec/codegen/crm/objects/calls/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
  710. data/spec/codegen/crm/objects/calls/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  711. data/spec/codegen/crm/objects/calls/models/collection_response_associated_id_spec.rb +47 -0
  712. data/spec/codegen/crm/objects/calls/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
  713. data/spec/codegen/crm/objects/calls/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
  714. data/spec/codegen/crm/objects/calls/models/error_category_spec.rb +51 -0
  715. data/spec/codegen/crm/objects/calls/models/error_detail_spec.rb +65 -0
  716. data/spec/codegen/crm/objects/calls/models/error_spec.rb +77 -0
  717. data/spec/codegen/crm/objects/calls/models/filter_group_spec.rb +41 -0
  718. data/spec/codegen/crm/objects/calls/models/filter_spec.rb +63 -0
  719. data/spec/codegen/crm/objects/calls/models/forward_paging_spec.rb +41 -0
  720. data/spec/codegen/crm/objects/calls/models/next_page_spec.rb +47 -0
  721. data/spec/codegen/crm/objects/calls/models/paging_spec.rb +47 -0
  722. data/spec/codegen/crm/objects/calls/models/previous_page_spec.rb +47 -0
  723. data/spec/codegen/crm/objects/calls/models/public_merge_input_spec.rb +47 -0
  724. data/spec/codegen/crm/objects/calls/models/public_object_search_request_spec.rb +71 -0
  725. data/spec/codegen/crm/objects/calls/models/simple_public_object_batch_input_spec.rb +47 -0
  726. data/spec/codegen/crm/objects/calls/models/simple_public_object_id_spec.rb +41 -0
  727. data/spec/codegen/crm/objects/calls/models/simple_public_object_input_spec.rb +41 -0
  728. data/spec/codegen/crm/objects/calls/models/simple_public_object_spec.rb +77 -0
  729. data/spec/codegen/crm/objects/calls/models/simple_public_object_with_associations_spec.rb +83 -0
  730. data/spec/codegen/crm/objects/calls/models/standard_error_spec.rb +83 -0
  731. data/spec/codegen/crm/objects/calls/models/value_with_timestamp_spec.rb +71 -0
  732. data/spec/codegen/crm/objects/emails/api/associations_api_spec.rb +77 -0
  733. data/spec/codegen/crm/objects/emails/api/basic_api_spec.rb +107 -0
  734. data/spec/codegen/crm/objects/emails/api/batch_api_spec.rb +80 -0
  735. data/spec/codegen/crm/objects/emails/api/public_object_api_spec.rb +46 -0
  736. data/spec/codegen/crm/objects/emails/api/search_api_spec.rb +45 -0
  737. data/spec/codegen/crm/objects/emails/models/associated_id_spec.rb +47 -0
  738. data/spec/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
  739. data/spec/codegen/crm/objects/emails/models/batch_input_simple_public_object_id_spec.rb +41 -0
  740. data/spec/codegen/crm/objects/emails/models/batch_input_simple_public_object_input_spec.rb +41 -0
  741. data/spec/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
  742. data/spec/codegen/crm/objects/emails/models/batch_response_simple_public_object_spec.rb +75 -0
  743. data/spec/codegen/crm/objects/emails/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
  744. data/spec/codegen/crm/objects/emails/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  745. data/spec/codegen/crm/objects/emails/models/collection_response_associated_id_spec.rb +47 -0
  746. data/spec/codegen/crm/objects/emails/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
  747. data/spec/codegen/crm/objects/emails/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
  748. data/spec/codegen/crm/objects/emails/models/error_category_spec.rb +51 -0
  749. data/spec/codegen/crm/objects/emails/models/error_detail_spec.rb +65 -0
  750. data/spec/codegen/crm/objects/emails/models/error_spec.rb +77 -0
  751. data/spec/codegen/crm/objects/emails/models/filter_group_spec.rb +41 -0
  752. data/spec/codegen/crm/objects/emails/models/filter_spec.rb +63 -0
  753. data/spec/codegen/crm/objects/emails/models/forward_paging_spec.rb +41 -0
  754. data/spec/codegen/crm/objects/emails/models/next_page_spec.rb +47 -0
  755. data/spec/codegen/crm/objects/emails/models/paging_spec.rb +47 -0
  756. data/spec/codegen/crm/objects/emails/models/previous_page_spec.rb +47 -0
  757. data/spec/codegen/crm/objects/emails/models/public_merge_input_spec.rb +47 -0
  758. data/spec/codegen/crm/objects/emails/models/public_object_search_request_spec.rb +71 -0
  759. data/spec/codegen/crm/objects/emails/models/simple_public_object_batch_input_spec.rb +47 -0
  760. data/spec/codegen/crm/objects/emails/models/simple_public_object_id_spec.rb +41 -0
  761. data/spec/codegen/crm/objects/emails/models/simple_public_object_input_spec.rb +41 -0
  762. data/spec/codegen/crm/objects/emails/models/simple_public_object_spec.rb +77 -0
  763. data/spec/codegen/crm/objects/emails/models/simple_public_object_with_associations_spec.rb +83 -0
  764. data/spec/codegen/crm/objects/emails/models/standard_error_spec.rb +83 -0
  765. data/spec/codegen/crm/objects/emails/models/value_with_timestamp_spec.rb +71 -0
  766. data/spec/codegen/crm/objects/feedback_submissions/api/associations_api_spec.rb +28 -0
  767. data/spec/codegen/crm/objects/feedback_submissions/api/basic_api_spec.rb +40 -0
  768. data/spec/codegen/crm/objects/feedback_submissions/api/batch_api_spec.rb +33 -0
  769. data/spec/codegen/crm/objects/feedback_submissions/api/public_object_api_spec.rb +46 -0
  770. data/spec/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
  771. data/spec/codegen/crm/objects/feedback_submissions/models/error_category_spec.rb +6 -6
  772. data/spec/codegen/crm/objects/feedback_submissions/models/filter_spec.rb +6 -0
  773. data/spec/codegen/crm/objects/feedback_submissions/models/public_merge_input_spec.rb +47 -0
  774. data/spec/codegen/crm/objects/feedback_submissions/models/simple_public_object_spec.rb +6 -0
  775. data/spec/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations_spec.rb +6 -0
  776. data/spec/codegen/crm/objects/feedback_submissions/models/value_with_timestamp_spec.rb +71 -0
  777. data/spec/codegen/crm/objects/meetings/api/associations_api_spec.rb +77 -0
  778. data/spec/codegen/crm/objects/meetings/api/basic_api_spec.rb +107 -0
  779. data/spec/codegen/crm/objects/meetings/api/batch_api_spec.rb +80 -0
  780. data/spec/codegen/crm/objects/meetings/api/public_object_api_spec.rb +46 -0
  781. data/spec/codegen/crm/objects/meetings/api/search_api_spec.rb +45 -0
  782. data/spec/codegen/crm/objects/meetings/models/associated_id_spec.rb +47 -0
  783. data/spec/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
  784. data/spec/codegen/crm/objects/meetings/models/batch_input_simple_public_object_id_spec.rb +41 -0
  785. data/spec/codegen/crm/objects/meetings/models/batch_input_simple_public_object_input_spec.rb +41 -0
  786. data/spec/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
  787. data/spec/codegen/crm/objects/meetings/models/batch_response_simple_public_object_spec.rb +75 -0
  788. data/spec/codegen/crm/objects/meetings/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
  789. data/spec/codegen/crm/objects/meetings/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  790. data/spec/codegen/crm/objects/meetings/models/collection_response_associated_id_spec.rb +47 -0
  791. data/spec/codegen/crm/objects/meetings/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
  792. data/spec/codegen/crm/objects/meetings/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
  793. data/spec/codegen/crm/objects/meetings/models/error_category_spec.rb +51 -0
  794. data/spec/codegen/crm/objects/meetings/models/error_detail_spec.rb +65 -0
  795. data/spec/codegen/crm/objects/meetings/models/error_spec.rb +77 -0
  796. data/spec/codegen/crm/objects/meetings/models/filter_group_spec.rb +41 -0
  797. data/spec/codegen/crm/objects/meetings/models/filter_spec.rb +63 -0
  798. data/spec/codegen/crm/objects/meetings/models/forward_paging_spec.rb +41 -0
  799. data/spec/codegen/crm/objects/meetings/models/next_page_spec.rb +47 -0
  800. data/spec/codegen/crm/objects/meetings/models/paging_spec.rb +47 -0
  801. data/spec/codegen/crm/objects/meetings/models/previous_page_spec.rb +47 -0
  802. data/spec/codegen/crm/objects/meetings/models/public_merge_input_spec.rb +47 -0
  803. data/spec/codegen/crm/objects/meetings/models/public_object_search_request_spec.rb +71 -0
  804. data/spec/codegen/crm/objects/meetings/models/simple_public_object_batch_input_spec.rb +47 -0
  805. data/spec/codegen/crm/objects/meetings/models/simple_public_object_id_spec.rb +41 -0
  806. data/spec/codegen/crm/objects/meetings/models/simple_public_object_input_spec.rb +41 -0
  807. data/spec/codegen/crm/objects/meetings/models/simple_public_object_spec.rb +77 -0
  808. data/spec/codegen/crm/objects/meetings/models/simple_public_object_with_associations_spec.rb +83 -0
  809. data/spec/codegen/crm/objects/meetings/models/standard_error_spec.rb +83 -0
  810. data/spec/codegen/crm/objects/meetings/models/value_with_timestamp_spec.rb +71 -0
  811. data/spec/codegen/crm/objects/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
  812. data/spec/codegen/crm/objects/models/error_category_spec.rb +6 -6
  813. data/spec/codegen/crm/objects/models/filter_spec.rb +6 -0
  814. data/spec/codegen/crm/objects/models/public_gdpr_delete_input_spec.rb +47 -0
  815. data/spec/codegen/crm/objects/models/public_merge_input_spec.rb +47 -0
  816. data/spec/codegen/crm/objects/models/simple_public_object_spec.rb +6 -0
  817. data/spec/codegen/crm/objects/models/simple_public_object_with_associations_spec.rb +6 -0
  818. data/spec/codegen/crm/objects/models/value_with_timestamp_spec.rb +71 -0
  819. data/spec/codegen/crm/objects/notes/api/associations_api_spec.rb +77 -0
  820. data/spec/codegen/crm/objects/notes/api/basic_api_spec.rb +107 -0
  821. data/spec/codegen/crm/objects/notes/api/batch_api_spec.rb +80 -0
  822. data/spec/codegen/crm/objects/notes/api/public_object_api_spec.rb +46 -0
  823. data/spec/codegen/crm/objects/notes/api/search_api_spec.rb +45 -0
  824. data/spec/codegen/crm/objects/notes/models/associated_id_spec.rb +47 -0
  825. data/spec/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
  826. data/spec/codegen/crm/objects/notes/models/batch_input_simple_public_object_id_spec.rb +41 -0
  827. data/spec/codegen/crm/objects/notes/models/batch_input_simple_public_object_input_spec.rb +41 -0
  828. data/spec/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
  829. data/spec/codegen/crm/objects/notes/models/batch_response_simple_public_object_spec.rb +75 -0
  830. data/spec/codegen/crm/objects/notes/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
  831. data/spec/codegen/crm/objects/notes/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  832. data/spec/codegen/crm/objects/notes/models/collection_response_associated_id_spec.rb +47 -0
  833. data/spec/codegen/crm/objects/notes/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
  834. data/spec/codegen/crm/objects/notes/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
  835. data/spec/codegen/crm/objects/notes/models/error_category_spec.rb +51 -0
  836. data/spec/codegen/crm/objects/notes/models/error_detail_spec.rb +65 -0
  837. data/spec/codegen/crm/objects/notes/models/error_spec.rb +77 -0
  838. data/spec/codegen/crm/objects/notes/models/filter_group_spec.rb +41 -0
  839. data/spec/codegen/crm/objects/notes/models/filter_spec.rb +63 -0
  840. data/spec/codegen/crm/objects/notes/models/forward_paging_spec.rb +41 -0
  841. data/spec/codegen/crm/objects/notes/models/next_page_spec.rb +47 -0
  842. data/spec/codegen/crm/objects/notes/models/paging_spec.rb +47 -0
  843. data/spec/codegen/crm/objects/notes/models/previous_page_spec.rb +47 -0
  844. data/spec/codegen/crm/objects/notes/models/public_merge_input_spec.rb +47 -0
  845. data/spec/codegen/crm/objects/notes/models/public_object_search_request_spec.rb +71 -0
  846. data/spec/codegen/crm/objects/notes/models/simple_public_object_batch_input_spec.rb +47 -0
  847. data/spec/codegen/crm/objects/notes/models/simple_public_object_id_spec.rb +41 -0
  848. data/spec/codegen/crm/objects/notes/models/simple_public_object_input_spec.rb +41 -0
  849. data/spec/codegen/crm/objects/notes/models/simple_public_object_spec.rb +77 -0
  850. data/spec/codegen/crm/objects/notes/models/simple_public_object_with_associations_spec.rb +83 -0
  851. data/spec/codegen/crm/objects/notes/models/standard_error_spec.rb +83 -0
  852. data/spec/codegen/crm/objects/notes/models/value_with_timestamp_spec.rb +71 -0
  853. data/spec/codegen/crm/objects/tasks/api/associations_api_spec.rb +77 -0
  854. data/spec/codegen/crm/objects/tasks/api/basic_api_spec.rb +107 -0
  855. data/spec/codegen/crm/objects/tasks/api/batch_api_spec.rb +80 -0
  856. data/spec/codegen/crm/objects/tasks/api/public_object_api_spec.rb +46 -0
  857. data/spec/codegen/crm/objects/tasks/api/search_api_spec.rb +45 -0
  858. data/spec/codegen/crm/objects/tasks/models/associated_id_spec.rb +47 -0
  859. data/spec/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
  860. data/spec/codegen/crm/objects/tasks/models/batch_input_simple_public_object_id_spec.rb +41 -0
  861. data/spec/codegen/crm/objects/tasks/models/batch_input_simple_public_object_input_spec.rb +41 -0
  862. data/spec/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
  863. data/spec/codegen/crm/objects/tasks/models/batch_response_simple_public_object_spec.rb +75 -0
  864. data/spec/codegen/crm/objects/tasks/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
  865. data/spec/codegen/crm/objects/tasks/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
  866. data/spec/codegen/crm/objects/tasks/models/collection_response_associated_id_spec.rb +47 -0
  867. data/spec/codegen/crm/objects/tasks/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
  868. data/spec/codegen/crm/objects/tasks/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
  869. data/spec/codegen/crm/objects/tasks/models/error_category_spec.rb +51 -0
  870. data/spec/codegen/crm/objects/tasks/models/error_detail_spec.rb +65 -0
  871. data/spec/codegen/crm/objects/tasks/models/error_spec.rb +77 -0
  872. data/spec/codegen/crm/objects/tasks/models/filter_group_spec.rb +41 -0
  873. data/spec/codegen/crm/objects/tasks/models/filter_spec.rb +63 -0
  874. data/spec/codegen/crm/objects/tasks/models/forward_paging_spec.rb +41 -0
  875. data/spec/codegen/crm/objects/tasks/models/next_page_spec.rb +47 -0
  876. data/spec/codegen/crm/objects/tasks/models/paging_spec.rb +47 -0
  877. data/spec/codegen/crm/objects/tasks/models/previous_page_spec.rb +47 -0
  878. data/spec/codegen/crm/objects/tasks/models/public_merge_input_spec.rb +47 -0
  879. data/spec/codegen/crm/objects/tasks/models/public_object_search_request_spec.rb +71 -0
  880. data/spec/codegen/crm/objects/tasks/models/simple_public_object_batch_input_spec.rb +47 -0
  881. data/spec/codegen/crm/objects/tasks/models/simple_public_object_id_spec.rb +41 -0
  882. data/spec/codegen/crm/objects/tasks/models/simple_public_object_input_spec.rb +41 -0
  883. data/spec/codegen/crm/objects/tasks/models/simple_public_object_spec.rb +77 -0
  884. data/spec/codegen/crm/objects/tasks/models/simple_public_object_with_associations_spec.rb +83 -0
  885. data/spec/codegen/crm/objects/tasks/models/standard_error_spec.rb +83 -0
  886. data/spec/codegen/crm/objects/tasks/models/value_with_timestamp_spec.rb +71 -0
  887. data/spec/codegen/crm/owners/api/owners_api_spec.rb +1 -1
  888. data/spec/codegen/crm/owners/models/collection_response_public_owner_forward_paging_spec.rb +1 -1
  889. data/spec/codegen/crm/owners/models/error_detail_spec.rb +1 -1
  890. data/spec/codegen/crm/owners/models/error_spec.rb +1 -1
  891. data/spec/codegen/crm/owners/models/forward_paging_spec.rb +1 -1
  892. data/spec/codegen/crm/owners/models/next_page_spec.rb +1 -1
  893. data/spec/codegen/crm/owners/models/public_owner_spec.rb +1 -1
  894. data/spec/codegen/crm/owners/models/public_team_spec.rb +2 -6
  895. data/spec/codegen/crm/pipelines/{models/paging_spec.rb → api/pipeline_audits_api_spec.rb} +15 -8
  896. data/spec/codegen/crm/pipelines/api/pipeline_stage_audits_api_spec.rb +48 -0
  897. data/spec/codegen/crm/pipelines/api/pipeline_stages_api_spec.rb +6 -9
  898. data/spec/codegen/crm/pipelines/api/pipelines_api_spec.rb +9 -9
  899. data/spec/codegen/crm/pipelines/models/{collection_response_pipeline_spec.rb → collection_response_pipeline_no_paging_spec.rb} +6 -12
  900. data/spec/codegen/crm/pipelines/models/{collection_response_pipeline_stage_spec.rb → collection_response_pipeline_stage_no_paging_spec.rb} +6 -12
  901. data/spec/codegen/crm/pipelines/models/{next_page_spec.rb → collection_response_public_audit_info_no_paging_spec.rb} +7 -13
  902. data/spec/codegen/crm/pipelines/models/pipeline_input_spec.rb +3 -3
  903. data/spec/codegen/crm/pipelines/models/pipeline_spec.rb +8 -8
  904. data/spec/codegen/crm/pipelines/models/pipeline_stage_spec.rb +8 -8
  905. data/spec/codegen/crm/pipelines/models/public_audit_info_spec.rb +77 -0
  906. data/spec/codegen/crm/products/api/basic_api_spec.rb +2 -0
  907. data/spec/codegen/crm/products/api/public_object_api_spec.rb +46 -0
  908. data/spec/codegen/crm/products/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
  909. data/spec/codegen/crm/products/models/error_category_spec.rb +6 -6
  910. data/spec/codegen/crm/products/models/filter_spec.rb +6 -0
  911. data/spec/codegen/crm/products/models/public_merge_input_spec.rb +47 -0
  912. data/spec/codegen/crm/products/models/simple_public_object_spec.rb +6 -0
  913. data/spec/codegen/crm/products/models/simple_public_object_with_associations_spec.rb +6 -0
  914. data/spec/codegen/crm/products/models/value_with_timestamp_spec.rb +71 -0
  915. data/spec/codegen/crm/quotes/api/associations_api_spec.rb +28 -0
  916. data/spec/codegen/crm/quotes/api/basic_api_spec.rb +40 -0
  917. data/spec/codegen/crm/quotes/api/batch_api_spec.rb +33 -0
  918. data/spec/codegen/crm/quotes/api/public_object_api_spec.rb +46 -0
  919. data/spec/codegen/crm/quotes/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
  920. data/spec/codegen/crm/quotes/models/error_category_spec.rb +6 -6
  921. data/spec/codegen/crm/quotes/models/filter_spec.rb +6 -0
  922. data/spec/codegen/crm/quotes/models/public_merge_input_spec.rb +47 -0
  923. data/spec/codegen/crm/quotes/models/simple_public_object_spec.rb +6 -0
  924. data/spec/codegen/crm/quotes/models/simple_public_object_with_associations_spec.rb +6 -0
  925. data/spec/codegen/crm/quotes/models/value_with_timestamp_spec.rb +71 -0
  926. data/spec/codegen/crm/tickets/api/basic_api_spec.rb +2 -0
  927. data/spec/codegen/crm/tickets/api/public_object_api_spec.rb +46 -0
  928. data/spec/codegen/crm/tickets/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
  929. data/spec/codegen/crm/tickets/models/error_category_spec.rb +6 -6
  930. data/spec/codegen/crm/tickets/models/filter_spec.rb +6 -0
  931. data/spec/codegen/crm/tickets/models/public_merge_input_spec.rb +47 -0
  932. data/spec/codegen/crm/tickets/models/simple_public_object_spec.rb +6 -0
  933. data/spec/codegen/crm/tickets/models/simple_public_object_with_associations_spec.rb +6 -0
  934. data/spec/codegen/crm/tickets/models/value_with_timestamp_spec.rb +71 -0
  935. data/spec/codegen/crm/timeline/models/error_category_spec.rb +1 -1
  936. data/spec/codegen/marketing/events/api/basic_api_spec.rb +113 -0
  937. data/spec/codegen/marketing/events/api/batch_api_spec.rb +59 -0
  938. data/spec/codegen/marketing/events/api/search_api_spec.rb +47 -0
  939. data/spec/codegen/marketing/events/api/settings_api_spec.rb +60 -0
  940. data/spec/codegen/marketing/events/api/subscriber_state_changes_api_spec.rb +65 -0
  941. data/spec/codegen/marketing/events/models/batch_input_marketing_event_create_request_params_spec.rb +41 -0
  942. data/spec/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber_spec.rb +41 -0
  943. data/spec/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier_spec.rb +41 -0
  944. data/spec/codegen/marketing/events/models/batch_input_marketing_event_subscriber_spec.rb +41 -0
  945. data/spec/codegen/marketing/events/models/batch_response_marketing_event_public_default_response_spec.rb +87 -0
  946. data/spec/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging_spec.rb +41 -0
  947. data/spec/codegen/marketing/events/models/error_category_spec.rb +51 -0
  948. data/spec/codegen/marketing/events/models/error_detail_spec.rb +65 -0
  949. data/spec/codegen/marketing/events/models/error_spec.rb +77 -0
  950. data/spec/codegen/marketing/events/models/event_detail_settings_spec.rb +47 -0
  951. data/spec/codegen/marketing/events/models/event_detail_settings_url_spec.rb +41 -0
  952. data/spec/codegen/marketing/events/models/marketing_event_create_request_params_spec.rb +101 -0
  953. data/spec/codegen/marketing/events/models/marketing_event_default_response_spec.rb +89 -0
  954. data/spec/codegen/marketing/events/models/marketing_event_email_subscriber_spec.rb +47 -0
  955. data/spec/codegen/marketing/events/models/marketing_event_external_unique_identifier_spec.rb +53 -0
  956. data/spec/codegen/marketing/events/models/marketing_event_public_default_response_spec.rb +107 -0
  957. data/spec/codegen/marketing/events/models/marketing_event_public_read_response_spec.rb +137 -0
  958. data/spec/codegen/marketing/events/models/marketing_event_subscriber_spec.rb +47 -0
  959. data/spec/codegen/marketing/events/models/marketing_event_update_request_params_spec.rb +89 -0
  960. data/spec/codegen/marketing/events/models/property_value_spec.rb +111 -0
  961. data/spec/codegen/marketing/events/models/standard_error_spec.rb +83 -0
  962. data/spec/codegen/marketing/forms/api/forms_api_spec.rb +113 -0
  963. data/spec/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging_spec.rb +47 -0
  964. data/spec/codegen/marketing/forms/models/datepicker_field_spec.rb +99 -0
  965. data/spec/codegen/marketing/forms/models/dependent_field_filter_spec.rb +69 -0
  966. data/spec/codegen/marketing/forms/models/dependent_field_spec.rb +47 -0
  967. data/spec/codegen/marketing/forms/models/dropdown_field_spec.rb +105 -0
  968. data/spec/codegen/marketing/forms/models/email_field_spec.rb +105 -0
  969. data/spec/codegen/marketing/forms/models/email_field_validation_spec.rb +47 -0
  970. data/spec/codegen/marketing/forms/models/enumerated_field_option_spec.rb +59 -0
  971. data/spec/codegen/marketing/forms/models/error_detail_spec.rb +65 -0
  972. data/spec/codegen/marketing/forms/models/error_spec.rb +77 -0
  973. data/spec/codegen/marketing/forms/models/field_group_spec.rb +67 -0
  974. data/spec/codegen/marketing/forms/models/file_field_spec.rb +105 -0
  975. data/spec/codegen/marketing/forms/models/form_definition_base_spec.rb +35 -0
  976. data/spec/codegen/marketing/forms/models/form_definition_create_request_base_spec.rb +35 -0
  977. data/spec/codegen/marketing/forms/models/form_display_options_spec.rb +69 -0
  978. data/spec/codegen/marketing/forms/models/form_post_submit_action_spec.rb +51 -0
  979. data/spec/codegen/marketing/forms/models/form_style_spec.rb +111 -0
  980. data/spec/codegen/marketing/forms/models/forward_paging_spec.rb +41 -0
  981. data/spec/codegen/marketing/forms/models/hub_spot_form_configuration_spec.rb +105 -0
  982. data/spec/codegen/marketing/forms/models/hub_spot_form_definition_all_of_spec.rb +105 -0
  983. data/spec/codegen/marketing/forms/models/hub_spot_form_definition_create_request_all_of_spec.rb +99 -0
  984. data/spec/codegen/marketing/forms/models/hub_spot_form_definition_create_request_spec.rb +35 -0
  985. data/spec/codegen/marketing/forms/models/hub_spot_form_definition_patch_request_spec.rb +71 -0
  986. data/spec/codegen/marketing/forms/models/hub_spot_form_definition_spec.rb +35 -0
  987. data/spec/codegen/marketing/forms/models/legal_consent_checkbox_spec.rb +53 -0
  988. data/spec/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process_spec.rb +81 -0
  989. data/spec/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process_spec.rb +69 -0
  990. data/spec/codegen/marketing/forms/models/legal_consent_options_legitimate_interest_spec.rb +67 -0
  991. data/spec/codegen/marketing/forms/models/legal_consent_options_none_spec.rb +45 -0
  992. data/spec/codegen/marketing/forms/models/mobile_phone_field_spec.rb +105 -0
  993. data/spec/codegen/marketing/forms/models/multi_line_text_field_spec.rb +99 -0
  994. data/spec/codegen/marketing/forms/models/multiple_checkboxes_field_spec.rb +99 -0
  995. data/spec/codegen/marketing/forms/models/next_page_spec.rb +47 -0
  996. data/spec/codegen/marketing/forms/models/number_field_spec.rb +105 -0
  997. data/spec/codegen/marketing/forms/models/number_field_validation_spec.rb +47 -0
  998. data/spec/codegen/marketing/forms/models/phone_field_spec.rb +111 -0
  999. data/spec/codegen/marketing/forms/models/phone_field_validation_spec.rb +47 -0
  1000. data/spec/codegen/marketing/forms/models/radio_field_spec.rb +105 -0
  1001. data/spec/codegen/marketing/forms/models/single_checkbox_field_spec.rb +93 -0
  1002. data/spec/codegen/marketing/forms/models/single_line_text_field_spec.rb +99 -0
  1003. data/spec/codegen/settings/users/api/roles_api_spec.rb +46 -0
  1004. data/spec/codegen/settings/users/api/teams_api_spec.rb +46 -0
  1005. data/spec/codegen/settings/users/api/users_api_spec.rb +100 -0
  1006. data/spec/codegen/settings/users/models/collection_response_public_permission_set_no_paging_spec.rb +41 -0
  1007. data/spec/codegen/settings/users/models/collection_response_public_team_no_paging_spec.rb +41 -0
  1008. data/spec/codegen/settings/users/models/collection_response_public_user_forward_paging_spec.rb +47 -0
  1009. data/spec/codegen/settings/users/models/error_detail_spec.rb +65 -0
  1010. data/spec/codegen/settings/users/models/error_spec.rb +77 -0
  1011. data/spec/codegen/settings/users/models/forward_paging_spec.rb +41 -0
  1012. data/spec/codegen/settings/users/models/next_page_spec.rb +47 -0
  1013. data/spec/codegen/settings/users/models/public_permission_set_spec.rb +53 -0
  1014. data/spec/codegen/settings/users/models/public_team_spec.rb +59 -0
  1015. data/spec/codegen/settings/users/models/public_user_spec.rb +65 -0
  1016. data/spec/codegen/settings/users/models/public_user_update_spec.rb +53 -0
  1017. data/spec/codegen/settings/users/models/user_provision_request_spec.rb +65 -0
  1018. data/spec/codegen/webhooks/api/settings_api_spec.rb +4 -10
  1019. data/spec/codegen/webhooks/api/subscriptions_api_spec.rb +12 -24
  1020. data/spec/codegen/webhooks/models/error_category_spec.rb +1 -1
  1021. data/spec/codegen/webhooks/models/subscription_create_request_spec.rb +1 -1
  1022. data/spec/codegen/webhooks/models/subscription_response_spec.rb +1 -1
  1023. data/spec/discovery/automation/actions/callbacks_api_spec.rb +1 -1
  1024. data/spec/discovery/automation/actions/definitions_api_spec.rb +1 -1
  1025. data/spec/discovery/automation/actions/functions_api_spec.rb +1 -1
  1026. data/spec/discovery/automation/actions/revisions_api_spec.rb +1 -1
  1027. data/spec/discovery/base_api_client_spec.rb +6 -6
  1028. data/spec/discovery/base_module_client_spec.rb +1 -1
  1029. data/spec/discovery/client_spec.rb +1 -1
  1030. data/spec/discovery/cms/audit-logs/audit_logs_api_spec.rb +1 -1
  1031. data/spec/discovery/cms/blogs/{tags/tag_api_spec.rb → authors/blog_authors_api_spec.rb} +2 -2
  1032. data/spec/discovery/cms/blogs/blog-posts/{blog_post_api_spec.rb → blog_posts_api_spec.rb} +2 -2
  1033. data/spec/discovery/cms/blogs/{authors/author_api_spec.rb → tags/blog_tags_api_spec.rb} +2 -2
  1034. data/spec/discovery/cms/domains/domains_api_spec.rb +1 -1
  1035. data/spec/discovery/cms/hubdb/rows_api_spec.rb +1 -1
  1036. data/spec/discovery/cms/hubdb/rows_batch_api_spec.rb +1 -1
  1037. data/spec/discovery/cms/hubdb/tables_api_spec.rb +1 -1
  1038. data/spec/discovery/cms/performance/public_performance_api_spec.rb +1 -1
  1039. data/spec/discovery/cms/site-search/public_api_spec.rb +1 -1
  1040. data/spec/discovery/cms/source-code/content_api_spec.rb +10 -0
  1041. data/spec/discovery/cms/source-code/extract_api_spec.rb +7 -0
  1042. data/spec/discovery/cms/source-code/metadata_api_spec.rb +7 -0
  1043. data/spec/discovery/cms/source-code/source_code_extract_api_spec.rb +8 -0
  1044. data/spec/discovery/cms/source-code/validation_api_spec.rb +7 -0
  1045. data/spec/discovery/cms/url-redirects/redirects_api_spec.rb +1 -1
  1046. data/spec/discovery/communication_preferences/definition_api_spec.rb +1 -1
  1047. data/spec/discovery/communication_preferences/status_api_spec.rb +1 -1
  1048. data/spec/discovery/conversations/visitor-identification/generate_api_spec.rb +1 -1
  1049. data/spec/discovery/crm/associations/batch_api_spec.rb +1 -1
  1050. data/spec/discovery/crm/associations/types_api_spec.rb +1 -1
  1051. data/spec/discovery/crm/companies/associations_api_spec.rb +1 -1
  1052. data/spec/discovery/crm/companies/basic_api_spec.rb +1 -1
  1053. data/spec/discovery/crm/companies/batch_api_spec.rb +1 -1
  1054. data/spec/discovery/crm/companies/search_api_spec.rb +1 -1
  1055. data/spec/discovery/crm/contacts/associations_api_spec.rb +1 -1
  1056. data/spec/discovery/crm/contacts/basic_api_spec.rb +1 -1
  1057. data/spec/discovery/crm/contacts/batch_api_spec.rb +1 -1
  1058. data/spec/discovery/crm/contacts/gdpr_api_spec.rb +3 -4
  1059. data/spec/discovery/crm/contacts/search_api_spec.rb +1 -1
  1060. data/spec/discovery/crm/deals/associations_api_spec.rb +1 -1
  1061. data/spec/discovery/crm/deals/basic_api_spec.rb +1 -1
  1062. data/spec/discovery/crm/deals/batch_api_spec.rb +1 -1
  1063. data/spec/discovery/crm/deals/search_api_spec.rb +1 -1
  1064. data/spec/discovery/crm/extensions/accounting/callbacks_api_spec.rb +1 -1
  1065. data/spec/discovery/crm/extensions/accounting/invoice_api_spec.rb +1 -1
  1066. data/spec/discovery/crm/extensions/accounting/settings_api_spec.rb +1 -1
  1067. data/spec/discovery/crm/extensions/accounting/sync_api_spec.rb +1 -1
  1068. data/spec/discovery/crm/extensions/accounting/user_accounts_api_spec.rb +1 -1
  1069. data/spec/discovery/crm/extensions/calling/settings_api_spec.rb +1 -1
  1070. data/spec/discovery/crm/extensions/cards/cards_api_spec.rb +1 -1
  1071. data/spec/discovery/crm/extensions/cards/sample_response_api_spec.rb +1 -1
  1072. data/spec/discovery/crm/extensions/videoconferencing/settings_api_spec.rb +1 -1
  1073. data/spec/discovery/crm/imports/core_api_spec.rb +1 -1
  1074. data/spec/discovery/crm/imports/public_imports_api_spec.rb +1 -1
  1075. data/spec/discovery/crm/line_items/associations_api_spec.rb +1 -1
  1076. data/spec/discovery/crm/line_items/basic_api_spec.rb +1 -1
  1077. data/spec/discovery/crm/line_items/batch_api_spec.rb +1 -1
  1078. data/spec/discovery/crm/line_items/search_api_spec.rb +1 -1
  1079. data/spec/discovery/crm/objects/associations_api_spec.rb +1 -1
  1080. data/spec/discovery/crm/objects/basic_api_spec.rb +1 -1
  1081. data/spec/discovery/crm/objects/batch_api_spec.rb +1 -1
  1082. data/spec/discovery/crm/objects/calls/associations_api_spec.rb +9 -0
  1083. data/spec/discovery/crm/objects/calls/basic_api_spec.rb +10 -0
  1084. data/spec/discovery/crm/objects/calls/batch_api_spec.rb +10 -0
  1085. data/spec/discovery/crm/objects/calls/public_object_api_spec.rb +7 -0
  1086. data/spec/discovery/crm/objects/calls/search_api_spec.rb +7 -0
  1087. data/spec/discovery/crm/objects/emails/associations_api_spec.rb +9 -0
  1088. data/spec/discovery/crm/objects/emails/basic_api_spec.rb +10 -0
  1089. data/spec/discovery/crm/objects/emails/batch_api_spec.rb +10 -0
  1090. data/spec/discovery/crm/objects/emails/public_object_api_spec.rb +7 -0
  1091. data/spec/discovery/crm/objects/emails/search_api_spec.rb +7 -0
  1092. data/spec/discovery/crm/objects/feedback_submissions/associations_api_spec.rb +1 -1
  1093. data/spec/discovery/crm/objects/feedback_submissions/basic_api_spec.rb +1 -1
  1094. data/spec/discovery/crm/objects/feedback_submissions/batch_api_spec.rb +1 -1
  1095. data/spec/discovery/crm/objects/feedback_submissions/public_object_api_spec.rb +7 -0
  1096. data/spec/discovery/crm/objects/feedback_submissions/search_api_spec.rb +1 -1
  1097. data/spec/discovery/crm/objects/gdpr_api_spec.rb +3 -4
  1098. data/spec/discovery/crm/objects/meetings/associations_api_spec.rb +9 -0
  1099. data/spec/discovery/crm/objects/meetings/basic_api_spec.rb +10 -0
  1100. data/spec/discovery/crm/objects/meetings/batch_api_spec.rb +10 -0
  1101. data/spec/discovery/crm/objects/meetings/public_object_api_spec.rb +7 -0
  1102. data/spec/discovery/crm/objects/meetings/search_api_spec.rb +7 -0
  1103. data/spec/discovery/crm/objects/notes/associations_api_spec.rb +9 -0
  1104. data/spec/discovery/crm/objects/notes/basic_api_spec.rb +10 -0
  1105. data/spec/discovery/crm/objects/notes/batch_api_spec.rb +10 -0
  1106. data/spec/discovery/crm/objects/notes/public_object_api_spec.rb +7 -0
  1107. data/spec/discovery/crm/objects/notes/search_api_spec.rb +7 -0
  1108. data/spec/discovery/crm/objects/search_api_spec.rb +1 -1
  1109. data/spec/discovery/crm/objects/tasks/associations_api_spec.rb +9 -0
  1110. data/spec/discovery/crm/objects/tasks/basic_api_spec.rb +10 -0
  1111. data/spec/discovery/crm/objects/tasks/batch_api_spec.rb +10 -0
  1112. data/spec/discovery/crm/objects/tasks/public_object_api_spec.rb +7 -0
  1113. data/spec/discovery/crm/objects/tasks/search_api_spec.rb +7 -0
  1114. data/spec/discovery/crm/owners/owners_api_spec.rb +1 -1
  1115. data/spec/discovery/crm/pipelines/pipeline_stages_api_spec.rb +1 -1
  1116. data/spec/discovery/crm/pipelines/pipelines_api_spec.rb +1 -1
  1117. data/spec/discovery/crm/products/associations_api_spec.rb +1 -1
  1118. data/spec/discovery/crm/products/basic_api_spec.rb +1 -1
  1119. data/spec/discovery/crm/products/batch_api_spec.rb +1 -1
  1120. data/spec/discovery/crm/products/search_api_spec.rb +1 -1
  1121. data/spec/discovery/crm/properties/batch_api_spec.rb +1 -1
  1122. data/spec/discovery/crm/properties/core_api_spec.rb +1 -1
  1123. data/spec/discovery/crm/properties/groups_api_spec.rb +1 -1
  1124. data/spec/discovery/crm/quotes/associations_api_spec.rb +1 -1
  1125. data/spec/discovery/crm/quotes/basic_api_spec.rb +1 -1
  1126. data/spec/discovery/crm/quotes/batch_api_spec.rb +1 -1
  1127. data/spec/discovery/crm/quotes/search_api_spec.rb +1 -1
  1128. data/spec/discovery/crm/schemas/core_api_spec.rb +1 -1
  1129. data/spec/discovery/crm/schemas/public_object_schemas_api_spec.rb +1 -1
  1130. data/spec/discovery/crm/tickets/associations_api_spec.rb +1 -1
  1131. data/spec/discovery/crm/tickets/basic_api_spec.rb +1 -1
  1132. data/spec/discovery/crm/tickets/batch_api_spec.rb +1 -1
  1133. data/spec/discovery/crm/tickets/search_api_spec.rb +1 -1
  1134. data/spec/discovery/crm/timeline/events_api_spec.rb +1 -1
  1135. data/spec/discovery/crm/timeline/templates_api_spec.rb +1 -1
  1136. data/spec/discovery/crm/timeline/tokens_api_spec.rb +1 -1
  1137. data/spec/discovery/events/events_api_spec.rb +1 -1
  1138. data/spec/discovery/files/files/files_api_spec.rb +1 -1
  1139. data/spec/discovery/files/files/folders_api_spec.rb +1 -1
  1140. data/spec/discovery/marketing/events/basic_api_spec.rb +12 -0
  1141. data/spec/discovery/marketing/events/batch_api_spec.rb +8 -0
  1142. data/spec/discovery/marketing/events/search_api_spec.rb +7 -0
  1143. data/spec/discovery/marketing/events/settings_api_spec.rb +8 -0
  1144. data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +8 -0
  1145. data/spec/discovery/marketing/forms/forms_api_spec.rb +12 -0
  1146. data/spec/discovery/marketing/transactional/public_smtp_tokens_api_spec.rb +1 -1
  1147. data/spec/discovery/marketing/transactional/single_send_api_spec.rb +1 -1
  1148. data/spec/discovery/oauth/access_tokens_api_spec.rb +1 -1
  1149. data/spec/discovery/oauth/refresh_tokens_api_spec.rb +1 -1
  1150. data/spec/discovery/oauth/tokens_api_spec.rb +1 -1
  1151. data/spec/discovery/settings/users/roles_api_spec.rb +7 -0
  1152. data/spec/discovery/settings/users/teams_api_spec.rb +7 -0
  1153. data/spec/discovery/settings/users/users_api_spec.rb +11 -0
  1154. data/spec/discovery/webhooks/settings_api_spec.rb +1 -1
  1155. data/spec/discovery/webhooks/subscriptions_api_spec.rb +1 -1
  1156. data/spec/features/cms/blogs/authors/{author_api_spec.rb → blog_authors_api_spec.rb} +2 -2
  1157. data/spec/features/cms/blogs/blog-posts/{blog_post_api_spec.rb → blog_posts_api_spec.rb} +2 -2
  1158. data/spec/features/cms/blogs/tags/{tag_api_spec.rb → blog_tags_api_spec.rb} +2 -2
  1159. data/spec/features/cms/source-code/content_api_spec.rb +10 -0
  1160. data/spec/features/cms/source-code/extract_api_spec.rb +7 -0
  1161. data/spec/features/cms/source-code/metadata_api_spec.rb +7 -0
  1162. data/spec/features/cms/source-code/source_code_extract_api_spec.rb +8 -0
  1163. data/spec/features/cms/source-code/validation_api_spec.rb +7 -0
  1164. data/spec/features/crm/contacts/gdpr_api_spec.rb +3 -4
  1165. data/spec/features/crm/objects/calls/associations_api_spec.rb +9 -0
  1166. data/spec/features/crm/objects/calls/basic_api_spec.rb +10 -0
  1167. data/spec/features/crm/objects/calls/batch_api_spec.rb +10 -0
  1168. data/spec/features/crm/objects/calls/public_object_api_spec.rb +7 -0
  1169. data/spec/features/crm/objects/calls/search_api_spec.rb +7 -0
  1170. data/spec/features/crm/objects/emails/associations_api_spec.rb +9 -0
  1171. data/spec/features/crm/objects/emails/basic_api_spec.rb +10 -0
  1172. data/spec/features/crm/objects/emails/batch_api_spec.rb +10 -0
  1173. data/spec/features/crm/objects/emails/public_object_api_spec.rb +7 -0
  1174. data/spec/features/crm/objects/emails/search_api_spec.rb +7 -0
  1175. data/spec/features/crm/objects/feedback_submissions/public_object_api_spec.rb +7 -0
  1176. data/spec/features/crm/objects/gdpr_api_spec.rb +3 -4
  1177. data/spec/features/crm/objects/meetings/associations_api_spec.rb +9 -0
  1178. data/spec/features/crm/objects/meetings/basic_api_spec.rb +10 -0
  1179. data/spec/features/crm/objects/meetings/batch_api_spec.rb +10 -0
  1180. data/spec/features/crm/objects/meetings/public_object_api_spec.rb +7 -0
  1181. data/spec/features/crm/objects/meetings/search_api_spec.rb +7 -0
  1182. data/spec/features/crm/objects/notes/associations_api_spec.rb +9 -0
  1183. data/spec/features/crm/objects/notes/basic_api_spec.rb +10 -0
  1184. data/spec/features/crm/objects/notes/batch_api_spec.rb +10 -0
  1185. data/spec/features/crm/objects/notes/public_object_api_spec.rb +7 -0
  1186. data/spec/features/crm/objects/notes/search_api_spec.rb +7 -0
  1187. data/spec/features/crm/objects/tasks/associations_api_spec.rb +9 -0
  1188. data/spec/features/crm/objects/tasks/basic_api_spec.rb +10 -0
  1189. data/spec/features/crm/objects/tasks/batch_api_spec.rb +10 -0
  1190. data/spec/features/crm/objects/tasks/public_object_api_spec.rb +7 -0
  1191. data/spec/features/crm/objects/tasks/search_api_spec.rb +7 -0
  1192. data/spec/features/marketing/events/basic_api_spec.rb +12 -0
  1193. data/spec/features/marketing/events/batch_api_spec.rb +8 -0
  1194. data/spec/features/marketing/events/search_api_spec.rb +7 -0
  1195. data/spec/features/marketing/events/settings_api_spec.rb +8 -0
  1196. data/spec/features/marketing/events/subscriber_state_changes_api_spec.rb +8 -0
  1197. data/spec/features/marketing/forms/forms_api_spec.rb +12 -0
  1198. data/spec/features/settings/users/roles_api_spec.rb +7 -0
  1199. data/spec/features/settings/users/teams_api_spec.rb +7 -0
  1200. data/spec/features/settings/users/users_api_spec.rb +11 -0
  1201. metadata +1217 -38
@@ -0,0 +1,94 @@
1
+ =begin
2
+ #CRM Pipelines
3
+
4
+ #Pipelines represent distinct stages in a workflow, like closing a deal or servicing a support ticket. These endpoints provide access to read and modify pipelines in HubSpot. Pipelines support `deals` and `tickets` object types. ## Pipeline ID validation When calling endpoints that take pipelineId as a parameter, that ID must correspond to an existing, un-archived pipeline. Otherwise the request will fail with a `404 Not Found` response.
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module Hubspot
16
+ module Crm
17
+ module Pipelines
18
+ class PipelineStageAuditsApi
19
+ attr_accessor :api_client
20
+
21
+ def initialize(api_client = ApiClient.default)
22
+ @api_client = api_client
23
+ end
24
+ # Return an audit of all changes to the pipeline stage
25
+ # Return a reverse chronological list of all mutations that have occurred on the pipeline stage identified by `{stageId}`.
26
+ # @param object_type [String]
27
+ # @param stage_id [String]
28
+ # @param [Hash] opts the optional parameters
29
+ # @return [CollectionResponsePublicAuditInfoNoPaging]
30
+ def get_audit(object_type, stage_id, opts = {})
31
+ data, _status_code, _headers = get_audit_with_http_info(object_type, stage_id, opts)
32
+ data
33
+ end
34
+
35
+ # Return an audit of all changes to the pipeline stage
36
+ # Return a reverse chronological list of all mutations that have occurred on the pipeline stage identified by `{stageId}`.
37
+ # @param object_type [String]
38
+ # @param stage_id [String]
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Array<(CollectionResponsePublicAuditInfoNoPaging, Integer, Hash)>] CollectionResponsePublicAuditInfoNoPaging data, response status code and response headers
41
+ def get_audit_with_http_info(object_type, stage_id, opts = {})
42
+ if @api_client.config.debugging
43
+ @api_client.config.logger.debug 'Calling API: PipelineStageAuditsApi.get_audit ...'
44
+ end
45
+ # verify the required parameter 'object_type' is set
46
+ if @api_client.config.client_side_validation && object_type.nil?
47
+ fail ArgumentError, "Missing the required parameter 'object_type' when calling PipelineStageAuditsApi.get_audit"
48
+ end
49
+ # verify the required parameter 'stage_id' is set
50
+ if @api_client.config.client_side_validation && stage_id.nil?
51
+ fail ArgumentError, "Missing the required parameter 'stage_id' when calling PipelineStageAuditsApi.get_audit"
52
+ end
53
+ # resource path
54
+ local_var_path = '/crm/v3/pipelines/{objectType}/{pipelineId}/stages/{stageId}/audit'.sub('{' + 'objectType' + '}', CGI.escape(object_type.to_s)).sub('{' + 'stageId' + '}', CGI.escape(stage_id.to_s))
55
+
56
+ # query parameters
57
+ query_params = opts[:query_params] || {}
58
+
59
+ # header parameters
60
+ header_params = opts[:header_params] || {}
61
+ # HTTP header 'Accept' (if needed)
62
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
63
+
64
+ # form parameters
65
+ form_params = opts[:form_params] || {}
66
+
67
+ # http body (model)
68
+ post_body = opts[:body]
69
+
70
+ # return_type
71
+ return_type = opts[:return_type] || 'CollectionResponsePublicAuditInfoNoPaging'
72
+
73
+ # auth_names
74
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
75
+
76
+ new_options = opts.merge(
77
+ :header_params => header_params,
78
+ :query_params => query_params,
79
+ :form_params => form_params,
80
+ :body => post_body,
81
+ :auth_names => auth_names,
82
+ :return_type => return_type
83
+ )
84
+
85
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
86
+ if @api_client.config.debugging
87
+ @api_client.config.logger.debug "API called: PipelineStageAuditsApi#get_audit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ end
89
+ return data, status_code, headers
90
+ end
91
+ end
92
+ end
93
+ end
94
+ end
@@ -21,8 +21,8 @@ module Hubspot
21
21
  def initialize(api_client = ApiClient.default)
22
22
  @api_client = api_client
23
23
  end
24
- # Archive a pipeline stage
25
- # Archive the pipeline stage identified by `{stageId}` associated with the pipeline identified by `{pipelineId}`.
24
+ # Delete a pipeline stage
25
+ # Delete the pipeline stage identified by `{stageId}` associated with the pipeline identified by `{pipelineId}`.
26
26
  # @param object_type [String]
27
27
  # @param pipeline_id [String]
28
28
  # @param stage_id [String]
@@ -33,8 +33,8 @@ module Hubspot
33
33
  nil
34
34
  end
35
35
 
36
- # Archive a pipeline stage
37
- # Archive the pipeline stage identified by &#x60;{stageId}&#x60; associated with the pipeline identified by &#x60;{pipelineId}&#x60;.
36
+ # Delete a pipeline stage
37
+ # Delete the pipeline stage identified by &#x60;{stageId}&#x60; associated with the pipeline identified by &#x60;{pipelineId}&#x60;.
38
38
  # @param object_type [String]
39
39
  # @param pipeline_id [String]
40
40
  # @param stage_id [String]
@@ -99,11 +99,11 @@ module Hubspot
99
99
  # Create a new stage associated with the pipeline identified by `{pipelineId}`. The entire stage object, including its unique ID, will be returned in the response.
100
100
  # @param object_type [String]
101
101
  # @param pipeline_id [String]
102
+ # @param pipeline_stage_input [PipelineStageInput]
102
103
  # @param [Hash] opts the optional parameters
103
- # @option opts [PipelineStageInput] :pipeline_stage_input
104
104
  # @return [PipelineStage]
105
- def create(object_type, pipeline_id, opts = {})
106
- data, _status_code, _headers = create_with_http_info(object_type, pipeline_id, opts)
105
+ def create(object_type, pipeline_id, pipeline_stage_input, opts = {})
106
+ data, _status_code, _headers = create_with_http_info(object_type, pipeline_id, pipeline_stage_input, opts)
107
107
  data
108
108
  end
109
109
 
@@ -111,10 +111,10 @@ module Hubspot
111
111
  # Create a new stage associated with the pipeline identified by &#x60;{pipelineId}&#x60;. The entire stage object, including its unique ID, will be returned in the response.
112
112
  # @param object_type [String]
113
113
  # @param pipeline_id [String]
114
+ # @param pipeline_stage_input [PipelineStageInput]
114
115
  # @param [Hash] opts the optional parameters
115
- # @option opts [PipelineStageInput] :pipeline_stage_input
116
116
  # @return [Array<(PipelineStage, Integer, Hash)>] PipelineStage data, response status code and response headers
117
- def create_with_http_info(object_type, pipeline_id, opts = {})
117
+ def create_with_http_info(object_type, pipeline_id, pipeline_stage_input, opts = {})
118
118
  if @api_client.config.debugging
119
119
  @api_client.config.logger.debug 'Calling API: PipelineStagesApi.create ...'
120
120
  end
@@ -126,6 +126,10 @@ module Hubspot
126
126
  if @api_client.config.client_side_validation && pipeline_id.nil?
127
127
  fail ArgumentError, "Missing the required parameter 'pipeline_id' when calling PipelineStagesApi.create"
128
128
  end
129
+ # verify the required parameter 'pipeline_stage_input' is set
130
+ if @api_client.config.client_side_validation && pipeline_stage_input.nil?
131
+ fail ArgumentError, "Missing the required parameter 'pipeline_stage_input' when calling PipelineStagesApi.create"
132
+ end
129
133
  # resource path
130
134
  local_var_path = '/crm/v3/pipelines/{objectType}/{pipelineId}/stages'.sub('{' + 'objectType' + '}', CGI.escape(object_type.to_s)).sub('{' + 'pipelineId' + '}', CGI.escape(pipeline_id.to_s))
131
135
 
@@ -143,7 +147,7 @@ module Hubspot
143
147
  form_params = opts[:form_params] || {}
144
148
 
145
149
  # http body (model)
146
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'pipeline_stage_input'])
150
+ post_body = opts[:body] || @api_client.object_to_http_body(pipeline_stage_input)
147
151
 
148
152
  # return_type
149
153
  return_type = opts[:return_type] || 'PipelineStage'
@@ -172,8 +176,7 @@ module Hubspot
172
176
  # @param object_type [String]
173
177
  # @param pipeline_id [String]
174
178
  # @param [Hash] opts the optional parameters
175
- # @option opts [Boolean] :archived Whether to return only results that have been archived. (default to false)
176
- # @return [CollectionResponsePipelineStage]
179
+ # @return [CollectionResponsePipelineStageNoPaging]
177
180
  def get_all(object_type, pipeline_id, opts = {})
178
181
  data, _status_code, _headers = get_all_with_http_info(object_type, pipeline_id, opts)
179
182
  data
@@ -184,8 +187,7 @@ module Hubspot
184
187
  # @param object_type [String]
185
188
  # @param pipeline_id [String]
186
189
  # @param [Hash] opts the optional parameters
187
- # @option opts [Boolean] :archived Whether to return only results that have been archived.
188
- # @return [Array<(CollectionResponsePipelineStage, Integer, Hash)>] CollectionResponsePipelineStage data, response status code and response headers
190
+ # @return [Array<(CollectionResponsePipelineStageNoPaging, Integer, Hash)>] CollectionResponsePipelineStageNoPaging data, response status code and response headers
189
191
  def get_all_with_http_info(object_type, pipeline_id, opts = {})
190
192
  if @api_client.config.debugging
191
193
  @api_client.config.logger.debug 'Calling API: PipelineStagesApi.get_all ...'
@@ -203,7 +205,6 @@ module Hubspot
203
205
 
204
206
  # query parameters
205
207
  query_params = opts[:query_params] || {}
206
- query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
207
208
 
208
209
  # header parameters
209
210
  header_params = opts[:header_params] || {}
@@ -217,7 +218,7 @@ module Hubspot
217
218
  post_body = opts[:body]
218
219
 
219
220
  # return_type
220
- return_type = opts[:return_type] || 'CollectionResponsePipelineStage'
221
+ return_type = opts[:return_type] || 'CollectionResponsePipelineStageNoPaging'
221
222
 
222
223
  # auth_names
223
224
  auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
@@ -244,7 +245,6 @@ module Hubspot
244
245
  # @param pipeline_id [String]
245
246
  # @param stage_id [String]
246
247
  # @param [Hash] opts the optional parameters
247
- # @option opts [Boolean] :archived Whether to return only results that have been archived. (default to false)
248
248
  # @return [PipelineStage]
249
249
  def get_by_id(object_type, pipeline_id, stage_id, opts = {})
250
250
  data, _status_code, _headers = get_by_id_with_http_info(object_type, pipeline_id, stage_id, opts)
@@ -257,7 +257,6 @@ module Hubspot
257
257
  # @param pipeline_id [String]
258
258
  # @param stage_id [String]
259
259
  # @param [Hash] opts the optional parameters
260
- # @option opts [Boolean] :archived Whether to return only results that have been archived.
261
260
  # @return [Array<(PipelineStage, Integer, Hash)>] PipelineStage data, response status code and response headers
262
261
  def get_by_id_with_http_info(object_type, pipeline_id, stage_id, opts = {})
263
262
  if @api_client.config.debugging
@@ -280,7 +279,6 @@ module Hubspot
280
279
 
281
280
  # query parameters
282
281
  query_params = opts[:query_params] || {}
283
- query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
284
282
 
285
283
  # header parameters
286
284
  header_params = opts[:header_params] || {}
@@ -320,11 +318,11 @@ module Hubspot
320
318
  # @param object_type [String]
321
319
  # @param pipeline_id [String]
322
320
  # @param stage_id [String]
321
+ # @param pipeline_stage_input [PipelineStageInput]
323
322
  # @param [Hash] opts the optional parameters
324
- # @option opts [PipelineStageInput] :pipeline_stage_input
325
323
  # @return [PipelineStage]
326
- def replace(object_type, pipeline_id, stage_id, opts = {})
327
- data, _status_code, _headers = replace_with_http_info(object_type, pipeline_id, stage_id, opts)
324
+ def replace(object_type, pipeline_id, stage_id, pipeline_stage_input, opts = {})
325
+ data, _status_code, _headers = replace_with_http_info(object_type, pipeline_id, stage_id, pipeline_stage_input, opts)
328
326
  data
329
327
  end
330
328
 
@@ -333,10 +331,10 @@ module Hubspot
333
331
  # @param object_type [String]
334
332
  # @param pipeline_id [String]
335
333
  # @param stage_id [String]
334
+ # @param pipeline_stage_input [PipelineStageInput]
336
335
  # @param [Hash] opts the optional parameters
337
- # @option opts [PipelineStageInput] :pipeline_stage_input
338
336
  # @return [Array<(PipelineStage, Integer, Hash)>] PipelineStage data, response status code and response headers
339
- def replace_with_http_info(object_type, pipeline_id, stage_id, opts = {})
337
+ def replace_with_http_info(object_type, pipeline_id, stage_id, pipeline_stage_input, opts = {})
340
338
  if @api_client.config.debugging
341
339
  @api_client.config.logger.debug 'Calling API: PipelineStagesApi.replace ...'
342
340
  end
@@ -352,6 +350,10 @@ module Hubspot
352
350
  if @api_client.config.client_side_validation && stage_id.nil?
353
351
  fail ArgumentError, "Missing the required parameter 'stage_id' when calling PipelineStagesApi.replace"
354
352
  end
353
+ # verify the required parameter 'pipeline_stage_input' is set
354
+ if @api_client.config.client_side_validation && pipeline_stage_input.nil?
355
+ fail ArgumentError, "Missing the required parameter 'pipeline_stage_input' when calling PipelineStagesApi.replace"
356
+ end
355
357
  # resource path
356
358
  local_var_path = '/crm/v3/pipelines/{objectType}/{pipelineId}/stages/{stageId}'.sub('{' + 'objectType' + '}', CGI.escape(object_type.to_s)).sub('{' + 'pipelineId' + '}', CGI.escape(pipeline_id.to_s)).sub('{' + 'stageId' + '}', CGI.escape(stage_id.to_s))
357
359
 
@@ -369,7 +371,7 @@ module Hubspot
369
371
  form_params = opts[:form_params] || {}
370
372
 
371
373
  # http body (model)
372
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'pipeline_stage_input'])
374
+ post_body = opts[:body] || @api_client.object_to_http_body(pipeline_stage_input)
373
375
 
374
376
  # return_type
375
377
  return_type = opts[:return_type] || 'PipelineStage'
@@ -398,12 +400,11 @@ module Hubspot
398
400
  # @param object_type [String]
399
401
  # @param pipeline_id [String]
400
402
  # @param stage_id [String]
403
+ # @param pipeline_stage_patch_input [PipelineStagePatchInput]
401
404
  # @param [Hash] opts the optional parameters
402
- # @option opts [Boolean] :archived Whether to return only results that have been archived. (default to false)
403
- # @option opts [PipelineStagePatchInput] :pipeline_stage_patch_input
404
405
  # @return [PipelineStage]
405
- def update(object_type, pipeline_id, stage_id, opts = {})
406
- data, _status_code, _headers = update_with_http_info(object_type, pipeline_id, stage_id, opts)
406
+ def update(object_type, pipeline_id, stage_id, pipeline_stage_patch_input, opts = {})
407
+ data, _status_code, _headers = update_with_http_info(object_type, pipeline_id, stage_id, pipeline_stage_patch_input, opts)
407
408
  data
408
409
  end
409
410
 
@@ -412,11 +413,10 @@ module Hubspot
412
413
  # @param object_type [String]
413
414
  # @param pipeline_id [String]
414
415
  # @param stage_id [String]
416
+ # @param pipeline_stage_patch_input [PipelineStagePatchInput]
415
417
  # @param [Hash] opts the optional parameters
416
- # @option opts [Boolean] :archived Whether to return only results that have been archived.
417
- # @option opts [PipelineStagePatchInput] :pipeline_stage_patch_input
418
418
  # @return [Array<(PipelineStage, Integer, Hash)>] PipelineStage data, response status code and response headers
419
- def update_with_http_info(object_type, pipeline_id, stage_id, opts = {})
419
+ def update_with_http_info(object_type, pipeline_id, stage_id, pipeline_stage_patch_input, opts = {})
420
420
  if @api_client.config.debugging
421
421
  @api_client.config.logger.debug 'Calling API: PipelineStagesApi.update ...'
422
422
  end
@@ -432,12 +432,15 @@ module Hubspot
432
432
  if @api_client.config.client_side_validation && stage_id.nil?
433
433
  fail ArgumentError, "Missing the required parameter 'stage_id' when calling PipelineStagesApi.update"
434
434
  end
435
+ # verify the required parameter 'pipeline_stage_patch_input' is set
436
+ if @api_client.config.client_side_validation && pipeline_stage_patch_input.nil?
437
+ fail ArgumentError, "Missing the required parameter 'pipeline_stage_patch_input' when calling PipelineStagesApi.update"
438
+ end
435
439
  # resource path
436
440
  local_var_path = '/crm/v3/pipelines/{objectType}/{pipelineId}/stages/{stageId}'.sub('{' + 'objectType' + '}', CGI.escape(object_type.to_s)).sub('{' + 'pipelineId' + '}', CGI.escape(pipeline_id.to_s)).sub('{' + 'stageId' + '}', CGI.escape(stage_id.to_s))
437
441
 
438
442
  # query parameters
439
443
  query_params = opts[:query_params] || {}
440
- query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
441
444
 
442
445
  # header parameters
443
446
  header_params = opts[:header_params] || {}
@@ -450,7 +453,7 @@ module Hubspot
450
453
  form_params = opts[:form_params] || {}
451
454
 
452
455
  # http body (model)
453
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'pipeline_stage_patch_input'])
456
+ post_body = opts[:body] || @api_client.object_to_http_body(pipeline_stage_patch_input)
454
457
 
455
458
  # return_type
456
459
  return_type = opts[:return_type] || 'PipelineStage'
@@ -21,22 +21,24 @@ module Hubspot
21
21
  def initialize(api_client = ApiClient.default)
22
22
  @api_client = api_client
23
23
  end
24
- # Archive a pipeline
25
- # Archive the pipeline identified by `{pipelineId}`.
24
+ # Delete a pipeline
25
+ # Delete the pipeline identified by `{pipelineId}`.
26
26
  # @param object_type [String]
27
27
  # @param pipeline_id [String]
28
28
  # @param [Hash] opts the optional parameters
29
+ # @option opts [Boolean] :validate_references_before_delete (default to false)
29
30
  # @return [nil]
30
31
  def archive(object_type, pipeline_id, opts = {})
31
32
  archive_with_http_info(object_type, pipeline_id, opts)
32
33
  nil
33
34
  end
34
35
 
35
- # Archive a pipeline
36
- # Archive the pipeline identified by &#x60;{pipelineId}&#x60;.
36
+ # Delete a pipeline
37
+ # Delete the pipeline identified by &#x60;{pipelineId}&#x60;.
37
38
  # @param object_type [String]
38
39
  # @param pipeline_id [String]
39
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [Boolean] :validate_references_before_delete
40
42
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
41
43
  def archive_with_http_info(object_type, pipeline_id, opts = {})
42
44
  if @api_client.config.debugging
@@ -55,6 +57,7 @@ module Hubspot
55
57
 
56
58
  # query parameters
57
59
  query_params = opts[:query_params] || {}
60
+ query_params[:'validateReferencesBeforeDelete'] = opts[:'validate_references_before_delete'] if !opts[:'validate_references_before_delete'].nil?
58
61
 
59
62
  # header parameters
60
63
  header_params = opts[:header_params] || {}
@@ -92,21 +95,21 @@ module Hubspot
92
95
  # Create a pipeline
93
96
  # Create a new pipeline with the provided property values. The entire pipeline object, including its unique ID, will be returned in the response.
94
97
  # @param object_type [String]
98
+ # @param pipeline_input [PipelineInput]
95
99
  # @param [Hash] opts the optional parameters
96
- # @option opts [PipelineInput] :pipeline_input
97
100
  # @return [Pipeline]
98
- def create(object_type, opts = {})
99
- data, _status_code, _headers = create_with_http_info(object_type, opts)
101
+ def create(object_type, pipeline_input, opts = {})
102
+ data, _status_code, _headers = create_with_http_info(object_type, pipeline_input, opts)
100
103
  data
101
104
  end
102
105
 
103
106
  # Create a pipeline
104
107
  # Create a new pipeline with the provided property values. The entire pipeline object, including its unique ID, will be returned in the response.
105
108
  # @param object_type [String]
109
+ # @param pipeline_input [PipelineInput]
106
110
  # @param [Hash] opts the optional parameters
107
- # @option opts [PipelineInput] :pipeline_input
108
111
  # @return [Array<(Pipeline, Integer, Hash)>] Pipeline data, response status code and response headers
109
- def create_with_http_info(object_type, opts = {})
112
+ def create_with_http_info(object_type, pipeline_input, opts = {})
110
113
  if @api_client.config.debugging
111
114
  @api_client.config.logger.debug 'Calling API: PipelinesApi.create ...'
112
115
  end
@@ -114,6 +117,10 @@ module Hubspot
114
117
  if @api_client.config.client_side_validation && object_type.nil?
115
118
  fail ArgumentError, "Missing the required parameter 'object_type' when calling PipelinesApi.create"
116
119
  end
120
+ # verify the required parameter 'pipeline_input' is set
121
+ if @api_client.config.client_side_validation && pipeline_input.nil?
122
+ fail ArgumentError, "Missing the required parameter 'pipeline_input' when calling PipelinesApi.create"
123
+ end
117
124
  # resource path
118
125
  local_var_path = '/crm/v3/pipelines/{objectType}'.sub('{' + 'objectType' + '}', CGI.escape(object_type.to_s))
119
126
 
@@ -131,7 +138,7 @@ module Hubspot
131
138
  form_params = opts[:form_params] || {}
132
139
 
133
140
  # http body (model)
134
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'pipeline_input'])
141
+ post_body = opts[:body] || @api_client.object_to_http_body(pipeline_input)
135
142
 
136
143
  # return_type
137
144
  return_type = opts[:return_type] || 'Pipeline'
@@ -159,8 +166,7 @@ module Hubspot
159
166
  # Return all pipelines for the object type specified by `{objectType}`.
160
167
  # @param object_type [String]
161
168
  # @param [Hash] opts the optional parameters
162
- # @option opts [Boolean] :archived Whether to return only results that have been archived. (default to false)
163
- # @return [CollectionResponsePipeline]
169
+ # @return [CollectionResponsePipelineNoPaging]
164
170
  def get_all(object_type, opts = {})
165
171
  data, _status_code, _headers = get_all_with_http_info(object_type, opts)
166
172
  data
@@ -170,8 +176,7 @@ module Hubspot
170
176
  # Return all pipelines for the object type specified by &#x60;{objectType}&#x60;.
171
177
  # @param object_type [String]
172
178
  # @param [Hash] opts the optional parameters
173
- # @option opts [Boolean] :archived Whether to return only results that have been archived.
174
- # @return [Array<(CollectionResponsePipeline, Integer, Hash)>] CollectionResponsePipeline data, response status code and response headers
179
+ # @return [Array<(CollectionResponsePipelineNoPaging, Integer, Hash)>] CollectionResponsePipelineNoPaging data, response status code and response headers
175
180
  def get_all_with_http_info(object_type, opts = {})
176
181
  if @api_client.config.debugging
177
182
  @api_client.config.logger.debug 'Calling API: PipelinesApi.get_all ...'
@@ -185,7 +190,6 @@ module Hubspot
185
190
 
186
191
  # query parameters
187
192
  query_params = opts[:query_params] || {}
188
- query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
189
193
 
190
194
  # header parameters
191
195
  header_params = opts[:header_params] || {}
@@ -199,7 +203,7 @@ module Hubspot
199
203
  post_body = opts[:body]
200
204
 
201
205
  # return_type
202
- return_type = opts[:return_type] || 'CollectionResponsePipeline'
206
+ return_type = opts[:return_type] || 'CollectionResponsePipelineNoPaging'
203
207
 
204
208
  # auth_names
205
209
  auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
@@ -225,7 +229,6 @@ module Hubspot
225
229
  # @param object_type [String]
226
230
  # @param pipeline_id [String]
227
231
  # @param [Hash] opts the optional parameters
228
- # @option opts [Boolean] :archived Whether to return only results that have been archived. (default to false)
229
232
  # @return [Pipeline]
230
233
  def get_by_id(object_type, pipeline_id, opts = {})
231
234
  data, _status_code, _headers = get_by_id_with_http_info(object_type, pipeline_id, opts)
@@ -237,7 +240,6 @@ module Hubspot
237
240
  # @param object_type [String]
238
241
  # @param pipeline_id [String]
239
242
  # @param [Hash] opts the optional parameters
240
- # @option opts [Boolean] :archived Whether to return only results that have been archived.
241
243
  # @return [Array<(Pipeline, Integer, Hash)>] Pipeline data, response status code and response headers
242
244
  def get_by_id_with_http_info(object_type, pipeline_id, opts = {})
243
245
  if @api_client.config.debugging
@@ -256,7 +258,6 @@ module Hubspot
256
258
 
257
259
  # query parameters
258
260
  query_params = opts[:query_params] || {}
259
- query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
260
261
 
261
262
  # header parameters
262
263
  header_params = opts[:header_params] || {}
@@ -295,11 +296,12 @@ module Hubspot
295
296
  # Replace all the properties of an existing pipeline with the values provided. This will overwrite any existing pipeline stages. The updated pipeline will be returned in the response.
296
297
  # @param object_type [String]
297
298
  # @param pipeline_id [String]
299
+ # @param pipeline_input [PipelineInput]
298
300
  # @param [Hash] opts the optional parameters
299
- # @option opts [PipelineInput] :pipeline_input
301
+ # @option opts [Boolean] :validate_references_before_delete (default to false)
300
302
  # @return [Pipeline]
301
- def replace(object_type, pipeline_id, opts = {})
302
- data, _status_code, _headers = replace_with_http_info(object_type, pipeline_id, opts)
303
+ def replace(object_type, pipeline_id, pipeline_input, opts = {})
304
+ data, _status_code, _headers = replace_with_http_info(object_type, pipeline_id, pipeline_input, opts)
303
305
  data
304
306
  end
305
307
 
@@ -307,10 +309,11 @@ module Hubspot
307
309
  # Replace all the properties of an existing pipeline with the values provided. This will overwrite any existing pipeline stages. The updated pipeline will be returned in the response.
308
310
  # @param object_type [String]
309
311
  # @param pipeline_id [String]
312
+ # @param pipeline_input [PipelineInput]
310
313
  # @param [Hash] opts the optional parameters
311
- # @option opts [PipelineInput] :pipeline_input
314
+ # @option opts [Boolean] :validate_references_before_delete
312
315
  # @return [Array<(Pipeline, Integer, Hash)>] Pipeline data, response status code and response headers
313
- def replace_with_http_info(object_type, pipeline_id, opts = {})
316
+ def replace_with_http_info(object_type, pipeline_id, pipeline_input, opts = {})
314
317
  if @api_client.config.debugging
315
318
  @api_client.config.logger.debug 'Calling API: PipelinesApi.replace ...'
316
319
  end
@@ -322,11 +325,16 @@ module Hubspot
322
325
  if @api_client.config.client_side_validation && pipeline_id.nil?
323
326
  fail ArgumentError, "Missing the required parameter 'pipeline_id' when calling PipelinesApi.replace"
324
327
  end
328
+ # verify the required parameter 'pipeline_input' is set
329
+ if @api_client.config.client_side_validation && pipeline_input.nil?
330
+ fail ArgumentError, "Missing the required parameter 'pipeline_input' when calling PipelinesApi.replace"
331
+ end
325
332
  # resource path
326
333
  local_var_path = '/crm/v3/pipelines/{objectType}/{pipelineId}'.sub('{' + 'objectType' + '}', CGI.escape(object_type.to_s)).sub('{' + 'pipelineId' + '}', CGI.escape(pipeline_id.to_s))
327
334
 
328
335
  # query parameters
329
336
  query_params = opts[:query_params] || {}
337
+ query_params[:'validateReferencesBeforeDelete'] = opts[:'validate_references_before_delete'] if !opts[:'validate_references_before_delete'].nil?
330
338
 
331
339
  # header parameters
332
340
  header_params = opts[:header_params] || {}
@@ -339,7 +347,7 @@ module Hubspot
339
347
  form_params = opts[:form_params] || {}
340
348
 
341
349
  # http body (model)
342
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'pipeline_input'])
350
+ post_body = opts[:body] || @api_client.object_to_http_body(pipeline_input)
343
351
 
344
352
  # return_type
345
353
  return_type = opts[:return_type] || 'Pipeline'
@@ -367,12 +375,12 @@ module Hubspot
367
375
  # Perform a partial update of the pipeline identified by `{pipelineId}`. The updated pipeline will be returned in the response.
368
376
  # @param object_type [String]
369
377
  # @param pipeline_id [String]
378
+ # @param pipeline_patch_input [PipelinePatchInput]
370
379
  # @param [Hash] opts the optional parameters
371
- # @option opts [Boolean] :archived Whether to return only results that have been archived. (default to false)
372
- # @option opts [PipelinePatchInput] :pipeline_patch_input
380
+ # @option opts [Boolean] :validate_references_before_delete (default to false)
373
381
  # @return [Pipeline]
374
- def update(object_type, pipeline_id, opts = {})
375
- data, _status_code, _headers = update_with_http_info(object_type, pipeline_id, opts)
382
+ def update(object_type, pipeline_id, pipeline_patch_input, opts = {})
383
+ data, _status_code, _headers = update_with_http_info(object_type, pipeline_id, pipeline_patch_input, opts)
376
384
  data
377
385
  end
378
386
 
@@ -380,11 +388,11 @@ module Hubspot
380
388
  # Perform a partial update of the pipeline identified by &#x60;{pipelineId}&#x60;. The updated pipeline will be returned in the response.
381
389
  # @param object_type [String]
382
390
  # @param pipeline_id [String]
391
+ # @param pipeline_patch_input [PipelinePatchInput]
383
392
  # @param [Hash] opts the optional parameters
384
- # @option opts [Boolean] :archived Whether to return only results that have been archived.
385
- # @option opts [PipelinePatchInput] :pipeline_patch_input
393
+ # @option opts [Boolean] :validate_references_before_delete
386
394
  # @return [Array<(Pipeline, Integer, Hash)>] Pipeline data, response status code and response headers
387
- def update_with_http_info(object_type, pipeline_id, opts = {})
395
+ def update_with_http_info(object_type, pipeline_id, pipeline_patch_input, opts = {})
388
396
  if @api_client.config.debugging
389
397
  @api_client.config.logger.debug 'Calling API: PipelinesApi.update ...'
390
398
  end
@@ -396,12 +404,16 @@ module Hubspot
396
404
  if @api_client.config.client_side_validation && pipeline_id.nil?
397
405
  fail ArgumentError, "Missing the required parameter 'pipeline_id' when calling PipelinesApi.update"
398
406
  end
407
+ # verify the required parameter 'pipeline_patch_input' is set
408
+ if @api_client.config.client_side_validation && pipeline_patch_input.nil?
409
+ fail ArgumentError, "Missing the required parameter 'pipeline_patch_input' when calling PipelinesApi.update"
410
+ end
399
411
  # resource path
400
412
  local_var_path = '/crm/v3/pipelines/{objectType}/{pipelineId}'.sub('{' + 'objectType' + '}', CGI.escape(object_type.to_s)).sub('{' + 'pipelineId' + '}', CGI.escape(pipeline_id.to_s))
401
413
 
402
414
  # query parameters
403
415
  query_params = opts[:query_params] || {}
404
- query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
416
+ query_params[:'validateReferencesBeforeDelete'] = opts[:'validate_references_before_delete'] if !opts[:'validate_references_before_delete'].nil?
405
417
 
406
418
  # header parameters
407
419
  header_params = opts[:header_params] || {}
@@ -414,7 +426,7 @@ module Hubspot
414
426
  form_params = opts[:form_params] || {}
415
427
 
416
428
  # http body (model)
417
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'pipeline_patch_input'])
429
+ post_body = opts[:body] || @api_client.object_to_http_body(pipeline_patch_input)
418
430
 
419
431
  # return_type
420
432
  return_type = opts[:return_type] || 'Pipeline'
@@ -15,24 +15,20 @@ require 'date'
15
15
  module Hubspot
16
16
  module Crm
17
17
  module Pipelines
18
- class CollectionResponsePipeline
18
+ class CollectionResponsePipelineNoPaging
19
19
  attr_accessor :results
20
20
 
21
- attr_accessor :paging
22
-
23
21
  # Attribute mapping from ruby-style variable name to JSON key.
24
22
  def self.attribute_map
25
23
  {
26
- :'results' => :'results',
27
- :'paging' => :'paging'
24
+ :'results' => :'results'
28
25
  }
29
26
  end
30
27
 
31
28
  # Attribute type mapping.
32
29
  def self.openapi_types
33
30
  {
34
- :'results' => :'Array<Pipeline>',
35
- :'paging' => :'Paging'
31
+ :'results' => :'Array<Pipeline>'
36
32
  }
37
33
  end
38
34
 
@@ -46,13 +42,13 @@ module Hubspot
46
42
  # @param [Hash] attributes Model attributes in the form of hash
47
43
  def initialize(attributes = {})
48
44
  if (!attributes.is_a?(Hash))
49
- fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Pipelines::CollectionResponsePipeline` initialize method"
45
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Pipelines::CollectionResponsePipelineNoPaging` initialize method"
50
46
  end
51
47
 
52
48
  # check to see if the attribute exists and convert string to symbol for hash key
53
49
  attributes = attributes.each_with_object({}) { |(k, v), h|
54
50
  if (!self.class.attribute_map.key?(k.to_sym))
55
- fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Pipelines::CollectionResponsePipeline`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
51
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Pipelines::CollectionResponsePipelineNoPaging`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
52
  end
57
53
  h[k.to_sym] = v
58
54
  }
@@ -62,10 +58,6 @@ module Hubspot
62
58
  self.results = value
63
59
  end
64
60
  end
65
-
66
- if attributes.key?(:'paging')
67
- self.paging = attributes[:'paging']
68
- end
69
61
  end
70
62
 
71
63
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -91,8 +83,7 @@ module Hubspot
91
83
  def ==(o)
92
84
  return true if self.equal?(o)
93
85
  self.class == o.class &&
94
- results == o.results &&
95
- paging == o.paging
86
+ results == o.results
96
87
  end
97
88
 
98
89
  # @see the `==` method
@@ -104,7 +95,7 @@ module Hubspot
104
95
  # Calculates hash code according to all attributes.
105
96
  # @return [Integer] Hash code
106
97
  def hash
107
- [results, paging].hash
98
+ [results].hash
108
99
  end
109
100
 
110
101
  # Builds the object from hash