+signup +login
Some checks failed
ci/woodpecker/push/bff Pipeline was successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/billing_fees Pipeline was successful
ci/woodpecker/push/chain_gateway Pipeline was successful
ci/woodpecker/push/fx_ingestor Pipeline was successful
ci/woodpecker/push/frontend Pipeline was successful
ci/woodpecker/push/fx_oracle Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
ci/woodpecker/push/ledger Pipeline was successful
ci/woodpecker/push/notification Pipeline was successful
ci/woodpecker/push/payments_orchestrator Pipeline was successful
ci/woodpecker/push/bump_version Pipeline failed

This commit is contained in:
Stephan D
2025-11-17 20:16:45 +01:00
parent 1ab7f2e7d3
commit c6a56071b5
89 changed files with 1308 additions and 3497 deletions

View File

@@ -0,0 +1,18 @@
import 'package:json_annotation/json_annotation.dart';
part 'change.g.dart';
@JsonSerializable(explicitToJson: true)
class ChangePassword {
@JsonKey(name: 'old')
final String oldPassword;
@JsonKey(name: 'new')
final String newPassword;
const ChangePassword({required this.oldPassword, required this.newPassword});
factory ChangePassword.fromJson(Map<String, dynamic> json) => _$ChangePasswordFromJson(json);
Map<String, dynamic> toJson() => _$ChangePasswordToJson(this);
}

View File

@@ -0,0 +1,20 @@
import 'package:json_annotation/json_annotation.dart';
part 'forgot.g.dart';
@JsonSerializable()
class ForgotPasswordRequest {
final String login;
const ForgotPasswordRequest({
required this.login,
});
factory ForgotPasswordRequest.fromJson(Map<String, dynamic> json) => _$ForgotPasswordRequestFromJson(json);
Map<String, dynamic> toJson() => _$ForgotPasswordRequestToJson(this);
static ForgotPasswordRequest build({
required String login,
}) => ForgotPasswordRequest(login: login);
}

View File

@@ -0,0 +1,20 @@
import 'package:json_annotation/json_annotation.dart';
part 'reset.g.dart';
@JsonSerializable()
class ResetPasswordRequest {
final String password;
const ResetPasswordRequest({
required this.password,
});
factory ResetPasswordRequest.fromJson(Map<String, dynamic> json) => _$ResetPasswordRequestFromJson(json);
Map<String, dynamic> toJson() => _$ResetPasswordRequestToJson(this);
static ResetPasswordRequest build({
required String password,
}) => ResetPasswordRequest(password: password);
}