@voyant-travel/finance 0.169.0 → 0.169.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.
@@ -19,17 +19,6 @@ import type { Env } from "./routes-shared.js";
19
19
  export declare const financeBookingReadRoutes: OpenAPIHono<Env, {
20
20
  "/bookings/:bookingId/payments": {
21
21
  $get: {
22
- input: {
23
- param: {
24
- bookingId: string;
25
- };
26
- };
27
- output: {
28
- error: string;
29
- };
30
- outputFormat: "json";
31
- status: 404;
32
- } | {
33
22
  input: {
34
23
  param: {
35
24
  bookingId: string;
@@ -58,6 +47,17 @@ export declare const financeBookingReadRoutes: OpenAPIHono<Env, {
58
47
  };
59
48
  outputFormat: "json";
60
49
  status: 200;
50
+ } | {
51
+ input: {
52
+ param: {
53
+ bookingId: string;
54
+ };
55
+ };
56
+ output: {
57
+ error: string;
58
+ };
59
+ outputFormat: "json";
60
+ status: 404;
61
61
  };
62
62
  };
63
63
  }, "/">;
@@ -208,11 +208,9 @@ export declare function createFinanceAdminDocumentRoutes(options?: FinanceDocume
208
208
  id: string;
209
209
  };
210
210
  };
211
- output: {
212
- error: string;
213
- };
214
- outputFormat: "json";
215
- status: 404;
211
+ output: {};
212
+ outputFormat: string;
213
+ status: 302;
216
214
  } | {
217
215
  input: {
218
216
  param: {
@@ -223,16 +221,18 @@ export declare function createFinanceAdminDocumentRoutes(options?: FinanceDocume
223
221
  error: string;
224
222
  };
225
223
  outputFormat: "json";
226
- status: 501;
224
+ status: 404;
227
225
  } | {
228
226
  input: {
229
227
  param: {
230
228
  id: string;
231
229
  };
232
230
  };
233
- output: {};
234
- outputFormat: string;
235
- status: 302;
231
+ output: {
232
+ error: string;
233
+ };
234
+ outputFormat: "json";
235
+ status: 501;
236
236
  };
237
237
  };
238
238
  }, "/">;
@@ -273,7 +273,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
273
273
  error: string;
274
274
  };
275
275
  outputFormat: "json";
276
- status: 400;
276
+ status: 409;
277
277
  } | {
278
278
  input: {
279
279
  param: {
@@ -296,7 +296,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
296
296
  error: string;
297
297
  };
298
298
  outputFormat: "json";
299
- status: 409;
299
+ status: 400;
300
300
  } | {
301
301
  input: {
302
302
  param: {
@@ -385,7 +385,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
385
385
  error: string;
386
386
  };
387
387
  outputFormat: "json";
388
- status: 400;
388
+ status: 409;
389
389
  } | {
390
390
  input: {
391
391
  param: {
@@ -409,7 +409,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
409
409
  error: string;
410
410
  };
411
411
  outputFormat: "json";
412
- status: 409;
412
+ status: 400;
413
413
  } | {
414
414
  input: {
415
415
  param: {
@@ -540,7 +540,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
540
540
  error: string;
541
541
  };
542
542
  outputFormat: "json";
543
- status: 400;
543
+ status: 409;
544
544
  } | {
545
545
  input: {
546
546
  param: {
@@ -568,7 +568,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
568
568
  error: string;
569
569
  };
570
570
  outputFormat: "json";
571
- status: 409;
571
+ status: 400;
572
572
  } | {
573
573
  input: {
574
574
  param: {
@@ -842,17 +842,6 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
842
842
  }, "/"> & import("hono/types").MergeSchemaPath<{
843
843
  "/invoices/:id": {
844
844
  $get: {
845
- input: {
846
- param: {
847
- id: string;
848
- };
849
- };
850
- output: {
851
- error: string;
852
- };
853
- outputFormat: "json";
854
- status: 404;
855
- } | {
856
845
  input: {
857
846
  param: {
858
847
  id: string;
@@ -901,6 +890,17 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
901
890
  };
902
891
  outputFormat: "json";
903
892
  status: 200;
893
+ } | {
894
+ input: {
895
+ param: {
896
+ id: string;
897
+ };
898
+ };
899
+ output: {
900
+ error: string;
901
+ };
902
+ outputFormat: "json";
903
+ status: 404;
904
904
  };
905
905
  };
906
906
  } & {
@@ -1051,7 +1051,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1051
1051
  error: string;
1052
1052
  };
1053
1053
  outputFormat: "json";
1054
- status: 400;
1054
+ status: 409;
1055
1055
  } | {
1056
1056
  input: {
1057
1057
  param: {
@@ -1088,7 +1088,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1088
1088
  error: string;
1089
1089
  };
1090
1090
  outputFormat: "json";
1091
- status: 409;
1091
+ status: 400;
1092
1092
  };
1093
1093
  };
1094
1094
  } & {
@@ -1151,7 +1151,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1151
1151
  error: string;
1152
1152
  };
1153
1153
  outputFormat: "json";
1154
- status: 400;
1154
+ status: 409;
1155
1155
  } | {
1156
1156
  input: {
1157
1157
  param: {
@@ -1162,7 +1162,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1162
1162
  error: string;
1163
1163
  };
1164
1164
  outputFormat: "json";
1165
- status: 409;
1165
+ status: 400;
1166
1166
  } | {
1167
1167
  input: {
1168
1168
  param: {
@@ -1349,7 +1349,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1349
1349
  error: string;
1350
1350
  };
1351
1351
  outputFormat: "json";
1352
- status: 400;
1352
+ status: 409;
1353
1353
  } | {
1354
1354
  input: {
1355
1355
  param: {
@@ -1417,7 +1417,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1417
1417
  error: string;
1418
1418
  };
1419
1419
  outputFormat: "json";
1420
- status: 409;
1420
+ status: 400;
1421
1421
  } | {
1422
1422
  input: {
1423
1423
  param: {
@@ -2051,7 +2051,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2051
2051
  } | undefined;
2052
2052
  };
2053
2053
  outputFormat: "json";
2054
- status: 400;
2054
+ status: 409;
2055
2055
  } | {
2056
2056
  input: {
2057
2057
  param: {
@@ -2066,7 +2066,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2066
2066
  } | undefined;
2067
2067
  };
2068
2068
  outputFormat: "json";
2069
- status: 409;
2069
+ status: 400;
2070
2070
  };
2071
2071
  };
2072
2072
  } & {
@@ -462,7 +462,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
462
462
  error: string;
463
463
  };
464
464
  outputFormat: "json";
465
- status: 400;
465
+ status: 409;
466
466
  } | {
467
467
  input: {
468
468
  param: {
@@ -489,7 +489,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
489
489
  error: string;
490
490
  };
491
491
  outputFormat: "json";
492
- status: 409;
492
+ status: 400;
493
493
  } | {
494
494
  input: {
495
495
  param: {
@@ -5,17 +5,6 @@ export interface PublicAccountantRouteOptions {
5
5
  export declare function createPublicAccountantRoutes(options?: PublicAccountantRouteOptions): import("hono/hono-base").HonoBase<Env, {
6
6
  "/accountant/:token/summary": {
7
7
  $get: {
8
- input: {
9
- param: {
10
- token: string;
11
- };
12
- };
13
- output: {
14
- error: string;
15
- };
16
- outputFormat: "json";
17
- status: 404;
18
- } | {
19
8
  input: {
20
9
  param: {
21
10
  token: string;
@@ -33,6 +22,17 @@ export declare function createPublicAccountantRoutes(options?: PublicAccountantR
33
22
  };
34
23
  outputFormat: "json";
35
24
  status: 200;
25
+ } | {
26
+ input: {
27
+ param: {
28
+ token: string;
29
+ };
30
+ };
31
+ output: {
32
+ error: string;
33
+ };
34
+ outputFormat: "json";
35
+ status: 404;
36
36
  } | {
37
37
  input: {
38
38
  param: {