@orangefox-recovery/foxclient 5.2.6 → 5.2.7
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 -30
- package/README.md +3 -65
- package/dist/apis/DeviceApi.d.ts +158 -0
- package/dist/apis/DeviceApi.js +188 -0
- package/dist/apis/PasteApi.d.ts +80 -0
- package/dist/apis/PasteApi.js +95 -0
- package/dist/apis/ReleaseApi.d.ts +188 -0
- package/dist/apis/ReleaseApi.js +226 -0
- package/dist/apis/StatsApi.d.ts +49 -0
- package/dist/apis/StatsApi.js +60 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +22 -0
- package/dist/esm/apis/DeviceApi.d.ts +158 -0
- package/dist/esm/apis/DeviceApi.js +184 -0
- package/dist/esm/apis/PasteApi.d.ts +80 -0
- package/dist/esm/apis/PasteApi.js +91 -0
- package/dist/esm/apis/ReleaseApi.d.ts +188 -0
- package/dist/esm/apis/ReleaseApi.js +222 -0
- package/dist/esm/apis/StatsApi.d.ts +49 -0
- package/dist/esm/apis/StatsApi.js +56 -0
- package/dist/esm/apis/index.d.ts +4 -0
- package/dist/esm/apis/index.js +6 -0
- package/dist/esm/index.d.ts +3 -13
- package/dist/esm/index.js +3 -13
- package/dist/esm/models/DeviceResponse.d.ts +101 -0
- package/dist/esm/models/DeviceResponse.js +82 -0
- package/dist/esm/models/GlobalStatsAggregationModel.d.ts +52 -0
- package/dist/esm/models/GlobalStatsAggregationModel.js +55 -0
- package/dist/esm/models/HTTPValidationError.d.ts +33 -0
- package/dist/esm/models/HTTPValidationError.js +42 -0
- package/dist/esm/models/ListResponseReleaseResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseReleaseResponse.js +47 -0
- package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseShortDeviceResponse.js +47 -0
- package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +39 -0
- package/dist/esm/models/ListResponseShortReleaseResponse.js +47 -0
- package/dist/esm/models/ListResponseStr.d.ts +38 -0
- package/dist/esm/models/ListResponseStr.js +46 -0
- package/dist/esm/models/MaintainerShortModel.d.ts +44 -0
- package/dist/esm/models/MaintainerShortModel.js +51 -0
- package/dist/esm/models/PasteInput.d.ts +50 -0
- package/dist/esm/models/PasteInput.js +51 -0
- package/dist/esm/models/PasteOutput.d.ts +50 -0
- package/dist/esm/models/PasteOutput.js +51 -0
- package/dist/esm/models/RecoveryImgResponse.d.ts +38 -0
- package/dist/esm/models/RecoveryImgResponse.js +47 -0
- package/dist/esm/models/ReleaseGroupsResponse.d.ts +35 -0
- package/dist/esm/models/ReleaseGroupsResponse.js +43 -0
- package/dist/esm/models/ReleaseResponse.d.ts +139 -0
- package/dist/esm/models/ReleaseResponse.js +107 -0
- package/dist/esm/models/ReleaseType.d.ts +26 -0
- package/dist/esm/models/ReleaseType.js +44 -0
- package/dist/esm/models/ReleasesSort.d.ts +25 -0
- package/dist/esm/models/ReleasesSort.js +43 -0
- package/dist/esm/models/ResponseGetReleases.d.ts +41 -0
- package/dist/esm/models/ResponseGetReleases.js +46 -0
- package/dist/esm/models/ShortDeviceResponse.d.ts +82 -0
- package/dist/esm/models/ShortDeviceResponse.js +73 -0
- package/dist/esm/models/ShortReleaseResponse.d.ts +100 -0
- package/dist/esm/models/ShortReleaseResponse.js +84 -0
- package/dist/esm/models/ValidationError.d.ts +45 -0
- package/dist/esm/models/ValidationError.js +52 -0
- package/dist/esm/models/ValidationErrorLocInner.d.ts +26 -0
- package/{index.ts → dist/esm/models/ValidationErrorLocInner.js} +20 -7
- package/dist/esm/models/index.d.ts +20 -0
- package/dist/esm/models/index.js +22 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/index.d.ts +3 -13
- package/dist/index.js +5 -15
- package/dist/models/DeviceResponse.d.ts +101 -0
- package/dist/models/DeviceResponse.js +89 -0
- package/dist/models/GlobalStatsAggregationModel.d.ts +52 -0
- package/dist/models/GlobalStatsAggregationModel.js +62 -0
- package/dist/models/HTTPValidationError.d.ts +33 -0
- package/dist/models/HTTPValidationError.js +49 -0
- package/dist/models/ListResponseReleaseResponse.d.ts +39 -0
- package/dist/models/ListResponseReleaseResponse.js +54 -0
- package/dist/models/ListResponseShortDeviceResponse.d.ts +39 -0
- package/dist/models/ListResponseShortDeviceResponse.js +54 -0
- package/dist/models/ListResponseShortReleaseResponse.d.ts +39 -0
- package/dist/models/ListResponseShortReleaseResponse.js +54 -0
- package/dist/models/ListResponseStr.d.ts +38 -0
- package/dist/models/ListResponseStr.js +53 -0
- package/dist/models/MaintainerShortModel.d.ts +44 -0
- package/dist/models/MaintainerShortModel.js +58 -0
- package/dist/models/PasteInput.d.ts +50 -0
- package/dist/models/PasteInput.js +58 -0
- package/dist/models/PasteOutput.d.ts +50 -0
- package/dist/models/PasteOutput.js +58 -0
- package/dist/models/RecoveryImgResponse.d.ts +38 -0
- package/dist/models/RecoveryImgResponse.js +54 -0
- package/dist/models/ReleaseGroupsResponse.d.ts +35 -0
- package/dist/models/ReleaseGroupsResponse.js +50 -0
- package/dist/models/ReleaseResponse.d.ts +139 -0
- package/dist/models/ReleaseResponse.js +114 -0
- package/dist/models/ReleaseType.d.ts +26 -0
- package/dist/models/ReleaseType.js +52 -0
- package/dist/models/ReleasesSort.d.ts +25 -0
- package/dist/models/ReleasesSort.js +51 -0
- package/dist/models/ResponseGetReleases.d.ts +41 -0
- package/dist/models/ResponseGetReleases.js +53 -0
- package/dist/models/ShortDeviceResponse.d.ts +82 -0
- package/dist/models/ShortDeviceResponse.js +80 -0
- package/dist/models/ShortReleaseResponse.d.ts +100 -0
- package/dist/models/ShortReleaseResponse.js +91 -0
- package/dist/models/ValidationError.d.ts +45 -0
- package/dist/models/ValidationError.js +59 -0
- package/dist/models/ValidationErrorLocInner.d.ts +26 -0
- package/dist/models/ValidationErrorLocInner.js +38 -0
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.js +38 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/package.json +4 -17
- package/src/apis/DeviceApi.ts +326 -0
- package/src/apis/PasteApi.ts +158 -0
- package/src/apis/ReleaseApi.ts +414 -0
- package/src/apis/StatsApi.ts +82 -0
- package/src/apis/index.ts +6 -0
- package/src/index.ts +5 -0
- package/src/models/DeviceResponse.ts +171 -0
- package/src/models/GlobalStatsAggregationModel.ts +93 -0
- package/src/models/HTTPValidationError.ts +73 -0
- package/src/models/ListResponseReleaseResponse.ts +82 -0
- package/src/models/ListResponseShortDeviceResponse.ts +82 -0
- package/src/models/ListResponseShortReleaseResponse.ts +82 -0
- package/src/models/ListResponseStr.ts +74 -0
- package/src/models/MaintainerShortModel.ts +84 -0
- package/src/models/PasteInput.ts +91 -0
- package/src/models/PasteOutput.ts +91 -0
- package/src/models/RecoveryImgResponse.ts +75 -0
- package/src/models/ReleaseGroupsResponse.ts +74 -0
- package/src/models/ReleaseResponse.ts +233 -0
- package/src/models/ReleaseType.ts +54 -0
- package/src/models/ReleasesSort.ts +53 -0
- package/src/models/ResponseGetReleases.ts +96 -0
- package/src/models/ShortDeviceResponse.ts +138 -0
- package/src/models/ShortReleaseResponse.ts +174 -0
- package/src/models/ValidationError.ts +92 -0
- package/src/models/ValidationErrorLocInner.ts +46 -0
- package/src/models/index.ts +22 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.json +2 -4
- package/api.ts +0 -2101
- package/base.ts +0 -86
- package/common.ts +0 -150
- package/configuration.ts +0 -115
- package/dist/api.d.ts +0 -1483
- package/dist/api.js +0 -1172
- package/dist/base.d.ts +0 -66
- package/dist/base.js +0 -65
- package/dist/common.d.ts +0 -65
- package/dist/common.js +0 -161
- package/dist/configuration.d.ts +0 -91
- package/dist/configuration.js +0 -44
- package/dist/esm/api.d.ts +0 -1483
- package/dist/esm/api.js +0 -1153
- package/dist/esm/base.d.ts +0 -66
- package/dist/esm/base.js +0 -60
- package/dist/esm/common.d.ts +0 -65
- package/dist/esm/common.js +0 -149
- package/dist/esm/configuration.d.ts +0 -91
- package/dist/esm/configuration.js +0 -40
- package/docs/DeviceApi.md +0 -251
- package/docs/DeviceResponse.md +0 -44
- package/docs/GlobalStatsAggregationModel.md +0 -26
- package/docs/HTTPValidationError.md +0 -20
- package/docs/ListResponseReleaseResponse.md +0 -22
- package/docs/ListResponseShortDeviceResponse.md +0 -22
- package/docs/ListResponseShortReleaseResponse.md +0 -22
- package/docs/ListResponseStr.md +0 -22
- package/docs/MaintainerShortModel.md +0 -26
- package/docs/PasteApi.md +0 -117
- package/docs/PasteInput.md +0 -26
- package/docs/PasteOutput.md +0 -26
- package/docs/RecoveryImgResponse.md +0 -22
- package/docs/ReleaseApi.md +0 -289
- package/docs/ReleaseGroupsResponse.md +0 -20
- package/docs/ReleaseResponse.md +0 -56
- package/docs/ReleaseType.md +0 -12
- package/docs/ReleasesSort.md +0 -10
- package/docs/ResponseGetReleases.md +0 -22
- package/docs/ShortDeviceResponse.md +0 -38
- package/docs/ShortReleaseResponse.md +0 -44
- package/docs/StatsApi.md +0 -53
- package/docs/ValidationError.md +0 -24
- package/docs/ValidationErrorLocInner.md +0 -18
- package/git_push.sh +0 -57
|
@@ -0,0 +1,33 @@
|
|
|
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: 5.2.7
|
|
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 { ValidationError } from './ValidationError';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface HTTPValidationError
|
|
17
|
+
*/
|
|
18
|
+
export interface HTTPValidationError {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ValidationError>}
|
|
22
|
+
* @memberof HTTPValidationError
|
|
23
|
+
*/
|
|
24
|
+
detail?: Array<ValidationError>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the HTTPValidationError interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfHTTPValidationError(value: object): value is HTTPValidationError;
|
|
30
|
+
export declare function HTTPValidationErrorFromJSON(json: any): HTTPValidationError;
|
|
31
|
+
export declare function HTTPValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPValidationError;
|
|
32
|
+
export declare function HTTPValidationErrorToJSON(json: any): HTTPValidationError;
|
|
33
|
+
export declare function HTTPValidationErrorToJSONTyped(value?: HTTPValidationError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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: 5.2.7
|
|
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.instanceOfHTTPValidationError = instanceOfHTTPValidationError;
|
|
17
|
+
exports.HTTPValidationErrorFromJSON = HTTPValidationErrorFromJSON;
|
|
18
|
+
exports.HTTPValidationErrorFromJSONTyped = HTTPValidationErrorFromJSONTyped;
|
|
19
|
+
exports.HTTPValidationErrorToJSON = HTTPValidationErrorToJSON;
|
|
20
|
+
exports.HTTPValidationErrorToJSONTyped = HTTPValidationErrorToJSONTyped;
|
|
21
|
+
const ValidationError_1 = require("./ValidationError");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the HTTPValidationError interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfHTTPValidationError(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function HTTPValidationErrorFromJSON(json) {
|
|
29
|
+
return HTTPValidationErrorFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function HTTPValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'detail': json['detail'] == null ? undefined : (json['detail'].map(ValidationError_1.ValidationErrorFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function HTTPValidationErrorToJSON(json) {
|
|
40
|
+
return HTTPValidationErrorToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function HTTPValidationErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'detail': value['detail'] == null ? undefined : (value['detail'].map(ValidationError_1.ValidationErrorToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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: 5.2.7
|
|
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 { ReleaseResponse } from './ReleaseResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListResponseReleaseResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListResponseReleaseResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ReleaseResponse>}
|
|
22
|
+
* @memberof ListResponseReleaseResponse
|
|
23
|
+
*/
|
|
24
|
+
data: Array<ReleaseResponse>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListResponseReleaseResponse
|
|
29
|
+
*/
|
|
30
|
+
readonly count: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListResponseReleaseResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListResponseReleaseResponse(value: object): value is ListResponseReleaseResponse;
|
|
36
|
+
export declare function ListResponseReleaseResponseFromJSON(json: any): ListResponseReleaseResponse;
|
|
37
|
+
export declare function ListResponseReleaseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseReleaseResponse;
|
|
38
|
+
export declare function ListResponseReleaseResponseToJSON(json: any): ListResponseReleaseResponse;
|
|
39
|
+
export declare function ListResponseReleaseResponseToJSONTyped(value?: Omit<ListResponseReleaseResponse, 'count'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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: 5.2.7
|
|
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.instanceOfListResponseReleaseResponse = instanceOfListResponseReleaseResponse;
|
|
17
|
+
exports.ListResponseReleaseResponseFromJSON = ListResponseReleaseResponseFromJSON;
|
|
18
|
+
exports.ListResponseReleaseResponseFromJSONTyped = ListResponseReleaseResponseFromJSONTyped;
|
|
19
|
+
exports.ListResponseReleaseResponseToJSON = ListResponseReleaseResponseToJSON;
|
|
20
|
+
exports.ListResponseReleaseResponseToJSONTyped = ListResponseReleaseResponseToJSONTyped;
|
|
21
|
+
const ReleaseResponse_1 = require("./ReleaseResponse");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListResponseReleaseResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListResponseReleaseResponse(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function ListResponseReleaseResponseFromJSON(json) {
|
|
33
|
+
return ListResponseReleaseResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function ListResponseReleaseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': (json['data'].map(ReleaseResponse_1.ReleaseResponseFromJSON)),
|
|
41
|
+
'count': json['count'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function ListResponseReleaseResponseToJSON(json) {
|
|
45
|
+
return ListResponseReleaseResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function ListResponseReleaseResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'data': (value['data'].map(ReleaseResponse_1.ReleaseResponseToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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: 5.2.7
|
|
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 { ShortDeviceResponse } from './ShortDeviceResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListResponseShortDeviceResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListResponseShortDeviceResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ShortDeviceResponse>}
|
|
22
|
+
* @memberof ListResponseShortDeviceResponse
|
|
23
|
+
*/
|
|
24
|
+
data: Array<ShortDeviceResponse>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListResponseShortDeviceResponse
|
|
29
|
+
*/
|
|
30
|
+
readonly count: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListResponseShortDeviceResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListResponseShortDeviceResponse(value: object): value is ListResponseShortDeviceResponse;
|
|
36
|
+
export declare function ListResponseShortDeviceResponseFromJSON(json: any): ListResponseShortDeviceResponse;
|
|
37
|
+
export declare function ListResponseShortDeviceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseShortDeviceResponse;
|
|
38
|
+
export declare function ListResponseShortDeviceResponseToJSON(json: any): ListResponseShortDeviceResponse;
|
|
39
|
+
export declare function ListResponseShortDeviceResponseToJSONTyped(value?: Omit<ListResponseShortDeviceResponse, 'count'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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: 5.2.7
|
|
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.instanceOfListResponseShortDeviceResponse = instanceOfListResponseShortDeviceResponse;
|
|
17
|
+
exports.ListResponseShortDeviceResponseFromJSON = ListResponseShortDeviceResponseFromJSON;
|
|
18
|
+
exports.ListResponseShortDeviceResponseFromJSONTyped = ListResponseShortDeviceResponseFromJSONTyped;
|
|
19
|
+
exports.ListResponseShortDeviceResponseToJSON = ListResponseShortDeviceResponseToJSON;
|
|
20
|
+
exports.ListResponseShortDeviceResponseToJSONTyped = ListResponseShortDeviceResponseToJSONTyped;
|
|
21
|
+
const ShortDeviceResponse_1 = require("./ShortDeviceResponse");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListResponseShortDeviceResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListResponseShortDeviceResponse(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function ListResponseShortDeviceResponseFromJSON(json) {
|
|
33
|
+
return ListResponseShortDeviceResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function ListResponseShortDeviceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': (json['data'].map(ShortDeviceResponse_1.ShortDeviceResponseFromJSON)),
|
|
41
|
+
'count': json['count'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function ListResponseShortDeviceResponseToJSON(json) {
|
|
45
|
+
return ListResponseShortDeviceResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function ListResponseShortDeviceResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'data': (value['data'].map(ShortDeviceResponse_1.ShortDeviceResponseToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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: 5.2.7
|
|
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 { ShortReleaseResponse } from './ShortReleaseResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListResponseShortReleaseResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListResponseShortReleaseResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ShortReleaseResponse>}
|
|
22
|
+
* @memberof ListResponseShortReleaseResponse
|
|
23
|
+
*/
|
|
24
|
+
data: Array<ShortReleaseResponse>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListResponseShortReleaseResponse
|
|
29
|
+
*/
|
|
30
|
+
readonly count: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListResponseShortReleaseResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListResponseShortReleaseResponse(value: object): value is ListResponseShortReleaseResponse;
|
|
36
|
+
export declare function ListResponseShortReleaseResponseFromJSON(json: any): ListResponseShortReleaseResponse;
|
|
37
|
+
export declare function ListResponseShortReleaseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseShortReleaseResponse;
|
|
38
|
+
export declare function ListResponseShortReleaseResponseToJSON(json: any): ListResponseShortReleaseResponse;
|
|
39
|
+
export declare function ListResponseShortReleaseResponseToJSONTyped(value?: Omit<ListResponseShortReleaseResponse, 'count'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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: 5.2.7
|
|
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.instanceOfListResponseShortReleaseResponse = instanceOfListResponseShortReleaseResponse;
|
|
17
|
+
exports.ListResponseShortReleaseResponseFromJSON = ListResponseShortReleaseResponseFromJSON;
|
|
18
|
+
exports.ListResponseShortReleaseResponseFromJSONTyped = ListResponseShortReleaseResponseFromJSONTyped;
|
|
19
|
+
exports.ListResponseShortReleaseResponseToJSON = ListResponseShortReleaseResponseToJSON;
|
|
20
|
+
exports.ListResponseShortReleaseResponseToJSONTyped = ListResponseShortReleaseResponseToJSONTyped;
|
|
21
|
+
const ShortReleaseResponse_1 = require("./ShortReleaseResponse");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListResponseShortReleaseResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListResponseShortReleaseResponse(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function ListResponseShortReleaseResponseFromJSON(json) {
|
|
33
|
+
return ListResponseShortReleaseResponseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function ListResponseShortReleaseResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': (json['data'].map(ShortReleaseResponse_1.ShortReleaseResponseFromJSON)),
|
|
41
|
+
'count': json['count'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function ListResponseShortReleaseResponseToJSON(json) {
|
|
45
|
+
return ListResponseShortReleaseResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function ListResponseShortReleaseResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'data': (value['data'].map(ShortReleaseResponse_1.ShortReleaseResponseToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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: 5.2.7
|
|
6
|
+
* Contact: admin@orangefox.tech
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ListResponseStr
|
|
16
|
+
*/
|
|
17
|
+
export interface ListResponseStr {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ListResponseStr
|
|
22
|
+
*/
|
|
23
|
+
data: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ListResponseStr
|
|
28
|
+
*/
|
|
29
|
+
readonly count: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ListResponseStr interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfListResponseStr(value: object): value is ListResponseStr;
|
|
35
|
+
export declare function ListResponseStrFromJSON(json: any): ListResponseStr;
|
|
36
|
+
export declare function ListResponseStrFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponseStr;
|
|
37
|
+
export declare function ListResponseStrToJSON(json: any): ListResponseStr;
|
|
38
|
+
export declare function ListResponseStrToJSONTyped(value?: Omit<ListResponseStr, 'count'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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: 5.2.7
|
|
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.instanceOfListResponseStr = instanceOfListResponseStr;
|
|
17
|
+
exports.ListResponseStrFromJSON = ListResponseStrFromJSON;
|
|
18
|
+
exports.ListResponseStrFromJSONTyped = ListResponseStrFromJSONTyped;
|
|
19
|
+
exports.ListResponseStrToJSON = ListResponseStrToJSON;
|
|
20
|
+
exports.ListResponseStrToJSONTyped = ListResponseStrToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ListResponseStr interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfListResponseStr(value) {
|
|
25
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ListResponseStrFromJSON(json) {
|
|
32
|
+
return ListResponseStrFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ListResponseStrFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'data': json['data'],
|
|
40
|
+
'count': json['count'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ListResponseStrToJSON(json) {
|
|
44
|
+
return ListResponseStrToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ListResponseStrToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'data': value['data'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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: 5.2.7
|
|
6
|
+
* Contact: admin@orangefox.tech
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MaintainerShortModel
|
|
16
|
+
*/
|
|
17
|
+
export interface MaintainerShortModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MaintainerShortModel
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MaintainerShortModel
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MaintainerShortModel
|
|
34
|
+
*/
|
|
35
|
+
username: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the MaintainerShortModel interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfMaintainerShortModel(value: object): value is MaintainerShortModel;
|
|
41
|
+
export declare function MaintainerShortModelFromJSON(json: any): MaintainerShortModel;
|
|
42
|
+
export declare function MaintainerShortModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): MaintainerShortModel;
|
|
43
|
+
export declare function MaintainerShortModelToJSON(json: any): MaintainerShortModel;
|
|
44
|
+
export declare function MaintainerShortModelToJSONTyped(value?: MaintainerShortModel | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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: 5.2.7
|
|
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.instanceOfMaintainerShortModel = instanceOfMaintainerShortModel;
|
|
17
|
+
exports.MaintainerShortModelFromJSON = MaintainerShortModelFromJSON;
|
|
18
|
+
exports.MaintainerShortModelFromJSONTyped = MaintainerShortModelFromJSONTyped;
|
|
19
|
+
exports.MaintainerShortModelToJSON = MaintainerShortModelToJSON;
|
|
20
|
+
exports.MaintainerShortModelToJSONTyped = MaintainerShortModelToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MaintainerShortModel interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMaintainerShortModel(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function MaintainerShortModelFromJSON(json) {
|
|
34
|
+
return MaintainerShortModelFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function MaintainerShortModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'username': json['username'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function MaintainerShortModelToJSON(json) {
|
|
47
|
+
return MaintainerShortModelToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function MaintainerShortModelToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'username': value['username'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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: 5.2.7
|
|
6
|
+
* Contact: admin@orangefox.tech
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PasteInput
|
|
16
|
+
*/
|
|
17
|
+
export interface PasteInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PasteInput
|
|
22
|
+
*/
|
|
23
|
+
id?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PasteInput
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PasteInput
|
|
34
|
+
*/
|
|
35
|
+
ipAddress: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof PasteInput
|
|
40
|
+
*/
|
|
41
|
+
createdAt?: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PasteInput interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPasteInput(value: object): value is PasteInput;
|
|
47
|
+
export declare function PasteInputFromJSON(json: any): PasteInput;
|
|
48
|
+
export declare function PasteInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasteInput;
|
|
49
|
+
export declare function PasteInputToJSON(json: any): PasteInput;
|
|
50
|
+
export declare function PasteInputToJSONTyped(value?: PasteInput | null, ignoreDiscriminator?: boolean): any;
|