feat(integrations): реализованы методы работы с API Recommerce

Добавлены методы для управления категориями и товарами (CRUD), а также
получение списка заказов с поддержкой пагинации и фильтрации.
This commit is contained in:
2026-01-12 03:51:08 +03:00
parent b1b56fbb2e
commit 9fceab9de1
2 changed files with 95 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Generated by Django 5.0.10 on 2026-01-11 23:29
import integrations.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('integrations', '0002_alter_recommerceintegration_api_token_and_more'),
]
operations = [
migrations.AlterField(
model_name='recommerceintegration',
name='api_token',
field=integrations.fields.EncryptedCharField(blank=True, help_text='Токен авторизации из панели управления Recommerce', max_length=2000, verbose_name='API Токен (x-auth-token)'),
),
migrations.AlterField(
model_name='woocommerceintegration',
name='consumer_key',
field=integrations.fields.EncryptedCharField(blank=True, help_text='REST API Consumer Key (хранится зашифрованным)', max_length=1020, verbose_name='Consumer Key'),
),
migrations.AlterField(
model_name='woocommerceintegration',
name='consumer_secret',
field=integrations.fields.EncryptedCharField(blank=True, help_text='REST API Consumer Secret (хранится зашифрованным)', max_length=1020, verbose_name='Consumer Secret'),
),
]