swoop-common 2.1.67 → 2.1.68
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 +15 -16
- package/dist/api/generated/core/exports.js +1 -2
- package/dist/api/generated/core/index.d.ts +15 -16
- package/dist/api/generated/core/index.js +1 -2
- package/dist/api/generated/core/models/B64StringQueryParam.d.ts +4 -0
- package/dist/api/generated/{itinerary/models/componentIdParam.d.ts → core/models/ComponentIdPathParam.d.ts} +1 -1
- package/dist/api/generated/{itinerary/models/enquiryIdParam.d.ts → core/models/EnquiryIdPathParam.d.ts} +1 -1
- package/dist/api/generated/core/models/{itineraryIdParam.d.ts → ItineraryIdPathParam.d.ts} +1 -1
- package/dist/api/generated/core/models/{itineraryIdQuery.d.ts → ItineraryIdQueryParam.d.ts} +1 -1
- package/dist/api/generated/core/models/LimitQueryParam.d.ts +4 -0
- package/dist/api/generated/core/models/OnQueryParam.d.ts +4 -0
- package/dist/api/generated/core/models/OrderQueryParam.d.ts +7 -0
- package/dist/api/generated/core/models/OrderQueryParam.js +12 -0
- package/dist/api/generated/{itinerary/models/Page.d.ts → core/models/PageQueryParam.d.ts} +1 -1
- package/dist/api/generated/core/models/SearchQueryParam.d.ts +4 -0
- package/dist/api/generated/core/models/{snapshotIdParam.d.ts → SnapshotIdPathParam.d.ts} +1 -1
- package/dist/api/generated/core/models/SortQueryParam.d.ts +4 -0
- package/dist/api/generated/core/models/TagPathParam.d.ts +4 -0
- package/dist/api/generated/core/models/{templateIdParam.d.ts → TemplateIdPathParam.d.ts} +1 -1
- package/dist/api/generated/core/models/VersionPathParam.d.ts +4 -0
- package/dist/api/generated/core/services/ComponentService.d.ts +1 -1
- package/dist/api/generated/core/services/ComponentService.js +1 -1
- package/dist/api/generated/core/services/CoreService.d.ts +2 -2
- package/dist/api/generated/core/services/CoreService.js +2 -2
- package/dist/api/generated/core/services/TemplateService.d.ts +1 -1
- package/dist/api/generated/core/services/TemplateService.js +1 -1
- package/dist/api/generated/itinerary/index.d.ts +15 -16
- package/dist/api/generated/itinerary/index.js +1 -2
- package/dist/api/generated/itinerary/models/B64StringQueryParam.d.ts +4 -0
- package/dist/api/generated/{core/models/componentIdParam.d.ts → itinerary/models/ComponentIdPathParam.d.ts} +1 -1
- package/dist/api/generated/{core/models/enquiryIdParam.d.ts → itinerary/models/EnquiryIdPathParam.d.ts} +1 -1
- package/dist/api/generated/itinerary/models/{itineraryIdParam.d.ts → ItineraryIdPathParam.d.ts} +1 -1
- package/dist/api/generated/itinerary/models/{itineraryIdQuery.d.ts → ItineraryIdQueryParam.d.ts} +1 -1
- package/dist/api/generated/itinerary/models/LimitQueryParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/OnQueryParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/OrderQueryParam.d.ts +7 -0
- package/dist/api/generated/itinerary/models/OrderQueryParam.js +12 -0
- package/dist/api/generated/{core/models/Page.d.ts → itinerary/models/PageQueryParam.d.ts} +1 -1
- package/dist/api/generated/itinerary/models/SearchQueryParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/{snapshotIdParam.d.ts → SnapshotIdPathParam.d.ts} +1 -1
- package/dist/api/generated/itinerary/models/SortQueryParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/TagPathParam.d.ts +4 -0
- package/dist/api/generated/itinerary/models/{templateIdParam.d.ts → TemplateIdPathParam.d.ts} +1 -1
- package/dist/api/generated/itinerary/models/VersionPathParam.d.ts +4 -0
- package/dist/api/generated/itinerary/services/ItineraryService.d.ts +12 -3
- package/dist/api/generated/itinerary/services/ItineraryService.js +23 -3
- package/dist/api/generated/itinerary/services/RegionService.d.ts +5 -2
- package/dist/api/generated/itinerary/services/RegionService.js +8 -2
- package/dist/api/generated/itinerary/services/SnapshotService.d.ts +7 -1
- package/dist/api/generated/itinerary/services/SnapshotService.js +15 -1
- package/package.json +1 -1
- package/dist/api/generated/core/models/Limit.d.ts +0 -4
- package/dist/api/generated/core/models/id.d.ts +0 -4
- package/dist/api/generated/core/models/itemsPerPage.d.ts +0 -4
- package/dist/api/generated/core/models/regionParam.d.ts +0 -8
- package/dist/api/generated/core/models/regionParam.js +0 -13
- package/dist/api/generated/core/models/regionRequired.d.ts +0 -8
- package/dist/api/generated/core/models/regionRequired.js +0 -13
- package/dist/api/generated/core/models/search.d.ts +0 -4
- package/dist/api/generated/core/models/sortParam.d.ts +0 -4
- package/dist/api/generated/core/models/tag.d.ts +0 -4
- package/dist/api/generated/core/models/version.d.ts +0 -4
- package/dist/api/generated/itinerary/models/Limit.d.ts +0 -4
- package/dist/api/generated/itinerary/models/id.d.ts +0 -4
- package/dist/api/generated/itinerary/models/itemsPerPage.d.ts +0 -4
- package/dist/api/generated/itinerary/models/regionParam.d.ts +0 -8
- package/dist/api/generated/itinerary/models/regionParam.js +0 -13
- package/dist/api/generated/itinerary/models/regionRequired.d.ts +0 -8
- package/dist/api/generated/itinerary/models/regionRequired.js +0 -13
- package/dist/api/generated/itinerary/models/search.d.ts +0 -4
- package/dist/api/generated/itinerary/models/sortParam.d.ts +0 -4
- package/dist/api/generated/itinerary/models/tag.d.ts +0 -4
- package/dist/api/generated/itinerary/models/version.d.ts +0 -4
- /package/dist/api/generated/core/models/{Limit.js → B64StringQueryParam.js} +0 -0
- /package/dist/api/generated/core/models/{Page.js → ComponentIdPathParam.js} +0 -0
- /package/dist/api/generated/core/models/{componentIdParam.js → EnquiryIdPathParam.js} +0 -0
- /package/dist/api/generated/core/models/{enquiryIdParam.js → ItineraryIdPathParam.js} +0 -0
- /package/dist/api/generated/core/models/{id.js → ItineraryIdQueryParam.js} +0 -0
- /package/dist/api/generated/core/models/{itemsPerPage.js → LimitQueryParam.js} +0 -0
- /package/dist/api/generated/core/models/{itineraryIdParam.js → OnQueryParam.js} +0 -0
- /package/dist/api/generated/core/models/{itineraryIdQuery.js → PageQueryParam.js} +0 -0
- /package/dist/api/generated/core/models/{search.js → SearchQueryParam.js} +0 -0
- /package/dist/api/generated/core/models/{snapshotIdParam.js → SnapshotIdPathParam.js} +0 -0
- /package/dist/api/generated/core/models/{sortParam.js → SortQueryParam.js} +0 -0
- /package/dist/api/generated/core/models/{tag.js → TagPathParam.js} +0 -0
- /package/dist/api/generated/core/models/{templateIdParam.js → TemplateIdPathParam.js} +0 -0
- /package/dist/api/generated/core/models/{version.js → VersionPathParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{Limit.js → B64StringQueryParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{Page.js → ComponentIdPathParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{componentIdParam.js → EnquiryIdPathParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{enquiryIdParam.js → ItineraryIdPathParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{id.js → ItineraryIdQueryParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{itemsPerPage.js → LimitQueryParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{itineraryIdParam.js → OnQueryParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{itineraryIdQuery.js → PageQueryParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{search.js → SearchQueryParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{snapshotIdParam.js → SnapshotIdPathParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{sortParam.js → SortQueryParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{tag.js → TagPathParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{templateIdParam.js → TemplateIdPathParam.js} +0 -0
- /package/dist/api/generated/itinerary/models/{version.js → VersionPathParam.js} +0 -0
|
@@ -3,6 +3,7 @@ export { CancelablePromise, CancelError } from './index';
|
|
|
3
3
|
export type { Amendment } from './index';
|
|
4
4
|
export type { AssignedPassenger } from './index';
|
|
5
5
|
export type { AssignedTravellerGroup } from './index';
|
|
6
|
+
export type { B64StringQueryParam } from './index';
|
|
6
7
|
export { BookingStatus } from './index';
|
|
7
8
|
export type { Branches } from './index';
|
|
8
9
|
export type { BranchId } from './index';
|
|
@@ -10,7 +11,7 @@ export type { BranchTag } from './index';
|
|
|
10
11
|
export type { ComponentDescription } from './index';
|
|
11
12
|
export type { ComponentFAQ } from './index';
|
|
12
13
|
export type { ComponentId } from './index';
|
|
13
|
-
export type {
|
|
14
|
+
export type { ComponentIdPathParam } from './index';
|
|
14
15
|
export type { ComponentInstance } from './index';
|
|
15
16
|
export type { ComponentMedia } from './index';
|
|
16
17
|
export type { ComponentNotes } from './index';
|
|
@@ -44,40 +45,38 @@ export type { DTOTemplateEntity } from './index';
|
|
|
44
45
|
export type { DTOTemplateRead } from './index';
|
|
45
46
|
export type { DTOTemplateUpdate } from './index';
|
|
46
47
|
export type { EnquiryId } from './index';
|
|
47
|
-
export type {
|
|
48
|
+
export type { EnquiryIdPathParam } from './index';
|
|
48
49
|
export type { Error } from './index';
|
|
49
50
|
export type { Fee } from './index';
|
|
50
51
|
export type { Field } from './index';
|
|
51
|
-
export type { id } from './index';
|
|
52
|
-
export type { itemsPerPage } from './index';
|
|
53
52
|
export type { ItineraryId } from './index';
|
|
54
|
-
export type {
|
|
55
|
-
export type {
|
|
53
|
+
export type { ItineraryIdPathParam } from './index';
|
|
54
|
+
export type { ItineraryIdQueryParam } from './index';
|
|
56
55
|
export type { ItineraryRevisionGroupId } from './index';
|
|
57
|
-
export type {
|
|
56
|
+
export type { LimitQueryParam } from './index';
|
|
58
57
|
export { Meals } from './index';
|
|
59
58
|
export type { Metadata } from './index';
|
|
59
|
+
export type { OnQueryParam } from './index';
|
|
60
|
+
export { OrderQueryParam } from './index';
|
|
60
61
|
export { OrgId } from './index';
|
|
61
62
|
export type { Package } from './index';
|
|
62
63
|
export type { PackageItem } from './index';
|
|
63
64
|
export type { PackageSpan } from './index';
|
|
64
|
-
export type {
|
|
65
|
+
export type { PageQueryParam } from './index';
|
|
65
66
|
export type { Pagination } from './index';
|
|
66
67
|
export type { Price } from './index';
|
|
67
68
|
export type { QuoteOptions } from './index';
|
|
68
69
|
export type { RegionId } from './index';
|
|
69
|
-
export {
|
|
70
|
-
export { regionRequired } from './index';
|
|
71
|
-
export type { search } from './index';
|
|
70
|
+
export type { SearchQueryParam } from './index';
|
|
72
71
|
export type { SnapshotId } from './index';
|
|
73
|
-
export type {
|
|
74
|
-
export type {
|
|
75
|
-
export type {
|
|
72
|
+
export type { SnapshotIdPathParam } from './index';
|
|
73
|
+
export type { SortQueryParam } from './index';
|
|
74
|
+
export type { TagPathParam } from './index';
|
|
76
75
|
export type { TemplateId } from './index';
|
|
77
|
-
export type {
|
|
76
|
+
export type { TemplateIdPathParam } from './index';
|
|
78
77
|
export type { TemplateRevisionGroupId } from './index';
|
|
79
78
|
export type { Title } from './index';
|
|
80
79
|
export { UrgencyCTA } from './index';
|
|
81
80
|
export type { UserComponentInstanceField } from './index';
|
|
82
81
|
export type { ValidationSchemas } from './index';
|
|
83
|
-
export type {
|
|
82
|
+
export type { VersionPathParam } from './index';
|
|
@@ -6,7 +6,6 @@ export { ComponentState } from './index';
|
|
|
6
6
|
export { Currency } from './index';
|
|
7
7
|
export { Destination } from './index';
|
|
8
8
|
export { Meals } from './index';
|
|
9
|
+
export { OrderQueryParam } from './index';
|
|
9
10
|
export { OrgId } from './index';
|
|
10
|
-
export { regionParam } from './index';
|
|
11
|
-
export { regionRequired } from './index';
|
|
12
11
|
export { UrgencyCTA } from './index';
|
|
@@ -5,6 +5,7 @@ export type { OpenAPIConfig } from './core/OpenAPI';
|
|
|
5
5
|
export type { Amendment } from './models/Amendment';
|
|
6
6
|
export type { AssignedPassenger } from './models/AssignedPassenger';
|
|
7
7
|
export type { AssignedTravellerGroup } from './models/AssignedTravellerGroup';
|
|
8
|
+
export type { B64StringQueryParam } from './models/B64StringQueryParam';
|
|
8
9
|
export { BookingStatus } from './models/BookingStatus';
|
|
9
10
|
export type { Branches } from './models/Branches';
|
|
10
11
|
export type { BranchId } from './models/BranchId';
|
|
@@ -12,7 +13,7 @@ export type { BranchTag } from './models/BranchTag';
|
|
|
12
13
|
export type { ComponentDescription } from './models/ComponentDescription';
|
|
13
14
|
export type { ComponentFAQ } from './models/ComponentFAQ';
|
|
14
15
|
export type { ComponentId } from './models/ComponentId';
|
|
15
|
-
export type {
|
|
16
|
+
export type { ComponentIdPathParam } from './models/ComponentIdPathParam';
|
|
16
17
|
export type { ComponentInstance } from './models/ComponentInstance';
|
|
17
18
|
export type { ComponentMedia } from './models/ComponentMedia';
|
|
18
19
|
export type { ComponentNotes } from './models/ComponentNotes';
|
|
@@ -46,43 +47,41 @@ export type { DTOTemplateEntity } from './models/DTOTemplateEntity';
|
|
|
46
47
|
export type { DTOTemplateRead } from './models/DTOTemplateRead';
|
|
47
48
|
export type { DTOTemplateUpdate } from './models/DTOTemplateUpdate';
|
|
48
49
|
export type { EnquiryId } from './models/EnquiryId';
|
|
49
|
-
export type {
|
|
50
|
+
export type { EnquiryIdPathParam } from './models/EnquiryIdPathParam';
|
|
50
51
|
export type { Error } from './models/Error';
|
|
51
52
|
export type { Fee } from './models/Fee';
|
|
52
53
|
export type { Field } from './models/Field';
|
|
53
|
-
export type { id } from './models/id';
|
|
54
|
-
export type { itemsPerPage } from './models/itemsPerPage';
|
|
55
54
|
export type { ItineraryId } from './models/ItineraryId';
|
|
56
|
-
export type {
|
|
57
|
-
export type {
|
|
55
|
+
export type { ItineraryIdPathParam } from './models/ItineraryIdPathParam';
|
|
56
|
+
export type { ItineraryIdQueryParam } from './models/ItineraryIdQueryParam';
|
|
58
57
|
export type { ItineraryRevisionGroupId } from './models/ItineraryRevisionGroupId';
|
|
59
|
-
export type {
|
|
58
|
+
export type { LimitQueryParam } from './models/LimitQueryParam';
|
|
60
59
|
export { Meals } from './models/Meals';
|
|
61
60
|
export type { Metadata } from './models/Metadata';
|
|
61
|
+
export type { OnQueryParam } from './models/OnQueryParam';
|
|
62
|
+
export { OrderQueryParam } from './models/OrderQueryParam';
|
|
62
63
|
export { OrgId } from './models/OrgId';
|
|
63
64
|
export type { Package } from './models/Package';
|
|
64
65
|
export type { PackageItem } from './models/PackageItem';
|
|
65
66
|
export type { PackageSpan } from './models/PackageSpan';
|
|
66
|
-
export type {
|
|
67
|
+
export type { PageQueryParam } from './models/PageQueryParam';
|
|
67
68
|
export type { Pagination } from './models/Pagination';
|
|
68
69
|
export type { Price } from './models/Price';
|
|
69
70
|
export type { QuoteOptions } from './models/QuoteOptions';
|
|
70
71
|
export type { RegionId } from './models/RegionId';
|
|
71
|
-
export {
|
|
72
|
-
export { regionRequired } from './models/regionRequired';
|
|
73
|
-
export type { search } from './models/search';
|
|
72
|
+
export type { SearchQueryParam } from './models/SearchQueryParam';
|
|
74
73
|
export type { SnapshotId } from './models/SnapshotId';
|
|
75
|
-
export type {
|
|
76
|
-
export type {
|
|
77
|
-
export type {
|
|
74
|
+
export type { SnapshotIdPathParam } from './models/SnapshotIdPathParam';
|
|
75
|
+
export type { SortQueryParam } from './models/SortQueryParam';
|
|
76
|
+
export type { TagPathParam } from './models/TagPathParam';
|
|
78
77
|
export type { TemplateId } from './models/TemplateId';
|
|
79
|
-
export type {
|
|
78
|
+
export type { TemplateIdPathParam } from './models/TemplateIdPathParam';
|
|
80
79
|
export type { TemplateRevisionGroupId } from './models/TemplateRevisionGroupId';
|
|
81
80
|
export type { Title } from './models/Title';
|
|
82
81
|
export { UrgencyCTA } from './models/UrgencyCTA';
|
|
83
82
|
export type { UserComponentInstanceField } from './models/UserComponentInstanceField';
|
|
84
83
|
export type { ValidationSchemas } from './models/ValidationSchemas';
|
|
85
|
-
export type {
|
|
84
|
+
export type { VersionPathParam } from './models/VersionPathParam';
|
|
86
85
|
export { ComponentService } from './services/ComponentService';
|
|
87
86
|
export { CoreService } from './services/CoreService';
|
|
88
87
|
export { TemplateService } from './services/TemplateService';
|
|
@@ -10,9 +10,8 @@ export { ComponentState } from './models/ComponentState';
|
|
|
10
10
|
export { Currency } from './models/Currency';
|
|
11
11
|
export { Destination } from './models/Destination';
|
|
12
12
|
export { Meals } from './models/Meals';
|
|
13
|
+
export { OrderQueryParam } from './models/OrderQueryParam';
|
|
13
14
|
export { OrgId } from './models/OrgId';
|
|
14
|
-
export { regionParam } from './models/regionParam';
|
|
15
|
-
export { regionRequired } from './models/regionRequired';
|
|
16
15
|
export { UrgencyCTA } from './models/UrgencyCTA';
|
|
17
16
|
export { ComponentService } from './services/ComponentService';
|
|
18
17
|
export { CoreService } from './services/CoreService';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Order the sort query parameter values either by ascending or descending order
|
|
7
|
+
*/
|
|
8
|
+
export var OrderQueryParam;
|
|
9
|
+
(function (OrderQueryParam) {
|
|
10
|
+
OrderQueryParam["ASC"] = "asc";
|
|
11
|
+
OrderQueryParam["DESC"] = "desc";
|
|
12
|
+
})(OrderQueryParam || (OrderQueryParam = {}));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { SnapshotId } from './SnapshotId';
|
|
2
|
-
export type
|
|
2
|
+
export type SnapshotIdPathParam = SnapshotId;
|
|
@@ -11,7 +11,7 @@ export declare class ComponentService {
|
|
|
11
11
|
* List all available component
|
|
12
12
|
* @param page Pagination, starting at page 1
|
|
13
13
|
* @param limit Number of items per page
|
|
14
|
-
* @param sort List of fields to sort by
|
|
14
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
15
15
|
* @returns any The list of all component given the parameters used
|
|
16
16
|
* @throws ApiError
|
|
17
17
|
*/
|
|
@@ -6,7 +6,7 @@ export class ComponentService {
|
|
|
6
6
|
* List all available component
|
|
7
7
|
* @param page Pagination, starting at page 1
|
|
8
8
|
* @param limit Number of items per page
|
|
9
|
-
* @param sort List of fields to sort by
|
|
9
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
10
10
|
* @returns any The list of all component given the parameters used
|
|
11
11
|
* @throws ApiError
|
|
12
12
|
*/
|
|
@@ -15,7 +15,7 @@ export declare class CoreService {
|
|
|
15
15
|
* List all available templates
|
|
16
16
|
* @param page Pagination, starting at page 1
|
|
17
17
|
* @param limit Number of items per page
|
|
18
|
-
* @param sort List of fields to sort by
|
|
18
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
19
19
|
* @returns any The list of all templates given the parameters used
|
|
20
20
|
* @throws ApiError
|
|
21
21
|
*/
|
|
@@ -61,7 +61,7 @@ export declare class CoreService {
|
|
|
61
61
|
* List all available component
|
|
62
62
|
* @param page Pagination, starting at page 1
|
|
63
63
|
* @param limit Number of items per page
|
|
64
|
-
* @param sort List of fields to sort by
|
|
64
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
65
65
|
* @returns any The list of all component given the parameters used
|
|
66
66
|
* @throws ApiError
|
|
67
67
|
*/
|
|
@@ -17,7 +17,7 @@ export class CoreService {
|
|
|
17
17
|
* List all available templates
|
|
18
18
|
* @param page Pagination, starting at page 1
|
|
19
19
|
* @param limit Number of items per page
|
|
20
|
-
* @param sort List of fields to sort by
|
|
20
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
21
21
|
* @returns any The list of all templates given the parameters used
|
|
22
22
|
* @throws ApiError
|
|
23
23
|
*/
|
|
@@ -134,7 +134,7 @@ export class CoreService {
|
|
|
134
134
|
* List all available component
|
|
135
135
|
* @param page Pagination, starting at page 1
|
|
136
136
|
* @param limit Number of items per page
|
|
137
|
-
* @param sort List of fields to sort by
|
|
137
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
138
138
|
* @returns any The list of all component given the parameters used
|
|
139
139
|
* @throws ApiError
|
|
140
140
|
*/
|
|
@@ -10,7 +10,7 @@ export declare class TemplateService {
|
|
|
10
10
|
* List all available templates
|
|
11
11
|
* @param page Pagination, starting at page 1
|
|
12
12
|
* @param limit Number of items per page
|
|
13
|
-
* @param sort List of fields to sort by
|
|
13
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
14
14
|
* @returns any The list of all templates given the parameters used
|
|
15
15
|
* @throws ApiError
|
|
16
16
|
*/
|
|
@@ -6,7 +6,7 @@ export class TemplateService {
|
|
|
6
6
|
* List all available templates
|
|
7
7
|
* @param page Pagination, starting at page 1
|
|
8
8
|
* @param limit Number of items per page
|
|
9
|
-
* @param sort List of fields to sort by
|
|
9
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
10
10
|
* @returns any The list of all templates given the parameters used
|
|
11
11
|
* @throws ApiError
|
|
12
12
|
*/
|
|
@@ -5,6 +5,7 @@ export type { OpenAPIConfig } from './core/OpenAPI';
|
|
|
5
5
|
export type { Amendment } from './models/Amendment';
|
|
6
6
|
export type { AssignedPassenger } from './models/AssignedPassenger';
|
|
7
7
|
export type { AssignedTravellerGroup } from './models/AssignedTravellerGroup';
|
|
8
|
+
export type { B64StringQueryParam } from './models/B64StringQueryParam';
|
|
8
9
|
export { BookingStatus } from './models/BookingStatus';
|
|
9
10
|
export type { Branches } from './models/Branches';
|
|
10
11
|
export type { BranchId } from './models/BranchId';
|
|
@@ -12,7 +13,7 @@ export type { BranchTag } from './models/BranchTag';
|
|
|
12
13
|
export type { ComponentDescription } from './models/ComponentDescription';
|
|
13
14
|
export type { ComponentFAQ } from './models/ComponentFAQ';
|
|
14
15
|
export type { ComponentId } from './models/ComponentId';
|
|
15
|
-
export type {
|
|
16
|
+
export type { ComponentIdPathParam } from './models/ComponentIdPathParam';
|
|
16
17
|
export type { ComponentInstance } from './models/ComponentInstance';
|
|
17
18
|
export type { ComponentMedia } from './models/ComponentMedia';
|
|
18
19
|
export type { ComponentNotes } from './models/ComponentNotes';
|
|
@@ -46,43 +47,41 @@ export type { DTOTemplateEntity } from './models/DTOTemplateEntity';
|
|
|
46
47
|
export type { DTOTemplateRead } from './models/DTOTemplateRead';
|
|
47
48
|
export type { DTOTemplateUpdate } from './models/DTOTemplateUpdate';
|
|
48
49
|
export type { EnquiryId } from './models/EnquiryId';
|
|
49
|
-
export type {
|
|
50
|
+
export type { EnquiryIdPathParam } from './models/EnquiryIdPathParam';
|
|
50
51
|
export type { Error } from './models/Error';
|
|
51
52
|
export type { Fee } from './models/Fee';
|
|
52
53
|
export type { Field } from './models/Field';
|
|
53
|
-
export type { id } from './models/id';
|
|
54
|
-
export type { itemsPerPage } from './models/itemsPerPage';
|
|
55
54
|
export type { ItineraryId } from './models/ItineraryId';
|
|
56
|
-
export type {
|
|
57
|
-
export type {
|
|
55
|
+
export type { ItineraryIdPathParam } from './models/ItineraryIdPathParam';
|
|
56
|
+
export type { ItineraryIdQueryParam } from './models/ItineraryIdQueryParam';
|
|
58
57
|
export type { ItineraryRevisionGroupId } from './models/ItineraryRevisionGroupId';
|
|
59
|
-
export type {
|
|
58
|
+
export type { LimitQueryParam } from './models/LimitQueryParam';
|
|
60
59
|
export { Meals } from './models/Meals';
|
|
61
60
|
export type { Metadata } from './models/Metadata';
|
|
61
|
+
export type { OnQueryParam } from './models/OnQueryParam';
|
|
62
|
+
export { OrderQueryParam } from './models/OrderQueryParam';
|
|
62
63
|
export { OrgId } from './models/OrgId';
|
|
63
64
|
export type { Package } from './models/Package';
|
|
64
65
|
export type { PackageItem } from './models/PackageItem';
|
|
65
66
|
export type { PackageSpan } from './models/PackageSpan';
|
|
66
|
-
export type {
|
|
67
|
+
export type { PageQueryParam } from './models/PageQueryParam';
|
|
67
68
|
export type { Pagination } from './models/Pagination';
|
|
68
69
|
export type { Price } from './models/Price';
|
|
69
70
|
export type { QuoteOptions } from './models/QuoteOptions';
|
|
70
71
|
export type { RegionId } from './models/RegionId';
|
|
71
|
-
export {
|
|
72
|
-
export { regionRequired } from './models/regionRequired';
|
|
73
|
-
export type { search } from './models/search';
|
|
72
|
+
export type { SearchQueryParam } from './models/SearchQueryParam';
|
|
74
73
|
export type { SnapshotId } from './models/SnapshotId';
|
|
75
|
-
export type {
|
|
76
|
-
export type {
|
|
77
|
-
export type {
|
|
74
|
+
export type { SnapshotIdPathParam } from './models/SnapshotIdPathParam';
|
|
75
|
+
export type { SortQueryParam } from './models/SortQueryParam';
|
|
76
|
+
export type { TagPathParam } from './models/TagPathParam';
|
|
78
77
|
export type { TemplateId } from './models/TemplateId';
|
|
79
|
-
export type {
|
|
78
|
+
export type { TemplateIdPathParam } from './models/TemplateIdPathParam';
|
|
80
79
|
export type { TemplateRevisionGroupId } from './models/TemplateRevisionGroupId';
|
|
81
80
|
export type { Title } from './models/Title';
|
|
82
81
|
export { UrgencyCTA } from './models/UrgencyCTA';
|
|
83
82
|
export type { UserComponentInstanceField } from './models/UserComponentInstanceField';
|
|
84
83
|
export type { ValidationSchemas } from './models/ValidationSchemas';
|
|
85
|
-
export type {
|
|
84
|
+
export type { VersionPathParam } from './models/VersionPathParam';
|
|
86
85
|
export { AuditService } from './services/AuditService';
|
|
87
86
|
export { ItineraryService } from './services/ItineraryService';
|
|
88
87
|
export { RegionService } from './services/RegionService';
|
|
@@ -10,9 +10,8 @@ export { ComponentState } from './models/ComponentState';
|
|
|
10
10
|
export { Currency } from './models/Currency';
|
|
11
11
|
export { Destination } from './models/Destination';
|
|
12
12
|
export { Meals } from './models/Meals';
|
|
13
|
+
export { OrderQueryParam } from './models/OrderQueryParam';
|
|
13
14
|
export { OrgId } from './models/OrgId';
|
|
14
|
-
export { regionParam } from './models/regionParam';
|
|
15
|
-
export { regionRequired } from './models/regionRequired';
|
|
16
15
|
export { UrgencyCTA } from './models/UrgencyCTA';
|
|
17
16
|
export { AuditService } from './services/AuditService';
|
|
18
17
|
export { ItineraryService } from './services/ItineraryService';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Order the sort query parameter values either by ascending or descending order
|
|
7
|
+
*/
|
|
8
|
+
export var OrderQueryParam;
|
|
9
|
+
(function (OrderQueryParam) {
|
|
10
|
+
OrderQueryParam["ASC"] = "asc";
|
|
11
|
+
OrderQueryParam["DESC"] = "desc";
|
|
12
|
+
})(OrderQueryParam || (OrderQueryParam = {}));
|
package/dist/api/generated/itinerary/models/{snapshotIdParam.d.ts → SnapshotIdPathParam.d.ts}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { SnapshotId } from './SnapshotId';
|
|
2
|
-
export type
|
|
2
|
+
export type SnapshotIdPathParam = SnapshotId;
|
|
@@ -34,10 +34,16 @@ export declare class ItineraryService {
|
|
|
34
34
|
* List Snapshots relating to a specific enquiry id
|
|
35
35
|
* List all available snapshots relating to a specific enquiry id
|
|
36
36
|
* @param enquiryId Enquiry Id
|
|
37
|
+
* @param page Pagination, starting at page 1
|
|
38
|
+
* @param limit Number of items per page
|
|
39
|
+
* @param order Order the sort query parameter values either by ascending or descending order
|
|
40
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
41
|
+
* @param search The search strings to apply to the on query parameter values
|
|
42
|
+
* @param on The fields to apply the search to, the list follows the order and length of the search values in the search query
|
|
37
43
|
* @returns any The list of all snapshots given the parameters used
|
|
38
44
|
* @throws ApiError
|
|
39
45
|
*/
|
|
40
|
-
snapshotList(enquiryId: EnquiryId): CancelablePromise<{
|
|
46
|
+
snapshotList(enquiryId: EnquiryId, page?: number, limit?: number, order?: 'asc' | 'desc', sort?: any[], search?: Array<string>, on?: Array<string>): CancelablePromise<{
|
|
41
47
|
snapshots?: Array<DTOSnapshotRead>;
|
|
42
48
|
}>;
|
|
43
49
|
/**
|
|
@@ -152,11 +158,14 @@ export declare class ItineraryService {
|
|
|
152
158
|
* List all regions
|
|
153
159
|
* @param page Pagination, starting at page 1
|
|
154
160
|
* @param limit Number of items per page
|
|
155
|
-
* @param sort
|
|
161
|
+
* @param order Order the sort query parameter values either by ascending or descending order
|
|
162
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
163
|
+
* @param search The search strings to apply to the on query parameter values
|
|
164
|
+
* @param on The fields to apply the search to, the list follows the order and length of the search values in the search query
|
|
156
165
|
* @returns any OK
|
|
157
166
|
* @throws ApiError
|
|
158
167
|
*/
|
|
159
|
-
regionList(page?: number, limit?: number, sort?: any[]): CancelablePromise<{
|
|
168
|
+
regionList(page?: number, limit?: number, order?: 'asc' | 'desc', sort?: any[], search?: Array<string>, on?: Array<string>): CancelablePromise<{
|
|
160
169
|
data?: Array<DTORegionRead>;
|
|
161
170
|
pagination?: Pagination;
|
|
162
171
|
}>;
|
|
@@ -51,16 +51,30 @@ export class ItineraryService {
|
|
|
51
51
|
* List Snapshots relating to a specific enquiry id
|
|
52
52
|
* List all available snapshots relating to a specific enquiry id
|
|
53
53
|
* @param enquiryId Enquiry Id
|
|
54
|
+
* @param page Pagination, starting at page 1
|
|
55
|
+
* @param limit Number of items per page
|
|
56
|
+
* @param order Order the sort query parameter values either by ascending or descending order
|
|
57
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
58
|
+
* @param search The search strings to apply to the on query parameter values
|
|
59
|
+
* @param on The fields to apply the search to, the list follows the order and length of the search values in the search query
|
|
54
60
|
* @returns any The list of all snapshots given the parameters used
|
|
55
61
|
* @throws ApiError
|
|
56
62
|
*/
|
|
57
|
-
snapshotList(enquiryId) {
|
|
63
|
+
snapshotList(enquiryId, page, limit, order, sort, search, on) {
|
|
58
64
|
return __request(OpenAPI, {
|
|
59
65
|
method: 'GET',
|
|
60
66
|
url: '/snapshot/view/{enquiryId}',
|
|
61
67
|
path: {
|
|
62
68
|
'enquiryId': enquiryId,
|
|
63
69
|
},
|
|
70
|
+
query: {
|
|
71
|
+
'page': page,
|
|
72
|
+
'limit': limit,
|
|
73
|
+
'order': order,
|
|
74
|
+
'sort': sort,
|
|
75
|
+
'search': search,
|
|
76
|
+
'on': on,
|
|
77
|
+
},
|
|
64
78
|
errors: {
|
|
65
79
|
400: `If the filter options or query parameters contain invalid values`,
|
|
66
80
|
401: `Unauthorized - Missing or invalid Authorization header`,
|
|
@@ -319,18 +333,24 @@ export class ItineraryService {
|
|
|
319
333
|
* List all regions
|
|
320
334
|
* @param page Pagination, starting at page 1
|
|
321
335
|
* @param limit Number of items per page
|
|
322
|
-
* @param sort
|
|
336
|
+
* @param order Order the sort query parameter values either by ascending or descending order
|
|
337
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
338
|
+
* @param search The search strings to apply to the on query parameter values
|
|
339
|
+
* @param on The fields to apply the search to, the list follows the order and length of the search values in the search query
|
|
323
340
|
* @returns any OK
|
|
324
341
|
* @throws ApiError
|
|
325
342
|
*/
|
|
326
|
-
regionList(page, limit, sort) {
|
|
343
|
+
regionList(page, limit, order, sort, search, on) {
|
|
327
344
|
return __request(OpenAPI, {
|
|
328
345
|
method: 'GET',
|
|
329
346
|
url: '/region',
|
|
330
347
|
query: {
|
|
331
348
|
'page': page,
|
|
332
349
|
'limit': limit,
|
|
350
|
+
'order': order,
|
|
333
351
|
'sort': sort,
|
|
352
|
+
'search': search,
|
|
353
|
+
'on': on,
|
|
334
354
|
},
|
|
335
355
|
errors: {
|
|
336
356
|
400: `If the filter options or query parameters contain invalid values`,
|
|
@@ -8,11 +8,14 @@ export declare class RegionService {
|
|
|
8
8
|
* List all regions
|
|
9
9
|
* @param page Pagination, starting at page 1
|
|
10
10
|
* @param limit Number of items per page
|
|
11
|
-
* @param sort
|
|
11
|
+
* @param order Order the sort query parameter values either by ascending or descending order
|
|
12
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
13
|
+
* @param search The search strings to apply to the on query parameter values
|
|
14
|
+
* @param on The fields to apply the search to, the list follows the order and length of the search values in the search query
|
|
12
15
|
* @returns any OK
|
|
13
16
|
* @throws ApiError
|
|
14
17
|
*/
|
|
15
|
-
static regionList(page?: number, limit?: number, sort?: any[]): CancelablePromise<{
|
|
18
|
+
static regionList(page?: number, limit?: number, order?: 'asc' | 'desc', sort?: any[], search?: Array<string>, on?: Array<string>): CancelablePromise<{
|
|
16
19
|
data?: Array<DTORegionRead>;
|
|
17
20
|
pagination?: Pagination;
|
|
18
21
|
}>;
|
|
@@ -6,18 +6,24 @@ export class RegionService {
|
|
|
6
6
|
* List all regions
|
|
7
7
|
* @param page Pagination, starting at page 1
|
|
8
8
|
* @param limit Number of items per page
|
|
9
|
-
* @param sort
|
|
9
|
+
* @param order Order the sort query parameter values either by ascending or descending order
|
|
10
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
11
|
+
* @param search The search strings to apply to the on query parameter values
|
|
12
|
+
* @param on The fields to apply the search to, the list follows the order and length of the search values in the search query
|
|
10
13
|
* @returns any OK
|
|
11
14
|
* @throws ApiError
|
|
12
15
|
*/
|
|
13
|
-
static regionList(page, limit, sort) {
|
|
16
|
+
static regionList(page, limit, order, sort, search, on) {
|
|
14
17
|
return __request(OpenAPI, {
|
|
15
18
|
method: 'GET',
|
|
16
19
|
url: '/region',
|
|
17
20
|
query: {
|
|
18
21
|
'page': page,
|
|
19
22
|
'limit': limit,
|
|
23
|
+
'order': order,
|
|
20
24
|
'sort': sort,
|
|
25
|
+
'search': search,
|
|
26
|
+
'on': on,
|
|
21
27
|
},
|
|
22
28
|
errors: {
|
|
23
29
|
400: `If the filter options or query parameters contain invalid values`,
|
|
@@ -17,10 +17,16 @@ export declare class SnapshotService {
|
|
|
17
17
|
* List Snapshots relating to a specific enquiry id
|
|
18
18
|
* List all available snapshots relating to a specific enquiry id
|
|
19
19
|
* @param enquiryId Enquiry Id
|
|
20
|
+
* @param page Pagination, starting at page 1
|
|
21
|
+
* @param limit Number of items per page
|
|
22
|
+
* @param order Order the sort query parameter values either by ascending or descending order
|
|
23
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
24
|
+
* @param search The search strings to apply to the on query parameter values
|
|
25
|
+
* @param on The fields to apply the search to, the list follows the order and length of the search values in the search query
|
|
20
26
|
* @returns any The list of all snapshots given the parameters used
|
|
21
27
|
* @throws ApiError
|
|
22
28
|
*/
|
|
23
|
-
static snapshotList(enquiryId: EnquiryId): CancelablePromise<{
|
|
29
|
+
static snapshotList(enquiryId: EnquiryId, page?: number, limit?: number, order?: 'asc' | 'desc', sort?: any[], search?: Array<string>, on?: Array<string>): CancelablePromise<{
|
|
24
30
|
snapshots?: Array<DTOSnapshotRead>;
|
|
25
31
|
}>;
|
|
26
32
|
/**
|
|
@@ -27,16 +27,30 @@ export class SnapshotService {
|
|
|
27
27
|
* List Snapshots relating to a specific enquiry id
|
|
28
28
|
* List all available snapshots relating to a specific enquiry id
|
|
29
29
|
* @param enquiryId Enquiry Id
|
|
30
|
+
* @param page Pagination, starting at page 1
|
|
31
|
+
* @param limit Number of items per page
|
|
32
|
+
* @param order Order the sort query parameter values either by ascending or descending order
|
|
33
|
+
* @param sort List of fields to sort by, this requires the order query param
|
|
34
|
+
* @param search The search strings to apply to the on query parameter values
|
|
35
|
+
* @param on The fields to apply the search to, the list follows the order and length of the search values in the search query
|
|
30
36
|
* @returns any The list of all snapshots given the parameters used
|
|
31
37
|
* @throws ApiError
|
|
32
38
|
*/
|
|
33
|
-
static snapshotList(enquiryId) {
|
|
39
|
+
static snapshotList(enquiryId, page, limit, order, sort, search, on) {
|
|
34
40
|
return __request(OpenAPI, {
|
|
35
41
|
method: 'GET',
|
|
36
42
|
url: '/snapshot/view/{enquiryId}',
|
|
37
43
|
path: {
|
|
38
44
|
'enquiryId': enquiryId,
|
|
39
45
|
},
|
|
46
|
+
query: {
|
|
47
|
+
'page': page,
|
|
48
|
+
'limit': limit,
|
|
49
|
+
'order': order,
|
|
50
|
+
'sort': sort,
|
|
51
|
+
'search': search,
|
|
52
|
+
'on': on,
|
|
53
|
+
},
|
|
40
54
|
errors: {
|
|
41
55
|
400: `If the filter options or query parameters contain invalid values`,
|
|
42
56
|
401: `Unauthorized - Missing or invalid Authorization header`,
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* Region name
|
|
7
|
-
*/
|
|
8
|
-
export var regionParam;
|
|
9
|
-
(function (regionParam) {
|
|
10
|
-
regionParam["PATAGONIA"] = "patagonia";
|
|
11
|
-
regionParam["ANTARCTICA"] = "antarctica";
|
|
12
|
-
regionParam["ARCTIC"] = "arctic";
|
|
13
|
-
})(regionParam || (regionParam = {}));
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* Region
|
|
7
|
-
*/
|
|
8
|
-
export var regionRequired;
|
|
9
|
-
(function (regionRequired) {
|
|
10
|
-
regionRequired["PATAGONIA"] = "patagonia";
|
|
11
|
-
regionRequired["ANTARCTICA"] = "antarctica";
|
|
12
|
-
regionRequired["ARCTIC"] = "arctic";
|
|
13
|
-
})(regionRequired || (regionRequired = {}));
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* Region name
|
|
7
|
-
*/
|
|
8
|
-
export var regionParam;
|
|
9
|
-
(function (regionParam) {
|
|
10
|
-
regionParam["PATAGONIA"] = "patagonia";
|
|
11
|
-
regionParam["ANTARCTICA"] = "antarctica";
|
|
12
|
-
regionParam["ARCTIC"] = "arctic";
|
|
13
|
-
})(regionParam || (regionParam = {}));
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* Region
|
|
7
|
-
*/
|
|
8
|
-
export var regionRequired;
|
|
9
|
-
(function (regionRequired) {
|
|
10
|
-
regionRequired["PATAGONIA"] = "patagonia";
|
|
11
|
-
regionRequired["ANTARCTICA"] = "antarctica";
|
|
12
|
-
regionRequired["ARCTIC"] = "arctic";
|
|
13
|
-
})(regionRequired || (regionRequired = {}));
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|