freemium-survey-components 1.0.337 → 1.0.338
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.
- package/lib/types/types.d.ts +17 -0
- package/package.json +1 -1
package/lib/types/types.d.ts
CHANGED
|
@@ -199,6 +199,7 @@ export declare type DependentBlockType = {
|
|
|
199
199
|
values?: string[] | null;
|
|
200
200
|
next_block?: string | null;
|
|
201
201
|
choice_id?: string[] | null;
|
|
202
|
+
page_id?: string | null;
|
|
202
203
|
};
|
|
203
204
|
export declare type QuestionChoiceMetaType = {
|
|
204
205
|
is_others?: boolean | null;
|
|
@@ -285,6 +286,7 @@ export declare type DisplayLogicType = {
|
|
|
285
286
|
display_type?: DlDisplayTypes | null;
|
|
286
287
|
sub_type?: DisplayLogicSubTypeOptions | null;
|
|
287
288
|
logic_type?: DlLogicTypes | null;
|
|
289
|
+
based_on_page_id?: string | null;
|
|
288
290
|
based_on_question_name?: string | null;
|
|
289
291
|
based_on_question_type?: string | null;
|
|
290
292
|
based_on_contact_field_name?: string | null;
|
|
@@ -315,6 +317,20 @@ export declare type SurveyTranslationType = {
|
|
|
315
317
|
export declare type SurveyAllTranslationType = {
|
|
316
318
|
survey_translation_info: SurveyTranslationType[];
|
|
317
319
|
};
|
|
320
|
+
export declare type SurveyPageNavType = 'NEXT' | 'END' | 'SPECIFIC';
|
|
321
|
+
export declare type SurveyPageType = {
|
|
322
|
+
page_id: string;
|
|
323
|
+
name?: string;
|
|
324
|
+
title?: string;
|
|
325
|
+
description?: string | null;
|
|
326
|
+
all_ques_required: boolean;
|
|
327
|
+
order: number;
|
|
328
|
+
display_logic?: DisplayLogicType[] | null;
|
|
329
|
+
dependent_blocks?: DependentBlockType[] | null;
|
|
330
|
+
is_deleted: boolean;
|
|
331
|
+
blocks: string[];
|
|
332
|
+
nav_option: SurveyPageNavType;
|
|
333
|
+
};
|
|
318
334
|
export declare type SurveyType = {
|
|
319
335
|
id?: string | null;
|
|
320
336
|
display_id?: string | null;
|
|
@@ -342,6 +358,7 @@ export declare type SurveyType = {
|
|
|
342
358
|
product_client_id?: string | null;
|
|
343
359
|
blocks?: SurveyBlockType[] | null;
|
|
344
360
|
language?: string | null;
|
|
361
|
+
pages?: SurveyPageType[] | null;
|
|
345
362
|
};
|
|
346
363
|
export declare type CollectorChannelType = 'EMAIL_EMBED' | 'EMAIL' | 'WEB_APP' | 'WEB_LINK' | 'WHATSAPP' | 'FACEBOOK_MESSENGER' | 'WEB_WIDGET' | 'MOBILE_SDK' | 'INSTAGRAM';
|
|
347
364
|
export declare type CollectorStateType = 'BLOCKED' | 'DRAFT' | 'SCHEDULED' | 'ACTIVE' | 'PAUSE' | 'COMPLETE';
|