EnakPoint & EnakCoin wallet, PIN, outlet, order, community, reward
- Wallet EnakPoint & EnakCoin: beranda, riwayat, saldo kedaluwarsa, kode bayar, tukar EnakCoin, transfer - PIN (buat, ganti, lupa), outlet, riwayat order, game spin - Halaman community, webview, coming soon, dan ikon menu beranda baru - Redesign Reward Saya: kartu tiket, filter chip, detail kode + QR - Hapus customer point loader, menu, dan checkout lama - Base URL ke enaklo-pos-api.altru.id Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5954510b93
commit
f5e3075205
@@ -1,7 +1,7 @@
|
||||
part of '../auth_dtos.dart';
|
||||
|
||||
@freezed
|
||||
class CheckPhoneDto with _$CheckPhoneDto {
|
||||
abstract class CheckPhoneDto with _$CheckPhoneDto {
|
||||
const CheckPhoneDto._();
|
||||
|
||||
const factory CheckPhoneDto({
|
||||
@@ -20,7 +20,7 @@ class CheckPhoneDto with _$CheckPhoneDto {
|
||||
}
|
||||
|
||||
@freezed
|
||||
class CheckPhoneDataDto with _$CheckPhoneDataDto {
|
||||
abstract class CheckPhoneDataDto with _$CheckPhoneDataDto {
|
||||
const factory CheckPhoneDataDto({
|
||||
@JsonKey(name: 'phone_number') String? phoneNumber,
|
||||
}) = _CheckPhoneDataDto;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
part of '../auth_dtos.dart';
|
||||
|
||||
@freezed
|
||||
class LoginDto with _$LoginDto {
|
||||
abstract class LoginDto with _$LoginDto {
|
||||
const factory LoginDto({
|
||||
@JsonKey(name: 'status') String? status,
|
||||
@JsonKey(name: 'message') String? message,
|
||||
@@ -24,7 +24,7 @@ class LoginDto with _$LoginDto {
|
||||
}
|
||||
|
||||
@freezed
|
||||
class LoginDataDto with _$LoginDataDto {
|
||||
abstract class LoginDataDto with _$LoginDataDto {
|
||||
const factory LoginDataDto({
|
||||
@JsonKey(name: 'access_token') String? accessToken,
|
||||
@JsonKey(name: 'refresh_token') String? refreshToken,
|
||||
@@ -36,7 +36,7 @@ class LoginDataDto with _$LoginDataDto {
|
||||
}
|
||||
|
||||
@freezed
|
||||
class UserDto with _$UserDto {
|
||||
abstract class UserDto with _$UserDto {
|
||||
const factory UserDto({
|
||||
@JsonKey(name: 'id') String? id,
|
||||
@JsonKey(name: 'name') String? name,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
part of '../auth_dtos.dart';
|
||||
|
||||
@freezed
|
||||
class RegisterDto with _$RegisterDto {
|
||||
abstract class RegisterDto with _$RegisterDto {
|
||||
const RegisterDto._();
|
||||
|
||||
const factory RegisterDto({
|
||||
@@ -24,7 +24,7 @@ class RegisterDto with _$RegisterDto {
|
||||
}
|
||||
|
||||
@freezed
|
||||
class RegisterDataDto with _$RegisterDataDto {
|
||||
abstract class RegisterDataDto with _$RegisterDataDto {
|
||||
const factory RegisterDataDto({
|
||||
@JsonKey(name: 'registration_token') String? registrationToken,
|
||||
@JsonKey(name: 'otp_token') String? otpToken,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
part of '../auth_dtos.dart';
|
||||
|
||||
@freezed
|
||||
class ResendDto with _$ResendDto {
|
||||
abstract class ResendDto with _$ResendDto {
|
||||
const factory ResendDto({
|
||||
@JsonKey(name: 'status') String? status,
|
||||
@JsonKey(name: 'message') String? message,
|
||||
@@ -24,7 +24,7 @@ class ResendDto with _$ResendDto {
|
||||
}
|
||||
|
||||
@freezed
|
||||
class ResendDataDto with _$ResendDataDto {
|
||||
abstract class ResendDataDto with _$ResendDataDto {
|
||||
const factory ResendDataDto({
|
||||
@JsonKey(name: 'otp_token') String? otpToken,
|
||||
@JsonKey(name: 'expires_in') int? expiresIn,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
part of '../auth_dtos.dart';
|
||||
|
||||
@freezed
|
||||
class VerifyDto with _$VerifyDto {
|
||||
abstract class VerifyDto with _$VerifyDto {
|
||||
const factory VerifyDto({
|
||||
@JsonKey(name: 'status') String? status,
|
||||
@JsonKey(name: 'message') String? message,
|
||||
@@ -22,7 +22,7 @@ class VerifyDto with _$VerifyDto {
|
||||
}
|
||||
|
||||
@freezed
|
||||
class VerifyDataDto with _$VerifyDataDto {
|
||||
abstract class VerifyDataDto with _$VerifyDataDto {
|
||||
const factory VerifyDataDto({
|
||||
@JsonKey(name: 'registration_token') String? registrationToken,
|
||||
}) = _VerifyDataDto;
|
||||
|
||||
Reference in New Issue
Block a user