@voyant-travel/plugin-netopia 0.105.0 → 0.105.1

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 +21 -21
  2. package/package.json +5 -5
package/dist/plugin.d.ts CHANGED
@@ -23,6 +23,8 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
23
23
  output: {
24
24
  data: {
25
25
  session: {
26
+ amountCents: number;
27
+ currency: string;
26
28
  metadata: {
27
29
  [x: string]: import("hono/utils/types").JSONValue;
28
30
  } | null;
@@ -32,7 +34,6 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
32
34
  createdAt: string;
33
35
  updatedAt: string;
34
36
  expiresAt: string | null;
35
- currency: string;
36
37
  notes: string | null;
37
38
  provider: string | null;
38
39
  completedAt: string | null;
@@ -40,9 +41,8 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
40
41
  expiredAt: string | null;
41
42
  cancelledAt: string | null;
42
43
  orderId: string | null;
43
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
44
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
44
45
  targetId: string | null;
45
- amountCents: number;
46
46
  bookingPaymentScheduleId: string | null;
47
47
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
48
48
  invoiceId: string | null;
@@ -162,7 +162,7 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
162
162
  errorMessage: string | null;
163
163
  bookingId: string | null;
164
164
  personId: string | null;
165
- targetType: "organization" | "other" | "booking" | "person" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
165
+ targetType: "invoice" | "organization" | "other" | "booking" | "person" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
166
166
  targetId: string | null;
167
167
  paymentSessionId: string | null;
168
168
  channel: "email" | "sms";
@@ -195,7 +195,7 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
195
195
  errorMessage: string | null;
196
196
  bookingId: string | null;
197
197
  personId: string | null;
198
- targetType: "organization" | "other" | "booking" | "person" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
198
+ targetType: "invoice" | "organization" | "other" | "booking" | "person" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
199
199
  targetId: string | null;
200
200
  paymentSessionId: string | null;
201
201
  channel: "email" | "sms";
@@ -215,6 +215,8 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
215
215
  } | null;
216
216
  } | null;
217
217
  session: {
218
+ amountCents: number;
219
+ currency: string;
218
220
  metadata: {
219
221
  [x: string]: import("hono/utils/types").JSONValue;
220
222
  } | null;
@@ -224,7 +226,6 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
224
226
  createdAt: string;
225
227
  updatedAt: string;
226
228
  expiresAt: string | null;
227
- currency: string;
228
229
  notes: string | null;
229
230
  provider: string | null;
230
231
  completedAt: string | null;
@@ -232,9 +233,8 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
232
233
  expiredAt: string | null;
233
234
  cancelledAt: string | null;
234
235
  orderId: string | null;
235
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
236
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
236
237
  targetId: string | null;
237
- amountCents: number;
238
238
  bookingPaymentScheduleId: string | null;
239
239
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
240
240
  invoiceId: string | null;
@@ -323,7 +323,7 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
323
323
  errorMessage: string | null;
324
324
  bookingId: string | null;
325
325
  personId: string | null;
326
- targetType: "organization" | "other" | "booking" | "person" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
326
+ targetType: "invoice" | "organization" | "other" | "booking" | "person" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
327
327
  targetId: string | null;
328
328
  paymentSessionId: string | null;
329
329
  channel: "email" | "sms";
@@ -356,7 +356,7 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
356
356
  errorMessage: string | null;
357
357
  bookingId: string | null;
358
358
  personId: string | null;
359
- targetType: "organization" | "other" | "booking" | "person" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
359
+ targetType: "invoice" | "organization" | "other" | "booking" | "person" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
360
360
  targetId: string | null;
361
361
  paymentSessionId: string | null;
362
362
  channel: "email" | "sms";
@@ -376,6 +376,8 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
376
376
  } | null;
377
377
  } | null;
378
378
  session: {
379
+ amountCents: number;
380
+ currency: string;
379
381
  metadata: {
380
382
  [x: string]: import("hono/utils/types").JSONValue;
381
383
  } | null;
@@ -385,7 +387,6 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
385
387
  createdAt: string;
386
388
  updatedAt: string;
387
389
  expiresAt: string | null;
388
- currency: string;
389
390
  notes: string | null;
390
391
  provider: string | null;
391
392
  completedAt: string | null;
@@ -393,9 +394,8 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
393
394
  expiredAt: string | null;
394
395
  cancelledAt: string | null;
395
396
  orderId: string | null;
396
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
397
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
397
398
  targetId: string | null;
398
- amountCents: number;
399
399
  bookingPaymentScheduleId: string | null;
400
400
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
401
401
  invoiceId: string | null;
@@ -482,7 +482,7 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
482
482
  errorMessage: string | null;
483
483
  bookingId: string | null;
484
484
  personId: string | null;
485
- targetType: "organization" | "other" | "booking" | "person" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
485
+ targetType: "invoice" | "organization" | "other" | "booking" | "person" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
486
486
  targetId: string | null;
487
487
  paymentSessionId: string | null;
488
488
  channel: "email" | "sms";
@@ -515,7 +515,7 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
515
515
  errorMessage: string | null;
516
516
  bookingId: string | null;
517
517
  personId: string | null;
518
- targetType: "organization" | "other" | "booking" | "person" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
518
+ targetType: "invoice" | "organization" | "other" | "booking" | "person" | "booking_payment_schedule" | "booking_guarantee" | "payment_session";
519
519
  targetId: string | null;
520
520
  paymentSessionId: string | null;
521
521
  channel: "email" | "sms";
@@ -535,6 +535,8 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
535
535
  } | null;
536
536
  } | null;
537
537
  session: {
538
+ amountCents: number;
539
+ currency: string;
538
540
  metadata: {
539
541
  [x: string]: import("hono/utils/types").JSONValue;
540
542
  } | null;
@@ -544,7 +546,6 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
544
546
  createdAt: string;
545
547
  updatedAt: string;
546
548
  expiresAt: string | null;
547
- currency: string;
548
549
  notes: string | null;
549
550
  provider: string | null;
550
551
  completedAt: string | null;
@@ -552,9 +553,8 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
552
553
  expiredAt: string | null;
553
554
  cancelledAt: string | null;
554
555
  orderId: string | null;
555
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
556
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
556
557
  targetId: string | null;
557
- amountCents: number;
558
558
  bookingPaymentScheduleId: string | null;
559
559
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
560
560
  invoiceId: string | null;
@@ -640,6 +640,8 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
640
640
  action: import("./service-shared.js").NetopiaCallbackAction;
641
641
  reason?: string | undefined;
642
642
  session: {
643
+ amountCents: number;
644
+ currency: string;
643
645
  metadata: {
644
646
  [x: string]: import("hono/utils/types").JSONValue;
645
647
  } | null;
@@ -649,7 +651,6 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
649
651
  createdAt: string;
650
652
  updatedAt: string;
651
653
  expiresAt: string | null;
652
- currency: string;
653
654
  notes: string | null;
654
655
  provider: string | null;
655
656
  completedAt: string | null;
@@ -657,9 +658,8 @@ export declare function createNetopiaFinanceRoutes(options?: NetopiaRuntimeOptio
657
658
  expiredAt: string | null;
658
659
  cancelledAt: string | null;
659
660
  orderId: string | null;
660
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
661
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
661
662
  targetId: string | null;
662
- amountCents: number;
663
663
  bookingPaymentScheduleId: string | null;
664
664
  paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
665
665
  invoiceId: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/plugin-netopia",
3
- "version": "0.105.0",
3
+ "version": "0.105.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -39,10 +39,10 @@
39
39
  "drizzle-orm": "^0.45.2",
40
40
  "hono": "^4.12.10",
41
41
  "zod": "^4.3.6",
42
- "@voyant-travel/core": "^0.109.0",
43
- "@voyant-travel/finance": "^0.122.0",
44
- "@voyant-travel/hono": "^0.111.0",
45
- "@voyant-travel/notifications": "^0.111.11",
42
+ "@voyant-travel/core": "^0.110.0",
43
+ "@voyant-travel/finance": "^0.123.0",
44
+ "@voyant-travel/hono": "^0.112.0",
45
+ "@voyant-travel/notifications": "^0.112.0",
46
46
  "@voyant-travel/utils": "^0.105.2"
47
47
  },
48
48
  "devDependencies": {