We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d18558 commit e9065d6Copy full SHA for e9065d6
src/resources/workflows/interfaces.ts
@@ -48,7 +48,7 @@ export interface CreateSchedulesProps {
48
recipients: (Recipient | RecipientWithUpsert)[];
49
actor?: Recipient | RecipientWithUpsert | null;
50
scheduled_at?: string;
51
- repeats: ScheduleRepeatProperties[];
+ repeats?: ScheduleRepeatProperties[];
52
tenant?: string;
53
data?: { [key: string]: any };
54
}
@@ -75,7 +75,7 @@ export interface Schedule {
75
workflow: string;
76
data: { [key: string]: any };
77
last_occurrence_at: string | null;
78
- next_occurrence_at: string;
+ next_occurrence_at: string | null;
79
inserted_at: string;
80
updated_at: string;
81
repeats: ScheduleRepeatProperties[];
0 commit comments