@vrplatform/kysely 1.3.45-stage.4380 → 1.3.45-stage.43806806421
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 +1335 -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/migrations-v2/0000000000138-contact-tax-details-requested-at.ts +24 -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 +1335 -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
- package/build/migrations/0000000000047-tenant-status-backfill.ts +0 -40
- package/build/migrations/0000000000048-tenant-status-constraint.ts +0 -24
|
@@ -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,12 @@ 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;
|
|
379
|
+
emailDeliveryRequestedAt: Timestamp | null;
|
|
240
380
|
firstName: string | null;
|
|
241
381
|
id: Generated<string>;
|
|
382
|
+
is1099Exempt: Generated<boolean>;
|
|
242
383
|
is1099PostalDelivery: Generated<boolean>;
|
|
243
384
|
name: string;
|
|
244
385
|
phone: string | null;
|
|
@@ -248,8 +389,12 @@ export interface AccountingContact {
|
|
|
248
389
|
*/
|
|
249
390
|
shortRef: string | null;
|
|
250
391
|
sourceId: string | null;
|
|
392
|
+
statementEmailEnabled: boolean | null;
|
|
393
|
+
statementEmailUnsubscribedAt: Timestamp | null;
|
|
251
394
|
status: string | null;
|
|
252
395
|
taxId: string | null;
|
|
396
|
+
taxIdType: AccountingContactTaxIdType | null;
|
|
397
|
+
taxInfoRequestedAt: Timestamp | null;
|
|
253
398
|
tenantId: string;
|
|
254
399
|
/**
|
|
255
400
|
* owner OR vendor
|
|
@@ -258,6 +403,34 @@ export interface AccountingContact {
|
|
|
258
403
|
uniqueRef: string | null;
|
|
259
404
|
updatedAt: Generated<Timestamp>;
|
|
260
405
|
}
|
|
406
|
+
export interface AccountingContactBankDetailsRequest {
|
|
407
|
+
contactId: string;
|
|
408
|
+
createdAt: Generated<Timestamp>;
|
|
409
|
+
delivery: Generated<AccountingBankDetailsRequestDelivery>;
|
|
410
|
+
id: Generated<string>;
|
|
411
|
+
linkExpiresAt: Timestamp | null;
|
|
412
|
+
openedAt: Timestamp | null;
|
|
413
|
+
recipientEmail: string | null;
|
|
414
|
+
requestedAt: Timestamp;
|
|
415
|
+
requestedByUserId: string | null;
|
|
416
|
+
sentAt: Timestamp | null;
|
|
417
|
+
tenantId: string;
|
|
418
|
+
updatedAt: Generated<Timestamp>;
|
|
419
|
+
}
|
|
420
|
+
export interface AccountingContactBankAccount {
|
|
421
|
+
accountKind: AccountingBankAccountKind;
|
|
422
|
+
accountNumber: string;
|
|
423
|
+
contactId: string;
|
|
424
|
+
createdAt: Generated<Timestamp>;
|
|
425
|
+
holderName: string;
|
|
426
|
+
holderType: AccountingBankAccountHolderType;
|
|
427
|
+
routingNumber: string;
|
|
428
|
+
tenantId: string;
|
|
429
|
+
updatedAt: Generated<Timestamp>;
|
|
430
|
+
updatedByApiTokenId: string | null;
|
|
431
|
+
updatedByBankDetailsRequestId: string | null;
|
|
432
|
+
updatedByUserId: string | null;
|
|
433
|
+
}
|
|
261
434
|
export interface AccountingContactCompanyType {
|
|
262
435
|
name: string;
|
|
263
436
|
}
|
|
@@ -283,6 +456,7 @@ export interface AccountingJournalEntry {
|
|
|
283
456
|
listingOwnershipPeriodId: string | null;
|
|
284
457
|
parentListingId: string | null;
|
|
285
458
|
party: string | null;
|
|
459
|
+
paymentId: string | null;
|
|
286
460
|
recurringFeeId: string | null;
|
|
287
461
|
recurringFeeListingSubscriptionId: string | null;
|
|
288
462
|
reservationId: string | null;
|
|
@@ -318,6 +492,12 @@ export interface AccountingOwnerStatementProjection {
|
|
|
318
492
|
tenantId: string;
|
|
319
493
|
variant: string;
|
|
320
494
|
}
|
|
495
|
+
export interface AccountingOwnerStatementProjectionListingRevision {
|
|
496
|
+
listingId: string;
|
|
497
|
+
revision: Generated<Int8>;
|
|
498
|
+
tenantId: string;
|
|
499
|
+
updatedAt: Generated<Timestamp>;
|
|
500
|
+
}
|
|
321
501
|
export interface AccountingOwnerStatementProjectionRevision {
|
|
322
502
|
revision: Generated<Int8>;
|
|
323
503
|
tenantId: string;
|
|
@@ -329,6 +509,167 @@ export interface AccountingPaidStatus {
|
|
|
329
509
|
export interface AccountingParty {
|
|
330
510
|
name: string;
|
|
331
511
|
}
|
|
512
|
+
export interface AccountingPayment {
|
|
513
|
+
accountId: string | null;
|
|
514
|
+
amount: number;
|
|
515
|
+
bankRecordId: string | null;
|
|
516
|
+
closureConfirmedAt: Timestamp | null;
|
|
517
|
+
closureRequestedAt: Timestamp | null;
|
|
518
|
+
connectionId: string | null;
|
|
519
|
+
contactId: string | null;
|
|
520
|
+
createdAt: Generated<Timestamp>;
|
|
521
|
+
currency: string;
|
|
522
|
+
destinationRef: string | null;
|
|
523
|
+
fundingAccountConnectionId: string | null;
|
|
524
|
+
fundingAccountRef: string | null;
|
|
525
|
+
fundingCurrency: string | null;
|
|
526
|
+
fundingDebited: number | null;
|
|
527
|
+
fundingEntityRef: string | null;
|
|
528
|
+
fundingRefunded: number | null;
|
|
529
|
+
id: Generated<string>;
|
|
530
|
+
idempotencyKey: string;
|
|
531
|
+
initiatedAt: Timestamp | null;
|
|
532
|
+
isHistoricalCopy: Generated<boolean>;
|
|
533
|
+
issue: AccountingPaymentIssue | null;
|
|
534
|
+
method: AccountingPaymentMethod;
|
|
535
|
+
observedAt: Timestamp | null;
|
|
536
|
+
operationId: string | null;
|
|
537
|
+
origin: Generated<AccountingPaymentOrigin>;
|
|
538
|
+
postingDate: Timestamp | null;
|
|
539
|
+
provider: AccountingPaymentProvider | null;
|
|
540
|
+
providerBillRef: string | null;
|
|
541
|
+
providerMethod: string | null;
|
|
542
|
+
providerPaymentRef: string | null;
|
|
543
|
+
providerReference: string | null;
|
|
544
|
+
providerStatus: string | null;
|
|
545
|
+
providerUpdatedAt: Timestamp | null;
|
|
546
|
+
recipientRef: string | null;
|
|
547
|
+
reference: string | null;
|
|
548
|
+
replacesPaymentId: string | null;
|
|
549
|
+
requestedDate: Timestamp | null;
|
|
550
|
+
requestFingerprint: string;
|
|
551
|
+
scheduledAt: Timestamp | null;
|
|
552
|
+
settledAt: Timestamp | null;
|
|
553
|
+
status: Generated<AccountingPaymentStatus>;
|
|
554
|
+
tenantId: string;
|
|
555
|
+
terminalAt: Timestamp | null;
|
|
556
|
+
transactionId: string;
|
|
557
|
+
updatedAt: Generated<Timestamp>;
|
|
558
|
+
}
|
|
559
|
+
export interface AccountingPaymentAllocation {
|
|
560
|
+
amount: number;
|
|
561
|
+
createdAt: Generated<Timestamp>;
|
|
562
|
+
id: Generated<string>;
|
|
563
|
+
paymentId: string;
|
|
564
|
+
tenantId: string;
|
|
565
|
+
transactionLineId: string;
|
|
566
|
+
}
|
|
567
|
+
export interface AccountingPaymentBatch {
|
|
568
|
+
accountId: string;
|
|
569
|
+
createdAt: Generated<Timestamp>;
|
|
570
|
+
createdByUserId: string | null;
|
|
571
|
+
currency: string;
|
|
572
|
+
effectiveDate: Timestamp;
|
|
573
|
+
fileContent: string | null;
|
|
574
|
+
fileUpdatedAt: Timestamp | null;
|
|
575
|
+
id: Generated<string>;
|
|
576
|
+
idempotencyKey: string;
|
|
577
|
+
settings: Json;
|
|
578
|
+
tenantId: string;
|
|
579
|
+
type: AccountingPaymentBatchType;
|
|
580
|
+
updatedAt: Generated<Timestamp>;
|
|
581
|
+
voidedAt: Timestamp | null;
|
|
582
|
+
}
|
|
583
|
+
export interface AccountingPaymentBatchItem {
|
|
584
|
+
accountId: string;
|
|
585
|
+
accountKind: AccountingBankAccountKind | null;
|
|
586
|
+
accountNumber: string | null;
|
|
587
|
+
amount: number;
|
|
588
|
+
batchId: string;
|
|
589
|
+
checkNumber: number | null;
|
|
590
|
+
contactId: string;
|
|
591
|
+
createdAt: Generated<Timestamp>;
|
|
592
|
+
id: Generated<string>;
|
|
593
|
+
memo: string | null;
|
|
594
|
+
payeeAddress: Json | null;
|
|
595
|
+
payeeName: string;
|
|
596
|
+
routingNumber: string | null;
|
|
597
|
+
secCode: AccountingNachaSecCode | null;
|
|
598
|
+
stub: Json;
|
|
599
|
+
tenantId: string;
|
|
600
|
+
traceNumber: string | null;
|
|
601
|
+
voidedAt: Timestamp | null;
|
|
602
|
+
}
|
|
603
|
+
export interface AccountingPaymentBatchPayment {
|
|
604
|
+
createdAt: Generated<Timestamp>;
|
|
605
|
+
itemId: string;
|
|
606
|
+
paymentId: string;
|
|
607
|
+
tenantId: string;
|
|
608
|
+
}
|
|
609
|
+
export interface AccountingPaymentCommand {
|
|
610
|
+
createdAt: Generated<Timestamp>;
|
|
611
|
+
fingerprint: string;
|
|
612
|
+
id: string;
|
|
613
|
+
idempotencyKey: string;
|
|
614
|
+
kind: AccountingPaymentCommandKind;
|
|
615
|
+
outcome: AccountingPaymentCommandOutcome | null;
|
|
616
|
+
outcomeAt: Timestamp | null;
|
|
617
|
+
paymentId: string;
|
|
618
|
+
providerFailureCode: string | null;
|
|
619
|
+
tenantId: string;
|
|
620
|
+
}
|
|
621
|
+
export interface AccountingPaymentObservation {
|
|
622
|
+
connectionId: string;
|
|
623
|
+
createdAt: Generated<Timestamp>;
|
|
624
|
+
eventKey: string;
|
|
625
|
+
externalId: string;
|
|
626
|
+
fingerprint: string;
|
|
627
|
+
fundingCurrency: string | null;
|
|
628
|
+
fundingDebited: number | null;
|
|
629
|
+
fundingRefunded: number | null;
|
|
630
|
+
id: Generated<string>;
|
|
631
|
+
issue: AccountingPaymentIssue | null;
|
|
632
|
+
observedAt: Timestamp;
|
|
633
|
+
origin: Generated<AccountingPaymentObservationOrigin>;
|
|
634
|
+
paidAmount: number | null;
|
|
635
|
+
paymentId: string | null;
|
|
636
|
+
providerBillRef: string | null;
|
|
637
|
+
providerPaymentRef: string | null;
|
|
638
|
+
providerStatus: string | null;
|
|
639
|
+
providerUpdatedAt: Timestamp | null;
|
|
640
|
+
resourceType: AccountingPaymentResourceType;
|
|
641
|
+
returnedAt: Timestamp | null;
|
|
642
|
+
settledAt: Timestamp | null;
|
|
643
|
+
snapshot: Json | null;
|
|
644
|
+
sourceId: string | null;
|
|
645
|
+
status: AccountingPaymentStatus | null;
|
|
646
|
+
tenantId: string;
|
|
647
|
+
terminalAt: Timestamp | null;
|
|
648
|
+
}
|
|
649
|
+
export interface AccountingPaymentReversal {
|
|
650
|
+
createdAt: Generated<Timestamp>;
|
|
651
|
+
effectiveAt: Timestamp;
|
|
652
|
+
id: Generated<string>;
|
|
653
|
+
idempotencyKey: string;
|
|
654
|
+
kind: AccountingPaymentReversalKind;
|
|
655
|
+
paymentId: string;
|
|
656
|
+
postingDate: Timestamp | null;
|
|
657
|
+
reason: string | null;
|
|
658
|
+
requestFingerprint: string;
|
|
659
|
+
tenantId: string;
|
|
660
|
+
}
|
|
661
|
+
export interface AccountingPayoutHold {
|
|
662
|
+
contactId: string;
|
|
663
|
+
createdAt: Generated<Timestamp>;
|
|
664
|
+
createdByApiTokenId: string | null;
|
|
665
|
+
createdByUserId: string | null;
|
|
666
|
+
heldUntil: Timestamp;
|
|
667
|
+
id: Generated<string>;
|
|
668
|
+
reason: AccountingPayoutHoldReason;
|
|
669
|
+
releasedAt: Timestamp | null;
|
|
670
|
+
releasedByUserId: string | null;
|
|
671
|
+
tenantId: string;
|
|
672
|
+
}
|
|
332
673
|
export interface AccountingRate {
|
|
333
674
|
accountId: string | null;
|
|
334
675
|
basisPoints: number;
|
|
@@ -349,6 +690,45 @@ export interface AccountingRate {
|
|
|
349
690
|
export interface AccountingRateType {
|
|
350
691
|
name: string;
|
|
351
692
|
}
|
|
693
|
+
export interface AccountingReservationJournalFreshnessControl {
|
|
694
|
+
createdAt: Generated<Timestamp>;
|
|
695
|
+
guardsEnabledAt: Timestamp | null;
|
|
696
|
+
tenantId: string;
|
|
697
|
+
updatedAt: Generated<Timestamp>;
|
|
698
|
+
}
|
|
699
|
+
export interface AccountingReservationJournalInvalidation {
|
|
700
|
+
actionId: string | null;
|
|
701
|
+
appliedAt: Timestamp | null;
|
|
702
|
+
coveredByEffectId: string | null;
|
|
703
|
+
createdAt: Generated<Timestamp>;
|
|
704
|
+
effectId: string | null;
|
|
705
|
+
failureCode: AccountingReservationJournalInvalidationFailure | null;
|
|
706
|
+
id: Generated<string>;
|
|
707
|
+
reservationId: string;
|
|
708
|
+
revision: Int8;
|
|
709
|
+
sourceResourceId: string | null;
|
|
710
|
+
sourceResourceType: CoreOperationResourceType | null;
|
|
711
|
+
tenantId: string;
|
|
712
|
+
}
|
|
713
|
+
export interface AccountingReservationJournalState {
|
|
714
|
+
appliedRevision: Generated<Int8>;
|
|
715
|
+
calculatedAt: Timestamp | null;
|
|
716
|
+
createdAt: Generated<Timestamp>;
|
|
717
|
+
desiredRevision: Generated<Int8>;
|
|
718
|
+
reservationId: string;
|
|
719
|
+
staleSince: Timestamp | null;
|
|
720
|
+
tenantId: string;
|
|
721
|
+
updatedAt: Generated<Timestamp>;
|
|
722
|
+
}
|
|
723
|
+
export interface AccountingReservationJournalStatementImpact {
|
|
724
|
+
createdAt: Generated<Timestamp>;
|
|
725
|
+
currency: string;
|
|
726
|
+
invalidationId: string;
|
|
727
|
+
listingId: string;
|
|
728
|
+
listingOwnershipPeriodId: string;
|
|
729
|
+
month: Timestamp;
|
|
730
|
+
tenantId: string;
|
|
731
|
+
}
|
|
352
732
|
export interface AccountingTaxBehavior {
|
|
353
733
|
name: string;
|
|
354
734
|
}
|
|
@@ -371,9 +751,12 @@ export interface AccountingTransaction {
|
|
|
371
751
|
matchStatus: Generated<string | null>;
|
|
372
752
|
paidAt: Timestamp | null;
|
|
373
753
|
paidStatus: Generated<string | null>;
|
|
754
|
+
recreatedFromTransactionId: string | null;
|
|
374
755
|
recurringFeeId: string | null;
|
|
375
756
|
recurringPattern: Json | null;
|
|
376
757
|
recurringTemplateId: string | null;
|
|
758
|
+
returnedFromTransactionId: string | null;
|
|
759
|
+
returnEffectiveAt: Timestamp | null;
|
|
377
760
|
/**
|
|
378
761
|
* Human-readable system ID (EXP/DEP/PAY/TRF-XXX-XXXX-XXX depending on transaction.type).
|
|
379
762
|
*/
|
|
@@ -384,6 +767,7 @@ export interface AccountingTransaction {
|
|
|
384
767
|
type: string;
|
|
385
768
|
uniqueRef: string | null;
|
|
386
769
|
updatedAt: Generated<Timestamp>;
|
|
770
|
+
webhookVersion: Generated<Int8>;
|
|
387
771
|
}
|
|
388
772
|
export interface AccountingTransactionAttachment {
|
|
389
773
|
byteSize: number;
|
|
@@ -432,7 +816,13 @@ export interface AccountingTransactionType {
|
|
|
432
816
|
}
|
|
433
817
|
export interface AuditAction {
|
|
434
818
|
actionType: string;
|
|
819
|
+
actorEmail: string | null;
|
|
435
820
|
actorId: string | null;
|
|
821
|
+
actorLabel: string | null;
|
|
822
|
+
actorName: string | null;
|
|
823
|
+
actorOrganizationId: string | null;
|
|
824
|
+
actorOrganizationName: string | null;
|
|
825
|
+
actorOrganizationType: AuditActorOrganizationType | null;
|
|
436
826
|
actorType: AuditActionActorType;
|
|
437
827
|
apiVersion: string;
|
|
438
828
|
createdAt: Generated<Timestamp>;
|
|
@@ -440,14 +830,22 @@ export interface AuditAction {
|
|
|
440
830
|
message: string | null;
|
|
441
831
|
parentActionId: string | null;
|
|
442
832
|
payload: Json | null;
|
|
833
|
+
publicEventProjectedAt: Timestamp | null;
|
|
443
834
|
requestId: string | null;
|
|
444
835
|
rootEntityId: string | null;
|
|
445
836
|
rootEntityType: string | null;
|
|
446
837
|
source: string | null;
|
|
838
|
+
sourceType: AuditSourceType | null;
|
|
447
839
|
tenantId: string;
|
|
448
840
|
traceId: string | null;
|
|
449
841
|
}
|
|
842
|
+
export interface AuditActionClientIp {
|
|
843
|
+
actionId: string;
|
|
844
|
+
clientIp: string;
|
|
845
|
+
createdAt: Generated<Timestamp>;
|
|
846
|
+
}
|
|
450
847
|
export interface AuditEffect {
|
|
848
|
+
accountingRelevant: Generated<boolean>;
|
|
451
849
|
actionId: string;
|
|
452
850
|
claimedAt: Timestamp | null;
|
|
453
851
|
claimedBy: string | null;
|
|
@@ -485,8 +883,16 @@ export interface AuditEffectAttempt {
|
|
|
485
883
|
workerId: string | null;
|
|
486
884
|
}
|
|
487
885
|
export interface AuditJournalDelta {
|
|
886
|
+
accountCategoryIdAfter: string | null;
|
|
887
|
+
accountCategoryIdBefore: string | null;
|
|
888
|
+
accountCategoryNameAfter: string | null;
|
|
889
|
+
accountCategoryNameBefore: string | null;
|
|
890
|
+
accountClassificationAfter: string | null;
|
|
891
|
+
accountClassificationBefore: string | null;
|
|
488
892
|
accountIdAfter: string | null;
|
|
489
893
|
accountIdBefore: string | null;
|
|
894
|
+
accountNameAfter: string | null;
|
|
895
|
+
accountNameBefore: string | null;
|
|
490
896
|
actionId: string;
|
|
491
897
|
apiVersion: string;
|
|
492
898
|
attachedToOwnerStatementIdAfter: string | null;
|
|
@@ -495,10 +901,14 @@ export interface AuditJournalDelta {
|
|
|
495
901
|
centTotalBefore: Int8 | null;
|
|
496
902
|
changedAt: Generated<Timestamp>;
|
|
497
903
|
changedFields: Generated<string[]>;
|
|
904
|
+
currencyAfter: string | null;
|
|
905
|
+
currencyBefore: string | null;
|
|
498
906
|
diffJson: Json | null;
|
|
499
907
|
effectId: string | null;
|
|
500
908
|
id: Generated<string>;
|
|
501
909
|
journalEntryId: string;
|
|
910
|
+
ledgerAfter: string | null;
|
|
911
|
+
ledgerBefore: string | null;
|
|
502
912
|
listingOwnershipPeriodIdAfter: string | null;
|
|
503
913
|
listingOwnershipPeriodIdBefore: string | null;
|
|
504
914
|
mutationId: string | null;
|
|
@@ -514,21 +924,120 @@ export interface AuditJournalDelta {
|
|
|
514
924
|
txnAtBefore: Timestamp | null;
|
|
515
925
|
}
|
|
516
926
|
export interface AuditMutation {
|
|
927
|
+
accountingRelevant: Generated<boolean>;
|
|
517
928
|
actionId: string;
|
|
929
|
+
captureOrder: Generated<Int8 | null>;
|
|
518
930
|
changeRecord: Json;
|
|
519
931
|
createdAt: Generated<Timestamp>;
|
|
520
932
|
effectId: string | null;
|
|
521
933
|
id: Generated<string>;
|
|
522
934
|
op: string;
|
|
935
|
+
publicChanges: Generated<Json>;
|
|
936
|
+
publicOutcome: Json | null;
|
|
523
937
|
rootEntityId: string | null;
|
|
524
938
|
rootEntityType: string | null;
|
|
525
939
|
subjectId: string;
|
|
526
940
|
subjectType: string;
|
|
527
941
|
tenantId: string;
|
|
528
942
|
}
|
|
943
|
+
export interface AuditPublicEvent {
|
|
944
|
+
accountingStatus: AuditPublicEventAccountingStatus;
|
|
945
|
+
actionCode: string;
|
|
946
|
+
actionId: string;
|
|
947
|
+
actionSummary: string;
|
|
948
|
+
actorEmail: string | null;
|
|
949
|
+
actorId: string | null;
|
|
950
|
+
actorLabel: string | null;
|
|
951
|
+
actorName: string | null;
|
|
952
|
+
actorOrganizationId: string | null;
|
|
953
|
+
actorOrganizationName: string | null;
|
|
954
|
+
actorOrganizationType: AuditActorOrganizationType | null;
|
|
955
|
+
actorType: AuditActionActorType;
|
|
956
|
+
affectedAccountIds: Generated<string[]>;
|
|
957
|
+
attemptedEntityChanges: Generated<Json>;
|
|
958
|
+
blockedBy: Generated<Json>;
|
|
959
|
+
changedEntityTypes: Generated<string[]>;
|
|
960
|
+
changedPaths: Generated<string[]>;
|
|
961
|
+
entityChanges: Generated<Json>;
|
|
962
|
+
entityName: string | null;
|
|
963
|
+
entityUniqueRef: string | null;
|
|
964
|
+
hasChanges: Generated<boolean>;
|
|
965
|
+
id: Generated<string>;
|
|
966
|
+
netEffect: Generated<Json>;
|
|
967
|
+
occurredAt: Timestamp;
|
|
968
|
+
operation: AuditPublicEventOperation;
|
|
969
|
+
projectedAt: Generated<Timestamp>;
|
|
970
|
+
projectionFingerprint: string;
|
|
971
|
+
projectionVersion: Generated<number>;
|
|
972
|
+
recovery: Generated<Json>;
|
|
973
|
+
requestId: string | null;
|
|
974
|
+
revision: Generated<number>;
|
|
975
|
+
rootEntityId: string;
|
|
976
|
+
rootEntityType: string;
|
|
977
|
+
sourceType: AuditSourceType;
|
|
978
|
+
teamName: string;
|
|
979
|
+
teamUniqueRef: string | null;
|
|
980
|
+
tenantId: string;
|
|
981
|
+
updatedAt: Generated<Timestamp>;
|
|
982
|
+
}
|
|
983
|
+
export interface AuditPublicEventEntryChange {
|
|
984
|
+
accountIdAfter: string | null;
|
|
985
|
+
accountIdBefore: string | null;
|
|
986
|
+
afterSnapshot: Json | null;
|
|
987
|
+
beforeSnapshot: Json | null;
|
|
988
|
+
causedBy: Json | null;
|
|
989
|
+
changedAt: Timestamp;
|
|
990
|
+
changedFields: Generated<string[]>;
|
|
991
|
+
eventId: string;
|
|
992
|
+
eventRevision: number;
|
|
993
|
+
id: string;
|
|
994
|
+
journalEntryId: string;
|
|
995
|
+
operation: AuditJournalDeltaOperation;
|
|
996
|
+
tenantId: string;
|
|
997
|
+
}
|
|
998
|
+
export interface AuditPublicEventProjectionState {
|
|
999
|
+
cutoverAt: Generated<Timestamp>;
|
|
1000
|
+
lastRecoveredAt: Timestamp | null;
|
|
1001
|
+
retainedFrom: Timestamp | null;
|
|
1002
|
+
singleton: Generated<boolean>;
|
|
1003
|
+
}
|
|
1004
|
+
export interface BillingListingFact {
|
|
1005
|
+
activeListings: number;
|
|
1006
|
+
billingPartnerId: string | null;
|
|
1007
|
+
dataRegion: string;
|
|
1008
|
+
effectiveAt: Timestamp;
|
|
1009
|
+
id: Generated<string>;
|
|
1010
|
+
reconciliation: Generated<boolean>;
|
|
1011
|
+
recordedAt: Generated<Timestamp>;
|
|
1012
|
+
sourceId: string;
|
|
1013
|
+
sourceRevision: Int8 | null;
|
|
1014
|
+
sourceType: BillingListingFactSourceType;
|
|
1015
|
+
tenantId: string;
|
|
1016
|
+
tenantName: string;
|
|
1017
|
+
}
|
|
1018
|
+
export interface BillingListingFactReadiness {
|
|
1019
|
+
availableFrom: Timestamp | null;
|
|
1020
|
+
legacyGapCount: number | null;
|
|
1021
|
+
legacyImportedRows: number | null;
|
|
1022
|
+
parityConfirmed: Generated<boolean>;
|
|
1023
|
+
readyAt: Timestamp | null;
|
|
1024
|
+
singleton: Generated<boolean>;
|
|
1025
|
+
verifiedMonth: Timestamp | null;
|
|
1026
|
+
}
|
|
529
1027
|
export interface CoreActiveStatus {
|
|
530
1028
|
name: string;
|
|
531
1029
|
}
|
|
1030
|
+
export interface CoreAsyncOperationResult {
|
|
1031
|
+
checkpoint: Json | null;
|
|
1032
|
+
createdAt: Generated<Timestamp>;
|
|
1033
|
+
errorMessage: string | null;
|
|
1034
|
+
operationId: string;
|
|
1035
|
+
result: Json | null;
|
|
1036
|
+
status: Generated<CoreAsyncOperationResultStatus>;
|
|
1037
|
+
tenantId: string;
|
|
1038
|
+
type: CoreOperationType;
|
|
1039
|
+
updatedAt: Generated<Timestamp>;
|
|
1040
|
+
}
|
|
532
1041
|
export interface CoreChange {
|
|
533
1042
|
automationId: string | null;
|
|
534
1043
|
changeData: Json | null;
|
|
@@ -580,6 +1089,66 @@ export interface CoreChangeSyncType {
|
|
|
580
1089
|
export interface CoreChangeType {
|
|
581
1090
|
name: string;
|
|
582
1091
|
}
|
|
1092
|
+
export interface CoreCsvOperationResult {
|
|
1093
|
+
connectionId: string;
|
|
1094
|
+
createdAt: Generated<Timestamp>;
|
|
1095
|
+
errorMessage: string | null;
|
|
1096
|
+
kind: CoreCsvOperationResultKind;
|
|
1097
|
+
result: Json | null;
|
|
1098
|
+
status: Generated<CoreCsvOperationResultStatus>;
|
|
1099
|
+
syncId: string;
|
|
1100
|
+
tenantId: string;
|
|
1101
|
+
updatedAt: Generated<Timestamp>;
|
|
1102
|
+
}
|
|
1103
|
+
export interface CoreEmailDelivery {
|
|
1104
|
+
attemptCount: Generated<number>;
|
|
1105
|
+
contactId: string | null;
|
|
1106
|
+
createdAt: Generated<Timestamp>;
|
|
1107
|
+
failureCode: CoreEmailDeliveryFailureCode | null;
|
|
1108
|
+
finishedAt: Timestamp | null;
|
|
1109
|
+
httpStatus: number | null;
|
|
1110
|
+
id: Generated<string>;
|
|
1111
|
+
lastAttemptAt: Timestamp | null;
|
|
1112
|
+
notificationId: string;
|
|
1113
|
+
postmarkErrorCode: number | null;
|
|
1114
|
+
postmarkMessageId: string | null;
|
|
1115
|
+
recipientEmail: string | null;
|
|
1116
|
+
status: Generated<CoreEmailDeliveryStatus>;
|
|
1117
|
+
submittedAt: Timestamp | null;
|
|
1118
|
+
tenantId: string;
|
|
1119
|
+
triggerRunId: string | null;
|
|
1120
|
+
updatedAt: Generated<Timestamp>;
|
|
1121
|
+
userId: string | null;
|
|
1122
|
+
}
|
|
1123
|
+
export interface CoreEmailNotification {
|
|
1124
|
+
createdAt: Generated<Timestamp>;
|
|
1125
|
+
finishedAt: Timestamp | null;
|
|
1126
|
+
id: string;
|
|
1127
|
+
ownerStatementId: string;
|
|
1128
|
+
recipientsResolvedAt: Timestamp | null;
|
|
1129
|
+
requestedByUserId: string | null;
|
|
1130
|
+
startedAt: Timestamp | null;
|
|
1131
|
+
status: Generated<CoreEmailNotificationStatus>;
|
|
1132
|
+
tenantId: string;
|
|
1133
|
+
trigger: CoreEmailNotificationTrigger | null;
|
|
1134
|
+
triggerRunId: string | null;
|
|
1135
|
+
updatedAt: Generated<Timestamp>;
|
|
1136
|
+
}
|
|
1137
|
+
export interface CoreExportJob {
|
|
1138
|
+
createdAt: Generated<Timestamp>;
|
|
1139
|
+
errorMessage: string | null;
|
|
1140
|
+
fileId: string;
|
|
1141
|
+
filename: string;
|
|
1142
|
+
finishedAt: Timestamp | null;
|
|
1143
|
+
format: CoreExportJobFormat;
|
|
1144
|
+
id: string;
|
|
1145
|
+
payload: Json;
|
|
1146
|
+
startedAt: Timestamp | null;
|
|
1147
|
+
status: Generated<CoreOperationStatus>;
|
|
1148
|
+
taskId: CoreExportJobTaskId;
|
|
1149
|
+
tenantId: string;
|
|
1150
|
+
updatedAt: Generated<Timestamp>;
|
|
1151
|
+
}
|
|
583
1152
|
export interface CoreFlow {
|
|
584
1153
|
appId: string;
|
|
585
1154
|
description: string | null;
|
|
@@ -596,6 +1165,64 @@ export interface CoreFlow {
|
|
|
596
1165
|
uniqueRef: string;
|
|
597
1166
|
useGlobalMapping: Generated<boolean>;
|
|
598
1167
|
}
|
|
1168
|
+
export interface CoreFlowEvent {
|
|
1169
|
+
attempts: Generated<number>;
|
|
1170
|
+
availableAt: Generated<Timestamp>;
|
|
1171
|
+
claimedAt: Timestamp | null;
|
|
1172
|
+
claimedBy: string | null;
|
|
1173
|
+
completedAt: Timestamp | null;
|
|
1174
|
+
createdAt: Generated<Timestamp>;
|
|
1175
|
+
data: Generated<Json>;
|
|
1176
|
+
entityId: string;
|
|
1177
|
+
entityType: string;
|
|
1178
|
+
eventType: string;
|
|
1179
|
+
id: Generated<string>;
|
|
1180
|
+
lastErrorCode: string | null;
|
|
1181
|
+
lastErrorDetails: Json | null;
|
|
1182
|
+
maxAttempts: Generated<number>;
|
|
1183
|
+
requiresSensitiveInput: Generated<boolean>;
|
|
1184
|
+
status: Generated<CoreFlowEventStatus>;
|
|
1185
|
+
syncId: string | null;
|
|
1186
|
+
targetConnectionId: string | null;
|
|
1187
|
+
targetFlowId: string | null;
|
|
1188
|
+
tenantId: string;
|
|
1189
|
+
updatedAt: Generated<Timestamp>;
|
|
1190
|
+
}
|
|
1191
|
+
export interface CoreFlowEventDelivery {
|
|
1192
|
+
attempts: Generated<number>;
|
|
1193
|
+
availableAt: Generated<Timestamp>;
|
|
1194
|
+
claimedAt: Timestamp | null;
|
|
1195
|
+
claimedBy: string | null;
|
|
1196
|
+
completedAt: Timestamp | null;
|
|
1197
|
+
connectionId: string;
|
|
1198
|
+
createdAt: Generated<Timestamp>;
|
|
1199
|
+
eventId: string;
|
|
1200
|
+
flowId: string;
|
|
1201
|
+
id: Generated<string>;
|
|
1202
|
+
lastErrorCode: string | null;
|
|
1203
|
+
lastErrorDetails: Json | null;
|
|
1204
|
+
maxAttempts: Generated<number>;
|
|
1205
|
+
status: Generated<CoreFlowEventStatus>;
|
|
1206
|
+
tenantId: string;
|
|
1207
|
+
triggerRunId: string | null;
|
|
1208
|
+
updatedAt: Generated<Timestamp>;
|
|
1209
|
+
}
|
|
1210
|
+
export interface CoreFlowEventOperation {
|
|
1211
|
+
action: CoreFlowEventOperationAction;
|
|
1212
|
+
actor: string;
|
|
1213
|
+
createdAt: Generated<Timestamp>;
|
|
1214
|
+
eventId: string;
|
|
1215
|
+
id: Generated<string>;
|
|
1216
|
+
previousStatus: CoreFlowEventStatus;
|
|
1217
|
+
reasonCode: string;
|
|
1218
|
+
}
|
|
1219
|
+
export interface CoreFlowEventSecret {
|
|
1220
|
+
createdAt: Generated<Timestamp>;
|
|
1221
|
+
encryptedPayload: string;
|
|
1222
|
+
encryptionKeyId: string;
|
|
1223
|
+
eventId: string;
|
|
1224
|
+
expiresAt: Timestamp;
|
|
1225
|
+
}
|
|
599
1226
|
export interface CoreFlowMapping {
|
|
600
1227
|
accountId: string | null;
|
|
601
1228
|
bookingChannelId: string | null;
|
|
@@ -634,6 +1261,56 @@ export interface CoreIssueMessageOverwrite {
|
|
|
634
1261
|
pattern: string;
|
|
635
1262
|
updatedAt: Generated<Timestamp | null>;
|
|
636
1263
|
}
|
|
1264
|
+
export interface CoreOperation {
|
|
1265
|
+
createdAt: Generated<Timestamp>;
|
|
1266
|
+
failureCode: string | null;
|
|
1267
|
+
failureMessage: string | null;
|
|
1268
|
+
finishedAt: Timestamp | null;
|
|
1269
|
+
id: Generated<string>;
|
|
1270
|
+
initiatedByUserId: string | null;
|
|
1271
|
+
publicIdFormat: Generated<CoreOperationPublicIdFormat>;
|
|
1272
|
+
retainUntil: Timestamp | null;
|
|
1273
|
+
sourceVersion: Generated<Int8>;
|
|
1274
|
+
startedAt: Timestamp | null;
|
|
1275
|
+
status: Generated<CoreOperationStatus>;
|
|
1276
|
+
tenantId: string;
|
|
1277
|
+
type: CoreOperationType;
|
|
1278
|
+
updatedAt: Generated<Timestamp>;
|
|
1279
|
+
}
|
|
1280
|
+
export interface CoreOperationBackfill {
|
|
1281
|
+
completedAt: Timestamp | null;
|
|
1282
|
+
createdAt: Generated<Timestamp>;
|
|
1283
|
+
name: string;
|
|
1284
|
+
updatedAt: Generated<Timestamp>;
|
|
1285
|
+
}
|
|
1286
|
+
export interface CoreOperationProjectionOutbox {
|
|
1287
|
+
attempts: Generated<number>;
|
|
1288
|
+
availableAt: Generated<Timestamp>;
|
|
1289
|
+
createdAt: Generated<Timestamp>;
|
|
1290
|
+
id: Generated<string>;
|
|
1291
|
+
lastError: string | null;
|
|
1292
|
+
operationId: string;
|
|
1293
|
+
publishedAt: Timestamp | null;
|
|
1294
|
+
sourceVersion: Int8;
|
|
1295
|
+
}
|
|
1296
|
+
export interface CoreOperationResource {
|
|
1297
|
+
createdAt: Generated<Timestamp>;
|
|
1298
|
+
isPrimary: Generated<boolean>;
|
|
1299
|
+
operationId: string;
|
|
1300
|
+
resourceId: string;
|
|
1301
|
+
resourceType: CoreOperationResourceType;
|
|
1302
|
+
role: CoreOperationResourceRole;
|
|
1303
|
+
}
|
|
1304
|
+
export interface CoreOperationSource {
|
|
1305
|
+
finishedAt: Timestamp | null;
|
|
1306
|
+
operationId: string;
|
|
1307
|
+
required: Generated<boolean>;
|
|
1308
|
+
sourceId: string;
|
|
1309
|
+
sourceType: CoreOperationSourceType;
|
|
1310
|
+
sourceVersion: Generated<Int8>;
|
|
1311
|
+
startedAt: Timestamp | null;
|
|
1312
|
+
status: Generated<CoreOperationStatus>;
|
|
1313
|
+
}
|
|
637
1314
|
export interface CoreSync {
|
|
638
1315
|
automationId: string | null;
|
|
639
1316
|
connectionId: string | null;
|
|
@@ -651,6 +1328,7 @@ export interface CoreSync {
|
|
|
651
1328
|
type: string;
|
|
652
1329
|
updatedAt: Generated<Timestamp>;
|
|
653
1330
|
userId: string | null;
|
|
1331
|
+
webhookVersion: Generated<Int8>;
|
|
654
1332
|
}
|
|
655
1333
|
export interface CoreSyncStatus {
|
|
656
1334
|
name: string;
|
|
@@ -775,6 +1453,283 @@ export interface HdbCatalogHdbVersion {
|
|
|
775
1453
|
upgradedOn: Timestamp;
|
|
776
1454
|
version: string;
|
|
777
1455
|
}
|
|
1456
|
+
export interface HealthAccountingIntegrityCase {
|
|
1457
|
+
actionability: HealthAccountingIntegrityActionability;
|
|
1458
|
+
actual: Json;
|
|
1459
|
+
assignedAt: Timestamp | null;
|
|
1460
|
+
assignedTo: string | null;
|
|
1461
|
+
caseKey: string;
|
|
1462
|
+
code: string;
|
|
1463
|
+
confidence: HealthAccountingIntegrityConfidence;
|
|
1464
|
+
contentHash: string;
|
|
1465
|
+
createdAt: Generated<Timestamp>;
|
|
1466
|
+
dataRegion: string;
|
|
1467
|
+
definitionVersion: number;
|
|
1468
|
+
evidence: Json;
|
|
1469
|
+
evidenceComplete: boolean;
|
|
1470
|
+
expected: Json;
|
|
1471
|
+
firstSeenAt: Timestamp;
|
|
1472
|
+
gitRevision: string;
|
|
1473
|
+
historicalIssueRefs: Json;
|
|
1474
|
+
id: Generated<string>;
|
|
1475
|
+
impact: Json;
|
|
1476
|
+
lastChangedAt: Timestamp;
|
|
1477
|
+
lastSeenAt: Timestamp;
|
|
1478
|
+
lockAssessment: Json;
|
|
1479
|
+
portalUrls: Json;
|
|
1480
|
+
repair: Json;
|
|
1481
|
+
resolutionClassification: HealthAccountingIntegrityResolutionClassification;
|
|
1482
|
+
resolvedAt: Timestamp | null;
|
|
1483
|
+
reviewedAt: Timestamp | null;
|
|
1484
|
+
reviewedBy: string | null;
|
|
1485
|
+
reviewRationale: string | null;
|
|
1486
|
+
reviewStatus: Generated<HealthAccountingIntegrityReviewStatus>;
|
|
1487
|
+
rootCause: string;
|
|
1488
|
+
runId: string;
|
|
1489
|
+
severity: HealthAccountingIntegritySeverity;
|
|
1490
|
+
status: HealthAccountingIntegrityCaseStatus;
|
|
1491
|
+
tenantId: string;
|
|
1492
|
+
title: string;
|
|
1493
|
+
updatedAt: Generated<Timestamp>;
|
|
1494
|
+
urgency: HealthAccountingIntegrityUrgency;
|
|
1495
|
+
verification: Json;
|
|
1496
|
+
version: Generated<Int8>;
|
|
1497
|
+
}
|
|
1498
|
+
export interface HealthAccountingIntegrityComparisonFinding {
|
|
1499
|
+
caseKey: string;
|
|
1500
|
+
code: string;
|
|
1501
|
+
contentHash: string;
|
|
1502
|
+
createdAt: Generated<Timestamp>;
|
|
1503
|
+
dataRegion: string;
|
|
1504
|
+
firstSeenAt: Timestamp;
|
|
1505
|
+
id: Generated<string>;
|
|
1506
|
+
recordId: string;
|
|
1507
|
+
recordType: HealthAccountingIntegrityDirtyRecordType;
|
|
1508
|
+
severity: HealthAccountingIntegritySeverity;
|
|
1509
|
+
tenantId: string;
|
|
1510
|
+
updatedAt: Generated<Timestamp>;
|
|
1511
|
+
}
|
|
1512
|
+
export interface HealthAccountingIntegrityDelivery {
|
|
1513
|
+
attempts: Generated<number>;
|
|
1514
|
+
caseId: string | null;
|
|
1515
|
+
channel: HealthAccountingIntegrityDeliveryChannel;
|
|
1516
|
+
claimedAt: Timestamp | null;
|
|
1517
|
+
claimId: string | null;
|
|
1518
|
+
createdAt: Generated<Timestamp>;
|
|
1519
|
+
dedupeKey: string;
|
|
1520
|
+
deliveredAt: Timestamp | null;
|
|
1521
|
+
eventType: string;
|
|
1522
|
+
id: Generated<string>;
|
|
1523
|
+
lastError: Json | null;
|
|
1524
|
+
nextAttemptAt: Generated<Timestamp>;
|
|
1525
|
+
payload: Json;
|
|
1526
|
+
result: Json | null;
|
|
1527
|
+
runId: string;
|
|
1528
|
+
status: Generated<HealthAccountingIntegrityDeliveryStatus>;
|
|
1529
|
+
updatedAt: Generated<Timestamp>;
|
|
1530
|
+
}
|
|
1531
|
+
export interface HealthAccountingIntegrityDirtyRecord {
|
|
1532
|
+
claimedUntil: Timestamp | null;
|
|
1533
|
+
claimToken: string | null;
|
|
1534
|
+
computedAt: Timestamp | null;
|
|
1535
|
+
computedVersion: Generated<Int8>;
|
|
1536
|
+
createdAt: Generated<Timestamp>;
|
|
1537
|
+
dirtyAt: Generated<Timestamp>;
|
|
1538
|
+
dirtyVersion: Generated<Int8>;
|
|
1539
|
+
recordId: string;
|
|
1540
|
+
recordType: HealthAccountingIntegrityDirtyRecordType;
|
|
1541
|
+
tenantId: string;
|
|
1542
|
+
updatedAt: Generated<Timestamp>;
|
|
1543
|
+
}
|
|
1544
|
+
export interface HealthAccountingIntegrityOperatorEvent {
|
|
1545
|
+
actorId: string;
|
|
1546
|
+
caseId: string | null;
|
|
1547
|
+
caseVersion: Int8 | null;
|
|
1548
|
+
client: string;
|
|
1549
|
+
createdAt: Generated<Timestamp>;
|
|
1550
|
+
id: Generated<string>;
|
|
1551
|
+
idempotencyKey: string;
|
|
1552
|
+
payload: Json;
|
|
1553
|
+
planId: string | null;
|
|
1554
|
+
rationale: string | null;
|
|
1555
|
+
requestId: string;
|
|
1556
|
+
stageId: string | null;
|
|
1557
|
+
targetId: string | null;
|
|
1558
|
+
type: string;
|
|
1559
|
+
}
|
|
1560
|
+
export interface HealthAccountingIntegrityRepairPlan {
|
|
1561
|
+
canceledAt: Timestamp | null;
|
|
1562
|
+
code: string;
|
|
1563
|
+
completedAt: Timestamp | null;
|
|
1564
|
+
createdAt: Generated<Timestamp>;
|
|
1565
|
+
createdBy: string;
|
|
1566
|
+
dataRegion: string;
|
|
1567
|
+
environment: string;
|
|
1568
|
+
gitRevision: string;
|
|
1569
|
+
id: Generated<string>;
|
|
1570
|
+
linearRef: string | null;
|
|
1571
|
+
recipeVersion: number;
|
|
1572
|
+
status: Generated<HealthAccountingIntegrityRepairPlanStatus>;
|
|
1573
|
+
title: string;
|
|
1574
|
+
updatedAt: Generated<Timestamp>;
|
|
1575
|
+
}
|
|
1576
|
+
export interface HealthAccountingIntegrityRepairStage {
|
|
1577
|
+
applyResult: Json | null;
|
|
1578
|
+
approvalRef: string | null;
|
|
1579
|
+
approvedAt: Timestamp | null;
|
|
1580
|
+
approvedBy: string | null;
|
|
1581
|
+
completedAt: Timestamp | null;
|
|
1582
|
+
createdAt: Generated<Timestamp>;
|
|
1583
|
+
dryRunResult: Json | null;
|
|
1584
|
+
id: Generated<string>;
|
|
1585
|
+
limits: Json;
|
|
1586
|
+
manifest: Json;
|
|
1587
|
+
manifestHash: string;
|
|
1588
|
+
ordinal: number;
|
|
1589
|
+
planId: string;
|
|
1590
|
+
scopeType: HealthAccountingIntegrityRepairScopeType;
|
|
1591
|
+
startedAt: Timestamp | null;
|
|
1592
|
+
status: Generated<HealthAccountingIntegrityRepairStageStatus>;
|
|
1593
|
+
tenantId: string;
|
|
1594
|
+
updatedAt: Generated<Timestamp>;
|
|
1595
|
+
verificationResult: Json | null;
|
|
1596
|
+
}
|
|
1597
|
+
export interface HealthAccountingIntegrityRepairTarget {
|
|
1598
|
+
action: Json;
|
|
1599
|
+
applyResult: Json | null;
|
|
1600
|
+
auditActionId: string | null;
|
|
1601
|
+
beforeHash: string;
|
|
1602
|
+
beforeState: Json;
|
|
1603
|
+
caseContentHash: string;
|
|
1604
|
+
caseId: string;
|
|
1605
|
+
caseVersion: Int8;
|
|
1606
|
+
completedAt: Timestamp | null;
|
|
1607
|
+
createdAt: Generated<Timestamp>;
|
|
1608
|
+
effectPlan: Json;
|
|
1609
|
+
expectedResult: Json;
|
|
1610
|
+
id: Generated<string>;
|
|
1611
|
+
idempotencyKey: string;
|
|
1612
|
+
lockAssessment: Json;
|
|
1613
|
+
ordinal: number;
|
|
1614
|
+
stageId: string;
|
|
1615
|
+
startedAt: Timestamp | null;
|
|
1616
|
+
status: Generated<HealthAccountingIntegrityRepairTargetStatus>;
|
|
1617
|
+
targetKey: string;
|
|
1618
|
+
tenantId: string;
|
|
1619
|
+
updatedAt: Generated<Timestamp>;
|
|
1620
|
+
verificationResult: Json | null;
|
|
1621
|
+
}
|
|
1622
|
+
export interface HealthAccountingIntegrityRepairTransition {
|
|
1623
|
+
actor: string;
|
|
1624
|
+
createdAt: Generated<Timestamp>;
|
|
1625
|
+
id: Generated<string>;
|
|
1626
|
+
payload: Json;
|
|
1627
|
+
planId: string;
|
|
1628
|
+
stageId: string | null;
|
|
1629
|
+
targetId: string | null;
|
|
1630
|
+
type: HealthAccountingIntegrityRepairTransitionType;
|
|
1631
|
+
}
|
|
1632
|
+
export interface HealthAccountingIntegrityRun {
|
|
1633
|
+
caseCount: Generated<Int8>;
|
|
1634
|
+
changedCaseCount: Generated<Int8>;
|
|
1635
|
+
code: string;
|
|
1636
|
+
completedAt: Timestamp | null;
|
|
1637
|
+
createdAt: Generated<Timestamp>;
|
|
1638
|
+
dataRegion: string;
|
|
1639
|
+
definitionArtifactHash: string | null;
|
|
1640
|
+
definitionTemplateId: string | null;
|
|
1641
|
+
definitionTemplateVersion: number | null;
|
|
1642
|
+
definitionVersion: number;
|
|
1643
|
+
definitionVersionId: string | null;
|
|
1644
|
+
environment: string;
|
|
1645
|
+
error: Json | null;
|
|
1646
|
+
evaluationId: string;
|
|
1647
|
+
findingRowCount: Generated<Int8>;
|
|
1648
|
+
gitRevision: string;
|
|
1649
|
+
id: Generated<string>;
|
|
1650
|
+
openedCaseCount: Generated<Int8>;
|
|
1651
|
+
operatorDefinitionVersion: number | null;
|
|
1652
|
+
reopenedCaseCount: Generated<Int8>;
|
|
1653
|
+
resolvedCaseCount: Generated<Int8>;
|
|
1654
|
+
resolvesCases: Generated<boolean>;
|
|
1655
|
+
rowsScanned: Generated<Int8>;
|
|
1656
|
+
scopeTenantIds: string[] | null;
|
|
1657
|
+
shardKey: Generated<string>;
|
|
1658
|
+
startedAt: Timestamp;
|
|
1659
|
+
status: HealthAccountingIntegrityRunStatus;
|
|
1660
|
+
unchangedCaseCount: Generated<Int8>;
|
|
1661
|
+
updatedAt: Generated<Timestamp>;
|
|
1662
|
+
}
|
|
1663
|
+
export interface HealthAccountingIntegritySweepCursor {
|
|
1664
|
+
createdAt: Generated<Timestamp>;
|
|
1665
|
+
cycleStartedAt: Generated<Timestamp>;
|
|
1666
|
+
definitionsHash: string | null;
|
|
1667
|
+
lastCycleCompletedAt: Timestamp | null;
|
|
1668
|
+
lastRecordId: string | null;
|
|
1669
|
+
lastTenantId: string | null;
|
|
1670
|
+
recordType: HealthAccountingIntegrityDirtyRecordType;
|
|
1671
|
+
updatedAt: Generated<Timestamp>;
|
|
1672
|
+
}
|
|
1673
|
+
export interface HealthAccountingIntegrityTransition {
|
|
1674
|
+
caseId: string;
|
|
1675
|
+
caseVersion: Int8;
|
|
1676
|
+
createdAt: Generated<Timestamp>;
|
|
1677
|
+
id: Generated<string>;
|
|
1678
|
+
payload: Json;
|
|
1679
|
+
runId: string;
|
|
1680
|
+
type: HealthAccountingIntegrityTransitionType;
|
|
1681
|
+
}
|
|
1682
|
+
export interface HealthReservationIssueSnapshot {
|
|
1683
|
+
computedAt: Timestamp | null;
|
|
1684
|
+
computedVersion: Generated<Int8>;
|
|
1685
|
+
createdAt: Generated<Timestamp>;
|
|
1686
|
+
dirtyAt: Generated<Timestamp>;
|
|
1687
|
+
dirtyVersion: Generated<Int8>;
|
|
1688
|
+
issues: Generated<Json>;
|
|
1689
|
+
reservationId: string;
|
|
1690
|
+
tenantId: string;
|
|
1691
|
+
updatedAt: Generated<Timestamp>;
|
|
1692
|
+
version: Generated<Int8>;
|
|
1693
|
+
}
|
|
1694
|
+
export interface HealthTenantIssue {
|
|
1695
|
+
affected: number;
|
|
1696
|
+
category: HealthTenantIssueCategory;
|
|
1697
|
+
code: HealthTenantIssueCode;
|
|
1698
|
+
contentHash: string;
|
|
1699
|
+
context: Json;
|
|
1700
|
+
createdAt: Generated<Timestamp>;
|
|
1701
|
+
firstSeenAt: Timestamp;
|
|
1702
|
+
id: Generated<string>;
|
|
1703
|
+
lastChangedAt: Timestamp;
|
|
1704
|
+
message: string;
|
|
1705
|
+
openedAt: Timestamp;
|
|
1706
|
+
resolvedAt: Timestamp | null;
|
|
1707
|
+
severity: HealthTenantIssueSeverity;
|
|
1708
|
+
snapshotVersion: Int8;
|
|
1709
|
+
status: HealthTenantIssueStatus;
|
|
1710
|
+
tenantId: string;
|
|
1711
|
+
updatedAt: Generated<Timestamp>;
|
|
1712
|
+
version: Int8;
|
|
1713
|
+
}
|
|
1714
|
+
export interface HealthTenantIssueRuleState {
|
|
1715
|
+
code: HealthTenantIssueCode;
|
|
1716
|
+
computedAt: Timestamp | null;
|
|
1717
|
+
computedVersion: Generated<Int8>;
|
|
1718
|
+
createdAt: Generated<Timestamp>;
|
|
1719
|
+
dirtyAt: Timestamp;
|
|
1720
|
+
dirtyVersion: Generated<Int8>;
|
|
1721
|
+
tenantId: string;
|
|
1722
|
+
updatedAt: Generated<Timestamp>;
|
|
1723
|
+
}
|
|
1724
|
+
export interface HealthTenantIssueSnapshot {
|
|
1725
|
+
computedAt: Timestamp | null;
|
|
1726
|
+
contentHash: string | null;
|
|
1727
|
+
createdAt: Generated<Timestamp>;
|
|
1728
|
+
dirtyAt: Generated<Timestamp>;
|
|
1729
|
+
tenantId: string;
|
|
1730
|
+
updatedAt: Generated<Timestamp>;
|
|
1731
|
+
version: Generated<Int8>;
|
|
1732
|
+
}
|
|
778
1733
|
export interface PublicAccountCollection {
|
|
779
1734
|
automationId: string | null;
|
|
780
1735
|
connectionId: string;
|
|
@@ -922,7 +1877,9 @@ export interface PublicConnection {
|
|
|
922
1877
|
appId: string;
|
|
923
1878
|
backendVersion: number | null;
|
|
924
1879
|
createdAt: Generated<Timestamp>;
|
|
1880
|
+
credentialMetadata: Json | null;
|
|
925
1881
|
credentials: Generated<Json | null>;
|
|
1882
|
+
credentialVersion: Generated<Int8>;
|
|
926
1883
|
disabled: Generated<boolean | null>;
|
|
927
1884
|
fetchNext: Generated<Timestamp | null>;
|
|
928
1885
|
fetchStatus: Generated<string>;
|
|
@@ -938,6 +1895,46 @@ export interface PublicConnection {
|
|
|
938
1895
|
uniqueRef: string | null;
|
|
939
1896
|
updatedAt: Generated<Timestamp | null>;
|
|
940
1897
|
version: number | null;
|
|
1898
|
+
webhookVersion: Generated<Int8>;
|
|
1899
|
+
}
|
|
1900
|
+
export interface PublicConnectionOauthState {
|
|
1901
|
+
appId: string;
|
|
1902
|
+
connectionId: string | null;
|
|
1903
|
+
expiresAt: Timestamp;
|
|
1904
|
+
params: JsonObject;
|
|
1905
|
+
redirectUri: string;
|
|
1906
|
+
stateHash: string;
|
|
1907
|
+
tenantId: string;
|
|
1908
|
+
userId: string;
|
|
1909
|
+
}
|
|
1910
|
+
export interface PublicConnectionRoute {
|
|
1911
|
+
connectionId: string;
|
|
1912
|
+
createdAt: Generated<Timestamp>;
|
|
1913
|
+
tenantId: string;
|
|
1914
|
+
updatedAt: Generated<Timestamp>;
|
|
1915
|
+
}
|
|
1916
|
+
export interface PublicControlPlaneOutbox {
|
|
1917
|
+
aggregateId: string;
|
|
1918
|
+
aggregateType: string;
|
|
1919
|
+
attempts: Generated<number>;
|
|
1920
|
+
createdAt: Generated<Timestamp>;
|
|
1921
|
+
dataRegion: string | null;
|
|
1922
|
+
eventType: string;
|
|
1923
|
+
eventVersion: number;
|
|
1924
|
+
id: Generated<string>;
|
|
1925
|
+
lastError: string | null;
|
|
1926
|
+
payload: Generated<Json>;
|
|
1927
|
+
publishedAt: Timestamp | null;
|
|
1928
|
+
}
|
|
1929
|
+
export interface PublicControlPlaneProjectionEvent {
|
|
1930
|
+
aggregateId: string;
|
|
1931
|
+
aggregateType: string;
|
|
1932
|
+
appliedAt: Generated<Timestamp>;
|
|
1933
|
+
dataRegion: string;
|
|
1934
|
+
eventId: string;
|
|
1935
|
+
eventType: string;
|
|
1936
|
+
eventVersion: number;
|
|
1937
|
+
payload: Generated<Json>;
|
|
941
1938
|
}
|
|
942
1939
|
export interface PublicCurrency {
|
|
943
1940
|
name: string;
|
|
@@ -958,42 +1955,21 @@ export interface PublicEmailTemplate {
|
|
|
958
1955
|
export interface PublicEmailTemplateType {
|
|
959
1956
|
name: string;
|
|
960
1957
|
}
|
|
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 {
|
|
1958
|
+
export interface PublicFeedback {
|
|
1959
|
+
context: string | null;
|
|
988
1960
|
createdAt: Generated<Timestamp>;
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1961
|
+
description: string;
|
|
1962
|
+
errorReason: string | null;
|
|
1963
|
+
id: Generated<string>;
|
|
1964
|
+
kind: PublicFeedbackKind;
|
|
1965
|
+
linearIssueId: string | null;
|
|
1966
|
+
operationId: string | null;
|
|
1967
|
+
relatedRequest: string | null;
|
|
1968
|
+
reporterEmail: string | null;
|
|
1969
|
+
reporterUserId: string | null;
|
|
1970
|
+
route: string | null;
|
|
992
1971
|
tenantId: string;
|
|
993
|
-
|
|
994
|
-
}
|
|
995
|
-
export interface PublicFeatureStatus {
|
|
996
|
-
name: string;
|
|
1972
|
+
title: string;
|
|
997
1973
|
}
|
|
998
1974
|
export interface PublicFileStorage {
|
|
999
1975
|
connectionId: string | null;
|
|
@@ -1031,6 +2007,23 @@ export interface PublicFileStorageTag {
|
|
|
1031
2007
|
uniqueRef: string;
|
|
1032
2008
|
updatedAt: Generated<Timestamp>;
|
|
1033
2009
|
}
|
|
2010
|
+
export interface PublicGuestReview {
|
|
2011
|
+
channel: PublicGuestReviewChannel;
|
|
2012
|
+
connectionId: string;
|
|
2013
|
+
createdAt: Generated<Timestamp>;
|
|
2014
|
+
hostReply: string | null;
|
|
2015
|
+
id: Generated<string>;
|
|
2016
|
+
isHidden: Generated<boolean>;
|
|
2017
|
+
negativeText: string | null;
|
|
2018
|
+
rating: Numeric;
|
|
2019
|
+
reservationId: string;
|
|
2020
|
+
reviewedAt: Timestamp;
|
|
2021
|
+
tenantId: string;
|
|
2022
|
+
text: string | null;
|
|
2023
|
+
title: string | null;
|
|
2024
|
+
uniqueRef: string;
|
|
2025
|
+
updatedAt: Generated<Timestamp>;
|
|
2026
|
+
}
|
|
1034
2027
|
export interface PublicLatestDuplicateEmails {
|
|
1035
2028
|
createdAt: Timestamp | null;
|
|
1036
2029
|
email: string | null;
|
|
@@ -1038,6 +2031,36 @@ export interface PublicLatestDuplicateEmails {
|
|
|
1038
2031
|
name: string | null;
|
|
1039
2032
|
status: string | null;
|
|
1040
2033
|
}
|
|
2034
|
+
export interface PublicLineClassificationUsage {
|
|
2035
|
+
appId: string | null;
|
|
2036
|
+
createdAt: Generated<Timestamp>;
|
|
2037
|
+
firstSeenAt: Generated<Timestamp>;
|
|
2038
|
+
kind: string;
|
|
2039
|
+
lastError: string | null;
|
|
2040
|
+
lastSeenAt: Generated<Timestamp>;
|
|
2041
|
+
mappingStatus: string | null;
|
|
2042
|
+
name: string;
|
|
2043
|
+
reportAttempts: Generated<number>;
|
|
2044
|
+
reportedRevision: Generated<number>;
|
|
2045
|
+
revision: Generated<number>;
|
|
2046
|
+
tenantId: string;
|
|
2047
|
+
updatedAt: Generated<Timestamp>;
|
|
2048
|
+
}
|
|
2049
|
+
export interface PublicLineClassificationUsageBackfill {
|
|
2050
|
+
completedAt: Timestamp | null;
|
|
2051
|
+
cursorId: string | null;
|
|
2052
|
+
source: string;
|
|
2053
|
+
updatedAt: Generated<Timestamp>;
|
|
2054
|
+
}
|
|
2055
|
+
export interface PublicLineClassificationUsageCapture {
|
|
2056
|
+
createdAt: Generated<Timestamp>;
|
|
2057
|
+
firstSeenAt: Timestamp | null;
|
|
2058
|
+
id: Generated<string>;
|
|
2059
|
+
kind: string;
|
|
2060
|
+
lastSeenAt: Timestamp | null;
|
|
2061
|
+
name: string;
|
|
2062
|
+
tenantId: string;
|
|
2063
|
+
}
|
|
1041
2064
|
export interface PublicListing {
|
|
1042
2065
|
address: string | null;
|
|
1043
2066
|
addressCity: string | null;
|
|
@@ -1078,6 +2101,7 @@ export interface PublicListing {
|
|
|
1078
2101
|
title: string | null;
|
|
1079
2102
|
uniqueRef: string | null;
|
|
1080
2103
|
updatedAt: Generated<Timestamp | null>;
|
|
2104
|
+
webhookVersion: Generated<Int8>;
|
|
1081
2105
|
}
|
|
1082
2106
|
export interface PublicListingCollection {
|
|
1083
2107
|
createdAt: Generated<Timestamp>;
|
|
@@ -1141,6 +2165,20 @@ export interface PublicListingOwnershipPeriodMember {
|
|
|
1141
2165
|
split: number;
|
|
1142
2166
|
updatedAt: Generated<Timestamp | null>;
|
|
1143
2167
|
}
|
|
2168
|
+
export interface PublicMemberInviteApproval {
|
|
2169
|
+
createdAt: Generated<Timestamp>;
|
|
2170
|
+
decidedAt: Timestamp | null;
|
|
2171
|
+
decidedByUserId: string | null;
|
|
2172
|
+
email: string;
|
|
2173
|
+
id: Generated<string>;
|
|
2174
|
+
permissionBundles: string[] | null;
|
|
2175
|
+
requestedByUserId: string | null;
|
|
2176
|
+
role: PublicMemberInviteApprovalRole | null;
|
|
2177
|
+
sendEmail: Generated<boolean>;
|
|
2178
|
+
status: Generated<PublicMemberInviteApprovalStatus>;
|
|
2179
|
+
tenantId: string;
|
|
2180
|
+
updatedAt: Generated<Timestamp>;
|
|
2181
|
+
}
|
|
1144
2182
|
export interface PublicOwner {
|
|
1145
2183
|
addressId: string | null;
|
|
1146
2184
|
companyType: string | null;
|
|
@@ -1192,6 +2230,7 @@ export interface PublicOwnerStatement {
|
|
|
1192
2230
|
tenantId: string;
|
|
1193
2231
|
uniqueRef: string | null;
|
|
1194
2232
|
updatedAt: Generated<Timestamp>;
|
|
2233
|
+
webhookVersion: Generated<Int8>;
|
|
1195
2234
|
}
|
|
1196
2235
|
export interface PublicOwnerStatementLayout {
|
|
1197
2236
|
automationId: string | null;
|
|
@@ -1349,6 +2388,49 @@ export interface PublicPaymentStatus {
|
|
|
1349
2388
|
export interface PublicPaymentType {
|
|
1350
2389
|
name: string;
|
|
1351
2390
|
}
|
|
2391
|
+
export interface PublicPlaidConnectSession {
|
|
2392
|
+
connectionId: string | null;
|
|
2393
|
+
createdAt: Generated<Timestamp>;
|
|
2394
|
+
environment: string;
|
|
2395
|
+
errorCode: string | null;
|
|
2396
|
+
errorRetryable: boolean | null;
|
|
2397
|
+
exitedAt: Timestamp | null;
|
|
2398
|
+
exitErrorCode: string | null;
|
|
2399
|
+
exitErrorType: string | null;
|
|
2400
|
+
exitRequestId: string | null;
|
|
2401
|
+
exitView: string | null;
|
|
2402
|
+
expiresAt: Timestamp;
|
|
2403
|
+
id: Generated<string>;
|
|
2404
|
+
institutionId: string | null;
|
|
2405
|
+
institutionName: string | null;
|
|
2406
|
+
itemId: string | null;
|
|
2407
|
+
leaseExpiresAt: Timestamp | null;
|
|
2408
|
+
linkSessionId: string | null;
|
|
2409
|
+
mode: PublicPlaidConnectMode;
|
|
2410
|
+
result: Json | null;
|
|
2411
|
+
status: Generated<PublicPlaidConnectStatus>;
|
|
2412
|
+
syncId: string | null;
|
|
2413
|
+
tenantId: string;
|
|
2414
|
+
updatedAt: Generated<Timestamp>;
|
|
2415
|
+
}
|
|
2416
|
+
export interface PublicRampApplication {
|
|
2417
|
+
applicantEmail: string;
|
|
2418
|
+
applicantUserId: string | null;
|
|
2419
|
+
createdAt: Generated<Timestamp>;
|
|
2420
|
+
credentials: Json | null;
|
|
2421
|
+
environment: PublicRampApplicationEnvironment;
|
|
2422
|
+
id: Generated<string>;
|
|
2423
|
+
invitedAt: Generated<Timestamp>;
|
|
2424
|
+
rampApplicationId: string | null;
|
|
2425
|
+
stateNonce: string;
|
|
2426
|
+
status: Generated<PublicRampApplicationStatus>;
|
|
2427
|
+
statusUpdatedAt: Generated<Timestamp>;
|
|
2428
|
+
tenantId: string;
|
|
2429
|
+
updatedAt: Generated<Timestamp>;
|
|
2430
|
+
webhookId: string | null;
|
|
2431
|
+
webhookSecret: string | null;
|
|
2432
|
+
webhookToken: string | null;
|
|
2433
|
+
}
|
|
1352
2434
|
export interface PublicRecurringFee {
|
|
1353
2435
|
bookingChannelsFilter: string[] | null;
|
|
1354
2436
|
createdAt: Generated<Timestamp>;
|
|
@@ -1360,10 +2442,13 @@ export interface PublicRecurringFee {
|
|
|
1360
2442
|
formula: string | null;
|
|
1361
2443
|
icon: string | null;
|
|
1362
2444
|
id: Generated<string>;
|
|
2445
|
+
nightsFilterMax: number | null;
|
|
2446
|
+
nightsFilterMin: number | null;
|
|
1363
2447
|
rateType: Generated<string | null>;
|
|
1364
2448
|
revenueRecognition: string | null;
|
|
1365
2449
|
status: Generated<string>;
|
|
1366
2450
|
statusFilter: string | null;
|
|
2451
|
+
stayTypesFilter: ArrayType<PublicReservationStayType> | null;
|
|
1367
2452
|
taxBehavior: string | null;
|
|
1368
2453
|
taxRateId: string | null;
|
|
1369
2454
|
tenantId: string;
|
|
@@ -1393,6 +2478,7 @@ export interface PublicRecurringFeeListingSubscription {
|
|
|
1393
2478
|
endAt: Timestamp | null;
|
|
1394
2479
|
id: Generated<string>;
|
|
1395
2480
|
listingId: string;
|
|
2481
|
+
matchBy: Generated<PublicRecurringFeeListingSubscriptionMatchBy>;
|
|
1396
2482
|
rate: number | null;
|
|
1397
2483
|
rateType: Generated<string | null>;
|
|
1398
2484
|
recurringFeeId: string;
|
|
@@ -1407,6 +2493,7 @@ export interface PublicRecurringFeeType {
|
|
|
1407
2493
|
name: string;
|
|
1408
2494
|
}
|
|
1409
2495
|
export interface PublicReservation {
|
|
2496
|
+
adults: number | null;
|
|
1410
2497
|
bookedAt: Generated<Timestamp | null>;
|
|
1411
2498
|
bookerName: string | null;
|
|
1412
2499
|
bookingPlatform: string | null;
|
|
@@ -1425,6 +2512,7 @@ export interface PublicReservation {
|
|
|
1425
2512
|
channelId: string | null;
|
|
1426
2513
|
checkIn: Timestamp | null;
|
|
1427
2514
|
checkOut: Timestamp | null;
|
|
2515
|
+
children: number | null;
|
|
1428
2516
|
confirmationCode: string | null;
|
|
1429
2517
|
connectionId: string | null;
|
|
1430
2518
|
createdAt: Generated<Timestamp | null>;
|
|
@@ -1457,12 +2545,14 @@ export interface PublicReservation {
|
|
|
1457
2545
|
shortRef: string | null;
|
|
1458
2546
|
sourceId: string | null;
|
|
1459
2547
|
status: Generated<string | null>;
|
|
2548
|
+
stayType: Generated<PublicReservationStayType>;
|
|
1460
2549
|
taxCentTotal: Int8 | null;
|
|
1461
2550
|
tenantId: string | null;
|
|
1462
2551
|
uniqueRef: string | null;
|
|
1463
2552
|
uniqueRef2: string | null;
|
|
1464
2553
|
updatedAt: Generated<Timestamp | null>;
|
|
1465
2554
|
userdata: Generated<Json | null>;
|
|
2555
|
+
webhookVersion: Generated<Int8>;
|
|
1466
2556
|
}
|
|
1467
2557
|
export interface PublicReservationStatus {
|
|
1468
2558
|
name: string;
|
|
@@ -1510,6 +2600,20 @@ export interface PublicReservationWithOccupancyStatus {
|
|
|
1510
2600
|
updatedAt: Timestamp | null;
|
|
1511
2601
|
userdata: Json | null;
|
|
1512
2602
|
}
|
|
2603
|
+
export interface PublicSecondFactorReset {
|
|
2604
|
+
createdAt: Generated<Timestamp>;
|
|
2605
|
+
decidedAt: Timestamp | null;
|
|
2606
|
+
decidedByUserId: string | null;
|
|
2607
|
+
expiresAt: Timestamp;
|
|
2608
|
+
id: Generated<string>;
|
|
2609
|
+
identityCheck: string | null;
|
|
2610
|
+
initiator: PublicSecondFactorResetInitiator;
|
|
2611
|
+
requestedByUserId: string | null;
|
|
2612
|
+
status: PublicSecondFactorResetStatus;
|
|
2613
|
+
tenantId: string;
|
|
2614
|
+
updatedAt: Generated<Timestamp>;
|
|
2615
|
+
userId: string;
|
|
2616
|
+
}
|
|
1513
2617
|
export interface PublicSetting {
|
|
1514
2618
|
automationId: string | null;
|
|
1515
2619
|
connectionId: string | null;
|
|
@@ -1603,6 +2707,9 @@ export interface PublicTenant {
|
|
|
1603
2707
|
addressCountry: string | null;
|
|
1604
2708
|
addressLine1: string | null;
|
|
1605
2709
|
addressPostcode: string | null;
|
|
2710
|
+
/**
|
|
2711
|
+
* JSON column for app-owned tenant settings exposed through APIs.
|
|
2712
|
+
*/
|
|
1606
2713
|
appSettings: Json | null;
|
|
1607
2714
|
billingAddressData: Json | null;
|
|
1608
2715
|
billingAddressId: string | null;
|
|
@@ -1610,10 +2717,10 @@ export interface PublicTenant {
|
|
|
1610
2717
|
billingPartnerId: string | null;
|
|
1611
2718
|
billingPaymentMethodType: string | null;
|
|
1612
2719
|
billingPlan: string | null;
|
|
2720
|
+
billingSubscriptionId: string | null;
|
|
1613
2721
|
billingSubscriptionStatus: string | null;
|
|
1614
2722
|
booksClosedAt: Timestamp | null;
|
|
1615
2723
|
calculatedBillingPartnerId: Generated<string | null>;
|
|
1616
|
-
calculatedIsBillable: Generated<boolean | null>;
|
|
1617
2724
|
calculatedStatus: Generated<string | null>;
|
|
1618
2725
|
/**
|
|
1619
2726
|
* Billing subscription is getting cancelled at date
|
|
@@ -1631,19 +2738,26 @@ export interface PublicTenant {
|
|
|
1631
2738
|
defaultRevenueRecognition: string | null;
|
|
1632
2739
|
email: string | null;
|
|
1633
2740
|
featureFlags: Generated<Json | null>;
|
|
2741
|
+
/**
|
|
2742
|
+
* JSON column for explicit VRPilot onboarding guide state.
|
|
2743
|
+
*/
|
|
1634
2744
|
guideOnboarding: Json | null;
|
|
1635
2745
|
historicalStatementsImportedAt: Timestamp | null;
|
|
1636
2746
|
id: Generated<string>;
|
|
1637
2747
|
intercomId: string | null;
|
|
1638
2748
|
isActive: Generated<boolean | null>;
|
|
1639
2749
|
isGeneralLedger: Generated<boolean | null>;
|
|
1640
|
-
isOnboarding: Generated<boolean
|
|
1641
|
-
|
|
2750
|
+
isOnboarding: Generated<boolean>;
|
|
2751
|
+
lockedAt: Timestamp | null;
|
|
1642
2752
|
logo: string | null;
|
|
1643
2753
|
longTermStayNights: number | null;
|
|
2754
|
+
migratedAt: Timestamp | null;
|
|
1644
2755
|
migratedFromTenantId: string | null;
|
|
2756
|
+
migratedToRegion: string | null;
|
|
2757
|
+
migrationStatus: Generated<string>;
|
|
1645
2758
|
name: string;
|
|
1646
2759
|
ownerPortalShowDraftStatements: boolean | null;
|
|
2760
|
+
partnerDeniedPermissions: Generated<string[]>;
|
|
1647
2761
|
partnerId: Generated<string | null>;
|
|
1648
2762
|
/**
|
|
1649
2763
|
* JSON column to hold team settings like "owner_portal_show_reservation_totals" or "owner_portal_show_draft_statements
|
|
@@ -1662,8 +2776,8 @@ export interface PublicTenant {
|
|
|
1662
2776
|
supportEmail: string | null;
|
|
1663
2777
|
supportPhone: string | null;
|
|
1664
2778
|
svixEndpoints: boolean | null;
|
|
1665
|
-
trialUntil: Timestamp | null;
|
|
1666
2779
|
type: Generated<string | null>;
|
|
2780
|
+
uniqueRef: string | null;
|
|
1667
2781
|
updatedAt: Generated<Timestamp | null>;
|
|
1668
2782
|
website: string | null;
|
|
1669
2783
|
}
|
|
@@ -1671,23 +2785,15 @@ export interface PublicTenantUser {
|
|
|
1671
2785
|
createdAt: Generated<Timestamp | null>;
|
|
1672
2786
|
id: Generated<string>;
|
|
1673
2787
|
lastInvitedAt: Timestamp | null;
|
|
2788
|
+
managedTeamAccess: Generated<"all" | "assigned">;
|
|
1674
2789
|
notificationPreferences: Generated<Json | null>;
|
|
2790
|
+
permissionBundles: Generated<string[]>;
|
|
1675
2791
|
role: Generated<string | null>;
|
|
1676
2792
|
status: Generated<string | null>;
|
|
1677
2793
|
tenantId: string;
|
|
1678
2794
|
updatedAt: Generated<Timestamp | null>;
|
|
1679
2795
|
userId: string;
|
|
1680
2796
|
}
|
|
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
2797
|
export interface PublicUser {
|
|
1692
2798
|
address: string | null;
|
|
1693
2799
|
addressCity: string | null;
|
|
@@ -1779,17 +2885,6 @@ export interface PublicWebhook {
|
|
|
1779
2885
|
types2: string[] | null;
|
|
1780
2886
|
url: string;
|
|
1781
2887
|
}
|
|
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
2888
|
export interface TrackingIntercomConversation {
|
|
1794
2889
|
answer: string;
|
|
1795
2890
|
conversationId: Int8;
|
|
@@ -1846,6 +2941,90 @@ export interface TrackingMonitorConnection {
|
|
|
1846
2941
|
export interface TrackingMonitorConnectionState {
|
|
1847
2942
|
name: string;
|
|
1848
2943
|
}
|
|
2944
|
+
export interface WebhookDelivery {
|
|
2945
|
+
apiVersion: WebhookApiVersion;
|
|
2946
|
+
attemptCount: Generated<number>;
|
|
2947
|
+
body: string;
|
|
2948
|
+
claimedAt: Timestamp | null;
|
|
2949
|
+
claimedBy: string | null;
|
|
2950
|
+
createdAt: Generated<Timestamp>;
|
|
2951
|
+
deliveredAt: Timestamp | null;
|
|
2952
|
+
eventType: WebhookEventType;
|
|
2953
|
+
failedAt: Timestamp | null;
|
|
2954
|
+
id: Generated<string>;
|
|
2955
|
+
lastErrorCode: string | null;
|
|
2956
|
+
nextAttemptAt: Generated<Timestamp>;
|
|
2957
|
+
resourceId: string | null;
|
|
2958
|
+
resourceType: WebhookResourceType | null;
|
|
2959
|
+
retryAttemptCount: Generated<number>;
|
|
2960
|
+
sourceEventKey: string;
|
|
2961
|
+
sourceTenantId: string | null;
|
|
2962
|
+
status: Generated<WebhookDeliveryStatus>;
|
|
2963
|
+
subscriptionId: string;
|
|
2964
|
+
subscriptionRevision: Int8;
|
|
2965
|
+
updatedAt: Generated<Timestamp>;
|
|
2966
|
+
}
|
|
2967
|
+
export interface WebhookDeliveryAttempt {
|
|
2968
|
+
attemptNumber: number;
|
|
2969
|
+
createdAt: Generated<Timestamp>;
|
|
2970
|
+
deliveryId: string;
|
|
2971
|
+
durationMs: number;
|
|
2972
|
+
errorClass: string | null;
|
|
2973
|
+
finishedAt: Timestamp;
|
|
2974
|
+
id: Generated<string>;
|
|
2975
|
+
responseExcerpt: string | null;
|
|
2976
|
+
responseStatus: number | null;
|
|
2977
|
+
startedAt: Timestamp;
|
|
2978
|
+
}
|
|
2979
|
+
export interface WebhookDeliveryAttemptSecret {
|
|
2980
|
+
deliveryAttemptId: string;
|
|
2981
|
+
position: string;
|
|
2982
|
+
subscriptionSecretId: string;
|
|
2983
|
+
}
|
|
2984
|
+
export interface WebhookEvent {
|
|
2985
|
+
createdAt: Generated<Timestamp>;
|
|
2986
|
+
data: Json;
|
|
2987
|
+
eventType: WebhookEventType;
|
|
2988
|
+
id: Generated<string>;
|
|
2989
|
+
matchedAt: Timestamp | null;
|
|
2990
|
+
resourceId: string;
|
|
2991
|
+
resourceType: WebhookResourceType;
|
|
2992
|
+
sourceEventKey: string;
|
|
2993
|
+
tenantId: string;
|
|
2994
|
+
}
|
|
2995
|
+
export interface WebhookRateLimit {
|
|
2996
|
+
key: string;
|
|
2997
|
+
ownerTenantId: string;
|
|
2998
|
+
requestCount: number;
|
|
2999
|
+
windowStartedAt: Timestamp;
|
|
3000
|
+
}
|
|
3001
|
+
export interface WebhookSubscription {
|
|
3002
|
+
apiVersion: WebhookApiVersion;
|
|
3003
|
+
createdAt: Generated<Timestamp>;
|
|
3004
|
+
description: string | null;
|
|
3005
|
+
disabledAt: Timestamp | null;
|
|
3006
|
+
eventTypes: ArrayType<WebhookSubscriptionEventType>;
|
|
3007
|
+
id: Generated<string>;
|
|
3008
|
+
ownerTenantId: string;
|
|
3009
|
+
revision: Generated<Int8>;
|
|
3010
|
+
scope: WebhookSubscriptionScope;
|
|
3011
|
+
status: Generated<WebhookSubscriptionStatus>;
|
|
3012
|
+
updatedAt: Generated<Timestamp>;
|
|
3013
|
+
url: string;
|
|
3014
|
+
verifiedAt: Timestamp | null;
|
|
3015
|
+
}
|
|
3016
|
+
export interface WebhookSubscriptionSecret {
|
|
3017
|
+
activeFrom: Generated<Timestamp>;
|
|
3018
|
+
createdAt: Generated<Timestamp>;
|
|
3019
|
+
encryptedSecret: string;
|
|
3020
|
+
encryptionKeyId: string;
|
|
3021
|
+
expiresAt: Timestamp | null;
|
|
3022
|
+
id: Generated<string>;
|
|
3023
|
+
reencryptionFailedAt: Timestamp | null;
|
|
3024
|
+
reencryptionFailureCode: string | null;
|
|
3025
|
+
revokedAt: Timestamp | null;
|
|
3026
|
+
subscriptionId: string;
|
|
3027
|
+
}
|
|
1849
3028
|
export interface DB {
|
|
1850
3029
|
"accounting.account": AccountingAccount;
|
|
1851
3030
|
"accounting.accountAssignment": AccountingAccountAssignment;
|
|
@@ -1853,10 +3032,11 @@ export interface DB {
|
|
|
1853
3032
|
"accounting.accountAssignmentType": AccountingAccountAssignmentType;
|
|
1854
3033
|
"accounting.accountCategory": AccountingAccountCategory;
|
|
1855
3034
|
"accounting.accountClassification": AccountingAccountClassification;
|
|
3035
|
+
"accounting.accountConnection": AccountingAccountConnection;
|
|
3036
|
+
"accounting.accountPaymentFileSetting": AccountingAccountPaymentFileSetting;
|
|
1856
3037
|
"accounting.accountReservationLineType": AccountingAccountReservationLineType;
|
|
1857
3038
|
"accounting.accountReservationRevRec": AccountingAccountReservationRevRec;
|
|
1858
3039
|
"accounting.accountType": AccountingAccountType;
|
|
1859
|
-
"accounting.bankAccount": AccountingBankAccount;
|
|
1860
3040
|
"accounting.bankAccountCategory": AccountingBankAccountCategory;
|
|
1861
3041
|
"accounting.bankAccountType": AccountingBankAccountType;
|
|
1862
3042
|
"accounting.bankRecord": AccountingBankRecord;
|
|
@@ -1871,6 +3051,8 @@ export interface DB {
|
|
|
1871
3051
|
"accounting.bankRuleMatchOperator": AccountingBankRuleMatchOperator;
|
|
1872
3052
|
"accounting.bankRuleMode": AccountingBankRuleMode;
|
|
1873
3053
|
"accounting.contact": AccountingContact;
|
|
3054
|
+
"accounting.contactBankAccount": AccountingContactBankAccount;
|
|
3055
|
+
"accounting.contactBankDetailsRequest": AccountingContactBankDetailsRequest;
|
|
1874
3056
|
"accounting.contactCompanyType": AccountingContactCompanyType;
|
|
1875
3057
|
"accounting.contactType": AccountingContactType;
|
|
1876
3058
|
"accounting.journalEntry": AccountingJournalEntry;
|
|
@@ -1878,22 +3060,43 @@ export interface DB {
|
|
|
1878
3060
|
"accounting.journalEntryTriggerType": AccountingJournalEntryTriggerType;
|
|
1879
3061
|
"accounting.journalEntryType": AccountingJournalEntryType;
|
|
1880
3062
|
"accounting.ownerStatementProjection": AccountingOwnerStatementProjection;
|
|
3063
|
+
"accounting.ownerStatementProjectionListingRevision": AccountingOwnerStatementProjectionListingRevision;
|
|
1881
3064
|
"accounting.ownerStatementProjectionRevision": AccountingOwnerStatementProjectionRevision;
|
|
1882
3065
|
"accounting.paidStatus": AccountingPaidStatus;
|
|
1883
3066
|
"accounting.party": AccountingParty;
|
|
3067
|
+
"accounting.payment": AccountingPayment;
|
|
3068
|
+
"accounting.paymentAllocation": AccountingPaymentAllocation;
|
|
3069
|
+
"accounting.paymentBatch": AccountingPaymentBatch;
|
|
3070
|
+
"accounting.paymentBatchItem": AccountingPaymentBatchItem;
|
|
3071
|
+
"accounting.paymentBatchPayment": AccountingPaymentBatchPayment;
|
|
3072
|
+
"accounting.paymentCommand": AccountingPaymentCommand;
|
|
3073
|
+
"accounting.paymentObservation": AccountingPaymentObservation;
|
|
3074
|
+
"accounting.paymentReversal": AccountingPaymentReversal;
|
|
3075
|
+
"accounting.payoutHold": AccountingPayoutHold;
|
|
1884
3076
|
"accounting.rate": AccountingRate;
|
|
1885
3077
|
"accounting.rateType": AccountingRateType;
|
|
3078
|
+
"accounting.reservationJournalFreshnessControl": AccountingReservationJournalFreshnessControl;
|
|
3079
|
+
"accounting.reservationJournalInvalidation": AccountingReservationJournalInvalidation;
|
|
3080
|
+
"accounting.reservationJournalState": AccountingReservationJournalState;
|
|
3081
|
+
"accounting.reservationJournalStatementImpact": AccountingReservationJournalStatementImpact;
|
|
1886
3082
|
"accounting.taxBehavior": AccountingTaxBehavior;
|
|
1887
3083
|
"accounting.transaction": AccountingTransaction;
|
|
1888
3084
|
"accounting.transactionAttachment": AccountingTransactionAttachment;
|
|
1889
3085
|
"accounting.transactionLine": AccountingTransactionLine;
|
|
1890
3086
|
"accounting.transactionType": AccountingTransactionType;
|
|
1891
3087
|
"audit.action": AuditAction;
|
|
3088
|
+
"audit.actionClientIp": AuditActionClientIp;
|
|
1892
3089
|
"audit.effect": AuditEffect;
|
|
1893
3090
|
"audit.effectAttempt": AuditEffectAttempt;
|
|
1894
3091
|
"audit.journalDelta": AuditJournalDelta;
|
|
1895
3092
|
"audit.mutation": AuditMutation;
|
|
3093
|
+
"audit.publicEvent": AuditPublicEvent;
|
|
3094
|
+
"audit.publicEventEntryChange": AuditPublicEventEntryChange;
|
|
3095
|
+
"audit.publicEventProjectionState": AuditPublicEventProjectionState;
|
|
3096
|
+
"billing.listingFact": BillingListingFact;
|
|
3097
|
+
"billing.listingFactReadiness": BillingListingFactReadiness;
|
|
1896
3098
|
"core.activeStatus": CoreActiveStatus;
|
|
3099
|
+
"core.asyncOperationResult": CoreAsyncOperationResult;
|
|
1897
3100
|
"core.change": CoreChange;
|
|
1898
3101
|
"core.changeEntityType": CoreChangeEntityType;
|
|
1899
3102
|
"core.changeLink": CoreChangeLink;
|
|
@@ -1901,10 +3104,23 @@ export interface DB {
|
|
|
1901
3104
|
"core.changeStatus": CoreChangeStatus;
|
|
1902
3105
|
"core.changeSyncType": CoreChangeSyncType;
|
|
1903
3106
|
"core.changeType": CoreChangeType;
|
|
3107
|
+
"core.csvOperationResult": CoreCsvOperationResult;
|
|
3108
|
+
"core.emailDelivery": CoreEmailDelivery;
|
|
3109
|
+
"core.emailNotification": CoreEmailNotification;
|
|
3110
|
+
"core.exportJob": CoreExportJob;
|
|
1904
3111
|
"core.flow": CoreFlow;
|
|
3112
|
+
"core.flowEvent": CoreFlowEvent;
|
|
3113
|
+
"core.flowEventDelivery": CoreFlowEventDelivery;
|
|
3114
|
+
"core.flowEventOperation": CoreFlowEventOperation;
|
|
3115
|
+
"core.flowEventSecret": CoreFlowEventSecret;
|
|
1905
3116
|
"core.flowMapping": CoreFlowMapping;
|
|
1906
3117
|
"core.flowSetting": CoreFlowSetting;
|
|
1907
3118
|
"core.issueMessageOverwrite": CoreIssueMessageOverwrite;
|
|
3119
|
+
"core.operation": CoreOperation;
|
|
3120
|
+
"core.operationBackfill": CoreOperationBackfill;
|
|
3121
|
+
"core.operationProjectionOutbox": CoreOperationProjectionOutbox;
|
|
3122
|
+
"core.operationResource": CoreOperationResource;
|
|
3123
|
+
"core.operationSource": CoreOperationSource;
|
|
1908
3124
|
"core.sync": CoreSync;
|
|
1909
3125
|
"core.syncStatus": CoreSyncStatus;
|
|
1910
3126
|
"core.syncSubtask": CoreSyncSubtask;
|
|
@@ -1921,6 +3137,22 @@ export interface DB {
|
|
|
1921
3137
|
"hdbCatalog.hdbSchemaNotifications": HdbCatalogHdbSchemaNotifications;
|
|
1922
3138
|
"hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
|
|
1923
3139
|
"hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
|
|
3140
|
+
"health.accountingIntegrityCase": HealthAccountingIntegrityCase;
|
|
3141
|
+
"health.accountingIntegrityComparisonFinding": HealthAccountingIntegrityComparisonFinding;
|
|
3142
|
+
"health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
|
|
3143
|
+
"health.accountingIntegrityDirtyRecord": HealthAccountingIntegrityDirtyRecord;
|
|
3144
|
+
"health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
|
|
3145
|
+
"health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
|
|
3146
|
+
"health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
|
|
3147
|
+
"health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;
|
|
3148
|
+
"health.accountingIntegrityRepairTransition": HealthAccountingIntegrityRepairTransition;
|
|
3149
|
+
"health.accountingIntegrityRun": HealthAccountingIntegrityRun;
|
|
3150
|
+
"health.accountingIntegritySweepCursor": HealthAccountingIntegritySweepCursor;
|
|
3151
|
+
"health.accountingIntegrityTransition": HealthAccountingIntegrityTransition;
|
|
3152
|
+
"health.reservationIssueSnapshot": HealthReservationIssueSnapshot;
|
|
3153
|
+
"health.tenantIssue": HealthTenantIssue;
|
|
3154
|
+
"health.tenantIssueRuleState": HealthTenantIssueRuleState;
|
|
3155
|
+
"health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
|
|
1924
3156
|
"public.accountCollection": PublicAccountCollection;
|
|
1925
3157
|
"public.accountCollectionType": PublicAccountCollectionType;
|
|
1926
3158
|
"public.address": PublicAddress;
|
|
@@ -1932,19 +3164,23 @@ export interface DB {
|
|
|
1932
3164
|
"public.bookingChannel": PublicBookingChannel;
|
|
1933
3165
|
"public.bookingChannelIconCandidate": PublicBookingChannelIconCandidate;
|
|
1934
3166
|
"public.connection": PublicConnection;
|
|
3167
|
+
"public.connectionOauthState": PublicConnectionOauthState;
|
|
3168
|
+
"public.connectionRoute": PublicConnectionRoute;
|
|
3169
|
+
"public.controlPlaneOutbox": PublicControlPlaneOutbox;
|
|
3170
|
+
"public.controlPlaneProjectionEvent": PublicControlPlaneProjectionEvent;
|
|
1935
3171
|
"public.currency": PublicCurrency;
|
|
1936
3172
|
"public.duplicateEmails": PublicDuplicateEmails;
|
|
1937
3173
|
"public.emailTemplate": PublicEmailTemplate;
|
|
1938
3174
|
"public.emailTemplateType": PublicEmailTemplateType;
|
|
1939
|
-
"public.
|
|
1940
|
-
"public.featureApproval": PublicFeatureApproval;
|
|
1941
|
-
"public.featureApprovalStatus": PublicFeatureApprovalStatus;
|
|
1942
|
-
"public.featureEnabledTeam": PublicFeatureEnabledTeam;
|
|
1943
|
-
"public.featureStatus": PublicFeatureStatus;
|
|
3175
|
+
"public.feedback": PublicFeedback;
|
|
1944
3176
|
"public.fileStorage": PublicFileStorage;
|
|
1945
3177
|
"public.fileStorageSourceLink": PublicFileStorageSourceLink;
|
|
1946
3178
|
"public.fileStorageTag": PublicFileStorageTag;
|
|
3179
|
+
"public.guestReview": PublicGuestReview;
|
|
1947
3180
|
"public.latestDuplicateEmails": PublicLatestDuplicateEmails;
|
|
3181
|
+
"public.lineClassificationUsage": PublicLineClassificationUsage;
|
|
3182
|
+
"public.lineClassificationUsageBackfill": PublicLineClassificationUsageBackfill;
|
|
3183
|
+
"public.lineClassificationUsageCapture": PublicLineClassificationUsageCapture;
|
|
1948
3184
|
"public.listing": PublicListing;
|
|
1949
3185
|
"public.listingCollection": PublicListingCollection;
|
|
1950
3186
|
"public.listingConnection": PublicListingConnection;
|
|
@@ -1953,6 +3189,7 @@ export interface DB {
|
|
|
1953
3189
|
"public.listingOwnershipPeriod": PublicListingOwnershipPeriod;
|
|
1954
3190
|
"public.listingOwnershipPeriodBusinessModel": PublicListingOwnershipPeriodBusinessModel;
|
|
1955
3191
|
"public.listingOwnershipPeriodMember": PublicListingOwnershipPeriodMember;
|
|
3192
|
+
"public.memberInviteApproval": PublicMemberInviteApproval;
|
|
1956
3193
|
"public.owner": PublicOwner;
|
|
1957
3194
|
"public.ownerStatement": PublicOwnerStatement;
|
|
1958
3195
|
"public.ownerStatementLayout": PublicOwnerStatementLayout;
|
|
@@ -1970,6 +3207,8 @@ export interface DB {
|
|
|
1970
3207
|
"public.paymentLineClassification": PublicPaymentLineClassification;
|
|
1971
3208
|
"public.paymentStatus": PublicPaymentStatus;
|
|
1972
3209
|
"public.paymentType": PublicPaymentType;
|
|
3210
|
+
"public.plaidConnectSession": PublicPlaidConnectSession;
|
|
3211
|
+
"public.rampApplication": PublicRampApplication;
|
|
1973
3212
|
"public.recurringFee": PublicRecurringFee;
|
|
1974
3213
|
"public.recurringFeeAccount": PublicRecurringFeeAccount;
|
|
1975
3214
|
"public.recurringFeeAccountCondition": PublicRecurringFeeAccountCondition;
|
|
@@ -1979,6 +3218,7 @@ export interface DB {
|
|
|
1979
3218
|
"public.reservation": PublicReservation;
|
|
1980
3219
|
"public.reservationStatus": PublicReservationStatus;
|
|
1981
3220
|
"public.reservationWithOccupancyStatus": PublicReservationWithOccupancyStatus;
|
|
3221
|
+
"public.secondFactorReset": PublicSecondFactorReset;
|
|
1982
3222
|
"public.setting": PublicSetting;
|
|
1983
3223
|
"public.source": PublicSource;
|
|
1984
3224
|
"public.task": PublicTask;
|
|
@@ -1986,7 +3226,6 @@ export interface DB {
|
|
|
1986
3226
|
"public.taxStatementStatus": PublicTaxStatementStatus;
|
|
1987
3227
|
"public.tenant": PublicTenant;
|
|
1988
3228
|
"public.tenantUser": PublicTenantUser;
|
|
1989
|
-
"public.token": PublicToken;
|
|
1990
3229
|
"public.user": PublicUser;
|
|
1991
3230
|
"public.userCompanyType": PublicUserCompanyType;
|
|
1992
3231
|
"public.userCompanyUser": PublicUserCompanyUser;
|
|
@@ -1996,7 +3235,6 @@ export interface DB {
|
|
|
1996
3235
|
"public.viewWebhookEvents": PublicViewWebhookEvents;
|
|
1997
3236
|
"public.viewWebhookEventsGroupedByDate": PublicViewWebhookEventsGroupedByDate;
|
|
1998
3237
|
"public.webhook": PublicWebhook;
|
|
1999
|
-
"tracking.event": TrackingEvent;
|
|
2000
3238
|
"tracking.intercomConversation": TrackingIntercomConversation;
|
|
2001
3239
|
"tracking.intercomConversationUser": TrackingIntercomConversationUser;
|
|
2002
3240
|
"tracking.intercomReport": TrackingIntercomReport;
|
|
@@ -2004,4 +3242,11 @@ export interface DB {
|
|
|
2004
3242
|
"tracking.metricCache": TrackingMetricCache;
|
|
2005
3243
|
"tracking.monitorConnection": TrackingMonitorConnection;
|
|
2006
3244
|
"tracking.monitorConnectionState": TrackingMonitorConnectionState;
|
|
3245
|
+
"webhook.delivery": WebhookDelivery;
|
|
3246
|
+
"webhook.deliveryAttempt": WebhookDeliveryAttempt;
|
|
3247
|
+
"webhook.deliveryAttemptSecret": WebhookDeliveryAttemptSecret;
|
|
3248
|
+
"webhook.event": WebhookEvent;
|
|
3249
|
+
"webhook.rateLimit": WebhookRateLimit;
|
|
3250
|
+
"webhook.subscription": WebhookSubscription;
|
|
3251
|
+
"webhook.subscriptionSecret": WebhookSubscriptionSecret;
|
|
2007
3252
|
}
|