ultracart_api 3.1.49 → 3.2.9
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 +4 -4
- data/LICENSE +201 -201
- data/README.md +17 -7
- data/docs/AutoOrderQuery.md +3 -1
- data/docs/CustomerApi.md +92 -92
- data/docs/IntegrationLog.md +4 -1
- data/docs/IntegrationLogApi.md +57 -0
- data/docs/IntegrationLogFile.md +1 -0
- data/docs/IntegrationLogQueryFilterValues.md +3 -0
- data/docs/IntegrationLogQueryRequest.md +1 -0
- data/docs/LibraryItemAttribute.md +0 -1
- data/docs/ScreenRecordingSettings.md +2 -0
- data/docs/StorefrontApi.md +52 -52
- data/lib/ultracart_api/api/customer_api.rb +98 -98
- data/lib/ultracart_api/api/integration_log_api.rb +67 -0
- data/lib/ultracart_api/api/storefront_api.rb +52 -52
- data/lib/ultracart_api/models/auto_order_query.rb +22 -2
- data/lib/ultracart_api/models/integration_log.rb +32 -4
- data/lib/ultracart_api/models/integration_log_file.rb +10 -1
- data/lib/ultracart_api/models/integration_log_query_filter_values.rb +32 -1
- data/lib/ultracart_api/models/integration_log_query_request.rb +10 -1
- data/lib/ultracart_api/models/library_item_attribute.rb +1 -10
- data/lib/ultracart_api/models/screen_recording_settings.rb +21 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
@@ -28,14 +28,19 @@ module UltracartClient
|
|
28
28
|
|
29
29
|
attr_accessor :item_ipn_oid
|
30
30
|
|
31
|
+
# Date/time the integration log was created
|
31
32
|
attr_accessor :log_dts
|
32
33
|
|
33
34
|
attr_accessor :log_type
|
34
35
|
|
35
36
|
attr_accessor :logger_id
|
36
37
|
|
38
|
+
attr_accessor :logger_name
|
39
|
+
|
37
40
|
attr_accessor :logs
|
38
41
|
|
42
|
+
attr_accessor :omit_log_map
|
43
|
+
|
39
44
|
attr_accessor :order_ids
|
40
45
|
|
41
46
|
attr_accessor :pk
|
@@ -44,6 +49,8 @@ module UltracartClient
|
|
44
49
|
|
45
50
|
attr_accessor :status
|
46
51
|
|
52
|
+
attr_accessor :status_code
|
53
|
+
|
47
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
55
|
def self.attribute_map
|
49
56
|
{
|
@@ -57,11 +64,14 @@ module UltracartClient
|
|
57
64
|
:'log_dts' => :'log_dts',
|
58
65
|
:'log_type' => :'log_type',
|
59
66
|
:'logger_id' => :'logger_id',
|
67
|
+
:'logger_name' => :'logger_name',
|
60
68
|
:'logs' => :'logs',
|
69
|
+
:'omit_log_map' => :'omit_log_map',
|
61
70
|
:'order_ids' => :'order_ids',
|
62
71
|
:'pk' => :'pk',
|
63
72
|
:'sk' => :'sk',
|
64
|
-
:'status' => :'status'
|
73
|
+
:'status' => :'status',
|
74
|
+
:'status_code' => :'status_code'
|
65
75
|
}
|
66
76
|
end
|
67
77
|
|
@@ -78,11 +88,14 @@ module UltracartClient
|
|
78
88
|
:'log_dts' => :'String',
|
79
89
|
:'log_type' => :'String',
|
80
90
|
:'logger_id' => :'String',
|
91
|
+
:'logger_name' => :'String',
|
81
92
|
:'logs' => :'Array<IntegrationLogLog>',
|
93
|
+
:'omit_log_map' => :'BOOLEAN',
|
82
94
|
:'order_ids' => :'Array<String>',
|
83
95
|
:'pk' => :'String',
|
84
96
|
:'sk' => :'String',
|
85
|
-
:'status' => :'String'
|
97
|
+
:'status' => :'String',
|
98
|
+
:'status_code' => :'Integer'
|
86
99
|
}
|
87
100
|
end
|
88
101
|
|
@@ -136,12 +149,20 @@ module UltracartClient
|
|
136
149
|
self.logger_id = attributes[:'logger_id']
|
137
150
|
end
|
138
151
|
|
152
|
+
if attributes.has_key?(:'logger_name')
|
153
|
+
self.logger_name = attributes[:'logger_name']
|
154
|
+
end
|
155
|
+
|
139
156
|
if attributes.has_key?(:'logs')
|
140
157
|
if (value = attributes[:'logs']).is_a?(Array)
|
141
158
|
self.logs = value
|
142
159
|
end
|
143
160
|
end
|
144
161
|
|
162
|
+
if attributes.has_key?(:'omit_log_map')
|
163
|
+
self.omit_log_map = attributes[:'omit_log_map']
|
164
|
+
end
|
165
|
+
|
145
166
|
if attributes.has_key?(:'order_ids')
|
146
167
|
if (value = attributes[:'order_ids']).is_a?(Array)
|
147
168
|
self.order_ids = value
|
@@ -159,6 +180,10 @@ module UltracartClient
|
|
159
180
|
if attributes.has_key?(:'status')
|
160
181
|
self.status = attributes[:'status']
|
161
182
|
end
|
183
|
+
|
184
|
+
if attributes.has_key?(:'status_code')
|
185
|
+
self.status_code = attributes[:'status_code']
|
186
|
+
end
|
162
187
|
end
|
163
188
|
|
164
189
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -189,11 +214,14 @@ module UltracartClient
|
|
189
214
|
log_dts == o.log_dts &&
|
190
215
|
log_type == o.log_type &&
|
191
216
|
logger_id == o.logger_id &&
|
217
|
+
logger_name == o.logger_name &&
|
192
218
|
logs == o.logs &&
|
219
|
+
omit_log_map == o.omit_log_map &&
|
193
220
|
order_ids == o.order_ids &&
|
194
221
|
pk == o.pk &&
|
195
222
|
sk == o.sk &&
|
196
|
-
status == o.status
|
223
|
+
status == o.status &&
|
224
|
+
status_code == o.status_code
|
197
225
|
end
|
198
226
|
|
199
227
|
# @see the `==` method
|
@@ -205,7 +233,7 @@ module UltracartClient
|
|
205
233
|
# Calculates hash code according to all attributes.
|
206
234
|
# @return [Fixnum] Hash code
|
207
235
|
def hash
|
208
|
-
[action, direction, email, files, integration_log_oid, item_id, item_ipn_oid, log_dts, log_type, logger_id, logs, order_ids, pk, sk, status].hash
|
236
|
+
[action, direction, email, files, integration_log_oid, item_id, item_ipn_oid, log_dts, log_type, logger_id, logger_name, logs, omit_log_map, order_ids, pk, sk, status, status_code].hash
|
209
237
|
end
|
210
238
|
|
211
239
|
# Builds the object from hash
|
@@ -14,6 +14,8 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class IntegrationLogFile
|
17
|
+
attr_accessor :mime_type
|
18
|
+
|
17
19
|
attr_accessor :name
|
18
20
|
|
19
21
|
attr_accessor :size
|
@@ -23,6 +25,7 @@ module UltracartClient
|
|
23
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
26
|
def self.attribute_map
|
25
27
|
{
|
28
|
+
:'mime_type' => :'mime_type',
|
26
29
|
:'name' => :'name',
|
27
30
|
:'size' => :'size',
|
28
31
|
:'uuid' => :'uuid'
|
@@ -32,6 +35,7 @@ module UltracartClient
|
|
32
35
|
# Attribute type mapping.
|
33
36
|
def self.swagger_types
|
34
37
|
{
|
38
|
+
:'mime_type' => :'String',
|
35
39
|
:'name' => :'String',
|
36
40
|
:'size' => :'Integer',
|
37
41
|
:'uuid' => :'String'
|
@@ -46,6 +50,10 @@ module UltracartClient
|
|
46
50
|
# convert string to symbol for hash key
|
47
51
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
48
52
|
|
53
|
+
if attributes.has_key?(:'mime_type')
|
54
|
+
self.mime_type = attributes[:'mime_type']
|
55
|
+
end
|
56
|
+
|
49
57
|
if attributes.has_key?(:'name')
|
50
58
|
self.name = attributes[:'name']
|
51
59
|
end
|
@@ -77,6 +85,7 @@ module UltracartClient
|
|
77
85
|
def ==(o)
|
78
86
|
return true if self.equal?(o)
|
79
87
|
self.class == o.class &&
|
88
|
+
mime_type == o.mime_type &&
|
80
89
|
name == o.name &&
|
81
90
|
size == o.size &&
|
82
91
|
uuid == o.uuid
|
@@ -91,7 +100,7 @@ module UltracartClient
|
|
91
100
|
# Calculates hash code according to all attributes.
|
92
101
|
# @return [Fixnum] Hash code
|
93
102
|
def hash
|
94
|
-
[name, size, uuid].hash
|
103
|
+
[mime_type, name, size, uuid].hash
|
95
104
|
end
|
96
105
|
|
97
106
|
# Builds the object from hash
|
@@ -26,8 +26,16 @@ module UltracartClient
|
|
26
26
|
|
27
27
|
attr_accessor :item_ipn_oids
|
28
28
|
|
29
|
+
# Maximum date/time log date/time
|
30
|
+
attr_accessor :log_dts_max
|
31
|
+
|
32
|
+
# Minimum date/time log date/time
|
33
|
+
attr_accessor :log_dts_min
|
34
|
+
|
29
35
|
attr_accessor :log_types
|
30
36
|
|
37
|
+
attr_accessor :logger_names
|
38
|
+
|
31
39
|
attr_accessor :order_ids
|
32
40
|
|
33
41
|
attr_accessor :statuses
|
@@ -41,7 +49,10 @@ module UltracartClient
|
|
41
49
|
:'file_names' => :'file_names',
|
42
50
|
:'item_ids' => :'item_ids',
|
43
51
|
:'item_ipn_oids' => :'item_ipn_oids',
|
52
|
+
:'log_dts_max' => :'log_dts_max',
|
53
|
+
:'log_dts_min' => :'log_dts_min',
|
44
54
|
:'log_types' => :'log_types',
|
55
|
+
:'logger_names' => :'logger_names',
|
45
56
|
:'order_ids' => :'order_ids',
|
46
57
|
:'statuses' => :'statuses'
|
47
58
|
}
|
@@ -56,7 +67,10 @@ module UltracartClient
|
|
56
67
|
:'file_names' => :'Array<String>',
|
57
68
|
:'item_ids' => :'Array<String>',
|
58
69
|
:'item_ipn_oids' => :'Array<Integer>',
|
70
|
+
:'log_dts_max' => :'String',
|
71
|
+
:'log_dts_min' => :'String',
|
59
72
|
:'log_types' => :'Array<String>',
|
73
|
+
:'logger_names' => :'Array<String>',
|
60
74
|
:'order_ids' => :'Array<String>',
|
61
75
|
:'statuses' => :'Array<String>'
|
62
76
|
}
|
@@ -106,12 +120,26 @@ module UltracartClient
|
|
106
120
|
end
|
107
121
|
end
|
108
122
|
|
123
|
+
if attributes.has_key?(:'log_dts_max')
|
124
|
+
self.log_dts_max = attributes[:'log_dts_max']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes.has_key?(:'log_dts_min')
|
128
|
+
self.log_dts_min = attributes[:'log_dts_min']
|
129
|
+
end
|
130
|
+
|
109
131
|
if attributes.has_key?(:'log_types')
|
110
132
|
if (value = attributes[:'log_types']).is_a?(Array)
|
111
133
|
self.log_types = value
|
112
134
|
end
|
113
135
|
end
|
114
136
|
|
137
|
+
if attributes.has_key?(:'logger_names')
|
138
|
+
if (value = attributes[:'logger_names']).is_a?(Array)
|
139
|
+
self.logger_names = value
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
115
143
|
if attributes.has_key?(:'order_ids')
|
116
144
|
if (value = attributes[:'order_ids']).is_a?(Array)
|
117
145
|
self.order_ids = value
|
@@ -149,7 +177,10 @@ module UltracartClient
|
|
149
177
|
file_names == o.file_names &&
|
150
178
|
item_ids == o.item_ids &&
|
151
179
|
item_ipn_oids == o.item_ipn_oids &&
|
180
|
+
log_dts_max == o.log_dts_max &&
|
181
|
+
log_dts_min == o.log_dts_min &&
|
152
182
|
log_types == o.log_types &&
|
183
|
+
logger_names == o.logger_names &&
|
153
184
|
order_ids == o.order_ids &&
|
154
185
|
statuses == o.statuses
|
155
186
|
end
|
@@ -163,7 +194,7 @@ module UltracartClient
|
|
163
194
|
# Calculates hash code according to all attributes.
|
164
195
|
# @return [Fixnum] Hash code
|
165
196
|
def hash
|
166
|
-
[actions, directions, emails, file_names, item_ids, item_ipn_oids, log_types, order_ids, statuses].hash
|
197
|
+
[actions, directions, emails, file_names, item_ids, item_ipn_oids, log_dts_max, log_dts_min, log_types, logger_names, order_ids, statuses].hash
|
167
198
|
end
|
168
199
|
|
169
200
|
# Builds the object from hash
|
@@ -36,6 +36,8 @@ module UltracartClient
|
|
36
36
|
|
37
37
|
attr_accessor :logger_id
|
38
38
|
|
39
|
+
attr_accessor :logger_name
|
40
|
+
|
39
41
|
attr_accessor :order_ids
|
40
42
|
|
41
43
|
attr_accessor :status
|
@@ -53,6 +55,7 @@ module UltracartClient
|
|
53
55
|
:'log_dts_end' => :'log_dts_end',
|
54
56
|
:'log_type' => :'log_type',
|
55
57
|
:'logger_id' => :'logger_id',
|
58
|
+
:'logger_name' => :'logger_name',
|
56
59
|
:'order_ids' => :'order_ids',
|
57
60
|
:'status' => :'status'
|
58
61
|
}
|
@@ -71,6 +74,7 @@ module UltracartClient
|
|
71
74
|
:'log_dts_end' => :'String',
|
72
75
|
:'log_type' => :'String',
|
73
76
|
:'logger_id' => :'String',
|
77
|
+
:'logger_name' => :'String',
|
74
78
|
:'order_ids' => :'Array<String>',
|
75
79
|
:'status' => :'String'
|
76
80
|
}
|
@@ -126,6 +130,10 @@ module UltracartClient
|
|
126
130
|
self.logger_id = attributes[:'logger_id']
|
127
131
|
end
|
128
132
|
|
133
|
+
if attributes.has_key?(:'logger_name')
|
134
|
+
self.logger_name = attributes[:'logger_name']
|
135
|
+
end
|
136
|
+
|
129
137
|
if attributes.has_key?(:'order_ids')
|
130
138
|
if (value = attributes[:'order_ids']).is_a?(Array)
|
131
139
|
self.order_ids = value
|
@@ -165,6 +173,7 @@ module UltracartClient
|
|
165
173
|
log_dts_end == o.log_dts_end &&
|
166
174
|
log_type == o.log_type &&
|
167
175
|
logger_id == o.logger_id &&
|
176
|
+
logger_name == o.logger_name &&
|
168
177
|
order_ids == o.order_ids &&
|
169
178
|
status == o.status
|
170
179
|
end
|
@@ -178,7 +187,7 @@ module UltracartClient
|
|
178
187
|
# Calculates hash code according to all attributes.
|
179
188
|
# @return [Fixnum] Hash code
|
180
189
|
def hash
|
181
|
-
[action, direction, email, file_names, item_id, item_ipn_oid, log_dts_begin, log_dts_end, log_type, logger_id, order_ids, status].hash
|
190
|
+
[action, direction, email, file_names, item_id, item_ipn_oid, log_dts_begin, log_dts_end, log_type, logger_id, logger_name, order_ids, status].hash
|
182
191
|
end
|
183
192
|
|
184
193
|
# Builds the object from hash
|
@@ -14,8 +14,6 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class LibraryItemAttribute
|
17
|
-
attr_accessor :library_item_oid
|
18
|
-
|
19
17
|
attr_accessor :name
|
20
18
|
|
21
19
|
attr_accessor :value
|
@@ -23,7 +21,6 @@ module UltracartClient
|
|
23
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
22
|
def self.attribute_map
|
25
23
|
{
|
26
|
-
:'library_item_oid' => :'libraryItemOid',
|
27
24
|
:'name' => :'name',
|
28
25
|
:'value' => :'value'
|
29
26
|
}
|
@@ -32,7 +29,6 @@ module UltracartClient
|
|
32
29
|
# Attribute type mapping.
|
33
30
|
def self.swagger_types
|
34
31
|
{
|
35
|
-
:'library_item_oid' => :'Integer',
|
36
32
|
:'name' => :'String',
|
37
33
|
:'value' => :'String'
|
38
34
|
}
|
@@ -46,10 +42,6 @@ module UltracartClient
|
|
46
42
|
# convert string to symbol for hash key
|
47
43
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
48
44
|
|
49
|
-
if attributes.has_key?(:'libraryItemOid')
|
50
|
-
self.library_item_oid = attributes[:'libraryItemOid']
|
51
|
-
end
|
52
|
-
|
53
45
|
if attributes.has_key?(:'name')
|
54
46
|
self.name = attributes[:'name']
|
55
47
|
end
|
@@ -77,7 +69,6 @@ module UltracartClient
|
|
77
69
|
def ==(o)
|
78
70
|
return true if self.equal?(o)
|
79
71
|
self.class == o.class &&
|
80
|
-
library_item_oid == o.library_item_oid &&
|
81
72
|
name == o.name &&
|
82
73
|
value == o.value
|
83
74
|
end
|
@@ -91,7 +82,7 @@ module UltracartClient
|
|
91
82
|
# Calculates hash code according to all attributes.
|
92
83
|
# @return [Fixnum] Hash code
|
93
84
|
def hash
|
94
|
-
[
|
85
|
+
[name, value].hash
|
95
86
|
end
|
96
87
|
|
97
88
|
# Builds the object from hash
|
@@ -14,8 +14,14 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ScreenRecordingSettings
|
17
|
+
# Cost per one thousand sessions
|
18
|
+
attr_accessor :cost_per_thousand
|
19
|
+
|
17
20
|
attr_accessor :enabled
|
18
21
|
|
22
|
+
# How long screen recording data is retained
|
23
|
+
attr_accessor :retention_interval
|
24
|
+
|
19
25
|
attr_accessor :sessions_current_billing_period
|
20
26
|
|
21
27
|
attr_accessor :sessions_last_billing_period
|
@@ -29,7 +35,9 @@ module UltracartClient
|
|
29
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
36
|
def self.attribute_map
|
31
37
|
{
|
38
|
+
:'cost_per_thousand' => :'cost_per_thousand',
|
32
39
|
:'enabled' => :'enabled',
|
40
|
+
:'retention_interval' => :'retention_interval',
|
33
41
|
:'sessions_current_billing_period' => :'sessions_current_billing_period',
|
34
42
|
:'sessions_last_billing_period' => :'sessions_last_billing_period',
|
35
43
|
:'sessions_trial_billing_period' => :'sessions_trial_billing_period',
|
@@ -41,7 +49,9 @@ module UltracartClient
|
|
41
49
|
# Attribute type mapping.
|
42
50
|
def self.swagger_types
|
43
51
|
{
|
52
|
+
:'cost_per_thousand' => :'Float',
|
44
53
|
:'enabled' => :'BOOLEAN',
|
54
|
+
:'retention_interval' => :'String',
|
45
55
|
:'sessions_current_billing_period' => :'Integer',
|
46
56
|
:'sessions_last_billing_period' => :'Integer',
|
47
57
|
:'sessions_trial_billing_period' => :'Integer',
|
@@ -58,10 +68,18 @@ module UltracartClient
|
|
58
68
|
# convert string to symbol for hash key
|
59
69
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
60
70
|
|
71
|
+
if attributes.has_key?(:'cost_per_thousand')
|
72
|
+
self.cost_per_thousand = attributes[:'cost_per_thousand']
|
73
|
+
end
|
74
|
+
|
61
75
|
if attributes.has_key?(:'enabled')
|
62
76
|
self.enabled = attributes[:'enabled']
|
63
77
|
end
|
64
78
|
|
79
|
+
if attributes.has_key?(:'retention_interval')
|
80
|
+
self.retention_interval = attributes[:'retention_interval']
|
81
|
+
end
|
82
|
+
|
65
83
|
if attributes.has_key?(:'sessions_current_billing_period')
|
66
84
|
self.sessions_current_billing_period = attributes[:'sessions_current_billing_period']
|
67
85
|
end
|
@@ -101,7 +119,9 @@ module UltracartClient
|
|
101
119
|
def ==(o)
|
102
120
|
return true if self.equal?(o)
|
103
121
|
self.class == o.class &&
|
122
|
+
cost_per_thousand == o.cost_per_thousand &&
|
104
123
|
enabled == o.enabled &&
|
124
|
+
retention_interval == o.retention_interval &&
|
105
125
|
sessions_current_billing_period == o.sessions_current_billing_period &&
|
106
126
|
sessions_last_billing_period == o.sessions_last_billing_period &&
|
107
127
|
sessions_trial_billing_period == o.sessions_trial_billing_period &&
|
@@ -118,7 +138,7 @@ module UltracartClient
|
|
118
138
|
# Calculates hash code according to all attributes.
|
119
139
|
# @return [Fixnum] Hash code
|
120
140
|
def hash
|
121
|
-
[enabled, sessions_current_billing_period, sessions_last_billing_period, sessions_trial_billing_period, trial_expiration, trial_expired].hash
|
141
|
+
[cost_per_thousand, enabled, retention_interval, sessions_current_billing_period, sessions_last_billing_period, sessions_trial_billing_period, trial_expiration, trial_expired].hash
|
122
142
|
end
|
123
143
|
|
124
144
|
# Builds the object from hash
|
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.
|
4
|
+
version: 3.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|