diff --git a/lib/mobility-core/src/Kernel/External/Ticket/Interface/Types.hs b/lib/mobility-core/src/Kernel/External/Ticket/Interface/Types.hs index 4c09ecc8f..c0f835f51 100644 --- a/lib/mobility-core/src/Kernel/External/Ticket/Interface/Types.hs +++ b/lib/mobility-core/src/Kernel/External/Ticket/Interface/Types.hs @@ -40,7 +40,8 @@ data CreateTicketReq = CreateTicketReq phoneNo :: Maybe Text, personId :: Text, classification :: Classification, - rideDescription :: Maybe RideInfo + rideDescription :: Maybe RideInfo, + becknIssueId :: Maybe Text } data RideInfo = RideInfo diff --git a/lib/mobility-core/src/Kernel/Types/Beckn/Context.hs b/lib/mobility-core/src/Kernel/Types/Beckn/Context.hs index 1f6965443..3112d7ac0 100644 --- a/lib/mobility-core/src/Kernel/Types/Beckn/Context.hs +++ b/lib/mobility-core/src/Kernel/Types/Beckn/Context.hs @@ -90,6 +90,10 @@ data Action | ON_CANCEL | ON_RATING | ON_SUPPORT + | ISSUE + | ON_ISSUE + | ISSUE_STATUS + | ON_ISSUE_STATUS deriving (Generic, Show, Eq, ToSchema) deriving (PrettyShow) via Showable Action @@ -114,6 +118,8 @@ mapToCbAction = \case CANCEL -> Just ON_CANCEL RATING -> Just ON_RATING SUPPORT -> Just ON_SUPPORT + ISSUE -> Just ON_ISSUE + ISSUE_STATUS -> Just ON_ISSUE_STATUS _ -> Nothing getSubscriberType :: Action -> Subscriber.SubscriberType