@voyantjs/transactions 0.31.1 → 0.31.2
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-orders.d.ts
CHANGED
|
@@ -1209,7 +1209,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
1209
1209
|
id: string;
|
|
1210
1210
|
offerId: string | null;
|
|
1211
1211
|
orderId: string | null;
|
|
1212
|
-
termType: "other" | "
|
|
1212
|
+
termType: "other" | "pricing" | "terms_and_conditions" | "cancellation" | "guarantee" | "payment" | "commission";
|
|
1213
1213
|
title: string;
|
|
1214
1214
|
body: string;
|
|
1215
1215
|
language: string | null;
|
|
@@ -1245,7 +1245,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
1245
1245
|
orderId: string | null;
|
|
1246
1246
|
title: string;
|
|
1247
1247
|
acceptedAt: string | null;
|
|
1248
|
-
termType: "other" | "
|
|
1248
|
+
termType: "other" | "pricing" | "terms_and_conditions" | "cancellation" | "guarantee" | "payment" | "commission";
|
|
1249
1249
|
language: string | null;
|
|
1250
1250
|
required: boolean;
|
|
1251
1251
|
sortOrder: number;
|
|
@@ -1281,7 +1281,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
1281
1281
|
id: string;
|
|
1282
1282
|
offerId: string | null;
|
|
1283
1283
|
orderId: string | null;
|
|
1284
|
-
termType: "other" | "
|
|
1284
|
+
termType: "other" | "pricing" | "terms_and_conditions" | "cancellation" | "guarantee" | "payment" | "commission";
|
|
1285
1285
|
title: string;
|
|
1286
1286
|
body: string;
|
|
1287
1287
|
language: string | null;
|
|
@@ -1323,7 +1323,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
1323
1323
|
id: string;
|
|
1324
1324
|
offerId: string | null;
|
|
1325
1325
|
orderId: string | null;
|
|
1326
|
-
termType: "other" | "
|
|
1326
|
+
termType: "other" | "pricing" | "terms_and_conditions" | "cancellation" | "guarantee" | "payment" | "commission";
|
|
1327
1327
|
title: string;
|
|
1328
1328
|
body: string;
|
|
1329
1329
|
language: string | null;
|
package/dist/schema-orders.d.ts
CHANGED
|
@@ -1537,7 +1537,7 @@ export declare const orderTerms: import("drizzle-orm/pg-core").PgTableWithColumn
|
|
|
1537
1537
|
tableName: "order_terms";
|
|
1538
1538
|
dataType: "string";
|
|
1539
1539
|
columnType: "PgEnumColumn";
|
|
1540
|
-
data: "other" | "
|
|
1540
|
+
data: "other" | "pricing" | "terms_and_conditions" | "cancellation" | "guarantee" | "payment" | "commission";
|
|
1541
1541
|
driverParam: string;
|
|
1542
1542
|
notNull: true;
|
|
1543
1543
|
hasDefault: true;
|
package/dist/service-orders.d.ts
CHANGED
|
@@ -571,7 +571,7 @@ export declare function listOrderTerms(db: PostgresJsDatabase, query: OrderTermL
|
|
|
571
571
|
id: string;
|
|
572
572
|
offerId: string | null;
|
|
573
573
|
orderId: string | null;
|
|
574
|
-
termType: "other" | "
|
|
574
|
+
termType: "other" | "pricing" | "terms_and_conditions" | "cancellation" | "guarantee" | "payment" | "commission";
|
|
575
575
|
title: string;
|
|
576
576
|
body: string;
|
|
577
577
|
language: string | null;
|
|
@@ -592,7 +592,7 @@ export declare function getOrderTermById(db: PostgresJsDatabase, id: string): Pr
|
|
|
592
592
|
id: string;
|
|
593
593
|
offerId: string | null;
|
|
594
594
|
orderId: string | null;
|
|
595
|
-
termType: "other" | "
|
|
595
|
+
termType: "other" | "pricing" | "terms_and_conditions" | "cancellation" | "guarantee" | "payment" | "commission";
|
|
596
596
|
title: string;
|
|
597
597
|
body: string;
|
|
598
598
|
language: string | null;
|
|
@@ -615,7 +615,7 @@ export declare function createOrderTerm(db: PostgresJsDatabase, data: CreateOrde
|
|
|
615
615
|
orderId: string | null;
|
|
616
616
|
title: string;
|
|
617
617
|
acceptedAt: Date | null;
|
|
618
|
-
termType: "other" | "
|
|
618
|
+
termType: "other" | "pricing" | "terms_and_conditions" | "cancellation" | "guarantee" | "payment" | "commission";
|
|
619
619
|
language: string | null;
|
|
620
620
|
required: boolean;
|
|
621
621
|
sortOrder: number;
|
|
@@ -626,7 +626,7 @@ export declare function updateOrderTerm(db: PostgresJsDatabase, id: string, data
|
|
|
626
626
|
id: string;
|
|
627
627
|
offerId: string | null;
|
|
628
628
|
orderId: string | null;
|
|
629
|
-
termType: "other" | "
|
|
629
|
+
termType: "other" | "pricing" | "terms_and_conditions" | "cancellation" | "guarantee" | "payment" | "commission";
|
|
630
630
|
title: string;
|
|
631
631
|
body: string;
|
|
632
632
|
language: string | null;
|
package/dist/validation.d.ts
CHANGED
|
@@ -180,11 +180,11 @@ export declare const transactionStaffAssignmentRoleSchema: z.ZodEnum<{
|
|
|
180
180
|
}>;
|
|
181
181
|
export declare const orderTermTypeSchema: z.ZodEnum<{
|
|
182
182
|
other: "other";
|
|
183
|
+
pricing: "pricing";
|
|
183
184
|
terms_and_conditions: "terms_and_conditions";
|
|
184
185
|
cancellation: "cancellation";
|
|
185
186
|
guarantee: "guarantee";
|
|
186
187
|
payment: "payment";
|
|
187
|
-
pricing: "pricing";
|
|
188
188
|
commission: "commission";
|
|
189
189
|
}>;
|
|
190
190
|
export declare const orderTermAcceptanceStatusSchema: z.ZodEnum<{
|
|
@@ -1361,11 +1361,11 @@ export declare const insertOrderTermSchema: z.ZodObject<{
|
|
|
1361
1361
|
orderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1362
1362
|
termType: z.ZodDefault<z.ZodEnum<{
|
|
1363
1363
|
other: "other";
|
|
1364
|
+
pricing: "pricing";
|
|
1364
1365
|
terms_and_conditions: "terms_and_conditions";
|
|
1365
1366
|
cancellation: "cancellation";
|
|
1366
1367
|
guarantee: "guarantee";
|
|
1367
1368
|
payment: "payment";
|
|
1368
|
-
pricing: "pricing";
|
|
1369
1369
|
commission: "commission";
|
|
1370
1370
|
}>>;
|
|
1371
1371
|
title: z.ZodString;
|
|
@@ -1388,11 +1388,11 @@ export declare const updateOrderTermSchema: z.ZodObject<{
|
|
|
1388
1388
|
orderId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1389
1389
|
termType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1390
1390
|
other: "other";
|
|
1391
|
+
pricing: "pricing";
|
|
1391
1392
|
terms_and_conditions: "terms_and_conditions";
|
|
1392
1393
|
cancellation: "cancellation";
|
|
1393
1394
|
guarantee: "guarantee";
|
|
1394
1395
|
payment: "payment";
|
|
1395
|
-
pricing: "pricing";
|
|
1396
1396
|
commission: "commission";
|
|
1397
1397
|
}>>>;
|
|
1398
1398
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1417,11 +1417,11 @@ export declare const orderTermListQuerySchema: z.ZodObject<{
|
|
|
1417
1417
|
orderId: z.ZodOptional<z.ZodString>;
|
|
1418
1418
|
termType: z.ZodOptional<z.ZodEnum<{
|
|
1419
1419
|
other: "other";
|
|
1420
|
+
pricing: "pricing";
|
|
1420
1421
|
terms_and_conditions: "terms_and_conditions";
|
|
1421
1422
|
cancellation: "cancellation";
|
|
1422
1423
|
guarantee: "guarantee";
|
|
1423
1424
|
payment: "payment";
|
|
1424
|
-
pricing: "pricing";
|
|
1425
1425
|
commission: "commission";
|
|
1426
1426
|
}>>;
|
|
1427
1427
|
acceptanceStatus: z.ZodOptional<z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/transactions",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"drizzle-orm": "^0.45.2",
|
|
35
35
|
"hono": "^4.12.10",
|
|
36
36
|
"zod": "^4.3.6",
|
|
37
|
-
"@voyantjs/core": "0.31.
|
|
38
|
-
"@voyantjs/db": "0.31.
|
|
39
|
-
"@voyantjs/hono": "0.31.
|
|
40
|
-
"@voyantjs/utils": "0.31.
|
|
37
|
+
"@voyantjs/core": "0.31.2",
|
|
38
|
+
"@voyantjs/db": "0.31.2",
|
|
39
|
+
"@voyantjs/hono": "0.31.2",
|
|
40
|
+
"@voyantjs/utils": "0.31.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"typescript": "^6.0.2",
|