More webapp changes+fixes
This commit is contained in:
18
webapp/src/app/core/models/delivery.model.ts
Normal file
18
webapp/src/app/core/models/delivery.model.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
export type DeliveryStatus = 'RETRY' | 'SUCCESS' | 'FAILED';
|
||||
|
||||
export interface Delivery {
|
||||
delivery_id: string;
|
||||
message_id: string;
|
||||
receiver_user_id: string;
|
||||
receiver_client_id: string;
|
||||
timestamp_created: string;
|
||||
timestamp_finalized: string | null;
|
||||
status: DeliveryStatus;
|
||||
retry_count: number;
|
||||
next_delivery: string | null;
|
||||
fcm_message_id: string | null;
|
||||
}
|
||||
|
||||
export interface DeliveryListResponse {
|
||||
deliveries: Delivery[];
|
||||
}
|
||||
Reference in New Issue
Block a user