hubspot-api-client 17.0.0.pre.beta.4 → 17.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +48 -1
  3. data/Gemfile.lock +1 -1
  4. data/lib/hubspot/client.rb +1 -1
  5. data/lib/hubspot/codegen/automation/actions/api/callbacks_api.rb +2 -2
  6. data/lib/hubspot/codegen/automation/actions/configuration.rb +0 -7
  7. data/lib/hubspot/codegen/cms/blogs/authors/api/blog_authors_api.rb +14 -14
  8. data/lib/hubspot/codegen/cms/blogs/authors/configuration.rb +0 -7
  9. data/lib/hubspot/codegen/cms/blogs/tags/api/blog_tags_api.rb +14 -14
  10. data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +0 -7
  11. data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +2 -2
  12. data/lib/hubspot/codegen/cms/domains/configuration.rb +0 -7
  13. data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +9 -9
  14. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +17 -17
  15. data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +14 -14
  16. data/lib/hubspot/codegen/cms/hubdb/configuration.rb +0 -7
  17. data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +19 -19
  18. data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +1 -1
  19. data/lib/hubspot/codegen/cms/performance/api/public_performance_api.rb +2 -2
  20. data/lib/hubspot/codegen/cms/performance/configuration.rb +0 -7
  21. data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +3 -3
  22. data/lib/hubspot/codegen/crm/associations/configuration.rb +0 -7
  23. data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +1 -1
  24. data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +0 -7
  25. data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +6 -6
  26. data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +5 -5
  27. data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +0 -7
  28. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +18 -18
  29. data/lib/hubspot/codegen/crm/associations/v4/models/batch_read_input_simple_public_object_id.rb +20 -20
  30. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +41 -41
  31. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +52 -52
  32. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +41 -41
  33. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +52 -52
  34. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +52 -52
  35. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object.rb +41 -41
  36. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object_with_errors.rb +52 -52
  37. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_associated_id.rb +13 -13
  38. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +13 -13
  39. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  40. data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +50 -50
  41. data/lib/hubspot/codegen/crm/associations/v4/models/error_category.rb +18 -18
  42. data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +28 -28
  43. data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +19 -19
  44. data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +18 -18
  45. data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +13 -13
  46. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_create_request.rb +18 -18
  47. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_update_request.rb +18 -18
  48. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +20 -20
  49. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +13 -13
  50. data/lib/hubspot/codegen/crm/associations/v4/models/public_associations_for_object.rb +18 -18
  51. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +18 -18
  52. data/lib/hubspot/codegen/crm/associations/v4/models/public_gdpr_delete_input.rb +13 -13
  53. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object.rb +44 -44
  54. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_batch_input.rb +18 -18
  55. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_input_for_create.rb +20 -20
  56. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_with_associations.rb +49 -49
  57. data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +46 -46
  58. data/lib/hubspot/codegen/crm/associations/v4/models/standard_error1.rb +324 -0
  59. data/lib/hubspot/codegen/crm/associations/v4/models/value_with_timestamp.rb +33 -33
  60. data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +4 -4
  61. data/lib/hubspot/codegen/crm/associations/v4/schema/configuration.rb +0 -7
  62. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +5 -5
  63. data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +4 -4
  64. data/lib/hubspot/codegen/crm/companies/api/public_object_api.rb +1 -1
  65. data/lib/hubspot/codegen/crm/companies/api/search_api.rb +1 -1
  66. data/lib/hubspot/codegen/crm/companies/configuration.rb +0 -7
  67. data/lib/hubspot/codegen/crm/companies/models/standard_error.rb +1 -1
  68. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +5 -5
  69. data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +4 -4
  70. data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +1 -1
  71. data/lib/hubspot/codegen/crm/contacts/api/public_object_api.rb +1 -1
  72. data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +1 -1
  73. data/lib/hubspot/codegen/crm/contacts/configuration.rb +0 -7
  74. data/lib/hubspot/codegen/crm/contacts/models/standard_error.rb +1 -1
  75. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +5 -5
  76. data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +4 -4
  77. data/lib/hubspot/codegen/crm/deals/api/public_object_api.rb +1 -1
  78. data/lib/hubspot/codegen/crm/deals/api/search_api.rb +1 -1
  79. data/lib/hubspot/codegen/crm/deals/configuration.rb +0 -7
  80. data/lib/hubspot/codegen/crm/deals/models/standard_error.rb +1 -1
  81. data/lib/hubspot/codegen/crm/extensions/accounting/api/callbacks_api.rb +10 -10
  82. data/lib/hubspot/codegen/crm/extensions/accounting/api/invoice_api.rb +3 -3
  83. data/lib/hubspot/codegen/crm/extensions/accounting/api/settings_api.rb +2 -2
  84. data/lib/hubspot/codegen/crm/extensions/accounting/api/sync_api.rb +2 -2
  85. data/lib/hubspot/codegen/crm/extensions/accounting/api/user_accounts_api.rb +2 -2
  86. data/lib/hubspot/codegen/crm/extensions/accounting/configuration.rb +0 -7
  87. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api/settings_api.rb +3 -3
  88. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_client.rb +0 -1
  89. data/lib/hubspot/codegen/crm/extensions/videoconferencing/configuration.rb +0 -7
  90. data/lib/hubspot/codegen/crm/imports/api/core_api.rb +4 -4
  91. data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +1 -1
  92. data/lib/hubspot/codegen/crm/imports/configuration.rb +0 -7
  93. data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +5 -5
  94. data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +4 -4
  95. data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +1 -1
  96. data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +1 -1
  97. data/lib/hubspot/codegen/crm/line_items/configuration.rb +0 -7
  98. data/lib/hubspot/codegen/crm/line_items/models/standard_error.rb +1 -1
  99. data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +3 -3
  100. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +5 -5
  101. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +4 -4
  102. data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +1 -1
  103. data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +1 -1
  104. data/lib/hubspot/codegen/crm/objects/api/search_api.rb +1 -1
  105. data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +5 -5
  106. data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +4 -4
  107. data/lib/hubspot/codegen/crm/objects/calls/api/public_object_api.rb +1 -1
  108. data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +1 -1
  109. data/lib/hubspot/codegen/crm/objects/calls/configuration.rb +0 -7
  110. data/lib/hubspot/codegen/crm/objects/calls/models/standard_error.rb +1 -1
  111. data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +5 -5
  112. data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +4 -4
  113. data/lib/hubspot/codegen/crm/objects/communications/api/public_object_api.rb +1 -1
  114. data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +1 -1
  115. data/lib/hubspot/codegen/crm/objects/communications/configuration.rb +0 -7
  116. data/lib/hubspot/codegen/crm/objects/communications/models/standard_error.rb +1 -1
  117. data/lib/hubspot/codegen/crm/objects/configuration.rb +0 -7
  118. data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +5 -5
  119. data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +4 -4
  120. data/lib/hubspot/codegen/crm/objects/emails/api/public_object_api.rb +1 -1
  121. data/lib/hubspot/codegen/crm/objects/emails/api/search_api.rb +1 -1
  122. data/lib/hubspot/codegen/crm/objects/emails/configuration.rb +0 -7
  123. data/lib/hubspot/codegen/crm/objects/emails/models/standard_error.rb +1 -1
  124. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +5 -5
  125. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +4 -4
  126. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +1 -1
  127. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/search_api.rb +1 -1
  128. data/lib/hubspot/codegen/crm/objects/feedback_submissions/configuration.rb +0 -7
  129. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/standard_error.rb +1 -1
  130. data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +5 -5
  131. data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +4 -4
  132. data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +1 -1
  133. data/lib/hubspot/codegen/crm/objects/meetings/api/search_api.rb +1 -1
  134. data/lib/hubspot/codegen/crm/objects/meetings/configuration.rb +0 -7
  135. data/lib/hubspot/codegen/crm/objects/meetings/models/standard_error.rb +1 -1
  136. data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +1 -1
  137. data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +5 -5
  138. data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +4 -4
  139. data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +1 -1
  140. data/lib/hubspot/codegen/crm/objects/notes/api/search_api.rb +1 -1
  141. data/lib/hubspot/codegen/crm/objects/notes/configuration.rb +0 -7
  142. data/lib/hubspot/codegen/crm/objects/notes/models/standard_error.rb +1 -1
  143. data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +5 -5
  144. data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +4 -4
  145. data/lib/hubspot/codegen/crm/objects/postal_mail/api/public_object_api.rb +1 -1
  146. data/lib/hubspot/codegen/crm/objects/postal_mail/api/search_api.rb +1 -1
  147. data/lib/hubspot/codegen/crm/objects/postal_mail/configuration.rb +0 -7
  148. data/lib/hubspot/codegen/crm/objects/postal_mail/models/standard_error.rb +1 -1
  149. data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +5 -5
  150. data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +4 -4
  151. data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +1 -1
  152. data/lib/hubspot/codegen/crm/objects/tasks/api/search_api.rb +1 -1
  153. data/lib/hubspot/codegen/crm/objects/tasks/configuration.rb +0 -7
  154. data/lib/hubspot/codegen/crm/objects/tasks/models/standard_error.rb +1 -1
  155. data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +2 -2
  156. data/lib/hubspot/codegen/crm/owners/configuration.rb +0 -7
  157. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +1 -1
  158. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +1 -1
  159. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +6 -6
  160. data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +6 -6
  161. data/lib/hubspot/codegen/crm/pipelines/configuration.rb +0 -7
  162. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +5 -5
  163. data/lib/hubspot/codegen/crm/products/api/batch_api.rb +4 -4
  164. data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +1 -1
  165. data/lib/hubspot/codegen/crm/products/api/search_api.rb +1 -1
  166. data/lib/hubspot/codegen/crm/products/configuration.rb +0 -7
  167. data/lib/hubspot/codegen/crm/products/models/standard_error.rb +1 -1
  168. data/lib/hubspot/codegen/crm/properties/api/batch_api.rb +3 -3
  169. data/lib/hubspot/codegen/crm/properties/api/core_api.rb +5 -5
  170. data/lib/hubspot/codegen/crm/properties/api/groups_api.rb +5 -5
  171. data/lib/hubspot/codegen/crm/properties/configuration.rb +0 -7
  172. data/lib/hubspot/codegen/crm/properties/models/standard_error.rb +1 -1
  173. data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +5 -5
  174. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +4 -4
  175. data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +1 -1
  176. data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +1 -1
  177. data/lib/hubspot/codegen/crm/quotes/configuration.rb +0 -7
  178. data/lib/hubspot/codegen/crm/quotes/models/standard_error.rb +1 -1
  179. data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +7 -7
  180. data/lib/hubspot/codegen/crm/schemas/api/public_object_schemas_api.rb +1 -1
  181. data/lib/hubspot/codegen/crm/schemas/configuration.rb +0 -7
  182. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +5 -5
  183. data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +4 -4
  184. data/lib/hubspot/codegen/crm/tickets/api/public_object_api.rb +1 -1
  185. data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +1 -1
  186. data/lib/hubspot/codegen/crm/tickets/configuration.rb +0 -7
  187. data/lib/hubspot/codegen/crm/tickets/models/standard_error.rb +1 -1
  188. data/lib/hubspot/codegen/events/api/events_api.rb +1 -1
  189. data/lib/hubspot/codegen/events/configuration.rb +0 -7
  190. data/lib/hubspot/codegen/files/files/api/files_api.rb +10 -10
  191. data/lib/hubspot/codegen/files/files/api/folders_api.rb +8 -8
  192. data/lib/hubspot/codegen/files/files/configuration.rb +0 -7
  193. data/lib/hubspot/codegen/marketing/forms/api/forms_api.rb +6 -6
  194. data/lib/hubspot/codegen/marketing/forms/configuration.rb +0 -7
  195. data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +1 -1
  196. data/lib/hubspot/codegen/marketing/transactional/configuration.rb +0 -7
  197. data/lib/hubspot/codegen/webhooks/models/standard_error.rb +1 -1
  198. data/lib/hubspot/discovery/oauth/client.rb +0 -4
  199. data/lib/hubspot/helpers/camel_case.rb +5 -1
  200. data/lib/hubspot/helpers/path.rb +1 -8
  201. data/lib/hubspot/helpers/snake_case.rb +2 -1
  202. data/lib/hubspot/oauth_helper.rb +12 -8
  203. data/lib/hubspot/version.rb +1 -1
  204. data/pkg/hubspot-api-client-17.0.0.gem +0 -0
  205. data/spec/discovery/client_spec.rb +1 -1
  206. data/spec/discovery/oauth/access_tokens_api_spec.rb +1 -1
  207. data/spec/discovery/oauth/refresh_tokens_api_spec.rb +1 -1
  208. data/spec/discovery/oauth/tokens_api_spec.rb +1 -1
  209. data/spec/helpers/authorize_url_spec.rb +75 -0
  210. metadata +8 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2c752c107b386d795312696c8189ae9f8df886d2a8f8ef8598724b5411e92e6
4
- data.tar.gz: 5887a6799cd014e69612817eb022d45e7c9324d1438770c937225c499c17a06b
3
+ metadata.gz: c65b1899e69edcb77d187160ceb56978edd2117093505c1dd931448e20c39f9b
4
+ data.tar.gz: f9d4c851d037fd7233549dc92eb084db5c74dd03bbbeb3152a1d41590a0eb726
5
5
  SHA512:
6
- metadata.gz: 04a06eca1bbb17c4e71ed4c209f1637bead5e1afb318add65d80f14fa940551a784d2507d39644f25b4cd6f973e0b78ad0685482d474785019e5d8967003c0e8
7
- data.tar.gz: 902eaeb25c0d10fdced246c6b7d18b325633b049d07bedd3cb105816b6702f12c3fde6be5625a7f6fc8e7fc6fe63ce63551e56c7743603a00b1db1db95a2de2f
6
+ metadata.gz: 57bede9b4606c0977a9faeab6ba749909fae6a6b9adfd6445ec06889bed6a0be16375dd258597b7bf04a06a12548b8074debfcc9f5464133170bd14c6610740f
7
+ data.tar.gz: fd6a046cfb2a88c82c0b7ed0ec5a708f5c06c9d556e6f4675a3fb724f733ed8956ec4bfc257c7e5bd188fa387d6652895df09e75ddb858cb1c1b49d87bdac5e2
data/CHANGELOG.md CHANGED
@@ -5,9 +5,56 @@ 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/v17.0.0.pre.beta.4...HEAD)
8
+ ## [Unreleased](https://github.com/HubSpot/hubspot-api-ruby/compare/v17.1.0...HEAD)
9
9
 
10
10
 
11
+ ## [17.1.0] - 2023-08-07
12
+
13
+ ## Removed `hapikey` from
14
+
15
+ - `automation.actions.callbacksApi` Api.
16
+ - `cms` (all Api clients).
17
+ - `communicationPreferences` (all Api clients).
18
+ - `conversations` (all API clients).
19
+ - `crm` (all Api clients).
20
+ - `events` (all Api clients).
21
+ - `files` (all Api clients).
22
+ - `marketing.events.settingsExternalApi` Api.
23
+ - `marketing.transactional` Api client.
24
+
25
+ ## Updated
26
+
27
+ - Cnange type from `object` to `string` in `cms/hubdb/models/StandardError::category`.
28
+ - Cnange type from `StandardError[]` to `StandardError1[]` in `crm/associations/v4/models/BatchResponseSimplePublicObjectWithErrors::errors`.
29
+ - Cnange type from `ErrorCategory` to `string` in `crm/companies/models/StandardError::category`.
30
+ - Cnange type from `ErrorCategory` to `string` in `crm/contacts/models/StandardError::category`.
31
+ - Cnange type from `ErrorCategory` to `string` in `crm/deals/models/StandardError::category`.
32
+ - Cnange type from `ErrorCategory` to `string` in `crm/lineitems/models/StandardError::category`.
33
+ - Cnange type from `ErrorCategory` to `string` in `crm/objects/calls/models/StandardError::category`.
34
+ - Cnange type from `ErrorCategory` to `string` in `crm/objects/communications/models/StandardError::category`.
35
+ - Cnange type from `ErrorCategory` to `string` in `crm/objects/emails/models/StandardError::category`.
36
+ - Cnange type from `ErrorCategory` to `string` in `crm/objects/feedback_submissions/models/StandardError::category`.
37
+ - Cnange type from `ErrorCategory` to `string` in `crm/objects/meetings/models/StandardError::category`.
38
+ - Cnange type from `ErrorCategory` to `string` in `crm/objects/models/StandardError::category`.
39
+ - Cnange type from `ErrorCategory` to `string` in `crm/objects/notes/models/StandardError::category`.
40
+ - Cnange type from `ErrorCategory` to `string` in `crm/objects/postal_mail/models/StandardError::category`.
41
+ - Cnange type from `ErrorCategory` to `string` in `crm/objects/tasks/models/StandardError::category`.
42
+ - Cnange type from `ErrorCategory` to `string` in `crm/products/models/StandardError::category`.
43
+ - Cnange type from `ErrorCategory` to `string` in `crm/properties/models/StandardError::category`.
44
+ - Cnange type from `ErrorCategory` to `string` in `crm/quotes/models/StandardError::category`.
45
+ - Cnange type from `ErrorCategory` to `string` in `crm/tickets/models/StandardError::category`.
46
+ - Cnange type from `ErrorCategory` to `string` in `webhooks/models/StandardError::category`.
47
+
48
+ ## Fixed
49
+ - `Hubspot::Helpers::Path.require_with_codegen_mapping()`
50
+
51
+
52
+ ## [17.0.0] - 2023-06-14
53
+
54
+ ## Updated
55
+
56
+ - Fix `Hubspot::OAuthHelper.authorize_url()` (don't add empty scopes or optional scopes to OAuth url)
57
+
11
58
  ## [17.0.0.pre.beta.4] - 2023-05-17
12
59
 
13
60
  ## Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hubspot-api-client (17.0.0.pre.beta.4)
4
+ hubspot-api-client (17.1.0)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.4.0)
7
7
 
@@ -19,7 +19,7 @@ module Hubspot
19
19
  events
20
20
  files
21
21
  marketing
22
- o_auth
22
+ oauth
23
23
  settings
24
24
  webhooks
25
25
  ].freeze
@@ -76,7 +76,7 @@ module Hubspot
76
76
  return_type = opts[:debug_return_type]
77
77
 
78
78
  # auth_names
79
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
79
+ auth_names = opts[:debug_auth_names] || ['oauth2']
80
80
 
81
81
  new_options = opts.merge(
82
82
  :operation => :"CallbacksApi.complete",
@@ -144,7 +144,7 @@ module Hubspot
144
144
  return_type = opts[:debug_return_type]
145
145
 
146
146
  # auth_names
147
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
147
+ auth_names = opts[:debug_auth_names] || ['oauth2']
148
148
 
149
149
  new_options = opts.merge(
150
150
  :operation => :"CallbacksApi.complete_batch",
@@ -229,13 +229,6 @@ module Hubspot
229
229
  key: 'hapikey',
230
230
  value: api_key_with_prefix('developer_hapikey')
231
231
  },
232
- 'hapikey' =>
233
- {
234
- type: 'api_key',
235
- in: 'query',
236
- key: 'hapikey',
237
- value: api_key_with_prefix('hapikey')
238
- },
239
232
  'oauth2' =>
240
233
  {
241
234
  type: 'oauth2',
@@ -69,7 +69,7 @@ module Hubspot
69
69
  return_type = opts[:debug_return_type]
70
70
 
71
71
  # auth_names
72
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
72
+ auth_names = opts[:debug_auth_names] || ['oauth2']
73
73
 
74
74
  new_options = opts.merge(
75
75
  :operation => :"BlogAuthorsApi.archive",
@@ -137,7 +137,7 @@ module Hubspot
137
137
  return_type = opts[:debug_return_type]
138
138
 
139
139
  # auth_names
140
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
140
+ auth_names = opts[:debug_auth_names] || ['oauth2']
141
141
 
142
142
  new_options = opts.merge(
143
143
  :operation => :"BlogAuthorsApi.archive_batch",
@@ -205,7 +205,7 @@ module Hubspot
205
205
  return_type = opts[:debug_return_type] || 'Error'
206
206
 
207
207
  # auth_names
208
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
208
+ auth_names = opts[:debug_auth_names] || ['oauth2']
209
209
 
210
210
  new_options = opts.merge(
211
211
  :operation => :"BlogAuthorsApi.attach_to_lang_group",
@@ -273,7 +273,7 @@ module Hubspot
273
273
  return_type = opts[:debug_return_type] || 'BlogAuthor'
274
274
 
275
275
  # auth_names
276
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
276
+ auth_names = opts[:debug_auth_names] || ['oauth2']
277
277
 
278
278
  new_options = opts.merge(
279
279
  :operation => :"BlogAuthorsApi.create",
@@ -341,7 +341,7 @@ module Hubspot
341
341
  return_type = opts[:debug_return_type] || 'BatchResponseBlogAuthor'
342
342
 
343
343
  # auth_names
344
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
344
+ auth_names = opts[:debug_auth_names] || ['oauth2']
345
345
 
346
346
  new_options = opts.merge(
347
347
  :operation => :"BlogAuthorsApi.create_batch",
@@ -409,7 +409,7 @@ module Hubspot
409
409
  return_type = opts[:debug_return_type] || 'BlogAuthor'
410
410
 
411
411
  # auth_names
412
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
412
+ auth_names = opts[:debug_auth_names] || ['oauth2']
413
413
 
414
414
  new_options = opts.merge(
415
415
  :operation => :"BlogAuthorsApi.create_lang_variation",
@@ -477,7 +477,7 @@ module Hubspot
477
477
  return_type = opts[:debug_return_type] || 'Error'
478
478
 
479
479
  # auth_names
480
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
480
+ auth_names = opts[:debug_auth_names] || ['oauth2']
481
481
 
482
482
  new_options = opts.merge(
483
483
  :operation => :"BlogAuthorsApi.detach_from_lang_group",
@@ -543,7 +543,7 @@ module Hubspot
543
543
  return_type = opts[:debug_return_type] || 'BlogAuthor'
544
544
 
545
545
  # auth_names
546
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
546
+ auth_names = opts[:debug_auth_names] || ['oauth2']
547
547
 
548
548
  new_options = opts.merge(
549
549
  :operation => :"BlogAuthorsApi.get_by_id",
@@ -630,7 +630,7 @@ module Hubspot
630
630
  return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalBlogAuthorForwardPaging'
631
631
 
632
632
  # auth_names
633
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
633
+ auth_names = opts[:debug_auth_names] || ['oauth2']
634
634
 
635
635
  new_options = opts.merge(
636
636
  :operation => :"BlogAuthorsApi.get_page",
@@ -701,7 +701,7 @@ module Hubspot
701
701
  return_type = opts[:debug_return_type] || 'BatchResponseBlogAuthor'
702
702
 
703
703
  # auth_names
704
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
704
+ auth_names = opts[:debug_auth_names] || ['oauth2']
705
705
 
706
706
  new_options = opts.merge(
707
707
  :operation => :"BlogAuthorsApi.read_batch",
@@ -769,7 +769,7 @@ module Hubspot
769
769
  return_type = opts[:debug_return_type]
770
770
 
771
771
  # auth_names
772
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
772
+ auth_names = opts[:debug_auth_names] || ['oauth2']
773
773
 
774
774
  new_options = opts.merge(
775
775
  :operation => :"BlogAuthorsApi.set_lang_primary",
@@ -846,7 +846,7 @@ module Hubspot
846
846
  return_type = opts[:debug_return_type] || 'BlogAuthor'
847
847
 
848
848
  # auth_names
849
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
849
+ auth_names = opts[:debug_auth_names] || ['oauth2']
850
850
 
851
851
  new_options = opts.merge(
852
852
  :operation => :"BlogAuthorsApi.update",
@@ -917,7 +917,7 @@ module Hubspot
917
917
  return_type = opts[:debug_return_type] || 'BatchResponseBlogAuthor'
918
918
 
919
919
  # auth_names
920
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
920
+ auth_names = opts[:debug_auth_names] || ['oauth2']
921
921
 
922
922
  new_options = opts.merge(
923
923
  :operation => :"BlogAuthorsApi.update_batch",
@@ -985,7 +985,7 @@ module Hubspot
985
985
  return_type = opts[:debug_return_type] || 'Error'
986
986
 
987
987
  # auth_names
988
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
988
+ auth_names = opts[:debug_auth_names] || ['oauth2']
989
989
 
990
990
  new_options = opts.merge(
991
991
  :operation => :"BlogAuthorsApi.update_langs",
@@ -223,13 +223,6 @@ module Hubspot
223
223
  # Returns Auth Settings hash for api client.
224
224
  def auth_settings
225
225
  {
226
- 'hapikey' =>
227
- {
228
- type: 'api_key',
229
- in: 'query',
230
- key: 'hapikey',
231
- value: api_key_with_prefix('hapikey')
232
- },
233
226
  'oauth2' =>
234
227
  {
235
228
  type: 'oauth2',
@@ -69,7 +69,7 @@ module Hubspot
69
69
  return_type = opts[:debug_return_type]
70
70
 
71
71
  # auth_names
72
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
72
+ auth_names = opts[:debug_auth_names] || ['oauth2']
73
73
 
74
74
  new_options = opts.merge(
75
75
  :operation => :"BlogTagsApi.archive",
@@ -137,7 +137,7 @@ module Hubspot
137
137
  return_type = opts[:debug_return_type]
138
138
 
139
139
  # auth_names
140
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
140
+ auth_names = opts[:debug_auth_names] || ['oauth2']
141
141
 
142
142
  new_options = opts.merge(
143
143
  :operation => :"BlogTagsApi.archive_batch",
@@ -205,7 +205,7 @@ module Hubspot
205
205
  return_type = opts[:debug_return_type] || 'Error'
206
206
 
207
207
  # auth_names
208
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
208
+ auth_names = opts[:debug_auth_names] || ['oauth2']
209
209
 
210
210
  new_options = opts.merge(
211
211
  :operation => :"BlogTagsApi.attach_to_lang_group",
@@ -273,7 +273,7 @@ module Hubspot
273
273
  return_type = opts[:debug_return_type] || 'Tag'
274
274
 
275
275
  # auth_names
276
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
276
+ auth_names = opts[:debug_auth_names] || ['oauth2']
277
277
 
278
278
  new_options = opts.merge(
279
279
  :operation => :"BlogTagsApi.create",
@@ -341,7 +341,7 @@ module Hubspot
341
341
  return_type = opts[:debug_return_type] || 'BatchResponseTag'
342
342
 
343
343
  # auth_names
344
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
344
+ auth_names = opts[:debug_auth_names] || ['oauth2']
345
345
 
346
346
  new_options = opts.merge(
347
347
  :operation => :"BlogTagsApi.create_batch",
@@ -409,7 +409,7 @@ module Hubspot
409
409
  return_type = opts[:debug_return_type] || 'Tag'
410
410
 
411
411
  # auth_names
412
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
412
+ auth_names = opts[:debug_auth_names] || ['oauth2']
413
413
 
414
414
  new_options = opts.merge(
415
415
  :operation => :"BlogTagsApi.create_lang_variation",
@@ -477,7 +477,7 @@ module Hubspot
477
477
  return_type = opts[:debug_return_type] || 'Error'
478
478
 
479
479
  # auth_names
480
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
480
+ auth_names = opts[:debug_auth_names] || ['oauth2']
481
481
 
482
482
  new_options = opts.merge(
483
483
  :operation => :"BlogTagsApi.detach_from_lang_group",
@@ -543,7 +543,7 @@ module Hubspot
543
543
  return_type = opts[:debug_return_type] || 'Tag'
544
544
 
545
545
  # auth_names
546
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
546
+ auth_names = opts[:debug_auth_names] || ['oauth2']
547
547
 
548
548
  new_options = opts.merge(
549
549
  :operation => :"BlogTagsApi.get_by_id",
@@ -630,7 +630,7 @@ module Hubspot
630
630
  return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalTagForwardPaging'
631
631
 
632
632
  # auth_names
633
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
633
+ auth_names = opts[:debug_auth_names] || ['oauth2']
634
634
 
635
635
  new_options = opts.merge(
636
636
  :operation => :"BlogTagsApi.get_page",
@@ -701,7 +701,7 @@ module Hubspot
701
701
  return_type = opts[:debug_return_type] || 'BatchResponseTag'
702
702
 
703
703
  # auth_names
704
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
704
+ auth_names = opts[:debug_auth_names] || ['oauth2']
705
705
 
706
706
  new_options = opts.merge(
707
707
  :operation => :"BlogTagsApi.read_batch",
@@ -769,7 +769,7 @@ module Hubspot
769
769
  return_type = opts[:debug_return_type]
770
770
 
771
771
  # auth_names
772
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
772
+ auth_names = opts[:debug_auth_names] || ['oauth2']
773
773
 
774
774
  new_options = opts.merge(
775
775
  :operation => :"BlogTagsApi.set_lang_primary",
@@ -846,7 +846,7 @@ module Hubspot
846
846
  return_type = opts[:debug_return_type] || 'Tag'
847
847
 
848
848
  # auth_names
849
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
849
+ auth_names = opts[:debug_auth_names] || ['oauth2']
850
850
 
851
851
  new_options = opts.merge(
852
852
  :operation => :"BlogTagsApi.update",
@@ -917,7 +917,7 @@ module Hubspot
917
917
  return_type = opts[:debug_return_type] || 'BatchResponseTag'
918
918
 
919
919
  # auth_names
920
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
920
+ auth_names = opts[:debug_auth_names] || ['oauth2']
921
921
 
922
922
  new_options = opts.merge(
923
923
  :operation => :"BlogTagsApi.update_batch",
@@ -985,7 +985,7 @@ module Hubspot
985
985
  return_type = opts[:debug_return_type] || 'Error'
986
986
 
987
987
  # auth_names
988
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
988
+ auth_names = opts[:debug_auth_names] || ['oauth2']
989
989
 
990
990
  new_options = opts.merge(
991
991
  :operation => :"BlogTagsApi.update_langs",
@@ -223,13 +223,6 @@ module Hubspot
223
223
  # Returns Auth Settings hash for api client.
224
224
  def auth_settings
225
225
  {
226
- 'hapikey' =>
227
- {
228
- type: 'api_key',
229
- in: 'query',
230
- key: 'hapikey',
231
- value: api_key_with_prefix('hapikey')
232
- },
233
226
  'oauth2' =>
234
227
  {
235
228
  type: 'oauth2',
@@ -65,7 +65,7 @@ module Hubspot
65
65
  return_type = opts[:debug_return_type] || 'Domain'
66
66
 
67
67
  # auth_names
68
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
68
+ auth_names = opts[:debug_auth_names] || ['oauth2']
69
69
 
70
70
  new_options = opts.merge(
71
71
  :operation => :"DomainsApi.get_by_id",
@@ -152,7 +152,7 @@ module Hubspot
152
152
  return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalDomainForwardPaging'
153
153
 
154
154
  # auth_names
155
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
155
+ auth_names = opts[:debug_auth_names] || ['oauth2']
156
156
 
157
157
  new_options = opts.merge(
158
158
  :operation => :"DomainsApi.get_page",
@@ -222,13 +222,6 @@ module Hubspot
222
222
  # Returns Auth Settings hash for api client.
223
223
  def auth_settings
224
224
  {
225
- 'hapikey' =>
226
- {
227
- type: 'api_key',
228
- in: 'query',
229
- key: 'hapikey',
230
- value: api_key_with_prefix('hapikey')
231
- },
232
225
  'oauth2' =>
233
226
  {
234
227
  type: 'oauth2',
@@ -76,7 +76,7 @@ module Hubspot
76
76
  return_type = opts[:debug_return_type] || 'HubDbTableRowV3'
77
77
 
78
78
  # auth_names
79
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
79
+ auth_names = opts[:debug_auth_names] || ['oauth2']
80
80
 
81
81
  new_options = opts.merge(
82
82
  :operation => :"RowsApi.clone_draft_table_row",
@@ -150,7 +150,7 @@ module Hubspot
150
150
  return_type = opts[:debug_return_type] || 'HubDbTableRowV3'
151
151
 
152
152
  # auth_names
153
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
153
+ auth_names = opts[:debug_auth_names] || ['oauth2']
154
154
 
155
155
  new_options = opts.merge(
156
156
  :operation => :"RowsApi.create_table_row",
@@ -224,7 +224,7 @@ module Hubspot
224
224
  return_type = opts[:debug_return_type] || 'HubDbTableRowV3'
225
225
 
226
226
  # auth_names
227
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
227
+ auth_names = opts[:debug_auth_names] || ['oauth2']
228
228
 
229
229
  new_options = opts.merge(
230
230
  :operation => :"RowsApi.get_draft_table_row_by_id",
@@ -298,7 +298,7 @@ module Hubspot
298
298
  return_type = opts[:debug_return_type] || 'HubDbTableRowV3'
299
299
 
300
300
  # auth_names
301
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
301
+ auth_names = opts[:debug_auth_names] || ['oauth2']
302
302
 
303
303
  new_options = opts.merge(
304
304
  :operation => :"RowsApi.get_table_row",
@@ -373,7 +373,7 @@ module Hubspot
373
373
  return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalHubDbTableRowV3ForwardPaging'
374
374
 
375
375
  # auth_names
376
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
376
+ auth_names = opts[:debug_auth_names] || ['oauth2']
377
377
 
378
378
  new_options = opts.merge(
379
379
  :operation => :"RowsApi.get_table_rows",
@@ -447,7 +447,7 @@ module Hubspot
447
447
  return_type = opts[:debug_return_type]
448
448
 
449
449
  # auth_names
450
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
450
+ auth_names = opts[:debug_auth_names] || ['oauth2']
451
451
 
452
452
  new_options = opts.merge(
453
453
  :operation => :"RowsApi.purge_draft_table_row",
@@ -522,7 +522,7 @@ module Hubspot
522
522
  return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalHubDbTableRowV3ForwardPaging'
523
523
 
524
524
  # auth_names
525
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
525
+ auth_names = opts[:debug_auth_names] || ['oauth2']
526
526
 
527
527
  new_options = opts.merge(
528
528
  :operation => :"RowsApi.read_draft_table_rows",
@@ -607,7 +607,7 @@ module Hubspot
607
607
  return_type = opts[:debug_return_type] || 'HubDbTableRowV3'
608
608
 
609
609
  # auth_names
610
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
610
+ auth_names = opts[:debug_auth_names] || ['oauth2']
611
611
 
612
612
  new_options = opts.merge(
613
613
  :operation => :"RowsApi.replace_draft_table_row",
@@ -692,7 +692,7 @@ module Hubspot
692
692
  return_type = opts[:debug_return_type] || 'HubDbTableRowV3'
693
693
 
694
694
  # auth_names
695
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
695
+ auth_names = opts[:debug_auth_names] || ['oauth2']
696
696
 
697
697
  new_options = opts.merge(
698
698
  :operation => :"RowsApi.update_draft_table_row",
@@ -22,7 +22,7 @@ module Hubspot
22
22
  @api_client = api_client
23
23
  end
24
24
  # Clone rows in batch
25
- # Clones rows in the `draft` version of the specified table, given a set of row ids.
25
+ # Clones rows in the `draft` version of the specified table, given a set of row ids. Maximum of 100 row ids per call.
26
26
  # @param table_id_or_name [String] The ID or name of the table
27
27
  # @param batch_input_string [BatchInputString] The JSON array of row ids
28
28
  # @param [Hash] opts the optional parameters
@@ -33,7 +33,7 @@ module Hubspot
33
33
  end
34
34
 
35
35
  # Clone rows in batch
36
- # Clones rows in the `draft` version of the specified table, given a set of row ids.
36
+ # Clones rows in the `draft` version of the specified table, given a set of row ids. Maximum of 100 row ids per call.
37
37
  # @param table_id_or_name [String] The ID or name of the table
38
38
  # @param batch_input_string [BatchInputString] The JSON array of row ids
39
39
  # @param [Hash] opts the optional parameters
@@ -76,7 +76,7 @@ module Hubspot
76
76
  return_type = opts[:debug_return_type] || 'BatchResponseHubDbTableRowV3'
77
77
 
78
78
  # auth_names
79
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
79
+ auth_names = opts[:debug_auth_names] || ['oauth2']
80
80
 
81
81
  new_options = opts.merge(
82
82
  :operation => :"RowsBatchApi.clone_draft_table_rows",
@@ -96,7 +96,7 @@ module Hubspot
96
96
  end
97
97
 
98
98
  # Create rows in batch
99
- # 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.
99
+ # Creates rows in the `draft` version of the specified table, given an array of row objects. Maximum of 100 row object per call. See the overview section for more details with an example.
100
100
  # @param table_id_or_name [String] The ID or name of the table
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
@@ -107,7 +107,7 @@ module Hubspot
107
107
  end
108
108
 
109
109
  # Create rows in batch
110
- # 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.
110
+ # Creates rows in the `draft` version of the specified table, given an array of row objects. Maximum of 100 row object per call. See the overview section for more details with an example.
111
111
  # @param table_id_or_name [String] The ID or name of the table
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
@@ -150,7 +150,7 @@ module Hubspot
150
150
  return_type = opts[:debug_return_type] || 'BatchResponseHubDbTableRowV3'
151
151
 
152
152
  # auth_names
153
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
153
+ auth_names = opts[:debug_auth_names] || ['oauth2']
154
154
 
155
155
  new_options = opts.merge(
156
156
  :operation => :"RowsBatchApi.create_draft_table_rows",
@@ -170,7 +170,7 @@ module Hubspot
170
170
  end
171
171
 
172
172
  # Permanently deletes rows
173
- # Permanently deletes rows from the `draft` version of the table, given a set of row ids.
173
+ # Permanently deletes rows from the `draft` version of the table, given a set of row ids. Maximum of 100 row ids per call.
174
174
  # @param table_id_or_name [String] The ID or name of the table
175
175
  # @param batch_input_string [BatchInputString] JSON array of row ids.
176
176
  # @param [Hash] opts the optional parameters
@@ -181,7 +181,7 @@ module Hubspot
181
181
  end
182
182
 
183
183
  # Permanently deletes rows
184
- # Permanently deletes rows from the `draft` version of the table, given a set of row ids.
184
+ # Permanently deletes rows from the `draft` version of the table, given a set of row ids. Maximum of 100 row ids per call.
185
185
  # @param table_id_or_name [String] The ID or name of the table
186
186
  # @param batch_input_string [BatchInputString] JSON array of row ids.
187
187
  # @param [Hash] opts the optional parameters
@@ -224,7 +224,7 @@ module Hubspot
224
224
  return_type = opts[:debug_return_type]
225
225
 
226
226
  # auth_names
227
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
227
+ auth_names = opts[:debug_auth_names] || ['oauth2']
228
228
 
229
229
  new_options = opts.merge(
230
230
  :operation => :"RowsBatchApi.purge_draft_table_rows",
@@ -298,7 +298,7 @@ module Hubspot
298
298
  return_type = opts[:debug_return_type] || 'BatchResponseHubDbTableRowV3'
299
299
 
300
300
  # auth_names
301
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
301
+ auth_names = opts[:debug_auth_names] || ['oauth2']
302
302
 
303
303
  new_options = opts.merge(
304
304
  :operation => :"RowsBatchApi.read_draft_table_rows",
@@ -372,7 +372,7 @@ module Hubspot
372
372
  return_type = opts[:debug_return_type] || 'BatchResponseHubDbTableRowV3'
373
373
 
374
374
  # auth_names
375
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
375
+ auth_names = opts[:debug_auth_names] || ['oauth2']
376
376
 
377
377
  new_options = opts.merge(
378
378
  :operation => :"RowsBatchApi.read_table_rows",
@@ -392,7 +392,7 @@ module Hubspot
392
392
  end
393
393
 
394
394
  # Replace rows in batch in draft table
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.
395
+ # Replaces multiple rows as a batch in the `draft` version of the table, with a maximum of 100 rows per call. 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
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
@@ -403,7 +403,7 @@ module Hubspot
403
403
  end
404
404
 
405
405
  # Replace rows in batch in draft table
406
- # 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.
406
+ # Replaces multiple rows as a batch in the `draft` version of the table, with a maximum of 100 rows per call. See the endpoint `PUT /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.
407
407
  # @param table_id_or_name [String] The ID or name of the table
408
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
@@ -446,7 +446,7 @@ module Hubspot
446
446
  return_type = opts[:debug_return_type] || 'BatchResponseHubDbTableRowV3'
447
447
 
448
448
  # auth_names
449
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
449
+ auth_names = opts[:debug_auth_names] || ['oauth2']
450
450
 
451
451
  new_options = opts.merge(
452
452
  :operation => :"RowsBatchApi.replace_draft_table_rows",
@@ -466,7 +466,7 @@ module Hubspot
466
466
  end
467
467
 
468
468
  # Update rows in batch in draft table
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.
469
+ # Updates multiple rows as a batch in the `draft` version of the table, with a maximum of 100 rows per call. 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
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
@@ -477,7 +477,7 @@ module Hubspot
477
477
  end
478
478
 
479
479
  # Update rows in batch in draft table
480
- # 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.
480
+ # Updates multiple rows as a batch in the `draft` version of the table, with a maximum of 100 rows per call. See the endpoint `PATCH /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.
481
481
  # @param table_id_or_name [String] The ID or name of the table
482
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
@@ -520,7 +520,7 @@ module Hubspot
520
520
  return_type = opts[:debug_return_type] || 'BatchResponseHubDbTableRowV3'
521
521
 
522
522
  # auth_names
523
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
523
+ auth_names = opts[:debug_auth_names] || ['oauth2']
524
524
 
525
525
  new_options = opts.merge(
526
526
  :operation => :"RowsBatchApi.update_draft_table_rows",