@orangefox-recovery/foxclient 5.2.0 → 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/.openapi-generator/FILES +1 -1
- package/README.md +12 -12
- package/api.ts +95 -95
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +56 -56
- package/dist/api.js +81 -81
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +56 -56
- package/dist/esm/api.js +81 -81
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +2 -2
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/docs/DeviceApi.md +16 -16
- package/docs/ReleaseApi.md +17 -17
- package/docs/{ResponseGetReleasesReleasesGet.md → ResponseGetReleases.md} +3 -3
- package/docs/StatsApi.md +4 -4
- package/index.ts +2 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @orangefox-recovery/foxclient@5.2.
|
|
1
|
+
## @orangefox-recovery/foxclient@5.2.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @orangefox-recovery/foxclient@5.2.
|
|
39
|
+
npm install @orangefox-recovery/foxclient@5.2.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -51,15 +51,15 @@ All URIs are relative to *https://api.orangefox.download*
|
|
|
51
51
|
|
|
52
52
|
Class | Method | HTTP request | Description
|
|
53
53
|
------------ | ------------- | ------------- | -------------
|
|
54
|
-
*DeviceApi* | [**
|
|
55
|
-
*DeviceApi* | [**
|
|
56
|
-
*DeviceApi* | [**
|
|
57
|
-
*DeviceApi* | [**
|
|
58
|
-
*ReleaseApi* | [**
|
|
59
|
-
*ReleaseApi* | [**
|
|
60
|
-
*ReleaseApi* | [**
|
|
61
|
-
*ReleaseApi* | [**
|
|
62
|
-
*StatsApi* | [**
|
|
54
|
+
*DeviceApi* | [**getDevice**](docs/DeviceApi.md#getdevice) | **GET** /devices/get | Get Device
|
|
55
|
+
*DeviceApi* | [**getDeviceDeprecated**](docs/DeviceApi.md#getdevicedeprecated) | **GET** /devices/{device_id} | Get Device Short
|
|
56
|
+
*DeviceApi* | [**getDevices**](docs/DeviceApi.md#getdevices) | **GET** /devices/ | Get Devices
|
|
57
|
+
*DeviceApi* | [**getOems**](docs/DeviceApi.md#getoems) | **GET** /oems/ | Get Oems
|
|
58
|
+
*ReleaseApi* | [**getRelease**](docs/ReleaseApi.md#getrelease) | **GET** /releases/get | Get Release
|
|
59
|
+
*ReleaseApi* | [**getReleaseDeprecated**](docs/ReleaseApi.md#getreleasedeprecated) | **GET** /releases/{release_id} | Get Release Short
|
|
60
|
+
*ReleaseApi* | [**getReleases**](docs/ReleaseApi.md#getreleases) | **GET** /releases/ | Get Releases
|
|
61
|
+
*ReleaseApi* | [**getUpdatesDeprecated**](docs/ReleaseApi.md#getupdatesdeprecated) | **GET** /updates/{last_known_id} | Get Updates
|
|
62
|
+
*StatsApi* | [**getPublicStats**](docs/StatsApi.md#getpublicstats) | **GET** /stats/ | Public Stats
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
### Documentation For Models
|
|
@@ -77,7 +77,7 @@ Class | Method | HTTP request | Description
|
|
|
77
77
|
- [ReleaseResponse](docs/ReleaseResponse.md)
|
|
78
78
|
- [ReleaseType](docs/ReleaseType.md)
|
|
79
79
|
- [ReleasesSort](docs/ReleasesSort.md)
|
|
80
|
-
- [
|
|
80
|
+
- [ResponseGetReleases](docs/ResponseGetReleases.md)
|
|
81
81
|
- [ShortDeviceResponse](docs/ShortDeviceResponse.md)
|
|
82
82
|
- [ShortReleaseResponse](docs/ShortReleaseResponse.md)
|
|
83
83
|
- [ValidationError](docs/ValidationError.md)
|
package/api.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Fox API
|
|
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
|
|
5
|
+
* Warning: Please add a custom user agent header to your requests. This would help us fighting against DDoS attacks in future, while keeping your application\'s access to the API. In future, this may be a mandatory requirement. To reduce the system load, the API endpoints are rate limited. The default limit is 30 requests per minute. Contact admin@orangefox.tech if you need a higher limit. The requests may be logged for analytics and development purposes.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.
|
|
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
|
|
455
|
+
* @interface ResponseGetReleases
|
|
456
456
|
*/
|
|
457
|
-
export interface
|
|
457
|
+
export interface ResponseGetReleases {
|
|
458
458
|
/**
|
|
459
459
|
*
|
|
460
460
|
* @type {{ [key: string]: Array<ReleaseResponse>; }}
|
|
461
|
-
* @memberof
|
|
461
|
+
* @memberof ResponseGetReleases
|
|
462
462
|
*/
|
|
463
463
|
'data': { [key: string]: Array<ReleaseResponse>; };
|
|
464
464
|
/**
|
|
465
465
|
*
|
|
466
466
|
* @type {number}
|
|
467
|
-
* @memberof
|
|
467
|
+
* @memberof ResponseGetReleases
|
|
468
468
|
*/
|
|
469
469
|
'count': number;
|
|
470
470
|
}
|
|
@@ -675,7 +675,7 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
675
675
|
* @param {*} [options] Override http request option.
|
|
676
676
|
* @throws {RequiredError}
|
|
677
677
|
*/
|
|
678
|
-
|
|
678
|
+
getDevice: async (deviceId?: | null, id?: | null, codename?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
679
679
|
const localVarPath = `/devices/get`;
|
|
680
680
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
681
681
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -723,9 +723,9 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
723
723
|
* @deprecated
|
|
724
724
|
* @throws {RequiredError}
|
|
725
725
|
*/
|
|
726
|
-
|
|
726
|
+
getDeviceDeprecated: async (deviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
727
727
|
// verify required parameter 'deviceId' is not null or undefined
|
|
728
|
-
assertParamExists('
|
|
728
|
+
assertParamExists('getDeviceDeprecated', 'deviceId', deviceId)
|
|
729
729
|
const localVarPath = `/devices/{device_id}`
|
|
730
730
|
.replace(`{${"device_id"}}`, encodeURIComponent(String(deviceId)));
|
|
731
731
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -767,7 +767,7 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
767
767
|
* @param {*} [options] Override http request option.
|
|
768
768
|
* @throws {RequiredError}
|
|
769
769
|
*/
|
|
770
|
-
|
|
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> => {
|
|
771
771
|
const localVarPath = `/devices/`;
|
|
772
772
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
773
773
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -837,11 +837,11 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
837
837
|
},
|
|
838
838
|
/**
|
|
839
839
|
* Lists all OEM names
|
|
840
|
-
* @summary Get Oems
|
|
840
|
+
* @summary Get Oems
|
|
841
841
|
* @param {*} [options] Override http request option.
|
|
842
842
|
* @throws {RequiredError}
|
|
843
843
|
*/
|
|
844
|
-
|
|
844
|
+
getOems: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
845
845
|
const localVarPath = `/oems/`;
|
|
846
846
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
847
847
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -884,10 +884,10 @@ export const DeviceApiFp = function(configuration?: Configuration) {
|
|
|
884
884
|
* @param {*} [options] Override http request option.
|
|
885
885
|
* @throws {RequiredError}
|
|
886
886
|
*/
|
|
887
|
-
async
|
|
888
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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);
|
|
889
889
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
890
|
-
const localVarOperationServerBasePath = operationServerMap['DeviceApi.
|
|
890
|
+
const localVarOperationServerBasePath = operationServerMap['DeviceApi.getDevice']?.[localVarOperationServerIndex]?.url;
|
|
891
891
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
892
892
|
},
|
|
893
893
|
/**
|
|
@@ -898,10 +898,10 @@ export const DeviceApiFp = function(configuration?: Configuration) {
|
|
|
898
898
|
* @deprecated
|
|
899
899
|
* @throws {RequiredError}
|
|
900
900
|
*/
|
|
901
|
-
async
|
|
902
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
901
|
+
async getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceResponse>> {
|
|
902
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeviceDeprecated(deviceId, options);
|
|
903
903
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
904
|
-
const localVarOperationServerBasePath = operationServerMap['DeviceApi.
|
|
904
|
+
const localVarOperationServerBasePath = operationServerMap['DeviceApi.getDeviceDeprecated']?.[localVarOperationServerIndex]?.url;
|
|
905
905
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
906
906
|
},
|
|
907
907
|
/**
|
|
@@ -921,22 +921,22 @@ export const DeviceApiFp = function(configuration?: Configuration) {
|
|
|
921
921
|
* @param {*} [options] Override http request option.
|
|
922
922
|
* @throws {RequiredError}
|
|
923
923
|
*/
|
|
924
|
-
async
|
|
925
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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);
|
|
926
926
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
927
|
-
const localVarOperationServerBasePath = operationServerMap['DeviceApi.
|
|
927
|
+
const localVarOperationServerBasePath = operationServerMap['DeviceApi.getDevices']?.[localVarOperationServerIndex]?.url;
|
|
928
928
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
929
929
|
},
|
|
930
930
|
/**
|
|
931
931
|
* Lists all OEM names
|
|
932
|
-
* @summary Get Oems
|
|
932
|
+
* @summary Get Oems
|
|
933
933
|
* @param {*} [options] Override http request option.
|
|
934
934
|
* @throws {RequiredError}
|
|
935
935
|
*/
|
|
936
|
-
async
|
|
937
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
936
|
+
async getOems(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseStr>> {
|
|
937
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOems(options);
|
|
938
938
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
939
|
-
const localVarOperationServerBasePath = operationServerMap['DeviceApi.
|
|
939
|
+
const localVarOperationServerBasePath = operationServerMap['DeviceApi.getOems']?.[localVarOperationServerIndex]?.url;
|
|
940
940
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
941
941
|
},
|
|
942
942
|
}
|
|
@@ -958,8 +958,8 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
|
|
|
958
958
|
* @param {*} [options] Override http request option.
|
|
959
959
|
* @throws {RequiredError}
|
|
960
960
|
*/
|
|
961
|
-
|
|
962
|
-
return localVarFp.
|
|
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));
|
|
963
963
|
},
|
|
964
964
|
/**
|
|
965
965
|
* Gets device info using device ID.
|
|
@@ -969,8 +969,8 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
|
|
|
969
969
|
* @deprecated
|
|
970
970
|
* @throws {RequiredError}
|
|
971
971
|
*/
|
|
972
|
-
|
|
973
|
-
return localVarFp.
|
|
972
|
+
getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse> {
|
|
973
|
+
return localVarFp.getDeviceDeprecated(deviceId, options).then((request) => request(axios, basePath));
|
|
974
974
|
},
|
|
975
975
|
/**
|
|
976
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.
|
|
@@ -989,17 +989,17 @@ export const DeviceApiFactory = function (configuration?: Configuration, basePat
|
|
|
989
989
|
* @param {*} [options] Override http request option.
|
|
990
990
|
* @throws {RequiredError}
|
|
991
991
|
*/
|
|
992
|
-
|
|
993
|
-
return localVarFp.
|
|
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));
|
|
994
994
|
},
|
|
995
995
|
/**
|
|
996
996
|
* Lists all OEM names
|
|
997
|
-
* @summary Get Oems
|
|
997
|
+
* @summary Get Oems
|
|
998
998
|
* @param {*} [options] Override http request option.
|
|
999
999
|
* @throws {RequiredError}
|
|
1000
1000
|
*/
|
|
1001
|
-
|
|
1002
|
-
return localVarFp.
|
|
1001
|
+
getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr> {
|
|
1002
|
+
return localVarFp.getOems(options).then((request) => request(axios, basePath));
|
|
1003
1003
|
},
|
|
1004
1004
|
};
|
|
1005
1005
|
};
|
|
@@ -1020,7 +1020,7 @@ export interface DeviceApiInterface {
|
|
|
1020
1020
|
* @throws {RequiredError}
|
|
1021
1021
|
* @memberof DeviceApiInterface
|
|
1022
1022
|
*/
|
|
1023
|
-
|
|
1023
|
+
getDevice(deviceId?: | null, id?: | null, codename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
|
|
1024
1024
|
|
|
1025
1025
|
/**
|
|
1026
1026
|
* Gets device info using device ID.
|
|
@@ -1031,7 +1031,7 @@ export interface DeviceApiInterface {
|
|
|
1031
1031
|
* @throws {RequiredError}
|
|
1032
1032
|
* @memberof DeviceApiInterface
|
|
1033
1033
|
*/
|
|
1034
|
-
|
|
1034
|
+
getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeviceResponse>;
|
|
1035
1035
|
|
|
1036
1036
|
/**
|
|
1037
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.
|
|
@@ -1051,16 +1051,16 @@ export interface DeviceApiInterface {
|
|
|
1051
1051
|
* @throws {RequiredError}
|
|
1052
1052
|
* @memberof DeviceApiInterface
|
|
1053
1053
|
*/
|
|
1054
|
-
|
|
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>;
|
|
1055
1055
|
|
|
1056
1056
|
/**
|
|
1057
1057
|
* Lists all OEM names
|
|
1058
|
-
* @summary Get Oems
|
|
1058
|
+
* @summary Get Oems
|
|
1059
1059
|
* @param {*} [options] Override http request option.
|
|
1060
1060
|
* @throws {RequiredError}
|
|
1061
1061
|
* @memberof DeviceApiInterface
|
|
1062
1062
|
*/
|
|
1063
|
-
|
|
1063
|
+
getOems(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseStr>;
|
|
1064
1064
|
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
@@ -1081,8 +1081,8 @@ export class DeviceApi extends BaseAPI implements DeviceApiInterface {
|
|
|
1081
1081
|
* @throws {RequiredError}
|
|
1082
1082
|
* @memberof DeviceApi
|
|
1083
1083
|
*/
|
|
1084
|
-
public
|
|
1085
|
-
return DeviceApiFp(this.configuration).
|
|
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));
|
|
1086
1086
|
}
|
|
1087
1087
|
|
|
1088
1088
|
/**
|
|
@@ -1094,8 +1094,8 @@ export class DeviceApi extends BaseAPI implements DeviceApiInterface {
|
|
|
1094
1094
|
* @throws {RequiredError}
|
|
1095
1095
|
* @memberof DeviceApi
|
|
1096
1096
|
*/
|
|
1097
|
-
public
|
|
1098
|
-
return DeviceApiFp(this.configuration).
|
|
1097
|
+
public getDeviceDeprecated(deviceId: string, options?: RawAxiosRequestConfig) {
|
|
1098
|
+
return DeviceApiFp(this.configuration).getDeviceDeprecated(deviceId, options).then((request) => request(this.axios, this.basePath));
|
|
1099
1099
|
}
|
|
1100
1100
|
|
|
1101
1101
|
/**
|
|
@@ -1116,19 +1116,19 @@ export class DeviceApi extends BaseAPI implements DeviceApiInterface {
|
|
|
1116
1116
|
* @throws {RequiredError}
|
|
1117
1117
|
* @memberof DeviceApi
|
|
1118
1118
|
*/
|
|
1119
|
-
public
|
|
1120
|
-
return DeviceApiFp(this.configuration).
|
|
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));
|
|
1121
1121
|
}
|
|
1122
1122
|
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Lists all OEM names
|
|
1125
|
-
* @summary Get Oems
|
|
1125
|
+
* @summary Get Oems
|
|
1126
1126
|
* @param {*} [options] Override http request option.
|
|
1127
1127
|
* @throws {RequiredError}
|
|
1128
1128
|
* @memberof DeviceApi
|
|
1129
1129
|
*/
|
|
1130
|
-
public
|
|
1131
|
-
return DeviceApiFp(this.configuration).
|
|
1130
|
+
public getOems(options?: RawAxiosRequestConfig) {
|
|
1131
|
+
return DeviceApiFp(this.configuration).getOems(options).then((request) => request(this.axios, this.basePath));
|
|
1132
1132
|
}
|
|
1133
1133
|
}
|
|
1134
1134
|
|
|
@@ -1150,7 +1150,7 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1150
1150
|
* @param {*} [options] Override http request option.
|
|
1151
1151
|
* @throws {RequiredError}
|
|
1152
1152
|
*/
|
|
1153
|
-
|
|
1153
|
+
getRelease: async (releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1154
1154
|
const localVarPath = `/releases/get`;
|
|
1155
1155
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1156
1156
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1202,9 +1202,9 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1202
1202
|
* @deprecated
|
|
1203
1203
|
* @throws {RequiredError}
|
|
1204
1204
|
*/
|
|
1205
|
-
|
|
1205
|
+
getReleaseDeprecated: async (releaseId: any, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1206
1206
|
// verify required parameter 'releaseId' is not null or undefined
|
|
1207
|
-
assertParamExists('
|
|
1207
|
+
assertParamExists('getReleaseDeprecated', 'releaseId', releaseId)
|
|
1208
1208
|
const localVarPath = `/releases/{release_id}`
|
|
1209
1209
|
.replace(`{${"release_id"}}`, encodeURIComponent(String(releaseId)));
|
|
1210
1210
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -1251,7 +1251,7 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1251
1251
|
* @param {*} [options] Override http request option.
|
|
1252
1252
|
* @throws {RequiredError}
|
|
1253
1253
|
*/
|
|
1254
|
-
|
|
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> => {
|
|
1255
1255
|
const localVarPath = `/releases/`;
|
|
1256
1256
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1257
1257
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1354,9 +1354,9 @@ export const ReleaseApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1354
1354
|
* @deprecated
|
|
1355
1355
|
* @throws {RequiredError}
|
|
1356
1356
|
*/
|
|
1357
|
-
|
|
1357
|
+
getUpdatesDeprecated: async (lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1358
1358
|
// verify required parameter 'lastKnownId' is not null or undefined
|
|
1359
|
-
assertParamExists('
|
|
1359
|
+
assertParamExists('getUpdatesDeprecated', 'lastKnownId', lastKnownId)
|
|
1360
1360
|
const localVarPath = `/updates/{last_known_id}`
|
|
1361
1361
|
.replace(`{${"last_known_id"}}`, encodeURIComponent(String(lastKnownId)));
|
|
1362
1362
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -1421,10 +1421,10 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
|
|
|
1421
1421
|
* @param {*} [options] Override http request option.
|
|
1422
1422
|
* @throws {RequiredError}
|
|
1423
1423
|
*/
|
|
1424
|
-
async
|
|
1425
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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);
|
|
1426
1426
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1427
|
-
const localVarOperationServerBasePath = operationServerMap['ReleaseApi.
|
|
1427
|
+
const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getRelease']?.[localVarOperationServerIndex]?.url;
|
|
1428
1428
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1429
1429
|
},
|
|
1430
1430
|
/**
|
|
@@ -1435,10 +1435,10 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
|
|
|
1435
1435
|
* @deprecated
|
|
1436
1436
|
* @throws {RequiredError}
|
|
1437
1437
|
*/
|
|
1438
|
-
async
|
|
1439
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1438
|
+
async getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReleaseResponse>> {
|
|
1439
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getReleaseDeprecated(releaseId, options);
|
|
1440
1440
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1441
|
-
const localVarOperationServerBasePath = operationServerMap['ReleaseApi.
|
|
1441
|
+
const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getReleaseDeprecated']?.[localVarOperationServerIndex]?.url;
|
|
1442
1442
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1443
1443
|
},
|
|
1444
1444
|
/**
|
|
@@ -1463,10 +1463,10 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
|
|
|
1463
1463
|
* @param {*} [options] Override http request option.
|
|
1464
1464
|
* @throws {RequiredError}
|
|
1465
1465
|
*/
|
|
1466
|
-
async
|
|
1467
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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);
|
|
1468
1468
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1469
|
-
const localVarOperationServerBasePath = operationServerMap['ReleaseApi.
|
|
1469
|
+
const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getReleases']?.[localVarOperationServerIndex]?.url;
|
|
1470
1470
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1471
1471
|
},
|
|
1472
1472
|
/**
|
|
@@ -1482,10 +1482,10 @@ export const ReleaseApiFp = function(configuration?: Configuration) {
|
|
|
1482
1482
|
* @deprecated
|
|
1483
1483
|
* @throws {RequiredError}
|
|
1484
1484
|
*/
|
|
1485
|
-
async
|
|
1486
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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);
|
|
1487
1487
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1488
|
-
const localVarOperationServerBasePath = operationServerMap['ReleaseApi.
|
|
1488
|
+
const localVarOperationServerBasePath = operationServerMap['ReleaseApi.getUpdatesDeprecated']?.[localVarOperationServerIndex]?.url;
|
|
1489
1489
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1490
1490
|
},
|
|
1491
1491
|
}
|
|
@@ -1508,8 +1508,8 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
|
|
|
1508
1508
|
* @param {*} [options] Override http request option.
|
|
1509
1509
|
* @throws {RequiredError}
|
|
1510
1510
|
*/
|
|
1511
|
-
|
|
1512
|
-
return localVarFp.
|
|
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));
|
|
1513
1513
|
},
|
|
1514
1514
|
/**
|
|
1515
1515
|
* Gets release information using the release ID, nothing to discuss really.
|
|
@@ -1519,8 +1519,8 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
|
|
|
1519
1519
|
* @deprecated
|
|
1520
1520
|
* @throws {RequiredError}
|
|
1521
1521
|
*/
|
|
1522
|
-
|
|
1523
|
-
return localVarFp.
|
|
1522
|
+
getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse> {
|
|
1523
|
+
return localVarFp.getReleaseDeprecated(releaseId, options).then((request) => request(axios, basePath));
|
|
1524
1524
|
},
|
|
1525
1525
|
/**
|
|
1526
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.
|
|
@@ -1544,8 +1544,8 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
|
|
|
1544
1544
|
* @param {*} [options] Override http request option.
|
|
1545
1545
|
* @throws {RequiredError}
|
|
1546
1546
|
*/
|
|
1547
|
-
|
|
1548
|
-
return localVarFp.
|
|
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));
|
|
1549
1549
|
},
|
|
1550
1550
|
/**
|
|
1551
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!
|
|
@@ -1560,8 +1560,8 @@ export const ReleaseApiFactory = function (configuration?: Configuration, basePa
|
|
|
1560
1560
|
* @deprecated
|
|
1561
1561
|
* @throws {RequiredError}
|
|
1562
1562
|
*/
|
|
1563
|
-
|
|
1564
|
-
return localVarFp.
|
|
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));
|
|
1565
1565
|
},
|
|
1566
1566
|
};
|
|
1567
1567
|
};
|
|
@@ -1583,7 +1583,7 @@ export interface ReleaseApiInterface {
|
|
|
1583
1583
|
* @throws {RequiredError}
|
|
1584
1584
|
* @memberof ReleaseApiInterface
|
|
1585
1585
|
*/
|
|
1586
|
-
|
|
1586
|
+
getRelease(releaseId?: | null, id?: | null, buildId?: string | null, filename?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
|
|
1587
1587
|
|
|
1588
1588
|
/**
|
|
1589
1589
|
* Gets release information using the release ID, nothing to discuss really.
|
|
@@ -1594,7 +1594,7 @@ export interface ReleaseApiInterface {
|
|
|
1594
1594
|
* @throws {RequiredError}
|
|
1595
1595
|
* @memberof ReleaseApiInterface
|
|
1596
1596
|
*/
|
|
1597
|
-
|
|
1597
|
+
getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig): AxiosPromise<ReleaseResponse>;
|
|
1598
1598
|
|
|
1599
1599
|
/**
|
|
1600
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.
|
|
@@ -1619,7 +1619,7 @@ export interface ReleaseApiInterface {
|
|
|
1619
1619
|
* @throws {RequiredError}
|
|
1620
1620
|
* @memberof ReleaseApiInterface
|
|
1621
1621
|
*/
|
|
1622
|
-
|
|
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>;
|
|
1623
1623
|
|
|
1624
1624
|
/**
|
|
1625
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!
|
|
@@ -1635,7 +1635,7 @@ export interface ReleaseApiInterface {
|
|
|
1635
1635
|
* @throws {RequiredError}
|
|
1636
1636
|
* @memberof ReleaseApiInterface
|
|
1637
1637
|
*/
|
|
1638
|
-
|
|
1638
|
+
getUpdatesDeprecated(lastKnownId: any, deviceId?: Array<any>, type?: Array<ReleaseType>, releaseType?: Array<ReleaseType>, skip?: number | null, limit?: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseShortReleaseResponse>;
|
|
1639
1639
|
|
|
1640
1640
|
}
|
|
1641
1641
|
|
|
@@ -1657,8 +1657,8 @@ export class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
|
|
|
1657
1657
|
* @throws {RequiredError}
|
|
1658
1658
|
* @memberof ReleaseApi
|
|
1659
1659
|
*/
|
|
1660
|
-
public
|
|
1661
|
-
return ReleaseApiFp(this.configuration).
|
|
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));
|
|
1662
1662
|
}
|
|
1663
1663
|
|
|
1664
1664
|
/**
|
|
@@ -1670,8 +1670,8 @@ export class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
|
|
|
1670
1670
|
* @throws {RequiredError}
|
|
1671
1671
|
* @memberof ReleaseApi
|
|
1672
1672
|
*/
|
|
1673
|
-
public
|
|
1674
|
-
return ReleaseApiFp(this.configuration).
|
|
1673
|
+
public getReleaseDeprecated(releaseId: any, options?: RawAxiosRequestConfig) {
|
|
1674
|
+
return ReleaseApiFp(this.configuration).getReleaseDeprecated(releaseId, options).then((request) => request(this.axios, this.basePath));
|
|
1675
1675
|
}
|
|
1676
1676
|
|
|
1677
1677
|
/**
|
|
@@ -1697,8 +1697,8 @@ export class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
|
|
|
1697
1697
|
* @throws {RequiredError}
|
|
1698
1698
|
* @memberof ReleaseApi
|
|
1699
1699
|
*/
|
|
1700
|
-
public
|
|
1701
|
-
return ReleaseApiFp(this.configuration).
|
|
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));
|
|
1702
1702
|
}
|
|
1703
1703
|
|
|
1704
1704
|
/**
|
|
@@ -1715,8 +1715,8 @@ export class ReleaseApi extends BaseAPI implements ReleaseApiInterface {
|
|
|
1715
1715
|
* @throws {RequiredError}
|
|
1716
1716
|
* @memberof ReleaseApi
|
|
1717
1717
|
*/
|
|
1718
|
-
public
|
|
1719
|
-
return ReleaseApiFp(this.configuration).
|
|
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));
|
|
1720
1720
|
}
|
|
1721
1721
|
}
|
|
1722
1722
|
|
|
@@ -1734,7 +1734,7 @@ export const StatsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1734
1734
|
* @param {*} [options] Override http request option.
|
|
1735
1735
|
* @throws {RequiredError}
|
|
1736
1736
|
*/
|
|
1737
|
-
|
|
1737
|
+
getPublicStats: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1738
1738
|
const localVarPath = `/stats/`;
|
|
1739
1739
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1740
1740
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1774,10 +1774,10 @@ export const StatsApiFp = function(configuration?: Configuration) {
|
|
|
1774
1774
|
* @param {*} [options] Override http request option.
|
|
1775
1775
|
* @throws {RequiredError}
|
|
1776
1776
|
*/
|
|
1777
|
-
async
|
|
1778
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1777
|
+
async getPublicStats(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GlobalStatsAggregationModel>> {
|
|
1778
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicStats(options);
|
|
1779
1779
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1780
|
-
const localVarOperationServerBasePath = operationServerMap['StatsApi.
|
|
1780
|
+
const localVarOperationServerBasePath = operationServerMap['StatsApi.getPublicStats']?.[localVarOperationServerIndex]?.url;
|
|
1781
1781
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1782
1782
|
},
|
|
1783
1783
|
}
|
|
@@ -1796,8 +1796,8 @@ export const StatsApiFactory = function (configuration?: Configuration, basePath
|
|
|
1796
1796
|
* @param {*} [options] Override http request option.
|
|
1797
1797
|
* @throws {RequiredError}
|
|
1798
1798
|
*/
|
|
1799
|
-
|
|
1800
|
-
return localVarFp.
|
|
1799
|
+
getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel> {
|
|
1800
|
+
return localVarFp.getPublicStats(options).then((request) => request(axios, basePath));
|
|
1801
1801
|
},
|
|
1802
1802
|
};
|
|
1803
1803
|
};
|
|
@@ -1815,7 +1815,7 @@ export interface StatsApiInterface {
|
|
|
1815
1815
|
* @throws {RequiredError}
|
|
1816
1816
|
* @memberof StatsApiInterface
|
|
1817
1817
|
*/
|
|
1818
|
-
|
|
1818
|
+
getPublicStats(options?: RawAxiosRequestConfig): AxiosPromise<GlobalStatsAggregationModel>;
|
|
1819
1819
|
|
|
1820
1820
|
}
|
|
1821
1821
|
|
|
@@ -1833,8 +1833,8 @@ export class StatsApi extends BaseAPI implements StatsApiInterface {
|
|
|
1833
1833
|
* @throws {RequiredError}
|
|
1834
1834
|
* @memberof StatsApi
|
|
1835
1835
|
*/
|
|
1836
|
-
public
|
|
1837
|
-
return StatsApiFp(this.configuration).
|
|
1836
|
+
public getPublicStats(options?: RawAxiosRequestConfig) {
|
|
1837
|
+
return StatsApiFp(this.configuration).getPublicStats(options).then((request) => request(this.axios, this.basePath));
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
1840
|
|