affixapi 1.1.55 → 1.1.57

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24e7db8feb52927dbdd76b43a9e154482425d74c439f2d678b15bb6505532f4c
4
- data.tar.gz: 5ca537280524dad54b71d8a373505d058b6adf95c79832ec7c321f993c2d74d4
3
+ metadata.gz: 4c52a3bf2e285f0531f4e8d09ffaec8ceeea3e1789326ae1652b45bd281a86bf
4
+ data.tar.gz: d0c0f9ecf5ecb09a0d724cb43e0fe525d06d8d290df3801ebcce11bbde1b09c5
5
5
  SHA512:
6
- metadata.gz: c3bb7dbe4d3d1b942fed2bdb5930c81eccdb61b116c8c1ebb242fa056abf1a23f1927b2a581a261f857578842ee1177ea880221355f632a9be9bb9fc853ce693
7
- data.tar.gz: 271b9542a170956b197213f18af28a38386a38bb1a61896c231320487310142d9c55b292c546e1611cd723db86e133af1836d32b9aacb080a817641aa9cc29cc
6
+ metadata.gz: 67bfee50f89989460c1ff2ecd9d681e2dbd117be93e9b9b0129f8cbae4674f4fa56850187dbac626ff60434d893bde460d4d06cdd158cfa4e35e2ceeb56e4b47
7
+ data.tar.gz: b989331909f7f89e183f514c7b5a2939941408eb89e567b56f669ed305abdbd5e45331c9695bddc07e0068525427451f0abc62d3f7bd0e732281c726d77e3d52
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- affixapi (1.1.55)
4
+ affixapi (1.1.57)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -294,7 +294,7 @@ This endpoint does not need any parameter.
294
294
 
295
295
  Payruns
296
296
 
297
- List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
297
+ 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
298
298
 
299
299
  ### Examples
300
300
 
@@ -294,7 +294,7 @@ This endpoint does not need any parameter.
294
294
 
295
295
  Payruns
296
296
 
297
- List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
297
+ 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
298
298
 
299
299
  ### Examples
300
300
 
@@ -248,7 +248,7 @@ module OpenapiClient
248
248
  end
249
249
 
250
250
  # Payruns
251
- # List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
251
+ # 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
252
252
  # @param start_date [Date] The start date of the search period
253
253
  # @param end_date [Date] The end date of the search period
254
254
  # @param [Hash] opts the optional parameters
@@ -259,7 +259,7 @@ module OpenapiClient
259
259
  end
260
260
 
261
261
  # Payruns
262
- # List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
262
+ # 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
263
263
  # @param start_date [Date] The start date of the search period
264
264
  # @param end_date [Date] The end date of the search period
265
265
  # @param [Hash] opts the optional parameters
@@ -248,7 +248,7 @@ module OpenapiClient
248
248
  end
249
249
 
250
250
  # Payruns
251
- # List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
251
+ # 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
252
252
  # @param start_date [Date] The start date of the search period
253
253
  # @param end_date [Date] The end date of the search period
254
254
  # @param [Hash] opts the optional parameters
@@ -259,7 +259,7 @@ module OpenapiClient
259
259
  end
260
260
 
261
261
  # Payruns
262
- # List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
262
+ # 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
263
263
  # @param start_date [Date] The start date of the search period
264
264
  # @param end_date [Date] The end date of the search period
265
265
  # @param [Hash] opts the optional parameters
@@ -82,7 +82,6 @@ module OpenapiClient
82
82
  :'street_address',
83
83
  :'locality',
84
84
  :'administrative_area',
85
- :'country',
86
85
  :'post_code'
87
86
  ])
88
87
  end
@@ -127,13 +126,18 @@ module OpenapiClient
127
126
  # @return Array for valid properties with the reasons
128
127
  def list_invalid_properties
129
128
  invalid_properties = Array.new
129
+ if @country.nil?
130
+ invalid_properties.push('invalid value for "country", country cannot be nil.')
131
+ end
132
+
130
133
  invalid_properties
131
134
  end
132
135
 
133
136
  # Check to see if the all the properties in the model are valid
134
137
  # @return true if the model is valid
135
138
  def valid?
136
- 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"])
139
+ return false if @country.nil?
140
+ 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"])
137
141
  return false unless country_validator.valid?(@country)
138
142
  true
139
143
  end
@@ -141,7 +145,7 @@ module OpenapiClient
141
145
  # Custom attribute writer method checking allowed values (enum).
142
146
  # @param [Object] country Object to be assigned
143
147
  def country=(country)
144
- 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"])
148
+ 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"])
145
149
  unless validator.valid?(country)
146
150
  fail ArgumentError, "invalid value for \"country\", must be one of #{validator.allowable_values}."
147
151
  end
@@ -133,7 +133,7 @@ module OpenapiClient
133
133
  # Check to see if the all the properties in the model are valid
134
134
  # @return true if the model is valid
135
135
  def valid?
136
- 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"])
136
+ 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"])
137
137
  return false unless country_validator.valid?(@country)
138
138
  true
139
139
  end
@@ -141,7 +141,7 @@ module OpenapiClient
141
141
  # Custom attribute writer method checking allowed values (enum).
142
142
  # @param [Object] country Object to be assigned
143
143
  def country=(country)
144
- 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"])
144
+ 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"])
145
145
  unless validator.valid?(country)
146
146
  fail ArgumentError, "invalid value for \"country\", must be one of #{validator.allowable_values}."
147
147
  end
@@ -32,7 +32,6 @@ module OpenapiClient
32
32
  PAYFIT = "payfit".freeze
33
33
  PERSONIO_DE = "personio.de".freeze
34
34
  PLANDAY = "planday".freeze
35
- QUICKBOOKS_UK = "quickbooks uk".freeze
36
35
  SAGEHR = "sagehr".freeze
37
36
  SAPLINGHR = "saplinghr".freeze
38
37
  STAFFOLOGY = "staffology".freeze
@@ -55,6 +54,8 @@ module OpenapiClient
55
54
  SAGEONE = "sageone".freeze
56
55
  SHAPE_PAYROLL = "shape payroll".freeze
57
56
  SIMPLEPAY_IE = "simplepay.ie".freeze
57
+ QUICKBOOKS_ONLINE = "quickbooks online".freeze
58
+ ZOHO = "zoho".freeze
58
59
 
59
60
  # Builds the enum from string
60
61
  # @param [String] The enum value in the form of the string
@@ -32,7 +32,6 @@ module OpenapiClient
32
32
  PAYFIT = "payfit".freeze
33
33
  PERSONIO_DE = "personio.de".freeze
34
34
  PLANDAY = "planday".freeze
35
- QUICKBOOKS_UK = "quickbooks uk".freeze
36
35
  SAGEHR = "sagehr".freeze
37
36
  SAPLINGHR = "saplinghr".freeze
38
37
  STAFFOLOGY = "staffology".freeze
@@ -55,6 +54,8 @@ module OpenapiClient
55
54
  SAGEONE = "sageone".freeze
56
55
  SHAPE_PAYROLL = "shape payroll".freeze
57
56
  SIMPLEPAY_IE = "simplepay.ie".freeze
57
+ QUICKBOOKS_ONLINE = "quickbooks online".freeze
58
+ ZOHO = "zoho".freeze
58
59
 
59
60
  # Builds the enum from string
60
61
  # @param [String] The enum value in the form of the string
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module OpenapiClient
14
- VERSION = '1.1.55'
14
+ VERSION = '1.1.57'
15
15
  end
@@ -78,7 +78,7 @@ describe 'Class20230301Api' do
78
78
 
79
79
  # unit tests for xhr_payruns20230301
80
80
  # Payruns
81
- # List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
81
+ # 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
82
82
  # @param start_date The start date of the search period
83
83
  # @param end_date The end date of the search period
84
84
  # @param [Hash] opts the optional parameters
@@ -78,7 +78,7 @@ describe 'XHRVerticallyIntegratedApi' do
78
78
 
79
79
  # unit tests for xhr_payruns20230301
80
80
  # Payruns
81
- # List all the pay runs that occurred during the respective period. Supported integrations: - sageone - simplepay.ie - brightpay connect
81
+ # 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
82
82
  # @param start_date The start date of the search period
83
83
  # @param end_date The end date of the search period
84
84
  # @param [Hash] opts the optional parameters
@@ -46,7 +46,7 @@ describe OpenapiClient::AddressNoNonNullRequest do
46
46
  describe 'test attribute "country"' do
47
47
  it 'should work' do
48
48
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
- # 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"])
49
+ # 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"])
50
50
  # validator.allowable_values.each do |value|
51
51
  # expect { instance.country = value }.not_to raise_error
52
52
  # end
@@ -46,7 +46,7 @@ describe OpenapiClient::AddressResponse do
46
46
  describe 'test attribute "country"' do
47
47
  it 'should work' do
48
48
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
- # 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"])
49
+ # 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"])
50
50
  # validator.allowable_values.each do |value|
51
51
  # expect { instance.country = value }.not_to raise_error
52
52
  # 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.55
4
+ version: 1.1.57
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-04-13 00:00:00.000000000 Z
11
+ date: 2024-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -2754,53 +2754,53 @@ signing_key:
2754
2754
  specification_version: 4
2755
2755
  summary: Affix API Ruby Gem
2756
2756
  test_files:
2757
- - spec/api/management_api_spec.rb
2758
2757
  - spec/api/xhr_vertically_integrated_api_spec.rb
2759
2758
  - spec/api/class20230301_api_spec.rb
2759
+ - spec/api/management_api_spec.rb
2760
2760
  - spec/api/core_api_spec.rb
2761
2761
  - spec/api_client_spec.rb
2762
2762
  - spec/configuration_spec.rb
2763
- - spec/models/address_response_spec.rb
2764
- - spec/models/mode_response_spec.rb
2765
- - spec/models/provider_response_spec.rb
2766
- - spec/models/payslip_response_earnings_spec.rb
2767
- - spec/models/payrun_response_spec.rb
2768
- - spec/models/location_response_spec.rb
2769
- - spec/models/payslip_response_spec.rb
2770
- - spec/models/inline_response400_spec.rb
2771
- - spec/models/create_employee_request_bank_account_spec.rb
2772
- - spec/models/scopes_response_spec.rb
2773
- - spec/models/employment_no_null_enum_request_spec.rb
2774
- - spec/models/group_no_null_enum_request_spec.rb
2775
- - spec/models/time_off_entry_response_spec.rb
2776
- - spec/models/provider_request_spec.rb
2777
2763
  - spec/models/payslip_response_contributions_spec.rb
2778
- - spec/models/company_response_spec.rb
2779
2764
  - spec/models/id_and_message_response_spec.rb
2765
+ - spec/models/location_response_spec.rb
2766
+ - spec/models/mode_request_spec.rb
2767
+ - spec/models/group_no_null_enum_request_spec.rb
2780
2768
  - spec/models/time_off_balance_response_spec.rb
2781
- - spec/models/client_request_spec.rb
2782
- - spec/models/token_response_spec.rb
2769
+ - spec/models/currency_not_null_request_spec.rb
2770
+ - spec/models/payrun_response_spec.rb
2783
2771
  - spec/models/employee_response_manager_spec.rb
2784
- - spec/models/group_response_spec.rb
2785
- - spec/models/payslip_response_deductions_spec.rb
2786
- - spec/models/create_employee_request_manager_spec.rb
2787
- - spec/models/employee_response_spec.rb
2772
+ - spec/models/message_response_spec.rb
2788
2773
  - spec/models/payslip_response_taxes_spec.rb
2789
- - spec/models/token_request_spec.rb
2790
- - spec/models/location_no_non_null_request_spec.rb
2774
+ - spec/models/employment_no_null_enum_request_spec.rb
2775
+ - spec/models/inline_response401_spec.rb
2791
2776
  - spec/models/timesheet_response_spec.rb
2777
+ - spec/models/scopes_response_spec.rb
2778
+ - spec/models/time_off_entry_response_spec.rb
2779
+ - spec/models/group_response_spec.rb
2780
+ - spec/models/create_employee_request_spec.rb
2781
+ - spec/models/employment_response_spec.rb
2782
+ - spec/models/payslip_response_earnings_spec.rb
2783
+ - spec/models/inline_response400_spec.rb
2784
+ - spec/models/token_response_spec.rb
2785
+ - spec/models/identity_response_spec.rb
2786
+ - spec/models/provider_response_spec.rb
2787
+ - spec/models/client_request_spec.rb
2788
+ - spec/models/company_response_spec.rb
2792
2789
  - spec/models/address_no_non_null_request_spec.rb
2790
+ - spec/models/payslip_response_spec.rb
2791
+ - spec/models/location_no_non_null_request_spec.rb
2792
+ - spec/models/address_response_spec.rb
2793
+ - spec/models/create_employee_request_manager_spec.rb
2794
+ - spec/models/disconnect_response_spec.rb
2795
+ - spec/models/employee_response_spec.rb
2793
2796
  - spec/models/inline_response409_spec.rb
2797
+ - spec/models/currency_response_spec.rb
2798
+ - spec/models/provider_request_spec.rb
2799
+ - spec/models/payslip_response_deductions_spec.rb
2800
+ - spec/models/token_request_spec.rb
2794
2801
  - spec/models/client_response_spec.rb
2795
2802
  - spec/models/introspect_response_spec.rb
2796
- - spec/models/employment_response_spec.rb
2797
- - spec/models/currency_not_null_request_spec.rb
2798
- - spec/models/currency_response_spec.rb
2799
- - spec/models/identity_response_spec.rb
2800
- - spec/models/message_response_spec.rb
2803
+ - spec/models/mode_response_spec.rb
2801
2804
  - spec/models/scopes_request_spec.rb
2802
- - spec/models/create_employee_request_spec.rb
2803
- - spec/models/inline_response401_spec.rb
2804
- - spec/models/mode_request_spec.rb
2805
- - spec/models/disconnect_response_spec.rb
2805
+ - spec/models/create_employee_request_bank_account_spec.rb
2806
2806
  - spec/spec_helper.rb