swoop-common 2.1.69 → 2.1.71
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/itinerary/services/ItineraryService.d.ts +3 -4
- package/dist/api/generated/itinerary/services/ItineraryService.js +4 -8
- package/dist/api/generated/itinerary/services/SnapshotService.d.ts +3 -5
- package/dist/api/generated/itinerary/services/SnapshotService.js +4 -8
- package/package.json +1 -1
|
@@ -31,9 +31,8 @@ export declare class ItineraryService {
|
|
|
31
31
|
*/
|
|
32
32
|
snapshotCreate(requestBody: DTOSnapshotCreate): CancelablePromise<DTOSnapshotRead>;
|
|
33
33
|
/**
|
|
34
|
-
* List Snapshots
|
|
35
|
-
* List all available snapshots relating to
|
|
36
|
-
* @param enquiryId Enquiry Id
|
|
34
|
+
* List Snapshots
|
|
35
|
+
* List all available snapshots relating to the query params
|
|
37
36
|
* @param page Pagination, starting at page 1
|
|
38
37
|
* @param limit Number of items per page
|
|
39
38
|
* @param order Order the sort query parameter values either by ascending or descending order
|
|
@@ -43,7 +42,7 @@ export declare class ItineraryService {
|
|
|
43
42
|
* @returns any The list of all snapshots given the parameters used
|
|
44
43
|
* @throws ApiError
|
|
45
44
|
*/
|
|
46
|
-
snapshotList(
|
|
45
|
+
snapshotList(page?: number, limit?: number, order?: 'asc' | 'desc', sort?: any[], search?: Array<string>, on?: Array<string>): CancelablePromise<{
|
|
47
46
|
snapshots?: Array<DTOSnapshotRead>;
|
|
48
47
|
}>;
|
|
49
48
|
/**
|
|
@@ -48,9 +48,8 @@ export class ItineraryService {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
* List Snapshots
|
|
52
|
-
* List all available snapshots relating to
|
|
53
|
-
* @param enquiryId Enquiry Id
|
|
51
|
+
* List Snapshots
|
|
52
|
+
* List all available snapshots relating to the query params
|
|
54
53
|
* @param page Pagination, starting at page 1
|
|
55
54
|
* @param limit Number of items per page
|
|
56
55
|
* @param order Order the sort query parameter values either by ascending or descending order
|
|
@@ -60,13 +59,10 @@ export class ItineraryService {
|
|
|
60
59
|
* @returns any The list of all snapshots given the parameters used
|
|
61
60
|
* @throws ApiError
|
|
62
61
|
*/
|
|
63
|
-
snapshotList(
|
|
62
|
+
snapshotList(page, limit, order, sort, search, on) {
|
|
64
63
|
return __request(OpenAPI, {
|
|
65
64
|
method: 'GET',
|
|
66
|
-
url: '/snapshot
|
|
67
|
-
path: {
|
|
68
|
-
'enquiryId': enquiryId,
|
|
69
|
-
},
|
|
65
|
+
url: '/snapshot',
|
|
70
66
|
query: {
|
|
71
67
|
'page': page,
|
|
72
68
|
'limit': limit,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { DTOItineraryRead } from '../models/DTOItineraryRead';
|
|
2
2
|
import type { DTOSnapshotCreate } from '../models/DTOSnapshotCreate';
|
|
3
3
|
import type { DTOSnapshotRead } from '../models/DTOSnapshotRead';
|
|
4
|
-
import type { EnquiryId } from '../models/EnquiryId';
|
|
5
4
|
import type { SnapshotId } from '../models/SnapshotId';
|
|
6
5
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
6
|
export declare class SnapshotService {
|
|
@@ -14,9 +13,8 @@ export declare class SnapshotService {
|
|
|
14
13
|
*/
|
|
15
14
|
static snapshotCreate(requestBody: DTOSnapshotCreate): CancelablePromise<DTOSnapshotRead>;
|
|
16
15
|
/**
|
|
17
|
-
* List Snapshots
|
|
18
|
-
* List all available snapshots relating to
|
|
19
|
-
* @param enquiryId Enquiry Id
|
|
16
|
+
* List Snapshots
|
|
17
|
+
* List all available snapshots relating to the query params
|
|
20
18
|
* @param page Pagination, starting at page 1
|
|
21
19
|
* @param limit Number of items per page
|
|
22
20
|
* @param order Order the sort query parameter values either by ascending or descending order
|
|
@@ -26,7 +24,7 @@ export declare class SnapshotService {
|
|
|
26
24
|
* @returns any The list of all snapshots given the parameters used
|
|
27
25
|
* @throws ApiError
|
|
28
26
|
*/
|
|
29
|
-
static snapshotList(
|
|
27
|
+
static snapshotList(page?: number, limit?: number, order?: 'asc' | 'desc', sort?: any[], search?: Array<string>, on?: Array<string>): CancelablePromise<{
|
|
30
28
|
snapshots?: Array<DTOSnapshotRead>;
|
|
31
29
|
}>;
|
|
32
30
|
/**
|
|
@@ -24,9 +24,8 @@ export class SnapshotService {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* List Snapshots
|
|
28
|
-
* List all available snapshots relating to
|
|
29
|
-
* @param enquiryId Enquiry Id
|
|
27
|
+
* List Snapshots
|
|
28
|
+
* List all available snapshots relating to the query params
|
|
30
29
|
* @param page Pagination, starting at page 1
|
|
31
30
|
* @param limit Number of items per page
|
|
32
31
|
* @param order Order the sort query parameter values either by ascending or descending order
|
|
@@ -36,13 +35,10 @@ export class SnapshotService {
|
|
|
36
35
|
* @returns any The list of all snapshots given the parameters used
|
|
37
36
|
* @throws ApiError
|
|
38
37
|
*/
|
|
39
|
-
static snapshotList(
|
|
38
|
+
static snapshotList(page, limit, order, sort, search, on) {
|
|
40
39
|
return __request(OpenAPI, {
|
|
41
40
|
method: 'GET',
|
|
42
|
-
url: '/snapshot
|
|
43
|
-
path: {
|
|
44
|
-
'enquiryId': enquiryId,
|
|
45
|
-
},
|
|
41
|
+
url: '/snapshot',
|
|
46
42
|
query: {
|
|
47
43
|
'page': page,
|
|
48
44
|
'limit': limit,
|