swoop-common 2.1.48 → 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.
@@ -45,7 +45,6 @@ export type { IBEvent } from './index';
45
45
  export type { id } from './index';
46
46
  export type { itemsPerPage } from './index';
47
47
  export type { itineraryId } from './index';
48
- export type { itineraryIdQuery } from './index';
49
48
  export type { Limit } from './index';
50
49
  export { Meals } from './index';
51
50
  export type { Member } from './index';
@@ -47,7 +47,6 @@ export type { IBEvent } from './models/IBEvent';
47
47
  export type { id } from './models/id';
48
48
  export type { itemsPerPage } from './models/itemsPerPage';
49
49
  export type { itineraryId } from './models/itineraryId';
50
- export type { itineraryIdQuery } from './models/itineraryIdQuery';
51
50
  export type { Limit } from './models/Limit';
52
51
  export { Meals } from './models/Meals';
53
52
  export type { Member } from './models/Member';
@@ -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
  };
@@ -47,7 +47,6 @@ export type { IBEvent } from './models/IBEvent';
47
47
  export type { id } from './models/id';
48
48
  export type { itemsPerPage } from './models/itemsPerPage';
49
49
  export type { itineraryId } from './models/itineraryId';
50
- export type { itineraryIdQuery } from './models/itineraryIdQuery';
51
50
  export type { Limit } from './models/Limit';
52
51
  export { Meals } from './models/Meals';
53
52
  export type { Member } from './models/Member';
@@ -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,14 +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
- * @param itineraryId Itinerary Id
26
26
  * @returns any OK
27
27
  * @throws ApiError
28
28
  */
29
- snapshotList(page?: number, limit?: number, sort?: any[], itineraryId?: string): CancelablePromise<{
29
+ snapshotList(enquiryId: string, page?: number, limit?: number, sort?: any[]): CancelablePromise<{
30
30
  data: Array<DTOSnapshotRead>;
31
31
  pagination?: Pagination;
32
32
  }>;
@@ -19,14 +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
- * @param itineraryId Itinerary Id
26
26
  * @returns any OK
27
27
  * @throws ApiError
28
28
  */
29
- snapshotList(page, limit, sort, itineraryId) {
29
+ snapshotList(enquiryId, page, limit, sort) {
30
30
  return __request(OpenAPI, {
31
31
  method: 'GET',
32
32
  url: '/snapshots',
@@ -34,7 +34,7 @@ export class ItineraryService {
34
34
  'page': page,
35
35
  'limit': limit,
36
36
  'sort': sort,
37
- 'itineraryId': itineraryId,
37
+ 'enquiryId': enquiryId,
38
38
  },
39
39
  });
40
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.1.48",
3
+ "version": "2.1.49",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {
@@ -1,4 +0,0 @@
1
- /**
2
- * Itinerary Id
3
- */
4
- export type itineraryIdQuery = string;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- /**
2
- * Itinerary Id
3
- */
4
- export type itineraryIdQuery = string;