@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.
Files changed (189) hide show
  1. package/.openapi-generator/FILES +28 -30
  2. package/README.md +3 -65
  3. package/dist/apis/DeviceApi.d.ts +158 -0
  4. package/dist/apis/DeviceApi.js +188 -0
  5. package/dist/apis/PasteApi.d.ts +80 -0
  6. package/dist/apis/PasteApi.js +95 -0
  7. package/dist/apis/ReleaseApi.d.ts +188 -0
  8. package/dist/apis/ReleaseApi.js +226 -0
  9. package/dist/apis/StatsApi.d.ts +49 -0
  10. package/dist/apis/StatsApi.js +60 -0
  11. package/dist/apis/index.d.ts +4 -0
  12. package/dist/apis/index.js +22 -0
  13. package/dist/esm/apis/DeviceApi.d.ts +158 -0
  14. package/dist/esm/apis/DeviceApi.js +184 -0
  15. package/dist/esm/apis/PasteApi.d.ts +80 -0
  16. package/dist/esm/apis/PasteApi.js +91 -0
  17. package/dist/esm/apis/ReleaseApi.d.ts +188 -0
  18. package/dist/esm/apis/ReleaseApi.js +222 -0
  19. package/dist/esm/apis/StatsApi.d.ts +49 -0
  20. package/dist/esm/apis/StatsApi.js +56 -0
  21. package/dist/esm/apis/index.d.ts +4 -0
  22. package/dist/esm/apis/index.js +6 -0
  23. package/dist/esm/index.d.ts +3 -13
  24. package/dist/esm/index.js +3 -13
  25. package/dist/esm/models/DeviceResponse.d.ts +101 -0
  26. package/dist/esm/models/DeviceResponse.js +82 -0
  27. package/dist/esm/models/GlobalStatsAggregationModel.d.ts +52 -0
  28. package/dist/esm/models/GlobalStatsAggregationModel.js +55 -0
  29. package/dist/esm/models/HTTPValidationError.d.ts +33 -0
  30. package/dist/esm/models/HTTPValidationError.js +42 -0
  31. package/dist/esm/models/ListResponseReleaseResponse.d.ts +39 -0
  32. package/dist/esm/models/ListResponseReleaseResponse.js +47 -0
  33. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +39 -0
  34. package/dist/esm/models/ListResponseShortDeviceResponse.js +47 -0
  35. package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +39 -0
  36. package/dist/esm/models/ListResponseShortReleaseResponse.js +47 -0
  37. package/dist/esm/models/ListResponseStr.d.ts +38 -0
  38. package/dist/esm/models/ListResponseStr.js +46 -0
  39. package/dist/esm/models/MaintainerShortModel.d.ts +44 -0
  40. package/dist/esm/models/MaintainerShortModel.js +51 -0
  41. package/dist/esm/models/PasteInput.d.ts +50 -0
  42. package/dist/esm/models/PasteInput.js +51 -0
  43. package/dist/esm/models/PasteOutput.d.ts +50 -0
  44. package/dist/esm/models/PasteOutput.js +51 -0
  45. package/dist/esm/models/RecoveryImgResponse.d.ts +38 -0
  46. package/dist/esm/models/RecoveryImgResponse.js +47 -0
  47. package/dist/esm/models/ReleaseGroupsResponse.d.ts +35 -0
  48. package/dist/esm/models/ReleaseGroupsResponse.js +43 -0
  49. package/dist/esm/models/ReleaseResponse.d.ts +139 -0
  50. package/dist/esm/models/ReleaseResponse.js +107 -0
  51. package/dist/esm/models/ReleaseType.d.ts +26 -0
  52. package/dist/esm/models/ReleaseType.js +44 -0
  53. package/dist/esm/models/ReleasesSort.d.ts +25 -0
  54. package/dist/esm/models/ReleasesSort.js +43 -0
  55. package/dist/esm/models/ResponseGetReleases.d.ts +41 -0
  56. package/dist/esm/models/ResponseGetReleases.js +46 -0
  57. package/dist/esm/models/ShortDeviceResponse.d.ts +82 -0
  58. package/dist/esm/models/ShortDeviceResponse.js +73 -0
  59. package/dist/esm/models/ShortReleaseResponse.d.ts +100 -0
  60. package/dist/esm/models/ShortReleaseResponse.js +84 -0
  61. package/dist/esm/models/ValidationError.d.ts +45 -0
  62. package/dist/esm/models/ValidationError.js +52 -0
  63. package/dist/esm/models/ValidationErrorLocInner.d.ts +26 -0
  64. package/{index.ts → dist/esm/models/ValidationErrorLocInner.js} +20 -7
  65. package/dist/esm/models/index.d.ts +20 -0
  66. package/dist/esm/models/index.js +22 -0
  67. package/dist/esm/runtime.d.ts +184 -0
  68. package/dist/esm/runtime.js +334 -0
  69. package/dist/index.d.ts +3 -13
  70. package/dist/index.js +5 -15
  71. package/dist/models/DeviceResponse.d.ts +101 -0
  72. package/dist/models/DeviceResponse.js +89 -0
  73. package/dist/models/GlobalStatsAggregationModel.d.ts +52 -0
  74. package/dist/models/GlobalStatsAggregationModel.js +62 -0
  75. package/dist/models/HTTPValidationError.d.ts +33 -0
  76. package/dist/models/HTTPValidationError.js +49 -0
  77. package/dist/models/ListResponseReleaseResponse.d.ts +39 -0
  78. package/dist/models/ListResponseReleaseResponse.js +54 -0
  79. package/dist/models/ListResponseShortDeviceResponse.d.ts +39 -0
  80. package/dist/models/ListResponseShortDeviceResponse.js +54 -0
  81. package/dist/models/ListResponseShortReleaseResponse.d.ts +39 -0
  82. package/dist/models/ListResponseShortReleaseResponse.js +54 -0
  83. package/dist/models/ListResponseStr.d.ts +38 -0
  84. package/dist/models/ListResponseStr.js +53 -0
  85. package/dist/models/MaintainerShortModel.d.ts +44 -0
  86. package/dist/models/MaintainerShortModel.js +58 -0
  87. package/dist/models/PasteInput.d.ts +50 -0
  88. package/dist/models/PasteInput.js +58 -0
  89. package/dist/models/PasteOutput.d.ts +50 -0
  90. package/dist/models/PasteOutput.js +58 -0
  91. package/dist/models/RecoveryImgResponse.d.ts +38 -0
  92. package/dist/models/RecoveryImgResponse.js +54 -0
  93. package/dist/models/ReleaseGroupsResponse.d.ts +35 -0
  94. package/dist/models/ReleaseGroupsResponse.js +50 -0
  95. package/dist/models/ReleaseResponse.d.ts +139 -0
  96. package/dist/models/ReleaseResponse.js +114 -0
  97. package/dist/models/ReleaseType.d.ts +26 -0
  98. package/dist/models/ReleaseType.js +52 -0
  99. package/dist/models/ReleasesSort.d.ts +25 -0
  100. package/dist/models/ReleasesSort.js +51 -0
  101. package/dist/models/ResponseGetReleases.d.ts +41 -0
  102. package/dist/models/ResponseGetReleases.js +53 -0
  103. package/dist/models/ShortDeviceResponse.d.ts +82 -0
  104. package/dist/models/ShortDeviceResponse.js +80 -0
  105. package/dist/models/ShortReleaseResponse.d.ts +100 -0
  106. package/dist/models/ShortReleaseResponse.js +91 -0
  107. package/dist/models/ValidationError.d.ts +45 -0
  108. package/dist/models/ValidationError.js +59 -0
  109. package/dist/models/ValidationErrorLocInner.d.ts +26 -0
  110. package/dist/models/ValidationErrorLocInner.js +38 -0
  111. package/dist/models/index.d.ts +20 -0
  112. package/dist/models/index.js +38 -0
  113. package/dist/runtime.d.ts +184 -0
  114. package/dist/runtime.js +350 -0
  115. package/package.json +4 -17
  116. package/src/apis/DeviceApi.ts +326 -0
  117. package/src/apis/PasteApi.ts +158 -0
  118. package/src/apis/ReleaseApi.ts +414 -0
  119. package/src/apis/StatsApi.ts +82 -0
  120. package/src/apis/index.ts +6 -0
  121. package/src/index.ts +5 -0
  122. package/src/models/DeviceResponse.ts +171 -0
  123. package/src/models/GlobalStatsAggregationModel.ts +93 -0
  124. package/src/models/HTTPValidationError.ts +73 -0
  125. package/src/models/ListResponseReleaseResponse.ts +82 -0
  126. package/src/models/ListResponseShortDeviceResponse.ts +82 -0
  127. package/src/models/ListResponseShortReleaseResponse.ts +82 -0
  128. package/src/models/ListResponseStr.ts +74 -0
  129. package/src/models/MaintainerShortModel.ts +84 -0
  130. package/src/models/PasteInput.ts +91 -0
  131. package/src/models/PasteOutput.ts +91 -0
  132. package/src/models/RecoveryImgResponse.ts +75 -0
  133. package/src/models/ReleaseGroupsResponse.ts +74 -0
  134. package/src/models/ReleaseResponse.ts +233 -0
  135. package/src/models/ReleaseType.ts +54 -0
  136. package/src/models/ReleasesSort.ts +53 -0
  137. package/src/models/ResponseGetReleases.ts +96 -0
  138. package/src/models/ShortDeviceResponse.ts +138 -0
  139. package/src/models/ShortReleaseResponse.ts +174 -0
  140. package/src/models/ValidationError.ts +92 -0
  141. package/src/models/ValidationErrorLocInner.ts +46 -0
  142. package/src/models/index.ts +22 -0
  143. package/src/runtime.ts +432 -0
  144. package/tsconfig.json +2 -4
  145. package/api.ts +0 -2101
  146. package/base.ts +0 -86
  147. package/common.ts +0 -150
  148. package/configuration.ts +0 -115
  149. package/dist/api.d.ts +0 -1483
  150. package/dist/api.js +0 -1172
  151. package/dist/base.d.ts +0 -66
  152. package/dist/base.js +0 -65
  153. package/dist/common.d.ts +0 -65
  154. package/dist/common.js +0 -161
  155. package/dist/configuration.d.ts +0 -91
  156. package/dist/configuration.js +0 -44
  157. package/dist/esm/api.d.ts +0 -1483
  158. package/dist/esm/api.js +0 -1153
  159. package/dist/esm/base.d.ts +0 -66
  160. package/dist/esm/base.js +0 -60
  161. package/dist/esm/common.d.ts +0 -65
  162. package/dist/esm/common.js +0 -149
  163. package/dist/esm/configuration.d.ts +0 -91
  164. package/dist/esm/configuration.js +0 -40
  165. package/docs/DeviceApi.md +0 -251
  166. package/docs/DeviceResponse.md +0 -44
  167. package/docs/GlobalStatsAggregationModel.md +0 -26
  168. package/docs/HTTPValidationError.md +0 -20
  169. package/docs/ListResponseReleaseResponse.md +0 -22
  170. package/docs/ListResponseShortDeviceResponse.md +0 -22
  171. package/docs/ListResponseShortReleaseResponse.md +0 -22
  172. package/docs/ListResponseStr.md +0 -22
  173. package/docs/MaintainerShortModel.md +0 -26
  174. package/docs/PasteApi.md +0 -117
  175. package/docs/PasteInput.md +0 -26
  176. package/docs/PasteOutput.md +0 -26
  177. package/docs/RecoveryImgResponse.md +0 -22
  178. package/docs/ReleaseApi.md +0 -289
  179. package/docs/ReleaseGroupsResponse.md +0 -20
  180. package/docs/ReleaseResponse.md +0 -56
  181. package/docs/ReleaseType.md +0 -12
  182. package/docs/ReleasesSort.md +0 -10
  183. package/docs/ResponseGetReleases.md +0 -22
  184. package/docs/ShortDeviceResponse.md +0 -38
  185. package/docs/ShortReleaseResponse.md +0 -44
  186. package/docs/StatsApi.md +0 -53
  187. package/docs/ValidationError.md +0 -24
  188. package/docs/ValidationErrorLocInner.md +0 -18
  189. 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;