hubspot-api-client 12.0.0 → 13.0.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.
@@ -22,40 +22,37 @@ module Hubspot
22
22
  def initialize(api_client = ApiClient.default)
23
23
  @api_client = api_client
24
24
  end
25
- # Read a batch of feedback submissions by internal ID, or unique property values
26
- # @param batch_read_input_simple_public_object_id [BatchReadInputSimplePublicObjectId]
25
+ # Archive a batch of feedback submissions by ID
26
+ # @param batch_input_simple_public_object_id [BatchInputSimplePublicObjectId]
27
27
  # @param [Hash] opts the optional parameters
28
- # @option opts [Boolean] :archived Whether to return only results that have been archived. (default to false)
29
- # @return [BatchResponseSimplePublicObject]
30
- def read_batch(batch_read_input_simple_public_object_id, opts = {})
31
- data, _status_code, _headers = read_batch_with_http_info(batch_read_input_simple_public_object_id, opts)
32
- data
28
+ # @return [nil]
29
+ def archive(batch_input_simple_public_object_id, opts = {})
30
+ archive_with_http_info(batch_input_simple_public_object_id, opts)
31
+ nil
33
32
  end
34
33
 
35
- # Read a batch of feedback submissions by internal ID, or unique property values
36
- # @param batch_read_input_simple_public_object_id [BatchReadInputSimplePublicObjectId]
34
+ # Archive a batch of feedback submissions by ID
35
+ # @param batch_input_simple_public_object_id [BatchInputSimplePublicObjectId]
37
36
  # @param [Hash] opts the optional parameters
38
- # @option opts [Boolean] :archived Whether to return only results that have been archived.
39
- # @return [Array<(BatchResponseSimplePublicObject, Integer, Hash)>] BatchResponseSimplePublicObject data, response status code and response headers
40
- def read_batch_with_http_info(batch_read_input_simple_public_object_id, opts = {})
37
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
38
+ def archive_with_http_info(batch_input_simple_public_object_id, opts = {})
41
39
  if @api_client.config.debugging
42
- @api_client.config.logger.debug 'Calling API: BatchApi.read_batch ...'
40
+ @api_client.config.logger.debug 'Calling API: BatchApi.archive ...'
43
41
  end
44
- # verify the required parameter 'batch_read_input_simple_public_object_id' is set
45
- if @api_client.config.client_side_validation && batch_read_input_simple_public_object_id.nil?
46
- fail ArgumentError, "Missing the required parameter 'batch_read_input_simple_public_object_id' when calling BatchApi.read_batch"
42
+ # verify the required parameter 'batch_input_simple_public_object_id' is set
43
+ if @api_client.config.client_side_validation && batch_input_simple_public_object_id.nil?
44
+ fail ArgumentError, "Missing the required parameter 'batch_input_simple_public_object_id' when calling BatchApi.archive"
47
45
  end
48
46
  # resource path
49
- local_var_path = '/crm/v3/objects/feedback_submissions/batch/read'
47
+ local_var_path = '/crm/v3/objects/feedback_submissions/batch/archive'
50
48
 
51
49
  # query parameters
52
50
  query_params = opts[:query_params] || {}
53
- query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
54
51
 
55
52
  # header parameters
56
53
  header_params = opts[:header_params] || {}
57
54
  # HTTP header 'Accept' (if needed)
58
- header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
55
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
59
56
  # HTTP header 'Content-Type'
60
57
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
61
58
 
@@ -63,10 +60,10 @@ module Hubspot
63
60
  form_params = opts[:form_params] || {}
64
61
 
65
62
  # http body (model)
66
- post_body = opts[:body] || @api_client.object_to_http_body(batch_read_input_simple_public_object_id)
63
+ post_body = opts[:body] || @api_client.object_to_http_body(batch_input_simple_public_object_id)
67
64
 
68
65
  # return_type
69
- return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
66
+ return_type = opts[:return_type]
70
67
 
71
68
  # auth_names
72
69
  auth_names = opts[:auth_names] || ['hapikey']
@@ -82,34 +79,34 @@ module Hubspot
82
79
 
83
80
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
84
81
  if @api_client.config.debugging
85
- @api_client.config.logger.debug "API called: BatchApi#read_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
+ @api_client.config.logger.debug "API called: BatchApi#archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
83
  end
87
84
  return data, status_code, headers
88
85
  end
89
86
 
90
- # Archive a batch of feedback submissions by ID
91
- # @param batch_input_simple_public_object_id [BatchInputSimplePublicObjectId]
87
+ # Create a batch of feedback submissions
88
+ # @param batch_input_simple_public_object_input [BatchInputSimplePublicObjectInput]
92
89
  # @param [Hash] opts the optional parameters
93
- # @return [nil]
94
- def submissions_batch_archive(batch_input_simple_public_object_id, opts = {})
95
- submissions_batch_archive_with_http_info(batch_input_simple_public_object_id, opts)
96
- nil
90
+ # @return [BatchResponseSimplePublicObject]
91
+ def create(batch_input_simple_public_object_input, opts = {})
92
+ data, _status_code, _headers = create_with_http_info(batch_input_simple_public_object_input, opts)
93
+ data
97
94
  end
98
95
 
99
- # Archive a batch of feedback submissions by ID
100
- # @param batch_input_simple_public_object_id [BatchInputSimplePublicObjectId]
96
+ # Create a batch of feedback submissions
97
+ # @param batch_input_simple_public_object_input [BatchInputSimplePublicObjectInput]
101
98
  # @param [Hash] opts the optional parameters
102
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
103
- def submissions_batch_archive_with_http_info(batch_input_simple_public_object_id, opts = {})
99
+ # @return [Array<(BatchResponseSimplePublicObject, Integer, Hash)>] BatchResponseSimplePublicObject data, response status code and response headers
100
+ def create_with_http_info(batch_input_simple_public_object_input, opts = {})
104
101
  if @api_client.config.debugging
105
- @api_client.config.logger.debug 'Calling API: BatchApi.submissions_batch_archive ...'
102
+ @api_client.config.logger.debug 'Calling API: BatchApi.create ...'
106
103
  end
107
- # verify the required parameter 'batch_input_simple_public_object_id' is set
108
- if @api_client.config.client_side_validation && batch_input_simple_public_object_id.nil?
109
- fail ArgumentError, "Missing the required parameter 'batch_input_simple_public_object_id' when calling BatchApi.submissions_batch_archive"
104
+ # verify the required parameter 'batch_input_simple_public_object_input' is set
105
+ if @api_client.config.client_side_validation && batch_input_simple_public_object_input.nil?
106
+ fail ArgumentError, "Missing the required parameter 'batch_input_simple_public_object_input' when calling BatchApi.create"
110
107
  end
111
108
  # resource path
112
- local_var_path = '/crm/v3/objects/feedback_submissions/batch/archive'
109
+ local_var_path = '/crm/v3/objects/feedback_submissions/batch/create'
113
110
 
114
111
  # query parameters
115
112
  query_params = opts[:query_params] || {}
@@ -117,7 +114,7 @@ module Hubspot
117
114
  # header parameters
118
115
  header_params = opts[:header_params] || {}
119
116
  # HTTP header 'Accept' (if needed)
120
- header_params['Accept'] = @api_client.select_header_accept(['*/*'])
117
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
121
118
  # HTTP header 'Content-Type'
122
119
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
123
120
 
@@ -125,10 +122,10 @@ module Hubspot
125
122
  form_params = opts[:form_params] || {}
126
123
 
127
124
  # http body (model)
128
- post_body = opts[:body] || @api_client.object_to_http_body(batch_input_simple_public_object_id)
125
+ post_body = opts[:body] || @api_client.object_to_http_body(batch_input_simple_public_object_input)
129
126
 
130
127
  # return_type
131
- return_type = opts[:return_type]
128
+ return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
132
129
 
133
130
  # auth_names
134
131
  auth_names = opts[:auth_names] || ['hapikey']
@@ -144,37 +141,40 @@ module Hubspot
144
141
 
145
142
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
146
143
  if @api_client.config.debugging
147
- @api_client.config.logger.debug "API called: BatchApi#submissions_batch_archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
144
+ @api_client.config.logger.debug "API called: BatchApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
148
145
  end
149
146
  return data, status_code, headers
150
147
  end
151
148
 
152
- # Create a batch of feedback submissions
153
- # @param batch_input_simple_public_object_input [BatchInputSimplePublicObjectInput]
149
+ # Read a batch of feedback submissions by internal ID, or unique property values
150
+ # @param batch_read_input_simple_public_object_id [BatchReadInputSimplePublicObjectId]
154
151
  # @param [Hash] opts the optional parameters
152
+ # @option opts [Boolean] :archived Whether to return only results that have been archived. (default to false)
155
153
  # @return [BatchResponseSimplePublicObject]
156
- def submissions_batch_create(batch_input_simple_public_object_input, opts = {})
157
- data, _status_code, _headers = submissions_batch_create_with_http_info(batch_input_simple_public_object_input, opts)
154
+ def read(batch_read_input_simple_public_object_id, opts = {})
155
+ data, _status_code, _headers = read_with_http_info(batch_read_input_simple_public_object_id, opts)
158
156
  data
159
157
  end
160
158
 
161
- # Create a batch of feedback submissions
162
- # @param batch_input_simple_public_object_input [BatchInputSimplePublicObjectInput]
159
+ # Read a batch of feedback submissions by internal ID, or unique property values
160
+ # @param batch_read_input_simple_public_object_id [BatchReadInputSimplePublicObjectId]
163
161
  # @param [Hash] opts the optional parameters
162
+ # @option opts [Boolean] :archived Whether to return only results that have been archived.
164
163
  # @return [Array<(BatchResponseSimplePublicObject, Integer, Hash)>] BatchResponseSimplePublicObject data, response status code and response headers
165
- def submissions_batch_create_with_http_info(batch_input_simple_public_object_input, opts = {})
164
+ def read_with_http_info(batch_read_input_simple_public_object_id, opts = {})
166
165
  if @api_client.config.debugging
167
- @api_client.config.logger.debug 'Calling API: BatchApi.submissions_batch_create ...'
166
+ @api_client.config.logger.debug 'Calling API: BatchApi.read ...'
168
167
  end
169
- # verify the required parameter 'batch_input_simple_public_object_input' is set
170
- if @api_client.config.client_side_validation && batch_input_simple_public_object_input.nil?
171
- fail ArgumentError, "Missing the required parameter 'batch_input_simple_public_object_input' when calling BatchApi.submissions_batch_create"
168
+ # verify the required parameter 'batch_read_input_simple_public_object_id' is set
169
+ if @api_client.config.client_side_validation && batch_read_input_simple_public_object_id.nil?
170
+ fail ArgumentError, "Missing the required parameter 'batch_read_input_simple_public_object_id' when calling BatchApi.read"
172
171
  end
173
172
  # resource path
174
- local_var_path = '/crm/v3/objects/feedback_submissions/batch/create'
173
+ local_var_path = '/crm/v3/objects/feedback_submissions/batch/read'
175
174
 
176
175
  # query parameters
177
176
  query_params = opts[:query_params] || {}
177
+ query_params[:'archived'] = opts[:'archived'] if !opts[:'archived'].nil?
178
178
 
179
179
  # header parameters
180
180
  header_params = opts[:header_params] || {}
@@ -187,7 +187,7 @@ module Hubspot
187
187
  form_params = opts[:form_params] || {}
188
188
 
189
189
  # http body (model)
190
- post_body = opts[:body] || @api_client.object_to_http_body(batch_input_simple_public_object_input)
190
+ post_body = opts[:body] || @api_client.object_to_http_body(batch_read_input_simple_public_object_id)
191
191
 
192
192
  # return_type
193
193
  return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
@@ -206,7 +206,7 @@ module Hubspot
206
206
 
207
207
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
208
208
  if @api_client.config.debugging
209
- @api_client.config.logger.debug "API called: BatchApi#submissions_batch_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
209
+ @api_client.config.logger.debug "API called: BatchApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
210
210
  end
211
211
  return data, status_code, headers
212
212
  end
@@ -215,8 +215,8 @@ module Hubspot
215
215
  # @param batch_input_simple_public_object_batch_input [BatchInputSimplePublicObjectBatchInput]
216
216
  # @param [Hash] opts the optional parameters
217
217
  # @return [BatchResponseSimplePublicObject]
218
- def submissions_batch_update(batch_input_simple_public_object_batch_input, opts = {})
219
- data, _status_code, _headers = submissions_batch_update_with_http_info(batch_input_simple_public_object_batch_input, opts)
218
+ def update(batch_input_simple_public_object_batch_input, opts = {})
219
+ data, _status_code, _headers = update_with_http_info(batch_input_simple_public_object_batch_input, opts)
220
220
  data
221
221
  end
222
222
 
@@ -224,13 +224,13 @@ module Hubspot
224
224
  # @param batch_input_simple_public_object_batch_input [BatchInputSimplePublicObjectBatchInput]
225
225
  # @param [Hash] opts the optional parameters
226
226
  # @return [Array<(BatchResponseSimplePublicObject, Integer, Hash)>] BatchResponseSimplePublicObject data, response status code and response headers
227
- def submissions_batch_update_with_http_info(batch_input_simple_public_object_batch_input, opts = {})
227
+ def update_with_http_info(batch_input_simple_public_object_batch_input, opts = {})
228
228
  if @api_client.config.debugging
229
- @api_client.config.logger.debug 'Calling API: BatchApi.submissions_batch_update ...'
229
+ @api_client.config.logger.debug 'Calling API: BatchApi.update ...'
230
230
  end
231
231
  # verify the required parameter 'batch_input_simple_public_object_batch_input' is set
232
232
  if @api_client.config.client_side_validation && batch_input_simple_public_object_batch_input.nil?
233
- fail ArgumentError, "Missing the required parameter 'batch_input_simple_public_object_batch_input' when calling BatchApi.submissions_batch_update"
233
+ fail ArgumentError, "Missing the required parameter 'batch_input_simple_public_object_batch_input' when calling BatchApi.update"
234
234
  end
235
235
  # resource path
236
236
  local_var_path = '/crm/v3/objects/feedback_submissions/batch/update'
@@ -268,7 +268,7 @@ module Hubspot
268
268
 
269
269
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
270
270
  if @api_client.config.debugging
271
- @api_client.config.logger.debug "API called: BatchApi#submissions_batch_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
271
+ @api_client.config.logger.debug "API called: BatchApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
272
272
  end
273
273
  return data, status_code, headers
274
274
  end
@@ -26,8 +26,8 @@ module Hubspot
26
26
  # @param public_merge_input [PublicMergeInput]
27
27
  # @param [Hash] opts the optional parameters
28
28
  # @return [SimplePublicObject]
29
- def submissions_merge(public_merge_input, opts = {})
30
- data, _status_code, _headers = submissions_merge_with_http_info(public_merge_input, opts)
29
+ def merge(public_merge_input, opts = {})
30
+ data, _status_code, _headers = merge_with_http_info(public_merge_input, opts)
31
31
  data
32
32
  end
33
33
 
@@ -35,13 +35,13 @@ module Hubspot
35
35
  # @param public_merge_input [PublicMergeInput]
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @return [Array<(SimplePublicObject, Integer, Hash)>] SimplePublicObject data, response status code and response headers
38
- def submissions_merge_with_http_info(public_merge_input, opts = {})
38
+ def merge_with_http_info(public_merge_input, opts = {})
39
39
  if @api_client.config.debugging
40
- @api_client.config.logger.debug 'Calling API: PublicObjectApi.submissions_merge ...'
40
+ @api_client.config.logger.debug 'Calling API: PublicObjectApi.merge ...'
41
41
  end
42
42
  # verify the required parameter 'public_merge_input' is set
43
43
  if @api_client.config.client_side_validation && public_merge_input.nil?
44
- fail ArgumentError, "Missing the required parameter 'public_merge_input' when calling PublicObjectApi.submissions_merge"
44
+ fail ArgumentError, "Missing the required parameter 'public_merge_input' when calling PublicObjectApi.merge"
45
45
  end
46
46
  # resource path
47
47
  local_var_path = '/crm/v3/objects/feedback_submissions/merge'
@@ -79,7 +79,7 @@ module Hubspot
79
79
 
80
80
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
81
81
  if @api_client.config.debugging
82
- @api_client.config.logger.debug "API called: PublicObjectApi#submissions_merge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
+ @api_client.config.logger.debug "API called: PublicObjectApi#merge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
83
83
  end
84
84
  return data, status_code, headers
85
85
  end
@@ -25,8 +25,8 @@ module Hubspot
25
25
  # @param public_merge_input [PublicMergeInput]
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [SimplePublicObject]
28
- def post_crm_v3_objects_quotes_merge(public_merge_input, opts = {})
29
- data, _status_code, _headers = post_crm_v3_objects_quotes_merge_with_http_info(public_merge_input, opts)
28
+ def merge(public_merge_input, opts = {})
29
+ data, _status_code, _headers = merge_with_http_info(public_merge_input, opts)
30
30
  data
31
31
  end
32
32
 
@@ -34,13 +34,13 @@ module Hubspot
34
34
  # @param public_merge_input [PublicMergeInput]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(SimplePublicObject, Integer, Hash)>] SimplePublicObject data, response status code and response headers
37
- def post_crm_v3_objects_quotes_merge_with_http_info(public_merge_input, opts = {})
37
+ def merge_with_http_info(public_merge_input, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: PublicObjectApi.post_crm_v3_objects_quotes_merge ...'
39
+ @api_client.config.logger.debug 'Calling API: PublicObjectApi.merge ...'
40
40
  end
41
41
  # verify the required parameter 'public_merge_input' is set
42
42
  if @api_client.config.client_side_validation && public_merge_input.nil?
43
- fail ArgumentError, "Missing the required parameter 'public_merge_input' when calling PublicObjectApi.post_crm_v3_objects_quotes_merge"
43
+ fail ArgumentError, "Missing the required parameter 'public_merge_input' when calling PublicObjectApi.merge"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/crm/v3/objects/quotes/merge'
@@ -78,7 +78,7 @@ module Hubspot
78
78
 
79
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
80
  if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: PublicObjectApi#post_crm_v3_objects_quotes_merge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: PublicObjectApi#merge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -1,3 +1,3 @@
1
1
  module Hubspot
2
- VERSION = '12.0.0'
2
+ VERSION = '13.0.0'
3
3
  end
@@ -3,5 +3,7 @@ require 'spec_helper'
3
3
  describe 'Hubspot::Discovery::Crm::Objects::FeedbackSubmissions::AssociationsApi' do
4
4
  subject(:api) { Hubspot::Client.new(access_token: 'test').crm.objects.feedback_submissions.associations_api }
5
5
 
6
- it { is_expected.to respond_to(:get_all) }
6
+ it { is_expected.to respond_to(:archive) }
7
+ it { is_expected.to respond_to(:create) }
8
+ it { is_expected.to respond_to(:get_page) }
7
9
  end
@@ -3,6 +3,9 @@ require 'spec_helper'
3
3
  describe 'Hubspot::Discovery::Crm::Objects::FeedbackSubmissions::BasicApi' do
4
4
  subject(:api) { Hubspot::Client.new(access_token: 'test').crm.objects.feedback_submissions.basic_api }
5
5
 
6
+ it { is_expected.to respond_to(:archive) }
7
+ it { is_expected.to respond_to(:create) }
6
8
  it { is_expected.to respond_to(:get_by_id) }
7
9
  it { is_expected.to respond_to(:get_page) }
10
+ it { is_expected.to respond_to(:update) }
8
11
  end
@@ -3,5 +3,8 @@ require 'spec_helper'
3
3
  describe 'Hubspot::Discovery::Crm::Objects::FeedbackSubmissions::BatchApi' do
4
4
  subject(:api) { Hubspot::Client.new(access_token: 'test').crm.objects.feedback_submissions.batch_api }
5
5
 
6
- it { is_expected.to respond_to(:read_batch) }
6
+ it { is_expected.to respond_to(:archive) }
7
+ it { is_expected.to respond_to(:create) }
8
+ it { is_expected.to respond_to(:read) }
9
+ it { is_expected.to respond_to(:update) }
7
10
  end
@@ -3,5 +3,5 @@ require 'spec_helper'
3
3
  describe 'Hubspot::Discovery::Crm::Objects::FeedbackSubmissions::PublicObjectApi' do
4
4
  subject(:api) { Hubspot::Client.new(access_token: 'test').crm.objects.feedback_submissions.public_object_api }
5
5
 
6
- it { is_expected.to respond_to(:submissions_merge) }
6
+ it { is_expected.to respond_to(:merge) }
7
7
  end
@@ -3,5 +3,7 @@ require 'spec_helper'
3
3
  describe 'Hubspot::Crm::Objects::FeedbackSubmissions::AssociationsApi' do
4
4
  subject(:api) { Hubspot::Crm::Objects::FeedbackSubmissions::AssociationsApi.new }
5
5
 
6
- it { is_expected.to respond_to(:get_all) }
6
+ it { is_expected.to respond_to(:archive) }
7
+ it { is_expected.to respond_to(:create) }
8
+ it { is_expected.to respond_to(:get_page) }
7
9
  end
@@ -3,6 +3,9 @@ require 'spec_helper'
3
3
  describe 'Hubspot::Crm::Objects::FeedbackSubmissions::BasicApi' do
4
4
  subject(:api) { Hubspot::Crm::Objects::FeedbackSubmissions::BasicApi.new }
5
5
 
6
+ it { is_expected.to respond_to(:archive) }
7
+ it { is_expected.to respond_to(:create) }
6
8
  it { is_expected.to respond_to(:get_by_id) }
7
9
  it { is_expected.to respond_to(:get_page) }
10
+ it { is_expected.to respond_to(:update) }
8
11
  end
@@ -3,5 +3,8 @@ require 'spec_helper'
3
3
  describe 'Hubspot::Crm::Objects::FeedbackSubmissions::BatchApi' do
4
4
  subject(:api) { Hubspot::Crm::Objects::FeedbackSubmissions::BatchApi.new }
5
5
 
6
- it { is_expected.to respond_to(:read_batch) }
6
+ it { is_expected.to respond_to(:archive) }
7
+ it { is_expected.to respond_to(:create) }
8
+ it { is_expected.to respond_to(:read) }
9
+ it { is_expected.to respond_to(:update) }
7
10
  end
@@ -3,5 +3,5 @@ require 'spec_helper'
3
3
  describe 'Hubspot::Crm::Objects::FeedbackSubmissions::PublicObjectApi' do
4
4
  subject(:api) { Hubspot::Crm::Objects::FeedbackSubmissions::PublicObjectApi.new }
5
5
 
6
- it { is_expected.to respond_to(:submissions_merge) }
6
+ it { is_expected.to respond_to(:merge) }
7
7
  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: 12.0.0
4
+ version: 13.0.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-06-09 00:00:00.000000000 Z
11
+ date: 2022-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -104,20 +104,14 @@ dependencies:
104
104
  requirements:
105
105
  - - "~>"
106
106
  - !ruby/object:Gem::Version
107
- version: '1.24'
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: 1.24.3
107
+ version: '3.14'
111
108
  type: :development
112
109
  prerelease: false
113
110
  version_requirements: !ruby/object:Gem::Requirement
114
111
  requirements:
115
112
  - - "~>"
116
113
  - !ruby/object:Gem::Version
117
- version: '1.24'
118
- - - ">="
119
- - !ruby/object:Gem::Version
120
- version: 1.24.3
114
+ version: '3.14'
121
115
  - !ruby/object:Gem::Dependency
122
116
  name: autotest
123
117
  requirement: !ruby/object:Gem::Requirement