@cellaware/utils 8.7.1 → 8.7.2

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,7 +1,13 @@
1
+ export declare const INTEGRATION_VISIBILITY_PRIVATE = "private";
2
+ export declare const INTEGRATION_VISIBILITY_PUBLIC = "public";
3
+ export declare const INTEGRATION_VENDOR_TEAMS = "teams";
4
+ export declare const INTEGRATION_VENDOR_SLACK = "slack";
5
+ export declare const INTEGRATION_TYPE_WEBHOOK = "webhook";
1
6
  export interface SubscriptionIntegration {
2
7
  integrationId: string;
3
8
  name: string;
4
9
  description: string;
10
+ visibility: string;
5
11
  /**
6
12
  * `teams` | `slack`
7
13
  */
@@ -1,10 +1,16 @@
1
+ export const INTEGRATION_VISIBILITY_PRIVATE = 'private';
2
+ export const INTEGRATION_VISIBILITY_PUBLIC = 'public';
3
+ export const INTEGRATION_VENDOR_TEAMS = 'teams';
4
+ export const INTEGRATION_VENDOR_SLACK = 'slack';
5
+ export const INTEGRATION_TYPE_WEBHOOK = 'webhook';
1
6
  export function initSubscriptionIntegration() {
2
7
  return {
3
8
  integrationId: '',
4
9
  name: '',
5
10
  description: '',
6
- vendor: 'teams',
7
- type: 'webhook',
11
+ visibility: INTEGRATION_VISIBILITY_PRIVATE,
12
+ vendor: INTEGRATION_VENDOR_TEAMS,
13
+ type: INTEGRATION_TYPE_WEBHOOK,
8
14
  url: '',
9
15
  clientId: '',
10
16
  userId: ''
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "8.7.1",
3
+ "version": "8.7.2",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",