1
0
mirror of synced 2024-11-21 21:06:09 +03:00

ref #88907 Доработка аннотаций в модуле (#346)

This commit is contained in:
Kocmonavtik 2024-04-29 11:44:31 +03:00 committed by GitHub
parent 1eabbe323b
commit 453bc495c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
266 changed files with 657 additions and 490 deletions

View File

@ -1,3 +1,6 @@
## 2024-04-27 v.6.5.16
- Обновлены аннотации в коде модуля
## 2024-04-23 v.6.5.15 ## 2024-04-23 v.6.5.15
- Добавлена передача услуг через ICML каталог - Добавлена передача услуг через ICML каталог

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* Class AbstractBuilder * Class AbstractBuilder
*
* @category RetailCRM
* @package RetailCRM
*/ */
abstract class AbstractBuilder abstract class AbstractBuilder
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* Class AddressBuilder * Class AddressBuilder
*
* @category RetailCRM
* @package RetailCRM
*/ */
class AddressBuilder extends AbstractBuilder implements RetailcrmBuilderInterface class AddressBuilder extends AbstractBuilder implements RetailcrmBuilderInterface
{ {

View File

@ -1,12 +1,12 @@
<?php <?php
/** /**
* PHP version 5.3
*
* API client class
*
* @category RetailCRM * @category RetailCRM
* @package RetailCRM * @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/ */
namespace RetailCrm; namespace RetailCrm;
@ -17,12 +17,10 @@ use RetailCrm\Http\Client;
use RetailCrm\Response\ApiResponse; use RetailCrm\Response\ApiResponse;
/** /**
* PHP version 5.3
*
* API client class * API client class
* *
* @category RetailCRM * @category RetailCRM
* @package RetailCRM * @package RetailCRM
*/ */
class ApiClient class ApiClient
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* Class CorporateCustomerBuilder * Class CorporateCustomerBuilder
*
* @category RetailCRM
* @package RetailCRM
*/ */
class CorporateCustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterface class CorporateCustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterface
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* Class CustomerBuilder * Class CustomerBuilder
*
* @category RetailCRM
* @package RetailCRM
*/ */
class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterface class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterface
{ {

View File

@ -1,7 +1,22 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Exception
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
namespace RetailCrm\Exception; namespace RetailCrm\Exception;
/**
* Class CurlException
*
* @category RetailCRM
* @package RetailCRM\Exception
*/
class CurlException extends \RuntimeException class CurlException extends \RuntimeException
{ {
} }

View File

@ -1,7 +1,22 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Exception
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
namespace RetailCrm\Exception; namespace RetailCrm\Exception;
/**
* Class InvalidJsonException
*
* @category RetailCRM
* @package RetailCRM\Exception
*/
class InvalidJsonException extends \DomainException class InvalidJsonException extends \DomainException
{ {
} }

View File

@ -1,12 +1,12 @@
<?php <?php
/** /**
* PHP version 5.3
*
* HTTP client
*
* @category RetailCRM * @category RetailCRM
* @package RetailCRM * @package RetailCRM\Http
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/ */
namespace RetailCrm\Http; namespace RetailCrm\Http;
@ -16,12 +16,10 @@ use RetailCrm\Exception\InvalidJsonException;
use RetailCrm\Response\ApiResponse; use RetailCrm\Response\ApiResponse;
/** /**
* PHP version 5.3 * Class Client
*
* HTTP client
* *
* @category RetailCRM * @category RetailCRM
* @package RetailCRM * @package RetailCRM\Http
*/ */
class Client class Client
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* Class Logger * Class Logger
*
* @category RetailCRM
* @package RetailCRM
*/ */
class Logger class Logger
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/** /**
* Class BaseModel * @category RetailCRM
* @package RetailCRM\Model
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/**
* Class BaseModel
*
* @category RetailCRM
* @package RetailCRM\Model
*/ */
abstract class BaseModel abstract class BaseModel
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Model
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* Class BuyerProfile * Class BuyerProfile
*
* @category RetailCRM
* @package RetailCRM\Model
*/ */
class BuyerProfile extends BaseModel class BuyerProfile extends BaseModel
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Model
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* Class Customer * Class Customer
*
* @category RetailCRM
* @package RetailCRM\Model
*/ */
class Customer extends BaseModel class Customer extends BaseModel
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Model
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* Class CustomerAddress * Class CustomerAddress
*
* @category RetailCRM
* @package RetailCRM\Model
*/ */
class CustomerAddress extends BaseModel class CustomerAddress extends BaseModel
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Model
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* Class CustomerContragent * Class CustomerContragent
*
* @category RetailCRM
* @package RetailCRM\Model
*/ */
class CustomerContragent extends BaseModel class CustomerContragent extends BaseModel
{ {

View File

@ -1,5 +1,14 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
use Bitrix\Sale\PersonType; use Bitrix\Sale\PersonType;
use Intaro\RetailCrm\Component\ServiceLocator; use Intaro\RetailCrm\Component\ServiceLocator;
use Bitrix\Sale\Delivery\Services\EmptyDeliveryService; use Bitrix\Sale\Delivery\Services\EmptyDeliveryService;
@ -19,6 +28,12 @@ IncludeModuleLangFile(__FILE__);
require_once __DIR__ . '/../../lib/component/servicelocator.php'; require_once __DIR__ . '/../../lib/component/servicelocator.php';
require_once __DIR__ . '/../../lib/service/utils.php'; require_once __DIR__ . '/../../lib/service/utils.php';
/**
* class RCrmActions
*
* @category RetailCRM
* @package RetailCRM
*/
class RCrmActions class RCrmActions
{ {
public static $MODULE_ID = 'intaro.retailcrm'; public static $MODULE_ID = 'intaro.retailcrm';

View File

@ -1,12 +1,12 @@
<?php <?php
/** /**
* PHP version 5.3
*
* Response from RetailCRM API
*
* @category RetailCRM * @category RetailCRM
* @package RetailCRM * @package RetailCRM\Response
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/ */
namespace RetailCrm\Response; namespace RetailCrm\Response;
@ -15,12 +15,10 @@ use InvalidArgumentException;
use RetailCrm\Exception\InvalidJsonException; use RetailCrm\Exception\InvalidJsonException;
/** /**
* PHP version 5.3 * Class ApiResponse
*
* Response from RetailCRM API
* *
* @category RetailCRM * @category RetailCRM
* @package RetailCRM * @package RetailCRM\Response
*/ */
class ApiResponse implements \ArrayAccess class ApiResponse implements \ArrayAccess
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* RestNormalizer - The main class * RestNormalizer - The main class
*
* @category RetailCRM
* @package RetailCRM
*/ */
class RestNormalizer class RestNormalizer
{ {

View File

@ -1,7 +1,22 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
IncludeModuleLangFile(__FILE__); IncludeModuleLangFile(__FILE__);
/**
* Interface RetailcrmBuilderInterface
*
* @category RetailCRM
* @package RetailCRM
*/
interface RetailcrmBuilderInterface interface RetailcrmBuilderInterface
{ {
/** /**

View File

@ -1,12 +1,19 @@
<?php <?php
/** /**
* PHP version 5.3 * @category RetailCRM
* * @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/**
* RetailcrmConfigProvider class * RetailcrmConfigProvider class
* *
* @category RetailCRM * @category RetailCRM
* @package RetailCRM * @package RetailCRM
*/ */
use Intaro\RetailCrm\Component\ConfigProvider; use Intaro\RetailCrm\Component\ConfigProvider;

View File

@ -1,12 +1,19 @@
<?php <?php
/** /**
* PHP version 5.3 * @category RetailCRM
* * @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/**
* RetailcrmConstants * RetailcrmConstants
* *
* @category RetailCRM * @category RetailCRM
* @package RetailCRM * @package RetailCRM
*/ */
use Intaro\RetailCrm\Component\Constants; use Intaro\RetailCrm\Component\Constants;

View File

@ -1,12 +1,19 @@
<?php <?php
/** /**
* PHP version 5.3 * @category RetailCRM
* * @package RetailCRM
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/**
* RetailcrmDependencyLoader class * RetailcrmDependencyLoader class
* *
* @category RetailCRM * @category RetailCRM
* @package RetailCRM * @package RetailCRM
*/ */
IncludeModuleLangFile(__FILE__); IncludeModuleLangFile(__FILE__);

View File

@ -1,5 +1,14 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Cart
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
use Bitrix\Main\Context\Culture; use Bitrix\Main\Context\Culture;
use Bitrix\Sale\Basket; use Bitrix\Sale\Basket;
@ -8,6 +17,9 @@ IncludeModuleLangFile(__FILE__);
/** /**
* Class RetailCrmCart * Class RetailCrmCart
*
* @category RetailCRM
* @package RetailCRM\Cart
*/ */
class RetailCrmCart class RetailCrmCart
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Collector
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* Class RetailCrmCollector * Class RetailCrmCollector
*
* @category RetailCRM
* @package RetailCRM\Collector
*/ */
class RetailCrmCollector class RetailCrmCollector
{ {

View File

@ -1,7 +1,19 @@
<?php <?php
/** /**
* class RetailCrmOnlineConsultant * @category RetailCRM
* @package RetailCRM\Consultant
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/**
* Class RetailCrmOnlineConsultant
*
* @category RetailCRM
* @package RetailCRM\Consultant
*/ */
class RetailCrmOnlineConsultant class RetailCrmOnlineConsultant
{ {

View File

@ -1,5 +1,14 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Events
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
use Bitrix\Main\Context\Culture; use Bitrix\Main\Context\Culture;
use Intaro\RetailCrm\Component\Constants; use Intaro\RetailCrm\Component\Constants;
use Intaro\RetailCrm\Component\ServiceLocator; use Intaro\RetailCrm\Component\ServiceLocator;
@ -17,6 +26,9 @@ use Intaro\RetailCrm\Model\Api\Response\OrdersEditResponse;
/** /**
* Class RetailCrmEvent * Class RetailCrmEvent
*
* @category RetailCRM
* @package RetailCRM\Events
*/ */
class RetailCrmEvent class RetailCrmEvent
{ {

View File

@ -1,4 +1,10 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\History
*/
define("NO_KEEP_STATISTIC", true); define("NO_KEEP_STATISTIC", true);
require_once($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/include/prolog_before.php'); require_once($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/include/prolog_before.php');
$GLOBALS['APPLICATION']->RestartBuffer(); $GLOBALS['APPLICATION']->RestartBuffer();
@ -28,4 +34,4 @@ if (CModule::IncludeModule($moduleId) && $idOrderCRM && $idOrderCRM > 0) {
COption::RemoveOption($moduleId, $historyTime); COption::RemoveOption($moduleId, $historyTime);
} }
} }

View File

@ -1,5 +1,14 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\History
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
use Bitrix\Main\ArgumentException; use Bitrix\Main\ArgumentException;
use Bitrix\Main\ArgumentNullException; use Bitrix\Main\ArgumentNullException;
use Bitrix\Main\ArgumentOutOfRangeException; use Bitrix\Main\ArgumentOutOfRangeException;
@ -25,6 +34,13 @@ use Intaro\RetailCrm\Component\Handlers\EventsHandlers;
use RetailCrm\Response\ApiResponse; use RetailCrm\Response\ApiResponse;
IncludeModuleLangFile(__FILE__); IncludeModuleLangFile(__FILE__);
/**
* Class RetailCrmHistory
*
* @category RetailCRM
* @package RetailCRM\History
*/
class RetailCrmHistory class RetailCrmHistory
{ {
public static $MODULE_ID = 'intaro.retailcrm'; public static $MODULE_ID = 'intaro.retailcrm';

View File

@ -1,7 +1,19 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\History
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/** /**
* Class RetailUser * Class RetailUser
*
* @category RetailCRM
* @package RetailCRM\History
*/ */
class RetailUser extends CUser class RetailUser extends CUser
{ {

View File

@ -1,5 +1,21 @@
<?php <?php
IncludeModuleLangFile(__FILE__); IncludeModuleLangFile(__FILE__);
/**
* @category RetailCRM
* @package RetailCRM\Inventories
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/**
* Class RetailCrmInventories
*
* @category RetailCRM
* @package RetailCRM\Inventories
*/
class RetailCrmInventories class RetailCrmInventories
{ {
public static $pageSize = 500; public static $pageSize = 500;
@ -151,4 +167,4 @@ class RetailCrmInventories
return $val; return $val;
} }
} }

View File

@ -1,5 +1,14 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Order
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
use Bitrix\Main\Context; use Bitrix\Main\Context;
use Bitrix\Main\Context\Culture; use Bitrix\Main\Context\Culture;
use Bitrix\Main\UserTable; use Bitrix\Main\UserTable;
@ -24,6 +33,9 @@ IncludeModuleLangFile(__FILE__);
/** /**
* Class RetailCrmOrder * Class RetailCrmOrder
*
* @category RetailCRM
* @package RetailCRM\Order
*/ */
class RetailCrmOrder class RetailCrmOrder
{ {

View File

@ -1,5 +1,22 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Prices
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
IncludeModuleLangFile(__FILE__); IncludeModuleLangFile(__FILE__);
/**
* Class RetailCrmPrices
*
* @category RetailCRM
* @package RetailCRM\Prices
*/
class RetailCrmPrices class RetailCrmPrices
{ {
public static $MODULE_ID = 'intaro.retailcrm'; public static $MODULE_ID = 'intaro.retailcrm';
@ -150,4 +167,4 @@ class RetailCrmPrices
return 'RetailCrmPrices::pricesUpload();'; return 'RetailCrmPrices::pricesUpload();';
} }
} }

View File

@ -1,9 +1,24 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Service
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
use Bitrix\Sale\Order; use Bitrix\Sale\Order;
use Bitrix\Main\Context; use Bitrix\Main\Context;
use Bitrix\Catalog\StoreTable; use Bitrix\Catalog\StoreTable;
/**
* Class BitrixOrderService
*
* @category RetailCRM
* @package RetailCRM\Service
*/
class BitrixOrderService class BitrixOrderService
{ {
public static function getCountryList() public static function getCountryList()

View File

@ -1,9 +1,21 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Service
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
use Intaro\RetailCrm\Component\Constants; use Intaro\RetailCrm\Component\Constants;
/** /**
* Class RetailCrmService * Class RetailCrmService
*
* @category RetailCRM
* @package RetailCRM\Service
*/ */
class RetailCrmService class RetailCrmService
{ {

View File

@ -1,4 +1,20 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\Ua
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
/**
* Class RetailCrmUa
*
* @category RetailCRM
* @package RetailCRM\Ua
*/
class RetailCrmUa class RetailCrmUa
{ {
public static $MODULE_ID = 'intaro.retailcrm'; public static $MODULE_ID = 'intaro.retailcrm';
@ -82,4 +98,4 @@ class RetailCrmUa
$APPLICATION->AddHeadString($ua); $APPLICATION->AddHeadString($ua);
} }
} }
} }

View File

@ -1,10 +1,26 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\User
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
use Bitrix\Main\UserTable; use Bitrix\Main\UserTable;
use RetailCrm\ApiClient; use RetailCrm\ApiClient;
use RetailCrm\Response\ApiResponse; use RetailCrm\Response\ApiResponse;
IncludeModuleLangFile(__FILE__); IncludeModuleLangFile(__FILE__);
/**
* Class RetailCrmCorporateClient
*
* @category RetailCRM
* @package RetailCRM\User
*/
class RetailCrmCorporateClient class RetailCrmCorporateClient
{ {
const CORP_PREFIX = 'corp'; const CORP_PREFIX = 'corp';

View File

@ -1,5 +1,22 @@
<?php <?php
/**
* @category RetailCRM
* @package RetailCRM\User
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
IncludeModuleLangFile(__FILE__); IncludeModuleLangFile(__FILE__);
/**
* Class RetailCrmUser
*
* @category RetailCRM
* @package RetailCRM\User
*/
class RetailCrmUser class RetailCrmUser
{ {

View File

@ -1 +1 @@
- Добавлена передача услуг через ICML каталог - Обновлены аннотации в коде модуля

View File

@ -1,6 +1,6 @@
<?php <?php
$arModuleVersion = [ $arModuleVersion = [
'VERSION' => '6.5.15', 'VERSION' => '6.5.16',
'VERSION_DATE' => '2024-04-23 10:30:00' 'VERSION_DATE' => '2024-04-27 14:00:00'
]; ];

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\ApiClient * @package Intaro\RetailCrm\Component\ApiClient
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\ApiClient * @package Intaro\RetailCrm\Component\ApiClient
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,7 +1,5 @@
<?php <?php
/** /**
* PHP version 8.0
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\ApiClient * @package Intaro\RetailCrm\Component\ApiClient
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\ApiClient * @package Intaro\RetailCrm\Component\ApiClient
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\ApiClient * @package Intaro\RetailCrm\Component\ApiClient
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\ApiClient\Traits * @package Intaro\RetailCrm\Component\ApiClient\Traits
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>
@ -188,4 +186,4 @@ trait LoyaltyTrait
return Deserializer::deserializeArray($response->getResponseBody(), LoyaltyLoyaltiesResponse::class); return Deserializer::deserializeArray($response->getResponseBody(), LoyaltyLoyaltiesResponse::class);
} }
} }

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\ApiClient\Traits * @package Intaro\RetailCrm\Component\ApiClient\Traits
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Builder\API * @package Intaro\RetailCrm\Component\Builder\API
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Builder\API * @package Intaro\RetailCrm\Component\Builder\API
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Builder\Bitrix * @package Intaro\RetailCrm\Component\Builder\Bitrix
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Builder\Bitrix * @package Intaro\RetailCrm\Component\Builder\Bitrix
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Builder * @package Intaro\RetailCrm\Component\Builder
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component * @package Intaro\RetailCrm\Component
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component * @package Intaro\RetailCrm\Component
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Converter * @package Intaro\RetailCrm\Component\Converter
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component * @package Intaro\RetailCrm\Component
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component * @package Intaro\RetailCrm\Component
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Factory * @package Intaro\RetailCrm\Component\Factory
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Loyalty * @package Intaro\RetailCrm\Component\Loyalty
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json * @package Intaro\RetailCrm\Component\Json
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Exception * @package Intaro\RetailCrm\Component\Json\Exception
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Mapping * @package Intaro\RetailCrm\Component\Json\Mapping
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Mapping * @package Intaro\RetailCrm\Component\Json\Mapping
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Mapping * @package Intaro\RetailCrm\Component\Json\Mapping
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Mapping * @package Intaro\RetailCrm\Component\Json\Mapping
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Mapping * @package Intaro\RetailCrm\Component\Json\Mapping
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Mapping * @package Intaro\RetailCrm\Component\Json\Mapping
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Mapping * @package Intaro\RetailCrm\Component\Json\Mapping
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json * @package Intaro\RetailCrm\Component\Json
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json * @package Intaro\RetailCrm\Component\Json
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy * @package Intaro\RetailCrm\Component\Json\Strategy
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize * @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize * @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize * @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize * @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize * @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize * @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy * @package Intaro\RetailCrm\Component\Json\Strategy
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize * @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize * @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize * @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize * @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize * @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize * @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy * @package Intaro\RetailCrm\Component\Json\Strategy
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component\Json\Strategy * @package Intaro\RetailCrm\Component\Json\Strategy
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Component * @package Intaro\RetailCrm\Component
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -7,6 +7,14 @@ use Bitrix\Main\Engine\Controller;
use Intaro\RetailCrm\Component\ConfigProvider; use Intaro\RetailCrm\Component\ConfigProvider;
use Intaro\RetailCrm\Component\Constants; use Intaro\RetailCrm\Component\Constants;
/**
* @category Integration
* @package Intaro\RetailCrm\Controller
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
class AdminPanel extends Controller class AdminPanel extends Controller
{ {
public function configureActions(): array public function configureActions(): array

View File

@ -18,9 +18,12 @@ use CModule;
use Intaro\RetailCrm\Service\Hl; use Intaro\RetailCrm\Service\Hl;
/** /**
* Class Order * @category Integration
* * @package Intaro\RetailCrm\Controller
* @package Intaro\RetailCrm\Controller\Loyalty * @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/ */
class Icml extends Controller class Icml extends Controller
{ {

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Controller\Loyalty * @package Intaro\RetailCrm\Controller\Loyalty
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Controller\Loyalty * @package Intaro\RetailCrm\Controller\Loyalty
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -23,6 +23,14 @@ use Intaro\RetailCrm\Service\LoyaltyService;
use Intaro\RetailCrm\Service\LoyaltyAccountService; use Intaro\RetailCrm\Service\LoyaltyAccountService;
use Intaro\RetailCrm\Service\Utils; use Intaro\RetailCrm\Service\Utils;
/**
* @category Integration
* @package Intaro\RetailCrm\Controller\Loyalty
* @author RetailCRM <integration@retailcrm.ru>
* @license MIT
* @link http://retailcrm.ru
* @see http://retailcrm.ru/docs
*/
class Register extends Controller class Register extends Controller
{ {
public const MIN_CODE_LENGTH = 3; public const MIN_CODE_LENGTH = 3;

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\DataProvider * @package Intaro\RetailCrm\DataProvider
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Model\Api * @package Intaro\RetailCrm\Model\Api
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Model\Api * @package Intaro\RetailCrm\Model\Api
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Model\Api * @package Intaro\RetailCrm\Model\Api
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Model\Api * @package Intaro\RetailCrm\Model\Api
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 8.0
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Model\Api * @package Intaro\RetailCrm\Model\Api
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 8.0
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Model\Api * @package Intaro\RetailCrm\Model\Api
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Model\Api * @package Intaro\RetailCrm\Model\Api
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

View File

@ -1,8 +1,6 @@
<?php <?php
/** /**
* PHP version 7.1
*
* @category Integration * @category Integration
* @package Intaro\RetailCrm\Model\Api * @package Intaro\RetailCrm\Model\Api
* @author RetailCRM <integration@retailcrm.ru> * @author RetailCRM <integration@retailcrm.ru>

Some files were not shown because too many files have changed in this diff Show More