swoop-common 2.1.86 → 2.1.88
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.js +4 -4
- package/dist/api/generated/core/services/SwooperService.js +4 -4
- package/dist/api/generated/itinerary/services/ItineraryService.d.ts +0 -10
- package/dist/api/generated/itinerary/services/ItineraryService.js +0 -25
- package/package.json +1 -1
|
@@ -324,7 +324,7 @@ export class CoreService {
|
|
|
324
324
|
swooperList(page, limit, order, sort, search, on) {
|
|
325
325
|
return __request(OpenAPI, {
|
|
326
326
|
method: 'GET',
|
|
327
|
-
url: '/
|
|
327
|
+
url: '/swoopers',
|
|
328
328
|
query: {
|
|
329
329
|
'page': page,
|
|
330
330
|
'limit': limit,
|
|
@@ -352,7 +352,7 @@ export class CoreService {
|
|
|
352
352
|
swooperCreate(requestBody) {
|
|
353
353
|
return __request(OpenAPI, {
|
|
354
354
|
method: 'POST',
|
|
355
|
-
url: '/
|
|
355
|
+
url: '/swoopers',
|
|
356
356
|
body: requestBody,
|
|
357
357
|
mediaType: 'application/json',
|
|
358
358
|
errors: {
|
|
@@ -374,7 +374,7 @@ export class CoreService {
|
|
|
374
374
|
swooperGet(swooperId) {
|
|
375
375
|
return __request(OpenAPI, {
|
|
376
376
|
method: 'GET',
|
|
377
|
-
url: '/
|
|
377
|
+
url: '/swoopers/{swooperId}',
|
|
378
378
|
path: {
|
|
379
379
|
'swooperId': swooperId,
|
|
380
380
|
},
|
|
@@ -397,7 +397,7 @@ export class CoreService {
|
|
|
397
397
|
swooperUpdate(swooperId, requestBody) {
|
|
398
398
|
return __request(OpenAPI, {
|
|
399
399
|
method: 'PATCH',
|
|
400
|
-
url: '/
|
|
400
|
+
url: '/swoopers/{swooperId}',
|
|
401
401
|
path: {
|
|
402
402
|
'swooperId': swooperId,
|
|
403
403
|
},
|
|
@@ -16,7 +16,7 @@ export class SwooperService {
|
|
|
16
16
|
static swooperList(page, limit, order, sort, search, on) {
|
|
17
17
|
return __request(OpenAPI, {
|
|
18
18
|
method: 'GET',
|
|
19
|
-
url: '/
|
|
19
|
+
url: '/swoopers',
|
|
20
20
|
query: {
|
|
21
21
|
'page': page,
|
|
22
22
|
'limit': limit,
|
|
@@ -44,7 +44,7 @@ export class SwooperService {
|
|
|
44
44
|
static swooperCreate(requestBody) {
|
|
45
45
|
return __request(OpenAPI, {
|
|
46
46
|
method: 'POST',
|
|
47
|
-
url: '/
|
|
47
|
+
url: '/swoopers',
|
|
48
48
|
body: requestBody,
|
|
49
49
|
mediaType: 'application/json',
|
|
50
50
|
errors: {
|
|
@@ -66,7 +66,7 @@ export class SwooperService {
|
|
|
66
66
|
static swooperGet(swooperId) {
|
|
67
67
|
return __request(OpenAPI, {
|
|
68
68
|
method: 'GET',
|
|
69
|
-
url: '/
|
|
69
|
+
url: '/swoopers/{swooperId}',
|
|
70
70
|
path: {
|
|
71
71
|
'swooperId': swooperId,
|
|
72
72
|
},
|
|
@@ -89,7 +89,7 @@ export class SwooperService {
|
|
|
89
89
|
static swooperUpdate(swooperId, requestBody) {
|
|
90
90
|
return __request(OpenAPI, {
|
|
91
91
|
method: 'PATCH',
|
|
92
|
-
url: '/
|
|
92
|
+
url: '/swoopers/{swooperId}',
|
|
93
93
|
path: {
|
|
94
94
|
'swooperId': swooperId,
|
|
95
95
|
},
|
|
@@ -147,16 +147,6 @@ export declare class ItineraryService {
|
|
|
147
147
|
* @throws ApiError
|
|
148
148
|
*/
|
|
149
149
|
promoteItinerary(enquiryId: EnquiryId, tag: string, version: string, error?: number): CancelablePromise<DTOItineraryRead>;
|
|
150
|
-
/**
|
|
151
|
-
* Fake Sync Itinerary
|
|
152
|
-
* Fakes an error when syncing itinerary
|
|
153
|
-
* @param enquiryId Enquiry Id
|
|
154
|
-
* @param tag the branch tag
|
|
155
|
-
* @param version the version of a branch
|
|
156
|
-
* @returns void
|
|
157
|
-
* @throws ApiError
|
|
158
|
-
*/
|
|
159
|
-
fakeSyncItinerary(enquiryId: EnquiryId, tag: string, version: string): CancelablePromise<void>;
|
|
160
150
|
/**
|
|
161
151
|
* List Regions
|
|
162
152
|
* List all regions
|
|
@@ -322,31 +322,6 @@ export class ItineraryService {
|
|
|
322
322
|
},
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
/**
|
|
326
|
-
* Fake Sync Itinerary
|
|
327
|
-
* Fakes an error when syncing itinerary
|
|
328
|
-
* @param enquiryId Enquiry Id
|
|
329
|
-
* @param tag the branch tag
|
|
330
|
-
* @param version the version of a branch
|
|
331
|
-
* @returns void
|
|
332
|
-
* @throws ApiError
|
|
333
|
-
*/
|
|
334
|
-
fakeSyncItinerary(enquiryId, tag, version) {
|
|
335
|
-
return __request(OpenAPI, {
|
|
336
|
-
method: 'POST',
|
|
337
|
-
url: '/itinerary/fake/sync/{enquiryId}/{tag}/{version}',
|
|
338
|
-
path: {
|
|
339
|
-
'enquiryId': enquiryId,
|
|
340
|
-
'tag': tag,
|
|
341
|
-
'version': version,
|
|
342
|
-
},
|
|
343
|
-
errors: {
|
|
344
|
-
400: `The faked error`,
|
|
345
|
-
401: `Unauthorized - Missing or invalid Authorization header`,
|
|
346
|
-
500: `When an internal server error occurs whilst syncing`,
|
|
347
|
-
},
|
|
348
|
-
});
|
|
349
|
-
}
|
|
350
325
|
/**
|
|
351
326
|
* List Regions
|
|
352
327
|
* List all regions
|