swoop-common 2.1.66 → 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.
Files changed (101) hide show
  1. package/dist/api/generated/core/exports.d.ts +15 -16
  2. package/dist/api/generated/core/exports.js +1 -2
  3. package/dist/api/generated/core/index.d.ts +15 -16
  4. package/dist/api/generated/core/index.js +1 -2
  5. package/dist/api/generated/core/models/B64StringQueryParam.d.ts +4 -0
  6. package/dist/api/generated/{itinerary/models/componentIdParam.d.ts → core/models/ComponentIdPathParam.d.ts} +1 -1
  7. package/dist/api/generated/{itinerary/models/enquiryIdParam.d.ts → core/models/EnquiryIdPathParam.d.ts} +1 -1
  8. package/dist/api/generated/core/models/{itineraryIdParam.d.ts → ItineraryIdPathParam.d.ts} +1 -1
  9. package/dist/api/generated/core/models/{itineraryIdQuery.d.ts → ItineraryIdQueryParam.d.ts} +1 -1
  10. package/dist/api/generated/core/models/LimitQueryParam.d.ts +4 -0
  11. package/dist/api/generated/core/models/OnQueryParam.d.ts +4 -0
  12. package/dist/api/generated/core/models/OrderQueryParam.d.ts +7 -0
  13. package/dist/api/generated/core/models/OrderQueryParam.js +12 -0
  14. package/dist/api/generated/{itinerary/models/Page.d.ts → core/models/PageQueryParam.d.ts} +1 -1
  15. package/dist/api/generated/core/models/SearchQueryParam.d.ts +4 -0
  16. package/dist/api/generated/core/models/{snapshotIdParam.d.ts → SnapshotIdPathParam.d.ts} +1 -1
  17. package/dist/api/generated/core/models/SortQueryParam.d.ts +4 -0
  18. package/dist/api/generated/core/models/TagPathParam.d.ts +4 -0
  19. package/dist/api/generated/core/models/{templateIdParam.d.ts → TemplateIdPathParam.d.ts} +1 -1
  20. package/dist/api/generated/core/models/VersionPathParam.d.ts +4 -0
  21. package/dist/api/generated/core/services/ComponentService.d.ts +1 -1
  22. package/dist/api/generated/core/services/ComponentService.js +1 -1
  23. package/dist/api/generated/core/services/CoreService.d.ts +2 -2
  24. package/dist/api/generated/core/services/CoreService.js +2 -2
  25. package/dist/api/generated/core/services/TemplateService.d.ts +1 -1
  26. package/dist/api/generated/core/services/TemplateService.js +1 -1
  27. package/dist/api/generated/itinerary/index.d.ts +15 -16
  28. package/dist/api/generated/itinerary/index.js +1 -2
  29. package/dist/api/generated/itinerary/models/B64StringQueryParam.d.ts +4 -0
  30. package/dist/api/generated/{core/models/componentIdParam.d.ts → itinerary/models/ComponentIdPathParam.d.ts} +1 -1
  31. package/dist/api/generated/{core/models/enquiryIdParam.d.ts → itinerary/models/EnquiryIdPathParam.d.ts} +1 -1
  32. package/dist/api/generated/itinerary/models/{itineraryIdParam.d.ts → ItineraryIdPathParam.d.ts} +1 -1
  33. package/dist/api/generated/itinerary/models/{itineraryIdQuery.d.ts → ItineraryIdQueryParam.d.ts} +1 -1
  34. package/dist/api/generated/itinerary/models/LimitQueryParam.d.ts +4 -0
  35. package/dist/api/generated/itinerary/models/OnQueryParam.d.ts +4 -0
  36. package/dist/api/generated/itinerary/models/OrderQueryParam.d.ts +7 -0
  37. package/dist/api/generated/itinerary/models/OrderQueryParam.js +12 -0
  38. package/dist/api/generated/{core/models/Page.d.ts → itinerary/models/PageQueryParam.d.ts} +1 -1
  39. package/dist/api/generated/itinerary/models/SearchQueryParam.d.ts +4 -0
  40. package/dist/api/generated/itinerary/models/{snapshotIdParam.d.ts → SnapshotIdPathParam.d.ts} +1 -1
  41. package/dist/api/generated/itinerary/models/SortQueryParam.d.ts +4 -0
  42. package/dist/api/generated/itinerary/models/TagPathParam.d.ts +4 -0
  43. package/dist/api/generated/itinerary/models/{templateIdParam.d.ts → TemplateIdPathParam.d.ts} +1 -1
  44. package/dist/api/generated/itinerary/models/VersionPathParam.d.ts +4 -0
  45. package/dist/api/generated/itinerary/services/ItineraryService.d.ts +32 -12
  46. package/dist/api/generated/itinerary/services/ItineraryService.js +39 -16
  47. package/dist/api/generated/itinerary/services/RegionService.d.ts +5 -2
  48. package/dist/api/generated/itinerary/services/RegionService.js +8 -2
  49. package/dist/api/generated/itinerary/services/SnapshotService.d.ts +7 -1
  50. package/dist/api/generated/itinerary/services/SnapshotService.js +17 -2
  51. package/package.json +1 -1
  52. package/dist/api/generated/core/models/Limit.d.ts +0 -4
  53. package/dist/api/generated/core/models/id.d.ts +0 -4
  54. package/dist/api/generated/core/models/itemsPerPage.d.ts +0 -4
  55. package/dist/api/generated/core/models/regionParam.d.ts +0 -8
  56. package/dist/api/generated/core/models/regionParam.js +0 -13
  57. package/dist/api/generated/core/models/regionRequired.d.ts +0 -8
  58. package/dist/api/generated/core/models/regionRequired.js +0 -13
  59. package/dist/api/generated/core/models/search.d.ts +0 -4
  60. package/dist/api/generated/core/models/sortParam.d.ts +0 -4
  61. package/dist/api/generated/core/models/tag.d.ts +0 -4
  62. package/dist/api/generated/core/models/version.d.ts +0 -4
  63. package/dist/api/generated/itinerary/models/Limit.d.ts +0 -4
  64. package/dist/api/generated/itinerary/models/id.d.ts +0 -4
  65. package/dist/api/generated/itinerary/models/itemsPerPage.d.ts +0 -4
  66. package/dist/api/generated/itinerary/models/regionParam.d.ts +0 -8
  67. package/dist/api/generated/itinerary/models/regionParam.js +0 -13
  68. package/dist/api/generated/itinerary/models/regionRequired.d.ts +0 -8
  69. package/dist/api/generated/itinerary/models/regionRequired.js +0 -13
  70. package/dist/api/generated/itinerary/models/search.d.ts +0 -4
  71. package/dist/api/generated/itinerary/models/sortParam.d.ts +0 -4
  72. package/dist/api/generated/itinerary/models/tag.d.ts +0 -4
  73. package/dist/api/generated/itinerary/models/version.d.ts +0 -4
  74. /package/dist/api/generated/core/models/{Limit.js → B64StringQueryParam.js} +0 -0
  75. /package/dist/api/generated/core/models/{Page.js → ComponentIdPathParam.js} +0 -0
  76. /package/dist/api/generated/core/models/{componentIdParam.js → EnquiryIdPathParam.js} +0 -0
  77. /package/dist/api/generated/core/models/{enquiryIdParam.js → ItineraryIdPathParam.js} +0 -0
  78. /package/dist/api/generated/core/models/{id.js → ItineraryIdQueryParam.js} +0 -0
  79. /package/dist/api/generated/core/models/{itemsPerPage.js → LimitQueryParam.js} +0 -0
  80. /package/dist/api/generated/core/models/{itineraryIdParam.js → OnQueryParam.js} +0 -0
  81. /package/dist/api/generated/core/models/{itineraryIdQuery.js → PageQueryParam.js} +0 -0
  82. /package/dist/api/generated/core/models/{search.js → SearchQueryParam.js} +0 -0
  83. /package/dist/api/generated/core/models/{snapshotIdParam.js → SnapshotIdPathParam.js} +0 -0
  84. /package/dist/api/generated/core/models/{sortParam.js → SortQueryParam.js} +0 -0
  85. /package/dist/api/generated/core/models/{tag.js → TagPathParam.js} +0 -0
  86. /package/dist/api/generated/core/models/{templateIdParam.js → TemplateIdPathParam.js} +0 -0
  87. /package/dist/api/generated/core/models/{version.js → VersionPathParam.js} +0 -0
  88. /package/dist/api/generated/itinerary/models/{Limit.js → B64StringQueryParam.js} +0 -0
  89. /package/dist/api/generated/itinerary/models/{Page.js → ComponentIdPathParam.js} +0 -0
  90. /package/dist/api/generated/itinerary/models/{componentIdParam.js → EnquiryIdPathParam.js} +0 -0
  91. /package/dist/api/generated/itinerary/models/{enquiryIdParam.js → ItineraryIdPathParam.js} +0 -0
  92. /package/dist/api/generated/itinerary/models/{id.js → ItineraryIdQueryParam.js} +0 -0
  93. /package/dist/api/generated/itinerary/models/{itemsPerPage.js → LimitQueryParam.js} +0 -0
  94. /package/dist/api/generated/itinerary/models/{itineraryIdParam.js → OnQueryParam.js} +0 -0
  95. /package/dist/api/generated/itinerary/models/{itineraryIdQuery.js → PageQueryParam.js} +0 -0
  96. /package/dist/api/generated/itinerary/models/{search.js → SearchQueryParam.js} +0 -0
  97. /package/dist/api/generated/itinerary/models/{snapshotIdParam.js → SnapshotIdPathParam.js} +0 -0
  98. /package/dist/api/generated/itinerary/models/{sortParam.js → SortQueryParam.js} +0 -0
  99. /package/dist/api/generated/itinerary/models/{tag.js → TagPathParam.js} +0 -0
  100. /package/dist/api/generated/itinerary/models/{templateIdParam.js → TemplateIdPathParam.js} +0 -0
  101. /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 { componentIdParam } from './index';
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 { enquiryIdParam } from './index';
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 { itineraryIdParam } from './index';
55
- export type { itineraryIdQuery } from './index';
53
+ export type { ItineraryIdPathParam } from './index';
54
+ export type { ItineraryIdQueryParam } from './index';
56
55
  export type { ItineraryRevisionGroupId } from './index';
57
- export type { Limit } from './index';
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 { Page } from './index';
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 { regionParam } from './index';
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 { snapshotIdParam } from './index';
74
- export type { sortParam } from './index';
75
- export type { tag } from './index';
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 { templateIdParam } from './index';
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 { version } from './index';
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 { componentIdParam } from './models/componentIdParam';
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 { enquiryIdParam } from './models/enquiryIdParam';
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 { itineraryIdParam } from './models/itineraryIdParam';
57
- export type { itineraryIdQuery } from './models/itineraryIdQuery';
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 { Limit } from './models/Limit';
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 { Page } from './models/Page';
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 { regionParam } from './models/regionParam';
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 { snapshotIdParam } from './models/snapshotIdParam';
76
- export type { sortParam } from './models/sortParam';
77
- export type { tag } from './models/tag';
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 { templateIdParam } from './models/templateIdParam';
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 { version } from './models/version';
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,4 @@
1
+ /**
2
+ * Base64 encoding of the copied content
3
+ */
4
+ export type B64StringQueryParam = string;
@@ -2,4 +2,4 @@ import type { ComponentId } from './ComponentId';
2
2
  /**
3
3
  * Id of a component
4
4
  */
5
- export type componentIdParam = ComponentId;
5
+ export type ComponentIdPathParam = ComponentId;
@@ -2,4 +2,4 @@ import type { EnquiryId } from './EnquiryId';
2
2
  /**
3
3
  * Enquiry Id
4
4
  */
5
- export type enquiryIdParam = EnquiryId;
5
+ export type EnquiryIdPathParam = EnquiryId;
@@ -2,4 +2,4 @@ import type { ItineraryId } from './ItineraryId';
2
2
  /**
3
3
  * Itinerary id
4
4
  */
5
- export type itineraryIdParam = ItineraryId;
5
+ export type ItineraryIdPathParam = ItineraryId;
@@ -2,4 +2,4 @@ import type { ItineraryId } from './ItineraryId';
2
2
  /**
3
3
  * Itinerary Id
4
4
  */
5
- export type itineraryIdQuery = ItineraryId;
5
+ export type ItineraryIdQueryParam = ItineraryId;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Number of items per page
3
+ */
4
+ export type LimitQueryParam = number;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The fields to apply the search to, the list follows the order and length of the search values in the search query
3
+ */
4
+ export type OnQueryParam = Array<string>;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Order the sort query parameter values either by ascending or descending order
3
+ */
4
+ export declare enum OrderQueryParam {
5
+ ASC = "asc",
6
+ DESC = "desc"
7
+ }
@@ -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,4 +1,4 @@
1
1
  /**
2
2
  * Pagination, starting at page 1
3
3
  */
4
- export type Page = number;
4
+ export type PageQueryParam = number;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The search strings to apply to the on query parameter values
3
+ */
4
+ export type SearchQueryParam = Array<string>;
@@ -1,2 +1,2 @@
1
1
  import type { SnapshotId } from './SnapshotId';
2
- export type snapshotIdParam = SnapshotId;
2
+ export type SnapshotIdPathParam = SnapshotId;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * List of fields to sort by, this requires the order query param
3
+ */
4
+ export type SortQueryParam = any[];
@@ -0,0 +1,4 @@
1
+ /**
2
+ * the branch tag
3
+ */
4
+ export type TagPathParam = string;
@@ -2,4 +2,4 @@ import type { TemplateId } from './TemplateId';
2
2
  /**
3
3
  * Id of a template
4
4
  */
5
- export type templateIdParam = TemplateId;
5
+ export type TemplateIdPathParam = TemplateId;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * the version of a branch
3
+ */
4
+ export type VersionPathParam = string;
@@ -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 { componentIdParam } from './models/componentIdParam';
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 { enquiryIdParam } from './models/enquiryIdParam';
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 { itineraryIdParam } from './models/itineraryIdParam';
57
- export type { itineraryIdQuery } from './models/itineraryIdQuery';
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 { Limit } from './models/Limit';
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 { Page } from './models/Page';
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 { regionParam } from './models/regionParam';
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 { snapshotIdParam } from './models/snapshotIdParam';
76
- export type { sortParam } from './models/sortParam';
77
- export type { tag } from './models/tag';
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 { templateIdParam } from './models/templateIdParam';
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 { version } from './models/version';
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,4 @@
1
+ /**
2
+ * Base64 encoding of the copied content
3
+ */
4
+ export type B64StringQueryParam = string;
@@ -2,4 +2,4 @@ import type { ComponentId } from './ComponentId';
2
2
  /**
3
3
  * Id of a component
4
4
  */
5
- export type componentIdParam = ComponentId;
5
+ export type ComponentIdPathParam = ComponentId;
@@ -2,4 +2,4 @@ import type { EnquiryId } from './EnquiryId';
2
2
  /**
3
3
  * Enquiry Id
4
4
  */
5
- export type enquiryIdParam = EnquiryId;
5
+ export type EnquiryIdPathParam = EnquiryId;
@@ -2,4 +2,4 @@ import type { ItineraryId } from './ItineraryId';
2
2
  /**
3
3
  * Itinerary id
4
4
  */
5
- export type itineraryIdParam = ItineraryId;
5
+ export type ItineraryIdPathParam = ItineraryId;
@@ -2,4 +2,4 @@ import type { ItineraryId } from './ItineraryId';
2
2
  /**
3
3
  * Itinerary Id
4
4
  */
5
- export type itineraryIdQuery = ItineraryId;
5
+ export type ItineraryIdQueryParam = ItineraryId;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Number of items per page
3
+ */
4
+ export type LimitQueryParam = number;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The fields to apply the search to, the list follows the order and length of the search values in the search query
3
+ */
4
+ export type OnQueryParam = Array<string>;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Order the sort query parameter values either by ascending or descending order
3
+ */
4
+ export declare enum OrderQueryParam {
5
+ ASC = "asc",
6
+ DESC = "desc"
7
+ }
@@ -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,4 +1,4 @@
1
1
  /**
2
2
  * Pagination, starting at page 1
3
3
  */
4
- export type Page = number;
4
+ export type PageQueryParam = number;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The search strings to apply to the on query parameter values
3
+ */
4
+ export type SearchQueryParam = Array<string>;
@@ -1,2 +1,2 @@
1
1
  import type { SnapshotId } from './SnapshotId';
2
- export type snapshotIdParam = SnapshotId;
2
+ export type SnapshotIdPathParam = SnapshotId;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * List of fields to sort by, this requires the order query param
3
+ */
4
+ export type SortQueryParam = any[];
@@ -0,0 +1,4 @@
1
+ /**
2
+ * the branch tag
3
+ */
4
+ export type TagPathParam = string;
@@ -2,4 +2,4 @@ import type { TemplateId } from './TemplateId';
2
2
  /**
3
3
  * Id of a template
4
4
  */
5
- export type templateIdParam = TemplateId;
5
+ export type TemplateIdPathParam = TemplateId;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * the version of a branch
3
+ */
4
+ export type VersionPathParam = string;