affixapi 1.1.77 → 1.1.79

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 712a1fceefa644e78454cc87d665a718fe8d610c4f4134f40de0b2574ff8fe7a
4
- data.tar.gz: ae58ace3941a251e3f7260b2cb13a681b6e2525875715c13172293d787b9f3b1
3
+ metadata.gz: 73dc9982315de6fdce9fe77523b46fa082a4f1d3005d5529157ece3da880dc4f
4
+ data.tar.gz: 98a51512451adf8e8c6c8a45ba08200e16a98bc6a923c7e5b81f2dc81a0339b1
5
5
  SHA512:
6
- metadata.gz: 3ea52bc8ff29f68eec0a17b03915b88aa3ff1e5298e1c8c55924ae2e8ad3958a9ce9d0b99b8acefbe18d2e85ba58ea2f42524932b8478e4602a3425b8cd671a3
7
- data.tar.gz: 8bf050b2a08c9db4762198563deef49ecc2e3134e7f33db283962e53cbb43e2ccbda61fae9f0138eb29ab4f2b452653c182dad491bb9d172dfcd224615ef504c
6
+ metadata.gz: 031c31679d2231d75d3a77cad35411c7420467f9e56fba4a6cfd82dea9a1e465f3dfdef30622f552bc74cbdbd5c3fe728528add4a11639724e90fd3c20c3b13e
7
+ data.tar.gz: 2b16d2f2cdf893cf4ce4ef62b1577e15ef353b4700997cdaed6075ad2317305b02b0ad03fe3064972c87482b59693175f5184895d7a6850045aeff6b4b9b32c9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- affixapi (1.1.77)
4
+ affixapi (1.1.79)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -16,7 +16,7 @@
16
16
  | **tax_id** | **String** | | [optional] |
17
17
  | **gender** | **String** | | [optional] |
18
18
  | **ethnicity** | **String** | | [optional] |
19
- | **marital_status** | **String** | | [optional] |
19
+ | **marital_status** | **String** | `other` option can include co-habitating, civil partnership, separated, widowed, etc | [optional] |
20
20
  | **date_of_birth** | **Date** | | [optional] |
21
21
  | **employment_status** | [**EmploymentStatusNotNullRequest**](EmploymentStatusNotNullRequest.md) | | [optional] |
22
22
  | **employment_type** | **String** | | [optional] |
@@ -18,7 +18,7 @@
18
18
  | **tax_id** | **String** | | |
19
19
  | **gender** | **String** | | |
20
20
  | **ethnicity** | **String** | | |
21
- | **marital_status** | **String** | `other` option can include co-habitating, civil partnership, separated, divorced, widowed, etc | |
21
+ | **marital_status** | **String** | `other` option can include co-habitating, civil partnership, separated, widowed, etc | |
22
22
  | **date_of_birth** | **Date** | | |
23
23
  | **employment_status** | [**EmploymentStatusResponse**](EmploymentStatusResponse.md) | | |
24
24
  | **employment_type** | **String** | | |
@@ -44,6 +44,7 @@ module OpenapiClient
44
44
 
45
45
  attr_accessor :ethnicity
46
46
 
47
+ # `other` option can include co-habitating, civil partnership, separated, widowed, etc
47
48
  attr_accessor :marital_status
48
49
 
49
50
  attr_accessor :date_of_birth
@@ -374,7 +375,7 @@ module OpenapiClient
374
375
  return false unless gender_validator.valid?(@gender)
375
376
  ethnicity_validator = EnumAttributeValidator.new('String', ["asian", "black", "hispanic", "mixed", "not_specified", "other", "white"])
376
377
  return false unless ethnicity_validator.valid?(@ethnicity)
377
- marital_status_validator = EnumAttributeValidator.new('String', ["single", "married", "not_specified"])
378
+ marital_status_validator = EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other"])
378
379
  return false unless marital_status_validator.valid?(@marital_status)
379
380
  employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "other"])
380
381
  return false unless employment_type_validator.valid?(@employment_type)
@@ -404,7 +405,7 @@ module OpenapiClient
404
405
  # Custom attribute writer method checking allowed values (enum).
405
406
  # @param [Object] marital_status Object to be assigned
406
407
  def marital_status=(marital_status)
407
- validator = EnumAttributeValidator.new('String', ["single", "married", "not_specified"])
408
+ validator = EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other"])
408
409
  unless validator.valid?(marital_status)
409
410
  fail ArgumentError, "invalid value for \"marital_status\", must be one of #{validator.allowable_values}."
410
411
  end
@@ -50,7 +50,7 @@ module OpenapiClient
50
50
 
51
51
  attr_accessor :ethnicity
52
52
 
53
- # `other` option can include co-habitating, civil partnership, separated, divorced, widowed, etc
53
+ # `other` option can include co-habitating, civil partnership, separated, widowed, etc
54
54
  attr_accessor :marital_status
55
55
 
56
56
  attr_accessor :date_of_birth
@@ -412,7 +412,7 @@ module OpenapiClient
412
412
  return false unless gender_validator.valid?(@gender)
413
413
  ethnicity_validator = EnumAttributeValidator.new('String', ["null", "asian", "black", "hispanic", "mixed", "not_specified", "other", "white"])
414
414
  return false unless ethnicity_validator.valid?(@ethnicity)
415
- marital_status_validator = EnumAttributeValidator.new('String', ["single", "married", "not_specified", "other", "null"])
415
+ marital_status_validator = EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other", "null"])
416
416
  return false unless marital_status_validator.valid?(@marital_status)
417
417
  employment_type_validator = EnumAttributeValidator.new('String', ["null", "full_time", "part_time", "contractor", "other"])
418
418
  return false unless employment_type_validator.valid?(@employment_type)
@@ -442,7 +442,7 @@ module OpenapiClient
442
442
  # Custom attribute writer method checking allowed values (enum).
443
443
  # @param [Object] marital_status Object to be assigned
444
444
  def marital_status=(marital_status)
445
- validator = EnumAttributeValidator.new('String', ["single", "married", "not_specified", "other", "null"])
445
+ validator = EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other", "null"])
446
446
  unless validator.valid?(marital_status)
447
447
  fail ArgumentError, "invalid value for \"marital_status\", must be one of #{validator.allowable_values}."
448
448
  end
@@ -90,6 +90,7 @@ module OpenapiClient
90
90
  # List of attributes with nullable: true
91
91
  def self.openapi_nullable
92
92
  Set.new([
93
+ :'run_state',
93
94
  :'run_type',
94
95
  :'start_date',
95
96
  :'end_date',
@@ -153,10 +154,6 @@ module OpenapiClient
153
154
  invalid_properties.push('invalid value for "remote_id", remote_id cannot be nil.')
154
155
  end
155
156
 
156
- if @run_state.nil?
157
- invalid_properties.push('invalid value for "run_state", run_state cannot be nil.')
158
- end
159
-
160
157
  invalid_properties
161
158
  end
162
159
 
@@ -165,10 +162,9 @@ module OpenapiClient
165
162
  def valid?
166
163
  return false if @id.nil?
167
164
  return false if @remote_id.nil?
168
- return false if @run_state.nil?
169
- run_state_validator = EnumAttributeValidator.new('String', ["paid", "pending"])
165
+ run_state_validator = EnumAttributeValidator.new('String', ["paid", "pending", "null"])
170
166
  return false unless run_state_validator.valid?(@run_state)
171
- run_type_validator = EnumAttributeValidator.new('String', ["regular", "null"])
167
+ run_type_validator = EnumAttributeValidator.new('String', ["regular", "one-time", "off-cycle", "correction", "reversal", "null"])
172
168
  return false unless run_type_validator.valid?(@run_type)
173
169
  true
174
170
  end
@@ -176,7 +172,7 @@ module OpenapiClient
176
172
  # Custom attribute writer method checking allowed values (enum).
177
173
  # @param [Object] run_state Object to be assigned
178
174
  def run_state=(run_state)
179
- validator = EnumAttributeValidator.new('String', ["paid", "pending"])
175
+ validator = EnumAttributeValidator.new('String', ["paid", "pending", "null"])
180
176
  unless validator.valid?(run_state)
181
177
  fail ArgumentError, "invalid value for \"run_state\", must be one of #{validator.allowable_values}."
182
178
  end
@@ -186,7 +182,7 @@ module OpenapiClient
186
182
  # Custom attribute writer method checking allowed values (enum).
187
183
  # @param [Object] run_type Object to be assigned
188
184
  def run_type=(run_type)
189
- validator = EnumAttributeValidator.new('String', ["regular", "null"])
185
+ validator = EnumAttributeValidator.new('String', ["regular", "one-time", "off-cycle", "correction", "reversal", "null"])
190
186
  unless validator.valid?(run_type)
191
187
  fail ArgumentError, "invalid value for \"run_type\", must be one of #{validator.allowable_values}."
192
188
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module OpenapiClient
14
- VERSION = '1.1.77'
14
+ VERSION = '1.1.79'
15
15
  end
@@ -108,7 +108,7 @@ describe OpenapiClient::CreateEmployeeRequest do
108
108
  describe 'test attribute "marital_status"' do
109
109
  it 'should work' do
110
110
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["single", "married", "not_specified"])
111
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other"])
112
112
  # validator.allowable_values.each do |value|
113
113
  # expect { instance.marital_status = value }.not_to raise_error
114
114
  # end
@@ -120,7 +120,7 @@ describe OpenapiClient::EmployeeResponse do
120
120
  describe 'test attribute "marital_status"' do
121
121
  it 'should work' do
122
122
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
123
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["single", "married", "not_specified", "other", "null"])
123
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["single", "married", "divorced", "not_specified", "other", "null"])
124
124
  # validator.allowable_values.each do |value|
125
125
  # expect { instance.marital_status = value }.not_to raise_error
126
126
  # end
@@ -40,7 +40,7 @@ describe OpenapiClient::PayrunResponse do
40
40
  describe 'test attribute "run_state"' do
41
41
  it 'should work' do
42
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["paid", "pending"])
43
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["paid", "pending", "null"])
44
44
  # validator.allowable_values.each do |value|
45
45
  # expect { instance.run_state = value }.not_to raise_error
46
46
  # end
@@ -50,7 +50,7 @@ describe OpenapiClient::PayrunResponse do
50
50
  describe 'test attribute "run_type"' do
51
51
  it 'should work' do
52
52
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["regular", "null"])
53
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["regular", "one-time", "off-cycle", "correction", "reversal", "null"])
54
54
  # validator.allowable_values.each do |value|
55
55
  # expect { instance.run_type = value }.not_to raise_error
56
56
  # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: affixapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.77
4
+ version: 1.1.79
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-21 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus