Skip to content

Commit

Permalink
backend/feat/igm integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyash Pankaj committed Jun 19, 2024
1 parent 47269e2 commit 16219ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions lib/mobility-core/src/Kernel/Types/Beckn/Context.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 16219ad

Please sign in to comment.