@vrplatform/kysely 1.3.45-4459 → 1.3.45-44603116832

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 (352) hide show
  1. package/build/.data.tar +2 -2
  2. package/build/main/camel-case/index.d.ts +4 -4
  3. package/build/main/camel-case/index.js +3 -2
  4. package/build/main/camel-case/index.js.map +1 -1
  5. package/build/main/connect-handoff.d.ts +12 -0
  6. package/build/main/connect-handoff.js +73 -0
  7. package/build/main/connect-handoff.js.map +1 -0
  8. package/build/main/control-plane/index.d.ts +421 -14
  9. package/build/main/control-plane/index.js +71 -0
  10. package/build/main/control-plane/index.js.map +1 -1
  11. package/build/main/domain.d.ts +4 -0
  12. package/build/main/domain.js +3 -0
  13. package/build/main/domain.js.map +1 -0
  14. package/build/main/error.d.ts +2 -1
  15. package/build/main/error.js +2 -1
  16. package/build/main/error.js.map +1 -1
  17. package/build/main/index.d.ts +57 -15
  18. package/build/main/index.js +498 -66
  19. package/build/main/index.js.map +1 -1
  20. package/build/main/isomorphic.d.ts +6 -6
  21. package/build/main/isomorphic.js +4 -8
  22. package/build/main/isomorphic.js.map +1 -1
  23. package/build/main/local/digest.d.ts +3 -3
  24. package/build/main/local/digest.js.map +1 -1
  25. package/build/main/local/generate.js +15 -13
  26. package/build/main/local/generate.js.map +1 -1
  27. package/build/main/local/index.d.ts +5 -1
  28. package/build/main/local/index.js +346 -12
  29. package/build/main/local/index.js.map +1 -1
  30. package/build/main/local/prune-pulled-schema.js +4 -1
  31. package/build/main/local/prune-pulled-schema.js.map +1 -1
  32. package/build/main/migration-source.d.ts +4 -0
  33. package/build/main/migration-source.js +45 -0
  34. package/build/main/migration-source.js.map +1 -0
  35. package/build/main/migration.d.ts +7 -0
  36. package/build/main/migration.js +11 -0
  37. package/build/main/migration.js.map +1 -0
  38. package/build/main/pganalyze-comment-plugin/comment-transformer.js +3 -1
  39. package/build/main/pganalyze-comment-plugin/comment-transformer.js.map +1 -1
  40. package/build/main/pganalyze-comment-plugin/index.js.map +1 -1
  41. package/build/main/plugins.d.ts +2 -2
  42. package/build/main/plugins.js.map +1 -1
  43. package/build/main/postgres-error.d.ts +9 -0
  44. package/build/main/postgres-error.js +28 -0
  45. package/build/main/postgres-error.js.map +1 -0
  46. package/build/main/query/index.d.ts +1 -0
  47. package/build/main/query/index.js +1 -0
  48. package/build/main/query/index.js.map +1 -1
  49. package/build/main/query/listing/status.d.ts +2 -12
  50. package/build/main/query/listing/status.js +35 -20
  51. package/build/main/query/listing/status.js.map +1 -1
  52. package/build/main/query/tenant/billing-partner.d.ts +4 -0
  53. package/build/main/query/tenant/billing-partner.js +8 -0
  54. package/build/main/query/tenant/billing-partner.js.map +1 -0
  55. package/build/main/query/tenant/feature-enabled.d.ts +6 -0
  56. package/build/main/query/tenant/feature-enabled.js +30 -0
  57. package/build/main/query/tenant/feature-enabled.js.map +1 -0
  58. package/build/main/query/tenant/index.d.ts +4 -0
  59. package/build/main/query/tenant/index.js +21 -0
  60. package/build/main/query/tenant/index.js.map +1 -0
  61. package/build/main/query/tenant/status.d.ts +9 -0
  62. package/build/main/query/tenant/status.js +32 -0
  63. package/build/main/query/tenant/status.js.map +1 -0
  64. package/build/main/query/tenant/where-uuid-in.d.ts +2 -0
  65. package/build/main/query/tenant/where-uuid-in.js +14 -0
  66. package/build/main/query/tenant/where-uuid-in.js.map +1 -0
  67. package/build/main/regional.d.ts +31 -4
  68. package/build/main/regional.js +69 -8
  69. package/build/main/regional.js.map +1 -1
  70. package/build/main/test/index.d.ts +21 -11
  71. package/build/main/test/index.js +31 -26
  72. package/build/main/test/index.js.map +1 -1
  73. package/build/main/transaction.d.ts +3 -3
  74. package/build/main/transaction.js.map +1 -1
  75. package/build/main/v1.generated.d.ts +1407 -177
  76. package/build/main/v1.generated.js.map +1 -1
  77. package/build/migrations-v2/0000000000000-baseline.ts +5 -0
  78. package/build/migrations-v2/0000000000001-public-audit-events-v2.ts +137 -0
  79. package/build/migrations-v2/0000000000002-audit-recovery-watermarks.ts +30 -0
  80. package/build/migrations-v2/0000000000003-audit-effect-recovery-watermark.ts +13 -0
  81. package/build/migrations-v2/0000000000004-audit-event-projected-at.ts +15 -0
  82. package/build/migrations-v2/0000000000005-audit-recovery-indexes.ts +63 -0
  83. package/build/migrations-v2/0000000000006-audit-action-public-event-projected-at.ts +22 -0
  84. package/build/migrations-v2/0000000000007-audit-action-public-event-projected-at-backfill.ts +35 -0
  85. package/build/migrations-v2/0000000000008-global-user-attribution.ts +33 -0
  86. package/build/migrations-v2/0000000000008-team-issue-rule-state.ts +52 -0
  87. package/build/migrations-v2/0000000000009-reservation-issue-projections.ts +45 -0
  88. package/build/migrations-v2/0000000000010-bank-rule-application-bank-record-delete-cascade.ts +26 -0
  89. package/build/migrations-v2/0000000000011-guest-balance-journal-entry-lookup-index.ts +25 -0
  90. package/build/migrations-v2/0000000000012-trial-free-analytics-billing-status.ts +72 -0
  91. package/build/migrations-v2/0000000000013-ui-permission-bundles.ts +45 -0
  92. package/build/migrations-v2/0000000000014-ui-permission-bundle-top-up.ts +32 -0
  93. package/build/migrations-v2/0000000000015-durable-flow-events.ts +163 -0
  94. package/build/migrations-v2/0000000000016-billing-listing-facts.ts +539 -0
  95. package/build/migrations-v2/0000000000016-managed-team-access.ts +34 -0
  96. package/build/migrations-v2/0000000000017-drop-trial-until.ts +42 -0
  97. package/build/migrations-v2/0000000000017-webhook-secret-reencryption-failures.ts +18 -0
  98. package/build/migrations-v2/0000000000018-accounting-integrity-monitoring.ts +276 -0
  99. package/build/migrations-v2/0000000000018-durable-flow-event-sensitive-input.ts +28 -0
  100. package/build/migrations-v2/0000000000019-accounting-integrity-run-shards.ts +26 -0
  101. package/build/migrations-v2/0000000000019-asynchronous-operations.ts +736 -0
  102. package/build/migrations-v2/0000000000020-accounting-integrity-case-classification.ts +52 -0
  103. package/build/migrations-v2/0000000000021-payment-line-classification-monitor-indexes.ts +31 -0
  104. package/build/migrations-v2/0000000000022-accounting-integrity-controlled-repairs.ts +281 -0
  105. package/build/migrations-v2/0000000000023-line-classification-usage.ts +325 -0
  106. package/build/migrations-v2/0000000000024-tenant-region-migration.ts +108 -0
  107. package/build/migrations-v2/0000000000025-partner-ach-denial-default.ts +30 -0
  108. package/build/migrations-v2/0000000000026-line-classification-usage-capture.ts +399 -0
  109. package/build/migrations-v2/0000000000027-payout-replacement-chain.ts +27 -0
  110. package/build/migrations-v2/0000000000028-accounting-integrity-operator-workflow.ts +108 -0
  111. package/build/migrations-v2/0000000000029-accounting-integrity-definition-artifacts.ts +40 -0
  112. package/build/migrations-v2/0000000000030-accounting-integrity-review-metadata-compatibility.ts +49 -0
  113. package/build/migrations-v2/0000000000031-ui-permission-role-simplification.ts +70 -0
  114. package/build/migrations-v2/0000000000032-tenant-delete-ownership-cascades.ts +44 -0
  115. package/build/migrations-v2/0000000000033-plaid-connect-session-telemetry.ts +31 -0
  116. package/build/migrations-v2/0000000000033-reservation-issue-seed-bucket-index.ts +19 -0
  117. package/build/migrations-v2/0000000000034-retire-recent-classification-indexes.ts +29 -0
  118. package/build/migrations-v2/0000000000035-core-change-autovacuum.ts +24 -0
  119. package/build/migrations-v2/0000000000036-journal-entry-inactive-reason-constraint.ts +33 -0
  120. package/build/migrations-v2/0000000000037-journal-entry-inactive-reasons.ts +19 -0
  121. package/build/{migrations/0000000000023-journal-entry-currency-mismatch-reason.ts → migrations-v2/0000000000038-journal-entry-group-inactive-reason.ts} +4 -4
  122. package/build/migrations-v2/0000000000039-reservation-guest-breakdown.ts +19 -0
  123. package/build/migrations-v2/0000000000040-csv-import-source-identity-index.ts +23 -0
  124. package/build/migrations-v2/0000000000041-payment-returns.ts +38 -0
  125. package/build/migrations-v2/0000000000042-operation-resource-types.ts +609 -0
  126. package/build/migrations-v2/0000000000043-reservation-journal-freshness.ts +149 -0
  127. package/build/migrations-v2/0000000000044-reservation-journal-freshness-backfill.ts +254 -0
  128. package/build/migrations-v2/0000000000045-reservation-journal-freshness-revision-repair.ts +83 -0
  129. package/build/migrations-v2/0000000000046-materialized-reservation-journal-operations.ts +709 -0
  130. package/build/migrations-v2/0000000000047-public-audit-completion.ts +77 -0
  131. package/build/migrations-v2/0000000000048-reservation-journal-full-refresh-repair.ts +136 -0
  132. package/build/migrations-v2/0000000000049-queued-journal-operation-failures.ts +60 -0
  133. package/build/migrations-v2/0000000000050-connection-oauth-state.ts +43 -0
  134. package/build/migrations-v2/0000000000051-owner-statement-email-delivery.ts +134 -0
  135. package/build/migrations-v2/0000000000052-fee-journal-lock-skip-operations.ts +59 -0
  136. package/build/migrations-v2/0000000000053-fee-journal-lock-skip-null-attempt.ts +44 -0
  137. package/build/migrations-v2/0000000000054-journal-refresh-issue-codes.ts +16 -0
  138. package/build/migrations-v2/0000000000055-tenant-billing-subscription.ts +8 -0
  139. package/build/migrations-v2/0000000000056-journal-operation-failure-precedence.ts +306 -0
  140. package/build/migrations-v2/0000000000057-journal-invalidation-failure-code.ts +28 -0
  141. package/build/migrations-v2/0000000000058-journal-invalidation-locked-failure.ts +16 -0
  142. package/build/migrations-v2/0000000000059-billing-active-listing-cross-region-partner.ts +135 -0
  143. package/build/migrations-v2/0000000000060-accounting-integrity-change-driven.ts +99 -0
  144. package/build/migrations-v2/0000000000061-tenant-pending-onboarding-status.ts +37 -0
  145. package/build/migrations-v2/0000000000062-statement-payout-operations.ts +16 -0
  146. package/build/migrations-v2/0000000000063-missing-account-assignments-issue-code.ts +13 -0
  147. package/build/migrations-v2/0000000000064-journal-invalidation-source-lookup-index.ts +26 -0
  148. package/build/migrations-v2/0000000000065-hasura-connection-event-credentials.ts +42 -0
  149. package/build/migrations-v2/0000000000066-recurring-fee-listing-subscription-match-by.ts +51 -0
  150. package/build/migrations-v2/0000000000067-connection-credential-metadata.ts +60 -0
  151. package/build/migrations-v2/0000000000068-connection-credential-version.ts +34 -0
  152. package/build/migrations-v2/0000000000069-owner-statement-contact-email-delivery.ts +84 -0
  153. package/build/migrations-v2/0000000000070-payment-writer-compatibility.ts +69 -0
  154. package/build/migrations-v2/0000000000071-payments.ts +532 -0
  155. package/build/migrations-v2/0000000000072-journal-entry-payment-index.ts +21 -0
  156. package/build/migrations-v2/0000000000073-batch-invalidation-operation-registration.ts +74 -0
  157. package/build/migrations-v2/0000000000074-owner-statement-email-history.ts +34 -0
  158. package/build/migrations-v2/0000000000075-tenant-deletion-lookup-indexes.ts +46 -0
  159. package/build/migrations-v2/0000000000076-tenant-onboarding-not-null.ts +23 -0
  160. package/build/migrations-v2/0000000000077-payment-writer-statement-attachment.ts +92 -0
  161. package/build/migrations-v2/0000000000078-trigger-timeout-indexes.ts +44 -0
  162. package/build/migrations-v2/0000000000079-core-change-tenant-statistics.ts +26 -0
  163. package/build/migrations-v2/0000000000080-drop-legacy-tracking-event.ts +60 -0
  164. package/build/migrations-v2/0000000000081-recurring-fee-planner-operation-status.ts +35 -0
  165. package/build/migrations-v2/0000000000082-reservation-search-trigram-indexes.ts +54 -0
  166. package/build/migrations-v2/0000000000083-journal-entry-deposit-lookup-index.ts +31 -0
  167. package/build/migrations-v2/0000000000084-journal-entry-reservation-revenue-indexes.ts +57 -0
  168. package/build/migrations-v2/0000000000085-owner-statement-link-email-template.ts +23 -0
  169. package/build/migrations-v2/0000000000086-contact-payment-setup.ts +72 -0
  170. package/build/migrations-v2/0000000000087-address-delete-fk-indexes.ts +30 -0
  171. package/build/migrations-v2/0000000000088-owner-statement-email-switch.ts +76 -0
  172. package/build/migrations-v2/0000000000089-contact-bank-details-requested-at.ts +21 -0
  173. package/build/migrations-v2/0000000000090-contact-bank-account-api-key.ts +22 -0
  174. package/build/migrations-v2/0000000000091-contact-bank-details-request.ts +78 -0
  175. package/build/migrations-v2/0000000000092-payment-provider-reference.ts +22 -0
  176. package/build/migrations-v2/0000000000093-payment-reversal-offline-undo.ts +18 -0
  177. package/build/migrations-v2/0000000000094-reservation-status-checkout-index.ts +37 -0
  178. package/build/migrations-v2/0000000000095-payment-batches.ts +196 -0
  179. package/build/migrations-v2/0000000000096-guide-ongoing-tasks-issue-codes.ts +26 -0
  180. package/build/migrations-v2/0000000000097-reservation-line-mapping-suggestions.ts +53 -0
  181. package/build/migrations-v2/0000000000098-cancelled-reservation-balances-issue-code.ts +13 -0
  182. package/build/migrations-v2/0000000000099-contact-bank-account-request-source.ts +28 -0
  183. package/build/migrations-v2/0000000000100-drop-regional-feature-flags.ts +105 -0
  184. package/build/migrations-v2/0000000000101-bank-record-match-source.ts +45 -0
  185. package/build/migrations-v2/0000000000102-owner-statement-email-one-template.ts +63 -0
  186. package/build/migrations-v2/0000000000103-reservation-line-mapping-update-operation.ts +10 -0
  187. package/build/migrations-v2/0000000000104-export-job-payment-batch-pdf.ts +12 -0
  188. package/build/migrations-v2/0000000000105-drop-regional-token.ts +60 -0
  189. package/build/migrations-v2/0000000000106-incremental-audit-action-source.ts +158 -0
  190. package/build/migrations-v2/0000000000107-audit-mutation-transaction-insert-index.ts +44 -0
  191. package/build/migrations-v2/0000000000108-reservation-stay-type.ts +24 -0
  192. package/build/migrations-v2/0000000000109-long-term-liabilities-category-order.ts +21 -0
  193. package/build/migrations-v2/0000000000110-pms-sync-failures-issue-code.ts +13 -0
  194. package/build/migrations-v2/0000000000110-reservation-line-type-taxable.ts +21 -0
  195. package/build/migrations-v2/0000000000111-reservation-line-type-suggestion-taxable.ts +20 -0
  196. package/build/migrations-v2/0000000000112-contact-payment-method-outside-default.ts +44 -0
  197. package/build/migrations-v2/0000000000113-merchant-fee-reference-assignment.ts +25 -0
  198. package/build/migrations-v2/0000000000114-recurring-fee-nights-filter.ts +32 -0
  199. package/build/migrations-v2/0000000000115-bank-records-with-suggested-rule-issue-code.ts +13 -0
  200. package/build/migrations-v2/0000000000116-guest-review.ts +45 -0
  201. package/build/migrations-v2/0000000000117-ramp-external-funding-accounts.ts +91 -0
  202. package/build/migrations-v2/0000000000118-pm-payout-assignment.ts +25 -0
  203. package/build/migrations-v2/0000000000119-chart-of-accounts-classifications.ts +46 -0
  204. package/build/migrations-v2/0000000000120-feedback.ts +41 -0
  205. package/build/migrations-v2/0000000000121-source-owner-block-calendar-index.ts +43 -0
  206. package/build/migrations-v2/0000000000122-recurring-fee-stay-types-filter.ts +20 -0
  207. package/build/migrations-v2/0000000000123-reservation-owner-stay-type-index.ts +40 -0
  208. package/build/migrations-v2/0000000000124-remove-tenant-test-and-billable-columns.ts +63 -0
  209. package/build/migrations-v2/0000000000125-ramp-application.ts +56 -0
  210. package/build/migrations-v2/0000000000126-advanced-deposits-update-operation.ts +10 -0
  211. package/build/migrations-v2/0000000000127-contact-1099-tax-details.ts +46 -0
  212. package/build/migrations-v2/0000000000128-tax-1099-email-templates.ts +36 -0
  213. package/build/migrations-v2/0000000000129-tenant-locked-at.ts +18 -0
  214. package/build/migrations-v2/0000000000130-second-factor-reset.ts +65 -0
  215. package/build/migrations-v2/0000000000131-payout-hold.ts +49 -0
  216. package/build/migrations-v2/0000000000132-member-invite-approval.ts +62 -0
  217. package/build/migrations-v2/0000000000133-audit-action-client-ip.ts +38 -0
  218. package/build/migrations-v2/0000000000134-drop-orphaned-hasura-triggers.ts +39 -0
  219. package/build/migrations-v2/0000000000135-drop-orphaned-hasura-triggers-literal.ts +42 -0
  220. package/build/migrations-v2/0000000000136-drop-all-hasura-triggers.ts +43 -0
  221. package/build/migrations-v2/0000000000137-webhook-event.ts +57 -0
  222. package/build/migrations-v2/0000000000138-contact-tax-details-requested-at.ts +24 -0
  223. package/build/migrations-v2/0000000000139-tax-statement-1099.ts +140 -0
  224. package/build/migrations-v2/0000000000140-owner-payment-settings.ts +53 -0
  225. package/build/migrations-v2/0000000000141-owner-payment-requests.ts +100 -0
  226. package/build/migrations-v2/0000000000148-statement-level-operation-triggers.ts +229 -0
  227. package/build/migrations-v2/0000000000150-recurring-fee-listing-subscription-listing-index.ts +37 -0
  228. package/build/migrations-v2/0000000000151-core-change-unused-indexes.ts +85 -0
  229. package/build/migrations-v2/0000000000152-core-change-pms-sync-failures-index.ts +38 -0
  230. package/build/migrations-v2/0000000000154-accounting-integrity-backlog-performance.ts +68 -0
  231. package/build/migrations-v2/0000000000155-source-last-successful-hash.ts +23 -0
  232. package/build/module/camel-case/index.d.ts +4 -4
  233. package/build/module/camel-case/index.js +4 -3
  234. package/build/module/camel-case/index.js.map +1 -1
  235. package/build/module/connect-handoff.d.ts +12 -0
  236. package/build/module/connect-handoff.js +70 -0
  237. package/build/module/connect-handoff.js.map +1 -0
  238. package/build/module/control-plane/index.d.ts +421 -14
  239. package/build/module/control-plane/index.js +58 -1
  240. package/build/module/control-plane/index.js.map +1 -1
  241. package/build/module/domain.d.ts +4 -0
  242. package/build/module/domain.js +2 -0
  243. package/build/module/domain.js.map +1 -0
  244. package/build/module/error.d.ts +2 -1
  245. package/build/module/error.js +3 -1
  246. package/build/module/error.js.map +1 -1
  247. package/build/module/index.d.ts +57 -15
  248. package/build/module/index.js +496 -64
  249. package/build/module/index.js.map +1 -1
  250. package/build/module/isomorphic.d.ts +6 -6
  251. package/build/module/isomorphic.js +2 -7
  252. package/build/module/isomorphic.js.map +1 -1
  253. package/build/module/local/digest.d.ts +3 -3
  254. package/build/module/local/digest.js.map +1 -1
  255. package/build/module/local/generate.js +15 -13
  256. package/build/module/local/generate.js.map +1 -1
  257. package/build/module/local/index.d.ts +5 -1
  258. package/build/module/local/index.js +347 -13
  259. package/build/module/local/index.js.map +1 -1
  260. package/build/module/local/prune-pulled-schema.js +4 -1
  261. package/build/module/local/prune-pulled-schema.js.map +1 -1
  262. package/build/module/migration-source.d.ts +4 -0
  263. package/build/module/migration-source.js +42 -0
  264. package/build/module/migration-source.js.map +1 -0
  265. package/build/module/migration.d.ts +7 -0
  266. package/build/module/migration.js +8 -0
  267. package/build/module/migration.js.map +1 -0
  268. package/build/module/pganalyze-comment-plugin/comment-transformer.js +3 -1
  269. package/build/module/pganalyze-comment-plugin/comment-transformer.js.map +1 -1
  270. package/build/module/plugins.d.ts +2 -2
  271. package/build/module/plugins.js.map +1 -1
  272. package/build/module/postgres-error.d.ts +9 -0
  273. package/build/module/postgres-error.js +24 -0
  274. package/build/module/postgres-error.js.map +1 -0
  275. package/build/module/query/index.d.ts +1 -0
  276. package/build/module/query/index.js +1 -0
  277. package/build/module/query/index.js.map +1 -1
  278. package/build/module/query/listing/status.d.ts +2 -12
  279. package/build/module/query/listing/status.js +35 -18
  280. package/build/module/query/listing/status.js.map +1 -1
  281. package/build/module/query/tenant/billing-partner.d.ts +4 -0
  282. package/build/module/query/tenant/billing-partner.js +5 -0
  283. package/build/module/query/tenant/billing-partner.js.map +1 -0
  284. package/build/module/query/tenant/feature-enabled.d.ts +6 -0
  285. package/build/module/query/tenant/feature-enabled.js +27 -0
  286. package/build/module/query/tenant/feature-enabled.js.map +1 -0
  287. package/build/module/query/tenant/index.d.ts +4 -0
  288. package/build/module/query/tenant/index.js +5 -0
  289. package/build/module/query/tenant/index.js.map +1 -0
  290. package/build/module/query/tenant/status.d.ts +9 -0
  291. package/build/module/query/tenant/status.js +28 -0
  292. package/build/module/query/tenant/status.js.map +1 -0
  293. package/build/module/query/tenant/where-uuid-in.d.ts +2 -0
  294. package/build/module/query/tenant/where-uuid-in.js +11 -0
  295. package/build/module/query/tenant/where-uuid-in.js.map +1 -0
  296. package/build/module/regional.d.ts +31 -4
  297. package/build/module/regional.js +68 -8
  298. package/build/module/regional.js.map +1 -1
  299. package/build/module/test/index.d.ts +21 -11
  300. package/build/module/test/index.js +31 -26
  301. package/build/module/test/index.js.map +1 -1
  302. package/build/module/transaction.d.ts +3 -3
  303. package/build/module/transaction.js.map +1 -1
  304. package/build/module/v1.generated.d.ts +1407 -177
  305. package/build/module/v1.generated.js.map +1 -1
  306. package/package.json +19 -16
  307. package/build/migrations/0000000000001-init.ts +0 -5
  308. package/build/migrations/0000000000009-drop-store-schema.ts +0 -14
  309. package/build/migrations/0000000000010-bank-rules.ts +0 -190
  310. package/build/migrations/0000000000011-bank-rule-line-adjustments.ts +0 -65
  311. package/build/migrations/0000000000012-bank-rule-conditions.ts +0 -45
  312. package/build/migrations/0000000000013-bank-rule-name-unique.ts +0 -15
  313. package/build/migrations/0000000000014-bank-rule-drop-legacy-conditions.ts +0 -41
  314. package/build/migrations/0000000000015-booking-channel-logo-dev-provider.ts +0 -70
  315. package/build/migrations/0000000000016-owner-statement-draft-status.ts +0 -22
  316. package/build/migrations/0000000000017-tenant-migration-markers.ts +0 -18
  317. package/build/migrations/0000000000018-security-deposits-payable-category.ts +0 -63
  318. package/build/migrations/0000000000019-tenant-app-settings.ts +0 -76
  319. package/build/migrations/0000000000020-operating-opening-trial-balance.ts +0 -36
  320. package/build/migrations/0000000000021-audit-foreign-key-indexes.ts +0 -77
  321. package/build/migrations/0000000000022-opening-trial-balance-combined-columns.ts +0 -30
  322. package/build/migrations/0000000000024-listing-parent.ts +0 -37
  323. package/build/migrations/0000000000025-journal-entry-parent-listing.ts +0 -26
  324. package/build/migrations/0000000000026-booking-channel-logo-slots.ts +0 -89
  325. package/build/migrations/0000000000027-list-browse-performance-indexes.ts +0 -52
  326. package/build/migrations/0000000000028-flow-setting-status-jsonb.ts +0 -20
  327. package/build/migrations/0000000000029-tenant-slug.ts +0 -328
  328. package/build/migrations/0000000000030-pms-accounting-windows.ts +0 -50
  329. package/build/migrations/0000000000031-owner-statement-projection-listing-revision.ts +0 -20
  330. package/build/migrations/0000000000032-flow-event-listening.ts +0 -28
  331. package/build/migrations/0000000000033-opening-trial-balance-transaction.ts +0 -272
  332. package/build/migrations/0000000000034-historic-general-ledger.ts +0 -24
  333. package/build/migrations/0000000000035-tenant-regional-placement.ts +0 -37
  334. package/build/migrations/0000000000036-control-plane-projection-events.ts +0 -43
  335. package/build/migrations/0000000000037-tenant-guide-onboarding.ts +0 -21
  336. package/build/migrations/0000000000038-tracking-event-analytics-sink.ts +0 -31
  337. package/build/migrations/0000000000039-crunchy-region.ts +0 -86
  338. package/build/migrations/0000000000040-hostaway-region.ts +0 -72
  339. package/build/migrations/0000000000041-audit-tenant-fk.ts +0 -66
  340. package/build/migrations/0000000000042-ramp-staging-connect-params.ts +0 -35
  341. package/build/migrations/0000000000043-gl-pms-accounting-window-guard.ts +0 -125
  342. package/build/migrations/0000000000044-tenant-cross-region-fks.ts +0 -45
  343. package/build/migrations/0000000000045-cloudflare-region-env.ts +0 -100
  344. package/build/migrations/0000000000046-control-plane-outbox-alias.ts +0 -46
  345. package/build/migrations/0000000000047-ramp-contact-last-4-digits.ts +0 -16
  346. package/build/migrations/0000000000047-tenant-status-backfill.ts +0 -40
  347. package/build/migrations/0000000000048-tenant-status-constraint.ts +0 -24
  348. package/build/migrations/0000000000049-health-tenant-issues.ts +0 -69
  349. package/build/migrations/0000000000050-partner-webhooks.ts +0 -135
  350. package/build/migrations/0000000000051-health-webhook-runtime-grants.ts +0 -42
  351. package/build/migrations/0000000000052-feature-approval-team-enablement.ts +0 -13
  352. package/build/migrations/0000000000053-health-webhook-enums.ts +0 -296
@@ -3,18 +3,91 @@
3
3
  * Please do not edit it manually.
4
4
  */
5
5
  import type { ColumnType } from "kysely";
6
- export type AccountingJournalEntryInactiveReason = "cancelledReservationLine" | "currencyMismatch" | "generalLedgerStartAt" | "inactiveAccount" | "listingInactive" | "nonPostingAccount" | "reservationGeneralLedgerStatusInactive" | "transactionInactive" | "unknownInactiveReason";
6
+ export type AccountingBankAccountHolderType = "business" | "individual";
7
+ export type AccountingAccountConnectionMatchSource = "auto" | "manual";
8
+ export type AccountingAccountConnectionMatchStatus = "ambiguous" | "entityMismatch" | "matched" | "noMatch" | "unmapped";
9
+ export type AccountingAccountConnectionRole = "feed" | "funding";
10
+ export type AccountingBankAccountKind = "checking" | "savings";
11
+ export type AccountingBankDetailsRequestDelivery = "failed" | "queued" | "sent" | "skipped";
12
+ export type AccountingBankRecordMatchSource = "autoRule" | "manual" | "rule" | "suggestion";
13
+ export type AccountingCheckFormat = "standard" | "voucher";
14
+ export type AccountingCheckPrintMode = "plainPaper" | "preprinted";
15
+ export type AccountingContactPaymentMethod = "check" | "nachaAch" | "outside" | "rampAch";
16
+ export type AccountingContactTaxIdType = "ein" | "ssn";
17
+ export type AccountingJournalEntryInactiveReason = "cancelledReservationLine" | "currencyMismatch" | "generalLedgerStartAt" | "historicalLedger" | "inactiveAccount" | "listingInactive" | "listingOwnershipPeriodNotFound" | "nonPostingAccount" | "reservationGeneralLedgerStatusInactive" | "transactionInactive" | "unbalancedGroupInactiveLeg" | "unknownInactiveReason";
7
18
  export type AccountingJournalEntryLedger = "historical" | "operating" | "trust";
19
+ export type AccountingNachaBankProfile = "bmo" | "generic" | "hancockWhitney" | "regions";
20
+ export type AccountingNachaSecCode = "CCD" | "PPD";
21
+ export type AccountingOwnerPaymentMethod = "ach";
22
+ export type AccountingOwnerPaymentStatus = "failed" | "paid" | "processing" | "received" | "returned";
23
+ export type AccountingPaymentBatchType = "check" | "nacha";
24
+ export type AccountingPaymentCommandKind = "cancel" | "refresh" | "submit";
25
+ export type AccountingPaymentCommandOutcome = "accepted" | "conflictingEvidence" | "rejected" | "unknown";
26
+ export type AccountingPaymentIssue = "accountingConfiguration" | "allocationOutOfRange" | "amountMismatch" | "conflictingEvidence" | "currencyMismatch" | "overpayment" | "recipientMismatch" | "unknownOutcome" | "unknownStatus" | "unlinkedMovement" | "unmappedFundingAccount";
27
+ export type AccountingPaymentMethod = "ach" | "cash" | "check" | "other" | "wire";
28
+ export type AccountingPaymentObservationOrigin = "provider" | "review";
29
+ export type AccountingPaymentOrigin = "provider" | "vrp";
30
+ export type AccountingPaymentProvider = "ramp";
31
+ export type AccountingPaymentResourceType = "bill" | "payment" | "transfer";
32
+ export type AccountingPaymentReversalKind = "bankUnmatch" | "offlineReversal" | "offlineUndo" | "providerReturn";
33
+ export type AccountingPaymentStatus = "canceled" | "failed" | "pending" | "processing" | "scheduled" | "submitting" | "succeeded";
34
+ export type AccountingPayoutHoldReason = "newBankDetails" | "takeoverPattern";
35
+ export type AccountingReservationJournalInvalidationFailure = "journal_configuration_invalid" | "journal_locked";
36
+ export type AccountingReservationLineMappingSuggestionSource = "llm" | "rule";
37
+ export type AccountingTaxStatementCorrection = "amount" | "recipient" | "void";
38
+ export type AccountingTaxStatementFilingPeriod = "decNov" | "janDec";
39
+ export type AccountingTaxStatementStatus = "draft" | "failed" | "queued" | "superseded" | "transmitted";
8
40
  export type AccountingTransactionAttachmentStatus = "attached" | "deleting" | "ready" | "uploading";
9
- export type AuditActionActorType = "automation" | "sync" | "system" | "user";
41
+ export type ArrayType<T> = ArrayTypeImpl<T> extends (infer U)[] ? U[] : ArrayTypeImpl<T>;
42
+ export type ArrayTypeImpl<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S[], I[], U[]> : T[];
43
+ export type AuditActionActorType = "api_key" | "automation" | "sync" | "system" | "user";
44
+ export type AuditActorOrganizationType = "partner" | "system" | "team" | "vrplatform";
10
45
  export type AuditEffectAttemptStatus = "completed" | "failed" | "running" | "skipped_locked";
11
46
  export type AuditEffectStatus = "claimed" | "completed" | "dead_letter" | "failed" | "pending" | "running";
12
47
  export type AuditJournalDeltaOperation = "delete" | "insert" | "update";
48
+ export type AuditPublicEventAccountingStatus = "blocked" | "changed" | "failed" | "mixed" | "not_applicable" | "pending" | "unchanged";
49
+ export type AuditPublicEventOperation = "archive" | "create" | "delete" | "execute" | "recalculate" | "restore" | "update";
50
+ export type AuditSourceType = "api" | "automation" | "embedded" | "integration" | "portal" | "sync" | "system";
51
+ export type BillingListingFactSourceType = "baseline_backfill" | "daily_reconciliation" | "legacy_tracking_import" | "listing_delete" | "listing_insert" | "listing_update" | "ownership_delete" | "ownership_insert" | "ownership_update" | "tenant_delete" | "tenant_insert" | "tenant_update";
52
+ export type CoreAsyncOperationResultStatus = "completed" | "failed" | "queued";
53
+ export type CoreCsvOperationResultKind = "import" | "preview";
54
+ export type CoreCsvOperationResultStatus = "completed" | "failed" | "processing" | "queued";
55
+ export type CoreEmailDeliveryFailureCode = "inactive_recipient" | "invalid_provider_response" | "missing_email" | "notifications_disabled" | "postmark_not_configured" | "provider_rejected" | "task_failed" | "transport_failed" | "unsubscribed";
56
+ export type CoreEmailDeliveryStatus = "accepted" | "canceled" | "failed" | "queued" | "rejected" | "retrying" | "sending" | "skipped";
57
+ export type CoreEmailNotificationStatus = "canceled" | "completed" | "failed" | "processing" | "queued";
58
+ export type CoreEmailNotificationTrigger = "link_replacement" | "publish" | "resend";
59
+ export type CoreExportJobFormat = "csv" | "pdf" | "zip";
60
+ export type CoreExportJobTaskId = "api/export-journal-entries-csv" | "api/export-manager-statement-pdf" | "api/export-owner-statement-combined-csv" | "api/export-owner-statement-pdf" | "api/export-owner-statement-pdf-batch-zip" | "api/export-owner-statement-summary-pdf" | "api/export-owner-statement-summary-pdf-batch-zip" | "api/export-payment-batch-pdf" | "api/export-route" | "api/export-trust-reconciliation-pdf";
61
+ export type CoreFlowEventOperationAction = "abandon" | "replay";
62
+ export type CoreFlowEventStatus = "canceled" | "dead" | "pending" | "processing" | "succeeded";
63
+ export type CoreOperationPublicIdFormat = "action" | "legacy";
64
+ export type CoreOperationResourceRole = "result" | "source" | "target";
65
+ export type CoreOperationResourceType = "bank-rule" | "connection" | "contact" | "file" | "flow" | "listing" | "recurring-fee" | "recurring-transaction-template" | "reservation" | "statement" | "team" | "transaction" | "webhook";
66
+ export type CoreOperationSourceType = "audit-action" | "export-job" | "sync" | "webhook-delivery";
67
+ export type CoreOperationStatus = "completed" | "failed" | "queued" | "running";
68
+ export type CoreOperationType = "ach-verification" | "advanced-deposits-update" | "bank-rule-run" | "calendar-block" | "calendar-unblock" | "connection-archive" | "connection-connect" | "connection-extract" | "connection-sync" | "csv-import" | "csv-import-preview" | "export" | "flow-run" | "historical-gl-import" | "historical-statement-import" | "listing-journal-refresh" | "plaid-initial-sync" | "pms-cutover" | "pms-cutover-preview" | "provider-payment" | "provider-payment-recovery" | "recurring-transaction-run" | "reservation-journal-refresh" | "reservation-line-mapping-update" | "statement-payout" | "statement-payout-preview" | "team-delete" | "team-demo-data" | "team-duplicate" | "team-initialize" | "transaction-journal-refresh" | "vri-statement-import" | "vri-team-migration" | "webhook-test";
69
+ export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
70
+ export type HealthAccountingIntegrityActionability = "automatically_repairable" | "blocked" | "code_fix_required" | "manual_repair" | "unknown";
71
+ export type HealthAccountingIntegrityCaseStatus = "open" | "resolved";
72
+ export type HealthAccountingIntegrityConfidence = "probable" | "proven" | "unknown";
73
+ export type HealthAccountingIntegrityDeliveryChannel = "sentry" | "slack";
74
+ export type HealthAccountingIntegrityDeliveryStatus = "dead_letter" | "delivered" | "failed" | "pending" | "processing" | "suppressed";
75
+ export type HealthAccountingIntegrityDirtyRecordType = "reservation" | "transaction";
76
+ export type HealthAccountingIntegrityRepairPlanStatus = "active" | "canceled" | "completed" | "draft" | "failed" | "paused";
77
+ export type HealthAccountingIntegrityRepairScopeType = "case" | "tenant";
78
+ export type HealthAccountingIntegrityRepairStageStatus = "applying" | "approved" | "canceled" | "dry_run_passed" | "failed" | "paused" | "planned" | "verified" | "verifying";
79
+ export type HealthAccountingIntegrityRepairTargetStatus = "applied" | "applying" | "canceled" | "failed" | "paused" | "pending" | "verified" | "verifying";
80
+ export type HealthAccountingIntegrityRepairTransitionType = "approval_granted" | "approval_invalidated" | "canceled" | "completed" | "dry_run_passed" | "failed" | "paused" | "plan_activated" | "plan_created" | "stage_applying" | "stage_verified" | "target_applied" | "target_applying" | "target_verified" | "target_verifying";
81
+ export type HealthAccountingIntegrityResolutionClassification = "code_fix" | "configuration" | "data_repair" | "expected" | "false_positive" | "monitor_fix" | "unknown";
82
+ export type HealthAccountingIntegrityReviewStatus = "confirmed_issue" | "expected" | "false_positive" | "unreviewed";
83
+ export type HealthAccountingIntegrityRunStatus = "completed" | "failed" | "running" | "skipped";
84
+ export type HealthAccountingIntegritySeverity = "critical" | "error" | "info" | "warning";
85
+ export type HealthAccountingIntegrityTransitionType = "changed" | "opened" | "reopened" | "resolved" | "reviewed";
86
+ export type HealthAccountingIntegrityUrgency = "backlog" | "immediate" | "next_triage" | "none";
13
87
  export type HealthTenantIssueCategory = "criticalToSystem" | "criticalToUser";
14
- export type HealthTenantIssueCode = "brokenConnections" | "cancelledReservationPaidWithoutAdjustment" | "closedPeriodUnattachedJournalEntries" | "duplicatedPayments" | "endedOwnershipNonZeroBalance" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "missingOwnershipOrDeactivation" | "operatingBankAccountsWithoutOpex" | "outdatedConnections" | "partnerBillingInactive" | "partnerInactive" | "pmsMissingAccountingStart" | "publishedStatementUnpaid" | "reservationCurrencyMismatch" | "reservationGuestTotalsMismatch" | "reservationPaymentProjectionMismatch" | "teamInactive" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "unpaidReservations";
88
+ export type HealthTenantIssueCode = "bankRecordsWithSuggestedMatch" | "bankRecordsWithSuggestedRule" | "brokenConnections" | "cancelledReservationBalances" | "cancelledReservationPaidWithoutAdjustment" | "closedPeriodUnattachedJournalEntries" | "departedReservationBalanceMismatch" | "duplicatedPayments" | "endedOwnershipNonZeroBalance" | "journalConfigurationInvalid" | "journalLocked" | "journalUnbalanced" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "listingsNeedSetup" | "missingAccountAssignments" | "missingOwnershipOrDeactivation" | "operatingBankAccountsWithoutOpex" | "outdatedConnections" | "partnerBillingInactive" | "partnerInactive" | "pmsMissingAccountingStart" | "pmsSyncFailures" | "publishedStatementUnpaid" | "reservationCurrencyMismatch" | "reservationGuestTotalsMismatch" | "reservationPaymentProjectionMismatch" | "teamInactive" | "unassignedGuestDeposits" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "unmappedReservationLineTypes" | "unmatchedBankDeposits" | "unmatchedBankExpenses" | "unpaidReservations" | "unreconciledBankTransactions";
15
89
  export type HealthTenantIssueSeverity = "error" | "warning";
16
90
  export type HealthTenantIssueStatus = "open" | "resolved";
17
- export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
18
91
  export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
19
92
  export type Json = JsonValue;
20
93
  export type JsonArray = JsonValue[];
@@ -24,16 +97,28 @@ export type JsonObject = {
24
97
  export type JsonPrimitive = boolean | number | string | null;
25
98
  export type JsonValue = JsonArray | JsonObject | JsonPrimitive;
26
99
  export type Numeric = ColumnType<string, number | string, number | string>;
100
+ export type PublicFeedbackKind = "bug" | "feedback" | "question";
27
101
  export type PublicFlowType = "pull" | "push";
102
+ export type PublicGuestReviewChannel = "airbnb" | "bookingCom" | "vrbo";
103
+ export type PublicMemberInviteApprovalRole = "admin" | "user";
104
+ export type PublicMemberInviteApprovalStatus = "approved" | "pending" | "rejected";
105
+ export type PublicPlaidConnectMode = "create" | "replace" | "update";
106
+ export type PublicPlaidConnectStatus = "awaitingConfiguration" | "completed" | "configuring" | "credentialsStored" | "discoveringAccounts" | "exchangeOutcomeUnknown" | "exchanging" | "expired" | "failed" | "pendingLink";
107
+ export type PublicSecondFactorResetInitiator = "support" | "teamAdmin";
108
+ export type PublicSecondFactorResetStatus = "approved" | "denied" | "expired" | "pending";
109
+ export type PublicRampApplicationEnvironment = "demo" | "production";
110
+ export type PublicRampApplicationStatus = "approved" | "followUpsRequired" | "inReview" | "invited" | "rejected" | "started" | "withdrawn";
28
111
  export type PublicRecurringFeeConditionOperator = "<" | "<=" | "=" | ">" | ">=";
112
+ export type PublicRecurringFeeListingSubscriptionMatchBy = "bookedDate" | "stayDate";
113
+ export type PublicReservationStayType = "guest" | "owner" | "ownerGuest";
114
+ export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
29
115
  export type WebhookApiVersion = "2026-07-01";
30
116
  export type WebhookDeliveryStatus = "canceled" | "delivering" | "failed" | "queued" | "retrying" | "succeeded";
31
- export type WebhookEventType = "team.issues.changed" | "webhook.test";
32
- export type WebhookResourceType = "team" | "webhook";
33
- export type WebhookSubscriptionEventType = "team.issues.changed";
117
+ export type WebhookEventType = "audit.event.changed" | "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed" | "webhook.test";
118
+ export type WebhookResourceType = "auditEvent" | "connection" | "listing" | "reservation" | "statement" | "sync" | "team" | "transaction" | "webhook";
119
+ export type WebhookSubscriptionEventType = "audit.event.changed" | "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed";
34
120
  export type WebhookSubscriptionScope = "managedTeams" | "self";
35
121
  export type WebhookSubscriptionStatus = "active" | "disabled" | "pending";
36
- export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
37
122
  export interface AccountingAccount {
38
123
  bankingCategory: string | null;
39
124
  bankingCurrency: string | null;
@@ -47,8 +132,6 @@ export interface AccountingAccount {
47
132
  createdAt: Generated<Timestamp | null>;
48
133
  id: Generated<string>;
49
134
  offsetAccountId: string | null;
50
- openingTrialBalanceCombinedCentTotal: Generated<Int8>;
51
- openingTrialBalanceUpdatedAt: Timestamp | null;
52
135
  status: Generated<string>;
53
136
  tenantId: string | null;
54
137
  title: string;
@@ -83,33 +166,23 @@ export interface AccountingAccountCategory {
83
166
  export interface AccountingAccountClassification {
84
167
  name: string;
85
168
  }
86
- export interface AccountingAccountReservationLineType {
87
- accountId: string | null;
88
- bookingChannel: string | null;
89
- createdAt: Generated<Timestamp>;
90
- id: Generated<string>;
91
- lineType: string;
92
- revenueRecognition: string | null;
93
- status: Generated<string | null>;
94
- tenantId: string;
95
- updatedAt: Generated<Timestamp>;
96
- }
97
- export interface AccountingAccountReservationRevRec {
98
- name: string;
99
- }
100
- export interface AccountingAccountType {
101
- name: string;
102
- }
103
- export interface AccountingBankAccount {
169
+ export interface AccountingAccountConnection {
104
170
  accountId: string | null;
105
171
  category: Generated<string | null>;
106
172
  connectionId: string | null;
107
173
  createdAt: Generated<Timestamp>;
108
174
  currency: string | null;
175
+ fundingEntityRef: string | null;
109
176
  holderName: string | null;
110
177
  id: Generated<string>;
111
178
  lastDigits: string | null;
179
+ matchCandidateAccountIds: Generated<string[]>;
180
+ matchedAt: Timestamp | null;
181
+ matchSource: AccountingAccountConnectionMatchSource | null;
182
+ matchStatus: AccountingAccountConnectionMatchStatus | null;
112
183
  name: string | null;
184
+ persistentRef: string | null;
185
+ role: Generated<AccountingAccountConnectionRole>;
113
186
  sourceId: string | null;
114
187
  startDate: Timestamp | null;
115
188
  /**
@@ -122,6 +195,61 @@ export interface AccountingBankAccount {
122
195
  uniqueRef: string | null;
123
196
  updatedAt: Generated<Timestamp>;
124
197
  }
198
+ export interface AccountingAccountPaymentFileSetting {
199
+ accountId: string;
200
+ accountKind: AccountingBankAccountKind | null;
201
+ accountNumber: string | null;
202
+ bankName: string | null;
203
+ checkEnabled: Generated<boolean>;
204
+ checkFormat: AccountingCheckFormat | null;
205
+ checkNextNumber: number | null;
206
+ checkOffsetX: Generated<number>;
207
+ checkOffsetY: Generated<number>;
208
+ checkPrintMode: AccountingCheckPrintMode | null;
209
+ companyAddress: Json | null;
210
+ companyName: string | null;
211
+ createdAt: Generated<Timestamp>;
212
+ nachaAcceptCanadian: Generated<boolean>;
213
+ nachaBankProfile: AccountingNachaBankProfile | null;
214
+ nachaCompanyId: string | null;
215
+ nachaCompanyName: string | null;
216
+ nachaDiscretionaryData: string | null;
217
+ nachaEnabled: Generated<boolean>;
218
+ nachaEntryDescription: string | null;
219
+ nachaImmediateDestination: string | null;
220
+ nachaImmediateDestinationName: string | null;
221
+ nachaImmediateOrigin: string | null;
222
+ nachaImmediateOriginName: string | null;
223
+ nachaOffsetEntry: Generated<boolean>;
224
+ nachaTestFileAt: Timestamp | null;
225
+ nachaTestFileValid: boolean | null;
226
+ routingNumber: string | null;
227
+ tenantId: string;
228
+ updatedAt: Generated<Timestamp>;
229
+ updatedByUserId: string | null;
230
+ }
231
+ export interface AccountingAccountReservationLineType {
232
+ accountId: string | null;
233
+ bookingChannel: string | null;
234
+ createdAt: Generated<Timestamp>;
235
+ id: Generated<string>;
236
+ isSuggestion: Generated<boolean>;
237
+ lineType: string;
238
+ revenueRecognition: string | null;
239
+ status: Generated<string | null>;
240
+ suggestionReason: string | null;
241
+ suggestionSource: AccountingReservationLineMappingSuggestionSource | null;
242
+ suggestionTaxable: boolean | null;
243
+ taxable: Generated<boolean>;
244
+ tenantId: string;
245
+ updatedAt: Generated<Timestamp>;
246
+ }
247
+ export interface AccountingAccountReservationRevRec {
248
+ name: string;
249
+ }
250
+ export interface AccountingAccountType {
251
+ name: string;
252
+ }
125
253
  export interface AccountingBankAccountCategory {
126
254
  name: string;
127
255
  }
@@ -129,8 +257,8 @@ export interface AccountingBankAccountType {
129
257
  name: string;
130
258
  }
131
259
  export interface AccountingBankRecord {
260
+ accountConnectionId: string | null;
132
261
  accountId: string | null;
133
- bankAccountId: string | null;
134
262
  calculatedCentBalance: number | null;
135
263
  calculatedCentTotalCorrection: number | null;
136
264
  centBalance: number | null;
@@ -150,8 +278,10 @@ export interface AccountingBankRecord {
150
278
  }
151
279
  export interface AccountingBankRecordTransactionPayment {
152
280
  bankRecordId: string;
281
+ bankRuleId: string | null;
153
282
  createdAt: Generated<Timestamp>;
154
283
  id: Generated<string>;
284
+ matchSource: AccountingBankRecordMatchSource | null;
155
285
  tenantId: string | null;
156
286
  transactionId: string;
157
287
  updatedAt: Generated<Timestamp>;
@@ -240,6 +370,8 @@ export interface AccountingBankRuleMode {
240
370
  }
241
371
  export interface AccountingContact {
242
372
  addressData: Json | null;
373
+ addressEditedAt: Timestamp | null;
374
+ bankDetailsRequestedAt: Timestamp | null;
243
375
  /**
244
376
  * When NULL, the type is "individual"
245
377
  */
@@ -247,9 +379,12 @@ export interface AccountingContact {
247
379
  connectionId: string | null;
248
380
  createdAt: Generated<Timestamp>;
249
381
  defaultAccountId: string | null;
382
+ defaultPaymentMethod: Generated<AccountingContactPaymentMethod | null>;
250
383
  email: string | null;
384
+ emailDeliveryRequestedAt: Timestamp | null;
251
385
  firstName: string | null;
252
386
  id: Generated<string>;
387
+ is1099Exempt: Generated<boolean>;
253
388
  is1099PostalDelivery: Generated<boolean>;
254
389
  name: string;
255
390
  phone: string | null;
@@ -259,8 +394,12 @@ export interface AccountingContact {
259
394
  */
260
395
  shortRef: string | null;
261
396
  sourceId: string | null;
397
+ statementEmailEnabled: boolean | null;
398
+ statementEmailUnsubscribedAt: Timestamp | null;
262
399
  status: string | null;
263
400
  taxId: string | null;
401
+ taxIdType: AccountingContactTaxIdType | null;
402
+ taxInfoRequestedAt: Timestamp | null;
264
403
  tenantId: string;
265
404
  /**
266
405
  * owner OR vendor
@@ -269,6 +408,34 @@ export interface AccountingContact {
269
408
  uniqueRef: string | null;
270
409
  updatedAt: Generated<Timestamp>;
271
410
  }
411
+ export interface AccountingContactBankDetailsRequest {
412
+ contactId: string;
413
+ createdAt: Generated<Timestamp>;
414
+ delivery: Generated<AccountingBankDetailsRequestDelivery>;
415
+ id: Generated<string>;
416
+ linkExpiresAt: Timestamp | null;
417
+ openedAt: Timestamp | null;
418
+ recipientEmail: string | null;
419
+ requestedAt: Timestamp;
420
+ requestedByUserId: string | null;
421
+ sentAt: Timestamp | null;
422
+ tenantId: string;
423
+ updatedAt: Generated<Timestamp>;
424
+ }
425
+ export interface AccountingContactBankAccount {
426
+ accountKind: AccountingBankAccountKind;
427
+ accountNumber: string;
428
+ contactId: string;
429
+ createdAt: Generated<Timestamp>;
430
+ holderName: string;
431
+ holderType: AccountingBankAccountHolderType;
432
+ routingNumber: string;
433
+ tenantId: string;
434
+ updatedAt: Generated<Timestamp>;
435
+ updatedByApiTokenId: string | null;
436
+ updatedByBankDetailsRequestId: string | null;
437
+ updatedByUserId: string | null;
438
+ }
272
439
  export interface AccountingContactCompanyType {
273
440
  name: string;
274
441
  }
@@ -294,6 +461,7 @@ export interface AccountingJournalEntry {
294
461
  listingOwnershipPeriodId: string | null;
295
462
  parentListingId: string | null;
296
463
  party: string | null;
464
+ paymentId: string | null;
297
465
  recurringFeeId: string | null;
298
466
  recurringFeeListingSubscriptionId: string | null;
299
467
  reservationId: string | null;
@@ -319,6 +487,49 @@ export interface AccountingJournalEntryTriggerType {
319
487
  export interface AccountingJournalEntryType {
320
488
  name: string;
321
489
  }
490
+ export interface AccountingOwnerPayment {
491
+ amount: number;
492
+ bankLast4: string | null;
493
+ contactId: string | null;
494
+ createdAt: Generated<Timestamp>;
495
+ expectedPayoutAt: Timestamp | null;
496
+ failedAt: Timestamp | null;
497
+ id: Generated<string>;
498
+ method: AccountingOwnerPaymentMethod;
499
+ ownerPaymentRequestId: string;
500
+ paidAt: Timestamp | null;
501
+ receivedAt: Timestamp | null;
502
+ returnedAt: Timestamp | null;
503
+ status: Generated<AccountingOwnerPaymentStatus>;
504
+ tenantId: string;
505
+ transactionId: string | null;
506
+ updatedAt: Generated<Timestamp>;
507
+ }
508
+ export interface AccountingOwnerPaymentRequest {
509
+ amount: number;
510
+ canceledAt: Timestamp | null;
511
+ createdAt: Generated<Timestamp>;
512
+ createdByUserId: string | null;
513
+ currency: string;
514
+ dueAt: Timestamp;
515
+ id: Generated<string>;
516
+ ownerStatementId: string;
517
+ paymentMethods: ArrayType<AccountingOwnerPaymentMethod>;
518
+ tenantId: string;
519
+ updatedAt: Generated<Timestamp>;
520
+ }
521
+ export interface AccountingOwnerPaymentSettings {
522
+ accountId: string | null;
523
+ connectionId: string | null;
524
+ createdAt: Generated<Timestamp>;
525
+ enabled: Generated<boolean>;
526
+ paymentMethods: Generated<ArrayType<AccountingOwnerPaymentMethod>>;
527
+ requestPaymentOnPublish: Generated<boolean>;
528
+ sendReminders: Generated<boolean>;
529
+ statementDescriptor: string | null;
530
+ tenantId: string;
531
+ updatedAt: Generated<Timestamp>;
532
+ }
322
533
  export interface AccountingOwnerStatementProjection {
323
534
  listingId: string | null;
324
535
  listingOwnershipPeriodId: string | null;
@@ -329,6 +540,12 @@ export interface AccountingOwnerStatementProjection {
329
540
  tenantId: string;
330
541
  variant: string;
331
542
  }
543
+ export interface AccountingOwnerStatementProjectionListingRevision {
544
+ listingId: string;
545
+ revision: Generated<Int8>;
546
+ tenantId: string;
547
+ updatedAt: Generated<Timestamp>;
548
+ }
332
549
  export interface AccountingOwnerStatementProjectionRevision {
333
550
  revision: Generated<Int8>;
334
551
  tenantId: string;
@@ -340,6 +557,167 @@ export interface AccountingPaidStatus {
340
557
  export interface AccountingParty {
341
558
  name: string;
342
559
  }
560
+ export interface AccountingPayment {
561
+ accountId: string | null;
562
+ amount: number;
563
+ bankRecordId: string | null;
564
+ closureConfirmedAt: Timestamp | null;
565
+ closureRequestedAt: Timestamp | null;
566
+ connectionId: string | null;
567
+ contactId: string | null;
568
+ createdAt: Generated<Timestamp>;
569
+ currency: string;
570
+ destinationRef: string | null;
571
+ fundingAccountConnectionId: string | null;
572
+ fundingAccountRef: string | null;
573
+ fundingCurrency: string | null;
574
+ fundingDebited: number | null;
575
+ fundingEntityRef: string | null;
576
+ fundingRefunded: number | null;
577
+ id: Generated<string>;
578
+ idempotencyKey: string;
579
+ initiatedAt: Timestamp | null;
580
+ isHistoricalCopy: Generated<boolean>;
581
+ issue: AccountingPaymentIssue | null;
582
+ method: AccountingPaymentMethod;
583
+ observedAt: Timestamp | null;
584
+ operationId: string | null;
585
+ origin: Generated<AccountingPaymentOrigin>;
586
+ postingDate: Timestamp | null;
587
+ provider: AccountingPaymentProvider | null;
588
+ providerBillRef: string | null;
589
+ providerMethod: string | null;
590
+ providerPaymentRef: string | null;
591
+ providerReference: string | null;
592
+ providerStatus: string | null;
593
+ providerUpdatedAt: Timestamp | null;
594
+ recipientRef: string | null;
595
+ reference: string | null;
596
+ replacesPaymentId: string | null;
597
+ requestedDate: Timestamp | null;
598
+ requestFingerprint: string;
599
+ scheduledAt: Timestamp | null;
600
+ settledAt: Timestamp | null;
601
+ status: Generated<AccountingPaymentStatus>;
602
+ tenantId: string;
603
+ terminalAt: Timestamp | null;
604
+ transactionId: string;
605
+ updatedAt: Generated<Timestamp>;
606
+ }
607
+ export interface AccountingPaymentAllocation {
608
+ amount: number;
609
+ createdAt: Generated<Timestamp>;
610
+ id: Generated<string>;
611
+ paymentId: string;
612
+ tenantId: string;
613
+ transactionLineId: string;
614
+ }
615
+ export interface AccountingPaymentBatch {
616
+ accountId: string;
617
+ createdAt: Generated<Timestamp>;
618
+ createdByUserId: string | null;
619
+ currency: string;
620
+ effectiveDate: Timestamp;
621
+ fileContent: string | null;
622
+ fileUpdatedAt: Timestamp | null;
623
+ id: Generated<string>;
624
+ idempotencyKey: string;
625
+ settings: Json;
626
+ tenantId: string;
627
+ type: AccountingPaymentBatchType;
628
+ updatedAt: Generated<Timestamp>;
629
+ voidedAt: Timestamp | null;
630
+ }
631
+ export interface AccountingPaymentBatchItem {
632
+ accountId: string;
633
+ accountKind: AccountingBankAccountKind | null;
634
+ accountNumber: string | null;
635
+ amount: number;
636
+ batchId: string;
637
+ checkNumber: number | null;
638
+ contactId: string;
639
+ createdAt: Generated<Timestamp>;
640
+ id: Generated<string>;
641
+ memo: string | null;
642
+ payeeAddress: Json | null;
643
+ payeeName: string;
644
+ routingNumber: string | null;
645
+ secCode: AccountingNachaSecCode | null;
646
+ stub: Json;
647
+ tenantId: string;
648
+ traceNumber: string | null;
649
+ voidedAt: Timestamp | null;
650
+ }
651
+ export interface AccountingPaymentBatchPayment {
652
+ createdAt: Generated<Timestamp>;
653
+ itemId: string;
654
+ paymentId: string;
655
+ tenantId: string;
656
+ }
657
+ export interface AccountingPaymentCommand {
658
+ createdAt: Generated<Timestamp>;
659
+ fingerprint: string;
660
+ id: string;
661
+ idempotencyKey: string;
662
+ kind: AccountingPaymentCommandKind;
663
+ outcome: AccountingPaymentCommandOutcome | null;
664
+ outcomeAt: Timestamp | null;
665
+ paymentId: string;
666
+ providerFailureCode: string | null;
667
+ tenantId: string;
668
+ }
669
+ export interface AccountingPaymentObservation {
670
+ connectionId: string;
671
+ createdAt: Generated<Timestamp>;
672
+ eventKey: string;
673
+ externalId: string;
674
+ fingerprint: string;
675
+ fundingCurrency: string | null;
676
+ fundingDebited: number | null;
677
+ fundingRefunded: number | null;
678
+ id: Generated<string>;
679
+ issue: AccountingPaymentIssue | null;
680
+ observedAt: Timestamp;
681
+ origin: Generated<AccountingPaymentObservationOrigin>;
682
+ paidAmount: number | null;
683
+ paymentId: string | null;
684
+ providerBillRef: string | null;
685
+ providerPaymentRef: string | null;
686
+ providerStatus: string | null;
687
+ providerUpdatedAt: Timestamp | null;
688
+ resourceType: AccountingPaymentResourceType;
689
+ returnedAt: Timestamp | null;
690
+ settledAt: Timestamp | null;
691
+ snapshot: Json | null;
692
+ sourceId: string | null;
693
+ status: AccountingPaymentStatus | null;
694
+ tenantId: string;
695
+ terminalAt: Timestamp | null;
696
+ }
697
+ export interface AccountingPaymentReversal {
698
+ createdAt: Generated<Timestamp>;
699
+ effectiveAt: Timestamp;
700
+ id: Generated<string>;
701
+ idempotencyKey: string;
702
+ kind: AccountingPaymentReversalKind;
703
+ paymentId: string;
704
+ postingDate: Timestamp | null;
705
+ reason: string | null;
706
+ requestFingerprint: string;
707
+ tenantId: string;
708
+ }
709
+ export interface AccountingPayoutHold {
710
+ contactId: string;
711
+ createdAt: Generated<Timestamp>;
712
+ createdByApiTokenId: string | null;
713
+ createdByUserId: string | null;
714
+ heldUntil: Timestamp;
715
+ id: Generated<string>;
716
+ reason: AccountingPayoutHoldReason;
717
+ releasedAt: Timestamp | null;
718
+ releasedByUserId: string | null;
719
+ tenantId: string;
720
+ }
343
721
  export interface AccountingRate {
344
722
  accountId: string | null;
345
723
  basisPoints: number;
@@ -360,9 +738,80 @@ export interface AccountingRate {
360
738
  export interface AccountingRateType {
361
739
  name: string;
362
740
  }
741
+ export interface AccountingReservationJournalFreshnessControl {
742
+ createdAt: Generated<Timestamp>;
743
+ guardsEnabledAt: Timestamp | null;
744
+ tenantId: string;
745
+ updatedAt: Generated<Timestamp>;
746
+ }
747
+ export interface AccountingReservationJournalInvalidation {
748
+ actionId: string | null;
749
+ appliedAt: Timestamp | null;
750
+ coveredByEffectId: string | null;
751
+ createdAt: Generated<Timestamp>;
752
+ effectId: string | null;
753
+ failureCode: AccountingReservationJournalInvalidationFailure | null;
754
+ id: Generated<string>;
755
+ reservationId: string;
756
+ revision: Int8;
757
+ sourceResourceId: string | null;
758
+ sourceResourceType: CoreOperationResourceType | null;
759
+ tenantId: string;
760
+ }
761
+ export interface AccountingReservationJournalState {
762
+ appliedRevision: Generated<Int8>;
763
+ calculatedAt: Timestamp | null;
764
+ createdAt: Generated<Timestamp>;
765
+ desiredRevision: Generated<Int8>;
766
+ reservationId: string;
767
+ staleSince: Timestamp | null;
768
+ tenantId: string;
769
+ updatedAt: Generated<Timestamp>;
770
+ }
771
+ export interface AccountingReservationJournalStatementImpact {
772
+ createdAt: Generated<Timestamp>;
773
+ currency: string;
774
+ invalidationId: string;
775
+ listingId: string;
776
+ listingOwnershipPeriodId: string;
777
+ month: Timestamp;
778
+ tenantId: string;
779
+ }
363
780
  export interface AccountingTaxBehavior {
364
781
  name: string;
365
782
  }
783
+ export interface AccountingTaxStatement {
784
+ authorizedAt: Timestamp | null;
785
+ authorizedByUserId: string | null;
786
+ centManualAdjustment: Int8 | null;
787
+ centPrice: number | null;
788
+ centStartingBalance: Int8 | null;
789
+ centTotal: Int8 | null;
790
+ contactId: string;
791
+ correction: AccountingTaxStatementCorrection | null;
792
+ createdAt: Generated<Timestamp>;
793
+ errors: Json | null;
794
+ filer: Json | null;
795
+ filingId: string | null;
796
+ filingPeriod: AccountingTaxStatementFilingPeriod | null;
797
+ id: Generated<string>;
798
+ isPostalDelivery: boolean | null;
799
+ manualAdjustmentNote: string | null;
800
+ recipient: Json | null;
801
+ startingBalanceNote: string | null;
802
+ status: Generated<AccountingTaxStatementStatus>;
803
+ tax1099Columns: Json | null;
804
+ taxBanditsFederalStatus: string | null;
805
+ taxBanditsPostalStatus: string | null;
806
+ taxBanditsRecordId: string | null;
807
+ taxBanditsStateStatus: string | null;
808
+ taxBanditsSubmissionId: string | null;
809
+ tenantId: string;
810
+ transmittedAt: Timestamp | null;
811
+ updatedAt: Generated<Timestamp>;
812
+ version: number;
813
+ year: number;
814
+ }
366
815
  export interface AccountingTransaction {
367
816
  accountId: string | null;
368
817
  centTotal: number;
@@ -382,9 +831,12 @@ export interface AccountingTransaction {
382
831
  matchStatus: Generated<string | null>;
383
832
  paidAt: Timestamp | null;
384
833
  paidStatus: Generated<string | null>;
834
+ recreatedFromTransactionId: string | null;
385
835
  recurringFeeId: string | null;
386
836
  recurringPattern: Json | null;
387
837
  recurringTemplateId: string | null;
838
+ returnedFromTransactionId: string | null;
839
+ returnEffectiveAt: Timestamp | null;
388
840
  /**
389
841
  * Human-readable system ID (EXP/DEP/PAY/TRF-XXX-XXXX-XXX depending on transaction.type).
390
842
  */
@@ -395,6 +847,7 @@ export interface AccountingTransaction {
395
847
  type: string;
396
848
  uniqueRef: string | null;
397
849
  updatedAt: Generated<Timestamp>;
850
+ webhookVersion: Generated<Int8>;
398
851
  }
399
852
  export interface AccountingTransactionAttachment {
400
853
  byteSize: number;
@@ -443,7 +896,13 @@ export interface AccountingTransactionType {
443
896
  }
444
897
  export interface AuditAction {
445
898
  actionType: string;
899
+ actorEmail: string | null;
446
900
  actorId: string | null;
901
+ actorLabel: string | null;
902
+ actorName: string | null;
903
+ actorOrganizationId: string | null;
904
+ actorOrganizationName: string | null;
905
+ actorOrganizationType: AuditActorOrganizationType | null;
447
906
  actorType: AuditActionActorType;
448
907
  apiVersion: string;
449
908
  createdAt: Generated<Timestamp>;
@@ -451,14 +910,22 @@ export interface AuditAction {
451
910
  message: string | null;
452
911
  parentActionId: string | null;
453
912
  payload: Json | null;
913
+ publicEventProjectedAt: Timestamp | null;
454
914
  requestId: string | null;
455
915
  rootEntityId: string | null;
456
916
  rootEntityType: string | null;
457
917
  source: string | null;
918
+ sourceType: AuditSourceType | null;
458
919
  tenantId: string;
459
920
  traceId: string | null;
460
921
  }
922
+ export interface AuditActionClientIp {
923
+ actionId: string;
924
+ clientIp: string;
925
+ createdAt: Generated<Timestamp>;
926
+ }
461
927
  export interface AuditEffect {
928
+ accountingRelevant: Generated<boolean>;
462
929
  actionId: string;
463
930
  claimedAt: Timestamp | null;
464
931
  claimedBy: string | null;
@@ -496,8 +963,16 @@ export interface AuditEffectAttempt {
496
963
  workerId: string | null;
497
964
  }
498
965
  export interface AuditJournalDelta {
966
+ accountCategoryIdAfter: string | null;
967
+ accountCategoryIdBefore: string | null;
968
+ accountCategoryNameAfter: string | null;
969
+ accountCategoryNameBefore: string | null;
970
+ accountClassificationAfter: string | null;
971
+ accountClassificationBefore: string | null;
499
972
  accountIdAfter: string | null;
500
973
  accountIdBefore: string | null;
974
+ accountNameAfter: string | null;
975
+ accountNameBefore: string | null;
501
976
  actionId: string;
502
977
  apiVersion: string;
503
978
  attachedToOwnerStatementIdAfter: string | null;
@@ -506,10 +981,14 @@ export interface AuditJournalDelta {
506
981
  centTotalBefore: Int8 | null;
507
982
  changedAt: Generated<Timestamp>;
508
983
  changedFields: Generated<string[]>;
984
+ currencyAfter: string | null;
985
+ currencyBefore: string | null;
509
986
  diffJson: Json | null;
510
987
  effectId: string | null;
511
988
  id: Generated<string>;
512
989
  journalEntryId: string;
990
+ ledgerAfter: string | null;
991
+ ledgerBefore: string | null;
513
992
  listingOwnershipPeriodIdAfter: string | null;
514
993
  listingOwnershipPeriodIdBefore: string | null;
515
994
  mutationId: string | null;
@@ -525,21 +1004,120 @@ export interface AuditJournalDelta {
525
1004
  txnAtBefore: Timestamp | null;
526
1005
  }
527
1006
  export interface AuditMutation {
1007
+ accountingRelevant: Generated<boolean>;
528
1008
  actionId: string;
1009
+ captureOrder: Generated<Int8 | null>;
529
1010
  changeRecord: Json;
530
1011
  createdAt: Generated<Timestamp>;
531
1012
  effectId: string | null;
532
1013
  id: Generated<string>;
533
1014
  op: string;
1015
+ publicChanges: Generated<Json>;
1016
+ publicOutcome: Json | null;
534
1017
  rootEntityId: string | null;
535
1018
  rootEntityType: string | null;
536
1019
  subjectId: string;
537
1020
  subjectType: string;
538
1021
  tenantId: string;
539
1022
  }
1023
+ export interface AuditPublicEvent {
1024
+ accountingStatus: AuditPublicEventAccountingStatus;
1025
+ actionCode: string;
1026
+ actionId: string;
1027
+ actionSummary: string;
1028
+ actorEmail: string | null;
1029
+ actorId: string | null;
1030
+ actorLabel: string | null;
1031
+ actorName: string | null;
1032
+ actorOrganizationId: string | null;
1033
+ actorOrganizationName: string | null;
1034
+ actorOrganizationType: AuditActorOrganizationType | null;
1035
+ actorType: AuditActionActorType;
1036
+ affectedAccountIds: Generated<string[]>;
1037
+ attemptedEntityChanges: Generated<Json>;
1038
+ blockedBy: Generated<Json>;
1039
+ changedEntityTypes: Generated<string[]>;
1040
+ changedPaths: Generated<string[]>;
1041
+ entityChanges: Generated<Json>;
1042
+ entityName: string | null;
1043
+ entityUniqueRef: string | null;
1044
+ hasChanges: Generated<boolean>;
1045
+ id: Generated<string>;
1046
+ netEffect: Generated<Json>;
1047
+ occurredAt: Timestamp;
1048
+ operation: AuditPublicEventOperation;
1049
+ projectedAt: Generated<Timestamp>;
1050
+ projectionFingerprint: string;
1051
+ projectionVersion: Generated<number>;
1052
+ recovery: Generated<Json>;
1053
+ requestId: string | null;
1054
+ revision: Generated<number>;
1055
+ rootEntityId: string;
1056
+ rootEntityType: string;
1057
+ sourceType: AuditSourceType;
1058
+ teamName: string;
1059
+ teamUniqueRef: string | null;
1060
+ tenantId: string;
1061
+ updatedAt: Generated<Timestamp>;
1062
+ }
1063
+ export interface AuditPublicEventEntryChange {
1064
+ accountIdAfter: string | null;
1065
+ accountIdBefore: string | null;
1066
+ afterSnapshot: Json | null;
1067
+ beforeSnapshot: Json | null;
1068
+ causedBy: Json | null;
1069
+ changedAt: Timestamp;
1070
+ changedFields: Generated<string[]>;
1071
+ eventId: string;
1072
+ eventRevision: number;
1073
+ id: string;
1074
+ journalEntryId: string;
1075
+ operation: AuditJournalDeltaOperation;
1076
+ tenantId: string;
1077
+ }
1078
+ export interface AuditPublicEventProjectionState {
1079
+ cutoverAt: Generated<Timestamp>;
1080
+ lastRecoveredAt: Timestamp | null;
1081
+ retainedFrom: Timestamp | null;
1082
+ singleton: Generated<boolean>;
1083
+ }
1084
+ export interface BillingListingFact {
1085
+ activeListings: number;
1086
+ billingPartnerId: string | null;
1087
+ dataRegion: string;
1088
+ effectiveAt: Timestamp;
1089
+ id: Generated<string>;
1090
+ reconciliation: Generated<boolean>;
1091
+ recordedAt: Generated<Timestamp>;
1092
+ sourceId: string;
1093
+ sourceRevision: Int8 | null;
1094
+ sourceType: BillingListingFactSourceType;
1095
+ tenantId: string;
1096
+ tenantName: string;
1097
+ }
1098
+ export interface BillingListingFactReadiness {
1099
+ availableFrom: Timestamp | null;
1100
+ legacyGapCount: number | null;
1101
+ legacyImportedRows: number | null;
1102
+ parityConfirmed: Generated<boolean>;
1103
+ readyAt: Timestamp | null;
1104
+ singleton: Generated<boolean>;
1105
+ verifiedMonth: Timestamp | null;
1106
+ }
540
1107
  export interface CoreActiveStatus {
541
1108
  name: string;
542
1109
  }
1110
+ export interface CoreAsyncOperationResult {
1111
+ checkpoint: Json | null;
1112
+ createdAt: Generated<Timestamp>;
1113
+ errorMessage: string | null;
1114
+ operationId: string;
1115
+ result: Json | null;
1116
+ status: Generated<CoreAsyncOperationResultStatus>;
1117
+ tenantId: string;
1118
+ type: CoreOperationType;
1119
+ updatedAt: Generated<Timestamp>;
1120
+ }
543
1121
  export interface CoreChange {
544
1122
  automationId: string | null;
545
1123
  changeData: Json | null;
@@ -591,6 +1169,66 @@ export interface CoreChangeSyncType {
591
1169
  export interface CoreChangeType {
592
1170
  name: string;
593
1171
  }
1172
+ export interface CoreCsvOperationResult {
1173
+ connectionId: string;
1174
+ createdAt: Generated<Timestamp>;
1175
+ errorMessage: string | null;
1176
+ kind: CoreCsvOperationResultKind;
1177
+ result: Json | null;
1178
+ status: Generated<CoreCsvOperationResultStatus>;
1179
+ syncId: string;
1180
+ tenantId: string;
1181
+ updatedAt: Generated<Timestamp>;
1182
+ }
1183
+ export interface CoreEmailDelivery {
1184
+ attemptCount: Generated<number>;
1185
+ contactId: string | null;
1186
+ createdAt: Generated<Timestamp>;
1187
+ failureCode: CoreEmailDeliveryFailureCode | null;
1188
+ finishedAt: Timestamp | null;
1189
+ httpStatus: number | null;
1190
+ id: Generated<string>;
1191
+ lastAttemptAt: Timestamp | null;
1192
+ notificationId: string;
1193
+ postmarkErrorCode: number | null;
1194
+ postmarkMessageId: string | null;
1195
+ recipientEmail: string | null;
1196
+ status: Generated<CoreEmailDeliveryStatus>;
1197
+ submittedAt: Timestamp | null;
1198
+ tenantId: string;
1199
+ triggerRunId: string | null;
1200
+ updatedAt: Generated<Timestamp>;
1201
+ userId: string | null;
1202
+ }
1203
+ export interface CoreEmailNotification {
1204
+ createdAt: Generated<Timestamp>;
1205
+ finishedAt: Timestamp | null;
1206
+ id: string;
1207
+ ownerStatementId: string;
1208
+ recipientsResolvedAt: Timestamp | null;
1209
+ requestedByUserId: string | null;
1210
+ startedAt: Timestamp | null;
1211
+ status: Generated<CoreEmailNotificationStatus>;
1212
+ tenantId: string;
1213
+ trigger: CoreEmailNotificationTrigger | null;
1214
+ triggerRunId: string | null;
1215
+ updatedAt: Generated<Timestamp>;
1216
+ }
1217
+ export interface CoreExportJob {
1218
+ createdAt: Generated<Timestamp>;
1219
+ errorMessage: string | null;
1220
+ fileId: string;
1221
+ filename: string;
1222
+ finishedAt: Timestamp | null;
1223
+ format: CoreExportJobFormat;
1224
+ id: string;
1225
+ payload: Json;
1226
+ startedAt: Timestamp | null;
1227
+ status: Generated<CoreOperationStatus>;
1228
+ taskId: CoreExportJobTaskId;
1229
+ tenantId: string;
1230
+ updatedAt: Generated<Timestamp>;
1231
+ }
594
1232
  export interface CoreFlow {
595
1233
  appId: string;
596
1234
  description: string | null;
@@ -607,6 +1245,64 @@ export interface CoreFlow {
607
1245
  uniqueRef: string;
608
1246
  useGlobalMapping: Generated<boolean>;
609
1247
  }
1248
+ export interface CoreFlowEvent {
1249
+ attempts: Generated<number>;
1250
+ availableAt: Generated<Timestamp>;
1251
+ claimedAt: Timestamp | null;
1252
+ claimedBy: string | null;
1253
+ completedAt: Timestamp | null;
1254
+ createdAt: Generated<Timestamp>;
1255
+ data: Generated<Json>;
1256
+ entityId: string;
1257
+ entityType: string;
1258
+ eventType: string;
1259
+ id: Generated<string>;
1260
+ lastErrorCode: string | null;
1261
+ lastErrorDetails: Json | null;
1262
+ maxAttempts: Generated<number>;
1263
+ requiresSensitiveInput: Generated<boolean>;
1264
+ status: Generated<CoreFlowEventStatus>;
1265
+ syncId: string | null;
1266
+ targetConnectionId: string | null;
1267
+ targetFlowId: string | null;
1268
+ tenantId: string;
1269
+ updatedAt: Generated<Timestamp>;
1270
+ }
1271
+ export interface CoreFlowEventDelivery {
1272
+ attempts: Generated<number>;
1273
+ availableAt: Generated<Timestamp>;
1274
+ claimedAt: Timestamp | null;
1275
+ claimedBy: string | null;
1276
+ completedAt: Timestamp | null;
1277
+ connectionId: string;
1278
+ createdAt: Generated<Timestamp>;
1279
+ eventId: string;
1280
+ flowId: string;
1281
+ id: Generated<string>;
1282
+ lastErrorCode: string | null;
1283
+ lastErrorDetails: Json | null;
1284
+ maxAttempts: Generated<number>;
1285
+ status: Generated<CoreFlowEventStatus>;
1286
+ tenantId: string;
1287
+ triggerRunId: string | null;
1288
+ updatedAt: Generated<Timestamp>;
1289
+ }
1290
+ export interface CoreFlowEventOperation {
1291
+ action: CoreFlowEventOperationAction;
1292
+ actor: string;
1293
+ createdAt: Generated<Timestamp>;
1294
+ eventId: string;
1295
+ id: Generated<string>;
1296
+ previousStatus: CoreFlowEventStatus;
1297
+ reasonCode: string;
1298
+ }
1299
+ export interface CoreFlowEventSecret {
1300
+ createdAt: Generated<Timestamp>;
1301
+ encryptedPayload: string;
1302
+ encryptionKeyId: string;
1303
+ eventId: string;
1304
+ expiresAt: Timestamp;
1305
+ }
610
1306
  export interface CoreFlowMapping {
611
1307
  accountId: string | null;
612
1308
  bookingChannelId: string | null;
@@ -645,6 +1341,56 @@ export interface CoreIssueMessageOverwrite {
645
1341
  pattern: string;
646
1342
  updatedAt: Generated<Timestamp | null>;
647
1343
  }
1344
+ export interface CoreOperation {
1345
+ createdAt: Generated<Timestamp>;
1346
+ failureCode: string | null;
1347
+ failureMessage: string | null;
1348
+ finishedAt: Timestamp | null;
1349
+ id: Generated<string>;
1350
+ initiatedByUserId: string | null;
1351
+ publicIdFormat: Generated<CoreOperationPublicIdFormat>;
1352
+ retainUntil: Timestamp | null;
1353
+ sourceVersion: Generated<Int8>;
1354
+ startedAt: Timestamp | null;
1355
+ status: Generated<CoreOperationStatus>;
1356
+ tenantId: string;
1357
+ type: CoreOperationType;
1358
+ updatedAt: Generated<Timestamp>;
1359
+ }
1360
+ export interface CoreOperationBackfill {
1361
+ completedAt: Timestamp | null;
1362
+ createdAt: Generated<Timestamp>;
1363
+ name: string;
1364
+ updatedAt: Generated<Timestamp>;
1365
+ }
1366
+ export interface CoreOperationProjectionOutbox {
1367
+ attempts: Generated<number>;
1368
+ availableAt: Generated<Timestamp>;
1369
+ createdAt: Generated<Timestamp>;
1370
+ id: Generated<string>;
1371
+ lastError: string | null;
1372
+ operationId: string;
1373
+ publishedAt: Timestamp | null;
1374
+ sourceVersion: Int8;
1375
+ }
1376
+ export interface CoreOperationResource {
1377
+ createdAt: Generated<Timestamp>;
1378
+ isPrimary: Generated<boolean>;
1379
+ operationId: string;
1380
+ resourceId: string;
1381
+ resourceType: CoreOperationResourceType;
1382
+ role: CoreOperationResourceRole;
1383
+ }
1384
+ export interface CoreOperationSource {
1385
+ finishedAt: Timestamp | null;
1386
+ operationId: string;
1387
+ required: Generated<boolean>;
1388
+ sourceId: string;
1389
+ sourceType: CoreOperationSourceType;
1390
+ sourceVersion: Generated<Int8>;
1391
+ startedAt: Timestamp | null;
1392
+ status: Generated<CoreOperationStatus>;
1393
+ }
648
1394
  export interface CoreSync {
649
1395
  automationId: string | null;
650
1396
  connectionId: string | null;
@@ -662,6 +1408,7 @@ export interface CoreSync {
662
1408
  type: string;
663
1409
  updatedAt: Generated<Timestamp>;
664
1410
  userId: string | null;
1411
+ webhookVersion: Generated<Int8>;
665
1412
  }
666
1413
  export interface CoreSyncStatus {
667
1414
  name: string;
@@ -786,6 +1533,284 @@ export interface HdbCatalogHdbVersion {
786
1533
  upgradedOn: Timestamp;
787
1534
  version: string;
788
1535
  }
1536
+ export interface HealthAccountingIntegrityCase {
1537
+ actionability: HealthAccountingIntegrityActionability;
1538
+ actual: Json;
1539
+ assignedAt: Timestamp | null;
1540
+ assignedTo: string | null;
1541
+ caseKey: string;
1542
+ code: string;
1543
+ confidence: HealthAccountingIntegrityConfidence;
1544
+ contentHash: string;
1545
+ createdAt: Generated<Timestamp>;
1546
+ dataRegion: string;
1547
+ definitionVersion: number;
1548
+ evidence: Json;
1549
+ evidenceComplete: boolean;
1550
+ expected: Json;
1551
+ firstSeenAt: Timestamp;
1552
+ gitRevision: string;
1553
+ historicalIssueRefs: Json;
1554
+ id: Generated<string>;
1555
+ impact: Json;
1556
+ lastChangedAt: Timestamp;
1557
+ lastSeenAt: Timestamp;
1558
+ lockAssessment: Json;
1559
+ portalUrls: Json;
1560
+ repair: Json;
1561
+ resolutionClassification: HealthAccountingIntegrityResolutionClassification;
1562
+ resolvedAt: Timestamp | null;
1563
+ reviewedAt: Timestamp | null;
1564
+ reviewedBy: string | null;
1565
+ reviewRationale: string | null;
1566
+ reviewStatus: Generated<HealthAccountingIntegrityReviewStatus>;
1567
+ rootCause: string;
1568
+ runId: string;
1569
+ severity: HealthAccountingIntegritySeverity;
1570
+ status: HealthAccountingIntegrityCaseStatus;
1571
+ tenantId: string;
1572
+ title: string;
1573
+ updatedAt: Generated<Timestamp>;
1574
+ urgency: HealthAccountingIntegrityUrgency;
1575
+ verification: Json;
1576
+ version: Generated<Int8>;
1577
+ }
1578
+ export interface HealthAccountingIntegrityComparisonFinding {
1579
+ caseKey: string;
1580
+ code: string;
1581
+ contentHash: string;
1582
+ createdAt: Generated<Timestamp>;
1583
+ dataRegion: string;
1584
+ firstSeenAt: Timestamp;
1585
+ id: Generated<string>;
1586
+ recordId: string;
1587
+ recordType: HealthAccountingIntegrityDirtyRecordType;
1588
+ severity: HealthAccountingIntegritySeverity;
1589
+ tenantId: string;
1590
+ updatedAt: Generated<Timestamp>;
1591
+ }
1592
+ export interface HealthAccountingIntegrityDelivery {
1593
+ attempts: Generated<number>;
1594
+ caseId: string | null;
1595
+ channel: HealthAccountingIntegrityDeliveryChannel;
1596
+ claimedAt: Timestamp | null;
1597
+ claimId: string | null;
1598
+ createdAt: Generated<Timestamp>;
1599
+ dedupeKey: string;
1600
+ deliveredAt: Timestamp | null;
1601
+ eventType: string;
1602
+ id: Generated<string>;
1603
+ lastError: Json | null;
1604
+ nextAttemptAt: Generated<Timestamp>;
1605
+ payload: Json;
1606
+ result: Json | null;
1607
+ runId: string;
1608
+ status: Generated<HealthAccountingIntegrityDeliveryStatus>;
1609
+ updatedAt: Generated<Timestamp>;
1610
+ }
1611
+ export interface HealthAccountingIntegrityDirtyRecord {
1612
+ claimedUntil: Timestamp | null;
1613
+ claimToken: string | null;
1614
+ computedAt: Timestamp | null;
1615
+ computedVersion: Generated<Int8>;
1616
+ createdAt: Generated<Timestamp>;
1617
+ dirtyAt: Generated<Timestamp>;
1618
+ dirtyVersion: Generated<Int8>;
1619
+ recordId: string;
1620
+ recordType: HealthAccountingIntegrityDirtyRecordType;
1621
+ tenantId: string;
1622
+ updatedAt: Generated<Timestamp>;
1623
+ }
1624
+ export interface HealthAccountingIntegrityOperatorEvent {
1625
+ actorId: string;
1626
+ caseId: string | null;
1627
+ caseVersion: Int8 | null;
1628
+ client: string;
1629
+ createdAt: Generated<Timestamp>;
1630
+ id: Generated<string>;
1631
+ idempotencyKey: string;
1632
+ payload: Json;
1633
+ planId: string | null;
1634
+ rationale: string | null;
1635
+ requestId: string;
1636
+ stageId: string | null;
1637
+ targetId: string | null;
1638
+ type: string;
1639
+ }
1640
+ export interface HealthAccountingIntegrityRepairPlan {
1641
+ canceledAt: Timestamp | null;
1642
+ code: string;
1643
+ completedAt: Timestamp | null;
1644
+ createdAt: Generated<Timestamp>;
1645
+ createdBy: string;
1646
+ dataRegion: string;
1647
+ environment: string;
1648
+ gitRevision: string;
1649
+ id: Generated<string>;
1650
+ linearRef: string | null;
1651
+ recipeVersion: number;
1652
+ status: Generated<HealthAccountingIntegrityRepairPlanStatus>;
1653
+ title: string;
1654
+ updatedAt: Generated<Timestamp>;
1655
+ }
1656
+ export interface HealthAccountingIntegrityRepairStage {
1657
+ applyResult: Json | null;
1658
+ approvalRef: string | null;
1659
+ approvedAt: Timestamp | null;
1660
+ approvedBy: string | null;
1661
+ completedAt: Timestamp | null;
1662
+ createdAt: Generated<Timestamp>;
1663
+ dryRunResult: Json | null;
1664
+ id: Generated<string>;
1665
+ limits: Json;
1666
+ manifest: Json;
1667
+ manifestHash: string;
1668
+ ordinal: number;
1669
+ planId: string;
1670
+ scopeType: HealthAccountingIntegrityRepairScopeType;
1671
+ startedAt: Timestamp | null;
1672
+ status: Generated<HealthAccountingIntegrityRepairStageStatus>;
1673
+ tenantId: string;
1674
+ updatedAt: Generated<Timestamp>;
1675
+ verificationResult: Json | null;
1676
+ }
1677
+ export interface HealthAccountingIntegrityRepairTarget {
1678
+ action: Json;
1679
+ applyResult: Json | null;
1680
+ auditActionId: string | null;
1681
+ beforeHash: string;
1682
+ beforeState: Json;
1683
+ caseContentHash: string;
1684
+ caseId: string;
1685
+ caseVersion: Int8;
1686
+ completedAt: Timestamp | null;
1687
+ createdAt: Generated<Timestamp>;
1688
+ effectPlan: Json;
1689
+ expectedResult: Json;
1690
+ id: Generated<string>;
1691
+ idempotencyKey: string;
1692
+ lockAssessment: Json;
1693
+ ordinal: number;
1694
+ stageId: string;
1695
+ startedAt: Timestamp | null;
1696
+ status: Generated<HealthAccountingIntegrityRepairTargetStatus>;
1697
+ targetKey: string;
1698
+ tenantId: string;
1699
+ updatedAt: Generated<Timestamp>;
1700
+ verificationResult: Json | null;
1701
+ }
1702
+ export interface HealthAccountingIntegrityRepairTransition {
1703
+ actor: string;
1704
+ createdAt: Generated<Timestamp>;
1705
+ id: Generated<string>;
1706
+ payload: Json;
1707
+ planId: string;
1708
+ stageId: string | null;
1709
+ targetId: string | null;
1710
+ type: HealthAccountingIntegrityRepairTransitionType;
1711
+ }
1712
+ export interface HealthAccountingIntegrityRun {
1713
+ caseCount: Generated<Int8>;
1714
+ changedCaseCount: Generated<Int8>;
1715
+ code: string;
1716
+ completedAt: Timestamp | null;
1717
+ createdAt: Generated<Timestamp>;
1718
+ dataRegion: string;
1719
+ definitionArtifactHash: string | null;
1720
+ definitionTemplateId: string | null;
1721
+ definitionTemplateVersion: number | null;
1722
+ definitionVersion: number;
1723
+ definitionVersionId: string | null;
1724
+ environment: string;
1725
+ error: Json | null;
1726
+ evaluationId: string;
1727
+ findingRowCount: Generated<Int8>;
1728
+ gitRevision: string;
1729
+ id: Generated<string>;
1730
+ openedCaseCount: Generated<Int8>;
1731
+ operatorDefinitionVersion: number | null;
1732
+ reopenedCaseCount: Generated<Int8>;
1733
+ resolvedCaseCount: Generated<Int8>;
1734
+ resolvesCases: Generated<boolean>;
1735
+ rowsScanned: Generated<Int8>;
1736
+ scopeTenantIds: string[] | null;
1737
+ shardKey: Generated<string>;
1738
+ startedAt: Timestamp;
1739
+ status: HealthAccountingIntegrityRunStatus;
1740
+ unchangedCaseCount: Generated<Int8>;
1741
+ updatedAt: Generated<Timestamp>;
1742
+ }
1743
+ export interface HealthAccountingIntegritySweepCursor {
1744
+ createdAt: Generated<Timestamp>;
1745
+ cycleStartedAt: Generated<Timestamp>;
1746
+ definitionsHash: string | null;
1747
+ eligibleRows: Int8 | null;
1748
+ lastCycleCompletedAt: Timestamp | null;
1749
+ lastRecordId: string | null;
1750
+ lastTenantId: string | null;
1751
+ recordType: HealthAccountingIntegrityDirtyRecordType;
1752
+ updatedAt: Generated<Timestamp>;
1753
+ }
1754
+ export interface HealthAccountingIntegrityTransition {
1755
+ caseId: string;
1756
+ caseVersion: Int8;
1757
+ createdAt: Generated<Timestamp>;
1758
+ id: Generated<string>;
1759
+ payload: Json;
1760
+ runId: string;
1761
+ type: HealthAccountingIntegrityTransitionType;
1762
+ }
1763
+ export interface HealthReservationIssueSnapshot {
1764
+ computedAt: Timestamp | null;
1765
+ computedVersion: Generated<Int8>;
1766
+ createdAt: Generated<Timestamp>;
1767
+ dirtyAt: Generated<Timestamp>;
1768
+ dirtyVersion: Generated<Int8>;
1769
+ issues: Generated<Json>;
1770
+ reservationId: string;
1771
+ tenantId: string;
1772
+ updatedAt: Generated<Timestamp>;
1773
+ version: Generated<Int8>;
1774
+ }
1775
+ export interface HealthTenantIssue {
1776
+ affected: number;
1777
+ category: HealthTenantIssueCategory;
1778
+ code: HealthTenantIssueCode;
1779
+ contentHash: string;
1780
+ context: Json;
1781
+ createdAt: Generated<Timestamp>;
1782
+ firstSeenAt: Timestamp;
1783
+ id: Generated<string>;
1784
+ lastChangedAt: Timestamp;
1785
+ message: string;
1786
+ openedAt: Timestamp;
1787
+ resolvedAt: Timestamp | null;
1788
+ severity: HealthTenantIssueSeverity;
1789
+ snapshotVersion: Int8;
1790
+ status: HealthTenantIssueStatus;
1791
+ tenantId: string;
1792
+ updatedAt: Generated<Timestamp>;
1793
+ version: Int8;
1794
+ }
1795
+ export interface HealthTenantIssueRuleState {
1796
+ code: HealthTenantIssueCode;
1797
+ computedAt: Timestamp | null;
1798
+ computedVersion: Generated<Int8>;
1799
+ createdAt: Generated<Timestamp>;
1800
+ dirtyAt: Timestamp;
1801
+ dirtyVersion: Generated<Int8>;
1802
+ tenantId: string;
1803
+ updatedAt: Generated<Timestamp>;
1804
+ }
1805
+ export interface HealthTenantIssueSnapshot {
1806
+ computedAt: Timestamp | null;
1807
+ contentHash: string | null;
1808
+ createdAt: Generated<Timestamp>;
1809
+ dirtyAt: Generated<Timestamp>;
1810
+ tenantId: string;
1811
+ updatedAt: Generated<Timestamp>;
1812
+ version: Generated<Int8>;
1813
+ }
789
1814
  export interface PublicAccountCollection {
790
1815
  automationId: string | null;
791
1816
  connectionId: string;
@@ -933,7 +1958,9 @@ export interface PublicConnection {
933
1958
  appId: string;
934
1959
  backendVersion: number | null;
935
1960
  createdAt: Generated<Timestamp>;
1961
+ credentialMetadata: Json | null;
936
1962
  credentials: Generated<Json | null>;
1963
+ credentialVersion: Generated<Int8>;
937
1964
  disabled: Generated<boolean | null>;
938
1965
  fetchNext: Generated<Timestamp | null>;
939
1966
  fetchStatus: Generated<string>;
@@ -949,6 +1976,46 @@ export interface PublicConnection {
949
1976
  uniqueRef: string | null;
950
1977
  updatedAt: Generated<Timestamp | null>;
951
1978
  version: number | null;
1979
+ webhookVersion: Generated<Int8>;
1980
+ }
1981
+ export interface PublicConnectionOauthState {
1982
+ appId: string;
1983
+ connectionId: string | null;
1984
+ expiresAt: Timestamp;
1985
+ params: JsonObject;
1986
+ redirectUri: string;
1987
+ stateHash: string;
1988
+ tenantId: string;
1989
+ userId: string;
1990
+ }
1991
+ export interface PublicConnectionRoute {
1992
+ connectionId: string;
1993
+ createdAt: Generated<Timestamp>;
1994
+ tenantId: string;
1995
+ updatedAt: Generated<Timestamp>;
1996
+ }
1997
+ export interface PublicControlPlaneOutbox {
1998
+ aggregateId: string;
1999
+ aggregateType: string;
2000
+ attempts: Generated<number>;
2001
+ createdAt: Generated<Timestamp>;
2002
+ dataRegion: string | null;
2003
+ eventType: string;
2004
+ eventVersion: number;
2005
+ id: Generated<string>;
2006
+ lastError: string | null;
2007
+ payload: Generated<Json>;
2008
+ publishedAt: Timestamp | null;
2009
+ }
2010
+ export interface PublicControlPlaneProjectionEvent {
2011
+ aggregateId: string;
2012
+ aggregateType: string;
2013
+ appliedAt: Generated<Timestamp>;
2014
+ dataRegion: string;
2015
+ eventId: string;
2016
+ eventType: string;
2017
+ eventVersion: number;
2018
+ payload: Generated<Json>;
952
2019
  }
953
2020
  export interface PublicCurrency {
954
2021
  name: string;
@@ -969,42 +2036,21 @@ export interface PublicEmailTemplate {
969
2036
  export interface PublicEmailTemplateType {
970
2037
  name: string;
971
2038
  }
972
- export interface PublicFeature {
973
- createdAt: Generated<Timestamp>;
974
- description: string | null;
975
- id: Generated<string>;
976
- issueUrl: string | null;
977
- /**
978
- * user ids of user needed to approve this feature
979
- */
980
- requiredApprovals: Generated<Json | null>;
981
- status: Generated<string | null>;
982
- tenantId: string | null;
983
- title: string;
984
- updatedAt: Generated<Timestamp>;
985
- url: string | null;
986
- }
987
- export interface PublicFeatureApproval {
988
- createdAt: Generated<Timestamp>;
989
- featureId: string;
990
- id: Generated<string>;
991
- status: Generated<string | null>;
992
- updatedAt: Generated<Timestamp>;
993
- userId: string;
994
- }
995
- export interface PublicFeatureApprovalStatus {
996
- name: string;
997
- }
998
- export interface PublicFeatureEnabledTeam {
2039
+ export interface PublicFeedback {
2040
+ context: string | null;
999
2041
  createdAt: Generated<Timestamp>;
1000
- featureId: string;
1001
- id: Generated<string>;
1002
- status: Generated<string | null>;
2042
+ description: string;
2043
+ errorReason: string | null;
2044
+ id: Generated<string>;
2045
+ kind: PublicFeedbackKind;
2046
+ linearIssueId: string | null;
2047
+ operationId: string | null;
2048
+ relatedRequest: string | null;
2049
+ reporterEmail: string | null;
2050
+ reporterUserId: string | null;
2051
+ route: string | null;
1003
2052
  tenantId: string;
1004
- updatedAt: Generated<Timestamp>;
1005
- }
1006
- export interface PublicFeatureStatus {
1007
- name: string;
2053
+ title: string;
1008
2054
  }
1009
2055
  export interface PublicFileStorage {
1010
2056
  connectionId: string | null;
@@ -1042,6 +2088,23 @@ export interface PublicFileStorageTag {
1042
2088
  uniqueRef: string;
1043
2089
  updatedAt: Generated<Timestamp>;
1044
2090
  }
2091
+ export interface PublicGuestReview {
2092
+ channel: PublicGuestReviewChannel;
2093
+ connectionId: string;
2094
+ createdAt: Generated<Timestamp>;
2095
+ hostReply: string | null;
2096
+ id: Generated<string>;
2097
+ isHidden: Generated<boolean>;
2098
+ negativeText: string | null;
2099
+ rating: Numeric;
2100
+ reservationId: string;
2101
+ reviewedAt: Timestamp;
2102
+ tenantId: string;
2103
+ text: string | null;
2104
+ title: string | null;
2105
+ uniqueRef: string;
2106
+ updatedAt: Generated<Timestamp>;
2107
+ }
1045
2108
  export interface PublicLatestDuplicateEmails {
1046
2109
  createdAt: Timestamp | null;
1047
2110
  email: string | null;
@@ -1049,6 +2112,36 @@ export interface PublicLatestDuplicateEmails {
1049
2112
  name: string | null;
1050
2113
  status: string | null;
1051
2114
  }
2115
+ export interface PublicLineClassificationUsage {
2116
+ appId: string | null;
2117
+ createdAt: Generated<Timestamp>;
2118
+ firstSeenAt: Generated<Timestamp>;
2119
+ kind: string;
2120
+ lastError: string | null;
2121
+ lastSeenAt: Generated<Timestamp>;
2122
+ mappingStatus: string | null;
2123
+ name: string;
2124
+ reportAttempts: Generated<number>;
2125
+ reportedRevision: Generated<number>;
2126
+ revision: Generated<number>;
2127
+ tenantId: string;
2128
+ updatedAt: Generated<Timestamp>;
2129
+ }
2130
+ export interface PublicLineClassificationUsageBackfill {
2131
+ completedAt: Timestamp | null;
2132
+ cursorId: string | null;
2133
+ source: string;
2134
+ updatedAt: Generated<Timestamp>;
2135
+ }
2136
+ export interface PublicLineClassificationUsageCapture {
2137
+ createdAt: Generated<Timestamp>;
2138
+ firstSeenAt: Timestamp | null;
2139
+ id: Generated<string>;
2140
+ kind: string;
2141
+ lastSeenAt: Timestamp | null;
2142
+ name: string;
2143
+ tenantId: string;
2144
+ }
1052
2145
  export interface PublicListing {
1053
2146
  address: string | null;
1054
2147
  addressCity: string | null;
@@ -1089,6 +2182,7 @@ export interface PublicListing {
1089
2182
  title: string | null;
1090
2183
  uniqueRef: string | null;
1091
2184
  updatedAt: Generated<Timestamp | null>;
2185
+ webhookVersion: Generated<Int8>;
1092
2186
  }
1093
2187
  export interface PublicListingCollection {
1094
2188
  createdAt: Generated<Timestamp>;
@@ -1152,6 +2246,20 @@ export interface PublicListingOwnershipPeriodMember {
1152
2246
  split: number;
1153
2247
  updatedAt: Generated<Timestamp | null>;
1154
2248
  }
2249
+ export interface PublicMemberInviteApproval {
2250
+ createdAt: Generated<Timestamp>;
2251
+ decidedAt: Timestamp | null;
2252
+ decidedByUserId: string | null;
2253
+ email: string;
2254
+ id: Generated<string>;
2255
+ permissionBundles: string[] | null;
2256
+ requestedByUserId: string | null;
2257
+ role: PublicMemberInviteApprovalRole | null;
2258
+ sendEmail: Generated<boolean>;
2259
+ status: Generated<PublicMemberInviteApprovalStatus>;
2260
+ tenantId: string;
2261
+ updatedAt: Generated<Timestamp>;
2262
+ }
1155
2263
  export interface PublicOwner {
1156
2264
  addressId: string | null;
1157
2265
  companyType: string | null;
@@ -1203,6 +2311,7 @@ export interface PublicOwnerStatement {
1203
2311
  tenantId: string;
1204
2312
  uniqueRef: string | null;
1205
2313
  updatedAt: Generated<Timestamp>;
2314
+ webhookVersion: Generated<Int8>;
1206
2315
  }
1207
2316
  export interface PublicOwnerStatementLayout {
1208
2317
  automationId: string | null;
@@ -1360,6 +2469,49 @@ export interface PublicPaymentStatus {
1360
2469
  export interface PublicPaymentType {
1361
2470
  name: string;
1362
2471
  }
2472
+ export interface PublicPlaidConnectSession {
2473
+ connectionId: string | null;
2474
+ createdAt: Generated<Timestamp>;
2475
+ environment: string;
2476
+ errorCode: string | null;
2477
+ errorRetryable: boolean | null;
2478
+ exitedAt: Timestamp | null;
2479
+ exitErrorCode: string | null;
2480
+ exitErrorType: string | null;
2481
+ exitRequestId: string | null;
2482
+ exitView: string | null;
2483
+ expiresAt: Timestamp;
2484
+ id: Generated<string>;
2485
+ institutionId: string | null;
2486
+ institutionName: string | null;
2487
+ itemId: string | null;
2488
+ leaseExpiresAt: Timestamp | null;
2489
+ linkSessionId: string | null;
2490
+ mode: PublicPlaidConnectMode;
2491
+ result: Json | null;
2492
+ status: Generated<PublicPlaidConnectStatus>;
2493
+ syncId: string | null;
2494
+ tenantId: string;
2495
+ updatedAt: Generated<Timestamp>;
2496
+ }
2497
+ export interface PublicRampApplication {
2498
+ applicantEmail: string;
2499
+ applicantUserId: string | null;
2500
+ createdAt: Generated<Timestamp>;
2501
+ credentials: Json | null;
2502
+ environment: PublicRampApplicationEnvironment;
2503
+ id: Generated<string>;
2504
+ invitedAt: Generated<Timestamp>;
2505
+ rampApplicationId: string | null;
2506
+ stateNonce: string;
2507
+ status: Generated<PublicRampApplicationStatus>;
2508
+ statusUpdatedAt: Generated<Timestamp>;
2509
+ tenantId: string;
2510
+ updatedAt: Generated<Timestamp>;
2511
+ webhookId: string | null;
2512
+ webhookSecret: string | null;
2513
+ webhookToken: string | null;
2514
+ }
1363
2515
  export interface PublicRecurringFee {
1364
2516
  bookingChannelsFilter: string[] | null;
1365
2517
  createdAt: Generated<Timestamp>;
@@ -1371,10 +2523,13 @@ export interface PublicRecurringFee {
1371
2523
  formula: string | null;
1372
2524
  icon: string | null;
1373
2525
  id: Generated<string>;
2526
+ nightsFilterMax: number | null;
2527
+ nightsFilterMin: number | null;
1374
2528
  rateType: Generated<string | null>;
1375
2529
  revenueRecognition: string | null;
1376
2530
  status: Generated<string>;
1377
2531
  statusFilter: string | null;
2532
+ stayTypesFilter: ArrayType<PublicReservationStayType> | null;
1378
2533
  taxBehavior: string | null;
1379
2534
  taxRateId: string | null;
1380
2535
  tenantId: string;
@@ -1404,6 +2559,7 @@ export interface PublicRecurringFeeListingSubscription {
1404
2559
  endAt: Timestamp | null;
1405
2560
  id: Generated<string>;
1406
2561
  listingId: string;
2562
+ matchBy: Generated<PublicRecurringFeeListingSubscriptionMatchBy>;
1407
2563
  rate: number | null;
1408
2564
  rateType: Generated<string | null>;
1409
2565
  recurringFeeId: string;
@@ -1418,6 +2574,7 @@ export interface PublicRecurringFeeType {
1418
2574
  name: string;
1419
2575
  }
1420
2576
  export interface PublicReservation {
2577
+ adults: number | null;
1421
2578
  bookedAt: Generated<Timestamp | null>;
1422
2579
  bookerName: string | null;
1423
2580
  bookingPlatform: string | null;
@@ -1436,6 +2593,7 @@ export interface PublicReservation {
1436
2593
  channelId: string | null;
1437
2594
  checkIn: Timestamp | null;
1438
2595
  checkOut: Timestamp | null;
2596
+ children: number | null;
1439
2597
  confirmationCode: string | null;
1440
2598
  connectionId: string | null;
1441
2599
  createdAt: Generated<Timestamp | null>;
@@ -1468,12 +2626,14 @@ export interface PublicReservation {
1468
2626
  shortRef: string | null;
1469
2627
  sourceId: string | null;
1470
2628
  status: Generated<string | null>;
2629
+ stayType: Generated<PublicReservationStayType>;
1471
2630
  taxCentTotal: Int8 | null;
1472
2631
  tenantId: string | null;
1473
2632
  uniqueRef: string | null;
1474
2633
  uniqueRef2: string | null;
1475
2634
  updatedAt: Generated<Timestamp | null>;
1476
2635
  userdata: Generated<Json | null>;
2636
+ webhookVersion: Generated<Int8>;
1477
2637
  }
1478
2638
  export interface PublicReservationStatus {
1479
2639
  name: string;
@@ -1521,6 +2681,20 @@ export interface PublicReservationWithOccupancyStatus {
1521
2681
  updatedAt: Timestamp | null;
1522
2682
  userdata: Json | null;
1523
2683
  }
2684
+ export interface PublicSecondFactorReset {
2685
+ createdAt: Generated<Timestamp>;
2686
+ decidedAt: Timestamp | null;
2687
+ decidedByUserId: string | null;
2688
+ expiresAt: Timestamp;
2689
+ id: Generated<string>;
2690
+ identityCheck: string | null;
2691
+ initiator: PublicSecondFactorResetInitiator;
2692
+ requestedByUserId: string | null;
2693
+ status: PublicSecondFactorResetStatus;
2694
+ tenantId: string;
2695
+ updatedAt: Generated<Timestamp>;
2696
+ userId: string;
2697
+ }
1524
2698
  export interface PublicSetting {
1525
2699
  automationId: string | null;
1526
2700
  connectionId: string | null;
@@ -1563,6 +2737,7 @@ export interface PublicSource {
1563
2737
  isArchived: Generated<boolean | null>;
1564
2738
  json: Json | null;
1565
2739
  lastWebhookAt: Timestamp | null;
2740
+ lastSuccessfulDataSha256: string | null;
1566
2741
  /**
1567
2742
  * deprecated
1568
2743
  */
@@ -1614,6 +2789,9 @@ export interface PublicTenant {
1614
2789
  addressCountry: string | null;
1615
2790
  addressLine1: string | null;
1616
2791
  addressPostcode: string | null;
2792
+ /**
2793
+ * JSON column for app-owned tenant settings exposed through APIs.
2794
+ */
1617
2795
  appSettings: Json | null;
1618
2796
  billingAddressData: Json | null;
1619
2797
  billingAddressId: string | null;
@@ -1621,10 +2799,10 @@ export interface PublicTenant {
1621
2799
  billingPartnerId: string | null;
1622
2800
  billingPaymentMethodType: string | null;
1623
2801
  billingPlan: string | null;
2802
+ billingSubscriptionId: string | null;
1624
2803
  billingSubscriptionStatus: string | null;
1625
2804
  booksClosedAt: Timestamp | null;
1626
2805
  calculatedBillingPartnerId: Generated<string | null>;
1627
- calculatedIsBillable: Generated<boolean | null>;
1628
2806
  calculatedStatus: Generated<string | null>;
1629
2807
  /**
1630
2808
  * Billing subscription is getting cancelled at date
@@ -1642,19 +2820,27 @@ export interface PublicTenant {
1642
2820
  defaultRevenueRecognition: string | null;
1643
2821
  email: string | null;
1644
2822
  featureFlags: Generated<Json | null>;
2823
+ /**
2824
+ * JSON column for explicit VRPilot onboarding guide state.
2825
+ */
1645
2826
  guideOnboarding: Json | null;
1646
2827
  historicalStatementsImportedAt: Timestamp | null;
1647
2828
  id: Generated<string>;
1648
2829
  intercomId: string | null;
1649
2830
  isActive: Generated<boolean | null>;
1650
2831
  isGeneralLedger: Generated<boolean | null>;
1651
- isOnboarding: Generated<boolean | null>;
1652
- isTest: Generated<boolean | null>;
2832
+ isOnboarding: Generated<boolean>;
2833
+ isTaxBanditsSandbox: boolean | null;
2834
+ lockedAt: Timestamp | null;
1653
2835
  logo: string | null;
1654
2836
  longTermStayNights: number | null;
2837
+ migratedAt: Timestamp | null;
1655
2838
  migratedFromTenantId: string | null;
2839
+ migratedToRegion: string | null;
2840
+ migrationStatus: Generated<string>;
1656
2841
  name: string;
1657
2842
  ownerPortalShowDraftStatements: boolean | null;
2843
+ partnerDeniedPermissions: Generated<string[]>;
1658
2844
  partnerId: Generated<string | null>;
1659
2845
  /**
1660
2846
  * JSON column to hold team settings like "owner_portal_show_reservation_totals" or "owner_portal_show_draft_statements
@@ -1673,8 +2859,10 @@ export interface PublicTenant {
1673
2859
  supportEmail: string | null;
1674
2860
  supportPhone: string | null;
1675
2861
  svixEndpoints: boolean | null;
1676
- trialUntil: Timestamp | null;
2862
+ taxBanditsBusinessId: string | null;
2863
+ taxStatementFilingPeriod: AccountingTaxStatementFilingPeriod | null;
1677
2864
  type: Generated<string | null>;
2865
+ uniqueRef: string | null;
1678
2866
  updatedAt: Generated<Timestamp | null>;
1679
2867
  website: string | null;
1680
2868
  }
@@ -1682,23 +2870,15 @@ export interface PublicTenantUser {
1682
2870
  createdAt: Generated<Timestamp | null>;
1683
2871
  id: Generated<string>;
1684
2872
  lastInvitedAt: Timestamp | null;
2873
+ managedTeamAccess: Generated<"all" | "assigned">;
1685
2874
  notificationPreferences: Generated<Json | null>;
2875
+ permissionBundles: Generated<string[]>;
1686
2876
  role: Generated<string | null>;
1687
2877
  status: Generated<string | null>;
1688
2878
  tenantId: string;
1689
2879
  updatedAt: Generated<Timestamp | null>;
1690
2880
  userId: string;
1691
2881
  }
1692
- export interface PublicToken {
1693
- createdAt: Generated<Timestamp>;
1694
- expiresAt: Timestamp | null;
1695
- id: Generated<string>;
1696
- nanoId: Generated<string>;
1697
- payload: Generated<Json>;
1698
- tenantId: string | null;
1699
- type: string | null;
1700
- userId: string | null;
1701
- }
1702
2882
  export interface PublicUser {
1703
2883
  address: string | null;
1704
2884
  addressCity: string | null;
@@ -1790,34 +2970,61 @@ export interface PublicWebhook {
1790
2970
  types2: string[] | null;
1791
2971
  url: string;
1792
2972
  }
1793
- export interface HealthTenantIssue {
1794
- affected: number;
1795
- category: HealthTenantIssueCategory;
1796
- code: HealthTenantIssueCode;
1797
- contentHash: string;
1798
- context: Json;
2973
+ export interface TrackingIntercomConversation {
2974
+ answer: string;
2975
+ conversationId: Int8;
1799
2976
  createdAt: Generated<Timestamp>;
1800
- firstSeenAt: Timestamp;
1801
2977
  id: Generated<string>;
1802
- lastChangedAt: Timestamp;
1803
- message: string;
1804
- openedAt: Timestamp;
1805
- resolvedAt: Timestamp | null;
1806
- severity: HealthTenantIssueSeverity;
1807
- snapshotVersion: Int8;
1808
- status: HealthTenantIssueStatus;
2978
+ isRelevant: boolean;
2979
+ outcome: string;
2980
+ question: string;
2981
+ summary: string;
2982
+ tags: string;
2983
+ }
2984
+ export interface TrackingIntercomConversationUser {
2985
+ conversationId: string;
2986
+ createdAt: Generated<Timestamp>;
2987
+ id: Generated<string>;
2988
+ userId: string;
2989
+ }
2990
+ export interface TrackingIntercomReport {
2991
+ action: string;
2992
+ category: string;
2993
+ createdAt: Generated<Timestamp>;
2994
+ id: Generated<string>;
2995
+ summary: string;
2996
+ tags: string;
2997
+ }
2998
+ export interface TrackingIntercomReportConversation {
2999
+ conversationId: string;
3000
+ id: Generated<string>;
3001
+ reportId: string;
3002
+ }
3003
+ export interface TrackingMetricCache {
3004
+ connectionId: Generated<string>;
3005
+ date: Timestamp;
3006
+ name: Generated<string>;
3007
+ refreshedAt: Generated<Timestamp>;
3008
+ status: Generated<string>;
1809
3009
  tenantId: string;
1810
- updatedAt: Generated<Timestamp>;
1811
- version: Int8;
3010
+ total: Numeric;
3011
+ type: string;
1812
3012
  }
1813
- export interface HealthTenantIssueSnapshot {
1814
- computedAt: Timestamp | null;
1815
- contentHash: string | null;
3013
+ export interface TrackingMonitorConnection {
3014
+ appId: string;
3015
+ connectionId: string;
1816
3016
  createdAt: Generated<Timestamp>;
1817
- dirtyAt: Generated<Timestamp>;
3017
+ id: Generated<string>;
3018
+ message: string | null;
3019
+ status: string | null;
3020
+ syncedAt: Timestamp | null;
1818
3021
  tenantId: string;
1819
- updatedAt: Generated<Timestamp>;
1820
- version: Generated<Int8>;
3022
+ triggerRef: string | null;
3023
+ updatedAt: Timestamp | null;
3024
+ version: number | null;
3025
+ }
3026
+ export interface TrackingMonitorConnectionState {
3027
+ name: string;
1821
3028
  }
1822
3029
  export interface WebhookDelivery {
1823
3030
  apiVersion: WebhookApiVersion;
@@ -1834,10 +3041,12 @@ export interface WebhookDelivery {
1834
3041
  nextAttemptAt: Generated<Timestamp>;
1835
3042
  resourceId: string | null;
1836
3043
  resourceType: WebhookResourceType | null;
3044
+ retryAttemptCount: Generated<number>;
1837
3045
  sourceEventKey: string;
1838
3046
  sourceTenantId: string | null;
1839
3047
  status: Generated<WebhookDeliveryStatus>;
1840
3048
  subscriptionId: string;
3049
+ subscriptionRevision: Int8;
1841
3050
  updatedAt: Generated<Timestamp>;
1842
3051
  }
1843
3052
  export interface WebhookDeliveryAttempt {
@@ -1851,16 +3060,38 @@ export interface WebhookDeliveryAttempt {
1851
3060
  responseExcerpt: string | null;
1852
3061
  responseStatus: number | null;
1853
3062
  startedAt: Timestamp;
3063
+ }
3064
+ export interface WebhookDeliveryAttemptSecret {
3065
+ deliveryAttemptId: string;
3066
+ position: string;
1854
3067
  subscriptionSecretId: string;
1855
3068
  }
3069
+ export interface WebhookEvent {
3070
+ createdAt: Generated<Timestamp>;
3071
+ data: Json;
3072
+ eventType: WebhookEventType;
3073
+ id: Generated<string>;
3074
+ matchedAt: Timestamp | null;
3075
+ resourceId: string;
3076
+ resourceType: WebhookResourceType;
3077
+ sourceEventKey: string;
3078
+ tenantId: string;
3079
+ }
3080
+ export interface WebhookRateLimit {
3081
+ key: string;
3082
+ ownerTenantId: string;
3083
+ requestCount: number;
3084
+ windowStartedAt: Timestamp;
3085
+ }
1856
3086
  export interface WebhookSubscription {
1857
3087
  apiVersion: WebhookApiVersion;
1858
3088
  createdAt: Generated<Timestamp>;
1859
3089
  description: string | null;
1860
3090
  disabledAt: Timestamp | null;
1861
- eventTypes: WebhookSubscriptionEventType[];
3091
+ eventTypes: ArrayType<WebhookSubscriptionEventType>;
1862
3092
  id: Generated<string>;
1863
3093
  ownerTenantId: string;
3094
+ revision: Generated<Int8>;
1864
3095
  scope: WebhookSubscriptionScope;
1865
3096
  status: Generated<WebhookSubscriptionStatus>;
1866
3097
  updatedAt: Generated<Timestamp>;
@@ -1874,76 +3105,11 @@ export interface WebhookSubscriptionSecret {
1874
3105
  encryptionKeyId: string;
1875
3106
  expiresAt: Timestamp | null;
1876
3107
  id: Generated<string>;
3108
+ reencryptionFailedAt: Timestamp | null;
3109
+ reencryptionFailureCode: string | null;
1877
3110
  revokedAt: Timestamp | null;
1878
3111
  subscriptionId: string;
1879
3112
  }
1880
- export interface TrackingEvent {
1881
- createdAt: Generated<Timestamp>;
1882
- id: Generated<string>;
1883
- name: string;
1884
- packageName: string;
1885
- props: Json;
1886
- tenantId: string | null;
1887
- timestamp: Generated<Timestamp | null>;
1888
- trackedAt: Generated<Timestamp | null>;
1889
- userId: string | null;
1890
- }
1891
- export interface TrackingIntercomConversation {
1892
- answer: string;
1893
- conversationId: Int8;
1894
- createdAt: Generated<Timestamp>;
1895
- id: Generated<string>;
1896
- isRelevant: boolean;
1897
- outcome: string;
1898
- question: string;
1899
- summary: string;
1900
- tags: string;
1901
- }
1902
- export interface TrackingIntercomConversationUser {
1903
- conversationId: string;
1904
- createdAt: Generated<Timestamp>;
1905
- id: Generated<string>;
1906
- userId: string;
1907
- }
1908
- export interface TrackingIntercomReport {
1909
- action: string;
1910
- category: string;
1911
- createdAt: Generated<Timestamp>;
1912
- id: Generated<string>;
1913
- summary: string;
1914
- tags: string;
1915
- }
1916
- export interface TrackingIntercomReportConversation {
1917
- conversationId: string;
1918
- id: Generated<string>;
1919
- reportId: string;
1920
- }
1921
- export interface TrackingMetricCache {
1922
- connectionId: Generated<string>;
1923
- date: Timestamp;
1924
- name: Generated<string>;
1925
- refreshedAt: Generated<Timestamp>;
1926
- status: Generated<string>;
1927
- tenantId: string;
1928
- total: Numeric;
1929
- type: string;
1930
- }
1931
- export interface TrackingMonitorConnection {
1932
- appId: string;
1933
- connectionId: string;
1934
- createdAt: Generated<Timestamp>;
1935
- id: Generated<string>;
1936
- message: string | null;
1937
- status: string | null;
1938
- syncedAt: Timestamp | null;
1939
- tenantId: string;
1940
- triggerRef: string | null;
1941
- updatedAt: Timestamp | null;
1942
- version: number | null;
1943
- }
1944
- export interface TrackingMonitorConnectionState {
1945
- name: string;
1946
- }
1947
3113
  export interface DB {
1948
3114
  "accounting.account": AccountingAccount;
1949
3115
  "accounting.accountAssignment": AccountingAccountAssignment;
@@ -1951,10 +3117,11 @@ export interface DB {
1951
3117
  "accounting.accountAssignmentType": AccountingAccountAssignmentType;
1952
3118
  "accounting.accountCategory": AccountingAccountCategory;
1953
3119
  "accounting.accountClassification": AccountingAccountClassification;
3120
+ "accounting.accountConnection": AccountingAccountConnection;
3121
+ "accounting.accountPaymentFileSetting": AccountingAccountPaymentFileSetting;
1954
3122
  "accounting.accountReservationLineType": AccountingAccountReservationLineType;
1955
3123
  "accounting.accountReservationRevRec": AccountingAccountReservationRevRec;
1956
3124
  "accounting.accountType": AccountingAccountType;
1957
- "accounting.bankAccount": AccountingBankAccount;
1958
3125
  "accounting.bankAccountCategory": AccountingBankAccountCategory;
1959
3126
  "accounting.bankAccountType": AccountingBankAccountType;
1960
3127
  "accounting.bankRecord": AccountingBankRecord;
@@ -1969,29 +3136,56 @@ export interface DB {
1969
3136
  "accounting.bankRuleMatchOperator": AccountingBankRuleMatchOperator;
1970
3137
  "accounting.bankRuleMode": AccountingBankRuleMode;
1971
3138
  "accounting.contact": AccountingContact;
3139
+ "accounting.contactBankAccount": AccountingContactBankAccount;
3140
+ "accounting.contactBankDetailsRequest": AccountingContactBankDetailsRequest;
1972
3141
  "accounting.contactCompanyType": AccountingContactCompanyType;
1973
3142
  "accounting.contactType": AccountingContactType;
1974
3143
  "accounting.journalEntry": AccountingJournalEntry;
1975
3144
  "accounting.journalEntryEntityType": AccountingJournalEntryEntityType;
1976
3145
  "accounting.journalEntryTriggerType": AccountingJournalEntryTriggerType;
1977
3146
  "accounting.journalEntryType": AccountingJournalEntryType;
3147
+ "accounting.ownerPayment": AccountingOwnerPayment;
3148
+ "accounting.ownerPaymentRequest": AccountingOwnerPaymentRequest;
3149
+ "accounting.ownerPaymentSettings": AccountingOwnerPaymentSettings;
1978
3150
  "accounting.ownerStatementProjection": AccountingOwnerStatementProjection;
3151
+ "accounting.ownerStatementProjectionListingRevision": AccountingOwnerStatementProjectionListingRevision;
1979
3152
  "accounting.ownerStatementProjectionRevision": AccountingOwnerStatementProjectionRevision;
1980
3153
  "accounting.paidStatus": AccountingPaidStatus;
1981
3154
  "accounting.party": AccountingParty;
3155
+ "accounting.payment": AccountingPayment;
3156
+ "accounting.paymentAllocation": AccountingPaymentAllocation;
3157
+ "accounting.paymentBatch": AccountingPaymentBatch;
3158
+ "accounting.paymentBatchItem": AccountingPaymentBatchItem;
3159
+ "accounting.paymentBatchPayment": AccountingPaymentBatchPayment;
3160
+ "accounting.paymentCommand": AccountingPaymentCommand;
3161
+ "accounting.paymentObservation": AccountingPaymentObservation;
3162
+ "accounting.paymentReversal": AccountingPaymentReversal;
3163
+ "accounting.payoutHold": AccountingPayoutHold;
1982
3164
  "accounting.rate": AccountingRate;
1983
3165
  "accounting.rateType": AccountingRateType;
3166
+ "accounting.reservationJournalFreshnessControl": AccountingReservationJournalFreshnessControl;
3167
+ "accounting.reservationJournalInvalidation": AccountingReservationJournalInvalidation;
3168
+ "accounting.reservationJournalState": AccountingReservationJournalState;
3169
+ "accounting.reservationJournalStatementImpact": AccountingReservationJournalStatementImpact;
1984
3170
  "accounting.taxBehavior": AccountingTaxBehavior;
3171
+ "accounting.taxStatement": AccountingTaxStatement;
1985
3172
  "accounting.transaction": AccountingTransaction;
1986
3173
  "accounting.transactionAttachment": AccountingTransactionAttachment;
1987
3174
  "accounting.transactionLine": AccountingTransactionLine;
1988
3175
  "accounting.transactionType": AccountingTransactionType;
1989
3176
  "audit.action": AuditAction;
3177
+ "audit.actionClientIp": AuditActionClientIp;
1990
3178
  "audit.effect": AuditEffect;
1991
3179
  "audit.effectAttempt": AuditEffectAttempt;
1992
3180
  "audit.journalDelta": AuditJournalDelta;
1993
3181
  "audit.mutation": AuditMutation;
3182
+ "audit.publicEvent": AuditPublicEvent;
3183
+ "audit.publicEventEntryChange": AuditPublicEventEntryChange;
3184
+ "audit.publicEventProjectionState": AuditPublicEventProjectionState;
3185
+ "billing.listingFact": BillingListingFact;
3186
+ "billing.listingFactReadiness": BillingListingFactReadiness;
1994
3187
  "core.activeStatus": CoreActiveStatus;
3188
+ "core.asyncOperationResult": CoreAsyncOperationResult;
1995
3189
  "core.change": CoreChange;
1996
3190
  "core.changeEntityType": CoreChangeEntityType;
1997
3191
  "core.changeLink": CoreChangeLink;
@@ -1999,16 +3193,27 @@ export interface DB {
1999
3193
  "core.changeStatus": CoreChangeStatus;
2000
3194
  "core.changeSyncType": CoreChangeSyncType;
2001
3195
  "core.changeType": CoreChangeType;
3196
+ "core.csvOperationResult": CoreCsvOperationResult;
3197
+ "core.emailDelivery": CoreEmailDelivery;
3198
+ "core.emailNotification": CoreEmailNotification;
3199
+ "core.exportJob": CoreExportJob;
2002
3200
  "core.flow": CoreFlow;
3201
+ "core.flowEvent": CoreFlowEvent;
3202
+ "core.flowEventDelivery": CoreFlowEventDelivery;
3203
+ "core.flowEventOperation": CoreFlowEventOperation;
3204
+ "core.flowEventSecret": CoreFlowEventSecret;
2003
3205
  "core.flowMapping": CoreFlowMapping;
2004
3206
  "core.flowSetting": CoreFlowSetting;
2005
3207
  "core.issueMessageOverwrite": CoreIssueMessageOverwrite;
3208
+ "core.operation": CoreOperation;
3209
+ "core.operationBackfill": CoreOperationBackfill;
3210
+ "core.operationProjectionOutbox": CoreOperationProjectionOutbox;
3211
+ "core.operationResource": CoreOperationResource;
3212
+ "core.operationSource": CoreOperationSource;
2006
3213
  "core.sync": CoreSync;
2007
3214
  "core.syncStatus": CoreSyncStatus;
2008
3215
  "core.syncSubtask": CoreSyncSubtask;
2009
3216
  "core.syncType": CoreSyncType;
2010
- "health.tenantIssue": HealthTenantIssue;
2011
- "health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
2012
3217
  "hdbCatalog.eventInvocationLogs": HdbCatalogEventInvocationLogs;
2013
3218
  "hdbCatalog.eventLog": HdbCatalogEventLog;
2014
3219
  "hdbCatalog.hdbActionLog": HdbCatalogHdbActionLog;
@@ -2021,6 +3226,22 @@ export interface DB {
2021
3226
  "hdbCatalog.hdbSchemaNotifications": HdbCatalogHdbSchemaNotifications;
2022
3227
  "hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
2023
3228
  "hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
3229
+ "health.accountingIntegrityCase": HealthAccountingIntegrityCase;
3230
+ "health.accountingIntegrityComparisonFinding": HealthAccountingIntegrityComparisonFinding;
3231
+ "health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
3232
+ "health.accountingIntegrityDirtyRecord": HealthAccountingIntegrityDirtyRecord;
3233
+ "health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
3234
+ "health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
3235
+ "health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
3236
+ "health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;
3237
+ "health.accountingIntegrityRepairTransition": HealthAccountingIntegrityRepairTransition;
3238
+ "health.accountingIntegrityRun": HealthAccountingIntegrityRun;
3239
+ "health.accountingIntegritySweepCursor": HealthAccountingIntegritySweepCursor;
3240
+ "health.accountingIntegrityTransition": HealthAccountingIntegrityTransition;
3241
+ "health.reservationIssueSnapshot": HealthReservationIssueSnapshot;
3242
+ "health.tenantIssue": HealthTenantIssue;
3243
+ "health.tenantIssueRuleState": HealthTenantIssueRuleState;
3244
+ "health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
2024
3245
  "public.accountCollection": PublicAccountCollection;
2025
3246
  "public.accountCollectionType": PublicAccountCollectionType;
2026
3247
  "public.address": PublicAddress;
@@ -2032,19 +3253,23 @@ export interface DB {
2032
3253
  "public.bookingChannel": PublicBookingChannel;
2033
3254
  "public.bookingChannelIconCandidate": PublicBookingChannelIconCandidate;
2034
3255
  "public.connection": PublicConnection;
3256
+ "public.connectionOauthState": PublicConnectionOauthState;
3257
+ "public.connectionRoute": PublicConnectionRoute;
3258
+ "public.controlPlaneOutbox": PublicControlPlaneOutbox;
3259
+ "public.controlPlaneProjectionEvent": PublicControlPlaneProjectionEvent;
2035
3260
  "public.currency": PublicCurrency;
2036
3261
  "public.duplicateEmails": PublicDuplicateEmails;
2037
3262
  "public.emailTemplate": PublicEmailTemplate;
2038
3263
  "public.emailTemplateType": PublicEmailTemplateType;
2039
- "public.feature": PublicFeature;
2040
- "public.featureApproval": PublicFeatureApproval;
2041
- "public.featureApprovalStatus": PublicFeatureApprovalStatus;
2042
- "public.featureEnabledTeam": PublicFeatureEnabledTeam;
2043
- "public.featureStatus": PublicFeatureStatus;
3264
+ "public.feedback": PublicFeedback;
2044
3265
  "public.fileStorage": PublicFileStorage;
2045
3266
  "public.fileStorageSourceLink": PublicFileStorageSourceLink;
2046
3267
  "public.fileStorageTag": PublicFileStorageTag;
3268
+ "public.guestReview": PublicGuestReview;
2047
3269
  "public.latestDuplicateEmails": PublicLatestDuplicateEmails;
3270
+ "public.lineClassificationUsage": PublicLineClassificationUsage;
3271
+ "public.lineClassificationUsageBackfill": PublicLineClassificationUsageBackfill;
3272
+ "public.lineClassificationUsageCapture": PublicLineClassificationUsageCapture;
2048
3273
  "public.listing": PublicListing;
2049
3274
  "public.listingCollection": PublicListingCollection;
2050
3275
  "public.listingConnection": PublicListingConnection;
@@ -2053,6 +3278,7 @@ export interface DB {
2053
3278
  "public.listingOwnershipPeriod": PublicListingOwnershipPeriod;
2054
3279
  "public.listingOwnershipPeriodBusinessModel": PublicListingOwnershipPeriodBusinessModel;
2055
3280
  "public.listingOwnershipPeriodMember": PublicListingOwnershipPeriodMember;
3281
+ "public.memberInviteApproval": PublicMemberInviteApproval;
2056
3282
  "public.owner": PublicOwner;
2057
3283
  "public.ownerStatement": PublicOwnerStatement;
2058
3284
  "public.ownerStatementLayout": PublicOwnerStatementLayout;
@@ -2070,6 +3296,8 @@ export interface DB {
2070
3296
  "public.paymentLineClassification": PublicPaymentLineClassification;
2071
3297
  "public.paymentStatus": PublicPaymentStatus;
2072
3298
  "public.paymentType": PublicPaymentType;
3299
+ "public.plaidConnectSession": PublicPlaidConnectSession;
3300
+ "public.rampApplication": PublicRampApplication;
2073
3301
  "public.recurringFee": PublicRecurringFee;
2074
3302
  "public.recurringFeeAccount": PublicRecurringFeeAccount;
2075
3303
  "public.recurringFeeAccountCondition": PublicRecurringFeeAccountCondition;
@@ -2079,6 +3307,7 @@ export interface DB {
2079
3307
  "public.reservation": PublicReservation;
2080
3308
  "public.reservationStatus": PublicReservationStatus;
2081
3309
  "public.reservationWithOccupancyStatus": PublicReservationWithOccupancyStatus;
3310
+ "public.secondFactorReset": PublicSecondFactorReset;
2082
3311
  "public.setting": PublicSetting;
2083
3312
  "public.source": PublicSource;
2084
3313
  "public.task": PublicTask;
@@ -2086,7 +3315,6 @@ export interface DB {
2086
3315
  "public.taxStatementStatus": PublicTaxStatementStatus;
2087
3316
  "public.tenant": PublicTenant;
2088
3317
  "public.tenantUser": PublicTenantUser;
2089
- "public.token": PublicToken;
2090
3318
  "public.user": PublicUser;
2091
3319
  "public.userCompanyType": PublicUserCompanyType;
2092
3320
  "public.userCompanyUser": PublicUserCompanyUser;
@@ -2096,7 +3324,6 @@ export interface DB {
2096
3324
  "public.viewWebhookEvents": PublicViewWebhookEvents;
2097
3325
  "public.viewWebhookEventsGroupedByDate": PublicViewWebhookEventsGroupedByDate;
2098
3326
  "public.webhook": PublicWebhook;
2099
- "tracking.event": TrackingEvent;
2100
3327
  "tracking.intercomConversation": TrackingIntercomConversation;
2101
3328
  "tracking.intercomConversationUser": TrackingIntercomConversationUser;
2102
3329
  "tracking.intercomReport": TrackingIntercomReport;
@@ -2106,6 +3333,9 @@ export interface DB {
2106
3333
  "tracking.monitorConnectionState": TrackingMonitorConnectionState;
2107
3334
  "webhook.delivery": WebhookDelivery;
2108
3335
  "webhook.deliveryAttempt": WebhookDeliveryAttempt;
3336
+ "webhook.deliveryAttemptSecret": WebhookDeliveryAttemptSecret;
3337
+ "webhook.event": WebhookEvent;
3338
+ "webhook.rateLimit": WebhookRateLimit;
2109
3339
  "webhook.subscription": WebhookSubscription;
2110
3340
  "webhook.subscriptionSecret": WebhookSubscriptionSecret;
2111
3341
  }