@model-match/api 3.66.0 → 3.67.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 { S as client, n as createClient } from "../src-K4EJo0JN.mjs";
1
+ import { S as client, n as createClient } from "../src-BlV7W2N6.mjs";
2
2
  //#region src/slim/sdk.gen.ts
3
3
  /**
4
4
  * Search agents with filters
@@ -5943,6 +5943,26 @@ const propertyRelated = (options) => (options.client ?? client).get({
5943
5943
  ...options
5944
5944
  });
5945
5945
  /**
5946
+ * Flag a transaction on a property's history
5947
+ *
5948
+ * Report that a listing, sale or mortgage on a property's history looks wrong — a wrong loan amount, loan officer or company, a duplicate, missing details, or a missing transaction. The flag is reviewed by the Model Match data team; this call only records it and answers immediately. Flagging the same transaction for the same reason again while the first flag is still open returns the first flag's `id`.
5949
+ */
5950
+ const createPropertyTransactionFlag = (options) => (options.client ?? client).post({
5951
+ security: [{
5952
+ name: "x-api-key",
5953
+ type: "apiKey"
5954
+ }, {
5955
+ scheme: "bearer",
5956
+ type: "http"
5957
+ }],
5958
+ url: "/v1/properties/{mmPropertyId}/transaction-flags",
5959
+ ...options,
5960
+ headers: {
5961
+ "Content-Type": "application/json",
5962
+ ...options.headers
5963
+ }
5964
+ });
5965
+ /**
5946
5966
  * Get realtime connection config
5947
5967
  *
5948
5968
  * Returns the realtime/notifications connection info (endpoint, authorizer, app, stage) merged with the caller's userId, so a trusted client can connect to its per-user IoT MQTT topic.
@@ -6259,4 +6279,4 @@ const getSearchToken = (options) => (options?.client ?? client).get({
6259
6279
  ...options
6260
6280
  });
6261
6281
  //#endregion
6262
- 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, companyAgents, companyAnalyticsChart, companyAnalyticsSummary, companyAnalyticsTimeSeries, companyBranches, companyBrokers, companyCities, companyCommunityLendingBenchmark, companyCommunityLendingMap, companyCounties, companyDepartureStatus, companyEarlyExits, companyEmployeeStats, companyEmployment, companyHeadcount, companyLenders, companyMarkets, companyMoverProduction, companyOffices, companyOriginators, companyRelated, companyRetention, companyRetentionActiveListings, companyRetentionCaptured, companySponsoredIndividuals, companySponsorshipMovement, companyStates, companyTalentFlow, companyTitleCompanies, companyZipCodes, countAgents, countBranches, countCompanies, countLenders, countLoans, countOffices, countOriginators, countProperties, countSales, createAgentContactSubmission, createAlertSubscription, createClient, createCrmList, createCrmListField, createCrmManualRecord, createCrmMeeting, createCrmObjectField, createCrmRecord, createCrmTask, createCrmTemplate, createMyAlertRecipe, createOriginatorContactSubmission, createSavedFilter, crmLenderChannels, crmLoLoanMix, crmLoMomentum, crmLoSponsorLocation, crmSimilarOriginators, declineCrmMiUpdate, deleteAlertSubscription, deleteCrmCallerId, deleteCrmList, deleteCrmListField, deleteCrmMeeting, deleteCrmNote, deleteCrmObjectField, deleteCrmRecord, deleteCrmRecords, deleteCrmTask, deleteCrmTemplate, deleteMyAlertRecipe, deleteSavedFilter, 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, getHubspotPushStatus, getLender, getLoan, getLoansBulkDeliveryJob, getMe, getMeCredits, getMePlan, getOffice, getOriginator, getOriginatorsBulkDeliveryJob, getPropertiesBulkDeliveryJob, getProperty, getRealtimeConfig, getSale, getSavedFilter, getSavedFilterShares, getSearchToken, grantCrmListAccess, grantCrmRecordAccess, grantCrmRecordAccessRequest, grantSavedFilterAccess, hangupCrmCall, importCrmRecords, instantSearch, lenderCities, lenderCompanies, lenderCounties, lenderOriginators, lenderStates, linkCrmRecord, listAgentOfficeGroups, listAgents, listAlertDigests, listAlertLog, listAlertRecipes, listAlertSubscriptions, listBranches, listCompanies, listCrmActivity, listCrmCallerIds, listCrmContactMethods, listCrmCustomFields, listCrmImportRows, listCrmImports, listCrmListAssignees, listCrmListFields, listCrmListMemberships, listCrmListShareableMembers, listCrmLists, listCrmMeetings, listCrmMembers, listCrmOrgMembers, listCrmRecordShareableMembers, listCrmRecordShares, listCrmReferencedActivity, listCrmTasks, listCrmTemplates, listCrmWorkspaceMeetings, listCrmWorkspaceTasks, listEnrichments, listLenders, listLoans, listMyAlertRecipes, listOffices, listOriginators, listProperties, listSales, listSavedFilterShareableMembers, listSavedFilters, listWatchedAgents, listWatchedAreas, listWatchedDocuments, loanRelated, loansAnalyticsChart, loansAnalyticsSummary, loansAnalyticsTimeSeries, logCrmActivity, lookupCompanies, 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, previewMyAlertRecipe, propertiesAnalyticsChart, propertiesAnalyticsSummary, propertyRelated, pushToHubspot, reconcileCrmMeetings, refreshCrmRecordMirror, removeCrmContactMethod, removeCrmListMember, removeWatchedAgent, removeWatchedArea, removeWatchedDocument, requestCrmAccess, requestCrmRecordAccess, resolveProperties, retrieveLocation, revokeCrmListAccess, revokeCrmRecordAccess, revokeSavedFilterAccess, saleRelated, salesAnalyticsChart, salesAnalyticsSummary, salesAnalyticsTimeSeries, searchCrmEmailRecipients, searchCrmMatchCandidates, searchCrmMentionRecords, searchCrmRecords, searchProperties, sendCrmEmail, setCrmCallAnalysis, setCrmCustomValue, setCrmOverride, setCrmRecordOwner, setDefaultCrmCallerId, shareCrmTemplate, submitAgentsBulkDelivery, submitBranchesBulkDelivery, submitCompaniesBulkDelivery, submitLoansBulkDelivery, submitOriginatorsBulkDelivery, submitPropertiesBulkDelivery, subscribeAlertRecipe, suggestLocations, suggestOfficeNames, transcribeCrmCall, transferCrmListOwnership, undoCrmImport, unshareCrmTemplate, unsubscribeAlertRecipe, updateAlertConditions, updateCrmContactMethod, updateCrmList, updateCrmListField, updateCrmMeeting, updateCrmObjectField, updateCrmTask, updateCrmTemplate, updateMe, updateMyAlertRecipe, updateSavedFilter };
6282
+ 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, companyAgents, companyAnalyticsChart, companyAnalyticsSummary, companyAnalyticsTimeSeries, companyBranches, companyBrokers, companyCities, companyCommunityLendingBenchmark, companyCommunityLendingMap, companyCounties, companyDepartureStatus, companyEarlyExits, companyEmployeeStats, companyEmployment, companyHeadcount, companyLenders, companyMarkets, companyMoverProduction, companyOffices, companyOriginators, companyRelated, companyRetention, companyRetentionActiveListings, companyRetentionCaptured, companySponsoredIndividuals, companySponsorshipMovement, companyStates, companyTalentFlow, companyTitleCompanies, companyZipCodes, countAgents, countBranches, countCompanies, countLenders, countLoans, countOffices, countOriginators, countProperties, countSales, createAgentContactSubmission, createAlertSubscription, createClient, createCrmList, createCrmListField, createCrmManualRecord, createCrmMeeting, createCrmObjectField, createCrmRecord, createCrmTask, createCrmTemplate, createMyAlertRecipe, createOriginatorContactSubmission, createPropertyTransactionFlag, createSavedFilter, crmLenderChannels, crmLoLoanMix, crmLoMomentum, crmLoSponsorLocation, crmSimilarOriginators, declineCrmMiUpdate, deleteAlertSubscription, deleteCrmCallerId, deleteCrmList, deleteCrmListField, deleteCrmMeeting, deleteCrmNote, deleteCrmObjectField, deleteCrmRecord, deleteCrmRecords, deleteCrmTask, deleteCrmTemplate, deleteMyAlertRecipe, deleteSavedFilter, 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, getHubspotPushStatus, getLender, getLoan, getLoansBulkDeliveryJob, getMe, getMeCredits, getMePlan, getOffice, getOriginator, getOriginatorsBulkDeliveryJob, getPropertiesBulkDeliveryJob, getProperty, getRealtimeConfig, getSale, getSavedFilter, getSavedFilterShares, getSearchToken, grantCrmListAccess, grantCrmRecordAccess, grantCrmRecordAccessRequest, grantSavedFilterAccess, hangupCrmCall, importCrmRecords, instantSearch, lenderCities, lenderCompanies, lenderCounties, lenderOriginators, lenderStates, linkCrmRecord, listAgentOfficeGroups, listAgents, listAlertDigests, listAlertLog, listAlertRecipes, listAlertSubscriptions, listBranches, listCompanies, listCrmActivity, listCrmCallerIds, listCrmContactMethods, listCrmCustomFields, listCrmImportRows, listCrmImports, listCrmListAssignees, listCrmListFields, listCrmListMemberships, listCrmListShareableMembers, listCrmLists, listCrmMeetings, listCrmMembers, listCrmOrgMembers, listCrmRecordShareableMembers, listCrmRecordShares, listCrmReferencedActivity, listCrmTasks, listCrmTemplates, listCrmWorkspaceMeetings, listCrmWorkspaceTasks, listEnrichments, listLenders, listLoans, listMyAlertRecipes, listOffices, listOriginators, listProperties, listSales, listSavedFilterShareableMembers, listSavedFilters, listWatchedAgents, listWatchedAreas, listWatchedDocuments, loanRelated, loansAnalyticsChart, loansAnalyticsSummary, loansAnalyticsTimeSeries, logCrmActivity, lookupCompanies, 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, previewMyAlertRecipe, propertiesAnalyticsChart, propertiesAnalyticsSummary, propertyRelated, pushToHubspot, reconcileCrmMeetings, refreshCrmRecordMirror, removeCrmContactMethod, removeCrmListMember, removeWatchedAgent, removeWatchedArea, removeWatchedDocument, requestCrmAccess, requestCrmRecordAccess, resolveProperties, retrieveLocation, revokeCrmListAccess, revokeCrmRecordAccess, revokeSavedFilterAccess, saleRelated, salesAnalyticsChart, salesAnalyticsSummary, salesAnalyticsTimeSeries, searchCrmEmailRecipients, searchCrmMatchCandidates, searchCrmMentionRecords, searchCrmRecords, searchProperties, sendCrmEmail, setCrmCallAnalysis, setCrmCustomValue, setCrmOverride, setCrmRecordOwner, setDefaultCrmCallerId, shareCrmTemplate, submitAgentsBulkDelivery, submitBranchesBulkDelivery, submitCompaniesBulkDelivery, submitLoansBulkDelivery, submitOriginatorsBulkDelivery, submitPropertiesBulkDelivery, subscribeAlertRecipe, suggestLocations, suggestOfficeNames, transcribeCrmCall, transferCrmListOwnership, undoCrmImport, unshareCrmTemplate, unsubscribeAlertRecipe, updateAlertConditions, updateCrmContactMethod, updateCrmList, updateCrmListField, updateCrmMeeting, updateCrmObjectField, updateCrmTask, updateCrmTemplate, updateMe, updateMyAlertRecipe, updateSavedFilter };
@@ -7305,6 +7305,28 @@ var Properties = class {
7305
7305
  ...options
7306
7306
  });
7307
7307
  }
7308
+ /**
7309
+ * Flag a transaction on a property's history
7310
+ *
7311
+ * Report that a listing, sale or mortgage on a property's history looks wrong — a wrong loan amount, loan officer or company, a duplicate, missing details, or a missing transaction. The flag is reviewed by the Model Match data team; this call only records it and answers immediately. Flagging the same transaction for the same reason again while the first flag is still open returns the first flag's `id`.
7312
+ */
7313
+ static createPropertyTransactionFlag(options) {
7314
+ return (options.client ?? client).post({
7315
+ security: [{
7316
+ name: "x-api-key",
7317
+ type: "apiKey"
7318
+ }, {
7319
+ scheme: "bearer",
7320
+ type: "http"
7321
+ }],
7322
+ url: "/v1/properties/{mmPropertyId}/transaction-flags",
7323
+ ...options,
7324
+ headers: {
7325
+ "Content-Type": "application/json",
7326
+ ...options.headers
7327
+ }
7328
+ });
7329
+ }
7308
7330
  };
7309
7331
  var Realtime = class {
7310
7332
  /**
package/openapi.json CHANGED
@@ -18630,6 +18630,73 @@
18630
18630
  ],
18631
18631
  "type": "object"
18632
18632
  },
18633
+ "CreateTransactionFlagBody": {
18634
+ "additionalProperties": false,
18635
+ "properties": {
18636
+ "address": {
18637
+ "description": "The property's address as the user saw it.",
18638
+ "example": "123 Main St, Austin, TX 78701",
18639
+ "maxLength": 1000,
18640
+ "type": "string"
18641
+ },
18642
+ "details": {
18643
+ "description": "What is wrong, in the user's words (up to 2000 characters). Markup and control characters are removed.",
18644
+ "maxLength": 8000,
18645
+ "type": "string"
18646
+ },
18647
+ "eventDate": {
18648
+ "description": "The row's date as shown (ISO date preferred).",
18649
+ "example": "2026-04-12",
18650
+ "maxLength": 80,
18651
+ "type": "string"
18652
+ },
18653
+ "eventId": {
18654
+ "description": "The listing / sale / loan id of the history row being flagged.",
18655
+ "example": "loan_abc123",
18656
+ "maxLength": 256,
18657
+ "minLength": 1,
18658
+ "type": "string"
18659
+ },
18660
+ "eventSummary": {
18661
+ "description": "The row's one-line summary as shown.",
18662
+ "example": "$450,000 · Conventional · Acme Mortgage",
18663
+ "maxLength": 1000,
18664
+ "type": "string"
18665
+ },
18666
+ "eventType": {
18667
+ "enum": [
18668
+ "listing",
18669
+ "sold",
18670
+ "mortgage"
18671
+ ],
18672
+ "type": "string"
18673
+ },
18674
+ "profile": {
18675
+ "$ref": "#/components/schemas/TransactionFlagProfile"
18676
+ },
18677
+ "reason": {
18678
+ "enum": [
18679
+ "wrong-loan-amount",
18680
+ "wrong-lo-or-company",
18681
+ "wrong-property-details",
18682
+ "duplicate",
18683
+ "missing-details",
18684
+ "missing-transaction",
18685
+ "other"
18686
+ ],
18687
+ "type": "string"
18688
+ }
18689
+ },
18690
+ "required": [
18691
+ "address",
18692
+ "eventId",
18693
+ "eventType",
18694
+ "eventDate",
18695
+ "eventSummary",
18696
+ "reason"
18697
+ ],
18698
+ "type": "object"
18699
+ },
18633
18700
  "CrmActiveCall": {
18634
18701
  "nullable": true,
18635
18702
  "properties": {
@@ -45394,6 +45461,55 @@
45394
45461
  }
45395
45462
  ]
45396
45463
  },
45464
+ "TransactionFlagAccepted": {
45465
+ "properties": {
45466
+ "data": {
45467
+ "properties": {
45468
+ "id": {
45469
+ "description": "The flag id.",
45470
+ "type": "string"
45471
+ }
45472
+ },
45473
+ "required": [
45474
+ "id"
45475
+ ],
45476
+ "type": "object"
45477
+ }
45478
+ },
45479
+ "required": [
45480
+ "data"
45481
+ ],
45482
+ "type": "object"
45483
+ },
45484
+ "TransactionFlagProfile": {
45485
+ "additionalProperties": false,
45486
+ "description": "The profile the user flagged it from, when there was one.",
45487
+ "properties": {
45488
+ "id": {
45489
+ "maxLength": 256,
45490
+ "minLength": 1,
45491
+ "type": "string"
45492
+ },
45493
+ "type": {
45494
+ "enum": [
45495
+ "agent",
45496
+ "loan-officer",
45497
+ "company"
45498
+ ],
45499
+ "type": "string"
45500
+ },
45501
+ "url": {
45502
+ "description": "Link to the profile in the app. Ignored unless it is a public http(s) URL.",
45503
+ "maxLength": 2048,
45504
+ "type": "string"
45505
+ }
45506
+ },
45507
+ "required": [
45508
+ "type",
45509
+ "id"
45510
+ ],
45511
+ "type": "object"
45512
+ },
45397
45513
  "UnreadCountResponse": {
45398
45514
  "properties": {
45399
45515
  "data": {
@@ -45844,7 +45960,7 @@
45844
45960
  "info": {
45845
45961
  "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.",
45846
45962
  "title": "ModelMatch API",
45847
- "version": "3.132.0"
45963
+ "version": "3.133.0"
45848
45964
  },
45849
45965
  "openapi": "3.1.0",
45850
45966
  "paths": {
@@ -81940,6 +82056,11 @@
81940
82056
  "description": "Credits this request asked for, when known.",
81941
82057
  "type": "number"
81942
82058
  },
82059
+ "retryAfterSeconds": {
82060
+ "description": "`rate_limited` only: seconds to wait before retrying, when the billing server reported it (also sent as a `Retry-After` header). A `rate_limited` throttle is short-term and is NOT the daily cap.",
82061
+ "minimum": 0,
82062
+ "type": "integer"
82063
+ },
81943
82064
  "used": {
81944
82065
  "description": "Credits already used in the window, when known.",
81945
82066
  "type": "number"
@@ -81952,7 +82073,15 @@
81952
82073
  }
81953
82074
  }
81954
82075
  },
81955
- "description": "Throttled — `daily_limit_exceeded` (daily category cap) or `rate_limited` (generic limiter)"
82076
+ "description": "Throttled — `daily_limit_exceeded` (daily category cap, proven by the billing server's structured fields) or `rate_limited` (a short-term throttle that clears on retry; not the daily cap)",
82077
+ "headers": {
82078
+ "Retry-After": {
82079
+ "description": "`rate_limited` only, when known: seconds to wait before retrying.",
82080
+ "schema": {
82081
+ "type": "integer"
82082
+ }
82083
+ }
82084
+ }
81956
82085
  },
81957
82086
  "502": {
81958
82087
  "content": {
@@ -82093,6 +82222,132 @@
82093
82222
  ]
82094
82223
  }
82095
82224
  },
82225
+ "/v1/properties/{mmPropertyId}/transaction-flags": {
82226
+ "post": {
82227
+ "description": "Report that a listing, sale or mortgage on a property's history looks wrong — a wrong loan amount, loan officer or company, a duplicate, missing details, or a missing transaction. The flag is reviewed by the Model Match data team; this call only records it and answers immediately. Flagging the same transaction for the same reason again while the first flag is still open returns the first flag's `id`.",
82228
+ "operationId": "createPropertyTransactionFlag",
82229
+ "parameters": [
82230
+ {
82231
+ "description": "The property's `mmPropertyId`.",
82232
+ "in": "path",
82233
+ "name": "mmPropertyId",
82234
+ "required": true,
82235
+ "schema": {
82236
+ "description": "The property's `mmPropertyId`.",
82237
+ "example": "mm_37035375304734463",
82238
+ "maxLength": 256,
82239
+ "minLength": 1,
82240
+ "type": "string"
82241
+ }
82242
+ }
82243
+ ],
82244
+ "requestBody": {
82245
+ "content": {
82246
+ "application/json": {
82247
+ "schema": {
82248
+ "$ref": "#/components/schemas/CreateTransactionFlagBody"
82249
+ }
82250
+ }
82251
+ }
82252
+ },
82253
+ "responses": {
82254
+ "202": {
82255
+ "content": {
82256
+ "application/json": {
82257
+ "schema": {
82258
+ "$ref": "#/components/schemas/TransactionFlagAccepted"
82259
+ }
82260
+ }
82261
+ },
82262
+ "description": "Recorded. Review happens afterwards."
82263
+ },
82264
+ "400": {
82265
+ "content": {
82266
+ "application/json": {
82267
+ "schema": {
82268
+ "$ref": "#/components/schemas/ErrorResponse"
82269
+ }
82270
+ }
82271
+ },
82272
+ "description": "Validation error"
82273
+ },
82274
+ "401": {
82275
+ "content": {
82276
+ "application/json": {
82277
+ "schema": {
82278
+ "$ref": "#/components/schemas/ErrorResponse"
82279
+ }
82280
+ }
82281
+ },
82282
+ "description": "Unauthorized"
82283
+ },
82284
+ "403": {
82285
+ "content": {
82286
+ "application/json": {
82287
+ "schema": {
82288
+ "$ref": "#/components/schemas/ErrorResponse"
82289
+ }
82290
+ }
82291
+ },
82292
+ "description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
82293
+ },
82294
+ "404": {
82295
+ "content": {
82296
+ "application/json": {
82297
+ "schema": {
82298
+ "$ref": "#/components/schemas/ErrorResponse"
82299
+ }
82300
+ }
82301
+ },
82302
+ "description": "Not found"
82303
+ },
82304
+ "413": {
82305
+ "content": {
82306
+ "application/json": {
82307
+ "schema": {
82308
+ "$ref": "#/components/schemas/ErrorResponse"
82309
+ }
82310
+ }
82311
+ },
82312
+ "description": "The request body is too large."
82313
+ },
82314
+ "415": {
82315
+ "content": {
82316
+ "application/json": {
82317
+ "schema": {
82318
+ "$ref": "#/components/schemas/ErrorResponse"
82319
+ }
82320
+ }
82321
+ },
82322
+ "description": "The body must be sent as `application/json`."
82323
+ },
82324
+ "429": {
82325
+ "content": {
82326
+ "application/json": {
82327
+ "schema": {
82328
+ "$ref": "#/components/schemas/ErrorResponse"
82329
+ }
82330
+ }
82331
+ },
82332
+ "description": "Too many flags in the last 24 hours. Try again later."
82333
+ },
82334
+ "503": {
82335
+ "content": {
82336
+ "application/json": {
82337
+ "schema": {
82338
+ "$ref": "#/components/schemas/SearchUnavailable"
82339
+ }
82340
+ }
82341
+ },
82342
+ "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
82343
+ }
82344
+ },
82345
+ "summary": "Flag a transaction on a property's history",
82346
+ "tags": [
82347
+ "Properties"
82348
+ ]
82349
+ }
82350
+ },
82096
82351
  "/v1/realtime/config": {
82097
82352
  "get": {
82098
82353
  "description": "Returns the realtime/notifications connection info (endpoint, authorizer, app, stage) merged with the caller's userId, so a trusted client can connect to its per-user IoT MQTT topic.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@model-match/api",
3
- "version": "3.66.0",
3
+ "version": "3.67.0",
4
4
  "description": "TypeScript client for the ModelMatch API",
5
5
  "license": "MIT",
6
6
  "files": [