@voyantjs/distribution 0.2.0 → 0.3.1
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 +17 -17
- package/dist/schema-automation.d.ts +680 -0
- package/dist/schema-automation.d.ts.map +1 -0
- package/dist/schema-automation.js +73 -0
- package/dist/schema-core.d.ts +1113 -0
- package/dist/schema-core.d.ts.map +1 -0
- package/dist/schema-core.js +116 -0
- package/dist/schema-finance.d.ts +1372 -0
- package/dist/schema-finance.d.ts.map +1 -0
- package/dist/schema-finance.js +147 -0
- package/dist/schema-inventory.d.ts +855 -0
- package/dist/schema-inventory.d.ts.map +1 -0
- package/dist/schema-inventory.js +105 -0
- package/dist/schema-relations.d.ts +99 -0
- package/dist/schema-relations.d.ts.map +1 -0
- package/dist/schema-relations.js +220 -0
- package/dist/schema-shared.d.ts +24 -0
- package/dist/schema-shared.d.ts.map +1 -0
- package/dist/schema-shared.js +122 -0
- package/dist/schema.d.ts +6 -4137
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +6 -760
- package/dist/service.d.ts +16 -16
- package/dist/validation.d.ts +10 -10
- package/package.json +8 -8
package/dist/routes.d.ts
CHANGED
|
@@ -522,7 +522,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
522
522
|
id: string;
|
|
523
523
|
channelId: string;
|
|
524
524
|
supplierId: string | null;
|
|
525
|
-
status: "
|
|
525
|
+
status: "draft" | "active" | "expired" | "terminated";
|
|
526
526
|
startsAt: string;
|
|
527
527
|
endsAt: string | null;
|
|
528
528
|
paymentOwner: "operator" | "channel" | "split";
|
|
@@ -551,11 +551,11 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
551
551
|
updatedAt: string;
|
|
552
552
|
notes: string | null;
|
|
553
553
|
id: string;
|
|
554
|
-
|
|
555
|
-
endsAt: string | null;
|
|
556
|
-
status: "active" | "draft" | "expired" | "terminated";
|
|
554
|
+
status: "draft" | "active" | "expired" | "terminated";
|
|
557
555
|
supplierId: string | null;
|
|
558
556
|
channelId: string;
|
|
557
|
+
startsAt: string;
|
|
558
|
+
endsAt: string | null;
|
|
559
559
|
cancellationOwner: "operator" | "channel" | "mixed";
|
|
560
560
|
settlementTerms: string | null;
|
|
561
561
|
} | undefined;
|
|
@@ -573,7 +573,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
573
573
|
id: string;
|
|
574
574
|
channelId: string;
|
|
575
575
|
supplierId: string | null;
|
|
576
|
-
status: "
|
|
576
|
+
status: "draft" | "active" | "expired" | "terminated";
|
|
577
577
|
startsAt: string;
|
|
578
578
|
endsAt: string | null;
|
|
579
579
|
paymentOwner: "operator" | "channel" | "split";
|
|
@@ -635,7 +635,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
635
635
|
id: string;
|
|
636
636
|
channelId: string;
|
|
637
637
|
supplierId: string | null;
|
|
638
|
-
status: "
|
|
638
|
+
status: "draft" | "active" | "expired" | "terminated";
|
|
639
639
|
startsAt: string;
|
|
640
640
|
endsAt: string | null;
|
|
641
641
|
paymentOwner: "operator" | "channel" | "split";
|
|
@@ -674,7 +674,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
674
674
|
id: string;
|
|
675
675
|
channelId: string;
|
|
676
676
|
supplierId: string | null;
|
|
677
|
-
status: "
|
|
677
|
+
status: "draft" | "active" | "expired" | "terminated";
|
|
678
678
|
startsAt: string;
|
|
679
679
|
endsAt: string | null;
|
|
680
680
|
paymentOwner: "operator" | "channel" | "split";
|
|
@@ -955,8 +955,8 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
955
955
|
createdAt: string;
|
|
956
956
|
updatedAt: string;
|
|
957
957
|
id: string;
|
|
958
|
-
productId: string;
|
|
959
958
|
active: boolean;
|
|
959
|
+
productId: string;
|
|
960
960
|
channelId: string;
|
|
961
961
|
externalRateId: string | null;
|
|
962
962
|
externalCategoryId: string | null;
|
|
@@ -1542,15 +1542,15 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1542
1542
|
updatedAt: string;
|
|
1543
1543
|
notes: string | null;
|
|
1544
1544
|
id: string;
|
|
1545
|
+
active: boolean;
|
|
1545
1546
|
productId: string;
|
|
1546
1547
|
optionId: string | null;
|
|
1547
|
-
maxCapacity: number | null;
|
|
1548
|
-
active: boolean;
|
|
1549
|
-
startTimeId: string | null;
|
|
1550
1548
|
validFrom: string | null;
|
|
1551
1549
|
validTo: string | null;
|
|
1552
1550
|
channelId: string;
|
|
1553
1551
|
contractId: string | null;
|
|
1552
|
+
maxCapacity: number | null;
|
|
1553
|
+
startTimeId: string | null;
|
|
1554
1554
|
guaranteedCapacity: number | null;
|
|
1555
1555
|
} | undefined;
|
|
1556
1556
|
};
|
|
@@ -1751,8 +1751,8 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
1751
1751
|
createdAt: string;
|
|
1752
1752
|
updatedAt: string;
|
|
1753
1753
|
id: string;
|
|
1754
|
-
maxCapacity: number | null;
|
|
1755
1754
|
active: boolean;
|
|
1755
|
+
maxCapacity: number | null;
|
|
1756
1756
|
startTimeId: string | null;
|
|
1757
1757
|
dateLocal: string | null;
|
|
1758
1758
|
slotId: string | null;
|
|
@@ -2113,7 +2113,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2113
2113
|
id: string;
|
|
2114
2114
|
channelId: string;
|
|
2115
2115
|
contractId: string | null;
|
|
2116
|
-
status: "void" | "
|
|
2116
|
+
status: "void" | "draft" | "open" | "posted" | "paid";
|
|
2117
2117
|
currencyCode: string | null;
|
|
2118
2118
|
periodStart: string | null;
|
|
2119
2119
|
periodEnd: string | null;
|
|
@@ -2149,7 +2149,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2149
2149
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2150
2150
|
} | null;
|
|
2151
2151
|
id: string;
|
|
2152
|
-
status: "void" | "
|
|
2152
|
+
status: "void" | "draft" | "open" | "posted" | "paid";
|
|
2153
2153
|
channelId: string;
|
|
2154
2154
|
contractId: string | null;
|
|
2155
2155
|
currencyCode: string | null;
|
|
@@ -2189,7 +2189,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2189
2189
|
id: string;
|
|
2190
2190
|
channelId: string;
|
|
2191
2191
|
contractId: string | null;
|
|
2192
|
-
status: "void" | "
|
|
2192
|
+
status: "void" | "draft" | "open" | "posted" | "paid";
|
|
2193
2193
|
currencyCode: string | null;
|
|
2194
2194
|
periodStart: string | null;
|
|
2195
2195
|
periodEnd: string | null;
|
|
@@ -2233,7 +2233,7 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2233
2233
|
id: string;
|
|
2234
2234
|
channelId: string;
|
|
2235
2235
|
contractId: string | null;
|
|
2236
|
-
status: "void" | "
|
|
2236
|
+
status: "void" | "draft" | "open" | "posted" | "paid";
|
|
2237
2237
|
currencyCode: string | null;
|
|
2238
2238
|
periodStart: string | null;
|
|
2239
2239
|
periodEnd: string | null;
|
|
@@ -2982,12 +2982,12 @@ export declare const distributionRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
2982
2982
|
active: boolean;
|
|
2983
2983
|
channelId: string;
|
|
2984
2984
|
contractId: string | null;
|
|
2985
|
-
currencyCode: string | null;
|
|
2986
2985
|
frequency: "manual" | "daily" | "weekly" | "monthly";
|
|
2987
2986
|
autoGenerate: boolean;
|
|
2988
2987
|
approvalRequired: boolean;
|
|
2989
2988
|
remittanceDaysAfterPeriodEnd: number | null;
|
|
2990
2989
|
minimumPayoutAmountCents: number | null;
|
|
2990
|
+
currencyCode: string | null;
|
|
2991
2991
|
} | undefined;
|
|
2992
2992
|
};
|
|
2993
2993
|
outputFormat: "json";
|