@libretexts/cxone-expert-node 1.0.0 → 1.1.0

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/README.md +39 -39
  2. package/dist/cxone-expert-node.cjs.development.js +1511 -0
  3. package/dist/cxone-expert-node.cjs.development.js.map +1 -0
  4. package/dist/cxone-expert-node.cjs.production.min.js +2 -0
  5. package/dist/cxone-expert-node.cjs.production.min.js.map +1 -0
  6. package/dist/cxone-expert-node.esm.js +1505 -0
  7. package/dist/cxone-expert-node.esm.js.map +1 -0
  8. package/dist/index.d.ts +32 -0
  9. package/dist/index.js +8 -0
  10. package/dist/modules/archive.d.ts +18 -0
  11. package/dist/modules/auth.d.ts +8 -0
  12. package/dist/modules/contextMaps.d.ts +10 -0
  13. package/dist/modules/events.d.ts +15 -0
  14. package/dist/modules/files.d.ts +23 -0
  15. package/dist/modules/groups.d.ts +11 -0
  16. package/dist/modules/pages.d.ts +68 -0
  17. package/dist/modules/requests.d.ts +14 -0
  18. package/dist/modules/site.d.ts +22 -0
  19. package/dist/modules/users.d.ts +16 -0
  20. package/dist/types/archive.d.ts +78 -0
  21. package/dist/types/auth.d.ts +11 -0
  22. package/dist/types/contextMaps.d.ts +34 -0
  23. package/dist/types/events.d.ts +68 -0
  24. package/dist/types/files.d.ts +61 -0
  25. package/dist/types/groups.d.ts +57 -0
  26. package/dist/types/index.d.ts +19 -0
  27. package/dist/types/pages.d.ts +735 -0
  28. package/dist/types/requests.d.ts +9 -0
  29. package/dist/types/security.d.ts +57 -0
  30. package/dist/types/site.d.ts +254 -0
  31. package/dist/types/users.d.ts +81 -0
  32. package/dist/utils.d.ts +2 -0
  33. package/license.md +20 -20
  34. package/package.json +12 -5
  35. package/src/index.ts +105 -35
  36. package/src/modules/archive.ts +186 -0
  37. package/src/modules/auth.ts +35 -31
  38. package/src/modules/contextMaps.ts +56 -0
  39. package/src/modules/events.ts +140 -0
  40. package/src/modules/files.ts +291 -0
  41. package/src/modules/groups.ts +79 -0
  42. package/src/modules/pages.ts +1236 -73
  43. package/src/modules/requests.ts +67 -67
  44. package/src/modules/site.ts +266 -0
  45. package/src/modules/users.ts +161 -0
  46. package/src/types/archive.ts +101 -0
  47. package/src/types/auth.ts +13 -13
  48. package/src/types/contextMaps.ts +46 -0
  49. package/src/types/events.ts +91 -0
  50. package/src/types/files.ts +87 -0
  51. package/src/types/groups.ts +74 -0
  52. package/src/types/index.ts +21 -14
  53. package/src/types/pages.ts +856 -171
  54. package/src/types/requests.ts +10 -10
  55. package/src/types/security.ts +60 -47
  56. package/src/types/site.ts +304 -0
  57. package/src/types/users.ts +101 -0
  58. package/src/utils.ts +8 -8
  59. package/.github/workflows/release.yaml +0 -37
  60. package/.releaserc.json +0 -15
  61. package/tsconfig.json +0 -26
@@ -0,0 +1,735 @@
1
+ import { BaseQueryParams, PaginationQueryParams, RequestModeQueryParam } from "./requests";
2
+ import { ExpertUser, PageSecurity } from "./security";
3
+ export declare type GetPagesParams = {
4
+ startpage?: boolean;
5
+ format?: "html" | "xml" | "google";
6
+ authenticate?: boolean;
7
+ };
8
+ export declare type GetPagesResponse = {
9
+ "@id"?: string;
10
+ "@guid"?: string;
11
+ "@draft.state"?: string;
12
+ "@href"?: string;
13
+ "@deleted"?: string;
14
+ "date.created"?: string;
15
+ language?: string;
16
+ namespace?: string;
17
+ path?: Partial<PagePath> | "";
18
+ subpages?: Partial<Subpages> | "";
19
+ title?: string;
20
+ "uri.ui"?: string;
21
+ };
22
+ export declare type GetPageParams = {
23
+ format?: "html" | "xhtml";
24
+ revision?: string;
25
+ include?: "contents" | "prevnext";
26
+ includeDeleted?: boolean;
27
+ mode?: RequestModeQueryParam;
28
+ exclude?: string;
29
+ } & BaseQueryParams;
30
+ export declare type GetPageResponse = Partial<PageBase> & Partial<PageExtended>;
31
+ export declare type GetPageContentsParams = {
32
+ overview?: boolean;
33
+ include?: boolean;
34
+ reltopath?: string;
35
+ relto?: number;
36
+ pageid?: number;
37
+ includes?: "overview" | "tags" | "overview,tags";
38
+ format?: "html" | "xhtml" | "text" | "dekicode";
39
+ highlight?: string;
40
+ revision?: string;
41
+ mode: RequestModeQueryParam;
42
+ section?: string;
43
+ } & BaseQueryParams;
44
+ export declare type GetPageContentsResponse = {
45
+ "@revision"?: string;
46
+ "@type"?: string;
47
+ "@title"?: string;
48
+ body?: string[] | "";
49
+ head?: string;
50
+ tail?: string;
51
+ };
52
+ export declare type GetPageContentsExplainParams = {
53
+ overview?: boolean;
54
+ include?: string;
55
+ reltopath?: string;
56
+ relto?: number;
57
+ pageid?: number;
58
+ includes?: "overview" | "tags" | "overview,tags";
59
+ format?: "html" | "xhtml" | "text" | "dekicode";
60
+ highlight?: string;
61
+ revision?: string;
62
+ mode: RequestModeQueryParam;
63
+ section?: string;
64
+ } & BaseQueryParams;
65
+ export declare type GetPageContentsExplainResponse = {
66
+ "@elapsed"?: string;
67
+ "@id"?: string;
68
+ "@Path"?: string;
69
+ "@version"?: string;
70
+ calls?: {
71
+ "@elapsed"?: string;
72
+ "@count-total"?: string;
73
+ "@count-unique"?: string;
74
+ expr?: exprCall | exprCall[] | "";
75
+ import?: importCall | importCall[] | "";
76
+ page?: pageCall | pageCall[] | "";
77
+ property?: propertyCall | propertyCall[] | "";
78
+ template?: templateCall | templateCall[] | "";
79
+ };
80
+ "data-stats"?: {
81
+ entry?: Entry | Entry[] | "";
82
+ };
83
+ "db-summary"?: {
84
+ "@elapsed"?: string;
85
+ "@count"?: string;
86
+ query?: Query | Query[] | "";
87
+ };
88
+ "hs-summary"?: {
89
+ "@elapsed"?: string;
90
+ "@count"?: string;
91
+ query?: Query | Query[] | "";
92
+ };
93
+ "redis-summary"?: {
94
+ "@elapsed"?: string;
95
+ "@count"?: string;
96
+ query?: Query | Query[] | "";
97
+ };
98
+ };
99
+ export declare type GetPageDiffParams = {
100
+ diff?: "combined" | "all";
101
+ previous?: string;
102
+ format?: "html" | "xhtml";
103
+ mode?: RequestModeQueryParam;
104
+ revision?: string;
105
+ } & BaseQueryParams;
106
+ export declare type GetPageDiffResponse = {
107
+ "@type"?: string;
108
+ "#text"?: string;
109
+ };
110
+ export declare type GetPageExplainParams = GetPageParams;
111
+ export declare type GetPageExplainResponse = GetPageResponse;
112
+ export declare type GetPageExportTokenParams = {
113
+ recursive?: boolean;
114
+ token?: string;
115
+ pageid?: number;
116
+ reltopath?: string;
117
+ relto?: number;
118
+ dryrun?: boolean;
119
+ };
120
+ export declare type GetPageExportTokenFilenameParams = GetPageExportTokenParams;
121
+ export declare type GetPageFilesSubPagesParams = BaseQueryParams;
122
+ export declare type GetPageFilesSubPagesResponse = {
123
+ "@id"?: string;
124
+ "@guid"?: string;
125
+ "@draft.state"?: string;
126
+ "@href"?: string;
127
+ "@deleted"?: string;
128
+ "date.created"?: string;
129
+ files?: {
130
+ "@count?": string;
131
+ "@href?": string;
132
+ file?: Partial<PageFile> | Partial<PageFile>[] | "";
133
+ } | "";
134
+ language?: string;
135
+ namespace?: string;
136
+ path?: Partial<PagePath> | "";
137
+ subpages?: Partial<page_subpage> | "";
138
+ title?: string;
139
+ "uri.ui"?: string;
140
+ };
141
+ export declare type GetPageFilesParams = BaseQueryParams & PaginationQueryParams;
142
+ export declare type GetPageFilesResponse = {
143
+ "@count": string;
144
+ "@offset": string;
145
+ "@totalcount": string;
146
+ "@href": string;
147
+ file?: Partial<PageFile> | Partial<PageFile>[] | "";
148
+ };
149
+ export declare type GetPageFileParams = {
150
+ includeDeleted?: boolean;
151
+ revision?: string;
152
+ size?: "original" | "thumb" | "webview" | "bestfit" | "custom";
153
+ format?: "jpg" | "png" | "bmp" | "gif";
154
+ ratio?: "fixed" | "var";
155
+ width?: number;
156
+ height?: number;
157
+ } & BaseQueryParams;
158
+ export declare type GetPageFileDescriptionParams = {
159
+ revision?: string;
160
+ } & BaseQueryParams;
161
+ export declare type GetPageFileInfoParams = {
162
+ includeDeleted?: boolean;
163
+ revision?: string;
164
+ } & BaseQueryParams;
165
+ export declare type GetPageFileInfoResponse = Partial<PageFile>;
166
+ export declare type GetPageFileRevisionsParams = {
167
+ changefilter?: "CONTENT" | "NAME" | "LANGUAGE" | "META" | "DELETEFLAG" | "PARENT";
168
+ } & BaseQueryParams;
169
+ export declare type GetPageFileRevisionsResponse = {
170
+ "@count"?: string;
171
+ "@totalcount"?: string;
172
+ "@href"?: string;
173
+ file?: Partial<PageFile> | Partial<PageFile>[] | "";
174
+ };
175
+ export declare type GetPageFindParams = {
176
+ tags?: string;
177
+ missingclarifications?: string;
178
+ since?: string;
179
+ upto?: string;
180
+ include?: string;
181
+ };
182
+ export declare type GetPageFindResponse = {
183
+ "@count"?: string;
184
+ "@totalcount"?: string;
185
+ page?: "" | (Partial<PageBase> & Partial<Tags>) | (Partial<PageBase> & Partial<Tags>)[];
186
+ };
187
+ export declare type GetPageInfoParams = {
188
+ exclude?: string;
189
+ } & BaseQueryParams;
190
+ export declare type GetPageInfoResponse = Partial<PageBase>;
191
+ export declare type GetPageLinksParams = {
192
+ dir: "from" | "to";
193
+ } & BaseQueryParams;
194
+ export declare type GetPageLinksResponse = {
195
+ "@count"?: string;
196
+ page?: Partial<PageBase> | Partial<PageBase>[] | "";
197
+ };
198
+ export declare type GetPagePdfParams = {
199
+ showtoc?: boolean;
200
+ format?: "pdf" | "html";
201
+ authenticate?: boolean;
202
+ stylesheet?: string;
203
+ };
204
+ export declare type GetPagePdfFilenameParams = GetPagePdfParams;
205
+ export declare type GetPagePropertiesParams = {
206
+ depth?: number;
207
+ name?: string;
208
+ contentcutoff?: number;
209
+ } & BaseQueryParams;
210
+ export declare type GetPagePropertiesResponse = {
211
+ "@count"?: string;
212
+ "@href"?: string;
213
+ property?: Partial<PageProperty> | Partial<PageProperty>[] | "";
214
+ };
215
+ export declare type GetPagePropertiesKeyParams = BaseQueryParams;
216
+ export declare type GetPagePropertiesKeyInfoParams = {
217
+ contentcutoff?: number;
218
+ } & BaseQueryParams;
219
+ export declare type GetPagePropertiesKeyInfoResponse = Partial<PageProperty> | Partial<PageProperty>[] | "";
220
+ export declare type GetPageRatingsParams = BaseQueryParams;
221
+ export declare type GetPageRatingsResponse = PageRating;
222
+ export declare type GetPageRevisionsParams = {
223
+ revision?: string;
224
+ deleted?: boolean;
225
+ } & BaseQueryParams & PaginationQueryParams;
226
+ export declare type GetPageRevisionsResponse = {
227
+ page?: (Partial<PageBase> & Partial<PageExtended>) | (Partial<PageBase> & Partial<PageExtended>)[] | "";
228
+ };
229
+ export declare type GetPageSecurityParams = BaseQueryParams & {
230
+ export?: boolean;
231
+ };
232
+ export declare type GetPageSecurityResponse = Partial<PageSecurity>;
233
+ export declare type GetPageSubPagesParams = BaseQueryParams & PaginationQueryParams;
234
+ export declare type GetPageSubPagesResponse = Partial<page_subpage>;
235
+ export declare type GetPageTagsParams = {
236
+ exports?: boolean;
237
+ } & BaseQueryParams;
238
+ export declare type GetPageTagsResponse = Partial<Tags>;
239
+ export declare type GetPageTreeParams = {
240
+ startpage?: boolean;
241
+ format?: "html" | "xml" | "google";
242
+ include?: string;
243
+ authenticate?: boolean;
244
+ };
245
+ export declare type GetPageTreeResponse = Partial<GetPagesResponse>;
246
+ export declare type GetPageBookParams = {
247
+ format?: "html" | "pdf";
248
+ title?: string;
249
+ showtoc?: boolean;
250
+ authenticate?: boolean;
251
+ stylesheet?: string;
252
+ pageids: number;
253
+ filename?: string;
254
+ };
255
+ export declare type GetPageBookFilenameParams = GetPageBookParams;
256
+ export declare type GetPagesCsvParams = {
257
+ filename?: string;
258
+ pageids: string;
259
+ };
260
+ export declare type GetPagesPopularParams = BaseQueryParams & PaginationQueryParams;
261
+ export declare type GetPagesPopularResponse = {
262
+ "@count"?: string;
263
+ "@href"?: string;
264
+ page?: (Partial<PageBase> & Partial<PageExtended>) | (Partial<PageBase> & Partial<PageExtended>)[] | "";
265
+ };
266
+ export declare type PostPageContentsParams = {
267
+ ordered?: boolean;
268
+ restriction?: string;
269
+ importtime?: string;
270
+ overwrite?: boolean;
271
+ reltopath?: string;
272
+ relto?: number;
273
+ abort?: "never" | "modified" | "exists";
274
+ xpath?: string;
275
+ section?: number;
276
+ title?: string;
277
+ comment?: string;
278
+ edittime: string;
279
+ authenticate?: boolean;
280
+ redirects?: number;
281
+ tidy?: "remove" | "convert";
282
+ };
283
+ export declare type PostPageContentsResponse = {
284
+ edit: {
285
+ "@status": "success" | "conflict";
286
+ page: {
287
+ "@id": number;
288
+ "@href": string;
289
+ title: string;
290
+ path: string;
291
+ };
292
+ "page.base": {
293
+ "@id": number;
294
+ "@revision": number;
295
+ "@href": string;
296
+ title: string;
297
+ path: string;
298
+ "date.edited": string;
299
+ "user.author": {
300
+ "@id": number;
301
+ "@href": string;
302
+ nick: string;
303
+ username: string;
304
+ email: string;
305
+ };
306
+ description: string;
307
+ contents: {
308
+ "@type": string;
309
+ "@href": string;
310
+ };
311
+ };
312
+ "page.overwritten"?: {
313
+ "@id": number;
314
+ "@revision": number;
315
+ "@href": string;
316
+ title: string;
317
+ path: string;
318
+ "date.edited": string;
319
+ "user.author": {
320
+ "@id": number;
321
+ "@href": string;
322
+ nick: string;
323
+ username: string;
324
+ email: string;
325
+ };
326
+ description: string;
327
+ contents: {
328
+ "@type": string;
329
+ "@href": string;
330
+ };
331
+ };
332
+ };
333
+ };
334
+ export declare type DeletePageParams = {
335
+ recursive?: boolean;
336
+ } & BaseQueryParams;
337
+ export declare type DeletePageResponse = {
338
+ deletedPages?: {
339
+ "@count"?: number;
340
+ page?: Partial<DeletedPage> | Partial<DeletedPage>[] | "";
341
+ };
342
+ };
343
+ export declare type PostPageAllowedParams = {
344
+ permissions?: string;
345
+ };
346
+ export declare type PostPageAllowedResponse = {
347
+ users?: {
348
+ user: Partial<Allowed> | Partial<Allowed>[] | "";
349
+ };
350
+ };
351
+ export declare type PostCopyPageParams = {
352
+ to: string;
353
+ title?: string;
354
+ abort?: 'never' | 'exists';
355
+ recursive?: boolean;
356
+ tags?: boolean;
357
+ attachments?: boolean;
358
+ } & BaseQueryParams;
359
+ export declare type PostCopyPageResponse = {
360
+ 'pages.copied?': {
361
+ "@count"?: string;
362
+ page?: Partial<PageBase> | Partial<PageBase>[] | "";
363
+ } | "";
364
+ };
365
+ export declare type DeletePageFileNameParams = BaseQueryParams;
366
+ export declare type HeadPageFileNameParams = {
367
+ includeDeleted?: boolean;
368
+ revision?: string;
369
+ size?: "original" | "thumb" | "webview" | "bestfit" | "custom";
370
+ format?: "jpg" | "png" | "bmp" | "gif";
371
+ ratio?: "fixed" | "var";
372
+ width?: number;
373
+ height?: number;
374
+ } & BaseQueryParams;
375
+ export declare type PutPageFileNameParams = {
376
+ description?: string;
377
+ } & BaseQueryParams;
378
+ export declare type PutPageFileNameResponse = Partial<PageFile>;
379
+ export declare type DeletePageFileNameDescriptionParams = BaseQueryParams;
380
+ export declare type DeletePageFileNameDescriptionResponse = Partial<PageFile> & {
381
+ properties?: {
382
+ "@count"?: string;
383
+ "@href"?: string;
384
+ property?: Partial<PageProperty> | Partial<PageProperty>[] | "";
385
+ };
386
+ };
387
+ export declare type PutPageFileNameDescriptionParams = BaseQueryParams;
388
+ export declare type PutPageFileNameDescriptionResponse = Partial<PageFile> & {
389
+ properties?: {
390
+ "@count"?: string;
391
+ "@href"?: string;
392
+ property?: Partial<PageProperty> | Partial<PageProperty>[] | "";
393
+ };
394
+ };
395
+ export declare type PutPageFileNamePropertiesKeyParams = {
396
+ description?: string;
397
+ etag?: string;
398
+ abort?: "never" | "modified" | "exists";
399
+ } & BaseQueryParams;
400
+ export declare type PutPageFileNamePropertiesKeyResponse = PageProperty;
401
+ export declare type PutPageImportParams = {
402
+ behavior?: "sync" | "async";
403
+ filename?: string;
404
+ pageid?: number;
405
+ };
406
+ export declare type PutPageMoveParams = {
407
+ parentid?: number;
408
+ name?: string;
409
+ title?: string;
410
+ to?: string;
411
+ } & BaseQueryParams;
412
+ export declare type PutPageMoveResponse = {
413
+ "page.moved?": {
414
+ "@count"?: string;
415
+ page?: Partial<PageBase> | Partial<PageBase>[] | "";
416
+ } | "";
417
+ };
418
+ export declare type PutPageOrderParams = {
419
+ afterid?: number;
420
+ };
421
+ export declare type PostPagePropertiesParams = {
422
+ abort?: "never" | "modified" | "exists";
423
+ description?: string;
424
+ } & BaseQueryParams;
425
+ export declare type PostPagePropertiesResponse = PageProperty;
426
+ export declare type PutPagePropertiesParams = BaseQueryParams;
427
+ export declare type PutPagePropertiesResponse = {
428
+ properties?: {
429
+ "@count"?: string;
430
+ "@href"?: string;
431
+ property?: Partial<PageProperty> | Partial<PageProperty>[] | "";
432
+ };
433
+ };
434
+ export declare type DeletePagePropertiesKeyParams = BaseQueryParams;
435
+ export declare type PutPagePropertiesKeyParams = {
436
+ abort?: "never" | "modified" | "exists";
437
+ description?: string;
438
+ etag?: string;
439
+ } & BaseQueryParams;
440
+ export declare type PutPagePropertiesKeyResponse = PageProperty;
441
+ export declare type PostPageRatingsParams = {
442
+ score: number;
443
+ } & BaseQueryParams;
444
+ export declare type PostPageRevertParams = {
445
+ verbose?: boolean;
446
+ abort?: "never" | "conflict";
447
+ fromrevision?: string;
448
+ } & BaseQueryParams;
449
+ export declare type DeletePageSecurityParams = BaseQueryParams;
450
+ export declare type PostPageSecurityParams = {
451
+ cascade?: "none" | "delta";
452
+ } & BaseQueryParams;
453
+ export declare type PostPageSecurityResponse = Partial<PageSecurity>;
454
+ export declare type PutPageSecurityParams = {
455
+ cascade?: "none" | "delta" | "absolute";
456
+ } & BaseQueryParams;
457
+ export declare type PutPageSecurityResponse = Partial<PageSecurity>;
458
+ export declare type PutPageTagsParams = BaseQueryParams;
459
+ export declare type PutPageTagsResponse = Partial<Tags>;
460
+ export declare type PagePath = {
461
+ "@seo": string;
462
+ "@type": string;
463
+ "#text": string;
464
+ };
465
+ export declare type Subpages = {
466
+ page: Partial<Subpage>[] | Partial<Subpage>;
467
+ };
468
+ export declare type Subpage = {
469
+ "@id": string;
470
+ "@guid": string;
471
+ "@draft.state": string;
472
+ "@href": string;
473
+ "@deleted": string;
474
+ "date.created": string;
475
+ language: string;
476
+ namespace: string;
477
+ path: Partial<PagePath> | "";
478
+ subpages: Subpages | "";
479
+ title: string;
480
+ "uri.ui": string;
481
+ };
482
+ export declare type PageBase = {
483
+ "@id": string;
484
+ "@guid": string;
485
+ "@draft.state": string;
486
+ "@href": string;
487
+ "@deleted": string;
488
+ "@revision": string;
489
+ "@terminal": string;
490
+ "@subpages": string;
491
+ "@files": string;
492
+ article: string;
493
+ "date.created": string;
494
+ "date.modified": string;
495
+ language: string;
496
+ namespace: string;
497
+ path: Partial<PagePath> | "";
498
+ restriction: string;
499
+ security: Partial<PageSecurity> | "";
500
+ title: string;
501
+ "uri.ui": string;
502
+ };
503
+ export declare type PageExtended = {
504
+ "@unpublish": string;
505
+ aliases: {
506
+ [key: string]: string;
507
+ } | "";
508
+ comments: {
509
+ "@count"?: string;
510
+ "@href"?: string;
511
+ } | "";
512
+ contents: Partial<Contents> | "";
513
+ "contents.alt": {
514
+ "@type": string;
515
+ "@href": string;
516
+ } | "";
517
+ "date.edited": string;
518
+ description: string;
519
+ files: {
520
+ "@count?": string;
521
+ "@href?": string;
522
+ file?: Partial<PageFile> | Partial<PageFile>[] | "";
523
+ } | "";
524
+ inbound: {
525
+ "@count"?: string;
526
+ page?: Partial<PageBase> | Partial<PageBase>[] | "";
527
+ } | "";
528
+ "language.effective": string;
529
+ metrics: {
530
+ "metric.charcount"?: string;
531
+ "metric.views"?: string;
532
+ } | "";
533
+ outbound: {
534
+ "@count"?: string;
535
+ page?: Partial<PageBase> | Partial<PageBase>[] | "";
536
+ } | "";
537
+ "page.parent": Partial<PageBase> | "";
538
+ "page.redirectedfrom": string;
539
+ properties: {
540
+ "@count"?: string;
541
+ "@href"?: string;
542
+ property?: Record<string, string>[];
543
+ } | "";
544
+ rating: Partial<PageRating> | "";
545
+ revisions: Partial<PageRevision> | "";
546
+ "revisions.archive": Partial<PageRevision> | "";
547
+ subpages: {
548
+ "@href"?: string;
549
+ } | "";
550
+ summary: string;
551
+ tags: Partial<Tags> | "";
552
+ timeuuid: string;
553
+ "user.author": Partial<ExpertUser> | "";
554
+ "user.createdby": Partial<ExpertUser> | "";
555
+ };
556
+ export declare type PageRating = {
557
+ "@score": string;
558
+ "@count": string;
559
+ "@seated.score": string;
560
+ "@seated.count": string;
561
+ "@unseated.score": string;
562
+ "@unseated.count": string;
563
+ "@anonymous.score": string;
564
+ "@anonymous.count": string;
565
+ };
566
+ export declare type PageRevision = {
567
+ "@count": string;
568
+ "@deprecated": string;
569
+ "@totalcount": string;
570
+ "@href": string;
571
+ };
572
+ export declare type PageFile = {
573
+ "@id": string;
574
+ "@revision": string;
575
+ "@res-id": string;
576
+ "@href": string;
577
+ "@res-is-head": string;
578
+ "@res-is-deleted": string;
579
+ "@res-rev-is-deleted": string;
580
+ "@res-contents-id": string;
581
+ "alt-text": string;
582
+ contents: Partial<Contents> | "";
583
+ "contents.preview": Partial<ContentsPreview> | Partial<ContentsPreview>[] | "";
584
+ "date.created": string;
585
+ "date.last-modified": string;
586
+ description: string;
587
+ filename: string;
588
+ "page.parent": Partial<PageBase> | "";
589
+ revisions: Partial<PageRevision> | "";
590
+ "user-action": {
591
+ "@type"?: string;
592
+ } | "";
593
+ "user.createdBy": Partial<ExpertUser> | "";
594
+ };
595
+ export declare type PageTag = {
596
+ "@value": string;
597
+ "@id": string;
598
+ "@href": string;
599
+ title: string;
600
+ type: string;
601
+ uri: string;
602
+ related: {
603
+ "@count"?: string;
604
+ page?: Partial<PageBase> | Partial<PageBase>[] | "";
605
+ } | "";
606
+ };
607
+ export declare type Contents = {
608
+ "@type": string;
609
+ "@size": string;
610
+ "@width": string;
611
+ "@height": string;
612
+ "@href": string;
613
+ "#text": string;
614
+ properties: {
615
+ property: Partial<PageProperty> | Partial<PageProperty>[] | "";
616
+ } | "";
617
+ };
618
+ export declare type ContentsPreview = {
619
+ "@rel": string;
620
+ "@type": string;
621
+ "@maxwidth": string;
622
+ "@maxheight": string;
623
+ "@href": string;
624
+ "@etag": string;
625
+ };
626
+ export declare type Tags = {
627
+ "@count"?: string;
628
+ "@href"?: string;
629
+ tag?: Partial<PageTag> | Partial<PageTag>[] | "";
630
+ };
631
+ export declare type PageProperty = {
632
+ "@revision": string;
633
+ "@resid": string;
634
+ "@name": string;
635
+ "@href": string;
636
+ "@etag": string;
637
+ "@resource-is-deleted": string;
638
+ "@resource-rev-is-deleted": string;
639
+ "change-description": string;
640
+ contents: Partial<Contents> | "";
641
+ "date.modified": string;
642
+ "user.modified": Partial<ExpertUser> | "";
643
+ };
644
+ export declare type page_subpage = {
645
+ "@totalcount": string;
646
+ "@count": string;
647
+ "@href": string;
648
+ "page.subpage": Partial<PageBase> | Partial<PageBase>[] | "";
649
+ };
650
+ export declare type exprCall = {
651
+ "@name": string;
652
+ "@elapsed": string;
653
+ "@avg": string;
654
+ "@max": string;
655
+ "@percent": string;
656
+ "@count": string;
657
+ "@mode": string;
658
+ function: functionCall | functionCall[] | "";
659
+ };
660
+ export declare type functionCall = {
661
+ "@name": string;
662
+ "@elapsed": string;
663
+ "@avg": string;
664
+ "@max": string;
665
+ "@percent": string;
666
+ "@count": string;
667
+ "@mode": string;
668
+ "@location": string;
669
+ expr: exprCall | exprCall[] | "";
670
+ };
671
+ export declare type importCall = {
672
+ "@name": string;
673
+ "@elapsed": string;
674
+ "@avg": string;
675
+ "@max": string;
676
+ "@percent": string;
677
+ "@count": string;
678
+ "@mode": string;
679
+ "@recursive": string;
680
+ "@location": string;
681
+ import: importCall | importCall[] | "";
682
+ };
683
+ export declare type pageCall = {
684
+ "@name": string;
685
+ "@elapsed": string;
686
+ "@avg": string;
687
+ "@max": string;
688
+ "@percent": string;
689
+ "@count": string;
690
+ "@mode": string;
691
+ import: importCall | importCall[] | "";
692
+ template: templateCall | templateCall[] | "";
693
+ };
694
+ export declare type propertyCall = {
695
+ "@name": string;
696
+ "@elapsed": string;
697
+ "@avg": string;
698
+ "@max": string;
699
+ "@percent": string;
700
+ "@count": string;
701
+ "@mode": string;
702
+ };
703
+ export declare type templateCall = {
704
+ "@name": string;
705
+ "@elapsed": string;
706
+ "@avg": string;
707
+ "@max": string;
708
+ "@percent": string;
709
+ "@count": string;
710
+ "@mode": string;
711
+ "@location": string;
712
+ function: functionCall | functionCall[] | "";
713
+ property: propertyCall | propertyCall[] | "";
714
+ template: templateCall | templateCall[] | "";
715
+ };
716
+ export declare type Entry = {
717
+ "@name": string;
718
+ "@value": string;
719
+ };
720
+ export declare type Query = {
721
+ "@name": string;
722
+ "@elapsed": string;
723
+ "@average": string;
724
+ "@max": string;
725
+ "@count": string;
726
+ };
727
+ export declare type DeletedPage = {
728
+ "@id": number;
729
+ "@href": string;
730
+ title: string;
731
+ path: string;
732
+ };
733
+ export declare type Allowed = {
734
+ "@id": string;
735
+ };