voucherify 8.0.0 → 8.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +1 -1
- data/Gemfile.lock +2 -2
- data/README.md +2 -0
- data/docs/ClientValidationsValidateResponseBodyRedeemablesItem.md +2 -0
- data/docs/ValidationsRedeemableInapplicable.md +2 -0
- data/docs/ValidationsRedeemableSkipped.md +2 -0
- data/docs/ValidationsValidateResponseBodyRedeemablesItem.md +2 -0
- data/lib/VoucherifySdk/models/client_validations_validate_response_body_redeemables_item.rb +27 -5
- data/lib/VoucherifySdk/models/validations_redeemable_inapplicable.rb +27 -5
- data/lib/VoucherifySdk/models/validations_redeemable_skipped.rb +27 -5
- data/lib/VoucherifySdk/models/validations_validate_response_body_redeemables_item.rb +27 -5
- data/lib/VoucherifySdk/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: 8bd297998446deabcb68472b9af4b93458a303693214b65413e0f9e605d4355d
|
4
|
+
data.tar.gz: 3b7f692260b4a257027b108d65d72cabee75a327df907a6bff34f67418e0aa54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f4382e4ac6de778adae258ae0a280fa1c40eb47a345a2e9b9eb756ab4116b85c4cb73b052895d804eba399a09dd79830c7526c179cd867e9e1802ac4b924171
|
7
|
+
data.tar.gz: 68d777019060f235f3a16fb6d53906ace79b1907a2d0200458f7dda4654241bbffba39fcb467153a81210d9c3750b93bce3757de1077c0e309aab8e2d814d00e
|
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
voucherify (8.0.
|
4
|
+
voucherify (8.0.1)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -17,7 +17,7 @@ GEM
|
|
17
17
|
jaro_winkler (1.5.6)
|
18
18
|
method_source (1.1.0)
|
19
19
|
parallel (1.26.3)
|
20
|
-
parser (3.3.5.
|
20
|
+
parser (3.3.5.1)
|
21
21
|
ast (~> 2.4.1)
|
22
22
|
racc
|
23
23
|
pry (0.14.2)
|
data/README.md
CHANGED
@@ -113,6 +113,8 @@ Remember that this SDK is auto generated (except of the tests) so changes made h
|
|
113
113
|
|
114
114
|
## 📅 Changelog
|
115
115
|
|
116
|
+
- **2024-11-04** - `8.0.1`
|
117
|
+
- Added support for returning `campaign_id` and `campaign_name` in stackable validation endpoint, when `redeemable` option is expanded
|
116
118
|
- **2024-10-28** - `8.0.0`
|
117
119
|
- Added missing `enums` in few filters models
|
118
120
|
- !!! BREAKING CHANGES !!!
|
@@ -13,4 +13,6 @@
|
|
13
13
|
| **result** | [**ClientValidationsValidateResponseBodyRedeemablesItemResult**](ClientValidationsValidateResponseBodyRedeemablesItemResult.md) | | [optional] |
|
14
14
|
| **metadata** | **Object** | The metadata object stores all custom attributes in the form of key/value pairs assigned to the redeemable. | [optional] |
|
15
15
|
| **categories** | [**Array<CategoryWithStackingRulesType>**](CategoryWithStackingRulesType.md) | | [optional] |
|
16
|
+
| **campaign_name** | **String** | Campaign name | [optional] |
|
17
|
+
| **campaign_id** | **String** | Unique campaign ID assigned by Voucherify. | [optional] |
|
16
18
|
|
@@ -10,4 +10,6 @@
|
|
10
10
|
| **result** | [**ValidationsRedeemableInapplicableResult**](ValidationsRedeemableInapplicableResult.md) | | [optional] |
|
11
11
|
| **metadata** | **Object** | The metadata object stores all custom attributes in the form of key/value pairs assigned to the redeemable. | [optional] |
|
12
12
|
| **categories** | [**Array<CategoryWithStackingRulesType>**](CategoryWithStackingRulesType.md) | | [optional] |
|
13
|
+
| **campaign_name** | **String** | Campaign name | [optional] |
|
14
|
+
| **campaign_id** | **String** | Unique campaign ID assigned by Voucherify. | [optional] |
|
13
15
|
|
@@ -10,4 +10,6 @@
|
|
10
10
|
| **result** | [**ValidationsRedeemableSkippedResult**](ValidationsRedeemableSkippedResult.md) | | [optional] |
|
11
11
|
| **metadata** | **Object** | The metadata object stores all custom attributes in the form of key/value pairs assigned to the redeemable. | [optional] |
|
12
12
|
| **categories** | [**Array<CategoryWithStackingRulesType>**](CategoryWithStackingRulesType.md) | | [optional] |
|
13
|
+
| **campaign_name** | **String** | Campaign name | [optional] |
|
14
|
+
| **campaign_id** | **String** | Unique campaign ID assigned by Voucherify. | [optional] |
|
13
15
|
|
@@ -13,4 +13,6 @@
|
|
13
13
|
| **result** | [**ValidationsValidateResponseBodyRedeemablesItemResult**](ValidationsValidateResponseBodyRedeemablesItemResult.md) | | [optional] |
|
14
14
|
| **metadata** | **Object** | The metadata object stores all custom attributes in the form of key/value pairs assigned to the redeemable. | [optional] |
|
15
15
|
| **categories** | [**Array<CategoryWithStackingRulesType>**](CategoryWithStackingRulesType.md) | | [optional] |
|
16
|
+
| **campaign_name** | **String** | Campaign name | [optional] |
|
17
|
+
| **campaign_id** | **String** | Unique campaign ID assigned by Voucherify. | [optional] |
|
16
18
|
|
@@ -36,6 +36,12 @@ module VoucherifySdk
|
|
36
36
|
|
37
37
|
attr_accessor :categories
|
38
38
|
|
39
|
+
# Campaign name
|
40
|
+
attr_accessor :campaign_name
|
41
|
+
|
42
|
+
# Unique campaign ID assigned by Voucherify.
|
43
|
+
attr_accessor :campaign_id
|
44
|
+
|
39
45
|
class EnumAttributeValidator
|
40
46
|
attr_reader :datatype
|
41
47
|
attr_reader :allowable_values
|
@@ -69,7 +75,9 @@ module VoucherifySdk
|
|
69
75
|
:'inapplicable_to' => :'inapplicable_to',
|
70
76
|
:'result' => :'result',
|
71
77
|
:'metadata' => :'metadata',
|
72
|
-
:'categories' => :'categories'
|
78
|
+
:'categories' => :'categories',
|
79
|
+
:'campaign_name' => :'campaign_name',
|
80
|
+
:'campaign_id' => :'campaign_id'
|
73
81
|
}
|
74
82
|
end
|
75
83
|
|
@@ -89,7 +97,9 @@ module VoucherifySdk
|
|
89
97
|
:'inapplicable_to' => :'InapplicableToResultList',
|
90
98
|
:'result' => :'ClientValidationsValidateResponseBodyRedeemablesItemResult',
|
91
99
|
:'metadata' => :'Object',
|
92
|
-
:'categories' => :'Array<CategoryWithStackingRulesType>'
|
100
|
+
:'categories' => :'Array<CategoryWithStackingRulesType>',
|
101
|
+
:'campaign_name' => :'String',
|
102
|
+
:'campaign_id' => :'String'
|
93
103
|
}
|
94
104
|
end
|
95
105
|
|
@@ -99,7 +109,9 @@ module VoucherifySdk
|
|
99
109
|
:'id',
|
100
110
|
:'object',
|
101
111
|
:'metadata',
|
102
|
-
:'categories'
|
112
|
+
:'categories',
|
113
|
+
:'campaign_name',
|
114
|
+
:'campaign_id'
|
103
115
|
])
|
104
116
|
end
|
105
117
|
|
@@ -148,6 +160,14 @@ module VoucherifySdk
|
|
148
160
|
self.categories = value
|
149
161
|
end
|
150
162
|
end
|
163
|
+
|
164
|
+
if attributes.key?(:'campaign_name')
|
165
|
+
self.campaign_name = attributes[:'campaign_name']
|
166
|
+
end
|
167
|
+
|
168
|
+
if attributes.key?(:'campaign_id')
|
169
|
+
self.campaign_id = attributes[:'campaign_id']
|
170
|
+
end
|
151
171
|
end
|
152
172
|
|
153
173
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -182,7 +202,9 @@ module VoucherifySdk
|
|
182
202
|
inapplicable_to == o.inapplicable_to &&
|
183
203
|
result == o.result &&
|
184
204
|
metadata == o.metadata &&
|
185
|
-
categories == o.categories
|
205
|
+
categories == o.categories &&
|
206
|
+
campaign_name == o.campaign_name &&
|
207
|
+
campaign_id == o.campaign_id
|
186
208
|
end
|
187
209
|
|
188
210
|
# @see the `==` method
|
@@ -194,7 +216,7 @@ module VoucherifySdk
|
|
194
216
|
# Calculates hash code according to all attributes.
|
195
217
|
# @return [Integer] Hash code
|
196
218
|
def hash
|
197
|
-
[status, id, object, order, applicable_to, inapplicable_to, result, metadata, categories].hash
|
219
|
+
[status, id, object, order, applicable_to, inapplicable_to, result, metadata, categories, campaign_name, campaign_id].hash
|
198
220
|
end
|
199
221
|
|
200
222
|
# Builds the object from hash
|
@@ -31,6 +31,12 @@ module VoucherifySdk
|
|
31
31
|
|
32
32
|
attr_accessor :categories
|
33
33
|
|
34
|
+
# Campaign name
|
35
|
+
attr_accessor :campaign_name
|
36
|
+
|
37
|
+
# Unique campaign ID assigned by Voucherify.
|
38
|
+
attr_accessor :campaign_id
|
39
|
+
|
34
40
|
class EnumAttributeValidator
|
35
41
|
attr_reader :datatype
|
36
42
|
attr_reader :allowable_values
|
@@ -61,7 +67,9 @@ module VoucherifySdk
|
|
61
67
|
:'object' => :'object',
|
62
68
|
:'result' => :'result',
|
63
69
|
:'metadata' => :'metadata',
|
64
|
-
:'categories' => :'categories'
|
70
|
+
:'categories' => :'categories',
|
71
|
+
:'campaign_name' => :'campaign_name',
|
72
|
+
:'campaign_id' => :'campaign_id'
|
65
73
|
}
|
66
74
|
end
|
67
75
|
|
@@ -78,7 +86,9 @@ module VoucherifySdk
|
|
78
86
|
:'object' => :'String',
|
79
87
|
:'result' => :'ValidationsRedeemableInapplicableResult',
|
80
88
|
:'metadata' => :'Object',
|
81
|
-
:'categories' => :'Array<CategoryWithStackingRulesType>'
|
89
|
+
:'categories' => :'Array<CategoryWithStackingRulesType>',
|
90
|
+
:'campaign_name' => :'String',
|
91
|
+
:'campaign_id' => :'String'
|
82
92
|
}
|
83
93
|
end
|
84
94
|
|
@@ -90,7 +100,9 @@ module VoucherifySdk
|
|
90
100
|
:'object',
|
91
101
|
:'result',
|
92
102
|
:'metadata',
|
93
|
-
:'categories'
|
103
|
+
:'categories',
|
104
|
+
:'campaign_name',
|
105
|
+
:'campaign_id'
|
94
106
|
])
|
95
107
|
end
|
96
108
|
|
@@ -129,6 +141,14 @@ module VoucherifySdk
|
|
129
141
|
self.categories = value
|
130
142
|
end
|
131
143
|
end
|
144
|
+
|
145
|
+
if attributes.key?(:'campaign_name')
|
146
|
+
self.campaign_name = attributes[:'campaign_name']
|
147
|
+
end
|
148
|
+
|
149
|
+
if attributes.key?(:'campaign_id')
|
150
|
+
self.campaign_id = attributes[:'campaign_id']
|
151
|
+
end
|
132
152
|
end
|
133
153
|
|
134
154
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -160,7 +180,9 @@ module VoucherifySdk
|
|
160
180
|
object == o.object &&
|
161
181
|
result == o.result &&
|
162
182
|
metadata == o.metadata &&
|
163
|
-
categories == o.categories
|
183
|
+
categories == o.categories &&
|
184
|
+
campaign_name == o.campaign_name &&
|
185
|
+
campaign_id == o.campaign_id
|
164
186
|
end
|
165
187
|
|
166
188
|
# @see the `==` method
|
@@ -172,7 +194,7 @@ module VoucherifySdk
|
|
172
194
|
# Calculates hash code according to all attributes.
|
173
195
|
# @return [Integer] Hash code
|
174
196
|
def hash
|
175
|
-
[status, id, object, result, metadata, categories].hash
|
197
|
+
[status, id, object, result, metadata, categories, campaign_name, campaign_id].hash
|
176
198
|
end
|
177
199
|
|
178
200
|
# Builds the object from hash
|
@@ -31,6 +31,12 @@ module VoucherifySdk
|
|
31
31
|
|
32
32
|
attr_accessor :categories
|
33
33
|
|
34
|
+
# Campaign name
|
35
|
+
attr_accessor :campaign_name
|
36
|
+
|
37
|
+
# Unique campaign ID assigned by Voucherify.
|
38
|
+
attr_accessor :campaign_id
|
39
|
+
|
34
40
|
class EnumAttributeValidator
|
35
41
|
attr_reader :datatype
|
36
42
|
attr_reader :allowable_values
|
@@ -61,7 +67,9 @@ module VoucherifySdk
|
|
61
67
|
:'object' => :'object',
|
62
68
|
:'result' => :'result',
|
63
69
|
:'metadata' => :'metadata',
|
64
|
-
:'categories' => :'categories'
|
70
|
+
:'categories' => :'categories',
|
71
|
+
:'campaign_name' => :'campaign_name',
|
72
|
+
:'campaign_id' => :'campaign_id'
|
65
73
|
}
|
66
74
|
end
|
67
75
|
|
@@ -78,7 +86,9 @@ module VoucherifySdk
|
|
78
86
|
:'object' => :'String',
|
79
87
|
:'result' => :'ValidationsRedeemableSkippedResult',
|
80
88
|
:'metadata' => :'Object',
|
81
|
-
:'categories' => :'Array<CategoryWithStackingRulesType>'
|
89
|
+
:'categories' => :'Array<CategoryWithStackingRulesType>',
|
90
|
+
:'campaign_name' => :'String',
|
91
|
+
:'campaign_id' => :'String'
|
82
92
|
}
|
83
93
|
end
|
84
94
|
|
@@ -90,7 +100,9 @@ module VoucherifySdk
|
|
90
100
|
:'object',
|
91
101
|
:'result',
|
92
102
|
:'metadata',
|
93
|
-
:'categories'
|
103
|
+
:'categories',
|
104
|
+
:'campaign_name',
|
105
|
+
:'campaign_id'
|
94
106
|
])
|
95
107
|
end
|
96
108
|
|
@@ -129,6 +141,14 @@ module VoucherifySdk
|
|
129
141
|
self.categories = value
|
130
142
|
end
|
131
143
|
end
|
144
|
+
|
145
|
+
if attributes.key?(:'campaign_name')
|
146
|
+
self.campaign_name = attributes[:'campaign_name']
|
147
|
+
end
|
148
|
+
|
149
|
+
if attributes.key?(:'campaign_id')
|
150
|
+
self.campaign_id = attributes[:'campaign_id']
|
151
|
+
end
|
132
152
|
end
|
133
153
|
|
134
154
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -160,7 +180,9 @@ module VoucherifySdk
|
|
160
180
|
object == o.object &&
|
161
181
|
result == o.result &&
|
162
182
|
metadata == o.metadata &&
|
163
|
-
categories == o.categories
|
183
|
+
categories == o.categories &&
|
184
|
+
campaign_name == o.campaign_name &&
|
185
|
+
campaign_id == o.campaign_id
|
164
186
|
end
|
165
187
|
|
166
188
|
# @see the `==` method
|
@@ -172,7 +194,7 @@ module VoucherifySdk
|
|
172
194
|
# Calculates hash code according to all attributes.
|
173
195
|
# @return [Integer] Hash code
|
174
196
|
def hash
|
175
|
-
[status, id, object, result, metadata, categories].hash
|
197
|
+
[status, id, object, result, metadata, categories, campaign_name, campaign_id].hash
|
176
198
|
end
|
177
199
|
|
178
200
|
# Builds the object from hash
|
@@ -36,6 +36,12 @@ module VoucherifySdk
|
|
36
36
|
|
37
37
|
attr_accessor :categories
|
38
38
|
|
39
|
+
# Campaign name
|
40
|
+
attr_accessor :campaign_name
|
41
|
+
|
42
|
+
# Unique campaign ID assigned by Voucherify.
|
43
|
+
attr_accessor :campaign_id
|
44
|
+
|
39
45
|
class EnumAttributeValidator
|
40
46
|
attr_reader :datatype
|
41
47
|
attr_reader :allowable_values
|
@@ -69,7 +75,9 @@ module VoucherifySdk
|
|
69
75
|
:'inapplicable_to' => :'inapplicable_to',
|
70
76
|
:'result' => :'result',
|
71
77
|
:'metadata' => :'metadata',
|
72
|
-
:'categories' => :'categories'
|
78
|
+
:'categories' => :'categories',
|
79
|
+
:'campaign_name' => :'campaign_name',
|
80
|
+
:'campaign_id' => :'campaign_id'
|
73
81
|
}
|
74
82
|
end
|
75
83
|
|
@@ -89,7 +97,9 @@ module VoucherifySdk
|
|
89
97
|
:'inapplicable_to' => :'InapplicableToResultList',
|
90
98
|
:'result' => :'ValidationsValidateResponseBodyRedeemablesItemResult',
|
91
99
|
:'metadata' => :'Object',
|
92
|
-
:'categories' => :'Array<CategoryWithStackingRulesType>'
|
100
|
+
:'categories' => :'Array<CategoryWithStackingRulesType>',
|
101
|
+
:'campaign_name' => :'String',
|
102
|
+
:'campaign_id' => :'String'
|
93
103
|
}
|
94
104
|
end
|
95
105
|
|
@@ -99,7 +109,9 @@ module VoucherifySdk
|
|
99
109
|
:'id',
|
100
110
|
:'object',
|
101
111
|
:'metadata',
|
102
|
-
:'categories'
|
112
|
+
:'categories',
|
113
|
+
:'campaign_name',
|
114
|
+
:'campaign_id'
|
103
115
|
])
|
104
116
|
end
|
105
117
|
|
@@ -148,6 +160,14 @@ module VoucherifySdk
|
|
148
160
|
self.categories = value
|
149
161
|
end
|
150
162
|
end
|
163
|
+
|
164
|
+
if attributes.key?(:'campaign_name')
|
165
|
+
self.campaign_name = attributes[:'campaign_name']
|
166
|
+
end
|
167
|
+
|
168
|
+
if attributes.key?(:'campaign_id')
|
169
|
+
self.campaign_id = attributes[:'campaign_id']
|
170
|
+
end
|
151
171
|
end
|
152
172
|
|
153
173
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -182,7 +202,9 @@ module VoucherifySdk
|
|
182
202
|
inapplicable_to == o.inapplicable_to &&
|
183
203
|
result == o.result &&
|
184
204
|
metadata == o.metadata &&
|
185
|
-
categories == o.categories
|
205
|
+
categories == o.categories &&
|
206
|
+
campaign_name == o.campaign_name &&
|
207
|
+
campaign_id == o.campaign_id
|
186
208
|
end
|
187
209
|
|
188
210
|
# @see the `==` method
|
@@ -194,7 +216,7 @@ module VoucherifySdk
|
|
194
216
|
# Calculates hash code according to all attributes.
|
195
217
|
# @return [Integer] Hash code
|
196
218
|
def hash
|
197
|
-
[status, id, object, order, applicable_to, inapplicable_to, result, metadata, categories].hash
|
219
|
+
[status, id, object, order, applicable_to, inapplicable_to, result, metadata, categories, campaign_name, campaign_id].hash
|
198
220
|
end
|
199
221
|
|
200
222
|
# Builds the object from hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voucherify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.0.
|
4
|
+
version: 8.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pawelrychlik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|