swoop-common 2.2.110 → 2.2.112
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/models/DTOSwoopSync.d.ts +2 -0
- package/dist/api/generated/core/services/CoreService.d.ts +4 -4
- package/dist/api/generated/core/services/CoreService.js +5 -5
- package/dist/api/generated/core/services/TemplateService.d.ts +4 -4
- package/dist/api/generated/core/services/TemplateService.js +5 -5
- package/dist/api/generated/swoop/models/Itinerary_ItinerarySaveInput.d.ts +1 -0
- package/dist/api/generated/swoop/models/Itinerary_ItinerarySaveInput_jsonld.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import type { ItineraryRevisionGroupId } from './ItineraryRevisionGroupId';
|
|
|
5
5
|
import type { ItineraryValue } from './ItineraryValue';
|
|
6
6
|
import type { Metadata } from './Metadata';
|
|
7
7
|
import type { QuoteOptions } from './QuoteOptions';
|
|
8
|
+
import type { SnapshotId } from './SnapshotId';
|
|
8
9
|
import type { SwoopSyncComponentInstance } from './SwoopSyncComponentInstance';
|
|
9
10
|
import type { Title } from './Title';
|
|
10
11
|
export type DTOSwoopSync = {
|
|
@@ -20,4 +21,5 @@ export type DTOSwoopSync = {
|
|
|
20
21
|
componentInstances: Array<SwoopSyncComponentInstance>;
|
|
21
22
|
quoteOption?: QuoteOptions;
|
|
22
23
|
isLateBookingConfirmed: boolean;
|
|
24
|
+
latestSnapshot?: SnapshotId;
|
|
23
25
|
};
|
|
@@ -215,14 +215,14 @@ export declare class CoreService {
|
|
|
215
215
|
*/
|
|
216
216
|
templateGet(templateId: TemplateId): CancelablePromise<any>;
|
|
217
217
|
/**
|
|
218
|
-
* Update Template
|
|
219
|
-
* Updates
|
|
218
|
+
* Update Template
|
|
219
|
+
* Updates a template
|
|
220
220
|
* @param templateId Id of a template
|
|
221
221
|
* @param requestBody
|
|
222
|
-
* @returns DTOTemplateRead When
|
|
222
|
+
* @returns DTOTemplateRead When the template is updated successfully
|
|
223
223
|
* @throws ApiError
|
|
224
224
|
*/
|
|
225
|
-
|
|
225
|
+
templateUpdate(templateId: TemplateId, requestBody: DTOTemplateUpdate): CancelablePromise<DTOTemplateRead>;
|
|
226
226
|
/**
|
|
227
227
|
* Delete Template via ID
|
|
228
228
|
* Deletes a specific template given its Id
|
|
@@ -454,16 +454,16 @@ export class CoreService {
|
|
|
454
454
|
});
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
457
|
-
* Update Template
|
|
458
|
-
* Updates
|
|
457
|
+
* Update Template
|
|
458
|
+
* Updates a template
|
|
459
459
|
* @param templateId Id of a template
|
|
460
460
|
* @param requestBody
|
|
461
|
-
* @returns DTOTemplateRead When
|
|
461
|
+
* @returns DTOTemplateRead When the template is updated successfully
|
|
462
462
|
* @throws ApiError
|
|
463
463
|
*/
|
|
464
|
-
|
|
464
|
+
templateUpdate(templateId, requestBody) {
|
|
465
465
|
return __request(OpenAPI, {
|
|
466
|
-
method: '
|
|
466
|
+
method: 'PATCH',
|
|
467
467
|
url: '/template/{templateId}',
|
|
468
468
|
path: {
|
|
469
469
|
'templateId': templateId,
|
|
@@ -38,14 +38,14 @@ export declare class TemplateService {
|
|
|
38
38
|
*/
|
|
39
39
|
static templateGet(templateId: TemplateId): CancelablePromise<any>;
|
|
40
40
|
/**
|
|
41
|
-
* Update Template
|
|
42
|
-
* Updates
|
|
41
|
+
* Update Template
|
|
42
|
+
* Updates a template
|
|
43
43
|
* @param templateId Id of a template
|
|
44
44
|
* @param requestBody
|
|
45
|
-
* @returns DTOTemplateRead When
|
|
45
|
+
* @returns DTOTemplateRead When the template is updated successfully
|
|
46
46
|
* @throws ApiError
|
|
47
47
|
*/
|
|
48
|
-
static
|
|
48
|
+
static templateUpdate(templateId: TemplateId, requestBody: DTOTemplateUpdate): CancelablePromise<DTOTemplateRead>;
|
|
49
49
|
/**
|
|
50
50
|
* Delete Template via ID
|
|
51
51
|
* Deletes a specific template given its Id
|
|
@@ -76,16 +76,16 @@ export class TemplateService {
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Update Template
|
|
80
|
-
* Updates
|
|
79
|
+
* Update Template
|
|
80
|
+
* Updates a template
|
|
81
81
|
* @param templateId Id of a template
|
|
82
82
|
* @param requestBody
|
|
83
|
-
* @returns DTOTemplateRead When
|
|
83
|
+
* @returns DTOTemplateRead When the template is updated successfully
|
|
84
84
|
* @throws ApiError
|
|
85
85
|
*/
|
|
86
|
-
static
|
|
86
|
+
static templateUpdate(templateId, requestBody) {
|
|
87
87
|
return __request(OpenAPI, {
|
|
88
|
-
method: '
|
|
88
|
+
method: 'PATCH',
|
|
89
89
|
url: '/template/{templateId}',
|
|
90
90
|
path: {
|
|
91
91
|
'templateId': templateId,
|