@vrplatform/kysely 1.3.45-stage.6066 → 1.3.45-stage.607
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 +312 -0
- package/build/main/control-plane/index.js.map +1 -1
- package/build/main/index.d.ts +13 -2
- package/build/main/index.js +217 -23
- package/build/main/index.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.js +110 -8
- 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.js +2 -6
- package/build/main/query/listing/status.js.map +1 -1
- package/build/main/query/tenant/status.d.ts +1 -1
- package/build/main/query/tenant/status.js +6 -4
- package/build/main/query/tenant/status.js.map +1 -1
- package/build/main/regional.d.ts +1 -0
- package/build/main/regional.js +1 -0
- package/build/main/regional.js.map +1 -1
- package/build/main/test/index.d.ts +23 -3
- package/build/main/test/index.js +35 -13
- package/build/main/test/index.js.map +1 -1
- package/build/main/v1.generated.d.ts +560 -8
- package/build/main/v1.generated.js.map +1 -1
- 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/migrations-v2/0000000000052-fee-journal-lock-skip-operations.ts +59 -0
- package/build/migrations-v2/0000000000053-fee-journal-lock-skip-null-attempt.ts +44 -0
- package/build/migrations-v2/0000000000054-journal-refresh-issue-codes.ts +16 -0
- package/build/migrations-v2/0000000000055-tenant-billing-subscription.ts +8 -0
- package/build/module/control-plane/index.d.ts +312 -0
- package/build/module/control-plane/index.js.map +1 -1
- package/build/module/index.d.ts +13 -2
- package/build/module/index.js +219 -24
- package/build/module/index.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.js +110 -8
- 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.js +2 -6
- package/build/module/query/listing/status.js.map +1 -1
- package/build/module/query/tenant/status.d.ts +1 -1
- package/build/module/query/tenant/status.js +6 -4
- package/build/module/query/tenant/status.js.map +1 -1
- package/build/module/regional.d.ts +1 -0
- package/build/module/regional.js +1 -0
- package/build/module/regional.js.map +1 -1
- package/build/module/test/index.d.ts +23 -3
- package/build/module/test/index.js +34 -13
- package/build/module/test/index.js.map +1 -1
- package/build/module/v1.generated.d.ts +560 -8
- package/build/module/v1.generated.js.map +1 -1
- package/package.json +4 -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,10 +14,44 @@ 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
|
-
export type HealthTenantIssueCode = "brokenConnections" | "cancelledReservationPaidWithoutAdjustment" | "closedPeriodUnattachedJournalEntries" | "duplicatedPayments" | "endedOwnershipNonZeroBalance" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "missingOwnershipOrDeactivation" | "operatingBankAccountsWithoutOpex" | "outdatedConnections" | "partnerBillingInactive" | "partnerInactive" | "pmsMissingAccountingStart" | "publishedStatementUnpaid" | "reservationCurrencyMismatch" | "reservationGuestTotalsMismatch" | "reservationPaymentProjectionMismatch" | "teamInactive" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "unpaidReservations";
|
|
54
|
+
export type HealthTenantIssueCode = "brokenConnections" | "cancelledReservationPaidWithoutAdjustment" | "closedPeriodUnattachedJournalEntries" | "duplicatedPayments" | "endedOwnershipNonZeroBalance" | "journalConfigurationInvalid" | "journalLocked" | "journalUnbalanced" | "listingOwnershipPeriodNotFoundOnActiveJournals" | "missingOwnershipOrDeactivation" | "operatingBankAccountsWithoutOpex" | "outdatedConnections" | "partnerBillingInactive" | "partnerInactive" | "pmsMissingAccountingStart" | "publishedStatementUnpaid" | "reservationCurrencyMismatch" | "reservationGuestTotalsMismatch" | "reservationPaymentProjectionMismatch" | "teamInactive" | "unbalancedJournalEntries" | "unbalancedTransactionJournalEntries" | "unpaidReservations";
|
|
21
55
|
export type HealthTenantIssueSeverity = "error" | "warning";
|
|
22
56
|
export type HealthTenantIssueStatus = "open" | "resolved";
|
|
23
57
|
export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>;
|
|
@@ -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>;
|
|
@@ -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,8 +659,13 @@ 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>;
|
|
@@ -596,6 +680,7 @@ export interface AuditPublicEvent {
|
|
|
596
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,195 @@ 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
|
+
}
|
|
879
1350
|
export interface HealthReservationIssueSnapshot {
|
|
880
1351
|
computedAt: Timestamp | null;
|
|
881
1352
|
computedVersion: Generated<Int8>;
|
|
@@ -1220,6 +1691,36 @@ export interface PublicLatestDuplicateEmails {
|
|
|
1220
1691
|
name: string | null;
|
|
1221
1692
|
status: string | null;
|
|
1222
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
|
+
}
|
|
1223
1724
|
export interface PublicListing {
|
|
1224
1725
|
address: string | null;
|
|
1225
1726
|
addressCity: string | null;
|
|
@@ -1609,6 +2110,7 @@ export interface PublicRecurringFeeType {
|
|
|
1609
2110
|
name: string;
|
|
1610
2111
|
}
|
|
1611
2112
|
export interface PublicReservation {
|
|
2113
|
+
adults: number | null;
|
|
1612
2114
|
bookedAt: Generated<Timestamp | null>;
|
|
1613
2115
|
bookerName: string | null;
|
|
1614
2116
|
bookingPlatform: string | null;
|
|
@@ -1627,6 +2129,7 @@ export interface PublicReservation {
|
|
|
1627
2129
|
channelId: string | null;
|
|
1628
2130
|
checkIn: Timestamp | null;
|
|
1629
2131
|
checkOut: Timestamp | null;
|
|
2132
|
+
children: number | null;
|
|
1630
2133
|
confirmationCode: string | null;
|
|
1631
2134
|
connectionId: string | null;
|
|
1632
2135
|
createdAt: Generated<Timestamp | null>;
|
|
@@ -1813,6 +2316,7 @@ export interface PublicTenant {
|
|
|
1813
2316
|
billingAddressData: Json | null;
|
|
1814
2317
|
billingAddressId: string | null;
|
|
1815
2318
|
billingCustomerId: string | null;
|
|
2319
|
+
billingSubscriptionId: string | null;
|
|
1816
2320
|
billingPartnerId: string | null;
|
|
1817
2321
|
billingPaymentMethodType: string | null;
|
|
1818
2322
|
billingPlan: string | null;
|
|
@@ -1850,11 +2354,14 @@ export interface PublicTenant {
|
|
|
1850
2354
|
isTest: Generated<boolean | null>;
|
|
1851
2355
|
logo: string | null;
|
|
1852
2356
|
longTermStayNights: number | null;
|
|
2357
|
+
migratedAt: Timestamp | null;
|
|
1853
2358
|
migratedFromTenantId: string | null;
|
|
2359
|
+
migratedToRegion: string | null;
|
|
2360
|
+
migrationStatus: Generated<string>;
|
|
1854
2361
|
name: string;
|
|
1855
2362
|
ownerPortalShowDraftStatements: boolean | null;
|
|
1856
|
-
partnerId: Generated<string | null>;
|
|
1857
2363
|
partnerDeniedPermissions: Generated<string[]>;
|
|
2364
|
+
partnerId: Generated<string | null>;
|
|
1858
2365
|
/**
|
|
1859
2366
|
* JSON column to hold team settings like "owner_portal_show_reservation_totals" or "owner_portal_show_draft_statements
|
|
1860
2367
|
*/
|
|
@@ -1872,7 +2379,6 @@ export interface PublicTenant {
|
|
|
1872
2379
|
supportEmail: string | null;
|
|
1873
2380
|
supportPhone: string | null;
|
|
1874
2381
|
svixEndpoints: boolean | null;
|
|
1875
|
-
trialUntil: Timestamp | null;
|
|
1876
2382
|
type: Generated<string | null>;
|
|
1877
2383
|
uniqueRef: string | null;
|
|
1878
2384
|
updatedAt: Generated<Timestamp | null>;
|
|
@@ -1882,6 +2388,7 @@ export interface PublicTenantUser {
|
|
|
1882
2388
|
createdAt: Generated<Timestamp | null>;
|
|
1883
2389
|
id: Generated<string>;
|
|
1884
2390
|
lastInvitedAt: Timestamp | null;
|
|
2391
|
+
managedTeamAccess: Generated<"all" | "assigned">;
|
|
1885
2392
|
notificationPreferences: Generated<Json | null>;
|
|
1886
2393
|
permissionBundles: Generated<string[]>;
|
|
1887
2394
|
role: Generated<string | null>;
|
|
@@ -1890,6 +2397,16 @@ export interface PublicTenantUser {
|
|
|
1890
2397
|
updatedAt: Generated<Timestamp | null>;
|
|
1891
2398
|
userId: string;
|
|
1892
2399
|
}
|
|
2400
|
+
export interface PublicConnectionOauthState {
|
|
2401
|
+
appId: string;
|
|
2402
|
+
connectionId: string | null;
|
|
2403
|
+
expiresAt: Timestamp;
|
|
2404
|
+
params: JsonObject;
|
|
2405
|
+
redirectUri: string;
|
|
2406
|
+
stateHash: string;
|
|
2407
|
+
tenantId: string;
|
|
2408
|
+
userId: string;
|
|
2409
|
+
}
|
|
1893
2410
|
export interface PublicToken {
|
|
1894
2411
|
createdAt: Generated<Timestamp>;
|
|
1895
2412
|
expiresAt: Timestamp | null;
|
|
@@ -2126,10 +2643,13 @@ export interface WebhookSubscriptionSecret {
|
|
|
2126
2643
|
encryptionKeyId: string;
|
|
2127
2644
|
expiresAt: Timestamp | null;
|
|
2128
2645
|
id: Generated<string>;
|
|
2646
|
+
reencryptionFailedAt: Timestamp | null;
|
|
2647
|
+
reencryptionFailureCode: string | null;
|
|
2129
2648
|
revokedAt: Timestamp | null;
|
|
2130
2649
|
subscriptionId: string;
|
|
2131
2650
|
}
|
|
2132
2651
|
export interface DB {
|
|
2652
|
+
"public.connectionOauthState": PublicConnectionOauthState;
|
|
2133
2653
|
"accounting.account": AccountingAccount;
|
|
2134
2654
|
"accounting.accountAssignment": AccountingAccountAssignment;
|
|
2135
2655
|
"accounting.accountAssignmentLineType": AccountingAccountAssignmentLineType;
|
|
@@ -2167,6 +2687,10 @@ export interface DB {
|
|
|
2167
2687
|
"accounting.party": AccountingParty;
|
|
2168
2688
|
"accounting.rate": AccountingRate;
|
|
2169
2689
|
"accounting.rateType": AccountingRateType;
|
|
2690
|
+
"accounting.reservationJournalFreshnessControl": AccountingReservationJournalFreshnessControl;
|
|
2691
|
+
"accounting.reservationJournalInvalidation": AccountingReservationJournalInvalidation;
|
|
2692
|
+
"accounting.reservationJournalState": AccountingReservationJournalState;
|
|
2693
|
+
"accounting.reservationJournalStatementImpact": AccountingReservationJournalStatementImpact;
|
|
2170
2694
|
"accounting.taxBehavior": AccountingTaxBehavior;
|
|
2171
2695
|
"accounting.transaction": AccountingTransaction;
|
|
2172
2696
|
"accounting.transactionAttachment": AccountingTransactionAttachment;
|
|
@@ -2180,7 +2704,10 @@ export interface DB {
|
|
|
2180
2704
|
"audit.publicEvent": AuditPublicEvent;
|
|
2181
2705
|
"audit.publicEventEntryChange": AuditPublicEventEntryChange;
|
|
2182
2706
|
"audit.publicEventProjectionState": AuditPublicEventProjectionState;
|
|
2707
|
+
"billing.listingFact": BillingListingFact;
|
|
2708
|
+
"billing.listingFactReadiness": BillingListingFactReadiness;
|
|
2183
2709
|
"core.activeStatus": CoreActiveStatus;
|
|
2710
|
+
"core.asyncOperationResult": CoreAsyncOperationResult;
|
|
2184
2711
|
"core.change": CoreChange;
|
|
2185
2712
|
"core.changeEntityType": CoreChangeEntityType;
|
|
2186
2713
|
"core.changeLink": CoreChangeLink;
|
|
@@ -2188,10 +2715,23 @@ export interface DB {
|
|
|
2188
2715
|
"core.changeStatus": CoreChangeStatus;
|
|
2189
2716
|
"core.changeSyncType": CoreChangeSyncType;
|
|
2190
2717
|
"core.changeType": CoreChangeType;
|
|
2718
|
+
"core.csvOperationResult": CoreCsvOperationResult;
|
|
2719
|
+
"core.emailDelivery": CoreEmailDelivery;
|
|
2720
|
+
"core.emailNotification": CoreEmailNotification;
|
|
2721
|
+
"core.exportJob": CoreExportJob;
|
|
2191
2722
|
"core.flow": CoreFlow;
|
|
2723
|
+
"core.flowEvent": CoreFlowEvent;
|
|
2724
|
+
"core.flowEventDelivery": CoreFlowEventDelivery;
|
|
2725
|
+
"core.flowEventOperation": CoreFlowEventOperation;
|
|
2726
|
+
"core.flowEventSecret": CoreFlowEventSecret;
|
|
2192
2727
|
"core.flowMapping": CoreFlowMapping;
|
|
2193
2728
|
"core.flowSetting": CoreFlowSetting;
|
|
2194
2729
|
"core.issueMessageOverwrite": CoreIssueMessageOverwrite;
|
|
2730
|
+
"core.operation": CoreOperation;
|
|
2731
|
+
"core.operationBackfill": CoreOperationBackfill;
|
|
2732
|
+
"core.operationProjectionOutbox": CoreOperationProjectionOutbox;
|
|
2733
|
+
"core.operationResource": CoreOperationResource;
|
|
2734
|
+
"core.operationSource": CoreOperationSource;
|
|
2195
2735
|
"core.sync": CoreSync;
|
|
2196
2736
|
"core.syncStatus": CoreSyncStatus;
|
|
2197
2737
|
"core.syncSubtask": CoreSyncSubtask;
|
|
@@ -2208,6 +2748,15 @@ export interface DB {
|
|
|
2208
2748
|
"hdbCatalog.hdbSchemaNotifications": HdbCatalogHdbSchemaNotifications;
|
|
2209
2749
|
"hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
|
|
2210
2750
|
"hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
|
|
2751
|
+
"health.accountingIntegrityCase": HealthAccountingIntegrityCase;
|
|
2752
|
+
"health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
|
|
2753
|
+
"health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
|
|
2754
|
+
"health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
|
|
2755
|
+
"health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
|
|
2756
|
+
"health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;
|
|
2757
|
+
"health.accountingIntegrityRepairTransition": HealthAccountingIntegrityRepairTransition;
|
|
2758
|
+
"health.accountingIntegrityRun": HealthAccountingIntegrityRun;
|
|
2759
|
+
"health.accountingIntegrityTransition": HealthAccountingIntegrityTransition;
|
|
2211
2760
|
"health.reservationIssueSnapshot": HealthReservationIssueSnapshot;
|
|
2212
2761
|
"health.tenantIssue": HealthTenantIssue;
|
|
2213
2762
|
"health.tenantIssueRuleState": HealthTenantIssueRuleState;
|
|
@@ -2239,6 +2788,9 @@ export interface DB {
|
|
|
2239
2788
|
"public.fileStorageSourceLink": PublicFileStorageSourceLink;
|
|
2240
2789
|
"public.fileStorageTag": PublicFileStorageTag;
|
|
2241
2790
|
"public.latestDuplicateEmails": PublicLatestDuplicateEmails;
|
|
2791
|
+
"public.lineClassificationUsage": PublicLineClassificationUsage;
|
|
2792
|
+
"public.lineClassificationUsageBackfill": PublicLineClassificationUsageBackfill;
|
|
2793
|
+
"public.lineClassificationUsageCapture": PublicLineClassificationUsageCapture;
|
|
2242
2794
|
"public.listing": PublicListing;
|
|
2243
2795
|
"public.listingCollection": PublicListingCollection;
|
|
2244
2796
|
"public.listingConnection": PublicListingConnection;
|