@voyant-travel/finance 0.151.4 → 0.152.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/booking-lifecycle.d.ts +13 -0
- package/dist/booking-lifecycle.d.ts.map +1 -0
- package/dist/booking-lifecycle.js +64 -0
- package/dist/booking-schedule/subscriber-runtime.d.ts +20 -0
- package/dist/booking-schedule/subscriber-runtime.d.ts.map +1 -0
- package/dist/booking-schedule/subscriber-runtime.js +39 -0
- package/dist/booking-tax.d.ts +31 -21
- package/dist/booking-tax.d.ts.map +1 -1
- package/dist/booking-tax.js +84 -13
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +37 -7
- package/dist/mcp-runtime.d.ts +3 -0
- package/dist/mcp-runtime.d.ts.map +1 -0
- package/dist/mcp-runtime.js +16 -0
- package/dist/payment-schedule/routes.d.ts +1 -0
- package/dist/payment-schedule/routes.d.ts.map +1 -1
- package/dist/payment-schedule/routes.js +32 -0
- package/dist/routes-action-ledger.d.ts +19 -19
- package/dist/routes-booking-billing.d.ts +30 -30
- package/dist/routes-booking-create.d.ts.map +1 -1
- package/dist/routes-booking-create.js +2 -0
- package/dist/routes-booking-reads.d.ts +11 -11
- package/dist/routes-invoice-core.d.ts +11 -11
- package/dist/routes-public.d.ts +24 -24
- package/dist/routes-public.d.ts.map +1 -1
- package/dist/routes-public.js +12 -0
- package/dist/routes-reference-data.d.ts +15 -15
- package/dist/routes-reports.d.ts +11 -11
- package/dist/routes-settlement.d.ts +11 -11
- package/dist/routes-supplier-invoices.d.ts +20 -20
- package/dist/routes.d.ts +78 -78
- package/dist/runtime-contributor.d.ts +7 -0
- package/dist/runtime-contributor.d.ts.map +1 -0
- package/dist/runtime-contributor.js +17 -0
- package/dist/runtime-port.d.ts +70 -0
- package/dist/runtime-port.d.ts.map +1 -0
- package/dist/runtime-port.js +47 -0
- package/dist/runtime.d.ts +10 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +98 -0
- package/dist/stale-booking-holds-runtime.d.ts +9 -0
- package/dist/stale-booking-holds-runtime.d.ts.map +1 -0
- package/dist/stale-booking-holds-runtime.js +25 -0
- package/dist/voyant.d.ts.map +1 -1
- package/dist/voyant.js +156 -8
- package/openapi/admin/booking-tax.json +86 -0
- package/openapi/admin/finance.json +36583 -0
- package/openapi/storefront/finance.json +3678 -0
- package/package.json +45 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/finance",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.152.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -79,6 +79,26 @@
|
|
|
79
79
|
"import": "./dist/booking-tax.js",
|
|
80
80
|
"default": "./dist/booking-tax.js"
|
|
81
81
|
},
|
|
82
|
+
"./runtime-contributor": {
|
|
83
|
+
"types": "./dist/runtime-contributor.d.ts",
|
|
84
|
+
"import": "./dist/runtime-contributor.js",
|
|
85
|
+
"default": "./dist/runtime-contributor.js"
|
|
86
|
+
},
|
|
87
|
+
"./runtime-port": {
|
|
88
|
+
"types": "./dist/runtime-port.d.ts",
|
|
89
|
+
"import": "./dist/runtime-port.js",
|
|
90
|
+
"default": "./dist/runtime-port.js"
|
|
91
|
+
},
|
|
92
|
+
"./stale-booking-holds-runtime": {
|
|
93
|
+
"types": "./dist/stale-booking-holds-runtime.d.ts",
|
|
94
|
+
"import": "./dist/stale-booking-holds-runtime.js",
|
|
95
|
+
"default": "./dist/stale-booking-holds-runtime.js"
|
|
96
|
+
},
|
|
97
|
+
"./booking-schedule-subscriber": {
|
|
98
|
+
"types": "./dist/booking-schedule/subscriber-runtime.d.ts",
|
|
99
|
+
"import": "./dist/booking-schedule/subscriber-runtime.js",
|
|
100
|
+
"default": "./dist/booking-schedule/subscriber-runtime.js"
|
|
101
|
+
},
|
|
82
102
|
"./routes": {
|
|
83
103
|
"types": "./dist/routes.d.ts",
|
|
84
104
|
"import": "./dist/routes.js",
|
|
@@ -95,15 +115,18 @@
|
|
|
95
115
|
"default": "./dist/validation-public.js"
|
|
96
116
|
},
|
|
97
117
|
"./tools": {
|
|
98
|
-
"types": "./dist/
|
|
99
|
-
"import": "./dist/
|
|
100
|
-
"default": "./dist/
|
|
118
|
+
"types": "./dist/mcp-runtime.d.ts",
|
|
119
|
+
"import": "./dist/mcp-runtime.js",
|
|
120
|
+
"default": "./dist/mcp-runtime.js"
|
|
101
121
|
},
|
|
102
122
|
"./voyant": {
|
|
103
123
|
"types": "./dist/voyant.d.ts",
|
|
104
124
|
"import": "./dist/voyant.js",
|
|
105
125
|
"default": "./dist/voyant.js"
|
|
106
|
-
}
|
|
126
|
+
},
|
|
127
|
+
"./openapi/admin": "./openapi/admin/finance.json",
|
|
128
|
+
"./openapi/admin/booking-tax": "./openapi/admin/booking-tax.json",
|
|
129
|
+
"./openapi/storefront": "./openapi/storefront/finance.json"
|
|
107
130
|
},
|
|
108
131
|
"dependencies": {
|
|
109
132
|
"@hono/zod-openapi": "^1.4.0",
|
|
@@ -112,16 +135,16 @@
|
|
|
112
135
|
"fflate": "^0.8.2",
|
|
113
136
|
"hono": "^4.12.27",
|
|
114
137
|
"zod": "^4.4.3",
|
|
115
|
-
"@voyant-travel/
|
|
116
|
-
"@voyant-travel/
|
|
117
|
-
"@voyant-travel/
|
|
118
|
-
"@voyant-travel/
|
|
119
|
-
"@voyant-travel/
|
|
120
|
-
"@voyant-travel/
|
|
121
|
-
"@voyant-travel/
|
|
122
|
-
"@voyant-travel/
|
|
123
|
-
"@voyant-travel/utils": "^0.106.
|
|
124
|
-
"@voyant-travel/
|
|
138
|
+
"@voyant-travel/core": "^0.118.0",
|
|
139
|
+
"@voyant-travel/db": "^0.112.2",
|
|
140
|
+
"@voyant-travel/types": "^0.108.0",
|
|
141
|
+
"@voyant-travel/hono": "^0.125.0",
|
|
142
|
+
"@voyant-travel/storage": "^0.108.1",
|
|
143
|
+
"@voyant-travel/action-ledger": "^0.107.0",
|
|
144
|
+
"@voyant-travel/tools": "^0.1.0",
|
|
145
|
+
"@voyant-travel/bookings": "^0.152.0",
|
|
146
|
+
"@voyant-travel/utils": "^0.106.1",
|
|
147
|
+
"@voyant-travel/finance-contracts": "^0.105.9"
|
|
125
148
|
},
|
|
126
149
|
"devDependencies": {
|
|
127
150
|
"drizzle-kit": "^0.31.10",
|
|
@@ -130,6 +153,7 @@
|
|
|
130
153
|
},
|
|
131
154
|
"files": [
|
|
132
155
|
"dist",
|
|
156
|
+
"openapi",
|
|
133
157
|
"migrations/*.sql",
|
|
134
158
|
"migrations/meta/_journal.json"
|
|
135
159
|
],
|
|
@@ -145,6 +169,10 @@
|
|
|
145
169
|
"schemaVersion": "voyant.package.v1",
|
|
146
170
|
"kind": "module",
|
|
147
171
|
"manifest": "./voyant",
|
|
172
|
+
"runtime": {
|
|
173
|
+
"entry": "./runtime-contributor",
|
|
174
|
+
"export": "createFinanceRuntimePortContribution"
|
|
175
|
+
},
|
|
148
176
|
"compatibleWith": {
|
|
149
177
|
"framework": ">=0.26.0",
|
|
150
178
|
"targets": [
|
|
@@ -162,10 +190,10 @@
|
|
|
162
190
|
]
|
|
163
191
|
},
|
|
164
192
|
"scripts": {
|
|
165
|
-
"typecheck": "NODE_OPTIONS=--max-old-space-size=
|
|
193
|
+
"typecheck": "NODE_OPTIONS=--max-old-space-size=8192 tsc -p tsconfig.typecheck.json",
|
|
166
194
|
"lint": "biome check src/",
|
|
167
195
|
"test": "vitest run",
|
|
168
|
-
"build": "NODE_OPTIONS=--max-old-space-size=
|
|
196
|
+
"build": "NODE_OPTIONS=--max-old-space-size=8192 tsc -p tsconfig.build.json",
|
|
169
197
|
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
170
198
|
"migrate:vouchers": "node --experimental-strip-types --experimental-transform-types scripts/migrate-vouchers.ts",
|
|
171
199
|
"db:generate": "drizzle-kit generate --config=drizzle.migrations.config.ts --name=finance_baseline && node ../../scripts/migrations/guard-create-type.mjs ./migrations && node ../../scripts/migrations/ensure-extensions.mjs ./migrations"
|