| @@ -10,8 +10,8 @@ | ||
| 10 | 10 | |
| 11 | 11 | use Craft; | 
| 12 | 12 | use craft\helpers\UrlHelper; | 
| 13 | -use flipbox\craft\hubspot\connections\SavableConnectionInterface; | |
| 14 | 13 | use flipbox\craft\hubspot\HubSpot; | 
| 14 | +use flipbox\craft\hubspot\connections\SavableConnectionInterface; | |
| 15 | 15 | use flipbox\craft\hubspot\records\Connection; | 
| 16 | 16 | use yii\di\Instance; | 
| 17 | 17 | use yii\web\Response; | 
| @@ -9,24 +9,23 @@ | ||
| 9 | 9 | namespace flipbox\craft\hubspot\fields; | 
| 10 | 10 | |
| 11 | 11 | use Craft; | 
| 12 | +use Psr\Http\Message\ResponseInterface; | |
| 13 | +use Psr\SimpleCache\CacheInterface; | |
| 12 | 14 | use craft\base\Element; | 
| 13 | 15 | use craft\base\ElementInterface; | 
| 14 | 16 | use craft\helpers\ArrayHelper; | 
| 15 | -use craft\helpers\Json; | |
| 16 | 17 | use flipbox\craft\ember\helpers\SiteHelper; | 
| 18 | +use flipbox\craft\hubspot\HubSpot; | |
| 17 | 19 | use flipbox\craft\hubspot\fields\actions\SyncItemFrom; | 
| 18 | 20 | use flipbox\craft\hubspot\fields\actions\SyncItemTo; | 
| 19 | 21 | use flipbox\craft\hubspot\fields\actions\SyncTo; | 
| 20 | 22 | use flipbox\craft\hubspot\helpers\TransformerHelper; | 
| 21 | -use flipbox\craft\hubspot\HubSpot; | |
| 22 | 23 | use flipbox\craft\hubspot\records\ObjectAssociation; | 
| 23 | 24 | use flipbox\craft\hubspot\transformers\PopulateElementErrorsFromResponse; | 
| 24 | 25 | use flipbox\craft\hubspot\transformers\PopulateElementErrorsFromUpsertResponse; | 
| 25 | 26 | use flipbox\craft\integration\fields\Integrations; | 
| 26 | 27 | use flipbox\craft\integration\queries\IntegrationAssociationQuery; | 
| 27 | 28 | use flipbox\hubspot\connections\ConnectionInterface; | 
| 28 | -use Psr\Http\Message\ResponseInterface; | |
| 29 | -use Psr\SimpleCache\CacheInterface; | |
| 30 | 29 | |
| 31 | 30 | /** | 
| 32 | 31 | * @author Flipbox Factory <[email protected]> | 
| @@ -12,10 +12,10 @@ | ||
| 12 | 12 | |
| 13 | 13 | use craft\base\Element; | 
| 14 | 14 | use craft\base\ElementInterface; | 
| 15 | +use flipbox\craft\hubspot\HubSpot; | |
| 15 | 16 | use flipbox\craft\hubspot\events\CreatePayloadFromElementEvent; | 
| 16 | 17 | use flipbox\craft\hubspot\fields\Objects; | 
| 17 | 18 | use flipbox\craft\hubspot\fields\ObjectsFieldInterface; | 
| 18 | -use flipbox\craft\hubspot\HubSpot; | |
| 19 | 19 | use yii\base\BaseObject; | 
| 20 | 20 | |
| 21 | 21 | /** | 
| @@ -8,13 +8,13 @@ | ||
| 8 | 8 | |
| 9 | 9 | namespace flipbox\craft\hubspot\transformers; | 
| 10 | 10 | |
| 11 | +use Psr\Http\Message\ResponseInterface; | |
| 11 | 12 | use craft\base\Element; | 
| 12 | 13 | use craft\base\ElementInterface; | 
| 14 | +use flipbox\craft\hubspot\HubSpot; | |
| 13 | 15 | use flipbox\craft\hubspot\events\PopulateElementFromResponseEvent; | 
| 14 | 16 | use flipbox\craft\hubspot\fields\Objects; | 
| 15 | 17 | use flipbox\craft\hubspot\fields\ObjectsFieldInterface; | 
| 16 | -use flipbox\craft\hubspot\HubSpot; | |
| 17 | -use Psr\Http\Message\ResponseInterface; | |
| 18 | 18 | |
| 19 | 19 | /** | 
| 20 | 20 | * @author Flipbox Factory <[email protected]> | 
| @@ -9,10 +9,10 @@ | ||
| 9 | 9 | namespace flipbox\craft\hubspot\validators; | 
| 10 | 10 | |
| 11 | 11 | use Craft; | 
| 12 | -use flipbox\craft\hubspot\connections\SavableConnectionInterface; | |
| 13 | -use flipbox\craft\hubspot\records\Connection; | |
| 14 | 12 | use Flipbox\HubSpot\Connections\ConnectionInterface; | 
| 15 | 13 | use Flipbox\HubSpot\Connections\IntegrationConnectionInterface; | 
| 14 | +use flipbox\craft\hubspot\connections\SavableConnectionInterface; | |
| 15 | +use flipbox\craft\hubspot\records\Connection; | |
| 16 | 16 | use yii\base\Model; | 
| 17 | 17 | use yii\validators\Validator; | 
| 18 | 18 | |