hubspot-api-client 7.2.0 → 9.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1426) hide show
  1. checksums.yaml +4 -4
  2. data/.github/CODEOWNERS +4 -0
  3. data/CHANGELOG.md +24 -0
  4. data/Gemfile.lock +12 -13
  5. data/README.md +4 -0
  6. data/Rakefile +1 -0
  7. data/hubspot-api-client.gemspec +5 -3
  8. data/lib/hubspot-api-client.rb +131 -25
  9. data/lib/hubspot/codegen/cms/audit-logs/api/default_api.rb +1 -1
  10. data/lib/hubspot/codegen/cms/audit-logs/api_client.rb +43 -73
  11. data/lib/hubspot/codegen/cms/audit-logs/api_error.rb +1 -1
  12. data/lib/hubspot/codegen/cms/audit-logs/configuration.rb +17 -12
  13. data/lib/hubspot/codegen/cms/audit-logs/models/collection_response_public_audit_log.rb +1 -1
  14. data/lib/hubspot/codegen/cms/audit-logs/models/error.rb +1 -1
  15. data/lib/hubspot/codegen/cms/audit-logs/models/error_detail.rb +1 -1
  16. data/lib/hubspot/codegen/cms/audit-logs/models/next_page.rb +1 -1
  17. data/lib/hubspot/codegen/cms/audit-logs/models/paging.rb +1 -1
  18. data/lib/hubspot/codegen/cms/audit-logs/models/public_audit_log.rb +1 -1
  19. data/lib/hubspot/codegen/cms/blogs/authors/api/default_api.rb +643 -0
  20. data/lib/hubspot/codegen/cms/blogs/authors/api_client.rb +394 -0
  21. data/lib/hubspot/codegen/cms/blogs/authors/api_error.rb +63 -0
  22. data/lib/hubspot/codegen/cms/blogs/authors/configuration.rb +265 -0
  23. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_blog_author.rb +219 -0
  24. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_json_node.rb +219 -0
  25. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_string.rb +219 -0
  26. data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors.rb +335 -0
  27. data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb +383 -0
  28. data/lib/hubspot/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging.rb +242 -0
  29. data/lib/hubspot/codegen/cms/blogs/authors/models/error.rb +294 -0
  30. data/lib/hubspot/codegen/cms/blogs/authors/models/error_detail.rb +260 -0
  31. data/lib/hubspot/codegen/cms/blogs/authors/models/forward_paging.rb +212 -0
  32. data/lib/hubspot/codegen/cms/blogs/authors/models/next_page.rb +226 -0
  33. data/lib/hubspot/codegen/cms/blogs/authors/models/standard_error.rb +311 -0
  34. data/lib/hubspot/codegen/cms/blogs/blog-posts/api/default_api.rb +1302 -0
  35. data/lib/hubspot/codegen/cms/blogs/blog-posts/api_client.rb +394 -0
  36. data/lib/hubspot/codegen/cms/blogs/blog-posts/api_error.rb +63 -0
  37. data/lib/hubspot/codegen/cms/blogs/blog-posts/configuration.rb +265 -0
  38. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/angle.rb +265 -0
  39. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/background_image.rb +279 -0
  40. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_blog_post.rb +219 -0
  41. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_json_node.rb +219 -0
  42. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_string.rb +219 -0
  43. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors.rb +335 -0
  44. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post.rb +1201 -0
  45. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging.rb +242 -0
  46. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post.rb +242 -0
  47. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/color_stop.rb +217 -0
  48. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_clone_request_v_next.rb +228 -0
  49. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_schedule_request_v_next.rb +233 -0
  50. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error.rb +294 -0
  51. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error_detail.rb +260 -0
  52. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/forward_paging.rb +212 -0
  53. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/gradient.rb +247 -0
  54. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/layout_section.rb +391 -0
  55. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/next_page.rb +226 -0
  56. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/paging.rb +221 -0
  57. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/previous_page.rb +226 -0
  58. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/rgba_color.rb +259 -0
  59. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/row_meta_data.rb +231 -0
  60. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/side_or_corner.rb +277 -0
  61. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/standard_error.rb +311 -0
  62. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/styles.rb +347 -0
  63. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_blog_post.rb +261 -0
  64. data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_user.rb +248 -0
  65. data/lib/hubspot/codegen/cms/blogs/tags/api/default_api.rb +643 -0
  66. data/lib/hubspot/codegen/cms/blogs/tags/api_client.rb +394 -0
  67. data/lib/hubspot/codegen/cms/blogs/tags/api_error.rb +63 -0
  68. data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +265 -0
  69. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_json_node.rb +219 -0
  70. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_string.rb +219 -0
  71. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_tag.rb +219 -0
  72. data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag_with_errors.rb +335 -0
  73. data/lib/hubspot/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging.rb +242 -0
  74. data/lib/hubspot/codegen/cms/blogs/tags/models/error.rb +294 -0
  75. data/lib/hubspot/codegen/cms/blogs/tags/models/error_detail.rb +260 -0
  76. data/lib/hubspot/codegen/cms/blogs/tags/models/forward_paging.rb +212 -0
  77. data/lib/hubspot/codegen/cms/blogs/tags/models/next_page.rb +226 -0
  78. data/lib/hubspot/codegen/cms/blogs/tags/models/standard_error.rb +311 -0
  79. data/lib/hubspot/codegen/cms/blogs/tags/models/tag.rb +278 -0
  80. data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +1 -1
  81. data/lib/hubspot/codegen/cms/domains/api_client.rb +43 -73
  82. data/lib/hubspot/codegen/cms/domains/api_error.rb +1 -1
  83. data/lib/hubspot/codegen/cms/domains/configuration.rb +17 -12
  84. data/lib/hubspot/codegen/cms/domains/models/collection_response_with_total_domain.rb +1 -1
  85. data/lib/hubspot/codegen/cms/domains/models/domain.rb +1 -1
  86. data/lib/hubspot/codegen/cms/domains/models/domain_cdn_config.rb +1 -1
  87. data/lib/hubspot/codegen/cms/domains/models/domain_setup_info.rb +1 -1
  88. data/lib/hubspot/codegen/cms/domains/models/error.rb +1 -1
  89. data/lib/hubspot/codegen/cms/domains/models/error_detail.rb +1 -1
  90. data/lib/hubspot/codegen/cms/domains/models/next_page.rb +1 -1
  91. data/lib/hubspot/codegen/cms/domains/models/paging.rb +1 -1
  92. data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +698 -0
  93. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +516 -0
  94. data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +1009 -0
  95. data/lib/hubspot/codegen/cms/hubdb/api_client.rb +392 -0
  96. data/lib/hubspot/codegen/cms/hubdb/api_error.rb +61 -0
  97. data/lib/hubspot/codegen/cms/hubdb/configuration.rb +263 -0
  98. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3.rb +217 -0
  99. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_json_node.rb +217 -0
  100. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +217 -0
  101. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +333 -0
  102. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb +240 -0
  103. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +240 -0
  104. data/lib/hubspot/codegen/cms/hubdb/models/column.rb +388 -0
  105. data/lib/hubspot/codegen/cms/hubdb/models/column_input.rb +288 -0
  106. data/lib/hubspot/codegen/cms/hubdb/models/error.rb +292 -0
  107. data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +258 -0
  108. data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +243 -0
  109. data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +210 -0
  110. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +241 -0
  111. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +291 -0
  112. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_input.rb +243 -0
  113. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +392 -0
  114. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_input.rb +295 -0
  115. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_live_input.rb +241 -0
  116. data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +263 -0
  117. data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +224 -0
  118. data/lib/hubspot/codegen/cms/hubdb/models/option.rb +257 -0
  119. data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +257 -0
  120. data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +309 -0
  121. data/lib/hubspot/codegen/cms/performance/api/default_api.rb +1 -1
  122. data/lib/hubspot/codegen/cms/performance/api_client.rb +43 -73
  123. data/lib/hubspot/codegen/cms/performance/api_error.rb +1 -1
  124. data/lib/hubspot/codegen/cms/performance/configuration.rb +17 -12
  125. data/lib/hubspot/codegen/cms/performance/models/error.rb +1 -1
  126. data/lib/hubspot/codegen/cms/performance/models/error_detail.rb +1 -1
  127. data/lib/hubspot/codegen/cms/performance/models/performance_view.rb +1 -1
  128. data/lib/hubspot/codegen/cms/performance/models/public_performance_response.rb +1 -1
  129. data/lib/hubspot/codegen/cms/site-search/api/default_api.rb +1 -1
  130. data/lib/hubspot/codegen/cms/site-search/api_client.rb +43 -73
  131. data/lib/hubspot/codegen/cms/site-search/api_error.rb +1 -1
  132. data/lib/hubspot/codegen/cms/site-search/configuration.rb +17 -12
  133. data/lib/hubspot/codegen/cms/site-search/models/content_search_result.rb +1 -1
  134. data/lib/hubspot/codegen/cms/site-search/models/error.rb +1 -1
  135. data/lib/hubspot/codegen/cms/site-search/models/error_detail.rb +1 -1
  136. data/lib/hubspot/codegen/cms/site-search/models/indexed_data.rb +1 -1
  137. data/lib/hubspot/codegen/cms/site-search/models/public_search_results.rb +1 -1
  138. data/lib/hubspot/codegen/cms/site-search/models/search_hit_field.rb +3 -5
  139. data/lib/hubspot/codegen/cms/url-redirects/api/redirects_api.rb +1 -1
  140. data/lib/hubspot/codegen/cms/url-redirects/api_client.rb +43 -73
  141. data/lib/hubspot/codegen/cms/url-redirects/api_error.rb +1 -1
  142. data/lib/hubspot/codegen/cms/url-redirects/configuration.rb +17 -12
  143. data/lib/hubspot/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping.rb +1 -1
  144. data/lib/hubspot/codegen/cms/url-redirects/models/error.rb +1 -1
  145. data/lib/hubspot/codegen/cms/url-redirects/models/error_detail.rb +1 -1
  146. data/lib/hubspot/codegen/cms/url-redirects/models/next_page.rb +1 -1
  147. data/lib/hubspot/codegen/cms/url-redirects/models/paging.rb +1 -1
  148. data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping.rb +1 -1
  149. data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping_create_request_body.rb +1 -1
  150. data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +1 -1
  151. data/lib/hubspot/codegen/crm/associations/api/types_api.rb +1 -1
  152. data/lib/hubspot/codegen/crm/associations/api_client.rb +43 -73
  153. data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
  154. data/lib/hubspot/codegen/crm/associations/configuration.rb +17 -12
  155. data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +1 -1
  156. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +1 -1
  157. data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +1 -1
  158. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +2 -2
  159. data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +2 -2
  160. data/lib/hubspot/codegen/crm/associations/models/collection_response_public_association_definiton.rb +1 -1
  161. data/lib/hubspot/codegen/crm/associations/models/error.rb +1 -1
  162. data/lib/hubspot/codegen/crm/associations/models/error_category.rb +263 -0
  163. data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +1 -1
  164. data/lib/hubspot/codegen/crm/associations/models/next_page.rb +1 -1
  165. data/lib/hubspot/codegen/crm/associations/models/paging.rb +1 -1
  166. data/lib/hubspot/codegen/crm/associations/models/public_association.rb +1 -1
  167. data/lib/hubspot/codegen/crm/associations/models/public_association_definiton.rb +1 -1
  168. data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +1 -1
  169. data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +1 -1
  170. data/lib/hubspot/codegen/crm/associations/models/standard_error.rb +309 -0
  171. data/lib/hubspot/codegen/crm/companies/api/associations_api.rb +13 -1
  172. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +9 -3
  173. data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +1 -1
  174. data/lib/hubspot/codegen/crm/companies/api/search_api.rb +1 -1
  175. data/lib/hubspot/codegen/crm/companies/api_client.rb +43 -73
  176. data/lib/hubspot/codegen/crm/companies/api_error.rb +1 -1
  177. data/lib/hubspot/codegen/crm/companies/configuration.rb +17 -12
  178. data/lib/hubspot/codegen/crm/companies/models/associated_id.rb +1 -1
  179. data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_batch_input.rb +1 -1
  180. data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_id.rb +1 -1
  181. data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_input.rb +1 -1
  182. data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +1 -1
  183. data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object.rb +1 -1
  184. data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object_with_errors.rb +2 -2
  185. data/lib/hubspot/codegen/crm/companies/models/collection_response_associated_id.rb +1 -1
  186. data/lib/hubspot/codegen/crm/companies/models/collection_response_simple_public_object.rb +1 -1
  187. data/lib/hubspot/codegen/crm/companies/models/collection_response_with_total_simple_public_object.rb +1 -1
  188. data/lib/hubspot/codegen/crm/companies/models/error.rb +1 -1
  189. data/lib/hubspot/codegen/crm/companies/models/error_category.rb +263 -0
  190. data/lib/hubspot/codegen/crm/companies/models/error_detail.rb +1 -1
  191. data/lib/hubspot/codegen/crm/companies/models/filter.rb +1 -1
  192. data/lib/hubspot/codegen/crm/companies/models/filter_group.rb +1 -1
  193. data/lib/hubspot/codegen/crm/companies/models/next_page.rb +1 -1
  194. data/lib/hubspot/codegen/crm/companies/models/paging.rb +14 -5
  195. data/lib/hubspot/codegen/crm/companies/models/previous_page.rb +224 -0
  196. data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +1 -1
  197. data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +1 -1
  198. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +1 -1
  199. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_id.rb +1 -1
  200. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +1 -1
  201. data/lib/hubspot/codegen/crm/companies/models/standard_error.rb +309 -0
  202. data/lib/hubspot/codegen/crm/contacts/api/associations_api.rb +13 -1
  203. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +9 -3
  204. data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +1 -1
  205. data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +1 -1
  206. data/lib/hubspot/codegen/crm/contacts/api_client.rb +43 -73
  207. data/lib/hubspot/codegen/crm/contacts/api_error.rb +1 -1
  208. data/lib/hubspot/codegen/crm/contacts/configuration.rb +17 -12
  209. data/lib/hubspot/codegen/crm/contacts/models/associated_id.rb +1 -1
  210. data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input.rb +1 -1
  211. data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_id.rb +1 -1
  212. data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_input.rb +1 -1
  213. data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +1 -1
  214. data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object.rb +1 -1
  215. data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object_with_errors.rb +2 -2
  216. data/lib/hubspot/codegen/crm/contacts/models/collection_response_associated_id.rb +1 -1
  217. data/lib/hubspot/codegen/crm/contacts/models/collection_response_simple_public_object.rb +1 -1
  218. data/lib/hubspot/codegen/crm/contacts/models/collection_response_with_total_simple_public_object.rb +1 -1
  219. data/lib/hubspot/codegen/crm/contacts/models/error.rb +1 -1
  220. data/lib/hubspot/codegen/crm/contacts/models/error_category.rb +263 -0
  221. data/lib/hubspot/codegen/crm/contacts/models/error_detail.rb +1 -1
  222. data/lib/hubspot/codegen/crm/contacts/models/filter.rb +1 -1
  223. data/lib/hubspot/codegen/crm/contacts/models/filter_group.rb +1 -1
  224. data/lib/hubspot/codegen/crm/contacts/models/next_page.rb +1 -1
  225. data/lib/hubspot/codegen/crm/contacts/models/paging.rb +14 -5
  226. data/lib/hubspot/codegen/crm/contacts/models/previous_page.rb +224 -0
  227. data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +1 -1
  228. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +1 -1
  229. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +1 -1
  230. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_id.rb +1 -1
  231. data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +1 -1
  232. data/lib/hubspot/codegen/crm/contacts/models/standard_error.rb +309 -0
  233. data/lib/hubspot/codegen/crm/deals/api/associations_api.rb +13 -1
  234. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +9 -3
  235. data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +1 -1
  236. data/lib/hubspot/codegen/crm/deals/api/search_api.rb +1 -1
  237. data/lib/hubspot/codegen/crm/deals/api_client.rb +43 -73
  238. data/lib/hubspot/codegen/crm/deals/api_error.rb +1 -1
  239. data/lib/hubspot/codegen/crm/deals/configuration.rb +17 -12
  240. data/lib/hubspot/codegen/crm/deals/models/associated_id.rb +1 -1
  241. data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input.rb +1 -1
  242. data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_id.rb +1 -1
  243. data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_input.rb +1 -1
  244. data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +1 -1
  245. data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object.rb +1 -1
  246. data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object_with_errors.rb +2 -2
  247. data/lib/hubspot/codegen/crm/deals/models/collection_response_associated_id.rb +1 -1
  248. data/lib/hubspot/codegen/crm/deals/models/collection_response_simple_public_object.rb +1 -1
  249. data/lib/hubspot/codegen/crm/deals/models/collection_response_with_total_simple_public_object.rb +1 -1
  250. data/lib/hubspot/codegen/crm/deals/models/error.rb +1 -1
  251. data/lib/hubspot/codegen/crm/deals/models/error_category.rb +263 -0
  252. data/lib/hubspot/codegen/crm/deals/models/error_detail.rb +1 -1
  253. data/lib/hubspot/codegen/crm/deals/models/filter.rb +1 -1
  254. data/lib/hubspot/codegen/crm/deals/models/filter_group.rb +1 -1
  255. data/lib/hubspot/codegen/crm/deals/models/next_page.rb +1 -1
  256. data/lib/hubspot/codegen/crm/deals/models/paging.rb +14 -5
  257. data/lib/hubspot/codegen/crm/deals/models/previous_page.rb +224 -0
  258. data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +1 -1
  259. data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +1 -1
  260. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +1 -1
  261. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_id.rb +1 -1
  262. data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +1 -1
  263. data/lib/hubspot/codegen/crm/deals/models/standard_error.rb +309 -0
  264. data/lib/hubspot/codegen/crm/extensions/cards/api/cards_api.rb +1 -1
  265. data/lib/hubspot/codegen/crm/extensions/cards/api/sample_response_api.rb +1 -1
  266. data/lib/hubspot/codegen/crm/extensions/cards/api_client.rb +43 -73
  267. data/lib/hubspot/codegen/crm/extensions/cards/api_error.rb +1 -1
  268. data/lib/hubspot/codegen/crm/extensions/cards/configuration.rb +17 -12
  269. data/lib/hubspot/codegen/crm/extensions/cards/models/action_confirmation_body.rb +1 -1
  270. data/lib/hubspot/codegen/crm/extensions/cards/models/action_hook_action_body.rb +1 -1
  271. data/lib/hubspot/codegen/crm/extensions/cards/models/card_actions.rb +1 -1
  272. data/lib/hubspot/codegen/crm/extensions/cards/models/card_create_request.rb +1 -1
  273. data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_body.rb +1 -1
  274. data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_property.rb +1 -1
  275. data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body.rb +1 -1
  276. data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body_patch.rb +1 -1
  277. data/lib/hubspot/codegen/crm/extensions/cards/models/card_list_response.rb +1 -1
  278. data/lib/hubspot/codegen/crm/extensions/cards/models/card_object_type_body.rb +1 -1
  279. data/lib/hubspot/codegen/crm/extensions/cards/models/card_patch_request.rb +1 -1
  280. data/lib/hubspot/codegen/crm/extensions/cards/models/card_response.rb +1 -1
  281. data/lib/hubspot/codegen/crm/extensions/cards/models/display_option.rb +1 -1
  282. data/lib/hubspot/codegen/crm/extensions/cards/models/error.rb +1 -1
  283. data/lib/hubspot/codegen/crm/extensions/cards/models/error_detail.rb +1 -1
  284. data/lib/hubspot/codegen/crm/extensions/cards/models/i_frame_action_body.rb +1 -1
  285. data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_card_payload_response.rb +1 -1
  286. data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result.rb +1 -1
  287. data/lib/hubspot/codegen/crm/extensions/cards/models/object_token.rb +1 -1
  288. data/lib/hubspot/codegen/crm/extensions/cards/models/top_level_actions.rb +1 -1
  289. data/lib/hubspot/codegen/crm/imports/api/core_api.rb +4 -4
  290. data/lib/hubspot/codegen/crm/imports/api_client.rb +43 -73
  291. data/lib/hubspot/codegen/crm/imports/api_error.rb +1 -1
  292. data/lib/hubspot/codegen/crm/imports/configuration.rb +17 -12
  293. data/lib/hubspot/codegen/crm/imports/models/action_response.rb +16 -5
  294. data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_response.rb +1 -1
  295. data/lib/hubspot/codegen/crm/imports/models/error.rb +1 -1
  296. data/lib/hubspot/codegen/crm/imports/models/error_detail.rb +1 -1
  297. data/lib/hubspot/codegen/crm/imports/models/next_page.rb +1 -1
  298. data/lib/hubspot/codegen/crm/imports/models/paging.rb +14 -5
  299. data/lib/hubspot/codegen/crm/imports/models/previous_page.rb +224 -0
  300. data/lib/hubspot/codegen/crm/imports/models/public_import_metadata.rb +1 -1
  301. data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +37 -28
  302. data/lib/hubspot/codegen/crm/imports/models/public_object_list_record.rb +1 -1
  303. data/lib/hubspot/codegen/crm/line_items/api/associations_api.rb +13 -1
  304. data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +9 -3
  305. data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +1 -1
  306. data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +1 -1
  307. data/lib/hubspot/codegen/crm/line_items/api_client.rb +43 -73
  308. data/lib/hubspot/codegen/crm/line_items/api_error.rb +1 -1
  309. data/lib/hubspot/codegen/crm/line_items/configuration.rb +17 -12
  310. data/lib/hubspot/codegen/crm/line_items/models/associated_id.rb +1 -1
  311. data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_batch_input.rb +1 -1
  312. data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_id.rb +1 -1
  313. data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_input.rb +1 -1
  314. data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +1 -1
  315. data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object.rb +1 -1
  316. data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object_with_errors.rb +2 -2
  317. data/lib/hubspot/codegen/crm/line_items/models/collection_response_associated_id.rb +1 -1
  318. data/lib/hubspot/codegen/crm/line_items/models/collection_response_simple_public_object.rb +1 -1
  319. data/lib/hubspot/codegen/crm/line_items/models/collection_response_with_total_simple_public_object.rb +1 -1
  320. data/lib/hubspot/codegen/crm/line_items/models/error.rb +1 -1
  321. data/lib/hubspot/codegen/crm/line_items/models/error_category.rb +263 -0
  322. data/lib/hubspot/codegen/crm/line_items/models/error_detail.rb +1 -1
  323. data/lib/hubspot/codegen/crm/line_items/models/filter.rb +1 -1
  324. data/lib/hubspot/codegen/crm/line_items/models/filter_group.rb +1 -1
  325. data/lib/hubspot/codegen/crm/line_items/models/next_page.rb +1 -1
  326. data/lib/hubspot/codegen/crm/line_items/models/paging.rb +14 -5
  327. data/lib/hubspot/codegen/crm/line_items/models/previous_page.rb +224 -0
  328. data/lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb +1 -1
  329. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +1 -1
  330. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +1 -1
  331. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_id.rb +1 -1
  332. data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +1 -1
  333. data/lib/hubspot/codegen/crm/line_items/models/standard_error.rb +309 -0
  334. data/lib/hubspot/codegen/crm/objects/api_client.rb +35 -67
  335. data/lib/hubspot/codegen/crm/objects/configuration.rb +16 -11
  336. data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +1 -1
  337. data/lib/hubspot/codegen/crm/objects/models/error_category.rb +263 -0
  338. data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +309 -0
  339. data/lib/hubspot/codegen/crm/owners/api/default_api.rb +1 -1
  340. data/lib/hubspot/codegen/crm/owners/api_client.rb +43 -73
  341. data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
  342. data/lib/hubspot/codegen/crm/owners/configuration.rb +17 -12
  343. data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner.rb +1 -1
  344. data/lib/hubspot/codegen/crm/owners/models/error.rb +1 -1
  345. data/lib/hubspot/codegen/crm/owners/models/error_detail.rb +1 -1
  346. data/lib/hubspot/codegen/crm/owners/models/next_page.rb +1 -1
  347. data/lib/hubspot/codegen/crm/owners/models/paging.rb +1 -1
  348. data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +1 -1
  349. data/lib/hubspot/codegen/crm/owners/models/public_team.rb +1 -1
  350. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +1 -1
  351. data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +1 -1
  352. data/lib/hubspot/codegen/crm/pipelines/api_client.rb +43 -73
  353. data/lib/hubspot/codegen/crm/pipelines/api_error.rb +1 -1
  354. data/lib/hubspot/codegen/crm/pipelines/configuration.rb +17 -12
  355. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline.rb +1 -1
  356. data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_stage.rb +1 -1
  357. data/lib/hubspot/codegen/crm/pipelines/models/error.rb +1 -1
  358. data/lib/hubspot/codegen/crm/pipelines/models/error_detail.rb +1 -1
  359. data/lib/hubspot/codegen/crm/pipelines/models/next_page.rb +1 -1
  360. data/lib/hubspot/codegen/crm/pipelines/models/paging.rb +1 -1
  361. data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +1 -1
  362. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +1 -1
  363. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb +1 -1
  364. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +1 -1
  365. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +1 -1
  366. data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +1 -1
  367. data/lib/hubspot/codegen/crm/products/api/associations_api.rb +13 -1
  368. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +9 -3
  369. data/lib/hubspot/codegen/crm/products/api/batch_api.rb +1 -1
  370. data/lib/hubspot/codegen/crm/products/api/search_api.rb +1 -1
  371. data/lib/hubspot/codegen/crm/products/api_client.rb +43 -73
  372. data/lib/hubspot/codegen/crm/products/api_error.rb +1 -1
  373. data/lib/hubspot/codegen/crm/products/configuration.rb +17 -12
  374. data/lib/hubspot/codegen/crm/products/models/associated_id.rb +1 -1
  375. data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input.rb +1 -1
  376. data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_id.rb +1 -1
  377. data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_input.rb +1 -1
  378. data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +1 -1
  379. data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object.rb +1 -1
  380. data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object_with_errors.rb +2 -2
  381. data/lib/hubspot/codegen/crm/products/models/collection_response_associated_id.rb +1 -1
  382. data/lib/hubspot/codegen/crm/products/models/collection_response_simple_public_object.rb +1 -1
  383. data/lib/hubspot/codegen/crm/products/models/collection_response_with_total_simple_public_object.rb +1 -1
  384. data/lib/hubspot/codegen/crm/products/models/error.rb +1 -1
  385. data/lib/hubspot/codegen/crm/products/models/error_category.rb +263 -0
  386. data/lib/hubspot/codegen/crm/products/models/error_detail.rb +1 -1
  387. data/lib/hubspot/codegen/crm/products/models/filter.rb +1 -1
  388. data/lib/hubspot/codegen/crm/products/models/filter_group.rb +1 -1
  389. data/lib/hubspot/codegen/crm/products/models/next_page.rb +1 -1
  390. data/lib/hubspot/codegen/crm/products/models/paging.rb +14 -5
  391. data/lib/hubspot/codegen/crm/products/models/previous_page.rb +224 -0
  392. data/lib/hubspot/codegen/crm/products/models/public_object_search_request.rb +1 -1
  393. data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +1 -1
  394. data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +1 -1
  395. data/lib/hubspot/codegen/crm/products/models/simple_public_object_id.rb +1 -1
  396. data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +1 -1
  397. data/lib/hubspot/codegen/crm/products/models/standard_error.rb +309 -0
  398. data/lib/hubspot/codegen/crm/properties/api/batch_api.rb +1 -1
  399. data/lib/hubspot/codegen/crm/properties/api/core_api.rb +1 -1
  400. data/lib/hubspot/codegen/crm/properties/api/groups_api.rb +1 -1
  401. data/lib/hubspot/codegen/crm/properties/api_client.rb +43 -73
  402. data/lib/hubspot/codegen/crm/properties/api_error.rb +1 -1
  403. data/lib/hubspot/codegen/crm/properties/configuration.rb +17 -12
  404. data/lib/hubspot/codegen/crm/properties/models/batch_input_property_create.rb +1 -1
  405. data/lib/hubspot/codegen/crm/properties/models/batch_input_property_name.rb +1 -1
  406. data/lib/hubspot/codegen/crm/properties/models/batch_read_input_property_name.rb +1 -1
  407. data/lib/hubspot/codegen/crm/properties/models/batch_response_property.rb +2 -2
  408. data/lib/hubspot/codegen/crm/properties/models/collection_response_property.rb +1 -1
  409. data/lib/hubspot/codegen/crm/properties/models/collection_response_property_group.rb +1 -1
  410. data/lib/hubspot/codegen/crm/properties/models/error.rb +1 -1
  411. data/lib/hubspot/codegen/crm/properties/models/error_category.rb +263 -0
  412. data/lib/hubspot/codegen/crm/properties/models/error_detail.rb +1 -1
  413. data/lib/hubspot/codegen/crm/properties/models/next_page.rb +1 -1
  414. data/lib/hubspot/codegen/crm/properties/models/option.rb +1 -1
  415. data/lib/hubspot/codegen/crm/properties/models/option_input.rb +1 -1
  416. data/lib/hubspot/codegen/crm/properties/models/paging.rb +1 -1
  417. data/lib/hubspot/codegen/crm/properties/models/property.rb +1 -1
  418. data/lib/hubspot/codegen/crm/properties/models/property_create.rb +1 -1
  419. data/lib/hubspot/codegen/crm/properties/models/property_group.rb +1 -1
  420. data/lib/hubspot/codegen/crm/properties/models/property_group_create.rb +1 -1
  421. data/lib/hubspot/codegen/crm/properties/models/property_group_update.rb +1 -1
  422. data/lib/hubspot/codegen/crm/properties/models/property_modification_metadata.rb +1 -1
  423. data/lib/hubspot/codegen/crm/properties/models/property_name.rb +1 -1
  424. data/lib/hubspot/codegen/crm/properties/models/property_update.rb +1 -1
  425. data/lib/hubspot/codegen/crm/properties/models/standard_error.rb +309 -0
  426. data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +10 -1
  427. data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +7 -1
  428. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +1 -1
  429. data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +1 -1
  430. data/lib/hubspot/codegen/crm/quotes/api_client.rb +43 -73
  431. data/lib/hubspot/codegen/crm/quotes/api_error.rb +1 -1
  432. data/lib/hubspot/codegen/crm/quotes/configuration.rb +17 -19
  433. data/lib/hubspot/codegen/crm/quotes/models/associated_id.rb +1 -1
  434. data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_batch_input.rb +1 -1
  435. data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_id.rb +1 -1
  436. data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_input.rb +1 -1
  437. data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +1 -1
  438. data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object.rb +1 -1
  439. data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object_with_errors.rb +2 -2
  440. data/lib/hubspot/codegen/crm/quotes/models/collection_response_associated_id.rb +1 -1
  441. data/lib/hubspot/codegen/crm/quotes/models/collection_response_simple_public_object.rb +1 -1
  442. data/lib/hubspot/codegen/crm/quotes/models/collection_response_with_total_simple_public_object.rb +1 -1
  443. data/lib/hubspot/codegen/crm/quotes/models/error.rb +1 -1
  444. data/lib/hubspot/codegen/crm/quotes/models/error_category.rb +263 -0
  445. data/lib/hubspot/codegen/crm/quotes/models/error_detail.rb +1 -1
  446. data/lib/hubspot/codegen/crm/quotes/models/filter.rb +1 -1
  447. data/lib/hubspot/codegen/crm/quotes/models/filter_group.rb +1 -1
  448. data/lib/hubspot/codegen/crm/quotes/models/next_page.rb +1 -1
  449. data/lib/hubspot/codegen/crm/quotes/models/paging.rb +14 -5
  450. data/lib/hubspot/codegen/crm/quotes/models/previous_page.rb +224 -0
  451. data/lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb +1 -1
  452. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +1 -1
  453. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +1 -1
  454. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_id.rb +1 -1
  455. data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +1 -1
  456. data/lib/hubspot/codegen/crm/quotes/models/standard_error.rb +309 -0
  457. data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +7 -7
  458. data/lib/hubspot/codegen/crm/schemas/api/default_api.rb +1 -1
  459. data/lib/hubspot/codegen/crm/schemas/api_client.rb +35 -67
  460. data/lib/hubspot/codegen/crm/schemas/configuration.rb +16 -11
  461. data/lib/hubspot/codegen/crm/tickets/api/associations_api.rb +13 -1
  462. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +9 -3
  463. data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +1 -1
  464. data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +1 -1
  465. data/lib/hubspot/codegen/crm/tickets/api_client.rb +43 -73
  466. data/lib/hubspot/codegen/crm/tickets/api_error.rb +1 -1
  467. data/lib/hubspot/codegen/crm/tickets/configuration.rb +17 -12
  468. data/lib/hubspot/codegen/crm/tickets/models/associated_id.rb +1 -1
  469. data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input.rb +1 -1
  470. data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_id.rb +1 -1
  471. data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_input.rb +1 -1
  472. data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +1 -1
  473. data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object.rb +1 -1
  474. data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object_with_errors.rb +2 -2
  475. data/lib/hubspot/codegen/crm/tickets/models/collection_response_associated_id.rb +1 -1
  476. data/lib/hubspot/codegen/crm/tickets/models/collection_response_simple_public_object.rb +1 -1
  477. data/lib/hubspot/codegen/crm/tickets/models/collection_response_with_total_simple_public_object.rb +1 -1
  478. data/lib/hubspot/codegen/crm/tickets/models/error.rb +1 -1
  479. data/lib/hubspot/codegen/crm/tickets/models/error_category.rb +263 -0
  480. data/lib/hubspot/codegen/crm/tickets/models/error_detail.rb +1 -1
  481. data/lib/hubspot/codegen/crm/tickets/models/filter.rb +1 -1
  482. data/lib/hubspot/codegen/crm/tickets/models/filter_group.rb +1 -1
  483. data/lib/hubspot/codegen/crm/tickets/models/next_page.rb +1 -1
  484. data/lib/hubspot/codegen/crm/tickets/models/paging.rb +14 -5
  485. data/lib/hubspot/codegen/crm/tickets/models/previous_page.rb +224 -0
  486. data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +1 -1
  487. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +1 -1
  488. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +1 -1
  489. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_id.rb +1 -1
  490. data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +1 -1
  491. data/lib/hubspot/codegen/crm/tickets/models/standard_error.rb +309 -0
  492. data/lib/hubspot/codegen/crm/timeline/api/events_api.rb +27 -19
  493. data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +31 -23
  494. data/lib/hubspot/codegen/crm/timeline/api/tokens_api.rb +25 -17
  495. data/lib/hubspot/codegen/crm/timeline/api_client.rb +44 -74
  496. data/lib/hubspot/codegen/crm/timeline/api_error.rb +2 -2
  497. data/lib/hubspot/codegen/crm/timeline/configuration.rb +19 -14
  498. data/lib/hubspot/codegen/crm/timeline/models/batch_input_timeline_event.rb +2 -2
  499. data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response.rb +32 -43
  500. data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors.rb +333 -0
  501. data/lib/hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template.rb +2 -2
  502. data/lib/hubspot/codegen/crm/timeline/models/error.rb +2 -2
  503. data/lib/hubspot/codegen/crm/timeline/models/error_category.rb +263 -0
  504. data/lib/hubspot/codegen/crm/timeline/models/error_detail.rb +2 -2
  505. data/lib/hubspot/codegen/crm/timeline/models/event_detail.rb +2 -2
  506. data/lib/hubspot/codegen/crm/timeline/models/next_page.rb +2 -2
  507. data/lib/hubspot/codegen/crm/timeline/models/paging.rb +15 -6
  508. data/lib/hubspot/codegen/crm/timeline/models/previous_page.rb +224 -0
  509. data/lib/hubspot/codegen/crm/timeline/models/standard_error.rb +309 -0
  510. data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +21 -21
  511. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_i_frame.rb +2 -2
  512. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_response.rb +30 -30
  513. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template.rb +56 -56
  514. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_create_request.rb +21 -21
  515. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token.rb +48 -48
  516. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_option.rb +2 -2
  517. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_update_request.rb +2 -2
  518. data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_update_request.rb +21 -21
  519. data/lib/hubspot/codegen/oauth/api/default_api.rb +1 -1
  520. data/lib/hubspot/codegen/oauth/api_client.rb +43 -74
  521. data/lib/hubspot/codegen/oauth/api_error.rb +1 -1
  522. data/lib/hubspot/codegen/oauth/configuration.rb +17 -12
  523. data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +18 -2
  524. data/lib/hubspot/codegen/oauth/models/error.rb +1 -1
  525. data/lib/hubspot/codegen/oauth/models/error_detail.rb +1 -1
  526. data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +1 -1
  527. data/lib/hubspot/codegen/oauth/models/token_response_if.rb +20 -20
  528. data/lib/hubspot/codegen/webhooks/api/settings_api.rb +1 -1
  529. data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +1 -1
  530. data/lib/hubspot/codegen/webhooks/api_client.rb +43 -73
  531. data/lib/hubspot/codegen/webhooks/api_error.rb +1 -1
  532. data/lib/hubspot/codegen/webhooks/configuration.rb +17 -12
  533. data/lib/hubspot/codegen/webhooks/models/batch_input_subscription_batch_update_request.rb +1 -1
  534. data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response.rb +1 -1
  535. data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response_with_errors.rb +2 -2
  536. data/lib/hubspot/codegen/webhooks/models/error.rb +1 -1
  537. data/lib/hubspot/codegen/webhooks/models/error_category.rb +261 -0
  538. data/lib/hubspot/codegen/webhooks/models/error_detail.rb +1 -1
  539. data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +1 -1
  540. data/lib/hubspot/codegen/webhooks/models/settings_response.rb +1 -1
  541. data/lib/hubspot/codegen/webhooks/models/standard_error.rb +307 -0
  542. data/lib/hubspot/codegen/webhooks/models/subscription_batch_update_request.rb +1 -1
  543. data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +1 -1
  544. data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +1 -1
  545. data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +1 -1
  546. data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +1 -1
  547. data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +1 -1
  548. data/lib/hubspot/version.rb +1 -1
  549. data/spec/cms/blogs/authors/api/default_api_spec.rb +158 -0
  550. data/spec/cms/blogs/blog-posts/api/default_api_spec.rb +158 -0
  551. data/spec/cms/blogs/tags/api/default_api_spec.rb +158 -0
  552. data/spec/oauth/api/{tokens_api_spec.rb → default_api_spec.rb} +6 -6
  553. metadata +179 -1802
  554. data/lib/hubspot/codegen/crm/quotes/api/default_api.rb +0 -426
  555. data/sample-apps/companies-app/.env.template +0 -2
  556. data/sample-apps/companies-app/.env.test.template +0 -3
  557. data/sample-apps/companies-app/.gitignore +0 -35
  558. data/sample-apps/companies-app/.rspec +0 -1
  559. data/sample-apps/companies-app/.ruby-version +0 -1
  560. data/sample-apps/companies-app/Dockerfile +0 -22
  561. data/sample-apps/companies-app/Gemfile +0 -33
  562. data/sample-apps/companies-app/Gemfile.lock +0 -271
  563. data/sample-apps/companies-app/README.md +0 -31
  564. data/sample-apps/companies-app/Rakefile +0 -6
  565. data/sample-apps/companies-app/app/assets/config/manifest.js +0 -3
  566. data/sample-apps/companies-app/app/assets/images/.keep +0 -0
  567. data/sample-apps/companies-app/app/assets/javascripts/application.js +0 -15
  568. data/sample-apps/companies-app/app/assets/javascripts/cable.js +0 -13
  569. data/sample-apps/companies-app/app/assets/javascripts/channels/.keep +0 -0
  570. data/sample-apps/companies-app/app/assets/stylesheets/application.css +0 -117
  571. data/sample-apps/companies-app/app/controllers/application_controller.rb +0 -12
  572. data/sample-apps/companies-app/app/controllers/companies_controller.rb +0 -67
  573. data/sample-apps/companies-app/app/controllers/concerns/.keep +0 -0
  574. data/sample-apps/companies-app/app/controllers/concerns/exception_handler.rb +0 -12
  575. data/sample-apps/companies-app/app/controllers/contacts_controller.rb +0 -28
  576. data/sample-apps/companies-app/app/controllers/oauth/authorization_controller.rb +0 -19
  577. data/sample-apps/companies-app/app/helpers/application_helper.rb +0 -2
  578. data/sample-apps/companies-app/app/lib/services/authorization/authorize_hubspot.rb +0 -15
  579. data/sample-apps/companies-app/app/lib/services/authorization/get_authorization_uri.rb +0 -33
  580. data/sample-apps/companies-app/app/lib/services/authorization/tokens/base.rb +0 -19
  581. data/sample-apps/companies-app/app/lib/services/authorization/tokens/generate.rb +0 -26
  582. data/sample-apps/companies-app/app/lib/services/authorization/tokens/refresh.rb +0 -33
  583. data/sample-apps/companies-app/app/lib/services/hubspot/associations/create.rb +0 -39
  584. data/sample-apps/companies-app/app/lib/services/hubspot/associations/delete.rb +0 -39
  585. data/sample-apps/companies-app/app/lib/services/hubspot/associations/get_by_id.rb +0 -39
  586. data/sample-apps/companies-app/app/lib/services/hubspot/companies/create.rb +0 -24
  587. data/sample-apps/companies-app/app/lib/services/hubspot/companies/destroy.rb +0 -16
  588. data/sample-apps/companies-app/app/lib/services/hubspot/companies/export.rb +0 -48
  589. data/sample-apps/companies-app/app/lib/services/hubspot/companies/get_all.rb +0 -16
  590. data/sample-apps/companies-app/app/lib/services/hubspot/companies/get_by_id.rb +0 -16
  591. data/sample-apps/companies-app/app/lib/services/hubspot/companies/search.rb +0 -28
  592. data/sample-apps/companies-app/app/lib/services/hubspot/companies/update.rb +0 -25
  593. data/sample-apps/companies-app/app/lib/services/hubspot/contacts/get_page.rb +0 -26
  594. data/sample-apps/companies-app/app/lib/services/hubspot/contacts/search.rb +0 -28
  595. data/sample-apps/companies-app/app/models/application_record.rb +0 -3
  596. data/sample-apps/companies-app/app/models/concerns/.keep +0 -0
  597. data/sample-apps/companies-app/app/views/companies/index.html.erb +0 -74
  598. data/sample-apps/companies-app/app/views/companies/new.html.erb +0 -24
  599. data/sample-apps/companies-app/app/views/companies/show.html.erb +0 -50
  600. data/sample-apps/companies-app/app/views/contacts/index.html.erb +0 -49
  601. data/sample-apps/companies-app/app/views/layouts/application.html.erb +0 -23
  602. data/sample-apps/companies-app/app/views/oauth/authorization/login.html.erb +0 -15
  603. data/sample-apps/companies-app/app/views/shared/_header.html.erb +0 -15
  604. data/sample-apps/companies-app/bin/bundle +0 -3
  605. data/sample-apps/companies-app/bin/rails +0 -9
  606. data/sample-apps/companies-app/bin/rake +0 -9
  607. data/sample-apps/companies-app/bin/setup +0 -36
  608. data/sample-apps/companies-app/bin/spring +0 -17
  609. data/sample-apps/companies-app/bin/update +0 -31
  610. data/sample-apps/companies-app/bin/yarn +0 -11
  611. data/sample-apps/companies-app/config.ru +0 -5
  612. data/sample-apps/companies-app/config/application.rb +0 -19
  613. data/sample-apps/companies-app/config/boot.rb +0 -3
  614. data/sample-apps/companies-app/config/cable.yml +0 -10
  615. data/sample-apps/companies-app/config/database.yml +0 -25
  616. data/sample-apps/companies-app/config/environment.rb +0 -5
  617. data/sample-apps/companies-app/config/environments/development.rb +0 -61
  618. data/sample-apps/companies-app/config/environments/production.rb +0 -94
  619. data/sample-apps/companies-app/config/environments/test.rb +0 -46
  620. data/sample-apps/companies-app/config/initializers/assets.rb +0 -14
  621. data/sample-apps/companies-app/config/initializers/filter_parameter_logging.rb +0 -4
  622. data/sample-apps/companies-app/config/initializers/hubspot-api-client.rb +0 -3
  623. data/sample-apps/companies-app/config/initializers/mime_types.rb +0 -1
  624. data/sample-apps/companies-app/config/initializers/wrap_parameters.rb +0 -14
  625. data/sample-apps/companies-app/config/locales/en.yml +0 -33
  626. data/sample-apps/companies-app/config/puma.rb +0 -34
  627. data/sample-apps/companies-app/config/routes.rb +0 -17
  628. data/sample-apps/companies-app/config/spring.rb +0 -6
  629. data/sample-apps/companies-app/db/seeds.rb +0 -7
  630. data/sample-apps/companies-app/docker-compose.yml +0 -11
  631. data/sample-apps/companies-app/docker-entrypoint.sh +0 -8
  632. data/sample-apps/companies-app/lib/assets/.keep +0 -0
  633. data/sample-apps/companies-app/lib/tasks/.keep +0 -0
  634. data/sample-apps/companies-app/log/.keep +0 -0
  635. data/sample-apps/companies-app/package.json +0 -5
  636. data/sample-apps/companies-app/public/404.html +0 -67
  637. data/sample-apps/companies-app/public/422.html +0 -67
  638. data/sample-apps/companies-app/public/500.html +0 -66
  639. data/sample-apps/companies-app/public/apple-touch-icon-precomposed.png +0 -0
  640. data/sample-apps/companies-app/public/apple-touch-icon.png +0 -0
  641. data/sample-apps/companies-app/public/favicon.ico +0 -0
  642. data/sample-apps/companies-app/public/robots.txt +0 -1
  643. data/sample-apps/companies-app/tmp/.keep +0 -0
  644. data/sample-apps/contacts-app/.env.template +0 -2
  645. data/sample-apps/contacts-app/.env.test.template +0 -3
  646. data/sample-apps/contacts-app/.gitignore +0 -35
  647. data/sample-apps/contacts-app/.rspec +0 -1
  648. data/sample-apps/contacts-app/.ruby-version +0 -1
  649. data/sample-apps/contacts-app/Dockerfile +0 -22
  650. data/sample-apps/contacts-app/Gemfile +0 -33
  651. data/sample-apps/contacts-app/Gemfile.lock +0 -271
  652. data/sample-apps/contacts-app/README.md +0 -41
  653. data/sample-apps/contacts-app/Rakefile +0 -6
  654. data/sample-apps/contacts-app/app/assets/config/manifest.js +0 -3
  655. data/sample-apps/contacts-app/app/assets/images/.keep +0 -0
  656. data/sample-apps/contacts-app/app/assets/javascripts/application.js +0 -15
  657. data/sample-apps/contacts-app/app/assets/javascripts/cable.js +0 -13
  658. data/sample-apps/contacts-app/app/assets/javascripts/channels/.keep +0 -0
  659. data/sample-apps/contacts-app/app/assets/stylesheets/application.css +0 -117
  660. data/sample-apps/contacts-app/app/controllers/application_controller.rb +0 -12
  661. data/sample-apps/contacts-app/app/controllers/concerns/.keep +0 -0
  662. data/sample-apps/contacts-app/app/controllers/concerns/exception_handler.rb +0 -12
  663. data/sample-apps/contacts-app/app/controllers/contacts_controller.rb +0 -68
  664. data/sample-apps/contacts-app/app/controllers/oauth/authorization_controller.rb +0 -19
  665. data/sample-apps/contacts-app/app/controllers/properties_controller.rb +0 -52
  666. data/sample-apps/contacts-app/app/helpers/application_helper.rb +0 -2
  667. data/sample-apps/contacts-app/app/lib/services/authorization/authorize_hubspot.rb +0 -15
  668. data/sample-apps/contacts-app/app/lib/services/authorization/get_authorization_uri.rb +0 -33
  669. data/sample-apps/contacts-app/app/lib/services/authorization/tokens/base.rb +0 -19
  670. data/sample-apps/contacts-app/app/lib/services/authorization/tokens/generate.rb +0 -26
  671. data/sample-apps/contacts-app/app/lib/services/authorization/tokens/refresh.rb +0 -33
  672. data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/create.rb +0 -22
  673. data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/destroy.rb +0 -16
  674. data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/export.rb +0 -35
  675. data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/get_by_id.rb +0 -28
  676. data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/get_page.rb +0 -26
  677. data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/search.rb +0 -37
  678. data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/update.rb +0 -23
  679. data/sample-apps/contacts-app/app/lib/services/hubspot/owners/get_all.rb +0 -12
  680. data/sample-apps/contacts-app/app/lib/services/hubspot/properties/create.rb +0 -22
  681. data/sample-apps/contacts-app/app/lib/services/hubspot/properties/destroy.rb +0 -16
  682. data/sample-apps/contacts-app/app/lib/services/hubspot/properties/get_all.rb +0 -12
  683. data/sample-apps/contacts-app/app/lib/services/hubspot/properties/get_by_name.rb +0 -20
  684. data/sample-apps/contacts-app/app/lib/services/hubspot/properties/update.rb +0 -26
  685. data/sample-apps/contacts-app/app/models/application_record.rb +0 -3
  686. data/sample-apps/contacts-app/app/models/concerns/.keep +0 -0
  687. data/sample-apps/contacts-app/app/views/contacts/index.html.erb +0 -78
  688. data/sample-apps/contacts-app/app/views/contacts/new.html.erb +0 -18
  689. data/sample-apps/contacts-app/app/views/contacts/show.html.erb +0 -39
  690. data/sample-apps/contacts-app/app/views/layouts/application.html.erb +0 -23
  691. data/sample-apps/contacts-app/app/views/oauth/authorization/login.html.erb +0 -15
  692. data/sample-apps/contacts-app/app/views/properties/index.html.erb +0 -68
  693. data/sample-apps/contacts-app/app/views/properties/new.html.erb +0 -29
  694. data/sample-apps/contacts-app/app/views/properties/show.html.erb +0 -29
  695. data/sample-apps/contacts-app/app/views/shared/_header.html.erb +0 -18
  696. data/sample-apps/contacts-app/bin/bundle +0 -3
  697. data/sample-apps/contacts-app/bin/rails +0 -9
  698. data/sample-apps/contacts-app/bin/rake +0 -9
  699. data/sample-apps/contacts-app/bin/setup +0 -36
  700. data/sample-apps/contacts-app/bin/spring +0 -17
  701. data/sample-apps/contacts-app/bin/update +0 -31
  702. data/sample-apps/contacts-app/bin/yarn +0 -11
  703. data/sample-apps/contacts-app/config.ru +0 -5
  704. data/sample-apps/contacts-app/config/application.rb +0 -19
  705. data/sample-apps/contacts-app/config/boot.rb +0 -3
  706. data/sample-apps/contacts-app/config/cable.yml +0 -10
  707. data/sample-apps/contacts-app/config/database.yml +0 -25
  708. data/sample-apps/contacts-app/config/environment.rb +0 -5
  709. data/sample-apps/contacts-app/config/environments/development.rb +0 -61
  710. data/sample-apps/contacts-app/config/environments/production.rb +0 -94
  711. data/sample-apps/contacts-app/config/environments/test.rb +0 -46
  712. data/sample-apps/contacts-app/config/initializers/assets.rb +0 -14
  713. data/sample-apps/contacts-app/config/initializers/filter_parameter_logging.rb +0 -4
  714. data/sample-apps/contacts-app/config/initializers/hubspot-api-client.rb +0 -3
  715. data/sample-apps/contacts-app/config/initializers/mime_types.rb +0 -1
  716. data/sample-apps/contacts-app/config/initializers/wrap_parameters.rb +0 -14
  717. data/sample-apps/contacts-app/config/locales/en.yml +0 -33
  718. data/sample-apps/contacts-app/config/puma.rb +0 -34
  719. data/sample-apps/contacts-app/config/routes.rb +0 -14
  720. data/sample-apps/contacts-app/config/spring.rb +0 -6
  721. data/sample-apps/contacts-app/db/seeds.rb +0 -7
  722. data/sample-apps/contacts-app/docker-compose.yml +0 -11
  723. data/sample-apps/contacts-app/docker-entrypoint.sh +0 -8
  724. data/sample-apps/contacts-app/lib/assets/.keep +0 -0
  725. data/sample-apps/contacts-app/lib/tasks/.keep +0 -0
  726. data/sample-apps/contacts-app/log/.keep +0 -0
  727. data/sample-apps/contacts-app/package.json +0 -5
  728. data/sample-apps/contacts-app/public/404.html +0 -67
  729. data/sample-apps/contacts-app/public/422.html +0 -67
  730. data/sample-apps/contacts-app/public/500.html +0 -66
  731. data/sample-apps/contacts-app/public/apple-touch-icon-precomposed.png +0 -0
  732. data/sample-apps/contacts-app/public/apple-touch-icon.png +0 -0
  733. data/sample-apps/contacts-app/public/favicon.ico +0 -0
  734. data/sample-apps/contacts-app/public/robots.txt +0 -1
  735. data/sample-apps/contacts-app/spec/features/visitor_creates_new_contact_spec.rb +0 -27
  736. data/sample-apps/contacts-app/spec/features/visitor_deletes_contact_spec.rb +0 -18
  737. data/sample-apps/contacts-app/spec/features/visitor_downloads_contacts_spec.rb +0 -21
  738. data/sample-apps/contacts-app/spec/features/visitor_edits_contact_spec.rb +0 -35
  739. data/sample-apps/contacts-app/spec/features/visitor_lists_contacts_spec.rb +0 -10
  740. data/sample-apps/contacts-app/spec/features/visitor_logs_in_spec.rb +0 -22
  741. data/sample-apps/contacts-app/spec/features/visitor_searches_contacts_spec.rb +0 -33
  742. data/sample-apps/contacts-app/spec/rails_helper.rb +0 -42
  743. data/sample-apps/contacts-app/spec/spec_helper.rb +0 -11
  744. data/sample-apps/contacts-app/spec/support/application_helper.rb +0 -29
  745. data/sample-apps/contacts-app/spec/support/download_helper.rb +0 -37
  746. data/sample-apps/contacts-app/tmp/.keep +0 -0
  747. data/sample-apps/imports-contacts-app/.env.template +0 -2
  748. data/sample-apps/imports-contacts-app/.env.test.template +0 -3
  749. data/sample-apps/imports-contacts-app/.gitignore +0 -37
  750. data/sample-apps/imports-contacts-app/.rspec +0 -1
  751. data/sample-apps/imports-contacts-app/.ruby-version +0 -1
  752. data/sample-apps/imports-contacts-app/Dockerfile +0 -22
  753. data/sample-apps/imports-contacts-app/Gemfile +0 -33
  754. data/sample-apps/imports-contacts-app/Gemfile.lock +0 -271
  755. data/sample-apps/imports-contacts-app/README.md +0 -27
  756. data/sample-apps/imports-contacts-app/Rakefile +0 -6
  757. data/sample-apps/imports-contacts-app/app/assets/config/manifest.js +0 -3
  758. data/sample-apps/imports-contacts-app/app/assets/images/.keep +0 -0
  759. data/sample-apps/imports-contacts-app/app/assets/javascripts/application.js +0 -15
  760. data/sample-apps/imports-contacts-app/app/assets/javascripts/cable.js +0 -13
  761. data/sample-apps/imports-contacts-app/app/assets/javascripts/channels/.keep +0 -0
  762. data/sample-apps/imports-contacts-app/app/assets/stylesheets/application.css +0 -87
  763. data/sample-apps/imports-contacts-app/app/controllers/application_controller.rb +0 -12
  764. data/sample-apps/imports-contacts-app/app/controllers/concerns/.keep +0 -0
  765. data/sample-apps/imports-contacts-app/app/controllers/concerns/exception_handler.rb +0 -12
  766. data/sample-apps/imports-contacts-app/app/controllers/imports_controller.rb +0 -24
  767. data/sample-apps/imports-contacts-app/app/controllers/oauth/authorization_controller.rb +0 -19
  768. data/sample-apps/imports-contacts-app/app/helpers/application_helper.rb +0 -2
  769. data/sample-apps/imports-contacts-app/app/lib/services/authorization/authorize_hubspot.rb +0 -15
  770. data/sample-apps/imports-contacts-app/app/lib/services/authorization/get_authorization_uri.rb +0 -33
  771. data/sample-apps/imports-contacts-app/app/lib/services/authorization/tokens/base.rb +0 -19
  772. data/sample-apps/imports-contacts-app/app/lib/services/authorization/tokens/generate.rb +0 -26
  773. data/sample-apps/imports-contacts-app/app/lib/services/authorization/tokens/refresh.rb +0 -33
  774. data/sample-apps/imports-contacts-app/app/lib/services/hubspot/imports/create.rb +0 -52
  775. data/sample-apps/imports-contacts-app/app/models/application_record.rb +0 -3
  776. data/sample-apps/imports-contacts-app/app/models/concerns/.keep +0 -0
  777. data/sample-apps/imports-contacts-app/app/views/imports/index.html.erb +0 -70
  778. data/sample-apps/imports-contacts-app/app/views/layouts/application.html.erb +0 -23
  779. data/sample-apps/imports-contacts-app/app/views/oauth/authorization/login.html.erb +0 -15
  780. data/sample-apps/imports-contacts-app/app/views/shared/_header.html.erb +0 -15
  781. data/sample-apps/imports-contacts-app/bin/bundle +0 -3
  782. data/sample-apps/imports-contacts-app/bin/rails +0 -9
  783. data/sample-apps/imports-contacts-app/bin/rake +0 -9
  784. data/sample-apps/imports-contacts-app/bin/setup +0 -36
  785. data/sample-apps/imports-contacts-app/bin/spring +0 -17
  786. data/sample-apps/imports-contacts-app/bin/update +0 -31
  787. data/sample-apps/imports-contacts-app/bin/yarn +0 -11
  788. data/sample-apps/imports-contacts-app/config.ru +0 -5
  789. data/sample-apps/imports-contacts-app/config/application.rb +0 -19
  790. data/sample-apps/imports-contacts-app/config/boot.rb +0 -3
  791. data/sample-apps/imports-contacts-app/config/cable.yml +0 -10
  792. data/sample-apps/imports-contacts-app/config/database.yml +0 -25
  793. data/sample-apps/imports-contacts-app/config/environment.rb +0 -5
  794. data/sample-apps/imports-contacts-app/config/environments/development.rb +0 -61
  795. data/sample-apps/imports-contacts-app/config/environments/production.rb +0 -94
  796. data/sample-apps/imports-contacts-app/config/environments/test.rb +0 -46
  797. data/sample-apps/imports-contacts-app/config/initializers/assets.rb +0 -14
  798. data/sample-apps/imports-contacts-app/config/initializers/filter_parameter_logging.rb +0 -4
  799. data/sample-apps/imports-contacts-app/config/initializers/hubspot-api-client.rb +0 -3
  800. data/sample-apps/imports-contacts-app/config/initializers/mime_types.rb +0 -1
  801. data/sample-apps/imports-contacts-app/config/initializers/wrap_parameters.rb +0 -14
  802. data/sample-apps/imports-contacts-app/config/locales/en.yml +0 -33
  803. data/sample-apps/imports-contacts-app/config/puma.rb +0 -34
  804. data/sample-apps/imports-contacts-app/config/routes.rb +0 -11
  805. data/sample-apps/imports-contacts-app/config/spring.rb +0 -6
  806. data/sample-apps/imports-contacts-app/db/seeds.rb +0 -7
  807. data/sample-apps/imports-contacts-app/docker-compose.yml +0 -11
  808. data/sample-apps/imports-contacts-app/docker-entrypoint.sh +0 -8
  809. data/sample-apps/imports-contacts-app/lib/assets/.keep +0 -0
  810. data/sample-apps/imports-contacts-app/lib/tasks/.keep +0 -0
  811. data/sample-apps/imports-contacts-app/log/.keep +0 -0
  812. data/sample-apps/imports-contacts-app/package.json +0 -5
  813. data/sample-apps/imports-contacts-app/public/404.html +0 -67
  814. data/sample-apps/imports-contacts-app/public/422.html +0 -67
  815. data/sample-apps/imports-contacts-app/public/500.html +0 -66
  816. data/sample-apps/imports-contacts-app/public/apple-touch-icon-precomposed.png +0 -0
  817. data/sample-apps/imports-contacts-app/public/apple-touch-icon.png +0 -0
  818. data/sample-apps/imports-contacts-app/public/examples/example.csv +0 -2
  819. data/sample-apps/imports-contacts-app/public/favicon.ico +0 -0
  820. data/sample-apps/imports-contacts-app/public/robots.txt +0 -1
  821. data/sample-apps/imports-contacts-app/tmp/.keep +0 -0
  822. data/sample-apps/leaky-bucket-app/.env.template +0 -3
  823. data/sample-apps/leaky-bucket-app/.gitignore +0 -34
  824. data/sample-apps/leaky-bucket-app/.ruby-version +0 -1
  825. data/sample-apps/leaky-bucket-app/Dockerfile +0 -22
  826. data/sample-apps/leaky-bucket-app/Gemfile +0 -39
  827. data/sample-apps/leaky-bucket-app/Gemfile.lock +0 -307
  828. data/sample-apps/leaky-bucket-app/README.md +0 -34
  829. data/sample-apps/leaky-bucket-app/Rakefile +0 -6
  830. data/sample-apps/leaky-bucket-app/app/assets/config/manifest.js +0 -3
  831. data/sample-apps/leaky-bucket-app/app/assets/images/.keep +0 -0
  832. data/sample-apps/leaky-bucket-app/app/assets/javascripts/application.js +0 -25
  833. data/sample-apps/leaky-bucket-app/app/assets/javascripts/cable.js +0 -13
  834. data/sample-apps/leaky-bucket-app/app/assets/javascripts/channels/.keep +0 -0
  835. data/sample-apps/leaky-bucket-app/app/assets/stylesheets/application.css +0 -90
  836. data/sample-apps/leaky-bucket-app/app/controllers/application_controller.rb +0 -12
  837. data/sample-apps/leaky-bucket-app/app/controllers/concerns/.keep +0 -0
  838. data/sample-apps/leaky-bucket-app/app/controllers/concerns/exception_handler.rb +0 -12
  839. data/sample-apps/leaky-bucket-app/app/controllers/home_controller.rb +0 -15
  840. data/sample-apps/leaky-bucket-app/app/controllers/oauth/authorization_controller.rb +0 -19
  841. data/sample-apps/leaky-bucket-app/app/helpers/application_helper.rb +0 -2
  842. data/sample-apps/leaky-bucket-app/app/lib/services/authorization/authorize_hubspot.rb +0 -15
  843. data/sample-apps/leaky-bucket-app/app/lib/services/authorization/get_authorization_uri.rb +0 -33
  844. data/sample-apps/leaky-bucket-app/app/lib/services/authorization/tokens/base.rb +0 -19
  845. data/sample-apps/leaky-bucket-app/app/lib/services/authorization/tokens/generate.rb +0 -26
  846. data/sample-apps/leaky-bucket-app/app/lib/services/authorization/tokens/refresh.rb +0 -33
  847. data/sample-apps/leaky-bucket-app/app/lib/services/hubspot/contacts/archive_batch.rb +0 -29
  848. data/sample-apps/leaky-bucket-app/app/lib/services/hubspot/contacts/create_batch.rb +0 -37
  849. data/sample-apps/leaky-bucket-app/app/models/application_record.rb +0 -3
  850. data/sample-apps/leaky-bucket-app/app/models/concerns/.keep +0 -0
  851. data/sample-apps/leaky-bucket-app/app/views/home/index.html.erb +0 -13
  852. data/sample-apps/leaky-bucket-app/app/views/layouts/application.html.erb +0 -23
  853. data/sample-apps/leaky-bucket-app/app/views/oauth/authorization/login.html.erb +0 -15
  854. data/sample-apps/leaky-bucket-app/app/views/shared/_header.html.erb +0 -12
  855. data/sample-apps/leaky-bucket-app/app/workers/leaky_bucket_worker.rb +0 -25
  856. data/sample-apps/leaky-bucket-app/bin/bundle +0 -3
  857. data/sample-apps/leaky-bucket-app/bin/rails +0 -9
  858. data/sample-apps/leaky-bucket-app/bin/rake +0 -9
  859. data/sample-apps/leaky-bucket-app/bin/setup +0 -36
  860. data/sample-apps/leaky-bucket-app/bin/spring +0 -17
  861. data/sample-apps/leaky-bucket-app/bin/update +0 -31
  862. data/sample-apps/leaky-bucket-app/bin/yarn +0 -11
  863. data/sample-apps/leaky-bucket-app/config.ru +0 -5
  864. data/sample-apps/leaky-bucket-app/config/application.rb +0 -20
  865. data/sample-apps/leaky-bucket-app/config/boot.rb +0 -3
  866. data/sample-apps/leaky-bucket-app/config/cable.yml +0 -10
  867. data/sample-apps/leaky-bucket-app/config/database.yml +0 -25
  868. data/sample-apps/leaky-bucket-app/config/environment.rb +0 -5
  869. data/sample-apps/leaky-bucket-app/config/environments/development.rb +0 -65
  870. data/sample-apps/leaky-bucket-app/config/environments/production.rb +0 -94
  871. data/sample-apps/leaky-bucket-app/config/environments/test.rb +0 -46
  872. data/sample-apps/leaky-bucket-app/config/initializers/assets.rb +0 -14
  873. data/sample-apps/leaky-bucket-app/config/initializers/filter_parameter_logging.rb +0 -4
  874. data/sample-apps/leaky-bucket-app/config/initializers/hubspot-api-ruby.rb +0 -3
  875. data/sample-apps/leaky-bucket-app/config/initializers/mime_types.rb +0 -1
  876. data/sample-apps/leaky-bucket-app/config/initializers/resque.rb +0 -7
  877. data/sample-apps/leaky-bucket-app/config/initializers/wrap_parameters.rb +0 -14
  878. data/sample-apps/leaky-bucket-app/config/locales/en.yml +0 -33
  879. data/sample-apps/leaky-bucket-app/config/puma.rb +0 -34
  880. data/sample-apps/leaky-bucket-app/config/routes.rb +0 -10
  881. data/sample-apps/leaky-bucket-app/config/spring.rb +0 -6
  882. data/sample-apps/leaky-bucket-app/db/seeds.rb +0 -7
  883. data/sample-apps/leaky-bucket-app/docker-compose.yml +0 -25
  884. data/sample-apps/leaky-bucket-app/docker-entrypoint.sh +0 -8
  885. data/sample-apps/leaky-bucket-app/lib/assets/.keep +0 -0
  886. data/sample-apps/leaky-bucket-app/lib/tasks/.keep +0 -0
  887. data/sample-apps/leaky-bucket-app/lib/tasks/leaky_bucket.rake +0 -11
  888. data/sample-apps/leaky-bucket-app/lib/tasks/resque.rake +0 -11
  889. data/sample-apps/leaky-bucket-app/log/.keep +0 -0
  890. data/sample-apps/leaky-bucket-app/package.json +0 -5
  891. data/sample-apps/leaky-bucket-app/public/404.html +0 -67
  892. data/sample-apps/leaky-bucket-app/public/422.html +0 -67
  893. data/sample-apps/leaky-bucket-app/public/500.html +0 -66
  894. data/sample-apps/leaky-bucket-app/public/apple-touch-icon-precomposed.png +0 -0
  895. data/sample-apps/leaky-bucket-app/public/apple-touch-icon.png +0 -0
  896. data/sample-apps/leaky-bucket-app/public/favicon.ico +0 -0
  897. data/sample-apps/leaky-bucket-app/public/robots.txt +0 -1
  898. data/sample-apps/leaky-bucket-app/resque-entrypoint.sh +0 -9
  899. data/sample-apps/leaky-bucket-app/tmp/.keep +0 -0
  900. data/sample-apps/oauth-app/.env.template +0 -2
  901. data/sample-apps/oauth-app/.env.test.template +0 -3
  902. data/sample-apps/oauth-app/.gitignore +0 -35
  903. data/sample-apps/oauth-app/.rspec +0 -1
  904. data/sample-apps/oauth-app/.ruby-version +0 -1
  905. data/sample-apps/oauth-app/Dockerfile +0 -22
  906. data/sample-apps/oauth-app/Gemfile +0 -33
  907. data/sample-apps/oauth-app/Gemfile.lock +0 -270
  908. data/sample-apps/oauth-app/README.md +0 -33
  909. data/sample-apps/oauth-app/Rakefile +0 -6
  910. data/sample-apps/oauth-app/app/assets/config/manifest.js +0 -3
  911. data/sample-apps/oauth-app/app/assets/images/.keep +0 -0
  912. data/sample-apps/oauth-app/app/assets/javascripts/application.js +0 -15
  913. data/sample-apps/oauth-app/app/assets/javascripts/cable.js +0 -13
  914. data/sample-apps/oauth-app/app/assets/javascripts/channels/.keep +0 -0
  915. data/sample-apps/oauth-app/app/assets/stylesheets/application.css +0 -117
  916. data/sample-apps/oauth-app/app/controllers/application_controller.rb +0 -12
  917. data/sample-apps/oauth-app/app/controllers/concerns/.keep +0 -0
  918. data/sample-apps/oauth-app/app/controllers/concerns/exception_handler.rb +0 -12
  919. data/sample-apps/oauth-app/app/controllers/contacts_controller.rb +0 -67
  920. data/sample-apps/oauth-app/app/controllers/oauth/authorization_controller.rb +0 -19
  921. data/sample-apps/oauth-app/app/helpers/application_helper.rb +0 -2
  922. data/sample-apps/oauth-app/app/lib/services/authorization/authorize_hubspot.rb +0 -15
  923. data/sample-apps/oauth-app/app/lib/services/authorization/get_authorization_uri.rb +0 -33
  924. data/sample-apps/oauth-app/app/lib/services/authorization/tokens/base.rb +0 -19
  925. data/sample-apps/oauth-app/app/lib/services/authorization/tokens/generate.rb +0 -26
  926. data/sample-apps/oauth-app/app/lib/services/authorization/tokens/refresh.rb +0 -33
  927. data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/create.rb +0 -22
  928. data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/destroy.rb +0 -16
  929. data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/export.rb +0 -35
  930. data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/get_by_id.rb +0 -20
  931. data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/get_page.rb +0 -26
  932. data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/search.rb +0 -37
  933. data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/update.rb +0 -23
  934. data/sample-apps/oauth-app/app/lib/services/hubspot/owners/get_all.rb +0 -12
  935. data/sample-apps/oauth-app/app/models/application_record.rb +0 -3
  936. data/sample-apps/oauth-app/app/models/concerns/.keep +0 -0
  937. data/sample-apps/oauth-app/app/views/contacts/index.html.erb +0 -78
  938. data/sample-apps/oauth-app/app/views/contacts/new.html.erb +0 -18
  939. data/sample-apps/oauth-app/app/views/contacts/show.html.erb +0 -38
  940. data/sample-apps/oauth-app/app/views/layouts/application.html.erb +0 -23
  941. data/sample-apps/oauth-app/app/views/oauth/authorization/login.html.erb +0 -15
  942. data/sample-apps/oauth-app/app/views/shared/_header.html.erb +0 -15
  943. data/sample-apps/oauth-app/bin/bundle +0 -3
  944. data/sample-apps/oauth-app/bin/rails +0 -9
  945. data/sample-apps/oauth-app/bin/rake +0 -9
  946. data/sample-apps/oauth-app/bin/setup +0 -36
  947. data/sample-apps/oauth-app/bin/spring +0 -17
  948. data/sample-apps/oauth-app/bin/update +0 -31
  949. data/sample-apps/oauth-app/bin/yarn +0 -11
  950. data/sample-apps/oauth-app/config.ru +0 -5
  951. data/sample-apps/oauth-app/config/application.rb +0 -19
  952. data/sample-apps/oauth-app/config/boot.rb +0 -3
  953. data/sample-apps/oauth-app/config/cable.yml +0 -10
  954. data/sample-apps/oauth-app/config/database.yml +0 -25
  955. data/sample-apps/oauth-app/config/environment.rb +0 -5
  956. data/sample-apps/oauth-app/config/environments/development.rb +0 -61
  957. data/sample-apps/oauth-app/config/environments/production.rb +0 -94
  958. data/sample-apps/oauth-app/config/environments/test.rb +0 -46
  959. data/sample-apps/oauth-app/config/initializers/assets.rb +0 -14
  960. data/sample-apps/oauth-app/config/initializers/filter_parameter_logging.rb +0 -4
  961. data/sample-apps/oauth-app/config/initializers/hubspot-api-client.rb +0 -3
  962. data/sample-apps/oauth-app/config/initializers/mime_types.rb +0 -1
  963. data/sample-apps/oauth-app/config/initializers/wrap_parameters.rb +0 -14
  964. data/sample-apps/oauth-app/config/locales/en.yml +0 -33
  965. data/sample-apps/oauth-app/config/puma.rb +0 -34
  966. data/sample-apps/oauth-app/config/routes.rb +0 -14
  967. data/sample-apps/oauth-app/config/spring.rb +0 -6
  968. data/sample-apps/oauth-app/db/seeds.rb +0 -7
  969. data/sample-apps/oauth-app/docker-compose.yml +0 -11
  970. data/sample-apps/oauth-app/docker-entrypoint.sh +0 -8
  971. data/sample-apps/oauth-app/lib/assets/.keep +0 -0
  972. data/sample-apps/oauth-app/lib/tasks/.keep +0 -0
  973. data/sample-apps/oauth-app/log/.keep +0 -0
  974. data/sample-apps/oauth-app/package.json +0 -5
  975. data/sample-apps/oauth-app/public/404.html +0 -67
  976. data/sample-apps/oauth-app/public/422.html +0 -67
  977. data/sample-apps/oauth-app/public/500.html +0 -66
  978. data/sample-apps/oauth-app/public/apple-touch-icon-precomposed.png +0 -0
  979. data/sample-apps/oauth-app/public/apple-touch-icon.png +0 -0
  980. data/sample-apps/oauth-app/public/favicon.ico +0 -0
  981. data/sample-apps/oauth-app/public/robots.txt +0 -1
  982. data/sample-apps/oauth-app/spec/features/visitor_creates_new_contact_spec.rb +0 -27
  983. data/sample-apps/oauth-app/spec/features/visitor_deletes_contact_spec.rb +0 -18
  984. data/sample-apps/oauth-app/spec/features/visitor_downloads_contacts_spec.rb +0 -21
  985. data/sample-apps/oauth-app/spec/features/visitor_edits_contact_spec.rb +0 -35
  986. data/sample-apps/oauth-app/spec/features/visitor_lists_contacts_spec.rb +0 -10
  987. data/sample-apps/oauth-app/spec/features/visitor_logs_in_spec.rb +0 -22
  988. data/sample-apps/oauth-app/spec/features/visitor_searches_contacts_spec.rb +0 -33
  989. data/sample-apps/oauth-app/spec/rails_helper.rb +0 -42
  990. data/sample-apps/oauth-app/spec/spec_helper.rb +0 -11
  991. data/sample-apps/oauth-app/spec/support/application_helper.rb +0 -29
  992. data/sample-apps/oauth-app/spec/support/download_helper.rb +0 -37
  993. data/sample-apps/oauth-app/tmp/.keep +0 -0
  994. data/sample-apps/rate-limits-redis-sample-app/.env.template +0 -3
  995. data/sample-apps/rate-limits-redis-sample-app/.gitignore +0 -34
  996. data/sample-apps/rate-limits-redis-sample-app/.ruby-version +0 -1
  997. data/sample-apps/rate-limits-redis-sample-app/Dockerfile +0 -22
  998. data/sample-apps/rate-limits-redis-sample-app/Gemfile +0 -39
  999. data/sample-apps/rate-limits-redis-sample-app/Gemfile.lock +0 -307
  1000. data/sample-apps/rate-limits-redis-sample-app/README.md +0 -35
  1001. data/sample-apps/rate-limits-redis-sample-app/Rakefile +0 -6
  1002. data/sample-apps/rate-limits-redis-sample-app/app/assets/config/manifest.js +0 -3
  1003. data/sample-apps/rate-limits-redis-sample-app/app/assets/images/.keep +0 -0
  1004. data/sample-apps/rate-limits-redis-sample-app/app/assets/javascripts/application.js +0 -25
  1005. data/sample-apps/rate-limits-redis-sample-app/app/assets/javascripts/cable.js +0 -13
  1006. data/sample-apps/rate-limits-redis-sample-app/app/assets/javascripts/channels/.keep +0 -0
  1007. data/sample-apps/rate-limits-redis-sample-app/app/assets/stylesheets/application.css +0 -90
  1008. data/sample-apps/rate-limits-redis-sample-app/app/controllers/application_controller.rb +0 -12
  1009. data/sample-apps/rate-limits-redis-sample-app/app/controllers/concerns/.keep +0 -0
  1010. data/sample-apps/rate-limits-redis-sample-app/app/controllers/concerns/exception_handler.rb +0 -12
  1011. data/sample-apps/rate-limits-redis-sample-app/app/controllers/home_controller.rb +0 -15
  1012. data/sample-apps/rate-limits-redis-sample-app/app/controllers/oauth/authorization_controller.rb +0 -19
  1013. data/sample-apps/rate-limits-redis-sample-app/app/helpers/application_helper.rb +0 -2
  1014. data/sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/authorize_hubspot.rb +0 -15
  1015. data/sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/get_authorization_uri.rb +0 -33
  1016. data/sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/tokens/base.rb +0 -19
  1017. data/sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/tokens/generate.rb +0 -26
  1018. data/sample-apps/rate-limits-redis-sample-app/app/lib/services/authorization/tokens/refresh.rb +0 -33
  1019. data/sample-apps/rate-limits-redis-sample-app/app/lib/services/hubspot/contacts/archive_batch.rb +0 -29
  1020. data/sample-apps/rate-limits-redis-sample-app/app/lib/services/hubspot/contacts/create_batch.rb +0 -37
  1021. data/sample-apps/rate-limits-redis-sample-app/app/models/application_record.rb +0 -3
  1022. data/sample-apps/rate-limits-redis-sample-app/app/models/concerns/.keep +0 -0
  1023. data/sample-apps/rate-limits-redis-sample-app/app/views/home/index.html.erb +0 -13
  1024. data/sample-apps/rate-limits-redis-sample-app/app/views/layouts/application.html.erb +0 -23
  1025. data/sample-apps/rate-limits-redis-sample-app/app/views/oauth/authorization/login.html.erb +0 -15
  1026. data/sample-apps/rate-limits-redis-sample-app/app/views/shared/_header.html.erb +0 -12
  1027. data/sample-apps/rate-limits-redis-sample-app/app/workers/redis_rate_limits_worker.rb +0 -51
  1028. data/sample-apps/rate-limits-redis-sample-app/bin/bundle +0 -3
  1029. data/sample-apps/rate-limits-redis-sample-app/bin/rails +0 -9
  1030. data/sample-apps/rate-limits-redis-sample-app/bin/rake +0 -9
  1031. data/sample-apps/rate-limits-redis-sample-app/bin/setup +0 -36
  1032. data/sample-apps/rate-limits-redis-sample-app/bin/spring +0 -17
  1033. data/sample-apps/rate-limits-redis-sample-app/bin/update +0 -31
  1034. data/sample-apps/rate-limits-redis-sample-app/bin/yarn +0 -11
  1035. data/sample-apps/rate-limits-redis-sample-app/config.ru +0 -5
  1036. data/sample-apps/rate-limits-redis-sample-app/config/application.rb +0 -20
  1037. data/sample-apps/rate-limits-redis-sample-app/config/boot.rb +0 -3
  1038. data/sample-apps/rate-limits-redis-sample-app/config/cable.yml +0 -10
  1039. data/sample-apps/rate-limits-redis-sample-app/config/database.yml +0 -25
  1040. data/sample-apps/rate-limits-redis-sample-app/config/environment.rb +0 -5
  1041. data/sample-apps/rate-limits-redis-sample-app/config/environments/development.rb +0 -63
  1042. data/sample-apps/rate-limits-redis-sample-app/config/environments/production.rb +0 -94
  1043. data/sample-apps/rate-limits-redis-sample-app/config/environments/test.rb +0 -46
  1044. data/sample-apps/rate-limits-redis-sample-app/config/initializers/assets.rb +0 -14
  1045. data/sample-apps/rate-limits-redis-sample-app/config/initializers/filter_parameter_logging.rb +0 -4
  1046. data/sample-apps/rate-limits-redis-sample-app/config/initializers/hubspot-api-ruby.rb +0 -3
  1047. data/sample-apps/rate-limits-redis-sample-app/config/initializers/mime_types.rb +0 -1
  1048. data/sample-apps/rate-limits-redis-sample-app/config/initializers/resque.rb +0 -7
  1049. data/sample-apps/rate-limits-redis-sample-app/config/initializers/wrap_parameters.rb +0 -14
  1050. data/sample-apps/rate-limits-redis-sample-app/config/locales/en.yml +0 -33
  1051. data/sample-apps/rate-limits-redis-sample-app/config/puma.rb +0 -34
  1052. data/sample-apps/rate-limits-redis-sample-app/config/routes.rb +0 -10
  1053. data/sample-apps/rate-limits-redis-sample-app/config/spring.rb +0 -6
  1054. data/sample-apps/rate-limits-redis-sample-app/db/seeds.rb +0 -7
  1055. data/sample-apps/rate-limits-redis-sample-app/docker-compose.yml +0 -25
  1056. data/sample-apps/rate-limits-redis-sample-app/docker-entrypoint.sh +0 -8
  1057. data/sample-apps/rate-limits-redis-sample-app/lib/assets/.keep +0 -0
  1058. data/sample-apps/rate-limits-redis-sample-app/lib/tasks/.keep +0 -0
  1059. data/sample-apps/rate-limits-redis-sample-app/lib/tasks/redis_rate_limits.rake +0 -11
  1060. data/sample-apps/rate-limits-redis-sample-app/lib/tasks/resque.rake +0 -11
  1061. data/sample-apps/rate-limits-redis-sample-app/log/.keep +0 -0
  1062. data/sample-apps/rate-limits-redis-sample-app/package.json +0 -5
  1063. data/sample-apps/rate-limits-redis-sample-app/public/404.html +0 -67
  1064. data/sample-apps/rate-limits-redis-sample-app/public/422.html +0 -67
  1065. data/sample-apps/rate-limits-redis-sample-app/public/500.html +0 -66
  1066. data/sample-apps/rate-limits-redis-sample-app/public/apple-touch-icon-precomposed.png +0 -0
  1067. data/sample-apps/rate-limits-redis-sample-app/public/apple-touch-icon.png +0 -0
  1068. data/sample-apps/rate-limits-redis-sample-app/public/favicon.ico +0 -0
  1069. data/sample-apps/rate-limits-redis-sample-app/public/robots.txt +0 -1
  1070. data/sample-apps/rate-limits-redis-sample-app/resque-entrypoint.sh +0 -9
  1071. data/sample-apps/rate-limits-redis-sample-app/tmp/.keep +0 -0
  1072. data/sample-apps/retry-middleware-sample-app/.env.template +0 -2
  1073. data/sample-apps/retry-middleware-sample-app/.gitignore +0 -35
  1074. data/sample-apps/retry-middleware-sample-app/.ruby-version +0 -1
  1075. data/sample-apps/retry-middleware-sample-app/Dockerfile +0 -22
  1076. data/sample-apps/retry-middleware-sample-app/Gemfile +0 -37
  1077. data/sample-apps/retry-middleware-sample-app/Gemfile.lock +0 -283
  1078. data/sample-apps/retry-middleware-sample-app/README.md +0 -33
  1079. data/sample-apps/retry-middleware-sample-app/Rakefile +0 -6
  1080. data/sample-apps/retry-middleware-sample-app/app/assets/config/manifest.js +0 -3
  1081. data/sample-apps/retry-middleware-sample-app/app/assets/images/.keep +0 -0
  1082. data/sample-apps/retry-middleware-sample-app/app/assets/javascripts/application.js +0 -25
  1083. data/sample-apps/retry-middleware-sample-app/app/assets/javascripts/cable.js +0 -13
  1084. data/sample-apps/retry-middleware-sample-app/app/assets/javascripts/channels/.keep +0 -0
  1085. data/sample-apps/retry-middleware-sample-app/app/assets/stylesheets/application.css +0 -90
  1086. data/sample-apps/retry-middleware-sample-app/app/controllers/application_controller.rb +0 -12
  1087. data/sample-apps/retry-middleware-sample-app/app/controllers/concerns/.keep +0 -0
  1088. data/sample-apps/retry-middleware-sample-app/app/controllers/concerns/exception_handler.rb +0 -12
  1089. data/sample-apps/retry-middleware-sample-app/app/controllers/home_controller.rb +0 -15
  1090. data/sample-apps/retry-middleware-sample-app/app/controllers/oauth/authorization_controller.rb +0 -19
  1091. data/sample-apps/retry-middleware-sample-app/app/helpers/application_helper.rb +0 -2
  1092. data/sample-apps/retry-middleware-sample-app/app/lib/services/authorization/authorize_hubspot.rb +0 -15
  1093. data/sample-apps/retry-middleware-sample-app/app/lib/services/authorization/get_authorization_uri.rb +0 -33
  1094. data/sample-apps/retry-middleware-sample-app/app/lib/services/authorization/tokens/base.rb +0 -19
  1095. data/sample-apps/retry-middleware-sample-app/app/lib/services/authorization/tokens/generate.rb +0 -26
  1096. data/sample-apps/retry-middleware-sample-app/app/lib/services/authorization/tokens/refresh.rb +0 -33
  1097. data/sample-apps/retry-middleware-sample-app/app/models/application_record.rb +0 -3
  1098. data/sample-apps/retry-middleware-sample-app/app/models/concerns/.keep +0 -0
  1099. data/sample-apps/retry-middleware-sample-app/app/views/home/index.html.erb +0 -13
  1100. data/sample-apps/retry-middleware-sample-app/app/views/layouts/application.html.erb +0 -23
  1101. data/sample-apps/retry-middleware-sample-app/app/views/oauth/authorization/login.html.erb +0 -15
  1102. data/sample-apps/retry-middleware-sample-app/app/views/shared/_header.html.erb +0 -12
  1103. data/sample-apps/retry-middleware-sample-app/bin/bundle +0 -3
  1104. data/sample-apps/retry-middleware-sample-app/bin/rails +0 -9
  1105. data/sample-apps/retry-middleware-sample-app/bin/rake +0 -9
  1106. data/sample-apps/retry-middleware-sample-app/bin/setup +0 -36
  1107. data/sample-apps/retry-middleware-sample-app/bin/spring +0 -17
  1108. data/sample-apps/retry-middleware-sample-app/bin/update +0 -31
  1109. data/sample-apps/retry-middleware-sample-app/bin/yarn +0 -11
  1110. data/sample-apps/retry-middleware-sample-app/config.ru +0 -5
  1111. data/sample-apps/retry-middleware-sample-app/config/application.rb +0 -19
  1112. data/sample-apps/retry-middleware-sample-app/config/boot.rb +0 -3
  1113. data/sample-apps/retry-middleware-sample-app/config/cable.yml +0 -10
  1114. data/sample-apps/retry-middleware-sample-app/config/database.yml +0 -25
  1115. data/sample-apps/retry-middleware-sample-app/config/environment.rb +0 -5
  1116. data/sample-apps/retry-middleware-sample-app/config/environments/development.rb +0 -61
  1117. data/sample-apps/retry-middleware-sample-app/config/environments/production.rb +0 -94
  1118. data/sample-apps/retry-middleware-sample-app/config/environments/test.rb +0 -46
  1119. data/sample-apps/retry-middleware-sample-app/config/initializers/assets.rb +0 -14
  1120. data/sample-apps/retry-middleware-sample-app/config/initializers/filter_parameter_logging.rb +0 -4
  1121. data/sample-apps/retry-middleware-sample-app/config/initializers/hubspot-api-client.rb +0 -3
  1122. data/sample-apps/retry-middleware-sample-app/config/initializers/mime_types.rb +0 -1
  1123. data/sample-apps/retry-middleware-sample-app/config/initializers/wrap_parameters.rb +0 -14
  1124. data/sample-apps/retry-middleware-sample-app/config/locales/en.yml +0 -33
  1125. data/sample-apps/retry-middleware-sample-app/config/puma.rb +0 -34
  1126. data/sample-apps/retry-middleware-sample-app/config/routes.rb +0 -6
  1127. data/sample-apps/retry-middleware-sample-app/config/spring.rb +0 -6
  1128. data/sample-apps/retry-middleware-sample-app/db/seeds.rb +0 -7
  1129. data/sample-apps/retry-middleware-sample-app/docker-compose.yml +0 -11
  1130. data/sample-apps/retry-middleware-sample-app/docker-entrypoint.sh +0 -8
  1131. data/sample-apps/retry-middleware-sample-app/lib/assets/.keep +0 -0
  1132. data/sample-apps/retry-middleware-sample-app/lib/tasks/.keep +0 -0
  1133. data/sample-apps/retry-middleware-sample-app/lib/tasks/retry_middleware.rake +0 -37
  1134. data/sample-apps/retry-middleware-sample-app/log/.keep +0 -0
  1135. data/sample-apps/retry-middleware-sample-app/package.json +0 -5
  1136. data/sample-apps/retry-middleware-sample-app/public/404.html +0 -67
  1137. data/sample-apps/retry-middleware-sample-app/public/422.html +0 -67
  1138. data/sample-apps/retry-middleware-sample-app/public/500.html +0 -66
  1139. data/sample-apps/retry-middleware-sample-app/public/apple-touch-icon-precomposed.png +0 -0
  1140. data/sample-apps/retry-middleware-sample-app/public/apple-touch-icon.png +0 -0
  1141. data/sample-apps/retry-middleware-sample-app/public/favicon.ico +0 -0
  1142. data/sample-apps/retry-middleware-sample-app/public/robots.txt +0 -1
  1143. data/sample-apps/retry-middleware-sample-app/tmp/.keep +0 -0
  1144. data/sample-apps/search-result-paging-app/.env.template +0 -4
  1145. data/sample-apps/search-result-paging-app/.gitignore +0 -35
  1146. data/sample-apps/search-result-paging-app/.rspec +0 -1
  1147. data/sample-apps/search-result-paging-app/.ruby-version +0 -1
  1148. data/sample-apps/search-result-paging-app/Dockerfile +0 -22
  1149. data/sample-apps/search-result-paging-app/Gemfile +0 -35
  1150. data/sample-apps/search-result-paging-app/Gemfile.lock +0 -279
  1151. data/sample-apps/search-result-paging-app/README.md +0 -0
  1152. data/sample-apps/search-result-paging-app/Rakefile +0 -6
  1153. data/sample-apps/search-result-paging-app/app/assets/config/manifest.js +0 -3
  1154. data/sample-apps/search-result-paging-app/app/assets/images/.keep +0 -0
  1155. data/sample-apps/search-result-paging-app/app/assets/javascripts/application.js +0 -25
  1156. data/sample-apps/search-result-paging-app/app/assets/javascripts/cable.js +0 -13
  1157. data/sample-apps/search-result-paging-app/app/assets/javascripts/channels/.keep +0 -0
  1158. data/sample-apps/search-result-paging-app/app/assets/stylesheets/application.css +0 -77
  1159. data/sample-apps/search-result-paging-app/app/controllers/application_controller.rb +0 -12
  1160. data/sample-apps/search-result-paging-app/app/controllers/concerns/.keep +0 -0
  1161. data/sample-apps/search-result-paging-app/app/controllers/concerns/exception_handler.rb +0 -12
  1162. data/sample-apps/search-result-paging-app/app/controllers/home_controller.rb +0 -14
  1163. data/sample-apps/search-result-paging-app/app/controllers/oauth/authorization_controller.rb +0 -19
  1164. data/sample-apps/search-result-paging-app/app/helpers/application_helper.rb +0 -2
  1165. data/sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb +0 -17
  1166. data/sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/get_authorization_uri.rb +0 -35
  1167. data/sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/tokens/base.rb +0 -21
  1168. data/sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/tokens/generate.rb +0 -28
  1169. data/sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/tokens/refresh.rb +0 -35
  1170. data/sample-apps/search-result-paging-app/app/lib/services/hubspot/contacts/get_page.rb +0 -26
  1171. data/sample-apps/search-result-paging-app/app/lib/services/hubspot/contacts/search.rb +0 -35
  1172. data/sample-apps/search-result-paging-app/app/lib/services/hubspot/properties/create.rb +0 -22
  1173. data/sample-apps/search-result-paging-app/app/lib/services/hubspot/properties/destroy.rb +0 -16
  1174. data/sample-apps/search-result-paging-app/app/models/application_record.rb +0 -3
  1175. data/sample-apps/search-result-paging-app/app/models/concerns/.keep +0 -0
  1176. data/sample-apps/search-result-paging-app/app/views/home/index.html.erb +0 -13
  1177. data/sample-apps/search-result-paging-app/app/views/layouts/application.html.erb +0 -23
  1178. data/sample-apps/search-result-paging-app/app/views/oauth/authorization/login.html.erb +0 -15
  1179. data/sample-apps/search-result-paging-app/app/views/shared/_header.html.erb +0 -18
  1180. data/sample-apps/search-result-paging-app/bin/bundle +0 -3
  1181. data/sample-apps/search-result-paging-app/bin/rails +0 -9
  1182. data/sample-apps/search-result-paging-app/bin/rake +0 -9
  1183. data/sample-apps/search-result-paging-app/bin/setup +0 -36
  1184. data/sample-apps/search-result-paging-app/bin/spring +0 -17
  1185. data/sample-apps/search-result-paging-app/bin/update +0 -31
  1186. data/sample-apps/search-result-paging-app/bin/yarn +0 -11
  1187. data/sample-apps/search-result-paging-app/config.ru +0 -5
  1188. data/sample-apps/search-result-paging-app/config/application.rb +0 -19
  1189. data/sample-apps/search-result-paging-app/config/boot.rb +0 -3
  1190. data/sample-apps/search-result-paging-app/config/cable.yml +0 -10
  1191. data/sample-apps/search-result-paging-app/config/database.yml +0 -25
  1192. data/sample-apps/search-result-paging-app/config/environment.rb +0 -5
  1193. data/sample-apps/search-result-paging-app/config/environments/development.rb +0 -61
  1194. data/sample-apps/search-result-paging-app/config/environments/production.rb +0 -94
  1195. data/sample-apps/search-result-paging-app/config/environments/test.rb +0 -46
  1196. data/sample-apps/search-result-paging-app/config/initializers/assets.rb +0 -14
  1197. data/sample-apps/search-result-paging-app/config/initializers/filter_parameter_logging.rb +0 -4
  1198. data/sample-apps/search-result-paging-app/config/initializers/hubspot-api-client.rb +0 -3
  1199. data/sample-apps/search-result-paging-app/config/initializers/mime_types.rb +0 -1
  1200. data/sample-apps/search-result-paging-app/config/initializers/wrap_parameters.rb +0 -14
  1201. data/sample-apps/search-result-paging-app/config/locales/en.yml +0 -33
  1202. data/sample-apps/search-result-paging-app/config/puma.rb +0 -34
  1203. data/sample-apps/search-result-paging-app/config/routes.rb +0 -7
  1204. data/sample-apps/search-result-paging-app/config/spring.rb +0 -6
  1205. data/sample-apps/search-result-paging-app/db/seeds.rb +0 -7
  1206. data/sample-apps/search-result-paging-app/docker-compose.yml +0 -11
  1207. data/sample-apps/search-result-paging-app/docker-entrypoint.sh +0 -8
  1208. data/sample-apps/search-result-paging-app/lib/assets/.keep +0 -0
  1209. data/sample-apps/search-result-paging-app/lib/tasks/.keep +0 -0
  1210. data/sample-apps/search-result-paging-app/lib/tasks/search_contacts.rake +0 -36
  1211. data/sample-apps/search-result-paging-app/log/.keep +0 -0
  1212. data/sample-apps/search-result-paging-app/package.json +0 -5
  1213. data/sample-apps/search-result-paging-app/public/404.html +0 -67
  1214. data/sample-apps/search-result-paging-app/public/422.html +0 -67
  1215. data/sample-apps/search-result-paging-app/public/500.html +0 -66
  1216. data/sample-apps/search-result-paging-app/public/apple-touch-icon-precomposed.png +0 -0
  1217. data/sample-apps/search-result-paging-app/public/apple-touch-icon.png +0 -0
  1218. data/sample-apps/search-result-paging-app/public/favicon.ico +0 -0
  1219. data/sample-apps/search-result-paging-app/public/robots.txt +0 -1
  1220. data/sample-apps/search-result-paging-app/tmp/.keep +0 -0
  1221. data/sample-apps/trello-integration-app/.env.template +0 -7
  1222. data/sample-apps/trello-integration-app/.gitignore +0 -35
  1223. data/sample-apps/trello-integration-app/.rspec +0 -1
  1224. data/sample-apps/trello-integration-app/.ruby-version +0 -1
  1225. data/sample-apps/trello-integration-app/Dockerfile +0 -22
  1226. data/sample-apps/trello-integration-app/Gemfile +0 -38
  1227. data/sample-apps/trello-integration-app/Gemfile.lock +0 -314
  1228. data/sample-apps/trello-integration-app/README.md +0 -31
  1229. data/sample-apps/trello-integration-app/Rakefile +0 -6
  1230. data/sample-apps/trello-integration-app/app/assets/config/manifest.js +0 -3
  1231. data/sample-apps/trello-integration-app/app/assets/images/.keep +0 -0
  1232. data/sample-apps/trello-integration-app/app/assets/images/right-arrow.png +0 -0
  1233. data/sample-apps/trello-integration-app/app/assets/javascripts/application.js +0 -22
  1234. data/sample-apps/trello-integration-app/app/assets/javascripts/cable.js +0 -13
  1235. data/sample-apps/trello-integration-app/app/assets/javascripts/channels/.keep +0 -0
  1236. data/sample-apps/trello-integration-app/app/assets/javascripts/jquery-spinner.min.js +0 -11071
  1237. data/sample-apps/trello-integration-app/app/assets/javascripts/lodash.js +0 -15972
  1238. data/sample-apps/trello-integration-app/app/assets/javascripts/mappings.js +0 -78
  1239. data/sample-apps/trello-integration-app/app/assets/javascripts/typeahead.bundle.min.js +0 -8
  1240. data/sample-apps/trello-integration-app/app/assets/stylesheets/application.css +0 -46
  1241. data/sample-apps/trello-integration-app/app/assets/stylesheets/authorization.scss +0 -34
  1242. data/sample-apps/trello-integration-app/app/assets/stylesheets/jquery-spinner.css +0 -33
  1243. data/sample-apps/trello-integration-app/app/assets/stylesheets/mappings.scss +0 -55
  1244. data/sample-apps/trello-integration-app/app/assets/stylesheets/navigation.scss +0 -43
  1245. data/sample-apps/trello-integration-app/app/assets/stylesheets/search_frame.scss +0 -81
  1246. data/sample-apps/trello-integration-app/app/controllers/application_controller.rb +0 -38
  1247. data/sample-apps/trello-integration-app/app/controllers/concerns/.keep +0 -0
  1248. data/sample-apps/trello-integration-app/app/controllers/concerns/exception_handler.rb +0 -12
  1249. data/sample-apps/trello-integration-app/app/controllers/home_controller.rb +0 -20
  1250. data/sample-apps/trello-integration-app/app/controllers/mappings_controller.rb +0 -64
  1251. data/sample-apps/trello-integration-app/app/controllers/oauth/authorization_controller.rb +0 -28
  1252. data/sample-apps/trello-integration-app/app/controllers/trello/cards_controller.rb +0 -94
  1253. data/sample-apps/trello-integration-app/app/controllers/trello/webhooks_controller.rb +0 -30
  1254. data/sample-apps/trello-integration-app/app/helpers/application_helper.rb +0 -2
  1255. data/sample-apps/trello-integration-app/app/helpers/oauth/authorization_helper.rb +0 -11
  1256. data/sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/authorize.rb +0 -17
  1257. data/sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/get_authorization_uri.rb +0 -35
  1258. data/sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/tokens/base.rb +0 -21
  1259. data/sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/tokens/generate.rb +0 -28
  1260. data/sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/tokens/refresh.rb +0 -35
  1261. data/sample-apps/trello-integration-app/app/lib/services/hubspot/deals/get_by_id.rb +0 -15
  1262. data/sample-apps/trello-integration-app/app/lib/services/hubspot/deals/update.rb +0 -17
  1263. data/sample-apps/trello-integration-app/app/lib/services/hubspot/extensions_cards/create.rb +0 -82
  1264. data/sample-apps/trello-integration-app/app/lib/services/hubspot/pipelines/get_all.rb +0 -11
  1265. data/sample-apps/trello-integration-app/app/lib/services/hubspot/pipelines/get_by_id.rb +0 -15
  1266. data/sample-apps/trello-integration-app/app/lib/services/trello/authorization/authorize.rb +0 -20
  1267. data/sample-apps/trello-integration-app/app/lib/services/trello/boards/get_all.rb +0 -11
  1268. data/sample-apps/trello-integration-app/app/lib/services/trello/boards/get_by_id.rb +0 -19
  1269. data/sample-apps/trello-integration-app/app/lib/services/trello/cards/format.rb +0 -78
  1270. data/sample-apps/trello-integration-app/app/lib/services/trello/cards/get_by_id.rb +0 -15
  1271. data/sample-apps/trello-integration-app/app/lib/services/trello/cards/search.rb +0 -15
  1272. data/sample-apps/trello-integration-app/app/lib/services/trello/webhooks/create.rb +0 -31
  1273. data/sample-apps/trello-integration-app/app/lib/services/trello/webhooks/delete.rb +0 -17
  1274. data/sample-apps/trello-integration-app/app/lib/services/trello/webhooks/update.rb +0 -19
  1275. data/sample-apps/trello-integration-app/app/models/application_record.rb +0 -3
  1276. data/sample-apps/trello-integration-app/app/models/concerns/.keep +0 -0
  1277. data/sample-apps/trello-integration-app/app/models/deal_association.rb +0 -2
  1278. data/sample-apps/trello-integration-app/app/models/extension_card.rb +0 -4
  1279. data/sample-apps/trello-integration-app/app/models/hubspot_token.rb +0 -19
  1280. data/sample-apps/trello-integration-app/app/models/mapping.rb +0 -2
  1281. data/sample-apps/trello-integration-app/app/models/trello_token.rb +0 -19
  1282. data/sample-apps/trello-integration-app/app/models/webhook.rb +0 -2
  1283. data/sample-apps/trello-integration-app/app/views/home/index.html.erb +0 -23
  1284. data/sample-apps/trello-integration-app/app/views/home/success.html.erb +0 -11
  1285. data/sample-apps/trello-integration-app/app/views/layouts/application.html.erb +0 -23
  1286. data/sample-apps/trello-integration-app/app/views/mappings/_mapping.html.erb +0 -13
  1287. data/sample-apps/trello-integration-app/app/views/mappings/index.html.erb +0 -44
  1288. data/sample-apps/trello-integration-app/app/views/oauth/authorization/login.html.erb +0 -42
  1289. data/sample-apps/trello-integration-app/app/views/shared/_header.html.erb +0 -15
  1290. data/sample-apps/trello-integration-app/app/views/trello/cards/search_frame.html.erb +0 -69
  1291. data/sample-apps/trello-integration-app/app/views/trello/cards/search_frame_success.html.erb +0 -7
  1292. data/sample-apps/trello-integration-app/bin/bundle +0 -3
  1293. data/sample-apps/trello-integration-app/bin/rails +0 -9
  1294. data/sample-apps/trello-integration-app/bin/rake +0 -9
  1295. data/sample-apps/trello-integration-app/bin/setup +0 -36
  1296. data/sample-apps/trello-integration-app/bin/spring +0 -17
  1297. data/sample-apps/trello-integration-app/bin/update +0 -31
  1298. data/sample-apps/trello-integration-app/bin/yarn +0 -11
  1299. data/sample-apps/trello-integration-app/config.ru +0 -5
  1300. data/sample-apps/trello-integration-app/config/application.rb +0 -20
  1301. data/sample-apps/trello-integration-app/config/boot.rb +0 -3
  1302. data/sample-apps/trello-integration-app/config/cable.yml +0 -10
  1303. data/sample-apps/trello-integration-app/config/database.yml +0 -16
  1304. data/sample-apps/trello-integration-app/config/environment.rb +0 -5
  1305. data/sample-apps/trello-integration-app/config/environments/development.rb +0 -61
  1306. data/sample-apps/trello-integration-app/config/environments/production.rb +0 -94
  1307. data/sample-apps/trello-integration-app/config/environments/test.rb +0 -46
  1308. data/sample-apps/trello-integration-app/config/initializers/assets.rb +0 -14
  1309. data/sample-apps/trello-integration-app/config/initializers/filter_parameter_logging.rb +0 -4
  1310. data/sample-apps/trello-integration-app/config/initializers/hubspot-api-client.rb +0 -3
  1311. data/sample-apps/trello-integration-app/config/initializers/mime_types.rb +0 -1
  1312. data/sample-apps/trello-integration-app/config/initializers/omniauth.rb +0 -11
  1313. data/sample-apps/trello-integration-app/config/initializers/trello.rb +0 -1
  1314. data/sample-apps/trello-integration-app/config/initializers/wrap_parameters.rb +0 -14
  1315. data/sample-apps/trello-integration-app/config/locales/en.yml +0 -33
  1316. data/sample-apps/trello-integration-app/config/puma.rb +0 -34
  1317. data/sample-apps/trello-integration-app/config/routes.rb +0 -29
  1318. data/sample-apps/trello-integration-app/config/spring.rb +0 -6
  1319. data/sample-apps/trello-integration-app/config/storage.yml +0 -34
  1320. data/sample-apps/trello-integration-app/db/migrate/20200624132327_create_hubspot_tokens.rb +0 -10
  1321. data/sample-apps/trello-integration-app/db/migrate/20200624132336_create_trello_tokens.rb +0 -8
  1322. data/sample-apps/trello-integration-app/db/migrate/20200624132337_create_deal_associations.rb +0 -8
  1323. data/sample-apps/trello-integration-app/db/migrate/20200702130530_create_extension_cards.rb +0 -8
  1324. data/sample-apps/trello-integration-app/db/migrate/20200715143913_create_mappings.rb +0 -12
  1325. data/sample-apps/trello-integration-app/db/migrate/20200727083656_create_webhooks.rb +0 -9
  1326. data/sample-apps/trello-integration-app/db/schema.rb +0 -52
  1327. data/sample-apps/trello-integration-app/db/seeds.rb +0 -7
  1328. data/sample-apps/trello-integration-app/docker-compose.yml +0 -41
  1329. data/sample-apps/trello-integration-app/docker-entrypoint.sh +0 -8
  1330. data/sample-apps/trello-integration-app/lib/assets/.keep +0 -0
  1331. data/sample-apps/trello-integration-app/lib/middlewares/trello_payload_params_handler.rb +0 -18
  1332. data/sample-apps/trello-integration-app/lib/tasks/.keep +0 -0
  1333. data/sample-apps/trello-integration-app/log/.keep +0 -0
  1334. data/sample-apps/trello-integration-app/package.json +0 -5
  1335. data/sample-apps/trello-integration-app/public/404.html +0 -67
  1336. data/sample-apps/trello-integration-app/public/422.html +0 -67
  1337. data/sample-apps/trello-integration-app/public/500.html +0 -66
  1338. data/sample-apps/trello-integration-app/public/favicon.ico +0 -0
  1339. data/sample-apps/trello-integration-app/public/robots.txt +0 -1
  1340. data/sample-apps/trello-integration-app/tmp/.keep +0 -0
  1341. data/sample-apps/webhooks-contacts-app/.env.template +0 -4
  1342. data/sample-apps/webhooks-contacts-app/.gitignore +0 -35
  1343. data/sample-apps/webhooks-contacts-app/.ruby-version +0 -1
  1344. data/sample-apps/webhooks-contacts-app/Dockerfile +0 -21
  1345. data/sample-apps/webhooks-contacts-app/Gemfile +0 -37
  1346. data/sample-apps/webhooks-contacts-app/Gemfile.lock +0 -281
  1347. data/sample-apps/webhooks-contacts-app/README.md +0 -54
  1348. data/sample-apps/webhooks-contacts-app/Rakefile +0 -6
  1349. data/sample-apps/webhooks-contacts-app/app/assets/config/manifest.js +0 -3
  1350. data/sample-apps/webhooks-contacts-app/app/assets/images/.keep +0 -0
  1351. data/sample-apps/webhooks-contacts-app/app/assets/javascripts/application.js +0 -46
  1352. data/sample-apps/webhooks-contacts-app/app/assets/javascripts/cable.js +0 -13
  1353. data/sample-apps/webhooks-contacts-app/app/assets/javascripts/channels/.keep +0 -0
  1354. data/sample-apps/webhooks-contacts-app/app/assets/stylesheets/application.css +0 -92
  1355. data/sample-apps/webhooks-contacts-app/app/controllers/application_controller.rb +0 -18
  1356. data/sample-apps/webhooks-contacts-app/app/controllers/concerns/.keep +0 -0
  1357. data/sample-apps/webhooks-contacts-app/app/controllers/concerns/exception_handler.rb +0 -12
  1358. data/sample-apps/webhooks-contacts-app/app/controllers/events_controller.rb +0 -31
  1359. data/sample-apps/webhooks-contacts-app/app/controllers/home_controller.rb +0 -44
  1360. data/sample-apps/webhooks-contacts-app/app/controllers/oauth/authorization_controller.rb +0 -19
  1361. data/sample-apps/webhooks-contacts-app/app/controllers/webhooks_controller.rb +0 -9
  1362. data/sample-apps/webhooks-contacts-app/app/helpers/application_helper.rb +0 -2
  1363. data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb +0 -17
  1364. data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/get_authorization_uri.rb +0 -35
  1365. data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/tokens/base.rb +0 -21
  1366. data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/tokens/generate.rb +0 -28
  1367. data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/tokens/refresh.rb +0 -35
  1368. data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/contacts/get_batch.rb +0 -36
  1369. data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/webhooks/configure_target_url.rb +0 -25
  1370. data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/webhooks/create_or_activate_subscription.rb +0 -44
  1371. data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/webhooks/handle.rb +0 -46
  1372. data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/webhooks/pause_active_subscriptions.rb +0 -39
  1373. data/sample-apps/webhooks-contacts-app/app/models/application_record.rb +0 -3
  1374. data/sample-apps/webhooks-contacts-app/app/models/concerns/.keep +0 -0
  1375. data/sample-apps/webhooks-contacts-app/app/models/event.rb +0 -5
  1376. data/sample-apps/webhooks-contacts-app/app/models/token.rb +0 -15
  1377. data/sample-apps/webhooks-contacts-app/app/views/events/index.html.erb +0 -39
  1378. data/sample-apps/webhooks-contacts-app/app/views/home/index.html.erb +0 -47
  1379. data/sample-apps/webhooks-contacts-app/app/views/layouts/application.html.erb +0 -21
  1380. data/sample-apps/webhooks-contacts-app/app/views/oauth/authorization/login.html.erb +0 -15
  1381. data/sample-apps/webhooks-contacts-app/app/views/shared/_header.html.erb +0 -18
  1382. data/sample-apps/webhooks-contacts-app/bin/bundle +0 -3
  1383. data/sample-apps/webhooks-contacts-app/bin/rails +0 -9
  1384. data/sample-apps/webhooks-contacts-app/bin/rake +0 -9
  1385. data/sample-apps/webhooks-contacts-app/bin/setup +0 -36
  1386. data/sample-apps/webhooks-contacts-app/bin/spring +0 -17
  1387. data/sample-apps/webhooks-contacts-app/bin/update +0 -31
  1388. data/sample-apps/webhooks-contacts-app/bin/yarn +0 -11
  1389. data/sample-apps/webhooks-contacts-app/config.ru +0 -5
  1390. data/sample-apps/webhooks-contacts-app/config/application.rb +0 -19
  1391. data/sample-apps/webhooks-contacts-app/config/boot.rb +0 -3
  1392. data/sample-apps/webhooks-contacts-app/config/cable.yml +0 -10
  1393. data/sample-apps/webhooks-contacts-app/config/database.yml +0 -15
  1394. data/sample-apps/webhooks-contacts-app/config/environment.rb +0 -5
  1395. data/sample-apps/webhooks-contacts-app/config/environments/development.rb +0 -61
  1396. data/sample-apps/webhooks-contacts-app/config/environments/production.rb +0 -94
  1397. data/sample-apps/webhooks-contacts-app/config/environments/test.rb +0 -47
  1398. data/sample-apps/webhooks-contacts-app/config/initializers/assets.rb +0 -14
  1399. data/sample-apps/webhooks-contacts-app/config/initializers/filter_parameter_logging.rb +0 -4
  1400. data/sample-apps/webhooks-contacts-app/config/initializers/wrap_parameters.rb +0 -14
  1401. data/sample-apps/webhooks-contacts-app/config/locales/en.yml +0 -33
  1402. data/sample-apps/webhooks-contacts-app/config/puma.rb +0 -34
  1403. data/sample-apps/webhooks-contacts-app/config/routes.rb +0 -12
  1404. data/sample-apps/webhooks-contacts-app/config/spring.rb +0 -6
  1405. data/sample-apps/webhooks-contacts-app/db/migrate/20191202170347_create_tokens.rb +0 -10
  1406. data/sample-apps/webhooks-contacts-app/db/migrate/20200130113853_create_events.rb +0 -14
  1407. data/sample-apps/webhooks-contacts-app/db/schema.rb +0 -33
  1408. data/sample-apps/webhooks-contacts-app/docker-compose.yml +0 -41
  1409. data/sample-apps/webhooks-contacts-app/docker-entrypoint.sh +0 -8
  1410. data/sample-apps/webhooks-contacts-app/lib/assets/.keep +0 -0
  1411. data/sample-apps/webhooks-contacts-app/lib/tasks/.keep +0 -0
  1412. data/sample-apps/webhooks-contacts-app/log/.keep +0 -0
  1413. data/sample-apps/webhooks-contacts-app/package.json +0 -5
  1414. data/sample-apps/webhooks-contacts-app/public/404.html +0 -67
  1415. data/sample-apps/webhooks-contacts-app/public/422.html +0 -67
  1416. data/sample-apps/webhooks-contacts-app/public/500.html +0 -66
  1417. data/sample-apps/webhooks-contacts-app/public/apple-touch-icon-precomposed.png +0 -0
  1418. data/sample-apps/webhooks-contacts-app/public/apple-touch-icon.png +0 -0
  1419. data/sample-apps/webhooks-contacts-app/public/favicon.ico +0 -0
  1420. data/sample-apps/webhooks-contacts-app/public/robots.txt +0 -1
  1421. data/sample-apps/webhooks-contacts-app/public/sample.png +0 -0
  1422. data/sample-apps/webhooks-contacts-app/tmp/.keep +0 -0
  1423. data/spec/oauth/api/access_tokens_api_spec.rb +0 -46
  1424. data/spec/oauth/api/refresh_tokens_api_spec.rb +0 -92
  1425. data/spec/oauth/models/json_node_spec.rb +0 -165
  1426. data/spec/oauth/models/refresh_token_spec.rb +0 -59
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6d857315ad1b39c4372fe92d5fb0c88dee2c7d8a13735c073e811800a2f86b9
4
- data.tar.gz: e4c48d566f2b980d6deddb7d675f4a570586844767feafcc34863324adf03eef
3
+ metadata.gz: defe25bda2ec3b5a956b151f933597ee04f3bebadaf28b94841b3bec28223a67
4
+ data.tar.gz: ac0df435aaaecb7f0c204a6522bb275956287b9dc5ef441022678af97af71de3
5
5
  SHA512:
6
- metadata.gz: 154737d6244f373d18659e54c73d090eeb1f73583a46f648758c702fadcd73252a4fe2afa5be12f4f3b5eb1b7e9e8edd0c8e035d24462a1dda5bd674d558d573
7
- data.tar.gz: 8e231c37575ea84e5e7d712fea575758f5f6b01226bb45a2d598b8f2c57a0e890719bb063fe72bcbca8f1ce556298bce6a711137c1d057956968b59def16caa1
6
+ metadata.gz: e9dc58d58dd8fc5d2fc66c5e9a7c0f4cc2566e437f604d3dec9989d3f4a429d02cf98f3ecf4e4ba60ce08d12d8bc62e79c3ea5503e77f94849fc3fe22a575b23
7
+ data.tar.gz: 631550e02c810ba970c1b5c482c6574e3be756a236bc21861532c0a81340604bdf2e7628c14cd730caad511f0c7c4984bcf2195ae98f681baadb63438d7a5568
@@ -0,0 +1,4 @@
1
+ # This file is managed by GitHubManager
2
+ # Changes will be overwritten, please go to https://private.hubteam.com/githubmanager to update this.
3
+
4
+ * @HubSpot/devex-sample-apps-developers
@@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [9.2.0] - 2020-12-16
9
+
10
+ - Add blogs clients
11
+ - Update hubdb client
12
+ - Update OAuth client
13
+ - Typhoeus was added
14
+
15
+ ## [9.0.0] - 2020-11-02
16
+
17
+ - Upgrade clients to 4.3.1 version of openapi-generator
18
+
19
+ ## [8.0.1] - 2020-10-23
20
+
21
+ - Update Hubdb client
22
+
23
+ ## [8.0.0] - 2020-10-20
24
+
25
+ - Add hubdb client
26
+ - Add missing clients to main config
27
+
28
+ ## [7.3.0] - 2020-10-09
29
+
30
+ - Add timeline events sample app
31
+
8
32
  ## [7.2.0] - 2020-10-05
9
33
 
10
34
  - Add Objects client
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hubspot-api-client (2.0.0)
5
- faraday (>= 0.14.0)
4
+ hubspot-api-client (9.2.0)
6
5
  json (~> 2.1, >= 2.1.0)
6
+ typhoeus (~> 1.4.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -13,21 +13,20 @@ GEM
13
13
  public_suffix (>= 2.0.2, < 5.0)
14
14
  autotest (4.4.6)
15
15
  ZenTest (>= 4.4.1)
16
- autotest-fsevent (0.2.15)
17
- sys-uname
18
16
  autotest-growl (0.2.16)
19
17
  autotest-rails-pure (4.1.2)
20
18
  crack (0.4.3)
21
19
  safe_yaml (~> 1.0.0)
22
20
  diff-lcs (1.3)
23
- faraday (1.0.1)
24
- multipart-post (>= 1.2, < 3)
25
- ffi (1.11.3)
21
+ ethon (0.12.0)
22
+ ffi (>= 1.3.0)
23
+ ffi (1.13.1)
26
24
  hashdiff (1.0.0)
27
- json (2.3.0)
28
- multipart-post (2.1.1)
25
+ json (2.4.1)
29
26
  public_suffix (4.0.1)
30
27
  rake (12.0.0)
28
+ rake-release (1.2.1)
29
+ bundler (>= 1.11, < 3)
31
30
  rspec (3.9.0)
32
31
  rspec-core (~> 3.9.0)
33
32
  rspec-expectations (~> 3.9.0)
@@ -42,8 +41,8 @@ GEM
42
41
  rspec-support (~> 3.9.0)
43
42
  rspec-support (3.9.0)
44
43
  safe_yaml (1.0.5)
45
- sys-uname (1.1.1)
46
- ffi (>= 1.0.0)
44
+ typhoeus (1.4.0)
45
+ ethon (>= 0.9.0)
47
46
  vcr (3.0.3)
48
47
  webmock (1.24.6)
49
48
  addressable (>= 2.3.6)
@@ -55,14 +54,14 @@ PLATFORMS
55
54
 
56
55
  DEPENDENCIES
57
56
  autotest (~> 4.4, >= 4.4.6)
58
- autotest-fsevent (~> 0.2, >= 0.2.12)
59
57
  autotest-growl (~> 0.2, >= 0.2.16)
60
58
  autotest-rails-pure (~> 4.1, >= 4.1.2)
61
59
  hubspot-api-client!
62
60
  rake (~> 12.0.0)
61
+ rake-release
63
62
  rspec (~> 3.6, >= 3.6.0)
64
63
  vcr (~> 3.0, >= 3.0.1)
65
64
  webmock (~> 1.24, >= 1.24.3)
66
65
 
67
66
  BUNDLED WITH
68
- 1.17.3
67
+ 2.1.4
data/README.md CHANGED
@@ -5,6 +5,10 @@ Ruby API v3 Client files and sample apps
5
5
  - Package version: 1.0.0
6
6
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
7
7
 
8
+ ## Documentation
9
+
10
+ See the [Hubspot API](https://www.rubydoc.info/github/HubSpot/hubspot-api-ruby/master) docs.
11
+
8
12
  ## Installation
9
13
 
10
14
  ```ruby
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  begin
2
2
  require 'rspec/core/rake_task'
3
+ require 'rake/release'
3
4
 
4
5
  RSpec::Core::RakeTask.new(:spec)
5
6
  task default: :spec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.license = "Unlicense"
14
14
  s.required_ruby_version = ">= 1.9"
15
15
 
16
- s.add_runtime_dependency 'faraday', '>= 0.14.0'
16
+ s.add_runtime_dependency 'typhoeus', '~> 1.4.0'
17
17
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
18
18
 
19
19
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
@@ -22,9 +22,11 @@ Gem::Specification.new do |s|
22
22
  s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
23
23
  s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
24
24
  s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
25
- s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
25
+ s.add_development_dependency 'rake-release'
26
26
 
27
- s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
27
+ s.files = `git ls-files -z`.split("\x0").reject do |f|
28
+ f.match(%r{^(sample-apps)/})
29
+ end
28
30
  s.test_files = `find spec/*`.split("\n")
29
31
  s.executables = []
30
32
  s.require_paths = ["lib"]
@@ -32,6 +32,70 @@ require 'hubspot/codegen/cms/audit-logs/models/next_page'
32
32
  require 'hubspot/codegen/cms/audit-logs/models/paging'
33
33
  require 'hubspot/codegen/cms/audit-logs/models/public_audit_log'
34
34
 
35
+ require 'hubspot/codegen/cms/blogs/authors/api_client'
36
+ require 'hubspot/codegen/cms/blogs/authors/api_error'
37
+ require 'hubspot/codegen/cms/blogs/authors/configuration'
38
+ require 'hubspot/codegen/cms/blogs/authors/api/default_api'
39
+ require 'hubspot/codegen/cms/blogs/authors/models/batch_input_blog_author'
40
+ require 'hubspot/codegen/cms/blogs/authors/models/batch_input_json_node'
41
+ require 'hubspot/codegen/cms/blogs/authors/models/batch_input_string'
42
+ require 'hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors'
43
+ require 'hubspot/codegen/cms/blogs/authors/models/blog_author'
44
+ require 'hubspot/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging'
45
+ require 'hubspot/codegen/cms/blogs/authors/models/error_detail'
46
+ require 'hubspot/codegen/cms/blogs/authors/models/error'
47
+ require 'hubspot/codegen/cms/blogs/authors/models/forward_paging'
48
+ require 'hubspot/codegen/cms/blogs/authors/models/next_page'
49
+ require 'hubspot/codegen/cms/blogs/authors/models/standard_error'
50
+
51
+ require 'hubspot/codegen/cms/blogs/blog-posts/api_client'
52
+ require 'hubspot/codegen/cms/blogs/blog-posts/api_error'
53
+ require 'hubspot/codegen/cms/blogs/blog-posts/configuration'
54
+ require 'hubspot/codegen/cms/blogs/blog-posts/api/default_api'
55
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/angle'
56
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/background_image'
57
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/batch_input_blog_post'
58
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/batch_input_json_node'
59
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/batch_input_string'
60
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors'
61
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/blog_post'
62
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging'
63
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post'
64
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/color_stop'
65
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/content_clone_request_v_next'
66
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/content_schedule_request_v_next'
67
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/error_detail'
68
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/error'
69
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/forward_paging'
70
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/gradient'
71
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/layout_section'
72
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/next_page'
73
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/paging'
74
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/previous_page'
75
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/rgba_color'
76
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/row_meta_data'
77
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/side_or_corner'
78
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/standard_error'
79
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/styles'
80
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/version_blog_post'
81
+ require 'hubspot/codegen/cms/blogs/blog-posts/models/version_user'
82
+
83
+ require 'hubspot/codegen/cms/blogs/tags/api_client'
84
+ require 'hubspot/codegen/cms/blogs/tags/api_error'
85
+ require 'hubspot/codegen/cms/blogs/tags/configuration'
86
+ require 'hubspot/codegen/cms/blogs/tags/api/default_api'
87
+ require 'hubspot/codegen/cms/blogs/tags/models/batch_input_json_node'
88
+ require 'hubspot/codegen/cms/blogs/tags/models/batch_input_string'
89
+ require 'hubspot/codegen/cms/blogs/tags/models/batch_input_tag'
90
+ require 'hubspot/codegen/cms/blogs/tags/models/batch_response_tag_with_errors'
91
+ require 'hubspot/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging'
92
+ require 'hubspot/codegen/cms/blogs/tags/models/error_detail'
93
+ require 'hubspot/codegen/cms/blogs/tags/models/error'
94
+ require 'hubspot/codegen/cms/blogs/tags/models/forward_paging'
95
+ require 'hubspot/codegen/cms/blogs/tags/models/next_page'
96
+ require 'hubspot/codegen/cms/blogs/tags/models/standard_error'
97
+ require 'hubspot/codegen/cms/blogs/tags/models/tag'
98
+
35
99
  require 'hubspot/codegen/cms/domains/api_client'
36
100
  require 'hubspot/codegen/cms/domains/api_error'
37
101
  require 'hubspot/codegen/cms/domains/configuration'
@@ -45,6 +109,36 @@ require 'hubspot/codegen/cms/domains/models/error_detail'
45
109
  require 'hubspot/codegen/cms/domains/models/next_page'
46
110
  require 'hubspot/codegen/cms/domains/models/paging'
47
111
 
112
+ require 'hubspot/codegen/cms/hubdb/api_client'
113
+ require 'hubspot/codegen/cms/hubdb/api_error'
114
+ require 'hubspot/codegen/cms/hubdb/configuration'
115
+ require 'hubspot/codegen/cms/hubdb/api/rows_api'
116
+ require 'hubspot/codegen/cms/hubdb/api/rows_batch_api'
117
+ require 'hubspot/codegen/cms/hubdb/api/tables_api'
118
+ require 'hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3'
119
+ require 'hubspot/codegen/cms/hubdb/models/batch_input_json_node'
120
+ require 'hubspot/codegen/cms/hubdb/models/batch_input_string'
121
+ require 'hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors'
122
+ require 'hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging'
123
+ require 'hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging'
124
+ require 'hubspot/codegen/cms/hubdb/models/column_input'
125
+ require 'hubspot/codegen/cms/hubdb/models/column'
126
+ require 'hubspot/codegen/cms/hubdb/models/error_detail'
127
+ require 'hubspot/codegen/cms/hubdb/models/error'
128
+ require 'hubspot/codegen/cms/hubdb/models/foreign_id'
129
+ require 'hubspot/codegen/cms/hubdb/models/forward_paging'
130
+ require 'hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request'
131
+ require 'hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_input'
132
+ require 'hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3'
133
+ require 'hubspot/codegen/cms/hubdb/models/hub_db_table_v3_input'
134
+ require 'hubspot/codegen/cms/hubdb/models/hub_db_table_v3_live_input'
135
+ require 'hubspot/codegen/cms/hubdb/models/hub_db_table_v3'
136
+ require 'hubspot/codegen/cms/hubdb/models/import_result'
137
+ require 'hubspot/codegen/cms/hubdb/models/next_page'
138
+ require 'hubspot/codegen/cms/hubdb/models/option'
139
+ require 'hubspot/codegen/cms/hubdb/models/simple_user'
140
+ require 'hubspot/codegen/cms/hubdb/models/standard_error'
141
+
48
142
  require 'hubspot/codegen/cms/performance/api_client'
49
143
  require 'hubspot/codegen/cms/performance/api_error'
50
144
  require 'hubspot/codegen/cms/performance/configuration'
@@ -120,6 +214,7 @@ require 'hubspot/codegen/crm/companies/models/filter'
120
214
  require 'hubspot/codegen/crm/companies/models/filter_group'
121
215
  require 'hubspot/codegen/crm/companies/models/next_page'
122
216
  require 'hubspot/codegen/crm/companies/models/paging'
217
+ require 'hubspot/codegen/crm/companies/models/previous_page'
123
218
  require 'hubspot/codegen/crm/companies/models/public_object_search_request'
124
219
  require 'hubspot/codegen/crm/companies/models/simple_public_object'
125
220
  require 'hubspot/codegen/crm/companies/models/simple_public_object_batch_input'
@@ -149,36 +244,13 @@ require 'hubspot/codegen/crm/contacts/models/filter'
149
244
  require 'hubspot/codegen/crm/contacts/models/filter_group'
150
245
  require 'hubspot/codegen/crm/contacts/models/next_page'
151
246
  require 'hubspot/codegen/crm/contacts/models/paging'
247
+ require 'hubspot/codegen/crm/contacts/models/previous_page'
152
248
  require 'hubspot/codegen/crm/contacts/models/public_object_search_request'
153
249
  require 'hubspot/codegen/crm/contacts/models/simple_public_object'
154
250
  require 'hubspot/codegen/crm/contacts/models/simple_public_object_batch_input'
155
251
  require 'hubspot/codegen/crm/contacts/models/simple_public_object_id'
156
252
  require 'hubspot/codegen/crm/contacts/models/simple_public_object_input'
157
253
 
158
- require 'hubspot/codegen/crm/schemas/api_client'
159
- require 'hubspot/codegen/crm/schemas/api_error'
160
- require 'hubspot/codegen/crm/schemas/configuration'
161
- require 'hubspot/codegen/crm/schemas/api/core_api'
162
- require 'hubspot/codegen/crm/schemas/api/default_api'
163
- require 'hubspot/codegen/crm/schemas/models/association_definition'
164
- require 'hubspot/codegen/crm/schemas/models/association_definition_egg'
165
- require 'hubspot/codegen/crm/schemas/models/collection_response_object_schema'
166
- require 'hubspot/codegen/crm/schemas/models/error'
167
- require 'hubspot/codegen/crm/schemas/models/error_detail'
168
- require 'hubspot/codegen/crm/schemas/models/next_page'
169
- require 'hubspot/codegen/crm/schemas/models/object_schema'
170
- require 'hubspot/codegen/crm/schemas/models/object_schema_egg'
171
- require 'hubspot/codegen/crm/schemas/models/object_type_definition'
172
- require 'hubspot/codegen/crm/schemas/models/object_type_definition_labels'
173
- require 'hubspot/codegen/crm/schemas/models/object_type_definition_patch'
174
- require 'hubspot/codegen/crm/schemas/models/object_type_property_create'
175
- require 'hubspot/codegen/crm/schemas/models/option'
176
- require 'hubspot/codegen/crm/schemas/models/option_input'
177
- require 'hubspot/codegen/crm/schemas/models/paging'
178
- require 'hubspot/codegen/crm/schemas/models/previous_page'
179
- require 'hubspot/codegen/crm/schemas/models/property'
180
- require 'hubspot/codegen/crm/schemas/models/property_modification_metadata'
181
-
182
254
  require 'hubspot/codegen/crm/deals/api_client'
183
255
  require 'hubspot/codegen/crm/deals/api_error'
184
256
  require 'hubspot/codegen/crm/deals/configuration'
@@ -202,6 +274,7 @@ require 'hubspot/codegen/crm/deals/models/filter'
202
274
  require 'hubspot/codegen/crm/deals/models/filter_group'
203
275
  require 'hubspot/codegen/crm/deals/models/next_page'
204
276
  require 'hubspot/codegen/crm/deals/models/paging'
277
+ require 'hubspot/codegen/crm/deals/models/previous_page'
205
278
  require 'hubspot/codegen/crm/deals/models/public_object_search_request'
206
279
  require 'hubspot/codegen/crm/deals/models/simple_public_object'
207
280
  require 'hubspot/codegen/crm/deals/models/simple_public_object_batch_input'
@@ -244,6 +317,7 @@ require 'hubspot/codegen/crm/imports/models/error'
244
317
  require 'hubspot/codegen/crm/imports/models/error_detail'
245
318
  require 'hubspot/codegen/crm/imports/models/next_page'
246
319
  require 'hubspot/codegen/crm/imports/models/paging'
320
+ require 'hubspot/codegen/crm/imports/models/previous_page'
247
321
  require 'hubspot/codegen/crm/imports/models/public_import_metadata'
248
322
  require 'hubspot/codegen/crm/imports/models/public_import_response'
249
323
  require 'hubspot/codegen/crm/imports/models/public_object_list_record'
@@ -271,6 +345,7 @@ require 'hubspot/codegen/crm/line_items/models/filter'
271
345
  require 'hubspot/codegen/crm/line_items/models/filter_group'
272
346
  require 'hubspot/codegen/crm/line_items/models/next_page'
273
347
  require 'hubspot/codegen/crm/line_items/models/paging'
348
+ require 'hubspot/codegen/crm/line_items/models/previous_page'
274
349
  require 'hubspot/codegen/crm/line_items/models/public_object_search_request'
275
350
  require 'hubspot/codegen/crm/line_items/models/simple_public_object'
276
351
  require 'hubspot/codegen/crm/line_items/models/simple_public_object_batch_input'
@@ -360,6 +435,7 @@ require 'hubspot/codegen/crm/products/models/filter'
360
435
  require 'hubspot/codegen/crm/products/models/filter_group'
361
436
  require 'hubspot/codegen/crm/products/models/next_page'
362
437
  require 'hubspot/codegen/crm/products/models/paging'
438
+ require 'hubspot/codegen/crm/products/models/previous_page'
363
439
  require 'hubspot/codegen/crm/products/models/public_object_search_request'
364
440
  require 'hubspot/codegen/crm/products/models/simple_public_object'
365
441
  require 'hubspot/codegen/crm/products/models/simple_public_object_batch_input'
@@ -399,7 +475,6 @@ require 'hubspot/codegen/crm/quotes/configuration'
399
475
  require 'hubspot/codegen/crm/quotes/api/associations_api'
400
476
  require 'hubspot/codegen/crm/quotes/api/basic_api'
401
477
  require 'hubspot/codegen/crm/quotes/api/batch_api'
402
- require 'hubspot/codegen/crm/quotes/api/default_api'
403
478
  require 'hubspot/codegen/crm/quotes/api/search_api'
404
479
  require 'hubspot/codegen/crm/quotes/models/associated_id'
405
480
  require 'hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_batch_input'
@@ -417,12 +492,37 @@ require 'hubspot/codegen/crm/quotes/models/filter'
417
492
  require 'hubspot/codegen/crm/quotes/models/filter_group'
418
493
  require 'hubspot/codegen/crm/quotes/models/next_page'
419
494
  require 'hubspot/codegen/crm/quotes/models/paging'
495
+ require 'hubspot/codegen/crm/quotes/models/previous_page'
420
496
  require 'hubspot/codegen/crm/quotes/models/public_object_search_request'
421
497
  require 'hubspot/codegen/crm/quotes/models/simple_public_object'
422
498
  require 'hubspot/codegen/crm/quotes/models/simple_public_object_batch_input'
423
499
  require 'hubspot/codegen/crm/quotes/models/simple_public_object_id'
424
500
  require 'hubspot/codegen/crm/quotes/models/simple_public_object_input'
425
501
 
502
+ require 'hubspot/codegen/crm/schemas/api_client'
503
+ require 'hubspot/codegen/crm/schemas/api_error'
504
+ require 'hubspot/codegen/crm/schemas/configuration'
505
+ require 'hubspot/codegen/crm/schemas/api/core_api'
506
+ require 'hubspot/codegen/crm/schemas/api/default_api'
507
+ require 'hubspot/codegen/crm/schemas/models/association_definition'
508
+ require 'hubspot/codegen/crm/schemas/models/association_definition_egg'
509
+ require 'hubspot/codegen/crm/schemas/models/collection_response_object_schema'
510
+ require 'hubspot/codegen/crm/schemas/models/error'
511
+ require 'hubspot/codegen/crm/schemas/models/error_detail'
512
+ require 'hubspot/codegen/crm/schemas/models/next_page'
513
+ require 'hubspot/codegen/crm/schemas/models/object_schema'
514
+ require 'hubspot/codegen/crm/schemas/models/object_schema_egg'
515
+ require 'hubspot/codegen/crm/schemas/models/object_type_definition'
516
+ require 'hubspot/codegen/crm/schemas/models/object_type_definition_labels'
517
+ require 'hubspot/codegen/crm/schemas/models/object_type_definition_patch'
518
+ require 'hubspot/codegen/crm/schemas/models/object_type_property_create'
519
+ require 'hubspot/codegen/crm/schemas/models/option'
520
+ require 'hubspot/codegen/crm/schemas/models/option_input'
521
+ require 'hubspot/codegen/crm/schemas/models/paging'
522
+ require 'hubspot/codegen/crm/schemas/models/previous_page'
523
+ require 'hubspot/codegen/crm/schemas/models/property'
524
+ require 'hubspot/codegen/crm/schemas/models/property_modification_metadata'
525
+
426
526
  require 'hubspot/codegen/crm/tickets/api_client'
427
527
  require 'hubspot/codegen/crm/tickets/api_error'
428
528
  require 'hubspot/codegen/crm/tickets/configuration'
@@ -446,6 +546,7 @@ require 'hubspot/codegen/crm/tickets/models/filter'
446
546
  require 'hubspot/codegen/crm/tickets/models/filter_group'
447
547
  require 'hubspot/codegen/crm/tickets/models/next_page'
448
548
  require 'hubspot/codegen/crm/tickets/models/paging'
549
+ require 'hubspot/codegen/crm/tickets/models/previous_page'
449
550
  require 'hubspot/codegen/crm/tickets/models/public_object_search_request'
450
551
  require 'hubspot/codegen/crm/tickets/models/simple_public_object'
451
552
  require 'hubspot/codegen/crm/tickets/models/simple_public_object_batch_input'
@@ -460,12 +561,14 @@ require 'hubspot/codegen/crm/timeline/api/templates_api'
460
561
  require 'hubspot/codegen/crm/timeline/api/tokens_api'
461
562
  require 'hubspot/codegen/crm/timeline/models/batch_input_timeline_event'
462
563
  require 'hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response'
564
+ require 'hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors'
463
565
  require 'hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template'
464
566
  require 'hubspot/codegen/crm/timeline/models/error'
465
567
  require 'hubspot/codegen/crm/timeline/models/error_detail'
466
568
  require 'hubspot/codegen/crm/timeline/models/event_detail'
467
569
  require 'hubspot/codegen/crm/timeline/models/next_page'
468
570
  require 'hubspot/codegen/crm/timeline/models/paging'
571
+ require 'hubspot/codegen/crm/timeline/models/previous_page'
469
572
  require 'hubspot/codegen/crm/timeline/models/timeline_event'
470
573
  require 'hubspot/codegen/crm/timeline/models/timeline_event_i_frame'
471
574
  require 'hubspot/codegen/crm/timeline/models/timeline_event_response'
@@ -513,6 +616,7 @@ module Hubspot
513
616
  'Webhooks',
514
617
  'Cms::AuditLogs',
515
618
  'Cms::Domains',
619
+ 'Cms::Hubdb',
516
620
  'Cms::Performance',
517
621
  'Cms::SiteSearch',
518
622
  'Cms::UrlRedirects',
@@ -523,11 +627,13 @@ module Hubspot
523
627
  'Crm::Extensions::Cards',
524
628
  'Crm::Imports',
525
629
  'Crm::LineItems',
630
+ 'Crm::Objects',
526
631
  'Crm::Owners',
527
632
  'Crm::Pipelines',
528
633
  'Crm::Products',
529
634
  'Crm::Properties',
530
635
  'Crm::Quotes',
636
+ 'Crm::Schemas',
531
637
  'Crm::Tickets',
532
638
  'Crm::Timeline'
533
639
  ].freeze
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'json'
15
15
  require 'logger'
16
16
  require 'tempfile'
17
- require 'faraday'
17
+ require 'typhoeus'
18
18
 
19
19
  module Hubspot
20
20
  module Cms
@@ -48,62 +48,26 @@ module Hubspot
48
48
  # @return [Array<(Object, Integer, Hash)>] an array of 3 elements:
49
49
  # the data deserialized from response body (could be nil), response status code and response headers.
50
50
  def call_api(http_method, path, opts = {})
51
- ssl_options = {
52
- :ca_file => @config.ssl_ca_file,
53
- :verify => @config.ssl_verify,
54
- :verify_mode => @config.ssl_verify_mode,
55
- :client_cert => @config.ssl_client_cert,
56
- :client_key => @config.ssl_client_key
57
- }
51
+ request = build_request(http_method, path, opts)
52
+ response = request.run
58
53
 
59
- connection = Faraday.new(:url => config.base_url, :ssl => ssl_options) do |conn|
60
- conn.basic_auth(config.username, config.password)
61
- if opts[:header_params]["Content-Type"] == "multipart/form-data"
62
- conn.request :multipart
63
- conn.request :url_encoded
64
- end
65
- conn.adapter(Faraday.default_adapter)
66
- conn.options[:params_encoder] = Faraday::FlatParamsEncoder
67
-
68
- # Errors handler settings
69
- if !config.error_handler.empty?
70
- config.error_handler.each do |statuses, opts|
71
- statuses = statuses.is_a?(Integer) ? [statuses] : statuses
72
- retry_options = {
73
- max: opts[:max_retries],
74
- interval: opts[:seconds_delay],
75
- retry_statuses: statuses,
76
- methods: %i[post delete get head options put],
77
- retry_block: -> (env, options, retries, exc) { opts[:retry_block].call }
78
- }
79
- conn.request :retry, retry_options
80
- end
81
- end
54
+ if @config.debugging
55
+ @config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
82
56
  end
83
57
 
84
- begin
85
- response = connection.public_send(http_method.to_sym.downcase) do |req|
86
- build_request(http_method, path, req, opts)
87
- end
88
-
89
- if @config.debugging
90
- @config.logger.debug "HTTP response body ~BEGIN~\n#{response.body}\n~END~\n"
91
- end
92
-
93
- unless response.success?
94
- if response.status == 0
95
- # Errors from libcurl will be made visible here
96
- fail ApiError.new(:code => 0,
97
- :message => response.return_message)
98
- else
99
- fail ApiError.new(:code => response.status,
100
- :response_headers => response.headers,
101
- :response_body => response.body),
102
- response.reason_phrase
103
- end
58
+ unless response.success?
59
+ if response.timed_out?
60
+ fail ApiError.new('Connection timed out')
61
+ elsif response.code == 0
62
+ # Errors from libcurl will be made visible here
63
+ fail ApiError.new(:code => 0,
64
+ :message => response.return_message)
65
+ else
66
+ fail ApiError.new(:code => response.code,
67
+ :response_headers => response.headers,
68
+ :response_body => response.body),
69
+ response.status_message
104
70
  end
105
- rescue Faraday::TimeoutError
106
- fail ApiError.new('Connection timed out')
107
71
  end
108
72
 
109
73
  if opts[:return_type]
@@ -111,7 +75,7 @@ module Hubspot
111
75
  else
112
76
  data = nil
113
77
  end
114
- return data, response.status, response.headers
78
+ return data, response.code, response.headers
115
79
  end
116
80
 
117
81
  # Builds the HTTP request
@@ -123,7 +87,7 @@ module Hubspot
123
87
  # @option opts [Hash] :form_params Query parameters
124
88
  # @option opts [Object] :body HTTP body (JSON/XML)
125
89
  # @return [Typhoeus::Request] A Typhoeus Request
126
- def build_request(http_method, path, request, opts = {})
90
+ def build_request(http_method, path, opts = {})
127
91
  url = build_request_url(path)
128
92
  http_method = http_method.to_sym.downcase
129
93
 
@@ -133,15 +97,25 @@ module Hubspot
133
97
 
134
98
  update_params_for_auth! header_params, query_params, opts[:auth_names]
135
99
 
100
+ # set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
101
+ _verify_ssl_host = @config.verify_ssl_host ? 2 : 0
102
+
136
103
  req_opts = {
137
104
  :method => http_method,
138
105
  :headers => header_params,
139
106
  :params => query_params,
140
107
  :params_encoding => @config.params_encoding,
141
108
  :timeout => @config.timeout,
109
+ :ssl_verifypeer => @config.verify_ssl,
110
+ :ssl_verifyhost => _verify_ssl_host,
111
+ :sslcert => @config.cert_file,
112
+ :sslkey => @config.key_file,
142
113
  :verbose => @config.debugging
143
114
  }
144
115
 
116
+ # set custom cert, if provided
117
+ req_opts[:cainfo] = @config.ssl_ca_cert if @config.ssl_ca_cert
118
+
145
119
  if [:post, :patch, :put, :delete].include?(http_method)
146
120
  req_body = build_request_body(header_params, form_params, opts[:body])
147
121
  req_opts.update :body => req_body
@@ -149,10 +123,8 @@ module Hubspot
149
123
  @config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
150
124
  end
151
125
  end
152
- request.headers = header_params
153
- request.body = req_body
154
- request.url url
155
- request.params = query_params
126
+
127
+ request = Typhoeus::Request.new(url, req_opts)
156
128
  download_file(request) if opts[:return_type] == 'File'
157
129
  request
158
130
  end
@@ -165,17 +137,13 @@ module Hubspot
165
137
  # @return [String] HTTP body data in the form of string
166
138
  def build_request_body(header_params, form_params, body)
167
139
  # http form
168
- if header_params['Content-Type'] == 'application/x-www-form-urlencoded'
169
- data = URI.encode_www_form(form_params)
170
- elsif header_params['Content-Type'] == 'multipart/form-data'
140
+ if header_params['Content-Type'] == 'application/x-www-form-urlencoded' ||
141
+ header_params['Content-Type'] == 'multipart/form-data'
171
142
  data = {}
172
143
  form_params.each do |key, value|
173
144
  case value
174
- when ::File, ::Tempfile
175
- # TODO hardcode to application/octet-stream, need better way to detect content type
176
- data[key] = Faraday::UploadIO.new(value.path, 'application/octet-stream', value.path)
177
- when ::Array, nil
178
- # let Faraday handle Array and nil parameters
145
+ when ::File, ::Array, nil
146
+ # let typhoeus handle File, Array and nil parameters
179
147
  data[key] = value
180
148
  else
181
149
  data[key] = value.to_s
@@ -303,11 +271,13 @@ module Hubspot
303
271
  tempfile.write(chunk)
304
272
  end
305
273
  request.on_complete do |response|
306
- tempfile.close if tempfile
307
- @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
308
- "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
309
- "will be deleted automatically with GC. It's also recommended to delete the temp file "\
310
- "explicitly with `tempfile.delete`"
274
+ if tempfile
275
+ tempfile.close
276
+ @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
277
+ "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
278
+ "will be deleted automatically with GC. It's also recommended to delete the temp file "\
279
+ "explicitly with `tempfile.delete`"
280
+ end
311
281
  end
312
282
  end
313
283