swoop-common 2.1.67 → 2.1.69

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 +12 -3
  46. package/dist/api/generated/itinerary/services/ItineraryService.js +23 -3
  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 +15 -1
  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;
@@ -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 List of fields to sort by
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 List of fields to sort by
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 List of fields to sort by
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 List of fields to sort by
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,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.1.67",
3
+ "version": "2.1.69",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {
@@ -1,4 +0,0 @@
1
- /**
2
- * Number of items per page
3
- */
4
- export type Limit = number;
@@ -1,4 +0,0 @@
1
- /**
2
- * Object Id
3
- */
4
- export type id = string;
@@ -1,4 +0,0 @@
1
- /**
2
- * Items per page
3
- */
4
- export type itemsPerPage = string;
@@ -1,8 +0,0 @@
1
- /**
2
- * Region name
3
- */
4
- export declare enum regionParam {
5
- PATAGONIA = "patagonia",
6
- ANTARCTICA = "antarctica",
7
- ARCTIC = "arctic"
8
- }
@@ -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,8 +0,0 @@
1
- /**
2
- * Region
3
- */
4
- export declare enum regionRequired {
5
- PATAGONIA = "patagonia",
6
- ANTARCTICA = "antarctica",
7
- ARCTIC = "arctic"
8
- }
@@ -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,4 +0,0 @@
1
- /**
2
- * Search term
3
- */
4
- export type search = string;
@@ -1,4 +0,0 @@
1
- /**
2
- * List of fields to sort by
3
- */
4
- export type sortParam = any[];
@@ -1,4 +0,0 @@
1
- /**
2
- * the branch tag
3
- */
4
- export type tag = string;
@@ -1,4 +0,0 @@
1
- /**
2
- * the version of a branch
3
- */
4
- export type version = string;
@@ -1,4 +0,0 @@
1
- /**
2
- * Number of items per page
3
- */
4
- export type Limit = number;
@@ -1,4 +0,0 @@
1
- /**
2
- * Object Id
3
- */
4
- export type id = string;
@@ -1,4 +0,0 @@
1
- /**
2
- * Items per page
3
- */
4
- export type itemsPerPage = string;
@@ -1,8 +0,0 @@
1
- /**
2
- * Region name
3
- */
4
- export declare enum regionParam {
5
- PATAGONIA = "patagonia",
6
- ANTARCTICA = "antarctica",
7
- ARCTIC = "arctic"
8
- }
@@ -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,8 +0,0 @@
1
- /**
2
- * Region
3
- */
4
- export declare enum regionRequired {
5
- PATAGONIA = "patagonia",
6
- ANTARCTICA = "antarctica",
7
- ARCTIC = "arctic"
8
- }
@@ -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,4 +0,0 @@
1
- /**
2
- * Search term
3
- */
4
- export type search = string;
@@ -1,4 +0,0 @@
1
- /**
2
- * List of fields to sort by
3
- */
4
- export type sortParam = any[];
@@ -1,4 +0,0 @@
1
- /**
2
- * the branch tag
3
- */
4
- export type tag = string;
@@ -1,4 +0,0 @@
1
- /**
2
- * the version of a branch
3
- */
4
- export type version = string;