@jealous-robot-dev/shared-types-responses 1.33.10 → 1.34.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,13 +1,14 @@
1
- export * from './events';
2
- export * from './event';
3
1
  export * from './host';
2
+ export * from './event';
3
+ export * from './events';
4
4
  export * from './tag-search';
5
+ export * from './become-host';
6
+ export * from './seance-join';
5
7
  export * from './customerhub';
6
- export * from './manage-events';
8
+ export * from './urgent-event';
9
+ export * from './live-channel';
7
10
  export * from './event-search';
8
11
  export * from './host-an-event';
12
+ export * from './manage-events';
9
13
  export * from './event-checkout';
10
- export * from './become-host';
11
14
  export * from './event-impression';
12
- export * from './urgent-event';
13
- export * from './seance-join';
@@ -10,16 +10,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./events"), exports);
14
- __exportStar(require("./event"), exports);
15
13
  __exportStar(require("./host"), exports);
14
+ __exportStar(require("./event"), exports);
15
+ __exportStar(require("./events"), exports);
16
16
  __exportStar(require("./tag-search"), exports);
17
+ __exportStar(require("./become-host"), exports);
18
+ __exportStar(require("./seance-join"), exports);
17
19
  __exportStar(require("./customerhub"), exports);
18
- __exportStar(require("./manage-events"), exports);
20
+ __exportStar(require("./urgent-event"), exports);
21
+ __exportStar(require("./live-channel"), exports);
19
22
  __exportStar(require("./event-search"), exports);
20
23
  __exportStar(require("./host-an-event"), exports);
24
+ __exportStar(require("./manage-events"), exports);
21
25
  __exportStar(require("./event-checkout"), exports);
22
- __exportStar(require("./become-host"), exports);
23
26
  __exportStar(require("./event-impression"), exports);
24
- __exportStar(require("./urgent-event"), exports);
25
- __exportStar(require("./seance-join"), exports);
@@ -0,0 +1,46 @@
1
+ import { UITHEME, LiveChannelParticipantRole } from "@jealous-robot-dev/drophr-common";
2
+ export interface LiveChannelInitialResponse {
3
+ event_details: {
4
+ id: string;
5
+ sid: string;
6
+ end: string;
7
+ name: string;
8
+ start: string;
9
+ duration: number;
10
+ };
11
+ connection_details: {
12
+ signature: string;
13
+ tracking_frequency: number;
14
+ };
15
+ user_details: {
16
+ UID: string;
17
+ ppu: string;
18
+ username: string;
19
+ role: LiveChannelParticipantRole;
20
+ };
21
+ prefs: {
22
+ theme: UITHEME;
23
+ sdk_locale: string;
24
+ user_locale: string;
25
+ };
26
+ }
27
+ export interface LiveChannelTrackingMessagePayload {
28
+ ts: string;
29
+ video_enabled: boolean;
30
+ audio_enabled: boolean;
31
+ sound_enabled: boolean;
32
+ screen_enabled: boolean;
33
+ latest_interaction: string;
34
+ }
35
+ export declare enum LiveChannelTrackingResponseTypes {
36
+ OK = "OK",
37
+ ABOUT_TO_END = "ABOUT_TO_END",
38
+ CHECK_PRESENCE = "CHECK_PRESENCE",
39
+ HOST_CONN_TROUBLES = "HOST_CONN_TROUBLES",
40
+ HOST_LEFT_PREMATURELY = "HOST_LEFT_PREMATURELY",
41
+ CUSTOMER_CONN_TROUBLES = "CUSTOMER_CONN_TROUBLES"
42
+ }
43
+ export interface LiveChannelTrackingResponse {
44
+ result: LiveChannelTrackingResponseTypes;
45
+ role: LiveChannelParticipantRole;
46
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveChannelTrackingResponseTypes = void 0;
4
+ var LiveChannelTrackingResponseTypes;
5
+ (function (LiveChannelTrackingResponseTypes) {
6
+ LiveChannelTrackingResponseTypes["OK"] = "OK";
7
+ LiveChannelTrackingResponseTypes["ABOUT_TO_END"] = "ABOUT_TO_END";
8
+ LiveChannelTrackingResponseTypes["CHECK_PRESENCE"] = "CHECK_PRESENCE";
9
+ LiveChannelTrackingResponseTypes["HOST_CONN_TROUBLES"] = "HOST_CONN_TROUBLES";
10
+ LiveChannelTrackingResponseTypes["HOST_LEFT_PREMATURELY"] = "HOST_LEFT_PREMATURELY";
11
+ LiveChannelTrackingResponseTypes["CUSTOMER_CONN_TROUBLES"] = "CUSTOMER_CONN_TROUBLES";
12
+ })(LiveChannelTrackingResponseTypes = exports.LiveChannelTrackingResponseTypes || (exports.LiveChannelTrackingResponseTypes = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.33.10",
3
+ "version": "1.34.0",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "typescript": "^3.8.3"
25
25
  },
26
26
  "dependencies": {
27
- "@jealous-robot-dev/drophr-common": "^1.1.17",
27
+ "@jealous-robot-dev/drophr-common": "^1.2.3",
28
28
  "@jealous-robot-dev/shared-phrases": "^1.0.1",
29
29
  "@jealous-robot-dev/shared-ui-lib": "^1.2.22"
30
30
  }