@voyantjs/plugin-netopia 0.8.0 → 0.10.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.
Files changed (2) hide show
  1. package/dist/plugin.d.ts +27 -27
  2. package/package.json +6 -6
package/dist/plugin.d.ts CHANGED
@@ -33,13 +33,14 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
33
33
  status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
34
34
  currency: string;
35
35
  notes: string | null;
36
+ idempotencyKey: string | null;
37
+ provider: string | null;
38
+ bookingId: string | null;
36
39
  expiredAt: string | null;
37
40
  cancelledAt: string | null;
38
41
  completedAt: string | null;
39
- bookingId: string | null;
40
42
  paymentId: string | null;
41
43
  amountCents: number;
42
- provider: string | null;
43
44
  targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
44
45
  targetId: string | null;
45
46
  orderId: string | null;
@@ -53,7 +54,6 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
53
54
  providerSessionId: string | null;
54
55
  providerPaymentId: string | null;
55
56
  externalReference: string | null;
56
- idempotencyKey: string | null;
57
57
  clientReference: string | null;
58
58
  payerPersonId: string | null;
59
59
  payerOrganizationId: string | null;
@@ -157,10 +157,10 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
157
157
  updatedAt: string;
158
158
  organizationId: string | null;
159
159
  status: "pending" | "cancelled" | "failed" | "sent";
160
- personId: string | null;
160
+ provider: string;
161
161
  bookingId: string | null;
162
+ personId: string | null;
162
163
  channel: "email" | "sms";
163
- provider: string;
164
164
  targetType: "organization" | "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "person" | "payment_session";
165
165
  targetId: string | null;
166
166
  templateId: string | null;
@@ -190,10 +190,10 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
190
190
  updatedAt: string;
191
191
  organizationId: string | null;
192
192
  status: "pending" | "cancelled" | "failed" | "sent";
193
- personId: string | null;
193
+ provider: string;
194
194
  bookingId: string | null;
195
+ personId: string | null;
195
196
  channel: "email" | "sms";
196
- provider: string;
197
197
  targetType: "organization" | "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "person" | "payment_session";
198
198
  targetId: string | null;
199
199
  templateId: string | null;
@@ -225,13 +225,14 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
225
225
  status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
226
226
  currency: string;
227
227
  notes: string | null;
228
+ idempotencyKey: string | null;
229
+ provider: string | null;
230
+ bookingId: string | null;
228
231
  expiredAt: string | null;
229
232
  cancelledAt: string | null;
230
233
  completedAt: string | null;
231
- bookingId: string | null;
232
234
  paymentId: string | null;
233
235
  amountCents: number;
234
- provider: string | null;
235
236
  targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
236
237
  targetId: string | null;
237
238
  orderId: string | null;
@@ -245,7 +246,6 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
245
246
  providerSessionId: string | null;
246
247
  providerPaymentId: string | null;
247
248
  externalReference: string | null;
248
- idempotencyKey: string | null;
249
249
  clientReference: string | null;
250
250
  payerPersonId: string | null;
251
251
  payerOrganizationId: string | null;
@@ -318,10 +318,10 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
318
318
  updatedAt: string;
319
319
  organizationId: string | null;
320
320
  status: "pending" | "cancelled" | "failed" | "sent";
321
- personId: string | null;
321
+ provider: string;
322
322
  bookingId: string | null;
323
+ personId: string | null;
323
324
  channel: "email" | "sms";
324
- provider: string;
325
325
  targetType: "organization" | "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "person" | "payment_session";
326
326
  targetId: string | null;
327
327
  templateId: string | null;
@@ -351,10 +351,10 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
351
351
  updatedAt: string;
352
352
  organizationId: string | null;
353
353
  status: "pending" | "cancelled" | "failed" | "sent";
354
- personId: string | null;
354
+ provider: string;
355
355
  bookingId: string | null;
356
+ personId: string | null;
356
357
  channel: "email" | "sms";
357
- provider: string;
358
358
  targetType: "organization" | "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "person" | "payment_session";
359
359
  targetId: string | null;
360
360
  templateId: string | null;
@@ -386,13 +386,14 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
386
386
  status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
387
387
  currency: string;
388
388
  notes: string | null;
389
+ idempotencyKey: string | null;
390
+ provider: string | null;
391
+ bookingId: string | null;
389
392
  expiredAt: string | null;
390
393
  cancelledAt: string | null;
391
394
  completedAt: string | null;
392
- bookingId: string | null;
393
395
  paymentId: string | null;
394
396
  amountCents: number;
395
- provider: string | null;
396
397
  targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
397
398
  targetId: string | null;
398
399
  orderId: string | null;
@@ -406,7 +407,6 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
406
407
  providerSessionId: string | null;
407
408
  providerPaymentId: string | null;
408
409
  externalReference: string | null;
409
- idempotencyKey: string | null;
410
410
  clientReference: string | null;
411
411
  payerPersonId: string | null;
412
412
  payerOrganizationId: string | null;
@@ -477,10 +477,10 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
477
477
  updatedAt: string;
478
478
  organizationId: string | null;
479
479
  status: "pending" | "cancelled" | "failed" | "sent";
480
- personId: string | null;
480
+ provider: string;
481
481
  bookingId: string | null;
482
+ personId: string | null;
482
483
  channel: "email" | "sms";
483
- provider: string;
484
484
  targetType: "organization" | "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "person" | "payment_session";
485
485
  targetId: string | null;
486
486
  templateId: string | null;
@@ -510,10 +510,10 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
510
510
  updatedAt: string;
511
511
  organizationId: string | null;
512
512
  status: "pending" | "cancelled" | "failed" | "sent";
513
- personId: string | null;
513
+ provider: string;
514
514
  bookingId: string | null;
515
+ personId: string | null;
515
516
  channel: "email" | "sms";
516
- provider: string;
517
517
  targetType: "organization" | "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "person" | "payment_session";
518
518
  targetId: string | null;
519
519
  templateId: string | null;
@@ -545,13 +545,14 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
545
545
  status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
546
546
  currency: string;
547
547
  notes: string | null;
548
+ idempotencyKey: string | null;
549
+ provider: string | null;
550
+ bookingId: string | null;
548
551
  expiredAt: string | null;
549
552
  cancelledAt: string | null;
550
553
  completedAt: string | null;
551
- bookingId: string | null;
552
554
  paymentId: string | null;
553
555
  amountCents: number;
554
- provider: string | null;
555
556
  targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
556
557
  targetId: string | null;
557
558
  orderId: string | null;
@@ -565,7 +566,6 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
565
566
  providerSessionId: string | null;
566
567
  providerPaymentId: string | null;
567
568
  externalReference: string | null;
568
- idempotencyKey: string | null;
569
569
  clientReference: string | null;
570
570
  payerPersonId: string | null;
571
571
  payerOrganizationId: string | null;
@@ -634,13 +634,14 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
634
634
  status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
635
635
  currency: string;
636
636
  notes: string | null;
637
+ idempotencyKey: string | null;
638
+ provider: string | null;
639
+ bookingId: string | null;
637
640
  expiredAt: string | null;
638
641
  cancelledAt: string | null;
639
642
  completedAt: string | null;
640
- bookingId: string | null;
641
643
  paymentId: string | null;
642
644
  amountCents: number;
643
- provider: string | null;
644
645
  targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
645
646
  targetId: string | null;
646
647
  orderId: string | null;
@@ -654,7 +655,6 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
654
655
  providerSessionId: string | null;
655
656
  providerPaymentId: string | null;
656
657
  externalReference: string | null;
657
- idempotencyKey: string | null;
658
658
  clientReference: string | null;
659
659
  payerPersonId: string | null;
660
660
  payerOrganizationId: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/plugin-netopia",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -33,11 +33,11 @@
33
33
  "drizzle-orm": "^0.45.2",
34
34
  "hono": "^4.12.10",
35
35
  "zod": "^4.3.6",
36
- "@voyantjs/checkout": "0.8.0",
37
- "@voyantjs/core": "0.8.0",
38
- "@voyantjs/finance": "0.8.0",
39
- "@voyantjs/hono": "0.8.0",
40
- "@voyantjs/notifications": "0.8.0"
36
+ "@voyantjs/core": "0.10.0",
37
+ "@voyantjs/finance": "0.10.0",
38
+ "@voyantjs/hono": "0.10.0",
39
+ "@voyantjs/notifications": "0.10.0",
40
+ "@voyantjs/checkout": "0.10.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^6.0.2",