@orangefox-recovery/foxclient 6.0.9 → 6.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 (226) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +16 -4
  3. package/dist/apis/DeviceApi.d.ts +1 -1
  4. package/dist/apis/DeviceApi.js +1 -1
  5. package/dist/apis/PasteApi.d.ts +1 -1
  6. package/dist/apis/PasteApi.js +1 -1
  7. package/dist/apis/ReleaseApi.d.ts +5 -5
  8. package/dist/apis/ReleaseApi.js +3 -3
  9. package/dist/apis/ReportApi.d.ts +1 -1
  10. package/dist/apis/ReportApi.js +1 -1
  11. package/dist/apis/StatsApi.d.ts +1 -1
  12. package/dist/apis/StatsApi.js +1 -1
  13. package/dist/apis/UptimeApi.d.ts +1 -1
  14. package/dist/apis/UptimeApi.js +1 -1
  15. package/dist/apis/WikiApi.d.ts +219 -0
  16. package/dist/apis/WikiApi.js +245 -0
  17. package/dist/apis/index.d.ts +1 -0
  18. package/dist/apis/index.js +1 -0
  19. package/dist/esm/apis/DeviceApi.d.ts +1 -1
  20. package/dist/esm/apis/DeviceApi.js +1 -1
  21. package/dist/esm/apis/PasteApi.d.ts +1 -1
  22. package/dist/esm/apis/PasteApi.js +1 -1
  23. package/dist/esm/apis/ReleaseApi.d.ts +5 -5
  24. package/dist/esm/apis/ReleaseApi.js +3 -3
  25. package/dist/esm/apis/ReportApi.d.ts +1 -1
  26. package/dist/esm/apis/ReportApi.js +1 -1
  27. package/dist/esm/apis/StatsApi.d.ts +1 -1
  28. package/dist/esm/apis/StatsApi.js +1 -1
  29. package/dist/esm/apis/UptimeApi.d.ts +1 -1
  30. package/dist/esm/apis/UptimeApi.js +1 -1
  31. package/dist/esm/apis/WikiApi.d.ts +219 -0
  32. package/dist/esm/apis/WikiApi.js +241 -0
  33. package/dist/esm/apis/index.d.ts +1 -0
  34. package/dist/esm/apis/index.js +1 -0
  35. package/dist/esm/models/DeviceResponse.d.ts +1 -1
  36. package/dist/esm/models/DeviceResponse.js +1 -1
  37. package/dist/esm/models/ErrorResponse.d.ts +1 -1
  38. package/dist/esm/models/ErrorResponse.js +1 -1
  39. package/dist/esm/models/GlobalStatsResponse.d.ts +1 -1
  40. package/dist/esm/models/GlobalStatsResponse.js +1 -1
  41. package/dist/esm/models/ListResponseReleaseResponse.d.ts +12 -2
  42. package/dist/esm/models/ListResponseReleaseResponse.js +5 -1
  43. package/dist/esm/models/ListResponseReleaseResponseDataInner.d.ts +1 -1
  44. package/dist/esm/models/ListResponseReleaseResponseDataInner.js +1 -1
  45. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +12 -2
  46. package/dist/esm/models/ListResponseShortDeviceResponse.js +5 -1
  47. package/dist/esm/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
  48. package/dist/esm/models/ListResponseShortDeviceResponseDataInner.js +1 -1
  49. package/dist/esm/models/ListResponseString.d.ts +12 -2
  50. package/dist/esm/models/ListResponseString.js +5 -1
  51. package/dist/esm/models/ListResponseWikiPageShortResponse.d.ts +49 -0
  52. package/dist/esm/models/ListResponseWikiPageShortResponse.js +52 -0
  53. package/dist/esm/models/ListResponseWikiPageShortResponseDataInner.d.ts +99 -0
  54. package/dist/esm/models/ListResponseWikiPageShortResponseDataInner.js +81 -0
  55. package/dist/esm/models/ListResponseWikiSiteResponse.d.ts +49 -0
  56. package/dist/esm/models/ListResponseWikiSiteResponse.js +52 -0
  57. package/dist/esm/models/ListResponseWikiSiteResponseDataInner.d.ts +74 -0
  58. package/dist/esm/models/ListResponseWikiSiteResponseDataInner.js +65 -0
  59. package/dist/esm/models/MaintainerShortResponse.d.ts +1 -1
  60. package/dist/esm/models/MaintainerShortResponse.js +1 -1
  61. package/dist/esm/models/NewReportRequest.d.ts +1 -1
  62. package/dist/esm/models/NewReportRequest.js +1 -1
  63. package/dist/esm/models/PasteInput.d.ts +1 -1
  64. package/dist/esm/models/PasteInput.js +1 -1
  65. package/dist/esm/models/PasteResponse.d.ts +1 -1
  66. package/dist/esm/models/PasteResponse.js +1 -1
  67. package/dist/esm/models/RecoveryImgResponse.d.ts +1 -1
  68. package/dist/esm/models/RecoveryImgResponse.js +1 -1
  69. package/dist/esm/models/ReleaseGroupsResponse.d.ts +1 -1
  70. package/dist/esm/models/ReleaseGroupsResponse.js +1 -1
  71. package/dist/esm/models/ReleaseListResponse.d.ts +1 -1
  72. package/dist/esm/models/ReleaseListResponse.js +1 -1
  73. package/dist/esm/models/ReleaseResponse.d.ts +1 -1
  74. package/dist/esm/models/ReleaseResponse.js +1 -1
  75. package/dist/esm/models/ShortDeviceResponse.d.ts +1 -1
  76. package/dist/esm/models/ShortDeviceResponse.js +1 -1
  77. package/dist/esm/models/ShortReleaseResponse.d.ts +1 -1
  78. package/dist/esm/models/ShortReleaseResponse.js +1 -1
  79. package/dist/esm/models/TokenResponse.d.ts +1 -1
  80. package/dist/esm/models/TokenResponse.js +1 -1
  81. package/dist/esm/models/UptimeHealth.d.ts +1 -1
  82. package/dist/esm/models/UptimeHealth.js +1 -1
  83. package/dist/esm/models/UptimeHealthHost.d.ts +1 -1
  84. package/dist/esm/models/UptimeHealthHost.js +1 -1
  85. package/dist/esm/models/UptimeMonitor.d.ts +1 -1
  86. package/dist/esm/models/UptimeMonitor.js +1 -1
  87. package/dist/esm/models/UptimeMonitorGroup.d.ts +1 -1
  88. package/dist/esm/models/UptimeMonitorGroup.js +1 -1
  89. package/dist/esm/models/UptimeMonitors.d.ts +1 -1
  90. package/dist/esm/models/UptimeMonitors.js +1 -1
  91. package/dist/esm/models/UptimeResponse.d.ts +1 -1
  92. package/dist/esm/models/UptimeResponse.js +1 -1
  93. package/dist/esm/models/WikiPageResponse.d.ts +128 -0
  94. package/dist/esm/models/WikiPageResponse.js +97 -0
  95. package/dist/esm/models/WikiPageShortResponse.d.ts +99 -0
  96. package/dist/esm/models/WikiPageShortResponse.js +81 -0
  97. package/dist/esm/models/WikiSiteResponse.d.ts +74 -0
  98. package/dist/esm/models/WikiSiteResponse.js +65 -0
  99. package/dist/esm/models/index.d.ts +7 -0
  100. package/dist/esm/models/index.js +7 -0
  101. package/dist/esm/runtime.d.ts +1 -1
  102. package/dist/esm/runtime.js +1 -1
  103. package/dist/models/DeviceResponse.d.ts +1 -1
  104. package/dist/models/DeviceResponse.js +1 -1
  105. package/dist/models/ErrorResponse.d.ts +1 -1
  106. package/dist/models/ErrorResponse.js +1 -1
  107. package/dist/models/GlobalStatsResponse.d.ts +1 -1
  108. package/dist/models/GlobalStatsResponse.js +1 -1
  109. package/dist/models/ListResponseReleaseResponse.d.ts +12 -2
  110. package/dist/models/ListResponseReleaseResponse.js +5 -1
  111. package/dist/models/ListResponseReleaseResponseDataInner.d.ts +1 -1
  112. package/dist/models/ListResponseReleaseResponseDataInner.js +1 -1
  113. package/dist/models/ListResponseShortDeviceResponse.d.ts +12 -2
  114. package/dist/models/ListResponseShortDeviceResponse.js +5 -1
  115. package/dist/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
  116. package/dist/models/ListResponseShortDeviceResponseDataInner.js +1 -1
  117. package/dist/models/ListResponseString.d.ts +12 -2
  118. package/dist/models/ListResponseString.js +5 -1
  119. package/dist/models/ListResponseWikiPageShortResponse.d.ts +49 -0
  120. package/dist/models/ListResponseWikiPageShortResponse.js +59 -0
  121. package/dist/models/ListResponseWikiPageShortResponseDataInner.d.ts +99 -0
  122. package/dist/models/ListResponseWikiPageShortResponseDataInner.js +88 -0
  123. package/dist/models/ListResponseWikiSiteResponse.d.ts +49 -0
  124. package/dist/models/ListResponseWikiSiteResponse.js +59 -0
  125. package/dist/models/ListResponseWikiSiteResponseDataInner.d.ts +74 -0
  126. package/dist/models/ListResponseWikiSiteResponseDataInner.js +72 -0
  127. package/dist/models/MaintainerShortResponse.d.ts +1 -1
  128. package/dist/models/MaintainerShortResponse.js +1 -1
  129. package/dist/models/NewReportRequest.d.ts +1 -1
  130. package/dist/models/NewReportRequest.js +1 -1
  131. package/dist/models/PasteInput.d.ts +1 -1
  132. package/dist/models/PasteInput.js +1 -1
  133. package/dist/models/PasteResponse.d.ts +1 -1
  134. package/dist/models/PasteResponse.js +1 -1
  135. package/dist/models/RecoveryImgResponse.d.ts +1 -1
  136. package/dist/models/RecoveryImgResponse.js +1 -1
  137. package/dist/models/ReleaseGroupsResponse.d.ts +1 -1
  138. package/dist/models/ReleaseGroupsResponse.js +1 -1
  139. package/dist/models/ReleaseListResponse.d.ts +1 -1
  140. package/dist/models/ReleaseListResponse.js +1 -1
  141. package/dist/models/ReleaseResponse.d.ts +1 -1
  142. package/dist/models/ReleaseResponse.js +1 -1
  143. package/dist/models/ShortDeviceResponse.d.ts +1 -1
  144. package/dist/models/ShortDeviceResponse.js +1 -1
  145. package/dist/models/ShortReleaseResponse.d.ts +1 -1
  146. package/dist/models/ShortReleaseResponse.js +1 -1
  147. package/dist/models/TokenResponse.d.ts +1 -1
  148. package/dist/models/TokenResponse.js +1 -1
  149. package/dist/models/UptimeHealth.d.ts +1 -1
  150. package/dist/models/UptimeHealth.js +1 -1
  151. package/dist/models/UptimeHealthHost.d.ts +1 -1
  152. package/dist/models/UptimeHealthHost.js +1 -1
  153. package/dist/models/UptimeMonitor.d.ts +1 -1
  154. package/dist/models/UptimeMonitor.js +1 -1
  155. package/dist/models/UptimeMonitorGroup.d.ts +1 -1
  156. package/dist/models/UptimeMonitorGroup.js +1 -1
  157. package/dist/models/UptimeMonitors.d.ts +1 -1
  158. package/dist/models/UptimeMonitors.js +1 -1
  159. package/dist/models/UptimeResponse.d.ts +1 -1
  160. package/dist/models/UptimeResponse.js +1 -1
  161. package/dist/models/WikiPageResponse.d.ts +128 -0
  162. package/dist/models/WikiPageResponse.js +104 -0
  163. package/dist/models/WikiPageShortResponse.d.ts +99 -0
  164. package/dist/models/WikiPageShortResponse.js +88 -0
  165. package/dist/models/WikiSiteResponse.d.ts +74 -0
  166. package/dist/models/WikiSiteResponse.js +72 -0
  167. package/dist/models/index.d.ts +7 -0
  168. package/dist/models/index.js +7 -0
  169. package/dist/runtime.d.ts +1 -1
  170. package/dist/runtime.js +1 -1
  171. package/docs/ListResponseReleaseResponse.md +2 -0
  172. package/docs/ListResponseShortDeviceResponse.md +2 -0
  173. package/docs/ListResponseString.md +2 -0
  174. package/docs/ListResponseWikiPageShortResponse.md +38 -0
  175. package/docs/ListResponseWikiPageShortResponseDataInner.md +57 -0
  176. package/docs/ListResponseWikiSiteResponse.md +38 -0
  177. package/docs/ListResponseWikiSiteResponseDataInner.md +48 -0
  178. package/docs/ReleaseApi.md +2 -2
  179. package/docs/ReleaseListResponse.md +2 -0
  180. package/docs/WikiApi.md +360 -0
  181. package/docs/WikiPageResponse.md +66 -0
  182. package/docs/WikiPageShortResponse.md +57 -0
  183. package/docs/WikiSiteResponse.md +48 -0
  184. package/package.json +1 -1
  185. package/src/apis/DeviceApi.ts +1 -1
  186. package/src/apis/PasteApi.ts +1 -1
  187. package/src/apis/ReleaseApi.ts +5 -5
  188. package/src/apis/ReportApi.ts +1 -1
  189. package/src/apis/StatsApi.ts +1 -1
  190. package/src/apis/UptimeApi.ts +1 -1
  191. package/src/apis/WikiApi.ts +452 -0
  192. package/src/apis/index.ts +1 -0
  193. package/src/models/DeviceResponse.ts +1 -1
  194. package/src/models/ErrorResponse.ts +1 -1
  195. package/src/models/GlobalStatsResponse.ts +1 -1
  196. package/src/models/ListResponseReleaseResponse.ts +15 -2
  197. package/src/models/ListResponseReleaseResponseDataInner.ts +1 -1
  198. package/src/models/ListResponseShortDeviceResponse.ts +15 -2
  199. package/src/models/ListResponseShortDeviceResponseDataInner.ts +1 -1
  200. package/src/models/ListResponseString.ts +15 -2
  201. package/src/models/ListResponseWikiPageShortResponse.ts +96 -0
  202. package/src/models/ListResponseWikiPageShortResponseDataInner.ts +163 -0
  203. package/src/models/ListResponseWikiSiteResponse.ts +96 -0
  204. package/src/models/ListResponseWikiSiteResponseDataInner.ts +126 -0
  205. package/src/models/MaintainerShortResponse.ts +1 -1
  206. package/src/models/NewReportRequest.ts +1 -1
  207. package/src/models/PasteInput.ts +1 -1
  208. package/src/models/PasteResponse.ts +1 -1
  209. package/src/models/RecoveryImgResponse.ts +1 -1
  210. package/src/models/ReleaseGroupsResponse.ts +1 -1
  211. package/src/models/ReleaseListResponse.ts +1 -1
  212. package/src/models/ReleaseResponse.ts +1 -1
  213. package/src/models/ShortDeviceResponse.ts +1 -1
  214. package/src/models/ShortReleaseResponse.ts +1 -1
  215. package/src/models/TokenResponse.ts +1 -1
  216. package/src/models/UptimeHealth.ts +1 -1
  217. package/src/models/UptimeHealthHost.ts +1 -1
  218. package/src/models/UptimeMonitor.ts +1 -1
  219. package/src/models/UptimeMonitorGroup.ts +1 -1
  220. package/src/models/UptimeMonitors.ts +1 -1
  221. package/src/models/UptimeResponse.ts +1 -1
  222. package/src/models/WikiPageResponse.ts +205 -0
  223. package/src/models/WikiPageShortResponse.ts +163 -0
  224. package/src/models/WikiSiteResponse.ts +126 -0
  225. package/src/models/index.ts +7 -0
  226. package/src/runtime.ts +1 -1
@@ -0,0 +1,241 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fox API
5
+ * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
+ *
7
+ * The version of the OpenAPI document: 6.1.0
8
+ * Contact: admin@orangefox.tech
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { ListResponseWikiPageShortResponseFromJSON, ListResponseWikiSiteResponseFromJSON, WikiPageResponseFromJSON, WikiSiteResponseFromJSON, } from '../models/index';
25
+ /**
26
+ *
27
+ */
28
+ export class WikiApi extends runtime.BaseAPI {
29
+ /**
30
+ * Creates request options for getAsset without sending the request
31
+ */
32
+ getAssetRequestOpts(requestParameters) {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ if (requestParameters['site'] == null) {
35
+ throw new runtime.RequiredError('site', 'Required parameter "site" was null or undefined when calling getAsset().');
36
+ }
37
+ if (requestParameters['path'] == null) {
38
+ throw new runtime.RequiredError('path', 'Required parameter "path" was null or undefined when calling getAsset().');
39
+ }
40
+ const queryParameters = {};
41
+ const headerParameters = {};
42
+ let urlPath = `/wiki/{site}/assets/{path}`;
43
+ urlPath = urlPath.replace(`{${"site"}}`, encodeURIComponent(String(requestParameters['site'])));
44
+ urlPath = urlPath.replace(`{${"path"}}`, encodeURIComponent(String(requestParameters['path'])));
45
+ return {
46
+ path: urlPath,
47
+ method: 'GET',
48
+ headers: headerParameters,
49
+ query: queryParameters,
50
+ };
51
+ });
52
+ }
53
+ /**
54
+ * GET /wiki/{site}/assets/{path} - Serve asset bytes.
55
+ */
56
+ getAssetRaw(requestParameters, initOverrides) {
57
+ return __awaiter(this, void 0, void 0, function* () {
58
+ const requestOptions = yield this.getAssetRequestOpts(requestParameters);
59
+ const response = yield this.request(requestOptions, initOverrides);
60
+ return new runtime.VoidApiResponse(response);
61
+ });
62
+ }
63
+ /**
64
+ * GET /wiki/{site}/assets/{path} - Serve asset bytes.
65
+ */
66
+ getAsset(requestParameters, initOverrides) {
67
+ return __awaiter(this, void 0, void 0, function* () {
68
+ yield this.getAssetRaw(requestParameters, initOverrides);
69
+ });
70
+ }
71
+ /**
72
+ * Creates request options for getPage without sending the request
73
+ */
74
+ getPageRequestOpts(requestParameters) {
75
+ return __awaiter(this, void 0, void 0, function* () {
76
+ if (requestParameters['site'] == null) {
77
+ throw new runtime.RequiredError('site', 'Required parameter "site" was null or undefined when calling getPage().');
78
+ }
79
+ if (requestParameters['path'] == null) {
80
+ throw new runtime.RequiredError('path', 'Required parameter "path" was null or undefined when calling getPage().');
81
+ }
82
+ const queryParameters = {};
83
+ const headerParameters = {};
84
+ let urlPath = `/wiki/{site}/pages/{path}`;
85
+ urlPath = urlPath.replace(`{${"site"}}`, encodeURIComponent(String(requestParameters['site'])));
86
+ urlPath = urlPath.replace(`{${"path"}}`, encodeURIComponent(String(requestParameters['path'])));
87
+ return {
88
+ path: urlPath,
89
+ method: 'GET',
90
+ headers: headerParameters,
91
+ query: queryParameters,
92
+ };
93
+ });
94
+ }
95
+ /**
96
+ * GET /wiki/{site}/pages/{path} - Fetch one published page.
97
+ */
98
+ getPageRaw(requestParameters, initOverrides) {
99
+ return __awaiter(this, void 0, void 0, function* () {
100
+ const requestOptions = yield this.getPageRequestOpts(requestParameters);
101
+ const response = yield this.request(requestOptions, initOverrides);
102
+ return new runtime.JSONApiResponse(response, (jsonValue) => WikiPageResponseFromJSON(jsonValue));
103
+ });
104
+ }
105
+ /**
106
+ * GET /wiki/{site}/pages/{path} - Fetch one published page.
107
+ */
108
+ getPage(requestParameters, initOverrides) {
109
+ return __awaiter(this, void 0, void 0, function* () {
110
+ const response = yield this.getPageRaw(requestParameters, initOverrides);
111
+ return yield response.value();
112
+ });
113
+ }
114
+ /**
115
+ * Creates request options for getSite without sending the request
116
+ */
117
+ getSiteRequestOpts(requestParameters) {
118
+ return __awaiter(this, void 0, void 0, function* () {
119
+ if (requestParameters['slug'] == null) {
120
+ throw new runtime.RequiredError('slug', 'Required parameter "slug" was null or undefined when calling getSite().');
121
+ }
122
+ const queryParameters = {};
123
+ const headerParameters = {};
124
+ let urlPath = `/wiki/sites/{slug}`;
125
+ urlPath = urlPath.replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug'])));
126
+ return {
127
+ path: urlPath,
128
+ method: 'GET',
129
+ headers: headerParameters,
130
+ query: queryParameters,
131
+ };
132
+ });
133
+ }
134
+ /**
135
+ * GET /wiki/sites/{slug} - Fetch one wiki site.
136
+ */
137
+ getSiteRaw(requestParameters, initOverrides) {
138
+ return __awaiter(this, void 0, void 0, function* () {
139
+ const requestOptions = yield this.getSiteRequestOpts(requestParameters);
140
+ const response = yield this.request(requestOptions, initOverrides);
141
+ return new runtime.JSONApiResponse(response, (jsonValue) => WikiSiteResponseFromJSON(jsonValue));
142
+ });
143
+ }
144
+ /**
145
+ * GET /wiki/sites/{slug} - Fetch one wiki site.
146
+ */
147
+ getSite(requestParameters, initOverrides) {
148
+ return __awaiter(this, void 0, void 0, function* () {
149
+ const response = yield this.getSiteRaw(requestParameters, initOverrides);
150
+ return yield response.value();
151
+ });
152
+ }
153
+ /**
154
+ * Creates request options for listPages without sending the request
155
+ */
156
+ listPagesRequestOpts(requestParameters) {
157
+ return __awaiter(this, void 0, void 0, function* () {
158
+ if (requestParameters['site'] == null) {
159
+ throw new runtime.RequiredError('site', 'Required parameter "site" was null or undefined when calling listPages().');
160
+ }
161
+ const queryParameters = {};
162
+ if (requestParameters['skip'] != null) {
163
+ queryParameters['skip'] = requestParameters['skip'];
164
+ }
165
+ if (requestParameters['limit'] != null) {
166
+ queryParameters['limit'] = requestParameters['limit'];
167
+ }
168
+ const headerParameters = {};
169
+ let urlPath = `/wiki/{site}/pages`;
170
+ urlPath = urlPath.replace(`{${"site"}}`, encodeURIComponent(String(requestParameters['site'])));
171
+ return {
172
+ path: urlPath,
173
+ method: 'GET',
174
+ headers: headerParameters,
175
+ query: queryParameters,
176
+ };
177
+ });
178
+ }
179
+ /**
180
+ * FoxWiki builds its whole navigation tree from one call to this, so it returns the complete flat set (paged at the standard 1000 ceiling) rather than one folder\'s children.
181
+ * GET /wiki/{site}/pages - List every published page in a site.
182
+ */
183
+ listPagesRaw(requestParameters, initOverrides) {
184
+ return __awaiter(this, void 0, void 0, function* () {
185
+ const requestOptions = yield this.listPagesRequestOpts(requestParameters);
186
+ const response = yield this.request(requestOptions, initOverrides);
187
+ return new runtime.JSONApiResponse(response, (jsonValue) => ListResponseWikiPageShortResponseFromJSON(jsonValue));
188
+ });
189
+ }
190
+ /**
191
+ * FoxWiki builds its whole navigation tree from one call to this, so it returns the complete flat set (paged at the standard 1000 ceiling) rather than one folder\'s children.
192
+ * GET /wiki/{site}/pages - List every published page in a site.
193
+ */
194
+ listPages(requestParameters, initOverrides) {
195
+ return __awaiter(this, void 0, void 0, function* () {
196
+ const response = yield this.listPagesRaw(requestParameters, initOverrides);
197
+ return yield response.value();
198
+ });
199
+ }
200
+ /**
201
+ * Creates request options for listSites without sending the request
202
+ */
203
+ listSitesRequestOpts(requestParameters) {
204
+ return __awaiter(this, void 0, void 0, function* () {
205
+ const queryParameters = {};
206
+ if (requestParameters['skip'] != null) {
207
+ queryParameters['skip'] = requestParameters['skip'];
208
+ }
209
+ if (requestParameters['limit'] != null) {
210
+ queryParameters['limit'] = requestParameters['limit'];
211
+ }
212
+ const headerParameters = {};
213
+ let urlPath = `/wiki/sites`;
214
+ return {
215
+ path: urlPath,
216
+ method: 'GET',
217
+ headers: headerParameters,
218
+ query: queryParameters,
219
+ };
220
+ });
221
+ }
222
+ /**
223
+ * GET /wiki/sites - List wiki sites.
224
+ */
225
+ listSitesRaw(requestParameters, initOverrides) {
226
+ return __awaiter(this, void 0, void 0, function* () {
227
+ const requestOptions = yield this.listSitesRequestOpts(requestParameters);
228
+ const response = yield this.request(requestOptions, initOverrides);
229
+ return new runtime.JSONApiResponse(response, (jsonValue) => ListResponseWikiSiteResponseFromJSON(jsonValue));
230
+ });
231
+ }
232
+ /**
233
+ * GET /wiki/sites - List wiki sites.
234
+ */
235
+ listSites() {
236
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
237
+ const response = yield this.listSitesRaw(requestParameters, initOverrides);
238
+ return yield response.value();
239
+ });
240
+ }
241
+ }
@@ -4,3 +4,4 @@ export * from './ReleaseApi';
4
4
  export * from './ReportApi';
5
5
  export * from './StatsApi';
6
6
  export * from './UptimeApi';
7
+ export * from './WikiApi';
@@ -6,3 +6,4 @@ export * from './ReleaseApi';
6
6
  export * from './ReportApi';
7
7
  export * from './StatsApi';
8
8
  export * from './UptimeApi';
9
+ export * from './WikiApi';
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.9
5
+ * The version of the OpenAPI document: 6.1.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.0.9
7
+ * The version of the OpenAPI document: 6.1.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.9
5
+ * The version of the OpenAPI document: 6.1.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.0.9
7
+ * The version of the OpenAPI document: 6.1.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.9
5
+ * The version of the OpenAPI document: 6.1.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.0.9
7
+ * The version of the OpenAPI document: 6.1.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.9
5
+ * The version of the OpenAPI document: 6.1.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,7 +17,7 @@ import type { ListResponseReleaseResponseDataInner } from './ListResponseRelease
17
17
  */
18
18
  export interface ListResponseReleaseResponse {
19
19
  /**
20
- *
20
+ * Number of items in *this page*, not the size of the collection.
21
21
  * @type {number}
22
22
  * @memberof ListResponseReleaseResponse
23
23
  */
@@ -28,6 +28,16 @@ export interface ListResponseReleaseResponse {
28
28
  * @memberof ListResponseReleaseResponse
29
29
  */
30
30
  data: Array<ListResponseReleaseResponseDataInner>;
31
+ /**
32
+ * Whether further items exist beyond this page.
33
+ *
34
+ * List endpoints now apply a default page size, so `count` alone cannot
35
+ * tell a caller whether it has seen everything; without this a client
36
+ * would silently process a truncated result set.
37
+ * @type {boolean}
38
+ * @memberof ListResponseReleaseResponse
39
+ */
40
+ hasMore: boolean;
31
41
  }
32
42
  /**
33
43
  * Check if a given object implements the ListResponseReleaseResponse interface.
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.0.9
7
+ * The version of the OpenAPI document: 6.1.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,6 +20,8 @@ export function instanceOfListResponseReleaseResponse(value) {
20
20
  return false;
21
21
  if (!('data' in value) || value['data'] === undefined)
22
22
  return false;
23
+ if (!('hasMore' in value) || value['hasMore'] === undefined)
24
+ return false;
23
25
  return true;
24
26
  }
25
27
  export function ListResponseReleaseResponseFromJSON(json) {
@@ -32,6 +34,7 @@ export function ListResponseReleaseResponseFromJSONTyped(json, ignoreDiscriminat
32
34
  return {
33
35
  'count': json['count'],
34
36
  'data': (json['data'].map(ListResponseReleaseResponseDataInnerFromJSON)),
37
+ 'hasMore': json['has_more'],
35
38
  };
36
39
  }
37
40
  export function ListResponseReleaseResponseToJSON(json) {
@@ -44,5 +47,6 @@ export function ListResponseReleaseResponseToJSONTyped(value, ignoreDiscriminato
44
47
  return {
45
48
  'count': value['count'],
46
49
  'data': (value['data'].map(ListResponseReleaseResponseDataInnerToJSON)),
50
+ 'has_more': value['hasMore'],
47
51
  };
48
52
  }
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.9
5
+ * The version of the OpenAPI document: 6.1.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.0.9
7
+ * The version of the OpenAPI document: 6.1.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.9
5
+ * The version of the OpenAPI document: 6.1.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,7 +17,7 @@ import type { ListResponseShortDeviceResponseDataInner } from './ListResponseSho
17
17
  */
18
18
  export interface ListResponseShortDeviceResponse {
19
19
  /**
20
- *
20
+ * Number of items in *this page*, not the size of the collection.
21
21
  * @type {number}
22
22
  * @memberof ListResponseShortDeviceResponse
23
23
  */
@@ -28,6 +28,16 @@ export interface ListResponseShortDeviceResponse {
28
28
  * @memberof ListResponseShortDeviceResponse
29
29
  */
30
30
  data: Array<ListResponseShortDeviceResponseDataInner>;
31
+ /**
32
+ * Whether further items exist beyond this page.
33
+ *
34
+ * List endpoints now apply a default page size, so `count` alone cannot
35
+ * tell a caller whether it has seen everything; without this a client
36
+ * would silently process a truncated result set.
37
+ * @type {boolean}
38
+ * @memberof ListResponseShortDeviceResponse
39
+ */
40
+ hasMore: boolean;
31
41
  }
32
42
  /**
33
43
  * Check if a given object implements the ListResponseShortDeviceResponse interface.
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.0.9
7
+ * The version of the OpenAPI document: 6.1.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,6 +20,8 @@ export function instanceOfListResponseShortDeviceResponse(value) {
20
20
  return false;
21
21
  if (!('data' in value) || value['data'] === undefined)
22
22
  return false;
23
+ if (!('hasMore' in value) || value['hasMore'] === undefined)
24
+ return false;
23
25
  return true;
24
26
  }
25
27
  export function ListResponseShortDeviceResponseFromJSON(json) {
@@ -32,6 +34,7 @@ export function ListResponseShortDeviceResponseFromJSONTyped(json, ignoreDiscrim
32
34
  return {
33
35
  'count': json['count'],
34
36
  'data': (json['data'].map(ListResponseShortDeviceResponseDataInnerFromJSON)),
37
+ 'hasMore': json['has_more'],
35
38
  };
36
39
  }
37
40
  export function ListResponseShortDeviceResponseToJSON(json) {
@@ -44,5 +47,6 @@ export function ListResponseShortDeviceResponseToJSONTyped(value, ignoreDiscrimi
44
47
  return {
45
48
  'count': value['count'],
46
49
  'data': (value['data'].map(ListResponseShortDeviceResponseDataInnerToJSON)),
50
+ 'has_more': value['hasMore'],
47
51
  };
48
52
  }
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.9
5
+ * The version of the OpenAPI document: 6.1.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.0.9
7
+ * The version of the OpenAPI document: 6.1.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 6.0.9
5
+ * The version of the OpenAPI document: 6.1.0
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface ListResponseString {
18
18
  /**
19
- *
19
+ * Number of items in *this page*, not the size of the collection.
20
20
  * @type {number}
21
21
  * @memberof ListResponseString
22
22
  */
@@ -27,6 +27,16 @@ export interface ListResponseString {
27
27
  * @memberof ListResponseString
28
28
  */
29
29
  data: Array<string>;
30
+ /**
31
+ * Whether further items exist beyond this page.
32
+ *
33
+ * List endpoints now apply a default page size, so `count` alone cannot
34
+ * tell a caller whether it has seen everything; without this a client
35
+ * would silently process a truncated result set.
36
+ * @type {boolean}
37
+ * @memberof ListResponseString
38
+ */
39
+ hasMore: boolean;
30
40
  }
31
41
  /**
32
42
  * Check if a given object implements the ListResponseString interface.
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 6.0.9
7
+ * The version of the OpenAPI document: 6.1.0
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,6 +19,8 @@ export function instanceOfListResponseString(value) {
19
19
  return false;
20
20
  if (!('data' in value) || value['data'] === undefined)
21
21
  return false;
22
+ if (!('hasMore' in value) || value['hasMore'] === undefined)
23
+ return false;
22
24
  return true;
23
25
  }
24
26
  export function ListResponseStringFromJSON(json) {
@@ -31,6 +33,7 @@ export function ListResponseStringFromJSONTyped(json, ignoreDiscriminator) {
31
33
  return {
32
34
  'count': json['count'],
33
35
  'data': json['data'],
36
+ 'hasMore': json['has_more'],
34
37
  };
35
38
  }
36
39
  export function ListResponseStringToJSON(json) {
@@ -43,5 +46,6 @@ export function ListResponseStringToJSONTyped(value, ignoreDiscriminator = false
43
46
  return {
44
47
  'count': value['count'],
45
48
  'data': value['data'],
49
+ 'has_more': value['hasMore'],
46
50
  };
47
51
  }
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Fox API
3
+ * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
+ *
5
+ * The version of the OpenAPI document: 6.1.0
6
+ * Contact: admin@orangefox.tech
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ListResponseWikiPageShortResponseDataInner } from './ListResponseWikiPageShortResponseDataInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListResponseWikiPageShortResponse
17
+ */
18
+ export interface ListResponseWikiPageShortResponse {
19
+ /**
20
+ * Number of items in *this page*, not the size of the collection.
21
+ * @type {number}
22
+ * @memberof ListResponseWikiPageShortResponse
23
+ */
24
+ count: number;
25
+ /**
26
+ *
27
+ * @type {Array<ListResponseWikiPageShortResponseDataInner>}
28
+ * @memberof ListResponseWikiPageShortResponse
29
+ */
30
+ data: Array<ListResponseWikiPageShortResponseDataInner>;
31
+ /**
32
+ * Whether further items exist beyond this page.
33
+ *
34
+ * List endpoints now apply a default page size, so `count` alone cannot
35
+ * tell a caller whether it has seen everything; without this a client
36
+ * would silently process a truncated result set.
37
+ * @type {boolean}
38
+ * @memberof ListResponseWikiPageShortResponse
39
+ */
40
+ hasMore: boolean;
41
+ }
42
+ /**
43
+ * Check if a given object implements the ListResponseWikiPageShortResponse interface.
44
+ */
45
+ export declare function instanceOfListResponseWikiPageShortResponse(value: object): value is ListResponseWikiPageShortResponse;
46
+ export declare function ListResponseWikiPageShortResponseFromJSON(json: any): ListResponseWikiPageShortResponse;
47
+ export declare function ListResponseWikiPageShortResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseWikiPageShortResponse;
48
+ export declare function ListResponseWikiPageShortResponseToJSON(json: any): ListResponseWikiPageShortResponse;
49
+ export declare function ListResponseWikiPageShortResponseToJSONTyped(value?: ListResponseWikiPageShortResponse | null, ignoreDiscriminator?: boolean): any;