@@ -7,7 +7,7 @@ The documentation for the StackOne Unified API - HRIS
77This SDK is automatically generated by the [ OpenAPI Generator] ( https://openapi-generator.tech ) project:
88
99- API version: 1.0.0
10- - Package version: 1.5.2
10+ - Package version: 1.6.0
1111- Build package: org.openapitools.codegen.languages.RubyClientCodegen
1212
1313## Installation
@@ -23,16 +23,16 @@ gem build stackone_hris_client.gemspec
2323Then either install the gem locally:
2424
2525``` shell
26- gem install ./stackone_hris_client-1.5.2 .gem
26+ gem install ./stackone_hris_client-1.6.0 .gem
2727```
2828
29- (for development, run ` gem install --dev ./stackone_hris_client-1.5.2 .gem ` to install the development dependencies)
29+ (for development, run ` gem install --dev ./stackone_hris_client-1.6.0 .gem ` to install the development dependencies)
3030
3131or publish the gem to a gem hosting service, e.g. [ RubyGems] ( https://rubygems.org/ ) .
3232
3333Finally add this to the Gemfile:
3434
35- gem 'stackone_hris_client', '~> 1.5.2 '
35+ gem 'stackone_hris_client', '~> 1.6.0 '
3636
3737### Install from Git
3838
@@ -62,23 +62,15 @@ StackOneHRIS.configure do |config|
6262 config.api_key_token = ' YOUR API KEY'
6363end
6464
65- api_instance = StackOneHRIS ::EmployeesApi .new
65+ api_instance = StackOneHRIS ::AccountsApi .new
6666id = ' id_example' # String |
67- x_account_id = ' x_account_id_example' # String | The account identifier
68- opts = {
69- page: ' page_example' , # String | The page number of the results to fetch
70- page_size: ' page_size_example' , # String | The number of results per page
71- raw: true , # Boolean | Indicates that the raw request result is returned
72- fields: [' inner_example' ], # Array<String> | The list of fields to return in the response (if empty, all fields are returned)
73- expand: [' inner_example' ] # Array<String> | The list of fields that will be expanded in the response
74- }
7567
7668begin
77- #
78- result = api_instance.employees_get (id, x_account_id, opts )
69+ # Delete Account
70+ result = api_instance.accounts_delete (id)
7971 p result
8072rescue StackOneHRIS ::ApiError => e
81- puts " Exception when calling EmployeesApi->employees_get : #{ e } "
73+ puts " Exception when calling AccountsApi->accounts_delete : #{ e } "
8274end
8375
8476```
@@ -89,19 +81,19 @@ All URIs are relative to *https://api.stackone.com*
8981
9082Class | Method | HTTP request | Description
9183------------ | ------------- | ------------- | -------------
92- * StackOneHRIS::AccountsApi* | [ ** accounts_delete** ] ( docs/AccountsApi.md#accounts_delete ) | ** DELETE** /accounts/{id} |
93- * StackOneHRIS::AccountsApi* | [ ** accounts_get** ] ( docs/AccountsApi.md#accounts_get ) | ** GET** /accounts/{id} |
94- * StackOneHRIS::AccountsApi* | [ ** accounts_list** ] ( docs/AccountsApi.md#accounts_list ) | ** GET** /accounts |
95- * StackOneHRIS::CompaniesApi* | [ ** companies_get ** ] ( docs/CompaniesApi.md#companies_get ) | ** GET** /unified/hris/companies/{id} |
96- * StackOneHRIS::CompaniesApi* | [ ** companies_list ** ] ( docs/CompaniesApi.md#companies_list ) | ** GET** /unified/hris/companies |
97- * StackOneHRIS::ConnectSessionsApi* | [ ** connect_sessions_authenticate** ] ( docs/ConnectSessionsApi.md#connect_sessions_authenticate ) | ** POST** /connect_sessions/authenticate |
98- * StackOneHRIS::ConnectSessionsApi* | [ ** connect_sessions_create** ] ( docs/ConnectSessionsApi.md#connect_sessions_create ) | ** POST** /connect_sessions |
99- * StackOneHRIS::EmployeesApi* | [ ** employees_get ** ] ( docs/EmployeesApi.md#employees_get ) | ** GET** /unified/hris/employees/{id} |
100- * StackOneHRIS::EmployeesApi* | [ ** employees_list ** ] ( docs/EmployeesApi.md#employees_list ) | ** GET** /unified/hris/employees |
101- * StackOneHRIS::EmploymentsApi* | [ ** employments_get ** ] ( docs/EmploymentsApi.md#employments_get ) | ** GET** /unified/hris/employments/{id} |
102- * StackOneHRIS::EmploymentsApi* | [ ** employments_list ** ] ( docs/EmploymentsApi.md#employments_list ) | ** GET** /unified/hris/employments |
103- * StackOneHRIS::LocationsApi* | [ ** hris_locations_get** ] ( docs/LocationsApi.md#hris_locations_get ) | ** GET** /unified/hris/locations/{id} |
104- * StackOneHRIS::LocationsApi* | [ ** hris_locations_list** ] ( docs/LocationsApi.md#hris_locations_list ) | ** GET** /unified/hris/locations |
84+ * StackOneHRIS::AccountsApi* | [ ** accounts_delete** ] ( docs/AccountsApi.md#accounts_delete ) | ** DELETE** /accounts/{id} | Delete Account
85+ * StackOneHRIS::AccountsApi* | [ ** accounts_get** ] ( docs/AccountsApi.md#accounts_get ) | ** GET** /accounts/{id} | Get Account
86+ * StackOneHRIS::AccountsApi* | [ ** accounts_list** ] ( docs/AccountsApi.md#accounts_list ) | ** GET** /accounts | List Accounts
87+ * StackOneHRIS::CompaniesApi* | [ ** hris_companies_get ** ] ( docs/CompaniesApi.md#hris_companies_get ) | ** GET** /unified/hris/companies/{id} | Get Company
88+ * StackOneHRIS::CompaniesApi* | [ ** hris_companies_list ** ] ( docs/CompaniesApi.md#hris_companies_list ) | ** GET** /unified/hris/companies | List Companies
89+ * StackOneHRIS::ConnectSessionsApi* | [ ** connect_sessions_authenticate** ] ( docs/ConnectSessionsApi.md#connect_sessions_authenticate ) | ** POST** /connect_sessions/authenticate | Authenticate Session
90+ * StackOneHRIS::ConnectSessionsApi* | [ ** connect_sessions_create** ] ( docs/ConnectSessionsApi.md#connect_sessions_create ) | ** POST** /connect_sessions | Create Session
91+ * StackOneHRIS::EmployeesApi* | [ ** hris_employees_get ** ] ( docs/EmployeesApi.md#hris_employees_get ) | ** GET** /unified/hris/employees/{id} | Get Employee
92+ * StackOneHRIS::EmployeesApi* | [ ** hris_employees_list ** ] ( docs/EmployeesApi.md#hris_employees_list ) | ** GET** /unified/hris/employees | List Employees
93+ * StackOneHRIS::EmploymentsApi* | [ ** hris_employments_get ** ] ( docs/EmploymentsApi.md#hris_employments_get ) | ** GET** /unified/hris/employments/{id} | Get Employment
94+ * StackOneHRIS::EmploymentsApi* | [ ** hris_employments_list ** ] ( docs/EmploymentsApi.md#hris_employments_list ) | ** GET** /unified/hris/employments | List Employments
95+ * StackOneHRIS::LocationsApi* | [ ** hris_locations_get** ] ( docs/LocationsApi.md#hris_locations_get ) | ** GET** /unified/hris/locations/{id} | Get location
96+ * StackOneHRIS::LocationsApi* | [ ** hris_locations_list** ] ( docs/LocationsApi.md#hris_locations_list ) | ** GET** /unified/hris/locations | List locations
10597
10698
10799## Documentation for Models
@@ -138,6 +130,7 @@ Class | Method | HTTP request | Description
138130## Documentation for Authorization
139131
140132
133+ Authentication schemes defined for the API:
141134### basic
142135
143136- ** Type** : HTTP basic authentication
0 commit comments