ultracart_api 3.9.3 → 3.9.4
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 +5 -4
- data/docs/CustomerLoyalty.md +2 -0
- data/docs/EmailDomain.md +1 -0
- data/lib/ultracart_api/models/customer_loyalty.rb +21 -1
- data/lib/ultracart_api/models/email_domain.rb +10 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 668a2eddb005ed4e289e5f78f9829126b20cc61b5479106f39598c53226fe826
|
4
|
+
data.tar.gz: 0d0542597bd1be0968a76b6ebe35cfe58dd0ae164234abdbd6ad31669e54e3e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 830dd2d91674e02810988cfca429dd4eea8b17275dfb4c69d1b2a8715005195f907ab33aa41b987c7e4fcb458d801e71322cd439bfe3de2663c0d4e883ab3e43
|
7
|
+
data.tar.gz: 966c221aa8334f7fc44a2bacf81e9a0a454a516e38d3ae3078dc804ffd5d132cb8e860d0fdf074ba703b234676a7ce877fa9b44068d335f32841d46cb4c3a4ce
|
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.9.
|
10
|
+
- Package version: 3.9.4
|
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.9.
|
27
|
+
gem install ./ultracart_api-3.9.4.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.9.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.9.4.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.9.
|
35
|
+
gem 'ultracart_api', '~> 3.9.4'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1151,6 +1151,7 @@ Not every change is committed to every SDK.
|
|
1151
1151
|
|
1152
1152
|
| Version | Date | Comments |
|
1153
1153
|
| --: | :-: | --- |
|
1154
|
+
| 3.9.4 | 04/13/2022 | Added spf DNS record to the sending domain object |
|
1154
1155
|
| 3.9.3 | 04/06/2022 | fix return object on send webhook test method |
|
1155
1156
|
| 3.9.2 | 04/04/2022 | user.email field extended and postcard screenshot fields |
|
1156
1157
|
| 3.9.1 | 03/03/2022 | javascript sdk package.json bug fix |
|
data/docs/CustomerLoyalty.md
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**current_points** | **Integer** | Current Points | [optional]
|
7
|
+
**internal_gift_certificate_balance** | **String** | Loyalty Cashback / Store credit balance (internal gift certificate balance) | [optional]
|
8
|
+
**internal_gift_certificate_oid** | **Integer** | Internal gift certificate oid used to tracking loyalty cashback / store credit. | [optional]
|
7
9
|
**ledger_entries** | [**Array<CustomerLoyaltyLedger>**](CustomerLoyaltyLedger.md) | Ledger entries | [optional]
|
8
10
|
**pending_points** | **Integer** | Pending Points | [optional]
|
9
11
|
**redemptions** | [**Array<CustomerLoyaltyRedemption>**](CustomerLoyaltyRedemption.md) | Redemptions | [optional]
|
data/docs/EmailDomain.md
CHANGED
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**identity_status** | **String** | | [optional]
|
12
12
|
**merchant_id** | **String** | | [optional]
|
13
13
|
**provider** | **String** | | [optional]
|
14
|
+
**spf** | [**VerificationRecord**](VerificationRecord.md) | | [optional]
|
14
15
|
**start_dkim_dts** | **String** | | [optional]
|
15
16
|
**start_identity_dts** | **String** | | [optional]
|
16
17
|
**verification** | [**VerificationRecord**](VerificationRecord.md) | | [optional]
|
@@ -17,6 +17,12 @@ module UltracartClient
|
|
17
17
|
# Current Points
|
18
18
|
attr_accessor :current_points
|
19
19
|
|
20
|
+
# Loyalty Cashback / Store credit balance (internal gift certificate balance)
|
21
|
+
attr_accessor :internal_gift_certificate_balance
|
22
|
+
|
23
|
+
# Internal gift certificate oid used to tracking loyalty cashback / store credit.
|
24
|
+
attr_accessor :internal_gift_certificate_oid
|
25
|
+
|
20
26
|
# Ledger entries
|
21
27
|
attr_accessor :ledger_entries
|
22
28
|
|
@@ -30,6 +36,8 @@ module UltracartClient
|
|
30
36
|
def self.attribute_map
|
31
37
|
{
|
32
38
|
:'current_points' => :'current_points',
|
39
|
+
:'internal_gift_certificate_balance' => :'internal_gift_certificate_balance',
|
40
|
+
:'internal_gift_certificate_oid' => :'internal_gift_certificate_oid',
|
33
41
|
:'ledger_entries' => :'ledger_entries',
|
34
42
|
:'pending_points' => :'pending_points',
|
35
43
|
:'redemptions' => :'redemptions'
|
@@ -40,6 +48,8 @@ module UltracartClient
|
|
40
48
|
def self.swagger_types
|
41
49
|
{
|
42
50
|
:'current_points' => :'Integer',
|
51
|
+
:'internal_gift_certificate_balance' => :'String',
|
52
|
+
:'internal_gift_certificate_oid' => :'Integer',
|
43
53
|
:'ledger_entries' => :'Array<CustomerLoyaltyLedger>',
|
44
54
|
:'pending_points' => :'Integer',
|
45
55
|
:'redemptions' => :'Array<CustomerLoyaltyRedemption>'
|
@@ -58,6 +68,14 @@ module UltracartClient
|
|
58
68
|
self.current_points = attributes[:'current_points']
|
59
69
|
end
|
60
70
|
|
71
|
+
if attributes.has_key?(:'internal_gift_certificate_balance')
|
72
|
+
self.internal_gift_certificate_balance = attributes[:'internal_gift_certificate_balance']
|
73
|
+
end
|
74
|
+
|
75
|
+
if attributes.has_key?(:'internal_gift_certificate_oid')
|
76
|
+
self.internal_gift_certificate_oid = attributes[:'internal_gift_certificate_oid']
|
77
|
+
end
|
78
|
+
|
61
79
|
if attributes.has_key?(:'ledger_entries')
|
62
80
|
if (value = attributes[:'ledger_entries']).is_a?(Array)
|
63
81
|
self.ledger_entries = value
|
@@ -94,6 +112,8 @@ module UltracartClient
|
|
94
112
|
return true if self.equal?(o)
|
95
113
|
self.class == o.class &&
|
96
114
|
current_points == o.current_points &&
|
115
|
+
internal_gift_certificate_balance == o.internal_gift_certificate_balance &&
|
116
|
+
internal_gift_certificate_oid == o.internal_gift_certificate_oid &&
|
97
117
|
ledger_entries == o.ledger_entries &&
|
98
118
|
pending_points == o.pending_points &&
|
99
119
|
redemptions == o.redemptions
|
@@ -108,7 +128,7 @@ module UltracartClient
|
|
108
128
|
# Calculates hash code according to all attributes.
|
109
129
|
# @return [Fixnum] Hash code
|
110
130
|
def hash
|
111
|
-
[current_points, ledger_entries, pending_points, redemptions].hash
|
131
|
+
[current_points, internal_gift_certificate_balance, internal_gift_certificate_oid, ledger_entries, pending_points, redemptions].hash
|
112
132
|
end
|
113
133
|
|
114
134
|
# Builds the object from hash
|
@@ -30,6 +30,8 @@ module UltracartClient
|
|
30
30
|
|
31
31
|
attr_accessor :provider
|
32
32
|
|
33
|
+
attr_accessor :spf
|
34
|
+
|
33
35
|
attr_accessor :start_dkim_dts
|
34
36
|
|
35
37
|
attr_accessor :start_identity_dts
|
@@ -47,6 +49,7 @@ module UltracartClient
|
|
47
49
|
:'identity_status' => :'identity_status',
|
48
50
|
:'merchant_id' => :'merchant_id',
|
49
51
|
:'provider' => :'provider',
|
52
|
+
:'spf' => :'spf',
|
50
53
|
:'start_dkim_dts' => :'start_dkim_dts',
|
51
54
|
:'start_identity_dts' => :'start_identity_dts',
|
52
55
|
:'verification' => :'verification'
|
@@ -64,6 +67,7 @@ module UltracartClient
|
|
64
67
|
:'identity_status' => :'String',
|
65
68
|
:'merchant_id' => :'String',
|
66
69
|
:'provider' => :'String',
|
70
|
+
:'spf' => :'VerificationRecord',
|
67
71
|
:'start_dkim_dts' => :'String',
|
68
72
|
:'start_identity_dts' => :'String',
|
69
73
|
:'verification' => :'VerificationRecord'
|
@@ -112,6 +116,10 @@ module UltracartClient
|
|
112
116
|
self.provider = attributes[:'provider']
|
113
117
|
end
|
114
118
|
|
119
|
+
if attributes.has_key?(:'spf')
|
120
|
+
self.spf = attributes[:'spf']
|
121
|
+
end
|
122
|
+
|
115
123
|
if attributes.has_key?(:'start_dkim_dts')
|
116
124
|
self.start_dkim_dts = attributes[:'start_dkim_dts']
|
117
125
|
end
|
@@ -151,6 +159,7 @@ module UltracartClient
|
|
151
159
|
identity_status == o.identity_status &&
|
152
160
|
merchant_id == o.merchant_id &&
|
153
161
|
provider == o.provider &&
|
162
|
+
spf == o.spf &&
|
154
163
|
start_dkim_dts == o.start_dkim_dts &&
|
155
164
|
start_identity_dts == o.start_identity_dts &&
|
156
165
|
verification == o.verification
|
@@ -165,7 +174,7 @@ module UltracartClient
|
|
165
174
|
# Calculates hash code according to all attributes.
|
166
175
|
# @return [Fixnum] Hash code
|
167
176
|
def hash
|
168
|
-
[comment, dkim, dkim_status, domain, esp_domain_uuid, identity_status, merchant_id, provider, start_dkim_dts, start_identity_dts, verification].hash
|
177
|
+
[comment, dkim, dkim_status, domain, esp_domain_uuid, identity_status, merchant_id, provider, spf, start_dkim_dts, start_identity_dts, verification].hash
|
169
178
|
end
|
170
179
|
|
171
180
|
# 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.9.
|
4
|
+
version: 3.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|