@vrplatform/kysely 1.3.45-5537 → 1.3.45-556
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/control-plane/index.d.ts +315 -18
- package/build/main/control-plane/index.js +61 -0
- package/build/main/control-plane/index.js.map +1 -1
- package/build/main/index.d.ts +17 -12
- package/build/main/index.js +226 -51
- package/build/main/index.js.map +1 -1
- package/build/main/isomorphic.d.ts +4 -5
- package/build/main/isomorphic.js +1 -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 +2 -0
- package/build/main/local/generate.js.map +1 -1
- package/build/main/local/index.d.ts +5 -1
- package/build/main/local/index.js +316 -6
- package/build/main/local/index.js.map +1 -1
- package/build/main/postgres-error.d.ts +3 -3
- package/build/main/postgres-error.js +4 -3
- package/build/main/postgres-error.js.map +1 -1
- 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 +16 -20
- package/build/main/query/tenant/status.js.map +1 -1
- package/build/main/regional.d.ts +7 -1
- package/build/main/regional.js +14 -9
- package/build/main/regional.js.map +1 -1
- package/build/main/test/index.d.ts +23 -11
- package/build/main/test/index.js +31 -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 +586 -9
- package/build/main/v1.generated.js.map +1 -1
- package/build/migrations-v2/0000000000008-team-issue-rule-state.ts +52 -0
- package/build/migrations-v2/0000000000009-reservation-issue-projections.ts +45 -0
- package/build/migrations-v2/0000000000010-bank-rule-application-bank-record-delete-cascade.ts +26 -0
- package/build/migrations-v2/0000000000011-guest-balance-journal-entry-lookup-index.ts +25 -0
- package/build/migrations-v2/0000000000012-trial-free-analytics-billing-status.ts +72 -0
- package/build/migrations-v2/0000000000013-ui-permission-bundles.ts +45 -0
- package/build/migrations-v2/0000000000014-ui-permission-bundle-top-up.ts +32 -0
- package/build/migrations-v2/0000000000015-durable-flow-events.ts +163 -0
- package/build/migrations-v2/0000000000016-billing-listing-facts.ts +539 -0
- package/build/migrations-v2/0000000000016-managed-team-access.ts +34 -0
- package/build/migrations-v2/0000000000017-drop-trial-until.ts +42 -0
- package/build/migrations-v2/0000000000017-webhook-secret-reencryption-failures.ts +18 -0
- package/build/migrations-v2/0000000000018-accounting-integrity-monitoring.ts +276 -0
- package/build/migrations-v2/0000000000018-durable-flow-event-sensitive-input.ts +28 -0
- package/build/migrations-v2/0000000000019-accounting-integrity-run-shards.ts +26 -0
- package/build/migrations-v2/0000000000019-asynchronous-operations.ts +736 -0
- package/build/migrations-v2/0000000000020-accounting-integrity-case-classification.ts +52 -0
- package/build/migrations-v2/0000000000021-payment-line-classification-monitor-indexes.ts +31 -0
- package/build/migrations-v2/0000000000022-accounting-integrity-controlled-repairs.ts +281 -0
- package/build/migrations-v2/0000000000023-line-classification-usage.ts +325 -0
- package/build/migrations-v2/0000000000024-tenant-region-migration.ts +108 -0
- package/build/migrations-v2/0000000000025-partner-ach-denial-default.ts +30 -0
- package/build/migrations-v2/0000000000026-line-classification-usage-capture.ts +399 -0
- package/build/migrations-v2/0000000000027-payout-replacement-chain.ts +27 -0
- package/build/migrations-v2/0000000000028-accounting-integrity-operator-workflow.ts +108 -0
- package/build/migrations-v2/0000000000029-accounting-integrity-definition-artifacts.ts +40 -0
- package/build/migrations-v2/0000000000030-accounting-integrity-review-metadata-compatibility.ts +49 -0
- package/build/migrations-v2/0000000000031-ui-permission-role-simplification.ts +70 -0
- package/build/migrations-v2/0000000000032-tenant-delete-ownership-cascades.ts +44 -0
- package/build/migrations-v2/0000000000033-reservation-issue-seed-bucket-index.ts +19 -0
- package/build/migrations-v2/0000000000034-retire-recent-classification-indexes.ts +29 -0
- package/build/migrations-v2/0000000000035-core-change-autovacuum.ts +24 -0
- package/build/migrations-v2/0000000000036-journal-entry-inactive-reason-constraint.ts +33 -0
- package/build/migrations-v2/0000000000037-journal-entry-inactive-reasons.ts +19 -0
- package/build/migrations-v2/0000000000038-journal-entry-group-inactive-reason.ts +14 -0
- package/build/migrations-v2/0000000000039-reservation-guest-breakdown.ts +19 -0
- package/build/migrations-v2/0000000000040-csv-import-source-identity-index.ts +23 -0
- package/build/migrations-v2/0000000000041-payment-returns.ts +38 -0
- package/build/migrations-v2/0000000000042-operation-resource-types.ts +609 -0
- package/build/migrations-v2/0000000000043-reservation-journal-freshness.ts +149 -0
- package/build/migrations-v2/0000000000044-reservation-journal-freshness-backfill.ts +254 -0
- package/build/migrations-v2/0000000000045-reservation-journal-freshness-revision-repair.ts +83 -0
- package/build/migrations-v2/0000000000046-materialized-reservation-journal-operations.ts +709 -0
- package/build/migrations-v2/0000000000047-public-audit-completion.ts +77 -0
- package/build/migrations-v2/0000000000048-reservation-journal-full-refresh-repair.ts +136 -0
- package/build/migrations-v2/0000000000049-queued-journal-operation-failures.ts +60 -0
- package/build/migrations-v2/0000000000050-connection-oauth-state.ts +43 -0
- package/build/migrations-v2/0000000000051-owner-statement-email-delivery.ts +134 -0
- package/build/module/control-plane/index.d.ts +315 -18
- package/build/module/control-plane/index.js +49 -1
- package/build/module/control-plane/index.js.map +1 -1
- package/build/module/index.d.ts +17 -12
- package/build/module/index.js +228 -49
- package/build/module/index.js.map +1 -1
- package/build/module/isomorphic.d.ts +4 -5
- package/build/module/isomorphic.js +0 -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 +2 -0
- package/build/module/local/generate.js.map +1 -1
- package/build/module/local/index.d.ts +5 -1
- package/build/module/local/index.js +317 -7
- package/build/module/local/index.js.map +1 -1
- package/build/module/postgres-error.d.ts +3 -3
- package/build/module/postgres-error.js +4 -3
- package/build/module/postgres-error.js.map +1 -1
- 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 +16 -20
- package/build/module/query/tenant/status.js.map +1 -1
- package/build/module/regional.d.ts +7 -1
- package/build/module/regional.js +14 -9
- package/build/module/regional.js.map +1 -1
- package/build/module/test/index.d.ts +23 -11
- package/build/module/test/index.js +31 -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 +586 -9
- package/build/module/v1.generated.js.map +1 -1
- package/package.json +3 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Please do not edit it manually.
|
|
4
4
|
*/
|
|
5
5
|
import type { ColumnType } from "kysely";
|
|
6
|
-
export type AccountingJournalEntryInactiveReason = "cancelledReservationLine" | "currencyMismatch" | "generalLedgerStartAt" | "inactiveAccount" | "listingInactive" | "nonPostingAccount" | "reservationGeneralLedgerStatusInactive" | "transactionInactive" | "unknownInactiveReason";
|
|
6
|
+
export type AccountingJournalEntryInactiveReason = "cancelledReservationLine" | "currencyMismatch" | "generalLedgerStartAt" | "historicalLedger" | "inactiveAccount" | "listingInactive" | "listingOwnershipPeriodNotFound" | "nonPostingAccount" | "reservationGeneralLedgerStatusInactive" | "transactionInactive" | "unbalancedGroupInactiveLeg" | "unknownInactiveReason";
|
|
7
7
|
export type AccountingJournalEntryLedger = "historical" | "operating" | "trust";
|
|
8
8
|
export type AccountingTransactionAttachmentStatus = "attached" | "deleting" | "ready" | "uploading";
|
|
9
9
|
export type ArrayType<T> = ArrayTypeImpl<T> extends (infer U)[] ? U[] : ArrayTypeImpl<T>;
|
|
@@ -14,8 +14,42 @@ export type AuditEffectStatus = "claimed" | "completed" | "dead_letter" | "faile
|
|
|
14
14
|
export type AuditJournalDeltaOperation = "delete" | "insert" | "update";
|
|
15
15
|
export type AuditPublicEventAccountingStatus = "blocked" | "changed" | "failed" | "mixed" | "not_applicable" | "pending" | "unchanged";
|
|
16
16
|
export type AuditPublicEventOperation = "archive" | "create" | "delete" | "execute" | "recalculate" | "restore" | "update";
|
|
17
|
-
export type
|
|
17
|
+
export type AuditActorOrganizationType = "partner" | "system" | "team" | "vrplatform";
|
|
18
|
+
export type AuditSourceType = "api" | "automation" | "embedded" | "integration" | "portal" | "sync" | "system";
|
|
19
|
+
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
|
+
export type CoreAsyncOperationResultStatus = "completed" | "failed" | "queued";
|
|
21
|
+
export type CoreCsvOperationResultKind = "import" | "preview";
|
|
22
|
+
export type CoreCsvOperationResultStatus = "completed" | "failed" | "processing" | "queued";
|
|
23
|
+
export type CoreEmailDeliveryFailureCode = "inactive_recipient" | "invalid_provider_response" | "postmark_not_configured" | "provider_rejected" | "task_failed" | "transport_failed";
|
|
24
|
+
export type CoreEmailDeliveryStatus = "accepted" | "canceled" | "failed" | "queued" | "rejected" | "retrying" | "sending";
|
|
25
|
+
export type CoreEmailNotificationStatus = "canceled" | "completed" | "failed" | "processing" | "queued";
|
|
26
|
+
export type CoreExportJobFormat = "csv" | "pdf" | "zip";
|
|
27
|
+
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";
|
|
28
|
+
export type CoreFlowEventOperationAction = "abandon" | "replay";
|
|
29
|
+
export type CoreFlowEventStatus = "canceled" | "dead" | "pending" | "processing" | "succeeded";
|
|
30
|
+
export type CoreOperationResourceRole = "result" | "source" | "target";
|
|
31
|
+
export type CoreOperationResourceType = "bank-rule" | "connection" | "contact" | "file" | "flow" | "listing" | "recurring-fee" | "recurring-transaction-template" | "reservation" | "statement" | "team" | "transaction" | "webhook";
|
|
32
|
+
export type CoreOperationPublicIdFormat = "action" | "legacy";
|
|
33
|
+
export type CoreOperationSourceType = "audit-action" | "export-job" | "sync" | "webhook-delivery";
|
|
34
|
+
export type CoreOperationStatus = "completed" | "failed" | "queued" | "running";
|
|
35
|
+
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";
|
|
18
36
|
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
37
|
+
export type HealthAccountingIntegrityActionability = "automatically_repairable" | "blocked" | "code_fix_required" | "manual_repair" | "unknown";
|
|
38
|
+
export type HealthAccountingIntegrityCaseStatus = "open" | "resolved";
|
|
39
|
+
export type HealthAccountingIntegrityConfidence = "probable" | "proven" | "unknown";
|
|
40
|
+
export type HealthAccountingIntegrityDeliveryChannel = "sentry" | "slack";
|
|
41
|
+
export type HealthAccountingIntegrityDeliveryStatus = "dead_letter" | "delivered" | "failed" | "pending" | "processing" | "suppressed";
|
|
42
|
+
export type HealthAccountingIntegrityRepairPlanStatus = "active" | "canceled" | "completed" | "draft" | "failed" | "paused";
|
|
43
|
+
export type HealthAccountingIntegrityRepairScopeType = "case" | "tenant";
|
|
44
|
+
export type HealthAccountingIntegrityRepairStageStatus = "applying" | "approved" | "canceled" | "dry_run_passed" | "failed" | "paused" | "planned" | "verified" | "verifying";
|
|
45
|
+
export type HealthAccountingIntegrityRepairTargetStatus = "applied" | "applying" | "canceled" | "failed" | "paused" | "pending" | "verified" | "verifying";
|
|
46
|
+
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";
|
|
47
|
+
export type HealthAccountingIntegrityResolutionClassification = "code_fix" | "configuration" | "data_repair" | "expected" | "false_positive" | "monitor_fix" | "unknown";
|
|
48
|
+
export type HealthAccountingIntegrityReviewStatus = "confirmed_issue" | "expected" | "false_positive" | "unreviewed";
|
|
49
|
+
export type HealthAccountingIntegrityRunStatus = "completed" | "failed" | "running" | "skipped";
|
|
50
|
+
export type HealthAccountingIntegritySeverity = "critical" | "error" | "info" | "warning";
|
|
51
|
+
export type HealthAccountingIntegrityTransitionType = "changed" | "opened" | "reopened" | "resolved" | "reviewed";
|
|
52
|
+
export type HealthAccountingIntegrityUrgency = "backlog" | "immediate" | "next_triage" | "none";
|
|
19
53
|
export type HealthTenantIssueCategory = "criticalToSystem" | "criticalToUser";
|
|
20
54
|
export type HealthTenantIssueCode = "brokenConnections" | "cancelledReservationPaidWithoutAdjustment" | "closedPeriodUnattachedJournalEntries" | "duplicatedPayments" | "endedOwnershipNonZeroBalance" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "missingOwnershipOrDeactivation" | "operatingBankAccountsWithoutOpex" | "outdatedConnections" | "partnerBillingInactive" | "partnerInactive" | "pmsMissingAccountingStart" | "publishedStatementUnpaid" | "reservationCurrencyMismatch" | "reservationGuestTotalsMismatch" | "reservationPaymentProjectionMismatch" | "teamInactive" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "unpaidReservations";
|
|
21
55
|
export type HealthTenantIssueSeverity = "error" | "warning";
|
|
@@ -36,9 +70,9 @@ export type PublicRecurringFeeConditionOperator = "<" | "<=" | "=" | ">" | ">=";
|
|
|
36
70
|
export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
|
|
37
71
|
export type WebhookApiVersion = "2026-07-01";
|
|
38
72
|
export type WebhookDeliveryStatus = "canceled" | "delivering" | "failed" | "queued" | "retrying" | "succeeded";
|
|
39
|
-
export type WebhookEventType = "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed" | "webhook.test";
|
|
40
|
-
export type WebhookResourceType = "connection" | "listing" | "reservation" | "statement" | "sync" | "team" | "transaction" | "webhook";
|
|
41
|
-
export type WebhookSubscriptionEventType = "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed";
|
|
73
|
+
export type WebhookEventType = "audit.event.changed" | "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed" | "webhook.test";
|
|
74
|
+
export type WebhookResourceType = "auditEvent" | "connection" | "listing" | "reservation" | "statement" | "sync" | "team" | "transaction" | "webhook";
|
|
75
|
+
export type WebhookSubscriptionEventType = "audit.event.changed" | "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed";
|
|
42
76
|
export type WebhookSubscriptionScope = "managedTeams" | "self";
|
|
43
77
|
export type WebhookSubscriptionStatus = "active" | "disabled" | "pending";
|
|
44
78
|
export interface AccountingAccount {
|
|
@@ -372,6 +406,44 @@ export interface AccountingRate {
|
|
|
372
406
|
export interface AccountingRateType {
|
|
373
407
|
name: string;
|
|
374
408
|
}
|
|
409
|
+
export interface AccountingReservationJournalFreshnessControl {
|
|
410
|
+
createdAt: Generated<Timestamp>;
|
|
411
|
+
guardsEnabledAt: Timestamp | null;
|
|
412
|
+
tenantId: string;
|
|
413
|
+
updatedAt: Generated<Timestamp>;
|
|
414
|
+
}
|
|
415
|
+
export interface AccountingReservationJournalInvalidation {
|
|
416
|
+
actionId: string | null;
|
|
417
|
+
appliedAt: Timestamp | null;
|
|
418
|
+
coveredByEffectId: string | null;
|
|
419
|
+
createdAt: Generated<Timestamp>;
|
|
420
|
+
effectId: string | null;
|
|
421
|
+
id: Generated<string>;
|
|
422
|
+
reservationId: string;
|
|
423
|
+
revision: Int8;
|
|
424
|
+
sourceResourceId: string | null;
|
|
425
|
+
sourceResourceType: CoreOperationResourceType | null;
|
|
426
|
+
tenantId: string;
|
|
427
|
+
}
|
|
428
|
+
export interface AccountingReservationJournalState {
|
|
429
|
+
appliedRevision: Generated<Int8>;
|
|
430
|
+
calculatedAt: Timestamp | null;
|
|
431
|
+
createdAt: Generated<Timestamp>;
|
|
432
|
+
desiredRevision: Generated<Int8>;
|
|
433
|
+
reservationId: string;
|
|
434
|
+
staleSince: Timestamp | null;
|
|
435
|
+
tenantId: string;
|
|
436
|
+
updatedAt: Generated<Timestamp>;
|
|
437
|
+
}
|
|
438
|
+
export interface AccountingReservationJournalStatementImpact {
|
|
439
|
+
createdAt: Generated<Timestamp>;
|
|
440
|
+
currency: string;
|
|
441
|
+
invalidationId: string;
|
|
442
|
+
listingId: string;
|
|
443
|
+
listingOwnershipPeriodId: string;
|
|
444
|
+
month: Timestamp;
|
|
445
|
+
tenantId: string;
|
|
446
|
+
}
|
|
375
447
|
export interface AccountingTaxBehavior {
|
|
376
448
|
name: string;
|
|
377
449
|
}
|
|
@@ -394,9 +466,12 @@ export interface AccountingTransaction {
|
|
|
394
466
|
matchStatus: Generated<string | null>;
|
|
395
467
|
paidAt: Timestamp | null;
|
|
396
468
|
paidStatus: Generated<string | null>;
|
|
469
|
+
recreatedFromTransactionId: string | null;
|
|
397
470
|
recurringFeeId: string | null;
|
|
398
471
|
recurringPattern: Json | null;
|
|
399
472
|
recurringTemplateId: string | null;
|
|
473
|
+
returnedFromTransactionId: string | null;
|
|
474
|
+
returnEffectiveAt: Timestamp | null;
|
|
400
475
|
/**
|
|
401
476
|
* Human-readable system ID (EXP/DEP/PAY/TRF-XXX-XXXX-XXX depending on transaction.type).
|
|
402
477
|
*/
|
|
@@ -460,6 +535,9 @@ export interface AuditAction {
|
|
|
460
535
|
actorId: string | null;
|
|
461
536
|
actorLabel: string | null;
|
|
462
537
|
actorName: string | null;
|
|
538
|
+
actorOrganizationId: string | null;
|
|
539
|
+
actorOrganizationName: string | null;
|
|
540
|
+
actorOrganizationType: AuditActorOrganizationType | null;
|
|
463
541
|
actorType: AuditActionActorType;
|
|
464
542
|
apiVersion: string;
|
|
465
543
|
createdAt: Generated<Timestamp>;
|
|
@@ -467,7 +545,7 @@ export interface AuditAction {
|
|
|
467
545
|
message: string | null;
|
|
468
546
|
parentActionId: string | null;
|
|
469
547
|
payload: Json | null;
|
|
470
|
-
publicEventProjectedAt:
|
|
548
|
+
publicEventProjectedAt: Timestamp | null;
|
|
471
549
|
requestId: string | null;
|
|
472
550
|
rootEntityId: string | null;
|
|
473
551
|
rootEntityType: string | null;
|
|
@@ -565,6 +643,7 @@ export interface AuditMutation {
|
|
|
565
643
|
id: Generated<string>;
|
|
566
644
|
op: string;
|
|
567
645
|
publicChanges: Generated<Json>;
|
|
646
|
+
publicOutcome: Json | null;
|
|
568
647
|
rootEntityId: string | null;
|
|
569
648
|
rootEntityType: string | null;
|
|
570
649
|
subjectId: string;
|
|
@@ -580,22 +659,28 @@ export interface AuditPublicEvent {
|
|
|
580
659
|
actorId: string | null;
|
|
581
660
|
actorLabel: string | null;
|
|
582
661
|
actorName: string | null;
|
|
662
|
+
actorOrganizationId: string | null;
|
|
663
|
+
actorOrganizationName: string | null;
|
|
664
|
+
actorOrganizationType: AuditActorOrganizationType | null;
|
|
583
665
|
actorType: AuditActionActorType;
|
|
584
666
|
affectedAccountIds: Generated<string[]>;
|
|
667
|
+
attemptedEntityChanges: Generated<Json>;
|
|
668
|
+
blockedBy: Generated<Json>;
|
|
585
669
|
changedEntityTypes: Generated<string[]>;
|
|
586
670
|
changedPaths: Generated<string[]>;
|
|
587
671
|
entityChanges: Generated<Json>;
|
|
588
672
|
entityName: string | null;
|
|
589
673
|
entityUniqueRef: string | null;
|
|
590
|
-
id: Generated<string>;
|
|
591
674
|
hasChanges: Generated<boolean>;
|
|
675
|
+
id: Generated<string>;
|
|
592
676
|
netEffect: Generated<Json>;
|
|
593
677
|
occurredAt: Timestamp;
|
|
594
678
|
operation: AuditPublicEventOperation;
|
|
595
|
-
projectionFingerprint: string;
|
|
596
679
|
projectedAt: Generated<Timestamp>;
|
|
680
|
+
projectionFingerprint: string;
|
|
597
681
|
projectionVersion: Generated<number>;
|
|
598
682
|
requestId: string | null;
|
|
683
|
+
recovery: Generated<Json>;
|
|
599
684
|
revision: Generated<number>;
|
|
600
685
|
rootEntityId: string;
|
|
601
686
|
rootEntityType: string;
|
|
@@ -626,9 +711,42 @@ export interface AuditPublicEventProjectionState {
|
|
|
626
711
|
retainedFrom: Timestamp | null;
|
|
627
712
|
singleton: Generated<boolean>;
|
|
628
713
|
}
|
|
714
|
+
export interface BillingListingFact {
|
|
715
|
+
activeListings: number;
|
|
716
|
+
billingPartnerId: string | null;
|
|
717
|
+
dataRegion: string;
|
|
718
|
+
effectiveAt: Timestamp;
|
|
719
|
+
id: Generated<string>;
|
|
720
|
+
reconciliation: Generated<boolean>;
|
|
721
|
+
recordedAt: Generated<Timestamp>;
|
|
722
|
+
sourceId: string;
|
|
723
|
+
sourceRevision: Int8 | null;
|
|
724
|
+
sourceType: BillingListingFactSourceType;
|
|
725
|
+
tenantId: string;
|
|
726
|
+
tenantName: string;
|
|
727
|
+
}
|
|
728
|
+
export interface BillingListingFactReadiness {
|
|
729
|
+
availableFrom: Timestamp | null;
|
|
730
|
+
legacyGapCount: number | null;
|
|
731
|
+
legacyImportedRows: number | null;
|
|
732
|
+
parityConfirmed: Generated<boolean>;
|
|
733
|
+
readyAt: Timestamp | null;
|
|
734
|
+
singleton: Generated<boolean>;
|
|
735
|
+
verifiedMonth: Timestamp | null;
|
|
736
|
+
}
|
|
629
737
|
export interface CoreActiveStatus {
|
|
630
738
|
name: string;
|
|
631
739
|
}
|
|
740
|
+
export interface CoreAsyncOperationResult {
|
|
741
|
+
createdAt: Generated<Timestamp>;
|
|
742
|
+
errorMessage: string | null;
|
|
743
|
+
operationId: string;
|
|
744
|
+
result: Json | null;
|
|
745
|
+
status: Generated<CoreAsyncOperationResultStatus>;
|
|
746
|
+
tenantId: string;
|
|
747
|
+
type: CoreOperationType;
|
|
748
|
+
updatedAt: Generated<Timestamp>;
|
|
749
|
+
}
|
|
632
750
|
export interface CoreChange {
|
|
633
751
|
automationId: string | null;
|
|
634
752
|
changeData: Json | null;
|
|
@@ -680,6 +798,62 @@ export interface CoreChangeSyncType {
|
|
|
680
798
|
export interface CoreChangeType {
|
|
681
799
|
name: string;
|
|
682
800
|
}
|
|
801
|
+
export interface CoreCsvOperationResult {
|
|
802
|
+
connectionId: string;
|
|
803
|
+
createdAt: Generated<Timestamp>;
|
|
804
|
+
errorMessage: string | null;
|
|
805
|
+
kind: CoreCsvOperationResultKind;
|
|
806
|
+
result: Json | null;
|
|
807
|
+
status: Generated<CoreCsvOperationResultStatus>;
|
|
808
|
+
syncId: string;
|
|
809
|
+
tenantId: string;
|
|
810
|
+
updatedAt: Generated<Timestamp>;
|
|
811
|
+
}
|
|
812
|
+
export interface CoreEmailDelivery {
|
|
813
|
+
attemptCount: Generated<number>;
|
|
814
|
+
createdAt: Generated<Timestamp>;
|
|
815
|
+
failureCode: CoreEmailDeliveryFailureCode | null;
|
|
816
|
+
finishedAt: Timestamp | null;
|
|
817
|
+
httpStatus: number | null;
|
|
818
|
+
id: Generated<string>;
|
|
819
|
+
lastAttemptAt: Timestamp | null;
|
|
820
|
+
notificationId: string;
|
|
821
|
+
postmarkErrorCode: number | null;
|
|
822
|
+
postmarkMessageId: string | null;
|
|
823
|
+
status: Generated<CoreEmailDeliveryStatus>;
|
|
824
|
+
submittedAt: Timestamp | null;
|
|
825
|
+
tenantId: string;
|
|
826
|
+
triggerRunId: string | null;
|
|
827
|
+
updatedAt: Generated<Timestamp>;
|
|
828
|
+
userId: string;
|
|
829
|
+
}
|
|
830
|
+
export interface CoreEmailNotification {
|
|
831
|
+
createdAt: Generated<Timestamp>;
|
|
832
|
+
finishedAt: Timestamp | null;
|
|
833
|
+
id: string;
|
|
834
|
+
ownerStatementId: string;
|
|
835
|
+
recipientsResolvedAt: Timestamp | null;
|
|
836
|
+
startedAt: Timestamp | null;
|
|
837
|
+
status: Generated<CoreEmailNotificationStatus>;
|
|
838
|
+
tenantId: string;
|
|
839
|
+
triggerRunId: string | null;
|
|
840
|
+
updatedAt: Generated<Timestamp>;
|
|
841
|
+
}
|
|
842
|
+
export interface CoreExportJob {
|
|
843
|
+
createdAt: Generated<Timestamp>;
|
|
844
|
+
errorMessage: string | null;
|
|
845
|
+
fileId: string;
|
|
846
|
+
filename: string;
|
|
847
|
+
finishedAt: Timestamp | null;
|
|
848
|
+
format: CoreExportJobFormat;
|
|
849
|
+
id: string;
|
|
850
|
+
payload: Json;
|
|
851
|
+
startedAt: Timestamp | null;
|
|
852
|
+
status: Generated<CoreOperationStatus>;
|
|
853
|
+
taskId: CoreExportJobTaskId;
|
|
854
|
+
tenantId: string;
|
|
855
|
+
updatedAt: Generated<Timestamp>;
|
|
856
|
+
}
|
|
683
857
|
export interface CoreFlow {
|
|
684
858
|
appId: string;
|
|
685
859
|
description: string | null;
|
|
@@ -696,6 +870,64 @@ export interface CoreFlow {
|
|
|
696
870
|
uniqueRef: string;
|
|
697
871
|
useGlobalMapping: Generated<boolean>;
|
|
698
872
|
}
|
|
873
|
+
export interface CoreFlowEvent {
|
|
874
|
+
attempts: Generated<number>;
|
|
875
|
+
availableAt: Generated<Timestamp>;
|
|
876
|
+
claimedAt: Timestamp | null;
|
|
877
|
+
claimedBy: string | null;
|
|
878
|
+
completedAt: Timestamp | null;
|
|
879
|
+
createdAt: Generated<Timestamp>;
|
|
880
|
+
data: Generated<Json>;
|
|
881
|
+
entityId: string;
|
|
882
|
+
entityType: string;
|
|
883
|
+
eventType: string;
|
|
884
|
+
id: Generated<string>;
|
|
885
|
+
lastErrorCode: string | null;
|
|
886
|
+
lastErrorDetails: Json | null;
|
|
887
|
+
maxAttempts: Generated<number>;
|
|
888
|
+
requiresSensitiveInput: Generated<boolean>;
|
|
889
|
+
status: Generated<CoreFlowEventStatus>;
|
|
890
|
+
syncId: string | null;
|
|
891
|
+
targetConnectionId: string | null;
|
|
892
|
+
targetFlowId: string | null;
|
|
893
|
+
tenantId: string;
|
|
894
|
+
updatedAt: Generated<Timestamp>;
|
|
895
|
+
}
|
|
896
|
+
export interface CoreFlowEventDelivery {
|
|
897
|
+
attempts: Generated<number>;
|
|
898
|
+
availableAt: Generated<Timestamp>;
|
|
899
|
+
claimedAt: Timestamp | null;
|
|
900
|
+
claimedBy: string | null;
|
|
901
|
+
completedAt: Timestamp | null;
|
|
902
|
+
connectionId: string;
|
|
903
|
+
createdAt: Generated<Timestamp>;
|
|
904
|
+
eventId: string;
|
|
905
|
+
flowId: string;
|
|
906
|
+
id: Generated<string>;
|
|
907
|
+
lastErrorCode: string | null;
|
|
908
|
+
lastErrorDetails: Json | null;
|
|
909
|
+
maxAttempts: Generated<number>;
|
|
910
|
+
status: Generated<CoreFlowEventStatus>;
|
|
911
|
+
tenantId: string;
|
|
912
|
+
triggerRunId: string | null;
|
|
913
|
+
updatedAt: Generated<Timestamp>;
|
|
914
|
+
}
|
|
915
|
+
export interface CoreFlowEventOperation {
|
|
916
|
+
action: CoreFlowEventOperationAction;
|
|
917
|
+
actor: string;
|
|
918
|
+
createdAt: Generated<Timestamp>;
|
|
919
|
+
eventId: string;
|
|
920
|
+
id: Generated<string>;
|
|
921
|
+
previousStatus: CoreFlowEventStatus;
|
|
922
|
+
reasonCode: string;
|
|
923
|
+
}
|
|
924
|
+
export interface CoreFlowEventSecret {
|
|
925
|
+
createdAt: Generated<Timestamp>;
|
|
926
|
+
encryptedPayload: string;
|
|
927
|
+
encryptionKeyId: string;
|
|
928
|
+
eventId: string;
|
|
929
|
+
expiresAt: Timestamp;
|
|
930
|
+
}
|
|
699
931
|
export interface CoreFlowMapping {
|
|
700
932
|
accountId: string | null;
|
|
701
933
|
bookingChannelId: string | null;
|
|
@@ -734,6 +966,56 @@ export interface CoreIssueMessageOverwrite {
|
|
|
734
966
|
pattern: string;
|
|
735
967
|
updatedAt: Generated<Timestamp | null>;
|
|
736
968
|
}
|
|
969
|
+
export interface CoreOperation {
|
|
970
|
+
createdAt: Generated<Timestamp>;
|
|
971
|
+
failureCode: string | null;
|
|
972
|
+
failureMessage: string | null;
|
|
973
|
+
finishedAt: Timestamp | null;
|
|
974
|
+
id: Generated<string>;
|
|
975
|
+
initiatedByUserId: string | null;
|
|
976
|
+
publicIdFormat: Generated<CoreOperationPublicIdFormat>;
|
|
977
|
+
retainUntil: Timestamp | null;
|
|
978
|
+
sourceVersion: Generated<Int8>;
|
|
979
|
+
startedAt: Timestamp | null;
|
|
980
|
+
status: Generated<CoreOperationStatus>;
|
|
981
|
+
tenantId: string;
|
|
982
|
+
type: CoreOperationType;
|
|
983
|
+
updatedAt: Generated<Timestamp>;
|
|
984
|
+
}
|
|
985
|
+
export interface CoreOperationBackfill {
|
|
986
|
+
completedAt: Timestamp | null;
|
|
987
|
+
createdAt: Generated<Timestamp>;
|
|
988
|
+
name: string;
|
|
989
|
+
updatedAt: Generated<Timestamp>;
|
|
990
|
+
}
|
|
991
|
+
export interface CoreOperationProjectionOutbox {
|
|
992
|
+
attempts: Generated<number>;
|
|
993
|
+
availableAt: Generated<Timestamp>;
|
|
994
|
+
createdAt: Generated<Timestamp>;
|
|
995
|
+
id: Generated<string>;
|
|
996
|
+
lastError: string | null;
|
|
997
|
+
operationId: string;
|
|
998
|
+
publishedAt: Timestamp | null;
|
|
999
|
+
sourceVersion: Int8;
|
|
1000
|
+
}
|
|
1001
|
+
export interface CoreOperationResource {
|
|
1002
|
+
createdAt: Generated<Timestamp>;
|
|
1003
|
+
isPrimary: Generated<boolean>;
|
|
1004
|
+
operationId: string;
|
|
1005
|
+
resourceId: string;
|
|
1006
|
+
resourceType: CoreOperationResourceType;
|
|
1007
|
+
role: CoreOperationResourceRole;
|
|
1008
|
+
}
|
|
1009
|
+
export interface CoreOperationSource {
|
|
1010
|
+
finishedAt: Timestamp | null;
|
|
1011
|
+
operationId: string;
|
|
1012
|
+
required: Generated<boolean>;
|
|
1013
|
+
sourceId: string;
|
|
1014
|
+
sourceType: CoreOperationSourceType;
|
|
1015
|
+
sourceVersion: Generated<Int8>;
|
|
1016
|
+
startedAt: Timestamp | null;
|
|
1017
|
+
status: Generated<CoreOperationStatus>;
|
|
1018
|
+
}
|
|
737
1019
|
export interface CoreSync {
|
|
738
1020
|
automationId: string | null;
|
|
739
1021
|
connectionId: string | null;
|
|
@@ -876,6 +1158,207 @@ export interface HdbCatalogHdbVersion {
|
|
|
876
1158
|
upgradedOn: Timestamp;
|
|
877
1159
|
version: string;
|
|
878
1160
|
}
|
|
1161
|
+
export interface HealthAccountingIntegrityCase {
|
|
1162
|
+
actionability: HealthAccountingIntegrityActionability;
|
|
1163
|
+
actual: Json;
|
|
1164
|
+
assignedAt: Timestamp | null;
|
|
1165
|
+
assignedTo: string | null;
|
|
1166
|
+
caseKey: string;
|
|
1167
|
+
code: string;
|
|
1168
|
+
confidence: HealthAccountingIntegrityConfidence;
|
|
1169
|
+
contentHash: string;
|
|
1170
|
+
createdAt: Generated<Timestamp>;
|
|
1171
|
+
dataRegion: string;
|
|
1172
|
+
definitionVersion: number;
|
|
1173
|
+
evidence: Json;
|
|
1174
|
+
evidenceComplete: boolean;
|
|
1175
|
+
expected: Json;
|
|
1176
|
+
firstSeenAt: Timestamp;
|
|
1177
|
+
gitRevision: string;
|
|
1178
|
+
historicalIssueRefs: Json;
|
|
1179
|
+
id: Generated<string>;
|
|
1180
|
+
impact: Json;
|
|
1181
|
+
lastChangedAt: Timestamp;
|
|
1182
|
+
lastSeenAt: Timestamp;
|
|
1183
|
+
lockAssessment: Json;
|
|
1184
|
+
portalUrls: Json;
|
|
1185
|
+
repair: Json;
|
|
1186
|
+
resolutionClassification: HealthAccountingIntegrityResolutionClassification;
|
|
1187
|
+
resolvedAt: Timestamp | null;
|
|
1188
|
+
reviewedAt: Timestamp | null;
|
|
1189
|
+
reviewedBy: string | null;
|
|
1190
|
+
reviewRationale: string | null;
|
|
1191
|
+
reviewStatus: Generated<HealthAccountingIntegrityReviewStatus>;
|
|
1192
|
+
rootCause: string;
|
|
1193
|
+
runId: string;
|
|
1194
|
+
severity: HealthAccountingIntegritySeverity;
|
|
1195
|
+
status: HealthAccountingIntegrityCaseStatus;
|
|
1196
|
+
tenantId: string;
|
|
1197
|
+
title: string;
|
|
1198
|
+
updatedAt: Generated<Timestamp>;
|
|
1199
|
+
urgency: HealthAccountingIntegrityUrgency;
|
|
1200
|
+
verification: Json;
|
|
1201
|
+
version: Generated<Int8>;
|
|
1202
|
+
}
|
|
1203
|
+
export interface HealthAccountingIntegrityDelivery {
|
|
1204
|
+
attempts: Generated<number>;
|
|
1205
|
+
caseId: string | null;
|
|
1206
|
+
channel: HealthAccountingIntegrityDeliveryChannel;
|
|
1207
|
+
claimedAt: Timestamp | null;
|
|
1208
|
+
claimId: string | null;
|
|
1209
|
+
createdAt: Generated<Timestamp>;
|
|
1210
|
+
dedupeKey: string;
|
|
1211
|
+
deliveredAt: Timestamp | null;
|
|
1212
|
+
eventType: string;
|
|
1213
|
+
id: Generated<string>;
|
|
1214
|
+
lastError: Json | null;
|
|
1215
|
+
nextAttemptAt: Generated<Timestamp>;
|
|
1216
|
+
payload: Json;
|
|
1217
|
+
result: Json | null;
|
|
1218
|
+
runId: string;
|
|
1219
|
+
status: Generated<HealthAccountingIntegrityDeliveryStatus>;
|
|
1220
|
+
updatedAt: Generated<Timestamp>;
|
|
1221
|
+
}
|
|
1222
|
+
export interface HealthAccountingIntegrityOperatorEvent {
|
|
1223
|
+
actorId: string;
|
|
1224
|
+
caseId: string | null;
|
|
1225
|
+
caseVersion: Int8 | null;
|
|
1226
|
+
client: string;
|
|
1227
|
+
createdAt: Generated<Timestamp>;
|
|
1228
|
+
id: Generated<string>;
|
|
1229
|
+
idempotencyKey: string;
|
|
1230
|
+
payload: Json;
|
|
1231
|
+
planId: string | null;
|
|
1232
|
+
rationale: string | null;
|
|
1233
|
+
requestId: string;
|
|
1234
|
+
stageId: string | null;
|
|
1235
|
+
targetId: string | null;
|
|
1236
|
+
type: string;
|
|
1237
|
+
}
|
|
1238
|
+
export interface HealthAccountingIntegrityRepairPlan {
|
|
1239
|
+
canceledAt: Timestamp | null;
|
|
1240
|
+
code: string;
|
|
1241
|
+
completedAt: Timestamp | null;
|
|
1242
|
+
createdAt: Generated<Timestamp>;
|
|
1243
|
+
createdBy: string;
|
|
1244
|
+
dataRegion: string;
|
|
1245
|
+
environment: string;
|
|
1246
|
+
gitRevision: string;
|
|
1247
|
+
id: Generated<string>;
|
|
1248
|
+
linearRef: string | null;
|
|
1249
|
+
recipeVersion: number;
|
|
1250
|
+
status: Generated<HealthAccountingIntegrityRepairPlanStatus>;
|
|
1251
|
+
title: string;
|
|
1252
|
+
updatedAt: Generated<Timestamp>;
|
|
1253
|
+
}
|
|
1254
|
+
export interface HealthAccountingIntegrityRepairStage {
|
|
1255
|
+
applyResult: Json | null;
|
|
1256
|
+
approvalRef: string | null;
|
|
1257
|
+
approvedAt: Timestamp | null;
|
|
1258
|
+
approvedBy: string | null;
|
|
1259
|
+
completedAt: Timestamp | null;
|
|
1260
|
+
createdAt: Generated<Timestamp>;
|
|
1261
|
+
dryRunResult: Json | null;
|
|
1262
|
+
id: Generated<string>;
|
|
1263
|
+
limits: Json;
|
|
1264
|
+
manifest: Json;
|
|
1265
|
+
manifestHash: string;
|
|
1266
|
+
ordinal: number;
|
|
1267
|
+
planId: string;
|
|
1268
|
+
scopeType: HealthAccountingIntegrityRepairScopeType;
|
|
1269
|
+
startedAt: Timestamp | null;
|
|
1270
|
+
status: Generated<HealthAccountingIntegrityRepairStageStatus>;
|
|
1271
|
+
tenantId: string;
|
|
1272
|
+
updatedAt: Generated<Timestamp>;
|
|
1273
|
+
verificationResult: Json | null;
|
|
1274
|
+
}
|
|
1275
|
+
export interface HealthAccountingIntegrityRepairTarget {
|
|
1276
|
+
action: Json;
|
|
1277
|
+
applyResult: Json | null;
|
|
1278
|
+
auditActionId: string | null;
|
|
1279
|
+
beforeHash: string;
|
|
1280
|
+
beforeState: Json;
|
|
1281
|
+
caseContentHash: string;
|
|
1282
|
+
caseId: string;
|
|
1283
|
+
caseVersion: Int8;
|
|
1284
|
+
completedAt: Timestamp | null;
|
|
1285
|
+
createdAt: Generated<Timestamp>;
|
|
1286
|
+
effectPlan: Json;
|
|
1287
|
+
expectedResult: Json;
|
|
1288
|
+
id: Generated<string>;
|
|
1289
|
+
idempotencyKey: string;
|
|
1290
|
+
lockAssessment: Json;
|
|
1291
|
+
ordinal: number;
|
|
1292
|
+
stageId: string;
|
|
1293
|
+
startedAt: Timestamp | null;
|
|
1294
|
+
status: Generated<HealthAccountingIntegrityRepairTargetStatus>;
|
|
1295
|
+
targetKey: string;
|
|
1296
|
+
tenantId: string;
|
|
1297
|
+
updatedAt: Generated<Timestamp>;
|
|
1298
|
+
verificationResult: Json | null;
|
|
1299
|
+
}
|
|
1300
|
+
export interface HealthAccountingIntegrityRepairTransition {
|
|
1301
|
+
actor: string;
|
|
1302
|
+
createdAt: Generated<Timestamp>;
|
|
1303
|
+
id: Generated<string>;
|
|
1304
|
+
payload: Json;
|
|
1305
|
+
planId: string;
|
|
1306
|
+
stageId: string | null;
|
|
1307
|
+
targetId: string | null;
|
|
1308
|
+
type: HealthAccountingIntegrityRepairTransitionType;
|
|
1309
|
+
}
|
|
1310
|
+
export interface HealthAccountingIntegrityRun {
|
|
1311
|
+
caseCount: Generated<Int8>;
|
|
1312
|
+
changedCaseCount: Generated<Int8>;
|
|
1313
|
+
code: string;
|
|
1314
|
+
completedAt: Timestamp | null;
|
|
1315
|
+
createdAt: Generated<Timestamp>;
|
|
1316
|
+
dataRegion: string;
|
|
1317
|
+
definitionArtifactHash: string | null;
|
|
1318
|
+
definitionTemplateId: string | null;
|
|
1319
|
+
definitionTemplateVersion: number | null;
|
|
1320
|
+
definitionVersion: number;
|
|
1321
|
+
definitionVersionId: string | null;
|
|
1322
|
+
environment: string;
|
|
1323
|
+
error: Json | null;
|
|
1324
|
+
evaluationId: string;
|
|
1325
|
+
findingRowCount: Generated<Int8>;
|
|
1326
|
+
gitRevision: string;
|
|
1327
|
+
id: Generated<string>;
|
|
1328
|
+
openedCaseCount: Generated<Int8>;
|
|
1329
|
+
operatorDefinitionVersion: number | null;
|
|
1330
|
+
reopenedCaseCount: Generated<Int8>;
|
|
1331
|
+
resolvedCaseCount: Generated<Int8>;
|
|
1332
|
+
resolvesCases: Generated<boolean>;
|
|
1333
|
+
rowsScanned: Generated<Int8>;
|
|
1334
|
+
scopeTenantIds: string[] | null;
|
|
1335
|
+
shardKey: Generated<string>;
|
|
1336
|
+
startedAt: Timestamp;
|
|
1337
|
+
status: HealthAccountingIntegrityRunStatus;
|
|
1338
|
+
unchangedCaseCount: Generated<Int8>;
|
|
1339
|
+
updatedAt: Generated<Timestamp>;
|
|
1340
|
+
}
|
|
1341
|
+
export interface HealthAccountingIntegrityTransition {
|
|
1342
|
+
caseId: string;
|
|
1343
|
+
caseVersion: Int8;
|
|
1344
|
+
createdAt: Generated<Timestamp>;
|
|
1345
|
+
id: Generated<string>;
|
|
1346
|
+
payload: Json;
|
|
1347
|
+
runId: string;
|
|
1348
|
+
type: HealthAccountingIntegrityTransitionType;
|
|
1349
|
+
}
|
|
1350
|
+
export interface HealthReservationIssueSnapshot {
|
|
1351
|
+
computedAt: Timestamp | null;
|
|
1352
|
+
computedVersion: Generated<Int8>;
|
|
1353
|
+
createdAt: Generated<Timestamp>;
|
|
1354
|
+
dirtyAt: Generated<Timestamp>;
|
|
1355
|
+
dirtyVersion: Generated<Int8>;
|
|
1356
|
+
issues: Generated<Json>;
|
|
1357
|
+
reservationId: string;
|
|
1358
|
+
tenantId: string;
|
|
1359
|
+
updatedAt: Generated<Timestamp>;
|
|
1360
|
+
version: Generated<Int8>;
|
|
1361
|
+
}
|
|
879
1362
|
export interface HealthTenantIssue {
|
|
880
1363
|
affected: number;
|
|
881
1364
|
category: HealthTenantIssueCategory;
|
|
@@ -896,6 +1379,16 @@ export interface HealthTenantIssue {
|
|
|
896
1379
|
updatedAt: Generated<Timestamp>;
|
|
897
1380
|
version: Int8;
|
|
898
1381
|
}
|
|
1382
|
+
export interface HealthTenantIssueRuleState {
|
|
1383
|
+
code: HealthTenantIssueCode;
|
|
1384
|
+
computedAt: Timestamp | null;
|
|
1385
|
+
computedVersion: Generated<Int8>;
|
|
1386
|
+
createdAt: Generated<Timestamp>;
|
|
1387
|
+
dirtyAt: Timestamp;
|
|
1388
|
+
dirtyVersion: Generated<Int8>;
|
|
1389
|
+
tenantId: string;
|
|
1390
|
+
updatedAt: Generated<Timestamp>;
|
|
1391
|
+
}
|
|
899
1392
|
export interface HealthTenantIssueSnapshot {
|
|
900
1393
|
computedAt: Timestamp | null;
|
|
901
1394
|
contentHash: string | null;
|
|
@@ -1198,6 +1691,36 @@ export interface PublicLatestDuplicateEmails {
|
|
|
1198
1691
|
name: string | null;
|
|
1199
1692
|
status: string | null;
|
|
1200
1693
|
}
|
|
1694
|
+
export interface PublicLineClassificationUsage {
|
|
1695
|
+
appId: string | null;
|
|
1696
|
+
createdAt: Generated<Timestamp>;
|
|
1697
|
+
firstSeenAt: Generated<Timestamp>;
|
|
1698
|
+
kind: string;
|
|
1699
|
+
lastError: string | null;
|
|
1700
|
+
lastSeenAt: Generated<Timestamp>;
|
|
1701
|
+
mappingStatus: string | null;
|
|
1702
|
+
name: string;
|
|
1703
|
+
reportAttempts: Generated<number>;
|
|
1704
|
+
reportedRevision: Generated<number>;
|
|
1705
|
+
revision: Generated<number>;
|
|
1706
|
+
tenantId: string;
|
|
1707
|
+
updatedAt: Generated<Timestamp>;
|
|
1708
|
+
}
|
|
1709
|
+
export interface PublicLineClassificationUsageBackfill {
|
|
1710
|
+
completedAt: Timestamp | null;
|
|
1711
|
+
cursorId: string | null;
|
|
1712
|
+
source: string;
|
|
1713
|
+
updatedAt: Generated<Timestamp>;
|
|
1714
|
+
}
|
|
1715
|
+
export interface PublicLineClassificationUsageCapture {
|
|
1716
|
+
createdAt: Generated<Timestamp>;
|
|
1717
|
+
firstSeenAt: Timestamp | null;
|
|
1718
|
+
id: Generated<string>;
|
|
1719
|
+
kind: string;
|
|
1720
|
+
lastSeenAt: Timestamp | null;
|
|
1721
|
+
name: string;
|
|
1722
|
+
tenantId: string;
|
|
1723
|
+
}
|
|
1201
1724
|
export interface PublicListing {
|
|
1202
1725
|
address: string | null;
|
|
1203
1726
|
addressCity: string | null;
|
|
@@ -1587,6 +2110,7 @@ export interface PublicRecurringFeeType {
|
|
|
1587
2110
|
name: string;
|
|
1588
2111
|
}
|
|
1589
2112
|
export interface PublicReservation {
|
|
2113
|
+
adults: number | null;
|
|
1590
2114
|
bookedAt: Generated<Timestamp | null>;
|
|
1591
2115
|
bookerName: string | null;
|
|
1592
2116
|
bookingPlatform: string | null;
|
|
@@ -1605,6 +2129,7 @@ export interface PublicReservation {
|
|
|
1605
2129
|
channelId: string | null;
|
|
1606
2130
|
checkIn: Timestamp | null;
|
|
1607
2131
|
checkOut: Timestamp | null;
|
|
2132
|
+
children: number | null;
|
|
1608
2133
|
confirmationCode: string | null;
|
|
1609
2134
|
connectionId: string | null;
|
|
1610
2135
|
createdAt: Generated<Timestamp | null>;
|
|
@@ -1828,9 +2353,13 @@ export interface PublicTenant {
|
|
|
1828
2353
|
isTest: Generated<boolean | null>;
|
|
1829
2354
|
logo: string | null;
|
|
1830
2355
|
longTermStayNights: number | null;
|
|
2356
|
+
migratedAt: Timestamp | null;
|
|
1831
2357
|
migratedFromTenantId: string | null;
|
|
2358
|
+
migratedToRegion: string | null;
|
|
2359
|
+
migrationStatus: Generated<string>;
|
|
1832
2360
|
name: string;
|
|
1833
2361
|
ownerPortalShowDraftStatements: boolean | null;
|
|
2362
|
+
partnerDeniedPermissions: Generated<string[]>;
|
|
1834
2363
|
partnerId: Generated<string | null>;
|
|
1835
2364
|
/**
|
|
1836
2365
|
* JSON column to hold team settings like "owner_portal_show_reservation_totals" or "owner_portal_show_draft_statements
|
|
@@ -1849,7 +2378,6 @@ export interface PublicTenant {
|
|
|
1849
2378
|
supportEmail: string | null;
|
|
1850
2379
|
supportPhone: string | null;
|
|
1851
2380
|
svixEndpoints: boolean | null;
|
|
1852
|
-
trialUntil: Timestamp | null;
|
|
1853
2381
|
type: Generated<string | null>;
|
|
1854
2382
|
uniqueRef: string | null;
|
|
1855
2383
|
updatedAt: Generated<Timestamp | null>;
|
|
@@ -1859,13 +2387,25 @@ export interface PublicTenantUser {
|
|
|
1859
2387
|
createdAt: Generated<Timestamp | null>;
|
|
1860
2388
|
id: Generated<string>;
|
|
1861
2389
|
lastInvitedAt: Timestamp | null;
|
|
2390
|
+
managedTeamAccess: Generated<"all" | "assigned">;
|
|
1862
2391
|
notificationPreferences: Generated<Json | null>;
|
|
2392
|
+
permissionBundles: Generated<string[]>;
|
|
1863
2393
|
role: Generated<string | null>;
|
|
1864
2394
|
status: Generated<string | null>;
|
|
1865
2395
|
tenantId: string;
|
|
1866
2396
|
updatedAt: Generated<Timestamp | null>;
|
|
1867
2397
|
userId: string;
|
|
1868
2398
|
}
|
|
2399
|
+
export interface PublicConnectionOauthState {
|
|
2400
|
+
appId: string;
|
|
2401
|
+
connectionId: string | null;
|
|
2402
|
+
expiresAt: Timestamp;
|
|
2403
|
+
params: JsonObject;
|
|
2404
|
+
redirectUri: string;
|
|
2405
|
+
stateHash: string;
|
|
2406
|
+
tenantId: string;
|
|
2407
|
+
userId: string;
|
|
2408
|
+
}
|
|
1869
2409
|
export interface PublicToken {
|
|
1870
2410
|
createdAt: Generated<Timestamp>;
|
|
1871
2411
|
expiresAt: Timestamp | null;
|
|
@@ -2102,10 +2642,13 @@ export interface WebhookSubscriptionSecret {
|
|
|
2102
2642
|
encryptionKeyId: string;
|
|
2103
2643
|
expiresAt: Timestamp | null;
|
|
2104
2644
|
id: Generated<string>;
|
|
2645
|
+
reencryptionFailedAt: Timestamp | null;
|
|
2646
|
+
reencryptionFailureCode: string | null;
|
|
2105
2647
|
revokedAt: Timestamp | null;
|
|
2106
2648
|
subscriptionId: string;
|
|
2107
2649
|
}
|
|
2108
2650
|
export interface DB {
|
|
2651
|
+
"public.connectionOauthState": PublicConnectionOauthState;
|
|
2109
2652
|
"accounting.account": AccountingAccount;
|
|
2110
2653
|
"accounting.accountAssignment": AccountingAccountAssignment;
|
|
2111
2654
|
"accounting.accountAssignmentLineType": AccountingAccountAssignmentLineType;
|
|
@@ -2143,6 +2686,10 @@ export interface DB {
|
|
|
2143
2686
|
"accounting.party": AccountingParty;
|
|
2144
2687
|
"accounting.rate": AccountingRate;
|
|
2145
2688
|
"accounting.rateType": AccountingRateType;
|
|
2689
|
+
"accounting.reservationJournalFreshnessControl": AccountingReservationJournalFreshnessControl;
|
|
2690
|
+
"accounting.reservationJournalInvalidation": AccountingReservationJournalInvalidation;
|
|
2691
|
+
"accounting.reservationJournalState": AccountingReservationJournalState;
|
|
2692
|
+
"accounting.reservationJournalStatementImpact": AccountingReservationJournalStatementImpact;
|
|
2146
2693
|
"accounting.taxBehavior": AccountingTaxBehavior;
|
|
2147
2694
|
"accounting.transaction": AccountingTransaction;
|
|
2148
2695
|
"accounting.transactionAttachment": AccountingTransactionAttachment;
|
|
@@ -2156,7 +2703,10 @@ export interface DB {
|
|
|
2156
2703
|
"audit.publicEvent": AuditPublicEvent;
|
|
2157
2704
|
"audit.publicEventEntryChange": AuditPublicEventEntryChange;
|
|
2158
2705
|
"audit.publicEventProjectionState": AuditPublicEventProjectionState;
|
|
2706
|
+
"billing.listingFact": BillingListingFact;
|
|
2707
|
+
"billing.listingFactReadiness": BillingListingFactReadiness;
|
|
2159
2708
|
"core.activeStatus": CoreActiveStatus;
|
|
2709
|
+
"core.asyncOperationResult": CoreAsyncOperationResult;
|
|
2160
2710
|
"core.change": CoreChange;
|
|
2161
2711
|
"core.changeEntityType": CoreChangeEntityType;
|
|
2162
2712
|
"core.changeLink": CoreChangeLink;
|
|
@@ -2164,10 +2714,23 @@ export interface DB {
|
|
|
2164
2714
|
"core.changeStatus": CoreChangeStatus;
|
|
2165
2715
|
"core.changeSyncType": CoreChangeSyncType;
|
|
2166
2716
|
"core.changeType": CoreChangeType;
|
|
2717
|
+
"core.csvOperationResult": CoreCsvOperationResult;
|
|
2718
|
+
"core.emailDelivery": CoreEmailDelivery;
|
|
2719
|
+
"core.emailNotification": CoreEmailNotification;
|
|
2720
|
+
"core.exportJob": CoreExportJob;
|
|
2167
2721
|
"core.flow": CoreFlow;
|
|
2722
|
+
"core.flowEvent": CoreFlowEvent;
|
|
2723
|
+
"core.flowEventDelivery": CoreFlowEventDelivery;
|
|
2724
|
+
"core.flowEventOperation": CoreFlowEventOperation;
|
|
2725
|
+
"core.flowEventSecret": CoreFlowEventSecret;
|
|
2168
2726
|
"core.flowMapping": CoreFlowMapping;
|
|
2169
2727
|
"core.flowSetting": CoreFlowSetting;
|
|
2170
2728
|
"core.issueMessageOverwrite": CoreIssueMessageOverwrite;
|
|
2729
|
+
"core.operation": CoreOperation;
|
|
2730
|
+
"core.operationBackfill": CoreOperationBackfill;
|
|
2731
|
+
"core.operationProjectionOutbox": CoreOperationProjectionOutbox;
|
|
2732
|
+
"core.operationResource": CoreOperationResource;
|
|
2733
|
+
"core.operationSource": CoreOperationSource;
|
|
2171
2734
|
"core.sync": CoreSync;
|
|
2172
2735
|
"core.syncStatus": CoreSyncStatus;
|
|
2173
2736
|
"core.syncSubtask": CoreSyncSubtask;
|
|
@@ -2184,7 +2747,18 @@ export interface DB {
|
|
|
2184
2747
|
"hdbCatalog.hdbSchemaNotifications": HdbCatalogHdbSchemaNotifications;
|
|
2185
2748
|
"hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
|
|
2186
2749
|
"hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
|
|
2750
|
+
"health.accountingIntegrityCase": HealthAccountingIntegrityCase;
|
|
2751
|
+
"health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
|
|
2752
|
+
"health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
|
|
2753
|
+
"health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
|
|
2754
|
+
"health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
|
|
2755
|
+
"health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;
|
|
2756
|
+
"health.accountingIntegrityRepairTransition": HealthAccountingIntegrityRepairTransition;
|
|
2757
|
+
"health.accountingIntegrityRun": HealthAccountingIntegrityRun;
|
|
2758
|
+
"health.accountingIntegrityTransition": HealthAccountingIntegrityTransition;
|
|
2759
|
+
"health.reservationIssueSnapshot": HealthReservationIssueSnapshot;
|
|
2187
2760
|
"health.tenantIssue": HealthTenantIssue;
|
|
2761
|
+
"health.tenantIssueRuleState": HealthTenantIssueRuleState;
|
|
2188
2762
|
"health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
|
|
2189
2763
|
"public.accountCollection": PublicAccountCollection;
|
|
2190
2764
|
"public.accountCollectionType": PublicAccountCollectionType;
|
|
@@ -2213,6 +2787,9 @@ export interface DB {
|
|
|
2213
2787
|
"public.fileStorageSourceLink": PublicFileStorageSourceLink;
|
|
2214
2788
|
"public.fileStorageTag": PublicFileStorageTag;
|
|
2215
2789
|
"public.latestDuplicateEmails": PublicLatestDuplicateEmails;
|
|
2790
|
+
"public.lineClassificationUsage": PublicLineClassificationUsage;
|
|
2791
|
+
"public.lineClassificationUsageBackfill": PublicLineClassificationUsageBackfill;
|
|
2792
|
+
"public.lineClassificationUsageCapture": PublicLineClassificationUsageCapture;
|
|
2216
2793
|
"public.listing": PublicListing;
|
|
2217
2794
|
"public.listingCollection": PublicListingCollection;
|
|
2218
2795
|
"public.listingConnection": PublicListingConnection;
|