@west10tech/constructionwire-mcp 1.4.0 → 2.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.
- package/LICENSE +21 -0
- package/README.md +42 -18
- package/dist/clients/constructionwire-client.d.ts +3 -4
- package/dist/clients/constructionwire-client.d.ts.map +1 -1
- package/dist/clients/constructionwire-client.js +4 -117
- package/dist/clients/constructionwire-client.js.map +1 -1
- package/dist/config.d.ts +3 -3
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +6 -7
- package/dist/config.js.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/tools/constructionwire-tools.d.ts +3 -4
- package/dist/tools/constructionwire-tools.d.ts.map +1 -1
- package/dist/tools/constructionwire-tools.js +9 -9
- package/dist/tools/constructionwire-tools.js.map +1 -1
- package/package.json +4 -3
|
@@ -100,55 +100,17 @@ export class ConstructionwireClient {
|
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
102
|
resolveBaseUrl() {
|
|
103
|
-
|
|
104
|
-
// console.error('[ConstructionwireClient] Resolving base URL...');
|
|
105
|
-
// console.error('[ConstructionwireClient] Template base_url:', 'https://api-cw.buildcentral.com');
|
|
106
|
-
// console.error('[ConstructionwireClient] CustomConfig baseUrl:', '');
|
|
107
|
-
let baseUrl = 'https://api-cw.buildcentral.com';
|
|
108
|
-
// console.error('[ConstructionwireClient] Initial resolved baseUrl:', baseUrl);
|
|
109
|
-
// If no base URL was found, throw an error
|
|
110
|
-
if (!baseUrl) {
|
|
111
|
-
throw new Error(`No base URL configured for constructionwire. Please provide base_url in template or customConfig.baseUrl.`);
|
|
112
|
-
}
|
|
113
|
-
// Handle dynamic domain replacement for patterns like CONFLUENCE_DOMAIN, JIRA_DOMAIN, etc.
|
|
114
|
-
const domainEnvVar = `CONSTRUCTIONWIRE_DOMAIN`;
|
|
115
|
-
const domain = process.env[domainEnvVar];
|
|
116
|
-
// console.error(`[ConstructionwireClient] Domain env var (${domainEnvVar}):`, domain);
|
|
117
|
-
// Check for SERVICE_DOMAIN pattern (e.g., CONFLUENCE_DOMAIN, JIRA_DOMAIN, SLACK_DOMAIN)
|
|
118
|
-
// This handles both YOUR_DOMAIN and {SERVICE}_DOMAIN patterns in base URLs
|
|
119
|
-
if (baseUrl.includes('YOUR_DOMAIN') || baseUrl.includes(`${domainEnvVar}`)) {
|
|
120
|
-
if (!domain) {
|
|
121
|
-
throw new Error(`Missing domain configuration. Please set ${domainEnvVar} environment variable.`);
|
|
122
|
-
}
|
|
123
|
-
// Replace the placeholder with the actual domain value
|
|
124
|
-
// This handles patterns like https://CONFLUENCE_DOMAIN.atlassian.net
|
|
125
|
-
if (baseUrl.includes('YOUR_DOMAIN')) {
|
|
126
|
-
baseUrl = baseUrl.replace(/YOUR_DOMAIN/g, domain);
|
|
127
|
-
}
|
|
128
|
-
if (baseUrl.includes(`${domainEnvVar}`)) {
|
|
129
|
-
// Replace all occurrences of the service-specific domain placeholder
|
|
130
|
-
const regex = new RegExp(domainEnvVar, 'g');
|
|
131
|
-
baseUrl = baseUrl.replace(regex, domain);
|
|
132
|
-
}
|
|
133
|
-
this.logger.info('DOMAIN_RESOLVED', `Resolved base URL with domain`, {
|
|
134
|
-
template: 'constructionwire',
|
|
135
|
-
baseUrl: baseUrl
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
// console.error('[ConstructionwireClient] Final resolved baseUrl:', baseUrl);
|
|
139
|
-
return baseUrl;
|
|
103
|
+
return this.config.apiBaseUrl || 'https://api.constructionwire.com/v1';
|
|
140
104
|
}
|
|
141
105
|
getAuthHeaders() {
|
|
142
|
-
// Basic authentication using username/password
|
|
143
106
|
const headers = {};
|
|
144
|
-
if (this.config.
|
|
145
|
-
const credentials = Buffer.from(`${this.config.
|
|
107
|
+
if (this.config.constructionwireUsername && this.config.constructionwirePassword) {
|
|
108
|
+
const credentials = Buffer.from(`${this.config.constructionwireUsername}:${this.config.constructionwirePassword}`).toString('base64');
|
|
146
109
|
headers['Authorization'] = `Basic ${credentials}`;
|
|
147
110
|
}
|
|
148
111
|
this.logger.logAuthEvent('basic_auth_setup', true, {
|
|
149
112
|
authType: 'basic',
|
|
150
|
-
|
|
151
|
-
hasCredentials: !!(this.config.cONSTRUCTIONWIREUSERNAME && this.config.cONSTRUCTIONWIREPASSWORD)
|
|
113
|
+
hasCredentials: !!(this.config.constructionwireUsername && this.config.constructionwirePassword)
|
|
152
114
|
});
|
|
153
115
|
return headers;
|
|
154
116
|
}
|
|
@@ -229,7 +191,6 @@ export class ConstructionwireClient {
|
|
|
229
191
|
});
|
|
230
192
|
return path;
|
|
231
193
|
}
|
|
232
|
-
/* DEBUG: endpoint={"name":"reports_list","method":"GET","path":"/2.0/reports","category":"Project Intelligence","description":"List Construction Projects. Returns minimal data appropriate for app search list views. To retrieve complete details, use endpoint /reports/{reportId}. Lets make sure PageSize is max 10.","parameters":{"ReportId":{"type":"array","required":false,"description":"The unique identifier for the Project.","location":"query","items":"integer"},"ReportType":{"type":"array","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query","items":"integer"},"City":{"type":"string","required":false,"description":"","location":"query"},"State":{"type":"array","required":false,"description":"See [/common/lists/8](/common/lists/8)","location":"query","items":"string"},"PostalCode":{"type":"string","required":false,"description":"","location":"query"},"County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"PublishedUpdatedDateMin":{"type":"string","required":false,"description":"Published Updated Date minimum","location":"query"},"PublishedUpdatedDateMax":{"type":"string","required":false,"description":"Published Updated Date maximum","location":"query"},"PublishedUpdatedDateByDayCount":{"type":"integer","required":false,"description":"Set publishedUpdatedDateMin by subtracting some *number of days* from the current date.","location":"query"},"UpdatedDateMin":{"type":"string","required":false,"description":"Updated Date (system log date) minimum","location":"query"},"UpdatedDateMax":{"type":"string","required":false,"description":"Updated Date (system log date) maximum","location":"query"},"Sector":{"type":"array","required":false,"description":"See [/common/lists/24](/common/lists/24)","location":"query","items":"integer"},"ProjectType":{"type":"array","required":false,"description":"See [/common/lists/27](/common/lists/27)","location":"query","items":"integer"},"ProjectValue":{"type":"array","required":false,"description":"See [/common/lists/25](/common/lists/25)","location":"query","items":"number"},"ProjectSize":{"type":"array","required":false,"description":"See [/common/lists/29](/common/lists/29)","location":"query","items":"integer"},"ConstructionType":{"type":"array","required":false,"description":"See [/common/lists/28](/common/lists/28)","location":"query","items":"integer"},"ConstructionStage":{"type":"array","required":false,"description":"See [/common/lists/31](/common/lists/31)","location":"query","items":"integer"},"CommercialRealEstate":{"type":"array","required":false,"description":"Commercial Real Estate (CRE). See [/common/lists/161](/common/lists/161)","location":"query","items":"integer"},"ConstructionStartDateMin":{"type":"string","required":false,"description":"Construction Start Date minimum","location":"query"},"ConstructionStartDateMax":{"type":"string","required":false,"description":"Construction Start Date maximum","location":"query"},"ConstructionEndDateMin":{"type":"string","required":false,"description":"Construction End Date minimum","location":"query"},"ConstructionEndDateMax":{"type":"string","required":false,"description":"Construction End Date maximum","location":"query"},"ConstructionLeadValueMin":{"type":"integer","required":false,"description":"Opportunity Size minimum","location":"query"},"ConstructionLeadValueMax":{"type":"integer","required":false,"description":"Opportunity Size maximum","location":"query"},"ShoreType":{"type":"array","required":false,"description":"Onshore/Offshore. Applies to Energy and Mining. See [/common/lists/162](/common/lists/162)","location":"query","items":"integer"},"SiteAreaSizeMin":{"type":"number","required":false,"description":"Site Area Size minimum. Applies to Energy and Mining.","location":"query"},"SiteAreaSizeMax":{"type":"number","required":false,"description":"Site Area Size maximum. Applies to Energy and Mining.","location":"query"},"Grocery.Chain":{"type":"array","required":false,"description":"Grocery Chain. See [/common/lists/156](/common/lists/156)","location":"query","items":"integer"},"Grocery.ShoppingCenterName":{"type":"string","required":false,"description":"","location":"query"},"Grocery.ConstructionType":{"type":"integer","required":false,"description":"1-New, 9-Backfill","location":"query"},"Grocery.Schedule":{"type":"array","required":false,"description":"Construction Schedule. See [/common/lists/30](/common/lists/30)","location":"query","items":"integer"},"Grocery.OpeningDateMin":{"type":"string","required":false,"description":"Opening Date minimum","location":"query"},"Grocery.OpeningDateMax":{"type":"string","required":false,"description":"Opening Date maximum","location":"query"},"Grocery.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Grocery.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Grocery.AuditDateMin":{"type":"string","required":false,"description":"","location":"query"},"Grocery.AuditDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.Chain":{"type":"array","required":false,"description":"See [/common/lists/43](/common/lists/43)","location":"query","items":"integer"},"Hotel.Franchise":{"type":"array","required":false,"description":"See [/common/lists/44](/common/lists/44)","location":"query","items":"integer"},"Hotel.Scale":{"type":"array","required":false,"description":"See [/common/lists/45](/common/lists/45)","location":"query","items":"integer"},"Hotel.Amenity":{"type":"array","required":false,"description":"See [/common/lists/47](/common/lists/47)","location":"query","items":"integer"},"Hotel.RoomCount":{"type":"array","required":false,"description":"Number of rooms. See [/common/lists/48](/common/lists/48)","location":"query","items":"integer"},"Hotel.MeetingRoomSize":{"type":"array","required":false,"description":"See [/common/lists/52](/common/lists/52)","location":"query","items":"integer"},"Hotel.StarRating":{"type":"array","required":false,"description":"See [/common/lists/133](/common/lists/133)","location":"query","items":"integer"},"Hotel.PriceRateMin":{"type":"number","required":false,"description":"","location":"query"},"Hotel.PriceRateMax":{"type":"number","required":false,"description":"","location":"query"},"Hotel.MarketActivity":{"type":"array","required":false,"description":"See [/common/lists/51](/common/lists/51)","location":"query","items":"integer"},"Hotel.OpeningDateMin":{"type":"string","required":false,"description":"","location":"query"},"Hotel.OpeningDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.ParkingType":{"type":"array","required":false,"description":"Type of parking available. Applies to Hotel. See [/common/lists/33](/common/lists/33)","location":"query","items":"integer"},"Medical.FacilityType":{"type":"array","required":false,"description":"Level of Care. See [/common/lists/54](/common/lists/54)","location":"query","items":"integer"},"Medical.ClinicalSpecialty":{"type":"array","required":false,"description":"See [/common/lists/55](/common/lists/55)","location":"query","items":"integer"},"Medical.ConDateType":{"type":"integer","required":false,"description":"Type of Certification of Need. 1009-CON Application, 1010-CON Approval","location":"query"},"Medical.ConDateMin":{"type":"string","required":false,"description":"Certification of Need minimum date","location":"query"},"Medical.ConDateMax":{"type":"string","required":false,"description":"Certification of Need maximum date","location":"query"},"Medical.ConApplicationDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.ConApprovalDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.SystemName":{"type":"string","required":false,"description":"Name of Health System","location":"query"},"MultiFamily.ProjectType":{"type":"array","required":false,"description":"MultiFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"MultiFamily.ProductType":{"type":"array","required":false,"description":"Product Type. See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"MultiFamily.SeniorHousingType":{"type":"array","required":false,"description":"See [/common/lists/121](/common/lists/121)","location":"query","items":"integer"},"MultiFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. Applies to MultiFamily. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"MultiFamily.BuildingType":{"type":"array","required":false,"description":"See [/common/lists/63](/common/lists/63)","location":"query","items":"integer"},"Retail.Chain":{"type":"array","required":false,"description":"See [/common/lists/retail-chains](/common/lists/retail-chains)","location":"query","items":"integer"},"Retail.FootPrint":{"type":"array","required":false,"description":"See [/common/lists/157](/common/lists/157)","location":"query","items":"integer"},"Retail.DevelopmentType":{"type":"array","required":false,"description":"See [/common/lists/158](/common/lists/158)","location":"query","items":"integer"},"Retail.ChainCompanyName":{"type":"string","required":false,"description":"","location":"query"},"SingleFamily.Acreage":{"type":"array","required":false,"description":"See [/common/lists/149](/common/lists/149)","location":"query","items":"integer"},"SingleFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"SingleFamily.Price":{"type":"array","required":false,"description":"See [/common/lists/150](/common/lists/150)","location":"query","items":"number"},"SingleFamily.Amenity":{"type":"array","required":false,"description":"See [/common/lists/152](/common/lists/152)","location":"query","items":"integer"},"SingleFamily.ProjectType":{"type":"array","required":false,"description":"SingleFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"SingleFamily.ProductType":{"type":"array","required":false,"description":"See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"Energy.PowerOutput":{"type":"array","required":false,"description":"Power output in megawatts (MW). See [/common/lists/163](/common/lists/163)","location":"query","items":"number"},"Energy.PowerGrid":{"type":"array","required":false,"description":"North American power transmission grid/interconnection. See [/common/lists/164](/common/lists/164)","location":"query","items":"integer"},"Energy.WindTurbineCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.WindTurbineCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.PowerOutputMin":{"type":"number","required":false,"description":"Power Output (MW) minimum","location":"query"},"Energy.PowerOutputMax":{"type":"number","required":false,"description":"Power Output (MW) maximum","location":"query"},"Energy.QueueNumber":{"type":"string","required":false,"description":"","location":"query"},"Energy.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Energy.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Infrastructure.RequestType":{"type":"array","required":false,"description":"See [/common/lists/170](/common/lists/170)","location":"query","items":"integer"},"Infrastructure.FundingType":{"type":"array","required":false,"description":"See [/common/lists/171](/common/lists/171)","location":"query","items":"integer"},"Infrastructure.MaterialType":{"type":"array","required":false,"description":"See [/common/lists/172](/common/lists/172)","location":"query","items":"integer"},"Infrastructure.Category":{"type":"array","required":false,"description":"See [/common/lists/173](/common/lists/173)","location":"query","items":"integer"},"Infrastructure.DocumentFeeMin":{"type":"number","required":false,"description":"Document Fee minimum","location":"query"},"Infrastructure.DocumentFeeMax":{"type":"number","required":false,"description":"Document Fee maximum","location":"query"},"Mining.Resource":{"type":"array","required":false,"description":"See [/common/lists/166](/common/lists/166)","location":"query","items":"integer"},"Mining.MiningType":{"type":"array","required":false,"description":"See [/common/lists/167](/common/lists/167)","location":"query","items":"integer"},"Mining.Stage":{"type":"array","required":false,"description":"See [/common/lists/168](/common/lists/168)","location":"query","items":"integer"},"Contact.ContactId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.LocationId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.NameId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ParentObjectId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.Company.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Company.Name":{"type":"string","required":false,"description":"","location":"query"},"Contact.Company.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.NameId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.ContactName.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ContactName.FullName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.FirstName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.LastName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.MiddleName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Title":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.PhoneExt":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.ContainsField":{"type":"array","required":false,"description":"See [/common/lists/80](/common/lists/80)","location":"query","items":"integer"},"Contact.Location.LocationId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.Address1":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Address2":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.City":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.State":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.Location.PostalCode":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"Contact.Location.Country":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Latitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Longitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.TollFree":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.LocationName":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Description":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.DunsNumber":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CategoryType":{"type":"array","required":false,"description":"2-Headquarters, 999-Any","location":"query","items":"integer"},"Contact.Role":{"type":"array","required":false,"description":"See [/common/lists/75](/common/lists/75)","location":"query","items":"integer"},"Contact.Keyword":{"type":"string","required":false,"description":"","location":"query"},"Contact.Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"Contact.KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"Contact.KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"Contact.SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"Contact.SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"Contact.PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Contact.Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"Contact.QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"Contact.CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"},"DistanceMiles":{"type":"number","required":false,"description":"Distance in miles from coordinates. Set GeographyPolygon to one coordinate.","location":"query"},"GeographyPolygon":{"type":"string","required":false,"description":"Coordinates. E.g. -122.031577 47.578581,-122.031577 47.678581,-122.131577 47.678581,-122.031577 47.578581","location":"query"},"Folder":{"type":"array","required":false,"description":"Authenticated user's folder IDs. See [/common/lists/5000](/common/lists/5000)","location":"query","items":"integer"},"Keyword":{"type":"string","required":false,"description":"","location":"query"},"Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call. Maximum should be 10.","location":"query"},"Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"}},"response_format":"json"} */
|
|
233
194
|
async reportsList(params, options) {
|
|
234
195
|
const startTime = Date.now();
|
|
235
196
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -1177,7 +1138,6 @@ export class ConstructionwireClient {
|
|
|
1177
1138
|
throw new Error(`Failed to execute reports_list: ${error instanceof Error ? error.message : String(error)}`);
|
|
1178
1139
|
}
|
|
1179
1140
|
}
|
|
1180
|
-
/* DEBUG: endpoint={"name":"reports_get","method":"GET","path":"/2.0/reports/{reportId}","description":"Get a Construction Project. To retrieve multiple, use multiple id (e.g /reports/100?reportTypeId=1&id=101&id=102).","parameters":{"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"},"id":{"type":"array","required":false,"description":"The unique identifier for the Project. Id is synonymous to reportId.","location":"query","items":"integer"},"reportTypeId":{"type":"integer","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query"}},"response_format":"json","category":"Project Intelligence"} */
|
|
1181
1141
|
async reportsGet(params, options) {
|
|
1182
1142
|
const startTime = Date.now();
|
|
1183
1143
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -1306,7 +1266,6 @@ export class ConstructionwireClient {
|
|
|
1306
1266
|
throw new Error(`Failed to execute reports_get: ${error instanceof Error ? error.message : String(error)}`);
|
|
1307
1267
|
}
|
|
1308
1268
|
}
|
|
1309
|
-
/* DEBUG: endpoint={"name":"reports_files","method":"GET","path":"/2.0/reports/{reportId}/files","description":"List Project Files (e.g. Plans/Specs). Set keywordsIn=12 in query to search files (e.g. /reports?reportType=1&keywords={term}&keywordsIn=12).","parameters":{"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Project Intelligence"} */
|
|
1310
1269
|
async reportsFiles(params, options) {
|
|
1311
1270
|
const startTime = Date.now();
|
|
1312
1271
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -1424,7 +1383,6 @@ export class ConstructionwireClient {
|
|
|
1424
1383
|
throw new Error(`Failed to execute reports_files: ${error instanceof Error ? error.message : String(error)}`);
|
|
1425
1384
|
}
|
|
1426
1385
|
}
|
|
1427
|
-
/* DEBUG: endpoint={"name":"reports_file","method":"GET","path":"/2.0/reports/{reportId}/files/{fileId}","description":"Get a Project File (e.g. Plans/Specs)","parameters":{"fileId":{"type":"integer","required":true,"description":"","location":"path"},"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Project Intelligence"} */
|
|
1428
1386
|
async reportsFile(params, options) {
|
|
1429
1387
|
const startTime = Date.now();
|
|
1430
1388
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -1542,7 +1500,6 @@ export class ConstructionwireClient {
|
|
|
1542
1500
|
throw new Error(`Failed to execute reports_file: ${error instanceof Error ? error.message : String(error)}`);
|
|
1543
1501
|
}
|
|
1544
1502
|
}
|
|
1545
|
-
/* DEBUG: endpoint={"name":"reports_notes","method":"GET","path":"/2.0/reports/{reportId}/notes","description":"List Project Notes","parameters":{"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Project Intelligence"} */
|
|
1546
1503
|
async reportsNotes(params, options) {
|
|
1547
1504
|
const startTime = Date.now();
|
|
1548
1505
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -1660,7 +1617,6 @@ export class ConstructionwireClient {
|
|
|
1660
1617
|
throw new Error(`Failed to execute reports_notes: ${error instanceof Error ? error.message : String(error)}`);
|
|
1661
1618
|
}
|
|
1662
1619
|
}
|
|
1663
|
-
/* DEBUG: endpoint={"name":"reports_note","method":"GET","path":"/2.0/reports/{reportId}/notes/{noteId}","description":"Get a Project Note","parameters":{"noteId":{"type":"integer","required":true,"description":"","location":"path"},"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Project Intelligence"} */
|
|
1664
1620
|
async reportsNote(params, options) {
|
|
1665
1621
|
const startTime = Date.now();
|
|
1666
1622
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -1778,7 +1734,6 @@ export class ConstructionwireClient {
|
|
|
1778
1734
|
throw new Error(`Failed to execute reports_note: ${error instanceof Error ? error.message : String(error)}`);
|
|
1779
1735
|
}
|
|
1780
1736
|
}
|
|
1781
|
-
/* DEBUG: endpoint={"name":"reports_questions","method":"GET","path":"/2.0/reports/{reportId}/questions","description":"List Project Questions","parameters":{"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Project Intelligence"} */
|
|
1782
1737
|
async reportsQuestions(params, options) {
|
|
1783
1738
|
const startTime = Date.now();
|
|
1784
1739
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -1896,7 +1851,6 @@ export class ConstructionwireClient {
|
|
|
1896
1851
|
throw new Error(`Failed to execute reports_questions: ${error instanceof Error ? error.message : String(error)}`);
|
|
1897
1852
|
}
|
|
1898
1853
|
}
|
|
1899
|
-
/* DEBUG: endpoint={"name":"reports_add_question","method":"POST","path":"/2.0/reports/{reportId}/questions","description":"Create a Project Question","parameters":{"reportId":{"type":"string","required":true,"description":"The unique identifier for the Project.","location":"path"},"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Project Intelligence"} */
|
|
1900
1854
|
async reportsAddQuestion(params, options) {
|
|
1901
1855
|
const startTime = Date.now();
|
|
1902
1856
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -2018,7 +1972,6 @@ export class ConstructionwireClient {
|
|
|
2018
1972
|
throw new Error(`Failed to execute reports_add_question: ${error instanceof Error ? error.message : String(error)}`);
|
|
2019
1973
|
}
|
|
2020
1974
|
}
|
|
2021
|
-
/* DEBUG: endpoint={"name":"reports_question","method":"GET","path":"/2.0/reports/{reportId}/questions/{questionId}","description":"Get a Project Question","parameters":{"questionId":{"type":"integer","required":true,"description":"","location":"path"},"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Project Intelligence"} */
|
|
2022
1975
|
async reportsQuestion(params, options) {
|
|
2023
1976
|
const startTime = Date.now();
|
|
2024
1977
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -2136,7 +2089,6 @@ export class ConstructionwireClient {
|
|
|
2136
2089
|
throw new Error(`Failed to execute reports_question: ${error instanceof Error ? error.message : String(error)}`);
|
|
2137
2090
|
}
|
|
2138
2091
|
}
|
|
2139
|
-
/* DEBUG: endpoint={"name":"reports_answers","method":"GET","path":"/2.0/reports/{reportId}/questions/{questionId}/answers","description":"List Answers to a Question","parameters":{"questionId":{"type":"integer","required":true,"description":"","location":"path"},"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Project Intelligence"} */
|
|
2140
2092
|
async reportsAnswers(params, options) {
|
|
2141
2093
|
const startTime = Date.now();
|
|
2142
2094
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -2254,7 +2206,6 @@ export class ConstructionwireClient {
|
|
|
2254
2206
|
throw new Error(`Failed to execute reports_answers: ${error instanceof Error ? error.message : String(error)}`);
|
|
2255
2207
|
}
|
|
2256
2208
|
}
|
|
2257
|
-
/* DEBUG: endpoint={"name":"reports_answer","method":"GET","path":"/2.0/reports/{reportId}/questions/{questionId}/answers/{answerId}","description":"Get an Answer to a Question","parameters":{"answerId":{"type":"integer","required":true,"description":"","location":"path"},"questionId":{"type":"integer","required":true,"description":"","location":"path"},"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Project Intelligence"} */
|
|
2258
2209
|
async reportsAnswer(params, options) {
|
|
2259
2210
|
const startTime = Date.now();
|
|
2260
2211
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -2372,7 +2323,6 @@ export class ConstructionwireClient {
|
|
|
2372
2323
|
throw new Error(`Failed to execute reports_answer: ${error instanceof Error ? error.message : String(error)}`);
|
|
2373
2324
|
}
|
|
2374
2325
|
}
|
|
2375
|
-
/* DEBUG: endpoint={"name":"reports_tasks","method":"GET","path":"/2.0/reports/{reportId}/tasks","description":"List Project Tasks","parameters":{"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Project Intelligence"} */
|
|
2376
2326
|
async reportsTasks(params, options) {
|
|
2377
2327
|
const startTime = Date.now();
|
|
2378
2328
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -2490,7 +2440,6 @@ export class ConstructionwireClient {
|
|
|
2490
2440
|
throw new Error(`Failed to execute reports_tasks: ${error instanceof Error ? error.message : String(error)}`);
|
|
2491
2441
|
}
|
|
2492
2442
|
}
|
|
2493
|
-
/* DEBUG: endpoint={"name":"reports_task","method":"GET","path":"/2.0/reports/{reportId}/tasks/{taskId}","description":"Get a Project Task","parameters":{"taskId":{"type":"integer","required":true,"description":"","location":"path"},"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Project Intelligence"} */
|
|
2494
2443
|
async reportsTask(params, options) {
|
|
2495
2444
|
const startTime = Date.now();
|
|
2496
2445
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -2608,7 +2557,6 @@ export class ConstructionwireClient {
|
|
|
2608
2557
|
throw new Error(`Failed to execute reports_task: ${error instanceof Error ? error.message : String(error)}`);
|
|
2609
2558
|
}
|
|
2610
2559
|
}
|
|
2611
|
-
/* DEBUG: endpoint={"name":"reports_facets","method":"GET","path":"/2.0/reports/facets","description":"List Construction Project Facets","parameters":{"facetId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"ReportId":{"type":"array","required":false,"description":"The unique identifier for the Project.","location":"query","items":"integer"},"ReportType":{"type":"array","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query","items":"integer"},"City":{"type":"string","required":false,"description":"","location":"query"},"State":{"type":"array","required":false,"description":"See [/common/lists/8](/common/lists/8)","location":"query","items":"string"},"PostalCode":{"type":"string","required":false,"description":"","location":"query"},"County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"PublishedUpdatedDateMin":{"type":"string","required":false,"description":"Published Updated Date minimum","location":"query"},"PublishedUpdatedDateMax":{"type":"string","required":false,"description":"Published Updated Date maximum","location":"query"},"PublishedUpdatedDateByDayCount":{"type":"integer","required":false,"description":"Set publishedUpdatedDateMin by subtracting some *number of days* from the current date.","location":"query"},"UpdatedDateMin":{"type":"string","required":false,"description":"Updated Date (system log date) minimum","location":"query"},"UpdatedDateMax":{"type":"string","required":false,"description":"Updated Date (system log date) maximum","location":"query"},"Sector":{"type":"array","required":false,"description":"See [/common/lists/24](/common/lists/24)","location":"query","items":"integer"},"ProjectType":{"type":"array","required":false,"description":"See [/common/lists/27](/common/lists/27)","location":"query","items":"integer"},"ProjectValue":{"type":"array","required":false,"description":"See [/common/lists/25](/common/lists/25)","location":"query","items":"number"},"ProjectSize":{"type":"array","required":false,"description":"See [/common/lists/29](/common/lists/29)","location":"query","items":"integer"},"ConstructionType":{"type":"array","required":false,"description":"See [/common/lists/28](/common/lists/28)","location":"query","items":"integer"},"ConstructionStage":{"type":"array","required":false,"description":"See [/common/lists/31](/common/lists/31)","location":"query","items":"integer"},"CommercialRealEstate":{"type":"array","required":false,"description":"Commercial Real Estate (CRE). See [/common/lists/161](/common/lists/161)","location":"query","items":"integer"},"ConstructionStartDateMin":{"type":"string","required":false,"description":"Construction Start Date minimum","location":"query"},"ConstructionStartDateMax":{"type":"string","required":false,"description":"Construction Start Date maximum","location":"query"},"ConstructionEndDateMin":{"type":"string","required":false,"description":"Construction End Date minimum","location":"query"},"ConstructionEndDateMax":{"type":"string","required":false,"description":"Construction End Date maximum","location":"query"},"ConstructionLeadValueMin":{"type":"integer","required":false,"description":"Opportunity Size minimum","location":"query"},"ConstructionLeadValueMax":{"type":"integer","required":false,"description":"Opportunity Size maximum","location":"query"},"ShoreType":{"type":"array","required":false,"description":"Onshore/Offshore. Applies to Energy and Mining. See [/common/lists/162](/common/lists/162)","location":"query","items":"integer"},"SiteAreaSizeMin":{"type":"number","required":false,"description":"Site Area Size minimum. Applies to Energy and Mining.","location":"query"},"SiteAreaSizeMax":{"type":"number","required":false,"description":"Site Area Size maximum. Applies to Energy and Mining.","location":"query"},"Grocery.Chain":{"type":"array","required":false,"description":"Grocery Chain. See [/common/lists/156](/common/lists/156)","location":"query","items":"integer"},"Grocery.ShoppingCenterName":{"type":"string","required":false,"description":"","location":"query"},"Grocery.ConstructionType":{"type":"integer","required":false,"description":"1-New, 9-Backfill","location":"query"},"Grocery.Schedule":{"type":"array","required":false,"description":"Construction Schedule. See [/common/lists/30](/common/lists/30)","location":"query","items":"integer"},"Grocery.OpeningDateMin":{"type":"string","required":false,"description":"Opening Date minimum","location":"query"},"Grocery.OpeningDateMax":{"type":"string","required":false,"description":"Opening Date maximum","location":"query"},"Grocery.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Grocery.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Grocery.AuditDateMin":{"type":"string","required":false,"description":"","location":"query"},"Grocery.AuditDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.Chain":{"type":"array","required":false,"description":"See [/common/lists/43](/common/lists/43)","location":"query","items":"integer"},"Hotel.Franchise":{"type":"array","required":false,"description":"See [/common/lists/44](/common/lists/44)","location":"query","items":"integer"},"Hotel.Scale":{"type":"array","required":false,"description":"See [/common/lists/45](/common/lists/45)","location":"query","items":"integer"},"Hotel.Amenity":{"type":"array","required":false,"description":"See [/common/lists/47](/common/lists/47)","location":"query","items":"integer"},"Hotel.RoomCount":{"type":"array","required":false,"description":"Number of rooms. See [/common/lists/48](/common/lists/48)","location":"query","items":"integer"},"Hotel.MeetingRoomSize":{"type":"array","required":false,"description":"See [/common/lists/52](/common/lists/52)","location":"query","items":"integer"},"Hotel.StarRating":{"type":"array","required":false,"description":"See [/common/lists/133](/common/lists/133)","location":"query","items":"integer"},"Hotel.PriceRateMin":{"type":"number","required":false,"description":"","location":"query"},"Hotel.PriceRateMax":{"type":"number","required":false,"description":"","location":"query"},"Hotel.MarketActivity":{"type":"array","required":false,"description":"See [/common/lists/51](/common/lists/51)","location":"query","items":"integer"},"Hotel.OpeningDateMin":{"type":"string","required":false,"description":"","location":"query"},"Hotel.OpeningDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.ParkingType":{"type":"array","required":false,"description":"Type of parking available. Applies to Hotel. See [/common/lists/33](/common/lists/33)","location":"query","items":"integer"},"Medical.FacilityType":{"type":"array","required":false,"description":"Level of Care. See [/common/lists/54](/common/lists/54)","location":"query","items":"integer"},"Medical.ClinicalSpecialty":{"type":"array","required":false,"description":"See [/common/lists/55](/common/lists/55)","location":"query","items":"integer"},"Medical.ConDateType":{"type":"integer","required":false,"description":"Type of Certification of Need. 1009-CON Application, 1010-CON Approval","location":"query"},"Medical.ConDateMin":{"type":"string","required":false,"description":"Certification of Need minimum date","location":"query"},"Medical.ConDateMax":{"type":"string","required":false,"description":"Certification of Need maximum date","location":"query"},"Medical.ConApplicationDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.ConApprovalDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.SystemName":{"type":"string","required":false,"description":"Name of Health System","location":"query"},"MultiFamily.ProjectType":{"type":"array","required":false,"description":"MultiFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"MultiFamily.ProductType":{"type":"array","required":false,"description":"Product Type. See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"MultiFamily.SeniorHousingType":{"type":"array","required":false,"description":"See [/common/lists/121](/common/lists/121)","location":"query","items":"integer"},"MultiFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. Applies to MultiFamily. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"MultiFamily.BuildingType":{"type":"array","required":false,"description":"See [/common/lists/63](/common/lists/63)","location":"query","items":"integer"},"Retail.Chain":{"type":"array","required":false,"description":"See [/common/lists/retail-chains](/common/lists/retail-chains)","location":"query","items":"integer"},"Retail.FootPrint":{"type":"array","required":false,"description":"See [/common/lists/157](/common/lists/157)","location":"query","items":"integer"},"Retail.DevelopmentType":{"type":"array","required":false,"description":"See [/common/lists/158](/common/lists/158)","location":"query","items":"integer"},"Retail.ChainCompanyName":{"type":"string","required":false,"description":"","location":"query"},"SingleFamily.Acreage":{"type":"array","required":false,"description":"See [/common/lists/149](/common/lists/149)","location":"query","items":"integer"},"SingleFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"SingleFamily.Price":{"type":"array","required":false,"description":"See [/common/lists/150](/common/lists/150)","location":"query","items":"number"},"SingleFamily.Amenity":{"type":"array","required":false,"description":"See [/common/lists/152](/common/lists/152)","location":"query","items":"integer"},"SingleFamily.ProjectType":{"type":"array","required":false,"description":"SingleFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"SingleFamily.ProductType":{"type":"array","required":false,"description":"See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"Energy.PowerOutput":{"type":"array","required":false,"description":"Power output in megawatts (MW). See [/common/lists/163](/common/lists/163)","location":"query","items":"number"},"Energy.PowerGrid":{"type":"array","required":false,"description":"North American power transmission grid/interconnection. See [/common/lists/164](/common/lists/164)","location":"query","items":"integer"},"Energy.WindTurbineCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.WindTurbineCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.PowerOutputMin":{"type":"number","required":false,"description":"Power Output (MW) minimum","location":"query"},"Energy.PowerOutputMax":{"type":"number","required":false,"description":"Power Output (MW) maximum","location":"query"},"Energy.QueueNumber":{"type":"string","required":false,"description":"","location":"query"},"Energy.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Energy.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Infrastructure.RequestType":{"type":"array","required":false,"description":"See [/common/lists/170](/common/lists/170)","location":"query","items":"integer"},"Infrastructure.FundingType":{"type":"array","required":false,"description":"See [/common/lists/171](/common/lists/171)","location":"query","items":"integer"},"Infrastructure.MaterialType":{"type":"array","required":false,"description":"See [/common/lists/172](/common/lists/172)","location":"query","items":"integer"},"Infrastructure.Category":{"type":"array","required":false,"description":"See [/common/lists/173](/common/lists/173)","location":"query","items":"integer"},"Infrastructure.DocumentFeeMin":{"type":"number","required":false,"description":"Document Fee minimum","location":"query"},"Infrastructure.DocumentFeeMax":{"type":"number","required":false,"description":"Document Fee maximum","location":"query"},"Mining.Resource":{"type":"array","required":false,"description":"See [/common/lists/166](/common/lists/166)","location":"query","items":"integer"},"Mining.MiningType":{"type":"array","required":false,"description":"See [/common/lists/167](/common/lists/167)","location":"query","items":"integer"},"Mining.Stage":{"type":"array","required":false,"description":"See [/common/lists/168](/common/lists/168)","location":"query","items":"integer"},"Contact.ContactId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.LocationId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.NameId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ParentObjectId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.Company.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Company.Name":{"type":"string","required":false,"description":"","location":"query"},"Contact.Company.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.NameId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.ContactName.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ContactName.FullName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.FirstName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.LastName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.MiddleName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Title":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.PhoneExt":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.ContainsField":{"type":"array","required":false,"description":"See [/common/lists/80](/common/lists/80)","location":"query","items":"integer"},"Contact.Location.LocationId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.Address1":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Address2":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.City":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.State":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.Location.PostalCode":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"Contact.Location.Country":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Latitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Longitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.TollFree":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.LocationName":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Description":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.DunsNumber":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CategoryType":{"type":"array","required":false,"description":"2-Headquarters, 999-Any","location":"query","items":"integer"},"Contact.Role":{"type":"array","required":false,"description":"See [/common/lists/75](/common/lists/75)","location":"query","items":"integer"},"Contact.Keyword":{"type":"string","required":false,"description":"","location":"query"},"Contact.Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"Contact.KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"Contact.KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"Contact.SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"Contact.SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"Contact.PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Contact.Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"Contact.QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"Contact.CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"},"DistanceMiles":{"type":"number","required":false,"description":"Distance in miles from coordinates. Set GeographyPolygon to one coordinate.","location":"query"},"GeographyPolygon":{"type":"string","required":false,"description":"Coordinates. E.g. -122.031577 47.578581,-122.031577 47.678581,-122.131577 47.678581,-122.031577 47.578581","location":"query"},"Folder":{"type":"array","required":false,"description":"Authenticated user's folder IDs. See [/common/lists/5000](/common/lists/5000)","location":"query","items":"integer"},"Keyword":{"type":"string","required":false,"description":"","location":"query"},"Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"}},"response_format":"json","category":"Project Intelligence"} */
|
|
2612
2560
|
async reportsFacets(params, options) {
|
|
2613
2561
|
const startTime = Date.now();
|
|
2614
2562
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -3563,7 +3511,6 @@ export class ConstructionwireClient {
|
|
|
3563
3511
|
throw new Error(`Failed to execute reports_facets: ${error instanceof Error ? error.message : String(error)}`);
|
|
3564
3512
|
}
|
|
3565
3513
|
}
|
|
3566
|
-
/* DEBUG: endpoint={"name":"reports_file_terms","method":"GET","path":"/2.0/reports/files/terms","description":"Get Terms and Conditions for Project Files","parameters":{},"response_format":"json","category":"Project Intelligence"} */
|
|
3567
3514
|
async reportsFileTerms(params, options) {
|
|
3568
3515
|
const startTime = Date.now();
|
|
3569
3516
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -3681,7 +3628,6 @@ export class ConstructionwireClient {
|
|
|
3681
3628
|
throw new Error(`Failed to execute reports_file_terms: ${error instanceof Error ? error.message : String(error)}`);
|
|
3682
3629
|
}
|
|
3683
3630
|
}
|
|
3684
|
-
/* DEBUG: endpoint={"name":"reports_add_file_terms","method":"POST","path":"/2.0/reports/files/terms","description":"Set request body to \"true\" to indicate that you read and agree to BuildCentral's Terms and Conditions. Read terms at /2.0/reports/files/terms.","parameters":{"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Project Intelligence"} */
|
|
3685
3631
|
async reportsAddFileTerms(params, options) {
|
|
3686
3632
|
const startTime = Date.now();
|
|
3687
3633
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -3803,7 +3749,6 @@ export class ConstructionwireClient {
|
|
|
3803
3749
|
throw new Error(`Failed to execute reports_add_file_terms: ${error instanceof Error ? error.message : String(error)}`);
|
|
3804
3750
|
}
|
|
3805
3751
|
}
|
|
3806
|
-
/* DEBUG: endpoint={"name":"reports_follow","method":"POST","path":"/2.0/reports/followings","description":"Create a Project Following","parameters":{"folderId":{"type":"integer","required":true,"description":"","location":"path"},"typeId":{"type":"integer","required":false,"description":"","location":"query"},"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Project Intelligence"} */
|
|
3807
3752
|
async reportsFollow(params, options) {
|
|
3808
3753
|
const startTime = Date.now();
|
|
3809
3754
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -3929,7 +3874,6 @@ export class ConstructionwireClient {
|
|
|
3929
3874
|
throw new Error(`Failed to execute reports_follow: ${error instanceof Error ? error.message : String(error)}`);
|
|
3930
3875
|
}
|
|
3931
3876
|
}
|
|
3932
|
-
/* DEBUG: endpoint={"name":"reports_unfollow","method":"DELETE","path":"/2.0/reports/followings","description":"Delete a Project Following","parameters":{"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Project Intelligence"} */
|
|
3933
3877
|
async reportsUnfollow(params, options) {
|
|
3934
3878
|
const startTime = Date.now();
|
|
3935
3879
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -4051,7 +3995,6 @@ export class ConstructionwireClient {
|
|
|
4051
3995
|
throw new Error(`Failed to execute reports_unfollow: ${error instanceof Error ? error.message : String(error)}`);
|
|
4052
3996
|
}
|
|
4053
3997
|
}
|
|
4054
|
-
/* DEBUG: endpoint={"name":"reports_following","method":"GET","path":"/2.0/reports/followings","description":"List Project Followings","parameters":{"ReportId":{"type":"array","required":false,"description":"The unique identifier for the Project.","location":"query","items":"integer"},"ReportType":{"type":"array","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query","items":"integer"},"City":{"type":"string","required":false,"description":"","location":"query"},"State":{"type":"array","required":false,"description":"See [/common/lists/8](/common/lists/8)","location":"query","items":"string"},"PostalCode":{"type":"string","required":false,"description":"","location":"query"},"County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"PublishedUpdatedDateMin":{"type":"string","required":false,"description":"Published Updated Date minimum","location":"query"},"PublishedUpdatedDateMax":{"type":"string","required":false,"description":"Published Updated Date maximum","location":"query"},"PublishedUpdatedDateByDayCount":{"type":"integer","required":false,"description":"Set publishedUpdatedDateMin by subtracting some *number of days* from the current date.","location":"query"},"UpdatedDateMin":{"type":"string","required":false,"description":"Updated Date (system log date) minimum","location":"query"},"UpdatedDateMax":{"type":"string","required":false,"description":"Updated Date (system log date) maximum","location":"query"},"Sector":{"type":"array","required":false,"description":"See [/common/lists/24](/common/lists/24)","location":"query","items":"integer"},"ProjectType":{"type":"array","required":false,"description":"See [/common/lists/27](/common/lists/27)","location":"query","items":"integer"},"ProjectValue":{"type":"array","required":false,"description":"See [/common/lists/25](/common/lists/25)","location":"query","items":"number"},"ProjectSize":{"type":"array","required":false,"description":"See [/common/lists/29](/common/lists/29)","location":"query","items":"integer"},"ConstructionType":{"type":"array","required":false,"description":"See [/common/lists/28](/common/lists/28)","location":"query","items":"integer"},"ConstructionStage":{"type":"array","required":false,"description":"See [/common/lists/31](/common/lists/31)","location":"query","items":"integer"},"CommercialRealEstate":{"type":"array","required":false,"description":"Commercial Real Estate (CRE). See [/common/lists/161](/common/lists/161)","location":"query","items":"integer"},"ConstructionStartDateMin":{"type":"string","required":false,"description":"Construction Start Date minimum","location":"query"},"ConstructionStartDateMax":{"type":"string","required":false,"description":"Construction Start Date maximum","location":"query"},"ConstructionEndDateMin":{"type":"string","required":false,"description":"Construction End Date minimum","location":"query"},"ConstructionEndDateMax":{"type":"string","required":false,"description":"Construction End Date maximum","location":"query"},"ConstructionLeadValueMin":{"type":"integer","required":false,"description":"Opportunity Size minimum","location":"query"},"ConstructionLeadValueMax":{"type":"integer","required":false,"description":"Opportunity Size maximum","location":"query"},"ShoreType":{"type":"array","required":false,"description":"Onshore/Offshore. Applies to Energy and Mining. See [/common/lists/162](/common/lists/162)","location":"query","items":"integer"},"SiteAreaSizeMin":{"type":"number","required":false,"description":"Site Area Size minimum. Applies to Energy and Mining.","location":"query"},"SiteAreaSizeMax":{"type":"number","required":false,"description":"Site Area Size maximum. Applies to Energy and Mining.","location":"query"},"Grocery.Chain":{"type":"array","required":false,"description":"Grocery Chain. See [/common/lists/156](/common/lists/156)","location":"query","items":"integer"},"Grocery.ShoppingCenterName":{"type":"string","required":false,"description":"","location":"query"},"Grocery.ConstructionType":{"type":"integer","required":false,"description":"1-New, 9-Backfill","location":"query"},"Grocery.Schedule":{"type":"array","required":false,"description":"Construction Schedule. See [/common/lists/30](/common/lists/30)","location":"query","items":"integer"},"Grocery.OpeningDateMin":{"type":"string","required":false,"description":"Opening Date minimum","location":"query"},"Grocery.OpeningDateMax":{"type":"string","required":false,"description":"Opening Date maximum","location":"query"},"Grocery.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Grocery.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Grocery.AuditDateMin":{"type":"string","required":false,"description":"","location":"query"},"Grocery.AuditDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.Chain":{"type":"array","required":false,"description":"See [/common/lists/43](/common/lists/43)","location":"query","items":"integer"},"Hotel.Franchise":{"type":"array","required":false,"description":"See [/common/lists/44](/common/lists/44)","location":"query","items":"integer"},"Hotel.Scale":{"type":"array","required":false,"description":"See [/common/lists/45](/common/lists/45)","location":"query","items":"integer"},"Hotel.Amenity":{"type":"array","required":false,"description":"See [/common/lists/47](/common/lists/47)","location":"query","items":"integer"},"Hotel.RoomCount":{"type":"array","required":false,"description":"Number of rooms. See [/common/lists/48](/common/lists/48)","location":"query","items":"integer"},"Hotel.MeetingRoomSize":{"type":"array","required":false,"description":"See [/common/lists/52](/common/lists/52)","location":"query","items":"integer"},"Hotel.StarRating":{"type":"array","required":false,"description":"See [/common/lists/133](/common/lists/133)","location":"query","items":"integer"},"Hotel.PriceRateMin":{"type":"number","required":false,"description":"","location":"query"},"Hotel.PriceRateMax":{"type":"number","required":false,"description":"","location":"query"},"Hotel.MarketActivity":{"type":"array","required":false,"description":"See [/common/lists/51](/common/lists/51)","location":"query","items":"integer"},"Hotel.OpeningDateMin":{"type":"string","required":false,"description":"","location":"query"},"Hotel.OpeningDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.ParkingType":{"type":"array","required":false,"description":"Type of parking available. Applies to Hotel. See [/common/lists/33](/common/lists/33)","location":"query","items":"integer"},"Medical.FacilityType":{"type":"array","required":false,"description":"Level of Care. See [/common/lists/54](/common/lists/54)","location":"query","items":"integer"},"Medical.ClinicalSpecialty":{"type":"array","required":false,"description":"See [/common/lists/55](/common/lists/55)","location":"query","items":"integer"},"Medical.ConDateType":{"type":"integer","required":false,"description":"Type of Certification of Need. 1009-CON Application, 1010-CON Approval","location":"query"},"Medical.ConDateMin":{"type":"string","required":false,"description":"Certification of Need minimum date","location":"query"},"Medical.ConDateMax":{"type":"string","required":false,"description":"Certification of Need maximum date","location":"query"},"Medical.ConApplicationDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.ConApprovalDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.SystemName":{"type":"string","required":false,"description":"Name of Health System","location":"query"},"MultiFamily.ProjectType":{"type":"array","required":false,"description":"MultiFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"MultiFamily.ProductType":{"type":"array","required":false,"description":"Product Type. See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"MultiFamily.SeniorHousingType":{"type":"array","required":false,"description":"See [/common/lists/121](/common/lists/121)","location":"query","items":"integer"},"MultiFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. Applies to MultiFamily. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"MultiFamily.BuildingType":{"type":"array","required":false,"description":"See [/common/lists/63](/common/lists/63)","location":"query","items":"integer"},"Retail.Chain":{"type":"array","required":false,"description":"See [/common/lists/retail-chains](/common/lists/retail-chains)","location":"query","items":"integer"},"Retail.FootPrint":{"type":"array","required":false,"description":"See [/common/lists/157](/common/lists/157)","location":"query","items":"integer"},"Retail.DevelopmentType":{"type":"array","required":false,"description":"See [/common/lists/158](/common/lists/158)","location":"query","items":"integer"},"Retail.ChainCompanyName":{"type":"string","required":false,"description":"","location":"query"},"SingleFamily.Acreage":{"type":"array","required":false,"description":"See [/common/lists/149](/common/lists/149)","location":"query","items":"integer"},"SingleFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"SingleFamily.Price":{"type":"array","required":false,"description":"See [/common/lists/150](/common/lists/150)","location":"query","items":"number"},"SingleFamily.Amenity":{"type":"array","required":false,"description":"See [/common/lists/152](/common/lists/152)","location":"query","items":"integer"},"SingleFamily.ProjectType":{"type":"array","required":false,"description":"SingleFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"SingleFamily.ProductType":{"type":"array","required":false,"description":"See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"Energy.PowerOutput":{"type":"array","required":false,"description":"Power output in megawatts (MW). See [/common/lists/163](/common/lists/163)","location":"query","items":"number"},"Energy.PowerGrid":{"type":"array","required":false,"description":"North American power transmission grid/interconnection. See [/common/lists/164](/common/lists/164)","location":"query","items":"integer"},"Energy.WindTurbineCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.WindTurbineCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.PowerOutputMin":{"type":"number","required":false,"description":"Power Output (MW) minimum","location":"query"},"Energy.PowerOutputMax":{"type":"number","required":false,"description":"Power Output (MW) maximum","location":"query"},"Energy.QueueNumber":{"type":"string","required":false,"description":"","location":"query"},"Energy.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Energy.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Infrastructure.RequestType":{"type":"array","required":false,"description":"See [/common/lists/170](/common/lists/170)","location":"query","items":"integer"},"Infrastructure.FundingType":{"type":"array","required":false,"description":"See [/common/lists/171](/common/lists/171)","location":"query","items":"integer"},"Infrastructure.MaterialType":{"type":"array","required":false,"description":"See [/common/lists/172](/common/lists/172)","location":"query","items":"integer"},"Infrastructure.Category":{"type":"array","required":false,"description":"See [/common/lists/173](/common/lists/173)","location":"query","items":"integer"},"Infrastructure.DocumentFeeMin":{"type":"number","required":false,"description":"Document Fee minimum","location":"query"},"Infrastructure.DocumentFeeMax":{"type":"number","required":false,"description":"Document Fee maximum","location":"query"},"Mining.Resource":{"type":"array","required":false,"description":"See [/common/lists/166](/common/lists/166)","location":"query","items":"integer"},"Mining.MiningType":{"type":"array","required":false,"description":"See [/common/lists/167](/common/lists/167)","location":"query","items":"integer"},"Mining.Stage":{"type":"array","required":false,"description":"See [/common/lists/168](/common/lists/168)","location":"query","items":"integer"},"Contact.ContactId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.LocationId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.NameId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ParentObjectId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.Company.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Company.Name":{"type":"string","required":false,"description":"","location":"query"},"Contact.Company.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.NameId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.ContactName.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ContactName.FullName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.FirstName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.LastName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.MiddleName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Title":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.PhoneExt":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.ContainsField":{"type":"array","required":false,"description":"See [/common/lists/80](/common/lists/80)","location":"query","items":"integer"},"Contact.Location.LocationId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.Address1":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Address2":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.City":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.State":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.Location.PostalCode":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"Contact.Location.Country":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Latitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Longitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.TollFree":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.LocationName":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Description":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.DunsNumber":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CategoryType":{"type":"array","required":false,"description":"2-Headquarters, 999-Any","location":"query","items":"integer"},"Contact.Role":{"type":"array","required":false,"description":"See [/common/lists/75](/common/lists/75)","location":"query","items":"integer"},"Contact.Keyword":{"type":"string","required":false,"description":"","location":"query"},"Contact.Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"Contact.KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"Contact.KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"Contact.SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"Contact.SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"Contact.PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Contact.Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"Contact.QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"Contact.CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"},"DistanceMiles":{"type":"number","required":false,"description":"Distance in miles from coordinates. Set GeographyPolygon to one coordinate.","location":"query"},"GeographyPolygon":{"type":"string","required":false,"description":"Coordinates. E.g. -122.031577 47.578581,-122.031577 47.678581,-122.131577 47.678581,-122.031577 47.578581","location":"query"},"Folder":{"type":"array","required":false,"description":"Authenticated user's folder IDs. See [/common/lists/5000](/common/lists/5000)","location":"query","items":"integer"},"Keyword":{"type":"string","required":false,"description":"","location":"query"},"Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"}},"response_format":"json","category":"Project Intelligence"} */
|
|
4055
3998
|
async reportsFollowing(params, options) {
|
|
4056
3999
|
const startTime = Date.now();
|
|
4057
4000
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -4999,7 +4942,6 @@ export class ConstructionwireClient {
|
|
|
4999
4942
|
throw new Error(`Failed to execute reports_following: ${error instanceof Error ? error.message : String(error)}`);
|
|
5000
4943
|
}
|
|
5001
4944
|
}
|
|
5002
|
-
/* DEBUG: endpoint={"name":"reports_all_questions","method":"GET","path":"/2.0/reports/questions","description":"List Project Questions","parameters":{},"response_format":"json","category":"Project Intelligence"} */
|
|
5003
4945
|
async reportsAllQuestions(params, options) {
|
|
5004
4946
|
const startTime = Date.now();
|
|
5005
4947
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -5117,7 +5059,6 @@ export class ConstructionwireClient {
|
|
|
5117
5059
|
throw new Error(`Failed to execute reports_all_questions: ${error instanceof Error ? error.message : String(error)}`);
|
|
5118
5060
|
}
|
|
5119
5061
|
}
|
|
5120
|
-
/* DEBUG: endpoint={"name":"companies_list","method":"GET","path":"/2.0/companies","description":"List Companies","parameters":{"ReportId":{"type":"array","required":false,"description":"The unique identifier for the Project.","location":"query","items":"integer"},"ReportType":{"type":"array","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query","items":"integer"},"City":{"type":"string","required":false,"description":"","location":"query"},"State":{"type":"array","required":false,"description":"See [/common/lists/8](/common/lists/8)","location":"query","items":"string"},"PostalCode":{"type":"string","required":false,"description":"","location":"query"},"County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"PublishedUpdatedDateMin":{"type":"string","required":false,"description":"Published Updated Date minimum","location":"query"},"PublishedUpdatedDateMax":{"type":"string","required":false,"description":"Published Updated Date maximum","location":"query"},"PublishedUpdatedDateByDayCount":{"type":"integer","required":false,"description":"Set publishedUpdatedDateMin by subtracting some *number of days* from the current date.","location":"query"},"UpdatedDateMin":{"type":"string","required":false,"description":"Updated Date (system log date) minimum","location":"query"},"UpdatedDateMax":{"type":"string","required":false,"description":"Updated Date (system log date) maximum","location":"query"},"Sector":{"type":"array","required":false,"description":"See [/common/lists/24](/common/lists/24)","location":"query","items":"integer"},"ProjectType":{"type":"array","required":false,"description":"See [/common/lists/27](/common/lists/27)","location":"query","items":"integer"},"ProjectValue":{"type":"array","required":false,"description":"See [/common/lists/25](/common/lists/25)","location":"query","items":"number"},"ProjectSize":{"type":"array","required":false,"description":"See [/common/lists/29](/common/lists/29)","location":"query","items":"integer"},"ConstructionType":{"type":"array","required":false,"description":"See [/common/lists/28](/common/lists/28)","location":"query","items":"integer"},"ConstructionStage":{"type":"array","required":false,"description":"See [/common/lists/31](/common/lists/31)","location":"query","items":"integer"},"CommercialRealEstate":{"type":"array","required":false,"description":"Commercial Real Estate (CRE). See [/common/lists/161](/common/lists/161)","location":"query","items":"integer"},"ConstructionStartDateMin":{"type":"string","required":false,"description":"Construction Start Date minimum","location":"query"},"ConstructionStartDateMax":{"type":"string","required":false,"description":"Construction Start Date maximum","location":"query"},"ConstructionEndDateMin":{"type":"string","required":false,"description":"Construction End Date minimum","location":"query"},"ConstructionEndDateMax":{"type":"string","required":false,"description":"Construction End Date maximum","location":"query"},"ConstructionLeadValueMin":{"type":"integer","required":false,"description":"Opportunity Size minimum","location":"query"},"ConstructionLeadValueMax":{"type":"integer","required":false,"description":"Opportunity Size maximum","location":"query"},"ShoreType":{"type":"array","required":false,"description":"Onshore/Offshore. Applies to Energy and Mining. See [/common/lists/162](/common/lists/162)","location":"query","items":"integer"},"SiteAreaSizeMin":{"type":"number","required":false,"description":"Site Area Size minimum. Applies to Energy and Mining.","location":"query"},"SiteAreaSizeMax":{"type":"number","required":false,"description":"Site Area Size maximum. Applies to Energy and Mining.","location":"query"},"Grocery.Chain":{"type":"array","required":false,"description":"Grocery Chain. See [/common/lists/156](/common/lists/156)","location":"query","items":"integer"},"Grocery.ShoppingCenterName":{"type":"string","required":false,"description":"","location":"query"},"Grocery.ConstructionType":{"type":"integer","required":false,"description":"1-New, 9-Backfill","location":"query"},"Grocery.Schedule":{"type":"array","required":false,"description":"Construction Schedule. See [/common/lists/30](/common/lists/30)","location":"query","items":"integer"},"Grocery.OpeningDateMin":{"type":"string","required":false,"description":"Opening Date minimum","location":"query"},"Grocery.OpeningDateMax":{"type":"string","required":false,"description":"Opening Date maximum","location":"query"},"Grocery.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Grocery.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Grocery.AuditDateMin":{"type":"string","required":false,"description":"","location":"query"},"Grocery.AuditDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.Chain":{"type":"array","required":false,"description":"See [/common/lists/43](/common/lists/43)","location":"query","items":"integer"},"Hotel.Franchise":{"type":"array","required":false,"description":"See [/common/lists/44](/common/lists/44)","location":"query","items":"integer"},"Hotel.Scale":{"type":"array","required":false,"description":"See [/common/lists/45](/common/lists/45)","location":"query","items":"integer"},"Hotel.Amenity":{"type":"array","required":false,"description":"See [/common/lists/47](/common/lists/47)","location":"query","items":"integer"},"Hotel.RoomCount":{"type":"array","required":false,"description":"Number of rooms. See [/common/lists/48](/common/lists/48)","location":"query","items":"integer"},"Hotel.MeetingRoomSize":{"type":"array","required":false,"description":"See [/common/lists/52](/common/lists/52)","location":"query","items":"integer"},"Hotel.StarRating":{"type":"array","required":false,"description":"See [/common/lists/133](/common/lists/133)","location":"query","items":"integer"},"Hotel.PriceRateMin":{"type":"number","required":false,"description":"","location":"query"},"Hotel.PriceRateMax":{"type":"number","required":false,"description":"","location":"query"},"Hotel.MarketActivity":{"type":"array","required":false,"description":"See [/common/lists/51](/common/lists/51)","location":"query","items":"integer"},"Hotel.OpeningDateMin":{"type":"string","required":false,"description":"","location":"query"},"Hotel.OpeningDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.ParkingType":{"type":"array","required":false,"description":"Type of parking available. Applies to Hotel. See [/common/lists/33](/common/lists/33)","location":"query","items":"integer"},"Medical.FacilityType":{"type":"array","required":false,"description":"Level of Care. See [/common/lists/54](/common/lists/54)","location":"query","items":"integer"},"Medical.ClinicalSpecialty":{"type":"array","required":false,"description":"See [/common/lists/55](/common/lists/55)","location":"query","items":"integer"},"Medical.ConDateType":{"type":"integer","required":false,"description":"Type of Certification of Need. 1009-CON Application, 1010-CON Approval","location":"query"},"Medical.ConDateMin":{"type":"string","required":false,"description":"Certification of Need minimum date","location":"query"},"Medical.ConDateMax":{"type":"string","required":false,"description":"Certification of Need maximum date","location":"query"},"Medical.ConApplicationDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.ConApprovalDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.SystemName":{"type":"string","required":false,"description":"Name of Health System","location":"query"},"MultiFamily.ProjectType":{"type":"array","required":false,"description":"MultiFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"MultiFamily.ProductType":{"type":"array","required":false,"description":"Product Type. See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"MultiFamily.SeniorHousingType":{"type":"array","required":false,"description":"See [/common/lists/121](/common/lists/121)","location":"query","items":"integer"},"MultiFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. Applies to MultiFamily. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"MultiFamily.BuildingType":{"type":"array","required":false,"description":"See [/common/lists/63](/common/lists/63)","location":"query","items":"integer"},"Retail.Chain":{"type":"array","required":false,"description":"See [/common/lists/retail-chains](/common/lists/retail-chains)","location":"query","items":"integer"},"Retail.FootPrint":{"type":"array","required":false,"description":"See [/common/lists/157](/common/lists/157)","location":"query","items":"integer"},"Retail.DevelopmentType":{"type":"array","required":false,"description":"See [/common/lists/158](/common/lists/158)","location":"query","items":"integer"},"Retail.ChainCompanyName":{"type":"string","required":false,"description":"","location":"query"},"SingleFamily.Acreage":{"type":"array","required":false,"description":"See [/common/lists/149](/common/lists/149)","location":"query","items":"integer"},"SingleFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"SingleFamily.Price":{"type":"array","required":false,"description":"See [/common/lists/150](/common/lists/150)","location":"query","items":"number"},"SingleFamily.Amenity":{"type":"array","required":false,"description":"See [/common/lists/152](/common/lists/152)","location":"query","items":"integer"},"SingleFamily.ProjectType":{"type":"array","required":false,"description":"SingleFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"SingleFamily.ProductType":{"type":"array","required":false,"description":"See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"Energy.PowerOutput":{"type":"array","required":false,"description":"Power output in megawatts (MW). See [/common/lists/163](/common/lists/163)","location":"query","items":"number"},"Energy.PowerGrid":{"type":"array","required":false,"description":"North American power transmission grid/interconnection. See [/common/lists/164](/common/lists/164)","location":"query","items":"integer"},"Energy.WindTurbineCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.WindTurbineCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.PowerOutputMin":{"type":"number","required":false,"description":"Power Output (MW) minimum","location":"query"},"Energy.PowerOutputMax":{"type":"number","required":false,"description":"Power Output (MW) maximum","location":"query"},"Energy.QueueNumber":{"type":"string","required":false,"description":"","location":"query"},"Energy.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Energy.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Infrastructure.RequestType":{"type":"array","required":false,"description":"See [/common/lists/170](/common/lists/170)","location":"query","items":"integer"},"Infrastructure.FundingType":{"type":"array","required":false,"description":"See [/common/lists/171](/common/lists/171)","location":"query","items":"integer"},"Infrastructure.MaterialType":{"type":"array","required":false,"description":"See [/common/lists/172](/common/lists/172)","location":"query","items":"integer"},"Infrastructure.Category":{"type":"array","required":false,"description":"See [/common/lists/173](/common/lists/173)","location":"query","items":"integer"},"Infrastructure.DocumentFeeMin":{"type":"number","required":false,"description":"Document Fee minimum","location":"query"},"Infrastructure.DocumentFeeMax":{"type":"number","required":false,"description":"Document Fee maximum","location":"query"},"Mining.Resource":{"type":"array","required":false,"description":"See [/common/lists/166](/common/lists/166)","location":"query","items":"integer"},"Mining.MiningType":{"type":"array","required":false,"description":"See [/common/lists/167](/common/lists/167)","location":"query","items":"integer"},"Mining.Stage":{"type":"array","required":false,"description":"See [/common/lists/168](/common/lists/168)","location":"query","items":"integer"},"Contact.ContactId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.LocationId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.NameId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ParentObjectId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.Company.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Company.Name":{"type":"string","required":false,"description":"","location":"query"},"Contact.Company.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.NameId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.ContactName.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ContactName.FullName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.FirstName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.LastName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.MiddleName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Title":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.PhoneExt":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.ContainsField":{"type":"array","required":false,"description":"See [/common/lists/80](/common/lists/80)","location":"query","items":"integer"},"Contact.Location.LocationId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.Address1":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Address2":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.City":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.State":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.Location.PostalCode":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"Contact.Location.Country":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Latitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Longitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.TollFree":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.LocationName":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Description":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.DunsNumber":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CategoryType":{"type":"array","required":false,"description":"2-Headquarters, 999-Any","location":"query","items":"integer"},"Contact.Role":{"type":"array","required":false,"description":"See [/common/lists/75](/common/lists/75)","location":"query","items":"integer"},"Contact.Keyword":{"type":"string","required":false,"description":"","location":"query"},"Contact.Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"Contact.KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"Contact.KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"Contact.SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"Contact.SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"Contact.PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Contact.Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"Contact.QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"Contact.CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"},"DistanceMiles":{"type":"number","required":false,"description":"Distance in miles from coordinates. Set GeographyPolygon to one coordinate.","location":"query"},"GeographyPolygon":{"type":"string","required":false,"description":"Coordinates. E.g. -122.031577 47.578581,-122.031577 47.678581,-122.131577 47.678581,-122.031577 47.578581","location":"query"},"Folder":{"type":"array","required":false,"description":"Authenticated user's folder IDs. See [/common/lists/5000](/common/lists/5000)","location":"query","items":"integer"},"Keyword":{"type":"string","required":false,"description":"","location":"query"},"Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"}},"response_format":"json","category":"Data Retrieval"} */
|
|
5121
5062
|
async companiesList(params, options) {
|
|
5122
5063
|
const startTime = Date.now();
|
|
5123
5064
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -6065,7 +6006,6 @@ export class ConstructionwireClient {
|
|
|
6065
6006
|
throw new Error(`Failed to execute companies_list: ${error instanceof Error ? error.message : String(error)}`);
|
|
6066
6007
|
}
|
|
6067
6008
|
}
|
|
6068
|
-
/* DEBUG: endpoint={"name":"companies_get","method":"GET","path":"/2.0/companies/{companyId}","description":"Get a Company","parameters":{"companyId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"Company Directory"} */
|
|
6069
6009
|
async companiesGet(params, options) {
|
|
6070
6010
|
const startTime = Date.now();
|
|
6071
6011
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -6183,7 +6123,6 @@ export class ConstructionwireClient {
|
|
|
6183
6123
|
throw new Error(`Failed to execute companies_get: ${error instanceof Error ? error.message : String(error)}`);
|
|
6184
6124
|
}
|
|
6185
6125
|
}
|
|
6186
|
-
/* DEBUG: endpoint={"name":"companies_locations","method":"GET","path":"/2.0/companies/{companyId}/locations","description":"List Company Locations","parameters":{"companyId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"Company Directory"} */
|
|
6187
6126
|
async companiesLocations(params, options) {
|
|
6188
6127
|
const startTime = Date.now();
|
|
6189
6128
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -6301,7 +6240,6 @@ export class ConstructionwireClient {
|
|
|
6301
6240
|
throw new Error(`Failed to execute companies_locations: ${error instanceof Error ? error.message : String(error)}`);
|
|
6302
6241
|
}
|
|
6303
6242
|
}
|
|
6304
|
-
/* DEBUG: endpoint={"name":"companies_location","method":"GET","path":"/2.0/companies/{companyId}/locations/{locationId}","description":"Get a Company Location","parameters":{"locationId":{"type":"integer","required":true,"description":"","location":"path"},"companyId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"Company Directory"} */
|
|
6305
6243
|
async companiesLocation(params, options) {
|
|
6306
6244
|
const startTime = Date.now();
|
|
6307
6245
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -6419,7 +6357,6 @@ export class ConstructionwireClient {
|
|
|
6419
6357
|
throw new Error(`Failed to execute companies_location: ${error instanceof Error ? error.message : String(error)}`);
|
|
6420
6358
|
}
|
|
6421
6359
|
}
|
|
6422
|
-
/* DEBUG: endpoint={"name":"companies_people","method":"GET","path":"/2.0/companies/{companyId}/people","description":"List Company's People","parameters":{"companyId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"Company Directory"} */
|
|
6423
6360
|
async companiesPeople(params, options) {
|
|
6424
6361
|
const startTime = Date.now();
|
|
6425
6362
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -6537,7 +6474,6 @@ export class ConstructionwireClient {
|
|
|
6537
6474
|
throw new Error(`Failed to execute companies_people: ${error instanceof Error ? error.message : String(error)}`);
|
|
6538
6475
|
}
|
|
6539
6476
|
}
|
|
6540
|
-
/* DEBUG: endpoint={"name":"companies_projects","method":"GET","path":"/2.0/companies/{companyId}/projectactivities","description":"List Company's Project Activities","parameters":{"companyId":{"type":"integer","required":true,"description":"","location":"path"},"reportTypeId":{"type":"integer","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query"}},"response_format":"json","category":"Project Intelligence"} */
|
|
6541
6477
|
async companiesProjects(params, options) {
|
|
6542
6478
|
const startTime = Date.now();
|
|
6543
6479
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -6659,7 +6595,6 @@ export class ConstructionwireClient {
|
|
|
6659
6595
|
throw new Error(`Failed to execute companies_projects: ${error instanceof Error ? error.message : String(error)}`);
|
|
6660
6596
|
}
|
|
6661
6597
|
}
|
|
6662
|
-
/* DEBUG: endpoint={"name":"companies_relationships","method":"GET","path":"/2.0/companies/{companyId}/relationships","description":"List Company's Relationships","parameters":{"companyId":{"type":"integer","required":true,"description":"","location":"path"},"reportTypeId":{"type":"integer","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query"}},"response_format":"json","category":"Company Directory"} */
|
|
6663
6598
|
async companiesRelationships(params, options) {
|
|
6664
6599
|
const startTime = Date.now();
|
|
6665
6600
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -6781,7 +6716,6 @@ export class ConstructionwireClient {
|
|
|
6781
6716
|
throw new Error(`Failed to execute companies_relationships: ${error instanceof Error ? error.message : String(error)}`);
|
|
6782
6717
|
}
|
|
6783
6718
|
}
|
|
6784
|
-
/* DEBUG: endpoint={"name":"companies_stats","method":"GET","path":"/2.0/companies/{companyId}/stats","description":"List Company's Stats","parameters":{"companyId":{"type":"integer","required":true,"description":"","location":"path"},"reportTypeId":{"type":"integer","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query"}},"response_format":"json","category":"Company Directory"} */
|
|
6785
6719
|
async companiesStats(params, options) {
|
|
6786
6720
|
const startTime = Date.now();
|
|
6787
6721
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -6903,7 +6837,6 @@ export class ConstructionwireClient {
|
|
|
6903
6837
|
throw new Error(`Failed to execute companies_stats: ${error instanceof Error ? error.message : String(error)}`);
|
|
6904
6838
|
}
|
|
6905
6839
|
}
|
|
6906
|
-
/* DEBUG: endpoint={"name":"companies_facets","method":"GET","path":"/2.0/companies/facets","description":"List Company Facets","parameters":{"facetId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"ReportId":{"type":"array","required":false,"description":"The unique identifier for the Project.","location":"query","items":"integer"},"ReportType":{"type":"array","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query","items":"integer"},"City":{"type":"string","required":false,"description":"","location":"query"},"State":{"type":"array","required":false,"description":"See [/common/lists/8](/common/lists/8)","location":"query","items":"string"},"PostalCode":{"type":"string","required":false,"description":"","location":"query"},"County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"PublishedUpdatedDateMin":{"type":"string","required":false,"description":"Published Updated Date minimum","location":"query"},"PublishedUpdatedDateMax":{"type":"string","required":false,"description":"Published Updated Date maximum","location":"query"},"PublishedUpdatedDateByDayCount":{"type":"integer","required":false,"description":"Set publishedUpdatedDateMin by subtracting some *number of days* from the current date.","location":"query"},"UpdatedDateMin":{"type":"string","required":false,"description":"Updated Date (system log date) minimum","location":"query"},"UpdatedDateMax":{"type":"string","required":false,"description":"Updated Date (system log date) maximum","location":"query"},"Sector":{"type":"array","required":false,"description":"See [/common/lists/24](/common/lists/24)","location":"query","items":"integer"},"ProjectType":{"type":"array","required":false,"description":"See [/common/lists/27](/common/lists/27)","location":"query","items":"integer"},"ProjectValue":{"type":"array","required":false,"description":"See [/common/lists/25](/common/lists/25)","location":"query","items":"number"},"ProjectSize":{"type":"array","required":false,"description":"See [/common/lists/29](/common/lists/29)","location":"query","items":"integer"},"ConstructionType":{"type":"array","required":false,"description":"See [/common/lists/28](/common/lists/28)","location":"query","items":"integer"},"ConstructionStage":{"type":"array","required":false,"description":"See [/common/lists/31](/common/lists/31)","location":"query","items":"integer"},"CommercialRealEstate":{"type":"array","required":false,"description":"Commercial Real Estate (CRE). See [/common/lists/161](/common/lists/161)","location":"query","items":"integer"},"ConstructionStartDateMin":{"type":"string","required":false,"description":"Construction Start Date minimum","location":"query"},"ConstructionStartDateMax":{"type":"string","required":false,"description":"Construction Start Date maximum","location":"query"},"ConstructionEndDateMin":{"type":"string","required":false,"description":"Construction End Date minimum","location":"query"},"ConstructionEndDateMax":{"type":"string","required":false,"description":"Construction End Date maximum","location":"query"},"ConstructionLeadValueMin":{"type":"integer","required":false,"description":"Opportunity Size minimum","location":"query"},"ConstructionLeadValueMax":{"type":"integer","required":false,"description":"Opportunity Size maximum","location":"query"},"ShoreType":{"type":"array","required":false,"description":"Onshore/Offshore. Applies to Energy and Mining. See [/common/lists/162](/common/lists/162)","location":"query","items":"integer"},"SiteAreaSizeMin":{"type":"number","required":false,"description":"Site Area Size minimum. Applies to Energy and Mining.","location":"query"},"SiteAreaSizeMax":{"type":"number","required":false,"description":"Site Area Size maximum. Applies to Energy and Mining.","location":"query"},"Grocery.Chain":{"type":"array","required":false,"description":"Grocery Chain. See [/common/lists/156](/common/lists/156)","location":"query","items":"integer"},"Grocery.ShoppingCenterName":{"type":"string","required":false,"description":"","location":"query"},"Grocery.ConstructionType":{"type":"integer","required":false,"description":"1-New, 9-Backfill","location":"query"},"Grocery.Schedule":{"type":"array","required":false,"description":"Construction Schedule. See [/common/lists/30](/common/lists/30)","location":"query","items":"integer"},"Grocery.OpeningDateMin":{"type":"string","required":false,"description":"Opening Date minimum","location":"query"},"Grocery.OpeningDateMax":{"type":"string","required":false,"description":"Opening Date maximum","location":"query"},"Grocery.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Grocery.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Grocery.AuditDateMin":{"type":"string","required":false,"description":"","location":"query"},"Grocery.AuditDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.Chain":{"type":"array","required":false,"description":"See [/common/lists/43](/common/lists/43)","location":"query","items":"integer"},"Hotel.Franchise":{"type":"array","required":false,"description":"See [/common/lists/44](/common/lists/44)","location":"query","items":"integer"},"Hotel.Scale":{"type":"array","required":false,"description":"See [/common/lists/45](/common/lists/45)","location":"query","items":"integer"},"Hotel.Amenity":{"type":"array","required":false,"description":"See [/common/lists/47](/common/lists/47)","location":"query","items":"integer"},"Hotel.RoomCount":{"type":"array","required":false,"description":"Number of rooms. See [/common/lists/48](/common/lists/48)","location":"query","items":"integer"},"Hotel.MeetingRoomSize":{"type":"array","required":false,"description":"See [/common/lists/52](/common/lists/52)","location":"query","items":"integer"},"Hotel.StarRating":{"type":"array","required":false,"description":"See [/common/lists/133](/common/lists/133)","location":"query","items":"integer"},"Hotel.PriceRateMin":{"type":"number","required":false,"description":"","location":"query"},"Hotel.PriceRateMax":{"type":"number","required":false,"description":"","location":"query"},"Hotel.MarketActivity":{"type":"array","required":false,"description":"See [/common/lists/51](/common/lists/51)","location":"query","items":"integer"},"Hotel.OpeningDateMin":{"type":"string","required":false,"description":"","location":"query"},"Hotel.OpeningDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.ParkingType":{"type":"array","required":false,"description":"Type of parking available. Applies to Hotel. See [/common/lists/33](/common/lists/33)","location":"query","items":"integer"},"Medical.FacilityType":{"type":"array","required":false,"description":"Level of Care. See [/common/lists/54](/common/lists/54)","location":"query","items":"integer"},"Medical.ClinicalSpecialty":{"type":"array","required":false,"description":"See [/common/lists/55](/common/lists/55)","location":"query","items":"integer"},"Medical.ConDateType":{"type":"integer","required":false,"description":"Type of Certification of Need. 1009-CON Application, 1010-CON Approval","location":"query"},"Medical.ConDateMin":{"type":"string","required":false,"description":"Certification of Need minimum date","location":"query"},"Medical.ConDateMax":{"type":"string","required":false,"description":"Certification of Need maximum date","location":"query"},"Medical.ConApplicationDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.ConApprovalDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.SystemName":{"type":"string","required":false,"description":"Name of Health System","location":"query"},"MultiFamily.ProjectType":{"type":"array","required":false,"description":"MultiFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"MultiFamily.ProductType":{"type":"array","required":false,"description":"Product Type. See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"MultiFamily.SeniorHousingType":{"type":"array","required":false,"description":"See [/common/lists/121](/common/lists/121)","location":"query","items":"integer"},"MultiFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. Applies to MultiFamily. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"MultiFamily.BuildingType":{"type":"array","required":false,"description":"See [/common/lists/63](/common/lists/63)","location":"query","items":"integer"},"Retail.Chain":{"type":"array","required":false,"description":"See [/common/lists/retail-chains](/common/lists/retail-chains)","location":"query","items":"integer"},"Retail.FootPrint":{"type":"array","required":false,"description":"See [/common/lists/157](/common/lists/157)","location":"query","items":"integer"},"Retail.DevelopmentType":{"type":"array","required":false,"description":"See [/common/lists/158](/common/lists/158)","location":"query","items":"integer"},"Retail.ChainCompanyName":{"type":"string","required":false,"description":"","location":"query"},"SingleFamily.Acreage":{"type":"array","required":false,"description":"See [/common/lists/149](/common/lists/149)","location":"query","items":"integer"},"SingleFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"SingleFamily.Price":{"type":"array","required":false,"description":"See [/common/lists/150](/common/lists/150)","location":"query","items":"number"},"SingleFamily.Amenity":{"type":"array","required":false,"description":"See [/common/lists/152](/common/lists/152)","location":"query","items":"integer"},"SingleFamily.ProjectType":{"type":"array","required":false,"description":"SingleFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"SingleFamily.ProductType":{"type":"array","required":false,"description":"See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"Energy.PowerOutput":{"type":"array","required":false,"description":"Power output in megawatts (MW). See [/common/lists/163](/common/lists/163)","location":"query","items":"number"},"Energy.PowerGrid":{"type":"array","required":false,"description":"North American power transmission grid/interconnection. See [/common/lists/164](/common/lists/164)","location":"query","items":"integer"},"Energy.WindTurbineCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.WindTurbineCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.PowerOutputMin":{"type":"number","required":false,"description":"Power Output (MW) minimum","location":"query"},"Energy.PowerOutputMax":{"type":"number","required":false,"description":"Power Output (MW) maximum","location":"query"},"Energy.QueueNumber":{"type":"string","required":false,"description":"","location":"query"},"Energy.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Energy.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Infrastructure.RequestType":{"type":"array","required":false,"description":"See [/common/lists/170](/common/lists/170)","location":"query","items":"integer"},"Infrastructure.FundingType":{"type":"array","required":false,"description":"See [/common/lists/171](/common/lists/171)","location":"query","items":"integer"},"Infrastructure.MaterialType":{"type":"array","required":false,"description":"See [/common/lists/172](/common/lists/172)","location":"query","items":"integer"},"Infrastructure.Category":{"type":"array","required":false,"description":"See [/common/lists/173](/common/lists/173)","location":"query","items":"integer"},"Infrastructure.DocumentFeeMin":{"type":"number","required":false,"description":"Document Fee minimum","location":"query"},"Infrastructure.DocumentFeeMax":{"type":"number","required":false,"description":"Document Fee maximum","location":"query"},"Mining.Resource":{"type":"array","required":false,"description":"See [/common/lists/166](/common/lists/166)","location":"query","items":"integer"},"Mining.MiningType":{"type":"array","required":false,"description":"See [/common/lists/167](/common/lists/167)","location":"query","items":"integer"},"Mining.Stage":{"type":"array","required":false,"description":"See [/common/lists/168](/common/lists/168)","location":"query","items":"integer"},"Contact.ContactId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.LocationId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.NameId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ParentObjectId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.Company.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Company.Name":{"type":"string","required":false,"description":"","location":"query"},"Contact.Company.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.NameId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.ContactName.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ContactName.FullName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.FirstName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.LastName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.MiddleName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Title":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.PhoneExt":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.ContainsField":{"type":"array","required":false,"description":"See [/common/lists/80](/common/lists/80)","location":"query","items":"integer"},"Contact.Location.LocationId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.Address1":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Address2":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.City":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.State":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.Location.PostalCode":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"Contact.Location.Country":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Latitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Longitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.TollFree":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.LocationName":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Description":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.DunsNumber":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CategoryType":{"type":"array","required":false,"description":"2-Headquarters, 999-Any","location":"query","items":"integer"},"Contact.Role":{"type":"array","required":false,"description":"See [/common/lists/75](/common/lists/75)","location":"query","items":"integer"},"Contact.Keyword":{"type":"string","required":false,"description":"","location":"query"},"Contact.Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"Contact.KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"Contact.KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"Contact.SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"Contact.SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"Contact.PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Contact.Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"Contact.QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"Contact.CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"},"DistanceMiles":{"type":"number","required":false,"description":"Distance in miles from coordinates. Set GeographyPolygon to one coordinate.","location":"query"},"GeographyPolygon":{"type":"string","required":false,"description":"Coordinates. E.g. -122.031577 47.578581,-122.031577 47.678581,-122.131577 47.678581,-122.031577 47.578581","location":"query"},"Folder":{"type":"array","required":false,"description":"Authenticated user's folder IDs. See [/common/lists/5000](/common/lists/5000)","location":"query","items":"integer"},"Keyword":{"type":"string","required":false,"description":"","location":"query"},"Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"}},"response_format":"json","category":"Company Directory"} */
|
|
6907
6840
|
async companiesFacets(params, options) {
|
|
6908
6841
|
const startTime = Date.now();
|
|
6909
6842
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -7858,7 +7791,6 @@ export class ConstructionwireClient {
|
|
|
7858
7791
|
throw new Error(`Failed to execute companies_facets: ${error instanceof Error ? error.message : String(error)}`);
|
|
7859
7792
|
}
|
|
7860
7793
|
}
|
|
7861
|
-
/* DEBUG: endpoint={"name":"companies_following","method":"GET","path":"/2.0/companies/followings","description":"List Company Followings","parameters":{"ReportId":{"type":"array","required":false,"description":"The unique identifier for the Project.","location":"query","items":"integer"},"ReportType":{"type":"array","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query","items":"integer"},"City":{"type":"string","required":false,"description":"","location":"query"},"State":{"type":"array","required":false,"description":"See [/common/lists/8](/common/lists/8)","location":"query","items":"string"},"PostalCode":{"type":"string","required":false,"description":"","location":"query"},"County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"PublishedUpdatedDateMin":{"type":"string","required":false,"description":"Published Updated Date minimum","location":"query"},"PublishedUpdatedDateMax":{"type":"string","required":false,"description":"Published Updated Date maximum","location":"query"},"PublishedUpdatedDateByDayCount":{"type":"integer","required":false,"description":"Set publishedUpdatedDateMin by subtracting some *number of days* from the current date.","location":"query"},"UpdatedDateMin":{"type":"string","required":false,"description":"Updated Date (system log date) minimum","location":"query"},"UpdatedDateMax":{"type":"string","required":false,"description":"Updated Date (system log date) maximum","location":"query"},"Sector":{"type":"array","required":false,"description":"See [/common/lists/24](/common/lists/24)","location":"query","items":"integer"},"ProjectType":{"type":"array","required":false,"description":"See [/common/lists/27](/common/lists/27)","location":"query","items":"integer"},"ProjectValue":{"type":"array","required":false,"description":"See [/common/lists/25](/common/lists/25)","location":"query","items":"number"},"ProjectSize":{"type":"array","required":false,"description":"See [/common/lists/29](/common/lists/29)","location":"query","items":"integer"},"ConstructionType":{"type":"array","required":false,"description":"See [/common/lists/28](/common/lists/28)","location":"query","items":"integer"},"ConstructionStage":{"type":"array","required":false,"description":"See [/common/lists/31](/common/lists/31)","location":"query","items":"integer"},"CommercialRealEstate":{"type":"array","required":false,"description":"Commercial Real Estate (CRE). See [/common/lists/161](/common/lists/161)","location":"query","items":"integer"},"ConstructionStartDateMin":{"type":"string","required":false,"description":"Construction Start Date minimum","location":"query"},"ConstructionStartDateMax":{"type":"string","required":false,"description":"Construction Start Date maximum","location":"query"},"ConstructionEndDateMin":{"type":"string","required":false,"description":"Construction End Date minimum","location":"query"},"ConstructionEndDateMax":{"type":"string","required":false,"description":"Construction End Date maximum","location":"query"},"ConstructionLeadValueMin":{"type":"integer","required":false,"description":"Opportunity Size minimum","location":"query"},"ConstructionLeadValueMax":{"type":"integer","required":false,"description":"Opportunity Size maximum","location":"query"},"ShoreType":{"type":"array","required":false,"description":"Onshore/Offshore. Applies to Energy and Mining. See [/common/lists/162](/common/lists/162)","location":"query","items":"integer"},"SiteAreaSizeMin":{"type":"number","required":false,"description":"Site Area Size minimum. Applies to Energy and Mining.","location":"query"},"SiteAreaSizeMax":{"type":"number","required":false,"description":"Site Area Size maximum. Applies to Energy and Mining.","location":"query"},"Grocery.Chain":{"type":"array","required":false,"description":"Grocery Chain. See [/common/lists/156](/common/lists/156)","location":"query","items":"integer"},"Grocery.ShoppingCenterName":{"type":"string","required":false,"description":"","location":"query"},"Grocery.ConstructionType":{"type":"integer","required":false,"description":"1-New, 9-Backfill","location":"query"},"Grocery.Schedule":{"type":"array","required":false,"description":"Construction Schedule. See [/common/lists/30](/common/lists/30)","location":"query","items":"integer"},"Grocery.OpeningDateMin":{"type":"string","required":false,"description":"Opening Date minimum","location":"query"},"Grocery.OpeningDateMax":{"type":"string","required":false,"description":"Opening Date maximum","location":"query"},"Grocery.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Grocery.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Grocery.AuditDateMin":{"type":"string","required":false,"description":"","location":"query"},"Grocery.AuditDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.Chain":{"type":"array","required":false,"description":"See [/common/lists/43](/common/lists/43)","location":"query","items":"integer"},"Hotel.Franchise":{"type":"array","required":false,"description":"See [/common/lists/44](/common/lists/44)","location":"query","items":"integer"},"Hotel.Scale":{"type":"array","required":false,"description":"See [/common/lists/45](/common/lists/45)","location":"query","items":"integer"},"Hotel.Amenity":{"type":"array","required":false,"description":"See [/common/lists/47](/common/lists/47)","location":"query","items":"integer"},"Hotel.RoomCount":{"type":"array","required":false,"description":"Number of rooms. See [/common/lists/48](/common/lists/48)","location":"query","items":"integer"},"Hotel.MeetingRoomSize":{"type":"array","required":false,"description":"See [/common/lists/52](/common/lists/52)","location":"query","items":"integer"},"Hotel.StarRating":{"type":"array","required":false,"description":"See [/common/lists/133](/common/lists/133)","location":"query","items":"integer"},"Hotel.PriceRateMin":{"type":"number","required":false,"description":"","location":"query"},"Hotel.PriceRateMax":{"type":"number","required":false,"description":"","location":"query"},"Hotel.MarketActivity":{"type":"array","required":false,"description":"See [/common/lists/51](/common/lists/51)","location":"query","items":"integer"},"Hotel.OpeningDateMin":{"type":"string","required":false,"description":"","location":"query"},"Hotel.OpeningDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.ParkingType":{"type":"array","required":false,"description":"Type of parking available. Applies to Hotel. See [/common/lists/33](/common/lists/33)","location":"query","items":"integer"},"Medical.FacilityType":{"type":"array","required":false,"description":"Level of Care. See [/common/lists/54](/common/lists/54)","location":"query","items":"integer"},"Medical.ClinicalSpecialty":{"type":"array","required":false,"description":"See [/common/lists/55](/common/lists/55)","location":"query","items":"integer"},"Medical.ConDateType":{"type":"integer","required":false,"description":"Type of Certification of Need. 1009-CON Application, 1010-CON Approval","location":"query"},"Medical.ConDateMin":{"type":"string","required":false,"description":"Certification of Need minimum date","location":"query"},"Medical.ConDateMax":{"type":"string","required":false,"description":"Certification of Need maximum date","location":"query"},"Medical.ConApplicationDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.ConApprovalDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.SystemName":{"type":"string","required":false,"description":"Name of Health System","location":"query"},"MultiFamily.ProjectType":{"type":"array","required":false,"description":"MultiFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"MultiFamily.ProductType":{"type":"array","required":false,"description":"Product Type. See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"MultiFamily.SeniorHousingType":{"type":"array","required":false,"description":"See [/common/lists/121](/common/lists/121)","location":"query","items":"integer"},"MultiFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. Applies to MultiFamily. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"MultiFamily.BuildingType":{"type":"array","required":false,"description":"See [/common/lists/63](/common/lists/63)","location":"query","items":"integer"},"Retail.Chain":{"type":"array","required":false,"description":"See [/common/lists/retail-chains](/common/lists/retail-chains)","location":"query","items":"integer"},"Retail.FootPrint":{"type":"array","required":false,"description":"See [/common/lists/157](/common/lists/157)","location":"query","items":"integer"},"Retail.DevelopmentType":{"type":"array","required":false,"description":"See [/common/lists/158](/common/lists/158)","location":"query","items":"integer"},"Retail.ChainCompanyName":{"type":"string","required":false,"description":"","location":"query"},"SingleFamily.Acreage":{"type":"array","required":false,"description":"See [/common/lists/149](/common/lists/149)","location":"query","items":"integer"},"SingleFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"SingleFamily.Price":{"type":"array","required":false,"description":"See [/common/lists/150](/common/lists/150)","location":"query","items":"number"},"SingleFamily.Amenity":{"type":"array","required":false,"description":"See [/common/lists/152](/common/lists/152)","location":"query","items":"integer"},"SingleFamily.ProjectType":{"type":"array","required":false,"description":"SingleFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"SingleFamily.ProductType":{"type":"array","required":false,"description":"See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"Energy.PowerOutput":{"type":"array","required":false,"description":"Power output in megawatts (MW). See [/common/lists/163](/common/lists/163)","location":"query","items":"number"},"Energy.PowerGrid":{"type":"array","required":false,"description":"North American power transmission grid/interconnection. See [/common/lists/164](/common/lists/164)","location":"query","items":"integer"},"Energy.WindTurbineCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.WindTurbineCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.PowerOutputMin":{"type":"number","required":false,"description":"Power Output (MW) minimum","location":"query"},"Energy.PowerOutputMax":{"type":"number","required":false,"description":"Power Output (MW) maximum","location":"query"},"Energy.QueueNumber":{"type":"string","required":false,"description":"","location":"query"},"Energy.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Energy.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Infrastructure.RequestType":{"type":"array","required":false,"description":"See [/common/lists/170](/common/lists/170)","location":"query","items":"integer"},"Infrastructure.FundingType":{"type":"array","required":false,"description":"See [/common/lists/171](/common/lists/171)","location":"query","items":"integer"},"Infrastructure.MaterialType":{"type":"array","required":false,"description":"See [/common/lists/172](/common/lists/172)","location":"query","items":"integer"},"Infrastructure.Category":{"type":"array","required":false,"description":"See [/common/lists/173](/common/lists/173)","location":"query","items":"integer"},"Infrastructure.DocumentFeeMin":{"type":"number","required":false,"description":"Document Fee minimum","location":"query"},"Infrastructure.DocumentFeeMax":{"type":"number","required":false,"description":"Document Fee maximum","location":"query"},"Mining.Resource":{"type":"array","required":false,"description":"See [/common/lists/166](/common/lists/166)","location":"query","items":"integer"},"Mining.MiningType":{"type":"array","required":false,"description":"See [/common/lists/167](/common/lists/167)","location":"query","items":"integer"},"Mining.Stage":{"type":"array","required":false,"description":"See [/common/lists/168](/common/lists/168)","location":"query","items":"integer"},"Contact.ContactId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.LocationId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.NameId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ParentObjectId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.Company.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Company.Name":{"type":"string","required":false,"description":"","location":"query"},"Contact.Company.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.NameId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.ContactName.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ContactName.FullName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.FirstName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.LastName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.MiddleName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Title":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.PhoneExt":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.ContainsField":{"type":"array","required":false,"description":"See [/common/lists/80](/common/lists/80)","location":"query","items":"integer"},"Contact.Location.LocationId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.Address1":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Address2":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.City":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.State":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.Location.PostalCode":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"Contact.Location.Country":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Latitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Longitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.TollFree":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.LocationName":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Description":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.DunsNumber":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CategoryType":{"type":"array","required":false,"description":"2-Headquarters, 999-Any","location":"query","items":"integer"},"Contact.Role":{"type":"array","required":false,"description":"See [/common/lists/75](/common/lists/75)","location":"query","items":"integer"},"Contact.Keyword":{"type":"string","required":false,"description":"","location":"query"},"Contact.Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"Contact.KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"Contact.KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"Contact.SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"Contact.SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"Contact.PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Contact.Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"Contact.QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"Contact.CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"},"DistanceMiles":{"type":"number","required":false,"description":"Distance in miles from coordinates. Set GeographyPolygon to one coordinate.","location":"query"},"GeographyPolygon":{"type":"string","required":false,"description":"Coordinates. E.g. -122.031577 47.578581,-122.031577 47.678581,-122.131577 47.678581,-122.031577 47.578581","location":"query"},"Folder":{"type":"array","required":false,"description":"Authenticated user's folder IDs. See [/common/lists/5000](/common/lists/5000)","location":"query","items":"integer"},"Keyword":{"type":"string","required":false,"description":"","location":"query"},"Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"}},"response_format":"json","category":"Company Directory"} */
|
|
7862
7794
|
async companiesFollowing(params, options) {
|
|
7863
7795
|
const startTime = Date.now();
|
|
7864
7796
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -8806,7 +8738,6 @@ export class ConstructionwireClient {
|
|
|
8806
8738
|
throw new Error(`Failed to execute companies_following: ${error instanceof Error ? error.message : String(error)}`);
|
|
8807
8739
|
}
|
|
8808
8740
|
}
|
|
8809
|
-
/* DEBUG: endpoint={"name":"companies_follow","method":"POST","path":"/2.0/companies/followings","description":"Create a Company Following","parameters":{"folderId":{"type":"integer","required":true,"description":"","location":"path"},"typeId":{"type":"integer","required":false,"description":"","location":"query"},"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Company Directory"} */
|
|
8810
8741
|
async companiesFollow(params, options) {
|
|
8811
8742
|
const startTime = Date.now();
|
|
8812
8743
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -8932,7 +8863,6 @@ export class ConstructionwireClient {
|
|
|
8932
8863
|
throw new Error(`Failed to execute companies_follow: ${error instanceof Error ? error.message : String(error)}`);
|
|
8933
8864
|
}
|
|
8934
8865
|
}
|
|
8935
|
-
/* DEBUG: endpoint={"name":"companies_unfollow","method":"DELETE","path":"/2.0/companies/followings","description":"Delete a Company Following","parameters":{"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Company Directory"} */
|
|
8936
8866
|
async companiesUnfollow(params, options) {
|
|
8937
8867
|
const startTime = Date.now();
|
|
8938
8868
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -9054,7 +8984,6 @@ export class ConstructionwireClient {
|
|
|
9054
8984
|
throw new Error(`Failed to execute companies_unfollow: ${error instanceof Error ? error.message : String(error)}`);
|
|
9055
8985
|
}
|
|
9056
8986
|
}
|
|
9057
|
-
/* DEBUG: endpoint={"name":"companies_all_locations","method":"GET","path":"/2.0/companies/locations","description":"List Locations of multiple Companies","parameters":{"companyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"}},"response_format":"json","category":"Data Retrieval"} */
|
|
9058
8987
|
async companiesAllLocations(params, options) {
|
|
9059
8988
|
const startTime = Date.now();
|
|
9060
8989
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -9179,7 +9108,6 @@ export class ConstructionwireClient {
|
|
|
9179
9108
|
throw new Error(`Failed to execute companies_all_locations: ${error instanceof Error ? error.message : String(error)}`);
|
|
9180
9109
|
}
|
|
9181
9110
|
}
|
|
9182
|
-
/* DEBUG: endpoint={"name":"people_list","method":"GET","path":"/2.0/people","description":"List People","parameters":{"ReportId":{"type":"array","required":false,"description":"The unique identifier for the Project.","location":"query","items":"integer"},"ReportType":{"type":"array","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query","items":"integer"},"City":{"type":"string","required":false,"description":"","location":"query"},"State":{"type":"array","required":false,"description":"See [/common/lists/8](/common/lists/8)","location":"query","items":"string"},"PostalCode":{"type":"string","required":false,"description":"","location":"query"},"County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"PublishedUpdatedDateMin":{"type":"string","required":false,"description":"Published Updated Date minimum","location":"query"},"PublishedUpdatedDateMax":{"type":"string","required":false,"description":"Published Updated Date maximum","location":"query"},"PublishedUpdatedDateByDayCount":{"type":"integer","required":false,"description":"Set publishedUpdatedDateMin by subtracting some *number of days* from the current date.","location":"query"},"UpdatedDateMin":{"type":"string","required":false,"description":"Updated Date (system log date) minimum","location":"query"},"UpdatedDateMax":{"type":"string","required":false,"description":"Updated Date (system log date) maximum","location":"query"},"Sector":{"type":"array","required":false,"description":"See [/common/lists/24](/common/lists/24)","location":"query","items":"integer"},"ProjectType":{"type":"array","required":false,"description":"See [/common/lists/27](/common/lists/27)","location":"query","items":"integer"},"ProjectValue":{"type":"array","required":false,"description":"See [/common/lists/25](/common/lists/25)","location":"query","items":"number"},"ProjectSize":{"type":"array","required":false,"description":"See [/common/lists/29](/common/lists/29)","location":"query","items":"integer"},"ConstructionType":{"type":"array","required":false,"description":"See [/common/lists/28](/common/lists/28)","location":"query","items":"integer"},"ConstructionStage":{"type":"array","required":false,"description":"See [/common/lists/31](/common/lists/31)","location":"query","items":"integer"},"CommercialRealEstate":{"type":"array","required":false,"description":"Commercial Real Estate (CRE). See [/common/lists/161](/common/lists/161)","location":"query","items":"integer"},"ConstructionStartDateMin":{"type":"string","required":false,"description":"Construction Start Date minimum","location":"query"},"ConstructionStartDateMax":{"type":"string","required":false,"description":"Construction Start Date maximum","location":"query"},"ConstructionEndDateMin":{"type":"string","required":false,"description":"Construction End Date minimum","location":"query"},"ConstructionEndDateMax":{"type":"string","required":false,"description":"Construction End Date maximum","location":"query"},"ConstructionLeadValueMin":{"type":"integer","required":false,"description":"Opportunity Size minimum","location":"query"},"ConstructionLeadValueMax":{"type":"integer","required":false,"description":"Opportunity Size maximum","location":"query"},"ShoreType":{"type":"array","required":false,"description":"Onshore/Offshore. Applies to Energy and Mining. See [/common/lists/162](/common/lists/162)","location":"query","items":"integer"},"SiteAreaSizeMin":{"type":"number","required":false,"description":"Site Area Size minimum. Applies to Energy and Mining.","location":"query"},"SiteAreaSizeMax":{"type":"number","required":false,"description":"Site Area Size maximum. Applies to Energy and Mining.","location":"query"},"Grocery.Chain":{"type":"array","required":false,"description":"Grocery Chain. See [/common/lists/156](/common/lists/156)","location":"query","items":"integer"},"Grocery.ShoppingCenterName":{"type":"string","required":false,"description":"","location":"query"},"Grocery.ConstructionType":{"type":"integer","required":false,"description":"1-New, 9-Backfill","location":"query"},"Grocery.Schedule":{"type":"array","required":false,"description":"Construction Schedule. See [/common/lists/30](/common/lists/30)","location":"query","items":"integer"},"Grocery.OpeningDateMin":{"type":"string","required":false,"description":"Opening Date minimum","location":"query"},"Grocery.OpeningDateMax":{"type":"string","required":false,"description":"Opening Date maximum","location":"query"},"Grocery.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Grocery.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Grocery.AuditDateMin":{"type":"string","required":false,"description":"","location":"query"},"Grocery.AuditDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.Chain":{"type":"array","required":false,"description":"See [/common/lists/43](/common/lists/43)","location":"query","items":"integer"},"Hotel.Franchise":{"type":"array","required":false,"description":"See [/common/lists/44](/common/lists/44)","location":"query","items":"integer"},"Hotel.Scale":{"type":"array","required":false,"description":"See [/common/lists/45](/common/lists/45)","location":"query","items":"integer"},"Hotel.Amenity":{"type":"array","required":false,"description":"See [/common/lists/47](/common/lists/47)","location":"query","items":"integer"},"Hotel.RoomCount":{"type":"array","required":false,"description":"Number of rooms. See [/common/lists/48](/common/lists/48)","location":"query","items":"integer"},"Hotel.MeetingRoomSize":{"type":"array","required":false,"description":"See [/common/lists/52](/common/lists/52)","location":"query","items":"integer"},"Hotel.StarRating":{"type":"array","required":false,"description":"See [/common/lists/133](/common/lists/133)","location":"query","items":"integer"},"Hotel.PriceRateMin":{"type":"number","required":false,"description":"","location":"query"},"Hotel.PriceRateMax":{"type":"number","required":false,"description":"","location":"query"},"Hotel.MarketActivity":{"type":"array","required":false,"description":"See [/common/lists/51](/common/lists/51)","location":"query","items":"integer"},"Hotel.OpeningDateMin":{"type":"string","required":false,"description":"","location":"query"},"Hotel.OpeningDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.ParkingType":{"type":"array","required":false,"description":"Type of parking available. Applies to Hotel. See [/common/lists/33](/common/lists/33)","location":"query","items":"integer"},"Medical.FacilityType":{"type":"array","required":false,"description":"Level of Care. See [/common/lists/54](/common/lists/54)","location":"query","items":"integer"},"Medical.ClinicalSpecialty":{"type":"array","required":false,"description":"See [/common/lists/55](/common/lists/55)","location":"query","items":"integer"},"Medical.ConDateType":{"type":"integer","required":false,"description":"Type of Certification of Need. 1009-CON Application, 1010-CON Approval","location":"query"},"Medical.ConDateMin":{"type":"string","required":false,"description":"Certification of Need minimum date","location":"query"},"Medical.ConDateMax":{"type":"string","required":false,"description":"Certification of Need maximum date","location":"query"},"Medical.ConApplicationDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.ConApprovalDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.SystemName":{"type":"string","required":false,"description":"Name of Health System","location":"query"},"MultiFamily.ProjectType":{"type":"array","required":false,"description":"MultiFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"MultiFamily.ProductType":{"type":"array","required":false,"description":"Product Type. See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"MultiFamily.SeniorHousingType":{"type":"array","required":false,"description":"See [/common/lists/121](/common/lists/121)","location":"query","items":"integer"},"MultiFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. Applies to MultiFamily. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"MultiFamily.BuildingType":{"type":"array","required":false,"description":"See [/common/lists/63](/common/lists/63)","location":"query","items":"integer"},"Retail.Chain":{"type":"array","required":false,"description":"See [/common/lists/retail-chains](/common/lists/retail-chains)","location":"query","items":"integer"},"Retail.FootPrint":{"type":"array","required":false,"description":"See [/common/lists/157](/common/lists/157)","location":"query","items":"integer"},"Retail.DevelopmentType":{"type":"array","required":false,"description":"See [/common/lists/158](/common/lists/158)","location":"query","items":"integer"},"Retail.ChainCompanyName":{"type":"string","required":false,"description":"","location":"query"},"SingleFamily.Acreage":{"type":"array","required":false,"description":"See [/common/lists/149](/common/lists/149)","location":"query","items":"integer"},"SingleFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"SingleFamily.Price":{"type":"array","required":false,"description":"See [/common/lists/150](/common/lists/150)","location":"query","items":"number"},"SingleFamily.Amenity":{"type":"array","required":false,"description":"See [/common/lists/152](/common/lists/152)","location":"query","items":"integer"},"SingleFamily.ProjectType":{"type":"array","required":false,"description":"SingleFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"SingleFamily.ProductType":{"type":"array","required":false,"description":"See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"Energy.PowerOutput":{"type":"array","required":false,"description":"Power output in megawatts (MW). See [/common/lists/163](/common/lists/163)","location":"query","items":"number"},"Energy.PowerGrid":{"type":"array","required":false,"description":"North American power transmission grid/interconnection. See [/common/lists/164](/common/lists/164)","location":"query","items":"integer"},"Energy.WindTurbineCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.WindTurbineCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.PowerOutputMin":{"type":"number","required":false,"description":"Power Output (MW) minimum","location":"query"},"Energy.PowerOutputMax":{"type":"number","required":false,"description":"Power Output (MW) maximum","location":"query"},"Energy.QueueNumber":{"type":"string","required":false,"description":"","location":"query"},"Energy.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Energy.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Infrastructure.RequestType":{"type":"array","required":false,"description":"See [/common/lists/170](/common/lists/170)","location":"query","items":"integer"},"Infrastructure.FundingType":{"type":"array","required":false,"description":"See [/common/lists/171](/common/lists/171)","location":"query","items":"integer"},"Infrastructure.MaterialType":{"type":"array","required":false,"description":"See [/common/lists/172](/common/lists/172)","location":"query","items":"integer"},"Infrastructure.Category":{"type":"array","required":false,"description":"See [/common/lists/173](/common/lists/173)","location":"query","items":"integer"},"Infrastructure.DocumentFeeMin":{"type":"number","required":false,"description":"Document Fee minimum","location":"query"},"Infrastructure.DocumentFeeMax":{"type":"number","required":false,"description":"Document Fee maximum","location":"query"},"Mining.Resource":{"type":"array","required":false,"description":"See [/common/lists/166](/common/lists/166)","location":"query","items":"integer"},"Mining.MiningType":{"type":"array","required":false,"description":"See [/common/lists/167](/common/lists/167)","location":"query","items":"integer"},"Mining.Stage":{"type":"array","required":false,"description":"See [/common/lists/168](/common/lists/168)","location":"query","items":"integer"},"Contact.ContactId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.LocationId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.NameId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ParentObjectId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.Company.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Company.Name":{"type":"string","required":false,"description":"","location":"query"},"Contact.Company.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.NameId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.ContactName.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ContactName.FullName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.FirstName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.LastName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.MiddleName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Title":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.PhoneExt":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.ContainsField":{"type":"array","required":false,"description":"See [/common/lists/80](/common/lists/80)","location":"query","items":"integer"},"Contact.Location.LocationId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.Address1":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Address2":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.City":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.State":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.Location.PostalCode":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"Contact.Location.Country":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Latitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Longitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.TollFree":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.LocationName":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Description":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.DunsNumber":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CategoryType":{"type":"array","required":false,"description":"2-Headquarters, 999-Any","location":"query","items":"integer"},"Contact.Role":{"type":"array","required":false,"description":"See [/common/lists/75](/common/lists/75)","location":"query","items":"integer"},"Contact.Keyword":{"type":"string","required":false,"description":"","location":"query"},"Contact.Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"Contact.KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"Contact.KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"Contact.SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"Contact.SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"Contact.PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Contact.Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"Contact.QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"Contact.CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"},"DistanceMiles":{"type":"number","required":false,"description":"Distance in miles from coordinates. Set GeographyPolygon to one coordinate.","location":"query"},"GeographyPolygon":{"type":"string","required":false,"description":"Coordinates. E.g. -122.031577 47.578581,-122.031577 47.678581,-122.131577 47.678581,-122.031577 47.578581","location":"query"},"Folder":{"type":"array","required":false,"description":"Authenticated user's folder IDs. See [/common/lists/5000](/common/lists/5000)","location":"query","items":"integer"},"Keyword":{"type":"string","required":false,"description":"","location":"query"},"Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"},"includeBuildingReport":{"type":"boolean","required":false,"description":"Include construction project information with the search results.","location":"query"}},"response_format":"json","category":"Contact Management"} */
|
|
9183
9111
|
async peopleList(params, options) {
|
|
9184
9112
|
const startTime = Date.now();
|
|
9185
9113
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -10131,7 +10059,6 @@ export class ConstructionwireClient {
|
|
|
10131
10059
|
throw new Error(`Failed to execute people_list: ${error instanceof Error ? error.message : String(error)}`);
|
|
10132
10060
|
}
|
|
10133
10061
|
}
|
|
10134
|
-
/* DEBUG: endpoint={"name":"people_get","method":"GET","path":"/2.0/people/{nameId}","description":"Get a Person","parameters":{"nameId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"Contact Management"} */
|
|
10135
10062
|
async peopleGet(params, options) {
|
|
10136
10063
|
const startTime = Date.now();
|
|
10137
10064
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -10249,7 +10176,6 @@ export class ConstructionwireClient {
|
|
|
10249
10176
|
throw new Error(`Failed to execute people_get: ${error instanceof Error ? error.message : String(error)}`);
|
|
10250
10177
|
}
|
|
10251
10178
|
}
|
|
10252
|
-
/* DEBUG: endpoint={"name":"people_projects","method":"GET","path":"/2.0/people/{nameId}/projectactivities","description":"List Person's Project Activities","parameters":{"nameId":{"type":"integer","required":true,"description":"","location":"path"},"reportTypeId":{"type":"integer","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query"}},"response_format":"json","category":"Contact Management"} */
|
|
10253
10179
|
async peopleProjects(params, options) {
|
|
10254
10180
|
const startTime = Date.now();
|
|
10255
10181
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -10371,7 +10297,6 @@ export class ConstructionwireClient {
|
|
|
10371
10297
|
throw new Error(`Failed to execute people_projects: ${error instanceof Error ? error.message : String(error)}`);
|
|
10372
10298
|
}
|
|
10373
10299
|
}
|
|
10374
|
-
/* DEBUG: endpoint={"name":"people_relationships","method":"GET","path":"/2.0/people/{nameId}/relationships","description":"List Person's Relationships","parameters":{"nameId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"Contact Management"} */
|
|
10375
10300
|
async peopleRelationships(params, options) {
|
|
10376
10301
|
const startTime = Date.now();
|
|
10377
10302
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -10489,7 +10414,6 @@ export class ConstructionwireClient {
|
|
|
10489
10414
|
throw new Error(`Failed to execute people_relationships: ${error instanceof Error ? error.message : String(error)}`);
|
|
10490
10415
|
}
|
|
10491
10416
|
}
|
|
10492
|
-
/* DEBUG: endpoint={"name":"people_stats","method":"GET","path":"/2.0/people/{nameId}/stats","description":"List Person's Stats","parameters":{"nameId":{"type":"integer","required":true,"description":"","location":"path"},"reportTypeId":{"type":"integer","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query"}},"response_format":"json","category":"Contact Management"} */
|
|
10493
10417
|
async peopleStats(params, options) {
|
|
10494
10418
|
const startTime = Date.now();
|
|
10495
10419
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -10611,7 +10535,6 @@ export class ConstructionwireClient {
|
|
|
10611
10535
|
throw new Error(`Failed to execute people_stats: ${error instanceof Error ? error.message : String(error)}`);
|
|
10612
10536
|
}
|
|
10613
10537
|
}
|
|
10614
|
-
/* DEBUG: endpoint={"name":"people_facets","method":"GET","path":"/2.0/people/facets","description":"List People Facets","parameters":{"facetId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"ReportId":{"type":"array","required":false,"description":"The unique identifier for the Project.","location":"query","items":"integer"},"ReportType":{"type":"array","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query","items":"integer"},"City":{"type":"string","required":false,"description":"","location":"query"},"State":{"type":"array","required":false,"description":"See [/common/lists/8](/common/lists/8)","location":"query","items":"string"},"PostalCode":{"type":"string","required":false,"description":"","location":"query"},"County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"PublishedUpdatedDateMin":{"type":"string","required":false,"description":"Published Updated Date minimum","location":"query"},"PublishedUpdatedDateMax":{"type":"string","required":false,"description":"Published Updated Date maximum","location":"query"},"PublishedUpdatedDateByDayCount":{"type":"integer","required":false,"description":"Set publishedUpdatedDateMin by subtracting some *number of days* from the current date.","location":"query"},"UpdatedDateMin":{"type":"string","required":false,"description":"Updated Date (system log date) minimum","location":"query"},"UpdatedDateMax":{"type":"string","required":false,"description":"Updated Date (system log date) maximum","location":"query"},"Sector":{"type":"array","required":false,"description":"See [/common/lists/24](/common/lists/24)","location":"query","items":"integer"},"ProjectType":{"type":"array","required":false,"description":"See [/common/lists/27](/common/lists/27)","location":"query","items":"integer"},"ProjectValue":{"type":"array","required":false,"description":"See [/common/lists/25](/common/lists/25)","location":"query","items":"number"},"ProjectSize":{"type":"array","required":false,"description":"See [/common/lists/29](/common/lists/29)","location":"query","items":"integer"},"ConstructionType":{"type":"array","required":false,"description":"See [/common/lists/28](/common/lists/28)","location":"query","items":"integer"},"ConstructionStage":{"type":"array","required":false,"description":"See [/common/lists/31](/common/lists/31)","location":"query","items":"integer"},"CommercialRealEstate":{"type":"array","required":false,"description":"Commercial Real Estate (CRE). See [/common/lists/161](/common/lists/161)","location":"query","items":"integer"},"ConstructionStartDateMin":{"type":"string","required":false,"description":"Construction Start Date minimum","location":"query"},"ConstructionStartDateMax":{"type":"string","required":false,"description":"Construction Start Date maximum","location":"query"},"ConstructionEndDateMin":{"type":"string","required":false,"description":"Construction End Date minimum","location":"query"},"ConstructionEndDateMax":{"type":"string","required":false,"description":"Construction End Date maximum","location":"query"},"ConstructionLeadValueMin":{"type":"integer","required":false,"description":"Opportunity Size minimum","location":"query"},"ConstructionLeadValueMax":{"type":"integer","required":false,"description":"Opportunity Size maximum","location":"query"},"ShoreType":{"type":"array","required":false,"description":"Onshore/Offshore. Applies to Energy and Mining. See [/common/lists/162](/common/lists/162)","location":"query","items":"integer"},"SiteAreaSizeMin":{"type":"number","required":false,"description":"Site Area Size minimum. Applies to Energy and Mining.","location":"query"},"SiteAreaSizeMax":{"type":"number","required":false,"description":"Site Area Size maximum. Applies to Energy and Mining.","location":"query"},"Grocery.Chain":{"type":"array","required":false,"description":"Grocery Chain. See [/common/lists/156](/common/lists/156)","location":"query","items":"integer"},"Grocery.ShoppingCenterName":{"type":"string","required":false,"description":"","location":"query"},"Grocery.ConstructionType":{"type":"integer","required":false,"description":"1-New, 9-Backfill","location":"query"},"Grocery.Schedule":{"type":"array","required":false,"description":"Construction Schedule. See [/common/lists/30](/common/lists/30)","location":"query","items":"integer"},"Grocery.OpeningDateMin":{"type":"string","required":false,"description":"Opening Date minimum","location":"query"},"Grocery.OpeningDateMax":{"type":"string","required":false,"description":"Opening Date maximum","location":"query"},"Grocery.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Grocery.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Grocery.AuditDateMin":{"type":"string","required":false,"description":"","location":"query"},"Grocery.AuditDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.Chain":{"type":"array","required":false,"description":"See [/common/lists/43](/common/lists/43)","location":"query","items":"integer"},"Hotel.Franchise":{"type":"array","required":false,"description":"See [/common/lists/44](/common/lists/44)","location":"query","items":"integer"},"Hotel.Scale":{"type":"array","required":false,"description":"See [/common/lists/45](/common/lists/45)","location":"query","items":"integer"},"Hotel.Amenity":{"type":"array","required":false,"description":"See [/common/lists/47](/common/lists/47)","location":"query","items":"integer"},"Hotel.RoomCount":{"type":"array","required":false,"description":"Number of rooms. See [/common/lists/48](/common/lists/48)","location":"query","items":"integer"},"Hotel.MeetingRoomSize":{"type":"array","required":false,"description":"See [/common/lists/52](/common/lists/52)","location":"query","items":"integer"},"Hotel.StarRating":{"type":"array","required":false,"description":"See [/common/lists/133](/common/lists/133)","location":"query","items":"integer"},"Hotel.PriceRateMin":{"type":"number","required":false,"description":"","location":"query"},"Hotel.PriceRateMax":{"type":"number","required":false,"description":"","location":"query"},"Hotel.MarketActivity":{"type":"array","required":false,"description":"See [/common/lists/51](/common/lists/51)","location":"query","items":"integer"},"Hotel.OpeningDateMin":{"type":"string","required":false,"description":"","location":"query"},"Hotel.OpeningDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.ParkingType":{"type":"array","required":false,"description":"Type of parking available. Applies to Hotel. See [/common/lists/33](/common/lists/33)","location":"query","items":"integer"},"Medical.FacilityType":{"type":"array","required":false,"description":"Level of Care. See [/common/lists/54](/common/lists/54)","location":"query","items":"integer"},"Medical.ClinicalSpecialty":{"type":"array","required":false,"description":"See [/common/lists/55](/common/lists/55)","location":"query","items":"integer"},"Medical.ConDateType":{"type":"integer","required":false,"description":"Type of Certification of Need. 1009-CON Application, 1010-CON Approval","location":"query"},"Medical.ConDateMin":{"type":"string","required":false,"description":"Certification of Need minimum date","location":"query"},"Medical.ConDateMax":{"type":"string","required":false,"description":"Certification of Need maximum date","location":"query"},"Medical.ConApplicationDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.ConApprovalDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.SystemName":{"type":"string","required":false,"description":"Name of Health System","location":"query"},"MultiFamily.ProjectType":{"type":"array","required":false,"description":"MultiFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"MultiFamily.ProductType":{"type":"array","required":false,"description":"Product Type. See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"MultiFamily.SeniorHousingType":{"type":"array","required":false,"description":"See [/common/lists/121](/common/lists/121)","location":"query","items":"integer"},"MultiFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. Applies to MultiFamily. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"MultiFamily.BuildingType":{"type":"array","required":false,"description":"See [/common/lists/63](/common/lists/63)","location":"query","items":"integer"},"Retail.Chain":{"type":"array","required":false,"description":"See [/common/lists/retail-chains](/common/lists/retail-chains)","location":"query","items":"integer"},"Retail.FootPrint":{"type":"array","required":false,"description":"See [/common/lists/157](/common/lists/157)","location":"query","items":"integer"},"Retail.DevelopmentType":{"type":"array","required":false,"description":"See [/common/lists/158](/common/lists/158)","location":"query","items":"integer"},"Retail.ChainCompanyName":{"type":"string","required":false,"description":"","location":"query"},"SingleFamily.Acreage":{"type":"array","required":false,"description":"See [/common/lists/149](/common/lists/149)","location":"query","items":"integer"},"SingleFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"SingleFamily.Price":{"type":"array","required":false,"description":"See [/common/lists/150](/common/lists/150)","location":"query","items":"number"},"SingleFamily.Amenity":{"type":"array","required":false,"description":"See [/common/lists/152](/common/lists/152)","location":"query","items":"integer"},"SingleFamily.ProjectType":{"type":"array","required":false,"description":"SingleFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"SingleFamily.ProductType":{"type":"array","required":false,"description":"See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"Energy.PowerOutput":{"type":"array","required":false,"description":"Power output in megawatts (MW). See [/common/lists/163](/common/lists/163)","location":"query","items":"number"},"Energy.PowerGrid":{"type":"array","required":false,"description":"North American power transmission grid/interconnection. See [/common/lists/164](/common/lists/164)","location":"query","items":"integer"},"Energy.WindTurbineCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.WindTurbineCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.PowerOutputMin":{"type":"number","required":false,"description":"Power Output (MW) minimum","location":"query"},"Energy.PowerOutputMax":{"type":"number","required":false,"description":"Power Output (MW) maximum","location":"query"},"Energy.QueueNumber":{"type":"string","required":false,"description":"","location":"query"},"Energy.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Energy.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Infrastructure.RequestType":{"type":"array","required":false,"description":"See [/common/lists/170](/common/lists/170)","location":"query","items":"integer"},"Infrastructure.FundingType":{"type":"array","required":false,"description":"See [/common/lists/171](/common/lists/171)","location":"query","items":"integer"},"Infrastructure.MaterialType":{"type":"array","required":false,"description":"See [/common/lists/172](/common/lists/172)","location":"query","items":"integer"},"Infrastructure.Category":{"type":"array","required":false,"description":"See [/common/lists/173](/common/lists/173)","location":"query","items":"integer"},"Infrastructure.DocumentFeeMin":{"type":"number","required":false,"description":"Document Fee minimum","location":"query"},"Infrastructure.DocumentFeeMax":{"type":"number","required":false,"description":"Document Fee maximum","location":"query"},"Mining.Resource":{"type":"array","required":false,"description":"See [/common/lists/166](/common/lists/166)","location":"query","items":"integer"},"Mining.MiningType":{"type":"array","required":false,"description":"See [/common/lists/167](/common/lists/167)","location":"query","items":"integer"},"Mining.Stage":{"type":"array","required":false,"description":"See [/common/lists/168](/common/lists/168)","location":"query","items":"integer"},"Contact.ContactId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.LocationId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.NameId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ParentObjectId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.Company.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Company.Name":{"type":"string","required":false,"description":"","location":"query"},"Contact.Company.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.NameId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.ContactName.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ContactName.FullName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.FirstName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.LastName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.MiddleName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Title":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.PhoneExt":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.ContainsField":{"type":"array","required":false,"description":"See [/common/lists/80](/common/lists/80)","location":"query","items":"integer"},"Contact.Location.LocationId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.Address1":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Address2":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.City":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.State":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.Location.PostalCode":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"Contact.Location.Country":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Latitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Longitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.TollFree":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.LocationName":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Description":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.DunsNumber":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CategoryType":{"type":"array","required":false,"description":"2-Headquarters, 999-Any","location":"query","items":"integer"},"Contact.Role":{"type":"array","required":false,"description":"See [/common/lists/75](/common/lists/75)","location":"query","items":"integer"},"Contact.Keyword":{"type":"string","required":false,"description":"","location":"query"},"Contact.Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"Contact.KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"Contact.KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"Contact.SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"Contact.SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"Contact.PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Contact.Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"Contact.QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"Contact.CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"},"DistanceMiles":{"type":"number","required":false,"description":"Distance in miles from coordinates. Set GeographyPolygon to one coordinate.","location":"query"},"GeographyPolygon":{"type":"string","required":false,"description":"Coordinates. E.g. -122.031577 47.578581,-122.031577 47.678581,-122.131577 47.678581,-122.031577 47.578581","location":"query"},"Folder":{"type":"array","required":false,"description":"Authenticated user's folder IDs. See [/common/lists/5000](/common/lists/5000)","location":"query","items":"integer"},"Keyword":{"type":"string","required":false,"description":"","location":"query"},"Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"}},"response_format":"json","category":"Contact Management"} */
|
|
10615
10538
|
async peopleFacets(params, options) {
|
|
10616
10539
|
const startTime = Date.now();
|
|
10617
10540
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -11566,7 +11489,6 @@ export class ConstructionwireClient {
|
|
|
11566
11489
|
throw new Error(`Failed to execute people_facets: ${error instanceof Error ? error.message : String(error)}`);
|
|
11567
11490
|
}
|
|
11568
11491
|
}
|
|
11569
|
-
/* DEBUG: endpoint={"name":"people_following","method":"GET","path":"/2.0/people/followings","description":"List People Followings","parameters":{"ReportId":{"type":"array","required":false,"description":"The unique identifier for the Project.","location":"query","items":"integer"},"ReportType":{"type":"array","required":false,"description":"See [/common/lists/1](/common/lists/1). Report type access is dependent on subscription. Call 866-316-5300 to access all report types.","location":"query","items":"integer"},"City":{"type":"string","required":false,"description":"","location":"query"},"State":{"type":"array","required":false,"description":"See [/common/lists/8](/common/lists/8)","location":"query","items":"string"},"PostalCode":{"type":"string","required":false,"description":"","location":"query"},"County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"PublishedUpdatedDateMin":{"type":"string","required":false,"description":"Published Updated Date minimum","location":"query"},"PublishedUpdatedDateMax":{"type":"string","required":false,"description":"Published Updated Date maximum","location":"query"},"PublishedUpdatedDateByDayCount":{"type":"integer","required":false,"description":"Set publishedUpdatedDateMin by subtracting some *number of days* from the current date.","location":"query"},"UpdatedDateMin":{"type":"string","required":false,"description":"Updated Date (system log date) minimum","location":"query"},"UpdatedDateMax":{"type":"string","required":false,"description":"Updated Date (system log date) maximum","location":"query"},"Sector":{"type":"array","required":false,"description":"See [/common/lists/24](/common/lists/24)","location":"query","items":"integer"},"ProjectType":{"type":"array","required":false,"description":"See [/common/lists/27](/common/lists/27)","location":"query","items":"integer"},"ProjectValue":{"type":"array","required":false,"description":"See [/common/lists/25](/common/lists/25)","location":"query","items":"number"},"ProjectSize":{"type":"array","required":false,"description":"See [/common/lists/29](/common/lists/29)","location":"query","items":"integer"},"ConstructionType":{"type":"array","required":false,"description":"See [/common/lists/28](/common/lists/28)","location":"query","items":"integer"},"ConstructionStage":{"type":"array","required":false,"description":"See [/common/lists/31](/common/lists/31)","location":"query","items":"integer"},"CommercialRealEstate":{"type":"array","required":false,"description":"Commercial Real Estate (CRE). See [/common/lists/161](/common/lists/161)","location":"query","items":"integer"},"ConstructionStartDateMin":{"type":"string","required":false,"description":"Construction Start Date minimum","location":"query"},"ConstructionStartDateMax":{"type":"string","required":false,"description":"Construction Start Date maximum","location":"query"},"ConstructionEndDateMin":{"type":"string","required":false,"description":"Construction End Date minimum","location":"query"},"ConstructionEndDateMax":{"type":"string","required":false,"description":"Construction End Date maximum","location":"query"},"ConstructionLeadValueMin":{"type":"integer","required":false,"description":"Opportunity Size minimum","location":"query"},"ConstructionLeadValueMax":{"type":"integer","required":false,"description":"Opportunity Size maximum","location":"query"},"ShoreType":{"type":"array","required":false,"description":"Onshore/Offshore. Applies to Energy and Mining. See [/common/lists/162](/common/lists/162)","location":"query","items":"integer"},"SiteAreaSizeMin":{"type":"number","required":false,"description":"Site Area Size minimum. Applies to Energy and Mining.","location":"query"},"SiteAreaSizeMax":{"type":"number","required":false,"description":"Site Area Size maximum. Applies to Energy and Mining.","location":"query"},"Grocery.Chain":{"type":"array","required":false,"description":"Grocery Chain. See [/common/lists/156](/common/lists/156)","location":"query","items":"integer"},"Grocery.ShoppingCenterName":{"type":"string","required":false,"description":"","location":"query"},"Grocery.ConstructionType":{"type":"integer","required":false,"description":"1-New, 9-Backfill","location":"query"},"Grocery.Schedule":{"type":"array","required":false,"description":"Construction Schedule. See [/common/lists/30](/common/lists/30)","location":"query","items":"integer"},"Grocery.OpeningDateMin":{"type":"string","required":false,"description":"Opening Date minimum","location":"query"},"Grocery.OpeningDateMax":{"type":"string","required":false,"description":"Opening Date maximum","location":"query"},"Grocery.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Grocery.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Grocery.AuditDateMin":{"type":"string","required":false,"description":"","location":"query"},"Grocery.AuditDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.Chain":{"type":"array","required":false,"description":"See [/common/lists/43](/common/lists/43)","location":"query","items":"integer"},"Hotel.Franchise":{"type":"array","required":false,"description":"See [/common/lists/44](/common/lists/44)","location":"query","items":"integer"},"Hotel.Scale":{"type":"array","required":false,"description":"See [/common/lists/45](/common/lists/45)","location":"query","items":"integer"},"Hotel.Amenity":{"type":"array","required":false,"description":"See [/common/lists/47](/common/lists/47)","location":"query","items":"integer"},"Hotel.RoomCount":{"type":"array","required":false,"description":"Number of rooms. See [/common/lists/48](/common/lists/48)","location":"query","items":"integer"},"Hotel.MeetingRoomSize":{"type":"array","required":false,"description":"See [/common/lists/52](/common/lists/52)","location":"query","items":"integer"},"Hotel.StarRating":{"type":"array","required":false,"description":"See [/common/lists/133](/common/lists/133)","location":"query","items":"integer"},"Hotel.PriceRateMin":{"type":"number","required":false,"description":"","location":"query"},"Hotel.PriceRateMax":{"type":"number","required":false,"description":"","location":"query"},"Hotel.MarketActivity":{"type":"array","required":false,"description":"See [/common/lists/51](/common/lists/51)","location":"query","items":"integer"},"Hotel.OpeningDateMin":{"type":"string","required":false,"description":"","location":"query"},"Hotel.OpeningDateMax":{"type":"string","required":false,"description":"","location":"query"},"Hotel.ParkingType":{"type":"array","required":false,"description":"Type of parking available. Applies to Hotel. See [/common/lists/33](/common/lists/33)","location":"query","items":"integer"},"Medical.FacilityType":{"type":"array","required":false,"description":"Level of Care. See [/common/lists/54](/common/lists/54)","location":"query","items":"integer"},"Medical.ClinicalSpecialty":{"type":"array","required":false,"description":"See [/common/lists/55](/common/lists/55)","location":"query","items":"integer"},"Medical.ConDateType":{"type":"integer","required":false,"description":"Type of Certification of Need. 1009-CON Application, 1010-CON Approval","location":"query"},"Medical.ConDateMin":{"type":"string","required":false,"description":"Certification of Need minimum date","location":"query"},"Medical.ConDateMax":{"type":"string","required":false,"description":"Certification of Need maximum date","location":"query"},"Medical.ConApplicationDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.ConApprovalDateByDayCount":{"type":"integer","required":false,"description":"Subtract some *number of days* from the current date.","location":"query"},"Medical.SystemName":{"type":"string","required":false,"description":"Name of Health System","location":"query"},"MultiFamily.ProjectType":{"type":"array","required":false,"description":"MultiFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"MultiFamily.ProductType":{"type":"array","required":false,"description":"Product Type. See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"MultiFamily.SeniorHousingType":{"type":"array","required":false,"description":"See [/common/lists/121](/common/lists/121)","location":"query","items":"integer"},"MultiFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. Applies to MultiFamily. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"MultiFamily.BuildingType":{"type":"array","required":false,"description":"See [/common/lists/63](/common/lists/63)","location":"query","items":"integer"},"Retail.Chain":{"type":"array","required":false,"description":"See [/common/lists/retail-chains](/common/lists/retail-chains)","location":"query","items":"integer"},"Retail.FootPrint":{"type":"array","required":false,"description":"See [/common/lists/157](/common/lists/157)","location":"query","items":"integer"},"Retail.DevelopmentType":{"type":"array","required":false,"description":"See [/common/lists/158](/common/lists/158)","location":"query","items":"integer"},"Retail.ChainCompanyName":{"type":"string","required":false,"description":"","location":"query"},"SingleFamily.Acreage":{"type":"array","required":false,"description":"See [/common/lists/149](/common/lists/149)","location":"query","items":"integer"},"SingleFamily.UnitCount":{"type":"array","required":false,"description":"Number of units. See [/common/lists/64](/common/lists/64)","location":"query","items":"integer"},"SingleFamily.Price":{"type":"array","required":false,"description":"See [/common/lists/150](/common/lists/150)","location":"query","items":"number"},"SingleFamily.Amenity":{"type":"array","required":false,"description":"See [/common/lists/152](/common/lists/152)","location":"query","items":"integer"},"SingleFamily.ProjectType":{"type":"array","required":false,"description":"SingleFamily Project Type. See [/common/lists/59](/common/lists/59)","location":"query","items":"integer"},"SingleFamily.ProductType":{"type":"array","required":false,"description":"See [/common/lists/61](/common/lists/61)","location":"query","items":"integer"},"Energy.PowerOutput":{"type":"array","required":false,"description":"Power output in megawatts (MW). See [/common/lists/163](/common/lists/163)","location":"query","items":"number"},"Energy.PowerGrid":{"type":"array","required":false,"description":"North American power transmission grid/interconnection. See [/common/lists/164](/common/lists/164)","location":"query","items":"integer"},"Energy.WindTurbineCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.WindTurbineCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMin":{"type":"integer","required":false,"description":"","location":"query"},"Energy.SolarPanelCountMax":{"type":"integer","required":false,"description":"","location":"query"},"Energy.PowerOutputMin":{"type":"number","required":false,"description":"Power Output (MW) minimum","location":"query"},"Energy.PowerOutputMax":{"type":"number","required":false,"description":"Power Output (MW) maximum","location":"query"},"Energy.QueueNumber":{"type":"string","required":false,"description":"","location":"query"},"Energy.SizeMin":{"type":"integer","required":false,"description":"Facility Size minimum","location":"query"},"Energy.SizeMax":{"type":"integer","required":false,"description":"Facility Size maximum","location":"query"},"Infrastructure.RequestType":{"type":"array","required":false,"description":"See [/common/lists/170](/common/lists/170)","location":"query","items":"integer"},"Infrastructure.FundingType":{"type":"array","required":false,"description":"See [/common/lists/171](/common/lists/171)","location":"query","items":"integer"},"Infrastructure.MaterialType":{"type":"array","required":false,"description":"See [/common/lists/172](/common/lists/172)","location":"query","items":"integer"},"Infrastructure.Category":{"type":"array","required":false,"description":"See [/common/lists/173](/common/lists/173)","location":"query","items":"integer"},"Infrastructure.DocumentFeeMin":{"type":"number","required":false,"description":"Document Fee minimum","location":"query"},"Infrastructure.DocumentFeeMax":{"type":"number","required":false,"description":"Document Fee maximum","location":"query"},"Mining.Resource":{"type":"array","required":false,"description":"See [/common/lists/166](/common/lists/166)","location":"query","items":"integer"},"Mining.MiningType":{"type":"array","required":false,"description":"See [/common/lists/167](/common/lists/167)","location":"query","items":"integer"},"Mining.Stage":{"type":"array","required":false,"description":"See [/common/lists/168](/common/lists/168)","location":"query","items":"integer"},"Contact.ContactId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.LocationId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.NameId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ParentObjectId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.Company.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Company.Name":{"type":"string","required":false,"description":"","location":"query"},"Contact.Company.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.NameId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.ContactName.CompanyId":{"type":"integer","required":false,"description":"","location":"query"},"Contact.ContactName.FullName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.FirstName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.LastName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.MiddleName":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Title":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.PhoneExt":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.ContactName.ContainsField":{"type":"array","required":false,"description":"See [/common/lists/80](/common/lists/80)","location":"query","items":"integer"},"Contact.Location.LocationId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.CompanyId":{"type":"array","required":false,"description":"","location":"query","items":"integer"},"Contact.Location.Address1":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Address2":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.City":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.State":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.Location.PostalCode":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.County":{"type":"array","required":false,"description":"See [/common/lists/states/CA/counties](/common/lists/states/CA/counties)","location":"query","items":"string"},"Contact.Location.Country":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Latitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Longitude":{"type":"number","required":false,"description":"","location":"query"},"Contact.Location.Phone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Fax":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.TollFree":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CellPhone":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Email":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Url":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.LocationName":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.Description":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.DunsNumber":{"type":"string","required":false,"description":"","location":"query"},"Contact.Location.CategoryType":{"type":"array","required":false,"description":"2-Headquarters, 999-Any","location":"query","items":"integer"},"Contact.Role":{"type":"array","required":false,"description":"See [/common/lists/75](/common/lists/75)","location":"query","items":"integer"},"Contact.Keyword":{"type":"string","required":false,"description":"","location":"query"},"Contact.Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"Contact.KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"Contact.KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"Contact.KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"Contact.SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"Contact.SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"Contact.PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Contact.Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"Contact.QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"Contact.CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"},"DistanceMiles":{"type":"number","required":false,"description":"Distance in miles from coordinates. Set GeographyPolygon to one coordinate.","location":"query"},"GeographyPolygon":{"type":"string","required":false,"description":"Coordinates. E.g. -122.031577 47.578581,-122.031577 47.678581,-122.131577 47.678581,-122.031577 47.578581","location":"query"},"Folder":{"type":"array","required":false,"description":"Authenticated user's folder IDs. See [/common/lists/5000](/common/lists/5000)","location":"query","items":"integer"},"Keyword":{"type":"string","required":false,"description":"","location":"query"},"Keywords":{"type":"array","required":false,"description":"","location":"query","items":"string"},"KeywordsIn":{"type":"array","required":false,"description":"Each keywordsIn must have corresponding index in keywords. See [/common/lists/81](/common/lists/81)","location":"query","items":"string"},"KeywordMatchType":{"type":"integer","required":false,"description":"See [/common/lists/82](/common/lists/82)","location":"query"},"KeywordLocation":{"type":"string","required":false,"description":"","location":"query"},"SortBy":{"type":"string","required":false,"description":"See [/common/lists/36](/common/lists/36)","location":"query"},"SortOrder":{"type":"string","required":false,"description":"See [/common/lists/23](/common/lists/23)","location":"query"},"PageSize":{"type":"integer","required":false,"description":"The number of records to return in one query call.","location":"query"},"Page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"QueryRecordCount":{"type":"integer","required":false,"description":"The number of records returned by a query. Set this value in pagination queries to improve performance. E.g. Set QueryRecordCount to RecordCount value returned by query's page 1 results.","location":"query"},"CustomParameters":{"type":"string","required":false,"description":"Custom Parameters. Set to 'LoadAllReports:true' to include all reports outside subscription. Reports outside subscription are in preview mode.","location":"query"},"includeBuildingReport":{"type":"boolean","required":false,"description":"Include construction project information with the search results.","location":"query"}},"response_format":"json","category":"Contact Management"} */
|
|
11570
11492
|
async peopleFollowing(params, options) {
|
|
11571
11493
|
const startTime = Date.now();
|
|
11572
11494
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -12518,7 +12440,6 @@ export class ConstructionwireClient {
|
|
|
12518
12440
|
throw new Error(`Failed to execute people_following: ${error instanceof Error ? error.message : String(error)}`);
|
|
12519
12441
|
}
|
|
12520
12442
|
}
|
|
12521
|
-
/* DEBUG: endpoint={"name":"people_follow","method":"POST","path":"/2.0/people/followings","description":"Create a Person Following","parameters":{"folderId":{"type":"integer","required":true,"description":"","location":"path"},"typeId":{"type":"integer","required":false,"description":"","location":"query"},"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Contact Management"} */
|
|
12522
12443
|
async peopleFollow(params, options) {
|
|
12523
12444
|
const startTime = Date.now();
|
|
12524
12445
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -12644,7 +12565,6 @@ export class ConstructionwireClient {
|
|
|
12644
12565
|
throw new Error(`Failed to execute people_follow: ${error instanceof Error ? error.message : String(error)}`);
|
|
12645
12566
|
}
|
|
12646
12567
|
}
|
|
12647
|
-
/* DEBUG: endpoint={"name":"people_unfollow","method":"DELETE","path":"/2.0/people/followings","description":"Delete a Person Following","parameters":{"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Contact Management"} */
|
|
12648
12568
|
async peopleUnfollow(params, options) {
|
|
12649
12569
|
const startTime = Date.now();
|
|
12650
12570
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -12766,7 +12686,6 @@ export class ConstructionwireClient {
|
|
|
12766
12686
|
throw new Error(`Failed to execute people_unfollow: ${error instanceof Error ? error.message : String(error)}`);
|
|
12767
12687
|
}
|
|
12768
12688
|
}
|
|
12769
|
-
/* DEBUG: endpoint={"name":"folders_list","method":"GET","path":"/2.0/folders","description":"List Folders","parameters":{},"response_format":"json","category":"File Organization"} */
|
|
12770
12689
|
async foldersList(params, options) {
|
|
12771
12690
|
const startTime = Date.now();
|
|
12772
12691
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -12884,7 +12803,6 @@ export class ConstructionwireClient {
|
|
|
12884
12803
|
throw new Error(`Failed to execute folders_list: ${error instanceof Error ? error.message : String(error)}`);
|
|
12885
12804
|
}
|
|
12886
12805
|
}
|
|
12887
|
-
/* DEBUG: endpoint={"name":"folders_create","method":"POST","path":"/2.0/folders","description":"Create a Folder","parameters":{"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"File Organization"} */
|
|
12888
12806
|
async foldersCreate(params, options) {
|
|
12889
12807
|
const startTime = Date.now();
|
|
12890
12808
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -13006,7 +12924,6 @@ export class ConstructionwireClient {
|
|
|
13006
12924
|
throw new Error(`Failed to execute folders_create: ${error instanceof Error ? error.message : String(error)}`);
|
|
13007
12925
|
}
|
|
13008
12926
|
}
|
|
13009
|
-
/* DEBUG: endpoint={"name":"folders_get","method":"GET","path":"/2.0/folders/{folderId}","description":"Get a Folder","parameters":{"folderId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"File Organization"} */
|
|
13010
12927
|
async foldersGet(params, options) {
|
|
13011
12928
|
const startTime = Date.now();
|
|
13012
12929
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -13124,7 +13041,6 @@ export class ConstructionwireClient {
|
|
|
13124
13041
|
throw new Error(`Failed to execute folders_get: ${error instanceof Error ? error.message : String(error)}`);
|
|
13125
13042
|
}
|
|
13126
13043
|
}
|
|
13127
|
-
/* DEBUG: endpoint={"name":"folders_update","method":"PATCH","path":"/2.0/folders/{folderId}","description":"Update a Folder","parameters":{"folderId":{"type":"integer","required":true,"description":"","location":"path"},"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"File Organization"} */
|
|
13128
13044
|
async foldersUpdate(params, options) {
|
|
13129
13045
|
const startTime = Date.now();
|
|
13130
13046
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -13246,7 +13162,6 @@ export class ConstructionwireClient {
|
|
|
13246
13162
|
throw new Error(`Failed to execute folders_update: ${error instanceof Error ? error.message : String(error)}`);
|
|
13247
13163
|
}
|
|
13248
13164
|
}
|
|
13249
|
-
/* DEBUG: endpoint={"name":"folders_delete","method":"DELETE","path":"/2.0/folders/{folderId}","description":"Delete a Folder","parameters":{"folderId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"File Organization"} */
|
|
13250
13165
|
async foldersDelete(params, options) {
|
|
13251
13166
|
const startTime = Date.now();
|
|
13252
13167
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -13364,7 +13279,6 @@ export class ConstructionwireClient {
|
|
|
13364
13279
|
throw new Error(`Failed to execute folders_delete: ${error instanceof Error ? error.message : String(error)}`);
|
|
13365
13280
|
}
|
|
13366
13281
|
}
|
|
13367
|
-
/* DEBUG: endpoint={"name":"folders_add_item","method":"POST","path":"/2.0/folders/{folderId}/items","description":"Save Items to a Folder","parameters":{"folderId":{"type":"integer","required":true,"description":"","location":"path"},"typeId":{"type":"integer","required":false,"description":"","location":"query"},"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"File Organization"} */
|
|
13368
13282
|
async foldersAddItem(params, options) {
|
|
13369
13283
|
const startTime = Date.now();
|
|
13370
13284
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -13490,7 +13404,6 @@ export class ConstructionwireClient {
|
|
|
13490
13404
|
throw new Error(`Failed to execute folders_add_item: ${error instanceof Error ? error.message : String(error)}`);
|
|
13491
13405
|
}
|
|
13492
13406
|
}
|
|
13493
|
-
/* DEBUG: endpoint={"name":"notes_list","method":"GET","path":"/2.0/notes","description":"List Notes","parameters":{"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Data Retrieval"} */
|
|
13494
13407
|
async notesList(params, options) {
|
|
13495
13408
|
const startTime = Date.now();
|
|
13496
13409
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -13608,7 +13521,6 @@ export class ConstructionwireClient {
|
|
|
13608
13521
|
throw new Error(`Failed to execute notes_list: ${error instanceof Error ? error.message : String(error)}`);
|
|
13609
13522
|
}
|
|
13610
13523
|
}
|
|
13611
|
-
/* DEBUG: endpoint={"name":"notes_create","method":"POST","path":"/2.0/notes","description":"Create a Note","parameters":{"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Data Creation"} */
|
|
13612
13524
|
async notesCreate(params, options) {
|
|
13613
13525
|
const startTime = Date.now();
|
|
13614
13526
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -13730,7 +13642,6 @@ export class ConstructionwireClient {
|
|
|
13730
13642
|
throw new Error(`Failed to execute notes_create: ${error instanceof Error ? error.message : String(error)}`);
|
|
13731
13643
|
}
|
|
13732
13644
|
}
|
|
13733
|
-
/* DEBUG: endpoint={"name":"notes_get","method":"GET","path":"/2.0/notes/{noteId}","description":"Get a Note","parameters":{"noteId":{"type":"integer","required":true,"description":"","location":"path"},"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Data Retrieval"} */
|
|
13734
13645
|
async notesGet(params, options) {
|
|
13735
13646
|
const startTime = Date.now();
|
|
13736
13647
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -13848,7 +13759,6 @@ export class ConstructionwireClient {
|
|
|
13848
13759
|
throw new Error(`Failed to execute notes_get: ${error instanceof Error ? error.message : String(error)}`);
|
|
13849
13760
|
}
|
|
13850
13761
|
}
|
|
13851
|
-
/* DEBUG: endpoint={"name":"notes_update","method":"PATCH","path":"/2.0/notes/{noteId}","description":"Update a Note","parameters":{"noteId":{"type":"integer","required":true,"description":"","location":"path"},"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Data Updates"} */
|
|
13852
13762
|
async notesUpdate(params, options) {
|
|
13853
13763
|
const startTime = Date.now();
|
|
13854
13764
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -13970,7 +13880,6 @@ export class ConstructionwireClient {
|
|
|
13970
13880
|
throw new Error(`Failed to execute notes_update: ${error instanceof Error ? error.message : String(error)}`);
|
|
13971
13881
|
}
|
|
13972
13882
|
}
|
|
13973
|
-
/* DEBUG: endpoint={"name":"notes_delete","method":"DELETE","path":"/2.0/notes/{noteId}","description":"Delete a Note","parameters":{"noteId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"Data Deletion"} */
|
|
13974
13883
|
async notesDelete(params, options) {
|
|
13975
13884
|
const startTime = Date.now();
|
|
13976
13885
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -14088,7 +13997,6 @@ export class ConstructionwireClient {
|
|
|
14088
13997
|
throw new Error(`Failed to execute notes_delete: ${error instanceof Error ? error.message : String(error)}`);
|
|
14089
13998
|
}
|
|
14090
13999
|
}
|
|
14091
|
-
/* DEBUG: endpoint={"name":"news_list","method":"GET","path":"/2.0/productnews","description":"List Product News","parameters":{},"response_format":"json","category":"Data Retrieval"} */
|
|
14092
14000
|
async newsList(params, options) {
|
|
14093
14001
|
const startTime = Date.now();
|
|
14094
14002
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -14206,7 +14114,6 @@ export class ConstructionwireClient {
|
|
|
14206
14114
|
throw new Error(`Failed to execute news_list: ${error instanceof Error ? error.message : String(error)}`);
|
|
14207
14115
|
}
|
|
14208
14116
|
}
|
|
14209
|
-
/* DEBUG: endpoint={"name":"news_get","method":"GET","path":"/2.0/productnews/{entryId}","description":"Get a Product News","parameters":{"entryId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"Data Retrieval"} */
|
|
14210
14117
|
async newsGet(params, options) {
|
|
14211
14118
|
const startTime = Date.now();
|
|
14212
14119
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -14324,7 +14231,6 @@ export class ConstructionwireClient {
|
|
|
14324
14231
|
throw new Error(`Failed to execute news_get: ${error instanceof Error ? error.message : String(error)}`);
|
|
14325
14232
|
}
|
|
14326
14233
|
}
|
|
14327
|
-
/* DEBUG: endpoint={"name":"searches_list","method":"GET","path":"/2.0/savedsearches","description":"List Saved Searches","parameters":{},"response_format":"json","category":"Data Retrieval"} */
|
|
14328
14234
|
async searchesList(params, options) {
|
|
14329
14235
|
const startTime = Date.now();
|
|
14330
14236
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -14442,7 +14348,6 @@ export class ConstructionwireClient {
|
|
|
14442
14348
|
throw new Error(`Failed to execute searches_list: ${error instanceof Error ? error.message : String(error)}`);
|
|
14443
14349
|
}
|
|
14444
14350
|
}
|
|
14445
|
-
/* DEBUG: endpoint={"name":"searches_create","method":"POST","path":"/2.0/savedsearches","description":"Create a Saved Search","parameters":{"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Data Creation"} */
|
|
14446
14351
|
async searchesCreate(params, options) {
|
|
14447
14352
|
const startTime = Date.now();
|
|
14448
14353
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -14564,7 +14469,6 @@ export class ConstructionwireClient {
|
|
|
14564
14469
|
throw new Error(`Failed to execute searches_create: ${error instanceof Error ? error.message : String(error)}`);
|
|
14565
14470
|
}
|
|
14566
14471
|
}
|
|
14567
|
-
/* DEBUG: endpoint={"name":"searches_get","method":"GET","path":"/2.0/savedsearches/{searchId}","description":"Get a Saved Search","parameters":{"searchId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"Data Retrieval"} */
|
|
14568
14472
|
async searchesGet(params, options) {
|
|
14569
14473
|
const startTime = Date.now();
|
|
14570
14474
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -14682,7 +14586,6 @@ export class ConstructionwireClient {
|
|
|
14682
14586
|
throw new Error(`Failed to execute searches_get: ${error instanceof Error ? error.message : String(error)}`);
|
|
14683
14587
|
}
|
|
14684
14588
|
}
|
|
14685
|
-
/* DEBUG: endpoint={"name":"searches_update","method":"PATCH","path":"/2.0/savedsearches/{searchId}","description":"Update a Saved Search","parameters":{"searchId":{"type":"integer","required":true,"description":"","location":"path"},"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Data Updates"} */
|
|
14686
14589
|
async searchesUpdate(params, options) {
|
|
14687
14590
|
const startTime = Date.now();
|
|
14688
14591
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -14804,7 +14707,6 @@ export class ConstructionwireClient {
|
|
|
14804
14707
|
throw new Error(`Failed to execute searches_update: ${error instanceof Error ? error.message : String(error)}`);
|
|
14805
14708
|
}
|
|
14806
14709
|
}
|
|
14807
|
-
/* DEBUG: endpoint={"name":"subscriptions_create_free","method":"POST","path":"/2.0/subscriptions/free","description":"Create a Free Subscription","parameters":{"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Subscription Services"} */
|
|
14808
14710
|
async subscriptionsCreateFree(params, options) {
|
|
14809
14711
|
const startTime = Date.now();
|
|
14810
14712
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -14926,7 +14828,6 @@ export class ConstructionwireClient {
|
|
|
14926
14828
|
throw new Error(`Failed to execute subscriptions_create_free: ${error instanceof Error ? error.message : String(error)}`);
|
|
14927
14829
|
}
|
|
14928
14830
|
}
|
|
14929
|
-
/* DEBUG: endpoint={"name":"subscriptions_usage","method":"GET","path":"/2.0/subscriptions/usage","description":"List Subscription Usage Reports","parameters":{"page":{"type":"integer","required":false,"description":"Page Number","location":"query"},"dateMin":{"type":"string","required":false,"description":"","location":"query"},"dateMax":{"type":"string","required":false,"description":"","location":"query"}},"response_format":"json","category":"Project Intelligence"} */
|
|
14930
14831
|
async subscriptionsUsage(params, options) {
|
|
14931
14832
|
const startTime = Date.now();
|
|
14932
14833
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -15056,7 +14957,6 @@ export class ConstructionwireClient {
|
|
|
15056
14957
|
throw new Error(`Failed to execute subscriptions_usage: ${error instanceof Error ? error.message : String(error)}`);
|
|
15057
14958
|
}
|
|
15058
14959
|
}
|
|
15059
|
-
/* DEBUG: endpoint={"name":"tasks_list","method":"GET","path":"/2.0/tasks","description":"List Tasks","parameters":{"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Task Planning"} */
|
|
15060
14960
|
async tasksList(params, options) {
|
|
15061
14961
|
const startTime = Date.now();
|
|
15062
14962
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -15174,7 +15074,6 @@ export class ConstructionwireClient {
|
|
|
15174
15074
|
throw new Error(`Failed to execute tasks_list: ${error instanceof Error ? error.message : String(error)}`);
|
|
15175
15075
|
}
|
|
15176
15076
|
}
|
|
15177
|
-
/* DEBUG: endpoint={"name":"tasks_create","method":"POST","path":"/2.0/tasks","description":"Create a Task","parameters":{"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Task Planning"} */
|
|
15178
15077
|
async tasksCreate(params, options) {
|
|
15179
15078
|
const startTime = Date.now();
|
|
15180
15079
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -15296,7 +15195,6 @@ export class ConstructionwireClient {
|
|
|
15296
15195
|
throw new Error(`Failed to execute tasks_create: ${error instanceof Error ? error.message : String(error)}`);
|
|
15297
15196
|
}
|
|
15298
15197
|
}
|
|
15299
|
-
/* DEBUG: endpoint={"name":"tasks_get","method":"GET","path":"/2.0/tasks/{taskId}","description":"Get a Task","parameters":{"taskId":{"type":"integer","required":true,"description":"","location":"path"},"reportId":{"type":"integer","required":true,"description":"The unique identifier for the Project.","location":"path"}},"response_format":"json","category":"Task Planning"} */
|
|
15300
15198
|
async tasksGet(params, options) {
|
|
15301
15199
|
const startTime = Date.now();
|
|
15302
15200
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -15414,7 +15312,6 @@ export class ConstructionwireClient {
|
|
|
15414
15312
|
throw new Error(`Failed to execute tasks_get: ${error instanceof Error ? error.message : String(error)}`);
|
|
15415
15313
|
}
|
|
15416
15314
|
}
|
|
15417
|
-
/* DEBUG: endpoint={"name":"tasks_update","method":"PATCH","path":"/2.0/tasks/{taskId}","description":"Update a Task","parameters":{"taskId":{"type":"integer","required":true,"description":"","location":"path"},"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Task Planning"} */
|
|
15418
15315
|
async tasksUpdate(params, options) {
|
|
15419
15316
|
const startTime = Date.now();
|
|
15420
15317
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -15536,7 +15433,6 @@ export class ConstructionwireClient {
|
|
|
15536
15433
|
throw new Error(`Failed to execute tasks_update: ${error instanceof Error ? error.message : String(error)}`);
|
|
15537
15434
|
}
|
|
15538
15435
|
}
|
|
15539
|
-
/* DEBUG: endpoint={"name":"tasks_delete","method":"DELETE","path":"/2.0/tasks/{taskId}","description":"Delete a Task","parameters":{"taskId":{"type":"integer","required":true,"description":"","location":"path"}},"response_format":"json","category":"Task Planning"} */
|
|
15540
15436
|
async tasksDelete(params, options) {
|
|
15541
15437
|
const startTime = Date.now();
|
|
15542
15438
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -15654,7 +15550,6 @@ export class ConstructionwireClient {
|
|
|
15654
15550
|
throw new Error(`Failed to execute tasks_delete: ${error instanceof Error ? error.message : String(error)}`);
|
|
15655
15551
|
}
|
|
15656
15552
|
}
|
|
15657
|
-
/* DEBUG: endpoint={"name":"auth_login","method":"POST","path":"/auth","description":"Create an Access Token","parameters":{"body":{"type":"object","required":true,"description":"Request body data","location":"body"}},"response_format":"json","category":"Authentication & Access"} */
|
|
15658
15553
|
async authLogin(params, options) {
|
|
15659
15554
|
const startTime = Date.now();
|
|
15660
15555
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -15776,7 +15671,6 @@ export class ConstructionwireClient {
|
|
|
15776
15671
|
throw new Error(`Failed to execute auth_login: ${error instanceof Error ? error.message : String(error)}`);
|
|
15777
15672
|
}
|
|
15778
15673
|
}
|
|
15779
|
-
/* DEBUG: endpoint={"name":"auth_details","method":"GET","path":"/auth/details","description":"List Authenticated Session Details","parameters":{},"response_format":"json","category":"Authentication & Access"} */
|
|
15780
15674
|
async authDetails(params, options) {
|
|
15781
15675
|
const startTime = Date.now();
|
|
15782
15676
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -15894,7 +15788,6 @@ export class ConstructionwireClient {
|
|
|
15894
15788
|
throw new Error(`Failed to execute auth_details: ${error instanceof Error ? error.message : String(error)}`);
|
|
15895
15789
|
}
|
|
15896
15790
|
}
|
|
15897
|
-
/* DEBUG: endpoint={"name":"auth_logout","method":"POST","path":"/auth/logout","description":"Logout from Authenticated Session","parameters":{},"response_format":"json","category":"Authentication & Access"} */
|
|
15898
15791
|
async authLogout(params, options) {
|
|
15899
15792
|
const startTime = Date.now();
|
|
15900
15793
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -16012,7 +15905,6 @@ export class ConstructionwireClient {
|
|
|
16012
15905
|
throw new Error(`Failed to execute auth_logout: ${error instanceof Error ? error.message : String(error)}`);
|
|
16013
15906
|
}
|
|
16014
15907
|
}
|
|
16015
|
-
/* DEBUG: endpoint={"name":"auth_subscription","method":"GET","path":"/auth/subscription","description":"","parameters":{},"response_format":"json","category":"Subscription Services"} */
|
|
16016
15908
|
async authSubscription(params, options) {
|
|
16017
15909
|
const startTime = Date.now();
|
|
16018
15910
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -16130,7 +16022,6 @@ export class ConstructionwireClient {
|
|
|
16130
16022
|
throw new Error(`Failed to execute auth_subscription: ${error instanceof Error ? error.message : String(error)}`);
|
|
16131
16023
|
}
|
|
16132
16024
|
}
|
|
16133
|
-
/* DEBUG: endpoint={"name":"common_get_list","method":"GET","path":"/common/lists/{listId}","description":"","parameters":{"listId":{"type":"integer","required":true,"description":"See [/common/lists/999](/common/lists/999)","location":"path"},"id":{"type":"array","required":false,"description":"See listId","location":"query","items":"integer"}},"response_format":"json","category":"Data Retrieval"} */
|
|
16134
16025
|
async commonGetList(params, options) {
|
|
16135
16026
|
const startTime = Date.now();
|
|
16136
16027
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -16255,7 +16146,6 @@ export class ConstructionwireClient {
|
|
|
16255
16146
|
throw new Error(`Failed to execute common_get_list: ${error instanceof Error ? error.message : String(error)}`);
|
|
16256
16147
|
}
|
|
16257
16148
|
}
|
|
16258
|
-
/* DEBUG: endpoint={"name":"common_retail_chains","method":"GET","path":"/common/lists/retail-chains","description":"","parameters":{"keyword":{"type":"string","required":false,"description":"","location":"query"},"option":{"type":"string","required":false,"description":"","location":"query"}},"response_format":"json","category":"Data Retrieval"} */
|
|
16259
16149
|
async commonRetailChains(params, options) {
|
|
16260
16150
|
const startTime = Date.now();
|
|
16261
16151
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -16381,7 +16271,6 @@ export class ConstructionwireClient {
|
|
|
16381
16271
|
throw new Error(`Failed to execute common_retail_chains: ${error instanceof Error ? error.message : String(error)}`);
|
|
16382
16272
|
}
|
|
16383
16273
|
}
|
|
16384
|
-
/* DEBUG: endpoint={"name":"common_states","method":"GET","path":"/common/lists/states","description":"","parameters":{},"response_format":"json","category":"Data Retrieval"} */
|
|
16385
16274
|
async commonStates(params, options) {
|
|
16386
16275
|
const startTime = Date.now();
|
|
16387
16276
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -16499,7 +16388,6 @@ export class ConstructionwireClient {
|
|
|
16499
16388
|
throw new Error(`Failed to execute common_states: ${error instanceof Error ? error.message : String(error)}`);
|
|
16500
16389
|
}
|
|
16501
16390
|
}
|
|
16502
|
-
/* DEBUG: endpoint={"name":"common_counties","method":"GET","path":"/common/lists/states/{stateAbbr}/counties","description":"","parameters":{"stateAbbr":{"type":"string","required":true,"description":"","location":"path"},"state":{"type":"array","required":false,"description":"See [/common/lists/8](/common/lists/8)","location":"query","items":"string"}},"response_format":"json","category":"Data Retrieval"} */
|
|
16503
16391
|
async commonCounties(params, options) {
|
|
16504
16392
|
const startTime = Date.now();
|
|
16505
16393
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|
|
@@ -16624,7 +16512,6 @@ export class ConstructionwireClient {
|
|
|
16624
16512
|
throw new Error(`Failed to execute common_counties: ${error instanceof Error ? error.message : String(error)}`);
|
|
16625
16513
|
}
|
|
16626
16514
|
}
|
|
16627
|
-
/* DEBUG: endpoint={"name":"common_regions","method":"GET","path":"/common/lists/states/regions","description":"","parameters":{},"response_format":"json","category":"Data Retrieval"} */
|
|
16628
16515
|
async commonRegions(params, options) {
|
|
16629
16516
|
const startTime = Date.now();
|
|
16630
16517
|
this.logger.info('ENDPOINT_START', 'Endpoint execution started', {
|