feat(utils): add campaign + promotion create / update (#6077)

* chore: add campaign + promotion operations

* chore: update type

* chore: added validation for campaign_id and campaign

* chore: added update promotions for campaigns

* chore: update campaign on promotion

* chore: fix lint

* chore: add test to remove promotions
This commit is contained in:
Riqwan Thamir
2024-01-16 09:37:57 +01:00
committed by GitHub
parent 5d1965f2fa
commit e28fa7fbdf
11 changed files with 460 additions and 21 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/types": patch
---
feat(types): add campaign + promotion operations