Repository navigation
chore(targeting-client): regenerate types for campaign scheduling - #580
Merged
Merged
Conversation
CampaignStatus gets `scheduled` (launched with a future start_date, started on its own at that time), the campaign's start_date/end_date become date-times, and changeCampaignStatus documents the schedule and cancel transitions and the new date validation errors. Also syncs the entity_ui_status recipient filter, the 403 responses and the updated target search/sort descriptions already on the Targeting API. Refs: ER-5517 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (ER-5517) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resetting a stopped campaign clears its dates, and launching without a target or delivery method is documented as 409. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
utkuufuk-epilot
marked this pull request as ready for review
November 11, 2026 10:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Regenerates
@epilot/targeting-clientfrom the Targeting API spec for campaign scheduling (ER-5517).Changes
CampaignStatusgetsscheduled: launched with astart_datestill in the future, and started on its own at that time.start_date/end_datechange fromdatetodate-time, with descriptions.changeCampaignStatusdocuments the schedule and cancel transitions and the new 400 errors:INVALID_CAMPAIGN_DATES,CAMPAIGN_END_BEFORE_START,CAMPAIGN_END_IN_PAST.setupCampaignaccepts an optionalcampaign.start_date/end_date(date-time) and documents the same 400 errors.retriggerCampaignAutomationsdocuments that an ended campaign starts no new runs.entity_ui_statusrecipient filter, the403responses ofchangeCampaignStatusandsetupCampaign, and the updated targetsearch/sortdescriptions.@epilot/targeting-clientminor.