@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-offers.d.ts
CHANGED
|
@@ -15,6 +15,16 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
15
15
|
quoteId: string | null;
|
|
16
16
|
marketId: string | null;
|
|
17
17
|
sourceChannelId: string | null;
|
|
18
|
+
contactFirstName: string | null;
|
|
19
|
+
contactLastName: string | null;
|
|
20
|
+
contactEmail: string | null;
|
|
21
|
+
contactPhone: string | null;
|
|
22
|
+
contactPreferredLanguage: string | null;
|
|
23
|
+
contactCountry: string | null;
|
|
24
|
+
contactRegion: string | null;
|
|
25
|
+
contactCity: string | null;
|
|
26
|
+
contactAddressLine1: string | null;
|
|
27
|
+
contactPostalCode: string | null;
|
|
18
28
|
currency: string;
|
|
19
29
|
baseCurrency: string | null;
|
|
20
30
|
fxRateSetId: string | null;
|
|
@@ -62,6 +72,16 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
62
72
|
quoteId: string | null;
|
|
63
73
|
marketId: string | null;
|
|
64
74
|
sourceChannelId: string | null;
|
|
75
|
+
contactFirstName: string | null;
|
|
76
|
+
contactLastName: string | null;
|
|
77
|
+
contactEmail: string | null;
|
|
78
|
+
contactPhone: string | null;
|
|
79
|
+
contactPreferredLanguage: string | null;
|
|
80
|
+
contactCountry: string | null;
|
|
81
|
+
contactRegion: string | null;
|
|
82
|
+
contactCity: string | null;
|
|
83
|
+
contactAddressLine1: string | null;
|
|
84
|
+
contactPostalCode: string | null;
|
|
65
85
|
baseCurrency: string | null;
|
|
66
86
|
fxRateSetId: string | null;
|
|
67
87
|
subtotalAmountCents: number;
|
|
@@ -111,6 +131,16 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
111
131
|
quoteId: string | null;
|
|
112
132
|
marketId: string | null;
|
|
113
133
|
sourceChannelId: string | null;
|
|
134
|
+
contactFirstName: string | null;
|
|
135
|
+
contactLastName: string | null;
|
|
136
|
+
contactEmail: string | null;
|
|
137
|
+
contactPhone: string | null;
|
|
138
|
+
contactPreferredLanguage: string | null;
|
|
139
|
+
contactCountry: string | null;
|
|
140
|
+
contactRegion: string | null;
|
|
141
|
+
contactCity: string | null;
|
|
142
|
+
contactAddressLine1: string | null;
|
|
143
|
+
contactPostalCode: string | null;
|
|
114
144
|
currency: string;
|
|
115
145
|
baseCurrency: string | null;
|
|
116
146
|
fxRateSetId: string | null;
|
|
@@ -165,6 +195,16 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
165
195
|
quoteId: string | null;
|
|
166
196
|
marketId: string | null;
|
|
167
197
|
sourceChannelId: string | null;
|
|
198
|
+
contactFirstName: string | null;
|
|
199
|
+
contactLastName: string | null;
|
|
200
|
+
contactEmail: string | null;
|
|
201
|
+
contactPhone: string | null;
|
|
202
|
+
contactPreferredLanguage: string | null;
|
|
203
|
+
contactCountry: string | null;
|
|
204
|
+
contactRegion: string | null;
|
|
205
|
+
contactCity: string | null;
|
|
206
|
+
contactAddressLine1: string | null;
|
|
207
|
+
contactPostalCode: string | null;
|
|
168
208
|
currency: string;
|
|
169
209
|
baseCurrency: string | null;
|
|
170
210
|
fxRateSetId: string | null;
|
|
@@ -215,7 +255,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
215
255
|
};
|
|
216
256
|
};
|
|
217
257
|
} & {
|
|
218
|
-
"/offer-
|
|
258
|
+
"/offer-travelers": {
|
|
219
259
|
$get: {
|
|
220
260
|
input: {};
|
|
221
261
|
output: {
|
|
@@ -223,7 +263,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
223
263
|
id: string;
|
|
224
264
|
offerId: 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 transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
245
285
|
};
|
|
246
286
|
};
|
|
247
287
|
} & {
|
|
248
|
-
"/offer-
|
|
288
|
+
"/offer-travelers": {
|
|
249
289
|
$post: {
|
|
250
290
|
input: {};
|
|
251
291
|
output: {
|
|
@@ -253,7 +293,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
253
293
|
id: string;
|
|
254
294
|
offerId: 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 transactionOfferRoutes: 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
|
-
"/offer-
|
|
323
|
+
"/offer-travelers/:id": {
|
|
276
324
|
$get: {
|
|
277
325
|
input: {
|
|
278
326
|
param: {
|
|
@@ -295,7 +343,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
295
343
|
id: string;
|
|
296
344
|
offerId: 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 transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
314
362
|
};
|
|
315
363
|
};
|
|
316
364
|
} & {
|
|
317
|
-
"/offer-
|
|
365
|
+
"/offer-travelers/:id": {
|
|
318
366
|
$patch: {
|
|
319
367
|
input: {
|
|
320
368
|
param: {
|
|
@@ -337,7 +385,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
337
385
|
id: string;
|
|
338
386
|
offerId: 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 transactionOfferRoutes: 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
|
-
"/offer-
|
|
419
|
+
"/offer-travelers/:id/travel-details": {
|
|
360
420
|
$get: {
|
|
361
421
|
input: {
|
|
362
422
|
param: {
|
|
@@ -369,7 +429,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
369
429
|
};
|
|
370
430
|
};
|
|
371
431
|
} & {
|
|
372
|
-
"/offer-
|
|
432
|
+
"/offer-travelers/:id/travel-details": {
|
|
373
433
|
$patch: {
|
|
374
434
|
input: {
|
|
375
435
|
param: {
|
|
@@ -382,7 +442,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
382
442
|
};
|
|
383
443
|
};
|
|
384
444
|
} & {
|
|
385
|
-
"/offer-
|
|
445
|
+
"/offer-travelers/:id/travel-details": {
|
|
386
446
|
$delete: {
|
|
387
447
|
input: {
|
|
388
448
|
param: {
|
|
@@ -395,7 +455,381 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
395
455
|
};
|
|
396
456
|
};
|
|
397
457
|
} & {
|
|
398
|
-
"/offer-
|
|
458
|
+
"/offer-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
|
+
"/offer-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
|
+
offerId: string;
|
|
499
|
+
personId: string | null;
|
|
500
|
+
phone: string | null;
|
|
501
|
+
preferredLanguage: string | null;
|
|
502
|
+
isPrimary: boolean;
|
|
503
|
+
offerItemId: 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
|
+
"/offer-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
|
+
offerId: string;
|
|
529
|
+
personId: string | null;
|
|
530
|
+
phone: string | null;
|
|
531
|
+
preferredLanguage: string | null;
|
|
532
|
+
isPrimary: boolean;
|
|
533
|
+
offerItemId: 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
|
+
"/offer-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
|
+
offerId: string;
|
|
579
|
+
personId: string | null;
|
|
580
|
+
phone: string | null;
|
|
581
|
+
preferredLanguage: string | null;
|
|
582
|
+
isPrimary: boolean;
|
|
583
|
+
offerItemId: string | null;
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
outputFormat: "json";
|
|
587
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
} & {
|
|
591
|
+
"/offer-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
|
+
offerId: string;
|
|
621
|
+
personId: string | null;
|
|
622
|
+
phone: string | null;
|
|
623
|
+
preferredLanguage: string | null;
|
|
624
|
+
isPrimary: boolean;
|
|
625
|
+
offerItemId: 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
|
+
"/offer-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
|
+
"/offer-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
|
+
offerId: string;
|
|
686
|
+
personId: string | null;
|
|
687
|
+
phone: string | null;
|
|
688
|
+
preferredLanguage: string | null;
|
|
689
|
+
isPrimary: boolean;
|
|
690
|
+
offerItemId: 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
|
+
"/offer-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
|
+
offerId: string;
|
|
716
|
+
personId: string | null;
|
|
717
|
+
phone: string | null;
|
|
718
|
+
preferredLanguage: string | null;
|
|
719
|
+
isPrimary: boolean;
|
|
720
|
+
offerItemId: 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
|
+
"/offer-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
|
+
offerId: string;
|
|
766
|
+
personId: string | null;
|
|
767
|
+
phone: string | null;
|
|
768
|
+
preferredLanguage: string | null;
|
|
769
|
+
isPrimary: boolean;
|
|
770
|
+
offerItemId: string | null;
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
outputFormat: "json";
|
|
774
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
} & {
|
|
778
|
+
"/offer-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
|
+
offerId: string;
|
|
808
|
+
personId: string | null;
|
|
809
|
+
phone: string | null;
|
|
810
|
+
preferredLanguage: string | null;
|
|
811
|
+
isPrimary: boolean;
|
|
812
|
+
offerItemId: 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
|
+
"/offer-staff-assignments/:id": {
|
|
399
833
|
$delete: {
|
|
400
834
|
input: {
|
|
401
835
|
param: {
|
|
@@ -632,17 +1066,17 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
632
1066
|
};
|
|
633
1067
|
};
|
|
634
1068
|
} & {
|
|
635
|
-
"/offer-item-
|
|
1069
|
+
"/offer-item-travelers": {
|
|
636
1070
|
$get: {
|
|
637
1071
|
input: {};
|
|
638
1072
|
output: {
|
|
639
1073
|
data: {
|
|
640
1074
|
id: string;
|
|
641
|
-
|
|
642
|
-
participantId: string;
|
|
1075
|
+
createdAt: string;
|
|
643
1076
|
role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
1077
|
+
travelerId: string;
|
|
644
1078
|
isPrimary: boolean;
|
|
645
|
-
|
|
1079
|
+
offerItemId: string;
|
|
646
1080
|
}[];
|
|
647
1081
|
total: number;
|
|
648
1082
|
limit: number;
|
|
@@ -653,7 +1087,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
653
1087
|
};
|
|
654
1088
|
};
|
|
655
1089
|
} & {
|
|
656
|
-
"/offer-item-
|
|
1090
|
+
"/offer-item-travelers": {
|
|
657
1091
|
$post: {
|
|
658
1092
|
input: {};
|
|
659
1093
|
output: {
|
|
@@ -661,7 +1095,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
661
1095
|
id: string;
|
|
662
1096
|
createdAt: string;
|
|
663
1097
|
role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
664
|
-
|
|
1098
|
+
travelerId: string;
|
|
665
1099
|
isPrimary: boolean;
|
|
666
1100
|
offerItemId: string;
|
|
667
1101
|
} | null;
|
|
@@ -671,7 +1105,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
671
1105
|
};
|
|
672
1106
|
};
|
|
673
1107
|
} & {
|
|
674
|
-
"/offer-item-
|
|
1108
|
+
"/offer-item-travelers/:id": {
|
|
675
1109
|
$get: {
|
|
676
1110
|
input: {
|
|
677
1111
|
param: {
|
|
@@ -692,11 +1126,11 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
692
1126
|
output: {
|
|
693
1127
|
data: {
|
|
694
1128
|
id: string;
|
|
695
|
-
|
|
696
|
-
participantId: string;
|
|
1129
|
+
createdAt: string;
|
|
697
1130
|
role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
1131
|
+
travelerId: string;
|
|
698
1132
|
isPrimary: boolean;
|
|
699
|
-
|
|
1133
|
+
offerItemId: string;
|
|
700
1134
|
};
|
|
701
1135
|
};
|
|
702
1136
|
outputFormat: "json";
|
|
@@ -704,7 +1138,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
704
1138
|
};
|
|
705
1139
|
};
|
|
706
1140
|
} & {
|
|
707
|
-
"/offer-item-
|
|
1141
|
+
"/offer-item-travelers/:id": {
|
|
708
1142
|
$patch: {
|
|
709
1143
|
input: {
|
|
710
1144
|
param: {
|
|
@@ -725,11 +1159,11 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
725
1159
|
output: {
|
|
726
1160
|
data: {
|
|
727
1161
|
id: string;
|
|
728
|
-
|
|
729
|
-
participantId: string;
|
|
1162
|
+
createdAt: string;
|
|
730
1163
|
role: "other" | "traveler" | "occupant" | "primary_contact" | "beneficiary" | "service_assignee";
|
|
1164
|
+
travelerId: string;
|
|
731
1165
|
isPrimary: boolean;
|
|
732
|
-
|
|
1166
|
+
offerItemId: string;
|
|
733
1167
|
};
|
|
734
1168
|
};
|
|
735
1169
|
outputFormat: "json";
|
|
@@ -737,7 +1171,7 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
737
1171
|
};
|
|
738
1172
|
};
|
|
739
1173
|
} & {
|
|
740
|
-
"/offer-item-
|
|
1174
|
+
"/offer-item-travelers/:id": {
|
|
741
1175
|
$delete: {
|
|
742
1176
|
input: {
|
|
743
1177
|
param: {
|
|
@@ -762,5 +1196,5 @@ export declare const transactionOfferRoutes: import("hono/hono-base").HonoBase<E
|
|
|
762
1196
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
763
1197
|
};
|
|
764
1198
|
};
|
|
765
|
-
}, "/", "/offer-item-
|
|
1199
|
+
}, "/", "/offer-item-travelers/:id">;
|
|
766
1200
|
//# sourceMappingURL=routes-offers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes-offers.d.ts","sourceRoot":"","sources":["../src/routes-offers.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,GAAG,EAIT,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"routes-offers.d.ts","sourceRoot":"","sources":["../src/routes-offers.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,GAAG,EAIT,MAAM,oBAAoB,CAAA;AAwB3B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAgW/B,CAAA"}
|