@vrplatform/kysely 1.3.45-6561 → 1.3.45-stage.11

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.
@@ -15,6 +15,9 @@ 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
17
  export type AuditSourceType = "api" | "automation" | "integration" | "portal" | "sync" | "system";
18
+ 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";
19
+ export type CoreFlowEventOperationAction = "abandon" | "replay";
20
+ export type CoreFlowEventStatus = "canceled" | "dead" | "pending" | "processing" | "succeeded";
18
21
  export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
19
22
  export type HealthAccountingIntegrityActionability = "automatically_repairable" | "blocked" | "code_fix_required" | "manual_repair" | "unknown";
20
23
  export type HealthAccountingIntegrityCaseStatus = "open" | "resolved";
@@ -410,9 +413,9 @@ export interface AccountingTransaction {
410
413
  matchStatus: Generated<string | null>;
411
414
  paidAt: Timestamp | null;
412
415
  paidStatus: Generated<string | null>;
416
+ recreatedFromTransactionId: string | null;
413
417
  recurringFeeId: string | null;
414
418
  recurringPattern: Json | null;
415
- recreatedFromTransactionId: string | null;
416
419
  recurringTemplateId: string | null;
417
420
  /**
418
421
  * Human-readable system ID (EXP/DEP/PAY/TRF-XXX-XXXX-XXX depending on transaction.type).
@@ -643,9 +646,42 @@ export interface AuditPublicEventProjectionState {
643
646
  retainedFrom: Timestamp | null;
644
647
  singleton: Generated<boolean>;
645
648
  }
649
+ export interface BillingListingFact {
650
+ activeListings: number;
651
+ billingPartnerId: string | null;
652
+ dataRegion: string;
653
+ effectiveAt: Timestamp;
654
+ id: Generated<string>;
655
+ reconciliation: Generated<boolean>;
656
+ recordedAt: Generated<Timestamp>;
657
+ sourceId: string;
658
+ sourceRevision: Int8 | null;
659
+ sourceType: BillingListingFactSourceType;
660
+ tenantId: string;
661
+ tenantName: string;
662
+ }
663
+ export interface BillingListingFactReadiness {
664
+ availableFrom: Timestamp | null;
665
+ legacyGapCount: number | null;
666
+ legacyImportedRows: number | null;
667
+ parityConfirmed: Generated<boolean>;
668
+ readyAt: Timestamp | null;
669
+ singleton: Generated<boolean>;
670
+ verifiedMonth: Timestamp | null;
671
+ }
646
672
  export interface CoreActiveStatus {
647
673
  name: string;
648
674
  }
675
+ export interface CoreAsyncOperationResult {
676
+ createdAt: Generated<Timestamp>;
677
+ errorMessage: string | null;
678
+ operationId: string;
679
+ result: Json | null;
680
+ status: Generated<string>;
681
+ tenantId: string;
682
+ type: string;
683
+ updatedAt: Generated<Timestamp>;
684
+ }
649
685
  export interface CoreChange {
650
686
  automationId: string | null;
651
687
  changeData: Json | null;
@@ -697,6 +733,32 @@ export interface CoreChangeSyncType {
697
733
  export interface CoreChangeType {
698
734
  name: string;
699
735
  }
736
+ export interface CoreCsvOperationResult {
737
+ connectionId: string;
738
+ createdAt: Generated<Timestamp>;
739
+ errorMessage: string | null;
740
+ kind: string;
741
+ result: Json | null;
742
+ status: Generated<string>;
743
+ syncId: string;
744
+ tenantId: string;
745
+ updatedAt: Generated<Timestamp>;
746
+ }
747
+ export interface CoreExportJob {
748
+ createdAt: Generated<Timestamp>;
749
+ errorMessage: string | null;
750
+ fileId: string;
751
+ filename: string;
752
+ finishedAt: Timestamp | null;
753
+ format: string;
754
+ id: string;
755
+ payload: Json;
756
+ startedAt: Timestamp | null;
757
+ status: Generated<string>;
758
+ taskId: string;
759
+ tenantId: string;
760
+ updatedAt: Generated<Timestamp>;
761
+ }
700
762
  export interface CoreFlow {
701
763
  appId: string;
702
764
  description: string | null;
@@ -713,6 +775,64 @@ export interface CoreFlow {
713
775
  uniqueRef: string;
714
776
  useGlobalMapping: Generated<boolean>;
715
777
  }
778
+ export interface CoreFlowEvent {
779
+ attempts: Generated<number>;
780
+ availableAt: Generated<Timestamp>;
781
+ claimedAt: Timestamp | null;
782
+ claimedBy: string | null;
783
+ completedAt: Timestamp | null;
784
+ createdAt: Generated<Timestamp>;
785
+ data: Generated<Json>;
786
+ entityId: string;
787
+ entityType: string;
788
+ eventType: string;
789
+ id: Generated<string>;
790
+ lastErrorCode: string | null;
791
+ lastErrorDetails: Json | null;
792
+ maxAttempts: Generated<number>;
793
+ requiresSensitiveInput: Generated<boolean>;
794
+ status: Generated<CoreFlowEventStatus>;
795
+ syncId: string | null;
796
+ targetConnectionId: string | null;
797
+ targetFlowId: string | null;
798
+ tenantId: string;
799
+ updatedAt: Generated<Timestamp>;
800
+ }
801
+ export interface CoreFlowEventDelivery {
802
+ attempts: Generated<number>;
803
+ availableAt: Generated<Timestamp>;
804
+ claimedAt: Timestamp | null;
805
+ claimedBy: string | null;
806
+ completedAt: Timestamp | null;
807
+ connectionId: string;
808
+ createdAt: Generated<Timestamp>;
809
+ eventId: string;
810
+ flowId: string;
811
+ id: Generated<string>;
812
+ lastErrorCode: string | null;
813
+ lastErrorDetails: Json | null;
814
+ maxAttempts: Generated<number>;
815
+ status: Generated<CoreFlowEventStatus>;
816
+ tenantId: string;
817
+ triggerRunId: string | null;
818
+ updatedAt: Generated<Timestamp>;
819
+ }
820
+ export interface CoreFlowEventOperation {
821
+ action: CoreFlowEventOperationAction;
822
+ actor: string;
823
+ createdAt: Generated<Timestamp>;
824
+ eventId: string;
825
+ id: Generated<string>;
826
+ previousStatus: CoreFlowEventStatus;
827
+ reasonCode: string;
828
+ }
829
+ export interface CoreFlowEventSecret {
830
+ createdAt: Generated<Timestamp>;
831
+ encryptedPayload: string;
832
+ encryptionKeyId: string;
833
+ eventId: string;
834
+ expiresAt: Timestamp;
835
+ }
716
836
  export interface CoreFlowMapping {
717
837
  accountId: string | null;
718
838
  bookingChannelId: string | null;
@@ -751,6 +871,49 @@ export interface CoreIssueMessageOverwrite {
751
871
  pattern: string;
752
872
  updatedAt: Generated<Timestamp | null>;
753
873
  }
874
+ export interface CoreOperation {
875
+ createdAt: Generated<Timestamp>;
876
+ failureCode: string | null;
877
+ failureMessage: string | null;
878
+ finishedAt: Timestamp | null;
879
+ id: Generated<string>;
880
+ initiatedByUserId: string | null;
881
+ retainUntil: Timestamp | null;
882
+ sourceVersion: Generated<Int8>;
883
+ startedAt: Timestamp | null;
884
+ status: Generated<string>;
885
+ tenantId: string;
886
+ type: string;
887
+ updatedAt: Generated<Timestamp>;
888
+ }
889
+ export interface CoreOperationProjectionOutbox {
890
+ attempts: Generated<number>;
891
+ availableAt: Generated<Timestamp>;
892
+ createdAt: Generated<Timestamp>;
893
+ id: Generated<string>;
894
+ lastError: string | null;
895
+ operationId: string;
896
+ publishedAt: Timestamp | null;
897
+ sourceVersion: Int8;
898
+ }
899
+ export interface CoreOperationResource {
900
+ createdAt: Generated<Timestamp>;
901
+ isPrimary: Generated<boolean>;
902
+ operationId: string;
903
+ resourceId: string;
904
+ resourceType: string;
905
+ role: string;
906
+ }
907
+ export interface CoreOperationSource {
908
+ finishedAt: Timestamp | null;
909
+ operationId: string;
910
+ required: Generated<boolean>;
911
+ sourceId: string;
912
+ sourceType: string;
913
+ sourceVersion: Generated<Int8>;
914
+ startedAt: Timestamp | null;
915
+ status: Generated<string>;
916
+ }
754
917
  export interface CoreSync {
755
918
  automationId: string | null;
756
919
  connectionId: string | null;
@@ -920,10 +1083,10 @@ export interface HealthAccountingIntegrityCase {
920
1083
  repair: Json;
921
1084
  resolutionClassification: HealthAccountingIntegrityResolutionClassification;
922
1085
  resolvedAt: Timestamp | null;
923
- reviewStatus: Generated<HealthAccountingIntegrityReviewStatus>;
924
- reviewRationale: string | null;
925
1086
  reviewedAt: Timestamp | null;
926
1087
  reviewedBy: string | null;
1088
+ reviewRationale: string | null;
1089
+ reviewStatus: Generated<HealthAccountingIntegrityReviewStatus>;
927
1090
  rootCause: string;
928
1091
  runId: string;
929
1092
  severity: HealthAccountingIntegritySeverity;
@@ -935,22 +1098,6 @@ export interface HealthAccountingIntegrityCase {
935
1098
  verification: Json;
936
1099
  version: Generated<Int8>;
937
1100
  }
938
- export interface HealthAccountingIntegrityOperatorEvent {
939
- actorId: string;
940
- caseId: string | null;
941
- caseVersion: Int8 | null;
942
- client: string;
943
- createdAt: Generated<Timestamp>;
944
- id: Generated<string>;
945
- idempotencyKey: string;
946
- payload: Json;
947
- planId: string | null;
948
- rationale: string | null;
949
- requestId: string;
950
- stageId: string | null;
951
- targetId: string | null;
952
- type: string;
953
- }
954
1101
  export interface HealthAccountingIntegrityDelivery {
955
1102
  attempts: Generated<number>;
956
1103
  caseId: string | null;
@@ -970,6 +1117,22 @@ export interface HealthAccountingIntegrityDelivery {
970
1117
  status: Generated<HealthAccountingIntegrityDeliveryStatus>;
971
1118
  updatedAt: Generated<Timestamp>;
972
1119
  }
1120
+ export interface HealthAccountingIntegrityOperatorEvent {
1121
+ actorId: string;
1122
+ caseId: string | null;
1123
+ caseVersion: Int8 | null;
1124
+ client: string;
1125
+ createdAt: Generated<Timestamp>;
1126
+ id: Generated<string>;
1127
+ idempotencyKey: string;
1128
+ payload: Json;
1129
+ planId: string | null;
1130
+ rationale: string | null;
1131
+ requestId: string;
1132
+ stageId: string | null;
1133
+ targetId: string | null;
1134
+ type: string;
1135
+ }
973
1136
  export interface HealthAccountingIntegrityRepairPlan {
974
1137
  canceledAt: Timestamp | null;
975
1138
  code: string;
@@ -1049,11 +1212,11 @@ export interface HealthAccountingIntegrityRun {
1049
1212
  completedAt: Timestamp | null;
1050
1213
  createdAt: Generated<Timestamp>;
1051
1214
  dataRegion: string;
1052
- definitionVersion: number;
1053
- definitionVersionId: string | null;
1054
1215
  definitionArtifactHash: string | null;
1055
1216
  definitionTemplateId: string | null;
1056
1217
  definitionTemplateVersion: number | null;
1218
+ definitionVersion: number;
1219
+ definitionVersionId: string | null;
1057
1220
  environment: string;
1058
1221
  error: Json | null;
1059
1222
  evaluationId: string;
@@ -1426,15 +1589,6 @@ export interface PublicLatestDuplicateEmails {
1426
1589
  name: string | null;
1427
1590
  status: string | null;
1428
1591
  }
1429
- export interface PublicLineClassificationUsageCapture {
1430
- createdAt: Generated<Timestamp>;
1431
- firstSeenAt: Timestamp | null;
1432
- id: Generated<string>;
1433
- kind: string;
1434
- lastSeenAt: Timestamp | null;
1435
- name: string;
1436
- tenantId: string;
1437
- }
1438
1592
  export interface PublicLineClassificationUsage {
1439
1593
  appId: string | null;
1440
1594
  createdAt: Generated<Timestamp>;
@@ -1456,6 +1610,15 @@ export interface PublicLineClassificationUsageBackfill {
1456
1610
  source: string;
1457
1611
  updatedAt: Generated<Timestamp>;
1458
1612
  }
1613
+ export interface PublicLineClassificationUsageCapture {
1614
+ createdAt: Generated<Timestamp>;
1615
+ firstSeenAt: Timestamp | null;
1616
+ id: Generated<string>;
1617
+ kind: string;
1618
+ lastSeenAt: Timestamp | null;
1619
+ name: string;
1620
+ tenantId: string;
1621
+ }
1459
1622
  export interface PublicListing {
1460
1623
  address: string | null;
1461
1624
  addressCity: string | null;
@@ -2365,6 +2528,8 @@ export interface WebhookSubscriptionSecret {
2365
2528
  encryptionKeyId: string;
2366
2529
  expiresAt: Timestamp | null;
2367
2530
  id: Generated<string>;
2531
+ reencryptionFailedAt: Timestamp | null;
2532
+ reencryptionFailureCode: string | null;
2368
2533
  revokedAt: Timestamp | null;
2369
2534
  subscriptionId: string;
2370
2535
  }
@@ -2419,7 +2584,10 @@ export interface DB {
2419
2584
  "audit.publicEvent": AuditPublicEvent;
2420
2585
  "audit.publicEventEntryChange": AuditPublicEventEntryChange;
2421
2586
  "audit.publicEventProjectionState": AuditPublicEventProjectionState;
2587
+ "billing.listingFact": BillingListingFact;
2588
+ "billing.listingFactReadiness": BillingListingFactReadiness;
2422
2589
  "core.activeStatus": CoreActiveStatus;
2590
+ "core.asyncOperationResult": CoreAsyncOperationResult;
2423
2591
  "core.change": CoreChange;
2424
2592
  "core.changeEntityType": CoreChangeEntityType;
2425
2593
  "core.changeLink": CoreChangeLink;
@@ -2427,10 +2595,20 @@ export interface DB {
2427
2595
  "core.changeStatus": CoreChangeStatus;
2428
2596
  "core.changeSyncType": CoreChangeSyncType;
2429
2597
  "core.changeType": CoreChangeType;
2598
+ "core.csvOperationResult": CoreCsvOperationResult;
2599
+ "core.exportJob": CoreExportJob;
2430
2600
  "core.flow": CoreFlow;
2601
+ "core.flowEvent": CoreFlowEvent;
2602
+ "core.flowEventDelivery": CoreFlowEventDelivery;
2603
+ "core.flowEventOperation": CoreFlowEventOperation;
2604
+ "core.flowEventSecret": CoreFlowEventSecret;
2431
2605
  "core.flowMapping": CoreFlowMapping;
2432
2606
  "core.flowSetting": CoreFlowSetting;
2433
2607
  "core.issueMessageOverwrite": CoreIssueMessageOverwrite;
2608
+ "core.operation": CoreOperation;
2609
+ "core.operationProjectionOutbox": CoreOperationProjectionOutbox;
2610
+ "core.operationResource": CoreOperationResource;
2611
+ "core.operationSource": CoreOperationSource;
2434
2612
  "core.sync": CoreSync;
2435
2613
  "core.syncStatus": CoreSyncStatus;
2436
2614
  "core.syncSubtask": CoreSyncSubtask;
@@ -2448,8 +2626,8 @@ export interface DB {
2448
2626
  "hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
2449
2627
  "hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
2450
2628
  "health.accountingIntegrityCase": HealthAccountingIntegrityCase;
2451
- "health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
2452
2629
  "health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
2630
+ "health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
2453
2631
  "health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
2454
2632
  "health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
2455
2633
  "health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;