@bwi-mentorspaces/application-utils-npm 0.0.84 → 0.0.86

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.
@@ -39,6 +39,8 @@ export declare enum CustomEventType {
39
39
  UserAddedToTopic = "user_added_to_topic",
40
40
  SessionUpdated = "session_updated",
41
41
  SessionStarting = "session_starting",
42
+ SessionStartingOneDay = "session_starting_one_day",
43
+ SessionStartingOneHour = "session_starting_one_hour",
42
44
  SessionRSVP = "session_rsvp",
43
45
  SessionDeclined = "session_declined",
44
46
  SessionCanceled = "session_canceled",
@@ -47,6 +47,8 @@ var CustomEventType;
47
47
  CustomEventType["UserAddedToTopic"] = "user_added_to_topic";
48
48
  CustomEventType["SessionUpdated"] = "session_updated";
49
49
  CustomEventType["SessionStarting"] = "session_starting";
50
+ CustomEventType["SessionStartingOneDay"] = "session_starting_one_day";
51
+ CustomEventType["SessionStartingOneHour"] = "session_starting_one_hour";
50
52
  CustomEventType["SessionRSVP"] = "session_rsvp";
51
53
  CustomEventType["SessionDeclined"] = "session_declined";
52
54
  CustomEventType["SessionCanceled"] = "session_canceled";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../chat/stream/enum/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,UAEX;AAFD,WAAY,UAAU;IAClB,+BAAiB,CAAA;AACrB,CAAC,EAFW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAErB;AAED;;GAEG;AACH,IAAY,YAEX;AAFD,WAAY,YAAY;IACpB,gEAAiB,CAAA;AACrB,CAAC,EAFW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAEvB;AAED;;GAEG;AACH,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,sCAAuB,CAAA;AAC3B,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAED;;GAEG;AACH,IAAY,QAKX;AALD,W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GAAR,gBAAQ,KAAR,gBAAQ,QAKnB;AAED;;GAEG;AACH,IAAY,eAoBX;AApBD,WAAY,eAAe;IACvB,2DAAwC,CAAA;IACxC,6DAA0C,CAAA;IAC1C,qDAAkC,CAAA;IAClC,qDAAkC,CAAA;IAClC,sEAAmD,CAAA;IACnD,iDAA8B,CAAA;IAC9B,2DAAwC,CAAA;IACxC,qDAAkC,CAAA;IAClC,uDAAoC,CAAA;IACpC,qEAAkD,CAAA;IAClD,uEAAoD,CAAA;IACpD,+CAA4B,CAAA;IAC5B,uDAAoC,CAAA;IACpC,uDAAoC,CAAA;IACpC,uDAAoC,CAAA;IACpC,yDAAsC,CAAA;IACtC,yDAAsC,CAAA;IACtC,qDAAkC,CAAA;IAClC,2CAAwB,CAAA;AAC5B,CAAC,EApBW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAoB1B"}
@@ -111,6 +111,32 @@ export interface IEventTypesData {
111
111
  attendeeType: string;
112
112
  twilioRef: string;
113
113
  };
114
+ [CustomEventType.SessionStartingOneDay]: {
115
+ title: string;
116
+ description: string;
117
+ startTime: string;
118
+ endTime: string;
119
+ picture: string;
120
+ channelRef: string;
121
+ sessionRef: string;
122
+ sessionId: number;
123
+ sessionType: string | null;
124
+ attendeeType: string;
125
+ twilioRef: string;
126
+ };
127
+ [CustomEventType.SessionStartingOneHour]: {
128
+ title: string;
129
+ description: string;
130
+ startTime: string;
131
+ endTime: string;
132
+ picture: string;
133
+ channelRef: string;
134
+ sessionRef: string;
135
+ sessionId: number;
136
+ sessionType: string | null;
137
+ attendeeType: string;
138
+ twilioRef: string;
139
+ };
114
140
  [CustomEventType.TopicUpdated]: undefined;
115
141
  [CustomEventType.UserAddedToTopic]: {
116
142
  title: string;
package/enums/index.d.ts CHANGED
@@ -70,7 +70,8 @@ export declare const enum Message {
70
70
  ExpiredToken = "Token Expired.",
71
71
  InvalidToken = "Invalid Token.",
72
72
  ExistingUser = "User already exists.",
73
- TopicSharingRequired = "Sorry, you must belong to the same topic(s) as this user to connect with them."
73
+ TopicSharingRequired = "Sorry, you must belong to the same topic(s) as this user to connect with them.",
74
+ InactiveAccount = "You cannot create new connections because your account is currently inactive. Please contact support for assistance."
74
75
  }
75
76
  /**
76
77
  * Routing options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bwi-mentorspaces/application-utils-npm",
3
- "version": "0.0.84",
3
+ "version": "0.0.86",
4
4
  "description": "Mentor Spaces npm packages for reusable models, utils, and abstracted, commonly used processes for DB Repo, Logging, etc.",
5
5
  "author": {
6
6
  "name": "Mentor Spaces",