@ndla/types-backend 1.0.34 → 1.0.35

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 (61) hide show
  1. package/build/article-api-openapi.d.ts +1092 -0
  2. package/build/article-api-openapi.js +7 -0
  3. package/build/article-api-openapi.js.map +1 -0
  4. package/build/article-api.d.ts +57 -156
  5. package/build/article-api.js +27 -13
  6. package/build/article-api.js.map +1 -1
  7. package/build/audio-api-openapi.d.ts +2153 -0
  8. package/build/audio-api-openapi.js +7 -0
  9. package/build/audio-api-openapi.js.map +1 -0
  10. package/build/audio-api.d.ts +69 -190
  11. package/build/audio-api.js +27 -13
  12. package/build/audio-api.js.map +1 -1
  13. package/build/concept-api-openapi.d.ts +1682 -0
  14. package/build/concept-api-openapi.js +7 -0
  15. package/build/concept-api-openapi.js.map +1 -0
  16. package/build/concept-api.d.ts +69 -221
  17. package/build/concept-api.js +27 -21
  18. package/build/concept-api.js.map +1 -1
  19. package/build/draft-api-openapi.d.ts +2893 -0
  20. package/build/draft-api-openapi.js +7 -0
  21. package/build/draft-api-openapi.js.map +1 -0
  22. package/build/draft-api.d.ts +117 -292
  23. package/build/draft-api.js +27 -13
  24. package/build/draft-api.js.map +1 -1
  25. package/build/frontpage-api-openapi.d.ts +800 -0
  26. package/build/frontpage-api-openapi.js +7 -0
  27. package/build/frontpage-api-openapi.js.map +1 -0
  28. package/build/frontpage-api.d.ts +53 -121
  29. package/build/frontpage-api.js +27 -1
  30. package/build/frontpage-api.js.map +1 -1
  31. package/build/image-api-openapi.d.ts +2192 -0
  32. package/build/image-api-openapi.js +7 -0
  33. package/build/image-api-openapi.js.map +1 -0
  34. package/build/image-api.d.ts +61 -174
  35. package/build/image-api.js +27 -13
  36. package/build/image-api.js.map +1 -1
  37. package/build/learningpath-api-openapi.d.ts +2671 -0
  38. package/build/learningpath-api-openapi.js +7 -0
  39. package/build/learningpath-api-openapi.js.map +1 -0
  40. package/build/learningpath-api.d.ts +71 -143
  41. package/build/learningpath-api.js +27 -1
  42. package/build/learningpath-api.js.map +1 -1
  43. package/build/myndla-api-openapi.d.ts +2718 -0
  44. package/build/myndla-api-openapi.js +7 -0
  45. package/build/myndla-api-openapi.js.map +1 -0
  46. package/build/myndla-api.d.ts +69 -125
  47. package/build/myndla-api.js +27 -1
  48. package/build/myndla-api.js.map +1 -1
  49. package/build/oembed-proxy-openapi.d.ts +249 -0
  50. package/build/oembed-proxy-openapi.js +7 -0
  51. package/build/oembed-proxy-openapi.js.map +1 -0
  52. package/build/oembed-proxy.d.ts +15 -0
  53. package/build/oembed-proxy.js +30 -0
  54. package/build/oembed-proxy.js.map +1 -0
  55. package/build/search-api-openapi.d.ts +1525 -0
  56. package/build/search-api-openapi.js +7 -0
  57. package/build/search-api-openapi.js.map +1 -0
  58. package/build/search-api.d.ts +121 -422
  59. package/build/search-api.js +27 -33
  60. package/build/search-api.js.map +1 -1
  61. package/package.json +2 -1
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by openapi-typescript.
4
+ * Do not make direct changes to the file.
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ //# sourceMappingURL=search-api-openapi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-api-openapi.js","sourceRoot":"","sources":["../search-api-openapi.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
@@ -1,422 +1,121 @@
1
- export type GrepResultDTO = (IGrepKjerneelementDTO | IGrepKompetansemaalDTO | IGrepKompetansemaalSettDTO | IGrepLaererplanDTO | IGrepTverrfagligTemaDTO);
2
- export type GrepSort = ("-relevance" | "relevance" | "-title" | "title" | "-code" | "code");
3
- export interface IApiTaxonomyContextDTO {
4
- publicId: string;
5
- root: string;
6
- rootId: string;
7
- relevance: string;
8
- relevanceId: string;
9
- path: string;
10
- breadcrumbs: string[];
11
- contextId: string;
12
- contextType: string;
13
- resourceTypes: ITaxonomyResourceTypeDTO[];
14
- language: string;
15
- isPrimary: boolean;
16
- isActive: boolean;
17
- url: string;
18
- }
19
- export interface IArticleIntroductionDTO {
20
- introduction: string;
21
- htmlIntroduction: string;
22
- language: string;
23
- }
24
- export interface IArticleResultDTO {
25
- id: number;
26
- title: ITitleWithHtmlDTO;
27
- introduction?: IArticleIntroductionDTO;
28
- articleType: string;
29
- supportedLanguages: string[];
30
- }
31
- export interface IArticleResultsDTO {
32
- type: string;
33
- language: string;
34
- totalCount: number;
35
- page: number;
36
- pageSize: number;
37
- results: IArticleResultDTO[];
38
- }
39
- export interface IAudioResultDTO {
40
- id: number;
41
- title: ITitleDTO;
42
- url: string;
43
- supportedLanguages: string[];
44
- }
45
- export interface IAudioResultsDTO {
46
- type: string;
47
- language: string;
48
- totalCount: number;
49
- page: number;
50
- pageSize: number;
51
- results: IAudioResultDTO[];
52
- }
53
- export interface ICommentDTO {
54
- id: string;
55
- content: string;
56
- created: string;
57
- updated: string;
58
- isOpen: boolean;
59
- solved: boolean;
60
- }
61
- export interface IDescriptionDTO {
62
- description: string;
63
- language: string;
64
- }
65
- export interface IDraftResponsibleDTO {
66
- responsibleId: string;
67
- lastUpdated: string;
68
- }
69
- export interface IDraftSearchParamsDTO {
70
- page?: number;
71
- pageSize?: number;
72
- articleTypes?: string[];
73
- contextTypes?: string[];
74
- language?: string;
75
- ids?: number[];
76
- resourceTypes?: string[];
77
- license?: string;
78
- query?: string;
79
- noteQuery?: string;
80
- sort?: Sort;
81
- fallback?: boolean;
82
- subjects?: string[];
83
- languageFilter?: string[];
84
- relevance?: string[];
85
- scrollId?: string;
86
- draftStatus?: string[];
87
- users?: string[];
88
- grepCodes?: string[];
89
- traits?: SearchTrait[];
90
- aggregatePaths?: string[];
91
- embedResource?: string[];
92
- embedId?: string;
93
- includeOtherStatuses?: boolean;
94
- revisionDateFrom?: string;
95
- revisionDateTo?: string;
96
- excludeRevisionLog?: boolean;
97
- responsibleIds?: string[];
98
- filterInactive?: boolean;
99
- prioritized?: boolean;
100
- priority?: string[];
101
- topics?: string[];
102
- publishedDateFrom?: string;
103
- publishedDateTo?: string;
104
- resultTypes?: SearchType[];
105
- }
106
- export interface IGrepKjerneelementDTO {
107
- code: string;
108
- title: ITitleDTO;
109
- description: IDescriptionDTO;
110
- laereplan: IGrepReferencedLaereplanDTO;
111
- typename: "GrepKjerneelementDTO";
112
- }
113
- export interface IGrepKompetansemaalDTO {
114
- code: string;
115
- title: ITitleDTO;
116
- laereplan: IGrepReferencedLaereplanDTO;
117
- kompetansemaalSett: IGrepReferencedKompetansemaalSettDTO;
118
- tverrfagligeTemaer: IGrepTverrfagligTemaDTO[];
119
- kjerneelementer: IGrepReferencedKjerneelementDTO[];
120
- reuseOf?: IGrepReferencedKompetansemaalDTO;
121
- typename: "GrepKompetansemaalDTO";
122
- }
123
- export interface IGrepKompetansemaalSettDTO {
124
- code: string;
125
- title: ITitleDTO;
126
- kompetansemaal: IGrepReferencedKompetansemaalDTO[];
127
- typename: "GrepKompetansemaalSettDTO";
128
- }
129
- export interface IGrepLaererplanDTO {
130
- code: string;
131
- title: ITitleDTO;
132
- replacedBy: IGrepReferencedLaereplanDTO[];
133
- typename: "GrepLaererplanDTO";
134
- }
135
- export interface IGrepReferencedKjerneelementDTO {
136
- code: string;
137
- title: string;
138
- }
139
- export interface IGrepReferencedKompetansemaalDTO {
140
- code: string;
141
- title: string;
142
- }
143
- export interface IGrepReferencedKompetansemaalSettDTO {
144
- code: string;
145
- title: string;
146
- }
147
- export interface IGrepReferencedLaereplanDTO {
148
- code: string;
149
- title: string;
150
- }
151
- export interface IGrepSearchInputDTO {
152
- prefixFilter?: string[];
153
- codes?: string[];
154
- query?: string;
155
- page?: number;
156
- pageSize?: number;
157
- sort?: GrepSort;
158
- language?: string;
159
- }
160
- export interface IGrepSearchResultsDTO {
161
- totalCount: number;
162
- page: number;
163
- pageSize: number;
164
- language: string;
165
- results: GrepResultDTO[];
166
- }
167
- export interface IGrepTverrfagligTemaDTO {
168
- code: string;
169
- title: ITitleDTO;
170
- typename: "GrepTverrfagligTemaDTO";
171
- }
172
- export interface IGroupSearchResultDTO {
173
- totalCount: number;
174
- page?: number;
175
- pageSize: number;
176
- language: string;
177
- results: MultiSummaryBaseDTO[];
178
- suggestions: IMultiSearchSuggestionDTO[];
179
- aggregations: IMultiSearchTermsAggregationDTO[];
180
- resourceType: string;
181
- }
182
- export interface IHighlightedFieldDTO {
183
- field: string;
184
- matches: string[];
185
- }
186
- export interface IImageAltTextDTO {
187
- altText: string;
188
- language: string;
189
- }
190
- export interface IImageResultDTO {
191
- id: number;
192
- title: ITitleDTO;
193
- altText: IImageAltTextDTO;
194
- previewUrl: string;
195
- metaUrl: string;
196
- supportedLanguages: string[];
197
- }
198
- export interface IImageResultsDTO {
199
- type: string;
200
- language: string;
201
- totalCount: number;
202
- page: number;
203
- pageSize: number;
204
- results: IImageResultDTO[];
205
- }
206
- export interface ILearningPathIntroductionDTO {
207
- introduction: string;
208
- language: string;
209
- }
210
- export interface ILearningpathResultDTO {
211
- id: number;
212
- title: ITitleDTO;
213
- introduction: ILearningPathIntroductionDTO;
214
- supportedLanguages: string[];
215
- }
216
- export interface ILearningpathResultsDTO {
217
- type: string;
218
- language: string;
219
- totalCount: number;
220
- page: number;
221
- pageSize: number;
222
- results: ILearningpathResultDTO[];
223
- }
224
- export interface IMetaDescriptionDTO {
225
- metaDescription: string;
226
- language: string;
227
- }
228
- export interface IMetaImageDTO {
229
- url: string;
230
- alt: string;
231
- language: string;
232
- }
233
- export interface IMultiSearchResultDTO {
234
- totalCount: number;
235
- page?: number;
236
- pageSize: number;
237
- language: string;
238
- results: MultiSummaryBaseDTO[];
239
- suggestions: IMultiSearchSuggestionDTO[];
240
- aggregations: IMultiSearchTermsAggregationDTO[];
241
- }
242
- export interface IMultiSearchSuggestionDTO {
243
- name: string;
244
- suggestions: ISearchSuggestionDTO[];
245
- }
246
- export interface IMultiSearchSummaryDTO {
247
- id: number;
248
- title: ITitleWithHtmlDTO;
249
- metaDescription: IMetaDescriptionDTO;
250
- metaImage?: IMetaImageDTO;
251
- url: string;
252
- context?: IApiTaxonomyContextDTO;
253
- contexts: IApiTaxonomyContextDTO[];
254
- supportedLanguages: string[];
255
- learningResourceType: LearningResourceType;
256
- status?: IStatusDTO;
257
- traits: SearchTrait[];
258
- score: number;
259
- highlights: IHighlightedFieldDTO[];
260
- paths: string[];
261
- lastUpdated: string;
262
- license?: string;
263
- revisions: IRevisionMetaDTO[];
264
- responsible?: IDraftResponsibleDTO;
265
- comments?: ICommentDTO[];
266
- prioritized?: boolean;
267
- priority?: string;
268
- resourceTypeName?: string;
269
- parentTopicName?: string;
270
- primaryRootName?: string;
271
- published?: string;
272
- favorited?: number;
273
- resultType: SearchType;
274
- typename: "MultiSearchSummaryDTO";
275
- }
276
- export interface IMultiSearchTermsAggregationDTO {
277
- field: string;
278
- sumOtherDocCount: number;
279
- docCountErrorUpperBound: number;
280
- values: ITermValueDTO[];
281
- }
282
- export interface INODE {
283
- typename: "NODE";
284
- }
285
- export interface INodeHitDTO {
286
- id: string;
287
- title: string;
288
- url?: string;
289
- subjectPage?: ISubjectPageSummaryDTO;
290
- context?: IApiTaxonomyContextDTO;
291
- contexts: IApiTaxonomyContextDTO[];
292
- typename: "NodeHitDTO";
293
- }
294
- export interface IPROGRAMME {
295
- typename: "PROGRAMME";
296
- }
297
- export interface IRESOURCE {
298
- typename: "RESOURCE";
299
- }
300
- export interface IRevisionMetaDTO {
301
- revisionDate: string;
302
- note: string;
303
- status: string;
304
- }
305
- export interface ISUBJECT {
306
- typename: "SUBJECT";
307
- }
308
- export interface ISearchParamsDTO {
309
- page?: number;
310
- pageSize?: number;
311
- articleTypes?: string[];
312
- scrollId?: string;
313
- query?: string;
314
- fallback?: boolean;
315
- language?: string;
316
- license?: string;
317
- ids?: number[];
318
- subjects?: string[];
319
- resourceTypes?: string[];
320
- contextTypes?: string[];
321
- relevance?: string[];
322
- languageFilter?: string[];
323
- grepCodes?: string[];
324
- traits?: SearchTrait[];
325
- aggregatePaths?: string[];
326
- embedResource?: string[];
327
- embedId?: string;
328
- filterInactive?: boolean;
329
- resultTypes?: SearchType[];
330
- nodeTypeFilter?: NodeType[];
331
- sort?: string;
332
- }
333
- export interface ISearchSuggestionDTO {
334
- text: string;
335
- offset: number;
336
- length: number;
337
- options: ISuggestOptionDTO[];
338
- }
339
- export interface IStatusDTO {
340
- current: string;
341
- other: string[];
342
- }
343
- export interface ISubjectAggregationDTO {
344
- subjectId: string;
345
- publishedArticleCount: number;
346
- oldArticleCount: number;
347
- revisionCount: number;
348
- flowCount: number;
349
- favoritedCount: number;
350
- }
351
- export interface ISubjectAggregationsDTO {
352
- subjects: ISubjectAggregationDTO[];
353
- }
354
- export interface ISubjectAggsInputDTO {
355
- subjects?: string[];
356
- }
357
- export interface ISubjectPageSummaryDTO {
358
- id: number;
359
- name: string;
360
- metaDescription: IMetaDescriptionDTO;
361
- }
362
- export interface ISuggestOptionDTO {
363
- text: string;
364
- score: number;
365
- }
366
- export interface ITOPIC {
367
- typename: "TOPIC";
368
- }
369
- export interface ITaxonomyResourceTypeDTO {
370
- id: string;
371
- name: string;
372
- language: string;
373
- }
374
- export interface ITermValueDTO {
375
- value: string;
376
- count: number;
377
- }
378
- export interface ITitleDTO {
379
- title: string;
380
- language: string;
381
- }
382
- export interface ITitleWithHtmlDTO {
383
- title: string;
384
- htmlTitle: string;
385
- language: string;
386
- }
387
- export type LearningResourceType = ("standard" | "topic-article" | "frontpage-article" | "learningpath" | "concept" | "gloss");
388
- export type MultiSummaryBaseDTO = (IMultiSearchSummaryDTO | INodeHitDTO);
389
- export type NodeType = (IRESOURCE | IPROGRAMME | ISUBJECT | ITOPIC | INODE);
390
- export type SearchTrait = ("VIDEO" | "H5P" | "AUDIO" | "PODCAST");
391
- export type SearchType = ("article" | "draft" | "learningpath" | "concept" | "grep" | "node");
392
- export type Sort = SortEnum;
393
- export declare enum SortEnum {
394
- ByRelevanceDesc = "-relevance",
395
- ByRelevanceAsc = "relevance",
396
- ByTitleDesc = "-title",
397
- ByTitleAsc = "title",
398
- ByLastUpdatedDesc = "-lastUpdated",
399
- ByLastUpdatedAsc = "lastUpdated",
400
- ByIdDesc = "-id",
401
- ByIdAsc = "id",
402
- ByDurationDesc = "-duration",
403
- ByDurationAsc = "duration",
404
- ByRevisionDateAsc = "revisionDate",
405
- ByRevisionDateDesc = "-revisionDate",
406
- ByResponsibleLastUpdatedAsc = "responsibleLastUpdated",
407
- ByResponsibleLastUpdatedDesc = "-responsibleLastUpdated",
408
- ByStatusAsc = "status",
409
- ByStatusDesc = "-status",
410
- ByPrioritizedDesc = "-prioritized",
411
- ByPrioritizedAsc = "prioritized",
412
- ByParentTopicNameDesc = "-parentTopicName",
413
- ByParentTopicNameAsc = "parentTopicName",
414
- ByPrimaryRootDesc = "-primaryRoot",
415
- ByPrimaryRootAsc = "primaryRoot",
416
- ByResourceTypeDesc = "-resourceType",
417
- ByResourceTypeAsc = "resourceType",
418
- ByPublishedDesc = "-published",
419
- ByPublishedAsc = "published",
420
- ByFavoritedDesc = "-favorited",
421
- ByFavoritedAsc = "favorited"
422
- }
1
+ import * as openapi from "./search-api-openapi";
2
+ type schemas = openapi.components["schemas"];
3
+ export { openapi };
4
+ export type AllErrors = schemas["AllErrors"];
5
+ export type IAllErrors = schemas["AllErrors"];
6
+ export type ApiTaxonomyContextDTO = schemas["ApiTaxonomyContextDTO"];
7
+ export type IApiTaxonomyContextDTO = schemas["ApiTaxonomyContextDTO"];
8
+ export type CommentDTO = schemas["CommentDTO"];
9
+ export type ICommentDTO = schemas["CommentDTO"];
10
+ export type DescriptionDTO = schemas["DescriptionDTO"];
11
+ export type IDescriptionDTO = schemas["DescriptionDTO"];
12
+ export type DraftResponsibleDTO = schemas["DraftResponsibleDTO"];
13
+ export type IDraftResponsibleDTO = schemas["DraftResponsibleDTO"];
14
+ export type DraftSearchParamsDTO = schemas["DraftSearchParamsDTO"];
15
+ export type IDraftSearchParamsDTO = schemas["DraftSearchParamsDTO"];
16
+ export type ErrorBody = schemas["ErrorBody"];
17
+ export type IErrorBody = schemas["ErrorBody"];
18
+ export type GrepKjerneelementDTO = schemas["GrepKjerneelementDTO"];
19
+ export type IGrepKjerneelementDTO = schemas["GrepKjerneelementDTO"];
20
+ export type GrepKjerneelementDTO1 = schemas["GrepKjerneelementDTO1"];
21
+ export type IGrepKjerneelementDTO1 = schemas["GrepKjerneelementDTO1"];
22
+ export type GrepKompetansemaalDTO = schemas["GrepKompetansemaalDTO"];
23
+ export type IGrepKompetansemaalDTO = schemas["GrepKompetansemaalDTO"];
24
+ export type GrepKompetansemaalDTO1 = schemas["GrepKompetansemaalDTO1"];
25
+ export type IGrepKompetansemaalDTO1 = schemas["GrepKompetansemaalDTO1"];
26
+ export type GrepKompetansemaalSettDTO = schemas["GrepKompetansemaalSettDTO"];
27
+ export type IGrepKompetansemaalSettDTO = schemas["GrepKompetansemaalSettDTO"];
28
+ export type GrepKompetansemaalSettDTO1 = schemas["GrepKompetansemaalSettDTO1"];
29
+ export type IGrepKompetansemaalSettDTO1 = schemas["GrepKompetansemaalSettDTO1"];
30
+ export type GrepLaererplanDTO = schemas["GrepLaererplanDTO"];
31
+ export type IGrepLaererplanDTO = schemas["GrepLaererplanDTO"];
32
+ export type GrepLaererplanDTO1 = schemas["GrepLaererplanDTO1"];
33
+ export type IGrepLaererplanDTO1 = schemas["GrepLaererplanDTO1"];
34
+ export type GrepReferencedKjerneelementDTO = schemas["GrepReferencedKjerneelementDTO"];
35
+ export type IGrepReferencedKjerneelementDTO = schemas["GrepReferencedKjerneelementDTO"];
36
+ export type GrepReferencedKompetansemaalDTO = schemas["GrepReferencedKompetansemaalDTO"];
37
+ export type IGrepReferencedKompetansemaalDTO = schemas["GrepReferencedKompetansemaalDTO"];
38
+ export type GrepReferencedKompetansemaalSettDTO = schemas["GrepReferencedKompetansemaalSettDTO"];
39
+ export type IGrepReferencedKompetansemaalSettDTO = schemas["GrepReferencedKompetansemaalSettDTO"];
40
+ export type GrepReferencedLaereplanDTO = schemas["GrepReferencedLaereplanDTO"];
41
+ export type IGrepReferencedLaereplanDTO = schemas["GrepReferencedLaereplanDTO"];
42
+ export type GrepResultDTO = schemas["GrepResultDTO"];
43
+ export type IGrepResultDTO = schemas["GrepResultDTO"];
44
+ export type GrepSearchInputDTO = schemas["GrepSearchInputDTO"];
45
+ export type IGrepSearchInputDTO = schemas["GrepSearchInputDTO"];
46
+ export type GrepSearchResultsDTO = schemas["GrepSearchResultsDTO"];
47
+ export type IGrepSearchResultsDTO = schemas["GrepSearchResultsDTO"];
48
+ export type GrepSortDTO = schemas["GrepSortDTO"];
49
+ export type IGrepSortDTO = schemas["GrepSortDTO"];
50
+ export type GrepTverrfagligTemaDTO = schemas["GrepTverrfagligTemaDTO"];
51
+ export type IGrepTverrfagligTemaDTO = schemas["GrepTverrfagligTemaDTO"];
52
+ export type GrepTverrfagligTemaDTO1 = schemas["GrepTverrfagligTemaDTO1"];
53
+ export type IGrepTverrfagligTemaDTO1 = schemas["GrepTverrfagligTemaDTO1"];
54
+ export type GroupSearchResultDTO = schemas["GroupSearchResultDTO"];
55
+ export type IGroupSearchResultDTO = schemas["GroupSearchResultDTO"];
56
+ export type HighlightedFieldDTO = schemas["HighlightedFieldDTO"];
57
+ export type IHighlightedFieldDTO = schemas["HighlightedFieldDTO"];
58
+ export type LearningResourceType = schemas["LearningResourceType"];
59
+ export type ILearningResourceType = schemas["LearningResourceType"];
60
+ export type Map_String = schemas["Map_String"];
61
+ export type IMap_String = schemas["Map_String"];
62
+ export type MetaDescriptionDTO = schemas["MetaDescriptionDTO"];
63
+ export type IMetaDescriptionDTO = schemas["MetaDescriptionDTO"];
64
+ export type MetaImageDTO = schemas["MetaImageDTO"];
65
+ export type IMetaImageDTO = schemas["MetaImageDTO"];
66
+ export type MultiSearchResultDTO = schemas["MultiSearchResultDTO"];
67
+ export type IMultiSearchResultDTO = schemas["MultiSearchResultDTO"];
68
+ export type MultiSearchSuggestionDTO = schemas["MultiSearchSuggestionDTO"];
69
+ export type IMultiSearchSuggestionDTO = schemas["MultiSearchSuggestionDTO"];
70
+ export type MultiSearchSummaryDTO = schemas["MultiSearchSummaryDTO"];
71
+ export type IMultiSearchSummaryDTO = schemas["MultiSearchSummaryDTO"];
72
+ export type MultiSearchSummaryDTO1 = schemas["MultiSearchSummaryDTO1"];
73
+ export type IMultiSearchSummaryDTO1 = schemas["MultiSearchSummaryDTO1"];
74
+ export type MultiSearchTermsAggregationDTO = schemas["MultiSearchTermsAggregationDTO"];
75
+ export type IMultiSearchTermsAggregationDTO = schemas["MultiSearchTermsAggregationDTO"];
76
+ export type MultiSummaryBaseDTO = schemas["MultiSummaryBaseDTO"];
77
+ export type IMultiSummaryBaseDTO = schemas["MultiSummaryBaseDTO"];
78
+ export type NodeHitDTO = schemas["NodeHitDTO"];
79
+ export type INodeHitDTO = schemas["NodeHitDTO"];
80
+ export type NodeHitDTO1 = schemas["NodeHitDTO1"];
81
+ export type INodeHitDTO1 = schemas["NodeHitDTO1"];
82
+ export type NodeType = schemas["NodeType"];
83
+ export type INodeType = schemas["NodeType"];
84
+ export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
85
+ export type INotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
86
+ export type RevisionMetaDTO = schemas["RevisionMetaDTO"];
87
+ export type IRevisionMetaDTO = schemas["RevisionMetaDTO"];
88
+ export type SearchParamsDTO = schemas["SearchParamsDTO"];
89
+ export type ISearchParamsDTO = schemas["SearchParamsDTO"];
90
+ export type SearchSuggestionDTO = schemas["SearchSuggestionDTO"];
91
+ export type ISearchSuggestionDTO = schemas["SearchSuggestionDTO"];
92
+ export type SearchTrait = schemas["SearchTrait"];
93
+ export type ISearchTrait = schemas["SearchTrait"];
94
+ export type SearchType = schemas["SearchType"];
95
+ export type ISearchType = schemas["SearchType"];
96
+ export type Sort = schemas["Sort"];
97
+ export type ISort = schemas["Sort"];
98
+ export type StatusDTO = schemas["StatusDTO"];
99
+ export type IStatusDTO = schemas["StatusDTO"];
100
+ export type SubjectAggregationDTO = schemas["SubjectAggregationDTO"];
101
+ export type ISubjectAggregationDTO = schemas["SubjectAggregationDTO"];
102
+ export type SubjectAggregationsDTO = schemas["SubjectAggregationsDTO"];
103
+ export type ISubjectAggregationsDTO = schemas["SubjectAggregationsDTO"];
104
+ export type SubjectAggsInputDTO = schemas["SubjectAggsInputDTO"];
105
+ export type ISubjectAggsInputDTO = schemas["SubjectAggsInputDTO"];
106
+ export type SubjectPageSummaryDTO = schemas["SubjectPageSummaryDTO"];
107
+ export type ISubjectPageSummaryDTO = schemas["SubjectPageSummaryDTO"];
108
+ export type SuggestOptionDTO = schemas["SuggestOptionDTO"];
109
+ export type ISuggestOptionDTO = schemas["SuggestOptionDTO"];
110
+ export type TaxonomyResourceTypeDTO = schemas["TaxonomyResourceTypeDTO"];
111
+ export type ITaxonomyResourceTypeDTO = schemas["TaxonomyResourceTypeDTO"];
112
+ export type TermValueDTO = schemas["TermValueDTO"];
113
+ export type ITermValueDTO = schemas["TermValueDTO"];
114
+ export type TitleDTO = schemas["TitleDTO"];
115
+ export type ITitleDTO = schemas["TitleDTO"];
116
+ export type TitleWithHtmlDTO = schemas["TitleWithHtmlDTO"];
117
+ export type ITitleWithHtmlDTO = schemas["TitleWithHtmlDTO"];
118
+ export type ValidationErrorBody = schemas["ValidationErrorBody"];
119
+ export type IValidationErrorBody = schemas["ValidationErrorBody"];
120
+ export type ValidationMessage = schemas["ValidationMessage"];
121
+ export type IValidationMessage = schemas["ValidationMessage"];
@@ -1,36 +1,30 @@
1
1
  "use strict";
2
- // DO NOT EDIT: generated file by scala-tsi
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
3
25
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.SortEnum = void 0;
5
- var SortEnum;
6
- (function (SortEnum) {
7
- SortEnum["ByRelevanceDesc"] = "-relevance";
8
- SortEnum["ByRelevanceAsc"] = "relevance";
9
- SortEnum["ByTitleDesc"] = "-title";
10
- SortEnum["ByTitleAsc"] = "title";
11
- SortEnum["ByLastUpdatedDesc"] = "-lastUpdated";
12
- SortEnum["ByLastUpdatedAsc"] = "lastUpdated";
13
- SortEnum["ByIdDesc"] = "-id";
14
- SortEnum["ByIdAsc"] = "id";
15
- SortEnum["ByDurationDesc"] = "-duration";
16
- SortEnum["ByDurationAsc"] = "duration";
17
- SortEnum["ByRevisionDateAsc"] = "revisionDate";
18
- SortEnum["ByRevisionDateDesc"] = "-revisionDate";
19
- SortEnum["ByResponsibleLastUpdatedAsc"] = "responsibleLastUpdated";
20
- SortEnum["ByResponsibleLastUpdatedDesc"] = "-responsibleLastUpdated";
21
- SortEnum["ByStatusAsc"] = "status";
22
- SortEnum["ByStatusDesc"] = "-status";
23
- SortEnum["ByPrioritizedDesc"] = "-prioritized";
24
- SortEnum["ByPrioritizedAsc"] = "prioritized";
25
- SortEnum["ByParentTopicNameDesc"] = "-parentTopicName";
26
- SortEnum["ByParentTopicNameAsc"] = "parentTopicName";
27
- SortEnum["ByPrimaryRootDesc"] = "-primaryRoot";
28
- SortEnum["ByPrimaryRootAsc"] = "primaryRoot";
29
- SortEnum["ByResourceTypeDesc"] = "-resourceType";
30
- SortEnum["ByResourceTypeAsc"] = "resourceType";
31
- SortEnum["ByPublishedDesc"] = "-published";
32
- SortEnum["ByPublishedAsc"] = "published";
33
- SortEnum["ByFavoritedDesc"] = "-favorited";
34
- SortEnum["ByFavoritedAsc"] = "favorited";
35
- })(SortEnum || (exports.SortEnum = SortEnum = {}));
26
+ exports.openapi = void 0;
27
+ // This file was generated by OpenApiPlugin, do not edit it manually
28
+ var openapi = __importStar(require("./search-api-openapi"));
29
+ exports.openapi = openapi;
36
30
  //# sourceMappingURL=search-api.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AAwc3C,IAAY,QA6BX;AA7BD,WAAY,QAAQ;IAClB,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;IAC5B,kCAAsB,CAAA;IACtB,gCAAoB,CAAA;IACpB,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,4BAAgB,CAAA;IAChB,0BAAc,CAAA;IACd,wCAA4B,CAAA;IAC5B,sCAA0B,CAAA;IAC1B,8CAAkC,CAAA;IAClC,gDAAoC,CAAA;IACpC,kEAAsD,CAAA;IACtD,oEAAwD,CAAA;IACxD,kCAAsB,CAAA;IACtB,oCAAwB,CAAA;IACxB,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,sDAA0C,CAAA;IAC1C,oDAAwC,CAAA;IACxC,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,gDAAoC,CAAA;IACpC,8CAAkC,CAAA;IAClC,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;IAC5B,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;AAC9B,CAAC,EA7BW,QAAQ,wBAAR,QAAQ,QA6BnB"}
1
+ {"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oEAAoE;AACpE,4DAAgD;AAGvC,0BAAO"}
package/package.json CHANGED
@@ -25,7 +25,8 @@
25
25
  "search-api"
26
26
  ],
27
27
  "devDependencies": {
28
+ "openapi-typescript": "^7.6.1",
28
29
  "typescript": "^5.3.3"
29
30
  },
30
- "version": "1.0.34"
31
+ "version": "1.0.35"
31
32
  }