@voyantjs/plugin-netopia 0.1.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.
@@ -0,0 +1,709 @@
1
+ import { type HonoPlugin } from "@voyantjs/hono";
2
+ import type { HonoExtension } from "@voyantjs/hono/module";
3
+ import type { PostgresJsDatabase } from "drizzle-orm/postgres-js";
4
+ import type { NetopiaRuntimeOptions } from "./types.js";
5
+ type Env = {
6
+ Bindings: Record<string, unknown>;
7
+ Variables: {
8
+ db: PostgresJsDatabase;
9
+ userId?: string;
10
+ };
11
+ };
12
+ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptions): import("hono/hono-base").HonoBase<Env, {
13
+ "/providers/netopia/payment-sessions/:sessionId/start": {
14
+ $post: {
15
+ input: {
16
+ param: {
17
+ sessionId: string;
18
+ };
19
+ };
20
+ output: {
21
+ data: {
22
+ session: {
23
+ id: string;
24
+ status: "cancelled" | "expired" | "pending" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
25
+ notes: string | null;
26
+ createdAt: string;
27
+ updatedAt: string;
28
+ expiredAt: string | null;
29
+ cancelledAt: string | null;
30
+ completedAt: string | null;
31
+ bookingId: string | null;
32
+ metadata: {
33
+ [x: string]: import("hono/utils/types").JSONValue;
34
+ } | null;
35
+ expiresAt: string | null;
36
+ provider: string | null;
37
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
38
+ targetId: string | null;
39
+ orderId: string | null;
40
+ currency: string;
41
+ invoiceId: string | null;
42
+ amountCents: number;
43
+ bookingPaymentScheduleId: string | null;
44
+ paymentInstrumentId: string | null;
45
+ bookingGuaranteeId: string | null;
46
+ paymentAuthorizationId: string | null;
47
+ paymentCaptureId: string | null;
48
+ paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
49
+ paymentId: string | null;
50
+ providerSessionId: string | null;
51
+ providerPaymentId: string | null;
52
+ externalReference: string | null;
53
+ idempotencyKey: string | null;
54
+ clientReference: string | null;
55
+ payerPersonId: string | null;
56
+ payerOrganizationId: string | null;
57
+ payerEmail: string | null;
58
+ payerName: string | null;
59
+ redirectUrl: string | null;
60
+ returnUrl: string | null;
61
+ cancelUrl: string | null;
62
+ callbackUrl: string | null;
63
+ failedAt: string | null;
64
+ failureCode: string | null;
65
+ failureMessage: string | null;
66
+ providerPayload: {
67
+ [x: string]: import("hono/utils/types").JSONValue;
68
+ } | null;
69
+ };
70
+ providerResponse: {
71
+ code?: string | undefined;
72
+ message?: string | undefined;
73
+ error?: {
74
+ code?: string | number | undefined;
75
+ message?: string | undefined;
76
+ } | undefined;
77
+ payment?: {
78
+ paymentURL?: string | undefined;
79
+ ntpID?: string | undefined;
80
+ status?: number | undefined;
81
+ amount?: number | undefined;
82
+ currency?: string | undefined;
83
+ } | undefined;
84
+ };
85
+ orderId: string;
86
+ };
87
+ };
88
+ outputFormat: "json";
89
+ status: 201;
90
+ } | {
91
+ input: {
92
+ param: {
93
+ sessionId: string;
94
+ };
95
+ };
96
+ output: {
97
+ error: string;
98
+ };
99
+ outputFormat: "json";
100
+ status: 404;
101
+ } | {
102
+ input: {
103
+ param: {
104
+ sessionId: string;
105
+ };
106
+ };
107
+ output: {
108
+ error: string;
109
+ };
110
+ outputFormat: "json";
111
+ status: 409;
112
+ } | {
113
+ input: {
114
+ param: {
115
+ sessionId: string;
116
+ };
117
+ };
118
+ output: {
119
+ error: string;
120
+ };
121
+ outputFormat: "json";
122
+ status: 500;
123
+ } | {
124
+ input: {
125
+ param: {
126
+ sessionId: string;
127
+ };
128
+ };
129
+ output: {
130
+ error: string;
131
+ };
132
+ outputFormat: "json";
133
+ status: 502;
134
+ };
135
+ };
136
+ } & {
137
+ "/providers/netopia/bookings/:bookingId/payment-schedules/:scheduleId/collect": {
138
+ $post: {
139
+ input: {
140
+ param: {
141
+ bookingId: string;
142
+ } & {
143
+ scheduleId: string;
144
+ };
145
+ };
146
+ output: {
147
+ data: {
148
+ paymentSessionNotification: {
149
+ id: string;
150
+ status: "cancelled" | "pending" | "failed" | "sent";
151
+ createdAt: string;
152
+ updatedAt: string;
153
+ personId: string | null;
154
+ organizationId: string | null;
155
+ bookingId: string | null;
156
+ metadata: {
157
+ [x: string]: import("hono/utils/types").JSONValue;
158
+ } | null;
159
+ channel: "email" | "sms";
160
+ provider: string;
161
+ targetType: "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session" | "person" | "organization";
162
+ targetId: string | null;
163
+ templateId: string | null;
164
+ invoiceId: string | null;
165
+ failedAt: string | null;
166
+ errorMessage: string | null;
167
+ fromAddress: string | null;
168
+ templateSlug: string | null;
169
+ paymentSessionId: string | null;
170
+ providerMessageId: string | null;
171
+ toAddress: string;
172
+ subject: string | null;
173
+ htmlBody: string | null;
174
+ textBody: string | null;
175
+ payloadData: {
176
+ [x: string]: import("hono/utils/types").JSONValue;
177
+ } | null;
178
+ scheduledFor: string | null;
179
+ sentAt: string | null;
180
+ } | null;
181
+ invoiceNotification: {
182
+ id: string;
183
+ status: "cancelled" | "pending" | "failed" | "sent";
184
+ createdAt: string;
185
+ updatedAt: string;
186
+ personId: string | null;
187
+ organizationId: string | null;
188
+ bookingId: string | null;
189
+ metadata: {
190
+ [x: string]: import("hono/utils/types").JSONValue;
191
+ } | null;
192
+ channel: "email" | "sms";
193
+ provider: string;
194
+ targetType: "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session" | "person" | "organization";
195
+ targetId: string | null;
196
+ templateId: string | null;
197
+ invoiceId: string | null;
198
+ failedAt: string | null;
199
+ errorMessage: string | null;
200
+ fromAddress: string | null;
201
+ templateSlug: string | null;
202
+ paymentSessionId: string | null;
203
+ providerMessageId: string | null;
204
+ toAddress: string;
205
+ subject: string | null;
206
+ htmlBody: string | null;
207
+ textBody: string | null;
208
+ payloadData: {
209
+ [x: string]: import("hono/utils/types").JSONValue;
210
+ } | null;
211
+ scheduledFor: string | null;
212
+ sentAt: string | null;
213
+ } | null;
214
+ session: {
215
+ id: string;
216
+ status: "cancelled" | "expired" | "pending" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
217
+ notes: string | null;
218
+ createdAt: string;
219
+ updatedAt: string;
220
+ expiredAt: string | null;
221
+ cancelledAt: string | null;
222
+ completedAt: string | null;
223
+ bookingId: string | null;
224
+ metadata: {
225
+ [x: string]: import("hono/utils/types").JSONValue;
226
+ } | null;
227
+ expiresAt: string | null;
228
+ provider: string | null;
229
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
230
+ targetId: string | null;
231
+ orderId: string | null;
232
+ currency: string;
233
+ invoiceId: string | null;
234
+ amountCents: number;
235
+ bookingPaymentScheduleId: string | null;
236
+ paymentInstrumentId: string | null;
237
+ bookingGuaranteeId: string | null;
238
+ paymentAuthorizationId: string | null;
239
+ paymentCaptureId: string | null;
240
+ paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
241
+ paymentId: string | null;
242
+ providerSessionId: string | null;
243
+ providerPaymentId: string | null;
244
+ externalReference: string | null;
245
+ idempotencyKey: string | null;
246
+ clientReference: string | null;
247
+ payerPersonId: string | null;
248
+ payerOrganizationId: string | null;
249
+ payerEmail: string | null;
250
+ payerName: string | null;
251
+ redirectUrl: string | null;
252
+ returnUrl: string | null;
253
+ cancelUrl: string | null;
254
+ callbackUrl: string | null;
255
+ failedAt: string | null;
256
+ failureCode: string | null;
257
+ failureMessage: string | null;
258
+ providerPayload: {
259
+ [x: string]: import("hono/utils/types").JSONValue;
260
+ } | null;
261
+ };
262
+ providerResponse: {
263
+ code?: string | undefined;
264
+ message?: string | undefined;
265
+ error?: {
266
+ code?: string | number | undefined;
267
+ message?: string | undefined;
268
+ } | undefined;
269
+ payment?: {
270
+ paymentURL?: string | undefined;
271
+ ntpID?: string | undefined;
272
+ status?: number | undefined;
273
+ amount?: number | undefined;
274
+ currency?: string | undefined;
275
+ } | undefined;
276
+ };
277
+ orderId: string;
278
+ };
279
+ };
280
+ outputFormat: "json";
281
+ status: 201;
282
+ } | {
283
+ input: {
284
+ param: {
285
+ bookingId: string;
286
+ } & {
287
+ scheduleId: string;
288
+ };
289
+ };
290
+ output: {
291
+ error: string;
292
+ };
293
+ outputFormat: "json";
294
+ status: 500 | 404 | 409 | 502;
295
+ };
296
+ };
297
+ } & {
298
+ "/providers/netopia/bookings/:bookingId/guarantees/:guaranteeId/collect": {
299
+ $post: {
300
+ input: {
301
+ param: {
302
+ bookingId: string;
303
+ } & {
304
+ guaranteeId: string;
305
+ };
306
+ };
307
+ output: {
308
+ data: {
309
+ paymentSessionNotification: {
310
+ id: string;
311
+ status: "cancelled" | "pending" | "failed" | "sent";
312
+ createdAt: string;
313
+ updatedAt: string;
314
+ personId: string | null;
315
+ organizationId: string | null;
316
+ bookingId: string | null;
317
+ metadata: {
318
+ [x: string]: import("hono/utils/types").JSONValue;
319
+ } | null;
320
+ channel: "email" | "sms";
321
+ provider: string;
322
+ targetType: "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session" | "person" | "organization";
323
+ targetId: string | null;
324
+ templateId: string | null;
325
+ invoiceId: string | null;
326
+ failedAt: string | null;
327
+ errorMessage: string | null;
328
+ fromAddress: string | null;
329
+ templateSlug: string | null;
330
+ paymentSessionId: string | null;
331
+ providerMessageId: string | null;
332
+ toAddress: string;
333
+ subject: string | null;
334
+ htmlBody: string | null;
335
+ textBody: string | null;
336
+ payloadData: {
337
+ [x: string]: import("hono/utils/types").JSONValue;
338
+ } | null;
339
+ scheduledFor: string | null;
340
+ sentAt: string | null;
341
+ } | null;
342
+ invoiceNotification: {
343
+ id: string;
344
+ status: "cancelled" | "pending" | "failed" | "sent";
345
+ createdAt: string;
346
+ updatedAt: string;
347
+ personId: string | null;
348
+ organizationId: string | null;
349
+ bookingId: string | null;
350
+ metadata: {
351
+ [x: string]: import("hono/utils/types").JSONValue;
352
+ } | null;
353
+ channel: "email" | "sms";
354
+ provider: string;
355
+ targetType: "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session" | "person" | "organization";
356
+ targetId: string | null;
357
+ templateId: string | null;
358
+ invoiceId: string | null;
359
+ failedAt: string | null;
360
+ errorMessage: string | null;
361
+ fromAddress: string | null;
362
+ templateSlug: string | null;
363
+ paymentSessionId: string | null;
364
+ providerMessageId: string | null;
365
+ toAddress: string;
366
+ subject: string | null;
367
+ htmlBody: string | null;
368
+ textBody: string | null;
369
+ payloadData: {
370
+ [x: string]: import("hono/utils/types").JSONValue;
371
+ } | null;
372
+ scheduledFor: string | null;
373
+ sentAt: string | null;
374
+ } | null;
375
+ session: {
376
+ id: string;
377
+ status: "cancelled" | "expired" | "pending" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
378
+ notes: string | null;
379
+ createdAt: string;
380
+ updatedAt: string;
381
+ expiredAt: string | null;
382
+ cancelledAt: string | null;
383
+ completedAt: string | null;
384
+ bookingId: string | null;
385
+ metadata: {
386
+ [x: string]: import("hono/utils/types").JSONValue;
387
+ } | null;
388
+ expiresAt: string | null;
389
+ provider: string | null;
390
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
391
+ targetId: string | null;
392
+ orderId: string | null;
393
+ currency: string;
394
+ invoiceId: string | null;
395
+ amountCents: number;
396
+ bookingPaymentScheduleId: string | null;
397
+ paymentInstrumentId: string | null;
398
+ bookingGuaranteeId: string | null;
399
+ paymentAuthorizationId: string | null;
400
+ paymentCaptureId: string | null;
401
+ paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
402
+ paymentId: string | null;
403
+ providerSessionId: string | null;
404
+ providerPaymentId: string | null;
405
+ externalReference: string | null;
406
+ idempotencyKey: string | null;
407
+ clientReference: string | null;
408
+ payerPersonId: string | null;
409
+ payerOrganizationId: string | null;
410
+ payerEmail: string | null;
411
+ payerName: string | null;
412
+ redirectUrl: string | null;
413
+ returnUrl: string | null;
414
+ cancelUrl: string | null;
415
+ callbackUrl: string | null;
416
+ failedAt: string | null;
417
+ failureCode: string | null;
418
+ failureMessage: string | null;
419
+ providerPayload: {
420
+ [x: string]: import("hono/utils/types").JSONValue;
421
+ } | null;
422
+ };
423
+ providerResponse: {
424
+ code?: string | undefined;
425
+ message?: string | undefined;
426
+ error?: {
427
+ code?: string | number | undefined;
428
+ message?: string | undefined;
429
+ } | undefined;
430
+ payment?: {
431
+ paymentURL?: string | undefined;
432
+ ntpID?: string | undefined;
433
+ status?: number | undefined;
434
+ amount?: number | undefined;
435
+ currency?: string | undefined;
436
+ } | undefined;
437
+ };
438
+ orderId: string;
439
+ };
440
+ };
441
+ outputFormat: "json";
442
+ status: 201;
443
+ } | {
444
+ input: {
445
+ param: {
446
+ bookingId: string;
447
+ } & {
448
+ guaranteeId: string;
449
+ };
450
+ };
451
+ output: {
452
+ error: string;
453
+ };
454
+ outputFormat: "json";
455
+ status: 500 | 404 | 409 | 502;
456
+ };
457
+ };
458
+ } & {
459
+ "/providers/netopia/invoices/:invoiceId/collect": {
460
+ $post: {
461
+ input: {
462
+ param: {
463
+ invoiceId: string;
464
+ };
465
+ };
466
+ output: {
467
+ data: {
468
+ paymentSessionNotification: {
469
+ id: string;
470
+ status: "cancelled" | "pending" | "failed" | "sent";
471
+ createdAt: string;
472
+ updatedAt: string;
473
+ personId: string | null;
474
+ organizationId: string | null;
475
+ bookingId: string | null;
476
+ metadata: {
477
+ [x: string]: import("hono/utils/types").JSONValue;
478
+ } | null;
479
+ channel: "email" | "sms";
480
+ provider: string;
481
+ targetType: "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session" | "person" | "organization";
482
+ targetId: string | null;
483
+ templateId: string | null;
484
+ invoiceId: string | null;
485
+ failedAt: string | null;
486
+ errorMessage: string | null;
487
+ fromAddress: string | null;
488
+ templateSlug: string | null;
489
+ paymentSessionId: string | null;
490
+ providerMessageId: string | null;
491
+ toAddress: string;
492
+ subject: string | null;
493
+ htmlBody: string | null;
494
+ textBody: string | null;
495
+ payloadData: {
496
+ [x: string]: import("hono/utils/types").JSONValue;
497
+ } | null;
498
+ scheduledFor: string | null;
499
+ sentAt: string | null;
500
+ } | null;
501
+ invoiceNotification: {
502
+ id: string;
503
+ status: "cancelled" | "pending" | "failed" | "sent";
504
+ createdAt: string;
505
+ updatedAt: string;
506
+ personId: string | null;
507
+ organizationId: string | null;
508
+ bookingId: string | null;
509
+ metadata: {
510
+ [x: string]: import("hono/utils/types").JSONValue;
511
+ } | null;
512
+ channel: "email" | "sms";
513
+ provider: string;
514
+ targetType: "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session" | "person" | "organization";
515
+ targetId: string | null;
516
+ templateId: string | null;
517
+ invoiceId: string | null;
518
+ failedAt: string | null;
519
+ errorMessage: string | null;
520
+ fromAddress: string | null;
521
+ templateSlug: string | null;
522
+ paymentSessionId: string | null;
523
+ providerMessageId: string | null;
524
+ toAddress: string;
525
+ subject: string | null;
526
+ htmlBody: string | null;
527
+ textBody: string | null;
528
+ payloadData: {
529
+ [x: string]: import("hono/utils/types").JSONValue;
530
+ } | null;
531
+ scheduledFor: string | null;
532
+ sentAt: string | null;
533
+ } | null;
534
+ session: {
535
+ id: string;
536
+ status: "cancelled" | "expired" | "pending" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
537
+ notes: string | null;
538
+ createdAt: string;
539
+ updatedAt: string;
540
+ expiredAt: string | null;
541
+ cancelledAt: string | null;
542
+ completedAt: string | null;
543
+ bookingId: string | null;
544
+ metadata: {
545
+ [x: string]: import("hono/utils/types").JSONValue;
546
+ } | null;
547
+ expiresAt: string | null;
548
+ provider: string | null;
549
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
550
+ targetId: string | null;
551
+ orderId: string | null;
552
+ currency: string;
553
+ invoiceId: string | null;
554
+ amountCents: number;
555
+ bookingPaymentScheduleId: string | null;
556
+ paymentInstrumentId: string | null;
557
+ bookingGuaranteeId: string | null;
558
+ paymentAuthorizationId: string | null;
559
+ paymentCaptureId: string | null;
560
+ paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
561
+ paymentId: string | null;
562
+ providerSessionId: string | null;
563
+ providerPaymentId: string | null;
564
+ externalReference: string | null;
565
+ idempotencyKey: string | null;
566
+ clientReference: string | null;
567
+ payerPersonId: string | null;
568
+ payerOrganizationId: string | null;
569
+ payerEmail: string | null;
570
+ payerName: string | null;
571
+ redirectUrl: string | null;
572
+ returnUrl: string | null;
573
+ cancelUrl: string | null;
574
+ callbackUrl: string | null;
575
+ failedAt: string | null;
576
+ failureCode: string | null;
577
+ failureMessage: string | null;
578
+ providerPayload: {
579
+ [x: string]: import("hono/utils/types").JSONValue;
580
+ } | null;
581
+ };
582
+ providerResponse: {
583
+ code?: string | undefined;
584
+ message?: string | undefined;
585
+ error?: {
586
+ code?: string | number | undefined;
587
+ message?: string | undefined;
588
+ } | undefined;
589
+ payment?: {
590
+ paymentURL?: string | undefined;
591
+ ntpID?: string | undefined;
592
+ status?: number | undefined;
593
+ amount?: number | undefined;
594
+ currency?: string | undefined;
595
+ } | undefined;
596
+ };
597
+ orderId: string;
598
+ };
599
+ };
600
+ outputFormat: "json";
601
+ status: 201;
602
+ } | {
603
+ input: {
604
+ param: {
605
+ invoiceId: string;
606
+ };
607
+ };
608
+ output: {
609
+ error: string;
610
+ };
611
+ outputFormat: "json";
612
+ status: 500 | 404 | 409 | 502;
613
+ };
614
+ };
615
+ } & {
616
+ "/providers/netopia/callback": {
617
+ $post: {
618
+ input: {};
619
+ output: {
620
+ data: {
621
+ action: "processing" | "completed" | "failed" | "ignored";
622
+ reason?: string | undefined;
623
+ session: {
624
+ id: string;
625
+ status: "cancelled" | "expired" | "pending" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
626
+ notes: string | null;
627
+ createdAt: string;
628
+ updatedAt: string;
629
+ expiredAt: string | null;
630
+ cancelledAt: string | null;
631
+ completedAt: string | null;
632
+ bookingId: string | null;
633
+ metadata: {
634
+ [x: string]: import("hono/utils/types").JSONValue;
635
+ } | null;
636
+ expiresAt: string | null;
637
+ provider: string | null;
638
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
639
+ targetId: string | null;
640
+ orderId: string | null;
641
+ currency: string;
642
+ invoiceId: string | null;
643
+ amountCents: number;
644
+ bookingPaymentScheduleId: string | null;
645
+ paymentInstrumentId: string | null;
646
+ bookingGuaranteeId: string | null;
647
+ paymentAuthorizationId: string | null;
648
+ paymentCaptureId: string | null;
649
+ paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
650
+ paymentId: string | null;
651
+ providerSessionId: string | null;
652
+ providerPaymentId: string | null;
653
+ externalReference: string | null;
654
+ idempotencyKey: string | null;
655
+ clientReference: string | null;
656
+ payerPersonId: string | null;
657
+ payerOrganizationId: string | null;
658
+ payerEmail: string | null;
659
+ payerName: string | null;
660
+ redirectUrl: string | null;
661
+ returnUrl: string | null;
662
+ cancelUrl: string | null;
663
+ callbackUrl: string | null;
664
+ failedAt: string | null;
665
+ failureCode: string | null;
666
+ failureMessage: string | null;
667
+ providerPayload: {
668
+ [x: string]: import("hono/utils/types").JSONValue;
669
+ } | null;
670
+ } | null;
671
+ orderId: string;
672
+ };
673
+ };
674
+ outputFormat: "json";
675
+ status: import("hono/utils/http-status").ContentfulStatusCode;
676
+ };
677
+ };
678
+ } & {
679
+ "/providers/netopia/config": {
680
+ $get: {
681
+ input: {};
682
+ output: {
683
+ data: {
684
+ apiUrl: string;
685
+ notifyUrl: string;
686
+ redirectUrl: string;
687
+ emailTemplate: string;
688
+ language: string;
689
+ successStatuses: number[];
690
+ processingStatuses: number[];
691
+ };
692
+ };
693
+ outputFormat: "json";
694
+ status: import("hono/utils/http-status").ContentfulStatusCode;
695
+ } | {
696
+ input: {};
697
+ output: {
698
+ error: string;
699
+ };
700
+ outputFormat: "json";
701
+ status: 500;
702
+ };
703
+ };
704
+ }, "/", "/providers/netopia/config">;
705
+ export declare function createNetopiaFinanceExtension(options?: NetopiaRuntimeOptions): HonoExtension;
706
+ export declare function netopiaHonoPlugin(options?: NetopiaRuntimeOptions): HonoPlugin;
707
+ export declare const netopiaFinanceExtension: HonoExtension;
708
+ export {};
709
+ //# sourceMappingURL=plugin.d.ts.map