|
@@ -410,44 +410,6 @@ export const AssetBulkUploadCheckResultReasonEnum = {
|
|
|
|
|
|
export type AssetBulkUploadCheckResultReasonEnum = typeof AssetBulkUploadCheckResultReasonEnum[keyof typeof AssetBulkUploadCheckResultReasonEnum];
|
|
export type AssetBulkUploadCheckResultReasonEnum = typeof AssetBulkUploadCheckResultReasonEnum[keyof typeof AssetBulkUploadCheckResultReasonEnum];
|
|
|
|
|
|
-/**
|
|
|
|
- *
|
|
|
|
- * @export
|
|
|
|
- * @interface AssetCountByTimeBucket
|
|
|
|
- */
|
|
|
|
-export interface AssetCountByTimeBucket {
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @type {number}
|
|
|
|
- * @memberof AssetCountByTimeBucket
|
|
|
|
- */
|
|
|
|
- 'count': number;
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @type {string}
|
|
|
|
- * @memberof AssetCountByTimeBucket
|
|
|
|
- */
|
|
|
|
- 'timeBucket': string;
|
|
|
|
-}
|
|
|
|
-/**
|
|
|
|
- *
|
|
|
|
- * @export
|
|
|
|
- * @interface AssetCountByTimeBucketResponseDto
|
|
|
|
- */
|
|
|
|
-export interface AssetCountByTimeBucketResponseDto {
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @type {Array<AssetCountByTimeBucket>}
|
|
|
|
- * @memberof AssetCountByTimeBucketResponseDto
|
|
|
|
- */
|
|
|
|
- 'buckets': Array<AssetCountByTimeBucket>;
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @type {number}
|
|
|
|
- * @memberof AssetCountByTimeBucketResponseDto
|
|
|
|
- */
|
|
|
|
- 'totalCount': number;
|
|
|
|
-}
|
|
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @export
|
|
* @export
|
|
@@ -1286,58 +1248,6 @@ export interface ExifResponseDto {
|
|
*/
|
|
*/
|
|
'timeZone'?: string | null;
|
|
'timeZone'?: string | null;
|
|
}
|
|
}
|
|
-/**
|
|
|
|
- *
|
|
|
|
- * @export
|
|
|
|
- * @interface GetAssetByTimeBucketDto
|
|
|
|
- */
|
|
|
|
-export interface GetAssetByTimeBucketDto {
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @type {Array<string>}
|
|
|
|
- * @memberof GetAssetByTimeBucketDto
|
|
|
|
- */
|
|
|
|
- 'timeBucket': Array<string>;
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @type {string}
|
|
|
|
- * @memberof GetAssetByTimeBucketDto
|
|
|
|
- */
|
|
|
|
- 'userId'?: string;
|
|
|
|
- /**
|
|
|
|
- * Include assets without thumbnails
|
|
|
|
- * @type {boolean}
|
|
|
|
- * @memberof GetAssetByTimeBucketDto
|
|
|
|
- */
|
|
|
|
- 'withoutThumbs'?: boolean;
|
|
|
|
-}
|
|
|
|
-/**
|
|
|
|
- *
|
|
|
|
- * @export
|
|
|
|
- * @interface GetAssetCountByTimeBucketDto
|
|
|
|
- */
|
|
|
|
-export interface GetAssetCountByTimeBucketDto {
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @type {TimeGroupEnum}
|
|
|
|
- * @memberof GetAssetCountByTimeBucketDto
|
|
|
|
- */
|
|
|
|
- 'timeGroup': TimeGroupEnum;
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @type {string}
|
|
|
|
- * @memberof GetAssetCountByTimeBucketDto
|
|
|
|
- */
|
|
|
|
- 'userId'?: string;
|
|
|
|
- /**
|
|
|
|
- * Include assets without thumbnails
|
|
|
|
- * @type {boolean}
|
|
|
|
- * @memberof GetAssetCountByTimeBucketDto
|
|
|
|
- */
|
|
|
|
- 'withoutThumbs'?: boolean;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @export
|
|
* @export
|
|
@@ -2850,18 +2760,37 @@ export const ThumbnailFormat = {
|
|
export type ThumbnailFormat = typeof ThumbnailFormat[keyof typeof ThumbnailFormat];
|
|
export type ThumbnailFormat = typeof ThumbnailFormat[keyof typeof ThumbnailFormat];
|
|
|
|
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ *
|
|
|
|
+ * @export
|
|
|
|
+ * @interface TimeBucketResponseDto
|
|
|
|
+ */
|
|
|
|
+export interface TimeBucketResponseDto {
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {number}
|
|
|
|
+ * @memberof TimeBucketResponseDto
|
|
|
|
+ */
|
|
|
|
+ 'count': number;
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {string}
|
|
|
|
+ * @memberof TimeBucketResponseDto
|
|
|
|
+ */
|
|
|
|
+ 'timeBucket': string;
|
|
|
|
+}
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @export
|
|
* @export
|
|
* @enum {string}
|
|
* @enum {string}
|
|
*/
|
|
*/
|
|
|
|
|
|
-export const TimeGroupEnum = {
|
|
|
|
- Day: 'day',
|
|
|
|
- Month: 'month'
|
|
|
|
|
|
+export const TimeBucketSize = {
|
|
|
|
+ Day: 'DAY',
|
|
|
|
+ Month: 'MONTH'
|
|
} as const;
|
|
} as const;
|
|
|
|
|
|
-export type TimeGroupEnum = typeof TimeGroupEnum[keyof typeof TimeGroupEnum];
|
|
|
|
|
|
+export type TimeBucketSize = typeof TimeBucketSize[keyof typeof TimeBucketSize];
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -5049,14 +4978,11 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {GetAssetByTimeBucketDto} getAssetByTimeBucketDto
|
|
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- getAssetByTimeBucket: async (getAssetByTimeBucketDto: GetAssetByTimeBucketDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
- // verify required parameter 'getAssetByTimeBucketDto' is not null or undefined
|
|
|
|
- assertParamExists('getAssetByTimeBucket', 'getAssetByTimeBucketDto', getAssetByTimeBucketDto)
|
|
|
|
- const localVarPath = `/asset/time-bucket`;
|
|
|
|
|
|
+ getAssetSearchTerms: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
+ const localVarPath = `/asset/search-terms`;
|
|
// 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);
|
|
let baseOptions;
|
|
let baseOptions;
|
|
@@ -5064,7 +4990,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
baseOptions = configuration.baseOptions;
|
|
baseOptions = configuration.baseOptions;
|
|
}
|
|
}
|
|
|
|
|
|
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
|
|
|
|
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
const localVarHeaderParameter = {} as any;
|
|
const localVarHeaderParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
@@ -5079,12 +5005,9 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
|
|
-
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
- localVarRequestOptions.data = serializeDataIfNeeded(getAssetByTimeBucketDto, localVarRequestOptions, configuration)
|
|
|
|
|
|
|
|
return {
|
|
return {
|
|
url: toPathString(localVarUrlObj),
|
|
url: toPathString(localVarUrlObj),
|
|
@@ -5093,14 +5016,13 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param {GetAssetCountByTimeBucketDto} getAssetCountByTimeBucketDto
|
|
|
|
|
|
+ * @param {boolean} [isArchived]
|
|
|
|
+ * @param {boolean} [isFavorite]
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- getAssetCountByTimeBucket: async (getAssetCountByTimeBucketDto: GetAssetCountByTimeBucketDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
- // verify required parameter 'getAssetCountByTimeBucketDto' is not null or undefined
|
|
|
|
- assertParamExists('getAssetCountByTimeBucket', 'getAssetCountByTimeBucketDto', getAssetCountByTimeBucketDto)
|
|
|
|
- const localVarPath = `/asset/count-by-time-bucket`;
|
|
|
|
|
|
+ getAssetStats: async (isArchived?: boolean, isFavorite?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
+ const localVarPath = `/asset/statistics`;
|
|
// 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);
|
|
let baseOptions;
|
|
let baseOptions;
|
|
@@ -5108,7 +5030,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
baseOptions = configuration.baseOptions;
|
|
baseOptions = configuration.baseOptions;
|
|
}
|
|
}
|
|
|
|
|
|
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
|
|
|
|
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
const localVarHeaderParameter = {} as any;
|
|
const localVarHeaderParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
@@ -5121,14 +5043,19 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
// http bearer authentication required
|
|
// http bearer authentication required
|
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
|
|
|
|
|
|
+ if (isArchived !== undefined) {
|
|
|
|
+ localVarQueryParameter['isArchived'] = isArchived;
|
|
|
|
+ }
|
|
|
|
|
|
-
|
|
|
|
- localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
|
|
|
|
+ if (isFavorite !== undefined) {
|
|
|
|
+ localVarQueryParameter['isFavorite'] = isFavorite;
|
|
|
|
+ }
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
- localVarRequestOptions.data = serializeDataIfNeeded(getAssetCountByTimeBucketDto, localVarRequestOptions, configuration)
|
|
|
|
|
|
|
|
return {
|
|
return {
|
|
url: toPathString(localVarUrlObj),
|
|
url: toPathString(localVarUrlObj),
|
|
@@ -5137,11 +5064,17 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
|
|
+ * @param {string} id
|
|
|
|
+ * @param {ThumbnailFormat} [format]
|
|
|
|
+ * @param {string} [key]
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- getAssetSearchTerms: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
- const localVarPath = `/asset/search-terms`;
|
|
|
|
|
|
+ getAssetThumbnail: async (id: string, format?: ThumbnailFormat, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
+ // verify required parameter 'id' is not null or undefined
|
|
|
|
+ assertParamExists('getAssetThumbnail', 'id', id)
|
|
|
|
+ const localVarPath = `/asset/thumbnail/{id}`
|
|
|
|
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
// 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);
|
|
let baseOptions;
|
|
let baseOptions;
|
|
@@ -5162,6 +5095,14 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
// http bearer authentication required
|
|
// http bearer authentication required
|
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
|
|
|
|
|
|
+ if (format !== undefined) {
|
|
|
|
+ localVarQueryParameter['format'] = format;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (key !== undefined) {
|
|
|
|
+ localVarQueryParameter['key'] = key;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5175,13 +5116,22 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
|
|
+ * @param {TimeBucketSize} size
|
|
|
|
+ * @param {string} timeBucket
|
|
|
|
+ * @param {string} [userId]
|
|
|
|
+ * @param {string} [albumId]
|
|
* @param {boolean} [isArchived]
|
|
* @param {boolean} [isArchived]
|
|
* @param {boolean} [isFavorite]
|
|
* @param {boolean} [isFavorite]
|
|
|
|
+ * @param {string} [key]
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
*/
|
|
*/
|
|
- getAssetStats: async (isArchived?: boolean, isFavorite?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
- const localVarPath = `/asset/statistics`;
|
|
|
|
|
|
+ getByTimeBucket: async (size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, isArchived?: boolean, isFavorite?: boolean, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
+ // verify required parameter 'size' is not null or undefined
|
|
|
|
+ assertParamExists('getByTimeBucket', 'size', size)
|
|
|
|
+ // verify required parameter 'timeBucket' is not null or undefined
|
|
|
|
+ assertParamExists('getByTimeBucket', 'timeBucket', timeBucket)
|
|
|
|
+ const localVarPath = `/asset/time-bucket`;
|
|
// 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);
|
|
let baseOptions;
|
|
let baseOptions;
|
|
@@ -5202,60 +5152,28 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
// http bearer authentication required
|
|
// http bearer authentication required
|
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
|
|
|
|
- if (isArchived !== undefined) {
|
|
|
|
- localVarQueryParameter['isArchived'] = isArchived;
|
|
|
|
|
|
+ if (size !== undefined) {
|
|
|
|
+ localVarQueryParameter['size'] = size;
|
|
}
|
|
}
|
|
|
|
|
|
- if (isFavorite !== undefined) {
|
|
|
|
- localVarQueryParameter['isFavorite'] = isFavorite;
|
|
|
|
|
|
+ if (userId !== undefined) {
|
|
|
|
+ localVarQueryParameter['userId'] = userId;
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
|
|
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
|
|
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
-
|
|
|
|
- return {
|
|
|
|
- url: toPathString(localVarUrlObj),
|
|
|
|
- options: localVarRequestOptions,
|
|
|
|
- };
|
|
|
|
- },
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @param {string} id
|
|
|
|
- * @param {ThumbnailFormat} [format]
|
|
|
|
- * @param {string} [key]
|
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
|
- * @throws {RequiredError}
|
|
|
|
- */
|
|
|
|
- getAssetThumbnail: async (id: string, format?: ThumbnailFormat, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
- // verify required parameter 'id' is not null or undefined
|
|
|
|
- assertParamExists('getAssetThumbnail', 'id', id)
|
|
|
|
- const localVarPath = `/asset/thumbnail/{id}`
|
|
|
|
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
|
|
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
|
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
|
|
- let baseOptions;
|
|
|
|
- if (configuration) {
|
|
|
|
- baseOptions = configuration.baseOptions;
|
|
|
|
|
|
+ if (albumId !== undefined) {
|
|
|
|
+ localVarQueryParameter['albumId'] = albumId;
|
|
}
|
|
}
|
|
|
|
|
|
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
|
|
- const localVarHeaderParameter = {} as any;
|
|
|
|
- const localVarQueryParameter = {} as any;
|
|
|
|
-
|
|
|
|
- // authentication cookie required
|
|
|
|
-
|
|
|
|
- // authentication api_key required
|
|
|
|
- await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
|
|
|
|
+ if (isArchived !== undefined) {
|
|
|
|
+ localVarQueryParameter['isArchived'] = isArchived;
|
|
|
|
+ }
|
|
|
|
|
|
- // authentication bearer required
|
|
|
|
- // http bearer authentication required
|
|
|
|
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
|
|
|
|
+ if (isFavorite !== undefined) {
|
|
|
|
+ localVarQueryParameter['isFavorite'] = isFavorite;
|
|
|
|
+ }
|
|
|
|
|
|
- if (format !== undefined) {
|
|
|
|
- localVarQueryParameter['format'] = format;
|
|
|
|
|
|
+ if (timeBucket !== undefined) {
|
|
|
|
+ localVarQueryParameter['timeBucket'] = timeBucket;
|
|
}
|
|
}
|
|
|
|
|
|
if (key !== undefined) {
|
|
if (key !== undefined) {
|
|
@@ -5507,6 +5425,76 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
|
|
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
|
|
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
+
|
|
|
|
+ return {
|
|
|
|
+ url: toPathString(localVarUrlObj),
|
|
|
|
+ options: localVarRequestOptions,
|
|
|
|
+ };
|
|
|
|
+ },
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {TimeBucketSize} size
|
|
|
|
+ * @param {string} [userId]
|
|
|
|
+ * @param {string} [albumId]
|
|
|
|
+ * @param {boolean} [isArchived]
|
|
|
|
+ * @param {boolean} [isFavorite]
|
|
|
|
+ * @param {string} [key]
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ */
|
|
|
|
+ getTimeBuckets: async (size: TimeBucketSize, userId?: string, albumId?: string, isArchived?: boolean, isFavorite?: boolean, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
+ // verify required parameter 'size' is not null or undefined
|
|
|
|
+ assertParamExists('getTimeBuckets', 'size', size)
|
|
|
|
+ const localVarPath = `/asset/time-buckets`;
|
|
|
|
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
|
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
|
|
+ let baseOptions;
|
|
|
|
+ if (configuration) {
|
|
|
|
+ baseOptions = configuration.baseOptions;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
|
|
+ const localVarHeaderParameter = {} as any;
|
|
|
|
+ const localVarQueryParameter = {} as any;
|
|
|
|
+
|
|
|
|
+ // authentication cookie required
|
|
|
|
+
|
|
|
|
+ // authentication api_key required
|
|
|
|
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
|
|
+
|
|
|
|
+ // authentication bearer required
|
|
|
|
+ // http bearer authentication required
|
|
|
|
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
|
|
+
|
|
|
|
+ if (size !== undefined) {
|
|
|
|
+ localVarQueryParameter['size'] = size;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (userId !== undefined) {
|
|
|
|
+ localVarQueryParameter['userId'] = userId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (albumId !== undefined) {
|
|
|
|
+ localVarQueryParameter['albumId'] = albumId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (isArchived !== undefined) {
|
|
|
|
+ localVarQueryParameter['isArchived'] = isArchived;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (isFavorite !== undefined) {
|
|
|
|
+ localVarQueryParameter['isFavorite'] = isFavorite;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (key !== undefined) {
|
|
|
|
+ localVarQueryParameter['key'] = key;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5969,26 +5957,6 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetById(id, key, options);
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetById(id, key, options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @param {GetAssetByTimeBucketDto} getAssetByTimeBucketDto
|
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
|
- * @throws {RequiredError}
|
|
|
|
- */
|
|
|
|
- async getAssetByTimeBucket(getAssetByTimeBucketDto: GetAssetByTimeBucketDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AssetResponseDto>>> {
|
|
|
|
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetByTimeBucket(getAssetByTimeBucketDto, options);
|
|
|
|
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
|
|
- },
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @param {GetAssetCountByTimeBucketDto} getAssetCountByTimeBucketDto
|
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
|
- * @throws {RequiredError}
|
|
|
|
- */
|
|
|
|
- async getAssetCountByTimeBucket(getAssetCountByTimeBucketDto: GetAssetCountByTimeBucketDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssetCountByTimeBucketResponseDto>> {
|
|
|
|
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAssetCountByTimeBucket(getAssetCountByTimeBucketDto, options);
|
|
|
|
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
|
|
- },
|
|
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
@@ -6021,6 +5989,22 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
|
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);
|
|
},
|
|
},
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {TimeBucketSize} size
|
|
|
|
+ * @param {string} timeBucket
|
|
|
|
+ * @param {string} [userId]
|
|
|
|
+ * @param {string} [albumId]
|
|
|
|
+ * @param {boolean} [isArchived]
|
|
|
|
+ * @param {boolean} [isFavorite]
|
|
|
|
+ * @param {string} [key]
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ */
|
|
|
|
+ async getByTimeBucket(size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, isArchived?: boolean, isFavorite?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AssetResponseDto>>> {
|
|
|
|
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getByTimeBucket(size, timeBucket, userId, albumId, isArchived, isFavorite, key, options);
|
|
|
|
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
|
|
+ },
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
@@ -6075,6 +6059,21 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMemoryLane(timestamp, options);
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMemoryLane(timestamp, options);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
},
|
|
},
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {TimeBucketSize} size
|
|
|
|
+ * @param {string} [userId]
|
|
|
|
+ * @param {string} [albumId]
|
|
|
|
+ * @param {boolean} [isArchived]
|
|
|
|
+ * @param {boolean} [isFavorite]
|
|
|
|
+ * @param {string} [key]
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ */
|
|
|
|
+ async getTimeBuckets(size: TimeBucketSize, userId?: string, albumId?: string, isArchived?: boolean, isFavorite?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TimeBucketResponseDto>>> {
|
|
|
|
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTimeBuckets(size, userId, albumId, isArchived, isFavorite, key, options);
|
|
|
|
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
|
|
+ },
|
|
/**
|
|
/**
|
|
* 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.
|
|
* @param {string} deviceId
|
|
* @param {string} deviceId
|
|
@@ -6242,24 +6241,6 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
|
getAssetById(id: string, key?: string, options?: any): AxiosPromise<AssetResponseDto> {
|
|
getAssetById(id: string, key?: string, options?: any): AxiosPromise<AssetResponseDto> {
|
|
return localVarFp.getAssetById(id, key, options).then((request) => request(axios, basePath));
|
|
return localVarFp.getAssetById(id, key, options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @param {GetAssetByTimeBucketDto} getAssetByTimeBucketDto
|
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
|
- * @throws {RequiredError}
|
|
|
|
- */
|
|
|
|
- getAssetByTimeBucket(getAssetByTimeBucketDto: GetAssetByTimeBucketDto, options?: any): AxiosPromise<Array<AssetResponseDto>> {
|
|
|
|
- return localVarFp.getAssetByTimeBucket(getAssetByTimeBucketDto, options).then((request) => request(axios, basePath));
|
|
|
|
- },
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @param {GetAssetCountByTimeBucketDto} getAssetCountByTimeBucketDto
|
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
|
- * @throws {RequiredError}
|
|
|
|
- */
|
|
|
|
- getAssetCountByTimeBucket(getAssetCountByTimeBucketDto: GetAssetCountByTimeBucketDto, options?: any): AxiosPromise<AssetCountByTimeBucketResponseDto> {
|
|
|
|
- return localVarFp.getAssetCountByTimeBucket(getAssetCountByTimeBucketDto, options).then((request) => request(axios, basePath));
|
|
|
|
- },
|
|
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
@@ -6289,6 +6270,21 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
|
getAssetThumbnail(id: string, format?: ThumbnailFormat, key?: string, options?: any): AxiosPromise<File> {
|
|
getAssetThumbnail(id: string, format?: ThumbnailFormat, key?: string, options?: any): AxiosPromise<File> {
|
|
return localVarFp.getAssetThumbnail(id, format, key, options).then((request) => request(axios, basePath));
|
|
return localVarFp.getAssetThumbnail(id, format, key, options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {TimeBucketSize} size
|
|
|
|
+ * @param {string} timeBucket
|
|
|
|
+ * @param {string} [userId]
|
|
|
|
+ * @param {string} [albumId]
|
|
|
|
+ * @param {boolean} [isArchived]
|
|
|
|
+ * @param {boolean} [isFavorite]
|
|
|
|
+ * @param {string} [key]
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ */
|
|
|
|
+ getByTimeBucket(size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, isArchived?: boolean, isFavorite?: boolean, key?: string, options?: any): AxiosPromise<Array<AssetResponseDto>> {
|
|
|
|
+ return localVarFp.getByTimeBucket(size, timeBucket, userId, albumId, isArchived, isFavorite, key, options).then((request) => request(axios, basePath));
|
|
|
|
+ },
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
@@ -6338,6 +6334,20 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
|
getMemoryLane(timestamp: string, options?: any): AxiosPromise<Array<MemoryLaneResponseDto>> {
|
|
getMemoryLane(timestamp: string, options?: any): AxiosPromise<Array<MemoryLaneResponseDto>> {
|
|
return localVarFp.getMemoryLane(timestamp, options).then((request) => request(axios, basePath));
|
|
return localVarFp.getMemoryLane(timestamp, options).then((request) => request(axios, basePath));
|
|
},
|
|
},
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {TimeBucketSize} size
|
|
|
|
+ * @param {string} [userId]
|
|
|
|
+ * @param {string} [albumId]
|
|
|
|
+ * @param {boolean} [isArchived]
|
|
|
|
+ * @param {boolean} [isFavorite]
|
|
|
|
+ * @param {string} [key]
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ */
|
|
|
|
+ getTimeBuckets(size: TimeBucketSize, userId?: string, albumId?: string, isArchived?: boolean, isFavorite?: boolean, key?: string, options?: any): AxiosPromise<Array<TimeBucketResponseDto>> {
|
|
|
|
+ return localVarFp.getTimeBuckets(size, userId, albumId, isArchived, isFavorite, key, 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.
|
|
* @param {string} deviceId
|
|
* @param {string} deviceId
|
|
@@ -6586,34 +6596,6 @@ export interface AssetApiGetAssetByIdRequest {
|
|
readonly key?: string
|
|
readonly key?: string
|
|
}
|
|
}
|
|
|
|
|
|
-/**
|
|
|
|
- * Request parameters for getAssetByTimeBucket operation in AssetApi.
|
|
|
|
- * @export
|
|
|
|
- * @interface AssetApiGetAssetByTimeBucketRequest
|
|
|
|
- */
|
|
|
|
-export interface AssetApiGetAssetByTimeBucketRequest {
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @type {GetAssetByTimeBucketDto}
|
|
|
|
- * @memberof AssetApiGetAssetByTimeBucket
|
|
|
|
- */
|
|
|
|
- readonly getAssetByTimeBucketDto: GetAssetByTimeBucketDto
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * Request parameters for getAssetCountByTimeBucket operation in AssetApi.
|
|
|
|
- * @export
|
|
|
|
- * @interface AssetApiGetAssetCountByTimeBucketRequest
|
|
|
|
- */
|
|
|
|
-export interface AssetApiGetAssetCountByTimeBucketRequest {
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @type {GetAssetCountByTimeBucketDto}
|
|
|
|
- * @memberof AssetApiGetAssetCountByTimeBucket
|
|
|
|
- */
|
|
|
|
- readonly getAssetCountByTimeBucketDto: GetAssetCountByTimeBucketDto
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* Request parameters for getAssetStats operation in AssetApi.
|
|
* Request parameters for getAssetStats operation in AssetApi.
|
|
* @export
|
|
* @export
|
|
@@ -6663,6 +6645,62 @@ export interface AssetApiGetAssetThumbnailRequest {
|
|
readonly key?: string
|
|
readonly key?: string
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * Request parameters for getByTimeBucket operation in AssetApi.
|
|
|
|
+ * @export
|
|
|
|
+ * @interface AssetApiGetByTimeBucketRequest
|
|
|
|
+ */
|
|
|
|
+export interface AssetApiGetByTimeBucketRequest {
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {TimeBucketSize}
|
|
|
|
+ * @memberof AssetApiGetByTimeBucket
|
|
|
|
+ */
|
|
|
|
+ readonly size: TimeBucketSize
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {string}
|
|
|
|
+ * @memberof AssetApiGetByTimeBucket
|
|
|
|
+ */
|
|
|
|
+ readonly timeBucket: string
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {string}
|
|
|
|
+ * @memberof AssetApiGetByTimeBucket
|
|
|
|
+ */
|
|
|
|
+ readonly userId?: string
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {string}
|
|
|
|
+ * @memberof AssetApiGetByTimeBucket
|
|
|
|
+ */
|
|
|
|
+ readonly albumId?: string
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {boolean}
|
|
|
|
+ * @memberof AssetApiGetByTimeBucket
|
|
|
|
+ */
|
|
|
|
+ readonly isArchived?: boolean
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {boolean}
|
|
|
|
+ * @memberof AssetApiGetByTimeBucket
|
|
|
|
+ */
|
|
|
|
+ readonly isFavorite?: boolean
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {string}
|
|
|
|
+ * @memberof AssetApiGetByTimeBucket
|
|
|
|
+ */
|
|
|
|
+ readonly key?: string
|
|
|
|
+}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Request parameters for getDownloadInfo operation in AssetApi.
|
|
* Request parameters for getDownloadInfo operation in AssetApi.
|
|
* @export
|
|
* @export
|
|
@@ -6747,6 +6785,55 @@ export interface AssetApiGetMemoryLaneRequest {
|
|
readonly timestamp: string
|
|
readonly timestamp: string
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * Request parameters for getTimeBuckets operation in AssetApi.
|
|
|
|
+ * @export
|
|
|
|
+ * @interface AssetApiGetTimeBucketsRequest
|
|
|
|
+ */
|
|
|
|
+export interface AssetApiGetTimeBucketsRequest {
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {TimeBucketSize}
|
|
|
|
+ * @memberof AssetApiGetTimeBuckets
|
|
|
|
+ */
|
|
|
|
+ readonly size: TimeBucketSize
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {string}
|
|
|
|
+ * @memberof AssetApiGetTimeBuckets
|
|
|
|
+ */
|
|
|
|
+ readonly userId?: string
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {string}
|
|
|
|
+ * @memberof AssetApiGetTimeBuckets
|
|
|
|
+ */
|
|
|
|
+ readonly albumId?: string
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {boolean}
|
|
|
|
+ * @memberof AssetApiGetTimeBuckets
|
|
|
|
+ */
|
|
|
|
+ readonly isArchived?: boolean
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {boolean}
|
|
|
|
+ * @memberof AssetApiGetTimeBuckets
|
|
|
|
+ */
|
|
|
|
+ readonly isFavorite?: boolean
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @type {string}
|
|
|
|
+ * @memberof AssetApiGetTimeBuckets
|
|
|
|
+ */
|
|
|
|
+ readonly key?: string
|
|
|
|
+}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Request parameters for getUserAssetsByDeviceId operation in AssetApi.
|
|
* Request parameters for getUserAssetsByDeviceId operation in AssetApi.
|
|
* @export
|
|
* @export
|
|
@@ -7038,28 +7125,6 @@ export class AssetApi extends BaseAPI {
|
|
return AssetApiFp(this.configuration).getAssetById(requestParameters.id, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
return AssetApiFp(this.configuration).getAssetById(requestParameters.id, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @param {AssetApiGetAssetByTimeBucketRequest} requestParameters Request parameters.
|
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
|
- * @throws {RequiredError}
|
|
|
|
- * @memberof AssetApi
|
|
|
|
- */
|
|
|
|
- public getAssetByTimeBucket(requestParameters: AssetApiGetAssetByTimeBucketRequest, options?: AxiosRequestConfig) {
|
|
|
|
- return AssetApiFp(this.configuration).getAssetByTimeBucket(requestParameters.getAssetByTimeBucketDto, options).then((request) => request(this.axios, this.basePath));
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- *
|
|
|
|
- * @param {AssetApiGetAssetCountByTimeBucketRequest} requestParameters Request parameters.
|
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
|
- * @throws {RequiredError}
|
|
|
|
- * @memberof AssetApi
|
|
|
|
- */
|
|
|
|
- public getAssetCountByTimeBucket(requestParameters: AssetApiGetAssetCountByTimeBucketRequest, options?: AxiosRequestConfig) {
|
|
|
|
- return AssetApiFp(this.configuration).getAssetCountByTimeBucket(requestParameters.getAssetCountByTimeBucketDto, options).then((request) => request(this.axios, this.basePath));
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
@@ -7092,6 +7157,17 @@ export class AssetApi extends BaseAPI {
|
|
return AssetApiFp(this.configuration).getAssetThumbnail(requestParameters.id, requestParameters.format, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
return AssetApiFp(this.configuration).getAssetThumbnail(requestParameters.id, requestParameters.format, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {AssetApiGetByTimeBucketRequest} requestParameters Request parameters.
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ * @memberof AssetApi
|
|
|
|
+ */
|
|
|
|
+ public getByTimeBucket(requestParameters: AssetApiGetByTimeBucketRequest, options?: AxiosRequestConfig) {
|
|
|
|
+ return AssetApiFp(this.configuration).getByTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.userId, requestParameters.albumId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
@@ -7145,6 +7221,17 @@ export class AssetApi extends BaseAPI {
|
|
return AssetApiFp(this.configuration).getMemoryLane(requestParameters.timestamp, options).then((request) => request(this.axios, this.basePath));
|
|
return AssetApiFp(this.configuration).getMemoryLane(requestParameters.timestamp, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @param {AssetApiGetTimeBucketsRequest} requestParameters Request parameters.
|
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
|
+ * @throws {RequiredError}
|
|
|
|
+ * @memberof AssetApi
|
|
|
|
+ */
|
|
|
|
+ public getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig) {
|
|
|
|
+ return AssetApiFp(this.configuration).getTimeBuckets(requestParameters.size, requestParameters.userId, requestParameters.albumId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.key, options).then((request) => request(this.axios, this.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.
|
|
* @param {AssetApiGetUserAssetsByDeviceIdRequest} requestParameters Request parameters.
|
|
* @param {AssetApiGetUserAssetsByDeviceIdRequest} requestParameters Request parameters.
|