chore: remove cron jobs and survey scheduling functionality (#6505)

Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
This commit is contained in:
Piyush Gupta
2025-09-11 12:27:11 +05:30
committed by GitHub
parent 0188aad97b
commit dd394f1d2c
110 changed files with 414 additions and 1096 deletions
@@ -60,10 +60,8 @@ describe("ResponseFeed", () => {
name: "",
subheading: "",
},
closeOnDate: null,
displayLimit: null,
autoComplete: null,
runOnDate: null,
productOverwrites: null,
styling: null,
pin: null,
@@ -60,7 +60,6 @@ const mockSurveys: TSurvey[] = [
triggers: [],
recontactDays: null,
autoClose: null,
closeOnDate: null,
delay: 0,
displayOption: "displayOnce",
displayPercentage: null,
@@ -76,7 +75,6 @@ const mockSurveys: TSurvey[] = [
pin: null,
surveyClosedMessage: null,
autoComplete: null,
runOnDate: null,
createdBy: null,
} as unknown as TSurvey,
{
@@ -89,7 +87,6 @@ const mockSurveys: TSurvey[] = [
triggers: [],
recontactDays: null,
autoClose: null,
closeOnDate: null,
delay: 0,
displayOption: "displayOnce",
displayPercentage: null,
@@ -105,7 +102,6 @@ const mockSurveys: TSurvey[] = [
pin: null,
surveyClosedMessage: null,
autoComplete: null,
runOnDate: null,
createdBy: null,
} as unknown as TSurvey,
{
@@ -118,7 +114,6 @@ const mockSurveys: TSurvey[] = [
triggers: [],
recontactDays: null,
autoClose: null,
closeOnDate: null,
delay: 0,
displayOption: "displayOnce",
displayPercentage: null,
@@ -135,7 +130,6 @@ const mockSurveys: TSurvey[] = [
pin: null,
surveyClosedMessage: null,
autoComplete: null,
runOnDate: null,
createdBy: null,
} as unknown as TSurvey,
];
@@ -48,7 +48,6 @@ const mockSurvey = {
displayOption: "displayOnce",
recontactDays: 7,
autoClose: null,
closeOnDate: null,
delay: 0,
displayPercentage: 100,
autoComplete: null,