Skip to content

Commit

Permalink
Merge pull request #152 from apideck-libraries/generator-update
Browse files Browse the repository at this point in the history
Automated update by SDK Generator
  • Loading branch information
thim81 authored Sep 25, 2023
2 parents 19d8cbf + e3bcdfd commit 00f40fe
Show file tree
Hide file tree
Showing 611 changed files with 1,769 additions and 2,212 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apideck/node",
"version": "2.9.0",
"version": "2.9.1",
"description": "Apideck Node.js SDK",
"keywords": [
"apideck",
Expand Down
4 changes: 2 additions & 2 deletions src/gen/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ Employee.md
EmployeeCompensation.md
EmployeeEmploymentRole.md
EmployeeJob.md
EmployeeList.md
EmployeeManager.md
EmployeePayroll.md
EmployeePayrolls.md
EmployeeSchedules.md
EmployeesFilter.md
EmployeesSort.md
Expand Down Expand Up @@ -864,9 +864,9 @@ models/Employee.ts
models/EmployeeCompensation.ts
models/EmployeeEmploymentRole.ts
models/EmployeeJob.ts
models/EmployeeList.ts
models/EmployeeManager.ts
models/EmployeePayroll.ts
models/EmployeePayrolls.ts
models/EmployeeSchedules.ts
models/EmployeesFilter.ts
models/EmployeesSort.ts
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/AccountingApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/AtsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/ConnectorApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/CrmApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/EcommerceApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/FileStorageApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
6 changes: 3 additions & 3 deletions src/gen/apis/HrisApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -1353,7 +1353,7 @@ export class HrisApi extends runtime.BaseAPI {
}

/**
* List Employees
* Apideck operates as a stateless Unified API, which means that the list endpoint only provides a portion of the employee model. This is due to the fact that most HRIS systems do not readily provide all data in every call. However, you can access the complete employee model through an employee detail call.
* List Employees
*/
async employeesAllRaw(
Expand Down Expand Up @@ -1424,7 +1424,7 @@ export class HrisApi extends runtime.BaseAPI {
}

/**
* List Employees
* Apideck operates as a stateless Unified API, which means that the list endpoint only provides a portion of the employee model. This is due to the fact that most HRIS systems do not readily provide all data in every call. However, you can access the complete employee model through an employee detail call.
* List Employees
*/
async employeesAll(
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/IssueTrackingApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/LeadApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/PosApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/SmsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/VaultApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/apis/WebhookApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 2 additions & 0 deletions src/gen/docs/apis/AccountingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4492,6 +4492,7 @@ const params = {
payment_method: 'cash',
tax_code: '1234',
channel: 'email',
memo: 'Thank you for the partnership and have a great day!',
row_version: '1-12345'
}
}
Expand Down Expand Up @@ -4898,6 +4899,7 @@ const params = {
payment_method: 'cash',
tax_code: '1234',
channel: 'email',
memo: 'Thank you for the partnership and have a great day!',
row_version: '1-12345'
}
}
Expand Down
6 changes: 6 additions & 0 deletions src/gen/docs/apis/HrisApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ const params = {
subdomain: 'company',
status: 'active',
company_number: '123456-AB',
currency: 'USD',
addresses: [
{
id: '123',
Expand Down Expand Up @@ -428,6 +429,7 @@ const params = {
subdomain: 'company',
status: 'active',
company_number: '123456-AB',
currency: 'USD',
addresses: [
{
id: '123',
Expand Down Expand Up @@ -1161,7 +1163,9 @@ const params = {
type: 'contractor',
sub_type: 'full_time'
},
ethnicity: 'African American',
manager: {
id: '12345',
name: 'Elon Musk',
first_name: 'Elon',
last_name: 'Musk',
Expand Down Expand Up @@ -1652,7 +1656,9 @@ const params = {
type: 'contractor',
sub_type: 'full_time'
},
ethnicity: 'African American',
manager: {
id: '12345',
name: 'Elon Musk',
first_name: 'Elon',
last_name: 'Musk',
Expand Down
2 changes: 1 addition & 1 deletion src/gen/docs/models/Bill.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
`id` | **string** | A unique identifier for an object. | [optional]
`downstream_id` | **string** | The third-party API ID of original entity | [optional]
`bill_number` | **string** | | [optional]
`bill_number` | **string** | Reference to supplier bill number | [optional]
`supplier` | [**LinkedSupplier**](LinkedSupplier.md) | | [optional]
`currency` | [**Currency**](Currency.md) | | [optional]
`currency_rate` | **number** | Currency Exchange Rate at the time entity was recorded/generated. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions src/gen/docs/models/Employee.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Name | Type | Description | Notes
`employee_number` | **string** | An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff member within a company. | [optional]
`employment_status` | [**EmploymentStatus**](EmploymentStatus.md) | | [optional]
`employment_role` | [**EmployeeEmploymentRole**](EmployeeEmploymentRole.md) | | [optional]
`ethnicity` | **string** | The ethnicity of the employee | [optional]
`manager` | [**EmployeeManager**](EmployeeManager.md) | | [optional]
`direct_reports` | **Array<string>** | Direct reports is an array of ids that reflect the individuals in an organizational hierarchy who are directly supervised by this specific employee. | [optional]
`social_security_number` | **string** | A unique identifier assigned by the government. This field is considered sensitive information and may be subject to special security and privacy restrictions. | [optional]
Expand Down Expand Up @@ -114,6 +115,7 @@ Name | Type | Description | Notes

* [`EmploymentStatus`](EmploymentStatus.md)
* [`EmployeeEmploymentRole`](EmployeeEmploymentRole.md)

* [`EmployeeManager`](EmployeeManager.md)


Expand Down
22 changes: 22 additions & 0 deletions src/gen/docs/models/EmployeeList.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Apideck.EmployeeList

### Description

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
`id` | **string** | A unique identifier for an object. | [optional]
`first_name` | **string** | The first name of the person. | [optional]
`last_name` | **string** | The last name of the person. | [optional]
`updated_at` | **Date** | The date and time when the object was last updated. | [optional]
`created_at` | **Date** | The date and time when the object was created. | [optional]





---

[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)


24 changes: 20 additions & 4 deletions src/gen/docs/models/EmployeePayroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,32 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
`employee` | [**Employee**](Employee.md) | | [optional]
`payroll` | [**Payroll**](Payroll.md) | | [optional]
`id` | **string** | A unique identifier for an object. |
`processed` | **boolean** | Whether or not the payroll has been successfully processed. Note that processed payrolls cannot be updated. |
`check_date` | **string** | The date on which employees will be paid for the payroll. |
`start_date` | **string** | The start date, inclusive, of the pay period. |
`end_date` | **string** | The end date, inclusive, of the pay period. |
`employee_id` | **string** | ID of the employee | [optional]
`company_id` | **string** | The unique identifier of the company. | [optional]
`processed_date` | **string** | The date the payroll was processed. | [optional]
`totals` | [**PayrollTotals**](.md) | | [optional]
`compensations` | [**Array<Compensation>**](Compensation.md) | An array of compensations for the payroll. | [optional]





## Referenced Types:
* [`Employee`](Employee.md)
* [`Payroll`](Payroll.md)








* [``](.md)
* [`Compensation`](Compensation.md)

---

Expand Down
23 changes: 0 additions & 23 deletions src/gen/docs/models/EmployeePayrolls.md

This file was deleted.

4 changes: 2 additions & 2 deletions src/gen/docs/models/GetEmployeePayrollsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
`service` | **string** | Apideck ID of service provider |
`resource` | **string** | Unified API resource name |
`operation` | **string** | Operation performed |
`data` | [**EmployeePayrolls**](EmployeePayrolls.md) | |
`data` | [**Array<EmployeePayroll>**](EmployeePayroll.md) | |



Expand All @@ -22,7 +22,7 @@ Name | Type | Description | Notes



* [`EmployeePayrolls`](EmployeePayrolls.md)
* [`EmployeePayroll`](EmployeePayroll.md)

---

Expand Down
4 changes: 2 additions & 2 deletions src/gen/docs/models/GetEmployeesResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
`service` | **string** | Apideck ID of service provider |
`resource` | **string** | Unified API resource name |
`operation` | **string** | Operation performed |
`data` | [**Array<Employee>**](Employee.md) | |
`data` | [**Array<EmployeeList>**](EmployeeList.md) | |
`meta` | [**Meta**](Meta.md) | | [optional]
`links` | [**Links**](Links.md) | | [optional]

Expand All @@ -24,7 +24,7 @@ Name | Type | Description | Notes



* [`Employee`](Employee.md)
* [`EmployeeList`](EmployeeList.md)
* [`Meta`](Meta.md)
* [`Links`](Links.md)

Expand Down
2 changes: 2 additions & 0 deletions src/gen/docs/models/HrisCompany.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
`subdomain` | **string** | | [optional]
`status` | **string** | | [optional]
`company_number` | **string** | An Company Number, Company ID or Company Code, is a unique number that has been assigned to each company. | [optional]
`currency` | [**Currency**](Currency.md) | | [optional]
`addresses` | [**Array<Address>**](Address.md) | | [optional]
`phone_numbers` | [**Array<PhoneNumber>**](PhoneNumber.md) | | [optional]
`emails` | [**Array<Email>**](Email.md) | | [optional]
Expand Down Expand Up @@ -48,6 +49,7 @@ Name | Type | Description | Notes



* [`Currency`](Currency.md)
* [`Address`](Address.md)
* [`PhoneNumber`](PhoneNumber.md)
* [`Email`](Email.md)
Expand Down
2 changes: 2 additions & 0 deletions src/gen/docs/models/PurchaseOrder.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Name | Type | Description | Notes
`payment_method` | **string** | Payment method used for the transaction, such as cash, credit card, bank transfer, or check | [optional]
`tax_code` | **string** | Applicable tax id/code override if tax is not supplied on a line item basis. | [optional]
`channel` | **string** | The channel through which the transaction is processed. | [optional]
`memo` | **string** | Message for the supplier. This text appears on the Purchase Order. | [optional]
`row_version` | **string** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional]
`updated_by` | **string** | The user who last updated the object. | [optional]
`created_by` | **string** | The user who created the object. | [optional]
Expand Down Expand Up @@ -93,6 +94,7 @@ Name | Type | Description | Notes




---

[[Back to top]](#) [[Back to API list]](../../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../../README.md)
Expand Down
Loading

0 comments on commit 00f40fe

Please sign in to comment.