@voyantjs/sellability 0.83.0 → 0.84.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 +5 -5
- package/dist/schema.d.ts +1 -1
- package/dist/service.d.ts +5 -5
- package/dist/validation.d.ts +6 -6
- package/package.json +10 -10
package/dist/routes.d.ts
CHANGED
|
@@ -366,7 +366,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
366
366
|
createdAt: string;
|
|
367
367
|
updatedAt: string;
|
|
368
368
|
organizationId: string | null;
|
|
369
|
-
status: "
|
|
369
|
+
status: "expired" | "draft" | "published" | "sent" | "accepted" | "withdrawn" | "converted";
|
|
370
370
|
currency: string;
|
|
371
371
|
notes: string | null;
|
|
372
372
|
marketId: string | null;
|
|
@@ -1126,7 +1126,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1126
1126
|
snapshotId: string | null;
|
|
1127
1127
|
expiresAt: string;
|
|
1128
1128
|
expiredAt: string | null;
|
|
1129
|
-
status: "cancelled" | "
|
|
1129
|
+
status: "cancelled" | "expired" | "scheduled" | "superseded";
|
|
1130
1130
|
reason: string | null;
|
|
1131
1131
|
metadata: {
|
|
1132
1132
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1155,7 +1155,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1155
1155
|
createdAt: string;
|
|
1156
1156
|
updatedAt: string;
|
|
1157
1157
|
expiresAt: string;
|
|
1158
|
-
status: "cancelled" | "
|
|
1158
|
+
status: "cancelled" | "expired" | "scheduled" | "superseded";
|
|
1159
1159
|
reason: string | null;
|
|
1160
1160
|
offerId: string;
|
|
1161
1161
|
snapshotId: string | null;
|
|
@@ -1192,7 +1192,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1192
1192
|
snapshotId: string | null;
|
|
1193
1193
|
expiresAt: string;
|
|
1194
1194
|
expiredAt: string | null;
|
|
1195
|
-
status: "cancelled" | "
|
|
1195
|
+
status: "cancelled" | "expired" | "scheduled" | "superseded";
|
|
1196
1196
|
reason: string | null;
|
|
1197
1197
|
metadata: {
|
|
1198
1198
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1231,7 +1231,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1231
1231
|
snapshotId: string | null;
|
|
1232
1232
|
expiresAt: string;
|
|
1233
1233
|
expiredAt: string | null;
|
|
1234
|
-
status: "cancelled" | "
|
|
1234
|
+
status: "cancelled" | "expired" | "scheduled" | "superseded";
|
|
1235
1235
|
reason: string | null;
|
|
1236
1236
|
metadata: {
|
|
1237
1237
|
[x: string]: import("hono/utils/types").JSONValue;
|
package/dist/schema.d.ts
CHANGED
|
@@ -1424,7 +1424,7 @@ export declare const offerExpirationEvents: import("drizzle-orm/pg-core").PgTabl
|
|
|
1424
1424
|
tableName: "offer_expiration_events";
|
|
1425
1425
|
dataType: "string";
|
|
1426
1426
|
columnType: "PgEnumColumn";
|
|
1427
|
-
data: "cancelled" | "
|
|
1427
|
+
data: "cancelled" | "expired" | "scheduled" | "superseded";
|
|
1428
1428
|
driverParam: string;
|
|
1429
1429
|
notNull: true;
|
|
1430
1430
|
hasDefault: true;
|
package/dist/service.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ export declare const sellabilityService: {
|
|
|
154
154
|
createdAt: Date;
|
|
155
155
|
updatedAt: Date;
|
|
156
156
|
organizationId: string | null;
|
|
157
|
-
status: "
|
|
157
|
+
status: "expired" | "draft" | "published" | "sent" | "accepted" | "withdrawn" | "converted";
|
|
158
158
|
currency: string;
|
|
159
159
|
notes: string | null;
|
|
160
160
|
marketId: string | null;
|
|
@@ -630,7 +630,7 @@ export declare const sellabilityService: {
|
|
|
630
630
|
snapshotId: string | null;
|
|
631
631
|
expiresAt: Date;
|
|
632
632
|
expiredAt: Date | null;
|
|
633
|
-
status: "cancelled" | "
|
|
633
|
+
status: "cancelled" | "expired" | "scheduled" | "superseded";
|
|
634
634
|
reason: string | null;
|
|
635
635
|
metadata: Record<string, unknown> | null;
|
|
636
636
|
createdAt: Date;
|
|
@@ -646,7 +646,7 @@ export declare const sellabilityService: {
|
|
|
646
646
|
snapshotId: string | null;
|
|
647
647
|
expiresAt: Date;
|
|
648
648
|
expiredAt: Date | null;
|
|
649
|
-
status: "cancelled" | "
|
|
649
|
+
status: "cancelled" | "expired" | "scheduled" | "superseded";
|
|
650
650
|
reason: string | null;
|
|
651
651
|
metadata: Record<string, unknown> | null;
|
|
652
652
|
createdAt: Date;
|
|
@@ -658,7 +658,7 @@ export declare const sellabilityService: {
|
|
|
658
658
|
createdAt: Date;
|
|
659
659
|
updatedAt: Date;
|
|
660
660
|
expiresAt: Date;
|
|
661
|
-
status: "cancelled" | "
|
|
661
|
+
status: "cancelled" | "expired" | "scheduled" | "superseded";
|
|
662
662
|
reason: string | null;
|
|
663
663
|
offerId: string;
|
|
664
664
|
snapshotId: string | null;
|
|
@@ -670,7 +670,7 @@ export declare const sellabilityService: {
|
|
|
670
670
|
snapshotId: string | null;
|
|
671
671
|
expiresAt: Date;
|
|
672
672
|
expiredAt: Date | null;
|
|
673
|
-
status: "cancelled" | "
|
|
673
|
+
status: "cancelled" | "expired" | "scheduled" | "superseded";
|
|
674
674
|
reason: string | null;
|
|
675
675
|
metadata: Record<string, unknown> | null;
|
|
676
676
|
createdAt: Date;
|
package/dist/validation.d.ts
CHANGED
|
@@ -60,8 +60,8 @@ export declare const offerRefreshRunStatusSchema: z.ZodEnum<{
|
|
|
60
60
|
}>;
|
|
61
61
|
export declare const offerExpirationEventStatusSchema: z.ZodEnum<{
|
|
62
62
|
cancelled: "cancelled";
|
|
63
|
-
scheduled: "scheduled";
|
|
64
63
|
expired: "expired";
|
|
64
|
+
scheduled: "scheduled";
|
|
65
65
|
superseded: "superseded";
|
|
66
66
|
}>;
|
|
67
67
|
export declare const sellabilityExplanationTypeSchema: z.ZodEnum<{
|
|
@@ -146,8 +146,8 @@ export declare const sellabilityConstructOfferSchema: z.ZodObject<{
|
|
|
146
146
|
offerNumber: z.ZodOptional<z.ZodString>;
|
|
147
147
|
title: z.ZodOptional<z.ZodString>;
|
|
148
148
|
status: z.ZodDefault<z.ZodEnum<{
|
|
149
|
-
draft: "draft";
|
|
150
149
|
expired: "expired";
|
|
150
|
+
draft: "draft";
|
|
151
151
|
published: "published";
|
|
152
152
|
sent: "sent";
|
|
153
153
|
accepted: "accepted";
|
|
@@ -511,8 +511,8 @@ export declare const offerExpirationEventCoreSchema: z.ZodObject<{
|
|
|
511
511
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
512
512
|
status: z.ZodDefault<z.ZodEnum<{
|
|
513
513
|
cancelled: "cancelled";
|
|
514
|
-
scheduled: "scheduled";
|
|
515
514
|
expired: "expired";
|
|
515
|
+
scheduled: "scheduled";
|
|
516
516
|
superseded: "superseded";
|
|
517
517
|
}>>;
|
|
518
518
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -525,8 +525,8 @@ export declare const insertOfferExpirationEventSchema: z.ZodObject<{
|
|
|
525
525
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
526
526
|
status: z.ZodDefault<z.ZodEnum<{
|
|
527
527
|
cancelled: "cancelled";
|
|
528
|
-
scheduled: "scheduled";
|
|
529
528
|
expired: "expired";
|
|
529
|
+
scheduled: "scheduled";
|
|
530
530
|
superseded: "superseded";
|
|
531
531
|
}>>;
|
|
532
532
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -539,8 +539,8 @@ export declare const updateOfferExpirationEventSchema: z.ZodObject<{
|
|
|
539
539
|
expiredAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
540
540
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
541
541
|
cancelled: "cancelled";
|
|
542
|
-
scheduled: "scheduled";
|
|
543
542
|
expired: "expired";
|
|
543
|
+
scheduled: "scheduled";
|
|
544
544
|
superseded: "superseded";
|
|
545
545
|
}>>>;
|
|
546
546
|
reason: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -553,8 +553,8 @@ export declare const offerExpirationEventListQuerySchema: z.ZodObject<{
|
|
|
553
553
|
snapshotId: z.ZodOptional<z.ZodString>;
|
|
554
554
|
status: z.ZodOptional<z.ZodEnum<{
|
|
555
555
|
cancelled: "cancelled";
|
|
556
|
-
scheduled: "scheduled";
|
|
557
556
|
expired: "expired";
|
|
557
|
+
scheduled: "scheduled";
|
|
558
558
|
superseded: "superseded";
|
|
559
559
|
}>>;
|
|
560
560
|
}, z.core.$strip>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/sellability",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.84.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"drizzle-orm": "^0.45.2",
|
|
30
30
|
"hono": "^4.12.10",
|
|
31
31
|
"zod": "^4.3.6",
|
|
32
|
-
"@voyantjs/availability": "0.
|
|
33
|
-
"@voyantjs/core": "0.
|
|
34
|
-
"@voyantjs/db": "0.
|
|
35
|
-
"@voyantjs/distribution": "0.
|
|
36
|
-
"@voyantjs/hono": "0.
|
|
37
|
-
"@voyantjs/markets": "0.
|
|
38
|
-
"@voyantjs/pricing": "0.
|
|
39
|
-
"@voyantjs/products": "0.
|
|
40
|
-
"@voyantjs/transactions": "0.
|
|
32
|
+
"@voyantjs/availability": "0.84.0",
|
|
33
|
+
"@voyantjs/core": "0.84.0",
|
|
34
|
+
"@voyantjs/db": "0.84.0",
|
|
35
|
+
"@voyantjs/distribution": "0.84.0",
|
|
36
|
+
"@voyantjs/hono": "0.84.0",
|
|
37
|
+
"@voyantjs/markets": "0.84.0",
|
|
38
|
+
"@voyantjs/pricing": "0.84.0",
|
|
39
|
+
"@voyantjs/products": "0.84.0",
|
|
40
|
+
"@voyantjs/transactions": "0.84.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"typescript": "^6.0.2",
|