Skip to content

Commit

Permalink
Regenerate under separate api client invoker_package_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Caffe1neAdd1ct committed Jul 30, 2021
1 parent db3deac commit b79608c
Show file tree
Hide file tree
Showing 62 changed files with 361 additions and 369 deletions.
53 changes: 26 additions & 27 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.gitignore
.openapi-generator-ignore
.php_cs
.travis.yml
README.md
Expand Down Expand Up @@ -30,35 +29,35 @@ docs/Model/Report.md
docs/Model/StandardsProfile.md
docs/Model/Value.md
git_push.sh
lib/Analytics/CustomerServiceMetricApi.php
lib/Analytics/Model/BenchmarkMetadata.php
lib/Analytics/Model/Cycle.php
lib/Analytics/Model/Definition.php
lib/Analytics/Model/Dimension.php
lib/Analytics/Model/DimensionMetric.php
lib/Analytics/Model/Distribution.php
lib/Analytics/Model/Error.php
lib/Analytics/Model/ErrorParameter.php
lib/Analytics/Model/EvaluationCycle.php
lib/Analytics/Model/FindSellerStandardsProfilesResponse.php
lib/Analytics/Model/GetCustomerServiceMetricResponse.php
lib/Analytics/Model/Header.php
lib/Analytics/Model/Metadata.php
lib/Analytics/Model/MetadataHeader.php
lib/Analytics/Model/MetadataRecord.php
lib/Analytics/Model/Metric.php
lib/Analytics/Model/MetricBenchmark.php
lib/Analytics/Model/MetricDistribution.php
lib/Analytics/Model/ModelInterface.php
lib/Analytics/Model/Record.php
lib/Analytics/Model/Report.php
lib/Analytics/Model/StandardsProfile.php
lib/Analytics/Model/Value.php
lib/Analytics/SellerStandardsProfileApi.php
lib/Analytics/TrafficReportApi.php
lib/Api/CustomerServiceMetricApi.php
lib/Api/SellerStandardsProfileApi.php
lib/Api/TrafficReportApi.php
lib/ApiException.php
lib/Configuration.php
lib/HeaderSelector.php
lib/Model/BenchmarkMetadata.php
lib/Model/Cycle.php
lib/Model/Definition.php
lib/Model/Dimension.php
lib/Model/DimensionMetric.php
lib/Model/Distribution.php
lib/Model/Error.php
lib/Model/ErrorParameter.php
lib/Model/EvaluationCycle.php
lib/Model/FindSellerStandardsProfilesResponse.php
lib/Model/GetCustomerServiceMetricResponse.php
lib/Model/Header.php
lib/Model/Metadata.php
lib/Model/MetadataHeader.php
lib/Model/MetadataRecord.php
lib/Model/Metric.php
lib/Model/MetricBenchmark.php
lib/Model/MetricDistribution.php
lib/Model/ModelInterface.php
lib/Model/Record.php
lib/Model/Report.php
lib/Model/StandardsProfile.php
lib/Model/Value.php
lib/ObjectSerializer.php
phpunit.xml.dist
test/Api/CustomerServiceMetricApiTest.php
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ require_once(__DIR__ . '/vendor/autoload.php');


// Configure OAuth2 access token for authorization: Authorization Code
$config = Ebay\Sell\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$config = Ebay\Sell\Analytics\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Ebay\Sell\Api\CustomerServiceMetricApi(
$apiInstance = new Ebay\Sell\Analytics\Api\CustomerServiceMetricApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
Expand Down
24 changes: 10 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "zvps\/ebay-sell-analytics-php-client",
"name": "zvps/ebay-sell-analytics-php-client",
"version": "5.0.0",
"description": "The Analytics API provides data and information about a seller and their eBay business. The resources and methods in this API let sellers review information on their listing performance, metrics on their customer service performance, and details on their eBay seller performance rating. The three resources in the Analytics API provide the following data and information: Customer Service Metric – Returns data on a seller's customer service performance as compared to other seller's in the same peer group. Traffic Report – Returns data that shows how buyers are engaging with a seller's listings. Seller Standards Profile – Returns data pertaining to a seller's performance rating. Sellers can use the data and information returned by the various Analytics API methods to determine where they can make improvements to increase sales and how they might improve their seller status as viewed by eBay buyers. For details on using this API, see Analyzing seller performance.",
"keywords": [
Expand All @@ -11,33 +11,29 @@
"rest",
"api"
],
"homepage": "https:\/\/openapi-generator.tech",
"homepage": "https://openapi-generator.tech",
"license": "unlicense",
"authors": [
{
"name": "OpenAPI-Generator contributors",
"homepage": "https:\/\/openapi-generator.tech"
"homepage": "https://openapi-generator.tech"
}
],
"require": {
"php": ">=5.6",
"php": ">=7.2",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"guzzlehttp\/guzzle": "^6.2"
"guzzlehttp/guzzle": "^6.2"
},
"require-dev": {
"phpunit\/phpunit": "^8.0 || ^9.0",
"friendsofphp\/php-cs-fixer": "^2.12"
"phpunit/phpunit": "^8.0 || ^9.0",
"friendsofphp/php-cs-fixer": "^2.12"
},
"autoload": {
"psr-4": {
"Ebay\\Sell\\": "lib\/"
}
"psr-4": { "Ebay\\Sell\\Analytics\\" : "lib/" }
},
"autoload-dev": {
"psr-4": {
"Ebay\\Sell\\Test\\": "test\/"
}
"psr-4": { "Ebay\\Sell\\Analytics\\Test\\" : "test/" }
}
}
}
6 changes: 3 additions & 3 deletions docs/Api/CustomerServiceMetricApi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ebay\Sell\CustomerServiceMetricApi
# Ebay\Sell\Analytics\CustomerServiceMetricApi

All URIs are relative to https://api.ebay.com/sell/analytics/v1.

Expand All @@ -25,10 +25,10 @@ require_once(__DIR__ . '/vendor/autoload.php');


// Configure OAuth2 access token for authorization: Authorization Code
$config = Ebay\Sell\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$config = Ebay\Sell\Analytics\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Ebay\Sell\Api\CustomerServiceMetricApi(
$apiInstance = new Ebay\Sell\Analytics\Api\CustomerServiceMetricApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
Expand Down
10 changes: 5 additions & 5 deletions docs/Api/SellerStandardsProfileApi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ebay\Sell\SellerStandardsProfileApi
# Ebay\Sell\Analytics\SellerStandardsProfileApi

All URIs are relative to https://api.ebay.com/sell/analytics/v1.

Expand Down Expand Up @@ -26,10 +26,10 @@ require_once(__DIR__ . '/vendor/autoload.php');


// Configure OAuth2 access token for authorization: Authorization Code
$config = Ebay\Sell\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$config = Ebay\Sell\Analytics\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Ebay\Sell\Api\SellerStandardsProfileApi(
$apiInstance = new Ebay\Sell\Analytics\Api\SellerStandardsProfileApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
Expand Down Expand Up @@ -83,10 +83,10 @@ require_once(__DIR__ . '/vendor/autoload.php');


// Configure OAuth2 access token for authorization: Authorization Code
$config = Ebay\Sell\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$config = Ebay\Sell\Analytics\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Ebay\Sell\Api\SellerStandardsProfileApi(
$apiInstance = new Ebay\Sell\Analytics\Api\SellerStandardsProfileApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
Expand Down
6 changes: 3 additions & 3 deletions docs/Api/TrafficReportApi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ebay\Sell\TrafficReportApi
# Ebay\Sell\Analytics\TrafficReportApi

All URIs are relative to https://api.ebay.com/sell/analytics/v1.

Expand All @@ -25,10 +25,10 @@ require_once(__DIR__ . '/vendor/autoload.php');


// Configure OAuth2 access token for authorization: Authorization Code
$config = Ebay\Sell\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$config = Ebay\Sell\Analytics\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Ebay\Sell\Api\TrafficReportApi(
$apiInstance = new Ebay\Sell\Analytics\Api\TrafficReportApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* PHP version 7.2
*
* @category Class
* @package Ebay\Sell
* @package Ebay\Sell\Analytics
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -25,24 +25,24 @@
* Do not edit the class manually.
*/

namespace Ebay\Sell\Analytics;
namespace Ebay\Sell\Analytics\Api;

use GuzzleHttp\Client;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Psr7\MultipartStream;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\RequestOptions;
use Ebay\Sell\ApiException;
use Ebay\Sell\Configuration;
use Ebay\Sell\HeaderSelector;
use Ebay\Sell\ObjectSerializer;
use Ebay\Sell\Analytics\ApiException;
use Ebay\Sell\Analytics\Configuration;
use Ebay\Sell\Analytics\HeaderSelector;
use Ebay\Sell\Analytics\ObjectSerializer;

/**
* CustomerServiceMetricApi Class Doc Comment
*
* @category Class
* @package Ebay\Sell
* @package Ebay\Sell\Analytics
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand Down Expand Up @@ -90,9 +90,8 @@ public function __construct(
* Set the host index
*
* @param int $hostIndex Host index (required)
* @return void
*/
public function setHostIndex($hostIndex)
public function setHostIndex($hostIndex): void
{
$this->hostIndex = $hostIndex;
}
Expand Down Expand Up @@ -122,7 +121,7 @@ public function getConfig()
* @param string $evaluation_marketplace_id Use this query parameter to specify the Marketplace ID to evaluate for the customer service metrics and benchmark data. For the list of supported marketplaces, see Analytics API requirements and restrictions. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/analytics/types/bas:MarketplaceIdEnum (required)
* @param string $evaluation_type Use this path parameter to specify the type of the seller evaluation you want returned, either: CURRENT – A monthly evaluation that occurs on the 20th of every month. PROJECTED – A daily evaluation that provides a projection of how the seller is currently performing with regards to the upcoming evaluation period. (required)
*
* @throws \Ebay\Sell\ApiException on non-2xx response
* @throws \Ebay\Sell\Analytics\ApiException on non-2xx response
* @throws \InvalidArgumentException
* @return \Ebay\Sell\Analytics\Model\GetCustomerServiceMetricResponse
*/
Expand All @@ -139,7 +138,7 @@ public function getCustomerServiceMetric($customer_service_metric_type, $evaluat
* @param string $evaluation_marketplace_id Use this query parameter to specify the Marketplace ID to evaluate for the customer service metrics and benchmark data. For the list of supported marketplaces, see Analytics API requirements and restrictions. For implementation help, refer to eBay API documentation at https://developer.ebay.com/api-docs/sell/analytics/types/bas:MarketplaceIdEnum (required)
* @param string $evaluation_type Use this path parameter to specify the type of the seller evaluation you want returned, either: CURRENT – A monthly evaluation that occurs on the 20th of every month. PROJECTED – A daily evaluation that provides a projection of how the seller is currently performing with regards to the upcoming evaluation period. (required)
*
* @throws \Ebay\Sell\ApiException on non-2xx response
* @throws \Ebay\Sell\Analytics\ApiException on non-2xx response
* @throws \InvalidArgumentException
* @return array of \Ebay\Sell\Analytics\Model\GetCustomerServiceMetricResponse, HTTP status code, HTTP response headers (array of strings)
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* PHP version 7.2
*
* @category Class
* @package Ebay\Sell
* @package Ebay\Sell\Analytics
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand All @@ -25,24 +25,24 @@
* Do not edit the class manually.
*/

namespace Ebay\Sell\Analytics;
namespace Ebay\Sell\Analytics\Api;

use GuzzleHttp\Client;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Psr7\MultipartStream;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\RequestOptions;
use Ebay\Sell\ApiException;
use Ebay\Sell\Configuration;
use Ebay\Sell\HeaderSelector;
use Ebay\Sell\ObjectSerializer;
use Ebay\Sell\Analytics\ApiException;
use Ebay\Sell\Analytics\Configuration;
use Ebay\Sell\Analytics\HeaderSelector;
use Ebay\Sell\Analytics\ObjectSerializer;

/**
* SellerStandardsProfileApi Class Doc Comment
*
* @category Class
* @package Ebay\Sell
* @package Ebay\Sell\Analytics
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
Expand Down Expand Up @@ -90,9 +90,8 @@ public function __construct(
* Set the host index
*
* @param int $hostIndex Host index (required)
* @return void
*/
public function setHostIndex($hostIndex)
public function setHostIndex($hostIndex): void
{
$this->hostIndex = $hostIndex;
}
Expand All @@ -119,7 +118,7 @@ public function getConfig()
* Operation findSellerStandardsProfiles
*
*
* @throws \Ebay\Sell\ApiException on non-2xx response
* @throws \Ebay\Sell\Analytics\ApiException on non-2xx response
* @throws \InvalidArgumentException
* @return \Ebay\Sell\Analytics\Model\FindSellerStandardsProfilesResponse
*/
Expand All @@ -133,7 +132,7 @@ public function findSellerStandardsProfiles()
* Operation findSellerStandardsProfilesWithHttpInfo
*
*
* @throws \Ebay\Sell\ApiException on non-2xx response
* @throws \Ebay\Sell\Analytics\ApiException on non-2xx response
* @throws \InvalidArgumentException
* @return array of \Ebay\Sell\Analytics\Model\FindSellerStandardsProfilesResponse, HTTP status code, HTTP response headers (array of strings)
*/
Expand Down Expand Up @@ -362,7 +361,7 @@ public function findSellerStandardsProfilesRequest()
* @param string $cycle The period covered by the returned standards profile evaluation. Supply one of two values, CURRENT means the response reflects eBay's most recent monthly standards evaluation and PROJECTED means the response reflect the seller's projected monthly evaluation, as calculated at the time of the request. (required)
* @param string $program This input value specifies the region used to determine the seller's standards profile. Supply one of the four following values, PROGRAM_DE, PROGRAM_UK, PROGRAM_US, or PROGRAM_GLOBAL. (required)
*
* @throws \Ebay\Sell\ApiException on non-2xx response
* @throws \Ebay\Sell\Analytics\ApiException on non-2xx response
* @throws \InvalidArgumentException
* @return \Ebay\Sell\Analytics\Model\StandardsProfile
*/
Expand All @@ -378,7 +377,7 @@ public function getSellerStandardsProfile($cycle, $program)
* @param string $cycle The period covered by the returned standards profile evaluation. Supply one of two values, CURRENT means the response reflects eBay's most recent monthly standards evaluation and PROJECTED means the response reflect the seller's projected monthly evaluation, as calculated at the time of the request. (required)
* @param string $program This input value specifies the region used to determine the seller's standards profile. Supply one of the four following values, PROGRAM_DE, PROGRAM_UK, PROGRAM_US, or PROGRAM_GLOBAL. (required)
*
* @throws \Ebay\Sell\ApiException on non-2xx response
* @throws \Ebay\Sell\Analytics\ApiException on non-2xx response
* @throws \InvalidArgumentException
* @return array of \Ebay\Sell\Analytics\Model\StandardsProfile, HTTP status code, HTTP response headers (array of strings)
*/
Expand Down
Loading

0 comments on commit b79608c

Please sign in to comment.