@vrplatform/kysely 1.3.45-stage.4441 → 1.3.45-stage.445

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 (221) hide show
  1. package/build/.data.tar +0 -0
  2. package/build/main/camel-case/index.js +1 -1
  3. package/build/main/camel-case/index.js.map +1 -1
  4. package/build/main/control-plane/index.d.ts +360 -14
  5. package/build/main/control-plane/index.js +61 -0
  6. package/build/main/control-plane/index.js.map +1 -1
  7. package/build/main/domain.d.ts +4 -0
  8. package/build/main/domain.js +3 -0
  9. package/build/main/domain.js.map +1 -0
  10. package/build/main/error.d.ts +2 -1
  11. package/build/main/error.js +2 -1
  12. package/build/main/error.js.map +1 -1
  13. package/build/main/index.d.ts +11 -15
  14. package/build/main/index.js +165 -59
  15. package/build/main/index.js.map +1 -1
  16. package/build/main/isomorphic.d.ts +5 -5
  17. package/build/main/isomorphic.js +2 -8
  18. package/build/main/isomorphic.js.map +1 -1
  19. package/build/main/local/digest.d.ts +3 -3
  20. package/build/main/local/digest.js.map +1 -1
  21. package/build/main/local/generate.js +11 -10
  22. package/build/main/local/generate.js.map +1 -1
  23. package/build/main/local/index.d.ts +5 -1
  24. package/build/main/local/index.js +322 -12
  25. package/build/main/local/index.js.map +1 -1
  26. package/build/main/local/prune-pulled-schema.js +4 -1
  27. package/build/main/local/prune-pulled-schema.js.map +1 -1
  28. package/build/main/migration.d.ts +7 -0
  29. package/build/main/migration.js +11 -0
  30. package/build/main/migration.js.map +1 -0
  31. package/build/main/plugins.d.ts +2 -2
  32. package/build/main/plugins.js.map +1 -1
  33. package/build/main/postgres-error.d.ts +8 -0
  34. package/build/main/postgres-error.js +22 -0
  35. package/build/main/postgres-error.js.map +1 -0
  36. package/build/main/query/index.d.ts +1 -0
  37. package/build/main/query/index.js +1 -0
  38. package/build/main/query/index.js.map +1 -1
  39. package/build/main/query/listing/status.d.ts +0 -10
  40. package/build/main/query/listing/status.js +29 -18
  41. package/build/main/query/listing/status.js.map +1 -1
  42. package/build/main/query/tenant/billing-partner.d.ts +4 -0
  43. package/build/main/query/tenant/billing-partner.js +8 -0
  44. package/build/main/query/tenant/billing-partner.js.map +1 -0
  45. package/build/main/query/tenant/index.d.ts +2 -0
  46. package/build/main/query/tenant/index.js +19 -0
  47. package/build/main/query/tenant/index.js.map +1 -0
  48. package/build/main/query/tenant/status.d.ts +14 -0
  49. package/build/main/query/tenant/status.js +40 -0
  50. package/build/main/query/tenant/status.js.map +1 -0
  51. package/build/main/regional.d.ts +29 -3
  52. package/build/main/regional.js +68 -8
  53. package/build/main/regional.js.map +1 -1
  54. package/build/main/test/index.d.ts +23 -11
  55. package/build/main/test/index.js +31 -23
  56. package/build/main/test/index.js.map +1 -1
  57. package/build/main/transaction.d.ts +3 -3
  58. package/build/main/transaction.js.map +1 -1
  59. package/build/main/v1.generated.d.ts +821 -119
  60. package/build/main/v1.generated.js.map +1 -1
  61. package/build/migrations-v2/0000000000000-baseline.ts +5 -0
  62. package/build/migrations-v2/0000000000001-public-audit-events-v2.ts +137 -0
  63. package/build/migrations-v2/0000000000002-audit-recovery-watermarks.ts +30 -0
  64. package/build/migrations-v2/0000000000003-audit-effect-recovery-watermark.ts +13 -0
  65. package/build/migrations-v2/0000000000004-audit-event-projected-at.ts +15 -0
  66. package/build/migrations-v2/0000000000005-audit-recovery-indexes.ts +63 -0
  67. package/build/migrations-v2/0000000000006-audit-action-public-event-projected-at.ts +22 -0
  68. package/build/migrations-v2/0000000000007-audit-action-public-event-projected-at-backfill.ts +35 -0
  69. package/build/migrations-v2/0000000000008-global-user-attribution.ts +33 -0
  70. package/build/migrations-v2/0000000000008-team-issue-rule-state.ts +52 -0
  71. package/build/migrations-v2/0000000000009-reservation-issue-projections.ts +45 -0
  72. package/build/migrations-v2/0000000000010-bank-rule-application-bank-record-delete-cascade.ts +26 -0
  73. package/build/migrations-v2/0000000000011-guest-balance-journal-entry-lookup-index.ts +25 -0
  74. package/build/migrations-v2/0000000000012-trial-free-analytics-billing-status.ts +72 -0
  75. package/build/migrations-v2/0000000000013-ui-permission-bundles.ts +45 -0
  76. package/build/migrations-v2/0000000000014-ui-permission-bundle-top-up.ts +32 -0
  77. package/build/migrations-v2/0000000000015-durable-flow-events.ts +163 -0
  78. package/build/migrations-v2/0000000000016-billing-listing-facts.ts +539 -0
  79. package/build/migrations-v2/0000000000016-managed-team-access.ts +34 -0
  80. package/build/migrations-v2/0000000000017-drop-trial-until.ts +42 -0
  81. package/build/migrations-v2/0000000000017-webhook-secret-reencryption-failures.ts +18 -0
  82. package/build/migrations-v2/0000000000018-accounting-integrity-monitoring.ts +276 -0
  83. package/build/migrations-v2/0000000000018-durable-flow-event-sensitive-input.ts +28 -0
  84. package/build/migrations-v2/0000000000019-accounting-integrity-run-shards.ts +26 -0
  85. package/build/migrations-v2/0000000000019-asynchronous-operations.ts +736 -0
  86. package/build/migrations-v2/0000000000020-accounting-integrity-case-classification.ts +52 -0
  87. package/build/migrations-v2/0000000000021-payment-line-classification-monitor-indexes.ts +31 -0
  88. package/build/migrations-v2/0000000000022-accounting-integrity-controlled-repairs.ts +281 -0
  89. package/build/migrations-v2/0000000000023-line-classification-usage.ts +325 -0
  90. package/build/migrations-v2/0000000000024-tenant-region-migration.ts +108 -0
  91. package/build/migrations-v2/0000000000025-partner-ach-denial-default.ts +30 -0
  92. package/build/migrations-v2/0000000000026-line-classification-usage-capture.ts +399 -0
  93. package/build/migrations-v2/0000000000027-payout-replacement-chain.ts +27 -0
  94. package/build/migrations-v2/0000000000028-accounting-integrity-operator-workflow.ts +108 -0
  95. package/build/migrations-v2/0000000000029-accounting-integrity-definition-artifacts.ts +40 -0
  96. package/build/migrations-v2/0000000000030-accounting-integrity-review-metadata-compatibility.ts +49 -0
  97. package/build/migrations-v2/0000000000031-ui-permission-role-simplification.ts +70 -0
  98. package/build/migrations-v2/0000000000032-tenant-delete-ownership-cascades.ts +44 -0
  99. package/build/migrations-v2/0000000000033-reservation-issue-seed-bucket-index.ts +19 -0
  100. package/build/migrations-v2/0000000000034-retire-recent-classification-indexes.ts +29 -0
  101. package/build/migrations-v2/0000000000035-core-change-autovacuum.ts +24 -0
  102. package/build/migrations-v2/0000000000036-journal-entry-inactive-reason-constraint.ts +33 -0
  103. package/build/migrations-v2/0000000000037-journal-entry-inactive-reasons.ts +19 -0
  104. package/build/{migrations/0000000000023-journal-entry-currency-mismatch-reason.ts → migrations-v2/0000000000038-journal-entry-group-inactive-reason.ts} +4 -4
  105. package/build/migrations-v2/0000000000039-reservation-guest-breakdown.ts +19 -0
  106. package/build/migrations-v2/0000000000040-csv-import-source-identity-index.ts +23 -0
  107. package/build/migrations-v2/0000000000041-payment-returns.ts +38 -0
  108. package/build/migrations-v2/0000000000042-operation-resource-types.ts +609 -0
  109. package/build/migrations-v2/0000000000043-reservation-journal-freshness.ts +149 -0
  110. package/build/migrations-v2/0000000000044-reservation-journal-freshness-backfill.ts +254 -0
  111. package/build/migrations-v2/0000000000045-reservation-journal-freshness-revision-repair.ts +83 -0
  112. package/build/migrations-v2/0000000000046-materialized-reservation-journal-operations.ts +709 -0
  113. package/build/migrations-v2/0000000000047-public-audit-completion.ts +77 -0
  114. package/build/migrations-v2/0000000000048-reservation-journal-full-refresh-repair.ts +136 -0
  115. package/build/migrations-v2/0000000000049-queued-journal-operation-failures.ts +60 -0
  116. package/build/module/camel-case/index.js +1 -1
  117. package/build/module/camel-case/index.js.map +1 -1
  118. package/build/module/control-plane/index.d.ts +360 -14
  119. package/build/module/control-plane/index.js +49 -1
  120. package/build/module/control-plane/index.js.map +1 -1
  121. package/build/module/domain.d.ts +4 -0
  122. package/build/module/domain.js +2 -0
  123. package/build/module/domain.js.map +1 -0
  124. package/build/module/error.d.ts +2 -1
  125. package/build/module/error.js +3 -1
  126. package/build/module/error.js.map +1 -1
  127. package/build/module/index.d.ts +11 -15
  128. package/build/module/index.js +165 -57
  129. package/build/module/index.js.map +1 -1
  130. package/build/module/isomorphic.d.ts +5 -5
  131. package/build/module/isomorphic.js +1 -6
  132. package/build/module/isomorphic.js.map +1 -1
  133. package/build/module/local/digest.d.ts +3 -3
  134. package/build/module/local/digest.js.map +1 -1
  135. package/build/module/local/generate.js +11 -10
  136. package/build/module/local/generate.js.map +1 -1
  137. package/build/module/local/index.d.ts +5 -1
  138. package/build/module/local/index.js +323 -13
  139. package/build/module/local/index.js.map +1 -1
  140. package/build/module/local/prune-pulled-schema.js +4 -1
  141. package/build/module/local/prune-pulled-schema.js.map +1 -1
  142. package/build/module/migration.d.ts +7 -0
  143. package/build/module/migration.js +8 -0
  144. package/build/module/migration.js.map +1 -0
  145. package/build/module/plugins.d.ts +2 -2
  146. package/build/module/plugins.js.map +1 -1
  147. package/build/module/postgres-error.d.ts +8 -0
  148. package/build/module/postgres-error.js +19 -0
  149. package/build/module/postgres-error.js.map +1 -0
  150. package/build/module/query/index.d.ts +1 -0
  151. package/build/module/query/index.js +1 -0
  152. package/build/module/query/index.js.map +1 -1
  153. package/build/module/query/listing/status.d.ts +0 -10
  154. package/build/module/query/listing/status.js +29 -16
  155. package/build/module/query/listing/status.js.map +1 -1
  156. package/build/module/query/tenant/billing-partner.d.ts +4 -0
  157. package/build/module/query/tenant/billing-partner.js +5 -0
  158. package/build/module/query/tenant/billing-partner.js.map +1 -0
  159. package/build/module/query/tenant/index.d.ts +2 -0
  160. package/build/module/query/tenant/index.js +3 -0
  161. package/build/module/query/tenant/index.js.map +1 -0
  162. package/build/module/query/tenant/status.d.ts +14 -0
  163. package/build/module/query/tenant/status.js +35 -0
  164. package/build/module/query/tenant/status.js.map +1 -0
  165. package/build/module/regional.d.ts +29 -3
  166. package/build/module/regional.js +67 -8
  167. package/build/module/regional.js.map +1 -1
  168. package/build/module/test/index.d.ts +23 -11
  169. package/build/module/test/index.js +31 -23
  170. package/build/module/test/index.js.map +1 -1
  171. package/build/module/transaction.d.ts +3 -3
  172. package/build/module/transaction.js.map +1 -1
  173. package/build/module/v1.generated.d.ts +821 -119
  174. package/build/module/v1.generated.js.map +1 -1
  175. package/package.json +10 -9
  176. package/build/migrations/0000000000001-init.ts +0 -5
  177. package/build/migrations/0000000000009-drop-store-schema.ts +0 -14
  178. package/build/migrations/0000000000010-bank-rules.ts +0 -190
  179. package/build/migrations/0000000000011-bank-rule-line-adjustments.ts +0 -65
  180. package/build/migrations/0000000000012-bank-rule-conditions.ts +0 -45
  181. package/build/migrations/0000000000013-bank-rule-name-unique.ts +0 -15
  182. package/build/migrations/0000000000014-bank-rule-drop-legacy-conditions.ts +0 -41
  183. package/build/migrations/0000000000015-booking-channel-logo-dev-provider.ts +0 -70
  184. package/build/migrations/0000000000016-owner-statement-draft-status.ts +0 -22
  185. package/build/migrations/0000000000017-tenant-migration-markers.ts +0 -18
  186. package/build/migrations/0000000000018-security-deposits-payable-category.ts +0 -63
  187. package/build/migrations/0000000000019-tenant-app-settings.ts +0 -76
  188. package/build/migrations/0000000000020-operating-opening-trial-balance.ts +0 -36
  189. package/build/migrations/0000000000021-audit-foreign-key-indexes.ts +0 -77
  190. package/build/migrations/0000000000022-opening-trial-balance-combined-columns.ts +0 -30
  191. package/build/migrations/0000000000024-listing-parent.ts +0 -37
  192. package/build/migrations/0000000000025-journal-entry-parent-listing.ts +0 -26
  193. package/build/migrations/0000000000026-booking-channel-logo-slots.ts +0 -89
  194. package/build/migrations/0000000000027-list-browse-performance-indexes.ts +0 -52
  195. package/build/migrations/0000000000028-flow-setting-status-jsonb.ts +0 -20
  196. package/build/migrations/0000000000029-tenant-slug.ts +0 -328
  197. package/build/migrations/0000000000030-pms-accounting-windows.ts +0 -50
  198. package/build/migrations/0000000000031-owner-statement-projection-listing-revision.ts +0 -20
  199. package/build/migrations/0000000000032-flow-event-listening.ts +0 -28
  200. package/build/migrations/0000000000033-opening-trial-balance-transaction.ts +0 -272
  201. package/build/migrations/0000000000034-historic-general-ledger.ts +0 -24
  202. package/build/migrations/0000000000035-tenant-regional-placement.ts +0 -37
  203. package/build/migrations/0000000000036-control-plane-projection-events.ts +0 -43
  204. package/build/migrations/0000000000037-tenant-guide-onboarding.ts +0 -21
  205. package/build/migrations/0000000000038-tracking-event-analytics-sink.ts +0 -31
  206. package/build/migrations/0000000000039-crunchy-region.ts +0 -86
  207. package/build/migrations/0000000000040-hostaway-region.ts +0 -72
  208. package/build/migrations/0000000000041-audit-tenant-fk.ts +0 -66
  209. package/build/migrations/0000000000042-ramp-staging-connect-params.ts +0 -35
  210. package/build/migrations/0000000000043-gl-pms-accounting-window-guard.ts +0 -125
  211. package/build/migrations/0000000000044-tenant-cross-region-fks.ts +0 -45
  212. package/build/migrations/0000000000045-cloudflare-region-env.ts +0 -100
  213. package/build/migrations/0000000000046-control-plane-outbox-alias.ts +0 -46
  214. package/build/migrations/0000000000047-ramp-contact-last-4-digits.ts +0 -16
  215. package/build/migrations/0000000000047-tenant-status-backfill.ts +0 -40
  216. package/build/migrations/0000000000048-tenant-status-constraint.ts +0 -24
  217. package/build/migrations/0000000000049-health-tenant-issues.ts +0 -69
  218. package/build/migrations/0000000000050-partner-webhooks.ts +0 -135
  219. package/build/migrations/0000000000051-health-webhook-runtime-grants.ts +0 -42
  220. package/build/migrations/0000000000052-feature-approval-team-enablement.ts +0 -13
  221. package/build/migrations/0000000000053-health-webhook-enums.ts +0 -296
@@ -3,18 +3,54 @@
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 AccountingJournalEntryInactiveReason = "cancelledReservationLine" | "currencyMismatch" | "generalLedgerStartAt" | "historicalLedger" | "inactiveAccount" | "listingInactive" | "listingOwnershipPeriodNotFound" | "nonPostingAccount" | "reservationGeneralLedgerStatusInactive" | "transactionInactive" | "unbalancedGroupInactiveLeg" | "unknownInactiveReason";
7
7
  export type AccountingJournalEntryLedger = "historical" | "operating" | "trust";
8
8
  export type AccountingTransactionAttachmentStatus = "attached" | "deleting" | "ready" | "uploading";
9
- export type AuditActionActorType = "automation" | "sync" | "system" | "user";
9
+ export type ArrayType<T> = ArrayTypeImpl<T> extends (infer U)[] ? U[] : ArrayTypeImpl<T>;
10
+ export type ArrayTypeImpl<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S[], I[], U[]> : T[];
11
+ export type AuditActionActorType = "api_key" | "automation" | "sync" | "system" | "user";
10
12
  export type AuditEffectAttemptStatus = "completed" | "failed" | "running" | "skipped_locked";
11
13
  export type AuditEffectStatus = "claimed" | "completed" | "dead_letter" | "failed" | "pending" | "running";
12
14
  export type AuditJournalDeltaOperation = "delete" | "insert" | "update";
15
+ export type AuditPublicEventAccountingStatus = "blocked" | "changed" | "failed" | "mixed" | "not_applicable" | "pending" | "unchanged";
16
+ export type AuditPublicEventOperation = "archive" | "create" | "delete" | "execute" | "recalculate" | "restore" | "update";
17
+ export type AuditActorOrganizationType = "partner" | "system" | "team" | "vrplatform";
18
+ export type AuditSourceType = "api" | "automation" | "embedded" | "integration" | "portal" | "sync" | "system";
19
+ 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";
20
+ export type CoreAsyncOperationResultStatus = "completed" | "failed" | "queued";
21
+ export type CoreCsvOperationResultKind = "import" | "preview";
22
+ export type CoreCsvOperationResultStatus = "completed" | "failed" | "processing" | "queued";
23
+ export type CoreExportJobFormat = "csv" | "pdf" | "zip";
24
+ 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-route" | "api/export-trust-reconciliation-pdf";
25
+ export type CoreFlowEventOperationAction = "abandon" | "replay";
26
+ export type CoreFlowEventStatus = "canceled" | "dead" | "pending" | "processing" | "succeeded";
27
+ export type CoreOperationResourceRole = "result" | "source" | "target";
28
+ export type CoreOperationResourceType = "bank-rule" | "connection" | "contact" | "file" | "flow" | "listing" | "recurring-fee" | "recurring-transaction-template" | "reservation" | "statement" | "team" | "transaction" | "webhook";
29
+ export type CoreOperationPublicIdFormat = "action" | "legacy";
30
+ export type CoreOperationSourceType = "audit-action" | "export-job" | "sync" | "webhook-delivery";
31
+ export type CoreOperationStatus = "completed" | "failed" | "queued" | "running";
32
+ export type CoreOperationType = "ach-verification" | "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" | "team-delete" | "team-demo-data" | "team-duplicate" | "team-initialize" | "transaction-journal-refresh" | "vri-statement-import" | "vri-team-migration" | "webhook-test";
33
+ export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
34
+ export type HealthAccountingIntegrityActionability = "automatically_repairable" | "blocked" | "code_fix_required" | "manual_repair" | "unknown";
35
+ export type HealthAccountingIntegrityCaseStatus = "open" | "resolved";
36
+ export type HealthAccountingIntegrityConfidence = "probable" | "proven" | "unknown";
37
+ export type HealthAccountingIntegrityDeliveryChannel = "sentry" | "slack";
38
+ export type HealthAccountingIntegrityDeliveryStatus = "dead_letter" | "delivered" | "failed" | "pending" | "processing" | "suppressed";
39
+ export type HealthAccountingIntegrityRepairPlanStatus = "active" | "canceled" | "completed" | "draft" | "failed" | "paused";
40
+ export type HealthAccountingIntegrityRepairScopeType = "case" | "tenant";
41
+ export type HealthAccountingIntegrityRepairStageStatus = "applying" | "approved" | "canceled" | "dry_run_passed" | "failed" | "paused" | "planned" | "verified" | "verifying";
42
+ export type HealthAccountingIntegrityRepairTargetStatus = "applied" | "applying" | "canceled" | "failed" | "paused" | "pending" | "verified" | "verifying";
43
+ 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";
44
+ export type HealthAccountingIntegrityResolutionClassification = "code_fix" | "configuration" | "data_repair" | "expected" | "false_positive" | "monitor_fix" | "unknown";
45
+ export type HealthAccountingIntegrityReviewStatus = "confirmed_issue" | "expected" | "false_positive" | "unreviewed";
46
+ export type HealthAccountingIntegrityRunStatus = "completed" | "failed" | "running" | "skipped";
47
+ export type HealthAccountingIntegritySeverity = "critical" | "error" | "info" | "warning";
48
+ export type HealthAccountingIntegrityTransitionType = "changed" | "opened" | "reopened" | "resolved" | "reviewed";
49
+ export type HealthAccountingIntegrityUrgency = "backlog" | "immediate" | "next_triage" | "none";
13
50
  export type HealthTenantIssueCategory = "criticalToSystem" | "criticalToUser";
14
51
  export type HealthTenantIssueCode = "brokenConnections" | "cancelledReservationPaidWithoutAdjustment" | "closedPeriodUnattachedJournalEntries" | "duplicatedPayments" | "endedOwnershipNonZeroBalance" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "missingOwnershipOrDeactivation" | "operatingBankAccountsWithoutOpex" | "outdatedConnections" | "partnerBillingInactive" | "partnerInactive" | "pmsMissingAccountingStart" | "publishedStatementUnpaid" | "reservationCurrencyMismatch" | "reservationGuestTotalsMismatch" | "reservationPaymentProjectionMismatch" | "teamInactive" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "unpaidReservations";
15
52
  export type HealthTenantIssueSeverity = "error" | "warning";
16
53
  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
54
  export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
19
55
  export type Json = JsonValue;
20
56
  export type JsonArray = JsonValue[];
@@ -25,15 +61,17 @@ export type JsonPrimitive = boolean | number | string | null;
25
61
  export type JsonValue = JsonArray | JsonObject | JsonPrimitive;
26
62
  export type Numeric = ColumnType<string, number | string, number | string>;
27
63
  export type PublicFlowType = "pull" | "push";
64
+ export type PublicPlaidConnectMode = "create" | "replace" | "update";
65
+ export type PublicPlaidConnectStatus = "awaitingConfiguration" | "completed" | "configuring" | "credentialsStored" | "discoveringAccounts" | "exchangeOutcomeUnknown" | "exchanging" | "expired" | "failed" | "pendingLink";
28
66
  export type PublicRecurringFeeConditionOperator = "<" | "<=" | "=" | ">" | ">=";
67
+ export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
29
68
  export type WebhookApiVersion = "2026-07-01";
30
69
  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";
70
+ 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";
71
+ export type WebhookResourceType = "auditEvent" | "connection" | "listing" | "reservation" | "statement" | "sync" | "team" | "transaction" | "webhook";
72
+ export type WebhookSubscriptionEventType = "audit.event.changed" | "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed";
34
73
  export type WebhookSubscriptionScope = "managedTeams" | "self";
35
74
  export type WebhookSubscriptionStatus = "active" | "disabled" | "pending";
36
- export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
37
75
  export interface AccountingAccount {
38
76
  bankingCategory: string | null;
39
77
  bankingCurrency: string | null;
@@ -47,8 +85,6 @@ export interface AccountingAccount {
47
85
  createdAt: Generated<Timestamp | null>;
48
86
  id: Generated<string>;
49
87
  offsetAccountId: string | null;
50
- openingTrialBalanceCombinedCentTotal: Generated<Int8>;
51
- openingTrialBalanceUpdatedAt: Timestamp | null;
52
88
  status: Generated<string>;
53
89
  tenantId: string | null;
54
90
  title: string;
@@ -83,24 +119,7 @@ export interface AccountingAccountCategory {
83
119
  export interface AccountingAccountClassification {
84
120
  name: string;
85
121
  }
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 {
122
+ export interface AccountingAccountConnection {
104
123
  accountId: string | null;
105
124
  category: Generated<string | null>;
106
125
  connectionId: string | null;
@@ -110,6 +129,7 @@ export interface AccountingBankAccount {
110
129
  id: Generated<string>;
111
130
  lastDigits: string | null;
112
131
  name: string | null;
132
+ persistentRef: string | null;
113
133
  sourceId: string | null;
114
134
  startDate: Timestamp | null;
115
135
  /**
@@ -122,6 +142,23 @@ export interface AccountingBankAccount {
122
142
  uniqueRef: string | null;
123
143
  updatedAt: Generated<Timestamp>;
124
144
  }
145
+ export interface AccountingAccountReservationLineType {
146
+ accountId: string | null;
147
+ bookingChannel: string | null;
148
+ createdAt: Generated<Timestamp>;
149
+ id: Generated<string>;
150
+ lineType: string;
151
+ revenueRecognition: string | null;
152
+ status: Generated<string | null>;
153
+ tenantId: string;
154
+ updatedAt: Generated<Timestamp>;
155
+ }
156
+ export interface AccountingAccountReservationRevRec {
157
+ name: string;
158
+ }
159
+ export interface AccountingAccountType {
160
+ name: string;
161
+ }
125
162
  export interface AccountingBankAccountCategory {
126
163
  name: string;
127
164
  }
@@ -129,8 +166,8 @@ export interface AccountingBankAccountType {
129
166
  name: string;
130
167
  }
131
168
  export interface AccountingBankRecord {
169
+ accountConnectionId: string | null;
132
170
  accountId: string | null;
133
- bankAccountId: string | null;
134
171
  calculatedCentBalance: number | null;
135
172
  calculatedCentTotalCorrection: number | null;
136
173
  centBalance: number | null;
@@ -329,6 +366,12 @@ export interface AccountingOwnerStatementProjection {
329
366
  tenantId: string;
330
367
  variant: string;
331
368
  }
369
+ export interface AccountingOwnerStatementProjectionListingRevision {
370
+ listingId: string;
371
+ revision: Generated<Int8>;
372
+ tenantId: string;
373
+ updatedAt: Generated<Timestamp>;
374
+ }
332
375
  export interface AccountingOwnerStatementProjectionRevision {
333
376
  revision: Generated<Int8>;
334
377
  tenantId: string;
@@ -360,6 +403,44 @@ export interface AccountingRate {
360
403
  export interface AccountingRateType {
361
404
  name: string;
362
405
  }
406
+ export interface AccountingReservationJournalFreshnessControl {
407
+ createdAt: Generated<Timestamp>;
408
+ guardsEnabledAt: Timestamp | null;
409
+ tenantId: string;
410
+ updatedAt: Generated<Timestamp>;
411
+ }
412
+ export interface AccountingReservationJournalInvalidation {
413
+ actionId: string | null;
414
+ appliedAt: Timestamp | null;
415
+ coveredByEffectId: string | null;
416
+ createdAt: Generated<Timestamp>;
417
+ effectId: string | null;
418
+ id: Generated<string>;
419
+ reservationId: string;
420
+ revision: Int8;
421
+ sourceResourceId: string | null;
422
+ sourceResourceType: CoreOperationResourceType | null;
423
+ tenantId: string;
424
+ }
425
+ export interface AccountingReservationJournalState {
426
+ appliedRevision: Generated<Int8>;
427
+ calculatedAt: Timestamp | null;
428
+ createdAt: Generated<Timestamp>;
429
+ desiredRevision: Generated<Int8>;
430
+ reservationId: string;
431
+ staleSince: Timestamp | null;
432
+ tenantId: string;
433
+ updatedAt: Generated<Timestamp>;
434
+ }
435
+ export interface AccountingReservationJournalStatementImpact {
436
+ createdAt: Generated<Timestamp>;
437
+ currency: string;
438
+ invalidationId: string;
439
+ listingId: string;
440
+ listingOwnershipPeriodId: string;
441
+ month: Timestamp;
442
+ tenantId: string;
443
+ }
363
444
  export interface AccountingTaxBehavior {
364
445
  name: string;
365
446
  }
@@ -382,9 +463,12 @@ export interface AccountingTransaction {
382
463
  matchStatus: Generated<string | null>;
383
464
  paidAt: Timestamp | null;
384
465
  paidStatus: Generated<string | null>;
466
+ recreatedFromTransactionId: string | null;
385
467
  recurringFeeId: string | null;
386
468
  recurringPattern: Json | null;
387
469
  recurringTemplateId: string | null;
470
+ returnedFromTransactionId: string | null;
471
+ returnEffectiveAt: Timestamp | null;
388
472
  /**
389
473
  * Human-readable system ID (EXP/DEP/PAY/TRF-XXX-XXXX-XXX depending on transaction.type).
390
474
  */
@@ -395,6 +479,7 @@ export interface AccountingTransaction {
395
479
  type: string;
396
480
  uniqueRef: string | null;
397
481
  updatedAt: Generated<Timestamp>;
482
+ webhookVersion: Generated<Int8>;
398
483
  }
399
484
  export interface AccountingTransactionAttachment {
400
485
  byteSize: number;
@@ -443,7 +528,13 @@ export interface AccountingTransactionType {
443
528
  }
444
529
  export interface AuditAction {
445
530
  actionType: string;
531
+ actorEmail: string | null;
446
532
  actorId: string | null;
533
+ actorLabel: string | null;
534
+ actorName: string | null;
535
+ actorOrganizationId: string | null;
536
+ actorOrganizationName: string | null;
537
+ actorOrganizationType: AuditActorOrganizationType | null;
447
538
  actorType: AuditActionActorType;
448
539
  apiVersion: string;
449
540
  createdAt: Generated<Timestamp>;
@@ -451,14 +542,17 @@ export interface AuditAction {
451
542
  message: string | null;
452
543
  parentActionId: string | null;
453
544
  payload: Json | null;
545
+ publicEventProjectedAt: Timestamp | null;
454
546
  requestId: string | null;
455
547
  rootEntityId: string | null;
456
548
  rootEntityType: string | null;
457
549
  source: string | null;
550
+ sourceType: AuditSourceType | null;
458
551
  tenantId: string;
459
552
  traceId: string | null;
460
553
  }
461
554
  export interface AuditEffect {
555
+ accountingRelevant: Generated<boolean>;
462
556
  actionId: string;
463
557
  claimedAt: Timestamp | null;
464
558
  claimedBy: string | null;
@@ -496,8 +590,16 @@ export interface AuditEffectAttempt {
496
590
  workerId: string | null;
497
591
  }
498
592
  export interface AuditJournalDelta {
593
+ accountCategoryIdAfter: string | null;
594
+ accountCategoryIdBefore: string | null;
595
+ accountCategoryNameAfter: string | null;
596
+ accountCategoryNameBefore: string | null;
597
+ accountClassificationAfter: string | null;
598
+ accountClassificationBefore: string | null;
499
599
  accountIdAfter: string | null;
500
600
  accountIdBefore: string | null;
601
+ accountNameAfter: string | null;
602
+ accountNameBefore: string | null;
501
603
  actionId: string;
502
604
  apiVersion: string;
503
605
  attachedToOwnerStatementIdAfter: string | null;
@@ -506,10 +608,14 @@ export interface AuditJournalDelta {
506
608
  centTotalBefore: Int8 | null;
507
609
  changedAt: Generated<Timestamp>;
508
610
  changedFields: Generated<string[]>;
611
+ currencyAfter: string | null;
612
+ currencyBefore: string | null;
509
613
  diffJson: Json | null;
510
614
  effectId: string | null;
511
615
  id: Generated<string>;
512
616
  journalEntryId: string;
617
+ ledgerAfter: string | null;
618
+ ledgerBefore: string | null;
513
619
  listingOwnershipPeriodIdAfter: string | null;
514
620
  listingOwnershipPeriodIdBefore: string | null;
515
621
  mutationId: string | null;
@@ -525,21 +631,119 @@ export interface AuditJournalDelta {
525
631
  txnAtBefore: Timestamp | null;
526
632
  }
527
633
  export interface AuditMutation {
634
+ accountingRelevant: Generated<boolean>;
528
635
  actionId: string;
636
+ captureOrder: Generated<Int8 | null>;
529
637
  changeRecord: Json;
530
638
  createdAt: Generated<Timestamp>;
531
639
  effectId: string | null;
532
640
  id: Generated<string>;
533
641
  op: string;
642
+ publicChanges: Generated<Json>;
643
+ publicOutcome: Json | null;
534
644
  rootEntityId: string | null;
535
645
  rootEntityType: string | null;
536
646
  subjectId: string;
537
647
  subjectType: string;
538
648
  tenantId: string;
539
649
  }
650
+ export interface AuditPublicEvent {
651
+ accountingStatus: AuditPublicEventAccountingStatus;
652
+ actionCode: string;
653
+ actionId: string;
654
+ actionSummary: string;
655
+ actorEmail: string | null;
656
+ actorId: string | null;
657
+ actorLabel: string | null;
658
+ actorName: string | null;
659
+ actorOrganizationId: string | null;
660
+ actorOrganizationName: string | null;
661
+ actorOrganizationType: AuditActorOrganizationType | null;
662
+ actorType: AuditActionActorType;
663
+ affectedAccountIds: Generated<string[]>;
664
+ attemptedEntityChanges: Generated<Json>;
665
+ blockedBy: Generated<Json>;
666
+ changedEntityTypes: Generated<string[]>;
667
+ changedPaths: Generated<string[]>;
668
+ entityChanges: Generated<Json>;
669
+ entityName: string | null;
670
+ entityUniqueRef: string | null;
671
+ hasChanges: Generated<boolean>;
672
+ id: Generated<string>;
673
+ netEffect: Generated<Json>;
674
+ occurredAt: Timestamp;
675
+ operation: AuditPublicEventOperation;
676
+ projectedAt: Generated<Timestamp>;
677
+ projectionFingerprint: string;
678
+ projectionVersion: Generated<number>;
679
+ requestId: string | null;
680
+ recovery: Generated<Json>;
681
+ revision: Generated<number>;
682
+ rootEntityId: string;
683
+ rootEntityType: string;
684
+ sourceType: AuditSourceType;
685
+ teamName: string;
686
+ teamUniqueRef: string | null;
687
+ tenantId: string;
688
+ updatedAt: Generated<Timestamp>;
689
+ }
690
+ export interface AuditPublicEventEntryChange {
691
+ accountIdAfter: string | null;
692
+ accountIdBefore: string | null;
693
+ afterSnapshot: Json | null;
694
+ beforeSnapshot: Json | null;
695
+ causedBy: Json | null;
696
+ changedAt: Timestamp;
697
+ changedFields: Generated<string[]>;
698
+ eventId: string;
699
+ eventRevision: number;
700
+ id: string;
701
+ journalEntryId: string;
702
+ operation: AuditJournalDeltaOperation;
703
+ tenantId: string;
704
+ }
705
+ export interface AuditPublicEventProjectionState {
706
+ cutoverAt: Generated<Timestamp>;
707
+ lastRecoveredAt: Timestamp | null;
708
+ retainedFrom: Timestamp | null;
709
+ singleton: Generated<boolean>;
710
+ }
711
+ export interface BillingListingFact {
712
+ activeListings: number;
713
+ billingPartnerId: string | null;
714
+ dataRegion: string;
715
+ effectiveAt: Timestamp;
716
+ id: Generated<string>;
717
+ reconciliation: Generated<boolean>;
718
+ recordedAt: Generated<Timestamp>;
719
+ sourceId: string;
720
+ sourceRevision: Int8 | null;
721
+ sourceType: BillingListingFactSourceType;
722
+ tenantId: string;
723
+ tenantName: string;
724
+ }
725
+ export interface BillingListingFactReadiness {
726
+ availableFrom: Timestamp | null;
727
+ legacyGapCount: number | null;
728
+ legacyImportedRows: number | null;
729
+ parityConfirmed: Generated<boolean>;
730
+ readyAt: Timestamp | null;
731
+ singleton: Generated<boolean>;
732
+ verifiedMonth: Timestamp | null;
733
+ }
540
734
  export interface CoreActiveStatus {
541
735
  name: string;
542
736
  }
737
+ export interface CoreAsyncOperationResult {
738
+ createdAt: Generated<Timestamp>;
739
+ errorMessage: string | null;
740
+ operationId: string;
741
+ result: Json | null;
742
+ status: Generated<CoreAsyncOperationResultStatus>;
743
+ tenantId: string;
744
+ type: CoreOperationType;
745
+ updatedAt: Generated<Timestamp>;
746
+ }
543
747
  export interface CoreChange {
544
748
  automationId: string | null;
545
749
  changeData: Json | null;
@@ -591,6 +795,32 @@ export interface CoreChangeSyncType {
591
795
  export interface CoreChangeType {
592
796
  name: string;
593
797
  }
798
+ export interface CoreCsvOperationResult {
799
+ connectionId: string;
800
+ createdAt: Generated<Timestamp>;
801
+ errorMessage: string | null;
802
+ kind: CoreCsvOperationResultKind;
803
+ result: Json | null;
804
+ status: Generated<CoreCsvOperationResultStatus>;
805
+ syncId: string;
806
+ tenantId: string;
807
+ updatedAt: Generated<Timestamp>;
808
+ }
809
+ export interface CoreExportJob {
810
+ createdAt: Generated<Timestamp>;
811
+ errorMessage: string | null;
812
+ fileId: string;
813
+ filename: string;
814
+ finishedAt: Timestamp | null;
815
+ format: CoreExportJobFormat;
816
+ id: string;
817
+ payload: Json;
818
+ startedAt: Timestamp | null;
819
+ status: Generated<CoreOperationStatus>;
820
+ taskId: CoreExportJobTaskId;
821
+ tenantId: string;
822
+ updatedAt: Generated<Timestamp>;
823
+ }
594
824
  export interface CoreFlow {
595
825
  appId: string;
596
826
  description: string | null;
@@ -607,6 +837,64 @@ export interface CoreFlow {
607
837
  uniqueRef: string;
608
838
  useGlobalMapping: Generated<boolean>;
609
839
  }
840
+ export interface CoreFlowEvent {
841
+ attempts: Generated<number>;
842
+ availableAt: Generated<Timestamp>;
843
+ claimedAt: Timestamp | null;
844
+ claimedBy: string | null;
845
+ completedAt: Timestamp | null;
846
+ createdAt: Generated<Timestamp>;
847
+ data: Generated<Json>;
848
+ entityId: string;
849
+ entityType: string;
850
+ eventType: string;
851
+ id: Generated<string>;
852
+ lastErrorCode: string | null;
853
+ lastErrorDetails: Json | null;
854
+ maxAttempts: Generated<number>;
855
+ requiresSensitiveInput: Generated<boolean>;
856
+ status: Generated<CoreFlowEventStatus>;
857
+ syncId: string | null;
858
+ targetConnectionId: string | null;
859
+ targetFlowId: string | null;
860
+ tenantId: string;
861
+ updatedAt: Generated<Timestamp>;
862
+ }
863
+ export interface CoreFlowEventDelivery {
864
+ attempts: Generated<number>;
865
+ availableAt: Generated<Timestamp>;
866
+ claimedAt: Timestamp | null;
867
+ claimedBy: string | null;
868
+ completedAt: Timestamp | null;
869
+ connectionId: string;
870
+ createdAt: Generated<Timestamp>;
871
+ eventId: string;
872
+ flowId: string;
873
+ id: Generated<string>;
874
+ lastErrorCode: string | null;
875
+ lastErrorDetails: Json | null;
876
+ maxAttempts: Generated<number>;
877
+ status: Generated<CoreFlowEventStatus>;
878
+ tenantId: string;
879
+ triggerRunId: string | null;
880
+ updatedAt: Generated<Timestamp>;
881
+ }
882
+ export interface CoreFlowEventOperation {
883
+ action: CoreFlowEventOperationAction;
884
+ actor: string;
885
+ createdAt: Generated<Timestamp>;
886
+ eventId: string;
887
+ id: Generated<string>;
888
+ previousStatus: CoreFlowEventStatus;
889
+ reasonCode: string;
890
+ }
891
+ export interface CoreFlowEventSecret {
892
+ createdAt: Generated<Timestamp>;
893
+ encryptedPayload: string;
894
+ encryptionKeyId: string;
895
+ eventId: string;
896
+ expiresAt: Timestamp;
897
+ }
610
898
  export interface CoreFlowMapping {
611
899
  accountId: string | null;
612
900
  bookingChannelId: string | null;
@@ -645,6 +933,56 @@ export interface CoreIssueMessageOverwrite {
645
933
  pattern: string;
646
934
  updatedAt: Generated<Timestamp | null>;
647
935
  }
936
+ export interface CoreOperation {
937
+ createdAt: Generated<Timestamp>;
938
+ failureCode: string | null;
939
+ failureMessage: string | null;
940
+ finishedAt: Timestamp | null;
941
+ id: Generated<string>;
942
+ initiatedByUserId: string | null;
943
+ publicIdFormat: Generated<CoreOperationPublicIdFormat>;
944
+ retainUntil: Timestamp | null;
945
+ sourceVersion: Generated<Int8>;
946
+ startedAt: Timestamp | null;
947
+ status: Generated<CoreOperationStatus>;
948
+ tenantId: string;
949
+ type: CoreOperationType;
950
+ updatedAt: Generated<Timestamp>;
951
+ }
952
+ export interface CoreOperationBackfill {
953
+ completedAt: Timestamp | null;
954
+ createdAt: Generated<Timestamp>;
955
+ name: string;
956
+ updatedAt: Generated<Timestamp>;
957
+ }
958
+ export interface CoreOperationProjectionOutbox {
959
+ attempts: Generated<number>;
960
+ availableAt: Generated<Timestamp>;
961
+ createdAt: Generated<Timestamp>;
962
+ id: Generated<string>;
963
+ lastError: string | null;
964
+ operationId: string;
965
+ publishedAt: Timestamp | null;
966
+ sourceVersion: Int8;
967
+ }
968
+ export interface CoreOperationResource {
969
+ createdAt: Generated<Timestamp>;
970
+ isPrimary: Generated<boolean>;
971
+ operationId: string;
972
+ resourceId: string;
973
+ resourceType: CoreOperationResourceType;
974
+ role: CoreOperationResourceRole;
975
+ }
976
+ export interface CoreOperationSource {
977
+ finishedAt: Timestamp | null;
978
+ operationId: string;
979
+ required: Generated<boolean>;
980
+ sourceId: string;
981
+ sourceType: CoreOperationSourceType;
982
+ sourceVersion: Generated<Int8>;
983
+ startedAt: Timestamp | null;
984
+ status: Generated<CoreOperationStatus>;
985
+ }
648
986
  export interface CoreSync {
649
987
  automationId: string | null;
650
988
  connectionId: string | null;
@@ -662,6 +1000,7 @@ export interface CoreSync {
662
1000
  type: string;
663
1001
  updatedAt: Generated<Timestamp>;
664
1002
  userId: string | null;
1003
+ webhookVersion: Generated<Int8>;
665
1004
  }
666
1005
  export interface CoreSyncStatus {
667
1006
  name: string;
@@ -786,6 +1125,246 @@ export interface HdbCatalogHdbVersion {
786
1125
  upgradedOn: Timestamp;
787
1126
  version: string;
788
1127
  }
1128
+ export interface HealthAccountingIntegrityCase {
1129
+ actionability: HealthAccountingIntegrityActionability;
1130
+ actual: Json;
1131
+ assignedAt: Timestamp | null;
1132
+ assignedTo: string | null;
1133
+ caseKey: string;
1134
+ code: string;
1135
+ confidence: HealthAccountingIntegrityConfidence;
1136
+ contentHash: string;
1137
+ createdAt: Generated<Timestamp>;
1138
+ dataRegion: string;
1139
+ definitionVersion: number;
1140
+ evidence: Json;
1141
+ evidenceComplete: boolean;
1142
+ expected: Json;
1143
+ firstSeenAt: Timestamp;
1144
+ gitRevision: string;
1145
+ historicalIssueRefs: Json;
1146
+ id: Generated<string>;
1147
+ impact: Json;
1148
+ lastChangedAt: Timestamp;
1149
+ lastSeenAt: Timestamp;
1150
+ lockAssessment: Json;
1151
+ portalUrls: Json;
1152
+ repair: Json;
1153
+ resolutionClassification: HealthAccountingIntegrityResolutionClassification;
1154
+ resolvedAt: Timestamp | null;
1155
+ reviewedAt: Timestamp | null;
1156
+ reviewedBy: string | null;
1157
+ reviewRationale: string | null;
1158
+ reviewStatus: Generated<HealthAccountingIntegrityReviewStatus>;
1159
+ rootCause: string;
1160
+ runId: string;
1161
+ severity: HealthAccountingIntegritySeverity;
1162
+ status: HealthAccountingIntegrityCaseStatus;
1163
+ tenantId: string;
1164
+ title: string;
1165
+ updatedAt: Generated<Timestamp>;
1166
+ urgency: HealthAccountingIntegrityUrgency;
1167
+ verification: Json;
1168
+ version: Generated<Int8>;
1169
+ }
1170
+ export interface HealthAccountingIntegrityDelivery {
1171
+ attempts: Generated<number>;
1172
+ caseId: string | null;
1173
+ channel: HealthAccountingIntegrityDeliveryChannel;
1174
+ claimedAt: Timestamp | null;
1175
+ claimId: string | null;
1176
+ createdAt: Generated<Timestamp>;
1177
+ dedupeKey: string;
1178
+ deliveredAt: Timestamp | null;
1179
+ eventType: string;
1180
+ id: Generated<string>;
1181
+ lastError: Json | null;
1182
+ nextAttemptAt: Generated<Timestamp>;
1183
+ payload: Json;
1184
+ result: Json | null;
1185
+ runId: string;
1186
+ status: Generated<HealthAccountingIntegrityDeliveryStatus>;
1187
+ updatedAt: Generated<Timestamp>;
1188
+ }
1189
+ export interface HealthAccountingIntegrityOperatorEvent {
1190
+ actorId: string;
1191
+ caseId: string | null;
1192
+ caseVersion: Int8 | null;
1193
+ client: string;
1194
+ createdAt: Generated<Timestamp>;
1195
+ id: Generated<string>;
1196
+ idempotencyKey: string;
1197
+ payload: Json;
1198
+ planId: string | null;
1199
+ rationale: string | null;
1200
+ requestId: string;
1201
+ stageId: string | null;
1202
+ targetId: string | null;
1203
+ type: string;
1204
+ }
1205
+ export interface HealthAccountingIntegrityRepairPlan {
1206
+ canceledAt: Timestamp | null;
1207
+ code: string;
1208
+ completedAt: Timestamp | null;
1209
+ createdAt: Generated<Timestamp>;
1210
+ createdBy: string;
1211
+ dataRegion: string;
1212
+ environment: string;
1213
+ gitRevision: string;
1214
+ id: Generated<string>;
1215
+ linearRef: string | null;
1216
+ recipeVersion: number;
1217
+ status: Generated<HealthAccountingIntegrityRepairPlanStatus>;
1218
+ title: string;
1219
+ updatedAt: Generated<Timestamp>;
1220
+ }
1221
+ export interface HealthAccountingIntegrityRepairStage {
1222
+ applyResult: Json | null;
1223
+ approvalRef: string | null;
1224
+ approvedAt: Timestamp | null;
1225
+ approvedBy: string | null;
1226
+ completedAt: Timestamp | null;
1227
+ createdAt: Generated<Timestamp>;
1228
+ dryRunResult: Json | null;
1229
+ id: Generated<string>;
1230
+ limits: Json;
1231
+ manifest: Json;
1232
+ manifestHash: string;
1233
+ ordinal: number;
1234
+ planId: string;
1235
+ scopeType: HealthAccountingIntegrityRepairScopeType;
1236
+ startedAt: Timestamp | null;
1237
+ status: Generated<HealthAccountingIntegrityRepairStageStatus>;
1238
+ tenantId: string;
1239
+ updatedAt: Generated<Timestamp>;
1240
+ verificationResult: Json | null;
1241
+ }
1242
+ export interface HealthAccountingIntegrityRepairTarget {
1243
+ action: Json;
1244
+ applyResult: Json | null;
1245
+ auditActionId: string | null;
1246
+ beforeHash: string;
1247
+ beforeState: Json;
1248
+ caseContentHash: string;
1249
+ caseId: string;
1250
+ caseVersion: Int8;
1251
+ completedAt: Timestamp | null;
1252
+ createdAt: Generated<Timestamp>;
1253
+ effectPlan: Json;
1254
+ expectedResult: Json;
1255
+ id: Generated<string>;
1256
+ idempotencyKey: string;
1257
+ lockAssessment: Json;
1258
+ ordinal: number;
1259
+ stageId: string;
1260
+ startedAt: Timestamp | null;
1261
+ status: Generated<HealthAccountingIntegrityRepairTargetStatus>;
1262
+ targetKey: string;
1263
+ tenantId: string;
1264
+ updatedAt: Generated<Timestamp>;
1265
+ verificationResult: Json | null;
1266
+ }
1267
+ export interface HealthAccountingIntegrityRepairTransition {
1268
+ actor: string;
1269
+ createdAt: Generated<Timestamp>;
1270
+ id: Generated<string>;
1271
+ payload: Json;
1272
+ planId: string;
1273
+ stageId: string | null;
1274
+ targetId: string | null;
1275
+ type: HealthAccountingIntegrityRepairTransitionType;
1276
+ }
1277
+ export interface HealthAccountingIntegrityRun {
1278
+ caseCount: Generated<Int8>;
1279
+ changedCaseCount: Generated<Int8>;
1280
+ code: string;
1281
+ completedAt: Timestamp | null;
1282
+ createdAt: Generated<Timestamp>;
1283
+ dataRegion: string;
1284
+ definitionArtifactHash: string | null;
1285
+ definitionTemplateId: string | null;
1286
+ definitionTemplateVersion: number | null;
1287
+ definitionVersion: number;
1288
+ definitionVersionId: string | null;
1289
+ environment: string;
1290
+ error: Json | null;
1291
+ evaluationId: string;
1292
+ findingRowCount: Generated<Int8>;
1293
+ gitRevision: string;
1294
+ id: Generated<string>;
1295
+ openedCaseCount: Generated<Int8>;
1296
+ operatorDefinitionVersion: number | null;
1297
+ reopenedCaseCount: Generated<Int8>;
1298
+ resolvedCaseCount: Generated<Int8>;
1299
+ resolvesCases: Generated<boolean>;
1300
+ rowsScanned: Generated<Int8>;
1301
+ scopeTenantIds: string[] | null;
1302
+ shardKey: Generated<string>;
1303
+ startedAt: Timestamp;
1304
+ status: HealthAccountingIntegrityRunStatus;
1305
+ unchangedCaseCount: Generated<Int8>;
1306
+ updatedAt: Generated<Timestamp>;
1307
+ }
1308
+ export interface HealthAccountingIntegrityTransition {
1309
+ caseId: string;
1310
+ caseVersion: Int8;
1311
+ createdAt: Generated<Timestamp>;
1312
+ id: Generated<string>;
1313
+ payload: Json;
1314
+ runId: string;
1315
+ type: HealthAccountingIntegrityTransitionType;
1316
+ }
1317
+ export interface HealthReservationIssueSnapshot {
1318
+ computedAt: Timestamp | null;
1319
+ computedVersion: Generated<Int8>;
1320
+ createdAt: Generated<Timestamp>;
1321
+ dirtyAt: Generated<Timestamp>;
1322
+ dirtyVersion: Generated<Int8>;
1323
+ issues: Generated<Json>;
1324
+ reservationId: string;
1325
+ tenantId: string;
1326
+ updatedAt: Generated<Timestamp>;
1327
+ version: Generated<Int8>;
1328
+ }
1329
+ export interface HealthTenantIssue {
1330
+ affected: number;
1331
+ category: HealthTenantIssueCategory;
1332
+ code: HealthTenantIssueCode;
1333
+ contentHash: string;
1334
+ context: Json;
1335
+ createdAt: Generated<Timestamp>;
1336
+ firstSeenAt: Timestamp;
1337
+ id: Generated<string>;
1338
+ lastChangedAt: Timestamp;
1339
+ message: string;
1340
+ openedAt: Timestamp;
1341
+ resolvedAt: Timestamp | null;
1342
+ severity: HealthTenantIssueSeverity;
1343
+ snapshotVersion: Int8;
1344
+ status: HealthTenantIssueStatus;
1345
+ tenantId: string;
1346
+ updatedAt: Generated<Timestamp>;
1347
+ version: Int8;
1348
+ }
1349
+ export interface HealthTenantIssueRuleState {
1350
+ code: HealthTenantIssueCode;
1351
+ computedAt: Timestamp | null;
1352
+ computedVersion: Generated<Int8>;
1353
+ createdAt: Generated<Timestamp>;
1354
+ dirtyAt: Timestamp;
1355
+ dirtyVersion: Generated<Int8>;
1356
+ tenantId: string;
1357
+ updatedAt: Generated<Timestamp>;
1358
+ }
1359
+ export interface HealthTenantIssueSnapshot {
1360
+ computedAt: Timestamp | null;
1361
+ contentHash: string | null;
1362
+ createdAt: Generated<Timestamp>;
1363
+ dirtyAt: Generated<Timestamp>;
1364
+ tenantId: string;
1365
+ updatedAt: Generated<Timestamp>;
1366
+ version: Generated<Int8>;
1367
+ }
789
1368
  export interface PublicAccountCollection {
790
1369
  automationId: string | null;
791
1370
  connectionId: string;
@@ -949,6 +1528,36 @@ export interface PublicConnection {
949
1528
  uniqueRef: string | null;
950
1529
  updatedAt: Generated<Timestamp | null>;
951
1530
  version: number | null;
1531
+ webhookVersion: Generated<Int8>;
1532
+ }
1533
+ export interface PublicConnectionRoute {
1534
+ connectionId: string;
1535
+ createdAt: Generated<Timestamp>;
1536
+ tenantId: string;
1537
+ updatedAt: Generated<Timestamp>;
1538
+ }
1539
+ export interface PublicControlPlaneOutbox {
1540
+ aggregateId: string;
1541
+ aggregateType: string;
1542
+ attempts: Generated<number>;
1543
+ createdAt: Generated<Timestamp>;
1544
+ dataRegion: string | null;
1545
+ eventType: string;
1546
+ eventVersion: number;
1547
+ id: Generated<string>;
1548
+ lastError: string | null;
1549
+ payload: Generated<Json>;
1550
+ publishedAt: Timestamp | null;
1551
+ }
1552
+ export interface PublicControlPlaneProjectionEvent {
1553
+ aggregateId: string;
1554
+ aggregateType: string;
1555
+ appliedAt: Generated<Timestamp>;
1556
+ dataRegion: string;
1557
+ eventId: string;
1558
+ eventType: string;
1559
+ eventVersion: number;
1560
+ payload: Generated<Json>;
952
1561
  }
953
1562
  export interface PublicCurrency {
954
1563
  name: string;
@@ -1049,6 +1658,36 @@ export interface PublicLatestDuplicateEmails {
1049
1658
  name: string | null;
1050
1659
  status: string | null;
1051
1660
  }
1661
+ export interface PublicLineClassificationUsage {
1662
+ appId: string | null;
1663
+ createdAt: Generated<Timestamp>;
1664
+ firstSeenAt: Generated<Timestamp>;
1665
+ kind: string;
1666
+ lastError: string | null;
1667
+ lastSeenAt: Generated<Timestamp>;
1668
+ mappingStatus: string | null;
1669
+ name: string;
1670
+ reportAttempts: Generated<number>;
1671
+ reportedRevision: Generated<number>;
1672
+ revision: Generated<number>;
1673
+ tenantId: string;
1674
+ updatedAt: Generated<Timestamp>;
1675
+ }
1676
+ export interface PublicLineClassificationUsageBackfill {
1677
+ completedAt: Timestamp | null;
1678
+ cursorId: string | null;
1679
+ source: string;
1680
+ updatedAt: Generated<Timestamp>;
1681
+ }
1682
+ export interface PublicLineClassificationUsageCapture {
1683
+ createdAt: Generated<Timestamp>;
1684
+ firstSeenAt: Timestamp | null;
1685
+ id: Generated<string>;
1686
+ kind: string;
1687
+ lastSeenAt: Timestamp | null;
1688
+ name: string;
1689
+ tenantId: string;
1690
+ }
1052
1691
  export interface PublicListing {
1053
1692
  address: string | null;
1054
1693
  addressCity: string | null;
@@ -1089,6 +1728,7 @@ export interface PublicListing {
1089
1728
  title: string | null;
1090
1729
  uniqueRef: string | null;
1091
1730
  updatedAt: Generated<Timestamp | null>;
1731
+ webhookVersion: Generated<Int8>;
1092
1732
  }
1093
1733
  export interface PublicListingCollection {
1094
1734
  createdAt: Generated<Timestamp>;
@@ -1203,6 +1843,7 @@ export interface PublicOwnerStatement {
1203
1843
  tenantId: string;
1204
1844
  uniqueRef: string | null;
1205
1845
  updatedAt: Generated<Timestamp>;
1846
+ webhookVersion: Generated<Int8>;
1206
1847
  }
1207
1848
  export interface PublicOwnerStatementLayout {
1208
1849
  automationId: string | null;
@@ -1360,6 +2001,24 @@ export interface PublicPaymentStatus {
1360
2001
  export interface PublicPaymentType {
1361
2002
  name: string;
1362
2003
  }
2004
+ export interface PublicPlaidConnectSession {
2005
+ connectionId: string | null;
2006
+ createdAt: Generated<Timestamp>;
2007
+ environment: string;
2008
+ errorCode: string | null;
2009
+ errorRetryable: boolean | null;
2010
+ expiresAt: Timestamp;
2011
+ id: Generated<string>;
2012
+ itemId: string | null;
2013
+ leaseExpiresAt: Timestamp | null;
2014
+ linkSessionId: string | null;
2015
+ mode: PublicPlaidConnectMode;
2016
+ result: Json | null;
2017
+ status: Generated<PublicPlaidConnectStatus>;
2018
+ syncId: string | null;
2019
+ tenantId: string;
2020
+ updatedAt: Generated<Timestamp>;
2021
+ }
1363
2022
  export interface PublicRecurringFee {
1364
2023
  bookingChannelsFilter: string[] | null;
1365
2024
  createdAt: Generated<Timestamp>;
@@ -1418,6 +2077,7 @@ export interface PublicRecurringFeeType {
1418
2077
  name: string;
1419
2078
  }
1420
2079
  export interface PublicReservation {
2080
+ adults: number | null;
1421
2081
  bookedAt: Generated<Timestamp | null>;
1422
2082
  bookerName: string | null;
1423
2083
  bookingPlatform: string | null;
@@ -1436,6 +2096,7 @@ export interface PublicReservation {
1436
2096
  channelId: string | null;
1437
2097
  checkIn: Timestamp | null;
1438
2098
  checkOut: Timestamp | null;
2099
+ children: number | null;
1439
2100
  confirmationCode: string | null;
1440
2101
  connectionId: string | null;
1441
2102
  createdAt: Generated<Timestamp | null>;
@@ -1474,6 +2135,7 @@ export interface PublicReservation {
1474
2135
  uniqueRef2: string | null;
1475
2136
  updatedAt: Generated<Timestamp | null>;
1476
2137
  userdata: Generated<Json | null>;
2138
+ webhookVersion: Generated<Int8>;
1477
2139
  }
1478
2140
  export interface PublicReservationStatus {
1479
2141
  name: string;
@@ -1614,6 +2276,9 @@ export interface PublicTenant {
1614
2276
  addressCountry: string | null;
1615
2277
  addressLine1: string | null;
1616
2278
  addressPostcode: string | null;
2279
+ /**
2280
+ * JSON column for app-owned tenant settings exposed through APIs.
2281
+ */
1617
2282
  appSettings: Json | null;
1618
2283
  billingAddressData: Json | null;
1619
2284
  billingAddressId: string | null;
@@ -1642,6 +2307,9 @@ export interface PublicTenant {
1642
2307
  defaultRevenueRecognition: string | null;
1643
2308
  email: string | null;
1644
2309
  featureFlags: Generated<Json | null>;
2310
+ /**
2311
+ * JSON column for explicit VRPilot onboarding guide state.
2312
+ */
1645
2313
  guideOnboarding: Json | null;
1646
2314
  historicalStatementsImportedAt: Timestamp | null;
1647
2315
  id: Generated<string>;
@@ -1652,9 +2320,13 @@ export interface PublicTenant {
1652
2320
  isTest: Generated<boolean | null>;
1653
2321
  logo: string | null;
1654
2322
  longTermStayNights: number | null;
2323
+ migratedAt: Timestamp | null;
1655
2324
  migratedFromTenantId: string | null;
2325
+ migratedToRegion: string | null;
2326
+ migrationStatus: Generated<string>;
1656
2327
  name: string;
1657
2328
  ownerPortalShowDraftStatements: boolean | null;
2329
+ partnerDeniedPermissions: Generated<string[]>;
1658
2330
  partnerId: Generated<string | null>;
1659
2331
  /**
1660
2332
  * JSON column to hold team settings like "owner_portal_show_reservation_totals" or "owner_portal_show_draft_statements
@@ -1673,8 +2345,8 @@ export interface PublicTenant {
1673
2345
  supportEmail: string | null;
1674
2346
  supportPhone: string | null;
1675
2347
  svixEndpoints: boolean | null;
1676
- trialUntil: Timestamp | null;
1677
2348
  type: Generated<string | null>;
2349
+ uniqueRef: string | null;
1678
2350
  updatedAt: Generated<Timestamp | null>;
1679
2351
  website: string | null;
1680
2352
  }
@@ -1682,7 +2354,9 @@ export interface PublicTenantUser {
1682
2354
  createdAt: Generated<Timestamp | null>;
1683
2355
  id: Generated<string>;
1684
2356
  lastInvitedAt: Timestamp | null;
2357
+ managedTeamAccess: Generated<"all" | "assigned">;
1685
2358
  notificationPreferences: Generated<Json | null>;
2359
+ permissionBundles: Generated<string[]>;
1686
2360
  role: Generated<string | null>;
1687
2361
  status: Generated<string | null>;
1688
2362
  tenantId: string;
@@ -1790,93 +2464,6 @@ export interface PublicWebhook {
1790
2464
  types2: string[] | null;
1791
2465
  url: string;
1792
2466
  }
1793
- export interface HealthTenantIssue {
1794
- affected: number;
1795
- category: HealthTenantIssueCategory;
1796
- code: HealthTenantIssueCode;
1797
- contentHash: string;
1798
- context: Json;
1799
- createdAt: Generated<Timestamp>;
1800
- firstSeenAt: Timestamp;
1801
- 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;
1809
- tenantId: string;
1810
- updatedAt: Generated<Timestamp>;
1811
- version: Int8;
1812
- }
1813
- export interface HealthTenantIssueSnapshot {
1814
- computedAt: Timestamp | null;
1815
- contentHash: string | null;
1816
- createdAt: Generated<Timestamp>;
1817
- dirtyAt: Generated<Timestamp>;
1818
- tenantId: string;
1819
- updatedAt: Generated<Timestamp>;
1820
- version: Generated<Int8>;
1821
- }
1822
- export interface WebhookDelivery {
1823
- apiVersion: WebhookApiVersion;
1824
- attemptCount: Generated<number>;
1825
- body: string;
1826
- claimedAt: Timestamp | null;
1827
- claimedBy: string | null;
1828
- createdAt: Generated<Timestamp>;
1829
- deliveredAt: Timestamp | null;
1830
- eventType: WebhookEventType;
1831
- failedAt: Timestamp | null;
1832
- id: Generated<string>;
1833
- lastErrorCode: string | null;
1834
- nextAttemptAt: Generated<Timestamp>;
1835
- resourceId: string | null;
1836
- resourceType: WebhookResourceType | null;
1837
- sourceEventKey: string;
1838
- sourceTenantId: string | null;
1839
- status: Generated<WebhookDeliveryStatus>;
1840
- subscriptionId: string;
1841
- updatedAt: Generated<Timestamp>;
1842
- }
1843
- export interface WebhookDeliveryAttempt {
1844
- attemptNumber: number;
1845
- createdAt: Generated<Timestamp>;
1846
- deliveryId: string;
1847
- durationMs: number;
1848
- errorClass: string | null;
1849
- finishedAt: Timestamp;
1850
- id: Generated<string>;
1851
- responseExcerpt: string | null;
1852
- responseStatus: number | null;
1853
- startedAt: Timestamp;
1854
- subscriptionSecretId: string;
1855
- }
1856
- export interface WebhookSubscription {
1857
- apiVersion: WebhookApiVersion;
1858
- createdAt: Generated<Timestamp>;
1859
- description: string | null;
1860
- disabledAt: Timestamp | null;
1861
- eventTypes: WebhookSubscriptionEventType[];
1862
- id: Generated<string>;
1863
- ownerTenantId: string;
1864
- scope: WebhookSubscriptionScope;
1865
- status: Generated<WebhookSubscriptionStatus>;
1866
- updatedAt: Generated<Timestamp>;
1867
- url: string;
1868
- verifiedAt: Timestamp | null;
1869
- }
1870
- export interface WebhookSubscriptionSecret {
1871
- activeFrom: Generated<Timestamp>;
1872
- createdAt: Generated<Timestamp>;
1873
- encryptedSecret: string;
1874
- encryptionKeyId: string;
1875
- expiresAt: Timestamp | null;
1876
- id: Generated<string>;
1877
- revokedAt: Timestamp | null;
1878
- subscriptionId: string;
1879
- }
1880
2467
  export interface TrackingEvent {
1881
2468
  createdAt: Generated<Timestamp>;
1882
2469
  id: Generated<string>;
@@ -1944,6 +2531,79 @@ export interface TrackingMonitorConnection {
1944
2531
  export interface TrackingMonitorConnectionState {
1945
2532
  name: string;
1946
2533
  }
2534
+ export interface WebhookDelivery {
2535
+ apiVersion: WebhookApiVersion;
2536
+ attemptCount: Generated<number>;
2537
+ body: string;
2538
+ claimedAt: Timestamp | null;
2539
+ claimedBy: string | null;
2540
+ createdAt: Generated<Timestamp>;
2541
+ deliveredAt: Timestamp | null;
2542
+ eventType: WebhookEventType;
2543
+ failedAt: Timestamp | null;
2544
+ id: Generated<string>;
2545
+ lastErrorCode: string | null;
2546
+ nextAttemptAt: Generated<Timestamp>;
2547
+ resourceId: string | null;
2548
+ resourceType: WebhookResourceType | null;
2549
+ retryAttemptCount: Generated<number>;
2550
+ sourceEventKey: string;
2551
+ sourceTenantId: string | null;
2552
+ status: Generated<WebhookDeliveryStatus>;
2553
+ subscriptionId: string;
2554
+ subscriptionRevision: Int8;
2555
+ updatedAt: Generated<Timestamp>;
2556
+ }
2557
+ export interface WebhookDeliveryAttempt {
2558
+ attemptNumber: number;
2559
+ createdAt: Generated<Timestamp>;
2560
+ deliveryId: string;
2561
+ durationMs: number;
2562
+ errorClass: string | null;
2563
+ finishedAt: Timestamp;
2564
+ id: Generated<string>;
2565
+ responseExcerpt: string | null;
2566
+ responseStatus: number | null;
2567
+ startedAt: Timestamp;
2568
+ }
2569
+ export interface WebhookDeliveryAttemptSecret {
2570
+ deliveryAttemptId: string;
2571
+ position: string;
2572
+ subscriptionSecretId: string;
2573
+ }
2574
+ export interface WebhookRateLimit {
2575
+ key: string;
2576
+ ownerTenantId: string;
2577
+ requestCount: number;
2578
+ windowStartedAt: Timestamp;
2579
+ }
2580
+ export interface WebhookSubscription {
2581
+ apiVersion: WebhookApiVersion;
2582
+ createdAt: Generated<Timestamp>;
2583
+ description: string | null;
2584
+ disabledAt: Timestamp | null;
2585
+ eventTypes: ArrayType<WebhookSubscriptionEventType>;
2586
+ id: Generated<string>;
2587
+ ownerTenantId: string;
2588
+ revision: Generated<Int8>;
2589
+ scope: WebhookSubscriptionScope;
2590
+ status: Generated<WebhookSubscriptionStatus>;
2591
+ updatedAt: Generated<Timestamp>;
2592
+ url: string;
2593
+ verifiedAt: Timestamp | null;
2594
+ }
2595
+ export interface WebhookSubscriptionSecret {
2596
+ activeFrom: Generated<Timestamp>;
2597
+ createdAt: Generated<Timestamp>;
2598
+ encryptedSecret: string;
2599
+ encryptionKeyId: string;
2600
+ expiresAt: Timestamp | null;
2601
+ id: Generated<string>;
2602
+ reencryptionFailedAt: Timestamp | null;
2603
+ reencryptionFailureCode: string | null;
2604
+ revokedAt: Timestamp | null;
2605
+ subscriptionId: string;
2606
+ }
1947
2607
  export interface DB {
1948
2608
  "accounting.account": AccountingAccount;
1949
2609
  "accounting.accountAssignment": AccountingAccountAssignment;
@@ -1951,10 +2611,10 @@ export interface DB {
1951
2611
  "accounting.accountAssignmentType": AccountingAccountAssignmentType;
1952
2612
  "accounting.accountCategory": AccountingAccountCategory;
1953
2613
  "accounting.accountClassification": AccountingAccountClassification;
2614
+ "accounting.accountConnection": AccountingAccountConnection;
1954
2615
  "accounting.accountReservationLineType": AccountingAccountReservationLineType;
1955
2616
  "accounting.accountReservationRevRec": AccountingAccountReservationRevRec;
1956
2617
  "accounting.accountType": AccountingAccountType;
1957
- "accounting.bankAccount": AccountingBankAccount;
1958
2618
  "accounting.bankAccountCategory": AccountingBankAccountCategory;
1959
2619
  "accounting.bankAccountType": AccountingBankAccountType;
1960
2620
  "accounting.bankRecord": AccountingBankRecord;
@@ -1976,11 +2636,16 @@ export interface DB {
1976
2636
  "accounting.journalEntryTriggerType": AccountingJournalEntryTriggerType;
1977
2637
  "accounting.journalEntryType": AccountingJournalEntryType;
1978
2638
  "accounting.ownerStatementProjection": AccountingOwnerStatementProjection;
2639
+ "accounting.ownerStatementProjectionListingRevision": AccountingOwnerStatementProjectionListingRevision;
1979
2640
  "accounting.ownerStatementProjectionRevision": AccountingOwnerStatementProjectionRevision;
1980
2641
  "accounting.paidStatus": AccountingPaidStatus;
1981
2642
  "accounting.party": AccountingParty;
1982
2643
  "accounting.rate": AccountingRate;
1983
2644
  "accounting.rateType": AccountingRateType;
2645
+ "accounting.reservationJournalFreshnessControl": AccountingReservationJournalFreshnessControl;
2646
+ "accounting.reservationJournalInvalidation": AccountingReservationJournalInvalidation;
2647
+ "accounting.reservationJournalState": AccountingReservationJournalState;
2648
+ "accounting.reservationJournalStatementImpact": AccountingReservationJournalStatementImpact;
1984
2649
  "accounting.taxBehavior": AccountingTaxBehavior;
1985
2650
  "accounting.transaction": AccountingTransaction;
1986
2651
  "accounting.transactionAttachment": AccountingTransactionAttachment;
@@ -1991,7 +2656,13 @@ export interface DB {
1991
2656
  "audit.effectAttempt": AuditEffectAttempt;
1992
2657
  "audit.journalDelta": AuditJournalDelta;
1993
2658
  "audit.mutation": AuditMutation;
2659
+ "audit.publicEvent": AuditPublicEvent;
2660
+ "audit.publicEventEntryChange": AuditPublicEventEntryChange;
2661
+ "audit.publicEventProjectionState": AuditPublicEventProjectionState;
2662
+ "billing.listingFact": BillingListingFact;
2663
+ "billing.listingFactReadiness": BillingListingFactReadiness;
1994
2664
  "core.activeStatus": CoreActiveStatus;
2665
+ "core.asyncOperationResult": CoreAsyncOperationResult;
1995
2666
  "core.change": CoreChange;
1996
2667
  "core.changeEntityType": CoreChangeEntityType;
1997
2668
  "core.changeLink": CoreChangeLink;
@@ -1999,16 +2670,25 @@ export interface DB {
1999
2670
  "core.changeStatus": CoreChangeStatus;
2000
2671
  "core.changeSyncType": CoreChangeSyncType;
2001
2672
  "core.changeType": CoreChangeType;
2673
+ "core.csvOperationResult": CoreCsvOperationResult;
2674
+ "core.exportJob": CoreExportJob;
2002
2675
  "core.flow": CoreFlow;
2676
+ "core.flowEvent": CoreFlowEvent;
2677
+ "core.flowEventDelivery": CoreFlowEventDelivery;
2678
+ "core.flowEventOperation": CoreFlowEventOperation;
2679
+ "core.flowEventSecret": CoreFlowEventSecret;
2003
2680
  "core.flowMapping": CoreFlowMapping;
2004
2681
  "core.flowSetting": CoreFlowSetting;
2005
2682
  "core.issueMessageOverwrite": CoreIssueMessageOverwrite;
2683
+ "core.operation": CoreOperation;
2684
+ "core.operationBackfill": CoreOperationBackfill;
2685
+ "core.operationProjectionOutbox": CoreOperationProjectionOutbox;
2686
+ "core.operationResource": CoreOperationResource;
2687
+ "core.operationSource": CoreOperationSource;
2006
2688
  "core.sync": CoreSync;
2007
2689
  "core.syncStatus": CoreSyncStatus;
2008
2690
  "core.syncSubtask": CoreSyncSubtask;
2009
2691
  "core.syncType": CoreSyncType;
2010
- "health.tenantIssue": HealthTenantIssue;
2011
- "health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
2012
2692
  "hdbCatalog.eventInvocationLogs": HdbCatalogEventInvocationLogs;
2013
2693
  "hdbCatalog.eventLog": HdbCatalogEventLog;
2014
2694
  "hdbCatalog.hdbActionLog": HdbCatalogHdbActionLog;
@@ -2021,6 +2701,19 @@ export interface DB {
2021
2701
  "hdbCatalog.hdbSchemaNotifications": HdbCatalogHdbSchemaNotifications;
2022
2702
  "hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
2023
2703
  "hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
2704
+ "health.accountingIntegrityCase": HealthAccountingIntegrityCase;
2705
+ "health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
2706
+ "health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
2707
+ "health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
2708
+ "health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
2709
+ "health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;
2710
+ "health.accountingIntegrityRepairTransition": HealthAccountingIntegrityRepairTransition;
2711
+ "health.accountingIntegrityRun": HealthAccountingIntegrityRun;
2712
+ "health.accountingIntegrityTransition": HealthAccountingIntegrityTransition;
2713
+ "health.reservationIssueSnapshot": HealthReservationIssueSnapshot;
2714
+ "health.tenantIssue": HealthTenantIssue;
2715
+ "health.tenantIssueRuleState": HealthTenantIssueRuleState;
2716
+ "health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
2024
2717
  "public.accountCollection": PublicAccountCollection;
2025
2718
  "public.accountCollectionType": PublicAccountCollectionType;
2026
2719
  "public.address": PublicAddress;
@@ -2032,6 +2725,9 @@ export interface DB {
2032
2725
  "public.bookingChannel": PublicBookingChannel;
2033
2726
  "public.bookingChannelIconCandidate": PublicBookingChannelIconCandidate;
2034
2727
  "public.connection": PublicConnection;
2728
+ "public.connectionRoute": PublicConnectionRoute;
2729
+ "public.controlPlaneOutbox": PublicControlPlaneOutbox;
2730
+ "public.controlPlaneProjectionEvent": PublicControlPlaneProjectionEvent;
2035
2731
  "public.currency": PublicCurrency;
2036
2732
  "public.duplicateEmails": PublicDuplicateEmails;
2037
2733
  "public.emailTemplate": PublicEmailTemplate;
@@ -2045,6 +2741,9 @@ export interface DB {
2045
2741
  "public.fileStorageSourceLink": PublicFileStorageSourceLink;
2046
2742
  "public.fileStorageTag": PublicFileStorageTag;
2047
2743
  "public.latestDuplicateEmails": PublicLatestDuplicateEmails;
2744
+ "public.lineClassificationUsage": PublicLineClassificationUsage;
2745
+ "public.lineClassificationUsageBackfill": PublicLineClassificationUsageBackfill;
2746
+ "public.lineClassificationUsageCapture": PublicLineClassificationUsageCapture;
2048
2747
  "public.listing": PublicListing;
2049
2748
  "public.listingCollection": PublicListingCollection;
2050
2749
  "public.listingConnection": PublicListingConnection;
@@ -2070,6 +2769,7 @@ export interface DB {
2070
2769
  "public.paymentLineClassification": PublicPaymentLineClassification;
2071
2770
  "public.paymentStatus": PublicPaymentStatus;
2072
2771
  "public.paymentType": PublicPaymentType;
2772
+ "public.plaidConnectSession": PublicPlaidConnectSession;
2073
2773
  "public.recurringFee": PublicRecurringFee;
2074
2774
  "public.recurringFeeAccount": PublicRecurringFeeAccount;
2075
2775
  "public.recurringFeeAccountCondition": PublicRecurringFeeAccountCondition;
@@ -2106,6 +2806,8 @@ export interface DB {
2106
2806
  "tracking.monitorConnectionState": TrackingMonitorConnectionState;
2107
2807
  "webhook.delivery": WebhookDelivery;
2108
2808
  "webhook.deliveryAttempt": WebhookDeliveryAttempt;
2809
+ "webhook.deliveryAttemptSecret": WebhookDeliveryAttemptSecret;
2810
+ "webhook.rateLimit": WebhookRateLimit;
2109
2811
  "webhook.subscription": WebhookSubscription;
2110
2812
  "webhook.subscriptionSecret": WebhookSubscriptionSecret;
2111
2813
  }