swoop-common 2.1.71 → 2.1.72

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.
@@ -46,6 +46,7 @@ export type { DTOTemplateRead } from './index';
46
46
  export type { DTOTemplateUpdate } from './index';
47
47
  export type { EnquiryId } from './index';
48
48
  export type { EnquiryIdPathParam } from './index';
49
+ export type { EnquiryIdQueryParam } from './index';
49
50
  export type { Error } from './index';
50
51
  export type { Fee } from './index';
51
52
  export type { Field } from './index';
@@ -48,6 +48,7 @@ export type { DTOTemplateRead } from './models/DTOTemplateRead';
48
48
  export type { DTOTemplateUpdate } from './models/DTOTemplateUpdate';
49
49
  export type { EnquiryId } from './models/EnquiryId';
50
50
  export type { EnquiryIdPathParam } from './models/EnquiryIdPathParam';
51
+ export type { EnquiryIdQueryParam } from './models/EnquiryIdQueryParam';
51
52
  export type { Error } from './models/Error';
52
53
  export type { Fee } from './models/Fee';
53
54
  export type { Field } from './models/Field';
@@ -0,0 +1 @@
1
+ export type EnquiryIdQueryParam = string;
@@ -48,6 +48,7 @@ export type { DTOTemplateRead } from './models/DTOTemplateRead';
48
48
  export type { DTOTemplateUpdate } from './models/DTOTemplateUpdate';
49
49
  export type { EnquiryId } from './models/EnquiryId';
50
50
  export type { EnquiryIdPathParam } from './models/EnquiryIdPathParam';
51
+ export type { EnquiryIdQueryParam } from './models/EnquiryIdQueryParam';
51
52
  export type { Error } from './models/Error';
52
53
  export type { Fee } from './models/Fee';
53
54
  export type { Field } from './models/Field';
@@ -0,0 +1 @@
1
+ export type EnquiryIdQueryParam = string;
@@ -33,6 +33,7 @@ export declare class ItineraryService {
33
33
  /**
34
34
  * List Snapshots
35
35
  * List all available snapshots relating to the query params
36
+ * @param enquiryId
36
37
  * @param page Pagination, starting at page 1
37
38
  * @param limit Number of items per page
38
39
  * @param order Order the sort query parameter values either by ascending or descending order
@@ -42,7 +43,7 @@ export declare class ItineraryService {
42
43
  * @returns any The list of all snapshots given the parameters used
43
44
  * @throws ApiError
44
45
  */
45
- snapshotList(page?: number, limit?: number, order?: 'asc' | 'desc', sort?: any[], search?: Array<string>, on?: Array<string>): CancelablePromise<{
46
+ snapshotList(enquiryId?: string, page?: number, limit?: number, order?: 'asc' | 'desc', sort?: any[], search?: Array<string>, on?: Array<string>): CancelablePromise<{
46
47
  snapshots?: Array<DTOSnapshotRead>;
47
48
  }>;
48
49
  /**
@@ -50,6 +50,7 @@ export class ItineraryService {
50
50
  /**
51
51
  * List Snapshots
52
52
  * List all available snapshots relating to the query params
53
+ * @param enquiryId
53
54
  * @param page Pagination, starting at page 1
54
55
  * @param limit Number of items per page
55
56
  * @param order Order the sort query parameter values either by ascending or descending order
@@ -59,11 +60,12 @@ export class ItineraryService {
59
60
  * @returns any The list of all snapshots given the parameters used
60
61
  * @throws ApiError
61
62
  */
62
- snapshotList(page, limit, order, sort, search, on) {
63
+ snapshotList(enquiryId, page, limit, order, sort, search, on) {
63
64
  return __request(OpenAPI, {
64
65
  method: 'GET',
65
66
  url: '/snapshot',
66
67
  query: {
68
+ 'enquiryId': enquiryId,
67
69
  'page': page,
68
70
  'limit': limit,
69
71
  'order': order,
@@ -15,6 +15,7 @@ export declare class SnapshotService {
15
15
  /**
16
16
  * List Snapshots
17
17
  * List all available snapshots relating to the query params
18
+ * @param enquiryId
18
19
  * @param page Pagination, starting at page 1
19
20
  * @param limit Number of items per page
20
21
  * @param order Order the sort query parameter values either by ascending or descending order
@@ -24,7 +25,7 @@ export declare class SnapshotService {
24
25
  * @returns any The list of all snapshots given the parameters used
25
26
  * @throws ApiError
26
27
  */
27
- static snapshotList(page?: number, limit?: number, order?: 'asc' | 'desc', sort?: any[], search?: Array<string>, on?: Array<string>): CancelablePromise<{
28
+ static snapshotList(enquiryId?: string, page?: number, limit?: number, order?: 'asc' | 'desc', sort?: any[], search?: Array<string>, on?: Array<string>): CancelablePromise<{
28
29
  snapshots?: Array<DTOSnapshotRead>;
29
30
  }>;
30
31
  /**
@@ -26,6 +26,7 @@ export class SnapshotService {
26
26
  /**
27
27
  * List Snapshots
28
28
  * List all available snapshots relating to the query params
29
+ * @param enquiryId
29
30
  * @param page Pagination, starting at page 1
30
31
  * @param limit Number of items per page
31
32
  * @param order Order the sort query parameter values either by ascending or descending order
@@ -35,11 +36,12 @@ export class SnapshotService {
35
36
  * @returns any The list of all snapshots given the parameters used
36
37
  * @throws ApiError
37
38
  */
38
- static snapshotList(page, limit, order, sort, search, on) {
39
+ static snapshotList(enquiryId, page, limit, order, sort, search, on) {
39
40
  return __request(OpenAPI, {
40
41
  method: 'GET',
41
42
  url: '/snapshot',
42
43
  query: {
44
+ 'enquiryId': enquiryId,
43
45
  'page': page,
44
46
  'limit': limit,
45
47
  'order': order,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.1.71",
3
+ "version": "2.1.72",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {