@model-match/api 3.108.0 → 3.109.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.
@@ -1,4 +1,4 @@
1
- import { D as client, n as createClient } from "../src-CYGd9bVt.mjs";
1
+ import { D as client, n as createClient } from "../src-bgEYN6JC.mjs";
2
2
  //#region src/slim/sdk.gen.ts
3
3
  /**
4
4
  * Search agents with filters
@@ -7451,7 +7451,7 @@ const listStudioTables = (options) => (options?.client ?? client).get({
7451
7451
  /**
7452
7452
  * Load a file from your files library into a table
7453
7453
  *
7454
- * 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.
7454
+ * 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. A SQLite database becomes one table per table it holds, `upload_<name>_<table>` (`tables` lists them all; `data` is the first), each naming its `sourceTable` and `sourceRevision`. When the database gets a new revision its tables are read again by themselves (`POST /v1/studio/tables/reload` does it on demand). Free.
7455
7455
  */
7456
7456
  const createStudioTable = (options) => (options.client ?? client).post({
7457
7457
  security: [{
@@ -7469,6 +7469,26 @@ const createStudioTable = (options) => (options.client ?? client).post({
7469
7469
  }
7470
7470
  });
7471
7471
  /**
7472
+ * Read a database's tables again
7473
+ *
7474
+ * Read every table made from a SQLite database in your files library (`fromFileId`) again, from its latest revision. This happens by itself when the database gets a new revision; call it to make sure. Answers `202` at once with the tables being read: each keeps answering on its current rows until its new rows are in, then shows the new `sourceRevision`. A table no longer in the database keeps its rows and says why (`reloadError`). You need to be able to open the file. Free.
7475
+ */
7476
+ const reloadStudioTables = (options) => (options.client ?? client).post({
7477
+ security: [{
7478
+ name: "x-api-key",
7479
+ type: "apiKey"
7480
+ }, {
7481
+ scheme: "bearer",
7482
+ type: "http"
7483
+ }],
7484
+ url: "/v1/studio/tables/reload",
7485
+ ...options,
7486
+ headers: {
7487
+ "Content-Type": "application/json",
7488
+ ...options.headers
7489
+ }
7490
+ });
7491
+ /**
7472
7492
  * Delete a table, permanently
7473
7493
  *
7474
7494
  * 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.
@@ -7569,4 +7589,4 @@ const completeStudioUpload = (options) => (options.client ?? client).post({
7569
7589
  ...options
7570
7590
  });
7571
7591
  //#endregion
7572
- 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, approveFileForAgent, 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, createFileReference, 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, getFileAccessLog, getFileContent, getFilesAccessReport, getHubspotPushStatus, getLender, getLoan, getLoansBulkDeliveryJob, getMe, getMeCredits, getMePlan, getMonitor, getMonitorCheck, getMonitorEmailTokens, getNetwork, getOffice, getOriginator, getOriginatorAgentPulseSignals, getOriginatorClientRetentionSignals, getOriginatorLoMoveSignal, getOriginatorsBulkDeliveryJob, getPropertiesBulkDeliveryJob, getProperty, getRealtimeConfig, getRecruitingActiveCall, getRecruitingQueue, 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, listRecruitingEngagements, listRecruitingLists, listRecruitingPeople, 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, pinFile, placeCrmCall, previewAlertEmailTemplate, previewAlertRecipe, previewAlerts, previewMonitor, previewMonitorEmail, previewMyAlertRecipe, propertiesAnalyticsChart, propertiesAnalyticsSummary, propertyRelated, pushToHubspot, reconcileCrmMeetings, redeemFileDownload, 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, searchRecruitingPeople, sendCrmEmail, setCrmCallAnalysis, setCrmCustomValue, setCrmOverride, setCrmRecordOwner, setDefaultCrmCallerId, shareCrmTemplate, shareFile, startStudioProgramRun, submitAgentsBulkDelivery, submitBranchesBulkDelivery, submitCompaniesBulkDelivery, submitLoansBulkDelivery, submitOriginatorsBulkDelivery, submitPropertiesBulkDelivery, subscribeAlertRecipe, suggestLocations, suggestOfficeNames, transcribeCrmCall, transferCrmListOwnership, undoCrmImport, unlinkFile, unpinFile, unshareCrmTemplate, unshareFile, unsubscribeAlertRecipe, updateAlertConditions, updateCrmContactMethod, updateCrmList, updateCrmListField, updateCrmMeeting, updateCrmObjectField, updateCrmTask, updateCrmTemplate, updateFile, updateMe, updateMonitor, updateMyAlertRecipe, updateSavedFilter, updateStudioJob };
7592
+ 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, approveFileForAgent, 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, createFileReference, 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, getFileAccessLog, getFileContent, getFilesAccessReport, getHubspotPushStatus, getLender, getLoan, getLoansBulkDeliveryJob, getMe, getMeCredits, getMePlan, getMonitor, getMonitorCheck, getMonitorEmailTokens, getNetwork, getOffice, getOriginator, getOriginatorAgentPulseSignals, getOriginatorClientRetentionSignals, getOriginatorLoMoveSignal, getOriginatorsBulkDeliveryJob, getPropertiesBulkDeliveryJob, getProperty, getRealtimeConfig, getRecruitingActiveCall, getRecruitingQueue, 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, listRecruitingEngagements, listRecruitingLists, listRecruitingPeople, 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, pinFile, placeCrmCall, previewAlertEmailTemplate, previewAlertRecipe, previewAlerts, previewMonitor, previewMonitorEmail, previewMyAlertRecipe, propertiesAnalyticsChart, propertiesAnalyticsSummary, propertyRelated, pushToHubspot, reconcileCrmMeetings, redeemFileDownload, refreshCrmRecordMirror, refreshStudioModel, reloadStudioTables, 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, searchRecruitingPeople, sendCrmEmail, setCrmCallAnalysis, setCrmCustomValue, setCrmOverride, setCrmRecordOwner, setDefaultCrmCallerId, shareCrmTemplate, shareFile, startStudioProgramRun, submitAgentsBulkDelivery, submitBranchesBulkDelivery, submitCompaniesBulkDelivery, submitLoansBulkDelivery, submitOriginatorsBulkDelivery, submitPropertiesBulkDelivery, subscribeAlertRecipe, suggestLocations, suggestOfficeNames, transcribeCrmCall, transferCrmListOwnership, undoCrmImport, unlinkFile, unpinFile, unshareCrmTemplate, unshareFile, unsubscribeAlertRecipe, updateAlertConditions, updateCrmContactMethod, updateCrmList, updateCrmListField, updateCrmMeeting, updateCrmObjectField, updateCrmTask, updateCrmTemplate, updateFile, updateMe, updateMonitor, updateMyAlertRecipe, updateSavedFilter, updateStudioJob };
@@ -8970,7 +8970,7 @@ var Studio = class {
8970
8970
  /**
8971
8971
  * Load a file from your files library into a table
8972
8972
  *
8973
- * 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.
8973
+ * 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. A SQLite database becomes one table per table it holds, `upload_<name>_<table>` (`tables` lists them all; `data` is the first), each naming its `sourceTable` and `sourceRevision`. When the database gets a new revision its tables are read again by themselves (`POST /v1/studio/tables/reload` does it on demand). Free.
8974
8974
  */
8975
8975
  static createStudioTable(options) {
8976
8976
  return (options.client ?? client).post({
@@ -8990,6 +8990,28 @@ var Studio = class {
8990
8990
  });
8991
8991
  }
8992
8992
  /**
8993
+ * Read a database's tables again
8994
+ *
8995
+ * Read every table made from a SQLite database in your files library (`fromFileId`) again, from its latest revision. This happens by itself when the database gets a new revision; call it to make sure. Answers `202` at once with the tables being read: each keeps answering on its current rows until its new rows are in, then shows the new `sourceRevision`. A table no longer in the database keeps its rows and says why (`reloadError`). You need to be able to open the file. Free.
8996
+ */
8997
+ static reloadStudioTables(options) {
8998
+ return (options.client ?? client).post({
8999
+ security: [{
9000
+ name: "x-api-key",
9001
+ type: "apiKey"
9002
+ }, {
9003
+ scheme: "bearer",
9004
+ type: "http"
9005
+ }],
9006
+ url: "/v1/studio/tables/reload",
9007
+ ...options,
9008
+ headers: {
9009
+ "Content-Type": "application/json",
9010
+ ...options.headers
9011
+ }
9012
+ });
9013
+ }
9014
+ /**
8993
9015
  * Delete a table, permanently
8994
9016
  *
8995
9017
  * 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.
package/openapi.json CHANGED
@@ -56514,6 +56514,13 @@
56514
56514
  "properties": {
56515
56515
  "data": {
56516
56516
  "$ref": "#/components/schemas/StudioUpload"
56517
+ },
56518
+ "tables": {
56519
+ "description": "For a SQLite database: every table it became (`data` is the first). Each is `upload_<name>_<table>`.",
56520
+ "items": {
56521
+ "$ref": "#/components/schemas/StudioUpload"
56522
+ },
56523
+ "type": "array"
56517
56524
  }
56518
56525
  },
56519
56526
  "required": [
@@ -56562,6 +56569,47 @@
56562
56569
  ],
56563
56570
  "type": "object"
56564
56571
  },
56572
+ "StudioTablesReload": {
56573
+ "additionalProperties": false,
56574
+ "properties": {
56575
+ "fromFileId": {
56576
+ "description": "The SQLite database in your files library whose tables to read again.",
56577
+ "pattern": "^file_[0-9a-f]{32}$",
56578
+ "type": "string"
56579
+ }
56580
+ },
56581
+ "required": [
56582
+ "fromFileId"
56583
+ ],
56584
+ "type": "object"
56585
+ },
56586
+ "StudioTablesReloaded": {
56587
+ "properties": {
56588
+ "data": {
56589
+ "properties": {
56590
+ "revision": {
56591
+ "type": "integer"
56592
+ },
56593
+ "tables": {
56594
+ "description": "The tables being read again. Each keeps answering on its current rows until its new rows are in.",
56595
+ "items": {
56596
+ "type": "string"
56597
+ },
56598
+ "type": "array"
56599
+ }
56600
+ },
56601
+ "required": [
56602
+ "tables",
56603
+ "revision"
56604
+ ],
56605
+ "type": "object"
56606
+ }
56607
+ },
56608
+ "required": [
56609
+ "data"
56610
+ ],
56611
+ "type": "object"
56612
+ },
56565
56613
  "StudioUpload": {
56566
56614
  "properties": {
56567
56615
  "bytes": {
@@ -56670,6 +56718,26 @@
56670
56718
  "name": {
56671
56719
  "type": "string"
56672
56720
  },
56721
+ "reloadError": {
56722
+ "description": "Why the last reload left the table on its earlier rows (for example, the table is no longer in the database).",
56723
+ "properties": {
56724
+ "at": {
56725
+ "type": "string"
56726
+ },
56727
+ "code": {
56728
+ "type": "string"
56729
+ },
56730
+ "message": {
56731
+ "type": "string"
56732
+ }
56733
+ },
56734
+ "required": [
56735
+ "code",
56736
+ "message",
56737
+ "at"
56738
+ ],
56739
+ "type": "object"
56740
+ },
56673
56741
  "rowCount": {
56674
56742
  "nullable": true,
56675
56743
  "type": "number"
@@ -56683,6 +56751,14 @@
56683
56751
  "nullable": true,
56684
56752
  "type": "string"
56685
56753
  },
56754
+ "sourceRevision": {
56755
+ "description": "For a table loaded from a SQLite database: the revision of the file its rows are from. A new revision of the file reloads it.",
56756
+ "type": "integer"
56757
+ },
56758
+ "sourceTable": {
56759
+ "description": "For a table loaded from a SQLite database: the database's table it holds.",
56760
+ "type": "string"
56761
+ },
56686
56762
  "status": {
56687
56763
  "description": "`pending` — waiting for the file. `ingesting` — the file is being read; call complete again. `ready` — it is a table. `failed` — the file was refused (`error` says why); create the upload again with a corrected file.",
56688
56764
  "enum": [
@@ -58532,7 +58608,7 @@
58532
58608
  "info": {
58533
58609
  "description": "ModelMatch API — mortgage and real-estate market data.\n\n## Bulk delivery limits\n\nThe `POST /{entity}/bulk-delivery` endpoints export a full result set to\nS3 as NDJSON, JSON, CSV, or Parquet.\n\n- **Up to 5,000 rows per delivery: no entitlement required.** Available to\n every authenticated caller.\n- **Above 5,000 rows: requires the entity's `bulk-delivery.{entity}`\n entitlement** (e.g. `bulk-delivery.loans`). The grant's scope sets your\n row ceiling and may also restrict which rows and fields you receive.\n\nA delivery that would exceed the limit available to you is rejected with\n`403 entitlement_missing`, reporting the matched row count and the ceiling\nthat applied. To stay under the limit, pass `limit` — the job then delivers\n(and bills for) only the first `limit` rows of a broader query.\n\n**Need a higher limit?** Email support@modelmatch.com to request the\nentitlement. Limits are raised per organization and per entity.\n\nBulk delivery is billed at 1 credit per delivered row whether or not\nan entitlement is held.\n\nInstead of a download, a delivery can be sent to a push target configured\non your workspace: pass `destination: { type: \"push-target\", targetId }`.\nThe same limits and billing apply.",
58534
58610
  "title": "ModelMatch API",
58535
- "version": "3.212.0"
58611
+ "version": "3.213.0"
58536
58612
  },
58537
58613
  "openapi": "3.1.0",
58538
58614
  "paths": {
@@ -105042,7 +105118,7 @@
105042
105118
  ]
105043
105119
  },
105044
105120
  "post": {
105045
- "description": "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.",
105121
+ "description": "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. A SQLite database becomes one table per table it holds, `upload_<name>_<table>` (`tables` lists them all; `data` is the first), each naming its `sourceTable` and `sourceRevision`. When the database gets a new revision its tables are read again by themselves (`POST /v1/studio/tables/reload` does it on demand). Free.",
105046
105122
  "operationId": "createStudioTable",
105047
105123
  "requestBody": {
105048
105124
  "content": {
@@ -105172,6 +105248,128 @@
105172
105248
  ]
105173
105249
  }
105174
105250
  },
105251
+ "/v1/studio/tables/reload": {
105252
+ "post": {
105253
+ "description": "Read every table made from a SQLite database in your files library (`fromFileId`) again, from its latest revision. This happens by itself when the database gets a new revision; call it to make sure. Answers `202` at once with the tables being read: each keeps answering on its current rows until its new rows are in, then shows the new `sourceRevision`. A table no longer in the database keeps its rows and says why (`reloadError`). You need to be able to open the file. Free.",
105254
+ "operationId": "reloadStudioTables",
105255
+ "requestBody": {
105256
+ "content": {
105257
+ "application/json": {
105258
+ "schema": {
105259
+ "$ref": "#/components/schemas/StudioTablesReload"
105260
+ }
105261
+ }
105262
+ },
105263
+ "required": true
105264
+ },
105265
+ "responses": {
105266
+ "202": {
105267
+ "content": {
105268
+ "application/json": {
105269
+ "schema": {
105270
+ "$ref": "#/components/schemas/StudioTablesReloaded"
105271
+ }
105272
+ }
105273
+ },
105274
+ "description": "The tables being read again"
105275
+ },
105276
+ "400": {
105277
+ "content": {
105278
+ "application/json": {
105279
+ "schema": {
105280
+ "$ref": "#/components/schemas/StudioError"
105281
+ }
105282
+ }
105283
+ },
105284
+ "description": "`invalid_request` — the request is malformed; `invalid_upload_name` — the name cannot be used; `unsupported_format` — the file is not a CSV, TSV, Excel (.xlsx) or Parquet file."
105285
+ },
105286
+ "401": {
105287
+ "content": {
105288
+ "application/json": {
105289
+ "schema": {
105290
+ "$ref": "#/components/schemas/StudioError"
105291
+ }
105292
+ }
105293
+ },
105294
+ "description": "Authentication required."
105295
+ },
105296
+ "403": {
105297
+ "content": {
105298
+ "application/json": {
105299
+ "schema": {
105300
+ "$ref": "#/components/schemas/StudioError"
105301
+ }
105302
+ }
105303
+ },
105304
+ "description": "`no_organization` — select an organization and retry. `studio_not_enabled` — Studio is not enabled for this account. `protected_not_enabled` — a protected file cannot be loaded into a table."
105305
+ },
105306
+ "404": {
105307
+ "content": {
105308
+ "application/json": {
105309
+ "schema": {
105310
+ "$ref": "#/components/schemas/StudioError"
105311
+ }
105312
+ }
105313
+ },
105314
+ "description": "`not_found` — no file of that id that you can open (or the files library is not enabled for your organization); `upload_not_found` — your organization has no table of that name."
105315
+ },
105316
+ "409": {
105317
+ "content": {
105318
+ "application/json": {
105319
+ "schema": {
105320
+ "$ref": "#/components/schemas/StudioError"
105321
+ }
105322
+ }
105323
+ },
105324
+ "description": "`not_ready` — the file has not finished uploading; `upload_exists` — the name is taken (delete that table first, or pick another name); `upload_limit_reached` — your organization is at its limit of tables (`details.limit`); `upload_storage_full` — the file would take your organization past its total size."
105325
+ },
105326
+ "422": {
105327
+ "content": {
105328
+ "application/json": {
105329
+ "schema": {
105330
+ "$ref": "#/components/schemas/StudioError"
105331
+ }
105332
+ }
105333
+ },
105334
+ "description": "The file holds more than an upload may, or cannot be read: `file_too_large`, `too_many_rows`, `too_many_columns` (`details.limit`), `empty_file`, `unreadable_file`, `ingest_timeout`. `error` says what to change."
105335
+ },
105336
+ "429": {
105337
+ "content": {
105338
+ "application/json": {
105339
+ "schema": {
105340
+ "$ref": "#/components/schemas/StudioError"
105341
+ }
105342
+ }
105343
+ },
105344
+ "description": "`rate_limited` — too many uploads from your organization in the last minute; or `busy` — a file is already being read. Wait `details.retryAfterSeconds` (also sent as `Retry-After`)."
105345
+ },
105346
+ "502": {
105347
+ "content": {
105348
+ "application/json": {
105349
+ "schema": {
105350
+ "$ref": "#/components/schemas/StudioError"
105351
+ }
105352
+ }
105353
+ },
105354
+ "description": "`membership_unavailable` — who may open the file could not be checked. Try again in a minute."
105355
+ },
105356
+ "503": {
105357
+ "content": {
105358
+ "application/json": {
105359
+ "schema": {
105360
+ "$ref": "#/components/schemas/StudioError"
105361
+ }
105362
+ }
105363
+ },
105364
+ "description": "`studio_unavailable` — Studio is not available right now; `storage_unavailable` — the files library is not available right now. Try again in a minute."
105365
+ }
105366
+ },
105367
+ "summary": "Read a database's tables again",
105368
+ "tags": [
105369
+ "Studio"
105370
+ ]
105371
+ }
105372
+ },
105175
105373
  "/v1/studio/tables/{name}": {
105176
105374
  "delete": {
105177
105375
  "description": "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.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@model-match/api",
3
- "version": "3.108.0",
3
+ "version": "3.109.0",
4
4
  "description": "TypeScript client for the ModelMatch API",
5
5
  "license": "MIT",
6
6
  "files": [