freemium-survey-components 2.0.428 → 2.0.430

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.
@@ -4,7 +4,5 @@ declare const ChannelPreview: (props: SurveyProps & {
4
4
  channel: PreviewChannelType;
5
5
  previewConfig?: PreviewConfigType;
6
6
  }) => React.JSX.Element | null;
7
- declare const ChannelLinkPreview: (props: LinkPreviewProps & {
8
- surveyServAssetUrl?: string;
9
- }) => React.JSX.Element | null;
7
+ declare const ChannelLinkPreview: (props: LinkPreviewProps) => React.JSX.Element | null;
10
8
  export { ChannelPreview, ChannelLinkPreview };
@@ -760,6 +760,7 @@ export interface LinkPreviewProps {
760
760
  meta_host?: string | null;
761
761
  message?: string | null;
762
762
  channel: 'whatsapp' | 'instagram' | 'facebook';
763
+ surveyServAssetUrl?: string;
763
764
  }
764
765
  export interface SurveyProps {
765
766
  language?: string | null;
@@ -1141,7 +1142,7 @@ export type HostConfigType = {
1141
1142
  dateTimeFormat?: string;
1142
1143
  supportedChannels?: string[];
1143
1144
  };
1144
- export type WcTypes = 'collector-list' | 'list' | 'builder' | 'email' | 'preview' | 'response' | 'template' | 'theme' | 'slack' | 'teams' | 'schedule';
1145
+ export type WcTypes = 'collector-list' | 'list' | 'builder' | 'email' | 'preview' | 'response' | 'template' | 'theme' | 'slack' | 'teams' | 'schedule' | 'customize-link';
1145
1146
  export type ProductType = 'freshsurvey' | 'freshsuccess' | 'freshdesk' | 'freshchat' | 'freshservice' | 'default';
1146
1147
  export type HostParamsType = {
1147
1148
  showOnlyQuestionsPreview?: string;
@@ -1284,6 +1285,7 @@ export type ExportedComponentType = {
1284
1285
  theme: ThemeType;
1285
1286
  id: string;
1286
1287
  surveyId: string;
1288
+ collectorIds: string[];
1287
1289
  cid: string;
1288
1290
  collectorId: string;
1289
1291
  locale: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "2.0.428",
3
+ "version": "2.0.430",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",