@pulsecharterconnect/types 0.1.31 → 0.1.33

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.
@@ -0,0 +1,25 @@
1
+ export declare enum CommunicationsChannelType {
2
+ ALL = "All",
3
+ AIR = "Air",
4
+ LOCAL_GROUND = "Local Ground",
5
+ DISTAL_GROUND = "Distal Ground",
6
+ SURGICAL = "Surgical",
7
+ ADMIN = "Admin"
8
+ }
9
+ export interface ICommunicationsChannel {
10
+ id: string;
11
+ channelDisplayName: CommunicationsChannelType;
12
+ unosId?: string;
13
+ namechannelName: string;
14
+ messageCount: number;
15
+ usersCount: number;
16
+ }
17
+ export declare class CommunicationsChannel implements ICommunicationsChannel {
18
+ id: string;
19
+ channelDisplayName: CommunicationsChannelType;
20
+ unosId?: string;
21
+ namechannelName: string;
22
+ messageCount: number;
23
+ usersCount: number;
24
+ constructor(channel: ICommunicationsChannel);
25
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CommunicationsChannel = exports.CommunicationsChannelType = void 0;
4
+ var CommunicationsChannelType;
5
+ (function (CommunicationsChannelType) {
6
+ CommunicationsChannelType["ALL"] = "All";
7
+ CommunicationsChannelType["AIR"] = "Air";
8
+ CommunicationsChannelType["LOCAL_GROUND"] = "Local Ground";
9
+ CommunicationsChannelType["DISTAL_GROUND"] = "Distal Ground";
10
+ CommunicationsChannelType["SURGICAL"] = "Surgical";
11
+ CommunicationsChannelType["ADMIN"] = "Admin";
12
+ })(CommunicationsChannelType = exports.CommunicationsChannelType || (exports.CommunicationsChannelType = {}));
13
+ class CommunicationsChannel {
14
+ constructor(channel) {
15
+ this.id = channel.id;
16
+ this.channelDisplayName = channel.channelDisplayName;
17
+ this.unosId = channel.unosId || undefined;
18
+ this.namechannelName = channel.namechannelName;
19
+ this.messageCount = channel.messageCount || 0;
20
+ this.usersCount = channel.usersCount || 0;
21
+ }
22
+ }
23
+ exports.CommunicationsChannel = CommunicationsChannel;
@@ -8,3 +8,4 @@ export * from "./Notification";
8
8
  export * from "./RequestForProposal";
9
9
  export * from "./Proposal";
10
10
  export * from "./Trip";
11
+ export * from "./Communications";
@@ -24,3 +24,4 @@ __exportStar(require("./Notification"), exports);
24
24
  __exportStar(require("./RequestForProposal"), exports);
25
25
  __exportStar(require("./Proposal"), exports);
26
26
  __exportStar(require("./Trip"), exports);
27
+ __exportStar(require("./Communications"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.1.31",
3
+ "version": "0.1.33",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",