|
@@ -4,7 +4,7 @@
|
|
* Immich
|
|
* Immich
|
|
* Immich API
|
|
* Immich API
|
|
*
|
|
*
|
|
- * The version of the OpenAPI document: 1.65.0
|
|
|
|
|
|
+ * The version of the OpenAPI document: 1.66.1
|
|
*
|
|
*
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1772,11 +1772,17 @@ export interface PersonResponseDto {
|
|
*/
|
|
*/
|
|
export interface PersonUpdateDto {
|
|
export interface PersonUpdateDto {
|
|
/**
|
|
/**
|
|
- *
|
|
|
|
|
|
+ * Person name.
|
|
* @type {string}
|
|
* @type {string}
|
|
* @memberof PersonUpdateDto
|
|
* @memberof PersonUpdateDto
|
|
*/
|
|
*/
|
|
- 'name': string;
|
|
|
|
|
|
+ 'name'?: string;
|
|
|
|
+ /**
|
|
|
|
+ * Asset is used to get the feature face thumbnail.
|
|
|
|
+ * @type {string}
|
|
|
|
+ * @memberof PersonUpdateDto
|
|
|
|
+ */
|
|
|
|
+ 'featureFaceAssetId'?: string;
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
@@ -5889,7 +5895,7 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- async getAssetThumbnail(id: string, format?: ThumbnailFormat, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
|
|
|
|
+ async getAssetThumbnail(id: string, format?: ThumbnailFormat, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetThumbnail(id, format, key, options);
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetThumbnail(id, format, key, options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
@@ -5986,7 +5992,7 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- async serveFile(id: string, isThumb?: boolean, isWeb?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
|
|
|
|
+ async serveFile(id: string, isThumb?: boolean, isWeb?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.serveFile(id, isThumb, isWeb, key, options);
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.serveFile(id, isThumb, isWeb, key, options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
@@ -6155,7 +6161,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- getAssetThumbnail(requestParameters: AssetApiGetAssetThumbnailRequest, options?: AxiosRequestConfig): AxiosPromise<File> {
|
|
|
|
|
|
+ getAssetThumbnail(requestParameters: AssetApiGetAssetThumbnailRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
|
|
return localVarFp.getAssetThumbnail(requestParameters.id, requestParameters.format, requestParameters.key, options).then((request) => request(axios, basePath));
|
|
return localVarFp.getAssetThumbnail(requestParameters.id, requestParameters.format, requestParameters.key, options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
@@ -6234,7 +6240,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- serveFile(requestParameters: AssetApiServeFileRequest, options?: AxiosRequestConfig): AxiosPromise<File> {
|
|
|
|
|
|
+ serveFile(requestParameters: AssetApiServeFileRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
|
|
return localVarFp.serveFile(requestParameters.id, requestParameters.isThumb, requestParameters.isWeb, requestParameters.key, options).then((request) => request(axios, basePath));
|
|
return localVarFp.serveFile(requestParameters.id, requestParameters.isThumb, requestParameters.isWeb, requestParameters.key, options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
@@ -8862,7 +8868,7 @@ export const PersonApiFp = function(configuration?: Configuration) {
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- async getPersonThumbnail(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
|
|
|
|
+ async getPersonThumbnail(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonThumbnail(id, options);
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonThumbnail(id, options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
@@ -8919,7 +8925,7 @@ export const PersonApiFactory = function (configuration?: Configuration, basePat
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- getPersonThumbnail(requestParameters: PersonApiGetPersonThumbnailRequest, options?: AxiosRequestConfig): AxiosPromise<File> {
|
|
|
|
|
|
+ getPersonThumbnail(requestParameters: PersonApiGetPersonThumbnailRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
|
|
return localVarFp.getPersonThumbnail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
return localVarFp.getPersonThumbnail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
/**
|
|
/**
|