chore: regenerate api
This commit is contained in:
parent
b96f04efec
commit
f249a3761b
22 changed files with 1073 additions and 362 deletions
561
cli/src/api/open-api/api.ts
generated
561
cli/src/api/open-api/api.ts
generated
|
@ -209,43 +209,6 @@ export interface AddUsersDto {
|
||||||
*/
|
*/
|
||||||
'sharedUserIds': Array<string>;
|
'sharedUserIds': Array<string>;
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
export interface AdminSignupResponseDto {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
'createdAt': string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
'email': string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
'firstName': string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
'id': string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
'lastName': string;
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -1378,24 +1341,18 @@ export interface CreateUserDto {
|
||||||
* @memberof CreateUserDto
|
* @memberof CreateUserDto
|
||||||
*/
|
*/
|
||||||
'externalPath'?: string | null;
|
'externalPath'?: string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof CreateUserDto
|
|
||||||
*/
|
|
||||||
'firstName': string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof CreateUserDto
|
|
||||||
*/
|
|
||||||
'lastName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @memberof CreateUserDto
|
* @memberof CreateUserDto
|
||||||
*/
|
*/
|
||||||
'memoriesEnabled'?: boolean;
|
'memoriesEnabled'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof CreateUserDto
|
||||||
|
*/
|
||||||
|
'name': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -2174,12 +2131,6 @@ export interface LoginResponseDto {
|
||||||
* @memberof LoginResponseDto
|
* @memberof LoginResponseDto
|
||||||
*/
|
*/
|
||||||
'accessToken': string;
|
'accessToken': string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof LoginResponseDto
|
|
||||||
*/
|
|
||||||
'firstName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
@ -2191,7 +2142,7 @@ export interface LoginResponseDto {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof LoginResponseDto
|
* @memberof LoginResponseDto
|
||||||
*/
|
*/
|
||||||
'lastName': string;
|
'name': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -2261,6 +2212,20 @@ export interface MapMarkerResponseDto {
|
||||||
*/
|
*/
|
||||||
'lon': number;
|
'lon': number;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @export
|
||||||
|
* @enum {string}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const MapTheme = {
|
||||||
|
Light: 'light',
|
||||||
|
Dark: 'dark'
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
export type MapTheme = typeof MapTheme[keyof typeof MapTheme];
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -2384,6 +2349,119 @@ export interface OAuthConfigResponseDto {
|
||||||
*/
|
*/
|
||||||
'url'?: string;
|
'url'?: string;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @export
|
||||||
|
* @interface PartnerResponseDto
|
||||||
|
*/
|
||||||
|
export interface PartnerResponseDto {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'avatarColor': PartnerResponseDtoAvatarColorEnum;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'createdAt': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'deletedAt': string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'email': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'externalPath': string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'id': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'inTimeline'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'isAdmin': boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'memoriesEnabled'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'name': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'oauthId': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'profileImagePath': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'shouldChangePassword': boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'storageLabel': string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'updatedAt': string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const PartnerResponseDtoAvatarColorEnum = {
|
||||||
|
Primary: 'primary',
|
||||||
|
Pink: 'pink',
|
||||||
|
Red: 'red',
|
||||||
|
Yellow: 'yellow',
|
||||||
|
Blue: 'blue',
|
||||||
|
Green: 'green',
|
||||||
|
Purple: 'purple',
|
||||||
|
Orange: 'orange',
|
||||||
|
Gray: 'gray',
|
||||||
|
Amber: 'amber'
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
export type PartnerResponseDtoAvatarColorEnum = typeof PartnerResponseDtoAvatarColorEnum[keyof typeof PartnerResponseDtoAvatarColorEnum];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -2593,6 +2671,20 @@ export interface QueueStatusDto {
|
||||||
*/
|
*/
|
||||||
'isPaused': boolean;
|
'isPaused': boolean;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @export
|
||||||
|
* @enum {string}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const ReactionLevel = {
|
||||||
|
Album: 'album',
|
||||||
|
Asset: 'asset'
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
export type ReactionLevel = typeof ReactionLevel[keyof typeof ReactionLevel];
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -2859,12 +2951,6 @@ export interface ServerConfigDto {
|
||||||
* @memberof ServerConfigDto
|
* @memberof ServerConfigDto
|
||||||
*/
|
*/
|
||||||
'loginPageMessage': string;
|
'loginPageMessage': string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof ServerConfigDto
|
|
||||||
*/
|
|
||||||
'mapTileUrl': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -3349,13 +3435,7 @@ export interface SignUpDto {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof SignUpDto
|
* @memberof SignUpDto
|
||||||
*/
|
*/
|
||||||
'firstName': string;
|
'name': string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SignUpDto
|
|
||||||
*/
|
|
||||||
'lastName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -3732,6 +3812,12 @@ export interface SystemConfigMachineLearningDto {
|
||||||
* @interface SystemConfigMapDto
|
* @interface SystemConfigMapDto
|
||||||
*/
|
*/
|
||||||
export interface SystemConfigMapDto {
|
export interface SystemConfigMapDto {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof SystemConfigMapDto
|
||||||
|
*/
|
||||||
|
'darkStyle': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
@ -3743,7 +3829,7 @@ export interface SystemConfigMapDto {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof SystemConfigMapDto
|
* @memberof SystemConfigMapDto
|
||||||
*/
|
*/
|
||||||
'tileUrl': string;
|
'lightStyle': string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -4229,6 +4315,19 @@ export interface UpdateLibraryDto {
|
||||||
*/
|
*/
|
||||||
'name'?: string;
|
'name'?: string;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @export
|
||||||
|
* @interface UpdatePartnerDto
|
||||||
|
*/
|
||||||
|
export interface UpdatePartnerDto {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof UpdatePartnerDto
|
||||||
|
*/
|
||||||
|
'inTimeline': boolean;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -4285,12 +4384,6 @@ export interface UpdateUserDto {
|
||||||
* @memberof UpdateUserDto
|
* @memberof UpdateUserDto
|
||||||
*/
|
*/
|
||||||
'externalPath'?: string;
|
'externalPath'?: string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UpdateUserDto
|
|
||||||
*/
|
|
||||||
'firstName'?: string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4303,18 +4396,18 @@ export interface UpdateUserDto {
|
||||||
* @memberof UpdateUserDto
|
* @memberof UpdateUserDto
|
||||||
*/
|
*/
|
||||||
'isAdmin'?: boolean;
|
'isAdmin'?: boolean;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UpdateUserDto
|
|
||||||
*/
|
|
||||||
'lastName'?: string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @memberof UpdateUserDto
|
* @memberof UpdateUserDto
|
||||||
*/
|
*/
|
||||||
'memoriesEnabled'?: boolean;
|
'memoriesEnabled'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof UpdateUserDto
|
||||||
|
*/
|
||||||
|
'name'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4354,12 +4447,6 @@ export interface UsageByUserDto {
|
||||||
* @memberof UsageByUserDto
|
* @memberof UsageByUserDto
|
||||||
*/
|
*/
|
||||||
'usage': number;
|
'usage': number;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UsageByUserDto
|
|
||||||
*/
|
|
||||||
'userFirstName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4371,7 +4458,7 @@ export interface UsageByUserDto {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof UsageByUserDto
|
* @memberof UsageByUserDto
|
||||||
*/
|
*/
|
||||||
'userLastName': string;
|
'userName': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
|
@ -4419,12 +4506,6 @@ export interface UserDto {
|
||||||
* @memberof UserDto
|
* @memberof UserDto
|
||||||
*/
|
*/
|
||||||
'email': string;
|
'email': string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UserDto
|
|
||||||
*/
|
|
||||||
'firstName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4436,7 +4517,7 @@ export interface UserDto {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof UserDto
|
* @memberof UserDto
|
||||||
*/
|
*/
|
||||||
'lastName': string;
|
'name': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4496,12 +4577,6 @@ export interface UserResponseDto {
|
||||||
* @memberof UserResponseDto
|
* @memberof UserResponseDto
|
||||||
*/
|
*/
|
||||||
'externalPath': string | null;
|
'externalPath': string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UserResponseDto
|
|
||||||
*/
|
|
||||||
'firstName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4514,18 +4589,18 @@ export interface UserResponseDto {
|
||||||
* @memberof UserResponseDto
|
* @memberof UserResponseDto
|
||||||
*/
|
*/
|
||||||
'isAdmin': boolean;
|
'isAdmin': boolean;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UserResponseDto
|
|
||||||
*/
|
|
||||||
'lastName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @memberof UserResponseDto
|
* @memberof UserResponseDto
|
||||||
*/
|
*/
|
||||||
'memoriesEnabled'?: boolean;
|
'memoriesEnabled'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof UserResponseDto
|
||||||
|
*/
|
||||||
|
'name': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -5162,11 +5237,12 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat
|
||||||
* @param {string} albumId
|
* @param {string} albumId
|
||||||
* @param {string} [assetId]
|
* @param {string} [assetId]
|
||||||
* @param {ReactionType} [type]
|
* @param {ReactionType} [type]
|
||||||
|
* @param {ReactionLevel} [level]
|
||||||
* @param {string} [userId]
|
* @param {string} [userId]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getActivities: async (albumId: string, assetId?: string, type?: ReactionType, userId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
getActivities: async (albumId: string, assetId?: string, type?: ReactionType, level?: ReactionLevel, userId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
// verify required parameter 'albumId' is not null or undefined
|
// verify required parameter 'albumId' is not null or undefined
|
||||||
assertParamExists('getActivities', 'albumId', albumId)
|
assertParamExists('getActivities', 'albumId', albumId)
|
||||||
const localVarPath = `/activity`;
|
const localVarPath = `/activity`;
|
||||||
|
@ -5202,6 +5278,10 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat
|
||||||
localVarQueryParameter['type'] = type;
|
localVarQueryParameter['type'] = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (level !== undefined) {
|
||||||
|
localVarQueryParameter['level'] = level;
|
||||||
|
}
|
||||||
|
|
||||||
if (userId !== undefined) {
|
if (userId !== undefined) {
|
||||||
localVarQueryParameter['userId'] = userId;
|
localVarQueryParameter['userId'] = userId;
|
||||||
}
|
}
|
||||||
|
@ -5302,12 +5382,13 @@ export const ActivityApiFp = function(configuration?: Configuration) {
|
||||||
* @param {string} albumId
|
* @param {string} albumId
|
||||||
* @param {string} [assetId]
|
* @param {string} [assetId]
|
||||||
* @param {ReactionType} [type]
|
* @param {ReactionType} [type]
|
||||||
|
* @param {ReactionLevel} [level]
|
||||||
* @param {string} [userId]
|
* @param {string} [userId]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async getActivities(albumId: string, assetId?: string, type?: ReactionType, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ActivityResponseDto>>> {
|
async getActivities(albumId: string, assetId?: string, type?: ReactionType, level?: ReactionLevel, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ActivityResponseDto>>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getActivities(albumId, assetId, type, userId, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getActivities(albumId, assetId, type, level, userId, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -5356,7 +5437,7 @@ export const ActivityApiFactory = function (configuration?: Configuration, baseP
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<ActivityResponseDto>> {
|
getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<ActivityResponseDto>> {
|
||||||
return localVarFp.getActivities(requestParameters.albumId, requestParameters.assetId, requestParameters.type, requestParameters.userId, options).then((request) => request(axios, basePath));
|
return localVarFp.getActivities(requestParameters.albumId, requestParameters.assetId, requestParameters.type, requestParameters.level, requestParameters.userId, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -5425,6 +5506,13 @@ export interface ActivityApiGetActivitiesRequest {
|
||||||
*/
|
*/
|
||||||
readonly type?: ReactionType
|
readonly type?: ReactionType
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {ReactionLevel}
|
||||||
|
* @memberof ActivityApiGetActivities
|
||||||
|
*/
|
||||||
|
readonly level?: ReactionLevel
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -5491,7 +5579,7 @@ export class ActivityApi extends BaseAPI {
|
||||||
* @memberof ActivityApi
|
* @memberof ActivityApi
|
||||||
*/
|
*/
|
||||||
public getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: AxiosRequestConfig) {
|
public getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: AxiosRequestConfig) {
|
||||||
return ActivityApiFp(this.configuration).getActivities(requestParameters.albumId, requestParameters.assetId, requestParameters.type, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
return ActivityApiFp(this.configuration).getActivities(requestParameters.albumId, requestParameters.assetId, requestParameters.type, requestParameters.level, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -7344,11 +7432,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
||||||
* @param {boolean} [isFavorite]
|
* @param {boolean} [isFavorite]
|
||||||
* @param {boolean} [isTrashed]
|
* @param {boolean} [isTrashed]
|
||||||
* @param {boolean} [withStacked]
|
* @param {boolean} [withStacked]
|
||||||
|
* @param {boolean} [withPartners]
|
||||||
* @param {string} [key]
|
* @param {string} [key]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getTimeBucket: async (size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
getTimeBucket: async (size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, withPartners?: boolean, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
// verify required parameter 'size' is not null or undefined
|
// verify required parameter 'size' is not null or undefined
|
||||||
assertParamExists('getTimeBucket', 'size', size)
|
assertParamExists('getTimeBucket', 'size', size)
|
||||||
// verify required parameter 'timeBucket' is not null or undefined
|
// verify required parameter 'timeBucket' is not null or undefined
|
||||||
|
@ -7406,6 +7495,10 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
||||||
localVarQueryParameter['withStacked'] = withStacked;
|
localVarQueryParameter['withStacked'] = withStacked;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (withPartners !== undefined) {
|
||||||
|
localVarQueryParameter['withPartners'] = withPartners;
|
||||||
|
}
|
||||||
|
|
||||||
if (timeBucket !== undefined) {
|
if (timeBucket !== undefined) {
|
||||||
localVarQueryParameter['timeBucket'] = timeBucket;
|
localVarQueryParameter['timeBucket'] = timeBucket;
|
||||||
}
|
}
|
||||||
|
@ -7435,11 +7528,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
||||||
* @param {boolean} [isFavorite]
|
* @param {boolean} [isFavorite]
|
||||||
* @param {boolean} [isTrashed]
|
* @param {boolean} [isTrashed]
|
||||||
* @param {boolean} [withStacked]
|
* @param {boolean} [withStacked]
|
||||||
|
* @param {boolean} [withPartners]
|
||||||
* @param {string} [key]
|
* @param {string} [key]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getTimeBuckets: async (size: TimeBucketSize, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
getTimeBuckets: async (size: TimeBucketSize, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, withPartners?: boolean, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
// verify required parameter 'size' is not null or undefined
|
// verify required parameter 'size' is not null or undefined
|
||||||
assertParamExists('getTimeBuckets', 'size', size)
|
assertParamExists('getTimeBuckets', 'size', size)
|
||||||
const localVarPath = `/asset/time-buckets`;
|
const localVarPath = `/asset/time-buckets`;
|
||||||
|
@ -7495,6 +7589,10 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
||||||
localVarQueryParameter['withStacked'] = withStacked;
|
localVarQueryParameter['withStacked'] = withStacked;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (withPartners !== undefined) {
|
||||||
|
localVarQueryParameter['withPartners'] = withPartners;
|
||||||
|
}
|
||||||
|
|
||||||
if (key !== undefined) {
|
if (key !== undefined) {
|
||||||
localVarQueryParameter['key'] = key;
|
localVarQueryParameter['key'] = key;
|
||||||
}
|
}
|
||||||
|
@ -8297,12 +8395,13 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
||||||
* @param {boolean} [isFavorite]
|
* @param {boolean} [isFavorite]
|
||||||
* @param {boolean} [isTrashed]
|
* @param {boolean} [isTrashed]
|
||||||
* @param {boolean} [withStacked]
|
* @param {boolean} [withStacked]
|
||||||
|
* @param {boolean} [withPartners]
|
||||||
* @param {string} [key]
|
* @param {string} [key]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async getTimeBucket(size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AssetResponseDto>>> {
|
async getTimeBucket(size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, withPartners?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AssetResponseDto>>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimeBucket(size, timeBucket, userId, albumId, personId, isArchived, isFavorite, isTrashed, withStacked, key, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimeBucket(size, timeBucket, userId, albumId, personId, isArchived, isFavorite, isTrashed, withStacked, withPartners, key, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -8315,12 +8414,13 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
||||||
* @param {boolean} [isFavorite]
|
* @param {boolean} [isFavorite]
|
||||||
* @param {boolean} [isTrashed]
|
* @param {boolean} [isTrashed]
|
||||||
* @param {boolean} [withStacked]
|
* @param {boolean} [withStacked]
|
||||||
|
* @param {boolean} [withPartners]
|
||||||
* @param {string} [key]
|
* @param {string} [key]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async getTimeBuckets(size: TimeBucketSize, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TimeBucketResponseDto>>> {
|
async getTimeBuckets(size: TimeBucketSize, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, withPartners?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TimeBucketResponseDto>>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimeBuckets(size, userId, albumId, personId, isArchived, isFavorite, isTrashed, withStacked, key, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimeBuckets(size, userId, albumId, personId, isArchived, isFavorite, isTrashed, withStacked, withPartners, key, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -8617,7 +8717,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: AxiosRequestConfig): AxiosPromise<Array<AssetResponseDto>> {
|
getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: AxiosRequestConfig): AxiosPromise<Array<AssetResponseDto>> {
|
||||||
return localVarFp.getTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.key, options).then((request) => request(axios, basePath));
|
return localVarFp.getTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.withPartners, requestParameters.key, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -8626,7 +8726,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<TimeBucketResponseDto>> {
|
getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<TimeBucketResponseDto>> {
|
||||||
return localVarFp.getTimeBuckets(requestParameters.size, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.key, options).then((request) => request(axios, basePath));
|
return localVarFp.getTimeBuckets(requestParameters.size, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.withPartners, requestParameters.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.
|
||||||
|
@ -9113,6 +9213,13 @@ export interface AssetApiGetTimeBucketRequest {
|
||||||
*/
|
*/
|
||||||
readonly withStacked?: boolean
|
readonly withStacked?: boolean
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof AssetApiGetTimeBucket
|
||||||
|
*/
|
||||||
|
readonly withPartners?: boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -9183,6 +9290,13 @@ export interface AssetApiGetTimeBucketsRequest {
|
||||||
*/
|
*/
|
||||||
readonly withStacked?: boolean
|
readonly withStacked?: boolean
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof AssetApiGetTimeBuckets
|
||||||
|
*/
|
||||||
|
readonly withPartners?: boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -9662,7 +9776,7 @@ export class AssetApi extends BaseAPI {
|
||||||
* @memberof AssetApi
|
* @memberof AssetApi
|
||||||
*/
|
*/
|
||||||
public getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: AxiosRequestConfig) {
|
public getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: AxiosRequestConfig) {
|
||||||
return AssetApiFp(this.configuration).getTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
return AssetApiFp(this.configuration).getTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.withPartners, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -9673,7 +9787,7 @@ export class AssetApi extends BaseAPI {
|
||||||
* @memberof AssetApi
|
* @memberof AssetApi
|
||||||
*/
|
*/
|
||||||
public getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig) {
|
public getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig) {
|
||||||
return AssetApiFp(this.configuration).getTimeBuckets(requestParameters.size, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
return AssetApiFp(this.configuration).getTimeBuckets(requestParameters.size, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.withPartners, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -10583,7 +10697,7 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async signUpAdmin(signUpDto: SignUpDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminSignupResponseDto>> {
|
async signUpAdmin(signUpDto: SignUpDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponseDto>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.signUpAdmin(signUpDto, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.signUpAdmin(signUpDto, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
|
@ -10663,7 +10777,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
signUpAdmin(requestParameters: AuthenticationApiSignUpAdminRequest, options?: AxiosRequestConfig): AxiosPromise<AdminSignupResponseDto> {
|
signUpAdmin(requestParameters: AuthenticationApiSignUpAdminRequest, options?: AxiosRequestConfig): AxiosPromise<UserResponseDto> {
|
||||||
return localVarFp.signUpAdmin(requestParameters.signUpDto, options).then((request) => request(axios, basePath));
|
return localVarFp.signUpAdmin(requestParameters.signUpDto, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -12382,6 +12496,54 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati
|
||||||
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};
|
||||||
|
|
||||||
|
return {
|
||||||
|
url: toPathString(localVarUrlObj),
|
||||||
|
options: localVarRequestOptions,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {string} id
|
||||||
|
* @param {UpdatePartnerDto} updatePartnerDto
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
updatePartner: async (id: string, updatePartnerDto: UpdatePartnerDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
|
// verify required parameter 'id' is not null or undefined
|
||||||
|
assertParamExists('updatePartner', 'id', id)
|
||||||
|
// verify required parameter 'updatePartnerDto' is not null or undefined
|
||||||
|
assertParamExists('updatePartner', 'updatePartnerDto', updatePartnerDto)
|
||||||
|
const localVarPath = `/partner/{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;
|
||||||
|
}
|
||||||
|
|
||||||
|
const localVarRequestOptions = { method: 'PUT', ...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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
||||||
|
|
||||||
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||||
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||||
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||||
|
localVarRequestOptions.data = serializeDataIfNeeded(updatePartnerDto, localVarRequestOptions, configuration)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
url: toPathString(localVarUrlObj),
|
url: toPathString(localVarUrlObj),
|
||||||
options: localVarRequestOptions,
|
options: localVarRequestOptions,
|
||||||
|
@ -12403,7 +12565,7 @@ export const PartnerApiFp = function(configuration?: Configuration) {
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async createPartner(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponseDto>> {
|
async createPartner(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerResponseDto>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createPartner(id, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createPartner(id, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
|
@ -12413,7 +12575,7 @@ export const PartnerApiFp = function(configuration?: Configuration) {
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async getPartners(direction: 'shared-by' | 'shared-with', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserResponseDto>>> {
|
async getPartners(direction: 'shared-by' | 'shared-with', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PartnerResponseDto>>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getPartners(direction, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPartners(direction, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
|
@ -12427,6 +12589,17 @@ export const PartnerApiFp = function(configuration?: Configuration) {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.removePartner(id, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.removePartner(id, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {string} id
|
||||||
|
* @param {UpdatePartnerDto} updatePartnerDto
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
async updatePartner(id: string, updatePartnerDto: UpdatePartnerDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerResponseDto>> {
|
||||||
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePartner(id, updatePartnerDto, options);
|
||||||
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12443,7 +12616,7 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: AxiosRequestConfig): AxiosPromise<UserResponseDto> {
|
createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: AxiosRequestConfig): AxiosPromise<PartnerResponseDto> {
|
||||||
return localVarFp.createPartner(requestParameters.id, options).then((request) => request(axios, basePath));
|
return localVarFp.createPartner(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -12452,7 +12625,7 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getPartners(requestParameters: PartnerApiGetPartnersRequest, options?: AxiosRequestConfig): AxiosPromise<Array<UserResponseDto>> {
|
getPartners(requestParameters: PartnerApiGetPartnersRequest, options?: AxiosRequestConfig): AxiosPromise<Array<PartnerResponseDto>> {
|
||||||
return localVarFp.getPartners(requestParameters.direction, options).then((request) => request(axios, basePath));
|
return localVarFp.getPartners(requestParameters.direction, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -12464,6 +12637,15 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
|
||||||
removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
|
removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
|
||||||
return localVarFp.removePartner(requestParameters.id, options).then((request) => request(axios, basePath));
|
return localVarFp.removePartner(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {PartnerApiUpdatePartnerRequest} requestParameters Request parameters.
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, options?: AxiosRequestConfig): AxiosPromise<PartnerResponseDto> {
|
||||||
|
return localVarFp.updatePartner(requestParameters.id, requestParameters.updatePartnerDto, options).then((request) => request(axios, basePath));
|
||||||
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12509,6 +12691,27 @@ export interface PartnerApiRemovePartnerRequest {
|
||||||
readonly id: string
|
readonly id: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Request parameters for updatePartner operation in PartnerApi.
|
||||||
|
* @export
|
||||||
|
* @interface PartnerApiUpdatePartnerRequest
|
||||||
|
*/
|
||||||
|
export interface PartnerApiUpdatePartnerRequest {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerApiUpdatePartner
|
||||||
|
*/
|
||||||
|
readonly id: string
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {UpdatePartnerDto}
|
||||||
|
* @memberof PartnerApiUpdatePartner
|
||||||
|
*/
|
||||||
|
readonly updatePartnerDto: UpdatePartnerDto
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PartnerApi - object-oriented interface
|
* PartnerApi - object-oriented interface
|
||||||
* @export
|
* @export
|
||||||
|
@ -12548,6 +12751,17 @@ export class PartnerApi extends BaseAPI {
|
||||||
public removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: AxiosRequestConfig) {
|
public removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: AxiosRequestConfig) {
|
||||||
return PartnerApiFp(this.configuration).removePartner(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
return PartnerApiFp(this.configuration).removePartner(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {PartnerApiUpdatePartnerRequest} requestParameters Request parameters.
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
* @memberof PartnerApi
|
||||||
|
*/
|
||||||
|
public updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, options?: AxiosRequestConfig) {
|
||||||
|
return PartnerApiFp(this.configuration).updatePartner(requestParameters.id, requestParameters.updatePartnerDto, options).then((request) => request(this.axios, this.basePath));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -15174,6 +15388,51 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||||
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||||
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||||
|
|
||||||
|
return {
|
||||||
|
url: toPathString(localVarUrlObj),
|
||||||
|
options: localVarRequestOptions,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {MapTheme} theme
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
getMapStyle: async (theme: MapTheme, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
|
// verify required parameter 'theme' is not null or undefined
|
||||||
|
assertParamExists('getMapStyle', 'theme', theme)
|
||||||
|
const localVarPath = `/system-config/map/style.json`;
|
||||||
|
// 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 (theme !== undefined) {
|
||||||
|
localVarQueryParameter['theme'] = theme;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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};
|
||||||
|
@ -15293,6 +15552,16 @@ export const SystemConfigApiFp = function(configuration?: Configuration) {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getConfigDefaults(options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getConfigDefaults(options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {MapTheme} theme
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
async getMapStyle(theme: MapTheme, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
||||||
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMapStyle(theme, options);
|
||||||
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
|
@ -15338,6 +15607,15 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b
|
||||||
getConfigDefaults(options?: AxiosRequestConfig): AxiosPromise<SystemConfigDto> {
|
getConfigDefaults(options?: AxiosRequestConfig): AxiosPromise<SystemConfigDto> {
|
||||||
return localVarFp.getConfigDefaults(options).then((request) => request(axios, basePath));
|
return localVarFp.getConfigDefaults(options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {SystemConfigApiGetMapStyleRequest} requestParameters Request parameters.
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
getMapStyle(requestParameters: SystemConfigApiGetMapStyleRequest, options?: AxiosRequestConfig): AxiosPromise<object> {
|
||||||
|
return localVarFp.getMapStyle(requestParameters.theme, options).then((request) => request(axios, basePath));
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
|
@ -15358,6 +15636,20 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Request parameters for getMapStyle operation in SystemConfigApi.
|
||||||
|
* @export
|
||||||
|
* @interface SystemConfigApiGetMapStyleRequest
|
||||||
|
*/
|
||||||
|
export interface SystemConfigApiGetMapStyleRequest {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {MapTheme}
|
||||||
|
* @memberof SystemConfigApiGetMapStyle
|
||||||
|
*/
|
||||||
|
readonly theme: MapTheme
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Request parameters for updateConfig operation in SystemConfigApi.
|
* Request parameters for updateConfig operation in SystemConfigApi.
|
||||||
* @export
|
* @export
|
||||||
|
@ -15399,6 +15691,17 @@ export class SystemConfigApi extends BaseAPI {
|
||||||
return SystemConfigApiFp(this.configuration).getConfigDefaults(options).then((request) => request(this.axios, this.basePath));
|
return SystemConfigApiFp(this.configuration).getConfigDefaults(options).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {SystemConfigApiGetMapStyleRequest} requestParameters Request parameters.
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
* @memberof SystemConfigApi
|
||||||
|
*/
|
||||||
|
public getMapStyle(requestParameters: SystemConfigApiGetMapStyleRequest, options?: AxiosRequestConfig) {
|
||||||
|
return SystemConfigApiFp(this.configuration).getMapStyle(requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
|
|
15
mobile/openapi/.openapi-generator/FILES
generated
15
mobile/openapi/.openapi-generator/FILES
generated
|
@ -13,7 +13,6 @@ doc/ActivityCreateDto.md
|
||||||
doc/ActivityResponseDto.md
|
doc/ActivityResponseDto.md
|
||||||
doc/ActivityStatisticsResponseDto.md
|
doc/ActivityStatisticsResponseDto.md
|
||||||
doc/AddUsersDto.md
|
doc/AddUsersDto.md
|
||||||
doc/AdminSignupResponseDto.md
|
|
||||||
doc/AlbumApi.md
|
doc/AlbumApi.md
|
||||||
doc/AlbumCountResponseDto.md
|
doc/AlbumCountResponseDto.md
|
||||||
doc/AlbumResponseDto.md
|
doc/AlbumResponseDto.md
|
||||||
|
@ -82,6 +81,7 @@ doc/LoginCredentialDto.md
|
||||||
doc/LoginResponseDto.md
|
doc/LoginResponseDto.md
|
||||||
doc/LogoutResponseDto.md
|
doc/LogoutResponseDto.md
|
||||||
doc/MapMarkerResponseDto.md
|
doc/MapMarkerResponseDto.md
|
||||||
|
doc/MapTheme.md
|
||||||
doc/MemoryLaneResponseDto.md
|
doc/MemoryLaneResponseDto.md
|
||||||
doc/MergePersonDto.md
|
doc/MergePersonDto.md
|
||||||
doc/ModelType.md
|
doc/ModelType.md
|
||||||
|
@ -91,6 +91,7 @@ doc/OAuthCallbackDto.md
|
||||||
doc/OAuthConfigDto.md
|
doc/OAuthConfigDto.md
|
||||||
doc/OAuthConfigResponseDto.md
|
doc/OAuthConfigResponseDto.md
|
||||||
doc/PartnerApi.md
|
doc/PartnerApi.md
|
||||||
|
doc/PartnerResponseDto.md
|
||||||
doc/PathEntityType.md
|
doc/PathEntityType.md
|
||||||
doc/PathType.md
|
doc/PathType.md
|
||||||
doc/PeopleResponseDto.md
|
doc/PeopleResponseDto.md
|
||||||
|
@ -101,6 +102,7 @@ doc/PersonResponseDto.md
|
||||||
doc/PersonStatisticsResponseDto.md
|
doc/PersonStatisticsResponseDto.md
|
||||||
doc/PersonUpdateDto.md
|
doc/PersonUpdateDto.md
|
||||||
doc/QueueStatusDto.md
|
doc/QueueStatusDto.md
|
||||||
|
doc/ReactionLevel.md
|
||||||
doc/ReactionType.md
|
doc/ReactionType.md
|
||||||
doc/RecognitionConfig.md
|
doc/RecognitionConfig.md
|
||||||
doc/ScanLibraryDto.md
|
doc/ScanLibraryDto.md
|
||||||
|
@ -158,6 +160,7 @@ doc/TranscodePolicy.md
|
||||||
doc/UpdateAlbumDto.md
|
doc/UpdateAlbumDto.md
|
||||||
doc/UpdateAssetDto.md
|
doc/UpdateAssetDto.md
|
||||||
doc/UpdateLibraryDto.md
|
doc/UpdateLibraryDto.md
|
||||||
|
doc/UpdatePartnerDto.md
|
||||||
doc/UpdateStackParentDto.md
|
doc/UpdateStackParentDto.md
|
||||||
doc/UpdateTagDto.md
|
doc/UpdateTagDto.md
|
||||||
doc/UpdateUserDto.md
|
doc/UpdateUserDto.md
|
||||||
|
@ -199,7 +202,6 @@ lib/model/activity_create_dto.dart
|
||||||
lib/model/activity_response_dto.dart
|
lib/model/activity_response_dto.dart
|
||||||
lib/model/activity_statistics_response_dto.dart
|
lib/model/activity_statistics_response_dto.dart
|
||||||
lib/model/add_users_dto.dart
|
lib/model/add_users_dto.dart
|
||||||
lib/model/admin_signup_response_dto.dart
|
|
||||||
lib/model/album_count_response_dto.dart
|
lib/model/album_count_response_dto.dart
|
||||||
lib/model/album_response_dto.dart
|
lib/model/album_response_dto.dart
|
||||||
lib/model/all_job_status_response_dto.dart
|
lib/model/all_job_status_response_dto.dart
|
||||||
|
@ -266,6 +268,7 @@ lib/model/login_credential_dto.dart
|
||||||
lib/model/login_response_dto.dart
|
lib/model/login_response_dto.dart
|
||||||
lib/model/logout_response_dto.dart
|
lib/model/logout_response_dto.dart
|
||||||
lib/model/map_marker_response_dto.dart
|
lib/model/map_marker_response_dto.dart
|
||||||
|
lib/model/map_theme.dart
|
||||||
lib/model/memory_lane_response_dto.dart
|
lib/model/memory_lane_response_dto.dart
|
||||||
lib/model/merge_person_dto.dart
|
lib/model/merge_person_dto.dart
|
||||||
lib/model/model_type.dart
|
lib/model/model_type.dart
|
||||||
|
@ -273,6 +276,7 @@ lib/model/o_auth_authorize_response_dto.dart
|
||||||
lib/model/o_auth_callback_dto.dart
|
lib/model/o_auth_callback_dto.dart
|
||||||
lib/model/o_auth_config_dto.dart
|
lib/model/o_auth_config_dto.dart
|
||||||
lib/model/o_auth_config_response_dto.dart
|
lib/model/o_auth_config_response_dto.dart
|
||||||
|
lib/model/partner_response_dto.dart
|
||||||
lib/model/path_entity_type.dart
|
lib/model/path_entity_type.dart
|
||||||
lib/model/path_type.dart
|
lib/model/path_type.dart
|
||||||
lib/model/people_response_dto.dart
|
lib/model/people_response_dto.dart
|
||||||
|
@ -282,6 +286,7 @@ lib/model/person_response_dto.dart
|
||||||
lib/model/person_statistics_response_dto.dart
|
lib/model/person_statistics_response_dto.dart
|
||||||
lib/model/person_update_dto.dart
|
lib/model/person_update_dto.dart
|
||||||
lib/model/queue_status_dto.dart
|
lib/model/queue_status_dto.dart
|
||||||
|
lib/model/reaction_level.dart
|
||||||
lib/model/reaction_type.dart
|
lib/model/reaction_type.dart
|
||||||
lib/model/recognition_config.dart
|
lib/model/recognition_config.dart
|
||||||
lib/model/scan_library_dto.dart
|
lib/model/scan_library_dto.dart
|
||||||
|
@ -334,6 +339,7 @@ lib/model/transcode_policy.dart
|
||||||
lib/model/update_album_dto.dart
|
lib/model/update_album_dto.dart
|
||||||
lib/model/update_asset_dto.dart
|
lib/model/update_asset_dto.dart
|
||||||
lib/model/update_library_dto.dart
|
lib/model/update_library_dto.dart
|
||||||
|
lib/model/update_partner_dto.dart
|
||||||
lib/model/update_stack_parent_dto.dart
|
lib/model/update_stack_parent_dto.dart
|
||||||
lib/model/update_tag_dto.dart
|
lib/model/update_tag_dto.dart
|
||||||
lib/model/update_user_dto.dart
|
lib/model/update_user_dto.dart
|
||||||
|
@ -349,7 +355,6 @@ test/activity_create_dto_test.dart
|
||||||
test/activity_response_dto_test.dart
|
test/activity_response_dto_test.dart
|
||||||
test/activity_statistics_response_dto_test.dart
|
test/activity_statistics_response_dto_test.dart
|
||||||
test/add_users_dto_test.dart
|
test/add_users_dto_test.dart
|
||||||
test/admin_signup_response_dto_test.dart
|
|
||||||
test/album_api_test.dart
|
test/album_api_test.dart
|
||||||
test/album_count_response_dto_test.dart
|
test/album_count_response_dto_test.dart
|
||||||
test/album_response_dto_test.dart
|
test/album_response_dto_test.dart
|
||||||
|
@ -423,6 +428,7 @@ test/login_credential_dto_test.dart
|
||||||
test/login_response_dto_test.dart
|
test/login_response_dto_test.dart
|
||||||
test/logout_response_dto_test.dart
|
test/logout_response_dto_test.dart
|
||||||
test/map_marker_response_dto_test.dart
|
test/map_marker_response_dto_test.dart
|
||||||
|
test/map_theme_test.dart
|
||||||
test/memory_lane_response_dto_test.dart
|
test/memory_lane_response_dto_test.dart
|
||||||
test/merge_person_dto_test.dart
|
test/merge_person_dto_test.dart
|
||||||
test/model_type_test.dart
|
test/model_type_test.dart
|
||||||
|
@ -432,6 +438,7 @@ test/o_auth_callback_dto_test.dart
|
||||||
test/o_auth_config_dto_test.dart
|
test/o_auth_config_dto_test.dart
|
||||||
test/o_auth_config_response_dto_test.dart
|
test/o_auth_config_response_dto_test.dart
|
||||||
test/partner_api_test.dart
|
test/partner_api_test.dart
|
||||||
|
test/partner_response_dto_test.dart
|
||||||
test/path_entity_type_test.dart
|
test/path_entity_type_test.dart
|
||||||
test/path_type_test.dart
|
test/path_type_test.dart
|
||||||
test/people_response_dto_test.dart
|
test/people_response_dto_test.dart
|
||||||
|
@ -442,6 +449,7 @@ test/person_response_dto_test.dart
|
||||||
test/person_statistics_response_dto_test.dart
|
test/person_statistics_response_dto_test.dart
|
||||||
test/person_update_dto_test.dart
|
test/person_update_dto_test.dart
|
||||||
test/queue_status_dto_test.dart
|
test/queue_status_dto_test.dart
|
||||||
|
test/reaction_level_test.dart
|
||||||
test/reaction_type_test.dart
|
test/reaction_type_test.dart
|
||||||
test/recognition_config_test.dart
|
test/recognition_config_test.dart
|
||||||
test/scan_library_dto_test.dart
|
test/scan_library_dto_test.dart
|
||||||
|
@ -499,6 +507,7 @@ test/transcode_policy_test.dart
|
||||||
test/update_album_dto_test.dart
|
test/update_album_dto_test.dart
|
||||||
test/update_asset_dto_test.dart
|
test/update_asset_dto_test.dart
|
||||||
test/update_library_dto_test.dart
|
test/update_library_dto_test.dart
|
||||||
|
test/update_partner_dto_test.dart
|
||||||
test/update_stack_parent_dto_test.dart
|
test/update_stack_parent_dto_test.dart
|
||||||
test/update_tag_dto_test.dart
|
test/update_tag_dto_test.dart
|
||||||
test/update_user_dto_test.dart
|
test/update_user_dto_test.dart
|
||||||
|
|
7
mobile/openapi/README.md
generated
7
mobile/openapi/README.md
generated
|
@ -152,6 +152,7 @@ Class | Method | HTTP request | Description
|
||||||
*PartnerApi* | [**createPartner**](doc//PartnerApi.md#createpartner) | **POST** /partner/{id} |
|
*PartnerApi* | [**createPartner**](doc//PartnerApi.md#createpartner) | **POST** /partner/{id} |
|
||||||
*PartnerApi* | [**getPartners**](doc//PartnerApi.md#getpartners) | **GET** /partner |
|
*PartnerApi* | [**getPartners**](doc//PartnerApi.md#getpartners) | **GET** /partner |
|
||||||
*PartnerApi* | [**removePartner**](doc//PartnerApi.md#removepartner) | **DELETE** /partner/{id} |
|
*PartnerApi* | [**removePartner**](doc//PartnerApi.md#removepartner) | **DELETE** /partner/{id} |
|
||||||
|
*PartnerApi* | [**updatePartner**](doc//PartnerApi.md#updatepartner) | **PUT** /partner/{id} |
|
||||||
*PersonApi* | [**getAllPeople**](doc//PersonApi.md#getallpeople) | **GET** /person |
|
*PersonApi* | [**getAllPeople**](doc//PersonApi.md#getallpeople) | **GET** /person |
|
||||||
*PersonApi* | [**getPerson**](doc//PersonApi.md#getperson) | **GET** /person/{id} |
|
*PersonApi* | [**getPerson**](doc//PersonApi.md#getperson) | **GET** /person/{id} |
|
||||||
*PersonApi* | [**getPersonAssets**](doc//PersonApi.md#getpersonassets) | **GET** /person/{id}/assets |
|
*PersonApi* | [**getPersonAssets**](doc//PersonApi.md#getpersonassets) | **GET** /person/{id}/assets |
|
||||||
|
@ -181,6 +182,7 @@ Class | Method | HTTP request | Description
|
||||||
*SharedLinkApi* | [**updateSharedLink**](doc//SharedLinkApi.md#updatesharedlink) | **PATCH** /shared-link/{id} |
|
*SharedLinkApi* | [**updateSharedLink**](doc//SharedLinkApi.md#updatesharedlink) | **PATCH** /shared-link/{id} |
|
||||||
*SystemConfigApi* | [**getConfig**](doc//SystemConfigApi.md#getconfig) | **GET** /system-config |
|
*SystemConfigApi* | [**getConfig**](doc//SystemConfigApi.md#getconfig) | **GET** /system-config |
|
||||||
*SystemConfigApi* | [**getConfigDefaults**](doc//SystemConfigApi.md#getconfigdefaults) | **GET** /system-config/defaults |
|
*SystemConfigApi* | [**getConfigDefaults**](doc//SystemConfigApi.md#getconfigdefaults) | **GET** /system-config/defaults |
|
||||||
|
*SystemConfigApi* | [**getMapStyle**](doc//SystemConfigApi.md#getmapstyle) | **GET** /system-config/map/style.json |
|
||||||
*SystemConfigApi* | [**getStorageTemplateOptions**](doc//SystemConfigApi.md#getstoragetemplateoptions) | **GET** /system-config/storage-template-options |
|
*SystemConfigApi* | [**getStorageTemplateOptions**](doc//SystemConfigApi.md#getstoragetemplateoptions) | **GET** /system-config/storage-template-options |
|
||||||
*SystemConfigApi* | [**updateConfig**](doc//SystemConfigApi.md#updateconfig) | **PUT** /system-config |
|
*SystemConfigApi* | [**updateConfig**](doc//SystemConfigApi.md#updateconfig) | **PUT** /system-config |
|
||||||
*TagApi* | [**createTag**](doc//TagApi.md#createtag) | **POST** /tag |
|
*TagApi* | [**createTag**](doc//TagApi.md#createtag) | **POST** /tag |
|
||||||
|
@ -213,7 +215,6 @@ Class | Method | HTTP request | Description
|
||||||
- [ActivityResponseDto](doc//ActivityResponseDto.md)
|
- [ActivityResponseDto](doc//ActivityResponseDto.md)
|
||||||
- [ActivityStatisticsResponseDto](doc//ActivityStatisticsResponseDto.md)
|
- [ActivityStatisticsResponseDto](doc//ActivityStatisticsResponseDto.md)
|
||||||
- [AddUsersDto](doc//AddUsersDto.md)
|
- [AddUsersDto](doc//AddUsersDto.md)
|
||||||
- [AdminSignupResponseDto](doc//AdminSignupResponseDto.md)
|
|
||||||
- [AlbumCountResponseDto](doc//AlbumCountResponseDto.md)
|
- [AlbumCountResponseDto](doc//AlbumCountResponseDto.md)
|
||||||
- [AlbumResponseDto](doc//AlbumResponseDto.md)
|
- [AlbumResponseDto](doc//AlbumResponseDto.md)
|
||||||
- [AllJobStatusResponseDto](doc//AllJobStatusResponseDto.md)
|
- [AllJobStatusResponseDto](doc//AllJobStatusResponseDto.md)
|
||||||
|
@ -276,6 +277,7 @@ Class | Method | HTTP request | Description
|
||||||
- [LoginResponseDto](doc//LoginResponseDto.md)
|
- [LoginResponseDto](doc//LoginResponseDto.md)
|
||||||
- [LogoutResponseDto](doc//LogoutResponseDto.md)
|
- [LogoutResponseDto](doc//LogoutResponseDto.md)
|
||||||
- [MapMarkerResponseDto](doc//MapMarkerResponseDto.md)
|
- [MapMarkerResponseDto](doc//MapMarkerResponseDto.md)
|
||||||
|
- [MapTheme](doc//MapTheme.md)
|
||||||
- [MemoryLaneResponseDto](doc//MemoryLaneResponseDto.md)
|
- [MemoryLaneResponseDto](doc//MemoryLaneResponseDto.md)
|
||||||
- [MergePersonDto](doc//MergePersonDto.md)
|
- [MergePersonDto](doc//MergePersonDto.md)
|
||||||
- [ModelType](doc//ModelType.md)
|
- [ModelType](doc//ModelType.md)
|
||||||
|
@ -283,6 +285,7 @@ Class | Method | HTTP request | Description
|
||||||
- [OAuthCallbackDto](doc//OAuthCallbackDto.md)
|
- [OAuthCallbackDto](doc//OAuthCallbackDto.md)
|
||||||
- [OAuthConfigDto](doc//OAuthConfigDto.md)
|
- [OAuthConfigDto](doc//OAuthConfigDto.md)
|
||||||
- [OAuthConfigResponseDto](doc//OAuthConfigResponseDto.md)
|
- [OAuthConfigResponseDto](doc//OAuthConfigResponseDto.md)
|
||||||
|
- [PartnerResponseDto](doc//PartnerResponseDto.md)
|
||||||
- [PathEntityType](doc//PathEntityType.md)
|
- [PathEntityType](doc//PathEntityType.md)
|
||||||
- [PathType](doc//PathType.md)
|
- [PathType](doc//PathType.md)
|
||||||
- [PeopleResponseDto](doc//PeopleResponseDto.md)
|
- [PeopleResponseDto](doc//PeopleResponseDto.md)
|
||||||
|
@ -292,6 +295,7 @@ Class | Method | HTTP request | Description
|
||||||
- [PersonStatisticsResponseDto](doc//PersonStatisticsResponseDto.md)
|
- [PersonStatisticsResponseDto](doc//PersonStatisticsResponseDto.md)
|
||||||
- [PersonUpdateDto](doc//PersonUpdateDto.md)
|
- [PersonUpdateDto](doc//PersonUpdateDto.md)
|
||||||
- [QueueStatusDto](doc//QueueStatusDto.md)
|
- [QueueStatusDto](doc//QueueStatusDto.md)
|
||||||
|
- [ReactionLevel](doc//ReactionLevel.md)
|
||||||
- [ReactionType](doc//ReactionType.md)
|
- [ReactionType](doc//ReactionType.md)
|
||||||
- [RecognitionConfig](doc//RecognitionConfig.md)
|
- [RecognitionConfig](doc//RecognitionConfig.md)
|
||||||
- [ScanLibraryDto](doc//ScanLibraryDto.md)
|
- [ScanLibraryDto](doc//ScanLibraryDto.md)
|
||||||
|
@ -344,6 +348,7 @@ Class | Method | HTTP request | Description
|
||||||
- [UpdateAlbumDto](doc//UpdateAlbumDto.md)
|
- [UpdateAlbumDto](doc//UpdateAlbumDto.md)
|
||||||
- [UpdateAssetDto](doc//UpdateAssetDto.md)
|
- [UpdateAssetDto](doc//UpdateAssetDto.md)
|
||||||
- [UpdateLibraryDto](doc//UpdateLibraryDto.md)
|
- [UpdateLibraryDto](doc//UpdateLibraryDto.md)
|
||||||
|
- [UpdatePartnerDto](doc//UpdatePartnerDto.md)
|
||||||
- [UpdateStackParentDto](doc//UpdateStackParentDto.md)
|
- [UpdateStackParentDto](doc//UpdateStackParentDto.md)
|
||||||
- [UpdateTagDto](doc//UpdateTagDto.md)
|
- [UpdateTagDto](doc//UpdateTagDto.md)
|
||||||
- [UpdateUserDto](doc//UpdateUserDto.md)
|
- [UpdateUserDto](doc//UpdateUserDto.md)
|
||||||
|
|
1
mobile/openapi/doc/PartnerResponseDto.md
generated
1
mobile/openapi/doc/PartnerResponseDto.md
generated
|
@ -8,6 +8,7 @@ import 'package:openapi/api.dart';
|
||||||
## Properties
|
## Properties
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**avatarColor** | **String** | |
|
||||||
**createdAt** | [**DateTime**](DateTime.md) | |
|
**createdAt** | [**DateTime**](DateTime.md) | |
|
||||||
**deletedAt** | [**DateTime**](DateTime.md) | |
|
**deletedAt** | [**DateTime**](DateTime.md) | |
|
||||||
**email** | **String** | |
|
**email** | **String** | |
|
||||||
|
|
3
mobile/openapi/doc/UpdateUserDto.md
generated
3
mobile/openapi/doc/UpdateUserDto.md
generated
|
@ -11,11 +11,10 @@ Name | Type | Description | Notes
|
||||||
**avatarColor** | [**UserAvatarColor**](UserAvatarColor.md) | | [optional]
|
**avatarColor** | [**UserAvatarColor**](UserAvatarColor.md) | | [optional]
|
||||||
**email** | **String** | | [optional]
|
**email** | **String** | | [optional]
|
||||||
**externalPath** | **String** | | [optional]
|
**externalPath** | **String** | | [optional]
|
||||||
**firstName** | **String** | | [optional]
|
|
||||||
**id** | **String** | |
|
**id** | **String** | |
|
||||||
**isAdmin** | **bool** | | [optional]
|
**isAdmin** | **bool** | | [optional]
|
||||||
**lastName** | **String** | | [optional]
|
|
||||||
**memoriesEnabled** | **bool** | | [optional]
|
**memoriesEnabled** | **bool** | | [optional]
|
||||||
|
**name** | **String** | | [optional]
|
||||||
**password** | **String** | | [optional]
|
**password** | **String** | | [optional]
|
||||||
**shouldChangePassword** | **bool** | | [optional]
|
**shouldChangePassword** | **bool** | | [optional]
|
||||||
**storageLabel** | **String** | | [optional]
|
**storageLabel** | **String** | | [optional]
|
||||||
|
|
3
mobile/openapi/doc/UserDto.md
generated
3
mobile/openapi/doc/UserDto.md
generated
|
@ -10,9 +10,8 @@ Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**avatarColor** | **String** | |
|
**avatarColor** | **String** | |
|
||||||
**email** | **String** | |
|
**email** | **String** | |
|
||||||
**firstName** | **String** | |
|
|
||||||
**id** | **String** | |
|
**id** | **String** | |
|
||||||
**lastName** | **String** | |
|
**name** | **String** | |
|
||||||
**profileImagePath** | **String** | |
|
**profileImagePath** | **String** | |
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
3
mobile/openapi/doc/UserResponseDto.md
generated
3
mobile/openapi/doc/UserResponseDto.md
generated
|
@ -13,11 +13,10 @@ Name | Type | Description | Notes
|
||||||
**deletedAt** | [**DateTime**](DateTime.md) | |
|
**deletedAt** | [**DateTime**](DateTime.md) | |
|
||||||
**email** | **String** | |
|
**email** | **String** | |
|
||||||
**externalPath** | **String** | |
|
**externalPath** | **String** | |
|
||||||
**firstName** | **String** | |
|
|
||||||
**id** | **String** | |
|
**id** | **String** | |
|
||||||
**isAdmin** | **bool** | |
|
**isAdmin** | **bool** | |
|
||||||
**lastName** | **String** | |
|
|
||||||
**memoriesEnabled** | **bool** | | [optional]
|
**memoriesEnabled** | **bool** | | [optional]
|
||||||
|
**name** | **String** | |
|
||||||
**oauthId** | **String** | |
|
**oauthId** | **String** | |
|
||||||
**profileImagePath** | **String** | |
|
**profileImagePath** | **String** | |
|
||||||
**shouldChangePassword** | **bool** | |
|
**shouldChangePassword** | **bool** | |
|
||||||
|
|
5
mobile/openapi/lib/api.dart
generated
5
mobile/openapi/lib/api.dart
generated
|
@ -54,7 +54,6 @@ part 'model/activity_create_dto.dart';
|
||||||
part 'model/activity_response_dto.dart';
|
part 'model/activity_response_dto.dart';
|
||||||
part 'model/activity_statistics_response_dto.dart';
|
part 'model/activity_statistics_response_dto.dart';
|
||||||
part 'model/add_users_dto.dart';
|
part 'model/add_users_dto.dart';
|
||||||
part 'model/admin_signup_response_dto.dart';
|
|
||||||
part 'model/album_count_response_dto.dart';
|
part 'model/album_count_response_dto.dart';
|
||||||
part 'model/album_response_dto.dart';
|
part 'model/album_response_dto.dart';
|
||||||
part 'model/all_job_status_response_dto.dart';
|
part 'model/all_job_status_response_dto.dart';
|
||||||
|
@ -117,6 +116,7 @@ part 'model/login_credential_dto.dart';
|
||||||
part 'model/login_response_dto.dart';
|
part 'model/login_response_dto.dart';
|
||||||
part 'model/logout_response_dto.dart';
|
part 'model/logout_response_dto.dart';
|
||||||
part 'model/map_marker_response_dto.dart';
|
part 'model/map_marker_response_dto.dart';
|
||||||
|
part 'model/map_theme.dart';
|
||||||
part 'model/memory_lane_response_dto.dart';
|
part 'model/memory_lane_response_dto.dart';
|
||||||
part 'model/merge_person_dto.dart';
|
part 'model/merge_person_dto.dart';
|
||||||
part 'model/model_type.dart';
|
part 'model/model_type.dart';
|
||||||
|
@ -124,6 +124,7 @@ part 'model/o_auth_authorize_response_dto.dart';
|
||||||
part 'model/o_auth_callback_dto.dart';
|
part 'model/o_auth_callback_dto.dart';
|
||||||
part 'model/o_auth_config_dto.dart';
|
part 'model/o_auth_config_dto.dart';
|
||||||
part 'model/o_auth_config_response_dto.dart';
|
part 'model/o_auth_config_response_dto.dart';
|
||||||
|
part 'model/partner_response_dto.dart';
|
||||||
part 'model/path_entity_type.dart';
|
part 'model/path_entity_type.dart';
|
||||||
part 'model/path_type.dart';
|
part 'model/path_type.dart';
|
||||||
part 'model/people_response_dto.dart';
|
part 'model/people_response_dto.dart';
|
||||||
|
@ -133,6 +134,7 @@ part 'model/person_response_dto.dart';
|
||||||
part 'model/person_statistics_response_dto.dart';
|
part 'model/person_statistics_response_dto.dart';
|
||||||
part 'model/person_update_dto.dart';
|
part 'model/person_update_dto.dart';
|
||||||
part 'model/queue_status_dto.dart';
|
part 'model/queue_status_dto.dart';
|
||||||
|
part 'model/reaction_level.dart';
|
||||||
part 'model/reaction_type.dart';
|
part 'model/reaction_type.dart';
|
||||||
part 'model/recognition_config.dart';
|
part 'model/recognition_config.dart';
|
||||||
part 'model/scan_library_dto.dart';
|
part 'model/scan_library_dto.dart';
|
||||||
|
@ -185,6 +187,7 @@ part 'model/transcode_policy.dart';
|
||||||
part 'model/update_album_dto.dart';
|
part 'model/update_album_dto.dart';
|
||||||
part 'model/update_asset_dto.dart';
|
part 'model/update_asset_dto.dart';
|
||||||
part 'model/update_library_dto.dart';
|
part 'model/update_library_dto.dart';
|
||||||
|
part 'model/update_partner_dto.dart';
|
||||||
part 'model/update_stack_parent_dto.dart';
|
part 'model/update_stack_parent_dto.dart';
|
||||||
part 'model/update_tag_dto.dart';
|
part 'model/update_tag_dto.dart';
|
||||||
part 'model/update_user_dto.dart';
|
part 'model/update_user_dto.dart';
|
||||||
|
|
10
mobile/openapi/lib/api_client.dart
generated
10
mobile/openapi/lib/api_client.dart
generated
|
@ -197,8 +197,6 @@ class ApiClient {
|
||||||
return ActivityStatisticsResponseDto.fromJson(value);
|
return ActivityStatisticsResponseDto.fromJson(value);
|
||||||
case 'AddUsersDto':
|
case 'AddUsersDto':
|
||||||
return AddUsersDto.fromJson(value);
|
return AddUsersDto.fromJson(value);
|
||||||
case 'AdminSignupResponseDto':
|
|
||||||
return AdminSignupResponseDto.fromJson(value);
|
|
||||||
case 'AlbumCountResponseDto':
|
case 'AlbumCountResponseDto':
|
||||||
return AlbumCountResponseDto.fromJson(value);
|
return AlbumCountResponseDto.fromJson(value);
|
||||||
case 'AlbumResponseDto':
|
case 'AlbumResponseDto':
|
||||||
|
@ -323,6 +321,8 @@ class ApiClient {
|
||||||
return LogoutResponseDto.fromJson(value);
|
return LogoutResponseDto.fromJson(value);
|
||||||
case 'MapMarkerResponseDto':
|
case 'MapMarkerResponseDto':
|
||||||
return MapMarkerResponseDto.fromJson(value);
|
return MapMarkerResponseDto.fromJson(value);
|
||||||
|
case 'MapTheme':
|
||||||
|
return MapThemeTypeTransformer().decode(value);
|
||||||
case 'MemoryLaneResponseDto':
|
case 'MemoryLaneResponseDto':
|
||||||
return MemoryLaneResponseDto.fromJson(value);
|
return MemoryLaneResponseDto.fromJson(value);
|
||||||
case 'MergePersonDto':
|
case 'MergePersonDto':
|
||||||
|
@ -337,6 +337,8 @@ class ApiClient {
|
||||||
return OAuthConfigDto.fromJson(value);
|
return OAuthConfigDto.fromJson(value);
|
||||||
case 'OAuthConfigResponseDto':
|
case 'OAuthConfigResponseDto':
|
||||||
return OAuthConfigResponseDto.fromJson(value);
|
return OAuthConfigResponseDto.fromJson(value);
|
||||||
|
case 'PartnerResponseDto':
|
||||||
|
return PartnerResponseDto.fromJson(value);
|
||||||
case 'PathEntityType':
|
case 'PathEntityType':
|
||||||
return PathEntityTypeTypeTransformer().decode(value);
|
return PathEntityTypeTypeTransformer().decode(value);
|
||||||
case 'PathType':
|
case 'PathType':
|
||||||
|
@ -355,6 +357,8 @@ class ApiClient {
|
||||||
return PersonUpdateDto.fromJson(value);
|
return PersonUpdateDto.fromJson(value);
|
||||||
case 'QueueStatusDto':
|
case 'QueueStatusDto':
|
||||||
return QueueStatusDto.fromJson(value);
|
return QueueStatusDto.fromJson(value);
|
||||||
|
case 'ReactionLevel':
|
||||||
|
return ReactionLevelTypeTransformer().decode(value);
|
||||||
case 'ReactionType':
|
case 'ReactionType':
|
||||||
return ReactionTypeTypeTransformer().decode(value);
|
return ReactionTypeTypeTransformer().decode(value);
|
||||||
case 'RecognitionConfig':
|
case 'RecognitionConfig':
|
||||||
|
@ -459,6 +463,8 @@ class ApiClient {
|
||||||
return UpdateAssetDto.fromJson(value);
|
return UpdateAssetDto.fromJson(value);
|
||||||
case 'UpdateLibraryDto':
|
case 'UpdateLibraryDto':
|
||||||
return UpdateLibraryDto.fromJson(value);
|
return UpdateLibraryDto.fromJson(value);
|
||||||
|
case 'UpdatePartnerDto':
|
||||||
|
return UpdatePartnerDto.fromJson(value);
|
||||||
case 'UpdateStackParentDto':
|
case 'UpdateStackParentDto':
|
||||||
return UpdateStackParentDto.fromJson(value);
|
return UpdateStackParentDto.fromJson(value);
|
||||||
case 'UpdateTagDto':
|
case 'UpdateTagDto':
|
||||||
|
|
6
mobile/openapi/lib/api_helper.dart
generated
6
mobile/openapi/lib/api_helper.dart
generated
|
@ -88,6 +88,9 @@ String parameterToString(dynamic value) {
|
||||||
if (value is LibraryType) {
|
if (value is LibraryType) {
|
||||||
return LibraryTypeTypeTransformer().encode(value).toString();
|
return LibraryTypeTypeTransformer().encode(value).toString();
|
||||||
}
|
}
|
||||||
|
if (value is MapTheme) {
|
||||||
|
return MapThemeTypeTransformer().encode(value).toString();
|
||||||
|
}
|
||||||
if (value is ModelType) {
|
if (value is ModelType) {
|
||||||
return ModelTypeTypeTransformer().encode(value).toString();
|
return ModelTypeTypeTransformer().encode(value).toString();
|
||||||
}
|
}
|
||||||
|
@ -97,6 +100,9 @@ String parameterToString(dynamic value) {
|
||||||
if (value is PathType) {
|
if (value is PathType) {
|
||||||
return PathTypeTypeTransformer().encode(value).toString();
|
return PathTypeTypeTransformer().encode(value).toString();
|
||||||
}
|
}
|
||||||
|
if (value is ReactionLevel) {
|
||||||
|
return ReactionLevelTypeTransformer().encode(value).toString();
|
||||||
|
}
|
||||||
if (value is ReactionType) {
|
if (value is ReactionType) {
|
||||||
return ReactionTypeTypeTransformer().encode(value).toString();
|
return ReactionTypeTypeTransformer().encode(value).toString();
|
||||||
}
|
}
|
||||||
|
|
108
mobile/openapi/lib/model/partner_response_dto.dart
generated
108
mobile/openapi/lib/model/partner_response_dto.dart
generated
|
@ -13,6 +13,7 @@ part of openapi.api;
|
||||||
class PartnerResponseDto {
|
class PartnerResponseDto {
|
||||||
/// Returns a new [PartnerResponseDto] instance.
|
/// Returns a new [PartnerResponseDto] instance.
|
||||||
PartnerResponseDto({
|
PartnerResponseDto({
|
||||||
|
required this.avatarColor,
|
||||||
required this.createdAt,
|
required this.createdAt,
|
||||||
required this.deletedAt,
|
required this.deletedAt,
|
||||||
required this.email,
|
required this.email,
|
||||||
|
@ -29,6 +30,8 @@ class PartnerResponseDto {
|
||||||
required this.updatedAt,
|
required this.updatedAt,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
PartnerResponseDtoAvatarColorEnum avatarColor;
|
||||||
|
|
||||||
DateTime createdAt;
|
DateTime createdAt;
|
||||||
|
|
||||||
DateTime? deletedAt;
|
DateTime? deletedAt;
|
||||||
|
@ -71,6 +74,7 @@ class PartnerResponseDto {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(Object other) => identical(this, other) || other is PartnerResponseDto &&
|
bool operator ==(Object other) => identical(this, other) || other is PartnerResponseDto &&
|
||||||
|
other.avatarColor == avatarColor &&
|
||||||
other.createdAt == createdAt &&
|
other.createdAt == createdAt &&
|
||||||
other.deletedAt == deletedAt &&
|
other.deletedAt == deletedAt &&
|
||||||
other.email == email &&
|
other.email == email &&
|
||||||
|
@ -89,6 +93,7 @@ class PartnerResponseDto {
|
||||||
@override
|
@override
|
||||||
int get hashCode =>
|
int get hashCode =>
|
||||||
// ignore: unnecessary_parenthesis
|
// ignore: unnecessary_parenthesis
|
||||||
|
(avatarColor.hashCode) +
|
||||||
(createdAt.hashCode) +
|
(createdAt.hashCode) +
|
||||||
(deletedAt == null ? 0 : deletedAt!.hashCode) +
|
(deletedAt == null ? 0 : deletedAt!.hashCode) +
|
||||||
(email.hashCode) +
|
(email.hashCode) +
|
||||||
|
@ -105,10 +110,11 @@ class PartnerResponseDto {
|
||||||
(updatedAt.hashCode);
|
(updatedAt.hashCode);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() => 'PartnerResponseDto[createdAt=$createdAt, deletedAt=$deletedAt, email=$email, externalPath=$externalPath, id=$id, inTimeline=$inTimeline, isAdmin=$isAdmin, memoriesEnabled=$memoriesEnabled, name=$name, oauthId=$oauthId, profileImagePath=$profileImagePath, shouldChangePassword=$shouldChangePassword, storageLabel=$storageLabel, updatedAt=$updatedAt]';
|
String toString() => 'PartnerResponseDto[avatarColor=$avatarColor, createdAt=$createdAt, deletedAt=$deletedAt, email=$email, externalPath=$externalPath, id=$id, inTimeline=$inTimeline, isAdmin=$isAdmin, memoriesEnabled=$memoriesEnabled, name=$name, oauthId=$oauthId, profileImagePath=$profileImagePath, shouldChangePassword=$shouldChangePassword, storageLabel=$storageLabel, updatedAt=$updatedAt]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
|
json[r'avatarColor'] = this.avatarColor;
|
||||||
json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
|
json[r'createdAt'] = this.createdAt.toUtc().toIso8601String();
|
||||||
if (this.deletedAt != null) {
|
if (this.deletedAt != null) {
|
||||||
json[r'deletedAt'] = this.deletedAt!.toUtc().toIso8601String();
|
json[r'deletedAt'] = this.deletedAt!.toUtc().toIso8601String();
|
||||||
|
@ -154,6 +160,7 @@ class PartnerResponseDto {
|
||||||
final json = value.cast<String, dynamic>();
|
final json = value.cast<String, dynamic>();
|
||||||
|
|
||||||
return PartnerResponseDto(
|
return PartnerResponseDto(
|
||||||
|
avatarColor: PartnerResponseDtoAvatarColorEnum.fromJson(json[r'avatarColor'])!,
|
||||||
createdAt: mapDateTime(json, r'createdAt', '')!,
|
createdAt: mapDateTime(json, r'createdAt', '')!,
|
||||||
deletedAt: mapDateTime(json, r'deletedAt', ''),
|
deletedAt: mapDateTime(json, r'deletedAt', ''),
|
||||||
email: mapValueOfType<String>(json, r'email')!,
|
email: mapValueOfType<String>(json, r'email')!,
|
||||||
|
@ -215,6 +222,7 @@ class PartnerResponseDto {
|
||||||
|
|
||||||
/// The list of required keys that must be present in a JSON.
|
/// The list of required keys that must be present in a JSON.
|
||||||
static const requiredKeys = <String>{
|
static const requiredKeys = <String>{
|
||||||
|
'avatarColor',
|
||||||
'createdAt',
|
'createdAt',
|
||||||
'deletedAt',
|
'deletedAt',
|
||||||
'email',
|
'email',
|
||||||
|
@ -230,3 +238,101 @@ class PartnerResponseDto {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
class PartnerResponseDtoAvatarColorEnum {
|
||||||
|
/// Instantiate a new enum with the provided [value].
|
||||||
|
const PartnerResponseDtoAvatarColorEnum._(this.value);
|
||||||
|
|
||||||
|
/// The underlying value of this enum member.
|
||||||
|
final String value;
|
||||||
|
|
||||||
|
@override
|
||||||
|
String toString() => value;
|
||||||
|
|
||||||
|
String toJson() => value;
|
||||||
|
|
||||||
|
static const primary = PartnerResponseDtoAvatarColorEnum._(r'primary');
|
||||||
|
static const pink = PartnerResponseDtoAvatarColorEnum._(r'pink');
|
||||||
|
static const red = PartnerResponseDtoAvatarColorEnum._(r'red');
|
||||||
|
static const yellow = PartnerResponseDtoAvatarColorEnum._(r'yellow');
|
||||||
|
static const blue = PartnerResponseDtoAvatarColorEnum._(r'blue');
|
||||||
|
static const green = PartnerResponseDtoAvatarColorEnum._(r'green');
|
||||||
|
static const purple = PartnerResponseDtoAvatarColorEnum._(r'purple');
|
||||||
|
static const orange = PartnerResponseDtoAvatarColorEnum._(r'orange');
|
||||||
|
static const gray = PartnerResponseDtoAvatarColorEnum._(r'gray');
|
||||||
|
static const amber = PartnerResponseDtoAvatarColorEnum._(r'amber');
|
||||||
|
|
||||||
|
/// List of all possible values in this [enum][PartnerResponseDtoAvatarColorEnum].
|
||||||
|
static const values = <PartnerResponseDtoAvatarColorEnum>[
|
||||||
|
primary,
|
||||||
|
pink,
|
||||||
|
red,
|
||||||
|
yellow,
|
||||||
|
blue,
|
||||||
|
green,
|
||||||
|
purple,
|
||||||
|
orange,
|
||||||
|
gray,
|
||||||
|
amber,
|
||||||
|
];
|
||||||
|
|
||||||
|
static PartnerResponseDtoAvatarColorEnum? fromJson(dynamic value) => PartnerResponseDtoAvatarColorEnumTypeTransformer().decode(value);
|
||||||
|
|
||||||
|
static List<PartnerResponseDtoAvatarColorEnum>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||||
|
final result = <PartnerResponseDtoAvatarColorEnum>[];
|
||||||
|
if (json is List && json.isNotEmpty) {
|
||||||
|
for (final row in json) {
|
||||||
|
final value = PartnerResponseDtoAvatarColorEnum.fromJson(row);
|
||||||
|
if (value != null) {
|
||||||
|
result.add(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result.toList(growable: growable);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Transformation class that can [encode] an instance of [PartnerResponseDtoAvatarColorEnum] to String,
|
||||||
|
/// and [decode] dynamic data back to [PartnerResponseDtoAvatarColorEnum].
|
||||||
|
class PartnerResponseDtoAvatarColorEnumTypeTransformer {
|
||||||
|
factory PartnerResponseDtoAvatarColorEnumTypeTransformer() => _instance ??= const PartnerResponseDtoAvatarColorEnumTypeTransformer._();
|
||||||
|
|
||||||
|
const PartnerResponseDtoAvatarColorEnumTypeTransformer._();
|
||||||
|
|
||||||
|
String encode(PartnerResponseDtoAvatarColorEnum data) => data.value;
|
||||||
|
|
||||||
|
/// Decodes a [dynamic value][data] to a PartnerResponseDtoAvatarColorEnum.
|
||||||
|
///
|
||||||
|
/// If [allowNull] is true and the [dynamic value][data] cannot be decoded successfully,
|
||||||
|
/// then null is returned. However, if [allowNull] is false and the [dynamic value][data]
|
||||||
|
/// cannot be decoded successfully, then an [UnimplementedError] is thrown.
|
||||||
|
///
|
||||||
|
/// The [allowNull] is very handy when an API changes and a new enum value is added or removed,
|
||||||
|
/// and users are still using an old app with the old code.
|
||||||
|
PartnerResponseDtoAvatarColorEnum? decode(dynamic data, {bool allowNull = true}) {
|
||||||
|
if (data != null) {
|
||||||
|
switch (data) {
|
||||||
|
case r'primary': return PartnerResponseDtoAvatarColorEnum.primary;
|
||||||
|
case r'pink': return PartnerResponseDtoAvatarColorEnum.pink;
|
||||||
|
case r'red': return PartnerResponseDtoAvatarColorEnum.red;
|
||||||
|
case r'yellow': return PartnerResponseDtoAvatarColorEnum.yellow;
|
||||||
|
case r'blue': return PartnerResponseDtoAvatarColorEnum.blue;
|
||||||
|
case r'green': return PartnerResponseDtoAvatarColorEnum.green;
|
||||||
|
case r'purple': return PartnerResponseDtoAvatarColorEnum.purple;
|
||||||
|
case r'orange': return PartnerResponseDtoAvatarColorEnum.orange;
|
||||||
|
case r'gray': return PartnerResponseDtoAvatarColorEnum.gray;
|
||||||
|
case r'amber': return PartnerResponseDtoAvatarColorEnum.amber;
|
||||||
|
default:
|
||||||
|
if (!allowNull) {
|
||||||
|
throw ArgumentError('Unknown enum value to decode: $data');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Singleton [PartnerResponseDtoAvatarColorEnumTypeTransformer] instance.
|
||||||
|
static PartnerResponseDtoAvatarColorEnumTypeTransformer? _instance;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
41
mobile/openapi/lib/model/update_user_dto.dart
generated
41
mobile/openapi/lib/model/update_user_dto.dart
generated
|
@ -16,11 +16,10 @@ class UpdateUserDto {
|
||||||
this.avatarColor,
|
this.avatarColor,
|
||||||
this.email,
|
this.email,
|
||||||
this.externalPath,
|
this.externalPath,
|
||||||
this.firstName,
|
|
||||||
required this.id,
|
required this.id,
|
||||||
this.isAdmin,
|
this.isAdmin,
|
||||||
this.lastName,
|
|
||||||
this.memoriesEnabled,
|
this.memoriesEnabled,
|
||||||
|
this.name,
|
||||||
this.password,
|
this.password,
|
||||||
this.shouldChangePassword,
|
this.shouldChangePassword,
|
||||||
this.storageLabel,
|
this.storageLabel,
|
||||||
|
@ -50,14 +49,6 @@ class UpdateUserDto {
|
||||||
///
|
///
|
||||||
String? externalPath;
|
String? externalPath;
|
||||||
|
|
||||||
///
|
|
||||||
/// Please note: This property should have been non-nullable! Since the specification file
|
|
||||||
/// does not include a default value (using the "default:" property), however, the generated
|
|
||||||
/// source code must fall back to having a nullable type.
|
|
||||||
/// Consider adding a "default:" property in the specification file to hide this note.
|
|
||||||
///
|
|
||||||
String? firstName;
|
|
||||||
|
|
||||||
String id;
|
String id;
|
||||||
|
|
||||||
///
|
///
|
||||||
|
@ -74,7 +65,7 @@ class UpdateUserDto {
|
||||||
/// source code must fall back to having a nullable type.
|
/// source code must fall back to having a nullable type.
|
||||||
/// Consider adding a "default:" property in the specification file to hide this note.
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
||||||
///
|
///
|
||||||
String? lastName;
|
bool? memoriesEnabled;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Please note: This property should have been non-nullable! Since the specification file
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
|
@ -82,7 +73,7 @@ class UpdateUserDto {
|
||||||
/// source code must fall back to having a nullable type.
|
/// source code must fall back to having a nullable type.
|
||||||
/// Consider adding a "default:" property in the specification file to hide this note.
|
/// Consider adding a "default:" property in the specification file to hide this note.
|
||||||
///
|
///
|
||||||
bool? memoriesEnabled;
|
String? name;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Please note: This property should have been non-nullable! Since the specification file
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
|
@ -113,11 +104,10 @@ class UpdateUserDto {
|
||||||
other.avatarColor == avatarColor &&
|
other.avatarColor == avatarColor &&
|
||||||
other.email == email &&
|
other.email == email &&
|
||||||
other.externalPath == externalPath &&
|
other.externalPath == externalPath &&
|
||||||
other.firstName == firstName &&
|
|
||||||
other.id == id &&
|
other.id == id &&
|
||||||
other.isAdmin == isAdmin &&
|
other.isAdmin == isAdmin &&
|
||||||
other.lastName == lastName &&
|
|
||||||
other.memoriesEnabled == memoriesEnabled &&
|
other.memoriesEnabled == memoriesEnabled &&
|
||||||
|
other.name == name &&
|
||||||
other.password == password &&
|
other.password == password &&
|
||||||
other.shouldChangePassword == shouldChangePassword &&
|
other.shouldChangePassword == shouldChangePassword &&
|
||||||
other.storageLabel == storageLabel;
|
other.storageLabel == storageLabel;
|
||||||
|
@ -128,17 +118,16 @@ class UpdateUserDto {
|
||||||
(avatarColor == null ? 0 : avatarColor!.hashCode) +
|
(avatarColor == null ? 0 : avatarColor!.hashCode) +
|
||||||
(email == null ? 0 : email!.hashCode) +
|
(email == null ? 0 : email!.hashCode) +
|
||||||
(externalPath == null ? 0 : externalPath!.hashCode) +
|
(externalPath == null ? 0 : externalPath!.hashCode) +
|
||||||
(firstName == null ? 0 : firstName!.hashCode) +
|
|
||||||
(id.hashCode) +
|
(id.hashCode) +
|
||||||
(isAdmin == null ? 0 : isAdmin!.hashCode) +
|
(isAdmin == null ? 0 : isAdmin!.hashCode) +
|
||||||
(lastName == null ? 0 : lastName!.hashCode) +
|
|
||||||
(memoriesEnabled == null ? 0 : memoriesEnabled!.hashCode) +
|
(memoriesEnabled == null ? 0 : memoriesEnabled!.hashCode) +
|
||||||
|
(name == null ? 0 : name!.hashCode) +
|
||||||
(password == null ? 0 : password!.hashCode) +
|
(password == null ? 0 : password!.hashCode) +
|
||||||
(shouldChangePassword == null ? 0 : shouldChangePassword!.hashCode) +
|
(shouldChangePassword == null ? 0 : shouldChangePassword!.hashCode) +
|
||||||
(storageLabel == null ? 0 : storageLabel!.hashCode);
|
(storageLabel == null ? 0 : storageLabel!.hashCode);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() => 'UpdateUserDto[avatarColor=$avatarColor, email=$email, externalPath=$externalPath, firstName=$firstName, id=$id, isAdmin=$isAdmin, lastName=$lastName, memoriesEnabled=$memoriesEnabled, password=$password, shouldChangePassword=$shouldChangePassword, storageLabel=$storageLabel]';
|
String toString() => 'UpdateUserDto[avatarColor=$avatarColor, email=$email, externalPath=$externalPath, id=$id, isAdmin=$isAdmin, memoriesEnabled=$memoriesEnabled, name=$name, password=$password, shouldChangePassword=$shouldChangePassword, storageLabel=$storageLabel]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
|
@ -156,11 +145,6 @@ class UpdateUserDto {
|
||||||
json[r'externalPath'] = this.externalPath;
|
json[r'externalPath'] = this.externalPath;
|
||||||
} else {
|
} else {
|
||||||
// json[r'externalPath'] = null;
|
// json[r'externalPath'] = null;
|
||||||
}
|
|
||||||
if (this.firstName != null) {
|
|
||||||
json[r'firstName'] = this.firstName;
|
|
||||||
} else {
|
|
||||||
// json[r'firstName'] = null;
|
|
||||||
}
|
}
|
||||||
json[r'id'] = this.id;
|
json[r'id'] = this.id;
|
||||||
if (this.isAdmin != null) {
|
if (this.isAdmin != null) {
|
||||||
|
@ -168,16 +152,16 @@ class UpdateUserDto {
|
||||||
} else {
|
} else {
|
||||||
// json[r'isAdmin'] = null;
|
// json[r'isAdmin'] = null;
|
||||||
}
|
}
|
||||||
if (this.lastName != null) {
|
|
||||||
json[r'lastName'] = this.lastName;
|
|
||||||
} else {
|
|
||||||
// json[r'lastName'] = null;
|
|
||||||
}
|
|
||||||
if (this.memoriesEnabled != null) {
|
if (this.memoriesEnabled != null) {
|
||||||
json[r'memoriesEnabled'] = this.memoriesEnabled;
|
json[r'memoriesEnabled'] = this.memoriesEnabled;
|
||||||
} else {
|
} else {
|
||||||
// json[r'memoriesEnabled'] = null;
|
// json[r'memoriesEnabled'] = null;
|
||||||
}
|
}
|
||||||
|
if (this.name != null) {
|
||||||
|
json[r'name'] = this.name;
|
||||||
|
} else {
|
||||||
|
// json[r'name'] = null;
|
||||||
|
}
|
||||||
if (this.password != null) {
|
if (this.password != null) {
|
||||||
json[r'password'] = this.password;
|
json[r'password'] = this.password;
|
||||||
} else {
|
} else {
|
||||||
|
@ -207,11 +191,10 @@ class UpdateUserDto {
|
||||||
avatarColor: UserAvatarColor.fromJson(json[r'avatarColor']),
|
avatarColor: UserAvatarColor.fromJson(json[r'avatarColor']),
|
||||||
email: mapValueOfType<String>(json, r'email'),
|
email: mapValueOfType<String>(json, r'email'),
|
||||||
externalPath: mapValueOfType<String>(json, r'externalPath'),
|
externalPath: mapValueOfType<String>(json, r'externalPath'),
|
||||||
firstName: mapValueOfType<String>(json, r'firstName'),
|
|
||||||
id: mapValueOfType<String>(json, r'id')!,
|
id: mapValueOfType<String>(json, r'id')!,
|
||||||
isAdmin: mapValueOfType<bool>(json, r'isAdmin'),
|
isAdmin: mapValueOfType<bool>(json, r'isAdmin'),
|
||||||
lastName: mapValueOfType<String>(json, r'lastName'),
|
|
||||||
memoriesEnabled: mapValueOfType<bool>(json, r'memoriesEnabled'),
|
memoriesEnabled: mapValueOfType<bool>(json, r'memoriesEnabled'),
|
||||||
|
name: mapValueOfType<String>(json, r'name'),
|
||||||
password: mapValueOfType<String>(json, r'password'),
|
password: mapValueOfType<String>(json, r'password'),
|
||||||
shouldChangePassword: mapValueOfType<bool>(json, r'shouldChangePassword'),
|
shouldChangePassword: mapValueOfType<bool>(json, r'shouldChangePassword'),
|
||||||
storageLabel: mapValueOfType<String>(json, r'storageLabel'),
|
storageLabel: mapValueOfType<String>(json, r'storageLabel'),
|
||||||
|
|
24
mobile/openapi/lib/model/user_dto.dart
generated
24
mobile/openapi/lib/model/user_dto.dart
generated
|
@ -15,9 +15,8 @@ class UserDto {
|
||||||
UserDto({
|
UserDto({
|
||||||
required this.avatarColor,
|
required this.avatarColor,
|
||||||
required this.email,
|
required this.email,
|
||||||
required this.firstName,
|
|
||||||
required this.id,
|
required this.id,
|
||||||
required this.lastName,
|
required this.name,
|
||||||
required this.profileImagePath,
|
required this.profileImagePath,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -25,11 +24,9 @@ class UserDto {
|
||||||
|
|
||||||
String email;
|
String email;
|
||||||
|
|
||||||
String firstName;
|
|
||||||
|
|
||||||
String id;
|
String id;
|
||||||
|
|
||||||
String lastName;
|
String name;
|
||||||
|
|
||||||
String profileImagePath;
|
String profileImagePath;
|
||||||
|
|
||||||
|
@ -37,9 +34,8 @@ class UserDto {
|
||||||
bool operator ==(Object other) => identical(this, other) || other is UserDto &&
|
bool operator ==(Object other) => identical(this, other) || other is UserDto &&
|
||||||
other.avatarColor == avatarColor &&
|
other.avatarColor == avatarColor &&
|
||||||
other.email == email &&
|
other.email == email &&
|
||||||
other.firstName == firstName &&
|
|
||||||
other.id == id &&
|
other.id == id &&
|
||||||
other.lastName == lastName &&
|
other.name == name &&
|
||||||
other.profileImagePath == profileImagePath;
|
other.profileImagePath == profileImagePath;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
@ -47,21 +43,19 @@ class UserDto {
|
||||||
// ignore: unnecessary_parenthesis
|
// ignore: unnecessary_parenthesis
|
||||||
(avatarColor.hashCode) +
|
(avatarColor.hashCode) +
|
||||||
(email.hashCode) +
|
(email.hashCode) +
|
||||||
(firstName.hashCode) +
|
|
||||||
(id.hashCode) +
|
(id.hashCode) +
|
||||||
(lastName.hashCode) +
|
(name.hashCode) +
|
||||||
(profileImagePath.hashCode);
|
(profileImagePath.hashCode);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() => 'UserDto[avatarColor=$avatarColor, email=$email, firstName=$firstName, id=$id, lastName=$lastName, profileImagePath=$profileImagePath]';
|
String toString() => 'UserDto[avatarColor=$avatarColor, email=$email, id=$id, name=$name, profileImagePath=$profileImagePath]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
json[r'avatarColor'] = this.avatarColor;
|
json[r'avatarColor'] = this.avatarColor;
|
||||||
json[r'email'] = this.email;
|
json[r'email'] = this.email;
|
||||||
json[r'firstName'] = this.firstName;
|
|
||||||
json[r'id'] = this.id;
|
json[r'id'] = this.id;
|
||||||
json[r'lastName'] = this.lastName;
|
json[r'name'] = this.name;
|
||||||
json[r'profileImagePath'] = this.profileImagePath;
|
json[r'profileImagePath'] = this.profileImagePath;
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
@ -76,9 +70,8 @@ class UserDto {
|
||||||
return UserDto(
|
return UserDto(
|
||||||
avatarColor: UserDtoAvatarColorEnum.fromJson(json[r'avatarColor'])!,
|
avatarColor: UserDtoAvatarColorEnum.fromJson(json[r'avatarColor'])!,
|
||||||
email: mapValueOfType<String>(json, r'email')!,
|
email: mapValueOfType<String>(json, r'email')!,
|
||||||
firstName: mapValueOfType<String>(json, r'firstName')!,
|
|
||||||
id: mapValueOfType<String>(json, r'id')!,
|
id: mapValueOfType<String>(json, r'id')!,
|
||||||
lastName: mapValueOfType<String>(json, r'lastName')!,
|
name: mapValueOfType<String>(json, r'name')!,
|
||||||
profileImagePath: mapValueOfType<String>(json, r'profileImagePath')!,
|
profileImagePath: mapValueOfType<String>(json, r'profileImagePath')!,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -129,9 +122,8 @@ class UserDto {
|
||||||
static const requiredKeys = <String>{
|
static const requiredKeys = <String>{
|
||||||
'avatarColor',
|
'avatarColor',
|
||||||
'email',
|
'email',
|
||||||
'firstName',
|
|
||||||
'id',
|
'id',
|
||||||
'lastName',
|
'name',
|
||||||
'profileImagePath',
|
'profileImagePath',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
26
mobile/openapi/lib/model/user_response_dto.dart
generated
26
mobile/openapi/lib/model/user_response_dto.dart
generated
|
@ -18,11 +18,10 @@ class UserResponseDto {
|
||||||
required this.deletedAt,
|
required this.deletedAt,
|
||||||
required this.email,
|
required this.email,
|
||||||
required this.externalPath,
|
required this.externalPath,
|
||||||
required this.firstName,
|
|
||||||
required this.id,
|
required this.id,
|
||||||
required this.isAdmin,
|
required this.isAdmin,
|
||||||
required this.lastName,
|
|
||||||
this.memoriesEnabled,
|
this.memoriesEnabled,
|
||||||
|
required this.name,
|
||||||
required this.oauthId,
|
required this.oauthId,
|
||||||
required this.profileImagePath,
|
required this.profileImagePath,
|
||||||
required this.shouldChangePassword,
|
required this.shouldChangePassword,
|
||||||
|
@ -40,14 +39,10 @@ class UserResponseDto {
|
||||||
|
|
||||||
String? externalPath;
|
String? externalPath;
|
||||||
|
|
||||||
String firstName;
|
|
||||||
|
|
||||||
String id;
|
String id;
|
||||||
|
|
||||||
bool isAdmin;
|
bool isAdmin;
|
||||||
|
|
||||||
String lastName;
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Please note: This property should have been non-nullable! Since the specification file
|
/// Please note: This property should have been non-nullable! Since the specification file
|
||||||
/// does not include a default value (using the "default:" property), however, the generated
|
/// does not include a default value (using the "default:" property), however, the generated
|
||||||
|
@ -56,6 +51,8 @@ class UserResponseDto {
|
||||||
///
|
///
|
||||||
bool? memoriesEnabled;
|
bool? memoriesEnabled;
|
||||||
|
|
||||||
|
String name;
|
||||||
|
|
||||||
String oauthId;
|
String oauthId;
|
||||||
|
|
||||||
String profileImagePath;
|
String profileImagePath;
|
||||||
|
@ -73,11 +70,10 @@ class UserResponseDto {
|
||||||
other.deletedAt == deletedAt &&
|
other.deletedAt == deletedAt &&
|
||||||
other.email == email &&
|
other.email == email &&
|
||||||
other.externalPath == externalPath &&
|
other.externalPath == externalPath &&
|
||||||
other.firstName == firstName &&
|
|
||||||
other.id == id &&
|
other.id == id &&
|
||||||
other.isAdmin == isAdmin &&
|
other.isAdmin == isAdmin &&
|
||||||
other.lastName == lastName &&
|
|
||||||
other.memoriesEnabled == memoriesEnabled &&
|
other.memoriesEnabled == memoriesEnabled &&
|
||||||
|
other.name == name &&
|
||||||
other.oauthId == oauthId &&
|
other.oauthId == oauthId &&
|
||||||
other.profileImagePath == profileImagePath &&
|
other.profileImagePath == profileImagePath &&
|
||||||
other.shouldChangePassword == shouldChangePassword &&
|
other.shouldChangePassword == shouldChangePassword &&
|
||||||
|
@ -92,11 +88,10 @@ class UserResponseDto {
|
||||||
(deletedAt == null ? 0 : deletedAt!.hashCode) +
|
(deletedAt == null ? 0 : deletedAt!.hashCode) +
|
||||||
(email.hashCode) +
|
(email.hashCode) +
|
||||||
(externalPath == null ? 0 : externalPath!.hashCode) +
|
(externalPath == null ? 0 : externalPath!.hashCode) +
|
||||||
(firstName.hashCode) +
|
|
||||||
(id.hashCode) +
|
(id.hashCode) +
|
||||||
(isAdmin.hashCode) +
|
(isAdmin.hashCode) +
|
||||||
(lastName.hashCode) +
|
|
||||||
(memoriesEnabled == null ? 0 : memoriesEnabled!.hashCode) +
|
(memoriesEnabled == null ? 0 : memoriesEnabled!.hashCode) +
|
||||||
|
(name.hashCode) +
|
||||||
(oauthId.hashCode) +
|
(oauthId.hashCode) +
|
||||||
(profileImagePath.hashCode) +
|
(profileImagePath.hashCode) +
|
||||||
(shouldChangePassword.hashCode) +
|
(shouldChangePassword.hashCode) +
|
||||||
|
@ -104,7 +99,7 @@ class UserResponseDto {
|
||||||
(updatedAt.hashCode);
|
(updatedAt.hashCode);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() => 'UserResponseDto[avatarColor=$avatarColor, createdAt=$createdAt, deletedAt=$deletedAt, email=$email, externalPath=$externalPath, firstName=$firstName, id=$id, isAdmin=$isAdmin, lastName=$lastName, memoriesEnabled=$memoriesEnabled, oauthId=$oauthId, profileImagePath=$profileImagePath, shouldChangePassword=$shouldChangePassword, storageLabel=$storageLabel, updatedAt=$updatedAt]';
|
String toString() => 'UserResponseDto[avatarColor=$avatarColor, createdAt=$createdAt, deletedAt=$deletedAt, email=$email, externalPath=$externalPath, id=$id, isAdmin=$isAdmin, memoriesEnabled=$memoriesEnabled, name=$name, oauthId=$oauthId, profileImagePath=$profileImagePath, shouldChangePassword=$shouldChangePassword, storageLabel=$storageLabel, updatedAt=$updatedAt]';
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final json = <String, dynamic>{};
|
final json = <String, dynamic>{};
|
||||||
|
@ -121,15 +116,14 @@ class UserResponseDto {
|
||||||
} else {
|
} else {
|
||||||
// json[r'externalPath'] = null;
|
// json[r'externalPath'] = null;
|
||||||
}
|
}
|
||||||
json[r'firstName'] = this.firstName;
|
|
||||||
json[r'id'] = this.id;
|
json[r'id'] = this.id;
|
||||||
json[r'isAdmin'] = this.isAdmin;
|
json[r'isAdmin'] = this.isAdmin;
|
||||||
json[r'lastName'] = this.lastName;
|
|
||||||
if (this.memoriesEnabled != null) {
|
if (this.memoriesEnabled != null) {
|
||||||
json[r'memoriesEnabled'] = this.memoriesEnabled;
|
json[r'memoriesEnabled'] = this.memoriesEnabled;
|
||||||
} else {
|
} else {
|
||||||
// json[r'memoriesEnabled'] = null;
|
// json[r'memoriesEnabled'] = null;
|
||||||
}
|
}
|
||||||
|
json[r'name'] = this.name;
|
||||||
json[r'oauthId'] = this.oauthId;
|
json[r'oauthId'] = this.oauthId;
|
||||||
json[r'profileImagePath'] = this.profileImagePath;
|
json[r'profileImagePath'] = this.profileImagePath;
|
||||||
json[r'shouldChangePassword'] = this.shouldChangePassword;
|
json[r'shouldChangePassword'] = this.shouldChangePassword;
|
||||||
|
@ -155,11 +149,10 @@ class UserResponseDto {
|
||||||
deletedAt: mapDateTime(json, r'deletedAt', ''),
|
deletedAt: mapDateTime(json, r'deletedAt', ''),
|
||||||
email: mapValueOfType<String>(json, r'email')!,
|
email: mapValueOfType<String>(json, r'email')!,
|
||||||
externalPath: mapValueOfType<String>(json, r'externalPath'),
|
externalPath: mapValueOfType<String>(json, r'externalPath'),
|
||||||
firstName: mapValueOfType<String>(json, r'firstName')!,
|
|
||||||
id: mapValueOfType<String>(json, r'id')!,
|
id: mapValueOfType<String>(json, r'id')!,
|
||||||
isAdmin: mapValueOfType<bool>(json, r'isAdmin')!,
|
isAdmin: mapValueOfType<bool>(json, r'isAdmin')!,
|
||||||
lastName: mapValueOfType<String>(json, r'lastName')!,
|
|
||||||
memoriesEnabled: mapValueOfType<bool>(json, r'memoriesEnabled'),
|
memoriesEnabled: mapValueOfType<bool>(json, r'memoriesEnabled'),
|
||||||
|
name: mapValueOfType<String>(json, r'name')!,
|
||||||
oauthId: mapValueOfType<String>(json, r'oauthId')!,
|
oauthId: mapValueOfType<String>(json, r'oauthId')!,
|
||||||
profileImagePath: mapValueOfType<String>(json, r'profileImagePath')!,
|
profileImagePath: mapValueOfType<String>(json, r'profileImagePath')!,
|
||||||
shouldChangePassword: mapValueOfType<bool>(json, r'shouldChangePassword')!,
|
shouldChangePassword: mapValueOfType<bool>(json, r'shouldChangePassword')!,
|
||||||
|
@ -217,10 +210,9 @@ class UserResponseDto {
|
||||||
'deletedAt',
|
'deletedAt',
|
||||||
'email',
|
'email',
|
||||||
'externalPath',
|
'externalPath',
|
||||||
'firstName',
|
|
||||||
'id',
|
'id',
|
||||||
'isAdmin',
|
'isAdmin',
|
||||||
'lastName',
|
'name',
|
||||||
'oauthId',
|
'oauthId',
|
||||||
'profileImagePath',
|
'profileImagePath',
|
||||||
'shouldChangePassword',
|
'shouldChangePassword',
|
||||||
|
|
|
@ -16,6 +16,11 @@ void main() {
|
||||||
// final instance = PartnerResponseDto();
|
// final instance = PartnerResponseDto();
|
||||||
|
|
||||||
group('test PartnerResponseDto', () {
|
group('test PartnerResponseDto', () {
|
||||||
|
// String avatarColor
|
||||||
|
test('to test the property `avatarColor`', () async {
|
||||||
|
// TODO
|
||||||
|
});
|
||||||
|
|
||||||
// DateTime createdAt
|
// DateTime createdAt
|
||||||
test('to test the property `createdAt`', () async {
|
test('to test the property `createdAt`', () async {
|
||||||
// TODO
|
// TODO
|
||||||
|
|
13
mobile/openapi/test/update_user_dto_test.dart
generated
13
mobile/openapi/test/update_user_dto_test.dart
generated
|
@ -31,11 +31,6 @@ void main() {
|
||||||
// TODO
|
// TODO
|
||||||
});
|
});
|
||||||
|
|
||||||
// String firstName
|
|
||||||
test('to test the property `firstName`', () async {
|
|
||||||
// TODO
|
|
||||||
});
|
|
||||||
|
|
||||||
// String id
|
// String id
|
||||||
test('to test the property `id`', () async {
|
test('to test the property `id`', () async {
|
||||||
// TODO
|
// TODO
|
||||||
|
@ -46,13 +41,13 @@ void main() {
|
||||||
// TODO
|
// TODO
|
||||||
});
|
});
|
||||||
|
|
||||||
// String lastName
|
// bool memoriesEnabled
|
||||||
test('to test the property `lastName`', () async {
|
test('to test the property `memoriesEnabled`', () async {
|
||||||
// TODO
|
// TODO
|
||||||
});
|
});
|
||||||
|
|
||||||
// bool memoriesEnabled
|
// String name
|
||||||
test('to test the property `memoriesEnabled`', () async {
|
test('to test the property `name`', () async {
|
||||||
// TODO
|
// TODO
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
9
mobile/openapi/test/user_dto_test.dart
generated
9
mobile/openapi/test/user_dto_test.dart
generated
|
@ -26,18 +26,13 @@ void main() {
|
||||||
// TODO
|
// TODO
|
||||||
});
|
});
|
||||||
|
|
||||||
// String firstName
|
|
||||||
test('to test the property `firstName`', () async {
|
|
||||||
// TODO
|
|
||||||
});
|
|
||||||
|
|
||||||
// String id
|
// String id
|
||||||
test('to test the property `id`', () async {
|
test('to test the property `id`', () async {
|
||||||
// TODO
|
// TODO
|
||||||
});
|
});
|
||||||
|
|
||||||
// String lastName
|
// String name
|
||||||
test('to test the property `lastName`', () async {
|
test('to test the property `name`', () async {
|
||||||
// TODO
|
// TODO
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
13
mobile/openapi/test/user_response_dto_test.dart
generated
13
mobile/openapi/test/user_response_dto_test.dart
generated
|
@ -41,11 +41,6 @@ void main() {
|
||||||
// TODO
|
// TODO
|
||||||
});
|
});
|
||||||
|
|
||||||
// String firstName
|
|
||||||
test('to test the property `firstName`', () async {
|
|
||||||
// TODO
|
|
||||||
});
|
|
||||||
|
|
||||||
// String id
|
// String id
|
||||||
test('to test the property `id`', () async {
|
test('to test the property `id`', () async {
|
||||||
// TODO
|
// TODO
|
||||||
|
@ -56,13 +51,13 @@ void main() {
|
||||||
// TODO
|
// TODO
|
||||||
});
|
});
|
||||||
|
|
||||||
// String lastName
|
// bool memoriesEnabled
|
||||||
test('to test the property `lastName`', () async {
|
test('to test the property `memoriesEnabled`', () async {
|
||||||
// TODO
|
// TODO
|
||||||
});
|
});
|
||||||
|
|
||||||
// bool memoriesEnabled
|
// String name
|
||||||
test('to test the property `memoriesEnabled`', () async {
|
test('to test the property `name`', () async {
|
||||||
// TODO
|
// TODO
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -7655,6 +7655,21 @@
|
||||||
},
|
},
|
||||||
"PartnerResponseDto": {
|
"PartnerResponseDto": {
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"avatarColor": {
|
||||||
|
"enum": [
|
||||||
|
"primary",
|
||||||
|
"pink",
|
||||||
|
"red",
|
||||||
|
"yellow",
|
||||||
|
"blue",
|
||||||
|
"green",
|
||||||
|
"purple",
|
||||||
|
"orange",
|
||||||
|
"gray",
|
||||||
|
"amber"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"createdAt": {
|
"createdAt": {
|
||||||
"format": "date-time",
|
"format": "date-time",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -7709,6 +7724,7 @@
|
||||||
"name",
|
"name",
|
||||||
"email",
|
"email",
|
||||||
"profileImagePath",
|
"profileImagePath",
|
||||||
|
"avatarColor",
|
||||||
"storageLabel",
|
"storageLabel",
|
||||||
"externalPath",
|
"externalPath",
|
||||||
"shouldChangePassword",
|
"shouldChangePassword",
|
||||||
|
|
561
web/src/api/open-api/api.ts
generated
561
web/src/api/open-api/api.ts
generated
|
@ -209,43 +209,6 @@ export interface AddUsersDto {
|
||||||
*/
|
*/
|
||||||
'sharedUserIds': Array<string>;
|
'sharedUserIds': Array<string>;
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
export interface AdminSignupResponseDto {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
'createdAt': string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
'email': string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
'firstName': string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
'id': string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof AdminSignupResponseDto
|
|
||||||
*/
|
|
||||||
'lastName': string;
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -1378,24 +1341,18 @@ export interface CreateUserDto {
|
||||||
* @memberof CreateUserDto
|
* @memberof CreateUserDto
|
||||||
*/
|
*/
|
||||||
'externalPath'?: string | null;
|
'externalPath'?: string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof CreateUserDto
|
|
||||||
*/
|
|
||||||
'firstName': string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof CreateUserDto
|
|
||||||
*/
|
|
||||||
'lastName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @memberof CreateUserDto
|
* @memberof CreateUserDto
|
||||||
*/
|
*/
|
||||||
'memoriesEnabled'?: boolean;
|
'memoriesEnabled'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof CreateUserDto
|
||||||
|
*/
|
||||||
|
'name': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -2174,12 +2131,6 @@ export interface LoginResponseDto {
|
||||||
* @memberof LoginResponseDto
|
* @memberof LoginResponseDto
|
||||||
*/
|
*/
|
||||||
'accessToken': string;
|
'accessToken': string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof LoginResponseDto
|
|
||||||
*/
|
|
||||||
'firstName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
@ -2191,7 +2142,7 @@ export interface LoginResponseDto {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof LoginResponseDto
|
* @memberof LoginResponseDto
|
||||||
*/
|
*/
|
||||||
'lastName': string;
|
'name': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -2261,6 +2212,20 @@ export interface MapMarkerResponseDto {
|
||||||
*/
|
*/
|
||||||
'lon': number;
|
'lon': number;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @export
|
||||||
|
* @enum {string}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const MapTheme = {
|
||||||
|
Light: 'light',
|
||||||
|
Dark: 'dark'
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
export type MapTheme = typeof MapTheme[keyof typeof MapTheme];
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -2384,6 +2349,119 @@ export interface OAuthConfigResponseDto {
|
||||||
*/
|
*/
|
||||||
'url'?: string;
|
'url'?: string;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @export
|
||||||
|
* @interface PartnerResponseDto
|
||||||
|
*/
|
||||||
|
export interface PartnerResponseDto {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'avatarColor': PartnerResponseDtoAvatarColorEnum;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'createdAt': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'deletedAt': string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'email': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'externalPath': string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'id': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'inTimeline'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'isAdmin': boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'memoriesEnabled'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'name': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'oauthId': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'profileImagePath': string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'shouldChangePassword': boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'storageLabel': string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerResponseDto
|
||||||
|
*/
|
||||||
|
'updatedAt': string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const PartnerResponseDtoAvatarColorEnum = {
|
||||||
|
Primary: 'primary',
|
||||||
|
Pink: 'pink',
|
||||||
|
Red: 'red',
|
||||||
|
Yellow: 'yellow',
|
||||||
|
Blue: 'blue',
|
||||||
|
Green: 'green',
|
||||||
|
Purple: 'purple',
|
||||||
|
Orange: 'orange',
|
||||||
|
Gray: 'gray',
|
||||||
|
Amber: 'amber'
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
export type PartnerResponseDtoAvatarColorEnum = typeof PartnerResponseDtoAvatarColorEnum[keyof typeof PartnerResponseDtoAvatarColorEnum];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -2593,6 +2671,20 @@ export interface QueueStatusDto {
|
||||||
*/
|
*/
|
||||||
'isPaused': boolean;
|
'isPaused': boolean;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @export
|
||||||
|
* @enum {string}
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const ReactionLevel = {
|
||||||
|
Album: 'album',
|
||||||
|
Asset: 'asset'
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
export type ReactionLevel = typeof ReactionLevel[keyof typeof ReactionLevel];
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -2859,12 +2951,6 @@ export interface ServerConfigDto {
|
||||||
* @memberof ServerConfigDto
|
* @memberof ServerConfigDto
|
||||||
*/
|
*/
|
||||||
'loginPageMessage': string;
|
'loginPageMessage': string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof ServerConfigDto
|
|
||||||
*/
|
|
||||||
'mapTileUrl': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -3349,13 +3435,7 @@ export interface SignUpDto {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof SignUpDto
|
* @memberof SignUpDto
|
||||||
*/
|
*/
|
||||||
'firstName': string;
|
'name': string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SignUpDto
|
|
||||||
*/
|
|
||||||
'lastName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -3732,6 +3812,12 @@ export interface SystemConfigMachineLearningDto {
|
||||||
* @interface SystemConfigMapDto
|
* @interface SystemConfigMapDto
|
||||||
*/
|
*/
|
||||||
export interface SystemConfigMapDto {
|
export interface SystemConfigMapDto {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof SystemConfigMapDto
|
||||||
|
*/
|
||||||
|
'darkStyle': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
@ -3743,7 +3829,7 @@ export interface SystemConfigMapDto {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof SystemConfigMapDto
|
* @memberof SystemConfigMapDto
|
||||||
*/
|
*/
|
||||||
'tileUrl': string;
|
'lightStyle': string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -4229,6 +4315,19 @@ export interface UpdateLibraryDto {
|
||||||
*/
|
*/
|
||||||
'name'?: string;
|
'name'?: string;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @export
|
||||||
|
* @interface UpdatePartnerDto
|
||||||
|
*/
|
||||||
|
export interface UpdatePartnerDto {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof UpdatePartnerDto
|
||||||
|
*/
|
||||||
|
'inTimeline': boolean;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -4285,12 +4384,6 @@ export interface UpdateUserDto {
|
||||||
* @memberof UpdateUserDto
|
* @memberof UpdateUserDto
|
||||||
*/
|
*/
|
||||||
'externalPath'?: string;
|
'externalPath'?: string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UpdateUserDto
|
|
||||||
*/
|
|
||||||
'firstName'?: string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4303,18 +4396,18 @@ export interface UpdateUserDto {
|
||||||
* @memberof UpdateUserDto
|
* @memberof UpdateUserDto
|
||||||
*/
|
*/
|
||||||
'isAdmin'?: boolean;
|
'isAdmin'?: boolean;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UpdateUserDto
|
|
||||||
*/
|
|
||||||
'lastName'?: string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @memberof UpdateUserDto
|
* @memberof UpdateUserDto
|
||||||
*/
|
*/
|
||||||
'memoriesEnabled'?: boolean;
|
'memoriesEnabled'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof UpdateUserDto
|
||||||
|
*/
|
||||||
|
'name'?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4354,12 +4447,6 @@ export interface UsageByUserDto {
|
||||||
* @memberof UsageByUserDto
|
* @memberof UsageByUserDto
|
||||||
*/
|
*/
|
||||||
'usage': number;
|
'usage': number;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UsageByUserDto
|
|
||||||
*/
|
|
||||||
'userFirstName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4371,7 +4458,7 @@ export interface UsageByUserDto {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof UsageByUserDto
|
* @memberof UsageByUserDto
|
||||||
*/
|
*/
|
||||||
'userLastName': string;
|
'userName': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
|
@ -4419,12 +4506,6 @@ export interface UserDto {
|
||||||
* @memberof UserDto
|
* @memberof UserDto
|
||||||
*/
|
*/
|
||||||
'email': string;
|
'email': string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UserDto
|
|
||||||
*/
|
|
||||||
'firstName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4436,7 +4517,7 @@ export interface UserDto {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof UserDto
|
* @memberof UserDto
|
||||||
*/
|
*/
|
||||||
'lastName': string;
|
'name': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4496,12 +4577,6 @@ export interface UserResponseDto {
|
||||||
* @memberof UserResponseDto
|
* @memberof UserResponseDto
|
||||||
*/
|
*/
|
||||||
'externalPath': string | null;
|
'externalPath': string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UserResponseDto
|
|
||||||
*/
|
|
||||||
'firstName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -4514,18 +4589,18 @@ export interface UserResponseDto {
|
||||||
* @memberof UserResponseDto
|
* @memberof UserResponseDto
|
||||||
*/
|
*/
|
||||||
'isAdmin': boolean;
|
'isAdmin': boolean;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UserResponseDto
|
|
||||||
*/
|
|
||||||
'lastName': string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
* @memberof UserResponseDto
|
* @memberof UserResponseDto
|
||||||
*/
|
*/
|
||||||
'memoriesEnabled'?: boolean;
|
'memoriesEnabled'?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof UserResponseDto
|
||||||
|
*/
|
||||||
|
'name': string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -5162,11 +5237,12 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat
|
||||||
* @param {string} albumId
|
* @param {string} albumId
|
||||||
* @param {string} [assetId]
|
* @param {string} [assetId]
|
||||||
* @param {ReactionType} [type]
|
* @param {ReactionType} [type]
|
||||||
|
* @param {ReactionLevel} [level]
|
||||||
* @param {string} [userId]
|
* @param {string} [userId]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getActivities: async (albumId: string, assetId?: string, type?: ReactionType, userId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
getActivities: async (albumId: string, assetId?: string, type?: ReactionType, level?: ReactionLevel, userId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
// verify required parameter 'albumId' is not null or undefined
|
// verify required parameter 'albumId' is not null or undefined
|
||||||
assertParamExists('getActivities', 'albumId', albumId)
|
assertParamExists('getActivities', 'albumId', albumId)
|
||||||
const localVarPath = `/activity`;
|
const localVarPath = `/activity`;
|
||||||
|
@ -5202,6 +5278,10 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat
|
||||||
localVarQueryParameter['type'] = type;
|
localVarQueryParameter['type'] = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (level !== undefined) {
|
||||||
|
localVarQueryParameter['level'] = level;
|
||||||
|
}
|
||||||
|
|
||||||
if (userId !== undefined) {
|
if (userId !== undefined) {
|
||||||
localVarQueryParameter['userId'] = userId;
|
localVarQueryParameter['userId'] = userId;
|
||||||
}
|
}
|
||||||
|
@ -5302,12 +5382,13 @@ export const ActivityApiFp = function(configuration?: Configuration) {
|
||||||
* @param {string} albumId
|
* @param {string} albumId
|
||||||
* @param {string} [assetId]
|
* @param {string} [assetId]
|
||||||
* @param {ReactionType} [type]
|
* @param {ReactionType} [type]
|
||||||
|
* @param {ReactionLevel} [level]
|
||||||
* @param {string} [userId]
|
* @param {string} [userId]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async getActivities(albumId: string, assetId?: string, type?: ReactionType, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ActivityResponseDto>>> {
|
async getActivities(albumId: string, assetId?: string, type?: ReactionType, level?: ReactionLevel, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ActivityResponseDto>>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getActivities(albumId, assetId, type, userId, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getActivities(albumId, assetId, type, level, userId, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -5356,7 +5437,7 @@ export const ActivityApiFactory = function (configuration?: Configuration, baseP
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<ActivityResponseDto>> {
|
getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<ActivityResponseDto>> {
|
||||||
return localVarFp.getActivities(requestParameters.albumId, requestParameters.assetId, requestParameters.type, requestParameters.userId, options).then((request) => request(axios, basePath));
|
return localVarFp.getActivities(requestParameters.albumId, requestParameters.assetId, requestParameters.type, requestParameters.level, requestParameters.userId, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -5425,6 +5506,13 @@ export interface ActivityApiGetActivitiesRequest {
|
||||||
*/
|
*/
|
||||||
readonly type?: ReactionType
|
readonly type?: ReactionType
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {ReactionLevel}
|
||||||
|
* @memberof ActivityApiGetActivities
|
||||||
|
*/
|
||||||
|
readonly level?: ReactionLevel
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -5491,7 +5579,7 @@ export class ActivityApi extends BaseAPI {
|
||||||
* @memberof ActivityApi
|
* @memberof ActivityApi
|
||||||
*/
|
*/
|
||||||
public getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: AxiosRequestConfig) {
|
public getActivities(requestParameters: ActivityApiGetActivitiesRequest, options?: AxiosRequestConfig) {
|
||||||
return ActivityApiFp(this.configuration).getActivities(requestParameters.albumId, requestParameters.assetId, requestParameters.type, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
return ActivityApiFp(this.configuration).getActivities(requestParameters.albumId, requestParameters.assetId, requestParameters.type, requestParameters.level, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -7344,11 +7432,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
||||||
* @param {boolean} [isFavorite]
|
* @param {boolean} [isFavorite]
|
||||||
* @param {boolean} [isTrashed]
|
* @param {boolean} [isTrashed]
|
||||||
* @param {boolean} [withStacked]
|
* @param {boolean} [withStacked]
|
||||||
|
* @param {boolean} [withPartners]
|
||||||
* @param {string} [key]
|
* @param {string} [key]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getTimeBucket: async (size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
getTimeBucket: async (size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, withPartners?: boolean, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
// verify required parameter 'size' is not null or undefined
|
// verify required parameter 'size' is not null or undefined
|
||||||
assertParamExists('getTimeBucket', 'size', size)
|
assertParamExists('getTimeBucket', 'size', size)
|
||||||
// verify required parameter 'timeBucket' is not null or undefined
|
// verify required parameter 'timeBucket' is not null or undefined
|
||||||
|
@ -7406,6 +7495,10 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
||||||
localVarQueryParameter['withStacked'] = withStacked;
|
localVarQueryParameter['withStacked'] = withStacked;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (withPartners !== undefined) {
|
||||||
|
localVarQueryParameter['withPartners'] = withPartners;
|
||||||
|
}
|
||||||
|
|
||||||
if (timeBucket !== undefined) {
|
if (timeBucket !== undefined) {
|
||||||
localVarQueryParameter['timeBucket'] = timeBucket;
|
localVarQueryParameter['timeBucket'] = timeBucket;
|
||||||
}
|
}
|
||||||
|
@ -7435,11 +7528,12 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
||||||
* @param {boolean} [isFavorite]
|
* @param {boolean} [isFavorite]
|
||||||
* @param {boolean} [isTrashed]
|
* @param {boolean} [isTrashed]
|
||||||
* @param {boolean} [withStacked]
|
* @param {boolean} [withStacked]
|
||||||
|
* @param {boolean} [withPartners]
|
||||||
* @param {string} [key]
|
* @param {string} [key]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getTimeBuckets: async (size: TimeBucketSize, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
getTimeBuckets: async (size: TimeBucketSize, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, withPartners?: boolean, key?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
// verify required parameter 'size' is not null or undefined
|
// verify required parameter 'size' is not null or undefined
|
||||||
assertParamExists('getTimeBuckets', 'size', size)
|
assertParamExists('getTimeBuckets', 'size', size)
|
||||||
const localVarPath = `/asset/time-buckets`;
|
const localVarPath = `/asset/time-buckets`;
|
||||||
|
@ -7495,6 +7589,10 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
|
||||||
localVarQueryParameter['withStacked'] = withStacked;
|
localVarQueryParameter['withStacked'] = withStacked;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (withPartners !== undefined) {
|
||||||
|
localVarQueryParameter['withPartners'] = withPartners;
|
||||||
|
}
|
||||||
|
|
||||||
if (key !== undefined) {
|
if (key !== undefined) {
|
||||||
localVarQueryParameter['key'] = key;
|
localVarQueryParameter['key'] = key;
|
||||||
}
|
}
|
||||||
|
@ -8297,12 +8395,13 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
||||||
* @param {boolean} [isFavorite]
|
* @param {boolean} [isFavorite]
|
||||||
* @param {boolean} [isTrashed]
|
* @param {boolean} [isTrashed]
|
||||||
* @param {boolean} [withStacked]
|
* @param {boolean} [withStacked]
|
||||||
|
* @param {boolean} [withPartners]
|
||||||
* @param {string} [key]
|
* @param {string} [key]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async getTimeBucket(size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AssetResponseDto>>> {
|
async getTimeBucket(size: TimeBucketSize, timeBucket: string, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, withPartners?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AssetResponseDto>>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimeBucket(size, timeBucket, userId, albumId, personId, isArchived, isFavorite, isTrashed, withStacked, key, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimeBucket(size, timeBucket, userId, albumId, personId, isArchived, isFavorite, isTrashed, withStacked, withPartners, key, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -8315,12 +8414,13 @@ export const AssetApiFp = function(configuration?: Configuration) {
|
||||||
* @param {boolean} [isFavorite]
|
* @param {boolean} [isFavorite]
|
||||||
* @param {boolean} [isTrashed]
|
* @param {boolean} [isTrashed]
|
||||||
* @param {boolean} [withStacked]
|
* @param {boolean} [withStacked]
|
||||||
|
* @param {boolean} [withPartners]
|
||||||
* @param {string} [key]
|
* @param {string} [key]
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async getTimeBuckets(size: TimeBucketSize, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TimeBucketResponseDto>>> {
|
async getTimeBuckets(size: TimeBucketSize, userId?: string, albumId?: string, personId?: string, isArchived?: boolean, isFavorite?: boolean, isTrashed?: boolean, withStacked?: boolean, withPartners?: boolean, key?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TimeBucketResponseDto>>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimeBuckets(size, userId, albumId, personId, isArchived, isFavorite, isTrashed, withStacked, key, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimeBuckets(size, userId, albumId, personId, isArchived, isFavorite, isTrashed, withStacked, withPartners, key, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -8617,7 +8717,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: AxiosRequestConfig): AxiosPromise<Array<AssetResponseDto>> {
|
getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: AxiosRequestConfig): AxiosPromise<Array<AssetResponseDto>> {
|
||||||
return localVarFp.getTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.key, options).then((request) => request(axios, basePath));
|
return localVarFp.getTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.withPartners, requestParameters.key, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -8626,7 +8726,7 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<TimeBucketResponseDto>> {
|
getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<TimeBucketResponseDto>> {
|
||||||
return localVarFp.getTimeBuckets(requestParameters.size, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.key, options).then((request) => request(axios, basePath));
|
return localVarFp.getTimeBuckets(requestParameters.size, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.withPartners, requestParameters.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.
|
||||||
|
@ -9113,6 +9213,13 @@ export interface AssetApiGetTimeBucketRequest {
|
||||||
*/
|
*/
|
||||||
readonly withStacked?: boolean
|
readonly withStacked?: boolean
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof AssetApiGetTimeBucket
|
||||||
|
*/
|
||||||
|
readonly withPartners?: boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -9183,6 +9290,13 @@ export interface AssetApiGetTimeBucketsRequest {
|
||||||
*/
|
*/
|
||||||
readonly withStacked?: boolean
|
readonly withStacked?: boolean
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof AssetApiGetTimeBuckets
|
||||||
|
*/
|
||||||
|
readonly withPartners?: boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
@ -9662,7 +9776,7 @@ export class AssetApi extends BaseAPI {
|
||||||
* @memberof AssetApi
|
* @memberof AssetApi
|
||||||
*/
|
*/
|
||||||
public getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: AxiosRequestConfig) {
|
public getTimeBucket(requestParameters: AssetApiGetTimeBucketRequest, options?: AxiosRequestConfig) {
|
||||||
return AssetApiFp(this.configuration).getTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
return AssetApiFp(this.configuration).getTimeBucket(requestParameters.size, requestParameters.timeBucket, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.withPartners, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -9673,7 +9787,7 @@ export class AssetApi extends BaseAPI {
|
||||||
* @memberof AssetApi
|
* @memberof AssetApi
|
||||||
*/
|
*/
|
||||||
public getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig) {
|
public getTimeBuckets(requestParameters: AssetApiGetTimeBucketsRequest, options?: AxiosRequestConfig) {
|
||||||
return AssetApiFp(this.configuration).getTimeBuckets(requestParameters.size, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
return AssetApiFp(this.configuration).getTimeBuckets(requestParameters.size, requestParameters.userId, requestParameters.albumId, requestParameters.personId, requestParameters.isArchived, requestParameters.isFavorite, requestParameters.isTrashed, requestParameters.withStacked, requestParameters.withPartners, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -10583,7 +10697,7 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async signUpAdmin(signUpDto: SignUpDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminSignupResponseDto>> {
|
async signUpAdmin(signUpDto: SignUpDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponseDto>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.signUpAdmin(signUpDto, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.signUpAdmin(signUpDto, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
|
@ -10663,7 +10777,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
signUpAdmin(requestParameters: AuthenticationApiSignUpAdminRequest, options?: AxiosRequestConfig): AxiosPromise<AdminSignupResponseDto> {
|
signUpAdmin(requestParameters: AuthenticationApiSignUpAdminRequest, options?: AxiosRequestConfig): AxiosPromise<UserResponseDto> {
|
||||||
return localVarFp.signUpAdmin(requestParameters.signUpDto, options).then((request) => request(axios, basePath));
|
return localVarFp.signUpAdmin(requestParameters.signUpDto, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -12382,6 +12496,54 @@ export const PartnerApiAxiosParamCreator = function (configuration?: Configurati
|
||||||
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};
|
||||||
|
|
||||||
|
return {
|
||||||
|
url: toPathString(localVarUrlObj),
|
||||||
|
options: localVarRequestOptions,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {string} id
|
||||||
|
* @param {UpdatePartnerDto} updatePartnerDto
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
updatePartner: async (id: string, updatePartnerDto: UpdatePartnerDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
|
// verify required parameter 'id' is not null or undefined
|
||||||
|
assertParamExists('updatePartner', 'id', id)
|
||||||
|
// verify required parameter 'updatePartnerDto' is not null or undefined
|
||||||
|
assertParamExists('updatePartner', 'updatePartnerDto', updatePartnerDto)
|
||||||
|
const localVarPath = `/partner/{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;
|
||||||
|
}
|
||||||
|
|
||||||
|
const localVarRequestOptions = { method: 'PUT', ...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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
||||||
|
|
||||||
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||||
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||||
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||||
|
localVarRequestOptions.data = serializeDataIfNeeded(updatePartnerDto, localVarRequestOptions, configuration)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
url: toPathString(localVarUrlObj),
|
url: toPathString(localVarUrlObj),
|
||||||
options: localVarRequestOptions,
|
options: localVarRequestOptions,
|
||||||
|
@ -12403,7 +12565,7 @@ export const PartnerApiFp = function(configuration?: Configuration) {
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async createPartner(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponseDto>> {
|
async createPartner(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerResponseDto>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.createPartner(id, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createPartner(id, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
|
@ -12413,7 +12575,7 @@ export const PartnerApiFp = function(configuration?: Configuration) {
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
async getPartners(direction: 'shared-by' | 'shared-with', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserResponseDto>>> {
|
async getPartners(direction: 'shared-by' | 'shared-with', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PartnerResponseDto>>> {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getPartners(direction, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPartners(direction, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
|
@ -12427,6 +12589,17 @@ export const PartnerApiFp = function(configuration?: Configuration) {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.removePartner(id, options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.removePartner(id, options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {string} id
|
||||||
|
* @param {UpdatePartnerDto} updatePartnerDto
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
async updatePartner(id: string, updatePartnerDto: UpdatePartnerDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerResponseDto>> {
|
||||||
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePartner(id, updatePartnerDto, options);
|
||||||
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12443,7 +12616,7 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: AxiosRequestConfig): AxiosPromise<UserResponseDto> {
|
createPartner(requestParameters: PartnerApiCreatePartnerRequest, options?: AxiosRequestConfig): AxiosPromise<PartnerResponseDto> {
|
||||||
return localVarFp.createPartner(requestParameters.id, options).then((request) => request(axios, basePath));
|
return localVarFp.createPartner(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -12452,7 +12625,7 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
getPartners(requestParameters: PartnerApiGetPartnersRequest, options?: AxiosRequestConfig): AxiosPromise<Array<UserResponseDto>> {
|
getPartners(requestParameters: PartnerApiGetPartnersRequest, options?: AxiosRequestConfig): AxiosPromise<Array<PartnerResponseDto>> {
|
||||||
return localVarFp.getPartners(requestParameters.direction, options).then((request) => request(axios, basePath));
|
return localVarFp.getPartners(requestParameters.direction, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
|
@ -12464,6 +12637,15 @@ export const PartnerApiFactory = function (configuration?: Configuration, basePa
|
||||||
removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
|
removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: AxiosRequestConfig): AxiosPromise<void> {
|
||||||
return localVarFp.removePartner(requestParameters.id, options).then((request) => request(axios, basePath));
|
return localVarFp.removePartner(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {PartnerApiUpdatePartnerRequest} requestParameters Request parameters.
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, options?: AxiosRequestConfig): AxiosPromise<PartnerResponseDto> {
|
||||||
|
return localVarFp.updatePartner(requestParameters.id, requestParameters.updatePartnerDto, options).then((request) => request(axios, basePath));
|
||||||
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12509,6 +12691,27 @@ export interface PartnerApiRemovePartnerRequest {
|
||||||
readonly id: string
|
readonly id: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Request parameters for updatePartner operation in PartnerApi.
|
||||||
|
* @export
|
||||||
|
* @interface PartnerApiUpdatePartnerRequest
|
||||||
|
*/
|
||||||
|
export interface PartnerApiUpdatePartnerRequest {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof PartnerApiUpdatePartner
|
||||||
|
*/
|
||||||
|
readonly id: string
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {UpdatePartnerDto}
|
||||||
|
* @memberof PartnerApiUpdatePartner
|
||||||
|
*/
|
||||||
|
readonly updatePartnerDto: UpdatePartnerDto
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PartnerApi - object-oriented interface
|
* PartnerApi - object-oriented interface
|
||||||
* @export
|
* @export
|
||||||
|
@ -12548,6 +12751,17 @@ export class PartnerApi extends BaseAPI {
|
||||||
public removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: AxiosRequestConfig) {
|
public removePartner(requestParameters: PartnerApiRemovePartnerRequest, options?: AxiosRequestConfig) {
|
||||||
return PartnerApiFp(this.configuration).removePartner(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
return PartnerApiFp(this.configuration).removePartner(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {PartnerApiUpdatePartnerRequest} requestParameters Request parameters.
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
* @memberof PartnerApi
|
||||||
|
*/
|
||||||
|
public updatePartner(requestParameters: PartnerApiUpdatePartnerRequest, options?: AxiosRequestConfig) {
|
||||||
|
return PartnerApiFp(this.configuration).updatePartner(requestParameters.id, requestParameters.updatePartnerDto, options).then((request) => request(this.axios, this.basePath));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -15174,6 +15388,51 @@ export const SystemConfigApiAxiosParamCreator = function (configuration?: Config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||||
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
||||||
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
||||||
|
|
||||||
|
return {
|
||||||
|
url: toPathString(localVarUrlObj),
|
||||||
|
options: localVarRequestOptions,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {MapTheme} theme
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
getMapStyle: async (theme: MapTheme, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||||
|
// verify required parameter 'theme' is not null or undefined
|
||||||
|
assertParamExists('getMapStyle', 'theme', theme)
|
||||||
|
const localVarPath = `/system-config/map/style.json`;
|
||||||
|
// 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 (theme !== undefined) {
|
||||||
|
localVarQueryParameter['theme'] = theme;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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};
|
||||||
|
@ -15293,6 +15552,16 @@ export const SystemConfigApiFp = function(configuration?: Configuration) {
|
||||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getConfigDefaults(options);
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getConfigDefaults(options);
|
||||||
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {MapTheme} theme
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
async getMapStyle(theme: MapTheme, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
||||||
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMapStyle(theme, options);
|
||||||
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
|
@ -15338,6 +15607,15 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b
|
||||||
getConfigDefaults(options?: AxiosRequestConfig): AxiosPromise<SystemConfigDto> {
|
getConfigDefaults(options?: AxiosRequestConfig): AxiosPromise<SystemConfigDto> {
|
||||||
return localVarFp.getConfigDefaults(options).then((request) => request(axios, basePath));
|
return localVarFp.getConfigDefaults(options).then((request) => request(axios, basePath));
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {SystemConfigApiGetMapStyleRequest} requestParameters Request parameters.
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
*/
|
||||||
|
getMapStyle(requestParameters: SystemConfigApiGetMapStyleRequest, options?: AxiosRequestConfig): AxiosPromise<object> {
|
||||||
|
return localVarFp.getMapStyle(requestParameters.theme, options).then((request) => request(axios, basePath));
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
|
@ -15358,6 +15636,20 @@ export const SystemConfigApiFactory = function (configuration?: Configuration, b
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Request parameters for getMapStyle operation in SystemConfigApi.
|
||||||
|
* @export
|
||||||
|
* @interface SystemConfigApiGetMapStyleRequest
|
||||||
|
*/
|
||||||
|
export interface SystemConfigApiGetMapStyleRequest {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {MapTheme}
|
||||||
|
* @memberof SystemConfigApiGetMapStyle
|
||||||
|
*/
|
||||||
|
readonly theme: MapTheme
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Request parameters for updateConfig operation in SystemConfigApi.
|
* Request parameters for updateConfig operation in SystemConfigApi.
|
||||||
* @export
|
* @export
|
||||||
|
@ -15399,6 +15691,17 @@ export class SystemConfigApi extends BaseAPI {
|
||||||
return SystemConfigApiFp(this.configuration).getConfigDefaults(options).then((request) => request(this.axios, this.basePath));
|
return SystemConfigApiFp(this.configuration).getConfigDefaults(options).then((request) => request(this.axios, this.basePath));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param {SystemConfigApiGetMapStyleRequest} requestParameters Request parameters.
|
||||||
|
* @param {*} [options] Override http request option.
|
||||||
|
* @throws {RequiredError}
|
||||||
|
* @memberof SystemConfigApi
|
||||||
|
*/
|
||||||
|
public getMapStyle(requestParameters: SystemConfigApiGetMapStyleRequest, options?: AxiosRequestConfig) {
|
||||||
|
return SystemConfigApiFp(this.configuration).getMapStyle(requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
on:click={() => handleUnselect(user)}
|
on:click={() => handleUnselect(user)}
|
||||||
class="flex place-items-center gap-1 rounded-full border border-gray-400 p-1 transition-colors hover:bg-gray-200 dark:hover:bg-gray-700"
|
class="flex place-items-center gap-1 rounded-full border border-gray-400 p-1 transition-colors hover:bg-gray-200 dark:hover:bg-gray-700"
|
||||||
>
|
>
|
||||||
<UserAvatar {user} size="sm" autoColor />
|
<UserAvatar {user} size="sm" />
|
||||||
<p class="text-xs font-medium">{user.name}</p>
|
<p class="text-xs font-medium">{user.name}</p>
|
||||||
</button>
|
</button>
|
||||||
{/key}
|
{/key}
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
updateUserDto: {
|
updateUserDto: {
|
||||||
id: user.id,
|
id: user.id,
|
||||||
email: user.email,
|
email: user.email,
|
||||||
firstName: user.firstName,
|
name: user.name,
|
||||||
lastName: user.lastName,
|
|
||||||
avatarColor: color,
|
avatarColor: color,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue