All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to a variation of Semantic Versioning.
The version numbers are structured like GENERATION.MAJOR.MINOR.PATCH
:
GENERATION
version when concepts and APIs are abandoned, but brand and project name stay the same,MAJOR
version when you make incompatible API changes and provide an upgrade path,MINOR
version when you add functionality in a backwards compatible manner, andPATCH
version when you make backwards compatible bug fixes.
- Add composer dependency
heptacom/heptaconnect-dataset-base: >=0.9.4 <0.10
andsymfony/dependency-injection: ^4.4 || ^5.0
to make use of HEPTAconnect tools - Add composer dependency
psr/http-client: ^1.0
,psr/http-factory: ^1.0
andpsr/http-message: ^1.0
as HTTP request and responses needs to be handled - Add composer dependency
psr/container: >=1 <3
as a containers are used and an implementation is provided - Add composer dependency
psr/simple-cache: @stable
andpsr/simple-cache-implementation
and as caching is used as temporary storage - Add composer dependency
symfony/polyfill-php80: *
to use PHP 8.0 functions already with PHP 7.4 code - Add composer dependency
ext-json: *
as JSON requests and responses needs to be sent and parsed - Add composer dependency
ext-mbstring: *
as Unicode texts are processed - Add aggregation structs
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\AggregationContract
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\AggregationCollection
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\AggregationResult
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\AggregationResultCollection
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\AggregationBucket
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\AggregationBucketCollection
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\AbstractFieldAggregation
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\AverageAggregation
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\CountAggregation
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\EntityAggregation
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\FilterAggregation
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\MaximumAggregation
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\MinimumAggregation
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\StatisticsAggregation
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\SumAggregation
and\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\TermsAggregation
to represent all aggregation features - Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::INTERVAL_MINUTE
to hold a value for histograms measured per minute suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::$interval
- Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::INTERVAL_HOUR
to hold a value for histograms measured per hour suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::$interval
- Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::INTERVAL_DAY
to hold a value for histograms measured per day suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::$interval
- Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::INTERVAL_WEEK
to hold a value for histograms measured per week suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::$interval
- Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::INTERVAL_MONTH
to hold a value for histograms measured per month suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::$interval
- Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::INTERVAL_QUARTER
to hold a value for histograms measured per quarter year suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::$interval
- Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::INTERVAL_YEAR
to hold a value for histograms measured per year suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Aggregation\HistogramAggregation::$interval
- Add sorting structs
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\SortingContract
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\CountSorting
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\FieldSorting
and\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\SortingCollection
- Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\SortingContract::ASCENDING
to hold a value for ascending sorting suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\SortingContract::$direction
- Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\SortingContract::DESCENDING
to hold a value for descending sorting suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\SortingContract::$direction
- Add filter structs
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\FilterContract
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\FilterCollection
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\AbstractFieldFilter
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\AbstractNestedFilters
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\AbstractTextFieldValueFilter
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\AndFilter
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\ContainsFilter
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\EqualsAnyFilter
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\EqualsFilter
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\MultiFilter
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\NotFilter
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\OrFilter
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\PrefixFilter
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\RangeFilter
,\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\SuffixFilter
and\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Filter\XorFilter
- Add query filter structs
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\ScoreQuery
and\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\ScoreQueryCollection
- Add criteria struct
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Criteria
to group all features of a entity querying criteria like aggregation, associations, filtering, exact id loading and scoring - Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Criteria::TOTAL_COUNT_MODE_NONE
to hold a value for a criteria, where no count is expected in the result, suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Criteria::$totalCountMode
- Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Criteria::TOTAL_COUNT_MODE_NEXT_PAGES
to hold a value for a criteria, where a rough count for a next-check is expected in the result, suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Criteria::$totalCountMode
- Add constant
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Criteria::TOTAL_COUNT_MODE_EXACT
to hold a value for a criteria, where an exact count is expected in the result, suitable for\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Criteria::$totalCountMode
- Add criteria formatter
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\CriteriaFormatter
described by\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\CriteriaFormatterInterface
to convert a criteria object into a scalar-only array - Add exception code
1682167000
to\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\CriteriaFormatter::formatCriteria
when an unsupported aggregation is given - Add exception code
1682167001
to\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\CriteriaFormatter::formatCriteria
when an unsupported sorting is given - Add exception code
1682167002
to\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\CriteriaFormatter::formatCriteria
when an unsupported filter is given - Add entity struct
\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\Entity
and collection\Heptacom\HeptaConnect\Package\Shopware6\EntitySearch\Contract\EntityCollection
to add supporting methods for lists and structs returned from the API - Add contract
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Contract\ApiConfigurationStorageInterface
to provide\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\ApiConfiguration
, that is used to identify and authenticate against a Shopware Admin API - Add implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\MemoryApiConfigurationStorage
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Contract\ApiConfigurationStorageInterface
to provide static API configuration - Add utility
\Heptacom\HeptaConnect\Package\Shopware6\Support\JsonStreamUtility
to unify JSON handling - Add utility
\Heptacom\HeptaConnect\Package\Shopware6\Support\LetterCase
to convert strings between different letter cases - Add exception code
1680371700
to\Heptacom\HeptaConnect\Package\Shopware6\Support\JsonStreamUtility::fromPayloadToStream
when non-JSON-specific encoding issues occur - Add exception code
1680371701
to\Heptacom\HeptaConnect\Package\Shopware6\Support\JsonStreamUtility::fromStreamToPayload
when the decoded JSON is not a PHP array - Add base class for exceptions
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\AbstractRequestException
that need a reference to a request - Add exception
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\MalformedResponse
to identify issues with expected formats of an HTTP response - Add exception
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\JsonResponseValidationCollectionException
to group exceptions during JSON response validation - Add contract
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Contract\ErrorHandlerInterface
to detect errors in a Shopware request cycle - Add implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseErrorHandler
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Contract\ErrorHandlerInterface
to detect any errors in a JSON response using multiple\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Contract\JsonResponseValidatorInterface
in\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Contract\JsonResponseValidatorCollection
- Add exception code
1680482000
to\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseErrorHandler::throwException
when multiple exceptions are grouped and the inner exceptions are important to investigate - Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\ServerErrorValidator
to convert generic 500 response into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\UnknownError
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\CartMissingOrderRelationValidator
to convert a cart missing order relation error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\CartMissingOrderRelationException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\FieldIsBlankValidator
to convert a field is blank error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\FieldIsBlankException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\InvalidLimitQueryValidator
to convert an invalid limit query error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\InvalidLimitQueryException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\InvalidUuidValidator
to convert an invalid UUID error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\InvalidUuidException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\MediaDuplicatedFileNameValidator
to convert a duplicated media filename error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\MediaDuplicatedFileNameException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\MediaFileTypeNotSupportedValidator
to convert a file type for media not supported error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\MediaFileTypeNotSupportedException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\MethodNotAllowedValidator
to convert a method not allowed error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\MethodNotAllowedException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\NotFoundValidator
to convert a not found error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\NotFoundException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\ResourceNotFoundValidator
to convert a resource not found error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\ResourceNotFoundException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\ScopeNotFoundValidator
to convert a scope not found error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\ScopeNotFoundException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\UnmappedFieldValidator
to convert an unmapped field error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\UnmappedFieldException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseValidator\WriteUnexpectedFieldValidator
to convert an unexpected field during write error into\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Exception\WriteUnexpectedFieldException
- Add exception
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Exception\AuthenticationFailed
to identify issues on authenticating with the Shopware API - Add contract
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Contract\AuthenticationInterface
to recalculate and retrieve authentication information to communicate with Shopware 6 Admin API - Add default implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Authentication
for\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Contract\AuthenticationInterface
to request new authentication token and store the token in the portal node storage to share it with other PHP instances - Add implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\AuthenticationMemoryCache
as decorator for\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Contract\AuthenticationInterface
to hold authentication information in-memory to reduce calls to any I/O dependant storage - Add exception code
1680350600
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Authentication::getAuthorizationHeader
when the token data could not be read from the portal node storage - Add exception code
1680350601
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Authentication::getAuthorizationHeader
when the token data is missing the token_type - Add exception code
1680350602
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Authentication::getAuthorizationHeader
when the token data is missing the access_token - Add exception code
1680350610
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Authentication::refresh
when the API configuration could not be loaded - Add exception code
1680350611
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Authentication::refresh
when the token request could not be created - Add exception code
1680350612
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Authentication::refresh
when the token request could not be sent - Add exception code
1680350613
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Authentication::refresh
when the token request received a non-OK response - Add exception code
1680350614
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Authentication::refresh
when the token response could not be parsed - Add exception code
1680350615
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Authentication::refresh
when the token data could not be stored in the portal node storage - Add exception code
1680350620
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Authentication
when the grant_type in the API configuration is not supported - Add implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\AuthenticatedHttpClient
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Contract\AuthenticatedHttpClientInterface
to automatically authorize requests using the\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Authentication\Contract\AuthenticationStorageInterface
- Add contract
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\PackageExpectation\Contract\ExpectedPackagesAwareInterface
and base implementation\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\PackageExpectation\Support\ExpectedPackagesAwareTrait
to make structs aware of expected packages in Shopware, so it can be applied to requests - Add exception code
1680447700
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\PackageExpectation\Support\ExpectedPackagesAwareTrait
when a package name is empty - Add exception code
1680447701
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\PackageExpectation\Support\ExpectedPackagesAwareTrait
when a package name is not in the format vendor/package-name - Add exception code
1680447702
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\PackageExpectation\Support\ExpectedPackagesAwareTrait
when a version constraint is empty - Add base class
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\AbstractActionClient
with extracted dependencies in\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Support\ActionClientUtils
and\Heptacom\HeptaConnect\Package\Shopware6\Http\Support\AbstractShopwareClientUtils
for services to work with Shopware action endpoints - Add service
Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseErrorHandler.admin_api
of type\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseErrorHandler
to validate Admin API responses with validators collected in serviceHeptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Contract\JsonResponseValidatorCollection.admim_api
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\DocumentNumberAlreadyExistsValidator
to convert a number already exists error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\DocumentNumberAlreadyExistsException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\ExpectationFailedValidator
to convert generic 417 response into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\ExpectationFailedException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\ExtensionInstallValidator
to convert a generic extension install error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\ExtensionInstallException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\ExtensionNotFoundValidator
to convert an extension not found error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\ExtensionNotFoundException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\InvalidDocumentFileGeneratorTypeValidator
to convert a file type for document generator is invalid error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\InvalidDocumentFileGeneratorTypeException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\InvalidDocumentIdValidator
to convert an invalid document id error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\InvalidDocumentIdException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\InvalidTypeValidator
to convert an invalid type error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\InvalidTypeException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\PluginNoPluginFoundInZipValidator
to convert a no plugin found in zip file error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\PluginNoPluginFoundInZipException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\PluginNotActivatedValidator
to convert a plugin not activated error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\PluginNotActivatedException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\PluginNotFoundValidator
to convert a plugin not found error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\PluginNotFoundException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\PluginNotInstalledValidator
to convert a plugin not installed error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\PluginNotInstalledException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\StateMachineInvalidEntityIdValidator
to convert a write type intend error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\StateMachineInvalidEntityIdException
- Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\JsonResponseValidator\WriteTypeIntendErrorValidator
to convert a write type intend error into\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\ErrorHandling\Exception\WriteTypeIntendException
- Add service to read Shopware version as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\InfoVersionAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\InfoVersion\InfoVersionActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\InfoVersion\InfoVersionParams
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\InfoVersion\InfoVersionResult
- Add service to read Shopware entity schema as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\InfoEntitySchemaAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\InfoEntitySchema\InfoEntitySchemaActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\InfoEntitySchema\InfoEntitySchemaParams
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\InfoEntitySchema\InfoEntitySchemaResult
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\InfoEntitySchema\EntitySchema
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\InfoEntitySchema\EntitySchemaCollection
- Add service
Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Contract\SyncAction\SyncPayloadInterceptorCollection
to hold all payload interceptors described by\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Contract\SyncAction\SyncPayloadInterceptorInterface
- Add service
Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Contract\SyncV1Action\SyncPayloadInterceptorCollection
to hold all payload interceptors described by\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Contract\SyncV1Action\SyncPayloadInterceptorInterface
- Add service to sync entities for Shopware 6.5+ as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\SyncAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\Sync\SyncActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\Sync\SyncPayload
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\Sync\SyncOperation
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\Sync\SyncOperationCollection
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\Sync\SyncResult
with support for sync payload interceptors described by\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Contract\SyncAction\SyncPayloadInterceptorInterface
- Add service to sync entities up to Shopware 6.4 as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\SyncV1Action
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SyncV1\SyncActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SyncV1\SyncPayload
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SyncV1\SyncResult
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SyncV1\SyncOperationResult
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SyncV1\SyncOperationResultCollection
with support for sync payload interceptors described by\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Contract\SyncV1Action\SyncPayloadInterceptorInterface
- Add exception
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Exception\SyncResultException
to combine exceptions with sync results - Add exception code
1692604930
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\MediaUpload::uploadMedia
when a strategy is given, that is not supported - Add exception code
1680479000
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\SyncAction::sync
when an errors are in the sync result - Add exception
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Exception\SyncV1ResultException
to combine exceptions with sync results of the legacy sync API - Add exception code
1680479000
to\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\SyncV1Action::sync
when an errors are in the sync result - Add service to send any Admin API authenticated request as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\GenericAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\Generic\GenericActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\Generic\GenericPayload
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\Generic\GenericResult
- Add service to read Shopware system configuration as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\SystemConfigGetAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SystemConfigGet\SystemConfigGetActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SystemConfigGet\SystemConfigGetCriteria
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SystemConfigGet\SystemConfigGetResult
- Add service to write Shopware system configuration for a sales channel as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\SystemConfigPostAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SystemConfigPost\SystemConfigPostActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SystemConfigPost\SystemConfigPostPayload
- Add service to write Shopware system configuration for multiple sales channel as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\SystemConfigBatchAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SystemConfigBatch\SystemConfigBatchActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\SystemConfigBatch\SystemConfigBatchPayload
- Add service to search Shopware store information as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\StorePluginSearchAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\StorePluginSearch\StorePluginSearchActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\StorePluginSearch\StorePluginSearchParams
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\StorePluginSearch\StorePluginSearchResult
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\StorePluginSearch\StorePlugin
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\StorePluginSearch\StorePluginCollection
- Add service to search Shopware store information as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\PriceCalculateAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\PriceCalculate\PriceCalculateActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\PriceCalculate\PriceCalculatePayload
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\PriceCalculate\PriceCalculateResult
- Add service to activate an extension as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\ExtensionActivateAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionActivate\ExtensionActivateActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionActivate\ExtensionActivatePayload
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\AbstractExtensionPayload
- Add service to deactivate an extension as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\ExtensionDeactivateAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionDeactivate\ExtensionDeactivateActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionDeactivate\ExtensionDeactivatePayload
- Add service to install an extension as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\ExtensionInstallAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionInstall\ExtensionInstallActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionInstall\ExtensionInstallPayload
- Add service to refresh extension listing as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\ExtensionRefreshAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionRefresh\ExtensionRefreshActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionRefresh\ExtensionRefreshParams
- Add service to remove an extension as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\ExtensionRemoveAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionRemove\ExtensionRemoveActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionRemove\ExtensionRemovePayload
- Add service to uninstall an extension as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\ExtensionUninstallAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionUninstall\ExtensionUninstallActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionUninstall\ExtensionUninstallPayload
- Add service to updates an extension as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\ExtensionUpdateAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionUpdate\ExtensionUpdateActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionUpdate\ExtensionUpdatePayload
- Add service to upload extension as ZIP file as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\ExtensionUploadAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionUpload\ExtensionUploadActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\ExtensionUpload\ExtensionUploadPayload
- Add service to transition an entity state as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\EntityStateTransitionAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\EntityStateTransition\EntityStateTransitionActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\EntityStateTransition\EntityStateTransitionPayload
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\EntityStateTransition\EntityStateTransitionResult
- Add service to generate order documents as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\OrderDocumentCreateAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\OrderDocumentCreate\OrderDocumentCreateActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\OrderDocumentCreate\OrderDocumentCreatePayload
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\OrderDocumentCreate\DocumentPayload
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\OrderDocumentCreate\DocumentPayloadCollection
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\OrderDocumentCreate\OrderDocumentCreateResult
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\OrderDocumentCreate\OrderDocument
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\OrderDocumentCreate\OrderDocumentCollection
- Add service to get an order document as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\OrderDocumentGetAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\OrderDocumentGet\OrderDocumentGetActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\OrderDocumentGet\OrderDocumentGetCriteria
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\OrderDocumentGet\OrderDocumentGetResult
- Add service to upload medias as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\MediaUploadAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\MediaUpload\MediaUploadActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\MediaUpload\AbstractMediaUploadPayload
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\MediaUpload\MediaUploadByStreamPayload
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Action\Contract\MediaUpload\MediaUploadByUrlPayload
- Add service to read single entities as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\EntityGetAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityGet\EntityGetActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityGet\EntityGetCriteria
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityGet\EntityGetResult
- Add service to create single entities as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\EntityCreateAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityCreate\EntityCreateActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityCreate\EntityCreatePayload
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityCreate\EntityCreateResult
- Add exception
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Exception\EntityReferenceLocationFormatInvalidException
to identity an unexpected response location header e.g. after creating an entity - Add service to update single entities as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\EntityUpdateAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityUpdate\EntityUpdateActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityUpdate\EntityUpdatePayload
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityUpdate\EntityUpdateResult
- Add service to delete single entities as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\EntityDeleteAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityDelete\EntityDeleteActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityDelete\EntityDeleteCriteria
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntityDelete\EntityDeleteResult
- Add service to search entities as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\EntitySearchAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntitySearch\EntitySearchActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntitySearch\EntitySearchCriteria
,\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\AbstractEntitySearchCriteria
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntitySearch\EntitySearchResult
- Add service to search entity ids as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\EntitySearchIdAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntitySearchId\EntitySearchIdActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntitySearchId\EntitySearchIdCriteria
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Entity\Contract\EntitySearchId\EntitySearchIdResult
- Add base classes
\Heptacom\HeptaConnect\Package\Shopware6\Http\Support\Action\Generic\AbstractGenericClient
,\Heptacom\HeptaConnect\Package\Shopware6\Http\Support\Action\Generic\AbstractGenericPayload
and\Heptacom\HeptaConnect\Package\Shopware6\Http\Support\Action\Generic\AbstractGenericResult
to build generic API clients - Add utility class
\Heptacom\HeptaConnect\Package\Shopware6\Utility\DependencyInjection\AdminApiSyncPayloadInterceptorRegistrationCompilerPass
to automatically tag all\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Contract\SyncAction\SyncPayloadInterceptorInterface
with the tagheptaconnect.package.shopware6.admin_api.sync_payload_interceptor
and\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Contract\SyncV1Action\SyncPayloadInterceptorInterface
with the tagheptaconnect.package.shopware6.admin_api.sync_v1_payload_interceptor
respectively - Add utility class
\Heptacom\HeptaConnect\Package\Shopware6\Utility\DependencyInjection\SyntheticServiceContainer
to provide a PSR-11 container, when one is needed with previously instantiated service objects - Add exception
\Heptacom\HeptaConnect\Package\Shopware6\Utility\DependencyInjection\Exception\ServiceNotFoundException
for scenarios, when a requested service is not found - Add utility class
\Heptacom\HeptaConnect\Package\Shopware6\Utility\DependencyInjection\BaseFactory
to provide a central point of factorizing shared dependencies. It can be used together with a container built with a HEPTAconnect portal - Add utility class
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Utility\EntityClient
to have a single dependency for common entity actions - Add utility class
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Utility\ExtensionClient
to have a single dependency for common extension actions - Add utility class
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Utility\GenericClient
to have a generic API client for any request - Add utility class
\Heptacom\HeptaConnect\Package\Shopware6\Http\AdminApi\Utility\DependencyInjection\AdminApiFactory
to provide a central point of factorizing shared dependencies for Admin API classes - Add implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Authentication\Authentication
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Authentication\Contract\AuthenticationInterface
to provide authentication information to communicate with Shopware 6 Store API - Add implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Authentication\AuthenticationMemoryCache
as decorator for\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Authentication\Contract\AuthenticationInterface
to hold authentication information in-memory to reduce calls to any I/O dependant storage - Add contract
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Authentication\Contract\ApiConfigurationStorageInterface
to provide\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Authentication\ApiConfiguration
, that is used to identify and authenticate against a Shopware Store API - Add implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Authentication\MemoryApiConfigurationStorage
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Authentication\Contract\ApiConfigurationStorageInterface
to provide static API configuration - Add implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Authentication\AuthenticatedHttpClient
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Authentication\Contract\AuthenticatedHttpClientInterface
to automatically authorize requests using the\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Authentication\Contract\AuthenticationStorageInterface
- Add contract
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\ContextTokenAwareInterface
and base implementation\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Support\ContextTokenAwareTrait
to make structs aware of optional context tokens, so it can be applied to requests - Add contract
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\ContextTokenRequiredInterface
and base implementation\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Support\ContextTokenRequiredTrait
to make structs aware of required context tokens, so it can be applied to requests - Add service
Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseErrorHandler.store_api
of type\Heptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\JsonResponseErrorHandler
to validate Store API responses with validators collected in serviceHeptacom\HeptaConnect\Package\Shopware6\Http\ErrorHandling\Contract\JsonResponseValidatorCollection.store_api
- Add base class
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\AbstractActionClient
with extracted dependencies in\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Support\ActionClientUtils
for services to work with Shopware action endpoints - Add JSON response validator
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\ErrorHandling\JsonResponseValidator\CustomerNotLoggedInValidator
to convert a customer not logged in error into\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\ErrorHandling\Exception\CustomerNotLoggedInValidator
- Add service to send any Store API authenticated request as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\GenericAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\Generic\GenericActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\Generic\GenericPayload
and\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\Generic\GenericResult
- Add service to get a Store API context as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\ContextGetAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\ContextGet\ContextGetActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\ContextGet\ContextGetCriteria
and\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\ContextGet\ContextGetResult
- Add service to update a Store API context as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\ContextUpdateAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\ContextUpdate\ContextUpdateActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\ContextUpdate\ContextUpdatePayload
and\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\ContextUpdate\ContextUpdateResult
- Add service to read countries as implementation
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\CountryGetAction
for contract\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\CountryGet\CountryGetActionInterface
with\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\CountryGet\CountryGetCriteria
and\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Action\Contract\CountryGet\CountryGetResult
- Add utility class
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Utility\GenericClient
to have a generic API client for any request - Add utility class
\Heptacom\HeptaConnect\Package\Shopware6\Http\StoreApi\Utility\DependencyInjection\StoreApiFactory
to provide a central point of factorizing shared dependencies for Store API classes