hubspot-api-client 16.4.0 → 17.0.0.pre.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (310) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +77 -1
  3. data/Gemfile.lock +1 -1
  4. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +66 -66
  5. data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +9 -9
  6. data/lib/hubspot/codegen/cms/hubdb/models/{batch_input_json_node.rb → batch_input_hub_db_table_row_v3_batch_update_request.rb} +4 -4
  7. data/lib/hubspot/codegen/cms/hubdb/models/column.rb +52 -44
  8. data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +2 -2
  9. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +29 -20
  10. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_batch_update_request.rb +285 -0
  11. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +13 -4
  12. data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +60 -52
  13. data/lib/hubspot/codegen/cms/hubdb/models/option.rb +10 -1
  14. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +9 -9
  15. data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +9 -9
  16. data/lib/hubspot/codegen/crm/companies/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  17. data/lib/hubspot/codegen/crm/companies/models/filter.rb +10 -1
  18. data/lib/hubspot/codegen/crm/companies/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  19. data/lib/hubspot/codegen/crm/companies/models/public_object_id.rb +228 -0
  20. data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +246 -0
  21. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +9 -9
  22. data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +9 -9
  23. data/lib/hubspot/codegen/crm/contacts/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  24. data/lib/hubspot/codegen/crm/contacts/models/filter.rb +10 -1
  25. data/lib/hubspot/codegen/crm/contacts/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  26. data/lib/hubspot/codegen/crm/contacts/models/public_object_id.rb +228 -0
  27. data/lib/hubspot/codegen/crm/{deals/models/multi_associated_object_with_label.rb → contacts/models/simple_public_object_input_for_create.rb} +28 -26
  28. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +9 -9
  29. data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +9 -9
  30. data/lib/hubspot/codegen/crm/deals/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  31. data/lib/hubspot/codegen/crm/deals/models/filter.rb +10 -1
  32. data/lib/hubspot/codegen/crm/deals/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  33. data/lib/hubspot/codegen/crm/{properties/models/paging.rb → deals/models/public_object_id.rb} +19 -14
  34. data/lib/hubspot/codegen/crm/{tickets/models/multi_associated_object_with_label.rb → deals/models/simple_public_object_input_for_create.rb} +28 -26
  35. data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +9 -9
  36. data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +9 -9
  37. data/lib/hubspot/codegen/crm/line_items/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  38. data/lib/hubspot/codegen/crm/line_items/models/filter.rb +10 -1
  39. data/lib/hubspot/codegen/crm/line_items/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  40. data/lib/hubspot/codegen/crm/line_items/models/public_object_id.rb +228 -0
  41. data/lib/hubspot/codegen/crm/line_items/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  42. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +9 -9
  43. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +9 -9
  44. data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +9 -9
  45. data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +9 -9
  46. data/lib/hubspot/codegen/crm/objects/calls/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  47. data/lib/hubspot/codegen/crm/objects/calls/models/filter.rb +10 -1
  48. data/lib/hubspot/codegen/crm/objects/calls/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  49. data/lib/hubspot/codegen/crm/objects/calls/models/public_object_id.rb +230 -0
  50. data/lib/hubspot/codegen/crm/objects/calls/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  51. data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +9 -9
  52. data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +9 -9
  53. data/lib/hubspot/codegen/crm/objects/emails/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  54. data/lib/hubspot/codegen/crm/objects/emails/models/filter.rb +10 -1
  55. data/lib/hubspot/codegen/crm/objects/emails/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  56. data/lib/hubspot/codegen/crm/objects/emails/models/public_object_id.rb +230 -0
  57. data/lib/hubspot/codegen/crm/objects/emails/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  58. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +9 -9
  59. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +9 -9
  60. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  61. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +10 -1
  62. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  63. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_id.rb +230 -0
  64. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  65. data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +9 -9
  66. data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +9 -9
  67. data/lib/hubspot/codegen/crm/objects/meetings/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  68. data/lib/hubspot/codegen/crm/objects/meetings/models/filter.rb +10 -1
  69. data/lib/hubspot/codegen/crm/objects/meetings/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  70. data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_id.rb +230 -0
  71. data/lib/hubspot/codegen/crm/objects/meetings/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  72. data/lib/hubspot/codegen/crm/{line_items/models/association_spec_with_label.rb → objects/models/association_spec.rb} +33 -42
  73. data/lib/hubspot/codegen/crm/objects/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  74. data/lib/hubspot/codegen/crm/objects/models/filter.rb +10 -1
  75. data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +244 -0
  76. data/lib/hubspot/codegen/crm/{associations/models/public_association_definiton.rb → objects/models/public_object_id.rb} +11 -25
  77. data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +246 -0
  78. data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +9 -9
  79. data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +9 -9
  80. data/lib/hubspot/codegen/crm/objects/notes/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  81. data/lib/hubspot/codegen/crm/objects/notes/models/filter.rb +10 -1
  82. data/lib/hubspot/codegen/crm/objects/notes/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  83. data/lib/hubspot/codegen/crm/objects/notes/models/public_object_id.rb +230 -0
  84. data/lib/hubspot/codegen/crm/objects/notes/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  85. data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +9 -9
  86. data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +9 -9
  87. data/lib/hubspot/codegen/crm/objects/postal_mail/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  88. data/lib/hubspot/codegen/crm/objects/postal_mail/models/filter.rb +10 -1
  89. data/lib/hubspot/codegen/crm/objects/postal_mail/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  90. data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_object_id.rb +230 -0
  91. data/lib/hubspot/codegen/crm/objects/postal_mail/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  92. data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +9 -9
  93. data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +9 -9
  94. data/lib/hubspot/codegen/crm/objects/tasks/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  95. data/lib/hubspot/codegen/crm/objects/tasks/models/filter.rb +10 -1
  96. data/lib/hubspot/codegen/crm/objects/tasks/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  97. data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_id.rb +230 -0
  98. data/lib/hubspot/codegen/crm/objects/tasks/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  99. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +9 -9
  100. data/lib/hubspot/codegen/crm/products/api/batch_api.rb +9 -9
  101. data/lib/hubspot/codegen/crm/products/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  102. data/lib/hubspot/codegen/crm/products/models/filter.rb +10 -1
  103. data/lib/hubspot/codegen/crm/products/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  104. data/lib/hubspot/codegen/crm/products/models/public_object_id.rb +228 -0
  105. data/lib/hubspot/codegen/crm/products/models/{multi_associated_object_with_label.rb → simple_public_object_input_for_create.rb} +25 -23
  106. data/lib/hubspot/codegen/crm/properties/api/core_api.rb +9 -3
  107. data/lib/hubspot/codegen/crm/properties/api/groups_api.rb +3 -3
  108. data/lib/hubspot/codegen/crm/properties/models/batch_read_input_property_name.rb +18 -18
  109. data/lib/hubspot/codegen/crm/properties/models/batch_response_property.rb +1 -21
  110. data/lib/hubspot/codegen/crm/properties/models/batch_response_property_with_errors.rb +346 -0
  111. data/lib/hubspot/codegen/crm/properties/models/{collection_response_property_group.rb → collection_response_property_group_no_paging.rb} +7 -16
  112. data/lib/hubspot/codegen/crm/properties/models/{collection_response_property.rb → collection_response_property_no_paging.rb} +7 -16
  113. data/lib/hubspot/codegen/crm/properties/models/error_category.rb +20 -20
  114. data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +9 -9
  115. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +9 -9
  116. data/lib/hubspot/codegen/crm/quotes/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  117. data/lib/hubspot/codegen/crm/quotes/models/filter.rb +10 -1
  118. data/lib/hubspot/codegen/crm/quotes/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  119. data/lib/hubspot/codegen/crm/quotes/models/public_object_id.rb +228 -0
  120. data/lib/hubspot/codegen/crm/{contacts/models/multi_associated_object_with_label.rb → quotes/models/simple_public_object_input_for_create.rb} +28 -26
  121. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +9 -9
  122. data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +9 -9
  123. data/lib/hubspot/codegen/crm/tickets/models/{batch_input_simple_public_object_input.rb → batch_input_simple_public_object_input_for_create.rb} +4 -4
  124. data/lib/hubspot/codegen/crm/tickets/models/filter.rb +10 -1
  125. data/lib/hubspot/codegen/crm/tickets/models/{collection_response_multi_associated_object_with_label_forward_paging.rb → public_associations_for_object.rb} +26 -21
  126. data/lib/hubspot/codegen/crm/tickets/models/public_object_id.rb +228 -0
  127. data/lib/hubspot/codegen/crm/{companies/models/multi_associated_object_with_label.rb → tickets/models/simple_public_object_input_for_create.rb} +28 -26
  128. data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +7 -7
  129. data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +14 -14
  130. data/lib/hubspot/codegen/oauth/api/tokens_api.rb +6 -6
  131. data/lib/hubspot/codegen/webhooks/models/error_category.rb +18 -18
  132. data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +2 -2
  133. data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +2 -2
  134. data/lib/hubspot/discovery/crm/companies/client.rb +0 -1
  135. data/lib/hubspot/discovery/crm/contacts/client.rb +0 -1
  136. data/lib/hubspot/discovery/crm/deals/client.rb +0 -1
  137. data/lib/hubspot/discovery/crm/line_items/client.rb +0 -1
  138. data/lib/hubspot/discovery/crm/objects/calls/client.rb +0 -1
  139. data/lib/hubspot/discovery/crm/objects/emails/client.rb +0 -1
  140. data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +0 -1
  141. data/lib/hubspot/discovery/crm/objects/meetings/client.rb +0 -1
  142. data/lib/hubspot/discovery/crm/objects/notes/client.rb +0 -1
  143. data/lib/hubspot/discovery/crm/objects/postal_mail/client.rb +0 -1
  144. data/lib/hubspot/discovery/crm/objects/tasks/client.rb +0 -1
  145. data/lib/hubspot/version.rb +1 -1
  146. data/spec/discovery/cms/hubdb/rows_batch_api_spec.rb +7 -7
  147. data/spec/discovery/oauth/access_tokens_api_spec.rb +1 -1
  148. data/spec/discovery/oauth/refresh_tokens_api_spec.rb +2 -2
  149. data/spec/discovery/oauth/tokens_api_spec.rb +1 -1
  150. metadata +162 -227
  151. data/lib/hubspot/codegen/crm/associations/models/collection_response_public_association_definiton.rb +0 -239
  152. data/lib/hubspot/codegen/crm/companies/api/associations_api.rb +0 -262
  153. data/lib/hubspot/codegen/crm/companies/models/association_spec_with_label.rb +0 -285
  154. data/lib/hubspot/codegen/crm/companies/models/labels_between_object_pair.rb +0 -286
  155. data/lib/hubspot/codegen/crm/contacts/api/associations_api.rb +0 -262
  156. data/lib/hubspot/codegen/crm/contacts/models/association_spec_with_label.rb +0 -285
  157. data/lib/hubspot/codegen/crm/contacts/models/labels_between_object_pair.rb +0 -286
  158. data/lib/hubspot/codegen/crm/deals/api/associations_api.rb +0 -262
  159. data/lib/hubspot/codegen/crm/deals/models/association_spec_with_label.rb +0 -285
  160. data/lib/hubspot/codegen/crm/deals/models/labels_between_object_pair.rb +0 -286
  161. data/lib/hubspot/codegen/crm/line_items/api/associations_api.rb +0 -262
  162. data/lib/hubspot/codegen/crm/line_items/models/labels_between_object_pair.rb +0 -286
  163. data/lib/hubspot/codegen/crm/objects/calls/api/associations_api.rb +0 -264
  164. data/lib/hubspot/codegen/crm/objects/calls/models/association_spec_with_label.rb +0 -287
  165. data/lib/hubspot/codegen/crm/objects/calls/models/labels_between_object_pair.rb +0 -288
  166. data/lib/hubspot/codegen/crm/objects/emails/api/associations_api.rb +0 -264
  167. data/lib/hubspot/codegen/crm/objects/emails/models/association_spec_with_label.rb +0 -287
  168. data/lib/hubspot/codegen/crm/objects/emails/models/labels_between_object_pair.rb +0 -288
  169. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +0 -264
  170. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/association_spec_with_label.rb +0 -287
  171. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/labels_between_object_pair.rb +0 -288
  172. data/lib/hubspot/codegen/crm/objects/meetings/api/associations_api.rb +0 -264
  173. data/lib/hubspot/codegen/crm/objects/meetings/models/association_spec_with_label.rb +0 -287
  174. data/lib/hubspot/codegen/crm/objects/meetings/models/labels_between_object_pair.rb +0 -288
  175. data/lib/hubspot/codegen/crm/objects/notes/api/associations_api.rb +0 -264
  176. data/lib/hubspot/codegen/crm/objects/notes/models/association_spec_with_label.rb +0 -287
  177. data/lib/hubspot/codegen/crm/objects/notes/models/labels_between_object_pair.rb +0 -288
  178. data/lib/hubspot/codegen/crm/objects/postal_mail/api/associations_api.rb +0 -264
  179. data/lib/hubspot/codegen/crm/objects/postal_mail/models/association_spec_with_label.rb +0 -287
  180. data/lib/hubspot/codegen/crm/objects/postal_mail/models/labels_between_object_pair.rb +0 -288
  181. data/lib/hubspot/codegen/crm/objects/tasks/api/associations_api.rb +0 -264
  182. data/lib/hubspot/codegen/crm/objects/tasks/models/association_spec_with_label.rb +0 -287
  183. data/lib/hubspot/codegen/crm/objects/tasks/models/labels_between_object_pair.rb +0 -288
  184. data/lib/hubspot/codegen/crm/products/api/associations_api.rb +0 -262
  185. data/lib/hubspot/codegen/crm/products/models/association_spec_with_label.rb +0 -285
  186. data/lib/hubspot/codegen/crm/products/models/labels_between_object_pair.rb +0 -286
  187. data/lib/hubspot/codegen/crm/properties/models/next_page.rb +0 -237
  188. data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +0 -262
  189. data/lib/hubspot/codegen/crm/quotes/models/association_spec_with_label.rb +0 -285
  190. data/lib/hubspot/codegen/crm/quotes/models/labels_between_object_pair.rb +0 -286
  191. data/lib/hubspot/codegen/crm/quotes/models/multi_associated_object_with_label.rb +0 -244
  192. data/lib/hubspot/codegen/crm/tickets/api/associations_api.rb +0 -262
  193. data/lib/hubspot/codegen/crm/tickets/models/association_spec_with_label.rb +0 -285
  194. data/lib/hubspot/codegen/crm/tickets/models/labels_between_object_pair.rb +0 -286
  195. data/lib/hubspot/discovery/crm/companies/api/associations_api.rb +0 -13
  196. data/lib/hubspot/discovery/crm/contacts/api/associations_api.rb +0 -13
  197. data/lib/hubspot/discovery/crm/deals/api/associations_api.rb +0 -13
  198. data/lib/hubspot/discovery/crm/line_items/api/associations_api.rb +0 -13
  199. data/lib/hubspot/discovery/crm/objects/calls/api/associations_api.rb +0 -15
  200. data/lib/hubspot/discovery/crm/objects/emails/api/associations_api.rb +0 -15
  201. data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/associations_api.rb +0 -15
  202. data/lib/hubspot/discovery/crm/objects/meetings/api/associations_api.rb +0 -15
  203. data/lib/hubspot/discovery/crm/objects/notes/api/associations_api.rb +0 -15
  204. data/lib/hubspot/discovery/crm/objects/postal_mail/api/associations_api.rb +0 -15
  205. data/lib/hubspot/discovery/crm/objects/tasks/api/associations_api.rb +0 -15
  206. data/spec/discovery/crm/companies/associations_api_spec.rb +0 -9
  207. data/spec/discovery/crm/contacts/associations_api_spec.rb +0 -9
  208. data/spec/discovery/crm/deals/associations_api_spec.rb +0 -9
  209. data/spec/discovery/crm/line_items/associations_api_spec.rb +0 -9
  210. data/spec/discovery/crm/objects/calls/associations_api_spec.rb +0 -9
  211. data/spec/discovery/crm/objects/emails/associations_api_spec.rb +0 -9
  212. data/spec/discovery/crm/objects/feedback_submissions/associations_api_spec.rb +0 -9
  213. data/spec/discovery/crm/objects/meetings/associations_api_spec.rb +0 -9
  214. data/spec/discovery/crm/objects/notes/associations_api_spec.rb +0 -9
  215. data/spec/discovery/crm/objects/postal_mail/associations_api_spec.rb +0 -9
  216. data/spec/discovery/crm/objects/tasks/associations_api_spec.rb +0 -9
  217. data/spec/discovery/crm/products/associations_api_spec.rb +0 -9
  218. data/spec/discovery/crm/quotes/associations_api_spec.rb +0 -7
  219. data/spec/discovery/crm/tickets/associations_api_spec.rb +0 -9
  220. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/api/audit_logs_api.rb +0 -0
  221. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/api_client.rb +0 -0
  222. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/api_error.rb +0 -0
  223. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/configuration.rb +0 -0
  224. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/collection_response_public_audit_log.rb +0 -0
  225. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/error.rb +0 -0
  226. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/error_detail.rb +0 -0
  227. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/next_page.rb +0 -0
  228. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/paging.rb +0 -0
  229. /data/lib/hubspot/codegen/cms/{audit-logs → audit_logs}/models/public_audit_log.rb +0 -0
  230. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/api/blog_posts_api.rb +0 -0
  231. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/api_client.rb +0 -0
  232. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/api_error.rb +0 -0
  233. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/configuration.rb +0 -0
  234. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/angle.rb +0 -0
  235. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/attach_to_lang_primary_request_v_next.rb +0 -0
  236. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/background_image.rb +0 -0
  237. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_input_blog_post.rb +0 -0
  238. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_input_json_node.rb +0 -0
  239. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_input_string.rb +0 -0
  240. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_response_blog_post.rb +0 -0
  241. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/batch_response_blog_post_with_errors.rb +0 -0
  242. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/blog_post.rb +0 -0
  243. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/blog_post_language_clone_request_v_next.rb +0 -0
  244. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/collection_response_with_total_blog_post_forward_paging.rb +0 -0
  245. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/collection_response_with_total_version_blog_post.rb +0 -0
  246. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/color_stop.rb +0 -0
  247. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/content_clone_request_v_next.rb +0 -0
  248. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/content_language_variation.rb +0 -0
  249. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/content_schedule_request_v_next.rb +0 -0
  250. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/detach_from_lang_group_request_v_next.rb +0 -0
  251. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/error.rb +0 -0
  252. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/error_detail.rb +0 -0
  253. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/forward_paging.rb +0 -0
  254. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/gradient.rb +0 -0
  255. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/layout_section.rb +0 -0
  256. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/next_page.rb +0 -0
  257. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/paging.rb +0 -0
  258. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/previous_page.rb +0 -0
  259. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/rgba_color.rb +0 -0
  260. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/row_meta_data.rb +0 -0
  261. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/set_new_language_primary_request_v_next.rb +0 -0
  262. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/side_or_corner.rb +0 -0
  263. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/standard_error.rb +0 -0
  264. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/styles.rb +0 -0
  265. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/update_languages_request_v_next.rb +0 -0
  266. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/version_blog_post.rb +0 -0
  267. /data/lib/hubspot/codegen/cms/blogs/{blog-posts → blog_posts}/models/version_user.rb +0 -0
  268. /data/lib/hubspot/codegen/cms/{site-search → site_search}/api/public_api.rb +0 -0
  269. /data/lib/hubspot/codegen/cms/{site-search → site_search}/api_client.rb +0 -0
  270. /data/lib/hubspot/codegen/cms/{site-search → site_search}/api_error.rb +0 -0
  271. /data/lib/hubspot/codegen/cms/{site-search → site_search}/configuration.rb +0 -0
  272. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/content_search_result.rb +0 -0
  273. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/error.rb +0 -0
  274. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/error_detail.rb +0 -0
  275. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/indexed_data.rb +0 -0
  276. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/indexed_field.rb +0 -0
  277. /data/lib/hubspot/codegen/cms/{site-search → site_search}/models/public_search_results.rb +0 -0
  278. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/content_api.rb +0 -0
  279. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/extract_api.rb +0 -0
  280. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/metadata_api.rb +0 -0
  281. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/source_code_extract_api.rb +0 -0
  282. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api/validation_api.rb +0 -0
  283. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api_client.rb +0 -0
  284. /data/lib/hubspot/codegen/cms/{source-code → source_code}/api_error.rb +0 -0
  285. /data/lib/hubspot/codegen/cms/{source-code → source_code}/configuration.rb +0 -0
  286. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/action_response.rb +0 -0
  287. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/asset_file_metadata.rb +0 -0
  288. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/error.rb +0 -0
  289. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/error_detail.rb +0 -0
  290. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/file_extract_request.rb +0 -0
  291. /data/lib/hubspot/codegen/cms/{source-code → source_code}/models/task_locator.rb +0 -0
  292. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/api/redirects_api.rb +0 -0
  293. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/api_client.rb +0 -0
  294. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/api_error.rb +0 -0
  295. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/configuration.rb +0 -0
  296. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/collection_response_with_total_url_mapping_forward_paging.rb +0 -0
  297. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/error.rb +0 -0
  298. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/error_detail.rb +0 -0
  299. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/forward_paging.rb +0 -0
  300. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/next_page.rb +0 -0
  301. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/url_mapping.rb +0 -0
  302. /data/lib/hubspot/codegen/cms/{url-redirects → url_redirects}/models/url_mapping_create_request_body.rb +0 -0
  303. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/api/generate_api.rb +0 -0
  304. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/api_client.rb +0 -0
  305. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/api_error.rb +0 -0
  306. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/configuration.rb +0 -0
  307. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/error.rb +0 -0
  308. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/error_detail.rb +0 -0
  309. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/identification_token_generation_request.rb +0 -0
  310. /data/lib/hubspot/codegen/conversations/{visitor-identification → visitor_identification}/models/identification_token_response.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52e4c8fb1abbce80746a0ba2d1a512e7f2402f42ddfa4330ed8a334e9798e6bc
4
- data.tar.gz: 79f9c68a85531802bf73e1c9cf50095a4561ced51194882d5c57588d2470ca72
3
+ metadata.gz: 6c704c669acaebf044517de23f66af799efeb23849c0841e9e9012a6861d94ff
4
+ data.tar.gz: 8e2353c95414bcbe30f5a967140d7d95338cba1912904e6cdbde2cb2fe5c4991
5
5
  SHA512:
6
- metadata.gz: c0d326e50bdddb2939422730caef3e4dc3036db7bdd2230c30f5c05e43f7f817506440e50f2da437ea8b09ef9b7e83ae10db6775a5830405ec8187e2626917a1
7
- data.tar.gz: de8e1f260e0a1405608eeaab382c8b5b67c7e8d2a6a804c111b4bfdc71019ed56cd87925c507f9abf8b8ea7aced0bdb6d9ca96fa6c0e78b74a3a0100d7432a8a
6
+ metadata.gz: d50f6394df9380813c6b99e12f7d71a94344bf93aa6cef9deb39ec1aa38da9285f282690d1c0b874ed597be5e8c81331b4631f7727e1059edddc65841ee9ace0
7
+ data.tar.gz: 3e8e97a0d8f83a0296b444bd7c2a84a3e22cbd433541e94decbd173c6d66b87e27a26c919b6947943fc3c4561447b66e58d8688b83d5793c52741bf4214a72d2
data/CHANGELOG.md CHANGED
@@ -5,7 +5,83 @@ 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
- ## [Unreleased](https://github.com/HubSpot/hubspot-api-ruby/compare/v16.4.0...HEAD)
8
+ ## [Unreleased](https://github.com/HubSpot/hubspot-api-ruby/compare/v17.0.0-beta.2...HEAD)
9
+
10
+
11
+ ## [17.0.0-beta.2] - 2023-04-28
12
+ ### Updated
13
+
14
+ -Add new event types to webhooks.
15
+
16
+
17
+ ## [17.0.0-beta.1] - 2023-04-11
18
+ ### Updated
19
+
20
+ - Rename `cms.hubdb.rows_batch_api.batch_clone_draft_table_rows` => `cms.hubdb.rows_batch_api.clone_draft_table_rows`.
21
+ - Rename `cms.hubdb.rows_batch_api.batch_create_draft_table_rows` => `cms.hubdb.rows_batch_api.create_draft_table_rows`.
22
+ - Rename `cms.hubdb.rows_batch_api.batch_purge_draft_table_rows` => `cms.hubdb.rows_batch_api.purge_draft_table_rows`.
23
+ - Rename `cms.hubdb.rows_batch_api.batch_ReadDrafttable_rows` => `cms.hubdb.rows_batch_api.read_draft_table_rows`.
24
+ - Rename `cms.hubdb.rows_batch_api.batch_read_table_rows` => `cms.hubdb.rows_batch_api.read_table_rows`.
25
+ - Rename `cms.hubdb.rows_batch_api.batch_replace_draft_table_rows` => `cms.hubdb.rows_batch_api.replace_draft_table_rows`.
26
+ - Rename `cms.hubdb.rows_batch_api.batch_update_draft_table_rows` => `cms.hubdb.rows_batch_api.update_draft_table_rows`.
27
+ - `cms.hubdb.tables_api.get_draft_table_details_by_id` => `cms.hubdb.tables_api.get_draft_table_details_by_id(+include_foreign_ids: bool)`
28
+ - `cms.hubdb.tables_api.get_table_details` => `cms.hubdb.tables_api.get_table_details(+include_foreign_ids: bool)`
29
+ - `cms.hubdb.tables_api.update_draft_table` => `cms.hubdb.tables_api.update_draft_table(+include_foreign_ids: bool)`
30
+ - Removed `crm.companies.associations_api`.
31
+ - Removed `crm.contacts.associations_api`.
32
+ - Removed `crm.deals.associations_api`.
33
+ - Removed `crm.line_items.associations_api`.
34
+ - Removed `crm.objects.calls.associations_api`.
35
+ - Removed `crm.objects.emails.associations_api`.
36
+ - Removed `crm.objects.feedback_submissions.associations_api`.
37
+ - Removed `crm.objects.meetings.associations_api`.
38
+ - Removed `crm.objects.notes.associations_api`.
39
+ - Removed `crm.objects.postal_mail.associations_api`.
40
+ - Removed `crm.objects.tasks.associations_api`.
41
+ - Removed `crm.products.associations_api`.
42
+ - Removed `crm.quotes.associations_api`.
43
+ - Removed `crm.tickets.associations_api`.
44
+ - `crm.companies.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
45
+ - `crm.companies.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
46
+ - `crm.contacts.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
47
+ - `crm.contacts.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
48
+ - `crm.deals.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
49
+ - `crm.deals.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
50
+ - `crm.line_items.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
51
+ - `crm.line_items.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
52
+ - `crm.objects.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
53
+ - `crm.objects.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
54
+ - `crm.objects.calls.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
55
+ - `crm.objects.calls.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
56
+ - `crm.objects.emails.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
57
+ - `crm.objects.emails.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
58
+ - `crm.objects.feedback_submissions.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
59
+ - `crm.objects.feedback_submissions.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
60
+ - `crm.objects.meetings.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
61
+ - `crm.objects.meetings.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
62
+ - `crm.objects.notes.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
63
+ - `crm.objects.notes.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
64
+ - `crm.objects.postal_mail.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
65
+ - `crm.objects.postal_mail.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
66
+ - `crm.objects.tasks.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
67
+ - `crm.objects.tasks.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
68
+ - `crm.objects.products.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
69
+ - `crm.objects.products.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
70
+ - `crm.objects.quotes.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
71
+ - `crm.objects.quotes.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
72
+ - `crm.objects.tickets.basic_api.create(SimplePublicObjectInput => SimplePublicObjectInputForCreate)`
73
+ - `crm.objects.tickets.batch_api.create(BatchInputSimplePublicObjectInput => BatchInputSimplePublicObjectInputForCreate)`
74
+ - `marketing.events.marketing_events_external_api.do_search` => `marketing.events.search_api.do_search`
75
+ - Rename `oauth.access_tokens_api.get_accessToken` => `oauth.access_tokens_api.get`.
76
+ - Rename `oauth.refresh_tokens_api.archive_refresh_token` => `oauth.refresh_tokens_api.archive`.
77
+ - Rename `oauth.refresh_tokens_api.get_refreshToken` => `oauth.refresh_tokens_api.get`.
78
+ - Rename `oauth.tokens_api.create_token` => `oauth.tokens_api.create`.
79
+
80
+ ### Added
81
+
82
+ - Added param `properties` to `crm.properties.core_api.get_all`.
83
+ - Added param `properties` to `crm.properties.core_api.get_by_name`.
84
+ - Added `high_value` param to all Filters.
9
85
 
10
86
  ## [16.4.0] - 2023-03-02
11
87
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hubspot-api-client (16.4.0)
4
+ hubspot-api-client (17.0.0-beta.2)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.4.0)
7
7
 
@@ -27,8 +27,8 @@ module Hubspot
27
27
  # @param batch_input_string [BatchInputString] The JSON array of row ids
28
28
  # @param [Hash] opts the optional parameters
29
29
  # @return [BatchResponseHubDbTableRowV3]
30
- def batch_clone_draft_table_rows(table_id_or_name, batch_input_string, opts = {})
31
- data, _status_code, _headers = batch_clone_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
30
+ def clone_draft_table_rows(table_id_or_name, batch_input_string, opts = {})
31
+ data, _status_code, _headers = clone_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
32
32
  data
33
33
  end
34
34
 
@@ -38,17 +38,17 @@ module Hubspot
38
38
  # @param batch_input_string [BatchInputString] The JSON array of row ids
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
41
- def batch_clone_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
41
+ def clone_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
42
42
  if @api_client.config.debugging
43
- @api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_clone_draft_table_rows ...'
43
+ @api_client.config.logger.debug 'Calling API: RowsBatchApi.clone_draft_table_rows ...'
44
44
  end
45
45
  # verify the required parameter 'table_id_or_name' is set
46
46
  if @api_client.config.client_side_validation && table_id_or_name.nil?
47
- fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.batch_clone_draft_table_rows"
47
+ fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.clone_draft_table_rows"
48
48
  end
49
49
  # verify the required parameter 'batch_input_string' is set
50
50
  if @api_client.config.client_side_validation && batch_input_string.nil?
51
- fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.batch_clone_draft_table_rows"
51
+ fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.clone_draft_table_rows"
52
52
  end
53
53
  # resource path
54
54
  local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/clone'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
@@ -79,7 +79,7 @@ module Hubspot
79
79
  auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
80
80
 
81
81
  new_options = opts.merge(
82
- :operation => :"RowsBatchApi.batch_clone_draft_table_rows",
82
+ :operation => :"RowsBatchApi.clone_draft_table_rows",
83
83
  :header_params => header_params,
84
84
  :query_params => query_params,
85
85
  :form_params => form_params,
@@ -90,7 +90,7 @@ module Hubspot
90
90
 
91
91
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
92
92
  if @api_client.config.debugging
93
- @api_client.config.logger.debug "API called: RowsBatchApi#batch_clone_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
93
+ @api_client.config.logger.debug "API called: RowsBatchApi#clone_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
94
94
  end
95
95
  return data, status_code, headers
96
96
  end
@@ -101,8 +101,8 @@ module Hubspot
101
101
  # @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects
102
102
  # @param [Hash] opts the optional parameters
103
103
  # @return [BatchResponseHubDbTableRowV3]
104
- def batch_create_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
105
- 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)
104
+ def create_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
105
+ data, _status_code, _headers = create_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts)
106
106
  data
107
107
  end
108
108
 
@@ -112,17 +112,17 @@ module Hubspot
112
112
  # @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects
113
113
  # @param [Hash] opts the optional parameters
114
114
  # @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
115
- def batch_create_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
115
+ def create_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
116
116
  if @api_client.config.debugging
117
- @api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_create_draft_table_rows ...'
117
+ @api_client.config.logger.debug 'Calling API: RowsBatchApi.create_draft_table_rows ...'
118
118
  end
119
119
  # verify the required parameter 'table_id_or_name' is set
120
120
  if @api_client.config.client_side_validation && table_id_or_name.nil?
121
- fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.batch_create_draft_table_rows"
121
+ fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.create_draft_table_rows"
122
122
  end
123
123
  # verify the required parameter 'batch_input_hub_db_table_row_v3_request' is set
124
124
  if @api_client.config.client_side_validation && batch_input_hub_db_table_row_v3_request.nil?
125
- fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3_request' when calling RowsBatchApi.batch_create_draft_table_rows"
125
+ fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3_request' when calling RowsBatchApi.create_draft_table_rows"
126
126
  end
127
127
  # resource path
128
128
  local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/create'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
@@ -153,7 +153,7 @@ module Hubspot
153
153
  auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
154
154
 
155
155
  new_options = opts.merge(
156
- :operation => :"RowsBatchApi.batch_create_draft_table_rows",
156
+ :operation => :"RowsBatchApi.create_draft_table_rows",
157
157
  :header_params => header_params,
158
158
  :query_params => query_params,
159
159
  :form_params => form_params,
@@ -164,7 +164,7 @@ module Hubspot
164
164
 
165
165
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
166
166
  if @api_client.config.debugging
167
- @api_client.config.logger.debug "API called: RowsBatchApi#batch_create_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
167
+ @api_client.config.logger.debug "API called: RowsBatchApi#create_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
168
168
  end
169
169
  return data, status_code, headers
170
170
  end
@@ -175,8 +175,8 @@ module Hubspot
175
175
  # @param batch_input_string [BatchInputString] JSON array of row ids.
176
176
  # @param [Hash] opts the optional parameters
177
177
  # @return [nil]
178
- def batch_purge_draft_table_rows(table_id_or_name, batch_input_string, opts = {})
179
- batch_purge_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
178
+ def purge_draft_table_rows(table_id_or_name, batch_input_string, opts = {})
179
+ purge_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
180
180
  nil
181
181
  end
182
182
 
@@ -186,17 +186,17 @@ module Hubspot
186
186
  # @param batch_input_string [BatchInputString] JSON array of row ids.
187
187
  # @param [Hash] opts the optional parameters
188
188
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
189
- def batch_purge_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
189
+ def purge_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
190
190
  if @api_client.config.debugging
191
- @api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_purge_draft_table_rows ...'
191
+ @api_client.config.logger.debug 'Calling API: RowsBatchApi.purge_draft_table_rows ...'
192
192
  end
193
193
  # verify the required parameter 'table_id_or_name' is set
194
194
  if @api_client.config.client_side_validation && table_id_or_name.nil?
195
- fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.batch_purge_draft_table_rows"
195
+ fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.purge_draft_table_rows"
196
196
  end
197
197
  # verify the required parameter 'batch_input_string' is set
198
198
  if @api_client.config.client_side_validation && batch_input_string.nil?
199
- fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.batch_purge_draft_table_rows"
199
+ fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.purge_draft_table_rows"
200
200
  end
201
201
  # resource path
202
202
  local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/purge'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
@@ -227,7 +227,7 @@ module Hubspot
227
227
  auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
228
228
 
229
229
  new_options = opts.merge(
230
- :operation => :"RowsBatchApi.batch_purge_draft_table_rows",
230
+ :operation => :"RowsBatchApi.purge_draft_table_rows",
231
231
  :header_params => header_params,
232
232
  :query_params => query_params,
233
233
  :form_params => form_params,
@@ -238,7 +238,7 @@ module Hubspot
238
238
 
239
239
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
240
240
  if @api_client.config.debugging
241
- @api_client.config.logger.debug "API called: RowsBatchApi#batch_purge_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
241
+ @api_client.config.logger.debug "API called: RowsBatchApi#purge_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
242
242
  end
243
243
  return data, status_code, headers
244
244
  end
@@ -249,8 +249,8 @@ module Hubspot
249
249
  # @param batch_input_string [BatchInputString] JSON array of row ids.
250
250
  # @param [Hash] opts the optional parameters
251
251
  # @return [BatchResponseHubDbTableRowV3]
252
- def batch_read_draft_table_rows(table_id_or_name, batch_input_string, opts = {})
253
- data, _status_code, _headers = batch_read_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
252
+ def read_draft_table_rows(table_id_or_name, batch_input_string, opts = {})
253
+ data, _status_code, _headers = read_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
254
254
  data
255
255
  end
256
256
 
@@ -260,17 +260,17 @@ module Hubspot
260
260
  # @param batch_input_string [BatchInputString] JSON array of row ids.
261
261
  # @param [Hash] opts the optional parameters
262
262
  # @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
263
- def batch_read_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
263
+ def read_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
264
264
  if @api_client.config.debugging
265
- @api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_read_draft_table_rows ...'
265
+ @api_client.config.logger.debug 'Calling API: RowsBatchApi.read_draft_table_rows ...'
266
266
  end
267
267
  # verify the required parameter 'table_id_or_name' is set
268
268
  if @api_client.config.client_side_validation && table_id_or_name.nil?
269
- fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.batch_read_draft_table_rows"
269
+ fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.read_draft_table_rows"
270
270
  end
271
271
  # verify the required parameter 'batch_input_string' is set
272
272
  if @api_client.config.client_side_validation && batch_input_string.nil?
273
- fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.batch_read_draft_table_rows"
273
+ fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.read_draft_table_rows"
274
274
  end
275
275
  # resource path
276
276
  local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/read'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
@@ -301,7 +301,7 @@ module Hubspot
301
301
  auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
302
302
 
303
303
  new_options = opts.merge(
304
- :operation => :"RowsBatchApi.batch_read_draft_table_rows",
304
+ :operation => :"RowsBatchApi.read_draft_table_rows",
305
305
  :header_params => header_params,
306
306
  :query_params => query_params,
307
307
  :form_params => form_params,
@@ -312,7 +312,7 @@ module Hubspot
312
312
 
313
313
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
314
314
  if @api_client.config.debugging
315
- @api_client.config.logger.debug "API called: RowsBatchApi#batch_read_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
315
+ @api_client.config.logger.debug "API called: RowsBatchApi#read_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
316
316
  end
317
317
  return data, status_code, headers
318
318
  end
@@ -323,8 +323,8 @@ module Hubspot
323
323
  # @param batch_input_string [BatchInputString] The JSON array of row ids
324
324
  # @param [Hash] opts the optional parameters
325
325
  # @return [BatchResponseHubDbTableRowV3]
326
- def batch_read_table_rows(table_id_or_name, batch_input_string, opts = {})
327
- data, _status_code, _headers = batch_read_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
326
+ def read_table_rows(table_id_or_name, batch_input_string, opts = {})
327
+ data, _status_code, _headers = read_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
328
328
  data
329
329
  end
330
330
 
@@ -334,17 +334,17 @@ module Hubspot
334
334
  # @param batch_input_string [BatchInputString] The JSON array of row ids
335
335
  # @param [Hash] opts the optional parameters
336
336
  # @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
337
- def batch_read_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
337
+ def read_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
338
338
  if @api_client.config.debugging
339
- @api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_read_table_rows ...'
339
+ @api_client.config.logger.debug 'Calling API: RowsBatchApi.read_table_rows ...'
340
340
  end
341
341
  # verify the required parameter 'table_id_or_name' is set
342
342
  if @api_client.config.client_side_validation && table_id_or_name.nil?
343
- fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.batch_read_table_rows"
343
+ fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.read_table_rows"
344
344
  end
345
345
  # verify the required parameter 'batch_input_string' is set
346
346
  if @api_client.config.client_side_validation && batch_input_string.nil?
347
- fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.batch_read_table_rows"
347
+ fail ArgumentError, "Missing the required parameter 'batch_input_string' when calling RowsBatchApi.read_table_rows"
348
348
  end
349
349
  # resource path
350
350
  local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/batch/read'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
@@ -375,7 +375,7 @@ module Hubspot
375
375
  auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
376
376
 
377
377
  new_options = opts.merge(
378
- :operation => :"RowsBatchApi.batch_read_table_rows",
378
+ :operation => :"RowsBatchApi.read_table_rows",
379
379
  :header_params => header_params,
380
380
  :query_params => query_params,
381
381
  :form_params => form_params,
@@ -386,7 +386,7 @@ module Hubspot
386
386
 
387
387
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
388
388
  if @api_client.config.debugging
389
- @api_client.config.logger.debug "API called: RowsBatchApi#batch_read_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
389
+ @api_client.config.logger.debug "API called: RowsBatchApi#read_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
390
390
  end
391
391
  return data, status_code, headers
392
392
  end
@@ -394,31 +394,31 @@ module Hubspot
394
394
  # Replace rows in batch in draft table
395
395
  # 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.
396
396
  # @param table_id_or_name [String] The ID or name of the table
397
- # @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects.
397
+ # @param batch_input_hub_db_table_row_v3_batch_update_request [BatchInputHubDbTableRowV3BatchUpdateRequest] JSON array of row objects.
398
398
  # @param [Hash] opts the optional parameters
399
399
  # @return [BatchResponseHubDbTableRowV3]
400
- def batch_replace_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
401
- 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)
400
+ def replace_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts = {})
401
+ data, _status_code, _headers = replace_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts)
402
402
  data
403
403
  end
404
404
 
405
405
  # Replace rows in batch in draft table
406
406
  # 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.
407
407
  # @param table_id_or_name [String] The ID or name of the table
408
- # @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects.
408
+ # @param batch_input_hub_db_table_row_v3_batch_update_request [BatchInputHubDbTableRowV3BatchUpdateRequest] JSON array of row objects.
409
409
  # @param [Hash] opts the optional parameters
410
410
  # @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
411
- def batch_replace_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
411
+ def replace_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts = {})
412
412
  if @api_client.config.debugging
413
- @api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_replace_draft_table_rows ...'
413
+ @api_client.config.logger.debug 'Calling API: RowsBatchApi.replace_draft_table_rows ...'
414
414
  end
415
415
  # verify the required parameter 'table_id_or_name' is set
416
416
  if @api_client.config.client_side_validation && table_id_or_name.nil?
417
- fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.batch_replace_draft_table_rows"
417
+ fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.replace_draft_table_rows"
418
418
  end
419
- # verify the required parameter 'batch_input_hub_db_table_row_v3_request' is set
420
- if @api_client.config.client_side_validation && batch_input_hub_db_table_row_v3_request.nil?
421
- fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3_request' when calling RowsBatchApi.batch_replace_draft_table_rows"
419
+ # verify the required parameter 'batch_input_hub_db_table_row_v3_batch_update_request' is set
420
+ if @api_client.config.client_side_validation && batch_input_hub_db_table_row_v3_batch_update_request.nil?
421
+ fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3_batch_update_request' when calling RowsBatchApi.replace_draft_table_rows"
422
422
  end
423
423
  # resource path
424
424
  local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/replace'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
@@ -440,7 +440,7 @@ module Hubspot
440
440
  form_params = opts[:form_params] || {}
441
441
 
442
442
  # http body (model)
443
- post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_hub_db_table_row_v3_request)
443
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_hub_db_table_row_v3_batch_update_request)
444
444
 
445
445
  # return_type
446
446
  return_type = opts[:debug_return_type] || 'BatchResponseHubDbTableRowV3'
@@ -449,7 +449,7 @@ module Hubspot
449
449
  auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
450
450
 
451
451
  new_options = opts.merge(
452
- :operation => :"RowsBatchApi.batch_replace_draft_table_rows",
452
+ :operation => :"RowsBatchApi.replace_draft_table_rows",
453
453
  :header_params => header_params,
454
454
  :query_params => query_params,
455
455
  :form_params => form_params,
@@ -460,7 +460,7 @@ module Hubspot
460
460
 
461
461
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
462
462
  if @api_client.config.debugging
463
- @api_client.config.logger.debug "API called: RowsBatchApi#batch_replace_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
463
+ @api_client.config.logger.debug "API called: RowsBatchApi#replace_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
464
464
  end
465
465
  return data, status_code, headers
466
466
  end
@@ -468,31 +468,31 @@ module Hubspot
468
468
  # Update rows in batch in draft table
469
469
  # Updates multiple rows as a batch in the `draft` version of the table. See the endpoint `PATCH /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.
470
470
  # @param table_id_or_name [String] The ID or name of the table
471
- # @param batch_input_json_node [BatchInputJsonNode] JSON array of row objects.
471
+ # @param batch_input_hub_db_table_row_v3_batch_update_request [BatchInputHubDbTableRowV3BatchUpdateRequest] JSON array of row objects.
472
472
  # @param [Hash] opts the optional parameters
473
473
  # @return [BatchResponseHubDbTableRowV3]
474
- def batch_update_draft_table_rows(table_id_or_name, batch_input_json_node, opts = {})
475
- data, _status_code, _headers = batch_update_draft_table_rows_with_http_info(table_id_or_name, batch_input_json_node, opts)
474
+ def update_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts = {})
475
+ data, _status_code, _headers = update_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts)
476
476
  data
477
477
  end
478
478
 
479
479
  # Update rows in batch in draft table
480
480
  # Updates multiple rows as a batch in the &#x60;draft&#x60; version of the table. See the endpoint &#x60;PATCH /tables/{tableIdOrName}/rows/{rowId}/draft&#x60; for details on updating a single row.
481
481
  # @param table_id_or_name [String] The ID or name of the table
482
- # @param batch_input_json_node [BatchInputJsonNode] JSON array of row objects.
482
+ # @param batch_input_hub_db_table_row_v3_batch_update_request [BatchInputHubDbTableRowV3BatchUpdateRequest] JSON array of row objects.
483
483
  # @param [Hash] opts the optional parameters
484
484
  # @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
485
- def batch_update_draft_table_rows_with_http_info(table_id_or_name, batch_input_json_node, opts = {})
485
+ def update_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_batch_update_request, opts = {})
486
486
  if @api_client.config.debugging
487
- @api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_update_draft_table_rows ...'
487
+ @api_client.config.logger.debug 'Calling API: RowsBatchApi.update_draft_table_rows ...'
488
488
  end
489
489
  # verify the required parameter 'table_id_or_name' is set
490
490
  if @api_client.config.client_side_validation && table_id_or_name.nil?
491
- fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.batch_update_draft_table_rows"
491
+ fail ArgumentError, "Missing the required parameter 'table_id_or_name' when calling RowsBatchApi.update_draft_table_rows"
492
492
  end
493
- # verify the required parameter 'batch_input_json_node' is set
494
- if @api_client.config.client_side_validation && batch_input_json_node.nil?
495
- fail ArgumentError, "Missing the required parameter 'batch_input_json_node' when calling RowsBatchApi.batch_update_draft_table_rows"
493
+ # verify the required parameter 'batch_input_hub_db_table_row_v3_batch_update_request' is set
494
+ if @api_client.config.client_side_validation && batch_input_hub_db_table_row_v3_batch_update_request.nil?
495
+ fail ArgumentError, "Missing the required parameter 'batch_input_hub_db_table_row_v3_batch_update_request' when calling RowsBatchApi.update_draft_table_rows"
496
496
  end
497
497
  # resource path
498
498
  local_var_path = '/cms/v3/hubdb/tables/{tableIdOrName}/rows/draft/batch/update'.sub('{' + 'tableIdOrName' + '}', CGI.escape(table_id_or_name.to_s))
@@ -514,7 +514,7 @@ module Hubspot
514
514
  form_params = opts[:form_params] || {}
515
515
 
516
516
  # http body (model)
517
- post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_json_node)
517
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_hub_db_table_row_v3_batch_update_request)
518
518
 
519
519
  # return_type
520
520
  return_type = opts[:debug_return_type] || 'BatchResponseHubDbTableRowV3'
@@ -523,7 +523,7 @@ module Hubspot
523
523
  auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
524
524
 
525
525
  new_options = opts.merge(
526
- :operation => :"RowsBatchApi.batch_update_draft_table_rows",
526
+ :operation => :"RowsBatchApi.update_draft_table_rows",
527
527
  :header_params => header_params,
528
528
  :query_params => query_params,
529
529
  :form_params => form_params,
@@ -534,7 +534,7 @@ module Hubspot
534
534
 
535
535
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
536
536
  if @api_client.config.debugging
537
- @api_client.config.logger.debug "API called: RowsBatchApi#batch_update_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
537
+ @api_client.config.logger.debug "API called: RowsBatchApi#update_draft_table_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
538
538
  end
539
539
  return data, status_code, headers
540
540
  end
@@ -536,8 +536,8 @@ module Hubspot
536
536
  # Get the details for the `draft` version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table.
537
537
  # @param table_id_or_name [String] The ID or name of the table to return.
538
538
  # @param [Hash] opts the optional parameters
539
- # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return an archived table. Defaults to &#x60;false&#x60;.
540
539
  # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
540
+ # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return an archived table. Defaults to &#x60;false&#x60;.
541
541
  # @return [HubDbTableV3]
542
542
  def get_draft_table_details_by_id(table_id_or_name, opts = {})
543
543
  data, _status_code, _headers = get_draft_table_details_by_id_with_http_info(table_id_or_name, opts)
@@ -548,8 +548,8 @@ module Hubspot
548
548
  # Get the details for the &#x60;draft&#x60; version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table.
549
549
  # @param table_id_or_name [String] The ID or name of the table to return.
550
550
  # @param [Hash] opts the optional parameters
551
- # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return an archived table. Defaults to &#x60;false&#x60;.
552
551
  # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
552
+ # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return an archived table. Defaults to &#x60;false&#x60;.
553
553
  # @return [Array<(HubDbTableV3, Integer, Hash)>] HubDbTableV3 data, response status code and response headers
554
554
  def get_draft_table_details_by_id_with_http_info(table_id_or_name, opts = {})
555
555
  if @api_client.config.debugging
@@ -564,8 +564,8 @@ module Hubspot
564
564
 
565
565
  # query parameters
566
566
  query_params = opts[:query_params] || {}
567
- query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
568
567
  query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
568
+ query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
569
569
 
570
570
  # header parameters
571
571
  header_params = opts[:header_params] || {}
@@ -605,8 +605,8 @@ module Hubspot
605
605
  # Returns the details for the `published` version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.
606
606
  # @param table_id_or_name [String] The ID or name of the table to return.
607
607
  # @param [Hash] opts the optional parameters
608
- # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return details for an archived table. Defaults to &#x60;false&#x60;.
609
608
  # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
609
+ # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return details for an archived table. Defaults to &#x60;false&#x60;.
610
610
  # @return [HubDbTableV3]
611
611
  def get_table_details(table_id_or_name, opts = {})
612
612
  data, _status_code, _headers = get_table_details_with_http_info(table_id_or_name, opts)
@@ -617,8 +617,8 @@ module Hubspot
617
617
  # Returns the details for the &#x60;published&#x60; version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table. **Note:** This endpoint can be accessed without any authentication if the table is set to be allowed for public access.
618
618
  # @param table_id_or_name [String] The ID or name of the table to return.
619
619
  # @param [Hash] opts the optional parameters
620
- # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return details for an archived table. Defaults to &#x60;false&#x60;.
621
620
  # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
621
+ # @option opts [Boolean] :archived Set this to &#x60;true&#x60; to return details for an archived table. Defaults to &#x60;false&#x60;.
622
622
  # @return [Array<(HubDbTableV3, Integer, Hash)>] HubDbTableV3 data, response status code and response headers
623
623
  def get_table_details_with_http_info(table_id_or_name, opts = {})
624
624
  if @api_client.config.debugging
@@ -633,8 +633,8 @@ module Hubspot
633
633
 
634
634
  # query parameters
635
635
  query_params = opts[:query_params] || {}
636
- query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
637
636
  query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
637
+ query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
638
638
 
639
639
  # header parameters
640
640
  header_params = opts[:header_params] || {}
@@ -947,8 +947,8 @@ module Hubspot
947
947
  # @param table_id_or_name [String] The ID or name of the table to update.
948
948
  # @param hub_db_table_v3_request [HubDbTableV3Request] The JSON schema for the table being updated.
949
949
  # @param [Hash] opts the optional parameters
950
- # @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to &#x60;false&#x60;.
951
950
  # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
951
+ # @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to &#x60;false&#x60;.
952
952
  # @return [HubDbTableV3]
953
953
  def update_draft_table(table_id_or_name, hub_db_table_v3_request, opts = {})
954
954
  data, _status_code, _headers = update_draft_table_with_http_info(table_id_or_name, hub_db_table_v3_request, opts)
@@ -960,8 +960,8 @@ module Hubspot
960
960
  # @param table_id_or_name [String] The ID or name of the table to update.
961
961
  # @param hub_db_table_v3_request [HubDbTableV3Request] The JSON schema for the table being updated.
962
962
  # @param [Hash] opts the optional parameters
963
- # @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to &#x60;false&#x60;.
964
963
  # @option opts [Boolean] :include_foreign_ids Set this to &#x60;true&#x60; to populate foreign ID values in the result.
964
+ # @option opts [Boolean] :archived Specifies whether to return archived tables. Defaults to &#x60;false&#x60;.
965
965
  # @return [Array<(HubDbTableV3, Integer, Hash)>] HubDbTableV3 data, response status code and response headers
966
966
  def update_draft_table_with_http_info(table_id_or_name, hub_db_table_v3_request, opts = {})
967
967
  if @api_client.config.debugging
@@ -980,8 +980,8 @@ module Hubspot
980
980
 
981
981
  # query parameters
982
982
  query_params = opts[:query_params] || {}
983
- query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
984
983
  query_params[:'includeForeignIds'] = opts[:'include_foreign_ids'] if !opts[:'include_foreign_ids'].nil?
984
+ query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
985
985
 
986
986
  # header parameters
987
987
  header_params = opts[:header_params] || {}
@@ -16,7 +16,7 @@ require 'time'
16
16
  module Hubspot
17
17
  module Cms
18
18
  module Hubdb
19
- class BatchInputJsonNode
19
+ class BatchInputHubDbTableRowV3BatchUpdateRequest
20
20
  attr_accessor :inputs
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -34,7 +34,7 @@ module Hubspot
34
34
  # Attribute type mapping.
35
35
  def self.openapi_types
36
36
  {
37
- :'inputs' => :'Array<Object>'
37
+ :'inputs' => :'Array<HubDbTableRowV3BatchUpdateRequest>'
38
38
  }
39
39
  end
40
40
 
@@ -48,13 +48,13 @@ module Hubspot
48
48
  # @param [Hash] attributes Model attributes in the form of hash
49
49
  def initialize(attributes = {})
50
50
  if (!attributes.is_a?(Hash))
51
- fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Cms::Hubdb::BatchInputJsonNode` initialize method"
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Cms::Hubdb::BatchInputHubDbTableRowV3BatchUpdateRequest` initialize method"
52
52
  end
53
53
 
54
54
  # check to see if the attribute exists and convert string to symbol for hash key
55
55
  attributes = attributes.each_with_object({}) { |(k, v), h|
56
56
  if (!self.class.attribute_map.key?(k.to_sym))
57
- fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Cms::Hubdb::BatchInputJsonNode`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Cms::Hubdb::BatchInputHubDbTableRowV3BatchUpdateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
58
  end
59
59
  h[k.to_sym] = v
60
60
  }