@vrplatform/kysely 1.3.45-5498 → 1.3.45-550
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/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 +17 -12
- package/build/main/index.js +227 -55
- 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 +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 +551 -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/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/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 +17 -12
- package/build/module/index.js +229 -53
- 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 +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 +551 -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,39 @@ 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 CoreExportJobFormat = "csv" | "pdf" | "zip";
|
|
24
|
+
export type CoreExportJobTaskId = "api/export-journal-entries-csv" | "api/export-manager-statement-pdf" | "api/export-owner-statement-combined-csv" | "api/export-owner-statement-pdf" | "api/export-owner-statement-pdf-batch-zip" | "api/export-owner-statement-summary-pdf" | "api/export-owner-statement-summary-pdf-batch-zip" | "api/export-route" | "api/export-trust-reconciliation-pdf";
|
|
25
|
+
export type CoreFlowEventOperationAction = "abandon" | "replay";
|
|
26
|
+
export type CoreFlowEventStatus = "canceled" | "dead" | "pending" | "processing" | "succeeded";
|
|
27
|
+
export type CoreOperationResourceRole = "result" | "source" | "target";
|
|
28
|
+
export type CoreOperationResourceType = "bank-rule" | "connection" | "contact" | "file" | "flow" | "listing" | "recurring-fee" | "recurring-transaction-template" | "reservation" | "statement" | "team" | "transaction" | "webhook";
|
|
29
|
+
export type CoreOperationPublicIdFormat = "action" | "legacy";
|
|
30
|
+
export type CoreOperationSourceType = "audit-action" | "export-job" | "sync" | "webhook-delivery";
|
|
31
|
+
export type CoreOperationStatus = "completed" | "failed" | "queued" | "running";
|
|
32
|
+
export type CoreOperationType = "ach-verification" | "bank-rule-run" | "calendar-block" | "calendar-unblock" | "connection-archive" | "connection-connect" | "connection-extract" | "connection-sync" | "csv-import" | "csv-import-preview" | "export" | "flow-run" | "historical-gl-import" | "historical-statement-import" | "listing-journal-refresh" | "plaid-initial-sync" | "pms-cutover" | "pms-cutover-preview" | "provider-payment" | "provider-payment-recovery" | "recurring-transaction-run" | "reservation-journal-refresh" | "team-delete" | "team-demo-data" | "team-duplicate" | "team-initialize" | "transaction-journal-refresh" | "vri-statement-import" | "vri-team-migration" | "webhook-test";
|
|
18
33
|
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
34
|
+
export type HealthAccountingIntegrityActionability = "automatically_repairable" | "blocked" | "code_fix_required" | "manual_repair" | "unknown";
|
|
35
|
+
export type HealthAccountingIntegrityCaseStatus = "open" | "resolved";
|
|
36
|
+
export type HealthAccountingIntegrityConfidence = "probable" | "proven" | "unknown";
|
|
37
|
+
export type HealthAccountingIntegrityDeliveryChannel = "sentry" | "slack";
|
|
38
|
+
export type HealthAccountingIntegrityDeliveryStatus = "dead_letter" | "delivered" | "failed" | "pending" | "processing" | "suppressed";
|
|
39
|
+
export type HealthAccountingIntegrityRepairPlanStatus = "active" | "canceled" | "completed" | "draft" | "failed" | "paused";
|
|
40
|
+
export type HealthAccountingIntegrityRepairScopeType = "case" | "tenant";
|
|
41
|
+
export type HealthAccountingIntegrityRepairStageStatus = "applying" | "approved" | "canceled" | "dry_run_passed" | "failed" | "paused" | "planned" | "verified" | "verifying";
|
|
42
|
+
export type HealthAccountingIntegrityRepairTargetStatus = "applied" | "applying" | "canceled" | "failed" | "paused" | "pending" | "verified" | "verifying";
|
|
43
|
+
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";
|
|
44
|
+
export type HealthAccountingIntegrityResolutionClassification = "code_fix" | "configuration" | "data_repair" | "expected" | "false_positive" | "monitor_fix" | "unknown";
|
|
45
|
+
export type HealthAccountingIntegrityReviewStatus = "confirmed_issue" | "expected" | "false_positive" | "unreviewed";
|
|
46
|
+
export type HealthAccountingIntegrityRunStatus = "completed" | "failed" | "running" | "skipped";
|
|
47
|
+
export type HealthAccountingIntegritySeverity = "critical" | "error" | "info" | "warning";
|
|
48
|
+
export type HealthAccountingIntegrityTransitionType = "changed" | "opened" | "reopened" | "resolved" | "reviewed";
|
|
49
|
+
export type HealthAccountingIntegrityUrgency = "backlog" | "immediate" | "next_triage" | "none";
|
|
19
50
|
export type HealthTenantIssueCategory = "criticalToSystem" | "criticalToUser";
|
|
20
51
|
export type HealthTenantIssueCode = "brokenConnections" | "cancelledReservationPaidWithoutAdjustment" | "closedPeriodUnattachedJournalEntries" | "duplicatedPayments" | "endedOwnershipNonZeroBalance" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "missingOwnershipOrDeactivation" | "operatingBankAccountsWithoutOpex" | "outdatedConnections" | "partnerBillingInactive" | "partnerInactive" | "pmsMissingAccountingStart" | "publishedStatementUnpaid" | "reservationCurrencyMismatch" | "reservationGuestTotalsMismatch" | "reservationPaymentProjectionMismatch" | "teamInactive" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "unpaidReservations";
|
|
21
52
|
export type HealthTenantIssueSeverity = "error" | "warning";
|
|
@@ -36,9 +67,9 @@ export type PublicRecurringFeeConditionOperator = "<" | "<=" | "=" | ">" | ">=";
|
|
|
36
67
|
export type Timestamp = ColumnType<Date | string, Date | string, Date | string>;
|
|
37
68
|
export type WebhookApiVersion = "2026-07-01";
|
|
38
69
|
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";
|
|
70
|
+
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";
|
|
71
|
+
export type WebhookResourceType = "auditEvent" | "connection" | "listing" | "reservation" | "statement" | "sync" | "team" | "transaction" | "webhook";
|
|
72
|
+
export type WebhookSubscriptionEventType = "audit.event.changed" | "connection.changed" | "listing.changed" | "reservation.changed" | "statement.status.changed" | "sync.status.changed" | "team.issues.changed" | "transaction.changed";
|
|
42
73
|
export type WebhookSubscriptionScope = "managedTeams" | "self";
|
|
43
74
|
export type WebhookSubscriptionStatus = "active" | "disabled" | "pending";
|
|
44
75
|
export interface AccountingAccount {
|
|
@@ -372,6 +403,44 @@ export interface AccountingRate {
|
|
|
372
403
|
export interface AccountingRateType {
|
|
373
404
|
name: string;
|
|
374
405
|
}
|
|
406
|
+
export interface AccountingReservationJournalFreshnessControl {
|
|
407
|
+
createdAt: Generated<Timestamp>;
|
|
408
|
+
guardsEnabledAt: Timestamp | null;
|
|
409
|
+
tenantId: string;
|
|
410
|
+
updatedAt: Generated<Timestamp>;
|
|
411
|
+
}
|
|
412
|
+
export interface AccountingReservationJournalInvalidation {
|
|
413
|
+
actionId: string | null;
|
|
414
|
+
appliedAt: Timestamp | null;
|
|
415
|
+
coveredByEffectId: string | null;
|
|
416
|
+
createdAt: Generated<Timestamp>;
|
|
417
|
+
effectId: string | null;
|
|
418
|
+
id: Generated<string>;
|
|
419
|
+
reservationId: string;
|
|
420
|
+
revision: Int8;
|
|
421
|
+
sourceResourceId: string | null;
|
|
422
|
+
sourceResourceType: CoreOperationResourceType | null;
|
|
423
|
+
tenantId: string;
|
|
424
|
+
}
|
|
425
|
+
export interface AccountingReservationJournalState {
|
|
426
|
+
appliedRevision: Generated<Int8>;
|
|
427
|
+
calculatedAt: Timestamp | null;
|
|
428
|
+
createdAt: Generated<Timestamp>;
|
|
429
|
+
desiredRevision: Generated<Int8>;
|
|
430
|
+
reservationId: string;
|
|
431
|
+
staleSince: Timestamp | null;
|
|
432
|
+
tenantId: string;
|
|
433
|
+
updatedAt: Generated<Timestamp>;
|
|
434
|
+
}
|
|
435
|
+
export interface AccountingReservationJournalStatementImpact {
|
|
436
|
+
createdAt: Generated<Timestamp>;
|
|
437
|
+
currency: string;
|
|
438
|
+
invalidationId: string;
|
|
439
|
+
listingId: string;
|
|
440
|
+
listingOwnershipPeriodId: string;
|
|
441
|
+
month: Timestamp;
|
|
442
|
+
tenantId: string;
|
|
443
|
+
}
|
|
375
444
|
export interface AccountingTaxBehavior {
|
|
376
445
|
name: string;
|
|
377
446
|
}
|
|
@@ -394,9 +463,12 @@ export interface AccountingTransaction {
|
|
|
394
463
|
matchStatus: Generated<string | null>;
|
|
395
464
|
paidAt: Timestamp | null;
|
|
396
465
|
paidStatus: Generated<string | null>;
|
|
466
|
+
recreatedFromTransactionId: string | null;
|
|
397
467
|
recurringFeeId: string | null;
|
|
398
468
|
recurringPattern: Json | null;
|
|
399
469
|
recurringTemplateId: string | null;
|
|
470
|
+
returnedFromTransactionId: string | null;
|
|
471
|
+
returnEffectiveAt: Timestamp | null;
|
|
400
472
|
/**
|
|
401
473
|
* Human-readable system ID (EXP/DEP/PAY/TRF-XXX-XXXX-XXX depending on transaction.type).
|
|
402
474
|
*/
|
|
@@ -460,6 +532,9 @@ export interface AuditAction {
|
|
|
460
532
|
actorId: string | null;
|
|
461
533
|
actorLabel: string | null;
|
|
462
534
|
actorName: string | null;
|
|
535
|
+
actorOrganizationId: string | null;
|
|
536
|
+
actorOrganizationName: string | null;
|
|
537
|
+
actorOrganizationType: AuditActorOrganizationType | null;
|
|
463
538
|
actorType: AuditActionActorType;
|
|
464
539
|
apiVersion: string;
|
|
465
540
|
createdAt: Generated<Timestamp>;
|
|
@@ -467,7 +542,7 @@ export interface AuditAction {
|
|
|
467
542
|
message: string | null;
|
|
468
543
|
parentActionId: string | null;
|
|
469
544
|
payload: Json | null;
|
|
470
|
-
publicEventProjectedAt:
|
|
545
|
+
publicEventProjectedAt: Timestamp | null;
|
|
471
546
|
requestId: string | null;
|
|
472
547
|
rootEntityId: string | null;
|
|
473
548
|
rootEntityType: string | null;
|
|
@@ -565,6 +640,7 @@ export interface AuditMutation {
|
|
|
565
640
|
id: Generated<string>;
|
|
566
641
|
op: string;
|
|
567
642
|
publicChanges: Generated<Json>;
|
|
643
|
+
publicOutcome: Json | null;
|
|
568
644
|
rootEntityId: string | null;
|
|
569
645
|
rootEntityType: string | null;
|
|
570
646
|
subjectId: string;
|
|
@@ -580,22 +656,28 @@ export interface AuditPublicEvent {
|
|
|
580
656
|
actorId: string | null;
|
|
581
657
|
actorLabel: string | null;
|
|
582
658
|
actorName: string | null;
|
|
659
|
+
actorOrganizationId: string | null;
|
|
660
|
+
actorOrganizationName: string | null;
|
|
661
|
+
actorOrganizationType: AuditActorOrganizationType | null;
|
|
583
662
|
actorType: AuditActionActorType;
|
|
584
663
|
affectedAccountIds: Generated<string[]>;
|
|
664
|
+
attemptedEntityChanges: Generated<Json>;
|
|
665
|
+
blockedBy: Generated<Json>;
|
|
585
666
|
changedEntityTypes: Generated<string[]>;
|
|
586
667
|
changedPaths: Generated<string[]>;
|
|
587
668
|
entityChanges: Generated<Json>;
|
|
588
669
|
entityName: string | null;
|
|
589
670
|
entityUniqueRef: string | null;
|
|
590
|
-
id: Generated<string>;
|
|
591
671
|
hasChanges: Generated<boolean>;
|
|
672
|
+
id: Generated<string>;
|
|
592
673
|
netEffect: Generated<Json>;
|
|
593
674
|
occurredAt: Timestamp;
|
|
594
675
|
operation: AuditPublicEventOperation;
|
|
595
|
-
projectionFingerprint: string;
|
|
596
676
|
projectedAt: Generated<Timestamp>;
|
|
677
|
+
projectionFingerprint: string;
|
|
597
678
|
projectionVersion: Generated<number>;
|
|
598
679
|
requestId: string | null;
|
|
680
|
+
recovery: Generated<Json>;
|
|
599
681
|
revision: Generated<number>;
|
|
600
682
|
rootEntityId: string;
|
|
601
683
|
rootEntityType: string;
|
|
@@ -626,9 +708,42 @@ export interface AuditPublicEventProjectionState {
|
|
|
626
708
|
retainedFrom: Timestamp | null;
|
|
627
709
|
singleton: Generated<boolean>;
|
|
628
710
|
}
|
|
711
|
+
export interface BillingListingFact {
|
|
712
|
+
activeListings: number;
|
|
713
|
+
billingPartnerId: string | null;
|
|
714
|
+
dataRegion: string;
|
|
715
|
+
effectiveAt: Timestamp;
|
|
716
|
+
id: Generated<string>;
|
|
717
|
+
reconciliation: Generated<boolean>;
|
|
718
|
+
recordedAt: Generated<Timestamp>;
|
|
719
|
+
sourceId: string;
|
|
720
|
+
sourceRevision: Int8 | null;
|
|
721
|
+
sourceType: BillingListingFactSourceType;
|
|
722
|
+
tenantId: string;
|
|
723
|
+
tenantName: string;
|
|
724
|
+
}
|
|
725
|
+
export interface BillingListingFactReadiness {
|
|
726
|
+
availableFrom: Timestamp | null;
|
|
727
|
+
legacyGapCount: number | null;
|
|
728
|
+
legacyImportedRows: number | null;
|
|
729
|
+
parityConfirmed: Generated<boolean>;
|
|
730
|
+
readyAt: Timestamp | null;
|
|
731
|
+
singleton: Generated<boolean>;
|
|
732
|
+
verifiedMonth: Timestamp | null;
|
|
733
|
+
}
|
|
629
734
|
export interface CoreActiveStatus {
|
|
630
735
|
name: string;
|
|
631
736
|
}
|
|
737
|
+
export interface CoreAsyncOperationResult {
|
|
738
|
+
createdAt: Generated<Timestamp>;
|
|
739
|
+
errorMessage: string | null;
|
|
740
|
+
operationId: string;
|
|
741
|
+
result: Json | null;
|
|
742
|
+
status: Generated<CoreAsyncOperationResultStatus>;
|
|
743
|
+
tenantId: string;
|
|
744
|
+
type: CoreOperationType;
|
|
745
|
+
updatedAt: Generated<Timestamp>;
|
|
746
|
+
}
|
|
632
747
|
export interface CoreChange {
|
|
633
748
|
automationId: string | null;
|
|
634
749
|
changeData: Json | null;
|
|
@@ -680,6 +795,32 @@ export interface CoreChangeSyncType {
|
|
|
680
795
|
export interface CoreChangeType {
|
|
681
796
|
name: string;
|
|
682
797
|
}
|
|
798
|
+
export interface CoreCsvOperationResult {
|
|
799
|
+
connectionId: string;
|
|
800
|
+
createdAt: Generated<Timestamp>;
|
|
801
|
+
errorMessage: string | null;
|
|
802
|
+
kind: CoreCsvOperationResultKind;
|
|
803
|
+
result: Json | null;
|
|
804
|
+
status: Generated<CoreCsvOperationResultStatus>;
|
|
805
|
+
syncId: string;
|
|
806
|
+
tenantId: string;
|
|
807
|
+
updatedAt: Generated<Timestamp>;
|
|
808
|
+
}
|
|
809
|
+
export interface CoreExportJob {
|
|
810
|
+
createdAt: Generated<Timestamp>;
|
|
811
|
+
errorMessage: string | null;
|
|
812
|
+
fileId: string;
|
|
813
|
+
filename: string;
|
|
814
|
+
finishedAt: Timestamp | null;
|
|
815
|
+
format: CoreExportJobFormat;
|
|
816
|
+
id: string;
|
|
817
|
+
payload: Json;
|
|
818
|
+
startedAt: Timestamp | null;
|
|
819
|
+
status: Generated<CoreOperationStatus>;
|
|
820
|
+
taskId: CoreExportJobTaskId;
|
|
821
|
+
tenantId: string;
|
|
822
|
+
updatedAt: Generated<Timestamp>;
|
|
823
|
+
}
|
|
683
824
|
export interface CoreFlow {
|
|
684
825
|
appId: string;
|
|
685
826
|
description: string | null;
|
|
@@ -696,6 +837,64 @@ export interface CoreFlow {
|
|
|
696
837
|
uniqueRef: string;
|
|
697
838
|
useGlobalMapping: Generated<boolean>;
|
|
698
839
|
}
|
|
840
|
+
export interface CoreFlowEvent {
|
|
841
|
+
attempts: Generated<number>;
|
|
842
|
+
availableAt: Generated<Timestamp>;
|
|
843
|
+
claimedAt: Timestamp | null;
|
|
844
|
+
claimedBy: string | null;
|
|
845
|
+
completedAt: Timestamp | null;
|
|
846
|
+
createdAt: Generated<Timestamp>;
|
|
847
|
+
data: Generated<Json>;
|
|
848
|
+
entityId: string;
|
|
849
|
+
entityType: string;
|
|
850
|
+
eventType: string;
|
|
851
|
+
id: Generated<string>;
|
|
852
|
+
lastErrorCode: string | null;
|
|
853
|
+
lastErrorDetails: Json | null;
|
|
854
|
+
maxAttempts: Generated<number>;
|
|
855
|
+
requiresSensitiveInput: Generated<boolean>;
|
|
856
|
+
status: Generated<CoreFlowEventStatus>;
|
|
857
|
+
syncId: string | null;
|
|
858
|
+
targetConnectionId: string | null;
|
|
859
|
+
targetFlowId: string | null;
|
|
860
|
+
tenantId: string;
|
|
861
|
+
updatedAt: Generated<Timestamp>;
|
|
862
|
+
}
|
|
863
|
+
export interface CoreFlowEventDelivery {
|
|
864
|
+
attempts: Generated<number>;
|
|
865
|
+
availableAt: Generated<Timestamp>;
|
|
866
|
+
claimedAt: Timestamp | null;
|
|
867
|
+
claimedBy: string | null;
|
|
868
|
+
completedAt: Timestamp | null;
|
|
869
|
+
connectionId: string;
|
|
870
|
+
createdAt: Generated<Timestamp>;
|
|
871
|
+
eventId: string;
|
|
872
|
+
flowId: string;
|
|
873
|
+
id: Generated<string>;
|
|
874
|
+
lastErrorCode: string | null;
|
|
875
|
+
lastErrorDetails: Json | null;
|
|
876
|
+
maxAttempts: Generated<number>;
|
|
877
|
+
status: Generated<CoreFlowEventStatus>;
|
|
878
|
+
tenantId: string;
|
|
879
|
+
triggerRunId: string | null;
|
|
880
|
+
updatedAt: Generated<Timestamp>;
|
|
881
|
+
}
|
|
882
|
+
export interface CoreFlowEventOperation {
|
|
883
|
+
action: CoreFlowEventOperationAction;
|
|
884
|
+
actor: string;
|
|
885
|
+
createdAt: Generated<Timestamp>;
|
|
886
|
+
eventId: string;
|
|
887
|
+
id: Generated<string>;
|
|
888
|
+
previousStatus: CoreFlowEventStatus;
|
|
889
|
+
reasonCode: string;
|
|
890
|
+
}
|
|
891
|
+
export interface CoreFlowEventSecret {
|
|
892
|
+
createdAt: Generated<Timestamp>;
|
|
893
|
+
encryptedPayload: string;
|
|
894
|
+
encryptionKeyId: string;
|
|
895
|
+
eventId: string;
|
|
896
|
+
expiresAt: Timestamp;
|
|
897
|
+
}
|
|
699
898
|
export interface CoreFlowMapping {
|
|
700
899
|
accountId: string | null;
|
|
701
900
|
bookingChannelId: string | null;
|
|
@@ -734,6 +933,56 @@ export interface CoreIssueMessageOverwrite {
|
|
|
734
933
|
pattern: string;
|
|
735
934
|
updatedAt: Generated<Timestamp | null>;
|
|
736
935
|
}
|
|
936
|
+
export interface CoreOperation {
|
|
937
|
+
createdAt: Generated<Timestamp>;
|
|
938
|
+
failureCode: string | null;
|
|
939
|
+
failureMessage: string | null;
|
|
940
|
+
finishedAt: Timestamp | null;
|
|
941
|
+
id: Generated<string>;
|
|
942
|
+
initiatedByUserId: string | null;
|
|
943
|
+
publicIdFormat: Generated<CoreOperationPublicIdFormat>;
|
|
944
|
+
retainUntil: Timestamp | null;
|
|
945
|
+
sourceVersion: Generated<Int8>;
|
|
946
|
+
startedAt: Timestamp | null;
|
|
947
|
+
status: Generated<CoreOperationStatus>;
|
|
948
|
+
tenantId: string;
|
|
949
|
+
type: CoreOperationType;
|
|
950
|
+
updatedAt: Generated<Timestamp>;
|
|
951
|
+
}
|
|
952
|
+
export interface CoreOperationBackfill {
|
|
953
|
+
completedAt: Timestamp | null;
|
|
954
|
+
createdAt: Generated<Timestamp>;
|
|
955
|
+
name: string;
|
|
956
|
+
updatedAt: Generated<Timestamp>;
|
|
957
|
+
}
|
|
958
|
+
export interface CoreOperationProjectionOutbox {
|
|
959
|
+
attempts: Generated<number>;
|
|
960
|
+
availableAt: Generated<Timestamp>;
|
|
961
|
+
createdAt: Generated<Timestamp>;
|
|
962
|
+
id: Generated<string>;
|
|
963
|
+
lastError: string | null;
|
|
964
|
+
operationId: string;
|
|
965
|
+
publishedAt: Timestamp | null;
|
|
966
|
+
sourceVersion: Int8;
|
|
967
|
+
}
|
|
968
|
+
export interface CoreOperationResource {
|
|
969
|
+
createdAt: Generated<Timestamp>;
|
|
970
|
+
isPrimary: Generated<boolean>;
|
|
971
|
+
operationId: string;
|
|
972
|
+
resourceId: string;
|
|
973
|
+
resourceType: CoreOperationResourceType;
|
|
974
|
+
role: CoreOperationResourceRole;
|
|
975
|
+
}
|
|
976
|
+
export interface CoreOperationSource {
|
|
977
|
+
finishedAt: Timestamp | null;
|
|
978
|
+
operationId: string;
|
|
979
|
+
required: Generated<boolean>;
|
|
980
|
+
sourceId: string;
|
|
981
|
+
sourceType: CoreOperationSourceType;
|
|
982
|
+
sourceVersion: Generated<Int8>;
|
|
983
|
+
startedAt: Timestamp | null;
|
|
984
|
+
status: Generated<CoreOperationStatus>;
|
|
985
|
+
}
|
|
737
986
|
export interface CoreSync {
|
|
738
987
|
automationId: string | null;
|
|
739
988
|
connectionId: string | null;
|
|
@@ -876,6 +1125,207 @@ export interface HdbCatalogHdbVersion {
|
|
|
876
1125
|
upgradedOn: Timestamp;
|
|
877
1126
|
version: string;
|
|
878
1127
|
}
|
|
1128
|
+
export interface HealthAccountingIntegrityCase {
|
|
1129
|
+
actionability: HealthAccountingIntegrityActionability;
|
|
1130
|
+
actual: Json;
|
|
1131
|
+
assignedAt: Timestamp | null;
|
|
1132
|
+
assignedTo: string | null;
|
|
1133
|
+
caseKey: string;
|
|
1134
|
+
code: string;
|
|
1135
|
+
confidence: HealthAccountingIntegrityConfidence;
|
|
1136
|
+
contentHash: string;
|
|
1137
|
+
createdAt: Generated<Timestamp>;
|
|
1138
|
+
dataRegion: string;
|
|
1139
|
+
definitionVersion: number;
|
|
1140
|
+
evidence: Json;
|
|
1141
|
+
evidenceComplete: boolean;
|
|
1142
|
+
expected: Json;
|
|
1143
|
+
firstSeenAt: Timestamp;
|
|
1144
|
+
gitRevision: string;
|
|
1145
|
+
historicalIssueRefs: Json;
|
|
1146
|
+
id: Generated<string>;
|
|
1147
|
+
impact: Json;
|
|
1148
|
+
lastChangedAt: Timestamp;
|
|
1149
|
+
lastSeenAt: Timestamp;
|
|
1150
|
+
lockAssessment: Json;
|
|
1151
|
+
portalUrls: Json;
|
|
1152
|
+
repair: Json;
|
|
1153
|
+
resolutionClassification: HealthAccountingIntegrityResolutionClassification;
|
|
1154
|
+
resolvedAt: Timestamp | null;
|
|
1155
|
+
reviewedAt: Timestamp | null;
|
|
1156
|
+
reviewedBy: string | null;
|
|
1157
|
+
reviewRationale: string | null;
|
|
1158
|
+
reviewStatus: Generated<HealthAccountingIntegrityReviewStatus>;
|
|
1159
|
+
rootCause: string;
|
|
1160
|
+
runId: string;
|
|
1161
|
+
severity: HealthAccountingIntegritySeverity;
|
|
1162
|
+
status: HealthAccountingIntegrityCaseStatus;
|
|
1163
|
+
tenantId: string;
|
|
1164
|
+
title: string;
|
|
1165
|
+
updatedAt: Generated<Timestamp>;
|
|
1166
|
+
urgency: HealthAccountingIntegrityUrgency;
|
|
1167
|
+
verification: Json;
|
|
1168
|
+
version: Generated<Int8>;
|
|
1169
|
+
}
|
|
1170
|
+
export interface HealthAccountingIntegrityDelivery {
|
|
1171
|
+
attempts: Generated<number>;
|
|
1172
|
+
caseId: string | null;
|
|
1173
|
+
channel: HealthAccountingIntegrityDeliveryChannel;
|
|
1174
|
+
claimedAt: Timestamp | null;
|
|
1175
|
+
claimId: string | null;
|
|
1176
|
+
createdAt: Generated<Timestamp>;
|
|
1177
|
+
dedupeKey: string;
|
|
1178
|
+
deliveredAt: Timestamp | null;
|
|
1179
|
+
eventType: string;
|
|
1180
|
+
id: Generated<string>;
|
|
1181
|
+
lastError: Json | null;
|
|
1182
|
+
nextAttemptAt: Generated<Timestamp>;
|
|
1183
|
+
payload: Json;
|
|
1184
|
+
result: Json | null;
|
|
1185
|
+
runId: string;
|
|
1186
|
+
status: Generated<HealthAccountingIntegrityDeliveryStatus>;
|
|
1187
|
+
updatedAt: Generated<Timestamp>;
|
|
1188
|
+
}
|
|
1189
|
+
export interface HealthAccountingIntegrityOperatorEvent {
|
|
1190
|
+
actorId: string;
|
|
1191
|
+
caseId: string | null;
|
|
1192
|
+
caseVersion: Int8 | null;
|
|
1193
|
+
client: string;
|
|
1194
|
+
createdAt: Generated<Timestamp>;
|
|
1195
|
+
id: Generated<string>;
|
|
1196
|
+
idempotencyKey: string;
|
|
1197
|
+
payload: Json;
|
|
1198
|
+
planId: string | null;
|
|
1199
|
+
rationale: string | null;
|
|
1200
|
+
requestId: string;
|
|
1201
|
+
stageId: string | null;
|
|
1202
|
+
targetId: string | null;
|
|
1203
|
+
type: string;
|
|
1204
|
+
}
|
|
1205
|
+
export interface HealthAccountingIntegrityRepairPlan {
|
|
1206
|
+
canceledAt: Timestamp | null;
|
|
1207
|
+
code: string;
|
|
1208
|
+
completedAt: Timestamp | null;
|
|
1209
|
+
createdAt: Generated<Timestamp>;
|
|
1210
|
+
createdBy: string;
|
|
1211
|
+
dataRegion: string;
|
|
1212
|
+
environment: string;
|
|
1213
|
+
gitRevision: string;
|
|
1214
|
+
id: Generated<string>;
|
|
1215
|
+
linearRef: string | null;
|
|
1216
|
+
recipeVersion: number;
|
|
1217
|
+
status: Generated<HealthAccountingIntegrityRepairPlanStatus>;
|
|
1218
|
+
title: string;
|
|
1219
|
+
updatedAt: Generated<Timestamp>;
|
|
1220
|
+
}
|
|
1221
|
+
export interface HealthAccountingIntegrityRepairStage {
|
|
1222
|
+
applyResult: Json | null;
|
|
1223
|
+
approvalRef: string | null;
|
|
1224
|
+
approvedAt: Timestamp | null;
|
|
1225
|
+
approvedBy: string | null;
|
|
1226
|
+
completedAt: Timestamp | null;
|
|
1227
|
+
createdAt: Generated<Timestamp>;
|
|
1228
|
+
dryRunResult: Json | null;
|
|
1229
|
+
id: Generated<string>;
|
|
1230
|
+
limits: Json;
|
|
1231
|
+
manifest: Json;
|
|
1232
|
+
manifestHash: string;
|
|
1233
|
+
ordinal: number;
|
|
1234
|
+
planId: string;
|
|
1235
|
+
scopeType: HealthAccountingIntegrityRepairScopeType;
|
|
1236
|
+
startedAt: Timestamp | null;
|
|
1237
|
+
status: Generated<HealthAccountingIntegrityRepairStageStatus>;
|
|
1238
|
+
tenantId: string;
|
|
1239
|
+
updatedAt: Generated<Timestamp>;
|
|
1240
|
+
verificationResult: Json | null;
|
|
1241
|
+
}
|
|
1242
|
+
export interface HealthAccountingIntegrityRepairTarget {
|
|
1243
|
+
action: Json;
|
|
1244
|
+
applyResult: Json | null;
|
|
1245
|
+
auditActionId: string | null;
|
|
1246
|
+
beforeHash: string;
|
|
1247
|
+
beforeState: Json;
|
|
1248
|
+
caseContentHash: string;
|
|
1249
|
+
caseId: string;
|
|
1250
|
+
caseVersion: Int8;
|
|
1251
|
+
completedAt: Timestamp | null;
|
|
1252
|
+
createdAt: Generated<Timestamp>;
|
|
1253
|
+
effectPlan: Json;
|
|
1254
|
+
expectedResult: Json;
|
|
1255
|
+
id: Generated<string>;
|
|
1256
|
+
idempotencyKey: string;
|
|
1257
|
+
lockAssessment: Json;
|
|
1258
|
+
ordinal: number;
|
|
1259
|
+
stageId: string;
|
|
1260
|
+
startedAt: Timestamp | null;
|
|
1261
|
+
status: Generated<HealthAccountingIntegrityRepairTargetStatus>;
|
|
1262
|
+
targetKey: string;
|
|
1263
|
+
tenantId: string;
|
|
1264
|
+
updatedAt: Generated<Timestamp>;
|
|
1265
|
+
verificationResult: Json | null;
|
|
1266
|
+
}
|
|
1267
|
+
export interface HealthAccountingIntegrityRepairTransition {
|
|
1268
|
+
actor: string;
|
|
1269
|
+
createdAt: Generated<Timestamp>;
|
|
1270
|
+
id: Generated<string>;
|
|
1271
|
+
payload: Json;
|
|
1272
|
+
planId: string;
|
|
1273
|
+
stageId: string | null;
|
|
1274
|
+
targetId: string | null;
|
|
1275
|
+
type: HealthAccountingIntegrityRepairTransitionType;
|
|
1276
|
+
}
|
|
1277
|
+
export interface HealthAccountingIntegrityRun {
|
|
1278
|
+
caseCount: Generated<Int8>;
|
|
1279
|
+
changedCaseCount: Generated<Int8>;
|
|
1280
|
+
code: string;
|
|
1281
|
+
completedAt: Timestamp | null;
|
|
1282
|
+
createdAt: Generated<Timestamp>;
|
|
1283
|
+
dataRegion: string;
|
|
1284
|
+
definitionArtifactHash: string | null;
|
|
1285
|
+
definitionTemplateId: string | null;
|
|
1286
|
+
definitionTemplateVersion: number | null;
|
|
1287
|
+
definitionVersion: number;
|
|
1288
|
+
definitionVersionId: string | null;
|
|
1289
|
+
environment: string;
|
|
1290
|
+
error: Json | null;
|
|
1291
|
+
evaluationId: string;
|
|
1292
|
+
findingRowCount: Generated<Int8>;
|
|
1293
|
+
gitRevision: string;
|
|
1294
|
+
id: Generated<string>;
|
|
1295
|
+
openedCaseCount: Generated<Int8>;
|
|
1296
|
+
operatorDefinitionVersion: number | null;
|
|
1297
|
+
reopenedCaseCount: Generated<Int8>;
|
|
1298
|
+
resolvedCaseCount: Generated<Int8>;
|
|
1299
|
+
resolvesCases: Generated<boolean>;
|
|
1300
|
+
rowsScanned: Generated<Int8>;
|
|
1301
|
+
scopeTenantIds: string[] | null;
|
|
1302
|
+
shardKey: Generated<string>;
|
|
1303
|
+
startedAt: Timestamp;
|
|
1304
|
+
status: HealthAccountingIntegrityRunStatus;
|
|
1305
|
+
unchangedCaseCount: Generated<Int8>;
|
|
1306
|
+
updatedAt: Generated<Timestamp>;
|
|
1307
|
+
}
|
|
1308
|
+
export interface HealthAccountingIntegrityTransition {
|
|
1309
|
+
caseId: string;
|
|
1310
|
+
caseVersion: Int8;
|
|
1311
|
+
createdAt: Generated<Timestamp>;
|
|
1312
|
+
id: Generated<string>;
|
|
1313
|
+
payload: Json;
|
|
1314
|
+
runId: string;
|
|
1315
|
+
type: HealthAccountingIntegrityTransitionType;
|
|
1316
|
+
}
|
|
1317
|
+
export interface HealthReservationIssueSnapshot {
|
|
1318
|
+
computedAt: Timestamp | null;
|
|
1319
|
+
computedVersion: Generated<Int8>;
|
|
1320
|
+
createdAt: Generated<Timestamp>;
|
|
1321
|
+
dirtyAt: Generated<Timestamp>;
|
|
1322
|
+
dirtyVersion: Generated<Int8>;
|
|
1323
|
+
issues: Generated<Json>;
|
|
1324
|
+
reservationId: string;
|
|
1325
|
+
tenantId: string;
|
|
1326
|
+
updatedAt: Generated<Timestamp>;
|
|
1327
|
+
version: Generated<Int8>;
|
|
1328
|
+
}
|
|
879
1329
|
export interface HealthTenantIssue {
|
|
880
1330
|
affected: number;
|
|
881
1331
|
category: HealthTenantIssueCategory;
|
|
@@ -896,6 +1346,16 @@ export interface HealthTenantIssue {
|
|
|
896
1346
|
updatedAt: Generated<Timestamp>;
|
|
897
1347
|
version: Int8;
|
|
898
1348
|
}
|
|
1349
|
+
export interface HealthTenantIssueRuleState {
|
|
1350
|
+
code: HealthTenantIssueCode;
|
|
1351
|
+
computedAt: Timestamp | null;
|
|
1352
|
+
computedVersion: Generated<Int8>;
|
|
1353
|
+
createdAt: Generated<Timestamp>;
|
|
1354
|
+
dirtyAt: Timestamp;
|
|
1355
|
+
dirtyVersion: Generated<Int8>;
|
|
1356
|
+
tenantId: string;
|
|
1357
|
+
updatedAt: Generated<Timestamp>;
|
|
1358
|
+
}
|
|
899
1359
|
export interface HealthTenantIssueSnapshot {
|
|
900
1360
|
computedAt: Timestamp | null;
|
|
901
1361
|
contentHash: string | null;
|
|
@@ -1198,6 +1658,36 @@ export interface PublicLatestDuplicateEmails {
|
|
|
1198
1658
|
name: string | null;
|
|
1199
1659
|
status: string | null;
|
|
1200
1660
|
}
|
|
1661
|
+
export interface PublicLineClassificationUsage {
|
|
1662
|
+
appId: string | null;
|
|
1663
|
+
createdAt: Generated<Timestamp>;
|
|
1664
|
+
firstSeenAt: Generated<Timestamp>;
|
|
1665
|
+
kind: string;
|
|
1666
|
+
lastError: string | null;
|
|
1667
|
+
lastSeenAt: Generated<Timestamp>;
|
|
1668
|
+
mappingStatus: string | null;
|
|
1669
|
+
name: string;
|
|
1670
|
+
reportAttempts: Generated<number>;
|
|
1671
|
+
reportedRevision: Generated<number>;
|
|
1672
|
+
revision: Generated<number>;
|
|
1673
|
+
tenantId: string;
|
|
1674
|
+
updatedAt: Generated<Timestamp>;
|
|
1675
|
+
}
|
|
1676
|
+
export interface PublicLineClassificationUsageBackfill {
|
|
1677
|
+
completedAt: Timestamp | null;
|
|
1678
|
+
cursorId: string | null;
|
|
1679
|
+
source: string;
|
|
1680
|
+
updatedAt: Generated<Timestamp>;
|
|
1681
|
+
}
|
|
1682
|
+
export interface PublicLineClassificationUsageCapture {
|
|
1683
|
+
createdAt: Generated<Timestamp>;
|
|
1684
|
+
firstSeenAt: Timestamp | null;
|
|
1685
|
+
id: Generated<string>;
|
|
1686
|
+
kind: string;
|
|
1687
|
+
lastSeenAt: Timestamp | null;
|
|
1688
|
+
name: string;
|
|
1689
|
+
tenantId: string;
|
|
1690
|
+
}
|
|
1201
1691
|
export interface PublicListing {
|
|
1202
1692
|
address: string | null;
|
|
1203
1693
|
addressCity: string | null;
|
|
@@ -1587,6 +2077,7 @@ export interface PublicRecurringFeeType {
|
|
|
1587
2077
|
name: string;
|
|
1588
2078
|
}
|
|
1589
2079
|
export interface PublicReservation {
|
|
2080
|
+
adults: number | null;
|
|
1590
2081
|
bookedAt: Generated<Timestamp | null>;
|
|
1591
2082
|
bookerName: string | null;
|
|
1592
2083
|
bookingPlatform: string | null;
|
|
@@ -1605,6 +2096,7 @@ export interface PublicReservation {
|
|
|
1605
2096
|
channelId: string | null;
|
|
1606
2097
|
checkIn: Timestamp | null;
|
|
1607
2098
|
checkOut: Timestamp | null;
|
|
2099
|
+
children: number | null;
|
|
1608
2100
|
confirmationCode: string | null;
|
|
1609
2101
|
connectionId: string | null;
|
|
1610
2102
|
createdAt: Generated<Timestamp | null>;
|
|
@@ -1828,9 +2320,13 @@ export interface PublicTenant {
|
|
|
1828
2320
|
isTest: Generated<boolean | null>;
|
|
1829
2321
|
logo: string | null;
|
|
1830
2322
|
longTermStayNights: number | null;
|
|
2323
|
+
migratedAt: Timestamp | null;
|
|
1831
2324
|
migratedFromTenantId: string | null;
|
|
2325
|
+
migratedToRegion: string | null;
|
|
2326
|
+
migrationStatus: Generated<string>;
|
|
1832
2327
|
name: string;
|
|
1833
2328
|
ownerPortalShowDraftStatements: boolean | null;
|
|
2329
|
+
partnerDeniedPermissions: Generated<string[]>;
|
|
1834
2330
|
partnerId: Generated<string | null>;
|
|
1835
2331
|
/**
|
|
1836
2332
|
* JSON column to hold team settings like "owner_portal_show_reservation_totals" or "owner_portal_show_draft_statements
|
|
@@ -1849,7 +2345,6 @@ export interface PublicTenant {
|
|
|
1849
2345
|
supportEmail: string | null;
|
|
1850
2346
|
supportPhone: string | null;
|
|
1851
2347
|
svixEndpoints: boolean | null;
|
|
1852
|
-
trialUntil: Timestamp | null;
|
|
1853
2348
|
type: Generated<string | null>;
|
|
1854
2349
|
uniqueRef: string | null;
|
|
1855
2350
|
updatedAt: Generated<Timestamp | null>;
|
|
@@ -1859,13 +2354,25 @@ export interface PublicTenantUser {
|
|
|
1859
2354
|
createdAt: Generated<Timestamp | null>;
|
|
1860
2355
|
id: Generated<string>;
|
|
1861
2356
|
lastInvitedAt: Timestamp | null;
|
|
2357
|
+
managedTeamAccess: Generated<"all" | "assigned">;
|
|
1862
2358
|
notificationPreferences: Generated<Json | null>;
|
|
2359
|
+
permissionBundles: Generated<string[]>;
|
|
1863
2360
|
role: Generated<string | null>;
|
|
1864
2361
|
status: Generated<string | null>;
|
|
1865
2362
|
tenantId: string;
|
|
1866
2363
|
updatedAt: Generated<Timestamp | null>;
|
|
1867
2364
|
userId: string;
|
|
1868
2365
|
}
|
|
2366
|
+
export interface PublicConnectionOauthState {
|
|
2367
|
+
appId: string;
|
|
2368
|
+
connectionId: string | null;
|
|
2369
|
+
expiresAt: Timestamp;
|
|
2370
|
+
params: JsonObject;
|
|
2371
|
+
redirectUri: string;
|
|
2372
|
+
stateHash: string;
|
|
2373
|
+
tenantId: string;
|
|
2374
|
+
userId: string;
|
|
2375
|
+
}
|
|
1869
2376
|
export interface PublicToken {
|
|
1870
2377
|
createdAt: Generated<Timestamp>;
|
|
1871
2378
|
expiresAt: Timestamp | null;
|
|
@@ -2102,10 +2609,13 @@ export interface WebhookSubscriptionSecret {
|
|
|
2102
2609
|
encryptionKeyId: string;
|
|
2103
2610
|
expiresAt: Timestamp | null;
|
|
2104
2611
|
id: Generated<string>;
|
|
2612
|
+
reencryptionFailedAt: Timestamp | null;
|
|
2613
|
+
reencryptionFailureCode: string | null;
|
|
2105
2614
|
revokedAt: Timestamp | null;
|
|
2106
2615
|
subscriptionId: string;
|
|
2107
2616
|
}
|
|
2108
2617
|
export interface DB {
|
|
2618
|
+
"public.connectionOauthState": PublicConnectionOauthState;
|
|
2109
2619
|
"accounting.account": AccountingAccount;
|
|
2110
2620
|
"accounting.accountAssignment": AccountingAccountAssignment;
|
|
2111
2621
|
"accounting.accountAssignmentLineType": AccountingAccountAssignmentLineType;
|
|
@@ -2143,6 +2653,10 @@ export interface DB {
|
|
|
2143
2653
|
"accounting.party": AccountingParty;
|
|
2144
2654
|
"accounting.rate": AccountingRate;
|
|
2145
2655
|
"accounting.rateType": AccountingRateType;
|
|
2656
|
+
"accounting.reservationJournalFreshnessControl": AccountingReservationJournalFreshnessControl;
|
|
2657
|
+
"accounting.reservationJournalInvalidation": AccountingReservationJournalInvalidation;
|
|
2658
|
+
"accounting.reservationJournalState": AccountingReservationJournalState;
|
|
2659
|
+
"accounting.reservationJournalStatementImpact": AccountingReservationJournalStatementImpact;
|
|
2146
2660
|
"accounting.taxBehavior": AccountingTaxBehavior;
|
|
2147
2661
|
"accounting.transaction": AccountingTransaction;
|
|
2148
2662
|
"accounting.transactionAttachment": AccountingTransactionAttachment;
|
|
@@ -2156,7 +2670,10 @@ export interface DB {
|
|
|
2156
2670
|
"audit.publicEvent": AuditPublicEvent;
|
|
2157
2671
|
"audit.publicEventEntryChange": AuditPublicEventEntryChange;
|
|
2158
2672
|
"audit.publicEventProjectionState": AuditPublicEventProjectionState;
|
|
2673
|
+
"billing.listingFact": BillingListingFact;
|
|
2674
|
+
"billing.listingFactReadiness": BillingListingFactReadiness;
|
|
2159
2675
|
"core.activeStatus": CoreActiveStatus;
|
|
2676
|
+
"core.asyncOperationResult": CoreAsyncOperationResult;
|
|
2160
2677
|
"core.change": CoreChange;
|
|
2161
2678
|
"core.changeEntityType": CoreChangeEntityType;
|
|
2162
2679
|
"core.changeLink": CoreChangeLink;
|
|
@@ -2164,10 +2681,21 @@ export interface DB {
|
|
|
2164
2681
|
"core.changeStatus": CoreChangeStatus;
|
|
2165
2682
|
"core.changeSyncType": CoreChangeSyncType;
|
|
2166
2683
|
"core.changeType": CoreChangeType;
|
|
2684
|
+
"core.csvOperationResult": CoreCsvOperationResult;
|
|
2685
|
+
"core.exportJob": CoreExportJob;
|
|
2167
2686
|
"core.flow": CoreFlow;
|
|
2687
|
+
"core.flowEvent": CoreFlowEvent;
|
|
2688
|
+
"core.flowEventDelivery": CoreFlowEventDelivery;
|
|
2689
|
+
"core.flowEventOperation": CoreFlowEventOperation;
|
|
2690
|
+
"core.flowEventSecret": CoreFlowEventSecret;
|
|
2168
2691
|
"core.flowMapping": CoreFlowMapping;
|
|
2169
2692
|
"core.flowSetting": CoreFlowSetting;
|
|
2170
2693
|
"core.issueMessageOverwrite": CoreIssueMessageOverwrite;
|
|
2694
|
+
"core.operation": CoreOperation;
|
|
2695
|
+
"core.operationBackfill": CoreOperationBackfill;
|
|
2696
|
+
"core.operationProjectionOutbox": CoreOperationProjectionOutbox;
|
|
2697
|
+
"core.operationResource": CoreOperationResource;
|
|
2698
|
+
"core.operationSource": CoreOperationSource;
|
|
2171
2699
|
"core.sync": CoreSync;
|
|
2172
2700
|
"core.syncStatus": CoreSyncStatus;
|
|
2173
2701
|
"core.syncSubtask": CoreSyncSubtask;
|
|
@@ -2184,7 +2712,18 @@ export interface DB {
|
|
|
2184
2712
|
"hdbCatalog.hdbSchemaNotifications": HdbCatalogHdbSchemaNotifications;
|
|
2185
2713
|
"hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
|
|
2186
2714
|
"hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
|
|
2715
|
+
"health.accountingIntegrityCase": HealthAccountingIntegrityCase;
|
|
2716
|
+
"health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
|
|
2717
|
+
"health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
|
|
2718
|
+
"health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
|
|
2719
|
+
"health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
|
|
2720
|
+
"health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;
|
|
2721
|
+
"health.accountingIntegrityRepairTransition": HealthAccountingIntegrityRepairTransition;
|
|
2722
|
+
"health.accountingIntegrityRun": HealthAccountingIntegrityRun;
|
|
2723
|
+
"health.accountingIntegrityTransition": HealthAccountingIntegrityTransition;
|
|
2724
|
+
"health.reservationIssueSnapshot": HealthReservationIssueSnapshot;
|
|
2187
2725
|
"health.tenantIssue": HealthTenantIssue;
|
|
2726
|
+
"health.tenantIssueRuleState": HealthTenantIssueRuleState;
|
|
2188
2727
|
"health.tenantIssueSnapshot": HealthTenantIssueSnapshot;
|
|
2189
2728
|
"public.accountCollection": PublicAccountCollection;
|
|
2190
2729
|
"public.accountCollectionType": PublicAccountCollectionType;
|
|
@@ -2213,6 +2752,9 @@ export interface DB {
|
|
|
2213
2752
|
"public.fileStorageSourceLink": PublicFileStorageSourceLink;
|
|
2214
2753
|
"public.fileStorageTag": PublicFileStorageTag;
|
|
2215
2754
|
"public.latestDuplicateEmails": PublicLatestDuplicateEmails;
|
|
2755
|
+
"public.lineClassificationUsage": PublicLineClassificationUsage;
|
|
2756
|
+
"public.lineClassificationUsageBackfill": PublicLineClassificationUsageBackfill;
|
|
2757
|
+
"public.lineClassificationUsageCapture": PublicLineClassificationUsageCapture;
|
|
2216
2758
|
"public.listing": PublicListing;
|
|
2217
2759
|
"public.listingCollection": PublicListingCollection;
|
|
2218
2760
|
"public.listingConnection": PublicListingConnection;
|