hubspot-api-client 12.0.0 → 13.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/Gemfile.lock +25 -23
  4. data/README.md +49 -44
  5. data/hubspot-api-client.gemspec +1 -1
  6. data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +1 -1
  7. data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +2 -2
  8. data/lib/hubspot/codegen/cms/site-search/api/public_api.rb +1 -4
  9. data/lib/hubspot/codegen/cms/site-search/models/content_search_result.rb +2 -2
  10. data/lib/hubspot/codegen/cms/site-search/models/indexed_data.rb +1 -1
  11. data/lib/hubspot/codegen/cms/site-search/models/{search_hit_field.rb → indexed_field.rb} +35 -35
  12. data/lib/hubspot/codegen/cms/url-redirects/api/redirects_api.rb +23 -21
  13. 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
  14. data/lib/hubspot/codegen/cms/url-redirects/models/{paging.rb → forward_paging.rb} +3 -3
  15. data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping.rb +14 -226
  16. data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping_create_request_body.rb +31 -31
  17. data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +2 -2
  18. data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +8 -2
  19. data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +2 -2
  20. data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +2 -2
  21. data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +2 -2
  22. data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +2 -2
  23. data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +2 -2
  24. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +59 -59
  25. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +114 -114
  26. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +61 -61
  27. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +6 -6
  28. data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +2 -2
  29. data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +2 -2
  30. data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +2 -2
  31. data/lib/hubspot/codegen/crm/products/api/basic_api.rb +2 -2
  32. data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +2 -2
  33. data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +6 -6
  34. data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +2 -2
  35. data/lib/hubspot/codegen/files/files/api/files_api.rb +2 -2
  36. data/lib/hubspot/codegen/files/files/api/folders_api.rb +3 -3
  37. data/lib/hubspot/codegen/marketing/transactional/api/public_smtp_tokens_api.rb +18 -14
  38. data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +10 -6
  39. 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
  40. data/lib/hubspot/codegen/marketing/transactional/models/email_send_status_view.rb +15 -15
  41. data/lib/hubspot/codegen/marketing/transactional/models/{paging.rb → forward_paging.rb} +3 -3
  42. data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_email.rb +3 -13
  43. data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_request_egg.rb +22 -30
  44. data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_request_egg.rb +1 -1
  45. data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_view.rb +1 -1
  46. data/lib/hubspot/configuration.rb +3 -1
  47. data/lib/hubspot/version.rb +1 -1
  48. data/spec/codegen/cms/site-search/api/public_api_spec.rb +0 -1
  49. data/spec/codegen/cms/site-search/models/content_search_result_spec.rb +1 -1
  50. data/spec/codegen/cms/site-search/models/{search_hit_field_spec.rb → indexed_field_spec.rb} +10 -10
  51. data/spec/codegen/cms/url-redirects/api/redirects_api_spec.rb +3 -5
  52. 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
  53. data/spec/codegen/cms/url-redirects/models/{paging_spec.rb → forward_paging_spec.rb} +6 -6
  54. data/spec/codegen/cms/url-redirects/models/url_mapping_create_request_body_spec.rb +10 -10
  55. data/spec/codegen/cms/url-redirects/models/url_mapping_spec.rb +2 -78
  56. data/spec/codegen/crm/contacts/api/basic_api_spec.rb +2 -0
  57. data/spec/codegen/crm/contacts/api/gdpr_api_spec.rb +3 -3
  58. data/spec/codegen/crm/objects/api/gdpr_api_spec.rb +3 -3
  59. data/spec/codegen/crm/objects/feedback_submissions/api/associations_api_spec.rb +14 -14
  60. data/spec/codegen/crm/objects/feedback_submissions/api/basic_api_spec.rb +26 -26
  61. data/spec/codegen/crm/objects/feedback_submissions/api/batch_api_spec.rb +17 -17
  62. data/spec/codegen/crm/objects/feedback_submissions/api/public_object_api_spec.rb +2 -2
  63. data/spec/codegen/crm/quotes/api/public_object_api_spec.rb +2 -2
  64. data/spec/codegen/marketing/transactional/api/public_smtp_tokens_api_spec.rb +2 -2
  65. data/spec/codegen/marketing/transactional/api/single_send_api_spec.rb +1 -1
  66. 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
  67. data/spec/codegen/marketing/transactional/models/email_send_status_view_spec.rb +7 -7
  68. data/spec/codegen/marketing/transactional/models/{paging_spec.rb → forward_paging_spec.rb} +6 -6
  69. data/spec/codegen/marketing/transactional/models/public_single_send_request_egg_spec.rb +4 -4
  70. data/spec/discovery/crm/objects/feedback_submissions/associations_api_spec.rb +3 -1
  71. data/spec/discovery/crm/objects/feedback_submissions/basic_api_spec.rb +3 -0
  72. data/spec/discovery/crm/objects/feedback_submissions/batch_api_spec.rb +4 -1
  73. data/spec/discovery/crm/objects/feedback_submissions/public_object_api_spec.rb +1 -1
  74. data/spec/features/crm/objects/feedback_submissions/associations_api_spec.rb +3 -1
  75. data/spec/features/crm/objects/feedback_submissions/basic_api_spec.rb +3 -0
  76. data/spec/features/crm/objects/feedback_submissions/batch_api_spec.rb +4 -1
  77. data/spec/features/crm/objects/feedback_submissions/public_object_api_spec.rb +1 -1
  78. metadata +20 -27
  79. data/pkg/hubspot-api-client-10.1.1.gem +0 -0
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Hubspot::Cms::UrlRedirects::Paging
17
+ # Unit tests for Hubspot::Cms::UrlRedirects::ForwardPaging
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'Paging' do
20
+ describe 'ForwardPaging' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Hubspot::Cms::UrlRedirects::Paging.new
23
+ @instance = Hubspot::Cms::UrlRedirects::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 Paging' do
31
- it 'should create an instance of Paging' do
32
- expect(@instance).to be_instance_of(Hubspot::Cms::UrlRedirects::Paging)
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::Cms::UrlRedirects::ForwardPaging)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "_next"' do
@@ -32,61 +32,61 @@ describe 'UrlMappingCreateRequestBody' do
32
32
  expect(@instance).to be_instance_of(Hubspot::Cms::UrlRedirects::UrlMappingCreateRequestBody)
33
33
  end
34
34
  end
35
- describe 'test attribute "route_prefix"' do
35
+ describe 'test attribute "precedence"' 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 "destination"' do
41
+ describe 'test attribute "is_only_after_not_found"' 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 "redirect_style"' do
47
+ describe 'test attribute "is_match_full_url"' 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 "precedence"' do
53
+ describe 'test attribute "is_match_query_string"' 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
57
57
  end
58
58
 
59
- describe 'test attribute "is_only_after_not_found"' do
59
+ describe 'test attribute "is_pattern"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "is_match_full_url"' do
65
+ describe 'test attribute "is_trailing_slash_optional"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "is_match_query_string"' do
71
+ describe 'test attribute "is_protocol_agnostic"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "is_pattern"' do
77
+ describe 'test attribute "route_prefix"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
81
81
  end
82
82
 
83
- describe 'test attribute "is_trailing_slash_optional"' do
83
+ describe 'test attribute "destination"' do
84
84
  it 'should work' do
85
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
86
  end
87
87
  end
88
88
 
89
- describe 'test attribute "is_protocol_agnostic"' do
89
+ describe 'test attribute "redirect_style"' do
90
90
  it 'should work' do
91
91
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
92
  end
@@ -38,36 +38,6 @@ describe 'UrlMapping' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "portal_id"' do
42
- it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
- describe 'test attribute "created"' do
48
- it 'should work' do
49
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
- end
51
- end
52
-
53
- describe 'test attribute "updated"' do
54
- it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
- end
57
- end
58
-
59
- describe 'test attribute "created_by_id"' do
60
- it 'should work' do
61
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
- end
63
- end
64
-
65
- describe 'test attribute "updated_by_id"' do
66
- it 'should work' do
67
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
- end
69
- end
70
-
71
41
  describe 'test attribute "route_prefix"' do
72
42
  it 'should work' do
73
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -86,24 +56,12 @@ describe 'UrlMapping' do
86
56
  end
87
57
  end
88
58
 
89
- describe 'test attribute "content_group_id"' do
90
- it 'should work' do
91
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
- end
93
- end
94
-
95
59
  describe 'test attribute "is_only_after_not_found"' do
96
60
  it 'should work' do
97
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
62
  end
99
63
  end
100
64
 
101
- describe 'test attribute "is_regex"' do
102
- it 'should work' do
103
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
- end
105
- end
106
-
107
65
  describe 'test attribute "is_match_full_url"' do
108
66
  it 'should work' do
109
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -134,53 +92,19 @@ describe 'UrlMapping' do
134
92
  end
135
93
  end
136
94
 
137
- describe 'test attribute "name"' do
138
- it 'should work' do
139
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
- end
141
- end
142
-
143
95
  describe 'test attribute "precedence"' do
144
96
  it 'should work' do
145
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
98
  end
147
99
  end
148
100
 
149
- describe 'test attribute "deleted_at"' do
150
- it 'should work' do
151
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
- end
153
- end
154
-
155
- describe 'test attribute "note"' do
156
- it 'should work' do
157
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
- end
159
- end
160
-
161
- describe 'test attribute "label"' do
162
- it 'should work' do
163
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
- end
165
- end
166
-
167
- describe 'test attribute "internally_created"' do
168
- it 'should work' do
169
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
170
- end
171
- end
172
-
173
- describe 'test attribute "cos_object_type"' do
101
+ describe 'test attribute "created"' do
174
102
  it 'should work' do
175
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["CONTENT", "EXTENSION_RESOURCE", "LAYOUT", "CUSTOM_WIDGET", "WIDGET", "FORM", "PLACEMENT", "IMAGE", "DOMAIN_SETTINGS", "SITE_SETTINGS", "EMAIL_ADDRESS", "WORKFLOW", "HUBDB_TABLE", "REDIRECT_URL", "DESIGN_FOLDER", "SITE_MAP", "DOMAIN", "BLOG", "FILE", "FOLDER", "SITE_MENU", "THEME", "CONTENT_GROUP", "FOLLOW_ME", "KNOWLEDGE_BASE", "LIST_MEMBERSHIP", "CONTACT_MEMBERSHIP", "PASSWORD_PROTECTED", "UNRESTRICTED_ACCESS", "MARKETPLACE_LISTING", "LAYOUT_SECTION", "THEME_SETTINGS", "VIDEO_PLAYER", "URL_MAPPING", "KNOWLEDGE_CATEGORY", "KNOWLEDGE_HOMEPAGE_CATEGORY", "RAW_ASSET", "GLOBAL_CONTENT", "HUBDB_TABLE_ROW", "BLOG_AUTHOR", "SERVERLESS_FUNCTION", "KNOWLEDGE_CATEGORY_TRANSLATION"])
177
- # validator.allowable_values.each do |value|
178
- # expect { @instance.cos_object_type = value }.not_to raise_error
179
- # end
180
104
  end
181
105
  end
182
106
 
183
- describe 'test attribute "cdn_purge_embargo_time"' do
107
+ describe 'test attribute "updated"' do
184
108
  it 'should work' do
185
109
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
186
110
  end
@@ -65,6 +65,7 @@ describe 'BasicApi' do
65
65
  # @option opts [Array<String>] :properties_with_history A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored.
66
66
  # @option opts [Array<String>] :associations A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
67
67
  # @option opts [Boolean] :archived Whether to return only results that have been archived.
68
+ # @option opts [String] :id_property The name of a property whose values are unique for this object type
68
69
  # @return [SimplePublicObjectWithAssociations]
69
70
  describe 'get_by_id test' do
70
71
  it 'should work' do
@@ -95,6 +96,7 @@ describe 'BasicApi' do
95
96
  # @param contact_id
96
97
  # @param simple_public_object_input
97
98
  # @param [Hash] opts the optional parameters
99
+ # @option opts [String] :id_property The name of a property whose values are unique for this object type
98
100
  # @return [SimplePublicObject]
99
101
  describe 'update test' do
100
102
  it 'should work' do
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for Hubspot::Crm::Contacts::GDPRApi
16
+ # Unit tests for Hubspot::Crm::Contacts::GdprApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
19
  describe 'GdprApi' do
@@ -33,8 +33,8 @@ describe 'GdprApi' do
33
33
  end
34
34
 
35
35
  # unit tests for purge
36
- # GDPR DELETE
37
- # Permanently delete a contact and all associated content to follow GDPR. Use optional property &#39;idProperty&#39; set to &#39;email&#39; to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
36
+ # Gdpr DELETE
37
+ # Permanently delete a contact and all associated content to follow Gdpr. Use optional property &#39;idProperty&#39; set to &#39;email&#39; to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
38
38
  # @param public_gdpr_delete_input
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [nil]
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'spec_helper'
14
14
  require 'json'
15
15
 
16
- # Unit tests for Hubspot::Crm::Objects::GDPRApi
16
+ # Unit tests for Hubspot::Crm::Objects::GdprApi
17
17
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
18
  # Please update as you see appropriate
19
19
  describe 'GdprApi' do
@@ -33,8 +33,8 @@ describe 'GdprApi' do
33
33
  end
34
34
 
35
35
  # unit tests for purge
36
- # GDPR DELETE
37
- # Permanently delete a contact and all associated content to follow GDPR. Use optional property &#39;idProperty&#39; set to &#39;email&#39; to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
36
+ # Gdpr DELETE
37
+ # Permanently delete a contact and all associated content to follow Gdpr. Use optional property &#39;idProperty&#39; set to &#39;email&#39; to identify contact by email address. If email address is not found, the email address will be added to a blocklist and prevent it from being used in the future.
38
38
  # @param object_type
39
39
  # @param public_gdpr_delete_input
40
40
  # @param [Hash] opts the optional parameters
@@ -32,21 +32,21 @@ describe 'AssociationsApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for get_all
36
- # List associations of a feedback submission by type
35
+ # unit tests for archive
36
+ # Remove an association between two feedback submissions
37
37
  # @param feedback_submission_id
38
38
  # @param to_object_type
39
+ # @param to_object_id
40
+ # @param association_type
39
41
  # @param [Hash] opts the optional parameters
40
- # @option opts [String] :after The paging cursor token of the last successfully read resource will be returned as the &#x60;paging.next.after&#x60; JSON property of a paged response containing more results.
41
- # @option opts [Integer] :limit The maximum number of results to display per page.
42
- # @return [CollectionResponseAssociatedIdForwardPaging]
43
- describe 'get_all test' do
42
+ # @return [nil]
43
+ describe 'archive test' do
44
44
  it 'should work' do
45
45
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
46
  end
47
47
  end
48
48
 
49
- # unit tests for submissions_feedback_submission_id_associations_to_object_type_to_object_id_association_type
49
+ # unit tests for create
50
50
  # Associate a feedback submission with another object
51
51
  # @param feedback_submission_id
52
52
  # @param to_object_type
@@ -54,21 +54,21 @@ describe 'AssociationsApi' do
54
54
  # @param association_type
55
55
  # @param [Hash] opts the optional parameters
56
56
  # @return [SimplePublicObjectWithAssociations]
57
- describe 'submissions_feedback_submission_id_associations_to_object_type_to_object_id_association_type test' do
57
+ describe 'create test' do
58
58
  it 'should work' do
59
59
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
60
  end
61
61
  end
62
62
 
63
- # unit tests for submissions_feedback_submission_id_associations_to_object_type_to_object_id_association_type_0
64
- # Remove an association between two feedback submissions
63
+ # unit tests for get_page
64
+ # List associations of a feedback submission by type
65
65
  # @param feedback_submission_id
66
66
  # @param to_object_type
67
- # @param to_object_id
68
- # @param association_type
69
67
  # @param [Hash] opts the optional parameters
70
- # @return [nil]
71
- describe 'submissions_feedback_submission_id_associations_to_object_type_to_object_id_association_type_0 test' do
68
+ # @option opts [String] :after The paging cursor token of the last successfully read resource will be returned as the &#x60;paging.next.after&#x60; JSON property of a paged response containing more results.
69
+ # @option opts [Integer] :limit The maximum number of results to display per page.
70
+ # @return [CollectionResponseAssociatedIdForwardPaging]
71
+ describe 'get_page test' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
@@ -32,6 +32,30 @@ describe 'BasicApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for archive
36
+ # Archive
37
+ # Move an Object identified by &#x60;{feedbackSubmissionId}&#x60; to the recycling bin.
38
+ # @param feedback_submission_id
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [nil]
41
+ describe 'archive test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for create
48
+ # Create
49
+ # Create a feedback submission with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard feedback submissions is provided.
50
+ # @param simple_public_object_input
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [SimplePublicObject]
53
+ describe 'create test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
35
59
  # unit tests for get_by_id
36
60
  # Read
37
61
  # Read an Object identified by &#x60;{feedbackSubmissionId}&#x60;. &#x60;{feedbackSubmissionId}&#x60; refers to the internal object ID by default, or optionally any unique property value as specified by the &#x60;idProperty&#x60; query param. Control what is returned via the &#x60;properties&#x60; query param.
@@ -66,31 +90,7 @@ describe 'BasicApi' do
66
90
  end
67
91
  end
68
92
 
69
- # unit tests for submissions
70
- # Create
71
- # Create a feedback submission with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard feedback submissions is provided.
72
- # @param simple_public_object_input
73
- # @param [Hash] opts the optional parameters
74
- # @return [SimplePublicObject]
75
- describe 'submissions test' do
76
- it 'should work' do
77
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
- end
79
- end
80
-
81
- # unit tests for submissions_feedback_submission_id
82
- # Archive
83
- # Move an Object identified by &#x60;{feedbackSubmissionId}&#x60; to the recycling bin.
84
- # @param feedback_submission_id
85
- # @param [Hash] opts the optional parameters
86
- # @return [nil]
87
- describe 'submissions_feedback_submission_id test' do
88
- it 'should work' do
89
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
- end
91
- end
92
-
93
- # unit tests for submissions_feedback_submission_id_0
93
+ # unit tests for update
94
94
  # Update
95
95
  # Perform a partial update of an Object identified by &#x60;{feedbackSubmissionId}&#x60;. &#x60;{feedbackSubmissionId}&#x60; refers to the internal object ID by default, or optionally any unique property value as specified by the &#x60;idProperty&#x60; query param. Provided property values will be overwritten. Read-only and non-existent properties will be ignored. Properties values can be cleared by passing an empty string.
96
96
  # @param feedback_submission_id
@@ -98,7 +98,7 @@ describe 'BasicApi' do
98
98
  # @param [Hash] opts the optional parameters
99
99
  # @option opts [String] :id_property The name of a property whose values are unique for this object type
100
100
  # @return [SimplePublicObject]
101
- describe 'submissions_feedback_submission_id_0 test' do
101
+ describe 'update test' do
102
102
  it 'should work' do
103
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
104
  end
@@ -32,46 +32,46 @@ describe 'BatchApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for read_batch
36
- # Read a batch of feedback submissions by internal ID, or unique property values
37
- # @param batch_read_input_simple_public_object_id
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
- # @option opts [Boolean] :archived Whether to return only results that have been archived.
40
- # @return [BatchResponseSimplePublicObject]
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 submissions_batch_archive
48
- # Archive a batch of feedback submissions by ID
49
- # @param batch_input_simple_public_object_id
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 [nil]
52
- describe 'submissions_batch_archive test' do
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 submissions_batch_create
59
- # Create a batch of feedback submissions
60
- # @param batch_input_simple_public_object_input
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 'submissions_batch_create test' do
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 submissions_batch_update
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 'submissions_batch_update test' do
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 submissions_merge
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 'submissions_merge test' do
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 post_crm_v3_objects_quotes_merge
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 'post_crm_v3_objects_quotes_merge test' do
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 [CollectionResponseSmtpApiTokenView]
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::CollectionResponseSmtpApiTokenView
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 'CollectionResponseSmtpApiTokenView' do
20
+ describe 'CollectionResponseSmtpApiTokenViewForwardPaging' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Hubspot::Marketing::Transactional::CollectionResponseSmtpApiTokenView.new
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 CollectionResponseSmtpApiTokenView' do
31
- it 'should create an instance of CollectionResponseSmtpApiTokenView' do
32
- expect(@instance).to be_instance_of(Hubspot::Marketing::Transactional::CollectionResponseSmtpApiTokenView)
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::Paging
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 'Paging' do
20
+ describe 'ForwardPaging' do
21
21
  before do
22
22
  # run before each test
23
- @instance = Hubspot::Marketing::Transactional::Paging.new
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 Paging' do
31
- it 'should create an instance of Paging' do
32
- expect(@instance).to be_instance_of(Hubspot::Marketing::Transactional::Paging)
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