ultracart_api 4.1.131 → 4.1.132
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/README.md +3 -2
- data/docs/CustomerActivity.md +4 -0
- data/docs/Metric.md +0 -4
- data/lib/ultracart_api/models/customer_activity.rb +19 -1
- data/lib/ultracart_api/models/metric.rb +1 -19
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2dd2128c0061006c16a933ab6ec14a5ddcb40919687b6b9418ee35123965bff3
|
|
4
|
+
data.tar.gz: f6803ddfe9de2735e88b706ccbdfd22132ba437f641b17a95b556cc03985d009
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3a15d16faff5f75b495e173321f3cb1c6f3bb24b6836142e4813846007039c430f6662155b0c405809c89c6dc9ace8f71f0ab0b6decb26a72d60abad40d2a59
|
|
7
|
+
data.tar.gz: b76801b3dab3fa8b2fbef15e1a6eafe6f96ecae654a126de36db96c5ee4edfa389a4cb1958f4f73cd330a564b30525246d36016861ef65d49315b9c2f4d58e6b
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
|
|
|
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.1.
|
|
10
|
+
- Package version: 4.1.132
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
- For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
|
16
16
|
gemfile:
|
|
17
17
|
|
|
18
18
|
```shell
|
|
19
|
-
gem 'ultracart_api', '4.1.
|
|
19
|
+
gem 'ultracart_api', '4.1.132'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -1836,6 +1836,7 @@ Not every change is committed to every SDK.
|
|
|
1836
1836
|
|
|
1837
1837
|
| Version | Date | Comments |
|
|
1838
1838
|
| --: | :-: | --- |
|
|
1839
|
+
| 4.1.132 | 08/18/2026 | customer activity bug fix |
|
|
1839
1840
|
| 4.1.131 | 08/18/2026 | customer activity now returns the SF communications active flag and last_activity_dts |
|
|
1840
1841
|
| 4.1.130 | 08/17/2026 | order api - new method to obtain customer activity similar to the customer endpoint for a profile |
|
|
1841
1842
|
| 4.1.129 | 08/13/2026 | ChannelPartnerOrder and OrderChannelPartner were missing a property |
|
data/docs/CustomerActivity.md
CHANGED
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **active** | **Boolean** | | [optional] |
|
|
7
8
|
| **activities** | [**Array<Activity>**](Activity.md) | | [optional] |
|
|
8
9
|
| **global_unsubscribed** | **Boolean** | | [optional] |
|
|
9
10
|
| **global_unsubscribed_dts** | **String** | | [optional] |
|
|
11
|
+
| **last_activity_dts** | **String** | | [optional] |
|
|
10
12
|
| **memberships** | [**Array<ListSegmentMembership>**](ListSegmentMembership.md) | | [optional] |
|
|
11
13
|
| **metrics** | [**Array<Metric>**](Metric.md) | | [optional] |
|
|
12
14
|
| **properties_list** | [**Array<Property>**](Property.md) | | [optional] |
|
|
@@ -21,9 +23,11 @@
|
|
|
21
23
|
require 'ultracart_api'
|
|
22
24
|
|
|
23
25
|
instance = UltracartClient::CustomerActivity.new(
|
|
26
|
+
active: null,
|
|
24
27
|
activities: null,
|
|
25
28
|
global_unsubscribed: null,
|
|
26
29
|
global_unsubscribed_dts: null,
|
|
30
|
+
last_activity_dts: null,
|
|
27
31
|
memberships: null,
|
|
28
32
|
metrics: null,
|
|
29
33
|
properties_list: null,
|
data/docs/Metric.md
CHANGED
|
@@ -4,12 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **active** | **Boolean** | | [optional] |
|
|
8
7
|
| **all_time** | **Float** | | [optional] |
|
|
9
8
|
| **all_time_formatted** | **String** | | [optional] |
|
|
10
9
|
| **last_30** | **Float** | | [optional] |
|
|
11
10
|
| **last_30_formatted** | **String** | | [optional] |
|
|
12
|
-
| **last_activity_dts** | **String** | | [optional] |
|
|
13
11
|
| **name** | **String** | | [optional] |
|
|
14
12
|
| **prior_30** | **Float** | | [optional] |
|
|
15
13
|
| **prior_30_formatted** | **String** | | [optional] |
|
|
@@ -21,12 +19,10 @@
|
|
|
21
19
|
require 'ultracart_api'
|
|
22
20
|
|
|
23
21
|
instance = UltracartClient::Metric.new(
|
|
24
|
-
active: null,
|
|
25
22
|
all_time: null,
|
|
26
23
|
all_time_formatted: null,
|
|
27
24
|
last_30: null,
|
|
28
25
|
last_30_formatted: null,
|
|
29
|
-
last_activity_dts: null,
|
|
30
26
|
name: null,
|
|
31
27
|
prior_30: null,
|
|
32
28
|
prior_30_formatted: null,
|
|
@@ -15,12 +15,16 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module UltracartClient
|
|
17
17
|
class CustomerActivity
|
|
18
|
+
attr_accessor :active
|
|
19
|
+
|
|
18
20
|
attr_accessor :activities
|
|
19
21
|
|
|
20
22
|
attr_accessor :global_unsubscribed
|
|
21
23
|
|
|
22
24
|
attr_accessor :global_unsubscribed_dts
|
|
23
25
|
|
|
26
|
+
attr_accessor :last_activity_dts
|
|
27
|
+
|
|
24
28
|
attr_accessor :memberships
|
|
25
29
|
|
|
26
30
|
attr_accessor :metrics
|
|
@@ -38,9 +42,11 @@ module UltracartClient
|
|
|
38
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
39
43
|
def self.attribute_map
|
|
40
44
|
{
|
|
45
|
+
:'active' => :'active',
|
|
41
46
|
:'activities' => :'activities',
|
|
42
47
|
:'global_unsubscribed' => :'global_unsubscribed',
|
|
43
48
|
:'global_unsubscribed_dts' => :'global_unsubscribed_dts',
|
|
49
|
+
:'last_activity_dts' => :'last_activity_dts',
|
|
44
50
|
:'memberships' => :'memberships',
|
|
45
51
|
:'metrics' => :'metrics',
|
|
46
52
|
:'properties_list' => :'properties_list',
|
|
@@ -59,9 +65,11 @@ module UltracartClient
|
|
|
59
65
|
# Attribute type mapping.
|
|
60
66
|
def self.openapi_types
|
|
61
67
|
{
|
|
68
|
+
:'active' => :'Boolean',
|
|
62
69
|
:'activities' => :'Array<Activity>',
|
|
63
70
|
:'global_unsubscribed' => :'Boolean',
|
|
64
71
|
:'global_unsubscribed_dts' => :'String',
|
|
72
|
+
:'last_activity_dts' => :'String',
|
|
65
73
|
:'memberships' => :'Array<ListSegmentMembership>',
|
|
66
74
|
:'metrics' => :'Array<Metric>',
|
|
67
75
|
:'properties_list' => :'Array<Property>',
|
|
@@ -93,6 +101,10 @@ module UltracartClient
|
|
|
93
101
|
h[k.to_sym] = v
|
|
94
102
|
}
|
|
95
103
|
|
|
104
|
+
if attributes.key?(:'active')
|
|
105
|
+
self.active = attributes[:'active']
|
|
106
|
+
end
|
|
107
|
+
|
|
96
108
|
if attributes.key?(:'activities')
|
|
97
109
|
if (value = attributes[:'activities']).is_a?(Array)
|
|
98
110
|
self.activities = value
|
|
@@ -107,6 +119,10 @@ module UltracartClient
|
|
|
107
119
|
self.global_unsubscribed_dts = attributes[:'global_unsubscribed_dts']
|
|
108
120
|
end
|
|
109
121
|
|
|
122
|
+
if attributes.key?(:'last_activity_dts')
|
|
123
|
+
self.last_activity_dts = attributes[:'last_activity_dts']
|
|
124
|
+
end
|
|
125
|
+
|
|
110
126
|
if attributes.key?(:'memberships')
|
|
111
127
|
if (value = attributes[:'memberships']).is_a?(Array)
|
|
112
128
|
self.memberships = value
|
|
@@ -160,9 +176,11 @@ module UltracartClient
|
|
|
160
176
|
def ==(o)
|
|
161
177
|
return true if self.equal?(o)
|
|
162
178
|
self.class == o.class &&
|
|
179
|
+
active == o.active &&
|
|
163
180
|
activities == o.activities &&
|
|
164
181
|
global_unsubscribed == o.global_unsubscribed &&
|
|
165
182
|
global_unsubscribed_dts == o.global_unsubscribed_dts &&
|
|
183
|
+
last_activity_dts == o.last_activity_dts &&
|
|
166
184
|
memberships == o.memberships &&
|
|
167
185
|
metrics == o.metrics &&
|
|
168
186
|
properties_list == o.properties_list &&
|
|
@@ -181,7 +199,7 @@ module UltracartClient
|
|
|
181
199
|
# Calculates hash code according to all attributes.
|
|
182
200
|
# @return [Integer] Hash code
|
|
183
201
|
def hash
|
|
184
|
-
[activities, global_unsubscribed, global_unsubscribed_dts, memberships, metrics, properties_list, sms, sms_stop, spam_complaint, spam_complaint_dts].hash
|
|
202
|
+
[active, activities, global_unsubscribed, global_unsubscribed_dts, last_activity_dts, memberships, metrics, properties_list, sms, sms_stop, spam_complaint, spam_complaint_dts].hash
|
|
185
203
|
end
|
|
186
204
|
|
|
187
205
|
# Builds the object from hash
|
|
@@ -15,8 +15,6 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module UltracartClient
|
|
17
17
|
class Metric
|
|
18
|
-
attr_accessor :active
|
|
19
|
-
|
|
20
18
|
attr_accessor :all_time
|
|
21
19
|
|
|
22
20
|
attr_accessor :all_time_formatted
|
|
@@ -25,8 +23,6 @@ module UltracartClient
|
|
|
25
23
|
|
|
26
24
|
attr_accessor :last_30_formatted
|
|
27
25
|
|
|
28
|
-
attr_accessor :last_activity_dts
|
|
29
|
-
|
|
30
26
|
attr_accessor :name
|
|
31
27
|
|
|
32
28
|
attr_accessor :prior_30
|
|
@@ -38,12 +34,10 @@ module UltracartClient
|
|
|
38
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
39
35
|
def self.attribute_map
|
|
40
36
|
{
|
|
41
|
-
:'active' => :'active',
|
|
42
37
|
:'all_time' => :'all_time',
|
|
43
38
|
:'all_time_formatted' => :'all_time_formatted',
|
|
44
39
|
:'last_30' => :'last_30',
|
|
45
40
|
:'last_30_formatted' => :'last_30_formatted',
|
|
46
|
-
:'last_activity_dts' => :'last_activity_dts',
|
|
47
41
|
:'name' => :'name',
|
|
48
42
|
:'prior_30' => :'prior_30',
|
|
49
43
|
:'prior_30_formatted' => :'prior_30_formatted',
|
|
@@ -59,12 +53,10 @@ module UltracartClient
|
|
|
59
53
|
# Attribute type mapping.
|
|
60
54
|
def self.openapi_types
|
|
61
55
|
{
|
|
62
|
-
:'active' => :'Boolean',
|
|
63
56
|
:'all_time' => :'Float',
|
|
64
57
|
:'all_time_formatted' => :'String',
|
|
65
58
|
:'last_30' => :'Float',
|
|
66
59
|
:'last_30_formatted' => :'String',
|
|
67
|
-
:'last_activity_dts' => :'String',
|
|
68
60
|
:'name' => :'String',
|
|
69
61
|
:'prior_30' => :'Float',
|
|
70
62
|
:'prior_30_formatted' => :'String',
|
|
@@ -93,10 +85,6 @@ module UltracartClient
|
|
|
93
85
|
h[k.to_sym] = v
|
|
94
86
|
}
|
|
95
87
|
|
|
96
|
-
if attributes.key?(:'active')
|
|
97
|
-
self.active = attributes[:'active']
|
|
98
|
-
end
|
|
99
|
-
|
|
100
88
|
if attributes.key?(:'all_time')
|
|
101
89
|
self.all_time = attributes[:'all_time']
|
|
102
90
|
end
|
|
@@ -113,10 +101,6 @@ module UltracartClient
|
|
|
113
101
|
self.last_30_formatted = attributes[:'last_30_formatted']
|
|
114
102
|
end
|
|
115
103
|
|
|
116
|
-
if attributes.key?(:'last_activity_dts')
|
|
117
|
-
self.last_activity_dts = attributes[:'last_activity_dts']
|
|
118
|
-
end
|
|
119
|
-
|
|
120
104
|
if attributes.key?(:'name')
|
|
121
105
|
self.name = attributes[:'name']
|
|
122
106
|
end
|
|
@@ -152,12 +136,10 @@ module UltracartClient
|
|
|
152
136
|
def ==(o)
|
|
153
137
|
return true if self.equal?(o)
|
|
154
138
|
self.class == o.class &&
|
|
155
|
-
active == o.active &&
|
|
156
139
|
all_time == o.all_time &&
|
|
157
140
|
all_time_formatted == o.all_time_formatted &&
|
|
158
141
|
last_30 == o.last_30 &&
|
|
159
142
|
last_30_formatted == o.last_30_formatted &&
|
|
160
|
-
last_activity_dts == o.last_activity_dts &&
|
|
161
143
|
name == o.name &&
|
|
162
144
|
prior_30 == o.prior_30 &&
|
|
163
145
|
prior_30_formatted == o.prior_30_formatted &&
|
|
@@ -173,7 +155,7 @@ module UltracartClient
|
|
|
173
155
|
# Calculates hash code according to all attributes.
|
|
174
156
|
# @return [Integer] Hash code
|
|
175
157
|
def hash
|
|
176
|
-
[
|
|
158
|
+
[all_time, all_time_formatted, last_30, last_30_formatted, name, prior_30, prior_30_formatted, type].hash
|
|
177
159
|
end
|
|
178
160
|
|
|
179
161
|
# Builds the object from hash
|