ultracart_api 3.1.15 → 3.1.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/ScreenRecordingFilterValues.md +1 -0
- data/docs/ScreenRecordingFilterValuesPageParam.md +9 -0
- data/lib/ultracart_api.rb +1 -0
- data/lib/ultracart_api/models/screen_recording_filter_values.rb +12 -1
- data/lib/ultracart_api/models/screen_recording_filter_values_page_param.rb +195 -0
- data/lib/ultracart_api/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e1dca094efb67d0bac4bb8b5cf7981f9e79a839d7981692ebfe6861958f5f22
|
4
|
+
data.tar.gz: 80635a0be6fee0613757361dabfee9eb3f5101ff2789efdc7f0619b237c35c19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
27
|
+
gem install ./ultracart_api-3.1.16.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.1.
|
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.
|
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,7 @@ 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 |
|
1009
1011
|
| 3.1.15 | 03/15/2021 | fix response from deleteScreenRecordingSegment that should have been void |
|
1010
1012
|
| 3.1.14 | 03/15/2021 | sort screen recordings by favorite flag |
|
1011
1013
|
| 3.1.13 | 03/02/2021 | new webhook order_payment_failed |
|
@@ -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
|
+
|
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'
|
@@ -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
|
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.
|
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-03-
|
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
|