update default role to default-roles-dcb-prod
This commit is contained in:
parent
5d7b628516
commit
6ef6b7911d
@ -31,7 +31,7 @@ export class WebhookController {
|
|||||||
|
|
||||||
@Post('sms-mo/:operator/:country')
|
@Post('sms-mo/:operator/:country')
|
||||||
@HttpCode(HttpStatus.CREATED)
|
@HttpCode(HttpStatus.CREATED)
|
||||||
@Roles({ roles: ['admin_webhook'] })
|
@Roles({ roles: ['default-roles-dcb-prod'] })
|
||||||
@ApiOperation({ summary: 'Receive callback for SMS MO notification' })
|
@ApiOperation({ summary: 'Receive callback for SMS MO notification' })
|
||||||
@ApiBody({ type: InboundSMSMessageNotificationWrapperDto })
|
@ApiBody({ type: InboundSMSMessageNotificationWrapperDto })
|
||||||
@ApiCreatedResponse({
|
@ApiCreatedResponse({
|
||||||
@ -60,7 +60,7 @@ export class WebhookController {
|
|||||||
|
|
||||||
@Post('subscription/:operator/:country')
|
@Post('subscription/:operator/:country')
|
||||||
@HttpCode(HttpStatus.CREATED)
|
@HttpCode(HttpStatus.CREATED)
|
||||||
@Roles({ roles: ['admin_webhook'] })
|
@Roles({ roles: ['default-roles-dcb-prod'] })
|
||||||
@ApiOperation({ summary: 'Receive callback for management of subscription' })
|
@ApiOperation({ summary: 'Receive callback for management of subscription' })
|
||||||
@ApiBody({ type: SubscriptionDto })
|
@ApiBody({ type: SubscriptionDto })
|
||||||
@ApiCreatedResponse({
|
@ApiCreatedResponse({
|
||||||
@ -88,7 +88,7 @@ export class WebhookController {
|
|||||||
|
|
||||||
@Get('he/:operator/:country')
|
@Get('he/:operator/:country')
|
||||||
@HttpCode(HttpStatus.OK)
|
@HttpCode(HttpStatus.OK)
|
||||||
@Roles({ roles: ['admin_webhook'] })
|
@Roles({ roles: ['default-roles-dcb-prod'] })
|
||||||
@ApiOperation({ summary: 'Receive callback for HE notification' })
|
@ApiOperation({ summary: 'Receive callback for HE notification' })
|
||||||
@ApiOkResponse({
|
@ApiOkResponse({
|
||||||
description: 'HE notification successfully queued',
|
description: 'HE notification successfully queued',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user