@orangefox-recovery/foxinternalclient 5.2.1 → 5.2.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.
package/api.ts CHANGED
@@ -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.1
7
+ * The version of the OpenAPI document: 5.2.2
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -731,10 +731,10 @@ export interface MaintainerShortModel {
731
731
  export interface NewBuildTaskBody {
732
732
  /**
733
733
  *
734
- * @type {any}
734
+ * @type {string}
735
735
  * @memberof NewBuildTaskBody
736
736
  */
737
- 'device_id': any;
737
+ 'device_id': string;
738
738
  /**
739
739
  *
740
740
  * @type {string}
@@ -788,10 +788,10 @@ export interface NewDeviceBody {
788
788
  'model_names': Array<string>;
789
789
  /**
790
790
  *
791
- * @type {any}
791
+ * @type {string}
792
792
  * @memberof NewDeviceBody
793
793
  */
794
- 'maintainer': any;
794
+ 'maintainer': string;
795
795
  }
796
796
  /**
797
797
  *
@@ -1619,13 +1619,13 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
1619
1619
  /**
1620
1620
  * 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.
1621
1621
  * @summary Get Device
1622
- * @param { | null} [deviceId]
1623
- * @param { | null} [id] Filter by Device ID (deprecated)
1622
+ * @param {string | null} [deviceId]
1623
+ * @param {string | null} [id] Filter by Device ID (deprecated)
1624
1624
  * @param {string | null} [codename] Not recommended to use when you can
1625
1625
  * @param {*} [options] Override http request option.
1626
1626
  * @throws {RequiredError}
1627
1627
  */
1628
- getDevice: async (deviceId?: | null, id?: | null, codename?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1628
+ getDevice: async (deviceId?: string | null, id?: string | null, codename?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1629
1629
  const localVarPath = `/devices/get`;
1630
1630
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1631
1631
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1639,15 +1639,11 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
1639
1639
  const localVarQueryParameter = {} as any;
1640
1640
 
1641
1641
  if (deviceId !== undefined) {
1642
- for (const [key, value] of Object.entries(deviceId)) {
1643
- localVarQueryParameter[key] = value;
1644
- }
1642
+ localVarQueryParameter['device_id'] = deviceId;
1645
1643
  }
1646
1644
 
1647
1645
  if (id !== undefined) {
1648
- for (const [key, value] of Object.entries(id)) {
1649
- localVarQueryParameter[key] = value;
1650
- }
1646
+ localVarQueryParameter['_id'] = id;
1651
1647
  }
1652
1648
 
1653
1649
  if (codename !== undefined) {
@@ -1703,8 +1699,8 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
1703
1699
  /**
1704
1700
  * 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.
1705
1701
  * @summary Get Devices
1706
- * @param {Array<any>} [id] Filter by Device IDs
1707
- * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1702
+ * @param {Array<string>} [id] Filter by Device IDs
1703
+ * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
1708
1704
  * @param {Array<string>} [oemName] Filter by OEM names
1709
1705
  * @param {Array<string>} [codename] Filter by device codenames
1710
1706
  * @param {Array<string>} [modelName] Filter by model names
@@ -1717,7 +1713,7 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
1717
1713
  * @param {*} [options] Override http request option.
1718
1714
  * @throws {RequiredError}
1719
1715
  */
1720
- getDevices: async (id?: Array<any>, id2?: Array<any>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1716
+ getDevices: async (id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1721
1717
  const localVarPath = `/devices/`;
1722
1718
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1723
1719
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1828,13 +1824,13 @@ export const DeviceApiFp = function(configuration?: Configuration) {
1828
1824
  /**
1829
1825
  * 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.
1830
1826
  * @summary Get Device
1831
- * @param { | null} [deviceId]
1832
- * @param { | null} [id] Filter by Device ID (deprecated)
1827
+ * @param {string | null} [deviceId]
1828
+ * @param {string | null} [id] Filter by Device ID (deprecated)
1833
1829
  * @param {string | null} [codename] Not recommended to use when you can
1834
1830
  * @param {*} [options] Override http request option.
1835
1831
  * @throws {RequiredError}
1836
1832
  */
1837
- async getDevice(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>> {
1833
+ async getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>> {
1838
1834
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDevice(deviceId, id, codename, options);
1839
1835
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1840
1836
  const localVarOperationServerBasePath = operationServerMap['DeviceApi.getDevice']?.[localVarOperationServerIndex]?.url;
@@ -1857,8 +1853,8 @@ export const DeviceApiFp = function(configuration?: Configuration) {
1857
1853
  /**
1858
1854
  * 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.
1859
1855
  * @summary Get Devices
1860
- * @param {Array<any>} [id] Filter by Device IDs
1861
- * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1856
+ * @param {Array<string>} [id] Filter by Device IDs
1857
+ * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
1862
1858
  * @param {Array<string>} [oemName] Filter by OEM names
1863
1859
  * @param {Array<string>} [codename] Filter by device codenames
1864
1860
  * @param {Array<string>} [modelName] Filter by model names
@@ -1871,7 +1867,7 @@ export const DeviceApiFp = function(configuration?: Configuration) {
1871
1867
  * @param {*} [options] Override http request option.
1872
1868
  * @throws {RequiredError}
1873
1869
  */
1874
- async getDevices(id?: Array<any>, id2?: Array<any>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseShortDeviceResponse>> {
1870
+ async getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseShortDeviceResponse>> {
1875
1871
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDevices(id, id2, oemName, codename, modelName, supported, maintainer, freezed, hasReleases, skip, limit, options);
1876
1872
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1877
1873
  const localVarOperationServerBasePath = operationServerMap['DeviceApi.getDevices']?.[localVarOperationServerIndex]?.url;
@@ -1902,13 +1898,13 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
1902
1898
  /**
1903
1899
  * 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.
1904
1900
  * @summary Get Device
1905
- * @param { | null} [deviceId]
1906
- * @param { | null} [id] Filter by Device ID (deprecated)
1901
+ * @param {string | null} [deviceId]
1902
+ * @param {string | null} [id] Filter by Device ID (deprecated)
1907
1903
  * @param {string | null} [codename] Not recommended to use when you can
1908
1904
  * @param {*} [options] Override http request option.
1909
1905
  * @throws {RequiredError}
1910
1906
  */
1911
- getDevice(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse> {
1907
+ getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse> {
1912
1908
  return localVarFp.getDevice(deviceId, id, codename, options).then((request) => request(axios, basePath));
1913
1909
  },
1914
1910
  /**
@@ -1925,8 +1921,8 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
1925
1921
  /**
1926
1922
  * 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.
1927
1923
  * @summary Get Devices
1928
- * @param {Array<any>} [id] Filter by Device IDs
1929
- * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1924
+ * @param {Array<string>} [id] Filter by Device IDs
1925
+ * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
1930
1926
  * @param {Array<string>} [oemName] Filter by OEM names
1931
1927
  * @param {Array<string>} [codename] Filter by device codenames
1932
1928
  * @param {Array<string>} [modelName] Filter by model names
@@ -1939,7 +1935,7 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
1939
1935
  * @param {*} [options] Override http request option.
1940
1936
  * @throws {RequiredError}
1941
1937
  */
1942
- getDevices(id?: Array<any>, id2?: Array<any>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortDeviceResponse> {
1938
+ getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortDeviceResponse> {
1943
1939
  return localVarFp.getDevices(id, id2, oemName, codename, modelName, supported, maintainer, freezed, hasReleases, skip, limit, options).then((request) => request(axios, basePath));
1944
1940
  },
1945
1941
  /**
@@ -1963,14 +1959,14 @@ export interface DeviceApiInterface {
1963
1959
  /**
1964
1960
  * 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.
1965
1961
  * @summary Get Device
1966
- * @param { | null} [deviceId]
1967
- * @param { | null} [id] Filter by Device ID (deprecated)
1962
+ * @param {string | null} [deviceId]
1963
+ * @param {string | null} [id] Filter by Device ID (deprecated)
1968
1964
  * @param {string | null} [codename] Not recommended to use when you can
1969
1965
  * @param {*} [options] Override http request option.
1970
1966
  * @throws {RequiredError}
1971
1967
  * @memberof DeviceApiInterface
1972
1968
  */
1973
- getDevice(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1969
+ getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1974
1970
 
1975
1971
  /**
1976
1972
  * Gets device info using device ID.
@@ -1986,8 +1982,8 @@ export interface DeviceApiInterface {
1986
1982
  /**
1987
1983
  * 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.
1988
1984
  * @summary Get Devices
1989
- * @param {Array<any>} [id] Filter by Device IDs
1990
- * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1985
+ * @param {Array<string>} [id] Filter by Device IDs
1986
+ * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
1991
1987
  * @param {Array<string>} [oemName] Filter by OEM names
1992
1988
  * @param {Array<string>} [codename] Filter by device codenames
1993
1989
  * @param {Array<string>} [modelName] Filter by model names
@@ -2001,7 +1997,7 @@ export interface DeviceApiInterface {
2001
1997
  * @throws {RequiredError}
2002
1998
  * @memberof DeviceApiInterface
2003
1999
  */
2004
- getDevices(id?: Array<any>, id2?: Array<any>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortDeviceResponse>;
2000
+ getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortDeviceResponse>;
2005
2001
 
2006
2002
  /**
2007
2003
  * Lists all OEM names
@@ -2024,14 +2020,14 @@ export class DeviceApi extends BaseAPI implements DeviceApiInterface {
2024
2020
  /**
2025
2021
  * 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.
2026
2022
  * @summary Get Device
2027
- * @param { | null} [deviceId]
2028
- * @param { | null} [id] Filter by Device ID (deprecated)
2023
+ * @param {string | null} [deviceId]
2024
+ * @param {string | null} [id] Filter by Device ID (deprecated)
2029
2025
  * @param {string | null} [codename] Not recommended to use when you can
2030
2026
  * @param {*} [options] Override http request option.
2031
2027
  * @throws {RequiredError}
2032
2028
  * @memberof DeviceApi
2033
2029
  */
2034
- public getDevice(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig) {
2030
+ public getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig) {
2035
2031
  return DeviceApiFp(this.configuration).getDevice(deviceId, id, codename, options).then((request) => request(this.axios, this.basePath));
2036
2032
  }
2037
2033
 
@@ -2051,8 +2047,8 @@ export class DeviceApi extends BaseAPI implements DeviceApiInterface {
2051
2047
  /**
2052
2048
  * 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.
2053
2049
  * @summary Get Devices
2054
- * @param {Array<any>} [id] Filter by Device IDs
2055
- * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
2050
+ * @param {Array<string>} [id] Filter by Device IDs
2051
+ * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
2056
2052
  * @param {Array<string>} [oemName] Filter by OEM names
2057
2053
  * @param {Array<string>} [codename] Filter by device codenames
2058
2054
  * @param {Array<string>} [modelName] Filter by model names
@@ -2066,7 +2062,7 @@ export class DeviceApi extends BaseAPI implements DeviceApiInterface {
2066
2062
  * @throws {RequiredError}
2067
2063
  * @memberof DeviceApi
2068
2064
  */
2069
- public getDevices(id?: Array<any>, id2?: Array<any>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) {
2065
+ public getDevices(id?: Array<string>, id2?: Array<string>, oemName?: Array<string>, codename?: Array<string>, modelName?: Array<string>, supported?: boolean | null, maintainer?: Array<string>, freezed?: boolean | null, hasReleases?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) {
2070
2066
  return DeviceApiFp(this.configuration).getDevices(id, id2, oemName, codename, modelName, supported, maintainer, freezed, hasReleases, skip, limit, options).then((request) => request(this.axios, this.basePath));
2071
2067
  }
2072
2068
 
@@ -2093,11 +2089,11 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration?: Configur
2093
2089
  /**
2094
2090
  * 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.
2095
2091
  * @summary Cancel Task
2096
- * @param {any} taskId
2092
+ * @param {string} taskId
2097
2093
  * @param {*} [options] Override http request option.
2098
2094
  * @throws {RequiredError}
2099
2095
  */
2100
- cancelTaskFactoryTaskIdCancelPost: async (taskId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2096
+ cancelTaskFactoryTaskIdCancelPost: async (taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2101
2097
  // verify required parameter 'taskId' is not null or undefined
2102
2098
  assertParamExists('cancelTaskFactoryTaskIdCancelPost', 'taskId', taskId)
2103
2099
  const localVarPath = `/factory/{task_id}/cancel`
@@ -2127,11 +2123,11 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration?: Configur
2127
2123
  /**
2128
2124
  * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2129
2125
  * @summary Delete Task
2130
- * @param {any} taskId
2126
+ * @param {string} taskId
2131
2127
  * @param {*} [options] Override http request option.
2132
2128
  * @throws {RequiredError}
2133
2129
  */
2134
- deleteTaskFactoryTaskIdDelete: async (taskId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2130
+ deleteTaskFactoryTaskIdDelete: async (taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2135
2131
  // verify required parameter 'taskId' is not null or undefined
2136
2132
  assertParamExists('deleteTaskFactoryTaskIdDelete', 'taskId', taskId)
2137
2133
  const localVarPath = `/factory/{task_id}`
@@ -2191,11 +2187,11 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration?: Configur
2191
2187
  /**
2192
2188
  * 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.
2193
2189
  * @summary Get Task
2194
- * @param {any} taskId
2190
+ * @param {string} taskId
2195
2191
  * @param {*} [options] Override http request option.
2196
2192
  * @throws {RequiredError}
2197
2193
  */
2198
- getTaskFactoryTaskIdGet: async (taskId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2194
+ getTaskFactoryTaskIdGet: async (taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2199
2195
  // verify required parameter 'taskId' is not null or undefined
2200
2196
  assertParamExists('getTaskFactoryTaskIdGet', 'taskId', taskId)
2201
2197
  const localVarPath = `/factory/{task_id}`
@@ -2225,11 +2221,11 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration?: Configur
2225
2221
  /**
2226
2222
  * 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
2227
2223
  * @summary List Tasks
2228
- * @param { | null} [deviceId]
2224
+ * @param {string | null} [deviceId]
2229
2225
  * @param {*} [options] Override http request option.
2230
2226
  * @throws {RequiredError}
2231
2227
  */
2232
- listTasksFactoryGet: async (deviceId?: | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2228
+ listTasksFactoryGet: async (deviceId?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2233
2229
  const localVarPath = `/factory/`;
2234
2230
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2235
2231
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2243,9 +2239,7 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration?: Configur
2243
2239
  const localVarQueryParameter = {} as any;
2244
2240
 
2245
2241
  if (deviceId !== undefined) {
2246
- for (const [key, value] of Object.entries(deviceId)) {
2247
- localVarQueryParameter[key] = value;
2248
- }
2242
+ localVarQueryParameter['device_id'] = deviceId;
2249
2243
  }
2250
2244
 
2251
2245
 
@@ -2298,12 +2292,12 @@ export const FoxFactoryApiAxiosParamCreator = function (configuration?: Configur
2298
2292
  /**
2299
2293
  * 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.
2300
2294
  * @summary Update Task
2301
- * @param {any} taskId
2295
+ * @param {string} taskId
2302
2296
  * @param {TaskUpdateBody} taskUpdateBody
2303
2297
  * @param {*} [options] Override http request option.
2304
2298
  * @throws {RequiredError}
2305
2299
  */
2306
- updateTaskFactoryTaskIdPatch: async (taskId: any, taskUpdateBody: TaskUpdateBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2300
+ updateTaskFactoryTaskIdPatch: async (taskId: string, taskUpdateBody: TaskUpdateBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2307
2301
  // verify required parameter 'taskId' is not null or undefined
2308
2302
  assertParamExists('updateTaskFactoryTaskIdPatch', 'taskId', taskId)
2309
2303
  // verify required parameter 'taskUpdateBody' is not null or undefined
@@ -2348,11 +2342,11 @@ export const FoxFactoryApiFp = function(configuration?: Configuration) {
2348
2342
  /**
2349
2343
  * 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.
2350
2344
  * @summary Cancel Task
2351
- * @param {any} taskId
2345
+ * @param {string} taskId
2352
2346
  * @param {*} [options] Override http request option.
2353
2347
  * @throws {RequiredError}
2354
2348
  */
2355
- async cancelTaskFactoryTaskIdCancelPost(taskId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildTaskResponse>> {
2349
+ async cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildTaskResponse>> {
2356
2350
  const localVarAxiosArgs = await localVarAxiosParamCreator.cancelTaskFactoryTaskIdCancelPost(taskId, options);
2357
2351
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2358
2352
  const localVarOperationServerBasePath = operationServerMap['FoxFactoryApi.cancelTaskFactoryTaskIdCancelPost']?.[localVarOperationServerIndex]?.url;
@@ -2361,11 +2355,11 @@ export const FoxFactoryApiFp = function(configuration?: Configuration) {
2361
2355
  /**
2362
2356
  * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2363
2357
  * @summary Delete Task
2364
- * @param {any} taskId
2358
+ * @param {string} taskId
2365
2359
  * @param {*} [options] Override http request option.
2366
2360
  * @throws {RequiredError}
2367
2361
  */
2368
- async deleteTaskFactoryTaskIdDelete(taskId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
2362
+ async deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
2369
2363
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTaskFactoryTaskIdDelete(taskId, options);
2370
2364
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2371
2365
  const localVarOperationServerBasePath = operationServerMap['FoxFactoryApi.deleteTaskFactoryTaskIdDelete']?.[localVarOperationServerIndex]?.url;
@@ -2386,11 +2380,11 @@ export const FoxFactoryApiFp = function(configuration?: Configuration) {
2386
2380
  /**
2387
2381
  * 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.
2388
2382
  * @summary Get Task
2389
- * @param {any} taskId
2383
+ * @param {string} taskId
2390
2384
  * @param {*} [options] Override http request option.
2391
2385
  * @throws {RequiredError}
2392
2386
  */
2393
- async getTaskFactoryTaskIdGet(taskId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildTaskResponse>> {
2387
+ async getTaskFactoryTaskIdGet(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildTaskResponse>> {
2394
2388
  const localVarAxiosArgs = await localVarAxiosParamCreator.getTaskFactoryTaskIdGet(taskId, options);
2395
2389
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2396
2390
  const localVarOperationServerBasePath = operationServerMap['FoxFactoryApi.getTaskFactoryTaskIdGet']?.[localVarOperationServerIndex]?.url;
@@ -2399,11 +2393,11 @@ export const FoxFactoryApiFp = function(configuration?: Configuration) {
2399
2393
  /**
2400
2394
  * 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
2401
2395
  * @summary List Tasks
2402
- * @param { | null} [deviceId]
2396
+ * @param {string | null} [deviceId]
2403
2397
  * @param {*} [options] Override http request option.
2404
2398
  * @throws {RequiredError}
2405
2399
  */
2406
- async listTasksFactoryGet(deviceId?: | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BuildTaskShortResponse>>> {
2400
+ async listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BuildTaskShortResponse>>> {
2407
2401
  const localVarAxiosArgs = await localVarAxiosParamCreator.listTasksFactoryGet(deviceId, options);
2408
2402
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2409
2403
  const localVarOperationServerBasePath = operationServerMap['FoxFactoryApi.listTasksFactoryGet']?.[localVarOperationServerIndex]?.url;
@@ -2425,12 +2419,12 @@ export const FoxFactoryApiFp = function(configuration?: Configuration) {
2425
2419
  /**
2426
2420
  * 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.
2427
2421
  * @summary Update Task
2428
- * @param {any} taskId
2422
+ * @param {string} taskId
2429
2423
  * @param {TaskUpdateBody} taskUpdateBody
2430
2424
  * @param {*} [options] Override http request option.
2431
2425
  * @throws {RequiredError}
2432
2426
  */
2433
- async updateTaskFactoryTaskIdPatch(taskId: any, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
2427
+ async updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
2434
2428
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateTaskFactoryTaskIdPatch(taskId, taskUpdateBody, options);
2435
2429
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2436
2430
  const localVarOperationServerBasePath = operationServerMap['FoxFactoryApi.updateTaskFactoryTaskIdPatch']?.[localVarOperationServerIndex]?.url;
@@ -2449,21 +2443,21 @@ export const FoxFactoryApiFactory = function (configuration?: Configuration, bas
2449
2443
  /**
2450
2444
  * 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.
2451
2445
  * @summary Cancel Task
2452
- * @param {any} taskId
2446
+ * @param {string} taskId
2453
2447
  * @param {*} [options] Override http request option.
2454
2448
  * @throws {RequiredError}
2455
2449
  */
2456
- cancelTaskFactoryTaskIdCancelPost(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse> {
2450
+ cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse> {
2457
2451
  return localVarFp.cancelTaskFactoryTaskIdCancelPost(taskId, options).then((request) => request(axios, basePath));
2458
2452
  },
2459
2453
  /**
2460
2454
  * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2461
2455
  * @summary Delete Task
2462
- * @param {any} taskId
2456
+ * @param {string} taskId
2463
2457
  * @param {*} [options] Override http request option.
2464
2458
  * @throws {RequiredError}
2465
2459
  */
2466
- deleteTaskFactoryTaskIdDelete(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
2460
+ deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
2467
2461
  return localVarFp.deleteTaskFactoryTaskIdDelete(taskId, options).then((request) => request(axios, basePath));
2468
2462
  },
2469
2463
  /**
@@ -2478,21 +2472,21 @@ export const FoxFactoryApiFactory = function (configuration?: Configuration, bas
2478
2472
  /**
2479
2473
  * 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.
2480
2474
  * @summary Get Task
2481
- * @param {any} taskId
2475
+ * @param {string} taskId
2482
2476
  * @param {*} [options] Override http request option.
2483
2477
  * @throws {RequiredError}
2484
2478
  */
2485
- getTaskFactoryTaskIdGet(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse> {
2479
+ getTaskFactoryTaskIdGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse> {
2486
2480
  return localVarFp.getTaskFactoryTaskIdGet(taskId, options).then((request) => request(axios, basePath));
2487
2481
  },
2488
2482
  /**
2489
2483
  * 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
2490
2484
  * @summary List Tasks
2491
- * @param { | null} [deviceId]
2485
+ * @param {string | null} [deviceId]
2492
2486
  * @param {*} [options] Override http request option.
2493
2487
  * @throws {RequiredError}
2494
2488
  */
2495
- listTasksFactoryGet(deviceId?: | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<BuildTaskShortResponse>> {
2489
+ listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<BuildTaskShortResponse>> {
2496
2490
  return localVarFp.listTasksFactoryGet(deviceId, options).then((request) => request(axios, basePath));
2497
2491
  },
2498
2492
  /**
@@ -2508,12 +2502,12 @@ export const FoxFactoryApiFactory = function (configuration?: Configuration, bas
2508
2502
  /**
2509
2503
  * 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.
2510
2504
  * @summary Update Task
2511
- * @param {any} taskId
2505
+ * @param {string} taskId
2512
2506
  * @param {TaskUpdateBody} taskUpdateBody
2513
2507
  * @param {*} [options] Override http request option.
2514
2508
  * @throws {RequiredError}
2515
2509
  */
2516
- updateTaskFactoryTaskIdPatch(taskId: any, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
2510
+ updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
2517
2511
  return localVarFp.updateTaskFactoryTaskIdPatch(taskId, taskUpdateBody, options).then((request) => request(axios, basePath));
2518
2512
  },
2519
2513
  };
@@ -2528,22 +2522,22 @@ export interface FoxFactoryApiInterface {
2528
2522
  /**
2529
2523
  * 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.
2530
2524
  * @summary Cancel Task
2531
- * @param {any} taskId
2525
+ * @param {string} taskId
2532
2526
  * @param {*} [options] Override http request option.
2533
2527
  * @throws {RequiredError}
2534
2528
  * @memberof FoxFactoryApiInterface
2535
2529
  */
2536
- cancelTaskFactoryTaskIdCancelPost(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2530
+ cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2537
2531
 
2538
2532
  /**
2539
2533
  * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2540
2534
  * @summary Delete Task
2541
- * @param {any} taskId
2535
+ * @param {string} taskId
2542
2536
  * @param {*} [options] Override http request option.
2543
2537
  * @throws {RequiredError}
2544
2538
  * @memberof FoxFactoryApiInterface
2545
2539
  */
2546
- deleteTaskFactoryTaskIdDelete(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2540
+ deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2547
2541
 
2548
2542
  /**
2549
2543
  *
@@ -2557,22 +2551,22 @@ export interface FoxFactoryApiInterface {
2557
2551
  /**
2558
2552
  * 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.
2559
2553
  * @summary Get Task
2560
- * @param {any} taskId
2554
+ * @param {string} taskId
2561
2555
  * @param {*} [options] Override http request option.
2562
2556
  * @throws {RequiredError}
2563
2557
  * @memberof FoxFactoryApiInterface
2564
2558
  */
2565
- getTaskFactoryTaskIdGet(taskId: any, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2559
+ getTaskFactoryTaskIdGet(taskId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildTaskResponse>;
2566
2560
 
2567
2561
  /**
2568
2562
  * 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
2569
2563
  * @summary List Tasks
2570
- * @param { | null} [deviceId]
2564
+ * @param {string | null} [deviceId]
2571
2565
  * @param {*} [options] Override http request option.
2572
2566
  * @throws {RequiredError}
2573
2567
  * @memberof FoxFactoryApiInterface
2574
2568
  */
2575
- listTasksFactoryGet(deviceId?: | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<BuildTaskShortResponse>>;
2569
+ listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<BuildTaskShortResponse>>;
2576
2570
 
2577
2571
  /**
2578
2572
  * Handles the creation of a new build task including validations for the device existence and its connection to GitLab. It initializes a new task with a pending status and the required details, then saves it to the database before returning the task model.
@@ -2587,13 +2581,13 @@ export interface FoxFactoryApiInterface {
2587
2581
  /**
2588
2582
  * 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.
2589
2583
  * @summary Update Task
2590
- * @param {any} taskId
2584
+ * @param {string} taskId
2591
2585
  * @param {TaskUpdateBody} taskUpdateBody
2592
2586
  * @param {*} [options] Override http request option.
2593
2587
  * @throws {RequiredError}
2594
2588
  * @memberof FoxFactoryApiInterface
2595
2589
  */
2596
- updateTaskFactoryTaskIdPatch(taskId: any, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2590
+ updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
2597
2591
 
2598
2592
  }
2599
2593
 
@@ -2607,24 +2601,24 @@ export class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInterface {
2607
2601
  /**
2608
2602
  * 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.
2609
2603
  * @summary Cancel Task
2610
- * @param {any} taskId
2604
+ * @param {string} taskId
2611
2605
  * @param {*} [options] Override http request option.
2612
2606
  * @throws {RequiredError}
2613
2607
  * @memberof FoxFactoryApi
2614
2608
  */
2615
- public cancelTaskFactoryTaskIdCancelPost(taskId: any, options?: RawAxiosRequestConfig) {
2609
+ public cancelTaskFactoryTaskIdCancelPost(taskId: string, options?: RawAxiosRequestConfig) {
2616
2610
  return FoxFactoryApiFp(this.configuration).cancelTaskFactoryTaskIdCancelPost(taskId, options).then((request) => request(this.axios, this.basePath));
2617
2611
  }
2618
2612
 
2619
2613
  /**
2620
2614
  * Deletes a build task given its identifier. If the task with the specified ID is not found, a 404 HTTP exception is raised.
2621
2615
  * @summary Delete Task
2622
- * @param {any} taskId
2616
+ * @param {string} taskId
2623
2617
  * @param {*} [options] Override http request option.
2624
2618
  * @throws {RequiredError}
2625
2619
  * @memberof FoxFactoryApi
2626
2620
  */
2627
- public deleteTaskFactoryTaskIdDelete(taskId: any, options?: RawAxiosRequestConfig) {
2621
+ public deleteTaskFactoryTaskIdDelete(taskId: string, options?: RawAxiosRequestConfig) {
2628
2622
  return FoxFactoryApiFp(this.configuration).deleteTaskFactoryTaskIdDelete(taskId, options).then((request) => request(this.axios, this.basePath));
2629
2623
  }
2630
2624
 
@@ -2642,24 +2636,24 @@ export class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInterface {
2642
2636
  /**
2643
2637
  * 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.
2644
2638
  * @summary Get Task
2645
- * @param {any} taskId
2639
+ * @param {string} taskId
2646
2640
  * @param {*} [options] Override http request option.
2647
2641
  * @throws {RequiredError}
2648
2642
  * @memberof FoxFactoryApi
2649
2643
  */
2650
- public getTaskFactoryTaskIdGet(taskId: any, options?: RawAxiosRequestConfig) {
2644
+ public getTaskFactoryTaskIdGet(taskId: string, options?: RawAxiosRequestConfig) {
2651
2645
  return FoxFactoryApiFp(this.configuration).getTaskFactoryTaskIdGet(taskId, options).then((request) => request(this.axios, this.basePath));
2652
2646
  }
2653
2647
 
2654
2648
  /**
2655
2649
  * 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
2656
2650
  * @summary List Tasks
2657
- * @param { | null} [deviceId]
2651
+ * @param {string | null} [deviceId]
2658
2652
  * @param {*} [options] Override http request option.
2659
2653
  * @throws {RequiredError}
2660
2654
  * @memberof FoxFactoryApi
2661
2655
  */
2662
- public listTasksFactoryGet(deviceId?: | null, options?: RawAxiosRequestConfig) {
2656
+ public listTasksFactoryGet(deviceId?: string | null, options?: RawAxiosRequestConfig) {
2663
2657
  return FoxFactoryApiFp(this.configuration).listTasksFactoryGet(deviceId, options).then((request) => request(this.axios, this.basePath));
2664
2658
  }
2665
2659
 
@@ -2678,13 +2672,13 @@ export class FoxFactoryApi extends BaseAPI implements FoxFactoryApiInterface {
2678
2672
  /**
2679
2673
  * 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.
2680
2674
  * @summary Update Task
2681
- * @param {any} taskId
2675
+ * @param {string} taskId
2682
2676
  * @param {TaskUpdateBody} taskUpdateBody
2683
2677
  * @param {*} [options] Override http request option.
2684
2678
  * @throws {RequiredError}
2685
2679
  * @memberof FoxFactoryApi
2686
2680
  */
2687
- public updateTaskFactoryTaskIdPatch(taskId: any, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig) {
2681
+ public updateTaskFactoryTaskIdPatch(taskId: string, taskUpdateBody: TaskUpdateBody, options?: RawAxiosRequestConfig) {
2688
2682
  return FoxFactoryApiFp(this.configuration).updateTaskFactoryTaskIdPatch(taskId, taskUpdateBody, options).then((request) => request(this.axios, this.basePath));
2689
2683
  }
2690
2684
  }
@@ -2873,11 +2867,11 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
2873
2867
  /**
2874
2868
  * Delete release
2875
2869
  * @summary Del Release
2876
- * @param {any} releaseId
2870
+ * @param {string} releaseId
2877
2871
  * @param {*} [options] Override http request option.
2878
2872
  * @throws {RequiredError}
2879
2873
  */
2880
- delReleaseInternalReleasesReleaseIdDelete: async (releaseId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2874
+ delReleaseInternalReleasesReleaseIdDelete: async (releaseId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2881
2875
  // verify required parameter 'releaseId' is not null or undefined
2882
2876
  assertParamExists('delReleaseInternalReleasesReleaseIdDelete', 'releaseId', releaseId)
2883
2877
  const localVarPath = `/internal/releases/{release_id}`
@@ -2915,11 +2909,11 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
2915
2909
  /**
2916
2910
  *
2917
2911
  * @summary Delete User
2918
- * @param {any} userId
2912
+ * @param {string} userId
2919
2913
  * @param {*} [options] Override http request option.
2920
2914
  * @throws {RequiredError}
2921
2915
  */
2922
- deleteUserInternalUsersUserIdDelete: async (userId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2916
+ deleteUserInternalUsersUserIdDelete: async (userId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2923
2917
  // verify required parameter 'userId' is not null or undefined
2924
2918
  assertParamExists('deleteUserInternalUsersUserIdDelete', 'userId', userId)
2925
2919
  const localVarPath = `/internal/users/{user_id}`
@@ -2957,12 +2951,12 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
2957
2951
  /**
2958
2952
  * Edit Release information
2959
2953
  * @summary Edit Release
2960
- * @param {any} releaseId
2954
+ * @param {string} releaseId
2961
2955
  * @param {ReleaseUpdateBody} releaseUpdateBody
2962
2956
  * @param {*} [options] Override http request option.
2963
2957
  * @throws {RequiredError}
2964
2958
  */
2965
- editReleaseInternalReleasesReleaseIdPut: async (releaseId: any, releaseUpdateBody: ReleaseUpdateBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2959
+ editReleaseInternalReleasesReleaseIdPut: async (releaseId: string, releaseUpdateBody: ReleaseUpdateBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2966
2960
  // verify required parameter 'releaseId' is not null or undefined
2967
2961
  assertParamExists('editReleaseInternalReleasesReleaseIdPut', 'releaseId', releaseId)
2968
2962
  // verify required parameter 'releaseUpdateBody' is not null or undefined
@@ -3005,11 +2999,11 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
3005
2999
  /**
3006
3000
  *
3007
3001
  * @summary Get Device Info
3008
- * @param {any} deviceId
3002
+ * @param {string} deviceId
3009
3003
  * @param {*} [options] Override http request option.
3010
3004
  * @throws {RequiredError}
3011
3005
  */
3012
- getDeviceInfoInternalDevicesDeviceIdGet: async (deviceId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3006
+ getDeviceInfoInternalDevicesDeviceIdGet: async (deviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3013
3007
  // verify required parameter 'deviceId' is not null or undefined
3014
3008
  assertParamExists('getDeviceInfoInternalDevicesDeviceIdGet', 'deviceId', deviceId)
3015
3009
  const localVarPath = `/internal/devices/{device_id}`
@@ -3049,14 +3043,14 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
3049
3043
  * @summary Get Logs
3050
3044
  * @param {number} [page]
3051
3045
  * @param {number} [perPage]
3052
- * @param { | null} [deviceId]
3053
- * @param { | null} [releaseId]
3054
- * @param { | null} [userId]
3046
+ * @param {string | null} [deviceId]
3047
+ * @param {string | null} [releaseId]
3048
+ * @param {string | null} [userId]
3055
3049
  * @param {boolean | null} [hideVerbose]
3056
3050
  * @param {*} [options] Override http request option.
3057
3051
  * @throws {RequiredError}
3058
3052
  */
3059
- getLogsInternalLogsGet: async (page?: number, perPage?: number, deviceId?: | null, releaseId?: | null, userId?: | null, hideVerbose?: boolean | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3053
+ getLogsInternalLogsGet: async (page?: number, perPage?: number, deviceId?: string | null, releaseId?: string | null, userId?: string | null, hideVerbose?: boolean | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3060
3054
  const localVarPath = `/internal/logs/`;
3061
3055
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3062
3056
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3086,21 +3080,15 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
3086
3080
  }
3087
3081
 
3088
3082
  if (deviceId !== undefined) {
3089
- for (const [key, value] of Object.entries(deviceId)) {
3090
- localVarQueryParameter[key] = value;
3091
- }
3083
+ localVarQueryParameter['device_id'] = deviceId;
3092
3084
  }
3093
3085
 
3094
3086
  if (releaseId !== undefined) {
3095
- for (const [key, value] of Object.entries(releaseId)) {
3096
- localVarQueryParameter[key] = value;
3097
- }
3087
+ localVarQueryParameter['release_id'] = releaseId;
3098
3088
  }
3099
3089
 
3100
3090
  if (userId !== undefined) {
3101
- for (const [key, value] of Object.entries(userId)) {
3102
- localVarQueryParameter[key] = value;
3103
- }
3091
+ localVarQueryParameter['user_id'] = userId;
3104
3092
  }
3105
3093
 
3106
3094
  if (hideVerbose !== undefined) {
@@ -3121,11 +3109,11 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
3121
3109
  /**
3122
3110
  * Get release information
3123
3111
  * @summary Get Release Info
3124
- * @param {any} releaseId
3112
+ * @param {string} releaseId
3125
3113
  * @param {*} [options] Override http request option.
3126
3114
  * @throws {RequiredError}
3127
3115
  */
3128
- getReleaseInfoInternalReleasesReleaseIdGet: async (releaseId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3116
+ getReleaseInfoInternalReleasesReleaseIdGet: async (releaseId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3129
3117
  // verify required parameter 'releaseId' is not null or undefined
3130
3118
  assertParamExists('getReleaseInfoInternalReleasesReleaseIdGet', 'releaseId', releaseId)
3131
3119
  const localVarPath = `/internal/releases/{release_id}`
@@ -3163,11 +3151,11 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
3163
3151
  /**
3164
3152
  * Download release ZIP directly
3165
3153
  * @summary Get Release Zip
3166
- * @param {any} releaseId
3154
+ * @param {string} releaseId
3167
3155
  * @param {*} [options] Override http request option.
3168
3156
  * @throws {RequiredError}
3169
3157
  */
3170
- getReleaseZipInternalReleasesReleaseIdDlGet: async (releaseId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3158
+ getReleaseZipInternalReleasesReleaseIdDlGet: async (releaseId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3171
3159
  // verify required parameter 'releaseId' is not null or undefined
3172
3160
  assertParamExists('getReleaseZipInternalReleasesReleaseIdDlGet', 'releaseId', releaseId)
3173
3161
  const localVarPath = `/internal/releases/{release_id}/dl`
@@ -3459,7 +3447,7 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
3459
3447
  /**
3460
3448
  *
3461
3449
  * @summary New Release
3462
- * @param {any} deviceId
3450
+ * @param {string} deviceId
3463
3451
  * @param {File} releaseZip
3464
3452
  * @param {string} md5
3465
3453
  * @param {Array<string>} changelog
@@ -3469,7 +3457,7 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
3469
3457
  * @param {*} [options] Override http request option.
3470
3458
  * @throws {RequiredError}
3471
3459
  */
3472
- newReleaseInternalReleasesPost: async (deviceId: any, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3460
+ newReleaseInternalReleasesPost: async (deviceId: string, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3473
3461
  // verify required parameter 'deviceId' is not null or undefined
3474
3462
  assertParamExists('newReleaseInternalReleasesPost', 'deviceId', deviceId)
3475
3463
  // verify required parameter 'releaseZip' is not null or undefined
@@ -3501,7 +3489,7 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
3501
3489
 
3502
3490
 
3503
3491
  if (deviceId !== undefined) {
3504
- localVarFormParams.append('device_id', new Blob([JSON.stringify(deviceId)], { type: "application/json", }));
3492
+ localVarFormParams.append('device_id', deviceId as any);
3505
3493
  }
3506
3494
 
3507
3495
  if (releaseZip !== undefined) {
@@ -3588,12 +3576,12 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
3588
3576
  /**
3589
3577
  *
3590
3578
  * @summary Update Device
3591
- * @param {any} deviceId
3579
+ * @param {string} deviceId
3592
3580
  * @param {DeviceUpdateBody} deviceUpdateBody
3593
3581
  * @param {*} [options] Override http request option.
3594
3582
  * @throws {RequiredError}
3595
3583
  */
3596
- updateDeviceInternalDevicesDeviceIdPut: async (deviceId: any, deviceUpdateBody: DeviceUpdateBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3584
+ updateDeviceInternalDevicesDeviceIdPut: async (deviceId: string, deviceUpdateBody: DeviceUpdateBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3597
3585
  // verify required parameter 'deviceId' is not null or undefined
3598
3586
  assertParamExists('updateDeviceInternalDevicesDeviceIdPut', 'deviceId', deviceId)
3599
3587
  // verify required parameter 'deviceUpdateBody' is not null or undefined
@@ -3636,12 +3624,12 @@ export const InternalApiAxiosParamCreator = function (configuration?: Configurat
3636
3624
  /**
3637
3625
  *
3638
3626
  * @summary Update User
3639
- * @param {any} userId
3627
+ * @param {string} userId
3640
3628
  * @param {UserUpdateBody} userUpdateBody
3641
3629
  * @param {*} [options] Override http request option.
3642
3630
  * @throws {RequiredError}
3643
3631
  */
3644
- updateUserInternalUsersUserIdPut: async (userId: any, userUpdateBody: UserUpdateBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3632
+ updateUserInternalUsersUserIdPut: async (userId: string, userUpdateBody: UserUpdateBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3645
3633
  // verify required parameter 'userId' is not null or undefined
3646
3634
  assertParamExists('updateUserInternalUsersUserIdPut', 'userId', userId)
3647
3635
  // verify required parameter 'userUpdateBody' is not null or undefined
@@ -3707,11 +3695,11 @@ export const InternalApiFp = function(configuration?: Configuration) {
3707
3695
  /**
3708
3696
  * Delete release
3709
3697
  * @summary Del Release
3710
- * @param {any} releaseId
3698
+ * @param {string} releaseId
3711
3699
  * @param {*} [options] Override http request option.
3712
3700
  * @throws {RequiredError}
3713
3701
  */
3714
- async delReleaseInternalReleasesReleaseIdDelete(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3702
+ async delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3715
3703
  const localVarAxiosArgs = await localVarAxiosParamCreator.delReleaseInternalReleasesReleaseIdDelete(releaseId, options);
3716
3704
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3717
3705
  const localVarOperationServerBasePath = operationServerMap['InternalApi.delReleaseInternalReleasesReleaseIdDelete']?.[localVarOperationServerIndex]?.url;
@@ -3720,11 +3708,11 @@ export const InternalApiFp = function(configuration?: Configuration) {
3720
3708
  /**
3721
3709
  *
3722
3710
  * @summary Delete User
3723
- * @param {any} userId
3711
+ * @param {string} userId
3724
3712
  * @param {*} [options] Override http request option.
3725
3713
  * @throws {RequiredError}
3726
3714
  */
3727
- async deleteUserInternalUsersUserIdDelete(userId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3715
+ async deleteUserInternalUsersUserIdDelete(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3728
3716
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserInternalUsersUserIdDelete(userId, options);
3729
3717
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3730
3718
  const localVarOperationServerBasePath = operationServerMap['InternalApi.deleteUserInternalUsersUserIdDelete']?.[localVarOperationServerIndex]?.url;
@@ -3733,12 +3721,12 @@ export const InternalApiFp = function(configuration?: Configuration) {
3733
3721
  /**
3734
3722
  * Edit Release information
3735
3723
  * @summary Edit Release
3736
- * @param {any} releaseId
3724
+ * @param {string} releaseId
3737
3725
  * @param {ReleaseUpdateBody} releaseUpdateBody
3738
3726
  * @param {*} [options] Override http request option.
3739
3727
  * @throws {RequiredError}
3740
3728
  */
3741
- async editReleaseInternalReleasesReleaseIdPut(releaseId: any, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3729
+ async editReleaseInternalReleasesReleaseIdPut(releaseId: string, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3742
3730
  const localVarAxiosArgs = await localVarAxiosParamCreator.editReleaseInternalReleasesReleaseIdPut(releaseId, releaseUpdateBody, options);
3743
3731
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3744
3732
  const localVarOperationServerBasePath = operationServerMap['InternalApi.editReleaseInternalReleasesReleaseIdPut']?.[localVarOperationServerIndex]?.url;
@@ -3747,11 +3735,11 @@ export const InternalApiFp = function(configuration?: Configuration) {
3747
3735
  /**
3748
3736
  *
3749
3737
  * @summary Get Device Info
3750
- * @param {any} deviceId
3738
+ * @param {string} deviceId
3751
3739
  * @param {*} [options] Override http request option.
3752
3740
  * @throws {RequiredError}
3753
3741
  */
3754
- async getDeviceInfoInternalDevicesDeviceIdGet(deviceId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInternalResponse>> {
3742
+ async getDeviceInfoInternalDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInternalResponse>> {
3755
3743
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDeviceInfoInternalDevicesDeviceIdGet(deviceId, options);
3756
3744
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3757
3745
  const localVarOperationServerBasePath = operationServerMap['InternalApi.getDeviceInfoInternalDevicesDeviceIdGet']?.[localVarOperationServerIndex]?.url;
@@ -3762,14 +3750,14 @@ export const InternalApiFp = function(configuration?: Configuration) {
3762
3750
  * @summary Get Logs
3763
3751
  * @param {number} [page]
3764
3752
  * @param {number} [perPage]
3765
- * @param { | null} [deviceId]
3766
- * @param { | null} [releaseId]
3767
- * @param { | null} [userId]
3753
+ * @param {string | null} [deviceId]
3754
+ * @param {string | null} [releaseId]
3755
+ * @param {string | null} [userId]
3768
3756
  * @param {boolean | null} [hideVerbose]
3769
3757
  * @param {*} [options] Override http request option.
3770
3758
  * @throws {RequiredError}
3771
3759
  */
3772
- async getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: | null, releaseId?: | null, userId?: | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogListResponse>> {
3760
+ async getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: string | null, releaseId?: string | null, userId?: string | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LogListResponse>> {
3773
3761
  const localVarAxiosArgs = await localVarAxiosParamCreator.getLogsInternalLogsGet(page, perPage, deviceId, releaseId, userId, hideVerbose, options);
3774
3762
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3775
3763
  const localVarOperationServerBasePath = operationServerMap['InternalApi.getLogsInternalLogsGet']?.[localVarOperationServerIndex]?.url;
@@ -3778,11 +3766,11 @@ export const InternalApiFp = function(configuration?: Configuration) {
3778
3766
  /**
3779
3767
  * Get release information
3780
3768
  * @summary Get Release Info
3781
- * @param {any} releaseId
3769
+ * @param {string} releaseId
3782
3770
  * @param {*} [options] Override http request option.
3783
3771
  * @throws {RequiredError}
3784
3772
  */
3785
- async getReleaseInfoInternalReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseInternalResponse>> {
3773
+ async getReleaseInfoInternalReleasesReleaseIdGet(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseInternalResponse>> {
3786
3774
  const localVarAxiosArgs = await localVarAxiosParamCreator.getReleaseInfoInternalReleasesReleaseIdGet(releaseId, options);
3787
3775
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3788
3776
  const localVarOperationServerBasePath = operationServerMap['InternalApi.getReleaseInfoInternalReleasesReleaseIdGet']?.[localVarOperationServerIndex]?.url;
@@ -3791,11 +3779,11 @@ export const InternalApiFp = function(configuration?: Configuration) {
3791
3779
  /**
3792
3780
  * Download release ZIP directly
3793
3781
  * @summary Get Release Zip
3794
- * @param {any} releaseId
3782
+ * @param {string} releaseId
3795
3783
  * @param {*} [options] Override http request option.
3796
3784
  * @throws {RequiredError}
3797
3785
  */
3798
- async getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3786
+ async getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3799
3787
  const localVarAxiosArgs = await localVarAxiosParamCreator.getReleaseZipInternalReleasesReleaseIdDlGet(releaseId, options);
3800
3788
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3801
3789
  const localVarOperationServerBasePath = operationServerMap['InternalApi.getReleaseZipInternalReleasesReleaseIdDlGet']?.[localVarOperationServerIndex]?.url;
@@ -3875,7 +3863,7 @@ export const InternalApiFp = function(configuration?: Configuration) {
3875
3863
  /**
3876
3864
  *
3877
3865
  * @summary New Release
3878
- * @param {any} deviceId
3866
+ * @param {string} deviceId
3879
3867
  * @param {File} releaseZip
3880
3868
  * @param {string} md5
3881
3869
  * @param {Array<string>} changelog
@@ -3885,7 +3873,7 @@ export const InternalApiFp = function(configuration?: Configuration) {
3885
3873
  * @param {*} [options] Override http request option.
3886
3874
  * @throws {RequiredError}
3887
3875
  */
3888
- async newReleaseInternalReleasesPost(deviceId: any, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>> {
3876
+ async newReleaseInternalReleasesPost(deviceId: string, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>> {
3889
3877
  const localVarAxiosArgs = await localVarAxiosParamCreator.newReleaseInternalReleasesPost(deviceId, releaseZip, md5, changelog, bugs, notes, force, options);
3890
3878
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3891
3879
  const localVarOperationServerBasePath = operationServerMap['InternalApi.newReleaseInternalReleasesPost']?.[localVarOperationServerIndex]?.url;
@@ -3907,12 +3895,12 @@ export const InternalApiFp = function(configuration?: Configuration) {
3907
3895
  /**
3908
3896
  *
3909
3897
  * @summary Update Device
3910
- * @param {any} deviceId
3898
+ * @param {string} deviceId
3911
3899
  * @param {DeviceUpdateBody} deviceUpdateBody
3912
3900
  * @param {*} [options] Override http request option.
3913
3901
  * @throws {RequiredError}
3914
3902
  */
3915
- async updateDeviceInternalDevicesDeviceIdPut(deviceId: any, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3903
+ async updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3916
3904
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateDeviceInternalDevicesDeviceIdPut(deviceId, deviceUpdateBody, options);
3917
3905
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3918
3906
  const localVarOperationServerBasePath = operationServerMap['InternalApi.updateDeviceInternalDevicesDeviceIdPut']?.[localVarOperationServerIndex]?.url;
@@ -3921,12 +3909,12 @@ export const InternalApiFp = function(configuration?: Configuration) {
3921
3909
  /**
3922
3910
  *
3923
3911
  * @summary Update User
3924
- * @param {any} userId
3912
+ * @param {string} userId
3925
3913
  * @param {UserUpdateBody} userUpdateBody
3926
3914
  * @param {*} [options] Override http request option.
3927
3915
  * @throws {RequiredError}
3928
3916
  */
3929
- async updateUserInternalUsersUserIdPut(userId: any, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3917
+ async updateUserInternalUsersUserIdPut(userId: string, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
3930
3918
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserInternalUsersUserIdPut(userId, userUpdateBody, options);
3931
3919
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3932
3920
  const localVarOperationServerBasePath = operationServerMap['InternalApi.updateUserInternalUsersUserIdPut']?.[localVarOperationServerIndex]?.url;
@@ -3955,42 +3943,42 @@ export const InternalApiFactory = function (configuration?: Configuration, baseP
3955
3943
  /**
3956
3944
  * Delete release
3957
3945
  * @summary Del Release
3958
- * @param {any} releaseId
3946
+ * @param {string} releaseId
3959
3947
  * @param {*} [options] Override http request option.
3960
3948
  * @throws {RequiredError}
3961
3949
  */
3962
- delReleaseInternalReleasesReleaseIdDelete(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
3950
+ delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
3963
3951
  return localVarFp.delReleaseInternalReleasesReleaseIdDelete(releaseId, options).then((request) => request(axios, basePath));
3964
3952
  },
3965
3953
  /**
3966
3954
  *
3967
3955
  * @summary Delete User
3968
- * @param {any} userId
3956
+ * @param {string} userId
3969
3957
  * @param {*} [options] Override http request option.
3970
3958
  * @throws {RequiredError}
3971
3959
  */
3972
- deleteUserInternalUsersUserIdDelete(userId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
3960
+ deleteUserInternalUsersUserIdDelete(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
3973
3961
  return localVarFp.deleteUserInternalUsersUserIdDelete(userId, options).then((request) => request(axios, basePath));
3974
3962
  },
3975
3963
  /**
3976
3964
  * Edit Release information
3977
3965
  * @summary Edit Release
3978
- * @param {any} releaseId
3966
+ * @param {string} releaseId
3979
3967
  * @param {ReleaseUpdateBody} releaseUpdateBody
3980
3968
  * @param {*} [options] Override http request option.
3981
3969
  * @throws {RequiredError}
3982
3970
  */
3983
- editReleaseInternalReleasesReleaseIdPut(releaseId: any, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
3971
+ editReleaseInternalReleasesReleaseIdPut(releaseId: string, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
3984
3972
  return localVarFp.editReleaseInternalReleasesReleaseIdPut(releaseId, releaseUpdateBody, options).then((request) => request(axios, basePath));
3985
3973
  },
3986
3974
  /**
3987
3975
  *
3988
3976
  * @summary Get Device Info
3989
- * @param {any} deviceId
3977
+ * @param {string} deviceId
3990
3978
  * @param {*} [options] Override http request option.
3991
3979
  * @throws {RequiredError}
3992
3980
  */
3993
- getDeviceInfoInternalDevicesDeviceIdGet(deviceId: any, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInternalResponse> {
3981
+ getDeviceInfoInternalDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInternalResponse> {
3994
3982
  return localVarFp.getDeviceInfoInternalDevicesDeviceIdGet(deviceId, options).then((request) => request(axios, basePath));
3995
3983
  },
3996
3984
  /**
@@ -3998,34 +3986,34 @@ export const InternalApiFactory = function (configuration?: Configuration, baseP
3998
3986
  * @summary Get Logs
3999
3987
  * @param {number} [page]
4000
3988
  * @param {number} [perPage]
4001
- * @param { | null} [deviceId]
4002
- * @param { | null} [releaseId]
4003
- * @param { | null} [userId]
3989
+ * @param {string | null} [deviceId]
3990
+ * @param {string | null} [releaseId]
3991
+ * @param {string | null} [userId]
4004
3992
  * @param {boolean | null} [hideVerbose]
4005
3993
  * @param {*} [options] Override http request option.
4006
3994
  * @throws {RequiredError}
4007
3995
  */
4008
- getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: | null, releaseId?: | null, userId?: | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<LogListResponse> {
3996
+ getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: string | null, releaseId?: string | null, userId?: string | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<LogListResponse> {
4009
3997
  return localVarFp.getLogsInternalLogsGet(page, perPage, deviceId, releaseId, userId, hideVerbose, options).then((request) => request(axios, basePath));
4010
3998
  },
4011
3999
  /**
4012
4000
  * Get release information
4013
4001
  * @summary Get Release Info
4014
- * @param {any} releaseId
4002
+ * @param {string} releaseId
4015
4003
  * @param {*} [options] Override http request option.
4016
4004
  * @throws {RequiredError}
4017
4005
  */
4018
- getReleaseInfoInternalReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseInternalResponse> {
4006
+ getReleaseInfoInternalReleasesReleaseIdGet(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseInternalResponse> {
4019
4007
  return localVarFp.getReleaseInfoInternalReleasesReleaseIdGet(releaseId, options).then((request) => request(axios, basePath));
4020
4008
  },
4021
4009
  /**
4022
4010
  * Download release ZIP directly
4023
4011
  * @summary Get Release Zip
4024
- * @param {any} releaseId
4012
+ * @param {string} releaseId
4025
4013
  * @param {*} [options] Override http request option.
4026
4014
  * @throws {RequiredError}
4027
4015
  */
4028
- getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
4016
+ getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
4029
4017
  return localVarFp.getReleaseZipInternalReleasesReleaseIdDlGet(releaseId, options).then((request) => request(axios, basePath));
4030
4018
  },
4031
4019
  /**
@@ -4087,7 +4075,7 @@ export const InternalApiFactory = function (configuration?: Configuration, baseP
4087
4075
  /**
4088
4076
  *
4089
4077
  * @summary New Release
4090
- * @param {any} deviceId
4078
+ * @param {string} deviceId
4091
4079
  * @param {File} releaseZip
4092
4080
  * @param {string} md5
4093
4081
  * @param {Array<string>} changelog
@@ -4097,7 +4085,7 @@ export const InternalApiFactory = function (configuration?: Configuration, baseP
4097
4085
  * @param {*} [options] Override http request option.
4098
4086
  * @throws {RequiredError}
4099
4087
  */
4100
- newReleaseInternalReleasesPost(deviceId: any, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse> {
4088
+ newReleaseInternalReleasesPost(deviceId: string, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse> {
4101
4089
  return localVarFp.newReleaseInternalReleasesPost(deviceId, releaseZip, md5, changelog, bugs, notes, force, options).then((request) => request(axios, basePath));
4102
4090
  },
4103
4091
  /**
@@ -4113,23 +4101,23 @@ export const InternalApiFactory = function (configuration?: Configuration, baseP
4113
4101
  /**
4114
4102
  *
4115
4103
  * @summary Update Device
4116
- * @param {any} deviceId
4104
+ * @param {string} deviceId
4117
4105
  * @param {DeviceUpdateBody} deviceUpdateBody
4118
4106
  * @param {*} [options] Override http request option.
4119
4107
  * @throws {RequiredError}
4120
4108
  */
4121
- updateDeviceInternalDevicesDeviceIdPut(deviceId: any, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
4109
+ updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
4122
4110
  return localVarFp.updateDeviceInternalDevicesDeviceIdPut(deviceId, deviceUpdateBody, options).then((request) => request(axios, basePath));
4123
4111
  },
4124
4112
  /**
4125
4113
  *
4126
4114
  * @summary Update User
4127
- * @param {any} userId
4115
+ * @param {string} userId
4128
4116
  * @param {UserUpdateBody} userUpdateBody
4129
4117
  * @param {*} [options] Override http request option.
4130
4118
  * @throws {RequiredError}
4131
4119
  */
4132
- updateUserInternalUsersUserIdPut(userId: any, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
4120
+ updateUserInternalUsersUserIdPut(userId: string, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean> {
4133
4121
  return localVarFp.updateUserInternalUsersUserIdPut(userId, userUpdateBody, options).then((request) => request(axios, basePath));
4134
4122
  },
4135
4123
  };
@@ -4154,78 +4142,78 @@ export interface InternalApiInterface {
4154
4142
  /**
4155
4143
  * Delete release
4156
4144
  * @summary Del Release
4157
- * @param {any} releaseId
4145
+ * @param {string} releaseId
4158
4146
  * @param {*} [options] Override http request option.
4159
4147
  * @throws {RequiredError}
4160
4148
  * @memberof InternalApiInterface
4161
4149
  */
4162
- delReleaseInternalReleasesReleaseIdDelete(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4150
+ delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4163
4151
 
4164
4152
  /**
4165
4153
  *
4166
4154
  * @summary Delete User
4167
- * @param {any} userId
4155
+ * @param {string} userId
4168
4156
  * @param {*} [options] Override http request option.
4169
4157
  * @throws {RequiredError}
4170
4158
  * @memberof InternalApiInterface
4171
4159
  */
4172
- deleteUserInternalUsersUserIdDelete(userId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4160
+ deleteUserInternalUsersUserIdDelete(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4173
4161
 
4174
4162
  /**
4175
4163
  * Edit Release information
4176
4164
  * @summary Edit Release
4177
- * @param {any} releaseId
4165
+ * @param {string} releaseId
4178
4166
  * @param {ReleaseUpdateBody} releaseUpdateBody
4179
4167
  * @param {*} [options] Override http request option.
4180
4168
  * @throws {RequiredError}
4181
4169
  * @memberof InternalApiInterface
4182
4170
  */
4183
- editReleaseInternalReleasesReleaseIdPut(releaseId: any, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4171
+ editReleaseInternalReleasesReleaseIdPut(releaseId: string, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4184
4172
 
4185
4173
  /**
4186
4174
  *
4187
4175
  * @summary Get Device Info
4188
- * @param {any} deviceId
4176
+ * @param {string} deviceId
4189
4177
  * @param {*} [options] Override http request option.
4190
4178
  * @throws {RequiredError}
4191
4179
  * @memberof InternalApiInterface
4192
4180
  */
4193
- getDeviceInfoInternalDevicesDeviceIdGet(deviceId: any, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInternalResponse>;
4181
+ getDeviceInfoInternalDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInternalResponse>;
4194
4182
 
4195
4183
  /**
4196
4184
  * Get a paginated list of logs with optional filtering.
4197
4185
  * @summary Get Logs
4198
4186
  * @param {number} [page]
4199
4187
  * @param {number} [perPage]
4200
- * @param { | null} [deviceId]
4201
- * @param { | null} [releaseId]
4202
- * @param { | null} [userId]
4188
+ * @param {string | null} [deviceId]
4189
+ * @param {string | null} [releaseId]
4190
+ * @param {string | null} [userId]
4203
4191
  * @param {boolean | null} [hideVerbose]
4204
4192
  * @param {*} [options] Override http request option.
4205
4193
  * @throws {RequiredError}
4206
4194
  * @memberof InternalApiInterface
4207
4195
  */
4208
- getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: | null, releaseId?: | null, userId?: | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<LogListResponse>;
4196
+ getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: string | null, releaseId?: string | null, userId?: string | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<LogListResponse>;
4209
4197
 
4210
4198
  /**
4211
4199
  * Get release information
4212
4200
  * @summary Get Release Info
4213
- * @param {any} releaseId
4201
+ * @param {string} releaseId
4214
4202
  * @param {*} [options] Override http request option.
4215
4203
  * @throws {RequiredError}
4216
4204
  * @memberof InternalApiInterface
4217
4205
  */
4218
- getReleaseInfoInternalReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseInternalResponse>;
4206
+ getReleaseInfoInternalReleasesReleaseIdGet(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseInternalResponse>;
4219
4207
 
4220
4208
  /**
4221
4209
  * Download release ZIP directly
4222
4210
  * @summary Get Release Zip
4223
- * @param {any} releaseId
4211
+ * @param {string} releaseId
4224
4212
  * @param {*} [options] Override http request option.
4225
4213
  * @throws {RequiredError}
4226
4214
  * @memberof InternalApiInterface
4227
4215
  */
4228
- getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4216
+ getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4229
4217
 
4230
4218
  /**
4231
4219
  *
@@ -4286,7 +4274,7 @@ export interface InternalApiInterface {
4286
4274
  /**
4287
4275
  *
4288
4276
  * @summary New Release
4289
- * @param {any} deviceId
4277
+ * @param {string} deviceId
4290
4278
  * @param {File} releaseZip
4291
4279
  * @param {string} md5
4292
4280
  * @param {Array<string>} changelog
@@ -4297,7 +4285,7 @@ export interface InternalApiInterface {
4297
4285
  * @throws {RequiredError}
4298
4286
  * @memberof InternalApiInterface
4299
4287
  */
4300
- newReleaseInternalReleasesPost(deviceId: any, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
4288
+ newReleaseInternalReleasesPost(deviceId: string, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
4301
4289
 
4302
4290
  /**
4303
4291
  *
@@ -4312,24 +4300,24 @@ export interface InternalApiInterface {
4312
4300
  /**
4313
4301
  *
4314
4302
  * @summary Update Device
4315
- * @param {any} deviceId
4303
+ * @param {string} deviceId
4316
4304
  * @param {DeviceUpdateBody} deviceUpdateBody
4317
4305
  * @param {*} [options] Override http request option.
4318
4306
  * @throws {RequiredError}
4319
4307
  * @memberof InternalApiInterface
4320
4308
  */
4321
- updateDeviceInternalDevicesDeviceIdPut(deviceId: any, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4309
+ updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4322
4310
 
4323
4311
  /**
4324
4312
  *
4325
4313
  * @summary Update User
4326
- * @param {any} userId
4314
+ * @param {string} userId
4327
4315
  * @param {UserUpdateBody} userUpdateBody
4328
4316
  * @param {*} [options] Override http request option.
4329
4317
  * @throws {RequiredError}
4330
4318
  * @memberof InternalApiInterface
4331
4319
  */
4332
- updateUserInternalUsersUserIdPut(userId: any, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4320
+ updateUserInternalUsersUserIdPut(userId: string, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
4333
4321
 
4334
4322
  }
4335
4323
 
@@ -4355,49 +4343,49 @@ export class InternalApi extends BaseAPI implements InternalApiInterface {
4355
4343
  /**
4356
4344
  * Delete release
4357
4345
  * @summary Del Release
4358
- * @param {any} releaseId
4346
+ * @param {string} releaseId
4359
4347
  * @param {*} [options] Override http request option.
4360
4348
  * @throws {RequiredError}
4361
4349
  * @memberof InternalApi
4362
4350
  */
4363
- public delReleaseInternalReleasesReleaseIdDelete(releaseId: any, options?: RawAxiosRequestConfig) {
4351
+ public delReleaseInternalReleasesReleaseIdDelete(releaseId: string, options?: RawAxiosRequestConfig) {
4364
4352
  return InternalApiFp(this.configuration).delReleaseInternalReleasesReleaseIdDelete(releaseId, options).then((request) => request(this.axios, this.basePath));
4365
4353
  }
4366
4354
 
4367
4355
  /**
4368
4356
  *
4369
4357
  * @summary Delete User
4370
- * @param {any} userId
4358
+ * @param {string} userId
4371
4359
  * @param {*} [options] Override http request option.
4372
4360
  * @throws {RequiredError}
4373
4361
  * @memberof InternalApi
4374
4362
  */
4375
- public deleteUserInternalUsersUserIdDelete(userId: any, options?: RawAxiosRequestConfig) {
4363
+ public deleteUserInternalUsersUserIdDelete(userId: string, options?: RawAxiosRequestConfig) {
4376
4364
  return InternalApiFp(this.configuration).deleteUserInternalUsersUserIdDelete(userId, options).then((request) => request(this.axios, this.basePath));
4377
4365
  }
4378
4366
 
4379
4367
  /**
4380
4368
  * Edit Release information
4381
4369
  * @summary Edit Release
4382
- * @param {any} releaseId
4370
+ * @param {string} releaseId
4383
4371
  * @param {ReleaseUpdateBody} releaseUpdateBody
4384
4372
  * @param {*} [options] Override http request option.
4385
4373
  * @throws {RequiredError}
4386
4374
  * @memberof InternalApi
4387
4375
  */
4388
- public editReleaseInternalReleasesReleaseIdPut(releaseId: any, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig) {
4376
+ public editReleaseInternalReleasesReleaseIdPut(releaseId: string, releaseUpdateBody: ReleaseUpdateBody, options?: RawAxiosRequestConfig) {
4389
4377
  return InternalApiFp(this.configuration).editReleaseInternalReleasesReleaseIdPut(releaseId, releaseUpdateBody, options).then((request) => request(this.axios, this.basePath));
4390
4378
  }
4391
4379
 
4392
4380
  /**
4393
4381
  *
4394
4382
  * @summary Get Device Info
4395
- * @param {any} deviceId
4383
+ * @param {string} deviceId
4396
4384
  * @param {*} [options] Override http request option.
4397
4385
  * @throws {RequiredError}
4398
4386
  * @memberof InternalApi
4399
4387
  */
4400
- public getDeviceInfoInternalDevicesDeviceIdGet(deviceId: any, options?: RawAxiosRequestConfig) {
4388
+ public getDeviceInfoInternalDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig) {
4401
4389
  return InternalApiFp(this.configuration).getDeviceInfoInternalDevicesDeviceIdGet(deviceId, options).then((request) => request(this.axios, this.basePath));
4402
4390
  }
4403
4391
 
@@ -4406,39 +4394,39 @@ export class InternalApi extends BaseAPI implements InternalApiInterface {
4406
4394
  * @summary Get Logs
4407
4395
  * @param {number} [page]
4408
4396
  * @param {number} [perPage]
4409
- * @param { | null} [deviceId]
4410
- * @param { | null} [releaseId]
4411
- * @param { | null} [userId]
4397
+ * @param {string | null} [deviceId]
4398
+ * @param {string | null} [releaseId]
4399
+ * @param {string | null} [userId]
4412
4400
  * @param {boolean | null} [hideVerbose]
4413
4401
  * @param {*} [options] Override http request option.
4414
4402
  * @throws {RequiredError}
4415
4403
  * @memberof InternalApi
4416
4404
  */
4417
- public getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: | null, releaseId?: | null, userId?: | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig) {
4405
+ public getLogsInternalLogsGet(page?: number, perPage?: number, deviceId?: string | null, releaseId?: string | null, userId?: string | null, hideVerbose?: boolean | null, options?: RawAxiosRequestConfig) {
4418
4406
  return InternalApiFp(this.configuration).getLogsInternalLogsGet(page, perPage, deviceId, releaseId, userId, hideVerbose, options).then((request) => request(this.axios, this.basePath));
4419
4407
  }
4420
4408
 
4421
4409
  /**
4422
4410
  * Get release information
4423
4411
  * @summary Get Release Info
4424
- * @param {any} releaseId
4412
+ * @param {string} releaseId
4425
4413
  * @param {*} [options] Override http request option.
4426
4414
  * @throws {RequiredError}
4427
4415
  * @memberof InternalApi
4428
4416
  */
4429
- public getReleaseInfoInternalReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig) {
4417
+ public getReleaseInfoInternalReleasesReleaseIdGet(releaseId: string, options?: RawAxiosRequestConfig) {
4430
4418
  return InternalApiFp(this.configuration).getReleaseInfoInternalReleasesReleaseIdGet(releaseId, options).then((request) => request(this.axios, this.basePath));
4431
4419
  }
4432
4420
 
4433
4421
  /**
4434
4422
  * Download release ZIP directly
4435
4423
  * @summary Get Release Zip
4436
- * @param {any} releaseId
4424
+ * @param {string} releaseId
4437
4425
  * @param {*} [options] Override http request option.
4438
4426
  * @throws {RequiredError}
4439
4427
  * @memberof InternalApi
4440
4428
  */
4441
- public getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: any, options?: RawAxiosRequestConfig) {
4429
+ public getReleaseZipInternalReleasesReleaseIdDlGet(releaseId: string, options?: RawAxiosRequestConfig) {
4442
4430
  return InternalApiFp(this.configuration).getReleaseZipInternalReleasesReleaseIdDlGet(releaseId, options).then((request) => request(this.axios, this.basePath));
4443
4431
  }
4444
4432
 
@@ -4511,7 +4499,7 @@ export class InternalApi extends BaseAPI implements InternalApiInterface {
4511
4499
  /**
4512
4500
  *
4513
4501
  * @summary New Release
4514
- * @param {any} deviceId
4502
+ * @param {string} deviceId
4515
4503
  * @param {File} releaseZip
4516
4504
  * @param {string} md5
4517
4505
  * @param {Array<string>} changelog
@@ -4522,7 +4510,7 @@ export class InternalApi extends BaseAPI implements InternalApiInterface {
4522
4510
  * @throws {RequiredError}
4523
4511
  * @memberof InternalApi
4524
4512
  */
4525
- public newReleaseInternalReleasesPost(deviceId: any, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig) {
4513
+ public newReleaseInternalReleasesPost(deviceId: string, releaseZip: File, md5: string, changelog: Array<string>, bugs?: Array<string>, notes?: string | null, force?: boolean, options?: RawAxiosRequestConfig) {
4526
4514
  return InternalApiFp(this.configuration).newReleaseInternalReleasesPost(deviceId, releaseZip, md5, changelog, bugs, notes, force, options).then((request) => request(this.axios, this.basePath));
4527
4515
  }
4528
4516
 
@@ -4541,26 +4529,26 @@ export class InternalApi extends BaseAPI implements InternalApiInterface {
4541
4529
  /**
4542
4530
  *
4543
4531
  * @summary Update Device
4544
- * @param {any} deviceId
4532
+ * @param {string} deviceId
4545
4533
  * @param {DeviceUpdateBody} deviceUpdateBody
4546
4534
  * @param {*} [options] Override http request option.
4547
4535
  * @throws {RequiredError}
4548
4536
  * @memberof InternalApi
4549
4537
  */
4550
- public updateDeviceInternalDevicesDeviceIdPut(deviceId: any, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig) {
4538
+ public updateDeviceInternalDevicesDeviceIdPut(deviceId: string, deviceUpdateBody: DeviceUpdateBody, options?: RawAxiosRequestConfig) {
4551
4539
  return InternalApiFp(this.configuration).updateDeviceInternalDevicesDeviceIdPut(deviceId, deviceUpdateBody, options).then((request) => request(this.axios, this.basePath));
4552
4540
  }
4553
4541
 
4554
4542
  /**
4555
4543
  *
4556
4544
  * @summary Update User
4557
- * @param {any} userId
4545
+ * @param {string} userId
4558
4546
  * @param {UserUpdateBody} userUpdateBody
4559
4547
  * @param {*} [options] Override http request option.
4560
4548
  * @throws {RequiredError}
4561
4549
  * @memberof InternalApi
4562
4550
  */
4563
- public updateUserInternalUsersUserIdPut(userId: any, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig) {
4551
+ public updateUserInternalUsersUserIdPut(userId: string, userUpdateBody: UserUpdateBody, options?: RawAxiosRequestConfig) {
4564
4552
  return InternalApiFp(this.configuration).updateUserInternalUsersUserIdPut(userId, userUpdateBody, options).then((request) => request(this.axios, this.basePath));
4565
4553
  }
4566
4554
  }
@@ -4576,14 +4564,14 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
4576
4564
  /**
4577
4565
  * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
4578
4566
  * @summary Get Release
4579
- * @param { | null} [releaseId] Release ID
4580
- * @param { | null} [id] Release ID (deprecated)
4567
+ * @param {string | null} [releaseId] Release ID
4568
+ * @param {string | null} [id] Release ID (deprecated)
4581
4569
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
4582
4570
  * @param {string | null} [filename]
4583
4571
  * @param {*} [options] Override http request option.
4584
4572
  * @throws {RequiredError}
4585
4573
  */
4586
- getRelease: async (releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4574
+ getRelease: async (releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4587
4575
  const localVarPath = `/releases/get`;
4588
4576
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4589
4577
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4597,15 +4585,11 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
4597
4585
  const localVarQueryParameter = {} as any;
4598
4586
 
4599
4587
  if (releaseId !== undefined) {
4600
- for (const [key, value] of Object.entries(releaseId)) {
4601
- localVarQueryParameter[key] = value;
4602
- }
4588
+ localVarQueryParameter['release_id'] = releaseId;
4603
4589
  }
4604
4590
 
4605
4591
  if (id !== undefined) {
4606
- for (const [key, value] of Object.entries(id)) {
4607
- localVarQueryParameter[key] = value;
4608
- }
4592
+ localVarQueryParameter['_id'] = id;
4609
4593
  }
4610
4594
 
4611
4595
  if (buildId !== undefined) {
@@ -4630,12 +4614,12 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
4630
4614
  /**
4631
4615
  * Gets release information using the release ID, nothing to discuss really.
4632
4616
  * @summary Get Release Short
4633
- * @param {any} releaseId
4617
+ * @param {string} releaseId
4634
4618
  * @param {*} [options] Override http request option.
4635
4619
  * @deprecated
4636
4620
  * @throws {RequiredError}
4637
4621
  */
4638
- getReleaseDeprecated: async (releaseId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4622
+ getReleaseDeprecated: async (releaseId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4639
4623
  // verify required parameter 'releaseId' is not null or undefined
4640
4624
  assertParamExists('getReleaseDeprecated', 'releaseId', releaseId)
4641
4625
  const localVarPath = `/releases/{release_id}`
@@ -4665,17 +4649,17 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
4665
4649
  /**
4666
4650
  * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
4667
4651
  * @summary Get Releases
4668
- * @param {Array<any>} [id] Filter by Release IDs
4669
- * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
4652
+ * @param {Array<string>} [id] Filter by Release IDs
4653
+ * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
4670
4654
  * @param {Array<string>} [buildId] Filter by Build IDs
4671
- * @param {Array<any>} [deviceId] Filter by Device IDs
4672
- * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
4655
+ * @param {Array<string>} [deviceId] Filter by Device IDs
4656
+ * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
4673
4657
  * @param {Array<string>} [codename] Filter by device codenames
4674
4658
  * @param {Array<string>} [version] Filter by release version
4675
4659
  * @param {Array<ReleaseType>} [type] Filter by release type
4676
4660
  * @param {boolean | null} [archived] Filter by the archived status
4677
4661
  * @param {boolean | null} [freezed] Filter by the freezed status
4678
- * @param { | null} [afterReleaseId] Show releases after the provided one
4662
+ * @param {string | null} [afterReleaseId] Show releases after the provided one
4679
4663
  * @param {number | null} [afterDate] Show releases after the provided timestamp
4680
4664
  * @param {ReleasesSort} [sort] Sort mode
4681
4665
  * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
@@ -4684,7 +4668,7 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
4684
4668
  * @param {*} [options] Override http request option.
4685
4669
  * @throws {RequiredError}
4686
4670
  */
4687
- getReleases: async (id?: Array<any>, id2?: Array<any>, buildId?: Array<string>, deviceId?: Array<any>, maintainerId?: Array<any>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4671
+ getReleases: async (id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4688
4672
  const localVarPath = `/releases/`;
4689
4673
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4690
4674
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4738,9 +4722,7 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
4738
4722
  }
4739
4723
 
4740
4724
  if (afterReleaseId !== undefined) {
4741
- for (const [key, value] of Object.entries(afterReleaseId)) {
4742
- localVarQueryParameter[key] = value;
4743
- }
4725
+ localVarQueryParameter['after_release_id'] = afterReleaseId;
4744
4726
  }
4745
4727
 
4746
4728
  if (afterDate !== undefined) {
@@ -4777,8 +4759,8 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
4777
4759
  /**
4778
4760
  * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
4779
4761
  * @summary Get Updates
4780
- * @param {any} lastKnownId
4781
- * @param {Array<any>} [deviceId] Filter by device ID
4762
+ * @param {string} lastKnownId
4763
+ * @param {Array<string>} [deviceId] Filter by device ID
4782
4764
  * @param {Array<ReleaseType>} [type] Filter by release type
4783
4765
  * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
4784
4766
  * @param {number | null} [skip] Skip query results
@@ -4787,7 +4769,7 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
4787
4769
  * @deprecated
4788
4770
  * @throws {RequiredError}
4789
4771
  */
4790
- getUpdatesDeprecated: async (lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4772
+ getUpdatesDeprecated: async (lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4791
4773
  // verify required parameter 'lastKnownId' is not null or undefined
4792
4774
  assertParamExists('getUpdatesDeprecated', 'lastKnownId', lastKnownId)
4793
4775
  const localVarPath = `/updates/{last_known_id}`
@@ -4847,14 +4829,14 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
4847
4829
  /**
4848
4830
  * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
4849
4831
  * @summary Get Release
4850
- * @param { | null} [releaseId] Release ID
4851
- * @param { | null} [id] Release ID (deprecated)
4832
+ * @param {string | null} [releaseId] Release ID
4833
+ * @param {string | null} [id] Release ID (deprecated)
4852
4834
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
4853
4835
  * @param {string | null} [filename]
4854
4836
  * @param {*} [options] Override http request option.
4855
4837
  * @throws {RequiredError}
4856
4838
  */
4857
- async getRelease(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>> {
4839
+ async getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>> {
4858
4840
  const localVarAxiosArgs = await localVarAxiosParamCreator.getRelease(releaseId, id, buildId, filename, options);
4859
4841
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4860
4842
  const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getRelease']?.[localVarOperationServerIndex]?.url;
@@ -4863,12 +4845,12 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
4863
4845
  /**
4864
4846
  * Gets release information using the release ID, nothing to discuss really.
4865
4847
  * @summary Get Release Short
4866
- * @param {any} releaseId
4848
+ * @param {string} releaseId
4867
4849
  * @param {*} [options] Override http request option.
4868
4850
  * @deprecated
4869
4851
  * @throws {RequiredError}
4870
4852
  */
4871
- async getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>> {
4853
+ async getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>> {
4872
4854
  const localVarAxiosArgs = await localVarAxiosParamCreator.getReleaseDeprecated(releaseId, options);
4873
4855
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4874
4856
  const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getReleaseDeprecated']?.[localVarOperationServerIndex]?.url;
@@ -4877,17 +4859,17 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
4877
4859
  /**
4878
4860
  * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
4879
4861
  * @summary Get Releases
4880
- * @param {Array<any>} [id] Filter by Release IDs
4881
- * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
4862
+ * @param {Array<string>} [id] Filter by Release IDs
4863
+ * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
4882
4864
  * @param {Array<string>} [buildId] Filter by Build IDs
4883
- * @param {Array<any>} [deviceId] Filter by Device IDs
4884
- * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
4865
+ * @param {Array<string>} [deviceId] Filter by Device IDs
4866
+ * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
4885
4867
  * @param {Array<string>} [codename] Filter by device codenames
4886
4868
  * @param {Array<string>} [version] Filter by release version
4887
4869
  * @param {Array<ReleaseType>} [type] Filter by release type
4888
4870
  * @param {boolean | null} [archived] Filter by the archived status
4889
4871
  * @param {boolean | null} [freezed] Filter by the freezed status
4890
- * @param { | null} [afterReleaseId] Show releases after the provided one
4872
+ * @param {string | null} [afterReleaseId] Show releases after the provided one
4891
4873
  * @param {number | null} [afterDate] Show releases after the provided timestamp
4892
4874
  * @param {ReleasesSort} [sort] Sort mode
4893
4875
  * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
@@ -4896,7 +4878,7 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
4896
4878
  * @param {*} [options] Override http request option.
4897
4879
  * @throws {RequiredError}
4898
4880
  */
4899
- async getReleases(id?: Array<any>, id2?: Array<any>, buildId?: Array<string>, deviceId?: Array<any>, maintainerId?: Array<any>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetReleases>> {
4881
+ async getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseGetReleases>> {
4900
4882
  const localVarAxiosArgs = await localVarAxiosParamCreator.getReleases(id, id2, buildId, deviceId, maintainerId, codename, version, type, archived, freezed, afterReleaseId, afterDate, sort, group, skip, limit, options);
4901
4883
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4902
4884
  const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getReleases']?.[localVarOperationServerIndex]?.url;
@@ -4905,8 +4887,8 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
4905
4887
  /**
4906
4888
  * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
4907
4889
  * @summary Get Updates
4908
- * @param {any} lastKnownId
4909
- * @param {Array<any>} [deviceId] Filter by device ID
4890
+ * @param {string} lastKnownId
4891
+ * @param {Array<string>} [deviceId] Filter by device ID
4910
4892
  * @param {Array<ReleaseType>} [type] Filter by release type
4911
4893
  * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
4912
4894
  * @param {number | null} [skip] Skip query results
@@ -4915,7 +4897,7 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
4915
4897
  * @deprecated
4916
4898
  * @throws {RequiredError}
4917
4899
  */
4918
- async getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseShortReleaseResponse>> {
4900
+ async getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseShortReleaseResponse>> {
4919
4901
  const localVarAxiosArgs = await localVarAxiosParamCreator.getUpdatesDeprecated(lastKnownId, deviceId, type, releaseType, skip, limit, options);
4920
4902
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4921
4903
  const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getUpdatesDeprecated']?.[localVarOperationServerIndex]?.url;
@@ -4934,41 +4916,41 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
4934
4916
  /**
4935
4917
  * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
4936
4918
  * @summary Get Release
4937
- * @param { | null} [releaseId] Release ID
4938
- * @param { | null} [id] Release ID (deprecated)
4919
+ * @param {string | null} [releaseId] Release ID
4920
+ * @param {string | null} [id] Release ID (deprecated)
4939
4921
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
4940
4922
  * @param {string | null} [filename]
4941
4923
  * @param {*} [options] Override http request option.
4942
4924
  * @throws {RequiredError}
4943
4925
  */
4944
- getRelease(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse> {
4926
+ getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse> {
4945
4927
  return localVarFp.getRelease(releaseId, id, buildId, filename, options).then((request) => request(axios, basePath));
4946
4928
  },
4947
4929
  /**
4948
4930
  * Gets release information using the release ID, nothing to discuss really.
4949
4931
  * @summary Get Release Short
4950
- * @param {any} releaseId
4932
+ * @param {string} releaseId
4951
4933
  * @param {*} [options] Override http request option.
4952
4934
  * @deprecated
4953
4935
  * @throws {RequiredError}
4954
4936
  */
4955
- getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse> {
4937
+ getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse> {
4956
4938
  return localVarFp.getReleaseDeprecated(releaseId, options).then((request) => request(axios, basePath));
4957
4939
  },
4958
4940
  /**
4959
4941
  * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
4960
4942
  * @summary Get Releases
4961
- * @param {Array<any>} [id] Filter by Release IDs
4962
- * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
4943
+ * @param {Array<string>} [id] Filter by Release IDs
4944
+ * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
4963
4945
  * @param {Array<string>} [buildId] Filter by Build IDs
4964
- * @param {Array<any>} [deviceId] Filter by Device IDs
4965
- * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
4946
+ * @param {Array<string>} [deviceId] Filter by Device IDs
4947
+ * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
4966
4948
  * @param {Array<string>} [codename] Filter by device codenames
4967
4949
  * @param {Array<string>} [version] Filter by release version
4968
4950
  * @param {Array<ReleaseType>} [type] Filter by release type
4969
4951
  * @param {boolean | null} [archived] Filter by the archived status
4970
4952
  * @param {boolean | null} [freezed] Filter by the freezed status
4971
- * @param { | null} [afterReleaseId] Show releases after the provided one
4953
+ * @param {string | null} [afterReleaseId] Show releases after the provided one
4972
4954
  * @param {number | null} [afterDate] Show releases after the provided timestamp
4973
4955
  * @param {ReleasesSort} [sort] Sort mode
4974
4956
  * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
@@ -4977,14 +4959,14 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
4977
4959
  * @param {*} [options] Override http request option.
4978
4960
  * @throws {RequiredError}
4979
4961
  */
4980
- getReleases(id?: Array<any>, id2?: Array<any>, buildId?: Array<string>, deviceId?: Array<any>, maintainerId?: Array<any>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetReleases> {
4962
+ getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetReleases> {
4981
4963
  return localVarFp.getReleases(id, id2, buildId, deviceId, maintainerId, codename, version, type, archived, freezed, afterReleaseId, afterDate, sort, group, skip, limit, options).then((request) => request(axios, basePath));
4982
4964
  },
4983
4965
  /**
4984
4966
  * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
4985
4967
  * @summary Get Updates
4986
- * @param {any} lastKnownId
4987
- * @param {Array<any>} [deviceId] Filter by device ID
4968
+ * @param {string} lastKnownId
4969
+ * @param {Array<string>} [deviceId] Filter by device ID
4988
4970
  * @param {Array<ReleaseType>} [type] Filter by release type
4989
4971
  * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
4990
4972
  * @param {number | null} [skip] Skip query results
@@ -4993,7 +4975,7 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
4993
4975
  * @deprecated
4994
4976
  * @throws {RequiredError}
4995
4977
  */
4996
- getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse> {
4978
+ getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse> {
4997
4979
  return localVarFp.getUpdatesDeprecated(lastKnownId, deviceId, type, releaseType, skip, limit, options).then((request) => request(axios, basePath));
4998
4980
  },
4999
4981
  };
@@ -5008,41 +4990,41 @@ export interface ReleaseApiInterface {
5008
4990
  /**
5009
4991
  * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
5010
4992
  * @summary Get Release
5011
- * @param { | null} [releaseId] Release ID
5012
- * @param { | null} [id] Release ID (deprecated)
4993
+ * @param {string | null} [releaseId] Release ID
4994
+ * @param {string | null} [id] Release ID (deprecated)
5013
4995
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
5014
4996
  * @param {string | null} [filename]
5015
4997
  * @param {*} [options] Override http request option.
5016
4998
  * @throws {RequiredError}
5017
4999
  * @memberof ReleaseApiInterface
5018
5000
  */
5019
- getRelease(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
5001
+ getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
5020
5002
 
5021
5003
  /**
5022
5004
  * Gets release information using the release ID, nothing to discuss really.
5023
5005
  * @summary Get Release Short
5024
- * @param {any} releaseId
5006
+ * @param {string} releaseId
5025
5007
  * @param {*} [options] Override http request option.
5026
5008
  * @deprecated
5027
5009
  * @throws {RequiredError}
5028
5010
  * @memberof ReleaseApiInterface
5029
5011
  */
5030
- getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
5012
+ getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
5031
5013
 
5032
5014
  /**
5033
5015
  * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
5034
5016
  * @summary Get Releases
5035
- * @param {Array<any>} [id] Filter by Release IDs
5036
- * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
5017
+ * @param {Array<string>} [id] Filter by Release IDs
5018
+ * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
5037
5019
  * @param {Array<string>} [buildId] Filter by Build IDs
5038
- * @param {Array<any>} [deviceId] Filter by Device IDs
5039
- * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
5020
+ * @param {Array<string>} [deviceId] Filter by Device IDs
5021
+ * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
5040
5022
  * @param {Array<string>} [codename] Filter by device codenames
5041
5023
  * @param {Array<string>} [version] Filter by release version
5042
5024
  * @param {Array<ReleaseType>} [type] Filter by release type
5043
5025
  * @param {boolean | null} [archived] Filter by the archived status
5044
5026
  * @param {boolean | null} [freezed] Filter by the freezed status
5045
- * @param { | null} [afterReleaseId] Show releases after the provided one
5027
+ * @param {string | null} [afterReleaseId] Show releases after the provided one
5046
5028
  * @param {number | null} [afterDate] Show releases after the provided timestamp
5047
5029
  * @param {ReleasesSort} [sort] Sort mode
5048
5030
  * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
@@ -5052,13 +5034,13 @@ export interface ReleaseApiInterface {
5052
5034
  * @throws {RequiredError}
5053
5035
  * @memberof ReleaseApiInterface
5054
5036
  */
5055
- getReleases(id?: Array<any>, id2?: Array<any>, buildId?: Array<string>, deviceId?: Array<any>, maintainerId?: Array<any>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetReleases>;
5037
+ getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ResponseGetReleases>;
5056
5038
 
5057
5039
  /**
5058
5040
  * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
5059
5041
  * @summary Get Updates
5060
- * @param {any} lastKnownId
5061
- * @param {Array<any>} [deviceId] Filter by device ID
5042
+ * @param {string} lastKnownId
5043
+ * @param {Array<string>} [deviceId] Filter by device ID
5062
5044
  * @param {Array<ReleaseType>} [type] Filter by release type
5063
5045
  * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
5064
5046
  * @param {number | null} [skip] Skip query results
@@ -5068,7 +5050,7 @@ export interface ReleaseApiInterface {
5068
5050
  * @throws {RequiredError}
5069
5051
  * @memberof ReleaseApiInterface
5070
5052
  */
5071
- getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
5053
+ getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
5072
5054
 
5073
5055
  }
5074
5056
 
@@ -5082,45 +5064,45 @@ export class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
5082
5064
  /**
5083
5065
  * Extended get device method, including the ability to get a device using device codename instead of the ID and Build ID. Example: /device/get?codename=lavender Calling this method without parameters will return the latest available release in the database Warning: the filename identification is deprecated! Use /release/<release_id> instead!
5084
5066
  * @summary Get Release
5085
- * @param { | null} [releaseId] Release ID
5086
- * @param { | null} [id] Release ID (deprecated)
5067
+ * @param {string | null} [releaseId] Release ID
5068
+ * @param {string | null} [id] Release ID (deprecated)
5087
5069
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
5088
5070
  * @param {string | null} [filename]
5089
5071
  * @param {*} [options] Override http request option.
5090
5072
  * @throws {RequiredError}
5091
5073
  * @memberof ReleaseApi
5092
5074
  */
5093
- public getRelease(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig) {
5075
+ public getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig) {
5094
5076
  return ReleaseApiFp(this.configuration).getRelease(releaseId, id, buildId, filename, options).then((request) => request(this.axios, this.basePath));
5095
5077
  }
5096
5078
 
5097
5079
  /**
5098
5080
  * Gets release information using the release ID, nothing to discuss really.
5099
5081
  * @summary Get Release Short
5100
- * @param {any} releaseId
5082
+ * @param {string} releaseId
5101
5083
  * @param {*} [options] Override http request option.
5102
5084
  * @deprecated
5103
5085
  * @throws {RequiredError}
5104
5086
  * @memberof ReleaseApi
5105
5087
  */
5106
- public getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig) {
5088
+ public getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig) {
5107
5089
  return ReleaseApiFp(this.configuration).getReleaseDeprecated(releaseId, options).then((request) => request(this.axios, this.basePath));
5108
5090
  }
5109
5091
 
5110
5092
  /**
5111
5093
  * Lists releases. This method contains a bunch of different parameters to filter releases for different cases. For example, you may use ?after_release_id param to get only releases that came after the last known one (aka get updates). You can filter releases by maintainer_id to get releases from a specific maintainer. This is the maintainer who released the build, not the current maintainer of the device. Getting releases by device codename is obsolete thought. The reason for this is that devices could change codenames eventually. Unfortunately, some OEMs and community make a total mess of them. Please use /device methods to determine the right device (preferably with the user decision), save the device ID somewhere and use it afterward. Version tag is deprecated for the same reason, it\'s not really consistent, as it might contain patch and mod versions and very different by each maintainer.
5112
5094
  * @summary Get Releases
5113
- * @param {Array<any>} [id] Filter by Release IDs
5114
- * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
5095
+ * @param {Array<string>} [id] Filter by Release IDs
5096
+ * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
5115
5097
  * @param {Array<string>} [buildId] Filter by Build IDs
5116
- * @param {Array<any>} [deviceId] Filter by Device IDs
5117
- * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
5098
+ * @param {Array<string>} [deviceId] Filter by Device IDs
5099
+ * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
5118
5100
  * @param {Array<string>} [codename] Filter by device codenames
5119
5101
  * @param {Array<string>} [version] Filter by release version
5120
5102
  * @param {Array<ReleaseType>} [type] Filter by release type
5121
5103
  * @param {boolean | null} [archived] Filter by the archived status
5122
5104
  * @param {boolean | null} [freezed] Filter by the freezed status
5123
- * @param { | null} [afterReleaseId] Show releases after the provided one
5105
+ * @param {string | null} [afterReleaseId] Show releases after the provided one
5124
5106
  * @param {number | null} [afterDate] Show releases after the provided timestamp
5125
5107
  * @param {ReleasesSort} [sort] Sort mode
5126
5108
  * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
@@ -5130,15 +5112,15 @@ export class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
5130
5112
  * @throws {RequiredError}
5131
5113
  * @memberof ReleaseApi
5132
5114
  */
5133
- public getReleases(id?: Array<any>, id2?: Array<any>, buildId?: Array<string>, deviceId?: Array<any>, maintainerId?: Array<any>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) {
5115
+ public getReleases(id?: Array<string>, id2?: Array<string>, buildId?: Array<string>, deviceId?: Array<string>, maintainerId?: Array<string>, codename?: Array<string>, version?: Array<string>, type?: Array<ReleaseType>, archived?: boolean | null, freezed?: boolean | null, afterReleaseId?: string | null, afterDate?: number | null, sort?: ReleasesSort, group?: boolean | null, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) {
5134
5116
  return ReleaseApiFp(this.configuration).getReleases(id, id2, buildId, deviceId, maintainerId, codename, version, type, archived, freezed, afterReleaseId, afterDate, sort, group, skip, limit, options).then((request) => request(this.axios, this.basePath));
5135
5117
  }
5136
5118
 
5137
5119
  /**
5138
5120
  * Get updates method. Returns all new releases with release IDs. For example, \"/updates/<id>\" will return a list of all releases that were created after. You can also use \"device_id\" or / and \"release_type\" params. The first one will filter releases by specific devices, the second one will filter by release type. This can be useful, for example, if you want to notify users only with stable releases for this specific device. Warning: This method is obsolete! Please use /release/?after_release_id= instead!
5139
5121
  * @summary Get Updates
5140
- * @param {any} lastKnownId
5141
- * @param {Array<any>} [deviceId] Filter by device ID
5122
+ * @param {string} lastKnownId
5123
+ * @param {Array<string>} [deviceId] Filter by device ID
5142
5124
  * @param {Array<ReleaseType>} [type] Filter by release type
5143
5125
  * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
5144
5126
  * @param {number | null} [skip] Skip query results
@@ -5148,7 +5130,7 @@ export class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
5148
5130
  * @throws {RequiredError}
5149
5131
  * @memberof ReleaseApi
5150
5132
  */
5151
- public getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) {
5133
+ public getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) {
5152
5134
  return ReleaseApiFp(this.configuration).getUpdatesDeprecated(lastKnownId, deviceId, type, releaseType, skip, limit, options).then((request) => request(this.axios, this.basePath));
5153
5135
  }
5154
5136
  }