@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
|
@@ -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).
|
|
@@ -0,0 +1,219 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { ListResponseWikiPageShortResponse, ListResponseWikiSiteResponse, WikiPageResponse, WikiSiteResponse } from '../models/index';
|
|
14
|
+
export interface GetAssetRequest {
|
|
15
|
+
site: string;
|
|
16
|
+
path: string;
|
|
17
|
+
}
|
|
18
|
+
export interface GetPageRequest {
|
|
19
|
+
site: string;
|
|
20
|
+
path: string;
|
|
21
|
+
}
|
|
22
|
+
export interface GetSiteRequest {
|
|
23
|
+
slug: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ListPagesRequest {
|
|
26
|
+
site: string;
|
|
27
|
+
skip?: number | null;
|
|
28
|
+
limit?: number | null;
|
|
29
|
+
}
|
|
30
|
+
export interface ListSitesRequest {
|
|
31
|
+
skip?: number | null;
|
|
32
|
+
limit?: number | null;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* WikiApi - interface
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface WikiApiInterface
|
|
39
|
+
*/
|
|
40
|
+
export interface WikiApiInterface {
|
|
41
|
+
/**
|
|
42
|
+
* Creates request options for getAsset without sending the request
|
|
43
|
+
* @param {string} site Site slug
|
|
44
|
+
* @param {string} path Asset path, e.g. images/waving.png
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
* @memberof WikiApiInterface
|
|
47
|
+
*/
|
|
48
|
+
getAssetRequestOpts(requestParameters: GetAssetRequest): Promise<runtime.RequestOpts>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @summary GET /wiki/{site}/assets/{path} - Serve asset bytes.
|
|
52
|
+
* @param {string} site Site slug
|
|
53
|
+
* @param {string} path Asset path, e.g. images/waving.png
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
* @memberof WikiApiInterface
|
|
57
|
+
*/
|
|
58
|
+
getAssetRaw(requestParameters: GetAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
59
|
+
/**
|
|
60
|
+
* GET /wiki/{site}/assets/{path} - Serve asset bytes.
|
|
61
|
+
*/
|
|
62
|
+
getAsset(requestParameters: GetAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Creates request options for getPage without sending the request
|
|
65
|
+
* @param {string} site Site slug
|
|
66
|
+
* @param {string} path Page path, e.g. Installation/Windows
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
* @memberof WikiApiInterface
|
|
69
|
+
*/
|
|
70
|
+
getPageRequestOpts(requestParameters: GetPageRequest): Promise<runtime.RequestOpts>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary GET /wiki/{site}/pages/{path} - Fetch one published page.
|
|
74
|
+
* @param {string} site Site slug
|
|
75
|
+
* @param {string} path Page path, e.g. Installation/Windows
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
* @memberof WikiApiInterface
|
|
79
|
+
*/
|
|
80
|
+
getPageRaw(requestParameters: GetPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WikiPageResponse>>;
|
|
81
|
+
/**
|
|
82
|
+
* GET /wiki/{site}/pages/{path} - Fetch one published page.
|
|
83
|
+
*/
|
|
84
|
+
getPage(requestParameters: GetPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WikiPageResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* Creates request options for getSite without sending the request
|
|
87
|
+
* @param {string} slug Site slug
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
* @memberof WikiApiInterface
|
|
90
|
+
*/
|
|
91
|
+
getSiteRequestOpts(requestParameters: GetSiteRequest): Promise<runtime.RequestOpts>;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @summary GET /wiki/sites/{slug} - Fetch one wiki site.
|
|
95
|
+
* @param {string} slug Site slug
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
* @memberof WikiApiInterface
|
|
99
|
+
*/
|
|
100
|
+
getSiteRaw(requestParameters: GetSiteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WikiSiteResponse>>;
|
|
101
|
+
/**
|
|
102
|
+
* GET /wiki/sites/{slug} - Fetch one wiki site.
|
|
103
|
+
*/
|
|
104
|
+
getSite(requestParameters: GetSiteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WikiSiteResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* Creates request options for listPages without sending the request
|
|
107
|
+
* @param {string} site Site slug
|
|
108
|
+
* @param {number} [skip]
|
|
109
|
+
* @param {number} [limit]
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
* @memberof WikiApiInterface
|
|
112
|
+
*/
|
|
113
|
+
listPagesRequestOpts(requestParameters: ListPagesRequest): Promise<runtime.RequestOpts>;
|
|
114
|
+
/**
|
|
115
|
+
* 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.
|
|
116
|
+
* @summary GET /wiki/{site}/pages - List every published page in a site.
|
|
117
|
+
* @param {string} site Site slug
|
|
118
|
+
* @param {number} [skip]
|
|
119
|
+
* @param {number} [limit]
|
|
120
|
+
* @param {*} [options] Override http request option.
|
|
121
|
+
* @throws {RequiredError}
|
|
122
|
+
* @memberof WikiApiInterface
|
|
123
|
+
*/
|
|
124
|
+
listPagesRaw(requestParameters: ListPagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseWikiPageShortResponse>>;
|
|
125
|
+
/**
|
|
126
|
+
* 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.
|
|
127
|
+
* GET /wiki/{site}/pages - List every published page in a site.
|
|
128
|
+
*/
|
|
129
|
+
listPages(requestParameters: ListPagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseWikiPageShortResponse>;
|
|
130
|
+
/**
|
|
131
|
+
* Creates request options for listSites without sending the request
|
|
132
|
+
* @param {number} [skip]
|
|
133
|
+
* @param {number} [limit]
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
* @memberof WikiApiInterface
|
|
136
|
+
*/
|
|
137
|
+
listSitesRequestOpts(requestParameters: ListSitesRequest): Promise<runtime.RequestOpts>;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @summary GET /wiki/sites - List wiki sites.
|
|
141
|
+
* @param {number} [skip]
|
|
142
|
+
* @param {number} [limit]
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
* @memberof WikiApiInterface
|
|
146
|
+
*/
|
|
147
|
+
listSitesRaw(requestParameters: ListSitesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseWikiSiteResponse>>;
|
|
148
|
+
/**
|
|
149
|
+
* GET /wiki/sites - List wiki sites.
|
|
150
|
+
*/
|
|
151
|
+
listSites(requestParameters: ListSitesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseWikiSiteResponse>;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
*/
|
|
156
|
+
export declare class WikiApi extends runtime.BaseAPI implements WikiApiInterface {
|
|
157
|
+
/**
|
|
158
|
+
* Creates request options for getAsset without sending the request
|
|
159
|
+
*/
|
|
160
|
+
getAssetRequestOpts(requestParameters: GetAssetRequest): Promise<runtime.RequestOpts>;
|
|
161
|
+
/**
|
|
162
|
+
* GET /wiki/{site}/assets/{path} - Serve asset bytes.
|
|
163
|
+
*/
|
|
164
|
+
getAssetRaw(requestParameters: GetAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
165
|
+
/**
|
|
166
|
+
* GET /wiki/{site}/assets/{path} - Serve asset bytes.
|
|
167
|
+
*/
|
|
168
|
+
getAsset(requestParameters: GetAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
169
|
+
/**
|
|
170
|
+
* Creates request options for getPage without sending the request
|
|
171
|
+
*/
|
|
172
|
+
getPageRequestOpts(requestParameters: GetPageRequest): Promise<runtime.RequestOpts>;
|
|
173
|
+
/**
|
|
174
|
+
* GET /wiki/{site}/pages/{path} - Fetch one published page.
|
|
175
|
+
*/
|
|
176
|
+
getPageRaw(requestParameters: GetPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WikiPageResponse>>;
|
|
177
|
+
/**
|
|
178
|
+
* GET /wiki/{site}/pages/{path} - Fetch one published page.
|
|
179
|
+
*/
|
|
180
|
+
getPage(requestParameters: GetPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WikiPageResponse>;
|
|
181
|
+
/**
|
|
182
|
+
* Creates request options for getSite without sending the request
|
|
183
|
+
*/
|
|
184
|
+
getSiteRequestOpts(requestParameters: GetSiteRequest): Promise<runtime.RequestOpts>;
|
|
185
|
+
/**
|
|
186
|
+
* GET /wiki/sites/{slug} - Fetch one wiki site.
|
|
187
|
+
*/
|
|
188
|
+
getSiteRaw(requestParameters: GetSiteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WikiSiteResponse>>;
|
|
189
|
+
/**
|
|
190
|
+
* GET /wiki/sites/{slug} - Fetch one wiki site.
|
|
191
|
+
*/
|
|
192
|
+
getSite(requestParameters: GetSiteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WikiSiteResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* Creates request options for listPages without sending the request
|
|
195
|
+
*/
|
|
196
|
+
listPagesRequestOpts(requestParameters: ListPagesRequest): Promise<runtime.RequestOpts>;
|
|
197
|
+
/**
|
|
198
|
+
* 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.
|
|
199
|
+
* GET /wiki/{site}/pages - List every published page in a site.
|
|
200
|
+
*/
|
|
201
|
+
listPagesRaw(requestParameters: ListPagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseWikiPageShortResponse>>;
|
|
202
|
+
/**
|
|
203
|
+
* 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.
|
|
204
|
+
* GET /wiki/{site}/pages - List every published page in a site.
|
|
205
|
+
*/
|
|
206
|
+
listPages(requestParameters: ListPagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseWikiPageShortResponse>;
|
|
207
|
+
/**
|
|
208
|
+
* Creates request options for listSites without sending the request
|
|
209
|
+
*/
|
|
210
|
+
listSitesRequestOpts(requestParameters: ListSitesRequest): Promise<runtime.RequestOpts>;
|
|
211
|
+
/**
|
|
212
|
+
* GET /wiki/sites - List wiki sites.
|
|
213
|
+
*/
|
|
214
|
+
listSitesRaw(requestParameters: ListSitesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResponseWikiSiteResponse>>;
|
|
215
|
+
/**
|
|
216
|
+
* GET /wiki/sites - List wiki sites.
|
|
217
|
+
*/
|
|
218
|
+
listSites(requestParameters?: ListSitesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListResponseWikiSiteResponse>;
|
|
219
|
+
}
|
|
@@ -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.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
|
+
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
|
+
}
|
package/dist/esm/apis/index.d.ts
CHANGED
package/dist/esm/apis/index.js
CHANGED
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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.
|
|
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 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.
|
|
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).
|