swoop-common 2.1.51 → 2.1.52

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
  };
@@ -28,13 +28,14 @@ export declare class ItineraryService {
28
28
  /**
29
29
  * List Snapshots
30
30
  * List all available snapshots
31
+ * @param enquiryId Enquiry Id
31
32
  * @param page Pagination, starting at page 1
32
33
  * @param limit Number of items per page
33
34
  * @param sort List of fields to sort by
34
35
  * @returns any The list of all snapshots given the parameters used
35
36
  * @throws ApiError
36
37
  */
37
- snapshotList(page?: number, limit?: number, sort?: any[]): CancelablePromise<{
38
+ snapshotList(enquiryId: string, page?: number, limit?: number, sort?: any[]): CancelablePromise<{
38
39
  data?: Array<DTOSnapshotRead>;
39
40
  pagination?: Pagination;
40
41
  }>;
@@ -49,13 +49,14 @@ export class ItineraryService {
49
49
  /**
50
50
  * List Snapshots
51
51
  * List all available snapshots
52
+ * @param enquiryId Enquiry Id
52
53
  * @param page Pagination, starting at page 1
53
54
  * @param limit Number of items per page
54
55
  * @param sort List of fields to sort by
55
56
  * @returns any The list of all snapshots given the parameters used
56
57
  * @throws ApiError
57
58
  */
58
- snapshotList(page, limit, sort) {
59
+ snapshotList(enquiryId, page, limit, sort) {
59
60
  return __request(OpenAPI, {
60
61
  method: 'GET',
61
62
  url: '/snapshots',
@@ -63,6 +64,7 @@ export class ItineraryService {
63
64
  'page': page,
64
65
  'limit': limit,
65
66
  'sort': sort,
67
+ 'enquiryId': enquiryId,
66
68
  },
67
69
  errors: {
68
70
  400: `If the filter options or query parameters contain invalid values`,
@@ -14,13 +14,14 @@ export declare class SnapshotService {
14
14
  /**
15
15
  * List Snapshots
16
16
  * List all available snapshots
17
+ * @param enquiryId Enquiry Id
17
18
  * @param page Pagination, starting at page 1
18
19
  * @param limit Number of items per page
19
20
  * @param sort List of fields to sort by
20
21
  * @returns any The list of all snapshots given the parameters used
21
22
  * @throws ApiError
22
23
  */
23
- static snapshotList(page?: number, limit?: number, sort?: any[]): CancelablePromise<{
24
+ static snapshotList(enquiryId: string, page?: number, limit?: number, sort?: any[]): CancelablePromise<{
24
25
  data?: Array<DTOSnapshotRead>;
25
26
  pagination?: Pagination;
26
27
  }>;
@@ -25,13 +25,14 @@ export class SnapshotService {
25
25
  /**
26
26
  * List Snapshots
27
27
  * List all available snapshots
28
+ * @param enquiryId Enquiry Id
28
29
  * @param page Pagination, starting at page 1
29
30
  * @param limit Number of items per page
30
31
  * @param sort List of fields to sort by
31
32
  * @returns any The list of all snapshots given the parameters used
32
33
  * @throws ApiError
33
34
  */
34
- static snapshotList(page, limit, sort) {
35
+ static snapshotList(enquiryId, page, limit, sort) {
35
36
  return __request(OpenAPI, {
36
37
  method: 'GET',
37
38
  url: '/snapshots',
@@ -39,6 +40,7 @@ export class SnapshotService {
39
40
  'page': page,
40
41
  'limit': limit,
41
42
  'sort': sort,
43
+ 'enquiryId': enquiryId,
42
44
  },
43
45
  errors: {
44
46
  400: `If the filter options or query parameters contain invalid values`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.1.51",
3
+ "version": "2.1.52",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {