@voyantjs/finance-react 0.95.0 → 0.97.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.
@@ -16,8 +16,8 @@ export declare function usePublicBookingDocuments(bookingId: string | null | und
16
16
  issueDate: string;
17
17
  dueDate: string;
18
18
  renditionId: string | null;
19
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
20
- format: "html" | "pdf" | "xml" | "json" | null;
19
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
20
+ format: "pdf" | "html" | "xml" | "json" | null;
21
21
  language: string | null;
22
22
  generatedAt: string | null;
23
23
  fileSize: number | null;
@@ -14,8 +14,8 @@ export declare function usePublicFinanceDocumentByReference(reference: string |
14
14
  issueDate: string;
15
15
  dueDate: string;
16
16
  renditionId: string | null;
17
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
18
- format: "html" | "pdf" | "xml" | "json" | null;
17
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
18
+ format: "pdf" | "html" | "xml" | "json" | null;
19
19
  language: string | null;
20
20
  generatedAt: string | null;
21
21
  fileSize: number | null;
@@ -115,8 +115,8 @@ export declare function getPublicFinanceDocumentByReference(client: FetchWithVal
115
115
  issueDate: string;
116
116
  dueDate: string;
117
117
  renditionId: string | null;
118
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
119
- format: "html" | "pdf" | "xml" | "json" | null;
118
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
119
+ format: "pdf" | "html" | "xml" | "json" | null;
120
120
  language: string | null;
121
121
  generatedAt: string | null;
122
122
  fileSize: number | null;
@@ -140,8 +140,8 @@ export declare function getPublicBookingDocuments(client: FetchWithValidationOpt
140
140
  issueDate: string;
141
141
  dueDate: string;
142
142
  renditionId: string | null;
143
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
144
- format: "html" | "pdf" | "xml" | "json" | null;
143
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
144
+ format: "pdf" | "html" | "xml" | "json" | null;
145
145
  language: string | null;
146
146
  generatedAt: string | null;
147
147
  fileSize: number | null;
@@ -1363,8 +1363,8 @@ export declare function getPublicBookingDocumentsQueryOptions(client: FetchWithV
1363
1363
  issueDate: string;
1364
1364
  dueDate: string;
1365
1365
  renditionId: string | null;
1366
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
1367
- format: "html" | "pdf" | "xml" | "json" | null;
1366
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
1367
+ format: "pdf" | "html" | "xml" | "json" | null;
1368
1368
  language: string | null;
1369
1369
  generatedAt: string | null;
1370
1370
  fileSize: number | null;
@@ -1387,8 +1387,8 @@ export declare function getPublicBookingDocumentsQueryOptions(client: FetchWithV
1387
1387
  issueDate: string;
1388
1388
  dueDate: string;
1389
1389
  renditionId: string | null;
1390
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
1391
- format: "html" | "pdf" | "xml" | "json" | null;
1390
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
1391
+ format: "pdf" | "html" | "xml" | "json" | null;
1392
1392
  language: string | null;
1393
1393
  generatedAt: string | null;
1394
1394
  fileSize: number | null;
@@ -1412,8 +1412,8 @@ export declare function getPublicBookingDocumentsQueryOptions(client: FetchWithV
1412
1412
  issueDate: string;
1413
1413
  dueDate: string;
1414
1414
  renditionId: string | null;
1415
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
1416
- format: "html" | "pdf" | "xml" | "json" | null;
1415
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
1416
+ format: "pdf" | "html" | "xml" | "json" | null;
1417
1417
  language: string | null;
1418
1418
  generatedAt: string | null;
1419
1419
  fileSize: number | null;
@@ -1439,8 +1439,8 @@ export declare function getPublicBookingDocumentsQueryOptions(client: FetchWithV
1439
1439
  issueDate: string;
1440
1440
  dueDate: string;
1441
1441
  renditionId: string | null;
1442
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
1443
- format: "html" | "pdf" | "xml" | "json" | null;
1442
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
1443
+ format: "pdf" | "html" | "xml" | "json" | null;
1444
1444
  language: string | null;
1445
1445
  generatedAt: string | null;
1446
1446
  fileSize: number | null;
@@ -1465,8 +1465,8 @@ export declare function getPublicFinanceDocumentByReferenceQueryOptions(client:
1465
1465
  issueDate: string;
1466
1466
  dueDate: string;
1467
1467
  renditionId: string | null;
1468
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
1469
- format: "html" | "pdf" | "xml" | "json" | null;
1468
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
1469
+ format: "pdf" | "html" | "xml" | "json" | null;
1470
1470
  language: string | null;
1471
1471
  generatedAt: string | null;
1472
1472
  fileSize: number | null;
@@ -1487,8 +1487,8 @@ export declare function getPublicFinanceDocumentByReferenceQueryOptions(client:
1487
1487
  issueDate: string;
1488
1488
  dueDate: string;
1489
1489
  renditionId: string | null;
1490
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
1491
- format: "html" | "pdf" | "xml" | "json" | null;
1490
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
1491
+ format: "pdf" | "html" | "xml" | "json" | null;
1492
1492
  language: string | null;
1493
1493
  generatedAt: string | null;
1494
1494
  fileSize: number | null;
@@ -1510,8 +1510,8 @@ export declare function getPublicFinanceDocumentByReferenceQueryOptions(client:
1510
1510
  issueDate: string;
1511
1511
  dueDate: string;
1512
1512
  renditionId: string | null;
1513
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
1514
- format: "html" | "pdf" | "xml" | "json" | null;
1513
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
1514
+ format: "pdf" | "html" | "xml" | "json" | null;
1515
1515
  language: string | null;
1516
1516
  generatedAt: string | null;
1517
1517
  fileSize: number | null;
@@ -1535,8 +1535,8 @@ export declare function getPublicFinanceDocumentByReferenceQueryOptions(client:
1535
1535
  issueDate: string;
1536
1536
  dueDate: string;
1537
1537
  renditionId: string | null;
1538
- documentStatus: "pending" | "failed" | "missing" | "ready" | "stale";
1539
- format: "html" | "pdf" | "xml" | "json" | null;
1538
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
1539
+ format: "pdf" | "html" | "xml" | "json" | null;
1540
1540
  language: string | null;
1541
1541
  generatedAt: string | null;
1542
1542
  fileSize: number | null;
package/dist/schemas.d.ts CHANGED
@@ -1068,13 +1068,13 @@ export declare const publicBookingFinanceDocumentsResponse: z.ZodObject<{
1068
1068
  documentStatus: z.ZodEnum<{
1069
1069
  pending: "pending";
1070
1070
  failed: "failed";
1071
- missing: "missing";
1072
1071
  ready: "ready";
1073
1072
  stale: "stale";
1073
+ missing: "missing";
1074
1074
  }>;
1075
1075
  format: z.ZodNullable<z.ZodEnum<{
1076
- html: "html";
1077
1076
  pdf: "pdf";
1077
+ html: "html";
1078
1078
  xml: "xml";
1079
1079
  json: "json";
1080
1080
  }>>;
@@ -1114,13 +1114,13 @@ export declare const publicFinanceDocumentLookupResponse: z.ZodObject<{
1114
1114
  documentStatus: z.ZodEnum<{
1115
1115
  pending: "pending";
1116
1116
  failed: "failed";
1117
- missing: "missing";
1118
1117
  ready: "ready";
1119
1118
  stale: "stale";
1119
+ missing: "missing";
1120
1120
  }>;
1121
1121
  format: z.ZodNullable<z.ZodEnum<{
1122
- html: "html";
1123
1122
  pdf: "pdf";
1123
+ html: "html";
1124
1124
  xml: "xml";
1125
1125
  json: "json";
1126
1126
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/finance-react",
3
- "version": "0.95.0",
3
+ "version": "0.97.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.95.0"
44
+ "@voyantjs/finance": "0.97.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.95.0",
56
- "@voyantjs/react": "0.95.0",
55
+ "@voyantjs/finance": "0.97.0",
56
+ "@voyantjs/react": "0.97.0",
57
57
  "@voyantjs/voyant-typescript-config": "0.1.0"
58
58
  },
59
59
  "dependencies": {
60
- "@voyantjs/react": "0.95.0"
60
+ "@voyantjs/react": "0.97.0"
61
61
  },
62
62
  "files": [
63
63
  "dist"