|
@@ -4,7 +4,7 @@
|
|
* Immich
|
|
* Immich
|
|
* Immich API
|
|
* Immich API
|
|
*
|
|
*
|
|
- * The version of the OpenAPI document: 1.47.2
|
|
|
|
|
|
+ * The version of the OpenAPI document: 1.47.3
|
|
*
|
|
*
|
|
*
|
|
*
|
|
* 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).
|
|
@@ -61,10 +61,10 @@ export interface APIKeyCreateResponseDto {
|
|
export interface APIKeyResponseDto {
|
|
export interface APIKeyResponseDto {
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @type {number}
|
|
|
|
|
|
+ * @type {string}
|
|
* @memberof APIKeyResponseDto
|
|
* @memberof APIKeyResponseDto
|
|
*/
|
|
*/
|
|
- 'id': number;
|
|
|
|
|
|
+ 'id': string;
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @type {string}
|
|
* @type {string}
|
|
@@ -467,13 +467,13 @@ export interface AssetResponseDto {
|
|
* @type {string}
|
|
* @type {string}
|
|
* @memberof AssetResponseDto
|
|
* @memberof AssetResponseDto
|
|
*/
|
|
*/
|
|
- 'createdAt': string;
|
|
|
|
|
|
+ 'fileCreatedAt': string;
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @type {string}
|
|
* @type {string}
|
|
* @memberof AssetResponseDto
|
|
* @memberof AssetResponseDto
|
|
*/
|
|
*/
|
|
- 'modifiedAt': string;
|
|
|
|
|
|
+ 'fileModifiedAt': string;
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @type {string}
|
|
* @type {string}
|
|
@@ -2356,11 +2356,11 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- deleteKey: async (id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
|
|
+ deleteKey: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
// verify required parameter 'id' is not null or undefined
|
|
// verify required parameter 'id' is not null or undefined
|
|
assertParamExists('deleteKey', 'id', id)
|
|
assertParamExists('deleteKey', 'id', id)
|
|
const localVarPath = `/api-key/{id}`
|
|
const localVarPath = `/api-key/{id}`
|
|
@@ -2389,11 +2389,11 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- getKey: async (id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
|
|
+ getKey: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
// verify required parameter 'id' is not null or undefined
|
|
// verify required parameter 'id' is not null or undefined
|
|
assertParamExists('getKey', 'id', id)
|
|
assertParamExists('getKey', 'id', id)
|
|
const localVarPath = `/api-key/{id}`
|
|
const localVarPath = `/api-key/{id}`
|
|
@@ -2451,12 +2451,12 @@ export const APIKeyApiAxiosParamCreator = function (configuration?: Configuratio
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {APIKeyUpdateDto} aPIKeyUpdateDto
|
|
* @param {APIKeyUpdateDto} aPIKeyUpdateDto
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- updateKey: async (id: number, aPIKeyUpdateDto: APIKeyUpdateDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
|
|
+ updateKey: async (id: string, aPIKeyUpdateDto: APIKeyUpdateDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
// verify required parameter 'id' is not null or undefined
|
|
// verify required parameter 'id' is not null or undefined
|
|
assertParamExists('updateKey', 'id', id)
|
|
assertParamExists('updateKey', 'id', id)
|
|
// verify required parameter 'aPIKeyUpdateDto' is not null or undefined
|
|
// verify required parameter 'aPIKeyUpdateDto' is not null or undefined
|
|
@@ -2510,21 +2510,21 @@ export const APIKeyApiFp = function(configuration?: Configuration) {
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- async deleteKey(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
|
|
|
|
+ async deleteKey(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteKey(id, options);
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteKey(id, options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- async getKey(id: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIKeyResponseDto>> {
|
|
|
|
|
|
+ async getKey(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIKeyResponseDto>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getKey(id, options);
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getKey(id, options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
@@ -2539,12 +2539,12 @@ export const APIKeyApiFp = function(configuration?: Configuration) {
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {APIKeyUpdateDto} aPIKeyUpdateDto
|
|
* @param {APIKeyUpdateDto} aPIKeyUpdateDto
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- async updateKey(id: number, aPIKeyUpdateDto: APIKeyUpdateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIKeyResponseDto>> {
|
|
|
|
|
|
+ async updateKey(id: string, aPIKeyUpdateDto: APIKeyUpdateDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIKeyResponseDto>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateKey(id, aPIKeyUpdateDto, options);
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateKey(id, aPIKeyUpdateDto, options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
@@ -2569,20 +2569,20 @@ export const APIKeyApiFactory = function (configuration?: Configuration, basePat
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- deleteKey(id: number, options?: any): AxiosPromise<void> {
|
|
|
|
|
|
+ deleteKey(id: string, options?: any): AxiosPromise<void> {
|
|
return localVarFp.deleteKey(id, options).then((request) => request(axios, basePath));
|
|
return localVarFp.deleteKey(id, options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- getKey(id: number, options?: any): AxiosPromise<APIKeyResponseDto> {
|
|
|
|
|
|
+ getKey(id: string, options?: any): AxiosPromise<APIKeyResponseDto> {
|
|
return localVarFp.getKey(id, options).then((request) => request(axios, basePath));
|
|
return localVarFp.getKey(id, options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
@@ -2595,12 +2595,12 @@ export const APIKeyApiFactory = function (configuration?: Configuration, basePat
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {APIKeyUpdateDto} aPIKeyUpdateDto
|
|
* @param {APIKeyUpdateDto} aPIKeyUpdateDto
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- updateKey(id: number, aPIKeyUpdateDto: APIKeyUpdateDto, options?: any): AxiosPromise<APIKeyResponseDto> {
|
|
|
|
|
|
+ updateKey(id: string, aPIKeyUpdateDto: APIKeyUpdateDto, options?: any): AxiosPromise<APIKeyResponseDto> {
|
|
return localVarFp.updateKey(id, aPIKeyUpdateDto, options).then((request) => request(axios, basePath));
|
|
return localVarFp.updateKey(id, aPIKeyUpdateDto, options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
};
|
|
};
|
|
@@ -2626,23 +2626,23 @@ export class APIKeyApi extends BaseAPI {
|
|
|
|
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
* @memberof APIKeyApi
|
|
* @memberof APIKeyApi
|
|
*/
|
|
*/
|
|
- public deleteKey(id: number, options?: AxiosRequestConfig) {
|
|
|
|
|
|
+ public deleteKey(id: string, options?: AxiosRequestConfig) {
|
|
return APIKeyApiFp(this.configuration).deleteKey(id, options).then((request) => request(this.axios, this.basePath));
|
|
return APIKeyApiFp(this.configuration).deleteKey(id, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
* @memberof APIKeyApi
|
|
* @memberof APIKeyApi
|
|
*/
|
|
*/
|
|
- public getKey(id: number, options?: AxiosRequestConfig) {
|
|
|
|
|
|
+ public getKey(id: string, options?: AxiosRequestConfig) {
|
|
return APIKeyApiFp(this.configuration).getKey(id, options).then((request) => request(this.axios, this.basePath));
|
|
return APIKeyApiFp(this.configuration).getKey(id, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -2658,13 +2658,13 @@ export class APIKeyApi extends BaseAPI {
|
|
|
|
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {number} id
|
|
|
|
|
|
+ * @param {string} id
|
|
* @param {APIKeyUpdateDto} aPIKeyUpdateDto
|
|
* @param {APIKeyUpdateDto} aPIKeyUpdateDto
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
* @memberof APIKeyApi
|
|
* @memberof APIKeyApi
|
|
*/
|
|
*/
|
|
- public updateKey(id: number, aPIKeyUpdateDto: APIKeyUpdateDto, options?: AxiosRequestConfig) {
|
|
|
|
|
|
+ public updateKey(id: string, aPIKeyUpdateDto: APIKeyUpdateDto, options?: AxiosRequestConfig) {
|
|
return APIKeyApiFp(this.configuration).updateKey(id, aPIKeyUpdateDto, options).then((request) => request(this.axios, this.basePath));
|
|
return APIKeyApiFp(this.configuration).updateKey(id, aPIKeyUpdateDto, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -4432,8 +4432,8 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
* @param {any} assetData
|
|
* @param {any} assetData
|
|
* @param {string} deviceAssetId
|
|
* @param {string} deviceAssetId
|
|
* @param {string} deviceId
|
|
* @param {string} deviceId
|
|
- * @param {string} createdAt
|
|
|
|
- * @param {string} modifiedAt
|
|
|
|
|
|
+ * @param {string} fileCreatedAt
|
|
|
|
+ * @param {string} fileModifiedAt
|
|
* @param {boolean} isFavorite
|
|
* @param {boolean} isFavorite
|
|
* @param {string} fileExtension
|
|
* @param {string} fileExtension
|
|
* @param {any} [livePhotoData]
|
|
* @param {any} [livePhotoData]
|
|
@@ -4442,7 +4442,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- uploadFile: async (assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, createdAt: string, modifiedAt: string, isFavorite: boolean, fileExtension: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
|
|
+ uploadFile: async (assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
// verify required parameter 'assetType' is not null or undefined
|
|
// verify required parameter 'assetType' is not null or undefined
|
|
assertParamExists('uploadFile', 'assetType', assetType)
|
|
assertParamExists('uploadFile', 'assetType', assetType)
|
|
// verify required parameter 'assetData' is not null or undefined
|
|
// verify required parameter 'assetData' is not null or undefined
|
|
@@ -4451,10 +4451,10 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
assertParamExists('uploadFile', 'deviceAssetId', deviceAssetId)
|
|
assertParamExists('uploadFile', 'deviceAssetId', deviceAssetId)
|
|
// verify required parameter 'deviceId' is not null or undefined
|
|
// verify required parameter 'deviceId' is not null or undefined
|
|
assertParamExists('uploadFile', 'deviceId', deviceId)
|
|
assertParamExists('uploadFile', 'deviceId', deviceId)
|
|
- // verify required parameter 'createdAt' is not null or undefined
|
|
|
|
- assertParamExists('uploadFile', 'createdAt', createdAt)
|
|
|
|
- // verify required parameter 'modifiedAt' is not null or undefined
|
|
|
|
- assertParamExists('uploadFile', 'modifiedAt', modifiedAt)
|
|
|
|
|
|
+ // verify required parameter 'fileCreatedAt' is not null or undefined
|
|
|
|
+ assertParamExists('uploadFile', 'fileCreatedAt', fileCreatedAt)
|
|
|
|
+ // verify required parameter 'fileModifiedAt' is not null or undefined
|
|
|
|
+ assertParamExists('uploadFile', 'fileModifiedAt', fileModifiedAt)
|
|
// verify required parameter 'isFavorite' is not null or undefined
|
|
// verify required parameter 'isFavorite' is not null or undefined
|
|
assertParamExists('uploadFile', 'isFavorite', isFavorite)
|
|
assertParamExists('uploadFile', 'isFavorite', isFavorite)
|
|
// verify required parameter 'fileExtension' is not null or undefined
|
|
// verify required parameter 'fileExtension' is not null or undefined
|
|
@@ -4497,12 +4497,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
localVarFormParams.append('deviceId', deviceId as any);
|
|
localVarFormParams.append('deviceId', deviceId as any);
|
|
}
|
|
}
|
|
|
|
|
|
- if (createdAt !== undefined) {
|
|
|
|
- localVarFormParams.append('createdAt', createdAt as any);
|
|
|
|
|
|
+ if (fileCreatedAt !== undefined) {
|
|
|
|
+ localVarFormParams.append('fileCreatedAt', fileCreatedAt as any);
|
|
}
|
|
}
|
|
|
|
|
|
- if (modifiedAt !== undefined) {
|
|
|
|
- localVarFormParams.append('modifiedAt', modifiedAt as any);
|
|
|
|
|
|
+ if (fileModifiedAt !== undefined) {
|
|
|
|
+ localVarFormParams.append('fileModifiedAt', fileModifiedAt as any);
|
|
}
|
|
}
|
|
|
|
|
|
if (isFavorite !== undefined) {
|
|
if (isFavorite !== undefined) {
|
|
@@ -4772,8 +4772,8 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
|
* @param {any} assetData
|
|
* @param {any} assetData
|
|
* @param {string} deviceAssetId
|
|
* @param {string} deviceAssetId
|
|
* @param {string} deviceId
|
|
* @param {string} deviceId
|
|
- * @param {string} createdAt
|
|
|
|
- * @param {string} modifiedAt
|
|
|
|
|
|
+ * @param {string} fileCreatedAt
|
|
|
|
+ * @param {string} fileModifiedAt
|
|
* @param {boolean} isFavorite
|
|
* @param {boolean} isFavorite
|
|
* @param {string} fileExtension
|
|
* @param {string} fileExtension
|
|
* @param {any} [livePhotoData]
|
|
* @param {any} [livePhotoData]
|
|
@@ -4782,8 +4782,8 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- async uploadFile(assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, createdAt: string, modifiedAt: string, isFavorite: boolean, fileExtension: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssetFileUploadResponseDto>> {
|
|
|
|
- const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(assetType, assetData, deviceAssetId, deviceId, createdAt, modifiedAt, isFavorite, fileExtension, livePhotoData, isVisible, duration, options);
|
|
|
|
|
|
+ async uploadFile(assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssetFileUploadResponseDto>> {
|
|
|
|
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFile(assetType, assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, fileExtension, livePhotoData, isVisible, duration, options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
}
|
|
}
|
|
@@ -5002,8 +5002,8 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
|
* @param {any} assetData
|
|
* @param {any} assetData
|
|
* @param {string} deviceAssetId
|
|
* @param {string} deviceAssetId
|
|
* @param {string} deviceId
|
|
* @param {string} deviceId
|
|
- * @param {string} createdAt
|
|
|
|
- * @param {string} modifiedAt
|
|
|
|
|
|
+ * @param {string} fileCreatedAt
|
|
|
|
+ * @param {string} fileModifiedAt
|
|
* @param {boolean} isFavorite
|
|
* @param {boolean} isFavorite
|
|
* @param {string} fileExtension
|
|
* @param {string} fileExtension
|
|
* @param {any} [livePhotoData]
|
|
* @param {any} [livePhotoData]
|
|
@@ -5012,8 +5012,8 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- uploadFile(assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, createdAt: string, modifiedAt: string, isFavorite: boolean, fileExtension: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options?: any): AxiosPromise<AssetFileUploadResponseDto> {
|
|
|
|
- return localVarFp.uploadFile(assetType, assetData, deviceAssetId, deviceId, createdAt, modifiedAt, isFavorite, fileExtension, livePhotoData, isVisible, duration, options).then((request) => request(axios, basePath));
|
|
|
|
|
|
+ uploadFile(assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options?: any): AxiosPromise<AssetFileUploadResponseDto> {
|
|
|
|
+ return localVarFp.uploadFile(assetType, assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, fileExtension, livePhotoData, isVisible, duration, options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
};
|
|
};
|
|
};
|
|
};
|
|
@@ -5275,8 +5275,8 @@ export class AssetApi extends BaseAPI {
|
|
* @param {any} assetData
|
|
* @param {any} assetData
|
|
* @param {string} deviceAssetId
|
|
* @param {string} deviceAssetId
|
|
* @param {string} deviceId
|
|
* @param {string} deviceId
|
|
- * @param {string} createdAt
|
|
|
|
- * @param {string} modifiedAt
|
|
|
|
|
|
+ * @param {string} fileCreatedAt
|
|
|
|
+ * @param {string} fileModifiedAt
|
|
* @param {boolean} isFavorite
|
|
* @param {boolean} isFavorite
|
|
* @param {string} fileExtension
|
|
* @param {string} fileExtension
|
|
* @param {any} [livePhotoData]
|
|
* @param {any} [livePhotoData]
|
|
@@ -5286,8 +5286,8 @@ export class AssetApi extends BaseAPI {
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
* @memberof AssetApi
|
|
* @memberof AssetApi
|
|
*/
|
|
*/
|
|
- public uploadFile(assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, createdAt: string, modifiedAt: string, isFavorite: boolean, fileExtension: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options?: AxiosRequestConfig) {
|
|
|
|
- return AssetApiFp(this.configuration).uploadFile(assetType, assetData, deviceAssetId, deviceId, createdAt, modifiedAt, isFavorite, fileExtension, livePhotoData, isVisible, duration, options).then((request) => request(this.axios, this.basePath));
|
|
|
|
|
|
+ public uploadFile(assetType: AssetTypeEnum, assetData: any, deviceAssetId: string, deviceId: string, fileCreatedAt: string, fileModifiedAt: string, isFavorite: boolean, fileExtension: string, livePhotoData?: any, isVisible?: boolean, duration?: string, options?: AxiosRequestConfig) {
|
|
|
|
+ return AssetApiFp(this.configuration).uploadFile(assetType, assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, fileExtension, livePhotoData, isVisible, duration, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|