@cellaware/utils 8.6.34 → 8.7.0

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.
@@ -1,5 +1,11 @@
1
1
  export interface SubscriptionIntegration {
2
- vendor: 'teams' | 'slack';
2
+ integrationId: string;
3
+ name: string;
4
+ description: string;
5
+ vendor: 'teams';
3
6
  type: 'webhook';
4
7
  url: string;
8
+ clientId: string;
9
+ userId: string;
5
10
  }
11
+ export declare function initSubscriptionIntegration(): SubscriptionIntegration;
@@ -1 +1,12 @@
1
- export {};
1
+ export function initSubscriptionIntegration() {
2
+ return {
3
+ integrationId: '',
4
+ name: '',
5
+ description: '',
6
+ vendor: 'teams',
7
+ type: 'webhook',
8
+ url: '',
9
+ clientId: '',
10
+ userId: ''
11
+ };
12
+ }
@@ -1,5 +1,6 @@
1
1
  import { DataContext } from "./client.js";
2
2
  import { DatagridStateBase } from "./datagrid.js";
3
+ import { SubscriptionIntegration } from "./integration.js";
3
4
  export declare const REPORT_VISIBILITY_PRIVATE = "private";
4
5
  export declare const REPORT_VISIBILITY_PUBLIC = "public";
5
6
  export declare const REPORT_VISIBILITY_GLOBAL = "global";
@@ -96,6 +97,7 @@ export interface ReportSchedule {
96
97
  popup?: boolean;
97
98
  email?: boolean;
98
99
  additionalEmails?: string[];
100
+ integrations?: string[];
99
101
  excel?: boolean;
100
102
  parameterValues?: ReportParameterValue[];
101
103
  clientId: string;
@@ -107,6 +109,7 @@ export interface InstanceReportSchedule {
107
109
  cronExpression: string;
108
110
  popups: Set<string>;
109
111
  emails: Set<string>;
112
+ integrations: Set<SubscriptionIntegration>;
110
113
  excel: boolean;
111
114
  parameterValues: ReportParameterValue[];
112
115
  }
@@ -41,6 +41,7 @@ export function initReportSchedule() {
41
41
  popup: false,
42
42
  email: false,
43
43
  additionalEmails: [],
44
+ integrations: [],
44
45
  // subscriptions: [],
45
46
  excel: false,
46
47
  parameterValues: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "8.6.34",
3
+ "version": "8.7.0",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",