@ -5523,13 +5523,13 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
} ,
} ,
/ * *
/ * *
*
*
* @param { string } time zone
* @param { string } time stamp Get pictures for + 24 hours from this time going back x years
* @param { * } [ options ] Override http request option .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @throws { RequiredError }
* /
* /
getMemoryLane : async ( time zone : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
getMemoryLane : async ( time stamp : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'time zone ' is not null or undefined
// verify required parameter 'time stamp ' is not null or undefined
assertParamExists ( 'getMemoryLane' , 'time zone', timezone )
assertParamExists ( 'getMemoryLane' , 'time stamp', timestamp )
const localVarPath = ` /asset/memory-lane ` ;
const localVarPath = ` /asset/memory-lane ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@ -5551,8 +5551,10 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
// http bearer authentication required
// http bearer authentication required
await setBearerAuthToObject ( localVarHeaderParameter , configuration )
await setBearerAuthToObject ( localVarHeaderParameter , configuration )
if ( timezone !== undefined ) {
if ( timestamp !== undefined ) {
localVarQueryParameter [ 'timezone' ] = timezone ;
localVarQueryParameter [ 'timestamp' ] = ( timestamp as any instanceof Date ) ?
( timestamp as any ) . toISOString ( ) :
timestamp ;
}
}
@ -6157,12 +6159,12 @@ export const AssetApiFp = function(configuration?: Configuration) {
} ,
} ,
/ * *
/ * *
*
*
* @param { string } time zone
* @param { string } time stamp Get pictures for + 24 hours from this time going back x years
* @param { * } [ options ] Override http request option .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @throws { RequiredError }
* /
* /
async getMemoryLane ( time zone : string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < Array < MemoryLaneResponseDto > >> {
async getMemoryLane ( time stamp : string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < Array < MemoryLaneResponseDto > >> {
const localVarAxiosArgs = await localVarAxiosParamCreator . getMemoryLane ( time zone , options ) ;
const localVarAxiosArgs = await localVarAxiosParamCreator . getMemoryLane ( time stamp , options ) ;
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
} ,
} ,
/ * *
/ * *
@ -6446,12 +6448,12 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
} ,
} ,
/ * *
/ * *
*
*
* @param { string } time zone
* @param { string } time stamp Get pictures for + 24 hours from this time going back x years
* @param { * } [ options ] Override http request option .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @throws { RequiredError }
* /
* /
getMemoryLane ( time zone : string , options? : any ) : AxiosPromise < Array < MemoryLaneResponseDto > > {
getMemoryLane ( time stamp : string , options? : any ) : AxiosPromise < Array < MemoryLaneResponseDto > > {
return localVarFp . getMemoryLane ( time zone , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
return localVarFp . getMemoryLane ( time stamp , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
} ,
/ * *
/ * *
* Get all asset of a device that are in the database , ID only .
* Get all asset of a device that are in the database , ID only .
@ -6857,11 +6859,11 @@ export interface AssetApiGetMapMarkersRequest {
* /
* /
export interface AssetApiGetMemoryLaneRequest {
export interface AssetApiGetMemoryLaneRequest {
/ * *
/ * *
*
* Get pictures for + 24 hours from this time going back x years
* @type { string }
* @type { string }
* @memberof AssetApiGetMemoryLane
* @memberof AssetApiGetMemoryLane
* /
* /
readonly time zone : string
readonly time stamp : string
}
}
/ * *
/ * *
@ -7304,7 +7306,7 @@ export class AssetApi extends BaseAPI {
* @memberof AssetApi
* @memberof AssetApi
* /
* /
public getMemoryLane ( requestParameters : AssetApiGetMemoryLaneRequest , options? : AxiosRequestConfig ) {
public getMemoryLane ( requestParameters : AssetApiGetMemoryLaneRequest , options? : AxiosRequestConfig ) {
return AssetApiFp ( this . configuration ) . getMemoryLane ( requestParameters . time zone , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
return AssetApiFp ( this . configuration ) . getMemoryLane ( requestParameters . time stamp , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
}
/ * *
/ * *