|
@@ -6,9 +6,20 @@ export interface IAttachmentRequest {
|
|
|
size: number;
|
|
size: number;
|
|
|
content_type: string;
|
|
content_type: string;
|
|
|
url: string;
|
|
url: string;
|
|
|
|
|
+ created_at?: string;
|
|
|
|
|
+ updated_at?: string;
|
|
|
|
|
+}
|
|
|
|
|
+export interface IAttachmentUpdate {
|
|
|
|
|
+ title: string;
|
|
|
}
|
|
}
|
|
|
export interface IAttachmentResponse {
|
|
export interface IAttachmentResponse {
|
|
|
ok: boolean;
|
|
ok: boolean;
|
|
|
message: string;
|
|
message: string;
|
|
|
data: IAttachmentRequest;
|
|
data: IAttachmentRequest;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+export interface IAttachmentListResponse {
|
|
|
|
|
+ ok: boolean;
|
|
|
|
|
+ message: string;
|
|
|
|
|
+ data: { rows: IAttachmentRequest[]; count: number };
|
|
|
|
|
+}
|