@vrplatform/kysely 1.3.45-stage.438 → 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 +2 -1
- 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 +54 -1
- package/build/main/control-plane/index.js +10 -0
- package/build/main/control-plane/index.js.map +1 -1
- package/build/main/error.d.ts +2 -2
- package/build/main/error.js.map +1 -1
- package/build/main/index.d.ts +50 -4
- package/build/main/index.js +389 -63
- package/build/main/index.js.map +1 -1
- package/build/main/isomorphic.d.ts +1 -1
- package/build/main/isomorphic.js +3 -1
- package/build/main/isomorphic.js.map +1 -1
- package/build/main/local/digest.js.map +1 -1
- package/build/main/local/generate.js +4 -3
- package/build/main/local/generate.js.map +1 -1
- package/build/main/local/index.js +34 -10
- package/build/main/local/index.js.map +1 -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 +5 -5
- 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.js.map +1 -1
- package/build/main/postgres-error.d.ts +1 -0
- package/build/main/postgres-error.js +12 -6
- package/build/main/postgres-error.js.map +1 -1
- package/build/main/query/listing/status.d.ts +2 -2
- package/build/main/query/listing/status.js +6 -2
- package/build/main/query/listing/status.js.map +1 -1
- package/build/main/query/tenant/billing-partner.js.map +1 -1
- 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 +2 -0
- package/build/main/query/tenant/index.js +2 -0
- package/build/main/query/tenant/index.js.map +1 -1
- package/build/main/query/tenant/status.d.ts +1 -6
- package/build/main/query/tenant/status.js +4 -12
- package/build/main/query/tenant/status.js.map +1 -1
- 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 +2 -1
- package/build/main/regional.js +1 -0
- package/build/main/regional.js.map +1 -1
- package/build/main/test/index.d.ts +7 -9
- package/build/main/test/index.js +11 -14
- package/build/main/test/index.js.map +1 -1
- package/build/main/transaction.js.map +1 -1
- package/build/main/v1.generated.d.ts +509 -70
- package/build/main/v1.generated.js.map +1 -1
- package/build/migrations-v2/0000000000033-plaid-connect-session-telemetry.ts +31 -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 +3 -2
- 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 +54 -1
- package/build/module/control-plane/index.js +9 -0
- package/build/module/control-plane/index.js.map +1 -1
- package/build/module/error.d.ts +2 -2
- package/build/module/error.js.map +1 -1
- package/build/module/index.d.ts +50 -4
- package/build/module/index.js +387 -63
- package/build/module/index.js.map +1 -1
- package/build/module/isomorphic.d.ts +1 -1
- package/build/module/isomorphic.js +1 -1
- package/build/module/isomorphic.js.map +1 -1
- package/build/module/local/generate.js +4 -3
- package/build/module/local/generate.js.map +1 -1
- package/build/module/local/index.js +34 -10
- package/build/module/local/index.js.map +1 -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 +5 -5
- 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/postgres-error.d.ts +1 -0
- package/build/module/postgres-error.js +11 -6
- package/build/module/postgres-error.js.map +1 -1
- package/build/module/query/listing/status.d.ts +2 -2
- package/build/module/query/listing/status.js +6 -2
- package/build/module/query/listing/status.js.map +1 -1
- 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 +2 -0
- package/build/module/query/tenant/index.js +2 -0
- package/build/module/query/tenant/index.js.map +1 -1
- package/build/module/query/tenant/status.d.ts +1 -6
- package/build/module/query/tenant/status.js +4 -11
- package/build/module/query/tenant/status.js.map +1 -1
- 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 +2 -1
- package/build/module/regional.js +1 -0
- package/build/module/regional.js.map +1 -1
- package/build/module/test/index.d.ts +7 -9
- package/build/module/test/index.js +11 -14
- package/build/module/test/index.js.map +1 -1
- package/build/module/v1.generated.d.ts +509 -70
- package/build/module/v1.generated.js.map +1 -1
- package/package.json +10 -8
|
@@ -3,39 +3,71 @@
|
|
|
3
3
|
* Please do not edit it manually.
|
|
4
4
|
*/
|
|
5
5
|
import type { ColumnType } from "kysely";
|
|
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";
|
|
6
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
36
|
export type ArrayType<T> = ArrayTypeImpl<T> extends (infer U)[] ? U[] : ArrayTypeImpl<T>;
|
|
10
37
|
export type ArrayTypeImpl<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S[], I[], U[]> : T[];
|
|
11
38
|
export type AuditActionActorType = "api_key" | "automation" | "sync" | "system" | "user";
|
|
39
|
+
export type AuditActorOrganizationType = "partner" | "system" | "team" | "vrplatform";
|
|
12
40
|
export type AuditEffectAttemptStatus = "completed" | "failed" | "running" | "skipped_locked";
|
|
13
41
|
export type AuditEffectStatus = "claimed" | "completed" | "dead_letter" | "failed" | "pending" | "running";
|
|
14
42
|
export type AuditJournalDeltaOperation = "delete" | "insert" | "update";
|
|
15
43
|
export type AuditPublicEventAccountingStatus = "blocked" | "changed" | "failed" | "mixed" | "not_applicable" | "pending" | "unchanged";
|
|
16
44
|
export type AuditPublicEventOperation = "archive" | "create" | "delete" | "execute" | "recalculate" | "restore" | "update";
|
|
17
|
-
export type AuditActorOrganizationType = "partner" | "system" | "team" | "vrplatform";
|
|
18
45
|
export type AuditSourceType = "api" | "automation" | "embedded" | "integration" | "portal" | "sync" | "system";
|
|
19
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";
|
|
20
47
|
export type CoreAsyncOperationResultStatus = "completed" | "failed" | "queued";
|
|
21
48
|
export type CoreCsvOperationResultKind = "import" | "preview";
|
|
22
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";
|
|
23
54
|
export type CoreExportJobFormat = "csv" | "pdf" | "zip";
|
|
24
|
-
export type CoreExportJobTaskId = "api/export-journal-entries-csv" | "api/export-manager-statement-pdf" | "api/export-owner-statement-combined-csv" | "api/export-owner-statement-pdf" | "api/export-owner-statement-pdf-batch-zip" | "api/export-owner-statement-summary-pdf" | "api/export-owner-statement-summary-pdf-batch-zip" | "api/export-route" | "api/export-trust-reconciliation-pdf";
|
|
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";
|
|
25
56
|
export type CoreFlowEventOperationAction = "abandon" | "replay";
|
|
26
57
|
export type CoreFlowEventStatus = "canceled" | "dead" | "pending" | "processing" | "succeeded";
|
|
58
|
+
export type CoreOperationPublicIdFormat = "action" | "legacy";
|
|
27
59
|
export type CoreOperationResourceRole = "result" | "source" | "target";
|
|
28
60
|
export type CoreOperationResourceType = "bank-rule" | "connection" | "contact" | "file" | "flow" | "listing" | "recurring-fee" | "recurring-transaction-template" | "reservation" | "statement" | "team" | "transaction" | "webhook";
|
|
29
|
-
export type CoreOperationPublicIdFormat = "action" | "legacy";
|
|
30
61
|
export type CoreOperationSourceType = "audit-action" | "export-job" | "sync" | "webhook-delivery";
|
|
31
62
|
export type CoreOperationStatus = "completed" | "failed" | "queued" | "running";
|
|
32
|
-
export type CoreOperationType = "ach-verification" | "bank-rule-run" | "calendar-block" | "calendar-unblock" | "connection-archive" | "connection-connect" | "connection-extract" | "connection-sync" | "csv-import" | "csv-import-preview" | "export" | "flow-run" | "historical-gl-import" | "historical-statement-import" | "listing-journal-refresh" | "plaid-initial-sync" | "pms-cutover" | "pms-cutover-preview" | "provider-payment" | "provider-payment-recovery" | "recurring-transaction-run" | "reservation-journal-refresh" | "team-delete" | "team-demo-data" | "team-duplicate" | "team-initialize" | "transaction-journal-refresh" | "vri-statement-import" | "vri-team-migration" | "webhook-test";
|
|
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";
|
|
33
64
|
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
34
65
|
export type HealthAccountingIntegrityActionability = "automatically_repairable" | "blocked" | "code_fix_required" | "manual_repair" | "unknown";
|
|
35
66
|
export type HealthAccountingIntegrityCaseStatus = "open" | "resolved";
|
|
36
67
|
export type HealthAccountingIntegrityConfidence = "probable" | "proven" | "unknown";
|
|
37
68
|
export type HealthAccountingIntegrityDeliveryChannel = "sentry" | "slack";
|
|
38
69
|
export type HealthAccountingIntegrityDeliveryStatus = "dead_letter" | "delivered" | "failed" | "pending" | "processing" | "suppressed";
|
|
70
|
+
export type HealthAccountingIntegrityDirtyRecordType = "reservation" | "transaction";
|
|
39
71
|
export type HealthAccountingIntegrityRepairPlanStatus = "active" | "canceled" | "completed" | "draft" | "failed" | "paused";
|
|
40
72
|
export type HealthAccountingIntegrityRepairScopeType = "case" | "tenant";
|
|
41
73
|
export type HealthAccountingIntegrityRepairStageStatus = "applying" | "approved" | "canceled" | "dry_run_passed" | "failed" | "paused" | "planned" | "verified" | "verifying";
|
|
@@ -48,7 +80,7 @@ export type HealthAccountingIntegritySeverity = "critical" | "error" | "info" |
|
|
|
48
80
|
export type HealthAccountingIntegrityTransitionType = "changed" | "opened" | "reopened" | "resolved" | "reviewed";
|
|
49
81
|
export type HealthAccountingIntegrityUrgency = "backlog" | "immediate" | "next_triage" | "none";
|
|
50
82
|
export type HealthTenantIssueCategory = "criticalToSystem" | "criticalToUser";
|
|
51
|
-
export type HealthTenantIssueCode = "brokenConnections" | "cancelledReservationPaidWithoutAdjustment" | "closedPeriodUnattachedJournalEntries" | "duplicatedPayments" | "endedOwnershipNonZeroBalance" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "missingOwnershipOrDeactivation" | "operatingBankAccountsWithoutOpex" | "outdatedConnections" | "partnerBillingInactive" | "partnerInactive" | "pmsMissingAccountingStart" | "publishedStatementUnpaid" | "reservationCurrencyMismatch" | "reservationGuestTotalsMismatch" | "reservationPaymentProjectionMismatch" | "teamInactive" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "unpaidReservations";
|
|
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";
|
|
52
84
|
export type HealthTenantIssueSeverity = "error" | "warning";
|
|
53
85
|
export type HealthTenantIssueStatus = "open" | "resolved";
|
|
54
86
|
export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
|
|
@@ -60,10 +92,20 @@ export type JsonObject = {
|
|
|
60
92
|
export type JsonPrimitive = boolean | number | string | null;
|
|
61
93
|
export type JsonValue = JsonArray | JsonObject | JsonPrimitive;
|
|
62
94
|
export type Numeric = ColumnType<string, number | string, number | string>;
|
|
95
|
+
export type PublicFeedbackKind = "bug" | "feedback" | "question";
|
|
63
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";
|
|
64
100
|
export type PublicPlaidConnectMode = "create" | "replace" | "update";
|
|
65
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";
|
|
66
106
|
export type PublicRecurringFeeConditionOperator = "<" | "<=" | "=" | ">" | ">=";
|
|
107
|
+
export type PublicRecurringFeeListingSubscriptionMatchBy = "bookedDate" | "stayDate";
|
|
108
|
+
export type PublicReservationStayType = "guest" | "owner" | "ownerGuest";
|
|
67
109
|
export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
|
|
68
110
|
export type WebhookApiVersion = "2026-07-01";
|
|
69
111
|
export type WebhookDeliveryStatus = "canceled" | "delivering" | "failed" | "queued" | "retrying" | "succeeded";
|
|
@@ -125,11 +167,17 @@ export interface AccountingAccountConnection {
|
|
|
125
167
|
connectionId: string | null;
|
|
126
168
|
createdAt: Generated<Timestamp>;
|
|
127
169
|
currency: string | null;
|
|
170
|
+
fundingEntityRef: string | null;
|
|
128
171
|
holderName: string | null;
|
|
129
172
|
id: Generated<string>;
|
|
130
173
|
lastDigits: string | null;
|
|
174
|
+
matchCandidateAccountIds: Generated<string[]>;
|
|
175
|
+
matchedAt: Timestamp | null;
|
|
176
|
+
matchSource: AccountingAccountConnectionMatchSource | null;
|
|
177
|
+
matchStatus: AccountingAccountConnectionMatchStatus | null;
|
|
131
178
|
name: string | null;
|
|
132
179
|
persistentRef: string | null;
|
|
180
|
+
role: Generated<AccountingAccountConnectionRole>;
|
|
133
181
|
sourceId: string | null;
|
|
134
182
|
startDate: Timestamp | null;
|
|
135
183
|
/**
|
|
@@ -142,14 +190,52 @@ export interface AccountingAccountConnection {
|
|
|
142
190
|
uniqueRef: string | null;
|
|
143
191
|
updatedAt: Generated<Timestamp>;
|
|
144
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
|
+
}
|
|
145
226
|
export interface AccountingAccountReservationLineType {
|
|
146
227
|
accountId: string | null;
|
|
147
228
|
bookingChannel: string | null;
|
|
148
229
|
createdAt: Generated<Timestamp>;
|
|
149
230
|
id: Generated<string>;
|
|
231
|
+
isSuggestion: Generated<boolean>;
|
|
150
232
|
lineType: string;
|
|
151
233
|
revenueRecognition: string | null;
|
|
152
234
|
status: Generated<string | null>;
|
|
235
|
+
suggestionReason: string | null;
|
|
236
|
+
suggestionSource: AccountingReservationLineMappingSuggestionSource | null;
|
|
237
|
+
suggestionTaxable: boolean | null;
|
|
238
|
+
taxable: Generated<boolean>;
|
|
153
239
|
tenantId: string;
|
|
154
240
|
updatedAt: Generated<Timestamp>;
|
|
155
241
|
}
|
|
@@ -187,8 +273,10 @@ export interface AccountingBankRecord {
|
|
|
187
273
|
}
|
|
188
274
|
export interface AccountingBankRecordTransactionPayment {
|
|
189
275
|
bankRecordId: string;
|
|
276
|
+
bankRuleId: string | null;
|
|
190
277
|
createdAt: Generated<Timestamp>;
|
|
191
278
|
id: Generated<string>;
|
|
279
|
+
matchSource: AccountingBankRecordMatchSource | null;
|
|
192
280
|
tenantId: string | null;
|
|
193
281
|
transactionId: string;
|
|
194
282
|
updatedAt: Generated<Timestamp>;
|
|
@@ -277,6 +365,8 @@ export interface AccountingBankRuleMode {
|
|
|
277
365
|
}
|
|
278
366
|
export interface AccountingContact {
|
|
279
367
|
addressData: Json | null;
|
|
368
|
+
addressEditedAt: Timestamp | null;
|
|
369
|
+
bankDetailsRequestedAt: Timestamp | null;
|
|
280
370
|
/**
|
|
281
371
|
* When NULL, the type is "individual"
|
|
282
372
|
*/
|
|
@@ -284,9 +374,12 @@ export interface AccountingContact {
|
|
|
284
374
|
connectionId: string | null;
|
|
285
375
|
createdAt: Generated<Timestamp>;
|
|
286
376
|
defaultAccountId: string | null;
|
|
377
|
+
defaultPaymentMethod: Generated<AccountingContactPaymentMethod | null>;
|
|
287
378
|
email: string | null;
|
|
379
|
+
emailDeliveryRequestedAt: Timestamp | null;
|
|
288
380
|
firstName: string | null;
|
|
289
381
|
id: Generated<string>;
|
|
382
|
+
is1099Exempt: Generated<boolean>;
|
|
290
383
|
is1099PostalDelivery: Generated<boolean>;
|
|
291
384
|
name: string;
|
|
292
385
|
phone: string | null;
|
|
@@ -296,8 +389,12 @@ export interface AccountingContact {
|
|
|
296
389
|
*/
|
|
297
390
|
shortRef: string | null;
|
|
298
391
|
sourceId: string | null;
|
|
392
|
+
statementEmailEnabled: boolean | null;
|
|
393
|
+
statementEmailUnsubscribedAt: Timestamp | null;
|
|
299
394
|
status: string | null;
|
|
300
395
|
taxId: string | null;
|
|
396
|
+
taxIdType: AccountingContactTaxIdType | null;
|
|
397
|
+
taxInfoRequestedAt: Timestamp | null;
|
|
301
398
|
tenantId: string;
|
|
302
399
|
/**
|
|
303
400
|
* owner OR vendor
|
|
@@ -306,6 +403,34 @@ export interface AccountingContact {
|
|
|
306
403
|
uniqueRef: string | null;
|
|
307
404
|
updatedAt: Generated<Timestamp>;
|
|
308
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
|
+
}
|
|
309
434
|
export interface AccountingContactCompanyType {
|
|
310
435
|
name: string;
|
|
311
436
|
}
|
|
@@ -331,6 +456,7 @@ export interface AccountingJournalEntry {
|
|
|
331
456
|
listingOwnershipPeriodId: string | null;
|
|
332
457
|
parentListingId: string | null;
|
|
333
458
|
party: string | null;
|
|
459
|
+
paymentId: string | null;
|
|
334
460
|
recurringFeeId: string | null;
|
|
335
461
|
recurringFeeListingSubscriptionId: string | null;
|
|
336
462
|
reservationId: string | null;
|
|
@@ -383,6 +509,167 @@ export interface AccountingPaidStatus {
|
|
|
383
509
|
export interface AccountingParty {
|
|
384
510
|
name: string;
|
|
385
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
|
+
}
|
|
386
673
|
export interface AccountingRate {
|
|
387
674
|
accountId: string | null;
|
|
388
675
|
basisPoints: number;
|
|
@@ -415,6 +702,7 @@ export interface AccountingReservationJournalInvalidation {
|
|
|
415
702
|
coveredByEffectId: string | null;
|
|
416
703
|
createdAt: Generated<Timestamp>;
|
|
417
704
|
effectId: string | null;
|
|
705
|
+
failureCode: AccountingReservationJournalInvalidationFailure | null;
|
|
418
706
|
id: Generated<string>;
|
|
419
707
|
reservationId: string;
|
|
420
708
|
revision: Int8;
|
|
@@ -551,6 +839,11 @@ export interface AuditAction {
|
|
|
551
839
|
tenantId: string;
|
|
552
840
|
traceId: string | null;
|
|
553
841
|
}
|
|
842
|
+
export interface AuditActionClientIp {
|
|
843
|
+
actionId: string;
|
|
844
|
+
clientIp: string;
|
|
845
|
+
createdAt: Generated<Timestamp>;
|
|
846
|
+
}
|
|
554
847
|
export interface AuditEffect {
|
|
555
848
|
accountingRelevant: Generated<boolean>;
|
|
556
849
|
actionId: string;
|
|
@@ -676,8 +969,8 @@ export interface AuditPublicEvent {
|
|
|
676
969
|
projectedAt: Generated<Timestamp>;
|
|
677
970
|
projectionFingerprint: string;
|
|
678
971
|
projectionVersion: Generated<number>;
|
|
679
|
-
requestId: string | null;
|
|
680
972
|
recovery: Generated<Json>;
|
|
973
|
+
requestId: string | null;
|
|
681
974
|
revision: Generated<number>;
|
|
682
975
|
rootEntityId: string;
|
|
683
976
|
rootEntityType: string;
|
|
@@ -735,6 +1028,7 @@ export interface CoreActiveStatus {
|
|
|
735
1028
|
name: string;
|
|
736
1029
|
}
|
|
737
1030
|
export interface CoreAsyncOperationResult {
|
|
1031
|
+
checkpoint: Json | null;
|
|
738
1032
|
createdAt: Generated<Timestamp>;
|
|
739
1033
|
errorMessage: string | null;
|
|
740
1034
|
operationId: string;
|
|
@@ -806,6 +1100,40 @@ export interface CoreCsvOperationResult {
|
|
|
806
1100
|
tenantId: string;
|
|
807
1101
|
updatedAt: Generated<Timestamp>;
|
|
808
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
|
+
}
|
|
809
1137
|
export interface CoreExportJob {
|
|
810
1138
|
createdAt: Generated<Timestamp>;
|
|
811
1139
|
errorMessage: string | null;
|
|
@@ -1167,6 +1495,20 @@ export interface HealthAccountingIntegrityCase {
|
|
|
1167
1495
|
verification: Json;
|
|
1168
1496
|
version: Generated<Int8>;
|
|
1169
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
|
+
}
|
|
1170
1512
|
export interface HealthAccountingIntegrityDelivery {
|
|
1171
1513
|
attempts: Generated<number>;
|
|
1172
1514
|
caseId: string | null;
|
|
@@ -1186,6 +1528,19 @@ export interface HealthAccountingIntegrityDelivery {
|
|
|
1186
1528
|
status: Generated<HealthAccountingIntegrityDeliveryStatus>;
|
|
1187
1529
|
updatedAt: Generated<Timestamp>;
|
|
1188
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
|
+
}
|
|
1189
1544
|
export interface HealthAccountingIntegrityOperatorEvent {
|
|
1190
1545
|
actorId: string;
|
|
1191
1546
|
caseId: string | null;
|
|
@@ -1305,6 +1660,16 @@ export interface HealthAccountingIntegrityRun {
|
|
|
1305
1660
|
unchangedCaseCount: Generated<Int8>;
|
|
1306
1661
|
updatedAt: Generated<Timestamp>;
|
|
1307
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
|
+
}
|
|
1308
1673
|
export interface HealthAccountingIntegrityTransition {
|
|
1309
1674
|
caseId: string;
|
|
1310
1675
|
caseVersion: Int8;
|
|
@@ -1512,7 +1877,9 @@ export interface PublicConnection {
|
|
|
1512
1877
|
appId: string;
|
|
1513
1878
|
backendVersion: number | null;
|
|
1514
1879
|
createdAt: Generated<Timestamp>;
|
|
1880
|
+
credentialMetadata: Json | null;
|
|
1515
1881
|
credentials: Generated<Json | null>;
|
|
1882
|
+
credentialVersion: Generated<Int8>;
|
|
1516
1883
|
disabled: Generated<boolean | null>;
|
|
1517
1884
|
fetchNext: Generated<Timestamp | null>;
|
|
1518
1885
|
fetchStatus: Generated<string>;
|
|
@@ -1530,6 +1897,16 @@ export interface PublicConnection {
|
|
|
1530
1897
|
version: number | null;
|
|
1531
1898
|
webhookVersion: Generated<Int8>;
|
|
1532
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
|
+
}
|
|
1533
1910
|
export interface PublicConnectionRoute {
|
|
1534
1911
|
connectionId: string;
|
|
1535
1912
|
createdAt: Generated<Timestamp>;
|
|
@@ -1578,42 +1955,21 @@ export interface PublicEmailTemplate {
|
|
|
1578
1955
|
export interface PublicEmailTemplateType {
|
|
1579
1956
|
name: string;
|
|
1580
1957
|
}
|
|
1581
|
-
export interface
|
|
1958
|
+
export interface PublicFeedback {
|
|
1959
|
+
context: string | null;
|
|
1582
1960
|
createdAt: Generated<Timestamp>;
|
|
1583
|
-
description: string
|
|
1584
|
-
|
|
1585
|
-
issueUrl: string | null;
|
|
1586
|
-
/**
|
|
1587
|
-
* user ids of user needed to approve this feature
|
|
1588
|
-
*/
|
|
1589
|
-
requiredApprovals: Generated<Json | null>;
|
|
1590
|
-
status: Generated<string | null>;
|
|
1591
|
-
tenantId: string | null;
|
|
1592
|
-
title: string;
|
|
1593
|
-
updatedAt: Generated<Timestamp>;
|
|
1594
|
-
url: string | null;
|
|
1595
|
-
}
|
|
1596
|
-
export interface PublicFeatureApproval {
|
|
1597
|
-
createdAt: Generated<Timestamp>;
|
|
1598
|
-
featureId: string;
|
|
1599
|
-
id: Generated<string>;
|
|
1600
|
-
status: Generated<string | null>;
|
|
1601
|
-
updatedAt: Generated<Timestamp>;
|
|
1602
|
-
userId: string;
|
|
1603
|
-
}
|
|
1604
|
-
export interface PublicFeatureApprovalStatus {
|
|
1605
|
-
name: string;
|
|
1606
|
-
}
|
|
1607
|
-
export interface PublicFeatureEnabledTeam {
|
|
1608
|
-
createdAt: Generated<Timestamp>;
|
|
1609
|
-
featureId: string;
|
|
1961
|
+
description: string;
|
|
1962
|
+
errorReason: string | null;
|
|
1610
1963
|
id: Generated<string>;
|
|
1611
|
-
|
|
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;
|
|
1612
1971
|
tenantId: string;
|
|
1613
|
-
|
|
1614
|
-
}
|
|
1615
|
-
export interface PublicFeatureStatus {
|
|
1616
|
-
name: string;
|
|
1972
|
+
title: string;
|
|
1617
1973
|
}
|
|
1618
1974
|
export interface PublicFileStorage {
|
|
1619
1975
|
connectionId: string | null;
|
|
@@ -1651,6 +2007,23 @@ export interface PublicFileStorageTag {
|
|
|
1651
2007
|
uniqueRef: string;
|
|
1652
2008
|
updatedAt: Generated<Timestamp>;
|
|
1653
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
|
+
}
|
|
1654
2027
|
export interface PublicLatestDuplicateEmails {
|
|
1655
2028
|
createdAt: Timestamp | null;
|
|
1656
2029
|
email: string | null;
|
|
@@ -1792,6 +2165,20 @@ export interface PublicListingOwnershipPeriodMember {
|
|
|
1792
2165
|
split: number;
|
|
1793
2166
|
updatedAt: Generated<Timestamp | null>;
|
|
1794
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
|
+
}
|
|
1795
2182
|
export interface PublicOwner {
|
|
1796
2183
|
addressId: string | null;
|
|
1797
2184
|
companyType: string | null;
|
|
@@ -2007,8 +2394,15 @@ export interface PublicPlaidConnectSession {
|
|
|
2007
2394
|
environment: string;
|
|
2008
2395
|
errorCode: string | null;
|
|
2009
2396
|
errorRetryable: boolean | null;
|
|
2397
|
+
exitedAt: Timestamp | null;
|
|
2398
|
+
exitErrorCode: string | null;
|
|
2399
|
+
exitErrorType: string | null;
|
|
2400
|
+
exitRequestId: string | null;
|
|
2401
|
+
exitView: string | null;
|
|
2010
2402
|
expiresAt: Timestamp;
|
|
2011
2403
|
id: Generated<string>;
|
|
2404
|
+
institutionId: string | null;
|
|
2405
|
+
institutionName: string | null;
|
|
2012
2406
|
itemId: string | null;
|
|
2013
2407
|
leaseExpiresAt: Timestamp | null;
|
|
2014
2408
|
linkSessionId: string | null;
|
|
@@ -2019,6 +2413,24 @@ export interface PublicPlaidConnectSession {
|
|
|
2019
2413
|
tenantId: string;
|
|
2020
2414
|
updatedAt: Generated<Timestamp>;
|
|
2021
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
|
+
}
|
|
2022
2434
|
export interface PublicRecurringFee {
|
|
2023
2435
|
bookingChannelsFilter: string[] | null;
|
|
2024
2436
|
createdAt: Generated<Timestamp>;
|
|
@@ -2030,10 +2442,13 @@ export interface PublicRecurringFee {
|
|
|
2030
2442
|
formula: string | null;
|
|
2031
2443
|
icon: string | null;
|
|
2032
2444
|
id: Generated<string>;
|
|
2445
|
+
nightsFilterMax: number | null;
|
|
2446
|
+
nightsFilterMin: number | null;
|
|
2033
2447
|
rateType: Generated<string | null>;
|
|
2034
2448
|
revenueRecognition: string | null;
|
|
2035
2449
|
status: Generated<string>;
|
|
2036
2450
|
statusFilter: string | null;
|
|
2451
|
+
stayTypesFilter: ArrayType<PublicReservationStayType> | null;
|
|
2037
2452
|
taxBehavior: string | null;
|
|
2038
2453
|
taxRateId: string | null;
|
|
2039
2454
|
tenantId: string;
|
|
@@ -2063,6 +2478,7 @@ export interface PublicRecurringFeeListingSubscription {
|
|
|
2063
2478
|
endAt: Timestamp | null;
|
|
2064
2479
|
id: Generated<string>;
|
|
2065
2480
|
listingId: string;
|
|
2481
|
+
matchBy: Generated<PublicRecurringFeeListingSubscriptionMatchBy>;
|
|
2066
2482
|
rate: number | null;
|
|
2067
2483
|
rateType: Generated<string | null>;
|
|
2068
2484
|
recurringFeeId: string;
|
|
@@ -2129,6 +2545,7 @@ export interface PublicReservation {
|
|
|
2129
2545
|
shortRef: string | null;
|
|
2130
2546
|
sourceId: string | null;
|
|
2131
2547
|
status: Generated<string | null>;
|
|
2548
|
+
stayType: Generated<PublicReservationStayType>;
|
|
2132
2549
|
taxCentTotal: Int8 | null;
|
|
2133
2550
|
tenantId: string | null;
|
|
2134
2551
|
uniqueRef: string | null;
|
|
@@ -2183,6 +2600,20 @@ export interface PublicReservationWithOccupancyStatus {
|
|
|
2183
2600
|
updatedAt: Timestamp | null;
|
|
2184
2601
|
userdata: Json | null;
|
|
2185
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
|
+
}
|
|
2186
2617
|
export interface PublicSetting {
|
|
2187
2618
|
automationId: string | null;
|
|
2188
2619
|
connectionId: string | null;
|
|
@@ -2286,10 +2717,10 @@ export interface PublicTenant {
|
|
|
2286
2717
|
billingPartnerId: string | null;
|
|
2287
2718
|
billingPaymentMethodType: string | null;
|
|
2288
2719
|
billingPlan: string | null;
|
|
2720
|
+
billingSubscriptionId: string | null;
|
|
2289
2721
|
billingSubscriptionStatus: string | null;
|
|
2290
2722
|
booksClosedAt: Timestamp | null;
|
|
2291
2723
|
calculatedBillingPartnerId: Generated<string | null>;
|
|
2292
|
-
calculatedIsBillable: Generated<boolean | null>;
|
|
2293
2724
|
calculatedStatus: Generated<string | null>;
|
|
2294
2725
|
/**
|
|
2295
2726
|
* Billing subscription is getting cancelled at date
|
|
@@ -2316,8 +2747,8 @@ export interface PublicTenant {
|
|
|
2316
2747
|
intercomId: string | null;
|
|
2317
2748
|
isActive: Generated<boolean | null>;
|
|
2318
2749
|
isGeneralLedger: Generated<boolean | null>;
|
|
2319
|
-
isOnboarding: Generated<boolean
|
|
2320
|
-
|
|
2750
|
+
isOnboarding: Generated<boolean>;
|
|
2751
|
+
lockedAt: Timestamp | null;
|
|
2321
2752
|
logo: string | null;
|
|
2322
2753
|
longTermStayNights: number | null;
|
|
2323
2754
|
migratedAt: Timestamp | null;
|
|
@@ -2363,16 +2794,6 @@ export interface PublicTenantUser {
|
|
|
2363
2794
|
updatedAt: Generated<Timestamp | null>;
|
|
2364
2795
|
userId: string;
|
|
2365
2796
|
}
|
|
2366
|
-
export interface PublicToken {
|
|
2367
|
-
createdAt: Generated<Timestamp>;
|
|
2368
|
-
expiresAt: Timestamp | null;
|
|
2369
|
-
id: Generated<string>;
|
|
2370
|
-
nanoId: Generated<string>;
|
|
2371
|
-
payload: Generated<Json>;
|
|
2372
|
-
tenantId: string | null;
|
|
2373
|
-
type: string | null;
|
|
2374
|
-
userId: string | null;
|
|
2375
|
-
}
|
|
2376
2797
|
export interface PublicUser {
|
|
2377
2798
|
address: string | null;
|
|
2378
2799
|
addressCity: string | null;
|
|
@@ -2464,17 +2885,6 @@ export interface PublicWebhook {
|
|
|
2464
2885
|
types2: string[] | null;
|
|
2465
2886
|
url: string;
|
|
2466
2887
|
}
|
|
2467
|
-
export interface TrackingEvent {
|
|
2468
|
-
createdAt: Generated<Timestamp>;
|
|
2469
|
-
id: Generated<string>;
|
|
2470
|
-
name: string;
|
|
2471
|
-
packageName: string;
|
|
2472
|
-
props: Json;
|
|
2473
|
-
tenantId: string | null;
|
|
2474
|
-
timestamp: Generated<Timestamp | null>;
|
|
2475
|
-
trackedAt: Generated<Timestamp | null>;
|
|
2476
|
-
userId: string | null;
|
|
2477
|
-
}
|
|
2478
2888
|
export interface TrackingIntercomConversation {
|
|
2479
2889
|
answer: string;
|
|
2480
2890
|
conversationId: Int8;
|
|
@@ -2571,6 +2981,17 @@ export interface WebhookDeliveryAttemptSecret {
|
|
|
2571
2981
|
position: string;
|
|
2572
2982
|
subscriptionSecretId: string;
|
|
2573
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
|
+
}
|
|
2574
2995
|
export interface WebhookRateLimit {
|
|
2575
2996
|
key: string;
|
|
2576
2997
|
ownerTenantId: string;
|
|
@@ -2612,6 +3033,7 @@ export interface DB {
|
|
|
2612
3033
|
"accounting.accountCategory": AccountingAccountCategory;
|
|
2613
3034
|
"accounting.accountClassification": AccountingAccountClassification;
|
|
2614
3035
|
"accounting.accountConnection": AccountingAccountConnection;
|
|
3036
|
+
"accounting.accountPaymentFileSetting": AccountingAccountPaymentFileSetting;
|
|
2615
3037
|
"accounting.accountReservationLineType": AccountingAccountReservationLineType;
|
|
2616
3038
|
"accounting.accountReservationRevRec": AccountingAccountReservationRevRec;
|
|
2617
3039
|
"accounting.accountType": AccountingAccountType;
|
|
@@ -2629,6 +3051,8 @@ export interface DB {
|
|
|
2629
3051
|
"accounting.bankRuleMatchOperator": AccountingBankRuleMatchOperator;
|
|
2630
3052
|
"accounting.bankRuleMode": AccountingBankRuleMode;
|
|
2631
3053
|
"accounting.contact": AccountingContact;
|
|
3054
|
+
"accounting.contactBankAccount": AccountingContactBankAccount;
|
|
3055
|
+
"accounting.contactBankDetailsRequest": AccountingContactBankDetailsRequest;
|
|
2632
3056
|
"accounting.contactCompanyType": AccountingContactCompanyType;
|
|
2633
3057
|
"accounting.contactType": AccountingContactType;
|
|
2634
3058
|
"accounting.journalEntry": AccountingJournalEntry;
|
|
@@ -2640,6 +3064,15 @@ export interface DB {
|
|
|
2640
3064
|
"accounting.ownerStatementProjectionRevision": AccountingOwnerStatementProjectionRevision;
|
|
2641
3065
|
"accounting.paidStatus": AccountingPaidStatus;
|
|
2642
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;
|
|
2643
3076
|
"accounting.rate": AccountingRate;
|
|
2644
3077
|
"accounting.rateType": AccountingRateType;
|
|
2645
3078
|
"accounting.reservationJournalFreshnessControl": AccountingReservationJournalFreshnessControl;
|
|
@@ -2652,6 +3085,7 @@ export interface DB {
|
|
|
2652
3085
|
"accounting.transactionLine": AccountingTransactionLine;
|
|
2653
3086
|
"accounting.transactionType": AccountingTransactionType;
|
|
2654
3087
|
"audit.action": AuditAction;
|
|
3088
|
+
"audit.actionClientIp": AuditActionClientIp;
|
|
2655
3089
|
"audit.effect": AuditEffect;
|
|
2656
3090
|
"audit.effectAttempt": AuditEffectAttempt;
|
|
2657
3091
|
"audit.journalDelta": AuditJournalDelta;
|
|
@@ -2671,6 +3105,8 @@ export interface DB {
|
|
|
2671
3105
|
"core.changeSyncType": CoreChangeSyncType;
|
|
2672
3106
|
"core.changeType": CoreChangeType;
|
|
2673
3107
|
"core.csvOperationResult": CoreCsvOperationResult;
|
|
3108
|
+
"core.emailDelivery": CoreEmailDelivery;
|
|
3109
|
+
"core.emailNotification": CoreEmailNotification;
|
|
2674
3110
|
"core.exportJob": CoreExportJob;
|
|
2675
3111
|
"core.flow": CoreFlow;
|
|
2676
3112
|
"core.flowEvent": CoreFlowEvent;
|
|
@@ -2702,13 +3138,16 @@ export interface DB {
|
|
|
2702
3138
|
"hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
|
|
2703
3139
|
"hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
|
|
2704
3140
|
"health.accountingIntegrityCase": HealthAccountingIntegrityCase;
|
|
3141
|
+
"health.accountingIntegrityComparisonFinding": HealthAccountingIntegrityComparisonFinding;
|
|
2705
3142
|
"health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
|
|
3143
|
+
"health.accountingIntegrityDirtyRecord": HealthAccountingIntegrityDirtyRecord;
|
|
2706
3144
|
"health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
|
|
2707
3145
|
"health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
|
|
2708
3146
|
"health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
|
|
2709
3147
|
"health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;
|
|
2710
3148
|
"health.accountingIntegrityRepairTransition": HealthAccountingIntegrityRepairTransition;
|
|
2711
3149
|
"health.accountingIntegrityRun": HealthAccountingIntegrityRun;
|
|
3150
|
+
"health.accountingIntegritySweepCursor": HealthAccountingIntegritySweepCursor;
|
|
2712
3151
|
"health.accountingIntegrityTransition": HealthAccountingIntegrityTransition;
|
|
2713
3152
|
"health.reservationIssueSnapshot": HealthReservationIssueSnapshot;
|
|
2714
3153
|
"health.tenantIssue": HealthTenantIssue;
|
|
@@ -2725,6 +3164,7 @@ export interface DB {
|
|
|
2725
3164
|
"public.bookingChannel": PublicBookingChannel;
|
|
2726
3165
|
"public.bookingChannelIconCandidate": PublicBookingChannelIconCandidate;
|
|
2727
3166
|
"public.connection": PublicConnection;
|
|
3167
|
+
"public.connectionOauthState": PublicConnectionOauthState;
|
|
2728
3168
|
"public.connectionRoute": PublicConnectionRoute;
|
|
2729
3169
|
"public.controlPlaneOutbox": PublicControlPlaneOutbox;
|
|
2730
3170
|
"public.controlPlaneProjectionEvent": PublicControlPlaneProjectionEvent;
|
|
@@ -2732,14 +3172,11 @@ export interface DB {
|
|
|
2732
3172
|
"public.duplicateEmails": PublicDuplicateEmails;
|
|
2733
3173
|
"public.emailTemplate": PublicEmailTemplate;
|
|
2734
3174
|
"public.emailTemplateType": PublicEmailTemplateType;
|
|
2735
|
-
"public.
|
|
2736
|
-
"public.featureApproval": PublicFeatureApproval;
|
|
2737
|
-
"public.featureApprovalStatus": PublicFeatureApprovalStatus;
|
|
2738
|
-
"public.featureEnabledTeam": PublicFeatureEnabledTeam;
|
|
2739
|
-
"public.featureStatus": PublicFeatureStatus;
|
|
3175
|
+
"public.feedback": PublicFeedback;
|
|
2740
3176
|
"public.fileStorage": PublicFileStorage;
|
|
2741
3177
|
"public.fileStorageSourceLink": PublicFileStorageSourceLink;
|
|
2742
3178
|
"public.fileStorageTag": PublicFileStorageTag;
|
|
3179
|
+
"public.guestReview": PublicGuestReview;
|
|
2743
3180
|
"public.latestDuplicateEmails": PublicLatestDuplicateEmails;
|
|
2744
3181
|
"public.lineClassificationUsage": PublicLineClassificationUsage;
|
|
2745
3182
|
"public.lineClassificationUsageBackfill": PublicLineClassificationUsageBackfill;
|
|
@@ -2752,6 +3189,7 @@ export interface DB {
|
|
|
2752
3189
|
"public.listingOwnershipPeriod": PublicListingOwnershipPeriod;
|
|
2753
3190
|
"public.listingOwnershipPeriodBusinessModel": PublicListingOwnershipPeriodBusinessModel;
|
|
2754
3191
|
"public.listingOwnershipPeriodMember": PublicListingOwnershipPeriodMember;
|
|
3192
|
+
"public.memberInviteApproval": PublicMemberInviteApproval;
|
|
2755
3193
|
"public.owner": PublicOwner;
|
|
2756
3194
|
"public.ownerStatement": PublicOwnerStatement;
|
|
2757
3195
|
"public.ownerStatementLayout": PublicOwnerStatementLayout;
|
|
@@ -2770,6 +3208,7 @@ export interface DB {
|
|
|
2770
3208
|
"public.paymentStatus": PublicPaymentStatus;
|
|
2771
3209
|
"public.paymentType": PublicPaymentType;
|
|
2772
3210
|
"public.plaidConnectSession": PublicPlaidConnectSession;
|
|
3211
|
+
"public.rampApplication": PublicRampApplication;
|
|
2773
3212
|
"public.recurringFee": PublicRecurringFee;
|
|
2774
3213
|
"public.recurringFeeAccount": PublicRecurringFeeAccount;
|
|
2775
3214
|
"public.recurringFeeAccountCondition": PublicRecurringFeeAccountCondition;
|
|
@@ -2779,6 +3218,7 @@ export interface DB {
|
|
|
2779
3218
|
"public.reservation": PublicReservation;
|
|
2780
3219
|
"public.reservationStatus": PublicReservationStatus;
|
|
2781
3220
|
"public.reservationWithOccupancyStatus": PublicReservationWithOccupancyStatus;
|
|
3221
|
+
"public.secondFactorReset": PublicSecondFactorReset;
|
|
2782
3222
|
"public.setting": PublicSetting;
|
|
2783
3223
|
"public.source": PublicSource;
|
|
2784
3224
|
"public.task": PublicTask;
|
|
@@ -2786,7 +3226,6 @@ export interface DB {
|
|
|
2786
3226
|
"public.taxStatementStatus": PublicTaxStatementStatus;
|
|
2787
3227
|
"public.tenant": PublicTenant;
|
|
2788
3228
|
"public.tenantUser": PublicTenantUser;
|
|
2789
|
-
"public.token": PublicToken;
|
|
2790
3229
|
"public.user": PublicUser;
|
|
2791
3230
|
"public.userCompanyType": PublicUserCompanyType;
|
|
2792
3231
|
"public.userCompanyUser": PublicUserCompanyUser;
|
|
@@ -2796,7 +3235,6 @@ export interface DB {
|
|
|
2796
3235
|
"public.viewWebhookEvents": PublicViewWebhookEvents;
|
|
2797
3236
|
"public.viewWebhookEventsGroupedByDate": PublicViewWebhookEventsGroupedByDate;
|
|
2798
3237
|
"public.webhook": PublicWebhook;
|
|
2799
|
-
"tracking.event": TrackingEvent;
|
|
2800
3238
|
"tracking.intercomConversation": TrackingIntercomConversation;
|
|
2801
3239
|
"tracking.intercomConversationUser": TrackingIntercomConversationUser;
|
|
2802
3240
|
"tracking.intercomReport": TrackingIntercomReport;
|
|
@@ -2807,6 +3245,7 @@ export interface DB {
|
|
|
2807
3245
|
"webhook.delivery": WebhookDelivery;
|
|
2808
3246
|
"webhook.deliveryAttempt": WebhookDeliveryAttempt;
|
|
2809
3247
|
"webhook.deliveryAttemptSecret": WebhookDeliveryAttemptSecret;
|
|
3248
|
+
"webhook.event": WebhookEvent;
|
|
2810
3249
|
"webhook.rateLimit": WebhookRateLimit;
|
|
2811
3250
|
"webhook.subscription": WebhookSubscription;
|
|
2812
3251
|
"webhook.subscriptionSecret": WebhookSubscriptionSecret;
|