@voyantjs/legal 0.6.2 → 0.6.3
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.
|
@@ -499,7 +499,7 @@ export declare function createContractsAdminRoutes(options?: ContractsRouteOptio
|
|
|
499
499
|
id: string;
|
|
500
500
|
contractNumber: string | null;
|
|
501
501
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
502
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
502
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
503
503
|
title: string;
|
|
504
504
|
templateVersionId: string | null;
|
|
505
505
|
seriesId: string | null;
|
|
@@ -543,7 +543,7 @@ export declare function createContractsAdminRoutes(options?: ContractsRouteOptio
|
|
|
543
543
|
expiresAt: string | null;
|
|
544
544
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
545
545
|
organizationId: string | null;
|
|
546
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
546
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
547
547
|
language: string;
|
|
548
548
|
variables: import("hono/utils/types").JSONValue;
|
|
549
549
|
personId: string | null;
|
|
@@ -591,7 +591,7 @@ export declare function createContractsAdminRoutes(options?: ContractsRouteOptio
|
|
|
591
591
|
id: string;
|
|
592
592
|
contractNumber: string | null;
|
|
593
593
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
594
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
594
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
595
595
|
title: string;
|
|
596
596
|
templateVersionId: string | null;
|
|
597
597
|
seriesId: string | null;
|
|
@@ -643,7 +643,7 @@ export declare function createContractsAdminRoutes(options?: ContractsRouteOptio
|
|
|
643
643
|
id: string;
|
|
644
644
|
contractNumber: string | null;
|
|
645
645
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
646
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
646
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
647
647
|
title: string;
|
|
648
648
|
templateVersionId: string | null;
|
|
649
649
|
seriesId: string | null;
|
|
@@ -743,7 +743,7 @@ export declare function createContractsAdminRoutes(options?: ContractsRouteOptio
|
|
|
743
743
|
id: string;
|
|
744
744
|
contractNumber: string | null;
|
|
745
745
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
746
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
746
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
747
747
|
title: string;
|
|
748
748
|
templateVersionId: string | null;
|
|
749
749
|
seriesId: string | null;
|
|
@@ -806,7 +806,7 @@ export declare function createContractsAdminRoutes(options?: ContractsRouteOptio
|
|
|
806
806
|
id: string;
|
|
807
807
|
contractNumber: string | null;
|
|
808
808
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
809
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
809
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
810
810
|
title: string;
|
|
811
811
|
templateVersionId: string | null;
|
|
812
812
|
seriesId: string | null;
|
|
@@ -870,7 +870,7 @@ export declare function createContractsAdminRoutes(options?: ContractsRouteOptio
|
|
|
870
870
|
id: string;
|
|
871
871
|
contractNumber: string | null;
|
|
872
872
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
873
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
873
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
874
874
|
title: string;
|
|
875
875
|
templateVersionId: string | null;
|
|
876
876
|
seriesId: string | null;
|
|
@@ -951,7 +951,7 @@ export declare function createContractsAdminRoutes(options?: ContractsRouteOptio
|
|
|
951
951
|
id: string;
|
|
952
952
|
contractNumber: string | null;
|
|
953
953
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
954
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
954
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
955
955
|
title: string;
|
|
956
956
|
templateVersionId: string | null;
|
|
957
957
|
seriesId: string | null;
|
|
@@ -1014,7 +1014,7 @@ export declare function createContractsAdminRoutes(options?: ContractsRouteOptio
|
|
|
1014
1014
|
id: string;
|
|
1015
1015
|
contractNumber: string | null;
|
|
1016
1016
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
1017
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
1017
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
1018
1018
|
title: string;
|
|
1019
1019
|
templateVersionId: string | null;
|
|
1020
1020
|
seriesId: string | null;
|
|
@@ -1128,7 +1128,7 @@ export declare function createContractsAdminRoutes(options?: ContractsRouteOptio
|
|
|
1128
1128
|
} | {
|
|
1129
1129
|
status: "generated";
|
|
1130
1130
|
contractId: string;
|
|
1131
|
-
contractStatus: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
1131
|
+
contractStatus: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
1132
1132
|
renderedBodyFormat: "markdown" | "html" | "lexical_json";
|
|
1133
1133
|
renderedBody: string;
|
|
1134
1134
|
attachment: {
|
|
@@ -1207,7 +1207,7 @@ export declare function createContractsAdminRoutes(options?: ContractsRouteOptio
|
|
|
1207
1207
|
} | {
|
|
1208
1208
|
status: "generated";
|
|
1209
1209
|
contractId: string;
|
|
1210
|
-
contractStatus: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
1210
|
+
contractStatus: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
1211
1211
|
renderedBodyFormat: "markdown" | "html" | "lexical_json";
|
|
1212
1212
|
renderedBody: string;
|
|
1213
1213
|
attachment: {
|
|
@@ -1903,7 +1903,7 @@ export declare const contractsAdminRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
1903
1903
|
id: string;
|
|
1904
1904
|
contractNumber: string | null;
|
|
1905
1905
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
1906
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
1906
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
1907
1907
|
title: string;
|
|
1908
1908
|
templateVersionId: string | null;
|
|
1909
1909
|
seriesId: string | null;
|
|
@@ -1947,7 +1947,7 @@ export declare const contractsAdminRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
1947
1947
|
expiresAt: string | null;
|
|
1948
1948
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
1949
1949
|
organizationId: string | null;
|
|
1950
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
1950
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
1951
1951
|
language: string;
|
|
1952
1952
|
variables: import("hono/utils/types").JSONValue;
|
|
1953
1953
|
personId: string | null;
|
|
@@ -1995,7 +1995,7 @@ export declare const contractsAdminRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
1995
1995
|
id: string;
|
|
1996
1996
|
contractNumber: string | null;
|
|
1997
1997
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
1998
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
1998
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
1999
1999
|
title: string;
|
|
2000
2000
|
templateVersionId: string | null;
|
|
2001
2001
|
seriesId: string | null;
|
|
@@ -2047,7 +2047,7 @@ export declare const contractsAdminRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
2047
2047
|
id: string;
|
|
2048
2048
|
contractNumber: string | null;
|
|
2049
2049
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
2050
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
2050
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
2051
2051
|
title: string;
|
|
2052
2052
|
templateVersionId: string | null;
|
|
2053
2053
|
seriesId: string | null;
|
|
@@ -2147,7 +2147,7 @@ export declare const contractsAdminRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
2147
2147
|
id: string;
|
|
2148
2148
|
contractNumber: string | null;
|
|
2149
2149
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
2150
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
2150
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
2151
2151
|
title: string;
|
|
2152
2152
|
templateVersionId: string | null;
|
|
2153
2153
|
seriesId: string | null;
|
|
@@ -2210,7 +2210,7 @@ export declare const contractsAdminRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
2210
2210
|
id: string;
|
|
2211
2211
|
contractNumber: string | null;
|
|
2212
2212
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
2213
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
2213
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
2214
2214
|
title: string;
|
|
2215
2215
|
templateVersionId: string | null;
|
|
2216
2216
|
seriesId: string | null;
|
|
@@ -2274,7 +2274,7 @@ export declare const contractsAdminRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
2274
2274
|
id: string;
|
|
2275
2275
|
contractNumber: string | null;
|
|
2276
2276
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
2277
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
2277
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
2278
2278
|
title: string;
|
|
2279
2279
|
templateVersionId: string | null;
|
|
2280
2280
|
seriesId: string | null;
|
|
@@ -2355,7 +2355,7 @@ export declare const contractsAdminRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
2355
2355
|
id: string;
|
|
2356
2356
|
contractNumber: string | null;
|
|
2357
2357
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
2358
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
2358
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
2359
2359
|
title: string;
|
|
2360
2360
|
templateVersionId: string | null;
|
|
2361
2361
|
seriesId: string | null;
|
|
@@ -2418,7 +2418,7 @@ export declare const contractsAdminRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
2418
2418
|
id: string;
|
|
2419
2419
|
contractNumber: string | null;
|
|
2420
2420
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
2421
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
2421
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
2422
2422
|
title: string;
|
|
2423
2423
|
templateVersionId: string | null;
|
|
2424
2424
|
seriesId: string | null;
|
|
@@ -2532,7 +2532,7 @@ export declare const contractsAdminRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
2532
2532
|
} | {
|
|
2533
2533
|
status: "generated";
|
|
2534
2534
|
contractId: string;
|
|
2535
|
-
contractStatus: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
2535
|
+
contractStatus: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
2536
2536
|
renderedBodyFormat: "markdown" | "html" | "lexical_json";
|
|
2537
2537
|
renderedBody: string;
|
|
2538
2538
|
attachment: {
|
|
@@ -2611,7 +2611,7 @@ export declare const contractsAdminRoutes: import("hono/hono-base").HonoBase<Env
|
|
|
2611
2611
|
} | {
|
|
2612
2612
|
status: "generated";
|
|
2613
2613
|
contractId: string;
|
|
2614
|
-
contractStatus: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
2614
|
+
contractStatus: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
2615
2615
|
renderedBodyFormat: "markdown" | "html" | "lexical_json";
|
|
2616
2616
|
renderedBody: string;
|
|
2617
2617
|
attachment: {
|
|
@@ -2910,7 +2910,7 @@ export declare function createContractsPublicRoutes(): import("hono/hono-base").
|
|
|
2910
2910
|
id: string;
|
|
2911
2911
|
contractNumber: string | null;
|
|
2912
2912
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
2913
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
2913
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
2914
2914
|
title: string;
|
|
2915
2915
|
templateVersionId: string | null;
|
|
2916
2916
|
seriesId: string | null;
|
|
@@ -3078,7 +3078,7 @@ export declare const contractsPublicRoutes: import("hono/hono-base").HonoBase<En
|
|
|
3078
3078
|
id: string;
|
|
3079
3079
|
contractNumber: string | null;
|
|
3080
3080
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
3081
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
3081
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
3082
3082
|
title: string;
|
|
3083
3083
|
templateVersionId: string | null;
|
|
3084
3084
|
seriesId: string | null;
|
|
@@ -685,7 +685,7 @@ export declare const contracts: import("drizzle-orm/pg-core").PgTableWithColumns
|
|
|
685
685
|
tableName: "contracts";
|
|
686
686
|
dataType: "string";
|
|
687
687
|
columnType: "PgEnumColumn";
|
|
688
|
-
data: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
688
|
+
data: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
689
689
|
driverParam: string;
|
|
690
690
|
notNull: true;
|
|
691
691
|
hasDefault: true;
|
|
@@ -6,7 +6,7 @@ export declare const contractRecordsService: {
|
|
|
6
6
|
id: string;
|
|
7
7
|
contractNumber: string | null;
|
|
8
8
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
9
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
9
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
10
10
|
title: string;
|
|
11
11
|
templateVersionId: string | null;
|
|
12
12
|
seriesId: string | null;
|
|
@@ -37,7 +37,7 @@ export declare const contractRecordsService: {
|
|
|
37
37
|
id: string;
|
|
38
38
|
contractNumber: string | null;
|
|
39
39
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
40
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
40
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
41
41
|
title: string;
|
|
42
42
|
templateVersionId: string | null;
|
|
43
43
|
seriesId: string | null;
|
|
@@ -68,7 +68,7 @@ export declare const contractRecordsService: {
|
|
|
68
68
|
expiresAt: Date | null;
|
|
69
69
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
70
70
|
organizationId: string | null;
|
|
71
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
71
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
72
72
|
language: string;
|
|
73
73
|
variables: unknown;
|
|
74
74
|
personId: string | null;
|
|
@@ -91,7 +91,7 @@ export declare const contractRecordsService: {
|
|
|
91
91
|
id: string;
|
|
92
92
|
contractNumber: string | null;
|
|
93
93
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
94
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
94
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
95
95
|
title: string;
|
|
96
96
|
templateVersionId: string | null;
|
|
97
97
|
seriesId: string | null;
|
|
@@ -133,7 +133,7 @@ export declare const contractRecordsService: {
|
|
|
133
133
|
id: string;
|
|
134
134
|
contractNumber: string | null;
|
|
135
135
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
136
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
136
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
137
137
|
title: string;
|
|
138
138
|
templateVersionId: string | null;
|
|
139
139
|
seriesId: string | null;
|
|
@@ -169,7 +169,7 @@ export declare const contractRecordsService: {
|
|
|
169
169
|
id: string;
|
|
170
170
|
contractNumber: string | null;
|
|
171
171
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
172
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
172
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
173
173
|
title: string;
|
|
174
174
|
templateVersionId: string | null;
|
|
175
175
|
seriesId: string | null;
|
|
@@ -205,7 +205,7 @@ export declare const contractRecordsService: {
|
|
|
205
205
|
id: string;
|
|
206
206
|
contractNumber: string | null;
|
|
207
207
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
208
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
208
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
209
209
|
title: string;
|
|
210
210
|
templateVersionId: string | null;
|
|
211
211
|
seriesId: string | null;
|
|
@@ -772,7 +772,7 @@ export declare const contractRecordsService: {
|
|
|
772
772
|
id: string;
|
|
773
773
|
contractNumber: string | null;
|
|
774
774
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
775
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
775
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
776
776
|
title: string;
|
|
777
777
|
templateVersionId: string | null;
|
|
778
778
|
seriesId: string | null;
|
|
@@ -825,7 +825,7 @@ export declare const contractRecordsService: {
|
|
|
825
825
|
id: string;
|
|
826
826
|
contractNumber: string | null;
|
|
827
827
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
828
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
828
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
829
829
|
title: string;
|
|
830
830
|
templateVersionId: string | null;
|
|
831
831
|
seriesId: string | null;
|
|
@@ -18,7 +18,7 @@ export declare const contractsService: {
|
|
|
18
18
|
id: string;
|
|
19
19
|
contractNumber: string | null;
|
|
20
20
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
21
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
21
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
22
22
|
title: string;
|
|
23
23
|
templateVersionId: string | null;
|
|
24
24
|
seriesId: string | null;
|
|
@@ -49,7 +49,7 @@ export declare const contractsService: {
|
|
|
49
49
|
id: string;
|
|
50
50
|
contractNumber: string | null;
|
|
51
51
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
52
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
52
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
53
53
|
title: string;
|
|
54
54
|
templateVersionId: string | null;
|
|
55
55
|
seriesId: string | null;
|
|
@@ -80,7 +80,7 @@ export declare const contractsService: {
|
|
|
80
80
|
expiresAt: Date | null;
|
|
81
81
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
82
82
|
organizationId: string | null;
|
|
83
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
83
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
84
84
|
language: string;
|
|
85
85
|
variables: unknown;
|
|
86
86
|
personId: string | null;
|
|
@@ -103,7 +103,7 @@ export declare const contractsService: {
|
|
|
103
103
|
id: string;
|
|
104
104
|
contractNumber: string | null;
|
|
105
105
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
106
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
106
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
107
107
|
title: string;
|
|
108
108
|
templateVersionId: string | null;
|
|
109
109
|
seriesId: string | null;
|
|
@@ -145,7 +145,7 @@ export declare const contractsService: {
|
|
|
145
145
|
id: string;
|
|
146
146
|
contractNumber: string | null;
|
|
147
147
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
148
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
148
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
149
149
|
title: string;
|
|
150
150
|
templateVersionId: string | null;
|
|
151
151
|
seriesId: string | null;
|
|
@@ -181,7 +181,7 @@ export declare const contractsService: {
|
|
|
181
181
|
id: string;
|
|
182
182
|
contractNumber: string | null;
|
|
183
183
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
184
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
184
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
185
185
|
title: string;
|
|
186
186
|
templateVersionId: string | null;
|
|
187
187
|
seriesId: string | null;
|
|
@@ -217,7 +217,7 @@ export declare const contractsService: {
|
|
|
217
217
|
id: string;
|
|
218
218
|
contractNumber: string | null;
|
|
219
219
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
220
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
220
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
221
221
|
title: string;
|
|
222
222
|
templateVersionId: string | null;
|
|
223
223
|
seriesId: string | null;
|
|
@@ -784,7 +784,7 @@ export declare const contractsService: {
|
|
|
784
784
|
id: string;
|
|
785
785
|
contractNumber: string | null;
|
|
786
786
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
787
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
787
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
788
788
|
title: string;
|
|
789
789
|
templateVersionId: string | null;
|
|
790
790
|
seriesId: string | null;
|
|
@@ -837,7 +837,7 @@ export declare const contractsService: {
|
|
|
837
837
|
id: string;
|
|
838
838
|
contractNumber: string | null;
|
|
839
839
|
scope: "customer" | "partner" | "supplier" | "other" | "channel";
|
|
840
|
-
status: "void" | "draft" | "issued" | "sent" | "signed" | "
|
|
840
|
+
status: "executed" | "void" | "draft" | "issued" | "sent" | "signed" | "expired";
|
|
841
841
|
title: string;
|
|
842
842
|
templateVersionId: string | null;
|
|
843
843
|
seriesId: string | null;
|
|
@@ -7,12 +7,12 @@ export declare const contractScopeSchema: z.ZodEnum<{
|
|
|
7
7
|
channel: "channel";
|
|
8
8
|
}>;
|
|
9
9
|
export declare const contractStatusSchema: z.ZodEnum<{
|
|
10
|
+
executed: "executed";
|
|
10
11
|
void: "void";
|
|
11
12
|
draft: "draft";
|
|
12
13
|
issued: "issued";
|
|
13
14
|
sent: "sent";
|
|
14
15
|
signed: "signed";
|
|
15
|
-
executed: "executed";
|
|
16
16
|
expired: "expired";
|
|
17
17
|
}>;
|
|
18
18
|
export declare const contractSignatureMethodSchema: z.ZodEnum<{
|
|
@@ -158,12 +158,12 @@ export declare const insertContractSchema: z.ZodObject<{
|
|
|
158
158
|
channel: "channel";
|
|
159
159
|
}>;
|
|
160
160
|
status: z.ZodDefault<z.ZodEnum<{
|
|
161
|
+
executed: "executed";
|
|
161
162
|
void: "void";
|
|
162
163
|
draft: "draft";
|
|
163
164
|
issued: "issued";
|
|
164
165
|
sent: "sent";
|
|
165
166
|
signed: "signed";
|
|
166
|
-
executed: "executed";
|
|
167
167
|
expired: "expired";
|
|
168
168
|
}>>;
|
|
169
169
|
title: z.ZodString;
|
|
@@ -189,12 +189,12 @@ export declare const updateContractSchema: z.ZodObject<{
|
|
|
189
189
|
channel: "channel";
|
|
190
190
|
}>>;
|
|
191
191
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
192
|
+
executed: "executed";
|
|
192
193
|
void: "void";
|
|
193
194
|
draft: "draft";
|
|
194
195
|
issued: "issued";
|
|
195
196
|
sent: "sent";
|
|
196
197
|
signed: "signed";
|
|
197
|
-
executed: "executed";
|
|
198
198
|
expired: "expired";
|
|
199
199
|
}>>>;
|
|
200
200
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -222,12 +222,12 @@ export declare const contractListQuerySchema: z.ZodObject<{
|
|
|
222
222
|
channel: "channel";
|
|
223
223
|
}>>;
|
|
224
224
|
status: z.ZodOptional<z.ZodEnum<{
|
|
225
|
+
executed: "executed";
|
|
225
226
|
void: "void";
|
|
226
227
|
draft: "draft";
|
|
227
228
|
issued: "issued";
|
|
228
229
|
sent: "sent";
|
|
229
230
|
signed: "signed";
|
|
230
|
-
executed: "executed";
|
|
231
231
|
expired: "expired";
|
|
232
232
|
}>>;
|
|
233
233
|
personId: z.ZodOptional<z.ZodString>;
|
|
@@ -269,12 +269,12 @@ export declare const generatedContractDocumentAttachmentSchema: z.ZodObject<{
|
|
|
269
269
|
export declare const generatedContractDocumentResultSchema: z.ZodObject<{
|
|
270
270
|
contractId: z.ZodString;
|
|
271
271
|
contractStatus: z.ZodEnum<{
|
|
272
|
+
executed: "executed";
|
|
272
273
|
void: "void";
|
|
273
274
|
draft: "draft";
|
|
274
275
|
issued: "issued";
|
|
275
276
|
sent: "sent";
|
|
276
277
|
signed: "signed";
|
|
277
|
-
executed: "executed";
|
|
278
278
|
expired: "expired";
|
|
279
279
|
}>;
|
|
280
280
|
renderedBodyFormat: z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/legal",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"drizzle-orm": "^0.45.2",
|
|
54
54
|
"hono": "^4.12.10",
|
|
55
55
|
"zod": "^4.3.6",
|
|
56
|
-
"@voyantjs/core": "0.6.
|
|
57
|
-
"@voyantjs/crm": "0.6.
|
|
58
|
-
"@voyantjs/db": "0.6.
|
|
59
|
-
"@voyantjs/hono": "0.6.
|
|
60
|
-
"@voyantjs/suppliers": "0.6.
|
|
61
|
-
"@voyantjs/utils": "0.6.
|
|
62
|
-
"@voyantjs/voyant-storage": "0.6.
|
|
56
|
+
"@voyantjs/core": "0.6.3",
|
|
57
|
+
"@voyantjs/crm": "0.6.3",
|
|
58
|
+
"@voyantjs/db": "0.6.3",
|
|
59
|
+
"@voyantjs/hono": "0.6.3",
|
|
60
|
+
"@voyantjs/suppliers": "0.6.3",
|
|
61
|
+
"@voyantjs/utils": "0.6.3",
|
|
62
|
+
"@voyantjs/voyant-storage": "0.6.3"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"typescript": "^6.0.2",
|