aves-sdk 1.3.4 → 1.4.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 +2084 -349
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/docs/guida-implementazione-booking-ops.md +482 -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,1566 @@ 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
|
+
//#endregion
|
|
265
1873
|
//#region src/schemas/common.d.ts
|
|
266
1874
|
/**
|
|
267
1875
|
* Request header schema with authentication credentials
|
|
@@ -282,12 +1890,12 @@ declare const RsStatusSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
282
1890
|
readonly ErrorDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
283
1891
|
readonly Warnings: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, string[]>]>, undefined>;
|
|
284
1892
|
}, undefined>, v.TransformAction<{
|
|
285
|
-
"@Status": "
|
|
1893
|
+
"@Status": "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
286
1894
|
ErrorCode?: number | undefined;
|
|
287
1895
|
ErrorDescription?: string | undefined;
|
|
288
1896
|
Warnings?: string[] | undefined;
|
|
289
1897
|
}, {
|
|
290
|
-
status: "
|
|
1898
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
291
1899
|
errorCode: number | undefined;
|
|
292
1900
|
errorDescription: string | undefined;
|
|
293
1901
|
warnings: string[] | undefined;
|
|
@@ -309,21 +1917,21 @@ declare const FinancialDetailSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
309
1917
|
}, undefined>, v.TransformAction<{
|
|
310
1918
|
currencyCode?: string | undefined;
|
|
311
1919
|
creditLimit?: string | undefined;
|
|
312
|
-
c_PaymentType?: "
|
|
1920
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
313
1921
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
314
|
-
s_PaymentType?: "
|
|
1922
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
315
1923
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
316
|
-
enableElectronicInvoicing?:
|
|
1924
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
317
1925
|
electronicInvoicingType?: string | undefined;
|
|
318
1926
|
}, {
|
|
319
|
-
|
|
320
|
-
CreditLimit?: string | undefined;
|
|
321
|
-
CPaymentType?: "CASH" | "BANK" | "RID" | "RIBA" | "SPECIFIC_CODE" | undefined;
|
|
1927
|
+
CPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
322
1928
|
CSpecPaymentTypeCode?: string | undefined;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
EnableElectronicInvoicing?: boolean | "true" | "false" | undefined;
|
|
1929
|
+
CreditLimit?: string | undefined;
|
|
1930
|
+
CurrencyCode?: string | undefined;
|
|
326
1931
|
ElectronicInvoicingType?: string | undefined;
|
|
1932
|
+
EnableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
1933
|
+
SPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1934
|
+
SSpecPaymentTypeCode?: string | undefined;
|
|
327
1935
|
}>]>;
|
|
328
1936
|
/**
|
|
329
1937
|
* ID document detail schema for API requests (transforms to PascalCase)
|
|
@@ -343,26 +1951,26 @@ declare const IdDocumentDetailSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<
|
|
|
343
1951
|
idIssueDate?: string | undefined;
|
|
344
1952
|
idExpireDate?: string | undefined;
|
|
345
1953
|
}, {
|
|
346
|
-
IdType?: string | undefined;
|
|
347
1954
|
IdCode?: string | undefined;
|
|
348
|
-
|
|
1955
|
+
IdExpireDate?: string | undefined;
|
|
349
1956
|
IdIssueCounty?: string | undefined;
|
|
350
1957
|
IdIssueDate?: string | undefined;
|
|
351
|
-
|
|
1958
|
+
IdIssueLocation?: string | undefined;
|
|
1959
|
+
IdType?: string | undefined;
|
|
352
1960
|
}>]>;
|
|
353
1961
|
/**
|
|
354
1962
|
* Dynamic fields schema for API requests (transforms to PascalCase)
|
|
355
1963
|
*/
|
|
356
|
-
declare const DynamicFieldsSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1964
|
+
declare const DynamicFieldsSchema: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
357
1965
|
readonly key: v.StringSchema<undefined>;
|
|
358
1966
|
readonly value: v.StringSchema<undefined>;
|
|
359
|
-
}, undefined>, v.TransformAction<{
|
|
1967
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
360
1968
|
key: string;
|
|
361
1969
|
value: string;
|
|
362
|
-
}, {
|
|
1970
|
+
}[], {
|
|
363
1971
|
Key: string;
|
|
364
1972
|
Value: string;
|
|
365
|
-
}>]>;
|
|
1973
|
+
}[]>]>;
|
|
366
1974
|
/**
|
|
367
1975
|
* Account policies schema for API requests (transforms to PascalCase with @ attributes)
|
|
368
1976
|
*/
|
|
@@ -375,9 +1983,9 @@ declare const AccountPoliciesSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
|
375
1983
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
376
1984
|
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
377
1985
|
}, {
|
|
378
|
-
AcceptProfilingPolicies?: 0 | 1 | undefined;
|
|
379
|
-
AcceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
380
1986
|
AcceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
1987
|
+
AcceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
1988
|
+
AcceptProfilingPolicies?: 0 | 1 | undefined;
|
|
381
1989
|
}>]>;
|
|
382
1990
|
/**
|
|
383
1991
|
* Master record detail input schema (camelCase)
|
|
@@ -435,6 +2043,11 @@ declare const MasterRecordDetailSchema: v.ObjectSchema<{
|
|
|
435
2043
|
readonly key: v.StringSchema<undefined>;
|
|
436
2044
|
readonly value: v.StringSchema<undefined>;
|
|
437
2045
|
}, undefined>, undefined>;
|
|
2046
|
+
readonly supplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
2047
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2048
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2049
|
+
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>;
|
|
2050
|
+
}, undefined>, undefined>;
|
|
438
2051
|
}, undefined>;
|
|
439
2052
|
/**
|
|
440
2053
|
* Master record detail response schema (transforms to camelCase)
|
|
@@ -492,12 +2105,17 @@ declare const MasterRecordDetailResponseSchema: v.SchemaWithPipe<readonly [v.Sch
|
|
|
492
2105
|
readonly key: v.StringSchema<undefined>;
|
|
493
2106
|
readonly value: v.StringSchema<undefined>;
|
|
494
2107
|
}, undefined>, undefined>;
|
|
2108
|
+
readonly supplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
2109
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2110
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2111
|
+
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>;
|
|
2112
|
+
}, undefined>, undefined>;
|
|
495
2113
|
}, undefined>, v.TransformAction<{
|
|
496
2114
|
recordCode?: string | undefined;
|
|
497
|
-
insertCriteria?: "
|
|
2115
|
+
insertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
498
2116
|
createdDate?: string | undefined;
|
|
499
|
-
recordType?: "CUSTOMER" | "
|
|
500
|
-
recordStatus?: "
|
|
2117
|
+
recordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
2118
|
+
recordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
501
2119
|
moniker?: string | undefined;
|
|
502
2120
|
name?: string | undefined;
|
|
503
2121
|
extraInfo?: string | undefined;
|
|
@@ -511,7 +2129,7 @@ declare const MasterRecordDetailResponseSchema: v.SchemaWithPipe<readonly [v.Sch
|
|
|
511
2129
|
firstPhoneNumber?: string | undefined;
|
|
512
2130
|
mobilePhoneNumber?: string | undefined;
|
|
513
2131
|
email?: string | undefined;
|
|
514
|
-
gender?: "
|
|
2132
|
+
gender?: "F" | "M" | undefined;
|
|
515
2133
|
birthDate?: string | undefined;
|
|
516
2134
|
birthCity?: string | undefined;
|
|
517
2135
|
birthCounty?: string | undefined;
|
|
@@ -534,176 +2152,196 @@ declare const MasterRecordDetailResponseSchema: v.SchemaWithPipe<readonly [v.Sch
|
|
|
534
2152
|
financialDetail?: {
|
|
535
2153
|
currencyCode?: string | undefined;
|
|
536
2154
|
creditLimit?: string | undefined;
|
|
537
|
-
c_PaymentType?: "
|
|
2155
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
538
2156
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
539
|
-
s_PaymentType?: "
|
|
2157
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
540
2158
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
541
|
-
enableElectronicInvoicing?:
|
|
2159
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
542
2160
|
electronicInvoicingType?: string | undefined;
|
|
543
2161
|
} | undefined;
|
|
544
2162
|
dynamicFields?: {
|
|
545
2163
|
key: string;
|
|
546
2164
|
value: string;
|
|
547
2165
|
} | undefined;
|
|
2166
|
+
supplierRefMasterRecords?: {
|
|
2167
|
+
supplierRefCode?: string | undefined;
|
|
2168
|
+
companyMainBusinessType?: string | undefined;
|
|
2169
|
+
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;
|
|
2170
|
+
} | undefined;
|
|
548
2171
|
}, {
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
Moniker?: string | undefined;
|
|
555
|
-
Name?: string | undefined;
|
|
556
|
-
ExtraInfo?: string | undefined;
|
|
557
|
-
LanguageCode: string;
|
|
2172
|
+
AccountPolicies?: {
|
|
2173
|
+
AcceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
2174
|
+
AcceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
2175
|
+
AcceptProfilingPolicies?: 0 | 1 | undefined;
|
|
2176
|
+
} | undefined;
|
|
558
2177
|
Address?: string | undefined;
|
|
559
|
-
|
|
2178
|
+
BirthCity?: string | undefined;
|
|
2179
|
+
BirthCounty?: string | undefined;
|
|
2180
|
+
BirthDate?: string | undefined;
|
|
2181
|
+
CategoryCode?: string | undefined;
|
|
560
2182
|
CityName?: string | undefined;
|
|
561
2183
|
CountyCode?: string | undefined;
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
2184
|
+
CreatedDate?: string | undefined;
|
|
2185
|
+
DynamicFields?: {
|
|
2186
|
+
Key: string;
|
|
2187
|
+
Value: string;
|
|
2188
|
+
} | undefined;
|
|
566
2189
|
Email?: string | undefined;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
2190
|
+
ExtraInfo?: string | undefined;
|
|
2191
|
+
FinancialDetail?: {
|
|
2192
|
+
CPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2193
|
+
CSpecPaymentTypeCode?: string | undefined;
|
|
2194
|
+
CreditLimit?: string | undefined;
|
|
2195
|
+
CurrencyCode?: string | undefined;
|
|
2196
|
+
ElectronicInvoicingType?: string | undefined;
|
|
2197
|
+
EnableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
2198
|
+
SPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2199
|
+
SSpecPaymentTypeCode?: string | undefined;
|
|
2200
|
+
} | undefined;
|
|
2201
|
+
FirstPhoneNumber?: string | undefined;
|
|
571
2202
|
FiscalCode?: string | undefined;
|
|
572
|
-
|
|
573
|
-
ThirdPartRecordCode?: string | undefined;
|
|
2203
|
+
Gender?: "F" | "M" | undefined;
|
|
574
2204
|
IdDocumentDetail?: {
|
|
575
|
-
IdType?: string | undefined;
|
|
576
2205
|
IdCode?: string | undefined;
|
|
577
|
-
|
|
2206
|
+
IdExpireDate?: string | undefined;
|
|
578
2207
|
IdIssueCounty?: string | undefined;
|
|
579
2208
|
IdIssueDate?: string | undefined;
|
|
580
|
-
|
|
2209
|
+
IdIssueLocation?: string | undefined;
|
|
2210
|
+
IdType?: string | undefined;
|
|
2211
|
+
} | undefined;
|
|
2212
|
+
InsertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
2213
|
+
LanguageCode: string;
|
|
2214
|
+
MobilePhoneNumber?: string | undefined;
|
|
2215
|
+
Moniker?: string | undefined;
|
|
2216
|
+
Name?: string | undefined;
|
|
2217
|
+
RecordCode?: string | undefined;
|
|
2218
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
2219
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
2220
|
+
StateCode?: string | undefined;
|
|
2221
|
+
SupplierRefMasterRecords?: {
|
|
2222
|
+
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;
|
|
2223
|
+
CompanyMainBusinessType?: string | undefined;
|
|
2224
|
+
SupplierRefCode?: string | undefined;
|
|
581
2225
|
} | undefined;
|
|
2226
|
+
ThirdPartRecordCode?: string | undefined;
|
|
2227
|
+
VatCode?: string | undefined;
|
|
2228
|
+
ZipCode?: string | undefined;
|
|
2229
|
+
}>]>, v.TransformAction<{
|
|
582
2230
|
AccountPolicies?: {
|
|
583
|
-
AcceptProfilingPolicies?: 0 | 1 | undefined;
|
|
584
|
-
AcceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
585
2231
|
AcceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
2232
|
+
AcceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
2233
|
+
AcceptProfilingPolicies?: 0 | 1 | undefined;
|
|
586
2234
|
} | undefined;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
ElectronicInvoicingType?: string | undefined;
|
|
596
|
-
} | undefined;
|
|
2235
|
+
Address?: string | undefined;
|
|
2236
|
+
BirthCity?: string | undefined;
|
|
2237
|
+
BirthCounty?: string | undefined;
|
|
2238
|
+
BirthDate?: string | undefined;
|
|
2239
|
+
CategoryCode?: string | undefined;
|
|
2240
|
+
CityName?: string | undefined;
|
|
2241
|
+
CountyCode?: string | undefined;
|
|
2242
|
+
CreatedDate?: string | undefined;
|
|
597
2243
|
DynamicFields?: {
|
|
598
2244
|
Key: string;
|
|
599
2245
|
Value: string;
|
|
600
2246
|
} | 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;
|
|
2247
|
+
Email?: string | undefined;
|
|
609
2248
|
ExtraInfo?: string | undefined;
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
2249
|
+
FinancialDetail?: {
|
|
2250
|
+
CPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2251
|
+
CSpecPaymentTypeCode?: string | undefined;
|
|
2252
|
+
CreditLimit?: string | undefined;
|
|
2253
|
+
CurrencyCode?: string | undefined;
|
|
2254
|
+
ElectronicInvoicingType?: string | undefined;
|
|
2255
|
+
EnableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
2256
|
+
SPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2257
|
+
SSpecPaymentTypeCode?: string | undefined;
|
|
2258
|
+
} | undefined;
|
|
617
2259
|
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
2260
|
FiscalCode?: string | undefined;
|
|
625
|
-
|
|
626
|
-
ThirdPartRecordCode?: string | undefined;
|
|
2261
|
+
Gender?: "F" | "M" | undefined;
|
|
627
2262
|
IdDocumentDetail?: {
|
|
628
|
-
IdType?: string | undefined;
|
|
629
2263
|
IdCode?: string | undefined;
|
|
630
|
-
|
|
2264
|
+
IdExpireDate?: string | undefined;
|
|
631
2265
|
IdIssueCounty?: string | undefined;
|
|
632
2266
|
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;
|
|
2267
|
+
IdIssueLocation?: string | undefined;
|
|
2268
|
+
IdType?: string | undefined;
|
|
649
2269
|
} | undefined;
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
2270
|
+
InsertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
2271
|
+
LanguageCode: string;
|
|
2272
|
+
MobilePhoneNumber?: string | undefined;
|
|
2273
|
+
Moniker?: string | undefined;
|
|
2274
|
+
Name?: string | undefined;
|
|
2275
|
+
RecordCode?: string | undefined;
|
|
2276
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
2277
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
2278
|
+
StateCode?: string | undefined;
|
|
2279
|
+
SupplierRefMasterRecords?: {
|
|
2280
|
+
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;
|
|
2281
|
+
CompanyMainBusinessType?: string | undefined;
|
|
2282
|
+
SupplierRefCode?: string | undefined;
|
|
653
2283
|
} | undefined;
|
|
2284
|
+
ThirdPartRecordCode?: string | undefined;
|
|
2285
|
+
VatCode?: string | undefined;
|
|
2286
|
+
ZipCode?: string | undefined;
|
|
654
2287
|
}, {
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
moniker?: string | undefined;
|
|
661
|
-
name?: string | undefined;
|
|
662
|
-
extraInfo?: string | undefined;
|
|
663
|
-
languageCode: string;
|
|
2288
|
+
accountPolicies?: {
|
|
2289
|
+
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
2290
|
+
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
2291
|
+
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
2292
|
+
} | undefined;
|
|
664
2293
|
address?: string | undefined;
|
|
665
|
-
zipCode?: string | undefined;
|
|
666
|
-
cityName?: string | undefined;
|
|
667
|
-
countyCode?: string | undefined;
|
|
668
|
-
stateCode?: string | undefined;
|
|
669
|
-
categoryCode?: string | undefined;
|
|
670
|
-
firstPhoneNumber?: string | undefined;
|
|
671
|
-
mobilePhoneNumber?: string | undefined;
|
|
672
|
-
email?: string | undefined;
|
|
673
|
-
gender?: "M" | "F" | undefined;
|
|
674
|
-
birthDate?: string | undefined;
|
|
675
2294
|
birthCity?: string | undefined;
|
|
676
2295
|
birthCounty?: string | undefined;
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
idIssueDate?: string | undefined;
|
|
686
|
-
idExpireDate?: string | undefined;
|
|
687
|
-
} | undefined;
|
|
688
|
-
accountPolicies?: {
|
|
689
|
-
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
690
|
-
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
691
|
-
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
2296
|
+
birthDate?: string | undefined;
|
|
2297
|
+
categoryCode?: string | undefined;
|
|
2298
|
+
cityName?: string | undefined;
|
|
2299
|
+
countyCode?: string | undefined;
|
|
2300
|
+
createdDate?: string | undefined;
|
|
2301
|
+
dynamicFields?: {
|
|
2302
|
+
key: string;
|
|
2303
|
+
value: string;
|
|
692
2304
|
} | undefined;
|
|
2305
|
+
email?: string | undefined;
|
|
2306
|
+
extraInfo?: string | undefined;
|
|
693
2307
|
financialDetail?: {
|
|
694
|
-
|
|
695
|
-
creditLimit?: string | undefined;
|
|
696
|
-
cPaymentType?: "CASH" | "BANK" | "RID" | "RIBA" | "SPECIFIC_CODE" | undefined;
|
|
2308
|
+
cPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
697
2309
|
cSpecPaymentTypeCode?: string | undefined;
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
enableElectronicInvoicing?: boolean | "true" | "false" | undefined;
|
|
2310
|
+
creditLimit?: string | undefined;
|
|
2311
|
+
currencyCode?: string | undefined;
|
|
701
2312
|
electronicInvoicingType?: string | undefined;
|
|
2313
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
2314
|
+
sPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2315
|
+
sSpecPaymentTypeCode?: string | undefined;
|
|
702
2316
|
} | undefined;
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
2317
|
+
firstPhoneNumber?: string | undefined;
|
|
2318
|
+
fiscalCode?: string | undefined;
|
|
2319
|
+
gender?: "F" | "M" | undefined;
|
|
2320
|
+
idDocumentDetail?: {
|
|
2321
|
+
idCode?: string | undefined;
|
|
2322
|
+
idExpireDate?: string | undefined;
|
|
2323
|
+
idIssueCounty?: string | undefined;
|
|
2324
|
+
idIssueDate?: string | undefined;
|
|
2325
|
+
idIssueLocation?: string | undefined;
|
|
2326
|
+
idType?: string | undefined;
|
|
2327
|
+
} | undefined;
|
|
2328
|
+
insertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
2329
|
+
languageCode: string;
|
|
2330
|
+
mobilePhoneNumber?: string | undefined;
|
|
2331
|
+
moniker?: string | undefined;
|
|
2332
|
+
name?: string | undefined;
|
|
2333
|
+
recordCode?: string | undefined;
|
|
2334
|
+
recordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
2335
|
+
recordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
2336
|
+
stateCode?: string | undefined;
|
|
2337
|
+
supplierRefMasterRecords?: {
|
|
2338
|
+
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;
|
|
2339
|
+
companyMainBusinessType?: string | undefined;
|
|
2340
|
+
supplierRefCode?: string | undefined;
|
|
706
2341
|
} | undefined;
|
|
2342
|
+
thirdPartRecordCode?: string | undefined;
|
|
2343
|
+
vatCode?: string | undefined;
|
|
2344
|
+
zipCode?: string | undefined;
|
|
707
2345
|
}>]>;
|
|
708
2346
|
//#endregion
|
|
709
2347
|
//#region src/schemas/search.d.ts
|
|
@@ -765,12 +2403,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
765
2403
|
readonly ErrorDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
766
2404
|
readonly Warnings: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, string[]>]>, undefined>;
|
|
767
2405
|
}, undefined>, v.TransformAction<{
|
|
768
|
-
"@Status": "
|
|
2406
|
+
"@Status": "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
769
2407
|
ErrorCode?: number | undefined;
|
|
770
2408
|
ErrorDescription?: string | undefined;
|
|
771
2409
|
Warnings?: string[] | undefined;
|
|
772
2410
|
}, {
|
|
773
|
-
status: "
|
|
2411
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
774
2412
|
errorCode: number | undefined;
|
|
775
2413
|
errorDescription: string | undefined;
|
|
776
2414
|
warnings: string[] | undefined;
|
|
@@ -815,7 +2453,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
815
2453
|
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
816
2454
|
}, undefined>, undefined>;
|
|
817
2455
|
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.
|
|
2456
|
+
readonly SupplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
2457
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2458
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2459
|
+
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>;
|
|
2460
|
+
}, undefined>, undefined>;
|
|
819
2461
|
readonly AccountPolicies: v.OptionalSchema<v.ObjectSchema<{
|
|
820
2462
|
readonly acceptProfilingPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
821
2463
|
readonly acceptPrivacyPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
@@ -874,7 +2516,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
874
2516
|
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
875
2517
|
}, undefined>, undefined>;
|
|
876
2518
|
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.
|
|
2519
|
+
readonly SupplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
2520
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2521
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2522
|
+
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>;
|
|
2523
|
+
}, undefined>, undefined>;
|
|
878
2524
|
readonly AccountPolicies: v.OptionalSchema<v.ObjectSchema<{
|
|
879
2525
|
readonly acceptProfilingPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
880
2526
|
readonly acceptPrivacyPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
@@ -896,12 +2542,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
896
2542
|
}, undefined>, undefined>;
|
|
897
2543
|
}, undefined>], undefined>, v.TransformAction<{
|
|
898
2544
|
"@RecordCode"?: string | undefined;
|
|
899
|
-
"@InsertCriteria"?: "
|
|
2545
|
+
"@InsertCriteria"?: "M" | "N" | "S" | "T" | undefined;
|
|
900
2546
|
CreatedDate?: string | undefined;
|
|
901
2547
|
ModifiedDate?: string | undefined;
|
|
902
|
-
RecordType?: "CUSTOMER" | "
|
|
2548
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
903
2549
|
LoginType?: string | undefined;
|
|
904
|
-
RecordStatus?: "
|
|
2550
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
905
2551
|
Moniker?: string | undefined;
|
|
906
2552
|
Name?: string | undefined;
|
|
907
2553
|
ExtraInfo?: string | undefined;
|
|
@@ -916,11 +2562,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
916
2562
|
FirstPhoneNumber?: string | undefined;
|
|
917
2563
|
MobilePhoneNumber?: string | undefined;
|
|
918
2564
|
Email?: string | undefined;
|
|
919
|
-
Gender?: "
|
|
2565
|
+
Gender?: "F" | "M" | undefined;
|
|
920
2566
|
BirthDate?: string | undefined;
|
|
921
2567
|
BirthCity?: string | undefined;
|
|
922
2568
|
BirthCounty?: string | undefined;
|
|
923
|
-
EncryptedPassword?:
|
|
2569
|
+
EncryptedPassword?: "false" | "true" | boolean | undefined;
|
|
924
2570
|
FiscalCode?: string | undefined;
|
|
925
2571
|
VatCode?: string | undefined;
|
|
926
2572
|
ThirdPartRecordCode?: string | undefined;
|
|
@@ -932,8 +2578,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
932
2578
|
idIssueDate?: string | undefined;
|
|
933
2579
|
idExpireDate?: string | undefined;
|
|
934
2580
|
} | undefined;
|
|
935
|
-
NewsletterDisabled?:
|
|
936
|
-
SupplierRefMasterRecords?:
|
|
2581
|
+
NewsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
2582
|
+
SupplierRefMasterRecords?: {
|
|
2583
|
+
supplierRefCode?: string | undefined;
|
|
2584
|
+
companyMainBusinessType?: string | undefined;
|
|
2585
|
+
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;
|
|
2586
|
+
} | undefined;
|
|
937
2587
|
AccountPolicies?: {
|
|
938
2588
|
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
939
2589
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
@@ -942,25 +2592,25 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
942
2592
|
FinancialDetail?: {
|
|
943
2593
|
currencyCode?: string | undefined;
|
|
944
2594
|
creditLimit?: string | undefined;
|
|
945
|
-
c_PaymentType?: "
|
|
2595
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
946
2596
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
947
|
-
s_PaymentType?: "
|
|
2597
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
948
2598
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
949
|
-
enableElectronicInvoicing?:
|
|
2599
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
950
2600
|
electronicInvoicingType?: string | undefined;
|
|
951
2601
|
} | undefined;
|
|
952
2602
|
DynamicFields?: {
|
|
953
2603
|
key: string;
|
|
954
2604
|
value: string;
|
|
955
2605
|
} | undefined;
|
|
956
|
-
} | {
|
|
2606
|
+
}[] | {
|
|
957
2607
|
"@RecordCode"?: string | undefined;
|
|
958
|
-
"@InsertCriteria"?: "
|
|
2608
|
+
"@InsertCriteria"?: "M" | "N" | "S" | "T" | undefined;
|
|
959
2609
|
CreatedDate?: string | undefined;
|
|
960
2610
|
ModifiedDate?: string | undefined;
|
|
961
|
-
RecordType?: "CUSTOMER" | "
|
|
2611
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
962
2612
|
LoginType?: string | undefined;
|
|
963
|
-
RecordStatus?: "
|
|
2613
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
964
2614
|
Moniker?: string | undefined;
|
|
965
2615
|
Name?: string | undefined;
|
|
966
2616
|
ExtraInfo?: string | undefined;
|
|
@@ -975,11 +2625,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
975
2625
|
FirstPhoneNumber?: string | undefined;
|
|
976
2626
|
MobilePhoneNumber?: string | undefined;
|
|
977
2627
|
Email?: string | undefined;
|
|
978
|
-
Gender?: "
|
|
2628
|
+
Gender?: "F" | "M" | undefined;
|
|
979
2629
|
BirthDate?: string | undefined;
|
|
980
2630
|
BirthCity?: string | undefined;
|
|
981
2631
|
BirthCounty?: string | undefined;
|
|
982
|
-
EncryptedPassword?:
|
|
2632
|
+
EncryptedPassword?: "false" | "true" | boolean | undefined;
|
|
983
2633
|
FiscalCode?: string | undefined;
|
|
984
2634
|
VatCode?: string | undefined;
|
|
985
2635
|
ThirdPartRecordCode?: string | undefined;
|
|
@@ -991,8 +2641,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
991
2641
|
idIssueDate?: string | undefined;
|
|
992
2642
|
idExpireDate?: string | undefined;
|
|
993
2643
|
} | undefined;
|
|
994
|
-
NewsletterDisabled?:
|
|
995
|
-
SupplierRefMasterRecords?:
|
|
2644
|
+
NewsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
2645
|
+
SupplierRefMasterRecords?: {
|
|
2646
|
+
supplierRefCode?: string | undefined;
|
|
2647
|
+
companyMainBusinessType?: string | undefined;
|
|
2648
|
+
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;
|
|
2649
|
+
} | undefined;
|
|
996
2650
|
AccountPolicies?: {
|
|
997
2651
|
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
998
2652
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
@@ -1001,25 +2655,25 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1001
2655
|
FinancialDetail?: {
|
|
1002
2656
|
currencyCode?: string | undefined;
|
|
1003
2657
|
creditLimit?: string | undefined;
|
|
1004
|
-
c_PaymentType?: "
|
|
2658
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1005
2659
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
1006
|
-
s_PaymentType?: "
|
|
2660
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1007
2661
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
1008
|
-
enableElectronicInvoicing?:
|
|
2662
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
1009
2663
|
electronicInvoicingType?: string | undefined;
|
|
1010
2664
|
} | undefined;
|
|
1011
2665
|
DynamicFields?: {
|
|
1012
2666
|
key: string;
|
|
1013
2667
|
value: string;
|
|
1014
2668
|
} | undefined;
|
|
1015
|
-
}
|
|
2669
|
+
}, {
|
|
1016
2670
|
"@RecordCode"?: string | undefined;
|
|
1017
|
-
"@InsertCriteria"?: "
|
|
2671
|
+
"@InsertCriteria"?: "M" | "N" | "S" | "T" | undefined;
|
|
1018
2672
|
CreatedDate?: string | undefined;
|
|
1019
2673
|
ModifiedDate?: string | undefined;
|
|
1020
|
-
RecordType?: "CUSTOMER" | "
|
|
2674
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
1021
2675
|
LoginType?: string | undefined;
|
|
1022
|
-
RecordStatus?: "
|
|
2676
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
1023
2677
|
Moniker?: string | undefined;
|
|
1024
2678
|
Name?: string | undefined;
|
|
1025
2679
|
ExtraInfo?: string | undefined;
|
|
@@ -1034,11 +2688,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1034
2688
|
FirstPhoneNumber?: string | undefined;
|
|
1035
2689
|
MobilePhoneNumber?: string | undefined;
|
|
1036
2690
|
Email?: string | undefined;
|
|
1037
|
-
Gender?: "
|
|
2691
|
+
Gender?: "F" | "M" | undefined;
|
|
1038
2692
|
BirthDate?: string | undefined;
|
|
1039
2693
|
BirthCity?: string | undefined;
|
|
1040
2694
|
BirthCounty?: string | undefined;
|
|
1041
|
-
EncryptedPassword?:
|
|
2695
|
+
EncryptedPassword?: "false" | "true" | boolean | undefined;
|
|
1042
2696
|
FiscalCode?: string | undefined;
|
|
1043
2697
|
VatCode?: string | undefined;
|
|
1044
2698
|
ThirdPartRecordCode?: string | undefined;
|
|
@@ -1050,8 +2704,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1050
2704
|
idIssueDate?: string | undefined;
|
|
1051
2705
|
idExpireDate?: string | undefined;
|
|
1052
2706
|
} | undefined;
|
|
1053
|
-
NewsletterDisabled?:
|
|
1054
|
-
SupplierRefMasterRecords?:
|
|
2707
|
+
NewsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
2708
|
+
SupplierRefMasterRecords?: {
|
|
2709
|
+
supplierRefCode?: string | undefined;
|
|
2710
|
+
companyMainBusinessType?: string | undefined;
|
|
2711
|
+
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;
|
|
2712
|
+
} | undefined;
|
|
1055
2713
|
AccountPolicies?: {
|
|
1056
2714
|
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
1057
2715
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
@@ -1060,11 +2718,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1060
2718
|
FinancialDetail?: {
|
|
1061
2719
|
currencyCode?: string | undefined;
|
|
1062
2720
|
creditLimit?: string | undefined;
|
|
1063
|
-
c_PaymentType?: "
|
|
2721
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1064
2722
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
1065
|
-
s_PaymentType?: "
|
|
2723
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1066
2724
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
1067
|
-
enableElectronicInvoicing?:
|
|
2725
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
1068
2726
|
electronicInvoicingType?: string | undefined;
|
|
1069
2727
|
} | undefined;
|
|
1070
2728
|
DynamicFields?: {
|
|
@@ -1075,7 +2733,7 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1075
2733
|
}, undefined>, undefined>;
|
|
1076
2734
|
}, undefined>, v.TransformAction<{
|
|
1077
2735
|
RsStatus: {
|
|
1078
|
-
status: "
|
|
2736
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1079
2737
|
errorCode: number | undefined;
|
|
1080
2738
|
errorDescription: string | undefined;
|
|
1081
2739
|
warnings: string[] | undefined;
|
|
@@ -1083,12 +2741,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1083
2741
|
MasterRecordList?: {
|
|
1084
2742
|
MasterRecordDetail?: {
|
|
1085
2743
|
"@RecordCode"?: string | undefined;
|
|
1086
|
-
"@InsertCriteria"?: "
|
|
2744
|
+
"@InsertCriteria"?: "M" | "N" | "S" | "T" | undefined;
|
|
1087
2745
|
CreatedDate?: string | undefined;
|
|
1088
2746
|
ModifiedDate?: string | undefined;
|
|
1089
|
-
RecordType?: "CUSTOMER" | "
|
|
2747
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
1090
2748
|
LoginType?: string | undefined;
|
|
1091
|
-
RecordStatus?: "
|
|
2749
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
1092
2750
|
Moniker?: string | undefined;
|
|
1093
2751
|
Name?: string | undefined;
|
|
1094
2752
|
ExtraInfo?: string | undefined;
|
|
@@ -1103,11 +2761,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1103
2761
|
FirstPhoneNumber?: string | undefined;
|
|
1104
2762
|
MobilePhoneNumber?: string | undefined;
|
|
1105
2763
|
Email?: string | undefined;
|
|
1106
|
-
Gender?: "
|
|
2764
|
+
Gender?: "F" | "M" | undefined;
|
|
1107
2765
|
BirthDate?: string | undefined;
|
|
1108
2766
|
BirthCity?: string | undefined;
|
|
1109
2767
|
BirthCounty?: string | undefined;
|
|
1110
|
-
EncryptedPassword?:
|
|
2768
|
+
EncryptedPassword?: "false" | "true" | boolean | undefined;
|
|
1111
2769
|
FiscalCode?: string | undefined;
|
|
1112
2770
|
VatCode?: string | undefined;
|
|
1113
2771
|
ThirdPartRecordCode?: string | undefined;
|
|
@@ -1119,8 +2777,12 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1119
2777
|
idIssueDate?: string | undefined;
|
|
1120
2778
|
idExpireDate?: string | undefined;
|
|
1121
2779
|
} | undefined;
|
|
1122
|
-
NewsletterDisabled?:
|
|
1123
|
-
SupplierRefMasterRecords?:
|
|
2780
|
+
NewsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
2781
|
+
SupplierRefMasterRecords?: {
|
|
2782
|
+
supplierRefCode?: string | undefined;
|
|
2783
|
+
companyMainBusinessType?: string | undefined;
|
|
2784
|
+
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;
|
|
2785
|
+
} | undefined;
|
|
1124
2786
|
AccountPolicies?: {
|
|
1125
2787
|
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
1126
2788
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
@@ -1129,11 +2791,11 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1129
2791
|
FinancialDetail?: {
|
|
1130
2792
|
currencyCode?: string | undefined;
|
|
1131
2793
|
creditLimit?: string | undefined;
|
|
1132
|
-
c_PaymentType?: "
|
|
2794
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1133
2795
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
1134
|
-
s_PaymentType?: "
|
|
2796
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1135
2797
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
1136
|
-
enableElectronicInvoicing?:
|
|
2798
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
1137
2799
|
electronicInvoicingType?: string | undefined;
|
|
1138
2800
|
} | undefined;
|
|
1139
2801
|
DynamicFields?: {
|
|
@@ -1143,74 +2805,78 @@ declare const SearchMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1143
2805
|
}[] | undefined;
|
|
1144
2806
|
} | undefined;
|
|
1145
2807
|
}, {
|
|
1146
|
-
rsStatus: {
|
|
1147
|
-
status: "OK" | "ERROR" | "WARNING" | "TIMEOUT";
|
|
1148
|
-
errorCode: number | undefined;
|
|
1149
|
-
errorDescription: string | undefined;
|
|
1150
|
-
warnings: string[] | undefined;
|
|
1151
|
-
};
|
|
1152
2808
|
masterRecordList?: {
|
|
1153
2809
|
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;
|
|
2810
|
+
accountPolicies?: {
|
|
2811
|
+
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
2812
|
+
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
2813
|
+
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
2814
|
+
} | undefined;
|
|
1165
2815
|
address?: string | undefined;
|
|
1166
|
-
|
|
2816
|
+
birthCity?: string | undefined;
|
|
2817
|
+
birthCounty?: string | undefined;
|
|
2818
|
+
birthDate?: string | undefined;
|
|
2819
|
+
categoryCode?: string | undefined;
|
|
1167
2820
|
cityName?: string | undefined;
|
|
1168
2821
|
countyCode?: string | undefined;
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
2822
|
+
createdDate?: string | undefined;
|
|
2823
|
+
dynamicFields?: {
|
|
2824
|
+
key: string;
|
|
2825
|
+
value: string;
|
|
2826
|
+
} | undefined;
|
|
1174
2827
|
email?: string | undefined;
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
2828
|
+
encryptedPassword?: "false" | "true" | boolean | undefined;
|
|
2829
|
+
extraInfo?: string | undefined;
|
|
2830
|
+
financialDetail?: {
|
|
2831
|
+
cPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2832
|
+
cSpecPaymentTypeCode?: string | undefined;
|
|
2833
|
+
creditLimit?: string | undefined;
|
|
2834
|
+
currencyCode?: string | undefined;
|
|
2835
|
+
electronicInvoicingType?: string | undefined;
|
|
2836
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
2837
|
+
sPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
2838
|
+
sSpecPaymentTypeCode?: string | undefined;
|
|
2839
|
+
} | undefined;
|
|
2840
|
+
firstPhoneNumber?: string | undefined;
|
|
1180
2841
|
fiscalCode?: string | undefined;
|
|
1181
|
-
|
|
1182
|
-
thirdPartRecordCode?: string | undefined;
|
|
2842
|
+
gender?: "F" | "M" | undefined;
|
|
1183
2843
|
idDocumentDetail?: {
|
|
1184
|
-
idType?: string | undefined;
|
|
1185
2844
|
idCode?: string | undefined;
|
|
1186
|
-
|
|
2845
|
+
idExpireDate?: string | undefined;
|
|
1187
2846
|
idIssueCounty?: string | undefined;
|
|
1188
2847
|
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;
|
|
2848
|
+
idIssueLocation?: string | undefined;
|
|
2849
|
+
idType?: string | undefined;
|
|
1207
2850
|
} | undefined;
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
2851
|
+
insertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
2852
|
+
languageCode?: string | undefined;
|
|
2853
|
+
loginType?: string | undefined;
|
|
2854
|
+
mobilePhoneNumber?: string | undefined;
|
|
2855
|
+
modifiedDate?: string | undefined;
|
|
2856
|
+
moniker?: string | undefined;
|
|
2857
|
+
name?: string | undefined;
|
|
2858
|
+
newsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
2859
|
+
promoterCode?: string | undefined;
|
|
2860
|
+
recordCode?: string | undefined;
|
|
2861
|
+
recordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
2862
|
+
recordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
2863
|
+
stateCode?: string | undefined;
|
|
2864
|
+
supplierRefMasterRecords?: {
|
|
2865
|
+
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;
|
|
2866
|
+
companyMainBusinessType?: string | undefined;
|
|
2867
|
+
supplierRefCode?: string | undefined;
|
|
1211
2868
|
} | undefined;
|
|
2869
|
+
thirdPartRecordCode?: string | undefined;
|
|
2870
|
+
vatCode?: string | undefined;
|
|
2871
|
+
zipCode?: string | undefined;
|
|
1212
2872
|
}[] | undefined;
|
|
1213
2873
|
} | undefined;
|
|
2874
|
+
rsStatus: {
|
|
2875
|
+
errorCode: number | undefined;
|
|
2876
|
+
errorDescription: string | undefined;
|
|
2877
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
2878
|
+
warnings: string[] | undefined;
|
|
2879
|
+
};
|
|
1214
2880
|
}>]>;
|
|
1215
2881
|
//#endregion
|
|
1216
2882
|
//#region src/schemas/upsert.d.ts
|
|
@@ -1264,7 +2930,11 @@ declare const ManageMasterRecordRequestSchema: v.ObjectSchema<{
|
|
|
1264
2930
|
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1265
2931
|
}, undefined>, undefined>;
|
|
1266
2932
|
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.
|
|
2933
|
+
readonly SupplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
2934
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2935
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2936
|
+
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>;
|
|
2937
|
+
}, undefined>, undefined>;
|
|
1268
2938
|
readonly AccountPolicies: v.OptionalSchema<v.ObjectSchema<{
|
|
1269
2939
|
readonly acceptProfilingPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
1270
2940
|
readonly acceptPrivacyPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
@@ -1296,12 +2966,12 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1296
2966
|
readonly ErrorDescription: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1297
2967
|
readonly Warnings: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TransformAction<string, string[]>]>, undefined>;
|
|
1298
2968
|
}, undefined>, v.TransformAction<{
|
|
1299
|
-
"@Status": "
|
|
2969
|
+
"@Status": "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1300
2970
|
ErrorCode?: number | undefined;
|
|
1301
2971
|
ErrorDescription?: string | undefined;
|
|
1302
2972
|
Warnings?: string[] | undefined;
|
|
1303
2973
|
}, {
|
|
1304
|
-
status: "
|
|
2974
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1305
2975
|
errorCode: number | undefined;
|
|
1306
2976
|
errorDescription: string | undefined;
|
|
1307
2977
|
warnings: string[] | undefined;
|
|
@@ -1345,7 +3015,11 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1345
3015
|
readonly idExpireDate: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1346
3016
|
}, undefined>, undefined>;
|
|
1347
3017
|
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.
|
|
3018
|
+
readonly SupplierRefMasterRecords: v.OptionalSchema<v.ObjectSchema<{
|
|
3019
|
+
readonly supplierRefCode: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3020
|
+
readonly companyMainBusinessType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3021
|
+
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>;
|
|
3022
|
+
}, undefined>, undefined>;
|
|
1349
3023
|
readonly AccountPolicies: v.OptionalSchema<v.ObjectSchema<{
|
|
1350
3024
|
readonly acceptProfilingPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
1351
3025
|
readonly acceptPrivacyPolicies: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<0, undefined>, v.LiteralSchema<1, undefined>], undefined>, undefined>;
|
|
@@ -1368,19 +3042,19 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1368
3042
|
}, undefined>, undefined>;
|
|
1369
3043
|
}, undefined>, v.TransformAction<{
|
|
1370
3044
|
RsStatus: {
|
|
1371
|
-
status: "
|
|
3045
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
1372
3046
|
errorCode: number | undefined;
|
|
1373
3047
|
errorDescription: string | undefined;
|
|
1374
3048
|
warnings: string[] | undefined;
|
|
1375
3049
|
};
|
|
1376
3050
|
MasterRecordDetail?: {
|
|
1377
3051
|
"@RecordCode"?: string | undefined;
|
|
1378
|
-
"@InsertCriteria"?: "
|
|
3052
|
+
"@InsertCriteria"?: "M" | "N" | "S" | "T" | undefined;
|
|
1379
3053
|
CreatedDate?: string | undefined;
|
|
1380
3054
|
ModifiedDate?: string | undefined;
|
|
1381
|
-
RecordType?: "CUSTOMER" | "
|
|
3055
|
+
RecordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
1382
3056
|
LoginType?: string | undefined;
|
|
1383
|
-
RecordStatus?: "
|
|
3057
|
+
RecordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
1384
3058
|
Moniker?: string | undefined;
|
|
1385
3059
|
Name?: string | undefined;
|
|
1386
3060
|
ExtraInfo?: string | undefined;
|
|
@@ -1395,11 +3069,11 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1395
3069
|
FirstPhoneNumber?: string | undefined;
|
|
1396
3070
|
MobilePhoneNumber?: string | undefined;
|
|
1397
3071
|
Email?: string | undefined;
|
|
1398
|
-
Gender?: "
|
|
3072
|
+
Gender?: "F" | "M" | undefined;
|
|
1399
3073
|
BirthDate?: string | undefined;
|
|
1400
3074
|
BirthCity?: string | undefined;
|
|
1401
3075
|
BirthCounty?: string | undefined;
|
|
1402
|
-
EncryptedPassword?:
|
|
3076
|
+
EncryptedPassword?: "false" | "true" | boolean | undefined;
|
|
1403
3077
|
FiscalCode?: string | undefined;
|
|
1404
3078
|
VatCode?: string | undefined;
|
|
1405
3079
|
ThirdPartRecordCode?: string | undefined;
|
|
@@ -1411,8 +3085,12 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1411
3085
|
idIssueDate?: string | undefined;
|
|
1412
3086
|
idExpireDate?: string | undefined;
|
|
1413
3087
|
} | undefined;
|
|
1414
|
-
NewsletterDisabled?:
|
|
1415
|
-
SupplierRefMasterRecords?:
|
|
3088
|
+
NewsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
3089
|
+
SupplierRefMasterRecords?: {
|
|
3090
|
+
supplierRefCode?: string | undefined;
|
|
3091
|
+
companyMainBusinessType?: string | undefined;
|
|
3092
|
+
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;
|
|
3093
|
+
} | undefined;
|
|
1416
3094
|
AccountPolicies?: {
|
|
1417
3095
|
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
1418
3096
|
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
@@ -1421,11 +3099,11 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1421
3099
|
FinancialDetail?: {
|
|
1422
3100
|
currencyCode?: string | undefined;
|
|
1423
3101
|
creditLimit?: string | undefined;
|
|
1424
|
-
c_PaymentType?: "
|
|
3102
|
+
c_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1425
3103
|
c_SpecPaymentTypeCode?: string | undefined;
|
|
1426
|
-
s_PaymentType?: "
|
|
3104
|
+
s_PaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
1427
3105
|
s_SpecPaymentTypeCode?: string | undefined;
|
|
1428
|
-
enableElectronicInvoicing?:
|
|
3106
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
1429
3107
|
electronicInvoicingType?: string | undefined;
|
|
1430
3108
|
} | undefined;
|
|
1431
3109
|
DynamicFields?: {
|
|
@@ -1434,89 +3112,78 @@ declare const ManageMasterRecordResponseSchema: v.SchemaWithPipe<readonly [v.Obj
|
|
|
1434
3112
|
} | undefined;
|
|
1435
3113
|
} | undefined;
|
|
1436
3114
|
}, {
|
|
1437
|
-
rsStatus: {
|
|
1438
|
-
status: "OK" | "ERROR" | "WARNING" | "TIMEOUT";
|
|
1439
|
-
errorCode: number | undefined;
|
|
1440
|
-
errorDescription: string | undefined;
|
|
1441
|
-
warnings: string[] | undefined;
|
|
1442
|
-
};
|
|
1443
3115
|
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;
|
|
3116
|
+
accountPolicies?: {
|
|
3117
|
+
acceptNewsletterPolicies?: 0 | 1 | undefined;
|
|
3118
|
+
acceptPrivacyPolicies?: 0 | 1 | undefined;
|
|
3119
|
+
acceptProfilingPolicies?: 0 | 1 | undefined;
|
|
3120
|
+
} | undefined;
|
|
1455
3121
|
address?: string | undefined;
|
|
1456
|
-
|
|
3122
|
+
birthCity?: string | undefined;
|
|
3123
|
+
birthCounty?: string | undefined;
|
|
3124
|
+
birthDate?: string | undefined;
|
|
3125
|
+
categoryCode?: string | undefined;
|
|
1457
3126
|
cityName?: string | undefined;
|
|
1458
3127
|
countyCode?: string | undefined;
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
3128
|
+
createdDate?: string | undefined;
|
|
3129
|
+
dynamicFields?: {
|
|
3130
|
+
key: string;
|
|
3131
|
+
value: string;
|
|
3132
|
+
} | undefined;
|
|
1464
3133
|
email?: string | undefined;
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
3134
|
+
encryptedPassword?: "false" | "true" | boolean | undefined;
|
|
3135
|
+
extraInfo?: string | undefined;
|
|
3136
|
+
financialDetail?: {
|
|
3137
|
+
cPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
3138
|
+
cSpecPaymentTypeCode?: string | undefined;
|
|
3139
|
+
creditLimit?: string | undefined;
|
|
3140
|
+
currencyCode?: string | undefined;
|
|
3141
|
+
electronicInvoicingType?: string | undefined;
|
|
3142
|
+
enableElectronicInvoicing?: "false" | "true" | boolean | undefined;
|
|
3143
|
+
sPaymentType?: "BANK" | "CASH" | "RIBA" | "RID" | "SPECIFIC_CODE" | undefined;
|
|
3144
|
+
sSpecPaymentTypeCode?: string | undefined;
|
|
3145
|
+
} | undefined;
|
|
3146
|
+
firstPhoneNumber?: string | undefined;
|
|
1470
3147
|
fiscalCode?: string | undefined;
|
|
1471
|
-
|
|
1472
|
-
thirdPartRecordCode?: string | undefined;
|
|
3148
|
+
gender?: "F" | "M" | undefined;
|
|
1473
3149
|
idDocumentDetail?: {
|
|
1474
|
-
idType?: string | undefined;
|
|
1475
3150
|
idCode?: string | undefined;
|
|
1476
|
-
|
|
3151
|
+
idExpireDate?: string | undefined;
|
|
1477
3152
|
idIssueCounty?: string | undefined;
|
|
1478
3153
|
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;
|
|
3154
|
+
idIssueLocation?: string | undefined;
|
|
3155
|
+
idType?: string | undefined;
|
|
1497
3156
|
} | undefined;
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
3157
|
+
insertCriteria?: "M" | "N" | "S" | "T" | undefined;
|
|
3158
|
+
languageCode?: string | undefined;
|
|
3159
|
+
loginType?: string | undefined;
|
|
3160
|
+
mobilePhoneNumber?: string | undefined;
|
|
3161
|
+
modifiedDate?: string | undefined;
|
|
3162
|
+
moniker?: string | undefined;
|
|
3163
|
+
name?: string | undefined;
|
|
3164
|
+
newsletterDisabled?: "false" | "true" | boolean | undefined;
|
|
3165
|
+
promoterCode?: string | undefined;
|
|
3166
|
+
recordCode?: string | undefined;
|
|
3167
|
+
recordStatus?: "BLACKLISTED" | "DISABLED" | "ENABLED" | "WARNING" | undefined;
|
|
3168
|
+
recordType?: "CUSTOMER" | "GENERAL" | "SUPPLIER" | undefined;
|
|
3169
|
+
stateCode?: string | undefined;
|
|
3170
|
+
supplierRefMasterRecords?: {
|
|
3171
|
+
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;
|
|
3172
|
+
companyMainBusinessType?: string | undefined;
|
|
3173
|
+
supplierRefCode?: string | undefined;
|
|
1501
3174
|
} | undefined;
|
|
3175
|
+
thirdPartRecordCode?: string | undefined;
|
|
3176
|
+
vatCode?: string | undefined;
|
|
3177
|
+
zipCode?: string | undefined;
|
|
1502
3178
|
} | undefined;
|
|
3179
|
+
rsStatus: {
|
|
3180
|
+
errorCode: number | undefined;
|
|
3181
|
+
errorDescription: string | undefined;
|
|
3182
|
+
status: "ERROR" | "OK" | "TIMEOUT" | "WARNING";
|
|
3183
|
+
warnings: string[] | undefined;
|
|
3184
|
+
};
|
|
1503
3185
|
}>]>;
|
|
1504
3186
|
//#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
3187
|
//#region src/types.d.ts
|
|
1521
3188
|
/**
|
|
1522
3189
|
* Request header containing authentication credentials for AVES API calls.
|
|
@@ -1631,7 +3298,7 @@ type DynamicFields = InferInput<typeof DynamicFieldsSchema>;
|
|
|
1631
3298
|
* @property accountPolicies - Privacy and marketing consent flags
|
|
1632
3299
|
* @property financialDetail - Financial and payment details
|
|
1633
3300
|
* @property dynamicFields - Custom key-value fields
|
|
1634
|
-
*
|
|
3301
|
+
* @property supplierRefMasterRecords - Supplier reference master records
|
|
1635
3302
|
* @example
|
|
1636
3303
|
* ```typescript
|
|
1637
3304
|
* const record: MasterRecordDetail = {
|
|
@@ -1644,6 +3311,11 @@ type DynamicFields = InferInput<typeof DynamicFieldsSchema>;
|
|
|
1644
3311
|
* acceptPrivacyPolicies: 1,
|
|
1645
3312
|
* acceptNewsletterPolicies: 0,
|
|
1646
3313
|
* },
|
|
3314
|
+
* supplierRefMasterRecords: {
|
|
3315
|
+
* supplierRefCode: 'SUP456',
|
|
3316
|
+
* companyMainBusinessType: 'TOUR_OPERATOR',
|
|
3317
|
+
* carrierType: 'OTHER',
|
|
3318
|
+
* },
|
|
1647
3319
|
* };
|
|
1648
3320
|
* ```
|
|
1649
3321
|
*/
|
|
@@ -1790,6 +3462,12 @@ type ManageMasterRecordRS = InferOutput<typeof ManageMasterRecordResponseSchema>
|
|
|
1790
3462
|
* @property setBookingFileCodeFromStartDate - Set booking code from departure date
|
|
1791
3463
|
*/
|
|
1792
3464
|
type BookingFileRQ = InferInput<typeof BookingFileSchema>;
|
|
3465
|
+
/**
|
|
3466
|
+
* Response from CreateBookingFile (BookingFileRS).
|
|
3467
|
+
*
|
|
3468
|
+
* @property rsStatus - Operation status (check for 'OK' before using result)
|
|
3469
|
+
* @property bookingFileDetail - Created booking file detail (camelCase); see Common Structures "BOOKEDFILE"
|
|
3470
|
+
*/
|
|
1793
3471
|
/**
|
|
1794
3472
|
* Response from CreateBookingFile (BookingFileRS).
|
|
1795
3473
|
*
|
|
@@ -1797,6 +3475,34 @@ type BookingFileRQ = InferInput<typeof BookingFileSchema>;
|
|
|
1797
3475
|
* @property bookingFileDetail - Created booking file detail (camelCase); see Common Structures "BOOKEDFILE"
|
|
1798
3476
|
*/
|
|
1799
3477
|
type BookingFileRS = InferOutput<typeof BookingFileResponseSchema>;
|
|
3478
|
+
/**
|
|
3479
|
+
* Request body for ModBookingFileServices (ModFileServicesRQ).
|
|
3480
|
+
*/
|
|
3481
|
+
type ModFileServicesRQ = InferInput<typeof ModFileServicesSchema>;
|
|
3482
|
+
/**
|
|
3483
|
+
* Request body for ModBookingFileHeader (ModFileHeaderRQ).
|
|
3484
|
+
*/
|
|
3485
|
+
type ModFileHeaderRQ = InferInput<typeof ModFileHeaderSchema>;
|
|
3486
|
+
/**
|
|
3487
|
+
* Request body for CancelBookingFile (CancelFileRQ).
|
|
3488
|
+
*/
|
|
3489
|
+
type CancelFileRQ = InferInput<typeof CancelFileSchema>;
|
|
3490
|
+
/**
|
|
3491
|
+
* Request body for SetBookingFileStatus (SetStatusRQ).
|
|
3492
|
+
*/
|
|
3493
|
+
type SetFileStatusRQ = InferInput<typeof SetFileStatusSchema>;
|
|
3494
|
+
/**
|
|
3495
|
+
* Request body for SetBookingFileServiceStatus (SetStatusServiceRQ).
|
|
3496
|
+
*/
|
|
3497
|
+
type SetFileServiceStatusRQ = InferInput<typeof SetFileServiceStatusSchema>;
|
|
3498
|
+
/**
|
|
3499
|
+
* Response for ModServices / SetStatus / SetStatusService — same shape as CreateBookingFile.
|
|
3500
|
+
*/
|
|
3501
|
+
type BookingFileDetailRS = BookingFileRS;
|
|
3502
|
+
/**
|
|
3503
|
+
* Response for booking ops that return only RsStatus (Cancel / ModHeader).
|
|
3504
|
+
*/
|
|
3505
|
+
type BookingStatusOnlyRS = InferOutput<typeof BookingStatusOnlyResponseSchema>;
|
|
1800
3506
|
/**
|
|
1801
3507
|
* Configuration options for the AVES API client.
|
|
1802
3508
|
*
|
|
@@ -1863,6 +3569,10 @@ declare class AvesClient {
|
|
|
1863
3569
|
private handleApiStatus;
|
|
1864
3570
|
private toAvesError;
|
|
1865
3571
|
private request;
|
|
3572
|
+
/**
|
|
3573
|
+
* Shared booking/master request path: validate → wrap RqHeader → POST → parse response.
|
|
3574
|
+
*/
|
|
3575
|
+
private invokeOp;
|
|
1866
3576
|
/**
|
|
1867
3577
|
* Search for master records
|
|
1868
3578
|
* @param params - Search master record request body in camelCase ({@link SearchMasterRecord})
|
|
@@ -1878,10 +3588,35 @@ declare class AvesClient {
|
|
|
1878
3588
|
/**
|
|
1879
3589
|
* Create a booking file (CreateBookingFile).
|
|
1880
3590
|
* @param params - Booking file request body in camelCase ({@link BookingFileRQ})
|
|
1881
|
-
* @returns Result containing booking file detail in camelCase or error
|
|
1882
3591
|
*/
|
|
1883
3592
|
createBooking(params: BookingFileRQ): Promise<Result<BookingFileRS, AvesError>>;
|
|
3593
|
+
/**
|
|
3594
|
+
* Modify booked services: add/replace lines, assign package, delete/nullify cost items.
|
|
3595
|
+
* @param params - ModFileServicesRQ body in camelCase ({@link ModFileServicesRQ})
|
|
3596
|
+
*/
|
|
3597
|
+
modBookingServices(params: ModFileServicesRQ): Promise<Result<BookingFileDetailRS, AvesError>>;
|
|
3598
|
+
/**
|
|
3599
|
+
* Modify booking file header (customer, passengers, notes, financial info).
|
|
3600
|
+
* Does not change package or cost lines.
|
|
3601
|
+
* @param params - ModFileHeaderRQ body in camelCase ({@link ModFileHeaderRQ})
|
|
3602
|
+
*/
|
|
3603
|
+
modBookingHeader(params: ModFileHeaderRQ): Promise<Result<BookingStatusOnlyRS, AvesError>>;
|
|
3604
|
+
/**
|
|
3605
|
+
* Delete a booking file (CancelBookingFile).
|
|
3606
|
+
* @param params - CancelFileRQ body in camelCase ({@link CancelFileRQ})
|
|
3607
|
+
*/
|
|
3608
|
+
cancelBooking(params: CancelFileRQ): Promise<Result<BookingStatusOnlyRS, AvesError>>;
|
|
3609
|
+
/**
|
|
3610
|
+
* Change booking file status (incl. CANCELED / NULLIFIED).
|
|
3611
|
+
* @param params - SetStatusRQ body in camelCase ({@link SetFileStatusRQ})
|
|
3612
|
+
*/
|
|
3613
|
+
setBookingStatus(params: SetFileStatusRQ): Promise<Result<BookingFileDetailRS, AvesError>>;
|
|
3614
|
+
/**
|
|
3615
|
+
* Nullify a single booked service line (SetBookingFileServiceStatus).
|
|
3616
|
+
* @param params - SetStatusServiceRQ body in camelCase ({@link SetFileServiceStatusRQ})
|
|
3617
|
+
*/
|
|
3618
|
+
setBookingServiceStatus(params: SetFileServiceStatusRQ): Promise<Result<BookingFileDetailRS, AvesError>>;
|
|
1884
3619
|
}
|
|
1885
3620
|
//#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 };
|
|
3621
|
+
export { type AccountPolicies, AvesClient, type AvesClientOptions, AvesError, type BookingFileDetailRS, type BookingFileRQ, type BookingFileRS, type BookingStatusOnlyRS, type CancelFileRQ, type DynamicFields, 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
3622
|
//# sourceMappingURL=index.d.mts.map
|