the cleanup

This commit is contained in:
2026-01-23 21:40:16 -05:00
parent 2ea1f19863
commit c4f69c0811
44 changed files with 183 additions and 42 deletions
+24
View File
@@ -0,0 +1,24 @@
export type MerchantAdminResponse = {
id: number;
name: string;
avantlinkMid: string | null;
feedUrl: string | null;
offerFeedUrl: string | null;
isActive: boolean;
lastFullImportAt: string | null;
lastOfferSyncAt: string | null;
};
export type MerchantAdminCreateRequest = {
name: string;
avantlinkMid?: string | null;
feedUrl?: string | null;
offerFeedUrl?: string | null;
isActive?: boolean | null;
};
export type MerchantAdminUpdateRequest = {
feedUrl?: string | null;
offerFeedUrl?: string | null;
isActive?: boolean | null;
};
+10
View File
@@ -0,0 +1,10 @@
export type MerchantAdminDto = {
id?: number; // Optional for create payloads
name: string;
avantlinkMid?: string | null;
feedUrl?: string | null;
offerFeedUrl?: string | null;
isActive?: boolean | null;
lastFullImportAt?: string | null; // Spring Instant/LocalDateTime serialized as string
lastOfferSyncAt?: string | null;
};