cmd-control-client-lib 3.0.33 → 3.0.35
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.
|
@@ -11,7 +11,7 @@ export declare type DurationInstruction = {
|
|
|
11
11
|
max: string;
|
|
12
12
|
pick: string[];
|
|
13
13
|
};
|
|
14
|
-
export declare type
|
|
14
|
+
export declare type TicketPriceDuration = {
|
|
15
15
|
price: PriceInstruction;
|
|
16
16
|
/**dauer in seconds */
|
|
17
17
|
duration: DurationInstruction;
|
|
@@ -20,7 +20,7 @@ export declare type MediaPrices = {
|
|
|
20
20
|
imagePrices: PriceInstruction;
|
|
21
21
|
audioPrices: PriceInstruction;
|
|
22
22
|
videoPrices: PriceInstruction;
|
|
23
|
-
ticketPrices?:
|
|
23
|
+
ticketPrices?: Record<EnumTicketType, TicketPriceDuration>;
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* Command for get prices for media. Will be forwarded to B2B backend.
|
|
@@ -6,7 +6,9 @@ import { CMDC_CMSG, MediaFile, MediaOffer } from "./message";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class CMDP_SOPENMEDIAOFFER implements ICOMMAND {
|
|
8
8
|
action: ACTION;
|
|
9
|
-
params: baseParamsType & channelIdType & MediaOffer & MediaFile
|
|
9
|
+
params: baseParamsType & channelIdType & MediaOffer & MediaFile & {
|
|
10
|
+
text?: string;
|
|
11
|
+
};
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
12
14
|
* Response command for CMDP_SOPENMEDIAOFFER.
|
|
@@ -1,17 +1,89 @@
|
|
|
1
1
|
/** messageKey for msgTyp="sys" */
|
|
2
2
|
export declare enum SystemMessageKey {
|
|
3
3
|
bonusCodeRedemption = "bonusCodeRedemption",
|
|
4
|
+
categories = "categories",
|
|
5
|
+
category = "category",
|
|
6
|
+
exit_code_1 = "exit_code_1",
|
|
7
|
+
exit_code_100 = "exit_code_100",
|
|
8
|
+
exit_code_101 = "exit_code_101",
|
|
9
|
+
exit_code_102 = "exit_code_102",
|
|
10
|
+
exit_code_103 = "exit_code_103",
|
|
11
|
+
exit_code_104 = "exit_code_104",
|
|
12
|
+
exit_code_105 = "exit_code_105",
|
|
13
|
+
exit_code_106 = "exit_code_106",
|
|
14
|
+
exit_code_107 = "exit_code_107",
|
|
15
|
+
exit_code_108 = "exit_code_108",
|
|
16
|
+
exit_code_201 = "exit_code_201",
|
|
17
|
+
exit_code_202 = "exit_code_202",
|
|
18
|
+
exit_code_203 = "exit_code_203",
|
|
19
|
+
exit_code_204 = "exit_code_204",
|
|
20
|
+
exit_code_205 = "exit_code_205",
|
|
21
|
+
exit_code_206 = "exit_code_206",
|
|
22
|
+
exit_code_207 = "exit_code_207",
|
|
23
|
+
exit_code_208 = "exit_code_208",
|
|
24
|
+
exit_code_210 = "exit_code_210",
|
|
25
|
+
exit_code_211 = "exit_code_211",
|
|
26
|
+
exit_code_212 = "exit_code_212",
|
|
27
|
+
exit_code_213 = "exit_code_213",
|
|
28
|
+
exit_code_214 = "exit_code_214",
|
|
29
|
+
exit_code_215 = "exit_code_215",
|
|
30
|
+
exit_code_216 = "exit_code_216",
|
|
31
|
+
exit_code_301 = "exit_code_301",
|
|
32
|
+
exit_code_302 = "exit_code_302",
|
|
33
|
+
exit_code_303 = "exit_code_303",
|
|
34
|
+
exit_code_304 = "exit_code_304",
|
|
35
|
+
exit_code_305 = "exit_code_305",
|
|
36
|
+
exit_code_306 = "exit_code_306",
|
|
37
|
+
exit_code_401 = "exit_code_401",
|
|
38
|
+
exit_code_402 = "exit_code_402",
|
|
39
|
+
exit_code_403 = "exit_code_403",
|
|
40
|
+
exit_code_404 = "exit_code_404",
|
|
41
|
+
exit_code_405 = "exit_code_405",
|
|
42
|
+
exit_code_406 = "exit_code_406",
|
|
43
|
+
exit_code_407 = "exit_code_407",
|
|
44
|
+
exit_code_501 = "exit_code_501",
|
|
45
|
+
exit_code_502 = "exit_code_502",
|
|
46
|
+
exit_code_503 = "exit_code_503",
|
|
47
|
+
exit_code_601 = "exit_code_601",
|
|
48
|
+
exit_code_602 = "exit_code_602",
|
|
49
|
+
exit_code_901 = "exit_code_901",
|
|
50
|
+
exit_code_902 = "exit_code_902",
|
|
51
|
+
exit_code_903 = "exit_code_903",
|
|
52
|
+
exit_code_904 = "exit_code_904",
|
|
53
|
+
exit_code_905 = "exit_code_905",
|
|
54
|
+
exit_code_906 = "exit_code_906",
|
|
55
|
+
exit_code_907 = "exit_code_907",
|
|
56
|
+
exit_code_908 = "exit_code_908",
|
|
57
|
+
exit_code_910 = "exit_code_910",
|
|
58
|
+
exit_code_911 = "exit_code_911",
|
|
59
|
+
exit_code_913 = "exit_code_913",
|
|
60
|
+
exit_code_914 = "exit_code_914",
|
|
61
|
+
exit_code_920 = "exit_code_920",
|
|
62
|
+
exit_code_921 = "exit_code_921",
|
|
63
|
+
exit_code_990 = "exit_code_990",
|
|
64
|
+
exit_code_991 = "exit_code_991",
|
|
65
|
+
exit_code_995 = "exit_code_995",
|
|
66
|
+
exit_code_996 = "exit_code_996",
|
|
67
|
+
exit_code_997 = "exit_code_997",
|
|
68
|
+
exit_code_998 = "exit_code_998",
|
|
69
|
+
exit_code_999 = "exit_code_999",
|
|
4
70
|
g_chat_auto_charged = "g_chat_auto_charged",
|
|
5
71
|
g_chat_host_micro_off = "g_chat_host_micro_off",
|
|
6
72
|
g_chat_host_micro_on = "g_chat_host_micro_on",
|
|
7
73
|
g_discount_client = "g_discount_client",
|
|
8
74
|
g_discount_client_once = "g_discount_client_once",
|
|
9
75
|
g_single_not_started = "g_single_not_started",
|
|
76
|
+
g_single_query = "g_single_query",
|
|
77
|
+
g_single_query_contenpartner = "g_single_query_contenpartner",
|
|
78
|
+
g_single_query_start = "g_single_query_start",
|
|
79
|
+
g_single_query_start1 = "g_single_query_start1",
|
|
10
80
|
g_single_rejected = "g_single_rejected",
|
|
11
81
|
g_single_started = "g_single_started",
|
|
12
82
|
g_video_cancel = "g_video_cancel",
|
|
13
83
|
g_video_delayed = "g_video_delayed",
|
|
14
84
|
g_video_delerror = "g_video_delerror",
|
|
85
|
+
g_video_reconnect = "g_video_reconnect",
|
|
86
|
+
host_speaks = "host_speaks",
|
|
15
87
|
h_chat_admin_start = "h_chat_admin_start",
|
|
16
88
|
h_chat_admin_stop = "h_chat_admin_stop",
|
|
17
89
|
h_chat_audio_start = "h_chat_audio_start",
|
|
@@ -22,38 +94,54 @@ export declare enum SystemMessageKey {
|
|
|
22
94
|
h_chat_cam2cam_start = "h_chat_cam2cam_start",
|
|
23
95
|
h_chat_cam2cam_stop = "h_chat_cam2cam_stop",
|
|
24
96
|
h_chat_category_from = "h_chat_category_from",
|
|
97
|
+
h_chat_chat_closed = "h_chat_chat_closed",
|
|
98
|
+
h_chat_chat_created = "h_chat_chat_created",
|
|
25
99
|
h_chat_client_software = "h_chat_client_software",
|
|
26
100
|
h_chat_conversion_info_has_top_up = "h_chat_conversion_info_has_top_up",
|
|
27
101
|
h_chat_conversion_info_no_top_up = "h_chat_conversion_info_no_top_up",
|
|
28
102
|
h_chat_conversion_start = "h_chat_conversion_start",
|
|
29
103
|
h_chat_duration = "h_chat_duration",
|
|
30
|
-
h_chat_free_mode_converted = "h_chat_free_mode_converted",
|
|
31
104
|
h_chat_freeuserconv = "h_chat_freeuserconv",
|
|
105
|
+
h_chat_free_mode_converted = "h_chat_free_mode_converted",
|
|
32
106
|
h_chat_fsk_attention = "h_chat_fsk_attention",
|
|
33
107
|
h_chat_fsk_denied = "h_chat_fsk_denied",
|
|
34
108
|
h_chat_fsk_text_warn = "h_chat_fsk_text_warn",
|
|
109
|
+
h_chat_fsk_wait = "h_chat_fsk_wait",
|
|
35
110
|
h_chat_guest_mobile = "h_chat_guest_mobile",
|
|
111
|
+
h_chat_guest_preview_start = "h_chat_guest_preview_start",
|
|
112
|
+
h_chat_guest_preview_start2 = "h_chat_guest_preview_start2",
|
|
36
113
|
h_chat_guest_sound_off = "h_chat_guest_sound_off",
|
|
37
114
|
h_chat_guest_sound_on = "h_chat_guest_sound_on",
|
|
115
|
+
h_chat_guest_video_start = "h_chat_guest_video_start",
|
|
116
|
+
h_chat_guest_video_start_price = "h_chat_guest_video_start_price",
|
|
38
117
|
h_chat_guest_visit = "h_chat_guest_visit",
|
|
39
118
|
h_chat_guest_visit_first = "h_chat_guest_visit_first",
|
|
119
|
+
h_chat_guest_voyeur_shown = "h_chat_guest_voyeur_shown",
|
|
120
|
+
h_chat_guest_voyeur_start = "h_chat_guest_voyeur_start",
|
|
121
|
+
h_chat_guest_voyuer_start_info = "h_chat_guest_voyuer_start_info",
|
|
122
|
+
h_chat_guest_voyuer_start_info_price = "h_chat_guest_voyuer_start_info_price",
|
|
123
|
+
h_chat_guest_voyuer_start_price = "h_chat_guest_voyuer_start_price",
|
|
40
124
|
h_chat_info_about = "h_chat_info_about",
|
|
41
125
|
h_chat_kicked = "h_chat_kicked",
|
|
42
126
|
h_chat_lovense_not_available = "h_chat_lovense_not_available",
|
|
43
|
-
|
|
44
|
-
|
|
127
|
+
h_chat_name_preview = "h_chat_name_preview",
|
|
128
|
+
h_chat_name_video = "h_chat_name_video",
|
|
129
|
+
h_chat_name_voyeur = "h_chat_name_voyeur",
|
|
45
130
|
h_chat_note_caption = "h_chat_note_caption",
|
|
46
131
|
h_chat_note_create = "h_chat_note_create",
|
|
47
132
|
h_chat_note_edit = "h_chat_note_edit",
|
|
48
133
|
h_chat_note_not_available = "h_chat_note_not_available",
|
|
134
|
+
h_chat_not_visitx_guest = "h_chat_not_visitx_guest",
|
|
135
|
+
h_chat_no_history = "h_chat_no_history",
|
|
49
136
|
h_chat_party_mode_converted = "h_chat_party_mode_converted",
|
|
50
137
|
h_chat_paused_4107 = "h_chat_paused_4107",
|
|
51
138
|
h_chat_please_micro_on = "h_chat_please_micro_on",
|
|
139
|
+
h_chat_preview_chat = "h_chat_preview_chat",
|
|
140
|
+
h_chat_preview_live = "h_chat_preview_live",
|
|
52
141
|
h_chat_preview_start = "h_chat_preview_start",
|
|
53
142
|
h_chat_preview_stop = "h_chat_preview_stop",
|
|
143
|
+
h_chat_preview_vip = "h_chat_preview_vip",
|
|
54
144
|
h_chat_pseudo_user = "h_chat_pseudo_user",
|
|
55
|
-
h_chat_quest_voyeur_shown = "h_chat_quest_voyeur_shown",
|
|
56
|
-
h_chat_quest_voyeur_start = "h_chat_quest_voyeur_start",
|
|
57
145
|
h_chat_rectuited_guest = "h_chat_rectuited_guest",
|
|
58
146
|
h_chat_single_available = "h_chat_single_available",
|
|
59
147
|
h_chat_single_not_available = "h_chat_single_not_available",
|
|
@@ -67,6 +155,8 @@ export declare enum SystemMessageKey {
|
|
|
67
155
|
h_chat_text_to_video = "h_chat_text_to_video",
|
|
68
156
|
h_chat_text_unmuted = "h_chat_text_unmuted",
|
|
69
157
|
h_chat_tip = "h_chat_tip",
|
|
158
|
+
h_chat_tip_no_price = "h_chat_tip_no_price",
|
|
159
|
+
h_chat_unban_ok = "h_chat_unban_ok",
|
|
70
160
|
h_chat_url_blocked = "h_chat_url_blocked",
|
|
71
161
|
h_chat_userisnovip = "h_chat_userisnovip",
|
|
72
162
|
h_chat_userisvip = "h_chat_userisvip",
|
|
@@ -79,21 +169,62 @@ export declare enum SystemMessageKey {
|
|
|
79
169
|
h_chat_voyeur2single_video_warn = "h_chat_voyeur2single_video_warn",
|
|
80
170
|
h_chat_voyeur_shown = "h_chat_voyeur_shown",
|
|
81
171
|
h_chat_voyuer = "h_chat_voyuer",
|
|
82
|
-
|
|
172
|
+
h_code_4002 = "h_code_4002",
|
|
173
|
+
h_code_4003 = "h_code_4003",
|
|
174
|
+
h_code_4004 = "h_code_4004",
|
|
175
|
+
h_code_4006 = "h_code_4006",
|
|
83
176
|
h_discount_available = "h_discount_available",
|
|
84
177
|
h_discount_current = "h_discount_current",
|
|
85
178
|
h_discount_invalid = "h_discount_invalid",
|
|
86
179
|
h_discount_not_available = "h_discount_not_available",
|
|
87
|
-
h_discount_set_ok = "h_discount_set_ok",
|
|
88
180
|
h_discount_setforinfo = "h_discount_setforinfo",
|
|
181
|
+
h_discount_set_ok = "h_discount_set_ok",
|
|
182
|
+
h_error_2000 = "h_error_2000",
|
|
183
|
+
h_error_4002 = "h_error_4002",
|
|
184
|
+
h_error_4003 = "h_error_4003",
|
|
185
|
+
h_error_4004 = "h_error_4004",
|
|
186
|
+
h_error_4006 = "h_error_4006",
|
|
187
|
+
h_error_4008 = "h_error_4008",
|
|
188
|
+
h_error_4009 = "h_error_4009",
|
|
189
|
+
h_error_4010 = "h_error_4010",
|
|
190
|
+
h_error_4011 = "h_error_4011",
|
|
191
|
+
h_error_4012 = "h_error_4012",
|
|
192
|
+
h_error_4013 = "h_error_4013",
|
|
193
|
+
h_error_4014 = "h_error_4014",
|
|
194
|
+
h_error_4015 = "h_error_4015",
|
|
195
|
+
h_error_4016 = "h_error_4016",
|
|
196
|
+
h_error_4020 = "h_error_4020",
|
|
197
|
+
h_error_4104 = "h_error_4104",
|
|
198
|
+
h_error_4141 = "h_error_4141",
|
|
199
|
+
h_error_5001 = "h_error_5001",
|
|
200
|
+
h_error_5004 = "h_error_5004",
|
|
201
|
+
h_error_5005 = "h_error_5005",
|
|
202
|
+
h_error_dberror = "h_error_dberror",
|
|
203
|
+
h_error_login4002 = "h_error_login4002",
|
|
204
|
+
h_error_login4003 = "h_error_login4003",
|
|
205
|
+
h_error_login4006 = "h_error_login4006",
|
|
206
|
+
h_error_login4007 = "h_error_login4007",
|
|
207
|
+
h_error_login4008 = "h_error_login4008",
|
|
89
208
|
h_error_video_send_failed = "h_error_video_send_failed",
|
|
90
209
|
h_instant_start = "h_instant_start",
|
|
91
210
|
h_instant_stop = "h_instant_stop",
|
|
92
211
|
h_media_audio_error = "h_media_audio_error",
|
|
93
212
|
h_media_audio_informuploaded = "h_media_audio_informuploaded",
|
|
213
|
+
h_media_audio_purchased = "h_media_audio_purchased",
|
|
94
214
|
h_media_bitmap_error = "h_media_bitmap_error",
|
|
215
|
+
h_media_bitmap_purchased = "h_media_bitmap_purchased",
|
|
216
|
+
h_media_cam2cam_purchased = "h_media_cam2cam_purchased",
|
|
217
|
+
h_media_sold = "h_media_sold",
|
|
218
|
+
h_media_ticket_purchased = "h_media_ticket_purchased",
|
|
95
219
|
h_media_video_error = "h_media_video_error",
|
|
96
220
|
h_media_video_informuploaded = "h_media_video_informuploaded",
|
|
221
|
+
h_media_video_purchased = "h_media_video_purchased",
|
|
222
|
+
h_queryfsk_btn0 = "h_queryfsk_btn0",
|
|
223
|
+
h_queryfsk_btn1 = "h_queryfsk_btn1",
|
|
224
|
+
h_queryfsk_button_caption = "h_queryfsk_button_caption",
|
|
225
|
+
h_queryfsk_caption = "h_queryfsk_caption",
|
|
226
|
+
h_queryfsk_text = "h_queryfsk_text",
|
|
227
|
+
h_queryfsk_text_kick = "h_queryfsk_text_kick",
|
|
97
228
|
h_session_appear_offline = "h_session_appear_offline",
|
|
98
229
|
h_session_audio_device_error = "h_session_audio_device_error",
|
|
99
230
|
h_session_audio_device_frozen = "h_session_audio_device_frozen",
|
|
@@ -111,26 +242,34 @@ export declare enum SystemMessageKey {
|
|
|
111
242
|
h_session_fsk_mixed_profile = "h_session_fsk_mixed_profile",
|
|
112
243
|
h_session_livepreview_off = "h_session_livepreview_off",
|
|
113
244
|
h_session_livepreview_on = "h_session_livepreview_on",
|
|
245
|
+
h_session_logout_by_you = "h_session_logout_by_you",
|
|
246
|
+
h_session_media_purchased = "h_session_media_purchased",
|
|
114
247
|
h_session_mixed_profile_auto_off = "h_session_mixed_profile_auto_off",
|
|
115
248
|
h_session_mixed_profile_no = "h_session_mixed_profile_no",
|
|
116
249
|
h_session_mixed_profile_not_available = "h_session_mixed_profile_not_available",
|
|
117
250
|
h_session_mixed_profile_off = "h_session_mixed_profile_off",
|
|
118
251
|
h_session_mixed_profile_on = "h_session_mixed_profile_on",
|
|
119
252
|
h_session_mixed_profile_reminder = "h_session_mixed_profile_reminder",
|
|
253
|
+
h_session_msg_blocked = "h_session_msg_blocked",
|
|
120
254
|
h_session_no_video_allowed = "h_session_no_video_allowed",
|
|
121
255
|
h_session_offline = "h_session_offline",
|
|
122
256
|
h_session_offline_title = "h_session_offline_title",
|
|
123
257
|
h_session_old_ssw = "h_session_old_ssw",
|
|
124
258
|
h_session_online = "h_session_online",
|
|
125
259
|
h_session_online_today = "h_session_online_today",
|
|
260
|
+
h_session_partner_blocked = "h_session_partner_blocked",
|
|
126
261
|
h_session_party_mode_off = "h_session_party_mode_off",
|
|
127
262
|
h_session_party_mode_on = "h_session_party_mode_on",
|
|
128
263
|
h_session_preview_picture_missed = "h_session_preview_picture_missed",
|
|
129
264
|
h_session_preview_picture_upload = "h_session_preview_picture_upload",
|
|
130
265
|
h_session_service0900state_turnoff = "h_session_service0900state_turnoff",
|
|
131
266
|
h_session_service0900state_turnon = "h_session_service0900state_turnon",
|
|
267
|
+
h_session_stream_error = "h_session_stream_error",
|
|
268
|
+
h_session_stream_missed = "h_session_stream_missed",
|
|
132
269
|
h_session_stream_not_found = "h_session_stream_not_found",
|
|
133
270
|
h_session_stream_restart = "h_session_stream_restart",
|
|
271
|
+
h_session_stream_server_down = "h_session_stream_server_down",
|
|
272
|
+
h_session_stream_stop = "h_session_stream_stop",
|
|
134
273
|
h_session_stream_wait = "h_session_stream_wait",
|
|
135
274
|
h_session_toy_start = "h_session_toy_start",
|
|
136
275
|
h_session_toy_stop = "h_session_toy_stop",
|
|
@@ -146,12 +285,27 @@ export declare enum SystemMessageKey {
|
|
|
146
285
|
h_single_request_90s = "h_single_request_90s",
|
|
147
286
|
h_single_started = "h_single_started",
|
|
148
287
|
h_single_timeout = "h_single_timeout",
|
|
288
|
+
h_test_0 = "h_test_0",
|
|
289
|
+
h_test_100 = "h_test_100",
|
|
290
|
+
h_test_101 = "h_test_101",
|
|
291
|
+
h_test_102 = "h_test_102",
|
|
292
|
+
h_test_103 = "h_test_103",
|
|
293
|
+
h_test_104 = "h_test_104",
|
|
294
|
+
h_test_105 = "h_test_105",
|
|
295
|
+
h_test_106 = "h_test_106",
|
|
296
|
+
h_test_107 = "h_test_107",
|
|
297
|
+
h_test_109 = "h_test_109",
|
|
298
|
+
h_test_110 = "h_test_110",
|
|
299
|
+
h_test_200 = "h_test_200",
|
|
300
|
+
h_test_201 = "h_test_201",
|
|
301
|
+
h_test_202 = "h_test_202",
|
|
302
|
+
h_test_203 = "h_test_203",
|
|
303
|
+
h_test_204 = "h_test_204",
|
|
304
|
+
h_test_205 = "h_test_205",
|
|
305
|
+
h_test_206 = "h_test_206",
|
|
306
|
+
h_test_207 = "h_test_207",
|
|
307
|
+
h_test_50 = "h_test_50",
|
|
149
308
|
h_video_cancel = "h_video_cancel",
|
|
150
309
|
h_video_delayed = "h_video_delayed",
|
|
151
|
-
h_video_reconnect = "h_video_reconnect"
|
|
152
|
-
h_vcall_code = "h_vcall_code",
|
|
153
|
-
h_session_media_purchased = "h_session_media_purchased",
|
|
154
|
-
h_media_bitmap_purchased = "h_media_bitmap_purchased",
|
|
155
|
-
h_media_video_purchased = "h_media_video_purchased",
|
|
156
|
-
h_media_audio_purchased = "h_media_audio_purchased"
|
|
310
|
+
h_video_reconnect = "h_video_reconnect"
|
|
157
311
|
}
|