@voyantjs/distribution 0.28.3 → 0.29.0
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/dist/routes.d.ts +18 -18
- package/dist/schema-finance.d.ts +3 -3
- package/dist/schema-inventory.d.ts +1 -1
- package/dist/service.d.ts +18 -18
- package/dist/validation.d.ts +22 -22
- package/package.json +11 -11
package/dist/routes.d.ts
CHANGED
|
@@ -452,8 +452,8 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
452
452
|
metadata: {
|
|
453
453
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
454
454
|
} | null;
|
|
455
|
-
id: string;
|
|
456
455
|
name: string;
|
|
456
|
+
id: string;
|
|
457
457
|
createdAt: string;
|
|
458
458
|
updatedAt: string;
|
|
459
459
|
email: string | null;
|
|
@@ -1497,12 +1497,12 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1497
1497
|
id: string;
|
|
1498
1498
|
createdAt: string;
|
|
1499
1499
|
status: "pending" | "failed" | "processed" | "ignored";
|
|
1500
|
+
eventType: string;
|
|
1500
1501
|
errorMessage: string | null;
|
|
1501
1502
|
payload: {
|
|
1502
1503
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1503
1504
|
};
|
|
1504
1505
|
channelId: string;
|
|
1505
|
-
eventType: string;
|
|
1506
1506
|
externalEventId: string | null;
|
|
1507
1507
|
receivedAt: string;
|
|
1508
1508
|
processedAt: string | null;
|
|
@@ -2615,7 +2615,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2615
2615
|
id: string;
|
|
2616
2616
|
channelId: string;
|
|
2617
2617
|
contractId: string | null;
|
|
2618
|
-
status: "
|
|
2618
|
+
status: "running" | "completed" | "draft" | "archived";
|
|
2619
2619
|
periodStart: string | null;
|
|
2620
2620
|
periodEnd: string | null;
|
|
2621
2621
|
externalReportReference: string | null;
|
|
@@ -2648,7 +2648,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2648
2648
|
id: string;
|
|
2649
2649
|
createdAt: string;
|
|
2650
2650
|
updatedAt: string;
|
|
2651
|
-
status: "
|
|
2651
|
+
status: "running" | "completed" | "draft" | "archived";
|
|
2652
2652
|
notes: string | null;
|
|
2653
2653
|
startedAt: string | null;
|
|
2654
2654
|
channelId: string;
|
|
@@ -2687,7 +2687,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2687
2687
|
id: string;
|
|
2688
2688
|
channelId: string;
|
|
2689
2689
|
contractId: string | null;
|
|
2690
|
-
status: "
|
|
2690
|
+
status: "running" | "completed" | "draft" | "archived";
|
|
2691
2691
|
periodStart: string | null;
|
|
2692
2692
|
periodEnd: string | null;
|
|
2693
2693
|
externalReportReference: string | null;
|
|
@@ -2729,7 +2729,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2729
2729
|
id: string;
|
|
2730
2730
|
channelId: string;
|
|
2731
2731
|
contractId: string | null;
|
|
2732
|
-
status: "
|
|
2732
|
+
status: "running" | "completed" | "draft" | "archived";
|
|
2733
2733
|
periodStart: string | null;
|
|
2734
2734
|
periodEnd: string | null;
|
|
2735
2735
|
externalReportReference: string | null;
|
|
@@ -2785,7 +2785,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2785
2785
|
bookingId: string | null;
|
|
2786
2786
|
externalBookingId: string | null;
|
|
2787
2787
|
issueType: "other" | "missing_booking" | "status_mismatch" | "amount_mismatch" | "cancel_mismatch" | "missing_payout";
|
|
2788
|
-
severity: "
|
|
2788
|
+
severity: "info" | "error" | "warning";
|
|
2789
2789
|
resolutionStatus: "open" | "ignored" | "resolved";
|
|
2790
2790
|
notes: string | null;
|
|
2791
2791
|
resolvedAt: string | null;
|
|
@@ -2815,7 +2815,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2815
2815
|
bookingLinkId: string | null;
|
|
2816
2816
|
reconciliationRunId: string;
|
|
2817
2817
|
issueType: "other" | "missing_booking" | "status_mismatch" | "amount_mismatch" | "cancel_mismatch" | "missing_payout";
|
|
2818
|
-
severity: "
|
|
2818
|
+
severity: "info" | "error" | "warning";
|
|
2819
2819
|
resolutionStatus: "open" | "ignored" | "resolved";
|
|
2820
2820
|
resolvedAt: string | null;
|
|
2821
2821
|
} | undefined;
|
|
@@ -2851,7 +2851,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2851
2851
|
bookingId: string | null;
|
|
2852
2852
|
externalBookingId: string | null;
|
|
2853
2853
|
issueType: "other" | "missing_booking" | "status_mismatch" | "amount_mismatch" | "cancel_mismatch" | "missing_payout";
|
|
2854
|
-
severity: "
|
|
2854
|
+
severity: "info" | "error" | "warning";
|
|
2855
2855
|
resolutionStatus: "open" | "ignored" | "resolved";
|
|
2856
2856
|
notes: string | null;
|
|
2857
2857
|
resolvedAt: string | null;
|
|
@@ -2890,7 +2890,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2890
2890
|
bookingId: string | null;
|
|
2891
2891
|
externalBookingId: string | null;
|
|
2892
2892
|
issueType: "other" | "missing_booking" | "status_mismatch" | "amount_mismatch" | "cancel_mismatch" | "missing_payout";
|
|
2893
|
-
severity: "
|
|
2893
|
+
severity: "info" | "error" | "warning";
|
|
2894
2894
|
resolutionStatus: "open" | "ignored" | "resolved";
|
|
2895
2895
|
notes: string | null;
|
|
2896
2896
|
resolvedAt: string | null;
|
|
@@ -2940,7 +2940,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2940
2940
|
targetId: string | null;
|
|
2941
2941
|
slotId: string | null;
|
|
2942
2942
|
actionTaken: "expired" | "released" | "retained" | "manual_override";
|
|
2943
|
-
status: "pending" | "
|
|
2943
|
+
status: "pending" | "completed" | "failed" | "skipped";
|
|
2944
2944
|
releasedCapacity: number | null;
|
|
2945
2945
|
executedAt: string | null;
|
|
2946
2946
|
notes: string | null;
|
|
@@ -2970,7 +2970,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2970
2970
|
id: string;
|
|
2971
2971
|
createdAt: string;
|
|
2972
2972
|
updatedAt: string;
|
|
2973
|
-
status: "pending" | "
|
|
2973
|
+
status: "pending" | "completed" | "failed" | "skipped";
|
|
2974
2974
|
notes: string | null;
|
|
2975
2975
|
slotId: string | null;
|
|
2976
2976
|
allotmentId: string;
|
|
@@ -3012,7 +3012,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
3012
3012
|
targetId: string | null;
|
|
3013
3013
|
slotId: string | null;
|
|
3014
3014
|
actionTaken: "expired" | "released" | "retained" | "manual_override";
|
|
3015
|
-
status: "pending" | "
|
|
3015
|
+
status: "pending" | "completed" | "failed" | "skipped";
|
|
3016
3016
|
releasedCapacity: number | null;
|
|
3017
3017
|
executedAt: string | null;
|
|
3018
3018
|
notes: string | null;
|
|
@@ -3054,7 +3054,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
3054
3054
|
targetId: string | null;
|
|
3055
3055
|
slotId: string | null;
|
|
3056
3056
|
actionTaken: "expired" | "released" | "retained" | "manual_override";
|
|
3057
|
-
status: "pending" | "
|
|
3057
|
+
status: "pending" | "completed" | "failed" | "skipped";
|
|
3058
3058
|
releasedCapacity: number | null;
|
|
3059
3059
|
executedAt: string | null;
|
|
3060
3060
|
notes: string | null;
|
|
@@ -3603,7 +3603,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
3603
3603
|
settlementItemId: string | null;
|
|
3604
3604
|
reconciliationItemId: string | null;
|
|
3605
3605
|
exceptionType: string;
|
|
3606
|
-
severity: "
|
|
3606
|
+
severity: "info" | "error" | "warning";
|
|
3607
3607
|
status: "open" | "ignored" | "resolved" | "investigating";
|
|
3608
3608
|
openedAt: string;
|
|
3609
3609
|
resolvedAt: string | null;
|
|
@@ -3637,7 +3637,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
3637
3637
|
status: "open" | "ignored" | "resolved" | "investigating";
|
|
3638
3638
|
notes: string | null;
|
|
3639
3639
|
channelId: string;
|
|
3640
|
-
severity: "
|
|
3640
|
+
severity: "info" | "error" | "warning";
|
|
3641
3641
|
resolvedAt: string | null;
|
|
3642
3642
|
settlementItemId: string | null;
|
|
3643
3643
|
reconciliationItemId: string | null;
|
|
@@ -3675,7 +3675,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
3675
3675
|
settlementItemId: string | null;
|
|
3676
3676
|
reconciliationItemId: string | null;
|
|
3677
3677
|
exceptionType: string;
|
|
3678
|
-
severity: "
|
|
3678
|
+
severity: "info" | "error" | "warning";
|
|
3679
3679
|
status: "open" | "ignored" | "resolved" | "investigating";
|
|
3680
3680
|
openedAt: string;
|
|
3681
3681
|
resolvedAt: string | null;
|
|
@@ -3717,7 +3717,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
3717
3717
|
settlementItemId: string | null;
|
|
3718
3718
|
reconciliationItemId: string | null;
|
|
3719
3719
|
exceptionType: string;
|
|
3720
|
-
severity: "
|
|
3720
|
+
severity: "info" | "error" | "warning";
|
|
3721
3721
|
status: "open" | "ignored" | "resolved" | "investigating";
|
|
3722
3722
|
openedAt: string;
|
|
3723
3723
|
resolvedAt: string | null;
|
package/dist/schema-finance.d.ts
CHANGED
|
@@ -584,7 +584,7 @@ export declare const channelReconciliationRuns: import("drizzle-orm/pg-core").Pg
|
|
|
584
584
|
tableName: "channel_reconciliation_runs";
|
|
585
585
|
dataType: "string";
|
|
586
586
|
columnType: "PgEnumColumn";
|
|
587
|
-
data: "
|
|
587
|
+
data: "running" | "completed" | "draft" | "archived";
|
|
588
588
|
driverParam: string;
|
|
589
589
|
notNull: true;
|
|
590
590
|
hasDefault: true;
|
|
@@ -865,7 +865,7 @@ export declare const channelReconciliationItems: import("drizzle-orm/pg-core").P
|
|
|
865
865
|
tableName: "channel_reconciliation_items";
|
|
866
866
|
dataType: "string";
|
|
867
867
|
columnType: "PgEnumColumn";
|
|
868
|
-
data: "
|
|
868
|
+
data: "info" | "error" | "warning";
|
|
869
869
|
driverParam: string;
|
|
870
870
|
notNull: true;
|
|
871
871
|
hasDefault: true;
|
|
@@ -1059,7 +1059,7 @@ export declare const channelRemittanceExceptions: import("drizzle-orm/pg-core").
|
|
|
1059
1059
|
tableName: "channel_remittance_exceptions";
|
|
1060
1060
|
dataType: "string";
|
|
1061
1061
|
columnType: "PgEnumColumn";
|
|
1062
|
-
data: "
|
|
1062
|
+
data: "info" | "error" | "warning";
|
|
1063
1063
|
driverParam: string;
|
|
1064
1064
|
notNull: true;
|
|
1065
1065
|
hasDefault: true;
|
|
@@ -725,7 +725,7 @@ export declare const channelInventoryReleaseExecutions: import("drizzle-orm/pg-c
|
|
|
725
725
|
tableName: "channel_inventory_release_executions";
|
|
726
726
|
dataType: "string";
|
|
727
727
|
columnType: "PgEnumColumn";
|
|
728
|
-
data: "pending" | "
|
|
728
|
+
data: "pending" | "completed" | "failed" | "skipped";
|
|
729
729
|
driverParam: string;
|
|
730
730
|
notNull: true;
|
|
731
731
|
hasDefault: true;
|
package/dist/service.d.ts
CHANGED
|
@@ -188,8 +188,8 @@ export declare const distributionService: {
|
|
|
188
188
|
}[] | null>;
|
|
189
189
|
createChannelContact(db: PostgresJsDatabase, channelId: string, data: InsertNamedContactForEntity): Promise<{
|
|
190
190
|
metadata: Record<string, unknown> | null;
|
|
191
|
-
id: string;
|
|
192
191
|
name: string;
|
|
192
|
+
id: string;
|
|
193
193
|
createdAt: Date;
|
|
194
194
|
updatedAt: Date;
|
|
195
195
|
email: string | null;
|
|
@@ -576,10 +576,10 @@ export declare const distributionService: {
|
|
|
576
576
|
id: string;
|
|
577
577
|
createdAt: Date;
|
|
578
578
|
status: "pending" | "failed" | "processed" | "ignored";
|
|
579
|
+
eventType: string;
|
|
579
580
|
errorMessage: string | null;
|
|
580
581
|
payload: Record<string, unknown>;
|
|
581
582
|
channelId: string;
|
|
582
|
-
eventType: string;
|
|
583
583
|
externalEventId: string | null;
|
|
584
584
|
receivedAt: Date;
|
|
585
585
|
processedAt: Date | null;
|
|
@@ -944,7 +944,7 @@ export declare const distributionService: {
|
|
|
944
944
|
id: string;
|
|
945
945
|
channelId: string;
|
|
946
946
|
contractId: string | null;
|
|
947
|
-
status: "
|
|
947
|
+
status: "running" | "completed" | "draft" | "archived";
|
|
948
948
|
periodStart: string | null;
|
|
949
949
|
periodEnd: string | null;
|
|
950
950
|
externalReportReference: string | null;
|
|
@@ -963,7 +963,7 @@ export declare const distributionService: {
|
|
|
963
963
|
id: string;
|
|
964
964
|
channelId: string;
|
|
965
965
|
contractId: string | null;
|
|
966
|
-
status: "
|
|
966
|
+
status: "running" | "completed" | "draft" | "archived";
|
|
967
967
|
periodStart: string | null;
|
|
968
968
|
periodEnd: string | null;
|
|
969
969
|
externalReportReference: string | null;
|
|
@@ -979,7 +979,7 @@ export declare const distributionService: {
|
|
|
979
979
|
id: string;
|
|
980
980
|
createdAt: Date;
|
|
981
981
|
updatedAt: Date;
|
|
982
|
-
status: "
|
|
982
|
+
status: "running" | "completed" | "draft" | "archived";
|
|
983
983
|
notes: string | null;
|
|
984
984
|
startedAt: Date | null;
|
|
985
985
|
channelId: string;
|
|
@@ -993,7 +993,7 @@ export declare const distributionService: {
|
|
|
993
993
|
id: string;
|
|
994
994
|
channelId: string;
|
|
995
995
|
contractId: string | null;
|
|
996
|
-
status: "
|
|
996
|
+
status: "running" | "completed" | "draft" | "archived";
|
|
997
997
|
periodStart: string | null;
|
|
998
998
|
periodEnd: string | null;
|
|
999
999
|
externalReportReference: string | null;
|
|
@@ -1015,7 +1015,7 @@ export declare const distributionService: {
|
|
|
1015
1015
|
bookingId: string | null;
|
|
1016
1016
|
externalBookingId: string | null;
|
|
1017
1017
|
issueType: "other" | "missing_booking" | "status_mismatch" | "amount_mismatch" | "cancel_mismatch" | "missing_payout";
|
|
1018
|
-
severity: "
|
|
1018
|
+
severity: "info" | "error" | "warning";
|
|
1019
1019
|
resolutionStatus: "open" | "ignored" | "resolved";
|
|
1020
1020
|
notes: string | null;
|
|
1021
1021
|
resolvedAt: Date | null;
|
|
@@ -1033,7 +1033,7 @@ export declare const distributionService: {
|
|
|
1033
1033
|
bookingId: string | null;
|
|
1034
1034
|
externalBookingId: string | null;
|
|
1035
1035
|
issueType: "other" | "missing_booking" | "status_mismatch" | "amount_mismatch" | "cancel_mismatch" | "missing_payout";
|
|
1036
|
-
severity: "
|
|
1036
|
+
severity: "info" | "error" | "warning";
|
|
1037
1037
|
resolutionStatus: "open" | "ignored" | "resolved";
|
|
1038
1038
|
notes: string | null;
|
|
1039
1039
|
resolvedAt: Date | null;
|
|
@@ -1050,7 +1050,7 @@ export declare const distributionService: {
|
|
|
1050
1050
|
bookingLinkId: string | null;
|
|
1051
1051
|
reconciliationRunId: string;
|
|
1052
1052
|
issueType: "other" | "missing_booking" | "status_mismatch" | "amount_mismatch" | "cancel_mismatch" | "missing_payout";
|
|
1053
|
-
severity: "
|
|
1053
|
+
severity: "info" | "error" | "warning";
|
|
1054
1054
|
resolutionStatus: "open" | "ignored" | "resolved";
|
|
1055
1055
|
resolvedAt: Date | null;
|
|
1056
1056
|
} | undefined>;
|
|
@@ -1061,7 +1061,7 @@ export declare const distributionService: {
|
|
|
1061
1061
|
bookingId: string | null;
|
|
1062
1062
|
externalBookingId: string | null;
|
|
1063
1063
|
issueType: "other" | "missing_booking" | "status_mismatch" | "amount_mismatch" | "cancel_mismatch" | "missing_payout";
|
|
1064
|
-
severity: "
|
|
1064
|
+
severity: "info" | "error" | "warning";
|
|
1065
1065
|
resolutionStatus: "open" | "ignored" | "resolved";
|
|
1066
1066
|
notes: string | null;
|
|
1067
1067
|
resolvedAt: Date | null;
|
|
@@ -1079,7 +1079,7 @@ export declare const distributionService: {
|
|
|
1079
1079
|
targetId: string | null;
|
|
1080
1080
|
slotId: string | null;
|
|
1081
1081
|
actionTaken: "expired" | "released" | "retained" | "manual_override";
|
|
1082
|
-
status: "pending" | "
|
|
1082
|
+
status: "pending" | "completed" | "failed" | "skipped";
|
|
1083
1083
|
releasedCapacity: number | null;
|
|
1084
1084
|
executedAt: Date | null;
|
|
1085
1085
|
notes: string | null;
|
|
@@ -1098,7 +1098,7 @@ export declare const distributionService: {
|
|
|
1098
1098
|
targetId: string | null;
|
|
1099
1099
|
slotId: string | null;
|
|
1100
1100
|
actionTaken: "expired" | "released" | "retained" | "manual_override";
|
|
1101
|
-
status: "pending" | "
|
|
1101
|
+
status: "pending" | "completed" | "failed" | "skipped";
|
|
1102
1102
|
releasedCapacity: number | null;
|
|
1103
1103
|
executedAt: Date | null;
|
|
1104
1104
|
notes: string | null;
|
|
@@ -1111,7 +1111,7 @@ export declare const distributionService: {
|
|
|
1111
1111
|
id: string;
|
|
1112
1112
|
createdAt: Date;
|
|
1113
1113
|
updatedAt: Date;
|
|
1114
|
-
status: "pending" | "
|
|
1114
|
+
status: "pending" | "completed" | "failed" | "skipped";
|
|
1115
1115
|
notes: string | null;
|
|
1116
1116
|
slotId: string | null;
|
|
1117
1117
|
allotmentId: string;
|
|
@@ -1128,7 +1128,7 @@ export declare const distributionService: {
|
|
|
1128
1128
|
targetId: string | null;
|
|
1129
1129
|
slotId: string | null;
|
|
1130
1130
|
actionTaken: "expired" | "released" | "retained" | "manual_override";
|
|
1131
|
-
status: "pending" | "
|
|
1131
|
+
status: "pending" | "completed" | "failed" | "skipped";
|
|
1132
1132
|
releasedCapacity: number | null;
|
|
1133
1133
|
executedAt: Date | null;
|
|
1134
1134
|
notes: string | null;
|
|
@@ -1346,7 +1346,7 @@ export declare const distributionService: {
|
|
|
1346
1346
|
settlementItemId: string | null;
|
|
1347
1347
|
reconciliationItemId: string | null;
|
|
1348
1348
|
exceptionType: string;
|
|
1349
|
-
severity: "
|
|
1349
|
+
severity: "info" | "error" | "warning";
|
|
1350
1350
|
status: "open" | "ignored" | "resolved" | "investigating";
|
|
1351
1351
|
openedAt: Date;
|
|
1352
1352
|
resolvedAt: Date | null;
|
|
@@ -1365,7 +1365,7 @@ export declare const distributionService: {
|
|
|
1365
1365
|
settlementItemId: string | null;
|
|
1366
1366
|
reconciliationItemId: string | null;
|
|
1367
1367
|
exceptionType: string;
|
|
1368
|
-
severity: "
|
|
1368
|
+
severity: "info" | "error" | "warning";
|
|
1369
1369
|
status: "open" | "ignored" | "resolved" | "investigating";
|
|
1370
1370
|
openedAt: Date;
|
|
1371
1371
|
resolvedAt: Date | null;
|
|
@@ -1382,7 +1382,7 @@ export declare const distributionService: {
|
|
|
1382
1382
|
status: "open" | "ignored" | "resolved" | "investigating";
|
|
1383
1383
|
notes: string | null;
|
|
1384
1384
|
channelId: string;
|
|
1385
|
-
severity: "
|
|
1385
|
+
severity: "info" | "error" | "warning";
|
|
1386
1386
|
resolvedAt: Date | null;
|
|
1387
1387
|
settlementItemId: string | null;
|
|
1388
1388
|
reconciliationItemId: string | null;
|
|
@@ -1395,7 +1395,7 @@ export declare const distributionService: {
|
|
|
1395
1395
|
settlementItemId: string | null;
|
|
1396
1396
|
reconciliationItemId: string | null;
|
|
1397
1397
|
exceptionType: string;
|
|
1398
|
-
severity: "
|
|
1398
|
+
severity: "info" | "error" | "warning";
|
|
1399
1399
|
status: "open" | "ignored" | "resolved" | "investigating";
|
|
1400
1400
|
openedAt: Date;
|
|
1401
1401
|
resolvedAt: Date | null;
|
package/dist/validation.d.ts
CHANGED
|
@@ -70,10 +70,10 @@ export declare const channelSettlementItemStatusSchema: z.ZodEnum<{
|
|
|
70
70
|
disputed: "disputed";
|
|
71
71
|
}>;
|
|
72
72
|
export declare const channelReconciliationRunStatusSchema: z.ZodEnum<{
|
|
73
|
-
draft: "draft";
|
|
74
|
-
archived: "archived";
|
|
75
73
|
running: "running";
|
|
76
74
|
completed: "completed";
|
|
75
|
+
draft: "draft";
|
|
76
|
+
archived: "archived";
|
|
77
77
|
}>;
|
|
78
78
|
export declare const channelReconciliationIssueTypeSchema: z.ZodEnum<{
|
|
79
79
|
other: "other";
|
|
@@ -84,8 +84,8 @@ export declare const channelReconciliationIssueTypeSchema: z.ZodEnum<{
|
|
|
84
84
|
missing_payout: "missing_payout";
|
|
85
85
|
}>;
|
|
86
86
|
export declare const channelReconciliationSeveritySchema: z.ZodEnum<{
|
|
87
|
-
error: "error";
|
|
88
87
|
info: "info";
|
|
88
|
+
error: "error";
|
|
89
89
|
warning: "warning";
|
|
90
90
|
}>;
|
|
91
91
|
export declare const channelReconciliationResolutionStatusSchema: z.ZodEnum<{
|
|
@@ -95,8 +95,8 @@ export declare const channelReconciliationResolutionStatusSchema: z.ZodEnum<{
|
|
|
95
95
|
}>;
|
|
96
96
|
export declare const channelReleaseExecutionStatusSchema: z.ZodEnum<{
|
|
97
97
|
pending: "pending";
|
|
98
|
-
failed: "failed";
|
|
99
98
|
completed: "completed";
|
|
99
|
+
failed: "failed";
|
|
100
100
|
skipped: "skipped";
|
|
101
101
|
}>;
|
|
102
102
|
export declare const channelReleaseExecutionActionSchema: z.ZodEnum<{
|
|
@@ -810,10 +810,10 @@ export declare const channelReconciliationRunCoreSchema: z.ZodObject<{
|
|
|
810
810
|
channelId: z.ZodString;
|
|
811
811
|
contractId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
812
812
|
status: z.ZodDefault<z.ZodEnum<{
|
|
813
|
-
draft: "draft";
|
|
814
|
-
archived: "archived";
|
|
815
813
|
running: "running";
|
|
816
814
|
completed: "completed";
|
|
815
|
+
draft: "draft";
|
|
816
|
+
archived: "archived";
|
|
817
817
|
}>>;
|
|
818
818
|
periodStart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
819
819
|
periodEnd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -827,10 +827,10 @@ export declare const insertChannelReconciliationRunSchema: z.ZodObject<{
|
|
|
827
827
|
channelId: z.ZodString;
|
|
828
828
|
contractId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
829
829
|
status: z.ZodDefault<z.ZodEnum<{
|
|
830
|
-
draft: "draft";
|
|
831
|
-
archived: "archived";
|
|
832
830
|
running: "running";
|
|
833
831
|
completed: "completed";
|
|
832
|
+
draft: "draft";
|
|
833
|
+
archived: "archived";
|
|
834
834
|
}>>;
|
|
835
835
|
periodStart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
836
836
|
periodEnd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -844,10 +844,10 @@ export declare const updateChannelReconciliationRunSchema: z.ZodObject<{
|
|
|
844
844
|
channelId: z.ZodOptional<z.ZodString>;
|
|
845
845
|
contractId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
846
846
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
847
|
-
draft: "draft";
|
|
848
|
-
archived: "archived";
|
|
849
847
|
running: "running";
|
|
850
848
|
completed: "completed";
|
|
849
|
+
draft: "draft";
|
|
850
|
+
archived: "archived";
|
|
851
851
|
}>>>;
|
|
852
852
|
periodStart: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
853
853
|
periodEnd: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -863,10 +863,10 @@ export declare const channelReconciliationRunListQuerySchema: z.ZodObject<{
|
|
|
863
863
|
channelId: z.ZodOptional<z.ZodString>;
|
|
864
864
|
contractId: z.ZodOptional<z.ZodString>;
|
|
865
865
|
status: z.ZodOptional<z.ZodEnum<{
|
|
866
|
-
draft: "draft";
|
|
867
|
-
archived: "archived";
|
|
868
866
|
running: "running";
|
|
869
867
|
completed: "completed";
|
|
868
|
+
draft: "draft";
|
|
869
|
+
archived: "archived";
|
|
870
870
|
}>>;
|
|
871
871
|
}, z.core.$strip>;
|
|
872
872
|
export declare const channelReconciliationItemCoreSchema: z.ZodObject<{
|
|
@@ -883,8 +883,8 @@ export declare const channelReconciliationItemCoreSchema: z.ZodObject<{
|
|
|
883
883
|
missing_payout: "missing_payout";
|
|
884
884
|
}>>;
|
|
885
885
|
severity: z.ZodDefault<z.ZodEnum<{
|
|
886
|
-
error: "error";
|
|
887
886
|
info: "info";
|
|
887
|
+
error: "error";
|
|
888
888
|
warning: "warning";
|
|
889
889
|
}>>;
|
|
890
890
|
resolutionStatus: z.ZodDefault<z.ZodEnum<{
|
|
@@ -909,8 +909,8 @@ export declare const insertChannelReconciliationItemSchema: z.ZodObject<{
|
|
|
909
909
|
missing_payout: "missing_payout";
|
|
910
910
|
}>>;
|
|
911
911
|
severity: z.ZodDefault<z.ZodEnum<{
|
|
912
|
-
error: "error";
|
|
913
912
|
info: "info";
|
|
913
|
+
error: "error";
|
|
914
914
|
warning: "warning";
|
|
915
915
|
}>>;
|
|
916
916
|
resolutionStatus: z.ZodDefault<z.ZodEnum<{
|
|
@@ -935,8 +935,8 @@ export declare const updateChannelReconciliationItemSchema: z.ZodObject<{
|
|
|
935
935
|
missing_payout: "missing_payout";
|
|
936
936
|
}>>>;
|
|
937
937
|
severity: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
938
|
-
error: "error";
|
|
939
938
|
info: "info";
|
|
939
|
+
error: "error";
|
|
940
940
|
warning: "warning";
|
|
941
941
|
}>>>;
|
|
942
942
|
resolutionStatus: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
@@ -980,8 +980,8 @@ export declare const channelInventoryReleaseExecutionCoreSchema: z.ZodObject<{
|
|
|
980
980
|
}>>;
|
|
981
981
|
status: z.ZodDefault<z.ZodEnum<{
|
|
982
982
|
pending: "pending";
|
|
983
|
-
failed: "failed";
|
|
984
983
|
completed: "completed";
|
|
984
|
+
failed: "failed";
|
|
985
985
|
skipped: "skipped";
|
|
986
986
|
}>>;
|
|
987
987
|
releasedCapacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1002,8 +1002,8 @@ export declare const insertChannelInventoryReleaseExecutionSchema: z.ZodObject<{
|
|
|
1002
1002
|
}>>;
|
|
1003
1003
|
status: z.ZodDefault<z.ZodEnum<{
|
|
1004
1004
|
pending: "pending";
|
|
1005
|
-
failed: "failed";
|
|
1006
1005
|
completed: "completed";
|
|
1006
|
+
failed: "failed";
|
|
1007
1007
|
skipped: "skipped";
|
|
1008
1008
|
}>>;
|
|
1009
1009
|
releasedCapacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1024,8 +1024,8 @@ export declare const updateChannelInventoryReleaseExecutionSchema: z.ZodObject<{
|
|
|
1024
1024
|
}>>>;
|
|
1025
1025
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1026
1026
|
pending: "pending";
|
|
1027
|
-
failed: "failed";
|
|
1028
1027
|
completed: "completed";
|
|
1028
|
+
failed: "failed";
|
|
1029
1029
|
skipped: "skipped";
|
|
1030
1030
|
}>>>;
|
|
1031
1031
|
releasedCapacity: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -1042,8 +1042,8 @@ export declare const channelInventoryReleaseExecutionListQuerySchema: z.ZodObjec
|
|
|
1042
1042
|
slotId: z.ZodOptional<z.ZodString>;
|
|
1043
1043
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1044
1044
|
pending: "pending";
|
|
1045
|
-
failed: "failed";
|
|
1046
1045
|
completed: "completed";
|
|
1046
|
+
failed: "failed";
|
|
1047
1047
|
skipped: "skipped";
|
|
1048
1048
|
}>>;
|
|
1049
1049
|
}, z.core.$strip>;
|
|
@@ -1252,8 +1252,8 @@ export declare const channelRemittanceExceptionCoreSchema: z.ZodObject<{
|
|
|
1252
1252
|
reconciliationItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1253
1253
|
exceptionType: z.ZodString;
|
|
1254
1254
|
severity: z.ZodDefault<z.ZodEnum<{
|
|
1255
|
-
error: "error";
|
|
1256
1255
|
info: "info";
|
|
1256
|
+
error: "error";
|
|
1257
1257
|
warning: "warning";
|
|
1258
1258
|
}>>;
|
|
1259
1259
|
status: z.ZodDefault<z.ZodEnum<{
|
|
@@ -1273,8 +1273,8 @@ export declare const insertChannelRemittanceExceptionSchema: z.ZodObject<{
|
|
|
1273
1273
|
reconciliationItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1274
1274
|
exceptionType: z.ZodString;
|
|
1275
1275
|
severity: z.ZodDefault<z.ZodEnum<{
|
|
1276
|
-
error: "error";
|
|
1277
1276
|
info: "info";
|
|
1277
|
+
error: "error";
|
|
1278
1278
|
warning: "warning";
|
|
1279
1279
|
}>>;
|
|
1280
1280
|
status: z.ZodDefault<z.ZodEnum<{
|
|
@@ -1294,8 +1294,8 @@ export declare const updateChannelRemittanceExceptionSchema: z.ZodObject<{
|
|
|
1294
1294
|
reconciliationItemId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1295
1295
|
exceptionType: z.ZodOptional<z.ZodString>;
|
|
1296
1296
|
severity: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1297
|
-
error: "error";
|
|
1298
1297
|
info: "info";
|
|
1298
|
+
error: "error";
|
|
1299
1299
|
warning: "warning";
|
|
1300
1300
|
}>>>;
|
|
1301
1301
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/distribution",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"drizzle-orm": "^0.45.2",
|
|
40
40
|
"hono": "^4.12.10",
|
|
41
41
|
"zod": "^4.3.6",
|
|
42
|
-
"@voyantjs/availability": "0.
|
|
43
|
-
"@voyantjs/bookings": "0.
|
|
44
|
-
"@voyantjs/catalog": "0.
|
|
45
|
-
"@voyantjs/core": "0.
|
|
46
|
-
"@voyantjs/db": "0.
|
|
47
|
-
"@voyantjs/hono": "0.
|
|
48
|
-
"@voyantjs/identity": "0.
|
|
49
|
-
"@voyantjs/products": "0.
|
|
50
|
-
"@voyantjs/suppliers": "0.
|
|
51
|
-
"@voyantjs/workflows": "0.
|
|
42
|
+
"@voyantjs/availability": "0.29.0",
|
|
43
|
+
"@voyantjs/bookings": "0.29.0",
|
|
44
|
+
"@voyantjs/catalog": "0.29.0",
|
|
45
|
+
"@voyantjs/core": "0.29.0",
|
|
46
|
+
"@voyantjs/db": "0.29.0",
|
|
47
|
+
"@voyantjs/hono": "0.29.0",
|
|
48
|
+
"@voyantjs/identity": "0.29.0",
|
|
49
|
+
"@voyantjs/products": "0.29.0",
|
|
50
|
+
"@voyantjs/suppliers": "0.29.0",
|
|
51
|
+
"@voyantjs/workflows": "0.29.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"typescript": "^6.0.2",
|