@vrplatform/kysely 1.3.45-437 → 1.3.45-44075979560
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 +62 -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 +596 -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/migrations-v2/0000000000139-tax-statement-1099.ts +140 -0
- package/build/migrations-v2/0000000000140-owner-payment-settings.ts +53 -0
- package/build/migrations-v2/0000000000141-owner-payment-requests.ts +100 -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 +62 -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 +596 -70
- package/build/module/v1.generated.js.map +1 -1
- package/package.json +10 -8
|
@@ -3,39 +3,76 @@
|
|
|
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 AccountingOwnerPaymentMethod = "ach";
|
|
22
|
+
export type AccountingOwnerPaymentStatus = "failed" | "paid" | "processing" | "received" | "returned";
|
|
23
|
+
export type AccountingPaymentBatchType = "check" | "nacha";
|
|
24
|
+
export type AccountingPaymentCommandKind = "cancel" | "refresh" | "submit";
|
|
25
|
+
export type AccountingPaymentCommandOutcome = "accepted" | "conflictingEvidence" | "rejected" | "unknown";
|
|
26
|
+
export type AccountingPaymentIssue = "accountingConfiguration" | "allocationOutOfRange" | "amountMismatch" | "conflictingEvidence" | "currencyMismatch" | "overpayment" | "recipientMismatch" | "unknownOutcome" | "unknownStatus" | "unlinkedMovement" | "unmappedFundingAccount";
|
|
27
|
+
export type AccountingPaymentMethod = "ach" | "cash" | "check" | "other" | "wire";
|
|
28
|
+
export type AccountingPaymentObservationOrigin = "provider" | "review";
|
|
29
|
+
export type AccountingPaymentOrigin = "provider" | "vrp";
|
|
30
|
+
export type AccountingPaymentProvider = "ramp";
|
|
31
|
+
export type AccountingPaymentResourceType = "bill" | "payment" | "transfer";
|
|
32
|
+
export type AccountingPaymentReversalKind = "bankUnmatch" | "offlineReversal" | "offlineUndo" | "providerReturn";
|
|
33
|
+
export type AccountingPaymentStatus = "canceled" | "failed" | "pending" | "processing" | "scheduled" | "submitting" | "succeeded";
|
|
34
|
+
export type AccountingPayoutHoldReason = "newBankDetails" | "takeoverPattern";
|
|
35
|
+
export type AccountingReservationJournalInvalidationFailure = "journal_configuration_invalid" | "journal_locked";
|
|
36
|
+
export type AccountingReservationLineMappingSuggestionSource = "llm" | "rule";
|
|
37
|
+
export type AccountingTaxStatementCorrection = "amount" | "recipient" | "void";
|
|
38
|
+
export type AccountingTaxStatementFilingPeriod = "decNov" | "janDec";
|
|
39
|
+
export type AccountingTaxStatementStatus = "draft" | "failed" | "queued" | "superseded" | "transmitted";
|
|
8
40
|
export type AccountingTransactionAttachmentStatus = "attached" | "deleting" | "ready" | "uploading";
|
|
9
41
|
export type ArrayType<T> = ArrayTypeImpl<T> extends (infer U)[] ? U[] : ArrayTypeImpl<T>;
|
|
10
42
|
export type ArrayTypeImpl<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S[], I[], U[]> : T[];
|
|
11
43
|
export type AuditActionActorType = "api_key" | "automation" | "sync" | "system" | "user";
|
|
44
|
+
export type AuditActorOrganizationType = "partner" | "system" | "team" | "vrplatform";
|
|
12
45
|
export type AuditEffectAttemptStatus = "completed" | "failed" | "running" | "skipped_locked";
|
|
13
46
|
export type AuditEffectStatus = "claimed" | "completed" | "dead_letter" | "failed" | "pending" | "running";
|
|
14
47
|
export type AuditJournalDeltaOperation = "delete" | "insert" | "update";
|
|
15
48
|
export type AuditPublicEventAccountingStatus = "blocked" | "changed" | "failed" | "mixed" | "not_applicable" | "pending" | "unchanged";
|
|
16
49
|
export type AuditPublicEventOperation = "archive" | "create" | "delete" | "execute" | "recalculate" | "restore" | "update";
|
|
17
|
-
export type AuditActorOrganizationType = "partner" | "system" | "team" | "vrplatform";
|
|
18
50
|
export type AuditSourceType = "api" | "automation" | "embedded" | "integration" | "portal" | "sync" | "system";
|
|
19
51
|
export type BillingListingFactSourceType = "baseline_backfill" | "daily_reconciliation" | "legacy_tracking_import" | "listing_delete" | "listing_insert" | "listing_update" | "ownership_delete" | "ownership_insert" | "ownership_update" | "tenant_delete" | "tenant_insert" | "tenant_update";
|
|
20
52
|
export type CoreAsyncOperationResultStatus = "completed" | "failed" | "queued";
|
|
21
53
|
export type CoreCsvOperationResultKind = "import" | "preview";
|
|
22
54
|
export type CoreCsvOperationResultStatus = "completed" | "failed" | "processing" | "queued";
|
|
55
|
+
export type CoreEmailDeliveryFailureCode = "inactive_recipient" | "invalid_provider_response" | "missing_email" | "notifications_disabled" | "postmark_not_configured" | "provider_rejected" | "task_failed" | "transport_failed" | "unsubscribed";
|
|
56
|
+
export type CoreEmailDeliveryStatus = "accepted" | "canceled" | "failed" | "queued" | "rejected" | "retrying" | "sending" | "skipped";
|
|
57
|
+
export type CoreEmailNotificationStatus = "canceled" | "completed" | "failed" | "processing" | "queued";
|
|
58
|
+
export type CoreEmailNotificationTrigger = "link_replacement" | "publish" | "resend";
|
|
23
59
|
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";
|
|
60
|
+
export type CoreExportJobTaskId = "api/export-journal-entries-csv" | "api/export-manager-statement-pdf" | "api/export-owner-statement-combined-csv" | "api/export-owner-statement-pdf" | "api/export-owner-statement-pdf-batch-zip" | "api/export-owner-statement-summary-pdf" | "api/export-owner-statement-summary-pdf-batch-zip" | "api/export-payment-batch-pdf" | "api/export-route" | "api/export-trust-reconciliation-pdf";
|
|
25
61
|
export type CoreFlowEventOperationAction = "abandon" | "replay";
|
|
26
62
|
export type CoreFlowEventStatus = "canceled" | "dead" | "pending" | "processing" | "succeeded";
|
|
63
|
+
export type CoreOperationPublicIdFormat = "action" | "legacy";
|
|
27
64
|
export type CoreOperationResourceRole = "result" | "source" | "target";
|
|
28
65
|
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
66
|
export type CoreOperationSourceType = "audit-action" | "export-job" | "sync" | "webhook-delivery";
|
|
31
67
|
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";
|
|
68
|
+
export type CoreOperationType = "ach-verification" | "advanced-deposits-update" | "bank-rule-run" | "calendar-block" | "calendar-unblock" | "connection-archive" | "connection-connect" | "connection-extract" | "connection-sync" | "csv-import" | "csv-import-preview" | "export" | "flow-run" | "historical-gl-import" | "historical-statement-import" | "listing-journal-refresh" | "plaid-initial-sync" | "pms-cutover" | "pms-cutover-preview" | "provider-payment" | "provider-payment-recovery" | "recurring-transaction-run" | "reservation-journal-refresh" | "reservation-line-mapping-update" | "statement-payout" | "statement-payout-preview" | "team-delete" | "team-demo-data" | "team-duplicate" | "team-initialize" | "transaction-journal-refresh" | "vri-statement-import" | "vri-team-migration" | "webhook-test";
|
|
33
69
|
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
34
70
|
export type HealthAccountingIntegrityActionability = "automatically_repairable" | "blocked" | "code_fix_required" | "manual_repair" | "unknown";
|
|
35
71
|
export type HealthAccountingIntegrityCaseStatus = "open" | "resolved";
|
|
36
72
|
export type HealthAccountingIntegrityConfidence = "probable" | "proven" | "unknown";
|
|
37
73
|
export type HealthAccountingIntegrityDeliveryChannel = "sentry" | "slack";
|
|
38
74
|
export type HealthAccountingIntegrityDeliveryStatus = "dead_letter" | "delivered" | "failed" | "pending" | "processing" | "suppressed";
|
|
75
|
+
export type HealthAccountingIntegrityDirtyRecordType = "reservation" | "transaction";
|
|
39
76
|
export type HealthAccountingIntegrityRepairPlanStatus = "active" | "canceled" | "completed" | "draft" | "failed" | "paused";
|
|
40
77
|
export type HealthAccountingIntegrityRepairScopeType = "case" | "tenant";
|
|
41
78
|
export type HealthAccountingIntegrityRepairStageStatus = "applying" | "approved" | "canceled" | "dry_run_passed" | "failed" | "paused" | "planned" | "verified" | "verifying";
|
|
@@ -48,7 +85,7 @@ export type HealthAccountingIntegritySeverity = "critical" | "error" | "info" |
|
|
|
48
85
|
export type HealthAccountingIntegrityTransitionType = "changed" | "opened" | "reopened" | "resolved" | "reviewed";
|
|
49
86
|
export type HealthAccountingIntegrityUrgency = "backlog" | "immediate" | "next_triage" | "none";
|
|
50
87
|
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";
|
|
88
|
+
export type HealthTenantIssueCode = "bankRecordsWithSuggestedMatch" | "bankRecordsWithSuggestedRule" | "brokenConnections" | "cancelledReservationBalances" | "cancelledReservationPaidWithoutAdjustment" | "closedPeriodUnattachedJournalEntries" | "departedReservationBalanceMismatch" | "duplicatedPayments" | "endedOwnershipNonZeroBalance" | "journalConfigurationInvalid" | "journalLocked" | "journalUnbalanced" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "listingsNeedSetup" | "missingAccountAssignments" | "missingOwnershipOrDeactivation" | "operatingBankAccountsWithoutOpex" | "outdatedConnections" | "partnerBillingInactive" | "partnerInactive" | "pmsMissingAccountingStart" | "pmsSyncFailures" | "publishedStatementUnpaid" | "reservationCurrencyMismatch" | "reservationGuestTotalsMismatch" | "reservationPaymentProjectionMismatch" | "teamInactive" | "unassignedGuestDeposits" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "unmappedReservationLineTypes" | "unmatchedBankDeposits" | "unmatchedBankExpenses" | "unpaidReservations" | "unreconciledBankTransactions";
|
|
52
89
|
export type HealthTenantIssueSeverity = "error" | "warning";
|
|
53
90
|
export type HealthTenantIssueStatus = "open" | "resolved";
|
|
54
91
|
export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
|
|
@@ -60,10 +97,20 @@ export type JsonObject = {
|
|
|
60
97
|
export type JsonPrimitive = boolean | number | string | null;
|
|
61
98
|
export type JsonValue = JsonArray | JsonObject | JsonPrimitive;
|
|
62
99
|
export type Numeric = ColumnType<string, number | string, number | string>;
|
|
100
|
+
export type PublicFeedbackKind = "bug" | "feedback" | "question";
|
|
63
101
|
export type PublicFlowType = "pull" | "push";
|
|
102
|
+
export type PublicGuestReviewChannel = "airbnb" | "bookingCom" | "vrbo";
|
|
103
|
+
export type PublicMemberInviteApprovalRole = "admin" | "user";
|
|
104
|
+
export type PublicMemberInviteApprovalStatus = "approved" | "pending" | "rejected";
|
|
64
105
|
export type PublicPlaidConnectMode = "create" | "replace" | "update";
|
|
65
106
|
export type PublicPlaidConnectStatus = "awaitingConfiguration" | "completed" | "configuring" | "credentialsStored" | "discoveringAccounts" | "exchangeOutcomeUnknown" | "exchanging" | "expired" | "failed" | "pendingLink";
|
|
107
|
+
export type PublicSecondFactorResetInitiator = "support" | "teamAdmin";
|
|
108
|
+
export type PublicSecondFactorResetStatus = "approved" | "denied" | "expired" | "pending";
|
|
109
|
+
export type PublicRampApplicationEnvironment = "demo" | "production";
|
|
110
|
+
export type PublicRampApplicationStatus = "approved" | "followUpsRequired" | "inReview" | "invited" | "rejected" | "started" | "withdrawn";
|
|
66
111
|
export type PublicRecurringFeeConditionOperator = "<" | "<=" | "=" | ">" | ">=";
|
|
112
|
+
export type PublicRecurringFeeListingSubscriptionMatchBy = "bookedDate" | "stayDate";
|
|
113
|
+
export type PublicReservationStayType = "guest" | "owner" | "ownerGuest";
|
|
67
114
|
export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
|
|
68
115
|
export type WebhookApiVersion = "2026-07-01";
|
|
69
116
|
export type WebhookDeliveryStatus = "canceled" | "delivering" | "failed" | "queued" | "retrying" | "succeeded";
|
|
@@ -125,11 +172,17 @@ export interface AccountingAccountConnection {
|
|
|
125
172
|
connectionId: string | null;
|
|
126
173
|
createdAt: Generated<Timestamp>;
|
|
127
174
|
currency: string | null;
|
|
175
|
+
fundingEntityRef: string | null;
|
|
128
176
|
holderName: string | null;
|
|
129
177
|
id: Generated<string>;
|
|
130
178
|
lastDigits: string | null;
|
|
179
|
+
matchCandidateAccountIds: Generated<string[]>;
|
|
180
|
+
matchedAt: Timestamp | null;
|
|
181
|
+
matchSource: AccountingAccountConnectionMatchSource | null;
|
|
182
|
+
matchStatus: AccountingAccountConnectionMatchStatus | null;
|
|
131
183
|
name: string | null;
|
|
132
184
|
persistentRef: string | null;
|
|
185
|
+
role: Generated<AccountingAccountConnectionRole>;
|
|
133
186
|
sourceId: string | null;
|
|
134
187
|
startDate: Timestamp | null;
|
|
135
188
|
/**
|
|
@@ -142,14 +195,52 @@ export interface AccountingAccountConnection {
|
|
|
142
195
|
uniqueRef: string | null;
|
|
143
196
|
updatedAt: Generated<Timestamp>;
|
|
144
197
|
}
|
|
198
|
+
export interface AccountingAccountPaymentFileSetting {
|
|
199
|
+
accountId: string;
|
|
200
|
+
accountKind: AccountingBankAccountKind | null;
|
|
201
|
+
accountNumber: string | null;
|
|
202
|
+
bankName: string | null;
|
|
203
|
+
checkEnabled: Generated<boolean>;
|
|
204
|
+
checkFormat: AccountingCheckFormat | null;
|
|
205
|
+
checkNextNumber: number | null;
|
|
206
|
+
checkOffsetX: Generated<number>;
|
|
207
|
+
checkOffsetY: Generated<number>;
|
|
208
|
+
checkPrintMode: AccountingCheckPrintMode | null;
|
|
209
|
+
companyAddress: Json | null;
|
|
210
|
+
companyName: string | null;
|
|
211
|
+
createdAt: Generated<Timestamp>;
|
|
212
|
+
nachaAcceptCanadian: Generated<boolean>;
|
|
213
|
+
nachaBankProfile: AccountingNachaBankProfile | null;
|
|
214
|
+
nachaCompanyId: string | null;
|
|
215
|
+
nachaCompanyName: string | null;
|
|
216
|
+
nachaDiscretionaryData: string | null;
|
|
217
|
+
nachaEnabled: Generated<boolean>;
|
|
218
|
+
nachaEntryDescription: string | null;
|
|
219
|
+
nachaImmediateDestination: string | null;
|
|
220
|
+
nachaImmediateDestinationName: string | null;
|
|
221
|
+
nachaImmediateOrigin: string | null;
|
|
222
|
+
nachaImmediateOriginName: string | null;
|
|
223
|
+
nachaOffsetEntry: Generated<boolean>;
|
|
224
|
+
nachaTestFileAt: Timestamp | null;
|
|
225
|
+
nachaTestFileValid: boolean | null;
|
|
226
|
+
routingNumber: string | null;
|
|
227
|
+
tenantId: string;
|
|
228
|
+
updatedAt: Generated<Timestamp>;
|
|
229
|
+
updatedByUserId: string | null;
|
|
230
|
+
}
|
|
145
231
|
export interface AccountingAccountReservationLineType {
|
|
146
232
|
accountId: string | null;
|
|
147
233
|
bookingChannel: string | null;
|
|
148
234
|
createdAt: Generated<Timestamp>;
|
|
149
235
|
id: Generated<string>;
|
|
236
|
+
isSuggestion: Generated<boolean>;
|
|
150
237
|
lineType: string;
|
|
151
238
|
revenueRecognition: string | null;
|
|
152
239
|
status: Generated<string | null>;
|
|
240
|
+
suggestionReason: string | null;
|
|
241
|
+
suggestionSource: AccountingReservationLineMappingSuggestionSource | null;
|
|
242
|
+
suggestionTaxable: boolean | null;
|
|
243
|
+
taxable: Generated<boolean>;
|
|
153
244
|
tenantId: string;
|
|
154
245
|
updatedAt: Generated<Timestamp>;
|
|
155
246
|
}
|
|
@@ -187,8 +278,10 @@ export interface AccountingBankRecord {
|
|
|
187
278
|
}
|
|
188
279
|
export interface AccountingBankRecordTransactionPayment {
|
|
189
280
|
bankRecordId: string;
|
|
281
|
+
bankRuleId: string | null;
|
|
190
282
|
createdAt: Generated<Timestamp>;
|
|
191
283
|
id: Generated<string>;
|
|
284
|
+
matchSource: AccountingBankRecordMatchSource | null;
|
|
192
285
|
tenantId: string | null;
|
|
193
286
|
transactionId: string;
|
|
194
287
|
updatedAt: Generated<Timestamp>;
|
|
@@ -277,6 +370,8 @@ export interface AccountingBankRuleMode {
|
|
|
277
370
|
}
|
|
278
371
|
export interface AccountingContact {
|
|
279
372
|
addressData: Json | null;
|
|
373
|
+
addressEditedAt: Timestamp | null;
|
|
374
|
+
bankDetailsRequestedAt: Timestamp | null;
|
|
280
375
|
/**
|
|
281
376
|
* When NULL, the type is "individual"
|
|
282
377
|
*/
|
|
@@ -284,9 +379,12 @@ export interface AccountingContact {
|
|
|
284
379
|
connectionId: string | null;
|
|
285
380
|
createdAt: Generated<Timestamp>;
|
|
286
381
|
defaultAccountId: string | null;
|
|
382
|
+
defaultPaymentMethod: Generated<AccountingContactPaymentMethod | null>;
|
|
287
383
|
email: string | null;
|
|
384
|
+
emailDeliveryRequestedAt: Timestamp | null;
|
|
288
385
|
firstName: string | null;
|
|
289
386
|
id: Generated<string>;
|
|
387
|
+
is1099Exempt: Generated<boolean>;
|
|
290
388
|
is1099PostalDelivery: Generated<boolean>;
|
|
291
389
|
name: string;
|
|
292
390
|
phone: string | null;
|
|
@@ -296,8 +394,12 @@ export interface AccountingContact {
|
|
|
296
394
|
*/
|
|
297
395
|
shortRef: string | null;
|
|
298
396
|
sourceId: string | null;
|
|
397
|
+
statementEmailEnabled: boolean | null;
|
|
398
|
+
statementEmailUnsubscribedAt: Timestamp | null;
|
|
299
399
|
status: string | null;
|
|
300
400
|
taxId: string | null;
|
|
401
|
+
taxIdType: AccountingContactTaxIdType | null;
|
|
402
|
+
taxInfoRequestedAt: Timestamp | null;
|
|
301
403
|
tenantId: string;
|
|
302
404
|
/**
|
|
303
405
|
* owner OR vendor
|
|
@@ -306,6 +408,34 @@ export interface AccountingContact {
|
|
|
306
408
|
uniqueRef: string | null;
|
|
307
409
|
updatedAt: Generated<Timestamp>;
|
|
308
410
|
}
|
|
411
|
+
export interface AccountingContactBankDetailsRequest {
|
|
412
|
+
contactId: string;
|
|
413
|
+
createdAt: Generated<Timestamp>;
|
|
414
|
+
delivery: Generated<AccountingBankDetailsRequestDelivery>;
|
|
415
|
+
id: Generated<string>;
|
|
416
|
+
linkExpiresAt: Timestamp | null;
|
|
417
|
+
openedAt: Timestamp | null;
|
|
418
|
+
recipientEmail: string | null;
|
|
419
|
+
requestedAt: Timestamp;
|
|
420
|
+
requestedByUserId: string | null;
|
|
421
|
+
sentAt: Timestamp | null;
|
|
422
|
+
tenantId: string;
|
|
423
|
+
updatedAt: Generated<Timestamp>;
|
|
424
|
+
}
|
|
425
|
+
export interface AccountingContactBankAccount {
|
|
426
|
+
accountKind: AccountingBankAccountKind;
|
|
427
|
+
accountNumber: string;
|
|
428
|
+
contactId: string;
|
|
429
|
+
createdAt: Generated<Timestamp>;
|
|
430
|
+
holderName: string;
|
|
431
|
+
holderType: AccountingBankAccountHolderType;
|
|
432
|
+
routingNumber: string;
|
|
433
|
+
tenantId: string;
|
|
434
|
+
updatedAt: Generated<Timestamp>;
|
|
435
|
+
updatedByApiTokenId: string | null;
|
|
436
|
+
updatedByBankDetailsRequestId: string | null;
|
|
437
|
+
updatedByUserId: string | null;
|
|
438
|
+
}
|
|
309
439
|
export interface AccountingContactCompanyType {
|
|
310
440
|
name: string;
|
|
311
441
|
}
|
|
@@ -331,6 +461,7 @@ export interface AccountingJournalEntry {
|
|
|
331
461
|
listingOwnershipPeriodId: string | null;
|
|
332
462
|
parentListingId: string | null;
|
|
333
463
|
party: string | null;
|
|
464
|
+
paymentId: string | null;
|
|
334
465
|
recurringFeeId: string | null;
|
|
335
466
|
recurringFeeListingSubscriptionId: string | null;
|
|
336
467
|
reservationId: string | null;
|
|
@@ -356,6 +487,49 @@ export interface AccountingJournalEntryTriggerType {
|
|
|
356
487
|
export interface AccountingJournalEntryType {
|
|
357
488
|
name: string;
|
|
358
489
|
}
|
|
490
|
+
export interface AccountingOwnerPayment {
|
|
491
|
+
amount: number;
|
|
492
|
+
bankLast4: string | null;
|
|
493
|
+
contactId: string | null;
|
|
494
|
+
createdAt: Generated<Timestamp>;
|
|
495
|
+
expectedPayoutAt: Timestamp | null;
|
|
496
|
+
failedAt: Timestamp | null;
|
|
497
|
+
id: Generated<string>;
|
|
498
|
+
method: AccountingOwnerPaymentMethod;
|
|
499
|
+
ownerPaymentRequestId: string;
|
|
500
|
+
paidAt: Timestamp | null;
|
|
501
|
+
receivedAt: Timestamp | null;
|
|
502
|
+
returnedAt: Timestamp | null;
|
|
503
|
+
status: Generated<AccountingOwnerPaymentStatus>;
|
|
504
|
+
tenantId: string;
|
|
505
|
+
transactionId: string | null;
|
|
506
|
+
updatedAt: Generated<Timestamp>;
|
|
507
|
+
}
|
|
508
|
+
export interface AccountingOwnerPaymentRequest {
|
|
509
|
+
amount: number;
|
|
510
|
+
canceledAt: Timestamp | null;
|
|
511
|
+
createdAt: Generated<Timestamp>;
|
|
512
|
+
createdByUserId: string | null;
|
|
513
|
+
currency: string;
|
|
514
|
+
dueAt: Timestamp;
|
|
515
|
+
id: Generated<string>;
|
|
516
|
+
ownerStatementId: string;
|
|
517
|
+
paymentMethods: ArrayType<AccountingOwnerPaymentMethod>;
|
|
518
|
+
tenantId: string;
|
|
519
|
+
updatedAt: Generated<Timestamp>;
|
|
520
|
+
}
|
|
521
|
+
export interface AccountingOwnerPaymentSettings {
|
|
522
|
+
accountId: string | null;
|
|
523
|
+
connectionId: string | null;
|
|
524
|
+
createdAt: Generated<Timestamp>;
|
|
525
|
+
enabled: Generated<boolean>;
|
|
526
|
+
paymentMethods: Generated<ArrayType<AccountingOwnerPaymentMethod>>;
|
|
527
|
+
requestPaymentOnPublish: Generated<boolean>;
|
|
528
|
+
sendReminders: Generated<boolean>;
|
|
529
|
+
statementDescriptor: string | null;
|
|
530
|
+
tenantId: string;
|
|
531
|
+
updatedAt: Generated<Timestamp>;
|
|
532
|
+
}
|
|
359
533
|
export interface AccountingOwnerStatementProjection {
|
|
360
534
|
listingId: string | null;
|
|
361
535
|
listingOwnershipPeriodId: string | null;
|
|
@@ -383,6 +557,167 @@ export interface AccountingPaidStatus {
|
|
|
383
557
|
export interface AccountingParty {
|
|
384
558
|
name: string;
|
|
385
559
|
}
|
|
560
|
+
export interface AccountingPayment {
|
|
561
|
+
accountId: string | null;
|
|
562
|
+
amount: number;
|
|
563
|
+
bankRecordId: string | null;
|
|
564
|
+
closureConfirmedAt: Timestamp | null;
|
|
565
|
+
closureRequestedAt: Timestamp | null;
|
|
566
|
+
connectionId: string | null;
|
|
567
|
+
contactId: string | null;
|
|
568
|
+
createdAt: Generated<Timestamp>;
|
|
569
|
+
currency: string;
|
|
570
|
+
destinationRef: string | null;
|
|
571
|
+
fundingAccountConnectionId: string | null;
|
|
572
|
+
fundingAccountRef: string | null;
|
|
573
|
+
fundingCurrency: string | null;
|
|
574
|
+
fundingDebited: number | null;
|
|
575
|
+
fundingEntityRef: string | null;
|
|
576
|
+
fundingRefunded: number | null;
|
|
577
|
+
id: Generated<string>;
|
|
578
|
+
idempotencyKey: string;
|
|
579
|
+
initiatedAt: Timestamp | null;
|
|
580
|
+
isHistoricalCopy: Generated<boolean>;
|
|
581
|
+
issue: AccountingPaymentIssue | null;
|
|
582
|
+
method: AccountingPaymentMethod;
|
|
583
|
+
observedAt: Timestamp | null;
|
|
584
|
+
operationId: string | null;
|
|
585
|
+
origin: Generated<AccountingPaymentOrigin>;
|
|
586
|
+
postingDate: Timestamp | null;
|
|
587
|
+
provider: AccountingPaymentProvider | null;
|
|
588
|
+
providerBillRef: string | null;
|
|
589
|
+
providerMethod: string | null;
|
|
590
|
+
providerPaymentRef: string | null;
|
|
591
|
+
providerReference: string | null;
|
|
592
|
+
providerStatus: string | null;
|
|
593
|
+
providerUpdatedAt: Timestamp | null;
|
|
594
|
+
recipientRef: string | null;
|
|
595
|
+
reference: string | null;
|
|
596
|
+
replacesPaymentId: string | null;
|
|
597
|
+
requestedDate: Timestamp | null;
|
|
598
|
+
requestFingerprint: string;
|
|
599
|
+
scheduledAt: Timestamp | null;
|
|
600
|
+
settledAt: Timestamp | null;
|
|
601
|
+
status: Generated<AccountingPaymentStatus>;
|
|
602
|
+
tenantId: string;
|
|
603
|
+
terminalAt: Timestamp | null;
|
|
604
|
+
transactionId: string;
|
|
605
|
+
updatedAt: Generated<Timestamp>;
|
|
606
|
+
}
|
|
607
|
+
export interface AccountingPaymentAllocation {
|
|
608
|
+
amount: number;
|
|
609
|
+
createdAt: Generated<Timestamp>;
|
|
610
|
+
id: Generated<string>;
|
|
611
|
+
paymentId: string;
|
|
612
|
+
tenantId: string;
|
|
613
|
+
transactionLineId: string;
|
|
614
|
+
}
|
|
615
|
+
export interface AccountingPaymentBatch {
|
|
616
|
+
accountId: string;
|
|
617
|
+
createdAt: Generated<Timestamp>;
|
|
618
|
+
createdByUserId: string | null;
|
|
619
|
+
currency: string;
|
|
620
|
+
effectiveDate: Timestamp;
|
|
621
|
+
fileContent: string | null;
|
|
622
|
+
fileUpdatedAt: Timestamp | null;
|
|
623
|
+
id: Generated<string>;
|
|
624
|
+
idempotencyKey: string;
|
|
625
|
+
settings: Json;
|
|
626
|
+
tenantId: string;
|
|
627
|
+
type: AccountingPaymentBatchType;
|
|
628
|
+
updatedAt: Generated<Timestamp>;
|
|
629
|
+
voidedAt: Timestamp | null;
|
|
630
|
+
}
|
|
631
|
+
export interface AccountingPaymentBatchItem {
|
|
632
|
+
accountId: string;
|
|
633
|
+
accountKind: AccountingBankAccountKind | null;
|
|
634
|
+
accountNumber: string | null;
|
|
635
|
+
amount: number;
|
|
636
|
+
batchId: string;
|
|
637
|
+
checkNumber: number | null;
|
|
638
|
+
contactId: string;
|
|
639
|
+
createdAt: Generated<Timestamp>;
|
|
640
|
+
id: Generated<string>;
|
|
641
|
+
memo: string | null;
|
|
642
|
+
payeeAddress: Json | null;
|
|
643
|
+
payeeName: string;
|
|
644
|
+
routingNumber: string | null;
|
|
645
|
+
secCode: AccountingNachaSecCode | null;
|
|
646
|
+
stub: Json;
|
|
647
|
+
tenantId: string;
|
|
648
|
+
traceNumber: string | null;
|
|
649
|
+
voidedAt: Timestamp | null;
|
|
650
|
+
}
|
|
651
|
+
export interface AccountingPaymentBatchPayment {
|
|
652
|
+
createdAt: Generated<Timestamp>;
|
|
653
|
+
itemId: string;
|
|
654
|
+
paymentId: string;
|
|
655
|
+
tenantId: string;
|
|
656
|
+
}
|
|
657
|
+
export interface AccountingPaymentCommand {
|
|
658
|
+
createdAt: Generated<Timestamp>;
|
|
659
|
+
fingerprint: string;
|
|
660
|
+
id: string;
|
|
661
|
+
idempotencyKey: string;
|
|
662
|
+
kind: AccountingPaymentCommandKind;
|
|
663
|
+
outcome: AccountingPaymentCommandOutcome | null;
|
|
664
|
+
outcomeAt: Timestamp | null;
|
|
665
|
+
paymentId: string;
|
|
666
|
+
providerFailureCode: string | null;
|
|
667
|
+
tenantId: string;
|
|
668
|
+
}
|
|
669
|
+
export interface AccountingPaymentObservation {
|
|
670
|
+
connectionId: string;
|
|
671
|
+
createdAt: Generated<Timestamp>;
|
|
672
|
+
eventKey: string;
|
|
673
|
+
externalId: string;
|
|
674
|
+
fingerprint: string;
|
|
675
|
+
fundingCurrency: string | null;
|
|
676
|
+
fundingDebited: number | null;
|
|
677
|
+
fundingRefunded: number | null;
|
|
678
|
+
id: Generated<string>;
|
|
679
|
+
issue: AccountingPaymentIssue | null;
|
|
680
|
+
observedAt: Timestamp;
|
|
681
|
+
origin: Generated<AccountingPaymentObservationOrigin>;
|
|
682
|
+
paidAmount: number | null;
|
|
683
|
+
paymentId: string | null;
|
|
684
|
+
providerBillRef: string | null;
|
|
685
|
+
providerPaymentRef: string | null;
|
|
686
|
+
providerStatus: string | null;
|
|
687
|
+
providerUpdatedAt: Timestamp | null;
|
|
688
|
+
resourceType: AccountingPaymentResourceType;
|
|
689
|
+
returnedAt: Timestamp | null;
|
|
690
|
+
settledAt: Timestamp | null;
|
|
691
|
+
snapshot: Json | null;
|
|
692
|
+
sourceId: string | null;
|
|
693
|
+
status: AccountingPaymentStatus | null;
|
|
694
|
+
tenantId: string;
|
|
695
|
+
terminalAt: Timestamp | null;
|
|
696
|
+
}
|
|
697
|
+
export interface AccountingPaymentReversal {
|
|
698
|
+
createdAt: Generated<Timestamp>;
|
|
699
|
+
effectiveAt: Timestamp;
|
|
700
|
+
id: Generated<string>;
|
|
701
|
+
idempotencyKey: string;
|
|
702
|
+
kind: AccountingPaymentReversalKind;
|
|
703
|
+
paymentId: string;
|
|
704
|
+
postingDate: Timestamp | null;
|
|
705
|
+
reason: string | null;
|
|
706
|
+
requestFingerprint: string;
|
|
707
|
+
tenantId: string;
|
|
708
|
+
}
|
|
709
|
+
export interface AccountingPayoutHold {
|
|
710
|
+
contactId: string;
|
|
711
|
+
createdAt: Generated<Timestamp>;
|
|
712
|
+
createdByApiTokenId: string | null;
|
|
713
|
+
createdByUserId: string | null;
|
|
714
|
+
heldUntil: Timestamp;
|
|
715
|
+
id: Generated<string>;
|
|
716
|
+
reason: AccountingPayoutHoldReason;
|
|
717
|
+
releasedAt: Timestamp | null;
|
|
718
|
+
releasedByUserId: string | null;
|
|
719
|
+
tenantId: string;
|
|
720
|
+
}
|
|
386
721
|
export interface AccountingRate {
|
|
387
722
|
accountId: string | null;
|
|
388
723
|
basisPoints: number;
|
|
@@ -415,6 +750,7 @@ export interface AccountingReservationJournalInvalidation {
|
|
|
415
750
|
coveredByEffectId: string | null;
|
|
416
751
|
createdAt: Generated<Timestamp>;
|
|
417
752
|
effectId: string | null;
|
|
753
|
+
failureCode: AccountingReservationJournalInvalidationFailure | null;
|
|
418
754
|
id: Generated<string>;
|
|
419
755
|
reservationId: string;
|
|
420
756
|
revision: Int8;
|
|
@@ -444,6 +780,38 @@ export interface AccountingReservationJournalStatementImpact {
|
|
|
444
780
|
export interface AccountingTaxBehavior {
|
|
445
781
|
name: string;
|
|
446
782
|
}
|
|
783
|
+
export interface AccountingTaxStatement {
|
|
784
|
+
authorizedAt: Timestamp | null;
|
|
785
|
+
authorizedByUserId: string | null;
|
|
786
|
+
centManualAdjustment: Int8 | null;
|
|
787
|
+
centPrice: number | null;
|
|
788
|
+
centStartingBalance: Int8 | null;
|
|
789
|
+
centTotal: Int8 | null;
|
|
790
|
+
contactId: string;
|
|
791
|
+
correction: AccountingTaxStatementCorrection | null;
|
|
792
|
+
createdAt: Generated<Timestamp>;
|
|
793
|
+
errors: Json | null;
|
|
794
|
+
filer: Json | null;
|
|
795
|
+
filingId: string | null;
|
|
796
|
+
filingPeriod: AccountingTaxStatementFilingPeriod | null;
|
|
797
|
+
id: Generated<string>;
|
|
798
|
+
isPostalDelivery: boolean | null;
|
|
799
|
+
manualAdjustmentNote: string | null;
|
|
800
|
+
recipient: Json | null;
|
|
801
|
+
startingBalanceNote: string | null;
|
|
802
|
+
status: Generated<AccountingTaxStatementStatus>;
|
|
803
|
+
tax1099Columns: Json | null;
|
|
804
|
+
taxBanditsFederalStatus: string | null;
|
|
805
|
+
taxBanditsPostalStatus: string | null;
|
|
806
|
+
taxBanditsRecordId: string | null;
|
|
807
|
+
taxBanditsStateStatus: string | null;
|
|
808
|
+
taxBanditsSubmissionId: string | null;
|
|
809
|
+
tenantId: string;
|
|
810
|
+
transmittedAt: Timestamp | null;
|
|
811
|
+
updatedAt: Generated<Timestamp>;
|
|
812
|
+
version: number;
|
|
813
|
+
year: number;
|
|
814
|
+
}
|
|
447
815
|
export interface AccountingTransaction {
|
|
448
816
|
accountId: string | null;
|
|
449
817
|
centTotal: number;
|
|
@@ -551,6 +919,11 @@ export interface AuditAction {
|
|
|
551
919
|
tenantId: string;
|
|
552
920
|
traceId: string | null;
|
|
553
921
|
}
|
|
922
|
+
export interface AuditActionClientIp {
|
|
923
|
+
actionId: string;
|
|
924
|
+
clientIp: string;
|
|
925
|
+
createdAt: Generated<Timestamp>;
|
|
926
|
+
}
|
|
554
927
|
export interface AuditEffect {
|
|
555
928
|
accountingRelevant: Generated<boolean>;
|
|
556
929
|
actionId: string;
|
|
@@ -676,8 +1049,8 @@ export interface AuditPublicEvent {
|
|
|
676
1049
|
projectedAt: Generated<Timestamp>;
|
|
677
1050
|
projectionFingerprint: string;
|
|
678
1051
|
projectionVersion: Generated<number>;
|
|
679
|
-
requestId: string | null;
|
|
680
1052
|
recovery: Generated<Json>;
|
|
1053
|
+
requestId: string | null;
|
|
681
1054
|
revision: Generated<number>;
|
|
682
1055
|
rootEntityId: string;
|
|
683
1056
|
rootEntityType: string;
|
|
@@ -735,6 +1108,7 @@ export interface CoreActiveStatus {
|
|
|
735
1108
|
name: string;
|
|
736
1109
|
}
|
|
737
1110
|
export interface CoreAsyncOperationResult {
|
|
1111
|
+
checkpoint: Json | null;
|
|
738
1112
|
createdAt: Generated<Timestamp>;
|
|
739
1113
|
errorMessage: string | null;
|
|
740
1114
|
operationId: string;
|
|
@@ -806,6 +1180,40 @@ export interface CoreCsvOperationResult {
|
|
|
806
1180
|
tenantId: string;
|
|
807
1181
|
updatedAt: Generated<Timestamp>;
|
|
808
1182
|
}
|
|
1183
|
+
export interface CoreEmailDelivery {
|
|
1184
|
+
attemptCount: Generated<number>;
|
|
1185
|
+
contactId: string | null;
|
|
1186
|
+
createdAt: Generated<Timestamp>;
|
|
1187
|
+
failureCode: CoreEmailDeliveryFailureCode | null;
|
|
1188
|
+
finishedAt: Timestamp | null;
|
|
1189
|
+
httpStatus: number | null;
|
|
1190
|
+
id: Generated<string>;
|
|
1191
|
+
lastAttemptAt: Timestamp | null;
|
|
1192
|
+
notificationId: string;
|
|
1193
|
+
postmarkErrorCode: number | null;
|
|
1194
|
+
postmarkMessageId: string | null;
|
|
1195
|
+
recipientEmail: string | null;
|
|
1196
|
+
status: Generated<CoreEmailDeliveryStatus>;
|
|
1197
|
+
submittedAt: Timestamp | null;
|
|
1198
|
+
tenantId: string;
|
|
1199
|
+
triggerRunId: string | null;
|
|
1200
|
+
updatedAt: Generated<Timestamp>;
|
|
1201
|
+
userId: string | null;
|
|
1202
|
+
}
|
|
1203
|
+
export interface CoreEmailNotification {
|
|
1204
|
+
createdAt: Generated<Timestamp>;
|
|
1205
|
+
finishedAt: Timestamp | null;
|
|
1206
|
+
id: string;
|
|
1207
|
+
ownerStatementId: string;
|
|
1208
|
+
recipientsResolvedAt: Timestamp | null;
|
|
1209
|
+
requestedByUserId: string | null;
|
|
1210
|
+
startedAt: Timestamp | null;
|
|
1211
|
+
status: Generated<CoreEmailNotificationStatus>;
|
|
1212
|
+
tenantId: string;
|
|
1213
|
+
trigger: CoreEmailNotificationTrigger | null;
|
|
1214
|
+
triggerRunId: string | null;
|
|
1215
|
+
updatedAt: Generated<Timestamp>;
|
|
1216
|
+
}
|
|
809
1217
|
export interface CoreExportJob {
|
|
810
1218
|
createdAt: Generated<Timestamp>;
|
|
811
1219
|
errorMessage: string | null;
|
|
@@ -1167,6 +1575,20 @@ export interface HealthAccountingIntegrityCase {
|
|
|
1167
1575
|
verification: Json;
|
|
1168
1576
|
version: Generated<Int8>;
|
|
1169
1577
|
}
|
|
1578
|
+
export interface HealthAccountingIntegrityComparisonFinding {
|
|
1579
|
+
caseKey: string;
|
|
1580
|
+
code: string;
|
|
1581
|
+
contentHash: string;
|
|
1582
|
+
createdAt: Generated<Timestamp>;
|
|
1583
|
+
dataRegion: string;
|
|
1584
|
+
firstSeenAt: Timestamp;
|
|
1585
|
+
id: Generated<string>;
|
|
1586
|
+
recordId: string;
|
|
1587
|
+
recordType: HealthAccountingIntegrityDirtyRecordType;
|
|
1588
|
+
severity: HealthAccountingIntegritySeverity;
|
|
1589
|
+
tenantId: string;
|
|
1590
|
+
updatedAt: Generated<Timestamp>;
|
|
1591
|
+
}
|
|
1170
1592
|
export interface HealthAccountingIntegrityDelivery {
|
|
1171
1593
|
attempts: Generated<number>;
|
|
1172
1594
|
caseId: string | null;
|
|
@@ -1186,6 +1608,19 @@ export interface HealthAccountingIntegrityDelivery {
|
|
|
1186
1608
|
status: Generated<HealthAccountingIntegrityDeliveryStatus>;
|
|
1187
1609
|
updatedAt: Generated<Timestamp>;
|
|
1188
1610
|
}
|
|
1611
|
+
export interface HealthAccountingIntegrityDirtyRecord {
|
|
1612
|
+
claimedUntil: Timestamp | null;
|
|
1613
|
+
claimToken: string | null;
|
|
1614
|
+
computedAt: Timestamp | null;
|
|
1615
|
+
computedVersion: Generated<Int8>;
|
|
1616
|
+
createdAt: Generated<Timestamp>;
|
|
1617
|
+
dirtyAt: Generated<Timestamp>;
|
|
1618
|
+
dirtyVersion: Generated<Int8>;
|
|
1619
|
+
recordId: string;
|
|
1620
|
+
recordType: HealthAccountingIntegrityDirtyRecordType;
|
|
1621
|
+
tenantId: string;
|
|
1622
|
+
updatedAt: Generated<Timestamp>;
|
|
1623
|
+
}
|
|
1189
1624
|
export interface HealthAccountingIntegrityOperatorEvent {
|
|
1190
1625
|
actorId: string;
|
|
1191
1626
|
caseId: string | null;
|
|
@@ -1305,6 +1740,16 @@ export interface HealthAccountingIntegrityRun {
|
|
|
1305
1740
|
unchangedCaseCount: Generated<Int8>;
|
|
1306
1741
|
updatedAt: Generated<Timestamp>;
|
|
1307
1742
|
}
|
|
1743
|
+
export interface HealthAccountingIntegritySweepCursor {
|
|
1744
|
+
createdAt: Generated<Timestamp>;
|
|
1745
|
+
cycleStartedAt: Generated<Timestamp>;
|
|
1746
|
+
definitionsHash: string | null;
|
|
1747
|
+
lastCycleCompletedAt: Timestamp | null;
|
|
1748
|
+
lastRecordId: string | null;
|
|
1749
|
+
lastTenantId: string | null;
|
|
1750
|
+
recordType: HealthAccountingIntegrityDirtyRecordType;
|
|
1751
|
+
updatedAt: Generated<Timestamp>;
|
|
1752
|
+
}
|
|
1308
1753
|
export interface HealthAccountingIntegrityTransition {
|
|
1309
1754
|
caseId: string;
|
|
1310
1755
|
caseVersion: Int8;
|
|
@@ -1512,7 +1957,9 @@ export interface PublicConnection {
|
|
|
1512
1957
|
appId: string;
|
|
1513
1958
|
backendVersion: number | null;
|
|
1514
1959
|
createdAt: Generated<Timestamp>;
|
|
1960
|
+
credentialMetadata: Json | null;
|
|
1515
1961
|
credentials: Generated<Json | null>;
|
|
1962
|
+
credentialVersion: Generated<Int8>;
|
|
1516
1963
|
disabled: Generated<boolean | null>;
|
|
1517
1964
|
fetchNext: Generated<Timestamp | null>;
|
|
1518
1965
|
fetchStatus: Generated<string>;
|
|
@@ -1530,6 +1977,16 @@ export interface PublicConnection {
|
|
|
1530
1977
|
version: number | null;
|
|
1531
1978
|
webhookVersion: Generated<Int8>;
|
|
1532
1979
|
}
|
|
1980
|
+
export interface PublicConnectionOauthState {
|
|
1981
|
+
appId: string;
|
|
1982
|
+
connectionId: string | null;
|
|
1983
|
+
expiresAt: Timestamp;
|
|
1984
|
+
params: JsonObject;
|
|
1985
|
+
redirectUri: string;
|
|
1986
|
+
stateHash: string;
|
|
1987
|
+
tenantId: string;
|
|
1988
|
+
userId: string;
|
|
1989
|
+
}
|
|
1533
1990
|
export interface PublicConnectionRoute {
|
|
1534
1991
|
connectionId: string;
|
|
1535
1992
|
createdAt: Generated<Timestamp>;
|
|
@@ -1578,42 +2035,21 @@ export interface PublicEmailTemplate {
|
|
|
1578
2035
|
export interface PublicEmailTemplateType {
|
|
1579
2036
|
name: string;
|
|
1580
2037
|
}
|
|
1581
|
-
export interface
|
|
1582
|
-
|
|
1583
|
-
description: string | null;
|
|
1584
|
-
id: Generated<string>;
|
|
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 {
|
|
2038
|
+
export interface PublicFeedback {
|
|
2039
|
+
context: string | null;
|
|
1597
2040
|
createdAt: Generated<Timestamp>;
|
|
1598
|
-
|
|
1599
|
-
|
|
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;
|
|
2041
|
+
description: string;
|
|
2042
|
+
errorReason: string | null;
|
|
1610
2043
|
id: Generated<string>;
|
|
1611
|
-
|
|
2044
|
+
kind: PublicFeedbackKind;
|
|
2045
|
+
linearIssueId: string | null;
|
|
2046
|
+
operationId: string | null;
|
|
2047
|
+
relatedRequest: string | null;
|
|
2048
|
+
reporterEmail: string | null;
|
|
2049
|
+
reporterUserId: string | null;
|
|
2050
|
+
route: string | null;
|
|
1612
2051
|
tenantId: string;
|
|
1613
|
-
|
|
1614
|
-
}
|
|
1615
|
-
export interface PublicFeatureStatus {
|
|
1616
|
-
name: string;
|
|
2052
|
+
title: string;
|
|
1617
2053
|
}
|
|
1618
2054
|
export interface PublicFileStorage {
|
|
1619
2055
|
connectionId: string | null;
|
|
@@ -1651,6 +2087,23 @@ export interface PublicFileStorageTag {
|
|
|
1651
2087
|
uniqueRef: string;
|
|
1652
2088
|
updatedAt: Generated<Timestamp>;
|
|
1653
2089
|
}
|
|
2090
|
+
export interface PublicGuestReview {
|
|
2091
|
+
channel: PublicGuestReviewChannel;
|
|
2092
|
+
connectionId: string;
|
|
2093
|
+
createdAt: Generated<Timestamp>;
|
|
2094
|
+
hostReply: string | null;
|
|
2095
|
+
id: Generated<string>;
|
|
2096
|
+
isHidden: Generated<boolean>;
|
|
2097
|
+
negativeText: string | null;
|
|
2098
|
+
rating: Numeric;
|
|
2099
|
+
reservationId: string;
|
|
2100
|
+
reviewedAt: Timestamp;
|
|
2101
|
+
tenantId: string;
|
|
2102
|
+
text: string | null;
|
|
2103
|
+
title: string | null;
|
|
2104
|
+
uniqueRef: string;
|
|
2105
|
+
updatedAt: Generated<Timestamp>;
|
|
2106
|
+
}
|
|
1654
2107
|
export interface PublicLatestDuplicateEmails {
|
|
1655
2108
|
createdAt: Timestamp | null;
|
|
1656
2109
|
email: string | null;
|
|
@@ -1792,6 +2245,20 @@ export interface PublicListingOwnershipPeriodMember {
|
|
|
1792
2245
|
split: number;
|
|
1793
2246
|
updatedAt: Generated<Timestamp | null>;
|
|
1794
2247
|
}
|
|
2248
|
+
export interface PublicMemberInviteApproval {
|
|
2249
|
+
createdAt: Generated<Timestamp>;
|
|
2250
|
+
decidedAt: Timestamp | null;
|
|
2251
|
+
decidedByUserId: string | null;
|
|
2252
|
+
email: string;
|
|
2253
|
+
id: Generated<string>;
|
|
2254
|
+
permissionBundles: string[] | null;
|
|
2255
|
+
requestedByUserId: string | null;
|
|
2256
|
+
role: PublicMemberInviteApprovalRole | null;
|
|
2257
|
+
sendEmail: Generated<boolean>;
|
|
2258
|
+
status: Generated<PublicMemberInviteApprovalStatus>;
|
|
2259
|
+
tenantId: string;
|
|
2260
|
+
updatedAt: Generated<Timestamp>;
|
|
2261
|
+
}
|
|
1795
2262
|
export interface PublicOwner {
|
|
1796
2263
|
addressId: string | null;
|
|
1797
2264
|
companyType: string | null;
|
|
@@ -2007,8 +2474,15 @@ export interface PublicPlaidConnectSession {
|
|
|
2007
2474
|
environment: string;
|
|
2008
2475
|
errorCode: string | null;
|
|
2009
2476
|
errorRetryable: boolean | null;
|
|
2477
|
+
exitedAt: Timestamp | null;
|
|
2478
|
+
exitErrorCode: string | null;
|
|
2479
|
+
exitErrorType: string | null;
|
|
2480
|
+
exitRequestId: string | null;
|
|
2481
|
+
exitView: string | null;
|
|
2010
2482
|
expiresAt: Timestamp;
|
|
2011
2483
|
id: Generated<string>;
|
|
2484
|
+
institutionId: string | null;
|
|
2485
|
+
institutionName: string | null;
|
|
2012
2486
|
itemId: string | null;
|
|
2013
2487
|
leaseExpiresAt: Timestamp | null;
|
|
2014
2488
|
linkSessionId: string | null;
|
|
@@ -2019,6 +2493,24 @@ export interface PublicPlaidConnectSession {
|
|
|
2019
2493
|
tenantId: string;
|
|
2020
2494
|
updatedAt: Generated<Timestamp>;
|
|
2021
2495
|
}
|
|
2496
|
+
export interface PublicRampApplication {
|
|
2497
|
+
applicantEmail: string;
|
|
2498
|
+
applicantUserId: string | null;
|
|
2499
|
+
createdAt: Generated<Timestamp>;
|
|
2500
|
+
credentials: Json | null;
|
|
2501
|
+
environment: PublicRampApplicationEnvironment;
|
|
2502
|
+
id: Generated<string>;
|
|
2503
|
+
invitedAt: Generated<Timestamp>;
|
|
2504
|
+
rampApplicationId: string | null;
|
|
2505
|
+
stateNonce: string;
|
|
2506
|
+
status: Generated<PublicRampApplicationStatus>;
|
|
2507
|
+
statusUpdatedAt: Generated<Timestamp>;
|
|
2508
|
+
tenantId: string;
|
|
2509
|
+
updatedAt: Generated<Timestamp>;
|
|
2510
|
+
webhookId: string | null;
|
|
2511
|
+
webhookSecret: string | null;
|
|
2512
|
+
webhookToken: string | null;
|
|
2513
|
+
}
|
|
2022
2514
|
export interface PublicRecurringFee {
|
|
2023
2515
|
bookingChannelsFilter: string[] | null;
|
|
2024
2516
|
createdAt: Generated<Timestamp>;
|
|
@@ -2030,10 +2522,13 @@ export interface PublicRecurringFee {
|
|
|
2030
2522
|
formula: string | null;
|
|
2031
2523
|
icon: string | null;
|
|
2032
2524
|
id: Generated<string>;
|
|
2525
|
+
nightsFilterMax: number | null;
|
|
2526
|
+
nightsFilterMin: number | null;
|
|
2033
2527
|
rateType: Generated<string | null>;
|
|
2034
2528
|
revenueRecognition: string | null;
|
|
2035
2529
|
status: Generated<string>;
|
|
2036
2530
|
statusFilter: string | null;
|
|
2531
|
+
stayTypesFilter: ArrayType<PublicReservationStayType> | null;
|
|
2037
2532
|
taxBehavior: string | null;
|
|
2038
2533
|
taxRateId: string | null;
|
|
2039
2534
|
tenantId: string;
|
|
@@ -2063,6 +2558,7 @@ export interface PublicRecurringFeeListingSubscription {
|
|
|
2063
2558
|
endAt: Timestamp | null;
|
|
2064
2559
|
id: Generated<string>;
|
|
2065
2560
|
listingId: string;
|
|
2561
|
+
matchBy: Generated<PublicRecurringFeeListingSubscriptionMatchBy>;
|
|
2066
2562
|
rate: number | null;
|
|
2067
2563
|
rateType: Generated<string | null>;
|
|
2068
2564
|
recurringFeeId: string;
|
|
@@ -2129,6 +2625,7 @@ export interface PublicReservation {
|
|
|
2129
2625
|
shortRef: string | null;
|
|
2130
2626
|
sourceId: string | null;
|
|
2131
2627
|
status: Generated<string | null>;
|
|
2628
|
+
stayType: Generated<PublicReservationStayType>;
|
|
2132
2629
|
taxCentTotal: Int8 | null;
|
|
2133
2630
|
tenantId: string | null;
|
|
2134
2631
|
uniqueRef: string | null;
|
|
@@ -2183,6 +2680,20 @@ export interface PublicReservationWithOccupancyStatus {
|
|
|
2183
2680
|
updatedAt: Timestamp | null;
|
|
2184
2681
|
userdata: Json | null;
|
|
2185
2682
|
}
|
|
2683
|
+
export interface PublicSecondFactorReset {
|
|
2684
|
+
createdAt: Generated<Timestamp>;
|
|
2685
|
+
decidedAt: Timestamp | null;
|
|
2686
|
+
decidedByUserId: string | null;
|
|
2687
|
+
expiresAt: Timestamp;
|
|
2688
|
+
id: Generated<string>;
|
|
2689
|
+
identityCheck: string | null;
|
|
2690
|
+
initiator: PublicSecondFactorResetInitiator;
|
|
2691
|
+
requestedByUserId: string | null;
|
|
2692
|
+
status: PublicSecondFactorResetStatus;
|
|
2693
|
+
tenantId: string;
|
|
2694
|
+
updatedAt: Generated<Timestamp>;
|
|
2695
|
+
userId: string;
|
|
2696
|
+
}
|
|
2186
2697
|
export interface PublicSetting {
|
|
2187
2698
|
automationId: string | null;
|
|
2188
2699
|
connectionId: string | null;
|
|
@@ -2286,10 +2797,10 @@ export interface PublicTenant {
|
|
|
2286
2797
|
billingPartnerId: string | null;
|
|
2287
2798
|
billingPaymentMethodType: string | null;
|
|
2288
2799
|
billingPlan: string | null;
|
|
2800
|
+
billingSubscriptionId: string | null;
|
|
2289
2801
|
billingSubscriptionStatus: string | null;
|
|
2290
2802
|
booksClosedAt: Timestamp | null;
|
|
2291
2803
|
calculatedBillingPartnerId: Generated<string | null>;
|
|
2292
|
-
calculatedIsBillable: Generated<boolean | null>;
|
|
2293
2804
|
calculatedStatus: Generated<string | null>;
|
|
2294
2805
|
/**
|
|
2295
2806
|
* Billing subscription is getting cancelled at date
|
|
@@ -2316,8 +2827,9 @@ export interface PublicTenant {
|
|
|
2316
2827
|
intercomId: string | null;
|
|
2317
2828
|
isActive: Generated<boolean | null>;
|
|
2318
2829
|
isGeneralLedger: Generated<boolean | null>;
|
|
2319
|
-
isOnboarding: Generated<boolean
|
|
2320
|
-
|
|
2830
|
+
isOnboarding: Generated<boolean>;
|
|
2831
|
+
isTaxBanditsSandbox: boolean | null;
|
|
2832
|
+
lockedAt: Timestamp | null;
|
|
2321
2833
|
logo: string | null;
|
|
2322
2834
|
longTermStayNights: number | null;
|
|
2323
2835
|
migratedAt: Timestamp | null;
|
|
@@ -2345,6 +2857,8 @@ export interface PublicTenant {
|
|
|
2345
2857
|
supportEmail: string | null;
|
|
2346
2858
|
supportPhone: string | null;
|
|
2347
2859
|
svixEndpoints: boolean | null;
|
|
2860
|
+
taxBanditsBusinessId: string | null;
|
|
2861
|
+
taxStatementFilingPeriod: AccountingTaxStatementFilingPeriod | null;
|
|
2348
2862
|
type: Generated<string | null>;
|
|
2349
2863
|
uniqueRef: string | null;
|
|
2350
2864
|
updatedAt: Generated<Timestamp | null>;
|
|
@@ -2363,16 +2877,6 @@ export interface PublicTenantUser {
|
|
|
2363
2877
|
updatedAt: Generated<Timestamp | null>;
|
|
2364
2878
|
userId: string;
|
|
2365
2879
|
}
|
|
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
2880
|
export interface PublicUser {
|
|
2377
2881
|
address: string | null;
|
|
2378
2882
|
addressCity: string | null;
|
|
@@ -2464,17 +2968,6 @@ export interface PublicWebhook {
|
|
|
2464
2968
|
types2: string[] | null;
|
|
2465
2969
|
url: string;
|
|
2466
2970
|
}
|
|
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
2971
|
export interface TrackingIntercomConversation {
|
|
2479
2972
|
answer: string;
|
|
2480
2973
|
conversationId: Int8;
|
|
@@ -2571,6 +3064,17 @@ export interface WebhookDeliveryAttemptSecret {
|
|
|
2571
3064
|
position: string;
|
|
2572
3065
|
subscriptionSecretId: string;
|
|
2573
3066
|
}
|
|
3067
|
+
export interface WebhookEvent {
|
|
3068
|
+
createdAt: Generated<Timestamp>;
|
|
3069
|
+
data: Json;
|
|
3070
|
+
eventType: WebhookEventType;
|
|
3071
|
+
id: Generated<string>;
|
|
3072
|
+
matchedAt: Timestamp | null;
|
|
3073
|
+
resourceId: string;
|
|
3074
|
+
resourceType: WebhookResourceType;
|
|
3075
|
+
sourceEventKey: string;
|
|
3076
|
+
tenantId: string;
|
|
3077
|
+
}
|
|
2574
3078
|
export interface WebhookRateLimit {
|
|
2575
3079
|
key: string;
|
|
2576
3080
|
ownerTenantId: string;
|
|
@@ -2612,6 +3116,7 @@ export interface DB {
|
|
|
2612
3116
|
"accounting.accountCategory": AccountingAccountCategory;
|
|
2613
3117
|
"accounting.accountClassification": AccountingAccountClassification;
|
|
2614
3118
|
"accounting.accountConnection": AccountingAccountConnection;
|
|
3119
|
+
"accounting.accountPaymentFileSetting": AccountingAccountPaymentFileSetting;
|
|
2615
3120
|
"accounting.accountReservationLineType": AccountingAccountReservationLineType;
|
|
2616
3121
|
"accounting.accountReservationRevRec": AccountingAccountReservationRevRec;
|
|
2617
3122
|
"accounting.accountType": AccountingAccountType;
|
|
@@ -2629,17 +3134,31 @@ export interface DB {
|
|
|
2629
3134
|
"accounting.bankRuleMatchOperator": AccountingBankRuleMatchOperator;
|
|
2630
3135
|
"accounting.bankRuleMode": AccountingBankRuleMode;
|
|
2631
3136
|
"accounting.contact": AccountingContact;
|
|
3137
|
+
"accounting.contactBankAccount": AccountingContactBankAccount;
|
|
3138
|
+
"accounting.contactBankDetailsRequest": AccountingContactBankDetailsRequest;
|
|
2632
3139
|
"accounting.contactCompanyType": AccountingContactCompanyType;
|
|
2633
3140
|
"accounting.contactType": AccountingContactType;
|
|
2634
3141
|
"accounting.journalEntry": AccountingJournalEntry;
|
|
2635
3142
|
"accounting.journalEntryEntityType": AccountingJournalEntryEntityType;
|
|
2636
3143
|
"accounting.journalEntryTriggerType": AccountingJournalEntryTriggerType;
|
|
2637
3144
|
"accounting.journalEntryType": AccountingJournalEntryType;
|
|
3145
|
+
"accounting.ownerPayment": AccountingOwnerPayment;
|
|
3146
|
+
"accounting.ownerPaymentRequest": AccountingOwnerPaymentRequest;
|
|
3147
|
+
"accounting.ownerPaymentSettings": AccountingOwnerPaymentSettings;
|
|
2638
3148
|
"accounting.ownerStatementProjection": AccountingOwnerStatementProjection;
|
|
2639
3149
|
"accounting.ownerStatementProjectionListingRevision": AccountingOwnerStatementProjectionListingRevision;
|
|
2640
3150
|
"accounting.ownerStatementProjectionRevision": AccountingOwnerStatementProjectionRevision;
|
|
2641
3151
|
"accounting.paidStatus": AccountingPaidStatus;
|
|
2642
3152
|
"accounting.party": AccountingParty;
|
|
3153
|
+
"accounting.payment": AccountingPayment;
|
|
3154
|
+
"accounting.paymentAllocation": AccountingPaymentAllocation;
|
|
3155
|
+
"accounting.paymentBatch": AccountingPaymentBatch;
|
|
3156
|
+
"accounting.paymentBatchItem": AccountingPaymentBatchItem;
|
|
3157
|
+
"accounting.paymentBatchPayment": AccountingPaymentBatchPayment;
|
|
3158
|
+
"accounting.paymentCommand": AccountingPaymentCommand;
|
|
3159
|
+
"accounting.paymentObservation": AccountingPaymentObservation;
|
|
3160
|
+
"accounting.paymentReversal": AccountingPaymentReversal;
|
|
3161
|
+
"accounting.payoutHold": AccountingPayoutHold;
|
|
2643
3162
|
"accounting.rate": AccountingRate;
|
|
2644
3163
|
"accounting.rateType": AccountingRateType;
|
|
2645
3164
|
"accounting.reservationJournalFreshnessControl": AccountingReservationJournalFreshnessControl;
|
|
@@ -2647,11 +3166,13 @@ export interface DB {
|
|
|
2647
3166
|
"accounting.reservationJournalState": AccountingReservationJournalState;
|
|
2648
3167
|
"accounting.reservationJournalStatementImpact": AccountingReservationJournalStatementImpact;
|
|
2649
3168
|
"accounting.taxBehavior": AccountingTaxBehavior;
|
|
3169
|
+
"accounting.taxStatement": AccountingTaxStatement;
|
|
2650
3170
|
"accounting.transaction": AccountingTransaction;
|
|
2651
3171
|
"accounting.transactionAttachment": AccountingTransactionAttachment;
|
|
2652
3172
|
"accounting.transactionLine": AccountingTransactionLine;
|
|
2653
3173
|
"accounting.transactionType": AccountingTransactionType;
|
|
2654
3174
|
"audit.action": AuditAction;
|
|
3175
|
+
"audit.actionClientIp": AuditActionClientIp;
|
|
2655
3176
|
"audit.effect": AuditEffect;
|
|
2656
3177
|
"audit.effectAttempt": AuditEffectAttempt;
|
|
2657
3178
|
"audit.journalDelta": AuditJournalDelta;
|
|
@@ -2671,6 +3192,8 @@ export interface DB {
|
|
|
2671
3192
|
"core.changeSyncType": CoreChangeSyncType;
|
|
2672
3193
|
"core.changeType": CoreChangeType;
|
|
2673
3194
|
"core.csvOperationResult": CoreCsvOperationResult;
|
|
3195
|
+
"core.emailDelivery": CoreEmailDelivery;
|
|
3196
|
+
"core.emailNotification": CoreEmailNotification;
|
|
2674
3197
|
"core.exportJob": CoreExportJob;
|
|
2675
3198
|
"core.flow": CoreFlow;
|
|
2676
3199
|
"core.flowEvent": CoreFlowEvent;
|
|
@@ -2702,13 +3225,16 @@ export interface DB {
|
|
|
2702
3225
|
"hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
|
|
2703
3226
|
"hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
|
|
2704
3227
|
"health.accountingIntegrityCase": HealthAccountingIntegrityCase;
|
|
3228
|
+
"health.accountingIntegrityComparisonFinding": HealthAccountingIntegrityComparisonFinding;
|
|
2705
3229
|
"health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
|
|
3230
|
+
"health.accountingIntegrityDirtyRecord": HealthAccountingIntegrityDirtyRecord;
|
|
2706
3231
|
"health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
|
|
2707
3232
|
"health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
|
|
2708
3233
|
"health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
|
|
2709
3234
|
"health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;
|
|
2710
3235
|
"health.accountingIntegrityRepairTransition": HealthAccountingIntegrityRepairTransition;
|
|
2711
3236
|
"health.accountingIntegrityRun": HealthAccountingIntegrityRun;
|
|
3237
|
+
"health.accountingIntegritySweepCursor": HealthAccountingIntegritySweepCursor;
|
|
2712
3238
|
"health.accountingIntegrityTransition": HealthAccountingIntegrityTransition;
|
|
2713
3239
|
"health.reservationIssueSnapshot": HealthReservationIssueSnapshot;
|
|
2714
3240
|
"health.tenantIssue": HealthTenantIssue;
|
|
@@ -2725,6 +3251,7 @@ export interface DB {
|
|
|
2725
3251
|
"public.bookingChannel": PublicBookingChannel;
|
|
2726
3252
|
"public.bookingChannelIconCandidate": PublicBookingChannelIconCandidate;
|
|
2727
3253
|
"public.connection": PublicConnection;
|
|
3254
|
+
"public.connectionOauthState": PublicConnectionOauthState;
|
|
2728
3255
|
"public.connectionRoute": PublicConnectionRoute;
|
|
2729
3256
|
"public.controlPlaneOutbox": PublicControlPlaneOutbox;
|
|
2730
3257
|
"public.controlPlaneProjectionEvent": PublicControlPlaneProjectionEvent;
|
|
@@ -2732,14 +3259,11 @@ export interface DB {
|
|
|
2732
3259
|
"public.duplicateEmails": PublicDuplicateEmails;
|
|
2733
3260
|
"public.emailTemplate": PublicEmailTemplate;
|
|
2734
3261
|
"public.emailTemplateType": PublicEmailTemplateType;
|
|
2735
|
-
"public.
|
|
2736
|
-
"public.featureApproval": PublicFeatureApproval;
|
|
2737
|
-
"public.featureApprovalStatus": PublicFeatureApprovalStatus;
|
|
2738
|
-
"public.featureEnabledTeam": PublicFeatureEnabledTeam;
|
|
2739
|
-
"public.featureStatus": PublicFeatureStatus;
|
|
3262
|
+
"public.feedback": PublicFeedback;
|
|
2740
3263
|
"public.fileStorage": PublicFileStorage;
|
|
2741
3264
|
"public.fileStorageSourceLink": PublicFileStorageSourceLink;
|
|
2742
3265
|
"public.fileStorageTag": PublicFileStorageTag;
|
|
3266
|
+
"public.guestReview": PublicGuestReview;
|
|
2743
3267
|
"public.latestDuplicateEmails": PublicLatestDuplicateEmails;
|
|
2744
3268
|
"public.lineClassificationUsage": PublicLineClassificationUsage;
|
|
2745
3269
|
"public.lineClassificationUsageBackfill": PublicLineClassificationUsageBackfill;
|
|
@@ -2752,6 +3276,7 @@ export interface DB {
|
|
|
2752
3276
|
"public.listingOwnershipPeriod": PublicListingOwnershipPeriod;
|
|
2753
3277
|
"public.listingOwnershipPeriodBusinessModel": PublicListingOwnershipPeriodBusinessModel;
|
|
2754
3278
|
"public.listingOwnershipPeriodMember": PublicListingOwnershipPeriodMember;
|
|
3279
|
+
"public.memberInviteApproval": PublicMemberInviteApproval;
|
|
2755
3280
|
"public.owner": PublicOwner;
|
|
2756
3281
|
"public.ownerStatement": PublicOwnerStatement;
|
|
2757
3282
|
"public.ownerStatementLayout": PublicOwnerStatementLayout;
|
|
@@ -2770,6 +3295,7 @@ export interface DB {
|
|
|
2770
3295
|
"public.paymentStatus": PublicPaymentStatus;
|
|
2771
3296
|
"public.paymentType": PublicPaymentType;
|
|
2772
3297
|
"public.plaidConnectSession": PublicPlaidConnectSession;
|
|
3298
|
+
"public.rampApplication": PublicRampApplication;
|
|
2773
3299
|
"public.recurringFee": PublicRecurringFee;
|
|
2774
3300
|
"public.recurringFeeAccount": PublicRecurringFeeAccount;
|
|
2775
3301
|
"public.recurringFeeAccountCondition": PublicRecurringFeeAccountCondition;
|
|
@@ -2779,6 +3305,7 @@ export interface DB {
|
|
|
2779
3305
|
"public.reservation": PublicReservation;
|
|
2780
3306
|
"public.reservationStatus": PublicReservationStatus;
|
|
2781
3307
|
"public.reservationWithOccupancyStatus": PublicReservationWithOccupancyStatus;
|
|
3308
|
+
"public.secondFactorReset": PublicSecondFactorReset;
|
|
2782
3309
|
"public.setting": PublicSetting;
|
|
2783
3310
|
"public.source": PublicSource;
|
|
2784
3311
|
"public.task": PublicTask;
|
|
@@ -2786,7 +3313,6 @@ export interface DB {
|
|
|
2786
3313
|
"public.taxStatementStatus": PublicTaxStatementStatus;
|
|
2787
3314
|
"public.tenant": PublicTenant;
|
|
2788
3315
|
"public.tenantUser": PublicTenantUser;
|
|
2789
|
-
"public.token": PublicToken;
|
|
2790
3316
|
"public.user": PublicUser;
|
|
2791
3317
|
"public.userCompanyType": PublicUserCompanyType;
|
|
2792
3318
|
"public.userCompanyUser": PublicUserCompanyUser;
|
|
@@ -2796,7 +3322,6 @@ export interface DB {
|
|
|
2796
3322
|
"public.viewWebhookEvents": PublicViewWebhookEvents;
|
|
2797
3323
|
"public.viewWebhookEventsGroupedByDate": PublicViewWebhookEventsGroupedByDate;
|
|
2798
3324
|
"public.webhook": PublicWebhook;
|
|
2799
|
-
"tracking.event": TrackingEvent;
|
|
2800
3325
|
"tracking.intercomConversation": TrackingIntercomConversation;
|
|
2801
3326
|
"tracking.intercomConversationUser": TrackingIntercomConversationUser;
|
|
2802
3327
|
"tracking.intercomReport": TrackingIntercomReport;
|
|
@@ -2807,6 +3332,7 @@ export interface DB {
|
|
|
2807
3332
|
"webhook.delivery": WebhookDelivery;
|
|
2808
3333
|
"webhook.deliveryAttempt": WebhookDeliveryAttempt;
|
|
2809
3334
|
"webhook.deliveryAttemptSecret": WebhookDeliveryAttemptSecret;
|
|
3335
|
+
"webhook.event": WebhookEvent;
|
|
2810
3336
|
"webhook.rateLimit": WebhookRateLimit;
|
|
2811
3337
|
"webhook.subscription": WebhookSubscription;
|
|
2812
3338
|
"webhook.subscriptionSecret": WebhookSubscriptionSecret;
|