|
|
@ -169,6 +169,8 @@ export class EntityService { |
|
|
case EntityType.QUEUE: |
|
|
case EntityType.QUEUE: |
|
|
observable = this.queueService.getQueueById(entityId, config); |
|
|
observable = this.queueService.getQueueById(entityId, config); |
|
|
break; |
|
|
break; |
|
|
|
|
|
case EntityType.QUEUE_STATS: |
|
|
|
|
|
observable = this.queueService.getQueueStatisticsById(entityId, config); |
|
|
} |
|
|
} |
|
|
return observable; |
|
|
return observable; |
|
|
} |
|
|
} |
|
|
@ -267,6 +269,9 @@ export class EntityService { |
|
|
case EntityType.NOTIFICATION_TARGET: |
|
|
case EntityType.NOTIFICATION_TARGET: |
|
|
observable = this.notificationService.getNotificationTargetsByIds(entityIds, config); |
|
|
observable = this.notificationService.getNotificationTargetsByIds(entityIds, config); |
|
|
break; |
|
|
break; |
|
|
|
|
|
case EntityType.QUEUE_STATS: |
|
|
|
|
|
observable = this.queueService.getQueueStatisticsByIds(entityIds, config); |
|
|
|
|
|
break; |
|
|
} |
|
|
} |
|
|
return observable; |
|
|
return observable; |
|
|
} |
|
|
} |
|
|
@ -444,6 +449,9 @@ export class EntityService { |
|
|
pageLink.sortOrder.property = 'title'; |
|
|
pageLink.sortOrder.property = 'title'; |
|
|
entitiesObservable = this.resourceService.getTenantResources(pageLink, config); |
|
|
entitiesObservable = this.resourceService.getTenantResources(pageLink, config); |
|
|
break; |
|
|
break; |
|
|
|
|
|
case EntityType.QUEUE_STATS: |
|
|
|
|
|
pageLink.sortOrder.property = 'createdTime'; |
|
|
|
|
|
entitiesObservable = this.queueService.getQueueStatistics(pageLink, config); |
|
|
} |
|
|
} |
|
|
return entitiesObservable; |
|
|
return entitiesObservable; |
|
|
} |
|
|
} |
|
|
@ -716,11 +724,12 @@ export class EntityService { |
|
|
entityTypes.push(EntityType.CUSTOMER); |
|
|
entityTypes.push(EntityType.CUSTOMER); |
|
|
entityTypes.push(EntityType.USER); |
|
|
entityTypes.push(EntityType.USER); |
|
|
entityTypes.push(EntityType.DASHBOARD); |
|
|
entityTypes.push(EntityType.DASHBOARD); |
|
|
entityTypes.push(EntityType.QUEUE_STATS); |
|
|
|
|
|
if (authState.edgesSupportEnabled) { |
|
|
if (authState.edgesSupportEnabled) { |
|
|
entityTypes.push(EntityType.EDGE); |
|
|
entityTypes.push(EntityType.EDGE); |
|
|
} |
|
|
} |
|
|
if (useAliasEntityTypes) { |
|
|
if (useAliasEntityTypes) { |
|
|
|
|
|
entityTypes.push(EntityType.QUEUE_STATS); |
|
|
|
|
|
|
|
|
entityTypes.push(AliasEntityType.CURRENT_CUSTOMER); |
|
|
entityTypes.push(AliasEntityType.CURRENT_CUSTOMER); |
|
|
entityTypes.push(AliasEntityType.CURRENT_TENANT); |
|
|
entityTypes.push(AliasEntityType.CURRENT_TENANT); |
|
|
} |
|
|
} |
|
|
|