@vrplatform/kysely 1.3.45-stage.4366 → 1.3.45-stage.43703848639
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/.data.tar +2 -2
- package/build/main/camel-case/index.d.ts +4 -4
- package/build/main/camel-case/index.js +3 -2
- package/build/main/camel-case/index.js.map +1 -1
- package/build/main/connect-handoff.d.ts +12 -0
- package/build/main/connect-handoff.js +73 -0
- package/build/main/connect-handoff.js.map +1 -0
- package/build/main/control-plane/index.d.ts +413 -14
- package/build/main/control-plane/index.js +71 -0
- package/build/main/control-plane/index.js.map +1 -1
- package/build/main/domain.d.ts +4 -0
- package/build/main/domain.js +3 -0
- package/build/main/domain.js.map +1 -0
- package/build/main/error.d.ts +2 -1
- package/build/main/error.js +2 -1
- package/build/main/error.js.map +1 -1
- package/build/main/index.d.ts +57 -15
- package/build/main/index.js +498 -66
- package/build/main/index.js.map +1 -1
- package/build/main/isomorphic.d.ts +6 -6
- package/build/main/isomorphic.js +4 -8
- package/build/main/isomorphic.js.map +1 -1
- package/build/main/local/digest.d.ts +3 -3
- package/build/main/local/digest.js.map +1 -1
- package/build/main/local/generate.js +15 -13
- package/build/main/local/generate.js.map +1 -1
- package/build/main/local/index.d.ts +5 -1
- package/build/main/local/index.js +346 -12
- package/build/main/local/index.js.map +1 -1
- package/build/main/local/prune-pulled-schema.js +4 -1
- package/build/main/local/prune-pulled-schema.js.map +1 -1
- package/build/main/migration-source.d.ts +4 -0
- package/build/main/migration-source.js +45 -0
- package/build/main/migration-source.js.map +1 -0
- package/build/main/migration.d.ts +7 -0
- package/build/main/migration.js +11 -0
- package/build/main/migration.js.map +1 -0
- package/build/main/pganalyze-comment-plugin/comment-transformer.js +3 -1
- package/build/main/pganalyze-comment-plugin/comment-transformer.js.map +1 -1
- package/build/main/pganalyze-comment-plugin/index.js.map +1 -1
- package/build/main/plugins.d.ts +2 -2
- package/build/main/plugins.js.map +1 -1
- package/build/main/postgres-error.d.ts +9 -0
- package/build/main/postgres-error.js +28 -0
- package/build/main/postgres-error.js.map +1 -0
- package/build/main/query/index.d.ts +1 -0
- package/build/main/query/index.js +1 -0
- package/build/main/query/index.js.map +1 -1
- package/build/main/query/listing/status.d.ts +2 -12
- package/build/main/query/listing/status.js +35 -20
- package/build/main/query/listing/status.js.map +1 -1
- package/build/main/query/tenant/billing-partner.d.ts +4 -0
- package/build/main/query/tenant/billing-partner.js +8 -0
- package/build/main/query/tenant/billing-partner.js.map +1 -0
- package/build/main/query/tenant/feature-enabled.d.ts +6 -0
- package/build/main/query/tenant/feature-enabled.js +30 -0
- package/build/main/query/tenant/feature-enabled.js.map +1 -0
- package/build/main/query/tenant/index.d.ts +4 -0
- package/build/main/query/tenant/index.js +21 -0
- package/build/main/query/tenant/index.js.map +1 -0
- package/build/main/query/tenant/status.d.ts +9 -0
- package/build/main/query/tenant/status.js +32 -0
- package/build/main/query/tenant/status.js.map +1 -0
- package/build/main/query/tenant/where-uuid-in.d.ts +2 -0
- package/build/main/query/tenant/where-uuid-in.js +14 -0
- package/build/main/query/tenant/where-uuid-in.js.map +1 -0
- package/build/main/regional.d.ts +31 -4
- package/build/main/regional.js +69 -8
- package/build/main/regional.js.map +1 -1
- package/build/main/test/index.d.ts +21 -11
- package/build/main/test/index.js +31 -26
- package/build/main/test/index.js.map +1 -1
- package/build/main/transaction.d.ts +3 -3
- package/build/main/transaction.js.map +1 -1
- package/build/main/v1.generated.d.ts +1333 -90
- package/build/main/v1.generated.js.map +1 -1
- package/build/migrations-v2/0000000000000-baseline.ts +5 -0
- package/build/migrations-v2/0000000000001-public-audit-events-v2.ts +137 -0
- package/build/migrations-v2/0000000000002-audit-recovery-watermarks.ts +30 -0
- package/build/migrations-v2/0000000000003-audit-effect-recovery-watermark.ts +13 -0
- package/build/migrations-v2/0000000000004-audit-event-projected-at.ts +15 -0
- package/build/migrations-v2/0000000000005-audit-recovery-indexes.ts +63 -0
- package/build/migrations-v2/0000000000006-audit-action-public-event-projected-at.ts +22 -0
- package/build/migrations-v2/0000000000007-audit-action-public-event-projected-at-backfill.ts +35 -0
- package/build/migrations-v2/0000000000008-global-user-attribution.ts +33 -0
- package/build/migrations-v2/0000000000008-team-issue-rule-state.ts +52 -0
- package/build/migrations-v2/0000000000009-reservation-issue-projections.ts +45 -0
- package/build/migrations-v2/0000000000010-bank-rule-application-bank-record-delete-cascade.ts +26 -0
- package/build/migrations-v2/0000000000011-guest-balance-journal-entry-lookup-index.ts +25 -0
- package/build/migrations-v2/0000000000012-trial-free-analytics-billing-status.ts +72 -0
- package/build/migrations-v2/0000000000013-ui-permission-bundles.ts +45 -0
- package/build/migrations-v2/0000000000014-ui-permission-bundle-top-up.ts +32 -0
- package/build/migrations-v2/0000000000015-durable-flow-events.ts +163 -0
- package/build/migrations-v2/0000000000016-billing-listing-facts.ts +539 -0
- package/build/migrations-v2/0000000000016-managed-team-access.ts +34 -0
- package/build/migrations-v2/0000000000017-drop-trial-until.ts +42 -0
- package/build/migrations-v2/0000000000017-webhook-secret-reencryption-failures.ts +18 -0
- package/build/migrations-v2/0000000000018-accounting-integrity-monitoring.ts +276 -0
- package/build/migrations-v2/0000000000018-durable-flow-event-sensitive-input.ts +28 -0
- package/build/migrations-v2/0000000000019-accounting-integrity-run-shards.ts +26 -0
- package/build/migrations-v2/0000000000019-asynchronous-operations.ts +736 -0
- package/build/migrations-v2/0000000000020-accounting-integrity-case-classification.ts +52 -0
- package/build/migrations-v2/0000000000021-payment-line-classification-monitor-indexes.ts +31 -0
- package/build/migrations-v2/0000000000022-accounting-integrity-controlled-repairs.ts +281 -0
- package/build/migrations-v2/0000000000023-line-classification-usage.ts +325 -0
- package/build/migrations-v2/0000000000024-tenant-region-migration.ts +108 -0
- package/build/migrations-v2/0000000000025-partner-ach-denial-default.ts +30 -0
- package/build/migrations-v2/0000000000026-line-classification-usage-capture.ts +399 -0
- package/build/migrations-v2/0000000000027-payout-replacement-chain.ts +27 -0
- package/build/migrations-v2/0000000000028-accounting-integrity-operator-workflow.ts +108 -0
- package/build/migrations-v2/0000000000029-accounting-integrity-definition-artifacts.ts +40 -0
- package/build/migrations-v2/0000000000030-accounting-integrity-review-metadata-compatibility.ts +49 -0
- package/build/migrations-v2/0000000000031-ui-permission-role-simplification.ts +70 -0
- package/build/migrations-v2/0000000000032-tenant-delete-ownership-cascades.ts +44 -0
- package/build/migrations-v2/0000000000033-plaid-connect-session-telemetry.ts +31 -0
- package/build/migrations-v2/0000000000033-reservation-issue-seed-bucket-index.ts +19 -0
- package/build/migrations-v2/0000000000034-retire-recent-classification-indexes.ts +29 -0
- package/build/migrations-v2/0000000000035-core-change-autovacuum.ts +24 -0
- package/build/migrations-v2/0000000000036-journal-entry-inactive-reason-constraint.ts +33 -0
- package/build/migrations-v2/0000000000037-journal-entry-inactive-reasons.ts +19 -0
- package/build/{migrations/0000000000023-journal-entry-currency-mismatch-reason.ts → migrations-v2/0000000000038-journal-entry-group-inactive-reason.ts} +4 -4
- package/build/migrations-v2/0000000000039-reservation-guest-breakdown.ts +19 -0
- package/build/migrations-v2/0000000000040-csv-import-source-identity-index.ts +23 -0
- package/build/migrations-v2/0000000000041-payment-returns.ts +38 -0
- package/build/migrations-v2/0000000000042-operation-resource-types.ts +609 -0
- package/build/migrations-v2/0000000000043-reservation-journal-freshness.ts +149 -0
- package/build/migrations-v2/0000000000044-reservation-journal-freshness-backfill.ts +254 -0
- package/build/migrations-v2/0000000000045-reservation-journal-freshness-revision-repair.ts +83 -0
- package/build/migrations-v2/0000000000046-materialized-reservation-journal-operations.ts +709 -0
- package/build/migrations-v2/0000000000047-public-audit-completion.ts +77 -0
- package/build/migrations-v2/0000000000048-reservation-journal-full-refresh-repair.ts +136 -0
- package/build/migrations-v2/0000000000049-queued-journal-operation-failures.ts +60 -0
- package/build/migrations-v2/0000000000050-connection-oauth-state.ts +43 -0
- package/build/migrations-v2/0000000000051-owner-statement-email-delivery.ts +134 -0
- package/build/migrations-v2/0000000000052-fee-journal-lock-skip-operations.ts +59 -0
- package/build/migrations-v2/0000000000053-fee-journal-lock-skip-null-attempt.ts +44 -0
- package/build/migrations-v2/0000000000054-journal-refresh-issue-codes.ts +16 -0
- package/build/migrations-v2/0000000000055-tenant-billing-subscription.ts +8 -0
- package/build/migrations-v2/0000000000056-journal-operation-failure-precedence.ts +306 -0
- package/build/migrations-v2/0000000000057-journal-invalidation-failure-code.ts +28 -0
- package/build/migrations-v2/0000000000058-journal-invalidation-locked-failure.ts +16 -0
- package/build/migrations-v2/0000000000059-billing-active-listing-cross-region-partner.ts +135 -0
- package/build/migrations-v2/0000000000060-accounting-integrity-change-driven.ts +99 -0
- package/build/migrations-v2/0000000000061-tenant-pending-onboarding-status.ts +37 -0
- package/build/migrations-v2/0000000000062-statement-payout-operations.ts +16 -0
- package/build/migrations-v2/0000000000063-missing-account-assignments-issue-code.ts +13 -0
- package/build/migrations-v2/0000000000064-journal-invalidation-source-lookup-index.ts +26 -0
- package/build/migrations-v2/0000000000065-hasura-connection-event-credentials.ts +42 -0
- package/build/migrations-v2/0000000000066-recurring-fee-listing-subscription-match-by.ts +51 -0
- package/build/migrations-v2/0000000000067-connection-credential-metadata.ts +60 -0
- package/build/migrations-v2/0000000000068-connection-credential-version.ts +34 -0
- package/build/migrations-v2/0000000000069-owner-statement-contact-email-delivery.ts +84 -0
- package/build/migrations-v2/0000000000070-payment-writer-compatibility.ts +69 -0
- package/build/migrations-v2/0000000000071-payments.ts +532 -0
- package/build/migrations-v2/0000000000072-journal-entry-payment-index.ts +21 -0
- package/build/migrations-v2/0000000000073-batch-invalidation-operation-registration.ts +74 -0
- package/build/migrations-v2/0000000000074-owner-statement-email-history.ts +34 -0
- package/build/migrations-v2/0000000000075-tenant-deletion-lookup-indexes.ts +46 -0
- package/build/migrations-v2/0000000000076-tenant-onboarding-not-null.ts +23 -0
- package/build/migrations-v2/0000000000077-payment-writer-statement-attachment.ts +92 -0
- package/build/migrations-v2/0000000000078-trigger-timeout-indexes.ts +44 -0
- package/build/migrations-v2/0000000000079-core-change-tenant-statistics.ts +26 -0
- package/build/migrations-v2/0000000000080-drop-legacy-tracking-event.ts +60 -0
- package/build/migrations-v2/0000000000081-recurring-fee-planner-operation-status.ts +35 -0
- package/build/migrations-v2/0000000000082-reservation-search-trigram-indexes.ts +54 -0
- package/build/migrations-v2/0000000000083-journal-entry-deposit-lookup-index.ts +31 -0
- package/build/migrations-v2/0000000000084-journal-entry-reservation-revenue-indexes.ts +57 -0
- package/build/migrations-v2/0000000000085-owner-statement-link-email-template.ts +23 -0
- package/build/migrations-v2/0000000000086-contact-payment-setup.ts +72 -0
- package/build/migrations-v2/0000000000087-address-delete-fk-indexes.ts +30 -0
- package/build/migrations-v2/0000000000088-owner-statement-email-switch.ts +76 -0
- package/build/migrations-v2/0000000000089-contact-bank-details-requested-at.ts +21 -0
- package/build/migrations-v2/0000000000090-contact-bank-account-api-key.ts +22 -0
- package/build/migrations-v2/0000000000091-contact-bank-details-request.ts +78 -0
- package/build/migrations-v2/0000000000092-payment-provider-reference.ts +22 -0
- package/build/migrations-v2/0000000000093-payment-reversal-offline-undo.ts +18 -0
- package/build/migrations-v2/0000000000094-reservation-status-checkout-index.ts +37 -0
- package/build/migrations-v2/0000000000095-payment-batches.ts +196 -0
- package/build/migrations-v2/0000000000096-guide-ongoing-tasks-issue-codes.ts +26 -0
- package/build/migrations-v2/0000000000097-reservation-line-mapping-suggestions.ts +53 -0
- package/build/migrations-v2/0000000000098-cancelled-reservation-balances-issue-code.ts +13 -0
- package/build/migrations-v2/0000000000099-contact-bank-account-request-source.ts +28 -0
- package/build/migrations-v2/0000000000100-drop-regional-feature-flags.ts +105 -0
- package/build/migrations-v2/0000000000101-bank-record-match-source.ts +45 -0
- package/build/migrations-v2/0000000000102-owner-statement-email-one-template.ts +63 -0
- package/build/migrations-v2/0000000000103-reservation-line-mapping-update-operation.ts +10 -0
- package/build/migrations-v2/0000000000104-export-job-payment-batch-pdf.ts +12 -0
- package/build/migrations-v2/0000000000105-drop-regional-token.ts +60 -0
- package/build/migrations-v2/0000000000106-incremental-audit-action-source.ts +158 -0
- package/build/migrations-v2/0000000000107-audit-mutation-transaction-insert-index.ts +44 -0
- package/build/migrations-v2/0000000000108-reservation-stay-type.ts +24 -0
- package/build/migrations-v2/0000000000109-long-term-liabilities-category-order.ts +21 -0
- package/build/migrations-v2/0000000000110-pms-sync-failures-issue-code.ts +13 -0
- package/build/migrations-v2/0000000000110-reservation-line-type-taxable.ts +21 -0
- package/build/migrations-v2/0000000000111-reservation-line-type-suggestion-taxable.ts +20 -0
- package/build/migrations-v2/0000000000112-contact-payment-method-outside-default.ts +44 -0
- package/build/migrations-v2/0000000000113-merchant-fee-reference-assignment.ts +25 -0
- package/build/migrations-v2/0000000000114-recurring-fee-nights-filter.ts +32 -0
- package/build/migrations-v2/0000000000115-bank-records-with-suggested-rule-issue-code.ts +13 -0
- package/build/migrations-v2/0000000000116-guest-review.ts +45 -0
- package/build/migrations-v2/0000000000117-ramp-external-funding-accounts.ts +91 -0
- package/build/migrations-v2/0000000000118-pm-payout-assignment.ts +25 -0
- package/build/migrations-v2/0000000000119-chart-of-accounts-classifications.ts +46 -0
- package/build/migrations-v2/0000000000120-feedback.ts +41 -0
- package/build/migrations-v2/0000000000121-source-owner-block-calendar-index.ts +43 -0
- package/build/migrations-v2/0000000000122-recurring-fee-stay-types-filter.ts +20 -0
- package/build/migrations-v2/0000000000123-reservation-owner-stay-type-index.ts +40 -0
- package/build/migrations-v2/0000000000124-remove-tenant-test-and-billable-columns.ts +63 -0
- package/build/migrations-v2/0000000000125-ramp-application.ts +56 -0
- package/build/migrations-v2/0000000000126-advanced-deposits-update-operation.ts +10 -0
- package/build/migrations-v2/0000000000127-contact-1099-tax-details.ts +46 -0
- package/build/migrations-v2/0000000000128-tax-1099-email-templates.ts +36 -0
- package/build/migrations-v2/0000000000129-tenant-locked-at.ts +18 -0
- package/build/migrations-v2/0000000000130-second-factor-reset.ts +65 -0
- package/build/migrations-v2/0000000000131-payout-hold.ts +49 -0
- package/build/migrations-v2/0000000000132-member-invite-approval.ts +62 -0
- package/build/migrations-v2/0000000000133-audit-action-client-ip.ts +38 -0
- package/build/migrations-v2/0000000000134-drop-orphaned-hasura-triggers.ts +39 -0
- package/build/migrations-v2/0000000000135-drop-orphaned-hasura-triggers-literal.ts +42 -0
- package/build/migrations-v2/0000000000136-drop-all-hasura-triggers.ts +43 -0
- package/build/migrations-v2/0000000000137-webhook-event.ts +57 -0
- package/build/module/camel-case/index.d.ts +4 -4
- package/build/module/camel-case/index.js +4 -3
- package/build/module/camel-case/index.js.map +1 -1
- package/build/module/connect-handoff.d.ts +12 -0
- package/build/module/connect-handoff.js +70 -0
- package/build/module/connect-handoff.js.map +1 -0
- package/build/module/control-plane/index.d.ts +413 -14
- package/build/module/control-plane/index.js +58 -1
- package/build/module/control-plane/index.js.map +1 -1
- package/build/module/domain.d.ts +4 -0
- package/build/module/domain.js +2 -0
- package/build/module/domain.js.map +1 -0
- package/build/module/error.d.ts +2 -1
- package/build/module/error.js +3 -1
- package/build/module/error.js.map +1 -1
- package/build/module/index.d.ts +57 -15
- package/build/module/index.js +496 -64
- package/build/module/index.js.map +1 -1
- package/build/module/isomorphic.d.ts +6 -6
- package/build/module/isomorphic.js +2 -7
- package/build/module/isomorphic.js.map +1 -1
- package/build/module/local/digest.d.ts +3 -3
- package/build/module/local/digest.js.map +1 -1
- package/build/module/local/generate.js +15 -13
- package/build/module/local/generate.js.map +1 -1
- package/build/module/local/index.d.ts +5 -1
- package/build/module/local/index.js +347 -13
- package/build/module/local/index.js.map +1 -1
- package/build/module/local/prune-pulled-schema.js +4 -1
- package/build/module/local/prune-pulled-schema.js.map +1 -1
- package/build/module/migration-source.d.ts +4 -0
- package/build/module/migration-source.js +42 -0
- package/build/module/migration-source.js.map +1 -0
- package/build/module/migration.d.ts +7 -0
- package/build/module/migration.js +8 -0
- package/build/module/migration.js.map +1 -0
- package/build/module/pganalyze-comment-plugin/comment-transformer.js +3 -1
- package/build/module/pganalyze-comment-plugin/comment-transformer.js.map +1 -1
- package/build/module/plugins.d.ts +2 -2
- package/build/module/plugins.js.map +1 -1
- package/build/module/postgres-error.d.ts +9 -0
- package/build/module/postgres-error.js +24 -0
- package/build/module/postgres-error.js.map +1 -0
- package/build/module/query/index.d.ts +1 -0
- package/build/module/query/index.js +1 -0
- package/build/module/query/index.js.map +1 -1
- package/build/module/query/listing/status.d.ts +2 -12
- package/build/module/query/listing/status.js +35 -18
- package/build/module/query/listing/status.js.map +1 -1
- package/build/module/query/tenant/billing-partner.d.ts +4 -0
- package/build/module/query/tenant/billing-partner.js +5 -0
- package/build/module/query/tenant/billing-partner.js.map +1 -0
- package/build/module/query/tenant/feature-enabled.d.ts +6 -0
- package/build/module/query/tenant/feature-enabled.js +27 -0
- package/build/module/query/tenant/feature-enabled.js.map +1 -0
- package/build/module/query/tenant/index.d.ts +4 -0
- package/build/module/query/tenant/index.js +5 -0
- package/build/module/query/tenant/index.js.map +1 -0
- package/build/module/query/tenant/status.d.ts +9 -0
- package/build/module/query/tenant/status.js +28 -0
- package/build/module/query/tenant/status.js.map +1 -0
- package/build/module/query/tenant/where-uuid-in.d.ts +2 -0
- package/build/module/query/tenant/where-uuid-in.js +11 -0
- package/build/module/query/tenant/where-uuid-in.js.map +1 -0
- package/build/module/regional.d.ts +31 -4
- package/build/module/regional.js +68 -8
- package/build/module/regional.js.map +1 -1
- package/build/module/test/index.d.ts +21 -11
- package/build/module/test/index.js +31 -26
- package/build/module/test/index.js.map +1 -1
- package/build/module/transaction.d.ts +3 -3
- package/build/module/transaction.js.map +1 -1
- package/build/module/v1.generated.d.ts +1333 -90
- package/build/module/v1.generated.js.map +1 -1
- package/package.json +19 -16
- package/build/migrations/0000000000001-init.ts +0 -5
- package/build/migrations/0000000000009-drop-store-schema.ts +0 -14
- package/build/migrations/0000000000010-bank-rules.ts +0 -190
- package/build/migrations/0000000000011-bank-rule-line-adjustments.ts +0 -65
- package/build/migrations/0000000000012-bank-rule-conditions.ts +0 -45
- package/build/migrations/0000000000013-bank-rule-name-unique.ts +0 -15
- package/build/migrations/0000000000014-bank-rule-drop-legacy-conditions.ts +0 -41
- package/build/migrations/0000000000015-booking-channel-logo-dev-provider.ts +0 -70
- package/build/migrations/0000000000016-owner-statement-draft-status.ts +0 -22
- package/build/migrations/0000000000017-tenant-migration-markers.ts +0 -18
- package/build/migrations/0000000000018-security-deposits-payable-category.ts +0 -63
- package/build/migrations/0000000000019-tenant-app-settings.ts +0 -76
- package/build/migrations/0000000000020-operating-opening-trial-balance.ts +0 -36
- package/build/migrations/0000000000021-audit-foreign-key-indexes.ts +0 -77
- package/build/migrations/0000000000022-opening-trial-balance-combined-columns.ts +0 -30
- package/build/migrations/0000000000024-listing-parent.ts +0 -37
- package/build/migrations/0000000000025-journal-entry-parent-listing.ts +0 -26
- package/build/migrations/0000000000026-booking-channel-logo-slots.ts +0 -89
- package/build/migrations/0000000000027-list-browse-performance-indexes.ts +0 -52
- package/build/migrations/0000000000028-flow-setting-status-jsonb.ts +0 -20
- package/build/migrations/0000000000029-tenant-slug.ts +0 -328
- package/build/migrations/0000000000030-pms-accounting-windows.ts +0 -50
- package/build/migrations/0000000000031-owner-statement-projection-listing-revision.ts +0 -20
- package/build/migrations/0000000000032-flow-event-listening.ts +0 -28
- package/build/migrations/0000000000033-opening-trial-balance-transaction.ts +0 -272
- package/build/migrations/0000000000034-historic-general-ledger.ts +0 -24
- package/build/migrations/0000000000035-tenant-regional-placement.ts +0 -37
- package/build/migrations/0000000000036-control-plane-projection-events.ts +0 -43
- package/build/migrations/0000000000037-tenant-guide-onboarding.ts +0 -21
- package/build/migrations/0000000000038-tracking-event-analytics-sink.ts +0 -31
- package/build/migrations/0000000000039-crunchy-region.ts +0 -86
- package/build/migrations/0000000000040-hostaway-region.ts +0 -72
- package/build/migrations/0000000000041-audit-tenant-fk.ts +0 -66
- package/build/migrations/0000000000042-ramp-staging-connect-params.ts +0 -35
- package/build/migrations/0000000000043-gl-pms-accounting-window-guard.ts +0 -125
- package/build/migrations/0000000000044-tenant-cross-region-fks.ts +0 -45
- package/build/migrations/0000000000045-cloudflare-region-env.ts +0 -100
- package/build/migrations/0000000000046-control-plane-outbox-alias.ts +0 -46
- package/build/migrations/0000000000047-ramp-contact-last-4-digits.ts +0 -16
|
@@ -3,14 +3,86 @@
|
|
|
3
3
|
* Please do not edit it manually.
|
|
4
4
|
*/
|
|
5
5
|
import type { ColumnType } from "kysely";
|
|
6
|
-
export type
|
|
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 AccountingPaymentBatchType = "check" | "nacha";
|
|
22
|
+
export type AccountingPaymentCommandKind = "cancel" | "refresh" | "submit";
|
|
23
|
+
export type AccountingPaymentCommandOutcome = "accepted" | "conflictingEvidence" | "rejected" | "unknown";
|
|
24
|
+
export type AccountingPaymentIssue = "accountingConfiguration" | "allocationOutOfRange" | "amountMismatch" | "conflictingEvidence" | "currencyMismatch" | "overpayment" | "recipientMismatch" | "unknownOutcome" | "unknownStatus" | "unlinkedMovement" | "unmappedFundingAccount";
|
|
25
|
+
export type AccountingPaymentMethod = "ach" | "cash" | "check" | "other" | "wire";
|
|
26
|
+
export type AccountingPaymentObservationOrigin = "provider" | "review";
|
|
27
|
+
export type AccountingPaymentOrigin = "provider" | "vrp";
|
|
28
|
+
export type AccountingPaymentProvider = "ramp";
|
|
29
|
+
export type AccountingPaymentResourceType = "bill" | "payment" | "transfer";
|
|
30
|
+
export type AccountingPaymentReversalKind = "bankUnmatch" | "offlineReversal" | "offlineUndo" | "providerReturn";
|
|
31
|
+
export type AccountingPaymentStatus = "canceled" | "failed" | "pending" | "processing" | "scheduled" | "submitting" | "succeeded";
|
|
32
|
+
export type AccountingPayoutHoldReason = "newBankDetails" | "takeoverPattern";
|
|
33
|
+
export type AccountingReservationJournalInvalidationFailure = "journal_configuration_invalid" | "journal_locked";
|
|
34
|
+
export type AccountingReservationLineMappingSuggestionSource = "llm" | "rule";
|
|
8
35
|
export type AccountingTransactionAttachmentStatus = "attached" | "deleting" | "ready" | "uploading";
|
|
9
|
-
export type
|
|
36
|
+
export type ArrayType<T> = ArrayTypeImpl<T> extends (infer U)[] ? U[] : ArrayTypeImpl<T>;
|
|
37
|
+
export type ArrayTypeImpl<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S[], I[], U[]> : T[];
|
|
38
|
+
export type AuditActionActorType = "api_key" | "automation" | "sync" | "system" | "user";
|
|
39
|
+
export type AuditActorOrganizationType = "partner" | "system" | "team" | "vrplatform";
|
|
10
40
|
export type AuditEffectAttemptStatus = "completed" | "failed" | "running" | "skipped_locked";
|
|
11
41
|
export type AuditEffectStatus = "claimed" | "completed" | "dead_letter" | "failed" | "pending" | "running";
|
|
12
42
|
export type AuditJournalDeltaOperation = "delete" | "insert" | "update";
|
|
43
|
+
export type AuditPublicEventAccountingStatus = "blocked" | "changed" | "failed" | "mixed" | "not_applicable" | "pending" | "unchanged";
|
|
44
|
+
export type AuditPublicEventOperation = "archive" | "create" | "delete" | "execute" | "recalculate" | "restore" | "update";
|
|
45
|
+
export type AuditSourceType = "api" | "automation" | "embedded" | "integration" | "portal" | "sync" | "system";
|
|
46
|
+
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";
|
|
47
|
+
export type CoreAsyncOperationResultStatus = "completed" | "failed" | "queued";
|
|
48
|
+
export type CoreCsvOperationResultKind = "import" | "preview";
|
|
49
|
+
export type CoreCsvOperationResultStatus = "completed" | "failed" | "processing" | "queued";
|
|
50
|
+
export type CoreEmailDeliveryFailureCode = "inactive_recipient" | "invalid_provider_response" | "missing_email" | "notifications_disabled" | "postmark_not_configured" | "provider_rejected" | "task_failed" | "transport_failed" | "unsubscribed";
|
|
51
|
+
export type CoreEmailDeliveryStatus = "accepted" | "canceled" | "failed" | "queued" | "rejected" | "retrying" | "sending" | "skipped";
|
|
52
|
+
export type CoreEmailNotificationStatus = "canceled" | "completed" | "failed" | "processing" | "queued";
|
|
53
|
+
export type CoreEmailNotificationTrigger = "link_replacement" | "publish" | "resend";
|
|
54
|
+
export type CoreExportJobFormat = "csv" | "pdf" | "zip";
|
|
55
|
+
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";
|
|
56
|
+
export type CoreFlowEventOperationAction = "abandon" | "replay";
|
|
57
|
+
export type CoreFlowEventStatus = "canceled" | "dead" | "pending" | "processing" | "succeeded";
|
|
58
|
+
export type CoreOperationPublicIdFormat = "action" | "legacy";
|
|
59
|
+
export type CoreOperationResourceRole = "result" | "source" | "target";
|
|
60
|
+
export type CoreOperationResourceType = "bank-rule" | "connection" | "contact" | "file" | "flow" | "listing" | "recurring-fee" | "recurring-transaction-template" | "reservation" | "statement" | "team" | "transaction" | "webhook";
|
|
61
|
+
export type CoreOperationSourceType = "audit-action" | "export-job" | "sync" | "webhook-delivery";
|
|
62
|
+
export type CoreOperationStatus = "completed" | "failed" | "queued" | "running";
|
|
63
|
+
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";
|
|
13
64
|
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
65
|
+
export type HealthAccountingIntegrityActionability = "automatically_repairable" | "blocked" | "code_fix_required" | "manual_repair" | "unknown";
|
|
66
|
+
export type HealthAccountingIntegrityCaseStatus = "open" | "resolved";
|
|
67
|
+
export type HealthAccountingIntegrityConfidence = "probable" | "proven" | "unknown";
|
|
68
|
+
export type HealthAccountingIntegrityDeliveryChannel = "sentry" | "slack";
|
|
69
|
+
export type HealthAccountingIntegrityDeliveryStatus = "dead_letter" | "delivered" | "failed" | "pending" | "processing" | "suppressed";
|
|
70
|
+
export type HealthAccountingIntegrityDirtyRecordType = "reservation" | "transaction";
|
|
71
|
+
export type HealthAccountingIntegrityRepairPlanStatus = "active" | "canceled" | "completed" | "draft" | "failed" | "paused";
|
|
72
|
+
export type HealthAccountingIntegrityRepairScopeType = "case" | "tenant";
|
|
73
|
+
export type HealthAccountingIntegrityRepairStageStatus = "applying" | "approved" | "canceled" | "dry_run_passed" | "failed" | "paused" | "planned" | "verified" | "verifying";
|
|
74
|
+
export type HealthAccountingIntegrityRepairTargetStatus = "applied" | "applying" | "canceled" | "failed" | "paused" | "pending" | "verified" | "verifying";
|
|
75
|
+
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";
|
|
76
|
+
export type HealthAccountingIntegrityResolutionClassification = "code_fix" | "configuration" | "data_repair" | "expected" | "false_positive" | "monitor_fix" | "unknown";
|
|
77
|
+
export type HealthAccountingIntegrityReviewStatus = "confirmed_issue" | "expected" | "false_positive" | "unreviewed";
|
|
78
|
+
export type HealthAccountingIntegrityRunStatus = "completed" | "failed" | "running" | "skipped";
|
|
79
|
+
export type HealthAccountingIntegritySeverity = "critical" | "error" | "info" | "warning";
|
|
80
|
+
export type HealthAccountingIntegrityTransitionType = "changed" | "opened" | "reopened" | "resolved" | "reviewed";
|
|
81
|
+
export type HealthAccountingIntegrityUrgency = "backlog" | "immediate" | "next_triage" | "none";
|
|
82
|
+
export type HealthTenantIssueCategory = "criticalToSystem" | "criticalToUser";
|
|
83
|
+
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";
|
|
84
|
+
export type HealthTenantIssueSeverity = "error" | "warning";
|
|
85
|
+
export type HealthTenantIssueStatus = "open" | "resolved";
|
|
14
86
|
export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
|
|
15
87
|
export type Json = JsonValue;
|
|
16
88
|
export type JsonArray = JsonValue[];
|
|
@@ -20,9 +92,28 @@ export type JsonObject = {
|
|
|
20
92
|
export type JsonPrimitive = boolean | number | string | null;
|
|
21
93
|
export type JsonValue = JsonArray | JsonObject | JsonPrimitive;
|
|
22
94
|
export type Numeric = ColumnType<string, number | string, number | string>;
|
|
95
|
+
export type PublicFeedbackKind = "bug" | "feedback" | "question";
|
|
23
96
|
export type PublicFlowType = "pull" | "push";
|
|
97
|
+
export type PublicGuestReviewChannel = "airbnb" | "bookingCom" | "vrbo";
|
|
98
|
+
export type PublicMemberInviteApprovalRole = "admin" | "user";
|
|
99
|
+
export type PublicMemberInviteApprovalStatus = "approved" | "pending" | "rejected";
|
|
100
|
+
export type PublicPlaidConnectMode = "create" | "replace" | "update";
|
|
101
|
+
export type PublicPlaidConnectStatus = "awaitingConfiguration" | "completed" | "configuring" | "credentialsStored" | "discoveringAccounts" | "exchangeOutcomeUnknown" | "exchanging" | "expired" | "failed" | "pendingLink";
|
|
102
|
+
export type PublicSecondFactorResetInitiator = "support" | "teamAdmin";
|
|
103
|
+
export type PublicSecondFactorResetStatus = "approved" | "denied" | "expired" | "pending";
|
|
104
|
+
export type PublicRampApplicationEnvironment = "demo" | "production";
|
|
105
|
+
export type PublicRampApplicationStatus = "approved" | "followUpsRequired" | "inReview" | "invited" | "rejected" | "started" | "withdrawn";
|
|
24
106
|
export type PublicRecurringFeeConditionOperator = "<" | "<=" | "=" | ">" | ">=";
|
|
107
|
+
export type PublicRecurringFeeListingSubscriptionMatchBy = "bookedDate" | "stayDate";
|
|
108
|
+
export type PublicReservationStayType = "guest" | "owner" | "ownerGuest";
|
|
25
109
|
export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
|
|
110
|
+
export type WebhookApiVersion = "2026-07-01";
|
|
111
|
+
export type WebhookDeliveryStatus = "canceled" | "delivering" | "failed" | "queued" | "retrying" | "succeeded";
|
|
112
|
+
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";
|
|
113
|
+
export type WebhookResourceType = "auditEvent" | "connection" | "listing" | "reservation" | "statement" | "sync" | "team" | "transaction" | "webhook";
|
|
114
|
+
export type WebhookSubscriptionEventType = "audit.event.changed" | "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed";
|
|
115
|
+
export type WebhookSubscriptionScope = "managedTeams" | "self";
|
|
116
|
+
export type WebhookSubscriptionStatus = "active" | "disabled" | "pending";
|
|
26
117
|
export interface AccountingAccount {
|
|
27
118
|
bankingCategory: string | null;
|
|
28
119
|
bankingCurrency: string | null;
|
|
@@ -36,8 +127,6 @@ export interface AccountingAccount {
|
|
|
36
127
|
createdAt: Generated<Timestamp | null>;
|
|
37
128
|
id: Generated<string>;
|
|
38
129
|
offsetAccountId: string | null;
|
|
39
|
-
openingTrialBalanceCombinedCentTotal: Generated<Int8>;
|
|
40
|
-
openingTrialBalanceUpdatedAt: Timestamp | null;
|
|
41
130
|
status: Generated<string>;
|
|
42
131
|
tenantId: string | null;
|
|
43
132
|
title: string;
|
|
@@ -72,33 +161,23 @@ export interface AccountingAccountCategory {
|
|
|
72
161
|
export interface AccountingAccountClassification {
|
|
73
162
|
name: string;
|
|
74
163
|
}
|
|
75
|
-
export interface
|
|
76
|
-
accountId: string | null;
|
|
77
|
-
bookingChannel: string | null;
|
|
78
|
-
createdAt: Generated<Timestamp>;
|
|
79
|
-
id: Generated<string>;
|
|
80
|
-
lineType: string;
|
|
81
|
-
revenueRecognition: string | null;
|
|
82
|
-
status: Generated<string | null>;
|
|
83
|
-
tenantId: string;
|
|
84
|
-
updatedAt: Generated<Timestamp>;
|
|
85
|
-
}
|
|
86
|
-
export interface AccountingAccountReservationRevRec {
|
|
87
|
-
name: string;
|
|
88
|
-
}
|
|
89
|
-
export interface AccountingAccountType {
|
|
90
|
-
name: string;
|
|
91
|
-
}
|
|
92
|
-
export interface AccountingBankAccount {
|
|
164
|
+
export interface AccountingAccountConnection {
|
|
93
165
|
accountId: string | null;
|
|
94
166
|
category: Generated<string | null>;
|
|
95
167
|
connectionId: string | null;
|
|
96
168
|
createdAt: Generated<Timestamp>;
|
|
97
169
|
currency: string | null;
|
|
170
|
+
fundingEntityRef: string | null;
|
|
98
171
|
holderName: string | null;
|
|
99
172
|
id: Generated<string>;
|
|
100
173
|
lastDigits: string | null;
|
|
174
|
+
matchCandidateAccountIds: Generated<string[]>;
|
|
175
|
+
matchedAt: Timestamp | null;
|
|
176
|
+
matchSource: AccountingAccountConnectionMatchSource | null;
|
|
177
|
+
matchStatus: AccountingAccountConnectionMatchStatus | null;
|
|
101
178
|
name: string | null;
|
|
179
|
+
persistentRef: string | null;
|
|
180
|
+
role: Generated<AccountingAccountConnectionRole>;
|
|
102
181
|
sourceId: string | null;
|
|
103
182
|
startDate: Timestamp | null;
|
|
104
183
|
/**
|
|
@@ -111,6 +190,61 @@ export interface AccountingBankAccount {
|
|
|
111
190
|
uniqueRef: string | null;
|
|
112
191
|
updatedAt: Generated<Timestamp>;
|
|
113
192
|
}
|
|
193
|
+
export interface AccountingAccountPaymentFileSetting {
|
|
194
|
+
accountId: string;
|
|
195
|
+
accountKind: AccountingBankAccountKind | null;
|
|
196
|
+
accountNumber: string | null;
|
|
197
|
+
bankName: string | null;
|
|
198
|
+
checkEnabled: Generated<boolean>;
|
|
199
|
+
checkFormat: AccountingCheckFormat | null;
|
|
200
|
+
checkNextNumber: number | null;
|
|
201
|
+
checkOffsetX: Generated<number>;
|
|
202
|
+
checkOffsetY: Generated<number>;
|
|
203
|
+
checkPrintMode: AccountingCheckPrintMode | null;
|
|
204
|
+
companyAddress: Json | null;
|
|
205
|
+
companyName: string | null;
|
|
206
|
+
createdAt: Generated<Timestamp>;
|
|
207
|
+
nachaAcceptCanadian: Generated<boolean>;
|
|
208
|
+
nachaBankProfile: AccountingNachaBankProfile | null;
|
|
209
|
+
nachaCompanyId: string | null;
|
|
210
|
+
nachaCompanyName: string | null;
|
|
211
|
+
nachaDiscretionaryData: string | null;
|
|
212
|
+
nachaEnabled: Generated<boolean>;
|
|
213
|
+
nachaEntryDescription: string | null;
|
|
214
|
+
nachaImmediateDestination: string | null;
|
|
215
|
+
nachaImmediateDestinationName: string | null;
|
|
216
|
+
nachaImmediateOrigin: string | null;
|
|
217
|
+
nachaImmediateOriginName: string | null;
|
|
218
|
+
nachaOffsetEntry: Generated<boolean>;
|
|
219
|
+
nachaTestFileAt: Timestamp | null;
|
|
220
|
+
nachaTestFileValid: boolean | null;
|
|
221
|
+
routingNumber: string | null;
|
|
222
|
+
tenantId: string;
|
|
223
|
+
updatedAt: Generated<Timestamp>;
|
|
224
|
+
updatedByUserId: string | null;
|
|
225
|
+
}
|
|
226
|
+
export interface AccountingAccountReservationLineType {
|
|
227
|
+
accountId: string | null;
|
|
228
|
+
bookingChannel: string | null;
|
|
229
|
+
createdAt: Generated<Timestamp>;
|
|
230
|
+
id: Generated<string>;
|
|
231
|
+
isSuggestion: Generated<boolean>;
|
|
232
|
+
lineType: string;
|
|
233
|
+
revenueRecognition: string | null;
|
|
234
|
+
status: Generated<string | null>;
|
|
235
|
+
suggestionReason: string | null;
|
|
236
|
+
suggestionSource: AccountingReservationLineMappingSuggestionSource | null;
|
|
237
|
+
suggestionTaxable: boolean | null;
|
|
238
|
+
taxable: Generated<boolean>;
|
|
239
|
+
tenantId: string;
|
|
240
|
+
updatedAt: Generated<Timestamp>;
|
|
241
|
+
}
|
|
242
|
+
export interface AccountingAccountReservationRevRec {
|
|
243
|
+
name: string;
|
|
244
|
+
}
|
|
245
|
+
export interface AccountingAccountType {
|
|
246
|
+
name: string;
|
|
247
|
+
}
|
|
114
248
|
export interface AccountingBankAccountCategory {
|
|
115
249
|
name: string;
|
|
116
250
|
}
|
|
@@ -118,8 +252,8 @@ export interface AccountingBankAccountType {
|
|
|
118
252
|
name: string;
|
|
119
253
|
}
|
|
120
254
|
export interface AccountingBankRecord {
|
|
255
|
+
accountConnectionId: string | null;
|
|
121
256
|
accountId: string | null;
|
|
122
|
-
bankAccountId: string | null;
|
|
123
257
|
calculatedCentBalance: number | null;
|
|
124
258
|
calculatedCentTotalCorrection: number | null;
|
|
125
259
|
centBalance: number | null;
|
|
@@ -139,8 +273,10 @@ export interface AccountingBankRecord {
|
|
|
139
273
|
}
|
|
140
274
|
export interface AccountingBankRecordTransactionPayment {
|
|
141
275
|
bankRecordId: string;
|
|
276
|
+
bankRuleId: string | null;
|
|
142
277
|
createdAt: Generated<Timestamp>;
|
|
143
278
|
id: Generated<string>;
|
|
279
|
+
matchSource: AccountingBankRecordMatchSource | null;
|
|
144
280
|
tenantId: string | null;
|
|
145
281
|
transactionId: string;
|
|
146
282
|
updatedAt: Generated<Timestamp>;
|
|
@@ -229,6 +365,8 @@ export interface AccountingBankRuleMode {
|
|
|
229
365
|
}
|
|
230
366
|
export interface AccountingContact {
|
|
231
367
|
addressData: Json | null;
|
|
368
|
+
addressEditedAt: Timestamp | null;
|
|
369
|
+
bankDetailsRequestedAt: Timestamp | null;
|
|
232
370
|
/**
|
|
233
371
|
* When NULL, the type is "individual"
|
|
234
372
|
*/
|
|
@@ -236,9 +374,11 @@ export interface AccountingContact {
|
|
|
236
374
|
connectionId: string | null;
|
|
237
375
|
createdAt: Generated<Timestamp>;
|
|
238
376
|
defaultAccountId: string | null;
|
|
377
|
+
defaultPaymentMethod: Generated<AccountingContactPaymentMethod | null>;
|
|
239
378
|
email: string | null;
|
|
240
379
|
firstName: string | null;
|
|
241
380
|
id: Generated<string>;
|
|
381
|
+
is1099Exempt: Generated<boolean>;
|
|
242
382
|
is1099PostalDelivery: Generated<boolean>;
|
|
243
383
|
name: string;
|
|
244
384
|
phone: string | null;
|
|
@@ -248,8 +388,11 @@ export interface AccountingContact {
|
|
|
248
388
|
*/
|
|
249
389
|
shortRef: string | null;
|
|
250
390
|
sourceId: string | null;
|
|
391
|
+
statementEmailEnabled: boolean | null;
|
|
392
|
+
statementEmailUnsubscribedAt: Timestamp | null;
|
|
251
393
|
status: string | null;
|
|
252
394
|
taxId: string | null;
|
|
395
|
+
taxIdType: AccountingContactTaxIdType | null;
|
|
253
396
|
tenantId: string;
|
|
254
397
|
/**
|
|
255
398
|
* owner OR vendor
|
|
@@ -258,6 +401,34 @@ export interface AccountingContact {
|
|
|
258
401
|
uniqueRef: string | null;
|
|
259
402
|
updatedAt: Generated<Timestamp>;
|
|
260
403
|
}
|
|
404
|
+
export interface AccountingContactBankDetailsRequest {
|
|
405
|
+
contactId: string;
|
|
406
|
+
createdAt: Generated<Timestamp>;
|
|
407
|
+
delivery: Generated<AccountingBankDetailsRequestDelivery>;
|
|
408
|
+
id: Generated<string>;
|
|
409
|
+
linkExpiresAt: Timestamp | null;
|
|
410
|
+
openedAt: Timestamp | null;
|
|
411
|
+
recipientEmail: string | null;
|
|
412
|
+
requestedAt: Timestamp;
|
|
413
|
+
requestedByUserId: string | null;
|
|
414
|
+
sentAt: Timestamp | null;
|
|
415
|
+
tenantId: string;
|
|
416
|
+
updatedAt: Generated<Timestamp>;
|
|
417
|
+
}
|
|
418
|
+
export interface AccountingContactBankAccount {
|
|
419
|
+
accountKind: AccountingBankAccountKind;
|
|
420
|
+
accountNumber: string;
|
|
421
|
+
contactId: string;
|
|
422
|
+
createdAt: Generated<Timestamp>;
|
|
423
|
+
holderName: string;
|
|
424
|
+
holderType: AccountingBankAccountHolderType;
|
|
425
|
+
routingNumber: string;
|
|
426
|
+
tenantId: string;
|
|
427
|
+
updatedAt: Generated<Timestamp>;
|
|
428
|
+
updatedByApiTokenId: string | null;
|
|
429
|
+
updatedByBankDetailsRequestId: string | null;
|
|
430
|
+
updatedByUserId: string | null;
|
|
431
|
+
}
|
|
261
432
|
export interface AccountingContactCompanyType {
|
|
262
433
|
name: string;
|
|
263
434
|
}
|
|
@@ -283,6 +454,7 @@ export interface AccountingJournalEntry {
|
|
|
283
454
|
listingOwnershipPeriodId: string | null;
|
|
284
455
|
parentListingId: string | null;
|
|
285
456
|
party: string | null;
|
|
457
|
+
paymentId: string | null;
|
|
286
458
|
recurringFeeId: string | null;
|
|
287
459
|
recurringFeeListingSubscriptionId: string | null;
|
|
288
460
|
reservationId: string | null;
|
|
@@ -318,6 +490,12 @@ export interface AccountingOwnerStatementProjection {
|
|
|
318
490
|
tenantId: string;
|
|
319
491
|
variant: string;
|
|
320
492
|
}
|
|
493
|
+
export interface AccountingOwnerStatementProjectionListingRevision {
|
|
494
|
+
listingId: string;
|
|
495
|
+
revision: Generated<Int8>;
|
|
496
|
+
tenantId: string;
|
|
497
|
+
updatedAt: Generated<Timestamp>;
|
|
498
|
+
}
|
|
321
499
|
export interface AccountingOwnerStatementProjectionRevision {
|
|
322
500
|
revision: Generated<Int8>;
|
|
323
501
|
tenantId: string;
|
|
@@ -329,6 +507,167 @@ export interface AccountingPaidStatus {
|
|
|
329
507
|
export interface AccountingParty {
|
|
330
508
|
name: string;
|
|
331
509
|
}
|
|
510
|
+
export interface AccountingPayment {
|
|
511
|
+
accountId: string | null;
|
|
512
|
+
amount: number;
|
|
513
|
+
bankRecordId: string | null;
|
|
514
|
+
closureConfirmedAt: Timestamp | null;
|
|
515
|
+
closureRequestedAt: Timestamp | null;
|
|
516
|
+
connectionId: string | null;
|
|
517
|
+
contactId: string | null;
|
|
518
|
+
createdAt: Generated<Timestamp>;
|
|
519
|
+
currency: string;
|
|
520
|
+
destinationRef: string | null;
|
|
521
|
+
fundingAccountConnectionId: string | null;
|
|
522
|
+
fundingAccountRef: string | null;
|
|
523
|
+
fundingCurrency: string | null;
|
|
524
|
+
fundingDebited: number | null;
|
|
525
|
+
fundingEntityRef: string | null;
|
|
526
|
+
fundingRefunded: number | null;
|
|
527
|
+
id: Generated<string>;
|
|
528
|
+
idempotencyKey: string;
|
|
529
|
+
initiatedAt: Timestamp | null;
|
|
530
|
+
isHistoricalCopy: Generated<boolean>;
|
|
531
|
+
issue: AccountingPaymentIssue | null;
|
|
532
|
+
method: AccountingPaymentMethod;
|
|
533
|
+
observedAt: Timestamp | null;
|
|
534
|
+
operationId: string | null;
|
|
535
|
+
origin: Generated<AccountingPaymentOrigin>;
|
|
536
|
+
postingDate: Timestamp | null;
|
|
537
|
+
provider: AccountingPaymentProvider | null;
|
|
538
|
+
providerBillRef: string | null;
|
|
539
|
+
providerMethod: string | null;
|
|
540
|
+
providerPaymentRef: string | null;
|
|
541
|
+
providerReference: string | null;
|
|
542
|
+
providerStatus: string | null;
|
|
543
|
+
providerUpdatedAt: Timestamp | null;
|
|
544
|
+
recipientRef: string | null;
|
|
545
|
+
reference: string | null;
|
|
546
|
+
replacesPaymentId: string | null;
|
|
547
|
+
requestedDate: Timestamp | null;
|
|
548
|
+
requestFingerprint: string;
|
|
549
|
+
scheduledAt: Timestamp | null;
|
|
550
|
+
settledAt: Timestamp | null;
|
|
551
|
+
status: Generated<AccountingPaymentStatus>;
|
|
552
|
+
tenantId: string;
|
|
553
|
+
terminalAt: Timestamp | null;
|
|
554
|
+
transactionId: string;
|
|
555
|
+
updatedAt: Generated<Timestamp>;
|
|
556
|
+
}
|
|
557
|
+
export interface AccountingPaymentAllocation {
|
|
558
|
+
amount: number;
|
|
559
|
+
createdAt: Generated<Timestamp>;
|
|
560
|
+
id: Generated<string>;
|
|
561
|
+
paymentId: string;
|
|
562
|
+
tenantId: string;
|
|
563
|
+
transactionLineId: string;
|
|
564
|
+
}
|
|
565
|
+
export interface AccountingPaymentBatch {
|
|
566
|
+
accountId: string;
|
|
567
|
+
createdAt: Generated<Timestamp>;
|
|
568
|
+
createdByUserId: string | null;
|
|
569
|
+
currency: string;
|
|
570
|
+
effectiveDate: Timestamp;
|
|
571
|
+
fileContent: string | null;
|
|
572
|
+
fileUpdatedAt: Timestamp | null;
|
|
573
|
+
id: Generated<string>;
|
|
574
|
+
idempotencyKey: string;
|
|
575
|
+
settings: Json;
|
|
576
|
+
tenantId: string;
|
|
577
|
+
type: AccountingPaymentBatchType;
|
|
578
|
+
updatedAt: Generated<Timestamp>;
|
|
579
|
+
voidedAt: Timestamp | null;
|
|
580
|
+
}
|
|
581
|
+
export interface AccountingPaymentBatchItem {
|
|
582
|
+
accountId: string;
|
|
583
|
+
accountKind: AccountingBankAccountKind | null;
|
|
584
|
+
accountNumber: string | null;
|
|
585
|
+
amount: number;
|
|
586
|
+
batchId: string;
|
|
587
|
+
checkNumber: number | null;
|
|
588
|
+
contactId: string;
|
|
589
|
+
createdAt: Generated<Timestamp>;
|
|
590
|
+
id: Generated<string>;
|
|
591
|
+
memo: string | null;
|
|
592
|
+
payeeAddress: Json | null;
|
|
593
|
+
payeeName: string;
|
|
594
|
+
routingNumber: string | null;
|
|
595
|
+
secCode: AccountingNachaSecCode | null;
|
|
596
|
+
stub: Json;
|
|
597
|
+
tenantId: string;
|
|
598
|
+
traceNumber: string | null;
|
|
599
|
+
voidedAt: Timestamp | null;
|
|
600
|
+
}
|
|
601
|
+
export interface AccountingPaymentBatchPayment {
|
|
602
|
+
createdAt: Generated<Timestamp>;
|
|
603
|
+
itemId: string;
|
|
604
|
+
paymentId: string;
|
|
605
|
+
tenantId: string;
|
|
606
|
+
}
|
|
607
|
+
export interface AccountingPaymentCommand {
|
|
608
|
+
createdAt: Generated<Timestamp>;
|
|
609
|
+
fingerprint: string;
|
|
610
|
+
id: string;
|
|
611
|
+
idempotencyKey: string;
|
|
612
|
+
kind: AccountingPaymentCommandKind;
|
|
613
|
+
outcome: AccountingPaymentCommandOutcome | null;
|
|
614
|
+
outcomeAt: Timestamp | null;
|
|
615
|
+
paymentId: string;
|
|
616
|
+
providerFailureCode: string | null;
|
|
617
|
+
tenantId: string;
|
|
618
|
+
}
|
|
619
|
+
export interface AccountingPaymentObservation {
|
|
620
|
+
connectionId: string;
|
|
621
|
+
createdAt: Generated<Timestamp>;
|
|
622
|
+
eventKey: string;
|
|
623
|
+
externalId: string;
|
|
624
|
+
fingerprint: string;
|
|
625
|
+
fundingCurrency: string | null;
|
|
626
|
+
fundingDebited: number | null;
|
|
627
|
+
fundingRefunded: number | null;
|
|
628
|
+
id: Generated<string>;
|
|
629
|
+
issue: AccountingPaymentIssue | null;
|
|
630
|
+
observedAt: Timestamp;
|
|
631
|
+
origin: Generated<AccountingPaymentObservationOrigin>;
|
|
632
|
+
paidAmount: number | null;
|
|
633
|
+
paymentId: string | null;
|
|
634
|
+
providerBillRef: string | null;
|
|
635
|
+
providerPaymentRef: string | null;
|
|
636
|
+
providerStatus: string | null;
|
|
637
|
+
providerUpdatedAt: Timestamp | null;
|
|
638
|
+
resourceType: AccountingPaymentResourceType;
|
|
639
|
+
returnedAt: Timestamp | null;
|
|
640
|
+
settledAt: Timestamp | null;
|
|
641
|
+
snapshot: Json | null;
|
|
642
|
+
sourceId: string | null;
|
|
643
|
+
status: AccountingPaymentStatus | null;
|
|
644
|
+
tenantId: string;
|
|
645
|
+
terminalAt: Timestamp | null;
|
|
646
|
+
}
|
|
647
|
+
export interface AccountingPaymentReversal {
|
|
648
|
+
createdAt: Generated<Timestamp>;
|
|
649
|
+
effectiveAt: Timestamp;
|
|
650
|
+
id: Generated<string>;
|
|
651
|
+
idempotencyKey: string;
|
|
652
|
+
kind: AccountingPaymentReversalKind;
|
|
653
|
+
paymentId: string;
|
|
654
|
+
postingDate: Timestamp | null;
|
|
655
|
+
reason: string | null;
|
|
656
|
+
requestFingerprint: string;
|
|
657
|
+
tenantId: string;
|
|
658
|
+
}
|
|
659
|
+
export interface AccountingPayoutHold {
|
|
660
|
+
contactId: string;
|
|
661
|
+
createdAt: Generated<Timestamp>;
|
|
662
|
+
createdByApiTokenId: string | null;
|
|
663
|
+
createdByUserId: string | null;
|
|
664
|
+
heldUntil: Timestamp;
|
|
665
|
+
id: Generated<string>;
|
|
666
|
+
reason: AccountingPayoutHoldReason;
|
|
667
|
+
releasedAt: Timestamp | null;
|
|
668
|
+
releasedByUserId: string | null;
|
|
669
|
+
tenantId: string;
|
|
670
|
+
}
|
|
332
671
|
export interface AccountingRate {
|
|
333
672
|
accountId: string | null;
|
|
334
673
|
basisPoints: number;
|
|
@@ -349,6 +688,45 @@ export interface AccountingRate {
|
|
|
349
688
|
export interface AccountingRateType {
|
|
350
689
|
name: string;
|
|
351
690
|
}
|
|
691
|
+
export interface AccountingReservationJournalFreshnessControl {
|
|
692
|
+
createdAt: Generated<Timestamp>;
|
|
693
|
+
guardsEnabledAt: Timestamp | null;
|
|
694
|
+
tenantId: string;
|
|
695
|
+
updatedAt: Generated<Timestamp>;
|
|
696
|
+
}
|
|
697
|
+
export interface AccountingReservationJournalInvalidation {
|
|
698
|
+
actionId: string | null;
|
|
699
|
+
appliedAt: Timestamp | null;
|
|
700
|
+
coveredByEffectId: string | null;
|
|
701
|
+
createdAt: Generated<Timestamp>;
|
|
702
|
+
effectId: string | null;
|
|
703
|
+
failureCode: AccountingReservationJournalInvalidationFailure | null;
|
|
704
|
+
id: Generated<string>;
|
|
705
|
+
reservationId: string;
|
|
706
|
+
revision: Int8;
|
|
707
|
+
sourceResourceId: string | null;
|
|
708
|
+
sourceResourceType: CoreOperationResourceType | null;
|
|
709
|
+
tenantId: string;
|
|
710
|
+
}
|
|
711
|
+
export interface AccountingReservationJournalState {
|
|
712
|
+
appliedRevision: Generated<Int8>;
|
|
713
|
+
calculatedAt: Timestamp | null;
|
|
714
|
+
createdAt: Generated<Timestamp>;
|
|
715
|
+
desiredRevision: Generated<Int8>;
|
|
716
|
+
reservationId: string;
|
|
717
|
+
staleSince: Timestamp | null;
|
|
718
|
+
tenantId: string;
|
|
719
|
+
updatedAt: Generated<Timestamp>;
|
|
720
|
+
}
|
|
721
|
+
export interface AccountingReservationJournalStatementImpact {
|
|
722
|
+
createdAt: Generated<Timestamp>;
|
|
723
|
+
currency: string;
|
|
724
|
+
invalidationId: string;
|
|
725
|
+
listingId: string;
|
|
726
|
+
listingOwnershipPeriodId: string;
|
|
727
|
+
month: Timestamp;
|
|
728
|
+
tenantId: string;
|
|
729
|
+
}
|
|
352
730
|
export interface AccountingTaxBehavior {
|
|
353
731
|
name: string;
|
|
354
732
|
}
|
|
@@ -371,9 +749,12 @@ export interface AccountingTransaction {
|
|
|
371
749
|
matchStatus: Generated<string | null>;
|
|
372
750
|
paidAt: Timestamp | null;
|
|
373
751
|
paidStatus: Generated<string | null>;
|
|
752
|
+
recreatedFromTransactionId: string | null;
|
|
374
753
|
recurringFeeId: string | null;
|
|
375
754
|
recurringPattern: Json | null;
|
|
376
755
|
recurringTemplateId: string | null;
|
|
756
|
+
returnedFromTransactionId: string | null;
|
|
757
|
+
returnEffectiveAt: Timestamp | null;
|
|
377
758
|
/**
|
|
378
759
|
* Human-readable system ID (EXP/DEP/PAY/TRF-XXX-XXXX-XXX depending on transaction.type).
|
|
379
760
|
*/
|
|
@@ -384,6 +765,7 @@ export interface AccountingTransaction {
|
|
|
384
765
|
type: string;
|
|
385
766
|
uniqueRef: string | null;
|
|
386
767
|
updatedAt: Generated<Timestamp>;
|
|
768
|
+
webhookVersion: Generated<Int8>;
|
|
387
769
|
}
|
|
388
770
|
export interface AccountingTransactionAttachment {
|
|
389
771
|
byteSize: number;
|
|
@@ -432,7 +814,13 @@ export interface AccountingTransactionType {
|
|
|
432
814
|
}
|
|
433
815
|
export interface AuditAction {
|
|
434
816
|
actionType: string;
|
|
817
|
+
actorEmail: string | null;
|
|
435
818
|
actorId: string | null;
|
|
819
|
+
actorLabel: string | null;
|
|
820
|
+
actorName: string | null;
|
|
821
|
+
actorOrganizationId: string | null;
|
|
822
|
+
actorOrganizationName: string | null;
|
|
823
|
+
actorOrganizationType: AuditActorOrganizationType | null;
|
|
436
824
|
actorType: AuditActionActorType;
|
|
437
825
|
apiVersion: string;
|
|
438
826
|
createdAt: Generated<Timestamp>;
|
|
@@ -440,14 +828,22 @@ export interface AuditAction {
|
|
|
440
828
|
message: string | null;
|
|
441
829
|
parentActionId: string | null;
|
|
442
830
|
payload: Json | null;
|
|
831
|
+
publicEventProjectedAt: Timestamp | null;
|
|
443
832
|
requestId: string | null;
|
|
444
833
|
rootEntityId: string | null;
|
|
445
834
|
rootEntityType: string | null;
|
|
446
835
|
source: string | null;
|
|
836
|
+
sourceType: AuditSourceType | null;
|
|
447
837
|
tenantId: string;
|
|
448
838
|
traceId: string | null;
|
|
449
839
|
}
|
|
840
|
+
export interface AuditActionClientIp {
|
|
841
|
+
actionId: string;
|
|
842
|
+
clientIp: string;
|
|
843
|
+
createdAt: Generated<Timestamp>;
|
|
844
|
+
}
|
|
450
845
|
export interface AuditEffect {
|
|
846
|
+
accountingRelevant: Generated<boolean>;
|
|
451
847
|
actionId: string;
|
|
452
848
|
claimedAt: Timestamp | null;
|
|
453
849
|
claimedBy: string | null;
|
|
@@ -485,8 +881,16 @@ export interface AuditEffectAttempt {
|
|
|
485
881
|
workerId: string | null;
|
|
486
882
|
}
|
|
487
883
|
export interface AuditJournalDelta {
|
|
884
|
+
accountCategoryIdAfter: string | null;
|
|
885
|
+
accountCategoryIdBefore: string | null;
|
|
886
|
+
accountCategoryNameAfter: string | null;
|
|
887
|
+
accountCategoryNameBefore: string | null;
|
|
888
|
+
accountClassificationAfter: string | null;
|
|
889
|
+
accountClassificationBefore: string | null;
|
|
488
890
|
accountIdAfter: string | null;
|
|
489
891
|
accountIdBefore: string | null;
|
|
892
|
+
accountNameAfter: string | null;
|
|
893
|
+
accountNameBefore: string | null;
|
|
490
894
|
actionId: string;
|
|
491
895
|
apiVersion: string;
|
|
492
896
|
attachedToOwnerStatementIdAfter: string | null;
|
|
@@ -495,10 +899,14 @@ export interface AuditJournalDelta {
|
|
|
495
899
|
centTotalBefore: Int8 | null;
|
|
496
900
|
changedAt: Generated<Timestamp>;
|
|
497
901
|
changedFields: Generated<string[]>;
|
|
902
|
+
currencyAfter: string | null;
|
|
903
|
+
currencyBefore: string | null;
|
|
498
904
|
diffJson: Json | null;
|
|
499
905
|
effectId: string | null;
|
|
500
906
|
id: Generated<string>;
|
|
501
907
|
journalEntryId: string;
|
|
908
|
+
ledgerAfter: string | null;
|
|
909
|
+
ledgerBefore: string | null;
|
|
502
910
|
listingOwnershipPeriodIdAfter: string | null;
|
|
503
911
|
listingOwnershipPeriodIdBefore: string | null;
|
|
504
912
|
mutationId: string | null;
|
|
@@ -514,21 +922,120 @@ export interface AuditJournalDelta {
|
|
|
514
922
|
txnAtBefore: Timestamp | null;
|
|
515
923
|
}
|
|
516
924
|
export interface AuditMutation {
|
|
925
|
+
accountingRelevant: Generated<boolean>;
|
|
517
926
|
actionId: string;
|
|
927
|
+
captureOrder: Generated<Int8 | null>;
|
|
518
928
|
changeRecord: Json;
|
|
519
929
|
createdAt: Generated<Timestamp>;
|
|
520
930
|
effectId: string | null;
|
|
521
931
|
id: Generated<string>;
|
|
522
932
|
op: string;
|
|
933
|
+
publicChanges: Generated<Json>;
|
|
934
|
+
publicOutcome: Json | null;
|
|
523
935
|
rootEntityId: string | null;
|
|
524
936
|
rootEntityType: string | null;
|
|
525
937
|
subjectId: string;
|
|
526
938
|
subjectType: string;
|
|
527
939
|
tenantId: string;
|
|
528
940
|
}
|
|
941
|
+
export interface AuditPublicEvent {
|
|
942
|
+
accountingStatus: AuditPublicEventAccountingStatus;
|
|
943
|
+
actionCode: string;
|
|
944
|
+
actionId: string;
|
|
945
|
+
actionSummary: string;
|
|
946
|
+
actorEmail: string | null;
|
|
947
|
+
actorId: string | null;
|
|
948
|
+
actorLabel: string | null;
|
|
949
|
+
actorName: string | null;
|
|
950
|
+
actorOrganizationId: string | null;
|
|
951
|
+
actorOrganizationName: string | null;
|
|
952
|
+
actorOrganizationType: AuditActorOrganizationType | null;
|
|
953
|
+
actorType: AuditActionActorType;
|
|
954
|
+
affectedAccountIds: Generated<string[]>;
|
|
955
|
+
attemptedEntityChanges: Generated<Json>;
|
|
956
|
+
blockedBy: Generated<Json>;
|
|
957
|
+
changedEntityTypes: Generated<string[]>;
|
|
958
|
+
changedPaths: Generated<string[]>;
|
|
959
|
+
entityChanges: Generated<Json>;
|
|
960
|
+
entityName: string | null;
|
|
961
|
+
entityUniqueRef: string | null;
|
|
962
|
+
hasChanges: Generated<boolean>;
|
|
963
|
+
id: Generated<string>;
|
|
964
|
+
netEffect: Generated<Json>;
|
|
965
|
+
occurredAt: Timestamp;
|
|
966
|
+
operation: AuditPublicEventOperation;
|
|
967
|
+
projectedAt: Generated<Timestamp>;
|
|
968
|
+
projectionFingerprint: string;
|
|
969
|
+
projectionVersion: Generated<number>;
|
|
970
|
+
recovery: Generated<Json>;
|
|
971
|
+
requestId: string | null;
|
|
972
|
+
revision: Generated<number>;
|
|
973
|
+
rootEntityId: string;
|
|
974
|
+
rootEntityType: string;
|
|
975
|
+
sourceType: AuditSourceType;
|
|
976
|
+
teamName: string;
|
|
977
|
+
teamUniqueRef: string | null;
|
|
978
|
+
tenantId: string;
|
|
979
|
+
updatedAt: Generated<Timestamp>;
|
|
980
|
+
}
|
|
981
|
+
export interface AuditPublicEventEntryChange {
|
|
982
|
+
accountIdAfter: string | null;
|
|
983
|
+
accountIdBefore: string | null;
|
|
984
|
+
afterSnapshot: Json | null;
|
|
985
|
+
beforeSnapshot: Json | null;
|
|
986
|
+
causedBy: Json | null;
|
|
987
|
+
changedAt: Timestamp;
|
|
988
|
+
changedFields: Generated<string[]>;
|
|
989
|
+
eventId: string;
|
|
990
|
+
eventRevision: number;
|
|
991
|
+
id: string;
|
|
992
|
+
journalEntryId: string;
|
|
993
|
+
operation: AuditJournalDeltaOperation;
|
|
994
|
+
tenantId: string;
|
|
995
|
+
}
|
|
996
|
+
export interface AuditPublicEventProjectionState {
|
|
997
|
+
cutoverAt: Generated<Timestamp>;
|
|
998
|
+
lastRecoveredAt: Timestamp | null;
|
|
999
|
+
retainedFrom: Timestamp | null;
|
|
1000
|
+
singleton: Generated<boolean>;
|
|
1001
|
+
}
|
|
1002
|
+
export interface BillingListingFact {
|
|
1003
|
+
activeListings: number;
|
|
1004
|
+
billingPartnerId: string | null;
|
|
1005
|
+
dataRegion: string;
|
|
1006
|
+
effectiveAt: Timestamp;
|
|
1007
|
+
id: Generated<string>;
|
|
1008
|
+
reconciliation: Generated<boolean>;
|
|
1009
|
+
recordedAt: Generated<Timestamp>;
|
|
1010
|
+
sourceId: string;
|
|
1011
|
+
sourceRevision: Int8 | null;
|
|
1012
|
+
sourceType: BillingListingFactSourceType;
|
|
1013
|
+
tenantId: string;
|
|
1014
|
+
tenantName: string;
|
|
1015
|
+
}
|
|
1016
|
+
export interface BillingListingFactReadiness {
|
|
1017
|
+
availableFrom: Timestamp | null;
|
|
1018
|
+
legacyGapCount: number | null;
|
|
1019
|
+
legacyImportedRows: number | null;
|
|
1020
|
+
parityConfirmed: Generated<boolean>;
|
|
1021
|
+
readyAt: Timestamp | null;
|
|
1022
|
+
singleton: Generated<boolean>;
|
|
1023
|
+
verifiedMonth: Timestamp | null;
|
|
1024
|
+
}
|
|
529
1025
|
export interface CoreActiveStatus {
|
|
530
1026
|
name: string;
|
|
531
1027
|
}
|
|
1028
|
+
export interface CoreAsyncOperationResult {
|
|
1029
|
+
checkpoint: Json | null;
|
|
1030
|
+
createdAt: Generated<Timestamp>;
|
|
1031
|
+
errorMessage: string | null;
|
|
1032
|
+
operationId: string;
|
|
1033
|
+
result: Json | null;
|
|
1034
|
+
status: Generated<CoreAsyncOperationResultStatus>;
|
|
1035
|
+
tenantId: string;
|
|
1036
|
+
type: CoreOperationType;
|
|
1037
|
+
updatedAt: Generated<Timestamp>;
|
|
1038
|
+
}
|
|
532
1039
|
export interface CoreChange {
|
|
533
1040
|
automationId: string | null;
|
|
534
1041
|
changeData: Json | null;
|
|
@@ -580,6 +1087,66 @@ export interface CoreChangeSyncType {
|
|
|
580
1087
|
export interface CoreChangeType {
|
|
581
1088
|
name: string;
|
|
582
1089
|
}
|
|
1090
|
+
export interface CoreCsvOperationResult {
|
|
1091
|
+
connectionId: string;
|
|
1092
|
+
createdAt: Generated<Timestamp>;
|
|
1093
|
+
errorMessage: string | null;
|
|
1094
|
+
kind: CoreCsvOperationResultKind;
|
|
1095
|
+
result: Json | null;
|
|
1096
|
+
status: Generated<CoreCsvOperationResultStatus>;
|
|
1097
|
+
syncId: string;
|
|
1098
|
+
tenantId: string;
|
|
1099
|
+
updatedAt: Generated<Timestamp>;
|
|
1100
|
+
}
|
|
1101
|
+
export interface CoreEmailDelivery {
|
|
1102
|
+
attemptCount: Generated<number>;
|
|
1103
|
+
contactId: string | null;
|
|
1104
|
+
createdAt: Generated<Timestamp>;
|
|
1105
|
+
failureCode: CoreEmailDeliveryFailureCode | null;
|
|
1106
|
+
finishedAt: Timestamp | null;
|
|
1107
|
+
httpStatus: number | null;
|
|
1108
|
+
id: Generated<string>;
|
|
1109
|
+
lastAttemptAt: Timestamp | null;
|
|
1110
|
+
notificationId: string;
|
|
1111
|
+
postmarkErrorCode: number | null;
|
|
1112
|
+
postmarkMessageId: string | null;
|
|
1113
|
+
recipientEmail: string | null;
|
|
1114
|
+
status: Generated<CoreEmailDeliveryStatus>;
|
|
1115
|
+
submittedAt: Timestamp | null;
|
|
1116
|
+
tenantId: string;
|
|
1117
|
+
triggerRunId: string | null;
|
|
1118
|
+
updatedAt: Generated<Timestamp>;
|
|
1119
|
+
userId: string | null;
|
|
1120
|
+
}
|
|
1121
|
+
export interface CoreEmailNotification {
|
|
1122
|
+
createdAt: Generated<Timestamp>;
|
|
1123
|
+
finishedAt: Timestamp | null;
|
|
1124
|
+
id: string;
|
|
1125
|
+
ownerStatementId: string;
|
|
1126
|
+
recipientsResolvedAt: Timestamp | null;
|
|
1127
|
+
requestedByUserId: string | null;
|
|
1128
|
+
startedAt: Timestamp | null;
|
|
1129
|
+
status: Generated<CoreEmailNotificationStatus>;
|
|
1130
|
+
tenantId: string;
|
|
1131
|
+
trigger: CoreEmailNotificationTrigger | null;
|
|
1132
|
+
triggerRunId: string | null;
|
|
1133
|
+
updatedAt: Generated<Timestamp>;
|
|
1134
|
+
}
|
|
1135
|
+
export interface CoreExportJob {
|
|
1136
|
+
createdAt: Generated<Timestamp>;
|
|
1137
|
+
errorMessage: string | null;
|
|
1138
|
+
fileId: string;
|
|
1139
|
+
filename: string;
|
|
1140
|
+
finishedAt: Timestamp | null;
|
|
1141
|
+
format: CoreExportJobFormat;
|
|
1142
|
+
id: string;
|
|
1143
|
+
payload: Json;
|
|
1144
|
+
startedAt: Timestamp | null;
|
|
1145
|
+
status: Generated<CoreOperationStatus>;
|
|
1146
|
+
taskId: CoreExportJobTaskId;
|
|
1147
|
+
tenantId: string;
|
|
1148
|
+
updatedAt: Generated<Timestamp>;
|
|
1149
|
+
}
|
|
583
1150
|
export interface CoreFlow {
|
|
584
1151
|
appId: string;
|
|
585
1152
|
description: string | null;
|
|
@@ -596,6 +1163,64 @@ export interface CoreFlow {
|
|
|
596
1163
|
uniqueRef: string;
|
|
597
1164
|
useGlobalMapping: Generated<boolean>;
|
|
598
1165
|
}
|
|
1166
|
+
export interface CoreFlowEvent {
|
|
1167
|
+
attempts: Generated<number>;
|
|
1168
|
+
availableAt: Generated<Timestamp>;
|
|
1169
|
+
claimedAt: Timestamp | null;
|
|
1170
|
+
claimedBy: string | null;
|
|
1171
|
+
completedAt: Timestamp | null;
|
|
1172
|
+
createdAt: Generated<Timestamp>;
|
|
1173
|
+
data: Generated<Json>;
|
|
1174
|
+
entityId: string;
|
|
1175
|
+
entityType: string;
|
|
1176
|
+
eventType: string;
|
|
1177
|
+
id: Generated<string>;
|
|
1178
|
+
lastErrorCode: string | null;
|
|
1179
|
+
lastErrorDetails: Json | null;
|
|
1180
|
+
maxAttempts: Generated<number>;
|
|
1181
|
+
requiresSensitiveInput: Generated<boolean>;
|
|
1182
|
+
status: Generated<CoreFlowEventStatus>;
|
|
1183
|
+
syncId: string | null;
|
|
1184
|
+
targetConnectionId: string | null;
|
|
1185
|
+
targetFlowId: string | null;
|
|
1186
|
+
tenantId: string;
|
|
1187
|
+
updatedAt: Generated<Timestamp>;
|
|
1188
|
+
}
|
|
1189
|
+
export interface CoreFlowEventDelivery {
|
|
1190
|
+
attempts: Generated<number>;
|
|
1191
|
+
availableAt: Generated<Timestamp>;
|
|
1192
|
+
claimedAt: Timestamp | null;
|
|
1193
|
+
claimedBy: string | null;
|
|
1194
|
+
completedAt: Timestamp | null;
|
|
1195
|
+
connectionId: string;
|
|
1196
|
+
createdAt: Generated<Timestamp>;
|
|
1197
|
+
eventId: string;
|
|
1198
|
+
flowId: string;
|
|
1199
|
+
id: Generated<string>;
|
|
1200
|
+
lastErrorCode: string | null;
|
|
1201
|
+
lastErrorDetails: Json | null;
|
|
1202
|
+
maxAttempts: Generated<number>;
|
|
1203
|
+
status: Generated<CoreFlowEventStatus>;
|
|
1204
|
+
tenantId: string;
|
|
1205
|
+
triggerRunId: string | null;
|
|
1206
|
+
updatedAt: Generated<Timestamp>;
|
|
1207
|
+
}
|
|
1208
|
+
export interface CoreFlowEventOperation {
|
|
1209
|
+
action: CoreFlowEventOperationAction;
|
|
1210
|
+
actor: string;
|
|
1211
|
+
createdAt: Generated<Timestamp>;
|
|
1212
|
+
eventId: string;
|
|
1213
|
+
id: Generated<string>;
|
|
1214
|
+
previousStatus: CoreFlowEventStatus;
|
|
1215
|
+
reasonCode: string;
|
|
1216
|
+
}
|
|
1217
|
+
export interface CoreFlowEventSecret {
|
|
1218
|
+
createdAt: Generated<Timestamp>;
|
|
1219
|
+
encryptedPayload: string;
|
|
1220
|
+
encryptionKeyId: string;
|
|
1221
|
+
eventId: string;
|
|
1222
|
+
expiresAt: Timestamp;
|
|
1223
|
+
}
|
|
599
1224
|
export interface CoreFlowMapping {
|
|
600
1225
|
accountId: string | null;
|
|
601
1226
|
bookingChannelId: string | null;
|
|
@@ -634,6 +1259,56 @@ export interface CoreIssueMessageOverwrite {
|
|
|
634
1259
|
pattern: string;
|
|
635
1260
|
updatedAt: Generated<Timestamp | null>;
|
|
636
1261
|
}
|
|
1262
|
+
export interface CoreOperation {
|
|
1263
|
+
createdAt: Generated<Timestamp>;
|
|
1264
|
+
failureCode: string | null;
|
|
1265
|
+
failureMessage: string | null;
|
|
1266
|
+
finishedAt: Timestamp | null;
|
|
1267
|
+
id: Generated<string>;
|
|
1268
|
+
initiatedByUserId: string | null;
|
|
1269
|
+
publicIdFormat: Generated<CoreOperationPublicIdFormat>;
|
|
1270
|
+
retainUntil: Timestamp | null;
|
|
1271
|
+
sourceVersion: Generated<Int8>;
|
|
1272
|
+
startedAt: Timestamp | null;
|
|
1273
|
+
status: Generated<CoreOperationStatus>;
|
|
1274
|
+
tenantId: string;
|
|
1275
|
+
type: CoreOperationType;
|
|
1276
|
+
updatedAt: Generated<Timestamp>;
|
|
1277
|
+
}
|
|
1278
|
+
export interface CoreOperationBackfill {
|
|
1279
|
+
completedAt: Timestamp | null;
|
|
1280
|
+
createdAt: Generated<Timestamp>;
|
|
1281
|
+
name: string;
|
|
1282
|
+
updatedAt: Generated<Timestamp>;
|
|
1283
|
+
}
|
|
1284
|
+
export interface CoreOperationProjectionOutbox {
|
|
1285
|
+
attempts: Generated<number>;
|
|
1286
|
+
availableAt: Generated<Timestamp>;
|
|
1287
|
+
createdAt: Generated<Timestamp>;
|
|
1288
|
+
id: Generated<string>;
|
|
1289
|
+
lastError: string | null;
|
|
1290
|
+
operationId: string;
|
|
1291
|
+
publishedAt: Timestamp | null;
|
|
1292
|
+
sourceVersion: Int8;
|
|
1293
|
+
}
|
|
1294
|
+
export interface CoreOperationResource {
|
|
1295
|
+
createdAt: Generated<Timestamp>;
|
|
1296
|
+
isPrimary: Generated<boolean>;
|
|
1297
|
+
operationId: string;
|
|
1298
|
+
resourceId: string;
|
|
1299
|
+
resourceType: CoreOperationResourceType;
|
|
1300
|
+
role: CoreOperationResourceRole;
|
|
1301
|
+
}
|
|
1302
|
+
export interface CoreOperationSource {
|
|
1303
|
+
finishedAt: Timestamp | null;
|
|
1304
|
+
operationId: string;
|
|
1305
|
+
required: Generated<boolean>;
|
|
1306
|
+
sourceId: string;
|
|
1307
|
+
sourceType: CoreOperationSourceType;
|
|
1308
|
+
sourceVersion: Generated<Int8>;
|
|
1309
|
+
startedAt: Timestamp | null;
|
|
1310
|
+
status: Generated<CoreOperationStatus>;
|
|
1311
|
+
}
|
|
637
1312
|
export interface CoreSync {
|
|
638
1313
|
automationId: string | null;
|
|
639
1314
|
connectionId: string | null;
|
|
@@ -651,6 +1326,7 @@ export interface CoreSync {
|
|
|
651
1326
|
type: string;
|
|
652
1327
|
updatedAt: Generated<Timestamp>;
|
|
653
1328
|
userId: string | null;
|
|
1329
|
+
webhookVersion: Generated<Int8>;
|
|
654
1330
|
}
|
|
655
1331
|
export interface CoreSyncStatus {
|
|
656
1332
|
name: string;
|
|
@@ -775,6 +1451,283 @@ export interface HdbCatalogHdbVersion {
|
|
|
775
1451
|
upgradedOn: Timestamp;
|
|
776
1452
|
version: string;
|
|
777
1453
|
}
|
|
1454
|
+
export interface HealthAccountingIntegrityCase {
|
|
1455
|
+
actionability: HealthAccountingIntegrityActionability;
|
|
1456
|
+
actual: Json;
|
|
1457
|
+
assignedAt: Timestamp | null;
|
|
1458
|
+
assignedTo: string | null;
|
|
1459
|
+
caseKey: string;
|
|
1460
|
+
code: string;
|
|
1461
|
+
confidence: HealthAccountingIntegrityConfidence;
|
|
1462
|
+
contentHash: string;
|
|
1463
|
+
createdAt: Generated<Timestamp>;
|
|
1464
|
+
dataRegion: string;
|
|
1465
|
+
definitionVersion: number;
|
|
1466
|
+
evidence: Json;
|
|
1467
|
+
evidenceComplete: boolean;
|
|
1468
|
+
expected: Json;
|
|
1469
|
+
firstSeenAt: Timestamp;
|
|
1470
|
+
gitRevision: string;
|
|
1471
|
+
historicalIssueRefs: Json;
|
|
1472
|
+
id: Generated<string>;
|
|
1473
|
+
impact: Json;
|
|
1474
|
+
lastChangedAt: Timestamp;
|
|
1475
|
+
lastSeenAt: Timestamp;
|
|
1476
|
+
lockAssessment: Json;
|
|
1477
|
+
portalUrls: Json;
|
|
1478
|
+
repair: Json;
|
|
1479
|
+
resolutionClassification: HealthAccountingIntegrityResolutionClassification;
|
|
1480
|
+
resolvedAt: Timestamp | null;
|
|
1481
|
+
reviewedAt: Timestamp | null;
|
|
1482
|
+
reviewedBy: string | null;
|
|
1483
|
+
reviewRationale: string | null;
|
|
1484
|
+
reviewStatus: Generated<HealthAccountingIntegrityReviewStatus>;
|
|
1485
|
+
rootCause: string;
|
|
1486
|
+
runId: string;
|
|
1487
|
+
severity: HealthAccountingIntegritySeverity;
|
|
1488
|
+
status: HealthAccountingIntegrityCaseStatus;
|
|
1489
|
+
tenantId: string;
|
|
1490
|
+
title: string;
|
|
1491
|
+
updatedAt: Generated<Timestamp>;
|
|
1492
|
+
urgency: HealthAccountingIntegrityUrgency;
|
|
1493
|
+
verification: Json;
|
|
1494
|
+
version: Generated<Int8>;
|
|
1495
|
+
}
|
|
1496
|
+
export interface HealthAccountingIntegrityComparisonFinding {
|
|
1497
|
+
caseKey: string;
|
|
1498
|
+
code: string;
|
|
1499
|
+
contentHash: string;
|
|
1500
|
+
createdAt: Generated<Timestamp>;
|
|
1501
|
+
dataRegion: string;
|
|
1502
|
+
firstSeenAt: Timestamp;
|
|
1503
|
+
id: Generated<string>;
|
|
1504
|
+
recordId: string;
|
|
1505
|
+
recordType: HealthAccountingIntegrityDirtyRecordType;
|
|
1506
|
+
severity: HealthAccountingIntegritySeverity;
|
|
1507
|
+
tenantId: string;
|
|
1508
|
+
updatedAt: Generated<Timestamp>;
|
|
1509
|
+
}
|
|
1510
|
+
export interface HealthAccountingIntegrityDelivery {
|
|
1511
|
+
attempts: Generated<number>;
|
|
1512
|
+
caseId: string | null;
|
|
1513
|
+
channel: HealthAccountingIntegrityDeliveryChannel;
|
|
1514
|
+
claimedAt: Timestamp | null;
|
|
1515
|
+
claimId: string | null;
|
|
1516
|
+
createdAt: Generated<Timestamp>;
|
|
1517
|
+
dedupeKey: string;
|
|
1518
|
+
deliveredAt: Timestamp | null;
|
|
1519
|
+
eventType: string;
|
|
1520
|
+
id: Generated<string>;
|
|
1521
|
+
lastError: Json | null;
|
|
1522
|
+
nextAttemptAt: Generated<Timestamp>;
|
|
1523
|
+
payload: Json;
|
|
1524
|
+
result: Json | null;
|
|
1525
|
+
runId: string;
|
|
1526
|
+
status: Generated<HealthAccountingIntegrityDeliveryStatus>;
|
|
1527
|
+
updatedAt: Generated<Timestamp>;
|
|
1528
|
+
}
|
|
1529
|
+
export interface HealthAccountingIntegrityDirtyRecord {
|
|
1530
|
+
claimedUntil: Timestamp | null;
|
|
1531
|
+
claimToken: string | null;
|
|
1532
|
+
computedAt: Timestamp | null;
|
|
1533
|
+
computedVersion: Generated<Int8>;
|
|
1534
|
+
createdAt: Generated<Timestamp>;
|
|
1535
|
+
dirtyAt: Generated<Timestamp>;
|
|
1536
|
+
dirtyVersion: Generated<Int8>;
|
|
1537
|
+
recordId: string;
|
|
1538
|
+
recordType: HealthAccountingIntegrityDirtyRecordType;
|
|
1539
|
+
tenantId: string;
|
|
1540
|
+
updatedAt: Generated<Timestamp>;
|
|
1541
|
+
}
|
|
1542
|
+
export interface HealthAccountingIntegrityOperatorEvent {
|
|
1543
|
+
actorId: string;
|
|
1544
|
+
caseId: string | null;
|
|
1545
|
+
caseVersion: Int8 | null;
|
|
1546
|
+
client: string;
|
|
1547
|
+
createdAt: Generated<Timestamp>;
|
|
1548
|
+
id: Generated<string>;
|
|
1549
|
+
idempotencyKey: string;
|
|
1550
|
+
payload: Json;
|
|
1551
|
+
planId: string | null;
|
|
1552
|
+
rationale: string | null;
|
|
1553
|
+
requestId: string;
|
|
1554
|
+
stageId: string | null;
|
|
1555
|
+
targetId: string | null;
|
|
1556
|
+
type: string;
|
|
1557
|
+
}
|
|
1558
|
+
export interface HealthAccountingIntegrityRepairPlan {
|
|
1559
|
+
canceledAt: Timestamp | null;
|
|
1560
|
+
code: string;
|
|
1561
|
+
completedAt: Timestamp | null;
|
|
1562
|
+
createdAt: Generated<Timestamp>;
|
|
1563
|
+
createdBy: string;
|
|
1564
|
+
dataRegion: string;
|
|
1565
|
+
environment: string;
|
|
1566
|
+
gitRevision: string;
|
|
1567
|
+
id: Generated<string>;
|
|
1568
|
+
linearRef: string | null;
|
|
1569
|
+
recipeVersion: number;
|
|
1570
|
+
status: Generated<HealthAccountingIntegrityRepairPlanStatus>;
|
|
1571
|
+
title: string;
|
|
1572
|
+
updatedAt: Generated<Timestamp>;
|
|
1573
|
+
}
|
|
1574
|
+
export interface HealthAccountingIntegrityRepairStage {
|
|
1575
|
+
applyResult: Json | null;
|
|
1576
|
+
approvalRef: string | null;
|
|
1577
|
+
approvedAt: Timestamp | null;
|
|
1578
|
+
approvedBy: string | null;
|
|
1579
|
+
completedAt: Timestamp | null;
|
|
1580
|
+
createdAt: Generated<Timestamp>;
|
|
1581
|
+
dryRunResult: Json | null;
|
|
1582
|
+
id: Generated<string>;
|
|
1583
|
+
limits: Json;
|
|
1584
|
+
manifest: Json;
|
|
1585
|
+
manifestHash: string;
|
|
1586
|
+
ordinal: number;
|
|
1587
|
+
planId: string;
|
|
1588
|
+
scopeType: HealthAccountingIntegrityRepairScopeType;
|
|
1589
|
+
startedAt: Timestamp | null;
|
|
1590
|
+
status: Generated<HealthAccountingIntegrityRepairStageStatus>;
|
|
1591
|
+
tenantId: string;
|
|
1592
|
+
updatedAt: Generated<Timestamp>;
|
|
1593
|
+
verificationResult: Json | null;
|
|
1594
|
+
}
|
|
1595
|
+
export interface HealthAccountingIntegrityRepairTarget {
|
|
1596
|
+
action: Json;
|
|
1597
|
+
applyResult: Json | null;
|
|
1598
|
+
auditActionId: string | null;
|
|
1599
|
+
beforeHash: string;
|
|
1600
|
+
beforeState: Json;
|
|
1601
|
+
caseContentHash: string;
|
|
1602
|
+
caseId: string;
|
|
1603
|
+
caseVersion: Int8;
|
|
1604
|
+
completedAt: Timestamp | null;
|
|
1605
|
+
createdAt: Generated<Timestamp>;
|
|
1606
|
+
effectPlan: Json;
|
|
1607
|
+
expectedResult: Json;
|
|
1608
|
+
id: Generated<string>;
|
|
1609
|
+
idempotencyKey: string;
|
|
1610
|
+
lockAssessment: Json;
|
|
1611
|
+
ordinal: number;
|
|
1612
|
+
stageId: string;
|
|
1613
|
+
startedAt: Timestamp | null;
|
|
1614
|
+
status: Generated<HealthAccountingIntegrityRepairTargetStatus>;
|
|
1615
|
+
targetKey: string;
|
|
1616
|
+
tenantId: string;
|
|
1617
|
+
updatedAt: Generated<Timestamp>;
|
|
1618
|
+
verificationResult: Json | null;
|
|
1619
|
+
}
|
|
1620
|
+
export interface HealthAccountingIntegrityRepairTransition {
|
|
1621
|
+
actor: string;
|
|
1622
|
+
createdAt: Generated<Timestamp>;
|
|
1623
|
+
id: Generated<string>;
|
|
1624
|
+
payload: Json;
|
|
1625
|
+
planId: string;
|
|
1626
|
+
stageId: string | null;
|
|
1627
|
+
targetId: string | null;
|
|
1628
|
+
type: HealthAccountingIntegrityRepairTransitionType;
|
|
1629
|
+
}
|
|
1630
|
+
export interface HealthAccountingIntegrityRun {
|
|
1631
|
+
caseCount: Generated<Int8>;
|
|
1632
|
+
changedCaseCount: Generated<Int8>;
|
|
1633
|
+
code: string;
|
|
1634
|
+
completedAt: Timestamp | null;
|
|
1635
|
+
createdAt: Generated<Timestamp>;
|
|
1636
|
+
dataRegion: string;
|
|
1637
|
+
definitionArtifactHash: string | null;
|
|
1638
|
+
definitionTemplateId: string | null;
|
|
1639
|
+
definitionTemplateVersion: number | null;
|
|
1640
|
+
definitionVersion: number;
|
|
1641
|
+
definitionVersionId: string | null;
|
|
1642
|
+
environment: string;
|
|
1643
|
+
error: Json | null;
|
|
1644
|
+
evaluationId: string;
|
|
1645
|
+
findingRowCount: Generated<Int8>;
|
|
1646
|
+
gitRevision: string;
|
|
1647
|
+
id: Generated<string>;
|
|
1648
|
+
openedCaseCount: Generated<Int8>;
|
|
1649
|
+
operatorDefinitionVersion: number | null;
|
|
1650
|
+
reopenedCaseCount: Generated<Int8>;
|
|
1651
|
+
resolvedCaseCount: Generated<Int8>;
|
|
1652
|
+
resolvesCases: Generated<boolean>;
|
|
1653
|
+
rowsScanned: Generated<Int8>;
|
|
1654
|
+
scopeTenantIds: string[] | null;
|
|
1655
|
+
shardKey: Generated<string>;
|
|
1656
|
+
startedAt: Timestamp;
|
|
1657
|
+
status: HealthAccountingIntegrityRunStatus;
|
|
1658
|
+
unchangedCaseCount: Generated<Int8>;
|
|
1659
|
+
updatedAt: Generated<Timestamp>;
|
|
1660
|
+
}
|
|
1661
|
+
export interface HealthAccountingIntegritySweepCursor {
|
|
1662
|
+
createdAt: Generated<Timestamp>;
|
|
1663
|
+
cycleStartedAt: Generated<Timestamp>;
|
|
1664
|
+
definitionsHash: string | null;
|
|
1665
|
+
lastCycleCompletedAt: Timestamp | null;
|
|
1666
|
+
lastRecordId: string | null;
|
|
1667
|
+
lastTenantId: string | null;
|
|
1668
|
+
recordType: HealthAccountingIntegrityDirtyRecordType;
|
|
1669
|
+
updatedAt: Generated<Timestamp>;
|
|
1670
|
+
}
|
|
1671
|
+
export interface HealthAccountingIntegrityTransition {
|
|
1672
|
+
caseId: string;
|
|
1673
|
+
caseVersion: Int8;
|
|
1674
|
+
createdAt: Generated<Timestamp>;
|
|
1675
|
+
id: Generated<string>;
|
|
1676
|
+
payload: Json;
|
|
1677
|
+
runId: string;
|
|
1678
|
+
type: HealthAccountingIntegrityTransitionType;
|
|
1679
|
+
}
|
|
1680
|
+
export interface HealthReservationIssueSnapshot {
|
|
1681
|
+
computedAt: Timestamp | null;
|
|
1682
|
+
computedVersion: Generated<Int8>;
|
|
1683
|
+
createdAt: Generated<Timestamp>;
|
|
1684
|
+
dirtyAt: Generated<Timestamp>;
|
|
1685
|
+
dirtyVersion: Generated<Int8>;
|
|
1686
|
+
issues: Generated<Json>;
|
|
1687
|
+
reservationId: string;
|
|
1688
|
+
tenantId: string;
|
|
1689
|
+
updatedAt: Generated<Timestamp>;
|
|
1690
|
+
version: Generated<Int8>;
|
|
1691
|
+
}
|
|
1692
|
+
export interface HealthTenantIssue {
|
|
1693
|
+
affected: number;
|
|
1694
|
+
category: HealthTenantIssueCategory;
|
|
1695
|
+
code: HealthTenantIssueCode;
|
|
1696
|
+
contentHash: string;
|
|
1697
|
+
context: Json;
|
|
1698
|
+
createdAt: Generated<Timestamp>;
|
|
1699
|
+
firstSeenAt: Timestamp;
|
|
1700
|
+
id: Generated<string>;
|
|
1701
|
+
lastChangedAt: Timestamp;
|
|
1702
|
+
message: string;
|
|
1703
|
+
openedAt: Timestamp;
|
|
1704
|
+
resolvedAt: Timestamp | null;
|
|
1705
|
+
severity: HealthTenantIssueSeverity;
|
|
1706
|
+
snapshotVersion: Int8;
|
|
1707
|
+
status: HealthTenantIssueStatus;
|
|
1708
|
+
tenantId: string;
|
|
1709
|
+
updatedAt: Generated<Timestamp>;
|
|
1710
|
+
version: Int8;
|
|
1711
|
+
}
|
|
1712
|
+
export interface HealthTenantIssueRuleState {
|
|
1713
|
+
code: HealthTenantIssueCode;
|
|
1714
|
+
computedAt: Timestamp | null;
|
|
1715
|
+
computedVersion: Generated<Int8>;
|
|
1716
|
+
createdAt: Generated<Timestamp>;
|
|
1717
|
+
dirtyAt: Timestamp;
|
|
1718
|
+
dirtyVersion: Generated<Int8>;
|
|
1719
|
+
tenantId: string;
|
|
1720
|
+
updatedAt: Generated<Timestamp>;
|
|
1721
|
+
}
|
|
1722
|
+
export interface HealthTenantIssueSnapshot {
|
|
1723
|
+
computedAt: Timestamp | null;
|
|
1724
|
+
contentHash: string | null;
|
|
1725
|
+
createdAt: Generated<Timestamp>;
|
|
1726
|
+
dirtyAt: Generated<Timestamp>;
|
|
1727
|
+
tenantId: string;
|
|
1728
|
+
updatedAt: Generated<Timestamp>;
|
|
1729
|
+
version: Generated<Int8>;
|
|
1730
|
+
}
|
|
778
1731
|
export interface PublicAccountCollection {
|
|
779
1732
|
automationId: string | null;
|
|
780
1733
|
connectionId: string;
|
|
@@ -922,7 +1875,9 @@ export interface PublicConnection {
|
|
|
922
1875
|
appId: string;
|
|
923
1876
|
backendVersion: number | null;
|
|
924
1877
|
createdAt: Generated<Timestamp>;
|
|
1878
|
+
credentialMetadata: Json | null;
|
|
925
1879
|
credentials: Generated<Json | null>;
|
|
1880
|
+
credentialVersion: Generated<Int8>;
|
|
926
1881
|
disabled: Generated<boolean | null>;
|
|
927
1882
|
fetchNext: Generated<Timestamp | null>;
|
|
928
1883
|
fetchStatus: Generated<string>;
|
|
@@ -938,6 +1893,46 @@ export interface PublicConnection {
|
|
|
938
1893
|
uniqueRef: string | null;
|
|
939
1894
|
updatedAt: Generated<Timestamp | null>;
|
|
940
1895
|
version: number | null;
|
|
1896
|
+
webhookVersion: Generated<Int8>;
|
|
1897
|
+
}
|
|
1898
|
+
export interface PublicConnectionOauthState {
|
|
1899
|
+
appId: string;
|
|
1900
|
+
connectionId: string | null;
|
|
1901
|
+
expiresAt: Timestamp;
|
|
1902
|
+
params: JsonObject;
|
|
1903
|
+
redirectUri: string;
|
|
1904
|
+
stateHash: string;
|
|
1905
|
+
tenantId: string;
|
|
1906
|
+
userId: string;
|
|
1907
|
+
}
|
|
1908
|
+
export interface PublicConnectionRoute {
|
|
1909
|
+
connectionId: string;
|
|
1910
|
+
createdAt: Generated<Timestamp>;
|
|
1911
|
+
tenantId: string;
|
|
1912
|
+
updatedAt: Generated<Timestamp>;
|
|
1913
|
+
}
|
|
1914
|
+
export interface PublicControlPlaneOutbox {
|
|
1915
|
+
aggregateId: string;
|
|
1916
|
+
aggregateType: string;
|
|
1917
|
+
attempts: Generated<number>;
|
|
1918
|
+
createdAt: Generated<Timestamp>;
|
|
1919
|
+
dataRegion: string | null;
|
|
1920
|
+
eventType: string;
|
|
1921
|
+
eventVersion: number;
|
|
1922
|
+
id: Generated<string>;
|
|
1923
|
+
lastError: string | null;
|
|
1924
|
+
payload: Generated<Json>;
|
|
1925
|
+
publishedAt: Timestamp | null;
|
|
1926
|
+
}
|
|
1927
|
+
export interface PublicControlPlaneProjectionEvent {
|
|
1928
|
+
aggregateId: string;
|
|
1929
|
+
aggregateType: string;
|
|
1930
|
+
appliedAt: Generated<Timestamp>;
|
|
1931
|
+
dataRegion: string;
|
|
1932
|
+
eventId: string;
|
|
1933
|
+
eventType: string;
|
|
1934
|
+
eventVersion: number;
|
|
1935
|
+
payload: Generated<Json>;
|
|
941
1936
|
}
|
|
942
1937
|
export interface PublicCurrency {
|
|
943
1938
|
name: string;
|
|
@@ -958,42 +1953,21 @@ export interface PublicEmailTemplate {
|
|
|
958
1953
|
export interface PublicEmailTemplateType {
|
|
959
1954
|
name: string;
|
|
960
1955
|
}
|
|
961
|
-
export interface
|
|
962
|
-
|
|
963
|
-
description: string | null;
|
|
964
|
-
id: Generated<string>;
|
|
965
|
-
issueUrl: string | null;
|
|
966
|
-
/**
|
|
967
|
-
* user ids of user needed to approve this feature
|
|
968
|
-
*/
|
|
969
|
-
requiredApprovals: Generated<Json | null>;
|
|
970
|
-
status: Generated<string | null>;
|
|
971
|
-
tenantId: string | null;
|
|
972
|
-
title: string;
|
|
973
|
-
updatedAt: Generated<Timestamp>;
|
|
974
|
-
url: string | null;
|
|
975
|
-
}
|
|
976
|
-
export interface PublicFeatureApproval {
|
|
977
|
-
createdAt: Generated<Timestamp>;
|
|
978
|
-
featureId: string;
|
|
979
|
-
id: Generated<string>;
|
|
980
|
-
status: Generated<string | null>;
|
|
981
|
-
updatedAt: Generated<Timestamp>;
|
|
982
|
-
userId: string;
|
|
983
|
-
}
|
|
984
|
-
export interface PublicFeatureApprovalStatus {
|
|
985
|
-
name: string;
|
|
986
|
-
}
|
|
987
|
-
export interface PublicFeatureEnabledTeam {
|
|
1956
|
+
export interface PublicFeedback {
|
|
1957
|
+
context: string | null;
|
|
988
1958
|
createdAt: Generated<Timestamp>;
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1959
|
+
description: string;
|
|
1960
|
+
errorReason: string | null;
|
|
1961
|
+
id: Generated<string>;
|
|
1962
|
+
kind: PublicFeedbackKind;
|
|
1963
|
+
linearIssueId: string | null;
|
|
1964
|
+
operationId: string | null;
|
|
1965
|
+
relatedRequest: string | null;
|
|
1966
|
+
reporterEmail: string | null;
|
|
1967
|
+
reporterUserId: string | null;
|
|
1968
|
+
route: string | null;
|
|
992
1969
|
tenantId: string;
|
|
993
|
-
|
|
994
|
-
}
|
|
995
|
-
export interface PublicFeatureStatus {
|
|
996
|
-
name: string;
|
|
1970
|
+
title: string;
|
|
997
1971
|
}
|
|
998
1972
|
export interface PublicFileStorage {
|
|
999
1973
|
connectionId: string | null;
|
|
@@ -1031,6 +2005,23 @@ export interface PublicFileStorageTag {
|
|
|
1031
2005
|
uniqueRef: string;
|
|
1032
2006
|
updatedAt: Generated<Timestamp>;
|
|
1033
2007
|
}
|
|
2008
|
+
export interface PublicGuestReview {
|
|
2009
|
+
channel: PublicGuestReviewChannel;
|
|
2010
|
+
connectionId: string;
|
|
2011
|
+
createdAt: Generated<Timestamp>;
|
|
2012
|
+
hostReply: string | null;
|
|
2013
|
+
id: Generated<string>;
|
|
2014
|
+
isHidden: Generated<boolean>;
|
|
2015
|
+
negativeText: string | null;
|
|
2016
|
+
rating: Numeric;
|
|
2017
|
+
reservationId: string;
|
|
2018
|
+
reviewedAt: Timestamp;
|
|
2019
|
+
tenantId: string;
|
|
2020
|
+
text: string | null;
|
|
2021
|
+
title: string | null;
|
|
2022
|
+
uniqueRef: string;
|
|
2023
|
+
updatedAt: Generated<Timestamp>;
|
|
2024
|
+
}
|
|
1034
2025
|
export interface PublicLatestDuplicateEmails {
|
|
1035
2026
|
createdAt: Timestamp | null;
|
|
1036
2027
|
email: string | null;
|
|
@@ -1038,6 +2029,36 @@ export interface PublicLatestDuplicateEmails {
|
|
|
1038
2029
|
name: string | null;
|
|
1039
2030
|
status: string | null;
|
|
1040
2031
|
}
|
|
2032
|
+
export interface PublicLineClassificationUsage {
|
|
2033
|
+
appId: string | null;
|
|
2034
|
+
createdAt: Generated<Timestamp>;
|
|
2035
|
+
firstSeenAt: Generated<Timestamp>;
|
|
2036
|
+
kind: string;
|
|
2037
|
+
lastError: string | null;
|
|
2038
|
+
lastSeenAt: Generated<Timestamp>;
|
|
2039
|
+
mappingStatus: string | null;
|
|
2040
|
+
name: string;
|
|
2041
|
+
reportAttempts: Generated<number>;
|
|
2042
|
+
reportedRevision: Generated<number>;
|
|
2043
|
+
revision: Generated<number>;
|
|
2044
|
+
tenantId: string;
|
|
2045
|
+
updatedAt: Generated<Timestamp>;
|
|
2046
|
+
}
|
|
2047
|
+
export interface PublicLineClassificationUsageBackfill {
|
|
2048
|
+
completedAt: Timestamp | null;
|
|
2049
|
+
cursorId: string | null;
|
|
2050
|
+
source: string;
|
|
2051
|
+
updatedAt: Generated<Timestamp>;
|
|
2052
|
+
}
|
|
2053
|
+
export interface PublicLineClassificationUsageCapture {
|
|
2054
|
+
createdAt: Generated<Timestamp>;
|
|
2055
|
+
firstSeenAt: Timestamp | null;
|
|
2056
|
+
id: Generated<string>;
|
|
2057
|
+
kind: string;
|
|
2058
|
+
lastSeenAt: Timestamp | null;
|
|
2059
|
+
name: string;
|
|
2060
|
+
tenantId: string;
|
|
2061
|
+
}
|
|
1041
2062
|
export interface PublicListing {
|
|
1042
2063
|
address: string | null;
|
|
1043
2064
|
addressCity: string | null;
|
|
@@ -1078,6 +2099,7 @@ export interface PublicListing {
|
|
|
1078
2099
|
title: string | null;
|
|
1079
2100
|
uniqueRef: string | null;
|
|
1080
2101
|
updatedAt: Generated<Timestamp | null>;
|
|
2102
|
+
webhookVersion: Generated<Int8>;
|
|
1081
2103
|
}
|
|
1082
2104
|
export interface PublicListingCollection {
|
|
1083
2105
|
createdAt: Generated<Timestamp>;
|
|
@@ -1141,6 +2163,20 @@ export interface PublicListingOwnershipPeriodMember {
|
|
|
1141
2163
|
split: number;
|
|
1142
2164
|
updatedAt: Generated<Timestamp | null>;
|
|
1143
2165
|
}
|
|
2166
|
+
export interface PublicMemberInviteApproval {
|
|
2167
|
+
createdAt: Generated<Timestamp>;
|
|
2168
|
+
decidedAt: Timestamp | null;
|
|
2169
|
+
decidedByUserId: string | null;
|
|
2170
|
+
email: string;
|
|
2171
|
+
id: Generated<string>;
|
|
2172
|
+
permissionBundles: string[] | null;
|
|
2173
|
+
requestedByUserId: string | null;
|
|
2174
|
+
role: PublicMemberInviteApprovalRole | null;
|
|
2175
|
+
sendEmail: Generated<boolean>;
|
|
2176
|
+
status: Generated<PublicMemberInviteApprovalStatus>;
|
|
2177
|
+
tenantId: string;
|
|
2178
|
+
updatedAt: Generated<Timestamp>;
|
|
2179
|
+
}
|
|
1144
2180
|
export interface PublicOwner {
|
|
1145
2181
|
addressId: string | null;
|
|
1146
2182
|
companyType: string | null;
|
|
@@ -1192,6 +2228,7 @@ export interface PublicOwnerStatement {
|
|
|
1192
2228
|
tenantId: string;
|
|
1193
2229
|
uniqueRef: string | null;
|
|
1194
2230
|
updatedAt: Generated<Timestamp>;
|
|
2231
|
+
webhookVersion: Generated<Int8>;
|
|
1195
2232
|
}
|
|
1196
2233
|
export interface PublicOwnerStatementLayout {
|
|
1197
2234
|
automationId: string | null;
|
|
@@ -1349,6 +2386,49 @@ export interface PublicPaymentStatus {
|
|
|
1349
2386
|
export interface PublicPaymentType {
|
|
1350
2387
|
name: string;
|
|
1351
2388
|
}
|
|
2389
|
+
export interface PublicPlaidConnectSession {
|
|
2390
|
+
connectionId: string | null;
|
|
2391
|
+
createdAt: Generated<Timestamp>;
|
|
2392
|
+
environment: string;
|
|
2393
|
+
errorCode: string | null;
|
|
2394
|
+
errorRetryable: boolean | null;
|
|
2395
|
+
exitedAt: Timestamp | null;
|
|
2396
|
+
exitErrorCode: string | null;
|
|
2397
|
+
exitErrorType: string | null;
|
|
2398
|
+
exitRequestId: string | null;
|
|
2399
|
+
exitView: string | null;
|
|
2400
|
+
expiresAt: Timestamp;
|
|
2401
|
+
id: Generated<string>;
|
|
2402
|
+
institutionId: string | null;
|
|
2403
|
+
institutionName: string | null;
|
|
2404
|
+
itemId: string | null;
|
|
2405
|
+
leaseExpiresAt: Timestamp | null;
|
|
2406
|
+
linkSessionId: string | null;
|
|
2407
|
+
mode: PublicPlaidConnectMode;
|
|
2408
|
+
result: Json | null;
|
|
2409
|
+
status: Generated<PublicPlaidConnectStatus>;
|
|
2410
|
+
syncId: string | null;
|
|
2411
|
+
tenantId: string;
|
|
2412
|
+
updatedAt: Generated<Timestamp>;
|
|
2413
|
+
}
|
|
2414
|
+
export interface PublicRampApplication {
|
|
2415
|
+
applicantEmail: string;
|
|
2416
|
+
applicantUserId: string | null;
|
|
2417
|
+
createdAt: Generated<Timestamp>;
|
|
2418
|
+
credentials: Json | null;
|
|
2419
|
+
environment: PublicRampApplicationEnvironment;
|
|
2420
|
+
id: Generated<string>;
|
|
2421
|
+
invitedAt: Generated<Timestamp>;
|
|
2422
|
+
rampApplicationId: string | null;
|
|
2423
|
+
stateNonce: string;
|
|
2424
|
+
status: Generated<PublicRampApplicationStatus>;
|
|
2425
|
+
statusUpdatedAt: Generated<Timestamp>;
|
|
2426
|
+
tenantId: string;
|
|
2427
|
+
updatedAt: Generated<Timestamp>;
|
|
2428
|
+
webhookId: string | null;
|
|
2429
|
+
webhookSecret: string | null;
|
|
2430
|
+
webhookToken: string | null;
|
|
2431
|
+
}
|
|
1352
2432
|
export interface PublicRecurringFee {
|
|
1353
2433
|
bookingChannelsFilter: string[] | null;
|
|
1354
2434
|
createdAt: Generated<Timestamp>;
|
|
@@ -1360,10 +2440,13 @@ export interface PublicRecurringFee {
|
|
|
1360
2440
|
formula: string | null;
|
|
1361
2441
|
icon: string | null;
|
|
1362
2442
|
id: Generated<string>;
|
|
2443
|
+
nightsFilterMax: number | null;
|
|
2444
|
+
nightsFilterMin: number | null;
|
|
1363
2445
|
rateType: Generated<string | null>;
|
|
1364
2446
|
revenueRecognition: string | null;
|
|
1365
2447
|
status: Generated<string>;
|
|
1366
2448
|
statusFilter: string | null;
|
|
2449
|
+
stayTypesFilter: ArrayType<PublicReservationStayType> | null;
|
|
1367
2450
|
taxBehavior: string | null;
|
|
1368
2451
|
taxRateId: string | null;
|
|
1369
2452
|
tenantId: string;
|
|
@@ -1393,6 +2476,7 @@ export interface PublicRecurringFeeListingSubscription {
|
|
|
1393
2476
|
endAt: Timestamp | null;
|
|
1394
2477
|
id: Generated<string>;
|
|
1395
2478
|
listingId: string;
|
|
2479
|
+
matchBy: Generated<PublicRecurringFeeListingSubscriptionMatchBy>;
|
|
1396
2480
|
rate: number | null;
|
|
1397
2481
|
rateType: Generated<string | null>;
|
|
1398
2482
|
recurringFeeId: string;
|
|
@@ -1407,6 +2491,7 @@ export interface PublicRecurringFeeType {
|
|
|
1407
2491
|
name: string;
|
|
1408
2492
|
}
|
|
1409
2493
|
export interface PublicReservation {
|
|
2494
|
+
adults: number | null;
|
|
1410
2495
|
bookedAt: Generated<Timestamp | null>;
|
|
1411
2496
|
bookerName: string | null;
|
|
1412
2497
|
bookingPlatform: string | null;
|
|
@@ -1425,6 +2510,7 @@ export interface PublicReservation {
|
|
|
1425
2510
|
channelId: string | null;
|
|
1426
2511
|
checkIn: Timestamp | null;
|
|
1427
2512
|
checkOut: Timestamp | null;
|
|
2513
|
+
children: number | null;
|
|
1428
2514
|
confirmationCode: string | null;
|
|
1429
2515
|
connectionId: string | null;
|
|
1430
2516
|
createdAt: Generated<Timestamp | null>;
|
|
@@ -1457,12 +2543,14 @@ export interface PublicReservation {
|
|
|
1457
2543
|
shortRef: string | null;
|
|
1458
2544
|
sourceId: string | null;
|
|
1459
2545
|
status: Generated<string | null>;
|
|
2546
|
+
stayType: Generated<PublicReservationStayType>;
|
|
1460
2547
|
taxCentTotal: Int8 | null;
|
|
1461
2548
|
tenantId: string | null;
|
|
1462
2549
|
uniqueRef: string | null;
|
|
1463
2550
|
uniqueRef2: string | null;
|
|
1464
2551
|
updatedAt: Generated<Timestamp | null>;
|
|
1465
2552
|
userdata: Generated<Json | null>;
|
|
2553
|
+
webhookVersion: Generated<Int8>;
|
|
1466
2554
|
}
|
|
1467
2555
|
export interface PublicReservationStatus {
|
|
1468
2556
|
name: string;
|
|
@@ -1510,6 +2598,20 @@ export interface PublicReservationWithOccupancyStatus {
|
|
|
1510
2598
|
updatedAt: Timestamp | null;
|
|
1511
2599
|
userdata: Json | null;
|
|
1512
2600
|
}
|
|
2601
|
+
export interface PublicSecondFactorReset {
|
|
2602
|
+
createdAt: Generated<Timestamp>;
|
|
2603
|
+
decidedAt: Timestamp | null;
|
|
2604
|
+
decidedByUserId: string | null;
|
|
2605
|
+
expiresAt: Timestamp;
|
|
2606
|
+
id: Generated<string>;
|
|
2607
|
+
identityCheck: string | null;
|
|
2608
|
+
initiator: PublicSecondFactorResetInitiator;
|
|
2609
|
+
requestedByUserId: string | null;
|
|
2610
|
+
status: PublicSecondFactorResetStatus;
|
|
2611
|
+
tenantId: string;
|
|
2612
|
+
updatedAt: Generated<Timestamp>;
|
|
2613
|
+
userId: string;
|
|
2614
|
+
}
|
|
1513
2615
|
export interface PublicSetting {
|
|
1514
2616
|
automationId: string | null;
|
|
1515
2617
|
connectionId: string | null;
|
|
@@ -1603,6 +2705,9 @@ export interface PublicTenant {
|
|
|
1603
2705
|
addressCountry: string | null;
|
|
1604
2706
|
addressLine1: string | null;
|
|
1605
2707
|
addressPostcode: string | null;
|
|
2708
|
+
/**
|
|
2709
|
+
* JSON column for app-owned tenant settings exposed through APIs.
|
|
2710
|
+
*/
|
|
1606
2711
|
appSettings: Json | null;
|
|
1607
2712
|
billingAddressData: Json | null;
|
|
1608
2713
|
billingAddressId: string | null;
|
|
@@ -1610,10 +2715,10 @@ export interface PublicTenant {
|
|
|
1610
2715
|
billingPartnerId: string | null;
|
|
1611
2716
|
billingPaymentMethodType: string | null;
|
|
1612
2717
|
billingPlan: string | null;
|
|
2718
|
+
billingSubscriptionId: string | null;
|
|
1613
2719
|
billingSubscriptionStatus: string | null;
|
|
1614
2720
|
booksClosedAt: Timestamp | null;
|
|
1615
2721
|
calculatedBillingPartnerId: Generated<string | null>;
|
|
1616
|
-
calculatedIsBillable: Generated<boolean | null>;
|
|
1617
2722
|
calculatedStatus: Generated<string | null>;
|
|
1618
2723
|
/**
|
|
1619
2724
|
* Billing subscription is getting cancelled at date
|
|
@@ -1631,19 +2736,26 @@ export interface PublicTenant {
|
|
|
1631
2736
|
defaultRevenueRecognition: string | null;
|
|
1632
2737
|
email: string | null;
|
|
1633
2738
|
featureFlags: Generated<Json | null>;
|
|
2739
|
+
/**
|
|
2740
|
+
* JSON column for explicit VRPilot onboarding guide state.
|
|
2741
|
+
*/
|
|
1634
2742
|
guideOnboarding: Json | null;
|
|
1635
2743
|
historicalStatementsImportedAt: Timestamp | null;
|
|
1636
2744
|
id: Generated<string>;
|
|
1637
2745
|
intercomId: string | null;
|
|
1638
2746
|
isActive: Generated<boolean | null>;
|
|
1639
2747
|
isGeneralLedger: Generated<boolean | null>;
|
|
1640
|
-
isOnboarding: Generated<boolean
|
|
1641
|
-
|
|
2748
|
+
isOnboarding: Generated<boolean>;
|
|
2749
|
+
lockedAt: Timestamp | null;
|
|
1642
2750
|
logo: string | null;
|
|
1643
2751
|
longTermStayNights: number | null;
|
|
2752
|
+
migratedAt: Timestamp | null;
|
|
1644
2753
|
migratedFromTenantId: string | null;
|
|
2754
|
+
migratedToRegion: string | null;
|
|
2755
|
+
migrationStatus: Generated<string>;
|
|
1645
2756
|
name: string;
|
|
1646
2757
|
ownerPortalShowDraftStatements: boolean | null;
|
|
2758
|
+
partnerDeniedPermissions: Generated<string[]>;
|
|
1647
2759
|
partnerId: Generated<string | null>;
|
|
1648
2760
|
/**
|
|
1649
2761
|
* JSON column to hold team settings like "owner_portal_show_reservation_totals" or "owner_portal_show_draft_statements
|
|
@@ -1662,8 +2774,8 @@ export interface PublicTenant {
|
|
|
1662
2774
|
supportEmail: string | null;
|
|
1663
2775
|
supportPhone: string | null;
|
|
1664
2776
|
svixEndpoints: boolean | null;
|
|
1665
|
-
trialUntil: Timestamp | null;
|
|
1666
2777
|
type: Generated<string | null>;
|
|
2778
|
+
uniqueRef: string | null;
|
|
1667
2779
|
updatedAt: Generated<Timestamp | null>;
|
|
1668
2780
|
website: string | null;
|
|
1669
2781
|
}
|
|
@@ -1671,23 +2783,15 @@ export interface PublicTenantUser {
|
|
|
1671
2783
|
createdAt: Generated<Timestamp | null>;
|
|
1672
2784
|
id: Generated<string>;
|
|
1673
2785
|
lastInvitedAt: Timestamp | null;
|
|
2786
|
+
managedTeamAccess: Generated<"all" | "assigned">;
|
|
1674
2787
|
notificationPreferences: Generated<Json | null>;
|
|
2788
|
+
permissionBundles: Generated<string[]>;
|
|
1675
2789
|
role: Generated<string | null>;
|
|
1676
2790
|
status: Generated<string | null>;
|
|
1677
2791
|
tenantId: string;
|
|
1678
2792
|
updatedAt: Generated<Timestamp | null>;
|
|
1679
2793
|
userId: string;
|
|
1680
2794
|
}
|
|
1681
|
-
export interface PublicToken {
|
|
1682
|
-
createdAt: Generated<Timestamp>;
|
|
1683
|
-
expiresAt: Timestamp | null;
|
|
1684
|
-
id: Generated<string>;
|
|
1685
|
-
nanoId: Generated<string>;
|
|
1686
|
-
payload: Generated<Json>;
|
|
1687
|
-
tenantId: string | null;
|
|
1688
|
-
type: string | null;
|
|
1689
|
-
userId: string | null;
|
|
1690
|
-
}
|
|
1691
2795
|
export interface PublicUser {
|
|
1692
2796
|
address: string | null;
|
|
1693
2797
|
addressCity: string | null;
|
|
@@ -1779,17 +2883,6 @@ export interface PublicWebhook {
|
|
|
1779
2883
|
types2: string[] | null;
|
|
1780
2884
|
url: string;
|
|
1781
2885
|
}
|
|
1782
|
-
export interface TrackingEvent {
|
|
1783
|
-
createdAt: Generated<Timestamp>;
|
|
1784
|
-
id: Generated<string>;
|
|
1785
|
-
name: string;
|
|
1786
|
-
packageName: string;
|
|
1787
|
-
props: Json;
|
|
1788
|
-
tenantId: string | null;
|
|
1789
|
-
timestamp: Generated<Timestamp | null>;
|
|
1790
|
-
trackedAt: Generated<Timestamp | null>;
|
|
1791
|
-
userId: string | null;
|
|
1792
|
-
}
|
|
1793
2886
|
export interface TrackingIntercomConversation {
|
|
1794
2887
|
answer: string;
|
|
1795
2888
|
conversationId: Int8;
|
|
@@ -1846,6 +2939,90 @@ export interface TrackingMonitorConnection {
|
|
|
1846
2939
|
export interface TrackingMonitorConnectionState {
|
|
1847
2940
|
name: string;
|
|
1848
2941
|
}
|
|
2942
|
+
export interface WebhookDelivery {
|
|
2943
|
+
apiVersion: WebhookApiVersion;
|
|
2944
|
+
attemptCount: Generated<number>;
|
|
2945
|
+
body: string;
|
|
2946
|
+
claimedAt: Timestamp | null;
|
|
2947
|
+
claimedBy: string | null;
|
|
2948
|
+
createdAt: Generated<Timestamp>;
|
|
2949
|
+
deliveredAt: Timestamp | null;
|
|
2950
|
+
eventType: WebhookEventType;
|
|
2951
|
+
failedAt: Timestamp | null;
|
|
2952
|
+
id: Generated<string>;
|
|
2953
|
+
lastErrorCode: string | null;
|
|
2954
|
+
nextAttemptAt: Generated<Timestamp>;
|
|
2955
|
+
resourceId: string | null;
|
|
2956
|
+
resourceType: WebhookResourceType | null;
|
|
2957
|
+
retryAttemptCount: Generated<number>;
|
|
2958
|
+
sourceEventKey: string;
|
|
2959
|
+
sourceTenantId: string | null;
|
|
2960
|
+
status: Generated<WebhookDeliveryStatus>;
|
|
2961
|
+
subscriptionId: string;
|
|
2962
|
+
subscriptionRevision: Int8;
|
|
2963
|
+
updatedAt: Generated<Timestamp>;
|
|
2964
|
+
}
|
|
2965
|
+
export interface WebhookDeliveryAttempt {
|
|
2966
|
+
attemptNumber: number;
|
|
2967
|
+
createdAt: Generated<Timestamp>;
|
|
2968
|
+
deliveryId: string;
|
|
2969
|
+
durationMs: number;
|
|
2970
|
+
errorClass: string | null;
|
|
2971
|
+
finishedAt: Timestamp;
|
|
2972
|
+
id: Generated<string>;
|
|
2973
|
+
responseExcerpt: string | null;
|
|
2974
|
+
responseStatus: number | null;
|
|
2975
|
+
startedAt: Timestamp;
|
|
2976
|
+
}
|
|
2977
|
+
export interface WebhookDeliveryAttemptSecret {
|
|
2978
|
+
deliveryAttemptId: string;
|
|
2979
|
+
position: string;
|
|
2980
|
+
subscriptionSecretId: string;
|
|
2981
|
+
}
|
|
2982
|
+
export interface WebhookEvent {
|
|
2983
|
+
createdAt: Generated<Timestamp>;
|
|
2984
|
+
data: Json;
|
|
2985
|
+
eventType: WebhookEventType;
|
|
2986
|
+
id: Generated<string>;
|
|
2987
|
+
matchedAt: Timestamp | null;
|
|
2988
|
+
resourceId: string;
|
|
2989
|
+
resourceType: WebhookResourceType;
|
|
2990
|
+
sourceEventKey: string;
|
|
2991
|
+
tenantId: string;
|
|
2992
|
+
}
|
|
2993
|
+
export interface WebhookRateLimit {
|
|
2994
|
+
key: string;
|
|
2995
|
+
ownerTenantId: string;
|
|
2996
|
+
requestCount: number;
|
|
2997
|
+
windowStartedAt: Timestamp;
|
|
2998
|
+
}
|
|
2999
|
+
export interface WebhookSubscription {
|
|
3000
|
+
apiVersion: WebhookApiVersion;
|
|
3001
|
+
createdAt: Generated<Timestamp>;
|
|
3002
|
+
description: string | null;
|
|
3003
|
+
disabledAt: Timestamp | null;
|
|
3004
|
+
eventTypes: ArrayType<WebhookSubscriptionEventType>;
|
|
3005
|
+
id: Generated<string>;
|
|
3006
|
+
ownerTenantId: string;
|
|
3007
|
+
revision: Generated<Int8>;
|
|
3008
|
+
scope: WebhookSubscriptionScope;
|
|
3009
|
+
status: Generated<WebhookSubscriptionStatus>;
|
|
3010
|
+
updatedAt: Generated<Timestamp>;
|
|
3011
|
+
url: string;
|
|
3012
|
+
verifiedAt: Timestamp | null;
|
|
3013
|
+
}
|
|
3014
|
+
export interface WebhookSubscriptionSecret {
|
|
3015
|
+
activeFrom: Generated<Timestamp>;
|
|
3016
|
+
createdAt: Generated<Timestamp>;
|
|
3017
|
+
encryptedSecret: string;
|
|
3018
|
+
encryptionKeyId: string;
|
|
3019
|
+
expiresAt: Timestamp | null;
|
|
3020
|
+
id: Generated<string>;
|
|
3021
|
+
reencryptionFailedAt: Timestamp | null;
|
|
3022
|
+
reencryptionFailureCode: string | null;
|
|
3023
|
+
revokedAt: Timestamp | null;
|
|
3024
|
+
subscriptionId: string;
|
|
3025
|
+
}
|
|
1849
3026
|
export interface DB {
|
|
1850
3027
|
"accounting.account": AccountingAccount;
|
|
1851
3028
|
"accounting.accountAssignment": AccountingAccountAssignment;
|
|
@@ -1853,10 +3030,11 @@ export interface DB {
|
|
|
1853
3030
|
"accounting.accountAssignmentType": AccountingAccountAssignmentType;
|
|
1854
3031
|
"accounting.accountCategory": AccountingAccountCategory;
|
|
1855
3032
|
"accounting.accountClassification": AccountingAccountClassification;
|
|
3033
|
+
"accounting.accountConnection": AccountingAccountConnection;
|
|
3034
|
+
"accounting.accountPaymentFileSetting": AccountingAccountPaymentFileSetting;
|
|
1856
3035
|
"accounting.accountReservationLineType": AccountingAccountReservationLineType;
|
|
1857
3036
|
"accounting.accountReservationRevRec": AccountingAccountReservationRevRec;
|
|
1858
3037
|
"accounting.accountType": AccountingAccountType;
|
|
1859
|
-
"accounting.bankAccount": AccountingBankAccount;
|
|
1860
3038
|
"accounting.bankAccountCategory": AccountingBankAccountCategory;
|
|
1861
3039
|
"accounting.bankAccountType": AccountingBankAccountType;
|
|
1862
3040
|
"accounting.bankRecord": AccountingBankRecord;
|
|
@@ -1871,6 +3049,8 @@ export interface DB {
|
|
|
1871
3049
|
"accounting.bankRuleMatchOperator": AccountingBankRuleMatchOperator;
|
|
1872
3050
|
"accounting.bankRuleMode": AccountingBankRuleMode;
|
|
1873
3051
|
"accounting.contact": AccountingContact;
|
|
3052
|
+
"accounting.contactBankAccount": AccountingContactBankAccount;
|
|
3053
|
+
"accounting.contactBankDetailsRequest": AccountingContactBankDetailsRequest;
|
|
1874
3054
|
"accounting.contactCompanyType": AccountingContactCompanyType;
|
|
1875
3055
|
"accounting.contactType": AccountingContactType;
|
|
1876
3056
|
"accounting.journalEntry": AccountingJournalEntry;
|
|
@@ -1878,22 +3058,43 @@ export interface DB {
|
|
|
1878
3058
|
"accounting.journalEntryTriggerType": AccountingJournalEntryTriggerType;
|
|
1879
3059
|
"accounting.journalEntryType": AccountingJournalEntryType;
|
|
1880
3060
|
"accounting.ownerStatementProjection": AccountingOwnerStatementProjection;
|
|
3061
|
+
"accounting.ownerStatementProjectionListingRevision": AccountingOwnerStatementProjectionListingRevision;
|
|
1881
3062
|
"accounting.ownerStatementProjectionRevision": AccountingOwnerStatementProjectionRevision;
|
|
1882
3063
|
"accounting.paidStatus": AccountingPaidStatus;
|
|
1883
3064
|
"accounting.party": AccountingParty;
|
|
3065
|
+
"accounting.payment": AccountingPayment;
|
|
3066
|
+
"accounting.paymentAllocation": AccountingPaymentAllocation;
|
|
3067
|
+
"accounting.paymentBatch": AccountingPaymentBatch;
|
|
3068
|
+
"accounting.paymentBatchItem": AccountingPaymentBatchItem;
|
|
3069
|
+
"accounting.paymentBatchPayment": AccountingPaymentBatchPayment;
|
|
3070
|
+
"accounting.paymentCommand": AccountingPaymentCommand;
|
|
3071
|
+
"accounting.paymentObservation": AccountingPaymentObservation;
|
|
3072
|
+
"accounting.paymentReversal": AccountingPaymentReversal;
|
|
3073
|
+
"accounting.payoutHold": AccountingPayoutHold;
|
|
1884
3074
|
"accounting.rate": AccountingRate;
|
|
1885
3075
|
"accounting.rateType": AccountingRateType;
|
|
3076
|
+
"accounting.reservationJournalFreshnessControl": AccountingReservationJournalFreshnessControl;
|
|
3077
|
+
"accounting.reservationJournalInvalidation": AccountingReservationJournalInvalidation;
|
|
3078
|
+
"accounting.reservationJournalState": AccountingReservationJournalState;
|
|
3079
|
+
"accounting.reservationJournalStatementImpact": AccountingReservationJournalStatementImpact;
|
|
1886
3080
|
"accounting.taxBehavior": AccountingTaxBehavior;
|
|
1887
3081
|
"accounting.transaction": AccountingTransaction;
|
|
1888
3082
|
"accounting.transactionAttachment": AccountingTransactionAttachment;
|
|
1889
3083
|
"accounting.transactionLine": AccountingTransactionLine;
|
|
1890
3084
|
"accounting.transactionType": AccountingTransactionType;
|
|
1891
3085
|
"audit.action": AuditAction;
|
|
3086
|
+
"audit.actionClientIp": AuditActionClientIp;
|
|
1892
3087
|
"audit.effect": AuditEffect;
|
|
1893
3088
|
"audit.effectAttempt": AuditEffectAttempt;
|
|
1894
3089
|
"audit.journalDelta": AuditJournalDelta;
|
|
1895
3090
|
"audit.mutation": AuditMutation;
|
|
3091
|
+
"audit.publicEvent": AuditPublicEvent;
|
|
3092
|
+
"audit.publicEventEntryChange": AuditPublicEventEntryChange;
|
|
3093
|
+
"audit.publicEventProjectionState": AuditPublicEventProjectionState;
|
|
3094
|
+
"billing.listingFact": BillingListingFact;
|
|
3095
|
+
"billing.listingFactReadiness": BillingListingFactReadiness;
|
|
1896
3096
|
"core.activeStatus": CoreActiveStatus;
|
|
3097
|
+
"core.asyncOperationResult": CoreAsyncOperationResult;
|
|
1897
3098
|
"core.change": CoreChange;
|
|
1898
3099
|
"core.changeEntityType": CoreChangeEntityType;
|
|
1899
3100
|
"core.changeLink": CoreChangeLink;
|
|
@@ -1901,10 +3102,23 @@ export interface DB {
|
|
|
1901
3102
|
"core.changeStatus": CoreChangeStatus;
|
|
1902
3103
|
"core.changeSyncType": CoreChangeSyncType;
|
|
1903
3104
|
"core.changeType": CoreChangeType;
|
|
3105
|
+
"core.csvOperationResult": CoreCsvOperationResult;
|
|
3106
|
+
"core.emailDelivery": CoreEmailDelivery;
|
|
3107
|
+
"core.emailNotification": CoreEmailNotification;
|
|
3108
|
+
"core.exportJob": CoreExportJob;
|
|
1904
3109
|
"core.flow": CoreFlow;
|
|
3110
|
+
"core.flowEvent": CoreFlowEvent;
|
|
3111
|
+
"core.flowEventDelivery": CoreFlowEventDelivery;
|
|
3112
|
+
"core.flowEventOperation": CoreFlowEventOperation;
|
|
3113
|
+
"core.flowEventSecret": CoreFlowEventSecret;
|
|
1905
3114
|
"core.flowMapping": CoreFlowMapping;
|
|
1906
3115
|
"core.flowSetting": CoreFlowSetting;
|
|
1907
3116
|
"core.issueMessageOverwrite": CoreIssueMessageOverwrite;
|
|
3117
|
+
"core.operation": CoreOperation;
|
|
3118
|
+
"core.operationBackfill": CoreOperationBackfill;
|
|
3119
|
+
"core.operationProjectionOutbox": CoreOperationProjectionOutbox;
|
|
3120
|
+
"core.operationResource": CoreOperationResource;
|
|
3121
|
+
"core.operationSource": CoreOperationSource;
|
|
1908
3122
|
"core.sync": CoreSync;
|
|
1909
3123
|
"core.syncStatus": CoreSyncStatus;
|
|
1910
3124
|
"core.syncSubtask": CoreSyncSubtask;
|
|
@@ -1921,6 +3135,22 @@ export interface DB {
|
|
|
1921
3135
|
"hdbCatalog.hdbSchemaNotifications": HdbCatalogHdbSchemaNotifications;
|
|
1922
3136
|
"hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
|
|
1923
3137
|
"hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
|
|
3138
|
+
"health.accountingIntegrityCase": HealthAccountingIntegrityCase;
|
|
3139
|
+
"health.accountingIntegrityComparisonFinding": HealthAccountingIntegrityComparisonFinding;
|
|
3140
|
+
"health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
|
|
3141
|
+
"health.accountingIntegrityDirtyRecord": HealthAccountingIntegrityDirtyRecord;
|
|
3142
|
+
"health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
|
|
3143
|
+
"health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
|
|
3144
|
+
"health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
|
|
3145
|
+
"health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;
|
|
3146
|
+
"health.accountingIntegrityRepairTransition": HealthAccountingIntegrityRepairTransition;
|
|
3147
|
+
"health.accountingIntegrityRun": HealthAccountingIntegrityRun;
|
|
3148
|
+
"health.accountingIntegritySweepCursor": HealthAccountingIntegritySweepCursor;
|
|
3149
|
+
"health.accountingIntegrityTransition": HealthAccountingIntegrityTransition;
|
|
3150
|
+
"health.reservationIssueSnapshot": HealthReservationIssueSnapshot;
|
|
3151
|
+
"health.tenantIssue": HealthTenantIssue;
|
|
3152
|
+
"health.tenantIssueRuleState": HealthTenantIssueRuleState;
|
|
3153
|
+
"health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
|
|
1924
3154
|
"public.accountCollection": PublicAccountCollection;
|
|
1925
3155
|
"public.accountCollectionType": PublicAccountCollectionType;
|
|
1926
3156
|
"public.address": PublicAddress;
|
|
@@ -1932,19 +3162,23 @@ export interface DB {
|
|
|
1932
3162
|
"public.bookingChannel": PublicBookingChannel;
|
|
1933
3163
|
"public.bookingChannelIconCandidate": PublicBookingChannelIconCandidate;
|
|
1934
3164
|
"public.connection": PublicConnection;
|
|
3165
|
+
"public.connectionOauthState": PublicConnectionOauthState;
|
|
3166
|
+
"public.connectionRoute": PublicConnectionRoute;
|
|
3167
|
+
"public.controlPlaneOutbox": PublicControlPlaneOutbox;
|
|
3168
|
+
"public.controlPlaneProjectionEvent": PublicControlPlaneProjectionEvent;
|
|
1935
3169
|
"public.currency": PublicCurrency;
|
|
1936
3170
|
"public.duplicateEmails": PublicDuplicateEmails;
|
|
1937
3171
|
"public.emailTemplate": PublicEmailTemplate;
|
|
1938
3172
|
"public.emailTemplateType": PublicEmailTemplateType;
|
|
1939
|
-
"public.
|
|
1940
|
-
"public.featureApproval": PublicFeatureApproval;
|
|
1941
|
-
"public.featureApprovalStatus": PublicFeatureApprovalStatus;
|
|
1942
|
-
"public.featureEnabledTeam": PublicFeatureEnabledTeam;
|
|
1943
|
-
"public.featureStatus": PublicFeatureStatus;
|
|
3173
|
+
"public.feedback": PublicFeedback;
|
|
1944
3174
|
"public.fileStorage": PublicFileStorage;
|
|
1945
3175
|
"public.fileStorageSourceLink": PublicFileStorageSourceLink;
|
|
1946
3176
|
"public.fileStorageTag": PublicFileStorageTag;
|
|
3177
|
+
"public.guestReview": PublicGuestReview;
|
|
1947
3178
|
"public.latestDuplicateEmails": PublicLatestDuplicateEmails;
|
|
3179
|
+
"public.lineClassificationUsage": PublicLineClassificationUsage;
|
|
3180
|
+
"public.lineClassificationUsageBackfill": PublicLineClassificationUsageBackfill;
|
|
3181
|
+
"public.lineClassificationUsageCapture": PublicLineClassificationUsageCapture;
|
|
1948
3182
|
"public.listing": PublicListing;
|
|
1949
3183
|
"public.listingCollection": PublicListingCollection;
|
|
1950
3184
|
"public.listingConnection": PublicListingConnection;
|
|
@@ -1953,6 +3187,7 @@ export interface DB {
|
|
|
1953
3187
|
"public.listingOwnershipPeriod": PublicListingOwnershipPeriod;
|
|
1954
3188
|
"public.listingOwnershipPeriodBusinessModel": PublicListingOwnershipPeriodBusinessModel;
|
|
1955
3189
|
"public.listingOwnershipPeriodMember": PublicListingOwnershipPeriodMember;
|
|
3190
|
+
"public.memberInviteApproval": PublicMemberInviteApproval;
|
|
1956
3191
|
"public.owner": PublicOwner;
|
|
1957
3192
|
"public.ownerStatement": PublicOwnerStatement;
|
|
1958
3193
|
"public.ownerStatementLayout": PublicOwnerStatementLayout;
|
|
@@ -1970,6 +3205,8 @@ export interface DB {
|
|
|
1970
3205
|
"public.paymentLineClassification": PublicPaymentLineClassification;
|
|
1971
3206
|
"public.paymentStatus": PublicPaymentStatus;
|
|
1972
3207
|
"public.paymentType": PublicPaymentType;
|
|
3208
|
+
"public.plaidConnectSession": PublicPlaidConnectSession;
|
|
3209
|
+
"public.rampApplication": PublicRampApplication;
|
|
1973
3210
|
"public.recurringFee": PublicRecurringFee;
|
|
1974
3211
|
"public.recurringFeeAccount": PublicRecurringFeeAccount;
|
|
1975
3212
|
"public.recurringFeeAccountCondition": PublicRecurringFeeAccountCondition;
|
|
@@ -1979,6 +3216,7 @@ export interface DB {
|
|
|
1979
3216
|
"public.reservation": PublicReservation;
|
|
1980
3217
|
"public.reservationStatus": PublicReservationStatus;
|
|
1981
3218
|
"public.reservationWithOccupancyStatus": PublicReservationWithOccupancyStatus;
|
|
3219
|
+
"public.secondFactorReset": PublicSecondFactorReset;
|
|
1982
3220
|
"public.setting": PublicSetting;
|
|
1983
3221
|
"public.source": PublicSource;
|
|
1984
3222
|
"public.task": PublicTask;
|
|
@@ -1986,7 +3224,6 @@ export interface DB {
|
|
|
1986
3224
|
"public.taxStatementStatus": PublicTaxStatementStatus;
|
|
1987
3225
|
"public.tenant": PublicTenant;
|
|
1988
3226
|
"public.tenantUser": PublicTenantUser;
|
|
1989
|
-
"public.token": PublicToken;
|
|
1990
3227
|
"public.user": PublicUser;
|
|
1991
3228
|
"public.userCompanyType": PublicUserCompanyType;
|
|
1992
3229
|
"public.userCompanyUser": PublicUserCompanyUser;
|
|
@@ -1996,7 +3233,6 @@ export interface DB {
|
|
|
1996
3233
|
"public.viewWebhookEvents": PublicViewWebhookEvents;
|
|
1997
3234
|
"public.viewWebhookEventsGroupedByDate": PublicViewWebhookEventsGroupedByDate;
|
|
1998
3235
|
"public.webhook": PublicWebhook;
|
|
1999
|
-
"tracking.event": TrackingEvent;
|
|
2000
3236
|
"tracking.intercomConversation": TrackingIntercomConversation;
|
|
2001
3237
|
"tracking.intercomConversationUser": TrackingIntercomConversationUser;
|
|
2002
3238
|
"tracking.intercomReport": TrackingIntercomReport;
|
|
@@ -2004,4 +3240,11 @@ export interface DB {
|
|
|
2004
3240
|
"tracking.metricCache": TrackingMetricCache;
|
|
2005
3241
|
"tracking.monitorConnection": TrackingMonitorConnection;
|
|
2006
3242
|
"tracking.monitorConnectionState": TrackingMonitorConnectionState;
|
|
3243
|
+
"webhook.delivery": WebhookDelivery;
|
|
3244
|
+
"webhook.deliveryAttempt": WebhookDeliveryAttempt;
|
|
3245
|
+
"webhook.deliveryAttemptSecret": WebhookDeliveryAttemptSecret;
|
|
3246
|
+
"webhook.event": WebhookEvent;
|
|
3247
|
+
"webhook.rateLimit": WebhookRateLimit;
|
|
3248
|
+
"webhook.subscription": WebhookSubscription;
|
|
3249
|
+
"webhook.subscriptionSecret": WebhookSubscriptionSecret;
|
|
2007
3250
|
}
|