hubspot-api-client 17.0.0 → 17.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +50 -2
  3. data/Gemfile.lock +1 -1
  4. data/lib/hubspot/codegen/automation/actions/api/callbacks_api.rb +2 -2
  5. data/lib/hubspot/codegen/automation/actions/configuration.rb +0 -7
  6. data/lib/hubspot/codegen/cms/blogs/authors/api/blog_authors_api.rb +14 -14
  7. data/lib/hubspot/codegen/cms/blogs/authors/configuration.rb +0 -7
  8. data/lib/hubspot/codegen/cms/blogs/tags/api/blog_tags_api.rb +14 -14
  9. data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +0 -7
  10. data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +2 -2
  11. data/lib/hubspot/codegen/cms/domains/configuration.rb +0 -7
  12. data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +9 -9
  13. data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +17 -17
  14. data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +14 -14
  15. data/lib/hubspot/codegen/cms/hubdb/configuration.rb +0 -7
  16. data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +19 -19
  17. data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +1 -1
  18. data/lib/hubspot/codegen/cms/performance/api/public_performance_api.rb +2 -2
  19. data/lib/hubspot/codegen/cms/performance/configuration.rb +0 -7
  20. data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +3 -3
  21. data/lib/hubspot/codegen/crm/associations/configuration.rb +0 -7
  22. data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +1 -1
  23. data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +0 -7
  24. data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +6 -6
  25. data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +5 -5
  26. data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +0 -7
  27. data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +18 -18
  28. data/lib/hubspot/codegen/crm/associations/v4/models/batch_read_input_simple_public_object_id.rb +20 -20
  29. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +41 -41
  30. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +52 -52
  31. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +41 -41
  32. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +52 -52
  33. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +52 -52
  34. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object.rb +41 -41
  35. data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object_with_errors.rb +52 -52
  36. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_associated_id.rb +13 -13
  37. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +13 -13
  38. data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
  39. data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +50 -50
  40. data/lib/hubspot/codegen/crm/associations/v4/models/error_category.rb +18 -18
  41. data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +28 -28
  42. data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +19 -19
  43. data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +18 -18
  44. data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +13 -13
  45. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_create_request.rb +18 -18
  46. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_update_request.rb +18 -18
  47. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +20 -20
  48. data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +13 -13
  49. data/lib/hubspot/codegen/crm/associations/v4/models/public_associations_for_object.rb +18 -18
  50. data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +18 -18
  51. data/lib/hubspot/codegen/crm/associations/v4/models/public_gdpr_delete_input.rb +13 -13
  52. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object.rb +44 -44
  53. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_batch_input.rb +18 -18
  54. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_input_for_create.rb +20 -20
  55. data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_with_associations.rb +49 -49
  56. data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +46 -46
  57. data/lib/hubspot/codegen/crm/associations/v4/models/standard_error1.rb +324 -0
  58. data/lib/hubspot/codegen/crm/associations/v4/models/value_with_timestamp.rb +33 -33
  59. data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +4 -4
  60. data/lib/hubspot/codegen/crm/associations/v4/schema/configuration.rb +0 -7
  61. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +5 -5
  62. data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +4 -4
  63. data/lib/hubspot/codegen/crm/companies/api/public_object_api.rb +1 -1
  64. data/lib/hubspot/codegen/crm/companies/api/search_api.rb +1 -1
  65. data/lib/hubspot/codegen/crm/companies/configuration.rb +0 -7
  66. data/lib/hubspot/codegen/crm/companies/models/standard_error.rb +1 -1
  67. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +5 -5
  68. data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +4 -4
  69. data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +1 -1
  70. data/lib/hubspot/codegen/crm/contacts/api/public_object_api.rb +1 -1
  71. data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +1 -1
  72. data/lib/hubspot/codegen/crm/contacts/configuration.rb +0 -7
  73. data/lib/hubspot/codegen/crm/contacts/models/standard_error.rb +1 -1
  74. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +5 -5
  75. data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +4 -4
  76. data/lib/hubspot/codegen/crm/deals/api/public_object_api.rb +1 -1
  77. data/lib/hubspot/codegen/crm/deals/api/search_api.rb +1 -1
  78. data/lib/hubspot/codegen/crm/deals/configuration.rb +0 -7
  79. data/lib/hubspot/codegen/crm/deals/models/standard_error.rb +1 -1
  80. data/lib/hubspot/codegen/crm/extensions/accounting/api/callbacks_api.rb +10 -10
  81. data/lib/hubspot/codegen/crm/extensions/accounting/api/invoice_api.rb +3 -3
  82. data/lib/hubspot/codegen/crm/extensions/accounting/api/settings_api.rb +2 -2
  83. data/lib/hubspot/codegen/crm/extensions/accounting/api/sync_api.rb +2 -2
  84. data/lib/hubspot/codegen/crm/extensions/accounting/api/user_accounts_api.rb +2 -2
  85. data/lib/hubspot/codegen/crm/extensions/accounting/configuration.rb +0 -7
  86. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api/settings_api.rb +3 -3
  87. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_client.rb +0 -1
  88. data/lib/hubspot/codegen/crm/extensions/videoconferencing/configuration.rb +0 -7
  89. data/lib/hubspot/codegen/crm/imports/api/core_api.rb +4 -4
  90. data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +1 -1
  91. data/lib/hubspot/codegen/crm/imports/configuration.rb +0 -7
  92. data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +5 -5
  93. data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +4 -4
  94. data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +1 -1
  95. data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +1 -1
  96. data/lib/hubspot/codegen/crm/line_items/configuration.rb +0 -7
  97. data/lib/hubspot/codegen/crm/line_items/models/standard_error.rb +1 -1
  98. data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +3 -3
  99. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +5 -5
  100. data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +4 -4
  101. data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +1 -1
  102. data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +1 -1
  103. data/lib/hubspot/codegen/crm/objects/api/search_api.rb +1 -1
  104. data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +5 -5
  105. data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +4 -4
  106. data/lib/hubspot/codegen/crm/objects/calls/api/public_object_api.rb +1 -1
  107. data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +1 -1
  108. data/lib/hubspot/codegen/crm/objects/calls/configuration.rb +0 -7
  109. data/lib/hubspot/codegen/crm/objects/calls/models/standard_error.rb +1 -1
  110. data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +5 -5
  111. data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +4 -4
  112. data/lib/hubspot/codegen/crm/objects/communications/api/public_object_api.rb +1 -1
  113. data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +1 -1
  114. data/lib/hubspot/codegen/crm/objects/communications/configuration.rb +0 -7
  115. data/lib/hubspot/codegen/crm/objects/communications/models/standard_error.rb +1 -1
  116. data/lib/hubspot/codegen/crm/objects/configuration.rb +0 -7
  117. data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +5 -5
  118. data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +4 -4
  119. data/lib/hubspot/codegen/crm/objects/emails/api/public_object_api.rb +1 -1
  120. data/lib/hubspot/codegen/crm/objects/emails/api/search_api.rb +1 -1
  121. data/lib/hubspot/codegen/crm/objects/emails/configuration.rb +0 -7
  122. data/lib/hubspot/codegen/crm/objects/emails/models/standard_error.rb +1 -1
  123. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +5 -5
  124. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +4 -4
  125. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +1 -1
  126. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/search_api.rb +1 -1
  127. data/lib/hubspot/codegen/crm/objects/feedback_submissions/configuration.rb +0 -7
  128. data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/standard_error.rb +1 -1
  129. data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +5 -5
  130. data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +4 -4
  131. data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +1 -1
  132. data/lib/hubspot/codegen/crm/objects/meetings/api/search_api.rb +1 -1
  133. data/lib/hubspot/codegen/crm/objects/meetings/configuration.rb +0 -7
  134. data/lib/hubspot/codegen/crm/objects/meetings/models/standard_error.rb +1 -1
  135. data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +1 -1
  136. data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +5 -5
  137. data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +4 -4
  138. data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +1 -1
  139. data/lib/hubspot/codegen/crm/objects/notes/api/search_api.rb +1 -1
  140. data/lib/hubspot/codegen/crm/objects/notes/configuration.rb +0 -7
  141. data/lib/hubspot/codegen/crm/objects/notes/models/standard_error.rb +1 -1
  142. data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +5 -5
  143. data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +4 -4
  144. data/lib/hubspot/codegen/crm/objects/postal_mail/api/public_object_api.rb +1 -1
  145. data/lib/hubspot/codegen/crm/objects/postal_mail/api/search_api.rb +1 -1
  146. data/lib/hubspot/codegen/crm/objects/postal_mail/configuration.rb +0 -7
  147. data/lib/hubspot/codegen/crm/objects/postal_mail/models/standard_error.rb +1 -1
  148. data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +5 -5
  149. data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +4 -4
  150. data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +1 -1
  151. data/lib/hubspot/codegen/crm/objects/tasks/api/search_api.rb +1 -1
  152. data/lib/hubspot/codegen/crm/objects/tasks/configuration.rb +0 -7
  153. data/lib/hubspot/codegen/crm/objects/tasks/models/standard_error.rb +1 -1
  154. data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +2 -2
  155. data/lib/hubspot/codegen/crm/owners/configuration.rb +0 -7
  156. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +1 -1
  157. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +1 -1
  158. data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +6 -6
  159. data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +6 -6
  160. data/lib/hubspot/codegen/crm/pipelines/configuration.rb +0 -7
  161. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +5 -5
  162. data/lib/hubspot/codegen/crm/products/api/batch_api.rb +4 -4
  163. data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +1 -1
  164. data/lib/hubspot/codegen/crm/products/api/search_api.rb +1 -1
  165. data/lib/hubspot/codegen/crm/products/configuration.rb +0 -7
  166. data/lib/hubspot/codegen/crm/products/models/standard_error.rb +1 -1
  167. data/lib/hubspot/codegen/crm/properties/api/batch_api.rb +3 -3
  168. data/lib/hubspot/codegen/crm/properties/api/core_api.rb +5 -5
  169. data/lib/hubspot/codegen/crm/properties/api/groups_api.rb +5 -5
  170. data/lib/hubspot/codegen/crm/properties/configuration.rb +0 -7
  171. data/lib/hubspot/codegen/crm/properties/models/standard_error.rb +1 -1
  172. data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +5 -5
  173. data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +4 -4
  174. data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +1 -1
  175. data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +1 -1
  176. data/lib/hubspot/codegen/crm/quotes/configuration.rb +0 -7
  177. data/lib/hubspot/codegen/crm/quotes/models/standard_error.rb +1 -1
  178. data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +7 -7
  179. data/lib/hubspot/codegen/crm/schemas/api/public_object_schemas_api.rb +1 -1
  180. data/lib/hubspot/codegen/crm/schemas/configuration.rb +0 -7
  181. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +5 -5
  182. data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +4 -4
  183. data/lib/hubspot/codegen/crm/tickets/api/public_object_api.rb +1 -1
  184. data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +1 -1
  185. data/lib/hubspot/codegen/crm/tickets/configuration.rb +0 -7
  186. data/lib/hubspot/codegen/crm/tickets/models/standard_error.rb +1 -1
  187. data/lib/hubspot/codegen/events/api/events_api.rb +1 -1
  188. data/lib/hubspot/codegen/events/configuration.rb +0 -7
  189. data/lib/hubspot/codegen/files/files/api/files_api.rb +10 -10
  190. data/lib/hubspot/codegen/files/files/api/folders_api.rb +8 -8
  191. data/lib/hubspot/codegen/files/files/configuration.rb +0 -7
  192. data/lib/hubspot/codegen/marketing/forms/api/forms_api.rb +6 -6
  193. data/lib/hubspot/codegen/marketing/forms/configuration.rb +0 -7
  194. data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +1 -1
  195. data/lib/hubspot/codegen/marketing/transactional/configuration.rb +0 -7
  196. data/lib/hubspot/codegen/webhooks/models/standard_error.rb +1 -1
  197. data/lib/hubspot/discovery/base_api_client.rb +1 -1
  198. data/lib/hubspot/helpers/path.rb +0 -6
  199. data/lib/hubspot/version.rb +1 -1
  200. data/pkg/hubspot-api-client-17.0.0.gem +0 -0
  201. metadata +4 -2
@@ -68,7 +68,7 @@ module Hubspot
68
68
  return_type = opts[:debug_return_type]
69
69
 
70
70
  # auth_names
71
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
71
+ auth_names = opts[:debug_auth_names] || ['oauth2']
72
72
 
73
73
  new_options = opts.merge(
74
74
  :operation => :"CoreApi.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 => :"CoreApi.archive_association",
@@ -205,7 +205,7 @@ module Hubspot
205
205
  return_type = opts[:debug_return_type] || 'ObjectSchema'
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 => :"CoreApi.create",
@@ -279,7 +279,7 @@ module Hubspot
279
279
  return_type = opts[:debug_return_type] || 'AssociationDefinition'
280
280
 
281
281
  # auth_names
282
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
282
+ auth_names = opts[:debug_auth_names] || ['oauth2']
283
283
 
284
284
  new_options = opts.merge(
285
285
  :operation => :"CoreApi.create_association",
@@ -339,7 +339,7 @@ module Hubspot
339
339
  return_type = opts[:debug_return_type] || 'CollectionResponseObjectSchemaNoPaging'
340
340
 
341
341
  # auth_names
342
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
342
+ auth_names = opts[:debug_auth_names] || ['oauth2']
343
343
 
344
344
  new_options = opts.merge(
345
345
  :operation => :"CoreApi.get_all",
@@ -402,7 +402,7 @@ module Hubspot
402
402
  return_type = opts[:debug_return_type] || 'ObjectSchema'
403
403
 
404
404
  # auth_names
405
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
405
+ auth_names = opts[:debug_auth_names] || ['oauth2']
406
406
 
407
407
  new_options = opts.merge(
408
408
  :operation => :"CoreApi.get_by_id",
@@ -476,7 +476,7 @@ module Hubspot
476
476
  return_type = opts[:debug_return_type] || 'ObjectTypeDefinition'
477
477
 
478
478
  # auth_names
479
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
479
+ auth_names = opts[:debug_auth_names] || ['oauth2']
480
480
 
481
481
  new_options = opts.merge(
482
482
  :operation => :"CoreApi.update",
@@ -61,7 +61,7 @@ module Hubspot
61
61
  return_type = opts[:debug_return_type]
62
62
 
63
63
  # auth_names
64
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
64
+ auth_names = opts[:debug_auth_names] || ['oauth2']
65
65
 
66
66
  new_options = opts.merge(
67
67
  :operation => :"PublicObjectSchemasApi.purge",
@@ -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',
@@ -67,7 +67,7 @@ module Hubspot
67
67
  return_type = opts[:debug_return_type]
68
68
 
69
69
  # auth_names
70
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
70
+ auth_names = opts[:debug_auth_names] || ['oauth2']
71
71
 
72
72
  new_options = opts.merge(
73
73
  :operation => :"BasicApi.archive",
@@ -135,7 +135,7 @@ module Hubspot
135
135
  return_type = opts[:debug_return_type] || 'SimplePublicObject'
136
136
 
137
137
  # auth_names
138
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
138
+ auth_names = opts[:debug_auth_names] || ['oauth2']
139
139
 
140
140
  new_options = opts.merge(
141
141
  :operation => :"BasicApi.create",
@@ -213,7 +213,7 @@ module Hubspot
213
213
  return_type = opts[:debug_return_type] || 'SimplePublicObjectWithAssociations'
214
214
 
215
215
  # auth_names
216
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
216
+ auth_names = opts[:debug_auth_names] || ['oauth2']
217
217
 
218
218
  new_options = opts.merge(
219
219
  :operation => :"BasicApi.get_by_id",
@@ -288,7 +288,7 @@ module Hubspot
288
288
  return_type = opts[:debug_return_type] || 'CollectionResponseSimplePublicObjectWithAssociationsForwardPaging'
289
289
 
290
290
  # auth_names
291
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
291
+ auth_names = opts[:debug_auth_names] || ['oauth2']
292
292
 
293
293
  new_options = opts.merge(
294
294
  :operation => :"BasicApi.get_page",
@@ -365,7 +365,7 @@ module Hubspot
365
365
  return_type = opts[:debug_return_type] || 'SimplePublicObject'
366
366
 
367
367
  # auth_names
368
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
368
+ auth_names = opts[:debug_auth_names] || ['oauth2']
369
369
 
370
370
  new_options = opts.merge(
371
371
  :operation => :"BasicApi.update",
@@ -68,7 +68,7 @@ module Hubspot
68
68
  return_type = opts[:debug_return_type]
69
69
 
70
70
  # auth_names
71
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
71
+ auth_names = opts[:debug_auth_names] || ['oauth2']
72
72
 
73
73
  new_options = opts.merge(
74
74
  :operation => :"BatchApi.archive",
@@ -134,7 +134,7 @@ module Hubspot
134
134
  return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
135
135
 
136
136
  # auth_names
137
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
137
+ auth_names = opts[:debug_auth_names] || ['oauth2']
138
138
 
139
139
  new_options = opts.merge(
140
140
  :operation => :"BatchApi.create",
@@ -203,7 +203,7 @@ module Hubspot
203
203
  return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
204
204
 
205
205
  # auth_names
206
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
206
+ auth_names = opts[:debug_auth_names] || ['oauth2']
207
207
 
208
208
  new_options = opts.merge(
209
209
  :operation => :"BatchApi.read",
@@ -269,7 +269,7 @@ module Hubspot
269
269
  return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
270
270
 
271
271
  # auth_names
272
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
272
+ auth_names = opts[:debug_auth_names] || ['oauth2']
273
273
 
274
274
  new_options = opts.merge(
275
275
  :operation => :"BatchApi.update",
@@ -68,7 +68,7 @@ module Hubspot
68
68
  return_type = opts[:debug_return_type] || 'SimplePublicObject'
69
69
 
70
70
  # auth_names
71
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
71
+ auth_names = opts[:debug_auth_names] || ['oauth2']
72
72
 
73
73
  new_options = opts.merge(
74
74
  :operation => :"PublicObjectApi.merge",
@@ -66,7 +66,7 @@ module Hubspot
66
66
  return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalSimplePublicObjectForwardPaging'
67
67
 
68
68
  # auth_names
69
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
69
+ auth_names = opts[:debug_auth_names] || ['oauth2']
70
70
 
71
71
  new_options = opts.merge(
72
72
  :operation => :"SearchApi.do_search",
@@ -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',
@@ -57,7 +57,7 @@ module Hubspot
57
57
  {
58
58
  :'status' => :'String',
59
59
  :'id' => :'String',
60
- :'category' => :'ErrorCategory',
60
+ :'category' => :'String',
61
61
  :'sub_category' => :'Object',
62
62
  :'message' => :'String',
63
63
  :'errors' => :'Array<ErrorDetail>',
@@ -83,7 +83,7 @@ module Hubspot
83
83
  return_type = opts[:debug_return_type] || 'CollectionResponseExternalUnifiedEvent'
84
84
 
85
85
  # auth_names
86
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
86
+ auth_names = opts[:debug_auth_names] || ['oauth2']
87
87
 
88
88
  new_options = opts.merge(
89
89
  :operation => :"EventsApi.get_page",
@@ -221,13 +221,6 @@ module Hubspot
221
221
  # Returns Auth Settings hash for api client.
222
222
  def auth_settings
223
223
  {
224
- 'hapikey' =>
225
- {
226
- type: 'api_key',
227
- in: 'query',
228
- key: 'hapikey',
229
- value: api_key_with_prefix('hapikey')
230
- },
231
224
  'oauth2' =>
232
225
  {
233
226
  type: 'oauth2',
@@ -70,7 +70,7 @@ module Hubspot
70
70
  return_type = opts[:debug_return_type]
71
71
 
72
72
  # auth_names
73
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
73
+ auth_names = opts[:debug_auth_names] || ['oauth2']
74
74
 
75
75
  new_options = opts.merge(
76
76
  :operation => :"FilesApi.archive",
@@ -138,7 +138,7 @@ module Hubspot
138
138
  return_type = opts[:debug_return_type]
139
139
 
140
140
  # auth_names
141
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
141
+ auth_names = opts[:debug_auth_names] || ['oauth2']
142
142
 
143
143
  new_options = opts.merge(
144
144
  :operation => :"FilesApi.archive_gdpr",
@@ -201,7 +201,7 @@ module Hubspot
201
201
  return_type = opts[:debug_return_type] || 'FileActionResponse'
202
202
 
203
203
  # auth_names
204
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
204
+ auth_names = opts[:debug_auth_names] || ['oauth2']
205
205
 
206
206
  new_options = opts.merge(
207
207
  :operation => :"FilesApi.check_import",
@@ -330,7 +330,7 @@ module Hubspot
330
330
  return_type = opts[:debug_return_type] || 'CollectionResponseFile'
331
331
 
332
332
  # auth_names
333
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
333
+ auth_names = opts[:debug_auth_names] || ['oauth2']
334
334
 
335
335
  new_options = opts.merge(
336
336
  :operation => :"FilesApi.do_search",
@@ -401,7 +401,7 @@ module Hubspot
401
401
  return_type = opts[:debug_return_type] || 'HubspotFile'
402
402
 
403
403
  # auth_names
404
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
404
+ auth_names = opts[:debug_auth_names] || ['oauth2']
405
405
 
406
406
  new_options = opts.merge(
407
407
  :operation => :"FilesApi.get_by_id",
@@ -482,7 +482,7 @@ module Hubspot
482
482
  return_type = opts[:debug_return_type] || 'SignedUrl'
483
483
 
484
484
  # auth_names
485
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
485
+ auth_names = opts[:debug_auth_names] || ['oauth2']
486
486
 
487
487
  new_options = opts.merge(
488
488
  :operation => :"FilesApi.get_signed_url",
@@ -550,7 +550,7 @@ module Hubspot
550
550
  return_type = opts[:debug_return_type] || 'ImportFromUrlTaskLocator'
551
551
 
552
552
  # auth_names
553
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
553
+ auth_names = opts[:debug_auth_names] || ['oauth2']
554
554
 
555
555
  new_options = opts.merge(
556
556
  :operation => :"FilesApi.import_from_url",
@@ -632,7 +632,7 @@ module Hubspot
632
632
  return_type = opts[:debug_return_type] || 'HubspotFile'
633
633
 
634
634
  # auth_names
635
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
635
+ auth_names = opts[:debug_auth_names] || ['oauth2']
636
636
 
637
637
  new_options = opts.merge(
638
638
  :operation => :"FilesApi.replace",
@@ -711,7 +711,7 @@ module Hubspot
711
711
  return_type = opts[:debug_return_type] || 'HubspotFile'
712
712
 
713
713
  # auth_names
714
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
714
+ auth_names = opts[:debug_auth_names] || ['oauth2']
715
715
 
716
716
  new_options = opts.merge(
717
717
  :operation => :"FilesApi.update_properties",
@@ -791,7 +791,7 @@ module Hubspot
791
791
  return_type = opts[:debug_return_type] || 'HubspotFile'
792
792
 
793
793
  # auth_names
794
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
794
+ auth_names = opts[:debug_auth_names] || ['oauth2']
795
795
 
796
796
  new_options = opts.merge(
797
797
  :operation => :"FilesApi.upload",
@@ -70,7 +70,7 @@ module Hubspot
70
70
  return_type = opts[:debug_return_type]
71
71
 
72
72
  # auth_names
73
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
73
+ auth_names = opts[:debug_auth_names] || ['oauth2']
74
74
 
75
75
  new_options = opts.merge(
76
76
  :operation => :"FoldersApi.archive",
@@ -138,7 +138,7 @@ module Hubspot
138
138
  return_type = opts[:debug_return_type]
139
139
 
140
140
  # auth_names
141
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
141
+ auth_names = opts[:debug_auth_names] || ['oauth2']
142
142
 
143
143
  new_options = opts.merge(
144
144
  :operation => :"FoldersApi.archive_by_path",
@@ -201,7 +201,7 @@ module Hubspot
201
201
  return_type = opts[:debug_return_type] || 'FolderActionResponse'
202
202
 
203
203
  # auth_names
204
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
204
+ auth_names = opts[:debug_auth_names] || ['oauth2']
205
205
 
206
206
  new_options = opts.merge(
207
207
  :operation => :"FoldersApi.check_update_status",
@@ -269,7 +269,7 @@ module Hubspot
269
269
  return_type = opts[:debug_return_type] || 'Folder'
270
270
 
271
271
  # auth_names
272
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
272
+ auth_names = opts[:debug_auth_names] || ['oauth2']
273
273
 
274
274
  new_options = opts.merge(
275
275
  :operation => :"FoldersApi.create",
@@ -371,7 +371,7 @@ module Hubspot
371
371
  return_type = opts[:debug_return_type] || 'CollectionResponseFolder'
372
372
 
373
373
  # auth_names
374
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
374
+ auth_names = opts[:debug_auth_names] || ['oauth2']
375
375
 
376
376
  new_options = opts.merge(
377
377
  :operation => :"FoldersApi.do_search",
@@ -442,7 +442,7 @@ module Hubspot
442
442
  return_type = opts[:debug_return_type] || 'Folder'
443
443
 
444
444
  # auth_names
445
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
445
+ auth_names = opts[:debug_auth_names] || ['oauth2']
446
446
 
447
447
  new_options = opts.merge(
448
448
  :operation => :"FoldersApi.get_by_id",
@@ -513,7 +513,7 @@ module Hubspot
513
513
  return_type = opts[:debug_return_type] || 'Folder'
514
514
 
515
515
  # auth_names
516
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
516
+ auth_names = opts[:debug_auth_names] || ['oauth2']
517
517
 
518
518
  new_options = opts.merge(
519
519
  :operation => :"FoldersApi.get_by_path",
@@ -581,7 +581,7 @@ module Hubspot
581
581
  return_type = opts[:debug_return_type] || 'FolderUpdateTaskLocator'
582
582
 
583
583
  # auth_names
584
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
584
+ auth_names = opts[:debug_auth_names] || ['oauth2']
585
585
 
586
586
  new_options = opts.merge(
587
587
  :operation => :"FoldersApi.update_properties",
@@ -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',
@@ -65,7 +65,7 @@ module Hubspot
65
65
  return_type = opts[:debug_return_type]
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 => :"FormsApi.archive",
@@ -133,7 +133,7 @@ module Hubspot
133
133
  return_type = opts[:debug_return_type] || 'FormDefinitionBase'
134
134
 
135
135
  # auth_names
136
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
136
+ auth_names = opts[:debug_auth_names] || ['oauth2']
137
137
 
138
138
  new_options = opts.merge(
139
139
  :operation => :"FormsApi.create",
@@ -199,7 +199,7 @@ module Hubspot
199
199
  return_type = opts[:debug_return_type] || 'FormDefinitionBase'
200
200
 
201
201
  # auth_names
202
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
202
+ auth_names = opts[:debug_auth_names] || ['oauth2']
203
203
 
204
204
  new_options = opts.merge(
205
205
  :operation => :"FormsApi.get_by_id",
@@ -272,7 +272,7 @@ module Hubspot
272
272
  return_type = opts[:debug_return_type] || 'CollectionResponseFormDefinitionBaseForwardPaging'
273
273
 
274
274
  # auth_names
275
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
275
+ auth_names = opts[:debug_auth_names] || ['oauth2']
276
276
 
277
277
  new_options = opts.merge(
278
278
  :operation => :"FormsApi.get_page",
@@ -346,7 +346,7 @@ module Hubspot
346
346
  return_type = opts[:debug_return_type] || 'FormDefinitionBase'
347
347
 
348
348
  # auth_names
349
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
349
+ auth_names = opts[:debug_auth_names] || ['oauth2']
350
350
 
351
351
  new_options = opts.merge(
352
352
  :operation => :"FormsApi.replace",
@@ -420,7 +420,7 @@ module Hubspot
420
420
  return_type = opts[:debug_return_type] || 'FormDefinitionBase'
421
421
 
422
422
  # auth_names
423
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
423
+ auth_names = opts[:debug_auth_names] || ['oauth2']
424
424
 
425
425
  new_options = opts.merge(
426
426
  :operation => :"FormsApi.update",
@@ -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',
@@ -70,7 +70,7 @@ module Hubspot
70
70
  return_type = opts[:debug_return_type] || 'EmailSendStatusView'
71
71
 
72
72
  # auth_names
73
- auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
73
+ auth_names = opts[:debug_auth_names] || ['oauth2']
74
74
 
75
75
  new_options = opts.merge(
76
76
  :operation => :"SingleSendApi.send_email",
@@ -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',
@@ -56,7 +56,7 @@ module Hubspot
56
56
  {
57
57
  :'status' => :'String',
58
58
  :'id' => :'String',
59
- :'category' => :'ErrorCategory',
59
+ :'category' => :'String',
60
60
  :'sub_category' => :'Object',
61
61
  :'message' => :'String',
62
62
  :'errors' => :'Array<ErrorDetail>',
@@ -46,7 +46,7 @@ module Hubspot
46
46
  config = Kernel.const_get("#{codegen_module_name}::Configuration").new
47
47
  config.access_token = base_params[:access_token] if base_params[:access_token]
48
48
  config.api_key['hapikey'] = base_params[:api_key] if base_params[:api_key]
49
- config.api_key['hapikey'] = base_params[:developer_api_key] if base_params[:developer_api_key]
49
+ config.api_key['developer_hapikey'] = base_params[:developer_api_key] if base_params[:developer_api_key]
50
50
  config
51
51
  end
52
52
 
@@ -13,12 +13,6 @@ module Hubspot
13
13
 
14
14
  def require_with_codegen_mapping(path)
15
15
  require path
16
- .gsub('audit_logs/', 'audit-logs/')
17
- .gsub('blog_posts/', 'blog-posts/')
18
- .gsub('site_search', 'site-search')
19
- .gsub('source_code/', 'source-code/')
20
- .gsub('url_redirects', 'url-redirects')
21
- .gsub('visitor_identification', 'visitor-identification')
22
16
  end
23
17
  end
24
18
  end
@@ -1,3 +1,3 @@
1
1
  module Hubspot
2
- VERSION = '17.0.0'
2
+ VERSION = '17.1.1'
3
3
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubspot-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 17.0.0
4
+ version: 17.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - HubSpot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-14 00:00:00.000000000 Z
11
+ date: 2023-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -528,6 +528,7 @@ files:
528
528
  - lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_input_for_create.rb
529
529
  - lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_with_associations.rb
530
530
  - lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb
531
+ - lib/hubspot/codegen/crm/associations/v4/models/standard_error1.rb
531
532
  - lib/hubspot/codegen/crm/associations/v4/models/value_with_timestamp.rb
532
533
  - lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb
533
534
  - lib/hubspot/codegen/crm/associations/v4/schema/api_client.rb
@@ -1791,6 +1792,7 @@ files:
1791
1792
  - lib/hubspot/helpers/snake_case.rb
1792
1793
  - lib/hubspot/oauth_helper.rb
1793
1794
  - lib/hubspot/version.rb
1795
+ - pkg/hubspot-api-client-17.0.0.gem
1794
1796
  - spec/discovery/automation/actions/callbacks_api_spec.rb
1795
1797
  - spec/discovery/automation/actions/definitions_api_spec.rb
1796
1798
  - spec/discovery/automation/actions/functions_api_spec.rb