@model-match/api 3.111.0 → 3.113.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 +8 -0
- package/dist/{index-BDlga75E.d.mts → index-D3G9n7FS.d.mts} +72 -384
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +3 -27
- package/dist/slim/index.mjs +3 -91
- package/dist/{src-CcvbR87G.mjs → src-Bja7DVkE.mjs} +1 -101
- package/openapi.json +717 -1488
- 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-Bja7DVkE.mjs";
|
|
2
2
|
//#region src/slim/sdk.gen.ts
|
|
3
3
|
/**
|
|
4
4
|
* Search agents with filters
|
|
@@ -3921,94 +3921,6 @@ const searchCrmRecords = (options) => (options?.client ?? client).post({
|
|
|
3921
3921
|
}
|
|
3922
3922
|
});
|
|
3923
3923
|
/**
|
|
3924
|
-
* My still-live call in any customer workspace (reload resume)
|
|
3925
|
-
*/
|
|
3926
|
-
const getRecruitingActiveCall = (options) => (options?.client ?? client).get({
|
|
3927
|
-
security: [{
|
|
3928
|
-
name: "x-api-key",
|
|
3929
|
-
type: "apiKey"
|
|
3930
|
-
}, {
|
|
3931
|
-
scheme: "bearer",
|
|
3932
|
-
type: "http"
|
|
3933
|
-
}],
|
|
3934
|
-
url: "/v1/crm/recruiting/calls/active",
|
|
3935
|
-
...options
|
|
3936
|
-
});
|
|
3937
|
-
/**
|
|
3938
|
-
* Customer workspaces I can work through a service engagement
|
|
3939
|
-
*/
|
|
3940
|
-
const listRecruitingEngagements = (options) => (options?.client ?? client).get({
|
|
3941
|
-
security: [{
|
|
3942
|
-
name: "x-api-key",
|
|
3943
|
-
type: "apiKey"
|
|
3944
|
-
}, {
|
|
3945
|
-
scheme: "bearer",
|
|
3946
|
-
type: "http"
|
|
3947
|
-
}],
|
|
3948
|
-
url: "/v1/crm/recruiting/engagements",
|
|
3949
|
-
...options
|
|
3950
|
-
});
|
|
3951
|
-
/**
|
|
3952
|
-
* My lists across every customer I work
|
|
3953
|
-
*/
|
|
3954
|
-
const listRecruitingLists = (options) => (options?.client ?? client).get({
|
|
3955
|
-
security: [{
|
|
3956
|
-
name: "x-api-key",
|
|
3957
|
-
type: "apiKey"
|
|
3958
|
-
}, {
|
|
3959
|
-
scheme: "bearer",
|
|
3960
|
-
type: "http"
|
|
3961
|
-
}],
|
|
3962
|
-
url: "/v1/crm/recruiting/lists",
|
|
3963
|
-
...options
|
|
3964
|
-
});
|
|
3965
|
-
/**
|
|
3966
|
-
* Records I own across every customer I work
|
|
3967
|
-
*/
|
|
3968
|
-
const listRecruitingPeople = (options) => (options?.client ?? client).get({
|
|
3969
|
-
security: [{
|
|
3970
|
-
name: "x-api-key",
|
|
3971
|
-
type: "apiKey"
|
|
3972
|
-
}, {
|
|
3973
|
-
scheme: "bearer",
|
|
3974
|
-
type: "http"
|
|
3975
|
-
}],
|
|
3976
|
-
url: "/v1/crm/recruiting/people",
|
|
3977
|
-
...options
|
|
3978
|
-
});
|
|
3979
|
-
/**
|
|
3980
|
-
* Search the records I can see across every customer I work
|
|
3981
|
-
*/
|
|
3982
|
-
const searchRecruitingPeople = (options) => (options?.client ?? client).post({
|
|
3983
|
-
security: [{
|
|
3984
|
-
name: "x-api-key",
|
|
3985
|
-
type: "apiKey"
|
|
3986
|
-
}, {
|
|
3987
|
-
scheme: "bearer",
|
|
3988
|
-
type: "http"
|
|
3989
|
-
}],
|
|
3990
|
-
url: "/v1/crm/recruiting/people/search",
|
|
3991
|
-
...options,
|
|
3992
|
-
headers: {
|
|
3993
|
-
"Content-Type": "application/json",
|
|
3994
|
-
...options?.headers
|
|
3995
|
-
}
|
|
3996
|
-
});
|
|
3997
|
-
/**
|
|
3998
|
-
* My open tasks and scheduled meetings across every customer I work
|
|
3999
|
-
*/
|
|
4000
|
-
const getRecruitingQueue = (options) => (options?.client ?? client).get({
|
|
4001
|
-
security: [{
|
|
4002
|
-
name: "x-api-key",
|
|
4003
|
-
type: "apiKey"
|
|
4004
|
-
}, {
|
|
4005
|
-
scheme: "bearer",
|
|
4006
|
-
type: "http"
|
|
4007
|
-
}],
|
|
4008
|
-
url: "/v1/crm/recruiting/queue",
|
|
4009
|
-
...options
|
|
4010
|
-
});
|
|
4011
|
-
/**
|
|
4012
3924
|
* Per-user, per-day activity counts with previous-period totals
|
|
4013
3925
|
*
|
|
4014
3926
|
* Human actions only, attributed to the actor (never the record owner). `previousTotals` covers the equal-length period immediately before `from`. Ratios (connect rate, show rate, win rate) are client-side divisions.
|
|
@@ -7303,7 +7215,7 @@ const listStudioModels = (options) => (options?.client ?? client).get({
|
|
|
7303
7215
|
/**
|
|
7304
7216
|
* Create a prediction model and start training it
|
|
7305
7217
|
*
|
|
7306
|
-
* Define a model — what to predict, for whom, in which state, and the data points to use — and start training it. It answers at once with `status: training` and `expectedMinutes`, a range that depends on the size of the state: a couple of minutes for a small state, 15 to 25 for the largest (an estimate; say the range, and say it is an estimate). Read the model with getStudioModel until it is `ready` or `refused`: `progress` gives the numbered step it is on and how long is left. `features` is the heart of it: the data points the person believes matter. Their own knowledge can be data points too — columns of their uploaded outcomes table such as a lead source or a rating their team gives. To learn from their own results instead of a market outcome, pass `outcomeSource` (an uploaded table with a home, a date and what happened on every row); that usually helps most. Everything a model learns from is taken strictly before each case's date, and a data point that could show it the answer is refused with the reason. To try a different list of data points, send the same `name` with `replace: true`, or a new name with `basedOn`: the new report card says what changed. An uploaded file's table is named `upload_<name>` (the upload `my_deals` is the table `upload_my_deals`); a wrong name is refused with the names that exist. A model may never use a protected characteristic — race, color, ethnicity, national origin, religion, sex or gender, familial status, disability, age, marital status or receipt of public assistance — as a data point, an own column, a direction rule or a boost: a column named for one is refused with `400 protected_characteristic`, naming them in `details.fields`; nothing unlocks it. Neighborhood data points (`needsFairLendingReview`), ZIP code and city boosts and directions on a place are allowed for everyone; the report card adds a fair-lending caveat. `basedOnPublished` starts from a model ModelMatch publishes (its `mm_model_*` table): its outcome, data points and weighting are copied into your organization as your own model — anything this request gives overrides them — and trained on your scope; its report card compares with the published original. Weighting is optional: `recencyWeighting` counts recent past cases more while learning (testing stays unweighted), a `direction` on a number data point holds the model to it, and `boosts` add `priorityScore` and `priorityRank` to the scores table after the model; the report card is about `score`, never the boosted order. A request that cannot work is refused now with a clear reason (`error`, `code`, and the numbers in `details`). An organization can have a few models running at once (3 by default; past that, `409 model_training_in_progress` says how many are running and the limit), and a model runs once at a time; up to 10 models. 50 credits for a model that passes its checks, charged once when it has finished: by the first call that reads it or, if nobody does, on its own within about two hours. A model that is refused or fails is free.
|
|
7218
|
+
* Define a model — what to predict, for whom, in which state, and the data points to use — and start training it. It answers at once with `status: training` and `expectedMinutes`, a range that depends on the size of the state: a couple of minutes for a small state, 15 to 25 for the largest (an estimate; say the range, and say it is an estimate). Read the model with getStudioModel until it is `ready` or `refused`: `progress` gives the numbered step it is on and how long is left. `features` is the heart of it: the data points the person believes matter. Their own knowledge can be data points too — columns of their uploaded outcomes table such as a lead source or a rating their team gives. To learn from their own results instead of a market outcome, pass `outcomeSource` (an uploaded table with a home, a date and what happened on every row); that usually helps most. Everything a model learns from is taken strictly before each case's date, and a data point that could show it the answer is refused with the reason. To try a different list of data points, send the same `name` with `replace: true`, or a new name with `basedOn`: the new report card says what changed. An uploaded file's table is named `upload_<name>` (the upload `my_deals` is the table `upload_my_deals`); a wrong name is refused with the names that exist. A model may never use a protected characteristic — race, color, ethnicity, national origin, religion, sex or gender, familial status, disability, age, marital status or receipt of public assistance — as a data point, an own column, a direction rule or a boost: a column named for one is refused with `400 protected_characteristic`, naming them in `details.fields`; nothing unlocks it. Neighborhood data points (`needsFairLendingReview`), ZIP code and city boosts and directions on a place are allowed for everyone; the report card adds a fair-lending caveat. `basedOnPublished` starts from a model ModelMatch publishes (its `mm_model_*` table): its outcome, data points and weighting are copied into your organization as your own model — anything this request gives overrides them — and trained on your scope; its report card compares with the published original. Weighting is optional: `recencyWeighting` counts recent past cases more while learning (testing stays unweighted), a `direction` on a number data point holds the model to it, and `boosts` add `priorityScore` and `priorityRank` to the scores table after the model; the report card is about `score`, never the boosted order. A request that cannot work is refused now with a clear reason (`error`, `code`, and the numbers in `details`). A model of a few ZIP codes or counties is checked for enough past cases of the outcome first, in seconds and free: with too few it is refused (`422 scope_too_small`) with the smallest wider area that has enough — the county, the county and its neighbors, or the state, never another state — in `details.suggestedScope`, and each area's count in `details.scopeSizes`; `widen: "auto"` trains on that area instead and scores only the area asked about (the model's `focus`; `scoreArea: "training"` scores all of it, with `inFocus` on each row), priced like any model; a re-score keeps both areas and a retrain checks the size again. `widen: "off"` trains on the area as asked. An organization can have a few models running at once (3 by default; past that, `409 model_training_in_progress` says how many are running and the limit), and a model runs once at a time; up to 10 models. 50 credits for a model that passes its checks, charged once when it has finished: by the first call that reads it or, if nobody does, on its own within about two hours. A model that is refused or fails is free.
|
|
7307
7219
|
*/
|
|
7308
7220
|
const createStudioModel = (options) => (options.client ?? client).post({
|
|
7309
7221
|
security: [{
|
|
@@ -7665,4 +7577,4 @@ const completeStudioUpload = (options) => (options.client ?? client).post({
|
|
|
7665
7577
|
...options
|
|
7666
7578
|
});
|
|
7667
7579
|
//#endregion
|
|
7668
|
-
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, createFileDatabase, 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, getFileDatabase, getFilesAccessReport, getHubspotPushStatus, getLender, getLoan, getLoansBulkDeliveryJob, getMe, getMeCredits, getMePlan, getMonitor, getMonitorCheck, getMonitorEmailTokens, getNetwork, getOffice, getOriginator, getOriginatorAgentPulseSignals, getOriginatorClientRetentionSignals, getOriginatorLoMoveSignal, getOriginatorsBulkDeliveryJob, getPropertiesBulkDeliveryJob, getProperty, getRealtimeConfig,
|
|
7580
|
+
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, createFileDatabase, 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, getFileDatabase, getFilesAccessReport, 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, pinFile, placeCrmCall, previewAlertEmailTemplate, previewAlertRecipe, previewAlerts, previewMonitor, previewMonitorEmail, previewMyAlertRecipe, propertiesAnalyticsChart, propertiesAnalyticsSummary, propertyRelated, pushToHubspot, queryFileDatabase, 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, 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, writeFileDatabase };
|
|
@@ -5076,106 +5076,6 @@ var Crm = class {
|
|
|
5076
5076
|
});
|
|
5077
5077
|
}
|
|
5078
5078
|
/**
|
|
5079
|
-
* My still-live call in any customer workspace (reload resume)
|
|
5080
|
-
*/
|
|
5081
|
-
static getRecruitingActiveCall(options) {
|
|
5082
|
-
return (options?.client ?? client).get({
|
|
5083
|
-
security: [{
|
|
5084
|
-
name: "x-api-key",
|
|
5085
|
-
type: "apiKey"
|
|
5086
|
-
}, {
|
|
5087
|
-
scheme: "bearer",
|
|
5088
|
-
type: "http"
|
|
5089
|
-
}],
|
|
5090
|
-
url: "/v1/crm/recruiting/calls/active",
|
|
5091
|
-
...options
|
|
5092
|
-
});
|
|
5093
|
-
}
|
|
5094
|
-
/**
|
|
5095
|
-
* Customer workspaces I can work through a service engagement
|
|
5096
|
-
*/
|
|
5097
|
-
static listRecruitingEngagements(options) {
|
|
5098
|
-
return (options?.client ?? client).get({
|
|
5099
|
-
security: [{
|
|
5100
|
-
name: "x-api-key",
|
|
5101
|
-
type: "apiKey"
|
|
5102
|
-
}, {
|
|
5103
|
-
scheme: "bearer",
|
|
5104
|
-
type: "http"
|
|
5105
|
-
}],
|
|
5106
|
-
url: "/v1/crm/recruiting/engagements",
|
|
5107
|
-
...options
|
|
5108
|
-
});
|
|
5109
|
-
}
|
|
5110
|
-
/**
|
|
5111
|
-
* My lists across every customer I work
|
|
5112
|
-
*/
|
|
5113
|
-
static listRecruitingLists(options) {
|
|
5114
|
-
return (options?.client ?? client).get({
|
|
5115
|
-
security: [{
|
|
5116
|
-
name: "x-api-key",
|
|
5117
|
-
type: "apiKey"
|
|
5118
|
-
}, {
|
|
5119
|
-
scheme: "bearer",
|
|
5120
|
-
type: "http"
|
|
5121
|
-
}],
|
|
5122
|
-
url: "/v1/crm/recruiting/lists",
|
|
5123
|
-
...options
|
|
5124
|
-
});
|
|
5125
|
-
}
|
|
5126
|
-
/**
|
|
5127
|
-
* Records I own across every customer I work
|
|
5128
|
-
*/
|
|
5129
|
-
static listRecruitingPeople(options) {
|
|
5130
|
-
return (options?.client ?? client).get({
|
|
5131
|
-
security: [{
|
|
5132
|
-
name: "x-api-key",
|
|
5133
|
-
type: "apiKey"
|
|
5134
|
-
}, {
|
|
5135
|
-
scheme: "bearer",
|
|
5136
|
-
type: "http"
|
|
5137
|
-
}],
|
|
5138
|
-
url: "/v1/crm/recruiting/people",
|
|
5139
|
-
...options
|
|
5140
|
-
});
|
|
5141
|
-
}
|
|
5142
|
-
/**
|
|
5143
|
-
* Search the records I can see across every customer I work
|
|
5144
|
-
*/
|
|
5145
|
-
static searchRecruitingPeople(options) {
|
|
5146
|
-
return (options?.client ?? client).post({
|
|
5147
|
-
security: [{
|
|
5148
|
-
name: "x-api-key",
|
|
5149
|
-
type: "apiKey"
|
|
5150
|
-
}, {
|
|
5151
|
-
scheme: "bearer",
|
|
5152
|
-
type: "http"
|
|
5153
|
-
}],
|
|
5154
|
-
url: "/v1/crm/recruiting/people/search",
|
|
5155
|
-
...options,
|
|
5156
|
-
headers: {
|
|
5157
|
-
"Content-Type": "application/json",
|
|
5158
|
-
...options?.headers
|
|
5159
|
-
}
|
|
5160
|
-
});
|
|
5161
|
-
}
|
|
5162
|
-
/**
|
|
5163
|
-
* My open tasks and scheduled meetings across every customer I work
|
|
5164
|
-
*/
|
|
5165
|
-
static getRecruitingQueue(options) {
|
|
5166
|
-
return (options?.client ?? client).get({
|
|
5167
|
-
security: [{
|
|
5168
|
-
name: "x-api-key",
|
|
5169
|
-
type: "apiKey"
|
|
5170
|
-
}, {
|
|
5171
|
-
scheme: "bearer",
|
|
5172
|
-
type: "http"
|
|
5173
|
-
}],
|
|
5174
|
-
url: "/v1/crm/recruiting/queue",
|
|
5175
|
-
...options
|
|
5176
|
-
});
|
|
5177
|
-
}
|
|
5178
|
-
/**
|
|
5179
5079
|
* Per-user, per-day activity counts with previous-period totals
|
|
5180
5080
|
*
|
|
5181
5081
|
* Human actions only, attributed to the actor (never the record owner). `previousTotals` covers the equal-length period immediately before `from`. Ratios (connect rate, show rate, win rate) are client-side divisions.
|
|
@@ -8804,7 +8704,7 @@ var Studio = class {
|
|
|
8804
8704
|
/**
|
|
8805
8705
|
* Create a prediction model and start training it
|
|
8806
8706
|
*
|
|
8807
|
-
* Define a model — what to predict, for whom, in which state, and the data points to use — and start training it. It answers at once with `status: training` and `expectedMinutes`, a range that depends on the size of the state: a couple of minutes for a small state, 15 to 25 for the largest (an estimate; say the range, and say it is an estimate). Read the model with getStudioModel until it is `ready` or `refused`: `progress` gives the numbered step it is on and how long is left. `features` is the heart of it: the data points the person believes matter. Their own knowledge can be data points too — columns of their uploaded outcomes table such as a lead source or a rating their team gives. To learn from their own results instead of a market outcome, pass `outcomeSource` (an uploaded table with a home, a date and what happened on every row); that usually helps most. Everything a model learns from is taken strictly before each case's date, and a data point that could show it the answer is refused with the reason. To try a different list of data points, send the same `name` with `replace: true`, or a new name with `basedOn`: the new report card says what changed. An uploaded file's table is named `upload_<name>` (the upload `my_deals` is the table `upload_my_deals`); a wrong name is refused with the names that exist. A model may never use a protected characteristic — race, color, ethnicity, national origin, religion, sex or gender, familial status, disability, age, marital status or receipt of public assistance — as a data point, an own column, a direction rule or a boost: a column named for one is refused with `400 protected_characteristic`, naming them in `details.fields`; nothing unlocks it. Neighborhood data points (`needsFairLendingReview`), ZIP code and city boosts and directions on a place are allowed for everyone; the report card adds a fair-lending caveat. `basedOnPublished` starts from a model ModelMatch publishes (its `mm_model_*` table): its outcome, data points and weighting are copied into your organization as your own model — anything this request gives overrides them — and trained on your scope; its report card compares with the published original. Weighting is optional: `recencyWeighting` counts recent past cases more while learning (testing stays unweighted), a `direction` on a number data point holds the model to it, and `boosts` add `priorityScore` and `priorityRank` to the scores table after the model; the report card is about `score`, never the boosted order. A request that cannot work is refused now with a clear reason (`error`, `code`, and the numbers in `details`). An organization can have a few models running at once (3 by default; past that, `409 model_training_in_progress` says how many are running and the limit), and a model runs once at a time; up to 10 models. 50 credits for a model that passes its checks, charged once when it has finished: by the first call that reads it or, if nobody does, on its own within about two hours. A model that is refused or fails is free.
|
|
8707
|
+
* Define a model — what to predict, for whom, in which state, and the data points to use — and start training it. It answers at once with `status: training` and `expectedMinutes`, a range that depends on the size of the state: a couple of minutes for a small state, 15 to 25 for the largest (an estimate; say the range, and say it is an estimate). Read the model with getStudioModel until it is `ready` or `refused`: `progress` gives the numbered step it is on and how long is left. `features` is the heart of it: the data points the person believes matter. Their own knowledge can be data points too — columns of their uploaded outcomes table such as a lead source or a rating their team gives. To learn from their own results instead of a market outcome, pass `outcomeSource` (an uploaded table with a home, a date and what happened on every row); that usually helps most. Everything a model learns from is taken strictly before each case's date, and a data point that could show it the answer is refused with the reason. To try a different list of data points, send the same `name` with `replace: true`, or a new name with `basedOn`: the new report card says what changed. An uploaded file's table is named `upload_<name>` (the upload `my_deals` is the table `upload_my_deals`); a wrong name is refused with the names that exist. A model may never use a protected characteristic — race, color, ethnicity, national origin, religion, sex or gender, familial status, disability, age, marital status or receipt of public assistance — as a data point, an own column, a direction rule or a boost: a column named for one is refused with `400 protected_characteristic`, naming them in `details.fields`; nothing unlocks it. Neighborhood data points (`needsFairLendingReview`), ZIP code and city boosts and directions on a place are allowed for everyone; the report card adds a fair-lending caveat. `basedOnPublished` starts from a model ModelMatch publishes (its `mm_model_*` table): its outcome, data points and weighting are copied into your organization as your own model — anything this request gives overrides them — and trained on your scope; its report card compares with the published original. Weighting is optional: `recencyWeighting` counts recent past cases more while learning (testing stays unweighted), a `direction` on a number data point holds the model to it, and `boosts` add `priorityScore` and `priorityRank` to the scores table after the model; the report card is about `score`, never the boosted order. A request that cannot work is refused now with a clear reason (`error`, `code`, and the numbers in `details`). A model of a few ZIP codes or counties is checked for enough past cases of the outcome first, in seconds and free: with too few it is refused (`422 scope_too_small`) with the smallest wider area that has enough — the county, the county and its neighbors, or the state, never another state — in `details.suggestedScope`, and each area's count in `details.scopeSizes`; `widen: "auto"` trains on that area instead and scores only the area asked about (the model's `focus`; `scoreArea: "training"` scores all of it, with `inFocus` on each row), priced like any model; a re-score keeps both areas and a retrain checks the size again. `widen: "off"` trains on the area as asked. An organization can have a few models running at once (3 by default; past that, `409 model_training_in_progress` says how many are running and the limit), and a model runs once at a time; up to 10 models. 50 credits for a model that passes its checks, charged once when it has finished: by the first call that reads it or, if nobody does, on its own within about two hours. A model that is refused or fails is free.
|
|
8808
8708
|
*/
|
|
8809
8709
|
static createStudioModel(options) {
|
|
8810
8710
|
return (options.client ?? client).post({
|