the cleanup
This commit is contained in:
@@ -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;
|
||||
};
|
||||
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user