hubspot-api-client 10.0.1 → 11.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (226) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/Gemfile.lock +4 -4
  4. data/README.md +4 -0
  5. data/lib/hubspot/codegen/cms/audit-logs/api/{default_api.rb → audit_logs_api.rb} +3 -3
  6. data/lib/hubspot/codegen/cms/blogs/authors/api/{default_api.rb → author_api.rb} +28 -28
  7. data/lib/hubspot/codegen/cms/blogs/blog-posts/api/{default_api.rb → blog_post_api.rb} +62 -62
  8. data/lib/hubspot/codegen/cms/blogs/tags/api/{default_api.rb → tag_api.rb} +28 -28
  9. data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +2 -2
  10. data/lib/hubspot/codegen/cms/domains/configuration.rb +0 -7
  11. data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +102 -102
  12. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +21 -21
  13. data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +100 -108
  14. data/lib/hubspot/codegen/cms/hubdb/api_client.rb +1 -1
  15. data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
  16. data/lib/hubspot/codegen/cms/hubdb/configuration.rb +1 -1
  17. data/lib/hubspot/codegen/cms/hubdb/models/{batch_input_hub_db_table_row_v3.rb → batch_input_hub_db_table_row_v3_request.rb} +5 -5
  18. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_json_node.rb +1 -1
  19. data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +1 -1
  20. data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +1 -1
  21. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb +1 -1
  22. data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +1 -1
  23. data/lib/hubspot/codegen/cms/hubdb/models/column.rb +1 -1
  24. data/lib/hubspot/codegen/cms/hubdb/models/{column_input.rb → column_request.rb} +71 -47
  25. data/lib/hubspot/codegen/cms/hubdb/models/error.rb +1 -1
  26. data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +1 -1
  27. data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +1 -1
  28. data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +1 -1
  29. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +4 -9
  30. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +12 -27
  31. data/lib/hubspot/codegen/cms/hubdb/models/{hub_db_table_row_v3_input.rb → hub_db_table_row_v3_request.rb} +25 -20
  32. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +1 -1
  33. data/lib/hubspot/codegen/cms/hubdb/models/{hub_db_table_v3_input.rb → hub_db_table_v3_request.rb} +53 -53
  34. data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +1 -1
  35. data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +1 -1
  36. data/lib/hubspot/codegen/cms/hubdb/models/option.rb +1 -1
  37. data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +1 -1
  38. data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +1 -1
  39. data/lib/hubspot/codegen/cms/performance/api/{default_api.rb → public_performance_api.rb} +5 -5
  40. data/lib/hubspot/codegen/cms/site-search/api/{default_api.rb → public_api.rb} +7 -7
  41. data/lib/hubspot/codegen/cms/site-search/models/search_hit_field.rb +15 -15
  42. data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +80 -0
  43. data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +214 -0
  44. data/lib/hubspot/codegen/communication_preferences/api_client.rb +404 -0
  45. data/lib/hubspot/codegen/communication_preferences/api_error.rb +59 -0
  46. data/lib/hubspot/codegen/communication_preferences/configuration.rb +254 -0
  47. data/lib/hubspot/codegen/communication_preferences/models/error.rb +290 -0
  48. data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +256 -0
  49. data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +372 -0
  50. data/lib/hubspot/codegen/communication_preferences/models/public_subscription_statuses_response.rb +231 -0
  51. data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +283 -0
  52. data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +339 -0
  53. data/lib/hubspot/codegen/communication_preferences/models/subscription_definitions_response.rb +216 -0
  54. data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +0 -8
  55. data/lib/hubspot/codegen/crm/companies/api/search_api.rb +0 -4
  56. data/lib/hubspot/codegen/crm/companies/models/filter.rb +3 -2
  57. data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +0 -8
  58. data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +150 -0
  59. data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +0 -4
  60. data/lib/hubspot/codegen/crm/contacts/models/filter.rb +3 -2
  61. data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +0 -8
  62. data/lib/hubspot/codegen/crm/deals/api/search_api.rb +0 -4
  63. data/lib/hubspot/codegen/crm/deals/models/filter.rb +3 -2
  64. data/lib/hubspot/codegen/crm/imports/api/core_api.rb +2 -2
  65. data/lib/hubspot/codegen/crm/imports/api/{default_api.rb → public_imports_api.rb} +8 -8
  66. data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +4 -4
  67. data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +0 -8
  68. data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +0 -4
  69. data/lib/hubspot/codegen/crm/line_items/models/filter.rb +3 -2
  70. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +0 -8
  71. data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +162 -0
  72. data/lib/hubspot/codegen/crm/objects/api/search_api.rb +0 -4
  73. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +0 -2
  74. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/search_api.rb +0 -4
  75. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +3 -2
  76. data/lib/hubspot/codegen/crm/objects/models/filter.rb +3 -2
  77. data/lib/hubspot/codegen/crm/owners/api/{default_api.rb → owners_api.rb} +6 -6
  78. data/lib/hubspot/codegen/crm/products/api/batch_api.rb +0 -8
  79. data/lib/hubspot/codegen/crm/products/api/search_api.rb +0 -4
  80. data/lib/hubspot/codegen/crm/products/models/filter.rb +3 -2
  81. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +0 -2
  82. data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +0 -4
  83. data/lib/hubspot/codegen/crm/quotes/models/filter.rb +3 -2
  84. data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +3 -3
  85. data/lib/hubspot/codegen/crm/schemas/api/{default_api.rb → public_object_schemas_api.rb} +4 -4
  86. data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +0 -8
  87. data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +0 -4
  88. data/lib/hubspot/codegen/crm/tickets/models/filter.rb +3 -2
  89. data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +3 -3
  90. data/lib/hubspot/codegen/crm/timeline/models/{collection_response_timeline_event_template.rb → collection_response_timeline_event_template_no_paging.rb} +7 -17
  91. data/lib/hubspot/codegen/files/files/api/files_api.rb +12 -6
  92. data/lib/hubspot/codegen/files/files/api/folders_api.rb +12 -0
  93. data/lib/hubspot/codegen/files/files/models/collection_response_file.rb +1 -1
  94. data/lib/hubspot/codegen/files/files/models/error_category.rb +18 -18
  95. data/lib/hubspot/codegen/marketing/transactional/api/{default_api.rb → public_smtp_tokens_api.rb} +14 -74
  96. data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +86 -0
  97. data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +82 -0
  98. data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +140 -0
  99. data/lib/hubspot/codegen/oauth/api/tokens_api.rb +100 -0
  100. data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +33 -1
  101. data/lib/hubspot/codegen/oauth/models/token_response_if.rb +27 -4
  102. data/lib/hubspot/version.rb +1 -1
  103. data/lib/hubspot-api-client.rb +16 -3
  104. data/pkg/hubspot-api-client-10.1.1.gem +0 -0
  105. data/spec/codegen/cms/audit-logs/api/{default_api_spec.rb → audit_logs_api_spec.rb} +6 -6
  106. data/spec/codegen/cms/blogs/authors/api/{default_api_spec.rb → author_api_spec.rb} +6 -6
  107. data/spec/codegen/cms/blogs/blog-posts/api/{default_api_spec.rb → blog_post_api_spec.rb} +6 -6
  108. data/spec/codegen/cms/blogs/tags/api/{default_api_spec.rb → tag_api_spec.rb} +6 -6
  109. data/spec/codegen/cms/hubdb/api/rows_api_spec.rb +18 -18
  110. data/spec/codegen/cms/hubdb/api/rows_batch_api_spec.rb +4 -4
  111. data/spec/codegen/cms/hubdb/api/tables_api_spec.rb +35 -36
  112. data/spec/codegen/cms/hubdb/models/{batch_input_hub_db_table_row_v3_spec.rb → batch_input_hub_db_table_row_v3_request_spec.rb} +7 -7
  113. data/spec/codegen/cms/hubdb/models/batch_input_json_node_spec.rb +1 -1
  114. data/spec/codegen/cms/hubdb/models/batch_input_string_spec.rb +1 -1
  115. data/spec/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors_spec.rb +1 -1
  116. data/spec/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging_spec.rb +1 -1
  117. data/spec/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging_spec.rb +1 -1
  118. data/spec/codegen/cms/hubdb/models/{column_input_spec.rb → column_request_spec.rb} +14 -22
  119. data/spec/codegen/cms/hubdb/models/column_spec.rb +1 -1
  120. data/spec/codegen/cms/hubdb/models/error_detail_spec.rb +1 -1
  121. data/spec/codegen/cms/hubdb/models/error_spec.rb +1 -1
  122. data/spec/codegen/cms/hubdb/models/foreign_id_spec.rb +1 -1
  123. data/spec/codegen/cms/hubdb/models/forward_paging_spec.rb +1 -1
  124. data/spec/codegen/cms/hubdb/models/hub_db_table_clone_request_spec.rb +1 -1
  125. data/spec/codegen/cms/hubdb/models/{hub_db_table_row_v3_input_spec.rb → hub_db_table_row_v3_request_spec.rb} +10 -10
  126. data/spec/codegen/cms/hubdb/models/hub_db_table_row_v3_spec.rb +7 -1
  127. data/spec/codegen/cms/hubdb/models/{hub_db_table_v3_input_spec.rb → hub_db_table_v3_request_spec.rb} +13 -13
  128. data/spec/codegen/cms/hubdb/models/hub_db_table_v3_spec.rb +1 -1
  129. data/spec/codegen/cms/hubdb/models/import_result_spec.rb +1 -1
  130. data/spec/codegen/cms/hubdb/models/next_page_spec.rb +1 -1
  131. data/spec/codegen/cms/hubdb/models/option_spec.rb +1 -1
  132. data/spec/codegen/cms/hubdb/models/simple_user_spec.rb +1 -1
  133. data/spec/codegen/cms/hubdb/models/standard_error_spec.rb +1 -1
  134. data/spec/codegen/cms/performance/api/{default_api_spec.rb → public_performance_api_spec.rb} +6 -6
  135. data/spec/codegen/cms/site-search/api/{default_api_spec.rb → public_api_spec.rb} +6 -6
  136. data/spec/codegen/cms/site-search/models/search_hit_field_spec.rb +2 -2
  137. data/spec/codegen/communication_preferences/api/definition_api_spec.rb +46 -0
  138. data/spec/codegen/communication_preferences/api/status_api_spec.rb +71 -0
  139. data/spec/codegen/communication_preferences/models/error_detail_spec.rb +65 -0
  140. data/spec/codegen/communication_preferences/models/error_spec.rb +77 -0
  141. data/spec/codegen/communication_preferences/models/public_subscription_status_spec.rb +101 -0
  142. data/spec/codegen/communication_preferences/models/public_subscription_statuses_response_spec.rb +47 -0
  143. data/spec/codegen/communication_preferences/models/public_update_subscription_status_request_spec.rb +63 -0
  144. data/spec/codegen/communication_preferences/models/subscription_definition_spec.rb +95 -0
  145. data/spec/codegen/communication_preferences/models/subscription_definitions_response_spec.rb +41 -0
  146. data/spec/codegen/crm/companies/api/batch_api_spec.rb +0 -4
  147. data/spec/codegen/crm/companies/api/search_api_spec.rb +0 -2
  148. data/spec/codegen/crm/companies/models/filter_spec.rb +1 -1
  149. data/spec/codegen/crm/contacts/api/batch_api_spec.rb +0 -4
  150. data/spec/codegen/crm/contacts/api/gdpr_api_spec.rb +59 -0
  151. data/spec/codegen/crm/contacts/api/search_api_spec.rb +0 -2
  152. data/spec/codegen/crm/contacts/models/filter_spec.rb +1 -1
  153. data/spec/codegen/crm/deals/api/batch_api_spec.rb +0 -4
  154. data/spec/codegen/crm/deals/api/search_api_spec.rb +0 -2
  155. data/spec/codegen/crm/deals/models/filter_spec.rb +1 -1
  156. data/spec/codegen/crm/extensions/calling/api/settings_api_spec.rb +2 -2
  157. data/spec/codegen/crm/extensions/calling/models/settings_patch_request_spec.rb +6 -0
  158. data/spec/codegen/crm/extensions/calling/models/settings_request_spec.rb +6 -0
  159. data/spec/codegen/crm/extensions/calling/models/settings_response_spec.rb +6 -0
  160. data/spec/codegen/crm/extensions/cards/api/cards_api_spec.rb +2 -2
  161. data/spec/codegen/crm/imports/api/{default_api_spec.rb → public_imports_api_spec.rb} +8 -8
  162. data/spec/codegen/crm/imports/models/public_import_error_spec.rb +2 -2
  163. data/spec/codegen/crm/line_items/api/batch_api_spec.rb +0 -4
  164. data/spec/codegen/crm/line_items/api/search_api_spec.rb +0 -2
  165. data/spec/codegen/crm/line_items/models/filter_spec.rb +1 -1
  166. data/spec/codegen/crm/objects/api/batch_api_spec.rb +0 -4
  167. data/spec/codegen/crm/objects/api/gdpr_api_spec.rb +61 -0
  168. data/spec/codegen/crm/objects/api/search_api_spec.rb +0 -2
  169. data/spec/codegen/crm/objects/feedback_submissions/api/batch_api_spec.rb +0 -1
  170. data/spec/codegen/crm/objects/feedback_submissions/api/search_api_spec.rb +0 -2
  171. data/spec/codegen/crm/objects/feedback_submissions/models/filter_spec.rb +1 -1
  172. data/spec/codegen/crm/objects/models/filter_spec.rb +1 -1
  173. data/spec/codegen/crm/owners/api/{default_api_spec.rb → owners_api_spec.rb} +6 -6
  174. data/spec/codegen/crm/products/api/batch_api_spec.rb +0 -4
  175. data/spec/codegen/crm/products/api/search_api_spec.rb +0 -2
  176. data/spec/codegen/crm/products/models/filter_spec.rb +1 -1
  177. data/spec/codegen/crm/quotes/api/batch_api_spec.rb +0 -1
  178. data/spec/codegen/crm/quotes/api/search_api_spec.rb +0 -2
  179. data/spec/codegen/crm/quotes/models/filter_spec.rb +1 -1
  180. data/spec/codegen/crm/schemas/api/{default_api_spec.rb → public_object_schemas_api_spec.rb} +6 -6
  181. data/spec/codegen/crm/tickets/api/batch_api_spec.rb +0 -4
  182. data/spec/codegen/crm/tickets/api/search_api_spec.rb +0 -2
  183. data/spec/codegen/crm/tickets/models/filter_spec.rb +1 -1
  184. data/spec/codegen/crm/timeline/api/templates_api_spec.rb +1 -1
  185. data/spec/codegen/crm/timeline/models/{collection_response_timeline_event_template_spec.rb → collection_response_timeline_event_template_no_paging_spec.rb} +6 -12
  186. data/spec/codegen/files/files/api/files_api_spec.rb +4 -2
  187. data/spec/codegen/files/files/api/folders_api_spec.rb +4 -0
  188. data/spec/codegen/files/files/models/error_category_spec.rb +6 -6
  189. data/spec/codegen/marketing/transactional/api/{default_api_spec.rb → public_smtp_tokens_api_spec.rb} +6 -18
  190. data/spec/codegen/marketing/transactional/api/single_send_api_spec.rb +47 -0
  191. data/spec/codegen/oauth/api/access_tokens_api_spec.rb +45 -0
  192. data/spec/codegen/oauth/api/{default_api_spec.rb → refresh_tokens_api_spec.rb} +6 -31
  193. data/spec/codegen/oauth/api/tokens_api_spec.rb +50 -0
  194. data/spec/codegen/oauth/models/access_token_info_response_spec.rb +12 -0
  195. data/spec/codegen/oauth/models/token_response_if_spec.rb +12 -0
  196. data/spec/features/cms/audit-logs/{default_api_spec.rb → audit_logs_api_spec.rb} +4 -4
  197. data/spec/features/cms/blogs/authors/{default_api_spec.rb → author_api_spec.rb} +28 -28
  198. data/spec/features/cms/blogs/blog-posts/{default_api_spec.rb → blog_post_api_spec.rb} +2 -2
  199. data/spec/features/cms/blogs/tags/{default_api_spec.rb → tag_api_spec.rb} +2 -2
  200. data/spec/features/cms/hubdb/tables_api_spec.rb +1 -1
  201. data/spec/features/cms/perfomance/public_perfomance_api_spec.rb +8 -0
  202. data/spec/features/cms/site-search/{default_api_spec.rb → public_api_spec.rb} +2 -2
  203. data/spec/features/communication_preferences/definition_api_spec.rb +7 -0
  204. data/spec/features/communication_preferences/status_api_spec.rb +9 -0
  205. data/spec/features/crm/contacts/gdpr_api_spec.rb +8 -0
  206. data/spec/features/crm/objects/gdpr_api_spec.rb +8 -0
  207. data/spec/features/crm/owners/{default_api_spec.rb → owners_api_spec.rb} +2 -2
  208. data/spec/features/crm/schemas/public_object_schemas_api_spec.rb +7 -0
  209. data/spec/features/marketing/transactional/{default_api_spec.rb → public_smtp_tokens_api_spec.rb} +2 -3
  210. data/spec/features/marketing/transactional/single_send_api_spec.rb +7 -0
  211. data/spec/features/oauth/access_tokens_api_spec.rb +7 -0
  212. data/spec/features/oauth/refresh_tokens_api_spec.rb +8 -0
  213. data/spec/features/oauth/tokens_api_spec.rb +7 -0
  214. metadata +130 -82
  215. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_live_input.rb +0 -241
  216. data/lib/hubspot/codegen/crm/timeline/models/next_page.rb +0 -224
  217. data/lib/hubspot/codegen/crm/timeline/models/paging.rb +0 -219
  218. data/lib/hubspot/codegen/crm/timeline/models/previous_page.rb +0 -224
  219. data/lib/hubspot/codegen/oauth/api/default_api.rb +0 -270
  220. data/spec/codegen/cms/hubdb/models/hub_db_table_v3_live_input_spec.rb +0 -59
  221. data/spec/codegen/crm/timeline/models/next_page_spec.rb +0 -47
  222. data/spec/codegen/crm/timeline/models/paging_spec.rb +0 -47
  223. data/spec/codegen/crm/timeline/models/previous_page_spec.rb +0 -47
  224. data/spec/features/cms/perfomance/default_api_spec.rb +0 -8
  225. data/spec/features/crm/schemas/default_api_spec.rb +0 -7
  226. data/spec/features/oauth/default_api_spec.rb +0 -10
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #HubDB endpoints
3
3
 
4
- #HubDB is a relational data store that presents data as rows, columns, and cells in a table, much like a spreadsheet. HubDB tables can be added or modified [in the HubSpot CMS](https://knowledge.hubspot.com/cos-general/how-to-edit-hubdb-tables), but you can also use the API endpoints documented here. For more information on HubDB tables and using their data on a HubSpot site, see the [CMS developers site](https://designers.hubspot.com/docs/tools/hubdb). You can also see the [documentation for dynamic pages](https://designers.hubspot.com/docs/tutorials/how-to-build-dynamic-pages-with-hubdb) for more details about the `useForPages` field. HubDB tables support `draft` and `live` versions and you can publish and unpublish the live version. This allows you to update data in the table, either for testing or to allow for a manual approval process, without affecting any live pages using the existing data. Draft data can be reviewed, pushed to live version, and published by a user working in HubSpot or published via the API. Draft data can also be discarded, allowing users to go back to the live version of the data without disrupting it. If a table is set to be `allowed for public access`, you can access the published version of the table and rows without any authentication by specifying the portal id via the query parameter `portalId`.
4
+ #HubDB is a relational data store that presents data as rows, columns, and cells in a table, much like a spreadsheet. HubDB tables can be added or modified [in the HubSpot CMS](https://knowledge.hubspot.com/cos-general/how-to-edit-hubdb-tables), but you can also use the API endpoints documented here. For more information on HubDB tables and using their data on a HubSpot site, see the [CMS developers site](https://designers.hubspot.com/docs/tools/hubdb). You can also see the [documentation for dynamic pages](https://designers.hubspot.com/docs/tutorials/how-to-build-dynamic-pages-with-hubdb) for more details about the `useForPages` field. HubDB tables support `draft` and `published` versions. This allows you to update data in the table, either for testing or to allow for a manual approval process, without affecting any live pages using the existing data. Draft data can be reviewed, and published by a user working in HubSpot or published via the API. Draft data can also be discarded, allowing users to go back to the published version of the data without disrupting it. If a table is set to be `allowed for public access`, you can access the published version of the table and rows without any authentication by specifying the portal id via the query parameter `portalId`.
5
5
 
6
6
  The version of the OpenAPI document: v3
7
7
 
@@ -94,21 +94,21 @@ module Hubspot
94
94
  # Create rows in batch
95
95
  # Creates rows in the `draft` version of the specified table, given an array of row objects. See the overview section for more details with an example.
96
96
  # @param table_id_or_name [String] The ID or name of the table
97
- # @param batch_input_hub_db_table_row_v3 [BatchInputHubDbTableRowV3] JSON array of row objects
97
+ # @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects
98
98
  # @param [Hash] opts the optional parameters
99
99
  # @return [Object]
100
- def batch_create_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3, opts = {})
101
- data, _status_code, _headers = batch_create_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3, opts)
100
+ def batch_create_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
101
+ data, _status_code, _headers = batch_create_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts)
102
102
  data
103
103
  end
104
104
 
105
105
  # Create rows in batch
106
106
  # Creates rows in the `draft` version of the specified table, given an array of row objects. See the overview section for more details with an example.
107
107
  # @param table_id_or_name [String] The ID or name of the table
108
- # @param batch_input_hub_db_table_row_v3 [BatchInputHubDbTableRowV3] JSON array of row objects
108
+ # @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects
109
109
  # @param [Hash] opts the optional parameters
110
110
  # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
111
- def batch_create_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3, opts = {})
111
+ def batch_create_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
112
112
  if @api_client.config.debugging
113
113
  @api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_create_draft_table_rows ...'
114
114
  end
@@ -116,9 +116,9 @@ module Hubspot
116
116
  if @api_client.config.client_side_validation && table_id_or_name.nil?
117
117
  fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.batch_create_draft_table_rows"
118
118
  end
119
- # verify the required parameter 'batch_input_hub_db_table_row_v3' is set
120
- if @api_client.config.client_side_validation && batch_input_hub_db_table_row_v3.nil?
121
- fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3' when calling RowsBatchApi.batch_create_draft_table_rows"
119
+ # verify the required parameter 'batch_input_hub_db_table_row_v3_request' is set
120
+ if @api_client.config.client_side_validation && batch_input_hub_db_table_row_v3_request.nil?
121
+ fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3_request' when calling RowsBatchApi.batch_create_draft_table_rows"
122
122
  end
123
123
  # resource path
124
124
  local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/create'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
@@ -137,7 +137,7 @@ module Hubspot
137
137
  form_params = opts[:form_params] || {}
138
138
 
139
139
  # http body (model)
140
- post_body = opts[:body] || @api_client.object_to_http_body(batch_input_hub_db_table_row_v3)
140
+ post_body = opts[:body] || @api_client.object_to_http_body(batch_input_hub_db_table_row_v3_request)
141
141
 
142
142
  # return_type
143
143
  return_type = opts[:return_type] || 'Object'
@@ -302,7 +302,7 @@ module Hubspot
302
302
  end
303
303
 
304
304
  # Get a set of rows
305
- # Returns rows in the `live` version of the specified table, given a set of row ids. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.
305
+ # Returns rows in the `published` version of the specified table, given a set of row ids. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.
306
306
  # @param table_id_or_name [String] The ID or name of the table to query.
307
307
  # @param batch_input_string [BatchInputString] The JSON array of row ids
308
308
  # @param [Hash] opts the optional parameters
@@ -313,7 +313,7 @@ module Hubspot
313
313
  end
314
314
 
315
315
  # Get a set of rows
316
- # Returns rows in the &#x60;live&#x60; version of the specified table, given a set of row ids. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.
316
+ # Returns rows in the &#x60;published&#x60; version of the specified table, given a set of row ids. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.
317
317
  # @param table_id_or_name [String] The ID or name of the table to query.
318
318
  # @param batch_input_string [BatchInputString] The JSON array of row ids
319
319
  # @param [Hash] opts the optional parameters
@@ -374,21 +374,21 @@ module Hubspot
374
374
  # Replace rows in batch in draft table
375
375
  # Replaces multiple rows as a batch in the `draft` version of the table. See the endpoint `PUT /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.
376
376
  # @param table_id_or_name [String] The ID or name of the table
377
- # @param batch_input_hub_db_table_row_v3 [BatchInputHubDbTableRowV3] JSON array of row objects.
377
+ # @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects.
378
378
  # @param [Hash] opts the optional parameters
379
379
  # @return [Object]
380
- def batch_replace_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3, opts = {})
381
- data, _status_code, _headers = batch_replace_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3, opts)
380
+ def batch_replace_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
381
+ data, _status_code, _headers = batch_replace_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts)
382
382
  data
383
383
  end
384
384
 
385
385
  # Replace rows in batch in draft table
386
386
  # Replaces multiple rows as a batch in the &#x60;draft&#x60; version of the table. See the endpoint &#x60;PUT /tables/{tableIdOrName}/rows/{rowId}/draft&#x60; for details on updating a single row.
387
387
  # @param table_id_or_name [String] The ID or name of the table
388
- # @param batch_input_hub_db_table_row_v3 [BatchInputHubDbTableRowV3] JSON array of row objects.
388
+ # @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects.
389
389
  # @param [Hash] opts the optional parameters
390
390
  # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
391
- def batch_replace_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3, opts = {})
391
+ def batch_replace_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
392
392
  if @api_client.config.debugging
393
393
  @api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_replace_draft_table_rows ...'
394
394
  end
@@ -396,9 +396,9 @@ module Hubspot
396
396
  if @api_client.config.client_side_validation && table_id_or_name.nil?
397
397
  fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.batch_replace_draft_table_rows"
398
398
  end
399
- # verify the required parameter 'batch_input_hub_db_table_row_v3' is set
400
- if @api_client.config.client_side_validation && batch_input_hub_db_table_row_v3.nil?
401
- fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3' when calling RowsBatchApi.batch_replace_draft_table_rows"
399
+ # verify the required parameter 'batch_input_hub_db_table_row_v3_request' is set
400
+ if @api_client.config.client_side_validation && batch_input_hub_db_table_row_v3_request.nil?
401
+ fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3_request' when calling RowsBatchApi.batch_replace_draft_table_rows"
402
402
  end
403
403
  # resource path
404
404
  local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/replace'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
@@ -417,7 +417,7 @@ module Hubspot
417
417
  form_params = opts[:form_params] || {}
418
418
 
419
419
  # http body (model)
420
- post_body = opts[:body] || @api_client.object_to_http_body(batch_input_hub_db_table_row_v3)
420
+ post_body = opts[:body] || @api_client.object_to_http_body(batch_input_hub_db_table_row_v3_request)
421
421
 
422
422
  # return_type
423
423
  return_type = opts[:return_type] || 'Object'