@voyantjs/bookings 0.5.0 → 0.6.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/extensions/suppliers.d.ts.map +1 -1
- package/dist/extensions/suppliers.js +3 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -6
- package/dist/route-runtime.d.ts +8 -0
- package/dist/route-runtime.d.ts.map +1 -0
- package/dist/route-runtime.js +17 -0
- package/dist/routes-groups.d.ts +2 -2
- package/dist/routes-groups.d.ts.map +1 -1
- package/dist/routes-groups.js +5 -4
- package/dist/routes-public.d.ts +5 -5
- package/dist/routes-public.d.ts.map +1 -1
- package/dist/routes-public.js +8 -7
- package/dist/routes-shared.d.ts +2 -0
- package/dist/routes-shared.d.ts.map +1 -1
- package/dist/routes.d.ts +37 -258
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +88 -91
- package/dist/schema-core.d.ts +1 -1
- package/dist/schema-items.d.ts +2 -2
- package/dist/service-public.d.ts +14 -14
- package/dist/service.d.ts +21 -21
- package/dist/validation-public.d.ts +11 -11
- package/dist/validation-shared.d.ts +3 -3
- package/dist/validation.d.ts +12 -12
- package/package.json +6 -6
package/dist/routes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { publicBookingRoutes } from "./routes-public.js";
|
|
2
|
-
import {
|
|
2
|
+
import type { Env } from "./routes-shared.js";
|
|
3
3
|
export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
4
4
|
"/": {
|
|
5
5
|
$get: {
|
|
@@ -11,7 +11,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
11
11
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
12
12
|
personId: string | null;
|
|
13
13
|
organizationId: string | null;
|
|
14
|
-
sourceType: "internal" | "
|
|
14
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
15
15
|
externalBookingRef: string | null;
|
|
16
16
|
communicationLanguage: string | null;
|
|
17
17
|
sellCurrency: string;
|
|
@@ -77,7 +77,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
77
77
|
id: string;
|
|
78
78
|
title: string;
|
|
79
79
|
description: string | null;
|
|
80
|
-
itemType: "
|
|
80
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
81
81
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
82
82
|
serviceDate: string | null;
|
|
83
83
|
startsAt: string | null;
|
|
@@ -149,7 +149,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
149
149
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
150
150
|
personId: string | null;
|
|
151
151
|
organizationId: string | null;
|
|
152
|
-
sourceType: "internal" | "
|
|
152
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
153
153
|
externalBookingRef: string | null;
|
|
154
154
|
communicationLanguage: string | null;
|
|
155
155
|
sellCurrency: string;
|
|
@@ -192,7 +192,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
192
192
|
endDate: string | null;
|
|
193
193
|
bookingNumber: string;
|
|
194
194
|
personId: string | null;
|
|
195
|
-
sourceType: "internal" | "
|
|
195
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
196
196
|
externalBookingRef: string | null;
|
|
197
197
|
communicationLanguage: string | null;
|
|
198
198
|
sellCurrency: string;
|
|
@@ -259,7 +259,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
259
259
|
endDate: string | null;
|
|
260
260
|
bookingNumber: string;
|
|
261
261
|
personId: string | null;
|
|
262
|
-
sourceType: "internal" | "
|
|
262
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
263
263
|
externalBookingRef: string | null;
|
|
264
264
|
communicationLanguage: string | null;
|
|
265
265
|
sellCurrency: string;
|
|
@@ -382,42 +382,6 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
382
382
|
} & {
|
|
383
383
|
"/": {
|
|
384
384
|
$post: {
|
|
385
|
-
input: {};
|
|
386
|
-
output: {
|
|
387
|
-
error: string;
|
|
388
|
-
details: {
|
|
389
|
-
formErrors: string[];
|
|
390
|
-
fieldErrors: {
|
|
391
|
-
bookingNumber?: string[] | undefined;
|
|
392
|
-
status?: string[] | undefined;
|
|
393
|
-
sellCurrency?: string[] | undefined;
|
|
394
|
-
sourceType?: string[] | undefined;
|
|
395
|
-
personId?: string[] | undefined;
|
|
396
|
-
organizationId?: string[] | undefined;
|
|
397
|
-
externalBookingRef?: string[] | undefined;
|
|
398
|
-
communicationLanguage?: string[] | undefined;
|
|
399
|
-
baseCurrency?: string[] | undefined;
|
|
400
|
-
sellAmountCents?: string[] | undefined;
|
|
401
|
-
baseSellAmountCents?: string[] | undefined;
|
|
402
|
-
costAmountCents?: string[] | undefined;
|
|
403
|
-
baseCostAmountCents?: string[] | undefined;
|
|
404
|
-
marginPercent?: string[] | undefined;
|
|
405
|
-
startDate?: string[] | undefined;
|
|
406
|
-
endDate?: string[] | undefined;
|
|
407
|
-
pax?: string[] | undefined;
|
|
408
|
-
internalNotes?: string[] | undefined;
|
|
409
|
-
holdExpiresAt?: string[] | undefined;
|
|
410
|
-
confirmedAt?: string[] | undefined;
|
|
411
|
-
expiredAt?: string[] | undefined;
|
|
412
|
-
cancelledAt?: string[] | undefined;
|
|
413
|
-
completedAt?: string[] | undefined;
|
|
414
|
-
redeemedAt?: string[] | undefined;
|
|
415
|
-
};
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
outputFormat: "json";
|
|
419
|
-
status: 400;
|
|
420
|
-
} | {
|
|
421
385
|
input: {};
|
|
422
386
|
output: {
|
|
423
387
|
data: {
|
|
@@ -430,7 +394,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
430
394
|
endDate: string | null;
|
|
431
395
|
bookingNumber: string;
|
|
432
396
|
personId: string | null;
|
|
433
|
-
sourceType: "internal" | "
|
|
397
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
434
398
|
externalBookingRef: string | null;
|
|
435
399
|
communicationLanguage: string | null;
|
|
436
400
|
sellCurrency: string;
|
|
@@ -452,6 +416,14 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
452
416
|
};
|
|
453
417
|
outputFormat: "json";
|
|
454
418
|
status: 201;
|
|
419
|
+
} | {
|
|
420
|
+
input: {};
|
|
421
|
+
output: {
|
|
422
|
+
error: string;
|
|
423
|
+
details: undefined;
|
|
424
|
+
};
|
|
425
|
+
outputFormat: "json";
|
|
426
|
+
status: 400;
|
|
455
427
|
};
|
|
456
428
|
};
|
|
457
429
|
} & {
|
|
@@ -480,7 +452,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
480
452
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
481
453
|
personId: string | null;
|
|
482
454
|
organizationId: string | null;
|
|
483
|
-
sourceType: "internal" | "
|
|
455
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
484
456
|
externalBookingRef: string | null;
|
|
485
457
|
communicationLanguage: string | null;
|
|
486
458
|
sellCurrency: string;
|
|
@@ -619,7 +591,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
619
591
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
620
592
|
personId: string | null;
|
|
621
593
|
organizationId: string | null;
|
|
622
|
-
sourceType: "internal" | "
|
|
594
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
623
595
|
externalBookingRef: string | null;
|
|
624
596
|
communicationLanguage: string | null;
|
|
625
597
|
sellCurrency: string;
|
|
@@ -695,7 +667,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
695
667
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
696
668
|
personId: string | null;
|
|
697
669
|
organizationId: string | null;
|
|
698
|
-
sourceType: "internal" | "
|
|
670
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
699
671
|
externalBookingRef: string | null;
|
|
700
672
|
communicationLanguage: string | null;
|
|
701
673
|
sellCurrency: string;
|
|
@@ -771,7 +743,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
771
743
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
772
744
|
personId: string | null;
|
|
773
745
|
organizationId: string | null;
|
|
774
|
-
sourceType: "internal" | "
|
|
746
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
775
747
|
externalBookingRef: string | null;
|
|
776
748
|
communicationLanguage: string | null;
|
|
777
749
|
sellCurrency: string;
|
|
@@ -860,7 +832,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
860
832
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
861
833
|
personId: string | null;
|
|
862
834
|
organizationId: string | null;
|
|
863
|
-
sourceType: "internal" | "
|
|
835
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
864
836
|
externalBookingRef: string | null;
|
|
865
837
|
communicationLanguage: string | null;
|
|
866
838
|
sellCurrency: string;
|
|
@@ -918,7 +890,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
918
890
|
pricingCategoryId: string | null;
|
|
919
891
|
availabilitySlotId: string | null;
|
|
920
892
|
quantity: number;
|
|
921
|
-
allocationType: "
|
|
893
|
+
allocationType: "resource" | "unit" | "pickup";
|
|
922
894
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
923
895
|
holdExpiresAt: string | null;
|
|
924
896
|
confirmedAt: string | null;
|
|
@@ -976,73 +948,9 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
976
948
|
participantId: string;
|
|
977
949
|
};
|
|
978
950
|
};
|
|
979
|
-
output: {
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
outputFormat: "json";
|
|
983
|
-
status: 401;
|
|
984
|
-
} | {
|
|
985
|
-
input: {
|
|
986
|
-
param: {
|
|
987
|
-
id: string;
|
|
988
|
-
} & {
|
|
989
|
-
participantId: string;
|
|
990
|
-
};
|
|
991
|
-
};
|
|
992
|
-
output: {
|
|
993
|
-
error: string;
|
|
994
|
-
};
|
|
995
|
-
outputFormat: "json";
|
|
996
|
-
status: 403;
|
|
997
|
-
} | {
|
|
998
|
-
input: {
|
|
999
|
-
param: {
|
|
1000
|
-
id: string;
|
|
1001
|
-
} & {
|
|
1002
|
-
participantId: string;
|
|
1003
|
-
};
|
|
1004
|
-
};
|
|
1005
|
-
output: {
|
|
1006
|
-
error: string;
|
|
1007
|
-
};
|
|
1008
|
-
outputFormat: "json";
|
|
1009
|
-
status: 500;
|
|
1010
|
-
} | {
|
|
1011
|
-
input: {
|
|
1012
|
-
param: {
|
|
1013
|
-
id: string;
|
|
1014
|
-
} & {
|
|
1015
|
-
participantId: string;
|
|
1016
|
-
};
|
|
1017
|
-
};
|
|
1018
|
-
output: {
|
|
1019
|
-
error: string;
|
|
1020
|
-
};
|
|
1021
|
-
outputFormat: "json";
|
|
1022
|
-
status: 404;
|
|
1023
|
-
} | {
|
|
1024
|
-
input: {
|
|
1025
|
-
param: {
|
|
1026
|
-
id: string;
|
|
1027
|
-
} & {
|
|
1028
|
-
participantId: string;
|
|
1029
|
-
};
|
|
1030
|
-
};
|
|
1031
|
-
output: {
|
|
1032
|
-
data: {
|
|
1033
|
-
participantId: string;
|
|
1034
|
-
nationality: string | null;
|
|
1035
|
-
passportNumber: string | null;
|
|
1036
|
-
passportExpiry: string | null;
|
|
1037
|
-
dateOfBirth: string | null;
|
|
1038
|
-
dietaryRequirements: string | null;
|
|
1039
|
-
isLeadTraveler: boolean;
|
|
1040
|
-
createdAt: string;
|
|
1041
|
-
updatedAt: string;
|
|
1042
|
-
};
|
|
1043
|
-
};
|
|
1044
|
-
outputFormat: "json";
|
|
1045
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
951
|
+
output: {};
|
|
952
|
+
outputFormat: string;
|
|
953
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
1046
954
|
};
|
|
1047
955
|
};
|
|
1048
956
|
} & {
|
|
@@ -1098,73 +1006,9 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1098
1006
|
participantId: string;
|
|
1099
1007
|
};
|
|
1100
1008
|
};
|
|
1101
|
-
output: {
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
outputFormat: "json";
|
|
1105
|
-
status: 401;
|
|
1106
|
-
} | {
|
|
1107
|
-
input: {
|
|
1108
|
-
param: {
|
|
1109
|
-
id: string;
|
|
1110
|
-
} & {
|
|
1111
|
-
participantId: string;
|
|
1112
|
-
};
|
|
1113
|
-
};
|
|
1114
|
-
output: {
|
|
1115
|
-
error: string;
|
|
1116
|
-
};
|
|
1117
|
-
outputFormat: "json";
|
|
1118
|
-
status: 403;
|
|
1119
|
-
} | {
|
|
1120
|
-
input: {
|
|
1121
|
-
param: {
|
|
1122
|
-
id: string;
|
|
1123
|
-
} & {
|
|
1124
|
-
participantId: string;
|
|
1125
|
-
};
|
|
1126
|
-
};
|
|
1127
|
-
output: {
|
|
1128
|
-
error: string;
|
|
1129
|
-
};
|
|
1130
|
-
outputFormat: "json";
|
|
1131
|
-
status: 500;
|
|
1132
|
-
} | {
|
|
1133
|
-
input: {
|
|
1134
|
-
param: {
|
|
1135
|
-
id: string;
|
|
1136
|
-
} & {
|
|
1137
|
-
participantId: string;
|
|
1138
|
-
};
|
|
1139
|
-
};
|
|
1140
|
-
output: {
|
|
1141
|
-
error: string;
|
|
1142
|
-
};
|
|
1143
|
-
outputFormat: "json";
|
|
1144
|
-
status: 404;
|
|
1145
|
-
} | {
|
|
1146
|
-
input: {
|
|
1147
|
-
param: {
|
|
1148
|
-
id: string;
|
|
1149
|
-
} & {
|
|
1150
|
-
participantId: string;
|
|
1151
|
-
};
|
|
1152
|
-
};
|
|
1153
|
-
output: {
|
|
1154
|
-
data: {
|
|
1155
|
-
participantId: string;
|
|
1156
|
-
nationality: string | null;
|
|
1157
|
-
passportNumber: string | null;
|
|
1158
|
-
passportExpiry: string | null;
|
|
1159
|
-
dateOfBirth: string | null;
|
|
1160
|
-
dietaryRequirements: string | null;
|
|
1161
|
-
isLeadTraveler: boolean;
|
|
1162
|
-
createdAt: string;
|
|
1163
|
-
updatedAt: string;
|
|
1164
|
-
};
|
|
1165
|
-
};
|
|
1166
|
-
outputFormat: "json";
|
|
1167
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1009
|
+
output: {};
|
|
1010
|
+
outputFormat: string;
|
|
1011
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
1168
1012
|
};
|
|
1169
1013
|
};
|
|
1170
1014
|
} & {
|
|
@@ -1224,63 +1068,9 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1224
1068
|
participantId: string;
|
|
1225
1069
|
};
|
|
1226
1070
|
};
|
|
1227
|
-
output: {
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
outputFormat: "json";
|
|
1231
|
-
status: 401;
|
|
1232
|
-
} | {
|
|
1233
|
-
input: {
|
|
1234
|
-
param: {
|
|
1235
|
-
id: string;
|
|
1236
|
-
} & {
|
|
1237
|
-
participantId: string;
|
|
1238
|
-
};
|
|
1239
|
-
};
|
|
1240
|
-
output: {
|
|
1241
|
-
error: string;
|
|
1242
|
-
};
|
|
1243
|
-
outputFormat: "json";
|
|
1244
|
-
status: 403;
|
|
1245
|
-
} | {
|
|
1246
|
-
input: {
|
|
1247
|
-
param: {
|
|
1248
|
-
id: string;
|
|
1249
|
-
} & {
|
|
1250
|
-
participantId: string;
|
|
1251
|
-
};
|
|
1252
|
-
};
|
|
1253
|
-
output: {
|
|
1254
|
-
error: string;
|
|
1255
|
-
};
|
|
1256
|
-
outputFormat: "json";
|
|
1257
|
-
status: 500;
|
|
1258
|
-
} | {
|
|
1259
|
-
input: {
|
|
1260
|
-
param: {
|
|
1261
|
-
id: string;
|
|
1262
|
-
} & {
|
|
1263
|
-
participantId: string;
|
|
1264
|
-
};
|
|
1265
|
-
};
|
|
1266
|
-
output: {
|
|
1267
|
-
error: string;
|
|
1268
|
-
};
|
|
1269
|
-
outputFormat: "json";
|
|
1270
|
-
status: 404;
|
|
1271
|
-
} | {
|
|
1272
|
-
input: {
|
|
1273
|
-
param: {
|
|
1274
|
-
id: string;
|
|
1275
|
-
} & {
|
|
1276
|
-
participantId: string;
|
|
1277
|
-
};
|
|
1278
|
-
};
|
|
1279
|
-
output: {
|
|
1280
|
-
success: true;
|
|
1281
|
-
};
|
|
1282
|
-
outputFormat: "json";
|
|
1283
|
-
status: 200;
|
|
1071
|
+
output: {};
|
|
1072
|
+
outputFormat: string;
|
|
1073
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
1284
1074
|
};
|
|
1285
1075
|
};
|
|
1286
1076
|
} & {
|
|
@@ -1461,7 +1251,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1461
1251
|
bookingId: string;
|
|
1462
1252
|
title: string;
|
|
1463
1253
|
description: string | null;
|
|
1464
|
-
itemType: "
|
|
1254
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1465
1255
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
1466
1256
|
serviceDate: string | null;
|
|
1467
1257
|
startsAt: string | null;
|
|
@@ -1524,12 +1314,12 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1524
1314
|
metadata: {
|
|
1525
1315
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1526
1316
|
} | null;
|
|
1317
|
+
description: string | null;
|
|
1527
1318
|
sellCurrency: string;
|
|
1528
1319
|
bookingId: string;
|
|
1529
1320
|
optionUnitId: string | null;
|
|
1530
1321
|
title: string;
|
|
1531
|
-
|
|
1532
|
-
itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1322
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1533
1323
|
serviceDate: string | null;
|
|
1534
1324
|
quantity: number;
|
|
1535
1325
|
unitSellAmountCents: number | null;
|
|
@@ -1575,7 +1365,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1575
1365
|
bookingId: string;
|
|
1576
1366
|
title: string;
|
|
1577
1367
|
description: string | null;
|
|
1578
|
-
itemType: "
|
|
1368
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1579
1369
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
1580
1370
|
serviceDate: string | null;
|
|
1581
1371
|
startsAt: string | null;
|
|
@@ -2010,10 +1800,10 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2010
1800
|
data: {
|
|
2011
1801
|
id: string;
|
|
2012
1802
|
createdAt: string;
|
|
2013
|
-
method: "other" | "manual" | "api" | "scan";
|
|
2014
1803
|
metadata: {
|
|
2015
1804
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2016
1805
|
} | null;
|
|
1806
|
+
method: "other" | "manual" | "api" | "scan";
|
|
2017
1807
|
redeemedAt: string;
|
|
2018
1808
|
bookingId: string;
|
|
2019
1809
|
participantId: string | null;
|
|
@@ -2109,17 +1899,6 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2109
1899
|
} & {
|
|
2110
1900
|
"/:id/notes": {
|
|
2111
1901
|
$post: {
|
|
2112
|
-
input: {
|
|
2113
|
-
param: {
|
|
2114
|
-
id: string;
|
|
2115
|
-
};
|
|
2116
|
-
};
|
|
2117
|
-
output: {
|
|
2118
|
-
error: string;
|
|
2119
|
-
};
|
|
2120
|
-
outputFormat: "json";
|
|
2121
|
-
status: 400;
|
|
2122
|
-
} | {
|
|
2123
1902
|
input: {
|
|
2124
1903
|
param: {
|
|
2125
1904
|
id: string;
|
|
@@ -2326,7 +2105,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2326
2105
|
endDate: string | null;
|
|
2327
2106
|
bookingNumber: string;
|
|
2328
2107
|
personId: string | null;
|
|
2329
|
-
sourceType: "internal" | "
|
|
2108
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
2330
2109
|
externalBookingRef: string | null;
|
|
2331
2110
|
communicationLanguage: string | null;
|
|
2332
2111
|
sellCurrency: string;
|
|
@@ -2452,7 +2231,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2452
2231
|
endDate: string | null;
|
|
2453
2232
|
bookingNumber: string;
|
|
2454
2233
|
personId: string | null;
|
|
2455
|
-
sourceType: "internal" | "
|
|
2234
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
2456
2235
|
externalBookingRef: string | null;
|
|
2457
2236
|
communicationLanguage: string | null;
|
|
2458
2237
|
sellCurrency: string;
|
package/dist/routes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAqM7C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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