@voyant-travel/finance 0.119.5

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.
Files changed (294) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +192 -0
  3. package/dist/action-ledger-drift.d.ts +29 -0
  4. package/dist/action-ledger-drift.d.ts.map +1 -0
  5. package/dist/action-ledger-drift.js +166 -0
  6. package/dist/booking-tax.d.ts +124 -0
  7. package/dist/booking-tax.d.ts.map +1 -0
  8. package/dist/booking-tax.js +264 -0
  9. package/dist/checkout-routes.d.ts +1154 -0
  10. package/dist/checkout-routes.d.ts.map +1 -0
  11. package/dist/checkout-routes.js +116 -0
  12. package/dist/checkout-service-plan.d.ts +137 -0
  13. package/dist/checkout-service-plan.d.ts.map +1 -0
  14. package/dist/checkout-service-plan.js +119 -0
  15. package/dist/checkout-service.d.ts +9 -0
  16. package/dist/checkout-service.d.ts.map +1 -0
  17. package/dist/checkout-service.js +324 -0
  18. package/dist/checkout-validation.d.ts +1682 -0
  19. package/dist/checkout-validation.d.ts.map +1 -0
  20. package/dist/checkout-validation.js +228 -0
  21. package/dist/document-download.d.ts +3 -0
  22. package/dist/document-download.d.ts.map +1 -0
  23. package/dist/document-download.js +1 -0
  24. package/dist/fx-money.d.ts +17 -0
  25. package/dist/fx-money.d.ts.map +1 -0
  26. package/dist/fx-money.js +194 -0
  27. package/dist/index.d.ts +65 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +108 -0
  30. package/dist/invoice-fx.d.ts +134 -0
  31. package/dist/invoice-fx.d.ts.map +1 -0
  32. package/dist/invoice-fx.js +240 -0
  33. package/dist/invoice-number-errors.d.ts +2 -0
  34. package/dist/invoice-number-errors.d.ts.map +1 -0
  35. package/dist/invoice-number-errors.js +58 -0
  36. package/dist/markets-ref.d.ts +149 -0
  37. package/dist/markets-ref.d.ts.map +1 -0
  38. package/dist/markets-ref.js +17 -0
  39. package/dist/payment-link.d.ts +23 -0
  40. package/dist/payment-link.d.ts.map +1 -0
  41. package/dist/payment-link.js +30 -0
  42. package/dist/payment-policy.d.ts +113 -0
  43. package/dist/payment-policy.d.ts.map +1 -0
  44. package/dist/payment-policy.js +193 -0
  45. package/dist/route-runtime.d.ts +22 -0
  46. package/dist/route-runtime.d.ts.map +1 -0
  47. package/dist/route-runtime.js +18 -0
  48. package/dist/routes-action-ledger.d.ts +181 -0
  49. package/dist/routes-action-ledger.d.ts.map +1 -0
  50. package/dist/routes-action-ledger.js +142 -0
  51. package/dist/routes-booking-billing.d.ts +852 -0
  52. package/dist/routes-booking-billing.d.ts.map +1 -0
  53. package/dist/routes-booking-billing.js +223 -0
  54. package/dist/routes-booking-create.d.ts +3 -0
  55. package/dist/routes-booking-create.d.ts.map +1 -0
  56. package/dist/routes-booking-create.js +194 -0
  57. package/dist/routes-booking-reads.d.ts +46 -0
  58. package/dist/routes-booking-reads.d.ts.map +1 -0
  59. package/dist/routes-booking-reads.js +20 -0
  60. package/dist/routes-documents.d.ts +195 -0
  61. package/dist/routes-documents.d.ts.map +1 -0
  62. package/dist/routes-documents.js +93 -0
  63. package/dist/routes-invoice-core.d.ts +794 -0
  64. package/dist/routes-invoice-core.d.ts.map +1 -0
  65. package/dist/routes-invoice-core.js +238 -0
  66. package/dist/routes-invoice-documents.d.ts +401 -0
  67. package/dist/routes-invoice-documents.d.ts.map +1 -0
  68. package/dist/routes-invoice-documents.js +91 -0
  69. package/dist/routes-invoice-issue.d.ts +384 -0
  70. package/dist/routes-invoice-issue.d.ts.map +1 -0
  71. package/dist/routes-invoice-issue.js +208 -0
  72. package/dist/routes-payment-processing.d.ts +1193 -0
  73. package/dist/routes-payment-processing.d.ts.map +1 -0
  74. package/dist/routes-payment-processing.js +238 -0
  75. package/dist/routes-payments.d.ts +309 -0
  76. package/dist/routes-payments.d.ts.map +1 -0
  77. package/dist/routes-payments.js +94 -0
  78. package/dist/routes-public.d.ts +1948 -0
  79. package/dist/routes-public.d.ts.map +1 -0
  80. package/dist/routes-public.js +275 -0
  81. package/dist/routes-reference-data.d.ts +977 -0
  82. package/dist/routes-reference-data.d.ts.map +1 -0
  83. package/dist/routes-reference-data.js +191 -0
  84. package/dist/routes-reports.d.ts +344 -0
  85. package/dist/routes-reports.d.ts.map +1 -0
  86. package/dist/routes-reports.js +93 -0
  87. package/dist/routes-runtime.d.ts +71 -0
  88. package/dist/routes-runtime.d.ts.map +1 -0
  89. package/dist/routes-runtime.js +59 -0
  90. package/dist/routes-settlement.d.ts +67 -0
  91. package/dist/routes-settlement.d.ts.map +1 -0
  92. package/dist/routes-settlement.js +23 -0
  93. package/dist/routes-shared.d.ts +35 -0
  94. package/dist/routes-shared.d.ts.map +1 -0
  95. package/dist/routes-shared.js +10 -0
  96. package/dist/routes-supplier-invoices.d.ts +778 -0
  97. package/dist/routes-supplier-invoices.d.ts.map +1 -0
  98. package/dist/routes-supplier-invoices.js +159 -0
  99. package/dist/routes-vouchers.d.ts +228 -0
  100. package/dist/routes-vouchers.d.ts.map +1 -0
  101. package/dist/routes-vouchers.js +54 -0
  102. package/dist/routes.d.ts +5577 -0
  103. package/dist/routes.d.ts.map +1 -0
  104. package/dist/routes.js +44 -0
  105. package/dist/schema/booking-billing.d.ts +1006 -0
  106. package/dist/schema/booking-billing.d.ts.map +1 -0
  107. package/dist/schema/booking-billing.js +106 -0
  108. package/dist/schema/enums.d.ts +48 -0
  109. package/dist/schema/enums.d.ts.map +1 -0
  110. package/dist/schema/enums.js +237 -0
  111. package/dist/schema/invoice-documents.d.ts +1245 -0
  112. package/dist/schema/invoice-documents.d.ts.map +1 -0
  113. package/dist/schema/invoice-documents.js +140 -0
  114. package/dist/schema/payment-instruments.d.ts +418 -0
  115. package/dist/schema/payment-instruments.d.ts.map +1 -0
  116. package/dist/schema/payment-instruments.js +45 -0
  117. package/dist/schema/payment-processing.d.ts +563 -0
  118. package/dist/schema/payment-processing.d.ts.map +1 -0
  119. package/dist/schema/payment-processing.js +65 -0
  120. package/dist/schema/payment-sessions.d.ts +728 -0
  121. package/dist/schema/payment-sessions.d.ts.map +1 -0
  122. package/dist/schema/payment-sessions.js +79 -0
  123. package/dist/schema/receivables.d.ts +1474 -0
  124. package/dist/schema/receivables.d.ts.map +1 -0
  125. package/dist/schema/receivables.js +179 -0
  126. package/dist/schema/relations.d.ts +82 -0
  127. package/dist/schema/relations.d.ts.map +1 -0
  128. package/dist/schema/relations.js +144 -0
  129. package/dist/schema/supplier-invoices.d.ts +1619 -0
  130. package/dist/schema/supplier-invoices.d.ts.map +1 -0
  131. package/dist/schema/supplier-invoices.js +228 -0
  132. package/dist/schema/tax.d.ts +712 -0
  133. package/dist/schema/tax.d.ts.map +1 -0
  134. package/dist/schema/tax.js +98 -0
  135. package/dist/schema/vouchers.d.ts +444 -0
  136. package/dist/schema/vouchers.d.ts.map +1 -0
  137. package/dist/schema/vouchers.js +64 -0
  138. package/dist/schema.d.ts +12 -0
  139. package/dist/schema.d.ts.map +1 -0
  140. package/dist/schema.js +11 -0
  141. package/dist/service-accountant-shares.d.ts +106 -0
  142. package/dist/service-accountant-shares.d.ts.map +1 -0
  143. package/dist/service-accountant-shares.js +331 -0
  144. package/dist/service-action-ledger-accounting.d.ts +104 -0
  145. package/dist/service-action-ledger-accounting.d.ts.map +1 -0
  146. package/dist/service-action-ledger-accounting.js +386 -0
  147. package/dist/service-action-ledger-booking-payments.d.ts +48 -0
  148. package/dist/service-action-ledger-booking-payments.d.ts.map +1 -0
  149. package/dist/service-action-ledger-booking-payments.js +178 -0
  150. package/dist/service-action-ledger-bookings.d.ts +44 -0
  151. package/dist/service-action-ledger-bookings.d.ts.map +1 -0
  152. package/dist/service-action-ledger-bookings.js +81 -0
  153. package/dist/service-action-ledger-payment-authorizations.d.ts +48 -0
  154. package/dist/service-action-ledger-payment-authorizations.d.ts.map +1 -0
  155. package/dist/service-action-ledger-payment-authorizations.js +209 -0
  156. package/dist/service-action-ledger-payment-sessions.d.ts +83 -0
  157. package/dist/service-action-ledger-payment-sessions.d.ts.map +1 -0
  158. package/dist/service-action-ledger-payment-sessions.js +294 -0
  159. package/dist/service-action-ledger-supplier-invoices.d.ts +27 -0
  160. package/dist/service-action-ledger-supplier-invoices.d.ts.map +1 -0
  161. package/dist/service-action-ledger-supplier-invoices.js +111 -0
  162. package/dist/service-action-ledger-supplier-payments.d.ts +21 -0
  163. package/dist/service-action-ledger-supplier-payments.d.ts.map +1 -0
  164. package/dist/service-action-ledger-supplier-payments.js +97 -0
  165. package/dist/service-action-ledger.d.ts +7 -0
  166. package/dist/service-action-ledger.d.ts.map +1 -0
  167. package/dist/service-action-ledger.js +6 -0
  168. package/dist/service-aggregates.d.ts +96 -0
  169. package/dist/service-aggregates.d.ts.map +1 -0
  170. package/dist/service-aggregates.js +294 -0
  171. package/dist/service-booking-billing.d.ts +2322 -0
  172. package/dist/service-booking-billing.d.ts.map +1 -0
  173. package/dist/service-booking-billing.js +8 -0
  174. package/dist/service-booking-create.d.ts +410 -0
  175. package/dist/service-booking-create.d.ts.map +1 -0
  176. package/dist/service-booking-create.js +1256 -0
  177. package/dist/service-booking-guarantees.d.ts +725 -0
  178. package/dist/service-booking-guarantees.d.ts.map +1 -0
  179. package/dist/service-booking-guarantees.js +153 -0
  180. package/dist/service-booking-item-billing.d.ts +1062 -0
  181. package/dist/service-booking-item-billing.d.ts.map +1 -0
  182. package/dist/service-booking-item-billing.js +77 -0
  183. package/dist/service-booking-payment-schedules.d.ts +557 -0
  184. package/dist/service-booking-payment-schedules.d.ts.map +1 -0
  185. package/dist/service-booking-payment-schedules.js +372 -0
  186. package/dist/service-bookings-dual-create.d.ts +308 -0
  187. package/dist/service-bookings-dual-create.d.ts.map +1 -0
  188. package/dist/service-bookings-dual-create.js +131 -0
  189. package/dist/service-boundary-sql.d.ts +6 -0
  190. package/dist/service-boundary-sql.d.ts.map +1 -0
  191. package/dist/service-boundary-sql.js +15 -0
  192. package/dist/service-cost-categories.d.ts +26 -0
  193. package/dist/service-cost-categories.d.ts.map +1 -0
  194. package/dist/service-cost-categories.js +76 -0
  195. package/dist/service-documents.d.ts +80 -0
  196. package/dist/service-documents.d.ts.map +1 -0
  197. package/dist/service-documents.js +228 -0
  198. package/dist/service-invoice-artifacts.d.ts +246 -0
  199. package/dist/service-invoice-artifacts.d.ts.map +1 -0
  200. package/dist/service-invoice-artifacts.js +277 -0
  201. package/dist/service-invoice-core.d.ts +405 -0
  202. package/dist/service-invoice-core.d.ts.map +1 -0
  203. package/dist/service-invoice-core.js +290 -0
  204. package/dist/service-invoice-credit-notes.d.ts +973 -0
  205. package/dist/service-invoice-credit-notes.d.ts.map +1 -0
  206. package/dist/service-invoice-credit-notes.js +142 -0
  207. package/dist/service-invoice-from-booking.d.ts +41 -0
  208. package/dist/service-invoice-from-booking.d.ts.map +1 -0
  209. package/dist/service-invoice-from-booking.js +267 -0
  210. package/dist/service-invoice-line-items.d.ts +432 -0
  211. package/dist/service-invoice-line-items.d.ts.map +1 -0
  212. package/dist/service-invoice-line-items.js +102 -0
  213. package/dist/service-invoice-numbering.d.ts +227 -0
  214. package/dist/service-invoice-numbering.d.ts.map +1 -0
  215. package/dist/service-invoice-numbering.js +260 -0
  216. package/dist/service-invoice-payments.d.ts +673 -0
  217. package/dist/service-invoice-payments.d.ts.map +1 -0
  218. package/dist/service-invoice-payments.js +398 -0
  219. package/dist/service-invoices.d.ts +2501 -0
  220. package/dist/service-invoices.d.ts.map +1 -0
  221. package/dist/service-invoices.js +12 -0
  222. package/dist/service-issue.d.ts +207 -0
  223. package/dist/service-issue.d.ts.map +1 -0
  224. package/dist/service-issue.js +431 -0
  225. package/dist/service-payment-authorizations.d.ts +164 -0
  226. package/dist/service-payment-authorizations.d.ts.map +1 -0
  227. package/dist/service-payment-authorizations.js +227 -0
  228. package/dist/service-payment-instruments.d.ts +116 -0
  229. package/dist/service-payment-instruments.d.ts.map +1 -0
  230. package/dist/service-payment-instruments.js +99 -0
  231. package/dist/service-payment-processing.d.ts +676 -0
  232. package/dist/service-payment-processing.d.ts.map +1 -0
  233. package/dist/service-payment-processing.js +10 -0
  234. package/dist/service-payment-session-completion.d.ts +48 -0
  235. package/dist/service-payment-session-completion.d.ts.map +1 -0
  236. package/dist/service-payment-session-completion.js +238 -0
  237. package/dist/service-payment-sessions.d.ts +361 -0
  238. package/dist/service-payment-sessions.d.ts.map +1 -0
  239. package/dist/service-payment-sessions.js +280 -0
  240. package/dist/service-profitability.d.ts +114 -0
  241. package/dist/service-profitability.d.ts.map +1 -0
  242. package/dist/service-profitability.js +794 -0
  243. package/dist/service-public.d.ts +553 -0
  244. package/dist/service-public.d.ts.map +1 -0
  245. package/dist/service-public.js +583 -0
  246. package/dist/service-reference-data.d.ts +272 -0
  247. package/dist/service-reference-data.d.ts.map +1 -0
  248. package/dist/service-reference-data.js +280 -0
  249. package/dist/service-rendition-wait.d.ts +38 -0
  250. package/dist/service-rendition-wait.d.ts.map +1 -0
  251. package/dist/service-rendition-wait.js +67 -0
  252. package/dist/service-reports.d.ts +37 -0
  253. package/dist/service-reports.d.ts.map +1 -0
  254. package/dist/service-reports.js +62 -0
  255. package/dist/service-settlement.d.ts +46 -0
  256. package/dist/service-settlement.d.ts.map +1 -0
  257. package/dist/service-settlement.js +185 -0
  258. package/dist/service-shared.d.ts +541 -0
  259. package/dist/service-shared.d.ts.map +1 -0
  260. package/dist/service-shared.js +764 -0
  261. package/dist/service-supplier-invoices.d.ts +871 -0
  262. package/dist/service-supplier-invoices.d.ts.map +1 -0
  263. package/dist/service-supplier-invoices.js +744 -0
  264. package/dist/service-supplier-payments.d.ts +69 -0
  265. package/dist/service-supplier-payments.d.ts.map +1 -0
  266. package/dist/service-supplier-payments.js +136 -0
  267. package/dist/service-vouchers-migration.d.ts +44 -0
  268. package/dist/service-vouchers-migration.d.ts.map +1 -0
  269. package/dist/service-vouchers-migration.js +148 -0
  270. package/dist/service-vouchers.d.ts +157 -0
  271. package/dist/service-vouchers.d.ts.map +1 -0
  272. package/dist/service-vouchers.js +191 -0
  273. package/dist/service.d.ts +6490 -0
  274. package/dist/service.d.ts.map +1 -0
  275. package/dist/service.js +29 -0
  276. package/dist/validation-billing.d.ts +2 -0
  277. package/dist/validation-billing.d.ts.map +1 -0
  278. package/dist/validation-billing.js +1 -0
  279. package/dist/validation-payments.d.ts +2 -0
  280. package/dist/validation-payments.d.ts.map +1 -0
  281. package/dist/validation-payments.js +1 -0
  282. package/dist/validation-public.d.ts +2 -0
  283. package/dist/validation-public.d.ts.map +1 -0
  284. package/dist/validation-public.js +1 -0
  285. package/dist/validation-shared.d.ts +2 -0
  286. package/dist/validation-shared.d.ts.map +1 -0
  287. package/dist/validation-shared.js +1 -0
  288. package/dist/validation-vouchers.d.ts +2 -0
  289. package/dist/validation-vouchers.d.ts.map +1 -0
  290. package/dist/validation-vouchers.js +1 -0
  291. package/dist/validation.d.ts +2 -0
  292. package/dist/validation.d.ts.map +1 -0
  293. package/dist/validation.js +1 -0
  294. package/package.json +121 -0
@@ -0,0 +1,977 @@
1
+ import type { Env } from "./routes-shared.js";
2
+ export declare const financeReferenceDataRoutes: import("hono/hono-base").HonoBase<Env, {
3
+ "/invoice-number-series": {
4
+ $get: {
5
+ input: {};
6
+ output: {
7
+ data: {
8
+ id: string;
9
+ code: string;
10
+ name: string;
11
+ prefix: string;
12
+ separator: string;
13
+ padLength: number;
14
+ currentSequence: number;
15
+ resetStrategy: "never" | "annual" | "monthly";
16
+ resetAt: string | null;
17
+ scope: "invoice" | "proforma" | "credit_note";
18
+ isDefault: boolean;
19
+ externalProvider: string | null;
20
+ externalConfigKey: string | null;
21
+ active: boolean;
22
+ createdAt: string;
23
+ updatedAt: string;
24
+ }[];
25
+ total: number;
26
+ limit: number;
27
+ offset: number;
28
+ };
29
+ outputFormat: "json";
30
+ status: import("hono/utils/http-status").ContentfulStatusCode;
31
+ };
32
+ };
33
+ } & {
34
+ "/invoice-number-series": {
35
+ $post: {
36
+ input: {};
37
+ output: {
38
+ data: {
39
+ id: string;
40
+ name: string;
41
+ code: string;
42
+ active: boolean;
43
+ createdAt: string;
44
+ updatedAt: string;
45
+ scope: "invoice" | "proforma" | "credit_note";
46
+ prefix: string;
47
+ separator: string;
48
+ padLength: number;
49
+ currentSequence: number;
50
+ resetStrategy: "never" | "annual" | "monthly";
51
+ resetAt: string | null;
52
+ isDefault: boolean;
53
+ externalProvider: string | null;
54
+ externalConfigKey: string | null;
55
+ } | null;
56
+ };
57
+ outputFormat: "json";
58
+ status: 201;
59
+ };
60
+ };
61
+ } & {
62
+ "/invoice-number-series/:id": {
63
+ $get: {
64
+ input: {
65
+ param: {
66
+ id: string;
67
+ };
68
+ };
69
+ output: {
70
+ error: string;
71
+ };
72
+ outputFormat: "json";
73
+ status: 404;
74
+ } | {
75
+ input: {
76
+ param: {
77
+ id: string;
78
+ };
79
+ };
80
+ output: {
81
+ data: {
82
+ id: string;
83
+ code: string;
84
+ name: string;
85
+ prefix: string;
86
+ separator: string;
87
+ padLength: number;
88
+ currentSequence: number;
89
+ resetStrategy: "never" | "annual" | "monthly";
90
+ resetAt: string | null;
91
+ scope: "invoice" | "proforma" | "credit_note";
92
+ isDefault: boolean;
93
+ externalProvider: string | null;
94
+ externalConfigKey: string | null;
95
+ active: boolean;
96
+ createdAt: string;
97
+ updatedAt: string;
98
+ };
99
+ };
100
+ outputFormat: "json";
101
+ status: import("hono/utils/http-status").ContentfulStatusCode;
102
+ };
103
+ };
104
+ } & {
105
+ "/invoice-number-series/:id": {
106
+ $patch: {
107
+ input: {
108
+ param: {
109
+ id: string;
110
+ };
111
+ };
112
+ output: {
113
+ error: string;
114
+ };
115
+ outputFormat: "json";
116
+ status: 404;
117
+ } | {
118
+ input: {
119
+ param: {
120
+ id: string;
121
+ };
122
+ };
123
+ output: {
124
+ data: {
125
+ id: string;
126
+ code: string;
127
+ name: string;
128
+ prefix: string;
129
+ separator: string;
130
+ padLength: number;
131
+ currentSequence: number;
132
+ resetStrategy: "never" | "annual" | "monthly";
133
+ resetAt: string | null;
134
+ scope: "invoice" | "proforma" | "credit_note";
135
+ isDefault: boolean;
136
+ externalProvider: string | null;
137
+ externalConfigKey: string | null;
138
+ active: boolean;
139
+ createdAt: string;
140
+ updatedAt: string;
141
+ };
142
+ };
143
+ outputFormat: "json";
144
+ status: import("hono/utils/http-status").ContentfulStatusCode;
145
+ };
146
+ };
147
+ } & {
148
+ "/invoice-number-series/:id": {
149
+ $delete: {
150
+ input: {
151
+ param: {
152
+ id: string;
153
+ };
154
+ };
155
+ output: {
156
+ error: string;
157
+ };
158
+ outputFormat: "json";
159
+ status: 404;
160
+ } | {
161
+ input: {
162
+ param: {
163
+ id: string;
164
+ };
165
+ };
166
+ output: {
167
+ success: true;
168
+ };
169
+ outputFormat: "json";
170
+ status: import("hono/utils/http-status").ContentfulStatusCode;
171
+ };
172
+ };
173
+ } & {
174
+ "/invoice-number-series/:id/allocate": {
175
+ $post: {
176
+ input: {
177
+ param: {
178
+ id: string;
179
+ };
180
+ };
181
+ output: {
182
+ error: string;
183
+ };
184
+ outputFormat: "json";
185
+ status: 404;
186
+ } | {
187
+ input: {
188
+ param: {
189
+ id: string;
190
+ };
191
+ };
192
+ output: {
193
+ error: string;
194
+ };
195
+ outputFormat: "json";
196
+ status: 409;
197
+ } | {
198
+ input: {
199
+ param: {
200
+ id: string;
201
+ };
202
+ };
203
+ output: {
204
+ data: {
205
+ sequence: number;
206
+ formattedNumber: string;
207
+ };
208
+ };
209
+ outputFormat: "json";
210
+ status: import("hono/utils/http-status").ContentfulStatusCode;
211
+ };
212
+ };
213
+ } & {
214
+ "/invoice-templates": {
215
+ $get: {
216
+ input: {};
217
+ output: {
218
+ data: {
219
+ id: string;
220
+ name: string;
221
+ slug: string;
222
+ language: string;
223
+ jurisdiction: string | null;
224
+ bodyFormat: "html" | "markdown" | "lexical_json";
225
+ body: string;
226
+ cssStyles: string | null;
227
+ isDefault: boolean;
228
+ active: boolean;
229
+ metadata: import("hono/utils/types").JSONValue;
230
+ createdAt: string;
231
+ updatedAt: string;
232
+ }[];
233
+ total: number;
234
+ limit: number;
235
+ offset: number;
236
+ };
237
+ outputFormat: "json";
238
+ status: import("hono/utils/http-status").ContentfulStatusCode;
239
+ };
240
+ };
241
+ } & {
242
+ "/invoice-templates": {
243
+ $post: {
244
+ input: {};
245
+ output: {
246
+ data: {
247
+ id: string;
248
+ name: string;
249
+ jurisdiction: string | null;
250
+ active: boolean;
251
+ createdAt: string;
252
+ updatedAt: string;
253
+ metadata: import("hono/utils/types").JSONValue;
254
+ language: string;
255
+ isDefault: boolean;
256
+ slug: string;
257
+ bodyFormat: "html" | "markdown" | "lexical_json";
258
+ body: string;
259
+ cssStyles: string | null;
260
+ } | null;
261
+ };
262
+ outputFormat: "json";
263
+ status: 201;
264
+ };
265
+ };
266
+ } & {
267
+ "/invoice-templates/:id": {
268
+ $get: {
269
+ input: {
270
+ param: {
271
+ id: string;
272
+ };
273
+ };
274
+ output: {
275
+ error: string;
276
+ };
277
+ outputFormat: "json";
278
+ status: 404;
279
+ } | {
280
+ input: {
281
+ param: {
282
+ id: string;
283
+ };
284
+ };
285
+ output: {
286
+ data: {
287
+ id: string;
288
+ name: string;
289
+ slug: string;
290
+ language: string;
291
+ jurisdiction: string | null;
292
+ bodyFormat: "html" | "markdown" | "lexical_json";
293
+ body: string;
294
+ cssStyles: string | null;
295
+ isDefault: boolean;
296
+ active: boolean;
297
+ metadata: import("hono/utils/types").JSONValue;
298
+ createdAt: string;
299
+ updatedAt: string;
300
+ };
301
+ };
302
+ outputFormat: "json";
303
+ status: import("hono/utils/http-status").ContentfulStatusCode;
304
+ };
305
+ };
306
+ } & {
307
+ "/invoice-templates/:id": {
308
+ $patch: {
309
+ input: {
310
+ param: {
311
+ id: string;
312
+ };
313
+ };
314
+ output: {
315
+ error: string;
316
+ };
317
+ outputFormat: "json";
318
+ status: 404;
319
+ } | {
320
+ input: {
321
+ param: {
322
+ id: string;
323
+ };
324
+ };
325
+ output: {
326
+ data: {
327
+ id: string;
328
+ name: string;
329
+ slug: string;
330
+ language: string;
331
+ jurisdiction: string | null;
332
+ bodyFormat: "html" | "markdown" | "lexical_json";
333
+ body: string;
334
+ cssStyles: string | null;
335
+ isDefault: boolean;
336
+ active: boolean;
337
+ metadata: import("hono/utils/types").JSONValue;
338
+ createdAt: string;
339
+ updatedAt: string;
340
+ };
341
+ };
342
+ outputFormat: "json";
343
+ status: import("hono/utils/http-status").ContentfulStatusCode;
344
+ };
345
+ };
346
+ } & {
347
+ "/invoice-templates/:id": {
348
+ $delete: {
349
+ input: {
350
+ param: {
351
+ id: string;
352
+ };
353
+ };
354
+ output: {
355
+ error: string;
356
+ };
357
+ outputFormat: "json";
358
+ status: 404;
359
+ } | {
360
+ input: {
361
+ param: {
362
+ id: string;
363
+ };
364
+ };
365
+ output: {
366
+ success: true;
367
+ };
368
+ outputFormat: "json";
369
+ status: import("hono/utils/http-status").ContentfulStatusCode;
370
+ };
371
+ };
372
+ } & {
373
+ "/tax-regimes": {
374
+ $get: {
375
+ input: {};
376
+ output: {
377
+ data: {
378
+ id: string;
379
+ code: "standard" | "reduced" | "exempt" | "reverse_charge" | "margin_scheme_art311" | "zero_rated" | "out_of_scope" | "other";
380
+ name: string;
381
+ jurisdiction: string | null;
382
+ ratePercent: number | null;
383
+ description: string | null;
384
+ legalReference: string | null;
385
+ active: boolean;
386
+ metadata: import("hono/utils/types").JSONValue;
387
+ createdAt: string;
388
+ updatedAt: string;
389
+ }[];
390
+ total: number;
391
+ limit: number;
392
+ offset: number;
393
+ };
394
+ outputFormat: "json";
395
+ status: import("hono/utils/http-status").ContentfulStatusCode;
396
+ };
397
+ };
398
+ } & {
399
+ "/tax-regimes": {
400
+ $post: {
401
+ input: {};
402
+ output: {
403
+ data: {
404
+ id: string;
405
+ name: string;
406
+ code: "standard" | "reduced" | "exempt" | "reverse_charge" | "margin_scheme_art311" | "zero_rated" | "out_of_scope" | "other";
407
+ jurisdiction: string | null;
408
+ description: string | null;
409
+ active: boolean;
410
+ createdAt: string;
411
+ updatedAt: string;
412
+ ratePercent: number | null;
413
+ legalReference: string | null;
414
+ metadata: import("hono/utils/types").JSONValue;
415
+ } | null;
416
+ };
417
+ outputFormat: "json";
418
+ status: 201;
419
+ };
420
+ };
421
+ } & {
422
+ "/tax-regimes/:id": {
423
+ $get: {
424
+ input: {
425
+ param: {
426
+ id: string;
427
+ };
428
+ };
429
+ output: {
430
+ error: string;
431
+ };
432
+ outputFormat: "json";
433
+ status: 404;
434
+ } | {
435
+ input: {
436
+ param: {
437
+ id: string;
438
+ };
439
+ };
440
+ output: {
441
+ data: {
442
+ id: string;
443
+ code: "standard" | "reduced" | "exempt" | "reverse_charge" | "margin_scheme_art311" | "zero_rated" | "out_of_scope" | "other";
444
+ name: string;
445
+ jurisdiction: string | null;
446
+ ratePercent: number | null;
447
+ description: string | null;
448
+ legalReference: string | null;
449
+ active: boolean;
450
+ metadata: import("hono/utils/types").JSONValue;
451
+ createdAt: string;
452
+ updatedAt: string;
453
+ };
454
+ };
455
+ outputFormat: "json";
456
+ status: import("hono/utils/http-status").ContentfulStatusCode;
457
+ };
458
+ };
459
+ } & {
460
+ "/tax-regimes/:id": {
461
+ $patch: {
462
+ input: {
463
+ param: {
464
+ id: string;
465
+ };
466
+ };
467
+ output: {
468
+ error: string;
469
+ };
470
+ outputFormat: "json";
471
+ status: 404;
472
+ } | {
473
+ input: {
474
+ param: {
475
+ id: string;
476
+ };
477
+ };
478
+ output: {
479
+ data: {
480
+ id: string;
481
+ code: "standard" | "reduced" | "exempt" | "reverse_charge" | "margin_scheme_art311" | "zero_rated" | "out_of_scope" | "other";
482
+ name: string;
483
+ jurisdiction: string | null;
484
+ ratePercent: number | null;
485
+ description: string | null;
486
+ legalReference: string | null;
487
+ active: boolean;
488
+ metadata: import("hono/utils/types").JSONValue;
489
+ createdAt: string;
490
+ updatedAt: string;
491
+ };
492
+ };
493
+ outputFormat: "json";
494
+ status: import("hono/utils/http-status").ContentfulStatusCode;
495
+ };
496
+ };
497
+ } & {
498
+ "/tax-regimes/:id": {
499
+ $delete: {
500
+ input: {
501
+ param: {
502
+ id: string;
503
+ };
504
+ };
505
+ output: {
506
+ error: string;
507
+ };
508
+ outputFormat: "json";
509
+ status: 404;
510
+ } | {
511
+ input: {
512
+ param: {
513
+ id: string;
514
+ };
515
+ };
516
+ output: {
517
+ success: true;
518
+ };
519
+ outputFormat: "json";
520
+ status: import("hono/utils/http-status").ContentfulStatusCode;
521
+ };
522
+ };
523
+ } & {
524
+ "/tax-classes": {
525
+ $get: {
526
+ input: {};
527
+ output: {
528
+ data: {
529
+ id: string;
530
+ code: string;
531
+ label: string;
532
+ description: string | null;
533
+ defaultRegimeId: string | null;
534
+ lines: {
535
+ regime_id: string;
536
+ applies_to: "base" | "addon" | "accommodation" | "all";
537
+ }[] | null;
538
+ active: boolean;
539
+ createdAt: string;
540
+ updatedAt: string;
541
+ }[];
542
+ total: number;
543
+ limit: number;
544
+ offset: number;
545
+ };
546
+ outputFormat: "json";
547
+ status: import("hono/utils/http-status").ContentfulStatusCode;
548
+ };
549
+ };
550
+ } & {
551
+ "/tax-classes": {
552
+ $post: {
553
+ input: {};
554
+ output: {
555
+ data: {
556
+ id: string;
557
+ code: string;
558
+ description: string | null;
559
+ active: boolean;
560
+ createdAt: string;
561
+ updatedAt: string;
562
+ label: string;
563
+ defaultRegimeId: string | null;
564
+ lines: {
565
+ regime_id: string;
566
+ applies_to: "base" | "addon" | "accommodation" | "all";
567
+ }[] | null;
568
+ } | null;
569
+ };
570
+ outputFormat: "json";
571
+ status: 201;
572
+ };
573
+ };
574
+ } & {
575
+ "/tax-classes/:id": {
576
+ $get: {
577
+ input: {
578
+ param: {
579
+ id: string;
580
+ };
581
+ };
582
+ output: {
583
+ error: string;
584
+ };
585
+ outputFormat: "json";
586
+ status: 404;
587
+ } | {
588
+ input: {
589
+ param: {
590
+ id: string;
591
+ };
592
+ };
593
+ output: {
594
+ data: {
595
+ id: string;
596
+ code: string;
597
+ label: string;
598
+ description: string | null;
599
+ defaultRegimeId: string | null;
600
+ lines: {
601
+ regime_id: string;
602
+ applies_to: "base" | "addon" | "accommodation" | "all";
603
+ }[] | null;
604
+ active: boolean;
605
+ createdAt: string;
606
+ updatedAt: string;
607
+ };
608
+ };
609
+ outputFormat: "json";
610
+ status: import("hono/utils/http-status").ContentfulStatusCode;
611
+ };
612
+ };
613
+ } & {
614
+ "/tax-classes/:id": {
615
+ $patch: {
616
+ input: {
617
+ param: {
618
+ id: string;
619
+ };
620
+ };
621
+ output: {
622
+ error: string;
623
+ };
624
+ outputFormat: "json";
625
+ status: 404;
626
+ } | {
627
+ input: {
628
+ param: {
629
+ id: string;
630
+ };
631
+ };
632
+ output: {
633
+ data: {
634
+ id: string;
635
+ code: string;
636
+ label: string;
637
+ description: string | null;
638
+ defaultRegimeId: string | null;
639
+ lines: {
640
+ regime_id: string;
641
+ applies_to: "base" | "addon" | "accommodation" | "all";
642
+ }[] | null;
643
+ active: boolean;
644
+ createdAt: string;
645
+ updatedAt: string;
646
+ };
647
+ };
648
+ outputFormat: "json";
649
+ status: import("hono/utils/http-status").ContentfulStatusCode;
650
+ };
651
+ };
652
+ } & {
653
+ "/tax-classes/:id": {
654
+ $delete: {
655
+ input: {
656
+ param: {
657
+ id: string;
658
+ };
659
+ };
660
+ output: {
661
+ error: string;
662
+ };
663
+ outputFormat: "json";
664
+ status: 404;
665
+ } | {
666
+ input: {
667
+ param: {
668
+ id: string;
669
+ };
670
+ };
671
+ output: {
672
+ success: true;
673
+ };
674
+ outputFormat: "json";
675
+ status: import("hono/utils/http-status").ContentfulStatusCode;
676
+ };
677
+ };
678
+ } & {
679
+ "/tax-policy-profiles": {
680
+ $get: {
681
+ input: {};
682
+ output: {
683
+ data: {
684
+ id: string;
685
+ code: string;
686
+ name: string;
687
+ jurisdiction: string | null;
688
+ description: string | null;
689
+ active: boolean;
690
+ createdAt: string;
691
+ updatedAt: string;
692
+ }[];
693
+ total: number;
694
+ limit: number;
695
+ offset: number;
696
+ };
697
+ outputFormat: "json";
698
+ status: import("hono/utils/http-status").ContentfulStatusCode;
699
+ };
700
+ };
701
+ } & {
702
+ "/tax-policy-profiles": {
703
+ $post: {
704
+ input: {};
705
+ output: {
706
+ data: {
707
+ id: string;
708
+ name: string;
709
+ code: string;
710
+ jurisdiction: string | null;
711
+ description: string | null;
712
+ active: boolean;
713
+ createdAt: string;
714
+ updatedAt: string;
715
+ } | null;
716
+ };
717
+ outputFormat: "json";
718
+ status: 201;
719
+ };
720
+ };
721
+ } & {
722
+ "/tax-policy-profiles/:id": {
723
+ $get: {
724
+ input: {
725
+ param: {
726
+ id: string;
727
+ };
728
+ };
729
+ output: {
730
+ error: string;
731
+ };
732
+ outputFormat: "json";
733
+ status: 404;
734
+ } | {
735
+ input: {
736
+ param: {
737
+ id: string;
738
+ };
739
+ };
740
+ output: {
741
+ data: {
742
+ id: string;
743
+ code: string;
744
+ name: string;
745
+ jurisdiction: string | null;
746
+ description: string | null;
747
+ active: boolean;
748
+ createdAt: string;
749
+ updatedAt: string;
750
+ };
751
+ };
752
+ outputFormat: "json";
753
+ status: import("hono/utils/http-status").ContentfulStatusCode;
754
+ };
755
+ };
756
+ } & {
757
+ "/tax-policy-profiles/:id": {
758
+ $patch: {
759
+ input: {
760
+ param: {
761
+ id: string;
762
+ };
763
+ };
764
+ output: {
765
+ error: string;
766
+ };
767
+ outputFormat: "json";
768
+ status: 404;
769
+ } | {
770
+ input: {
771
+ param: {
772
+ id: string;
773
+ };
774
+ };
775
+ output: {
776
+ data: {
777
+ id: string;
778
+ code: string;
779
+ name: string;
780
+ jurisdiction: string | null;
781
+ description: string | null;
782
+ active: boolean;
783
+ createdAt: string;
784
+ updatedAt: string;
785
+ };
786
+ };
787
+ outputFormat: "json";
788
+ status: import("hono/utils/http-status").ContentfulStatusCode;
789
+ };
790
+ };
791
+ } & {
792
+ "/tax-policy-profiles/:id": {
793
+ $delete: {
794
+ input: {
795
+ param: {
796
+ id: string;
797
+ };
798
+ };
799
+ output: {
800
+ error: string;
801
+ };
802
+ outputFormat: "json";
803
+ status: 404;
804
+ } | {
805
+ input: {
806
+ param: {
807
+ id: string;
808
+ };
809
+ };
810
+ output: {
811
+ success: true;
812
+ };
813
+ outputFormat: "json";
814
+ status: import("hono/utils/http-status").ContentfulStatusCode;
815
+ };
816
+ };
817
+ } & {
818
+ "/tax-policy-rules": {
819
+ $get: {
820
+ input: {};
821
+ output: {
822
+ data: {
823
+ id: string;
824
+ profileId: string;
825
+ side: "sell" | "buy";
826
+ priority: number;
827
+ name: string;
828
+ appliesTo: "base" | "addon" | "accommodation" | "all";
829
+ condition: {
830
+ [x: string]: import("hono/utils/types").JSONValue;
831
+ } | null;
832
+ taxRegimeId: string;
833
+ active: boolean;
834
+ createdAt: string;
835
+ updatedAt: string;
836
+ }[];
837
+ total: number;
838
+ limit: number;
839
+ offset: number;
840
+ };
841
+ outputFormat: "json";
842
+ status: import("hono/utils/http-status").ContentfulStatusCode;
843
+ };
844
+ };
845
+ } & {
846
+ "/tax-policy-rules": {
847
+ $post: {
848
+ input: {};
849
+ output: {
850
+ data: {
851
+ id: string;
852
+ name: string;
853
+ active: boolean;
854
+ createdAt: string;
855
+ updatedAt: string;
856
+ profileId: string;
857
+ side: "sell" | "buy";
858
+ priority: number;
859
+ appliesTo: "base" | "addon" | "accommodation" | "all";
860
+ condition: {
861
+ [x: string]: import("hono/utils/types").JSONValue;
862
+ } | null;
863
+ taxRegimeId: string;
864
+ } | null;
865
+ };
866
+ outputFormat: "json";
867
+ status: 201;
868
+ };
869
+ };
870
+ } & {
871
+ "/tax-policy-rules/:id": {
872
+ $get: {
873
+ input: {
874
+ param: {
875
+ id: string;
876
+ };
877
+ };
878
+ output: {
879
+ error: string;
880
+ };
881
+ outputFormat: "json";
882
+ status: 404;
883
+ } | {
884
+ input: {
885
+ param: {
886
+ id: string;
887
+ };
888
+ };
889
+ output: {
890
+ data: {
891
+ id: string;
892
+ profileId: string;
893
+ side: "sell" | "buy";
894
+ priority: number;
895
+ name: string;
896
+ appliesTo: "base" | "addon" | "accommodation" | "all";
897
+ condition: {
898
+ [x: string]: import("hono/utils/types").JSONValue;
899
+ } | null;
900
+ taxRegimeId: string;
901
+ active: boolean;
902
+ createdAt: string;
903
+ updatedAt: string;
904
+ };
905
+ };
906
+ outputFormat: "json";
907
+ status: import("hono/utils/http-status").ContentfulStatusCode;
908
+ };
909
+ };
910
+ } & {
911
+ "/tax-policy-rules/:id": {
912
+ $patch: {
913
+ input: {
914
+ param: {
915
+ id: string;
916
+ };
917
+ };
918
+ output: {
919
+ error: string;
920
+ };
921
+ outputFormat: "json";
922
+ status: 404;
923
+ } | {
924
+ input: {
925
+ param: {
926
+ id: string;
927
+ };
928
+ };
929
+ output: {
930
+ data: {
931
+ id: string;
932
+ profileId: string;
933
+ side: "sell" | "buy";
934
+ priority: number;
935
+ name: string;
936
+ appliesTo: "base" | "addon" | "accommodation" | "all";
937
+ condition: {
938
+ [x: string]: import("hono/utils/types").JSONValue;
939
+ } | null;
940
+ taxRegimeId: string;
941
+ active: boolean;
942
+ createdAt: string;
943
+ updatedAt: string;
944
+ };
945
+ };
946
+ outputFormat: "json";
947
+ status: import("hono/utils/http-status").ContentfulStatusCode;
948
+ };
949
+ };
950
+ } & {
951
+ "/tax-policy-rules/:id": {
952
+ $delete: {
953
+ input: {
954
+ param: {
955
+ id: string;
956
+ };
957
+ };
958
+ output: {
959
+ error: string;
960
+ };
961
+ outputFormat: "json";
962
+ status: 404;
963
+ } | {
964
+ input: {
965
+ param: {
966
+ id: string;
967
+ };
968
+ };
969
+ output: {
970
+ success: true;
971
+ };
972
+ outputFormat: "json";
973
+ status: import("hono/utils/http-status").ContentfulStatusCode;
974
+ };
975
+ };
976
+ }, "/", "/tax-policy-rules/:id">;
977
+ //# sourceMappingURL=routes-reference-data.d.ts.map