- Mark backend as complete in IMPLEMENTATION_PLAN.md - Create ADMIN_BACKEND_COMPLETE.md with full documentation - Document all API endpoints - Add testing instructions - Add deployment notes
81 lines
2.1 KiB
TypeScript
81 lines
2.1 KiB
TypeScript
import { AdminPaymentMethodsService } from './admin-payment-methods.service';
|
|
export declare class AdminPaymentMethodsController {
|
|
private readonly service;
|
|
constructor(service: AdminPaymentMethodsService);
|
|
findAll(): Promise<{
|
|
id: string;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
provider: string;
|
|
type: string;
|
|
sortOrder: number;
|
|
isActive: boolean;
|
|
accountName: string;
|
|
accountNumber: string;
|
|
displayName: string;
|
|
logoUrl: string | null;
|
|
instructions: string | null;
|
|
}[]>;
|
|
findOne(id: string): Promise<{
|
|
id: string;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
provider: string;
|
|
type: string;
|
|
sortOrder: number;
|
|
isActive: boolean;
|
|
accountName: string;
|
|
accountNumber: string;
|
|
displayName: string;
|
|
logoUrl: string | null;
|
|
instructions: string | null;
|
|
} | null>;
|
|
create(data: any): Promise<{
|
|
id: string;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
provider: string;
|
|
type: string;
|
|
sortOrder: number;
|
|
isActive: boolean;
|
|
accountName: string;
|
|
accountNumber: string;
|
|
displayName: string;
|
|
logoUrl: string | null;
|
|
instructions: string | null;
|
|
}>;
|
|
update(id: string, data: any): Promise<{
|
|
id: string;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
provider: string;
|
|
type: string;
|
|
sortOrder: number;
|
|
isActive: boolean;
|
|
accountName: string;
|
|
accountNumber: string;
|
|
displayName: string;
|
|
logoUrl: string | null;
|
|
instructions: string | null;
|
|
}>;
|
|
delete(id: string): Promise<{
|
|
id: string;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
provider: string;
|
|
type: string;
|
|
sortOrder: number;
|
|
isActive: boolean;
|
|
accountName: string;
|
|
accountNumber: string;
|
|
displayName: string;
|
|
logoUrl: string | null;
|
|
instructions: string | null;
|
|
}>;
|
|
reorder(body: {
|
|
methodIds: string[];
|
|
}): Promise<{
|
|
success: boolean;
|
|
}>;
|
|
}
|