parent
1eabbe323b
commit
453bc495c0
@ -1,3 +1,6 @@
|
||||
## 2024-04-27 v.6.5.16
|
||||
- Обновлены аннотации в коде модуля
|
||||
|
||||
## 2024-04-23 v.6.5.15
|
||||
- Добавлена передача услуг через ICML каталог
|
||||
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class AbstractBuilder
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
*/
|
||||
abstract class AbstractBuilder
|
||||
{
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class AddressBuilder
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
*/
|
||||
class AddressBuilder extends AbstractBuilder implements RetailcrmBuilderInterface
|
||||
{
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 5.3
|
||||
*
|
||||
* API client class
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
namespace RetailCrm;
|
||||
@ -17,8 +17,6 @@ use RetailCrm\Http\Client;
|
||||
use RetailCrm\Response\ApiResponse;
|
||||
|
||||
/**
|
||||
* PHP version 5.3
|
||||
*
|
||||
* API client class
|
||||
*
|
||||
* @category RetailCRM
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class CorporateCustomerBuilder
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
*/
|
||||
class CorporateCustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterface
|
||||
{
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class CustomerBuilder
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
*/
|
||||
class CustomerBuilder extends AbstractBuilder implements RetailcrmBuilderInterface
|
||||
{
|
||||
|
@ -1,7 +1,22 @@
|
||||
<?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;
|
||||
|
||||
/**
|
||||
* Class CurlException
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Exception
|
||||
*/
|
||||
class CurlException extends \RuntimeException
|
||||
{
|
||||
}
|
||||
|
@ -1,7 +1,22 @@
|
||||
<?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;
|
||||
|
||||
/**
|
||||
* Class InvalidJsonException
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Exception
|
||||
*/
|
||||
class InvalidJsonException extends \DomainException
|
||||
{
|
||||
}
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 5.3
|
||||
*
|
||||
* HTTP client
|
||||
*
|
||||
* @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;
|
||||
@ -16,12 +16,10 @@ use RetailCrm\Exception\InvalidJsonException;
|
||||
use RetailCrm\Response\ApiResponse;
|
||||
|
||||
/**
|
||||
* PHP version 5.3
|
||||
*
|
||||
* HTTP client
|
||||
* Class Client
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
* @package RetailCRM\Http
|
||||
*/
|
||||
class Client
|
||||
{
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Logger
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
*/
|
||||
class Logger
|
||||
{
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?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
|
||||
{
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Model
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class BuyerProfile
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Model
|
||||
*/
|
||||
class BuyerProfile extends BaseModel
|
||||
{
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Model
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Customer
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Model
|
||||
*/
|
||||
class Customer extends BaseModel
|
||||
{
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Model
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class CustomerAddress
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Model
|
||||
*/
|
||||
class CustomerAddress extends BaseModel
|
||||
{
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Model
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class CustomerContragent
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Model
|
||||
*/
|
||||
class CustomerContragent extends BaseModel
|
||||
{
|
||||
|
@ -1,5 +1,14 @@
|
||||
<?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 Intaro\RetailCrm\Component\ServiceLocator;
|
||||
use Bitrix\Sale\Delivery\Services\EmptyDeliveryService;
|
||||
@ -19,6 +28,12 @@ IncludeModuleLangFile(__FILE__);
|
||||
require_once __DIR__ . '/../../lib/component/servicelocator.php';
|
||||
require_once __DIR__ . '/../../lib/service/utils.php';
|
||||
|
||||
/**
|
||||
* class RCrmActions
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
*/
|
||||
class RCrmActions
|
||||
{
|
||||
public static $MODULE_ID = 'intaro.retailcrm';
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 5.3
|
||||
*
|
||||
* Response from RetailCRM API
|
||||
*
|
||||
* @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;
|
||||
@ -15,12 +15,10 @@ use InvalidArgumentException;
|
||||
use RetailCrm\Exception\InvalidJsonException;
|
||||
|
||||
/**
|
||||
* PHP version 5.3
|
||||
*
|
||||
* Response from RetailCRM API
|
||||
* Class ApiResponse
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
* @package RetailCRM\Response
|
||||
*/
|
||||
class ApiResponse implements \ArrayAccess
|
||||
{
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?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
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
*/
|
||||
class RestNormalizer
|
||||
{
|
||||
|
@ -1,7 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
IncludeModuleLangFile(__FILE__);
|
||||
|
||||
/**
|
||||
* Interface RetailcrmBuilderInterface
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM
|
||||
*/
|
||||
interface RetailcrmBuilderInterface
|
||||
{
|
||||
/**
|
||||
|
@ -1,8 +1,15 @@
|
||||
<?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
|
||||
*
|
||||
* @category RetailCRM
|
||||
|
@ -1,8 +1,15 @@
|
||||
<?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
|
||||
*
|
||||
* @category RetailCRM
|
||||
|
@ -1,8 +1,15 @@
|
||||
<?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
|
||||
*
|
||||
* @category RetailCRM
|
||||
|
@ -1,5 +1,14 @@
|
||||
<?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\Sale\Basket;
|
||||
|
||||
@ -8,6 +17,9 @@ IncludeModuleLangFile(__FILE__);
|
||||
|
||||
/**
|
||||
* Class RetailCrmCart
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Cart
|
||||
*/
|
||||
class RetailCrmCart
|
||||
{
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Collector
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class RetailCrmCollector
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Collector
|
||||
*/
|
||||
class RetailCrmCollector
|
||||
{
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?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
|
||||
{
|
||||
|
@ -1,5 +1,14 @@
|
||||
<?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 Intaro\RetailCrm\Component\Constants;
|
||||
use Intaro\RetailCrm\Component\ServiceLocator;
|
||||
@ -17,6 +26,9 @@ use Intaro\RetailCrm\Model\Api\Response\OrdersEditResponse;
|
||||
|
||||
/**
|
||||
* Class RetailCrmEvent
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Events
|
||||
*/
|
||||
class RetailCrmEvent
|
||||
{
|
||||
|
@ -1,4 +1,10 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\History
|
||||
*/
|
||||
|
||||
define("NO_KEEP_STATISTIC", true);
|
||||
require_once($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/include/prolog_before.php');
|
||||
$GLOBALS['APPLICATION']->RestartBuffer();
|
||||
|
@ -1,5 +1,14 @@
|
||||
<?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\ArgumentNullException;
|
||||
use Bitrix\Main\ArgumentOutOfRangeException;
|
||||
@ -25,6 +34,13 @@ use Intaro\RetailCrm\Component\Handlers\EventsHandlers;
|
||||
use RetailCrm\Response\ApiResponse;
|
||||
|
||||
IncludeModuleLangFile(__FILE__);
|
||||
|
||||
/**
|
||||
* Class RetailCrmHistory
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\History
|
||||
*/
|
||||
class RetailCrmHistory
|
||||
{
|
||||
public static $MODULE_ID = 'intaro.retailcrm';
|
||||
|
@ -1,7 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\History
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class RetailUser
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\History
|
||||
*/
|
||||
class RetailUser extends CUser
|
||||
{
|
||||
|
@ -1,5 +1,21 @@
|
||||
<?php
|
||||
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
|
||||
{
|
||||
public static $pageSize = 500;
|
||||
|
@ -1,5 +1,14 @@
|
||||
<?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\Culture;
|
||||
use Bitrix\Main\UserTable;
|
||||
@ -24,6 +33,9 @@ IncludeModuleLangFile(__FILE__);
|
||||
|
||||
/**
|
||||
* Class RetailCrmOrder
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Order
|
||||
*/
|
||||
class RetailCrmOrder
|
||||
{
|
||||
|
@ -1,5 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Prices
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
IncludeModuleLangFile(__FILE__);
|
||||
|
||||
/**
|
||||
* Class RetailCrmPrices
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Prices
|
||||
*/
|
||||
class RetailCrmPrices
|
||||
{
|
||||
public static $MODULE_ID = 'intaro.retailcrm';
|
||||
|
@ -1,9 +1,24 @@
|
||||
<?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\Main\Context;
|
||||
use Bitrix\Catalog\StoreTable;
|
||||
|
||||
/**
|
||||
* Class BitrixOrderService
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Service
|
||||
*/
|
||||
class BitrixOrderService
|
||||
{
|
||||
public static function getCountryList()
|
||||
|
@ -1,9 +1,21 @@
|
||||
<?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;
|
||||
|
||||
/**
|
||||
* Class RetailCrmService
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\Service
|
||||
*/
|
||||
class RetailCrmService
|
||||
{
|
||||
|
@ -1,4 +1,20 @@
|
||||
<?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
|
||||
{
|
||||
public static $MODULE_ID = 'intaro.retailcrm';
|
||||
|
@ -1,10 +1,26 @@
|
||||
<?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 RetailCrm\ApiClient;
|
||||
use RetailCrm\Response\ApiResponse;
|
||||
|
||||
IncludeModuleLangFile(__FILE__);
|
||||
|
||||
/**
|
||||
* Class RetailCrmCorporateClient
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\User
|
||||
*/
|
||||
class RetailCrmCorporateClient
|
||||
{
|
||||
const CORP_PREFIX = 'corp';
|
||||
|
@ -1,5 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\User
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
|
||||
IncludeModuleLangFile(__FILE__);
|
||||
|
||||
/**
|
||||
* Class RetailCrmUser
|
||||
*
|
||||
* @category RetailCRM
|
||||
* @package RetailCRM\User
|
||||
*/
|
||||
class RetailCrmUser
|
||||
{
|
||||
|
||||
|
@ -1 +1 @@
|
||||
- Добавлена передача услуг через ICML каталог
|
||||
- Обновлены аннотации в коде модуля
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
$arModuleVersion = [
|
||||
'VERSION' => '6.5.15',
|
||||
'VERSION_DATE' => '2024-04-23 10:30:00'
|
||||
'VERSION' => '6.5.16',
|
||||
'VERSION_DATE' => '2024-04-27 14:00:00'
|
||||
];
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\ApiClient
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\ApiClient
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,7 +1,5 @@
|
||||
<?php
|
||||
/**
|
||||
* PHP version 8.0
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\ApiClient
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\ApiClient
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\ApiClient
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\ApiClient\Traits
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\ApiClient\Traits
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Builder\API
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Builder\API
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Builder\Bitrix
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Builder\Bitrix
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Builder
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Converter
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Factory
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Loyalty
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Exception
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Mapping
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Mapping
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Mapping
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Mapping
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Mapping
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Mapping
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Mapping
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Deserialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy\Serialize
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component\Json\Strategy
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Component
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -7,6 +7,14 @@ use Bitrix\Main\Engine\Controller;
|
||||
use Intaro\RetailCrm\Component\ConfigProvider;
|
||||
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
|
||||
{
|
||||
public function configureActions(): array
|
||||
|
@ -18,9 +18,12 @@ use CModule;
|
||||
use Intaro\RetailCrm\Service\Hl;
|
||||
|
||||
/**
|
||||
* Class Order
|
||||
*
|
||||
* @package Intaro\RetailCrm\Controller\Loyalty
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Controller
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
* @license MIT
|
||||
* @link http://retailcrm.ru
|
||||
* @see http://retailcrm.ru/docs
|
||||
*/
|
||||
class Icml extends Controller
|
||||
{
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Controller\Loyalty
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Controller\Loyalty
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -23,6 +23,14 @@ use Intaro\RetailCrm\Service\LoyaltyService;
|
||||
use Intaro\RetailCrm\Service\LoyaltyAccountService;
|
||||
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
|
||||
{
|
||||
public const MIN_CODE_LENGTH = 3;
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\DataProvider
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Model\Api
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Model\Api
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Model\Api
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Model\Api
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 8.0
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Model\Api
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 8.0
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Model\Api
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Model\Api
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Integration
|
||||
* @package Intaro\RetailCrm\Model\Api
|
||||
* @author RetailCRM <integration@retailcrm.ru>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user