Skip to content

Commit

Permalink
Merge pull request #42 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 8dbb62f + 781ce5c commit 9e9bf18
Show file tree
Hide file tree
Showing 1,208 changed files with 1,706 additions and 1,720 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
uses: ncipollo/release-action@v1
with:
commit: main
tag: 2.5.2
tag: 2.5.3

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apideck/php",
"version": "2.5.2",
"version": "2.5.3",
"description": "Apideck PHP SDK",
"keywords": [
"apideck",
Expand Down
3 changes: 0 additions & 3 deletions src/gen/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ docs/Model/EmployeeJob.md
docs/Model/EmployeeList.md
docs/Model/EmployeeManager.md
docs/Model/EmployeePayroll.md
docs/Model/EmployeePayrolls.md
docs/Model/EmployeeSchedules.md
docs/Model/EmployeesFilter.md
docs/Model/EmployeesSort.md
Expand Down Expand Up @@ -848,7 +847,6 @@ lib/Model/EmployeeJob.php
lib/Model/EmployeeList.php
lib/Model/EmployeeManager.php
lib/Model/EmployeePayroll.php
lib/Model/EmployeePayrolls.php
lib/Model/EmployeeSchedules.php
lib/Model/EmployeesFilter.php
lib/Model/EmployeesSort.php
Expand Down Expand Up @@ -1447,7 +1445,6 @@ test/Model/EmployeeJobTest.php
test/Model/EmployeeListTest.php
test/Model/EmployeeManagerTest.php
test/Model/EmployeePayrollTest.php
test/Model/EmployeePayrollsTest.php
test/Model/EmployeeSchedulesTest.php
test/Model/EmployeeTest.php
test/Model/EmployeesFilterTest.php
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` | [**\Apideck\Client\Model\LinkedSupplier**](LinkedSupplier.md) | | [optional]
`currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional]
`currency_rate` | **float** | 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` | [**\Apideck\Client\Model\EmploymentStatus**](EmploymentStatus.md) | | [optional]
`employment_role` | [**\Apideck\Client\Model\EmployeeEmploymentRole**](EmployeeEmploymentRole.md) | | [optional]
`ethnicity` | **string** | The ethnicity of the employee | [optional]
`manager` | [**\Apideck\Client\Model\EmployeeManager**](EmployeeManager.md) | | [optional]
`direct_reports` | **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
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` | [**\Apideck\Client\Model\Employee**](Employee.md) | | [optional]
`payroll` | [**\Apideck\Client\Model\Payroll**](Payroll.md) | | [optional]
`id` | **string** | A unique identifier for an object. |
`processed` | **bool** | 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` | [**\Apideck\Client\Model\PayrollTotals**](.md) | | [optional]
`compensations` | [**\Apideck\Client\Model\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` | [**\Apideck\Client\Model\EmployeePayrolls**](EmployeePayrolls.md) | |
`data` | [**\Apideck\Client\Model\EmployeePayroll[]**](EmployeePayroll.md) | |



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



* [`EmployeePayrolls`](EmployeePayrolls.md)
* [`EmployeePayroll`](EmployeePayroll.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` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional]
`addresses` | [**\Apideck\Client\Model\Address[]**](Address.md) | | [optional]
`phone_numbers` | [**\Apideck\Client\Model\PhoneNumber[]**](PhoneNumber.md) | | [optional]
`emails` | [**\Apideck\Client\Model\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: 1 addition & 1 deletion src/gen/lib/Api/AccountingApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/AtsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/ConnectorApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/CrmApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/EcommerceApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/FileStorageApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/HrisApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/IssueTrackingApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/LeadApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/PosApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/SmsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/VaultApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Api/WebhookApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/ApiException.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
8 changes: 4 additions & 4 deletions src/gen/lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down Expand Up @@ -97,7 +97,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'OpenAPI-Generator/2.5.2/PHP';
protected $userAgent = 'OpenAPI-Generator/2.5.3/PHP';

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -447,8 +447,8 @@ public static function toDebugReport()
$report = 'PHP SDK (Apideck\Client) Debug Report:' . PHP_EOL;
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' The version of the OpenAPI document: 9.9.0' . PHP_EOL;
$report .= ' SDK Package Version: 2.5.2' . PHP_EOL;
$report .= ' The version of the OpenAPI document: 9.9.1' . PHP_EOL;
$report .= ' SDK Package Version: 2.5.3' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/HeaderSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Model/AccountingEventType.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Model/ActivitiesFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Model/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Model/ActivityAttendee.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Model/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Model/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Model/ApiResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gen/lib/Model/ApiResourceCoverage.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 9.9.0
* The version of the OpenAPI document: 9.9.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
Loading

0 comments on commit 9e9bf18

Please sign in to comment.