foxinternalclient 5.2.1__tar.gz → 5.2.2__tar.gz

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 (119) hide show
  1. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/PKG-INFO +1 -1
  2. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/README.md +4 -4
  3. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/__init__.py +2 -2
  4. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/api/device_api.py +26 -26
  5. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/api/fox_factory_api.py +33 -33
  6. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/api/gitlab_api.py +1 -1
  7. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/api/internal_api.py +73 -73
  8. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/api/release_api.py +62 -62
  9. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/api/stats_api.py +1 -1
  10. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/api_client.py +2 -2
  11. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/configuration.py +3 -3
  12. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/exceptions.py +1 -1
  13. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/__init__.py +1 -1
  14. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/body_change_password_profile_change_password_post.py +1 -1
  15. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/build_status_enum.py +1 -1
  16. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/build_task_response.py +1 -1
  17. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/build_task_short_response.py +1 -1
  18. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/device_internal_response.py +1 -1
  19. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/device_response.py +1 -1
  20. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/device_stats_response.py +1 -1
  21. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/device_update_body.py +1 -1
  22. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/ff_status_enum.py +1 -1
  23. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/ff_status_response.py +1 -1
  24. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/global_stats_aggregation_model.py +1 -1
  25. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/http_validation_error.py +1 -1
  26. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/list_response_release_response.py +1 -1
  27. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/list_response_short_device_response.py +1 -1
  28. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/list_response_short_release_response.py +1 -1
  29. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/list_response_str.py +1 -1
  30. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/list_response_user_short_response.py +1 -1
  31. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/log_list_response.py +1 -1
  32. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/log_response.py +1 -1
  33. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/maintainer_short_model.py +1 -1
  34. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/new_build_task_body.py +2 -7
  35. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/new_device_body.py +3 -8
  36. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/recovery_img_response.py +1 -1
  37. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/release_groups_response.py +1 -1
  38. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/release_internal_response.py +1 -1
  39. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/release_internal_response_prop_value.py +1 -1
  40. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/release_response.py +1 -1
  41. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/release_stats_response.py +1 -1
  42. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/release_type.py +1 -1
  43. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/release_update_body.py +1 -1
  44. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/releases_sort.py +1 -1
  45. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/response_get_releases.py +1 -1
  46. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/short_device_response.py +1 -1
  47. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/short_release_response.py +1 -1
  48. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/task_update_body.py +1 -1
  49. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/token_response.py +1 -1
  50. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/user_gitlab.py +1 -1
  51. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/user_internal_response.py +1 -1
  52. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/user_mail.py +1 -1
  53. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/user_short_response.py +1 -1
  54. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/user_telegram.py +1 -1
  55. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/user_update_body.py +1 -1
  56. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/validation_error.py +1 -1
  57. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/models/validation_error_loc_inner.py +1 -1
  58. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/rest.py +2 -2
  59. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient.egg-info/PKG-INFO +1 -1
  60. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/pyproject.toml +1 -1
  61. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/setup.py +2 -2
  62. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_body_change_password_profile_change_password_post.py +1 -1
  63. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_build_status_enum.py +1 -1
  64. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_build_task_response.py +7 -7
  65. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_build_task_short_response.py +7 -7
  66. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_device_api.py +1 -1
  67. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_device_internal_response.py +9 -9
  68. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_device_response.py +9 -9
  69. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_device_stats_response.py +1 -1
  70. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_device_update_body.py +1 -1
  71. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_ff_status_enum.py +1 -1
  72. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_ff_status_response.py +1 -1
  73. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_fox_factory_api.py +1 -1
  74. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_gitlab_api.py +1 -1
  75. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_global_stats_aggregation_model.py +1 -1
  76. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_http_validation_error.py +1 -1
  77. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_internal_api.py +1 -1
  78. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_list_response_release_response.py +9 -9
  79. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_list_response_short_device_response.py +5 -5
  80. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_list_response_short_release_response.py +9 -9
  81. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_list_response_str.py +1 -1
  82. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_list_response_user_short_response.py +3 -3
  83. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_log_list_response.py +13 -13
  84. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_log_response.py +10 -10
  85. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_maintainer_short_model.py +5 -5
  86. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_new_build_task_body.py +3 -3
  87. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_new_device_body.py +3 -3
  88. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_recovery_img_response.py +1 -1
  89. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_release_api.py +1 -1
  90. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_release_groups_response.py +9 -9
  91. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_release_internal_response.py +12 -12
  92. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_release_internal_response_prop_value.py +1 -1
  93. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_release_response.py +8 -8
  94. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_release_stats_response.py +1 -1
  95. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_release_type.py +1 -1
  96. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_release_update_body.py +1 -1
  97. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_releases_sort.py +1 -1
  98. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_response_get_releases.py +9 -9
  99. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_short_device_response.py +5 -5
  100. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_short_release_response.py +8 -8
  101. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_stats_api.py +1 -1
  102. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_task_update_body.py +1 -1
  103. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_token_response.py +1 -1
  104. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_user_gitlab.py +1 -1
  105. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_user_internal_response.py +7 -7
  106. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_user_mail.py +1 -1
  107. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_user_short_response.py +3 -3
  108. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_user_telegram.py +1 -1
  109. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_user_update_body.py +1 -1
  110. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_validation_error.py +1 -1
  111. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/test/test_validation_error_loc_inner.py +1 -1
  112. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/api/__init__.py +0 -0
  113. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/api_response.py +0 -0
  114. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient/py.typed +0 -0
  115. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient.egg-info/SOURCES.txt +0 -0
  116. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient.egg-info/dependency_links.txt +0 -0
  117. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient.egg-info/requires.txt +0 -0
  118. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/foxinternalclient.egg-info/top_level.txt +0 -0
  119. {foxinternalclient-5.2.1 → foxinternalclient-5.2.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: foxinternalclient
3
- Version: 5.2.1
3
+ Version: 5.2.2
4
4
  Summary: Fox API
5
5
  Home-page:
6
6
  Author: OpenAPI Generator community
@@ -12,8 +12,8 @@ The requests may be logged for analytics and development purposes.
12
12
 
13
13
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
14
14
 
15
- - API version: 5.2.1
16
- - Package version: 5.2.1
15
+ - API version: 5.2.2
16
+ - Package version: 5.2.2
17
17
  - Generator version: 7.13.0
18
18
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
19
19
 
@@ -76,8 +76,8 @@ configuration = foxinternalclient.Configuration(
76
76
  async with foxinternalclient.ApiClient(configuration) as api_client:
77
77
  # Create an instance of the API class
78
78
  api_instance = foxinternalclient.DeviceApi(api_client)
79
- device_id = foxinternalclient.AnyOf() # AnyOf | (optional)
80
- id = foxinternalclient.AnyOf() # AnyOf | Filter by Device ID (deprecated) (optional)
79
+ device_id = '5f7a5c5b5c5b5c5b5c5b5c5b' # str | (optional)
80
+ id = '5f7a5c5b5c5b5c5b5c5b5c5b' # str | Filter by Device ID (deprecated) (optional)
81
81
  codename = 'codename_example' # str | Not recommended to use when you can (optional)
82
82
 
83
83
  try:
@@ -7,7 +7,7 @@
7
7
 
8
8
  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.
9
9
 
10
- The version of the OpenAPI document: 5.2.1
10
+ The version of the OpenAPI document: 5.2.2
11
11
  Contact: admin@orangefox.tech
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "5.2.1"
18
+ __version__ = "5.2.2"
19
19
 
20
20
  # import apis into sdk package
21
21
  from foxinternalclient.api.device_api import DeviceApi
@@ -5,7 +5,7 @@
5
5
 
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.1
8
+ The version of the OpenAPI document: 5.2.2
9
9
  Contact: admin@orangefox.tech
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -18,7 +18,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
20
  from pydantic import Field, StrictBool, StrictInt, StrictStr
21
- from typing import Any, List, Optional
21
+ from typing import List, Optional
22
22
  from typing_extensions import Annotated
23
23
  from foxinternalclient.models.device_response import DeviceResponse
24
24
  from foxinternalclient.models.list_response_short_device_response import ListResponseShortDeviceResponse
@@ -45,8 +45,8 @@ class DeviceApi:
45
45
  @validate_call
46
46
  async def get_device(
47
47
  self,
48
- device_id: Optional[Any] = None,
49
- id: Annotated[Optional[Any], Field(description="Filter by Device ID (deprecated)")] = None,
48
+ device_id: Optional[StrictStr] = None,
49
+ id: Annotated[Optional[StrictStr], Field(description="Filter by Device ID (deprecated)")] = None,
50
50
  codename: Annotated[Optional[StrictStr], Field(description="Not recommended to use when you can")] = None,
51
51
  _request_timeout: Union[
52
52
  None,
@@ -66,9 +66,9 @@ class DeviceApi:
66
66
  Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
67
67
 
68
68
  :param device_id:
69
- :type device_id: AnyOf
69
+ :type device_id: str
70
70
  :param id: Filter by Device ID (deprecated)
71
- :type id: AnyOf
71
+ :type id: str
72
72
  :param codename: Not recommended to use when you can
73
73
  :type codename: str
74
74
  :param _request_timeout: timeout setting for this request. If one
@@ -123,8 +123,8 @@ class DeviceApi:
123
123
  @validate_call
124
124
  async def get_device_with_http_info(
125
125
  self,
126
- device_id: Optional[Any] = None,
127
- id: Annotated[Optional[Any], Field(description="Filter by Device ID (deprecated)")] = None,
126
+ device_id: Optional[StrictStr] = None,
127
+ id: Annotated[Optional[StrictStr], Field(description="Filter by Device ID (deprecated)")] = None,
128
128
  codename: Annotated[Optional[StrictStr], Field(description="Not recommended to use when you can")] = None,
129
129
  _request_timeout: Union[
130
130
  None,
@@ -144,9 +144,9 @@ class DeviceApi:
144
144
  Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
145
145
 
146
146
  :param device_id:
147
- :type device_id: AnyOf
147
+ :type device_id: str
148
148
  :param id: Filter by Device ID (deprecated)
149
- :type id: AnyOf
149
+ :type id: str
150
150
  :param codename: Not recommended to use when you can
151
151
  :type codename: str
152
152
  :param _request_timeout: timeout setting for this request. If one
@@ -201,8 +201,8 @@ class DeviceApi:
201
201
  @validate_call
202
202
  async def get_device_without_preload_content(
203
203
  self,
204
- device_id: Optional[Any] = None,
205
- id: Annotated[Optional[Any], Field(description="Filter by Device ID (deprecated)")] = None,
204
+ device_id: Optional[StrictStr] = None,
205
+ id: Annotated[Optional[StrictStr], Field(description="Filter by Device ID (deprecated)")] = None,
206
206
  codename: Annotated[Optional[StrictStr], Field(description="Not recommended to use when you can")] = None,
207
207
  _request_timeout: Union[
208
208
  None,
@@ -222,9 +222,9 @@ class DeviceApi:
222
222
  Extended get device method, including the ability to get a device using device codename instead of the ID. /device/get?codename=lavender Due to the reasons mentioned in the /device route, identification devices using their codenames are considered unrecommended.
223
223
 
224
224
  :param device_id:
225
- :type device_id: AnyOf
225
+ :type device_id: str
226
226
  :param id: Filter by Device ID (deprecated)
227
- :type id: AnyOf
227
+ :type id: str
228
228
  :param codename: Not recommended to use when you can
229
229
  :type codename: str
230
230
  :param _request_timeout: timeout setting for this request. If one
@@ -619,8 +619,8 @@ class DeviceApi:
619
619
  @validate_call
620
620
  async def get_devices(
621
621
  self,
622
- id: Annotated[Optional[List[Any]], Field(description="Filter by Device IDs")] = None,
623
- id2: Annotated[Optional[List[Any]], Field(description="Filter by Device IDs (deprecated)")] = None,
622
+ id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs")] = None,
623
+ id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs (deprecated)")] = None,
624
624
  oem_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by OEM names")] = None,
625
625
  codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
626
626
  model_name: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by model names")] = None,
@@ -648,9 +648,9 @@ class DeviceApi:
648
648
  Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it's possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it's very inconsistent around some OEMs that play with the names around. As of the current moment, the API won't support unified model names at all! In short, do not use model_name as device's identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn't support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
649
649
 
650
650
  :param id: Filter by Device IDs
651
- :type id: List[object]
651
+ :type id: List[str]
652
652
  :param id2: Filter by Device IDs (deprecated)
653
- :type id2: List[object]
653
+ :type id2: List[Optional[str]]
654
654
  :param oem_name: Filter by OEM names
655
655
  :type oem_name: List[str]
656
656
  :param codename: Filter by device codenames
@@ -728,8 +728,8 @@ class DeviceApi:
728
728
  @validate_call
729
729
  async def get_devices_with_http_info(
730
730
  self,
731
- id: Annotated[Optional[List[Any]], Field(description="Filter by Device IDs")] = None,
732
- id2: Annotated[Optional[List[Any]], Field(description="Filter by Device IDs (deprecated)")] = None,
731
+ id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs")] = None,
732
+ id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs (deprecated)")] = None,
733
733
  oem_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by OEM names")] = None,
734
734
  codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
735
735
  model_name: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by model names")] = None,
@@ -757,9 +757,9 @@ class DeviceApi:
757
757
  Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it's possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it's very inconsistent around some OEMs that play with the names around. As of the current moment, the API won't support unified model names at all! In short, do not use model_name as device's identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn't support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
758
758
 
759
759
  :param id: Filter by Device IDs
760
- :type id: List[object]
760
+ :type id: List[str]
761
761
  :param id2: Filter by Device IDs (deprecated)
762
- :type id2: List[object]
762
+ :type id2: List[Optional[str]]
763
763
  :param oem_name: Filter by OEM names
764
764
  :type oem_name: List[str]
765
765
  :param codename: Filter by device codenames
@@ -837,8 +837,8 @@ class DeviceApi:
837
837
  @validate_call
838
838
  async def get_devices_without_preload_content(
839
839
  self,
840
- id: Annotated[Optional[List[Any]], Field(description="Filter by Device IDs")] = None,
841
- id2: Annotated[Optional[List[Any]], Field(description="Filter by Device IDs (deprecated)")] = None,
840
+ id: Annotated[Optional[List[StrictStr]], Field(description="Filter by Device IDs")] = None,
841
+ id2: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by Device IDs (deprecated)")] = None,
842
842
  oem_name: Annotated[Optional[List[StrictStr]], Field(description="Filter by OEM names")] = None,
843
843
  codename: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by device codenames")] = None,
844
844
  model_name: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Filter by model names")] = None,
@@ -866,9 +866,9 @@ class DeviceApi:
866
866
  Get a device list. Device ID is the internal OrangeFox device identifier (https://www.mongodb.com/docs/manual/reference/method/ObjectId/). Please only use it for identification instead of codename or model_name if it's possible. You would find two Device ID query parameters here, the _id one is left deprecated due to historical reasons, please use id instead. Please note that using model_name is unrecommended and considered deprecated as it's very inconsistent around some OEMs that play with the names around. As of the current moment, the API won't support unified model names at all! In short, do not use model_name as device's identification. Be careful using codenames, there are a lot of problems and pain about those. Some OEMs keep releasing new phones with the same hardware as the old ones and may or may not update or change the codename for those. Currently, API doesn't support unified devices; they would have only one codename. Our OEMs database would not include subbrands, they instead would be added to the model name. Like oem_name: \"Xiaomi\" model_name: \"Poco F5 Pro\". The exclusions are merged ones, like OnePlus, as calling those BBK OnePlus is really weird in the respective communities. Note: You will get only a shortened device object with this method, if you want to get a full one, use \"/device/<device_id>\" or \"/device/get\" method instead.
867
867
 
868
868
  :param id: Filter by Device IDs
869
- :type id: List[object]
869
+ :type id: List[str]
870
870
  :param id2: Filter by Device IDs (deprecated)
871
- :type id2: List[object]
871
+ :type id2: List[Optional[str]]
872
872
  :param oem_name: Filter by OEM names
873
873
  :type oem_name: List[str]
874
874
  :param codename: Filter by device codenames
@@ -5,7 +5,7 @@
5
5
 
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.1
8
+ The version of the OpenAPI document: 5.2.2
9
9
  Contact: admin@orangefox.tech
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -17,8 +17,8 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
17
  from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
- from pydantic import StrictBool
21
- from typing import Any, List, Optional
20
+ from pydantic import StrictBool, StrictStr
21
+ from typing import List, Optional
22
22
  from foxinternalclient.models.build_task_response import BuildTaskResponse
23
23
  from foxinternalclient.models.build_task_short_response import BuildTaskShortResponse
24
24
  from foxinternalclient.models.ff_status_response import FFStatusResponse
@@ -46,7 +46,7 @@ class FoxFactoryApi:
46
46
  @validate_call
47
47
  async def cancel_task_factory_task_id_cancel_post(
48
48
  self,
49
- task_id: Any,
49
+ task_id: StrictStr,
50
50
  _request_timeout: Union[
51
51
  None,
52
52
  Annotated[StrictFloat, Field(gt=0)],
@@ -65,7 +65,7 @@ class FoxFactoryApi:
65
65
  Cancels a build task given its identifier. The task's status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
66
66
 
67
67
  :param task_id: (required)
68
- :type task_id: object
68
+ :type task_id: str
69
69
  :param _request_timeout: timeout setting for this request. If one
70
70
  number provided, it will be total request
71
71
  timeout. It can also be a pair (tuple) of
@@ -114,7 +114,7 @@ class FoxFactoryApi:
114
114
  @validate_call
115
115
  async def cancel_task_factory_task_id_cancel_post_with_http_info(
116
116
  self,
117
- task_id: Any,
117
+ task_id: StrictStr,
118
118
  _request_timeout: Union[
119
119
  None,
120
120
  Annotated[StrictFloat, Field(gt=0)],
@@ -133,7 +133,7 @@ class FoxFactoryApi:
133
133
  Cancels a build task given its identifier. The task's status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
134
134
 
135
135
  :param task_id: (required)
136
- :type task_id: object
136
+ :type task_id: str
137
137
  :param _request_timeout: timeout setting for this request. If one
138
138
  number provided, it will be total request
139
139
  timeout. It can also be a pair (tuple) of
@@ -182,7 +182,7 @@ class FoxFactoryApi:
182
182
  @validate_call
183
183
  async def cancel_task_factory_task_id_cancel_post_without_preload_content(
184
184
  self,
185
- task_id: Any,
185
+ task_id: StrictStr,
186
186
  _request_timeout: Union[
187
187
  None,
188
188
  Annotated[StrictFloat, Field(gt=0)],
@@ -201,7 +201,7 @@ class FoxFactoryApi:
201
201
  Cancels a build task given its identifier. The task's status is updated to indicate that it is in the process of cancellation. If the task with the specified ID is not found, a 404 HTTP exception is raised.
202
202
 
203
203
  :param task_id: (required)
204
- :type task_id: object
204
+ :type task_id: str
205
205
  :param _request_timeout: timeout setting for this request. If one
206
206
  number provided, it will be total request
207
207
  timeout. It can also be a pair (tuple) of
@@ -309,7 +309,7 @@ class FoxFactoryApi:
309
309
  @validate_call
310
310
  async def delete_task_factory_task_id_delete(
311
311
  self,
312
- task_id: Any,
312
+ task_id: StrictStr,
313
313
  _request_timeout: Union[
314
314
  None,
315
315
  Annotated[StrictFloat, Field(gt=0)],
@@ -328,7 +328,7 @@ class FoxFactoryApi:
328
328
  Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
329
329
 
330
330
  :param task_id: (required)
331
- :type task_id: object
331
+ :type task_id: str
332
332
  :param _request_timeout: timeout setting for this request. If one
333
333
  number provided, it will be total request
334
334
  timeout. It can also be a pair (tuple) of
@@ -377,7 +377,7 @@ class FoxFactoryApi:
377
377
  @validate_call
378
378
  async def delete_task_factory_task_id_delete_with_http_info(
379
379
  self,
380
- task_id: Any,
380
+ task_id: StrictStr,
381
381
  _request_timeout: Union[
382
382
  None,
383
383
  Annotated[StrictFloat, Field(gt=0)],
@@ -396,7 +396,7 @@ class FoxFactoryApi:
396
396
  Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
397
397
 
398
398
  :param task_id: (required)
399
- :type task_id: object
399
+ :type task_id: str
400
400
  :param _request_timeout: timeout setting for this request. If one
401
401
  number provided, it will be total request
402
402
  timeout. It can also be a pair (tuple) of
@@ -445,7 +445,7 @@ class FoxFactoryApi:
445
445
  @validate_call
446
446
  async def delete_task_factory_task_id_delete_without_preload_content(
447
447
  self,
448
- task_id: Any,
448
+ task_id: StrictStr,
449
449
  _request_timeout: Union[
450
450
  None,
451
451
  Annotated[StrictFloat, Field(gt=0)],
@@ -464,7 +464,7 @@ class FoxFactoryApi:
464
464
  Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
465
465
 
466
466
  :param task_id: (required)
467
- :type task_id: object
467
+ :type task_id: str
468
468
  :param _request_timeout: timeout setting for this request. If one
469
469
  number provided, it will be total request
470
470
  timeout. It can also be a pair (tuple) of
@@ -814,7 +814,7 @@ class FoxFactoryApi:
814
814
  @validate_call
815
815
  async def get_task_factory_task_id_get(
816
816
  self,
817
- task_id: Any,
817
+ task_id: StrictStr,
818
818
  _request_timeout: Union[
819
819
  None,
820
820
  Annotated[StrictFloat, Field(gt=0)],
@@ -833,7 +833,7 @@ class FoxFactoryApi:
833
833
  Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the 'maintainer' or 'foxworker' roles. Depending on the user's roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
834
834
 
835
835
  :param task_id: (required)
836
- :type task_id: object
836
+ :type task_id: str
837
837
  :param _request_timeout: timeout setting for this request. If one
838
838
  number provided, it will be total request
839
839
  timeout. It can also be a pair (tuple) of
@@ -882,7 +882,7 @@ class FoxFactoryApi:
882
882
  @validate_call
883
883
  async def get_task_factory_task_id_get_with_http_info(
884
884
  self,
885
- task_id: Any,
885
+ task_id: StrictStr,
886
886
  _request_timeout: Union[
887
887
  None,
888
888
  Annotated[StrictFloat, Field(gt=0)],
@@ -901,7 +901,7 @@ class FoxFactoryApi:
901
901
  Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the 'maintainer' or 'foxworker' roles. Depending on the user's roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
902
902
 
903
903
  :param task_id: (required)
904
- :type task_id: object
904
+ :type task_id: str
905
905
  :param _request_timeout: timeout setting for this request. If one
906
906
  number provided, it will be total request
907
907
  timeout. It can also be a pair (tuple) of
@@ -950,7 +950,7 @@ class FoxFactoryApi:
950
950
  @validate_call
951
951
  async def get_task_factory_task_id_get_without_preload_content(
952
952
  self,
953
- task_id: Any,
953
+ task_id: StrictStr,
954
954
  _request_timeout: Union[
955
955
  None,
956
956
  Annotated[StrictFloat, Field(gt=0)],
@@ -969,7 +969,7 @@ class FoxFactoryApi:
969
969
  Retrieves the details of a specific build task. This endpoint allows a user to fetch detailed information about a build task by its ID. Access to this endpoint is restricted to users with the 'maintainer' or 'foxworker' roles. Depending on the user's roles, returned task details may differ. Admin users will receive all task details, while others will have some fields excluded.
970
970
 
971
971
  :param task_id: (required)
972
- :type task_id: object
972
+ :type task_id: str
973
973
  :param _request_timeout: timeout setting for this request. If one
974
974
  number provided, it will be total request
975
975
  timeout. It can also be a pair (tuple) of
@@ -1077,7 +1077,7 @@ class FoxFactoryApi:
1077
1077
  @validate_call
1078
1078
  async def list_tasks_factory_get(
1079
1079
  self,
1080
- device_id: Optional[Any] = None,
1080
+ device_id: Optional[StrictStr] = None,
1081
1081
  _request_timeout: Union[
1082
1082
  None,
1083
1083
  Annotated[StrictFloat, Field(gt=0)],
@@ -1096,7 +1096,7 @@ class FoxFactoryApi:
1096
1096
  Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
1097
1097
 
1098
1098
  :param device_id:
1099
- :type device_id: AnyOf
1099
+ :type device_id: str
1100
1100
  :param _request_timeout: timeout setting for this request. If one
1101
1101
  number provided, it will be total request
1102
1102
  timeout. It can also be a pair (tuple) of
@@ -1145,7 +1145,7 @@ class FoxFactoryApi:
1145
1145
  @validate_call
1146
1146
  async def list_tasks_factory_get_with_http_info(
1147
1147
  self,
1148
- device_id: Optional[Any] = None,
1148
+ device_id: Optional[StrictStr] = None,
1149
1149
  _request_timeout: Union[
1150
1150
  None,
1151
1151
  Annotated[StrictFloat, Field(gt=0)],
@@ -1164,7 +1164,7 @@ class FoxFactoryApi:
1164
1164
  Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
1165
1165
 
1166
1166
  :param device_id:
1167
- :type device_id: AnyOf
1167
+ :type device_id: str
1168
1168
  :param _request_timeout: timeout setting for this request. If one
1169
1169
  number provided, it will be total request
1170
1170
  timeout. It can also be a pair (tuple) of
@@ -1213,7 +1213,7 @@ class FoxFactoryApi:
1213
1213
  @validate_call
1214
1214
  async def list_tasks_factory_get_without_preload_content(
1215
1215
  self,
1216
- device_id: Optional[Any] = None,
1216
+ device_id: Optional[StrictStr] = None,
1217
1217
  _request_timeout: Union[
1218
1218
  None,
1219
1219
  Annotated[StrictFloat, Field(gt=0)],
@@ -1232,7 +1232,7 @@ class FoxFactoryApi:
1232
1232
  Get a list of all build tasks. This endpoint retrieves all build tasks from the database and returns them as a list of abbreviated responses. Parameters: device_id (ObjectId, optional): Filter tasks by device ID
1233
1233
 
1234
1234
  :param device_id:
1235
- :type device_id: AnyOf
1235
+ :type device_id: str
1236
1236
  :param _request_timeout: timeout setting for this request. If one
1237
1237
  number provided, it will be total request
1238
1238
  timeout. It can also be a pair (tuple) of
@@ -1618,7 +1618,7 @@ class FoxFactoryApi:
1618
1618
  @validate_call
1619
1619
  async def update_task_factory_task_id_patch(
1620
1620
  self,
1621
- task_id: Any,
1621
+ task_id: StrictStr,
1622
1622
  task_update_body: TaskUpdateBody,
1623
1623
  _request_timeout: Union[
1624
1624
  None,
@@ -1638,7 +1638,7 @@ class FoxFactoryApi:
1638
1638
  Updates an existing build task by its unique identifier. The function allows updates to the task's status and logs. If the task's status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
1639
1639
 
1640
1640
  :param task_id: (required)
1641
- :type task_id: object
1641
+ :type task_id: str
1642
1642
  :param task_update_body: (required)
1643
1643
  :type task_update_body: TaskUpdateBody
1644
1644
  :param _request_timeout: timeout setting for this request. If one
@@ -1690,7 +1690,7 @@ class FoxFactoryApi:
1690
1690
  @validate_call
1691
1691
  async def update_task_factory_task_id_patch_with_http_info(
1692
1692
  self,
1693
- task_id: Any,
1693
+ task_id: StrictStr,
1694
1694
  task_update_body: TaskUpdateBody,
1695
1695
  _request_timeout: Union[
1696
1696
  None,
@@ -1710,7 +1710,7 @@ class FoxFactoryApi:
1710
1710
  Updates an existing build task by its unique identifier. The function allows updates to the task's status and logs. If the task's status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
1711
1711
 
1712
1712
  :param task_id: (required)
1713
- :type task_id: object
1713
+ :type task_id: str
1714
1714
  :param task_update_body: (required)
1715
1715
  :type task_update_body: TaskUpdateBody
1716
1716
  :param _request_timeout: timeout setting for this request. If one
@@ -1762,7 +1762,7 @@ class FoxFactoryApi:
1762
1762
  @validate_call
1763
1763
  async def update_task_factory_task_id_patch_without_preload_content(
1764
1764
  self,
1765
- task_id: Any,
1765
+ task_id: StrictStr,
1766
1766
  task_update_body: TaskUpdateBody,
1767
1767
  _request_timeout: Union[
1768
1768
  None,
@@ -1782,7 +1782,7 @@ class FoxFactoryApi:
1782
1782
  Updates an existing build task by its unique identifier. The function allows updates to the task's status and logs. If the task's status is set to a value indicating completion, the finished timestamp is also updated. Allowed only for foxworker users.
1783
1783
 
1784
1784
  :param task_id: (required)
1785
- :type task_id: object
1785
+ :type task_id: str
1786
1786
  :param task_update_body: (required)
1787
1787
  :type task_update_body: TaskUpdateBody
1788
1788
  :param _request_timeout: timeout setting for this request. If one
@@ -5,7 +5,7 @@
5
5
 
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.1
8
+ The version of the OpenAPI document: 5.2.2
9
9
  Contact: admin@orangefox.tech
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11