@vrplatform/kysely 1.3.45-4997 → 1.3.45-5
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 +0 -0
- package/build/main/camel-case/index.js +1 -1
- package/build/main/camel-case/index.js.map +1 -1
- package/build/main/control-plane/index.d.ts +216 -17
- package/build/main/control-plane/index.js +61 -0
- package/build/main/control-plane/index.js.map +1 -1
- package/build/main/domain.d.ts +4 -0
- package/build/main/domain.js +3 -0
- package/build/main/domain.js.map +1 -0
- package/build/main/index.d.ts +6 -11
- package/build/main/index.js +127 -57
- package/build/main/index.js.map +1 -1
- package/build/main/isomorphic.d.ts +5 -5
- package/build/main/isomorphic.js +2 -8
- package/build/main/isomorphic.js.map +1 -1
- package/build/main/local/digest.d.ts +3 -3
- package/build/main/local/digest.js.map +1 -1
- package/build/main/local/generate.js +9 -8
- package/build/main/local/generate.js.map +1 -1
- package/build/main/local/index.d.ts +5 -1
- package/build/main/local/index.js +214 -4
- package/build/main/local/index.js.map +1 -1
- package/build/main/local/prune-pulled-schema.js +4 -1
- package/build/main/local/prune-pulled-schema.js.map +1 -1
- package/build/main/migration.d.ts +7 -0
- package/build/main/migration.js +11 -0
- package/build/main/migration.js.map +1 -0
- package/build/main/query/listing/status.d.ts +0 -10
- package/build/main/query/listing/status.js +2 -14
- package/build/main/query/listing/status.js.map +1 -1
- package/build/main/query/tenant/status.d.ts +5 -8
- package/build/main/query/tenant/status.js +18 -21
- package/build/main/query/tenant/status.js.map +1 -1
- package/build/main/regional.d.ts +6 -1
- package/build/main/regional.js +13 -9
- package/build/main/regional.js.map +1 -1
- package/build/main/test/index.d.ts +3 -14
- package/build/main/test/index.js +0 -23
- package/build/main/test/index.js.map +1 -1
- package/build/main/transaction.d.ts +3 -3
- package/build/main/transaction.js.map +1 -1
- package/build/main/v1.generated.d.ts +501 -134
- package/build/main/v1.generated.js.map +1 -1
- package/build/migrations-v2/0000000000000-baseline.ts +5 -0
- package/build/migrations-v2/0000000000001-public-audit-events-v2.ts +137 -0
- package/build/migrations-v2/0000000000002-audit-recovery-watermarks.ts +30 -0
- package/build/migrations-v2/0000000000003-audit-effect-recovery-watermark.ts +13 -0
- package/build/migrations-v2/0000000000004-audit-event-projected-at.ts +15 -0
- package/build/migrations-v2/0000000000005-audit-recovery-indexes.ts +63 -0
- package/build/migrations-v2/0000000000006-audit-action-public-event-projected-at.ts +22 -0
- package/build/migrations-v2/0000000000007-audit-action-public-event-projected-at-backfill.ts +35 -0
- package/build/migrations-v2/0000000000008-global-user-attribution.ts +33 -0
- package/build/migrations-v2/0000000000008-team-issue-rule-state.ts +52 -0
- package/build/migrations-v2/0000000000009-reservation-issue-projections.ts +45 -0
- package/build/migrations-v2/0000000000010-bank-rule-application-bank-record-delete-cascade.ts +26 -0
- package/build/migrations-v2/0000000000011-guest-balance-journal-entry-lookup-index.ts +25 -0
- package/build/migrations-v2/0000000000012-trial-free-analytics-billing-status.ts +72 -0
- package/build/migrations-v2/0000000000013-ui-permission-bundles.ts +45 -0
- package/build/migrations-v2/0000000000014-ui-permission-bundle-top-up.ts +32 -0
- package/build/migrations-v2/0000000000016-managed-team-access.ts +34 -0
- package/build/migrations-v2/0000000000017-drop-trial-until.ts +42 -0
- package/build/migrations-v2/0000000000018-accounting-integrity-monitoring.ts +276 -0
- package/build/migrations-v2/0000000000019-accounting-integrity-run-shards.ts +26 -0
- package/build/migrations-v2/0000000000020-accounting-integrity-case-classification.ts +52 -0
- package/build/migrations-v2/0000000000021-payment-line-classification-monitor-indexes.ts +31 -0
- package/build/migrations-v2/0000000000022-accounting-integrity-controlled-repairs.ts +281 -0
- package/build/migrations-v2/0000000000023-line-classification-usage.ts +325 -0
- package/build/migrations-v2/0000000000024-tenant-region-migration.ts +108 -0
- package/build/migrations-v2/0000000000025-partner-ach-denial-default.ts +30 -0
- package/build/migrations-v2/0000000000026-line-classification-usage-capture.ts +399 -0
- package/build/migrations-v2/0000000000027-payout-replacement-chain.ts +27 -0
- package/build/migrations-v2/0000000000028-accounting-integrity-operator-workflow.ts +108 -0
- package/build/migrations-v2/0000000000029-accounting-integrity-definition-artifacts.ts +40 -0
- package/build/migrations-v2/0000000000030-accounting-integrity-review-metadata-compatibility.ts +49 -0
- package/build/module/camel-case/index.js +1 -1
- package/build/module/camel-case/index.js.map +1 -1
- package/build/module/control-plane/index.d.ts +216 -17
- package/build/module/control-plane/index.js +49 -1
- package/build/module/control-plane/index.js.map +1 -1
- package/build/module/domain.d.ts +4 -0
- package/build/module/domain.js +2 -0
- package/build/module/domain.js.map +1 -0
- package/build/module/index.d.ts +6 -11
- package/build/module/index.js +129 -55
- package/build/module/index.js.map +1 -1
- package/build/module/isomorphic.d.ts +5 -5
- package/build/module/isomorphic.js +1 -6
- package/build/module/isomorphic.js.map +1 -1
- package/build/module/local/digest.d.ts +3 -3
- package/build/module/local/digest.js.map +1 -1
- package/build/module/local/generate.js +9 -8
- package/build/module/local/generate.js.map +1 -1
- package/build/module/local/index.d.ts +5 -1
- package/build/module/local/index.js +215 -5
- package/build/module/local/index.js.map +1 -1
- package/build/module/local/prune-pulled-schema.js +4 -1
- package/build/module/local/prune-pulled-schema.js.map +1 -1
- package/build/module/migration.d.ts +7 -0
- package/build/module/migration.js +8 -0
- package/build/module/migration.js.map +1 -0
- package/build/module/query/listing/status.d.ts +0 -10
- package/build/module/query/listing/status.js +2 -12
- package/build/module/query/listing/status.js.map +1 -1
- package/build/module/query/tenant/status.d.ts +5 -8
- package/build/module/query/tenant/status.js +18 -21
- package/build/module/query/tenant/status.js.map +1 -1
- package/build/module/regional.d.ts +6 -1
- package/build/module/regional.js +13 -9
- package/build/module/regional.js.map +1 -1
- package/build/module/test/index.d.ts +3 -14
- package/build/module/test/index.js +1 -23
- package/build/module/test/index.js.map +1 -1
- package/build/module/transaction.d.ts +3 -3
- package/build/module/transaction.js.map +1 -1
- package/build/module/v1.generated.d.ts +501 -134
- package/build/module/v1.generated.js.map +1 -1
- package/package.json +3 -3
- package/build/migrations/0000000000001-init.ts +0 -5
- package/build/migrations/0000000000009-drop-store-schema.ts +0 -14
- package/build/migrations/0000000000010-bank-rules.ts +0 -190
- package/build/migrations/0000000000011-bank-rule-line-adjustments.ts +0 -65
- package/build/migrations/0000000000012-bank-rule-conditions.ts +0 -45
- package/build/migrations/0000000000013-bank-rule-name-unique.ts +0 -15
- package/build/migrations/0000000000014-bank-rule-drop-legacy-conditions.ts +0 -41
- package/build/migrations/0000000000015-booking-channel-logo-dev-provider.ts +0 -70
- package/build/migrations/0000000000016-owner-statement-draft-status.ts +0 -22
- package/build/migrations/0000000000017-tenant-migration-markers.ts +0 -18
- package/build/migrations/0000000000018-security-deposits-payable-category.ts +0 -63
- package/build/migrations/0000000000019-tenant-app-settings.ts +0 -76
- package/build/migrations/0000000000020-operating-opening-trial-balance.ts +0 -36
- package/build/migrations/0000000000021-audit-foreign-key-indexes.ts +0 -77
- package/build/migrations/0000000000022-opening-trial-balance-combined-columns.ts +0 -30
- package/build/migrations/0000000000023-journal-entry-currency-mismatch-reason.ts +0 -14
- package/build/migrations/0000000000024-listing-parent.ts +0 -37
- package/build/migrations/0000000000025-journal-entry-parent-listing.ts +0 -26
- package/build/migrations/0000000000026-booking-channel-logo-slots.ts +0 -89
- package/build/migrations/0000000000027-list-browse-performance-indexes.ts +0 -52
- package/build/migrations/0000000000028-flow-setting-status-jsonb.ts +0 -20
- package/build/migrations/0000000000029-tenant-slug.ts +0 -328
- package/build/migrations/0000000000030-pms-accounting-windows.ts +0 -50
- package/build/migrations/0000000000031-owner-statement-projection-listing-revision.ts +0 -20
- package/build/migrations/0000000000032-flow-event-listening.ts +0 -28
- package/build/migrations/0000000000033-opening-trial-balance-transaction.ts +0 -272
- package/build/migrations/0000000000034-historic-general-ledger.ts +0 -24
- package/build/migrations/0000000000035-tenant-regional-placement.ts +0 -37
- package/build/migrations/0000000000036-control-plane-projection-events.ts +0 -43
- package/build/migrations/0000000000037-tenant-guide-onboarding.ts +0 -21
- package/build/migrations/0000000000038-tracking-event-analytics-sink.ts +0 -31
- package/build/migrations/0000000000039-crunchy-region.ts +0 -86
- package/build/migrations/0000000000040-hostaway-region.ts +0 -72
- package/build/migrations/0000000000041-audit-tenant-fk.ts +0 -66
- package/build/migrations/0000000000042-ramp-staging-connect-params.ts +0 -35
- package/build/migrations/0000000000043-gl-pms-accounting-window-guard.ts +0 -125
- package/build/migrations/0000000000044-tenant-cross-region-fks.ts +0 -45
- package/build/migrations/0000000000045-cloudflare-region-env.ts +0 -100
- package/build/migrations/0000000000046-control-plane-outbox-alias.ts +0 -46
- package/build/migrations/0000000000047-ramp-contact-last-4-digits.ts +0 -16
- package/build/migrations/0000000000047-tenant-status-backfill.ts +0 -40
- package/build/migrations/0000000000048-tenant-status-constraint.ts +0 -24
- package/build/migrations/0000000000049-health-tenant-issues.ts +0 -69
- package/build/migrations/0000000000050-partner-webhooks.ts +0 -135
- package/build/migrations/0000000000051-health-webhook-runtime-grants.ts +0 -42
- package/build/migrations/0000000000052-feature-approval-team-enablement.ts +0 -13
- package/build/migrations/0000000000053-health-webhook-enums.ts +0 -296
- package/build/migrations/0000000000054-user-secondary-emails-jsonb.ts +0 -25
- package/build/migrations/0000000000055-outbound-webhooks-v1.ts +0 -221
- package/build/migrations/0000000000056-connection-webhook-version.ts +0 -18
- package/build/migrations/0000000000057-sync-webhook-version.ts +0 -18
- package/build/migrations/0000000000058-reservation-webhook-version.ts +0 -18
- package/build/migrations/0000000000059-listing-webhook-version.ts +0 -18
- package/build/migrations/0000000000060-owner-statement-webhook-version.ts +0 -19
- package/build/migrations/0000000000061-transaction-webhook-version.ts +0 -18
- package/build/migrations/0000000000062-plaid-connect-session.ts +0 -102
- package/build/migrations/0000000000063-pgcrypto.ts +0 -27
- package/build/migrations/0000000000064-partner-api-foundation.ts +0 -36
- package/build/migrations/0000000000065-canonical-jsonb-shapes.ts +0 -231
- package/build/migrations/0000000000066-source-delete-fk-indexes.ts +0 -20
- package/build/migrations/0000000000067-remove-opening-trial-balance-account-columns.ts +0 -34
- package/build/migrations/0000000000068-bank-record-account-delete-cascade.ts +0 -26
- package/build/migrations/0000000000069-account-connections.ts +0 -204
- package/build/migrations/0000000000070-provider-payment-projection-indexes.ts +0 -53
- package/build/migrations/0000000000071-tenant-app-settings-shape.ts +0 -39
- package/build/migrations/0000000000072-tenant-app-settings-shape-validation.ts +0 -11
|
@@ -6,15 +6,36 @@ import type { ColumnType } from "kysely";
|
|
|
6
6
|
export type AccountingJournalEntryInactiveReason = "cancelledReservationLine" | "currencyMismatch" | "generalLedgerStartAt" | "inactiveAccount" | "listingInactive" | "nonPostingAccount" | "reservationGeneralLedgerStatusInactive" | "transactionInactive" | "unknownInactiveReason";
|
|
7
7
|
export type AccountingJournalEntryLedger = "historical" | "operating" | "trust";
|
|
8
8
|
export type AccountingTransactionAttachmentStatus = "attached" | "deleting" | "ready" | "uploading";
|
|
9
|
-
export type
|
|
9
|
+
export type ArrayType<T> = ArrayTypeImpl<T> extends (infer U)[] ? U[] : ArrayTypeImpl<T>;
|
|
10
|
+
export type ArrayTypeImpl<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S[], I[], U[]> : T[];
|
|
11
|
+
export type AuditActionActorType = "api_key" | "automation" | "sync" | "system" | "user";
|
|
10
12
|
export type AuditEffectAttemptStatus = "completed" | "failed" | "running" | "skipped_locked";
|
|
11
13
|
export type AuditEffectStatus = "claimed" | "completed" | "dead_letter" | "failed" | "pending" | "running";
|
|
12
14
|
export type AuditJournalDeltaOperation = "delete" | "insert" | "update";
|
|
15
|
+
export type AuditPublicEventAccountingStatus = "blocked" | "changed" | "failed" | "mixed" | "not_applicable" | "pending" | "unchanged";
|
|
16
|
+
export type AuditPublicEventOperation = "archive" | "create" | "delete" | "execute" | "recalculate" | "restore" | "update";
|
|
17
|
+
export type AuditSourceType = "api" | "automation" | "integration" | "portal" | "sync" | "system";
|
|
18
|
+
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
19
|
+
export type HealthAccountingIntegrityActionability = "automatically_repairable" | "blocked" | "code_fix_required" | "manual_repair" | "unknown";
|
|
20
|
+
export type HealthAccountingIntegrityCaseStatus = "open" | "resolved";
|
|
21
|
+
export type HealthAccountingIntegrityConfidence = "probable" | "proven" | "unknown";
|
|
22
|
+
export type HealthAccountingIntegrityDeliveryChannel = "sentry" | "slack";
|
|
23
|
+
export type HealthAccountingIntegrityDeliveryStatus = "dead_letter" | "delivered" | "failed" | "pending" | "processing" | "suppressed";
|
|
24
|
+
export type HealthAccountingIntegrityRepairPlanStatus = "active" | "canceled" | "completed" | "draft" | "failed" | "paused";
|
|
25
|
+
export type HealthAccountingIntegrityRepairScopeType = "case" | "tenant";
|
|
26
|
+
export type HealthAccountingIntegrityRepairStageStatus = "applying" | "approved" | "canceled" | "dry_run_passed" | "failed" | "paused" | "planned" | "verified" | "verifying";
|
|
27
|
+
export type HealthAccountingIntegrityRepairTargetStatus = "applied" | "applying" | "canceled" | "failed" | "paused" | "pending" | "verified" | "verifying";
|
|
28
|
+
export type HealthAccountingIntegrityRepairTransitionType = "approval_granted" | "approval_invalidated" | "canceled" | "completed" | "dry_run_passed" | "failed" | "paused" | "plan_activated" | "plan_created" | "stage_applying" | "stage_verified" | "target_applied" | "target_applying" | "target_verified" | "target_verifying";
|
|
29
|
+
export type HealthAccountingIntegrityResolutionClassification = "code_fix" | "configuration" | "data_repair" | "expected" | "false_positive" | "monitor_fix" | "unknown";
|
|
30
|
+
export type HealthAccountingIntegrityReviewStatus = "confirmed_issue" | "expected" | "false_positive" | "unreviewed";
|
|
31
|
+
export type HealthAccountingIntegrityRunStatus = "completed" | "failed" | "running" | "skipped";
|
|
32
|
+
export type HealthAccountingIntegritySeverity = "critical" | "error" | "info" | "warning";
|
|
33
|
+
export type HealthAccountingIntegrityTransitionType = "changed" | "opened" | "reopened" | "resolved" | "reviewed";
|
|
34
|
+
export type HealthAccountingIntegrityUrgency = "backlog" | "immediate" | "next_triage" | "none";
|
|
13
35
|
export type HealthTenantIssueCategory = "criticalToSystem" | "criticalToUser";
|
|
14
36
|
export type HealthTenantIssueCode = "brokenConnections" | "cancelledReservationPaidWithoutAdjustment" | "closedPeriodUnattachedJournalEntries" | "duplicatedPayments" | "endedOwnershipNonZeroBalance" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "missingOwnershipOrDeactivation" | "operatingBankAccountsWithoutOpex" | "outdatedConnections" | "partnerBillingInactive" | "partnerInactive" | "pmsMissingAccountingStart" | "publishedStatementUnpaid" | "reservationCurrencyMismatch" | "reservationGuestTotalsMismatch" | "reservationPaymentProjectionMismatch" | "teamInactive" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "unpaidReservations";
|
|
15
37
|
export type HealthTenantIssueSeverity = "error" | "warning";
|
|
16
38
|
export type HealthTenantIssueStatus = "open" | "resolved";
|
|
17
|
-
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
18
39
|
export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
|
|
19
40
|
export type Json = JsonValue;
|
|
20
41
|
export type JsonArray = JsonValue[];
|
|
@@ -28,6 +49,7 @@ export type PublicFlowType = "pull" | "push";
|
|
|
28
49
|
export type PublicPlaidConnectMode = "create" | "replace" | "update";
|
|
29
50
|
export type PublicPlaidConnectStatus = "awaitingConfiguration" | "completed" | "configuring" | "credentialsStored" | "discoveringAccounts" | "exchangeOutcomeUnknown" | "exchanging" | "expired" | "failed" | "pendingLink";
|
|
30
51
|
export type PublicRecurringFeeConditionOperator = "<" | "<=" | "=" | ">" | ">=";
|
|
52
|
+
export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
|
|
31
53
|
export type WebhookApiVersion = "2026-07-01";
|
|
32
54
|
export type WebhookDeliveryStatus = "canceled" | "delivering" | "failed" | "queued" | "retrying" | "succeeded";
|
|
33
55
|
export type WebhookEventType = "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed" | "webhook.test";
|
|
@@ -35,7 +57,6 @@ export type WebhookResourceType = "connection" | "listing" | "reservation" | "st
|
|
|
35
57
|
export type WebhookSubscriptionEventType = "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed";
|
|
36
58
|
export type WebhookSubscriptionScope = "managedTeams" | "self";
|
|
37
59
|
export type WebhookSubscriptionStatus = "active" | "disabled" | "pending";
|
|
38
|
-
export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
|
|
39
60
|
export interface AccountingAccount {
|
|
40
61
|
bankingCategory: string | null;
|
|
41
62
|
bankingCurrency: string | null;
|
|
@@ -83,23 +104,6 @@ export interface AccountingAccountCategory {
|
|
|
83
104
|
export interface AccountingAccountClassification {
|
|
84
105
|
name: string;
|
|
85
106
|
}
|
|
86
|
-
export interface AccountingAccountReservationLineType {
|
|
87
|
-
accountId: string | null;
|
|
88
|
-
bookingChannel: string | null;
|
|
89
|
-
createdAt: Generated<Timestamp>;
|
|
90
|
-
id: Generated<string>;
|
|
91
|
-
lineType: string;
|
|
92
|
-
revenueRecognition: string | null;
|
|
93
|
-
status: Generated<string | null>;
|
|
94
|
-
tenantId: string;
|
|
95
|
-
updatedAt: Generated<Timestamp>;
|
|
96
|
-
}
|
|
97
|
-
export interface AccountingAccountReservationRevRec {
|
|
98
|
-
name: string;
|
|
99
|
-
}
|
|
100
|
-
export interface AccountingAccountType {
|
|
101
|
-
name: string;
|
|
102
|
-
}
|
|
103
107
|
export interface AccountingAccountConnection {
|
|
104
108
|
accountId: string | null;
|
|
105
109
|
category: Generated<string | null>;
|
|
@@ -123,6 +127,23 @@ export interface AccountingAccountConnection {
|
|
|
123
127
|
uniqueRef: string | null;
|
|
124
128
|
updatedAt: Generated<Timestamp>;
|
|
125
129
|
}
|
|
130
|
+
export interface AccountingAccountReservationLineType {
|
|
131
|
+
accountId: string | null;
|
|
132
|
+
bookingChannel: string | null;
|
|
133
|
+
createdAt: Generated<Timestamp>;
|
|
134
|
+
id: Generated<string>;
|
|
135
|
+
lineType: string;
|
|
136
|
+
revenueRecognition: string | null;
|
|
137
|
+
status: Generated<string | null>;
|
|
138
|
+
tenantId: string;
|
|
139
|
+
updatedAt: Generated<Timestamp>;
|
|
140
|
+
}
|
|
141
|
+
export interface AccountingAccountReservationRevRec {
|
|
142
|
+
name: string;
|
|
143
|
+
}
|
|
144
|
+
export interface AccountingAccountType {
|
|
145
|
+
name: string;
|
|
146
|
+
}
|
|
126
147
|
export interface AccountingBankAccountCategory {
|
|
127
148
|
name: string;
|
|
128
149
|
}
|
|
@@ -130,8 +151,8 @@ export interface AccountingBankAccountType {
|
|
|
130
151
|
name: string;
|
|
131
152
|
}
|
|
132
153
|
export interface AccountingBankRecord {
|
|
133
|
-
accountId: string | null;
|
|
134
154
|
accountConnectionId: string | null;
|
|
155
|
+
accountId: string | null;
|
|
135
156
|
calculatedCentBalance: number | null;
|
|
136
157
|
calculatedCentTotalCorrection: number | null;
|
|
137
158
|
centBalance: number | null;
|
|
@@ -391,6 +412,7 @@ export interface AccountingTransaction {
|
|
|
391
412
|
paidStatus: Generated<string | null>;
|
|
392
413
|
recurringFeeId: string | null;
|
|
393
414
|
recurringPattern: Json | null;
|
|
415
|
+
recreatedFromTransactionId: string | null;
|
|
394
416
|
recurringTemplateId: string | null;
|
|
395
417
|
/**
|
|
396
418
|
* Human-readable system ID (EXP/DEP/PAY/TRF-XXX-XXXX-XXX depending on transaction.type).
|
|
@@ -451,7 +473,10 @@ export interface AccountingTransactionType {
|
|
|
451
473
|
}
|
|
452
474
|
export interface AuditAction {
|
|
453
475
|
actionType: string;
|
|
476
|
+
actorEmail: string | null;
|
|
454
477
|
actorId: string | null;
|
|
478
|
+
actorLabel: string | null;
|
|
479
|
+
actorName: string | null;
|
|
455
480
|
actorType: AuditActionActorType;
|
|
456
481
|
apiVersion: string;
|
|
457
482
|
createdAt: Generated<Timestamp>;
|
|
@@ -459,14 +484,17 @@ export interface AuditAction {
|
|
|
459
484
|
message: string | null;
|
|
460
485
|
parentActionId: string | null;
|
|
461
486
|
payload: Json | null;
|
|
487
|
+
publicEventProjectedAt: Timestamp | null;
|
|
462
488
|
requestId: string | null;
|
|
463
489
|
rootEntityId: string | null;
|
|
464
490
|
rootEntityType: string | null;
|
|
465
491
|
source: string | null;
|
|
492
|
+
sourceType: AuditSourceType | null;
|
|
466
493
|
tenantId: string;
|
|
467
494
|
traceId: string | null;
|
|
468
495
|
}
|
|
469
496
|
export interface AuditEffect {
|
|
497
|
+
accountingRelevant: Generated<boolean>;
|
|
470
498
|
actionId: string;
|
|
471
499
|
claimedAt: Timestamp | null;
|
|
472
500
|
claimedBy: string | null;
|
|
@@ -504,8 +532,16 @@ export interface AuditEffectAttempt {
|
|
|
504
532
|
workerId: string | null;
|
|
505
533
|
}
|
|
506
534
|
export interface AuditJournalDelta {
|
|
535
|
+
accountCategoryIdAfter: string | null;
|
|
536
|
+
accountCategoryIdBefore: string | null;
|
|
537
|
+
accountCategoryNameAfter: string | null;
|
|
538
|
+
accountCategoryNameBefore: string | null;
|
|
539
|
+
accountClassificationAfter: string | null;
|
|
540
|
+
accountClassificationBefore: string | null;
|
|
507
541
|
accountIdAfter: string | null;
|
|
508
542
|
accountIdBefore: string | null;
|
|
543
|
+
accountNameAfter: string | null;
|
|
544
|
+
accountNameBefore: string | null;
|
|
509
545
|
actionId: string;
|
|
510
546
|
apiVersion: string;
|
|
511
547
|
attachedToOwnerStatementIdAfter: string | null;
|
|
@@ -514,10 +550,14 @@ export interface AuditJournalDelta {
|
|
|
514
550
|
centTotalBefore: Int8 | null;
|
|
515
551
|
changedAt: Generated<Timestamp>;
|
|
516
552
|
changedFields: Generated<string[]>;
|
|
553
|
+
currencyAfter: string | null;
|
|
554
|
+
currencyBefore: string | null;
|
|
517
555
|
diffJson: Json | null;
|
|
518
556
|
effectId: string | null;
|
|
519
557
|
id: Generated<string>;
|
|
520
558
|
journalEntryId: string;
|
|
559
|
+
ledgerAfter: string | null;
|
|
560
|
+
ledgerBefore: string | null;
|
|
521
561
|
listingOwnershipPeriodIdAfter: string | null;
|
|
522
562
|
listingOwnershipPeriodIdBefore: string | null;
|
|
523
563
|
mutationId: string | null;
|
|
@@ -533,18 +573,76 @@ export interface AuditJournalDelta {
|
|
|
533
573
|
txnAtBefore: Timestamp | null;
|
|
534
574
|
}
|
|
535
575
|
export interface AuditMutation {
|
|
576
|
+
accountingRelevant: Generated<boolean>;
|
|
536
577
|
actionId: string;
|
|
578
|
+
captureOrder: Generated<Int8 | null>;
|
|
537
579
|
changeRecord: Json;
|
|
538
580
|
createdAt: Generated<Timestamp>;
|
|
539
581
|
effectId: string | null;
|
|
540
582
|
id: Generated<string>;
|
|
541
583
|
op: string;
|
|
584
|
+
publicChanges: Generated<Json>;
|
|
542
585
|
rootEntityId: string | null;
|
|
543
586
|
rootEntityType: string | null;
|
|
544
587
|
subjectId: string;
|
|
545
588
|
subjectType: string;
|
|
546
589
|
tenantId: string;
|
|
547
590
|
}
|
|
591
|
+
export interface AuditPublicEvent {
|
|
592
|
+
accountingStatus: AuditPublicEventAccountingStatus;
|
|
593
|
+
actionCode: string;
|
|
594
|
+
actionId: string;
|
|
595
|
+
actionSummary: string;
|
|
596
|
+
actorEmail: string | null;
|
|
597
|
+
actorId: string | null;
|
|
598
|
+
actorLabel: string | null;
|
|
599
|
+
actorName: string | null;
|
|
600
|
+
actorType: AuditActionActorType;
|
|
601
|
+
affectedAccountIds: Generated<string[]>;
|
|
602
|
+
changedEntityTypes: Generated<string[]>;
|
|
603
|
+
changedPaths: Generated<string[]>;
|
|
604
|
+
entityChanges: Generated<Json>;
|
|
605
|
+
entityName: string | null;
|
|
606
|
+
entityUniqueRef: string | null;
|
|
607
|
+
hasChanges: Generated<boolean>;
|
|
608
|
+
id: Generated<string>;
|
|
609
|
+
netEffect: Generated<Json>;
|
|
610
|
+
occurredAt: Timestamp;
|
|
611
|
+
operation: AuditPublicEventOperation;
|
|
612
|
+
projectedAt: Generated<Timestamp>;
|
|
613
|
+
projectionFingerprint: string;
|
|
614
|
+
projectionVersion: Generated<number>;
|
|
615
|
+
requestId: string | null;
|
|
616
|
+
revision: Generated<number>;
|
|
617
|
+
rootEntityId: string;
|
|
618
|
+
rootEntityType: string;
|
|
619
|
+
sourceType: AuditSourceType;
|
|
620
|
+
teamName: string;
|
|
621
|
+
teamUniqueRef: string | null;
|
|
622
|
+
tenantId: string;
|
|
623
|
+
updatedAt: Generated<Timestamp>;
|
|
624
|
+
}
|
|
625
|
+
export interface AuditPublicEventEntryChange {
|
|
626
|
+
accountIdAfter: string | null;
|
|
627
|
+
accountIdBefore: string | null;
|
|
628
|
+
afterSnapshot: Json | null;
|
|
629
|
+
beforeSnapshot: Json | null;
|
|
630
|
+
causedBy: Json | null;
|
|
631
|
+
changedAt: Timestamp;
|
|
632
|
+
changedFields: Generated<string[]>;
|
|
633
|
+
eventId: string;
|
|
634
|
+
eventRevision: number;
|
|
635
|
+
id: string;
|
|
636
|
+
journalEntryId: string;
|
|
637
|
+
operation: AuditJournalDeltaOperation;
|
|
638
|
+
tenantId: string;
|
|
639
|
+
}
|
|
640
|
+
export interface AuditPublicEventProjectionState {
|
|
641
|
+
cutoverAt: Generated<Timestamp>;
|
|
642
|
+
lastRecoveredAt: Timestamp | null;
|
|
643
|
+
retainedFrom: Timestamp | null;
|
|
644
|
+
singleton: Generated<boolean>;
|
|
645
|
+
}
|
|
548
646
|
export interface CoreActiveStatus {
|
|
549
647
|
name: string;
|
|
550
648
|
}
|
|
@@ -795,6 +893,246 @@ export interface HdbCatalogHdbVersion {
|
|
|
795
893
|
upgradedOn: Timestamp;
|
|
796
894
|
version: string;
|
|
797
895
|
}
|
|
896
|
+
export interface HealthAccountingIntegrityCase {
|
|
897
|
+
actionability: HealthAccountingIntegrityActionability;
|
|
898
|
+
actual: Json;
|
|
899
|
+
assignedAt: Timestamp | null;
|
|
900
|
+
assignedTo: string | null;
|
|
901
|
+
caseKey: string;
|
|
902
|
+
code: string;
|
|
903
|
+
confidence: HealthAccountingIntegrityConfidence;
|
|
904
|
+
contentHash: string;
|
|
905
|
+
createdAt: Generated<Timestamp>;
|
|
906
|
+
dataRegion: string;
|
|
907
|
+
definitionVersion: number;
|
|
908
|
+
evidence: Json;
|
|
909
|
+
evidenceComplete: boolean;
|
|
910
|
+
expected: Json;
|
|
911
|
+
firstSeenAt: Timestamp;
|
|
912
|
+
gitRevision: string;
|
|
913
|
+
historicalIssueRefs: Json;
|
|
914
|
+
id: Generated<string>;
|
|
915
|
+
impact: Json;
|
|
916
|
+
lastChangedAt: Timestamp;
|
|
917
|
+
lastSeenAt: Timestamp;
|
|
918
|
+
lockAssessment: Json;
|
|
919
|
+
portalUrls: Json;
|
|
920
|
+
repair: Json;
|
|
921
|
+
resolutionClassification: HealthAccountingIntegrityResolutionClassification;
|
|
922
|
+
resolvedAt: Timestamp | null;
|
|
923
|
+
reviewStatus: Generated<HealthAccountingIntegrityReviewStatus>;
|
|
924
|
+
reviewRationale: string | null;
|
|
925
|
+
reviewedAt: Timestamp | null;
|
|
926
|
+
reviewedBy: string | null;
|
|
927
|
+
rootCause: string;
|
|
928
|
+
runId: string;
|
|
929
|
+
severity: HealthAccountingIntegritySeverity;
|
|
930
|
+
status: HealthAccountingIntegrityCaseStatus;
|
|
931
|
+
tenantId: string;
|
|
932
|
+
title: string;
|
|
933
|
+
updatedAt: Generated<Timestamp>;
|
|
934
|
+
urgency: HealthAccountingIntegrityUrgency;
|
|
935
|
+
verification: Json;
|
|
936
|
+
version: Generated<Int8>;
|
|
937
|
+
}
|
|
938
|
+
export interface HealthAccountingIntegrityOperatorEvent {
|
|
939
|
+
actorId: string;
|
|
940
|
+
caseId: string | null;
|
|
941
|
+
caseVersion: Int8 | null;
|
|
942
|
+
client: string;
|
|
943
|
+
createdAt: Generated<Timestamp>;
|
|
944
|
+
id: Generated<string>;
|
|
945
|
+
idempotencyKey: string;
|
|
946
|
+
payload: Json;
|
|
947
|
+
planId: string | null;
|
|
948
|
+
rationale: string | null;
|
|
949
|
+
requestId: string;
|
|
950
|
+
stageId: string | null;
|
|
951
|
+
targetId: string | null;
|
|
952
|
+
type: string;
|
|
953
|
+
}
|
|
954
|
+
export interface HealthAccountingIntegrityDelivery {
|
|
955
|
+
attempts: Generated<number>;
|
|
956
|
+
caseId: string | null;
|
|
957
|
+
channel: HealthAccountingIntegrityDeliveryChannel;
|
|
958
|
+
claimedAt: Timestamp | null;
|
|
959
|
+
claimId: string | null;
|
|
960
|
+
createdAt: Generated<Timestamp>;
|
|
961
|
+
dedupeKey: string;
|
|
962
|
+
deliveredAt: Timestamp | null;
|
|
963
|
+
eventType: string;
|
|
964
|
+
id: Generated<string>;
|
|
965
|
+
lastError: Json | null;
|
|
966
|
+
nextAttemptAt: Generated<Timestamp>;
|
|
967
|
+
payload: Json;
|
|
968
|
+
result: Json | null;
|
|
969
|
+
runId: string;
|
|
970
|
+
status: Generated<HealthAccountingIntegrityDeliveryStatus>;
|
|
971
|
+
updatedAt: Generated<Timestamp>;
|
|
972
|
+
}
|
|
973
|
+
export interface HealthAccountingIntegrityRepairPlan {
|
|
974
|
+
canceledAt: Timestamp | null;
|
|
975
|
+
code: string;
|
|
976
|
+
completedAt: Timestamp | null;
|
|
977
|
+
createdAt: Generated<Timestamp>;
|
|
978
|
+
createdBy: string;
|
|
979
|
+
dataRegion: string;
|
|
980
|
+
environment: string;
|
|
981
|
+
gitRevision: string;
|
|
982
|
+
id: Generated<string>;
|
|
983
|
+
linearRef: string | null;
|
|
984
|
+
recipeVersion: number;
|
|
985
|
+
status: Generated<HealthAccountingIntegrityRepairPlanStatus>;
|
|
986
|
+
title: string;
|
|
987
|
+
updatedAt: Generated<Timestamp>;
|
|
988
|
+
}
|
|
989
|
+
export interface HealthAccountingIntegrityRepairStage {
|
|
990
|
+
applyResult: Json | null;
|
|
991
|
+
approvalRef: string | null;
|
|
992
|
+
approvedAt: Timestamp | null;
|
|
993
|
+
approvedBy: string | null;
|
|
994
|
+
completedAt: Timestamp | null;
|
|
995
|
+
createdAt: Generated<Timestamp>;
|
|
996
|
+
dryRunResult: Json | null;
|
|
997
|
+
id: Generated<string>;
|
|
998
|
+
limits: Json;
|
|
999
|
+
manifest: Json;
|
|
1000
|
+
manifestHash: string;
|
|
1001
|
+
ordinal: number;
|
|
1002
|
+
planId: string;
|
|
1003
|
+
scopeType: HealthAccountingIntegrityRepairScopeType;
|
|
1004
|
+
startedAt: Timestamp | null;
|
|
1005
|
+
status: Generated<HealthAccountingIntegrityRepairStageStatus>;
|
|
1006
|
+
tenantId: string;
|
|
1007
|
+
updatedAt: Generated<Timestamp>;
|
|
1008
|
+
verificationResult: Json | null;
|
|
1009
|
+
}
|
|
1010
|
+
export interface HealthAccountingIntegrityRepairTarget {
|
|
1011
|
+
action: Json;
|
|
1012
|
+
applyResult: Json | null;
|
|
1013
|
+
auditActionId: string | null;
|
|
1014
|
+
beforeHash: string;
|
|
1015
|
+
beforeState: Json;
|
|
1016
|
+
caseContentHash: string;
|
|
1017
|
+
caseId: string;
|
|
1018
|
+
caseVersion: Int8;
|
|
1019
|
+
completedAt: Timestamp | null;
|
|
1020
|
+
createdAt: Generated<Timestamp>;
|
|
1021
|
+
effectPlan: Json;
|
|
1022
|
+
expectedResult: Json;
|
|
1023
|
+
id: Generated<string>;
|
|
1024
|
+
idempotencyKey: string;
|
|
1025
|
+
lockAssessment: Json;
|
|
1026
|
+
ordinal: number;
|
|
1027
|
+
stageId: string;
|
|
1028
|
+
startedAt: Timestamp | null;
|
|
1029
|
+
status: Generated<HealthAccountingIntegrityRepairTargetStatus>;
|
|
1030
|
+
targetKey: string;
|
|
1031
|
+
tenantId: string;
|
|
1032
|
+
updatedAt: Generated<Timestamp>;
|
|
1033
|
+
verificationResult: Json | null;
|
|
1034
|
+
}
|
|
1035
|
+
export interface HealthAccountingIntegrityRepairTransition {
|
|
1036
|
+
actor: string;
|
|
1037
|
+
createdAt: Generated<Timestamp>;
|
|
1038
|
+
id: Generated<string>;
|
|
1039
|
+
payload: Json;
|
|
1040
|
+
planId: string;
|
|
1041
|
+
stageId: string | null;
|
|
1042
|
+
targetId: string | null;
|
|
1043
|
+
type: HealthAccountingIntegrityRepairTransitionType;
|
|
1044
|
+
}
|
|
1045
|
+
export interface HealthAccountingIntegrityRun {
|
|
1046
|
+
caseCount: Generated<Int8>;
|
|
1047
|
+
changedCaseCount: Generated<Int8>;
|
|
1048
|
+
code: string;
|
|
1049
|
+
completedAt: Timestamp | null;
|
|
1050
|
+
createdAt: Generated<Timestamp>;
|
|
1051
|
+
dataRegion: string;
|
|
1052
|
+
definitionVersion: number;
|
|
1053
|
+
definitionVersionId: string | null;
|
|
1054
|
+
definitionArtifactHash: string | null;
|
|
1055
|
+
definitionTemplateId: string | null;
|
|
1056
|
+
definitionTemplateVersion: number | null;
|
|
1057
|
+
environment: string;
|
|
1058
|
+
error: Json | null;
|
|
1059
|
+
evaluationId: string;
|
|
1060
|
+
findingRowCount: Generated<Int8>;
|
|
1061
|
+
gitRevision: string;
|
|
1062
|
+
id: Generated<string>;
|
|
1063
|
+
openedCaseCount: Generated<Int8>;
|
|
1064
|
+
operatorDefinitionVersion: number | null;
|
|
1065
|
+
reopenedCaseCount: Generated<Int8>;
|
|
1066
|
+
resolvedCaseCount: Generated<Int8>;
|
|
1067
|
+
resolvesCases: Generated<boolean>;
|
|
1068
|
+
rowsScanned: Generated<Int8>;
|
|
1069
|
+
scopeTenantIds: string[] | null;
|
|
1070
|
+
shardKey: Generated<string>;
|
|
1071
|
+
startedAt: Timestamp;
|
|
1072
|
+
status: HealthAccountingIntegrityRunStatus;
|
|
1073
|
+
unchangedCaseCount: Generated<Int8>;
|
|
1074
|
+
updatedAt: Generated<Timestamp>;
|
|
1075
|
+
}
|
|
1076
|
+
export interface HealthAccountingIntegrityTransition {
|
|
1077
|
+
caseId: string;
|
|
1078
|
+
caseVersion: Int8;
|
|
1079
|
+
createdAt: Generated<Timestamp>;
|
|
1080
|
+
id: Generated<string>;
|
|
1081
|
+
payload: Json;
|
|
1082
|
+
runId: string;
|
|
1083
|
+
type: HealthAccountingIntegrityTransitionType;
|
|
1084
|
+
}
|
|
1085
|
+
export interface HealthReservationIssueSnapshot {
|
|
1086
|
+
computedAt: Timestamp | null;
|
|
1087
|
+
computedVersion: Generated<Int8>;
|
|
1088
|
+
createdAt: Generated<Timestamp>;
|
|
1089
|
+
dirtyAt: Generated<Timestamp>;
|
|
1090
|
+
dirtyVersion: Generated<Int8>;
|
|
1091
|
+
issues: Generated<Json>;
|
|
1092
|
+
reservationId: string;
|
|
1093
|
+
tenantId: string;
|
|
1094
|
+
updatedAt: Generated<Timestamp>;
|
|
1095
|
+
version: Generated<Int8>;
|
|
1096
|
+
}
|
|
1097
|
+
export interface HealthTenantIssue {
|
|
1098
|
+
affected: number;
|
|
1099
|
+
category: HealthTenantIssueCategory;
|
|
1100
|
+
code: HealthTenantIssueCode;
|
|
1101
|
+
contentHash: string;
|
|
1102
|
+
context: Json;
|
|
1103
|
+
createdAt: Generated<Timestamp>;
|
|
1104
|
+
firstSeenAt: Timestamp;
|
|
1105
|
+
id: Generated<string>;
|
|
1106
|
+
lastChangedAt: Timestamp;
|
|
1107
|
+
message: string;
|
|
1108
|
+
openedAt: Timestamp;
|
|
1109
|
+
resolvedAt: Timestamp | null;
|
|
1110
|
+
severity: HealthTenantIssueSeverity;
|
|
1111
|
+
snapshotVersion: Int8;
|
|
1112
|
+
status: HealthTenantIssueStatus;
|
|
1113
|
+
tenantId: string;
|
|
1114
|
+
updatedAt: Generated<Timestamp>;
|
|
1115
|
+
version: Int8;
|
|
1116
|
+
}
|
|
1117
|
+
export interface HealthTenantIssueRuleState {
|
|
1118
|
+
code: HealthTenantIssueCode;
|
|
1119
|
+
computedAt: Timestamp | null;
|
|
1120
|
+
computedVersion: Generated<Int8>;
|
|
1121
|
+
createdAt: Generated<Timestamp>;
|
|
1122
|
+
dirtyAt: Timestamp;
|
|
1123
|
+
dirtyVersion: Generated<Int8>;
|
|
1124
|
+
tenantId: string;
|
|
1125
|
+
updatedAt: Generated<Timestamp>;
|
|
1126
|
+
}
|
|
1127
|
+
export interface HealthTenantIssueSnapshot {
|
|
1128
|
+
computedAt: Timestamp | null;
|
|
1129
|
+
contentHash: string | null;
|
|
1130
|
+
createdAt: Generated<Timestamp>;
|
|
1131
|
+
dirtyAt: Generated<Timestamp>;
|
|
1132
|
+
tenantId: string;
|
|
1133
|
+
updatedAt: Generated<Timestamp>;
|
|
1134
|
+
version: Generated<Int8>;
|
|
1135
|
+
}
|
|
798
1136
|
export interface PublicAccountCollection {
|
|
799
1137
|
automationId: string | null;
|
|
800
1138
|
connectionId: string;
|
|
@@ -989,24 +1327,6 @@ export interface PublicControlPlaneProjectionEvent {
|
|
|
989
1327
|
eventVersion: number;
|
|
990
1328
|
payload: Generated<Json>;
|
|
991
1329
|
}
|
|
992
|
-
export interface PublicPlaidConnectSession {
|
|
993
|
-
connectionId: string | null;
|
|
994
|
-
createdAt: Generated<Timestamp>;
|
|
995
|
-
environment: string;
|
|
996
|
-
errorCode: string | null;
|
|
997
|
-
errorRetryable: boolean | null;
|
|
998
|
-
expiresAt: Timestamp;
|
|
999
|
-
id: Generated<string>;
|
|
1000
|
-
itemId: string | null;
|
|
1001
|
-
leaseExpiresAt: Timestamp | null;
|
|
1002
|
-
linkSessionId: string | null;
|
|
1003
|
-
mode: PublicPlaidConnectMode;
|
|
1004
|
-
result: Json | null;
|
|
1005
|
-
status: Generated<PublicPlaidConnectStatus>;
|
|
1006
|
-
syncId: string | null;
|
|
1007
|
-
tenantId: string;
|
|
1008
|
-
updatedAt: Generated<Timestamp>;
|
|
1009
|
-
}
|
|
1010
1330
|
export interface PublicCurrency {
|
|
1011
1331
|
name: string;
|
|
1012
1332
|
}
|
|
@@ -1106,6 +1426,36 @@ export interface PublicLatestDuplicateEmails {
|
|
|
1106
1426
|
name: string | null;
|
|
1107
1427
|
status: string | null;
|
|
1108
1428
|
}
|
|
1429
|
+
export interface PublicLineClassificationUsageCapture {
|
|
1430
|
+
createdAt: Generated<Timestamp>;
|
|
1431
|
+
firstSeenAt: Timestamp | null;
|
|
1432
|
+
id: Generated<string>;
|
|
1433
|
+
kind: string;
|
|
1434
|
+
lastSeenAt: Timestamp | null;
|
|
1435
|
+
name: string;
|
|
1436
|
+
tenantId: string;
|
|
1437
|
+
}
|
|
1438
|
+
export interface PublicLineClassificationUsage {
|
|
1439
|
+
appId: string | null;
|
|
1440
|
+
createdAt: Generated<Timestamp>;
|
|
1441
|
+
firstSeenAt: Generated<Timestamp>;
|
|
1442
|
+
kind: string;
|
|
1443
|
+
lastError: string | null;
|
|
1444
|
+
lastSeenAt: Generated<Timestamp>;
|
|
1445
|
+
mappingStatus: string | null;
|
|
1446
|
+
name: string;
|
|
1447
|
+
reportAttempts: Generated<number>;
|
|
1448
|
+
reportedRevision: Generated<number>;
|
|
1449
|
+
revision: Generated<number>;
|
|
1450
|
+
tenantId: string;
|
|
1451
|
+
updatedAt: Generated<Timestamp>;
|
|
1452
|
+
}
|
|
1453
|
+
export interface PublicLineClassificationUsageBackfill {
|
|
1454
|
+
completedAt: Timestamp | null;
|
|
1455
|
+
cursorId: string | null;
|
|
1456
|
+
source: string;
|
|
1457
|
+
updatedAt: Generated<Timestamp>;
|
|
1458
|
+
}
|
|
1109
1459
|
export interface PublicListing {
|
|
1110
1460
|
address: string | null;
|
|
1111
1461
|
addressCity: string | null;
|
|
@@ -1419,6 +1769,24 @@ export interface PublicPaymentStatus {
|
|
|
1419
1769
|
export interface PublicPaymentType {
|
|
1420
1770
|
name: string;
|
|
1421
1771
|
}
|
|
1772
|
+
export interface PublicPlaidConnectSession {
|
|
1773
|
+
connectionId: string | null;
|
|
1774
|
+
createdAt: Generated<Timestamp>;
|
|
1775
|
+
environment: string;
|
|
1776
|
+
errorCode: string | null;
|
|
1777
|
+
errorRetryable: boolean | null;
|
|
1778
|
+
expiresAt: Timestamp;
|
|
1779
|
+
id: Generated<string>;
|
|
1780
|
+
itemId: string | null;
|
|
1781
|
+
leaseExpiresAt: Timestamp | null;
|
|
1782
|
+
linkSessionId: string | null;
|
|
1783
|
+
mode: PublicPlaidConnectMode;
|
|
1784
|
+
result: Json | null;
|
|
1785
|
+
status: Generated<PublicPlaidConnectStatus>;
|
|
1786
|
+
syncId: string | null;
|
|
1787
|
+
tenantId: string;
|
|
1788
|
+
updatedAt: Generated<Timestamp>;
|
|
1789
|
+
}
|
|
1422
1790
|
export interface PublicRecurringFee {
|
|
1423
1791
|
bookingChannelsFilter: string[] | null;
|
|
1424
1792
|
createdAt: Generated<Timestamp>;
|
|
@@ -1674,6 +2042,9 @@ export interface PublicTenant {
|
|
|
1674
2042
|
addressCountry: string | null;
|
|
1675
2043
|
addressLine1: string | null;
|
|
1676
2044
|
addressPostcode: string | null;
|
|
2045
|
+
/**
|
|
2046
|
+
* JSON column for app-owned tenant settings exposed through APIs.
|
|
2047
|
+
*/
|
|
1677
2048
|
appSettings: Json | null;
|
|
1678
2049
|
billingAddressData: Json | null;
|
|
1679
2050
|
billingAddressId: string | null;
|
|
@@ -1702,6 +2073,9 @@ export interface PublicTenant {
|
|
|
1702
2073
|
defaultRevenueRecognition: string | null;
|
|
1703
2074
|
email: string | null;
|
|
1704
2075
|
featureFlags: Generated<Json | null>;
|
|
2076
|
+
/**
|
|
2077
|
+
* JSON column for explicit VRPilot onboarding guide state.
|
|
2078
|
+
*/
|
|
1705
2079
|
guideOnboarding: Json | null;
|
|
1706
2080
|
historicalStatementsImportedAt: Timestamp | null;
|
|
1707
2081
|
id: Generated<string>;
|
|
@@ -1712,9 +2086,13 @@ export interface PublicTenant {
|
|
|
1712
2086
|
isTest: Generated<boolean | null>;
|
|
1713
2087
|
logo: string | null;
|
|
1714
2088
|
longTermStayNights: number | null;
|
|
2089
|
+
migratedAt: Timestamp | null;
|
|
1715
2090
|
migratedFromTenantId: string | null;
|
|
2091
|
+
migratedToRegion: string | null;
|
|
2092
|
+
migrationStatus: Generated<string>;
|
|
1716
2093
|
name: string;
|
|
1717
2094
|
ownerPortalShowDraftStatements: boolean | null;
|
|
2095
|
+
partnerDeniedPermissions: Generated<string[]>;
|
|
1718
2096
|
partnerId: Generated<string | null>;
|
|
1719
2097
|
/**
|
|
1720
2098
|
* JSON column to hold team settings like "owner_portal_show_reservation_totals" or "owner_portal_show_draft_statements
|
|
@@ -1733,7 +2111,6 @@ export interface PublicTenant {
|
|
|
1733
2111
|
supportEmail: string | null;
|
|
1734
2112
|
supportPhone: string | null;
|
|
1735
2113
|
svixEndpoints: boolean | null;
|
|
1736
|
-
trialUntil: Timestamp | null;
|
|
1737
2114
|
type: Generated<string | null>;
|
|
1738
2115
|
uniqueRef: string | null;
|
|
1739
2116
|
updatedAt: Generated<Timestamp | null>;
|
|
@@ -1743,7 +2120,9 @@ export interface PublicTenantUser {
|
|
|
1743
2120
|
createdAt: Generated<Timestamp | null>;
|
|
1744
2121
|
id: Generated<string>;
|
|
1745
2122
|
lastInvitedAt: Timestamp | null;
|
|
2123
|
+
managedTeamAccess: Generated<"all" | "assigned">;
|
|
1746
2124
|
notificationPreferences: Generated<Json | null>;
|
|
2125
|
+
permissionBundles: Generated<string[]>;
|
|
1747
2126
|
role: Generated<string | null>;
|
|
1748
2127
|
status: Generated<string | null>;
|
|
1749
2128
|
tenantId: string;
|
|
@@ -1851,34 +2230,72 @@ export interface PublicWebhook {
|
|
|
1851
2230
|
types2: string[] | null;
|
|
1852
2231
|
url: string;
|
|
1853
2232
|
}
|
|
1854
|
-
export interface
|
|
1855
|
-
affected: number;
|
|
1856
|
-
category: HealthTenantIssueCategory;
|
|
1857
|
-
code: HealthTenantIssueCode;
|
|
1858
|
-
contentHash: string;
|
|
1859
|
-
context: Json;
|
|
2233
|
+
export interface TrackingEvent {
|
|
1860
2234
|
createdAt: Generated<Timestamp>;
|
|
1861
|
-
firstSeenAt: Timestamp;
|
|
1862
2235
|
id: Generated<string>;
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
2236
|
+
name: string;
|
|
2237
|
+
packageName: string;
|
|
2238
|
+
props: Json;
|
|
2239
|
+
tenantId: string | null;
|
|
2240
|
+
timestamp: Generated<Timestamp | null>;
|
|
2241
|
+
trackedAt: Generated<Timestamp | null>;
|
|
2242
|
+
userId: string | null;
|
|
2243
|
+
}
|
|
2244
|
+
export interface TrackingIntercomConversation {
|
|
2245
|
+
answer: string;
|
|
2246
|
+
conversationId: Int8;
|
|
2247
|
+
createdAt: Generated<Timestamp>;
|
|
2248
|
+
id: Generated<string>;
|
|
2249
|
+
isRelevant: boolean;
|
|
2250
|
+
outcome: string;
|
|
2251
|
+
question: string;
|
|
2252
|
+
summary: string;
|
|
2253
|
+
tags: string;
|
|
2254
|
+
}
|
|
2255
|
+
export interface TrackingIntercomConversationUser {
|
|
2256
|
+
conversationId: string;
|
|
2257
|
+
createdAt: Generated<Timestamp>;
|
|
2258
|
+
id: Generated<string>;
|
|
2259
|
+
userId: string;
|
|
2260
|
+
}
|
|
2261
|
+
export interface TrackingIntercomReport {
|
|
2262
|
+
action: string;
|
|
2263
|
+
category: string;
|
|
2264
|
+
createdAt: Generated<Timestamp>;
|
|
2265
|
+
id: Generated<string>;
|
|
2266
|
+
summary: string;
|
|
2267
|
+
tags: string;
|
|
2268
|
+
}
|
|
2269
|
+
export interface TrackingIntercomReportConversation {
|
|
2270
|
+
conversationId: string;
|
|
2271
|
+
id: Generated<string>;
|
|
2272
|
+
reportId: string;
|
|
2273
|
+
}
|
|
2274
|
+
export interface TrackingMetricCache {
|
|
2275
|
+
connectionId: Generated<string>;
|
|
2276
|
+
date: Timestamp;
|
|
2277
|
+
name: Generated<string>;
|
|
2278
|
+
refreshedAt: Generated<Timestamp>;
|
|
2279
|
+
status: Generated<string>;
|
|
1870
2280
|
tenantId: string;
|
|
1871
|
-
|
|
1872
|
-
|
|
2281
|
+
total: Numeric;
|
|
2282
|
+
type: string;
|
|
1873
2283
|
}
|
|
1874
|
-
export interface
|
|
1875
|
-
|
|
1876
|
-
|
|
2284
|
+
export interface TrackingMonitorConnection {
|
|
2285
|
+
appId: string;
|
|
2286
|
+
connectionId: string;
|
|
1877
2287
|
createdAt: Generated<Timestamp>;
|
|
1878
|
-
|
|
2288
|
+
id: Generated<string>;
|
|
2289
|
+
message: string | null;
|
|
2290
|
+
status: string | null;
|
|
2291
|
+
syncedAt: Timestamp | null;
|
|
1879
2292
|
tenantId: string;
|
|
1880
|
-
|
|
1881
|
-
|
|
2293
|
+
triggerRef: string | null;
|
|
2294
|
+
updatedAt: Timestamp | null;
|
|
2295
|
+
version: number | null;
|
|
2296
|
+
}
|
|
2297
|
+
export interface TrackingMonitorConnectionState {
|
|
2298
|
+
name: string;
|
|
1882
2299
|
}
|
|
1883
2300
|
export interface WebhookDelivery {
|
|
1884
2301
|
apiVersion: WebhookApiVersion;
|
|
@@ -1931,7 +2348,7 @@ export interface WebhookSubscription {
|
|
|
1931
2348
|
createdAt: Generated<Timestamp>;
|
|
1932
2349
|
description: string | null;
|
|
1933
2350
|
disabledAt: Timestamp | null;
|
|
1934
|
-
eventTypes: WebhookSubscriptionEventType
|
|
2351
|
+
eventTypes: ArrayType<WebhookSubscriptionEventType>;
|
|
1935
2352
|
id: Generated<string>;
|
|
1936
2353
|
ownerTenantId: string;
|
|
1937
2354
|
revision: Generated<Int8>;
|
|
@@ -1951,73 +2368,6 @@ export interface WebhookSubscriptionSecret {
|
|
|
1951
2368
|
revokedAt: Timestamp | null;
|
|
1952
2369
|
subscriptionId: string;
|
|
1953
2370
|
}
|
|
1954
|
-
export interface TrackingEvent {
|
|
1955
|
-
createdAt: Generated<Timestamp>;
|
|
1956
|
-
id: Generated<string>;
|
|
1957
|
-
name: string;
|
|
1958
|
-
packageName: string;
|
|
1959
|
-
props: Json;
|
|
1960
|
-
tenantId: string | null;
|
|
1961
|
-
timestamp: Generated<Timestamp | null>;
|
|
1962
|
-
trackedAt: Generated<Timestamp | null>;
|
|
1963
|
-
userId: string | null;
|
|
1964
|
-
}
|
|
1965
|
-
export interface TrackingIntercomConversation {
|
|
1966
|
-
answer: string;
|
|
1967
|
-
conversationId: Int8;
|
|
1968
|
-
createdAt: Generated<Timestamp>;
|
|
1969
|
-
id: Generated<string>;
|
|
1970
|
-
isRelevant: boolean;
|
|
1971
|
-
outcome: string;
|
|
1972
|
-
question: string;
|
|
1973
|
-
summary: string;
|
|
1974
|
-
tags: string;
|
|
1975
|
-
}
|
|
1976
|
-
export interface TrackingIntercomConversationUser {
|
|
1977
|
-
conversationId: string;
|
|
1978
|
-
createdAt: Generated<Timestamp>;
|
|
1979
|
-
id: Generated<string>;
|
|
1980
|
-
userId: string;
|
|
1981
|
-
}
|
|
1982
|
-
export interface TrackingIntercomReport {
|
|
1983
|
-
action: string;
|
|
1984
|
-
category: string;
|
|
1985
|
-
createdAt: Generated<Timestamp>;
|
|
1986
|
-
id: Generated<string>;
|
|
1987
|
-
summary: string;
|
|
1988
|
-
tags: string;
|
|
1989
|
-
}
|
|
1990
|
-
export interface TrackingIntercomReportConversation {
|
|
1991
|
-
conversationId: string;
|
|
1992
|
-
id: Generated<string>;
|
|
1993
|
-
reportId: string;
|
|
1994
|
-
}
|
|
1995
|
-
export interface TrackingMetricCache {
|
|
1996
|
-
connectionId: Generated<string>;
|
|
1997
|
-
date: Timestamp;
|
|
1998
|
-
name: Generated<string>;
|
|
1999
|
-
refreshedAt: Generated<Timestamp>;
|
|
2000
|
-
status: Generated<string>;
|
|
2001
|
-
tenantId: string;
|
|
2002
|
-
total: Numeric;
|
|
2003
|
-
type: string;
|
|
2004
|
-
}
|
|
2005
|
-
export interface TrackingMonitorConnection {
|
|
2006
|
-
appId: string;
|
|
2007
|
-
connectionId: string;
|
|
2008
|
-
createdAt: Generated<Timestamp>;
|
|
2009
|
-
id: Generated<string>;
|
|
2010
|
-
message: string | null;
|
|
2011
|
-
status: string | null;
|
|
2012
|
-
syncedAt: Timestamp | null;
|
|
2013
|
-
tenantId: string;
|
|
2014
|
-
triggerRef: string | null;
|
|
2015
|
-
updatedAt: Timestamp | null;
|
|
2016
|
-
version: number | null;
|
|
2017
|
-
}
|
|
2018
|
-
export interface TrackingMonitorConnectionState {
|
|
2019
|
-
name: string;
|
|
2020
|
-
}
|
|
2021
2371
|
export interface DB {
|
|
2022
2372
|
"accounting.account": AccountingAccount;
|
|
2023
2373
|
"accounting.accountAssignment": AccountingAccountAssignment;
|
|
@@ -2025,10 +2375,10 @@ export interface DB {
|
|
|
2025
2375
|
"accounting.accountAssignmentType": AccountingAccountAssignmentType;
|
|
2026
2376
|
"accounting.accountCategory": AccountingAccountCategory;
|
|
2027
2377
|
"accounting.accountClassification": AccountingAccountClassification;
|
|
2378
|
+
"accounting.accountConnection": AccountingAccountConnection;
|
|
2028
2379
|
"accounting.accountReservationLineType": AccountingAccountReservationLineType;
|
|
2029
2380
|
"accounting.accountReservationRevRec": AccountingAccountReservationRevRec;
|
|
2030
2381
|
"accounting.accountType": AccountingAccountType;
|
|
2031
|
-
"accounting.accountConnection": AccountingAccountConnection;
|
|
2032
2382
|
"accounting.bankAccountCategory": AccountingBankAccountCategory;
|
|
2033
2383
|
"accounting.bankAccountType": AccountingBankAccountType;
|
|
2034
2384
|
"accounting.bankRecord": AccountingBankRecord;
|
|
@@ -2066,6 +2416,9 @@ export interface DB {
|
|
|
2066
2416
|
"audit.effectAttempt": AuditEffectAttempt;
|
|
2067
2417
|
"audit.journalDelta": AuditJournalDelta;
|
|
2068
2418
|
"audit.mutation": AuditMutation;
|
|
2419
|
+
"audit.publicEvent": AuditPublicEvent;
|
|
2420
|
+
"audit.publicEventEntryChange": AuditPublicEventEntryChange;
|
|
2421
|
+
"audit.publicEventProjectionState": AuditPublicEventProjectionState;
|
|
2069
2422
|
"core.activeStatus": CoreActiveStatus;
|
|
2070
2423
|
"core.change": CoreChange;
|
|
2071
2424
|
"core.changeEntityType": CoreChangeEntityType;
|
|
@@ -2082,8 +2435,6 @@ export interface DB {
|
|
|
2082
2435
|
"core.syncStatus": CoreSyncStatus;
|
|
2083
2436
|
"core.syncSubtask": CoreSyncSubtask;
|
|
2084
2437
|
"core.syncType": CoreSyncType;
|
|
2085
|
-
"health.tenantIssue": HealthTenantIssue;
|
|
2086
|
-
"health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
|
|
2087
2438
|
"hdbCatalog.eventInvocationLogs": HdbCatalogEventInvocationLogs;
|
|
2088
2439
|
"hdbCatalog.eventLog": HdbCatalogEventLog;
|
|
2089
2440
|
"hdbCatalog.hdbActionLog": HdbCatalogHdbActionLog;
|
|
@@ -2096,6 +2447,19 @@ export interface DB {
|
|
|
2096
2447
|
"hdbCatalog.hdbSchemaNotifications": HdbCatalogHdbSchemaNotifications;
|
|
2097
2448
|
"hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
|
|
2098
2449
|
"hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
|
|
2450
|
+
"health.accountingIntegrityCase": HealthAccountingIntegrityCase;
|
|
2451
|
+
"health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
|
|
2452
|
+
"health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
|
|
2453
|
+
"health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
|
|
2454
|
+
"health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
|
|
2455
|
+
"health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;
|
|
2456
|
+
"health.accountingIntegrityRepairTransition": HealthAccountingIntegrityRepairTransition;
|
|
2457
|
+
"health.accountingIntegrityRun": HealthAccountingIntegrityRun;
|
|
2458
|
+
"health.accountingIntegrityTransition": HealthAccountingIntegrityTransition;
|
|
2459
|
+
"health.reservationIssueSnapshot": HealthReservationIssueSnapshot;
|
|
2460
|
+
"health.tenantIssue": HealthTenantIssue;
|
|
2461
|
+
"health.tenantIssueRuleState": HealthTenantIssueRuleState;
|
|
2462
|
+
"health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
|
|
2099
2463
|
"public.accountCollection": PublicAccountCollection;
|
|
2100
2464
|
"public.accountCollectionType": PublicAccountCollectionType;
|
|
2101
2465
|
"public.address": PublicAddress;
|
|
@@ -2110,7 +2474,6 @@ export interface DB {
|
|
|
2110
2474
|
"public.connectionRoute": PublicConnectionRoute;
|
|
2111
2475
|
"public.controlPlaneOutbox": PublicControlPlaneOutbox;
|
|
2112
2476
|
"public.controlPlaneProjectionEvent": PublicControlPlaneProjectionEvent;
|
|
2113
|
-
"public.plaidConnectSession": PublicPlaidConnectSession;
|
|
2114
2477
|
"public.currency": PublicCurrency;
|
|
2115
2478
|
"public.duplicateEmails": PublicDuplicateEmails;
|
|
2116
2479
|
"public.emailTemplate": PublicEmailTemplate;
|
|
@@ -2124,6 +2487,9 @@ export interface DB {
|
|
|
2124
2487
|
"public.fileStorageSourceLink": PublicFileStorageSourceLink;
|
|
2125
2488
|
"public.fileStorageTag": PublicFileStorageTag;
|
|
2126
2489
|
"public.latestDuplicateEmails": PublicLatestDuplicateEmails;
|
|
2490
|
+
"public.lineClassificationUsage": PublicLineClassificationUsage;
|
|
2491
|
+
"public.lineClassificationUsageBackfill": PublicLineClassificationUsageBackfill;
|
|
2492
|
+
"public.lineClassificationUsageCapture": PublicLineClassificationUsageCapture;
|
|
2127
2493
|
"public.listing": PublicListing;
|
|
2128
2494
|
"public.listingCollection": PublicListingCollection;
|
|
2129
2495
|
"public.listingConnection": PublicListingConnection;
|
|
@@ -2149,6 +2515,7 @@ export interface DB {
|
|
|
2149
2515
|
"public.paymentLineClassification": PublicPaymentLineClassification;
|
|
2150
2516
|
"public.paymentStatus": PublicPaymentStatus;
|
|
2151
2517
|
"public.paymentType": PublicPaymentType;
|
|
2518
|
+
"public.plaidConnectSession": PublicPlaidConnectSession;
|
|
2152
2519
|
"public.recurringFee": PublicRecurringFee;
|
|
2153
2520
|
"public.recurringFeeAccount": PublicRecurringFeeAccount;
|
|
2154
2521
|
"public.recurringFeeAccountCondition": PublicRecurringFeeAccountCondition;
|