|
@@ -9535,6 +9535,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
* @param {string} [exifInfoCountry]
|
|
* @param {string} [exifInfoCountry]
|
|
* @param {string} [exifInfoMake]
|
|
* @param {string} [exifInfoMake]
|
|
* @param {string} [exifInfoModel]
|
|
* @param {string} [exifInfoModel]
|
|
|
|
+ * @param {string} [exifInfoProjectionType]
|
|
* @param {Array<string>} [smartInfoObjects]
|
|
* @param {Array<string>} [smartInfoObjects]
|
|
* @param {Array<string>} [smartInfoTags]
|
|
* @param {Array<string>} [smartInfoTags]
|
|
* @param {boolean} [recent]
|
|
* @param {boolean} [recent]
|
|
@@ -9542,7 +9543,7 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- search: async (q?: string, query?: string, clip?: boolean, type?: 'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER', isFavorite?: boolean, isArchived?: boolean, exifInfoCity?: string, exifInfoState?: string, exifInfoCountry?: string, exifInfoMake?: string, exifInfoModel?: string, smartInfoObjects?: Array<string>, smartInfoTags?: Array<string>, recent?: boolean, motion?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
|
|
+ search: async (q?: string, query?: string, clip?: boolean, type?: 'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER', isFavorite?: boolean, isArchived?: boolean, exifInfoCity?: string, exifInfoState?: string, exifInfoCountry?: string, exifInfoMake?: string, exifInfoModel?: string, exifInfoProjectionType?: string, smartInfoObjects?: Array<string>, smartInfoTags?: Array<string>, recent?: boolean, motion?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
const localVarPath = `/search`;
|
|
const localVarPath = `/search`;
|
|
// 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);
|
|
@@ -9608,6 +9609,10 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
|
|
localVarQueryParameter['exifInfo.model'] = exifInfoModel;
|
|
localVarQueryParameter['exifInfo.model'] = exifInfoModel;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (exifInfoProjectionType !== undefined) {
|
|
|
|
+ localVarQueryParameter['exifInfo.projectionType'] = exifInfoProjectionType;
|
|
|
|
+ }
|
|
|
|
+
|
|
if (smartInfoObjects) {
|
|
if (smartInfoObjects) {
|
|
localVarQueryParameter['smartInfo.objects'] = smartInfoObjects;
|
|
localVarQueryParameter['smartInfo.objects'] = smartInfoObjects;
|
|
}
|
|
}
|
|
@@ -9676,6 +9681,7 @@ export const SearchApiFp = function(configuration?: Configuration) {
|
|
* @param {string} [exifInfoCountry]
|
|
* @param {string} [exifInfoCountry]
|
|
* @param {string} [exifInfoMake]
|
|
* @param {string} [exifInfoMake]
|
|
* @param {string} [exifInfoModel]
|
|
* @param {string} [exifInfoModel]
|
|
|
|
+ * @param {string} [exifInfoProjectionType]
|
|
* @param {Array<string>} [smartInfoObjects]
|
|
* @param {Array<string>} [smartInfoObjects]
|
|
* @param {Array<string>} [smartInfoTags]
|
|
* @param {Array<string>} [smartInfoTags]
|
|
* @param {boolean} [recent]
|
|
* @param {boolean} [recent]
|
|
@@ -9683,8 +9689,8 @@ export const SearchApiFp = function(configuration?: Configuration) {
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- async search(q?: string, query?: string, clip?: boolean, type?: 'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER', isFavorite?: boolean, isArchived?: boolean, exifInfoCity?: string, exifInfoState?: string, exifInfoCountry?: string, exifInfoMake?: string, exifInfoModel?: string, smartInfoObjects?: Array<string>, smartInfoTags?: Array<string>, recent?: boolean, motion?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchResponseDto>> {
|
|
|
|
- const localVarAxiosArgs = await localVarAxiosParamCreator.search(q, query, clip, type, isFavorite, isArchived, exifInfoCity, exifInfoState, exifInfoCountry, exifInfoMake, exifInfoModel, smartInfoObjects, smartInfoTags, recent, motion, options);
|
|
|
|
|
|
+ async search(q?: string, query?: string, clip?: boolean, type?: 'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER', isFavorite?: boolean, isArchived?: boolean, exifInfoCity?: string, exifInfoState?: string, exifInfoCountry?: string, exifInfoMake?: string, exifInfoModel?: string, exifInfoProjectionType?: string, smartInfoObjects?: Array<string>, smartInfoTags?: Array<string>, recent?: boolean, motion?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchResponseDto>> {
|
|
|
|
+ const localVarAxiosArgs = await localVarAxiosParamCreator.search(q, query, clip, type, isFavorite, isArchived, exifInfoCity, exifInfoState, exifInfoCountry, exifInfoMake, exifInfoModel, exifInfoProjectionType, smartInfoObjects, smartInfoTags, recent, motion, options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
}
|
|
}
|
|
@@ -9726,6 +9732,7 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
* @param {string} [exifInfoCountry]
|
|
* @param {string} [exifInfoCountry]
|
|
* @param {string} [exifInfoMake]
|
|
* @param {string} [exifInfoMake]
|
|
* @param {string} [exifInfoModel]
|
|
* @param {string} [exifInfoModel]
|
|
|
|
+ * @param {string} [exifInfoProjectionType]
|
|
* @param {Array<string>} [smartInfoObjects]
|
|
* @param {Array<string>} [smartInfoObjects]
|
|
* @param {Array<string>} [smartInfoTags]
|
|
* @param {Array<string>} [smartInfoTags]
|
|
* @param {boolean} [recent]
|
|
* @param {boolean} [recent]
|
|
@@ -9733,8 +9740,8 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- search(q?: string, query?: string, clip?: boolean, type?: 'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER', isFavorite?: boolean, isArchived?: boolean, exifInfoCity?: string, exifInfoState?: string, exifInfoCountry?: string, exifInfoMake?: string, exifInfoModel?: string, smartInfoObjects?: Array<string>, smartInfoTags?: Array<string>, recent?: boolean, motion?: boolean, options?: any): AxiosPromise<SearchResponseDto> {
|
|
|
|
- return localVarFp.search(q, query, clip, type, isFavorite, isArchived, exifInfoCity, exifInfoState, exifInfoCountry, exifInfoMake, exifInfoModel, smartInfoObjects, smartInfoTags, recent, motion, options).then((request) => request(axios, basePath));
|
|
|
|
|
|
+ search(q?: string, query?: string, clip?: boolean, type?: 'IMAGE' | 'VIDEO' | 'AUDIO' | 'OTHER', isFavorite?: boolean, isArchived?: boolean, exifInfoCity?: string, exifInfoState?: string, exifInfoCountry?: string, exifInfoMake?: string, exifInfoModel?: string, exifInfoProjectionType?: string, smartInfoObjects?: Array<string>, smartInfoTags?: Array<string>, recent?: boolean, motion?: boolean, options?: any): AxiosPromise<SearchResponseDto> {
|
|
|
|
+ return localVarFp.search(q, query, clip, type, isFavorite, isArchived, exifInfoCity, exifInfoState, exifInfoCountry, exifInfoMake, exifInfoModel, exifInfoProjectionType, smartInfoObjects, smartInfoTags, recent, motion, options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
};
|
|
};
|
|
};
|
|
};
|
|
@@ -9822,6 +9829,13 @@ export interface SearchApiSearchRequest {
|
|
*/
|
|
*/
|
|
readonly exifInfoModel?: string
|
|
readonly exifInfoModel?: string
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {string}
|
|
|
|
+ * @memberof SearchApiSearch
|
|
|
|
+ */
|
|
|
|
+ readonly exifInfoProjectionType?: string
|
|
|
|
+
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @type {Array<string>}
|
|
* @type {Array<string>}
|
|
@@ -9886,7 +9900,7 @@ export class SearchApi extends BaseAPI {
|
|
* @memberof SearchApi
|
|
* @memberof SearchApi
|
|
*/
|
|
*/
|
|
public search(requestParameters: SearchApiSearchRequest = {}, options?: AxiosRequestConfig) {
|
|
public search(requestParameters: SearchApiSearchRequest = {}, options?: AxiosRequestConfig) {
|
|
- return SearchApiFp(this.configuration).search(requestParameters.q, requestParameters.query, requestParameters.clip, requestParameters.type, requestParameters.isFavorite, requestParameters.isArchived, requestParameters.exifInfoCity, requestParameters.exifInfoState, requestParameters.exifInfoCountry, requestParameters.exifInfoMake, requestParameters.exifInfoModel, requestParameters.smartInfoObjects, requestParameters.smartInfoTags, requestParameters.recent, requestParameters.motion, options).then((request) => request(this.axios, this.basePath));
|
|
|
|
|
|
+ return SearchApiFp(this.configuration).search(requestParameters.q, requestParameters.query, requestParameters.clip, requestParameters.type, requestParameters.isFavorite, requestParameters.isArchived, requestParameters.exifInfoCity, requestParameters.exifInfoState, requestParameters.exifInfoCountry, requestParameters.exifInfoMake, requestParameters.exifInfoModel, requestParameters.exifInfoProjectionType, requestParameters.smartInfoObjects, requestParameters.smartInfoTags, requestParameters.recent, requestParameters.motion, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|