@@ -14,13 +14,13 @@ |
||
14 | 14 | use craft\elements\db\ElementQueryInterface; |
15 | 15 | use flipbox\ember\helpers\ModelHelper; |
16 | 16 | use flipbox\ember\validators\MinMaxValidator; |
17 | +use flipbox\hubspot\HubSpot; |
|
17 | 18 | use flipbox\hubspot\criteria\CompanyCriteria; |
18 | 19 | use flipbox\hubspot\criteria\ContactCriteria; |
19 | 20 | use flipbox\hubspot\criteria\ContactListCriteria; |
20 | 21 | use flipbox\hubspot\criteria\ObjectCriteria; |
21 | 22 | use flipbox\hubspot\criteria\ObjectCriteriaInterface; |
22 | 23 | use flipbox\hubspot\db\ObjectAssociationQuery; |
23 | -use flipbox\hubspot\HubSpot; |
|
24 | 24 | use flipbox\hubspot\records\ObjectAssociation; |
25 | 25 | use flipbox\hubspot\services\resources\Companies; |
26 | 26 | use flipbox\hubspot\services\resources\ContactLists; |
@@ -5,8 +5,8 @@ |
||
5 | 5 | use Craft; |
6 | 6 | use craft\base\ElementInterface; |
7 | 7 | use craft\queue\BaseJob; |
8 | -use flipbox\hubspot\fields\Objects; |
|
9 | 8 | use flipbox\hubspot\HubSpot; |
9 | +use flipbox\hubspot\fields\Objects; |
|
10 | 10 | use yii\base\Component; |
11 | 11 | use yii\base\InvalidConfigException; |
12 | 12 |
@@ -12,8 +12,8 @@ |
||
12 | 12 | use craft\base\ElementInterface; |
13 | 13 | use flipbox\ember\actions\traits\Manage; |
14 | 14 | use flipbox\ember\helpers\SiteHelper; |
15 | -use flipbox\hubspot\fields\Objects; |
|
16 | 15 | use flipbox\hubspot\HubSpot; |
16 | +use flipbox\hubspot\fields\Objects; |
|
17 | 17 | use flipbox\hubspot\records\ObjectAssociation; |
18 | 18 | use yii\base\Action; |
19 | 19 | use yii\web\HttpException; |
@@ -8,15 +8,15 @@ |
||
8 | 8 | |
9 | 9 | namespace flipbox\hubspot\pipeline; |
10 | 10 | |
11 | -use flipbox\hubspot\HubSpot; |
|
12 | -use flipbox\hubspot\pipeline\pipelines\HttpPipeline; |
|
13 | -use flipbox\hubspot\pipeline\stages\TransformerCollectionStage; |
|
14 | -use flipbox\hubspot\transformers\collections\TransformerCollectionInterface; |
|
15 | 11 | use Flipbox\Pipeline\Builders\BuilderTrait; |
16 | 12 | use Flipbox\Relay\Runner\Runner; |
17 | 13 | use Flipbox\Skeleton\Object\AbstractObject; |
18 | 14 | use League\Pipeline\PipelineBuilderInterface; |
19 | 15 | use Psr\Log\LoggerInterface; |
16 | +use flipbox\hubspot\HubSpot; |
|
17 | +use flipbox\hubspot\pipeline\pipelines\HttpPipeline; |
|
18 | +use flipbox\hubspot\pipeline\stages\TransformerCollectionStage; |
|
19 | +use flipbox\hubspot\transformers\collections\TransformerCollectionInterface; |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * A Relay pipeline builder intended to make building the Relay and Pipeline easier. |
@@ -8,6 +8,11 @@ discard block |
||
8 | 8 | |
9 | 9 | namespace flipbox\hubspot\services\resources; |
10 | 10 | |
11 | +use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Add; |
|
12 | +use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\All; |
|
13 | +use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Remove; |
|
14 | +use League\Pipeline\PipelineBuilderInterface; |
|
15 | +use Psr\SimpleCache\CacheInterface; |
|
11 | 16 | use craft\base\Element; |
12 | 17 | use craft\base\ElementInterface; |
13 | 18 | use flipbox\hubspot\connections\ConnectionInterface; |
@@ -17,11 +22,6 @@ discard block |
||
17 | 22 | use flipbox\hubspot\helpers\TransformerHelper; |
18 | 23 | use flipbox\hubspot\pipeline\Resource; |
19 | 24 | use flipbox\hubspot\transformers\collections\TransformerCollectionInterface; |
20 | -use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Add; |
|
21 | -use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\All; |
|
22 | -use Flipbox\Relay\HubSpot\Builder\Resources\ContactList\Contacts\Remove; |
|
23 | -use League\Pipeline\PipelineBuilderInterface; |
|
24 | -use Psr\SimpleCache\CacheInterface; |
|
25 | 25 | use yii\base\Component; |
26 | 26 | |
27 | 27 | /** |
@@ -8,13 +8,13 @@ |
||
8 | 8 | |
9 | 9 | namespace flipbox\hubspot\transformers\elements; |
10 | 10 | |
11 | +use Flipbox\Transform\Transformers\AbstractSimpleTransformer; |
|
11 | 12 | use craft\base\Element; |
12 | 13 | use craft\base\ElementInterface; |
13 | 14 | use craft\helpers\Json; |
14 | 15 | use flipbox\ember\helpers\SiteHelper; |
15 | -use flipbox\hubspot\fields\Objects; |
|
16 | 16 | use flipbox\hubspot\HubSpot; |
17 | -use Flipbox\Transform\Transformers\AbstractSimpleTransformer; |
|
17 | +use flipbox\hubspot\fields\Objects; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * @author Flipbox Factory <[email protected]> |