@vrplatform/kysely 1.3.45-stage.6537 → 1.3.45-stage.6541
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 +0 -115
- package/build/main/control-plane/index.js.map +1 -1
- package/build/main/local/generate.js +0 -1
- package/build/main/local/generate.js.map +1 -1
- package/build/main/local/index.js +0 -11
- package/build/main/local/index.js.map +1 -1
- package/build/main/v1.generated.d.ts +31 -209
- package/build/main/v1.generated.js.map +1 -1
- package/build/module/control-plane/index.d.ts +0 -115
- package/build/module/control-plane/index.js.map +1 -1
- package/build/module/local/generate.js +0 -1
- package/build/module/local/generate.js.map +1 -1
- package/build/module/local/index.js +0 -11
- package/build/module/local/index.js.map +1 -1
- package/build/module/v1.generated.d.ts +31 -209
- package/build/module/v1.generated.js.map +1 -1
- package/package.json +1 -1
- package/build/migrations-v2/0000000000015-durable-flow-events.ts +0 -163
- package/build/migrations-v2/0000000000016-billing-listing-facts.ts +0 -539
- package/build/migrations-v2/0000000000017-webhook-secret-reencryption-failures.ts +0 -18
- package/build/migrations-v2/0000000000018-durable-flow-event-sensitive-input.ts +0 -28
- package/build/migrations-v2/0000000000019-asynchronous-operations.ts +0 -714
|
@@ -15,9 +15,6 @@ 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";
|
|
21
18
|
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
22
19
|
export type HealthAccountingIntegrityActionability = "automatically_repairable" | "blocked" | "code_fix_required" | "manual_repair" | "unknown";
|
|
23
20
|
export type HealthAccountingIntegrityCaseStatus = "open" | "resolved";
|
|
@@ -413,9 +410,9 @@ export interface AccountingTransaction {
|
|
|
413
410
|
matchStatus: Generated<string | null>;
|
|
414
411
|
paidAt: Timestamp | null;
|
|
415
412
|
paidStatus: Generated<string | null>;
|
|
416
|
-
recreatedFromTransactionId: string | null;
|
|
417
413
|
recurringFeeId: string | null;
|
|
418
414
|
recurringPattern: Json | null;
|
|
415
|
+
recreatedFromTransactionId: string | null;
|
|
419
416
|
recurringTemplateId: string | null;
|
|
420
417
|
/**
|
|
421
418
|
* Human-readable system ID (EXP/DEP/PAY/TRF-XXX-XXXX-XXX depending on transaction.type).
|
|
@@ -646,42 +643,9 @@ export interface AuditPublicEventProjectionState {
|
|
|
646
643
|
retainedFrom: Timestamp | null;
|
|
647
644
|
singleton: Generated<boolean>;
|
|
648
645
|
}
|
|
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
|
-
}
|
|
672
646
|
export interface CoreActiveStatus {
|
|
673
647
|
name: string;
|
|
674
648
|
}
|
|
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
|
-
}
|
|
685
649
|
export interface CoreChange {
|
|
686
650
|
automationId: string | null;
|
|
687
651
|
changeData: Json | null;
|
|
@@ -733,32 +697,6 @@ export interface CoreChangeSyncType {
|
|
|
733
697
|
export interface CoreChangeType {
|
|
734
698
|
name: string;
|
|
735
699
|
}
|
|
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
|
-
}
|
|
762
700
|
export interface CoreFlow {
|
|
763
701
|
appId: string;
|
|
764
702
|
description: string | null;
|
|
@@ -775,64 +713,6 @@ export interface CoreFlow {
|
|
|
775
713
|
uniqueRef: string;
|
|
776
714
|
useGlobalMapping: Generated<boolean>;
|
|
777
715
|
}
|
|
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
|
-
}
|
|
836
716
|
export interface CoreFlowMapping {
|
|
837
717
|
accountId: string | null;
|
|
838
718
|
bookingChannelId: string | null;
|
|
@@ -871,49 +751,6 @@ export interface CoreIssueMessageOverwrite {
|
|
|
871
751
|
pattern: string;
|
|
872
752
|
updatedAt: Generated<Timestamp | null>;
|
|
873
753
|
}
|
|
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
|
-
}
|
|
917
754
|
export interface CoreSync {
|
|
918
755
|
automationId: string | null;
|
|
919
756
|
connectionId: string | null;
|
|
@@ -1083,10 +920,10 @@ export interface HealthAccountingIntegrityCase {
|
|
|
1083
920
|
repair: Json;
|
|
1084
921
|
resolutionClassification: HealthAccountingIntegrityResolutionClassification;
|
|
1085
922
|
resolvedAt: Timestamp | null;
|
|
923
|
+
reviewStatus: Generated<HealthAccountingIntegrityReviewStatus>;
|
|
924
|
+
reviewRationale: string | null;
|
|
1086
925
|
reviewedAt: Timestamp | null;
|
|
1087
926
|
reviewedBy: string | null;
|
|
1088
|
-
reviewRationale: string | null;
|
|
1089
|
-
reviewStatus: Generated<HealthAccountingIntegrityReviewStatus>;
|
|
1090
927
|
rootCause: string;
|
|
1091
928
|
runId: string;
|
|
1092
929
|
severity: HealthAccountingIntegritySeverity;
|
|
@@ -1098,6 +935,22 @@ export interface HealthAccountingIntegrityCase {
|
|
|
1098
935
|
verification: Json;
|
|
1099
936
|
version: Generated<Int8>;
|
|
1100
937
|
}
|
|
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
|
+
}
|
|
1101
954
|
export interface HealthAccountingIntegrityDelivery {
|
|
1102
955
|
attempts: Generated<number>;
|
|
1103
956
|
caseId: string | null;
|
|
@@ -1117,22 +970,6 @@ export interface HealthAccountingIntegrityDelivery {
|
|
|
1117
970
|
status: Generated<HealthAccountingIntegrityDeliveryStatus>;
|
|
1118
971
|
updatedAt: Generated<Timestamp>;
|
|
1119
972
|
}
|
|
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
|
-
}
|
|
1136
973
|
export interface HealthAccountingIntegrityRepairPlan {
|
|
1137
974
|
canceledAt: Timestamp | null;
|
|
1138
975
|
code: string;
|
|
@@ -1212,11 +1049,11 @@ export interface HealthAccountingIntegrityRun {
|
|
|
1212
1049
|
completedAt: Timestamp | null;
|
|
1213
1050
|
createdAt: Generated<Timestamp>;
|
|
1214
1051
|
dataRegion: string;
|
|
1052
|
+
definitionVersion: number;
|
|
1053
|
+
definitionVersionId: string | null;
|
|
1215
1054
|
definitionArtifactHash: string | null;
|
|
1216
1055
|
definitionTemplateId: string | null;
|
|
1217
1056
|
definitionTemplateVersion: number | null;
|
|
1218
|
-
definitionVersion: number;
|
|
1219
|
-
definitionVersionId: string | null;
|
|
1220
1057
|
environment: string;
|
|
1221
1058
|
error: Json | null;
|
|
1222
1059
|
evaluationId: string;
|
|
@@ -1589,6 +1426,15 @@ export interface PublicLatestDuplicateEmails {
|
|
|
1589
1426
|
name: string | null;
|
|
1590
1427
|
status: string | null;
|
|
1591
1428
|
}
|
|
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
|
+
}
|
|
1592
1438
|
export interface PublicLineClassificationUsage {
|
|
1593
1439
|
appId: string | null;
|
|
1594
1440
|
createdAt: Generated<Timestamp>;
|
|
@@ -1610,15 +1456,6 @@ export interface PublicLineClassificationUsageBackfill {
|
|
|
1610
1456
|
source: string;
|
|
1611
1457
|
updatedAt: Generated<Timestamp>;
|
|
1612
1458
|
}
|
|
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
|
-
}
|
|
1622
1459
|
export interface PublicListing {
|
|
1623
1460
|
address: string | null;
|
|
1624
1461
|
addressCity: string | null;
|
|
@@ -2528,8 +2365,6 @@ export interface WebhookSubscriptionSecret {
|
|
|
2528
2365
|
encryptionKeyId: string;
|
|
2529
2366
|
expiresAt: Timestamp | null;
|
|
2530
2367
|
id: Generated<string>;
|
|
2531
|
-
reencryptionFailedAt: Timestamp | null;
|
|
2532
|
-
reencryptionFailureCode: string | null;
|
|
2533
2368
|
revokedAt: Timestamp | null;
|
|
2534
2369
|
subscriptionId: string;
|
|
2535
2370
|
}
|
|
@@ -2584,10 +2419,7 @@ export interface DB {
|
|
|
2584
2419
|
"audit.publicEvent": AuditPublicEvent;
|
|
2585
2420
|
"audit.publicEventEntryChange": AuditPublicEventEntryChange;
|
|
2586
2421
|
"audit.publicEventProjectionState": AuditPublicEventProjectionState;
|
|
2587
|
-
"billing.listingFact": BillingListingFact;
|
|
2588
|
-
"billing.listingFactReadiness": BillingListingFactReadiness;
|
|
2589
2422
|
"core.activeStatus": CoreActiveStatus;
|
|
2590
|
-
"core.asyncOperationResult": CoreAsyncOperationResult;
|
|
2591
2423
|
"core.change": CoreChange;
|
|
2592
2424
|
"core.changeEntityType": CoreChangeEntityType;
|
|
2593
2425
|
"core.changeLink": CoreChangeLink;
|
|
@@ -2595,20 +2427,10 @@ export interface DB {
|
|
|
2595
2427
|
"core.changeStatus": CoreChangeStatus;
|
|
2596
2428
|
"core.changeSyncType": CoreChangeSyncType;
|
|
2597
2429
|
"core.changeType": CoreChangeType;
|
|
2598
|
-
"core.csvOperationResult": CoreCsvOperationResult;
|
|
2599
|
-
"core.exportJob": CoreExportJob;
|
|
2600
2430
|
"core.flow": CoreFlow;
|
|
2601
|
-
"core.flowEvent": CoreFlowEvent;
|
|
2602
|
-
"core.flowEventDelivery": CoreFlowEventDelivery;
|
|
2603
|
-
"core.flowEventOperation": CoreFlowEventOperation;
|
|
2604
|
-
"core.flowEventSecret": CoreFlowEventSecret;
|
|
2605
2431
|
"core.flowMapping": CoreFlowMapping;
|
|
2606
2432
|
"core.flowSetting": CoreFlowSetting;
|
|
2607
2433
|
"core.issueMessageOverwrite": CoreIssueMessageOverwrite;
|
|
2608
|
-
"core.operation": CoreOperation;
|
|
2609
|
-
"core.operationProjectionOutbox": CoreOperationProjectionOutbox;
|
|
2610
|
-
"core.operationResource": CoreOperationResource;
|
|
2611
|
-
"core.operationSource": CoreOperationSource;
|
|
2612
2434
|
"core.sync": CoreSync;
|
|
2613
2435
|
"core.syncStatus": CoreSyncStatus;
|
|
2614
2436
|
"core.syncSubtask": CoreSyncSubtask;
|
|
@@ -2626,8 +2448,8 @@ export interface DB {
|
|
|
2626
2448
|
"hdbCatalog.hdbSourceCatalogVersion": HdbCatalogHdbSourceCatalogVersion;
|
|
2627
2449
|
"hdbCatalog.hdbVersion": HdbCatalogHdbVersion;
|
|
2628
2450
|
"health.accountingIntegrityCase": HealthAccountingIntegrityCase;
|
|
2629
|
-
"health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
|
|
2630
2451
|
"health.accountingIntegrityOperatorEvent": HealthAccountingIntegrityOperatorEvent;
|
|
2452
|
+
"health.accountingIntegrityDelivery": HealthAccountingIntegrityDelivery;
|
|
2631
2453
|
"health.accountingIntegrityRepairPlan": HealthAccountingIntegrityRepairPlan;
|
|
2632
2454
|
"health.accountingIntegrityRepairStage": HealthAccountingIntegrityRepairStage;
|
|
2633
2455
|
"health.accountingIntegrityRepairTarget": HealthAccountingIntegrityRepairTarget;
|