@nightsquawktech/appfolio-mcp-server 0.0.1

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.
Files changed (313) hide show
  1. package/COMMERCIAL.md +35 -0
  2. package/LICENSE +661 -0
  3. package/README.md +127 -0
  4. package/dist/catalog/index.json +1511 -0
  5. package/dist/catalog/report-spec.js +27 -0
  6. package/dist/catalog/reports/account_totals.json +112 -0
  7. package/dist/catalog/reports/additional_fees.json +73 -0
  8. package/dist/catalog/reports/aged_payables_summary.json +124 -0
  9. package/dist/catalog/reports/aged_receivables_detail.json +132 -0
  10. package/dist/catalog/reports/amenities_by_property.json +73 -0
  11. package/dist/catalog/reports/annual_budget_comparative.json +138 -0
  12. package/dist/catalog/reports/annual_budget_forecast.json +125 -0
  13. package/dist/catalog/reports/appfolio_stack_usage.json +112 -0
  14. package/dist/catalog/reports/association_work_order.json +232 -0
  15. package/dist/catalog/reports/balance_sheet.json +124 -0
  16. package/dist/catalog/reports/balance_sheet_comparative.json +126 -0
  17. package/dist/catalog/reports/balance_sheet_comparison.json +113 -0
  18. package/dist/catalog/reports/bank_account_association.json +94 -0
  19. package/dist/catalog/reports/bill_detail.json +183 -0
  20. package/dist/catalog/reports/board_of_directors.json +87 -0
  21. package/dist/catalog/reports/budget_comparative.json +162 -0
  22. package/dist/catalog/reports/budget_comparison.json +141 -0
  23. package/dist/catalog/reports/cancelled_processes.json +122 -0
  24. package/dist/catalog/reports/cash_flow.json +158 -0
  25. package/dist/catalog/reports/cash_flow_comparison.json +158 -0
  26. package/dist/catalog/reports/cash_flow_detail.json +129 -0
  27. package/dist/catalog/reports/charge_detail.json +198 -0
  28. package/dist/catalog/reports/chart_of_accounts.json +22 -0
  29. package/dist/catalog/reports/check_register.json +181 -0
  30. package/dist/catalog/reports/check_register_detail.json +181 -0
  31. package/dist/catalog/reports/completed_processes.json +117 -0
  32. package/dist/catalog/reports/delinquency.json +164 -0
  33. package/dist/catalog/reports/delinquency_as_of.json +155 -0
  34. package/dist/catalog/reports/deposit_register.json +51 -0
  35. package/dist/catalog/reports/dues_roll.json +89 -0
  36. package/dist/catalog/reports/dues_roll_itemized.json +113 -0
  37. package/dist/catalog/reports/eligible_debt_summary.json +73 -0
  38. package/dist/catalog/reports/email_delivery_errors.json +104 -0
  39. package/dist/catalog/reports/expense_distribution.json +109 -0
  40. package/dist/catalog/reports/expense_register.json +149 -0
  41. package/dist/catalog/reports/fixed_assets.json +111 -0
  42. package/dist/catalog/reports/flows_assigned_tasks.json +103 -0
  43. package/dist/catalog/reports/fund_balance_sheet.json +113 -0
  44. package/dist/catalog/reports/fund_balance_sheet_active_funds.json +113 -0
  45. package/dist/catalog/reports/fund_income_statement.json +132 -0
  46. package/dist/catalog/reports/general_ledger.json +166 -0
  47. package/dist/catalog/reports/gross_potential_rent_enhanced.json +102 -0
  48. package/dist/catalog/reports/guest_card_inquiries.json +177 -0
  49. package/dist/catalog/reports/guest_cards.json +161 -0
  50. package/dist/catalog/reports/historical_advertised_rent.json +92 -0
  51. package/dist/catalog/reports/homeowner_delinquency.json +143 -0
  52. package/dist/catalog/reports/homeowner_delinquency_as_of.json +161 -0
  53. package/dist/catalog/reports/homeowner_directory.json +126 -0
  54. package/dist/catalog/reports/homeowner_ledger.json +59 -0
  55. package/dist/catalog/reports/homeowner_prepayment_balance.json +127 -0
  56. package/dist/catalog/reports/homeowner_resale.json +107 -0
  57. package/dist/catalog/reports/homeowner_vehicle_info.json +104 -0
  58. package/dist/catalog/reports/import_variances.json +41 -0
  59. package/dist/catalog/reports/in_progress_workflows.json +181 -0
  60. package/dist/catalog/reports/inactive_guest_cards.json +134 -0
  61. package/dist/catalog/reports/income_register.json +131 -0
  62. package/dist/catalog/reports/income_statement.json +130 -0
  63. package/dist/catalog/reports/income_statement_comparative.json +140 -0
  64. package/dist/catalog/reports/income_statement_comparison.json +135 -0
  65. package/dist/catalog/reports/income_statement_date_range.json +134 -0
  66. package/dist/catalog/reports/inspection_detail.json +107 -0
  67. package/dist/catalog/reports/insurance_enforcement.json +22 -0
  68. package/dist/catalog/reports/insurance_usage.json +92 -0
  69. package/dist/catalog/reports/inventory_status.json +73 -0
  70. package/dist/catalog/reports/inventory_usage.json +131 -0
  71. package/dist/catalog/reports/keys_detail.json +131 -0
  72. package/dist/catalog/reports/late_fee_policy_comparison.json +135 -0
  73. package/dist/catalog/reports/lease_expiration_detail.json +147 -0
  74. package/dist/catalog/reports/lease_expiration_summary.json +95 -0
  75. package/dist/catalog/reports/lease_history.json +147 -0
  76. package/dist/catalog/reports/leasing_agent_performance.json +54 -0
  77. package/dist/catalog/reports/leasing_funnel_performance.json +113 -0
  78. package/dist/catalog/reports/leasing_summary.json +92 -0
  79. package/dist/catalog/reports/loans.json +95 -0
  80. package/dist/catalog/reports/occupancy_custom_fields.json +73 -0
  81. package/dist/catalog/reports/occupancy_summary.json +95 -0
  82. package/dist/catalog/reports/owner1099.json +135 -0
  83. package/dist/catalog/reports/owner1099_detail.json +156 -0
  84. package/dist/catalog/reports/owner_custom_fields.json +73 -0
  85. package/dist/catalog/reports/owner_directory.json +101 -0
  86. package/dist/catalog/reports/owner_leasing.json +115 -0
  87. package/dist/catalog/reports/owner_withholdings.json +170 -0
  88. package/dist/catalog/reports/payment_plans.json +128 -0
  89. package/dist/catalog/reports/premium_leads_billing_detail.json +70 -0
  90. package/dist/catalog/reports/project_budget_detail.json +56 -0
  91. package/dist/catalog/reports/project_directory.json +144 -0
  92. package/dist/catalog/reports/property_budget.json +83 -0
  93. package/dist/catalog/reports/property_custom_fields.json +73 -0
  94. package/dist/catalog/reports/property_directory.json +73 -0
  95. package/dist/catalog/reports/property_group_directory.json +85 -0
  96. package/dist/catalog/reports/property_performance.json +115 -0
  97. package/dist/catalog/reports/property_staff_assignments.json +73 -0
  98. package/dist/catalog/reports/prospect_source_tracking.json +92 -0
  99. package/dist/catalog/reports/purchase_order.json +163 -0
  100. package/dist/catalog/reports/receivables_activity.json +138 -0
  101. package/dist/catalog/reports/renewal_summary.json +134 -0
  102. package/dist/catalog/reports/rent_roll.json +114 -0
  103. package/dist/catalog/reports/rent_roll_commercial.json +106 -0
  104. package/dist/catalog/reports/rent_roll_itemized.json +125 -0
  105. package/dist/catalog/reports/rentable_items.json +97 -0
  106. package/dist/catalog/reports/rental_applications.json +118 -0
  107. package/dist/catalog/reports/renter_directory.json +60 -0
  108. package/dist/catalog/reports/resident_financial_activity.json +107 -0
  109. package/dist/catalog/reports/screening_assessments.json +104 -0
  110. package/dist/catalog/reports/screening_usage.json +92 -0
  111. package/dist/catalog/reports/security_deposit_funds_detail.json +141 -0
  112. package/dist/catalog/reports/showings.json +123 -0
  113. package/dist/catalog/reports/student_housing_rent_roll_by_bed.json +125 -0
  114. package/dist/catalog/reports/surveys_summary.json +118 -0
  115. package/dist/catalog/reports/tenant_debt_collections_status.json +90 -0
  116. package/dist/catalog/reports/tenant_directory.json +120 -0
  117. package/dist/catalog/reports/tenant_ledger.json +72 -0
  118. package/dist/catalog/reports/tenant_tickler.json +102 -0
  119. package/dist/catalog/reports/tenant_transactions_summary.json +97 -0
  120. package/dist/catalog/reports/tenant_unpaid_charges_summary.json +147 -0
  121. package/dist/catalog/reports/tenant_vehicle_info.json +107 -0
  122. package/dist/catalog/reports/trial_balance.json +104 -0
  123. package/dist/catalog/reports/trial_balance_by_property.json +104 -0
  124. package/dist/catalog/reports/trust_account_balance.json +116 -0
  125. package/dist/catalog/reports/trust_account_balance_detail.json +112 -0
  126. package/dist/catalog/reports/twelve_month_cash_flow.json +157 -0
  127. package/dist/catalog/reports/twelve_month_income_statement.json +147 -0
  128. package/dist/catalog/reports/unit_custom_fields.json +73 -0
  129. package/dist/catalog/reports/unit_directory.json +80 -0
  130. package/dist/catalog/reports/unit_inspection.json +95 -0
  131. package/dist/catalog/reports/unit_turn_detail.json +104 -0
  132. package/dist/catalog/reports/unit_vacancy.json +143 -0
  133. package/dist/catalog/reports/unpaid_balances_by_month.json +181 -0
  134. package/dist/catalog/reports/upcoming_activities.json +142 -0
  135. package/dist/catalog/reports/vendor1099.json +84 -0
  136. package/dist/catalog/reports/vendor_custom_fields.json +22 -0
  137. package/dist/catalog/reports/vendor_directory.json +134 -0
  138. package/dist/catalog/reports/vendor_ledger.json +122 -0
  139. package/dist/catalog/reports/vendor_ledger_enhanced.json +122 -0
  140. package/dist/catalog/reports/violation_detail.json +122 -0
  141. package/dist/catalog/reports/work_order.json +254 -0
  142. package/dist/catalog/reports/work_order_labor_summary.json +148 -0
  143. package/dist/catalog-db/endpoint-spec.js +22 -0
  144. package/dist/catalog-db/endpoints/delete_inspections_inspectionid.json +21 -0
  145. package/dist/catalog-db/endpoints/delete_inventories_id.json +21 -0
  146. package/dist/catalog-db/endpoints/delete_properties_propertyid_marketing_photos_marketingphotoid.json +27 -0
  147. package/dist/catalog-db/endpoints/delete_properties_propertyid_photos_photoid.json +27 -0
  148. package/dist/catalog-db/endpoints/delete_units_unitid_photos_photoid.json +27 -0
  149. package/dist/catalog-db/endpoints/delete_work_orders_workorderid_attachments_attachmentid.json +27 -0
  150. package/dist/catalog-db/endpoints/get_bank_accounts.json +58 -0
  151. package/dist/catalog-db/endpoints/get_bills.json +185 -0
  152. package/dist/catalog-db/endpoints/get_ca_associations.json +106 -0
  153. package/dist/catalog-db/endpoints/get_ca_bank_balances.json +101 -0
  154. package/dist/catalog-db/endpoints/get_ca_board_members.json +146 -0
  155. package/dist/catalog-db/endpoints/get_ca_homeowner_ledgers.json +70 -0
  156. package/dist/catalog-db/endpoints/get_ca_homeowners.json +151 -0
  157. package/dist/catalog-db/endpoints/get_ca_renters.json +132 -0
  158. package/dist/catalog-db/endpoints/get_ca_rules.json +76 -0
  159. package/dist/catalog-db/endpoints/get_ca_units.json +130 -0
  160. package/dist/catalog-db/endpoints/get_ca_violations.json +119 -0
  161. package/dist/catalog-db/endpoints/get_charges.json +76 -0
  162. package/dist/catalog-db/endpoints/get_corporate_entities.json +88 -0
  163. package/dist/catalog-db/endpoints/get_custom_fields.json +120 -0
  164. package/dist/catalog-db/endpoints/get_delinquent_charges.json +88 -0
  165. package/dist/catalog-db/endpoints/get_gl_accounts.json +115 -0
  166. package/dist/catalog-db/endpoints/get_gl_details.json +154 -0
  167. package/dist/catalog-db/endpoints/get_inventories.json +131 -0
  168. package/dist/catalog-db/endpoints/get_inventory_locations.json +70 -0
  169. package/dist/catalog-db/endpoints/get_jobs.json +79 -0
  170. package/dist/catalog-db/endpoints/get_journal_entries.json +137 -0
  171. package/dist/catalog-db/endpoints/get_late_fee_policies.json +148 -0
  172. package/dist/catalog-db/endpoints/get_leads.json +248 -0
  173. package/dist/catalog-db/endpoints/get_leads_notes.json +83 -0
  174. package/dist/catalog-db/endpoints/get_leases.json +70 -0
  175. package/dist/catalog-db/endpoints/get_leases_renewal_pricings.json +52 -0
  176. package/dist/catalog-db/endpoints/get_listings.json +259 -0
  177. package/dist/catalog-db/endpoints/get_occupancies_documents.json +70 -0
  178. package/dist/catalog-db/endpoints/get_owner_groups.json +230 -0
  179. package/dist/catalog-db/endpoints/get_owners.json +258 -0
  180. package/dist/catalog-db/endpoints/get_owners_attachments.json +82 -0
  181. package/dist/catalog-db/endpoints/get_owners_notes.json +71 -0
  182. package/dist/catalog-db/endpoints/get_owners_ownerid.json +247 -0
  183. package/dist/catalog-db/endpoints/get_payables.json +138 -0
  184. package/dist/catalog-db/endpoints/get_portfolios.json +70 -0
  185. package/dist/catalog-db/endpoints/get_properties.json +267 -0
  186. package/dist/catalog-db/endpoints/get_properties_attachments.json +76 -0
  187. package/dist/catalog-db/endpoints/get_properties_marketing_photos.json +76 -0
  188. package/dist/catalog-db/endpoints/get_properties_notes.json +71 -0
  189. package/dist/catalog-db/endpoints/get_properties_photos.json +76 -0
  190. package/dist/catalog-db/endpoints/get_property_groups.json +84 -0
  191. package/dist/catalog-db/endpoints/get_recurring_charges.json +106 -0
  192. package/dist/catalog-db/endpoints/get_rental_applications.json +186 -0
  193. package/dist/catalog-db/endpoints/get_rental_applications_notes.json +71 -0
  194. package/dist/catalog-db/endpoints/get_showings.json +99 -0
  195. package/dist/catalog-db/endpoints/get_tenant_ledgers.json +82 -0
  196. package/dist/catalog-db/endpoints/get_tenants.json +273 -0
  197. package/dist/catalog-db/endpoints/get_tenants_notes.json +71 -0
  198. package/dist/catalog-db/endpoints/get_unit_types.json +168 -0
  199. package/dist/catalog-db/endpoints/get_units.json +359 -0
  200. package/dist/catalog-db/endpoints/get_units_attachments.json +76 -0
  201. package/dist/catalog-db/endpoints/get_units_notes.json +71 -0
  202. package/dist/catalog-db/endpoints/get_units_photos.json +70 -0
  203. package/dist/catalog-db/endpoints/get_users.json +88 -0
  204. package/dist/catalog-db/endpoints/get_vendors.json +317 -0
  205. package/dist/catalog-db/endpoints/get_vendors_notes.json +71 -0
  206. package/dist/catalog-db/endpoints/get_work_orders.json +322 -0
  207. package/dist/catalog-db/endpoints/get_work_orders_attachments.json +83 -0
  208. package/dist/catalog-db/endpoints/patch_bills_billid.json +156 -0
  209. package/dist/catalog-db/endpoints/patch_ca_violations_violationid.json +71 -0
  210. package/dist/catalog-db/endpoints/patch_inspections_inspectionid.json +77 -0
  211. package/dist/catalog-db/endpoints/patch_inventories_id.json +113 -0
  212. package/dist/catalog-db/endpoints/patch_inventory_locations_id.json +52 -0
  213. package/dist/catalog-db/endpoints/patch_journal_entries_journalentryid.json +90 -0
  214. package/dist/catalog-db/endpoints/patch_leads_guestcardid_notes_id.json +46 -0
  215. package/dist/catalog-db/endpoints/patch_leads_leadid.json +162 -0
  216. package/dist/catalog-db/endpoints/patch_leases_leaseid.json +52 -0
  217. package/dist/catalog-db/endpoints/patch_owner_groups_id.json +72 -0
  218. package/dist/catalog-db/endpoints/patch_owners_ownerid.json +344 -0
  219. package/dist/catalog-db/endpoints/patch_owners_ownerid_notes_id.json +46 -0
  220. package/dist/catalog-db/endpoints/patch_portfolios_portfolioid.json +46 -0
  221. package/dist/catalog-db/endpoints/patch_properties_propertyid.json +333 -0
  222. package/dist/catalog-db/endpoints/patch_properties_propertyid_marketing_photos_marketingphotoid.json +46 -0
  223. package/dist/catalog-db/endpoints/patch_properties_propertyid_notes_id.json +46 -0
  224. package/dist/catalog-db/endpoints/patch_properties_propertyid_photos_photoid.json +46 -0
  225. package/dist/catalog-db/endpoints/patch_property_groups_propertygroupid.json +40 -0
  226. package/dist/catalog-db/endpoints/patch_recurring_charges_recurringchargeid.json +89 -0
  227. package/dist/catalog-db/endpoints/patch_rental_applications_rentalapplicationid.json +47 -0
  228. package/dist/catalog-db/endpoints/patch_rental_applications_rentalapplicationid_notes_id.json +46 -0
  229. package/dist/catalog-db/endpoints/patch_showings_showingid.json +69 -0
  230. package/dist/catalog-db/endpoints/patch_tenants_bulk.json +131 -0
  231. package/dist/catalog-db/endpoints/patch_tenants_tenantid.json +48 -0
  232. package/dist/catalog-db/endpoints/patch_tenants_tenantid_notes_id.json +46 -0
  233. package/dist/catalog-db/endpoints/patch_unit_types_unittypeid.json +126 -0
  234. package/dist/catalog-db/endpoints/patch_units_unitid.json +296 -0
  235. package/dist/catalog-db/endpoints/patch_units_unitid_notes_id.json +46 -0
  236. package/dist/catalog-db/endpoints/patch_units_unitid_photos_photoid.json +46 -0
  237. package/dist/catalog-db/endpoints/patch_vendors_vendorid.json +263 -0
  238. package/dist/catalog-db/endpoints/patch_vendors_vendorid_notes_id.json +46 -0
  239. package/dist/catalog-db/endpoints/patch_work_orders_workorderid.json +273 -0
  240. package/dist/catalog-db/endpoints/patch_work_orders_workorderid_notes_id.json +46 -0
  241. package/dist/catalog-db/endpoints/post_bank_accounts_bulk.json +167 -0
  242. package/dist/catalog-db/endpoints/post_bills.json +160 -0
  243. package/dist/catalog-db/endpoints/post_bills_billid_attachments.json +40 -0
  244. package/dist/catalog-db/endpoints/post_bills_bulk.json +185 -0
  245. package/dist/catalog-db/endpoints/post_bills_bulk_async.json +192 -0
  246. package/dist/catalog-db/endpoints/post_ca_violations.json +63 -0
  247. package/dist/catalog-db/endpoints/post_ca_violations_violationid_attachments.json +41 -0
  248. package/dist/catalog-db/endpoints/post_charges.json +56 -0
  249. package/dist/catalog-db/endpoints/post_charges_bulk.json +70 -0
  250. package/dist/catalog-db/endpoints/post_charges_bulk_async.json +70 -0
  251. package/dist/catalog-db/endpoints/post_charges_chargeid_attachments.json +40 -0
  252. package/dist/catalog-db/endpoints/post_corporate_gl_accounts_bulk.json +71 -0
  253. package/dist/catalog-db/endpoints/post_gl_accounts_bulk.json +77 -0
  254. package/dist/catalog-db/endpoints/post_inspections.json +70 -0
  255. package/dist/catalog-db/endpoints/post_inspections_bulk.json +76 -0
  256. package/dist/catalog-db/endpoints/post_inspections_inspectionid_attachments.json +41 -0
  257. package/dist/catalog-db/endpoints/post_inventories.json +105 -0
  258. package/dist/catalog-db/endpoints/post_inventories_bulk.json +119 -0
  259. package/dist/catalog-db/endpoints/post_inventory_locations.json +44 -0
  260. package/dist/catalog-db/endpoints/post_inventory_locations_bulk.json +58 -0
  261. package/dist/catalog-db/endpoints/post_journal_entries.json +101 -0
  262. package/dist/catalog-db/endpoints/post_journal_entries_bulk.json +115 -0
  263. package/dist/catalog-db/endpoints/post_journal_entries_journalentryid_attachments.json +41 -0
  264. package/dist/catalog-db/endpoints/post_late_fee_policies_bulk.json +115 -0
  265. package/dist/catalog-db/endpoints/post_leads.json +204 -0
  266. package/dist/catalog-db/endpoints/post_leads_guestcardid_notes.json +40 -0
  267. package/dist/catalog-db/endpoints/post_occupancies_occupancyid_attachments.json +41 -0
  268. package/dist/catalog-db/endpoints/post_owner_groups.json +96 -0
  269. package/dist/catalog-db/endpoints/post_owners.json +330 -0
  270. package/dist/catalog-db/endpoints/post_owners_bulk.json +203 -0
  271. package/dist/catalog-db/endpoints/post_owners_ownerid_attachments.json +40 -0
  272. package/dist/catalog-db/endpoints/post_owners_ownerid_notes.json +40 -0
  273. package/dist/catalog-db/endpoints/post_properties_bulk.json +245 -0
  274. package/dist/catalog-db/endpoints/post_properties_propertyid_attachments.json +40 -0
  275. package/dist/catalog-db/endpoints/post_properties_propertyid_marketing_photos.json +52 -0
  276. package/dist/catalog-db/endpoints/post_properties_propertyid_notes.json +40 -0
  277. package/dist/catalog-db/endpoints/post_properties_propertyid_photos.json +40 -0
  278. package/dist/catalog-db/endpoints/post_recurring_charges.json +81 -0
  279. package/dist/catalog-db/endpoints/post_recurring_charges_bulk.json +95 -0
  280. package/dist/catalog-db/endpoints/post_rental_applications_rentalapplicationid_attachments.json +41 -0
  281. package/dist/catalog-db/endpoints/post_rental_applications_rentalapplicationid_notes.json +40 -0
  282. package/dist/catalog-db/endpoints/post_showings.json +62 -0
  283. package/dist/catalog-db/endpoints/post_tenants_bulk.json +161 -0
  284. package/dist/catalog-db/endpoints/post_tenants_tenantid_notes.json +40 -0
  285. package/dist/catalog-db/endpoints/post_unit_types_bulk.json +138 -0
  286. package/dist/catalog-db/endpoints/post_units_bulk.json +236 -0
  287. package/dist/catalog-db/endpoints/post_units_unitid_attachments.json +40 -0
  288. package/dist/catalog-db/endpoints/post_units_unitid_notes.json +40 -0
  289. package/dist/catalog-db/endpoints/post_units_unitid_photos.json +40 -0
  290. package/dist/catalog-db/endpoints/post_vendors.json +279 -0
  291. package/dist/catalog-db/endpoints/post_vendors_bulk.json +279 -0
  292. package/dist/catalog-db/endpoints/post_vendors_vendorid_notes.json +40 -0
  293. package/dist/catalog-db/endpoints/post_work_orders.json +251 -0
  294. package/dist/catalog-db/endpoints/post_work_orders_workorderid_attachments.json +41 -0
  295. package/dist/catalog-db/endpoints/post_work_orders_workorderid_notes.json +40 -0
  296. package/dist/catalog-db/endpoints/put_leases_renewal_pricings_bulk.json +58 -0
  297. package/dist/catalog-db/endpoints/put_units_pricing_matrices_bulk.json +58 -0
  298. package/dist/catalog-db/endpoints/put_units_pricing_matrices_bulk_async.json +46 -0
  299. package/dist/catalog-db/endpoints/put_units_unitid_pricing_matrices.json +66 -0
  300. package/dist/catalog-db/index.json +1894 -0
  301. package/dist/clients/appfolio-client.js +131 -0
  302. package/dist/clients/appfolio-db-client.js +186 -0
  303. package/dist/helpers/register-db-tools.js +27 -0
  304. package/dist/helpers/register-report-tools.js +27 -0
  305. package/dist/index.js +10 -0
  306. package/dist/server/appfolio-mcp-server.js +18 -0
  307. package/dist/tools/call-endpoint.js +109 -0
  308. package/dist/tools/describe-endpoint.js +63 -0
  309. package/dist/tools/describe-report.js +55 -0
  310. package/dist/tools/list-endpoints.js +90 -0
  311. package/dist/tools/list-reports.js +58 -0
  312. package/dist/tools/run-report.js +102 -0
  313. package/package.json +42 -0
@@ -0,0 +1,104 @@
1
+ {
2
+ "slug": "screening_assessments",
3
+ "endpoint": "screening_assessments.json",
4
+ "name": "Screening Assessments",
5
+ "description": "Returns Screening Assessments report data.",
6
+ "requiredFilters": [
7
+ "screen_ran_at_from",
8
+ "screen_ran_at_to"
9
+ ],
10
+ "parameters": [
11
+ {
12
+ "name": "property_visibility",
13
+ "type": "string",
14
+ "required": false,
15
+ "default": "all",
16
+ "enum": [
17
+ "active",
18
+ "hidden",
19
+ "all"
20
+ ],
21
+ "description": "The property visibility to filter by."
22
+ },
23
+ {
24
+ "name": "properties",
25
+ "type": "object",
26
+ "required": false,
27
+ "description": "The property filter. Expand to view all attributes associated with this filter. If required, you must submit an id for at least one of the below filters.",
28
+ "attributes": [
29
+ {
30
+ "name": "properties_ids",
31
+ "type": "array",
32
+ "required": false,
33
+ "description": ""
34
+ },
35
+ {
36
+ "name": "property_groups_ids",
37
+ "type": "array",
38
+ "required": false,
39
+ "description": ""
40
+ },
41
+ {
42
+ "name": "portfolios_ids",
43
+ "type": "array",
44
+ "required": false,
45
+ "description": ""
46
+ },
47
+ {
48
+ "name": "owners_ids",
49
+ "type": "array",
50
+ "required": false,
51
+ "description": ""
52
+ }
53
+ ]
54
+ },
55
+ {
56
+ "name": "screen_ran_at_from",
57
+ "type": "string",
58
+ "required": true,
59
+ "format": "YYYY-MM-DD",
60
+ "description": "The 'Date From' date to filter by."
61
+ },
62
+ {
63
+ "name": "screen_ran_at_to",
64
+ "type": "string",
65
+ "required": true,
66
+ "format": "YYYY-MM-DD",
67
+ "description": "The 'Date To' date to filter by."
68
+ },
69
+ {
70
+ "name": "only_show_overridden_assessments",
71
+ "type": "string",
72
+ "required": false,
73
+ "default": "0",
74
+ "enum": [
75
+ "0",
76
+ "1"
77
+ ],
78
+ "description": "Only Show Override Assessments"
79
+ },
80
+ {
81
+ "name": "columns",
82
+ "type": "array",
83
+ "required": false,
84
+ "description": "Returns the specified columns. All columns are returned by default. Look at the response schema to see the available columns."
85
+ }
86
+ ],
87
+ "requestSample": {
88
+ "property_visibility": "active",
89
+ "properties": {
90
+ "properties_ids": [],
91
+ "property_groups_ids": [],
92
+ "portfolios_ids": [],
93
+ "owners_ids": []
94
+ },
95
+ "screen_ran_at_from": "2023-06-01",
96
+ "screen_ran_at_to": "2023-06-30",
97
+ "only_show_overridden_assessments": "1",
98
+ "columns": [
99
+ "some_column",
100
+ "some_other_column"
101
+ ]
102
+ },
103
+ "responseColumns": []
104
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "slug": "screening_usage",
3
+ "endpoint": "screening_usage.json",
4
+ "name": "Screening Usage",
5
+ "description": "Returns Screening Usage report data.",
6
+ "requiredFilters": [
7
+ "occurred_on_from",
8
+ "occurred_on_to"
9
+ ],
10
+ "parameters": [
11
+ {
12
+ "name": "property_visibility",
13
+ "type": "string",
14
+ "required": false,
15
+ "default": "all",
16
+ "enum": [
17
+ "active",
18
+ "hidden",
19
+ "all"
20
+ ],
21
+ "description": "The property visibility to filter by."
22
+ },
23
+ {
24
+ "name": "properties",
25
+ "type": "object",
26
+ "required": false,
27
+ "description": "The property filter. Expand to view all attributes associated with this filter. If required, you must submit an id for at least one of the below filters.",
28
+ "attributes": [
29
+ {
30
+ "name": "properties_ids",
31
+ "type": "array",
32
+ "required": false,
33
+ "description": ""
34
+ },
35
+ {
36
+ "name": "property_groups_ids",
37
+ "type": "array",
38
+ "required": false,
39
+ "description": ""
40
+ },
41
+ {
42
+ "name": "portfolios_ids",
43
+ "type": "array",
44
+ "required": false,
45
+ "description": ""
46
+ },
47
+ {
48
+ "name": "owners_ids",
49
+ "type": "array",
50
+ "required": false,
51
+ "description": ""
52
+ }
53
+ ]
54
+ },
55
+ {
56
+ "name": "occurred_on_from",
57
+ "type": "string",
58
+ "required": true,
59
+ "format": "YYYY-MM-DD",
60
+ "description": "The 'Date From' date to filter by."
61
+ },
62
+ {
63
+ "name": "occurred_on_to",
64
+ "type": "string",
65
+ "required": true,
66
+ "format": "YYYY-MM-DD",
67
+ "description": "The 'Date To' date to filter by."
68
+ },
69
+ {
70
+ "name": "columns",
71
+ "type": "array",
72
+ "required": false,
73
+ "description": "Returns the specified columns. All columns are returned by default. Look at the response schema to see the available columns."
74
+ }
75
+ ],
76
+ "requestSample": {
77
+ "property_visibility": "active",
78
+ "properties": {
79
+ "properties_ids": [],
80
+ "property_groups_ids": [],
81
+ "portfolios_ids": [],
82
+ "owners_ids": []
83
+ },
84
+ "occurred_on_from": "2023-06-01",
85
+ "occurred_on_to": "2023-06-30",
86
+ "columns": [
87
+ "some_column",
88
+ "some_other_column"
89
+ ]
90
+ },
91
+ "responseColumns": []
92
+ }
@@ -0,0 +1,141 @@
1
+ {
2
+ "slug": "security_deposit_funds_detail",
3
+ "endpoint": "security_deposit_funds_detail.json",
4
+ "name": "Security Deposit Funds Detail",
5
+ "description": "Returns Security Deposit Funds Detail report data.",
6
+ "requiredFilters": [
7
+ "occurred_on_to"
8
+ ],
9
+ "parameters": [
10
+ {
11
+ "name": "property_visibility",
12
+ "type": "string",
13
+ "required": false,
14
+ "default": "active",
15
+ "enum": [
16
+ "active",
17
+ "hidden",
18
+ "all"
19
+ ],
20
+ "description": "The property visibility to filter by."
21
+ },
22
+ {
23
+ "name": "properties",
24
+ "type": "object",
25
+ "required": false,
26
+ "description": "The property filter. Expand to view all attributes associated with this filter. If required, you must submit an id for at least one of the below filters.",
27
+ "attributes": [
28
+ {
29
+ "name": "properties_ids",
30
+ "type": "array",
31
+ "required": false,
32
+ "description": ""
33
+ },
34
+ {
35
+ "name": "property_groups_ids",
36
+ "type": "array",
37
+ "required": false,
38
+ "description": ""
39
+ },
40
+ {
41
+ "name": "portfolios_ids",
42
+ "type": "array",
43
+ "required": false,
44
+ "description": ""
45
+ },
46
+ {
47
+ "name": "owners_ids",
48
+ "type": "array",
49
+ "required": false,
50
+ "description": ""
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "name": "parties_ids",
56
+ "type": "object",
57
+ "required": false,
58
+ "description": "The occupancy ids to filter by. Expand to view all attributes associated with this filter. If required, you must submit an id for at least one of the below filters.",
59
+ "attributes": [
60
+ {
61
+ "name": "occupancies_ids",
62
+ "type": "array",
63
+ "required": false,
64
+ "description": ""
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "name": "tenant_statuses",
70
+ "type": "array",
71
+ "required": false,
72
+ "default": "[\"0\",\"4\"]",
73
+ "enum": [
74
+ "'2' denotes 'Future'",
75
+ "'0' denotes 'Current'",
76
+ "'4' denotes 'Notice'",
77
+ "'1' denotes 'Past'",
78
+ "'3' denotes 'Evict'"
79
+ ],
80
+ "description": "List of Tenant status to filter by."
81
+ },
82
+ {
83
+ "name": "gl_account_ids",
84
+ "type": "array",
85
+ "required": false,
86
+ "default": "Your Deposit Key Account IDs",
87
+ "description": "The gl account ids to filter by."
88
+ },
89
+ {
90
+ "name": "occurred_on_to",
91
+ "type": "string",
92
+ "required": true,
93
+ "format": "YYYY-MM-DD",
94
+ "description": "The 'As of To' date to filter by."
95
+ },
96
+ {
97
+ "name": "accounting_basis",
98
+ "type": "string",
99
+ "required": false,
100
+ "default": "Cash",
101
+ "enum": [
102
+ "Cash",
103
+ "Accrual"
104
+ ],
105
+ "description": "The accounting basis to filter by."
106
+ },
107
+ {
108
+ "name": "columns",
109
+ "type": "array",
110
+ "required": false,
111
+ "description": "Returns the specified columns. All columns are returned by default. Look at the response schema to see the available columns."
112
+ }
113
+ ],
114
+ "requestSample": {
115
+ "property_visibility": "active",
116
+ "properties": {
117
+ "properties_ids": [],
118
+ "property_groups_ids": [],
119
+ "portfolios_ids": [],
120
+ "owners_ids": []
121
+ },
122
+ "parties_ids": {
123
+ "occupancies_ids": []
124
+ },
125
+ "tenant_statuses": [
126
+ "0",
127
+ "4"
128
+ ],
129
+ "gl_account_ids": [
130
+ "1",
131
+ "2"
132
+ ],
133
+ "occurred_on_to": "2023-06-30",
134
+ "accounting_basis": "Cash",
135
+ "columns": [
136
+ "some_column",
137
+ "some_other_column"
138
+ ]
139
+ },
140
+ "responseColumns": []
141
+ }
@@ -0,0 +1,123 @@
1
+ {
2
+ "slug": "showings",
3
+ "endpoint": "showings.json",
4
+ "name": "Showings",
5
+ "description": "Returns Showings report data.",
6
+ "requiredFilters": [
7
+ "showing_date_from",
8
+ "showing_date_to"
9
+ ],
10
+ "parameters": [
11
+ {
12
+ "name": "showing_date_from",
13
+ "type": "string",
14
+ "format": "YYYY-MM-DD",
15
+ "required": true,
16
+ "description": "The 'Showing Time From' date to filter by."
17
+ },
18
+ {
19
+ "name": "showing_date_to",
20
+ "type": "string",
21
+ "format": "YYYY-MM-DD",
22
+ "required": true,
23
+ "description": "The 'Showing Time To' date to filter by."
24
+ },
25
+ {
26
+ "name": "property_visibility",
27
+ "type": "string",
28
+ "required": false,
29
+ "default": "active",
30
+ "enum": [
31
+ "active",
32
+ "hidden",
33
+ "all"
34
+ ],
35
+ "description": "The property visibility to filter by."
36
+ },
37
+ {
38
+ "name": "properties",
39
+ "type": "object",
40
+ "required": false,
41
+ "description": "The property filter. Expand to view all attributes associated with this filter. If required, you must submit an id for at least one of the below filters.",
42
+ "attributes": [
43
+ {
44
+ "name": "properties_ids",
45
+ "type": "array",
46
+ "required": false,
47
+ "description": ""
48
+ },
49
+ {
50
+ "name": "property_groups_ids",
51
+ "type": "array",
52
+ "required": false,
53
+ "description": ""
54
+ },
55
+ {
56
+ "name": "portfolios_ids",
57
+ "type": "array",
58
+ "required": false,
59
+ "description": ""
60
+ },
61
+ {
62
+ "name": "owners_ids",
63
+ "type": "array",
64
+ "required": false,
65
+ "description": ""
66
+ }
67
+ ]
68
+ },
69
+ {
70
+ "name": "statuses",
71
+ "type": "array",
72
+ "required": false,
73
+ "default": [],
74
+ "enum": [
75
+ "all",
76
+ "Completed",
77
+ "Scheduled",
78
+ "Canceled",
79
+ "No Show",
80
+ "Confirmation Pending",
81
+ "Prospect Confirmed",
82
+ "Prospect Canceled",
83
+ "Canceled (Unconfirmed)",
84
+ "Cancel In Progress",
85
+ "Reschedule In Progress"
86
+ ],
87
+ "description": "Statuses to filter by."
88
+ },
89
+ {
90
+ "name": "assigned_user",
91
+ "type": "string",
92
+ "required": false,
93
+ "default": "All",
94
+ "description": "Assigned user id to filter by."
95
+ },
96
+ {
97
+ "name": "columns",
98
+ "type": "array",
99
+ "required": false,
100
+ "description": "Returns the specified columns. All columns are returned by default. Look at the response schema to see the available columns."
101
+ }
102
+ ],
103
+ "requestSample": {
104
+ "showing_date_from": "2023-06-01",
105
+ "showing_date_to": "2023-06-30",
106
+ "property_visibility": "active",
107
+ "properties": {
108
+ "properties_ids": [],
109
+ "property_groups_ids": [],
110
+ "portfolios_ids": [],
111
+ "owners_ids": []
112
+ },
113
+ "statuses": [
114
+ "all"
115
+ ],
116
+ "assigned_user": "All",
117
+ "columns": [
118
+ "some_column",
119
+ "some_other_column"
120
+ ]
121
+ },
122
+ "responseColumns": []
123
+ }
@@ -0,0 +1,125 @@
1
+ {
2
+ "slug": "student_housing_rent_roll_by_bed",
3
+ "endpoint": "student_housing_rent_roll_by_bed.json",
4
+ "name": "Rent Roll (By Bed)",
5
+ "description": "Returns Rent Roll (By Bed) report data.",
6
+ "requiredFilters": [
7
+ "as_of_to"
8
+ ],
9
+ "parameters": [
10
+ {
11
+ "name": "properties",
12
+ "type": "object",
13
+ "required": false,
14
+ "description": "The property filter. Expand to view all attributes associated with this filter. If required, you must submit an id for at least one of the below filters.",
15
+ "attributes": [
16
+ {
17
+ "name": "properties_ids",
18
+ "type": "array",
19
+ "required": false,
20
+ "description": ""
21
+ },
22
+ {
23
+ "name": "property_groups_ids",
24
+ "type": "array",
25
+ "required": false,
26
+ "description": ""
27
+ },
28
+ {
29
+ "name": "portfolios_ids",
30
+ "type": "array",
31
+ "required": false,
32
+ "description": ""
33
+ },
34
+ {
35
+ "name": "owners_ids",
36
+ "type": "array",
37
+ "required": false,
38
+ "description": ""
39
+ }
40
+ ]
41
+ },
42
+ {
43
+ "name": "unit_visibility",
44
+ "type": "string",
45
+ "required": false,
46
+ "default": "active",
47
+ "enum": [
48
+ "active",
49
+ "hidden",
50
+ "all"
51
+ ],
52
+ "description": ""
53
+ },
54
+ {
55
+ "name": "tags",
56
+ "type": "string",
57
+ "required": false,
58
+ "description": "The comma-separated tag(s) to filter by"
59
+ },
60
+ {
61
+ "name": "include_advertised_rent",
62
+ "type": "string",
63
+ "required": false,
64
+ "default": "1",
65
+ "enum": [
66
+ "0",
67
+ "1"
68
+ ],
69
+ "description": "Include Advertised Rent"
70
+ },
71
+ {
72
+ "name": "gl_account_ids",
73
+ "type": "array",
74
+ "required": false,
75
+ "default": "[]",
76
+ "description": "The gl account ids to filter by. There is a limit of 250 GL Accounts to choose from. Only GL Accounts associated with Recurring Charges are valid."
77
+ },
78
+ {
79
+ "name": "as_of_to",
80
+ "type": "string",
81
+ "required": true,
82
+ "format": "YYYY-MM-DD",
83
+ "description": "The 'As of To' date to filter by."
84
+ },
85
+ {
86
+ "name": "non_revenue_units",
87
+ "type": "string",
88
+ "required": false,
89
+ "default": "0",
90
+ "enum": [
91
+ "0",
92
+ "1"
93
+ ],
94
+ "description": "Include Non-Revenue Units"
95
+ },
96
+ {
97
+ "name": "columns",
98
+ "type": "array",
99
+ "required": false,
100
+ "description": "Returns the specified columns. All columns are returned by default. Look at the response schema to see the available columns."
101
+ }
102
+ ],
103
+ "requestSample": {
104
+ "properties": {
105
+ "properties_ids": [],
106
+ "property_groups_ids": [],
107
+ "portfolios_ids": [],
108
+ "owners_ids": []
109
+ },
110
+ "unit_visibility": "active",
111
+ "tags": "bbq,deck",
112
+ "include_advertised_rent": "1",
113
+ "gl_account_ids": [
114
+ "1",
115
+ "2"
116
+ ],
117
+ "as_of_to": "2023-06-30",
118
+ "non_revenue_units": "1",
119
+ "columns": [
120
+ "some_column",
121
+ "some_other_column"
122
+ ]
123
+ },
124
+ "responseColumns": []
125
+ }
@@ -0,0 +1,118 @@
1
+ {
2
+ "slug": "surveys_summary",
3
+ "endpoint": "surveys_summary.json",
4
+ "name": "Survey Responses",
5
+ "description": "Returns Survey Responses report data.",
6
+ "requiredFilters": [
7
+ "occurred_on_from",
8
+ "occurred_on_to"
9
+ ],
10
+ "parameters": [
11
+ {
12
+ "name": "survey_type",
13
+ "type": "string",
14
+ "required": false,
15
+ "default": "maintenance",
16
+ "enum": [
17
+ "maintenance",
18
+ "'move-in' denotes 'Move In'",
19
+ "'move-out' denotes 'Move Out'",
20
+ "showing"
21
+ ],
22
+ "description": "Survey type to filter by."
23
+ },
24
+ {
25
+ "name": "property_visibility",
26
+ "type": "string",
27
+ "required": false,
28
+ "default": "active",
29
+ "enum": [
30
+ "active",
31
+ "hidden",
32
+ "all"
33
+ ],
34
+ "description": "The property visibility to filter by."
35
+ },
36
+ {
37
+ "name": "properties",
38
+ "type": "object",
39
+ "required": false,
40
+ "description": "The property filter. Expand to view all attributes associated with this filter. If required, you must submit an id for at least one of the below filters.",
41
+ "attributes": [
42
+ {
43
+ "name": "properties_ids",
44
+ "type": "array",
45
+ "required": false,
46
+ "description": ""
47
+ },
48
+ {
49
+ "name": "property_groups_ids",
50
+ "type": "array",
51
+ "required": false,
52
+ "description": ""
53
+ },
54
+ {
55
+ "name": "portfolios_ids",
56
+ "type": "array",
57
+ "required": false,
58
+ "description": ""
59
+ },
60
+ {
61
+ "name": "owners_ids",
62
+ "type": "array",
63
+ "required": false,
64
+ "description": ""
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "name": "date_type",
70
+ "type": "string",
71
+ "required": false,
72
+ "default": "Date Sent",
73
+ "enum": [
74
+ "Date Sent",
75
+ "Date Received"
76
+ ],
77
+ "description": "The Date Type to filter by."
78
+ },
79
+ {
80
+ "name": "occurred_on_from",
81
+ "type": "string",
82
+ "required": true,
83
+ "format": "YYYY-MM-DD",
84
+ "description": "The 'Date From' date to filter by."
85
+ },
86
+ {
87
+ "name": "occurred_on_to",
88
+ "type": "string",
89
+ "required": true,
90
+ "format": "YYYY-MM-DD",
91
+ "description": "The 'Date To' date to filter by."
92
+ },
93
+ {
94
+ "name": "columns",
95
+ "type": "array",
96
+ "required": false,
97
+ "description": "Returns the specified columns. All columns are returned by default. Look at the response schema to see the available columns."
98
+ }
99
+ ],
100
+ "requestSample": {
101
+ "survey_type": "maintenance",
102
+ "property_visibility": "active",
103
+ "properties": {
104
+ "properties_ids": [],
105
+ "property_groups_ids": [],
106
+ "portfolios_ids": [],
107
+ "owners_ids": []
108
+ },
109
+ "date_type": "Date Sent",
110
+ "occurred_on_from": "2023-06-01",
111
+ "occurred_on_to": "2023-06-30",
112
+ "columns": [
113
+ "some_column",
114
+ "some_other_column"
115
+ ]
116
+ },
117
+ "responseColumns": []
118
+ }