You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/api/admin/admin.controller.ts
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -56,15 +56,15 @@ export class AdminController {
56
56
@Roles(
57
57
Role.PaymentAdmin,
58
58
Role.PaymentBaAdmin,
59
-
Role.EngagementPaymentApprover,
59
+
Role.PaymentApprover,
60
60
Role.WiproTaasAdmin,
61
61
Role.PaymentEditor,
62
62
Role.PaymentViewer,
63
63
)
64
64
@ApiOperation({
65
65
summary: 'Search winnings with parameters',
66
66
description:
67
-
'Roles: Payment Admin, Payment BA Admin, Engagement Payment Approver, Wipro TaaS Admin, Payment Editor, Payment Viewer',
67
+
'Roles: Payment Admin, Payment BA Admin, Payment Approver, Wipro TaaS Admin, Payment Editor, Payment Viewer',
68
68
})
69
69
@ApiBody({
70
70
description: 'Winning request body',
@@ -102,7 +102,7 @@ export class AdminController {
102
102
@Roles(
103
103
Role.PaymentAdmin,
104
104
Role.PaymentBaAdmin,
105
-
Role.EngagementPaymentApprover,
105
+
Role.PaymentApprover,
106
106
Role.WiproTaasAdmin,
107
107
Role.PaymentEditor,
108
108
Role.PaymentViewer,
@@ -145,15 +145,15 @@ export class AdminController {
145
145
@Roles(
146
146
Role.PaymentAdmin,
147
147
Role.PaymentBaAdmin,
148
-
Role.EngagementPaymentApprover,
148
+
Role.PaymentApprover,
149
149
Role.WiproTaasAdmin,
150
150
Role.PaymentEditor,
151
151
Role.PaymentViewer,
152
152
)
153
153
@ApiOperation({
154
154
summary: 'Export search winnings result in csv file format',
155
155
description:
156
-
'Roles: Payment Admin, Payment BA Admin, Engagement Payment Approver, Wipro TaaS Admin, Payment Editor, Payment Viewer. Engagement payment exports include the Payment Creator column.',
156
+
'Roles: Payment Admin, Payment BA Admin, Payment Approver, Wipro TaaS Admin, Payment Editor, Payment Viewer. Engagement payment exports include the Payment Creator column.',
157
157
})
158
158
@ApiBody({
159
159
description: 'Winning request body',
@@ -283,14 +283,14 @@ export class AdminController {
283
283
@Roles(
284
284
Role.PaymentAdmin,
285
285
Role.PaymentBaAdmin,
286
-
Role.EngagementPaymentApprover,
286
+
Role.PaymentApprover,
287
287
Role.WiproTaasAdmin,
288
288
Role.PaymentEditor,
289
289
)
290
290
@ApiOperation({
291
291
summary: 'Update winnings with given parameter',
292
292
description:
293
-
'Roles: Payment Admin, Payment BA Admin, Engagement Payment Approver, Wipro TaaS Admin, Payment Editor. paymentStatus, releaseDate and paymentAmount cannot be null at the same time.',
293
+
'Roles: Payment Admin, Payment BA Admin, Payment Approver, Wipro TaaS Admin, Payment Editor. paymentStatus, releaseDate and paymentAmount cannot be null at the same time.',
294
294
})
295
295
@ApiResponse({
296
296
status: 200,
@@ -330,15 +330,15 @@ export class AdminController {
330
330
@Roles(
331
331
Role.PaymentAdmin,
332
332
Role.PaymentBaAdmin,
333
-
Role.EngagementPaymentApprover,
333
+
Role.PaymentApprover,
334
334
Role.WiproTaasAdmin,
335
335
Role.PaymentEditor,
336
336
Role.PaymentViewer,
337
337
)
338
338
@ApiOperation({
339
339
summary: 'List winning audit logs with given winning id',
340
340
description:
341
-
'Roles: Payment Admin, Payment BA Admin, Engagement Payment Approver, Wipro TaaS Admin, Payment Editor, Payment Viewer',
341
+
'Roles: Payment Admin, Payment BA Admin, Payment Approver, Wipro TaaS Admin, Payment Editor, Payment Viewer',
342
342
})
343
343
@ApiParam({
344
344
name: 'winningID',
@@ -374,15 +374,15 @@ export class AdminController {
374
374
@Roles(
375
375
Role.PaymentAdmin,
376
376
Role.PaymentBaAdmin,
377
-
Role.EngagementPaymentApprover,
377
+
Role.PaymentApprover,
378
378
Role.WiproTaasAdmin,
379
379
Role.PaymentEditor,
380
380
Role.PaymentViewer,
381
381
)
382
382
@ApiOperation({
383
383
summary: 'Fetch winnings payout audit logs with given winning id.',
384
384
description:
385
-
'Roles: Payment Admin, Payment BA Admin, Engagement Payment Approver, Wipro TaaS Admin, Payment Editor, Payment Viewer',
385
+
'Roles: Payment Admin, Payment BA Admin, Payment Approver, Wipro TaaS Admin, Payment Editor, Payment Viewer',
0 commit comments