@orangefox-recovery/foxclient 6.1.0 → 6.2.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.
- package/.openapi-generator/FILES +28 -0
- package/README.md +28 -15
- package/dist/apis/CatalogApi.d.ts +186 -0
- package/dist/apis/CatalogApi.js +249 -0
- 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 +9 -9
- package/dist/apis/ReleaseApi.js +37 -4
- 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 +1 -1
- package/dist/apis/WikiApi.js +35 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/CatalogApi.d.ts +186 -0
- package/dist/esm/apis/CatalogApi.js +212 -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 +9 -9
- package/dist/esm/apis/ReleaseApi.js +3 -3
- 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 +1 -1
- package/dist/esm/apis/WikiApi.js +1 -1
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/ArtifactFormat.d.ts +25 -0
- package/dist/esm/models/ArtifactFormat.js +43 -0
- package/dist/esm/models/ArtifactInput.d.ts +76 -0
- package/dist/esm/models/ArtifactInput.js +69 -0
- package/dist/esm/models/ArtifactResponse.d.ts +82 -0
- package/dist/esm/models/ArtifactResponse.js +73 -0
- package/dist/esm/models/CatalogReleaseResponse.d.ts +69 -0
- package/dist/esm/models/CatalogReleaseResponse.js +64 -0
- package/dist/esm/models/Compatibility.d.ts +50 -0
- package/dist/esm/models/Compatibility.js +47 -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/ListResponseCatalogReleaseResponse.d.ts +49 -0
- package/dist/esm/models/ListResponseCatalogReleaseResponse.js +52 -0
- package/dist/esm/models/ListResponseCatalogReleaseResponseDataInner.d.ts +69 -0
- package/dist/esm/models/ListResponseCatalogReleaseResponseDataInner.js +64 -0
- package/dist/esm/models/ListResponsePackageResponse.d.ts +49 -0
- package/dist/esm/models/ListResponsePackageResponse.js +52 -0
- package/dist/esm/models/ListResponsePackageResponseDataInner.d.ts +63 -0
- package/dist/esm/models/ListResponsePackageResponseDataInner.js +60 -0
- package/dist/esm/models/ListResponseReleaseResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseReleaseResponse.js +1 -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 +1 -1
- package/dist/esm/models/ListResponseShortDeviceResponse.js +1 -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 +1 -1
- package/dist/esm/models/ListResponseString.js +1 -1
- package/dist/esm/models/ListResponseWikiPageShortResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseWikiPageShortResponse.js +1 -1
- package/dist/esm/models/ListResponseWikiPageShortResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListResponseWikiPageShortResponseDataInner.js +1 -1
- package/dist/esm/models/ListResponseWikiSiteResponse.d.ts +1 -1
- package/dist/esm/models/ListResponseWikiSiteResponse.js +1 -1
- package/dist/esm/models/ListResponseWikiSiteResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListResponseWikiSiteResponseDataInner.js +1 -1
- 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/PackageInput.d.ts +57 -0
- package/dist/esm/models/PackageInput.js +56 -0
- package/dist/esm/models/PackageKind.d.ts +25 -0
- package/dist/esm/models/PackageKind.js +43 -0
- package/dist/esm/models/PackageResponse.d.ts +63 -0
- package/dist/esm/models/PackageResponse.js +60 -0
- 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 +1 -1
- package/dist/esm/models/WikiPageResponse.js +1 -1
- package/dist/esm/models/WikiPageShortResponse.d.ts +1 -1
- package/dist/esm/models/WikiPageShortResponse.js +1 -1
- package/dist/esm/models/WikiSiteResponse.d.ts +1 -1
- package/dist/esm/models/WikiSiteResponse.js +1 -1
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/ArtifactFormat.d.ts +25 -0
- package/dist/models/ArtifactFormat.js +51 -0
- package/dist/models/ArtifactInput.d.ts +76 -0
- package/dist/models/ArtifactInput.js +76 -0
- package/dist/models/ArtifactResponse.d.ts +82 -0
- package/dist/models/ArtifactResponse.js +80 -0
- package/dist/models/CatalogReleaseResponse.d.ts +69 -0
- package/dist/models/CatalogReleaseResponse.js +71 -0
- package/dist/models/Compatibility.d.ts +50 -0
- package/dist/models/Compatibility.js +54 -0
- 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/ListResponseCatalogReleaseResponse.d.ts +49 -0
- package/dist/models/ListResponseCatalogReleaseResponse.js +59 -0
- package/dist/models/ListResponseCatalogReleaseResponseDataInner.d.ts +69 -0
- package/dist/models/ListResponseCatalogReleaseResponseDataInner.js +71 -0
- package/dist/models/ListResponsePackageResponse.d.ts +49 -0
- package/dist/models/ListResponsePackageResponse.js +59 -0
- package/dist/models/ListResponsePackageResponseDataInner.d.ts +63 -0
- package/dist/models/ListResponsePackageResponseDataInner.js +67 -0
- package/dist/models/ListResponseReleaseResponse.d.ts +1 -1
- package/dist/models/ListResponseReleaseResponse.js +1 -1
- package/dist/models/ListResponseReleaseResponseDataInner.d.ts +1 -1
- package/dist/models/ListResponseReleaseResponseDataInner.js +1 -1
- package/dist/models/ListResponseShortDeviceResponse.d.ts +1 -1
- package/dist/models/ListResponseShortDeviceResponse.js +1 -1
- package/dist/models/ListResponseShortDeviceResponseDataInner.d.ts +1 -1
- package/dist/models/ListResponseShortDeviceResponseDataInner.js +1 -1
- package/dist/models/ListResponseString.d.ts +1 -1
- package/dist/models/ListResponseString.js +1 -1
- package/dist/models/ListResponseWikiPageShortResponse.d.ts +1 -1
- package/dist/models/ListResponseWikiPageShortResponse.js +1 -1
- package/dist/models/ListResponseWikiPageShortResponseDataInner.d.ts +1 -1
- package/dist/models/ListResponseWikiPageShortResponseDataInner.js +1 -1
- package/dist/models/ListResponseWikiSiteResponse.d.ts +1 -1
- package/dist/models/ListResponseWikiSiteResponse.js +1 -1
- package/dist/models/ListResponseWikiSiteResponseDataInner.d.ts +1 -1
- package/dist/models/ListResponseWikiSiteResponseDataInner.js +1 -1
- 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/PackageInput.d.ts +57 -0
- package/dist/models/PackageInput.js +63 -0
- package/dist/models/PackageKind.d.ts +25 -0
- package/dist/models/PackageKind.js +51 -0
- package/dist/models/PackageResponse.d.ts +63 -0
- package/dist/models/PackageResponse.js +67 -0
- 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 +1 -1
- package/dist/models/WikiPageResponse.js +1 -1
- package/dist/models/WikiPageShortResponse.d.ts +1 -1
- package/dist/models/WikiPageShortResponse.js +1 -1
- package/dist/models/WikiSiteResponse.d.ts +1 -1
- package/dist/models/WikiSiteResponse.js +1 -1
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/ArtifactFormat.md +32 -0
- package/docs/ArtifactInput.md +48 -0
- package/docs/ArtifactResponse.md +50 -0
- package/docs/CatalogApi.md +319 -0
- package/docs/CatalogReleaseResponse.md +46 -0
- package/docs/Compatibility.md +40 -0
- package/docs/ListResponseCatalogReleaseResponse.md +38 -0
- package/docs/ListResponseCatalogReleaseResponseDataInner.md +46 -0
- package/docs/ListResponsePackageResponse.md +38 -0
- package/docs/ListResponsePackageResponseDataInner.md +44 -0
- package/docs/PackageInput.md +42 -0
- package/docs/PackageKind.md +32 -0
- package/docs/PackageResponse.md +44 -0
- package/docs/ReleaseApi.md +5 -5
- package/docs/ReleaseGroupsResponse.md +3 -0
- package/docs/ReleaseSort.md +33 -0
- package/package.json +2 -2
- package/src/apis/CatalogApi.ts +406 -0
- package/src/apis/DeviceApi.ts +1 -1
- package/src/apis/PasteApi.ts +1 -1
- package/src/apis/ReleaseApi.ts +11 -8
- 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 +1 -1
- package/src/apis/index.ts +1 -0
- package/src/models/ArtifactFormat.ts +53 -0
- package/src/models/ArtifactInput.ts +144 -0
- package/src/models/ArtifactResponse.ts +153 -0
- package/src/models/CatalogReleaseResponse.ts +126 -0
- package/src/models/Compatibility.ts +89 -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/ListResponseCatalogReleaseResponse.ts +96 -0
- package/src/models/ListResponseCatalogReleaseResponseDataInner.ts +126 -0
- package/src/models/ListResponsePackageResponse.ts +96 -0
- package/src/models/ListResponsePackageResponseDataInner.ts +119 -0
- package/src/models/ListResponseReleaseResponse.ts +1 -1
- package/src/models/ListResponseReleaseResponseDataInner.ts +1 -1
- package/src/models/ListResponseShortDeviceResponse.ts +1 -1
- package/src/models/ListResponseShortDeviceResponseDataInner.ts +1 -1
- package/src/models/ListResponseString.ts +1 -1
- package/src/models/ListResponseWikiPageShortResponse.ts +1 -1
- package/src/models/ListResponseWikiPageShortResponseDataInner.ts +1 -1
- package/src/models/ListResponseWikiSiteResponse.ts +1 -1
- package/src/models/ListResponseWikiSiteResponseDataInner.ts +1 -1
- package/src/models/MaintainerShortResponse.ts +1 -1
- package/src/models/NewReportRequest.ts +1 -1
- package/src/models/PackageInput.ts +110 -0
- package/src/models/PackageKind.ts +53 -0
- package/src/models/PackageResponse.ts +119 -0
- 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 +1 -1
- package/src/models/WikiPageShortResponse.ts +1 -1
- package/src/models/WikiSiteResponse.ts +1 -1
- package/src/models/index.ts +13 -0
- package/src/runtime.ts +1 -1
- package/tsconfig.esm.json +2 -1
- package/tsconfig.json +4 -3
|
@@ -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.2.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 { ListResponsePackageResponseDataInner } from './ListResponsePackageResponseDataInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListResponsePackageResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListResponsePackageResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Number of items in *this page*, not the size of the collection.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ListResponsePackageResponse
|
|
23
|
+
*/
|
|
24
|
+
count: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<ListResponsePackageResponseDataInner>}
|
|
28
|
+
* @memberof ListResponsePackageResponse
|
|
29
|
+
*/
|
|
30
|
+
data: Array<ListResponsePackageResponseDataInner>;
|
|
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 ListResponsePackageResponse
|
|
39
|
+
*/
|
|
40
|
+
hasMore: boolean;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ListResponsePackageResponse interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfListResponsePackageResponse(value: object): value is ListResponsePackageResponse;
|
|
46
|
+
export declare function ListResponsePackageResponseFromJSON(json: any): ListResponsePackageResponse;
|
|
47
|
+
export declare function ListResponsePackageResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponsePackageResponse;
|
|
48
|
+
export declare function ListResponsePackageResponseToJSON(json: any): ListResponsePackageResponse;
|
|
49
|
+
export declare function ListResponsePackageResponseToJSONTyped(value?: ListResponsePackageResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fox API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
|
+
* Contact: admin@orangefox.tech
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfListResponsePackageResponse = instanceOfListResponsePackageResponse;
|
|
17
|
+
exports.ListResponsePackageResponseFromJSON = ListResponsePackageResponseFromJSON;
|
|
18
|
+
exports.ListResponsePackageResponseFromJSONTyped = ListResponsePackageResponseFromJSONTyped;
|
|
19
|
+
exports.ListResponsePackageResponseToJSON = ListResponsePackageResponseToJSON;
|
|
20
|
+
exports.ListResponsePackageResponseToJSONTyped = ListResponsePackageResponseToJSONTyped;
|
|
21
|
+
const ListResponsePackageResponseDataInner_1 = require("./ListResponsePackageResponseDataInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListResponsePackageResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListResponsePackageResponse(value) {
|
|
26
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('hasMore' in value) || value['hasMore'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function ListResponsePackageResponseFromJSON(json) {
|
|
35
|
+
return ListResponsePackageResponseFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function ListResponsePackageResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'count': json['count'],
|
|
43
|
+
'data': (json['data'].map(ListResponsePackageResponseDataInner_1.ListResponsePackageResponseDataInnerFromJSON)),
|
|
44
|
+
'hasMore': json['has_more'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function ListResponsePackageResponseToJSON(json) {
|
|
48
|
+
return ListResponsePackageResponseToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function ListResponsePackageResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'count': value['count'],
|
|
56
|
+
'data': (value['data'].map(ListResponsePackageResponseDataInner_1.ListResponsePackageResponseDataInnerToJSON)),
|
|
57
|
+
'has_more': value['hasMore'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.2.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 { PackageKind } from './PackageKind';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListResponsePackageResponseDataInner
|
|
17
|
+
*/
|
|
18
|
+
export interface ListResponsePackageResponseDataInner {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ListResponsePackageResponseDataInner
|
|
23
|
+
*/
|
|
24
|
+
description: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListResponsePackageResponseDataInner
|
|
29
|
+
*/
|
|
30
|
+
descriptionI18n?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {PackageKind}
|
|
34
|
+
* @memberof ListResponsePackageResponseDataInner
|
|
35
|
+
*/
|
|
36
|
+
kind: PackageKind;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ListResponsePackageResponseDataInner
|
|
41
|
+
*/
|
|
42
|
+
name: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ListResponsePackageResponseDataInner
|
|
47
|
+
*/
|
|
48
|
+
nameI18n?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ListResponsePackageResponseDataInner
|
|
53
|
+
*/
|
|
54
|
+
id: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ListResponsePackageResponseDataInner interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfListResponsePackageResponseDataInner(value: object): value is ListResponsePackageResponseDataInner;
|
|
60
|
+
export declare function ListResponsePackageResponseDataInnerFromJSON(json: any): ListResponsePackageResponseDataInner;
|
|
61
|
+
export declare function ListResponsePackageResponseDataInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponsePackageResponseDataInner;
|
|
62
|
+
export declare function ListResponsePackageResponseDataInnerToJSON(json: any): ListResponsePackageResponseDataInner;
|
|
63
|
+
export declare function ListResponsePackageResponseDataInnerToJSONTyped(value?: ListResponsePackageResponseDataInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fox API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
|
+
* Contact: admin@orangefox.tech
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfListResponsePackageResponseDataInner = instanceOfListResponsePackageResponseDataInner;
|
|
17
|
+
exports.ListResponsePackageResponseDataInnerFromJSON = ListResponsePackageResponseDataInnerFromJSON;
|
|
18
|
+
exports.ListResponsePackageResponseDataInnerFromJSONTyped = ListResponsePackageResponseDataInnerFromJSONTyped;
|
|
19
|
+
exports.ListResponsePackageResponseDataInnerToJSON = ListResponsePackageResponseDataInnerToJSON;
|
|
20
|
+
exports.ListResponsePackageResponseDataInnerToJSONTyped = ListResponsePackageResponseDataInnerToJSONTyped;
|
|
21
|
+
const PackageKind_1 = require("./PackageKind");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListResponsePackageResponseDataInner interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListResponsePackageResponseDataInner(value) {
|
|
26
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ListResponsePackageResponseDataInnerFromJSON(json) {
|
|
37
|
+
return ListResponsePackageResponseDataInnerFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ListResponsePackageResponseDataInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'description': json['description'],
|
|
45
|
+
'descriptionI18n': json['description_i18n'] == null ? undefined : json['description_i18n'],
|
|
46
|
+
'kind': (0, PackageKind_1.PackageKindFromJSON)(json['kind']),
|
|
47
|
+
'name': json['name'],
|
|
48
|
+
'nameI18n': json['name_i18n'] == null ? undefined : json['name_i18n'],
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function ListResponsePackageResponseDataInnerToJSON(json) {
|
|
53
|
+
return ListResponsePackageResponseDataInnerToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function ListResponsePackageResponseDataInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'description': value['description'],
|
|
61
|
+
'description_i18n': value['descriptionI18n'],
|
|
62
|
+
'kind': (0, PackageKind_1.PackageKindToJSON)(value['kind']),
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
'name_i18n': value['nameI18n'],
|
|
65
|
+
'id': value['id'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -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.2.0
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* 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.2.0
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* 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.2.0
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* 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.2.0
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* 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.2.0
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* 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.2.0
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* 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.2.0
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* 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.2.0
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* 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.2.0
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* 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.2.0
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* 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.2.0
|
|
6
6
|
* Contact: admin@orangefox.tech
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Fox API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 6.
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
9
|
* Contact: admin@orangefox.tech
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,57 @@
|
|
|
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.2.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 { PackageKind } from './PackageKind';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PackageInput
|
|
17
|
+
*/
|
|
18
|
+
export interface PackageInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PackageInput
|
|
23
|
+
*/
|
|
24
|
+
description: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PackageInput
|
|
29
|
+
*/
|
|
30
|
+
descriptionI18n?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {PackageKind}
|
|
34
|
+
* @memberof PackageInput
|
|
35
|
+
*/
|
|
36
|
+
kind: PackageKind;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PackageInput
|
|
41
|
+
*/
|
|
42
|
+
name: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PackageInput
|
|
47
|
+
*/
|
|
48
|
+
nameI18n?: string | null;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the PackageInput interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfPackageInput(value: object): value is PackageInput;
|
|
54
|
+
export declare function PackageInputFromJSON(json: any): PackageInput;
|
|
55
|
+
export declare function PackageInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PackageInput;
|
|
56
|
+
export declare function PackageInputToJSON(json: any): PackageInput;
|
|
57
|
+
export declare function PackageInputToJSONTyped(value?: PackageInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fox API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 6.2.0
|
|
9
|
+
* Contact: admin@orangefox.tech
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPackageInput = instanceOfPackageInput;
|
|
17
|
+
exports.PackageInputFromJSON = PackageInputFromJSON;
|
|
18
|
+
exports.PackageInputFromJSONTyped = PackageInputFromJSONTyped;
|
|
19
|
+
exports.PackageInputToJSON = PackageInputToJSON;
|
|
20
|
+
exports.PackageInputToJSONTyped = PackageInputToJSONTyped;
|
|
21
|
+
const PackageKind_1 = require("./PackageKind");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PackageInput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPackageInput(value) {
|
|
26
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function PackageInputFromJSON(json) {
|
|
35
|
+
return PackageInputFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function PackageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'description': json['description'],
|
|
43
|
+
'descriptionI18n': json['description_i18n'] == null ? undefined : json['description_i18n'],
|
|
44
|
+
'kind': (0, PackageKind_1.PackageKindFromJSON)(json['kind']),
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'nameI18n': json['name_i18n'] == null ? undefined : json['name_i18n'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function PackageInputToJSON(json) {
|
|
50
|
+
return PackageInputToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function PackageInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'description': value['description'],
|
|
58
|
+
'description_i18n': value['descriptionI18n'],
|
|
59
|
+
'kind': (0, PackageKind_1.PackageKindToJSON)(value['kind']),
|
|
60
|
+
'name': value['name'],
|
|
61
|
+
'name_i18n': value['nameI18n'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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.2.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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const PackageKind: {
|
|
17
|
+
readonly Tool: 'tool';
|
|
18
|
+
readonly Rom: 'rom';
|
|
19
|
+
};
|
|
20
|
+
export type PackageKind = typeof PackageKind[keyof typeof PackageKind];
|
|
21
|
+
export declare function instanceOfPackageKind(value: any): boolean;
|
|
22
|
+
export declare function PackageKindFromJSON(json: any): PackageKind;
|
|
23
|
+
export declare function PackageKindFromJSONTyped(json: any, ignoreDiscriminator: boolean): PackageKind;
|
|
24
|
+
export declare function PackageKindToJSON(value?: PackageKind | null): any;
|
|
25
|
+
export declare function PackageKindToJSONTyped(value: any, ignoreDiscriminator: boolean): PackageKind;
|