@jealous-robot-dev/shared-types-responses 1.52.6 → 1.52.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,11 +27,12 @@ export interface AuthenticationDevice {
27
27
  DropHRUserAgent: DropHRUserAgents;
28
28
  }
29
29
  export declare enum PositiveAuthResponse {
30
- NEW_USER = "NEW_USER",
31
- TWO_FACTOR = "TWO_FACTOR",
32
- WELCOME_BACK = "WELCOME_BACK",
33
30
  VERIFY_DEVICE = "VERIFY_DEVICE",
31
+ WELCOME_BACK = "WELCOME_BACK",
34
32
  VERIFY_EMAIL = "VERIFY_EMAIL",
33
+ VERIFY_PHONE = "VERIFY_PHONE",
34
+ TWO_FACTOR = "TWO_FACTOR",
35
+ NEW_USER = "NEW_USER",
35
36
  PASS = "PASS"
36
37
  }
37
38
  export declare enum DeviceVerificationResults {
@@ -3,11 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeviceVerificationResults = exports.PositiveAuthResponse = void 0;
4
4
  var PositiveAuthResponse;
5
5
  (function (PositiveAuthResponse) {
6
- PositiveAuthResponse["NEW_USER"] = "NEW_USER";
7
- PositiveAuthResponse["TWO_FACTOR"] = "TWO_FACTOR";
8
- PositiveAuthResponse["WELCOME_BACK"] = "WELCOME_BACK";
9
6
  PositiveAuthResponse["VERIFY_DEVICE"] = "VERIFY_DEVICE";
7
+ PositiveAuthResponse["WELCOME_BACK"] = "WELCOME_BACK";
10
8
  PositiveAuthResponse["VERIFY_EMAIL"] = "VERIFY_EMAIL";
9
+ PositiveAuthResponse["VERIFY_PHONE"] = "VERIFY_PHONE";
10
+ PositiveAuthResponse["TWO_FACTOR"] = "TWO_FACTOR";
11
+ PositiveAuthResponse["NEW_USER"] = "NEW_USER";
11
12
  PositiveAuthResponse["PASS"] = "PASS";
12
13
  })(PositiveAuthResponse = exports.PositiveAuthResponse || (exports.PositiveAuthResponse = {}));
13
14
  var DeviceVerificationResults;
@@ -1,18 +1,5 @@
1
+ import { LiveChannelClientMsgs, LiveChannelServerMsgs } from "@jealous-robot-dev/drophr-common";
1
2
  import { MessengerMedia } from ".";
2
- export declare enum LiveChannelClientMsgs {
3
- DELETE_MSG = "msg:delete",
4
- EDIT_MSG = "msg:edit",
5
- SEND_MSG = "msg:send",
6
- VIEW_MSG = "msg:view"
7
- }
8
- export declare enum LiveChannelServerMsgs {
9
- MSG_SENT = "msg:sent",
10
- MSG_EDITED = "msg:edited",
11
- MSG_VIEWED = "msg:viewed",
12
- MSG_DELETED = "msg:deleted",
13
- CONV_DELETED_BY_MEMBER = "conv:deleted-by-mem",
14
- CONV_AVAIL_ON_CHANGE = "conv:avail-on-change"
15
- }
16
3
  export interface SendMsgPayload {
17
4
  tmp_id: number;
18
5
  conv_id: string;
@@ -1,19 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LiveChannelServerMsgs = exports.LiveChannelClientMsgs = void 0;
4
- var LiveChannelClientMsgs;
5
- (function (LiveChannelClientMsgs) {
6
- LiveChannelClientMsgs["DELETE_MSG"] = "msg:delete";
7
- LiveChannelClientMsgs["EDIT_MSG"] = "msg:edit";
8
- LiveChannelClientMsgs["SEND_MSG"] = "msg:send";
9
- LiveChannelClientMsgs["VIEW_MSG"] = "msg:view";
10
- })(LiveChannelClientMsgs = exports.LiveChannelClientMsgs || (exports.LiveChannelClientMsgs = {}));
11
- var LiveChannelServerMsgs;
12
- (function (LiveChannelServerMsgs) {
13
- LiveChannelServerMsgs["MSG_SENT"] = "msg:sent";
14
- LiveChannelServerMsgs["MSG_EDITED"] = "msg:edited";
15
- LiveChannelServerMsgs["MSG_VIEWED"] = "msg:viewed";
16
- LiveChannelServerMsgs["MSG_DELETED"] = "msg:deleted";
17
- LiveChannelServerMsgs["CONV_DELETED_BY_MEMBER"] = "conv:deleted-by-mem";
18
- LiveChannelServerMsgs["CONV_AVAIL_ON_CHANGE"] = "conv:avail-on-change";
19
- })(LiveChannelServerMsgs = exports.LiveChannelServerMsgs || (exports.LiveChannelServerMsgs = {}));
@@ -1,10 +1,5 @@
1
+ import { MessageStatus } from "@jealous-robot-dev/drophr-common";
1
2
  import { MessengerMedia } from ".";
2
- export declare enum MessageStatus {
3
- SENDING = "sending",
4
- SENT = "sent",
5
- READ = "read",
6
- ERROR = "error"
7
- }
8
3
  export interface Message {
9
4
  id: number;
10
5
  author: string;
@@ -1,10 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessageStatus = void 0;
4
- var MessageStatus;
5
- (function (MessageStatus) {
6
- MessageStatus["SENDING"] = "sending";
7
- MessageStatus["SENT"] = "sent";
8
- MessageStatus["READ"] = "read";
9
- MessageStatus["ERROR"] = "error";
10
- })(MessageStatus = exports.MessageStatus || (exports.MessageStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.52.6",
3
+ "version": "1.52.8",
4
4
  "description": "Meetle common types of API responses",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",