affixapi 1.1.45 → 1.1.46

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.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +27 -27
  4. data/docs/Class20230301Api.md +289 -289
  5. data/docs/CoreApi.md +1 -1
  6. data/docs/{DeveloperApi.md → XHRApi.md} +111 -111
  7. data/lib/openapi_client/api/class20230301_api.rb +288 -288
  8. data/lib/openapi_client/api/core_api.rb +3 -3
  9. data/lib/openapi_client/api/management_api.rb +1 -1
  10. data/lib/openapi_client/api/official_api.rb +1 -1
  11. data/lib/openapi_client/api/{developer_api.rb → xhr_api.rb} +83 -83
  12. data/lib/openapi_client/api_client.rb +1 -1
  13. data/lib/openapi_client/api_error.rb +1 -1
  14. data/lib/openapi_client/configuration.rb +1 -1
  15. data/lib/openapi_client/models/address_no_non_null_request.rb +1 -1
  16. data/lib/openapi_client/models/address_response.rb +1 -1
  17. data/lib/openapi_client/models/client_request.rb +1 -1
  18. data/lib/openapi_client/models/client_response.rb +1 -1
  19. data/lib/openapi_client/models/company_response.rb +1 -1
  20. data/lib/openapi_client/models/create_employee_request.rb +1 -1
  21. data/lib/openapi_client/models/create_employee_request_bank_account.rb +1 -1
  22. data/lib/openapi_client/models/create_employee_request_manager.rb +1 -1
  23. data/lib/openapi_client/models/currency_request.rb +1 -1
  24. data/lib/openapi_client/models/currency_response.rb +1 -1
  25. data/lib/openapi_client/models/disconnect_response.rb +1 -1
  26. data/lib/openapi_client/models/employee_response.rb +1 -1
  27. data/lib/openapi_client/models/employment_no_null_enum_request.rb +1 -1
  28. data/lib/openapi_client/models/employment_response.rb +1 -1
  29. data/lib/openapi_client/models/group_no_null_enum_request.rb +1 -1
  30. data/lib/openapi_client/models/group_response.rb +1 -1
  31. data/lib/openapi_client/models/id_and_message_response.rb +1 -1
  32. data/lib/openapi_client/models/identity_response.rb +1 -1
  33. data/lib/openapi_client/models/inline_response400.rb +1 -1
  34. data/lib/openapi_client/models/inline_response401.rb +1 -1
  35. data/lib/openapi_client/models/inline_response409.rb +1 -1
  36. data/lib/openapi_client/models/introspect_response.rb +1 -1
  37. data/lib/openapi_client/models/location_no_non_null_request.rb +1 -1
  38. data/lib/openapi_client/models/location_response.rb +1 -1
  39. data/lib/openapi_client/models/message_response.rb +1 -1
  40. data/lib/openapi_client/models/mode_request.rb +2 -2
  41. data/lib/openapi_client/models/mode_response.rb +2 -2
  42. data/lib/openapi_client/models/payrun_response.rb +1 -1
  43. data/lib/openapi_client/models/payslip_response.rb +1 -1
  44. data/lib/openapi_client/models/payslip_response_contributions.rb +1 -1
  45. data/lib/openapi_client/models/payslip_response_deductions.rb +1 -1
  46. data/lib/openapi_client/models/payslip_response_earnings.rb +1 -1
  47. data/lib/openapi_client/models/payslip_response_taxes.rb +1 -1
  48. data/lib/openapi_client/models/provider_request.rb +1 -1
  49. data/lib/openapi_client/models/provider_response.rb +1 -1
  50. data/lib/openapi_client/models/scopes_request.rb +12 -12
  51. data/lib/openapi_client/models/scopes_response.rb +12 -12
  52. data/lib/openapi_client/models/time_off_balance_response.rb +1 -1
  53. data/lib/openapi_client/models/time_off_entry_response.rb +1 -1
  54. data/lib/openapi_client/models/timesheet_response.rb +1 -1
  55. data/lib/openapi_client/models/token_request.rb +1 -1
  56. data/lib/openapi_client/models/token_response.rb +1 -1
  57. data/lib/openapi_client/version.rb +2 -2
  58. data/lib/openapi_client.rb +2 -2
  59. data/spec/api/class20230301_api_spec.rb +82 -82
  60. data/spec/api/core_api_spec.rb +2 -2
  61. data/spec/api/management_api_spec.rb +1 -1
  62. data/spec/api/official_api_spec.rb +1 -1
  63. data/spec/api/xhr_api_spec.rb +160 -0
  64. data/spec/api_client_spec.rb +1 -1
  65. data/spec/configuration_spec.rb +1 -1
  66. data/spec/models/address_no_non_null_request_spec.rb +1 -1
  67. data/spec/models/address_response_spec.rb +1 -1
  68. data/spec/models/client_request_spec.rb +1 -1
  69. data/spec/models/client_response_spec.rb +1 -1
  70. data/spec/models/company_response_spec.rb +1 -1
  71. data/spec/models/create_employee_request_bank_account_spec.rb +1 -1
  72. data/spec/models/create_employee_request_manager_spec.rb +1 -1
  73. data/spec/models/create_employee_request_spec.rb +1 -1
  74. data/spec/models/currency_request_spec.rb +1 -1
  75. data/spec/models/currency_response_spec.rb +1 -1
  76. data/spec/models/disconnect_response_spec.rb +1 -1
  77. data/spec/models/employee_response_spec.rb +1 -1
  78. data/spec/models/employment_no_null_enum_request_spec.rb +1 -1
  79. data/spec/models/employment_response_spec.rb +1 -1
  80. data/spec/models/group_no_null_enum_request_spec.rb +1 -1
  81. data/spec/models/group_response_spec.rb +1 -1
  82. data/spec/models/id_and_message_response_spec.rb +1 -1
  83. data/spec/models/identity_response_spec.rb +1 -1
  84. data/spec/models/inline_response400_spec.rb +1 -1
  85. data/spec/models/inline_response401_spec.rb +1 -1
  86. data/spec/models/inline_response409_spec.rb +1 -1
  87. data/spec/models/introspect_response_spec.rb +1 -1
  88. data/spec/models/location_no_non_null_request_spec.rb +1 -1
  89. data/spec/models/location_response_spec.rb +1 -1
  90. data/spec/models/message_response_spec.rb +1 -1
  91. data/spec/models/mode_request_spec.rb +1 -1
  92. data/spec/models/mode_response_spec.rb +1 -1
  93. data/spec/models/payrun_response_spec.rb +1 -1
  94. data/spec/models/payslip_response_contributions_spec.rb +1 -1
  95. data/spec/models/payslip_response_deductions_spec.rb +1 -1
  96. data/spec/models/payslip_response_earnings_spec.rb +1 -1
  97. data/spec/models/payslip_response_spec.rb +1 -1
  98. data/spec/models/payslip_response_taxes_spec.rb +1 -1
  99. data/spec/models/provider_request_spec.rb +1 -1
  100. data/spec/models/provider_response_spec.rb +1 -1
  101. data/spec/models/scopes_request_spec.rb +1 -1
  102. data/spec/models/scopes_response_spec.rb +1 -1
  103. data/spec/models/time_off_balance_response_spec.rb +1 -1
  104. data/spec/models/time_off_entry_response_spec.rb +1 -1
  105. data/spec/models/timesheet_response_spec.rb +1 -1
  106. data/spec/models/token_request_spec.rb +1 -1
  107. data/spec/models/token_response_spec.rb +1 -1
  108. data/spec/spec_helper.rb +1 -1
  109. metadata +6 -6
  110. data/spec/api/developer_api_spec.rb +0 -160
data/docs/CoreApi.md CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *https://api.affixapi.com*
13
13
 
14
14
  Providers
15
15
 
16
- Retrieve the api modes (official, developer) and providers for the respective modes
16
+ Retrieve the api modes (official, xhr) and providers for the respective modes
17
17
 
18
18
  ### Examples
19
19
 
@@ -1,25 +1,25 @@
1
- # OpenapiClient::DeveloperApi
1
+ # OpenapiClient::XHRApi
2
2
 
3
3
  All URIs are relative to *https://api.affixapi.com*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**developer_companies20230301**](DeveloperApi.md#developer_companies20230301) | **GET** /2023-03-01/developer/company | Company |
8
- | [**developer_create_employee20230301**](DeveloperApi.md#developer_create_employee20230301) | **POST** /2023-03-01/developer/employee | Create employee |
9
- | [**developer_employees20230301**](DeveloperApi.md#developer_employees20230301) | **GET** /2023-03-01/developer/employees | Employees |
10
- | [**developer_groups20230301**](DeveloperApi.md#developer_groups20230301) | **GET** /2023-03-01/developer/groups | Groups |
11
- | [**developer_identity20230301**](DeveloperApi.md#developer_identity20230301) | **GET** /2023-03-01/developer/identity | Identity |
12
- | [**developer_payruns20230301**](DeveloperApi.md#developer_payruns20230301) | **GET** /2023-03-01/developer/payruns | Payruns |
13
- | [**developer_payslips20230301**](DeveloperApi.md#developer_payslips20230301) | **GET** /2023-03-01/developer/payruns/{payrun_id} | Payslips |
14
- | [**developer_time_off_balances20230301**](DeveloperApi.md#developer_time_off_balances20230301) | **GET** /2023-03-01/developer/time-off-balances | Time off balances |
15
- | [**developer_time_off_entries20230301**](DeveloperApi.md#developer_time_off_entries20230301) | **GET** /2023-03-01/developer/time-off-entries | Time off entries |
16
- | [**developer_timesheets20230301**](DeveloperApi.md#developer_timesheets20230301) | **GET** /2023-03-01/developer/timesheets | Timesheets |
17
- | [**developer_work_locations20230301**](DeveloperApi.md#developer_work_locations20230301) | **GET** /2023-03-01/developer/work-locations | Work locations |
7
+ | [**xhr_companies20230301**](XHRApi.md#xhr_companies20230301) | **GET** /2023-03-01/xhr/company | Company |
8
+ | [**xhr_create_employee20230301**](XHRApi.md#xhr_create_employee20230301) | **POST** /2023-03-01/xhr/employee | Create employee |
9
+ | [**xhr_employees20230301**](XHRApi.md#xhr_employees20230301) | **GET** /2023-03-01/xhr/employees | Employees |
10
+ | [**xhr_groups20230301**](XHRApi.md#xhr_groups20230301) | **GET** /2023-03-01/xhr/groups | Groups |
11
+ | [**xhr_identity20230301**](XHRApi.md#xhr_identity20230301) | **GET** /2023-03-01/xhr/identity | Identity |
12
+ | [**xhr_payruns20230301**](XHRApi.md#xhr_payruns20230301) | **GET** /2023-03-01/xhr/payruns | Payruns |
13
+ | [**xhr_payslips20230301**](XHRApi.md#xhr_payslips20230301) | **GET** /2023-03-01/xhr/payruns/{payrun_id} | Payslips |
14
+ | [**xhr_time_off_balances20230301**](XHRApi.md#xhr_time_off_balances20230301) | **GET** /2023-03-01/xhr/time-off-balances | Time off balances |
15
+ | [**xhr_time_off_entries20230301**](XHRApi.md#xhr_time_off_entries20230301) | **GET** /2023-03-01/xhr/time-off-entries | Time off entries |
16
+ | [**xhr_timesheets20230301**](XHRApi.md#xhr_timesheets20230301) | **GET** /2023-03-01/xhr/timesheets | Timesheets |
17
+ | [**xhr_work_locations20230301**](XHRApi.md#xhr_work_locations20230301) | **GET** /2023-03-01/xhr/work-locations | Work locations |
18
18
 
19
19
 
20
- ## developer_companies20230301
20
+ ## xhr_companies20230301
21
21
 
22
- > <Array<CompanyResponse>> developer_companies20230301
22
+ > <Array<CompanyResponse>> xhr_companies20230301
23
23
 
24
24
  Company
25
25
 
@@ -38,32 +38,32 @@ OpenapiClient.configure do |config|
38
38
  # config.api_key_prefix['access-token'] = 'Bearer'
39
39
  end
40
40
 
41
- api_instance = OpenapiClient::DeveloperApi.new
41
+ api_instance = OpenapiClient::XHRApi.new
42
42
 
43
43
  begin
44
44
  # Company
45
- result = api_instance.developer_companies20230301
45
+ result = api_instance.xhr_companies20230301
46
46
  p result
47
47
  rescue OpenapiClient::ApiError => e
48
- puts "Error when calling DeveloperApi->developer_companies20230301: #{e}"
48
+ puts "Error when calling XHRApi->xhr_companies20230301: #{e}"
49
49
  end
50
50
  ```
51
51
 
52
- #### Using the developer_companies20230301_with_http_info variant
52
+ #### Using the xhr_companies20230301_with_http_info variant
53
53
 
54
54
  This returns an Array which contains the response data, status code and headers.
55
55
 
56
- > <Array(<Array<CompanyResponse>>, Integer, Hash)> developer_companies20230301_with_http_info
56
+ > <Array(<Array<CompanyResponse>>, Integer, Hash)> xhr_companies20230301_with_http_info
57
57
 
58
58
  ```ruby
59
59
  begin
60
60
  # Company
61
- data, status_code, headers = api_instance.developer_companies20230301_with_http_info
61
+ data, status_code, headers = api_instance.xhr_companies20230301_with_http_info
62
62
  p status_code # => 2xx
63
63
  p headers # => { ... }
64
64
  p data # => <Array<CompanyResponse>>
65
65
  rescue OpenapiClient::ApiError => e
66
- puts "Error when calling DeveloperApi->developer_companies20230301_with_http_info: #{e}"
66
+ puts "Error when calling XHRApi->xhr_companies20230301_with_http_info: #{e}"
67
67
  end
68
68
  ```
69
69
 
@@ -85,9 +85,9 @@ This endpoint does not need any parameter.
85
85
  - **Accept**: application/json
86
86
 
87
87
 
88
- ## developer_create_employee20230301
88
+ ## xhr_create_employee20230301
89
89
 
90
- > <EmployeeResponse> developer_create_employee20230301(create_employee_request)
90
+ > <EmployeeResponse> xhr_create_employee20230301(create_employee_request)
91
91
 
92
92
  Create employee
93
93
 
@@ -106,33 +106,33 @@ OpenapiClient.configure do |config|
106
106
  # config.api_key_prefix['access-token'] = 'Bearer'
107
107
  end
108
108
 
109
- api_instance = OpenapiClient::DeveloperApi.new
109
+ api_instance = OpenapiClient::XHRApi.new
110
110
  create_employee_request = OpenapiClient::CreateEmployeeRequest.new({first_name: 'Greg', last_name: 'Hirsch'}) # CreateEmployeeRequest |
111
111
 
112
112
  begin
113
113
  # Create employee
114
- result = api_instance.developer_create_employee20230301(create_employee_request)
114
+ result = api_instance.xhr_create_employee20230301(create_employee_request)
115
115
  p result
116
116
  rescue OpenapiClient::ApiError => e
117
- puts "Error when calling DeveloperApi->developer_create_employee20230301: #{e}"
117
+ puts "Error when calling XHRApi->xhr_create_employee20230301: #{e}"
118
118
  end
119
119
  ```
120
120
 
121
- #### Using the developer_create_employee20230301_with_http_info variant
121
+ #### Using the xhr_create_employee20230301_with_http_info variant
122
122
 
123
123
  This returns an Array which contains the response data, status code and headers.
124
124
 
125
- > <Array(<EmployeeResponse>, Integer, Hash)> developer_create_employee20230301_with_http_info(create_employee_request)
125
+ > <Array(<EmployeeResponse>, Integer, Hash)> xhr_create_employee20230301_with_http_info(create_employee_request)
126
126
 
127
127
  ```ruby
128
128
  begin
129
129
  # Create employee
130
- data, status_code, headers = api_instance.developer_create_employee20230301_with_http_info(create_employee_request)
130
+ data, status_code, headers = api_instance.xhr_create_employee20230301_with_http_info(create_employee_request)
131
131
  p status_code # => 2xx
132
132
  p headers # => { ... }
133
133
  p data # => <EmployeeResponse>
134
134
  rescue OpenapiClient::ApiError => e
135
- puts "Error when calling DeveloperApi->developer_create_employee20230301_with_http_info: #{e}"
135
+ puts "Error when calling XHRApi->xhr_create_employee20230301_with_http_info: #{e}"
136
136
  end
137
137
  ```
138
138
 
@@ -156,9 +156,9 @@ end
156
156
  - **Accept**: application/json
157
157
 
158
158
 
159
- ## developer_employees20230301
159
+ ## xhr_employees20230301
160
160
 
161
- > <Array<EmployeeResponse>> developer_employees20230301
161
+ > <Array<EmployeeResponse>> xhr_employees20230301
162
162
 
163
163
  Employees
164
164
 
@@ -177,32 +177,32 @@ OpenapiClient.configure do |config|
177
177
  # config.api_key_prefix['access-token'] = 'Bearer'
178
178
  end
179
179
 
180
- api_instance = OpenapiClient::DeveloperApi.new
180
+ api_instance = OpenapiClient::XHRApi.new
181
181
 
182
182
  begin
183
183
  # Employees
184
- result = api_instance.developer_employees20230301
184
+ result = api_instance.xhr_employees20230301
185
185
  p result
186
186
  rescue OpenapiClient::ApiError => e
187
- puts "Error when calling DeveloperApi->developer_employees20230301: #{e}"
187
+ puts "Error when calling XHRApi->xhr_employees20230301: #{e}"
188
188
  end
189
189
  ```
190
190
 
191
- #### Using the developer_employees20230301_with_http_info variant
191
+ #### Using the xhr_employees20230301_with_http_info variant
192
192
 
193
193
  This returns an Array which contains the response data, status code and headers.
194
194
 
195
- > <Array(<Array<EmployeeResponse>>, Integer, Hash)> developer_employees20230301_with_http_info
195
+ > <Array(<Array<EmployeeResponse>>, Integer, Hash)> xhr_employees20230301_with_http_info
196
196
 
197
197
  ```ruby
198
198
  begin
199
199
  # Employees
200
- data, status_code, headers = api_instance.developer_employees20230301_with_http_info
200
+ data, status_code, headers = api_instance.xhr_employees20230301_with_http_info
201
201
  p status_code # => 2xx
202
202
  p headers # => { ... }
203
203
  p data # => <Array<EmployeeResponse>>
204
204
  rescue OpenapiClient::ApiError => e
205
- puts "Error when calling DeveloperApi->developer_employees20230301_with_http_info: #{e}"
205
+ puts "Error when calling XHRApi->xhr_employees20230301_with_http_info: #{e}"
206
206
  end
207
207
  ```
208
208
 
@@ -224,9 +224,9 @@ This endpoint does not need any parameter.
224
224
  - **Accept**: application/json
225
225
 
226
226
 
227
- ## developer_groups20230301
227
+ ## xhr_groups20230301
228
228
 
229
- > <Array<GroupResponse>> developer_groups20230301
229
+ > <Array<GroupResponse>> xhr_groups20230301
230
230
 
231
231
  Groups
232
232
 
@@ -245,32 +245,32 @@ OpenapiClient.configure do |config|
245
245
  # config.api_key_prefix['access-token'] = 'Bearer'
246
246
  end
247
247
 
248
- api_instance = OpenapiClient::DeveloperApi.new
248
+ api_instance = OpenapiClient::XHRApi.new
249
249
 
250
250
  begin
251
251
  # Groups
252
- result = api_instance.developer_groups20230301
252
+ result = api_instance.xhr_groups20230301
253
253
  p result
254
254
  rescue OpenapiClient::ApiError => e
255
- puts "Error when calling DeveloperApi->developer_groups20230301: #{e}"
255
+ puts "Error when calling XHRApi->xhr_groups20230301: #{e}"
256
256
  end
257
257
  ```
258
258
 
259
- #### Using the developer_groups20230301_with_http_info variant
259
+ #### Using the xhr_groups20230301_with_http_info variant
260
260
 
261
261
  This returns an Array which contains the response data, status code and headers.
262
262
 
263
- > <Array(<Array<GroupResponse>>, Integer, Hash)> developer_groups20230301_with_http_info
263
+ > <Array(<Array<GroupResponse>>, Integer, Hash)> xhr_groups20230301_with_http_info
264
264
 
265
265
  ```ruby
266
266
  begin
267
267
  # Groups
268
- data, status_code, headers = api_instance.developer_groups20230301_with_http_info
268
+ data, status_code, headers = api_instance.xhr_groups20230301_with_http_info
269
269
  p status_code # => 2xx
270
270
  p headers # => { ... }
271
271
  p data # => <Array<GroupResponse>>
272
272
  rescue OpenapiClient::ApiError => e
273
- puts "Error when calling DeveloperApi->developer_groups20230301_with_http_info: #{e}"
273
+ puts "Error when calling XHRApi->xhr_groups20230301_with_http_info: #{e}"
274
274
  end
275
275
  ```
276
276
 
@@ -292,9 +292,9 @@ This endpoint does not need any parameter.
292
292
  - **Accept**: application/json
293
293
 
294
294
 
295
- ## developer_identity20230301
295
+ ## xhr_identity20230301
296
296
 
297
- > <IdentityResponse> developer_identity20230301
297
+ > <IdentityResponse> xhr_identity20230301
298
298
 
299
299
  Identity
300
300
 
@@ -313,32 +313,32 @@ OpenapiClient.configure do |config|
313
313
  # config.api_key_prefix['access-token'] = 'Bearer'
314
314
  end
315
315
 
316
- api_instance = OpenapiClient::DeveloperApi.new
316
+ api_instance = OpenapiClient::XHRApi.new
317
317
 
318
318
  begin
319
319
  # Identity
320
- result = api_instance.developer_identity20230301
320
+ result = api_instance.xhr_identity20230301
321
321
  p result
322
322
  rescue OpenapiClient::ApiError => e
323
- puts "Error when calling DeveloperApi->developer_identity20230301: #{e}"
323
+ puts "Error when calling XHRApi->xhr_identity20230301: #{e}"
324
324
  end
325
325
  ```
326
326
 
327
- #### Using the developer_identity20230301_with_http_info variant
327
+ #### Using the xhr_identity20230301_with_http_info variant
328
328
 
329
329
  This returns an Array which contains the response data, status code and headers.
330
330
 
331
- > <Array(<IdentityResponse>, Integer, Hash)> developer_identity20230301_with_http_info
331
+ > <Array(<IdentityResponse>, Integer, Hash)> xhr_identity20230301_with_http_info
332
332
 
333
333
  ```ruby
334
334
  begin
335
335
  # Identity
336
- data, status_code, headers = api_instance.developer_identity20230301_with_http_info
336
+ data, status_code, headers = api_instance.xhr_identity20230301_with_http_info
337
337
  p status_code # => 2xx
338
338
  p headers # => { ... }
339
339
  p data # => <IdentityResponse>
340
340
  rescue OpenapiClient::ApiError => e
341
- puts "Error when calling DeveloperApi->developer_identity20230301_with_http_info: #{e}"
341
+ puts "Error when calling XHRApi->xhr_identity20230301_with_http_info: #{e}"
342
342
  end
343
343
  ```
344
344
 
@@ -360,9 +360,9 @@ This endpoint does not need any parameter.
360
360
  - **Accept**: application/json
361
361
 
362
362
 
363
- ## developer_payruns20230301
363
+ ## xhr_payruns20230301
364
364
 
365
- > <Array<PayrunResponse>> developer_payruns20230301(start_date, end_date)
365
+ > <Array<PayrunResponse>> xhr_payruns20230301(start_date, end_date)
366
366
 
367
367
  Payruns
368
368
 
@@ -381,34 +381,34 @@ OpenapiClient.configure do |config|
381
381
  # config.api_key_prefix['access-token'] = 'Bearer'
382
382
  end
383
383
 
384
- api_instance = OpenapiClient::DeveloperApi.new
384
+ api_instance = OpenapiClient::XHRApi.new
385
385
  start_date = Date.parse('2013-10-20') # Date | The start date of the search period
386
386
  end_date = Date.parse('2013-10-20') # Date | The end date of the search period
387
387
 
388
388
  begin
389
389
  # Payruns
390
- result = api_instance.developer_payruns20230301(start_date, end_date)
390
+ result = api_instance.xhr_payruns20230301(start_date, end_date)
391
391
  p result
392
392
  rescue OpenapiClient::ApiError => e
393
- puts "Error when calling DeveloperApi->developer_payruns20230301: #{e}"
393
+ puts "Error when calling XHRApi->xhr_payruns20230301: #{e}"
394
394
  end
395
395
  ```
396
396
 
397
- #### Using the developer_payruns20230301_with_http_info variant
397
+ #### Using the xhr_payruns20230301_with_http_info variant
398
398
 
399
399
  This returns an Array which contains the response data, status code and headers.
400
400
 
401
- > <Array(<Array<PayrunResponse>>, Integer, Hash)> developer_payruns20230301_with_http_info(start_date, end_date)
401
+ > <Array(<Array<PayrunResponse>>, Integer, Hash)> xhr_payruns20230301_with_http_info(start_date, end_date)
402
402
 
403
403
  ```ruby
404
404
  begin
405
405
  # Payruns
406
- data, status_code, headers = api_instance.developer_payruns20230301_with_http_info(start_date, end_date)
406
+ data, status_code, headers = api_instance.xhr_payruns20230301_with_http_info(start_date, end_date)
407
407
  p status_code # => 2xx
408
408
  p headers # => { ... }
409
409
  p data # => <Array<PayrunResponse>>
410
410
  rescue OpenapiClient::ApiError => e
411
- puts "Error when calling DeveloperApi->developer_payruns20230301_with_http_info: #{e}"
411
+ puts "Error when calling XHRApi->xhr_payruns20230301_with_http_info: #{e}"
412
412
  end
413
413
  ```
414
414
 
@@ -433,9 +433,9 @@ end
433
433
  - **Accept**: application/json
434
434
 
435
435
 
436
- ## developer_payslips20230301
436
+ ## xhr_payslips20230301
437
437
 
438
- > <Array<PayslipResponse>> developer_payslips20230301(payrun_id)
438
+ > <Array<PayslipResponse>> xhr_payslips20230301(payrun_id)
439
439
 
440
440
  Payslips
441
441
 
@@ -454,33 +454,33 @@ OpenapiClient.configure do |config|
454
454
  # config.api_key_prefix['access-token'] = 'Bearer'
455
455
  end
456
456
 
457
- api_instance = OpenapiClient::DeveloperApi.new
457
+ api_instance = OpenapiClient::XHRApi.new
458
458
  payrun_id = 'payrun_id_example' # String | The id of the payrun.
459
459
 
460
460
  begin
461
461
  # Payslips
462
- result = api_instance.developer_payslips20230301(payrun_id)
462
+ result = api_instance.xhr_payslips20230301(payrun_id)
463
463
  p result
464
464
  rescue OpenapiClient::ApiError => e
465
- puts "Error when calling DeveloperApi->developer_payslips20230301: #{e}"
465
+ puts "Error when calling XHRApi->xhr_payslips20230301: #{e}"
466
466
  end
467
467
  ```
468
468
 
469
- #### Using the developer_payslips20230301_with_http_info variant
469
+ #### Using the xhr_payslips20230301_with_http_info variant
470
470
 
471
471
  This returns an Array which contains the response data, status code and headers.
472
472
 
473
- > <Array(<Array<PayslipResponse>>, Integer, Hash)> developer_payslips20230301_with_http_info(payrun_id)
473
+ > <Array(<Array<PayslipResponse>>, Integer, Hash)> xhr_payslips20230301_with_http_info(payrun_id)
474
474
 
475
475
  ```ruby
476
476
  begin
477
477
  # Payslips
478
- data, status_code, headers = api_instance.developer_payslips20230301_with_http_info(payrun_id)
478
+ data, status_code, headers = api_instance.xhr_payslips20230301_with_http_info(payrun_id)
479
479
  p status_code # => 2xx
480
480
  p headers # => { ... }
481
481
  p data # => <Array<PayslipResponse>>
482
482
  rescue OpenapiClient::ApiError => e
483
- puts "Error when calling DeveloperApi->developer_payslips20230301_with_http_info: #{e}"
483
+ puts "Error when calling XHRApi->xhr_payslips20230301_with_http_info: #{e}"
484
484
  end
485
485
  ```
486
486
 
@@ -504,9 +504,9 @@ end
504
504
  - **Accept**: application/json
505
505
 
506
506
 
507
- ## developer_time_off_balances20230301
507
+ ## xhr_time_off_balances20230301
508
508
 
509
- > <Array<TimeOffBalanceResponse>> developer_time_off_balances20230301
509
+ > <Array<TimeOffBalanceResponse>> xhr_time_off_balances20230301
510
510
 
511
511
  Time off balances
512
512
 
@@ -525,32 +525,32 @@ OpenapiClient.configure do |config|
525
525
  # config.api_key_prefix['access-token'] = 'Bearer'
526
526
  end
527
527
 
528
- api_instance = OpenapiClient::DeveloperApi.new
528
+ api_instance = OpenapiClient::XHRApi.new
529
529
 
530
530
  begin
531
531
  # Time off balances
532
- result = api_instance.developer_time_off_balances20230301
532
+ result = api_instance.xhr_time_off_balances20230301
533
533
  p result
534
534
  rescue OpenapiClient::ApiError => e
535
- puts "Error when calling DeveloperApi->developer_time_off_balances20230301: #{e}"
535
+ puts "Error when calling XHRApi->xhr_time_off_balances20230301: #{e}"
536
536
  end
537
537
  ```
538
538
 
539
- #### Using the developer_time_off_balances20230301_with_http_info variant
539
+ #### Using the xhr_time_off_balances20230301_with_http_info variant
540
540
 
541
541
  This returns an Array which contains the response data, status code and headers.
542
542
 
543
- > <Array(<Array<TimeOffBalanceResponse>>, Integer, Hash)> developer_time_off_balances20230301_with_http_info
543
+ > <Array(<Array<TimeOffBalanceResponse>>, Integer, Hash)> xhr_time_off_balances20230301_with_http_info
544
544
 
545
545
  ```ruby
546
546
  begin
547
547
  # Time off balances
548
- data, status_code, headers = api_instance.developer_time_off_balances20230301_with_http_info
548
+ data, status_code, headers = api_instance.xhr_time_off_balances20230301_with_http_info
549
549
  p status_code # => 2xx
550
550
  p headers # => { ... }
551
551
  p data # => <Array<TimeOffBalanceResponse>>
552
552
  rescue OpenapiClient::ApiError => e
553
- puts "Error when calling DeveloperApi->developer_time_off_balances20230301_with_http_info: #{e}"
553
+ puts "Error when calling XHRApi->xhr_time_off_balances20230301_with_http_info: #{e}"
554
554
  end
555
555
  ```
556
556
 
@@ -572,9 +572,9 @@ This endpoint does not need any parameter.
572
572
  - **Accept**: application/json
573
573
 
574
574
 
575
- ## developer_time_off_entries20230301
575
+ ## xhr_time_off_entries20230301
576
576
 
577
- > <Array<TimeOffEntryResponse>> developer_time_off_entries20230301
577
+ > <Array<TimeOffEntryResponse>> xhr_time_off_entries20230301
578
578
 
579
579
  Time off entries
580
580
 
@@ -593,32 +593,32 @@ OpenapiClient.configure do |config|
593
593
  # config.api_key_prefix['access-token'] = 'Bearer'
594
594
  end
595
595
 
596
- api_instance = OpenapiClient::DeveloperApi.new
596
+ api_instance = OpenapiClient::XHRApi.new
597
597
 
598
598
  begin
599
599
  # Time off entries
600
- result = api_instance.developer_time_off_entries20230301
600
+ result = api_instance.xhr_time_off_entries20230301
601
601
  p result
602
602
  rescue OpenapiClient::ApiError => e
603
- puts "Error when calling DeveloperApi->developer_time_off_entries20230301: #{e}"
603
+ puts "Error when calling XHRApi->xhr_time_off_entries20230301: #{e}"
604
604
  end
605
605
  ```
606
606
 
607
- #### Using the developer_time_off_entries20230301_with_http_info variant
607
+ #### Using the xhr_time_off_entries20230301_with_http_info variant
608
608
 
609
609
  This returns an Array which contains the response data, status code and headers.
610
610
 
611
- > <Array(<Array<TimeOffEntryResponse>>, Integer, Hash)> developer_time_off_entries20230301_with_http_info
611
+ > <Array(<Array<TimeOffEntryResponse>>, Integer, Hash)> xhr_time_off_entries20230301_with_http_info
612
612
 
613
613
  ```ruby
614
614
  begin
615
615
  # Time off entries
616
- data, status_code, headers = api_instance.developer_time_off_entries20230301_with_http_info
616
+ data, status_code, headers = api_instance.xhr_time_off_entries20230301_with_http_info
617
617
  p status_code # => 2xx
618
618
  p headers # => { ... }
619
619
  p data # => <Array<TimeOffEntryResponse>>
620
620
  rescue OpenapiClient::ApiError => e
621
- puts "Error when calling DeveloperApi->developer_time_off_entries20230301_with_http_info: #{e}"
621
+ puts "Error when calling XHRApi->xhr_time_off_entries20230301_with_http_info: #{e}"
622
622
  end
623
623
  ```
624
624
 
@@ -640,9 +640,9 @@ This endpoint does not need any parameter.
640
640
  - **Accept**: application/json
641
641
 
642
642
 
643
- ## developer_timesheets20230301
643
+ ## xhr_timesheets20230301
644
644
 
645
- > <Array<TimesheetResponse>> developer_timesheets20230301
645
+ > <Array<TimesheetResponse>> xhr_timesheets20230301
646
646
 
647
647
  Timesheets
648
648
 
@@ -661,32 +661,32 @@ OpenapiClient.configure do |config|
661
661
  # config.api_key_prefix['access-token'] = 'Bearer'
662
662
  end
663
663
 
664
- api_instance = OpenapiClient::DeveloperApi.new
664
+ api_instance = OpenapiClient::XHRApi.new
665
665
 
666
666
  begin
667
667
  # Timesheets
668
- result = api_instance.developer_timesheets20230301
668
+ result = api_instance.xhr_timesheets20230301
669
669
  p result
670
670
  rescue OpenapiClient::ApiError => e
671
- puts "Error when calling DeveloperApi->developer_timesheets20230301: #{e}"
671
+ puts "Error when calling XHRApi->xhr_timesheets20230301: #{e}"
672
672
  end
673
673
  ```
674
674
 
675
- #### Using the developer_timesheets20230301_with_http_info variant
675
+ #### Using the xhr_timesheets20230301_with_http_info variant
676
676
 
677
677
  This returns an Array which contains the response data, status code and headers.
678
678
 
679
- > <Array(<Array<TimesheetResponse>>, Integer, Hash)> developer_timesheets20230301_with_http_info
679
+ > <Array(<Array<TimesheetResponse>>, Integer, Hash)> xhr_timesheets20230301_with_http_info
680
680
 
681
681
  ```ruby
682
682
  begin
683
683
  # Timesheets
684
- data, status_code, headers = api_instance.developer_timesheets20230301_with_http_info
684
+ data, status_code, headers = api_instance.xhr_timesheets20230301_with_http_info
685
685
  p status_code # => 2xx
686
686
  p headers # => { ... }
687
687
  p data # => <Array<TimesheetResponse>>
688
688
  rescue OpenapiClient::ApiError => e
689
- puts "Error when calling DeveloperApi->developer_timesheets20230301_with_http_info: #{e}"
689
+ puts "Error when calling XHRApi->xhr_timesheets20230301_with_http_info: #{e}"
690
690
  end
691
691
  ```
692
692
 
@@ -708,9 +708,9 @@ This endpoint does not need any parameter.
708
708
  - **Accept**: application/json
709
709
 
710
710
 
711
- ## developer_work_locations20230301
711
+ ## xhr_work_locations20230301
712
712
 
713
- > <Array<LocationResponse>> developer_work_locations20230301
713
+ > <Array<LocationResponse>> xhr_work_locations20230301
714
714
 
715
715
  Work locations
716
716
 
@@ -729,32 +729,32 @@ OpenapiClient.configure do |config|
729
729
  # config.api_key_prefix['access-token'] = 'Bearer'
730
730
  end
731
731
 
732
- api_instance = OpenapiClient::DeveloperApi.new
732
+ api_instance = OpenapiClient::XHRApi.new
733
733
 
734
734
  begin
735
735
  # Work locations
736
- result = api_instance.developer_work_locations20230301
736
+ result = api_instance.xhr_work_locations20230301
737
737
  p result
738
738
  rescue OpenapiClient::ApiError => e
739
- puts "Error when calling DeveloperApi->developer_work_locations20230301: #{e}"
739
+ puts "Error when calling XHRApi->xhr_work_locations20230301: #{e}"
740
740
  end
741
741
  ```
742
742
 
743
- #### Using the developer_work_locations20230301_with_http_info variant
743
+ #### Using the xhr_work_locations20230301_with_http_info variant
744
744
 
745
745
  This returns an Array which contains the response data, status code and headers.
746
746
 
747
- > <Array(<Array<LocationResponse>>, Integer, Hash)> developer_work_locations20230301_with_http_info
747
+ > <Array(<Array<LocationResponse>>, Integer, Hash)> xhr_work_locations20230301_with_http_info
748
748
 
749
749
  ```ruby
750
750
  begin
751
751
  # Work locations
752
- data, status_code, headers = api_instance.developer_work_locations20230301_with_http_info
752
+ data, status_code, headers = api_instance.xhr_work_locations20230301_with_http_info
753
753
  p status_code # => 2xx
754
754
  p headers # => { ... }
755
755
  p data # => <Array<LocationResponse>>
756
756
  rescue OpenapiClient::ApiError => e
757
- puts "Error when calling DeveloperApi->developer_work_locations20230301_with_http_info: #{e}"
757
+ puts "Error when calling XHRApi->xhr_work_locations20230301_with_http_info: #{e}"
758
758
  end
759
759
  ```
760
760