@vrplatform/kysely 1.3.45-5070 → 1.3.45-5080
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/local/generate.js +8 -8
- package/build/main/local/generate.js.map +1 -1
- package/build/main/local/index.js +5 -4
- package/build/main/local/index.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/v1.generated.d.ts +142 -134
- package/build/main/v1.generated.js.map +1 -1
- package/build/migrations-v2/0000000000000-baseline.ts +5 -0
- package/build/module/local/generate.js +8 -8
- package/build/module/local/generate.js.map +1 -1
- package/build/module/local/index.js +5 -4
- package/build/module/local/index.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/v1.generated.d.ts +142 -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
- package/build/migrations/0000000000073-public-audit-events.ts +0 -241
|
@@ -6,6 +6,8 @@ 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 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[];
|
|
9
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";
|
|
@@ -13,11 +15,11 @@ export type AuditJournalDeltaOperation = "delete" | "insert" | "update";
|
|
|
13
15
|
export type AuditPublicEventAccountingStatus = "blocked" | "changed" | "failed" | "mixed" | "not_applicable" | "pending" | "unchanged";
|
|
14
16
|
export type AuditPublicEventOperation = "archive" | "create" | "delete" | "execute" | "recalculate" | "restore" | "update";
|
|
15
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>;
|
|
16
19
|
export type HealthTenantIssueCategory = "criticalToSystem" | "criticalToUser";
|
|
17
20
|
export type HealthTenantIssueCode = "brokenConnections" | "cancelledReservationPaidWithoutAdjustment" | "closedPeriodUnattachedJournalEntries" | "duplicatedPayments" | "endedOwnershipNonZeroBalance" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "missingOwnershipOrDeactivation" | "operatingBankAccountsWithoutOpex" | "outdatedConnections" | "partnerBillingInactive" | "partnerInactive" | "pmsMissingAccountingStart" | "publishedStatementUnpaid" | "reservationCurrencyMismatch" | "reservationGuestTotalsMismatch" | "reservationPaymentProjectionMismatch" | "teamInactive" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "unpaidReservations";
|
|
18
21
|
export type HealthTenantIssueSeverity = "error" | "warning";
|
|
19
22
|
export type HealthTenantIssueStatus = "open" | "resolved";
|
|
20
|
-
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
21
23
|
export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
|
|
22
24
|
export type Json = JsonValue;
|
|
23
25
|
export type JsonArray = JsonValue[];
|
|
@@ -31,6 +33,7 @@ export type PublicFlowType = "pull" | "push";
|
|
|
31
33
|
export type PublicPlaidConnectMode = "create" | "replace" | "update";
|
|
32
34
|
export type PublicPlaidConnectStatus = "awaitingConfiguration" | "completed" | "configuring" | "credentialsStored" | "discoveringAccounts" | "exchangeOutcomeUnknown" | "exchanging" | "expired" | "failed" | "pendingLink";
|
|
33
35
|
export type PublicRecurringFeeConditionOperator = "<" | "<=" | "=" | ">" | ">=";
|
|
36
|
+
export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
|
|
34
37
|
export type WebhookApiVersion = "2026-07-01";
|
|
35
38
|
export type WebhookDeliveryStatus = "canceled" | "delivering" | "failed" | "queued" | "retrying" | "succeeded";
|
|
36
39
|
export type WebhookEventType = "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed" | "webhook.test";
|
|
@@ -38,7 +41,6 @@ export type WebhookResourceType = "connection" | "listing" | "reservation" | "st
|
|
|
38
41
|
export type WebhookSubscriptionEventType = "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed";
|
|
39
42
|
export type WebhookSubscriptionScope = "managedTeams" | "self";
|
|
40
43
|
export type WebhookSubscriptionStatus = "active" | "disabled" | "pending";
|
|
41
|
-
export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
|
|
42
44
|
export interface AccountingAccount {
|
|
43
45
|
bankingCategory: string | null;
|
|
44
46
|
bankingCurrency: string | null;
|
|
@@ -86,23 +88,6 @@ export interface AccountingAccountCategory {
|
|
|
86
88
|
export interface AccountingAccountClassification {
|
|
87
89
|
name: string;
|
|
88
90
|
}
|
|
89
|
-
export interface AccountingAccountReservationLineType {
|
|
90
|
-
accountId: string | null;
|
|
91
|
-
bookingChannel: string | null;
|
|
92
|
-
createdAt: Generated<Timestamp>;
|
|
93
|
-
id: Generated<string>;
|
|
94
|
-
lineType: string;
|
|
95
|
-
revenueRecognition: string | null;
|
|
96
|
-
status: Generated<string | null>;
|
|
97
|
-
tenantId: string;
|
|
98
|
-
updatedAt: Generated<Timestamp>;
|
|
99
|
-
}
|
|
100
|
-
export interface AccountingAccountReservationRevRec {
|
|
101
|
-
name: string;
|
|
102
|
-
}
|
|
103
|
-
export interface AccountingAccountType {
|
|
104
|
-
name: string;
|
|
105
|
-
}
|
|
106
91
|
export interface AccountingAccountConnection {
|
|
107
92
|
accountId: string | null;
|
|
108
93
|
category: Generated<string | null>;
|
|
@@ -126,6 +111,23 @@ export interface AccountingAccountConnection {
|
|
|
126
111
|
uniqueRef: string | null;
|
|
127
112
|
updatedAt: Generated<Timestamp>;
|
|
128
113
|
}
|
|
114
|
+
export interface AccountingAccountReservationLineType {
|
|
115
|
+
accountId: string | null;
|
|
116
|
+
bookingChannel: string | null;
|
|
117
|
+
createdAt: Generated<Timestamp>;
|
|
118
|
+
id: Generated<string>;
|
|
119
|
+
lineType: string;
|
|
120
|
+
revenueRecognition: string | null;
|
|
121
|
+
status: Generated<string | null>;
|
|
122
|
+
tenantId: string;
|
|
123
|
+
updatedAt: Generated<Timestamp>;
|
|
124
|
+
}
|
|
125
|
+
export interface AccountingAccountReservationRevRec {
|
|
126
|
+
name: string;
|
|
127
|
+
}
|
|
128
|
+
export interface AccountingAccountType {
|
|
129
|
+
name: string;
|
|
130
|
+
}
|
|
129
131
|
export interface AccountingBankAccountCategory {
|
|
130
132
|
name: string;
|
|
131
133
|
}
|
|
@@ -133,8 +135,8 @@ export interface AccountingBankAccountType {
|
|
|
133
135
|
name: string;
|
|
134
136
|
}
|
|
135
137
|
export interface AccountingBankRecord {
|
|
136
|
-
accountId: string | null;
|
|
137
138
|
accountConnectionId: string | null;
|
|
139
|
+
accountId: string | null;
|
|
138
140
|
calculatedCentBalance: number | null;
|
|
139
141
|
calculatedCentTotalCorrection: number | null;
|
|
140
142
|
centBalance: number | null;
|
|
@@ -580,8 +582,8 @@ export interface AuditPublicEvent {
|
|
|
580
582
|
actorType: AuditActionActorType;
|
|
581
583
|
affectedAccountIds: Generated<string[]>;
|
|
582
584
|
affectedAccounts: Generated<Json>;
|
|
583
|
-
affectedOwnerStatementIds: Generated<string[]>;
|
|
584
585
|
affectedOwnershipPeriodIds: Generated<string[]>;
|
|
586
|
+
affectedOwnerStatementIds: Generated<string[]>;
|
|
585
587
|
affectedPeriods: Generated<string[]>;
|
|
586
588
|
changedDimensions: Generated<string[]>;
|
|
587
589
|
entityChanges: Generated<Json>;
|
|
@@ -613,8 +615,8 @@ export interface AuditPublicEventPostingChange {
|
|
|
613
615
|
eventId: string;
|
|
614
616
|
id: Generated<string>;
|
|
615
617
|
ledger: string | null;
|
|
616
|
-
ownerStatementId: string | null;
|
|
617
618
|
ownershipPeriodId: string | null;
|
|
619
|
+
ownerStatementId: string | null;
|
|
618
620
|
party: string | null;
|
|
619
621
|
postingDate: Timestamp | null;
|
|
620
622
|
status: string | null;
|
|
@@ -876,6 +878,35 @@ export interface HdbCatalogHdbVersion {
|
|
|
876
878
|
upgradedOn: Timestamp;
|
|
877
879
|
version: string;
|
|
878
880
|
}
|
|
881
|
+
export interface HealthTenantIssue {
|
|
882
|
+
affected: number;
|
|
883
|
+
category: HealthTenantIssueCategory;
|
|
884
|
+
code: HealthTenantIssueCode;
|
|
885
|
+
contentHash: string;
|
|
886
|
+
context: Json;
|
|
887
|
+
createdAt: Generated<Timestamp>;
|
|
888
|
+
firstSeenAt: Timestamp;
|
|
889
|
+
id: Generated<string>;
|
|
890
|
+
lastChangedAt: Timestamp;
|
|
891
|
+
message: string;
|
|
892
|
+
openedAt: Timestamp;
|
|
893
|
+
resolvedAt: Timestamp | null;
|
|
894
|
+
severity: HealthTenantIssueSeverity;
|
|
895
|
+
snapshotVersion: Int8;
|
|
896
|
+
status: HealthTenantIssueStatus;
|
|
897
|
+
tenantId: string;
|
|
898
|
+
updatedAt: Generated<Timestamp>;
|
|
899
|
+
version: Int8;
|
|
900
|
+
}
|
|
901
|
+
export interface HealthTenantIssueSnapshot {
|
|
902
|
+
computedAt: Timestamp | null;
|
|
903
|
+
contentHash: string | null;
|
|
904
|
+
createdAt: Generated<Timestamp>;
|
|
905
|
+
dirtyAt: Generated<Timestamp>;
|
|
906
|
+
tenantId: string;
|
|
907
|
+
updatedAt: Generated<Timestamp>;
|
|
908
|
+
version: Generated<Int8>;
|
|
909
|
+
}
|
|
879
910
|
export interface PublicAccountCollection {
|
|
880
911
|
automationId: string | null;
|
|
881
912
|
connectionId: string;
|
|
@@ -1070,24 +1101,6 @@ export interface PublicControlPlaneProjectionEvent {
|
|
|
1070
1101
|
eventVersion: number;
|
|
1071
1102
|
payload: Generated<Json>;
|
|
1072
1103
|
}
|
|
1073
|
-
export interface PublicPlaidConnectSession {
|
|
1074
|
-
connectionId: string | null;
|
|
1075
|
-
createdAt: Generated<Timestamp>;
|
|
1076
|
-
environment: string;
|
|
1077
|
-
errorCode: string | null;
|
|
1078
|
-
errorRetryable: boolean | null;
|
|
1079
|
-
expiresAt: Timestamp;
|
|
1080
|
-
id: Generated<string>;
|
|
1081
|
-
itemId: string | null;
|
|
1082
|
-
leaseExpiresAt: Timestamp | null;
|
|
1083
|
-
linkSessionId: string | null;
|
|
1084
|
-
mode: PublicPlaidConnectMode;
|
|
1085
|
-
result: Json | null;
|
|
1086
|
-
status: Generated<PublicPlaidConnectStatus>;
|
|
1087
|
-
syncId: string | null;
|
|
1088
|
-
tenantId: string;
|
|
1089
|
-
updatedAt: Generated<Timestamp>;
|
|
1090
|
-
}
|
|
1091
1104
|
export interface PublicCurrency {
|
|
1092
1105
|
name: string;
|
|
1093
1106
|
}
|
|
@@ -1500,6 +1513,24 @@ export interface PublicPaymentStatus {
|
|
|
1500
1513
|
export interface PublicPaymentType {
|
|
1501
1514
|
name: string;
|
|
1502
1515
|
}
|
|
1516
|
+
export interface PublicPlaidConnectSession {
|
|
1517
|
+
connectionId: string | null;
|
|
1518
|
+
createdAt: Generated<Timestamp>;
|
|
1519
|
+
environment: string;
|
|
1520
|
+
errorCode: string | null;
|
|
1521
|
+
errorRetryable: boolean | null;
|
|
1522
|
+
expiresAt: Timestamp;
|
|
1523
|
+
id: Generated<string>;
|
|
1524
|
+
itemId: string | null;
|
|
1525
|
+
leaseExpiresAt: Timestamp | null;
|
|
1526
|
+
linkSessionId: string | null;
|
|
1527
|
+
mode: PublicPlaidConnectMode;
|
|
1528
|
+
result: Json | null;
|
|
1529
|
+
status: Generated<PublicPlaidConnectStatus>;
|
|
1530
|
+
syncId: string | null;
|
|
1531
|
+
tenantId: string;
|
|
1532
|
+
updatedAt: Generated<Timestamp>;
|
|
1533
|
+
}
|
|
1503
1534
|
export interface PublicRecurringFee {
|
|
1504
1535
|
bookingChannelsFilter: string[] | null;
|
|
1505
1536
|
createdAt: Generated<Timestamp>;
|
|
@@ -1755,6 +1786,9 @@ export interface PublicTenant {
|
|
|
1755
1786
|
addressCountry: string | null;
|
|
1756
1787
|
addressLine1: string | null;
|
|
1757
1788
|
addressPostcode: string | null;
|
|
1789
|
+
/**
|
|
1790
|
+
* JSON column for app-owned tenant settings exposed through APIs.
|
|
1791
|
+
*/
|
|
1758
1792
|
appSettings: Json | null;
|
|
1759
1793
|
billingAddressData: Json | null;
|
|
1760
1794
|
billingAddressId: string | null;
|
|
@@ -1783,6 +1817,9 @@ export interface PublicTenant {
|
|
|
1783
1817
|
defaultRevenueRecognition: string | null;
|
|
1784
1818
|
email: string | null;
|
|
1785
1819
|
featureFlags: Generated<Json | null>;
|
|
1820
|
+
/**
|
|
1821
|
+
* JSON column for explicit VRPilot onboarding guide state.
|
|
1822
|
+
*/
|
|
1786
1823
|
guideOnboarding: Json | null;
|
|
1787
1824
|
historicalStatementsImportedAt: Timestamp | null;
|
|
1788
1825
|
id: Generated<string>;
|
|
@@ -1932,34 +1969,72 @@ export interface PublicWebhook {
|
|
|
1932
1969
|
types2: string[] | null;
|
|
1933
1970
|
url: string;
|
|
1934
1971
|
}
|
|
1935
|
-
export interface
|
|
1936
|
-
affected: number;
|
|
1937
|
-
category: HealthTenantIssueCategory;
|
|
1938
|
-
code: HealthTenantIssueCode;
|
|
1939
|
-
contentHash: string;
|
|
1940
|
-
context: Json;
|
|
1972
|
+
export interface TrackingEvent {
|
|
1941
1973
|
createdAt: Generated<Timestamp>;
|
|
1942
|
-
firstSeenAt: Timestamp;
|
|
1943
1974
|
id: Generated<string>;
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1975
|
+
name: string;
|
|
1976
|
+
packageName: string;
|
|
1977
|
+
props: Json;
|
|
1978
|
+
tenantId: string | null;
|
|
1979
|
+
timestamp: Generated<Timestamp | null>;
|
|
1980
|
+
trackedAt: Generated<Timestamp | null>;
|
|
1981
|
+
userId: string | null;
|
|
1982
|
+
}
|
|
1983
|
+
export interface TrackingIntercomConversation {
|
|
1984
|
+
answer: string;
|
|
1985
|
+
conversationId: Int8;
|
|
1986
|
+
createdAt: Generated<Timestamp>;
|
|
1987
|
+
id: Generated<string>;
|
|
1988
|
+
isRelevant: boolean;
|
|
1989
|
+
outcome: string;
|
|
1990
|
+
question: string;
|
|
1991
|
+
summary: string;
|
|
1992
|
+
tags: string;
|
|
1993
|
+
}
|
|
1994
|
+
export interface TrackingIntercomConversationUser {
|
|
1995
|
+
conversationId: string;
|
|
1996
|
+
createdAt: Generated<Timestamp>;
|
|
1997
|
+
id: Generated<string>;
|
|
1998
|
+
userId: string;
|
|
1999
|
+
}
|
|
2000
|
+
export interface TrackingIntercomReport {
|
|
2001
|
+
action: string;
|
|
2002
|
+
category: string;
|
|
2003
|
+
createdAt: Generated<Timestamp>;
|
|
2004
|
+
id: Generated<string>;
|
|
2005
|
+
summary: string;
|
|
2006
|
+
tags: string;
|
|
2007
|
+
}
|
|
2008
|
+
export interface TrackingIntercomReportConversation {
|
|
2009
|
+
conversationId: string;
|
|
2010
|
+
id: Generated<string>;
|
|
2011
|
+
reportId: string;
|
|
2012
|
+
}
|
|
2013
|
+
export interface TrackingMetricCache {
|
|
2014
|
+
connectionId: Generated<string>;
|
|
2015
|
+
date: Timestamp;
|
|
2016
|
+
name: Generated<string>;
|
|
2017
|
+
refreshedAt: Generated<Timestamp>;
|
|
2018
|
+
status: Generated<string>;
|
|
1951
2019
|
tenantId: string;
|
|
1952
|
-
|
|
1953
|
-
|
|
2020
|
+
total: Numeric;
|
|
2021
|
+
type: string;
|
|
1954
2022
|
}
|
|
1955
|
-
export interface
|
|
1956
|
-
|
|
1957
|
-
|
|
2023
|
+
export interface TrackingMonitorConnection {
|
|
2024
|
+
appId: string;
|
|
2025
|
+
connectionId: string;
|
|
1958
2026
|
createdAt: Generated<Timestamp>;
|
|
1959
|
-
|
|
2027
|
+
id: Generated<string>;
|
|
2028
|
+
message: string | null;
|
|
2029
|
+
status: string | null;
|
|
2030
|
+
syncedAt: Timestamp | null;
|
|
1960
2031
|
tenantId: string;
|
|
1961
|
-
|
|
1962
|
-
|
|
2032
|
+
triggerRef: string | null;
|
|
2033
|
+
updatedAt: Timestamp | null;
|
|
2034
|
+
version: number | null;
|
|
2035
|
+
}
|
|
2036
|
+
export interface TrackingMonitorConnectionState {
|
|
2037
|
+
name: string;
|
|
1963
2038
|
}
|
|
1964
2039
|
export interface WebhookDelivery {
|
|
1965
2040
|
apiVersion: WebhookApiVersion;
|
|
@@ -2012,7 +2087,7 @@ export interface WebhookSubscription {
|
|
|
2012
2087
|
createdAt: Generated<Timestamp>;
|
|
2013
2088
|
description: string | null;
|
|
2014
2089
|
disabledAt: Timestamp | null;
|
|
2015
|
-
eventTypes: WebhookSubscriptionEventType
|
|
2090
|
+
eventTypes: ArrayType<WebhookSubscriptionEventType>;
|
|
2016
2091
|
id: Generated<string>;
|
|
2017
2092
|
ownerTenantId: string;
|
|
2018
2093
|
revision: Generated<Int8>;
|
|
@@ -2032,73 +2107,6 @@ export interface WebhookSubscriptionSecret {
|
|
|
2032
2107
|
revokedAt: Timestamp | null;
|
|
2033
2108
|
subscriptionId: string;
|
|
2034
2109
|
}
|
|
2035
|
-
export interface TrackingEvent {
|
|
2036
|
-
createdAt: Generated<Timestamp>;
|
|
2037
|
-
id: Generated<string>;
|
|
2038
|
-
name: string;
|
|
2039
|
-
packageName: string;
|
|
2040
|
-
props: Json;
|
|
2041
|
-
tenantId: string | null;
|
|
2042
|
-
timestamp: Generated<Timestamp | null>;
|
|
2043
|
-
trackedAt: Generated<Timestamp | null>;
|
|
2044
|
-
userId: string | null;
|
|
2045
|
-
}
|
|
2046
|
-
export interface TrackingIntercomConversation {
|
|
2047
|
-
answer: string;
|
|
2048
|
-
conversationId: Int8;
|
|
2049
|
-
createdAt: Generated<Timestamp>;
|
|
2050
|
-
id: Generated<string>;
|
|
2051
|
-
isRelevant: boolean;
|
|
2052
|
-
outcome: string;
|
|
2053
|
-
question: string;
|
|
2054
|
-
summary: string;
|
|
2055
|
-
tags: string;
|
|
2056
|
-
}
|
|
2057
|
-
export interface TrackingIntercomConversationUser {
|
|
2058
|
-
conversationId: string;
|
|
2059
|
-
createdAt: Generated<Timestamp>;
|
|
2060
|
-
id: Generated<string>;
|
|
2061
|
-
userId: string;
|
|
2062
|
-
}
|
|
2063
|
-
export interface TrackingIntercomReport {
|
|
2064
|
-
action: string;
|
|
2065
|
-
category: string;
|
|
2066
|
-
createdAt: Generated<Timestamp>;
|
|
2067
|
-
id: Generated<string>;
|
|
2068
|
-
summary: string;
|
|
2069
|
-
tags: string;
|
|
2070
|
-
}
|
|
2071
|
-
export interface TrackingIntercomReportConversation {
|
|
2072
|
-
conversationId: string;
|
|
2073
|
-
id: Generated<string>;
|
|
2074
|
-
reportId: string;
|
|
2075
|
-
}
|
|
2076
|
-
export interface TrackingMetricCache {
|
|
2077
|
-
connectionId: Generated<string>;
|
|
2078
|
-
date: Timestamp;
|
|
2079
|
-
name: Generated<string>;
|
|
2080
|
-
refreshedAt: Generated<Timestamp>;
|
|
2081
|
-
status: Generated<string>;
|
|
2082
|
-
tenantId: string;
|
|
2083
|
-
total: Numeric;
|
|
2084
|
-
type: string;
|
|
2085
|
-
}
|
|
2086
|
-
export interface TrackingMonitorConnection {
|
|
2087
|
-
appId: string;
|
|
2088
|
-
connectionId: string;
|
|
2089
|
-
createdAt: Generated<Timestamp>;
|
|
2090
|
-
id: Generated<string>;
|
|
2091
|
-
message: string | null;
|
|
2092
|
-
status: string | null;
|
|
2093
|
-
syncedAt: Timestamp | null;
|
|
2094
|
-
tenantId: string;
|
|
2095
|
-
triggerRef: string | null;
|
|
2096
|
-
updatedAt: Timestamp | null;
|
|
2097
|
-
version: number | null;
|
|
2098
|
-
}
|
|
2099
|
-
export interface TrackingMonitorConnectionState {
|
|
2100
|
-
name: string;
|
|
2101
|
-
}
|
|
2102
2110
|
export interface DB {
|
|
2103
2111
|
"accounting.account": AccountingAccount;
|
|
2104
2112
|
"accounting.accountAssignment": AccountingAccountAssignment;
|
|
@@ -2106,10 +2114,10 @@ export interface DB {
|
|
|
2106
2114
|
"accounting.accountAssignmentType": AccountingAccountAssignmentType;
|
|
2107
2115
|
"accounting.accountCategory": AccountingAccountCategory;
|
|
2108
2116
|
"accounting.accountClassification": AccountingAccountClassification;
|
|
2117
|
+
"accounting.accountConnection": AccountingAccountConnection;
|
|
2109
2118
|
"accounting.accountReservationLineType": AccountingAccountReservationLineType;
|
|
2110
2119
|
"accounting.accountReservationRevRec": AccountingAccountReservationRevRec;
|
|
2111
2120
|
"accounting.accountType": AccountingAccountType;
|
|
2112
|
-
"accounting.accountConnection": AccountingAccountConnection;
|
|
2113
2121
|
"accounting.bankAccountCategory": AccountingBankAccountCategory;
|
|
2114
2122
|
"accounting.bankAccountType": AccountingBankAccountType;
|
|
2115
2123
|
"accounting.bankRecord": AccountingBankRecord;
|
|
@@ -2166,8 +2174,6 @@ export interface DB {
|
|
|
2166
2174
|
"core.syncStatus": CoreSyncStatus;
|
|
2167
2175
|
"core.syncSubtask": CoreSyncSubtask;
|
|
2168
2176
|
"core.syncType": CoreSyncType;
|
|
2169
|
-
"health.tenantIssue": HealthTenantIssue;
|
|
2170
|
-
"health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
|
|
2171
2177
|
"hdbCatalog.eventInvocationLogs": HdbCatalogEventInvocationLogs;
|
|
2172
2178
|
"hdbCatalog.eventLog": HdbCatalogEventLog;
|
|
2173
2179
|
"hdbCatalog.hdbActionLog": HdbCatalogHdbActionLog;
|
|
@@ -2180,6 +2186,8 @@ export interface DB {
|
|
|
2180
2186
|
"hdbCatalog.hdbSchemaNotifications": HdbCatalogHdbSchemaNotifications;
|
|
2181
2187
|
"hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
|
|
2182
2188
|
"hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
|
|
2189
|
+
"health.tenantIssue": HealthTenantIssue;
|
|
2190
|
+
"health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
|
|
2183
2191
|
"public.accountCollection": PublicAccountCollection;
|
|
2184
2192
|
"public.accountCollectionType": PublicAccountCollectionType;
|
|
2185
2193
|
"public.address": PublicAddress;
|
|
@@ -2194,7 +2202,6 @@ export interface DB {
|
|
|
2194
2202
|
"public.connectionRoute": PublicConnectionRoute;
|
|
2195
2203
|
"public.controlPlaneOutbox": PublicControlPlaneOutbox;
|
|
2196
2204
|
"public.controlPlaneProjectionEvent": PublicControlPlaneProjectionEvent;
|
|
2197
|
-
"public.plaidConnectSession": PublicPlaidConnectSession;
|
|
2198
2205
|
"public.currency": PublicCurrency;
|
|
2199
2206
|
"public.duplicateEmails": PublicDuplicateEmails;
|
|
2200
2207
|
"public.emailTemplate": PublicEmailTemplate;
|
|
@@ -2233,6 +2240,7 @@ export interface DB {
|
|
|
2233
2240
|
"public.paymentLineClassification": PublicPaymentLineClassification;
|
|
2234
2241
|
"public.paymentStatus": PublicPaymentStatus;
|
|
2235
2242
|
"public.paymentType": PublicPaymentType;
|
|
2243
|
+
"public.plaidConnectSession": PublicPlaidConnectSession;
|
|
2236
2244
|
"public.recurringFee": PublicRecurringFee;
|
|
2237
2245
|
"public.recurringFeeAccount": PublicRecurringFeeAccount;
|
|
2238
2246
|
"public.recurringFeeAccountCondition": PublicRecurringFeeAccountCondition;
|