@voyantjs/finance-react 0.75.6 → 0.76.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.
- package/dist/hooks/use-invoice-bulk-status-mutation.d.ts +2 -2
- package/dist/hooks/use-invoice-mutation.d.ts +4 -4
- package/dist/hooks/use-invoice.d.ts +1 -1
- package/dist/hooks/use-invoices.d.ts +1 -1
- package/dist/hooks/use-public-booking-documents.d.ts +1 -1
- package/dist/hooks/use-public-finance-document-by-reference.d.ts +1 -1
- package/dist/operations.d.ts +2 -2
- package/dist/query-options.d.ts +16 -16
- package/dist/schemas.d.ts +6 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +1 -0
- package/package.json +5 -5
|
@@ -17,7 +17,7 @@ export interface InvoiceBulkStatusResult {
|
|
|
17
17
|
failed: InvoiceBulkStatusFailure[];
|
|
18
18
|
}
|
|
19
19
|
export declare function useInvoiceBulkStatusMutation(): import("@tanstack/react-query").UseMutationResult<{
|
|
20
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
20
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
21
21
|
total: number;
|
|
22
22
|
updated: {
|
|
23
23
|
[x: string]: unknown;
|
|
@@ -26,7 +26,7 @@ export declare function useInvoiceBulkStatusMutation(): import("@tanstack/react-
|
|
|
26
26
|
bookingId: string;
|
|
27
27
|
personId: string | null;
|
|
28
28
|
organizationId: string | null;
|
|
29
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
29
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
30
30
|
currency: string;
|
|
31
31
|
subtotalCents: number;
|
|
32
32
|
taxCents: number;
|
|
@@ -24,7 +24,7 @@ export declare function useInvoiceMutation(): {
|
|
|
24
24
|
bookingId: string;
|
|
25
25
|
personId: string | null;
|
|
26
26
|
organizationId: string | null;
|
|
27
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
27
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
28
28
|
currency: string;
|
|
29
29
|
subtotalCents: number;
|
|
30
30
|
taxCents: number;
|
|
@@ -45,7 +45,7 @@ export declare function useInvoiceMutation(): {
|
|
|
45
45
|
bookingId: string;
|
|
46
46
|
personId: string | null;
|
|
47
47
|
organizationId: string | null;
|
|
48
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
48
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
49
49
|
currency: string;
|
|
50
50
|
subtotalCents: number;
|
|
51
51
|
taxCents: number;
|
|
@@ -66,7 +66,7 @@ export declare function useInvoiceMutation(): {
|
|
|
66
66
|
bookingId: string;
|
|
67
67
|
personId: string | null;
|
|
68
68
|
organizationId: string | null;
|
|
69
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
69
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
70
70
|
currency: string;
|
|
71
71
|
subtotalCents: number;
|
|
72
72
|
taxCents: number;
|
|
@@ -97,7 +97,7 @@ export declare function useInvoiceMutation(): {
|
|
|
97
97
|
bookingId: string;
|
|
98
98
|
personId: string | null;
|
|
99
99
|
organizationId: string | null;
|
|
100
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
100
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
101
101
|
currency: string;
|
|
102
102
|
subtotalCents: number;
|
|
103
103
|
taxCents: number;
|
|
@@ -9,7 +9,7 @@ export declare function useInvoice(id: string | null | undefined, options?: UseI
|
|
|
9
9
|
bookingId: string;
|
|
10
10
|
personId: string | null;
|
|
11
11
|
organizationId: string | null;
|
|
12
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
12
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
13
13
|
currency: string;
|
|
14
14
|
subtotalCents: number;
|
|
15
15
|
taxCents: number;
|
|
@@ -10,7 +10,7 @@ export declare function useInvoices(options?: UseInvoicesOptions): import("@tans
|
|
|
10
10
|
bookingId: string;
|
|
11
11
|
personId: string | null;
|
|
12
12
|
organizationId: string | null;
|
|
13
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
13
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
14
14
|
currency: string;
|
|
15
15
|
subtotalCents: number;
|
|
16
16
|
taxCents: number;
|
|
@@ -8,7 +8,7 @@ export declare function usePublicBookingDocuments(bookingId: string | null | und
|
|
|
8
8
|
invoiceId: string;
|
|
9
9
|
invoiceNumber: string;
|
|
10
10
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
11
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
11
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
12
12
|
currency: string;
|
|
13
13
|
totalCents: number;
|
|
14
14
|
paidCents: number;
|
|
@@ -6,7 +6,7 @@ export declare function usePublicFinanceDocumentByReference(reference: string |
|
|
|
6
6
|
invoiceId: string;
|
|
7
7
|
invoiceNumber: string;
|
|
8
8
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
9
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
9
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
10
10
|
currency: string;
|
|
11
11
|
totalCents: number;
|
|
12
12
|
paidCents: number;
|
package/dist/operations.d.ts
CHANGED
|
@@ -107,7 +107,7 @@ export declare function getPublicFinanceDocumentByReference(client: FetchWithVal
|
|
|
107
107
|
invoiceId: string;
|
|
108
108
|
invoiceNumber: string;
|
|
109
109
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
110
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
110
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
111
111
|
currency: string;
|
|
112
112
|
totalCents: number;
|
|
113
113
|
paidCents: number;
|
|
@@ -132,7 +132,7 @@ export declare function getPublicBookingDocuments(client: FetchWithValidationOpt
|
|
|
132
132
|
invoiceId: string;
|
|
133
133
|
invoiceNumber: string;
|
|
134
134
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
135
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
135
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
136
136
|
currency: string;
|
|
137
137
|
totalCents: number;
|
|
138
138
|
paidCents: number;
|
package/dist/query-options.d.ts
CHANGED
|
@@ -211,7 +211,7 @@ export declare function getInvoicesQueryOptions(client: FetchWithValidationOptio
|
|
|
211
211
|
bookingId: string;
|
|
212
212
|
personId: string | null;
|
|
213
213
|
organizationId: string | null;
|
|
214
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
214
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
215
215
|
currency: string;
|
|
216
216
|
subtotalCents: number;
|
|
217
217
|
taxCents: number;
|
|
@@ -236,7 +236,7 @@ export declare function getInvoicesQueryOptions(client: FetchWithValidationOptio
|
|
|
236
236
|
bookingId: string;
|
|
237
237
|
personId: string | null;
|
|
238
238
|
organizationId: string | null;
|
|
239
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
239
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
240
240
|
currency: string;
|
|
241
241
|
subtotalCents: number;
|
|
242
242
|
taxCents: number;
|
|
@@ -262,7 +262,7 @@ export declare function getInvoicesQueryOptions(client: FetchWithValidationOptio
|
|
|
262
262
|
bookingId: string;
|
|
263
263
|
personId: string | null;
|
|
264
264
|
organizationId: string | null;
|
|
265
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
265
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
266
266
|
currency: string;
|
|
267
267
|
subtotalCents: number;
|
|
268
268
|
taxCents: number;
|
|
@@ -290,7 +290,7 @@ export declare function getInvoicesQueryOptions(client: FetchWithValidationOptio
|
|
|
290
290
|
bookingId: string;
|
|
291
291
|
personId: string | null;
|
|
292
292
|
organizationId: string | null;
|
|
293
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
293
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
294
294
|
currency: string;
|
|
295
295
|
subtotalCents: number;
|
|
296
296
|
taxCents: number;
|
|
@@ -643,7 +643,7 @@ export declare function getInvoiceQueryOptions(client: FetchWithValidationOption
|
|
|
643
643
|
bookingId: string;
|
|
644
644
|
personId: string | null;
|
|
645
645
|
organizationId: string | null;
|
|
646
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
646
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
647
647
|
currency: string;
|
|
648
648
|
subtotalCents: number;
|
|
649
649
|
taxCents: number;
|
|
@@ -665,7 +665,7 @@ export declare function getInvoiceQueryOptions(client: FetchWithValidationOption
|
|
|
665
665
|
bookingId: string;
|
|
666
666
|
personId: string | null;
|
|
667
667
|
organizationId: string | null;
|
|
668
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
668
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
669
669
|
currency: string;
|
|
670
670
|
subtotalCents: number;
|
|
671
671
|
taxCents: number;
|
|
@@ -688,7 +688,7 @@ export declare function getInvoiceQueryOptions(client: FetchWithValidationOption
|
|
|
688
688
|
bookingId: string;
|
|
689
689
|
personId: string | null;
|
|
690
690
|
organizationId: string | null;
|
|
691
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
691
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
692
692
|
currency: string;
|
|
693
693
|
subtotalCents: number;
|
|
694
694
|
taxCents: number;
|
|
@@ -713,7 +713,7 @@ export declare function getInvoiceQueryOptions(client: FetchWithValidationOption
|
|
|
713
713
|
bookingId: string;
|
|
714
714
|
personId: string | null;
|
|
715
715
|
organizationId: string | null;
|
|
716
|
-
status: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
716
|
+
status: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
717
717
|
currency: string;
|
|
718
718
|
subtotalCents: number;
|
|
719
719
|
taxCents: number;
|
|
@@ -1194,7 +1194,7 @@ export declare function getPublicBookingDocumentsQueryOptions(client: FetchWithV
|
|
|
1194
1194
|
invoiceId: string;
|
|
1195
1195
|
invoiceNumber: string;
|
|
1196
1196
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1197
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1197
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1198
1198
|
currency: string;
|
|
1199
1199
|
totalCents: number;
|
|
1200
1200
|
paidCents: number;
|
|
@@ -1218,7 +1218,7 @@ export declare function getPublicBookingDocumentsQueryOptions(client: FetchWithV
|
|
|
1218
1218
|
invoiceId: string;
|
|
1219
1219
|
invoiceNumber: string;
|
|
1220
1220
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1221
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1221
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1222
1222
|
currency: string;
|
|
1223
1223
|
totalCents: number;
|
|
1224
1224
|
paidCents: number;
|
|
@@ -1243,7 +1243,7 @@ export declare function getPublicBookingDocumentsQueryOptions(client: FetchWithV
|
|
|
1243
1243
|
invoiceId: string;
|
|
1244
1244
|
invoiceNumber: string;
|
|
1245
1245
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1246
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1246
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1247
1247
|
currency: string;
|
|
1248
1248
|
totalCents: number;
|
|
1249
1249
|
paidCents: number;
|
|
@@ -1270,7 +1270,7 @@ export declare function getPublicBookingDocumentsQueryOptions(client: FetchWithV
|
|
|
1270
1270
|
invoiceId: string;
|
|
1271
1271
|
invoiceNumber: string;
|
|
1272
1272
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1273
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1273
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1274
1274
|
currency: string;
|
|
1275
1275
|
totalCents: number;
|
|
1276
1276
|
paidCents: number;
|
|
@@ -1296,7 +1296,7 @@ export declare function getPublicFinanceDocumentByReferenceQueryOptions(client:
|
|
|
1296
1296
|
invoiceId: string;
|
|
1297
1297
|
invoiceNumber: string;
|
|
1298
1298
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1299
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1299
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1300
1300
|
currency: string;
|
|
1301
1301
|
totalCents: number;
|
|
1302
1302
|
paidCents: number;
|
|
@@ -1318,7 +1318,7 @@ export declare function getPublicFinanceDocumentByReferenceQueryOptions(client:
|
|
|
1318
1318
|
invoiceId: string;
|
|
1319
1319
|
invoiceNumber: string;
|
|
1320
1320
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1321
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1321
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1322
1322
|
currency: string;
|
|
1323
1323
|
totalCents: number;
|
|
1324
1324
|
paidCents: number;
|
|
@@ -1341,7 +1341,7 @@ export declare function getPublicFinanceDocumentByReferenceQueryOptions(client:
|
|
|
1341
1341
|
invoiceId: string;
|
|
1342
1342
|
invoiceNumber: string;
|
|
1343
1343
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1344
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1344
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1345
1345
|
currency: string;
|
|
1346
1346
|
totalCents: number;
|
|
1347
1347
|
paidCents: number;
|
|
@@ -1366,7 +1366,7 @@ export declare function getPublicFinanceDocumentByReferenceQueryOptions(client:
|
|
|
1366
1366
|
invoiceId: string;
|
|
1367
1367
|
invoiceNumber: string;
|
|
1368
1368
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1369
|
-
invoiceStatus: "void" | "draft" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1369
|
+
invoiceStatus: "void" | "draft" | "pending_external_allocation" | "sent" | "partially_paid" | "paid" | "overdue";
|
|
1370
1370
|
currency: string;
|
|
1371
1371
|
totalCents: number;
|
|
1372
1372
|
paidCents: number;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare const successEnvelope: z.ZodObject<{
|
|
|
18
18
|
export declare const invoiceStatusSchema: z.ZodEnum<{
|
|
19
19
|
void: "void";
|
|
20
20
|
draft: "draft";
|
|
21
|
+
pending_external_allocation: "pending_external_allocation";
|
|
21
22
|
sent: "sent";
|
|
22
23
|
partially_paid: "partially_paid";
|
|
23
24
|
paid: "paid";
|
|
@@ -66,6 +67,7 @@ export declare const invoiceRecordSchema: z.ZodObject<{
|
|
|
66
67
|
status: z.ZodEnum<{
|
|
67
68
|
void: "void";
|
|
68
69
|
draft: "draft";
|
|
70
|
+
pending_external_allocation: "pending_external_allocation";
|
|
69
71
|
sent: "sent";
|
|
70
72
|
partially_paid: "partially_paid";
|
|
71
73
|
paid: "paid";
|
|
@@ -403,6 +405,7 @@ export declare const invoiceListResponse: z.ZodObject<{
|
|
|
403
405
|
status: z.ZodEnum<{
|
|
404
406
|
void: "void";
|
|
405
407
|
draft: "draft";
|
|
408
|
+
pending_external_allocation: "pending_external_allocation";
|
|
406
409
|
sent: "sent";
|
|
407
410
|
partially_paid: "partially_paid";
|
|
408
411
|
paid: "paid";
|
|
@@ -538,6 +541,7 @@ export declare const invoiceSingleResponse: z.ZodObject<{
|
|
|
538
541
|
status: z.ZodEnum<{
|
|
539
542
|
void: "void";
|
|
540
543
|
draft: "draft";
|
|
544
|
+
pending_external_allocation: "pending_external_allocation";
|
|
541
545
|
sent: "sent";
|
|
542
546
|
partially_paid: "partially_paid";
|
|
543
547
|
paid: "paid";
|
|
@@ -923,6 +927,7 @@ export declare const publicBookingFinanceDocumentsResponse: z.ZodObject<{
|
|
|
923
927
|
invoiceStatus: z.ZodEnum<{
|
|
924
928
|
void: "void";
|
|
925
929
|
draft: "draft";
|
|
930
|
+
pending_external_allocation: "pending_external_allocation";
|
|
926
931
|
sent: "sent";
|
|
927
932
|
partially_paid: "partially_paid";
|
|
928
933
|
paid: "paid";
|
|
@@ -968,6 +973,7 @@ export declare const publicFinanceDocumentLookupResponse: z.ZodObject<{
|
|
|
968
973
|
invoiceStatus: z.ZodEnum<{
|
|
969
974
|
void: "void";
|
|
970
975
|
draft: "draft";
|
|
976
|
+
pending_external_allocation: "pending_external_allocation";
|
|
971
977
|
sent: "sent";
|
|
972
978
|
partially_paid: "partially_paid";
|
|
973
979
|
paid: "paid";
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,EACnC,kCAAkC,EAClC,iCAAiC,EACjC,kCAAkC,EAClC,iCAAiC,EACjC,sCAAsC,EACtC,iCAAiC,EACjC,+BAA+B,EAC/B,0BAA0B,EAC1B,+BAA+B,EAC/B,2BAA2B,EAC3B,6BAA6B,EAC9B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;;;;iBAM7D,CAAA;AAEJ,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;iBAA6B,CAAA;AAC3F,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;iBAAsC,CAAA;AACnG,eAAO,MAAM,eAAe;;iBAAqC,CAAA;AAEjE,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,EACnC,kCAAkC,EAClC,iCAAiC,EACjC,kCAAkC,EAClC,iCAAiC,EACjC,sCAAsC,EACtC,iCAAiC,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AAO,mBAAmB,CAAC,CAAA;AAE/D,eAAO,MAAM,6BAA6B;;;;;;;;iBAQxC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEnF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE9B,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE,kEAAkE;AAClE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGxC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEnF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyC,CAAA;AACzE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAsC,CAAA;AACxE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAsC,CAAA;AACxE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAgD,CAAA"}
|
package/dist/schemas.js
CHANGED
|
@@ -11,6 +11,7 @@ export const arrayEnvelope = (item) => z.object({ data: z.array(item) });
|
|
|
11
11
|
export const successEnvelope = z.object({ success: z.boolean() });
|
|
12
12
|
export const invoiceStatusSchema = z.enum([
|
|
13
13
|
"draft",
|
|
14
|
+
"pending_external_allocation",
|
|
14
15
|
"sent",
|
|
15
16
|
"partially_paid",
|
|
16
17
|
"paid",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/finance-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.76.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"react": "^19.0.0",
|
|
42
42
|
"react-dom": "^19.0.0",
|
|
43
43
|
"zod": "^4.0.0",
|
|
44
|
-
"@voyantjs/finance": "0.
|
|
44
|
+
"@voyantjs/finance": "0.76.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@tanstack/react-query": "^5.100.11",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"typescript": "^6.0.2",
|
|
53
53
|
"vitest": "^4.1.2",
|
|
54
54
|
"zod": "^4.3.6",
|
|
55
|
-
"@voyantjs/finance": "0.
|
|
56
|
-
"@voyantjs/react": "0.
|
|
55
|
+
"@voyantjs/finance": "0.76.0",
|
|
56
|
+
"@voyantjs/react": "0.76.0",
|
|
57
57
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@voyantjs/react": "0.
|
|
60
|
+
"@voyantjs/react": "0.76.0"
|
|
61
61
|
},
|
|
62
62
|
"files": [
|
|
63
63
|
"dist"
|