freemium-survey-components 2.0.189 → 2.0.190

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -515,11 +515,13 @@ export type ChannelInfoType = {
515
515
  export type PreferredTimeType = {
516
516
  hour?: number | null;
517
517
  minute?: number | null;
518
+ days_of_the_week?: Array<DaysOfTheWeekType> | null;
518
519
  survey_trigger_timezone?: string | null;
519
520
  };
520
521
  type NumberOrNull = number | null;
521
522
  export type DelayTypes = 'before' | 'after';
522
523
  export type DelayPropertyTypes = 'CONTACT' | 'TRANSACTION';
524
+ export type WeekType = 'BUSINESS' | 'CALENDAR';
523
525
  export type ResetWindowOptionsType = 'NEVER' | 'AFTER_CALENDAR_DAYS' | 'AFTER_BUSINESS_DAYS' | 'AFTER_MONTHS' | 'AFTER_QUARTERS' | 'AFTER_CALENDAR_WEEK_ENDS' | 'AFTER_CALENDAR_MONTH_ENDS' | 'AFTER_QUARTER_ENDS' | 'AFTER_YEAR_ENDS';
524
526
  export type SurveyDelayInfoType = {
525
527
  initial_survey_delay_by_days?: number | null;
@@ -531,6 +533,21 @@ export type SurveyDelayInfoType = {
531
533
  };
532
534
  export type SurveyCutoffType = {
533
535
  cutoff_after_responses_count?: number | null;
536
+ cutoff_after_occurrences_count?: number | null;
537
+ };
538
+ export type DaysOfTheWeekType = 'SUNDAY' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY';
539
+ export type SurveyCalendarType = {
540
+ hour: number | null;
541
+ minute: number | null;
542
+ days_of_the_week: Array<DaysOfTheWeekType> | null;
543
+ week_type: WeekType | null;
544
+ day_of_the_month: string | null;
545
+ };
546
+ export type TimePeriodUnitType = 'DAYS' | 'WEEKS' | 'MONTHS' | 'QUARTERS' | 'YEARS';
547
+ export type NextSurveyWaitTimeType = {
548
+ time_unit: TimePeriodUnitType | null;
549
+ limit: number | null;
550
+ calendar: SurveyCalendarType | null;
534
551
  };
535
552
  export type ScheduleInfoType = {
536
553
  start_date?: string | null;
@@ -539,9 +556,13 @@ export type ScheduleInfoType = {
539
556
  remind_in?: NumberOrNull[] | null;
540
557
  next_survey_when_responded?: number | null;
541
558
  next_survey_when_not_responded?: number | null;
559
+ next_survey_info_when_responded?: NextSurveyWaitTimeType | null;
560
+ next_survey_info_when_not_responded?: NextSurveyWaitTimeType | null;
542
561
  survey_delay_info?: SurveyDelayInfoType | null;
543
562
  survey_cutoff?: SurveyCutoffType | null;
544
563
  survey_link_expiry_in_days?: number | null;
564
+ survey_link_expiry_day_type?: WeekType | null;
565
+ selected_business_days?: Array<DaysOfTheWeekType> | null;
545
566
  };
546
567
  export type ThrottleInfoType = {
547
568
  limit_per_day?: number | null;
@@ -552,6 +573,7 @@ export type ThrottleInfoType = {
552
573
  trigger_once_every_request_for_contact_count?: number | null;
553
574
  reset_window_options?: ResetWindowOptionsType | null;
554
575
  reset_window_limit?: number | null;
576
+ days_of_the_week?: Array<DaysOfTheWeekType> | null;
555
577
  };
556
578
  export type AudienceTypes = 'SEGMENT' | 'LIST' | 'ALL';
557
579
  export type AudienceType = {
@@ -562,8 +584,11 @@ export type AudienceType = {
562
584
  };
563
585
  export type SubmitOptionType = 'rightAway' | 'later';
564
586
  export type CutOffDateType = 'afterResponses' | 'afterTime';
587
+ export type ThrottleTimeUnitType = 'limit_per_day' | 'limit_per_month' | 'web_in_app_limit_per_day' | 'web_in_app_limit_per_month';
565
588
  export type ThrottleType = 'trigger_once_every_request' | 'trigger_across_contact_requests';
589
+ export type WaitTimeMonthToggleType = 'triggers_on_days_in_month' | 'triggers_on_days_of_week_in_month';
566
590
  export type DurationValueOptions = 'SECOND' | 'MINUTE' | 'HOUR' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
591
+ export type DelayFirstSurveyUnit = 'initial_survey_delay_by_days' | 'initial_survey_delay_by_months' | 'initial_survey_delay_by_weeks';
567
592
  export type ReminderValueOptions = 1 | 2 | 3;
568
593
  export type ResponseConfigurationType = {
569
594
  duration?: DurationValueOptions;
@@ -576,6 +601,10 @@ export type CollectorMetaType = {
576
601
  end_date_timezone?: string | null;
577
602
  start_date_timezone?: string | null;
578
603
  remainders?: boolean | null;
604
+ endsAfter?: boolean | null;
605
+ waitTimeMonthToggleType?: WaitTimeMonthToggleType | null;
606
+ throttle_time_unit?: ThrottleTimeUnitType | null;
607
+ delay_first_survey_unit?: DelayFirstSurveyUnit | null;
579
608
  remind_times?: ReminderValueOptions | null;
580
609
  delay_first_survey?: boolean | null;
581
610
  survey_link_expiry?: boolean | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "2.0.189",
3
+ "version": "2.0.190",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",