@voyantjs/pricing 0.8.0 → 0.10.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-core.d.ts
CHANGED
|
@@ -376,8 +376,8 @@ export declare const pricingCoreRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
376
376
|
updatedAt: string;
|
|
377
377
|
notes: string | null;
|
|
378
378
|
code: string | null;
|
|
379
|
-
isDefault: boolean;
|
|
380
379
|
active: boolean;
|
|
380
|
+
isDefault: boolean;
|
|
381
381
|
policyType: "custom" | "simple" | "advanced" | "non_refundable";
|
|
382
382
|
simpleCutoffHours: number | null;
|
|
383
383
|
} | null;
|
|
@@ -686,10 +686,10 @@ export declare const pricingCoreRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
686
686
|
updatedAt: string;
|
|
687
687
|
notes: string | null;
|
|
688
688
|
code: string;
|
|
689
|
+
active: boolean;
|
|
689
690
|
currencyCode: string | null;
|
|
690
691
|
catalogType: "internal" | "other" | "public" | "contract" | "net" | "gross" | "promo";
|
|
691
692
|
isDefault: boolean;
|
|
692
|
-
active: boolean;
|
|
693
693
|
} | null;
|
|
694
694
|
};
|
|
695
695
|
outputFormat: "json";
|
package/dist/routes-rules.d.ts
CHANGED
|
@@ -53,8 +53,8 @@ export declare const pricingRuleRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
53
53
|
notes: string | null;
|
|
54
54
|
description: string | null;
|
|
55
55
|
code: string | null;
|
|
56
|
-
isDefault: boolean;
|
|
57
56
|
active: boolean;
|
|
57
|
+
isDefault: boolean;
|
|
58
58
|
priceCatalogId: string;
|
|
59
59
|
productId: string;
|
|
60
60
|
optionId: string;
|
|
@@ -39,10 +39,10 @@ export declare function createPriceCatalog(db: PostgresJsDatabase, data: CreateP
|
|
|
39
39
|
updatedAt: Date;
|
|
40
40
|
notes: string | null;
|
|
41
41
|
code: string;
|
|
42
|
+
active: boolean;
|
|
42
43
|
currencyCode: string | null;
|
|
43
44
|
catalogType: "internal" | "other" | "public" | "contract" | "net" | "gross" | "promo";
|
|
44
45
|
isDefault: boolean;
|
|
45
|
-
active: boolean;
|
|
46
46
|
} | null>;
|
|
47
47
|
export declare function updatePriceCatalog(db: PostgresJsDatabase, id: string, data: UpdatePriceCatalogInput): Promise<{
|
|
48
48
|
id: string;
|
|
@@ -60,8 +60,8 @@ export declare function createOptionPriceRule(db: PostgresJsDatabase, data: Crea
|
|
|
60
60
|
notes: string | null;
|
|
61
61
|
description: string | null;
|
|
62
62
|
code: string | null;
|
|
63
|
-
isDefault: boolean;
|
|
64
63
|
active: boolean;
|
|
64
|
+
isDefault: boolean;
|
|
65
65
|
priceCatalogId: string;
|
|
66
66
|
productId: string;
|
|
67
67
|
optionId: string;
|
|
@@ -39,8 +39,8 @@ export declare function createCancellationPolicy(db: PostgresJsDatabase, data: C
|
|
|
39
39
|
updatedAt: Date;
|
|
40
40
|
notes: string | null;
|
|
41
41
|
code: string | null;
|
|
42
|
-
isDefault: boolean;
|
|
43
42
|
active: boolean;
|
|
43
|
+
isDefault: boolean;
|
|
44
44
|
policyType: "custom" | "simple" | "advanced" | "non_refundable";
|
|
45
45
|
simpleCutoffHours: number | null;
|
|
46
46
|
} | null>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/pricing",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
"drizzle-orm": "^0.45.2",
|
|
34
34
|
"hono": "^4.12.10",
|
|
35
35
|
"zod": "^4.3.6",
|
|
36
|
-
"@voyantjs/availability": "0.
|
|
37
|
-
"@voyantjs/core": "0.
|
|
38
|
-
"@voyantjs/db": "0.
|
|
39
|
-
"@voyantjs/hono": "0.
|
|
40
|
-
"@voyantjs/products": "0.
|
|
36
|
+
"@voyantjs/availability": "0.10.0",
|
|
37
|
+
"@voyantjs/core": "0.10.0",
|
|
38
|
+
"@voyantjs/db": "0.10.0",
|
|
39
|
+
"@voyantjs/hono": "0.10.0",
|
|
40
|
+
"@voyantjs/products": "0.10.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"typescript": "^6.0.2",
|
|
44
|
-
"@voyantjs/extras": "0.
|
|
45
|
-
"@voyantjs/facilities": "0.
|
|
44
|
+
"@voyantjs/extras": "0.10.0",
|
|
45
|
+
"@voyantjs/facilities": "0.10.0",
|
|
46
46
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
47
47
|
},
|
|
48
48
|
"files": [
|