File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,8 @@ sitemap' =
186
186
:<|> Named @ " put-route-consumable-notifications" (mkFeatureStatusPutRoute @ ConsumableNotificationsConfig )
187
187
:<|> Named @ " get-route-chat-bubbles-config" (mkFeatureGetRoute @ ChatBubblesConfig )
188
188
:<|> Named @ " put-route-chat-bubbles-config" (mkFeatureStatusPutRoute @ ChatBubblesConfig )
189
+ :<|> Named @ " get-route-apps-config" (mkFeatureGetRoute @ AppsConfig )
190
+ :<|> Named @ " put-route-apps-config" (mkFeatureStatusPutRoute @ AppsConfig )
189
191
:<|> Named @ " get-team-invoice" getTeamInvoice
190
192
:<|> Named @ " get-team-billing-info" getTeamBillingInfo
191
193
:<|> Named @ " put-team-billing-info" updateTeamBillingInfo
@@ -219,6 +221,7 @@ sitemap' =
219
221
:<|> Named @ " lock-unlock-route-cells-config" (mkFeatureLockUnlockRoute @ CellsConfig )
220
222
:<|> Named @ " lock-unlock-route-consumable-notifications-config" (mkFeatureLockUnlockRoute @ ConsumableNotificationsConfig )
221
223
:<|> Named @ " lock-unlock-route-chat-bubbles-config" (mkFeatureLockUnlockRoute @ ChatBubblesConfig )
224
+ :<|> Named @ " lock-unlock-route-apps-config" (mkFeatureLockUnlockRoute @ AppsConfig )
222
225
223
226
sitemapInternal :: Servant. Server SternAPIInternal
224
227
sitemapInternal =
Original file line number Diff line number Diff line change @@ -321,6 +321,8 @@ type SternAPI =
321
321
:<|> Named " put-route-consumable-notifications" (MkFeatureStatusPutRoute ConsumableNotificationsConfig )
322
322
:<|> Named " get-route-chat-bubbles-config" (MkFeatureGetRoute ChatBubblesConfig )
323
323
:<|> Named " put-route-chat-bubbles-config" (MkFeatureStatusPutRoute ChatBubblesConfig )
324
+ :<|> Named " get-route-apps-config" (MkFeatureGetRoute AppsConfig )
325
+ :<|> Named " put-route-apps-config" (MkFeatureStatusPutRoute AppsConfig )
324
326
:<|> Named
325
327
" get-team-invoice"
326
328
( Summary " Get a specific invoice by Number"
@@ -471,6 +473,7 @@ type SternAPI =
471
473
:<|> Named " lock-unlock-route-cells-config" (MkFeatureLockUnlockRoute CellsConfig )
472
474
:<|> Named " lock-unlock-route-consumable-notifications-config" (MkFeatureLockUnlockRoute ConsumableNotificationsConfig )
473
475
:<|> Named " lock-unlock-route-chat-bubbles-config" (MkFeatureLockUnlockRoute ChatBubblesConfig )
476
+ :<|> Named " lock-unlock-route-apps-config" (MkFeatureLockUnlockRoute AppsConfig )
474
477
475
478
-------------------------------------------------------------------------------
476
479
-- Swagger
Original file line number Diff line number Diff line change @@ -118,7 +118,9 @@ tests s =
118
118
test s " PUT /teams/:tid/features/cells{,'?lockOrUnlock'}" $ testLockStatus @ CellsConfig ,
119
119
test s " PUT /teams/:tid/features/consumableNotifications{,'?lockOrUnlock'}" $ testLockStatus @ ConsumableNotificationsConfig ,
120
120
test s " PUT /teams/:tid/features/chatBubbles{,'?lockOrUnlock'}" $ testLockStatus @ ChatBubblesConfig ,
121
- test s " /teams/:tid/features/chatBubbles" $ testFeatureStatus @ ChatBubblesConfig
121
+ test s " /teams/:tid/features/chatBubbles" $ testFeatureStatus @ ChatBubblesConfig ,
122
+ test s " PUT /teams/:tid/features/apps{,'?lockOrUnlock'}" $ testLockStatus @ AppsConfig ,
123
+ test s " /teams/:tid/features/apps" $ testFeatureStatus @ AppsConfig
122
124
-- The following endpoints can not be tested here because they require ibis:
123
125
-- - `GET /teams/:tid/billing`
124
126
-- - `GET /teams/:tid/invoice/:inr`
You can’t perform that action at this time.
0 commit comments