aves-sdk 1.0.0 → 1.0.2

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 CHANGED
@@ -3,15 +3,6 @@ import { AxiosRequestConfig } from 'axios';
3
3
  import * as _nestjs_config from '@nestjs/config';
4
4
  import { z, ZodSchema, ZodError } from 'zod';
5
5
 
6
- type DateString = string & {
7
- readonly __brand: 'DateString';
8
- };
9
- type DateTimeString = string & {
10
- readonly __brand: 'DateTimeString';
11
- };
12
- type TimeString = string & {
13
- readonly __brand: 'TimeString';
14
- };
15
6
  type AddressType = 'home' | 'work' | 'billing' | 'delivery';
16
7
  type ContactType = 'home' | 'work' | 'mobile' | 'fax';
17
8
  type EmailType = 'home' | 'work';
@@ -64,7 +55,7 @@ interface Customer {
64
55
  firstName: string;
65
56
  lastName: string;
66
57
  middleName?: string;
67
- dateOfBirth?: DateString;
58
+ dateOfBirth?: string;
68
59
  gender?: GenderType;
69
60
  nationality?: string;
70
61
  };
@@ -88,12 +79,12 @@ interface BookingPassenger {
88
79
  firstName: string;
89
80
  lastName: string;
90
81
  middleName?: string;
91
- dateOfBirth?: DateString;
82
+ dateOfBirth?: string;
92
83
  gender?: GenderType;
93
84
  nationality?: string;
94
85
  passport?: {
95
86
  number: string;
96
- expiryDate: DateString;
87
+ expiryDate: string;
97
88
  issuingCountry: string;
98
89
  };
99
90
  address?: CustomerAddress;
@@ -106,8 +97,8 @@ interface BookingService {
106
97
  code?: string;
107
98
  name?: string;
108
99
  description?: string;
109
- startDate?: DateString;
110
- endDate?: DateString;
100
+ startDate?: string;
101
+ endDate?: string;
111
102
  price?: {
112
103
  currency: string;
113
104
  amount: number;
@@ -178,8 +169,8 @@ interface AddPaymentRequest {
178
169
  interface BookingResponse {
179
170
  id: string;
180
171
  status: BookingStatusType;
181
- createdAt: DateTimeString;
182
- updatedAt: DateTimeString;
172
+ createdAt: string;
173
+ updatedAt: string;
183
174
  customer: Customer;
184
175
  passengers: BookingPassenger[];
185
176
  services: BookingService[];
@@ -209,7 +200,7 @@ interface DocumentResponse {
209
200
  type: string;
210
201
  format: string;
211
202
  size: number;
212
- createdAt: DateTimeString;
203
+ createdAt: string;
213
204
  downloadUrl?: string;
214
205
  deliveryStatus?: {
215
206
  status: DeliveryStatusType;
@@ -595,14 +586,9 @@ declare function mapDocumentFormatToXml(format: string): 'PDF' | 'HTML' | 'XML';
595
586
  declare function mapDeliveryMethodToXml(method: string): 'EMAIL' | 'SMS' | 'DOWNLOAD';
596
587
  declare function mapSearchOperatorToXml(operator: string): 'EQUALS' | 'CONTAINS' | 'STARTS_WITH' | 'ENDS_WITH';
597
588
 
598
- declare const createDateString: (date: string) => DateString;
599
- declare const createDateTimeString: (dateTime: string) => DateTimeString;
600
- declare const createTimeString: (time: string) => TimeString;
601
- declare const getCurrentDateString: () => DateString;
602
- declare const getCurrentDateTimeString: () => DateTimeString;
603
- declare const isValidDateString: (date: string) => date is DateString;
604
- declare const isValidDateTimeString: (dateTime: string) => dateTime is DateTimeString;
605
- declare const isValidTimeString: (time: string) => time is TimeString;
589
+ declare const createDateString: (date: string | Date) => string;
590
+ declare const createDateTimeString: (dateTime: string | Date) => string;
591
+ declare const createTimeString: (time: string) => string;
606
592
 
607
593
  interface RqHeader {
608
594
  '@HostID': string;
@@ -1162,6 +1148,1797 @@ declare class AvesValidator<T = unknown> {
1162
1148
  }
1163
1149
  declare function createAvesValidator<T>(schema: ZodSchema<T>): AvesValidator<T>;
1164
1150
 
1151
+ declare const addressTypeSchema: z.ZodEnum<{
1152
+ home: "home";
1153
+ work: "work";
1154
+ billing: "billing";
1155
+ delivery: "delivery";
1156
+ }>;
1157
+ declare const contactTypeSchema: z.ZodEnum<{
1158
+ home: "home";
1159
+ work: "work";
1160
+ mobile: "mobile";
1161
+ fax: "fax";
1162
+ }>;
1163
+ declare const emailTypeSchema: z.ZodEnum<{
1164
+ home: "home";
1165
+ work: "work";
1166
+ }>;
1167
+ declare const passengerTypeSchema: z.ZodEnum<{
1168
+ adult: "adult";
1169
+ child: "child";
1170
+ infant: "infant";
1171
+ }>;
1172
+ declare const titleTypeSchema: z.ZodEnum<{
1173
+ mr: "mr";
1174
+ mrs: "mrs";
1175
+ ms: "ms";
1176
+ dr: "dr";
1177
+ prof: "prof";
1178
+ }>;
1179
+ declare const genderTypeSchema: z.ZodEnum<{
1180
+ male: "male";
1181
+ female: "female";
1182
+ }>;
1183
+ declare const serviceTypeSchema: z.ZodEnum<{
1184
+ flight: "flight";
1185
+ hotel: "hotel";
1186
+ car: "car";
1187
+ transfer: "transfer";
1188
+ insurance: "insurance";
1189
+ }>;
1190
+ declare const serviceStatusTypeSchema: z.ZodEnum<{
1191
+ confirmed: "confirmed";
1192
+ pending: "pending";
1193
+ cancelled: "cancelled";
1194
+ }>;
1195
+ declare const paymentTypeSchema: z.ZodEnum<{
1196
+ credit_card: "credit_card";
1197
+ debit_card: "debit_card";
1198
+ bank_transfer: "bank_transfer";
1199
+ cash: "cash";
1200
+ }>;
1201
+ declare const paymentStatusTypeSchema: z.ZodEnum<{
1202
+ confirmed: "confirmed";
1203
+ pending: "pending";
1204
+ failed: "failed";
1205
+ }>;
1206
+ declare const customerTypeSchema: z.ZodEnum<{
1207
+ customer: "customer";
1208
+ agent: "agent";
1209
+ supplier: "supplier";
1210
+ }>;
1211
+ declare const searchOperatorTypeSchema: z.ZodEnum<{
1212
+ equals: "equals";
1213
+ contains: "contains";
1214
+ starts_with: "starts_with";
1215
+ ends_with: "ends_with";
1216
+ }>;
1217
+ declare const bookingTypeSchema: z.ZodEnum<{
1218
+ individual: "individual";
1219
+ group: "group";
1220
+ corporate: "corporate";
1221
+ }>;
1222
+ declare const priorityTypeSchema: z.ZodEnum<{
1223
+ low: "low";
1224
+ normal: "normal";
1225
+ high: "high";
1226
+ urgent: "urgent";
1227
+ }>;
1228
+ declare const specialRequestTypeSchema: z.ZodEnum<{
1229
+ meal: "meal";
1230
+ seat: "seat";
1231
+ wheelchair: "wheelchair";
1232
+ other: "other";
1233
+ }>;
1234
+ declare const cancelReasonTypeSchema: z.ZodEnum<{
1235
+ other: "other";
1236
+ customer_request: "customer_request";
1237
+ no_show: "no_show";
1238
+ operational: "operational";
1239
+ }>;
1240
+ declare const refundMethodTypeSchema: z.ZodEnum<{
1241
+ cash: "cash";
1242
+ original_payment: "original_payment";
1243
+ credit: "credit";
1244
+ }>;
1245
+ declare const documentTypeSchema: z.ZodEnum<{
1246
+ confirmation: "confirmation";
1247
+ invoice: "invoice";
1248
+ voucher: "voucher";
1249
+ ticket: "ticket";
1250
+ all: "all";
1251
+ }>;
1252
+ declare const documentFormatTypeSchema: z.ZodEnum<{
1253
+ pdf: "pdf";
1254
+ html: "html";
1255
+ xml: "xml";
1256
+ }>;
1257
+ declare const deliveryMethodTypeSchema: z.ZodEnum<{
1258
+ email: "email";
1259
+ sms: "sms";
1260
+ download: "download";
1261
+ }>;
1262
+ declare const bookingStatusTypeSchema: z.ZodEnum<{
1263
+ confirmed: "confirmed";
1264
+ pending: "pending";
1265
+ cancelled: "cancelled";
1266
+ completed: "completed";
1267
+ }>;
1268
+ declare const pricingItemTypeSchema: z.ZodEnum<{
1269
+ service: "service";
1270
+ tax: "tax";
1271
+ fee: "fee";
1272
+ discount: "discount";
1273
+ }>;
1274
+ declare const deliveryStatusTypeSchema: z.ZodEnum<{
1275
+ pending: "pending";
1276
+ failed: "failed";
1277
+ sent: "sent";
1278
+ }>;
1279
+ declare const customerStatusTypeSchema: z.ZodEnum<{
1280
+ active: "active";
1281
+ inactive: "inactive";
1282
+ suspended: "suspended";
1283
+ }>;
1284
+ declare const communicationMethodTypeSchema: z.ZodEnum<{
1285
+ email: "email";
1286
+ sms: "sms";
1287
+ phone: "phone";
1288
+ }>;
1289
+ declare const customerAddressSchema: z.ZodObject<{
1290
+ type: z.ZodOptional<z.ZodEnum<{
1291
+ home: "home";
1292
+ work: "work";
1293
+ billing: "billing";
1294
+ delivery: "delivery";
1295
+ }>>;
1296
+ street: z.ZodOptional<z.ZodString>;
1297
+ city: z.ZodOptional<z.ZodString>;
1298
+ state: z.ZodOptional<z.ZodString>;
1299
+ postalCode: z.ZodOptional<z.ZodString>;
1300
+ country: z.ZodOptional<z.ZodString>;
1301
+ }, z.core.$strip>;
1302
+ declare const customerContactSchema: z.ZodObject<{
1303
+ phone: z.ZodOptional<z.ZodObject<{
1304
+ type: z.ZodOptional<z.ZodEnum<{
1305
+ home: "home";
1306
+ work: "work";
1307
+ mobile: "mobile";
1308
+ fax: "fax";
1309
+ }>>;
1310
+ number: z.ZodString;
1311
+ }, z.core.$strip>>;
1312
+ email: z.ZodOptional<z.ZodObject<{
1313
+ type: z.ZodOptional<z.ZodEnum<{
1314
+ home: "home";
1315
+ work: "work";
1316
+ }>>;
1317
+ address: z.ZodString;
1318
+ }, z.core.$strip>>;
1319
+ }, z.core.$strip>;
1320
+ declare const customerSchema: z.ZodObject<{
1321
+ id: z.ZodString;
1322
+ type: z.ZodEnum<{
1323
+ customer: "customer";
1324
+ agent: "agent";
1325
+ supplier: "supplier";
1326
+ }>;
1327
+ status: z.ZodEnum<{
1328
+ active: "active";
1329
+ inactive: "inactive";
1330
+ suspended: "suspended";
1331
+ }>;
1332
+ personalInfo: z.ZodOptional<z.ZodObject<{
1333
+ title: z.ZodOptional<z.ZodString>;
1334
+ firstName: z.ZodString;
1335
+ lastName: z.ZodString;
1336
+ middleName: z.ZodOptional<z.ZodString>;
1337
+ dateOfBirth: z.ZodOptional<z.ZodString>;
1338
+ gender: z.ZodOptional<z.ZodEnum<{
1339
+ male: "male";
1340
+ female: "female";
1341
+ }>>;
1342
+ nationality: z.ZodOptional<z.ZodString>;
1343
+ }, z.core.$strip>>;
1344
+ contact: z.ZodOptional<z.ZodObject<{
1345
+ phone: z.ZodOptional<z.ZodObject<{
1346
+ type: z.ZodOptional<z.ZodEnum<{
1347
+ home: "home";
1348
+ work: "work";
1349
+ mobile: "mobile";
1350
+ fax: "fax";
1351
+ }>>;
1352
+ number: z.ZodString;
1353
+ }, z.core.$strip>>;
1354
+ email: z.ZodOptional<z.ZodObject<{
1355
+ type: z.ZodOptional<z.ZodEnum<{
1356
+ home: "home";
1357
+ work: "work";
1358
+ }>>;
1359
+ address: z.ZodString;
1360
+ }, z.core.$strip>>;
1361
+ }, z.core.$strip>>;
1362
+ address: z.ZodOptional<z.ZodObject<{
1363
+ type: z.ZodOptional<z.ZodEnum<{
1364
+ home: "home";
1365
+ work: "work";
1366
+ billing: "billing";
1367
+ delivery: "delivery";
1368
+ }>>;
1369
+ street: z.ZodOptional<z.ZodString>;
1370
+ city: z.ZodOptional<z.ZodString>;
1371
+ state: z.ZodOptional<z.ZodString>;
1372
+ postalCode: z.ZodOptional<z.ZodString>;
1373
+ country: z.ZodOptional<z.ZodString>;
1374
+ }, z.core.$strip>>;
1375
+ businessInfo: z.ZodOptional<z.ZodObject<{
1376
+ companyName: z.ZodOptional<z.ZodString>;
1377
+ taxId: z.ZodOptional<z.ZodString>;
1378
+ licenseNumber: z.ZodOptional<z.ZodString>;
1379
+ }, z.core.$strip>>;
1380
+ preferences: z.ZodOptional<z.ZodObject<{
1381
+ language: z.ZodOptional<z.ZodString>;
1382
+ currency: z.ZodOptional<z.ZodString>;
1383
+ communicationMethod: z.ZodOptional<z.ZodEnum<{
1384
+ email: "email";
1385
+ sms: "sms";
1386
+ phone: "phone";
1387
+ }>>;
1388
+ }, z.core.$strip>>;
1389
+ }, z.core.$strip>;
1390
+ declare const bookingPassengerSchema: z.ZodObject<{
1391
+ id: z.ZodString;
1392
+ type: z.ZodEnum<{
1393
+ adult: "adult";
1394
+ child: "child";
1395
+ infant: "infant";
1396
+ }>;
1397
+ title: z.ZodOptional<z.ZodEnum<{
1398
+ mr: "mr";
1399
+ mrs: "mrs";
1400
+ ms: "ms";
1401
+ dr: "dr";
1402
+ prof: "prof";
1403
+ }>>;
1404
+ firstName: z.ZodString;
1405
+ lastName: z.ZodString;
1406
+ middleName: z.ZodOptional<z.ZodString>;
1407
+ dateOfBirth: z.ZodOptional<z.ZodString>;
1408
+ gender: z.ZodOptional<z.ZodEnum<{
1409
+ male: "male";
1410
+ female: "female";
1411
+ }>>;
1412
+ nationality: z.ZodOptional<z.ZodString>;
1413
+ passport: z.ZodOptional<z.ZodObject<{
1414
+ number: z.ZodString;
1415
+ expiryDate: z.ZodString;
1416
+ issuingCountry: z.ZodString;
1417
+ }, z.core.$strip>>;
1418
+ address: z.ZodOptional<z.ZodObject<{
1419
+ type: z.ZodOptional<z.ZodEnum<{
1420
+ home: "home";
1421
+ work: "work";
1422
+ billing: "billing";
1423
+ delivery: "delivery";
1424
+ }>>;
1425
+ street: z.ZodOptional<z.ZodString>;
1426
+ city: z.ZodOptional<z.ZodString>;
1427
+ state: z.ZodOptional<z.ZodString>;
1428
+ postalCode: z.ZodOptional<z.ZodString>;
1429
+ country: z.ZodOptional<z.ZodString>;
1430
+ }, z.core.$strip>>;
1431
+ contact: z.ZodOptional<z.ZodObject<{
1432
+ phone: z.ZodOptional<z.ZodObject<{
1433
+ type: z.ZodOptional<z.ZodEnum<{
1434
+ home: "home";
1435
+ work: "work";
1436
+ mobile: "mobile";
1437
+ fax: "fax";
1438
+ }>>;
1439
+ number: z.ZodString;
1440
+ }, z.core.$strip>>;
1441
+ email: z.ZodOptional<z.ZodObject<{
1442
+ type: z.ZodOptional<z.ZodEnum<{
1443
+ home: "home";
1444
+ work: "work";
1445
+ }>>;
1446
+ address: z.ZodString;
1447
+ }, z.core.$strip>>;
1448
+ }, z.core.$strip>>;
1449
+ }, z.core.$strip>;
1450
+ declare const bookingServiceSchema: z.ZodObject<{
1451
+ id: z.ZodString;
1452
+ type: z.ZodEnum<{
1453
+ flight: "flight";
1454
+ hotel: "hotel";
1455
+ car: "car";
1456
+ transfer: "transfer";
1457
+ insurance: "insurance";
1458
+ }>;
1459
+ status: z.ZodEnum<{
1460
+ confirmed: "confirmed";
1461
+ pending: "pending";
1462
+ cancelled: "cancelled";
1463
+ }>;
1464
+ code: z.ZodOptional<z.ZodString>;
1465
+ name: z.ZodOptional<z.ZodString>;
1466
+ description: z.ZodOptional<z.ZodString>;
1467
+ startDate: z.ZodOptional<z.ZodString>;
1468
+ endDate: z.ZodOptional<z.ZodString>;
1469
+ price: z.ZodOptional<z.ZodObject<{
1470
+ currency: z.ZodString;
1471
+ amount: z.ZodNumber;
1472
+ }, z.core.$strip>>;
1473
+ }, z.core.$strip>;
1474
+ declare const bookingPaymentSchema: z.ZodObject<{
1475
+ id: z.ZodString;
1476
+ type: z.ZodEnum<{
1477
+ credit_card: "credit_card";
1478
+ debit_card: "debit_card";
1479
+ bank_transfer: "bank_transfer";
1480
+ cash: "cash";
1481
+ }>;
1482
+ status: z.ZodEnum<{
1483
+ confirmed: "confirmed";
1484
+ pending: "pending";
1485
+ failed: "failed";
1486
+ }>;
1487
+ amount: z.ZodObject<{
1488
+ currency: z.ZodString;
1489
+ amount: z.ZodNumber;
1490
+ }, z.core.$strip>;
1491
+ details: z.ZodOptional<z.ZodObject<{
1492
+ cardNumber: z.ZodOptional<z.ZodString>;
1493
+ expiryDate: z.ZodOptional<z.ZodString>;
1494
+ cardHolderName: z.ZodOptional<z.ZodString>;
1495
+ }, z.core.$strip>>;
1496
+ }, z.core.$strip>;
1497
+ declare const searchCustomerRequestSchema: z.ZodObject<{
1498
+ type: z.ZodEnum<{
1499
+ customer: "customer";
1500
+ agent: "agent";
1501
+ supplier: "supplier";
1502
+ }>;
1503
+ fields: z.ZodArray<z.ZodObject<{
1504
+ name: z.ZodString;
1505
+ value: z.ZodString;
1506
+ operator: z.ZodOptional<z.ZodEnum<{
1507
+ equals: "equals";
1508
+ contains: "contains";
1509
+ starts_with: "starts_with";
1510
+ ends_with: "ends_with";
1511
+ }>>;
1512
+ }, z.core.$strip>>;
1513
+ pagination: z.ZodOptional<z.ZodObject<{
1514
+ pageSize: z.ZodNumber;
1515
+ pageNumber: z.ZodNumber;
1516
+ }, z.core.$strip>>;
1517
+ }, z.core.$strip>;
1518
+ declare const createBookingRequestSchema: z.ZodObject<{
1519
+ type: z.ZodEnum<{
1520
+ individual: "individual";
1521
+ group: "group";
1522
+ corporate: "corporate";
1523
+ }>;
1524
+ priority: z.ZodEnum<{
1525
+ low: "low";
1526
+ normal: "normal";
1527
+ high: "high";
1528
+ urgent: "urgent";
1529
+ }>;
1530
+ customerId: z.ZodOptional<z.ZodString>;
1531
+ customerDetails: z.ZodOptional<z.ZodObject<{
1532
+ id: z.ZodString;
1533
+ type: z.ZodEnum<{
1534
+ customer: "customer";
1535
+ agent: "agent";
1536
+ supplier: "supplier";
1537
+ }>;
1538
+ status: z.ZodEnum<{
1539
+ active: "active";
1540
+ inactive: "inactive";
1541
+ suspended: "suspended";
1542
+ }>;
1543
+ personalInfo: z.ZodOptional<z.ZodObject<{
1544
+ title: z.ZodOptional<z.ZodString>;
1545
+ firstName: z.ZodString;
1546
+ lastName: z.ZodString;
1547
+ middleName: z.ZodOptional<z.ZodString>;
1548
+ dateOfBirth: z.ZodOptional<z.ZodString>;
1549
+ gender: z.ZodOptional<z.ZodEnum<{
1550
+ male: "male";
1551
+ female: "female";
1552
+ }>>;
1553
+ nationality: z.ZodOptional<z.ZodString>;
1554
+ }, z.core.$strip>>;
1555
+ contact: z.ZodOptional<z.ZodObject<{
1556
+ phone: z.ZodOptional<z.ZodObject<{
1557
+ type: z.ZodOptional<z.ZodEnum<{
1558
+ home: "home";
1559
+ work: "work";
1560
+ mobile: "mobile";
1561
+ fax: "fax";
1562
+ }>>;
1563
+ number: z.ZodString;
1564
+ }, z.core.$strip>>;
1565
+ email: z.ZodOptional<z.ZodObject<{
1566
+ type: z.ZodOptional<z.ZodEnum<{
1567
+ home: "home";
1568
+ work: "work";
1569
+ }>>;
1570
+ address: z.ZodString;
1571
+ }, z.core.$strip>>;
1572
+ }, z.core.$strip>>;
1573
+ address: z.ZodOptional<z.ZodObject<{
1574
+ type: z.ZodOptional<z.ZodEnum<{
1575
+ home: "home";
1576
+ work: "work";
1577
+ billing: "billing";
1578
+ delivery: "delivery";
1579
+ }>>;
1580
+ street: z.ZodOptional<z.ZodString>;
1581
+ city: z.ZodOptional<z.ZodString>;
1582
+ state: z.ZodOptional<z.ZodString>;
1583
+ postalCode: z.ZodOptional<z.ZodString>;
1584
+ country: z.ZodOptional<z.ZodString>;
1585
+ }, z.core.$strip>>;
1586
+ businessInfo: z.ZodOptional<z.ZodObject<{
1587
+ companyName: z.ZodOptional<z.ZodString>;
1588
+ taxId: z.ZodOptional<z.ZodString>;
1589
+ licenseNumber: z.ZodOptional<z.ZodString>;
1590
+ }, z.core.$strip>>;
1591
+ preferences: z.ZodOptional<z.ZodObject<{
1592
+ language: z.ZodOptional<z.ZodString>;
1593
+ currency: z.ZodOptional<z.ZodString>;
1594
+ communicationMethod: z.ZodOptional<z.ZodEnum<{
1595
+ email: "email";
1596
+ sms: "sms";
1597
+ phone: "phone";
1598
+ }>>;
1599
+ }, z.core.$strip>>;
1600
+ }, z.core.$strip>>;
1601
+ passengers: z.ZodArray<z.ZodObject<{
1602
+ id: z.ZodString;
1603
+ type: z.ZodEnum<{
1604
+ adult: "adult";
1605
+ child: "child";
1606
+ infant: "infant";
1607
+ }>;
1608
+ title: z.ZodOptional<z.ZodEnum<{
1609
+ mr: "mr";
1610
+ mrs: "mrs";
1611
+ ms: "ms";
1612
+ dr: "dr";
1613
+ prof: "prof";
1614
+ }>>;
1615
+ firstName: z.ZodString;
1616
+ lastName: z.ZodString;
1617
+ middleName: z.ZodOptional<z.ZodString>;
1618
+ dateOfBirth: z.ZodOptional<z.ZodString>;
1619
+ gender: z.ZodOptional<z.ZodEnum<{
1620
+ male: "male";
1621
+ female: "female";
1622
+ }>>;
1623
+ nationality: z.ZodOptional<z.ZodString>;
1624
+ passport: z.ZodOptional<z.ZodObject<{
1625
+ number: z.ZodString;
1626
+ expiryDate: z.ZodString;
1627
+ issuingCountry: z.ZodString;
1628
+ }, z.core.$strip>>;
1629
+ address: z.ZodOptional<z.ZodObject<{
1630
+ type: z.ZodOptional<z.ZodEnum<{
1631
+ home: "home";
1632
+ work: "work";
1633
+ billing: "billing";
1634
+ delivery: "delivery";
1635
+ }>>;
1636
+ street: z.ZodOptional<z.ZodString>;
1637
+ city: z.ZodOptional<z.ZodString>;
1638
+ state: z.ZodOptional<z.ZodString>;
1639
+ postalCode: z.ZodOptional<z.ZodString>;
1640
+ country: z.ZodOptional<z.ZodString>;
1641
+ }, z.core.$strip>>;
1642
+ contact: z.ZodOptional<z.ZodObject<{
1643
+ phone: z.ZodOptional<z.ZodObject<{
1644
+ type: z.ZodOptional<z.ZodEnum<{
1645
+ home: "home";
1646
+ work: "work";
1647
+ mobile: "mobile";
1648
+ fax: "fax";
1649
+ }>>;
1650
+ number: z.ZodString;
1651
+ }, z.core.$strip>>;
1652
+ email: z.ZodOptional<z.ZodObject<{
1653
+ type: z.ZodOptional<z.ZodEnum<{
1654
+ home: "home";
1655
+ work: "work";
1656
+ }>>;
1657
+ address: z.ZodString;
1658
+ }, z.core.$strip>>;
1659
+ }, z.core.$strip>>;
1660
+ }, z.core.$strip>>;
1661
+ services: z.ZodArray<z.ZodObject<{
1662
+ id: z.ZodString;
1663
+ type: z.ZodEnum<{
1664
+ flight: "flight";
1665
+ hotel: "hotel";
1666
+ car: "car";
1667
+ transfer: "transfer";
1668
+ insurance: "insurance";
1669
+ }>;
1670
+ status: z.ZodEnum<{
1671
+ confirmed: "confirmed";
1672
+ pending: "pending";
1673
+ cancelled: "cancelled";
1674
+ }>;
1675
+ code: z.ZodOptional<z.ZodString>;
1676
+ name: z.ZodOptional<z.ZodString>;
1677
+ description: z.ZodOptional<z.ZodString>;
1678
+ startDate: z.ZodOptional<z.ZodString>;
1679
+ endDate: z.ZodOptional<z.ZodString>;
1680
+ price: z.ZodOptional<z.ZodObject<{
1681
+ currency: z.ZodString;
1682
+ amount: z.ZodNumber;
1683
+ }, z.core.$strip>>;
1684
+ }, z.core.$strip>>;
1685
+ specialRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
1686
+ type: z.ZodEnum<{
1687
+ meal: "meal";
1688
+ seat: "seat";
1689
+ wheelchair: "wheelchair";
1690
+ other: "other";
1691
+ }>;
1692
+ description: z.ZodString;
1693
+ }, z.core.$strip>>>;
1694
+ }, z.core.$strip>;
1695
+ declare const cancelBookingRequestSchema: z.ZodObject<{
1696
+ bookingId: z.ZodString;
1697
+ reason: z.ZodEnum<{
1698
+ other: "other";
1699
+ customer_request: "customer_request";
1700
+ no_show: "no_show";
1701
+ operational: "operational";
1702
+ }>;
1703
+ description: z.ZodOptional<z.ZodString>;
1704
+ refundRequest: z.ZodOptional<z.ZodObject<{
1705
+ amount: z.ZodNumber;
1706
+ currency: z.ZodString;
1707
+ method: z.ZodEnum<{
1708
+ cash: "cash";
1709
+ original_payment: "original_payment";
1710
+ credit: "credit";
1711
+ }>;
1712
+ }, z.core.$strip>>;
1713
+ }, z.core.$strip>;
1714
+ declare const printDocumentRequestSchema: z.ZodObject<{
1715
+ bookingId: z.ZodString;
1716
+ documentType: z.ZodEnum<{
1717
+ confirmation: "confirmation";
1718
+ invoice: "invoice";
1719
+ voucher: "voucher";
1720
+ ticket: "ticket";
1721
+ all: "all";
1722
+ }>;
1723
+ format: z.ZodEnum<{
1724
+ pdf: "pdf";
1725
+ html: "html";
1726
+ xml: "xml";
1727
+ }>;
1728
+ language: z.ZodOptional<z.ZodString>;
1729
+ deliveryMethod: z.ZodOptional<z.ZodObject<{
1730
+ type: z.ZodEnum<{
1731
+ email: "email";
1732
+ sms: "sms";
1733
+ download: "download";
1734
+ }>;
1735
+ address: z.ZodOptional<z.ZodString>;
1736
+ }, z.core.$strip>>;
1737
+ }, z.core.$strip>;
1738
+ declare const addPaymentRequestSchema: z.ZodObject<{
1739
+ bookingId: z.ZodString;
1740
+ payments: z.ZodArray<z.ZodObject<{
1741
+ id: z.ZodString;
1742
+ type: z.ZodEnum<{
1743
+ credit_card: "credit_card";
1744
+ debit_card: "debit_card";
1745
+ bank_transfer: "bank_transfer";
1746
+ cash: "cash";
1747
+ }>;
1748
+ status: z.ZodEnum<{
1749
+ confirmed: "confirmed";
1750
+ pending: "pending";
1751
+ failed: "failed";
1752
+ }>;
1753
+ amount: z.ZodObject<{
1754
+ currency: z.ZodString;
1755
+ amount: z.ZodNumber;
1756
+ }, z.core.$strip>;
1757
+ details: z.ZodOptional<z.ZodObject<{
1758
+ cardNumber: z.ZodOptional<z.ZodString>;
1759
+ expiryDate: z.ZodOptional<z.ZodString>;
1760
+ cardHolderName: z.ZodOptional<z.ZodString>;
1761
+ }, z.core.$strip>>;
1762
+ }, z.core.$strip>>;
1763
+ }, z.core.$strip>;
1764
+ declare const bookingResponseSchema: z.ZodObject<{
1765
+ id: z.ZodString;
1766
+ status: z.ZodEnum<{
1767
+ confirmed: "confirmed";
1768
+ pending: "pending";
1769
+ cancelled: "cancelled";
1770
+ completed: "completed";
1771
+ }>;
1772
+ createdAt: z.ZodString;
1773
+ updatedAt: z.ZodString;
1774
+ customer: z.ZodObject<{
1775
+ id: z.ZodString;
1776
+ type: z.ZodEnum<{
1777
+ customer: "customer";
1778
+ agent: "agent";
1779
+ supplier: "supplier";
1780
+ }>;
1781
+ status: z.ZodEnum<{
1782
+ active: "active";
1783
+ inactive: "inactive";
1784
+ suspended: "suspended";
1785
+ }>;
1786
+ personalInfo: z.ZodOptional<z.ZodObject<{
1787
+ title: z.ZodOptional<z.ZodString>;
1788
+ firstName: z.ZodString;
1789
+ lastName: z.ZodString;
1790
+ middleName: z.ZodOptional<z.ZodString>;
1791
+ dateOfBirth: z.ZodOptional<z.ZodString>;
1792
+ gender: z.ZodOptional<z.ZodEnum<{
1793
+ male: "male";
1794
+ female: "female";
1795
+ }>>;
1796
+ nationality: z.ZodOptional<z.ZodString>;
1797
+ }, z.core.$strip>>;
1798
+ contact: z.ZodOptional<z.ZodObject<{
1799
+ phone: z.ZodOptional<z.ZodObject<{
1800
+ type: z.ZodOptional<z.ZodEnum<{
1801
+ home: "home";
1802
+ work: "work";
1803
+ mobile: "mobile";
1804
+ fax: "fax";
1805
+ }>>;
1806
+ number: z.ZodString;
1807
+ }, z.core.$strip>>;
1808
+ email: z.ZodOptional<z.ZodObject<{
1809
+ type: z.ZodOptional<z.ZodEnum<{
1810
+ home: "home";
1811
+ work: "work";
1812
+ }>>;
1813
+ address: z.ZodString;
1814
+ }, z.core.$strip>>;
1815
+ }, z.core.$strip>>;
1816
+ address: z.ZodOptional<z.ZodObject<{
1817
+ type: z.ZodOptional<z.ZodEnum<{
1818
+ home: "home";
1819
+ work: "work";
1820
+ billing: "billing";
1821
+ delivery: "delivery";
1822
+ }>>;
1823
+ street: z.ZodOptional<z.ZodString>;
1824
+ city: z.ZodOptional<z.ZodString>;
1825
+ state: z.ZodOptional<z.ZodString>;
1826
+ postalCode: z.ZodOptional<z.ZodString>;
1827
+ country: z.ZodOptional<z.ZodString>;
1828
+ }, z.core.$strip>>;
1829
+ businessInfo: z.ZodOptional<z.ZodObject<{
1830
+ companyName: z.ZodOptional<z.ZodString>;
1831
+ taxId: z.ZodOptional<z.ZodString>;
1832
+ licenseNumber: z.ZodOptional<z.ZodString>;
1833
+ }, z.core.$strip>>;
1834
+ preferences: z.ZodOptional<z.ZodObject<{
1835
+ language: z.ZodOptional<z.ZodString>;
1836
+ currency: z.ZodOptional<z.ZodString>;
1837
+ communicationMethod: z.ZodOptional<z.ZodEnum<{
1838
+ email: "email";
1839
+ sms: "sms";
1840
+ phone: "phone";
1841
+ }>>;
1842
+ }, z.core.$strip>>;
1843
+ }, z.core.$strip>;
1844
+ passengers: z.ZodArray<z.ZodObject<{
1845
+ id: z.ZodString;
1846
+ type: z.ZodEnum<{
1847
+ adult: "adult";
1848
+ child: "child";
1849
+ infant: "infant";
1850
+ }>;
1851
+ title: z.ZodOptional<z.ZodEnum<{
1852
+ mr: "mr";
1853
+ mrs: "mrs";
1854
+ ms: "ms";
1855
+ dr: "dr";
1856
+ prof: "prof";
1857
+ }>>;
1858
+ firstName: z.ZodString;
1859
+ lastName: z.ZodString;
1860
+ middleName: z.ZodOptional<z.ZodString>;
1861
+ dateOfBirth: z.ZodOptional<z.ZodString>;
1862
+ gender: z.ZodOptional<z.ZodEnum<{
1863
+ male: "male";
1864
+ female: "female";
1865
+ }>>;
1866
+ nationality: z.ZodOptional<z.ZodString>;
1867
+ passport: z.ZodOptional<z.ZodObject<{
1868
+ number: z.ZodString;
1869
+ expiryDate: z.ZodString;
1870
+ issuingCountry: z.ZodString;
1871
+ }, z.core.$strip>>;
1872
+ address: z.ZodOptional<z.ZodObject<{
1873
+ type: z.ZodOptional<z.ZodEnum<{
1874
+ home: "home";
1875
+ work: "work";
1876
+ billing: "billing";
1877
+ delivery: "delivery";
1878
+ }>>;
1879
+ street: z.ZodOptional<z.ZodString>;
1880
+ city: z.ZodOptional<z.ZodString>;
1881
+ state: z.ZodOptional<z.ZodString>;
1882
+ postalCode: z.ZodOptional<z.ZodString>;
1883
+ country: z.ZodOptional<z.ZodString>;
1884
+ }, z.core.$strip>>;
1885
+ contact: z.ZodOptional<z.ZodObject<{
1886
+ phone: z.ZodOptional<z.ZodObject<{
1887
+ type: z.ZodOptional<z.ZodEnum<{
1888
+ home: "home";
1889
+ work: "work";
1890
+ mobile: "mobile";
1891
+ fax: "fax";
1892
+ }>>;
1893
+ number: z.ZodString;
1894
+ }, z.core.$strip>>;
1895
+ email: z.ZodOptional<z.ZodObject<{
1896
+ type: z.ZodOptional<z.ZodEnum<{
1897
+ home: "home";
1898
+ work: "work";
1899
+ }>>;
1900
+ address: z.ZodString;
1901
+ }, z.core.$strip>>;
1902
+ }, z.core.$strip>>;
1903
+ }, z.core.$strip>>;
1904
+ services: z.ZodArray<z.ZodObject<{
1905
+ id: z.ZodString;
1906
+ type: z.ZodEnum<{
1907
+ flight: "flight";
1908
+ hotel: "hotel";
1909
+ car: "car";
1910
+ transfer: "transfer";
1911
+ insurance: "insurance";
1912
+ }>;
1913
+ status: z.ZodEnum<{
1914
+ confirmed: "confirmed";
1915
+ pending: "pending";
1916
+ cancelled: "cancelled";
1917
+ }>;
1918
+ code: z.ZodOptional<z.ZodString>;
1919
+ name: z.ZodOptional<z.ZodString>;
1920
+ description: z.ZodOptional<z.ZodString>;
1921
+ startDate: z.ZodOptional<z.ZodString>;
1922
+ endDate: z.ZodOptional<z.ZodString>;
1923
+ price: z.ZodOptional<z.ZodObject<{
1924
+ currency: z.ZodString;
1925
+ amount: z.ZodNumber;
1926
+ }, z.core.$strip>>;
1927
+ }, z.core.$strip>>;
1928
+ pricing: z.ZodObject<{
1929
+ totalAmount: z.ZodObject<{
1930
+ currency: z.ZodString;
1931
+ amount: z.ZodNumber;
1932
+ }, z.core.$strip>;
1933
+ breakdowns: z.ZodOptional<z.ZodArray<z.ZodObject<{
1934
+ type: z.ZodEnum<{
1935
+ service: "service";
1936
+ tax: "tax";
1937
+ fee: "fee";
1938
+ discount: "discount";
1939
+ }>;
1940
+ description: z.ZodString;
1941
+ amount: z.ZodNumber;
1942
+ }, z.core.$strip>>>;
1943
+ }, z.core.$strip>;
1944
+ }, z.core.$strip>;
1945
+ declare const searchResponseSchema: z.ZodObject<{
1946
+ results: z.ZodArray<z.ZodObject<{
1947
+ id: z.ZodString;
1948
+ type: z.ZodEnum<{
1949
+ customer: "customer";
1950
+ agent: "agent";
1951
+ supplier: "supplier";
1952
+ }>;
1953
+ status: z.ZodEnum<{
1954
+ active: "active";
1955
+ inactive: "inactive";
1956
+ suspended: "suspended";
1957
+ }>;
1958
+ personalInfo: z.ZodOptional<z.ZodObject<{
1959
+ title: z.ZodOptional<z.ZodString>;
1960
+ firstName: z.ZodString;
1961
+ lastName: z.ZodString;
1962
+ middleName: z.ZodOptional<z.ZodString>;
1963
+ dateOfBirth: z.ZodOptional<z.ZodString>;
1964
+ gender: z.ZodOptional<z.ZodEnum<{
1965
+ male: "male";
1966
+ female: "female";
1967
+ }>>;
1968
+ nationality: z.ZodOptional<z.ZodString>;
1969
+ }, z.core.$strip>>;
1970
+ contact: z.ZodOptional<z.ZodObject<{
1971
+ phone: z.ZodOptional<z.ZodObject<{
1972
+ type: z.ZodOptional<z.ZodEnum<{
1973
+ home: "home";
1974
+ work: "work";
1975
+ mobile: "mobile";
1976
+ fax: "fax";
1977
+ }>>;
1978
+ number: z.ZodString;
1979
+ }, z.core.$strip>>;
1980
+ email: z.ZodOptional<z.ZodObject<{
1981
+ type: z.ZodOptional<z.ZodEnum<{
1982
+ home: "home";
1983
+ work: "work";
1984
+ }>>;
1985
+ address: z.ZodString;
1986
+ }, z.core.$strip>>;
1987
+ }, z.core.$strip>>;
1988
+ address: z.ZodOptional<z.ZodObject<{
1989
+ type: z.ZodOptional<z.ZodEnum<{
1990
+ home: "home";
1991
+ work: "work";
1992
+ billing: "billing";
1993
+ delivery: "delivery";
1994
+ }>>;
1995
+ street: z.ZodOptional<z.ZodString>;
1996
+ city: z.ZodOptional<z.ZodString>;
1997
+ state: z.ZodOptional<z.ZodString>;
1998
+ postalCode: z.ZodOptional<z.ZodString>;
1999
+ country: z.ZodOptional<z.ZodString>;
2000
+ }, z.core.$strip>>;
2001
+ businessInfo: z.ZodOptional<z.ZodObject<{
2002
+ companyName: z.ZodOptional<z.ZodString>;
2003
+ taxId: z.ZodOptional<z.ZodString>;
2004
+ licenseNumber: z.ZodOptional<z.ZodString>;
2005
+ }, z.core.$strip>>;
2006
+ preferences: z.ZodOptional<z.ZodObject<{
2007
+ language: z.ZodOptional<z.ZodString>;
2008
+ currency: z.ZodOptional<z.ZodString>;
2009
+ communicationMethod: z.ZodOptional<z.ZodEnum<{
2010
+ email: "email";
2011
+ sms: "sms";
2012
+ phone: "phone";
2013
+ }>>;
2014
+ }, z.core.$strip>>;
2015
+ }, z.core.$strip>>;
2016
+ pagination: z.ZodOptional<z.ZodObject<{
2017
+ totalRecords: z.ZodNumber;
2018
+ pageSize: z.ZodNumber;
2019
+ pageNumber: z.ZodNumber;
2020
+ totalPages: z.ZodNumber;
2021
+ }, z.core.$strip>>;
2022
+ }, z.core.$strip>;
2023
+ declare const documentResponseSchema: z.ZodObject<{
2024
+ id: z.ZodString;
2025
+ type: z.ZodString;
2026
+ format: z.ZodString;
2027
+ size: z.ZodNumber;
2028
+ createdAt: z.ZodString;
2029
+ downloadUrl: z.ZodOptional<z.ZodString>;
2030
+ deliveryStatus: z.ZodOptional<z.ZodObject<{
2031
+ status: z.ZodEnum<{
2032
+ pending: "pending";
2033
+ failed: "failed";
2034
+ sent: "sent";
2035
+ }>;
2036
+ method: z.ZodString;
2037
+ address: z.ZodOptional<z.ZodString>;
2038
+ }, z.core.$strip>>;
2039
+ }, z.core.$strip>;
2040
+ declare const operationResponseSchema: z.ZodObject<{
2041
+ success: z.ZodBoolean;
2042
+ message: z.ZodOptional<z.ZodString>;
2043
+ data: z.ZodOptional<z.ZodAny>;
2044
+ }, z.core.$strip>;
2045
+ declare const apiSchemas: {
2046
+ readonly addressType: z.ZodEnum<{
2047
+ home: "home";
2048
+ work: "work";
2049
+ billing: "billing";
2050
+ delivery: "delivery";
2051
+ }>;
2052
+ readonly contactType: z.ZodEnum<{
2053
+ home: "home";
2054
+ work: "work";
2055
+ mobile: "mobile";
2056
+ fax: "fax";
2057
+ }>;
2058
+ readonly emailType: z.ZodEnum<{
2059
+ home: "home";
2060
+ work: "work";
2061
+ }>;
2062
+ readonly passengerType: z.ZodEnum<{
2063
+ adult: "adult";
2064
+ child: "child";
2065
+ infant: "infant";
2066
+ }>;
2067
+ readonly titleType: z.ZodEnum<{
2068
+ mr: "mr";
2069
+ mrs: "mrs";
2070
+ ms: "ms";
2071
+ dr: "dr";
2072
+ prof: "prof";
2073
+ }>;
2074
+ readonly genderType: z.ZodEnum<{
2075
+ male: "male";
2076
+ female: "female";
2077
+ }>;
2078
+ readonly serviceType: z.ZodEnum<{
2079
+ flight: "flight";
2080
+ hotel: "hotel";
2081
+ car: "car";
2082
+ transfer: "transfer";
2083
+ insurance: "insurance";
2084
+ }>;
2085
+ readonly serviceStatusType: z.ZodEnum<{
2086
+ confirmed: "confirmed";
2087
+ pending: "pending";
2088
+ cancelled: "cancelled";
2089
+ }>;
2090
+ readonly paymentType: z.ZodEnum<{
2091
+ credit_card: "credit_card";
2092
+ debit_card: "debit_card";
2093
+ bank_transfer: "bank_transfer";
2094
+ cash: "cash";
2095
+ }>;
2096
+ readonly paymentStatusType: z.ZodEnum<{
2097
+ confirmed: "confirmed";
2098
+ pending: "pending";
2099
+ failed: "failed";
2100
+ }>;
2101
+ readonly customerType: z.ZodEnum<{
2102
+ customer: "customer";
2103
+ agent: "agent";
2104
+ supplier: "supplier";
2105
+ }>;
2106
+ readonly searchOperatorType: z.ZodEnum<{
2107
+ equals: "equals";
2108
+ contains: "contains";
2109
+ starts_with: "starts_with";
2110
+ ends_with: "ends_with";
2111
+ }>;
2112
+ readonly bookingType: z.ZodEnum<{
2113
+ individual: "individual";
2114
+ group: "group";
2115
+ corporate: "corporate";
2116
+ }>;
2117
+ readonly priorityType: z.ZodEnum<{
2118
+ low: "low";
2119
+ normal: "normal";
2120
+ high: "high";
2121
+ urgent: "urgent";
2122
+ }>;
2123
+ readonly specialRequestType: z.ZodEnum<{
2124
+ meal: "meal";
2125
+ seat: "seat";
2126
+ wheelchair: "wheelchair";
2127
+ other: "other";
2128
+ }>;
2129
+ readonly cancelReasonType: z.ZodEnum<{
2130
+ other: "other";
2131
+ customer_request: "customer_request";
2132
+ no_show: "no_show";
2133
+ operational: "operational";
2134
+ }>;
2135
+ readonly refundMethodType: z.ZodEnum<{
2136
+ cash: "cash";
2137
+ original_payment: "original_payment";
2138
+ credit: "credit";
2139
+ }>;
2140
+ readonly documentType: z.ZodEnum<{
2141
+ confirmation: "confirmation";
2142
+ invoice: "invoice";
2143
+ voucher: "voucher";
2144
+ ticket: "ticket";
2145
+ all: "all";
2146
+ }>;
2147
+ readonly documentFormatType: z.ZodEnum<{
2148
+ pdf: "pdf";
2149
+ html: "html";
2150
+ xml: "xml";
2151
+ }>;
2152
+ readonly deliveryMethodType: z.ZodEnum<{
2153
+ email: "email";
2154
+ sms: "sms";
2155
+ download: "download";
2156
+ }>;
2157
+ readonly bookingStatusType: z.ZodEnum<{
2158
+ confirmed: "confirmed";
2159
+ pending: "pending";
2160
+ cancelled: "cancelled";
2161
+ completed: "completed";
2162
+ }>;
2163
+ readonly pricingItemType: z.ZodEnum<{
2164
+ service: "service";
2165
+ tax: "tax";
2166
+ fee: "fee";
2167
+ discount: "discount";
2168
+ }>;
2169
+ readonly deliveryStatusType: z.ZodEnum<{
2170
+ pending: "pending";
2171
+ failed: "failed";
2172
+ sent: "sent";
2173
+ }>;
2174
+ readonly customerStatusType: z.ZodEnum<{
2175
+ active: "active";
2176
+ inactive: "inactive";
2177
+ suspended: "suspended";
2178
+ }>;
2179
+ readonly communicationMethodType: z.ZodEnum<{
2180
+ email: "email";
2181
+ sms: "sms";
2182
+ phone: "phone";
2183
+ }>;
2184
+ readonly customerAddress: z.ZodObject<{
2185
+ type: z.ZodOptional<z.ZodEnum<{
2186
+ home: "home";
2187
+ work: "work";
2188
+ billing: "billing";
2189
+ delivery: "delivery";
2190
+ }>>;
2191
+ street: z.ZodOptional<z.ZodString>;
2192
+ city: z.ZodOptional<z.ZodString>;
2193
+ state: z.ZodOptional<z.ZodString>;
2194
+ postalCode: z.ZodOptional<z.ZodString>;
2195
+ country: z.ZodOptional<z.ZodString>;
2196
+ }, z.core.$strip>;
2197
+ readonly customerContact: z.ZodObject<{
2198
+ phone: z.ZodOptional<z.ZodObject<{
2199
+ type: z.ZodOptional<z.ZodEnum<{
2200
+ home: "home";
2201
+ work: "work";
2202
+ mobile: "mobile";
2203
+ fax: "fax";
2204
+ }>>;
2205
+ number: z.ZodString;
2206
+ }, z.core.$strip>>;
2207
+ email: z.ZodOptional<z.ZodObject<{
2208
+ type: z.ZodOptional<z.ZodEnum<{
2209
+ home: "home";
2210
+ work: "work";
2211
+ }>>;
2212
+ address: z.ZodString;
2213
+ }, z.core.$strip>>;
2214
+ }, z.core.$strip>;
2215
+ readonly customer: z.ZodObject<{
2216
+ id: z.ZodString;
2217
+ type: z.ZodEnum<{
2218
+ customer: "customer";
2219
+ agent: "agent";
2220
+ supplier: "supplier";
2221
+ }>;
2222
+ status: z.ZodEnum<{
2223
+ active: "active";
2224
+ inactive: "inactive";
2225
+ suspended: "suspended";
2226
+ }>;
2227
+ personalInfo: z.ZodOptional<z.ZodObject<{
2228
+ title: z.ZodOptional<z.ZodString>;
2229
+ firstName: z.ZodString;
2230
+ lastName: z.ZodString;
2231
+ middleName: z.ZodOptional<z.ZodString>;
2232
+ dateOfBirth: z.ZodOptional<z.ZodString>;
2233
+ gender: z.ZodOptional<z.ZodEnum<{
2234
+ male: "male";
2235
+ female: "female";
2236
+ }>>;
2237
+ nationality: z.ZodOptional<z.ZodString>;
2238
+ }, z.core.$strip>>;
2239
+ contact: z.ZodOptional<z.ZodObject<{
2240
+ phone: z.ZodOptional<z.ZodObject<{
2241
+ type: z.ZodOptional<z.ZodEnum<{
2242
+ home: "home";
2243
+ work: "work";
2244
+ mobile: "mobile";
2245
+ fax: "fax";
2246
+ }>>;
2247
+ number: z.ZodString;
2248
+ }, z.core.$strip>>;
2249
+ email: z.ZodOptional<z.ZodObject<{
2250
+ type: z.ZodOptional<z.ZodEnum<{
2251
+ home: "home";
2252
+ work: "work";
2253
+ }>>;
2254
+ address: z.ZodString;
2255
+ }, z.core.$strip>>;
2256
+ }, z.core.$strip>>;
2257
+ address: z.ZodOptional<z.ZodObject<{
2258
+ type: z.ZodOptional<z.ZodEnum<{
2259
+ home: "home";
2260
+ work: "work";
2261
+ billing: "billing";
2262
+ delivery: "delivery";
2263
+ }>>;
2264
+ street: z.ZodOptional<z.ZodString>;
2265
+ city: z.ZodOptional<z.ZodString>;
2266
+ state: z.ZodOptional<z.ZodString>;
2267
+ postalCode: z.ZodOptional<z.ZodString>;
2268
+ country: z.ZodOptional<z.ZodString>;
2269
+ }, z.core.$strip>>;
2270
+ businessInfo: z.ZodOptional<z.ZodObject<{
2271
+ companyName: z.ZodOptional<z.ZodString>;
2272
+ taxId: z.ZodOptional<z.ZodString>;
2273
+ licenseNumber: z.ZodOptional<z.ZodString>;
2274
+ }, z.core.$strip>>;
2275
+ preferences: z.ZodOptional<z.ZodObject<{
2276
+ language: z.ZodOptional<z.ZodString>;
2277
+ currency: z.ZodOptional<z.ZodString>;
2278
+ communicationMethod: z.ZodOptional<z.ZodEnum<{
2279
+ email: "email";
2280
+ sms: "sms";
2281
+ phone: "phone";
2282
+ }>>;
2283
+ }, z.core.$strip>>;
2284
+ }, z.core.$strip>;
2285
+ readonly bookingPassenger: z.ZodObject<{
2286
+ id: z.ZodString;
2287
+ type: z.ZodEnum<{
2288
+ adult: "adult";
2289
+ child: "child";
2290
+ infant: "infant";
2291
+ }>;
2292
+ title: z.ZodOptional<z.ZodEnum<{
2293
+ mr: "mr";
2294
+ mrs: "mrs";
2295
+ ms: "ms";
2296
+ dr: "dr";
2297
+ prof: "prof";
2298
+ }>>;
2299
+ firstName: z.ZodString;
2300
+ lastName: z.ZodString;
2301
+ middleName: z.ZodOptional<z.ZodString>;
2302
+ dateOfBirth: z.ZodOptional<z.ZodString>;
2303
+ gender: z.ZodOptional<z.ZodEnum<{
2304
+ male: "male";
2305
+ female: "female";
2306
+ }>>;
2307
+ nationality: z.ZodOptional<z.ZodString>;
2308
+ passport: z.ZodOptional<z.ZodObject<{
2309
+ number: z.ZodString;
2310
+ expiryDate: z.ZodString;
2311
+ issuingCountry: z.ZodString;
2312
+ }, z.core.$strip>>;
2313
+ address: z.ZodOptional<z.ZodObject<{
2314
+ type: z.ZodOptional<z.ZodEnum<{
2315
+ home: "home";
2316
+ work: "work";
2317
+ billing: "billing";
2318
+ delivery: "delivery";
2319
+ }>>;
2320
+ street: z.ZodOptional<z.ZodString>;
2321
+ city: z.ZodOptional<z.ZodString>;
2322
+ state: z.ZodOptional<z.ZodString>;
2323
+ postalCode: z.ZodOptional<z.ZodString>;
2324
+ country: z.ZodOptional<z.ZodString>;
2325
+ }, z.core.$strip>>;
2326
+ contact: z.ZodOptional<z.ZodObject<{
2327
+ phone: z.ZodOptional<z.ZodObject<{
2328
+ type: z.ZodOptional<z.ZodEnum<{
2329
+ home: "home";
2330
+ work: "work";
2331
+ mobile: "mobile";
2332
+ fax: "fax";
2333
+ }>>;
2334
+ number: z.ZodString;
2335
+ }, z.core.$strip>>;
2336
+ email: z.ZodOptional<z.ZodObject<{
2337
+ type: z.ZodOptional<z.ZodEnum<{
2338
+ home: "home";
2339
+ work: "work";
2340
+ }>>;
2341
+ address: z.ZodString;
2342
+ }, z.core.$strip>>;
2343
+ }, z.core.$strip>>;
2344
+ }, z.core.$strip>;
2345
+ readonly bookingService: z.ZodObject<{
2346
+ id: z.ZodString;
2347
+ type: z.ZodEnum<{
2348
+ flight: "flight";
2349
+ hotel: "hotel";
2350
+ car: "car";
2351
+ transfer: "transfer";
2352
+ insurance: "insurance";
2353
+ }>;
2354
+ status: z.ZodEnum<{
2355
+ confirmed: "confirmed";
2356
+ pending: "pending";
2357
+ cancelled: "cancelled";
2358
+ }>;
2359
+ code: z.ZodOptional<z.ZodString>;
2360
+ name: z.ZodOptional<z.ZodString>;
2361
+ description: z.ZodOptional<z.ZodString>;
2362
+ startDate: z.ZodOptional<z.ZodString>;
2363
+ endDate: z.ZodOptional<z.ZodString>;
2364
+ price: z.ZodOptional<z.ZodObject<{
2365
+ currency: z.ZodString;
2366
+ amount: z.ZodNumber;
2367
+ }, z.core.$strip>>;
2368
+ }, z.core.$strip>;
2369
+ readonly bookingPayment: z.ZodObject<{
2370
+ id: z.ZodString;
2371
+ type: z.ZodEnum<{
2372
+ credit_card: "credit_card";
2373
+ debit_card: "debit_card";
2374
+ bank_transfer: "bank_transfer";
2375
+ cash: "cash";
2376
+ }>;
2377
+ status: z.ZodEnum<{
2378
+ confirmed: "confirmed";
2379
+ pending: "pending";
2380
+ failed: "failed";
2381
+ }>;
2382
+ amount: z.ZodObject<{
2383
+ currency: z.ZodString;
2384
+ amount: z.ZodNumber;
2385
+ }, z.core.$strip>;
2386
+ details: z.ZodOptional<z.ZodObject<{
2387
+ cardNumber: z.ZodOptional<z.ZodString>;
2388
+ expiryDate: z.ZodOptional<z.ZodString>;
2389
+ cardHolderName: z.ZodOptional<z.ZodString>;
2390
+ }, z.core.$strip>>;
2391
+ }, z.core.$strip>;
2392
+ readonly searchCustomerRequest: z.ZodObject<{
2393
+ type: z.ZodEnum<{
2394
+ customer: "customer";
2395
+ agent: "agent";
2396
+ supplier: "supplier";
2397
+ }>;
2398
+ fields: z.ZodArray<z.ZodObject<{
2399
+ name: z.ZodString;
2400
+ value: z.ZodString;
2401
+ operator: z.ZodOptional<z.ZodEnum<{
2402
+ equals: "equals";
2403
+ contains: "contains";
2404
+ starts_with: "starts_with";
2405
+ ends_with: "ends_with";
2406
+ }>>;
2407
+ }, z.core.$strip>>;
2408
+ pagination: z.ZodOptional<z.ZodObject<{
2409
+ pageSize: z.ZodNumber;
2410
+ pageNumber: z.ZodNumber;
2411
+ }, z.core.$strip>>;
2412
+ }, z.core.$strip>;
2413
+ readonly createBookingRequest: z.ZodObject<{
2414
+ type: z.ZodEnum<{
2415
+ individual: "individual";
2416
+ group: "group";
2417
+ corporate: "corporate";
2418
+ }>;
2419
+ priority: z.ZodEnum<{
2420
+ low: "low";
2421
+ normal: "normal";
2422
+ high: "high";
2423
+ urgent: "urgent";
2424
+ }>;
2425
+ customerId: z.ZodOptional<z.ZodString>;
2426
+ customerDetails: z.ZodOptional<z.ZodObject<{
2427
+ id: z.ZodString;
2428
+ type: z.ZodEnum<{
2429
+ customer: "customer";
2430
+ agent: "agent";
2431
+ supplier: "supplier";
2432
+ }>;
2433
+ status: z.ZodEnum<{
2434
+ active: "active";
2435
+ inactive: "inactive";
2436
+ suspended: "suspended";
2437
+ }>;
2438
+ personalInfo: z.ZodOptional<z.ZodObject<{
2439
+ title: z.ZodOptional<z.ZodString>;
2440
+ firstName: z.ZodString;
2441
+ lastName: z.ZodString;
2442
+ middleName: z.ZodOptional<z.ZodString>;
2443
+ dateOfBirth: z.ZodOptional<z.ZodString>;
2444
+ gender: z.ZodOptional<z.ZodEnum<{
2445
+ male: "male";
2446
+ female: "female";
2447
+ }>>;
2448
+ nationality: z.ZodOptional<z.ZodString>;
2449
+ }, z.core.$strip>>;
2450
+ contact: z.ZodOptional<z.ZodObject<{
2451
+ phone: z.ZodOptional<z.ZodObject<{
2452
+ type: z.ZodOptional<z.ZodEnum<{
2453
+ home: "home";
2454
+ work: "work";
2455
+ mobile: "mobile";
2456
+ fax: "fax";
2457
+ }>>;
2458
+ number: z.ZodString;
2459
+ }, z.core.$strip>>;
2460
+ email: z.ZodOptional<z.ZodObject<{
2461
+ type: z.ZodOptional<z.ZodEnum<{
2462
+ home: "home";
2463
+ work: "work";
2464
+ }>>;
2465
+ address: z.ZodString;
2466
+ }, z.core.$strip>>;
2467
+ }, z.core.$strip>>;
2468
+ address: z.ZodOptional<z.ZodObject<{
2469
+ type: z.ZodOptional<z.ZodEnum<{
2470
+ home: "home";
2471
+ work: "work";
2472
+ billing: "billing";
2473
+ delivery: "delivery";
2474
+ }>>;
2475
+ street: z.ZodOptional<z.ZodString>;
2476
+ city: z.ZodOptional<z.ZodString>;
2477
+ state: z.ZodOptional<z.ZodString>;
2478
+ postalCode: z.ZodOptional<z.ZodString>;
2479
+ country: z.ZodOptional<z.ZodString>;
2480
+ }, z.core.$strip>>;
2481
+ businessInfo: z.ZodOptional<z.ZodObject<{
2482
+ companyName: z.ZodOptional<z.ZodString>;
2483
+ taxId: z.ZodOptional<z.ZodString>;
2484
+ licenseNumber: z.ZodOptional<z.ZodString>;
2485
+ }, z.core.$strip>>;
2486
+ preferences: z.ZodOptional<z.ZodObject<{
2487
+ language: z.ZodOptional<z.ZodString>;
2488
+ currency: z.ZodOptional<z.ZodString>;
2489
+ communicationMethod: z.ZodOptional<z.ZodEnum<{
2490
+ email: "email";
2491
+ sms: "sms";
2492
+ phone: "phone";
2493
+ }>>;
2494
+ }, z.core.$strip>>;
2495
+ }, z.core.$strip>>;
2496
+ passengers: z.ZodArray<z.ZodObject<{
2497
+ id: z.ZodString;
2498
+ type: z.ZodEnum<{
2499
+ adult: "adult";
2500
+ child: "child";
2501
+ infant: "infant";
2502
+ }>;
2503
+ title: z.ZodOptional<z.ZodEnum<{
2504
+ mr: "mr";
2505
+ mrs: "mrs";
2506
+ ms: "ms";
2507
+ dr: "dr";
2508
+ prof: "prof";
2509
+ }>>;
2510
+ firstName: z.ZodString;
2511
+ lastName: z.ZodString;
2512
+ middleName: z.ZodOptional<z.ZodString>;
2513
+ dateOfBirth: z.ZodOptional<z.ZodString>;
2514
+ gender: z.ZodOptional<z.ZodEnum<{
2515
+ male: "male";
2516
+ female: "female";
2517
+ }>>;
2518
+ nationality: z.ZodOptional<z.ZodString>;
2519
+ passport: z.ZodOptional<z.ZodObject<{
2520
+ number: z.ZodString;
2521
+ expiryDate: z.ZodString;
2522
+ issuingCountry: z.ZodString;
2523
+ }, z.core.$strip>>;
2524
+ address: z.ZodOptional<z.ZodObject<{
2525
+ type: z.ZodOptional<z.ZodEnum<{
2526
+ home: "home";
2527
+ work: "work";
2528
+ billing: "billing";
2529
+ delivery: "delivery";
2530
+ }>>;
2531
+ street: z.ZodOptional<z.ZodString>;
2532
+ city: z.ZodOptional<z.ZodString>;
2533
+ state: z.ZodOptional<z.ZodString>;
2534
+ postalCode: z.ZodOptional<z.ZodString>;
2535
+ country: z.ZodOptional<z.ZodString>;
2536
+ }, z.core.$strip>>;
2537
+ contact: z.ZodOptional<z.ZodObject<{
2538
+ phone: z.ZodOptional<z.ZodObject<{
2539
+ type: z.ZodOptional<z.ZodEnum<{
2540
+ home: "home";
2541
+ work: "work";
2542
+ mobile: "mobile";
2543
+ fax: "fax";
2544
+ }>>;
2545
+ number: z.ZodString;
2546
+ }, z.core.$strip>>;
2547
+ email: z.ZodOptional<z.ZodObject<{
2548
+ type: z.ZodOptional<z.ZodEnum<{
2549
+ home: "home";
2550
+ work: "work";
2551
+ }>>;
2552
+ address: z.ZodString;
2553
+ }, z.core.$strip>>;
2554
+ }, z.core.$strip>>;
2555
+ }, z.core.$strip>>;
2556
+ services: z.ZodArray<z.ZodObject<{
2557
+ id: z.ZodString;
2558
+ type: z.ZodEnum<{
2559
+ flight: "flight";
2560
+ hotel: "hotel";
2561
+ car: "car";
2562
+ transfer: "transfer";
2563
+ insurance: "insurance";
2564
+ }>;
2565
+ status: z.ZodEnum<{
2566
+ confirmed: "confirmed";
2567
+ pending: "pending";
2568
+ cancelled: "cancelled";
2569
+ }>;
2570
+ code: z.ZodOptional<z.ZodString>;
2571
+ name: z.ZodOptional<z.ZodString>;
2572
+ description: z.ZodOptional<z.ZodString>;
2573
+ startDate: z.ZodOptional<z.ZodString>;
2574
+ endDate: z.ZodOptional<z.ZodString>;
2575
+ price: z.ZodOptional<z.ZodObject<{
2576
+ currency: z.ZodString;
2577
+ amount: z.ZodNumber;
2578
+ }, z.core.$strip>>;
2579
+ }, z.core.$strip>>;
2580
+ specialRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
2581
+ type: z.ZodEnum<{
2582
+ meal: "meal";
2583
+ seat: "seat";
2584
+ wheelchair: "wheelchair";
2585
+ other: "other";
2586
+ }>;
2587
+ description: z.ZodString;
2588
+ }, z.core.$strip>>>;
2589
+ }, z.core.$strip>;
2590
+ readonly cancelBookingRequest: z.ZodObject<{
2591
+ bookingId: z.ZodString;
2592
+ reason: z.ZodEnum<{
2593
+ other: "other";
2594
+ customer_request: "customer_request";
2595
+ no_show: "no_show";
2596
+ operational: "operational";
2597
+ }>;
2598
+ description: z.ZodOptional<z.ZodString>;
2599
+ refundRequest: z.ZodOptional<z.ZodObject<{
2600
+ amount: z.ZodNumber;
2601
+ currency: z.ZodString;
2602
+ method: z.ZodEnum<{
2603
+ cash: "cash";
2604
+ original_payment: "original_payment";
2605
+ credit: "credit";
2606
+ }>;
2607
+ }, z.core.$strip>>;
2608
+ }, z.core.$strip>;
2609
+ readonly printDocumentRequest: z.ZodObject<{
2610
+ bookingId: z.ZodString;
2611
+ documentType: z.ZodEnum<{
2612
+ confirmation: "confirmation";
2613
+ invoice: "invoice";
2614
+ voucher: "voucher";
2615
+ ticket: "ticket";
2616
+ all: "all";
2617
+ }>;
2618
+ format: z.ZodEnum<{
2619
+ pdf: "pdf";
2620
+ html: "html";
2621
+ xml: "xml";
2622
+ }>;
2623
+ language: z.ZodOptional<z.ZodString>;
2624
+ deliveryMethod: z.ZodOptional<z.ZodObject<{
2625
+ type: z.ZodEnum<{
2626
+ email: "email";
2627
+ sms: "sms";
2628
+ download: "download";
2629
+ }>;
2630
+ address: z.ZodOptional<z.ZodString>;
2631
+ }, z.core.$strip>>;
2632
+ }, z.core.$strip>;
2633
+ readonly addPaymentRequest: z.ZodObject<{
2634
+ bookingId: z.ZodString;
2635
+ payments: z.ZodArray<z.ZodObject<{
2636
+ id: z.ZodString;
2637
+ type: z.ZodEnum<{
2638
+ credit_card: "credit_card";
2639
+ debit_card: "debit_card";
2640
+ bank_transfer: "bank_transfer";
2641
+ cash: "cash";
2642
+ }>;
2643
+ status: z.ZodEnum<{
2644
+ confirmed: "confirmed";
2645
+ pending: "pending";
2646
+ failed: "failed";
2647
+ }>;
2648
+ amount: z.ZodObject<{
2649
+ currency: z.ZodString;
2650
+ amount: z.ZodNumber;
2651
+ }, z.core.$strip>;
2652
+ details: z.ZodOptional<z.ZodObject<{
2653
+ cardNumber: z.ZodOptional<z.ZodString>;
2654
+ expiryDate: z.ZodOptional<z.ZodString>;
2655
+ cardHolderName: z.ZodOptional<z.ZodString>;
2656
+ }, z.core.$strip>>;
2657
+ }, z.core.$strip>>;
2658
+ }, z.core.$strip>;
2659
+ readonly bookingResponse: z.ZodObject<{
2660
+ id: z.ZodString;
2661
+ status: z.ZodEnum<{
2662
+ confirmed: "confirmed";
2663
+ pending: "pending";
2664
+ cancelled: "cancelled";
2665
+ completed: "completed";
2666
+ }>;
2667
+ createdAt: z.ZodString;
2668
+ updatedAt: z.ZodString;
2669
+ customer: z.ZodObject<{
2670
+ id: z.ZodString;
2671
+ type: z.ZodEnum<{
2672
+ customer: "customer";
2673
+ agent: "agent";
2674
+ supplier: "supplier";
2675
+ }>;
2676
+ status: z.ZodEnum<{
2677
+ active: "active";
2678
+ inactive: "inactive";
2679
+ suspended: "suspended";
2680
+ }>;
2681
+ personalInfo: z.ZodOptional<z.ZodObject<{
2682
+ title: z.ZodOptional<z.ZodString>;
2683
+ firstName: z.ZodString;
2684
+ lastName: z.ZodString;
2685
+ middleName: z.ZodOptional<z.ZodString>;
2686
+ dateOfBirth: z.ZodOptional<z.ZodString>;
2687
+ gender: z.ZodOptional<z.ZodEnum<{
2688
+ male: "male";
2689
+ female: "female";
2690
+ }>>;
2691
+ nationality: z.ZodOptional<z.ZodString>;
2692
+ }, z.core.$strip>>;
2693
+ contact: z.ZodOptional<z.ZodObject<{
2694
+ phone: z.ZodOptional<z.ZodObject<{
2695
+ type: z.ZodOptional<z.ZodEnum<{
2696
+ home: "home";
2697
+ work: "work";
2698
+ mobile: "mobile";
2699
+ fax: "fax";
2700
+ }>>;
2701
+ number: z.ZodString;
2702
+ }, z.core.$strip>>;
2703
+ email: z.ZodOptional<z.ZodObject<{
2704
+ type: z.ZodOptional<z.ZodEnum<{
2705
+ home: "home";
2706
+ work: "work";
2707
+ }>>;
2708
+ address: z.ZodString;
2709
+ }, z.core.$strip>>;
2710
+ }, z.core.$strip>>;
2711
+ address: z.ZodOptional<z.ZodObject<{
2712
+ type: z.ZodOptional<z.ZodEnum<{
2713
+ home: "home";
2714
+ work: "work";
2715
+ billing: "billing";
2716
+ delivery: "delivery";
2717
+ }>>;
2718
+ street: z.ZodOptional<z.ZodString>;
2719
+ city: z.ZodOptional<z.ZodString>;
2720
+ state: z.ZodOptional<z.ZodString>;
2721
+ postalCode: z.ZodOptional<z.ZodString>;
2722
+ country: z.ZodOptional<z.ZodString>;
2723
+ }, z.core.$strip>>;
2724
+ businessInfo: z.ZodOptional<z.ZodObject<{
2725
+ companyName: z.ZodOptional<z.ZodString>;
2726
+ taxId: z.ZodOptional<z.ZodString>;
2727
+ licenseNumber: z.ZodOptional<z.ZodString>;
2728
+ }, z.core.$strip>>;
2729
+ preferences: z.ZodOptional<z.ZodObject<{
2730
+ language: z.ZodOptional<z.ZodString>;
2731
+ currency: z.ZodOptional<z.ZodString>;
2732
+ communicationMethod: z.ZodOptional<z.ZodEnum<{
2733
+ email: "email";
2734
+ sms: "sms";
2735
+ phone: "phone";
2736
+ }>>;
2737
+ }, z.core.$strip>>;
2738
+ }, z.core.$strip>;
2739
+ passengers: z.ZodArray<z.ZodObject<{
2740
+ id: z.ZodString;
2741
+ type: z.ZodEnum<{
2742
+ adult: "adult";
2743
+ child: "child";
2744
+ infant: "infant";
2745
+ }>;
2746
+ title: z.ZodOptional<z.ZodEnum<{
2747
+ mr: "mr";
2748
+ mrs: "mrs";
2749
+ ms: "ms";
2750
+ dr: "dr";
2751
+ prof: "prof";
2752
+ }>>;
2753
+ firstName: z.ZodString;
2754
+ lastName: z.ZodString;
2755
+ middleName: z.ZodOptional<z.ZodString>;
2756
+ dateOfBirth: z.ZodOptional<z.ZodString>;
2757
+ gender: z.ZodOptional<z.ZodEnum<{
2758
+ male: "male";
2759
+ female: "female";
2760
+ }>>;
2761
+ nationality: z.ZodOptional<z.ZodString>;
2762
+ passport: z.ZodOptional<z.ZodObject<{
2763
+ number: z.ZodString;
2764
+ expiryDate: z.ZodString;
2765
+ issuingCountry: z.ZodString;
2766
+ }, z.core.$strip>>;
2767
+ address: z.ZodOptional<z.ZodObject<{
2768
+ type: z.ZodOptional<z.ZodEnum<{
2769
+ home: "home";
2770
+ work: "work";
2771
+ billing: "billing";
2772
+ delivery: "delivery";
2773
+ }>>;
2774
+ street: z.ZodOptional<z.ZodString>;
2775
+ city: z.ZodOptional<z.ZodString>;
2776
+ state: z.ZodOptional<z.ZodString>;
2777
+ postalCode: z.ZodOptional<z.ZodString>;
2778
+ country: z.ZodOptional<z.ZodString>;
2779
+ }, z.core.$strip>>;
2780
+ contact: z.ZodOptional<z.ZodObject<{
2781
+ phone: z.ZodOptional<z.ZodObject<{
2782
+ type: z.ZodOptional<z.ZodEnum<{
2783
+ home: "home";
2784
+ work: "work";
2785
+ mobile: "mobile";
2786
+ fax: "fax";
2787
+ }>>;
2788
+ number: z.ZodString;
2789
+ }, z.core.$strip>>;
2790
+ email: z.ZodOptional<z.ZodObject<{
2791
+ type: z.ZodOptional<z.ZodEnum<{
2792
+ home: "home";
2793
+ work: "work";
2794
+ }>>;
2795
+ address: z.ZodString;
2796
+ }, z.core.$strip>>;
2797
+ }, z.core.$strip>>;
2798
+ }, z.core.$strip>>;
2799
+ services: z.ZodArray<z.ZodObject<{
2800
+ id: z.ZodString;
2801
+ type: z.ZodEnum<{
2802
+ flight: "flight";
2803
+ hotel: "hotel";
2804
+ car: "car";
2805
+ transfer: "transfer";
2806
+ insurance: "insurance";
2807
+ }>;
2808
+ status: z.ZodEnum<{
2809
+ confirmed: "confirmed";
2810
+ pending: "pending";
2811
+ cancelled: "cancelled";
2812
+ }>;
2813
+ code: z.ZodOptional<z.ZodString>;
2814
+ name: z.ZodOptional<z.ZodString>;
2815
+ description: z.ZodOptional<z.ZodString>;
2816
+ startDate: z.ZodOptional<z.ZodString>;
2817
+ endDate: z.ZodOptional<z.ZodString>;
2818
+ price: z.ZodOptional<z.ZodObject<{
2819
+ currency: z.ZodString;
2820
+ amount: z.ZodNumber;
2821
+ }, z.core.$strip>>;
2822
+ }, z.core.$strip>>;
2823
+ pricing: z.ZodObject<{
2824
+ totalAmount: z.ZodObject<{
2825
+ currency: z.ZodString;
2826
+ amount: z.ZodNumber;
2827
+ }, z.core.$strip>;
2828
+ breakdowns: z.ZodOptional<z.ZodArray<z.ZodObject<{
2829
+ type: z.ZodEnum<{
2830
+ service: "service";
2831
+ tax: "tax";
2832
+ fee: "fee";
2833
+ discount: "discount";
2834
+ }>;
2835
+ description: z.ZodString;
2836
+ amount: z.ZodNumber;
2837
+ }, z.core.$strip>>>;
2838
+ }, z.core.$strip>;
2839
+ }, z.core.$strip>;
2840
+ readonly searchResponse: z.ZodObject<{
2841
+ results: z.ZodArray<z.ZodObject<{
2842
+ id: z.ZodString;
2843
+ type: z.ZodEnum<{
2844
+ customer: "customer";
2845
+ agent: "agent";
2846
+ supplier: "supplier";
2847
+ }>;
2848
+ status: z.ZodEnum<{
2849
+ active: "active";
2850
+ inactive: "inactive";
2851
+ suspended: "suspended";
2852
+ }>;
2853
+ personalInfo: z.ZodOptional<z.ZodObject<{
2854
+ title: z.ZodOptional<z.ZodString>;
2855
+ firstName: z.ZodString;
2856
+ lastName: z.ZodString;
2857
+ middleName: z.ZodOptional<z.ZodString>;
2858
+ dateOfBirth: z.ZodOptional<z.ZodString>;
2859
+ gender: z.ZodOptional<z.ZodEnum<{
2860
+ male: "male";
2861
+ female: "female";
2862
+ }>>;
2863
+ nationality: z.ZodOptional<z.ZodString>;
2864
+ }, z.core.$strip>>;
2865
+ contact: z.ZodOptional<z.ZodObject<{
2866
+ phone: z.ZodOptional<z.ZodObject<{
2867
+ type: z.ZodOptional<z.ZodEnum<{
2868
+ home: "home";
2869
+ work: "work";
2870
+ mobile: "mobile";
2871
+ fax: "fax";
2872
+ }>>;
2873
+ number: z.ZodString;
2874
+ }, z.core.$strip>>;
2875
+ email: z.ZodOptional<z.ZodObject<{
2876
+ type: z.ZodOptional<z.ZodEnum<{
2877
+ home: "home";
2878
+ work: "work";
2879
+ }>>;
2880
+ address: z.ZodString;
2881
+ }, z.core.$strip>>;
2882
+ }, z.core.$strip>>;
2883
+ address: z.ZodOptional<z.ZodObject<{
2884
+ type: z.ZodOptional<z.ZodEnum<{
2885
+ home: "home";
2886
+ work: "work";
2887
+ billing: "billing";
2888
+ delivery: "delivery";
2889
+ }>>;
2890
+ street: z.ZodOptional<z.ZodString>;
2891
+ city: z.ZodOptional<z.ZodString>;
2892
+ state: z.ZodOptional<z.ZodString>;
2893
+ postalCode: z.ZodOptional<z.ZodString>;
2894
+ country: z.ZodOptional<z.ZodString>;
2895
+ }, z.core.$strip>>;
2896
+ businessInfo: z.ZodOptional<z.ZodObject<{
2897
+ companyName: z.ZodOptional<z.ZodString>;
2898
+ taxId: z.ZodOptional<z.ZodString>;
2899
+ licenseNumber: z.ZodOptional<z.ZodString>;
2900
+ }, z.core.$strip>>;
2901
+ preferences: z.ZodOptional<z.ZodObject<{
2902
+ language: z.ZodOptional<z.ZodString>;
2903
+ currency: z.ZodOptional<z.ZodString>;
2904
+ communicationMethod: z.ZodOptional<z.ZodEnum<{
2905
+ email: "email";
2906
+ sms: "sms";
2907
+ phone: "phone";
2908
+ }>>;
2909
+ }, z.core.$strip>>;
2910
+ }, z.core.$strip>>;
2911
+ pagination: z.ZodOptional<z.ZodObject<{
2912
+ totalRecords: z.ZodNumber;
2913
+ pageSize: z.ZodNumber;
2914
+ pageNumber: z.ZodNumber;
2915
+ totalPages: z.ZodNumber;
2916
+ }, z.core.$strip>>;
2917
+ }, z.core.$strip>;
2918
+ readonly documentResponse: z.ZodObject<{
2919
+ id: z.ZodString;
2920
+ type: z.ZodString;
2921
+ format: z.ZodString;
2922
+ size: z.ZodNumber;
2923
+ createdAt: z.ZodString;
2924
+ downloadUrl: z.ZodOptional<z.ZodString>;
2925
+ deliveryStatus: z.ZodOptional<z.ZodObject<{
2926
+ status: z.ZodEnum<{
2927
+ pending: "pending";
2928
+ failed: "failed";
2929
+ sent: "sent";
2930
+ }>;
2931
+ method: z.ZodString;
2932
+ address: z.ZodOptional<z.ZodString>;
2933
+ }, z.core.$strip>>;
2934
+ }, z.core.$strip>;
2935
+ readonly operationResponse: z.ZodObject<{
2936
+ success: z.ZodBoolean;
2937
+ message: z.ZodOptional<z.ZodString>;
2938
+ data: z.ZodOptional<z.ZodAny>;
2939
+ }, z.core.$strip>;
2940
+ };
2941
+
1165
2942
  declare class AvesException extends Error {
1166
2943
  readonly code: string;
1167
2944
  readonly severity: AvesSeverity;
@@ -1196,4 +2973,4 @@ declare class AvesErrorHandler {
1196
2973
  private isAvesXmlResponse;
1197
2974
  }
1198
2975
 
1199
- export { AVES_CONFIG_NAMESPACE, AVES_SDK_CONFIG, type AddPaymentRequest, type Address, type AddressType, AddressValidation, type AddressValidationType, type AvesEnvConfig, type AvesError, AvesErrorCodes, AvesErrorHandler, AvesException, AvesModule, type AvesModuleAsyncOptions, type AvesOptionsFactory, type AvesRegisteredConfig, type AvesRequestRoot, type AvesResponseRoot, type AvesSdkConfig, AvesService, AvesSeverity, AvesStatus, AvesValidator, type AvesXmlResponse, type BookFileRQ, BookFileRQValidation, type BookFileRQValidationType, type BookingFile, type BookingFileRS, type BookingPassenger, type BookingPayment, type BookingResponse, type BookingService, type BookingStatusType, type BookingType, type CancelBookingRequest, type CancelFileRQ, CancelFileRQValidation, type CancelFileRQValidationType, type CancelFileRS, type CancelReasonType, type CommunicationMethodType, type ContactInfo, ContactInfoValidation, type ContactInfoValidationType, type ContactType, type CreateBookingRequest, type Customer, type CustomerAddress, type CustomerContact, type CustomerRecordRS, type CustomerStatusType, type CustomerType, type DateString, type DateTimeString, type DeliveryMethodType, type DeliveryStatusType, type DocumentFormatType, type DocumentResponse, type DocumentType, type EmailType, type FilePaymentListRQ, type FilePaymentListRS, type GenderType, type HttpError, type IXmlHttpClient, type LanguageCode, LanguageCodeValidation, type ManageMasterRecordRQ, type MasterRecord, type ModFileServicesRQ, type ModiFileHeaderRQ, type ModiFileHeaderRS, type OperationResponse, type Passenger, type PassengerType, PassengerValidation, type PassengerValidationType, type Payment, type PaymentStatusType, type PaymentType, PaymentValidation, type PaymentValidationType, type PricingItemType, type PrintBookingDocumentRQ, PrintBookingDocumentRQValidation, type PrintBookingDocumentRQValidationType, type PrintBookingDocumentRS, type PrintDocumentRequest, type PriorityType, type RefundMethodType, type RqHeader, type RsStatus, type SearchCustomerRequest, type SearchMasterRecordRQ, SearchMasterRecordRQValidation, type SearchMasterRecordRQValidationType, type SearchMasterRecordRS, type SearchOperatorType, type SearchResponse, type Service, type ServiceStatusType, type ServiceType, ServiceValidation, type ServiceValidationType, type SetStatusRQ, type SetStatusServiceRS, type SpecialRequestType, type TimeString, type TitleType, XML_HTTP_CLIENT, XmlHttpClient, avesConfig, configValidationSchema, createAvesValidator, createDateString, createDateTimeString, createTimeString, getCurrentDateString, getCurrentDateTimeString, isValidDateString, isValidDateTimeString, isValidTimeString, mapAddPaymentToXml, mapAddressToXml, mapAddressTypeFromXml, mapAddressTypeToXml, mapBookingFromXml, mapBookingResponseFromXml, mapBookingTypeToXml, mapCancelBookingToXml, mapCancelReasonToXml, mapCancelResponseFromXml, mapContactToXml, mapContactTypeFromXml, mapContactTypeToXml, mapCreateBookingToXml, mapCustomerToXml, mapCustomerTypeToXml, mapDeliveryMethodToXml, mapDocumentFormatToXml, mapDocumentResponseFromXml, mapDocumentTypeToXml, mapEmailTypeFromXml, mapEmailTypeToXml, mapMasterRecordFromXml, mapPassengerToXml, mapPassengerTypeFromXml, mapPassengerTypeToXml, mapPaymentResponseFromXml, mapPaymentStatusFromXml, mapPaymentStatusToXml, mapPaymentToXml, mapPaymentTypeFromXml, mapPaymentTypeToXml, mapPrintDocumentToXml, mapPriorityToXml, mapRefundMethodToXml, mapSearchCustomerToXml, mapSearchOperatorToXml, mapSearchResponseFromXml, mapServiceStatusFromXml, mapServiceStatusToXml, mapServiceToXml, mapServiceTypeFromXml, mapServiceTypeToXml, mapSpecialRequestTypeToXml, mapTitleFromXml, mapTitleToXml };
2976
+ export { AVES_CONFIG_NAMESPACE, AVES_SDK_CONFIG, type AddPaymentRequest, type Address, type AddressType, AddressValidation, type AddressValidationType, type AvesEnvConfig, type AvesError, AvesErrorCodes, AvesErrorHandler, AvesException, AvesModule, type AvesModuleAsyncOptions, type AvesOptionsFactory, type AvesRegisteredConfig, type AvesRequestRoot, type AvesResponseRoot, type AvesSdkConfig, AvesService, AvesSeverity, AvesStatus, AvesValidator, type AvesXmlResponse, type BookFileRQ, BookFileRQValidation, type BookFileRQValidationType, type BookingFile, type BookingFileRS, type BookingPassenger, type BookingPayment, type BookingResponse, type BookingService, type BookingStatusType, type BookingType, type CancelBookingRequest, type CancelFileRQ, CancelFileRQValidation, type CancelFileRQValidationType, type CancelFileRS, type CancelReasonType, type CommunicationMethodType, type ContactInfo, ContactInfoValidation, type ContactInfoValidationType, type ContactType, type CreateBookingRequest, type Customer, type CustomerAddress, type CustomerContact, type CustomerRecordRS, type CustomerStatusType, type CustomerType, type DeliveryMethodType, type DeliveryStatusType, type DocumentFormatType, type DocumentResponse, type DocumentType, type EmailType, type FilePaymentListRQ, type FilePaymentListRS, type GenderType, type HttpError, type IXmlHttpClient, type LanguageCode, LanguageCodeValidation, type ManageMasterRecordRQ, type MasterRecord, type ModFileServicesRQ, type ModiFileHeaderRQ, type ModiFileHeaderRS, type OperationResponse, type Passenger, type PassengerType, PassengerValidation, type PassengerValidationType, type Payment, type PaymentStatusType, type PaymentType, PaymentValidation, type PaymentValidationType, type PricingItemType, type PrintBookingDocumentRQ, PrintBookingDocumentRQValidation, type PrintBookingDocumentRQValidationType, type PrintBookingDocumentRS, type PrintDocumentRequest, type PriorityType, type RefundMethodType, type RqHeader, type RsStatus, type SearchCustomerRequest, type SearchMasterRecordRQ, SearchMasterRecordRQValidation, type SearchMasterRecordRQValidationType, type SearchMasterRecordRS, type SearchOperatorType, type SearchResponse, type Service, type ServiceStatusType, type ServiceType, ServiceValidation, type ServiceValidationType, type SetStatusRQ, type SetStatusServiceRS, type SpecialRequestType, type TitleType, XML_HTTP_CLIENT, XmlHttpClient, addPaymentRequestSchema, addressTypeSchema, apiSchemas, avesConfig, bookingPassengerSchema, bookingPaymentSchema, bookingResponseSchema, bookingServiceSchema, bookingStatusTypeSchema, bookingTypeSchema, cancelBookingRequestSchema, cancelReasonTypeSchema, communicationMethodTypeSchema, configValidationSchema, contactTypeSchema, createAvesValidator, createBookingRequestSchema, createDateString, createDateTimeString, createTimeString, customerAddressSchema, customerContactSchema, customerSchema, customerStatusTypeSchema, customerTypeSchema, deliveryMethodTypeSchema, deliveryStatusTypeSchema, documentFormatTypeSchema, documentResponseSchema, documentTypeSchema, emailTypeSchema, genderTypeSchema, mapAddPaymentToXml, mapAddressToXml, mapAddressTypeFromXml, mapAddressTypeToXml, mapBookingFromXml, mapBookingResponseFromXml, mapBookingTypeToXml, mapCancelBookingToXml, mapCancelReasonToXml, mapCancelResponseFromXml, mapContactToXml, mapContactTypeFromXml, mapContactTypeToXml, mapCreateBookingToXml, mapCustomerToXml, mapCustomerTypeToXml, mapDeliveryMethodToXml, mapDocumentFormatToXml, mapDocumentResponseFromXml, mapDocumentTypeToXml, mapEmailTypeFromXml, mapEmailTypeToXml, mapMasterRecordFromXml, mapPassengerToXml, mapPassengerTypeFromXml, mapPassengerTypeToXml, mapPaymentResponseFromXml, mapPaymentStatusFromXml, mapPaymentStatusToXml, mapPaymentToXml, mapPaymentTypeFromXml, mapPaymentTypeToXml, mapPrintDocumentToXml, mapPriorityToXml, mapRefundMethodToXml, mapSearchCustomerToXml, mapSearchOperatorToXml, mapSearchResponseFromXml, mapServiceStatusFromXml, mapServiceStatusToXml, mapServiceToXml, mapServiceTypeFromXml, mapServiceTypeToXml, mapSpecialRequestTypeToXml, mapTitleFromXml, mapTitleToXml, operationResponseSchema, passengerTypeSchema, paymentStatusTypeSchema, paymentTypeSchema, pricingItemTypeSchema, printDocumentRequestSchema, priorityTypeSchema, refundMethodTypeSchema, searchCustomerRequestSchema, searchOperatorTypeSchema, searchResponseSchema, serviceStatusTypeSchema, serviceTypeSchema, specialRequestTypeSchema, titleTypeSchema };