affixapi 1.1.47 → 1.1.48

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: a0a6f40f22d4ace62bed51f43478d51f4abc152de6e267ec1e92d19dc3462fb2
4
- data.tar.gz: 4e3f6d4d5ae1f397a7bd3d680cfeb34a4f9a8d823f4ffe109b9c85c5255b1ace
3
+ metadata.gz: cad23adb460772e227ff660e464d1bbe9e614790b9d85e72fd5c09da73ec7bfd
4
+ data.tar.gz: 1baf5b50a369559de1933306e319cfac56163754b02735ae78551a5b8e7c799b
5
5
  SHA512:
6
- metadata.gz: 1e8128c12396ec2de63613d1b43de1d05765f55d1609ab3687817ae6cb6ccaa7d630e2da05242dfaf5cd19ed5641d0a237c0a7907a15cb9a5a01e38b4158e7e9
7
- data.tar.gz: a66b4c6f5ba5fd5b8e286a723dfbedce718fc75cba0f55102c2b33fea58b1a72aadaf81e7ddb486ed74d916e07b06b26bd3cb9305e0225a8e6167f5e4e191cec
6
+ metadata.gz: 0d569b67d981c66bf530c1672c7da88b0946f87797f58346e8451ca6e1d2220e9e5d6e4b186525695538950984869e546a15434457537c859fd08697ca9e993d
7
+ data.tar.gz: c67946cd60c5c444e9f2fed2e8ac4079dfba151e65fba02ae4883ea80b5b985eed4871fc01fbf7b14d207dc287631007b4bf0931b8fb22386d70b3b73a482dfa
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- affixapi (1.1.47)
4
+ affixapi (1.1.48)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -289,7 +289,6 @@ All URIs are relative to *https://api.affixapi.com*
289
289
  Class | Method | HTTP request | Description
290
290
  ------------ | ------------- | ------------- | -------------
291
291
  *OpenapiClient::Class20230301Api* | [**xhr_companies20230301**](docs/Class20230301Api.md#xhr_companies20230301) | **GET** /2023-03-01/xhr/company | Company
292
- *OpenapiClient::Class20230301Api* | [**xhr_create_employee20230301**](docs/Class20230301Api.md#xhr_create_employee20230301) | **POST** /2023-03-01/xhr/employee | Create employee
293
292
  *OpenapiClient::Class20230301Api* | [**xhr_employees20230301**](docs/Class20230301Api.md#xhr_employees20230301) | **GET** /2023-03-01/xhr/employees | Employees
294
293
  *OpenapiClient::Class20230301Api* | [**xhr_groups20230301**](docs/Class20230301Api.md#xhr_groups20230301) | **GET** /2023-03-01/xhr/groups | Groups
295
294
  *OpenapiClient::Class20230301Api* | [**xhr_identity20230301**](docs/Class20230301Api.md#xhr_identity20230301) | **GET** /2023-03-01/xhr/identity | Identity
@@ -307,7 +306,6 @@ Class | Method | HTTP request | Description
307
306
  *OpenapiClient::ManagementApi* | [**tokens**](docs/ManagementApi.md#tokens) | **GET** /2023-03-01/management/tokens | Tokens
308
307
  *OpenapiClient::ManagementApi* | [**update_client**](docs/ManagementApi.md#update_client) | **POST** /2023-03-01/management/client | Update client
309
308
  *OpenapiClient::XHRVerticallyIntegratedApi* | [**xhr_companies20230301**](docs/XHRVerticallyIntegratedApi.md#xhr_companies20230301) | **GET** /2023-03-01/xhr/company | Company
310
- *OpenapiClient::XHRVerticallyIntegratedApi* | [**xhr_create_employee20230301**](docs/XHRVerticallyIntegratedApi.md#xhr_create_employee20230301) | **POST** /2023-03-01/xhr/employee | Create employee
311
309
  *OpenapiClient::XHRVerticallyIntegratedApi* | [**xhr_employees20230301**](docs/XHRVerticallyIntegratedApi.md#xhr_employees20230301) | **GET** /2023-03-01/xhr/employees | Employees
312
310
  *OpenapiClient::XHRVerticallyIntegratedApi* | [**xhr_groups20230301**](docs/XHRVerticallyIntegratedApi.md#xhr_groups20230301) | **GET** /2023-03-01/xhr/groups | Groups
313
311
  *OpenapiClient::XHRVerticallyIntegratedApi* | [**xhr_identity20230301**](docs/XHRVerticallyIntegratedApi.md#xhr_identity20230301) | **GET** /2023-03-01/xhr/identity | Identity
@@ -5,7 +5,6 @@ All URIs are relative to *https://api.affixapi.com*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**xhr_companies20230301**](Class20230301Api.md#xhr_companies20230301) | **GET** /2023-03-01/xhr/company | Company |
8
- | [**xhr_create_employee20230301**](Class20230301Api.md#xhr_create_employee20230301) | **POST** /2023-03-01/xhr/employee | Create employee |
9
8
  | [**xhr_employees20230301**](Class20230301Api.md#xhr_employees20230301) | **GET** /2023-03-01/xhr/employees | Employees |
10
9
  | [**xhr_groups20230301**](Class20230301Api.md#xhr_groups20230301) | **GET** /2023-03-01/xhr/groups | Groups |
11
10
  | [**xhr_identity20230301**](Class20230301Api.md#xhr_identity20230301) | **GET** /2023-03-01/xhr/identity | Identity |
@@ -85,77 +84,6 @@ This endpoint does not need any parameter.
85
84
  - **Accept**: application/json
86
85
 
87
86
 
88
- ## xhr_create_employee20230301
89
-
90
- > <EmployeeResponse> xhr_create_employee20230301(create_employee_request)
91
-
92
- Create employee
93
-
94
- Creates a new Employee
95
-
96
- ### Examples
97
-
98
- ```ruby
99
- require 'time'
100
- require 'openapi_client'
101
- # setup authorization
102
- OpenapiClient.configure do |config|
103
- # Configure API key authorization: access-token
104
- config.api_key['access-token'] = 'YOUR API KEY'
105
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
106
- # config.api_key_prefix['access-token'] = 'Bearer'
107
- end
108
-
109
- api_instance = OpenapiClient::Class20230301Api.new
110
- create_employee_request = OpenapiClient::CreateEmployeeRequest.new({first_name: 'Greg', last_name: 'Hirsch'}) # CreateEmployeeRequest |
111
-
112
- begin
113
- # Create employee
114
- result = api_instance.xhr_create_employee20230301(create_employee_request)
115
- p result
116
- rescue OpenapiClient::ApiError => e
117
- puts "Error when calling Class20230301Api->xhr_create_employee20230301: #{e}"
118
- end
119
- ```
120
-
121
- #### Using the xhr_create_employee20230301_with_http_info variant
122
-
123
- This returns an Array which contains the response data, status code and headers.
124
-
125
- > <Array(<EmployeeResponse>, Integer, Hash)> xhr_create_employee20230301_with_http_info(create_employee_request)
126
-
127
- ```ruby
128
- begin
129
- # Create employee
130
- data, status_code, headers = api_instance.xhr_create_employee20230301_with_http_info(create_employee_request)
131
- p status_code # => 2xx
132
- p headers # => { ... }
133
- p data # => <EmployeeResponse>
134
- rescue OpenapiClient::ApiError => e
135
- puts "Error when calling Class20230301Api->xhr_create_employee20230301_with_http_info: #{e}"
136
- end
137
- ```
138
-
139
- ### Parameters
140
-
141
- | Name | Type | Description | Notes |
142
- | ---- | ---- | ----------- | ----- |
143
- | **create_employee_request** | [**CreateEmployeeRequest**](CreateEmployeeRequest.md) | | |
144
-
145
- ### Return type
146
-
147
- [**EmployeeResponse**](EmployeeResponse.md)
148
-
149
- ### Authorization
150
-
151
- [access-token](../README.md#access-token)
152
-
153
- ### HTTP request headers
154
-
155
- - **Content-Type**: application/json
156
- - **Accept**: application/json
157
-
158
-
159
87
  ## xhr_employees20230301
160
88
 
161
89
  > <Array<EmployeeResponse>> xhr_employees20230301
@@ -5,7 +5,6 @@ All URIs are relative to *https://api.affixapi.com*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**xhr_companies20230301**](XHRVerticallyIntegratedApi.md#xhr_companies20230301) | **GET** /2023-03-01/xhr/company | Company |
8
- | [**xhr_create_employee20230301**](XHRVerticallyIntegratedApi.md#xhr_create_employee20230301) | **POST** /2023-03-01/xhr/employee | Create employee |
9
8
  | [**xhr_employees20230301**](XHRVerticallyIntegratedApi.md#xhr_employees20230301) | **GET** /2023-03-01/xhr/employees | Employees |
10
9
  | [**xhr_groups20230301**](XHRVerticallyIntegratedApi.md#xhr_groups20230301) | **GET** /2023-03-01/xhr/groups | Groups |
11
10
  | [**xhr_identity20230301**](XHRVerticallyIntegratedApi.md#xhr_identity20230301) | **GET** /2023-03-01/xhr/identity | Identity |
@@ -85,77 +84,6 @@ This endpoint does not need any parameter.
85
84
  - **Accept**: application/json
86
85
 
87
86
 
88
- ## xhr_create_employee20230301
89
-
90
- > <EmployeeResponse> xhr_create_employee20230301(create_employee_request)
91
-
92
- Create employee
93
-
94
- Creates a new Employee
95
-
96
- ### Examples
97
-
98
- ```ruby
99
- require 'time'
100
- require 'openapi_client'
101
- # setup authorization
102
- OpenapiClient.configure do |config|
103
- # Configure API key authorization: access-token
104
- config.api_key['access-token'] = 'YOUR API KEY'
105
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
106
- # config.api_key_prefix['access-token'] = 'Bearer'
107
- end
108
-
109
- api_instance = OpenapiClient::XHRVerticallyIntegratedApi.new
110
- create_employee_request = OpenapiClient::CreateEmployeeRequest.new({first_name: 'Greg', last_name: 'Hirsch'}) # CreateEmployeeRequest |
111
-
112
- begin
113
- # Create employee
114
- result = api_instance.xhr_create_employee20230301(create_employee_request)
115
- p result
116
- rescue OpenapiClient::ApiError => e
117
- puts "Error when calling XHRVerticallyIntegratedApi->xhr_create_employee20230301: #{e}"
118
- end
119
- ```
120
-
121
- #### Using the xhr_create_employee20230301_with_http_info variant
122
-
123
- This returns an Array which contains the response data, status code and headers.
124
-
125
- > <Array(<EmployeeResponse>, Integer, Hash)> xhr_create_employee20230301_with_http_info(create_employee_request)
126
-
127
- ```ruby
128
- begin
129
- # Create employee
130
- data, status_code, headers = api_instance.xhr_create_employee20230301_with_http_info(create_employee_request)
131
- p status_code # => 2xx
132
- p headers # => { ... }
133
- p data # => <EmployeeResponse>
134
- rescue OpenapiClient::ApiError => e
135
- puts "Error when calling XHRVerticallyIntegratedApi->xhr_create_employee20230301_with_http_info: #{e}"
136
- end
137
- ```
138
-
139
- ### Parameters
140
-
141
- | Name | Type | Description | Notes |
142
- | ---- | ---- | ----------- | ----- |
143
- | **create_employee_request** | [**CreateEmployeeRequest**](CreateEmployeeRequest.md) | | |
144
-
145
- ### Return type
146
-
147
- [**EmployeeResponse**](EmployeeResponse.md)
148
-
149
- ### Authorization
150
-
151
- [access-token](../README.md#access-token)
152
-
153
- ### HTTP request headers
154
-
155
- - **Content-Type**: application/json
156
- - **Accept**: application/json
157
-
158
-
159
87
  ## xhr_employees20230301
160
88
 
161
89
  > <Array<EmployeeResponse>> xhr_employees20230301
@@ -76,71 +76,6 @@ module OpenapiClient
76
76
  return data, status_code, headers
77
77
  end
78
78
 
79
- # Create employee
80
- # Creates a new Employee
81
- # @param create_employee_request [CreateEmployeeRequest]
82
- # @param [Hash] opts the optional parameters
83
- # @return [EmployeeResponse]
84
- def xhr_create_employee20230301(create_employee_request, opts = {})
85
- data, _status_code, _headers = xhr_create_employee20230301_with_http_info(create_employee_request, opts)
86
- data
87
- end
88
-
89
- # Create employee
90
- # Creates a new Employee
91
- # @param create_employee_request [CreateEmployeeRequest]
92
- # @param [Hash] opts the optional parameters
93
- # @return [Array<(EmployeeResponse, Integer, Hash)>] EmployeeResponse data, response status code and response headers
94
- def xhr_create_employee20230301_with_http_info(create_employee_request, opts = {})
95
- if @api_client.config.debugging
96
- @api_client.config.logger.debug 'Calling API: Class20230301Api.xhr_create_employee20230301 ...'
97
- end
98
- # verify the required parameter 'create_employee_request' is set
99
- if @api_client.config.client_side_validation && create_employee_request.nil?
100
- fail ArgumentError, "Missing the required parameter 'create_employee_request' when calling Class20230301Api.xhr_create_employee20230301"
101
- end
102
- # resource path
103
- local_var_path = '/2023-03-01/xhr/employee'
104
-
105
- # query parameters
106
- query_params = opts[:query_params] || {}
107
-
108
- # header parameters
109
- header_params = opts[:header_params] || {}
110
- # HTTP header 'Accept' (if needed)
111
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
112
- # HTTP header 'Content-Type'
113
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
114
-
115
- # form parameters
116
- form_params = opts[:form_params] || {}
117
-
118
- # http body (model)
119
- post_body = opts[:debug_body] || @api_client.object_to_http_body(create_employee_request)
120
-
121
- # return_type
122
- return_type = opts[:debug_return_type] || 'EmployeeResponse'
123
-
124
- # auth_names
125
- auth_names = opts[:debug_auth_names] || ['access-token']
126
-
127
- new_options = opts.merge(
128
- :operation => :"Class20230301Api.xhr_create_employee20230301",
129
- :header_params => header_params,
130
- :query_params => query_params,
131
- :form_params => form_params,
132
- :body => post_body,
133
- :auth_names => auth_names,
134
- :return_type => return_type
135
- )
136
-
137
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
138
- if @api_client.config.debugging
139
- @api_client.config.logger.debug "API called: Class20230301Api#xhr_create_employee20230301\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
140
- end
141
- return data, status_code, headers
142
- end
143
-
144
79
  # Employees
145
80
  # List the individuals (employees, contractors, accountants, and others) listed in the HRIS/Payroll software
146
81
  # @param [Hash] opts the optional parameters
@@ -76,71 +76,6 @@ module OpenapiClient
76
76
  return data, status_code, headers
77
77
  end
78
78
 
79
- # Create employee
80
- # Creates a new Employee
81
- # @param create_employee_request [CreateEmployeeRequest]
82
- # @param [Hash] opts the optional parameters
83
- # @return [EmployeeResponse]
84
- def xhr_create_employee20230301(create_employee_request, opts = {})
85
- data, _status_code, _headers = xhr_create_employee20230301_with_http_info(create_employee_request, opts)
86
- data
87
- end
88
-
89
- # Create employee
90
- # Creates a new Employee
91
- # @param create_employee_request [CreateEmployeeRequest]
92
- # @param [Hash] opts the optional parameters
93
- # @return [Array<(EmployeeResponse, Integer, Hash)>] EmployeeResponse data, response status code and response headers
94
- def xhr_create_employee20230301_with_http_info(create_employee_request, opts = {})
95
- if @api_client.config.debugging
96
- @api_client.config.logger.debug 'Calling API: XHRVerticallyIntegratedApi.xhr_create_employee20230301 ...'
97
- end
98
- # verify the required parameter 'create_employee_request' is set
99
- if @api_client.config.client_side_validation && create_employee_request.nil?
100
- fail ArgumentError, "Missing the required parameter 'create_employee_request' when calling XHRVerticallyIntegratedApi.xhr_create_employee20230301"
101
- end
102
- # resource path
103
- local_var_path = '/2023-03-01/xhr/employee'
104
-
105
- # query parameters
106
- query_params = opts[:query_params] || {}
107
-
108
- # header parameters
109
- header_params = opts[:header_params] || {}
110
- # HTTP header 'Accept' (if needed)
111
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
112
- # HTTP header 'Content-Type'
113
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
114
-
115
- # form parameters
116
- form_params = opts[:form_params] || {}
117
-
118
- # http body (model)
119
- post_body = opts[:debug_body] || @api_client.object_to_http_body(create_employee_request)
120
-
121
- # return_type
122
- return_type = opts[:debug_return_type] || 'EmployeeResponse'
123
-
124
- # auth_names
125
- auth_names = opts[:debug_auth_names] || ['access-token']
126
-
127
- new_options = opts.merge(
128
- :operation => :"XHRVerticallyIntegratedApi.xhr_create_employee20230301",
129
- :header_params => header_params,
130
- :query_params => query_params,
131
- :form_params => form_params,
132
- :body => post_body,
133
- :auth_names => auth_names,
134
- :return_type => return_type
135
- )
136
-
137
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
138
- if @api_client.config.debugging
139
- @api_client.config.logger.debug "API called: XHRVerticallyIntegratedApi#xhr_create_employee20230301\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
140
- end
141
- return data, status_code, headers
142
- end
143
-
144
79
  # Employees
145
80
  # List the individuals (employees, contractors, accountants, and others) listed in the HRIS/Payroll software
146
81
  # @param [Hash] opts the optional parameters
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module OpenapiClient
14
- VERSION = '1.1.47'
14
+ VERSION = '1.1.48'
15
15
  end
@@ -43,18 +43,6 @@ describe 'Class20230301Api' do
43
43
  end
44
44
  end
45
45
 
46
- # unit tests for xhr_create_employee20230301
47
- # Create employee
48
- # Creates a new Employee
49
- # @param create_employee_request
50
- # @param [Hash] opts the optional parameters
51
- # @return [EmployeeResponse]
52
- describe 'xhr_create_employee20230301 test' do
53
- it 'should work' do
54
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
- end
56
- end
57
-
58
46
  # unit tests for xhr_employees20230301
59
47
  # Employees
60
48
  # List the individuals (employees, contractors, accountants, and others) listed in the HRIS/Payroll software
@@ -43,18 +43,6 @@ describe 'XHRVerticallyIntegratedApi' do
43
43
  end
44
44
  end
45
45
 
46
- # unit tests for xhr_create_employee20230301
47
- # Create employee
48
- # Creates a new Employee
49
- # @param create_employee_request
50
- # @param [Hash] opts the optional parameters
51
- # @return [EmployeeResponse]
52
- describe 'xhr_create_employee20230301 test' do
53
- it 'should work' do
54
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
- end
56
- end
57
-
58
46
  # unit tests for xhr_employees20230301
59
47
  # Employees
60
48
  # List the individuals (employees, contractors, accountants, and others) listed in the HRIS/Payroll software
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: affixapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.47
4
+ version: 1.1.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator