stallions-types 1.0.0

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const fs_1 = __importDefault(require("fs"));
16
+ const path_1 = __importDefault(require("path"));
17
+ const dotenv_1 = require("dotenv");
18
+ (0, dotenv_1.config)();
19
+ const fetch18614 = () => __awaiter(void 0, void 0, void 0, function* () {
20
+ // Step 1
21
+ const response = yield fetch(process.env.SCHEMA_URL_18614);
22
+ const json = yield response.json();
23
+ return json;
24
+ });
25
+ const main = () => __awaiter(void 0, void 0, void 0, function* () {
26
+ const schema18614 = yield fetch18614(); // Step 2: await the async function
27
+ const dataTypeMap = {
28
+ Number: "number",
29
+ Text: "string",
30
+ Select: "string",
31
+ Phone: "string",
32
+ Date: "string",
33
+ Time: "string",
34
+ Website: "string",
35
+ MultiSelect: "string",
36
+ Boolean: "'1' | '0'",
37
+ Email: "string",
38
+ CustomObject: "string",
39
+ };
40
+ let typeDefinitions18614 = `export type LeadFields18614 = {\n`;
41
+ schema18614.forEach((field) => {
42
+ // Link the type here
43
+ const { SchemaName, DataType, IsMandatory } = field;
44
+ const typeScriptType = dataTypeMap[DataType];
45
+ if (typeScriptType) {
46
+ typeDefinitions18614 += ` ${SchemaName}${IsMandatory ? "" : "?"}: ${typeScriptType};\n`;
47
+ }
48
+ else {
49
+ console.warn(`Unknown DataType: ${DataType} for SchemaName: ${SchemaName}`);
50
+ }
51
+ });
52
+ typeDefinitions18614 += `};\n`;
53
+ const filePath = path_1.default.resolve(__dirname, "types/18614.ts");
54
+ fs_1.default.writeFile(filePath, typeDefinitions18614, (err) => {
55
+ if (err) {
56
+ console.error("Error writing file:", err);
57
+ }
58
+ else {
59
+ console.log(`Type definitions have been written to ${filePath}`);
60
+ }
61
+ });
62
+ });
63
+ main().catch((err) => console.error(err));
@@ -0,0 +1 @@
1
+ export * from "./types/18614";
package/dist/index.js ADDED
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types/18614"), exports);
@@ -0,0 +1,224 @@
1
+ export type LeadFields18614 = {
2
+ mx_Lighthouse_LeadID?: number;
3
+ mx_Closing_Manager?: string;
4
+ mx_Booking_Form_Link?: string;
5
+ mx_CRM_Head?: string;
6
+ mx_CRM_TL?: string;
7
+ mx_Home_Loan_Head?: string;
8
+ mx_CRM_Owner?: string;
9
+ mx_Home_Loan_Owner?: string;
10
+ mx_OCR_Balance?: number;
11
+ mx_CP_TL?: string;
12
+ mx_PostSales_TL?: string;
13
+ mx_Disbursement_Month?: string;
14
+ mx_CP_WhatsApp_Number?: string;
15
+ mx_Invoice_Due_Date?: string;
16
+ mx_Banker_Payment_Received_Amount?: number;
17
+ mx_Cloud_Call_Time?: string;
18
+ mx_Pre_Sales_Lead?: string;
19
+ mx_EOI_Received?: '1' | '0';
20
+ mx_Feedback_About_Project?: string;
21
+ mx_Sub_Source?: string;
22
+ mx_OCR_Clear_Date?: string;
23
+ mx_PostSales_Owner?: string;
24
+ mx_Pre_Sales_TL?: string;
25
+ mx_CP_RM?: string;
26
+ mx_Product_Name?: string;
27
+ mx_Gharutsav_Booking?: string;
28
+ mx_Visited_GU22?: string;
29
+ mx_Projects_GU22?: string;
30
+ mx_Incentive_Details?: string;
31
+ mx_eCIF?: '1' | '0';
32
+ mx_Lead_Capture_Type?: string;
33
+ mx_Retention_Call?: string;
34
+ mx_Loan_Form?: string;
35
+ mx_Disbursement_Checklist?: string;
36
+ mx_Welcome_Call_Done?: '1' | '0';
37
+ mx_Reason_for_Cancel?: string;
38
+ mx_Reason_for_Held?: string;
39
+ mx_Channel_Partner_Phone?: string;
40
+ mx_Saleable_Area?: number;
41
+ mx_Rate_Of_Interest?: number;
42
+ mx_Cluster_Head?: string;
43
+ mx_Part_Disbursement_Amount?: number;
44
+ mx_GOLead?: '1' | '0';
45
+ mx_Flat_Ownership?: string;
46
+ mx_CP_Brokerage?: string;
47
+ mx_Project_Head?: string;
48
+ mx_Sales_Executive?: string;
49
+ mx_Accounts_stage?: string;
50
+ mx_Banker_Payment_Received?: '1' | '0';
51
+ mx_Invoice_Due?: '1' | '0';
52
+ mx_Payment_Date?: string;
53
+ mx_TDS_Deducted?: number;
54
+ mx_Payment_received?: number;
55
+ mx_Total_Invoice_Amount?: number;
56
+ mx_GST_amount?: number;
57
+ mx_Invoice_Amount?: number;
58
+ mx_Tax_Invoice_Dt?: string;
59
+ mx_Tax_Invoice_No?: string;
60
+ mx_OCR_Stage?: string;
61
+ mx_Transfer_To?: string;
62
+ mx_Loan_Stage?: string;
63
+ mx_Offer_Given?: number;
64
+ mx_Carpet_Area?: number;
65
+ mx_Scheme_PDC_Rcvd?: '1' | '0';
66
+ mx_Date_of_File_Pickup?: string;
67
+ mx_Inst_3_Amt?: string;
68
+ mx_Inst_2_Amt?: string;
69
+ mx_Inst_1_Amt?: number;
70
+ mx_Payment_Scheme?: string;
71
+ mx_Inst_3?: string;
72
+ mx_Inst_2?: string;
73
+ mx_Inst_1?: string;
74
+ mx_File_Login_Date?: string;
75
+ mx_Transferred_Lead?: '1' | '0';
76
+ mx_post_sales_stage?: string;
77
+ mx_Unique_Key?: string;
78
+ mx_Registration?: string;
79
+ mx_Booking_Amount?: string;
80
+ mx_Status?: string;
81
+ mx_Visit_Outcome?: string;
82
+ mx_Warm?: '1' | '0';
83
+ mx_Visit_FU_Outcome?: string;
84
+ mx_Pre_Sales_Owner?: string;
85
+ mx_Broker_Phone?: string;
86
+ mx_Will_Revisit?: '1' | '0';
87
+ mx_Project_Explained?: '1' | '0';
88
+ mx_PS_Category: string;
89
+ mx_Visited_Warm?: '1' | '0';
90
+ mx_Site_Revisited?: '1' | '0';
91
+ mx_Site_Visited?: '1' | '0';
92
+ mx_Taxes?: number;
93
+ mx_Usable_Carpet_Area?: number;
94
+ mx_Payment_Plan?: string;
95
+ mx_Payment_Reference?: number;
96
+ mx_Other_Charges?: number;
97
+ mx_Next_Call_Date?: string;
98
+ mx_Monthly_Income?: string;
99
+ mx_Mode_of_Payment?: string;
100
+ mx_Flat_Cost?: number;
101
+ mx_Channel_Partner_Name?: string;
102
+ mx_Booking_Done?: '1' | '0';
103
+ mx_Disbursement_Amount?: number;
104
+ mx_Loan_AC_Number?: string;
105
+ mx_Sanction_Amount?: number;
106
+ mx_File_Number?: number;
107
+ mx_Loan_Through?: string;
108
+ mx_Agreement_Value?: number;
109
+ mx_Flat_No?: number;
110
+ mx_Wing?: string;
111
+ mx_Profile?: string;
112
+ mx_OCR_Received?: number;
113
+ mx_Reason_Not_Warm?: string;
114
+ mx_Marital_Status?: string;
115
+ mx_OCR_Amount?: number;
116
+ mx_Disbursement_Applied?: string;
117
+ mx_Registration_Date?: string;
118
+ mx_OCR_Date?: string;
119
+ mx_Revisit_Date?: string;
120
+ mx_Visited_Warm_Date?: string;
121
+ mx_File_Picked_Up?: string;
122
+ mx_File_Logged_In?: string;
123
+ mx_Date_Of_Booking?: string;
124
+ mx_Date_Of_Disbursement?: string;
125
+ mx_Date_Of_Sanction?: string;
126
+ mx_Loan_Amount?: number;
127
+ mx_Bank_Name?: string;
128
+ mx_Budget_at_Visit?: string;
129
+ mx_Resi_Type?: string;
130
+ mx_Residence_Status?: string;
131
+ mx_Possession_Required?: string;
132
+ mx_Office_address?: string;
133
+ mx_Banker_Name?: string;
134
+ mx_Hotline_Number?: string;
135
+ mx_GS_Keywords?: string;
136
+ mx_Head_Stage?: string;
137
+ ProspectActivityDate_Min?: string;
138
+ Web_Referrer?: string;
139
+ Web_RefKeyword?: string;
140
+ DoNotTrack?: '1' | '0';
141
+ mx_Reason_to_buy?: string;
142
+ mx_Age?: number;
143
+ mx_Reason_for_loss?: string;
144
+ CurrentOptInStatus?: string;
145
+ OptInDate?: string;
146
+ OptInDetails?: string;
147
+ LastOptInEmailSentDate?: string;
148
+ mx_Locality_2: string;
149
+ LeadLastModifiedOn?: string;
150
+ mx_Locality?: string;
151
+ mx_Property_Type: string;
152
+ mx_Location: string;
153
+ mx_Secondary_Owner?: string;
154
+ Groups?: string;
155
+ mx_Site_Visit_Date?: string;
156
+ mx_Residence?: string;
157
+ OwnerIdEmailAddress?: string;
158
+ mx_Budget_R4U?: string;
159
+ mx_Interested_In: string;
160
+ ProspectID: string;
161
+ ProspectAutoId?: number;
162
+ FirstName?: string;
163
+ LastName?: string;
164
+ EmailAddress?: string;
165
+ Source: string;
166
+ Notes?: string;
167
+ Phone?: string;
168
+ Mobile?: string;
169
+ Website?: string;
170
+ TimeZone?: string;
171
+ Company?: string;
172
+ DoNotCall?: '1' | '0';
173
+ DoNotEmail?: '1' | '0';
174
+ ProspectStage: string;
175
+ Score?: number;
176
+ ProspectActivityId_Max?: string;
177
+ ProspectActivityId_Min?: string;
178
+ StatusCode: number;
179
+ StatusReason: number;
180
+ DeletionStatusCode: number;
181
+ OwnerId: string;
182
+ CreatedBy: string;
183
+ CreatedOn: string;
184
+ ModifiedBy: string;
185
+ ModifiedOn: string;
186
+ LeadConversionDate?: string;
187
+ TotalVisits?: number;
188
+ PageViewsPerVisit?: number;
189
+ AvgTimePerVisit?: number;
190
+ RelatedProspectId?: string;
191
+ OwnerIdName?: string;
192
+ CreatedByName?: string;
193
+ ModifiedByName?: string;
194
+ SourceCampaign?: string;
195
+ SourceReferrer: string;
196
+ NotableEvent: string;
197
+ NotableEventdate: string;
198
+ LastVisitDate: string;
199
+ SourceMedium?: string;
200
+ RelatedLandingPageId?: string;
201
+ FirstLandingPageSubmissionId?: string;
202
+ FirstLandingPageSubmissionDate: string;
203
+ SourceContent?: string;
204
+ ProspectActivityName_Max: string;
205
+ ProspectActivityDate_Max: string;
206
+ EngagementScore?: number;
207
+ Origin?: string;
208
+ Revenue?: number;
209
+ MailingPreferences?: string;
210
+ QualityScore01?: number;
211
+ TwitterId?: string;
212
+ FacebookId?: string;
213
+ LinkedInId?: string;
214
+ SkypeId?: string;
215
+ GTalkId?: string;
216
+ GooglePlusId?: string;
217
+ PhotoUrl?: string;
218
+ LeadAge?: number;
219
+ ConversionReferrerURL?: string;
220
+ SourceReferrerURL?: string;
221
+ SourceIPAddress?: string;
222
+ Latitude?: string;
223
+ Longitude?: string;
224
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "stallions-types",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "author": "Aman Bhargava",
8
+ "devDependencies": {
9
+ "@types/node": "^20.6.4"
10
+ },
11
+ "dependencies": {
12
+ "dotenv": "^16.3.1"
13
+ },
14
+ "scripts": {
15
+ "build": "tsc",
16
+ "watch": "tsc -w"
17
+ }
18
+ }
@@ -0,0 +1,71 @@
1
+ import fs from "fs";
2
+ import path from "path";
3
+ import { config } from "dotenv";
4
+ config();
5
+
6
+ const fetch18614 = async (): Promise<Schema18614[]> => {
7
+ // Step 1
8
+ const response = await fetch(process.env.SCHEMA_URL_18614);
9
+ const json = await response.json();
10
+ return json;
11
+ };
12
+
13
+ type Schema18614 = {
14
+ SchemaName: string;
15
+ DataType: string;
16
+ IsMandatory: boolean;
17
+ };
18
+
19
+ const main = async () => {
20
+ const schema18614 = await fetch18614(); // Step 2: await the async function
21
+
22
+ type TypeMapping = {
23
+ [key: string]: string;
24
+ };
25
+
26
+ const dataTypeMap: TypeMapping = {
27
+ Number: "number",
28
+ Text: "string",
29
+ Select: "string", // Add other data types here
30
+ Phone: "string",
31
+ Date: "string",
32
+ Time: "string",
33
+ Website: "string",
34
+ MultiSelect: "string",
35
+ Boolean: "'1' | '0'",
36
+ Email: "string",
37
+ CustomObject: "string",
38
+ };
39
+
40
+ let typeDefinitions18614 = `export type LeadFields18614 = {\n`;
41
+
42
+ schema18614.forEach((field: Schema18614) => {
43
+ // Link the type here
44
+ const { SchemaName, DataType, IsMandatory } = field;
45
+
46
+ const typeScriptType = dataTypeMap[DataType];
47
+
48
+ if (typeScriptType) {
49
+ typeDefinitions18614 += ` ${SchemaName}${
50
+ IsMandatory ? "" : "?"
51
+ }: ${typeScriptType};\n`;
52
+ } else {
53
+ console.warn(
54
+ `Unknown DataType: ${DataType} for SchemaName: ${SchemaName}`,
55
+ );
56
+ }
57
+ });
58
+
59
+ typeDefinitions18614 += `};\n`;
60
+
61
+ const filePath = path.resolve(__dirname, "types/18614.ts");
62
+ fs.writeFile(filePath, typeDefinitions18614, (err) => {
63
+ if (err) {
64
+ console.error("Error writing file:", err);
65
+ } else {
66
+ console.log(`Type definitions have been written to ${filePath}`);
67
+ }
68
+ });
69
+ };
70
+
71
+ main().catch((err) => console.error(err));
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./types/18614";
@@ -0,0 +1,224 @@
1
+ export type LeadFields18614 = {
2
+ mx_Lighthouse_LeadID?: number;
3
+ mx_Closing_Manager?: string;
4
+ mx_Booking_Form_Link?: string;
5
+ mx_CRM_Head?: string;
6
+ mx_CRM_TL?: string;
7
+ mx_Home_Loan_Head?: string;
8
+ mx_CRM_Owner?: string;
9
+ mx_Home_Loan_Owner?: string;
10
+ mx_OCR_Balance?: number;
11
+ mx_CP_TL?: string;
12
+ mx_PostSales_TL?: string;
13
+ mx_Disbursement_Month?: string;
14
+ mx_CP_WhatsApp_Number?: string;
15
+ mx_Invoice_Due_Date?: string;
16
+ mx_Banker_Payment_Received_Amount?: number;
17
+ mx_Cloud_Call_Time?: string;
18
+ mx_Pre_Sales_Lead?: string;
19
+ mx_EOI_Received?: '1' | '0';
20
+ mx_Feedback_About_Project?: string;
21
+ mx_Sub_Source?: string;
22
+ mx_OCR_Clear_Date?: string;
23
+ mx_PostSales_Owner?: string;
24
+ mx_Pre_Sales_TL?: string;
25
+ mx_CP_RM?: string;
26
+ mx_Product_Name?: string;
27
+ mx_Gharutsav_Booking?: string;
28
+ mx_Visited_GU22?: string;
29
+ mx_Projects_GU22?: string;
30
+ mx_Incentive_Details?: string;
31
+ mx_eCIF?: '1' | '0';
32
+ mx_Lead_Capture_Type?: string;
33
+ mx_Retention_Call?: string;
34
+ mx_Loan_Form?: string;
35
+ mx_Disbursement_Checklist?: string;
36
+ mx_Welcome_Call_Done?: '1' | '0';
37
+ mx_Reason_for_Cancel?: string;
38
+ mx_Reason_for_Held?: string;
39
+ mx_Channel_Partner_Phone?: string;
40
+ mx_Saleable_Area?: number;
41
+ mx_Rate_Of_Interest?: number;
42
+ mx_Cluster_Head?: string;
43
+ mx_Part_Disbursement_Amount?: number;
44
+ mx_GOLead?: '1' | '0';
45
+ mx_Flat_Ownership?: string;
46
+ mx_CP_Brokerage?: string;
47
+ mx_Project_Head?: string;
48
+ mx_Sales_Executive?: string;
49
+ mx_Accounts_stage?: string;
50
+ mx_Banker_Payment_Received?: '1' | '0';
51
+ mx_Invoice_Due?: '1' | '0';
52
+ mx_Payment_Date?: string;
53
+ mx_TDS_Deducted?: number;
54
+ mx_Payment_received?: number;
55
+ mx_Total_Invoice_Amount?: number;
56
+ mx_GST_amount?: number;
57
+ mx_Invoice_Amount?: number;
58
+ mx_Tax_Invoice_Dt?: string;
59
+ mx_Tax_Invoice_No?: string;
60
+ mx_OCR_Stage?: string;
61
+ mx_Transfer_To?: string;
62
+ mx_Loan_Stage?: string;
63
+ mx_Offer_Given?: number;
64
+ mx_Carpet_Area?: number;
65
+ mx_Scheme_PDC_Rcvd?: '1' | '0';
66
+ mx_Date_of_File_Pickup?: string;
67
+ mx_Inst_3_Amt?: string;
68
+ mx_Inst_2_Amt?: string;
69
+ mx_Inst_1_Amt?: number;
70
+ mx_Payment_Scheme?: string;
71
+ mx_Inst_3?: string;
72
+ mx_Inst_2?: string;
73
+ mx_Inst_1?: string;
74
+ mx_File_Login_Date?: string;
75
+ mx_Transferred_Lead?: '1' | '0';
76
+ mx_post_sales_stage?: string;
77
+ mx_Unique_Key?: string;
78
+ mx_Registration?: string;
79
+ mx_Booking_Amount?: string;
80
+ mx_Status?: string;
81
+ mx_Visit_Outcome?: string;
82
+ mx_Warm?: '1' | '0';
83
+ mx_Visit_FU_Outcome?: string;
84
+ mx_Pre_Sales_Owner?: string;
85
+ mx_Broker_Phone?: string;
86
+ mx_Will_Revisit?: '1' | '0';
87
+ mx_Project_Explained?: '1' | '0';
88
+ mx_PS_Category: string;
89
+ mx_Visited_Warm?: '1' | '0';
90
+ mx_Site_Revisited?: '1' | '0';
91
+ mx_Site_Visited?: '1' | '0';
92
+ mx_Taxes?: number;
93
+ mx_Usable_Carpet_Area?: number;
94
+ mx_Payment_Plan?: string;
95
+ mx_Payment_Reference?: number;
96
+ mx_Other_Charges?: number;
97
+ mx_Next_Call_Date?: string;
98
+ mx_Monthly_Income?: string;
99
+ mx_Mode_of_Payment?: string;
100
+ mx_Flat_Cost?: number;
101
+ mx_Channel_Partner_Name?: string;
102
+ mx_Booking_Done?: '1' | '0';
103
+ mx_Disbursement_Amount?: number;
104
+ mx_Loan_AC_Number?: string;
105
+ mx_Sanction_Amount?: number;
106
+ mx_File_Number?: number;
107
+ mx_Loan_Through?: string;
108
+ mx_Agreement_Value?: number;
109
+ mx_Flat_No?: number;
110
+ mx_Wing?: string;
111
+ mx_Profile?: string;
112
+ mx_OCR_Received?: number;
113
+ mx_Reason_Not_Warm?: string;
114
+ mx_Marital_Status?: string;
115
+ mx_OCR_Amount?: number;
116
+ mx_Disbursement_Applied?: string;
117
+ mx_Registration_Date?: string;
118
+ mx_OCR_Date?: string;
119
+ mx_Revisit_Date?: string;
120
+ mx_Visited_Warm_Date?: string;
121
+ mx_File_Picked_Up?: string;
122
+ mx_File_Logged_In?: string;
123
+ mx_Date_Of_Booking?: string;
124
+ mx_Date_Of_Disbursement?: string;
125
+ mx_Date_Of_Sanction?: string;
126
+ mx_Loan_Amount?: number;
127
+ mx_Bank_Name?: string;
128
+ mx_Budget_at_Visit?: string;
129
+ mx_Resi_Type?: string;
130
+ mx_Residence_Status?: string;
131
+ mx_Possession_Required?: string;
132
+ mx_Office_address?: string;
133
+ mx_Banker_Name?: string;
134
+ mx_Hotline_Number?: string;
135
+ mx_GS_Keywords?: string;
136
+ mx_Head_Stage?: string;
137
+ ProspectActivityDate_Min?: string;
138
+ Web_Referrer?: string;
139
+ Web_RefKeyword?: string;
140
+ DoNotTrack?: '1' | '0';
141
+ mx_Reason_to_buy?: string;
142
+ mx_Age?: number;
143
+ mx_Reason_for_loss?: string;
144
+ CurrentOptInStatus?: string;
145
+ OptInDate?: string;
146
+ OptInDetails?: string;
147
+ LastOptInEmailSentDate?: string;
148
+ mx_Locality_2: string;
149
+ LeadLastModifiedOn?: string;
150
+ mx_Locality?: string;
151
+ mx_Property_Type: string;
152
+ mx_Location: string;
153
+ mx_Secondary_Owner?: string;
154
+ Groups?: string;
155
+ mx_Site_Visit_Date?: string;
156
+ mx_Residence?: string;
157
+ OwnerIdEmailAddress?: string;
158
+ mx_Budget_R4U?: string;
159
+ mx_Interested_In: string;
160
+ ProspectID: string;
161
+ ProspectAutoId?: number;
162
+ FirstName?: string;
163
+ LastName?: string;
164
+ EmailAddress?: string;
165
+ Source: string;
166
+ Notes?: string;
167
+ Phone?: string;
168
+ Mobile?: string;
169
+ Website?: string;
170
+ TimeZone?: string;
171
+ Company?: string;
172
+ DoNotCall?: '1' | '0';
173
+ DoNotEmail?: '1' | '0';
174
+ ProspectStage: string;
175
+ Score?: number;
176
+ ProspectActivityId_Max?: string;
177
+ ProspectActivityId_Min?: string;
178
+ StatusCode: number;
179
+ StatusReason: number;
180
+ DeletionStatusCode: number;
181
+ OwnerId: string;
182
+ CreatedBy: string;
183
+ CreatedOn: string;
184
+ ModifiedBy: string;
185
+ ModifiedOn: string;
186
+ LeadConversionDate?: string;
187
+ TotalVisits?: number;
188
+ PageViewsPerVisit?: number;
189
+ AvgTimePerVisit?: number;
190
+ RelatedProspectId?: string;
191
+ OwnerIdName?: string;
192
+ CreatedByName?: string;
193
+ ModifiedByName?: string;
194
+ SourceCampaign?: string;
195
+ SourceReferrer: string;
196
+ NotableEvent: string;
197
+ NotableEventdate: string;
198
+ LastVisitDate: string;
199
+ SourceMedium?: string;
200
+ RelatedLandingPageId?: string;
201
+ FirstLandingPageSubmissionId?: string;
202
+ FirstLandingPageSubmissionDate: string;
203
+ SourceContent?: string;
204
+ ProspectActivityName_Max: string;
205
+ ProspectActivityDate_Max: string;
206
+ EngagementScore?: number;
207
+ Origin?: string;
208
+ Revenue?: number;
209
+ MailingPreferences?: string;
210
+ QualityScore01?: number;
211
+ TwitterId?: string;
212
+ FacebookId?: string;
213
+ LinkedInId?: string;
214
+ SkypeId?: string;
215
+ GTalkId?: string;
216
+ GooglePlusId?: string;
217
+ PhotoUrl?: string;
218
+ LeadAge?: number;
219
+ ConversionReferrerURL?: string;
220
+ SourceReferrerURL?: string;
221
+ SourceIPAddress?: string;
222
+ Latitude?: string;
223
+ Longitude?: string;
224
+ };
package/tsconfig.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "compilerOptions": {
3
+ "outDir": "dist",
4
+ "declaration": true,
5
+ "target": "es6",
6
+ "module": "nodenext"
7
+ },
8
+ "include": [
9
+ "src/**/*.ts"
10
+ ]
11
+ }