diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ae88da..bcefb51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ permissions: jobs: publish: runs-on: ubuntu-latest - timeout-minutes: 2 + timeout-minutes: 5 environment: name: rubygems @@ -33,7 +33,7 @@ jobs: - name: pause to avoid 2ndary rate limits # https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#about-secondary-rate-limits run: | - sleep "$(echo $RANDOM % 20 + 1 | bc)" + sleep "$(echo $RANDOM % 90 + 1 | bc)" - uses: cycjimmy/semantic-release-action@v4.0.0 with: diff --git a/Gemfile.lock b/Gemfile.lock index 375f031..e3e867e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - affixapi (1.1.74) + affixapi (1.1.75) typhoeus (~> 1.0, >= 1.0.1) GEM diff --git a/docs/CompensationHistoryNoNonNullRequest.md b/docs/CompensationHistoryNoNonNullRequest.md index 2efb573..defcf4b 100644 --- a/docs/CompensationHistoryNoNonNullRequest.md +++ b/docs/CompensationHistoryNoNonNullRequest.md @@ -10,6 +10,7 @@ | **employment_type** | **String** | | | | **currency** | [**CurrencyNotNullRequest**](CurrencyNotNullRequest.md) | | | | **effective_date** | **Date** | | | +| **notes** | **String** | | | ## Example @@ -22,7 +23,8 @@ instance = OpenapiClient::CompensationHistoryNoNonNullRequest.new( pay_frequency: semimonthly, employment_type: full_time, currency: null, - effective_date: Sun Oct 11 00:00:00 UTC 2020 + effective_date: Sun Oct 11 00:00:00 UTC 2020, + notes: Salary Adjustment ) ``` diff --git a/docs/CompensationHistoryResponse.md b/docs/CompensationHistoryResponse.md index 3758566..6af024e 100644 --- a/docs/CompensationHistoryResponse.md +++ b/docs/CompensationHistoryResponse.md @@ -10,6 +10,7 @@ | **employment_type** | **String** | | | | **currency** | [**CurrencyResponse**](CurrencyResponse.md) | | | | **effective_date** | **Date** | | | +| **notes** | **String** | | | ## Example @@ -22,7 +23,8 @@ instance = OpenapiClient::CompensationHistoryResponse.new( pay_frequency: semimonthly, employment_type: full_time, currency: null, - effective_date: Sun Oct 11 00:00:00 UTC 2020 + effective_date: Sun Oct 11 00:00:00 UTC 2020, + notes: Salary Adjustment ) ``` diff --git a/docs/EmploymentHistoryNoNonNullRequest.md b/docs/EmploymentHistoryNoNonNullRequest.md index d912ab3..c2491c9 100644 --- a/docs/EmploymentHistoryNoNonNullRequest.md +++ b/docs/EmploymentHistoryNoNonNullRequest.md @@ -9,6 +9,8 @@ | **group_id** | **String** | | | | **group_remote_id** | **String** | | | | **group_name** | **String** | | | +| **manager_id** | **String** | | | +| **manager_remote_id** | **String** | | | ## Example @@ -20,7 +22,9 @@ instance = OpenapiClient::EmploymentHistoryNoNonNullRequest.new( effective_date: Sun Oct 11 00:00:00 UTC 2020, group_id: 4B9bKBpX5tnwjiG93TAqF7ci, group_remote_id: 49, - group_name: Engineering + group_name: Engineering, + manager_id: null, + manager_remote_id: null ) ``` diff --git a/docs/EmploymentHistoryResponse.md b/docs/EmploymentHistoryResponse.md index d0affd7..752e9de 100644 --- a/docs/EmploymentHistoryResponse.md +++ b/docs/EmploymentHistoryResponse.md @@ -9,6 +9,8 @@ | **group_id** | **String** | | | | **group_remote_id** | **String** | | | | **group_name** | **String** | | | +| **manager_id** | **String** | | | +| **manager_remote_id** | **String** | | | ## Example @@ -20,7 +22,9 @@ instance = OpenapiClient::EmploymentHistoryResponse.new( effective_date: Sun Oct 11 00:00:00 UTC 2020, group_id: 4B9bKBpX5tnwjiG93TAqF7ci, group_remote_id: 49, - group_name: Engineering + group_name: Engineering, + manager_id: null, + manager_remote_id: null ) ``` diff --git a/lib/openapi_client/models/compensation_history_no_non_null_request.rb b/lib/openapi_client/models/compensation_history_no_non_null_request.rb index 1cae4cb..faa1c65 100644 --- a/lib/openapi_client/models/compensation_history_no_non_null_request.rb +++ b/lib/openapi_client/models/compensation_history_no_non_null_request.rb @@ -27,6 +27,8 @@ class CompensationHistoryNoNonNullRequest attr_accessor :effective_date + attr_accessor :notes + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -57,7 +59,8 @@ def self.attribute_map :'pay_frequency' => :'pay_frequency', :'employment_type' => :'employment_type', :'currency' => :'currency', - :'effective_date' => :'effective_date' + :'effective_date' => :'effective_date', + :'notes' => :'notes' } end @@ -74,7 +77,8 @@ def self.openapi_types :'pay_frequency' => :'String', :'employment_type' => :'String', :'currency' => :'CurrencyNotNullRequest', - :'effective_date' => :'Date' + :'effective_date' => :'Date', + :'notes' => :'String' } end @@ -123,6 +127,10 @@ def initialize(attributes = {}) if attributes.key?(:'effective_date') self.effective_date = attributes[:'effective_date'] end + + if attributes.key?(:'notes') + self.notes = attributes[:'notes'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -149,6 +157,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "effective_date", effective_date cannot be nil.') end + if @notes.nil? + invalid_properties.push('invalid value for "notes", notes cannot be nil.') + end + invalid_properties end @@ -164,6 +176,7 @@ def valid? employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "other"]) return false unless employment_type_validator.valid?(@employment_type) return false if @effective_date.nil? + return false if @notes.nil? true end @@ -197,7 +210,8 @@ def ==(o) pay_frequency == o.pay_frequency && employment_type == o.employment_type && currency == o.currency && - effective_date == o.effective_date + effective_date == o.effective_date && + notes == o.notes end # @see the `==` method @@ -209,7 +223,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [pay_rate, pay_period, pay_frequency, employment_type, currency, effective_date].hash + [pay_rate, pay_period, pay_frequency, employment_type, currency, effective_date, notes].hash end # Builds the object from hash diff --git a/lib/openapi_client/models/compensation_history_response.rb b/lib/openapi_client/models/compensation_history_response.rb index 53bb75c..a7fcf2f 100644 --- a/lib/openapi_client/models/compensation_history_response.rb +++ b/lib/openapi_client/models/compensation_history_response.rb @@ -27,6 +27,8 @@ class CompensationHistoryResponse attr_accessor :effective_date + attr_accessor :notes + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -57,7 +59,8 @@ def self.attribute_map :'pay_frequency' => :'pay_frequency', :'employment_type' => :'employment_type', :'currency' => :'currency', - :'effective_date' => :'effective_date' + :'effective_date' => :'effective_date', + :'notes' => :'notes' } end @@ -74,7 +77,8 @@ def self.openapi_types :'pay_frequency' => :'String', :'employment_type' => :'String', :'currency' => :'CurrencyResponse', - :'effective_date' => :'Date' + :'effective_date' => :'Date', + :'notes' => :'String' } end @@ -86,7 +90,8 @@ def self.openapi_nullable :'pay_frequency', :'employment_type', :'currency', - :'effective_date' + :'effective_date', + :'notes' ]) end @@ -128,6 +133,10 @@ def initialize(attributes = {}) if attributes.key?(:'effective_date') self.effective_date = attributes[:'effective_date'] end + + if attributes.key?(:'notes') + self.notes = attributes[:'notes'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -177,7 +186,8 @@ def ==(o) pay_frequency == o.pay_frequency && employment_type == o.employment_type && currency == o.currency && - effective_date == o.effective_date + effective_date == o.effective_date && + notes == o.notes end # @see the `==` method @@ -189,7 +199,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [pay_rate, pay_period, pay_frequency, employment_type, currency, effective_date].hash + [pay_rate, pay_period, pay_frequency, employment_type, currency, effective_date, notes].hash end # Builds the object from hash diff --git a/lib/openapi_client/models/employment_history_no_non_null_request.rb b/lib/openapi_client/models/employment_history_no_non_null_request.rb index 441c916..d659e83 100644 --- a/lib/openapi_client/models/employment_history_no_non_null_request.rb +++ b/lib/openapi_client/models/employment_history_no_non_null_request.rb @@ -25,6 +25,10 @@ class EmploymentHistoryNoNonNullRequest attr_accessor :group_name + attr_accessor :manager_id + + attr_accessor :manager_remote_id + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -32,7 +36,9 @@ def self.attribute_map :'effective_date' => :'effective_date', :'group_id' => :'group_id', :'group_remote_id' => :'group_remote_id', - :'group_name' => :'group_name' + :'group_name' => :'group_name', + :'manager_id' => :'manager_id', + :'manager_remote_id' => :'manager_remote_id' } end @@ -48,7 +54,9 @@ def self.openapi_types :'effective_date' => :'Date', :'group_id' => :'String', :'group_remote_id' => :'String', - :'group_name' => :'String' + :'group_name' => :'String', + :'manager_id' => :'String', + :'manager_remote_id' => :'String' } end @@ -57,7 +65,9 @@ def self.openapi_nullable Set.new([ :'group_id', :'group_remote_id', - :'group_name' + :'group_name', + :'manager_id', + :'manager_remote_id' ]) end @@ -95,6 +105,14 @@ def initialize(attributes = {}) if attributes.key?(:'group_name') self.group_name = attributes[:'group_name'] end + + if attributes.key?(:'manager_id') + self.manager_id = attributes[:'manager_id'] + end + + if attributes.key?(:'manager_remote_id') + self.manager_remote_id = attributes[:'manager_remote_id'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -129,7 +147,9 @@ def ==(o) effective_date == o.effective_date && group_id == o.group_id && group_remote_id == o.group_remote_id && - group_name == o.group_name + group_name == o.group_name && + manager_id == o.manager_id && + manager_remote_id == o.manager_remote_id end # @see the `==` method @@ -141,7 +161,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [job_title, effective_date, group_id, group_remote_id, group_name].hash + [job_title, effective_date, group_id, group_remote_id, group_name, manager_id, manager_remote_id].hash end # Builds the object from hash diff --git a/lib/openapi_client/models/employment_history_response.rb b/lib/openapi_client/models/employment_history_response.rb index c385b4c..652b3d1 100644 --- a/lib/openapi_client/models/employment_history_response.rb +++ b/lib/openapi_client/models/employment_history_response.rb @@ -25,6 +25,10 @@ class EmploymentHistoryResponse attr_accessor :group_name + attr_accessor :manager_id + + attr_accessor :manager_remote_id + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -32,7 +36,9 @@ def self.attribute_map :'effective_date' => :'effective_date', :'group_id' => :'group_id', :'group_remote_id' => :'group_remote_id', - :'group_name' => :'group_name' + :'group_name' => :'group_name', + :'manager_id' => :'manager_id', + :'manager_remote_id' => :'manager_remote_id' } end @@ -48,7 +54,9 @@ def self.openapi_types :'effective_date' => :'Date', :'group_id' => :'String', :'group_remote_id' => :'String', - :'group_name' => :'String' + :'group_name' => :'String', + :'manager_id' => :'String', + :'manager_remote_id' => :'String' } end @@ -59,7 +67,9 @@ def self.openapi_nullable :'effective_date', :'group_id', :'group_remote_id', - :'group_name' + :'group_name', + :'manager_id', + :'manager_remote_id' ]) end @@ -97,6 +107,14 @@ def initialize(attributes = {}) if attributes.key?(:'group_name') self.group_name = attributes[:'group_name'] end + + if attributes.key?(:'manager_id') + self.manager_id = attributes[:'manager_id'] + end + + if attributes.key?(:'manager_remote_id') + self.manager_remote_id = attributes[:'manager_remote_id'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -121,7 +139,9 @@ def ==(o) effective_date == o.effective_date && group_id == o.group_id && group_remote_id == o.group_remote_id && - group_name == o.group_name + group_name == o.group_name && + manager_id == o.manager_id && + manager_remote_id == o.manager_remote_id end # @see the `==` method @@ -133,7 +153,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [job_title, effective_date, group_id, group_remote_id, group_name].hash + [job_title, effective_date, group_id, group_remote_id, group_name, manager_id, manager_remote_id].hash end # Builds the object from hash diff --git a/lib/openapi_client/version.rb b/lib/openapi_client/version.rb index 5d7fc49..16e11f6 100644 --- a/lib/openapi_client/version.rb +++ b/lib/openapi_client/version.rb @@ -11,5 +11,5 @@ =end module OpenapiClient - VERSION = '1.1.74' + VERSION = '1.1.75' end diff --git a/spec/models/compensation_history_no_non_null_request_spec.rb b/spec/models/compensation_history_no_non_null_request_spec.rb index 502dcc2..0f3c972 100644 --- a/spec/models/compensation_history_no_non_null_request_spec.rb +++ b/spec/models/compensation_history_no_non_null_request_spec.rb @@ -69,4 +69,10 @@ end end + describe 'test attribute "notes"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/spec/models/compensation_history_response_spec.rb b/spec/models/compensation_history_response_spec.rb index 636d8c1..b185a0c 100644 --- a/spec/models/compensation_history_response_spec.rb +++ b/spec/models/compensation_history_response_spec.rb @@ -69,4 +69,10 @@ end end + describe 'test attribute "notes"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/spec/models/employment_history_no_non_null_request_spec.rb b/spec/models/employment_history_no_non_null_request_spec.rb index 27cbd88..5628bd4 100644 --- a/spec/models/employment_history_no_non_null_request_spec.rb +++ b/spec/models/employment_history_no_non_null_request_spec.rb @@ -55,4 +55,16 @@ end end + describe 'test attribute "manager_id"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "manager_remote_id"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/spec/models/employment_history_response_spec.rb b/spec/models/employment_history_response_spec.rb index 1f7130a..6f857b3 100644 --- a/spec/models/employment_history_response_spec.rb +++ b/spec/models/employment_history_response_spec.rb @@ -55,4 +55,16 @@ end end + describe 'test attribute "manager_id"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "manager_remote_id"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end