swoop-common 2.2.163 → 2.2.164
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/core/exports.d.ts +1 -0
- package/dist/api/generated/core/index.d.ts +1 -0
- package/dist/api/generated/core/models/ExcludeTemplateIdsQueryParam.d.ts +5 -0
- package/dist/api/generated/core/models/ExcludeTemplateIdsQueryParam.js +1 -0
- package/dist/api/generated/core/services/ComponentService.d.ts +2 -1
- package/dist/api/generated/core/services/ComponentService.js +3 -1
- package/dist/api/generated/core/services/CoreService.d.ts +2 -1
- package/dist/api/generated/core/services/CoreService.js +3 -1
- package/dist/api/generated/swoop/models/Enquiry.d.ts +2 -0
- package/dist/api/generated/swoop/models/Enquiry_jsonld.d.ts +2 -0
- package/package.json +1 -1
|
@@ -66,6 +66,7 @@ export type { DTOTripComparisonUpdate } from './index';
|
|
|
66
66
|
export type { EnquiryId } from './index';
|
|
67
67
|
export type { EnquiryIdPathParam } from './index';
|
|
68
68
|
export type { EnquiryIdQueryParam } from './index';
|
|
69
|
+
export type { ExcludeTemplateIdsQueryParam } from './index';
|
|
69
70
|
export type { ExpandedMap } from './index';
|
|
70
71
|
export type { Field } from './index';
|
|
71
72
|
export type { Flag } from './index';
|
|
@@ -66,6 +66,7 @@ export type { DTOTripComparisonUpdate } from './models/DTOTripComparisonUpdate';
|
|
|
66
66
|
export type { EnquiryId } from './models/EnquiryId';
|
|
67
67
|
export type { EnquiryIdPathParam } from './models/EnquiryIdPathParam';
|
|
68
68
|
export type { EnquiryIdQueryParam } from './models/EnquiryIdQueryParam';
|
|
69
|
+
export type { ExcludeTemplateIdsQueryParam } from './models/ExcludeTemplateIdsQueryParam';
|
|
69
70
|
export type { ExpandedMap } from './models/ExpandedMap';
|
|
70
71
|
export type { Field } from './models/Field';
|
|
71
72
|
export type { Flag } from './models/Flag';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -26,10 +26,11 @@ export declare class ComponentService {
|
|
|
26
26
|
* @param state Filter by one or more component states (comma-separated). Returns components matching any of the provided states.
|
|
27
27
|
* @param partners Filter by one or more partner IDs (comma-separated). Returns components associated with any of the provided partners.
|
|
28
28
|
* @param trips Filter by one or more trip IDs (comma-separated). Alias for the tripId field — returns components where tripId matches any of the provided values.
|
|
29
|
+
* @param excludeTemplateIds Exclude one or more template IDs from results (comma-separated). Components matching any of the provided template IDs will be omitted.
|
|
29
30
|
* @returns any Paginated response of components
|
|
30
31
|
* @throws ApiError
|
|
31
32
|
*/
|
|
32
|
-
static componentList(page?: number, limit?: number, order?: 'asc' | 'desc', sort?: Array<string>, search?: Array<string>, on?: Array<string>, templateId?: Array<TemplateId>, destination?: Array<Destination>, state?: Array<ComponentState>, partners?: Array<InternalSwoopId>, trips?: Array<TripId>): CancelablePromise<{
|
|
33
|
+
static componentList(page?: number, limit?: number, order?: 'asc' | 'desc', sort?: Array<string>, search?: Array<string>, on?: Array<string>, templateId?: Array<TemplateId>, destination?: Array<Destination>, state?: Array<ComponentState>, partners?: Array<InternalSwoopId>, trips?: Array<TripId>, excludeTemplateIds?: Array<TemplateId>): CancelablePromise<{
|
|
33
34
|
pagination?: Pagination;
|
|
34
35
|
data?: Array<DTOComponentRead>;
|
|
35
36
|
}>;
|
|
@@ -15,10 +15,11 @@ export class ComponentService {
|
|
|
15
15
|
* @param state Filter by one or more component states (comma-separated). Returns components matching any of the provided states.
|
|
16
16
|
* @param partners Filter by one or more partner IDs (comma-separated). Returns components associated with any of the provided partners.
|
|
17
17
|
* @param trips Filter by one or more trip IDs (comma-separated). Alias for the tripId field — returns components where tripId matches any of the provided values.
|
|
18
|
+
* @param excludeTemplateIds Exclude one or more template IDs from results (comma-separated). Components matching any of the provided template IDs will be omitted.
|
|
18
19
|
* @returns any Paginated response of components
|
|
19
20
|
* @throws ApiError
|
|
20
21
|
*/
|
|
21
|
-
static componentList(page, limit, order, sort, search, on, templateId, destination, state, partners, trips) {
|
|
22
|
+
static componentList(page, limit, order, sort, search, on, templateId, destination, state, partners, trips, excludeTemplateIds) {
|
|
22
23
|
return __request(OpenAPI, {
|
|
23
24
|
method: 'GET',
|
|
24
25
|
url: '/component',
|
|
@@ -34,6 +35,7 @@ export class ComponentService {
|
|
|
34
35
|
'state': state,
|
|
35
36
|
'partners': partners,
|
|
36
37
|
'trips': trips,
|
|
38
|
+
'excludeTemplateIds': excludeTemplateIds,
|
|
37
39
|
},
|
|
38
40
|
errors: {
|
|
39
41
|
400: `If the payload is malformed`,
|
|
@@ -281,10 +281,11 @@ export declare class CoreService {
|
|
|
281
281
|
* @param state Filter by one or more component states (comma-separated). Returns components matching any of the provided states.
|
|
282
282
|
* @param partners Filter by one or more partner IDs (comma-separated). Returns components associated with any of the provided partners.
|
|
283
283
|
* @param trips Filter by one or more trip IDs (comma-separated). Alias for the tripId field — returns components where tripId matches any of the provided values.
|
|
284
|
+
* @param excludeTemplateIds Exclude one or more template IDs from results (comma-separated). Components matching any of the provided template IDs will be omitted.
|
|
284
285
|
* @returns any Paginated response of components
|
|
285
286
|
* @throws ApiError
|
|
286
287
|
*/
|
|
287
|
-
componentList(page?: number, limit?: number, order?: 'asc' | 'desc', sort?: Array<string>, search?: Array<string>, on?: Array<string>, templateId?: Array<TemplateId>, destination?: Array<Destination>, state?: Array<ComponentState>, partners?: Array<InternalSwoopId>, trips?: Array<TripId>): CancelablePromise<{
|
|
288
|
+
componentList(page?: number, limit?: number, order?: 'asc' | 'desc', sort?: Array<string>, search?: Array<string>, on?: Array<string>, templateId?: Array<TemplateId>, destination?: Array<Destination>, state?: Array<ComponentState>, partners?: Array<InternalSwoopId>, trips?: Array<TripId>, excludeTemplateIds?: Array<TemplateId>): CancelablePromise<{
|
|
288
289
|
pagination?: Pagination;
|
|
289
290
|
data?: Array<DTOComponentRead>;
|
|
290
291
|
}>;
|
|
@@ -593,10 +593,11 @@ export class CoreService {
|
|
|
593
593
|
* @param state Filter by one or more component states (comma-separated). Returns components matching any of the provided states.
|
|
594
594
|
* @param partners Filter by one or more partner IDs (comma-separated). Returns components associated with any of the provided partners.
|
|
595
595
|
* @param trips Filter by one or more trip IDs (comma-separated). Alias for the tripId field — returns components where tripId matches any of the provided values.
|
|
596
|
+
* @param excludeTemplateIds Exclude one or more template IDs from results (comma-separated). Components matching any of the provided template IDs will be omitted.
|
|
596
597
|
* @returns any Paginated response of components
|
|
597
598
|
* @throws ApiError
|
|
598
599
|
*/
|
|
599
|
-
componentList(page, limit, order, sort, search, on, templateId, destination, state, partners, trips) {
|
|
600
|
+
componentList(page, limit, order, sort, search, on, templateId, destination, state, partners, trips, excludeTemplateIds) {
|
|
600
601
|
return __request(OpenAPI, {
|
|
601
602
|
method: 'GET',
|
|
602
603
|
url: '/component',
|
|
@@ -612,6 +613,7 @@ export class CoreService {
|
|
|
612
613
|
'state': state,
|
|
613
614
|
'partners': partners,
|
|
614
615
|
'trips': trips,
|
|
616
|
+
'excludeTemplateIds': excludeTemplateIds,
|
|
615
617
|
},
|
|
616
618
|
errors: {
|
|
617
619
|
400: `If the payload is malformed`,
|
|
@@ -7,6 +7,8 @@ export type Enquiry = {
|
|
|
7
7
|
enquiryId?: number;
|
|
8
8
|
isTwinCentre?: boolean;
|
|
9
9
|
opposingTwinCentreEnquiryId?: string | null;
|
|
10
|
+
itineraryView?: string;
|
|
11
|
+
supportLevel?: string;
|
|
10
12
|
salesPerson?: (EnquiryPerson | null);
|
|
11
13
|
cxPerson?: (EnquiryPerson | null);
|
|
12
14
|
enquiryStatus?: (EnquiryStatus | null);
|
|
@@ -8,6 +8,8 @@ export type Enquiry_jsonld = (HydraItemBaseSchema & {
|
|
|
8
8
|
enquiryId?: number;
|
|
9
9
|
isTwinCentre?: boolean;
|
|
10
10
|
opposingTwinCentreEnquiryId?: string | null;
|
|
11
|
+
itineraryView?: string;
|
|
12
|
+
supportLevel?: string;
|
|
11
13
|
salesPerson?: (EnquiryPerson_jsonld | null);
|
|
12
14
|
cxPerson?: (EnquiryPerson_jsonld | null);
|
|
13
15
|
enquiryStatus?: (EnquiryStatus_jsonld | null);
|