@model-match/api 3.99.0 → 3.100.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/RELEASE_NOTES.md +6 -0
- package/dist/{index-Bb5VRpvP.d.mts → index-Dpb6EF6m.d.mts} +279 -5
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +30 -6
- package/dist/slim/index.mjs +74 -6
- package/dist/{src-lZgFLTz5.mjs → src-D6M4H3IA.mjs} +80 -4
- package/openapi.json +561 -6
- package/package.json +1 -1
package/dist/slim/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as client, n as createClient } from "../src-
|
|
1
|
+
import { D as client, n as createClient } from "../src-D6M4H3IA.mjs";
|
|
2
2
|
//#region src/slim/sdk.gen.ts
|
|
3
3
|
/**
|
|
4
4
|
* Search agents with filters
|
|
@@ -7225,9 +7225,77 @@ const runStudioQuery = (options) => (options.client ?? client).post({
|
|
|
7225
7225
|
}
|
|
7226
7226
|
});
|
|
7227
7227
|
/**
|
|
7228
|
+
* Your organization's tables made from files
|
|
7229
|
+
*
|
|
7230
|
+
* Every table your organization made from a file: its name, the table it is queried as, its columns and row count, when it was made and by whom, its status, and the file it was loaded from (`sourceFileId`; `sourceFileDeleted` is `true` once that file has been deleted — the table keeps working). Only your organization's tables are listed. Free.
|
|
7231
|
+
*/
|
|
7232
|
+
const listStudioTables = (options) => (options?.client ?? client).get({
|
|
7233
|
+
security: [{
|
|
7234
|
+
name: "x-api-key",
|
|
7235
|
+
type: "apiKey"
|
|
7236
|
+
}, {
|
|
7237
|
+
scheme: "bearer",
|
|
7238
|
+
type: "http"
|
|
7239
|
+
}],
|
|
7240
|
+
url: "/v1/studio/tables",
|
|
7241
|
+
...options
|
|
7242
|
+
});
|
|
7243
|
+
/**
|
|
7244
|
+
* Load a file from your files library into a table
|
|
7245
|
+
*
|
|
7246
|
+
* Turn a file of your own data that is already in your files library — leads, closed and lost loans, a client list — into a table only your organization can query and join to the market tables. Name the file (`fromFileId`: one you can open, whose status is `ready`) and the table (`name`; the table is `upload_<name>`). The file is read as it is: the table shows its source file (`sourceFileId`), and the file shows the table it feeds (it is linked to `studio_table:upload_<name>`). Deleting the file later does not delete the table; deleting the table does not delete the file. A small file answers `200` with `status: ready`, and the answer says what the table holds: `columns`, `rowCount`, `warnings` (anything that was changed, skipped or kept as text — read them to the user) and `joinHints`. A large one answers `202` with `status: ingesting`: read it with `GET /v1/studio/tables/{name}` in a few seconds. A file that cannot be used is refused with the reason. Files can be CSV, TSV, Excel (.xlsx) or Parquet, up to 100 MB, 2,000,000 rows and 200 columns; an organization can keep 25 tables and 1 GB in total. Free.
|
|
7247
|
+
*/
|
|
7248
|
+
const createStudioTable = (options) => (options.client ?? client).post({
|
|
7249
|
+
security: [{
|
|
7250
|
+
name: "x-api-key",
|
|
7251
|
+
type: "apiKey"
|
|
7252
|
+
}, {
|
|
7253
|
+
scheme: "bearer",
|
|
7254
|
+
type: "http"
|
|
7255
|
+
}],
|
|
7256
|
+
url: "/v1/studio/tables",
|
|
7257
|
+
...options,
|
|
7258
|
+
headers: {
|
|
7259
|
+
"Content-Type": "application/json",
|
|
7260
|
+
...options.headers
|
|
7261
|
+
}
|
|
7262
|
+
});
|
|
7263
|
+
/**
|
|
7264
|
+
* Delete a table, permanently
|
|
7265
|
+
*
|
|
7266
|
+
* Delete a table (`name`, without the `upload_` prefix) and its rows. It leaves the catalog at once, and questions, jobs and models that read it stop working. Its source file stays in your files library, no longer linked to the table. This cannot be undone — to get the table back, load the file again. Free.
|
|
7267
|
+
*/
|
|
7268
|
+
const deleteStudioTable = (options) => (options.client ?? client).delete({
|
|
7269
|
+
security: [{
|
|
7270
|
+
name: "x-api-key",
|
|
7271
|
+
type: "apiKey"
|
|
7272
|
+
}, {
|
|
7273
|
+
scheme: "bearer",
|
|
7274
|
+
type: "http"
|
|
7275
|
+
}],
|
|
7276
|
+
url: "/v1/studio/tables/{name}",
|
|
7277
|
+
...options
|
|
7278
|
+
});
|
|
7279
|
+
/**
|
|
7280
|
+
* One table made from a file
|
|
7281
|
+
*
|
|
7282
|
+
* One table (`name`, without the `upload_` prefix): its status — read it again while it is `ingesting` — columns, row count, warnings, join hints, and its source file (`sourceFileId`, `sourceFileDeleted`). Free.
|
|
7283
|
+
*/
|
|
7284
|
+
const getStudioTable = (options) => (options.client ?? client).get({
|
|
7285
|
+
security: [{
|
|
7286
|
+
name: "x-api-key",
|
|
7287
|
+
type: "apiKey"
|
|
7288
|
+
}, {
|
|
7289
|
+
scheme: "bearer",
|
|
7290
|
+
type: "http"
|
|
7291
|
+
}],
|
|
7292
|
+
url: "/v1/studio/tables/{name}",
|
|
7293
|
+
...options
|
|
7294
|
+
});
|
|
7295
|
+
/**
|
|
7228
7296
|
* Your organization's uploads
|
|
7229
7297
|
*
|
|
7230
|
-
* Every file your organization has uploaded: its name, the table it is queried as, its columns and row count, when it was uploaded and by whom, and its status. Only your organization's uploads are listed; no other organization can see or query them. Free.
|
|
7298
|
+
* Every file your organization has uploaded: its name, the table it is queried as, its columns and row count, when it was uploaded and by whom, and its status. Only your organization's uploads are listed; no other organization can see or query them. Free. Deprecated: use `/v1/studio/tables` — add the file to your files library, then load it into a table. This route keeps working until 2026-12-23, and every answer carries `Deprecation`, `Sunset` and `Link: </v1/studio/tables>; rel="successor-version"` headers.
|
|
7231
7299
|
*/
|
|
7232
7300
|
const listStudioUploads = (options) => (options?.client ?? client).get({
|
|
7233
7301
|
security: [{
|
|
@@ -7243,7 +7311,7 @@ const listStudioUploads = (options) => (options?.client ?? client).get({
|
|
|
7243
7311
|
/**
|
|
7244
7312
|
* Start an upload: get a URL to send a file to
|
|
7245
7313
|
*
|
|
7246
|
-
* Turn a file of your own data — leads, closed and lost loans, a client list — into a table only your organization can query and join to the market tables. This is step one of three: it reserves the name and answers with `uploadUrl`. Step two: send the file to `uploadUrl` with HTTP PUT (the file's bytes as the body; it must be exactly `sizeBytes` long). Step three: call complete. Files can be CSV, TSV, Excel (.xlsx) or Parquet, up to 100 MB, 2,000,000 rows and 200 columns; an organization can keep 25 uploads and 1 GB in total. The table will be `upload_<name>`. Asking again for a name whose file never arrived replaces the earlier request. Free.
|
|
7314
|
+
* Turn a file of your own data — leads, closed and lost loans, a client list — into a table only your organization can query and join to the market tables. This is step one of three: it reserves the name and answers with `uploadUrl`. Step two: send the file to `uploadUrl` with HTTP PUT (the file's bytes as the body; it must be exactly `sizeBytes` long). Step three: call complete. Files can be CSV, TSV, Excel (.xlsx) or Parquet, up to 100 MB, 2,000,000 rows and 200 columns; an organization can keep 25 uploads and 1 GB in total. The table will be `upload_<name>`. Asking again for a name whose file never arrived replaces the earlier request. Free. Deprecated: use `/v1/studio/tables` — add the file to your files library, then load it into a table. This route keeps working until 2026-12-23, and every answer carries `Deprecation`, `Sunset` and `Link: </v1/studio/tables>; rel="successor-version"` headers.
|
|
7247
7315
|
*/
|
|
7248
7316
|
const createStudioUpload = (options) => (options.client ?? client).post({
|
|
7249
7317
|
security: [{
|
|
@@ -7263,7 +7331,7 @@ const createStudioUpload = (options) => (options.client ?? client).post({
|
|
|
7263
7331
|
/**
|
|
7264
7332
|
* Delete an upload and its table, permanently
|
|
7265
7333
|
*
|
|
7266
|
-
* Delete an upload: its table, the rows that were read from the file, and its record. It leaves the catalog at once, and questions and jobs that read the table stop working. This cannot be undone — to get the table back, upload the file again. Free.
|
|
7334
|
+
* Delete an upload: its table, the rows that were read from the file, and its record. It leaves the catalog at once, and questions and jobs that read the table stop working. This cannot be undone — to get the table back, upload the file again. Free. Deprecated: use `/v1/studio/tables` — add the file to your files library, then load it into a table. This route keeps working until 2026-12-23, and every answer carries `Deprecation`, `Sunset` and `Link: </v1/studio/tables>; rel="successor-version"` headers.
|
|
7267
7335
|
*/
|
|
7268
7336
|
const deleteStudioUpload = (options) => (options.client ?? client).delete({
|
|
7269
7337
|
security: [{
|
|
@@ -7279,7 +7347,7 @@ const deleteStudioUpload = (options) => (options.client ?? client).delete({
|
|
|
7279
7347
|
/**
|
|
7280
7348
|
* Finish an upload: turn the file into a table
|
|
7281
7349
|
*
|
|
7282
|
-
* Call this after the file has been sent to the upload URL. The file is read into the table `upload_<name>`, and the answer says what it holds: `columns` (names made safe for SQL, with a type each), `rowCount`, `warnings` (anything that was changed, skipped or kept as text — read them to the user) and `joinHints` (which columns line up with the market tables, with a join condition to copy). A small file answers `200` with `status: ready`. A large one answers `202` with `status: ingesting`: call complete again in a few seconds to collect the result. Calling it again on a ready upload is safe and answers with the same table. A file that cannot be used answers `422` and says why; create the upload again to send a corrected file. The original file is deleted once it has been read. Free.
|
|
7350
|
+
* Call this after the file has been sent to the upload URL. The file is read into the table `upload_<name>`, and the answer says what it holds: `columns` (names made safe for SQL, with a type each), `rowCount`, `warnings` (anything that was changed, skipped or kept as text — read them to the user) and `joinHints` (which columns line up with the market tables, with a join condition to copy). A small file answers `200` with `status: ready`. A large one answers `202` with `status: ingesting`: call complete again in a few seconds to collect the result. Calling it again on a ready upload is safe and answers with the same table. A file that cannot be used answers `422` and says why; create the upload again to send a corrected file. The original file is deleted once it has been read. Free. Deprecated: use `/v1/studio/tables` — add the file to your files library, then load it into a table. This route keeps working until 2026-12-23, and every answer carries `Deprecation`, `Sunset` and `Link: </v1/studio/tables>; rel="successor-version"` headers.
|
|
7283
7351
|
*/
|
|
7284
7352
|
const completeStudioUpload = (options) => (options.client ?? client).post({
|
|
7285
7353
|
security: [{
|
|
@@ -7293,4 +7361,4 @@ const completeStudioUpload = (options) => (options.client ?? client).post({
|
|
|
7293
7361
|
...options
|
|
7294
7362
|
});
|
|
7295
7363
|
//#endregion
|
|
7296
|
-
export { client as _heyApiClient, actionCrmCallerId, addCrmContactMethod, addCrmListMember, addCrmListMembersBulk, addCrmNote, addCrmRecord, addCrmRecordsBulk, addWatchedAgent, addWatchedArea, addWatchedDocument, agentAnalyticsChart, agentAnalyticsSummary, agentAnalyticsTimeSeries, agentBuilders, agentCities, agentCompanies, agentCounties, agentLenders, agentLoanMix, agentMarkets, agentMortgagedTimeSeries, agentOffices, agentOriginators, agentProperties, agentRelated, agentSales, agentStates, agentTitleCompanies, agentTitleCompaniesTimeSeries, agentZipCodes, analyzeCrmCall, applyCrmEnrichment, applyCrmListMiUpdates, applyCrmListTemplate, applyCrmMiUpdates, branchAnalyticsChart, branchAnalyticsSummary, branchAnalyticsTimeSeries, branchCities, branchCommunityLendingMap, branchCounties, branchLenders, branchLoans, branchOriginators, branchRoster, branchStates, branchStats, branchTitleCompanies, cancelAgentsBulkDeliveryJob, cancelBranchesBulkDeliveryJob, cancelCompaniesBulkDeliveryJob, cancelEnrichBulkJob, cancelLoansBulkDeliveryJob, cancelOriginatorsBulkDeliveryJob, cancelPropertiesBulkDeliveryJob, checkCrmImport, checkMonitor, companyAgents, companyAnalyticsChart, companyAnalyticsSummary, companyAnalyticsTimeSeries, companyBranches, companyBrokers, companyCities, companyCommunityLendingBenchmark, companyCommunityLendingMap, companyCounties, companyDepartureStatus, companyEarlyExits, companyEmployeeStats, companyEmployment, companyHeadcount, companyLenders, companyMarkets, companyMoverProduction, companyOffices, companyOriginators, companyRelated, companyRetention, companyRetentionActiveListings, companyRetentionCaptured, companyRetentionLikelyToSell, companySponsoredIndividuals, companySponsorshipMovement, companyStates, companyTalentFlow, companyTitleCompanies, companyZipCodes, completeFile, completeStudioUpload, countAgents, countBranches, countCompanies, countLenders, countLoans, countOffices, countOriginators, countProperties, countSales, createAgentContactSubmission, createAlertSubscription, createClient, createCrmList, createCrmListField, createCrmManualRecord, createCrmMeeting, createCrmObjectField, createCrmRecord, createCrmTask, createCrmTemplate, createFile, createFileRevision, createMonitor, createMyAlertRecipe, createOriginatorContactSubmission, createPropertyTransactionFlag, createSavedFilter, createStudioJob, createStudioModel, createStudioUpload, crmLenderChannels, crmLoLoanMix, crmLoMomentum, crmLoSponsorLocation, crmSimilarOriginators, declineCrmMiUpdate, deleteAlertSubscription, deleteCrmCallerId, deleteCrmList, deleteCrmListField, deleteCrmMeeting, deleteCrmNote, deleteCrmObjectField, deleteCrmRecord, deleteCrmRecords, deleteCrmTask, deleteCrmTemplate, deleteFile, deleteMonitor, deleteMyAlertRecipe, deleteSavedFilter, deleteStudioJob, deleteStudioModel, deleteStudioUpload, describeCrmRecordsOnAdd, dismissCrmListMiUpdates, dismissCrmMiUpdates, editCrmLoggedActivity, editCrmNote, enrichPropertiesBatch, enrichPropertiesBulk, enrichProperty, filterCrmListMembers, findCrmRecordByNmls, generateCrmRecordDescription, getAgent, getAgentsBulkDeliveryJob, getAlertConditions, getAlertEmailTokens, getAlertUnreadCount, getBranch, getBranchesBulkDeliveryJob, getCompaniesBulkDeliveryJob, getCompany, getCrmActiveCall, getCrmActivityReport, getCrmCall, getCrmCallTranscript, getCrmCustomValues, getCrmImport, getCrmImportJob, getCrmList, getCrmListMemberIds, getCrmListMiUpdates, getCrmListShares, getCrmMiUpdates, getCrmOutcomesReport, getCrmOverrides, getCrmProductionEnrichJob, getCrmRecordAccess, getCrmRecordAccessRequest, getCrmRecordConnections, getCrmRecordMemberIds, getCrmRecordProfile, getCrmTemplate, getCrmTemplateShares, getEnrichBulkJob, getFile, getFileContent, getHubspotPushStatus, getLender, getLoan, getLoansBulkDeliveryJob, getMe, getMeCredits, getMePlan, getMonitor, getMonitorCheck, getMonitorEmailTokens, getNetwork, getOffice, getOriginator, getOriginatorAgentPulseSignals, getOriginatorClientRetentionSignals, getOriginatorLoMoveSignal, getOriginatorsBulkDeliveryJob, getPropertiesBulkDeliveryJob, getProperty, getRealtimeConfig, getSale, getSavedFilter, getSavedFilterShares, getSearchToken, getStudioCatalog, getStudioJob, getStudioModel, getStudioModelOptions, getStudioProgramRun, getStudioPublishedModel, getStudioQueryResult, grantCrmListAccess, grantCrmRecordAccess, grantCrmRecordAccessRequest, grantSavedFilterAccess, hangupCrmCall, importCrmRecords, instantSearch, lenderCities, lenderCompanies, lenderCounties, lenderOriginators, lenderStates, linkCrmRecord, linkFile, listAgentOfficeGroups, listAgents, listAlertDigests, listAlertLog, listAlertRecipes, listAlertSubscriptions, listBranches, listCompanies, listCrmActivity, listCrmCallerIds, listCrmContactMethods, listCrmCustomFields, listCrmImportRows, listCrmImports, listCrmListActivity, listCrmListAssignees, listCrmListFields, listCrmListMemberships, listCrmListShareableMembers, listCrmLists, listCrmMeetings, listCrmMembers, listCrmOrgMembers, listCrmRecordShareableMembers, listCrmRecordShares, listCrmReferencedActivity, listCrmTasks, listCrmTemplates, listCrmWorkspaceMeetings, listCrmWorkspaceTasks, listEnrichments, listFiles, listLenders, listLoMoveSignals, listLoans, listMonitorRunUpdates, listMonitorTemplates, listMonitorUpdates, listMonitors, listMyAlertRecipes, listOffices, listOriginators, listProperties, listSales, listSavedFilterShareableMembers, listSavedFilters, listStudioJobs, listStudioModels, listStudioProgramRuns, listStudioPrograms, listStudioUploads, listWatchedAgents, listWatchedAreas, listWatchedDocuments, loanRelated, loansAnalyticsChart, loansAnalyticsSummary, loansAnalyticsTimeSeries, logCrmActivity, lookupCompanies, mapSales, markAlertDigestRead, markAlertRead, markAllAlertsRead, marketAnalyticsChart, marketAnalyticsSummary, marketAnalyticsTimeSeries, marketCommunityLending, marketMovementActivity, marketMovementByState, marketMovementCohortPayoff, marketMovementMostGained, marketMovementMostLost, marketMovementMovers, marketMovementRankings, marketMovementStats, marketMovementTransitions, marketSignals, officeAgents, officeBuilders, officeLenders, officeLoanTypes, officeOriginators, originatorAgents, originatorAnalyticsChart, originatorAnalyticsSummary, originatorAnalyticsTimeSeries, originatorBranches, originatorBrokers, originatorBuilders, originatorCitiesBreakdown, originatorCommunityLendingBenchmark, originatorCommunityLendingMap, originatorCompanies, originatorCountiesBreakdown, originatorLenders, originatorLoans, originatorMarkets, originatorOffices, originatorProperties, originatorRelated, originatorRetention, originatorRetentionCaptured, originatorStatesBreakdown, originatorTitleCompanies, originatorZipCodes, placeCrmCall, previewAlertEmailTemplate, previewAlertRecipe, previewAlerts, previewMonitor, previewMonitorEmail, previewMyAlertRecipe, propertiesAnalyticsChart, propertiesAnalyticsSummary, propertyRelated, pushToHubspot, reconcileCrmMeetings, refreshCrmRecordMirror, refreshStudioModel, removeCrmContactMethod, removeCrmListMember, removeWatchedAgent, removeWatchedArea, removeWatchedDocument, requestCrmAccess, requestCrmRecordAccess, resolveProperties, retrieveLocation, revokeCrmListAccess, revokeCrmRecordAccess, revokeSavedFilterAccess, runStudioJob, runStudioQuery, saleRelated, salesAnalyticsChart, salesAnalyticsSummary, salesAnalyticsTimeSeries, salesMarketStats, searchCrmEmailRecipients, searchCrmMatchCandidates, searchCrmMentionRecords, searchCrmRecords, searchFiles, searchProperties, sendCrmEmail, setCrmCallAnalysis, setCrmCustomValue, setCrmOverride, setCrmRecordOwner, setDefaultCrmCallerId, shareCrmTemplate, shareFile, startStudioProgramRun, submitAgentsBulkDelivery, submitBranchesBulkDelivery, submitCompaniesBulkDelivery, submitLoansBulkDelivery, submitOriginatorsBulkDelivery, submitPropertiesBulkDelivery, subscribeAlertRecipe, suggestLocations, suggestOfficeNames, transcribeCrmCall, transferCrmListOwnership, undoCrmImport, unlinkFile, unshareCrmTemplate, unshareFile, unsubscribeAlertRecipe, updateAlertConditions, updateCrmContactMethod, updateCrmList, updateCrmListField, updateCrmMeeting, updateCrmObjectField, updateCrmTask, updateCrmTemplate, updateFile, updateMe, updateMonitor, updateMyAlertRecipe, updateSavedFilter, updateStudioJob };
|
|
7364
|
+
export { client as _heyApiClient, actionCrmCallerId, addCrmContactMethod, addCrmListMember, addCrmListMembersBulk, addCrmNote, addCrmRecord, addCrmRecordsBulk, addWatchedAgent, addWatchedArea, addWatchedDocument, agentAnalyticsChart, agentAnalyticsSummary, agentAnalyticsTimeSeries, agentBuilders, agentCities, agentCompanies, agentCounties, agentLenders, agentLoanMix, agentMarkets, agentMortgagedTimeSeries, agentOffices, agentOriginators, agentProperties, agentRelated, agentSales, agentStates, agentTitleCompanies, agentTitleCompaniesTimeSeries, agentZipCodes, analyzeCrmCall, applyCrmEnrichment, applyCrmListMiUpdates, applyCrmListTemplate, applyCrmMiUpdates, branchAnalyticsChart, branchAnalyticsSummary, branchAnalyticsTimeSeries, branchCities, branchCommunityLendingMap, branchCounties, branchLenders, branchLoans, branchOriginators, branchRoster, branchStates, branchStats, branchTitleCompanies, cancelAgentsBulkDeliveryJob, cancelBranchesBulkDeliveryJob, cancelCompaniesBulkDeliveryJob, cancelEnrichBulkJob, cancelLoansBulkDeliveryJob, cancelOriginatorsBulkDeliveryJob, cancelPropertiesBulkDeliveryJob, checkCrmImport, checkMonitor, companyAgents, companyAnalyticsChart, companyAnalyticsSummary, companyAnalyticsTimeSeries, companyBranches, companyBrokers, companyCities, companyCommunityLendingBenchmark, companyCommunityLendingMap, companyCounties, companyDepartureStatus, companyEarlyExits, companyEmployeeStats, companyEmployment, companyHeadcount, companyLenders, companyMarkets, companyMoverProduction, companyOffices, companyOriginators, companyRelated, companyRetention, companyRetentionActiveListings, companyRetentionCaptured, companyRetentionLikelyToSell, companySponsoredIndividuals, companySponsorshipMovement, companyStates, companyTalentFlow, companyTitleCompanies, companyZipCodes, completeFile, completeStudioUpload, countAgents, countBranches, countCompanies, countLenders, countLoans, countOffices, countOriginators, countProperties, countSales, createAgentContactSubmission, createAlertSubscription, createClient, createCrmList, createCrmListField, createCrmManualRecord, createCrmMeeting, createCrmObjectField, createCrmRecord, createCrmTask, createCrmTemplate, createFile, createFileRevision, createMonitor, createMyAlertRecipe, createOriginatorContactSubmission, createPropertyTransactionFlag, createSavedFilter, createStudioJob, createStudioModel, createStudioTable, createStudioUpload, crmLenderChannels, crmLoLoanMix, crmLoMomentum, crmLoSponsorLocation, crmSimilarOriginators, declineCrmMiUpdate, deleteAlertSubscription, deleteCrmCallerId, deleteCrmList, deleteCrmListField, deleteCrmMeeting, deleteCrmNote, deleteCrmObjectField, deleteCrmRecord, deleteCrmRecords, deleteCrmTask, deleteCrmTemplate, deleteFile, deleteMonitor, deleteMyAlertRecipe, deleteSavedFilter, deleteStudioJob, deleteStudioModel, deleteStudioTable, deleteStudioUpload, describeCrmRecordsOnAdd, dismissCrmListMiUpdates, dismissCrmMiUpdates, editCrmLoggedActivity, editCrmNote, enrichPropertiesBatch, enrichPropertiesBulk, enrichProperty, filterCrmListMembers, findCrmRecordByNmls, generateCrmRecordDescription, getAgent, getAgentsBulkDeliveryJob, getAlertConditions, getAlertEmailTokens, getAlertUnreadCount, getBranch, getBranchesBulkDeliveryJob, getCompaniesBulkDeliveryJob, getCompany, getCrmActiveCall, getCrmActivityReport, getCrmCall, getCrmCallTranscript, getCrmCustomValues, getCrmImport, getCrmImportJob, getCrmList, getCrmListMemberIds, getCrmListMiUpdates, getCrmListShares, getCrmMiUpdates, getCrmOutcomesReport, getCrmOverrides, getCrmProductionEnrichJob, getCrmRecordAccess, getCrmRecordAccessRequest, getCrmRecordConnections, getCrmRecordMemberIds, getCrmRecordProfile, getCrmTemplate, getCrmTemplateShares, getEnrichBulkJob, getFile, getFileContent, getHubspotPushStatus, getLender, getLoan, getLoansBulkDeliveryJob, getMe, getMeCredits, getMePlan, getMonitor, getMonitorCheck, getMonitorEmailTokens, getNetwork, getOffice, getOriginator, getOriginatorAgentPulseSignals, getOriginatorClientRetentionSignals, getOriginatorLoMoveSignal, getOriginatorsBulkDeliveryJob, getPropertiesBulkDeliveryJob, getProperty, getRealtimeConfig, getSale, getSavedFilter, getSavedFilterShares, getSearchToken, getStudioCatalog, getStudioJob, getStudioModel, getStudioModelOptions, getStudioProgramRun, getStudioPublishedModel, getStudioQueryResult, getStudioTable, grantCrmListAccess, grantCrmRecordAccess, grantCrmRecordAccessRequest, grantSavedFilterAccess, hangupCrmCall, importCrmRecords, instantSearch, lenderCities, lenderCompanies, lenderCounties, lenderOriginators, lenderStates, linkCrmRecord, linkFile, listAgentOfficeGroups, listAgents, listAlertDigests, listAlertLog, listAlertRecipes, listAlertSubscriptions, listBranches, listCompanies, listCrmActivity, listCrmCallerIds, listCrmContactMethods, listCrmCustomFields, listCrmImportRows, listCrmImports, listCrmListActivity, listCrmListAssignees, listCrmListFields, listCrmListMemberships, listCrmListShareableMembers, listCrmLists, listCrmMeetings, listCrmMembers, listCrmOrgMembers, listCrmRecordShareableMembers, listCrmRecordShares, listCrmReferencedActivity, listCrmTasks, listCrmTemplates, listCrmWorkspaceMeetings, listCrmWorkspaceTasks, listEnrichments, listFiles, listLenders, listLoMoveSignals, listLoans, listMonitorRunUpdates, listMonitorTemplates, listMonitorUpdates, listMonitors, listMyAlertRecipes, listOffices, listOriginators, listProperties, listSales, listSavedFilterShareableMembers, listSavedFilters, listStudioJobs, listStudioModels, listStudioProgramRuns, listStudioPrograms, listStudioTables, listStudioUploads, listWatchedAgents, listWatchedAreas, listWatchedDocuments, loanRelated, loansAnalyticsChart, loansAnalyticsSummary, loansAnalyticsTimeSeries, logCrmActivity, lookupCompanies, mapSales, markAlertDigestRead, markAlertRead, markAllAlertsRead, marketAnalyticsChart, marketAnalyticsSummary, marketAnalyticsTimeSeries, marketCommunityLending, marketMovementActivity, marketMovementByState, marketMovementCohortPayoff, marketMovementMostGained, marketMovementMostLost, marketMovementMovers, marketMovementRankings, marketMovementStats, marketMovementTransitions, marketSignals, officeAgents, officeBuilders, officeLenders, officeLoanTypes, officeOriginators, originatorAgents, originatorAnalyticsChart, originatorAnalyticsSummary, originatorAnalyticsTimeSeries, originatorBranches, originatorBrokers, originatorBuilders, originatorCitiesBreakdown, originatorCommunityLendingBenchmark, originatorCommunityLendingMap, originatorCompanies, originatorCountiesBreakdown, originatorLenders, originatorLoans, originatorMarkets, originatorOffices, originatorProperties, originatorRelated, originatorRetention, originatorRetentionCaptured, originatorStatesBreakdown, originatorTitleCompanies, originatorZipCodes, placeCrmCall, previewAlertEmailTemplate, previewAlertRecipe, previewAlerts, previewMonitor, previewMonitorEmail, previewMyAlertRecipe, propertiesAnalyticsChart, propertiesAnalyticsSummary, propertyRelated, pushToHubspot, reconcileCrmMeetings, refreshCrmRecordMirror, refreshStudioModel, removeCrmContactMethod, removeCrmListMember, removeWatchedAgent, removeWatchedArea, removeWatchedDocument, requestCrmAccess, requestCrmRecordAccess, resolveProperties, retrieveLocation, revokeCrmListAccess, revokeCrmRecordAccess, revokeSavedFilterAccess, runStudioJob, runStudioQuery, saleRelated, salesAnalyticsChart, salesAnalyticsSummary, salesAnalyticsTimeSeries, salesMarketStats, searchCrmEmailRecipients, searchCrmMatchCandidates, searchCrmMentionRecords, searchCrmRecords, searchFiles, searchProperties, sendCrmEmail, setCrmCallAnalysis, setCrmCustomValue, setCrmOverride, setCrmRecordOwner, setDefaultCrmCallerId, shareCrmTemplate, shareFile, startStudioProgramRun, submitAgentsBulkDelivery, submitBranchesBulkDelivery, submitCompaniesBulkDelivery, submitLoansBulkDelivery, submitOriginatorsBulkDelivery, submitPropertiesBulkDelivery, subscribeAlertRecipe, suggestLocations, suggestOfficeNames, transcribeCrmCall, transferCrmListOwnership, undoCrmImport, unlinkFile, unshareCrmTemplate, unshareFile, unsubscribeAlertRecipe, updateAlertConditions, updateCrmContactMethod, updateCrmList, updateCrmListField, updateCrmMeeting, updateCrmObjectField, updateCrmTask, updateCrmTemplate, updateFile, updateMe, updateMonitor, updateMyAlertRecipe, updateSavedFilter, updateStudioJob };
|
|
@@ -8716,9 +8716,85 @@ var Studio = class {
|
|
|
8716
8716
|
});
|
|
8717
8717
|
}
|
|
8718
8718
|
/**
|
|
8719
|
+
* Your organization's tables made from files
|
|
8720
|
+
*
|
|
8721
|
+
* Every table your organization made from a file: its name, the table it is queried as, its columns and row count, when it was made and by whom, its status, and the file it was loaded from (`sourceFileId`; `sourceFileDeleted` is `true` once that file has been deleted — the table keeps working). Only your organization's tables are listed. Free.
|
|
8722
|
+
*/
|
|
8723
|
+
static listStudioTables(options) {
|
|
8724
|
+
return (options?.client ?? client).get({
|
|
8725
|
+
security: [{
|
|
8726
|
+
name: "x-api-key",
|
|
8727
|
+
type: "apiKey"
|
|
8728
|
+
}, {
|
|
8729
|
+
scheme: "bearer",
|
|
8730
|
+
type: "http"
|
|
8731
|
+
}],
|
|
8732
|
+
url: "/v1/studio/tables",
|
|
8733
|
+
...options
|
|
8734
|
+
});
|
|
8735
|
+
}
|
|
8736
|
+
/**
|
|
8737
|
+
* Load a file from your files library into a table
|
|
8738
|
+
*
|
|
8739
|
+
* Turn a file of your own data that is already in your files library — leads, closed and lost loans, a client list — into a table only your organization can query and join to the market tables. Name the file (`fromFileId`: one you can open, whose status is `ready`) and the table (`name`; the table is `upload_<name>`). The file is read as it is: the table shows its source file (`sourceFileId`), and the file shows the table it feeds (it is linked to `studio_table:upload_<name>`). Deleting the file later does not delete the table; deleting the table does not delete the file. A small file answers `200` with `status: ready`, and the answer says what the table holds: `columns`, `rowCount`, `warnings` (anything that was changed, skipped or kept as text — read them to the user) and `joinHints`. A large one answers `202` with `status: ingesting`: read it with `GET /v1/studio/tables/{name}` in a few seconds. A file that cannot be used is refused with the reason. Files can be CSV, TSV, Excel (.xlsx) or Parquet, up to 100 MB, 2,000,000 rows and 200 columns; an organization can keep 25 tables and 1 GB in total. Free.
|
|
8740
|
+
*/
|
|
8741
|
+
static createStudioTable(options) {
|
|
8742
|
+
return (options.client ?? client).post({
|
|
8743
|
+
security: [{
|
|
8744
|
+
name: "x-api-key",
|
|
8745
|
+
type: "apiKey"
|
|
8746
|
+
}, {
|
|
8747
|
+
scheme: "bearer",
|
|
8748
|
+
type: "http"
|
|
8749
|
+
}],
|
|
8750
|
+
url: "/v1/studio/tables",
|
|
8751
|
+
...options,
|
|
8752
|
+
headers: {
|
|
8753
|
+
"Content-Type": "application/json",
|
|
8754
|
+
...options.headers
|
|
8755
|
+
}
|
|
8756
|
+
});
|
|
8757
|
+
}
|
|
8758
|
+
/**
|
|
8759
|
+
* Delete a table, permanently
|
|
8760
|
+
*
|
|
8761
|
+
* Delete a table (`name`, without the `upload_` prefix) and its rows. It leaves the catalog at once, and questions, jobs and models that read it stop working. Its source file stays in your files library, no longer linked to the table. This cannot be undone — to get the table back, load the file again. Free.
|
|
8762
|
+
*/
|
|
8763
|
+
static deleteStudioTable(options) {
|
|
8764
|
+
return (options.client ?? client).delete({
|
|
8765
|
+
security: [{
|
|
8766
|
+
name: "x-api-key",
|
|
8767
|
+
type: "apiKey"
|
|
8768
|
+
}, {
|
|
8769
|
+
scheme: "bearer",
|
|
8770
|
+
type: "http"
|
|
8771
|
+
}],
|
|
8772
|
+
url: "/v1/studio/tables/{name}",
|
|
8773
|
+
...options
|
|
8774
|
+
});
|
|
8775
|
+
}
|
|
8776
|
+
/**
|
|
8777
|
+
* One table made from a file
|
|
8778
|
+
*
|
|
8779
|
+
* One table (`name`, without the `upload_` prefix): its status — read it again while it is `ingesting` — columns, row count, warnings, join hints, and its source file (`sourceFileId`, `sourceFileDeleted`). Free.
|
|
8780
|
+
*/
|
|
8781
|
+
static getStudioTable(options) {
|
|
8782
|
+
return (options.client ?? client).get({
|
|
8783
|
+
security: [{
|
|
8784
|
+
name: "x-api-key",
|
|
8785
|
+
type: "apiKey"
|
|
8786
|
+
}, {
|
|
8787
|
+
scheme: "bearer",
|
|
8788
|
+
type: "http"
|
|
8789
|
+
}],
|
|
8790
|
+
url: "/v1/studio/tables/{name}",
|
|
8791
|
+
...options
|
|
8792
|
+
});
|
|
8793
|
+
}
|
|
8794
|
+
/**
|
|
8719
8795
|
* Your organization's uploads
|
|
8720
8796
|
*
|
|
8721
|
-
* Every file your organization has uploaded: its name, the table it is queried as, its columns and row count, when it was uploaded and by whom, and its status. Only your organization's uploads are listed; no other organization can see or query them. Free.
|
|
8797
|
+
* Every file your organization has uploaded: its name, the table it is queried as, its columns and row count, when it was uploaded and by whom, and its status. Only your organization's uploads are listed; no other organization can see or query them. Free. Deprecated: use `/v1/studio/tables` — add the file to your files library, then load it into a table. This route keeps working until 2026-12-23, and every answer carries `Deprecation`, `Sunset` and `Link: </v1/studio/tables>; rel="successor-version"` headers.
|
|
8722
8798
|
*/
|
|
8723
8799
|
static listStudioUploads(options) {
|
|
8724
8800
|
return (options?.client ?? client).get({
|
|
@@ -8736,7 +8812,7 @@ var Studio = class {
|
|
|
8736
8812
|
/**
|
|
8737
8813
|
* Start an upload: get a URL to send a file to
|
|
8738
8814
|
*
|
|
8739
|
-
* Turn a file of your own data — leads, closed and lost loans, a client list — into a table only your organization can query and join to the market tables. This is step one of three: it reserves the name and answers with `uploadUrl`. Step two: send the file to `uploadUrl` with HTTP PUT (the file's bytes as the body; it must be exactly `sizeBytes` long). Step three: call complete. Files can be CSV, TSV, Excel (.xlsx) or Parquet, up to 100 MB, 2,000,000 rows and 200 columns; an organization can keep 25 uploads and 1 GB in total. The table will be `upload_<name>`. Asking again for a name whose file never arrived replaces the earlier request. Free.
|
|
8815
|
+
* Turn a file of your own data — leads, closed and lost loans, a client list — into a table only your organization can query and join to the market tables. This is step one of three: it reserves the name and answers with `uploadUrl`. Step two: send the file to `uploadUrl` with HTTP PUT (the file's bytes as the body; it must be exactly `sizeBytes` long). Step three: call complete. Files can be CSV, TSV, Excel (.xlsx) or Parquet, up to 100 MB, 2,000,000 rows and 200 columns; an organization can keep 25 uploads and 1 GB in total. The table will be `upload_<name>`. Asking again for a name whose file never arrived replaces the earlier request. Free. Deprecated: use `/v1/studio/tables` — add the file to your files library, then load it into a table. This route keeps working until 2026-12-23, and every answer carries `Deprecation`, `Sunset` and `Link: </v1/studio/tables>; rel="successor-version"` headers.
|
|
8740
8816
|
*/
|
|
8741
8817
|
static createStudioUpload(options) {
|
|
8742
8818
|
return (options.client ?? client).post({
|
|
@@ -8758,7 +8834,7 @@ var Studio = class {
|
|
|
8758
8834
|
/**
|
|
8759
8835
|
* Delete an upload and its table, permanently
|
|
8760
8836
|
*
|
|
8761
|
-
* Delete an upload: its table, the rows that were read from the file, and its record. It leaves the catalog at once, and questions and jobs that read the table stop working. This cannot be undone — to get the table back, upload the file again. Free.
|
|
8837
|
+
* Delete an upload: its table, the rows that were read from the file, and its record. It leaves the catalog at once, and questions and jobs that read the table stop working. This cannot be undone — to get the table back, upload the file again. Free. Deprecated: use `/v1/studio/tables` — add the file to your files library, then load it into a table. This route keeps working until 2026-12-23, and every answer carries `Deprecation`, `Sunset` and `Link: </v1/studio/tables>; rel="successor-version"` headers.
|
|
8762
8838
|
*/
|
|
8763
8839
|
static deleteStudioUpload(options) {
|
|
8764
8840
|
return (options.client ?? client).delete({
|
|
@@ -8776,7 +8852,7 @@ var Studio = class {
|
|
|
8776
8852
|
/**
|
|
8777
8853
|
* Finish an upload: turn the file into a table
|
|
8778
8854
|
*
|
|
8779
|
-
* Call this after the file has been sent to the upload URL. The file is read into the table `upload_<name>`, and the answer says what it holds: `columns` (names made safe for SQL, with a type each), `rowCount`, `warnings` (anything that was changed, skipped or kept as text — read them to the user) and `joinHints` (which columns line up with the market tables, with a join condition to copy). A small file answers `200` with `status: ready`. A large one answers `202` with `status: ingesting`: call complete again in a few seconds to collect the result. Calling it again on a ready upload is safe and answers with the same table. A file that cannot be used answers `422` and says why; create the upload again to send a corrected file. The original file is deleted once it has been read. Free.
|
|
8855
|
+
* Call this after the file has been sent to the upload URL. The file is read into the table `upload_<name>`, and the answer says what it holds: `columns` (names made safe for SQL, with a type each), `rowCount`, `warnings` (anything that was changed, skipped or kept as text — read them to the user) and `joinHints` (which columns line up with the market tables, with a join condition to copy). A small file answers `200` with `status: ready`. A large one answers `202` with `status: ingesting`: call complete again in a few seconds to collect the result. Calling it again on a ready upload is safe and answers with the same table. A file that cannot be used answers `422` and says why; create the upload again to send a corrected file. The original file is deleted once it has been read. Free. Deprecated: use `/v1/studio/tables` — add the file to your files library, then load it into a table. This route keeps working until 2026-12-23, and every answer carries `Deprecation`, `Sunset` and `Link: </v1/studio/tables>; rel="successor-version"` headers.
|
|
8780
8856
|
*/
|
|
8781
8857
|
static completeStudioUpload(options) {
|
|
8782
8858
|
return (options.client ?? client).post({
|