@voyantjs/suppliers 0.28.3 → 0.30.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
CHANGED
|
@@ -337,8 +337,8 @@ export declare const supplierRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
337
337
|
contactName: string | null;
|
|
338
338
|
contactEmail: string | null;
|
|
339
339
|
contactPhone: string | null;
|
|
340
|
-
id: string;
|
|
341
340
|
name: string;
|
|
341
|
+
id: string;
|
|
342
342
|
createdAt: string;
|
|
343
343
|
updatedAt: string;
|
|
344
344
|
status: "pending" | "active" | "inactive";
|
|
@@ -557,8 +557,8 @@ export declare const supplierRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
557
557
|
metadata: {
|
|
558
558
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
559
559
|
} | null;
|
|
560
|
-
id: string;
|
|
561
560
|
name: string;
|
|
561
|
+
id: string;
|
|
562
562
|
createdAt: string;
|
|
563
563
|
updatedAt: string;
|
|
564
564
|
email: string | null;
|
|
@@ -709,9 +709,9 @@ export declare const supplierRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
709
709
|
};
|
|
710
710
|
output: {
|
|
711
711
|
data: {
|
|
712
|
+
name: string;
|
|
712
713
|
duration: string | null;
|
|
713
714
|
id: string;
|
|
714
|
-
name: string;
|
|
715
715
|
createdAt: string;
|
|
716
716
|
updatedAt: string;
|
|
717
717
|
description: string | null;
|
|
@@ -855,8 +855,8 @@ export declare const supplierRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
855
855
|
};
|
|
856
856
|
output: {
|
|
857
857
|
data: {
|
|
858
|
-
id: string;
|
|
859
858
|
name: string;
|
|
859
|
+
id: string;
|
|
860
860
|
createdAt: string;
|
|
861
861
|
currency: string;
|
|
862
862
|
notes: string | null;
|
package/dist/service-core.d.ts
CHANGED
|
@@ -45,8 +45,8 @@ export declare function createSupplier(db: PostgresJsDatabase, data: CreateSuppl
|
|
|
45
45
|
contactName: string | null;
|
|
46
46
|
contactEmail: string | null;
|
|
47
47
|
contactPhone: string | null;
|
|
48
|
-
id: string;
|
|
49
48
|
name: string;
|
|
49
|
+
id: string;
|
|
50
50
|
createdAt: Date;
|
|
51
51
|
updatedAt: Date;
|
|
52
52
|
status: "pending" | "active" | "inactive";
|
|
@@ -31,8 +31,8 @@ export declare function listNamedContacts(db: PostgresJsDatabase, supplierId: st
|
|
|
31
31
|
}[]>;
|
|
32
32
|
export declare function createNamedContact(db: PostgresJsDatabase, supplierId: string, data: InsertNamedContactForEntity): Promise<{
|
|
33
33
|
metadata: Record<string, unknown> | null;
|
|
34
|
-
id: string;
|
|
35
34
|
name: string;
|
|
35
|
+
id: string;
|
|
36
36
|
createdAt: Date;
|
|
37
37
|
updatedAt: Date;
|
|
38
38
|
email: string | null;
|
|
@@ -429,9 +429,9 @@ export declare function listServices(db: PostgresJsDatabase, supplierId: string)
|
|
|
429
429
|
}, {}, {}>;
|
|
430
430
|
}>, "where" | "orderBy">;
|
|
431
431
|
export declare function createService(db: PostgresJsDatabase, supplierId: string, data: CreateServiceInput): Promise<{
|
|
432
|
+
name: string;
|
|
432
433
|
duration: string | null;
|
|
433
434
|
id: string;
|
|
434
|
-
name: string;
|
|
435
435
|
createdAt: Date;
|
|
436
436
|
updatedAt: Date;
|
|
437
437
|
description: string | null;
|
|
@@ -884,8 +884,8 @@ export declare function listRates(db: PostgresJsDatabase, serviceId: string): Om
|
|
|
884
884
|
}, {}, {}>;
|
|
885
885
|
}>, "where" | "orderBy">;
|
|
886
886
|
export declare function createRate(db: PostgresJsDatabase, serviceId: string, data: CreateRateInput): Promise<{
|
|
887
|
-
id: string;
|
|
888
887
|
name: string;
|
|
888
|
+
id: string;
|
|
889
889
|
createdAt: Date;
|
|
890
890
|
currency: string;
|
|
891
891
|
notes: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/suppliers",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"drizzle-orm": "^0.45.2",
|
|
30
30
|
"hono": "^4.12.10",
|
|
31
31
|
"zod": "^4.3.6",
|
|
32
|
-
"@voyantjs/core": "0.
|
|
33
|
-
"@voyantjs/db": "0.
|
|
34
|
-
"@voyantjs/facilities": "0.
|
|
35
|
-
"@voyantjs/hono": "0.
|
|
36
|
-
"@voyantjs/identity": "0.
|
|
32
|
+
"@voyantjs/core": "0.30.0",
|
|
33
|
+
"@voyantjs/db": "0.30.0",
|
|
34
|
+
"@voyantjs/facilities": "0.30.0",
|
|
35
|
+
"@voyantjs/hono": "0.30.0",
|
|
36
|
+
"@voyantjs/identity": "0.30.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"typescript": "^6.0.2",
|