swoop-common 2.1.47 → 2.1.49

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.
@@ -1,4 +1,5 @@
1
1
  export type DTOSnapshotCreate = {
2
2
  name: string;
3
3
  itineraryId: string;
4
+ enquiryId: string;
4
5
  };
@@ -4,4 +4,5 @@ export type DTOSnapshotEntity = {
4
4
  metadata: Metadata;
5
5
  name: string;
6
6
  itineraryId: string;
7
+ enquiryId: string;
7
8
  };
@@ -4,4 +4,5 @@ export type DTOSnapshotRead = {
4
4
  metadata: Metadata;
5
5
  name: string;
6
6
  itineraryId: string;
7
+ enquiryId: string;
7
8
  };
@@ -1,4 +1,5 @@
1
1
  export type DTOSnapshotCreate = {
2
2
  name: string;
3
3
  itineraryId: string;
4
+ enquiryId: string;
4
5
  };
@@ -4,4 +4,5 @@ export type DTOSnapshotEntity = {
4
4
  metadata: Metadata;
5
5
  name: string;
6
6
  itineraryId: string;
7
+ enquiryId: string;
7
8
  };
@@ -4,4 +4,5 @@ export type DTOSnapshotRead = {
4
4
  metadata: Metadata;
5
5
  name: string;
6
6
  itineraryId: string;
7
+ enquiryId: string;
7
8
  };
@@ -19,13 +19,14 @@ export declare class ItineraryService {
19
19
  /**
20
20
  * List Snapshots
21
21
  * List all available snapshots
22
+ * @param enquiryId Enquiry Id
22
23
  * @param page Pagination, starting at page 1
23
24
  * @param limit Number of items per page
24
25
  * @param sort List of fields to sort by
25
26
  * @returns any OK
26
27
  * @throws ApiError
27
28
  */
28
- snapshotList(page?: number, limit?: number, sort?: any[]): CancelablePromise<{
29
+ snapshotList(enquiryId: string, page?: number, limit?: number, sort?: any[]): CancelablePromise<{
29
30
  data: Array<DTOSnapshotRead>;
30
31
  pagination?: Pagination;
31
32
  }>;
@@ -19,13 +19,14 @@ export class ItineraryService {
19
19
  /**
20
20
  * List Snapshots
21
21
  * List all available snapshots
22
+ * @param enquiryId Enquiry Id
22
23
  * @param page Pagination, starting at page 1
23
24
  * @param limit Number of items per page
24
25
  * @param sort List of fields to sort by
25
26
  * @returns any OK
26
27
  * @throws ApiError
27
28
  */
28
- snapshotList(page, limit, sort) {
29
+ snapshotList(enquiryId, page, limit, sort) {
29
30
  return __request(OpenAPI, {
30
31
  method: 'GET',
31
32
  url: '/snapshots',
@@ -33,6 +34,7 @@ export class ItineraryService {
33
34
  'page': page,
34
35
  'limit': limit,
35
36
  'sort': sort,
37
+ 'enquiryId': enquiryId,
36
38
  },
37
39
  });
38
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.1.47",
3
+ "version": "2.1.49",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {