aves-sdk 1.3.4 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2130 -347
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/docs/guida-implementazione-booking-ops.md +551 -0
- package/docs/spike-api-aves-analisi.md +196 -0
- package/package.json +11 -11
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
import { InferInput, InferOutput } from "valibot";
|
|
3
|
-
|
|
4
3
|
//#region src/error.d.ts
|
|
5
4
|
declare const ERROR_KINDS: {
|
|
6
5
|
readonly VALIDATION: "validation";
|
|
@@ -20,6 +19,24 @@ declare class AvesError extends Error {
|
|
|
20
19
|
private parseCode;
|
|
21
20
|
}
|
|
22
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
|
+
//#region src/schemas/booking-shared.d.ts
|
|
38
|
+
type CanonicalBookingFileStatus = "QUOTATION" | "WORK_IN_PROGRESS" | "CONFIRMED" | "OPTIONED" | "REQUEST" | "NULLIFIED" | "CANCELED";
|
|
39
|
+
//#endregion
|
|
23
40
|
//#region src/schemas/booking-file.d.ts
|
|
24
41
|
/**
|
|
25
42
|
* Booking file request body schema (camelCase input).
|
|
@@ -98,9 +115,9 @@ declare const BookingFileSchema: v.ObjectSchema<{
|
|
|
98
115
|
}, undefined>, undefined>;
|
|
99
116
|
readonly selectedPackageList: v.OptionalSchema<v.ObjectSchema<{
|
|
100
117
|
readonly selectedPackageDetail: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
101
|
-
readonly pCode: v.
|
|
102
|
-
readonly startDate: v.
|
|
103
|
-
readonly endDate: v.
|
|
118
|
+
readonly pCode: v.StringSchema<undefined>;
|
|
119
|
+
readonly startDate: v.StringSchema<undefined>;
|
|
120
|
+
readonly endDate: v.StringSchema<undefined>;
|
|
104
121
|
readonly getServicesFromPackage: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
105
122
|
}, undefined>, undefined>, undefined>;
|
|
106
123
|
}, undefined>, undefined>;
|
|
@@ -122,7 +139,37 @@ declare const BookingFileSchema: v.ObjectSchema<{
|
|
|
122
139
|
readonly avesServiceInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
123
140
|
readonly packageCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
124
141
|
readonly packageReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
142
|
+
readonly suballotmentCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
143
|
+
readonly priceListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
144
|
+
readonly costListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
145
|
+
readonly externalFileCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
146
|
+
readonly externalReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
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>;
|
|
125
160
|
}, undefined>, undefined>;
|
|
161
|
+
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
162
|
+
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
163
|
+
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
164
|
+
readonly cost: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
165
|
+
readonly costTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
166
|
+
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>;
|
|
167
|
+
readonly vatCostCurrencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
168
|
+
readonly price: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
169
|
+
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
170
|
+
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
|
+
}, undefined>, undefined>;
|
|
172
|
+
readonly bookedServiceRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
126
173
|
readonly supplierMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
127
174
|
readonly voucherMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
128
175
|
readonly hotelServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -156,7 +203,37 @@ declare const BookingFileSchema: v.ObjectSchema<{
|
|
|
156
203
|
readonly avesServiceInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
157
204
|
readonly packageCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
158
205
|
readonly packageReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
206
|
+
readonly suballotmentCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
207
|
+
readonly priceListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
208
|
+
readonly costListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
209
|
+
readonly externalFileCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
210
|
+
readonly externalReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
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>;
|
|
225
|
+
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
226
|
+
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
227
|
+
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
228
|
+
readonly cost: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
229
|
+
readonly costTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
230
|
+
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>;
|
|
231
|
+
readonly vatCostCurrencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
232
|
+
readonly price: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
233
|
+
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
234
|
+
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
235
|
}, undefined>, undefined>;
|
|
236
|
+
readonly bookedServiceRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
160
237
|
readonly supplierMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
161
238
|
readonly voucherMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
162
239
|
readonly hotelServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -179,7 +256,6 @@ declare const BookingFileSchema: v.ObjectSchema<{
|
|
|
179
256
|
readonly billingHolder: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
180
257
|
readonly masterRecordCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
181
258
|
readonly name: v.StringSchema<undefined>;
|
|
182
|
-
readonly categoryCode: v.UnionSchema<[v.LiteralSchema<"AD", undefined>, v.LiteralSchema<"CH", undefined>, v.LiteralSchema<"IN", undefined>, v.LiteralSchema<"OV", undefined>], undefined>;
|
|
183
259
|
readonly sex: v.UnionSchema<[v.LiteralSchema<"M", undefined>, v.LiteralSchema<"F", undefined>], undefined>;
|
|
184
260
|
readonly birthDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
185
261
|
readonly birthPlace: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -203,6 +279,7 @@ declare const BookingFileSchema: v.ObjectSchema<{
|
|
|
203
279
|
readonly idIssueDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
204
280
|
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
205
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>;
|
|
206
283
|
}, undefined>;
|
|
207
284
|
}, undefined>, undefined>;
|
|
208
285
|
readonly noteList: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -223,8 +300,8 @@ declare const BookingFileSchema: v.ObjectSchema<{
|
|
|
223
300
|
readonly setBookingFileCodeFromStartDate: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
224
301
|
}, undefined>;
|
|
225
302
|
/**
|
|
226
|
-
*
|
|
227
|
-
*
|
|
303
|
+
* Shared booking response (Create / ModServices / SetStatus / SetStatusService).
|
|
304
|
+
* Extra cancel fields are optional and only present on some ops.
|
|
228
305
|
*/
|
|
229
306
|
declare const BookingFileResponseSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
230
307
|
readonly RsStatus: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
@@ -233,35 +310,1611 @@ declare const BookingFileResponseSchema: v.SchemaWithPipe<readonly [v.ObjectSche
|
|
|
233
310
|
readonly ErrorDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
234
311
|
readonly Warnings: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, string[]>]>, undefined>;
|
|
235
312
|
}, undefined>, v.TransformAction<{
|
|
236
|
-
"@Status": "
|
|
313
|
+
"@Status": "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
237
314
|
ErrorCode?: number | undefined;
|
|
238
315
|
ErrorDescription?: string | undefined;
|
|
239
316
|
Warnings?: string[] | undefined;
|
|
240
317
|
}, {
|
|
241
|
-
status: "
|
|
318
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
242
319
|
errorCode: number | undefined;
|
|
243
320
|
errorDescription: string | undefined;
|
|
244
321
|
warnings: string[] | undefined;
|
|
245
322
|
}>]>;
|
|
246
|
-
readonly BookingFileDetail: v.OptionalSchema<v.
|
|
323
|
+
readonly BookingFileDetail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
324
|
+
readonly "@BookingFileCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
325
|
+
readonly BookingFileCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
326
|
+
readonly CustomerRecordCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
327
|
+
readonly CustomerName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
328
|
+
readonly CustomerEmail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
329
|
+
readonly TravelAgencyName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
330
|
+
readonly TravelAgencyEmail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
331
|
+
readonly BookingFileStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
332
|
+
readonly "@Value": 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>;
|
|
333
|
+
readonly "@ExpiredDate": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
334
|
+
readonly "@ExpireDate": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
335
|
+
}, undefined>, v.TransformAction<{
|
|
336
|
+
"@Value": "CANCELED" | "CONFIRM" | "CONFIRMED" | "NULLIFIED" | "OPTION" | "OPTIONED" | "QUOTATION" | "REQUEST" | "REQUESTED" | "WORK_IN_PROGRESS";
|
|
337
|
+
"@ExpiredDate"?: string | undefined;
|
|
338
|
+
"@ExpireDate"?: string | undefined;
|
|
339
|
+
}, {
|
|
340
|
+
"@Value": CanonicalBookingFileStatus;
|
|
341
|
+
"@ExpiredDate": string | undefined;
|
|
342
|
+
}>]>, undefined>;
|
|
343
|
+
readonly Description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
344
|
+
readonly Nation: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
345
|
+
readonly Destination: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
346
|
+
readonly CreationDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
347
|
+
readonly FirstConfirmationDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
348
|
+
readonly StartDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
349
|
+
readonly EndDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
350
|
+
readonly PackageCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
351
|
+
readonly BookedServiceList: v.OptionalSchema<v.ObjectSchema<{
|
|
352
|
+
readonly BookedServiceDetail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
353
|
+
readonly "@RPH": v.StringSchema<undefined>;
|
|
354
|
+
readonly "@ServiceCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
355
|
+
readonly "@FromExternalProvider": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
356
|
+
readonly "@isFromExternalProvider": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
357
|
+
readonly AvesServiceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"TOP", undefined>, v.LiteralSchema<"TOP_SS", undefined>, v.LiteralSchema<"ADV", undefined>, v.LiteralSchema<"GRP", undefined>, v.LiteralSchema<"OTHER", undefined>], undefined>, undefined>;
|
|
358
|
+
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>;
|
|
359
|
+
readonly FirstDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
360
|
+
readonly SecondDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
361
|
+
readonly ThirdDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
362
|
+
readonly FourthDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
363
|
+
readonly ServiceStatus: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"REQUEST", undefined>, v.LiteralSchema<"ALLOTMENT_REQUEST", undefined>, v.LiteralSchema<"CONFIRMED_REQUEST", undefined>, v.LiteralSchema<"CONFIRMED_EXTRA_ALLOTMENT", undefined>, v.LiteralSchema<"WAITLISTED", undefined>, v.LiteralSchema<"ALLOTMENT", undefined>, v.LiteralSchema<"REFUSED", undefined>, v.LiteralSchema<"NULLIFIED", undefined>, v.LiteralSchema<"CANCELED", undefined>, v.LiteralSchema<"MESSAGE", undefined>], undefined>, undefined>;
|
|
364
|
+
readonly StartDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
365
|
+
readonly EndDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
366
|
+
readonly Qty: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
367
|
+
readonly Pax: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
368
|
+
readonly PeriodType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
369
|
+
readonly PaxMultiplier: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
370
|
+
readonly ExternalProviderCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
371
|
+
readonly WebStatisticCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
372
|
+
readonly WebStatisticDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
373
|
+
readonly WebStatistic: v.OptionalSchema<v.ObjectSchema<{
|
|
374
|
+
readonly "@Code": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
375
|
+
readonly "@Description": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
376
|
+
}, undefined>, undefined>;
|
|
377
|
+
readonly SupplierInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
378
|
+
readonly "@Code": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
379
|
+
readonly "@Name": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
380
|
+
readonly "@Email": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
381
|
+
readonly "@LanguageCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
382
|
+
}, undefined>, undefined>;
|
|
383
|
+
readonly ServiceTotalAmountDetail: v.OptionalSchema<v.ObjectSchema<{
|
|
384
|
+
readonly "@CommissionCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
385
|
+
readonly "@CommissionPercentage": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
386
|
+
readonly "@CommissionAmount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
387
|
+
readonly "@PriceListCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
388
|
+
readonly "@CostListCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
389
|
+
readonly "@ServiceTotalPrice": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
390
|
+
readonly PaxPriceList: v.OptionalSchema<v.ObjectSchema<{
|
|
391
|
+
readonly PricePerPaxDetail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ArraySchema<v.ObjectSchema<{
|
|
392
|
+
readonly "@PaxRef": v.StringSchema<undefined>;
|
|
393
|
+
readonly "@Price": v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>;
|
|
394
|
+
}, undefined>, undefined>, v.ObjectSchema<{
|
|
395
|
+
readonly "@PaxRef": v.StringSchema<undefined>;
|
|
396
|
+
readonly "@Price": v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>;
|
|
397
|
+
}, undefined>], undefined>, v.TransformAction<{
|
|
398
|
+
"@PaxRef": string;
|
|
399
|
+
"@Price": string | number;
|
|
400
|
+
}[] | {
|
|
401
|
+
"@PaxRef": string;
|
|
402
|
+
"@Price": string | number;
|
|
403
|
+
}, {
|
|
404
|
+
"@PaxRef": string;
|
|
405
|
+
"@Price": string | number;
|
|
406
|
+
}[]>]>, undefined>;
|
|
407
|
+
}, undefined>, undefined>;
|
|
408
|
+
}, undefined>, undefined>;
|
|
409
|
+
}, undefined>, v.TransformAction<{
|
|
410
|
+
"@RPH": string;
|
|
411
|
+
"@ServiceCode"?: string | undefined;
|
|
412
|
+
"@FromExternalProvider"?: string | number | undefined;
|
|
413
|
+
"@isFromExternalProvider"?: string | number | undefined;
|
|
414
|
+
AvesServiceType?: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS" | undefined;
|
|
415
|
+
TOServiceType?: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
416
|
+
FirstDescription?: string | undefined;
|
|
417
|
+
SecondDescription?: string | undefined;
|
|
418
|
+
ThirdDescription?: string | undefined;
|
|
419
|
+
FourthDescription?: string | undefined;
|
|
420
|
+
ServiceStatus?: "ALLOTMENT" | "ALLOTMENT_REQUEST" | "CANCELED" | "CONFIRMED_EXTRA_ALLOTMENT" | "CONFIRMED_REQUEST" | "MESSAGE" | "NULLIFIED" | "REFUSED" | "REQUEST" | "WAITLISTED" | undefined;
|
|
421
|
+
StartDate?: string | undefined;
|
|
422
|
+
EndDate?: string | undefined;
|
|
423
|
+
Qty?: string | number | undefined;
|
|
424
|
+
Pax?: string | number | undefined;
|
|
425
|
+
PeriodType?: string | undefined;
|
|
426
|
+
PaxMultiplier?: string | undefined;
|
|
427
|
+
ExternalProviderCode?: string | undefined;
|
|
428
|
+
WebStatisticCode?: string | undefined;
|
|
429
|
+
WebStatisticDescription?: string | undefined;
|
|
430
|
+
WebStatistic?: {
|
|
431
|
+
"@Code"?: string | undefined;
|
|
432
|
+
"@Description"?: string | undefined;
|
|
433
|
+
} | undefined;
|
|
434
|
+
SupplierInfo?: {
|
|
435
|
+
"@Code"?: string | undefined;
|
|
436
|
+
"@Name"?: string | undefined;
|
|
437
|
+
"@Email"?: string | undefined;
|
|
438
|
+
"@LanguageCode"?: string | undefined;
|
|
439
|
+
} | undefined;
|
|
440
|
+
ServiceTotalAmountDetail?: {
|
|
441
|
+
"@CommissionCode"?: string | undefined;
|
|
442
|
+
"@CommissionPercentage"?: string | number | undefined;
|
|
443
|
+
"@CommissionAmount"?: string | number | undefined;
|
|
444
|
+
"@PriceListCode"?: string | undefined;
|
|
445
|
+
"@CostListCode"?: string | undefined;
|
|
446
|
+
"@ServiceTotalPrice"?: string | number | undefined;
|
|
447
|
+
PaxPriceList?: {
|
|
448
|
+
PricePerPaxDetail?: {
|
|
449
|
+
"@PaxRef": string;
|
|
450
|
+
"@Price": string | number;
|
|
451
|
+
}[] | undefined;
|
|
452
|
+
} | undefined;
|
|
453
|
+
} | undefined;
|
|
454
|
+
}, {
|
|
455
|
+
"@RPH": string;
|
|
456
|
+
"@ServiceCode": string | undefined;
|
|
457
|
+
"@FromExternalProvider": string | number | undefined;
|
|
458
|
+
AvesServiceType: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS" | undefined;
|
|
459
|
+
TOServiceType: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
460
|
+
FirstDescription: string | undefined;
|
|
461
|
+
SecondDescription: string | undefined;
|
|
462
|
+
ThirdDescription: string | undefined;
|
|
463
|
+
FourthDescription: string | undefined;
|
|
464
|
+
ServiceStatus: "ALLOTMENT" | "ALLOTMENT_REQUEST" | "CANCELED" | "CONFIRMED_EXTRA_ALLOTMENT" | "CONFIRMED_REQUEST" | "MESSAGE" | "NULLIFIED" | "REFUSED" | "REQUEST" | "WAITLISTED" | undefined;
|
|
465
|
+
StartDate: string | undefined;
|
|
466
|
+
EndDate: string | undefined;
|
|
467
|
+
Qty: string | number | undefined;
|
|
468
|
+
Pax: string | number | undefined;
|
|
469
|
+
PeriodType: string | undefined;
|
|
470
|
+
PaxMultiplier: string | undefined;
|
|
471
|
+
ExternalProviderCode: string | undefined;
|
|
472
|
+
WebStatisticCode: string | undefined;
|
|
473
|
+
WebStatisticDescription: string | undefined;
|
|
474
|
+
WebStatistic: {
|
|
475
|
+
"@Code"?: string | undefined;
|
|
476
|
+
"@Description"?: string | undefined;
|
|
477
|
+
} | undefined;
|
|
478
|
+
SupplierInfo: {
|
|
479
|
+
"@Code"?: string | undefined;
|
|
480
|
+
"@Name"?: string | undefined;
|
|
481
|
+
"@Email"?: string | undefined;
|
|
482
|
+
"@LanguageCode"?: string | undefined;
|
|
483
|
+
} | undefined;
|
|
484
|
+
ServiceTotalAmountDetail: {
|
|
485
|
+
"@CommissionCode"?: string | undefined;
|
|
486
|
+
"@CommissionPercentage"?: string | number | undefined;
|
|
487
|
+
"@CommissionAmount"?: string | number | undefined;
|
|
488
|
+
"@PriceListCode"?: string | undefined;
|
|
489
|
+
"@CostListCode"?: string | undefined;
|
|
490
|
+
"@ServiceTotalPrice"?: string | number | undefined;
|
|
491
|
+
PaxPriceList?: {
|
|
492
|
+
PricePerPaxDetail?: {
|
|
493
|
+
"@PaxRef": string;
|
|
494
|
+
"@Price": string | number;
|
|
495
|
+
}[] | undefined;
|
|
496
|
+
} | undefined;
|
|
497
|
+
} | undefined;
|
|
498
|
+
}>]>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
499
|
+
readonly "@RPH": v.StringSchema<undefined>;
|
|
500
|
+
readonly "@ServiceCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
501
|
+
readonly "@FromExternalProvider": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
502
|
+
readonly "@isFromExternalProvider": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
503
|
+
readonly AvesServiceType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"TOP", undefined>, v.LiteralSchema<"TOP_SS", undefined>, v.LiteralSchema<"ADV", undefined>, v.LiteralSchema<"GRP", undefined>, v.LiteralSchema<"OTHER", undefined>], undefined>, undefined>;
|
|
504
|
+
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>;
|
|
505
|
+
readonly FirstDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
506
|
+
readonly SecondDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
507
|
+
readonly ThirdDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
508
|
+
readonly FourthDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
509
|
+
readonly ServiceStatus: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"REQUEST", undefined>, v.LiteralSchema<"ALLOTMENT_REQUEST", undefined>, v.LiteralSchema<"CONFIRMED_REQUEST", undefined>, v.LiteralSchema<"CONFIRMED_EXTRA_ALLOTMENT", undefined>, v.LiteralSchema<"WAITLISTED", undefined>, v.LiteralSchema<"ALLOTMENT", undefined>, v.LiteralSchema<"REFUSED", undefined>, v.LiteralSchema<"NULLIFIED", undefined>, v.LiteralSchema<"CANCELED", undefined>, v.LiteralSchema<"MESSAGE", undefined>], undefined>, undefined>;
|
|
510
|
+
readonly StartDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
511
|
+
readonly EndDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
512
|
+
readonly Qty: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
513
|
+
readonly Pax: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
514
|
+
readonly PeriodType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
515
|
+
readonly PaxMultiplier: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
516
|
+
readonly ExternalProviderCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
517
|
+
readonly WebStatisticCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
518
|
+
readonly WebStatisticDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
519
|
+
readonly WebStatistic: v.OptionalSchema<v.ObjectSchema<{
|
|
520
|
+
readonly "@Code": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
521
|
+
readonly "@Description": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
522
|
+
}, undefined>, undefined>;
|
|
523
|
+
readonly SupplierInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
524
|
+
readonly "@Code": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
525
|
+
readonly "@Name": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
526
|
+
readonly "@Email": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
527
|
+
readonly "@LanguageCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
528
|
+
}, undefined>, undefined>;
|
|
529
|
+
readonly ServiceTotalAmountDetail: v.OptionalSchema<v.ObjectSchema<{
|
|
530
|
+
readonly "@CommissionCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
531
|
+
readonly "@CommissionPercentage": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
532
|
+
readonly "@CommissionAmount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
533
|
+
readonly "@PriceListCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
534
|
+
readonly "@CostListCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
535
|
+
readonly "@ServiceTotalPrice": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
536
|
+
readonly PaxPriceList: v.OptionalSchema<v.ObjectSchema<{
|
|
537
|
+
readonly PricePerPaxDetail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ArraySchema<v.ObjectSchema<{
|
|
538
|
+
readonly "@PaxRef": v.StringSchema<undefined>;
|
|
539
|
+
readonly "@Price": v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>;
|
|
540
|
+
}, undefined>, undefined>, v.ObjectSchema<{
|
|
541
|
+
readonly "@PaxRef": v.StringSchema<undefined>;
|
|
542
|
+
readonly "@Price": v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>;
|
|
543
|
+
}, undefined>], undefined>, v.TransformAction<{
|
|
544
|
+
"@PaxRef": string;
|
|
545
|
+
"@Price": string | number;
|
|
546
|
+
}[] | {
|
|
547
|
+
"@PaxRef": string;
|
|
548
|
+
"@Price": string | number;
|
|
549
|
+
}, {
|
|
550
|
+
"@PaxRef": string;
|
|
551
|
+
"@Price": string | number;
|
|
552
|
+
}[]>]>, undefined>;
|
|
553
|
+
}, undefined>, undefined>;
|
|
554
|
+
}, undefined>, undefined>;
|
|
555
|
+
}, undefined>, v.TransformAction<{
|
|
556
|
+
"@RPH": string;
|
|
557
|
+
"@ServiceCode"?: string | undefined;
|
|
558
|
+
"@FromExternalProvider"?: string | number | undefined;
|
|
559
|
+
"@isFromExternalProvider"?: string | number | undefined;
|
|
560
|
+
AvesServiceType?: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS" | undefined;
|
|
561
|
+
TOServiceType?: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
562
|
+
FirstDescription?: string | undefined;
|
|
563
|
+
SecondDescription?: string | undefined;
|
|
564
|
+
ThirdDescription?: string | undefined;
|
|
565
|
+
FourthDescription?: string | undefined;
|
|
566
|
+
ServiceStatus?: "ALLOTMENT" | "ALLOTMENT_REQUEST" | "CANCELED" | "CONFIRMED_EXTRA_ALLOTMENT" | "CONFIRMED_REQUEST" | "MESSAGE" | "NULLIFIED" | "REFUSED" | "REQUEST" | "WAITLISTED" | undefined;
|
|
567
|
+
StartDate?: string | undefined;
|
|
568
|
+
EndDate?: string | undefined;
|
|
569
|
+
Qty?: string | number | undefined;
|
|
570
|
+
Pax?: string | number | undefined;
|
|
571
|
+
PeriodType?: string | undefined;
|
|
572
|
+
PaxMultiplier?: string | undefined;
|
|
573
|
+
ExternalProviderCode?: string | undefined;
|
|
574
|
+
WebStatisticCode?: string | undefined;
|
|
575
|
+
WebStatisticDescription?: string | undefined;
|
|
576
|
+
WebStatistic?: {
|
|
577
|
+
"@Code"?: string | undefined;
|
|
578
|
+
"@Description"?: string | undefined;
|
|
579
|
+
} | undefined;
|
|
580
|
+
SupplierInfo?: {
|
|
581
|
+
"@Code"?: string | undefined;
|
|
582
|
+
"@Name"?: string | undefined;
|
|
583
|
+
"@Email"?: string | undefined;
|
|
584
|
+
"@LanguageCode"?: string | undefined;
|
|
585
|
+
} | undefined;
|
|
586
|
+
ServiceTotalAmountDetail?: {
|
|
587
|
+
"@CommissionCode"?: string | undefined;
|
|
588
|
+
"@CommissionPercentage"?: string | number | undefined;
|
|
589
|
+
"@CommissionAmount"?: string | number | undefined;
|
|
590
|
+
"@PriceListCode"?: string | undefined;
|
|
591
|
+
"@CostListCode"?: string | undefined;
|
|
592
|
+
"@ServiceTotalPrice"?: string | number | undefined;
|
|
593
|
+
PaxPriceList?: {
|
|
594
|
+
PricePerPaxDetail?: {
|
|
595
|
+
"@PaxRef": string;
|
|
596
|
+
"@Price": string | number;
|
|
597
|
+
}[] | undefined;
|
|
598
|
+
} | undefined;
|
|
599
|
+
} | undefined;
|
|
600
|
+
}, {
|
|
601
|
+
"@RPH": string;
|
|
602
|
+
"@ServiceCode": string | undefined;
|
|
603
|
+
"@FromExternalProvider": string | number | undefined;
|
|
604
|
+
AvesServiceType: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS" | undefined;
|
|
605
|
+
TOServiceType: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
606
|
+
FirstDescription: string | undefined;
|
|
607
|
+
SecondDescription: string | undefined;
|
|
608
|
+
ThirdDescription: string | undefined;
|
|
609
|
+
FourthDescription: string | undefined;
|
|
610
|
+
ServiceStatus: "ALLOTMENT" | "ALLOTMENT_REQUEST" | "CANCELED" | "CONFIRMED_EXTRA_ALLOTMENT" | "CONFIRMED_REQUEST" | "MESSAGE" | "NULLIFIED" | "REFUSED" | "REQUEST" | "WAITLISTED" | undefined;
|
|
611
|
+
StartDate: string | undefined;
|
|
612
|
+
EndDate: string | undefined;
|
|
613
|
+
Qty: string | number | undefined;
|
|
614
|
+
Pax: string | number | undefined;
|
|
615
|
+
PeriodType: string | undefined;
|
|
616
|
+
PaxMultiplier: string | undefined;
|
|
617
|
+
ExternalProviderCode: string | undefined;
|
|
618
|
+
WebStatisticCode: string | undefined;
|
|
619
|
+
WebStatisticDescription: string | undefined;
|
|
620
|
+
WebStatistic: {
|
|
621
|
+
"@Code"?: string | undefined;
|
|
622
|
+
"@Description"?: string | undefined;
|
|
623
|
+
} | undefined;
|
|
624
|
+
SupplierInfo: {
|
|
625
|
+
"@Code"?: string | undefined;
|
|
626
|
+
"@Name"?: string | undefined;
|
|
627
|
+
"@Email"?: string | undefined;
|
|
628
|
+
"@LanguageCode"?: string | undefined;
|
|
629
|
+
} | undefined;
|
|
630
|
+
ServiceTotalAmountDetail: {
|
|
631
|
+
"@CommissionCode"?: string | undefined;
|
|
632
|
+
"@CommissionPercentage"?: string | number | undefined;
|
|
633
|
+
"@CommissionAmount"?: string | number | undefined;
|
|
634
|
+
"@PriceListCode"?: string | undefined;
|
|
635
|
+
"@CostListCode"?: string | undefined;
|
|
636
|
+
"@ServiceTotalPrice"?: string | number | undefined;
|
|
637
|
+
PaxPriceList?: {
|
|
638
|
+
PricePerPaxDetail?: {
|
|
639
|
+
"@PaxRef": string;
|
|
640
|
+
"@Price": string | number;
|
|
641
|
+
}[] | undefined;
|
|
642
|
+
} | undefined;
|
|
643
|
+
} | undefined;
|
|
644
|
+
}>]>], undefined>, v.TransformAction<{
|
|
645
|
+
"@RPH": string;
|
|
646
|
+
"@ServiceCode": string | undefined;
|
|
647
|
+
"@FromExternalProvider": string | number | undefined;
|
|
648
|
+
AvesServiceType: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS" | undefined;
|
|
649
|
+
TOServiceType: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
650
|
+
FirstDescription: string | undefined;
|
|
651
|
+
SecondDescription: string | undefined;
|
|
652
|
+
ThirdDescription: string | undefined;
|
|
653
|
+
FourthDescription: string | undefined;
|
|
654
|
+
ServiceStatus: "ALLOTMENT" | "ALLOTMENT_REQUEST" | "CANCELED" | "CONFIRMED_EXTRA_ALLOTMENT" | "CONFIRMED_REQUEST" | "MESSAGE" | "NULLIFIED" | "REFUSED" | "REQUEST" | "WAITLISTED" | undefined;
|
|
655
|
+
StartDate: string | undefined;
|
|
656
|
+
EndDate: string | undefined;
|
|
657
|
+
Qty: string | number | undefined;
|
|
658
|
+
Pax: string | number | undefined;
|
|
659
|
+
PeriodType: string | undefined;
|
|
660
|
+
PaxMultiplier: string | undefined;
|
|
661
|
+
ExternalProviderCode: string | undefined;
|
|
662
|
+
WebStatisticCode: string | undefined;
|
|
663
|
+
WebStatisticDescription: string | undefined;
|
|
664
|
+
WebStatistic: {
|
|
665
|
+
"@Code"?: string | undefined;
|
|
666
|
+
"@Description"?: string | undefined;
|
|
667
|
+
} | undefined;
|
|
668
|
+
SupplierInfo: {
|
|
669
|
+
"@Code"?: string | undefined;
|
|
670
|
+
"@Name"?: string | undefined;
|
|
671
|
+
"@Email"?: string | undefined;
|
|
672
|
+
"@LanguageCode"?: string | undefined;
|
|
673
|
+
} | undefined;
|
|
674
|
+
ServiceTotalAmountDetail: {
|
|
675
|
+
"@CommissionCode"?: string | undefined;
|
|
676
|
+
"@CommissionPercentage"?: string | number | undefined;
|
|
677
|
+
"@CommissionAmount"?: string | number | undefined;
|
|
678
|
+
"@PriceListCode"?: string | undefined;
|
|
679
|
+
"@CostListCode"?: string | undefined;
|
|
680
|
+
"@ServiceTotalPrice"?: string | number | undefined;
|
|
681
|
+
PaxPriceList?: {
|
|
682
|
+
PricePerPaxDetail?: {
|
|
683
|
+
"@PaxRef": string;
|
|
684
|
+
"@Price": string | number;
|
|
685
|
+
}[] | undefined;
|
|
686
|
+
} | undefined;
|
|
687
|
+
} | undefined;
|
|
688
|
+
}[] | {
|
|
689
|
+
"@RPH": string;
|
|
690
|
+
"@ServiceCode": string | undefined;
|
|
691
|
+
"@FromExternalProvider": string | number | undefined;
|
|
692
|
+
AvesServiceType: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS" | undefined;
|
|
693
|
+
TOServiceType: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
694
|
+
FirstDescription: string | undefined;
|
|
695
|
+
SecondDescription: string | undefined;
|
|
696
|
+
ThirdDescription: string | undefined;
|
|
697
|
+
FourthDescription: string | undefined;
|
|
698
|
+
ServiceStatus: "ALLOTMENT" | "ALLOTMENT_REQUEST" | "CANCELED" | "CONFIRMED_EXTRA_ALLOTMENT" | "CONFIRMED_REQUEST" | "MESSAGE" | "NULLIFIED" | "REFUSED" | "REQUEST" | "WAITLISTED" | undefined;
|
|
699
|
+
StartDate: string | undefined;
|
|
700
|
+
EndDate: string | undefined;
|
|
701
|
+
Qty: string | number | undefined;
|
|
702
|
+
Pax: string | number | undefined;
|
|
703
|
+
PeriodType: string | undefined;
|
|
704
|
+
PaxMultiplier: string | undefined;
|
|
705
|
+
ExternalProviderCode: string | undefined;
|
|
706
|
+
WebStatisticCode: string | undefined;
|
|
707
|
+
WebStatisticDescription: string | undefined;
|
|
708
|
+
WebStatistic: {
|
|
709
|
+
"@Code"?: string | undefined;
|
|
710
|
+
"@Description"?: string | undefined;
|
|
711
|
+
} | undefined;
|
|
712
|
+
SupplierInfo: {
|
|
713
|
+
"@Code"?: string | undefined;
|
|
714
|
+
"@Name"?: string | undefined;
|
|
715
|
+
"@Email"?: string | undefined;
|
|
716
|
+
"@LanguageCode"?: string | undefined;
|
|
717
|
+
} | undefined;
|
|
718
|
+
ServiceTotalAmountDetail: {
|
|
719
|
+
"@CommissionCode"?: string | undefined;
|
|
720
|
+
"@CommissionPercentage"?: string | number | undefined;
|
|
721
|
+
"@CommissionAmount"?: string | number | undefined;
|
|
722
|
+
"@PriceListCode"?: string | undefined;
|
|
723
|
+
"@CostListCode"?: string | undefined;
|
|
724
|
+
"@ServiceTotalPrice"?: string | number | undefined;
|
|
725
|
+
PaxPriceList?: {
|
|
726
|
+
PricePerPaxDetail?: {
|
|
727
|
+
"@PaxRef": string;
|
|
728
|
+
"@Price": string | number;
|
|
729
|
+
}[] | undefined;
|
|
730
|
+
} | undefined;
|
|
731
|
+
} | undefined;
|
|
732
|
+
}, {
|
|
733
|
+
"@RPH": string;
|
|
734
|
+
"@ServiceCode": string | undefined;
|
|
735
|
+
"@FromExternalProvider": string | number | undefined;
|
|
736
|
+
AvesServiceType: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS" | undefined;
|
|
737
|
+
TOServiceType: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
738
|
+
FirstDescription: string | undefined;
|
|
739
|
+
SecondDescription: string | undefined;
|
|
740
|
+
ThirdDescription: string | undefined;
|
|
741
|
+
FourthDescription: string | undefined;
|
|
742
|
+
ServiceStatus: "ALLOTMENT" | "ALLOTMENT_REQUEST" | "CANCELED" | "CONFIRMED_EXTRA_ALLOTMENT" | "CONFIRMED_REQUEST" | "MESSAGE" | "NULLIFIED" | "REFUSED" | "REQUEST" | "WAITLISTED" | undefined;
|
|
743
|
+
StartDate: string | undefined;
|
|
744
|
+
EndDate: string | undefined;
|
|
745
|
+
Qty: string | number | undefined;
|
|
746
|
+
Pax: string | number | undefined;
|
|
747
|
+
PeriodType: string | undefined;
|
|
748
|
+
PaxMultiplier: string | undefined;
|
|
749
|
+
ExternalProviderCode: string | undefined;
|
|
750
|
+
WebStatisticCode: string | undefined;
|
|
751
|
+
WebStatisticDescription: string | undefined;
|
|
752
|
+
WebStatistic: {
|
|
753
|
+
"@Code"?: string | undefined;
|
|
754
|
+
"@Description"?: string | undefined;
|
|
755
|
+
} | undefined;
|
|
756
|
+
SupplierInfo: {
|
|
757
|
+
"@Code"?: string | undefined;
|
|
758
|
+
"@Name"?: string | undefined;
|
|
759
|
+
"@Email"?: string | undefined;
|
|
760
|
+
"@LanguageCode"?: string | undefined;
|
|
761
|
+
} | undefined;
|
|
762
|
+
ServiceTotalAmountDetail: {
|
|
763
|
+
"@CommissionCode"?: string | undefined;
|
|
764
|
+
"@CommissionPercentage"?: string | number | undefined;
|
|
765
|
+
"@CommissionAmount"?: string | number | undefined;
|
|
766
|
+
"@PriceListCode"?: string | undefined;
|
|
767
|
+
"@CostListCode"?: string | undefined;
|
|
768
|
+
"@ServiceTotalPrice"?: string | number | undefined;
|
|
769
|
+
PaxPriceList?: {
|
|
770
|
+
PricePerPaxDetail?: {
|
|
771
|
+
"@PaxRef": string;
|
|
772
|
+
"@Price": string | number;
|
|
773
|
+
}[] | undefined;
|
|
774
|
+
} | undefined;
|
|
775
|
+
} | undefined;
|
|
776
|
+
}[]>]>, undefined>;
|
|
777
|
+
}, undefined>, undefined>;
|
|
778
|
+
readonly TotalAmountDetail: v.OptionalSchema<v.ObjectSchema<{
|
|
779
|
+
readonly "@CurrencyCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
780
|
+
readonly "@TotalAmountBeforeDiscount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
781
|
+
readonly "@TotalAmountAfterDiscount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
782
|
+
readonly "@TotalDiscount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
783
|
+
readonly "@TotalAmountWithoutVat": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
784
|
+
readonly "@DueAmount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
785
|
+
readonly "@PaiedAmount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
786
|
+
readonly "@Balance": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
787
|
+
}, undefined>, undefined>;
|
|
788
|
+
readonly PaxNumber: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
789
|
+
readonly PassengerList: v.OptionalSchema<v.ObjectSchema<{
|
|
790
|
+
readonly PassengerDetail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ArraySchema<v.ObjectSchema<{
|
|
791
|
+
readonly "@RPH": v.StringSchema<undefined>;
|
|
792
|
+
readonly "@RoomRPH": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
793
|
+
readonly "@BillingHolder": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
794
|
+
readonly Name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
795
|
+
readonly CategoryCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
796
|
+
readonly Sex: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
797
|
+
readonly BirthDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
798
|
+
readonly BirthPlace: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
799
|
+
readonly NationCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
800
|
+
readonly CitizenshipCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
801
|
+
readonly FiscalCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
802
|
+
readonly PhoneNumber: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
803
|
+
readonly EMail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
804
|
+
readonly MasterRecordCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
805
|
+
}, undefined>, undefined>, v.ObjectSchema<{
|
|
806
|
+
readonly "@RPH": v.StringSchema<undefined>;
|
|
807
|
+
readonly "@RoomRPH": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
808
|
+
readonly "@BillingHolder": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
809
|
+
readonly Name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
810
|
+
readonly CategoryCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
811
|
+
readonly Sex: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
812
|
+
readonly BirthDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
813
|
+
readonly BirthPlace: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
814
|
+
readonly NationCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
815
|
+
readonly CitizenshipCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
816
|
+
readonly FiscalCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
817
|
+
readonly PhoneNumber: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
818
|
+
readonly EMail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
819
|
+
readonly MasterRecordCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
820
|
+
}, undefined>], undefined>, v.TransformAction<{
|
|
821
|
+
"@RPH": string;
|
|
822
|
+
"@RoomRPH"?: string | undefined;
|
|
823
|
+
"@BillingHolder"?: string | number | undefined;
|
|
824
|
+
Name?: string | undefined;
|
|
825
|
+
CategoryCode?: string | undefined;
|
|
826
|
+
Sex?: string | undefined;
|
|
827
|
+
BirthDate?: string | undefined;
|
|
828
|
+
BirthPlace?: string | undefined;
|
|
829
|
+
NationCode?: string | undefined;
|
|
830
|
+
CitizenshipCode?: string | undefined;
|
|
831
|
+
FiscalCode?: string | undefined;
|
|
832
|
+
PhoneNumber?: string | undefined;
|
|
833
|
+
EMail?: string | undefined;
|
|
834
|
+
MasterRecordCode?: string | undefined;
|
|
835
|
+
}[] | {
|
|
836
|
+
"@RPH": string;
|
|
837
|
+
"@RoomRPH"?: string | undefined;
|
|
838
|
+
"@BillingHolder"?: string | number | undefined;
|
|
839
|
+
Name?: string | undefined;
|
|
840
|
+
CategoryCode?: string | undefined;
|
|
841
|
+
Sex?: string | undefined;
|
|
842
|
+
BirthDate?: string | undefined;
|
|
843
|
+
BirthPlace?: string | undefined;
|
|
844
|
+
NationCode?: string | undefined;
|
|
845
|
+
CitizenshipCode?: string | undefined;
|
|
846
|
+
FiscalCode?: string | undefined;
|
|
847
|
+
PhoneNumber?: string | undefined;
|
|
848
|
+
EMail?: string | undefined;
|
|
849
|
+
MasterRecordCode?: string | undefined;
|
|
850
|
+
}, {
|
|
851
|
+
"@RPH": string;
|
|
852
|
+
"@RoomRPH"?: string | undefined;
|
|
853
|
+
"@BillingHolder"?: string | number | undefined;
|
|
854
|
+
Name?: string | undefined;
|
|
855
|
+
CategoryCode?: string | undefined;
|
|
856
|
+
Sex?: string | undefined;
|
|
857
|
+
BirthDate?: string | undefined;
|
|
858
|
+
BirthPlace?: string | undefined;
|
|
859
|
+
NationCode?: string | undefined;
|
|
860
|
+
CitizenshipCode?: string | undefined;
|
|
861
|
+
FiscalCode?: string | undefined;
|
|
862
|
+
PhoneNumber?: string | undefined;
|
|
863
|
+
EMail?: string | undefined;
|
|
864
|
+
MasterRecordCode?: string | undefined;
|
|
865
|
+
}[]>]>, undefined>;
|
|
866
|
+
}, undefined>, undefined>;
|
|
867
|
+
readonly Reference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
868
|
+
readonly ClerkName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
869
|
+
readonly StoredDocumentsList: v.OptionalSchema<v.ObjectSchema<{
|
|
870
|
+
readonly StoredDocumentDetail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ArraySchema<v.ObjectSchema<{
|
|
871
|
+
readonly DocumentRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
872
|
+
readonly DocumentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
873
|
+
readonly DocumentName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
874
|
+
readonly ArchiviationDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
875
|
+
}, undefined>, undefined>, v.ObjectSchema<{
|
|
876
|
+
readonly DocumentRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
877
|
+
readonly DocumentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
878
|
+
readonly DocumentName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
879
|
+
readonly ArchiviationDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
880
|
+
}, undefined>], undefined>, v.TransformAction<{
|
|
881
|
+
DocumentRefCode?: string | undefined;
|
|
882
|
+
DocumentType?: string | undefined;
|
|
883
|
+
DocumentName?: string | undefined;
|
|
884
|
+
ArchiviationDescription?: string | undefined;
|
|
885
|
+
}[] | {
|
|
886
|
+
DocumentRefCode?: string | undefined;
|
|
887
|
+
DocumentType?: string | undefined;
|
|
888
|
+
DocumentName?: string | undefined;
|
|
889
|
+
ArchiviationDescription?: string | undefined;
|
|
890
|
+
}, {
|
|
891
|
+
DocumentRefCode?: string | undefined;
|
|
892
|
+
DocumentType?: string | undefined;
|
|
893
|
+
DocumentName?: string | undefined;
|
|
894
|
+
ArchiviationDescription?: string | undefined;
|
|
895
|
+
}[]>]>, undefined>;
|
|
896
|
+
}, undefined>, undefined>;
|
|
897
|
+
readonly PrintableDocumentsList: v.OptionalSchema<v.ObjectSchema<{
|
|
898
|
+
readonly PrintableDocumentDetail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ArraySchema<v.ObjectSchema<{
|
|
899
|
+
readonly DocumentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
900
|
+
readonly DocumentName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
901
|
+
readonly Enabled: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
902
|
+
}, undefined>, undefined>, v.ObjectSchema<{
|
|
903
|
+
readonly DocumentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
904
|
+
readonly DocumentName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
905
|
+
readonly Enabled: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
906
|
+
}, undefined>], undefined>, v.TransformAction<{
|
|
907
|
+
DocumentType?: string | undefined;
|
|
908
|
+
DocumentName?: string | undefined;
|
|
909
|
+
Enabled?: string | number | undefined;
|
|
910
|
+
}[] | {
|
|
911
|
+
DocumentType?: string | undefined;
|
|
912
|
+
DocumentName?: string | undefined;
|
|
913
|
+
Enabled?: string | number | undefined;
|
|
914
|
+
}, {
|
|
915
|
+
DocumentType?: string | undefined;
|
|
916
|
+
DocumentName?: string | undefined;
|
|
917
|
+
Enabled?: string | number | undefined;
|
|
918
|
+
}[]>]>, undefined>;
|
|
919
|
+
}, undefined>, undefined>;
|
|
920
|
+
readonly FinancialDeadlineList: v.OptionalSchema<v.ObjectSchema<{
|
|
921
|
+
readonly DeadlineDetail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
922
|
+
readonly "@ReschedulingCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
923
|
+
readonly "@ExpireDate": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
924
|
+
readonly "@TotalAmount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
925
|
+
readonly ReschedulingCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
926
|
+
readonly ExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
927
|
+
readonly TotalAmount: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
928
|
+
}, undefined>, v.TransformAction<{
|
|
929
|
+
"@ReschedulingCode"?: string | undefined;
|
|
930
|
+
"@ExpireDate"?: string | undefined;
|
|
931
|
+
"@TotalAmount"?: string | number | undefined;
|
|
932
|
+
ReschedulingCode?: string | undefined;
|
|
933
|
+
ExpireDate?: string | undefined;
|
|
934
|
+
TotalAmount?: string | number | undefined;
|
|
935
|
+
}, {
|
|
936
|
+
"@ReschedulingCode": string | undefined;
|
|
937
|
+
"@ExpireDate": string | undefined;
|
|
938
|
+
"@TotalAmount": string | number | undefined;
|
|
939
|
+
}>]>, undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
940
|
+
readonly "@ReschedulingCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
941
|
+
readonly "@ExpireDate": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
942
|
+
readonly "@TotalAmount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
943
|
+
readonly ReschedulingCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
944
|
+
readonly ExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
945
|
+
readonly TotalAmount: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
946
|
+
}, undefined>, v.TransformAction<{
|
|
947
|
+
"@ReschedulingCode"?: string | undefined;
|
|
948
|
+
"@ExpireDate"?: string | undefined;
|
|
949
|
+
"@TotalAmount"?: string | number | undefined;
|
|
950
|
+
ReschedulingCode?: string | undefined;
|
|
951
|
+
ExpireDate?: string | undefined;
|
|
952
|
+
TotalAmount?: string | number | undefined;
|
|
953
|
+
}, {
|
|
954
|
+
"@ReschedulingCode": string | undefined;
|
|
955
|
+
"@ExpireDate": string | undefined;
|
|
956
|
+
"@TotalAmount": string | number | undefined;
|
|
957
|
+
}>]>], undefined>, v.TransformAction<{
|
|
958
|
+
"@ReschedulingCode": string | undefined;
|
|
959
|
+
"@ExpireDate": string | undefined;
|
|
960
|
+
"@TotalAmount": string | number | undefined;
|
|
961
|
+
}[] | {
|
|
962
|
+
"@ReschedulingCode": string | undefined;
|
|
963
|
+
"@ExpireDate": string | undefined;
|
|
964
|
+
"@TotalAmount": string | number | undefined;
|
|
965
|
+
}, {
|
|
966
|
+
"@ReschedulingCode": string | undefined;
|
|
967
|
+
"@ExpireDate": string | undefined;
|
|
968
|
+
"@TotalAmount": string | number | undefined;
|
|
969
|
+
}[]>]>, undefined>;
|
|
970
|
+
}, undefined>, undefined>;
|
|
971
|
+
}, undefined>, v.TransformAction<{
|
|
972
|
+
"@BookingFileCode"?: string | undefined;
|
|
973
|
+
BookingFileCode?: string | undefined;
|
|
974
|
+
CustomerRecordCode?: string | undefined;
|
|
975
|
+
CustomerName?: string | undefined;
|
|
976
|
+
CustomerEmail?: string | undefined;
|
|
977
|
+
TravelAgencyName?: string | undefined;
|
|
978
|
+
TravelAgencyEmail?: string | undefined;
|
|
979
|
+
BookingFileStatus?: {
|
|
980
|
+
"@Value": CanonicalBookingFileStatus;
|
|
981
|
+
"@ExpiredDate": string | undefined;
|
|
982
|
+
} | undefined;
|
|
983
|
+
Description?: string | undefined;
|
|
984
|
+
Nation?: string | undefined;
|
|
985
|
+
Destination?: string | undefined;
|
|
986
|
+
CreationDate?: string | undefined;
|
|
987
|
+
FirstConfirmationDate?: string | undefined;
|
|
988
|
+
StartDate?: string | undefined;
|
|
989
|
+
EndDate?: string | undefined;
|
|
990
|
+
PackageCode?: string | undefined;
|
|
991
|
+
BookedServiceList?: {
|
|
992
|
+
BookedServiceDetail?: {
|
|
993
|
+
"@RPH": string;
|
|
994
|
+
"@ServiceCode": string | undefined;
|
|
995
|
+
"@FromExternalProvider": string | number | undefined;
|
|
996
|
+
AvesServiceType: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS" | undefined;
|
|
997
|
+
TOServiceType: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
998
|
+
FirstDescription: string | undefined;
|
|
999
|
+
SecondDescription: string | undefined;
|
|
1000
|
+
ThirdDescription: string | undefined;
|
|
1001
|
+
FourthDescription: string | undefined;
|
|
1002
|
+
ServiceStatus: "ALLOTMENT" | "ALLOTMENT_REQUEST" | "CANCELED" | "CONFIRMED_EXTRA_ALLOTMENT" | "CONFIRMED_REQUEST" | "MESSAGE" | "NULLIFIED" | "REFUSED" | "REQUEST" | "WAITLISTED" | undefined;
|
|
1003
|
+
StartDate: string | undefined;
|
|
1004
|
+
EndDate: string | undefined;
|
|
1005
|
+
Qty: string | number | undefined;
|
|
1006
|
+
Pax: string | number | undefined;
|
|
1007
|
+
PeriodType: string | undefined;
|
|
1008
|
+
PaxMultiplier: string | undefined;
|
|
1009
|
+
ExternalProviderCode: string | undefined;
|
|
1010
|
+
WebStatisticCode: string | undefined;
|
|
1011
|
+
WebStatisticDescription: string | undefined;
|
|
1012
|
+
WebStatistic: {
|
|
1013
|
+
"@Code"?: string | undefined;
|
|
1014
|
+
"@Description"?: string | undefined;
|
|
1015
|
+
} | undefined;
|
|
1016
|
+
SupplierInfo: {
|
|
1017
|
+
"@Code"?: string | undefined;
|
|
1018
|
+
"@Name"?: string | undefined;
|
|
1019
|
+
"@Email"?: string | undefined;
|
|
1020
|
+
"@LanguageCode"?: string | undefined;
|
|
1021
|
+
} | undefined;
|
|
1022
|
+
ServiceTotalAmountDetail: {
|
|
1023
|
+
"@CommissionCode"?: string | undefined;
|
|
1024
|
+
"@CommissionPercentage"?: string | number | undefined;
|
|
1025
|
+
"@CommissionAmount"?: string | number | undefined;
|
|
1026
|
+
"@PriceListCode"?: string | undefined;
|
|
1027
|
+
"@CostListCode"?: string | undefined;
|
|
1028
|
+
"@ServiceTotalPrice"?: string | number | undefined;
|
|
1029
|
+
PaxPriceList?: {
|
|
1030
|
+
PricePerPaxDetail?: {
|
|
1031
|
+
"@PaxRef": string;
|
|
1032
|
+
"@Price": string | number;
|
|
1033
|
+
}[] | undefined;
|
|
1034
|
+
} | undefined;
|
|
1035
|
+
} | undefined;
|
|
1036
|
+
}[] | undefined;
|
|
1037
|
+
} | undefined;
|
|
1038
|
+
TotalAmountDetail?: {
|
|
1039
|
+
"@CurrencyCode"?: string | undefined;
|
|
1040
|
+
"@TotalAmountBeforeDiscount"?: string | number | undefined;
|
|
1041
|
+
"@TotalAmountAfterDiscount"?: string | number | undefined;
|
|
1042
|
+
"@TotalDiscount"?: string | number | undefined;
|
|
1043
|
+
"@TotalAmountWithoutVat"?: string | number | undefined;
|
|
1044
|
+
"@DueAmount"?: string | number | undefined;
|
|
1045
|
+
"@PaiedAmount"?: string | number | undefined;
|
|
1046
|
+
"@Balance"?: string | number | undefined;
|
|
1047
|
+
} | undefined;
|
|
1048
|
+
PaxNumber?: string | number | undefined;
|
|
1049
|
+
PassengerList?: {
|
|
1050
|
+
PassengerDetail?: {
|
|
1051
|
+
"@RPH": string;
|
|
1052
|
+
"@RoomRPH"?: string | undefined;
|
|
1053
|
+
"@BillingHolder"?: string | number | undefined;
|
|
1054
|
+
Name?: string | undefined;
|
|
1055
|
+
CategoryCode?: string | undefined;
|
|
1056
|
+
Sex?: string | undefined;
|
|
1057
|
+
BirthDate?: string | undefined;
|
|
1058
|
+
BirthPlace?: string | undefined;
|
|
1059
|
+
NationCode?: string | undefined;
|
|
1060
|
+
CitizenshipCode?: string | undefined;
|
|
1061
|
+
FiscalCode?: string | undefined;
|
|
1062
|
+
PhoneNumber?: string | undefined;
|
|
1063
|
+
EMail?: string | undefined;
|
|
1064
|
+
MasterRecordCode?: string | undefined;
|
|
1065
|
+
}[] | undefined;
|
|
1066
|
+
} | undefined;
|
|
1067
|
+
Reference?: string | undefined;
|
|
1068
|
+
ClerkName?: string | undefined;
|
|
1069
|
+
StoredDocumentsList?: {
|
|
1070
|
+
StoredDocumentDetail?: {
|
|
1071
|
+
DocumentRefCode?: string | undefined;
|
|
1072
|
+
DocumentType?: string | undefined;
|
|
1073
|
+
DocumentName?: string | undefined;
|
|
1074
|
+
ArchiviationDescription?: string | undefined;
|
|
1075
|
+
}[] | undefined;
|
|
1076
|
+
} | undefined;
|
|
1077
|
+
PrintableDocumentsList?: {
|
|
1078
|
+
PrintableDocumentDetail?: {
|
|
1079
|
+
DocumentType?: string | undefined;
|
|
1080
|
+
DocumentName?: string | undefined;
|
|
1081
|
+
Enabled?: string | number | undefined;
|
|
1082
|
+
}[] | undefined;
|
|
1083
|
+
} | undefined;
|
|
1084
|
+
FinancialDeadlineList?: {
|
|
1085
|
+
DeadlineDetail?: {
|
|
1086
|
+
"@ReschedulingCode": string | undefined;
|
|
1087
|
+
"@ExpireDate": string | undefined;
|
|
1088
|
+
"@TotalAmount": string | number | undefined;
|
|
1089
|
+
}[] | undefined;
|
|
1090
|
+
} | undefined;
|
|
1091
|
+
}, {
|
|
1092
|
+
"@BookingFileCode": string | undefined;
|
|
1093
|
+
CustomerRecordCode: string | undefined;
|
|
1094
|
+
CustomerName: string | undefined;
|
|
1095
|
+
CustomerEmail: string | undefined;
|
|
1096
|
+
TravelAgencyName: string | undefined;
|
|
1097
|
+
TravelAgencyEmail: string | undefined;
|
|
1098
|
+
BookingFileStatus: {
|
|
1099
|
+
"@Value": CanonicalBookingFileStatus;
|
|
1100
|
+
"@ExpiredDate": string | undefined;
|
|
1101
|
+
} | undefined;
|
|
1102
|
+
Description: string | undefined;
|
|
1103
|
+
Nation: string | undefined;
|
|
1104
|
+
Destination: string | undefined;
|
|
1105
|
+
CreationDate: string | undefined;
|
|
1106
|
+
FirstConfirmationDate: string | undefined;
|
|
1107
|
+
StartDate: string | undefined;
|
|
1108
|
+
EndDate: string | undefined;
|
|
1109
|
+
PackageCode: string | undefined;
|
|
1110
|
+
BookedServiceList: {
|
|
1111
|
+
BookedServiceDetail?: {
|
|
1112
|
+
"@RPH": string;
|
|
1113
|
+
"@ServiceCode": string | undefined;
|
|
1114
|
+
"@FromExternalProvider": string | number | undefined;
|
|
1115
|
+
AvesServiceType: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS" | undefined;
|
|
1116
|
+
TOServiceType: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
1117
|
+
FirstDescription: string | undefined;
|
|
1118
|
+
SecondDescription: string | undefined;
|
|
1119
|
+
ThirdDescription: string | undefined;
|
|
1120
|
+
FourthDescription: string | undefined;
|
|
1121
|
+
ServiceStatus: "ALLOTMENT" | "ALLOTMENT_REQUEST" | "CANCELED" | "CONFIRMED_EXTRA_ALLOTMENT" | "CONFIRMED_REQUEST" | "MESSAGE" | "NULLIFIED" | "REFUSED" | "REQUEST" | "WAITLISTED" | undefined;
|
|
1122
|
+
StartDate: string | undefined;
|
|
1123
|
+
EndDate: string | undefined;
|
|
1124
|
+
Qty: string | number | undefined;
|
|
1125
|
+
Pax: string | number | undefined;
|
|
1126
|
+
PeriodType: string | undefined;
|
|
1127
|
+
PaxMultiplier: string | undefined;
|
|
1128
|
+
ExternalProviderCode: string | undefined;
|
|
1129
|
+
WebStatisticCode: string | undefined;
|
|
1130
|
+
WebStatisticDescription: string | undefined;
|
|
1131
|
+
WebStatistic: {
|
|
1132
|
+
"@Code"?: string | undefined;
|
|
1133
|
+
"@Description"?: string | undefined;
|
|
1134
|
+
} | undefined;
|
|
1135
|
+
SupplierInfo: {
|
|
1136
|
+
"@Code"?: string | undefined;
|
|
1137
|
+
"@Name"?: string | undefined;
|
|
1138
|
+
"@Email"?: string | undefined;
|
|
1139
|
+
"@LanguageCode"?: string | undefined;
|
|
1140
|
+
} | undefined;
|
|
1141
|
+
ServiceTotalAmountDetail: {
|
|
1142
|
+
"@CommissionCode"?: string | undefined;
|
|
1143
|
+
"@CommissionPercentage"?: string | number | undefined;
|
|
1144
|
+
"@CommissionAmount"?: string | number | undefined;
|
|
1145
|
+
"@PriceListCode"?: string | undefined;
|
|
1146
|
+
"@CostListCode"?: string | undefined;
|
|
1147
|
+
"@ServiceTotalPrice"?: string | number | undefined;
|
|
1148
|
+
PaxPriceList?: {
|
|
1149
|
+
PricePerPaxDetail?: {
|
|
1150
|
+
"@PaxRef": string;
|
|
1151
|
+
"@Price": string | number;
|
|
1152
|
+
}[] | undefined;
|
|
1153
|
+
} | undefined;
|
|
1154
|
+
} | undefined;
|
|
1155
|
+
}[] | undefined;
|
|
1156
|
+
} | undefined;
|
|
1157
|
+
TotalAmountDetail: {
|
|
1158
|
+
"@CurrencyCode"?: string | undefined;
|
|
1159
|
+
"@TotalAmountBeforeDiscount"?: string | number | undefined;
|
|
1160
|
+
"@TotalAmountAfterDiscount"?: string | number | undefined;
|
|
1161
|
+
"@TotalDiscount"?: string | number | undefined;
|
|
1162
|
+
"@TotalAmountWithoutVat"?: string | number | undefined;
|
|
1163
|
+
"@DueAmount"?: string | number | undefined;
|
|
1164
|
+
"@PaiedAmount"?: string | number | undefined;
|
|
1165
|
+
"@Balance"?: string | number | undefined;
|
|
1166
|
+
} | undefined;
|
|
1167
|
+
PaxNumber: string | number | undefined;
|
|
1168
|
+
PassengerList: {
|
|
1169
|
+
PassengerDetail?: {
|
|
1170
|
+
"@RPH": string;
|
|
1171
|
+
"@RoomRPH"?: string | undefined;
|
|
1172
|
+
"@BillingHolder"?: string | number | undefined;
|
|
1173
|
+
Name?: string | undefined;
|
|
1174
|
+
CategoryCode?: string | undefined;
|
|
1175
|
+
Sex?: string | undefined;
|
|
1176
|
+
BirthDate?: string | undefined;
|
|
1177
|
+
BirthPlace?: string | undefined;
|
|
1178
|
+
NationCode?: string | undefined;
|
|
1179
|
+
CitizenshipCode?: string | undefined;
|
|
1180
|
+
FiscalCode?: string | undefined;
|
|
1181
|
+
PhoneNumber?: string | undefined;
|
|
1182
|
+
EMail?: string | undefined;
|
|
1183
|
+
MasterRecordCode?: string | undefined;
|
|
1184
|
+
}[] | undefined;
|
|
1185
|
+
} | undefined;
|
|
1186
|
+
Reference: string | undefined;
|
|
1187
|
+
ClerkName: string | undefined;
|
|
1188
|
+
StoredDocumentsList: {
|
|
1189
|
+
StoredDocumentDetail?: {
|
|
1190
|
+
DocumentRefCode?: string | undefined;
|
|
1191
|
+
DocumentType?: string | undefined;
|
|
1192
|
+
DocumentName?: string | undefined;
|
|
1193
|
+
ArchiviationDescription?: string | undefined;
|
|
1194
|
+
}[] | undefined;
|
|
1195
|
+
} | undefined;
|
|
1196
|
+
PrintableDocumentsList: {
|
|
1197
|
+
PrintableDocumentDetail?: {
|
|
1198
|
+
DocumentType?: string | undefined;
|
|
1199
|
+
DocumentName?: string | undefined;
|
|
1200
|
+
Enabled?: string | number | undefined;
|
|
1201
|
+
}[] | undefined;
|
|
1202
|
+
} | undefined;
|
|
1203
|
+
FinancialDeadlineList: {
|
|
1204
|
+
DeadlineDetail?: {
|
|
1205
|
+
"@ReschedulingCode": string | undefined;
|
|
1206
|
+
"@ExpireDate": string | undefined;
|
|
1207
|
+
"@TotalAmount": string | number | undefined;
|
|
1208
|
+
}[] | undefined;
|
|
1209
|
+
} | undefined;
|
|
1210
|
+
}>]>, undefined>;
|
|
1211
|
+
readonly PrintableDocumentsList: v.OptionalSchema<v.ObjectSchema<{
|
|
1212
|
+
readonly PrintableDocumentDetail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.ArraySchema<v.ObjectSchema<{
|
|
1213
|
+
readonly DocumentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1214
|
+
readonly DocumentName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1215
|
+
readonly Enabled: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1216
|
+
}, undefined>, undefined>, v.ObjectSchema<{
|
|
1217
|
+
readonly DocumentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1218
|
+
readonly DocumentName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1219
|
+
readonly Enabled: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1220
|
+
}, undefined>], undefined>, v.TransformAction<{
|
|
1221
|
+
DocumentType?: string | undefined;
|
|
1222
|
+
DocumentName?: string | undefined;
|
|
1223
|
+
Enabled?: string | number | undefined;
|
|
1224
|
+
}[] | {
|
|
1225
|
+
DocumentType?: string | undefined;
|
|
1226
|
+
DocumentName?: string | undefined;
|
|
1227
|
+
Enabled?: string | number | undefined;
|
|
1228
|
+
}, {
|
|
1229
|
+
DocumentType?: string | undefined;
|
|
1230
|
+
DocumentName?: string | undefined;
|
|
1231
|
+
Enabled?: string | number | undefined;
|
|
1232
|
+
}[]>]>, undefined>;
|
|
1233
|
+
}, undefined>, undefined>;
|
|
1234
|
+
readonly TotalAmountDetailAfterCancellation: v.OptionalSchema<v.ObjectSchema<{
|
|
1235
|
+
readonly "@CurrencyCode": v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1236
|
+
readonly "@TotalAmountBeforeDiscount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1237
|
+
readonly "@TotalAmountAfterDiscount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1238
|
+
readonly "@TotalDiscount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1239
|
+
readonly "@TotalAmountWithoutVat": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1240
|
+
readonly "@DueAmount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1241
|
+
readonly "@PaiedAmount": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1242
|
+
readonly "@Balance": v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
1243
|
+
}, undefined>, undefined>;
|
|
1244
|
+
readonly Base64DocContent: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
247
1245
|
}, undefined>, v.TransformAction<{
|
|
248
1246
|
RsStatus: {
|
|
249
|
-
status: "
|
|
1247
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
250
1248
|
errorCode: number | undefined;
|
|
251
1249
|
errorDescription: string | undefined;
|
|
252
1250
|
warnings: string[] | undefined;
|
|
253
1251
|
};
|
|
254
|
-
BookingFileDetail?:
|
|
1252
|
+
BookingFileDetail?: {
|
|
1253
|
+
"@BookingFileCode": string | undefined;
|
|
1254
|
+
CustomerRecordCode: string | undefined;
|
|
1255
|
+
CustomerName: string | undefined;
|
|
1256
|
+
CustomerEmail: string | undefined;
|
|
1257
|
+
TravelAgencyName: string | undefined;
|
|
1258
|
+
TravelAgencyEmail: string | undefined;
|
|
1259
|
+
BookingFileStatus: {
|
|
1260
|
+
"@Value": CanonicalBookingFileStatus;
|
|
1261
|
+
"@ExpiredDate": string | undefined;
|
|
1262
|
+
} | undefined;
|
|
1263
|
+
Description: string | undefined;
|
|
1264
|
+
Nation: string | undefined;
|
|
1265
|
+
Destination: string | undefined;
|
|
1266
|
+
CreationDate: string | undefined;
|
|
1267
|
+
FirstConfirmationDate: string | undefined;
|
|
1268
|
+
StartDate: string | undefined;
|
|
1269
|
+
EndDate: string | undefined;
|
|
1270
|
+
PackageCode: string | undefined;
|
|
1271
|
+
BookedServiceList: {
|
|
1272
|
+
BookedServiceDetail?: {
|
|
1273
|
+
"@RPH": string;
|
|
1274
|
+
"@ServiceCode": string | undefined;
|
|
1275
|
+
"@FromExternalProvider": string | number | undefined;
|
|
1276
|
+
AvesServiceType: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS" | undefined;
|
|
1277
|
+
TOServiceType: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
1278
|
+
FirstDescription: string | undefined;
|
|
1279
|
+
SecondDescription: string | undefined;
|
|
1280
|
+
ThirdDescription: string | undefined;
|
|
1281
|
+
FourthDescription: string | undefined;
|
|
1282
|
+
ServiceStatus: "ALLOTMENT" | "ALLOTMENT_REQUEST" | "CANCELED" | "CONFIRMED_EXTRA_ALLOTMENT" | "CONFIRMED_REQUEST" | "MESSAGE" | "NULLIFIED" | "REFUSED" | "REQUEST" | "WAITLISTED" | undefined;
|
|
1283
|
+
StartDate: string | undefined;
|
|
1284
|
+
EndDate: string | undefined;
|
|
1285
|
+
Qty: string | number | undefined;
|
|
1286
|
+
Pax: string | number | undefined;
|
|
1287
|
+
PeriodType: string | undefined;
|
|
1288
|
+
PaxMultiplier: string | undefined;
|
|
1289
|
+
ExternalProviderCode: string | undefined;
|
|
1290
|
+
WebStatisticCode: string | undefined;
|
|
1291
|
+
WebStatisticDescription: string | undefined;
|
|
1292
|
+
WebStatistic: {
|
|
1293
|
+
"@Code"?: string | undefined;
|
|
1294
|
+
"@Description"?: string | undefined;
|
|
1295
|
+
} | undefined;
|
|
1296
|
+
SupplierInfo: {
|
|
1297
|
+
"@Code"?: string | undefined;
|
|
1298
|
+
"@Name"?: string | undefined;
|
|
1299
|
+
"@Email"?: string | undefined;
|
|
1300
|
+
"@LanguageCode"?: string | undefined;
|
|
1301
|
+
} | undefined;
|
|
1302
|
+
ServiceTotalAmountDetail: {
|
|
1303
|
+
"@CommissionCode"?: string | undefined;
|
|
1304
|
+
"@CommissionPercentage"?: string | number | undefined;
|
|
1305
|
+
"@CommissionAmount"?: string | number | undefined;
|
|
1306
|
+
"@PriceListCode"?: string | undefined;
|
|
1307
|
+
"@CostListCode"?: string | undefined;
|
|
1308
|
+
"@ServiceTotalPrice"?: string | number | undefined;
|
|
1309
|
+
PaxPriceList?: {
|
|
1310
|
+
PricePerPaxDetail?: {
|
|
1311
|
+
"@PaxRef": string;
|
|
1312
|
+
"@Price": string | number;
|
|
1313
|
+
}[] | undefined;
|
|
1314
|
+
} | undefined;
|
|
1315
|
+
} | undefined;
|
|
1316
|
+
}[] | undefined;
|
|
1317
|
+
} | undefined;
|
|
1318
|
+
TotalAmountDetail: {
|
|
1319
|
+
"@CurrencyCode"?: string | undefined;
|
|
1320
|
+
"@TotalAmountBeforeDiscount"?: string | number | undefined;
|
|
1321
|
+
"@TotalAmountAfterDiscount"?: string | number | undefined;
|
|
1322
|
+
"@TotalDiscount"?: string | number | undefined;
|
|
1323
|
+
"@TotalAmountWithoutVat"?: string | number | undefined;
|
|
1324
|
+
"@DueAmount"?: string | number | undefined;
|
|
1325
|
+
"@PaiedAmount"?: string | number | undefined;
|
|
1326
|
+
"@Balance"?: string | number | undefined;
|
|
1327
|
+
} | undefined;
|
|
1328
|
+
PaxNumber: string | number | undefined;
|
|
1329
|
+
PassengerList: {
|
|
1330
|
+
PassengerDetail?: {
|
|
1331
|
+
"@RPH": string;
|
|
1332
|
+
"@RoomRPH"?: string | undefined;
|
|
1333
|
+
"@BillingHolder"?: string | number | undefined;
|
|
1334
|
+
Name?: string | undefined;
|
|
1335
|
+
CategoryCode?: string | undefined;
|
|
1336
|
+
Sex?: string | undefined;
|
|
1337
|
+
BirthDate?: string | undefined;
|
|
1338
|
+
BirthPlace?: string | undefined;
|
|
1339
|
+
NationCode?: string | undefined;
|
|
1340
|
+
CitizenshipCode?: string | undefined;
|
|
1341
|
+
FiscalCode?: string | undefined;
|
|
1342
|
+
PhoneNumber?: string | undefined;
|
|
1343
|
+
EMail?: string | undefined;
|
|
1344
|
+
MasterRecordCode?: string | undefined;
|
|
1345
|
+
}[] | undefined;
|
|
1346
|
+
} | undefined;
|
|
1347
|
+
Reference: string | undefined;
|
|
1348
|
+
ClerkName: string | undefined;
|
|
1349
|
+
StoredDocumentsList: {
|
|
1350
|
+
StoredDocumentDetail?: {
|
|
1351
|
+
DocumentRefCode?: string | undefined;
|
|
1352
|
+
DocumentType?: string | undefined;
|
|
1353
|
+
DocumentName?: string | undefined;
|
|
1354
|
+
ArchiviationDescription?: string | undefined;
|
|
1355
|
+
}[] | undefined;
|
|
1356
|
+
} | undefined;
|
|
1357
|
+
PrintableDocumentsList: {
|
|
1358
|
+
PrintableDocumentDetail?: {
|
|
1359
|
+
DocumentType?: string | undefined;
|
|
1360
|
+
DocumentName?: string | undefined;
|
|
1361
|
+
Enabled?: string | number | undefined;
|
|
1362
|
+
}[] | undefined;
|
|
1363
|
+
} | undefined;
|
|
1364
|
+
FinancialDeadlineList: {
|
|
1365
|
+
DeadlineDetail?: {
|
|
1366
|
+
"@ReschedulingCode": string | undefined;
|
|
1367
|
+
"@ExpireDate": string | undefined;
|
|
1368
|
+
"@TotalAmount": string | number | undefined;
|
|
1369
|
+
}[] | undefined;
|
|
1370
|
+
} | undefined;
|
|
1371
|
+
} | undefined;
|
|
1372
|
+
PrintableDocumentsList?: {
|
|
1373
|
+
PrintableDocumentDetail?: {
|
|
1374
|
+
DocumentType?: string | undefined;
|
|
1375
|
+
DocumentName?: string | undefined;
|
|
1376
|
+
Enabled?: string | number | undefined;
|
|
1377
|
+
}[] | undefined;
|
|
1378
|
+
} | undefined;
|
|
1379
|
+
TotalAmountDetailAfterCancellation?: {
|
|
1380
|
+
"@CurrencyCode"?: string | undefined;
|
|
1381
|
+
"@TotalAmountBeforeDiscount"?: string | number | undefined;
|
|
1382
|
+
"@TotalAmountAfterDiscount"?: string | number | undefined;
|
|
1383
|
+
"@TotalDiscount"?: string | number | undefined;
|
|
1384
|
+
"@TotalAmountWithoutVat"?: string | number | undefined;
|
|
1385
|
+
"@DueAmount"?: string | number | undefined;
|
|
1386
|
+
"@PaiedAmount"?: string | number | undefined;
|
|
1387
|
+
"@Balance"?: string | number | undefined;
|
|
1388
|
+
} | undefined;
|
|
1389
|
+
Base64DocContent?: string | undefined;
|
|
255
1390
|
}, {
|
|
1391
|
+
base64DocContent?: string | undefined;
|
|
1392
|
+
bookingFileDetail?: {
|
|
1393
|
+
bookedServiceList: {
|
|
1394
|
+
bookedServiceDetail?: {
|
|
1395
|
+
avesServiceType: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS" | undefined;
|
|
1396
|
+
endDate: string | undefined;
|
|
1397
|
+
externalProviderCode: string | undefined;
|
|
1398
|
+
firstDescription: string | undefined;
|
|
1399
|
+
fourthDescription: string | undefined;
|
|
1400
|
+
fromExternalProvider: string | number | undefined;
|
|
1401
|
+
pax: string | number | undefined;
|
|
1402
|
+
paxMultiplier: string | undefined;
|
|
1403
|
+
periodType: string | undefined;
|
|
1404
|
+
qty: string | number | undefined;
|
|
1405
|
+
rph: string;
|
|
1406
|
+
secondDescription: string | undefined;
|
|
1407
|
+
serviceCode: string | undefined;
|
|
1408
|
+
serviceStatus: "ALLOTMENT" | "ALLOTMENT_REQUEST" | "CANCELED" | "CONFIRMED_EXTRA_ALLOTMENT" | "CONFIRMED_REQUEST" | "MESSAGE" | "NULLIFIED" | "REFUSED" | "REQUEST" | "WAITLISTED" | undefined;
|
|
1409
|
+
serviceTotalAmountDetail: {
|
|
1410
|
+
commissionAmount?: string | number | undefined;
|
|
1411
|
+
commissionCode?: string | undefined;
|
|
1412
|
+
commissionPercentage?: string | number | undefined;
|
|
1413
|
+
costListCode?: string | undefined;
|
|
1414
|
+
paxPriceList?: {
|
|
1415
|
+
pricePerPaxDetail?: {
|
|
1416
|
+
paxRef: string;
|
|
1417
|
+
price: string | number;
|
|
1418
|
+
}[] | undefined;
|
|
1419
|
+
} | undefined;
|
|
1420
|
+
priceListCode?: string | undefined;
|
|
1421
|
+
serviceTotalPrice?: string | number | undefined;
|
|
1422
|
+
} | undefined;
|
|
1423
|
+
startDate: string | undefined;
|
|
1424
|
+
supplierInfo: {
|
|
1425
|
+
code?: string | undefined;
|
|
1426
|
+
email?: string | undefined;
|
|
1427
|
+
languageCode?: string | undefined;
|
|
1428
|
+
name?: string | undefined;
|
|
1429
|
+
} | undefined;
|
|
1430
|
+
thirdDescription: string | undefined;
|
|
1431
|
+
toServiceType: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
1432
|
+
webStatistic: {
|
|
1433
|
+
code?: string | undefined;
|
|
1434
|
+
description?: string | undefined;
|
|
1435
|
+
} | undefined;
|
|
1436
|
+
webStatisticCode: string | undefined;
|
|
1437
|
+
webStatisticDescription: string | undefined;
|
|
1438
|
+
}[] | undefined;
|
|
1439
|
+
} | undefined;
|
|
1440
|
+
bookingFileCode: string | undefined;
|
|
1441
|
+
bookingFileStatus: {
|
|
1442
|
+
expiredDate: string | undefined;
|
|
1443
|
+
value: CanonicalBookingFileStatus;
|
|
1444
|
+
} | undefined;
|
|
1445
|
+
clerkName: string | undefined;
|
|
1446
|
+
creationDate: string | undefined;
|
|
1447
|
+
customerEmail: string | undefined;
|
|
1448
|
+
customerName: string | undefined;
|
|
1449
|
+
customerRecordCode: string | undefined;
|
|
1450
|
+
description: string | undefined;
|
|
1451
|
+
destination: string | undefined;
|
|
1452
|
+
endDate: string | undefined;
|
|
1453
|
+
financialDeadlineList: {
|
|
1454
|
+
deadlineDetail?: {
|
|
1455
|
+
expireDate: string | undefined;
|
|
1456
|
+
reschedulingCode: string | undefined;
|
|
1457
|
+
totalAmount: string | number | undefined;
|
|
1458
|
+
}[] | undefined;
|
|
1459
|
+
} | undefined;
|
|
1460
|
+
firstConfirmationDate: string | undefined;
|
|
1461
|
+
nation: string | undefined;
|
|
1462
|
+
packageCode: string | undefined;
|
|
1463
|
+
passengerList: {
|
|
1464
|
+
passengerDetail?: {
|
|
1465
|
+
billingHolder?: string | number | undefined;
|
|
1466
|
+
birthDate?: string | undefined;
|
|
1467
|
+
birthPlace?: string | undefined;
|
|
1468
|
+
categoryCode?: string | undefined;
|
|
1469
|
+
citizenshipCode?: string | undefined;
|
|
1470
|
+
eMail?: string | undefined;
|
|
1471
|
+
fiscalCode?: string | undefined;
|
|
1472
|
+
masterRecordCode?: string | undefined;
|
|
1473
|
+
name?: string | undefined;
|
|
1474
|
+
nationCode?: string | undefined;
|
|
1475
|
+
phoneNumber?: string | undefined;
|
|
1476
|
+
roomRPH?: string | undefined;
|
|
1477
|
+
rph: string;
|
|
1478
|
+
sex?: string | undefined;
|
|
1479
|
+
}[] | undefined;
|
|
1480
|
+
} | undefined;
|
|
1481
|
+
paxNumber: string | number | undefined;
|
|
1482
|
+
printableDocumentsList: {
|
|
1483
|
+
printableDocumentDetail?: {
|
|
1484
|
+
documentName?: string | undefined;
|
|
1485
|
+
documentType?: string | undefined;
|
|
1486
|
+
enabled?: string | number | undefined;
|
|
1487
|
+
}[] | undefined;
|
|
1488
|
+
} | undefined;
|
|
1489
|
+
reference: string | undefined;
|
|
1490
|
+
startDate: string | undefined;
|
|
1491
|
+
storedDocumentsList: {
|
|
1492
|
+
storedDocumentDetail?: {
|
|
1493
|
+
archiviationDescription?: string | undefined;
|
|
1494
|
+
documentName?: string | undefined;
|
|
1495
|
+
documentRefCode?: string | undefined;
|
|
1496
|
+
documentType?: string | undefined;
|
|
1497
|
+
}[] | undefined;
|
|
1498
|
+
} | undefined;
|
|
1499
|
+
totalAmountDetail: {
|
|
1500
|
+
balance?: string | number | undefined;
|
|
1501
|
+
currencyCode?: string | undefined;
|
|
1502
|
+
dueAmount?: string | number | undefined;
|
|
1503
|
+
paiedAmount?: string | number | undefined;
|
|
1504
|
+
totalAmountAfterDiscount?: string | number | undefined;
|
|
1505
|
+
totalAmountBeforeDiscount?: string | number | undefined;
|
|
1506
|
+
totalAmountWithoutVat?: string | number | undefined;
|
|
1507
|
+
totalDiscount?: string | number | undefined;
|
|
1508
|
+
} | undefined;
|
|
1509
|
+
travelAgencyEmail: string | undefined;
|
|
1510
|
+
travelAgencyName: string | undefined;
|
|
1511
|
+
} | undefined;
|
|
1512
|
+
printableDocumentsList?: {
|
|
1513
|
+
printableDocumentDetail?: {
|
|
1514
|
+
documentName?: string | undefined;
|
|
1515
|
+
documentType?: string | undefined;
|
|
1516
|
+
enabled?: string | number | undefined;
|
|
1517
|
+
}[] | undefined;
|
|
1518
|
+
} | undefined;
|
|
256
1519
|
rsStatus: {
|
|
257
|
-
status: "OK" | "ERROR" | "WARNING" | "TIMEOUT";
|
|
258
1520
|
errorCode: number | undefined;
|
|
259
1521
|
errorDescription: string | undefined;
|
|
1522
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
260
1523
|
warnings: string[] | undefined;
|
|
261
1524
|
};
|
|
262
|
-
|
|
1525
|
+
totalAmountDetailAfterCancellation?: {
|
|
1526
|
+
balance?: string | number | undefined;
|
|
1527
|
+
currencyCode?: string | undefined;
|
|
1528
|
+
dueAmount?: string | number | undefined;
|
|
1529
|
+
paiedAmount?: string | number | undefined;
|
|
1530
|
+
totalAmountAfterDiscount?: string | number | undefined;
|
|
1531
|
+
totalAmountBeforeDiscount?: string | number | undefined;
|
|
1532
|
+
totalAmountWithoutVat?: string | number | undefined;
|
|
1533
|
+
totalDiscount?: string | number | undefined;
|
|
1534
|
+
} | undefined;
|
|
263
1535
|
}>]>;
|
|
264
1536
|
//#endregion
|
|
1537
|
+
//#region src/schemas/booking-ops.d.ts
|
|
1538
|
+
/** Response with RsStatus only (Cancel / ModHeader) */
|
|
1539
|
+
declare const BookingStatusOnlyResponseSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1540
|
+
readonly RsStatus: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1541
|
+
readonly "@Status": v.UnionSchema<[v.LiteralSchema<"OK", undefined>, v.LiteralSchema<"ERROR", undefined>, v.LiteralSchema<"WARNING", undefined>, v.LiteralSchema<"TIMEOUT", undefined>], undefined>;
|
|
1542
|
+
readonly ErrorCode: v.OptionalSchema<v.SchemaWithPipe<readonly [v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, v.TransformAction<string | number, number>]>, undefined>;
|
|
1543
|
+
readonly ErrorDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1544
|
+
readonly Warnings: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, string[]>]>, undefined>;
|
|
1545
|
+
}, undefined>, v.TransformAction<{
|
|
1546
|
+
"@Status": "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1547
|
+
ErrorCode?: number | undefined;
|
|
1548
|
+
ErrorDescription?: string | undefined;
|
|
1549
|
+
Warnings?: string[] | undefined;
|
|
1550
|
+
}, {
|
|
1551
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1552
|
+
errorCode: number | undefined;
|
|
1553
|
+
errorDescription: string | undefined;
|
|
1554
|
+
warnings: string[] | undefined;
|
|
1555
|
+
}>]>;
|
|
1556
|
+
}, undefined>, v.TransformAction<{
|
|
1557
|
+
RsStatus: {
|
|
1558
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1559
|
+
errorCode: number | undefined;
|
|
1560
|
+
errorDescription: string | undefined;
|
|
1561
|
+
warnings: string[] | undefined;
|
|
1562
|
+
};
|
|
1563
|
+
}, {
|
|
1564
|
+
rsStatus: {
|
|
1565
|
+
errorCode: number | undefined;
|
|
1566
|
+
errorDescription: string | undefined;
|
|
1567
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1568
|
+
warnings: string[] | undefined;
|
|
1569
|
+
};
|
|
1570
|
+
}>]>;
|
|
1571
|
+
/**
|
|
1572
|
+
* ModFileServicesRQ body (camelCase).
|
|
1573
|
+
* Add/replace services, assign package, and/or cancel cost lines.
|
|
1574
|
+
*
|
|
1575
|
+
* Note: SelectedServiceList shape differs from CreateBookingFile —
|
|
1576
|
+
* Create uses `{ selectedServiceDetail: one }[]`;
|
|
1577
|
+
* Mod uses `{ selectedServiceDetail: one[] }` (AVES wire).
|
|
1578
|
+
*/
|
|
1579
|
+
declare const ModFileServicesSchema: v.ObjectSchema<{
|
|
1580
|
+
readonly customerRecordCode: v.StringSchema<undefined>;
|
|
1581
|
+
readonly bookingFileCode: v.StringSchema<undefined>;
|
|
1582
|
+
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1583
|
+
readonly deadlineList: v.OptionalSchema<v.ObjectSchema<{
|
|
1584
|
+
readonly deadlineDetail: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1585
|
+
readonly reschedulingCode: v.StringSchema<undefined>;
|
|
1586
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1587
|
+
readonly expireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1588
|
+
}, undefined>, undefined>, undefined>;
|
|
1589
|
+
}, undefined>, undefined>;
|
|
1590
|
+
readonly selectedPackageDetail: v.OptionalSchema<v.ObjectSchema<{
|
|
1591
|
+
readonly pCode: v.StringSchema<undefined>;
|
|
1592
|
+
readonly startDate: v.StringSchema<undefined>;
|
|
1593
|
+
readonly endDate: v.StringSchema<undefined>;
|
|
1594
|
+
readonly getServicesFromPackage: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1595
|
+
}, undefined>, undefined>;
|
|
1596
|
+
readonly selectedServiceList: v.ObjectSchema<{
|
|
1597
|
+
readonly selectedServiceDetail: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1598
|
+
readonly sCode: v.StringSchema<undefined>;
|
|
1599
|
+
readonly ssCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1600
|
+
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>;
|
|
1601
|
+
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>;
|
|
1602
|
+
readonly subServiceDesc: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1603
|
+
readonly startDate: v.StringSchema<undefined>;
|
|
1604
|
+
readonly endDate: v.StringSchema<undefined>;
|
|
1605
|
+
readonly qty: v.StringSchema<undefined>;
|
|
1606
|
+
readonly pax: v.StringSchema<undefined>;
|
|
1607
|
+
readonly paxAssociated: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1608
|
+
readonly pax: v.StringSchema<undefined>;
|
|
1609
|
+
}, undefined>, undefined>, undefined>;
|
|
1610
|
+
readonly avesSession: v.StringSchema<undefined>;
|
|
1611
|
+
readonly avesServiceInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
1612
|
+
readonly packageCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1613
|
+
readonly packageReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1614
|
+
readonly suballotmentCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1615
|
+
readonly priceListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1616
|
+
readonly costListCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1617
|
+
readonly externalFileCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1618
|
+
readonly externalReference: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
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>;
|
|
1633
|
+
readonly serviceFare: v.OptionalSchema<v.ObjectSchema<{
|
|
1634
|
+
readonly currencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1635
|
+
readonly exchangeRate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1636
|
+
readonly cost: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1637
|
+
readonly costTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1638
|
+
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>;
|
|
1639
|
+
readonly vatCostCurrencyCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1640
|
+
readonly price: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1641
|
+
readonly priceTax: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1642
|
+
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
|
+
}, undefined>, undefined>;
|
|
1644
|
+
readonly bookedServiceRef: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1645
|
+
readonly supplierMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1646
|
+
readonly voucherMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1647
|
+
readonly hotelServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1648
|
+
readonly carRentalServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1649
|
+
readonly flightServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1650
|
+
readonly shipServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1651
|
+
readonly ticketServiceInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1652
|
+
readonly commission: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1653
|
+
readonly noteList: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1654
|
+
readonly voucherInfo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1655
|
+
readonly firstDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1656
|
+
readonly secondDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1657
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1658
|
+
sCode: string;
|
|
1659
|
+
ssCode?: string | undefined;
|
|
1660
|
+
avesServiceType: "ADV" | "GRP" | "OTHER" | "TOP" | "TOP_SS";
|
|
1661
|
+
toServiceType?: "ACCOMODATION" | "CHARTER" | "CRUISE" | "EXTRAFEE" | "FERRY" | "INSURANCE" | "NOT_SET" | "OTHER" | "PENALTY" | "PROMO" | "PULLMAN" | "RESIDENCE" | "TRANSFER" | "TRANSPORT" | undefined;
|
|
1662
|
+
subServiceDesc?: string | undefined;
|
|
1663
|
+
startDate: string;
|
|
1664
|
+
endDate: string;
|
|
1665
|
+
qty: string;
|
|
1666
|
+
pax: string;
|
|
1667
|
+
paxAssociated?: {
|
|
1668
|
+
pax: string;
|
|
1669
|
+
}[] | undefined;
|
|
1670
|
+
avesSession: string;
|
|
1671
|
+
avesServiceInfo?: {
|
|
1672
|
+
packageCode?: string | undefined;
|
|
1673
|
+
packageReference?: string | undefined;
|
|
1674
|
+
suballotmentCode?: string | undefined;
|
|
1675
|
+
priceListCode?: string | undefined;
|
|
1676
|
+
costListCode?: string | undefined;
|
|
1677
|
+
externalFileCode?: string | undefined;
|
|
1678
|
+
externalReference?: string | undefined;
|
|
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;
|
|
1693
|
+
serviceFare?: {
|
|
1694
|
+
currencyCode?: string | undefined;
|
|
1695
|
+
exchangeRate?: string | undefined;
|
|
1696
|
+
cost?: string | undefined;
|
|
1697
|
+
costTax?: string | undefined;
|
|
1698
|
+
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;
|
|
1699
|
+
vatCostCurrencyCode?: string | undefined;
|
|
1700
|
+
price?: string | undefined;
|
|
1701
|
+
priceTax?: string | undefined;
|
|
1702
|
+
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
|
+
} | undefined;
|
|
1704
|
+
bookedServiceRef?: string | undefined;
|
|
1705
|
+
supplierMasterCode?: string | undefined;
|
|
1706
|
+
voucherMasterCode?: string | undefined;
|
|
1707
|
+
hotelServiceInfo?: string | undefined;
|
|
1708
|
+
carRentalServiceInfo?: string | undefined;
|
|
1709
|
+
flightServiceInfo?: string | undefined;
|
|
1710
|
+
shipServiceInfo?: string | undefined;
|
|
1711
|
+
ticketServiceInfo?: string | undefined;
|
|
1712
|
+
commission?: string | undefined;
|
|
1713
|
+
noteList?: string | undefined;
|
|
1714
|
+
voucherInfo?: string | undefined;
|
|
1715
|
+
firstDescription?: string | undefined;
|
|
1716
|
+
secondDescription?: string | undefined;
|
|
1717
|
+
}[], 1, undefined>]>;
|
|
1718
|
+
}, undefined>;
|
|
1719
|
+
readonly cancellableBookedServiceList: v.OptionalSchema<v.ObjectSchema<{
|
|
1720
|
+
readonly cancellableBookedServiceDetail: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1721
|
+
readonly cancelOperationType: v.UnionSchema<[v.LiteralSchema<"NULLIFY", undefined>, v.LiteralSchema<"DELETE", undefined>], undefined>;
|
|
1722
|
+
readonly serviceRefType: v.UnionSchema<[v.LiteralSchema<"RPH", undefined>, v.LiteralSchema<"FILE", undefined>], undefined>;
|
|
1723
|
+
readonly serviceRefValue: v.StringSchema<undefined>;
|
|
1724
|
+
}, undefined>, undefined>, undefined>;
|
|
1725
|
+
}, undefined>, undefined>;
|
|
1726
|
+
readonly passengerList: v.OptionalSchema<v.ObjectSchema<{
|
|
1727
|
+
readonly passengerDetail: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1728
|
+
readonly rph: v.StringSchema<undefined>;
|
|
1729
|
+
readonly roomRph: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1730
|
+
readonly billingHolder: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1731
|
+
readonly masterRecordCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1732
|
+
readonly name: v.StringSchema<undefined>;
|
|
1733
|
+
readonly sex: v.UnionSchema<[v.LiteralSchema<"M", undefined>, v.LiteralSchema<"F", undefined>], undefined>;
|
|
1734
|
+
readonly birthDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1735
|
+
readonly birthPlace: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1736
|
+
readonly nationCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1737
|
+
readonly citizenshipCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1738
|
+
readonly fiscalCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1739
|
+
readonly phoneNumber: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1740
|
+
readonly eMail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1741
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1742
|
+
readonly nType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1743
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1744
|
+
readonly text: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1745
|
+
}, undefined>, undefined>, undefined>;
|
|
1746
|
+
readonly flagStatus: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1747
|
+
readonly offerCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1748
|
+
readonly idDocInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
1749
|
+
readonly idType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1750
|
+
readonly idCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1751
|
+
readonly idIssueLocation: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1752
|
+
readonly idIssueCounty: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
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>;
|
|
1757
|
+
}, undefined>, undefined>, undefined>;
|
|
1758
|
+
}, undefined>, undefined>;
|
|
1759
|
+
}, undefined>;
|
|
1760
|
+
/**
|
|
1761
|
+
* ModFileHeaderRQ body (camelCase).
|
|
1762
|
+
* Modify header only — no package/costs.
|
|
1763
|
+
*/
|
|
1764
|
+
declare const ModFileHeaderSchema: v.ObjectSchema<{
|
|
1765
|
+
readonly bookingFileCode: v.StringSchema<undefined>;
|
|
1766
|
+
readonly bookingFileStartDate: v.StringSchema<undefined>;
|
|
1767
|
+
readonly customerRecordCode: v.StringSchema<undefined>;
|
|
1768
|
+
readonly newCustomerRecordCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1769
|
+
readonly bookingFileReferenceName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1770
|
+
readonly travelAgentCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1771
|
+
readonly billingReferenceCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1772
|
+
readonly paymentReferenceCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1773
|
+
readonly cupCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1774
|
+
readonly cigCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1775
|
+
readonly customerPromoterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1776
|
+
readonly bookingNote: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1777
|
+
readonly passengerList: v.OptionalSchema<v.ObjectSchema<{
|
|
1778
|
+
readonly passengerDetail: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1779
|
+
readonly rph: v.StringSchema<undefined>;
|
|
1780
|
+
readonly roomRph: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1781
|
+
readonly billingHolder: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1782
|
+
readonly masterRecordCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1783
|
+
readonly name: v.StringSchema<undefined>;
|
|
1784
|
+
readonly sex: v.UnionSchema<[v.LiteralSchema<"M", undefined>, v.LiteralSchema<"F", undefined>], undefined>;
|
|
1785
|
+
readonly birthDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1786
|
+
readonly birthPlace: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1787
|
+
readonly nationCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1788
|
+
readonly citizenshipCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1789
|
+
readonly fiscalCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1790
|
+
readonly phoneNumber: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1791
|
+
readonly eMail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1792
|
+
readonly notes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1793
|
+
readonly nType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1794
|
+
readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
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>;
|
|
1808
|
+
}, undefined>, undefined>, undefined>;
|
|
1809
|
+
}, undefined>, undefined>;
|
|
1810
|
+
readonly statisticCodes: v.OptionalSchema<v.ObjectSchema<{
|
|
1811
|
+
readonly sCode1: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4, undefined>]>, undefined>;
|
|
1812
|
+
readonly sCode2: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4, undefined>]>, undefined>;
|
|
1813
|
+
readonly sCode3: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4, undefined>]>, undefined>;
|
|
1814
|
+
readonly sCode4: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4, undefined>]>, undefined>;
|
|
1815
|
+
readonly sCode5: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4, undefined>]>, undefined>;
|
|
1816
|
+
readonly sCode6: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4, undefined>]>, undefined>;
|
|
1817
|
+
}, undefined>, undefined>;
|
|
1818
|
+
readonly bookingFinancialInfo: v.OptionalSchema<v.ObjectSchema<{
|
|
1819
|
+
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
|
+
readonly customer_SpecPaymentTypeCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1821
|
+
}, undefined>, undefined>;
|
|
1822
|
+
readonly financialDeadlineList: v.OptionalSchema<v.ObjectSchema<{
|
|
1823
|
+
readonly deadlineDetail: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1824
|
+
readonly reschedulingCode: v.StringSchema<undefined>;
|
|
1825
|
+
readonly expireDate: v.StringSchema<undefined>;
|
|
1826
|
+
readonly totalAmount: v.StringSchema<undefined>;
|
|
1827
|
+
}, undefined>, undefined>, undefined>;
|
|
1828
|
+
}, undefined>, undefined>;
|
|
1829
|
+
}, undefined>;
|
|
1830
|
+
declare const CancelFileSchema: v.ObjectSchema<{
|
|
1831
|
+
readonly bookingFileCode: v.StringSchema<undefined>;
|
|
1832
|
+
readonly customerRecordCode: v.StringSchema<undefined>;
|
|
1833
|
+
}, undefined>;
|
|
1834
|
+
/**
|
|
1835
|
+
* SetStatusRQ body (camelCase).
|
|
1836
|
+
* Change booking file status (incl. CANCELED / NULLIFIED).
|
|
1837
|
+
*/
|
|
1838
|
+
declare const SetFileStatusSchema: v.ObjectSchema<{
|
|
1839
|
+
readonly customerRecordCode: v.StringSchema<undefined>;
|
|
1840
|
+
readonly bookingFileCode: v.StringSchema<undefined>;
|
|
1841
|
+
readonly fileStatus: v.ObjectSchema<{
|
|
1842
|
+
readonly value: v.UnionSchema<[v.LiteralSchema<"QUOTATION", undefined>, v.LiteralSchema<"WORK_IN_PROGRESS", undefined>, v.LiteralSchema<"CONFIRMED", undefined>, v.LiteralSchema<"OPTIONED", undefined>, v.LiteralSchema<"NULLIFIED", undefined>, v.LiteralSchema<"CANCELED", undefined>], undefined>;
|
|
1843
|
+
readonly expiredDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1844
|
+
readonly optionedFileExpireDatePolicy: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"NOT_SET", undefined>, v.LiteralSchema<"CONSIDER_HOLIDAY", undefined>, v.LiteralSchema<"CONSIDER_HOLIDAY_AND_SATURDAY", undefined>], undefined>, undefined>;
|
|
1845
|
+
}, undefined>;
|
|
1846
|
+
readonly backOfficeRequest: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1847
|
+
readonly bookingFileDocument: v.OptionalSchema<v.ObjectSchema<{
|
|
1848
|
+
readonly printDoc: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1849
|
+
readonly sendDocViaEmail: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1850
|
+
readonly infoDocumentsToPrint: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1851
|
+
readonly documentType: v.UnionSchema<[v.LiteralSchema<"VISA_REQUEST", undefined>, v.LiteralSchema<"TRAVEL_INFORMATION", undefined>, v.LiteralSchema<"VOUCHER", undefined>, v.LiteralSchema<"BOOKING_CONTRACT", undefined>, v.LiteralSchema<"BOOKING_CONFIRMATION", undefined>, v.LiteralSchema<"SUPPLIER_SERVICE_LIST", undefined>, v.LiteralSchema<"INVOICE", undefined>, v.LiteralSchema<"PROFORMA_INVOICE", undefined>, v.LiteralSchema<"ADEGUAMENTO", undefined>, v.LiteralSchema<"RESERVATION_FORM", undefined>, v.LiteralSchema<"OPEN_XML", undefined>, v.LiteralSchema<"SALES_INVOICE", undefined>, v.LiteralSchema<"TICKETING_TMASTER", undefined>, v.LiteralSchema<"SUMMARY_FORM", undefined>], undefined>;
|
|
1852
|
+
readonly documentCustomizablePrintParameters: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1853
|
+
readonly makeDocumentTo: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"BOOKING_CUSTOMER", undefined>, v.LiteralSchema<"FIRST_PASSENGER", undefined>], undefined>, undefined>;
|
|
1854
|
+
}, undefined>, v.ObjectSchema<{
|
|
1855
|
+
readonly fillInCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1856
|
+
}, undefined>], undefined>, undefined>;
|
|
1857
|
+
}, undefined>, undefined>, undefined>;
|
|
1858
|
+
}, undefined>, undefined>;
|
|
1859
|
+
readonly penalty: v.OptionalSchema<v.ObjectSchema<{
|
|
1860
|
+
readonly apply: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1861
|
+
readonly specificCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1862
|
+
}, undefined>, undefined>;
|
|
1863
|
+
readonly simulateCancelAndGetPenaltyAmount: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1864
|
+
}, undefined>;
|
|
1865
|
+
declare const SetFileServiceStatusSchema: v.ObjectSchema<{
|
|
1866
|
+
readonly customerRecordCode: v.StringSchema<undefined>;
|
|
1867
|
+
readonly bookingFileCode: v.StringSchema<undefined>;
|
|
1868
|
+
readonly bookingServiceRef: v.StringSchema<undefined>;
|
|
1869
|
+
readonly bookingFileServiceStatus: v.LiteralSchema<"NULLIFIED", undefined>;
|
|
1870
|
+
readonly bookingFileServiceStatusDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1871
|
+
}, undefined>;
|
|
1872
|
+
/**
|
|
1873
|
+
* FilePaymentListRQ body (camelCase).
|
|
1874
|
+
* Register one or more client payments on an existing booking file.
|
|
1875
|
+
* Requires bookingFileCode or bookingFileRefCode.
|
|
1876
|
+
*/
|
|
1877
|
+
declare const FilePaymentListSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1878
|
+
readonly bookingFileCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1879
|
+
readonly bookingFileRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1880
|
+
readonly paymentUser: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1881
|
+
readonly enableMultiplePayments: v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>;
|
|
1882
|
+
readonly operationType: v.UnionSchema<[v.LiteralSchema<"AbsoluteAmountsInsertion", undefined>, v.LiteralSchema<"FinalAmountToAchieve", undefined>, v.LiteralSchema<"FinalAmountToAchieveWithoutControls", undefined>], undefined>;
|
|
1883
|
+
readonly filePaymentList: v.ObjectSchema<{
|
|
1884
|
+
readonly filePaymentDetail: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1885
|
+
readonly paymentDate: v.StringSchema<undefined>;
|
|
1886
|
+
readonly paymentNote: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1887
|
+
readonly payerMasterCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1888
|
+
readonly payerName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1889
|
+
readonly amount: v.StringSchema<undefined>;
|
|
1890
|
+
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>;
|
|
1891
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1892
|
+
paymentDate: string;
|
|
1893
|
+
paymentNote?: string | undefined;
|
|
1894
|
+
payerMasterCode?: string | undefined;
|
|
1895
|
+
payerName?: string | undefined;
|
|
1896
|
+
amount: string;
|
|
1897
|
+
paymentType: "A" | "B" | "C" | "D" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V";
|
|
1898
|
+
}[], 1, undefined>]>;
|
|
1899
|
+
}, undefined>;
|
|
1900
|
+
}, undefined>, v.CheckAction<{
|
|
1901
|
+
bookingFileCode?: string | undefined;
|
|
1902
|
+
bookingFileRefCode?: string | undefined;
|
|
1903
|
+
paymentUser?: string | undefined;
|
|
1904
|
+
enableMultiplePayments: "false" | "true" | boolean;
|
|
1905
|
+
operationType: "AbsoluteAmountsInsertion" | "FinalAmountToAchieve" | "FinalAmountToAchieveWithoutControls";
|
|
1906
|
+
filePaymentList: {
|
|
1907
|
+
filePaymentDetail: {
|
|
1908
|
+
paymentDate: string;
|
|
1909
|
+
paymentNote?: string | undefined;
|
|
1910
|
+
payerMasterCode?: string | undefined;
|
|
1911
|
+
payerName?: string | undefined;
|
|
1912
|
+
amount: string;
|
|
1913
|
+
paymentType: "A" | "B" | "C" | "D" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V";
|
|
1914
|
+
}[];
|
|
1915
|
+
};
|
|
1916
|
+
}, "bookingFileCode or bookingFileRefCode is required">]>;
|
|
1917
|
+
//#endregion
|
|
265
1918
|
//#region src/schemas/common.d.ts
|
|
266
1919
|
/**
|
|
267
1920
|
* Request header schema with authentication credentials
|
|
@@ -282,12 +1935,12 @@ declare const RsStatusSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
282
1935
|
readonly ErrorDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
283
1936
|
readonly Warnings: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, string[]>]>, undefined>;
|
|
284
1937
|
}, undefined>, v.TransformAction<{
|
|
285
|
-
"@Status": "
|
|
1938
|
+
"@Status": "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
286
1939
|
ErrorCode?: number | undefined;
|
|
287
1940
|
ErrorDescription?: string | undefined;
|
|
288
1941
|
Warnings?: string[] | undefined;
|
|
289
1942
|
}, {
|
|
290
|
-
status: "
|
|
1943
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
291
1944
|
errorCode: number | undefined;
|
|
292
1945
|
errorDescription: string | undefined;
|
|
293
1946
|
warnings: string[] | undefined;
|
|
@@ -309,21 +1962,21 @@ declare const FinancialDetailSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
309
1962
|
}, undefined>, v.TransformAction<{
|
|
310
1963
|
currencyCode?: string | undefined;
|
|
311
1964
|
creditLimit?: string | undefined;
|
|
312
|
-
c_PaymentType?: "
|
|
1965
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
313
1966
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
314
|
-
s_PaymentType?: "
|
|
1967
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
315
1968
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
316
|
-
enableElectronicInvoicing?:
|
|
1969
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
317
1970
|
electronicInvoicingType?: string | undefined;
|
|
318
1971
|
}, {
|
|
319
|
-
|
|
320
|
-
CreditLimit?: string | undefined;
|
|
321
|
-
CPaymentType?: "CASH" | "BANK" | "RID" | "RIBA" | "SPECIFIC_CODE" | undefined;
|
|
1972
|
+
CPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
322
1973
|
CSpecPaymentTypeCode?: string | undefined;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
EnableElectronicInvoicing?: boolean | "true" | "false" | undefined;
|
|
1974
|
+
CreditLimit?: string | undefined;
|
|
1975
|
+
CurrencyCode?: string | undefined;
|
|
326
1976
|
ElectronicInvoicingType?: string | undefined;
|
|
1977
|
+
EnableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
1978
|
+
SPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1979
|
+
SSpecPaymentTypeCode?: string | undefined;
|
|
327
1980
|
}>]>;
|
|
328
1981
|
/**
|
|
329
1982
|
* ID document detail schema for API requests (transforms to PascalCase)
|
|
@@ -343,26 +1996,26 @@ declare const IdDocumentDetailSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<
|
|
|
343
1996
|
idIssueDate?: string | undefined;
|
|
344
1997
|
idExpireDate?: string | undefined;
|
|
345
1998
|
}, {
|
|
346
|
-
IdType?: string | undefined;
|
|
347
1999
|
IdCode?: string | undefined;
|
|
348
|
-
|
|
2000
|
+
IdExpireDate?: string | undefined;
|
|
349
2001
|
IdIssueCounty?: string | undefined;
|
|
350
2002
|
IdIssueDate?: string | undefined;
|
|
351
|
-
|
|
2003
|
+
IdIssueLocation?: string | undefined;
|
|
2004
|
+
IdType?: string | undefined;
|
|
352
2005
|
}>]>;
|
|
353
2006
|
/**
|
|
354
2007
|
* Dynamic fields schema for API requests (transforms to PascalCase)
|
|
355
2008
|
*/
|
|
356
|
-
declare const DynamicFieldsSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2009
|
+
declare const DynamicFieldsSchema: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
357
2010
|
readonly key: v.StringSchema<undefined>;
|
|
358
2011
|
readonly value: v.StringSchema<undefined>;
|
|
359
|
-
}, undefined>, v.TransformAction<{
|
|
2012
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
360
2013
|
key: string;
|
|
361
2014
|
value: string;
|
|
362
|
-
}, {
|
|
2015
|
+
}[], {
|
|
363
2016
|
Key: string;
|
|
364
2017
|
Value: string;
|
|
365
|
-
}>]>;
|
|
2018
|
+
}[]>]>;
|
|
366
2019
|
/**
|
|
367
2020
|
* Account policies schema for API requests (transforms to PascalCase with @ attributes)
|
|
368
2021
|
*/
|
|
@@ -375,9 +2028,9 @@ declare const AccountPoliciesSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
375
2028
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
376
2029
|
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
377
2030
|
}, {
|
|
378
|
-
AcceptProfilingPolicies?: 0 | 1 | undefined;
|
|
379
|
-
AcceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
380
2031
|
AcceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
2032
|
+
AcceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
2033
|
+
AcceptProfilingPolicies?: 0 | 1 | undefined;
|
|
381
2034
|
}>]>;
|
|
382
2035
|
/**
|
|
383
2036
|
* Master record detail input schema (camelCase)
|
|
@@ -435,6 +2088,11 @@ declare const MasterRecordDetailSchema: v.ObjectSchema<{
|
|
|
435
2088
|
readonly key: v.StringSchema<undefined>;
|
|
436
2089
|
readonly value: v.StringSchema<undefined>;
|
|
437
2090
|
}, undefined>, undefined>;
|
|
2091
|
+
readonly supplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
2092
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2093
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2094
|
+
readonly carrierType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"NOT_SET", undefined>, v.LiteralSchema<"FLIGHT", undefined>, v.LiteralSchema<"SHIP", undefined>, v.LiteralSchema<"TRAIN", undefined>, v.LiteralSchema<"RENTCAR", undefined>, v.LiteralSchema<"BUS", undefined>, v.LiteralSchema<"DP_HOTEL", undefined>, v.LiteralSchema<"TO_HOTEL", undefined>, v.LiteralSchema<"TO_TOUR", undefined>, v.LiteralSchema<"TO_HOTEL_AND_TOUR", undefined>, v.LiteralSchema<"DP_AUTO", undefined>, v.LiteralSchema<"DP_GDS_NAVI", undefined>, v.LiteralSchema<"DP_GDS_VOLI", undefined>, v.LiteralSchema<"TOUR_OPERATOR", undefined>, v.LiteralSchema<"TICKETING_EV", undefined>, v.LiteralSchema<"OTHER", undefined>], undefined>, undefined>;
|
|
2095
|
+
}, undefined>, undefined>;
|
|
438
2096
|
}, undefined>;
|
|
439
2097
|
/**
|
|
440
2098
|
* Master record detail response schema (transforms to camelCase)
|
|
@@ -492,12 +2150,17 @@ declare const MasterRecordDetailResponseSchema: v.SchemaWithPipe<readonly [v.Sch
|
|
|
492
2150
|
readonly key: v.StringSchema<undefined>;
|
|
493
2151
|
readonly value: v.StringSchema<undefined>;
|
|
494
2152
|
}, undefined>, undefined>;
|
|
2153
|
+
readonly supplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
2154
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2155
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2156
|
+
readonly carrierType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"NOT_SET", undefined>, v.LiteralSchema<"FLIGHT", undefined>, v.LiteralSchema<"SHIP", undefined>, v.LiteralSchema<"TRAIN", undefined>, v.LiteralSchema<"RENTCAR", undefined>, v.LiteralSchema<"BUS", undefined>, v.LiteralSchema<"DP_HOTEL", undefined>, v.LiteralSchema<"TO_HOTEL", undefined>, v.LiteralSchema<"TO_TOUR", undefined>, v.LiteralSchema<"TO_HOTEL_AND_TOUR", undefined>, v.LiteralSchema<"DP_AUTO", undefined>, v.LiteralSchema<"DP_GDS_NAVI", undefined>, v.LiteralSchema<"DP_GDS_VOLI", undefined>, v.LiteralSchema<"TOUR_OPERATOR", undefined>, v.LiteralSchema<"TICKETING_EV", undefined>, v.LiteralSchema<"OTHER", undefined>], undefined>, undefined>;
|
|
2157
|
+
}, undefined>, undefined>;
|
|
495
2158
|
}, undefined>, v.TransformAction<{
|
|
496
2159
|
recordCode?: string | undefined;
|
|
497
|
-
insertCriteria?: "
|
|
2160
|
+
insertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
498
2161
|
createdDate?: string | undefined;
|
|
499
|
-
recordType?: "CUSTOMER" | "
|
|
500
|
-
recordStatus?: "
|
|
2162
|
+
recordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
2163
|
+
recordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
501
2164
|
moniker?: string | undefined;
|
|
502
2165
|
name?: string | undefined;
|
|
503
2166
|
extraInfo?: string | undefined;
|
|
@@ -511,7 +2174,7 @@ declare const MasterRecordDetailResponseSchema: v.SchemaWithPipe<readonly [v.Sch
|
|
|
511
2174
|
firstPhoneNumber?: string | undefined;
|
|
512
2175
|
mobilePhoneNumber?: string | undefined;
|
|
513
2176
|
email?: string | undefined;
|
|
514
|
-
gender?: "
|
|
2177
|
+
gender?: "F" | "M" | undefined;
|
|
515
2178
|
birthDate?: string | undefined;
|
|
516
2179
|
birthCity?: string | undefined;
|
|
517
2180
|
birthCounty?: string | undefined;
|
|
@@ -534,176 +2197,196 @@ declare const MasterRecordDetailResponseSchema: v.SchemaWithPipe<readonly [v.Sch
|
|
|
534
2197
|
financialDetail?: {
|
|
535
2198
|
currencyCode?: string | undefined;
|
|
536
2199
|
creditLimit?: string | undefined;
|
|
537
|
-
c_PaymentType?: "
|
|
2200
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
538
2201
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
539
|
-
s_PaymentType?: "
|
|
2202
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
540
2203
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
541
|
-
enableElectronicInvoicing?:
|
|
2204
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
542
2205
|
electronicInvoicingType?: string | undefined;
|
|
543
2206
|
} | undefined;
|
|
544
2207
|
dynamicFields?: {
|
|
545
2208
|
key: string;
|
|
546
2209
|
value: string;
|
|
547
2210
|
} | undefined;
|
|
2211
|
+
supplierRefMasterRecords?: {
|
|
2212
|
+
supplierRefCode?: string | undefined;
|
|
2213
|
+
companyMainBusinessType?: string | undefined;
|
|
2214
|
+
carrierType?: "BUS" | "DP_AUTO" | "DP_GDS_NAVI" | "DP_GDS_VOLI" | "DP_HOTEL" | "FLIGHT" | "NOT_SET" | "OTHER" | "RENTCAR" | "SHIP" | "TICKETING_EV" | "TOUR_OPERATOR" | "TO_HOTEL" | "TO_HOTEL_AND_TOUR" | "TO_TOUR" | "TRAIN" | undefined;
|
|
2215
|
+
} | undefined;
|
|
548
2216
|
}, {
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
Moniker?: string | undefined;
|
|
555
|
-
Name?: string | undefined;
|
|
556
|
-
ExtraInfo?: string | undefined;
|
|
557
|
-
LanguageCode: string;
|
|
2217
|
+
AccountPolicies?: {
|
|
2218
|
+
AcceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
2219
|
+
AcceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
2220
|
+
AcceptProfilingPolicies?: 0 | 1 | undefined;
|
|
2221
|
+
} | undefined;
|
|
558
2222
|
Address?: string | undefined;
|
|
559
|
-
|
|
2223
|
+
BirthCity?: string | undefined;
|
|
2224
|
+
BirthCounty?: string | undefined;
|
|
2225
|
+
BirthDate?: string | undefined;
|
|
2226
|
+
CategoryCode?: string | undefined;
|
|
560
2227
|
CityName?: string | undefined;
|
|
561
2228
|
CountyCode?: string | undefined;
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
2229
|
+
CreatedDate?: string | undefined;
|
|
2230
|
+
DynamicFields?: {
|
|
2231
|
+
Key: string;
|
|
2232
|
+
Value: string;
|
|
2233
|
+
} | undefined;
|
|
566
2234
|
Email?: string | undefined;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
2235
|
+
ExtraInfo?: string | undefined;
|
|
2236
|
+
FinancialDetail?: {
|
|
2237
|
+
CPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2238
|
+
CSpecPaymentTypeCode?: string | undefined;
|
|
2239
|
+
CreditLimit?: string | undefined;
|
|
2240
|
+
CurrencyCode?: string | undefined;
|
|
2241
|
+
ElectronicInvoicingType?: string | undefined;
|
|
2242
|
+
EnableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
2243
|
+
SPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2244
|
+
SSpecPaymentTypeCode?: string | undefined;
|
|
2245
|
+
} | undefined;
|
|
2246
|
+
FirstPhoneNumber?: string | undefined;
|
|
571
2247
|
FiscalCode?: string | undefined;
|
|
572
|
-
|
|
573
|
-
ThirdPartRecordCode?: string | undefined;
|
|
2248
|
+
Gender?: "F" | "M" | undefined;
|
|
574
2249
|
IdDocumentDetail?: {
|
|
575
|
-
IdType?: string | undefined;
|
|
576
2250
|
IdCode?: string | undefined;
|
|
577
|
-
|
|
2251
|
+
IdExpireDate?: string | undefined;
|
|
578
2252
|
IdIssueCounty?: string | undefined;
|
|
579
2253
|
IdIssueDate?: string | undefined;
|
|
580
|
-
|
|
2254
|
+
IdIssueLocation?: string | undefined;
|
|
2255
|
+
IdType?: string | undefined;
|
|
2256
|
+
} | undefined;
|
|
2257
|
+
InsertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
2258
|
+
LanguageCode: string;
|
|
2259
|
+
MobilePhoneNumber?: string | undefined;
|
|
2260
|
+
Moniker?: string | undefined;
|
|
2261
|
+
Name?: string | undefined;
|
|
2262
|
+
RecordCode?: string | undefined;
|
|
2263
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
2264
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
2265
|
+
StateCode?: string | undefined;
|
|
2266
|
+
SupplierRefMasterRecords?: {
|
|
2267
|
+
CarrierType?: "BUS" | "DP_AUTO" | "DP_GDS_NAVI" | "DP_GDS_VOLI" | "DP_HOTEL" | "FLIGHT" | "NOT_SET" | "OTHER" | "RENTCAR" | "SHIP" | "TICKETING_EV" | "TOUR_OPERATOR" | "TO_HOTEL" | "TO_HOTEL_AND_TOUR" | "TO_TOUR" | "TRAIN" | undefined;
|
|
2268
|
+
CompanyMainBusinessType?: string | undefined;
|
|
2269
|
+
SupplierRefCode?: string | undefined;
|
|
581
2270
|
} | undefined;
|
|
2271
|
+
ThirdPartRecordCode?: string | undefined;
|
|
2272
|
+
VatCode?: string | undefined;
|
|
2273
|
+
ZipCode?: string | undefined;
|
|
2274
|
+
}>]>, v.TransformAction<{
|
|
582
2275
|
AccountPolicies?: {
|
|
583
|
-
AcceptProfilingPolicies?: 0 | 1 | undefined;
|
|
584
|
-
AcceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
585
2276
|
AcceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
2277
|
+
AcceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
2278
|
+
AcceptProfilingPolicies?: 0 | 1 | undefined;
|
|
586
2279
|
} | undefined;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
ElectronicInvoicingType?: string | undefined;
|
|
596
|
-
} | undefined;
|
|
2280
|
+
Address?: string | undefined;
|
|
2281
|
+
BirthCity?: string | undefined;
|
|
2282
|
+
BirthCounty?: string | undefined;
|
|
2283
|
+
BirthDate?: string | undefined;
|
|
2284
|
+
CategoryCode?: string | undefined;
|
|
2285
|
+
CityName?: string | undefined;
|
|
2286
|
+
CountyCode?: string | undefined;
|
|
2287
|
+
CreatedDate?: string | undefined;
|
|
597
2288
|
DynamicFields?: {
|
|
598
2289
|
Key: string;
|
|
599
2290
|
Value: string;
|
|
600
2291
|
} | undefined;
|
|
601
|
-
|
|
602
|
-
RecordCode?: string | undefined;
|
|
603
|
-
InsertCriteria?: "T" | "M" | "N" | "S" | undefined;
|
|
604
|
-
CreatedDate?: string | undefined;
|
|
605
|
-
RecordType?: "CUSTOMER" | "SUPPLIER" | "GENERAL" | undefined;
|
|
606
|
-
RecordStatus?: "WARNING" | "ENABLED" | "DISABLED" | "BLACKLISTED" | undefined;
|
|
607
|
-
Moniker?: string | undefined;
|
|
608
|
-
Name?: string | undefined;
|
|
2292
|
+
Email?: string | undefined;
|
|
609
2293
|
ExtraInfo?: string | undefined;
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
2294
|
+
FinancialDetail?: {
|
|
2295
|
+
CPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2296
|
+
CSpecPaymentTypeCode?: string | undefined;
|
|
2297
|
+
CreditLimit?: string | undefined;
|
|
2298
|
+
CurrencyCode?: string | undefined;
|
|
2299
|
+
ElectronicInvoicingType?: string | undefined;
|
|
2300
|
+
EnableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
2301
|
+
SPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2302
|
+
SSpecPaymentTypeCode?: string | undefined;
|
|
2303
|
+
} | undefined;
|
|
617
2304
|
FirstPhoneNumber?: string | undefined;
|
|
618
|
-
MobilePhoneNumber?: string | undefined;
|
|
619
|
-
Email?: string | undefined;
|
|
620
|
-
Gender?: "M" | "F" | undefined;
|
|
621
|
-
BirthDate?: string | undefined;
|
|
622
|
-
BirthCity?: string | undefined;
|
|
623
|
-
BirthCounty?: string | undefined;
|
|
624
2305
|
FiscalCode?: string | undefined;
|
|
625
|
-
|
|
626
|
-
ThirdPartRecordCode?: string | undefined;
|
|
2306
|
+
Gender?: "F" | "M" | undefined;
|
|
627
2307
|
IdDocumentDetail?: {
|
|
628
|
-
IdType?: string | undefined;
|
|
629
2308
|
IdCode?: string | undefined;
|
|
630
|
-
|
|
2309
|
+
IdExpireDate?: string | undefined;
|
|
631
2310
|
IdIssueCounty?: string | undefined;
|
|
632
2311
|
IdIssueDate?: string | undefined;
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
AccountPolicies?: {
|
|
636
|
-
AcceptProfilingPolicies?: 0 | 1 | undefined;
|
|
637
|
-
AcceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
638
|
-
AcceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
639
|
-
} | undefined;
|
|
640
|
-
FinancialDetail?: {
|
|
641
|
-
CurrencyCode?: string | undefined;
|
|
642
|
-
CreditLimit?: string | undefined;
|
|
643
|
-
CPaymentType?: "CASH" | "BANK" | "RID" | "RIBA" | "SPECIFIC_CODE" | undefined;
|
|
644
|
-
CSpecPaymentTypeCode?: string | undefined;
|
|
645
|
-
SPaymentType?: "CASH" | "BANK" | "RID" | "RIBA" | "SPECIFIC_CODE" | undefined;
|
|
646
|
-
SSpecPaymentTypeCode?: string | undefined;
|
|
647
|
-
EnableElectronicInvoicing?: boolean | "true" | "false" | undefined;
|
|
648
|
-
ElectronicInvoicingType?: string | undefined;
|
|
2312
|
+
IdIssueLocation?: string | undefined;
|
|
2313
|
+
IdType?: string | undefined;
|
|
649
2314
|
} | undefined;
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
2315
|
+
InsertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
2316
|
+
LanguageCode: string;
|
|
2317
|
+
MobilePhoneNumber?: string | undefined;
|
|
2318
|
+
Moniker?: string | undefined;
|
|
2319
|
+
Name?: string | undefined;
|
|
2320
|
+
RecordCode?: string | undefined;
|
|
2321
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
2322
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
2323
|
+
StateCode?: string | undefined;
|
|
2324
|
+
SupplierRefMasterRecords?: {
|
|
2325
|
+
CarrierType?: "BUS" | "DP_AUTO" | "DP_GDS_NAVI" | "DP_GDS_VOLI" | "DP_HOTEL" | "FLIGHT" | "NOT_SET" | "OTHER" | "RENTCAR" | "SHIP" | "TICKETING_EV" | "TOUR_OPERATOR" | "TO_HOTEL" | "TO_HOTEL_AND_TOUR" | "TO_TOUR" | "TRAIN" | undefined;
|
|
2326
|
+
CompanyMainBusinessType?: string | undefined;
|
|
2327
|
+
SupplierRefCode?: string | undefined;
|
|
653
2328
|
} | undefined;
|
|
2329
|
+
ThirdPartRecordCode?: string | undefined;
|
|
2330
|
+
VatCode?: string | undefined;
|
|
2331
|
+
ZipCode?: string | undefined;
|
|
654
2332
|
}, {
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
moniker?: string | undefined;
|
|
661
|
-
name?: string | undefined;
|
|
662
|
-
extraInfo?: string | undefined;
|
|
663
|
-
languageCode: string;
|
|
2333
|
+
accountPolicies?: {
|
|
2334
|
+
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
2335
|
+
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
2336
|
+
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
2337
|
+
} | undefined;
|
|
664
2338
|
address?: string | undefined;
|
|
665
|
-
|
|
2339
|
+
birthCity?: string | undefined;
|
|
2340
|
+
birthCounty?: string | undefined;
|
|
2341
|
+
birthDate?: string | undefined;
|
|
2342
|
+
categoryCode?: string | undefined;
|
|
666
2343
|
cityName?: string | undefined;
|
|
667
2344
|
countyCode?: string | undefined;
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
2345
|
+
createdDate?: string | undefined;
|
|
2346
|
+
dynamicFields?: {
|
|
2347
|
+
key: string;
|
|
2348
|
+
value: string;
|
|
2349
|
+
} | undefined;
|
|
672
2350
|
email?: string | undefined;
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
2351
|
+
extraInfo?: string | undefined;
|
|
2352
|
+
financialDetail?: {
|
|
2353
|
+
cPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2354
|
+
cSpecPaymentTypeCode?: string | undefined;
|
|
2355
|
+
creditLimit?: string | undefined;
|
|
2356
|
+
currencyCode?: string | undefined;
|
|
2357
|
+
electronicInvoicingType?: string | undefined;
|
|
2358
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
2359
|
+
sPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2360
|
+
sSpecPaymentTypeCode?: string | undefined;
|
|
2361
|
+
} | undefined;
|
|
2362
|
+
firstPhoneNumber?: string | undefined;
|
|
677
2363
|
fiscalCode?: string | undefined;
|
|
678
|
-
|
|
679
|
-
thirdPartRecordCode?: string | undefined;
|
|
2364
|
+
gender?: "F" | "M" | undefined;
|
|
680
2365
|
idDocumentDetail?: {
|
|
681
|
-
idType?: string | undefined;
|
|
682
2366
|
idCode?: string | undefined;
|
|
683
|
-
|
|
2367
|
+
idExpireDate?: string | undefined;
|
|
684
2368
|
idIssueCounty?: string | undefined;
|
|
685
2369
|
idIssueDate?: string | undefined;
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
accountPolicies?: {
|
|
689
|
-
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
690
|
-
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
691
|
-
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
692
|
-
} | undefined;
|
|
693
|
-
financialDetail?: {
|
|
694
|
-
currencyCode?: string | undefined;
|
|
695
|
-
creditLimit?: string | undefined;
|
|
696
|
-
cPaymentType?: "CASH" | "BANK" | "RID" | "RIBA" | "SPECIFIC_CODE" | undefined;
|
|
697
|
-
cSpecPaymentTypeCode?: string | undefined;
|
|
698
|
-
sPaymentType?: "CASH" | "BANK" | "RID" | "RIBA" | "SPECIFIC_CODE" | undefined;
|
|
699
|
-
sSpecPaymentTypeCode?: string | undefined;
|
|
700
|
-
enableElectronicInvoicing?: boolean | "true" | "false" | undefined;
|
|
701
|
-
electronicInvoicingType?: string | undefined;
|
|
2370
|
+
idIssueLocation?: string | undefined;
|
|
2371
|
+
idType?: string | undefined;
|
|
702
2372
|
} | undefined;
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
2373
|
+
insertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
2374
|
+
languageCode: string;
|
|
2375
|
+
mobilePhoneNumber?: string | undefined;
|
|
2376
|
+
moniker?: string | undefined;
|
|
2377
|
+
name?: string | undefined;
|
|
2378
|
+
recordCode?: string | undefined;
|
|
2379
|
+
recordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
2380
|
+
recordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
2381
|
+
stateCode?: string | undefined;
|
|
2382
|
+
supplierRefMasterRecords?: {
|
|
2383
|
+
carrierType?: "BUS" | "DP_AUTO" | "DP_GDS_NAVI" | "DP_GDS_VOLI" | "DP_HOTEL" | "FLIGHT" | "NOT_SET" | "OTHER" | "RENTCAR" | "SHIP" | "TICKETING_EV" | "TOUR_OPERATOR" | "TO_HOTEL" | "TO_HOTEL_AND_TOUR" | "TO_TOUR" | "TRAIN" | undefined;
|
|
2384
|
+
companyMainBusinessType?: string | undefined;
|
|
2385
|
+
supplierRefCode?: string | undefined;
|
|
706
2386
|
} | undefined;
|
|
2387
|
+
thirdPartRecordCode?: string | undefined;
|
|
2388
|
+
vatCode?: string | undefined;
|
|
2389
|
+
zipCode?: string | undefined;
|
|
707
2390
|
}>]>;
|
|
708
2391
|
//#endregion
|
|
709
2392
|
//#region src/schemas/search.d.ts
|
|
@@ -765,12 +2448,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
765
2448
|
readonly ErrorDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
766
2449
|
readonly Warnings: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, string[]>]>, undefined>;
|
|
767
2450
|
}, undefined>, v.TransformAction<{
|
|
768
|
-
"@Status": "
|
|
2451
|
+
"@Status": "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
769
2452
|
ErrorCode?: number | undefined;
|
|
770
2453
|
ErrorDescription?: string | undefined;
|
|
771
2454
|
Warnings?: string[] | undefined;
|
|
772
2455
|
}, {
|
|
773
|
-
status: "
|
|
2456
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
774
2457
|
errorCode: number | undefined;
|
|
775
2458
|
errorDescription: string | undefined;
|
|
776
2459
|
warnings: string[] | undefined;
|
|
@@ -815,7 +2498,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
815
2498
|
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
816
2499
|
}, undefined>, undefined>;
|
|
817
2500
|
readonly NewsletterDisabled: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
818
|
-
readonly SupplierRefMasterRecords: v.OptionalSchema<v.
|
|
2501
|
+
readonly SupplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
2502
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2503
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2504
|
+
readonly carrierType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"NOT_SET", undefined>, v.LiteralSchema<"FLIGHT", undefined>, v.LiteralSchema<"SHIP", undefined>, v.LiteralSchema<"TRAIN", undefined>, v.LiteralSchema<"RENTCAR", undefined>, v.LiteralSchema<"BUS", undefined>, v.LiteralSchema<"DP_HOTEL", undefined>, v.LiteralSchema<"TO_HOTEL", undefined>, v.LiteralSchema<"TO_TOUR", undefined>, v.LiteralSchema<"TO_HOTEL_AND_TOUR", undefined>, v.LiteralSchema<"DP_AUTO", undefined>, v.LiteralSchema<"DP_GDS_NAVI", undefined>, v.LiteralSchema<"DP_GDS_VOLI", undefined>, v.LiteralSchema<"TOUR_OPERATOR", undefined>, v.LiteralSchema<"TICKETING_EV", undefined>, v.LiteralSchema<"OTHER", undefined>], undefined>, undefined>;
|
|
2505
|
+
}, undefined>, undefined>;
|
|
819
2506
|
readonly AccountPolicies: v.OptionalSchema<v.ObjectSchema<{
|
|
820
2507
|
readonly acceptProfilingPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
821
2508
|
readonly acceptPrivacyPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
@@ -874,7 +2561,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
874
2561
|
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
875
2562
|
}, undefined>, undefined>;
|
|
876
2563
|
readonly NewsletterDisabled: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
877
|
-
readonly SupplierRefMasterRecords: v.OptionalSchema<v.
|
|
2564
|
+
readonly SupplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
2565
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2566
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2567
|
+
readonly carrierType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"NOT_SET", undefined>, v.LiteralSchema<"FLIGHT", undefined>, v.LiteralSchema<"SHIP", undefined>, v.LiteralSchema<"TRAIN", undefined>, v.LiteralSchema<"RENTCAR", undefined>, v.LiteralSchema<"BUS", undefined>, v.LiteralSchema<"DP_HOTEL", undefined>, v.LiteralSchema<"TO_HOTEL", undefined>, v.LiteralSchema<"TO_TOUR", undefined>, v.LiteralSchema<"TO_HOTEL_AND_TOUR", undefined>, v.LiteralSchema<"DP_AUTO", undefined>, v.LiteralSchema<"DP_GDS_NAVI", undefined>, v.LiteralSchema<"DP_GDS_VOLI", undefined>, v.LiteralSchema<"TOUR_OPERATOR", undefined>, v.LiteralSchema<"TICKETING_EV", undefined>, v.LiteralSchema<"OTHER", undefined>], undefined>, undefined>;
|
|
2568
|
+
}, undefined>, undefined>;
|
|
878
2569
|
readonly AccountPolicies: v.OptionalSchema<v.ObjectSchema<{
|
|
879
2570
|
readonly acceptProfilingPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
880
2571
|
readonly acceptPrivacyPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
@@ -896,12 +2587,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
896
2587
|
}, undefined>, undefined>;
|
|
897
2588
|
}, undefined>], undefined>, v.TransformAction<{
|
|
898
2589
|
"@RecordCode"?: string | undefined;
|
|
899
|
-
"@InsertCriteria"?: "
|
|
2590
|
+
"@InsertCriteria"?: "M" | "N" | "S" | "T" | undefined;
|
|
900
2591
|
CreatedDate?: string | undefined;
|
|
901
2592
|
ModifiedDate?: string | undefined;
|
|
902
|
-
RecordType?: "CUSTOMER" | "
|
|
2593
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
903
2594
|
LoginType?: string | undefined;
|
|
904
|
-
RecordStatus?: "
|
|
2595
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
905
2596
|
Moniker?: string | undefined;
|
|
906
2597
|
Name?: string | undefined;
|
|
907
2598
|
ExtraInfo?: string | undefined;
|
|
@@ -916,11 +2607,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
916
2607
|
FirstPhoneNumber?: string | undefined;
|
|
917
2608
|
MobilePhoneNumber?: string | undefined;
|
|
918
2609
|
Email?: string | undefined;
|
|
919
|
-
Gender?: "
|
|
2610
|
+
Gender?: "F" | "M" | undefined;
|
|
920
2611
|
BirthDate?: string | undefined;
|
|
921
2612
|
BirthCity?: string | undefined;
|
|
922
2613
|
BirthCounty?: string | undefined;
|
|
923
|
-
EncryptedPassword?:
|
|
2614
|
+
EncryptedPassword?: "false" | "true" | boolean | undefined;
|
|
924
2615
|
FiscalCode?: string | undefined;
|
|
925
2616
|
VatCode?: string | undefined;
|
|
926
2617
|
ThirdPartRecordCode?: string | undefined;
|
|
@@ -932,8 +2623,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
932
2623
|
idIssueDate?: string | undefined;
|
|
933
2624
|
idExpireDate?: string | undefined;
|
|
934
2625
|
} | undefined;
|
|
935
|
-
NewsletterDisabled?:
|
|
936
|
-
SupplierRefMasterRecords?:
|
|
2626
|
+
NewsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
2627
|
+
SupplierRefMasterRecords?: {
|
|
2628
|
+
supplierRefCode?: string | undefined;
|
|
2629
|
+
companyMainBusinessType?: string | undefined;
|
|
2630
|
+
carrierType?: "BUS" | "DP_AUTO" | "DP_GDS_NAVI" | "DP_GDS_VOLI" | "DP_HOTEL" | "FLIGHT" | "NOT_SET" | "OTHER" | "RENTCAR" | "SHIP" | "TICKETING_EV" | "TOUR_OPERATOR" | "TO_HOTEL" | "TO_HOTEL_AND_TOUR" | "TO_TOUR" | "TRAIN" | undefined;
|
|
2631
|
+
} | undefined;
|
|
937
2632
|
AccountPolicies?: {
|
|
938
2633
|
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
939
2634
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
@@ -942,25 +2637,25 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
942
2637
|
FinancialDetail?: {
|
|
943
2638
|
currencyCode?: string | undefined;
|
|
944
2639
|
creditLimit?: string | undefined;
|
|
945
|
-
c_PaymentType?: "
|
|
2640
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
946
2641
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
947
|
-
s_PaymentType?: "
|
|
2642
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
948
2643
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
949
|
-
enableElectronicInvoicing?:
|
|
2644
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
950
2645
|
electronicInvoicingType?: string | undefined;
|
|
951
2646
|
} | undefined;
|
|
952
2647
|
DynamicFields?: {
|
|
953
2648
|
key: string;
|
|
954
2649
|
value: string;
|
|
955
2650
|
} | undefined;
|
|
956
|
-
} | {
|
|
2651
|
+
}[] | {
|
|
957
2652
|
"@RecordCode"?: string | undefined;
|
|
958
|
-
"@InsertCriteria"?: "
|
|
2653
|
+
"@InsertCriteria"?: "M" | "N" | "S" | "T" | undefined;
|
|
959
2654
|
CreatedDate?: string | undefined;
|
|
960
2655
|
ModifiedDate?: string | undefined;
|
|
961
|
-
RecordType?: "CUSTOMER" | "
|
|
2656
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
962
2657
|
LoginType?: string | undefined;
|
|
963
|
-
RecordStatus?: "
|
|
2658
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
964
2659
|
Moniker?: string | undefined;
|
|
965
2660
|
Name?: string | undefined;
|
|
966
2661
|
ExtraInfo?: string | undefined;
|
|
@@ -975,11 +2670,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
975
2670
|
FirstPhoneNumber?: string | undefined;
|
|
976
2671
|
MobilePhoneNumber?: string | undefined;
|
|
977
2672
|
Email?: string | undefined;
|
|
978
|
-
Gender?: "
|
|
2673
|
+
Gender?: "F" | "M" | undefined;
|
|
979
2674
|
BirthDate?: string | undefined;
|
|
980
2675
|
BirthCity?: string | undefined;
|
|
981
2676
|
BirthCounty?: string | undefined;
|
|
982
|
-
EncryptedPassword?:
|
|
2677
|
+
EncryptedPassword?: "false" | "true" | boolean | undefined;
|
|
983
2678
|
FiscalCode?: string | undefined;
|
|
984
2679
|
VatCode?: string | undefined;
|
|
985
2680
|
ThirdPartRecordCode?: string | undefined;
|
|
@@ -991,8 +2686,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
991
2686
|
idIssueDate?: string | undefined;
|
|
992
2687
|
idExpireDate?: string | undefined;
|
|
993
2688
|
} | undefined;
|
|
994
|
-
NewsletterDisabled?:
|
|
995
|
-
SupplierRefMasterRecords?:
|
|
2689
|
+
NewsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
2690
|
+
SupplierRefMasterRecords?: {
|
|
2691
|
+
supplierRefCode?: string | undefined;
|
|
2692
|
+
companyMainBusinessType?: string | undefined;
|
|
2693
|
+
carrierType?: "BUS" | "DP_AUTO" | "DP_GDS_NAVI" | "DP_GDS_VOLI" | "DP_HOTEL" | "FLIGHT" | "NOT_SET" | "OTHER" | "RENTCAR" | "SHIP" | "TICKETING_EV" | "TOUR_OPERATOR" | "TO_HOTEL" | "TO_HOTEL_AND_TOUR" | "TO_TOUR" | "TRAIN" | undefined;
|
|
2694
|
+
} | undefined;
|
|
996
2695
|
AccountPolicies?: {
|
|
997
2696
|
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
998
2697
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
@@ -1001,25 +2700,25 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1001
2700
|
FinancialDetail?: {
|
|
1002
2701
|
currencyCode?: string | undefined;
|
|
1003
2702
|
creditLimit?: string | undefined;
|
|
1004
|
-
c_PaymentType?: "
|
|
2703
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1005
2704
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
1006
|
-
s_PaymentType?: "
|
|
2705
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1007
2706
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
1008
|
-
enableElectronicInvoicing?:
|
|
2707
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
1009
2708
|
electronicInvoicingType?: string | undefined;
|
|
1010
2709
|
} | undefined;
|
|
1011
2710
|
DynamicFields?: {
|
|
1012
2711
|
key: string;
|
|
1013
2712
|
value: string;
|
|
1014
2713
|
} | undefined;
|
|
1015
|
-
}
|
|
2714
|
+
}, {
|
|
1016
2715
|
"@RecordCode"?: string | undefined;
|
|
1017
|
-
"@InsertCriteria"?: "
|
|
2716
|
+
"@InsertCriteria"?: "M" | "N" | "S" | "T" | undefined;
|
|
1018
2717
|
CreatedDate?: string | undefined;
|
|
1019
2718
|
ModifiedDate?: string | undefined;
|
|
1020
|
-
RecordType?: "CUSTOMER" | "
|
|
2719
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
1021
2720
|
LoginType?: string | undefined;
|
|
1022
|
-
RecordStatus?: "
|
|
2721
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
1023
2722
|
Moniker?: string | undefined;
|
|
1024
2723
|
Name?: string | undefined;
|
|
1025
2724
|
ExtraInfo?: string | undefined;
|
|
@@ -1034,11 +2733,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1034
2733
|
FirstPhoneNumber?: string | undefined;
|
|
1035
2734
|
MobilePhoneNumber?: string | undefined;
|
|
1036
2735
|
Email?: string | undefined;
|
|
1037
|
-
Gender?: "
|
|
2736
|
+
Gender?: "F" | "M" | undefined;
|
|
1038
2737
|
BirthDate?: string | undefined;
|
|
1039
2738
|
BirthCity?: string | undefined;
|
|
1040
2739
|
BirthCounty?: string | undefined;
|
|
1041
|
-
EncryptedPassword?:
|
|
2740
|
+
EncryptedPassword?: "false" | "true" | boolean | undefined;
|
|
1042
2741
|
FiscalCode?: string | undefined;
|
|
1043
2742
|
VatCode?: string | undefined;
|
|
1044
2743
|
ThirdPartRecordCode?: string | undefined;
|
|
@@ -1050,8 +2749,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1050
2749
|
idIssueDate?: string | undefined;
|
|
1051
2750
|
idExpireDate?: string | undefined;
|
|
1052
2751
|
} | undefined;
|
|
1053
|
-
NewsletterDisabled?:
|
|
1054
|
-
SupplierRefMasterRecords?:
|
|
2752
|
+
NewsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
2753
|
+
SupplierRefMasterRecords?: {
|
|
2754
|
+
supplierRefCode?: string | undefined;
|
|
2755
|
+
companyMainBusinessType?: string | undefined;
|
|
2756
|
+
carrierType?: "BUS" | "DP_AUTO" | "DP_GDS_NAVI" | "DP_GDS_VOLI" | "DP_HOTEL" | "FLIGHT" | "NOT_SET" | "OTHER" | "RENTCAR" | "SHIP" | "TICKETING_EV" | "TOUR_OPERATOR" | "TO_HOTEL" | "TO_HOTEL_AND_TOUR" | "TO_TOUR" | "TRAIN" | undefined;
|
|
2757
|
+
} | undefined;
|
|
1055
2758
|
AccountPolicies?: {
|
|
1056
2759
|
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
1057
2760
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
@@ -1060,11 +2763,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1060
2763
|
FinancialDetail?: {
|
|
1061
2764
|
currencyCode?: string | undefined;
|
|
1062
2765
|
creditLimit?: string | undefined;
|
|
1063
|
-
c_PaymentType?: "
|
|
2766
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1064
2767
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
1065
|
-
s_PaymentType?: "
|
|
2768
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1066
2769
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
1067
|
-
enableElectronicInvoicing?:
|
|
2770
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
1068
2771
|
electronicInvoicingType?: string | undefined;
|
|
1069
2772
|
} | undefined;
|
|
1070
2773
|
DynamicFields?: {
|
|
@@ -1075,7 +2778,7 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1075
2778
|
}, undefined>, undefined>;
|
|
1076
2779
|
}, undefined>, v.TransformAction<{
|
|
1077
2780
|
RsStatus: {
|
|
1078
|
-
status: "
|
|
2781
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1079
2782
|
errorCode: number | undefined;
|
|
1080
2783
|
errorDescription: string | undefined;
|
|
1081
2784
|
warnings: string[] | undefined;
|
|
@@ -1083,12 +2786,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1083
2786
|
MasterRecordList?: {
|
|
1084
2787
|
MasterRecordDetail?: {
|
|
1085
2788
|
"@RecordCode"?: string | undefined;
|
|
1086
|
-
"@InsertCriteria"?: "
|
|
2789
|
+
"@InsertCriteria"?: "M" | "N" | "S" | "T" | undefined;
|
|
1087
2790
|
CreatedDate?: string | undefined;
|
|
1088
2791
|
ModifiedDate?: string | undefined;
|
|
1089
|
-
RecordType?: "CUSTOMER" | "
|
|
2792
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
1090
2793
|
LoginType?: string | undefined;
|
|
1091
|
-
RecordStatus?: "
|
|
2794
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
1092
2795
|
Moniker?: string | undefined;
|
|
1093
2796
|
Name?: string | undefined;
|
|
1094
2797
|
ExtraInfo?: string | undefined;
|
|
@@ -1103,11 +2806,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1103
2806
|
FirstPhoneNumber?: string | undefined;
|
|
1104
2807
|
MobilePhoneNumber?: string | undefined;
|
|
1105
2808
|
Email?: string | undefined;
|
|
1106
|
-
Gender?: "
|
|
2809
|
+
Gender?: "F" | "M" | undefined;
|
|
1107
2810
|
BirthDate?: string | undefined;
|
|
1108
2811
|
BirthCity?: string | undefined;
|
|
1109
2812
|
BirthCounty?: string | undefined;
|
|
1110
|
-
EncryptedPassword?:
|
|
2813
|
+
EncryptedPassword?: "false" | "true" | boolean | undefined;
|
|
1111
2814
|
FiscalCode?: string | undefined;
|
|
1112
2815
|
VatCode?: string | undefined;
|
|
1113
2816
|
ThirdPartRecordCode?: string | undefined;
|
|
@@ -1119,8 +2822,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1119
2822
|
idIssueDate?: string | undefined;
|
|
1120
2823
|
idExpireDate?: string | undefined;
|
|
1121
2824
|
} | undefined;
|
|
1122
|
-
NewsletterDisabled?:
|
|
1123
|
-
SupplierRefMasterRecords?:
|
|
2825
|
+
NewsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
2826
|
+
SupplierRefMasterRecords?: {
|
|
2827
|
+
supplierRefCode?: string | undefined;
|
|
2828
|
+
companyMainBusinessType?: string | undefined;
|
|
2829
|
+
carrierType?: "BUS" | "DP_AUTO" | "DP_GDS_NAVI" | "DP_GDS_VOLI" | "DP_HOTEL" | "FLIGHT" | "NOT_SET" | "OTHER" | "RENTCAR" | "SHIP" | "TICKETING_EV" | "TOUR_OPERATOR" | "TO_HOTEL" | "TO_HOTEL_AND_TOUR" | "TO_TOUR" | "TRAIN" | undefined;
|
|
2830
|
+
} | undefined;
|
|
1124
2831
|
AccountPolicies?: {
|
|
1125
2832
|
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
1126
2833
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
@@ -1129,11 +2836,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1129
2836
|
FinancialDetail?: {
|
|
1130
2837
|
currencyCode?: string | undefined;
|
|
1131
2838
|
creditLimit?: string | undefined;
|
|
1132
|
-
c_PaymentType?: "
|
|
2839
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1133
2840
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
1134
|
-
s_PaymentType?: "
|
|
2841
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1135
2842
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
1136
|
-
enableElectronicInvoicing?:
|
|
2843
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
1137
2844
|
electronicInvoicingType?: string | undefined;
|
|
1138
2845
|
} | undefined;
|
|
1139
2846
|
DynamicFields?: {
|
|
@@ -1143,74 +2850,78 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1143
2850
|
}[] | undefined;
|
|
1144
2851
|
} | undefined;
|
|
1145
2852
|
}, {
|
|
1146
|
-
rsStatus: {
|
|
1147
|
-
status: "OK" | "ERROR" | "WARNING" | "TIMEOUT";
|
|
1148
|
-
errorCode: number | undefined;
|
|
1149
|
-
errorDescription: string | undefined;
|
|
1150
|
-
warnings: string[] | undefined;
|
|
1151
|
-
};
|
|
1152
2853
|
masterRecordList?: {
|
|
1153
2854
|
masterRecordDetail?: {
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
loginType?: string | undefined;
|
|
1160
|
-
recordStatus?: "WARNING" | "ENABLED" | "DISABLED" | "BLACKLISTED" | undefined;
|
|
1161
|
-
moniker?: string | undefined;
|
|
1162
|
-
name?: string | undefined;
|
|
1163
|
-
extraInfo?: string | undefined;
|
|
1164
|
-
languageCode?: string | undefined;
|
|
2855
|
+
accountPolicies?: {
|
|
2856
|
+
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
2857
|
+
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
2858
|
+
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
2859
|
+
} | undefined;
|
|
1165
2860
|
address?: string | undefined;
|
|
1166
|
-
|
|
2861
|
+
birthCity?: string | undefined;
|
|
2862
|
+
birthCounty?: string | undefined;
|
|
2863
|
+
birthDate?: string | undefined;
|
|
2864
|
+
categoryCode?: string | undefined;
|
|
1167
2865
|
cityName?: string | undefined;
|
|
1168
2866
|
countyCode?: string | undefined;
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
2867
|
+
createdDate?: string | undefined;
|
|
2868
|
+
dynamicFields?: {
|
|
2869
|
+
key: string;
|
|
2870
|
+
value: string;
|
|
2871
|
+
} | undefined;
|
|
1174
2872
|
email?: string | undefined;
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
2873
|
+
encryptedPassword?: "false" | "true" | boolean | undefined;
|
|
2874
|
+
extraInfo?: string | undefined;
|
|
2875
|
+
financialDetail?: {
|
|
2876
|
+
cPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2877
|
+
cSpecPaymentTypeCode?: string | undefined;
|
|
2878
|
+
creditLimit?: string | undefined;
|
|
2879
|
+
currencyCode?: string | undefined;
|
|
2880
|
+
electronicInvoicingType?: string | undefined;
|
|
2881
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
2882
|
+
sPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2883
|
+
sSpecPaymentTypeCode?: string | undefined;
|
|
2884
|
+
} | undefined;
|
|
2885
|
+
firstPhoneNumber?: string | undefined;
|
|
1180
2886
|
fiscalCode?: string | undefined;
|
|
1181
|
-
|
|
1182
|
-
thirdPartRecordCode?: string | undefined;
|
|
2887
|
+
gender?: "F" | "M" | undefined;
|
|
1183
2888
|
idDocumentDetail?: {
|
|
1184
|
-
idType?: string | undefined;
|
|
1185
2889
|
idCode?: string | undefined;
|
|
1186
|
-
|
|
2890
|
+
idExpireDate?: string | undefined;
|
|
1187
2891
|
idIssueCounty?: string | undefined;
|
|
1188
2892
|
idIssueDate?: string | undefined;
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
newsletterDisabled?: boolean | "true" | "false" | undefined;
|
|
1192
|
-
supplierRefMasterRecords?: any;
|
|
1193
|
-
accountPolicies?: {
|
|
1194
|
-
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
1195
|
-
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
1196
|
-
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
1197
|
-
} | undefined;
|
|
1198
|
-
financialDetail?: {
|
|
1199
|
-
currencyCode?: string | undefined;
|
|
1200
|
-
creditLimit?: string | undefined;
|
|
1201
|
-
cPaymentType?: "CASH" | "BANK" | "RID" | "RIBA" | "SPECIFIC_CODE" | undefined;
|
|
1202
|
-
cSpecPaymentTypeCode?: string | undefined;
|
|
1203
|
-
sPaymentType?: "CASH" | "BANK" | "RID" | "RIBA" | "SPECIFIC_CODE" | undefined;
|
|
1204
|
-
sSpecPaymentTypeCode?: string | undefined;
|
|
1205
|
-
enableElectronicInvoicing?: boolean | "true" | "false" | undefined;
|
|
1206
|
-
electronicInvoicingType?: string | undefined;
|
|
2893
|
+
idIssueLocation?: string | undefined;
|
|
2894
|
+
idType?: string | undefined;
|
|
1207
2895
|
} | undefined;
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
2896
|
+
insertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
2897
|
+
languageCode?: string | undefined;
|
|
2898
|
+
loginType?: string | undefined;
|
|
2899
|
+
mobilePhoneNumber?: string | undefined;
|
|
2900
|
+
modifiedDate?: string | undefined;
|
|
2901
|
+
moniker?: string | undefined;
|
|
2902
|
+
name?: string | undefined;
|
|
2903
|
+
newsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
2904
|
+
promoterCode?: string | undefined;
|
|
2905
|
+
recordCode?: string | undefined;
|
|
2906
|
+
recordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
2907
|
+
recordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
2908
|
+
stateCode?: string | undefined;
|
|
2909
|
+
supplierRefMasterRecords?: {
|
|
2910
|
+
carrierType?: "BUS" | "DP_AUTO" | "DP_GDS_NAVI" | "DP_GDS_VOLI" | "DP_HOTEL" | "FLIGHT" | "NOT_SET" | "OTHER" | "RENTCAR" | "SHIP" | "TICKETING_EV" | "TOUR_OPERATOR" | "TO_HOTEL" | "TO_HOTEL_AND_TOUR" | "TO_TOUR" | "TRAIN" | undefined;
|
|
2911
|
+
companyMainBusinessType?: string | undefined;
|
|
2912
|
+
supplierRefCode?: string | undefined;
|
|
1211
2913
|
} | undefined;
|
|
2914
|
+
thirdPartRecordCode?: string | undefined;
|
|
2915
|
+
vatCode?: string | undefined;
|
|
2916
|
+
zipCode?: string | undefined;
|
|
1212
2917
|
}[] | undefined;
|
|
1213
2918
|
} | undefined;
|
|
2919
|
+
rsStatus: {
|
|
2920
|
+
errorCode: number | undefined;
|
|
2921
|
+
errorDescription: string | undefined;
|
|
2922
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
2923
|
+
warnings: string[] | undefined;
|
|
2924
|
+
};
|
|
1214
2925
|
}>]>;
|
|
1215
2926
|
//#endregion
|
|
1216
2927
|
//#region src/schemas/upsert.d.ts
|
|
@@ -1264,7 +2975,11 @@ declare const ManageMasterRecordRequestSchema: v.ObjectSchema<{
|
|
|
1264
2975
|
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1265
2976
|
}, undefined>, undefined>;
|
|
1266
2977
|
readonly NewsletterDisabled: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1267
|
-
readonly SupplierRefMasterRecords: v.OptionalSchema<v.
|
|
2978
|
+
readonly SupplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
2979
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2980
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2981
|
+
readonly carrierType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"NOT_SET", undefined>, v.LiteralSchema<"FLIGHT", undefined>, v.LiteralSchema<"SHIP", undefined>, v.LiteralSchema<"TRAIN", undefined>, v.LiteralSchema<"RENTCAR", undefined>, v.LiteralSchema<"BUS", undefined>, v.LiteralSchema<"DP_HOTEL", undefined>, v.LiteralSchema<"TO_HOTEL", undefined>, v.LiteralSchema<"TO_TOUR", undefined>, v.LiteralSchema<"TO_HOTEL_AND_TOUR", undefined>, v.LiteralSchema<"DP_AUTO", undefined>, v.LiteralSchema<"DP_GDS_NAVI", undefined>, v.LiteralSchema<"DP_GDS_VOLI", undefined>, v.LiteralSchema<"TOUR_OPERATOR", undefined>, v.LiteralSchema<"TICKETING_EV", undefined>, v.LiteralSchema<"OTHER", undefined>], undefined>, undefined>;
|
|
2982
|
+
}, undefined>, undefined>;
|
|
1268
2983
|
readonly AccountPolicies: v.OptionalSchema<v.ObjectSchema<{
|
|
1269
2984
|
readonly acceptProfilingPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
1270
2985
|
readonly acceptPrivacyPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
@@ -1296,12 +3011,12 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1296
3011
|
readonly ErrorDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1297
3012
|
readonly Warnings: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, string[]>]>, undefined>;
|
|
1298
3013
|
}, undefined>, v.TransformAction<{
|
|
1299
|
-
"@Status": "
|
|
3014
|
+
"@Status": "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1300
3015
|
ErrorCode?: number | undefined;
|
|
1301
3016
|
ErrorDescription?: string | undefined;
|
|
1302
3017
|
Warnings?: string[] | undefined;
|
|
1303
3018
|
}, {
|
|
1304
|
-
status: "
|
|
3019
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1305
3020
|
errorCode: number | undefined;
|
|
1306
3021
|
errorDescription: string | undefined;
|
|
1307
3022
|
warnings: string[] | undefined;
|
|
@@ -1345,7 +3060,11 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1345
3060
|
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1346
3061
|
}, undefined>, undefined>;
|
|
1347
3062
|
readonly NewsletterDisabled: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"true", undefined>, v.LiteralSchema<"false", undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
|
|
1348
|
-
readonly SupplierRefMasterRecords: v.OptionalSchema<v.
|
|
3063
|
+
readonly SupplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
3064
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3065
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3066
|
+
readonly carrierType: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"NOT_SET", undefined>, v.LiteralSchema<"FLIGHT", undefined>, v.LiteralSchema<"SHIP", undefined>, v.LiteralSchema<"TRAIN", undefined>, v.LiteralSchema<"RENTCAR", undefined>, v.LiteralSchema<"BUS", undefined>, v.LiteralSchema<"DP_HOTEL", undefined>, v.LiteralSchema<"TO_HOTEL", undefined>, v.LiteralSchema<"TO_TOUR", undefined>, v.LiteralSchema<"TO_HOTEL_AND_TOUR", undefined>, v.LiteralSchema<"DP_AUTO", undefined>, v.LiteralSchema<"DP_GDS_NAVI", undefined>, v.LiteralSchema<"DP_GDS_VOLI", undefined>, v.LiteralSchema<"TOUR_OPERATOR", undefined>, v.LiteralSchema<"TICKETING_EV", undefined>, v.LiteralSchema<"OTHER", undefined>], undefined>, undefined>;
|
|
3067
|
+
}, undefined>, undefined>;
|
|
1349
3068
|
readonly AccountPolicies: v.OptionalSchema<v.ObjectSchema<{
|
|
1350
3069
|
readonly acceptProfilingPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
1351
3070
|
readonly acceptPrivacyPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
@@ -1368,19 +3087,19 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1368
3087
|
}, undefined>, undefined>;
|
|
1369
3088
|
}, undefined>, v.TransformAction<{
|
|
1370
3089
|
RsStatus: {
|
|
1371
|
-
status: "
|
|
3090
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1372
3091
|
errorCode: number | undefined;
|
|
1373
3092
|
errorDescription: string | undefined;
|
|
1374
3093
|
warnings: string[] | undefined;
|
|
1375
3094
|
};
|
|
1376
3095
|
MasterRecordDetail?: {
|
|
1377
3096
|
"@RecordCode"?: string | undefined;
|
|
1378
|
-
"@InsertCriteria"?: "
|
|
3097
|
+
"@InsertCriteria"?: "M" | "N" | "S" | "T" | undefined;
|
|
1379
3098
|
CreatedDate?: string | undefined;
|
|
1380
3099
|
ModifiedDate?: string | undefined;
|
|
1381
|
-
RecordType?: "CUSTOMER" | "
|
|
3100
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
1382
3101
|
LoginType?: string | undefined;
|
|
1383
|
-
RecordStatus?: "
|
|
3102
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
1384
3103
|
Moniker?: string | undefined;
|
|
1385
3104
|
Name?: string | undefined;
|
|
1386
3105
|
ExtraInfo?: string | undefined;
|
|
@@ -1395,11 +3114,11 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1395
3114
|
FirstPhoneNumber?: string | undefined;
|
|
1396
3115
|
MobilePhoneNumber?: string | undefined;
|
|
1397
3116
|
Email?: string | undefined;
|
|
1398
|
-
Gender?: "
|
|
3117
|
+
Gender?: "F" | "M" | undefined;
|
|
1399
3118
|
BirthDate?: string | undefined;
|
|
1400
3119
|
BirthCity?: string | undefined;
|
|
1401
3120
|
BirthCounty?: string | undefined;
|
|
1402
|
-
EncryptedPassword?:
|
|
3121
|
+
EncryptedPassword?: "false" | "true" | boolean | undefined;
|
|
1403
3122
|
FiscalCode?: string | undefined;
|
|
1404
3123
|
VatCode?: string | undefined;
|
|
1405
3124
|
ThirdPartRecordCode?: string | undefined;
|
|
@@ -1411,8 +3130,12 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1411
3130
|
idIssueDate?: string | undefined;
|
|
1412
3131
|
idExpireDate?: string | undefined;
|
|
1413
3132
|
} | undefined;
|
|
1414
|
-
NewsletterDisabled?:
|
|
1415
|
-
SupplierRefMasterRecords?:
|
|
3133
|
+
NewsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
3134
|
+
SupplierRefMasterRecords?: {
|
|
3135
|
+
supplierRefCode?: string | undefined;
|
|
3136
|
+
companyMainBusinessType?: string | undefined;
|
|
3137
|
+
carrierType?: "BUS" | "DP_AUTO" | "DP_GDS_NAVI" | "DP_GDS_VOLI" | "DP_HOTEL" | "FLIGHT" | "NOT_SET" | "OTHER" | "RENTCAR" | "SHIP" | "TICKETING_EV" | "TOUR_OPERATOR" | "TO_HOTEL" | "TO_HOTEL_AND_TOUR" | "TO_TOUR" | "TRAIN" | undefined;
|
|
3138
|
+
} | undefined;
|
|
1416
3139
|
AccountPolicies?: {
|
|
1417
3140
|
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
1418
3141
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
@@ -1421,11 +3144,11 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1421
3144
|
FinancialDetail?: {
|
|
1422
3145
|
currencyCode?: string | undefined;
|
|
1423
3146
|
creditLimit?: string | undefined;
|
|
1424
|
-
c_PaymentType?: "
|
|
3147
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1425
3148
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
1426
|
-
s_PaymentType?: "
|
|
3149
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1427
3150
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
1428
|
-
enableElectronicInvoicing?:
|
|
3151
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
1429
3152
|
electronicInvoicingType?: string | undefined;
|
|
1430
3153
|
} | undefined;
|
|
1431
3154
|
DynamicFields?: {
|
|
@@ -1434,89 +3157,78 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1434
3157
|
} | undefined;
|
|
1435
3158
|
} | undefined;
|
|
1436
3159
|
}, {
|
|
1437
|
-
rsStatus: {
|
|
1438
|
-
status: "OK" | "ERROR" | "WARNING" | "TIMEOUT";
|
|
1439
|
-
errorCode: number | undefined;
|
|
1440
|
-
errorDescription: string | undefined;
|
|
1441
|
-
warnings: string[] | undefined;
|
|
1442
|
-
};
|
|
1443
3160
|
masterRecordDetail?: {
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
loginType?: string | undefined;
|
|
1450
|
-
recordStatus?: "WARNING" | "ENABLED" | "DISABLED" | "BLACKLISTED" | undefined;
|
|
1451
|
-
moniker?: string | undefined;
|
|
1452
|
-
name?: string | undefined;
|
|
1453
|
-
extraInfo?: string | undefined;
|
|
1454
|
-
languageCode?: string | undefined;
|
|
3161
|
+
accountPolicies?: {
|
|
3162
|
+
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
3163
|
+
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
3164
|
+
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
3165
|
+
} | undefined;
|
|
1455
3166
|
address?: string | undefined;
|
|
1456
|
-
|
|
3167
|
+
birthCity?: string | undefined;
|
|
3168
|
+
birthCounty?: string | undefined;
|
|
3169
|
+
birthDate?: string | undefined;
|
|
3170
|
+
categoryCode?: string | undefined;
|
|
1457
3171
|
cityName?: string | undefined;
|
|
1458
3172
|
countyCode?: string | undefined;
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
3173
|
+
createdDate?: string | undefined;
|
|
3174
|
+
dynamicFields?: {
|
|
3175
|
+
key: string;
|
|
3176
|
+
value: string;
|
|
3177
|
+
} | undefined;
|
|
1464
3178
|
email?: string | undefined;
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
3179
|
+
encryptedPassword?: "false" | "true" | boolean | undefined;
|
|
3180
|
+
extraInfo?: string | undefined;
|
|
3181
|
+
financialDetail?: {
|
|
3182
|
+
cPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
3183
|
+
cSpecPaymentTypeCode?: string | undefined;
|
|
3184
|
+
creditLimit?: string | undefined;
|
|
3185
|
+
currencyCode?: string | undefined;
|
|
3186
|
+
electronicInvoicingType?: string | undefined;
|
|
3187
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
3188
|
+
sPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
3189
|
+
sSpecPaymentTypeCode?: string | undefined;
|
|
3190
|
+
} | undefined;
|
|
3191
|
+
firstPhoneNumber?: string | undefined;
|
|
1470
3192
|
fiscalCode?: string | undefined;
|
|
1471
|
-
|
|
1472
|
-
thirdPartRecordCode?: string | undefined;
|
|
3193
|
+
gender?: "F" | "M" | undefined;
|
|
1473
3194
|
idDocumentDetail?: {
|
|
1474
|
-
idType?: string | undefined;
|
|
1475
3195
|
idCode?: string | undefined;
|
|
1476
|
-
|
|
3196
|
+
idExpireDate?: string | undefined;
|
|
1477
3197
|
idIssueCounty?: string | undefined;
|
|
1478
3198
|
idIssueDate?: string | undefined;
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
newsletterDisabled?: boolean | "true" | "false" | undefined;
|
|
1482
|
-
supplierRefMasterRecords?: any;
|
|
1483
|
-
accountPolicies?: {
|
|
1484
|
-
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
1485
|
-
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
1486
|
-
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
1487
|
-
} | undefined;
|
|
1488
|
-
financialDetail?: {
|
|
1489
|
-
currencyCode?: string | undefined;
|
|
1490
|
-
creditLimit?: string | undefined;
|
|
1491
|
-
cPaymentType?: "CASH" | "BANK" | "RID" | "RIBA" | "SPECIFIC_CODE" | undefined;
|
|
1492
|
-
cSpecPaymentTypeCode?: string | undefined;
|
|
1493
|
-
sPaymentType?: "CASH" | "BANK" | "RID" | "RIBA" | "SPECIFIC_CODE" | undefined;
|
|
1494
|
-
sSpecPaymentTypeCode?: string | undefined;
|
|
1495
|
-
enableElectronicInvoicing?: boolean | "true" | "false" | undefined;
|
|
1496
|
-
electronicInvoicingType?: string | undefined;
|
|
3199
|
+
idIssueLocation?: string | undefined;
|
|
3200
|
+
idType?: string | undefined;
|
|
1497
3201
|
} | undefined;
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
3202
|
+
insertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
3203
|
+
languageCode?: string | undefined;
|
|
3204
|
+
loginType?: string | undefined;
|
|
3205
|
+
mobilePhoneNumber?: string | undefined;
|
|
3206
|
+
modifiedDate?: string | undefined;
|
|
3207
|
+
moniker?: string | undefined;
|
|
3208
|
+
name?: string | undefined;
|
|
3209
|
+
newsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
3210
|
+
promoterCode?: string | undefined;
|
|
3211
|
+
recordCode?: string | undefined;
|
|
3212
|
+
recordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
3213
|
+
recordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
3214
|
+
stateCode?: string | undefined;
|
|
3215
|
+
supplierRefMasterRecords?: {
|
|
3216
|
+
carrierType?: "BUS" | "DP_AUTO" | "DP_GDS_NAVI" | "DP_GDS_VOLI" | "DP_HOTEL" | "FLIGHT" | "NOT_SET" | "OTHER" | "RENTCAR" | "SHIP" | "TICKETING_EV" | "TOUR_OPERATOR" | "TO_HOTEL" | "TO_HOTEL_AND_TOUR" | "TO_TOUR" | "TRAIN" | undefined;
|
|
3217
|
+
companyMainBusinessType?: string | undefined;
|
|
3218
|
+
supplierRefCode?: string | undefined;
|
|
1501
3219
|
} | undefined;
|
|
3220
|
+
thirdPartRecordCode?: string | undefined;
|
|
3221
|
+
vatCode?: string | undefined;
|
|
3222
|
+
zipCode?: string | undefined;
|
|
1502
3223
|
} | undefined;
|
|
3224
|
+
rsStatus: {
|
|
3225
|
+
errorCode: number | undefined;
|
|
3226
|
+
errorDescription: string | undefined;
|
|
3227
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
3228
|
+
warnings: string[] | undefined;
|
|
3229
|
+
};
|
|
1503
3230
|
}>]>;
|
|
1504
3231
|
//#endregion
|
|
1505
|
-
//#region src/utils/case-transform.d.ts
|
|
1506
|
-
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;
|
|
1507
|
-
type ToCamelCase<S extends string> = CamelFromDelimiter<S> extends `${infer F}${infer R}` ? `${Lowercase<F>}${R}` : CamelFromDelimiter<S>;
|
|
1508
|
-
/** Keys that are preserved as-is (no recursive transform) at runtime */
|
|
1509
|
-
type Primitive = string | number | boolean | symbol | bigint | null | undefined;
|
|
1510
|
-
type SpecialObject = Date | RegExp | Map<unknown, unknown> | Set<unknown> | Error;
|
|
1511
|
-
/** Maps key K: strips leading @ and converts to camelCase for mapped output key */
|
|
1512
|
-
type CamelizeKey<K extends string> = K extends `@${infer Rest}` ? ToCamelCase<Rest> : ToCamelCase<K>;
|
|
1513
|
-
/** Maps key K: strips leading @ and converts to PascalCase for mapped output key */
|
|
1514
|
-
/**
|
|
1515
|
-
* Recursively maps PascalCase/@-prefixed object keys to camelCase.
|
|
1516
|
-
* Reflects pascalToCamelKeys runtime: primitives and special objects preserved; arrays and plain objects recursively transformed.
|
|
1517
|
-
*/
|
|
1518
|
-
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;
|
|
1519
|
-
//#endregion
|
|
1520
3232
|
//#region src/types.d.ts
|
|
1521
3233
|
/**
|
|
1522
3234
|
* Request header containing authentication credentials for AVES API calls.
|
|
@@ -1631,7 +3343,7 @@ type DynamicFields = InferInput<typeof DynamicFieldsSchema>;
|
|
|
1631
3343
|
* @property accountPolicies - Privacy and marketing consent flags
|
|
1632
3344
|
* @property financialDetail - Financial and payment details
|
|
1633
3345
|
* @property dynamicFields - Custom key-value fields
|
|
1634
|
-
*
|
|
3346
|
+
* @property supplierRefMasterRecords - Supplier reference master records
|
|
1635
3347
|
* @example
|
|
1636
3348
|
* ```typescript
|
|
1637
3349
|
* const record: MasterRecordDetail = {
|
|
@@ -1644,6 +3356,11 @@ type DynamicFields = InferInput<typeof DynamicFieldsSchema>;
|
|
|
1644
3356
|
* acceptPrivacyPolicies: 1,
|
|
1645
3357
|
* acceptNewsletterPolicies: 0,
|
|
1646
3358
|
* },
|
|
3359
|
+
* supplierRefMasterRecords: {
|
|
3360
|
+
* supplierRefCode: 'SUP456',
|
|
3361
|
+
* companyMainBusinessType: 'TOUR_OPERATOR',
|
|
3362
|
+
* carrierType: 'OTHER',
|
|
3363
|
+
* },
|
|
1647
3364
|
* };
|
|
1648
3365
|
* ```
|
|
1649
3366
|
*/
|
|
@@ -1797,6 +3514,38 @@ type BookingFileRQ = InferInput<typeof BookingFileSchema>;
|
|
|
1797
3514
|
* @property bookingFileDetail - Created booking file detail (camelCase); see Common Structures "BOOKEDFILE"
|
|
1798
3515
|
*/
|
|
1799
3516
|
type BookingFileRS = InferOutput<typeof BookingFileResponseSchema>;
|
|
3517
|
+
/**
|
|
3518
|
+
* Request body for ModBookingFileServices (ModFileServicesRQ).
|
|
3519
|
+
*/
|
|
3520
|
+
type ModFileServicesRQ = InferInput<typeof ModFileServicesSchema>;
|
|
3521
|
+
/**
|
|
3522
|
+
* Request body for ModBookingFileHeader (ModFileHeaderRQ).
|
|
3523
|
+
*/
|
|
3524
|
+
type ModFileHeaderRQ = InferInput<typeof ModFileHeaderSchema>;
|
|
3525
|
+
/**
|
|
3526
|
+
* Request body for CancelBookingFile (CancelFileRQ).
|
|
3527
|
+
*/
|
|
3528
|
+
type CancelFileRQ = InferInput<typeof CancelFileSchema>;
|
|
3529
|
+
/**
|
|
3530
|
+
* Request body for SetBookingFileStatus (SetStatusRQ).
|
|
3531
|
+
*/
|
|
3532
|
+
type SetFileStatusRQ = InferInput<typeof SetFileStatusSchema>;
|
|
3533
|
+
/**
|
|
3534
|
+
* Request body for SetBookingFileServiceStatus (SetStatusServiceRQ).
|
|
3535
|
+
*/
|
|
3536
|
+
type SetFileServiceStatusRQ = InferInput<typeof SetFileServiceStatusSchema>;
|
|
3537
|
+
/**
|
|
3538
|
+
* Request body for InsertFilePaymentList (FilePaymentListRQ).
|
|
3539
|
+
*/
|
|
3540
|
+
type FilePaymentListRQ = InferInput<typeof FilePaymentListSchema>;
|
|
3541
|
+
/**
|
|
3542
|
+
* Response for ModServices / SetStatus / SetStatusService — same shape as CreateBookingFile.
|
|
3543
|
+
*/
|
|
3544
|
+
type BookingFileDetailRS = BookingFileRS;
|
|
3545
|
+
/**
|
|
3546
|
+
* Response for booking ops that return only RsStatus (Cancel / ModHeader / InsertFilePaymentList).
|
|
3547
|
+
*/
|
|
3548
|
+
type BookingStatusOnlyRS = InferOutput<typeof BookingStatusOnlyResponseSchema>;
|
|
1800
3549
|
/**
|
|
1801
3550
|
* Configuration options for the AVES API client.
|
|
1802
3551
|
*
|
|
@@ -1863,6 +3612,10 @@ declare class AvesClient {
|
|
|
1863
3612
|
private handleApiStatus;
|
|
1864
3613
|
private toAvesError;
|
|
1865
3614
|
private request;
|
|
3615
|
+
/**
|
|
3616
|
+
* Shared booking/master request path: validate → wrap RqHeader → POST → parse response.
|
|
3617
|
+
*/
|
|
3618
|
+
private invokeOp;
|
|
1866
3619
|
/**
|
|
1867
3620
|
* Search for master records
|
|
1868
3621
|
* @param params - Search master record request body in camelCase ({@link SearchMasterRecord})
|
|
@@ -1878,10 +3631,40 @@ declare class AvesClient {
|
|
|
1878
3631
|
/**
|
|
1879
3632
|
* Create a booking file (CreateBookingFile).
|
|
1880
3633
|
* @param params - Booking file request body in camelCase ({@link BookingFileRQ})
|
|
1881
|
-
* @returns Result containing booking file detail in camelCase or error
|
|
1882
3634
|
*/
|
|
1883
3635
|
createBooking(params: BookingFileRQ): Promise<Result<BookingFileRS, AvesError>>;
|
|
3636
|
+
/**
|
|
3637
|
+
* Modify booked services: add/replace lines, assign package, delete/nullify cost items.
|
|
3638
|
+
* @param params - ModFileServicesRQ body in camelCase ({@link ModFileServicesRQ})
|
|
3639
|
+
*/
|
|
3640
|
+
modBookingServices(params: ModFileServicesRQ): Promise<Result<BookingFileDetailRS, AvesError>>;
|
|
3641
|
+
/**
|
|
3642
|
+
* Modify booking file header (customer, passengers, notes, financial info).
|
|
3643
|
+
* Does not change package or cost lines.
|
|
3644
|
+
* @param params - ModFileHeaderRQ body in camelCase ({@link ModFileHeaderRQ})
|
|
3645
|
+
*/
|
|
3646
|
+
modBookingHeader(params: ModFileHeaderRQ): Promise<Result<BookingStatusOnlyRS, AvesError>>;
|
|
3647
|
+
/**
|
|
3648
|
+
* Delete a booking file (CancelBookingFile).
|
|
3649
|
+
* @param params - CancelFileRQ body in camelCase ({@link CancelFileRQ})
|
|
3650
|
+
*/
|
|
3651
|
+
cancelBooking(params: CancelFileRQ): Promise<Result<BookingStatusOnlyRS, AvesError>>;
|
|
3652
|
+
/**
|
|
3653
|
+
* Change booking file status (incl. CANCELED / NULLIFIED).
|
|
3654
|
+
* @param params - SetStatusRQ body in camelCase ({@link SetFileStatusRQ})
|
|
3655
|
+
*/
|
|
3656
|
+
setBookingStatus(params: SetFileStatusRQ): Promise<Result<BookingFileDetailRS, AvesError>>;
|
|
3657
|
+
/**
|
|
3658
|
+
* Nullify a single booked service line (SetBookingFileServiceStatus).
|
|
3659
|
+
* @param params - SetStatusServiceRQ body in camelCase ({@link SetFileServiceStatusRQ})
|
|
3660
|
+
*/
|
|
3661
|
+
setBookingServiceStatus(params: SetFileServiceStatusRQ): Promise<Result<BookingFileDetailRS, AvesError>>;
|
|
3662
|
+
/**
|
|
3663
|
+
* Register one or more payments on a booking file (InsertFilePaymentList).
|
|
3664
|
+
* @param params - FilePaymentListRQ body in camelCase ({@link FilePaymentListRQ})
|
|
3665
|
+
*/
|
|
3666
|
+
insertFilePaymentList(params: FilePaymentListRQ): Promise<Result<BookingStatusOnlyRS, AvesError>>;
|
|
1884
3667
|
}
|
|
1885
3668
|
//#endregion
|
|
1886
|
-
export { type AccountPolicies, AvesClient, type AvesClientOptions, AvesError, type BookingFileRQ, type BookingFileRS, type DynamicFields, type FinancialDetail, type IdDocumentDetail, type ManageMasterRecordRS, type ManageMasterRecordRequest, type MasterRecordDetail, type MasterRecordDetailResponse, type RqHeader, type RsStatus, type SearchMasterRecord, type SearchMasterRecordRS };
|
|
3669
|
+
export { type AccountPolicies, AvesClient, type AvesClientOptions, AvesError, type BookingFileDetailRS, type BookingFileRQ, type BookingFileRS, type BookingStatusOnlyRS, type CancelFileRQ, type DynamicFields, type FilePaymentListRQ, type FinancialDetail, type IdDocumentDetail, type ManageMasterRecordRS, type ManageMasterRecordRequest, type MasterRecordDetail, type MasterRecordDetailResponse, type ModFileHeaderRQ, type ModFileServicesRQ, type RqHeader, type RsStatus, type SearchMasterRecord, type SearchMasterRecordRS, type SetFileServiceStatusRQ, type SetFileStatusRQ };
|
|
1887
3670
|
//# sourceMappingURL=index.d.mts.map
|