update todo.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-05 19:18:33 +02:00
parent 9a84e2d3cb
commit eaf7d1eac3
18 changed files with 2240 additions and 155 deletions
+70
View File
@@ -19,6 +19,16 @@ export declare function getAllCustomers(filters: CustomerFilters): Promise<{
postalCode: string;
city: string;
country: string;
ownerCompany: string | null;
ownerFirstName: string | null;
ownerLastName: string | null;
ownerStreet: string | null;
ownerHouseNumber: string | null;
ownerPostalCode: string | null;
ownerCity: string | null;
ownerPhone: string | null;
ownerMobile: string | null;
ownerEmail: string | null;
}[];
_count: {
contracts: number;
@@ -72,6 +82,16 @@ export declare function getCustomerById(id: number): Promise<({
postalCode: string;
city: string;
country: string;
ownerCompany: string | null;
ownerFirstName: string | null;
ownerLastName: string | null;
ownerStreet: string | null;
ownerHouseNumber: string | null;
ownerPostalCode: string | null;
ownerCity: string | null;
ownerPhone: string | null;
ownerMobile: string | null;
ownerEmail: string | null;
}[];
bankCards: {
id: number;
@@ -155,6 +175,16 @@ export declare function getCustomerById(id: number): Promise<({
postalCode: string;
city: string;
country: string;
ownerCompany: string | null;
ownerFirstName: string | null;
ownerLastName: string | null;
ownerStreet: string | null;
ownerHouseNumber: string | null;
ownerPostalCode: string | null;
ownerCity: string | null;
ownerPhone: string | null;
ownerMobile: string | null;
ownerEmail: string | null;
} | null;
salesPlatform: {
id: number;
@@ -371,6 +401,16 @@ export declare function getCustomerAddresses(customerId: number): Promise<{
postalCode: string;
city: string;
country: string;
ownerCompany: string | null;
ownerFirstName: string | null;
ownerLastName: string | null;
ownerStreet: string | null;
ownerHouseNumber: string | null;
ownerPostalCode: string | null;
ownerCity: string | null;
ownerPhone: string | null;
ownerMobile: string | null;
ownerEmail: string | null;
}[]>;
export declare function createAddress(customerId: number, data: {
type: 'DELIVERY_RESIDENCE' | 'BILLING';
@@ -392,6 +432,16 @@ export declare function createAddress(customerId: number, data: {
postalCode: string;
city: string;
country: string;
ownerCompany: string | null;
ownerFirstName: string | null;
ownerLastName: string | null;
ownerStreet: string | null;
ownerHouseNumber: string | null;
ownerPostalCode: string | null;
ownerCity: string | null;
ownerPhone: string | null;
ownerMobile: string | null;
ownerEmail: string | null;
}>;
export declare function updateAddress(id: number, data: {
type?: 'DELIVERY_RESIDENCE' | 'BILLING';
@@ -413,6 +463,16 @@ export declare function updateAddress(id: number, data: {
postalCode: string;
city: string;
country: string;
ownerCompany: string | null;
ownerFirstName: string | null;
ownerLastName: string | null;
ownerStreet: string | null;
ownerHouseNumber: string | null;
ownerPostalCode: string | null;
ownerCity: string | null;
ownerPhone: string | null;
ownerMobile: string | null;
ownerEmail: string | null;
}>;
export declare function deleteAddress(id: number): Promise<{
id: number;
@@ -426,6 +486,16 @@ export declare function deleteAddress(id: number): Promise<{
postalCode: string;
city: string;
country: string;
ownerCompany: string | null;
ownerFirstName: string | null;
ownerLastName: string | null;
ownerStreet: string | null;
ownerHouseNumber: string | null;
ownerPostalCode: string | null;
ownerCity: string | null;
ownerPhone: string | null;
ownerMobile: string | null;
ownerEmail: string | null;
}>;
export declare function getCustomerBankCards(customerId: number, showInactive?: boolean): Promise<{
id: number;