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
@@ -32,46 +32,46 @@ describe 'BatchApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
36
|
-
#
|
37
|
-
# @param
|
35
|
+
# unit tests for archive
|
36
|
+
# Archive a batch of feedback submissions by ID
|
37
|
+
# @param batch_input_simple_public_object_id
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @
|
40
|
-
|
41
|
-
describe 'read_batch test' do
|
39
|
+
# @return [nil]
|
40
|
+
describe 'archive test' do
|
42
41
|
it 'should work' do
|
43
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
43
|
end
|
45
44
|
end
|
46
45
|
|
47
|
-
# unit tests for
|
48
|
-
#
|
49
|
-
# @param
|
46
|
+
# unit tests for create
|
47
|
+
# Create a batch of feedback submissions
|
48
|
+
# @param batch_input_simple_public_object_input
|
50
49
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @return [
|
52
|
-
describe '
|
50
|
+
# @return [BatchResponseSimplePublicObject]
|
51
|
+
describe 'create test' do
|
53
52
|
it 'should work' do
|
54
53
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
54
|
end
|
56
55
|
end
|
57
56
|
|
58
|
-
# unit tests for
|
59
|
-
#
|
60
|
-
# @param
|
57
|
+
# unit tests for read
|
58
|
+
# Read a batch of feedback submissions by internal ID, or unique property values
|
59
|
+
# @param batch_read_input_simple_public_object_id
|
61
60
|
# @param [Hash] opts the optional parameters
|
61
|
+
# @option opts [Boolean] :archived Whether to return only results that have been archived.
|
62
62
|
# @return [BatchResponseSimplePublicObject]
|
63
|
-
describe '
|
63
|
+
describe 'read test' do
|
64
64
|
it 'should work' do
|
65
65
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
# unit tests for
|
69
|
+
# unit tests for update
|
70
70
|
# Update a batch of feedback submissions
|
71
71
|
# @param batch_input_simple_public_object_batch_input
|
72
72
|
# @param [Hash] opts the optional parameters
|
73
73
|
# @return [BatchResponseSimplePublicObject]
|
74
|
-
describe '
|
74
|
+
describe 'update test' do
|
75
75
|
it 'should work' do
|
76
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
77
|
end
|
@@ -32,12 +32,12 @@ describe 'PublicObjectApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for merge
|
36
36
|
# Merge two feedback submissions with same type
|
37
37
|
# @param public_merge_input
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [SimplePublicObject]
|
40
|
-
describe '
|
40
|
+
describe 'merge test' do
|
41
41
|
it 'should work' do
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
43
|
end
|
@@ -32,12 +32,12 @@ describe 'PublicObjectApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for merge
|
36
36
|
# Merge two quotes with same type
|
37
37
|
# @param public_merge_input
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [SimplePublicObject]
|
40
|
-
describe '
|
40
|
+
describe 'merge test' do
|
41
41
|
it 'should work' do
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
43
|
end
|
@@ -47,8 +47,8 @@ describe 'PublicSmtpTokensApi' do
|
|
47
47
|
# unit tests for create_token
|
48
48
|
# Create a SMTP API token.
|
49
49
|
# Create a SMTP API token.
|
50
|
+
# @param smtp_api_token_request_egg A request object that includes the campaign name tied to the token and whether contacts should be created for email recipients.
|
50
51
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @option opts [SmtpApiTokenRequestEgg] :smtp_api_token_request_egg A request object that includes the campaign name tied to the token and whether contacts should be created for recipients of emails.
|
52
52
|
# @return [SmtpApiTokenView]
|
53
53
|
describe 'create_token test' do
|
54
54
|
it 'should work' do
|
@@ -76,7 +76,7 @@ describe 'PublicSmtpTokensApi' do
|
|
76
76
|
# @option opts [String] :email_campaign_id Identifier assigned to the campaign provided during the token creation.
|
77
77
|
# @option opts [String] :after Starting point to get the next set of results.
|
78
78
|
# @option opts [Integer] :limit Maximum number of tokens to return.
|
79
|
-
# @return [
|
79
|
+
# @return [CollectionResponseSmtpApiTokenViewForwardPaging]
|
80
80
|
describe 'get_tokens_page test' do
|
81
81
|
it 'should work' do
|
82
82
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -35,8 +35,8 @@ describe 'SingleSendApi' do
|
|
35
35
|
# unit tests for send_email
|
36
36
|
# Send a single transactional email asynchronously.
|
37
37
|
# Asynchronously send a transactional email. Returns the status of the email send with a statusId that can be used to continuously query for the status using the Email Send Status API.
|
38
|
+
# @param public_single_send_request_egg A request object describing the email to send.
|
38
39
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [PublicSingleSendRequestEgg] :public_single_send_request_egg A request object describing the email to send.
|
40
40
|
# @return [EmailSendStatusView]
|
41
41
|
describe 'send_email test' do
|
42
42
|
it 'should work' do
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for Hubspot::Marketing::Transactional::
|
17
|
+
# Unit tests for Hubspot::Marketing::Transactional::CollectionResponseSmtpApiTokenViewForwardPaging
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'CollectionResponseSmtpApiTokenViewForwardPaging' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = Hubspot::Marketing::Transactional::
|
23
|
+
@instance = Hubspot::Marketing::Transactional::CollectionResponseSmtpApiTokenViewForwardPaging.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(Hubspot::Marketing::Transactional::
|
30
|
+
describe 'test an instance of CollectionResponseSmtpApiTokenViewForwardPaging' do
|
31
|
+
it 'should create an instance of CollectionResponseSmtpApiTokenViewForwardPaging' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Marketing::Transactional::CollectionResponseSmtpApiTokenViewForwardPaging)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "results"' do
|
@@ -32,12 +32,6 @@ describe 'EmailSendStatusView' do
|
|
32
32
|
expect(@instance).to be_instance_of(Hubspot::Marketing::Transactional::EmailSendStatusView)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "event_id"' do
|
36
|
-
it 'should work' do
|
37
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
35
|
describe 'test attribute "status_id"' do
|
42
36
|
it 'should work' do
|
43
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -47,7 +41,7 @@ describe 'EmailSendStatusView' do
|
|
47
41
|
describe 'test attribute "send_result"' do
|
48
42
|
it 'should work' do
|
49
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SENT", "IDEMPOTENT_IGNORE", "QUEUED", "IDEMPOTENT_FAIL", "THROTTLED", "EMAIL_DISABLED", "PORTAL_SUSPENDED", "INVALID_TO_ADDRESS", "BLOCKED_DOMAIN", "PREVIOUSLY_BOUNCED", "EMAIL_UNCONFIRMED", "PREVIOUS_SPAM", "PREVIOUSLY_UNSUBSCRIBED_MESSAGE", "PREVIOUSLY_UNSUBSCRIBED_PORTAL", "INVALID_FROM_ADDRESS", "CAMPAIGN_CANCELLED", "VALIDATION_FAILED", "MTA_IGNORE", "BLOCKED_ADDRESS", "PORTAL_OVER_LIMIT", "PORTAL_EXPIRED", "PORTAL_MISSING_MARKETING_SCOPE", "MISSING_TEMPLATE_PROPERTIES", "MISSING_REQUIRED_PARAMETER", "PORTAL_AUTHENTICATION_FAILURE", "MISSING_CONTENT", "CORRUPT_INPUT", "TEMPLATE_RENDER_EXCEPTION", "GRAYMAIL_SUPPRESSED", "UNCONFIGURED_SENDING_DOMAIN", "UNDELIVERABLE", "CANCELLED_ABUSE", "QUARANTINED_ADDRESS", "ADDRESS_ONLY_ACCEPTED_ON_PROD", "PORTAL_NOT_AUTHORIZED_FOR_APPLICATION", "ADDRESS_LIST_BOMBED", "ADDRESS_OPTED_OUT", "RECIPIENT_FATIGUE_SUPPRESSED", "TOO_MANY_RECIPIENTS", "PREVIOUSLY_UNSUBSCRIBED_BRAND", "NON_MARKETABLE_CONTACT"])
|
44
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SENT", "IDEMPOTENT_IGNORE", "QUEUED", "IDEMPOTENT_FAIL", "THROTTLED", "EMAIL_DISABLED", "PORTAL_SUSPENDED", "INVALID_TO_ADDRESS", "BLOCKED_DOMAIN", "PREVIOUSLY_BOUNCED", "EMAIL_UNCONFIRMED", "PREVIOUS_SPAM", "PREVIOUSLY_UNSUBSCRIBED_MESSAGE", "PREVIOUSLY_UNSUBSCRIBED_PORTAL", "INVALID_FROM_ADDRESS", "CAMPAIGN_CANCELLED", "VALIDATION_FAILED", "MTA_IGNORE", "BLOCKED_ADDRESS", "PORTAL_OVER_LIMIT", "PORTAL_EXPIRED", "PORTAL_MISSING_MARKETING_SCOPE", "MISSING_TEMPLATE_PROPERTIES", "MISSING_REQUIRED_PARAMETER", "PORTAL_AUTHENTICATION_FAILURE", "MISSING_CONTENT", "CORRUPT_INPUT", "TEMPLATE_RENDER_EXCEPTION", "GRAYMAIL_SUPPRESSED", "UNCONFIGURED_SENDING_DOMAIN", "UNDELIVERABLE", "CANCELLED_ABUSE", "QUARANTINED_ADDRESS", "ADDRESS_ONLY_ACCEPTED_ON_PROD", "PORTAL_NOT_AUTHORIZED_FOR_APPLICATION", "ADDRESS_LIST_BOMBED", "ADDRESS_OPTED_OUT", "RECIPIENT_FATIGUE_SUPPRESSED", "TOO_MANY_RECIPIENTS", "PREVIOUSLY_UNSUBSCRIBED_BRAND", "NON_MARKETABLE_CONTACT", "PREVIOUSLY_UNSUBSCRIBED_BUSINESS_UNIT"])
|
51
45
|
# validator.allowable_values.each do |value|
|
52
46
|
# expect { @instance.send_result = value }.not_to raise_error
|
53
47
|
# end
|
@@ -82,4 +76,10 @@ describe 'EmailSendStatusView' do
|
|
82
76
|
end
|
83
77
|
end
|
84
78
|
|
79
|
+
describe 'test attribute "event_id"' do
|
80
|
+
it 'should work' do
|
81
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
85
|
end
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for Hubspot::Marketing::Transactional::
|
17
|
+
# Unit tests for Hubspot::Marketing::Transactional::ForwardPaging
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'ForwardPaging' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = Hubspot::Marketing::Transactional::
|
23
|
+
@instance = Hubspot::Marketing::Transactional::ForwardPaging.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(Hubspot::Marketing::Transactional::
|
30
|
+
describe 'test an instance of ForwardPaging' do
|
31
|
+
it 'should create an instance of ForwardPaging' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Marketing::Transactional::ForwardPaging)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "_next"' do
|
@@ -32,25 +32,25 @@ describe 'PublicSingleSendRequestEgg' do
|
|
32
32
|
expect(@instance).to be_instance_of(Hubspot::Marketing::Transactional::PublicSingleSendRequestEgg)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "email_id"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "message"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "contact_properties"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "custom_properties"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
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:
|
4
|
+
version: 14.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HubSpot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -395,8 +395,8 @@ files:
|
|
395
395
|
- lib/hubspot/codegen/cms/site-search/models/error.rb
|
396
396
|
- lib/hubspot/codegen/cms/site-search/models/error_detail.rb
|
397
397
|
- lib/hubspot/codegen/cms/site-search/models/indexed_data.rb
|
398
|
+
- lib/hubspot/codegen/cms/site-search/models/indexed_field.rb
|
398
399
|
- lib/hubspot/codegen/cms/site-search/models/public_search_results.rb
|
399
|
-
- lib/hubspot/codegen/cms/site-search/models/search_hit_field.rb
|
400
400
|
- lib/hubspot/codegen/cms/source-code/api/content_api.rb
|
401
401
|
- lib/hubspot/codegen/cms/source-code/api/extract_api.rb
|
402
402
|
- lib/hubspot/codegen/cms/source-code/api/metadata_api.rb
|
@@ -415,11 +415,11 @@ files:
|
|
415
415
|
- lib/hubspot/codegen/cms/url-redirects/api_client.rb
|
416
416
|
- lib/hubspot/codegen/cms/url-redirects/api_error.rb
|
417
417
|
- lib/hubspot/codegen/cms/url-redirects/configuration.rb
|
418
|
-
- lib/hubspot/codegen/cms/url-redirects/models/
|
418
|
+
- lib/hubspot/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping_forward_paging.rb
|
419
419
|
- lib/hubspot/codegen/cms/url-redirects/models/error.rb
|
420
420
|
- lib/hubspot/codegen/cms/url-redirects/models/error_detail.rb
|
421
|
+
- lib/hubspot/codegen/cms/url-redirects/models/forward_paging.rb
|
421
422
|
- lib/hubspot/codegen/cms/url-redirects/models/next_page.rb
|
422
|
-
- lib/hubspot/codegen/cms/url-redirects/models/paging.rb
|
423
423
|
- lib/hubspot/codegen/cms/url-redirects/models/url_mapping.rb
|
424
424
|
- lib/hubspot/codegen/cms/url-redirects/models/url_mapping_create_request_body.rb
|
425
425
|
- lib/hubspot/codegen/communication_preferences/api/definition_api.rb
|
@@ -1304,13 +1304,13 @@ files:
|
|
1304
1304
|
- lib/hubspot/codegen/marketing/transactional/api_client.rb
|
1305
1305
|
- lib/hubspot/codegen/marketing/transactional/api_error.rb
|
1306
1306
|
- lib/hubspot/codegen/marketing/transactional/configuration.rb
|
1307
|
-
- lib/hubspot/codegen/marketing/transactional/models/
|
1307
|
+
- lib/hubspot/codegen/marketing/transactional/models/collection_response_smtp_api_token_view_forward_paging.rb
|
1308
1308
|
- lib/hubspot/codegen/marketing/transactional/models/email_send_status_view.rb
|
1309
1309
|
- lib/hubspot/codegen/marketing/transactional/models/error.rb
|
1310
1310
|
- lib/hubspot/codegen/marketing/transactional/models/error_detail.rb
|
1311
1311
|
- lib/hubspot/codegen/marketing/transactional/models/event_id_view.rb
|
1312
|
+
- lib/hubspot/codegen/marketing/transactional/models/forward_paging.rb
|
1312
1313
|
- lib/hubspot/codegen/marketing/transactional/models/next_page.rb
|
1313
|
-
- lib/hubspot/codegen/marketing/transactional/models/paging.rb
|
1314
1314
|
- lib/hubspot/codegen/marketing/transactional/models/public_single_send_email.rb
|
1315
1315
|
- lib/hubspot/codegen/marketing/transactional/models/public_single_send_request_egg.rb
|
1316
1316
|
- lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_request_egg.rb
|
@@ -1559,7 +1559,6 @@ files:
|
|
1559
1559
|
- lib/hubspot/helpers/webhooks_helper.rb
|
1560
1560
|
- lib/hubspot/oauth_helper.rb
|
1561
1561
|
- lib/hubspot/version.rb
|
1562
|
-
- pkg/hubspot-api-client-10.1.1.gem
|
1563
1562
|
- spec/codegen/automation/actions/api/callbacks_api_spec.rb
|
1564
1563
|
- spec/codegen/automation/actions/api/definitions_api_spec.rb
|
1565
1564
|
- spec/codegen/automation/actions/api/functions_api_spec.rb
|
@@ -1710,8 +1709,8 @@ files:
|
|
1710
1709
|
- spec/codegen/cms/site-search/models/error_detail_spec.rb
|
1711
1710
|
- spec/codegen/cms/site-search/models/error_spec.rb
|
1712
1711
|
- spec/codegen/cms/site-search/models/indexed_data_spec.rb
|
1712
|
+
- spec/codegen/cms/site-search/models/indexed_field_spec.rb
|
1713
1713
|
- spec/codegen/cms/site-search/models/public_search_results_spec.rb
|
1714
|
-
- spec/codegen/cms/site-search/models/search_hit_field_spec.rb
|
1715
1714
|
- spec/codegen/cms/source-code/api/content_api_spec.rb
|
1716
1715
|
- spec/codegen/cms/source-code/api/extract_api_spec.rb
|
1717
1716
|
- spec/codegen/cms/source-code/api/metadata_api_spec.rb
|
@@ -1724,11 +1723,11 @@ files:
|
|
1724
1723
|
- spec/codegen/cms/source-code/models/file_extract_request_spec.rb
|
1725
1724
|
- spec/codegen/cms/source-code/models/task_locator_spec.rb
|
1726
1725
|
- spec/codegen/cms/url-redirects/api/redirects_api_spec.rb
|
1727
|
-
- spec/codegen/cms/url-redirects/models/
|
1726
|
+
- spec/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping_forward_paging_spec.rb
|
1728
1727
|
- spec/codegen/cms/url-redirects/models/error_detail_spec.rb
|
1729
1728
|
- spec/codegen/cms/url-redirects/models/error_spec.rb
|
1729
|
+
- spec/codegen/cms/url-redirects/models/forward_paging_spec.rb
|
1730
1730
|
- spec/codegen/cms/url-redirects/models/next_page_spec.rb
|
1731
|
-
- spec/codegen/cms/url-redirects/models/paging_spec.rb
|
1732
1731
|
- spec/codegen/cms/url-redirects/models/url_mapping_create_request_body_spec.rb
|
1733
1732
|
- spec/codegen/cms/url-redirects/models/url_mapping_spec.rb
|
1734
1733
|
- spec/codegen/communication_preferences/api/definition_api_spec.rb
|
@@ -2517,13 +2516,13 @@ files:
|
|
2517
2516
|
- spec/codegen/marketing/forms/models/single_line_text_field_spec.rb
|
2518
2517
|
- spec/codegen/marketing/transactional/api/public_smtp_tokens_api_spec.rb
|
2519
2518
|
- spec/codegen/marketing/transactional/api/single_send_api_spec.rb
|
2520
|
-
- spec/codegen/marketing/transactional/models/
|
2519
|
+
- spec/codegen/marketing/transactional/models/collection_response_smtp_api_token_view_forward_paging_spec.rb
|
2521
2520
|
- spec/codegen/marketing/transactional/models/email_send_status_view_spec.rb
|
2522
2521
|
- spec/codegen/marketing/transactional/models/error_detail_spec.rb
|
2523
2522
|
- spec/codegen/marketing/transactional/models/error_spec.rb
|
2524
2523
|
- spec/codegen/marketing/transactional/models/event_id_view_spec.rb
|
2524
|
+
- spec/codegen/marketing/transactional/models/forward_paging_spec.rb
|
2525
2525
|
- spec/codegen/marketing/transactional/models/next_page_spec.rb
|
2526
|
-
- spec/codegen/marketing/transactional/models/paging_spec.rb
|
2527
2526
|
- spec/codegen/marketing/transactional/models/public_single_send_email_spec.rb
|
2528
2527
|
- spec/codegen/marketing/transactional/models/public_single_send_request_egg_spec.rb
|
2529
2528
|
- spec/codegen/marketing/transactional/models/smtp_api_token_request_egg_spec.rb
|
@@ -2844,14 +2843,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2844
2843
|
requirements:
|
2845
2844
|
- - ">="
|
2846
2845
|
- !ruby/object:Gem::Version
|
2847
|
-
version: '
|
2846
|
+
version: '2.7'
|
2848
2847
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2849
2848
|
requirements:
|
2850
2849
|
- - ">="
|
2851
2850
|
- !ruby/object:Gem::Version
|
2852
2851
|
version: '0'
|
2853
2852
|
requirements: []
|
2854
|
-
rubygems_version: 3.
|
2853
|
+
rubygems_version: 3.2.22
|
2855
2854
|
signing_key:
|
2856
2855
|
specification_version: 4
|
2857
2856
|
summary: HubSpot Ruby API Gem
|
@@ -3570,11 +3569,11 @@ test_files:
|
|
3570
3569
|
- spec/codegen/cms/audit-logs/models/paging_spec.rb
|
3571
3570
|
- spec/codegen/cms/audit-logs/api/audit_logs_api_spec.rb
|
3572
3571
|
- spec/codegen/cms/site-search/models/error_spec.rb
|
3572
|
+
- spec/codegen/cms/site-search/models/indexed_field_spec.rb
|
3573
3573
|
- spec/codegen/cms/site-search/models/content_search_result_spec.rb
|
3574
3574
|
- spec/codegen/cms/site-search/models/indexed_data_spec.rb
|
3575
3575
|
- spec/codegen/cms/site-search/models/public_search_results_spec.rb
|
3576
3576
|
- spec/codegen/cms/site-search/models/error_detail_spec.rb
|
3577
|
-
- spec/codegen/cms/site-search/models/search_hit_field_spec.rb
|
3578
3577
|
- spec/codegen/cms/site-search/api/public_api_spec.rb
|
3579
3578
|
- spec/codegen/cms/blogs/authors/models/error_spec.rb
|
3580
3579
|
- spec/codegen/cms/blogs/authors/models/attach_to_lang_primary_request_v_next_spec.rb
|
@@ -3684,11 +3683,11 @@ test_files:
|
|
3684
3683
|
- spec/codegen/cms/domains/api/domains_api_spec.rb
|
3685
3684
|
- spec/codegen/cms/url-redirects/models/error_spec.rb
|
3686
3685
|
- spec/codegen/cms/url-redirects/models/url_mapping_create_request_body_spec.rb
|
3686
|
+
- spec/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping_forward_paging_spec.rb
|
3687
3687
|
- spec/codegen/cms/url-redirects/models/next_page_spec.rb
|
3688
3688
|
- spec/codegen/cms/url-redirects/models/url_mapping_spec.rb
|
3689
3689
|
- spec/codegen/cms/url-redirects/models/error_detail_spec.rb
|
3690
|
-
- spec/codegen/cms/url-redirects/models/
|
3691
|
-
- spec/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping_spec.rb
|
3690
|
+
- spec/codegen/cms/url-redirects/models/forward_paging_spec.rb
|
3692
3691
|
- spec/codegen/cms/url-redirects/api/redirects_api_spec.rb
|
3693
3692
|
- spec/codegen/cms/source-code/models/error_spec.rb
|
3694
3693
|
- spec/codegen/cms/source-code/models/action_response_spec.rb
|
@@ -3803,13 +3802,13 @@ test_files:
|
|
3803
3802
|
- spec/codegen/marketing/transactional/models/error_spec.rb
|
3804
3803
|
- spec/codegen/marketing/transactional/models/email_send_status_view_spec.rb
|
3805
3804
|
- spec/codegen/marketing/transactional/models/public_single_send_request_egg_spec.rb
|
3806
|
-
- spec/codegen/marketing/transactional/models/
|
3805
|
+
- spec/codegen/marketing/transactional/models/collection_response_smtp_api_token_view_forward_paging_spec.rb
|
3807
3806
|
- spec/codegen/marketing/transactional/models/smtp_api_token_view_spec.rb
|
3808
3807
|
- spec/codegen/marketing/transactional/models/next_page_spec.rb
|
3809
3808
|
- spec/codegen/marketing/transactional/models/smtp_api_token_request_egg_spec.rb
|
3810
3809
|
- spec/codegen/marketing/transactional/models/event_id_view_spec.rb
|
3811
3810
|
- spec/codegen/marketing/transactional/models/error_detail_spec.rb
|
3812
|
-
- spec/codegen/marketing/transactional/models/
|
3811
|
+
- spec/codegen/marketing/transactional/models/forward_paging_spec.rb
|
3813
3812
|
- spec/codegen/marketing/transactional/models/public_single_send_email_spec.rb
|
3814
3813
|
- spec/codegen/marketing/transactional/api/public_smtp_tokens_api_spec.rb
|
3815
3814
|
- spec/codegen/marketing/transactional/api/single_send_api_spec.rb
|
Binary file
|