@voyantjs/finance 0.4.5 → 0.6.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.
@@ -1,4 +1,559 @@
1
1
  import { type Env } from "./routes-shared.js";
2
+ export interface PublicFinanceRouteOptions {
3
+ resolveDocumentDownloadUrl?: (bindings: unknown, storageKey: string) => Promise<string | null> | string | null;
4
+ }
5
+ export declare function createPublicFinanceRoutes(options?: PublicFinanceRouteOptions): import("hono/hono-base").HonoBase<Env, {
6
+ "/vouchers/validate": {
7
+ $post: {
8
+ input: {};
9
+ output: {
10
+ data: {
11
+ valid: false;
12
+ reason: "not_found";
13
+ voucher: null;
14
+ } | {
15
+ valid: false;
16
+ reason: "inactive";
17
+ voucher: {
18
+ id: string;
19
+ code: string;
20
+ label: string;
21
+ provider: string | null;
22
+ currency: string | null;
23
+ amountCents: number | null;
24
+ remainingAmountCents: number | null;
25
+ expiresAt: string | null;
26
+ };
27
+ } | {
28
+ valid: false;
29
+ reason: "not_started";
30
+ voucher: {
31
+ id: string;
32
+ code: string;
33
+ label: string;
34
+ provider: string | null;
35
+ currency: string | null;
36
+ amountCents: number | null;
37
+ remainingAmountCents: number | null;
38
+ expiresAt: string | null;
39
+ };
40
+ } | {
41
+ valid: false;
42
+ reason: "expired";
43
+ voucher: {
44
+ id: string;
45
+ code: string;
46
+ label: string;
47
+ provider: string | null;
48
+ currency: string | null;
49
+ amountCents: number | null;
50
+ remainingAmountCents: number | null;
51
+ expiresAt: string | null;
52
+ };
53
+ } | {
54
+ valid: false;
55
+ reason: "booking_mismatch";
56
+ voucher: {
57
+ id: string;
58
+ code: string;
59
+ label: string;
60
+ provider: string | null;
61
+ currency: string | null;
62
+ amountCents: number | null;
63
+ remainingAmountCents: number | null;
64
+ expiresAt: string | null;
65
+ };
66
+ } | {
67
+ valid: false;
68
+ reason: "currency_mismatch";
69
+ voucher: {
70
+ id: string;
71
+ code: string;
72
+ label: string;
73
+ provider: string | null;
74
+ currency: string | null;
75
+ amountCents: number | null;
76
+ remainingAmountCents: number | null;
77
+ expiresAt: string | null;
78
+ };
79
+ } | {
80
+ valid: false;
81
+ reason: "insufficient_balance";
82
+ voucher: {
83
+ id: string;
84
+ code: string;
85
+ label: string;
86
+ provider: string | null;
87
+ currency: string | null;
88
+ amountCents: number | null;
89
+ remainingAmountCents: number | null;
90
+ expiresAt: string | null;
91
+ };
92
+ } | {
93
+ valid: true;
94
+ reason: null;
95
+ voucher: {
96
+ id: string;
97
+ code: string;
98
+ label: string;
99
+ provider: string | null;
100
+ currency: string | null;
101
+ amountCents: number | null;
102
+ remainingAmountCents: number | null;
103
+ expiresAt: string | null;
104
+ };
105
+ };
106
+ };
107
+ outputFormat: "json";
108
+ status: import("hono/utils/http-status").ContentfulStatusCode;
109
+ };
110
+ };
111
+ } & {
112
+ "/documents/by-reference": {
113
+ $get: {
114
+ input: {};
115
+ output: {
116
+ data: {
117
+ invoiceId: string;
118
+ invoiceNumber: string;
119
+ invoiceType: "invoice" | "proforma" | "credit_note";
120
+ invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
121
+ currency: string;
122
+ totalCents: number;
123
+ paidCents: number;
124
+ balanceDueCents: number;
125
+ issueDate: string;
126
+ dueDate: string;
127
+ renditionId: string | null;
128
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
129
+ format: "json" | "pdf" | "html" | "xml" | null;
130
+ language: string | null;
131
+ generatedAt: string | null;
132
+ fileSize: number | null;
133
+ checksum: string | null;
134
+ downloadUrl: string | null;
135
+ bookingId: string;
136
+ };
137
+ };
138
+ outputFormat: "json";
139
+ status: import("hono/utils/http-status").ContentfulStatusCode;
140
+ } | {
141
+ input: {};
142
+ output: {
143
+ error: string;
144
+ };
145
+ outputFormat: "json";
146
+ status: 404;
147
+ };
148
+ };
149
+ } & {
150
+ "/bookings/:bookingId/documents": {
151
+ $get: {
152
+ input: {
153
+ param: {
154
+ bookingId: string;
155
+ };
156
+ };
157
+ output: {
158
+ error: string;
159
+ };
160
+ outputFormat: "json";
161
+ status: 404;
162
+ } | {
163
+ input: {
164
+ param: {
165
+ bookingId: string;
166
+ };
167
+ };
168
+ output: {
169
+ data: {
170
+ bookingId: string;
171
+ documents: {
172
+ invoiceId: string;
173
+ invoiceNumber: string;
174
+ invoiceType: "invoice" | "proforma" | "credit_note";
175
+ invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
176
+ currency: string;
177
+ totalCents: number;
178
+ paidCents: number;
179
+ balanceDueCents: number;
180
+ issueDate: string;
181
+ dueDate: string;
182
+ renditionId: string | null;
183
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
184
+ format: "json" | "pdf" | "html" | "xml" | null;
185
+ language: string | null;
186
+ generatedAt: string | null;
187
+ fileSize: number | null;
188
+ checksum: string | null;
189
+ downloadUrl: string | null;
190
+ }[];
191
+ };
192
+ };
193
+ outputFormat: "json";
194
+ status: import("hono/utils/http-status").ContentfulStatusCode;
195
+ };
196
+ };
197
+ } & {
198
+ "/bookings/:bookingId/payments": {
199
+ $get: {
200
+ input: {
201
+ param: {
202
+ bookingId: string;
203
+ };
204
+ };
205
+ output: {
206
+ error: string;
207
+ };
208
+ outputFormat: "json";
209
+ status: 404;
210
+ } | {
211
+ input: {
212
+ param: {
213
+ bookingId: string;
214
+ };
215
+ };
216
+ output: {
217
+ data: {
218
+ bookingId: string;
219
+ payments: {
220
+ id: string;
221
+ invoiceId: string;
222
+ invoiceNumber: string;
223
+ invoiceType: "invoice" | "proforma" | "credit_note";
224
+ status: "pending" | "completed" | "failed" | "refunded";
225
+ paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
226
+ amountCents: number;
227
+ currency: string;
228
+ paymentDate: string;
229
+ referenceNumber: string | null;
230
+ notes: string | null;
231
+ }[];
232
+ };
233
+ };
234
+ outputFormat: "json";
235
+ status: import("hono/utils/http-status").ContentfulStatusCode;
236
+ };
237
+ };
238
+ } & {
239
+ "/bookings/:bookingId/payment-options": {
240
+ $get: {
241
+ input: {
242
+ param: {
243
+ bookingId: string;
244
+ };
245
+ };
246
+ output: {
247
+ error: string;
248
+ };
249
+ outputFormat: "json";
250
+ status: 404;
251
+ } | {
252
+ input: {
253
+ param: {
254
+ bookingId: string;
255
+ };
256
+ };
257
+ output: {
258
+ data: {
259
+ bookingId: string;
260
+ accounts: {
261
+ id: string;
262
+ label: string;
263
+ provider: string | null;
264
+ instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
265
+ status: "expired" | "revoked" | "active" | "inactive" | "failed_verification";
266
+ brand: string | null;
267
+ last4: string | null;
268
+ expiryMonth: number | null;
269
+ expiryYear: number | null;
270
+ isDefault: boolean;
271
+ }[];
272
+ schedules: {
273
+ id: string;
274
+ scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
275
+ status: "pending" | "expired" | "cancelled" | "paid" | "due" | "waived";
276
+ dueDate: string;
277
+ currency: string;
278
+ amountCents: number;
279
+ notes: string | null;
280
+ }[];
281
+ guarantees: {
282
+ id: string;
283
+ bookingPaymentScheduleId: string | null;
284
+ guaranteeType: "other" | "voucher" | "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "agency_letter";
285
+ status: "pending" | "expired" | "cancelled" | "released" | "failed" | "active";
286
+ currency: string | null;
287
+ amountCents: number | null;
288
+ provider: string | null;
289
+ referenceNumber: string | null;
290
+ expiresAt: string | null;
291
+ notes: string | null;
292
+ }[];
293
+ recommendedTarget: {
294
+ targetType: "booking_payment_schedule" | "booking_guarantee";
295
+ targetId: string | null;
296
+ } | null;
297
+ };
298
+ };
299
+ outputFormat: "json";
300
+ status: import("hono/utils/http-status").ContentfulStatusCode;
301
+ };
302
+ };
303
+ } & {
304
+ "/payment-sessions/:sessionId": {
305
+ $get: {
306
+ input: {
307
+ param: {
308
+ sessionId: string;
309
+ };
310
+ };
311
+ output: {
312
+ error: string;
313
+ };
314
+ outputFormat: "json";
315
+ status: 404;
316
+ } | {
317
+ input: {
318
+ param: {
319
+ sessionId: string;
320
+ };
321
+ };
322
+ output: {
323
+ data: {
324
+ id: string;
325
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
326
+ targetId: string | null;
327
+ bookingId: string | null;
328
+ invoiceId: string | null;
329
+ bookingPaymentScheduleId: string | null;
330
+ bookingGuaranteeId: string | null;
331
+ status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
332
+ provider: string | null;
333
+ providerSessionId: string | null;
334
+ providerPaymentId: string | null;
335
+ externalReference: string | null;
336
+ clientReference: string | null;
337
+ currency: string;
338
+ amountCents: number;
339
+ paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
340
+ payerEmail: string | null;
341
+ payerName: string | null;
342
+ redirectUrl: string | null;
343
+ returnUrl: string | null;
344
+ cancelUrl: string | null;
345
+ expiresAt: string | null;
346
+ completedAt: string | null;
347
+ failureCode: string | null;
348
+ failureMessage: string | null;
349
+ };
350
+ };
351
+ outputFormat: "json";
352
+ status: import("hono/utils/http-status").ContentfulStatusCode;
353
+ };
354
+ };
355
+ } & {
356
+ "/bookings/:bookingId/payment-schedules/:scheduleId/payment-session": {
357
+ $post: {
358
+ input: {
359
+ param: {
360
+ bookingId: string;
361
+ } & {
362
+ scheduleId: string;
363
+ };
364
+ };
365
+ output: {
366
+ error: string;
367
+ };
368
+ outputFormat: "json";
369
+ status: 404;
370
+ } | {
371
+ input: {
372
+ param: {
373
+ bookingId: string;
374
+ } & {
375
+ scheduleId: string;
376
+ };
377
+ };
378
+ output: {
379
+ data: {
380
+ id: string;
381
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
382
+ targetId: string | null;
383
+ bookingId: string | null;
384
+ invoiceId: string | null;
385
+ bookingPaymentScheduleId: string | null;
386
+ bookingGuaranteeId: string | null;
387
+ status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
388
+ provider: string | null;
389
+ providerSessionId: string | null;
390
+ providerPaymentId: string | null;
391
+ externalReference: string | null;
392
+ clientReference: string | null;
393
+ currency: string;
394
+ amountCents: number;
395
+ paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
396
+ payerEmail: string | null;
397
+ payerName: string | null;
398
+ redirectUrl: string | null;
399
+ returnUrl: string | null;
400
+ cancelUrl: string | null;
401
+ expiresAt: string | null;
402
+ completedAt: string | null;
403
+ failureCode: string | null;
404
+ failureMessage: string | null;
405
+ };
406
+ };
407
+ outputFormat: "json";
408
+ status: 201;
409
+ } | {
410
+ input: {
411
+ param: {
412
+ bookingId: string;
413
+ } & {
414
+ scheduleId: string;
415
+ };
416
+ };
417
+ output: {
418
+ error: string;
419
+ };
420
+ outputFormat: "json";
421
+ status: 409;
422
+ };
423
+ };
424
+ } & {
425
+ "/bookings/:bookingId/guarantees/:guaranteeId/payment-session": {
426
+ $post: {
427
+ input: {
428
+ param: {
429
+ bookingId: string;
430
+ } & {
431
+ guaranteeId: string;
432
+ };
433
+ };
434
+ output: {
435
+ error: string;
436
+ };
437
+ outputFormat: "json";
438
+ status: 404;
439
+ } | {
440
+ input: {
441
+ param: {
442
+ bookingId: string;
443
+ } & {
444
+ guaranteeId: string;
445
+ };
446
+ };
447
+ output: {
448
+ data: {
449
+ id: string;
450
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
451
+ targetId: string | null;
452
+ bookingId: string | null;
453
+ invoiceId: string | null;
454
+ bookingPaymentScheduleId: string | null;
455
+ bookingGuaranteeId: string | null;
456
+ status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
457
+ provider: string | null;
458
+ providerSessionId: string | null;
459
+ providerPaymentId: string | null;
460
+ externalReference: string | null;
461
+ clientReference: string | null;
462
+ currency: string;
463
+ amountCents: number;
464
+ paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
465
+ payerEmail: string | null;
466
+ payerName: string | null;
467
+ redirectUrl: string | null;
468
+ returnUrl: string | null;
469
+ cancelUrl: string | null;
470
+ expiresAt: string | null;
471
+ completedAt: string | null;
472
+ failureCode: string | null;
473
+ failureMessage: string | null;
474
+ };
475
+ };
476
+ outputFormat: "json";
477
+ status: 201;
478
+ } | {
479
+ input: {
480
+ param: {
481
+ bookingId: string;
482
+ } & {
483
+ guaranteeId: string;
484
+ };
485
+ };
486
+ output: {
487
+ error: string;
488
+ };
489
+ outputFormat: "json";
490
+ status: 409;
491
+ };
492
+ };
493
+ } & {
494
+ "/invoices/:invoiceId/payment-session": {
495
+ $post: {
496
+ input: {
497
+ param: {
498
+ invoiceId: string;
499
+ };
500
+ };
501
+ output: {
502
+ error: string;
503
+ };
504
+ outputFormat: "json";
505
+ status: 404;
506
+ } | {
507
+ input: {
508
+ param: {
509
+ invoiceId: string;
510
+ };
511
+ };
512
+ output: {
513
+ data: {
514
+ id: string;
515
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
516
+ targetId: string | null;
517
+ bookingId: string | null;
518
+ invoiceId: string | null;
519
+ bookingPaymentScheduleId: string | null;
520
+ bookingGuaranteeId: string | null;
521
+ status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
522
+ provider: string | null;
523
+ providerSessionId: string | null;
524
+ providerPaymentId: string | null;
525
+ externalReference: string | null;
526
+ clientReference: string | null;
527
+ currency: string;
528
+ amountCents: number;
529
+ paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
530
+ payerEmail: string | null;
531
+ payerName: string | null;
532
+ redirectUrl: string | null;
533
+ returnUrl: string | null;
534
+ cancelUrl: string | null;
535
+ expiresAt: string | null;
536
+ completedAt: string | null;
537
+ failureCode: string | null;
538
+ failureMessage: string | null;
539
+ };
540
+ };
541
+ outputFormat: "json";
542
+ status: 201;
543
+ } | {
544
+ input: {
545
+ param: {
546
+ invoiceId: string;
547
+ };
548
+ };
549
+ output: {
550
+ error: string;
551
+ };
552
+ outputFormat: "json";
553
+ status: 409;
554
+ };
555
+ };
556
+ }, "/", "/invoices/:invoiceId/payment-session">;
2
557
  export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env, {
3
558
  "/vouchers/validate": {
4
559
  $post: {
@@ -114,7 +669,7 @@ export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env,
114
669
  invoiceId: string;
115
670
  invoiceNumber: string;
116
671
  invoiceType: "invoice" | "proforma" | "credit_note";
117
- invoiceStatus: "draft" | "sent" | "partially_paid" | "paid" | "overdue" | "void";
672
+ invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
118
673
  currency: string;
119
674
  totalCents: number;
120
675
  paidCents: number;
@@ -169,7 +724,7 @@ export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env,
169
724
  invoiceId: string;
170
725
  invoiceNumber: string;
171
726
  invoiceType: "invoice" | "proforma" | "credit_note";
172
- invoiceStatus: "draft" | "sent" | "partially_paid" | "paid" | "overdue" | "void";
727
+ invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
173
728
  currency: string;
174
729
  totalCents: number;
175
730
  paidCents: number;
@@ -218,7 +773,7 @@ export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env,
218
773
  invoiceId: string;
219
774
  invoiceNumber: string;
220
775
  invoiceType: "invoice" | "proforma" | "credit_note";
221
- status: "completed" | "pending" | "failed" | "refunded";
776
+ status: "pending" | "completed" | "failed" | "refunded";
222
777
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
223
778
  amountCents: number;
224
779
  currency: string;
@@ -269,7 +824,7 @@ export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env,
269
824
  schedules: {
270
825
  id: string;
271
826
  scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
272
- status: "expired" | "cancelled" | "pending" | "paid" | "due" | "waived";
827
+ status: "pending" | "expired" | "cancelled" | "paid" | "due" | "waived";
273
828
  dueDate: string;
274
829
  currency: string;
275
830
  amountCents: number;
@@ -279,7 +834,7 @@ export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env,
279
834
  id: string;
280
835
  bookingPaymentScheduleId: string | null;
281
836
  guaranteeType: "other" | "voucher" | "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "agency_letter";
282
- status: "expired" | "cancelled" | "pending" | "released" | "failed" | "active";
837
+ status: "pending" | "expired" | "cancelled" | "released" | "failed" | "active";
283
838
  currency: string | null;
284
839
  amountCents: number | null;
285
840
  provider: string | null;
@@ -325,7 +880,7 @@ export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env,
325
880
  invoiceId: string | null;
326
881
  bookingPaymentScheduleId: string | null;
327
882
  bookingGuaranteeId: string | null;
328
- status: "expired" | "cancelled" | "pending" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
883
+ status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
329
884
  provider: string | null;
330
885
  providerSessionId: string | null;
331
886
  providerPaymentId: string | null;
@@ -381,7 +936,7 @@ export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env,
381
936
  invoiceId: string | null;
382
937
  bookingPaymentScheduleId: string | null;
383
938
  bookingGuaranteeId: string | null;
384
- status: "expired" | "cancelled" | "pending" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
939
+ status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
385
940
  provider: string | null;
386
941
  providerSessionId: string | null;
387
942
  providerPaymentId: string | null;
@@ -450,7 +1005,7 @@ export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env,
450
1005
  invoiceId: string | null;
451
1006
  bookingPaymentScheduleId: string | null;
452
1007
  bookingGuaranteeId: string | null;
453
- status: "expired" | "cancelled" | "pending" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
1008
+ status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
454
1009
  provider: string | null;
455
1010
  providerSessionId: string | null;
456
1011
  providerPaymentId: string | null;
@@ -515,7 +1070,7 @@ export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env,
515
1070
  invoiceId: string | null;
516
1071
  bookingPaymentScheduleId: string | null;
517
1072
  bookingGuaranteeId: string | null;
518
- status: "expired" | "cancelled" | "pending" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
1073
+ status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
519
1074
  provider: string | null;
520
1075
  providerSessionId: string | null;
521
1076
  providerPaymentId: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"routes-public.d.ts","sourceRoot":"","sources":["../src/routes-public.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,GAAG,EAAY,MAAM,oBAAoB,CAAA;AAiBvD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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