@voyantjs/checkout 0.2.0 → 0.3.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/routes.d.ts +21 -21
- package/package.json +6 -6
package/dist/routes.d.ts
CHANGED
|
@@ -41,11 +41,11 @@ export declare function createCheckoutRoutes(options?: {
|
|
|
41
41
|
willCreateDefaultPaymentPlan: boolean;
|
|
42
42
|
selectedSchedule: {
|
|
43
43
|
id: string;
|
|
44
|
-
status: "
|
|
45
|
-
notes: string | null;
|
|
44
|
+
status: "expired" | "cancelled" | "pending" | "paid" | "due" | "waived";
|
|
46
45
|
createdAt: string;
|
|
47
46
|
updatedAt: string;
|
|
48
47
|
bookingId: string;
|
|
48
|
+
notes: string | null;
|
|
49
49
|
bookingItemId: string | null;
|
|
50
50
|
currency: string;
|
|
51
51
|
dueDate: string;
|
|
@@ -55,13 +55,13 @@ export declare function createCheckoutRoutes(options?: {
|
|
|
55
55
|
selectedInvoice: {
|
|
56
56
|
id: string;
|
|
57
57
|
status: "draft" | "sent" | "partially_paid" | "paid" | "overdue" | "void";
|
|
58
|
-
notes: string | null;
|
|
59
|
-
createdAt: string;
|
|
60
|
-
updatedAt: string;
|
|
61
58
|
personId: string | null;
|
|
62
59
|
organizationId: string | null;
|
|
63
60
|
baseCurrency: string | null;
|
|
61
|
+
createdAt: string;
|
|
62
|
+
updatedAt: string;
|
|
64
63
|
bookingId: string;
|
|
64
|
+
notes: string | null;
|
|
65
65
|
invoiceNumber: string;
|
|
66
66
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
67
67
|
seriesId: string | null;
|
|
@@ -136,11 +136,11 @@ export declare function createCheckoutRoutes(options?: {
|
|
|
136
136
|
willCreateDefaultPaymentPlan: boolean;
|
|
137
137
|
selectedSchedule: {
|
|
138
138
|
id: string;
|
|
139
|
-
status: "
|
|
140
|
-
notes: string | null;
|
|
139
|
+
status: "expired" | "cancelled" | "pending" | "paid" | "due" | "waived";
|
|
141
140
|
createdAt: string;
|
|
142
141
|
updatedAt: string;
|
|
143
142
|
bookingId: string;
|
|
143
|
+
notes: string | null;
|
|
144
144
|
bookingItemId: string | null;
|
|
145
145
|
currency: string;
|
|
146
146
|
dueDate: string;
|
|
@@ -150,13 +150,13 @@ export declare function createCheckoutRoutes(options?: {
|
|
|
150
150
|
selectedInvoice: {
|
|
151
151
|
id: string;
|
|
152
152
|
status: "draft" | "sent" | "partially_paid" | "paid" | "overdue" | "void";
|
|
153
|
-
notes: string | null;
|
|
154
|
-
createdAt: string;
|
|
155
|
-
updatedAt: string;
|
|
156
153
|
personId: string | null;
|
|
157
154
|
organizationId: string | null;
|
|
158
155
|
baseCurrency: string | null;
|
|
156
|
+
createdAt: string;
|
|
157
|
+
updatedAt: string;
|
|
159
158
|
bookingId: string;
|
|
159
|
+
notes: string | null;
|
|
160
160
|
invoiceNumber: string;
|
|
161
161
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
162
162
|
seriesId: string | null;
|
|
@@ -188,13 +188,13 @@ export declare function createCheckoutRoutes(options?: {
|
|
|
188
188
|
invoice: {
|
|
189
189
|
id: string;
|
|
190
190
|
status: "draft" | "sent" | "partially_paid" | "paid" | "overdue" | "void";
|
|
191
|
-
notes: string | null;
|
|
192
|
-
createdAt: string;
|
|
193
|
-
updatedAt: string;
|
|
194
191
|
personId: string | null;
|
|
195
192
|
organizationId: string | null;
|
|
196
193
|
baseCurrency: string | null;
|
|
194
|
+
createdAt: string;
|
|
195
|
+
updatedAt: string;
|
|
197
196
|
bookingId: string;
|
|
197
|
+
notes: string | null;
|
|
198
198
|
invoiceNumber: string;
|
|
199
199
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
200
200
|
seriesId: string | null;
|
|
@@ -221,14 +221,14 @@ export declare function createCheckoutRoutes(options?: {
|
|
|
221
221
|
} | null;
|
|
222
222
|
paymentSession: {
|
|
223
223
|
id: string;
|
|
224
|
-
status: "
|
|
225
|
-
notes: string | null;
|
|
226
|
-
createdAt: string;
|
|
227
|
-
updatedAt: string;
|
|
224
|
+
status: "expired" | "cancelled" | "pending" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
228
225
|
expiredAt: string | null;
|
|
229
226
|
cancelledAt: string | null;
|
|
230
227
|
completedAt: string | null;
|
|
228
|
+
createdAt: string;
|
|
229
|
+
updatedAt: string;
|
|
231
230
|
bookingId: string | null;
|
|
231
|
+
notes: string | null;
|
|
232
232
|
metadata: {
|
|
233
233
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
234
234
|
} | null;
|
|
@@ -270,10 +270,10 @@ export declare function createCheckoutRoutes(options?: {
|
|
|
270
270
|
invoiceNotification: {
|
|
271
271
|
id: string;
|
|
272
272
|
status: "cancelled" | "pending" | "failed" | "sent";
|
|
273
|
-
createdAt: string;
|
|
274
|
-
updatedAt: string;
|
|
275
273
|
personId: string | null;
|
|
276
274
|
organizationId: string | null;
|
|
275
|
+
createdAt: string;
|
|
276
|
+
updatedAt: string;
|
|
277
277
|
bookingId: string | null;
|
|
278
278
|
metadata: {
|
|
279
279
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -303,10 +303,10 @@ export declare function createCheckoutRoutes(options?: {
|
|
|
303
303
|
paymentSessionNotification: {
|
|
304
304
|
id: string;
|
|
305
305
|
status: "cancelled" | "pending" | "failed" | "sent";
|
|
306
|
-
createdAt: string;
|
|
307
|
-
updatedAt: string;
|
|
308
306
|
personId: string | null;
|
|
309
307
|
organizationId: string | null;
|
|
308
|
+
createdAt: string;
|
|
309
|
+
updatedAt: string;
|
|
310
310
|
bookingId: string | null;
|
|
311
311
|
metadata: {
|
|
312
312
|
[x: string]: import("hono/utils/types").JSONValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/checkout",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"drizzle-orm": "^0.45.2",
|
|
26
26
|
"hono": "^4.12.10",
|
|
27
27
|
"zod": "^4.3.6",
|
|
28
|
-
"@voyantjs/bookings": "0.
|
|
29
|
-
"@voyantjs/core": "0.
|
|
30
|
-
"@voyantjs/finance": "0.
|
|
31
|
-
"@voyantjs/hono": "0.
|
|
32
|
-
"@voyantjs/notifications": "0.
|
|
28
|
+
"@voyantjs/bookings": "0.3.0",
|
|
29
|
+
"@voyantjs/core": "0.3.0",
|
|
30
|
+
"@voyantjs/finance": "0.3.0",
|
|
31
|
+
"@voyantjs/hono": "0.3.0",
|
|
32
|
+
"@voyantjs/notifications": "0.3.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^6.0.2",
|