2021-05-31 16:33:02 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Intaro\RetailCrm\Component;
|
|
|
|
|
|
|
|
use CCatalogExport;
|
|
|
|
use CModule;
|
|
|
|
use Dotenv\Loader;
|
2021-11-16 10:48:26 +03:00
|
|
|
use Intaro\RetailCrm\Component\Factory\ClientFactory;
|
|
|
|
use Intaro\RetailCrm\Component\Json\Serializer;
|
2021-05-31 16:33:02 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Class Agent
|
|
|
|
*
|
|
|
|
* @package Intaro\RetailCrm\Component
|
|
|
|
*/
|
|
|
|
class Agent
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @param int $profileId
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function preGenerateExport(int $profileId): string
|
|
|
|
{
|
|
|
|
CModule::IncludeModule('catalog');
|
|
|
|
CCatalogExport::PreGenerateExport($profileId);
|
2021-11-16 10:48:26 +03:00
|
|
|
|
2021-05-31 16:33:02 +03:00
|
|
|
return '';
|
|
|
|
}
|
|
|
|
}
|