@vrplatform/kysely 1.3.45-stage.334 → 1.3.45-stage.342
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 +11 -6
- package/build/main/control-plane/index.js.map +1 -1
- package/build/main/v1.generated.d.ts +65 -13
- package/build/main/v1.generated.js.map +1 -1
- package/build/migrations-v2/0000000000042-operation-resource-types.ts +609 -0
- package/build/migrations-v2/0000000000043-reservation-journal-freshness.ts +398 -0
- package/build/module/control-plane/index.d.ts +11 -6
- package/build/module/control-plane/index.js.map +1 -1
- package/build/module/v1.generated.d.ts +65 -13
- package/build/module/v1.generated.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,8 +16,18 @@ export type AuditPublicEventAccountingStatus = "blocked" | "changed" | "failed"
|
|
|
16
16
|
export type AuditPublicEventOperation = "archive" | "create" | "delete" | "execute" | "recalculate" | "restore" | "update";
|
|
17
17
|
export type AuditSourceType = "api" | "automation" | "integration" | "portal" | "sync" | "system";
|
|
18
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 CoreAsyncOperationResultStatus = "completed" | "failed" | "queued";
|
|
20
|
+
export type CoreCsvOperationResultKind = "import" | "preview";
|
|
21
|
+
export type CoreCsvOperationResultStatus = "completed" | "failed" | "processing" | "queued";
|
|
22
|
+
export type CoreExportJobFormat = "csv" | "pdf" | "zip";
|
|
23
|
+
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";
|
|
19
24
|
export type CoreFlowEventOperationAction = "abandon" | "replay";
|
|
20
25
|
export type CoreFlowEventStatus = "canceled" | "dead" | "pending" | "processing" | "succeeded";
|
|
26
|
+
export type CoreOperationResourceRole = "result" | "source" | "target";
|
|
27
|
+
export type CoreOperationResourceType = "bank-rule" | "connection" | "contact" | "file" | "flow" | "listing" | "recurring-fee" | "recurring-transaction-template" | "reservation" | "statement" | "team" | "transaction" | "webhook";
|
|
28
|
+
export type CoreOperationSourceType = "audit-action" | "export-job" | "sync" | "webhook-delivery";
|
|
29
|
+
export type CoreOperationStatus = "completed" | "failed" | "queued" | "running";
|
|
30
|
+
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";
|
|
21
31
|
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
22
32
|
export type HealthAccountingIntegrityActionability = "automatically_repairable" | "blocked" | "code_fix_required" | "manual_repair" | "unknown";
|
|
23
33
|
export type HealthAccountingIntegrityCaseStatus = "open" | "resolved";
|
|
@@ -391,6 +401,44 @@ export interface AccountingRate {
|
|
|
391
401
|
export interface AccountingRateType {
|
|
392
402
|
name: string;
|
|
393
403
|
}
|
|
404
|
+
export interface AccountingReservationJournalFreshnessControl {
|
|
405
|
+
createdAt: Generated<Timestamp>;
|
|
406
|
+
guardsEnabledAt: Timestamp | null;
|
|
407
|
+
tenantId: string;
|
|
408
|
+
updatedAt: Generated<Timestamp>;
|
|
409
|
+
}
|
|
410
|
+
export interface AccountingReservationJournalInvalidation {
|
|
411
|
+
actionId: string | null;
|
|
412
|
+
appliedAt: Timestamp | null;
|
|
413
|
+
coveredByEffectId: string | null;
|
|
414
|
+
createdAt: Generated<Timestamp>;
|
|
415
|
+
effectId: string | null;
|
|
416
|
+
id: Generated<string>;
|
|
417
|
+
reservationId: string;
|
|
418
|
+
revision: Int8;
|
|
419
|
+
sourceResourceId: string | null;
|
|
420
|
+
sourceResourceType: CoreOperationResourceType | null;
|
|
421
|
+
tenantId: string;
|
|
422
|
+
}
|
|
423
|
+
export interface AccountingReservationJournalState {
|
|
424
|
+
appliedRevision: Generated<Int8>;
|
|
425
|
+
calculatedAt: Timestamp | null;
|
|
426
|
+
createdAt: Generated<Timestamp>;
|
|
427
|
+
desiredRevision: Generated<Int8>;
|
|
428
|
+
reservationId: string;
|
|
429
|
+
staleSince: Timestamp | null;
|
|
430
|
+
tenantId: string;
|
|
431
|
+
updatedAt: Generated<Timestamp>;
|
|
432
|
+
}
|
|
433
|
+
export interface AccountingReservationJournalStatementImpact {
|
|
434
|
+
createdAt: Generated<Timestamp>;
|
|
435
|
+
currency: string;
|
|
436
|
+
invalidationId: string;
|
|
437
|
+
listingId: string;
|
|
438
|
+
listingOwnershipPeriodId: string;
|
|
439
|
+
month: Timestamp;
|
|
440
|
+
tenantId: string;
|
|
441
|
+
}
|
|
394
442
|
export interface AccountingTaxBehavior {
|
|
395
443
|
name: string;
|
|
396
444
|
}
|
|
@@ -679,9 +727,9 @@ export interface CoreAsyncOperationResult {
|
|
|
679
727
|
errorMessage: string | null;
|
|
680
728
|
operationId: string;
|
|
681
729
|
result: Json | null;
|
|
682
|
-
status: Generated<
|
|
730
|
+
status: Generated<CoreAsyncOperationResultStatus>;
|
|
683
731
|
tenantId: string;
|
|
684
|
-
type:
|
|
732
|
+
type: CoreOperationType;
|
|
685
733
|
updatedAt: Generated<Timestamp>;
|
|
686
734
|
}
|
|
687
735
|
export interface CoreChange {
|
|
@@ -739,9 +787,9 @@ export interface CoreCsvOperationResult {
|
|
|
739
787
|
connectionId: string;
|
|
740
788
|
createdAt: Generated<Timestamp>;
|
|
741
789
|
errorMessage: string | null;
|
|
742
|
-
kind:
|
|
790
|
+
kind: CoreCsvOperationResultKind;
|
|
743
791
|
result: Json | null;
|
|
744
|
-
status: Generated<
|
|
792
|
+
status: Generated<CoreCsvOperationResultStatus>;
|
|
745
793
|
syncId: string;
|
|
746
794
|
tenantId: string;
|
|
747
795
|
updatedAt: Generated<Timestamp>;
|
|
@@ -752,12 +800,12 @@ export interface CoreExportJob {
|
|
|
752
800
|
fileId: string;
|
|
753
801
|
filename: string;
|
|
754
802
|
finishedAt: Timestamp | null;
|
|
755
|
-
format:
|
|
803
|
+
format: CoreExportJobFormat;
|
|
756
804
|
id: string;
|
|
757
805
|
payload: Json;
|
|
758
806
|
startedAt: Timestamp | null;
|
|
759
|
-
status: Generated<
|
|
760
|
-
taskId:
|
|
807
|
+
status: Generated<CoreOperationStatus>;
|
|
808
|
+
taskId: CoreExportJobTaskId;
|
|
761
809
|
tenantId: string;
|
|
762
810
|
updatedAt: Generated<Timestamp>;
|
|
763
811
|
}
|
|
@@ -883,9 +931,9 @@ export interface CoreOperation {
|
|
|
883
931
|
retainUntil: Timestamp | null;
|
|
884
932
|
sourceVersion: Generated<Int8>;
|
|
885
933
|
startedAt: Timestamp | null;
|
|
886
|
-
status: Generated<
|
|
934
|
+
status: Generated<CoreOperationStatus>;
|
|
887
935
|
tenantId: string;
|
|
888
|
-
type:
|
|
936
|
+
type: CoreOperationType;
|
|
889
937
|
updatedAt: Generated<Timestamp>;
|
|
890
938
|
}
|
|
891
939
|
export interface CoreOperationProjectionOutbox {
|
|
@@ -903,18 +951,18 @@ export interface CoreOperationResource {
|
|
|
903
951
|
isPrimary: Generated<boolean>;
|
|
904
952
|
operationId: string;
|
|
905
953
|
resourceId: string;
|
|
906
|
-
resourceType:
|
|
907
|
-
role:
|
|
954
|
+
resourceType: CoreOperationResourceType;
|
|
955
|
+
role: CoreOperationResourceRole;
|
|
908
956
|
}
|
|
909
957
|
export interface CoreOperationSource {
|
|
910
958
|
finishedAt: Timestamp | null;
|
|
911
959
|
operationId: string;
|
|
912
960
|
required: Generated<boolean>;
|
|
913
961
|
sourceId: string;
|
|
914
|
-
sourceType:
|
|
962
|
+
sourceType: CoreOperationSourceType;
|
|
915
963
|
sourceVersion: Generated<Int8>;
|
|
916
964
|
startedAt: Timestamp | null;
|
|
917
|
-
status: Generated<
|
|
965
|
+
status: Generated<CoreOperationStatus>;
|
|
918
966
|
}
|
|
919
967
|
export interface CoreSync {
|
|
920
968
|
automationId: string | null;
|
|
@@ -2575,6 +2623,10 @@ export interface DB {
|
|
|
2575
2623
|
"accounting.party": AccountingParty;
|
|
2576
2624
|
"accounting.rate": AccountingRate;
|
|
2577
2625
|
"accounting.rateType": AccountingRateType;
|
|
2626
|
+
"accounting.reservationJournalFreshnessControl": AccountingReservationJournalFreshnessControl;
|
|
2627
|
+
"accounting.reservationJournalInvalidation": AccountingReservationJournalInvalidation;
|
|
2628
|
+
"accounting.reservationJournalState": AccountingReservationJournalState;
|
|
2629
|
+
"accounting.reservationJournalStatementImpact": AccountingReservationJournalStatementImpact;
|
|
2578
2630
|
"accounting.taxBehavior": AccountingTaxBehavior;
|
|
2579
2631
|
"accounting.transaction": AccountingTransaction;
|
|
2580
2632
|
"accounting.transactionAttachment": AccountingTransactionAttachment;
|