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 authored and GitHub committed 2024-01-16 09:37:57 +01:00
1 parent 5d1965f2fa
commit e28fa7fbdf
11 files changed
+460 -21

No files matched your search

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