freemium-survey-components 2.0.77 → 2.0.79
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 +53 -1
- package/package.json +1 -1
package/lib/types/types.d.ts
CHANGED
|
@@ -277,7 +277,7 @@ export type SurveyMetaType = {
|
|
|
277
277
|
header_alignment?: HeaderAlignmentType | null;
|
|
278
278
|
show_info_only_on_first?: boolean;
|
|
279
279
|
is_modified?: boolean;
|
|
280
|
-
|
|
280
|
+
action_buttons?: ActionButtonType;
|
|
281
281
|
created_by?: string | null;
|
|
282
282
|
updated_by?: string | null;
|
|
283
283
|
scoring_configuration?: {
|
|
@@ -930,6 +930,52 @@ export type ComponentQParamsType = {
|
|
|
930
930
|
step?: string;
|
|
931
931
|
tab?: 'builder' | 'collector';
|
|
932
932
|
};
|
|
933
|
+
export type EmailPlaceholdersType = {
|
|
934
|
+
[key in string]: string[] | null;
|
|
935
|
+
};
|
|
936
|
+
type ResponseDetailedDataType = {
|
|
937
|
+
question: string;
|
|
938
|
+
answer: number | string[] | string | null;
|
|
939
|
+
name: string;
|
|
940
|
+
others_answer: string | null;
|
|
941
|
+
};
|
|
942
|
+
export interface SurveyServResponseType {
|
|
943
|
+
id?: string;
|
|
944
|
+
ucr_contact_id?: string;
|
|
945
|
+
survey_id?: string;
|
|
946
|
+
trigger_id?: string;
|
|
947
|
+
contact_segments?: string[] | null;
|
|
948
|
+
contact_lists?: string[] | null;
|
|
949
|
+
created_at?: string;
|
|
950
|
+
question_answers: {
|
|
951
|
+
[key: string]: string;
|
|
952
|
+
};
|
|
953
|
+
updated_at?: string;
|
|
954
|
+
is_favourite?: boolean;
|
|
955
|
+
is_invalid?: boolean;
|
|
956
|
+
is_edited?: boolean;
|
|
957
|
+
is_deleted?: boolean;
|
|
958
|
+
is_non_actionable?: boolean;
|
|
959
|
+
channel?: CollectorChannelType;
|
|
960
|
+
tag_ids?: any;
|
|
961
|
+
response_id?: string;
|
|
962
|
+
invalid_reason?: string;
|
|
963
|
+
contact_last_name?: string;
|
|
964
|
+
contact_first_name?: string;
|
|
965
|
+
contact_email?: string;
|
|
966
|
+
contact_id?: string;
|
|
967
|
+
summary?: string;
|
|
968
|
+
surveyserv_response_id?: string;
|
|
969
|
+
rating?: number;
|
|
970
|
+
comment?: string;
|
|
971
|
+
tags?: string[];
|
|
972
|
+
status?: 'PARTIAL' | 'COMPLETE' | null;
|
|
973
|
+
transaction_id?: string | null;
|
|
974
|
+
detailed_data?: ResponseDetailedDataType[];
|
|
975
|
+
csat_rating?: number | null;
|
|
976
|
+
ces_rating?: number | null;
|
|
977
|
+
nps_rating?: number | null;
|
|
978
|
+
}
|
|
933
979
|
export type ExportedComponentType = {
|
|
934
980
|
goToRoute?: GoToRouteType;
|
|
935
981
|
hostParams?: HostParamsType;
|
|
@@ -939,8 +985,14 @@ export type ExportedComponentType = {
|
|
|
939
985
|
hostConfig: HostConfigType;
|
|
940
986
|
surveyServAuthInfo: SurveyServAuthType;
|
|
941
987
|
product: ProductType;
|
|
988
|
+
placeholders?: EmailPlaceholdersType;
|
|
989
|
+
response?: SurveyServResponseType;
|
|
990
|
+
accountInfo?: SurveyServAuthAccountType;
|
|
991
|
+
channel?: CollectorChannelType;
|
|
992
|
+
survey?: SurveyType;
|
|
942
993
|
collectorId?: string;
|
|
943
994
|
surveyId?: string;
|
|
995
|
+
id?: string;
|
|
944
996
|
locale?: string;
|
|
945
997
|
};
|
|
946
998
|
export {};
|