|
@@ -5040,10 +5040,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
/**
|
|
|
*
|
|
|
* @param {boolean} [isFavorite]
|
|
|
+ * @param {string} [fileCreatedAfter]
|
|
|
+ * @param {string} [fileCreatedBefore]
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- getMapMarkers: async (isFavorite?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
+ getMapMarkers: async (isFavorite?: boolean, fileCreatedAfter?: string, fileCreatedBefore?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
const localVarPath = `/asset/map-marker`;
|
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5069,6 +5071,18 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
localVarQueryParameter['isFavorite'] = isFavorite;
|
|
|
}
|
|
|
|
|
|
+ if (fileCreatedAfter !== undefined) {
|
|
|
+ localVarQueryParameter['fileCreatedAfter'] = (fileCreatedAfter as any instanceof Date) ?
|
|
|
+ (fileCreatedAfter as any).toISOString() :
|
|
|
+ fileCreatedAfter;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (fileCreatedBefore !== undefined) {
|
|
|
+ localVarQueryParameter['fileCreatedBefore'] = (fileCreatedBefore as any instanceof Date) ?
|
|
|
+ (fileCreatedBefore as any).toISOString() :
|
|
|
+ fileCreatedBefore;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5659,11 +5673,13 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
|
|
/**
|
|
|
*
|
|
|
* @param {boolean} [isFavorite]
|
|
|
+ * @param {string} [fileCreatedAfter]
|
|
|
+ * @param {string} [fileCreatedBefore]
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- async getMapMarkers(isFavorite?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MapMarkerResponseDto>>> {
|
|
|
- const localVarAxiosArgs = await localVarAxiosParamCreator.getMapMarkers(isFavorite, options);
|
|
|
+ async getMapMarkers(isFavorite?: boolean, fileCreatedAfter?: string, fileCreatedBefore?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MapMarkerResponseDto>>> {
|
|
|
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMapMarkers(isFavorite, fileCreatedAfter, fileCreatedBefore, options);
|
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
|
},
|
|
|
/**
|
|
@@ -5936,11 +5952,13 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
|
|
/**
|
|
|
*
|
|
|
* @param {boolean} [isFavorite]
|
|
|
+ * @param {string} [fileCreatedAfter]
|
|
|
+ * @param {string} [fileCreatedBefore]
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- getMapMarkers(isFavorite?: boolean, options?: any): AxiosPromise<Array<MapMarkerResponseDto>> {
|
|
|
- return localVarFp.getMapMarkers(isFavorite, options).then((request) => request(axios, basePath));
|
|
|
+ getMapMarkers(isFavorite?: boolean, fileCreatedAfter?: string, fileCreatedBefore?: string, options?: any): AxiosPromise<Array<MapMarkerResponseDto>> {
|
|
|
+ return localVarFp.getMapMarkers(isFavorite, fileCreatedAfter, fileCreatedBefore, options).then((request) => request(axios, basePath));
|
|
|
},
|
|
|
/**
|
|
|
* Get all asset of a device that are in the database, ID only.
|
|
@@ -6244,12 +6262,14 @@ export class AssetApi extends BaseAPI {
|
|
|
/**
|
|
|
*
|
|
|
* @param {boolean} [isFavorite]
|
|
|
+ * @param {string} [fileCreatedAfter]
|
|
|
+ * @param {string} [fileCreatedBefore]
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
* @memberof AssetApi
|
|
|
*/
|
|
|
- public getMapMarkers(isFavorite?: boolean, options?: AxiosRequestConfig) {
|
|
|
- return AssetApiFp(this.configuration).getMapMarkers(isFavorite, options).then((request) => request(this.axios, this.basePath));
|
|
|
+ public getMapMarkers(isFavorite?: boolean, fileCreatedAfter?: string, fileCreatedBefore?: string, options?: AxiosRequestConfig) {
|
|
|
+ return AssetApiFp(this.configuration).getMapMarkers(isFavorite, fileCreatedAfter, fileCreatedBefore, options).then((request) => request(this.axios, this.basePath));
|
|
|
}
|
|
|
|
|
|
/**
|