Metadata-Version: 2.4
Name: entirius-django-getresponse
Version: 2.0.0
Summary: GetResponse marketing integration for Volkanos: accounts, campaigns, contact/category/product sync
Project-URL: Repository, https://github.com/entirius/entirius-django-getresponse
Author: Entirius
License-Expression: MPL-2.0
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: celery
Requires-Dist: django>=5.0
Requires-Dist: entirius-django-checkout>=9.0.0
Requires-Dist: entirius-django-pim>=3.0.0
Requires-Dist: entirius-django-pricemanager>=4.0.1
Requires-Dist: entirius-django-regional>=2.0.0
Requires-Dist: entirius-django-utils>=2.0.0
Requires-Dist: entirius-py-bievents>=2.0.0
Requires-Dist: entirius-py-get-response-sdk>=3.0.0
Requires-Dist: entirius-py-process-logger>=2.0.0
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: test
Requires-Dist: dj-database-url; extra == 'test'
Requires-Dist: psycopg[binary]; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-django; extra == 'test'
Description-Content-Type: text/markdown

# entirius-django-getresponse

GetResponse marketing integration for Volkanos: API accounts and campaigns, automatic contact
synchronization, category/product/shop sync from `django_pim`, and cart/order-driven contact
updates via `django_checkout` signals. Works together with `django_crm` (forms and consents).

## Features

- **Account management** — store and manage GetResponse API credentials per shop
- **Campaign management** — sync and configure GetResponse campaigns (multi-language with fallback)
- **Contact sync** — automatic contact creation and custom-field updates
- **Category / product / shop sync** — from `django_pim` (Celery tasks + management commands)
- **Marketing consent gate** — grace-window consent checks before contact creation

## Installation

```shell
pip install entirius-django-getresponse
```

The host service must also install `django_crm` — the two apps are mutually integrated
(crm forms feed contact sync; crm's compatibility layer builds on these models).

## Configuration

Optional settings (see `src/django_getresponse/settings.py`):
`GETRESPONSE_MARKETING_CONSENT_GRACE_SECONDS`, `GETRESPONSE_USE_CONFIG_URL_KEY`,
`SEND_CART_UID_TO_GETRESPONSE_IN_LINK`.

## Development

```shell
make install   # uv sync (incl. extras)
make test      # run tests
make check     # ruff lint + format-check
```

## License

MPL-2.0
