Skip to content

Commit

Permalink
Update SDK for dataphile and nickname
Browse files Browse the repository at this point in the history
  • Loading branch information
AMoreauLambert committed Jul 30, 2020
1 parent 083ef5b commit 71e8222
Show file tree
Hide file tree
Showing 281 changed files with 1,755 additions and 1,107 deletions.
15 changes: 14 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
vendor
# ref: https://github.com/github/gitignore/blob/master/Composer.gitignore

composer.phar
/vendor/

# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
composer.lock

# php-cs-fixer cache
.php_cs.cache

# PHPUnit cache
.phpunit.result.cache
408 changes: 408 additions & 0 deletions .openapi-generator/FILES

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.3.1-SNAPSHOT
5.0.0-SNAPSHOT
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
language: php
sudo: false
# Bionic environment has preinstalled PHP from 7.1 to 7.4
# https://docs.travis-ci.com/user/reference/bionic/#php-support
dist: bionic
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
- 7.2
- 7.3
- 7.4
before_install: "composer install"
script: "vendor/bin/phpunit"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This PHP package is automatically generated by the [OpenAPI Generator](https://o

## Requirements

PHP 5.5 and later
PHP 7.2 and later

## Installation & Usage

Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@
}
],
"require": {
"php": ">=7.1",
"php": ">=7.2",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"guzzlehttp/guzzle": "^6.2"
},
"require-dev": {
"phpunit/phpunit": "^7.4",
"squizlabs/php_codesniffer": "~2.6",
"friendsofphp/php-cs-fixer": "~2.12"
"phpunit/phpunit": "^8.0 || ^9.0",
"friendsofphp/php-cs-fixer": "^2.12"
},
"autoload": {
"psr-4": { "Equisoft\\SDK\\EquisoftConnect\\" : "lib/" }
Expand Down
1 change: 1 addition & 0 deletions docs/Model/LegacyContactContact.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**indOrg** | **string** | type INDIVIDUAL OR ORGANIZATION | [optional]
**displayName** | **string** | display name of the contact | [optional]
**firstName** | **string** | first name of the contact | [optional]
**nickname** | **string** | nickname of the contact | [optional]
**middleName** | **string** | middle name of the contact | [optional]
**lastName** | **string** | last name of the contact | [optional]
**corporationName** | **string** | first line of corporation name (Organization) | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/Model/LegacyContactContactPayloadItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**indOrg** | **string** | type INDIVIDUAL OR ORGANIZATION | [optional]
**displayName** | **string** | display name of the contact | [optional]
**firstName** | **string** | first name of the contact | [optional]
**nickname** | **string** | nickname of the contact | [optional]
**middleName** | **string** | middle name of the contact | [optional]
**lastName** | **string** | last name of the contact | [optional]
**corporationName** | **string** | first line of corporation name (Organization) | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/Model/MovementClientBaseUsingFileMovement.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**destinationUser** | [**\Equisoft\SDK\EquisoftConnect\Model\MovementUser**](MovementUser.md) | |
**capsil** | **bool** | | [optional]
**univeris** | **bool** | | [optional]
**dataphile** | **bool** | | [optional]

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

Expand Down
1 change: 1 addition & 0 deletions docs/Model/MovementClientBaseUsingFileMovementAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**destinationUser** | [**\Equisoft\SDK\EquisoftConnect\Model\MovementUser**](MovementUser.md) | |
**capsil** | **bool** | | [optional]
**univeris** | **bool** | | [optional]
**dataphile** | **bool** | | [optional]

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

Expand Down
1 change: 1 addition & 0 deletions docs/Model/MovementClientBaseUsingFileMovementPayload.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**destinationUser** | **string** | |
**capsilFile** | **string** | | [optional]
**univerisFile** | **string** | | [optional]
**dataphileFile** | **string** | | [optional]

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**destinationUser** | **string** | |
**capsilFile** | **string** | | [optional]
**univerisFile** | **string** | | [optional]
**dataphileFile** | **string** | | [optional]

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

Expand Down
4 changes: 2 additions & 2 deletions lib/Api/EventsApi.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* EventsApi
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -17,7 +17,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Api/GatewaysApi.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* GatewaysApi
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -17,7 +17,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Api/LegacyDocumentApi.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* LegacyDocumentApi
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -17,7 +17,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Api/LegacyProvisioningApi.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* LegacyProvisioningApi
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -17,7 +17,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Api/MovementApi.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* MovementApi
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -17,7 +17,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Api/TasksApi.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* TasksApi
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -17,7 +17,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Api/UsersApi.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* UsersApi
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -17,7 +17,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/ApiException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* ApiException
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -17,7 +17,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
22 changes: 11 additions & 11 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Configuration
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -17,7 +17,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand All @@ -30,7 +30,7 @@

/**
* Configuration Class Doc Comment
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand Down Expand Up @@ -434,12 +434,12 @@ public function getApiKeyWithPrefix($apiKeyIdentifier)
*/
public function getHostSettings()
{
return array(
array(
"url" => "/",
"description" => "No description provided",
)
);
return [
[
"url" => "/",
"description" => "No description provided",
]
];
}

/**
Expand All @@ -452,7 +452,7 @@ public function getHostSettings()
public function getHostFromSettings($index, $variables = null)
{
if (null === $variables) {
$variables = array();
$variables = [];
}

$hosts = $this->getHostSettings();
Expand All @@ -468,7 +468,7 @@ public function getHostFromSettings($index, $variables = null)
// go through variable and assign a value
foreach ($host["variables"] as $name => $variable) {
if (array_key_exists($name, $variables)) { // check to see if it's in the variables provided by the user
if (in_array($variables[$name], $variable["enum_values"])) { // check to see if the value is in the enum
if (in_array($variables[$name], $variable["enum_values"], true)) { // check to see if the value is in the enum
$url = str_replace("{".$name."}", $variables[$name], $url);
} else {
throw new \InvalidArgumentException("The variable `$name` in the host URL has invalid value ".$variables[$name].". Must be ".join(',', $variable["enum_values"]).".");
Expand Down
4 changes: 2 additions & 2 deletions lib/HeaderSelector.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* ApiException
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -17,7 +17,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AccessRights.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* AccessRights
*
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -18,7 +18,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/CalendarDefaultCalendarId.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* CalendarDefaultCalendarId
*
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -18,7 +18,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/CalendarsCalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* CalendarsCalendar
*
* PHP version 5
* PHP version 7.2
*
* @category Class
* @package Equisoft\SDK\EquisoftConnect
Expand All @@ -18,7 +18,7 @@
* The version of the OpenAPI document: latest
*
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 4.3.1-SNAPSHOT
* OpenAPI Generator version: 5.0.0-SNAPSHOT
*/

/**
Expand Down
Loading

0 comments on commit 71e8222

Please sign in to comment.