Skip to content

Commit

Permalink
Merge pull request #31 from apideck-libraries/generator-update
Browse files Browse the repository at this point in the history
Automated update by SDK Generator
  • Loading branch information
Gdewilde authored May 8, 2023
2 parents 650a92c + 716695f commit a45277a
Show file tree
Hide file tree
Showing 1,177 changed files with 1,318 additions and 1,228 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.1.0
tag: 2.1.1

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.1.0",
"version": "2.1.1",
"description": "Apideck PHP SDK",
"keywords": [
"apideck",
Expand Down
2 changes: 1 addition & 1 deletion src/gen/docs/models/Connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Name | Type | Description | Notes
`website` | **string** | The website URL of the connection | [optional]
`icon` | **string** | A visual icon of the connection, that will be shown in the Vault | [optional]
`logo` | **string** | The logo of the connection, that will be shown in the Vault | [optional]
`authorize_url` | **string** | The OAuth redirect URI. Redirect your users to this URI to let them authorize your app in the connector's UI. Before you can use this URI, you must add `redirect_uri` as a query parameter. Your users will be redirected to this `redirect_uri` after they granted access to your app in the connector's UI. | [optional]
`authorize_url` | **string** | The OAuth redirect URI. Redirect your users to this URI to let them authorize your app in the connector's UI. Before you can use this URI, you must add `redirect_uri` as a query parameter to the `authorize_url`. Be sure to URL encode the `redirect_uri` part. Your users will be redirected to this `redirect_uri` after they granted access to your app in the connector's UI. | [optional]
`revoke_url` | **string** | The OAuth revoke URI. Redirect your users to this URI to revoke this connection. Before you can use this URI, you must add `redirect_uri` as a query parameter. Your users will be redirected to this `redirect_uri` after they granted access to your app in the connector's UI. | [optional]
`settings` | **array<string,object>** | Connection settings. Values will persist to `form_fields` with corresponding id | [optional]
`metadata` | **array<string,object>** | Attach your own consumer specific metadata | [optional]
Expand Down
4 changes: 4 additions & 0 deletions src/gen/docs/models/Item.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Name | Type | Description | Notes
`price_currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional]
`cost` | **float** | | [optional]
`tax_ids` | **string[]** | A list of Tax IDs for the product. | [optional]
`is_revenue` | **bool** | True if this item should be counted as revenue. For example, gift cards and donations would not be counted as revenue. | [optional]
`use_default_tax_rates` | **bool** | | [optional]
`absent_at_location_ids` | **string[]** | A list of locations where the object is not present, even if present_at_all_locations is true. This can include locations that are deactivated. | [optional]
`present_at_all_locations` | **bool** | | [optional]
`available_for_pickup` | **bool** | | [optional]
Expand Down Expand Up @@ -93,6 +95,8 @@ Name | Type | Description | Notes








Expand Down
2 changes: 1 addition & 1 deletion src/gen/docs/models/OrderDiscounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
`type` | **string** | |
`id` | **string** | A unique identifier for an object. | [optional]
`product_id` | **string** | A unique identifier for an object. | [optional]
`name` | **string** | | [optional]
`type` | **string** | | [optional]
`amount` | **int** | | [optional]
`currency` | [**\Apideck\Client\Model\Currency**](Currency.md) | | [optional]
`scope` | **string** | | [optional]
Expand Down
2 changes: 2 additions & 0 deletions src/gen/docs/models/UnifiedApiId.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@

* `VAULT` (value: `'vault'`)

* `DATA_WAREHOUSE` (value: `'data-warehouse'`)


---

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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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/CustomerSupportApi.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.1.0/PHP';
protected $userAgent = 'OpenAPI-Generator/2.1.1/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.3.0' . PHP_EOL;
$report .= ' SDK Package Version: 2.1.0' . PHP_EOL;
$report .= ' The version of the OpenAPI document: 9.3.1' . PHP_EOL;
$report .= ' SDK Package Version: 2.1.1' . 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.3.0
* The version of the OpenAPI document: 9.3.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/AccountingCustomer.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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.3.0
* The version of the OpenAPI document: 9.3.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/ApiResourceCoverageCoverage.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.3.0
* The version of the OpenAPI document: 9.3.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/ApiResourceLinkedResources.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.3.0
* The version of the OpenAPI document: 9.3.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/ApiResources.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.3.0
* The version of the OpenAPI document: 9.3.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/ApiStatus.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.3.0
* The version of the OpenAPI document: 9.3.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/ApisFilter.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.3.0
* The version of the OpenAPI document: 9.3.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/Applicant.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.3.0
* The version of the OpenAPI document: 9.3.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/ApplicantSocialLinks.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.3.0
* The version of the OpenAPI document: 9.3.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/ApplicantWebsites.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.3.0
* The version of the OpenAPI document: 9.3.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/ApplicantsFilter.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.3.0
* The version of the OpenAPI document: 9.3.1
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
*/
Expand Down
Loading

0 comments on commit a45277a

Please sign in to comment.