ultracart_api 3.10.8 → 3.10.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -4
- data/docs/CustomerStoreCredit.md +6 -6
- data/docs/EmailSegment.md +6 -0
- data/lib/ultracart_api/models/customer_store_credit.rb +12 -6
- data/lib/ultracart_api/models/email_segment.rb +69 -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: b793c9f5c6226c2d93d02c2bb1be367d1d69ff0490a831d4fcfae5bfe9d00acb
|
4
|
+
data.tar.gz: a2d23c7c71322745264de1ae6688165b04d208b9bf9582811ae88d6451e5ee7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58ef54881f616391a3080e7bb3880f07052b4dad6da72b5b5423904c634b451df754bb45516059c4175ec69ca3191ce3897617f48a6ccfe06bb1de1ba6f0a40b
|
7
|
+
data.tar.gz: cbead0b3a548d120a51d4ff81102cfff3f186f5bc94dff18f3c6924d46c4a94c17b7f45f9c220e79808d790b775cde65a2b248a22bef812fb50d20bb9b0fe642
|
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.10.
|
10
|
+
- Package version: 3.10.11
|
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.10.
|
27
|
+
gem install ./ultracart_api-3.10.11.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.11.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.10.
|
35
|
+
gem 'ultracart_api', '~> 3.10.11'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1179,6 +1179,9 @@ Not every change is committed to every SDK.
|
|
1179
1179
|
|
1180
1180
|
| Version | Date | Comments |
|
1181
1181
|
| --: | :-: | --- |
|
1182
|
+
| 3.10.11 | 06/10/2022 | esp segment 3rd party sync add/remove tag fields |
|
1183
|
+
| 3.10.10 | 06/06/2022 | storefront communication options for syncing to third party provider list |
|
1184
|
+
| 3.10.9 | 06/01/2022 | bug fixes for customer profile store credit |
|
1182
1185
|
| 3.10.8 | 05/27/2022 | customer store credit |
|
1183
1186
|
| 3.10.7 | 05/23/2022 | add internal gift cert to order summary, addl provider info for storefront comm |
|
1184
1187
|
| 3.10.6 | 05/23/2022 | add internal gift cert to order summary, addl provider info for storefront comm |
|
data/docs/CustomerStoreCredit.md
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**available** | **Float** |
|
7
|
-
**expiring** | **Float** |
|
8
|
-
**future_ledgers** | [**Array<CustomerStoreCreditLedgerEntry>**](CustomerStoreCreditLedgerEntry.md) |
|
9
|
-
**past_ledgers** | [**Array<CustomerStoreCreditLedgerEntry>**](CustomerStoreCreditLedgerEntry.md) |
|
10
|
-
**total** | **Float** |
|
11
|
-
**vesting** | **Float** |
|
6
|
+
**available** | **Float** | Available store credit which is defined as unused and vested | [optional]
|
7
|
+
**expiring** | **Float** | Amount of store credit expiring within 30 days | [optional]
|
8
|
+
**future_ledgers** | [**Array<CustomerStoreCreditLedgerEntry>**](CustomerStoreCreditLedgerEntry.md) | Array of future ledger entries including expiring entries | [optional]
|
9
|
+
**past_ledgers** | [**Array<CustomerStoreCreditLedgerEntry>**](CustomerStoreCreditLedgerEntry.md) | Array of past ledger entries including accrual, usage, and expiring entries | [optional]
|
10
|
+
**total** | **Float** | Total lifetime store credit for this customer. | [optional]
|
11
|
+
**vesting** | **Float** | Amount of store credit vesting | [optional]
|
12
12
|
|
13
13
|
|
data/docs/EmailSegment.md
CHANGED
@@ -17,6 +17,12 @@ Name | Type | Description | Notes
|
|
17
17
|
**rank_json** | **String** | Rank settings json | [optional]
|
18
18
|
**rebuild_required** | **BOOLEAN** | True if a rebuild is required because some part of the segment has changed | [optional]
|
19
19
|
**storefront_oid** | **Integer** | Storefront oid | [optional]
|
20
|
+
**thirdparty_join_add_tags** | **Array<String>** | Third party provider tags to add when a customer joins the segment. | [optional]
|
21
|
+
**thirdparty_join_remove_tags** | **Array<String>** | Third party provider tags to remove when a customer joins the segment. | [optional]
|
22
|
+
**thirdparty_leave_add_tags** | **Array<String>** | Third party provider tags to add when a customer leaves the segment. | [optional]
|
23
|
+
**thirdparty_leave_remove_tags** | **Array<String>** | Third party provider tags to remove when a customer leaves the segment. | [optional]
|
24
|
+
**thirdparty_list_id** | **String** | List id of third party provider to sync with. | [optional]
|
25
|
+
**thirdparty_provider_name** | **String** | Name of third party provider to sync segment to a list with. | [optional]
|
20
26
|
**used_by** | [**Array<EmailListSegmentUsedBy>**](EmailListSegmentUsedBy.md) | Details on the flows or campaigns that use this list. | [optional]
|
21
27
|
|
22
28
|
|
@@ -14,16 +14,22 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class CustomerStoreCredit
|
17
|
+
# Available store credit which is defined as unused and vested
|
17
18
|
attr_accessor :available
|
18
19
|
|
20
|
+
# Amount of store credit expiring within 30 days
|
19
21
|
attr_accessor :expiring
|
20
22
|
|
23
|
+
# Array of future ledger entries including expiring entries
|
21
24
|
attr_accessor :future_ledgers
|
22
25
|
|
26
|
+
# Array of past ledger entries including accrual, usage, and expiring entries
|
23
27
|
attr_accessor :past_ledgers
|
24
28
|
|
29
|
+
# Total lifetime store credit for this customer.
|
25
30
|
attr_accessor :total
|
26
31
|
|
32
|
+
# Amount of store credit vesting
|
27
33
|
attr_accessor :vesting
|
28
34
|
|
29
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,8 +37,8 @@ module UltracartClient
|
|
31
37
|
{
|
32
38
|
:'available' => :'available',
|
33
39
|
:'expiring' => :'expiring',
|
34
|
-
:'future_ledgers' => :'
|
35
|
-
:'past_ledgers' => :'
|
40
|
+
:'future_ledgers' => :'future_ledgers',
|
41
|
+
:'past_ledgers' => :'past_ledgers',
|
36
42
|
:'total' => :'total',
|
37
43
|
:'vesting' => :'vesting'
|
38
44
|
}
|
@@ -66,14 +72,14 @@ module UltracartClient
|
|
66
72
|
self.expiring = attributes[:'expiring']
|
67
73
|
end
|
68
74
|
|
69
|
-
if attributes.has_key?(:'
|
70
|
-
if (value = attributes[:'
|
75
|
+
if attributes.has_key?(:'future_ledgers')
|
76
|
+
if (value = attributes[:'future_ledgers']).is_a?(Array)
|
71
77
|
self.future_ledgers = value
|
72
78
|
end
|
73
79
|
end
|
74
80
|
|
75
|
-
if attributes.has_key?(:'
|
76
|
-
if (value = attributes[:'
|
81
|
+
if attributes.has_key?(:'past_ledgers')
|
82
|
+
if (value = attributes[:'past_ledgers']).is_a?(Array)
|
77
83
|
self.past_ledgers = value
|
78
84
|
end
|
79
85
|
end
|
@@ -56,6 +56,24 @@ module UltracartClient
|
|
56
56
|
# Storefront oid
|
57
57
|
attr_accessor :storefront_oid
|
58
58
|
|
59
|
+
# Third party provider tags to add when a customer joins the segment.
|
60
|
+
attr_accessor :thirdparty_join_add_tags
|
61
|
+
|
62
|
+
# Third party provider tags to remove when a customer joins the segment.
|
63
|
+
attr_accessor :thirdparty_join_remove_tags
|
64
|
+
|
65
|
+
# Third party provider tags to add when a customer leaves the segment.
|
66
|
+
attr_accessor :thirdparty_leave_add_tags
|
67
|
+
|
68
|
+
# Third party provider tags to remove when a customer leaves the segment.
|
69
|
+
attr_accessor :thirdparty_leave_remove_tags
|
70
|
+
|
71
|
+
# List id of third party provider to sync with.
|
72
|
+
attr_accessor :thirdparty_list_id
|
73
|
+
|
74
|
+
# Name of third party provider to sync segment to a list with.
|
75
|
+
attr_accessor :thirdparty_provider_name
|
76
|
+
|
59
77
|
# Details on the flows or campaigns that use this list.
|
60
78
|
attr_accessor :used_by
|
61
79
|
|
@@ -76,6 +94,12 @@ module UltracartClient
|
|
76
94
|
:'rank_json' => :'rank_json',
|
77
95
|
:'rebuild_required' => :'rebuild_required',
|
78
96
|
:'storefront_oid' => :'storefront_oid',
|
97
|
+
:'thirdparty_join_add_tags' => :'thirdparty_join_add_tags',
|
98
|
+
:'thirdparty_join_remove_tags' => :'thirdparty_join_remove_tags',
|
99
|
+
:'thirdparty_leave_add_tags' => :'thirdparty_leave_add_tags',
|
100
|
+
:'thirdparty_leave_remove_tags' => :'thirdparty_leave_remove_tags',
|
101
|
+
:'thirdparty_list_id' => :'thirdparty_list_id',
|
102
|
+
:'thirdparty_provider_name' => :'thirdparty_provider_name',
|
79
103
|
:'used_by' => :'used_by'
|
80
104
|
}
|
81
105
|
end
|
@@ -97,6 +121,12 @@ module UltracartClient
|
|
97
121
|
:'rank_json' => :'String',
|
98
122
|
:'rebuild_required' => :'BOOLEAN',
|
99
123
|
:'storefront_oid' => :'Integer',
|
124
|
+
:'thirdparty_join_add_tags' => :'Array<String>',
|
125
|
+
:'thirdparty_join_remove_tags' => :'Array<String>',
|
126
|
+
:'thirdparty_leave_add_tags' => :'Array<String>',
|
127
|
+
:'thirdparty_leave_remove_tags' => :'Array<String>',
|
128
|
+
:'thirdparty_list_id' => :'String',
|
129
|
+
:'thirdparty_provider_name' => :'String',
|
100
130
|
:'used_by' => :'Array<EmailListSegmentUsedBy>'
|
101
131
|
}
|
102
132
|
end
|
@@ -165,6 +195,38 @@ module UltracartClient
|
|
165
195
|
self.storefront_oid = attributes[:'storefront_oid']
|
166
196
|
end
|
167
197
|
|
198
|
+
if attributes.has_key?(:'thirdparty_join_add_tags')
|
199
|
+
if (value = attributes[:'thirdparty_join_add_tags']).is_a?(Array)
|
200
|
+
self.thirdparty_join_add_tags = value
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
if attributes.has_key?(:'thirdparty_join_remove_tags')
|
205
|
+
if (value = attributes[:'thirdparty_join_remove_tags']).is_a?(Array)
|
206
|
+
self.thirdparty_join_remove_tags = value
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
if attributes.has_key?(:'thirdparty_leave_add_tags')
|
211
|
+
if (value = attributes[:'thirdparty_leave_add_tags']).is_a?(Array)
|
212
|
+
self.thirdparty_leave_add_tags = value
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
if attributes.has_key?(:'thirdparty_leave_remove_tags')
|
217
|
+
if (value = attributes[:'thirdparty_leave_remove_tags']).is_a?(Array)
|
218
|
+
self.thirdparty_leave_remove_tags = value
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
if attributes.has_key?(:'thirdparty_list_id')
|
223
|
+
self.thirdparty_list_id = attributes[:'thirdparty_list_id']
|
224
|
+
end
|
225
|
+
|
226
|
+
if attributes.has_key?(:'thirdparty_provider_name')
|
227
|
+
self.thirdparty_provider_name = attributes[:'thirdparty_provider_name']
|
228
|
+
end
|
229
|
+
|
168
230
|
if attributes.has_key?(:'used_by')
|
169
231
|
if (value = attributes[:'used_by']).is_a?(Array)
|
170
232
|
self.used_by = value
|
@@ -219,6 +281,12 @@ module UltracartClient
|
|
219
281
|
rank_json == o.rank_json &&
|
220
282
|
rebuild_required == o.rebuild_required &&
|
221
283
|
storefront_oid == o.storefront_oid &&
|
284
|
+
thirdparty_join_add_tags == o.thirdparty_join_add_tags &&
|
285
|
+
thirdparty_join_remove_tags == o.thirdparty_join_remove_tags &&
|
286
|
+
thirdparty_leave_add_tags == o.thirdparty_leave_add_tags &&
|
287
|
+
thirdparty_leave_remove_tags == o.thirdparty_leave_remove_tags &&
|
288
|
+
thirdparty_list_id == o.thirdparty_list_id &&
|
289
|
+
thirdparty_provider_name == o.thirdparty_provider_name &&
|
222
290
|
used_by == o.used_by
|
223
291
|
end
|
224
292
|
|
@@ -231,7 +299,7 @@ module UltracartClient
|
|
231
299
|
# Calculates hash code according to all attributes.
|
232
300
|
# @return [Fixnum] Hash code
|
233
301
|
def hash
|
234
|
-
[allow_csv_download, allow_facebook_audiences, created_dts, deleted, email_segment_uuid, esp_list_segment_folder_uuid, facebook_custom_audience, filter_profile_equation_json, member_count, merchant_id, name, rank_json, rebuild_required, storefront_oid, used_by].hash
|
302
|
+
[allow_csv_download, allow_facebook_audiences, created_dts, deleted, email_segment_uuid, esp_list_segment_folder_uuid, facebook_custom_audience, filter_profile_equation_json, member_count, merchant_id, name, rank_json, rebuild_required, storefront_oid, thirdparty_join_add_tags, thirdparty_join_remove_tags, thirdparty_leave_add_tags, thirdparty_leave_remove_tags, thirdparty_list_id, thirdparty_provider_name, used_by].hash
|
235
303
|
end
|
236
304
|
|
237
305
|
# 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.10.
|
4
|
+
version: 3.10.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|