aves-sdk 1.5.1 → 1.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/README.md +201 -194
- package/dist/index.d.mts +369 -398
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/docs/guida-implementazione-booking-ops.md +227 -250
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -19,28 +19,21 @@ declare class AvesError extends Error {
|
|
|
19
19
|
private parseCode;
|
|
20
20
|
}
|
|
21
21
|
//#endregion
|
|
22
|
-
//#region src/utils/case-transform.d.ts
|
|
23
|
-
type CamelFromDelimiter<S extends string> = S extends `${infer H}_${infer T}` ? `${H}${Capitalize<CamelFromDelimiter<T>>}` : S extends `${infer H}-${infer T}` ? `${H}${Capitalize<CamelFromDelimiter<T>>}` : S;
|
|
24
|
-
type ToCamelCase<S extends string> = CamelFromDelimiter<S> extends `${infer F}${infer R}` ? `${Lowercase<F>}${R}` : CamelFromDelimiter<S>;
|
|
25
|
-
/** Keys that are preserved as-is (no recursive transform) at runtime */
|
|
26
|
-
type Primitive = string | number | boolean | symbol | bigint | null | undefined;
|
|
27
|
-
type SpecialObject = Date | RegExp | Map<unknown, unknown> | Set<unknown> | Error;
|
|
28
|
-
/** Maps key K: strips leading @ and converts to camelCase for mapped output key */
|
|
29
|
-
type OverrideCamelKey<K extends string> = K extends "RPH" ? "rph" : K extends "TOServiceType" ? "toServiceType" : ToCamelCase<K>;
|
|
30
|
-
type CamelizeKey<K extends string> = K extends `@${infer Rest}` ? OverrideCamelKey<Rest> : OverrideCamelKey<K>;
|
|
31
|
-
/**
|
|
32
|
-
* Recursively maps PascalCase/@-prefixed object keys to camelCase.
|
|
33
|
-
* Reflects pascalToCamelKeys runtime: primitives and special objects preserved; arrays and plain objects recursively transformed.
|
|
34
|
-
*/
|
|
35
|
-
type Camelize<T> = T extends Primitive ? T : T extends SpecialObject ? T : T extends readonly (infer U)[] ? Camelize<U>[] : T extends object ? { [K in keyof T as CamelizeKey<K & string>]: Camelize<T[K]>; } : T;
|
|
36
|
-
//#endregion
|
|
37
22
|
//#region src/schemas/booking-shared.d.ts
|
|
38
|
-
|
|
23
|
+
/** Wire aliases seen in BOOKEDFILE responses */
|
|
24
|
+
declare const BookingFileStatusWireSchema: v.UnionSchema<[v.LiteralSchema<"QUOTATION", undefined>, v.LiteralSchema<"WORK_IN_PROGRESS", undefined>, v.LiteralSchema<"CONFIRM", undefined>, v.LiteralSchema<"CONFIRMED", undefined>, v.LiteralSchema<"OPTION", undefined>, v.LiteralSchema<"OPTIONED", undefined>, v.LiteralSchema<"REQUEST", undefined>, v.LiteralSchema<"REQUESTED", undefined>, v.LiteralSchema<"NULLIFIED", undefined>, v.LiteralSchema<"CANCELED", undefined>], undefined>;
|
|
25
|
+
declare const statusAliasToCanonical: {
|
|
26
|
+
readonly CONFIRM: "CONFIRMED";
|
|
27
|
+
readonly OPTION: "OPTIONED";
|
|
28
|
+
readonly REQUESTED: "REQUEST";
|
|
29
|
+
};
|
|
30
|
+
type CanonicalBookingFileStatus = Exclude<v.InferOutput<typeof BookingFileStatusWireSchema>, keyof typeof statusAliasToCanonical> | (typeof statusAliasToCanonical)[keyof typeof statusAliasToCanonical];
|
|
39
31
|
//#endregion
|
|
40
32
|
//#region src/schemas/booking-file.d.ts
|
|
41
33
|
/**
|
|
42
34
|
* Booking file request body schema (camelCase input).
|
|
43
35
|
* Maps to BookFileRQ in AVES XML 1.8.0 CreateBookingFile.
|
|
36
|
+
* `*List` fields are flat Detail arrays; wire wrap happens in BookingFileApiSchema.
|
|
44
37
|
*/
|
|
45
38
|
declare const BookingFileSchema: v.ObjectSchema<{
|
|
46
39
|
readonly createDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -90,74 +83,53 @@ declare const BookingFileSchema: v.ObjectSchema<{
|
|
|
90
83
|
}, undefined>], undefined>, undefined>;
|
|
91
84
|
}, undefined>, undefined>, undefined>;
|
|
92
85
|
}, undefined>, undefined>;
|
|
93
|
-
readonly financialDeadlineList: v.OptionalSchema<v.ObjectSchema<{
|
|
94
|
-
readonly
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
readonly
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
readonly
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}, undefined>, undefined>;
|
|
116
|
-
readonly selectedPackageList: v.OptionalSchema<v.ObjectSchema<{
|
|
117
|
-
readonly selectedPackageDetail: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
118
|
-
readonly pCode: v.StringSchema<undefined>;
|
|
119
|
-
readonly startDate: v.StringSchema<undefined>;
|
|
120
|
-
readonly endDate: v.StringSchema<undefined>;
|
|
121
|
-
readonly getServicesFromPackage: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
122
|
-
}, undefined>, undefined>, undefined>;
|
|
123
|
-
}, undefined>, undefined>;
|
|
86
|
+
readonly financialDeadlineList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
87
|
+
readonly reschedulingCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
88
|
+
readonly expireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
89
|
+
readonly totalAmount: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
90
|
+
}, undefined>, undefined>, undefined>;
|
|
91
|
+
readonly deadlineList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
92
|
+
readonly deadlineCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
93
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
94
|
+
readonly expireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
95
|
+
}, undefined>, undefined>, undefined>;
|
|
96
|
+
readonly paymentList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
97
|
+
readonly paymentDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
+
readonly paumentNote: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
99
|
+
readonly amount: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
100
|
+
readonly paymentUser: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
101
|
+
readonly paymentType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"C", undefined>, v.LiteralSchema<"B", undefined>, v.LiteralSchema<"D", undefined>, v.LiteralSchema<"T", undefined>, v.LiteralSchema<"P", undefined>, v.LiteralSchema<"R", undefined>, v.LiteralSchema<"A", undefined>, v.LiteralSchema<"H", undefined>, v.LiteralSchema<"I", undefined>, v.LiteralSchema<"J", undefined>, v.LiteralSchema<"K", undefined>, v.LiteralSchema<"L", undefined>, v.LiteralSchema<"M", undefined>, v.LiteralSchema<"N", undefined>, v.LiteralSchema<"O", undefined>, v.LiteralSchema<"Q", undefined>, v.LiteralSchema<"S", undefined>, v.LiteralSchema<"U", undefined>, v.LiteralSchema<"V", undefined>], undefined>, undefined>;
|
|
102
|
+
}, undefined>, undefined>, undefined>;
|
|
103
|
+
readonly selectedPackageList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
104
|
+
readonly pCode: v.StringSchema<undefined>;
|
|
105
|
+
readonly startDate: v.StringSchema<undefined>;
|
|
106
|
+
readonly endDate: v.StringSchema<undefined>;
|
|
107
|
+
readonly getServicesFromPackage: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
108
|
+
}, undefined>, undefined>, undefined>;
|
|
124
109
|
readonly selectedServiceList: v.ArraySchema<v.ObjectSchema<{
|
|
125
|
-
readonly
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
110
|
+
readonly sCode: v.StringSchema<undefined>;
|
|
111
|
+
readonly ssCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
112
|
+
readonly avesServiceType: v.UnionSchema<[v.LiteralSchema<"TOP", undefined>, v.LiteralSchema<"TOP_SS", undefined>, v.LiteralSchema<"ADV", undefined>, v.LiteralSchema<"GRP", undefined>, v.LiteralSchema<"OTHER", undefined>], undefined>;
|
|
113
|
+
readonly toServiceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"ACCOMODATION", undefined>, v.LiteralSchema<"TRANSPORT", undefined>, v.LiteralSchema<"CHARTER", undefined>, v.LiteralSchema<"TRANSFER", undefined>, v.LiteralSchema<"PULLMAN", undefined>, v.LiteralSchema<"FERRY", undefined>, v.LiteralSchema<"CRUISE", undefined>, v.LiteralSchema<"INSURANCE", undefined>, v.LiteralSchema<"EXTRAFEE", undefined>, v.LiteralSchema<"PENALTY", undefined>, v.LiteralSchema<"PROMO", undefined>, v.LiteralSchema<"OTHER", undefined>, v.LiteralSchema<"NOT_SET", undefined>, v.LiteralSchema<"RESIDENCE", undefined>], undefined>, undefined>;
|
|
114
|
+
readonly subServiceDesc: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
115
|
+
readonly startDate: v.StringSchema<undefined>;
|
|
116
|
+
readonly endDate: v.StringSchema<undefined>;
|
|
117
|
+
readonly qty: v.StringSchema<undefined>;
|
|
118
|
+
readonly pax: v.StringSchema<undefined>;
|
|
119
|
+
readonly paxAssociated: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
134
120
|
readonly pax: v.StringSchema<undefined>;
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
readonly
|
|
139
|
-
readonly
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
readonly serviceStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
148
|
-
readonly serviceStatisticCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
149
|
-
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
150
|
-
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
151
|
-
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
152
|
-
readonly cost: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
153
|
-
readonly costTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
154
|
-
readonly costType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
155
|
-
readonly vatCostCurrencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
156
|
-
readonly price: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
157
|
-
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
158
|
-
readonly priceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
159
|
-
}, undefined>, undefined>;
|
|
160
|
-
}, undefined>, undefined>;
|
|
121
|
+
}, undefined>, undefined>, undefined>;
|
|
122
|
+
readonly avesSession: v.StringSchema<undefined>;
|
|
123
|
+
readonly avesServiceInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
124
|
+
readonly packageCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
125
|
+
readonly packageReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
126
|
+
readonly suballotmentCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
127
|
+
readonly priceListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
128
|
+
readonly costListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
129
|
+
readonly externalFileCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
130
|
+
readonly externalReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
131
|
+
readonly serviceStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
132
|
+
readonly serviceStatisticCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
161
133
|
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
162
134
|
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
163
135
|
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -169,59 +141,57 @@ declare const BookingFileSchema: v.ObjectSchema<{
|
|
|
169
141
|
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
170
142
|
readonly priceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
171
143
|
}, undefined>, undefined>;
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
177
|
-
readonly
|
|
178
|
-
readonly
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
182
|
-
readonly
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
144
|
+
}, undefined>, undefined>;
|
|
145
|
+
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
146
|
+
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
147
|
+
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
148
|
+
readonly cost: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
149
|
+
readonly costTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
150
|
+
readonly costType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
151
|
+
readonly vatCostCurrencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
152
|
+
readonly price: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
153
|
+
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
154
|
+
readonly priceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
155
|
+
}, undefined>, undefined>;
|
|
156
|
+
readonly bookedServiceRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
157
|
+
readonly supplierMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
158
|
+
readonly voucherMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
159
|
+
readonly hotelServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
160
|
+
readonly carRentalServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
161
|
+
readonly flightServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
162
|
+
readonly shipServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
163
|
+
readonly ticketServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
164
|
+
readonly commission: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
165
|
+
readonly noteList: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
166
|
+
readonly voucherInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
167
|
+
readonly firstDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
168
|
+
readonly secondDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
186
169
|
}, undefined>, undefined>;
|
|
187
170
|
readonly extraQuotaRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
188
|
-
readonly extraQuoteServiceList: v.OptionalSchema<v.ObjectSchema<{
|
|
189
|
-
readonly
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
171
|
+
readonly extraQuoteServiceList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
172
|
+
readonly sCode: v.StringSchema<undefined>;
|
|
173
|
+
readonly ssCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
174
|
+
readonly avesServiceType: v.UnionSchema<[v.LiteralSchema<"TOP", undefined>, v.LiteralSchema<"TOP_SS", undefined>, v.LiteralSchema<"ADV", undefined>, v.LiteralSchema<"GRP", undefined>, v.LiteralSchema<"OTHER", undefined>], undefined>;
|
|
175
|
+
readonly toServiceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"ACCOMODATION", undefined>, v.LiteralSchema<"TRANSPORT", undefined>, v.LiteralSchema<"CHARTER", undefined>, v.LiteralSchema<"TRANSFER", undefined>, v.LiteralSchema<"PULLMAN", undefined>, v.LiteralSchema<"FERRY", undefined>, v.LiteralSchema<"CRUISE", undefined>, v.LiteralSchema<"INSURANCE", undefined>, v.LiteralSchema<"EXTRAFEE", undefined>, v.LiteralSchema<"PENALTY", undefined>, v.LiteralSchema<"PROMO", undefined>, v.LiteralSchema<"OTHER", undefined>, v.LiteralSchema<"NOT_SET", undefined>, v.LiteralSchema<"RESIDENCE", undefined>], undefined>, undefined>;
|
|
176
|
+
readonly subServiceDesc: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
177
|
+
readonly startDate: v.StringSchema<undefined>;
|
|
178
|
+
readonly endDate: v.StringSchema<undefined>;
|
|
179
|
+
readonly qty: v.StringSchema<undefined>;
|
|
180
|
+
readonly pax: v.StringSchema<undefined>;
|
|
181
|
+
readonly paxAssociated: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
198
182
|
readonly pax: v.StringSchema<undefined>;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
readonly
|
|
203
|
-
readonly
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
readonly serviceStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
212
|
-
readonly serviceStatisticCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
213
|
-
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
214
|
-
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
215
|
-
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
216
|
-
readonly cost: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
217
|
-
readonly costTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
218
|
-
readonly costType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
219
|
-
readonly vatCostCurrencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
220
|
-
readonly price: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
221
|
-
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
222
|
-
readonly priceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
223
|
-
}, undefined>, undefined>;
|
|
224
|
-
}, undefined>, undefined>;
|
|
183
|
+
}, undefined>, undefined>, undefined>;
|
|
184
|
+
readonly avesSession: v.StringSchema<undefined>;
|
|
185
|
+
readonly avesServiceInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
186
|
+
readonly packageCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
187
|
+
readonly packageReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
188
|
+
readonly suballotmentCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
189
|
+
readonly priceListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
190
|
+
readonly costListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
191
|
+
readonly externalFileCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
192
|
+
readonly externalReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
193
|
+
readonly serviceStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
194
|
+
readonly serviceStatisticCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
225
195
|
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
226
196
|
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
227
197
|
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -233,62 +203,69 @@ declare const BookingFileSchema: v.ObjectSchema<{
|
|
|
233
203
|
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
234
204
|
readonly priceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
235
205
|
}, undefined>, undefined>;
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
readonly
|
|
239
|
-
readonly
|
|
240
|
-
readonly
|
|
241
|
-
readonly
|
|
242
|
-
readonly
|
|
243
|
-
readonly
|
|
244
|
-
readonly
|
|
245
|
-
readonly
|
|
246
|
-
readonly
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
206
|
+
}, undefined>, undefined>;
|
|
207
|
+
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
208
|
+
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
209
|
+
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
210
|
+
readonly cost: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
211
|
+
readonly costTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
212
|
+
readonly costType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
213
|
+
readonly vatCostCurrencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
214
|
+
readonly price: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
215
|
+
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
216
|
+
readonly priceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
217
|
+
}, undefined>, undefined>;
|
|
218
|
+
readonly bookedServiceRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
219
|
+
readonly supplierMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
220
|
+
readonly voucherMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
221
|
+
readonly hotelServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
222
|
+
readonly carRentalServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
223
|
+
readonly flightServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
224
|
+
readonly shipServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
225
|
+
readonly ticketServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
226
|
+
readonly commission: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
227
|
+
readonly noteList: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
228
|
+
readonly voucherInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
229
|
+
readonly firstDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
230
|
+
readonly secondDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
231
|
+
}, undefined>, undefined>, undefined>;
|
|
251
232
|
readonly getExtraQuoteFromSystem: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
252
233
|
readonly passengerList: v.ArraySchema<v.ObjectSchema<{
|
|
253
|
-
readonly
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
readonly notes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
268
|
-
readonly nType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
269
|
-
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
270
|
-
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
271
|
-
}, undefined>, undefined>, undefined>;
|
|
272
|
-
readonly flagStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
273
|
-
readonly offerCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
274
|
-
readonly idDocInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
275
|
-
readonly idType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
276
|
-
readonly idCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
277
|
-
readonly idIssueLocation: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
278
|
-
readonly idIssueCounty: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
279
|
-
readonly idIssueDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
280
|
-
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
281
|
-
}, undefined>, undefined>;
|
|
282
|
-
readonly categoryCode: v.UnionSchema<[v.LiteralSchema<"AD", undefined>, v.LiteralSchema<"CH", undefined>, v.LiteralSchema<"IN", undefined>, v.LiteralSchema<"OV", undefined>], undefined>;
|
|
283
|
-
}, undefined>;
|
|
284
|
-
}, undefined>, undefined>;
|
|
285
|
-
readonly noteList: v.OptionalSchema<v.ObjectSchema<{
|
|
286
|
-
readonly noteDetail: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
234
|
+
readonly rph: v.StringSchema<undefined>;
|
|
235
|
+
readonly roomRph: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
236
|
+
readonly billingHolder: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
237
|
+
readonly masterRecordCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
238
|
+
readonly name: v.StringSchema<undefined>;
|
|
239
|
+
readonly sex: v.UnionSchema<[v.LiteralSchema<"M", undefined>, v.LiteralSchema<"F", undefined>], undefined>;
|
|
240
|
+
readonly birthDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
241
|
+
readonly birthPlace: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
242
|
+
readonly nationCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
243
|
+
readonly citizenshipCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
244
|
+
readonly fiscalCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
245
|
+
readonly phoneNumber: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
246
|
+
readonly eMail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
247
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
287
248
|
readonly nType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
288
249
|
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
289
250
|
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
290
251
|
}, undefined>, undefined>, undefined>;
|
|
252
|
+
readonly flagStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
253
|
+
readonly offerCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
254
|
+
readonly idDocInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
255
|
+
readonly idType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
256
|
+
readonly idCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
257
|
+
readonly idIssueLocation: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
258
|
+
readonly idIssueCounty: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
259
|
+
readonly idIssueDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
260
|
+
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
261
|
+
}, undefined>, undefined>;
|
|
262
|
+
readonly categoryCode: v.UnionSchema<[v.LiteralSchema<"AD", undefined>, v.LiteralSchema<"CH", undefined>, v.LiteralSchema<"IN", undefined>, v.LiteralSchema<"OV", undefined>], undefined>;
|
|
291
263
|
}, undefined>, undefined>;
|
|
264
|
+
readonly noteList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
265
|
+
readonly nType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
266
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
267
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
268
|
+
}, undefined>, undefined>, undefined>;
|
|
292
269
|
readonly bookingFinancialInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
293
270
|
readonly customer_PaymentType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"CASH", undefined>, v.LiteralSchema<"BANK", undefined>, v.LiteralSchema<"RID", undefined>, v.LiteralSchema<"RIBA", undefined>, v.LiteralSchema<"SPECIFIC_CODE", undefined>, v.LiteralSchema<"NOT_SET", undefined>], undefined>, undefined>;
|
|
294
271
|
readonly customer_SpecPaymentTypeCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1570,66 +1547,47 @@ declare const BookingStatusOnlyResponseSchema: v.SchemaWithPipe<readonly [v.Obje
|
|
|
1570
1547
|
}>]>;
|
|
1571
1548
|
/**
|
|
1572
1549
|
* ModFileServicesRQ body (camelCase).
|
|
1573
|
-
*
|
|
1574
|
-
*
|
|
1575
|
-
* Note: SelectedServiceList shape differs from CreateBookingFile —
|
|
1576
|
-
* Create uses `{ selectedServiceDetail: one }[]`;
|
|
1577
|
-
* Mod uses `{ selectedServiceDetail: one[] }` (AVES wire).
|
|
1550
|
+
* `*List` fields are flat Detail arrays; wire wrap happens in ModFileServicesApiSchema.
|
|
1578
1551
|
*/
|
|
1579
1552
|
declare const ModFileServicesSchema: v.ObjectSchema<{
|
|
1580
1553
|
readonly customerRecordCode: v.StringSchema<undefined>;
|
|
1581
1554
|
readonly bookingFileCode: v.StringSchema<undefined>;
|
|
1582
1555
|
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1583
|
-
readonly deadlineList: v.OptionalSchema<v.ObjectSchema<{
|
|
1584
|
-
readonly
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
}, undefined>, undefined>, undefined>;
|
|
1589
|
-
}, undefined>, undefined>;
|
|
1556
|
+
readonly deadlineList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1557
|
+
readonly reschedulingCode: v.StringSchema<undefined>;
|
|
1558
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1559
|
+
readonly expireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1560
|
+
}, undefined>, undefined>, undefined>;
|
|
1590
1561
|
readonly selectedPackageDetail: v.OptionalSchema<v.ObjectSchema<{
|
|
1591
1562
|
readonly pCode: v.StringSchema<undefined>;
|
|
1592
1563
|
readonly startDate: v.StringSchema<undefined>;
|
|
1593
1564
|
readonly endDate: v.StringSchema<undefined>;
|
|
1594
1565
|
readonly getServicesFromPackage: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1595
1566
|
}, undefined>, undefined>;
|
|
1596
|
-
readonly selectedServiceList: v.ObjectSchema<{
|
|
1597
|
-
readonly
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1567
|
+
readonly selectedServiceList: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1568
|
+
readonly sCode: v.StringSchema<undefined>;
|
|
1569
|
+
readonly ssCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1570
|
+
readonly avesServiceType: v.UnionSchema<[v.LiteralSchema<"TOP", undefined>, v.LiteralSchema<"TOP_SS", undefined>, v.LiteralSchema<"ADV", undefined>, v.LiteralSchema<"GRP", undefined>, v.LiteralSchema<"OTHER", undefined>], undefined>;
|
|
1571
|
+
readonly toServiceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"ACCOMODATION", undefined>, v.LiteralSchema<"TRANSPORT", undefined>, v.LiteralSchema<"CHARTER", undefined>, v.LiteralSchema<"TRANSFER", undefined>, v.LiteralSchema<"PULLMAN", undefined>, v.LiteralSchema<"FERRY", undefined>, v.LiteralSchema<"CRUISE", undefined>, v.LiteralSchema<"INSURANCE", undefined>, v.LiteralSchema<"EXTRAFEE", undefined>, v.LiteralSchema<"PENALTY", undefined>, v.LiteralSchema<"PROMO", undefined>, v.LiteralSchema<"OTHER", undefined>, v.LiteralSchema<"NOT_SET", undefined>, v.LiteralSchema<"RESIDENCE", undefined>], undefined>, undefined>;
|
|
1572
|
+
readonly subServiceDesc: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1573
|
+
readonly startDate: v.StringSchema<undefined>;
|
|
1574
|
+
readonly endDate: v.StringSchema<undefined>;
|
|
1575
|
+
readonly qty: v.StringSchema<undefined>;
|
|
1576
|
+
readonly pax: v.StringSchema<undefined>;
|
|
1577
|
+
readonly paxAssociated: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1606
1578
|
readonly pax: v.StringSchema<undefined>;
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
readonly
|
|
1611
|
-
readonly
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
readonly serviceStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1620
|
-
readonly serviceStatisticCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1621
|
-
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
1622
|
-
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1623
|
-
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1624
|
-
readonly cost: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1625
|
-
readonly costTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1626
|
-
readonly costType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
1627
|
-
readonly vatCostCurrencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1628
|
-
readonly price: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1629
|
-
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1630
|
-
readonly priceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
1631
|
-
}, undefined>, undefined>;
|
|
1632
|
-
}, undefined>, undefined>;
|
|
1579
|
+
}, undefined>, undefined>, undefined>;
|
|
1580
|
+
readonly avesSession: v.StringSchema<undefined>;
|
|
1581
|
+
readonly avesServiceInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
1582
|
+
readonly packageCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1583
|
+
readonly packageReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1584
|
+
readonly suballotmentCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1585
|
+
readonly priceListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1586
|
+
readonly costListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1587
|
+
readonly externalFileCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1588
|
+
readonly externalReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1589
|
+
readonly serviceStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1590
|
+
readonly serviceStatisticCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1633
1591
|
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
1634
1592
|
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1635
1593
|
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1641,55 +1599,55 @@ declare const ModFileServicesSchema: v.ObjectSchema<{
|
|
|
1641
1599
|
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1642
1600
|
readonly priceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
1643
1601
|
}, undefined>, undefined>;
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
readonly
|
|
1647
|
-
readonly
|
|
1648
|
-
readonly
|
|
1649
|
-
readonly
|
|
1650
|
-
readonly
|
|
1651
|
-
readonly
|
|
1652
|
-
readonly
|
|
1653
|
-
readonly
|
|
1654
|
-
readonly
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1602
|
+
}, undefined>, undefined>;
|
|
1603
|
+
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
1604
|
+
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1605
|
+
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1606
|
+
readonly cost: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1607
|
+
readonly costTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1608
|
+
readonly costType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
1609
|
+
readonly vatCostCurrencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1610
|
+
readonly price: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1611
|
+
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1612
|
+
readonly priceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"PAX_QTY_DAY", undefined>, v.LiteralSchema<"PAX_QTY_NIGHT", undefined>, v.LiteralSchema<"PAX_QTY_WEEK", undefined>, v.LiteralSchema<"PAX_QTY", undefined>, v.LiteralSchema<"PAX_DAY", undefined>, v.LiteralSchema<"PAX_NIGHT", undefined>, v.LiteralSchema<"PAX_WEEK", undefined>, v.LiteralSchema<"PAX", undefined>, v.LiteralSchema<"QTY_DAY", undefined>, v.LiteralSchema<"QTY_NIGHT", undefined>, v.LiteralSchema<"QTY_WEE", undefined>, v.LiteralSchema<"QTY", undefined>, v.LiteralSchema<"DAY", undefined>, v.LiteralSchema<"NIGHT", undefined>, v.LiteralSchema<"WEEK", undefined>, v.LiteralSchema<"FORFAIT", undefined>], undefined>, undefined>;
|
|
1613
|
+
}, undefined>, undefined>;
|
|
1614
|
+
readonly bookedServiceRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1615
|
+
readonly supplierMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1616
|
+
readonly voucherMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1617
|
+
readonly hotelServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1618
|
+
readonly carRentalServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1619
|
+
readonly flightServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1620
|
+
readonly shipServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1621
|
+
readonly ticketServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1622
|
+
readonly commission: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1623
|
+
readonly noteList: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1624
|
+
readonly voucherInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1625
|
+
readonly firstDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1626
|
+
readonly secondDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1627
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1628
|
+
sCode: string;
|
|
1629
|
+
ssCode?: string | undefined;
|
|
1630
|
+
avesServiceType: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS";
|
|
1631
|
+
toServiceType?: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
1632
|
+
subServiceDesc?: string | undefined;
|
|
1633
|
+
startDate: string;
|
|
1634
|
+
endDate: string;
|
|
1635
|
+
qty: string;
|
|
1636
|
+
pax: string;
|
|
1637
|
+
paxAssociated?: {
|
|
1666
1638
|
pax: string;
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
serviceStatus?: string | undefined;
|
|
1680
|
-
serviceStatisticCode?: string | undefined;
|
|
1681
|
-
serviceFare?: {
|
|
1682
|
-
currencyCode?: string | undefined;
|
|
1683
|
-
exchangeRate?: string | undefined;
|
|
1684
|
-
cost?: string | undefined;
|
|
1685
|
-
costTax?: string | undefined;
|
|
1686
|
-
costType?: "DAY" | "FORFAIT" | "NIGHT" | "PAX" | "PAX_DAY" | "PAX_NIGHT" | "PAX_QTY" | "PAX_QTY_DAY" | "PAX_QTY_NIGHT" | "PAX_QTY_WEEK" | "PAX_WEEK" | "QTY" | "QTY_DAY" | "QTY_NIGHT" | "QTY_WEE" | "WEEK" | undefined;
|
|
1687
|
-
vatCostCurrencyCode?: string | undefined;
|
|
1688
|
-
price?: string | undefined;
|
|
1689
|
-
priceTax?: string | undefined;
|
|
1690
|
-
priceType?: "DAY" | "FORFAIT" | "NIGHT" | "PAX" | "PAX_DAY" | "PAX_NIGHT" | "PAX_QTY" | "PAX_QTY_DAY" | "PAX_QTY_NIGHT" | "PAX_QTY_WEEK" | "PAX_WEEK" | "QTY" | "QTY_DAY" | "QTY_NIGHT" | "QTY_WEE" | "WEEK" | undefined;
|
|
1691
|
-
} | undefined;
|
|
1692
|
-
} | undefined;
|
|
1639
|
+
}[] | undefined;
|
|
1640
|
+
avesSession: string;
|
|
1641
|
+
avesServiceInfo?: {
|
|
1642
|
+
packageCode?: string | undefined;
|
|
1643
|
+
packageReference?: string | undefined;
|
|
1644
|
+
suballotmentCode?: string | undefined;
|
|
1645
|
+
priceListCode?: string | undefined;
|
|
1646
|
+
costListCode?: string | undefined;
|
|
1647
|
+
externalFileCode?: string | undefined;
|
|
1648
|
+
externalReference?: string | undefined;
|
|
1649
|
+
serviceStatus?: string | undefined;
|
|
1650
|
+
serviceStatisticCode?: string | undefined;
|
|
1693
1651
|
serviceFare?: {
|
|
1694
1652
|
currencyCode?: string | undefined;
|
|
1695
1653
|
exchangeRate?: string | undefined;
|
|
@@ -1701,61 +1659,68 @@ declare const ModFileServicesSchema: v.ObjectSchema<{
|
|
|
1701
1659
|
priceTax?: string | undefined;
|
|
1702
1660
|
priceType?: "DAY" | "FORFAIT" | "NIGHT" | "PAX" | "PAX_DAY" | "PAX_NIGHT" | "PAX_QTY" | "PAX_QTY_DAY" | "PAX_QTY_NIGHT" | "PAX_QTY_WEEK" | "PAX_WEEK" | "QTY" | "QTY_DAY" | "QTY_NIGHT" | "QTY_WEE" | "WEEK" | undefined;
|
|
1703
1661
|
} | undefined;
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
readonly idIssueDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1754
|
-
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1755
|
-
}, undefined>, undefined>;
|
|
1756
|
-
readonly categoryCode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"AD", undefined>, v.LiteralSchema<"CH", undefined>, v.LiteralSchema<"IN", undefined>, v.LiteralSchema<"OV", undefined>], undefined>, undefined>;
|
|
1662
|
+
} | undefined;
|
|
1663
|
+
serviceFare?: {
|
|
1664
|
+
currencyCode?: string | undefined;
|
|
1665
|
+
exchangeRate?: string | undefined;
|
|
1666
|
+
cost?: string | undefined;
|
|
1667
|
+
costTax?: string | undefined;
|
|
1668
|
+
costType?: "DAY" | "FORFAIT" | "NIGHT" | "PAX" | "PAX_DAY" | "PAX_NIGHT" | "PAX_QTY" | "PAX_QTY_DAY" | "PAX_QTY_NIGHT" | "PAX_QTY_WEEK" | "PAX_WEEK" | "QTY" | "QTY_DAY" | "QTY_NIGHT" | "QTY_WEE" | "WEEK" | undefined;
|
|
1669
|
+
vatCostCurrencyCode?: string | undefined;
|
|
1670
|
+
price?: string | undefined;
|
|
1671
|
+
priceTax?: string | undefined;
|
|
1672
|
+
priceType?: "DAY" | "FORFAIT" | "NIGHT" | "PAX" | "PAX_DAY" | "PAX_NIGHT" | "PAX_QTY" | "PAX_QTY_DAY" | "PAX_QTY_NIGHT" | "PAX_QTY_WEEK" | "PAX_WEEK" | "QTY" | "QTY_DAY" | "QTY_NIGHT" | "QTY_WEE" | "WEEK" | undefined;
|
|
1673
|
+
} | undefined;
|
|
1674
|
+
bookedServiceRef?: string | undefined;
|
|
1675
|
+
supplierMasterCode?: string | undefined;
|
|
1676
|
+
voucherMasterCode?: string | undefined;
|
|
1677
|
+
hotelServiceInfo?: string | undefined;
|
|
1678
|
+
carRentalServiceInfo?: string | undefined;
|
|
1679
|
+
flightServiceInfo?: string | undefined;
|
|
1680
|
+
shipServiceInfo?: string | undefined;
|
|
1681
|
+
ticketServiceInfo?: string | undefined;
|
|
1682
|
+
commission?: string | undefined;
|
|
1683
|
+
noteList?: string | undefined;
|
|
1684
|
+
voucherInfo?: string | undefined;
|
|
1685
|
+
firstDescription?: string | undefined;
|
|
1686
|
+
secondDescription?: string | undefined;
|
|
1687
|
+
}[], 1, undefined>]>;
|
|
1688
|
+
readonly cancellableBookedServiceList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1689
|
+
readonly cancelOperationType: v.UnionSchema<[v.LiteralSchema<"NULLIFY", undefined>, v.LiteralSchema<"DELETE", undefined>], undefined>;
|
|
1690
|
+
readonly serviceRefType: v.UnionSchema<[v.LiteralSchema<"RPH", undefined>, v.LiteralSchema<"FILE", undefined>], undefined>;
|
|
1691
|
+
readonly serviceRefValue: v.StringSchema<undefined>;
|
|
1692
|
+
}, undefined>, undefined>, undefined>;
|
|
1693
|
+
readonly passengerList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1694
|
+
readonly rph: v.StringSchema<undefined>;
|
|
1695
|
+
readonly roomRph: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1696
|
+
readonly billingHolder: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1697
|
+
readonly masterRecordCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1698
|
+
readonly name: v.StringSchema<undefined>;
|
|
1699
|
+
readonly sex: v.UnionSchema<[v.LiteralSchema<"M", undefined>, v.LiteralSchema<"F", undefined>], undefined>;
|
|
1700
|
+
readonly birthDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1701
|
+
readonly birthPlace: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1702
|
+
readonly nationCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1703
|
+
readonly citizenshipCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1704
|
+
readonly fiscalCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1705
|
+
readonly phoneNumber: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1706
|
+
readonly eMail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1707
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1708
|
+
readonly nType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1709
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1710
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1757
1711
|
}, undefined>, undefined>, undefined>;
|
|
1758
|
-
|
|
1712
|
+
readonly flagStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1713
|
+
readonly offerCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1714
|
+
readonly idDocInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
1715
|
+
readonly idType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1716
|
+
readonly idCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1717
|
+
readonly idIssueLocation: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1718
|
+
readonly idIssueCounty: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1719
|
+
readonly idIssueDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1720
|
+
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1721
|
+
}, undefined>, undefined>;
|
|
1722
|
+
readonly categoryCode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"AD", undefined>, v.LiteralSchema<"CH", undefined>, v.LiteralSchema<"IN", undefined>, v.LiteralSchema<"OV", undefined>], undefined>, undefined>;
|
|
1723
|
+
}, undefined>, undefined>, undefined>;
|
|
1759
1724
|
}, undefined>;
|
|
1760
1725
|
/**
|
|
1761
1726
|
* ModFileHeaderRQ body (camelCase).
|
|
@@ -1774,39 +1739,37 @@ declare const ModFileHeaderSchema: v.ObjectSchema<{
|
|
|
1774
1739
|
readonly cigCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1775
1740
|
readonly customerPromoterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1776
1741
|
readonly bookingNote: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1777
|
-
readonly passengerList: v.OptionalSchema<v.ObjectSchema<{
|
|
1778
|
-
readonly
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
readonly
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1796
|
-
}, undefined>, undefined>, undefined>;
|
|
1797
|
-
readonly flagStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1798
|
-
readonly offerCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1799
|
-
readonly idDocInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
1800
|
-
readonly idType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1801
|
-
readonly idCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1802
|
-
readonly idIssueLocation: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1803
|
-
readonly idIssueCounty: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1804
|
-
readonly idIssueDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1805
|
-
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1806
|
-
}, undefined>, undefined>;
|
|
1807
|
-
readonly categoryCode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"AD", undefined>, v.LiteralSchema<"CH", undefined>, v.LiteralSchema<"IN", undefined>, v.LiteralSchema<"OV", undefined>], undefined>, undefined>;
|
|
1742
|
+
readonly passengerList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1743
|
+
readonly rph: v.StringSchema<undefined>;
|
|
1744
|
+
readonly roomRph: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1745
|
+
readonly billingHolder: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1746
|
+
readonly masterRecordCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1747
|
+
readonly name: v.StringSchema<undefined>;
|
|
1748
|
+
readonly sex: v.UnionSchema<[v.LiteralSchema<"M", undefined>, v.LiteralSchema<"F", undefined>], undefined>;
|
|
1749
|
+
readonly birthDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1750
|
+
readonly birthPlace: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1751
|
+
readonly nationCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1752
|
+
readonly citizenshipCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1753
|
+
readonly fiscalCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1754
|
+
readonly phoneNumber: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1755
|
+
readonly eMail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1756
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1757
|
+
readonly nType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1758
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1759
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1808
1760
|
}, undefined>, undefined>, undefined>;
|
|
1809
|
-
|
|
1761
|
+
readonly flagStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1762
|
+
readonly offerCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1763
|
+
readonly idDocInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
1764
|
+
readonly idType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1765
|
+
readonly idCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1766
|
+
readonly idIssueLocation: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1767
|
+
readonly idIssueCounty: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1768
|
+
readonly idIssueDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1769
|
+
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1770
|
+
}, undefined>, undefined>;
|
|
1771
|
+
readonly categoryCode: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"AD", undefined>, v.LiteralSchema<"CH", undefined>, v.LiteralSchema<"IN", undefined>, v.LiteralSchema<"OV", undefined>], undefined>, undefined>;
|
|
1772
|
+
}, undefined>, undefined>, undefined>;
|
|
1810
1773
|
readonly statisticCodes: v.OptionalSchema<v.ObjectSchema<{
|
|
1811
1774
|
readonly sCode1: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4, undefined>]>, undefined>;
|
|
1812
1775
|
readonly sCode2: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4, undefined>]>, undefined>;
|
|
@@ -1819,13 +1782,11 @@ declare const ModFileHeaderSchema: v.ObjectSchema<{
|
|
|
1819
1782
|
readonly customer_PaymentType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"CASH", undefined>, v.LiteralSchema<"BANK", undefined>, v.LiteralSchema<"RID", undefined>, v.LiteralSchema<"RIBA", undefined>, v.LiteralSchema<"SPECIFIC_CODE", undefined>, v.LiteralSchema<"NOT_SET", undefined>], undefined>, undefined>;
|
|
1820
1783
|
readonly customer_SpecPaymentTypeCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1821
1784
|
}, undefined>, undefined>;
|
|
1822
|
-
readonly financialDeadlineList: v.OptionalSchema<v.ObjectSchema<{
|
|
1823
|
-
readonly
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
}, undefined>, undefined>, undefined>;
|
|
1828
|
-
}, undefined>, undefined>;
|
|
1785
|
+
readonly financialDeadlineList: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1786
|
+
readonly reschedulingCode: v.StringSchema<undefined>;
|
|
1787
|
+
readonly expireDate: v.StringSchema<undefined>;
|
|
1788
|
+
readonly totalAmount: v.StringSchema<undefined>;
|
|
1789
|
+
}, undefined>, undefined>, undefined>;
|
|
1829
1790
|
}, undefined>;
|
|
1830
1791
|
declare const CancelFileSchema: v.ObjectSchema<{
|
|
1831
1792
|
readonly bookingFileCode: v.StringSchema<undefined>;
|
|
@@ -1871,8 +1832,7 @@ declare const SetFileServiceStatusSchema: v.ObjectSchema<{
|
|
|
1871
1832
|
}, undefined>;
|
|
1872
1833
|
/**
|
|
1873
1834
|
* FilePaymentListRQ body (camelCase).
|
|
1874
|
-
*
|
|
1875
|
-
* Requires bookingFileCode or bookingFileRefCode.
|
|
1835
|
+
* `filePaymentList` is a flat Detail array; wire wrap happens in FilePaymentListApiSchema.
|
|
1876
1836
|
*/
|
|
1877
1837
|
declare const FilePaymentListSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1878
1838
|
readonly bookingFileCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1880,23 +1840,21 @@ declare const FilePaymentListSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
1880
1840
|
readonly paymentUser: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1881
1841
|
readonly enableMultiplePayments: v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>;
|
|
1882
1842
|
readonly operationType: v.UnionSchema<[v.LiteralSchema<"AbsoluteAmountsInsertion", undefined>, v.LiteralSchema<"FinalAmountToAchieve", undefined>, v.LiteralSchema<"FinalAmountToAchieveWithoutControls", undefined>], undefined>;
|
|
1883
|
-
readonly filePaymentList: v.ObjectSchema<{
|
|
1884
|
-
readonly
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
}[], 1, undefined>]>;
|
|
1899
|
-
}, undefined>;
|
|
1843
|
+
readonly filePaymentList: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1844
|
+
readonly paymentDate: v.StringSchema<undefined>;
|
|
1845
|
+
readonly paymentNote: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1846
|
+
readonly payerMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1847
|
+
readonly payerName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1848
|
+
readonly amount: v.StringSchema<undefined>;
|
|
1849
|
+
readonly paymentType: v.UnionSchema<[v.LiteralSchema<"C", undefined>, v.LiteralSchema<"B", undefined>, v.LiteralSchema<"D", undefined>, v.LiteralSchema<"T", undefined>, v.LiteralSchema<"P", undefined>, v.LiteralSchema<"R", undefined>, v.LiteralSchema<"A", undefined>, v.LiteralSchema<"H", undefined>, v.LiteralSchema<"I", undefined>, v.LiteralSchema<"J", undefined>, v.LiteralSchema<"K", undefined>, v.LiteralSchema<"L", undefined>, v.LiteralSchema<"M", undefined>, v.LiteralSchema<"N", undefined>, v.LiteralSchema<"O", undefined>, v.LiteralSchema<"Q", undefined>, v.LiteralSchema<"S", undefined>, v.LiteralSchema<"U", undefined>, v.LiteralSchema<"V", undefined>], undefined>;
|
|
1850
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1851
|
+
paymentDate: string;
|
|
1852
|
+
paymentNote?: string | undefined;
|
|
1853
|
+
payerMasterCode?: string | undefined;
|
|
1854
|
+
payerName?: string | undefined;
|
|
1855
|
+
amount: string;
|
|
1856
|
+
paymentType: "A" | "B" | "C" | "D" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V";
|
|
1857
|
+
}[], 1, undefined>]>;
|
|
1900
1858
|
}, undefined>, v.CheckAction<{
|
|
1901
1859
|
bookingFileCode?: string | undefined;
|
|
1902
1860
|
bookingFileRefCode?: string | undefined;
|
|
@@ -1904,15 +1862,13 @@ declare const FilePaymentListSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
1904
1862
|
enableMultiplePayments: "false" | "true" | boolean;
|
|
1905
1863
|
operationType: "AbsoluteAmountsInsertion" | "FinalAmountToAchieve" | "FinalAmountToAchieveWithoutControls";
|
|
1906
1864
|
filePaymentList: {
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
}[];
|
|
1915
|
-
};
|
|
1865
|
+
paymentDate: string;
|
|
1866
|
+
paymentNote?: string | undefined;
|
|
1867
|
+
payerMasterCode?: string | undefined;
|
|
1868
|
+
payerName?: string | undefined;
|
|
1869
|
+
amount: string;
|
|
1870
|
+
paymentType: "A" | "B" | "C" | "D" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V";
|
|
1871
|
+
}[];
|
|
1916
1872
|
}, "bookingFileCode or bookingFileRefCode is required">]>;
|
|
1917
1873
|
//#endregion
|
|
1918
1874
|
//#region src/schemas/common.d.ts
|
|
@@ -3229,6 +3185,21 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
3229
3185
|
};
|
|
3230
3186
|
}>]>;
|
|
3231
3187
|
//#endregion
|
|
3188
|
+
//#region src/utils/case-transform.d.ts
|
|
3189
|
+
type CamelFromDelimiter<S extends string> = S extends `${infer H}_${infer T}` ? `${H}${Capitalize<CamelFromDelimiter<T>>}` : S extends `${infer H}-${infer T}` ? `${H}${Capitalize<CamelFromDelimiter<T>>}` : S;
|
|
3190
|
+
type ToCamelCase<S extends string> = CamelFromDelimiter<S> extends `${infer F}${infer R}` ? `${Lowercase<F>}${R}` : CamelFromDelimiter<S>;
|
|
3191
|
+
/** Keys that are preserved as-is (no recursive transform) at runtime */
|
|
3192
|
+
type Primitive = string | number | boolean | symbol | bigint | null | undefined;
|
|
3193
|
+
type SpecialObject = Date | RegExp | Map<unknown, unknown> | Set<unknown> | Error;
|
|
3194
|
+
/** Maps key K: strips leading @ and converts to camelCase for mapped output key */
|
|
3195
|
+
type OverrideCamelKey<K extends string> = K extends "RPH" ? "rph" : K extends "TOServiceType" ? "toServiceType" : ToCamelCase<K>;
|
|
3196
|
+
type CamelizeKey<K extends string> = K extends `@${infer Rest}` ? OverrideCamelKey<Rest> : OverrideCamelKey<K>;
|
|
3197
|
+
/**
|
|
3198
|
+
* Recursively maps PascalCase/@-prefixed object keys to camelCase.
|
|
3199
|
+
* Reflects pascalToCamelKeys runtime: primitives and special objects preserved; arrays and plain objects recursively transformed.
|
|
3200
|
+
*/
|
|
3201
|
+
type Camelize<T> = T extends Primitive ? T : T extends SpecialObject ? T : T extends readonly (infer U)[] ? Camelize<U>[] : T extends object ? { [K in keyof T as CamelizeKey<K & string>]: Camelize<T[K]>; } : T;
|
|
3202
|
+
//#endregion
|
|
3232
3203
|
//#region src/types.d.ts
|
|
3233
3204
|
/**
|
|
3234
3205
|
* Request header containing authentication credentials for AVES API calls.
|