stallions-types 1.1.1 → 1.1.3
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/.github/CODEOWNERS +2 -0
- package/dist/fetchtypes.d.ts +1 -0
- package/dist/fetchtypes.js +99 -0
- package/dist/index.d.ts +7 -0
- package/dist/json/18614.d.ts +2 -0
- package/dist/json/18614.js +7 -0
- package/dist/json/18614.json +233 -0
- package/dist/json/43098.d.ts +2 -0
- package/dist/json/43098.js +7 -0
- package/dist/json/43098.json +150 -0
- package/dist/json/60659.d.ts +2 -0
- package/dist/json/60659.js +7 -0
- package/dist/json/60659.json +147 -0
- package/dist/types/18614.d.ts +233 -0
- package/dist/types/18614.js +2 -0
- package/dist/types/43098.d.ts +150 -0
- package/dist/types/43098.js +2 -0
- package/dist/types/60659.d.ts +147 -0
- package/dist/types/60659.js +2 -0
- package/dist/types/utility.d.ts +590 -0
- package/dist/types/utility.js +2 -0
- package/package.json +6 -10
- package/public/index.html +13 -0
- package/src/fetchtypes.ts +145 -0
- package/src/index.ts +9 -0
- package/src/json/18614.json +233 -0
- package/src/json/18614.ts +3 -0
- package/src/json/43098.json +150 -0
- package/src/json/43098.ts +3 -0
- package/src/json/60659.json +147 -0
- package/src/json/60659.ts +3 -0
- package/src/types/18614.ts +233 -0
- package/src/types/43098.ts +150 -0
- package/src/types/60659.ts +147 -0
- package/src/types/utility.ts +622 -0
- package/tsconfig.json +12 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,99 @@
|
|
|
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
|
+
const response = yield fetch(process.env.SCHEMA_URL_18614);
|
|
21
|
+
const json = yield response.json();
|
|
22
|
+
return json;
|
|
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
|
+
});
|
|
34
|
+
const generateUnionForSelect = (options) => {
|
|
35
|
+
return options
|
|
36
|
+
.map((option) => `"${option.Value.replace(/"/g, '\\"')}"`)
|
|
37
|
+
.join(" | ");
|
|
38
|
+
};
|
|
39
|
+
const processSchema = (schema, typeDefinitions, dataTypeMap) => {
|
|
40
|
+
const jsonSchema = {};
|
|
41
|
+
schema.forEach((field) => {
|
|
42
|
+
const { SchemaName, DataType, IsMandatory, Options } = field;
|
|
43
|
+
if (DataType === "Select" && Options) {
|
|
44
|
+
const unionType = generateUnionForSelect(Options);
|
|
45
|
+
typeDefinitions += ` ${SchemaName}${IsMandatory ? "" : "?"}: ${unionType};\n`;
|
|
46
|
+
jsonSchema[SchemaName] = "string";
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const typeScriptType = dataTypeMap[DataType];
|
|
50
|
+
if (typeScriptType) {
|
|
51
|
+
typeDefinitions += ` ${SchemaName}${IsMandatory ? "" : "?"}: ${typeScriptType};\n`;
|
|
52
|
+
jsonSchema[SchemaName] = typeScriptType.replace(/'1' \| '0'/, "boolean");
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
console.warn(`Unknown DataType: ${DataType} for SchemaName: ${SchemaName}`);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
return { typeDefinitions, jsonSchema };
|
|
60
|
+
};
|
|
61
|
+
const main = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
62
|
+
const schema18614 = yield fetch18614();
|
|
63
|
+
const schema43098 = yield fetch43098();
|
|
64
|
+
const schema60659 = yield fetch60659();
|
|
65
|
+
const dataTypeMap = {
|
|
66
|
+
Number: "number",
|
|
67
|
+
Text: "string",
|
|
68
|
+
Phone: "string",
|
|
69
|
+
Select: "string",
|
|
70
|
+
Date: "string",
|
|
71
|
+
Time: "string",
|
|
72
|
+
Website: "string",
|
|
73
|
+
MultiSelect: "string",
|
|
74
|
+
Boolean: "'1' | '0'",
|
|
75
|
+
Email: "string",
|
|
76
|
+
CustomObject: "string",
|
|
77
|
+
};
|
|
78
|
+
let typeDefinitions18614 = `export type LeadFields18614 = {\n`;
|
|
79
|
+
let typeDefinitions43098 = `export type LeadFields43098 = {\n`;
|
|
80
|
+
let typeDefinitions60659 = `export type LeadFields60659 = {\n`;
|
|
81
|
+
const { typeDefinitions: td18614, jsonSchema: js18614 } = processSchema(schema18614, typeDefinitions18614, dataTypeMap);
|
|
82
|
+
typeDefinitions18614 = td18614 + `};\n`;
|
|
83
|
+
const { typeDefinitions: td43098, jsonSchema: js43098 } = processSchema(schema43098, typeDefinitions43098, dataTypeMap);
|
|
84
|
+
typeDefinitions43098 = td43098 + `};\n`;
|
|
85
|
+
const { typeDefinitions: td60659, jsonSchema: js60659 } = processSchema(schema60659, typeDefinitions60659, dataTypeMap);
|
|
86
|
+
typeDefinitions60659 = td60659 + `};\n`;
|
|
87
|
+
const writeFiles = (typeDefinitions, jsonSchema, id) => __awaiter(void 0, void 0, void 0, function* () {
|
|
88
|
+
const typeFilePath = path_1.default.resolve(__dirname, `types/${id}.ts`);
|
|
89
|
+
yield fs_1.default.promises.writeFile(typeFilePath, typeDefinitions);
|
|
90
|
+
console.log(`Type definitions have been written to ${typeFilePath}`);
|
|
91
|
+
const jsonFilePath = path_1.default.resolve(__dirname, `json/${id}.json`);
|
|
92
|
+
yield fs_1.default.promises.writeFile(jsonFilePath, JSON.stringify(jsonSchema, null, 2));
|
|
93
|
+
console.log(`JSON schema has been written to ${jsonFilePath}`);
|
|
94
|
+
});
|
|
95
|
+
yield writeFiles(typeDefinitions18614, js18614, "18614");
|
|
96
|
+
yield writeFiles(typeDefinitions43098, js43098, "43098");
|
|
97
|
+
yield writeFiles(typeDefinitions60659, js60659, "60659");
|
|
98
|
+
});
|
|
99
|
+
main().catch((err) => console.error(err));
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./types/18614";
|
|
2
|
+
export * from "./types/43098";
|
|
3
|
+
export * from "./types/60659";
|
|
4
|
+
export * from "./types/utility";
|
|
5
|
+
export { default as Schema18614 } from "./json/18614";
|
|
6
|
+
export { default as Schema43098 } from "./json/43098";
|
|
7
|
+
export { default as Schema60659 } from "./json/60659";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const _18614_json_1 = __importDefault(require("./18614.json"));
|
|
7
|
+
exports.default = _18614_json_1.default;
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mx_Expected_date_of_sanction": "string",
|
|
3
|
+
"mx_OCR_Expected_Date": "string",
|
|
4
|
+
"mx_Audit_Notes": "string",
|
|
5
|
+
"mx_CP_Head": "string",
|
|
6
|
+
"mx_OCR_Finance": "string",
|
|
7
|
+
"mx_Feedback_QR_Link": "string",
|
|
8
|
+
"mx_Home_Loan_TL": "string",
|
|
9
|
+
"mx_Offer_Brokerage": "number",
|
|
10
|
+
"mx_Ladder_Brokerage": "number",
|
|
11
|
+
"mx_Lighthouse_LeadID": "number",
|
|
12
|
+
"mx_Closing_Manager": "string",
|
|
13
|
+
"mx_Booking_Form_Link": "string",
|
|
14
|
+
"mx_CRM_Head": "string",
|
|
15
|
+
"mx_CRM_TL": "string",
|
|
16
|
+
"mx_Home_Loan_Head": "string",
|
|
17
|
+
"mx_CRM_Owner": "string",
|
|
18
|
+
"mx_Home_Loan_Owner": "string",
|
|
19
|
+
"mx_OCR_Balance": "number",
|
|
20
|
+
"mx_CP_TL": "string",
|
|
21
|
+
"mx_PostSales_TL": "string",
|
|
22
|
+
"mx_Disbursement_Month": "string",
|
|
23
|
+
"mx_CP_WhatsApp_Number": "string",
|
|
24
|
+
"mx_Invoice_Due_Date": "string",
|
|
25
|
+
"mx_Banker_Payment_Received_Amount": "number",
|
|
26
|
+
"mx_Cloud_Call_Time": "string",
|
|
27
|
+
"mx_Pre_Sales_Lead": "string",
|
|
28
|
+
"mx_EOI_Received": "boolean",
|
|
29
|
+
"mx_Feedback_About_Project": "string",
|
|
30
|
+
"mx_Sub_Source": "string",
|
|
31
|
+
"mx_OCR_Clear_Date": "string",
|
|
32
|
+
"mx_PostSales_Owner": "string",
|
|
33
|
+
"mx_Pre_Sales_TL": "string",
|
|
34
|
+
"mx_CP_RM": "string",
|
|
35
|
+
"mx_Product_Name": "string",
|
|
36
|
+
"mx_Gharutsav_Booking": "string",
|
|
37
|
+
"mx_Visited_GU22": "string",
|
|
38
|
+
"mx_Projects_GU22": "string",
|
|
39
|
+
"mx_Incentive_Details": "string",
|
|
40
|
+
"mx_eCIF": "boolean",
|
|
41
|
+
"mx_Lead_Capture_Type": "string",
|
|
42
|
+
"mx_Retention_Call": "string",
|
|
43
|
+
"mx_Loan_Form": "string",
|
|
44
|
+
"mx_Disbursement_Checklist": "string",
|
|
45
|
+
"mx_Welcome_Call_Done": "boolean",
|
|
46
|
+
"mx_Reason_for_Cancel": "string",
|
|
47
|
+
"mx_Reason_for_Held": "string",
|
|
48
|
+
"mx_Channel_Partner_Phone": "string",
|
|
49
|
+
"mx_Saleable_Area": "number",
|
|
50
|
+
"mx_Rate_Of_Interest": "number",
|
|
51
|
+
"mx_Cluster_Head": "string",
|
|
52
|
+
"mx_Part_Disbursement_Amount": "number",
|
|
53
|
+
"mx_GOLead": "boolean",
|
|
54
|
+
"mx_Flat_Ownership": "string",
|
|
55
|
+
"mx_CP_Brokerage": "string",
|
|
56
|
+
"mx_Project_Head": "string",
|
|
57
|
+
"mx_Sales_Executive": "string",
|
|
58
|
+
"mx_Accounts_stage": "string",
|
|
59
|
+
"mx_Banker_Payment_Received": "boolean",
|
|
60
|
+
"mx_Invoice_Due": "boolean",
|
|
61
|
+
"mx_Payment_Date": "string",
|
|
62
|
+
"mx_TDS_Deducted": "number",
|
|
63
|
+
"mx_Payment_received": "number",
|
|
64
|
+
"mx_Total_Invoice_Amount": "number",
|
|
65
|
+
"mx_GST_amount": "number",
|
|
66
|
+
"mx_Invoice_Amount": "number",
|
|
67
|
+
"mx_Tax_Invoice_Dt": "string",
|
|
68
|
+
"mx_Tax_Invoice_No": "string",
|
|
69
|
+
"mx_OCR_Stage": "string",
|
|
70
|
+
"mx_Transfer_To": "string",
|
|
71
|
+
"mx_Loan_Stage": "string",
|
|
72
|
+
"mx_Offer_Given": "number",
|
|
73
|
+
"mx_Carpet_Area": "number",
|
|
74
|
+
"mx_Scheme_PDC_Rcvd": "boolean",
|
|
75
|
+
"mx_Date_of_File_Pickup": "string",
|
|
76
|
+
"mx_Inst_3_Amt": "string",
|
|
77
|
+
"mx_Inst_2_Amt": "string",
|
|
78
|
+
"mx_Inst_1_Amt": "number",
|
|
79
|
+
"mx_Payment_Scheme": "string",
|
|
80
|
+
"mx_Inst_3": "string",
|
|
81
|
+
"mx_Inst_2": "string",
|
|
82
|
+
"mx_Inst_1": "string",
|
|
83
|
+
"mx_File_Login_Date": "string",
|
|
84
|
+
"mx_Transferred_Lead": "boolean",
|
|
85
|
+
"mx_post_sales_stage": "string",
|
|
86
|
+
"mx_Unique_Key": "string",
|
|
87
|
+
"mx_Registration": "string",
|
|
88
|
+
"mx_Booking_Amount": "string",
|
|
89
|
+
"mx_Status": "string",
|
|
90
|
+
"mx_Visit_Outcome": "string",
|
|
91
|
+
"mx_Warm": "boolean",
|
|
92
|
+
"mx_Visit_FU_Outcome": "string",
|
|
93
|
+
"mx_Pre_Sales_Owner": "string",
|
|
94
|
+
"mx_Broker_Phone": "string",
|
|
95
|
+
"mx_Will_Revisit": "boolean",
|
|
96
|
+
"mx_Project_Explained": "boolean",
|
|
97
|
+
"mx_PS_Category": "string",
|
|
98
|
+
"mx_Visited_Warm": "boolean",
|
|
99
|
+
"mx_Site_Revisited": "boolean",
|
|
100
|
+
"mx_Site_Visited": "boolean",
|
|
101
|
+
"mx_Taxes": "number",
|
|
102
|
+
"mx_Usable_Carpet_Area": "number",
|
|
103
|
+
"mx_Payment_Plan": "string",
|
|
104
|
+
"mx_Payment_Reference": "number",
|
|
105
|
+
"mx_Other_Charges": "number",
|
|
106
|
+
"mx_Next_Call_Date": "string",
|
|
107
|
+
"mx_Monthly_Income": "string",
|
|
108
|
+
"mx_Mode_of_Payment": "string",
|
|
109
|
+
"mx_Flat_Cost": "number",
|
|
110
|
+
"mx_Channel_Partner_Name": "string",
|
|
111
|
+
"mx_Booking_Done": "boolean",
|
|
112
|
+
"mx_Disbursement_Amount": "number",
|
|
113
|
+
"mx_Loan_AC_Number": "string",
|
|
114
|
+
"mx_Sanction_Amount": "number",
|
|
115
|
+
"mx_File_Number": "number",
|
|
116
|
+
"mx_Loan_Through": "string",
|
|
117
|
+
"mx_Agreement_Value": "number",
|
|
118
|
+
"mx_Flat_No": "number",
|
|
119
|
+
"mx_Wing": "string",
|
|
120
|
+
"mx_Profile": "string",
|
|
121
|
+
"mx_OCR_Received": "number",
|
|
122
|
+
"mx_Reason_Not_Warm": "string",
|
|
123
|
+
"mx_Marital_Status": "string",
|
|
124
|
+
"mx_OCR_Amount": "number",
|
|
125
|
+
"mx_Disbursement_Applied": "string",
|
|
126
|
+
"mx_Registration_Date": "string",
|
|
127
|
+
"mx_OCR_Date": "string",
|
|
128
|
+
"mx_Revisit_Date": "string",
|
|
129
|
+
"mx_Visited_Warm_Date": "string",
|
|
130
|
+
"mx_File_Picked_Up": "string",
|
|
131
|
+
"mx_File_Logged_In": "string",
|
|
132
|
+
"mx_Date_Of_Booking": "string",
|
|
133
|
+
"mx_Date_Of_Disbursement": "string",
|
|
134
|
+
"mx_Date_Of_Sanction": "string",
|
|
135
|
+
"mx_Loan_Amount": "number",
|
|
136
|
+
"mx_Bank_Name": "string",
|
|
137
|
+
"mx_Budget_at_Visit": "string",
|
|
138
|
+
"mx_Resi_Type": "string",
|
|
139
|
+
"mx_Residence_Status": "string",
|
|
140
|
+
"mx_Possession_Required": "string",
|
|
141
|
+
"mx_Office_address": "string",
|
|
142
|
+
"mx_Banker_Name": "string",
|
|
143
|
+
"mx_Hotline_Number": "string",
|
|
144
|
+
"mx_GS_Keywords": "string",
|
|
145
|
+
"mx_Head_Stage": "string",
|
|
146
|
+
"ProspectActivityDate_Min": "string",
|
|
147
|
+
"Web_Referrer": "string",
|
|
148
|
+
"Web_RefKeyword": "string",
|
|
149
|
+
"DoNotTrack": "boolean",
|
|
150
|
+
"mx_Reason_to_buy": "string",
|
|
151
|
+
"mx_Age": "number",
|
|
152
|
+
"mx_Reason_for_loss": "string",
|
|
153
|
+
"CurrentOptInStatus": "string",
|
|
154
|
+
"OptInDate": "string",
|
|
155
|
+
"OptInDetails": "string",
|
|
156
|
+
"LastOptInEmailSentDate": "string",
|
|
157
|
+
"mx_Locality_2": "string",
|
|
158
|
+
"LeadLastModifiedOn": "string",
|
|
159
|
+
"mx_Locality": "string",
|
|
160
|
+
"mx_Property_Type": "string",
|
|
161
|
+
"mx_Location": "string",
|
|
162
|
+
"mx_Secondary_Owner": "string",
|
|
163
|
+
"Groups": "string",
|
|
164
|
+
"mx_Site_Visit_Date": "string",
|
|
165
|
+
"mx_Residence": "string",
|
|
166
|
+
"OwnerIdEmailAddress": "string",
|
|
167
|
+
"mx_Budget_R4U": "string",
|
|
168
|
+
"mx_Interested_In": "string",
|
|
169
|
+
"ProspectID": "string",
|
|
170
|
+
"ProspectAutoId": "number",
|
|
171
|
+
"FirstName": "string",
|
|
172
|
+
"LastName": "string",
|
|
173
|
+
"EmailAddress": "string",
|
|
174
|
+
"Source": "string",
|
|
175
|
+
"Notes": "string",
|
|
176
|
+
"Phone": "string",
|
|
177
|
+
"Mobile": "string",
|
|
178
|
+
"Website": "string",
|
|
179
|
+
"TimeZone": "string",
|
|
180
|
+
"Company": "string",
|
|
181
|
+
"DoNotCall": "boolean",
|
|
182
|
+
"DoNotEmail": "boolean",
|
|
183
|
+
"ProspectStage": "string",
|
|
184
|
+
"Score": "number",
|
|
185
|
+
"ProspectActivityId_Max": "string",
|
|
186
|
+
"ProspectActivityId_Min": "string",
|
|
187
|
+
"StatusCode": "number",
|
|
188
|
+
"StatusReason": "number",
|
|
189
|
+
"DeletionStatusCode": "number",
|
|
190
|
+
"OwnerId": "string",
|
|
191
|
+
"CreatedBy": "string",
|
|
192
|
+
"CreatedOn": "string",
|
|
193
|
+
"ModifiedBy": "string",
|
|
194
|
+
"ModifiedOn": "string",
|
|
195
|
+
"LeadConversionDate": "string",
|
|
196
|
+
"TotalVisits": "number",
|
|
197
|
+
"PageViewsPerVisit": "number",
|
|
198
|
+
"AvgTimePerVisit": "number",
|
|
199
|
+
"RelatedProspectId": "string",
|
|
200
|
+
"OwnerIdName": "string",
|
|
201
|
+
"CreatedByName": "string",
|
|
202
|
+
"ModifiedByName": "string",
|
|
203
|
+
"SourceCampaign": "string",
|
|
204
|
+
"SourceReferrer": "string",
|
|
205
|
+
"NotableEvent": "string",
|
|
206
|
+
"NotableEventdate": "string",
|
|
207
|
+
"LastVisitDate": "string",
|
|
208
|
+
"SourceMedium": "string",
|
|
209
|
+
"RelatedLandingPageId": "string",
|
|
210
|
+
"FirstLandingPageSubmissionId": "string",
|
|
211
|
+
"FirstLandingPageSubmissionDate": "string",
|
|
212
|
+
"SourceContent": "string",
|
|
213
|
+
"ProspectActivityName_Max": "string",
|
|
214
|
+
"ProspectActivityDate_Max": "string",
|
|
215
|
+
"EngagementScore": "number",
|
|
216
|
+
"Origin": "string",
|
|
217
|
+
"Revenue": "number",
|
|
218
|
+
"MailingPreferences": "string",
|
|
219
|
+
"QualityScore01": "number",
|
|
220
|
+
"TwitterId": "string",
|
|
221
|
+
"FacebookId": "string",
|
|
222
|
+
"LinkedInId": "string",
|
|
223
|
+
"SkypeId": "string",
|
|
224
|
+
"GTalkId": "string",
|
|
225
|
+
"GooglePlusId": "string",
|
|
226
|
+
"PhotoUrl": "string",
|
|
227
|
+
"LeadAge": "number",
|
|
228
|
+
"ConversionReferrerURL": "string",
|
|
229
|
+
"SourceReferrerURL": "string",
|
|
230
|
+
"SourceIPAddress": "string",
|
|
231
|
+
"Latitude": "string",
|
|
232
|
+
"Longitude": "string"
|
|
233
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const _43098_json_1 = __importDefault(require("./43098.json"));
|
|
7
|
+
exports.default = _43098_json_1.default;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mx_Requested_Visit_Time": "string",
|
|
3
|
+
"mx_Times_Called": "number",
|
|
4
|
+
"mx_Sub_Source": "string",
|
|
5
|
+
"mx_ExpectedVisitDay": "string",
|
|
6
|
+
"mx_Booking_Done": "boolean",
|
|
7
|
+
"mx_PreBooking_Done": "boolean",
|
|
8
|
+
"mx_No_WhatsApp": "boolean",
|
|
9
|
+
"mx_WhatsApp_Template": "string",
|
|
10
|
+
"mx_Pre_Sales_TL": "string",
|
|
11
|
+
"mx_ExpectedVisitDateTime": "string",
|
|
12
|
+
"mx_HotlineVariable": "string",
|
|
13
|
+
"mx_APISource": "string",
|
|
14
|
+
"mx_Transfer_To_Sapna": "boolean",
|
|
15
|
+
"mx_GharUtsavCPRegistration": "boolean",
|
|
16
|
+
"mx_Channel_Partner_Phone": "string",
|
|
17
|
+
"mx_Will_Visit_GU_Date": "string",
|
|
18
|
+
"mx_Ghar_Utsav_Registration": "boolean",
|
|
19
|
+
"mx_Referrer_Phone": "string",
|
|
20
|
+
"mx_Referrer_Name": "string",
|
|
21
|
+
"mx_Team_Type": "string",
|
|
22
|
+
"mx_Will_Visit_CC": "boolean",
|
|
23
|
+
"mx_Interested_CC": "boolean",
|
|
24
|
+
"mx_Claim_Cost": "number",
|
|
25
|
+
"mx_Qualifying_Owner": "string",
|
|
26
|
+
"mx_Qualify_Stage": "string",
|
|
27
|
+
"mx_Projects": "string",
|
|
28
|
+
"mx_GO_Stage": "string",
|
|
29
|
+
"mx_GO_Rating": "string",
|
|
30
|
+
"mx_GO_Claimed_Name": "string",
|
|
31
|
+
"mx_GO_Claimed_Phone": "string",
|
|
32
|
+
"mx_GO_Status": "string",
|
|
33
|
+
"mx_Transfer_To": "string",
|
|
34
|
+
"mx_Unique_Key": "string",
|
|
35
|
+
"mx_Status": "string",
|
|
36
|
+
"mx_Visit_Outcome": "string",
|
|
37
|
+
"mx_Engaged": "boolean",
|
|
38
|
+
"mx_Outcome": "string",
|
|
39
|
+
"mx_Will_Revisit": "boolean",
|
|
40
|
+
"mx_Confirmed_Visit": "boolean",
|
|
41
|
+
"mx_Will_Visit": "boolean",
|
|
42
|
+
"mx_Visited_Warm": "boolean",
|
|
43
|
+
"mx_Type": "string",
|
|
44
|
+
"mx_Profile": "string",
|
|
45
|
+
"mx_Project_Explained": "boolean",
|
|
46
|
+
"mx_Site_Revisited": "boolean",
|
|
47
|
+
"mx_Site_Visited": "boolean",
|
|
48
|
+
"mx_GS_Keywords": "string",
|
|
49
|
+
"mx_Locality_Visit": "string",
|
|
50
|
+
"mx_Mode_of_Payment": "string",
|
|
51
|
+
"mx_Advertisement_Location": "string",
|
|
52
|
+
"mx_Next_Call_Date": "string",
|
|
53
|
+
"mx_Site_Visit_Date": "string",
|
|
54
|
+
"mx_Secondary_Owner": "string",
|
|
55
|
+
"mx_Residence_Status": "string",
|
|
56
|
+
"mx_Residence_Address": "string",
|
|
57
|
+
"mx_Resi_Type": "string",
|
|
58
|
+
"mx_Reason_to_Buy": "string",
|
|
59
|
+
"mx_Reason_For_Loss": "string",
|
|
60
|
+
"mx_Property_Type": "string",
|
|
61
|
+
"mx_Project_Explained_Date": "string",
|
|
62
|
+
"mx_Possession_Required": "string",
|
|
63
|
+
"mx_Office_Address": "string",
|
|
64
|
+
"mx_Location_Map": "string",
|
|
65
|
+
"mx_Marital_Status": "string",
|
|
66
|
+
"mx_Locality": "string",
|
|
67
|
+
"mx_Landing_Page": "string",
|
|
68
|
+
"mx_Interested_In": "string",
|
|
69
|
+
"mx_Head_Stage": "string",
|
|
70
|
+
"mx_Budget_at_Visit": "number",
|
|
71
|
+
"mx_Budget": "string",
|
|
72
|
+
"mx_Age": "number",
|
|
73
|
+
"Groups": "string",
|
|
74
|
+
"ProspectID": "string",
|
|
75
|
+
"ProspectAutoId": "number",
|
|
76
|
+
"FirstName": "string",
|
|
77
|
+
"LastName": "string",
|
|
78
|
+
"EmailAddress": "string",
|
|
79
|
+
"Source": "string",
|
|
80
|
+
"Notes": "string",
|
|
81
|
+
"Phone": "string",
|
|
82
|
+
"Mobile": "string",
|
|
83
|
+
"Website": "string",
|
|
84
|
+
"TimeZone": "string",
|
|
85
|
+
"Company": "string",
|
|
86
|
+
"JobTitle": "string",
|
|
87
|
+
"DoNotCall": "boolean",
|
|
88
|
+
"DoNotEmail": "boolean",
|
|
89
|
+
"DoNotTrack": "boolean",
|
|
90
|
+
"ProspectStage": "string",
|
|
91
|
+
"Score": "number",
|
|
92
|
+
"DoNotSMS": "boolean",
|
|
93
|
+
"ProspectActivityId_Max": "string",
|
|
94
|
+
"ProspectActivityId_Min": "string",
|
|
95
|
+
"StatusCode": "number",
|
|
96
|
+
"StatusReason": "number",
|
|
97
|
+
"DeletionStatusCode": "number",
|
|
98
|
+
"OwnerId": "string",
|
|
99
|
+
"CreatedBy": "string",
|
|
100
|
+
"CreatedOn": "string",
|
|
101
|
+
"ModifiedBy": "string",
|
|
102
|
+
"ModifiedOn": "string",
|
|
103
|
+
"LeadConversionDate": "string",
|
|
104
|
+
"TotalVisits": "number",
|
|
105
|
+
"PageViewsPerVisit": "number",
|
|
106
|
+
"AvgTimePerVisit": "number",
|
|
107
|
+
"RelatedProspectId": "string",
|
|
108
|
+
"OwnerIdName": "string",
|
|
109
|
+
"OwnerIdEmailAddress": "string",
|
|
110
|
+
"CreatedByName": "string",
|
|
111
|
+
"ModifiedByName": "string",
|
|
112
|
+
"SourceCampaign": "string",
|
|
113
|
+
"SourceReferrer": "string",
|
|
114
|
+
"NotableEvent": "string",
|
|
115
|
+
"NotableEventdate": "string",
|
|
116
|
+
"LastVisitDate": "string",
|
|
117
|
+
"SourceMedium": "string",
|
|
118
|
+
"RelatedLandingPageId": "string",
|
|
119
|
+
"FirstLandingPageSubmissionId": "string",
|
|
120
|
+
"FirstLandingPageSubmissionDate": "string",
|
|
121
|
+
"SourceContent": "string",
|
|
122
|
+
"ProspectActivityName_Max": "string",
|
|
123
|
+
"ProspectActivityDate_Max": "string",
|
|
124
|
+
"EngagementScore": "number",
|
|
125
|
+
"Origin": "string",
|
|
126
|
+
"Revenue": "number",
|
|
127
|
+
"MailingPreferences": "string",
|
|
128
|
+
"ProspectActivityDate_Min": "string",
|
|
129
|
+
"Web_Referrer": "string",
|
|
130
|
+
"Web_RefKeyword": "string",
|
|
131
|
+
"LeadLastModifiedOn": "string",
|
|
132
|
+
"QualityScore01": "number",
|
|
133
|
+
"TwitterId": "string",
|
|
134
|
+
"FacebookId": "string",
|
|
135
|
+
"LinkedInId": "string",
|
|
136
|
+
"SkypeId": "string",
|
|
137
|
+
"GTalkId": "string",
|
|
138
|
+
"GooglePlusId": "string",
|
|
139
|
+
"PhotoUrl": "string",
|
|
140
|
+
"CurrentOptInStatus": "string",
|
|
141
|
+
"OptInDate": "string",
|
|
142
|
+
"OptInDetails": "string",
|
|
143
|
+
"LastOptInEmailSentDate": "string",
|
|
144
|
+
"LeadAge": "number",
|
|
145
|
+
"ConversionReferrerURL": "string",
|
|
146
|
+
"SourceReferrerURL": "string",
|
|
147
|
+
"SourceIPAddress": "string",
|
|
148
|
+
"Latitude": "string",
|
|
149
|
+
"Longitude": "string"
|
|
150
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const _60659_json_1 = __importDefault(require("./60659.json"));
|
|
7
|
+
exports.default = _60659_json_1.default;
|