freemium-survey-components 2.0.62 → 2.0.63

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.
@@ -783,6 +783,30 @@ export type FscDebugType = {
783
783
  log?: boolean;
784
784
  };
785
785
  export type RoleType = 'OWNER' | 'ADMIN' | 'ANALYST' | 'VIEWER';
786
+ export type SurveyServAuthAccountType = {
787
+ id?: string | null;
788
+ timezone?: string | null;
789
+ company_name?: string | null;
790
+ brand_color?: string | null;
791
+ logo_url?: string | null;
792
+ favicon_url?: string | null;
793
+ verified?: boolean | null;
794
+ dkim_domain?: string | null;
795
+ dkim_verified?: boolean | null;
796
+ };
797
+ export type SurveyServAuthUserType = {
798
+ id?: string | null;
799
+ email?: string | null;
800
+ first_name?: string | null;
801
+ last_name?: string | null;
802
+ locale?: string | null;
803
+ verified?: boolean | null;
804
+ };
805
+ export type SurveyServAuthType = {
806
+ jwt_token?: string;
807
+ account: SurveyServAuthAccountType;
808
+ user: SurveyServAuthUserType;
809
+ };
786
810
  export type GoToRouteType = (params: {
787
811
  type?: string;
788
812
  path: string;
@@ -865,23 +889,28 @@ export type HostConfigType = {
865
889
  accountMeta?: AccountMetaType;
866
890
  };
867
891
  export type WcTypes = 'list' | 'builder' | 'email' | 'preview' | 'response' | 'template';
892
+ export type ProductType = 'freshservice' | 'freshchat' | 'freshsuccess' | 'freshsurvey' | 'default';
893
+ export type HostParamsType = {
894
+ id?: string;
895
+ collectorId?: string;
896
+ showOnlyQuestionsPreview?: string;
897
+ active?: 'builder' | 'collector';
898
+ isImport?: string;
899
+ };
900
+ export type ComponentQParamsType = {
901
+ product?: string;
902
+ onboarding?: string;
903
+ step?: string;
904
+ tab?: 'builder' | 'collector';
905
+ };
868
906
  export type ExportedComponentType = {
869
907
  goToRoute?: GoToRouteType;
870
- hostParams?: {
871
- id?: string;
872
- collectorId?: string;
873
- showOnlyQuestionsPreview?: string;
874
- active?: 'builder' | 'collector';
875
- isImport?: string;
876
- };
908
+ hostParams?: HostParamsType;
877
909
  role?: RoleType;
878
910
  setBreadcrumpData?: SetBreadcrumbDataType;
879
- queryParams?: {
880
- product?: string;
881
- onboarding?: string;
882
- step?: string;
883
- tab?: 'builder' | 'collector';
884
- };
911
+ queryParams?: ComponentQParamsType;
885
912
  hostConfig: HostConfigType;
913
+ surveyServAuthInfo: SurveyServAuthType;
914
+ product: ProductType;
886
915
  };
887
916
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-survey-components",
3
- "version": "2.0.62",
3
+ "version": "2.0.63",
4
4
  "description": "React Survey Ui Components",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",