stallions-types 1.0.0 → 1.0.2

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.
@@ -17,13 +17,24 @@ const path_1 = __importDefault(require("path"));
17
17
  const dotenv_1 = require("dotenv");
18
18
  (0, dotenv_1.config)();
19
19
  const fetch18614 = () => __awaiter(void 0, void 0, void 0, function* () {
20
- // Step 1
21
20
  const response = yield fetch(process.env.SCHEMA_URL_18614);
22
21
  const json = yield response.json();
23
22
  return json;
24
23
  });
24
+ const fetch43098 = () => __awaiter(void 0, void 0, void 0, function* () {
25
+ const response = yield fetch(process.env.SCHEMA_URL_43098);
26
+ const json = yield response.json();
27
+ return json;
28
+ });
29
+ const fetch60659 = () => __awaiter(void 0, void 0, void 0, function* () {
30
+ const response = yield fetch(process.env.SCHEMA_URL_60659);
31
+ const json = yield response.json();
32
+ return json;
33
+ });
25
34
  const main = () => __awaiter(void 0, void 0, void 0, function* () {
26
- const schema18614 = yield fetch18614(); // Step 2: await the async function
35
+ const schema18614 = yield fetch18614();
36
+ const schema43098 = yield fetch43098();
37
+ const schema60659 = yield fetch60659();
27
38
  const dataTypeMap = {
28
39
  Number: "number",
29
40
  Text: "string",
@@ -38,8 +49,9 @@ const main = () => __awaiter(void 0, void 0, void 0, function* () {
38
49
  CustomObject: "string",
39
50
  };
40
51
  let typeDefinitions18614 = `export type LeadFields18614 = {\n`;
52
+ let typeDefinitions43098 = `export type LeadFields43098 = {\n`;
53
+ let typeDefinitions60659 = `export type LeadFields60659 = {\n`;
41
54
  schema18614.forEach((field) => {
42
- // Link the type here
43
55
  const { SchemaName, DataType, IsMandatory } = field;
44
56
  const typeScriptType = dataTypeMap[DataType];
45
57
  if (typeScriptType) {
@@ -49,7 +61,29 @@ const main = () => __awaiter(void 0, void 0, void 0, function* () {
49
61
  console.warn(`Unknown DataType: ${DataType} for SchemaName: ${SchemaName}`);
50
62
  }
51
63
  });
64
+ schema43098.forEach((field) => {
65
+ const { SchemaName, DataType, IsMandatory } = field;
66
+ const typeScriptType = dataTypeMap[DataType];
67
+ if (typeScriptType) {
68
+ typeDefinitions43098 += ` ${SchemaName}${IsMandatory ? "" : "?"}: ${typeScriptType};\n`;
69
+ }
70
+ else {
71
+ console.warn(`Unknown DataType: ${DataType} for SchemaName: ${SchemaName}`);
72
+ }
73
+ });
74
+ schema60659.forEach((field) => {
75
+ const { SchemaName, DataType, IsMandatory } = field;
76
+ const typeScriptType = dataTypeMap[DataType];
77
+ if (typeScriptType) {
78
+ typeDefinitions60659 += ` ${SchemaName}${IsMandatory ? "" : "?"}: ${typeScriptType};\n`;
79
+ }
80
+ else {
81
+ console.warn(`Unknown DataType: ${DataType} for SchemaName: ${SchemaName}`);
82
+ }
83
+ });
52
84
  typeDefinitions18614 += `};\n`;
85
+ typeDefinitions43098 += `};\n`;
86
+ typeDefinitions60659 += `};\n`;
53
87
  const filePath = path_1.default.resolve(__dirname, "types/18614.ts");
54
88
  fs_1.default.writeFile(filePath, typeDefinitions18614, (err) => {
55
89
  if (err) {
@@ -59,5 +93,23 @@ const main = () => __awaiter(void 0, void 0, void 0, function* () {
59
93
  console.log(`Type definitions have been written to ${filePath}`);
60
94
  }
61
95
  });
96
+ const filePath2 = path_1.default.resolve(__dirname, "types/43098.ts");
97
+ fs_1.default.writeFile(filePath2, typeDefinitions43098, (err) => {
98
+ if (err) {
99
+ console.error("Error writing file:", err);
100
+ }
101
+ else {
102
+ console.log(`Type definitions have been written to ${filePath2}`);
103
+ }
104
+ });
105
+ const filePath3 = path_1.default.resolve(__dirname, "types/60659.ts");
106
+ fs_1.default.writeFile(filePath3, typeDefinitions60659, (err) => {
107
+ if (err) {
108
+ console.error("Error writing file:", err);
109
+ }
110
+ else {
111
+ console.log(`Type definitions have been written to ${filePath3}`);
112
+ }
113
+ });
62
114
  });
63
115
  main().catch((err) => console.error(err));
package/dist/index.d.ts CHANGED
@@ -1 +1,3 @@
1
1
  export * from "./types/18614";
2
+ export * from "./types/43098";
3
+ export * from "./types/60659";
package/dist/index.js CHANGED
@@ -15,3 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./types/18614"), exports);
18
+ __exportStar(require("./types/43098"), exports);
19
+ __exportStar(require("./types/60659"), exports);
@@ -0,0 +1,149 @@
1
+ export type LeadFields43098 = {
2
+ mx_Sub_Source?: string;
3
+ mx_Confirm_Visit_Reminder_Date?: string;
4
+ mx_ExpectedVisitDay?: string;
5
+ mx_Booking_Done?: '1' | '0';
6
+ mx_PreBooking_Done?: '1' | '0';
7
+ mx_No_WhatsApp?: '1' | '0';
8
+ mx_WhatsApp_Template?: string;
9
+ mx_Pre_Sales_TL?: string;
10
+ mx_ExpectedVisitDateTime?: string;
11
+ mx_HotlineVariable?: string;
12
+ mx_APISource?: string;
13
+ mx_Transfer_To_Sapna?: '1' | '0';
14
+ mx_GharUtsavCPRegistration?: '1' | '0';
15
+ mx_Channel_Partner_Phone?: string;
16
+ mx_Will_Visit_GU_Date?: string;
17
+ mx_Ghar_Utsav_Registration?: '1' | '0';
18
+ mx_Referrer_Phone?: string;
19
+ mx_Referrer_Name?: string;
20
+ mx_Team_Type?: string;
21
+ mx_Will_Visit_CC?: '1' | '0';
22
+ mx_Interested_CC?: '1' | '0';
23
+ mx_Claim_Cost?: number;
24
+ mx_Qualifying_Owner?: string;
25
+ mx_Qualify_Stage?: string;
26
+ mx_Projects?: string;
27
+ mx_GO_Stage?: string;
28
+ mx_GO_Rating?: string;
29
+ mx_GO_Claimed_Name?: string;
30
+ mx_GO_Claimed_Phone?: string;
31
+ mx_GO_Status?: string;
32
+ mx_Transfer_To?: string;
33
+ mx_Unique_Key?: string;
34
+ mx_Status?: string;
35
+ mx_Visit_Outcome?: string;
36
+ mx_Engaged?: '1' | '0';
37
+ mx_Outcome?: string;
38
+ mx_Will_Revisit?: '1' | '0';
39
+ mx_Confirmed_Visit?: '1' | '0';
40
+ mx_Will_Visit?: '1' | '0';
41
+ mx_Visited_Warm?: '1' | '0';
42
+ mx_Type?: string;
43
+ mx_Profile?: string;
44
+ mx_Project_Explained?: '1' | '0';
45
+ mx_Site_Revisited?: '1' | '0';
46
+ mx_Site_Visited?: '1' | '0';
47
+ mx_GS_Keywords?: string;
48
+ mx_Locality_Visit?: string;
49
+ mx_Mode_of_Payment?: string;
50
+ mx_Advertisement_Location?: string;
51
+ mx_Next_Call_Date?: string;
52
+ mx_Site_Visit_Date?: string;
53
+ mx_Secondary_Owner?: string;
54
+ mx_Residence_Status?: string;
55
+ mx_Residence_Address?: string;
56
+ mx_Resi_Type?: string;
57
+ mx_Reason_to_Buy?: string;
58
+ mx_Reason_For_Loss?: string;
59
+ mx_Property_Type?: string;
60
+ mx_Project_Explained_Date?: string;
61
+ mx_Possession_Required?: string;
62
+ mx_Office_Address?: string;
63
+ mx_Location_Map?: string;
64
+ mx_Marital_Status?: string;
65
+ mx_Locality?: string;
66
+ mx_Landing_Page?: string;
67
+ mx_Interested_In?: string;
68
+ mx_Head_Stage?: string;
69
+ mx_Budget_at_Visit?: number;
70
+ mx_Budget?: string;
71
+ mx_Age?: number;
72
+ Groups?: string;
73
+ ProspectID: string;
74
+ ProspectAutoId?: number;
75
+ FirstName?: string;
76
+ LastName?: string;
77
+ EmailAddress?: string;
78
+ Source?: string;
79
+ Notes?: string;
80
+ Phone?: string;
81
+ Mobile?: string;
82
+ Website?: string;
83
+ TimeZone?: string;
84
+ Company?: string;
85
+ JobTitle?: string;
86
+ DoNotCall?: '1' | '0';
87
+ DoNotEmail?: '1' | '0';
88
+ DoNotTrack?: '1' | '0';
89
+ ProspectStage: string;
90
+ Score?: number;
91
+ DoNotSMS?: '1' | '0';
92
+ ProspectActivityId_Max?: string;
93
+ ProspectActivityId_Min?: string;
94
+ StatusCode: number;
95
+ StatusReason: number;
96
+ DeletionStatusCode: number;
97
+ OwnerId: string;
98
+ CreatedBy: string;
99
+ CreatedOn: string;
100
+ ModifiedBy: string;
101
+ ModifiedOn: string;
102
+ LeadConversionDate?: string;
103
+ TotalVisits?: number;
104
+ PageViewsPerVisit?: number;
105
+ AvgTimePerVisit?: number;
106
+ RelatedProspectId?: string;
107
+ OwnerIdName?: string;
108
+ OwnerIdEmailAddress?: string;
109
+ CreatedByName?: string;
110
+ ModifiedByName?: string;
111
+ SourceCampaign?: string;
112
+ SourceReferrer: string;
113
+ NotableEvent: string;
114
+ NotableEventdate: string;
115
+ LastVisitDate: string;
116
+ SourceMedium?: string;
117
+ RelatedLandingPageId?: string;
118
+ FirstLandingPageSubmissionId?: string;
119
+ FirstLandingPageSubmissionDate: string;
120
+ SourceContent?: string;
121
+ ProspectActivityName_Max: string;
122
+ ProspectActivityDate_Max: string;
123
+ EngagementScore?: number;
124
+ Origin?: string;
125
+ Revenue?: number;
126
+ MailingPreferences?: string;
127
+ ProspectActivityDate_Min?: string;
128
+ Web_Referrer?: string;
129
+ Web_RefKeyword?: string;
130
+ LeadLastModifiedOn?: string;
131
+ QualityScore01?: number;
132
+ TwitterId?: string;
133
+ FacebookId?: string;
134
+ LinkedInId?: string;
135
+ SkypeId?: string;
136
+ GTalkId?: string;
137
+ GooglePlusId?: string;
138
+ PhotoUrl?: string;
139
+ CurrentOptInStatus?: string;
140
+ OptInDate?: string;
141
+ OptInDetails?: string;
142
+ LastOptInEmailSentDate?: string;
143
+ LeadAge?: number;
144
+ ConversionReferrerURL?: string;
145
+ SourceReferrerURL?: string;
146
+ SourceIPAddress?: string;
147
+ Latitude?: string;
148
+ Longitude?: string;
149
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,145 @@
1
+ export type LeadFields60659 = {
2
+ mx_SH_Pre_Bookings_Interest?: string;
3
+ mx_Super_Homes_Outreach_Outcome?: string;
4
+ mx_Other_Project_CP_Works_On?: string;
5
+ mx_SuperHomes?: string;
6
+ mx_Marketing_Started_For?: string;
7
+ mx_Marketing_Support_Needed?: string;
8
+ mx_Project_Visit_Dates?: string;
9
+ mx_CP_Catrgory_P: string;
10
+ mx_Project_Visits?: string;
11
+ mx_Yash_Platina_Visits?: number;
12
+ mx_95_West_Visits?: number;
13
+ mx_Oakwood_Visits?: number;
14
+ mx_Nemi_Bhavan_Visits?: number;
15
+ mx_Marketing_Started_Date?: string;
16
+ mx_CP_Site_Visited?: string;
17
+ mx_Other_Projects?: string;
18
+ mx_CP_Interest?: string;
19
+ mx_CP_Dealing_In?: string;
20
+ mx_CP_Segment?: string;
21
+ mx_Marketing_Activity_Started?: string;
22
+ mx_Pearl_Heritage_Visits?: number;
23
+ mx_CP_Location: string;
24
+ mx_Transfer_To?: string;
25
+ mx_Visits_Started?: '1' | '0';
26
+ mx_Outreach_Done?: '1' | '0';
27
+ mx_Virar_Visits?: number;
28
+ mx_Vasai_Visits?: number;
29
+ mx_VU7_Visits?: number;
30
+ mx_AV_Crystal_Visits?: number;
31
+ mx_Frenny_Platinum_Visits?: number;
32
+ mx_Pearl_Gardens_Visits?: number;
33
+ mx_Kavya_Grandeur_Visits?: number;
34
+ mx_93_East_Visits?: number;
35
+ mx_Brooklyn_Park_Visits?: number;
36
+ mx_VUG_Visits?: number;
37
+ mx_Blu_Pearl_Visits?: number;
38
+ mx_Shripal_Shanti_Visits?: number;
39
+ mx_Bachraj_Lifespace_Visits?: number;
40
+ mx_Av_210_Visits?: number;
41
+ mx_Chandresh_Visits?: number;
42
+ mx_Shripal_1_Visits?: number;
43
+ mx_Sky_Visits?: number;
44
+ mx_SBR_Visits?: number;
45
+ mx_Active_Projects?: string;
46
+ mx_CP_category?: string;
47
+ mx_Modes_of_Marketing?: string;
48
+ mx_Years_in_Business?: number;
49
+ mx_Team_Size?: string;
50
+ mx_Type?: string;
51
+ mx_Status?: string;
52
+ mx_GO_Status?: string;
53
+ mx_Site_Visit_Date?: string;
54
+ mx_Office_Address?: string;
55
+ mx_Locality?: string;
56
+ mx_Interested_In?: string;
57
+ mx_Profile?: string;
58
+ mx_Date_of_Visit?: string;
59
+ mx_Landing_Page?: string;
60
+ mx_Reason_For_Loss?: string;
61
+ mx_Next_Call_Date?: string;
62
+ mx_Outcome?: string;
63
+ mx_GO_Stage?: string;
64
+ mx_Team_Type?: string;
65
+ mx_GO_Rating?: string;
66
+ ProspectID: string;
67
+ ProspectAutoId?: number;
68
+ FirstName?: string;
69
+ LastName?: string;
70
+ EmailAddress?: string;
71
+ Source?: string;
72
+ Notes?: string;
73
+ Phone?: string;
74
+ Mobile?: string;
75
+ Website?: string;
76
+ TimeZone?: string;
77
+ Company?: string;
78
+ DoNotCall?: '1' | '0';
79
+ DoNotEmail?: '1' | '0';
80
+ DoNotTrack?: '1' | '0';
81
+ ProspectStage: string;
82
+ Score?: number;
83
+ DoNotSMS?: '1' | '0';
84
+ ProspectActivityId_Max?: string;
85
+ ProspectActivityId_Min?: string;
86
+ StatusCode: number;
87
+ StatusReason: number;
88
+ DeletionStatusCode: number;
89
+ OwnerId: string;
90
+ CreatedBy: string;
91
+ CreatedOn: string;
92
+ ModifiedBy: string;
93
+ ModifiedOn: string;
94
+ LeadConversionDate?: string;
95
+ TotalVisits?: number;
96
+ PageViewsPerVisit?: number;
97
+ AvgTimePerVisit?: number;
98
+ RelatedProspectId?: string;
99
+ OwnerIdName?: string;
100
+ OwnerIdEmailAddress?: string;
101
+ CreatedByName?: string;
102
+ ModifiedByName?: string;
103
+ SourceCampaign?: string;
104
+ SourceReferrer: string;
105
+ NotableEvent: string;
106
+ NotableEventdate: string;
107
+ LastVisitDate: string;
108
+ SourceMedium?: string;
109
+ RelatedLandingPageId?: string;
110
+ FirstLandingPageSubmissionId?: string;
111
+ FirstLandingPageSubmissionDate: string;
112
+ SourceContent?: string;
113
+ ProspectActivityName_Max: string;
114
+ ProspectActivityDate_Max: string;
115
+ EngagementScore?: number;
116
+ Origin?: string;
117
+ Revenue?: number;
118
+ MailingPreferences?: string;
119
+ ProspectActivityDate_Min?: string;
120
+ Web_Referrer?: string;
121
+ Web_RefKeyword?: string;
122
+ LeadLastModifiedOn?: string;
123
+ QualityScore01?: number;
124
+ TwitterId?: string;
125
+ FacebookId?: string;
126
+ LinkedInId?: string;
127
+ SkypeId?: string;
128
+ GTalkId?: string;
129
+ GooglePlusId?: string;
130
+ PhotoUrl?: string;
131
+ CurrentOptInStatus?: string;
132
+ OptInDate?: string;
133
+ OptInDetails?: string;
134
+ LastOptInEmailSentDate?: string;
135
+ LeadAge?: number;
136
+ ConversionReferrerURL?: string;
137
+ SourceReferrerURL?: string;
138
+ SourceIPAddress?: string;
139
+ Latitude?: string;
140
+ Longitude?: string;
141
+ Groups?: string;
142
+ mx_Age?: number;
143
+ mx_Projects?: string;
144
+ mx_Head_Stage?: string;
145
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stallions-types",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,8 +11,10 @@
11
11
  "dependencies": {
12
12
  "dotenv": "^16.3.1"
13
13
  },
14
+ "engines": {
15
+ "pnpm": ">=8.0.0"
16
+ },
14
17
  "scripts": {
15
- "build": "tsc",
16
- "watch": "tsc -w"
18
+ "build": "ts-node src/fetchTypes.ts && tsc"
17
19
  }
18
20
  }
package/src/fetchtypes.ts CHANGED
@@ -3,21 +3,34 @@ import path from "path";
3
3
  import { config } from "dotenv";
4
4
  config();
5
5
 
6
- const fetch18614 = async (): Promise<Schema18614[]> => {
7
- // Step 1
6
+ const fetch18614 = async (): Promise<Schema[]> => {
8
7
  const response = await fetch(process.env.SCHEMA_URL_18614);
9
8
  const json = await response.json();
10
9
  return json;
11
10
  };
12
11
 
13
- type Schema18614 = {
12
+ const fetch43098 = async (): Promise<Schema[]> => {
13
+ const response = await fetch(process.env.SCHEMA_URL_43098);
14
+ const json = await response.json();
15
+ return json;
16
+ };
17
+
18
+ const fetch60659 = async (): Promise<Schema[]> => {
19
+ const response = await fetch(process.env.SCHEMA_URL_60659);
20
+ const json = await response.json();
21
+ return json;
22
+ };
23
+
24
+ type Schema = {
14
25
  SchemaName: string;
15
26
  DataType: string;
16
27
  IsMandatory: boolean;
17
28
  };
18
29
 
19
30
  const main = async () => {
20
- const schema18614 = await fetch18614(); // Step 2: await the async function
31
+ const schema18614 = await fetch18614();
32
+ const schema43098 = await fetch43098();
33
+ const schema60659 = await fetch60659();
21
34
 
22
35
  type TypeMapping = {
23
36
  [key: string]: string;
@@ -38,9 +51,10 @@ const main = async () => {
38
51
  };
39
52
 
40
53
  let typeDefinitions18614 = `export type LeadFields18614 = {\n`;
54
+ let typeDefinitions43098 = `export type LeadFields43098 = {\n`;
55
+ let typeDefinitions60659 = `export type LeadFields60659 = {\n`;
41
56
 
42
- schema18614.forEach((field: Schema18614) => {
43
- // Link the type here
57
+ schema18614.forEach((field: Schema) => {
44
58
  const { SchemaName, DataType, IsMandatory } = field;
45
59
 
46
60
  const typeScriptType = dataTypeMap[DataType];
@@ -56,7 +70,41 @@ const main = async () => {
56
70
  }
57
71
  });
58
72
 
73
+ schema43098.forEach((field: Schema) => {
74
+ const { SchemaName, DataType, IsMandatory } = field;
75
+
76
+ const typeScriptType = dataTypeMap[DataType];
77
+
78
+ if (typeScriptType) {
79
+ typeDefinitions43098 += ` ${SchemaName}${
80
+ IsMandatory ? "" : "?"
81
+ }: ${typeScriptType};\n`;
82
+ } else {
83
+ console.warn(
84
+ `Unknown DataType: ${DataType} for SchemaName: ${SchemaName}`,
85
+ );
86
+ }
87
+ });
88
+
89
+ schema60659.forEach((field: Schema) => {
90
+ const { SchemaName, DataType, IsMandatory } = field;
91
+
92
+ const typeScriptType = dataTypeMap[DataType];
93
+
94
+ if (typeScriptType) {
95
+ typeDefinitions60659 += ` ${SchemaName}${
96
+ IsMandatory ? "" : "?"
97
+ }: ${typeScriptType};\n`;
98
+ } else {
99
+ console.warn(
100
+ `Unknown DataType: ${DataType} for SchemaName: ${SchemaName}`,
101
+ );
102
+ }
103
+ });
104
+
59
105
  typeDefinitions18614 += `};\n`;
106
+ typeDefinitions43098 += `};\n`;
107
+ typeDefinitions60659 += `};\n`;
60
108
 
61
109
  const filePath = path.resolve(__dirname, "types/18614.ts");
62
110
  fs.writeFile(filePath, typeDefinitions18614, (err) => {
@@ -66,6 +114,24 @@ const main = async () => {
66
114
  console.log(`Type definitions have been written to ${filePath}`);
67
115
  }
68
116
  });
117
+
118
+ const filePath2 = path.resolve(__dirname, "types/43098.ts");
119
+ fs.writeFile(filePath2, typeDefinitions43098, (err) => {
120
+ if (err) {
121
+ console.error("Error writing file:", err);
122
+ } else {
123
+ console.log(`Type definitions have been written to ${filePath2}`);
124
+ }
125
+ });
126
+
127
+ const filePath3 = path.resolve(__dirname, "types/60659.ts");
128
+ fs.writeFile(filePath3, typeDefinitions60659, (err) => {
129
+ if (err) {
130
+ console.error("Error writing file:", err);
131
+ } else {
132
+ console.log(`Type definitions have been written to ${filePath3}`);
133
+ }
134
+ });
69
135
  };
70
136
 
71
137
  main().catch((err) => console.error(err));
package/src/index.ts CHANGED
@@ -1 +1,3 @@
1
1
  export * from "./types/18614";
2
+ export * from "./types/43098";
3
+ export * from "./types/60659";
@@ -0,0 +1,149 @@
1
+ export type LeadFields43098 = {
2
+ mx_Sub_Source?: string;
3
+ mx_Confirm_Visit_Reminder_Date?: string;
4
+ mx_ExpectedVisitDay?: string;
5
+ mx_Booking_Done?: '1' | '0';
6
+ mx_PreBooking_Done?: '1' | '0';
7
+ mx_No_WhatsApp?: '1' | '0';
8
+ mx_WhatsApp_Template?: string;
9
+ mx_Pre_Sales_TL?: string;
10
+ mx_ExpectedVisitDateTime?: string;
11
+ mx_HotlineVariable?: string;
12
+ mx_APISource?: string;
13
+ mx_Transfer_To_Sapna?: '1' | '0';
14
+ mx_GharUtsavCPRegistration?: '1' | '0';
15
+ mx_Channel_Partner_Phone?: string;
16
+ mx_Will_Visit_GU_Date?: string;
17
+ mx_Ghar_Utsav_Registration?: '1' | '0';
18
+ mx_Referrer_Phone?: string;
19
+ mx_Referrer_Name?: string;
20
+ mx_Team_Type?: string;
21
+ mx_Will_Visit_CC?: '1' | '0';
22
+ mx_Interested_CC?: '1' | '0';
23
+ mx_Claim_Cost?: number;
24
+ mx_Qualifying_Owner?: string;
25
+ mx_Qualify_Stage?: string;
26
+ mx_Projects?: string;
27
+ mx_GO_Stage?: string;
28
+ mx_GO_Rating?: string;
29
+ mx_GO_Claimed_Name?: string;
30
+ mx_GO_Claimed_Phone?: string;
31
+ mx_GO_Status?: string;
32
+ mx_Transfer_To?: string;
33
+ mx_Unique_Key?: string;
34
+ mx_Status?: string;
35
+ mx_Visit_Outcome?: string;
36
+ mx_Engaged?: '1' | '0';
37
+ mx_Outcome?: string;
38
+ mx_Will_Revisit?: '1' | '0';
39
+ mx_Confirmed_Visit?: '1' | '0';
40
+ mx_Will_Visit?: '1' | '0';
41
+ mx_Visited_Warm?: '1' | '0';
42
+ mx_Type?: string;
43
+ mx_Profile?: string;
44
+ mx_Project_Explained?: '1' | '0';
45
+ mx_Site_Revisited?: '1' | '0';
46
+ mx_Site_Visited?: '1' | '0';
47
+ mx_GS_Keywords?: string;
48
+ mx_Locality_Visit?: string;
49
+ mx_Mode_of_Payment?: string;
50
+ mx_Advertisement_Location?: string;
51
+ mx_Next_Call_Date?: string;
52
+ mx_Site_Visit_Date?: string;
53
+ mx_Secondary_Owner?: string;
54
+ mx_Residence_Status?: string;
55
+ mx_Residence_Address?: string;
56
+ mx_Resi_Type?: string;
57
+ mx_Reason_to_Buy?: string;
58
+ mx_Reason_For_Loss?: string;
59
+ mx_Property_Type?: string;
60
+ mx_Project_Explained_Date?: string;
61
+ mx_Possession_Required?: string;
62
+ mx_Office_Address?: string;
63
+ mx_Location_Map?: string;
64
+ mx_Marital_Status?: string;
65
+ mx_Locality?: string;
66
+ mx_Landing_Page?: string;
67
+ mx_Interested_In?: string;
68
+ mx_Head_Stage?: string;
69
+ mx_Budget_at_Visit?: number;
70
+ mx_Budget?: string;
71
+ mx_Age?: number;
72
+ Groups?: string;
73
+ ProspectID: string;
74
+ ProspectAutoId?: number;
75
+ FirstName?: string;
76
+ LastName?: string;
77
+ EmailAddress?: string;
78
+ Source?: string;
79
+ Notes?: string;
80
+ Phone?: string;
81
+ Mobile?: string;
82
+ Website?: string;
83
+ TimeZone?: string;
84
+ Company?: string;
85
+ JobTitle?: string;
86
+ DoNotCall?: '1' | '0';
87
+ DoNotEmail?: '1' | '0';
88
+ DoNotTrack?: '1' | '0';
89
+ ProspectStage: string;
90
+ Score?: number;
91
+ DoNotSMS?: '1' | '0';
92
+ ProspectActivityId_Max?: string;
93
+ ProspectActivityId_Min?: string;
94
+ StatusCode: number;
95
+ StatusReason: number;
96
+ DeletionStatusCode: number;
97
+ OwnerId: string;
98
+ CreatedBy: string;
99
+ CreatedOn: string;
100
+ ModifiedBy: string;
101
+ ModifiedOn: string;
102
+ LeadConversionDate?: string;
103
+ TotalVisits?: number;
104
+ PageViewsPerVisit?: number;
105
+ AvgTimePerVisit?: number;
106
+ RelatedProspectId?: string;
107
+ OwnerIdName?: string;
108
+ OwnerIdEmailAddress?: string;
109
+ CreatedByName?: string;
110
+ ModifiedByName?: string;
111
+ SourceCampaign?: string;
112
+ SourceReferrer: string;
113
+ NotableEvent: string;
114
+ NotableEventdate: string;
115
+ LastVisitDate: string;
116
+ SourceMedium?: string;
117
+ RelatedLandingPageId?: string;
118
+ FirstLandingPageSubmissionId?: string;
119
+ FirstLandingPageSubmissionDate: string;
120
+ SourceContent?: string;
121
+ ProspectActivityName_Max: string;
122
+ ProspectActivityDate_Max: string;
123
+ EngagementScore?: number;
124
+ Origin?: string;
125
+ Revenue?: number;
126
+ MailingPreferences?: string;
127
+ ProspectActivityDate_Min?: string;
128
+ Web_Referrer?: string;
129
+ Web_RefKeyword?: string;
130
+ LeadLastModifiedOn?: string;
131
+ QualityScore01?: number;
132
+ TwitterId?: string;
133
+ FacebookId?: string;
134
+ LinkedInId?: string;
135
+ SkypeId?: string;
136
+ GTalkId?: string;
137
+ GooglePlusId?: string;
138
+ PhotoUrl?: string;
139
+ CurrentOptInStatus?: string;
140
+ OptInDate?: string;
141
+ OptInDetails?: string;
142
+ LastOptInEmailSentDate?: string;
143
+ LeadAge?: number;
144
+ ConversionReferrerURL?: string;
145
+ SourceReferrerURL?: string;
146
+ SourceIPAddress?: string;
147
+ Latitude?: string;
148
+ Longitude?: string;
149
+ };
@@ -0,0 +1,145 @@
1
+ export type LeadFields60659 = {
2
+ mx_SH_Pre_Bookings_Interest?: string;
3
+ mx_Super_Homes_Outreach_Outcome?: string;
4
+ mx_Other_Project_CP_Works_On?: string;
5
+ mx_SuperHomes?: string;
6
+ mx_Marketing_Started_For?: string;
7
+ mx_Marketing_Support_Needed?: string;
8
+ mx_Project_Visit_Dates?: string;
9
+ mx_CP_Catrgory_P: string;
10
+ mx_Project_Visits?: string;
11
+ mx_Yash_Platina_Visits?: number;
12
+ mx_95_West_Visits?: number;
13
+ mx_Oakwood_Visits?: number;
14
+ mx_Nemi_Bhavan_Visits?: number;
15
+ mx_Marketing_Started_Date?: string;
16
+ mx_CP_Site_Visited?: string;
17
+ mx_Other_Projects?: string;
18
+ mx_CP_Interest?: string;
19
+ mx_CP_Dealing_In?: string;
20
+ mx_CP_Segment?: string;
21
+ mx_Marketing_Activity_Started?: string;
22
+ mx_Pearl_Heritage_Visits?: number;
23
+ mx_CP_Location: string;
24
+ mx_Transfer_To?: string;
25
+ mx_Visits_Started?: '1' | '0';
26
+ mx_Outreach_Done?: '1' | '0';
27
+ mx_Virar_Visits?: number;
28
+ mx_Vasai_Visits?: number;
29
+ mx_VU7_Visits?: number;
30
+ mx_AV_Crystal_Visits?: number;
31
+ mx_Frenny_Platinum_Visits?: number;
32
+ mx_Pearl_Gardens_Visits?: number;
33
+ mx_Kavya_Grandeur_Visits?: number;
34
+ mx_93_East_Visits?: number;
35
+ mx_Brooklyn_Park_Visits?: number;
36
+ mx_VUG_Visits?: number;
37
+ mx_Blu_Pearl_Visits?: number;
38
+ mx_Shripal_Shanti_Visits?: number;
39
+ mx_Bachraj_Lifespace_Visits?: number;
40
+ mx_Av_210_Visits?: number;
41
+ mx_Chandresh_Visits?: number;
42
+ mx_Shripal_1_Visits?: number;
43
+ mx_Sky_Visits?: number;
44
+ mx_SBR_Visits?: number;
45
+ mx_Active_Projects?: string;
46
+ mx_CP_category?: string;
47
+ mx_Modes_of_Marketing?: string;
48
+ mx_Years_in_Business?: number;
49
+ mx_Team_Size?: string;
50
+ mx_Type?: string;
51
+ mx_Status?: string;
52
+ mx_GO_Status?: string;
53
+ mx_Site_Visit_Date?: string;
54
+ mx_Office_Address?: string;
55
+ mx_Locality?: string;
56
+ mx_Interested_In?: string;
57
+ mx_Profile?: string;
58
+ mx_Date_of_Visit?: string;
59
+ mx_Landing_Page?: string;
60
+ mx_Reason_For_Loss?: string;
61
+ mx_Next_Call_Date?: string;
62
+ mx_Outcome?: string;
63
+ mx_GO_Stage?: string;
64
+ mx_Team_Type?: string;
65
+ mx_GO_Rating?: string;
66
+ ProspectID: string;
67
+ ProspectAutoId?: number;
68
+ FirstName?: string;
69
+ LastName?: string;
70
+ EmailAddress?: string;
71
+ Source?: string;
72
+ Notes?: string;
73
+ Phone?: string;
74
+ Mobile?: string;
75
+ Website?: string;
76
+ TimeZone?: string;
77
+ Company?: string;
78
+ DoNotCall?: '1' | '0';
79
+ DoNotEmail?: '1' | '0';
80
+ DoNotTrack?: '1' | '0';
81
+ ProspectStage: string;
82
+ Score?: number;
83
+ DoNotSMS?: '1' | '0';
84
+ ProspectActivityId_Max?: string;
85
+ ProspectActivityId_Min?: string;
86
+ StatusCode: number;
87
+ StatusReason: number;
88
+ DeletionStatusCode: number;
89
+ OwnerId: string;
90
+ CreatedBy: string;
91
+ CreatedOn: string;
92
+ ModifiedBy: string;
93
+ ModifiedOn: string;
94
+ LeadConversionDate?: string;
95
+ TotalVisits?: number;
96
+ PageViewsPerVisit?: number;
97
+ AvgTimePerVisit?: number;
98
+ RelatedProspectId?: string;
99
+ OwnerIdName?: string;
100
+ OwnerIdEmailAddress?: string;
101
+ CreatedByName?: string;
102
+ ModifiedByName?: string;
103
+ SourceCampaign?: string;
104
+ SourceReferrer: string;
105
+ NotableEvent: string;
106
+ NotableEventdate: string;
107
+ LastVisitDate: string;
108
+ SourceMedium?: string;
109
+ RelatedLandingPageId?: string;
110
+ FirstLandingPageSubmissionId?: string;
111
+ FirstLandingPageSubmissionDate: string;
112
+ SourceContent?: string;
113
+ ProspectActivityName_Max: string;
114
+ ProspectActivityDate_Max: string;
115
+ EngagementScore?: number;
116
+ Origin?: string;
117
+ Revenue?: number;
118
+ MailingPreferences?: string;
119
+ ProspectActivityDate_Min?: string;
120
+ Web_Referrer?: string;
121
+ Web_RefKeyword?: string;
122
+ LeadLastModifiedOn?: string;
123
+ QualityScore01?: number;
124
+ TwitterId?: string;
125
+ FacebookId?: string;
126
+ LinkedInId?: string;
127
+ SkypeId?: string;
128
+ GTalkId?: string;
129
+ GooglePlusId?: string;
130
+ PhotoUrl?: string;
131
+ CurrentOptInStatus?: string;
132
+ OptInDate?: string;
133
+ OptInDetails?: string;
134
+ LastOptInEmailSentDate?: string;
135
+ LeadAge?: number;
136
+ ConversionReferrerURL?: string;
137
+ SourceReferrerURL?: string;
138
+ SourceIPAddress?: string;
139
+ Latitude?: string;
140
+ Longitude?: string;
141
+ Groups?: string;
142
+ mx_Age?: number;
143
+ mx_Projects?: string;
144
+ mx_Head_Stage?: string;
145
+ };