@voyantjs/transactions 0.6.8 → 0.6.9
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/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/pii.d.ts +16 -9
- package/dist/pii.d.ts.map +1 -1
- package/dist/pii.js +76 -70
- package/dist/routes-offers.d.ts +462 -28
- package/dist/routes-offers.d.ts.map +1 -1
- package/dist/routes-offers.js +199 -84
- package/dist/routes-orders.d.ts +461 -27
- package/dist/routes-orders.d.ts.map +1 -1
- package/dist/routes-orders.js +199 -84
- package/dist/routes-shared.d.ts +20 -13
- package/dist/routes-shared.d.ts.map +1 -1
- package/dist/routes-shared.js +7 -6
- package/dist/schema/participant-identity.d.ts +43 -6
- package/dist/schema/participant-identity.d.ts.map +1 -1
- package/dist/schema/participant-identity.js +12 -5
- package/dist/schema-audit.d.ts +4 -4
- package/dist/schema-audit.js +3 -3
- package/dist/schema-contacts.d.ts +529 -0
- package/dist/schema-contacts.d.ts.map +1 -0
- package/dist/schema-contacts.js +57 -0
- package/dist/schema-offers.d.ts +177 -3
- package/dist/schema-offers.d.ts.map +1 -1
- package/dist/schema-offers.js +13 -3
- package/dist/schema-orders.d.ts +177 -3
- package/dist/schema-orders.d.ts.map +1 -1
- package/dist/schema-orders.js +13 -3
- package/dist/schema-relations.d.ts +24 -0
- package/dist/schema-relations.d.ts.map +1 -1
- package/dist/schema-relations.js +40 -2
- package/dist/schema-shared.d.ts +3 -1
- package/dist/schema-shared.d.ts.map +1 -1
- package/dist/schema-shared.js +8 -2
- package/dist/schema-staff.d.ts +529 -0
- package/dist/schema-staff.d.ts.map +1 -0
- package/dist/schema-staff.js +57 -0
- package/dist/schema.d.ts +2 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +2 -0
- package/dist/service-offers.d.ts +275 -29
- package/dist/service-offers.d.ts.map +1 -1
- package/dist/service-offers.js +306 -43
- package/dist/service-orders.d.ts +227 -25
- package/dist/service-orders.d.ts.map +1 -1
- package/dist/service-orders.js +127 -22
- package/dist/service-shared.d.ts +144 -22
- package/dist/service-shared.d.ts.map +1 -1
- package/dist/service-shared.js +30 -2
- package/dist/service.d.ts +62 -22
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +42 -2
- package/dist/storefront-offers.d.ts +39 -5
- package/dist/storefront-offers.d.ts.map +1 -1
- package/dist/storefront-offers.js +3 -3
- package/dist/validation.d.ts +674 -36
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +186 -29
- package/package.json +5 -5
package/dist/routes-orders.d.ts
CHANGED
|
@@ -16,6 +16,16 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
16
16
|
quoteId: string | null;
|
|
17
17
|
marketId: string | null;
|
|
18
18
|
sourceChannelId: string | null;
|
|
19
|
+
contactFirstName: string | null;
|
|
20
|
+
contactLastName: string | null;
|
|
21
|
+
contactEmail: string | null;
|
|
22
|
+
contactPhone: string | null;
|
|
23
|
+
contactPreferredLanguage: string | null;
|
|
24
|
+
contactCountry: string | null;
|
|
25
|
+
contactRegion: string | null;
|
|
26
|
+
contactCity: string | null;
|
|
27
|
+
contactAddressLine1: string | null;
|
|
28
|
+
contactPostalCode: string | null;
|
|
19
29
|
currency: string;
|
|
20
30
|
baseCurrency: string | null;
|
|
21
31
|
fxRateSetId: string | null;
|
|
@@ -63,6 +73,16 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
63
73
|
quoteId: string | null;
|
|
64
74
|
marketId: string | null;
|
|
65
75
|
sourceChannelId: string | null;
|
|
76
|
+
contactFirstName: string | null;
|
|
77
|
+
contactLastName: string | null;
|
|
78
|
+
contactEmail: string | null;
|
|
79
|
+
contactPhone: string | null;
|
|
80
|
+
contactPreferredLanguage: string | null;
|
|
81
|
+
contactCountry: string | null;
|
|
82
|
+
contactRegion: string | null;
|
|
83
|
+
contactCity: string | null;
|
|
84
|
+
contactAddressLine1: string | null;
|
|
85
|
+
contactPostalCode: string | null;
|
|
66
86
|
baseCurrency: string | null;
|
|
67
87
|
fxRateSetId: string | null;
|
|
68
88
|
subtotalAmountCents: number;
|
|
@@ -112,6 +132,16 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
112
132
|
quoteId: string | null;
|
|
113
133
|
marketId: string | null;
|
|
114
134
|
sourceChannelId: string | null;
|
|
135
|
+
contactFirstName: string | null;
|
|
136
|
+
contactLastName: string | null;
|
|
137
|
+
contactEmail: string | null;
|
|
138
|
+
contactPhone: string | null;
|
|
139
|
+
contactPreferredLanguage: string | null;
|
|
140
|
+
contactCountry: string | null;
|
|
141
|
+
contactRegion: string | null;
|
|
142
|
+
contactCity: string | null;
|
|
143
|
+
contactAddressLine1: string | null;
|
|
144
|
+
contactPostalCode: string | null;
|
|
115
145
|
currency: string;
|
|
116
146
|
baseCurrency: string | null;
|
|
117
147
|
fxRateSetId: string | null;
|
|
@@ -166,6 +196,16 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
166
196
|
quoteId: string | null;
|
|
167
197
|
marketId: string | null;
|
|
168
198
|
sourceChannelId: string | null;
|
|
199
|
+
contactFirstName: string | null;
|
|
200
|
+
contactLastName: string | null;
|
|
201
|
+
contactEmail: string | null;
|
|
202
|
+
contactPhone: string | null;
|
|
203
|
+
contactPreferredLanguage: string | null;
|
|
204
|
+
contactCountry: string | null;
|
|
205
|
+
contactRegion: string | null;
|
|
206
|
+
contactCity: string | null;
|
|
207
|
+
contactAddressLine1: string | null;
|
|
208
|
+
contactPostalCode: string | null;
|
|
169
209
|
currency: string;
|
|
170
210
|
baseCurrency: string | null;
|
|
171
211
|
fxRateSetId: string | null;
|
|
@@ -215,7 +255,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
215
255
|
};
|
|
216
256
|
};
|
|
217
257
|
} & {
|
|
218
|
-
"/order-
|
|
258
|
+
"/order-travelers": {
|
|
219
259
|
$get: {
|
|
220
260
|
input: {};
|
|
221
261
|
output: {
|
|
@@ -223,7 +263,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
223
263
|
id: string;
|
|
224
264
|
orderId: string;
|
|
225
265
|
personId: string | null;
|
|
226
|
-
participantType: "staff" | "other" | "traveler" | "
|
|
266
|
+
participantType: "staff" | "other" | "traveler" | "occupant";
|
|
227
267
|
travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
|
|
228
268
|
firstName: string;
|
|
229
269
|
lastName: string;
|
|
@@ -245,7 +285,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
245
285
|
};
|
|
246
286
|
};
|
|
247
287
|
} & {
|
|
248
|
-
"/order-
|
|
288
|
+
"/order-travelers": {
|
|
249
289
|
$post: {
|
|
250
290
|
input: {};
|
|
251
291
|
output: {
|
|
@@ -253,7 +293,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
253
293
|
id: string;
|
|
254
294
|
orderId: string;
|
|
255
295
|
personId: string | null;
|
|
256
|
-
participantType: "staff" | "other" | "traveler" | "
|
|
296
|
+
participantType: "staff" | "other" | "traveler" | "occupant";
|
|
257
297
|
travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
|
|
258
298
|
firstName: string;
|
|
259
299
|
lastName: string;
|
|
@@ -269,10 +309,18 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
269
309
|
};
|
|
270
310
|
outputFormat: "json";
|
|
271
311
|
status: 201;
|
|
312
|
+
} | {
|
|
313
|
+
input: {};
|
|
314
|
+
output: {
|
|
315
|
+
error: string;
|
|
316
|
+
details: undefined;
|
|
317
|
+
};
|
|
318
|
+
outputFormat: "json";
|
|
319
|
+
status: 400;
|
|
272
320
|
};
|
|
273
321
|
};
|
|
274
322
|
} & {
|
|
275
|
-
"/order-
|
|
323
|
+
"/order-travelers/:id": {
|
|
276
324
|
$get: {
|
|
277
325
|
input: {
|
|
278
326
|
param: {
|
|
@@ -295,7 +343,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
295
343
|
id: string;
|
|
296
344
|
orderId: string;
|
|
297
345
|
personId: string | null;
|
|
298
|
-
participantType: "staff" | "other" | "traveler" | "
|
|
346
|
+
participantType: "staff" | "other" | "traveler" | "occupant";
|
|
299
347
|
travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
|
|
300
348
|
firstName: string;
|
|
301
349
|
lastName: string;
|
|
@@ -314,7 +362,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
314
362
|
};
|
|
315
363
|
};
|
|
316
364
|
} & {
|
|
317
|
-
"/order-
|
|
365
|
+
"/order-travelers/:id": {
|
|
318
366
|
$patch: {
|
|
319
367
|
input: {
|
|
320
368
|
param: {
|
|
@@ -337,7 +385,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
337
385
|
id: string;
|
|
338
386
|
orderId: string;
|
|
339
387
|
personId: string | null;
|
|
340
|
-
participantType: "staff" | "other" | "traveler" | "
|
|
388
|
+
participantType: "staff" | "other" | "traveler" | "occupant";
|
|
341
389
|
travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
|
|
342
390
|
firstName: string;
|
|
343
391
|
lastName: string;
|
|
@@ -353,10 +401,22 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
353
401
|
};
|
|
354
402
|
outputFormat: "json";
|
|
355
403
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
404
|
+
} | {
|
|
405
|
+
input: {
|
|
406
|
+
param: {
|
|
407
|
+
id: string;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
output: {
|
|
411
|
+
error: string;
|
|
412
|
+
details: undefined;
|
|
413
|
+
};
|
|
414
|
+
outputFormat: "json";
|
|
415
|
+
status: 400;
|
|
356
416
|
};
|
|
357
417
|
};
|
|
358
418
|
} & {
|
|
359
|
-
"/order-
|
|
419
|
+
"/order-travelers/:id/travel-details": {
|
|
360
420
|
$get: {
|
|
361
421
|
input: {
|
|
362
422
|
param: {
|
|
@@ -369,7 +429,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
369
429
|
};
|
|
370
430
|
};
|
|
371
431
|
} & {
|
|
372
|
-
"/order-
|
|
432
|
+
"/order-travelers/:id/travel-details": {
|
|
373
433
|
$patch: {
|
|
374
434
|
input: {
|
|
375
435
|
param: {
|
|
@@ -382,7 +442,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
382
442
|
};
|
|
383
443
|
};
|
|
384
444
|
} & {
|
|
385
|
-
"/order-
|
|
445
|
+
"/order-travelers/:id/travel-details": {
|
|
386
446
|
$delete: {
|
|
387
447
|
input: {
|
|
388
448
|
param: {
|
|
@@ -395,7 +455,381 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
395
455
|
};
|
|
396
456
|
};
|
|
397
457
|
} & {
|
|
398
|
-
"/order-
|
|
458
|
+
"/order-travelers/:id": {
|
|
459
|
+
$delete: {
|
|
460
|
+
input: {
|
|
461
|
+
param: {
|
|
462
|
+
id: string;
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
output: {
|
|
466
|
+
error: string;
|
|
467
|
+
};
|
|
468
|
+
outputFormat: "json";
|
|
469
|
+
status: 404;
|
|
470
|
+
} | {
|
|
471
|
+
input: {
|
|
472
|
+
param: {
|
|
473
|
+
id: string;
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
output: {
|
|
477
|
+
success: true;
|
|
478
|
+
};
|
|
479
|
+
outputFormat: "json";
|
|
480
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
} & {
|
|
484
|
+
"/order-contact-assignments": {
|
|
485
|
+
$get: {
|
|
486
|
+
input: {};
|
|
487
|
+
output: {
|
|
488
|
+
data: {
|
|
489
|
+
metadata: import("hono/utils/types").JSONValue;
|
|
490
|
+
id: string;
|
|
491
|
+
createdAt: string;
|
|
492
|
+
updatedAt: string;
|
|
493
|
+
email: string | null;
|
|
494
|
+
role: "other" | "primary_contact";
|
|
495
|
+
notes: string | null;
|
|
496
|
+
firstName: string;
|
|
497
|
+
lastName: string;
|
|
498
|
+
orderId: string;
|
|
499
|
+
personId: string | null;
|
|
500
|
+
phone: string | null;
|
|
501
|
+
preferredLanguage: string | null;
|
|
502
|
+
isPrimary: boolean;
|
|
503
|
+
orderItemId: string | null;
|
|
504
|
+
}[];
|
|
505
|
+
total: number;
|
|
506
|
+
limit: number;
|
|
507
|
+
offset: number;
|
|
508
|
+
};
|
|
509
|
+
outputFormat: "json";
|
|
510
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
} & {
|
|
514
|
+
"/order-contact-assignments": {
|
|
515
|
+
$post: {
|
|
516
|
+
input: {};
|
|
517
|
+
output: {
|
|
518
|
+
data: {
|
|
519
|
+
metadata: import("hono/utils/types").JSONValue;
|
|
520
|
+
id: string;
|
|
521
|
+
createdAt: string;
|
|
522
|
+
updatedAt: string;
|
|
523
|
+
email: string | null;
|
|
524
|
+
role: "other" | "primary_contact";
|
|
525
|
+
notes: string | null;
|
|
526
|
+
firstName: string;
|
|
527
|
+
lastName: string;
|
|
528
|
+
orderId: string;
|
|
529
|
+
personId: string | null;
|
|
530
|
+
phone: string | null;
|
|
531
|
+
preferredLanguage: string | null;
|
|
532
|
+
isPrimary: boolean;
|
|
533
|
+
orderItemId: string | null;
|
|
534
|
+
} | null;
|
|
535
|
+
};
|
|
536
|
+
outputFormat: "json";
|
|
537
|
+
status: 201;
|
|
538
|
+
} | {
|
|
539
|
+
input: {};
|
|
540
|
+
output: {
|
|
541
|
+
error: string;
|
|
542
|
+
details: undefined;
|
|
543
|
+
};
|
|
544
|
+
outputFormat: "json";
|
|
545
|
+
status: 400;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
} & {
|
|
549
|
+
"/order-contact-assignments/:id": {
|
|
550
|
+
$get: {
|
|
551
|
+
input: {
|
|
552
|
+
param: {
|
|
553
|
+
id: string;
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
output: {
|
|
557
|
+
error: string;
|
|
558
|
+
};
|
|
559
|
+
outputFormat: "json";
|
|
560
|
+
status: 404;
|
|
561
|
+
} | {
|
|
562
|
+
input: {
|
|
563
|
+
param: {
|
|
564
|
+
id: string;
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
output: {
|
|
568
|
+
data: {
|
|
569
|
+
metadata: import("hono/utils/types").JSONValue;
|
|
570
|
+
id: string;
|
|
571
|
+
createdAt: string;
|
|
572
|
+
updatedAt: string;
|
|
573
|
+
email: string | null;
|
|
574
|
+
role: "other" | "primary_contact";
|
|
575
|
+
notes: string | null;
|
|
576
|
+
firstName: string;
|
|
577
|
+
lastName: string;
|
|
578
|
+
orderId: string;
|
|
579
|
+
personId: string | null;
|
|
580
|
+
phone: string | null;
|
|
581
|
+
preferredLanguage: string | null;
|
|
582
|
+
isPrimary: boolean;
|
|
583
|
+
orderItemId: string | null;
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
outputFormat: "json";
|
|
587
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
} & {
|
|
591
|
+
"/order-contact-assignments/:id": {
|
|
592
|
+
$patch: {
|
|
593
|
+
input: {
|
|
594
|
+
param: {
|
|
595
|
+
id: string;
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
output: {
|
|
599
|
+
error: string;
|
|
600
|
+
};
|
|
601
|
+
outputFormat: "json";
|
|
602
|
+
status: 404;
|
|
603
|
+
} | {
|
|
604
|
+
input: {
|
|
605
|
+
param: {
|
|
606
|
+
id: string;
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
output: {
|
|
610
|
+
data: {
|
|
611
|
+
metadata: import("hono/utils/types").JSONValue;
|
|
612
|
+
id: string;
|
|
613
|
+
createdAt: string;
|
|
614
|
+
updatedAt: string;
|
|
615
|
+
email: string | null;
|
|
616
|
+
role: "other" | "primary_contact";
|
|
617
|
+
notes: string | null;
|
|
618
|
+
firstName: string;
|
|
619
|
+
lastName: string;
|
|
620
|
+
orderId: string;
|
|
621
|
+
personId: string | null;
|
|
622
|
+
phone: string | null;
|
|
623
|
+
preferredLanguage: string | null;
|
|
624
|
+
isPrimary: boolean;
|
|
625
|
+
orderItemId: string | null;
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
outputFormat: "json";
|
|
629
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
630
|
+
} | {
|
|
631
|
+
input: {
|
|
632
|
+
param: {
|
|
633
|
+
id: string;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
output: {
|
|
637
|
+
error: string;
|
|
638
|
+
details: undefined;
|
|
639
|
+
};
|
|
640
|
+
outputFormat: "json";
|
|
641
|
+
status: 400;
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
} & {
|
|
645
|
+
"/order-contact-assignments/:id": {
|
|
646
|
+
$delete: {
|
|
647
|
+
input: {
|
|
648
|
+
param: {
|
|
649
|
+
id: string;
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
output: {
|
|
653
|
+
error: string;
|
|
654
|
+
};
|
|
655
|
+
outputFormat: "json";
|
|
656
|
+
status: 404;
|
|
657
|
+
} | {
|
|
658
|
+
input: {
|
|
659
|
+
param: {
|
|
660
|
+
id: string;
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
output: {
|
|
664
|
+
success: true;
|
|
665
|
+
};
|
|
666
|
+
outputFormat: "json";
|
|
667
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
} & {
|
|
671
|
+
"/order-staff-assignments": {
|
|
672
|
+
$get: {
|
|
673
|
+
input: {};
|
|
674
|
+
output: {
|
|
675
|
+
data: {
|
|
676
|
+
metadata: import("hono/utils/types").JSONValue;
|
|
677
|
+
id: string;
|
|
678
|
+
createdAt: string;
|
|
679
|
+
updatedAt: string;
|
|
680
|
+
email: string | null;
|
|
681
|
+
role: "other" | "service_assignee";
|
|
682
|
+
notes: string | null;
|
|
683
|
+
firstName: string;
|
|
684
|
+
lastName: string;
|
|
685
|
+
orderId: string;
|
|
686
|
+
personId: string | null;
|
|
687
|
+
phone: string | null;
|
|
688
|
+
preferredLanguage: string | null;
|
|
689
|
+
isPrimary: boolean;
|
|
690
|
+
orderItemId: string | null;
|
|
691
|
+
}[];
|
|
692
|
+
total: number;
|
|
693
|
+
limit: number;
|
|
694
|
+
offset: number;
|
|
695
|
+
};
|
|
696
|
+
outputFormat: "json";
|
|
697
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
} & {
|
|
701
|
+
"/order-staff-assignments": {
|
|
702
|
+
$post: {
|
|
703
|
+
input: {};
|
|
704
|
+
output: {
|
|
705
|
+
data: {
|
|
706
|
+
metadata: import("hono/utils/types").JSONValue;
|
|
707
|
+
id: string;
|
|
708
|
+
createdAt: string;
|
|
709
|
+
updatedAt: string;
|
|
710
|
+
email: string | null;
|
|
711
|
+
role: "other" | "service_assignee";
|
|
712
|
+
notes: string | null;
|
|
713
|
+
firstName: string;
|
|
714
|
+
lastName: string;
|
|
715
|
+
orderId: string;
|
|
716
|
+
personId: string | null;
|
|
717
|
+
phone: string | null;
|
|
718
|
+
preferredLanguage: string | null;
|
|
719
|
+
isPrimary: boolean;
|
|
720
|
+
orderItemId: string | null;
|
|
721
|
+
} | null;
|
|
722
|
+
};
|
|
723
|
+
outputFormat: "json";
|
|
724
|
+
status: 201;
|
|
725
|
+
} | {
|
|
726
|
+
input: {};
|
|
727
|
+
output: {
|
|
728
|
+
error: string;
|
|
729
|
+
details: undefined;
|
|
730
|
+
};
|
|
731
|
+
outputFormat: "json";
|
|
732
|
+
status: 400;
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
} & {
|
|
736
|
+
"/order-staff-assignments/:id": {
|
|
737
|
+
$get: {
|
|
738
|
+
input: {
|
|
739
|
+
param: {
|
|
740
|
+
id: string;
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
output: {
|
|
744
|
+
error: string;
|
|
745
|
+
};
|
|
746
|
+
outputFormat: "json";
|
|
747
|
+
status: 404;
|
|
748
|
+
} | {
|
|
749
|
+
input: {
|
|
750
|
+
param: {
|
|
751
|
+
id: string;
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
output: {
|
|
755
|
+
data: {
|
|
756
|
+
metadata: import("hono/utils/types").JSONValue;
|
|
757
|
+
id: string;
|
|
758
|
+
createdAt: string;
|
|
759
|
+
updatedAt: string;
|
|
760
|
+
email: string | null;
|
|
761
|
+
role: "other" | "service_assignee";
|
|
762
|
+
notes: string | null;
|
|
763
|
+
firstName: string;
|
|
764
|
+
lastName: string;
|
|
765
|
+
orderId: string;
|
|
766
|
+
personId: string | null;
|
|
767
|
+
phone: string | null;
|
|
768
|
+
preferredLanguage: string | null;
|
|
769
|
+
isPrimary: boolean;
|
|
770
|
+
orderItemId: string | null;
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
outputFormat: "json";
|
|
774
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
} & {
|
|
778
|
+
"/order-staff-assignments/:id": {
|
|
779
|
+
$patch: {
|
|
780
|
+
input: {
|
|
781
|
+
param: {
|
|
782
|
+
id: string;
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
output: {
|
|
786
|
+
error: string;
|
|
787
|
+
};
|
|
788
|
+
outputFormat: "json";
|
|
789
|
+
status: 404;
|
|
790
|
+
} | {
|
|
791
|
+
input: {
|
|
792
|
+
param: {
|
|
793
|
+
id: string;
|
|
794
|
+
};
|
|
795
|
+
};
|
|
796
|
+
output: {
|
|
797
|
+
data: {
|
|
798
|
+
metadata: import("hono/utils/types").JSONValue;
|
|
799
|
+
id: string;
|
|
800
|
+
createdAt: string;
|
|
801
|
+
updatedAt: string;
|
|
802
|
+
email: string | null;
|
|
803
|
+
role: "other" | "service_assignee";
|
|
804
|
+
notes: string | null;
|
|
805
|
+
firstName: string;
|
|
806
|
+
lastName: string;
|
|
807
|
+
orderId: string;
|
|
808
|
+
personId: string | null;
|
|
809
|
+
phone: string | null;
|
|
810
|
+
preferredLanguage: string | null;
|
|
811
|
+
isPrimary: boolean;
|
|
812
|
+
orderItemId: string | null;
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
outputFormat: "json";
|
|
816
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
817
|
+
} | {
|
|
818
|
+
input: {
|
|
819
|
+
param: {
|
|
820
|
+
id: string;
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
output: {
|
|
824
|
+
error: string;
|
|
825
|
+
details: undefined;
|
|
826
|
+
};
|
|
827
|
+
outputFormat: "json";
|
|
828
|
+
status: 400;
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
} & {
|
|
832
|
+
"/order-staff-assignments/:id": {
|
|
399
833
|
$delete: {
|
|
400
834
|
input: {
|
|
401
835
|
param: {
|
|
@@ -636,17 +1070,17 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
636
1070
|
};
|
|
637
1071
|
};
|
|
638
1072
|
} & {
|
|
639
|
-
"/order-item-
|
|
1073
|
+
"/order-item-travelers": {
|
|
640
1074
|
$get: {
|
|
641
1075
|
input: {};
|
|
642
1076
|
output: {
|
|
643
1077
|
data: {
|
|
644
1078
|
id: string;
|
|
645
|
-
|
|
646
|
-
participantId: string;
|
|
1079
|
+
createdAt: string;
|
|
647
1080
|
role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
1081
|
+
travelerId: string;
|
|
648
1082
|
isPrimary: boolean;
|
|
649
|
-
|
|
1083
|
+
orderItemId: string;
|
|
650
1084
|
}[];
|
|
651
1085
|
total: number;
|
|
652
1086
|
limit: number;
|
|
@@ -657,7 +1091,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
657
1091
|
};
|
|
658
1092
|
};
|
|
659
1093
|
} & {
|
|
660
|
-
"/order-item-
|
|
1094
|
+
"/order-item-travelers": {
|
|
661
1095
|
$post: {
|
|
662
1096
|
input: {};
|
|
663
1097
|
output: {
|
|
@@ -665,7 +1099,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
665
1099
|
id: string;
|
|
666
1100
|
createdAt: string;
|
|
667
1101
|
role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
668
|
-
|
|
1102
|
+
travelerId: string;
|
|
669
1103
|
isPrimary: boolean;
|
|
670
1104
|
orderItemId: string;
|
|
671
1105
|
} | null;
|
|
@@ -675,7 +1109,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
675
1109
|
};
|
|
676
1110
|
};
|
|
677
1111
|
} & {
|
|
678
|
-
"/order-item-
|
|
1112
|
+
"/order-item-travelers/:id": {
|
|
679
1113
|
$get: {
|
|
680
1114
|
input: {
|
|
681
1115
|
param: {
|
|
@@ -696,11 +1130,11 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
696
1130
|
output: {
|
|
697
1131
|
data: {
|
|
698
1132
|
id: string;
|
|
699
|
-
|
|
700
|
-
participantId: string;
|
|
1133
|
+
createdAt: string;
|
|
701
1134
|
role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
1135
|
+
travelerId: string;
|
|
702
1136
|
isPrimary: boolean;
|
|
703
|
-
|
|
1137
|
+
orderItemId: string;
|
|
704
1138
|
};
|
|
705
1139
|
};
|
|
706
1140
|
outputFormat: "json";
|
|
@@ -708,7 +1142,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
708
1142
|
};
|
|
709
1143
|
};
|
|
710
1144
|
} & {
|
|
711
|
-
"/order-item-
|
|
1145
|
+
"/order-item-travelers/:id": {
|
|
712
1146
|
$patch: {
|
|
713
1147
|
input: {
|
|
714
1148
|
param: {
|
|
@@ -729,11 +1163,11 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
729
1163
|
output: {
|
|
730
1164
|
data: {
|
|
731
1165
|
id: string;
|
|
732
|
-
|
|
733
|
-
participantId: string;
|
|
1166
|
+
createdAt: string;
|
|
734
1167
|
role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
1168
|
+
travelerId: string;
|
|
735
1169
|
isPrimary: boolean;
|
|
736
|
-
|
|
1170
|
+
orderItemId: string;
|
|
737
1171
|
};
|
|
738
1172
|
};
|
|
739
1173
|
outputFormat: "json";
|
|
@@ -741,7 +1175,7 @@ export declare const transactionOrderRoutes: import("hono/hono-base").HonoBase<E
|
|
|
741
1175
|
};
|
|
742
1176
|
};
|
|
743
1177
|
} & {
|
|
744
|
-
"/order-item-
|
|
1178
|
+
"/order-item-travelers/:id": {
|
|
745
1179
|
$delete: {
|
|
746
1180
|
input: {
|
|
747
1181
|
param: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes-orders.d.ts","sourceRoot":"","sources":["../src/routes-orders.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,GAAG,EAIT,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"routes-orders.d.ts","sourceRoot":"","sources":["../src/routes-orders.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,GAAG,EAIT,MAAM,oBAAoB,CAAA;AA2B3B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+X/B,CAAA"}
|