@jealous-robot-dev/shared-types-responses 1.33.8 → 1.33.11
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 './
|
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("./
|
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,50 @@
|
|
1
|
+
import { UITHEME } from "@jealous-robot-dev/drophr-common";
|
2
|
+
export declare enum ParticipantRole {
|
3
|
+
HOST = "HOST",
|
4
|
+
CUSTOMER = "CUSTOMER"
|
5
|
+
}
|
6
|
+
export interface LiveChannelInitialResponse {
|
7
|
+
event_details: {
|
8
|
+
id: string;
|
9
|
+
sid: string;
|
10
|
+
end: string;
|
11
|
+
name: string;
|
12
|
+
start: string;
|
13
|
+
duration: number;
|
14
|
+
};
|
15
|
+
connection_details: {
|
16
|
+
signature: string;
|
17
|
+
tracking_frequency: number;
|
18
|
+
};
|
19
|
+
user_details: {
|
20
|
+
UID: string;
|
21
|
+
ppu: string;
|
22
|
+
username: string;
|
23
|
+
role: ParticipantRole;
|
24
|
+
};
|
25
|
+
prefs: {
|
26
|
+
theme: UITHEME;
|
27
|
+
sdk_locale: string;
|
28
|
+
user_locale: string;
|
29
|
+
};
|
30
|
+
}
|
31
|
+
export interface LiveChannelTrackingMessagePayload {
|
32
|
+
ts: string;
|
33
|
+
video_enabled: boolean;
|
34
|
+
audio_enabled: boolean;
|
35
|
+
sound_enabled: boolean;
|
36
|
+
screen_enabled: boolean;
|
37
|
+
latest_interaction: string;
|
38
|
+
}
|
39
|
+
export declare enum LiveChannelTrackingResponseTypes {
|
40
|
+
OK = "OK",
|
41
|
+
ABOUT_TO_END = "ABOUT_TO_END",
|
42
|
+
CHECK_PRESENCE = "CHECK_PRESENCE",
|
43
|
+
HOST_CONN_TROUBLES = "HOST_CONN_TROUBLES",
|
44
|
+
HOST_LEFT_PREMATURELY = "HOST_LEFT_PREMATURELY",
|
45
|
+
CUSTOMER_CONN_TROUBLES = "CUSTOMER_CONN_TROUBLES"
|
46
|
+
}
|
47
|
+
export interface LiveChannelTrackingResponse {
|
48
|
+
result: LiveChannelTrackingResponseTypes;
|
49
|
+
role: ParticipantRole;
|
50
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LiveChannelTrackingResponseTypes = exports.ParticipantRole = void 0;
|
4
|
+
var ParticipantRole;
|
5
|
+
(function (ParticipantRole) {
|
6
|
+
ParticipantRole["HOST"] = "HOST";
|
7
|
+
ParticipantRole["CUSTOMER"] = "CUSTOMER";
|
8
|
+
})(ParticipantRole = exports.ParticipantRole || (exports.ParticipantRole = {}));
|
9
|
+
var LiveChannelTrackingResponseTypes;
|
10
|
+
(function (LiveChannelTrackingResponseTypes) {
|
11
|
+
LiveChannelTrackingResponseTypes["OK"] = "OK";
|
12
|
+
LiveChannelTrackingResponseTypes["ABOUT_TO_END"] = "ABOUT_TO_END";
|
13
|
+
LiveChannelTrackingResponseTypes["CHECK_PRESENCE"] = "CHECK_PRESENCE";
|
14
|
+
LiveChannelTrackingResponseTypes["HOST_CONN_TROUBLES"] = "HOST_CONN_TROUBLES";
|
15
|
+
LiveChannelTrackingResponseTypes["HOST_LEFT_PREMATURELY"] = "HOST_LEFT_PREMATURELY";
|
16
|
+
LiveChannelTrackingResponseTypes["CUSTOMER_CONN_TROUBLES"] = "CUSTOMER_CONN_TROUBLES";
|
17
|
+
})(LiveChannelTrackingResponseTypes = exports.LiveChannelTrackingResponseTypes || (exports.LiveChannelTrackingResponseTypes = {}));
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { QueryResponse } from '../common';
|
2
|
-
import { HostEventPics,
|
2
|
+
import { HostEventPics, HostEventFee, EventTypes, HostEventTime, EventTimeModes, HostingPriceLimits } from '@jealous-robot-dev/drophr-common';
|
3
3
|
import { EventManagerPhrases } from '@jealous-robot-dev/shared-phrases';
|
4
4
|
export declare type UpdatableEventValue = string | HostEventPics[] | HostEventPics | number | HostEventTime | string[] | HostEventFee;
|
5
5
|
export interface EventInManager {
|
@@ -21,6 +21,7 @@ export interface EventInManager {
|
|
21
21
|
export interface EventManagerData {
|
22
22
|
is_restricted: boolean;
|
23
23
|
events: EventInManager[];
|
24
|
+
fee?: HostingPriceLimits;
|
24
25
|
}
|
25
26
|
export interface EventManagerResponse extends QueryResponse<EventManagerData, EventManagerPhrases> {
|
26
27
|
}
|