hubspot-api-client 17.0.0.pre.beta.4 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +48 -1
- data/Gemfile.lock +1 -1
- data/lib/hubspot/client.rb +1 -1
- data/lib/hubspot/codegen/automation/actions/api/callbacks_api.rb +2 -2
- data/lib/hubspot/codegen/automation/actions/configuration.rb +0 -7
- data/lib/hubspot/codegen/cms/blogs/authors/api/blog_authors_api.rb +14 -14
- data/lib/hubspot/codegen/cms/blogs/authors/configuration.rb +0 -7
- data/lib/hubspot/codegen/cms/blogs/tags/api/blog_tags_api.rb +14 -14
- data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +0 -7
- data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +2 -2
- data/lib/hubspot/codegen/cms/domains/configuration.rb +0 -7
- data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +9 -9
- data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +17 -17
- data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +14 -14
- data/lib/hubspot/codegen/cms/hubdb/configuration.rb +0 -7
- data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +19 -19
- data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/api/public_performance_api.rb +2 -2
- data/lib/hubspot/codegen/cms/performance/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +3 -3
- data/lib/hubspot/codegen/crm/associations/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +6 -6
- data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +5 -5
- data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +18 -18
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +41 -41
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +41 -41
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +52 -52
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/associations/v4/models/error_category.rb +18 -18
- data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +19 -19
- data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +18 -18
- data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_create_request.rb +18 -18
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_update_request.rb +18 -18
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +20 -20
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +13 -13
- data/lib/hubspot/codegen/crm/associations/v4/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +18 -18
- data/lib/hubspot/codegen/crm/associations/v4/models/public_gdpr_delete_input.rb +13 -13
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_batch_input.rb +18 -18
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/associations/v4/models/standard_error1.rb +324 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +4 -4
- data/lib/hubspot/codegen/crm/associations/v4/schema/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/companies/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/companies/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/contacts/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/deals/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/deals/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/accounting/api/callbacks_api.rb +10 -10
- data/lib/hubspot/codegen/crm/extensions/accounting/api/invoice_api.rb +3 -3
- data/lib/hubspot/codegen/crm/extensions/accounting/api/settings_api.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/accounting/api/sync_api.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/accounting/api/user_accounts_api.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/accounting/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/api/settings_api.rb +3 -3
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_client.rb +0 -1
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/imports/api/core_api.rb +4 -4
- data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/line_items/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +3 -3
- data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/objects/calls/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/calls/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/objects/calls/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/objects/communications/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/communications/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/objects/communications/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/objects/emails/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/emails/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/emails/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/objects/emails/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +5 -5
- 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/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/meetings/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/meetings/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/objects/meetings/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/notes/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/notes/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/objects/notes/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/tasks/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/tasks/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/objects/tasks/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +2 -2
- data/lib/hubspot/codegen/crm/owners/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +6 -6
- data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +6 -6
- data/lib/hubspot/codegen/crm/pipelines/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/products/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/products/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/products/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/products/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/products/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/api/batch_api.rb +3 -3
- data/lib/hubspot/codegen/crm/properties/api/core_api.rb +5 -5
- data/lib/hubspot/codegen/crm/properties/api/groups_api.rb +5 -5
- data/lib/hubspot/codegen/crm/properties/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/properties/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/quotes/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +7 -7
- data/lib/hubspot/codegen/crm/schemas/api/public_object_schemas_api.rb +1 -1
- data/lib/hubspot/codegen/crm/schemas/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +5 -5
- data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +4 -4
- data/lib/hubspot/codegen/crm/tickets/api/public_object_api.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/configuration.rb +0 -7
- data/lib/hubspot/codegen/crm/tickets/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/events/api/events_api.rb +1 -1
- data/lib/hubspot/codegen/events/configuration.rb +0 -7
- data/lib/hubspot/codegen/files/files/api/files_api.rb +10 -10
- data/lib/hubspot/codegen/files/files/api/folders_api.rb +8 -8
- data/lib/hubspot/codegen/files/files/configuration.rb +0 -7
- data/lib/hubspot/codegen/marketing/forms/api/forms_api.rb +6 -6
- data/lib/hubspot/codegen/marketing/forms/configuration.rb +0 -7
- data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/configuration.rb +0 -7
- data/lib/hubspot/codegen/webhooks/models/standard_error.rb +1 -1
- data/lib/hubspot/discovery/oauth/client.rb +0 -4
- data/lib/hubspot/helpers/camel_case.rb +5 -1
- data/lib/hubspot/helpers/path.rb +1 -8
- data/lib/hubspot/helpers/snake_case.rb +2 -1
- data/lib/hubspot/oauth_helper.rb +12 -8
- data/lib/hubspot/version.rb +1 -1
- data/pkg/hubspot-api-client-17.0.0.gem +0 -0
- data/spec/discovery/client_spec.rb +1 -1
- data/spec/discovery/oauth/access_tokens_api_spec.rb +1 -1
- data/spec/discovery/oauth/refresh_tokens_api_spec.rb +1 -1
- data/spec/discovery/oauth/tokens_api_spec.rb +1 -1
- data/spec/helpers/authorize_url_spec.rb +75 -0
- metadata +8 -4
|
@@ -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] || ['
|
|
72
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
73
73
|
|
|
74
74
|
new_options = opts.merge(
|
|
75
75
|
:operation => :"BatchApi.archive",
|
|
@@ -135,7 +135,7 @@ module Hubspot
|
|
|
135
135
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
136
136
|
|
|
137
137
|
# auth_names
|
|
138
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
138
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
139
139
|
|
|
140
140
|
new_options = opts.merge(
|
|
141
141
|
:operation => :"BatchApi.create",
|
|
@@ -204,7 +204,7 @@ module Hubspot
|
|
|
204
204
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
205
205
|
|
|
206
206
|
# auth_names
|
|
207
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
207
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
208
208
|
|
|
209
209
|
new_options = opts.merge(
|
|
210
210
|
:operation => :"BatchApi.read",
|
|
@@ -270,7 +270,7 @@ module Hubspot
|
|
|
270
270
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
271
271
|
|
|
272
272
|
# auth_names
|
|
273
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
273
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
274
274
|
|
|
275
275
|
new_options = opts.merge(
|
|
276
276
|
:operation => :"BatchApi.update",
|
|
@@ -69,7 +69,7 @@ module Hubspot
|
|
|
69
69
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
70
70
|
|
|
71
71
|
# auth_names
|
|
72
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
72
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
73
73
|
|
|
74
74
|
new_options = opts.merge(
|
|
75
75
|
:operation => :"PublicObjectApi.merge",
|
|
@@ -67,7 +67,7 @@ module Hubspot
|
|
|
67
67
|
return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalSimplePublicObjectForwardPaging'
|
|
68
68
|
|
|
69
69
|
# auth_names
|
|
70
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
70
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
71
71
|
|
|
72
72
|
new_options = opts.merge(
|
|
73
73
|
:operation => :"SearchApi.do_search",
|
|
@@ -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',
|
|
@@ -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] || ['
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
72
72
|
|
|
73
73
|
new_options = opts.merge(
|
|
74
74
|
:operation => :"BasicApi.archive",
|
|
@@ -136,7 +136,7 @@ module Hubspot
|
|
|
136
136
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
137
137
|
|
|
138
138
|
# auth_names
|
|
139
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
139
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
140
140
|
|
|
141
141
|
new_options = opts.merge(
|
|
142
142
|
:operation => :"BasicApi.create",
|
|
@@ -214,7 +214,7 @@ module Hubspot
|
|
|
214
214
|
return_type = opts[:debug_return_type] || 'SimplePublicObjectWithAssociations'
|
|
215
215
|
|
|
216
216
|
# auth_names
|
|
217
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
217
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
218
218
|
|
|
219
219
|
new_options = opts.merge(
|
|
220
220
|
:operation => :"BasicApi.get_by_id",
|
|
@@ -289,7 +289,7 @@ module Hubspot
|
|
|
289
289
|
return_type = opts[:debug_return_type] || 'CollectionResponseSimplePublicObjectWithAssociationsForwardPaging'
|
|
290
290
|
|
|
291
291
|
# auth_names
|
|
292
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
292
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
293
293
|
|
|
294
294
|
new_options = opts.merge(
|
|
295
295
|
:operation => :"BasicApi.get_page",
|
|
@@ -366,7 +366,7 @@ module Hubspot
|
|
|
366
366
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
367
367
|
|
|
368
368
|
# auth_names
|
|
369
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
369
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
370
370
|
|
|
371
371
|
new_options = opts.merge(
|
|
372
372
|
:operation => :"BasicApi.update",
|
|
@@ -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] || ['
|
|
72
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
73
73
|
|
|
74
74
|
new_options = opts.merge(
|
|
75
75
|
:operation => :"BatchApi.archive",
|
|
@@ -135,7 +135,7 @@ module Hubspot
|
|
|
135
135
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
136
136
|
|
|
137
137
|
# auth_names
|
|
138
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
138
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
139
139
|
|
|
140
140
|
new_options = opts.merge(
|
|
141
141
|
:operation => :"BatchApi.create",
|
|
@@ -204,7 +204,7 @@ module Hubspot
|
|
|
204
204
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
205
205
|
|
|
206
206
|
# auth_names
|
|
207
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
207
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
208
208
|
|
|
209
209
|
new_options = opts.merge(
|
|
210
210
|
:operation => :"BatchApi.read",
|
|
@@ -270,7 +270,7 @@ module Hubspot
|
|
|
270
270
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
271
271
|
|
|
272
272
|
# auth_names
|
|
273
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
273
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
274
274
|
|
|
275
275
|
new_options = opts.merge(
|
|
276
276
|
:operation => :"BatchApi.update",
|
|
@@ -69,7 +69,7 @@ module Hubspot
|
|
|
69
69
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
70
70
|
|
|
71
71
|
# auth_names
|
|
72
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
72
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
73
73
|
|
|
74
74
|
new_options = opts.merge(
|
|
75
75
|
:operation => :"PublicObjectApi.merge",
|
|
@@ -67,7 +67,7 @@ module Hubspot
|
|
|
67
67
|
return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalSimplePublicObjectForwardPaging'
|
|
68
68
|
|
|
69
69
|
# auth_names
|
|
70
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
70
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
71
71
|
|
|
72
72
|
new_options = opts.merge(
|
|
73
73
|
:operation => :"SearchApi.do_search",
|
|
@@ -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',
|
|
@@ -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] || ['
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
72
72
|
|
|
73
73
|
new_options = opts.merge(
|
|
74
74
|
:operation => :"BasicApi.archive",
|
|
@@ -136,7 +136,7 @@ module Hubspot
|
|
|
136
136
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
137
137
|
|
|
138
138
|
# auth_names
|
|
139
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
139
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
140
140
|
|
|
141
141
|
new_options = opts.merge(
|
|
142
142
|
:operation => :"BasicApi.create",
|
|
@@ -214,7 +214,7 @@ module Hubspot
|
|
|
214
214
|
return_type = opts[:debug_return_type] || 'SimplePublicObjectWithAssociations'
|
|
215
215
|
|
|
216
216
|
# auth_names
|
|
217
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
217
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
218
218
|
|
|
219
219
|
new_options = opts.merge(
|
|
220
220
|
:operation => :"BasicApi.get_by_id",
|
|
@@ -289,7 +289,7 @@ module Hubspot
|
|
|
289
289
|
return_type = opts[:debug_return_type] || 'CollectionResponseSimplePublicObjectWithAssociationsForwardPaging'
|
|
290
290
|
|
|
291
291
|
# auth_names
|
|
292
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
292
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
293
293
|
|
|
294
294
|
new_options = opts.merge(
|
|
295
295
|
:operation => :"BasicApi.get_page",
|
|
@@ -366,7 +366,7 @@ module Hubspot
|
|
|
366
366
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
367
367
|
|
|
368
368
|
# auth_names
|
|
369
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
369
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
370
370
|
|
|
371
371
|
new_options = opts.merge(
|
|
372
372
|
:operation => :"BasicApi.update",
|
|
@@ -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] || ['
|
|
72
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
73
73
|
|
|
74
74
|
new_options = opts.merge(
|
|
75
75
|
:operation => :"BatchApi.archive",
|
|
@@ -135,7 +135,7 @@ module Hubspot
|
|
|
135
135
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
136
136
|
|
|
137
137
|
# auth_names
|
|
138
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
138
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
139
139
|
|
|
140
140
|
new_options = opts.merge(
|
|
141
141
|
:operation => :"BatchApi.create",
|
|
@@ -204,7 +204,7 @@ module Hubspot
|
|
|
204
204
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
205
205
|
|
|
206
206
|
# auth_names
|
|
207
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
207
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
208
208
|
|
|
209
209
|
new_options = opts.merge(
|
|
210
210
|
:operation => :"BatchApi.read",
|
|
@@ -270,7 +270,7 @@ module Hubspot
|
|
|
270
270
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
271
271
|
|
|
272
272
|
# auth_names
|
|
273
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
273
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
274
274
|
|
|
275
275
|
new_options = opts.merge(
|
|
276
276
|
:operation => :"BatchApi.update",
|
|
@@ -69,7 +69,7 @@ module Hubspot
|
|
|
69
69
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
70
70
|
|
|
71
71
|
# auth_names
|
|
72
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
72
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
73
73
|
|
|
74
74
|
new_options = opts.merge(
|
|
75
75
|
:operation => :"PublicObjectApi.merge",
|
|
@@ -67,7 +67,7 @@ module Hubspot
|
|
|
67
67
|
return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalSimplePublicObjectForwardPaging'
|
|
68
68
|
|
|
69
69
|
# auth_names
|
|
70
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
70
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
71
71
|
|
|
72
72
|
new_options = opts.merge(
|
|
73
73
|
:operation => :"SearchApi.do_search",
|
|
@@ -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',
|
|
@@ -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] || ['
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
72
72
|
|
|
73
73
|
new_options = opts.merge(
|
|
74
74
|
:operation => :"BasicApi.archive",
|
|
@@ -136,7 +136,7 @@ module Hubspot
|
|
|
136
136
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
137
137
|
|
|
138
138
|
# auth_names
|
|
139
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
139
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
140
140
|
|
|
141
141
|
new_options = opts.merge(
|
|
142
142
|
:operation => :"BasicApi.create",
|
|
@@ -214,7 +214,7 @@ module Hubspot
|
|
|
214
214
|
return_type = opts[:debug_return_type] || 'SimplePublicObjectWithAssociations'
|
|
215
215
|
|
|
216
216
|
# auth_names
|
|
217
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
217
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
218
218
|
|
|
219
219
|
new_options = opts.merge(
|
|
220
220
|
:operation => :"BasicApi.get_by_id",
|
|
@@ -289,7 +289,7 @@ module Hubspot
|
|
|
289
289
|
return_type = opts[:debug_return_type] || 'CollectionResponseSimplePublicObjectWithAssociationsForwardPaging'
|
|
290
290
|
|
|
291
291
|
# auth_names
|
|
292
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
292
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
293
293
|
|
|
294
294
|
new_options = opts.merge(
|
|
295
295
|
:operation => :"BasicApi.get_page",
|
|
@@ -366,7 +366,7 @@ module Hubspot
|
|
|
366
366
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
367
367
|
|
|
368
368
|
# auth_names
|
|
369
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
369
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
370
370
|
|
|
371
371
|
new_options = opts.merge(
|
|
372
372
|
:operation => :"BasicApi.update",
|
|
@@ -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] || ['
|
|
72
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
73
73
|
|
|
74
74
|
new_options = opts.merge(
|
|
75
75
|
:operation => :"BatchApi.archive",
|
|
@@ -135,7 +135,7 @@ module Hubspot
|
|
|
135
135
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
136
136
|
|
|
137
137
|
# auth_names
|
|
138
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
138
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
139
139
|
|
|
140
140
|
new_options = opts.merge(
|
|
141
141
|
:operation => :"BatchApi.create",
|
|
@@ -204,7 +204,7 @@ module Hubspot
|
|
|
204
204
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
205
205
|
|
|
206
206
|
# auth_names
|
|
207
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
207
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
208
208
|
|
|
209
209
|
new_options = opts.merge(
|
|
210
210
|
:operation => :"BatchApi.read",
|
|
@@ -270,7 +270,7 @@ module Hubspot
|
|
|
270
270
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
271
271
|
|
|
272
272
|
# auth_names
|
|
273
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
273
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
274
274
|
|
|
275
275
|
new_options = opts.merge(
|
|
276
276
|
:operation => :"BatchApi.update",
|
|
@@ -69,7 +69,7 @@ module Hubspot
|
|
|
69
69
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
70
70
|
|
|
71
71
|
# auth_names
|
|
72
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
72
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
73
73
|
|
|
74
74
|
new_options = opts.merge(
|
|
75
75
|
:operation => :"PublicObjectApi.merge",
|
|
@@ -67,7 +67,7 @@ module Hubspot
|
|
|
67
67
|
return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalSimplePublicObjectForwardPaging'
|
|
68
68
|
|
|
69
69
|
# auth_names
|
|
70
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
70
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
71
71
|
|
|
72
72
|
new_options = opts.merge(
|
|
73
73
|
:operation => :"SearchApi.do_search",
|
|
@@ -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',
|
|
@@ -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] || ['
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
72
72
|
|
|
73
73
|
new_options = opts.merge(
|
|
74
74
|
:operation => :"BasicApi.archive",
|
|
@@ -136,7 +136,7 @@ module Hubspot
|
|
|
136
136
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
137
137
|
|
|
138
138
|
# auth_names
|
|
139
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
139
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
140
140
|
|
|
141
141
|
new_options = opts.merge(
|
|
142
142
|
:operation => :"BasicApi.create",
|
|
@@ -214,7 +214,7 @@ module Hubspot
|
|
|
214
214
|
return_type = opts[:debug_return_type] || 'SimplePublicObjectWithAssociations'
|
|
215
215
|
|
|
216
216
|
# auth_names
|
|
217
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
217
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
218
218
|
|
|
219
219
|
new_options = opts.merge(
|
|
220
220
|
:operation => :"BasicApi.get_by_id",
|
|
@@ -289,7 +289,7 @@ module Hubspot
|
|
|
289
289
|
return_type = opts[:debug_return_type] || 'CollectionResponseSimplePublicObjectWithAssociationsForwardPaging'
|
|
290
290
|
|
|
291
291
|
# auth_names
|
|
292
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
292
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
293
293
|
|
|
294
294
|
new_options = opts.merge(
|
|
295
295
|
:operation => :"BasicApi.get_page",
|
|
@@ -366,7 +366,7 @@ module Hubspot
|
|
|
366
366
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
367
367
|
|
|
368
368
|
# auth_names
|
|
369
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
369
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
370
370
|
|
|
371
371
|
new_options = opts.merge(
|
|
372
372
|
:operation => :"BasicApi.update",
|
|
@@ -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] || ['
|
|
72
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
73
73
|
|
|
74
74
|
new_options = opts.merge(
|
|
75
75
|
:operation => :"BatchApi.archive",
|
|
@@ -135,7 +135,7 @@ module Hubspot
|
|
|
135
135
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
136
136
|
|
|
137
137
|
# auth_names
|
|
138
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
138
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
139
139
|
|
|
140
140
|
new_options = opts.merge(
|
|
141
141
|
:operation => :"BatchApi.create",
|
|
@@ -204,7 +204,7 @@ module Hubspot
|
|
|
204
204
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
205
205
|
|
|
206
206
|
# auth_names
|
|
207
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
207
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
208
208
|
|
|
209
209
|
new_options = opts.merge(
|
|
210
210
|
:operation => :"BatchApi.read",
|
|
@@ -270,7 +270,7 @@ module Hubspot
|
|
|
270
270
|
return_type = opts[:debug_return_type] || 'BatchResponseSimplePublicObject'
|
|
271
271
|
|
|
272
272
|
# auth_names
|
|
273
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
273
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
274
274
|
|
|
275
275
|
new_options = opts.merge(
|
|
276
276
|
:operation => :"BatchApi.update",
|
|
@@ -69,7 +69,7 @@ module Hubspot
|
|
|
69
69
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
70
70
|
|
|
71
71
|
# auth_names
|
|
72
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
72
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
73
73
|
|
|
74
74
|
new_options = opts.merge(
|
|
75
75
|
:operation => :"PublicObjectApi.merge",
|
|
@@ -67,7 +67,7 @@ module Hubspot
|
|
|
67
67
|
return_type = opts[:debug_return_type] || 'CollectionResponseWithTotalSimplePublicObjectForwardPaging'
|
|
68
68
|
|
|
69
69
|
# auth_names
|
|
70
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
70
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
71
71
|
|
|
72
72
|
new_options = opts.merge(
|
|
73
73
|
:operation => :"SearchApi.do_search",
|
|
@@ -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',
|
|
@@ -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] || ['
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
72
72
|
|
|
73
73
|
new_options = opts.merge(
|
|
74
74
|
:operation => :"BasicApi.archive",
|
|
@@ -136,7 +136,7 @@ module Hubspot
|
|
|
136
136
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
137
137
|
|
|
138
138
|
# auth_names
|
|
139
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
139
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
140
140
|
|
|
141
141
|
new_options = opts.merge(
|
|
142
142
|
:operation => :"BasicApi.create",
|
|
@@ -214,7 +214,7 @@ module Hubspot
|
|
|
214
214
|
return_type = opts[:debug_return_type] || 'SimplePublicObjectWithAssociations'
|
|
215
215
|
|
|
216
216
|
# auth_names
|
|
217
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
217
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
218
218
|
|
|
219
219
|
new_options = opts.merge(
|
|
220
220
|
:operation => :"BasicApi.get_by_id",
|
|
@@ -289,7 +289,7 @@ module Hubspot
|
|
|
289
289
|
return_type = opts[:debug_return_type] || 'CollectionResponseSimplePublicObjectWithAssociationsForwardPaging'
|
|
290
290
|
|
|
291
291
|
# auth_names
|
|
292
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
292
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
293
293
|
|
|
294
294
|
new_options = opts.merge(
|
|
295
295
|
:operation => :"BasicApi.get_page",
|
|
@@ -366,7 +366,7 @@ module Hubspot
|
|
|
366
366
|
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
|
367
367
|
|
|
368
368
|
# auth_names
|
|
369
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
369
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
|
370
370
|
|
|
371
371
|
new_options = opts.merge(
|
|
372
372
|
:operation => :"BasicApi.update",
|