Skip to content

Commit

Permalink
fix(provider): add provider
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions-bot committed Apr 16, 2024
1 parent 82f47cc commit 465fc99
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
affixapi (1.1.55)
affixapi (1.1.56)
typhoeus (~> 1.0, >= 1.0.1)

GEM
Expand Down
2 changes: 1 addition & 1 deletion docs/Class20230301Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ This endpoint does not need any parameter.
Payruns

List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
List all the pay runs that occurred during the respective period. Supported integrations: - brain payroll - brightpay connect - deel - gusto - justworks - moorepay - onpay - oyster - parolla.ie - paycircle - payfit - pento.io - quickbooks online - remote.com - rippling - sageone - shape payroll - simplepay.ie - staffology - xero uk

### Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/XHRVerticallyIntegratedApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ This endpoint does not need any parameter.
Payruns

List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
List all the pay runs that occurred during the respective period. Supported integrations: - brain payroll - brightpay connect - deel - gusto - justworks - moorepay - onpay - oyster - parolla.ie - paycircle - payfit - pento.io - quickbooks online - remote.com - rippling - sageone - shape payroll - simplepay.ie - staffology - xero uk

### Examples

Expand Down
4 changes: 2 additions & 2 deletions lib/openapi_client/api/class20230301_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def xhr_identity20230301_with_http_info(opts = {})
end

# Payruns
# List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
# List all the pay runs that occurred during the respective period. Supported integrations: - brain payroll - brightpay connect - deel - gusto - justworks - moorepay - onpay - oyster - parolla.ie - paycircle - payfit - pento.io - quickbooks online - remote.com - rippling - sageone - shape payroll - simplepay.ie - staffology - xero uk
# @param start_date [Date] The start date of the search period
# @param end_date [Date] The end date of the search period
# @param [Hash] opts the optional parameters
Expand All @@ -259,7 +259,7 @@ def xhr_payruns20230301(start_date, end_date, opts = {})
end

# Payruns
# List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
# List all the pay runs that occurred during the respective period. Supported integrations: - brain payroll - brightpay connect - deel - gusto - justworks - moorepay - onpay - oyster - parolla.ie - paycircle - payfit - pento.io - quickbooks online - remote.com - rippling - sageone - shape payroll - simplepay.ie - staffology - xero uk
# @param start_date [Date] The start date of the search period
# @param end_date [Date] The end date of the search period
# @param [Hash] opts the optional parameters
Expand Down
4 changes: 2 additions & 2 deletions lib/openapi_client/api/xhr_vertically_integrated_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def xhr_identity20230301_with_http_info(opts = {})
end

# Payruns
# List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
# List all the pay runs that occurred during the respective period. Supported integrations: - brain payroll - brightpay connect - deel - gusto - justworks - moorepay - onpay - oyster - parolla.ie - paycircle - payfit - pento.io - quickbooks online - remote.com - rippling - sageone - shape payroll - simplepay.ie - staffology - xero uk
# @param start_date [Date] The start date of the search period
# @param end_date [Date] The end date of the search period
# @param [Hash] opts the optional parameters
Expand All @@ -259,7 +259,7 @@ def xhr_payruns20230301(start_date, end_date, opts = {})
end

# Payruns
# List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
# List all the pay runs that occurred during the respective period. Supported integrations: - brain payroll - brightpay connect - deel - gusto - justworks - moorepay - onpay - oyster - parolla.ie - paycircle - payfit - pento.io - quickbooks online - remote.com - rippling - sageone - shape payroll - simplepay.ie - staffology - xero uk
# @param start_date [Date] The start date of the search period
# @param end_date [Date] The end date of the search period
# @param [Hash] opts the optional parameters
Expand Down
4 changes: 2 additions & 2 deletions lib/openapi_client/models/address_no_non_null_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,15 @@ def list_invalid_properties
# Check to see if the all the properties in the model are valid
# @return true if the model is valid
def valid?
country_validator = EnumAttributeValidator.new('String', ["AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "JP", "KR", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
country_validator = EnumAttributeValidator.new('String', ["CA", "US", "MX", "AT", "AU", "BE", "CH", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "IE", "IM", "IS", "IT", "LI", "LT", "LT", "LV", "LU", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "CN", "ID", "IN", "JP", "KR", "MO", "MY", "SG", "HK", "TW"])
return false unless country_validator.valid?(@country)
true
end

# Custom attribute writer method checking allowed values (enum).
# @param [Object] country Object to be assigned
def country=(country)
validator = EnumAttributeValidator.new('String', ["AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "JP", "KR", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
validator = EnumAttributeValidator.new('String', ["CA", "US", "MX", "AT", "AU", "BE", "CH", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "IE", "IM", "IS", "IT", "LI", "LT", "LT", "LV", "LU", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "CN", "ID", "IN", "JP", "KR", "MO", "MY", "SG", "HK", "TW"])
unless validator.valid?(country)
fail ArgumentError, "invalid value for \"country\", must be one of #{validator.allowable_values}."
end
Expand Down
4 changes: 2 additions & 2 deletions lib/openapi_client/models/address_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,15 @@ def list_invalid_properties
# Check to see if the all the properties in the model are valid
# @return true if the model is valid
def valid?
country_validator = EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "KR", "JP", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
country_validator = EnumAttributeValidator.new('String', ["null", "CA", "US", "MX", "AT", "AU", "BE", "CH", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "IE", "IM", "IS", "IT", "LI", "LT", "LT", "LV", "LU", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "CN", "ID", "IN", "JP", "KR", "MO", "MY", "SG", "HK", "TW"])
return false unless country_validator.valid?(@country)
true
end

# Custom attribute writer method checking allowed values (enum).
# @param [Object] country Object to be assigned
def country=(country)
validator = EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "KR", "JP", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
validator = EnumAttributeValidator.new('String', ["null", "CA", "US", "MX", "AT", "AU", "BE", "CH", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "IE", "IM", "IS", "IT", "LI", "LT", "LT", "LV", "LU", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "CN", "ID", "IN", "JP", "KR", "MO", "MY", "SG", "HK", "TW"])
unless validator.valid?(country)
fail ArgumentError, "invalid value for \"country\", must be one of #{validator.allowable_values}."
end
Expand Down
3 changes: 2 additions & 1 deletion lib/openapi_client/models/provider_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class ProviderRequest
PAYFIT = "payfit".freeze
PERSONIO_DE = "personio.de".freeze
PLANDAY = "planday".freeze
QUICKBOOKS_UK = "quickbooks uk".freeze
SAGEHR = "sagehr".freeze
SAPLINGHR = "saplinghr".freeze
STAFFOLOGY = "staffology".freeze
Expand All @@ -55,6 +54,8 @@ class ProviderRequest
SAGEONE = "sageone".freeze
SHAPE_PAYROLL = "shape payroll".freeze
SIMPLEPAY_IE = "simplepay.ie".freeze
QUICKBOOKS_ONLINE = "quickbooks online".freeze
ZOHO = "zoho".freeze

# Builds the enum from string
# @param [String] The enum value in the form of the string
Expand Down
3 changes: 2 additions & 1 deletion lib/openapi_client/models/provider_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class ProviderResponse
PAYFIT = "payfit".freeze
PERSONIO_DE = "personio.de".freeze
PLANDAY = "planday".freeze
QUICKBOOKS_UK = "quickbooks uk".freeze
SAGEHR = "sagehr".freeze
SAPLINGHR = "saplinghr".freeze
STAFFOLOGY = "staffology".freeze
Expand All @@ -55,6 +54,8 @@ class ProviderResponse
SAGEONE = "sageone".freeze
SHAPE_PAYROLL = "shape payroll".freeze
SIMPLEPAY_IE = "simplepay.ie".freeze
QUICKBOOKS_ONLINE = "quickbooks online".freeze
ZOHO = "zoho".freeze

# Builds the enum from string
# @param [String] The enum value in the form of the string
Expand Down
2 changes: 1 addition & 1 deletion lib/openapi_client/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
=end

module OpenapiClient
VERSION = '1.1.55'
VERSION = '1.1.56'
end
2 changes: 1 addition & 1 deletion spec/api/class20230301_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

# unit tests for xhr_payruns20230301
# Payruns
# List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
# List all the pay runs that occurred during the respective period. Supported integrations: - brain payroll - brightpay connect - deel - gusto - justworks - moorepay - onpay - oyster - parolla.ie - paycircle - payfit - pento.io - quickbooks online - remote.com - rippling - sageone - shape payroll - simplepay.ie - staffology - xero uk
# @param start_date The start date of the search period
# @param end_date The end date of the search period
# @param [Hash] opts the optional parameters
Expand Down
2 changes: 1 addition & 1 deletion spec/api/xhr_vertically_integrated_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

# unit tests for xhr_payruns20230301
# Payruns
# List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
# List all the pay runs that occurred during the respective period. Supported integrations: - brain payroll - brightpay connect - deel - gusto - justworks - moorepay - onpay - oyster - parolla.ie - paycircle - payfit - pento.io - quickbooks online - remote.com - rippling - sageone - shape payroll - simplepay.ie - staffology - xero uk
# @param start_date The start date of the search period
# @param end_date The end date of the search period
# @param [Hash] opts the optional parameters
Expand Down
2 changes: 1 addition & 1 deletion spec/models/address_no_non_null_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
describe 'test attribute "country"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "JP", "KR", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["CA", "US", "MX", "AT", "AU", "BE", "CH", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "IE", "IM", "IS", "IT", "LI", "LT", "LT", "LV", "LU", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "CN", "ID", "IN", "JP", "KR", "MO", "MY", "SG", "HK", "TW"])
# validator.allowable_values.each do |value|
# expect { instance.country = value }.not_to raise_error
# end
Expand Down
2 changes: 1 addition & 1 deletion spec/models/address_response_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
describe 'test attribute "country"' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "KR", "JP", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["null", "CA", "US", "MX", "AT", "AU", "BE", "CH", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "IE", "IM", "IS", "IT", "LI", "LT", "LT", "LV", "LU", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "CN", "ID", "IN", "JP", "KR", "MO", "MY", "SG", "HK", "TW"])
# validator.allowable_values.each do |value|
# expect { instance.country = value }.not_to raise_error
# end
Expand Down

0 comments on commit 465fc99

Please sign in to comment.