affixapi 1.1.72 → 1.1.74

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: 7718a95f2ceb6e6a9b146a841bd45a6aa20e86f4c559259667f9eb0c30f7b1d6
4
- data.tar.gz: d2ae01c9eac9ac098db590df74a2aa2f173eaaa321476a970ce4c49ec12f0a36
3
+ metadata.gz: 4a0720d1eb8646fed3344a7b4840e7e95ed794755661514e74ff45a06c3e060d
4
+ data.tar.gz: eda86a58e72346c04a40d8dbfcd55ca99b5789400024e170705b341bfcc5995c
5
5
  SHA512:
6
- metadata.gz: 108c9465a221f81fcd875aad1136577ff474493f938f736c61764d03c47aa08cf1fb610fb9156ffbeed59819889ecfc4ef1db88283b7fc4fa80c1e648db6b802
7
- data.tar.gz: c7d56ba78100a948a62c99acb20233ddbf7d559056a41a2a2d0b2033c928e29987c0848733ff163a6d8dc071de80bd78fee092359ee1665abb9eddddf513922e
6
+ metadata.gz: bbe40924323dbff76f0e36d813164df12fc0f33982999d018aba03069821533c510f40bc67a240b6ff81d24bd979a79a9f9728aec8827302a54f96f4309dbe2a
7
+ data.tar.gz: dd875f8c2203bc7de9bc62abd5f73fee5859840f6b04622d0eed9ac377717116269a97cb27abe622764947507e59e6ca1dda0eac9afd3cfdf82b6ecf5878c34c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- affixapi (1.1.72)
4
+ affixapi (1.1.74)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -331,7 +331,7 @@ Class | Method | HTTP request | Description
331
331
  - [OpenapiClient::CreateEmployeeRequestDependents](docs/CreateEmployeeRequestDependents.md)
332
332
  - [OpenapiClient::CreateEmployeeRequestEmergencyContacts](docs/CreateEmployeeRequestEmergencyContacts.md)
333
333
  - [OpenapiClient::CreateEmployeeRequestManager](docs/CreateEmployeeRequestManager.md)
334
- - [OpenapiClient::CurrencyRequest](docs/CurrencyRequest.md)
334
+ - [OpenapiClient::CurrencyNotNullRequest](docs/CurrencyNotNullRequest.md)
335
335
  - [OpenapiClient::CurrencyResponse](docs/CurrencyResponse.md)
336
336
  - [OpenapiClient::DisconnectResponse](docs/DisconnectResponse.md)
337
337
  - [OpenapiClient::EmployeeResponse](docs/EmployeeResponse.md)
@@ -8,7 +8,7 @@
8
8
  | **pay_period** | **String** | | |
9
9
  | **pay_frequency** | **String** | | |
10
10
  | **employment_type** | **String** | | |
11
- | **currency** | [**CurrencyRequest**](CurrencyRequest.md) | | |
11
+ | **currency** | [**CurrencyNotNullRequest**](CurrencyNotNullRequest.md) | | |
12
12
  | **effective_date** | **Date** | | |
13
13
 
14
14
  ## Example
@@ -1,4 +1,4 @@
1
- # OpenapiClient::CurrencyRequest
1
+ # OpenapiClient::CurrencyNotNullRequest
2
2
 
3
3
  ## Properties
4
4
 
@@ -10,6 +10,6 @@
10
10
  ```ruby
11
11
  require 'openapi_client'
12
12
 
13
- instance = OpenapiClient::CurrencyRequest.new()
13
+ instance = OpenapiClient::CurrencyNotNullRequest.new()
14
14
  ```
15
15
 
@@ -73,7 +73,7 @@ module OpenapiClient
73
73
  :'pay_period' => :'String',
74
74
  :'pay_frequency' => :'String',
75
75
  :'employment_type' => :'String',
76
- :'currency' => :'CurrencyRequest',
76
+ :'currency' => :'CurrencyNotNullRequest',
77
77
  :'effective_date' => :'Date'
78
78
  }
79
79
  end
@@ -158,7 +158,7 @@ module OpenapiClient
158
158
  return false if @pay_rate.nil?
159
159
  return false if @pay_period.nil?
160
160
  return false if @pay_frequency.nil?
161
- pay_frequency_validator = EnumAttributeValidator.new('String', ["weekly", "biweekly", "semimonthly", "monthly", "other"])
161
+ pay_frequency_validator = EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other"])
162
162
  return false unless pay_frequency_validator.valid?(@pay_frequency)
163
163
  return false if @employment_type.nil?
164
164
  employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "other"])
@@ -170,7 +170,7 @@ module OpenapiClient
170
170
  # Custom attribute writer method checking allowed values (enum).
171
171
  # @param [Object] pay_frequency Object to be assigned
172
172
  def pay_frequency=(pay_frequency)
173
- validator = EnumAttributeValidator.new('String', ["weekly", "biweekly", "semimonthly", "monthly", "other"])
173
+ validator = EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other"])
174
174
  unless validator.valid?(pay_frequency)
175
175
  fail ArgumentError, "invalid value for \"pay_frequency\", must be one of #{validator.allowable_values}."
176
176
  end
@@ -140,7 +140,7 @@ module OpenapiClient
140
140
  # Check to see if the all the properties in the model are valid
141
141
  # @return true if the model is valid
142
142
  def valid?
143
- pay_frequency_validator = EnumAttributeValidator.new('String', ["weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
143
+ pay_frequency_validator = EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
144
144
  return false unless pay_frequency_validator.valid?(@pay_frequency)
145
145
  employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "other", "null"])
146
146
  return false unless employment_type_validator.valid?(@employment_type)
@@ -150,7 +150,7 @@ module OpenapiClient
150
150
  # Custom attribute writer method checking allowed values (enum).
151
151
  # @param [Object] pay_frequency Object to be assigned
152
152
  def pay_frequency=(pay_frequency)
153
- validator = EnumAttributeValidator.new('String', ["weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
153
+ validator = EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
154
154
  unless validator.valid?(pay_frequency)
155
155
  fail ArgumentError, "invalid value for \"pay_frequency\", must be one of #{validator.allowable_values}."
156
156
  end
@@ -14,8 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module OpenapiClient
17
- class CurrencyRequest
18
- NULL = "null".freeze
17
+ class CurrencyNotNullRequest
19
18
  USD = "usd".freeze
20
19
  GBP = "gbp".freeze
21
20
  EUR = "eur".freeze
@@ -31,8 +30,8 @@ module OpenapiClient
31
30
  # @param [String] The enum value in the form of the string
32
31
  # @return [String] The enum value
33
32
  def build_from_hash(value)
34
- constantValues = CurrencyRequest.constants.select { |c| CurrencyRequest::const_get(c) == value }
35
- raise "Invalid ENUM value #{value} for class #CurrencyRequest" if constantValues.empty?
33
+ constantValues = CurrencyNotNullRequest.constants.select { |c| CurrencyNotNullRequest::const_get(c) == value }
34
+ raise "Invalid ENUM value #{value} for class #CurrencyNotNullRequest" if constantValues.empty?
36
35
  value
37
36
  end
38
37
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module OpenapiClient
14
- VERSION = '1.1.72'
14
+ VERSION = '1.1.74'
15
15
  end
@@ -29,7 +29,7 @@ require 'openapi_client/models/create_employee_request_bank_account'
29
29
  require 'openapi_client/models/create_employee_request_dependents'
30
30
  require 'openapi_client/models/create_employee_request_emergency_contacts'
31
31
  require 'openapi_client/models/create_employee_request_manager'
32
- require 'openapi_client/models/currency_request'
32
+ require 'openapi_client/models/currency_not_null_request'
33
33
  require 'openapi_client/models/currency_response'
34
34
  require 'openapi_client/models/disconnect_response'
35
35
  require 'openapi_client/models/employee_response'
@@ -40,7 +40,7 @@ describe OpenapiClient::CompensationHistoryNoNonNullRequest do
40
40
  describe 'test attribute "pay_frequency"' 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', ["weekly", "biweekly", "semimonthly", "monthly", "other"])
43
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other"])
44
44
  # validator.allowable_values.each do |value|
45
45
  # expect { instance.pay_frequency = value }.not_to raise_error
46
46
  # end
@@ -40,7 +40,7 @@ describe OpenapiClient::CompensationHistoryResponse do
40
40
  describe 'test attribute "pay_frequency"' 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', ["weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
43
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
44
44
  # validator.allowable_values.each do |value|
45
45
  # expect { instance.pay_frequency = value }.not_to raise_error
46
46
  # end
@@ -14,15 +14,15 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for OpenapiClient::CurrencyRequest
17
+ # Unit tests for OpenapiClient::CurrencyNotNullRequest
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe OpenapiClient::CurrencyRequest do
21
- let(:instance) { OpenapiClient::CurrencyRequest.new }
20
+ describe OpenapiClient::CurrencyNotNullRequest do
21
+ let(:instance) { OpenapiClient::CurrencyNotNullRequest.new }
22
22
 
23
- describe 'test an instance of CurrencyRequest' do
24
- it 'should create an instance of CurrencyRequest' do
25
- expect(instance).to be_instance_of(OpenapiClient::CurrencyRequest)
23
+ describe 'test an instance of CurrencyNotNullRequest' do
24
+ it 'should create an instance of CurrencyNotNullRequest' do
25
+ expect(instance).to be_instance_of(OpenapiClient::CurrencyNotNullRequest)
26
26
  end
27
27
  end
28
28
  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.72
4
+ version: 1.1.74
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-09 00:00:00.000000000 Z
11
+ date: 2024-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -136,7 +136,7 @@ files:
136
136
  - docs/CreateEmployeeRequestDependents.md
137
137
  - docs/CreateEmployeeRequestEmergencyContacts.md
138
138
  - docs/CreateEmployeeRequestManager.md
139
- - docs/CurrencyRequest.md
139
+ - docs/CurrencyNotNullRequest.md
140
140
  - docs/CurrencyResponse.md
141
141
  - docs/DisconnectResponse.md
142
142
  - docs/EmployeeResponse.md
@@ -198,7 +198,7 @@ files:
198
198
  - lib/openapi_client/models/create_employee_request_dependents.rb
199
199
  - lib/openapi_client/models/create_employee_request_emergency_contacts.rb
200
200
  - lib/openapi_client/models/create_employee_request_manager.rb
201
- - lib/openapi_client/models/currency_request.rb
201
+ - lib/openapi_client/models/currency_not_null_request.rb
202
202
  - lib/openapi_client/models/currency_response.rb
203
203
  - lib/openapi_client/models/disconnect_response.rb
204
204
  - lib/openapi_client/models/employee_response.rb
@@ -256,7 +256,7 @@ files:
256
256
  - spec/models/create_employee_request_emergency_contacts_spec.rb
257
257
  - spec/models/create_employee_request_manager_spec.rb
258
258
  - spec/models/create_employee_request_spec.rb
259
- - spec/models/currency_request_spec.rb
259
+ - spec/models/currency_not_null_request_spec.rb
260
260
  - spec/models/currency_response_spec.rb
261
261
  - spec/models/disconnect_response_spec.rb
262
262
  - spec/models/employee_response_manager_spec.rb
@@ -2786,12 +2786,12 @@ test_files:
2786
2786
  - spec/configuration_spec.rb
2787
2787
  - spec/models/payslip_response_contributions_spec.rb
2788
2788
  - spec/models/id_and_message_response_spec.rb
2789
- - spec/models/currency_request_spec.rb
2790
2789
  - spec/models/compensation_history_response_spec.rb
2791
2790
  - spec/models/location_response_spec.rb
2792
2791
  - spec/models/mode_request_spec.rb
2793
2792
  - spec/models/group_no_null_enum_request_spec.rb
2794
2793
  - spec/models/time_off_balance_response_spec.rb
2794
+ - spec/models/currency_not_null_request_spec.rb
2795
2795
  - spec/models/payrun_response_spec.rb
2796
2796
  - spec/models/employee_response_manager_spec.rb
2797
2797
  - spec/models/message_response_spec.rb