From c21a89c761a1a8ab34a1892331bf8f8cd8cebf24 Mon Sep 17 00:00:00 2001 From: Ilyas Salikhov Date: Mon, 13 Jan 2025 22:27:08 +0300 Subject: [PATCH] Add embedJs field to integrations/edit method --- .../EmbedJs/EmbedJsConfiguration.php | 45 +++++++++++++++++++ src/Model/Entity/Integration/Integrations.php | 8 ++++ 2 files changed, 53 insertions(+) create mode 100644 src/Model/Entity/Integration/EmbedJs/EmbedJsConfiguration.php diff --git a/src/Model/Entity/Integration/EmbedJs/EmbedJsConfiguration.php b/src/Model/Entity/Integration/EmbedJs/EmbedJsConfiguration.php new file mode 100644 index 0000000..3754034 --- /dev/null +++ b/src/Model/Entity/Integration/EmbedJs/EmbedJsConfiguration.php @@ -0,0 +1,45 @@ +") + * @JMS\SerializedName("targets") + */ + public $targets; +} diff --git a/src/Model/Entity/Integration/Integrations.php b/src/Model/Entity/Integration/Integrations.php index 2c0e3ad..7c1861f 100644 --- a/src/Model/Entity/Integration/Integrations.php +++ b/src/Model/Entity/Integration/Integrations.php @@ -74,4 +74,12 @@ class Integrations * @JMS\SerializedName("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; }