@orangefox-recovery/foxclient 6.0.10 → 6.1.1
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.
- package/.openapi-generator/FILES +18 -0
- package/README.md +16 -3
- package/dist/apis/DeviceApi.d.ts +1 -1
- package/dist/apis/DeviceApi.js +35 -2
- package/dist/apis/PasteApi.d.ts +1 -1
- package/dist/apis/PasteApi.js +35 -2
- package/dist/apis/ReleaseApi.d.ts +5 -5
- package/dist/apis/ReleaseApi.js +35 -2
- package/dist/apis/ReportApi.d.ts +1 -1
- package/dist/apis/ReportApi.js +35 -2
- package/dist/apis/StatsApi.d.ts +1 -1
- package/dist/apis/StatsApi.js +35 -2
- package/dist/apis/UptimeApi.d.ts +1 -1
- package/dist/apis/UptimeApi.js +35 -2
- package/dist/apis/WikiApi.d.ts +219 -0
- package/dist/apis/WikiApi.js +278 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/DeviceApi.d.ts +1 -1
- package/dist/esm/apis/DeviceApi.js +1 -1
- package/dist/esm/apis/PasteApi.d.ts +1 -1
- package/dist/esm/apis/PasteApi.js +1 -1
- package/dist/esm/apis/ReleaseApi.d.ts +5 -5
- package/dist/esm/apis/ReleaseApi.js +1 -1
- package/dist/esm/apis/ReportApi.d.ts +1 -1
- package/dist/esm/apis/ReportApi.js +1 -1
- package/dist/esm/apis/StatsApi.d.ts +1 -1
- package/dist/esm/apis/StatsApi.js +1 -1
- package/dist/esm/apis/UptimeApi.d.ts +1 -1
- package/dist/esm/apis/UptimeApi.js +1 -1
- package/dist/esm/apis/WikiApi.d.ts +219 -0
- package/dist/esm/apis/WikiApi.js +241 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/DeviceResponse.d.ts +1 -1
- package/dist/esm/models/DeviceResponse.js +1 -1
- package/dist/esm/models/ErrorResponse.d.ts +1 -1
- package/dist/esm/models/ErrorResponse.js +1 -1
- package/dist/esm/models/GlobalStatsResponse.d.ts +1 -1
- package/dist/esm/models/GlobalStatsResponse.js +1 -1
- package/dist/esm/models/ListResponseReleaseResponse.d.ts +12 -2
- package/dist/esm/models/ListResponseReleaseResponse.js +5 -1
- package/dist/esm/models/ListResponseReleaseResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListResponseReleaseResponseDataInner.js +1 -1
- package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +12 -2
- package/dist/esm/models/ListResponseShortDeviceResponse.js +5 -1
- package/dist/esm/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListResponseShortDeviceResponseDataInner.js +1 -1
- package/dist/esm/models/ListResponseString.d.ts +12 -2
- package/dist/esm/models/ListResponseString.js +5 -1
- package/dist/esm/models/ListResponseWikiPageShortResponse.d.ts +49 -0
- package/dist/esm/models/ListResponseWikiPageShortResponse.js +52 -0
- package/dist/esm/models/ListResponseWikiPageShortResponseDataInner.d.ts +99 -0
- package/dist/esm/models/ListResponseWikiPageShortResponseDataInner.js +81 -0
- package/dist/esm/models/ListResponseWikiSiteResponse.d.ts +49 -0
- package/dist/esm/models/ListResponseWikiSiteResponse.js +52 -0
- package/dist/esm/models/ListResponseWikiSiteResponseDataInner.d.ts +74 -0
- package/dist/esm/models/ListResponseWikiSiteResponseDataInner.js +65 -0
- package/dist/esm/models/MaintainerShortResponse.d.ts +1 -1
- package/dist/esm/models/MaintainerShortResponse.js +1 -1
- package/dist/esm/models/NewReportRequest.d.ts +1 -1
- package/dist/esm/models/NewReportRequest.js +1 -1
- package/dist/esm/models/PasteInput.d.ts +1 -1
- package/dist/esm/models/PasteInput.js +1 -1
- package/dist/esm/models/PasteResponse.d.ts +1 -1
- package/dist/esm/models/PasteResponse.js +1 -1
- package/dist/esm/models/RecoveryImgResponse.d.ts +1 -1
- package/dist/esm/models/RecoveryImgResponse.js +1 -1
- package/dist/esm/models/ReleaseGroupsResponse.d.ts +15 -1
- package/dist/esm/models/ReleaseGroupsResponse.js +5 -1
- package/dist/esm/models/ReleaseListResponse.d.ts +1 -1
- package/dist/esm/models/ReleaseListResponse.js +1 -1
- package/dist/esm/models/ReleaseResponse.d.ts +1 -1
- package/dist/esm/models/ReleaseResponse.js +1 -1
- package/dist/esm/models/ReleaseSort.d.ts +31 -0
- package/dist/esm/models/ReleaseSort.js +49 -0
- package/dist/esm/models/ShortDeviceResponse.d.ts +1 -1
- package/dist/esm/models/ShortDeviceResponse.js +1 -1
- package/dist/esm/models/ShortReleaseResponse.d.ts +1 -1
- package/dist/esm/models/ShortReleaseResponse.js +1 -1
- package/dist/esm/models/TokenResponse.d.ts +1 -1
- package/dist/esm/models/TokenResponse.js +1 -1
- package/dist/esm/models/UptimeHealth.d.ts +1 -1
- package/dist/esm/models/UptimeHealth.js +1 -1
- package/dist/esm/models/UptimeHealthHost.d.ts +1 -1
- package/dist/esm/models/UptimeHealthHost.js +1 -1
- package/dist/esm/models/UptimeMonitor.d.ts +1 -1
- package/dist/esm/models/UptimeMonitor.js +1 -1
- package/dist/esm/models/UptimeMonitorGroup.d.ts +1 -1
- package/dist/esm/models/UptimeMonitorGroup.js +1 -1
- package/dist/esm/models/UptimeMonitors.d.ts +1 -1
- package/dist/esm/models/UptimeMonitors.js +1 -1
- package/dist/esm/models/UptimeResponse.d.ts +1 -1
- package/dist/esm/models/UptimeResponse.js +1 -1
- package/dist/esm/models/WikiPageResponse.d.ts +128 -0
- package/dist/esm/models/WikiPageResponse.js +97 -0
- package/dist/esm/models/WikiPageShortResponse.d.ts +99 -0
- package/dist/esm/models/WikiPageShortResponse.js +81 -0
- package/dist/esm/models/WikiSiteResponse.d.ts +74 -0
- package/dist/esm/models/WikiSiteResponse.js +65 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/DeviceResponse.d.ts +1 -1
- package/dist/models/DeviceResponse.js +1 -1
- package/dist/models/ErrorResponse.d.ts +1 -1
- package/dist/models/ErrorResponse.js +1 -1
- package/dist/models/GlobalStatsResponse.d.ts +1 -1
- package/dist/models/GlobalStatsResponse.js +1 -1
- package/dist/models/ListResponseReleaseResponse.d.ts +12 -2
- package/dist/models/ListResponseReleaseResponse.js +5 -1
- package/dist/models/ListResponseReleaseResponseDataInner.d.ts +1 -1
- package/dist/models/ListResponseReleaseResponseDataInner.js +1 -1
- package/dist/models/ListResponseShortDeviceResponse.d.ts +12 -2
- package/dist/models/ListResponseShortDeviceResponse.js +5 -1
- package/dist/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
- package/dist/models/ListResponseShortDeviceResponseDataInner.js +1 -1
- package/dist/models/ListResponseString.d.ts +12 -2
- package/dist/models/ListResponseString.js +5 -1
- package/dist/models/ListResponseWikiPageShortResponse.d.ts +49 -0
- package/dist/models/ListResponseWikiPageShortResponse.js +59 -0
- package/dist/models/ListResponseWikiPageShortResponseDataInner.d.ts +99 -0
- package/dist/models/ListResponseWikiPageShortResponseDataInner.js +88 -0
- package/dist/models/ListResponseWikiSiteResponse.d.ts +49 -0
- package/dist/models/ListResponseWikiSiteResponse.js +59 -0
- package/dist/models/ListResponseWikiSiteResponseDataInner.d.ts +74 -0
- package/dist/models/ListResponseWikiSiteResponseDataInner.js +72 -0
- package/dist/models/MaintainerShortResponse.d.ts +1 -1
- package/dist/models/MaintainerShortResponse.js +1 -1
- package/dist/models/NewReportRequest.d.ts +1 -1
- package/dist/models/NewReportRequest.js +1 -1
- package/dist/models/PasteInput.d.ts +1 -1
- package/dist/models/PasteInput.js +1 -1
- package/dist/models/PasteResponse.d.ts +1 -1
- package/dist/models/PasteResponse.js +1 -1
- package/dist/models/RecoveryImgResponse.d.ts +1 -1
- package/dist/models/RecoveryImgResponse.js +1 -1
- package/dist/models/ReleaseGroupsResponse.d.ts +15 -1
- package/dist/models/ReleaseGroupsResponse.js +5 -1
- package/dist/models/ReleaseListResponse.d.ts +1 -1
- package/dist/models/ReleaseListResponse.js +1 -1
- package/dist/models/ReleaseResponse.d.ts +1 -1
- package/dist/models/ReleaseResponse.js +1 -1
- package/dist/models/ReleaseSort.d.ts +31 -0
- package/dist/models/ReleaseSort.js +57 -0
- package/dist/models/ShortDeviceResponse.d.ts +1 -1
- package/dist/models/ShortDeviceResponse.js +1 -1
- package/dist/models/ShortReleaseResponse.d.ts +1 -1
- package/dist/models/ShortReleaseResponse.js +1 -1
- package/dist/models/TokenResponse.d.ts +1 -1
- package/dist/models/TokenResponse.js +1 -1
- package/dist/models/UptimeHealth.d.ts +1 -1
- package/dist/models/UptimeHealth.js +1 -1
- package/dist/models/UptimeHealthHost.d.ts +1 -1
- package/dist/models/UptimeHealthHost.js +1 -1
- package/dist/models/UptimeMonitor.d.ts +1 -1
- package/dist/models/UptimeMonitor.js +1 -1
- package/dist/models/UptimeMonitorGroup.d.ts +1 -1
- package/dist/models/UptimeMonitorGroup.js +1 -1
- package/dist/models/UptimeMonitors.d.ts +1 -1
- package/dist/models/UptimeMonitors.js +1 -1
- package/dist/models/UptimeResponse.d.ts +1 -1
- package/dist/models/UptimeResponse.js +1 -1
- package/dist/models/WikiPageResponse.d.ts +128 -0
- package/dist/models/WikiPageResponse.js +104 -0
- package/dist/models/WikiPageShortResponse.d.ts +99 -0
- package/dist/models/WikiPageShortResponse.js +88 -0
- package/dist/models/WikiSiteResponse.d.ts +74 -0
- package/dist/models/WikiSiteResponse.js +72 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/ListResponseReleaseResponse.md +2 -0
- package/docs/ListResponseShortDeviceResponse.md +2 -0
- package/docs/ListResponseString.md +2 -0
- package/docs/ListResponseWikiPageShortResponse.md +38 -0
- package/docs/ListResponseWikiPageShortResponseDataInner.md +57 -0
- package/docs/ListResponseWikiSiteResponse.md +38 -0
- package/docs/ListResponseWikiSiteResponseDataInner.md +48 -0
- package/docs/ReleaseApi.md +3 -3
- package/docs/ReleaseGroupsResponse.md +3 -0
- package/docs/ReleaseListResponse.md +2 -0
- package/docs/ReleaseSort.md +33 -0
- package/docs/WikiApi.md +360 -0
- package/docs/WikiPageResponse.md +66 -0
- package/docs/WikiPageShortResponse.md +57 -0
- package/docs/WikiSiteResponse.md +48 -0
- package/package.json +2 -2
- package/src/apis/DeviceApi.ts +1 -1
- package/src/apis/PasteApi.ts +1 -1
- package/src/apis/ReleaseApi.ts +7 -4
- package/src/apis/ReportApi.ts +1 -1
- package/src/apis/StatsApi.ts +1 -1
- package/src/apis/UptimeApi.ts +1 -1
- package/src/apis/WikiApi.ts +452 -0
- package/src/apis/index.ts +1 -0
- package/src/models/DeviceResponse.ts +1 -1
- package/src/models/ErrorResponse.ts +1 -1
- package/src/models/GlobalStatsResponse.ts +1 -1
- package/src/models/ListResponseReleaseResponse.ts +15 -2
- package/src/models/ListResponseReleaseResponseDataInner.ts +1 -1
- package/src/models/ListResponseShortDeviceResponse.ts +15 -2
- package/src/models/ListResponseShortDeviceResponseDataInner.ts +1 -1
- package/src/models/ListResponseString.ts +15 -2
- package/src/models/ListResponseWikiPageShortResponse.ts +96 -0
- package/src/models/ListResponseWikiPageShortResponseDataInner.ts +163 -0
- package/src/models/ListResponseWikiSiteResponse.ts +96 -0
- package/src/models/ListResponseWikiSiteResponseDataInner.ts +126 -0
- package/src/models/MaintainerShortResponse.ts +1 -1
- package/src/models/NewReportRequest.ts +1 -1
- package/src/models/PasteInput.ts +1 -1
- package/src/models/PasteResponse.ts +1 -1
- package/src/models/RecoveryImgResponse.ts +1 -1
- package/src/models/ReleaseGroupsResponse.ts +18 -1
- package/src/models/ReleaseListResponse.ts +1 -1
- package/src/models/ReleaseResponse.ts +1 -1
- package/src/models/ReleaseSort.ts +59 -0
- package/src/models/ShortDeviceResponse.ts +1 -1
- package/src/models/ShortReleaseResponse.ts +1 -1
- package/src/models/TokenResponse.ts +1 -1
- package/src/models/UptimeHealth.ts +1 -1
- package/src/models/UptimeHealthHost.ts +1 -1
- package/src/models/UptimeMonitor.ts +1 -1
- package/src/models/UptimeMonitorGroup.ts +1 -1
- package/src/models/UptimeMonitors.ts +1 -1
- package/src/models/UptimeResponse.ts +1 -1
- package/src/models/WikiPageResponse.ts +205 -0
- package/src/models/WikiPageShortResponse.ts +163 -0
- package/src/models/WikiSiteResponse.ts +126 -0
- package/src/models/index.ts +8 -0
- package/src/runtime.ts +1 -1
- package/tsconfig.esm.json +2 -1
- package/tsconfig.json +4 -3
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 6.1.1
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 6.1.1
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 6.1.1
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 6.1.1
|
|
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.1
|
|
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;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.1
|
|
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
|
+
import { ListResponseWikiPageShortResponseDataInnerFromJSON, ListResponseWikiPageShortResponseDataInnerToJSON, } from './ListResponseWikiPageShortResponseDataInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ListResponseWikiPageShortResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfListResponseWikiPageShortResponse(value) {
|
|
19
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('hasMore' in value) || value['hasMore'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ListResponseWikiPageShortResponseFromJSON(json) {
|
|
28
|
+
return ListResponseWikiPageShortResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ListResponseWikiPageShortResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'count': json['count'],
|
|
36
|
+
'data': (json['data'].map(ListResponseWikiPageShortResponseDataInnerFromJSON)),
|
|
37
|
+
'hasMore': json['has_more'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function ListResponseWikiPageShortResponseToJSON(json) {
|
|
41
|
+
return ListResponseWikiPageShortResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function ListResponseWikiPageShortResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'count': value['count'],
|
|
49
|
+
'data': (value['data'].map(ListResponseWikiPageShortResponseDataInnerToJSON)),
|
|
50
|
+
'has_more': value['hasMore'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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.1
|
|
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
|
+
/**
|
|
13
|
+
* A page without its body. FoxWiki fetches the whole set of these once and
|
|
14
|
+
* builds its navigation tree from them, so this must stay cheap.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListResponseWikiPageShortResponseDataInner
|
|
17
|
+
*/
|
|
18
|
+
export interface ListResponseWikiPageShortResponseDataInner {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
23
|
+
*/
|
|
24
|
+
description?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Always `false` on public responses — drafts are filtered out by the query.
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
29
|
+
*/
|
|
30
|
+
draft: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Last path segment.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
35
|
+
*/
|
|
36
|
+
fileName: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
41
|
+
*/
|
|
42
|
+
icon?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
47
|
+
*/
|
|
48
|
+
id: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
53
|
+
*/
|
|
54
|
+
image?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
59
|
+
*/
|
|
60
|
+
lastUpdated: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
65
|
+
*/
|
|
66
|
+
noindex: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Parent folder path, "" at the root.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
71
|
+
*/
|
|
72
|
+
parentPath: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
77
|
+
*/
|
|
78
|
+
path: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
83
|
+
*/
|
|
84
|
+
title: string;
|
|
85
|
+
/**
|
|
86
|
+
* "md" or "json". Named `type` to match FoxWiki's `WikiPageShort`.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof ListResponseWikiPageShortResponseDataInner
|
|
89
|
+
*/
|
|
90
|
+
type: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Check if a given object implements the ListResponseWikiPageShortResponseDataInner interface.
|
|
94
|
+
*/
|
|
95
|
+
export declare function instanceOfListResponseWikiPageShortResponseDataInner(value: object): value is ListResponseWikiPageShortResponseDataInner;
|
|
96
|
+
export declare function ListResponseWikiPageShortResponseDataInnerFromJSON(json: any): ListResponseWikiPageShortResponseDataInner;
|
|
97
|
+
export declare function ListResponseWikiPageShortResponseDataInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseWikiPageShortResponseDataInner;
|
|
98
|
+
export declare function ListResponseWikiPageShortResponseDataInnerToJSON(json: any): ListResponseWikiPageShortResponseDataInner;
|
|
99
|
+
export declare function ListResponseWikiPageShortResponseDataInnerToJSONTyped(value?: ListResponseWikiPageShortResponseDataInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,81 @@
|
|
|
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.1
|
|
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
|
+
/**
|
|
15
|
+
* Check if a given object implements the ListResponseWikiPageShortResponseDataInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfListResponseWikiPageShortResponseDataInner(value) {
|
|
18
|
+
if (!('draft' in value) || value['draft'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('lastUpdated' in value) || value['lastUpdated'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('noindex' in value) || value['noindex'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('parentPath' in value) || value['parentPath'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
export function ListResponseWikiPageShortResponseDataInnerFromJSON(json) {
|
|
39
|
+
return ListResponseWikiPageShortResponseDataInnerFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ListResponseWikiPageShortResponseDataInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
47
|
+
'draft': json['draft'],
|
|
48
|
+
'fileName': json['file_name'],
|
|
49
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'image': json['image'] == null ? undefined : json['image'],
|
|
52
|
+
'lastUpdated': json['last_updated'],
|
|
53
|
+
'noindex': json['noindex'],
|
|
54
|
+
'parentPath': json['parent_path'],
|
|
55
|
+
'path': json['path'],
|
|
56
|
+
'title': json['title'],
|
|
57
|
+
'type': json['type'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export function ListResponseWikiPageShortResponseDataInnerToJSON(json) {
|
|
61
|
+
return ListResponseWikiPageShortResponseDataInnerToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
export function ListResponseWikiPageShortResponseDataInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'description': value['description'],
|
|
69
|
+
'draft': value['draft'],
|
|
70
|
+
'file_name': value['fileName'],
|
|
71
|
+
'icon': value['icon'],
|
|
72
|
+
'id': value['id'],
|
|
73
|
+
'image': value['image'],
|
|
74
|
+
'last_updated': value['lastUpdated'],
|
|
75
|
+
'noindex': value['noindex'],
|
|
76
|
+
'parent_path': value['parentPath'],
|
|
77
|
+
'path': value['path'],
|
|
78
|
+
'title': value['title'],
|
|
79
|
+
'type': value['type'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -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.1
|
|
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 { ListResponseWikiSiteResponseDataInner } from './ListResponseWikiSiteResponseDataInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListResponseWikiSiteResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListResponseWikiSiteResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Number of items in *this page*, not the size of the collection.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ListResponseWikiSiteResponse
|
|
23
|
+
*/
|
|
24
|
+
count: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<ListResponseWikiSiteResponseDataInner>}
|
|
28
|
+
* @memberof ListResponseWikiSiteResponse
|
|
29
|
+
*/
|
|
30
|
+
data: Array<ListResponseWikiSiteResponseDataInner>;
|
|
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 ListResponseWikiSiteResponse
|
|
39
|
+
*/
|
|
40
|
+
hasMore: boolean;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ListResponseWikiSiteResponse interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfListResponseWikiSiteResponse(value: object): value is ListResponseWikiSiteResponse;
|
|
46
|
+
export declare function ListResponseWikiSiteResponseFromJSON(json: any): ListResponseWikiSiteResponse;
|
|
47
|
+
export declare function ListResponseWikiSiteResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseWikiSiteResponse;
|
|
48
|
+
export declare function ListResponseWikiSiteResponseToJSON(json: any): ListResponseWikiSiteResponse;
|
|
49
|
+
export declare function ListResponseWikiSiteResponseToJSONTyped(value?: ListResponseWikiSiteResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.1
|
|
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
|
+
import { ListResponseWikiSiteResponseDataInnerFromJSON, ListResponseWikiSiteResponseDataInnerToJSON, } from './ListResponseWikiSiteResponseDataInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ListResponseWikiSiteResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfListResponseWikiSiteResponse(value) {
|
|
19
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('hasMore' in value) || value['hasMore'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ListResponseWikiSiteResponseFromJSON(json) {
|
|
28
|
+
return ListResponseWikiSiteResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ListResponseWikiSiteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'count': json['count'],
|
|
36
|
+
'data': (json['data'].map(ListResponseWikiSiteResponseDataInnerFromJSON)),
|
|
37
|
+
'hasMore': json['has_more'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function ListResponseWikiSiteResponseToJSON(json) {
|
|
41
|
+
return ListResponseWikiSiteResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function ListResponseWikiSiteResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'count': value['count'],
|
|
49
|
+
'data': (value['data'].map(ListResponseWikiSiteResponseDataInnerToJSON)),
|
|
50
|
+
'has_more': value['hasMore'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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.1
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ListResponseWikiSiteResponseDataInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ListResponseWikiSiteResponseDataInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ListResponseWikiSiteResponseDataInner
|
|
22
|
+
*/
|
|
23
|
+
createdAt: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListResponseWikiSiteResponseDataInner
|
|
28
|
+
*/
|
|
29
|
+
defaultPage: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListResponseWikiSiteResponseDataInner
|
|
34
|
+
*/
|
|
35
|
+
description?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Path prefix device maintainers may write under, if the site opted in.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListResponseWikiSiteResponseDataInner
|
|
40
|
+
*/
|
|
41
|
+
devicePages?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ListResponseWikiSiteResponseDataInner
|
|
46
|
+
*/
|
|
47
|
+
id: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ListResponseWikiSiteResponseDataInner
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ListResponseWikiSiteResponseDataInner
|
|
58
|
+
*/
|
|
59
|
+
slug: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ListResponseWikiSiteResponseDataInner
|
|
64
|
+
*/
|
|
65
|
+
updatedAt?: string | null;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the ListResponseWikiSiteResponseDataInner interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfListResponseWikiSiteResponseDataInner(value: object): value is ListResponseWikiSiteResponseDataInner;
|
|
71
|
+
export declare function ListResponseWikiSiteResponseDataInnerFromJSON(json: any): ListResponseWikiSiteResponseDataInner;
|
|
72
|
+
export declare function ListResponseWikiSiteResponseDataInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseWikiSiteResponseDataInner;
|
|
73
|
+
export declare function ListResponseWikiSiteResponseDataInnerToJSON(json: any): ListResponseWikiSiteResponseDataInner;
|
|
74
|
+
export declare function ListResponseWikiSiteResponseDataInnerToJSONTyped(value?: ListResponseWikiSiteResponseDataInner | null, ignoreDiscriminator?: boolean): any;
|