@orangefox-recovery/foxclient 5.1.1 → 5.2.1

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
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Fox API
5
- * Warning: Please add a custom \'X-FoxAPI-App=MyAppName\' 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 20 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
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.1.1
7
+ * The version of the OpenAPI document: 5.2.1
8
8
  * Contact: admin@orangefox.tech
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -452,19 +452,19 @@ export type ReleasesSort = typeof ReleasesSort[keyof typeof ReleasesSort];
452
452
  /**
453
453
  *
454
454
  * @export
455
- * @interface ResponseGetReleasesReleasesGet
455
+ * @interface ResponseGetReleases
456
456
  */
457
- export interface ResponseGetReleasesReleasesGet {
457
+ export interface ResponseGetReleases {
458
458
  /**
459
459
  *
460
460
  * @type {{ [key: string]: Array<ReleaseResponse>; }}
461
- * @memberof ResponseGetReleasesReleasesGet
461
+ * @memberof ResponseGetReleases
462
462
  */
463
463
  'data': { [key: string]: Array<ReleaseResponse>; };
464
464
  /**
465
465
  *
466
466
  * @type {number}
467
- * @memberof ResponseGetReleasesReleasesGet
467
+ * @memberof ResponseGetReleases
468
468
  */
469
469
  'count': number;
470
470
  }
@@ -667,17 +667,16 @@ export interface ValidationErrorLocInner {
667
667
  export const DeviceApiAxiosParamCreator = function (configuration?: Configuration) {
668
668
  return {
669
669
  /**
670
- * Gets device info using device ID.
670
+ * 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.
671
671
  * @summary Get Device
672
- * @param {string} deviceId
672
+ * @param { | null} [deviceId]
673
+ * @param { | null} [id] Filter by Device ID (deprecated)
674
+ * @param {string | null} [codename] Not recommended to use when you can
673
675
  * @param {*} [options] Override http request option.
674
676
  * @throws {RequiredError}
675
677
  */
676
- getDeviceDevicesDeviceIdGet: async (deviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
677
- // verify required parameter 'deviceId' is not null or undefined
678
- assertParamExists('getDeviceDevicesDeviceIdGet', 'deviceId', deviceId)
679
- const localVarPath = `/devices/{device_id}`
680
- .replace(`{${"device_id"}}`, encodeURIComponent(String(deviceId)));
678
+ getDevice: async (deviceId?: | null, id?: | null, codename?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
679
+ const localVarPath = `/devices/get`;
681
680
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
682
681
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
683
682
  let baseOptions;
@@ -689,13 +688,21 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
689
688
  const localVarHeaderParameter = {} as any;
690
689
  const localVarQueryParameter = {} as any;
691
690
 
692
- // authentication oauth2_password required
693
- // oauth required
694
- await setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration)
691
+ if (deviceId !== undefined) {
692
+ for (const [key, value] of Object.entries(deviceId)) {
693
+ localVarQueryParameter[key] = value;
694
+ }
695
+ }
696
+
697
+ if (id !== undefined) {
698
+ for (const [key, value] of Object.entries(id)) {
699
+ localVarQueryParameter[key] = value;
700
+ }
701
+ }
695
702
 
696
- // authentication bearer_auth required
697
- // http bearer authentication required
698
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
703
+ if (codename !== undefined) {
704
+ localVarQueryParameter['codename'] = codename;
705
+ }
699
706
 
700
707
 
701
708
 
@@ -709,16 +716,18 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
709
716
  };
710
717
  },
711
718
  /**
712
- * 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.
713
- * @summary Get Device Extended
714
- * @param { | null} [deviceId]
715
- * @param { | null} [id] Filter by Device ID (deprecated)
716
- * @param {string | null} [codename] Not recommended to use when you can
719
+ * Gets device info using device ID.
720
+ * @summary Get Device Short
721
+ * @param {string} deviceId
717
722
  * @param {*} [options] Override http request option.
723
+ * @deprecated
718
724
  * @throws {RequiredError}
719
725
  */
720
- getDeviceExtendedDevicesGetGet: async (deviceId?: | null, id?: | null, codename?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
721
- const localVarPath = `/devices/get`;
726
+ getDeviceDeprecated: async (deviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
727
+ // verify required parameter 'deviceId' is not null or undefined
728
+ assertParamExists('getDeviceDeprecated', 'deviceId', deviceId)
729
+ const localVarPath = `/devices/{device_id}`
730
+ .replace(`{${"device_id"}}`, encodeURIComponent(String(deviceId)));
722
731
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
723
732
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
724
733
  let baseOptions;
@@ -730,30 +739,6 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
730
739
  const localVarHeaderParameter = {} as any;
731
740
  const localVarQueryParameter = {} as any;
732
741
 
733
- // authentication oauth2_password required
734
- // oauth required
735
- await setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration)
736
-
737
- // authentication bearer_auth required
738
- // http bearer authentication required
739
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
740
-
741
- if (deviceId !== undefined) {
742
- for (const [key, value] of Object.entries(deviceId)) {
743
- localVarQueryParameter[key] = value;
744
- }
745
- }
746
-
747
- if (id !== undefined) {
748
- for (const [key, value] of Object.entries(id)) {
749
- localVarQueryParameter[key] = value;
750
- }
751
- }
752
-
753
- if (codename !== undefined) {
754
- localVarQueryParameter['codename'] = codename;
755
- }
756
-
757
742
 
758
743
 
759
744
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -767,7 +752,7 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
767
752
  },
768
753
  /**
769
754
  * 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.
770
- * @summary Get Devices List
755
+ * @summary Get Devices
771
756
  * @param {Array<any>} [id] Filter by Device IDs
772
757
  * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
773
758
  * @param {Array<string>} [oemName] Filter by OEM names
@@ -782,7 +767,7 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
782
767
  * @param {*} [options] Override http request option.
783
768
  * @throws {RequiredError}
784
769
  */
785
- getDevicesListDevicesGet: 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> => {
770
+ 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> => {
786
771
  const localVarPath = `/devices/`;
787
772
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
788
773
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -795,14 +780,6 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
795
780
  const localVarHeaderParameter = {} as any;
796
781
  const localVarQueryParameter = {} as any;
797
782
 
798
- // authentication oauth2_password required
799
- // oauth required
800
- await setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration)
801
-
802
- // authentication bearer_auth required
803
- // http bearer authentication required
804
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
805
-
806
783
  if (id) {
807
784
  localVarQueryParameter['id'] = id;
808
785
  }
@@ -860,11 +837,11 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
860
837
  },
861
838
  /**
862
839
  * Lists all OEM names
863
- * @summary Get Oems List
840
+ * @summary Get Oems
864
841
  * @param {*} [options] Override http request option.
865
842
  * @throws {RequiredError}
866
843
  */
867
- getOemsListOemsGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
844
+ getOems: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
868
845
  const localVarPath = `/oems/`;
869
846
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
870
847
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -877,14 +854,6 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
877
854
  const localVarHeaderParameter = {} as any;
878
855
  const localVarQueryParameter = {} as any;
879
856
 
880
- // authentication oauth2_password required
881
- // oauth required
882
- await setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration)
883
-
884
- // authentication bearer_auth required
885
- // http bearer authentication required
886
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
887
-
888
857
 
889
858
 
890
859
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -907,36 +876,37 @@ export const DeviceApiFp = function(configuration?: Configuration) {
907
876
  const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration)
908
877
  return {
909
878
  /**
910
- * Gets device info using device ID.
879
+ * 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.
911
880
  * @summary Get Device
912
- * @param {string} deviceId
881
+ * @param { | null} [deviceId]
882
+ * @param { | null} [id] Filter by Device ID (deprecated)
883
+ * @param {string | null} [codename] Not recommended to use when you can
913
884
  * @param {*} [options] Override http request option.
914
885
  * @throws {RequiredError}
915
886
  */
916
- async getDeviceDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>> {
917
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDeviceDevicesDeviceIdGet(deviceId, options);
887
+ async getDevice(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>> {
888
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDevice(deviceId, id, codename, options);
918
889
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
919
- const localVarOperationServerBasePath = operationServerMap['DeviceApi.getDeviceDevicesDeviceIdGet']?.[localVarOperationServerIndex]?.url;
890
+ const localVarOperationServerBasePath = operationServerMap['DeviceApi.getDevice']?.[localVarOperationServerIndex]?.url;
920
891
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
921
892
  },
922
893
  /**
923
- * 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.
924
- * @summary Get Device Extended
925
- * @param { | null} [deviceId]
926
- * @param { | null} [id] Filter by Device ID (deprecated)
927
- * @param {string | null} [codename] Not recommended to use when you can
894
+ * Gets device info using device ID.
895
+ * @summary Get Device Short
896
+ * @param {string} deviceId
928
897
  * @param {*} [options] Override http request option.
898
+ * @deprecated
929
899
  * @throws {RequiredError}
930
900
  */
931
- async getDeviceExtendedDevicesGetGet(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>> {
932
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDeviceExtendedDevicesGetGet(deviceId, id, codename, options);
901
+ async getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>> {
902
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDeviceDeprecated(deviceId, options);
933
903
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
934
- const localVarOperationServerBasePath = operationServerMap['DeviceApi.getDeviceExtendedDevicesGetGet']?.[localVarOperationServerIndex]?.url;
904
+ const localVarOperationServerBasePath = operationServerMap['DeviceApi.getDeviceDeprecated']?.[localVarOperationServerIndex]?.url;
935
905
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
936
906
  },
937
907
  /**
938
908
  * 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.
939
- * @summary Get Devices List
909
+ * @summary Get Devices
940
910
  * @param {Array<any>} [id] Filter by Device IDs
941
911
  * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
942
912
  * @param {Array<string>} [oemName] Filter by OEM names
@@ -951,22 +921,22 @@ export const DeviceApiFp = function(configuration?: Configuration) {
951
921
  * @param {*} [options] Override http request option.
952
922
  * @throws {RequiredError}
953
923
  */
954
- async getDevicesListDevicesGet(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>> {
955
- const localVarAxiosArgs = await localVarAxiosParamCreator.getDevicesListDevicesGet(id, id2, oemName, codename, modelName, supported, maintainer, freezed, hasReleases, skip, limit, options);
924
+ 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>> {
925
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDevices(id, id2, oemName, codename, modelName, supported, maintainer, freezed, hasReleases, skip, limit, options);
956
926
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
957
- const localVarOperationServerBasePath = operationServerMap['DeviceApi.getDevicesListDevicesGet']?.[localVarOperationServerIndex]?.url;
927
+ const localVarOperationServerBasePath = operationServerMap['DeviceApi.getDevices']?.[localVarOperationServerIndex]?.url;
958
928
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
959
929
  },
960
930
  /**
961
931
  * Lists all OEM names
962
- * @summary Get Oems List
932
+ * @summary Get Oems
963
933
  * @param {*} [options] Override http request option.
964
934
  * @throws {RequiredError}
965
935
  */
966
- async getOemsListOemsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseStr>> {
967
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOemsListOemsGet(options);
936
+ async getOems(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseStr>> {
937
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOems(options);
968
938
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
969
- const localVarOperationServerBasePath = operationServerMap['DeviceApi.getOemsListOemsGet']?.[localVarOperationServerIndex]?.url;
939
+ const localVarOperationServerBasePath = operationServerMap['DeviceApi.getOems']?.[localVarOperationServerIndex]?.url;
970
940
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
971
941
  },
972
942
  }
@@ -980,30 +950,31 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
980
950
  const localVarFp = DeviceApiFp(configuration)
981
951
  return {
982
952
  /**
983
- * Gets device info using device ID.
953
+ * 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.
984
954
  * @summary Get Device
985
- * @param {string} deviceId
955
+ * @param { | null} [deviceId]
956
+ * @param { | null} [id] Filter by Device ID (deprecated)
957
+ * @param {string | null} [codename] Not recommended to use when you can
986
958
  * @param {*} [options] Override http request option.
987
959
  * @throws {RequiredError}
988
960
  */
989
- getDeviceDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse> {
990
- return localVarFp.getDeviceDevicesDeviceIdGet(deviceId, options).then((request) => request(axios, basePath));
961
+ getDevice(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse> {
962
+ return localVarFp.getDevice(deviceId, id, codename, options).then((request) => request(axios, basePath));
991
963
  },
992
964
  /**
993
- * 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.
994
- * @summary Get Device Extended
995
- * @param { | null} [deviceId]
996
- * @param { | null} [id] Filter by Device ID (deprecated)
997
- * @param {string | null} [codename] Not recommended to use when you can
965
+ * Gets device info using device ID.
966
+ * @summary Get Device Short
967
+ * @param {string} deviceId
998
968
  * @param {*} [options] Override http request option.
969
+ * @deprecated
999
970
  * @throws {RequiredError}
1000
971
  */
1001
- getDeviceExtendedDevicesGetGet(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse> {
1002
- return localVarFp.getDeviceExtendedDevicesGetGet(deviceId, id, codename, options).then((request) => request(axios, basePath));
972
+ getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse> {
973
+ return localVarFp.getDeviceDeprecated(deviceId, options).then((request) => request(axios, basePath));
1003
974
  },
1004
975
  /**
1005
976
  * 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.
1006
- * @summary Get Devices List
977
+ * @summary Get Devices
1007
978
  * @param {Array<any>} [id] Filter by Device IDs
1008
979
  * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1009
980
  * @param {Array<string>} [oemName] Filter by OEM names
@@ -1018,17 +989,17 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
1018
989
  * @param {*} [options] Override http request option.
1019
990
  * @throws {RequiredError}
1020
991
  */
1021
- getDevicesListDevicesGet(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> {
1022
- return localVarFp.getDevicesListDevicesGet(id, id2, oemName, codename, modelName, supported, maintainer, freezed, hasReleases, skip, limit, options).then((request) => request(axios, basePath));
992
+ 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> {
993
+ return localVarFp.getDevices(id, id2, oemName, codename, modelName, supported, maintainer, freezed, hasReleases, skip, limit, options).then((request) => request(axios, basePath));
1023
994
  },
1024
995
  /**
1025
996
  * Lists all OEM names
1026
- * @summary Get Oems List
997
+ * @summary Get Oems
1027
998
  * @param {*} [options] Override http request option.
1028
999
  * @throws {RequiredError}
1029
1000
  */
1030
- getOemsListOemsGet(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr> {
1031
- return localVarFp.getOemsListOemsGet(options).then((request) => request(axios, basePath));
1001
+ getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr> {
1002
+ return localVarFp.getOems(options).then((request) => request(axios, basePath));
1032
1003
  },
1033
1004
  };
1034
1005
  };
@@ -1040,30 +1011,31 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
1040
1011
  */
1041
1012
  export interface DeviceApiInterface {
1042
1013
  /**
1043
- * Gets device info using device ID.
1014
+ * 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.
1044
1015
  * @summary Get Device
1045
- * @param {string} deviceId
1016
+ * @param { | null} [deviceId]
1017
+ * @param { | null} [id] Filter by Device ID (deprecated)
1018
+ * @param {string | null} [codename] Not recommended to use when you can
1046
1019
  * @param {*} [options] Override http request option.
1047
1020
  * @throws {RequiredError}
1048
1021
  * @memberof DeviceApiInterface
1049
1022
  */
1050
- getDeviceDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1023
+ getDevice(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1051
1024
 
1052
1025
  /**
1053
- * 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.
1054
- * @summary Get Device Extended
1055
- * @param { | null} [deviceId]
1056
- * @param { | null} [id] Filter by Device ID (deprecated)
1057
- * @param {string | null} [codename] Not recommended to use when you can
1026
+ * Gets device info using device ID.
1027
+ * @summary Get Device Short
1028
+ * @param {string} deviceId
1058
1029
  * @param {*} [options] Override http request option.
1030
+ * @deprecated
1059
1031
  * @throws {RequiredError}
1060
1032
  * @memberof DeviceApiInterface
1061
1033
  */
1062
- getDeviceExtendedDevicesGetGet(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1034
+ getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
1063
1035
 
1064
1036
  /**
1065
1037
  * 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.
1066
- * @summary Get Devices List
1038
+ * @summary Get Devices
1067
1039
  * @param {Array<any>} [id] Filter by Device IDs
1068
1040
  * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1069
1041
  * @param {Array<string>} [oemName] Filter by OEM names
@@ -1079,16 +1051,16 @@ export interface DeviceApiInterface {
1079
1051
  * @throws {RequiredError}
1080
1052
  * @memberof DeviceApiInterface
1081
1053
  */
1082
- getDevicesListDevicesGet(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>;
1054
+ 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>;
1083
1055
 
1084
1056
  /**
1085
1057
  * Lists all OEM names
1086
- * @summary Get Oems List
1058
+ * @summary Get Oems
1087
1059
  * @param {*} [options] Override http request option.
1088
1060
  * @throws {RequiredError}
1089
1061
  * @memberof DeviceApiInterface
1090
1062
  */
1091
- getOemsListOemsGet(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr>;
1063
+ getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr>;
1092
1064
 
1093
1065
  }
1094
1066
 
@@ -1100,34 +1072,35 @@ export interface DeviceApiInterface {
1100
1072
  */
1101
1073
  export class DeviceApi extends BaseAPI implements DeviceApiInterface {
1102
1074
  /**
1103
- * Gets device info using device ID.
1075
+ * 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.
1104
1076
  * @summary Get Device
1105
- * @param {string} deviceId
1077
+ * @param { | null} [deviceId]
1078
+ * @param { | null} [id] Filter by Device ID (deprecated)
1079
+ * @param {string | null} [codename] Not recommended to use when you can
1106
1080
  * @param {*} [options] Override http request option.
1107
1081
  * @throws {RequiredError}
1108
1082
  * @memberof DeviceApi
1109
1083
  */
1110
- public getDeviceDevicesDeviceIdGet(deviceId: string, options?: RawAxiosRequestConfig) {
1111
- return DeviceApiFp(this.configuration).getDeviceDevicesDeviceIdGet(deviceId, options).then((request) => request(this.axios, this.basePath));
1084
+ public getDevice(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig) {
1085
+ return DeviceApiFp(this.configuration).getDevice(deviceId, id, codename, options).then((request) => request(this.axios, this.basePath));
1112
1086
  }
1113
1087
 
1114
1088
  /**
1115
- * 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.
1116
- * @summary Get Device Extended
1117
- * @param { | null} [deviceId]
1118
- * @param { | null} [id] Filter by Device ID (deprecated)
1119
- * @param {string | null} [codename] Not recommended to use when you can
1089
+ * Gets device info using device ID.
1090
+ * @summary Get Device Short
1091
+ * @param {string} deviceId
1120
1092
  * @param {*} [options] Override http request option.
1093
+ * @deprecated
1121
1094
  * @throws {RequiredError}
1122
1095
  * @memberof DeviceApi
1123
1096
  */
1124
- public getDeviceExtendedDevicesGetGet(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig) {
1125
- return DeviceApiFp(this.configuration).getDeviceExtendedDevicesGetGet(deviceId, id, codename, options).then((request) => request(this.axios, this.basePath));
1097
+ public getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig) {
1098
+ return DeviceApiFp(this.configuration).getDeviceDeprecated(deviceId, options).then((request) => request(this.axios, this.basePath));
1126
1099
  }
1127
1100
 
1128
1101
  /**
1129
1102
  * 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.
1130
- * @summary Get Devices List
1103
+ * @summary Get Devices
1131
1104
  * @param {Array<any>} [id] Filter by Device IDs
1132
1105
  * @param {Array<any>} [id2] Filter by Device IDs (deprecated)
1133
1106
  * @param {Array<string>} [oemName] Filter by OEM names
@@ -1143,19 +1116,19 @@ export class DeviceApi extends BaseAPI implements DeviceApiInterface {
1143
1116
  * @throws {RequiredError}
1144
1117
  * @memberof DeviceApi
1145
1118
  */
1146
- public getDevicesListDevicesGet(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) {
1147
- return DeviceApiFp(this.configuration).getDevicesListDevicesGet(id, id2, oemName, codename, modelName, supported, maintainer, freezed, hasReleases, skip, limit, options).then((request) => request(this.axios, this.basePath));
1119
+ 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) {
1120
+ return DeviceApiFp(this.configuration).getDevices(id, id2, oemName, codename, modelName, supported, maintainer, freezed, hasReleases, skip, limit, options).then((request) => request(this.axios, this.basePath));
1148
1121
  }
1149
1122
 
1150
1123
  /**
1151
1124
  * Lists all OEM names
1152
- * @summary Get Oems List
1125
+ * @summary Get Oems
1153
1126
  * @param {*} [options] Override http request option.
1154
1127
  * @throws {RequiredError}
1155
1128
  * @memberof DeviceApi
1156
1129
  */
1157
- public getOemsListOemsGet(options?: RawAxiosRequestConfig) {
1158
- return DeviceApiFp(this.configuration).getOemsListOemsGet(options).then((request) => request(this.axios, this.basePath));
1130
+ public getOems(options?: RawAxiosRequestConfig) {
1131
+ return DeviceApiFp(this.configuration).getOems(options).then((request) => request(this.axios, this.basePath));
1159
1132
  }
1160
1133
  }
1161
1134
 
@@ -1169,7 +1142,7 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
1169
1142
  return {
1170
1143
  /**
1171
1144
  * 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!
1172
- * @summary Get Release Extended
1145
+ * @summary Get Release
1173
1146
  * @param { | null} [releaseId] Release ID
1174
1147
  * @param { | null} [id] Release ID (deprecated)
1175
1148
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
@@ -1177,7 +1150,7 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
1177
1150
  * @param {*} [options] Override http request option.
1178
1151
  * @throws {RequiredError}
1179
1152
  */
1180
- getReleaseExtendedReleasesGetGet: async (releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1153
+ getRelease: async (releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1181
1154
  const localVarPath = `/releases/get`;
1182
1155
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1183
1156
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1190,14 +1163,6 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
1190
1163
  const localVarHeaderParameter = {} as any;
1191
1164
  const localVarQueryParameter = {} as any;
1192
1165
 
1193
- // authentication oauth2_password required
1194
- // oauth required
1195
- await setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration)
1196
-
1197
- // authentication bearer_auth required
1198
- // http bearer authentication required
1199
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
1200
-
1201
1166
  if (releaseId !== undefined) {
1202
1167
  for (const [key, value] of Object.entries(releaseId)) {
1203
1168
  localVarQueryParameter[key] = value;
@@ -1231,14 +1196,15 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
1231
1196
  },
1232
1197
  /**
1233
1198
  * Gets release information using the release ID, nothing to discuss really.
1234
- * @summary Get Release
1199
+ * @summary Get Release Short
1235
1200
  * @param {any} releaseId
1236
1201
  * @param {*} [options] Override http request option.
1202
+ * @deprecated
1237
1203
  * @throws {RequiredError}
1238
1204
  */
1239
- getReleaseReleasesReleaseIdGet: async (releaseId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1205
+ getReleaseDeprecated: async (releaseId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1240
1206
  // verify required parameter 'releaseId' is not null or undefined
1241
- assertParamExists('getReleaseReleasesReleaseIdGet', 'releaseId', releaseId)
1207
+ assertParamExists('getReleaseDeprecated', 'releaseId', releaseId)
1242
1208
  const localVarPath = `/releases/{release_id}`
1243
1209
  .replace(`{${"release_id"}}`, encodeURIComponent(String(releaseId)));
1244
1210
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -1252,14 +1218,6 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
1252
1218
  const localVarHeaderParameter = {} as any;
1253
1219
  const localVarQueryParameter = {} as any;
1254
1220
 
1255
- // authentication oauth2_password required
1256
- // oauth required
1257
- await setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration)
1258
-
1259
- // authentication bearer_auth required
1260
- // http bearer authentication required
1261
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
1262
-
1263
1221
 
1264
1222
 
1265
1223
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1293,7 +1251,7 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
1293
1251
  * @param {*} [options] Override http request option.
1294
1252
  * @throws {RequiredError}
1295
1253
  */
1296
- getReleasesReleasesGet: 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> => {
1254
+ 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> => {
1297
1255
  const localVarPath = `/releases/`;
1298
1256
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1299
1257
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1306,14 +1264,6 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
1306
1264
  const localVarHeaderParameter = {} as any;
1307
1265
  const localVarQueryParameter = {} as any;
1308
1266
 
1309
- // authentication oauth2_password required
1310
- // oauth required
1311
- await setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration)
1312
-
1313
- // authentication bearer_auth required
1314
- // http bearer authentication required
1315
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
1316
-
1317
1267
  if (id) {
1318
1268
  localVarQueryParameter['id'] = id;
1319
1269
  }
@@ -1404,9 +1354,9 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
1404
1354
  * @deprecated
1405
1355
  * @throws {RequiredError}
1406
1356
  */
1407
- getUpdatesUpdatesLastKnownIdGet: async (lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1357
+ getUpdatesDeprecated: async (lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1408
1358
  // verify required parameter 'lastKnownId' is not null or undefined
1409
- assertParamExists('getUpdatesUpdatesLastKnownIdGet', 'lastKnownId', lastKnownId)
1359
+ assertParamExists('getUpdatesDeprecated', 'lastKnownId', lastKnownId)
1410
1360
  const localVarPath = `/updates/{last_known_id}`
1411
1361
  .replace(`{${"last_known_id"}}`, encodeURIComponent(String(lastKnownId)));
1412
1362
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -1420,14 +1370,6 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
1420
1370
  const localVarHeaderParameter = {} as any;
1421
1371
  const localVarQueryParameter = {} as any;
1422
1372
 
1423
- // authentication oauth2_password required
1424
- // oauth required
1425
- await setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration)
1426
-
1427
- // authentication bearer_auth required
1428
- // http bearer authentication required
1429
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
1430
-
1431
1373
  if (deviceId) {
1432
1374
  localVarQueryParameter['device_id'] = deviceId;
1433
1375
  }
@@ -1471,7 +1413,7 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
1471
1413
  return {
1472
1414
  /**
1473
1415
  * 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!
1474
- * @summary Get Release Extended
1416
+ * @summary Get Release
1475
1417
  * @param { | null} [releaseId] Release ID
1476
1418
  * @param { | null} [id] Release ID (deprecated)
1477
1419
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
@@ -1479,23 +1421,24 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
1479
1421
  * @param {*} [options] Override http request option.
1480
1422
  * @throws {RequiredError}
1481
1423
  */
1482
- async getReleaseExtendedReleasesGetGet(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>> {
1483
- const localVarAxiosArgs = await localVarAxiosParamCreator.getReleaseExtendedReleasesGetGet(releaseId, id, buildId, filename, options);
1424
+ async getRelease(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>> {
1425
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRelease(releaseId, id, buildId, filename, options);
1484
1426
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1485
- const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getReleaseExtendedReleasesGetGet']?.[localVarOperationServerIndex]?.url;
1427
+ const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getRelease']?.[localVarOperationServerIndex]?.url;
1486
1428
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1487
1429
  },
1488
1430
  /**
1489
1431
  * Gets release information using the release ID, nothing to discuss really.
1490
- * @summary Get Release
1432
+ * @summary Get Release Short
1491
1433
  * @param {any} releaseId
1492
1434
  * @param {*} [options] Override http request option.
1435
+ * @deprecated
1493
1436
  * @throws {RequiredError}
1494
1437
  */
1495
- async getReleaseReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>> {
1496
- const localVarAxiosArgs = await localVarAxiosParamCreator.getReleaseReleasesReleaseIdGet(releaseId, options);
1438
+ async getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>> {
1439
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReleaseDeprecated(releaseId, options);
1497
1440
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1498
- const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getReleaseReleasesReleaseIdGet']?.[localVarOperationServerIndex]?.url;
1441
+ const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getReleaseDeprecated']?.[localVarOperationServerIndex]?.url;
1499
1442
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1500
1443
  },
1501
1444
  /**
@@ -1520,10 +1463,10 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
1520
1463
  * @param {*} [options] Override http request option.
1521
1464
  * @throws {RequiredError}
1522
1465
  */
1523
- async getReleasesReleasesGet(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<ResponseGetReleasesReleasesGet>> {
1524
- const localVarAxiosArgs = await localVarAxiosParamCreator.getReleasesReleasesGet(id, id2, buildId, deviceId, maintainerId, codename, version, type, archived, freezed, afterReleaseId, afterDate, sort, group, skip, limit, options);
1466
+ 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>> {
1467
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReleases(id, id2, buildId, deviceId, maintainerId, codename, version, type, archived, freezed, afterReleaseId, afterDate, sort, group, skip, limit, options);
1525
1468
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1526
- const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getReleasesReleasesGet']?.[localVarOperationServerIndex]?.url;
1469
+ const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getReleases']?.[localVarOperationServerIndex]?.url;
1527
1470
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1528
1471
  },
1529
1472
  /**
@@ -1539,10 +1482,10 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
1539
1482
  * @deprecated
1540
1483
  * @throws {RequiredError}
1541
1484
  */
1542
- async getUpdatesUpdatesLastKnownIdGet(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>> {
1543
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUpdatesUpdatesLastKnownIdGet(lastKnownId, deviceId, type, releaseType, skip, limit, options);
1485
+ 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>> {
1486
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUpdatesDeprecated(lastKnownId, deviceId, type, releaseType, skip, limit, options);
1544
1487
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1545
- const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getUpdatesUpdatesLastKnownIdGet']?.[localVarOperationServerIndex]?.url;
1488
+ const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getUpdatesDeprecated']?.[localVarOperationServerIndex]?.url;
1546
1489
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1547
1490
  },
1548
1491
  }
@@ -1557,7 +1500,7 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
1557
1500
  return {
1558
1501
  /**
1559
1502
  * 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!
1560
- * @summary Get Release Extended
1503
+ * @summary Get Release
1561
1504
  * @param { | null} [releaseId] Release ID
1562
1505
  * @param { | null} [id] Release ID (deprecated)
1563
1506
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
@@ -1565,18 +1508,19 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
1565
1508
  * @param {*} [options] Override http request option.
1566
1509
  * @throws {RequiredError}
1567
1510
  */
1568
- getReleaseExtendedReleasesGetGet(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse> {
1569
- return localVarFp.getReleaseExtendedReleasesGetGet(releaseId, id, buildId, filename, options).then((request) => request(axios, basePath));
1511
+ getRelease(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse> {
1512
+ return localVarFp.getRelease(releaseId, id, buildId, filename, options).then((request) => request(axios, basePath));
1570
1513
  },
1571
1514
  /**
1572
1515
  * Gets release information using the release ID, nothing to discuss really.
1573
- * @summary Get Release
1516
+ * @summary Get Release Short
1574
1517
  * @param {any} releaseId
1575
1518
  * @param {*} [options] Override http request option.
1519
+ * @deprecated
1576
1520
  * @throws {RequiredError}
1577
1521
  */
1578
- getReleaseReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse> {
1579
- return localVarFp.getReleaseReleasesReleaseIdGet(releaseId, options).then((request) => request(axios, basePath));
1522
+ getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse> {
1523
+ return localVarFp.getReleaseDeprecated(releaseId, options).then((request) => request(axios, basePath));
1580
1524
  },
1581
1525
  /**
1582
1526
  * 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.
@@ -1600,8 +1544,8 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
1600
1544
  * @param {*} [options] Override http request option.
1601
1545
  * @throws {RequiredError}
1602
1546
  */
1603
- getReleasesReleasesGet(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<ResponseGetReleasesReleasesGet> {
1604
- return localVarFp.getReleasesReleasesGet(id, id2, buildId, deviceId, maintainerId, codename, version, type, archived, freezed, afterReleaseId, afterDate, sort, group, skip, limit, options).then((request) => request(axios, basePath));
1547
+ 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> {
1548
+ 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));
1605
1549
  },
1606
1550
  /**
1607
1551
  * 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!
@@ -1616,8 +1560,8 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
1616
1560
  * @deprecated
1617
1561
  * @throws {RequiredError}
1618
1562
  */
1619
- getUpdatesUpdatesLastKnownIdGet(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse> {
1620
- return localVarFp.getUpdatesUpdatesLastKnownIdGet(lastKnownId, deviceId, type, releaseType, skip, limit, options).then((request) => request(axios, basePath));
1563
+ getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse> {
1564
+ return localVarFp.getUpdatesDeprecated(lastKnownId, deviceId, type, releaseType, skip, limit, options).then((request) => request(axios, basePath));
1621
1565
  },
1622
1566
  };
1623
1567
  };
@@ -1630,7 +1574,7 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
1630
1574
  export interface ReleaseApiInterface {
1631
1575
  /**
1632
1576
  * 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!
1633
- * @summary Get Release Extended
1577
+ * @summary Get Release
1634
1578
  * @param { | null} [releaseId] Release ID
1635
1579
  * @param { | null} [id] Release ID (deprecated)
1636
1580
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
@@ -1639,17 +1583,18 @@ export interface ReleaseApiInterface {
1639
1583
  * @throws {RequiredError}
1640
1584
  * @memberof ReleaseApiInterface
1641
1585
  */
1642
- getReleaseExtendedReleasesGetGet(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1586
+ getRelease(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1643
1587
 
1644
1588
  /**
1645
1589
  * Gets release information using the release ID, nothing to discuss really.
1646
- * @summary Get Release
1590
+ * @summary Get Release Short
1647
1591
  * @param {any} releaseId
1648
1592
  * @param {*} [options] Override http request option.
1593
+ * @deprecated
1649
1594
  * @throws {RequiredError}
1650
1595
  * @memberof ReleaseApiInterface
1651
1596
  */
1652
- getReleaseReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1597
+ getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
1653
1598
 
1654
1599
  /**
1655
1600
  * 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.
@@ -1674,7 +1619,7 @@ export interface ReleaseApiInterface {
1674
1619
  * @throws {RequiredError}
1675
1620
  * @memberof ReleaseApiInterface
1676
1621
  */
1677
- getReleasesReleasesGet(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<ResponseGetReleasesReleasesGet>;
1622
+ 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>;
1678
1623
 
1679
1624
  /**
1680
1625
  * 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!
@@ -1690,7 +1635,7 @@ export interface ReleaseApiInterface {
1690
1635
  * @throws {RequiredError}
1691
1636
  * @memberof ReleaseApiInterface
1692
1637
  */
1693
- getUpdatesUpdatesLastKnownIdGet(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
1638
+ getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
1694
1639
 
1695
1640
  }
1696
1641
 
@@ -1703,7 +1648,7 @@ export interface ReleaseApiInterface {
1703
1648
  export class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
1704
1649
  /**
1705
1650
  * 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!
1706
- * @summary Get Release Extended
1651
+ * @summary Get Release
1707
1652
  * @param { | null} [releaseId] Release ID
1708
1653
  * @param { | null} [id] Release ID (deprecated)
1709
1654
  * @param {string | null} [buildId] Build ID, &#x60;ro.build.fox_id&#x60; prop
@@ -1712,20 +1657,21 @@ export class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
1712
1657
  * @throws {RequiredError}
1713
1658
  * @memberof ReleaseApi
1714
1659
  */
1715
- public getReleaseExtendedReleasesGetGet(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig) {
1716
- return ReleaseApiFp(this.configuration).getReleaseExtendedReleasesGetGet(releaseId, id, buildId, filename, options).then((request) => request(this.axios, this.basePath));
1660
+ public getRelease(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig) {
1661
+ return ReleaseApiFp(this.configuration).getRelease(releaseId, id, buildId, filename, options).then((request) => request(this.axios, this.basePath));
1717
1662
  }
1718
1663
 
1719
1664
  /**
1720
1665
  * Gets release information using the release ID, nothing to discuss really.
1721
- * @summary Get Release
1666
+ * @summary Get Release Short
1722
1667
  * @param {any} releaseId
1723
1668
  * @param {*} [options] Override http request option.
1669
+ * @deprecated
1724
1670
  * @throws {RequiredError}
1725
1671
  * @memberof ReleaseApi
1726
1672
  */
1727
- public getReleaseReleasesReleaseIdGet(releaseId: any, options?: RawAxiosRequestConfig) {
1728
- return ReleaseApiFp(this.configuration).getReleaseReleasesReleaseIdGet(releaseId, options).then((request) => request(this.axios, this.basePath));
1673
+ public getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig) {
1674
+ return ReleaseApiFp(this.configuration).getReleaseDeprecated(releaseId, options).then((request) => request(this.axios, this.basePath));
1729
1675
  }
1730
1676
 
1731
1677
  /**
@@ -1751,8 +1697,8 @@ export class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
1751
1697
  * @throws {RequiredError}
1752
1698
  * @memberof ReleaseApi
1753
1699
  */
1754
- public getReleasesReleasesGet(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) {
1755
- return ReleaseApiFp(this.configuration).getReleasesReleasesGet(id, id2, buildId, deviceId, maintainerId, codename, version, type, archived, freezed, afterReleaseId, afterDate, sort, group, skip, limit, options).then((request) => request(this.axios, this.basePath));
1700
+ 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) {
1701
+ 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));
1756
1702
  }
1757
1703
 
1758
1704
  /**
@@ -1769,8 +1715,8 @@ export class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
1769
1715
  * @throws {RequiredError}
1770
1716
  * @memberof ReleaseApi
1771
1717
  */
1772
- public getUpdatesUpdatesLastKnownIdGet(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) {
1773
- return ReleaseApiFp(this.configuration).getUpdatesUpdatesLastKnownIdGet(lastKnownId, deviceId, type, releaseType, skip, limit, options).then((request) => request(this.axios, this.basePath));
1718
+ public getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig) {
1719
+ return ReleaseApiFp(this.configuration).getUpdatesDeprecated(lastKnownId, deviceId, type, releaseType, skip, limit, options).then((request) => request(this.axios, this.basePath));
1774
1720
  }
1775
1721
  }
1776
1722
 
@@ -1788,7 +1734,7 @@ export const StatsApiAxiosParamCreator = function (configuration?: Configuration
1788
1734
  * @param {*} [options] Override http request option.
1789
1735
  * @throws {RequiredError}
1790
1736
  */
1791
- publicStatsStatsGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1737
+ getPublicStats: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1792
1738
  const localVarPath = `/stats/`;
1793
1739
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1794
1740
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1801,14 +1747,6 @@ export const StatsApiAxiosParamCreator = function (configuration?: Configuration
1801
1747
  const localVarHeaderParameter = {} as any;
1802
1748
  const localVarQueryParameter = {} as any;
1803
1749
 
1804
- // authentication oauth2_password required
1805
- // oauth required
1806
- await setOAuthToObject(localVarHeaderParameter, "oauth2_password", [], configuration)
1807
-
1808
- // authentication bearer_auth required
1809
- // http bearer authentication required
1810
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
1811
-
1812
1750
 
1813
1751
 
1814
1752
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1836,10 +1774,10 @@ export const StatsApiFp = function(configuration?: Configuration) {
1836
1774
  * @param {*} [options] Override http request option.
1837
1775
  * @throws {RequiredError}
1838
1776
  */
1839
- async publicStatsStatsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GlobalStatsAggregationModel>> {
1840
- const localVarAxiosArgs = await localVarAxiosParamCreator.publicStatsStatsGet(options);
1777
+ async getPublicStats(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GlobalStatsAggregationModel>> {
1778
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicStats(options);
1841
1779
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1842
- const localVarOperationServerBasePath = operationServerMap['StatsApi.publicStatsStatsGet']?.[localVarOperationServerIndex]?.url;
1780
+ const localVarOperationServerBasePath = operationServerMap['StatsApi.getPublicStats']?.[localVarOperationServerIndex]?.url;
1843
1781
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1844
1782
  },
1845
1783
  }
@@ -1858,8 +1796,8 @@ export const StatsApiFactory = function (configuration?: Configuration, basePath
1858
1796
  * @param {*} [options] Override http request option.
1859
1797
  * @throws {RequiredError}
1860
1798
  */
1861
- publicStatsStatsGet(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel> {
1862
- return localVarFp.publicStatsStatsGet(options).then((request) => request(axios, basePath));
1799
+ getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel> {
1800
+ return localVarFp.getPublicStats(options).then((request) => request(axios, basePath));
1863
1801
  },
1864
1802
  };
1865
1803
  };
@@ -1877,7 +1815,7 @@ export interface StatsApiInterface {
1877
1815
  * @throws {RequiredError}
1878
1816
  * @memberof StatsApiInterface
1879
1817
  */
1880
- publicStatsStatsGet(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel>;
1818
+ getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel>;
1881
1819
 
1882
1820
  }
1883
1821
 
@@ -1895,8 +1833,8 @@ export class StatsApi extends BaseAPI implements StatsApiInterface {
1895
1833
  * @throws {RequiredError}
1896
1834
  * @memberof StatsApi
1897
1835
  */
1898
- public publicStatsStatsGet(options?: RawAxiosRequestConfig) {
1899
- return StatsApiFp(this.configuration).publicStatsStatsGet(options).then((request) => request(this.axios, this.basePath));
1836
+ public getPublicStats(options?: RawAxiosRequestConfig) {
1837
+ return StatsApiFp(this.configuration).getPublicStats(options).then((request) => request(this.axios, this.basePath));
1900
1838
  }
1901
1839
  }
1902
1840