hubspot-api-client 13.0.0 → 14.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/Gemfile.lock +17 -17
- data/README.md +4 -2
- data/hubspot-api-client.gemspec +1 -1
- data/lib/hubspot/codegen/automation/actions/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/audit-logs/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +2 -2
- data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/api/public_api.rb +1 -4
- data/lib/hubspot/codegen/cms/site-search/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/models/content_search_result.rb +2 -2
- data/lib/hubspot/codegen/cms/site-search/models/indexed_data.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/models/{search_hit_field.rb → indexed_field.rb} +35 -35
- data/lib/hubspot/codegen/cms/source-code/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/url-redirects/api/redirects_api.rb +23 -21
- data/lib/hubspot/codegen/cms/url-redirects/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/url-redirects/models/{collection_response_with_total_url_mapping.rb → collection_response_with_total_url_mapping_forward_paging.rb} +4 -6
- data/lib/hubspot/codegen/cms/url-redirects/models/{paging.rb → forward_paging.rb} +3 -3
- data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping.rb +14 -226
- data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping_create_request_body.rb +31 -31
- data/lib/hubspot/codegen/communication_preferences/api_error.rb +1 -1
- data/lib/hubspot/codegen/conversations/visitor-identification/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/companies/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/contacts/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/deals/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/accounting/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/calling/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/line_items/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/objects/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/objects/calls/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/objects/emails/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +3 -3
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +7 -7
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/configuration.rb +7 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/objects/meetings/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/objects/notes/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/objects/tasks/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/products/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/products/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/quotes/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/schemas/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/tickets/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/api_error.rb +1 -1
- data/lib/hubspot/codegen/events/api_error.rb +1 -1
- data/lib/hubspot/codegen/files/files/api/files_api.rb +2 -2
- data/lib/hubspot/codegen/files/files/api/folders_api.rb +3 -3
- data/lib/hubspot/codegen/files/files/api_error.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/api_error.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/api_error.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/api/public_smtp_tokens_api.rb +18 -14
- data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +10 -6
- data/lib/hubspot/codegen/marketing/transactional/api_error.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/{collection_response_smtp_api_token_view.rb → collection_response_smtp_api_token_view_forward_paging.rb} +4 -5
- data/lib/hubspot/codegen/marketing/transactional/models/email_send_status_view.rb +15 -15
- data/lib/hubspot/codegen/marketing/transactional/models/{paging.rb → forward_paging.rb} +3 -3
- data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_email.rb +3 -13
- data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_request_egg.rb +22 -30
- data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_request_egg.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_view.rb +1 -1
- data/lib/hubspot/codegen/oauth/api_error.rb +1 -1
- data/lib/hubspot/codegen/settings/users/api_error.rb +1 -1
- data/lib/hubspot/codegen/webhooks/api_error.rb +1 -1
- data/lib/hubspot/configuration.rb +3 -1
- data/lib/hubspot/version.rb +1 -1
- data/spec/codegen/cms/site-search/api/public_api_spec.rb +0 -1
- data/spec/codegen/cms/site-search/models/content_search_result_spec.rb +1 -1
- data/spec/codegen/cms/site-search/models/{search_hit_field_spec.rb → indexed_field_spec.rb} +10 -10
- data/spec/codegen/cms/url-redirects/api/redirects_api_spec.rb +3 -5
- data/spec/codegen/cms/url-redirects/models/{collection_response_with_total_url_mapping_spec.rb → collection_response_with_total_url_mapping_forward_paging_spec.rb} +6 -6
- data/spec/codegen/cms/url-redirects/models/{paging_spec.rb → forward_paging_spec.rb} +6 -6
- data/spec/codegen/cms/url-redirects/models/url_mapping_create_request_body_spec.rb +10 -10
- data/spec/codegen/cms/url-redirects/models/url_mapping_spec.rb +2 -78
- data/spec/codegen/crm/contacts/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/contacts/api/gdpr_api_spec.rb +3 -3
- data/spec/codegen/crm/objects/api/gdpr_api_spec.rb +3 -3
- data/spec/codegen/crm/objects/feedback_submissions/api/associations_api_spec.rb +14 -14
- data/spec/codegen/crm/objects/feedback_submissions/api/basic_api_spec.rb +26 -26
- data/spec/codegen/crm/objects/feedback_submissions/api/batch_api_spec.rb +17 -17
- data/spec/codegen/crm/objects/feedback_submissions/api/public_object_api_spec.rb +2 -2
- data/spec/codegen/crm/quotes/api/public_object_api_spec.rb +2 -2
- data/spec/codegen/marketing/transactional/api/public_smtp_tokens_api_spec.rb +2 -2
- data/spec/codegen/marketing/transactional/api/single_send_api_spec.rb +1 -1
- data/spec/codegen/marketing/transactional/models/{collection_response_smtp_api_token_view_spec.rb → collection_response_smtp_api_token_view_forward_paging_spec.rb} +6 -6
- data/spec/codegen/marketing/transactional/models/email_send_status_view_spec.rb +7 -7
- data/spec/codegen/marketing/transactional/models/{paging_spec.rb → forward_paging_spec.rb} +6 -6
- data/spec/codegen/marketing/transactional/models/public_single_send_request_egg_spec.rb +4 -4
- metadata +19 -20
- data/pkg/hubspot-api-client-10.1.1.gem +0 -0
@@ -187,7 +187,7 @@ module Hubspot
|
|
187
187
|
|
188
188
|
# query parameters
|
189
189
|
query_params = opts[:query_params] || {}
|
190
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
190
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
191
191
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
192
192
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
193
193
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -262,7 +262,7 @@ module Hubspot
|
|
262
262
|
query_params = opts[:query_params] || {}
|
263
263
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
264
264
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
265
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
265
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
266
266
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
267
267
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
268
268
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -205,7 +205,7 @@ module Hubspot
|
|
205
205
|
|
206
206
|
# query parameters
|
207
207
|
query_params = opts[:query_params] || {}
|
208
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
208
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
209
209
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
210
210
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
211
211
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -286,7 +286,7 @@ module Hubspot
|
|
286
286
|
query_params = opts[:query_params] || {}
|
287
287
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
288
288
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
289
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
289
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
290
290
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
291
291
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
292
292
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -188,7 +188,7 @@ module Hubspot
|
|
188
188
|
|
189
189
|
# query parameters
|
190
190
|
query_params = opts[:query_params] || {}
|
191
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
191
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
192
192
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
193
193
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
194
194
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -263,7 +263,7 @@ module Hubspot
|
|
263
263
|
query_params = opts[:query_params] || {}
|
264
264
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
265
265
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
266
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
266
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
267
267
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
268
268
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
269
269
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -188,7 +188,7 @@ module Hubspot
|
|
188
188
|
|
189
189
|
# query parameters
|
190
190
|
query_params = opts[:query_params] || {}
|
191
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
191
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
192
192
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
193
193
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
194
194
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -263,7 +263,7 @@ module Hubspot
|
|
263
263
|
query_params = opts[:query_params] || {}
|
264
264
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
265
265
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
266
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
266
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
267
267
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
268
268
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
269
269
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -82,7 +82,7 @@ module Hubspot
|
|
82
82
|
return_type = opts[:return_type]
|
83
83
|
|
84
84
|
# auth_names
|
85
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
85
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
86
86
|
|
87
87
|
new_options = opts.merge(
|
88
88
|
:header_params => header_params,
|
@@ -160,7 +160,7 @@ module Hubspot
|
|
160
160
|
return_type = opts[:return_type] || 'SimplePublicObjectWithAssociations'
|
161
161
|
|
162
162
|
# auth_names
|
163
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
163
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
164
164
|
|
165
165
|
new_options = opts.merge(
|
166
166
|
:header_params => header_params,
|
@@ -232,7 +232,7 @@ module Hubspot
|
|
232
232
|
return_type = opts[:return_type] || 'CollectionResponseAssociatedIdForwardPaging'
|
233
233
|
|
234
234
|
# auth_names
|
235
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
235
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
236
236
|
|
237
237
|
new_options = opts.merge(
|
238
238
|
:header_params => header_params,
|
@@ -68,7 +68,7 @@ module Hubspot
|
|
68
68
|
return_type = opts[:return_type]
|
69
69
|
|
70
70
|
# auth_names
|
71
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
71
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
72
72
|
|
73
73
|
new_options = opts.merge(
|
74
74
|
:header_params => header_params,
|
@@ -132,7 +132,7 @@ module Hubspot
|
|
132
132
|
return_type = opts[:return_type] || 'SimplePublicObject'
|
133
133
|
|
134
134
|
# auth_names
|
135
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
135
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
136
136
|
|
137
137
|
new_options = opts.merge(
|
138
138
|
:header_params => header_params,
|
@@ -188,7 +188,7 @@ module Hubspot
|
|
188
188
|
|
189
189
|
# query parameters
|
190
190
|
query_params = opts[:query_params] || {}
|
191
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
191
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
192
192
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
193
193
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
194
194
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -209,7 +209,7 @@ module Hubspot
|
|
209
209
|
return_type = opts[:return_type] || 'SimplePublicObjectWithAssociations'
|
210
210
|
|
211
211
|
# auth_names
|
212
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
212
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
213
213
|
|
214
214
|
new_options = opts.merge(
|
215
215
|
:header_params => header_params,
|
@@ -263,7 +263,7 @@ module Hubspot
|
|
263
263
|
query_params = opts[:query_params] || {}
|
264
264
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
265
265
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
266
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
266
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
267
267
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
268
268
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
269
269
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -283,7 +283,7 @@ module Hubspot
|
|
283
283
|
return_type = opts[:return_type] || 'CollectionResponseSimplePublicObjectWithAssociationsForwardPaging'
|
284
284
|
|
285
285
|
# auth_names
|
286
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
286
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
287
287
|
|
288
288
|
new_options = opts.merge(
|
289
289
|
:header_params => header_params,
|
@@ -356,7 +356,7 @@ module Hubspot
|
|
356
356
|
return_type = opts[:return_type] || 'SimplePublicObject'
|
357
357
|
|
358
358
|
# auth_names
|
359
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
359
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
360
360
|
|
361
361
|
new_options = opts.merge(
|
362
362
|
:header_params => header_params,
|
@@ -66,7 +66,7 @@ module Hubspot
|
|
66
66
|
return_type = opts[:return_type]
|
67
67
|
|
68
68
|
# auth_names
|
69
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
69
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
70
70
|
|
71
71
|
new_options = opts.merge(
|
72
72
|
:header_params => header_params,
|
@@ -128,7 +128,7 @@ module Hubspot
|
|
128
128
|
return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
|
129
129
|
|
130
130
|
# auth_names
|
131
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
131
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
132
132
|
|
133
133
|
new_options = opts.merge(
|
134
134
|
:header_params => header_params,
|
@@ -193,7 +193,7 @@ module Hubspot
|
|
193
193
|
return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
|
194
194
|
|
195
195
|
# auth_names
|
196
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
196
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
197
197
|
|
198
198
|
new_options = opts.merge(
|
199
199
|
:header_params => header_params,
|
@@ -255,7 +255,7 @@ module Hubspot
|
|
255
255
|
return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
|
256
256
|
|
257
257
|
# auth_names
|
258
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
258
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
259
259
|
|
260
260
|
new_options = opts.merge(
|
261
261
|
:header_params => header_params,
|
@@ -66,7 +66,7 @@ module Hubspot
|
|
66
66
|
return_type = opts[:return_type] || 'SimplePublicObject'
|
67
67
|
|
68
68
|
# auth_names
|
69
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
69
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
70
70
|
|
71
71
|
new_options = opts.merge(
|
72
72
|
:header_params => header_params,
|
@@ -64,7 +64,7 @@ module Hubspot
|
|
64
64
|
return_type = opts[:return_type] || 'CollectionResponseWithTotalSimplePublicObjectForwardPaging'
|
65
65
|
|
66
66
|
# auth_names
|
67
|
-
auth_names = opts[:auth_names] || ['hapikey']
|
67
|
+
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
68
68
|
|
69
69
|
new_options = opts.merge(
|
70
70
|
:header_params => header_params,
|
@@ -188,7 +188,7 @@ module Hubspot
|
|
188
188
|
|
189
189
|
# query parameters
|
190
190
|
query_params = opts[:query_params] || {}
|
191
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
191
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
192
192
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
193
193
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
194
194
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -263,7 +263,7 @@ module Hubspot
|
|
263
263
|
query_params = opts[:query_params] || {}
|
264
264
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
265
265
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
266
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
266
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
267
267
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
268
268
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
269
269
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -188,7 +188,7 @@ module Hubspot
|
|
188
188
|
|
189
189
|
# query parameters
|
190
190
|
query_params = opts[:query_params] || {}
|
191
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
191
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
192
192
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
193
193
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
194
194
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -263,7 +263,7 @@ module Hubspot
|
|
263
263
|
query_params = opts[:query_params] || {}
|
264
264
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
265
265
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
266
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
266
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
267
267
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
268
268
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
269
269
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -188,7 +188,7 @@ module Hubspot
|
|
188
188
|
|
189
189
|
# query parameters
|
190
190
|
query_params = opts[:query_params] || {}
|
191
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
191
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
192
192
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
193
193
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
194
194
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -263,7 +263,7 @@ module Hubspot
|
|
263
263
|
query_params = opts[:query_params] || {}
|
264
264
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
265
265
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
266
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
266
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
267
267
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
268
268
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
269
269
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -187,7 +187,7 @@ module Hubspot
|
|
187
187
|
|
188
188
|
# query parameters
|
189
189
|
query_params = opts[:query_params] || {}
|
190
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
190
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
191
191
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
192
192
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
193
193
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -262,7 +262,7 @@ module Hubspot
|
|
262
262
|
query_params = opts[:query_params] || {}
|
263
263
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
264
264
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
265
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
265
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
266
266
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
267
267
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
268
268
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -187,7 +187,7 @@ module Hubspot
|
|
187
187
|
|
188
188
|
# query parameters
|
189
189
|
query_params = opts[:query_params] || {}
|
190
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
190
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
191
191
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
192
192
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
193
193
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -262,7 +262,7 @@ module Hubspot
|
|
262
262
|
query_params = opts[:query_params] || {}
|
263
263
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
264
264
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
265
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
265
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
266
266
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
267
267
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
268
268
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -187,7 +187,7 @@ module Hubspot
|
|
187
187
|
|
188
188
|
# query parameters
|
189
189
|
query_params = opts[:query_params] || {}
|
190
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
190
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
191
191
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
192
192
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
193
193
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -262,7 +262,7 @@ module Hubspot
|
|
262
262
|
query_params = opts[:query_params] || {}
|
263
263
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
264
264
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
265
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
265
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
266
266
|
query_params[:'propertiesWithHistory'] = @api_client.build_collection_param(opts[:'properties_with_history'], :multi) if !opts[:'properties_with_history'].nil?
|
267
267
|
query_params[:'associations'] = @api_client.build_collection_param(opts[:'associations'], :multi) if !opts[:'associations'].nil?
|
268
268
|
query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
|
@@ -287,7 +287,7 @@ module Hubspot
|
|
287
287
|
|
288
288
|
# query parameters
|
289
289
|
query_params = opts[:query_params] || {}
|
290
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
290
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
291
291
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
292
292
|
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
293
293
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
@@ -380,7 +380,7 @@ module Hubspot
|
|
380
380
|
|
381
381
|
# query parameters
|
382
382
|
query_params = opts[:query_params] || {}
|
383
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
383
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
384
384
|
|
385
385
|
# header parameters
|
386
386
|
header_params = opts[:header_params] || {}
|
@@ -333,7 +333,7 @@ module Hubspot
|
|
333
333
|
|
334
334
|
# query parameters
|
335
335
|
query_params = opts[:query_params] || {}
|
336
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
336
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
337
337
|
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
338
338
|
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
339
339
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
@@ -417,7 +417,7 @@ module Hubspot
|
|
417
417
|
|
418
418
|
# query parameters
|
419
419
|
query_params = opts[:query_params] || {}
|
420
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
420
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
421
421
|
|
422
422
|
# header parameters
|
423
423
|
header_params = opts[:header_params] || {}
|
@@ -487,7 +487,7 @@ module Hubspot
|
|
487
487
|
|
488
488
|
# query parameters
|
489
489
|
query_params = opts[:query_params] || {}
|
490
|
-
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :
|
490
|
+
query_params[:'properties'] = @api_client.build_collection_param(opts[:'properties'], :csv) if !opts[:'properties'].nil?
|
491
491
|
|
492
492
|
# header parameters
|
493
493
|
header_params = opts[:header_params] || {}
|