@revolugo/common 7.11.2-alpha.31 → 7.11.2-alpha.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/constants/insurance.ts +10 -0
package/package.json
CHANGED
|
@@ -23,6 +23,16 @@ export enum InsuranceStatus {
|
|
|
23
23
|
WaitingPayment = 'waiting_payment',
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Insurance statuses for which a Meetch/Flex claim is considered "in progress":
|
|
28
|
+
* the claim has been opened or settled on the insurer side, so the booking
|
|
29
|
+
* manager swaps to the claim-status UI instead of offering the cancel CTA.
|
|
30
|
+
*/
|
|
31
|
+
export const MEETCH_CLAIM_IN_PROGRESS_STATUSES: InsuranceStatus[] = [
|
|
32
|
+
InsuranceStatus.Open,
|
|
33
|
+
InsuranceStatus.Claimed,
|
|
34
|
+
]
|
|
35
|
+
|
|
26
36
|
/**
|
|
27
37
|
* UI-level lifecycle state of a Meetch/Flex insured booking, used to pick which
|
|
28
38
|
* cancellation UI to render. Derived from {@link InsuranceStatus} plus the
|