ultracart_api 3.10.211 → 3.10.213

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef4d553a50f563be1fa121d3a629c1a47359902147ee09b647e5b49a7f3624fc
4
- data.tar.gz: 205d94573abad839416731ca2f68b6a5adb2c1e2bfa10440223ffa865cc34be5
3
+ metadata.gz: 131e2cb97c0feb647e076268a4bae65bd746cf25199db05266bbc5264fb0100e
4
+ data.tar.gz: 10dfcd42274edd174728307cde79e1a37e69e4873572d1a598bb9132486229fb
5
5
  SHA512:
6
- metadata.gz: 00b7cbdfd52a1b599eeac233f4e1a5ac6382a246b00252c9051c9e041f3c43cf05a30f741828f387d924fae77c6cb717287a1f0abcea03faf23589de8de19636
7
- data.tar.gz: 232f5d28b268981761c8409ecd85eab1efddd38ec457508d29ac80f7bc515f8f8537ead1c7faeedb39c98dc5026bdbd37d1df428da8253cf7cd461e69d5e5782
6
+ metadata.gz: 2fa23e1a646c2de8f7ba6b71aa85738cd57f268673fe617d9bbf820b92bbd6541154dd981c15800ba994ee399b390af894951613f2409b9fc67b05a79dd48359
7
+ data.tar.gz: a8652785a2a7844043c2fe8c2c570d602d8487f17b2ad46f09f35423ede75f7849f30fcc13f11a3598880f0dd57a9f7f96b20e8f45a27a3264f9d2ec72eab18a
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 3.10.211
10
+ - Package version: 3.10.213
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-3.10.211.gem
27
+ gem install ./ultracart_api-3.10.213.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.211.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.213.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'ultracart_api', '~> 3.10.211'
35
+ gem 'ultracart_api', '~> 3.10.213'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -494,6 +494,7 @@ Class | Method | HTTP request | Description
494
494
  *UltracartClient::StorefrontApi* | [**sequence_test**](docs/StorefrontApi.md#sequence_test) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/test | Sequence test
495
495
  *UltracartClient::StorefrontApi* | [**start_email_campaign**](docs/StorefrontApi.md#start_email_campaign) | **PUT** /storefront/{storefront_oid}/email/campaigns/{email_campaign_uuid}/start | Start email campaign
496
496
  *UltracartClient::StorefrontApi* | [**subscribe_to_email_list**](docs/StorefrontApi.md#subscribe_to_email_list) | **POST** /storefront/{storefront_oid}/email/lists/{email_list_uuid}/subscribe | Subscribe customers to email list
497
+ *UltracartClient::StorefrontApi* | [**sunset_email_segment**](docs/StorefrontApi.md#sunset_email_segment) | **PUT** /storefront/{storefront_oid}/email/segments/{email_segment_uuid}/sunset | Sunset email segment
497
498
  *UltracartClient::StorefrontApi* | [**unfavorite_screen_recording**](docs/StorefrontApi.md#unfavorite_screen_recording) | **DELETE** /storefront/{storefront_oid}/screen_recordings/{screen_recording_uuid}/favorite | Remove favorite flag on screen recording
498
499
  *UltracartClient::StorefrontApi* | [**update_email_campaign**](docs/StorefrontApi.md#update_email_campaign) | **PUT** /storefront/{storefront_oid}/email/campaigns/{email_campaign_uuid} | Update email campaign
499
500
  *UltracartClient::StorefrontApi* | [**update_email_campaign_folder**](docs/StorefrontApi.md#update_email_campaign_folder) | **PUT** /storefront/{storefront_oid}/email/campaign_folders/{email_campaign_folder_uuid} | Update email campaign folder
@@ -1509,6 +1510,8 @@ Not every change is committed to every SDK.
1509
1510
 
1510
1511
  | Version | Date | Comments |
1511
1512
  | --: | :-: | --- |
1513
+ | 3.10.213 | 06/24/2024 | conversation object cleanup |
1514
+ | 3.10.212 | 06/14/2024 | pbx menu - add say voice property |
1512
1515
  | 3.10.211 | 06/07/2024 | conversation pbx - adjust agent voicemail box uuid fields |
1513
1516
  | 3.10.210 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
1514
1517
  | 3.10.209 | 05/31/2024 | ItemApi.getInventorySnapshot method |
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
12
12
  **name** | **String** | Menu name | [optional]
13
13
  **play_audio_uuid** | **String** | An optional audio clip that plays when a customer enters this menu | [optional]
14
14
  **say** | **String** | An optional saying that plays when a customer enters this menu | [optional]
15
+ **say_voice** | **String** | say voice | [optional]
15
16
  **timeout** | **Integer** | The idle seconds before this menu times out | [optional]
16
17
 
17
18
 
@@ -154,6 +154,7 @@ Method | HTTP request | Description
154
154
  [**sequence_test**](StorefrontApi.md#sequence_test) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/test | Sequence test
155
155
  [**start_email_campaign**](StorefrontApi.md#start_email_campaign) | **PUT** /storefront/{storefront_oid}/email/campaigns/{email_campaign_uuid}/start | Start email campaign
156
156
  [**subscribe_to_email_list**](StorefrontApi.md#subscribe_to_email_list) | **POST** /storefront/{storefront_oid}/email/lists/{email_list_uuid}/subscribe | Subscribe customers to email list
157
+ [**sunset_email_segment**](StorefrontApi.md#sunset_email_segment) | **PUT** /storefront/{storefront_oid}/email/segments/{email_segment_uuid}/sunset | Sunset email segment
157
158
  [**unfavorite_screen_recording**](StorefrontApi.md#unfavorite_screen_recording) | **DELETE** /storefront/{storefront_oid}/screen_recordings/{screen_recording_uuid}/favorite | Remove favorite flag on screen recording
158
159
  [**update_email_campaign**](StorefrontApi.md#update_email_campaign) | **PUT** /storefront/{storefront_oid}/email/campaigns/{email_campaign_uuid} | Update email campaign
159
160
  [**update_email_campaign_folder**](StorefrontApi.md#update_email_campaign_folder) | **PUT** /storefront/{storefront_oid}/email/campaign_folders/{email_campaign_folder_uuid} | Update email campaign folder
@@ -7897,6 +7898,56 @@ Name | Type | Description | Notes
7897
7898
 
7898
7899
 
7899
7900
 
7901
+ # **sunset_email_segment**
7902
+ > sunset_email_segment(storefront_oid, email_segment_uuid)
7903
+
7904
+ Sunset email segment
7905
+
7906
+ ### Example
7907
+ ```ruby
7908
+ # load the gem
7909
+ require 'ultracart_api'
7910
+
7911
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7912
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7913
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7914
+
7915
+
7916
+ storefront_oid = 56 # Integer |
7917
+
7918
+ email_segment_uuid = 'email_segment_uuid_example' # String |
7919
+
7920
+
7921
+ begin
7922
+ #Sunset email segment
7923
+ api_instance.sunset_email_segment(storefront_oid, email_segment_uuid)
7924
+ rescue UltracartClient::ApiError => e
7925
+ puts "Exception when calling StorefrontApi->sunset_email_segment: #{e}"
7926
+ end
7927
+ ```
7928
+
7929
+ ### Parameters
7930
+
7931
+ Name | Type | Description | Notes
7932
+ ------------- | ------------- | ------------- | -------------
7933
+ **storefront_oid** | **Integer**| |
7934
+ **email_segment_uuid** | **String**| |
7935
+
7936
+ ### Return type
7937
+
7938
+ nil (empty response body)
7939
+
7940
+ ### Authorization
7941
+
7942
+ [ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
7943
+
7944
+ ### HTTP request headers
7945
+
7946
+ - **Content-Type**: application/json
7947
+ - **Accept**: application/json
7948
+
7949
+
7950
+
7900
7951
  # **unfavorite_screen_recording**
7901
7952
  > unfavorite_screen_recording(storefront_oid, screen_recording_uuid)
7902
7953
 
data/docs/Twilio.md CHANGED
@@ -6,15 +6,11 @@ Name | Type | Description | Notes
6
6
  **account_sid** | **String** | | [optional]
7
7
  **api_key_id** | **String** | | [optional]
8
8
  **api_key_name** | **String** | | [optional]
9
- **api_key_secret** | **String** | | [optional]
10
9
  **auth_token** | **String** | | [optional]
11
10
  **esp_twilio_uuid** | **String** | | [optional]
12
11
  **inbound_twiml_app_sid** | **String** | | [optional]
13
12
  **outbound_twiml_app_sid** | **String** | | [optional]
14
13
  **phone_numbers** | **Array<String>** | | [optional]
15
- **private_key_pem** | **String** | | [optional]
16
- **public_key_pem** | **String** | | [optional]
17
- **public_key_sid** | **String** | | [optional]
18
14
  **twilio_workspace_sid** | **String** | | [optional]
19
15
 
20
16
 
@@ -8834,6 +8834,64 @@ module UltracartClient
8834
8834
  end
8835
8835
  return data, status_code, headers
8836
8836
  end
8837
+ # Sunset email segment
8838
+ # @param storefront_oid
8839
+ # @param email_segment_uuid
8840
+ # @param [Hash] opts the optional parameters
8841
+ # @return [nil]
8842
+ def sunset_email_segment(storefront_oid, email_segment_uuid, opts = {})
8843
+ sunset_email_segment_with_http_info(storefront_oid, email_segment_uuid, opts)
8844
+ nil
8845
+ end
8846
+
8847
+ # Sunset email segment
8848
+ # @param storefront_oid
8849
+ # @param email_segment_uuid
8850
+ # @param [Hash] opts the optional parameters
8851
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
8852
+ def sunset_email_segment_with_http_info(storefront_oid, email_segment_uuid, opts = {})
8853
+ if @api_client.config.debugging
8854
+ @api_client.config.logger.debug 'Calling API: StorefrontApi.sunset_email_segment ...'
8855
+ end
8856
+ # verify the required parameter 'storefront_oid' is set
8857
+ if @api_client.config.client_side_validation && storefront_oid.nil?
8858
+ fail ArgumentError, "Missing the required parameter 'storefront_oid' when calling StorefrontApi.sunset_email_segment"
8859
+ end
8860
+ # verify the required parameter 'email_segment_uuid' is set
8861
+ if @api_client.config.client_side_validation && email_segment_uuid.nil?
8862
+ fail ArgumentError, "Missing the required parameter 'email_segment_uuid' when calling StorefrontApi.sunset_email_segment"
8863
+ end
8864
+ # resource path
8865
+ local_var_path = '/storefront/{storefront_oid}/email/segments/{email_segment_uuid}/sunset'.sub('{' + 'storefront_oid' + '}', storefront_oid.to_s).sub('{' + 'email_segment_uuid' + '}', email_segment_uuid.to_s)
8866
+
8867
+ # query parameters
8868
+ query_params = {}
8869
+
8870
+ # header parameters
8871
+ header_params = {}
8872
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
8873
+ # HTTP header 'Accept' (if needed)
8874
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8875
+ # HTTP header 'Content-Type'
8876
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8877
+
8878
+ # form parameters
8879
+ form_params = {}
8880
+
8881
+ # http body (model)
8882
+ post_body = nil
8883
+ auth_names = ['ultraCartBrowserApiKey', 'ultraCartOauth', 'ultraCartSimpleApiKey']
8884
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
8885
+ :header_params => header_params,
8886
+ :query_params => query_params,
8887
+ :form_params => form_params,
8888
+ :body => post_body,
8889
+ :auth_names => auth_names)
8890
+ if @api_client.config.debugging
8891
+ @api_client.config.logger.debug "API called: StorefrontApi#sunset_email_segment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8892
+ end
8893
+ return data, status_code, headers
8894
+ end
8837
8895
  # Remove favorite flag on screen recording
8838
8896
  # Remove favorite flag on screen recording
8839
8897
  # @param storefront_oid
@@ -41,9 +41,34 @@ module UltracartClient
41
41
  # An optional saying that plays when a customer enters this menu
42
42
  attr_accessor :say
43
43
 
44
+ # say voice
45
+ attr_accessor :say_voice
46
+
44
47
  # The idle seconds before this menu times out
45
48
  attr_accessor :timeout
46
49
 
50
+ class EnumAttributeValidator
51
+ attr_reader :datatype
52
+ attr_reader :allowable_values
53
+
54
+ def initialize(datatype, allowable_values)
55
+ @allowable_values = allowable_values.map do |value|
56
+ case datatype.to_s
57
+ when /Integer/i
58
+ value.to_i
59
+ when /Float/i
60
+ value.to_f
61
+ else
62
+ value
63
+ end
64
+ end
65
+ end
66
+
67
+ def valid?(value)
68
+ !value || allowable_values.include?(value)
69
+ end
70
+ end
71
+
47
72
  # Attribute mapping from ruby-style variable name to JSON key.
48
73
  def self.attribute_map
49
74
  {
@@ -56,6 +81,7 @@ module UltracartClient
56
81
  :'name' => :'name',
57
82
  :'play_audio_uuid' => :'play_audio_uuid',
58
83
  :'say' => :'say',
84
+ :'say_voice' => :'say_voice',
59
85
  :'timeout' => :'timeout'
60
86
  }
61
87
  end
@@ -72,6 +98,7 @@ module UltracartClient
72
98
  :'name' => :'String',
73
99
  :'play_audio_uuid' => :'String',
74
100
  :'say' => :'String',
101
+ :'say_voice' => :'String',
75
102
  :'timeout' => :'Integer'
76
103
  }
77
104
  end
@@ -122,6 +149,10 @@ module UltracartClient
122
149
  self.say = attributes[:'say']
123
150
  end
124
151
 
152
+ if attributes.has_key?(:'say_voice')
153
+ self.say_voice = attributes[:'say_voice']
154
+ end
155
+
125
156
  if attributes.has_key?(:'timeout')
126
157
  self.timeout = attributes[:'timeout']
127
158
  end
@@ -155,6 +186,10 @@ module UltracartClient
155
186
  invalid_properties.push('invalid value for "play_audio_uuid", the character length must be smaller than or equal to 50.')
156
187
  end
157
188
 
189
+ if !@say_voice.nil? && @say_voice.to_s.length > 50
190
+ invalid_properties.push('invalid value for "say_voice", the character length must be smaller than or equal to 50.')
191
+ end
192
+
158
193
  invalid_properties
159
194
  end
160
195
 
@@ -167,6 +202,9 @@ module UltracartClient
167
202
  return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
168
203
  return false if !@name.nil? && @name.to_s.length > 50
169
204
  return false if !@play_audio_uuid.nil? && @play_audio_uuid.to_s.length > 50
205
+ say_voice_validator = EnumAttributeValidator.new('String', ['man', 'woman'])
206
+ return false unless say_voice_validator.valid?(@say_voice)
207
+ return false if !@say_voice.nil? && @say_voice.to_s.length > 50
170
208
  true
171
209
  end
172
210
 
@@ -230,6 +268,16 @@ module UltracartClient
230
268
  @play_audio_uuid = play_audio_uuid
231
269
  end
232
270
 
271
+ # Custom attribute writer method checking allowed values (enum).
272
+ # @param [Object] say_voice Object to be assigned
273
+ def say_voice=(say_voice)
274
+ validator = EnumAttributeValidator.new('String', ['man', 'woman'])
275
+ unless validator.valid?(say_voice)
276
+ fail ArgumentError, 'invalid value for "say_voice", must be one of #{validator.allowable_values}.'
277
+ end
278
+ @say_voice = say_voice
279
+ end
280
+
233
281
  # Checks equality by comparing each attribute.
234
282
  # @param [Object] Object to be compared
235
283
  def ==(o)
@@ -244,6 +292,7 @@ module UltracartClient
244
292
  name == o.name &&
245
293
  play_audio_uuid == o.play_audio_uuid &&
246
294
  say == o.say &&
295
+ say_voice == o.say_voice &&
247
296
  timeout == o.timeout
248
297
  end
249
298
 
@@ -256,7 +305,7 @@ module UltracartClient
256
305
  # Calculates hash code according to all attributes.
257
306
  # @return [Fixnum] Hash code
258
307
  def hash
259
- [allow_direct_extensions, conversation_pbx_menu_uuid, default_action, default_action_target, mappings, merchant_id, name, play_audio_uuid, say, timeout].hash
308
+ [allow_direct_extensions, conversation_pbx_menu_uuid, default_action, default_action_target, mappings, merchant_id, name, play_audio_uuid, say, say_voice, timeout].hash
260
309
  end
261
310
 
262
311
  # Builds the object from hash
@@ -215,12 +215,16 @@ module UltracartClient
215
215
  return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
216
216
  return false if !@send_notices_to_email.nil? && @send_notices_to_email.to_s.length > 250
217
217
  return false if !@voicemail_followup_play_audio_uuid.nil? && @voicemail_followup_play_audio_uuid.to_s.length > 50
218
+ voicemail_followup_say_voice_validator = EnumAttributeValidator.new('String', ['man', 'woman'])
219
+ return false unless voicemail_followup_say_voice_validator.valid?(@voicemail_followup_say_voice)
218
220
  return false if !@voicemail_followup_say_voice.nil? && @voicemail_followup_say_voice.to_s.length > 50
219
221
  return false if !@voicemail_mailbox_id.nil? && @voicemail_mailbox_id.to_s.length > 50
220
222
  voicemail_mailbox_type_validator = EnumAttributeValidator.new('String', ['agent', 'shared'])
221
223
  return false unless voicemail_mailbox_type_validator.valid?(@voicemail_mailbox_type)
222
224
  return false if !@voicemail_mailbox_type.nil? && @voicemail_mailbox_type.to_s.length > 50
223
225
  return false if !@voicemail_prompt_play_audio_uuid.nil? && @voicemail_prompt_play_audio_uuid.to_s.length > 50
226
+ voicemail_prompt_say_voice_validator = EnumAttributeValidator.new('String', ['man', 'woman'])
227
+ return false unless voicemail_prompt_say_voice_validator.valid?(@voicemail_prompt_say_voice)
224
228
  return false if !@voicemail_prompt_say_voice.nil? && @voicemail_prompt_say_voice.to_s.length > 50
225
229
  true
226
230
  end
@@ -265,13 +269,13 @@ module UltracartClient
265
269
  @voicemail_followup_play_audio_uuid = voicemail_followup_play_audio_uuid
266
270
  end
267
271
 
268
- # Custom attribute writer method with validation
269
- # @param [Object] voicemail_followup_say_voice Value to be assigned
272
+ # Custom attribute writer method checking allowed values (enum).
273
+ # @param [Object] voicemail_followup_say_voice Object to be assigned
270
274
  def voicemail_followup_say_voice=(voicemail_followup_say_voice)
271
- if !voicemail_followup_say_voice.nil? && voicemail_followup_say_voice.to_s.length > 50
272
- fail ArgumentError, 'invalid value for "voicemail_followup_say_voice", the character length must be smaller than or equal to 50.'
275
+ validator = EnumAttributeValidator.new('String', ['man', 'woman'])
276
+ unless validator.valid?(voicemail_followup_say_voice)
277
+ fail ArgumentError, 'invalid value for "voicemail_followup_say_voice", must be one of #{validator.allowable_values}.'
273
278
  end
274
-
275
279
  @voicemail_followup_say_voice = voicemail_followup_say_voice
276
280
  end
277
281
 
@@ -305,13 +309,13 @@ module UltracartClient
305
309
  @voicemail_prompt_play_audio_uuid = voicemail_prompt_play_audio_uuid
306
310
  end
307
311
 
308
- # Custom attribute writer method with validation
309
- # @param [Object] voicemail_prompt_say_voice Value to be assigned
312
+ # Custom attribute writer method checking allowed values (enum).
313
+ # @param [Object] voicemail_prompt_say_voice Object to be assigned
310
314
  def voicemail_prompt_say_voice=(voicemail_prompt_say_voice)
311
- if !voicemail_prompt_say_voice.nil? && voicemail_prompt_say_voice.to_s.length > 50
312
- fail ArgumentError, 'invalid value for "voicemail_prompt_say_voice", the character length must be smaller than or equal to 50.'
315
+ validator = EnumAttributeValidator.new('String', ['man', 'woman'])
316
+ unless validator.valid?(voicemail_prompt_say_voice)
317
+ fail ArgumentError, 'invalid value for "voicemail_prompt_say_voice", must be one of #{validator.allowable_values}.'
313
318
  end
314
-
315
319
  @voicemail_prompt_say_voice = voicemail_prompt_say_voice
316
320
  end
317
321
 
@@ -20,8 +20,6 @@ module UltracartClient
20
20
 
21
21
  attr_accessor :api_key_name
22
22
 
23
- attr_accessor :api_key_secret
24
-
25
23
  attr_accessor :auth_token
26
24
 
27
25
  attr_accessor :esp_twilio_uuid
@@ -32,12 +30,6 @@ module UltracartClient
32
30
 
33
31
  attr_accessor :phone_numbers
34
32
 
35
- attr_accessor :private_key_pem
36
-
37
- attr_accessor :public_key_pem
38
-
39
- attr_accessor :public_key_sid
40
-
41
33
  attr_accessor :twilio_workspace_sid
42
34
 
43
35
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,15 +38,11 @@ module UltracartClient
46
38
  :'account_sid' => :'account_sid',
47
39
  :'api_key_id' => :'api_key_id',
48
40
  :'api_key_name' => :'api_key_name',
49
- :'api_key_secret' => :'api_key_secret',
50
41
  :'auth_token' => :'auth_token',
51
42
  :'esp_twilio_uuid' => :'esp_twilio_uuid',
52
43
  :'inbound_twiml_app_sid' => :'inbound_twiml_app_sid',
53
44
  :'outbound_twiml_app_sid' => :'outbound_twiml_app_sid',
54
45
  :'phone_numbers' => :'phone_numbers',
55
- :'private_key_pem' => :'private_key_pem',
56
- :'public_key_pem' => :'public_key_pem',
57
- :'public_key_sid' => :'public_key_sid',
58
46
  :'twilio_workspace_sid' => :'twilio_workspace_sid'
59
47
  }
60
48
  end
@@ -65,15 +53,11 @@ module UltracartClient
65
53
  :'account_sid' => :'String',
66
54
  :'api_key_id' => :'String',
67
55
  :'api_key_name' => :'String',
68
- :'api_key_secret' => :'String',
69
56
  :'auth_token' => :'String',
70
57
  :'esp_twilio_uuid' => :'String',
71
58
  :'inbound_twiml_app_sid' => :'String',
72
59
  :'outbound_twiml_app_sid' => :'String',
73
60
  :'phone_numbers' => :'Array<String>',
74
- :'private_key_pem' => :'String',
75
- :'public_key_pem' => :'String',
76
- :'public_key_sid' => :'String',
77
61
  :'twilio_workspace_sid' => :'String'
78
62
  }
79
63
  end
@@ -98,10 +82,6 @@ module UltracartClient
98
82
  self.api_key_name = attributes[:'api_key_name']
99
83
  end
100
84
 
101
- if attributes.has_key?(:'api_key_secret')
102
- self.api_key_secret = attributes[:'api_key_secret']
103
- end
104
-
105
85
  if attributes.has_key?(:'auth_token')
106
86
  self.auth_token = attributes[:'auth_token']
107
87
  end
@@ -124,18 +104,6 @@ module UltracartClient
124
104
  end
125
105
  end
126
106
 
127
- if attributes.has_key?(:'private_key_pem')
128
- self.private_key_pem = attributes[:'private_key_pem']
129
- end
130
-
131
- if attributes.has_key?(:'public_key_pem')
132
- self.public_key_pem = attributes[:'public_key_pem']
133
- end
134
-
135
- if attributes.has_key?(:'public_key_sid')
136
- self.public_key_sid = attributes[:'public_key_sid']
137
- end
138
-
139
107
  if attributes.has_key?(:'twilio_workspace_sid')
140
108
  self.twilio_workspace_sid = attributes[:'twilio_workspace_sid']
141
109
  end
@@ -162,15 +130,11 @@ module UltracartClient
162
130
  account_sid == o.account_sid &&
163
131
  api_key_id == o.api_key_id &&
164
132
  api_key_name == o.api_key_name &&
165
- api_key_secret == o.api_key_secret &&
166
133
  auth_token == o.auth_token &&
167
134
  esp_twilio_uuid == o.esp_twilio_uuid &&
168
135
  inbound_twiml_app_sid == o.inbound_twiml_app_sid &&
169
136
  outbound_twiml_app_sid == o.outbound_twiml_app_sid &&
170
137
  phone_numbers == o.phone_numbers &&
171
- private_key_pem == o.private_key_pem &&
172
- public_key_pem == o.public_key_pem &&
173
- public_key_sid == o.public_key_sid &&
174
138
  twilio_workspace_sid == o.twilio_workspace_sid
175
139
  end
176
140
 
@@ -183,7 +147,7 @@ module UltracartClient
183
147
  # Calculates hash code according to all attributes.
184
148
  # @return [Fixnum] Hash code
185
149
  def hash
186
- [account_sid, api_key_id, api_key_name, api_key_secret, auth_token, esp_twilio_uuid, inbound_twiml_app_sid, outbound_twiml_app_sid, phone_numbers, private_key_pem, public_key_pem, public_key_sid, twilio_workspace_sid].hash
150
+ [account_sid, api_key_id, api_key_name, auth_token, esp_twilio_uuid, inbound_twiml_app_sid, outbound_twiml_app_sid, phone_numbers, twilio_workspace_sid].hash
187
151
  end
188
152
 
189
153
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.211'
14
+ VERSION = '3.10.213'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.211
4
+ version: 3.10.213
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-07 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus