swoop-common 2.2.221 → 2.2.223
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/api/generated/core/exports.d.ts +2 -1
- package/dist/api/generated/core/exports.js +1 -0
- package/dist/api/generated/core/index.d.ts +2 -1
- package/dist/api/generated/core/index.js +1 -0
- package/dist/api/generated/core/models/ComponentInstance.d.ts +1 -0
- package/dist/api/generated/core/models/QuoteOptions.d.ts +8 -0
- package/dist/api/generated/core/models/QuoteOptions.js +9 -1
- package/dist/api/generated/core/models/SwoopSyncSuccess.d.ts +6 -0
- package/dist/api/generated/core/models/SwoopSyncSuccess.js +1 -0
- package/dist/api/generated/swoop/exports.d.ts +4 -0
- package/dist/api/generated/swoop/index.d.ts +4 -0
- package/dist/api/generated/swoop/models/IbAudit_jsonld_read.d.ts +12 -0
- package/dist/api/generated/swoop/models/IbAudit_jsonld_read.js +1 -0
- package/dist/api/generated/swoop/models/IbAudit_jsonld_write.d.ts +9 -0
- package/dist/api/generated/swoop/models/IbAudit_jsonld_write.js +1 -0
- package/dist/api/generated/swoop/models/IbAudit_read.d.ts +11 -0
- package/dist/api/generated/swoop/models/IbAudit_read.js +1 -0
- package/dist/api/generated/swoop/models/IbAudit_write.d.ts +9 -0
- package/dist/api/generated/swoop/models/IbAudit_write.js +1 -0
- package/dist/api/generated/swoop/models/Itinerary_ItinerarySaveOutput.d.ts +1 -0
- package/dist/api/generated/swoop/models/Itinerary_ItinerarySaveOutput_jsonld.d.ts +1 -0
- package/dist/api/generated/swoop/services/SwoopService.d.ts +19 -0
- package/dist/api/generated/swoop/services/SwoopService.js +37 -0
- package/package.json +1 -1
|
@@ -112,7 +112,7 @@ export type { PublicSnapShotPayment } from './index';
|
|
|
112
112
|
export type { PublicSnapshotPerson } from './index';
|
|
113
113
|
export type { PublicSnapshotPricing } from './index';
|
|
114
114
|
export type { PublicSnapshotTraveller } from './index';
|
|
115
|
-
export
|
|
115
|
+
export { QuoteOptions } from './index';
|
|
116
116
|
export type { RegionId } from './index';
|
|
117
117
|
export type { ReserveTripRequest } from './index';
|
|
118
118
|
export type { SalesActionedRequest } from './index';
|
|
@@ -125,6 +125,7 @@ export type { SwoopError } from './index';
|
|
|
125
125
|
export type { SwoopSyncComponentInstance } from './index';
|
|
126
126
|
export type { SwoopSyncError } from './index';
|
|
127
127
|
export type { SwoopSyncErrorMsg } from './index';
|
|
128
|
+
export type { SwoopSyncSuccess } from './index';
|
|
128
129
|
export type { TagPathParam } from './index';
|
|
129
130
|
export type { TemplateId } from './index';
|
|
130
131
|
export type { TemplateIdPathParam } from './index';
|
|
@@ -112,7 +112,7 @@ export type { PublicSnapShotPayment } from './models/PublicSnapShotPayment';
|
|
|
112
112
|
export type { PublicSnapshotPerson } from './models/PublicSnapshotPerson';
|
|
113
113
|
export type { PublicSnapshotPricing } from './models/PublicSnapshotPricing';
|
|
114
114
|
export type { PublicSnapshotTraveller } from './models/PublicSnapshotTraveller';
|
|
115
|
-
export
|
|
115
|
+
export { QuoteOptions } from './models/QuoteOptions';
|
|
116
116
|
export type { RegionId } from './models/RegionId';
|
|
117
117
|
export type { ReserveTripRequest } from './models/ReserveTripRequest';
|
|
118
118
|
export type { SalesActionedRequest } from './models/SalesActionedRequest';
|
|
@@ -125,6 +125,7 @@ export type { SwoopError } from './models/SwoopError';
|
|
|
125
125
|
export type { SwoopSyncComponentInstance } from './models/SwoopSyncComponentInstance';
|
|
126
126
|
export type { SwoopSyncError } from './models/SwoopSyncError';
|
|
127
127
|
export type { SwoopSyncErrorMsg } from './models/SwoopSyncErrorMsg';
|
|
128
|
+
export type { SwoopSyncSuccess } from './models/SwoopSyncSuccess';
|
|
128
129
|
export type { TagPathParam } from './models/TagPathParam';
|
|
129
130
|
export type { TemplateId } from './models/TemplateId';
|
|
130
131
|
export type { TemplateIdPathParam } from './models/TemplateIdPathParam';
|
|
@@ -15,6 +15,7 @@ export { Destination } from './models/Destination';
|
|
|
15
15
|
export { InfoNote } from './models/InfoNote';
|
|
16
16
|
export { OrderQueryParam } from './models/OrderQueryParam';
|
|
17
17
|
export { OrgId } from './models/OrgId';
|
|
18
|
+
export { QuoteOptions } from './models/QuoteOptions';
|
|
18
19
|
export { UrgencyCTA } from './models/UrgencyCTA';
|
|
19
20
|
export { ComponentService } from './services/ComponentService';
|
|
20
21
|
export { CoreService } from './services/CoreService';
|
|
@@ -10,4 +10,12 @@ export type QuoteOptions = {
|
|
|
10
10
|
savingMade: string;
|
|
11
11
|
currency?: Currency;
|
|
12
12
|
onBehalfOf?: string;
|
|
13
|
+
feeVisibility?: QuoteOptions.feeVisibility;
|
|
13
14
|
};
|
|
15
|
+
export declare namespace QuoteOptions {
|
|
16
|
+
enum feeVisibility {
|
|
17
|
+
DEFAULT = "default",
|
|
18
|
+
SHOW_ALL = "showAll",
|
|
19
|
+
HIDE_ALL = "hideAll"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var QuoteOptions;
|
|
2
|
+
(function (QuoteOptions) {
|
|
3
|
+
let feeVisibility;
|
|
4
|
+
(function (feeVisibility) {
|
|
5
|
+
feeVisibility["DEFAULT"] = "default";
|
|
6
|
+
feeVisibility["SHOW_ALL"] = "showAll";
|
|
7
|
+
feeVisibility["HIDE_ALL"] = "hideAll";
|
|
8
|
+
})(feeVisibility = QuoteOptions.feeVisibility || (QuoteOptions.feeVisibility = {}));
|
|
9
|
+
})(QuoteOptions || (QuoteOptions = {}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type SwoopSyncSuccess = {
|
|
2
|
+
/**
|
|
3
|
+
* Whether the itinerary currently meets the CRM's late-booking criteria, computed regardless of the isLateBookingConfirmed value that was sent. Absent when the CRM does not yet report this field, which must be treated as unknown (not false).
|
|
4
|
+
*/
|
|
5
|
+
isLate?: boolean;
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -52,6 +52,10 @@ export type { ExchangeRateSwoop } from './index';
|
|
|
52
52
|
export type { ExchangeRate_jsonldSwoop } from './index';
|
|
53
53
|
export type { HydraCollectionBaseSchemaSwoop } from './index';
|
|
54
54
|
export type { HydraItemBaseSchemaSwoop } from './index';
|
|
55
|
+
export type { IbAudit_jsonld_readSwoop } from './index';
|
|
56
|
+
export type { IbAudit_jsonld_writeSwoop } from './index';
|
|
57
|
+
export type { IbAudit_readSwoop } from './index';
|
|
58
|
+
export type { IbAudit_writeSwoop } from './index';
|
|
55
59
|
export type { Itinerary_ItinerarySaveInputSwoop } from './index';
|
|
56
60
|
export type { Itinerary_ItinerarySaveInput_jsonldSwoop } from './index';
|
|
57
61
|
export type { Itinerary_ItinerarySaveOutputSwoop } from './index';
|
|
@@ -56,6 +56,10 @@ export type { ExchangeRate as ExchangeRateSwoop } from './models/ExchangeRate';
|
|
|
56
56
|
export type { ExchangeRate_jsonld as ExchangeRate_jsonldSwoop } from './models/ExchangeRate_jsonld';
|
|
57
57
|
export type { HydraCollectionBaseSchema as HydraCollectionBaseSchemaSwoop } from './models/HydraCollectionBaseSchema';
|
|
58
58
|
export type { HydraItemBaseSchema as HydraItemBaseSchemaSwoop } from './models/HydraItemBaseSchema';
|
|
59
|
+
export type { IbAudit_jsonld_read as IbAudit_jsonld_readSwoop } from './models/IbAudit_jsonld_read';
|
|
60
|
+
export type { IbAudit_jsonld_write as IbAudit_jsonld_writeSwoop } from './models/IbAudit_jsonld_write';
|
|
61
|
+
export type { IbAudit_read as IbAudit_readSwoop } from './models/IbAudit_read';
|
|
62
|
+
export type { IbAudit_write as IbAudit_writeSwoop } from './models/IbAudit_write';
|
|
59
63
|
export type { Itinerary_ItinerarySaveInput as Itinerary_ItinerarySaveInputSwoop } from './models/Itinerary_ItinerarySaveInput';
|
|
60
64
|
export type { Itinerary_ItinerarySaveInput_jsonld as Itinerary_ItinerarySaveInput_jsonldSwoop } from './models/Itinerary_ItinerarySaveInput_jsonld';
|
|
61
65
|
export type { Itinerary_ItinerarySaveOutput as Itinerary_ItinerarySaveOutputSwoop } from './models/Itinerary_ItinerarySaveOutput';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { HydraItemBaseSchema } from './HydraItemBaseSchema';
|
|
2
|
+
export type IbAudit_jsonld_read = (HydraItemBaseSchema & {
|
|
3
|
+
id?: string;
|
|
4
|
+
enquiryId?: string | null;
|
|
5
|
+
entityId?: string | null;
|
|
6
|
+
entityType?: string | null;
|
|
7
|
+
action?: string | null;
|
|
8
|
+
changes?: Array<null>;
|
|
9
|
+
userEmail?: string | null;
|
|
10
|
+
userId?: string | null;
|
|
11
|
+
createdAt?: string | null;
|
|
12
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type IbAudit_read = {
|
|
2
|
+
id?: string;
|
|
3
|
+
enquiryId?: string | null;
|
|
4
|
+
entityId?: string | null;
|
|
5
|
+
entityType?: string | null;
|
|
6
|
+
action?: string | null;
|
|
7
|
+
changes?: Array<null>;
|
|
8
|
+
userEmail?: string | null;
|
|
9
|
+
userId?: string | null;
|
|
10
|
+
createdAt?: string | null;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -14,6 +14,8 @@ import type { Departure } from '../models/Departure';
|
|
|
14
14
|
import type { Enquiry } from '../models/Enquiry';
|
|
15
15
|
import type { EnquiryStatus } from '../models/EnquiryStatus';
|
|
16
16
|
import type { ExchangeRate } from '../models/ExchangeRate';
|
|
17
|
+
import type { IbAudit_read } from '../models/IbAudit_read';
|
|
18
|
+
import type { IbAudit_write } from '../models/IbAudit_write';
|
|
17
19
|
import type { Itinerary_ItinerarySaveInput } from '../models/Itinerary_ItinerarySaveInput';
|
|
18
20
|
import type { Itinerary_ItinerarySaveOutput } from '../models/Itinerary_ItinerarySaveOutput';
|
|
19
21
|
import type { MediaAsset } from '../models/MediaAsset';
|
|
@@ -239,6 +241,23 @@ export declare class SwoopService {
|
|
|
239
241
|
* @throws ApiError
|
|
240
242
|
*/
|
|
241
243
|
exchangeRateGetCollection(): CancelablePromise<Array<ExchangeRate>>;
|
|
244
|
+
/**
|
|
245
|
+
* Retrieves the collection of IbAudit resources.
|
|
246
|
+
* Retrieves the collection of IbAudit resources.
|
|
247
|
+
* @param enquiryId Enquiry external id, e.g. PAT-62076
|
|
248
|
+
* @param entityId Entity external id to filter by
|
|
249
|
+
* @returns IbAudit_read IbAudit collection
|
|
250
|
+
* @throws ApiError
|
|
251
|
+
*/
|
|
252
|
+
ibAuditGetCollection(enquiryId?: string, entityId?: string): CancelablePromise<Array<IbAudit_read>>;
|
|
253
|
+
/**
|
|
254
|
+
* Creates a IbAudit resource.
|
|
255
|
+
* Creates a IbAudit resource.
|
|
256
|
+
* @param requestBody The new IbAudit resource
|
|
257
|
+
* @returns IbAudit_read IbAudit resource created
|
|
258
|
+
* @throws ApiError
|
|
259
|
+
*/
|
|
260
|
+
ibAuditPost(requestBody: IbAudit_write): CancelablePromise<IbAudit_read>;
|
|
242
261
|
/**
|
|
243
262
|
* Replaces the Itinerary resource.
|
|
244
263
|
* Replaces the Itinerary resource.
|
|
@@ -343,6 +343,43 @@ export class SwoopService {
|
|
|
343
343
|
url: '/api/exchange-rate',
|
|
344
344
|
});
|
|
345
345
|
}
|
|
346
|
+
/**
|
|
347
|
+
* Retrieves the collection of IbAudit resources.
|
|
348
|
+
* Retrieves the collection of IbAudit resources.
|
|
349
|
+
* @param enquiryId Enquiry external id, e.g. PAT-62076
|
|
350
|
+
* @param entityId Entity external id to filter by
|
|
351
|
+
* @returns IbAudit_read IbAudit collection
|
|
352
|
+
* @throws ApiError
|
|
353
|
+
*/
|
|
354
|
+
ibAuditGetCollection(enquiryId, entityId) {
|
|
355
|
+
return __request(OpenAPI, {
|
|
356
|
+
method: 'GET',
|
|
357
|
+
url: '/api/ib-audit',
|
|
358
|
+
query: {
|
|
359
|
+
'enquiryId': enquiryId,
|
|
360
|
+
'entityId': entityId,
|
|
361
|
+
},
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Creates a IbAudit resource.
|
|
366
|
+
* Creates a IbAudit resource.
|
|
367
|
+
* @param requestBody The new IbAudit resource
|
|
368
|
+
* @returns IbAudit_read IbAudit resource created
|
|
369
|
+
* @throws ApiError
|
|
370
|
+
*/
|
|
371
|
+
ibAuditPost(requestBody) {
|
|
372
|
+
return __request(OpenAPI, {
|
|
373
|
+
method: 'POST',
|
|
374
|
+
url: '/api/ib-audit',
|
|
375
|
+
body: requestBody,
|
|
376
|
+
mediaType: 'application/json',
|
|
377
|
+
errors: {
|
|
378
|
+
400: `Invalid input`,
|
|
379
|
+
422: `Validation Error`,
|
|
380
|
+
},
|
|
381
|
+
});
|
|
382
|
+
}
|
|
346
383
|
/**
|
|
347
384
|
* Replaces the Itinerary resource.
|
|
348
385
|
* Replaces the Itinerary resource.
|