swoop-common 2.2.136 → 2.2.138
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/services/CoreService.d.ts +8 -8
- package/dist/api/generated/core/services/CoreService.js +21 -20
- package/dist/api/generated/core/services/PublicService.d.ts +0 -10
- package/dist/api/generated/core/services/PublicService.js +0 -20
- package/dist/api/generated/core/services/TripComparisonService.d.ts +8 -8
- package/dist/api/generated/core/services/TripComparisonService.js +21 -20
- package/package.json +1 -1
|
@@ -329,6 +329,14 @@ export declare class CoreService {
|
|
|
329
329
|
* @throws ApiError
|
|
330
330
|
*/
|
|
331
331
|
tripComparisonCreate(requestBody: DTOTripComparisonCreate): CancelablePromise<DTOTripComparisonRead>;
|
|
332
|
+
/**
|
|
333
|
+
* Get Trip Comparison
|
|
334
|
+
* Fetches a single trip comparison item by UUID. This is a server-to-server endpoint protected by an API key.
|
|
335
|
+
* @param uuid UUID of a trip comparison item
|
|
336
|
+
* @returns DTOTripComparisonRead The trip comparison item
|
|
337
|
+
* @throws ApiError
|
|
338
|
+
*/
|
|
339
|
+
tripComparisonGet(uuid: TripComparisonItemId): CancelablePromise<DTOTripComparisonRead>;
|
|
332
340
|
/**
|
|
333
341
|
* Update a Trip Comparison
|
|
334
342
|
* Updates an existing trip comparison item by UUID. Finds the document by enquiryId, locates the item by UUID, and replaces the entire item's data. Updates metadata timestamps.
|
|
@@ -356,14 +364,6 @@ export declare class CoreService {
|
|
|
356
364
|
* @throws ApiError
|
|
357
365
|
*/
|
|
358
366
|
reserveTrip(uuid: TripComparisonItemId, tripIndex: number): CancelablePromise<DTOTripComparisonRead>;
|
|
359
|
-
/**
|
|
360
|
-
* Get Trip Comparison (Public)
|
|
361
|
-
* Fetches a single trip comparison item by UUID. This is a public endpoint that doesn't require authentication.
|
|
362
|
-
* @param uuid UUID of a trip comparison item
|
|
363
|
-
* @returns DTOTripComparisonRead The trip comparison item
|
|
364
|
-
* @throws ApiError
|
|
365
|
-
*/
|
|
366
|
-
publicTripComparisonGet(uuid: TripComparisonItemId): CancelablePromise<DTOTripComparisonRead>;
|
|
367
367
|
/**
|
|
368
368
|
* Resolve template hierarchy
|
|
369
369
|
* @returns Array<DTOTemplateRead> OK
|
|
@@ -750,6 +750,27 @@ export class CoreService {
|
|
|
750
750
|
},
|
|
751
751
|
});
|
|
752
752
|
}
|
|
753
|
+
/**
|
|
754
|
+
* Get Trip Comparison
|
|
755
|
+
* Fetches a single trip comparison item by UUID. This is a server-to-server endpoint protected by an API key.
|
|
756
|
+
* @param uuid UUID of a trip comparison item
|
|
757
|
+
* @returns DTOTripComparisonRead The trip comparison item
|
|
758
|
+
* @throws ApiError
|
|
759
|
+
*/
|
|
760
|
+
tripComparisonGet(uuid) {
|
|
761
|
+
return __request(OpenAPI, {
|
|
762
|
+
method: 'GET',
|
|
763
|
+
url: '/trip-comparison/{uuid}',
|
|
764
|
+
path: {
|
|
765
|
+
'uuid': uuid,
|
|
766
|
+
},
|
|
767
|
+
errors: {
|
|
768
|
+
401: `When the API key is missing or invalid`,
|
|
769
|
+
404: `If the trip comparison item does not exist`,
|
|
770
|
+
500: `When an unexpected error occurs`,
|
|
771
|
+
},
|
|
772
|
+
});
|
|
773
|
+
}
|
|
753
774
|
/**
|
|
754
775
|
* Update a Trip Comparison
|
|
755
776
|
* Updates an existing trip comparison item by UUID. Finds the document by enquiryId, locates the item by UUID, and replaces the entire item's data. Updates metadata timestamps.
|
|
@@ -825,26 +846,6 @@ export class CoreService {
|
|
|
825
846
|
},
|
|
826
847
|
});
|
|
827
848
|
}
|
|
828
|
-
/**
|
|
829
|
-
* Get Trip Comparison (Public)
|
|
830
|
-
* Fetches a single trip comparison item by UUID. This is a public endpoint that doesn't require authentication.
|
|
831
|
-
* @param uuid UUID of a trip comparison item
|
|
832
|
-
* @returns DTOTripComparisonRead The trip comparison item
|
|
833
|
-
* @throws ApiError
|
|
834
|
-
*/
|
|
835
|
-
publicTripComparisonGet(uuid) {
|
|
836
|
-
return __request(OpenAPI, {
|
|
837
|
-
method: 'GET',
|
|
838
|
-
url: '/public/trip-comparison/{uuid}',
|
|
839
|
-
path: {
|
|
840
|
-
'uuid': uuid,
|
|
841
|
-
},
|
|
842
|
-
errors: {
|
|
843
|
-
404: `If the trip comparison item does not exist`,
|
|
844
|
-
500: `When an unexpected error occurs`,
|
|
845
|
-
},
|
|
846
|
-
});
|
|
847
|
-
}
|
|
848
849
|
/**
|
|
849
850
|
* Resolve template hierarchy
|
|
850
851
|
* @returns Array<DTOTemplateRead> OK
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { DTOPublicSnapshotRead } from '../models/DTOPublicSnapshotRead';
|
|
2
|
-
import type { DTOTripComparisonRead } from '../models/DTOTripComparisonRead';
|
|
3
2
|
import type { SnapshotId } from '../models/SnapshotId';
|
|
4
|
-
import type { TripComparisonItemId } from '../models/TripComparisonItemId';
|
|
5
3
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
4
|
export declare class PublicService {
|
|
7
5
|
/**
|
|
@@ -11,12 +9,4 @@ export declare class PublicService {
|
|
|
11
9
|
* @throws ApiError
|
|
12
10
|
*/
|
|
13
11
|
static publicSnapshotList(snapshotId: SnapshotId): CancelablePromise<DTOPublicSnapshotRead>;
|
|
14
|
-
/**
|
|
15
|
-
* Get Trip Comparison (Public)
|
|
16
|
-
* Fetches a single trip comparison item by UUID. This is a public endpoint that doesn't require authentication.
|
|
17
|
-
* @param uuid UUID of a trip comparison item
|
|
18
|
-
* @returns DTOTripComparisonRead The trip comparison item
|
|
19
|
-
* @throws ApiError
|
|
20
|
-
*/
|
|
21
|
-
static publicTripComparisonGet(uuid: TripComparisonItemId): CancelablePromise<DTOTripComparisonRead>;
|
|
22
12
|
}
|
|
@@ -23,24 +23,4 @@ export class PublicService {
|
|
|
23
23
|
},
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
/**
|
|
27
|
-
* Get Trip Comparison (Public)
|
|
28
|
-
* Fetches a single trip comparison item by UUID. This is a public endpoint that doesn't require authentication.
|
|
29
|
-
* @param uuid UUID of a trip comparison item
|
|
30
|
-
* @returns DTOTripComparisonRead The trip comparison item
|
|
31
|
-
* @throws ApiError
|
|
32
|
-
*/
|
|
33
|
-
static publicTripComparisonGet(uuid) {
|
|
34
|
-
return __request(OpenAPI, {
|
|
35
|
-
method: 'GET',
|
|
36
|
-
url: '/public/trip-comparison/{uuid}',
|
|
37
|
-
path: {
|
|
38
|
-
'uuid': uuid,
|
|
39
|
-
},
|
|
40
|
-
errors: {
|
|
41
|
-
404: `If the trip comparison item does not exist`,
|
|
42
|
-
500: `When an unexpected error occurs`,
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
26
|
}
|
|
@@ -21,6 +21,14 @@ export declare class TripComparisonService {
|
|
|
21
21
|
* @throws ApiError
|
|
22
22
|
*/
|
|
23
23
|
static tripComparisonCreate(requestBody: DTOTripComparisonCreate): CancelablePromise<DTOTripComparisonRead>;
|
|
24
|
+
/**
|
|
25
|
+
* Get Trip Comparison
|
|
26
|
+
* Fetches a single trip comparison item by UUID. This is a server-to-server endpoint protected by an API key.
|
|
27
|
+
* @param uuid UUID of a trip comparison item
|
|
28
|
+
* @returns DTOTripComparisonRead The trip comparison item
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static tripComparisonGet(uuid: TripComparisonItemId): CancelablePromise<DTOTripComparisonRead>;
|
|
24
32
|
/**
|
|
25
33
|
* Update a Trip Comparison
|
|
26
34
|
* Updates an existing trip comparison item by UUID. Finds the document by enquiryId, locates the item by UUID, and replaces the entire item's data. Updates metadata timestamps.
|
|
@@ -48,12 +56,4 @@ export declare class TripComparisonService {
|
|
|
48
56
|
* @throws ApiError
|
|
49
57
|
*/
|
|
50
58
|
static reserveTrip(uuid: TripComparisonItemId, tripIndex: number): CancelablePromise<DTOTripComparisonRead>;
|
|
51
|
-
/**
|
|
52
|
-
* Get Trip Comparison (Public)
|
|
53
|
-
* Fetches a single trip comparison item by UUID. This is a public endpoint that doesn't require authentication.
|
|
54
|
-
* @param uuid UUID of a trip comparison item
|
|
55
|
-
* @returns DTOTripComparisonRead The trip comparison item
|
|
56
|
-
* @throws ApiError
|
|
57
|
-
*/
|
|
58
|
-
static publicTripComparisonGet(uuid: TripComparisonItemId): CancelablePromise<DTOTripComparisonRead>;
|
|
59
59
|
}
|
|
@@ -43,6 +43,27 @@ export class TripComparisonService {
|
|
|
43
43
|
},
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Get Trip Comparison
|
|
48
|
+
* Fetches a single trip comparison item by UUID. This is a server-to-server endpoint protected by an API key.
|
|
49
|
+
* @param uuid UUID of a trip comparison item
|
|
50
|
+
* @returns DTOTripComparisonRead The trip comparison item
|
|
51
|
+
* @throws ApiError
|
|
52
|
+
*/
|
|
53
|
+
static tripComparisonGet(uuid) {
|
|
54
|
+
return __request(OpenAPI, {
|
|
55
|
+
method: 'GET',
|
|
56
|
+
url: '/trip-comparison/{uuid}',
|
|
57
|
+
path: {
|
|
58
|
+
'uuid': uuid,
|
|
59
|
+
},
|
|
60
|
+
errors: {
|
|
61
|
+
401: `When the API key is missing or invalid`,
|
|
62
|
+
404: `If the trip comparison item does not exist`,
|
|
63
|
+
500: `When an unexpected error occurs`,
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
}
|
|
46
67
|
/**
|
|
47
68
|
* Update a Trip Comparison
|
|
48
69
|
* Updates an existing trip comparison item by UUID. Finds the document by enquiryId, locates the item by UUID, and replaces the entire item's data. Updates metadata timestamps.
|
|
@@ -118,24 +139,4 @@ export class TripComparisonService {
|
|
|
118
139
|
},
|
|
119
140
|
});
|
|
120
141
|
}
|
|
121
|
-
/**
|
|
122
|
-
* Get Trip Comparison (Public)
|
|
123
|
-
* Fetches a single trip comparison item by UUID. This is a public endpoint that doesn't require authentication.
|
|
124
|
-
* @param uuid UUID of a trip comparison item
|
|
125
|
-
* @returns DTOTripComparisonRead The trip comparison item
|
|
126
|
-
* @throws ApiError
|
|
127
|
-
*/
|
|
128
|
-
static publicTripComparisonGet(uuid) {
|
|
129
|
-
return __request(OpenAPI, {
|
|
130
|
-
method: 'GET',
|
|
131
|
-
url: '/public/trip-comparison/{uuid}',
|
|
132
|
-
path: {
|
|
133
|
-
'uuid': uuid,
|
|
134
|
-
},
|
|
135
|
-
errors: {
|
|
136
|
-
404: `If the trip comparison item does not exist`,
|
|
137
|
-
500: `When an unexpected error occurs`,
|
|
138
|
-
},
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
142
|
}
|