ultracart_api 4.0.213 → 4.0.215

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b3f3dec98b4283bf562c8c44f574993622b804f547d5c21c5994f49656ddc34
4
- data.tar.gz: 89fb687420b9bd534b77fb95eef0974dcdad2979a7d96acee5bd76ffc6dd67bc
3
+ metadata.gz: 521074a5d1a6dfd7258769ecc711b401db9cb5143f60b2b4431b7c611b5319b6
4
+ data.tar.gz: 316beb1ac49bfdb9a0218808603b1477ca22173fee876a95642be0a66f46ab6a
5
5
  SHA512:
6
- metadata.gz: 58ef39492149158a900b50850bb4493a0526814411e3d7354330e79856f0c714bfc4021c6b809dba60935cdb3cb4ed4a813a461d271064ffb36519146d18ee5d
7
- data.tar.gz: 6224ed3b2c68694784d0078650eb81eca7951326b96d55d2995677ee23be2e520a7c1d85504b15e62a39f19abd16e1bf4f379254170de7e5312b0979138ea5ba
6
+ metadata.gz: 7a32b0a4ea581e23941c3092a01665869759756b16a7b5bcf174dcd8f9f04667cefb6248b75416c91a15ace75328b57d0ea1f4e3dde9687706f934e089e9eff1
7
+ data.tar.gz: 7a36687d83a28ba2064ff07584efb048fb244e4fce17687724e7e6086bb49cb2edd8c8a39b5eaa7358e0752922ac1e4544cb2518f259a260c3abb7ecf2b25b1e
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 4.0.213
10
+ - Package version: 4.0.215
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-4.0.213.gem
27
+ gem install ./ultracart_api-4.0.215.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.213.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.215.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ultracart_api', '~> 4.0.213'
36
+ gem 'ultracart_api', '~> 4.0.215'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -177,6 +177,7 @@ Class | Method | HTTP request | Description
177
177
  *UltracartClient::ConversationApi* | [**get_pbx_agent_voicemails**](docs/ConversationApi.md#get_pbx_agent_voicemails) | **GET** /conversation/pbx/agent/voicemails | Get Agent Voicemails
178
178
  *UltracartClient::ConversationApi* | [**get_pbx_agents**](docs/ConversationApi.md#get_pbx_agents) | **GET** /conversation/pbx/agent | Get pbx agents
179
179
  *UltracartClient::ConversationApi* | [**get_pbx_audio**](docs/ConversationApi.md#get_pbx_audio) | **GET** /conversation/pbx/audio/{conversationPbxAudioUuid} | Get pbx audio
180
+ *UltracartClient::ConversationApi* | [**get_pbx_audio_usage**](docs/ConversationApi.md#get_pbx_audio_usage) | **GET** /conversation/pbx/audio/{conversationPbxAudioUuid}/usage | Get pbx audio usage
180
181
  *UltracartClient::ConversationApi* | [**get_pbx_audios**](docs/ConversationApi.md#get_pbx_audios) | **GET** /conversation/pbx/audio | Get pbx audios
181
182
  *UltracartClient::ConversationApi* | [**get_pbx_menu**](docs/ConversationApi.md#get_pbx_menu) | **GET** /conversation/pbx/menu/{conversationPbxMenuUuid} | Get pbx menu
182
183
  *UltracartClient::ConversationApi* | [**get_pbx_menus**](docs/ConversationApi.md#get_pbx_menus) | **GET** /conversation/pbx/menu | Get pbx menus
@@ -765,6 +766,7 @@ Class | Method | HTTP request | Description
765
766
  - [UltracartClient::ConversationPbxAudioResponse](docs/ConversationPbxAudioResponse.md)
766
767
  - [UltracartClient::ConversationPbxAudioUploadUrl](docs/ConversationPbxAudioUploadUrl.md)
767
768
  - [UltracartClient::ConversationPbxAudioUploadUrlResponse](docs/ConversationPbxAudioUploadUrlResponse.md)
769
+ - [UltracartClient::ConversationPbxAudioUsageResponse](docs/ConversationPbxAudioUsageResponse.md)
768
770
  - [UltracartClient::ConversationPbxAudiosResponse](docs/ConversationPbxAudiosResponse.md)
769
771
  - [UltracartClient::ConversationPbxCustomerSnapshotRequest](docs/ConversationPbxCustomerSnapshotRequest.md)
770
772
  - [UltracartClient::ConversationPbxCustomerSnapshotResponse](docs/ConversationPbxCustomerSnapshotResponse.md)
@@ -1511,6 +1513,8 @@ Not every change is committed to every SDK.
1511
1513
 
1512
1514
  | Version | Date | Comments |
1513
1515
  | --: | :-: | --- |
1516
+ | 4.0.215 | 05/08/2024 | added echeck fields to channel partner order import |
1517
+ | 4.0.214 | 05/02/2024 | conversation - new method to load pbx audio usage |
1514
1518
  | 4.0.213 | 05/02/2024 | autoorder - fields to record merge association and tstamp |
1515
1519
  | 4.0.212 | 05/01/2024 | getConversationPbxAudioUploadUrl - fix the response obj def |
1516
1520
  | 4.0.211 | 04/24/2024 | esp - add fields for external generation on email |
@@ -43,6 +43,16 @@
43
43
  | **custom_field6** | **String** | Custom field 6 | [optional] |
44
44
  | **custom_field7** | **String** | Custom field 7 | [optional] |
45
45
  | **delivery_date** | **String** | Date the customer is requesting delivery on. Typically used for perishable product delivery. | [optional] |
46
+ | **echeck_bank_aba_code** | **String** | eCheck bank ABA code | [optional] |
47
+ | **echeck_bank_account_name** | **String** | eCheck bank account name | [optional] |
48
+ | **echeck_bank_account_number** | **String** | eCheck bank account number | [optional] |
49
+ | **echeck_bank_account_type** | **String** | eCheck bank account type | [optional] |
50
+ | **echeck_bank_name** | **String** | eCheck bank name | [optional] |
51
+ | **echeck_bank_owner_type** | **String** | eCheck bank owner type | [optional] |
52
+ | **echeck_customer_tax_id** | **String** | eCheck customer tax id | [optional] |
53
+ | **echeck_drivers_license_dob** | **String** | eCheck drivers license dob | [optional] |
54
+ | **echeck_drivers_license_number** | **String** | eCheck drivers license number | [optional] |
55
+ | **echeck_drivers_license_state** | **String** | eCheck drivers license state | [optional] |
46
56
  | **email** | **String** | Email | [optional] |
47
57
  | **gift** | **Boolean** | True if this order is a gift | [optional] |
48
58
  | **gift_email** | **String** | Email address of the gift recipient | [optional] |
@@ -131,6 +141,16 @@ instance = UltracartClient::ChannelPartnerOrder.new(
131
141
  custom_field6: null,
132
142
  custom_field7: null,
133
143
  delivery_date: null,
144
+ echeck_bank_aba_code: null,
145
+ echeck_bank_account_name: null,
146
+ echeck_bank_account_number: null,
147
+ echeck_bank_account_type: null,
148
+ echeck_bank_name: null,
149
+ echeck_bank_owner_type: null,
150
+ echeck_customer_tax_id: null,
151
+ echeck_drivers_license_dob: null,
152
+ echeck_drivers_license_number: null,
153
+ echeck_drivers_license_state: null,
134
154
  email: null,
135
155
  gift: null,
136
156
  gift_email: null,
@@ -42,6 +42,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
42
42
  | [**get_pbx_agent_voicemails**](ConversationApi.md#get_pbx_agent_voicemails) | **GET** /conversation/pbx/agent/voicemails | Get Agent Voicemails |
43
43
  | [**get_pbx_agents**](ConversationApi.md#get_pbx_agents) | **GET** /conversation/pbx/agent | Get pbx agents |
44
44
  | [**get_pbx_audio**](ConversationApi.md#get_pbx_audio) | **GET** /conversation/pbx/audio/{conversationPbxAudioUuid} | Get pbx audio |
45
+ | [**get_pbx_audio_usage**](ConversationApi.md#get_pbx_audio_usage) | **GET** /conversation/pbx/audio/{conversationPbxAudioUuid}/usage | Get pbx audio usage |
45
46
  | [**get_pbx_audios**](ConversationApi.md#get_pbx_audios) | **GET** /conversation/pbx/audio | Get pbx audios |
46
47
  | [**get_pbx_menu**](ConversationApi.md#get_pbx_menu) | **GET** /conversation/pbx/menu/{conversationPbxMenuUuid} | Get pbx menu |
47
48
  | [**get_pbx_menus**](ConversationApi.md#get_pbx_menus) | **GET** /conversation/pbx/menu | Get pbx menus |
@@ -2768,6 +2769,77 @@ end
2768
2769
  - **Accept**: application/json
2769
2770
 
2770
2771
 
2772
+ ## get_pbx_audio_usage
2773
+
2774
+ > <ConversationPbxAudioUsageResponse> get_pbx_audio_usage(conversation_pbx_audio_uuid)
2775
+
2776
+ Get pbx audio usage
2777
+
2778
+ Retrieve a pbx audio usage
2779
+
2780
+ ### Examples
2781
+
2782
+ ```ruby
2783
+ require 'time'
2784
+ require 'ultracart_api'
2785
+ require 'json'
2786
+ require 'yaml'
2787
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
2788
+
2789
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
2790
+ # As such, this might not be the best way to use this object.
2791
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
2792
+
2793
+ api = UltracartClient::ConversationApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
2794
+ conversation_pbx_audio_uuid = 'conversation_pbx_audio_uuid_example' # String |
2795
+
2796
+ begin
2797
+ # Get pbx audio usage
2798
+ result = api_instance.get_pbx_audio_usage(conversation_pbx_audio_uuid)
2799
+ p result
2800
+ rescue UltracartClient::ApiError => e
2801
+ puts "Error when calling ConversationApi->get_pbx_audio_usage: #{e}"
2802
+ end
2803
+ ```
2804
+
2805
+ #### Using the get_pbx_audio_usage_with_http_info variant
2806
+
2807
+ This returns an Array which contains the response data, status code and headers.
2808
+
2809
+ > <Array(<ConversationPbxAudioUsageResponse>, Integer, Hash)> get_pbx_audio_usage_with_http_info(conversation_pbx_audio_uuid)
2810
+
2811
+ ```ruby
2812
+ begin
2813
+ # Get pbx audio usage
2814
+ data, status_code, headers = api_instance.get_pbx_audio_usage_with_http_info(conversation_pbx_audio_uuid)
2815
+ p status_code # => 2xx
2816
+ p headers # => { ... }
2817
+ p data # => <ConversationPbxAudioUsageResponse>
2818
+ rescue UltracartClient::ApiError => e
2819
+ puts "Error when calling ConversationApi->get_pbx_audio_usage_with_http_info: #{e}"
2820
+ end
2821
+ ```
2822
+
2823
+ ### Parameters
2824
+
2825
+ | Name | Type | Description | Notes |
2826
+ | ---- | ---- | ----------- | ----- |
2827
+ | **conversation_pbx_audio_uuid** | **String** | | |
2828
+
2829
+ ### Return type
2830
+
2831
+ [**ConversationPbxAudioUsageResponse**](ConversationPbxAudioUsageResponse.md)
2832
+
2833
+ ### Authorization
2834
+
2835
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
2836
+
2837
+ ### HTTP request headers
2838
+
2839
+ - **Content-Type**: Not defined
2840
+ - **Accept**: application/json
2841
+
2842
+
2771
2843
  ## get_pbx_audios
2772
2844
 
2773
2845
  > <ConversationPbxAudiosResponse> get_pbx_audios
@@ -11,6 +11,7 @@
11
11
  | **filename** | **String** | Filename | [optional] |
12
12
  | **merchant_id** | **String** | Merchant Id | [optional] |
13
13
  | **mime_type** | **String** | Mime Type | [optional] |
14
+ | **url** | **String** | URL | [optional] |
14
15
  | **user_id** | **Integer** | User Id | [optional] |
15
16
  | **version** | **Integer** | Version | [optional] |
16
17
 
@@ -27,6 +28,7 @@ instance = UltracartClient::ConversationPbxAudio.new(
27
28
  filename: null,
28
29
  merchant_id: null,
29
30
  mime_type: null,
31
+ url: null,
30
32
  user_id: null,
31
33
  version: null
32
34
  )
@@ -0,0 +1,30 @@
1
+ # UltracartClient::ConversationPbxAudioUsageResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error** | [**Error**](Error.md) | | [optional] |
8
+ | **menus** | [**Array&lt;ConversationPbxMenu&gt;**](ConversationPbxMenu.md) | | [optional] |
9
+ | **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
10
+ | **queues** | [**Array&lt;ConversationPbxQueue&gt;**](ConversationPbxQueue.md) | | [optional] |
11
+ | **success** | **Boolean** | Indicates if API call was successful | [optional] |
12
+ | **voicemail_mailboxes** | [**Array&lt;ConversationPbxVoicemailMailbox&gt;**](ConversationPbxVoicemailMailbox.md) | | [optional] |
13
+ | **warning** | [**Warning**](Warning.md) | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'ultracart_api'
19
+
20
+ instance = UltracartClient::ConversationPbxAudioUsageResponse.new(
21
+ error: null,
22
+ menus: null,
23
+ metadata: null,
24
+ queues: null,
25
+ success: null,
26
+ voicemail_mailboxes: null,
27
+ warning: null
28
+ )
29
+ ```
30
+
data/docs/OrderUtm.md CHANGED
@@ -17,6 +17,12 @@
17
17
  | **fbclid** | **String** | | [optional] |
18
18
  | **gbraid** | **String** | | [optional] |
19
19
  | **glcid** | **String** | | [optional] |
20
+ | **itm_campaign** | **String** | | [optional] |
21
+ | **itm_content** | **String** | | [optional] |
22
+ | **itm_id** | **String** | | [optional] |
23
+ | **itm_medium** | **String** | | [optional] |
24
+ | **itm_source** | **String** | | [optional] |
25
+ | **itm_term** | **String** | | [optional] |
20
26
  | **msclkid** | **String** | | [optional] |
21
27
  | **ttclid** | **String** | | [optional] |
22
28
  | **uc_message_id** | **String** | | [optional] |
@@ -48,6 +54,12 @@ instance = UltracartClient::OrderUtm.new(
48
54
  fbclid: null,
49
55
  gbraid: null,
50
56
  glcid: null,
57
+ itm_campaign: null,
58
+ itm_content: null,
59
+ itm_id: null,
60
+ itm_medium: null,
61
+ itm_source: null,
62
+ itm_term: null,
51
63
  msclkid: null,
52
64
  ttclid: null,
53
65
  uc_message_id: null,
@@ -2431,6 +2431,70 @@ module UltracartClient
2431
2431
  return data, status_code, headers
2432
2432
  end
2433
2433
 
2434
+ # Get pbx audio usage
2435
+ # Retrieve a pbx audio usage
2436
+ # @param conversation_pbx_audio_uuid [String]
2437
+ # @param [Hash] opts the optional parameters
2438
+ # @return [ConversationPbxAudioUsageResponse]
2439
+ def get_pbx_audio_usage(conversation_pbx_audio_uuid, opts = {})
2440
+ data, _status_code, _headers = get_pbx_audio_usage_with_http_info(conversation_pbx_audio_uuid, opts)
2441
+ data
2442
+ end
2443
+
2444
+ # Get pbx audio usage
2445
+ # Retrieve a pbx audio usage
2446
+ # @param conversation_pbx_audio_uuid [String]
2447
+ # @param [Hash] opts the optional parameters
2448
+ # @return [Array<(ConversationPbxAudioUsageResponse, Integer, Hash)>] ConversationPbxAudioUsageResponse data, response status code and response headers
2449
+ def get_pbx_audio_usage_with_http_info(conversation_pbx_audio_uuid, opts = {})
2450
+ if @api_client.config.debugging
2451
+ @api_client.config.logger.debug 'Calling API: ConversationApi.get_pbx_audio_usage ...'
2452
+ end
2453
+ # verify the required parameter 'conversation_pbx_audio_uuid' is set
2454
+ if @api_client.config.client_side_validation && conversation_pbx_audio_uuid.nil?
2455
+ fail ArgumentError, "Missing the required parameter 'conversation_pbx_audio_uuid' when calling ConversationApi.get_pbx_audio_usage"
2456
+ end
2457
+ # resource path
2458
+ local_var_path = '/conversation/pbx/audio/{conversationPbxAudioUuid}/usage'.sub('{' + 'conversationPbxAudioUuid' + '}', CGI.escape(conversation_pbx_audio_uuid.to_s))
2459
+
2460
+ # query parameters
2461
+ query_params = opts[:query_params] || {}
2462
+
2463
+ # header parameters
2464
+ header_params = opts[:header_params] || {}
2465
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
2466
+ # HTTP header 'Accept' (if needed)
2467
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2468
+
2469
+ # form parameters
2470
+ form_params = opts[:form_params] || {}
2471
+
2472
+ # http body (model)
2473
+ post_body = opts[:debug_body]
2474
+
2475
+ # return_type
2476
+ return_type = opts[:debug_return_type] || 'ConversationPbxAudioUsageResponse'
2477
+
2478
+ # auth_names
2479
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
2480
+
2481
+ new_options = opts.merge(
2482
+ :operation => :"ConversationApi.get_pbx_audio_usage",
2483
+ :header_params => header_params,
2484
+ :query_params => query_params,
2485
+ :form_params => form_params,
2486
+ :body => post_body,
2487
+ :auth_names => auth_names,
2488
+ :return_type => return_type
2489
+ )
2490
+
2491
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2492
+ if @api_client.config.debugging
2493
+ @api_client.config.logger.debug "API called: ConversationApi#get_pbx_audio_usage\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2494
+ end
2495
+ return data, status_code, headers
2496
+ end
2497
+
2434
2498
  # Get pbx audios
2435
2499
  # Retrieve pbx audios
2436
2500
  # @param [Hash] opts the optional parameters
@@ -132,6 +132,36 @@ module UltracartClient
132
132
  # Date the customer is requesting delivery on. Typically used for perishable product delivery.
133
133
  attr_accessor :delivery_date
134
134
 
135
+ # eCheck bank ABA code
136
+ attr_accessor :echeck_bank_aba_code
137
+
138
+ # eCheck bank account name
139
+ attr_accessor :echeck_bank_account_name
140
+
141
+ # eCheck bank account number
142
+ attr_accessor :echeck_bank_account_number
143
+
144
+ # eCheck bank account type
145
+ attr_accessor :echeck_bank_account_type
146
+
147
+ # eCheck bank name
148
+ attr_accessor :echeck_bank_name
149
+
150
+ # eCheck bank owner type
151
+ attr_accessor :echeck_bank_owner_type
152
+
153
+ # eCheck customer tax id
154
+ attr_accessor :echeck_customer_tax_id
155
+
156
+ # eCheck drivers license dob
157
+ attr_accessor :echeck_drivers_license_dob
158
+
159
+ # eCheck drivers license number
160
+ attr_accessor :echeck_drivers_license_number
161
+
162
+ # eCheck drivers license state
163
+ attr_accessor :echeck_drivers_license_state
164
+
135
165
  # Email
136
166
  attr_accessor :email
137
167
 
@@ -321,6 +351,16 @@ module UltracartClient
321
351
  :'custom_field6' => :'custom_field6',
322
352
  :'custom_field7' => :'custom_field7',
323
353
  :'delivery_date' => :'delivery_date',
354
+ :'echeck_bank_aba_code' => :'echeck_bank_aba_code',
355
+ :'echeck_bank_account_name' => :'echeck_bank_account_name',
356
+ :'echeck_bank_account_number' => :'echeck_bank_account_number',
357
+ :'echeck_bank_account_type' => :'echeck_bank_account_type',
358
+ :'echeck_bank_name' => :'echeck_bank_name',
359
+ :'echeck_bank_owner_type' => :'echeck_bank_owner_type',
360
+ :'echeck_customer_tax_id' => :'echeck_customer_tax_id',
361
+ :'echeck_drivers_license_dob' => :'echeck_drivers_license_dob',
362
+ :'echeck_drivers_license_number' => :'echeck_drivers_license_number',
363
+ :'echeck_drivers_license_state' => :'echeck_drivers_license_state',
324
364
  :'email' => :'email',
325
365
  :'gift' => :'gift',
326
366
  :'gift_email' => :'gift_email',
@@ -413,6 +453,16 @@ module UltracartClient
413
453
  :'custom_field6' => :'String',
414
454
  :'custom_field7' => :'String',
415
455
  :'delivery_date' => :'String',
456
+ :'echeck_bank_aba_code' => :'String',
457
+ :'echeck_bank_account_name' => :'String',
458
+ :'echeck_bank_account_number' => :'String',
459
+ :'echeck_bank_account_type' => :'String',
460
+ :'echeck_bank_name' => :'String',
461
+ :'echeck_bank_owner_type' => :'String',
462
+ :'echeck_customer_tax_id' => :'String',
463
+ :'echeck_drivers_license_dob' => :'String',
464
+ :'echeck_drivers_license_number' => :'String',
465
+ :'echeck_drivers_license_state' => :'String',
416
466
  :'email' => :'String',
417
467
  :'gift' => :'Boolean',
418
468
  :'gift_email' => :'String',
@@ -637,6 +687,46 @@ module UltracartClient
637
687
  self.delivery_date = attributes[:'delivery_date']
638
688
  end
639
689
 
690
+ if attributes.key?(:'echeck_bank_aba_code')
691
+ self.echeck_bank_aba_code = attributes[:'echeck_bank_aba_code']
692
+ end
693
+
694
+ if attributes.key?(:'echeck_bank_account_name')
695
+ self.echeck_bank_account_name = attributes[:'echeck_bank_account_name']
696
+ end
697
+
698
+ if attributes.key?(:'echeck_bank_account_number')
699
+ self.echeck_bank_account_number = attributes[:'echeck_bank_account_number']
700
+ end
701
+
702
+ if attributes.key?(:'echeck_bank_account_type')
703
+ self.echeck_bank_account_type = attributes[:'echeck_bank_account_type']
704
+ end
705
+
706
+ if attributes.key?(:'echeck_bank_name')
707
+ self.echeck_bank_name = attributes[:'echeck_bank_name']
708
+ end
709
+
710
+ if attributes.key?(:'echeck_bank_owner_type')
711
+ self.echeck_bank_owner_type = attributes[:'echeck_bank_owner_type']
712
+ end
713
+
714
+ if attributes.key?(:'echeck_customer_tax_id')
715
+ self.echeck_customer_tax_id = attributes[:'echeck_customer_tax_id']
716
+ end
717
+
718
+ if attributes.key?(:'echeck_drivers_license_dob')
719
+ self.echeck_drivers_license_dob = attributes[:'echeck_drivers_license_dob']
720
+ end
721
+
722
+ if attributes.key?(:'echeck_drivers_license_number')
723
+ self.echeck_drivers_license_number = attributes[:'echeck_drivers_license_number']
724
+ end
725
+
726
+ if attributes.key?(:'echeck_drivers_license_state')
727
+ self.echeck_drivers_license_state = attributes[:'echeck_drivers_license_state']
728
+ end
729
+
640
730
  if attributes.key?(:'email')
641
731
  self.email = attributes[:'email']
642
732
  end
@@ -988,10 +1078,14 @@ module UltracartClient
988
1078
  return false if !@custom_field5.nil? && @custom_field5.to_s.length > 75
989
1079
  return false if !@custom_field6.nil? && @custom_field6.to_s.length > 50
990
1080
  return false if !@custom_field7.nil? && @custom_field7.to_s.length > 50
1081
+ echeck_bank_account_type_validator = EnumAttributeValidator.new('String', ["Checking", "Savings"])
1082
+ return false unless echeck_bank_account_type_validator.valid?(@echeck_bank_account_type)
1083
+ echeck_bank_owner_type_validator = EnumAttributeValidator.new('String', ["Business", "Personal"])
1084
+ return false unless echeck_bank_owner_type_validator.valid?(@echeck_bank_owner_type)
991
1085
  return false if !@email.nil? && @email.to_s.length > 100
992
1086
  return false if !@gift_email.nil? && @gift_email.to_s.length > 100
993
1087
  return false if !@gift_message.nil? && @gift_message.to_s.length > 10000
994
- payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Check", "COD", "Credit Card", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Wire Transfer"])
1088
+ payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Wire Transfer"])
995
1089
  return false unless payment_method_validator.valid?(@payment_method)
996
1090
  return false if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
997
1091
  return false if !@shipto_address1.nil? && @shipto_address1.to_s.length > 50
@@ -1210,6 +1304,26 @@ module UltracartClient
1210
1304
  @custom_field7 = custom_field7
1211
1305
  end
1212
1306
 
1307
+ # Custom attribute writer method checking allowed values (enum).
1308
+ # @param [Object] echeck_bank_account_type Object to be assigned
1309
+ def echeck_bank_account_type=(echeck_bank_account_type)
1310
+ validator = EnumAttributeValidator.new('String', ["Checking", "Savings"])
1311
+ unless validator.valid?(echeck_bank_account_type)
1312
+ fail ArgumentError, "invalid value for \"echeck_bank_account_type\", must be one of #{validator.allowable_values}."
1313
+ end
1314
+ @echeck_bank_account_type = echeck_bank_account_type
1315
+ end
1316
+
1317
+ # Custom attribute writer method checking allowed values (enum).
1318
+ # @param [Object] echeck_bank_owner_type Object to be assigned
1319
+ def echeck_bank_owner_type=(echeck_bank_owner_type)
1320
+ validator = EnumAttributeValidator.new('String', ["Business", "Personal"])
1321
+ unless validator.valid?(echeck_bank_owner_type)
1322
+ fail ArgumentError, "invalid value for \"echeck_bank_owner_type\", must be one of #{validator.allowable_values}."
1323
+ end
1324
+ @echeck_bank_owner_type = echeck_bank_owner_type
1325
+ end
1326
+
1213
1327
  # Custom attribute writer method with validation
1214
1328
  # @param [Object] email Value to be assigned
1215
1329
  def email=(email)
@@ -1243,7 +1357,7 @@ module UltracartClient
1243
1357
  # Custom attribute writer method checking allowed values (enum).
1244
1358
  # @param [Object] payment_method Object to be assigned
1245
1359
  def payment_method=(payment_method)
1246
- validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Check", "COD", "Credit Card", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Wire Transfer"])
1360
+ validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Wire Transfer"])
1247
1361
  unless validator.valid?(payment_method)
1248
1362
  fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
1249
1363
  end
@@ -1434,6 +1548,16 @@ module UltracartClient
1434
1548
  custom_field6 == o.custom_field6 &&
1435
1549
  custom_field7 == o.custom_field7 &&
1436
1550
  delivery_date == o.delivery_date &&
1551
+ echeck_bank_aba_code == o.echeck_bank_aba_code &&
1552
+ echeck_bank_account_name == o.echeck_bank_account_name &&
1553
+ echeck_bank_account_number == o.echeck_bank_account_number &&
1554
+ echeck_bank_account_type == o.echeck_bank_account_type &&
1555
+ echeck_bank_name == o.echeck_bank_name &&
1556
+ echeck_bank_owner_type == o.echeck_bank_owner_type &&
1557
+ echeck_customer_tax_id == o.echeck_customer_tax_id &&
1558
+ echeck_drivers_license_dob == o.echeck_drivers_license_dob &&
1559
+ echeck_drivers_license_number == o.echeck_drivers_license_number &&
1560
+ echeck_drivers_license_state == o.echeck_drivers_license_state &&
1437
1561
  email == o.email &&
1438
1562
  gift == o.gift &&
1439
1563
  gift_email == o.gift_email &&
@@ -1487,7 +1611,7 @@ module UltracartClient
1487
1611
  # Calculates hash code according to all attributes.
1488
1612
  # @return [Integer] Hash code
1489
1613
  def hash
1490
- [advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, sales_rep_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, tax_county, tax_exempt, transaction, treat_warnings_as_errors].hash
1614
+ [advertising_source, affiliate_id, affiliate_sub_id, arbitrary_shipping_handling_total, arbitrary_tax, arbitrary_tax_rate, arbitrary_taxable_subtotal, associate_with_customer_profile_if_present, auto_approve_purchase_order, billto_address1, billto_address2, billto_city, billto_company, billto_country_code, billto_day_phone, billto_evening_phone, billto_first_name, billto_last_name, billto_postal_code, billto_state_region, billto_title, cc_email, channel_partner_order_id, consider_recurring, coupons, credit_card_authorization_amount, credit_card_authorization_dts, credit_card_authorization_number, credit_card_expiration_month, credit_card_expiration_year, credit_card_type, custom_field1, custom_field2, custom_field3, custom_field4, custom_field5, custom_field6, custom_field7, delivery_date, echeck_bank_aba_code, echeck_bank_account_name, echeck_bank_account_number, echeck_bank_account_type, echeck_bank_name, echeck_bank_owner_type, echeck_customer_tax_id, echeck_drivers_license_dob, echeck_drivers_license_number, echeck_drivers_license_state, email, gift, gift_email, gift_message, hosted_fields_card_token, hosted_fields_cvv_token, insurance_application_id, insurance_claim_id, ip_address, items, least_cost_route, least_cost_route_shipping_methods, mailing_list_opt_in, no_realtime_payment_processing, payment_method, purchase_order_number, rotating_transaction_gateway_code, sales_rep_code, screen_branding_theme_code, ship_on_date, ship_to_residential, shipping_method, shipto_address1, shipto_address2, shipto_city, shipto_company, shipto_country_code, shipto_day_phone, shipto_evening_phone, shipto_first_name, shipto_last_name, shipto_postal_code, shipto_state_region, shipto_title, skip_payment_processing, special_instructions, store_completed, store_if_payment_declines, tax_county, tax_exempt, transaction, treat_warnings_as_errors].hash
1491
1615
  end
1492
1616
 
1493
1617
  # Builds the object from hash
@@ -36,6 +36,9 @@ module UltracartClient
36
36
  # Mime Type
37
37
  attr_accessor :mime_type
38
38
 
39
+ # URL
40
+ attr_accessor :url
41
+
39
42
  # User Id
40
43
  attr_accessor :user_id
41
44
 
@@ -52,6 +55,7 @@ module UltracartClient
52
55
  :'filename' => :'filename',
53
56
  :'merchant_id' => :'merchant_id',
54
57
  :'mime_type' => :'mime_type',
58
+ :'url' => :'url',
55
59
  :'user_id' => :'user_id',
56
60
  :'version' => :'version'
57
61
  }
@@ -72,6 +76,7 @@ module UltracartClient
72
76
  :'filename' => :'String',
73
77
  :'merchant_id' => :'String',
74
78
  :'mime_type' => :'String',
79
+ :'url' => :'String',
75
80
  :'user_id' => :'Integer',
76
81
  :'version' => :'Integer'
77
82
  }
@@ -126,6 +131,10 @@ module UltracartClient
126
131
  self.mime_type = attributes[:'mime_type']
127
132
  end
128
133
 
134
+ if attributes.key?(:'url')
135
+ self.url = attributes[:'url']
136
+ end
137
+
129
138
  if attributes.key?(:'user_id')
130
139
  self.user_id = attributes[:'user_id']
131
140
  end
@@ -250,6 +259,7 @@ module UltracartClient
250
259
  filename == o.filename &&
251
260
  merchant_id == o.merchant_id &&
252
261
  mime_type == o.mime_type &&
262
+ url == o.url &&
253
263
  user_id == o.user_id &&
254
264
  version == o.version
255
265
  end
@@ -263,7 +273,7 @@ module UltracartClient
263
273
  # Calculates hash code according to all attributes.
264
274
  # @return [Integer] Hash code
265
275
  def hash
266
- [audio_s3_listing_key, conversation_pbx_audio_uuid, default_hold_music, description, filename, merchant_id, mime_type, user_id, version].hash
276
+ [audio_s3_listing_key, conversation_pbx_audio_uuid, default_hold_music, description, filename, merchant_id, mime_type, url, user_id, version].hash
267
277
  end
268
278
 
269
279
  # Builds the object from hash
@@ -0,0 +1,280 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module UltracartClient
17
+ class ConversationPbxAudioUsageResponse
18
+ attr_accessor :error
19
+
20
+ attr_accessor :menus
21
+
22
+ attr_accessor :metadata
23
+
24
+ attr_accessor :queues
25
+
26
+ # Indicates if API call was successful
27
+ attr_accessor :success
28
+
29
+ attr_accessor :voicemail_mailboxes
30
+
31
+ attr_accessor :warning
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ def self.attribute_map
35
+ {
36
+ :'error' => :'error',
37
+ :'menus' => :'menus',
38
+ :'metadata' => :'metadata',
39
+ :'queues' => :'queues',
40
+ :'success' => :'success',
41
+ :'voicemail_mailboxes' => :'voicemail_mailboxes',
42
+ :'warning' => :'warning'
43
+ }
44
+ end
45
+
46
+ # Returns all the JSON keys this model knows about
47
+ def self.acceptable_attributes
48
+ attribute_map.values
49
+ end
50
+
51
+ # Attribute type mapping.
52
+ def self.openapi_types
53
+ {
54
+ :'error' => :'Error',
55
+ :'menus' => :'Array<ConversationPbxMenu>',
56
+ :'metadata' => :'ResponseMetadata',
57
+ :'queues' => :'Array<ConversationPbxQueue>',
58
+ :'success' => :'Boolean',
59
+ :'voicemail_mailboxes' => :'Array<ConversationPbxVoicemailMailbox>',
60
+ :'warning' => :'Warning'
61
+ }
62
+ end
63
+
64
+ # List of attributes with nullable: true
65
+ def self.openapi_nullable
66
+ Set.new([
67
+ ])
68
+ end
69
+
70
+ # Initializes the object
71
+ # @param [Hash] attributes Model attributes in the form of hash
72
+ def initialize(attributes = {})
73
+ if (!attributes.is_a?(Hash))
74
+ fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::ConversationPbxAudioUsageResponse` initialize method"
75
+ end
76
+
77
+ # check to see if the attribute exists and convert string to symbol for hash key
78
+ attributes = attributes.each_with_object({}) { |(k, v), h|
79
+ if (!self.class.attribute_map.key?(k.to_sym))
80
+ fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::ConversationPbxAudioUsageResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
81
+ end
82
+ h[k.to_sym] = v
83
+ }
84
+
85
+ if attributes.key?(:'error')
86
+ self.error = attributes[:'error']
87
+ end
88
+
89
+ if attributes.key?(:'menus')
90
+ if (value = attributes[:'menus']).is_a?(Array)
91
+ self.menus = value
92
+ end
93
+ end
94
+
95
+ if attributes.key?(:'metadata')
96
+ self.metadata = attributes[:'metadata']
97
+ end
98
+
99
+ if attributes.key?(:'queues')
100
+ if (value = attributes[:'queues']).is_a?(Array)
101
+ self.queues = value
102
+ end
103
+ end
104
+
105
+ if attributes.key?(:'success')
106
+ self.success = attributes[:'success']
107
+ end
108
+
109
+ if attributes.key?(:'voicemail_mailboxes')
110
+ if (value = attributes[:'voicemail_mailboxes']).is_a?(Array)
111
+ self.voicemail_mailboxes = value
112
+ end
113
+ end
114
+
115
+ if attributes.key?(:'warning')
116
+ self.warning = attributes[:'warning']
117
+ end
118
+ end
119
+
120
+ # Show invalid properties with the reasons. Usually used together with valid?
121
+ # @return Array for valid properties with the reasons
122
+ def list_invalid_properties
123
+ invalid_properties = Array.new
124
+ invalid_properties
125
+ end
126
+
127
+ # Check to see if the all the properties in the model are valid
128
+ # @return true if the model is valid
129
+ def valid?
130
+ true
131
+ end
132
+
133
+ # Checks equality by comparing each attribute.
134
+ # @param [Object] Object to be compared
135
+ def ==(o)
136
+ return true if self.equal?(o)
137
+ self.class == o.class &&
138
+ error == o.error &&
139
+ menus == o.menus &&
140
+ metadata == o.metadata &&
141
+ queues == o.queues &&
142
+ success == o.success &&
143
+ voicemail_mailboxes == o.voicemail_mailboxes &&
144
+ warning == o.warning
145
+ end
146
+
147
+ # @see the `==` method
148
+ # @param [Object] Object to be compared
149
+ def eql?(o)
150
+ self == o
151
+ end
152
+
153
+ # Calculates hash code according to all attributes.
154
+ # @return [Integer] Hash code
155
+ def hash
156
+ [error, menus, metadata, queues, success, voicemail_mailboxes, warning].hash
157
+ end
158
+
159
+ # Builds the object from hash
160
+ # @param [Hash] attributes Model attributes in the form of hash
161
+ # @return [Object] Returns the model itself
162
+ def self.build_from_hash(attributes)
163
+ new.build_from_hash(attributes)
164
+ end
165
+
166
+ # Builds the object from hash
167
+ # @param [Hash] attributes Model attributes in the form of hash
168
+ # @return [Object] Returns the model itself
169
+ def build_from_hash(attributes)
170
+ return nil unless attributes.is_a?(Hash)
171
+ attributes = attributes.transform_keys(&:to_sym)
172
+ self.class.openapi_types.each_pair do |key, type|
173
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
174
+ self.send("#{key}=", nil)
175
+ elsif type =~ /\AArray<(.*)>/i
176
+ # check to ensure the input is an array given that the attribute
177
+ # is documented as an array but the input is not
178
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
179
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
180
+ end
181
+ elsif !attributes[self.class.attribute_map[key]].nil?
182
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
183
+ end
184
+ end
185
+
186
+ self
187
+ end
188
+
189
+ # Deserializes the data based on type
190
+ # @param string type Data type
191
+ # @param string value Value to be deserialized
192
+ # @return [Object] Deserialized data
193
+ def _deserialize(type, value)
194
+ case type.to_sym
195
+ when :Time
196
+ Time.parse(value)
197
+ when :Date
198
+ Date.parse(value)
199
+ when :String
200
+ value.to_s
201
+ when :Integer
202
+ value.to_i
203
+ when :Float
204
+ value.to_f
205
+ when :Boolean
206
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
207
+ true
208
+ else
209
+ false
210
+ end
211
+ when :Object
212
+ # generic object (usually a Hash), return directly
213
+ value
214
+ when /\AArray<(?<inner_type>.+)>\z/
215
+ inner_type = Regexp.last_match[:inner_type]
216
+ value.map { |v| _deserialize(inner_type, v) }
217
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
218
+ k_type = Regexp.last_match[:k_type]
219
+ v_type = Regexp.last_match[:v_type]
220
+ {}.tap do |hash|
221
+ value.each do |k, v|
222
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
223
+ end
224
+ end
225
+ else # model
226
+ # models (e.g. Pet) or oneOf
227
+ klass = UltracartClient.const_get(type)
228
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
229
+ end
230
+ end
231
+
232
+ # Returns the string representation of the object
233
+ # @return [String] String presentation of the object
234
+ def to_s
235
+ to_hash.to_s
236
+ end
237
+
238
+ # to_body is an alias to to_hash (backward compatibility)
239
+ # @return [Hash] Returns the object in the form of hash
240
+ def to_body
241
+ to_hash
242
+ end
243
+
244
+ # Returns the object in the form of hash
245
+ # @return [Hash] Returns the object in the form of hash
246
+ def to_hash
247
+ hash = {}
248
+ self.class.attribute_map.each_pair do |attr, param|
249
+ value = self.send(attr)
250
+ if value.nil?
251
+ is_nullable = self.class.openapi_nullable.include?(attr)
252
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
253
+ end
254
+
255
+ hash[param] = _to_hash(value)
256
+ end
257
+ hash
258
+ end
259
+
260
+ # Outputs non-array value in the form of hash
261
+ # For object, use to_hash. Otherwise, just return the value
262
+ # @param [Object] value Any valid value
263
+ # @return [Hash] Returns the value in the form of hash
264
+ def _to_hash(value)
265
+ if value.is_a?(Array)
266
+ value.compact.map { |v| _to_hash(v) }
267
+ elsif value.is_a?(Hash)
268
+ {}.tap do |hash|
269
+ value.each { |k, v| hash[k] = _to_hash(v) }
270
+ end
271
+ elsif value.respond_to? :to_hash
272
+ value.to_hash
273
+ else
274
+ value
275
+ end
276
+ end
277
+
278
+ end
279
+
280
+ end
@@ -42,6 +42,18 @@ module UltracartClient
42
42
 
43
43
  attr_accessor :glcid
44
44
 
45
+ attr_accessor :itm_campaign
46
+
47
+ attr_accessor :itm_content
48
+
49
+ attr_accessor :itm_id
50
+
51
+ attr_accessor :itm_medium
52
+
53
+ attr_accessor :itm_source
54
+
55
+ attr_accessor :itm_term
56
+
45
57
  attr_accessor :msclkid
46
58
 
47
59
  attr_accessor :ttclid
@@ -80,6 +92,12 @@ module UltracartClient
80
92
  :'fbclid' => :'fbclid',
81
93
  :'gbraid' => :'gbraid',
82
94
  :'glcid' => :'glcid',
95
+ :'itm_campaign' => :'itm_campaign',
96
+ :'itm_content' => :'itm_content',
97
+ :'itm_id' => :'itm_id',
98
+ :'itm_medium' => :'itm_medium',
99
+ :'itm_source' => :'itm_source',
100
+ :'itm_term' => :'itm_term',
83
101
  :'msclkid' => :'msclkid',
84
102
  :'ttclid' => :'ttclid',
85
103
  :'uc_message_id' => :'uc_message_id',
@@ -115,6 +133,12 @@ module UltracartClient
115
133
  :'fbclid' => :'String',
116
134
  :'gbraid' => :'String',
117
135
  :'glcid' => :'String',
136
+ :'itm_campaign' => :'String',
137
+ :'itm_content' => :'String',
138
+ :'itm_id' => :'String',
139
+ :'itm_medium' => :'String',
140
+ :'itm_source' => :'String',
141
+ :'itm_term' => :'String',
118
142
  :'msclkid' => :'String',
119
143
  :'ttclid' => :'String',
120
144
  :'uc_message_id' => :'String',
@@ -202,6 +226,30 @@ module UltracartClient
202
226
  self.glcid = attributes[:'glcid']
203
227
  end
204
228
 
229
+ if attributes.key?(:'itm_campaign')
230
+ self.itm_campaign = attributes[:'itm_campaign']
231
+ end
232
+
233
+ if attributes.key?(:'itm_content')
234
+ self.itm_content = attributes[:'itm_content']
235
+ end
236
+
237
+ if attributes.key?(:'itm_id')
238
+ self.itm_id = attributes[:'itm_id']
239
+ end
240
+
241
+ if attributes.key?(:'itm_medium')
242
+ self.itm_medium = attributes[:'itm_medium']
243
+ end
244
+
245
+ if attributes.key?(:'itm_source')
246
+ self.itm_source = attributes[:'itm_source']
247
+ end
248
+
249
+ if attributes.key?(:'itm_term')
250
+ self.itm_term = attributes[:'itm_term']
251
+ end
252
+
205
253
  if attributes.key?(:'msclkid')
206
254
  self.msclkid = attributes[:'msclkid']
207
255
  end
@@ -278,6 +326,12 @@ module UltracartClient
278
326
  fbclid == o.fbclid &&
279
327
  gbraid == o.gbraid &&
280
328
  glcid == o.glcid &&
329
+ itm_campaign == o.itm_campaign &&
330
+ itm_content == o.itm_content &&
331
+ itm_id == o.itm_id &&
332
+ itm_medium == o.itm_medium &&
333
+ itm_source == o.itm_source &&
334
+ itm_term == o.itm_term &&
281
335
  msclkid == o.msclkid &&
282
336
  ttclid == o.ttclid &&
283
337
  uc_message_id == o.uc_message_id &&
@@ -300,7 +354,7 @@ module UltracartClient
300
354
  # Calculates hash code according to all attributes.
301
355
  # @return [Integer] Hash code
302
356
  def hash
303
- [attribution_first_click_subtotal, attribution_first_click_total, attribution_last_click_subtotal, attribution_last_click_total, attribution_linear_subtotal, attribution_linear_total, attribution_position_based_subtotal, attribution_position_based_total, click_dts, facebook_ad_id, fbclid, gbraid, glcid, msclkid, ttclid, uc_message_id, utm_campaign, utm_content, utm_id, utm_medium, utm_source, utm_term, vmcid, wbraid].hash
357
+ [attribution_first_click_subtotal, attribution_first_click_total, attribution_last_click_subtotal, attribution_last_click_total, attribution_linear_subtotal, attribution_linear_total, attribution_position_based_subtotal, attribution_position_based_total, click_dts, facebook_ad_id, fbclid, gbraid, glcid, itm_campaign, itm_content, itm_id, itm_medium, itm_source, itm_term, msclkid, ttclid, uc_message_id, utm_campaign, utm_content, utm_id, utm_medium, utm_source, utm_term, vmcid, wbraid].hash
304
358
  end
305
359
 
306
360
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.213'
14
+ VERSION = '4.0.215'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -193,6 +193,7 @@ require 'ultracart_api/models/conversation_pbx_audio'
193
193
  require 'ultracart_api/models/conversation_pbx_audio_response'
194
194
  require 'ultracart_api/models/conversation_pbx_audio_upload_url'
195
195
  require 'ultracart_api/models/conversation_pbx_audio_upload_url_response'
196
+ require 'ultracart_api/models/conversation_pbx_audio_usage_response'
196
197
  require 'ultracart_api/models/conversation_pbx_audios_response'
197
198
  require 'ultracart_api/models/conversation_pbx_customer_snapshot_request'
198
199
  require 'ultracart_api/models/conversation_pbx_customer_snapshot_response'
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: 4.0.213
4
+ version: 4.0.215
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-02 00:00:00.000000000 Z
11
+ date: 2024-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -243,6 +243,7 @@ files:
243
243
  - docs/ConversationPbxAudioResponse.md
244
244
  - docs/ConversationPbxAudioUploadUrl.md
245
245
  - docs/ConversationPbxAudioUploadUrlResponse.md
246
+ - docs/ConversationPbxAudioUsageResponse.md
246
247
  - docs/ConversationPbxAudiosResponse.md
247
248
  - docs/ConversationPbxCustomerSnapshotRequest.md
248
249
  - docs/ConversationPbxCustomerSnapshotResponse.md
@@ -1131,6 +1132,7 @@ files:
1131
1132
  - lib/ultracart_api/models/conversation_pbx_audio_response.rb
1132
1133
  - lib/ultracart_api/models/conversation_pbx_audio_upload_url.rb
1133
1134
  - lib/ultracart_api/models/conversation_pbx_audio_upload_url_response.rb
1135
+ - lib/ultracart_api/models/conversation_pbx_audio_usage_response.rb
1134
1136
  - lib/ultracart_api/models/conversation_pbx_audios_response.rb
1135
1137
  - lib/ultracart_api/models/conversation_pbx_customer_snapshot_request.rb
1136
1138
  - lib/ultracart_api/models/conversation_pbx_customer_snapshot_response.rb