@orangefox-recovery/foxclient 5.2.1 → 5.2.3

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/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Fox API
3
3
  * Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
4
4
  *
5
- * The version of the OpenAPI document: 5.2.1
5
+ * The version of the OpenAPI document: 5.2.3
6
6
  * Contact: admin@orangefox.tech
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -341,10 +341,10 @@ export interface ReleaseResponse {
341
341
  'device_id': string;
342
342
  /**
343
343
  *
344
- * @type {string}
344
+ * @type {number}
345
345
  * @memberof ReleaseResponse
346
346
  */
347
- 'date': string;
347
+ 'date': number;
348
348
  /**
349
349
  *
350
350
  * @type {string}
@@ -578,10 +578,10 @@ export interface ShortReleaseResponse {
578
578
  'device_id': string;
579
579
  /**
580
580
  *
581
- * @type {string}
581
+ * @type {number}
582
582
  * @memberof ShortReleaseResponse
583
583
  */
584
- 'date': string;
584
+ 'date': number;
585
585
  /**
586
586
  *
587
587
  * @type {string}
@@ -653,13 +653,13 @@ export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration)
653
653
  /**
654
654
  * 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.
655
655
  * @summary Get Device
656
- * @param { | null} [deviceId]
657
- * @param { | null} [id] Filter by Device ID (deprecated)
656
+ * @param {string | null} [deviceId]
657
+ * @param {string | null} [id] Filter by Device ID (deprecated)
658
658
  * @param {string | null} [codename] Not recommended to use when you can
659
659
  * @param {*} [options] Override http request option.
660
660
  * @throws {RequiredError}
661
661
  */
662
- getDevice: (deviceId?: null, id?: null, codename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
662
+ getDevice: (deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
663
663
  /**
664
664
  * Gets device info using device ID.
665
665
  * @summary Get Device Short
@@ -672,8 +672,8 @@ export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration)
672
672
  /**
673
673
  * 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.
674
674
  * @summary Get Devices
675
- * @param {Array<any>} [id] Filter by Device IDs
676
- * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
675
+ * @param {Array<string>} [id] Filter by Device IDs
676
+ * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
677
677
  * @param {Array<string>} [oemName] Filter by OEM names
678
678
  * @param {Array<string>} [codename] Filter by device codenames
679
679
  * @param {Array<string>} [modelName] Filter by model names
@@ -686,7 +686,7 @@ export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration)
686
686
  * @param {*} [options] Override http request option.
687
687
  * @throws {RequiredError}
688
688
  */
689
- 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<RequestArgs>;
689
+ 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<RequestArgs>;
690
690
  /**
691
691
  * Lists all OEM names
692
692
  * @summary Get Oems
@@ -703,13 +703,13 @@ export declare const DeviceApiFp: (configuration?: Configuration) => {
703
703
  /**
704
704
  * 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.
705
705
  * @summary Get Device
706
- * @param { | null} [deviceId]
707
- * @param { | null} [id] Filter by Device ID (deprecated)
706
+ * @param {string | null} [deviceId]
707
+ * @param {string | null} [id] Filter by Device ID (deprecated)
708
708
  * @param {string | null} [codename] Not recommended to use when you can
709
709
  * @param {*} [options] Override http request option.
710
710
  * @throws {RequiredError}
711
711
  */
712
- getDevice(deviceId?: null, id?: null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>>;
712
+ getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>>;
713
713
  /**
714
714
  * Gets device info using device ID.
715
715
  * @summary Get Device Short
@@ -722,8 +722,8 @@ export declare const DeviceApiFp: (configuration?: Configuration) => {
722
722
  /**
723
723
  * 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.
724
724
  * @summary Get Devices
725
- * @param {Array<any>} [id] Filter by Device IDs
726
- * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
725
+ * @param {Array<string>} [id] Filter by Device IDs
726
+ * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
727
727
  * @param {Array<string>} [oemName] Filter by OEM names
728
728
  * @param {Array<string>} [codename] Filter by device codenames
729
729
  * @param {Array<string>} [modelName] Filter by model names
@@ -736,7 +736,7 @@ export declare const DeviceApiFp: (configuration?: Configuration) => {
736
736
  * @param {*} [options] Override http request option.
737
737
  * @throws {RequiredError}
738
738
  */
739
- 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>>;
739
+ 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>>;
740
740
  /**
741
741
  * Lists all OEM names
742
742
  * @summary Get Oems
@@ -753,13 +753,13 @@ export declare const DeviceApiFactory: (configuration?: Configuration, basePath?
753
753
  /**
754
754
  * 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.
755
755
  * @summary Get Device
756
- * @param { | null} [deviceId]
757
- * @param { | null} [id] Filter by Device ID (deprecated)
756
+ * @param {string | null} [deviceId]
757
+ * @param {string | null} [id] Filter by Device ID (deprecated)
758
758
  * @param {string | null} [codename] Not recommended to use when you can
759
759
  * @param {*} [options] Override http request option.
760
760
  * @throws {RequiredError}
761
761
  */
762
- getDevice(deviceId?: null, id?: null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
762
+ getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
763
763
  /**
764
764
  * Gets device info using device ID.
765
765
  * @summary Get Device Short
@@ -772,8 +772,8 @@ export declare const DeviceApiFactory: (configuration?: Configuration, basePath?
772
772
  /**
773
773
  * 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.
774
774
  * @summary Get Devices
775
- * @param {Array<any>} [id] Filter by Device IDs
776
- * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
775
+ * @param {Array<string>} [id] Filter by Device IDs
776
+ * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
777
777
  * @param {Array<string>} [oemName] Filter by OEM names
778
778
  * @param {Array<string>} [codename] Filter by device codenames
779
779
  * @param {Array<string>} [modelName] Filter by model names
@@ -786,7 +786,7 @@ export declare const DeviceApiFactory: (configuration?: Configuration, basePath?
786
786
  * @param {*} [options] Override http request option.
787
787
  * @throws {RequiredError}
788
788
  */
789
- 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>;
789
+ 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>;
790
790
  /**
791
791
  * Lists all OEM names
792
792
  * @summary Get Oems
@@ -804,14 +804,14 @@ export interface DeviceApiInterface {
804
804
  /**
805
805
  * 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.
806
806
  * @summary Get Device
807
- * @param { | null} [deviceId]
808
- * @param { | null} [id] Filter by Device ID (deprecated)
807
+ * @param {string | null} [deviceId]
808
+ * @param {string | null} [id] Filter by Device ID (deprecated)
809
809
  * @param {string | null} [codename] Not recommended to use when you can
810
810
  * @param {*} [options] Override http request option.
811
811
  * @throws {RequiredError}
812
812
  * @memberof DeviceApiInterface
813
813
  */
814
- getDevice(deviceId?: null, id?: null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
814
+ getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
815
815
  /**
816
816
  * Gets device info using device ID.
817
817
  * @summary Get Device Short
@@ -825,8 +825,8 @@ export interface DeviceApiInterface {
825
825
  /**
826
826
  * 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.
827
827
  * @summary Get Devices
828
- * @param {Array<any>} [id] Filter by Device IDs
829
- * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
828
+ * @param {Array<string>} [id] Filter by Device IDs
829
+ * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
830
830
  * @param {Array<string>} [oemName] Filter by OEM names
831
831
  * @param {Array<string>} [codename] Filter by device codenames
832
832
  * @param {Array<string>} [modelName] Filter by model names
@@ -840,7 +840,7 @@ export interface DeviceApiInterface {
840
840
  * @throws {RequiredError}
841
841
  * @memberof DeviceApiInterface
842
842
  */
843
- 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>;
843
+ 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>;
844
844
  /**
845
845
  * Lists all OEM names
846
846
  * @summary Get Oems
@@ -860,14 +860,14 @@ export declare class DeviceApi extends BaseAPI implements DeviceApiInterface {
860
860
  /**
861
861
  * 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.
862
862
  * @summary Get Device
863
- * @param { | null} [deviceId]
864
- * @param { | null} [id] Filter by Device ID (deprecated)
863
+ * @param {string | null} [deviceId]
864
+ * @param {string | null} [id] Filter by Device ID (deprecated)
865
865
  * @param {string | null} [codename] Not recommended to use when you can
866
866
  * @param {*} [options] Override http request option.
867
867
  * @throws {RequiredError}
868
868
  * @memberof DeviceApi
869
869
  */
870
- getDevice(deviceId?: null, id?: null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceResponse, any>>;
870
+ getDevice(deviceId?: string | null, id?: string | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceResponse, any>>;
871
871
  /**
872
872
  * Gets device info using device ID.
873
873
  * @summary Get Device Short
@@ -881,8 +881,8 @@ export declare class DeviceApi extends BaseAPI implements DeviceApiInterface {
881
881
  /**
882
882
  * 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.
883
883
  * @summary Get Devices
884
- * @param {Array<any>} [id] Filter by Device IDs
885
- * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
884
+ * @param {Array<string>} [id] Filter by Device IDs
885
+ * @param {Array<string>} [id2] Filter by Device IDs (deprecated)
886
886
  * @param {Array<string>} [oemName] Filter by OEM names
887
887
  * @param {Array<string>} [codename] Filter by device codenames
888
888
  * @param {Array<string>} [modelName] Filter by model names
@@ -896,7 +896,7 @@ export declare class DeviceApi extends BaseAPI implements DeviceApiInterface {
896
896
  * @throws {RequiredError}
897
897
  * @memberof DeviceApi
898
898
  */
899
- 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<import("axios").AxiosResponse<ListResponseShortDeviceResponse, any>>;
899
+ 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<import("axios").AxiosResponse<ListResponseShortDeviceResponse, any>>;
900
900
  /**
901
901
  * Lists all OEM names
902
902
  * @summary Get Oems
@@ -914,37 +914,37 @@ export declare const ReleaseApiAxiosParamCreator: (configuration?: Configuration
914
914
  /**
915
915
  * 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!
916
916
  * @summary Get Release
917
- * @param { | null} [releaseId] Release ID
918
- * @param { | null} [id] Release ID (deprecated)
917
+ * @param {string | null} [releaseId] Release ID
918
+ * @param {string | null} [id] Release ID (deprecated)
919
919
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
920
920
  * @param {string | null} [filename]
921
921
  * @param {*} [options] Override http request option.
922
922
  * @throws {RequiredError}
923
923
  */
924
- getRelease: (releaseId?: null, id?: null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
924
+ getRelease: (releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
925
925
  /**
926
926
  * Gets release information using the release ID, nothing to discuss really.
927
927
  * @summary Get Release Short
928
- * @param {any} releaseId
928
+ * @param {string} releaseId
929
929
  * @param {*} [options] Override http request option.
930
930
  * @deprecated
931
931
  * @throws {RequiredError}
932
932
  */
933
- getReleaseDeprecated: (releaseId: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
933
+ getReleaseDeprecated: (releaseId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
934
934
  /**
935
935
  * 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.
936
936
  * @summary Get Releases
937
- * @param {Array<any>} [id] Filter by Release IDs
938
- * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
937
+ * @param {Array<string>} [id] Filter by Release IDs
938
+ * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
939
939
  * @param {Array<string>} [buildId] Filter by Build IDs
940
- * @param {Array<any>} [deviceId] Filter by Device IDs
941
- * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
940
+ * @param {Array<string>} [deviceId] Filter by Device IDs
941
+ * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
942
942
  * @param {Array<string>} [codename] Filter by device codenames
943
943
  * @param {Array<string>} [version] Filter by release version
944
944
  * @param {Array<ReleaseType>} [type] Filter by release type
945
945
  * @param {boolean | null} [archived] Filter by the archived status
946
946
  * @param {boolean | null} [freezed] Filter by the freezed status
947
- * @param { | null} [afterReleaseId] Show releases after the provided one
947
+ * @param {string | null} [afterReleaseId] Show releases after the provided one
948
948
  * @param {number | null} [afterDate] Show releases after the provided timestamp
949
949
  * @param {ReleasesSort} [sort] Sort mode
950
950
  * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
@@ -953,12 +953,12 @@ export declare const ReleaseApiAxiosParamCreator: (configuration?: Configuration
953
953
  * @param {*} [options] Override http request option.
954
954
  * @throws {RequiredError}
955
955
  */
956
- 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<RequestArgs>;
956
+ 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<RequestArgs>;
957
957
  /**
958
958
  * 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!
959
959
  * @summary Get Updates
960
- * @param {any} lastKnownId
961
- * @param {Array<any>} [deviceId] Filter by device ID
960
+ * @param {string} lastKnownId
961
+ * @param {Array<string>} [deviceId] Filter by device ID
962
962
  * @param {Array<ReleaseType>} [type] Filter by release type
963
963
  * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
964
964
  * @param {number | null} [skip] Skip query results
@@ -967,7 +967,7 @@ export declare const ReleaseApiAxiosParamCreator: (configuration?: Configuration
967
967
  * @deprecated
968
968
  * @throws {RequiredError}
969
969
  */
970
- getUpdatesDeprecated: (lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
970
+ getUpdatesDeprecated: (lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
971
971
  };
972
972
  /**
973
973
  * ReleaseApi - functional programming interface
@@ -977,37 +977,37 @@ export declare const ReleaseApiFp: (configuration?: Configuration) => {
977
977
  /**
978
978
  * 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!
979
979
  * @summary Get Release
980
- * @param { | null} [releaseId] Release ID
981
- * @param { | null} [id] Release ID (deprecated)
980
+ * @param {string | null} [releaseId] Release ID
981
+ * @param {string | null} [id] Release ID (deprecated)
982
982
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
983
983
  * @param {string | null} [filename]
984
984
  * @param {*} [options] Override http request option.
985
985
  * @throws {RequiredError}
986
986
  */
987
- getRelease(releaseId?: null, id?: null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
987
+ getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
988
988
  /**
989
989
  * Gets release information using the release ID, nothing to discuss really.
990
990
  * @summary Get Release Short
991
- * @param {any} releaseId
991
+ * @param {string} releaseId
992
992
  * @param {*} [options] Override http request option.
993
993
  * @deprecated
994
994
  * @throws {RequiredError}
995
995
  */
996
- getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
996
+ getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>>;
997
997
  /**
998
998
  * 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.
999
999
  * @summary Get Releases
1000
- * @param {Array<any>} [id] Filter by Release IDs
1001
- * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
1000
+ * @param {Array<string>} [id] Filter by Release IDs
1001
+ * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1002
1002
  * @param {Array<string>} [buildId] Filter by Build IDs
1003
- * @param {Array<any>} [deviceId] Filter by Device IDs
1004
- * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
1003
+ * @param {Array<string>} [deviceId] Filter by Device IDs
1004
+ * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1005
1005
  * @param {Array<string>} [codename] Filter by device codenames
1006
1006
  * @param {Array<string>} [version] Filter by release version
1007
1007
  * @param {Array<ReleaseType>} [type] Filter by release type
1008
1008
  * @param {boolean | null} [archived] Filter by the archived status
1009
1009
  * @param {boolean | null} [freezed] Filter by the freezed status
1010
- * @param { | null} [afterReleaseId] Show releases after the provided one
1010
+ * @param {string | null} [afterReleaseId] Show releases after the provided one
1011
1011
  * @param {number | null} [afterDate] Show releases after the provided timestamp
1012
1012
  * @param {ReleasesSort} [sort] Sort mode
1013
1013
  * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
@@ -1016,12 +1016,12 @@ export declare const ReleaseApiFp: (configuration?: Configuration) => {
1016
1016
  * @param {*} [options] Override http request option.
1017
1017
  * @throws {RequiredError}
1018
1018
  */
1019
- 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>>;
1019
+ 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>>;
1020
1020
  /**
1021
1021
  * 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!
1022
1022
  * @summary Get Updates
1023
- * @param {any} lastKnownId
1024
- * @param {Array<any>} [deviceId] Filter by device ID
1023
+ * @param {string} lastKnownId
1024
+ * @param {Array<string>} [deviceId] Filter by device ID
1025
1025
  * @param {Array<ReleaseType>} [type] Filter by release type
1026
1026
  * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1027
1027
  * @param {number | null} [skip] Skip query results
@@ -1030,7 +1030,7 @@ export declare const ReleaseApiFp: (configuration?: Configuration) => {
1030
1030
  * @deprecated
1031
1031
  * @throws {RequiredError}
1032
1032
  */
1033
- 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>>;
1033
+ 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>>;
1034
1034
  };
1035
1035
  /**
1036
1036
  * ReleaseApi - factory interface
@@ -1040,37 +1040,37 @@ export declare const ReleaseApiFactory: (configuration?: Configuration, basePath
1040
1040
  /**
1041
1041
  * 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!
1042
1042
  * @summary Get Release
1043
- * @param { | null} [releaseId] Release ID
1044
- * @param { | null} [id] Release ID (deprecated)
1043
+ * @param {string | null} [releaseId] Release ID
1044
+ * @param {string | null} [id] Release ID (deprecated)
1045
1045
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
1046
1046
  * @param {string | null} [filename]
1047
1047
  * @param {*} [options] Override http request option.
1048
1048
  * @throws {RequiredError}
1049
1049
  */
1050
- getRelease(releaseId?: null, id?: null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1050
+ getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1051
1051
  /**
1052
1052
  * Gets release information using the release ID, nothing to discuss really.
1053
1053
  * @summary Get Release Short
1054
- * @param {any} releaseId
1054
+ * @param {string} releaseId
1055
1055
  * @param {*} [options] Override http request option.
1056
1056
  * @deprecated
1057
1057
  * @throws {RequiredError}
1058
1058
  */
1059
- getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1059
+ getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1060
1060
  /**
1061
1061
  * 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.
1062
1062
  * @summary Get Releases
1063
- * @param {Array<any>} [id] Filter by Release IDs
1064
- * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
1063
+ * @param {Array<string>} [id] Filter by Release IDs
1064
+ * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1065
1065
  * @param {Array<string>} [buildId] Filter by Build IDs
1066
- * @param {Array<any>} [deviceId] Filter by Device IDs
1067
- * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
1066
+ * @param {Array<string>} [deviceId] Filter by Device IDs
1067
+ * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1068
1068
  * @param {Array<string>} [codename] Filter by device codenames
1069
1069
  * @param {Array<string>} [version] Filter by release version
1070
1070
  * @param {Array<ReleaseType>} [type] Filter by release type
1071
1071
  * @param {boolean | null} [archived] Filter by the archived status
1072
1072
  * @param {boolean | null} [freezed] Filter by the freezed status
1073
- * @param { | null} [afterReleaseId] Show releases after the provided one
1073
+ * @param {string | null} [afterReleaseId] Show releases after the provided one
1074
1074
  * @param {number | null} [afterDate] Show releases after the provided timestamp
1075
1075
  * @param {ReleasesSort} [sort] Sort mode
1076
1076
  * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
@@ -1079,12 +1079,12 @@ export declare const ReleaseApiFactory: (configuration?: Configuration, basePath
1079
1079
  * @param {*} [options] Override http request option.
1080
1080
  * @throws {RequiredError}
1081
1081
  */
1082
- 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>;
1082
+ 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>;
1083
1083
  /**
1084
1084
  * 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!
1085
1085
  * @summary Get Updates
1086
- * @param {any} lastKnownId
1087
- * @param {Array<any>} [deviceId] Filter by device ID
1086
+ * @param {string} lastKnownId
1087
+ * @param {Array<string>} [deviceId] Filter by device ID
1088
1088
  * @param {Array<ReleaseType>} [type] Filter by release type
1089
1089
  * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1090
1090
  * @param {number | null} [skip] Skip query results
@@ -1093,7 +1093,7 @@ export declare const ReleaseApiFactory: (configuration?: Configuration, basePath
1093
1093
  * @deprecated
1094
1094
  * @throws {RequiredError}
1095
1095
  */
1096
- getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
1096
+ getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
1097
1097
  };
1098
1098
  /**
1099
1099
  * ReleaseApi - interface
@@ -1104,39 +1104,39 @@ export interface ReleaseApiInterface {
1104
1104
  /**
1105
1105
  * 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!
1106
1106
  * @summary Get Release
1107
- * @param { | null} [releaseId] Release ID
1108
- * @param { | null} [id] Release ID (deprecated)
1107
+ * @param {string | null} [releaseId] Release ID
1108
+ * @param {string | null} [id] Release ID (deprecated)
1109
1109
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
1110
1110
  * @param {string | null} [filename]
1111
1111
  * @param {*} [options] Override http request option.
1112
1112
  * @throws {RequiredError}
1113
1113
  * @memberof ReleaseApiInterface
1114
1114
  */
1115
- getRelease(releaseId?: null, id?: null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1115
+ getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1116
1116
  /**
1117
1117
  * Gets release information using the release ID, nothing to discuss really.
1118
1118
  * @summary Get Release Short
1119
- * @param {any} releaseId
1119
+ * @param {string} releaseId
1120
1120
  * @param {*} [options] Override http request option.
1121
1121
  * @deprecated
1122
1122
  * @throws {RequiredError}
1123
1123
  * @memberof ReleaseApiInterface
1124
1124
  */
1125
- getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1125
+ getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1126
1126
  /**
1127
1127
  * 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.
1128
1128
  * @summary Get Releases
1129
- * @param {Array<any>} [id] Filter by Release IDs
1130
- * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
1129
+ * @param {Array<string>} [id] Filter by Release IDs
1130
+ * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1131
1131
  * @param {Array<string>} [buildId] Filter by Build IDs
1132
- * @param {Array<any>} [deviceId] Filter by Device IDs
1133
- * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
1132
+ * @param {Array<string>} [deviceId] Filter by Device IDs
1133
+ * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1134
1134
  * @param {Array<string>} [codename] Filter by device codenames
1135
1135
  * @param {Array<string>} [version] Filter by release version
1136
1136
  * @param {Array<ReleaseType>} [type] Filter by release type
1137
1137
  * @param {boolean | null} [archived] Filter by the archived status
1138
1138
  * @param {boolean | null} [freezed] Filter by the freezed status
1139
- * @param { | null} [afterReleaseId] Show releases after the provided one
1139
+ * @param {string | null} [afterReleaseId] Show releases after the provided one
1140
1140
  * @param {number | null} [afterDate] Show releases after the provided timestamp
1141
1141
  * @param {ReleasesSort} [sort] Sort mode
1142
1142
  * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
@@ -1146,12 +1146,12 @@ export interface ReleaseApiInterface {
1146
1146
  * @throws {RequiredError}
1147
1147
  * @memberof ReleaseApiInterface
1148
1148
  */
1149
- 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>;
1149
+ 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>;
1150
1150
  /**
1151
1151
  * 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!
1152
1152
  * @summary Get Updates
1153
- * @param {any} lastKnownId
1154
- * @param {Array<any>} [deviceId] Filter by device ID
1153
+ * @param {string} lastKnownId
1154
+ * @param {Array<string>} [deviceId] Filter by device ID
1155
1155
  * @param {Array<ReleaseType>} [type] Filter by release type
1156
1156
  * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1157
1157
  * @param {number | null} [skip] Skip query results
@@ -1161,7 +1161,7 @@ export interface ReleaseApiInterface {
1161
1161
  * @throws {RequiredError}
1162
1162
  * @memberof ReleaseApiInterface
1163
1163
  */
1164
- getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
1164
+ getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
1165
1165
  }
1166
1166
  /**
1167
1167
  * ReleaseApi - object-oriented interface
@@ -1173,39 +1173,39 @@ export declare class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
1173
1173
  /**
1174
1174
  * 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!
1175
1175
  * @summary Get Release
1176
- * @param { | null} [releaseId] Release ID
1177
- * @param { | null} [id] Release ID (deprecated)
1176
+ * @param {string | null} [releaseId] Release ID
1177
+ * @param {string | null} [id] Release ID (deprecated)
1178
1178
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
1179
1179
  * @param {string | null} [filename]
1180
1180
  * @param {*} [options] Override http request option.
1181
1181
  * @throws {RequiredError}
1182
1182
  * @memberof ReleaseApi
1183
1183
  */
1184
- getRelease(releaseId?: null, id?: null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
1184
+ getRelease(releaseId?: string | null, id?: string | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
1185
1185
  /**
1186
1186
  * Gets release information using the release ID, nothing to discuss really.
1187
1187
  * @summary Get Release Short
1188
- * @param {any} releaseId
1188
+ * @param {string} releaseId
1189
1189
  * @param {*} [options] Override http request option.
1190
1190
  * @deprecated
1191
1191
  * @throws {RequiredError}
1192
1192
  * @memberof ReleaseApi
1193
1193
  */
1194
- getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
1194
+ getReleaseDeprecated(releaseId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReleaseResponse, any>>;
1195
1195
  /**
1196
1196
  * 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.
1197
1197
  * @summary Get Releases
1198
- * @param {Array<any>} [id] Filter by Release IDs
1199
- * @param {Array<any>} [id2] Filter by Release IDs (deprecated)
1198
+ * @param {Array<string>} [id] Filter by Release IDs
1199
+ * @param {Array<string>} [id2] Filter by Release IDs (deprecated)
1200
1200
  * @param {Array<string>} [buildId] Filter by Build IDs
1201
- * @param {Array<any>} [deviceId] Filter by Device IDs
1202
- * @param {Array<any>} [maintainerId] Filter by Maintainer IDs
1201
+ * @param {Array<string>} [deviceId] Filter by Device IDs
1202
+ * @param {Array<string>} [maintainerId] Filter by Maintainer IDs
1203
1203
  * @param {Array<string>} [codename] Filter by device codenames
1204
1204
  * @param {Array<string>} [version] Filter by release version
1205
1205
  * @param {Array<ReleaseType>} [type] Filter by release type
1206
1206
  * @param {boolean | null} [archived] Filter by the archived status
1207
1207
  * @param {boolean | null} [freezed] Filter by the freezed status
1208
- * @param { | null} [afterReleaseId] Show releases after the provided one
1208
+ * @param {string | null} [afterReleaseId] Show releases after the provided one
1209
1209
  * @param {number | null} [afterDate] Show releases after the provided timestamp
1210
1210
  * @param {ReleasesSort} [sort] Sort mode
1211
1211
  * @param {boolean | null} [group] Group releases by version + variant. This will change the response!
@@ -1215,12 +1215,12 @@ export declare class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
1215
1215
  * @throws {RequiredError}
1216
1216
  * @memberof ReleaseApi
1217
1217
  */
1218
- 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<import("axios").AxiosResponse<ResponseGetReleases, any>>;
1218
+ 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<import("axios").AxiosResponse<ResponseGetReleases, any>>;
1219
1219
  /**
1220
1220
  * 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!
1221
1221
  * @summary Get Updates
1222
- * @param {any} lastKnownId
1223
- * @param {Array<any>} [deviceId] Filter by device ID
1222
+ * @param {string} lastKnownId
1223
+ * @param {Array<string>} [deviceId] Filter by device ID
1224
1224
  * @param {Array<ReleaseType>} [type] Filter by release type
1225
1225
  * @param {Array<ReleaseType>} [releaseType] Filter by release type (legacy)
1226
1226
  * @param {number | null} [skip] Skip query results
@@ -1230,7 +1230,7 @@ export declare class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
1230
1230
  * @throws {RequiredError}
1231
1231
  * @memberof ReleaseApi
1232
1232
  */
1233
- getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseShortReleaseResponse, any>>;
1233
+ getUpdatesDeprecated(lastKnownId: string, deviceId?: Array<string>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListResponseShortReleaseResponse, any>>;
1234
1234
  }
1235
1235
  /**
1236
1236
  * StatsApi - axios parameter creator