@orangefox-recovery/foxclient 5.2.8 → 5.3.2

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 (153) hide show
  1. package/.openapi-generator/FILES +24 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +140 -28
  4. package/dist/apis/DeviceApi.d.ts +1 -1
  5. package/dist/apis/DeviceApi.js +10 -5
  6. package/dist/apis/PasteApi.d.ts +1 -1
  7. package/dist/apis/PasteApi.js +6 -3
  8. package/dist/apis/ReleaseApi.d.ts +1 -1
  9. package/dist/apis/ReleaseApi.js +11 -5
  10. package/dist/apis/StatsApi.d.ts +1 -1
  11. package/dist/apis/StatsApi.js +3 -2
  12. package/dist/esm/apis/DeviceApi.d.ts +1 -1
  13. package/dist/esm/apis/DeviceApi.js +10 -5
  14. package/dist/esm/apis/PasteApi.d.ts +1 -1
  15. package/dist/esm/apis/PasteApi.js +6 -3
  16. package/dist/esm/apis/ReleaseApi.d.ts +1 -1
  17. package/dist/esm/apis/ReleaseApi.js +11 -5
  18. package/dist/esm/apis/StatsApi.d.ts +1 -1
  19. package/dist/esm/apis/StatsApi.js +3 -2
  20. package/dist/esm/models/DeviceResponse.d.ts +13 -1
  21. package/dist/esm/models/DeviceResponse.js +5 -1
  22. package/dist/esm/models/GlobalStatsAggregationModel.d.ts +1 -1
  23. package/dist/esm/models/GlobalStatsAggregationModel.js +1 -1
  24. package/dist/esm/models/HTTPValidationError.d.ts +1 -1
  25. package/dist/esm/models/HTTPValidationError.js +1 -1
  26. package/dist/esm/models/ListResponseReleaseResponse.d.ts +1 -1
  27. package/dist/esm/models/ListResponseReleaseResponse.js +1 -1
  28. package/dist/esm/models/ListResponseShortDeviceResponse.d.ts +1 -1
  29. package/dist/esm/models/ListResponseShortDeviceResponse.js +1 -1
  30. package/dist/esm/models/ListResponseShortReleaseResponse.d.ts +1 -1
  31. package/dist/esm/models/ListResponseShortReleaseResponse.js +1 -1
  32. package/dist/esm/models/ListResponseStr.d.ts +1 -1
  33. package/dist/esm/models/ListResponseStr.js +1 -1
  34. package/dist/esm/models/MaintainerShortModel.d.ts +1 -1
  35. package/dist/esm/models/MaintainerShortModel.js +1 -1
  36. package/dist/esm/models/PasteInput.d.ts +2 -20
  37. package/dist/esm/models/PasteInput.js +1 -9
  38. package/dist/esm/models/PasteOutput.d.ts +9 -9
  39. package/dist/esm/models/PasteOutput.js +10 -8
  40. package/dist/esm/models/RecoveryImgResponse.d.ts +1 -1
  41. package/dist/esm/models/RecoveryImgResponse.js +1 -1
  42. package/dist/esm/models/ReleaseGroupsResponse.d.ts +1 -1
  43. package/dist/esm/models/ReleaseGroupsResponse.js +1 -1
  44. package/dist/esm/models/ReleaseResponse.d.ts +14 -2
  45. package/dist/esm/models/ReleaseResponse.js +7 -1
  46. package/dist/esm/models/ReleaseType.d.ts +1 -1
  47. package/dist/esm/models/ReleaseType.js +1 -1
  48. package/dist/esm/models/ReleasesSort.d.ts +1 -1
  49. package/dist/esm/models/ReleasesSort.js +1 -1
  50. package/dist/esm/models/ResponseGetReleases.d.ts +1 -1
  51. package/dist/esm/models/ResponseGetReleases.js +1 -1
  52. package/dist/esm/models/ShortDeviceResponse.d.ts +13 -1
  53. package/dist/esm/models/ShortDeviceResponse.js +5 -1
  54. package/dist/esm/models/ShortReleaseResponse.d.ts +14 -2
  55. package/dist/esm/models/ShortReleaseResponse.js +7 -1
  56. package/dist/esm/models/ValidationError.d.ts +1 -1
  57. package/dist/esm/models/ValidationError.js +1 -1
  58. package/dist/esm/models/ValidationErrorLocInner.d.ts +1 -1
  59. package/dist/esm/models/ValidationErrorLocInner.js +1 -1
  60. package/dist/esm/runtime.d.ts +1 -1
  61. package/dist/esm/runtime.js +1 -1
  62. package/dist/models/DeviceResponse.d.ts +13 -1
  63. package/dist/models/DeviceResponse.js +5 -1
  64. package/dist/models/GlobalStatsAggregationModel.d.ts +1 -1
  65. package/dist/models/GlobalStatsAggregationModel.js +1 -1
  66. package/dist/models/HTTPValidationError.d.ts +1 -1
  67. package/dist/models/HTTPValidationError.js +1 -1
  68. package/dist/models/ListResponseReleaseResponse.d.ts +1 -1
  69. package/dist/models/ListResponseReleaseResponse.js +1 -1
  70. package/dist/models/ListResponseShortDeviceResponse.d.ts +1 -1
  71. package/dist/models/ListResponseShortDeviceResponse.js +1 -1
  72. package/dist/models/ListResponseShortReleaseResponse.d.ts +1 -1
  73. package/dist/models/ListResponseShortReleaseResponse.js +1 -1
  74. package/dist/models/ListResponseStr.d.ts +1 -1
  75. package/dist/models/ListResponseStr.js +1 -1
  76. package/dist/models/MaintainerShortModel.d.ts +1 -1
  77. package/dist/models/MaintainerShortModel.js +1 -1
  78. package/dist/models/PasteInput.d.ts +2 -20
  79. package/dist/models/PasteInput.js +1 -9
  80. package/dist/models/PasteOutput.d.ts +9 -9
  81. package/dist/models/PasteOutput.js +10 -8
  82. package/dist/models/RecoveryImgResponse.d.ts +1 -1
  83. package/dist/models/RecoveryImgResponse.js +1 -1
  84. package/dist/models/ReleaseGroupsResponse.d.ts +1 -1
  85. package/dist/models/ReleaseGroupsResponse.js +1 -1
  86. package/dist/models/ReleaseResponse.d.ts +14 -2
  87. package/dist/models/ReleaseResponse.js +7 -1
  88. package/dist/models/ReleaseType.d.ts +1 -1
  89. package/dist/models/ReleaseType.js +1 -1
  90. package/dist/models/ReleasesSort.d.ts +1 -1
  91. package/dist/models/ReleasesSort.js +1 -1
  92. package/dist/models/ResponseGetReleases.d.ts +1 -1
  93. package/dist/models/ResponseGetReleases.js +1 -1
  94. package/dist/models/ShortDeviceResponse.d.ts +13 -1
  95. package/dist/models/ShortDeviceResponse.js +5 -1
  96. package/dist/models/ShortReleaseResponse.d.ts +14 -2
  97. package/dist/models/ShortReleaseResponse.js +7 -1
  98. package/dist/models/ValidationError.d.ts +1 -1
  99. package/dist/models/ValidationError.js +1 -1
  100. package/dist/models/ValidationErrorLocInner.d.ts +1 -1
  101. package/dist/models/ValidationErrorLocInner.js +1 -1
  102. package/dist/runtime.d.ts +1 -1
  103. package/dist/runtime.js +1 -1
  104. package/docs/DeviceApi.md +315 -0
  105. package/docs/DeviceResponse.md +60 -0
  106. package/docs/GlobalStatsAggregationModel.md +40 -0
  107. package/docs/HTTPValidationError.md +34 -0
  108. package/docs/ListResponseReleaseResponse.md +36 -0
  109. package/docs/ListResponseShortDeviceResponse.md +36 -0
  110. package/docs/ListResponseShortReleaseResponse.md +36 -0
  111. package/docs/ListResponseStr.md +36 -0
  112. package/docs/MaintainerShortModel.md +38 -0
  113. package/docs/PasteApi.md +149 -0
  114. package/docs/PasteInput.md +34 -0
  115. package/docs/PasteOutput.md +40 -0
  116. package/docs/RecoveryImgResponse.md +36 -0
  117. package/docs/ReleaseApi.md +354 -0
  118. package/docs/ReleaseGroupsResponse.md +34 -0
  119. package/docs/ReleaseResponse.md +72 -0
  120. package/docs/ReleaseType.md +32 -0
  121. package/docs/ReleasesSort.md +32 -0
  122. package/docs/ResponseGetReleases.md +36 -0
  123. package/docs/ShortDeviceResponse.md +54 -0
  124. package/docs/ShortReleaseResponse.md +60 -0
  125. package/docs/StatsApi.md +69 -0
  126. package/docs/ValidationError.md +38 -0
  127. package/docs/ValidationErrorLocInner.md +32 -0
  128. package/package.json +5 -2
  129. package/src/apis/DeviceApi.ts +18 -5
  130. package/src/apis/PasteApi.ts +10 -3
  131. package/src/apis/ReleaseApi.ts +19 -5
  132. package/src/apis/StatsApi.ts +5 -2
  133. package/src/models/DeviceResponse.ts +17 -1
  134. package/src/models/GlobalStatsAggregationModel.ts +1 -1
  135. package/src/models/HTTPValidationError.ts +1 -1
  136. package/src/models/ListResponseReleaseResponse.ts +1 -1
  137. package/src/models/ListResponseShortDeviceResponse.ts +1 -1
  138. package/src/models/ListResponseShortReleaseResponse.ts +1 -1
  139. package/src/models/ListResponseStr.ts +1 -1
  140. package/src/models/MaintainerShortModel.ts +1 -1
  141. package/src/models/PasteInput.ts +2 -27
  142. package/src/models/PasteOutput.ts +17 -16
  143. package/src/models/RecoveryImgResponse.ts +1 -1
  144. package/src/models/ReleaseGroupsResponse.ts +1 -1
  145. package/src/models/ReleaseResponse.ts +19 -2
  146. package/src/models/ReleaseType.ts +1 -1
  147. package/src/models/ReleasesSort.ts +1 -1
  148. package/src/models/ResponseGetReleases.ts +1 -1
  149. package/src/models/ShortDeviceResponse.ts +17 -1
  150. package/src/models/ShortReleaseResponse.ts +19 -2
  151. package/src/models/ValidationError.ts +1 -1
  152. package/src/models/ValidationErrorLocInner.ts +1 -1
  153. package/src/runtime.ts +1 -1
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.8
7
+ * The version of the OpenAPI document: 5.3.2
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -36,6 +36,8 @@ export function instanceOfShortReleaseResponse(value) {
36
36
  return false;
37
37
  if (!('archived' in value) || value['archived'] === undefined)
38
38
  return false;
39
+ if (!('isFeatured' in value) || value['isFeatured'] === undefined)
40
+ return false;
39
41
  return true;
40
42
  }
41
43
  export function ShortReleaseResponseFromJSON(json) {
@@ -58,6 +60,8 @@ export function ShortReleaseResponseFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'type': ReleaseTypeFromJSON(json['type']),
59
61
  'maintainerId': json['maintainer_id'] == null ? undefined : json['maintainer_id'],
60
62
  'archived': json['archived'],
63
+ 'isFeatured': json['is_featured'],
64
+ 'featuredText': json['featured_text'] == null ? undefined : json['featured_text'],
61
65
  };
62
66
  }
63
67
  export function ShortReleaseResponseToJSON(json) {
@@ -80,5 +84,7 @@ export function ShortReleaseResponseToJSONTyped(value, ignoreDiscriminator = fal
80
84
  'type': ReleaseTypeToJSON(value['type']),
81
85
  'maintainer_id': value['maintainerId'],
82
86
  'archived': value['archived'],
87
+ 'is_featured': value['isFeatured'],
88
+ 'featured_text': value['featuredText'],
83
89
  };
84
90
  }
@@ -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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.8
7
+ * The version of the OpenAPI document: 5.3.2
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.8
7
+ * The version of the OpenAPI document: 5.3.2
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Fox API
5
5
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
6
6
  *
7
- * The version of the OpenAPI document: 5.2.8
7
+ * The version of the OpenAPI document: 5.3.2
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -60,6 +60,18 @@ export interface DeviceResponse {
60
60
  * @memberof DeviceResponse
61
61
  */
62
62
  supported: boolean;
63
+ /**
64
+ *
65
+ * @type {boolean}
66
+ * @memberof DeviceResponse
67
+ */
68
+ isFeatured?: boolean;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof DeviceResponse
73
+ */
74
+ featuredText?: string | null;
63
75
  /**
64
76
  *
65
77
  * @type {MaintainerShortModel}
@@ -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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -60,6 +60,8 @@ function DeviceResponseFromJSONTyped(json, ignoreDiscriminator) {
60
60
  'codenames': json['codenames'],
61
61
  'modelNames': json['model_names'],
62
62
  'supported': json['supported'],
63
+ 'isFeatured': json['is_featured'] == null ? undefined : json['is_featured'],
64
+ 'featuredText': json['featured_text'] == null ? undefined : json['featured_text'],
63
65
  'maintainer': (0, MaintainerShortModel_1.MaintainerShortModelFromJSON)(json['maintainer']),
64
66
  'notes': json['notes'] == null ? undefined : json['notes'],
65
67
  'deviceTree': json['device_tree'] == null ? undefined : json['device_tree'],
@@ -82,6 +84,8 @@ function DeviceResponseToJSONTyped(value, ignoreDiscriminator = false) {
82
84
  'codenames': value['codenames'],
83
85
  'model_names': value['modelNames'],
84
86
  'supported': value['supported'],
87
+ 'is_featured': value['isFeatured'],
88
+ 'featured_text': value['featuredText'],
85
89
  'maintainer': (0, MaintainerShortModel_1.MaintainerShortModelToJSON)(value['maintainer']),
86
90
  'notes': value['notes'],
87
91
  'device_tree': value['deviceTree'],
@@ -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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,29 +16,11 @@
16
16
  */
17
17
  export interface PasteInput {
18
18
  /**
19
- *
20
- * @type {string}
21
- * @memberof PasteInput
22
- */
23
- id?: string | null;
24
- /**
25
- *
19
+ * The text content of the paste
26
20
  * @type {string}
27
21
  * @memberof PasteInput
28
22
  */
29
23
  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
24
  }
43
25
  /**
44
26
  * Check if a given object implements the PasteInput interface.
@@ -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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -24,8 +24,6 @@ exports.PasteInputToJSONTyped = PasteInputToJSONTyped;
24
24
  function instanceOfPasteInput(value) {
25
25
  if (!('content' in value) || value['content'] === undefined)
26
26
  return false;
27
- if (!('ipAddress' in value) || value['ipAddress'] === undefined)
28
- return false;
29
27
  return true;
30
28
  }
31
29
  function PasteInputFromJSON(json) {
@@ -36,10 +34,7 @@ function PasteInputFromJSONTyped(json, ignoreDiscriminator) {
36
34
  return json;
37
35
  }
38
36
  return {
39
- 'id': json['_id'] == null ? undefined : json['_id'],
40
37
  'content': json['content'],
41
- 'ipAddress': json['ip_address'],
42
- 'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
43
38
  };
44
39
  }
45
40
  function PasteInputToJSON(json) {
@@ -50,9 +45,6 @@ function PasteInputToJSONTyped(value, ignoreDiscriminator = false) {
50
45
  return value;
51
46
  }
52
47
  return {
53
- '_id': value['id'],
54
48
  'content': value['content'],
55
- 'ip_address': value['ipAddress'],
56
- 'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
57
49
  };
58
50
  }
@@ -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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,29 +16,29 @@
16
16
  */
17
17
  export interface PasteOutput {
18
18
  /**
19
- *
19
+ * Paste ID
20
20
  * @type {string}
21
21
  * @memberof PasteOutput
22
22
  */
23
- id?: string | null;
23
+ id: string;
24
24
  /**
25
- *
25
+ * The text content of the paste
26
26
  * @type {string}
27
27
  * @memberof PasteOutput
28
28
  */
29
29
  content: string;
30
30
  /**
31
- *
32
- * @type {string}
31
+ * When the paste was created
32
+ * @type {Date}
33
33
  * @memberof PasteOutput
34
34
  */
35
- ipAddress: string;
35
+ createdAt: Date;
36
36
  /**
37
37
  *
38
- * @type {Date}
38
+ * @type {boolean}
39
39
  * @memberof PasteOutput
40
40
  */
41
- createdAt?: Date;
41
+ isOwner?: boolean | null;
42
42
  }
43
43
  /**
44
44
  * Check if a given object implements the PasteOutput interface.
@@ -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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,9 +22,11 @@ exports.PasteOutputToJSONTyped = PasteOutputToJSONTyped;
22
22
  * Check if a given object implements the PasteOutput interface.
23
23
  */
24
24
  function instanceOfPasteOutput(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
25
27
  if (!('content' in value) || value['content'] === undefined)
26
28
  return false;
27
- if (!('ipAddress' in value) || value['ipAddress'] === undefined)
29
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
28
30
  return false;
29
31
  return true;
30
32
  }
@@ -36,10 +38,10 @@ function PasteOutputFromJSONTyped(json, ignoreDiscriminator) {
36
38
  return json;
37
39
  }
38
40
  return {
39
- 'id': json['_id'] == null ? undefined : json['_id'],
41
+ 'id': json['id'],
40
42
  'content': json['content'],
41
- 'ipAddress': json['ip_address'],
42
- 'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
43
+ 'createdAt': (new Date(json['created_at'])),
44
+ 'isOwner': json['isOwner'] == null ? undefined : json['isOwner'],
43
45
  };
44
46
  }
45
47
  function PasteOutputToJSON(json) {
@@ -50,9 +52,9 @@ function PasteOutputToJSONTyped(value, ignoreDiscriminator = false) {
50
52
  return value;
51
53
  }
52
54
  return {
53
- '_id': value['id'],
55
+ 'id': value['id'],
54
56
  'content': value['content'],
55
- 'ip_address': value['ipAddress'],
56
- 'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
57
+ 'created_at': value['createdAt'].toISOString(),
58
+ 'isOwner': value['isOwner'],
57
59
  };
58
60
  }
@@ -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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -55,7 +55,7 @@ export interface ReleaseResponse {
55
55
  */
56
56
  deviceId: string;
57
57
  /**
58
- *
58
+ * Unix timestamp of the release date
59
59
  * @type {number}
60
60
  * @memberof ReleaseResponse
61
61
  */
@@ -90,6 +90,18 @@ export interface ReleaseResponse {
90
90
  * @memberof ReleaseResponse
91
91
  */
92
92
  archived: boolean;
93
+ /**
94
+ *
95
+ * @type {boolean}
96
+ * @memberof ReleaseResponse
97
+ */
98
+ isFeatured: boolean;
99
+ /**
100
+ *
101
+ * @type {string}
102
+ * @memberof ReleaseResponse
103
+ */
104
+ featuredText?: string | null;
93
105
  /**
94
106
  *
95
107
  * @type {RecoveryImgResponse}
@@ -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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
9
9
  * Contact: admin@orangefox.tech
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -44,6 +44,8 @@ function instanceOfReleaseResponse(value) {
44
44
  return false;
45
45
  if (!('archived' in value) || value['archived'] === undefined)
46
46
  return false;
47
+ if (!('isFeatured' in value) || value['isFeatured'] === undefined)
48
+ return false;
47
49
  if (!('recoveryImg' in value) || value['recoveryImg'] === undefined)
48
50
  return false;
49
51
  if (!('changelog' in value) || value['changelog'] === undefined)
@@ -78,6 +80,8 @@ function ReleaseResponseFromJSONTyped(json, ignoreDiscriminator) {
78
80
  'type': (0, ReleaseType_1.ReleaseTypeFromJSON)(json['type']),
79
81
  'maintainerId': json['maintainer_id'] == null ? undefined : json['maintainer_id'],
80
82
  'archived': json['archived'],
83
+ 'isFeatured': json['is_featured'],
84
+ 'featuredText': json['featured_text'] == null ? undefined : json['featured_text'],
81
85
  'recoveryImg': (0, RecoveryImgResponse_1.RecoveryImgResponseFromJSON)(json['recovery_img']),
82
86
  'changelog': json['changelog'],
83
87
  'bugs': json['bugs'] == null ? null : json['bugs'],
@@ -106,6 +110,8 @@ function ReleaseResponseToJSONTyped(value, ignoreDiscriminator = false) {
106
110
  'type': (0, ReleaseType_1.ReleaseTypeToJSON)(value['type']),
107
111
  'maintainer_id': value['maintainerId'],
108
112
  'archived': value['archived'],
113
+ 'is_featured': value['isFeatured'],
114
+ 'featured_text': value['featuredText'],
109
115
  'recovery_img': (0, RecoveryImgResponse_1.RecoveryImgResponseToJSON)(value['recoveryImg']),
110
116
  'changelog': value['changelog'],
111
117
  'bugs': value['bugs'],
@@ -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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
8
+ * The version of the OpenAPI document: 5.3.2
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: 5.2.8
5
+ * The version of the OpenAPI document: 5.3.2
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).