Update api version

This commit is contained in:
Guilherme Werner 2026-04-03 13:19:35 -03:00
parent 5071fdde1f
commit 26dbeb6867
56 changed files with 456 additions and 857 deletions

View file

@ -4,7 +4,7 @@
* Tribufu API
* API to access Tribufu services.
*
* The version of the OpenAPI document: 1.3.0
* The version of the OpenAPI document: 1.4.2
* Contact: contact@tribufu.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@ -33,12 +33,6 @@ export interface GroupMember {
* @memberof GroupMember
*/
id?: string;
/**
*
* @type {string}
* @memberof GroupMember
*/
uuid?: string;
/**
*
* @type {string}
@ -51,24 +45,12 @@ export interface GroupMember {
* @memberof GroupMember
*/
displayName?: string | null;
/**
*
* @type {boolean}
* @memberof GroupMember
*/
verified?: boolean;
/**
*
* @type {string}
* @memberof GroupMember
*/
photoUrl?: string | null;
/**
*
* @type {Date}
* @memberof GroupMember
*/
lastOnline?: Date | null;
/**
*
* @type {GroupRank}
@ -103,12 +85,9 @@ export function GroupMemberFromJSONTyped(json: any, ignoreDiscriminator: boolean
return {
'id': json['id'] == null ? undefined : json['id'],
'uuid': json['uuid'] == null ? undefined : json['uuid'],
'name': json['name'] == null ? undefined : json['name'],
'displayName': json['display_name'] == null ? undefined : json['display_name'],
'verified': json['verified'] == null ? undefined : json['verified'],
'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'],
'lastOnline': json['last_online'] == null ? undefined : (new Date(json['last_online'])),
'rank': json['rank'] == null ? undefined : GroupRankFromJSON(json['rank']),
'since': json['since'] == null ? undefined : (new Date(json['since'])),
};
@ -126,12 +105,9 @@ export function GroupMemberToJSONTyped(value?: GroupMember | null, ignoreDiscrim
return {
'id': value['id'],
'uuid': value['uuid'],
'name': value['name'],
'display_name': value['displayName'],
'verified': value['verified'],
'photo_url': value['photoUrl'],
'last_online': value['lastOnline'] == null ? undefined : ((value['lastOnline'] as any).toISOString()),
'rank': GroupRankToJSON(value['rank']),
'since': value['since'] == null ? undefined : ((value['since']).toISOString()),
};