@cellaware/utils 8.5.6 → 8.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ const COSMOS_SQL_ACTION_WORDS_REGEX = /\b(insert|update|delete|create|alter|drop
6
6
  const COSMOS_SQL_SELECT_REGEX = /\b(select)\b/gmi;
7
7
  const COSMOS_SQL_FROM_REGEX = /\b(from)\b/gmi;
8
8
  const COSMOS_SQL_WHERE_REGEX = /\b(where)\b/gmi;
9
- const COSMOS_SQL_APPROVED_TABLES_REGEX = /\b(alert_executions|alert_subscriptions|alerts|client_configs|conversation_details|conversation_feedback|conversation_headers|conversation_metadata|conversation_removed_details|conversation_sampled_details|conversation_sampled_metadata|dashboard_usage|dashboard_widgets|dashboards|notifications|report_lines|report_schedules|report_usage|reports|user_roles)\b/gmi;
9
+ const COSMOS_SQL_APPROVED_TABLES_REGEX = /\b(alert_executions|alert_subscriptions|alerts|client_configs|conversation_details|conversation_feedback|conversation_headers|conversation_metadata|conversation_removed_details|conversation_sampled_details|conversation_sampled_metadata|dashboard_usage|dashboard_widgets|dashboards|notifications|notifications_poll|report_lines|report_schedules|report_usage|reports|user_roles)\b/gmi;
10
10
  const _SUBQUERY_QUERY_PLACEHOLDER_UNWRAPPED = '{{query}}';
11
11
  const SUBQUERY_QUERY_PLACEHOLDER = `(${_SUBQUERY_QUERY_PLACEHOLDER_UNWRAPPED})`;
12
12
  const VARIABLE_COSMOS_USER_ID = '__USER_ID__';
@@ -120,6 +120,10 @@ const COSMOS_TABLES = [
120
120
  table_name: 'notifications',
121
121
  table_description: 'Notifications'
122
122
  },
123
+ {
124
+ table_name: 'notifications_poll',
125
+ table_description: 'Notifications Poll'
126
+ },
123
127
  {
124
128
  table_name: 'report_lines',
125
129
  table_description: 'Report Lines'
@@ -27,6 +27,10 @@ export interface Report {
27
27
  parameters: ReportParameter[];
28
28
  folder: string;
29
29
  brief: string;
30
+ email?: {
31
+ subject: string;
32
+ body: string;
33
+ };
30
34
  clientId: string;
31
35
  userId: string;
32
36
  customerLevel?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "8.5.6",
3
+ "version": "8.5.8",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",