Merge pull request #216 from retailcrm/integration-embed-js
Add embedJs field to integrations/edit method
This commit is contained in:
commit
27e9e8eaa5
@ -0,0 +1,45 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHP version 7.3
|
||||||
|
*
|
||||||
|
* @category EmbedJsConfiguration
|
||||||
|
* @package RetailCrm\Api\Model\Entity\Integration\EmbedJs
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace RetailCrm\Api\Model\Entity\Integration\EmbedJs;
|
||||||
|
|
||||||
|
use RetailCrm\Api\Component\Serializer\Annotation as JMS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class EmbedJsConfiguration
|
||||||
|
*
|
||||||
|
* @category EmbedJsConfiguration
|
||||||
|
* @package RetailCrm\Api\Model\Entity\Integration\EmbedJs
|
||||||
|
*/
|
||||||
|
class EmbedJsConfiguration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*
|
||||||
|
* @JMS\Type("string")
|
||||||
|
* @JMS\SerializedName("entrypoint")
|
||||||
|
*/
|
||||||
|
public $entrypoint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*
|
||||||
|
* @JMS\Type("string")
|
||||||
|
* @JMS\SerializedName("stylesheet")
|
||||||
|
*/
|
||||||
|
public $stylesheet;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string[]
|
||||||
|
*
|
||||||
|
* @JMS\Type("array<string>")
|
||||||
|
* @JMS\SerializedName("targets")
|
||||||
|
*/
|
||||||
|
public $targets;
|
||||||
|
}
|
@ -74,4 +74,12 @@ class Integrations
|
|||||||
* @JMS\SerializedName("mgBot")
|
* @JMS\SerializedName("mgBot")
|
||||||
*/
|
*/
|
||||||
public $mgBot;
|
public $mgBot;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \RetailCrm\Api\Model\Entity\Integration\EmbedJs\EmbedJsConfiguration
|
||||||
|
*
|
||||||
|
* @JMS\Type("RetailCrm\Api\Model\Entity\Integration\EmbedJs\EmbedJsConfiguration")
|
||||||
|
* @JMS\SerializedName("embedJs")
|
||||||
|
*/
|
||||||
|
public $embedJs;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user