Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4/**
5 * SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
6 * SPDX-License-Identifier: AGPL-3.0-or-later
7 */
8
9namespace OCA\Libresign\Enum;
10
11/**
12 * ACCEPTED means the channel adapter accepted the operation.
13 * It never proves reading or mailbox delivery. UNKNOWN is not safe to retry.
14 */
15enum NotificationDeliveryState: string {
16    case PENDING = 'pending';
17    case SENDING = 'sending';
18    case ACCEPTED = 'accepted';
19    case TEMPORARY_FAILURE = 'temporary_failure';
20    case PERMANENT_FAILURE = 'permanent_failure';
21    case FAILED = 'failed';
22    case UNKNOWN = 'unknown';
23    case CANCELED = 'canceled';
24}