@voyantjs/finance 0.52.2 → 0.52.3

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 (51) hide show
  1. package/dist/action-ledger-drift.d.ts +29 -0
  2. package/dist/action-ledger-drift.d.ts.map +1 -0
  3. package/dist/action-ledger-drift.js +163 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +2 -0
  6. package/dist/routes-action-ledger.d.ts +181 -0
  7. package/dist/routes-action-ledger.d.ts.map +1 -0
  8. package/dist/routes-action-ledger.js +142 -0
  9. package/dist/routes-documents.d.ts +8 -8
  10. package/dist/routes-public.d.ts +48 -48
  11. package/dist/routes-settlement.d.ts +1 -1
  12. package/dist/routes-shared.d.ts +12 -0
  13. package/dist/routes-shared.d.ts.map +1 -1
  14. package/dist/routes.d.ts +224 -224
  15. package/dist/routes.d.ts.map +1 -1
  16. package/dist/routes.js +252 -46
  17. package/dist/schema.d.ts +22 -22
  18. package/dist/service-action-ledger-accounting.d.ts +77 -0
  19. package/dist/service-action-ledger-accounting.d.ts.map +1 -0
  20. package/dist/service-action-ledger-accounting.js +307 -0
  21. package/dist/service-action-ledger-booking-payments.d.ts +48 -0
  22. package/dist/service-action-ledger-booking-payments.d.ts.map +1 -0
  23. package/dist/service-action-ledger-booking-payments.js +178 -0
  24. package/dist/service-action-ledger-payment-authorizations.d.ts +48 -0
  25. package/dist/service-action-ledger-payment-authorizations.d.ts.map +1 -0
  26. package/dist/service-action-ledger-payment-authorizations.js +209 -0
  27. package/dist/service-action-ledger-payment-sessions.d.ts +83 -0
  28. package/dist/service-action-ledger-payment-sessions.d.ts.map +1 -0
  29. package/dist/service-action-ledger-payment-sessions.js +294 -0
  30. package/dist/service-action-ledger-supplier-payments.d.ts +21 -0
  31. package/dist/service-action-ledger-supplier-payments.d.ts.map +1 -0
  32. package/dist/service-action-ledger-supplier-payments.js +70 -0
  33. package/dist/service-action-ledger.d.ts +6 -0
  34. package/dist/service-action-ledger.d.ts.map +1 -0
  35. package/dist/service-action-ledger.js +5 -0
  36. package/dist/service-booking-create.d.ts +12 -12
  37. package/dist/service-bookings-dual-create.d.ts +12 -12
  38. package/dist/service-issue.d.ts +15 -12
  39. package/dist/service-issue.d.ts.map +1 -1
  40. package/dist/service-issue.js +24 -3
  41. package/dist/service-public.d.ts +13 -13
  42. package/dist/service-vouchers.d.ts +10 -10
  43. package/dist/service.d.ts +291 -279
  44. package/dist/service.d.ts.map +1 -1
  45. package/dist/service.js +731 -234
  46. package/dist/validation-billing.d.ts +37 -37
  47. package/dist/validation-payments.d.ts +102 -102
  48. package/dist/validation-public.d.ts +45 -45
  49. package/dist/validation-shared.d.ts +32 -32
  50. package/dist/validation-vouchers.d.ts +2 -2
  51. package/package.json +13 -7
@@ -5,16 +5,16 @@ export declare const publicFinanceInvoiceTypeSchema: z.ZodEnum<{
5
5
  credit_note: "credit_note";
6
6
  }>;
7
7
  export declare const publicFinanceDocumentAvailabilitySchema: z.ZodEnum<{
8
- pending: "pending";
9
8
  failed: "failed";
9
+ pending: "pending";
10
10
  ready: "ready";
11
11
  stale: "stale";
12
12
  missing: "missing";
13
13
  }>;
14
14
  export declare const publicFinanceDocumentFormatSchema: z.ZodEnum<{
15
15
  json: "json";
16
- pdf: "pdf";
17
16
  html: "html";
17
+ pdf: "pdf";
18
18
  xml: "xml";
19
19
  }>;
20
20
  export declare const publicPaymentOptionsQuerySchema: z.ZodObject<{
@@ -22,13 +22,13 @@ export declare const publicPaymentOptionsQuerySchema: z.ZodObject<{
22
22
  organizationId: z.ZodOptional<z.ZodString>;
23
23
  provider: z.ZodOptional<z.ZodString>;
24
24
  instrumentType: z.ZodOptional<z.ZodEnum<{
25
- other: "other";
26
- voucher: "voucher";
27
- wallet: "wallet";
28
25
  credit_card: "credit_card";
29
26
  debit_card: "debit_card";
30
27
  cash: "cash";
28
+ wallet: "wallet";
31
29
  direct_bill: "direct_bill";
30
+ voucher: "voucher";
31
+ other: "other";
32
32
  bank_account: "bank_account";
33
33
  }>>;
34
34
  includeInactive: z.ZodDefault<z.ZodCoercedBoolean<unknown>>;
@@ -36,15 +36,15 @@ export declare const publicPaymentOptionsQuerySchema: z.ZodObject<{
36
36
  export declare const publicStartPaymentSessionSchema: z.ZodObject<{
37
37
  provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38
38
  paymentMethod: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
39
- other: "other";
40
- voucher: "voucher";
41
- wallet: "wallet";
42
39
  bank_transfer: "bank_transfer";
43
40
  credit_card: "credit_card";
44
41
  debit_card: "debit_card";
45
42
  cash: "cash";
46
43
  cheque: "cheque";
44
+ wallet: "wallet";
47
45
  direct_bill: "direct_bill";
46
+ voucher: "voucher";
47
+ other: "other";
48
48
  }>>>;
49
49
  paymentInstrumentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50
50
  payerPersonId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -77,20 +77,20 @@ export declare const publicPaymentAccountSchema: z.ZodObject<{
77
77
  label: z.ZodString;
78
78
  provider: z.ZodNullable<z.ZodString>;
79
79
  instrumentType: z.ZodEnum<{
80
- other: "other";
81
- voucher: "voucher";
82
- wallet: "wallet";
83
80
  credit_card: "credit_card";
84
81
  debit_card: "debit_card";
85
82
  cash: "cash";
83
+ wallet: "wallet";
86
84
  direct_bill: "direct_bill";
85
+ voucher: "voucher";
86
+ other: "other";
87
87
  bank_account: "bank_account";
88
88
  }>;
89
89
  status: z.ZodEnum<{
90
- active: "active";
91
90
  expired: "expired";
92
- revoked: "revoked";
91
+ active: "active";
93
92
  inactive: "inactive";
93
+ revoked: "revoked";
94
94
  failed_verification: "failed_verification";
95
95
  }>;
96
96
  brand: z.ZodNullable<z.ZodString>;
@@ -109,9 +109,9 @@ export declare const publicBookingPaymentScheduleSchema: z.ZodObject<{
109
109
  hold: "hold";
110
110
  }>;
111
111
  status: z.ZodEnum<{
112
- pending: "pending";
113
- cancelled: "cancelled";
114
112
  expired: "expired";
113
+ cancelled: "cancelled";
114
+ pending: "pending";
115
115
  paid: "paid";
116
116
  due: "due";
117
117
  waived: "waived";
@@ -140,20 +140,20 @@ export declare const publicBookingPaymentOptionsSchema: z.ZodObject<{
140
140
  label: z.ZodString;
141
141
  provider: z.ZodNullable<z.ZodString>;
142
142
  instrumentType: z.ZodEnum<{
143
- other: "other";
144
- voucher: "voucher";
145
- wallet: "wallet";
146
143
  credit_card: "credit_card";
147
144
  debit_card: "debit_card";
148
145
  cash: "cash";
146
+ wallet: "wallet";
149
147
  direct_bill: "direct_bill";
148
+ voucher: "voucher";
149
+ other: "other";
150
150
  bank_account: "bank_account";
151
151
  }>;
152
152
  status: z.ZodEnum<{
153
- active: "active";
154
153
  expired: "expired";
155
- revoked: "revoked";
154
+ active: "active";
156
155
  inactive: "inactive";
156
+ revoked: "revoked";
157
157
  failed_verification: "failed_verification";
158
158
  }>;
159
159
  brand: z.ZodNullable<z.ZodString>;
@@ -172,9 +172,9 @@ export declare const publicBookingPaymentOptionsSchema: z.ZodObject<{
172
172
  hold: "hold";
173
173
  }>;
174
174
  status: z.ZodEnum<{
175
- pending: "pending";
176
- cancelled: "cancelled";
177
175
  expired: "expired";
176
+ cancelled: "cancelled";
177
+ pending: "pending";
178
178
  paid: "paid";
179
179
  due: "due";
180
180
  waived: "waived";
@@ -221,13 +221,13 @@ export declare const publicPaymentSessionSchema: z.ZodObject<{
221
221
  bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
222
222
  bookingGuaranteeId: z.ZodNullable<z.ZodString>;
223
223
  status: z.ZodEnum<{
224
- pending: "pending";
225
224
  failed: "failed";
226
- cancelled: "cancelled";
227
225
  expired: "expired";
226
+ cancelled: "cancelled";
227
+ pending: "pending";
228
+ processing: "processing";
228
229
  paid: "paid";
229
230
  requires_redirect: "requires_redirect";
230
- processing: "processing";
231
231
  authorized: "authorized";
232
232
  }>;
233
233
  provider: z.ZodNullable<z.ZodString>;
@@ -238,15 +238,15 @@ export declare const publicPaymentSessionSchema: z.ZodObject<{
238
238
  currency: z.ZodString;
239
239
  amountCents: z.ZodNumber;
240
240
  paymentMethod: z.ZodNullable<z.ZodEnum<{
241
- other: "other";
242
- voucher: "voucher";
243
- wallet: "wallet";
244
241
  bank_transfer: "bank_transfer";
245
242
  credit_card: "credit_card";
246
243
  debit_card: "debit_card";
247
244
  cash: "cash";
248
245
  cheque: "cheque";
246
+ wallet: "wallet";
249
247
  direct_bill: "direct_bill";
248
+ voucher: "voucher";
249
+ other: "other";
250
250
  }>>;
251
251
  payerEmail: z.ZodNullable<z.ZodString>;
252
252
  payerName: z.ZodNullable<z.ZodString>;
@@ -268,12 +268,12 @@ export declare const publicFinanceBookingDocumentSchema: z.ZodObject<{
268
268
  credit_note: "credit_note";
269
269
  }>;
270
270
  invoiceStatus: z.ZodEnum<{
271
- void: "void";
272
271
  draft: "draft";
273
272
  sent: "sent";
274
273
  partially_paid: "partially_paid";
275
274
  paid: "paid";
276
275
  overdue: "overdue";
276
+ void: "void";
277
277
  }>;
278
278
  currency: z.ZodString;
279
279
  totalCents: z.ZodNumber;
@@ -283,16 +283,16 @@ export declare const publicFinanceBookingDocumentSchema: z.ZodObject<{
283
283
  dueDate: z.ZodString;
284
284
  renditionId: z.ZodNullable<z.ZodString>;
285
285
  documentStatus: z.ZodEnum<{
286
- pending: "pending";
287
286
  failed: "failed";
287
+ pending: "pending";
288
288
  ready: "ready";
289
289
  stale: "stale";
290
290
  missing: "missing";
291
291
  }>;
292
292
  format: z.ZodNullable<z.ZodEnum<{
293
293
  json: "json";
294
- pdf: "pdf";
295
294
  html: "html";
295
+ pdf: "pdf";
296
296
  xml: "xml";
297
297
  }>>;
298
298
  language: z.ZodNullable<z.ZodString>;
@@ -312,12 +312,12 @@ export declare const publicBookingFinanceDocumentsSchema: z.ZodObject<{
312
312
  credit_note: "credit_note";
313
313
  }>;
314
314
  invoiceStatus: z.ZodEnum<{
315
- void: "void";
316
315
  draft: "draft";
317
316
  sent: "sent";
318
317
  partially_paid: "partially_paid";
319
318
  paid: "paid";
320
319
  overdue: "overdue";
320
+ void: "void";
321
321
  }>;
322
322
  currency: z.ZodString;
323
323
  totalCents: z.ZodNumber;
@@ -327,16 +327,16 @@ export declare const publicBookingFinanceDocumentsSchema: z.ZodObject<{
327
327
  dueDate: z.ZodString;
328
328
  renditionId: z.ZodNullable<z.ZodString>;
329
329
  documentStatus: z.ZodEnum<{
330
- pending: "pending";
331
330
  failed: "failed";
331
+ pending: "pending";
332
332
  ready: "ready";
333
333
  stale: "stale";
334
334
  missing: "missing";
335
335
  }>;
336
336
  format: z.ZodNullable<z.ZodEnum<{
337
337
  json: "json";
338
- pdf: "pdf";
339
338
  html: "html";
339
+ pdf: "pdf";
340
340
  xml: "xml";
341
341
  }>>;
342
342
  language: z.ZodNullable<z.ZodString>;
@@ -355,12 +355,12 @@ export declare const publicFinanceDocumentLookupSchema: z.ZodObject<{
355
355
  credit_note: "credit_note";
356
356
  }>;
357
357
  invoiceStatus: z.ZodEnum<{
358
- void: "void";
359
358
  draft: "draft";
360
359
  sent: "sent";
361
360
  partially_paid: "partially_paid";
362
361
  paid: "paid";
363
362
  overdue: "overdue";
363
+ void: "void";
364
364
  }>;
365
365
  currency: z.ZodString;
366
366
  totalCents: z.ZodNumber;
@@ -370,16 +370,16 @@ export declare const publicFinanceDocumentLookupSchema: z.ZodObject<{
370
370
  dueDate: z.ZodString;
371
371
  renditionId: z.ZodNullable<z.ZodString>;
372
372
  documentStatus: z.ZodEnum<{
373
- pending: "pending";
374
373
  failed: "failed";
374
+ pending: "pending";
375
375
  ready: "ready";
376
376
  stale: "stale";
377
377
  missing: "missing";
378
378
  }>;
379
379
  format: z.ZodNullable<z.ZodEnum<{
380
380
  json: "json";
381
- pdf: "pdf";
382
381
  html: "html";
382
+ pdf: "pdf";
383
383
  xml: "xml";
384
384
  }>>;
385
385
  language: z.ZodNullable<z.ZodString>;
@@ -399,21 +399,21 @@ export declare const publicFinanceBookingPaymentSchema: z.ZodObject<{
399
399
  credit_note: "credit_note";
400
400
  }>;
401
401
  status: z.ZodEnum<{
402
+ failed: "failed";
402
403
  pending: "pending";
403
404
  completed: "completed";
404
- failed: "failed";
405
405
  refunded: "refunded";
406
406
  }>;
407
407
  paymentMethod: z.ZodEnum<{
408
- other: "other";
409
- voucher: "voucher";
410
- wallet: "wallet";
411
408
  bank_transfer: "bank_transfer";
412
409
  credit_card: "credit_card";
413
410
  debit_card: "debit_card";
414
411
  cash: "cash";
415
412
  cheque: "cheque";
413
+ wallet: "wallet";
416
414
  direct_bill: "direct_bill";
415
+ voucher: "voucher";
416
+ other: "other";
417
417
  }>;
418
418
  amountCents: z.ZodNumber;
419
419
  currency: z.ZodString;
@@ -433,21 +433,21 @@ export declare const publicBookingFinancePaymentsSchema: z.ZodObject<{
433
433
  credit_note: "credit_note";
434
434
  }>;
435
435
  status: z.ZodEnum<{
436
+ failed: "failed";
436
437
  pending: "pending";
437
438
  completed: "completed";
438
- failed: "failed";
439
439
  refunded: "refunded";
440
440
  }>;
441
441
  paymentMethod: z.ZodEnum<{
442
- other: "other";
443
- voucher: "voucher";
444
- wallet: "wallet";
445
442
  bank_transfer: "bank_transfer";
446
443
  credit_card: "credit_card";
447
444
  debit_card: "debit_card";
448
445
  cash: "cash";
449
446
  cheque: "cheque";
447
+ wallet: "wallet";
450
448
  direct_bill: "direct_bill";
449
+ voucher: "voucher";
450
+ other: "other";
451
451
  }>;
452
452
  amountCents: z.ZodNumber;
453
453
  currency: z.ZodString;
@@ -1,37 +1,37 @@
1
1
  import { z } from "zod";
2
2
  export declare const invoiceStatusSchema: z.ZodEnum<{
3
- void: "void";
4
3
  draft: "draft";
5
4
  sent: "sent";
6
5
  partially_paid: "partially_paid";
7
6
  paid: "paid";
8
7
  overdue: "overdue";
8
+ void: "void";
9
9
  }>;
10
10
  export declare const paymentMethodSchema: z.ZodEnum<{
11
- other: "other";
12
- voucher: "voucher";
13
- wallet: "wallet";
14
11
  bank_transfer: "bank_transfer";
15
12
  credit_card: "credit_card";
16
13
  debit_card: "debit_card";
17
14
  cash: "cash";
18
15
  cheque: "cheque";
16
+ wallet: "wallet";
19
17
  direct_bill: "direct_bill";
18
+ voucher: "voucher";
19
+ other: "other";
20
20
  }>;
21
21
  export declare const paymentStatusSchema: z.ZodEnum<{
22
+ failed: "failed";
22
23
  pending: "pending";
23
24
  completed: "completed";
24
- failed: "failed";
25
25
  refunded: "refunded";
26
26
  }>;
27
27
  export declare const paymentSessionStatusSchema: z.ZodEnum<{
28
- pending: "pending";
29
28
  failed: "failed";
30
- cancelled: "cancelled";
31
29
  expired: "expired";
30
+ cancelled: "cancelled";
31
+ pending: "pending";
32
+ processing: "processing";
32
33
  paid: "paid";
33
34
  requires_redirect: "requires_redirect";
34
- processing: "processing";
35
35
  authorized: "authorized";
36
36
  }>;
37
37
  export declare const paymentSessionTargetTypeSchema: z.ZodEnum<{
@@ -44,49 +44,49 @@ export declare const paymentSessionTargetTypeSchema: z.ZodEnum<{
44
44
  flight_order: "flight_order";
45
45
  }>;
46
46
  export declare const paymentInstrumentTypeSchema: z.ZodEnum<{
47
- other: "other";
48
- voucher: "voucher";
49
- wallet: "wallet";
50
47
  credit_card: "credit_card";
51
48
  debit_card: "debit_card";
52
49
  cash: "cash";
50
+ wallet: "wallet";
53
51
  direct_bill: "direct_bill";
52
+ voucher: "voucher";
53
+ other: "other";
54
54
  bank_account: "bank_account";
55
55
  }>;
56
56
  export declare const paymentInstrumentOwnerTypeSchema: z.ZodEnum<{
57
- internal: "internal";
58
- supplier: "supplier";
59
57
  other: "other";
60
58
  client: "client";
59
+ supplier: "supplier";
61
60
  channel: "channel";
62
61
  agency: "agency";
62
+ internal: "internal";
63
63
  }>;
64
64
  export declare const paymentInstrumentStatusSchema: z.ZodEnum<{
65
- active: "active";
66
65
  expired: "expired";
67
- revoked: "revoked";
66
+ active: "active";
68
67
  inactive: "inactive";
68
+ revoked: "revoked";
69
69
  failed_verification: "failed_verification";
70
70
  }>;
71
71
  export declare const paymentAuthorizationStatusSchema: z.ZodEnum<{
72
- pending: "pending";
73
72
  failed: "failed";
74
73
  expired: "expired";
74
+ pending: "pending";
75
75
  authorized: "authorized";
76
76
  partially_captured: "partially_captured";
77
77
  captured: "captured";
78
78
  voided: "voided";
79
79
  }>;
80
80
  export declare const paymentCaptureStatusSchema: z.ZodEnum<{
81
+ failed: "failed";
81
82
  pending: "pending";
82
83
  completed: "completed";
83
- failed: "failed";
84
84
  refunded: "refunded";
85
85
  voided: "voided";
86
86
  }>;
87
87
  export declare const captureModeSchema: z.ZodEnum<{
88
- manual: "manual";
89
88
  automatic: "automatic";
89
+ manual: "manual";
90
90
  }>;
91
91
  export declare const creditNoteStatusSchema: z.ZodEnum<{
92
92
  draft: "draft";
@@ -101,29 +101,29 @@ export declare const paymentScheduleTypeSchema: z.ZodEnum<{
101
101
  hold: "hold";
102
102
  }>;
103
103
  export declare const paymentScheduleStatusSchema: z.ZodEnum<{
104
- pending: "pending";
105
- cancelled: "cancelled";
106
104
  expired: "expired";
105
+ cancelled: "cancelled";
106
+ pending: "pending";
107
107
  paid: "paid";
108
108
  due: "due";
109
109
  waived: "waived";
110
110
  }>;
111
111
  export declare const guaranteeTypeSchema: z.ZodEnum<{
112
- other: "other";
113
- voucher: "voucher";
114
112
  bank_transfer: "bank_transfer";
115
113
  credit_card: "credit_card";
114
+ voucher: "voucher";
115
+ other: "other";
116
116
  deposit: "deposit";
117
117
  preauth: "preauth";
118
118
  card_on_file: "card_on_file";
119
119
  agency_letter: "agency_letter";
120
120
  }>;
121
121
  export declare const guaranteeStatusSchema: z.ZodEnum<{
122
- pending: "pending";
123
122
  failed: "failed";
123
+ expired: "expired";
124
124
  cancelled: "cancelled";
125
+ pending: "pending";
125
126
  active: "active";
126
- expired: "expired";
127
127
  released: "released";
128
128
  }>;
129
129
  export declare const taxScopeSchema: z.ZodEnum<{
@@ -132,13 +132,13 @@ export declare const taxScopeSchema: z.ZodEnum<{
132
132
  withheld: "withheld";
133
133
  }>;
134
134
  export declare const commissionRecipientTypeSchema: z.ZodEnum<{
135
- internal: "internal";
136
- supplier: "supplier";
135
+ agent: "agent";
137
136
  other: "other";
138
- affiliate: "affiliate";
137
+ supplier: "supplier";
139
138
  channel: "channel";
140
139
  agency: "agency";
141
- agent: "agent";
140
+ internal: "internal";
141
+ affiliate: "affiliate";
142
142
  }>;
143
143
  export declare const commissionModelSchema: z.ZodEnum<{
144
144
  fixed: "fixed";
@@ -148,8 +148,8 @@ export declare const commissionModelSchema: z.ZodEnum<{
148
148
  }>;
149
149
  export declare const commissionStatusSchema: z.ZodEnum<{
150
150
  pending: "pending";
151
- void: "void";
152
151
  paid: "paid";
152
+ void: "void";
153
153
  accrued: "accrued";
154
154
  payable: "payable";
155
155
  }>;
@@ -158,9 +158,9 @@ export declare const paginationSchema: z.ZodObject<{
158
158
  offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
159
159
  }, z.core.$strip>;
160
160
  export declare const voucherStatusSchema: z.ZodEnum<{
161
+ expired: "expired";
161
162
  void: "void";
162
163
  active: "active";
163
- expired: "expired";
164
164
  redeemed: "redeemed";
165
165
  }>;
166
166
  export declare const voucherSourceTypeSchema: z.ZodEnum<{
@@ -186,13 +186,13 @@ export declare const financeAggregatesQuerySchema: z.ZodObject<{
186
186
  proforma: "proforma";
187
187
  }>>>>>;
188
188
  status: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
189
- void: "void";
190
189
  draft: "draft";
191
190
  sent: "sent";
192
191
  partially_paid: "partially_paid";
193
192
  paid: "paid";
194
193
  overdue: "overdue";
195
- }>, z.ZodLiteral<"issued">]>>, z.ZodTransform<("void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue")[], ("void" | "draft" | "issued" | "sent" | "partially_paid" | "paid" | "overdue")[]>>>>>;
194
+ void: "void";
195
+ }>, z.ZodLiteral<"issued">]>>, z.ZodTransform<("draft" | "sent" | "partially_paid" | "paid" | "overdue" | "void")[], ("draft" | "sent" | "partially_paid" | "paid" | "overdue" | "void" | "issued")[]>>>>>;
196
196
  outstandingTopLimit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
197
197
  }, z.core.$strip>;
198
198
  //# sourceMappingURL=validation-shared.d.ts.map
@@ -26,9 +26,9 @@ export declare const insertVoucherSchema: z.ZodObject<{
26
26
  */
27
27
  export declare const updateVoucherSchema: z.ZodObject<{
28
28
  status: z.ZodOptional<z.ZodEnum<{
29
+ expired: "expired";
29
30
  void: "void";
30
31
  active: "active";
31
- expired: "expired";
32
32
  redeemed: "redeemed";
33
33
  }>>;
34
34
  seriesCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -46,9 +46,9 @@ export declare const redeemVoucherSchema: z.ZodObject<{
46
46
  }, z.core.$strip>;
47
47
  export declare const voucherListQuerySchema: z.ZodObject<{
48
48
  status: z.ZodOptional<z.ZodEnum<{
49
+ expired: "expired";
49
50
  void: "void";
50
51
  active: "active";
51
- expired: "expired";
52
52
  redeemed: "redeemed";
53
53
  }>>;
54
54
  seriesCode: z.ZodOptional<z.ZodString>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/finance",
3
- "version": "0.52.2",
3
+ "version": "0.52.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -9,6 +9,11 @@
9
9
  "import": "./dist/index.js",
10
10
  "default": "./dist/index.js"
11
11
  },
12
+ "./action-ledger-drift": {
13
+ "types": "./dist/action-ledger-drift.d.ts",
14
+ "import": "./dist/action-ledger-drift.js",
15
+ "default": "./dist/action-ledger-drift.js"
16
+ },
12
17
  "./schema": {
13
18
  "types": "./dist/schema.d.ts",
14
19
  "import": "./dist/schema.js",
@@ -39,12 +44,13 @@
39
44
  "drizzle-orm": "^0.45.2",
40
45
  "hono": "^4.12.10",
41
46
  "zod": "^4.3.6",
42
- "@voyantjs/bookings": "0.52.2",
43
- "@voyantjs/core": "0.52.2",
44
- "@voyantjs/db": "0.52.2",
45
- "@voyantjs/hono": "0.52.2",
46
- "@voyantjs/utils": "0.52.2",
47
- "@voyantjs/storage": "0.52.2"
47
+ "@voyantjs/action-ledger": "0.52.3",
48
+ "@voyantjs/bookings": "0.52.3",
49
+ "@voyantjs/core": "0.52.3",
50
+ "@voyantjs/db": "0.52.3",
51
+ "@voyantjs/hono": "0.52.3",
52
+ "@voyantjs/utils": "0.52.3",
53
+ "@voyantjs/storage": "0.52.3"
48
54
  },
49
55
  "devDependencies": {
50
56
  "typescript": "^6.0.2",