support versions, campaign structure change
This commit is contained in:
@@ -16,6 +16,17 @@ class CampaignCreateRequest(BaseModel):
|
||||
source_base_path: str | None = None
|
||||
|
||||
|
||||
|
||||
|
||||
class CampaignUpdateRequest(BaseModel):
|
||||
model_config = ConfigDict(extra="forbid")
|
||||
|
||||
external_id: str | None = None
|
||||
name: str | None = None
|
||||
status: str | None = None
|
||||
description: str | None = None
|
||||
|
||||
|
||||
class CampaignCreateMinimalRequest(BaseModel):
|
||||
model_config = ConfigDict(extra="forbid")
|
||||
|
||||
@@ -205,8 +216,8 @@ class SendCampaignNowRequest(BaseModel):
|
||||
version_id: str | None = None
|
||||
include_warnings: bool = True
|
||||
check_files: bool = False
|
||||
validate_before_send: bool = True
|
||||
build_before_send: bool = True
|
||||
validate_before_send: bool = False
|
||||
build_before_send: bool = False
|
||||
dry_run: bool = False
|
||||
use_rate_limit: bool = True
|
||||
enqueue_imap_task: bool = False
|
||||
|
||||
Reference in New Issue
Block a user