ultracart_api 3.1.11 → 3.1.16

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: baf85d43803f09a90974f427f2ef55a3e34d6fb77791ee9138afd05b3b131278
4
- data.tar.gz: 3761dcd0a48dee44a7b9be64456f0f33133f2f6967fe17be394bc562a6a151fe
3
+ metadata.gz: 4e1dca094efb67d0bac4bb8b5cf7981f9e79a839d7981692ebfe6861958f5f22
4
+ data.tar.gz: 80635a0be6fee0613757361dabfee9eb3f5101ff2789efdc7f0619b237c35c19
5
5
  SHA512:
6
- metadata.gz: 7e136f041f2a6b6c982043def9ff20ea9cea15a40495cf4f2c5668912354633e8ee7b0c10a0bd03a6a2723c26a03b77c2a133d1e3a61d88d4e29f9adc36f289a
7
- data.tar.gz: cc97f8c45f306d9fbb0cc255042cad9ae5fafd0a257a0f721e6bd8df855e7294768b7553c1382b0746703ea372fc7732882786bf5c181c65ae75bf45b3435cea
6
+ metadata.gz: 7b487dd7b86403457585a031da3a855c9b0b3cd99d4b786b6e57fa8bea67ea8f1132e736d91ac09853d0c28838429146b62c0ab0dfab11424bd851e1e4fc8a69
7
+ data.tar.gz: 5abfdda396d83c67d25e8df251d9b30b6b89f0a6dd7c56a45ef808af98822c93ea2eb0156d83b4c47569764e39157b3e98f18b5eb7c2b6581534c3222b076c0a
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.1.11
10
+ - Package version: 3.1.16
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.1.11.gem
27
+ gem install ./ultracart_api-3.1.16.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.1.11.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.1.16.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.1.11'
35
+ gem 'ultracart_api', '~> 3.1.16'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -866,6 +866,7 @@ Class | Method | HTTP request | Description
866
866
  - [UltracartClient::ScreenRecordingFilterValues](docs/ScreenRecordingFilterValues.md)
867
867
  - [UltracartClient::ScreenRecordingFilterValuesEvent](docs/ScreenRecordingFilterValuesEvent.md)
868
868
  - [UltracartClient::ScreenRecordingFilterValuesEventParams](docs/ScreenRecordingFilterValuesEventParams.md)
869
+ - [UltracartClient::ScreenRecordingFilterValuesPageParam](docs/ScreenRecordingFilterValuesPageParam.md)
869
870
  - [UltracartClient::ScreenRecordingMerchantNotesRequest](docs/ScreenRecordingMerchantNotesRequest.md)
870
871
  - [UltracartClient::ScreenRecordingMultifield](docs/ScreenRecordingMultifield.md)
871
872
  - [UltracartClient::ScreenRecordingPageView](docs/ScreenRecordingPageView.md)
@@ -1006,6 +1007,11 @@ Not every change is committed to every SDK.
1006
1007
 
1007
1008
  | Version | Date | Comments |
1008
1009
  | --: | :-: | --- |
1010
+ | 3.1.16 | 03/16/2021 | screen recording filter page parameter names |
1011
+ | 3.1.15 | 03/15/2021 | fix response from deleteScreenRecordingSegment that should have been void |
1012
+ | 3.1.14 | 03/15/2021 | sort screen recordings by favorite flag |
1013
+ | 3.1.13 | 03/02/2021 | new webhook order_payment_failed |
1014
+ | 3.1.12 | 02/25/2021 | added screen recording visitor_first_seen property |
1009
1015
  | 3.1.11 | 02/24/2021 | Added Screen recording visitor number |
1010
1016
  | 3.1.10 | 02/24/2021 | Added Screen recording merchant notes |
1011
1017
  | 3.1.9 | 02/24/2021 | Allow coupons to be configured as unique with expiration on cart step within StoreFront Communications |
data/docs/CouponApi.md CHANGED
@@ -732,7 +732,7 @@ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
732
732
  api_instance = UltracartClient::CouponApi.new_using_api_key(simple_key, false, false)
733
733
 
734
734
 
735
- coupons_request = UltracartClient::CouponsRequest.new # CouponsRequest | Coupons to insert (maximum 20)
735
+ coupons_request = UltracartClient::CouponsRequest.new # CouponsRequest | Coupons to insert (maximum 50)
736
736
 
737
737
  opts = {
738
738
  _expand: '_expand_example', # String | The object expansion to perform on the result. See documentation for examples
@@ -752,7 +752,7 @@ end
752
752
 
753
753
  Name | Type | Description | Notes
754
754
  ------------- | ------------- | ------------- | -------------
755
- **coupons_request** | [**CouponsRequest**](CouponsRequest.md)| Coupons to insert (maximum 20) |
755
+ **coupons_request** | [**CouponsRequest**](CouponsRequest.md)| Coupons to insert (maximum 50) |
756
756
  **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
757
757
  **_placeholders** | **BOOLEAN**| Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API. | [optional]
758
758
 
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
25
25
  **smart_sending** | **BOOLEAN** | Smart sending | [optional]
26
26
  **storefront_oid** | **Integer** | Storefront oid | [optional]
27
27
  **subject** | **String** | Subject | [optional]
28
+ **suspended_for_spam** | **BOOLEAN** | True if the email was suspended for too high of a spam rate. | [optional]
28
29
  **transactional_email** | **BOOLEAN** | Transactional email | [optional]
29
30
  **version** | **Integer** | Version | [optional]
30
31
 
data/docs/OrderApi.md CHANGED
@@ -535,6 +535,13 @@ opts = {
535
535
  customer_profile_oid: 56, # Integer |
536
536
  refund_date_begin: 'refund_date_begin_example', # String |
537
537
  refund_date_end: 'refund_date_end_example', # String |
538
+ custom_field_1: 'custom_field_1_example', # String |
539
+ custom_field_2: 'custom_field_2_example', # String |
540
+ custom_field_3: 'custom_field_3_example', # String |
541
+ custom_field_4: 'custom_field_4_example', # String |
542
+ custom_field_5: 'custom_field_5_example', # String |
543
+ custom_field_6: 'custom_field_6_example', # String |
544
+ custom_field_7: 'custom_field_7_example', # String |
538
545
  _limit: 100, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
539
546
  _offset: 0, # Integer | Pagination of the record set. Offset is a zero based index.
540
547
  _sort: '_sort_example', # String | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
@@ -584,6 +591,13 @@ Name | Type | Description | Notes
584
591
  **customer_profile_oid** | **Integer**| | [optional]
585
592
  **refund_date_begin** | **String**| | [optional]
586
593
  **refund_date_end** | **String**| | [optional]
594
+ **custom_field_1** | **String**| | [optional]
595
+ **custom_field_2** | **String**| | [optional]
596
+ **custom_field_3** | **String**| | [optional]
597
+ **custom_field_4** | **String**| | [optional]
598
+ **custom_field_5** | **String**| | [optional]
599
+ **custom_field_6** | **String**| | [optional]
600
+ **custom_field_7** | **String**| | [optional]
587
601
  **_limit** | **Integer**| The maximum number of records to return on this one API call. (Maximum 200) | [optional] [default to 100]
588
602
  **_offset** | **Integer**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
589
603
  **_sort** | **String**| The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional]
data/docs/OrderQuery.md CHANGED
@@ -12,6 +12,13 @@ Name | Type | Description | Notes
12
12
  **creation_date_begin** | **String** | Date/time that the order was created | [optional]
13
13
  **creation_date_end** | **String** | Date/time that the order was created | [optional]
14
14
  **current_stage** | **String** | Current stage that the order is in. | [optional]
15
+ **custom_field_1** | **String** | Custom field 1 | [optional]
16
+ **custom_field_2** | **String** | Custom field 2 | [optional]
17
+ **custom_field_3** | **String** | Custom field 3 | [optional]
18
+ **custom_field_4** | **String** | Custom field 4 | [optional]
19
+ **custom_field_5** | **String** | Custom field 5 | [optional]
20
+ **custom_field_6** | **String** | Custom field 6 | [optional]
21
+ **custom_field_7** | **String** | Custom field 7 | [optional]
15
22
  **customer_profile_oid** | **Integer** | The customer profile to find associated orders for | [optional]
16
23
  **email** | **String** | Email | [optional]
17
24
  **first_name** | **String** | First name | [optional]
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
34
34
  **user_agent_raw** | **String** | | [optional]
35
35
  **user_ip** | **String** | | [optional]
36
36
  **user_properties** | [**Array<ScreenRecordingUserProperty>**](ScreenRecordingUserProperty.md) | | [optional]
37
+ **visitor_first_seen** | **String** | Timestamp this visitor was first seen | [optional]
37
38
  **visitor_number** | **Integer** | | [optional]
38
39
  **watched** | **BOOLEAN** | | [optional]
39
40
  **window_height** | **Integer** | | [optional]
@@ -29,6 +29,7 @@ Name | Type | Description | Notes
29
29
  **user_agent_os_name** | **String** | | [optional]
30
30
  **user_agent_os_version** | **String** | | [optional]
31
31
  **user_ip** | [**ScreenRecordingFilterIpSearch**](ScreenRecordingFilterIpSearch.md) | | [optional]
32
+ **visitor_number** | **Integer** | | [optional]
32
33
  **watched** | **BOOLEAN** | | [optional]
33
34
 
34
35
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **geolocation_countries** | **Array<String>** | | [optional]
8
8
  **geolocation_states** | **Array<String>** | | [optional]
9
9
  **max_values** | **Integer** | | [optional]
10
+ **page_params** | [**Array<ScreenRecordingFilterValuesPageParam>**](ScreenRecordingFilterValuesPageParam.md) | | [optional]
10
11
  **urls** | **Array<String>** | | [optional]
11
12
  **user_agent_device_names** | **Array<String>** | | [optional]
12
13
  **user_agent_device_os_names** | **Array<String>** | | [optional]
@@ -0,0 +1,9 @@
1
+ # UltracartClient::ScreenRecordingFilterValuesPageParam
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | | [optional]
7
+ **values** | **Array<String>** | | [optional]
8
+
9
+
@@ -1115,7 +1115,7 @@ nil (empty response body)
1115
1115
 
1116
1116
 
1117
1117
  # **delete_screen_recording_segment**
1118
- > ScreenRecordingSegmentResponse delete_screen_recording_segment(storefront_oid, screen_recording_segment_oid)
1118
+ > delete_screen_recording_segment(storefront_oid, screen_recording_segment_oid)
1119
1119
 
1120
1120
  Delete screen recording segment
1121
1121
 
@@ -1136,8 +1136,7 @@ screen_recording_segment_oid = 56 # Integer |
1136
1136
 
1137
1137
  begin
1138
1138
  #Delete screen recording segment
1139
- result = api_instance.delete_screen_recording_segment(storefront_oid, screen_recording_segment_oid)
1140
- p result
1139
+ api_instance.delete_screen_recording_segment(storefront_oid, screen_recording_segment_oid)
1141
1140
  rescue UltracartClient::ApiError => e
1142
1141
  puts "Exception when calling StorefrontApi->delete_screen_recording_segment: #{e}"
1143
1142
  end
@@ -1152,7 +1151,7 @@ Name | Type | Description | Notes
1152
1151
 
1153
1152
  ### Return type
1154
1153
 
1155
- [**ScreenRecordingSegmentResponse**](ScreenRecordingSegmentResponse.md)
1154
+ nil (empty response body)
1156
1155
 
1157
1156
  ### Authorization
1158
1157
 
data/lib/ultracart_api.rb CHANGED
@@ -500,6 +500,7 @@ require 'ultracart_api/models/screen_recording_filter_string_search'
500
500
  require 'ultracart_api/models/screen_recording_filter_values'
501
501
  require 'ultracart_api/models/screen_recording_filter_values_event'
502
502
  require 'ultracart_api/models/screen_recording_filter_values_event_params'
503
+ require 'ultracart_api/models/screen_recording_filter_values_page_param'
503
504
  require 'ultracart_api/models/screen_recording_merchant_notes_request'
504
505
  require 'ultracart_api/models/screen_recording_multifield'
505
506
  require 'ultracart_api/models/screen_recording_page_view'
@@ -800,7 +800,7 @@ module UltracartClient
800
800
  end
801
801
  # Insert multiple coupons
802
802
  # Insert multiple coupon on the UltraCart account.
803
- # @param coupons_request Coupons to insert (maximum 20)
803
+ # @param coupons_request Coupons to insert (maximum 50)
804
804
  # @param [Hash] opts the optional parameters
805
805
  # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
806
806
  # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
@@ -812,7 +812,7 @@ module UltracartClient
812
812
 
813
813
  # Insert multiple coupons
814
814
  # Insert multiple coupon on the UltraCart account.
815
- # @param coupons_request Coupons to insert (maximum 20)
815
+ # @param coupons_request Coupons to insert (maximum 50)
816
816
  # @param [Hash] opts the optional parameters
817
817
  # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
818
818
  # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
@@ -571,6 +571,13 @@ module UltracartClient
571
571
  # @option opts [Integer] :customer_profile_oid
572
572
  # @option opts [String] :refund_date_begin
573
573
  # @option opts [String] :refund_date_end
574
+ # @option opts [String] :custom_field_1
575
+ # @option opts [String] :custom_field_2
576
+ # @option opts [String] :custom_field_3
577
+ # @option opts [String] :custom_field_4
578
+ # @option opts [String] :custom_field_5
579
+ # @option opts [String] :custom_field_6
580
+ # @option opts [String] :custom_field_7
574
581
  # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Maximum 200) (default to 100)
575
582
  # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
576
583
  # @option opts [String] :_sort The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
@@ -614,6 +621,13 @@ module UltracartClient
614
621
  # @option opts [Integer] :customer_profile_oid
615
622
  # @option opts [String] :refund_date_begin
616
623
  # @option opts [String] :refund_date_end
624
+ # @option opts [String] :custom_field_1
625
+ # @option opts [String] :custom_field_2
626
+ # @option opts [String] :custom_field_3
627
+ # @option opts [String] :custom_field_4
628
+ # @option opts [String] :custom_field_5
629
+ # @option opts [String] :custom_field_6
630
+ # @option opts [String] :custom_field_7
617
631
  # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Maximum 200)
618
632
  # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index.
619
633
  # @option opts [String] :_sort The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
@@ -658,6 +672,13 @@ module UltracartClient
658
672
  query_params[:'customer_profile_oid'] = opts[:'customer_profile_oid'] if !opts[:'customer_profile_oid'].nil?
659
673
  query_params[:'Refund Date Begin'] = opts[:'refund_date_begin'] if !opts[:'refund_date_begin'].nil?
660
674
  query_params[:'Refund Date End'] = opts[:'refund_date_end'] if !opts[:'refund_date_end'].nil?
675
+ query_params[:'Custom Field 1'] = opts[:'custom_field_1'] if !opts[:'custom_field_1'].nil?
676
+ query_params[:'Custom Field 2'] = opts[:'custom_field_2'] if !opts[:'custom_field_2'].nil?
677
+ query_params[:'Custom Field 3'] = opts[:'custom_field_3'] if !opts[:'custom_field_3'].nil?
678
+ query_params[:'Custom Field 4'] = opts[:'custom_field_4'] if !opts[:'custom_field_4'].nil?
679
+ query_params[:'Custom Field 5'] = opts[:'custom_field_5'] if !opts[:'custom_field_5'].nil?
680
+ query_params[:'Custom Field 6'] = opts[:'custom_field_6'] if !opts[:'custom_field_6'].nil?
681
+ query_params[:'Custom Field 7'] = opts[:'custom_field_7'] if !opts[:'custom_field_7'].nil?
661
682
  query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
662
683
  query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
663
684
  query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
@@ -1141,17 +1141,17 @@ module UltracartClient
1141
1141
  # @param storefront_oid
1142
1142
  # @param screen_recording_segment_oid
1143
1143
  # @param [Hash] opts the optional parameters
1144
- # @return [ScreenRecordingSegmentResponse]
1144
+ # @return [nil]
1145
1145
  def delete_screen_recording_segment(storefront_oid, screen_recording_segment_oid, opts = {})
1146
- data, _status_code, _headers = delete_screen_recording_segment_with_http_info(storefront_oid, screen_recording_segment_oid, opts)
1147
- data
1146
+ delete_screen_recording_segment_with_http_info(storefront_oid, screen_recording_segment_oid, opts)
1147
+ nil
1148
1148
  end
1149
1149
 
1150
1150
  # Delete screen recording segment
1151
1151
  # @param storefront_oid
1152
1152
  # @param screen_recording_segment_oid
1153
1153
  # @param [Hash] opts the optional parameters
1154
- # @return [Array<(ScreenRecordingSegmentResponse, Fixnum, Hash)>] ScreenRecordingSegmentResponse data, response status code and response headers
1154
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1155
1155
  def delete_screen_recording_segment_with_http_info(storefront_oid, screen_recording_segment_oid, opts = {})
1156
1156
  if @api_client.config.debugging
1157
1157
  @api_client.config.logger.debug 'Calling API: StorefrontApi.delete_screen_recording_segment ...'
@@ -1189,8 +1189,7 @@ module UltracartClient
1189
1189
  :query_params => query_params,
1190
1190
  :form_params => form_params,
1191
1191
  :body => post_body,
1192
- :auth_names => auth_names,
1193
- :return_type => 'ScreenRecordingSegmentResponse')
1192
+ :auth_names => auth_names)
1194
1193
  if @api_client.config.debugging
1195
1194
  @api_client.config.logger.debug "API called: StorefrontApi#delete_screen_recording_segment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1196
1195
  end
@@ -80,6 +80,9 @@ module UltracartClient
80
80
  # Subject
81
81
  attr_accessor :subject
82
82
 
83
+ # True if the email was suspended for too high of a spam rate.
84
+ attr_accessor :suspended_for_spam
85
+
83
86
  # Transactional email
84
87
  attr_accessor :transactional_email
85
88
 
@@ -111,6 +114,7 @@ module UltracartClient
111
114
  :'smart_sending' => :'smart_sending',
112
115
  :'storefront_oid' => :'storefront_oid',
113
116
  :'subject' => :'subject',
117
+ :'suspended_for_spam' => :'suspended_for_spam',
114
118
  :'transactional_email' => :'transactional_email',
115
119
  :'version' => :'version'
116
120
  }
@@ -141,6 +145,7 @@ module UltracartClient
141
145
  :'smart_sending' => :'BOOLEAN',
142
146
  :'storefront_oid' => :'Integer',
143
147
  :'subject' => :'String',
148
+ :'suspended_for_spam' => :'BOOLEAN',
144
149
  :'transactional_email' => :'BOOLEAN',
145
150
  :'version' => :'Integer'
146
151
  }
@@ -242,6 +247,10 @@ module UltracartClient
242
247
  self.subject = attributes[:'subject']
243
248
  end
244
249
 
250
+ if attributes.has_key?(:'suspended_for_spam')
251
+ self.suspended_for_spam = attributes[:'suspended_for_spam']
252
+ end
253
+
245
254
  if attributes.has_key?(:'transactional_email')
246
255
  self.transactional_email = attributes[:'transactional_email']
247
256
  end
@@ -291,6 +300,7 @@ module UltracartClient
291
300
  smart_sending == o.smart_sending &&
292
301
  storefront_oid == o.storefront_oid &&
293
302
  subject == o.subject &&
303
+ suspended_for_spam == o.suspended_for_spam &&
294
304
  transactional_email == o.transactional_email &&
295
305
  version == o.version
296
306
  end
@@ -304,7 +314,7 @@ module UltracartClient
304
314
  # Calculates hash code according to all attributes.
305
315
  # @return [Fixnum] Hash code
306
316
  def hash
307
- [deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, filter_profile_equation_json, individually_render, library_item_oid, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, transactional_email, version].hash
317
+ [deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, filter_profile_equation_json, individually_render, library_item_oid, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, suspended_for_spam, transactional_email, version].hash
308
318
  end
309
319
 
310
320
  # Builds the object from hash
@@ -41,6 +41,27 @@ module UltracartClient
41
41
  # Current stage that the order is in.
42
42
  attr_accessor :current_stage
43
43
 
44
+ # Custom field 1
45
+ attr_accessor :custom_field_1
46
+
47
+ # Custom field 2
48
+ attr_accessor :custom_field_2
49
+
50
+ # Custom field 3
51
+ attr_accessor :custom_field_3
52
+
53
+ # Custom field 4
54
+ attr_accessor :custom_field_4
55
+
56
+ # Custom field 5
57
+ attr_accessor :custom_field_5
58
+
59
+ # Custom field 6
60
+ attr_accessor :custom_field_6
61
+
62
+ # Custom field 7
63
+ attr_accessor :custom_field_7
64
+
44
65
  # The customer profile to find associated orders for
45
66
  attr_accessor :customer_profile_oid
46
67
 
@@ -138,6 +159,13 @@ module UltracartClient
138
159
  :'creation_date_begin' => :'creation_date_begin',
139
160
  :'creation_date_end' => :'creation_date_end',
140
161
  :'current_stage' => :'current_stage',
162
+ :'custom_field_1' => :'custom_field_1',
163
+ :'custom_field_2' => :'custom_field_2',
164
+ :'custom_field_3' => :'custom_field_3',
165
+ :'custom_field_4' => :'custom_field_4',
166
+ :'custom_field_5' => :'custom_field_5',
167
+ :'custom_field_6' => :'custom_field_6',
168
+ :'custom_field_7' => :'custom_field_7',
141
169
  :'customer_profile_oid' => :'customer_profile_oid',
142
170
  :'email' => :'email',
143
171
  :'first_name' => :'first_name',
@@ -174,6 +202,13 @@ module UltracartClient
174
202
  :'creation_date_begin' => :'String',
175
203
  :'creation_date_end' => :'String',
176
204
  :'current_stage' => :'String',
205
+ :'custom_field_1' => :'String',
206
+ :'custom_field_2' => :'String',
207
+ :'custom_field_3' => :'String',
208
+ :'custom_field_4' => :'String',
209
+ :'custom_field_5' => :'String',
210
+ :'custom_field_6' => :'String',
211
+ :'custom_field_7' => :'String',
177
212
  :'customer_profile_oid' => :'Integer',
178
213
  :'email' => :'String',
179
214
  :'first_name' => :'String',
@@ -242,6 +277,34 @@ module UltracartClient
242
277
  self.current_stage = attributes[:'current_stage']
243
278
  end
244
279
 
280
+ if attributes.has_key?(:'custom_field_1')
281
+ self.custom_field_1 = attributes[:'custom_field_1']
282
+ end
283
+
284
+ if attributes.has_key?(:'custom_field_2')
285
+ self.custom_field_2 = attributes[:'custom_field_2']
286
+ end
287
+
288
+ if attributes.has_key?(:'custom_field_3')
289
+ self.custom_field_3 = attributes[:'custom_field_3']
290
+ end
291
+
292
+ if attributes.has_key?(:'custom_field_4')
293
+ self.custom_field_4 = attributes[:'custom_field_4']
294
+ end
295
+
296
+ if attributes.has_key?(:'custom_field_5')
297
+ self.custom_field_5 = attributes[:'custom_field_5']
298
+ end
299
+
300
+ if attributes.has_key?(:'custom_field_6')
301
+ self.custom_field_6 = attributes[:'custom_field_6']
302
+ end
303
+
304
+ if attributes.has_key?(:'custom_field_7')
305
+ self.custom_field_7 = attributes[:'custom_field_7']
306
+ end
307
+
245
308
  if attributes.has_key?(:'customer_profile_oid')
246
309
  self.customer_profile_oid = attributes[:'customer_profile_oid']
247
310
  end
@@ -558,6 +621,13 @@ module UltracartClient
558
621
  creation_date_begin == o.creation_date_begin &&
559
622
  creation_date_end == o.creation_date_end &&
560
623
  current_stage == o.current_stage &&
624
+ custom_field_1 == o.custom_field_1 &&
625
+ custom_field_2 == o.custom_field_2 &&
626
+ custom_field_3 == o.custom_field_3 &&
627
+ custom_field_4 == o.custom_field_4 &&
628
+ custom_field_5 == o.custom_field_5 &&
629
+ custom_field_6 == o.custom_field_6 &&
630
+ custom_field_7 == o.custom_field_7 &&
561
631
  customer_profile_oid == o.customer_profile_oid &&
562
632
  email == o.email &&
563
633
  first_name == o.first_name &&
@@ -590,7 +660,7 @@ module UltracartClient
590
660
  # Calculates hash code according to all attributes.
591
661
  # @return [Fixnum] Hash code
592
662
  def hash
593
- [cc_email, channel_partner_code, channel_partner_order_id, city, company, country_code, creation_date_begin, creation_date_end, current_stage, customer_profile_oid, email, first_name, item_id, last_name, order_id, payment_date_begin, payment_date_end, payment_method, phone, postal_code, purchase_order_number, refund_date_begin, refund_date_end, rma, screen_branding_theme_code, shipment_date_begin, shipment_date_end, state_region, storefront_host_name, total].hash
663
+ [cc_email, channel_partner_code, channel_partner_order_id, city, company, country_code, creation_date_begin, creation_date_end, current_stage, custom_field_1, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, custom_field_7, customer_profile_oid, email, first_name, item_id, last_name, order_id, payment_date_begin, payment_date_end, payment_method, phone, postal_code, purchase_order_number, refund_date_begin, refund_date_end, rma, screen_branding_theme_code, shipment_date_begin, shipment_date_end, state_region, storefront_host_name, total].hash
594
664
  end
595
665
 
596
666
  # Builds the object from hash
@@ -80,6 +80,9 @@ module UltracartClient
80
80
 
81
81
  attr_accessor :user_properties
82
82
 
83
+ # Timestamp this visitor was first seen
84
+ attr_accessor :visitor_first_seen
85
+
83
86
  attr_accessor :visitor_number
84
87
 
85
88
  attr_accessor :watched
@@ -122,6 +125,7 @@ module UltracartClient
122
125
  :'user_agent_raw' => :'user_agent_raw',
123
126
  :'user_ip' => :'user_ip',
124
127
  :'user_properties' => :'user_properties',
128
+ :'visitor_first_seen' => :'visitor_first_seen',
125
129
  :'visitor_number' => :'visitor_number',
126
130
  :'watched' => :'watched',
127
131
  :'window_height' => :'window_height',
@@ -163,6 +167,7 @@ module UltracartClient
163
167
  :'user_agent_raw' => :'String',
164
168
  :'user_ip' => :'String',
165
169
  :'user_properties' => :'Array<ScreenRecordingUserProperty>',
170
+ :'visitor_first_seen' => :'String',
166
171
  :'visitor_number' => :'Integer',
167
172
  :'watched' => :'BOOLEAN',
168
173
  :'window_height' => :'Integer',
@@ -314,6 +319,10 @@ module UltracartClient
314
319
  end
315
320
  end
316
321
 
322
+ if attributes.has_key?(:'visitor_first_seen')
323
+ self.visitor_first_seen = attributes[:'visitor_first_seen']
324
+ end
325
+
317
326
  if attributes.has_key?(:'visitor_number')
318
327
  self.visitor_number = attributes[:'visitor_number']
319
328
  end
@@ -380,6 +389,7 @@ module UltracartClient
380
389
  user_agent_raw == o.user_agent_raw &&
381
390
  user_ip == o.user_ip &&
382
391
  user_properties == o.user_properties &&
392
+ visitor_first_seen == o.visitor_first_seen &&
383
393
  visitor_number == o.visitor_number &&
384
394
  watched == o.watched &&
385
395
  window_height == o.window_height &&
@@ -395,7 +405,7 @@ module UltracartClient
395
405
  # Calculates hash code according to all attributes.
396
406
  # @return [Fixnum] Hash code
397
407
  def hash
398
- [analytics_client_oid, analytics_session_dts, analytics_session_oid, email, end_timestamp, esp_customer_uuid, events_gz_size, events_json_key, favorite, favorites, geolocation, geolocation_country, geolocation_state, merchant_id, merchant_notes, order_id, page_view_count, page_views, rrweb_version, screen_recording_uuid, signed_download_url, start_timestamp, storefront_oids, storefronts, tags, time_on_site, ucacid, user_agent, user_agent_raw, user_ip, user_properties, visitor_number, watched, window_height, window_width].hash
408
+ [analytics_client_oid, analytics_session_dts, analytics_session_oid, email, end_timestamp, esp_customer_uuid, events_gz_size, events_json_key, favorite, favorites, geolocation, geolocation_country, geolocation_state, merchant_id, merchant_notes, order_id, page_view_count, page_views, rrweb_version, screen_recording_uuid, signed_download_url, start_timestamp, storefront_oids, storefronts, tags, time_on_site, ucacid, user_agent, user_agent_raw, user_ip, user_properties, visitor_first_seen, visitor_number, watched, window_height, window_width].hash
399
409
  end
400
410
 
401
411
  # Builds the object from hash
@@ -66,6 +66,8 @@ module UltracartClient
66
66
 
67
67
  attr_accessor :user_ip
68
68
 
69
+ attr_accessor :visitor_number
70
+
69
71
  attr_accessor :watched
70
72
 
71
73
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -97,6 +99,7 @@ module UltracartClient
97
99
  :'user_agent_os_name' => :'user_agent_os_name',
98
100
  :'user_agent_os_version' => :'user_agent_os_version',
99
101
  :'user_ip' => :'user_ip',
102
+ :'visitor_number' => :'visitor_number',
100
103
  :'watched' => :'watched'
101
104
  }
102
105
  end
@@ -130,6 +133,7 @@ module UltracartClient
130
133
  :'user_agent_os_name' => :'String',
131
134
  :'user_agent_os_version' => :'String',
132
135
  :'user_ip' => :'ScreenRecordingFilterIpSearch',
136
+ :'visitor_number' => :'Integer',
133
137
  :'watched' => :'BOOLEAN'
134
138
  }
135
139
  end
@@ -254,6 +258,10 @@ module UltracartClient
254
258
  self.user_ip = attributes[:'user_ip']
255
259
  end
256
260
 
261
+ if attributes.has_key?(:'visitor_number')
262
+ self.visitor_number = attributes[:'visitor_number']
263
+ end
264
+
257
265
  if attributes.has_key?(:'watched')
258
266
  self.watched = attributes[:'watched']
259
267
  end
@@ -303,6 +311,7 @@ module UltracartClient
303
311
  user_agent_os_name == o.user_agent_os_name &&
304
312
  user_agent_os_version == o.user_agent_os_version &&
305
313
  user_ip == o.user_ip &&
314
+ visitor_number == o.visitor_number &&
306
315
  watched == o.watched
307
316
  end
308
317
 
@@ -315,7 +324,7 @@ module UltracartClient
315
324
  # Calculates hash code according to all attributes.
316
325
  # @return [Fixnum] Hash code
317
326
  def hash
318
- [email, email_identified, end_timestamp, esp_customer_uuid, favorite, geolocation, geolocation_country, geolocation_state, max_filter_values, order_id, page_view_count, page_views, placed_order, screen_recording_uuids, screen_sizes, skip_filter_values, skip_hits, start_timestamp, tags, time_on_site, user_agent_device_name, user_agent_name, user_agent_original, user_agent_os_name, user_agent_os_version, user_ip, watched].hash
327
+ [email, email_identified, end_timestamp, esp_customer_uuid, favorite, geolocation, geolocation_country, geolocation_state, max_filter_values, order_id, page_view_count, page_views, placed_order, screen_recording_uuids, screen_sizes, skip_filter_values, skip_hits, start_timestamp, tags, time_on_site, user_agent_device_name, user_agent_name, user_agent_original, user_agent_os_name, user_agent_os_version, user_ip, visitor_number, watched].hash
319
328
  end
320
329
 
321
330
  # Builds the object from hash
@@ -22,6 +22,8 @@ module UltracartClient
22
22
 
23
23
  attr_accessor :max_values
24
24
 
25
+ attr_accessor :page_params
26
+
25
27
  attr_accessor :urls
26
28
 
27
29
  attr_accessor :user_agent_device_names
@@ -41,6 +43,7 @@ module UltracartClient
41
43
  :'geolocation_countries' => :'geolocation_countries',
42
44
  :'geolocation_states' => :'geolocation_states',
43
45
  :'max_values' => :'max_values',
46
+ :'page_params' => :'page_params',
44
47
  :'urls' => :'urls',
45
48
  :'user_agent_device_names' => :'user_agent_device_names',
46
49
  :'user_agent_device_os_names' => :'user_agent_device_os_names',
@@ -57,6 +60,7 @@ module UltracartClient
57
60
  :'geolocation_countries' => :'Array<String>',
58
61
  :'geolocation_states' => :'Array<String>',
59
62
  :'max_values' => :'Integer',
63
+ :'page_params' => :'Array<ScreenRecordingFilterValuesPageParam>',
60
64
  :'urls' => :'Array<String>',
61
65
  :'user_agent_device_names' => :'Array<String>',
62
66
  :'user_agent_device_os_names' => :'Array<String>',
@@ -96,6 +100,12 @@ module UltracartClient
96
100
  self.max_values = attributes[:'max_values']
97
101
  end
98
102
 
103
+ if attributes.has_key?(:'page_params')
104
+ if (value = attributes[:'page_params']).is_a?(Array)
105
+ self.page_params = value
106
+ end
107
+ end
108
+
99
109
  if attributes.has_key?(:'urls')
100
110
  if (value = attributes[:'urls']).is_a?(Array)
101
111
  self.urls = value
@@ -155,6 +165,7 @@ module UltracartClient
155
165
  geolocation_countries == o.geolocation_countries &&
156
166
  geolocation_states == o.geolocation_states &&
157
167
  max_values == o.max_values &&
168
+ page_params == o.page_params &&
158
169
  urls == o.urls &&
159
170
  user_agent_device_names == o.user_agent_device_names &&
160
171
  user_agent_device_os_names == o.user_agent_device_os_names &&
@@ -172,7 +183,7 @@ module UltracartClient
172
183
  # Calculates hash code according to all attributes.
173
184
  # @return [Fixnum] Hash code
174
185
  def hash
175
- [events, geolocation_countries, geolocation_states, max_values, urls, user_agent_device_names, user_agent_device_os_names, user_agent_device_os_versions, user_agent_names, user_agent_originals].hash
186
+ [events, geolocation_countries, geolocation_states, max_values, page_params, urls, user_agent_device_names, user_agent_device_os_names, user_agent_device_os_versions, user_agent_names, user_agent_originals].hash
176
187
  end
177
188
 
178
189
  # Builds the object from hash
@@ -0,0 +1,195 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class ScreenRecordingFilterValuesPageParam
17
+ attr_accessor :name
18
+
19
+ attr_accessor :values
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'name' => :'name',
25
+ :'values' => :'values'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.swagger_types
31
+ {
32
+ :'name' => :'String',
33
+ :'values' => :'Array<String>'
34
+ }
35
+ end
36
+
37
+ # Initializes the object
38
+ # @param [Hash] attributes Model attributes in the form of hash
39
+ def initialize(attributes = {})
40
+ return unless attributes.is_a?(Hash)
41
+
42
+ # convert string to symbol for hash key
43
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
44
+
45
+ if attributes.has_key?(:'name')
46
+ self.name = attributes[:'name']
47
+ end
48
+
49
+ if attributes.has_key?(:'values')
50
+ if (value = attributes[:'values']).is_a?(Array)
51
+ self.values = value
52
+ end
53
+ end
54
+ end
55
+
56
+ # Show invalid properties with the reasons. Usually used together with valid?
57
+ # @return Array for valid properties with the reasons
58
+ def list_invalid_properties
59
+ invalid_properties = Array.new
60
+ invalid_properties
61
+ end
62
+
63
+ # Check to see if the all the properties in the model are valid
64
+ # @return true if the model is valid
65
+ def valid?
66
+ true
67
+ end
68
+
69
+ # Checks equality by comparing each attribute.
70
+ # @param [Object] Object to be compared
71
+ def ==(o)
72
+ return true if self.equal?(o)
73
+ self.class == o.class &&
74
+ name == o.name &&
75
+ values == o.values
76
+ end
77
+
78
+ # @see the `==` method
79
+ # @param [Object] Object to be compared
80
+ def eql?(o)
81
+ self == o
82
+ end
83
+
84
+ # Calculates hash code according to all attributes.
85
+ # @return [Fixnum] Hash code
86
+ def hash
87
+ [name, values].hash
88
+ end
89
+
90
+ # Builds the object from hash
91
+ # @param [Hash] attributes Model attributes in the form of hash
92
+ # @return [Object] Returns the model itself
93
+ def build_from_hash(attributes)
94
+ return nil unless attributes.is_a?(Hash)
95
+ self.class.swagger_types.each_pair do |key, type|
96
+ if type =~ /\AArray<(.*)>/i
97
+ # check to ensure the input is an array given that the attribute
98
+ # is documented as an array but the input is not
99
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
100
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
101
+ end
102
+ elsif !attributes[self.class.attribute_map[key]].nil?
103
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
104
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
105
+ end
106
+
107
+ self
108
+ end
109
+
110
+ # Deserializes the data based on type
111
+ # @param string type Data type
112
+ # @param string value Value to be deserialized
113
+ # @return [Object] Deserialized data
114
+ def _deserialize(type, value)
115
+ case type.to_sym
116
+ when :DateTime
117
+ DateTime.parse(value)
118
+ when :Date
119
+ Date.parse(value)
120
+ when :String
121
+ value.to_s
122
+ when :Integer
123
+ value.to_i
124
+ when :Float
125
+ value.to_f
126
+ when :BOOLEAN
127
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
128
+ true
129
+ else
130
+ false
131
+ end
132
+ when :Object
133
+ # generic object (usually a Hash), return directly
134
+ value
135
+ when /\AArray<(?<inner_type>.+)>\z/
136
+ inner_type = Regexp.last_match[:inner_type]
137
+ value.map { |v| _deserialize(inner_type, v) }
138
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
139
+ k_type = Regexp.last_match[:k_type]
140
+ v_type = Regexp.last_match[:v_type]
141
+ {}.tap do |hash|
142
+ value.each do |k, v|
143
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
144
+ end
145
+ end
146
+ else # model
147
+ temp_model = UltracartClient.const_get(type).new
148
+ temp_model.build_from_hash(value)
149
+ end
150
+ end
151
+
152
+ # Returns the string representation of the object
153
+ # @return [String] String presentation of the object
154
+ def to_s
155
+ to_hash.to_s
156
+ end
157
+
158
+ # to_body is an alias to to_hash (backward compatibility)
159
+ # @return [Hash] Returns the object in the form of hash
160
+ def to_body
161
+ to_hash
162
+ end
163
+
164
+ # Returns the object in the form of hash
165
+ # @return [Hash] Returns the object in the form of hash
166
+ def to_hash
167
+ hash = {}
168
+ self.class.attribute_map.each_pair do |attr, param|
169
+ value = self.send(attr)
170
+ next if value.nil?
171
+ hash[param] = _to_hash(value)
172
+ end
173
+ hash
174
+ end
175
+
176
+ # Outputs non-array value in the form of hash
177
+ # For object, use to_hash. Otherwise, just return the value
178
+ # @param [Object] value Any valid value
179
+ # @return [Hash] Returns the value in the form of hash
180
+ def _to_hash(value)
181
+ if value.is_a?(Array)
182
+ value.compact.map { |v| _to_hash(v) }
183
+ elsif value.is_a?(Hash)
184
+ {}.tap do |hash|
185
+ value.each { |k, v| hash[k] = _to_hash(v) }
186
+ end
187
+ elsif value.respond_to? :to_hash
188
+ value.to_hash
189
+ else
190
+ value
191
+ end
192
+ end
193
+
194
+ end
195
+ end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.1.11'
14
+ VERSION = '3.1.16'
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.1.11
4
+ version: 3.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-24 00:00:00.000000000 Z
11
+ date: 2021-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -694,6 +694,7 @@ files:
694
694
  - docs/ScreenRecordingFilterValues.md
695
695
  - docs/ScreenRecordingFilterValuesEvent.md
696
696
  - docs/ScreenRecordingFilterValuesEventParams.md
697
+ - docs/ScreenRecordingFilterValuesPageParam.md
697
698
  - docs/ScreenRecordingMerchantNotesRequest.md
698
699
  - docs/ScreenRecordingMultifield.md
699
700
  - docs/ScreenRecordingPageView.md
@@ -1280,6 +1281,7 @@ files:
1280
1281
  - lib/ultracart_api/models/screen_recording_filter_values.rb
1281
1282
  - lib/ultracart_api/models/screen_recording_filter_values_event.rb
1282
1283
  - lib/ultracart_api/models/screen_recording_filter_values_event_params.rb
1284
+ - lib/ultracart_api/models/screen_recording_filter_values_page_param.rb
1283
1285
  - lib/ultracart_api/models/screen_recording_merchant_notes_request.rb
1284
1286
  - lib/ultracart_api/models/screen_recording_multifield.rb
1285
1287
  - lib/ultracart_api/models/screen_recording_page_view.rb