Skip to content

Commit

Permalink
upgrade v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Nov 6, 2024
1 parent d5868a3 commit 4ab8083
Show file tree
Hide file tree
Showing 84 changed files with 122 additions and 122 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nexa-merchant/apis",
"license": "MIT",
"version": "2.0.1",
"version": "2.0.2",
"description" : "Nexa merchant Apps api",
"keywords": ["laravel", "api", "jwt", "nexa merchant", "merchant", "restful", "restful api"],
"type": "library",
Expand Down
4 changes: 2 additions & 2 deletions src/Config/Apis.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
*
* The version of the package
*/
'version' => '2.0.1',
'version' => '2.0.2',
/**
*
* The version number of the package
*/
'versionNum' => '201',
'versionNum' => '202',
/**
*
* enable input log for all requests default is false
Expand Down
2 changes: 1 addition & 1 deletion src/Docs/V1/Admin/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* @OA\Info(
* version="2.0.1",
* version="2.0.2",
* title="NexaMerchant Admin Rest API Documentation",
* description="NexaMerchant Admin Rest API Documentation",
*
Expand Down
2 changes: 1 addition & 1 deletion src/Docs/V1/Shop/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* @OA\Info(
* version="2.0.1",
* version="2.0.2",
* title="NexaMerchant Store Front Rest API Documentation",
* description="NexaMerchant Store Front Rest API Documentation",
*
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Resources/Api/V2/Admin/CMS/PageResource.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\CMS;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\CMS;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Catalog;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Catalog;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Catalog;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Catalog;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Catalog;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Catalog;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Catalog;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Catalog;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Catalog;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Catalog;

use Illuminate\Http\Resources\Json\JsonResource;
use Illuminate\Support\Facades\Storage;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Catalog;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Catalog;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Catalog;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Catalog;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Catalog;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Catalog;

use Illuminate\Http\Resources\Json\JsonResource;
use NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Customer\CustomerResource;
use NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Customer\CustomerResource;

class ProductReviewResource extends JsonResource
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Catalog;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Catalog;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Customer;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Customer;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Customer;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Customer;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Customer;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Customer;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Marketing\Communications;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Marketing\Communications;

use Illuminate\Http\Resources\Json\JsonResource;
use NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Customer\CustomerGroupResource;
use NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Customer\CustomerGroupResource;

class CampaignResource extends JsonResource
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Marketing\Communications;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Marketing\Communications;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Marketing\Communications;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Marketing\Communications;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Marketing\Communications;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Marketing\Communications;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Marketing\Promotions;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Marketing\Promotions;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Marketing\Promotions;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Marketing\Promotions;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Marketing\Promotions;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Marketing\Promotions;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Marketing\SearchSEO;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Marketing\SearchSEO;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Marketing\SearchSEO;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Marketing\SearchSEO;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Marketing\SearchSEO;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Marketing\SearchSEO;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Marketing\SearchSEO;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Marketing\SearchSEO;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
2 changes: 1 addition & 1 deletion src/Http/Resources/Api/V2/Admin/Sales/DisputeResource.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Sales;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Sales;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Sales;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Sales;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
2 changes: 1 addition & 1 deletion src/Http/Resources/Api/V2/Admin/Sales/InvoiceResource.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Sales;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Sales;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Sales;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Sales;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Sales;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Sales;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
6 changes: 3 additions & 3 deletions src/Http/Resources/Api/V2/Admin/Sales/OrderResource.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Sales;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Sales;

use Illuminate\Http\Resources\Json\JsonResource;
use NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Customer\CustomerResource;
use NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Settings\ChannelResource;
use NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Customer\CustomerResource;
use NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Settings\ChannelResource;

class OrderResource extends JsonResource
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Sales;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Sales;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Sales;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Sales;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
2 changes: 1 addition & 1 deletion src/Http/Resources/Api/V2/Admin/Sales/RefundResource.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Sales;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Sales;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Sales;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Sales;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
6 changes: 3 additions & 3 deletions src/Http/Resources/Api/V2/Admin/Sales/ShipmentResource.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Sales;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Sales;

use Illuminate\Http\Resources\Json\JsonResource;
use NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Customer\CustomerResource;
use NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Settings\InventorySourceResource;
use NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Customer\CustomerResource;
use NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Settings\InventorySourceResource;

class ShipmentResource extends JsonResource
{
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Resources/Api/V2/Admin/Settings/ChannelResource.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Settings;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Settings;

use Illuminate\Http\Resources\Json\JsonResource;
use NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Catalog\CategoryResource;
use NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Catalog\CategoryResource;

class ChannelResource extends JsonResource
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Settings;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Settings;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Settings;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Settings;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Settings;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Settings;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Settings;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Settings;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace NexaMerchant\Apis\Http\Resources\Api\V1\Admin\Settings;
namespace NexaMerchant\Apis\Http\Resources\Api\V2\Admin\Settings;

use Illuminate\Http\Resources\Json\JsonResource;

Expand Down
Loading

0 comments on commit 4ab8083

Please sign in to comment.