cmd-control-client-lib 3.0.33 → 3.0.38

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.
@@ -18,9 +18,12 @@ export * from "./protocol/noop";
18
18
  export * from "./protocol/lobby";
19
19
  export * from "./protocol/onlinestate";
20
20
  export * from "./protocol/sessionstate";
21
- export * from "./protocol/mediaoffer-b2b";
21
+ export * from "./protocol/media-b2b";
22
22
  export * from "./protocol/mediaupload";
23
23
  export * from "./protocol/mediapurchase";
24
+ export * from "./protocol/media";
25
+ export * from "./protocol/mediaoffer";
26
+ export * from "./protocol/media-b2b";
24
27
  export * from "./protocol/update-state";
25
28
  export * from "./protocol/b2b/b2buserinfo";
26
29
  export * from "./protocol/live/live-commands";
@@ -36,6 +39,4 @@ export * from "./protocol/live/testchat";
36
39
  export * from "./protocol/messenger/expo";
37
40
  export * from "./protocol/messenger/signup";
38
41
  export * from "./protocol/single-c2c";
39
- export * from "./protocol/mediaoffer";
40
- export * from "./protocol/mediaoffer-b2b";
41
42
  export { SupportedLanguage, CmdClientAgent, EnumFormatValues, baseParamsType } from "./protocol/command/baseparams";
@@ -121,5 +121,6 @@ export declare enum ACTION {
121
121
  CMDP_SSTARTTESTVIDEOCHAT = "CMDP_SSTARTTESTVIDEOCHAT",
122
122
  CMDP_SGETTICKETS = "CMDP_SGETTICKETS",
123
123
  CMDP_SCHECKUPLOADEDMEDIA = "CMDP_SCHECKUPLOADEDMEDIA",
124
- CMDP_SGETUPLOADEDMEDIA = "CMDP_SGETUPLOADEDMEDIA"
124
+ CMDP_SGETUPLOADEDMEDIA = "CMDP_SGETUPLOADEDMEDIA",
125
+ CMDC_CMEDIA = "CMDC_CMEDIA"
125
126
  }
@@ -11,7 +11,7 @@ export declare type DurationInstruction = {
11
11
  max: string;
12
12
  pick: string[];
13
13
  };
14
- export declare type TicketPriceDauer = {
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?: Map<EnumTicketType, TicketPriceDauer>;
23
+ ticketPrices?: Record<EnumTicketType, TicketPriceDuration>;
24
24
  };
25
25
  /**
26
26
  * Command for get prices for media. Will be forwarded to B2B backend.
@@ -57,3 +57,24 @@ export declare class CMDP_SMEDIAOFFERCREATE_PRESPONSE extends CMDP_SMEDIAOFFERCR
57
57
  commands: ICOMMAND[];
58
58
  values: IKeyMaybeValue;
59
59
  }
60
+ /**
61
+ * B2B command for inform partnter about media purchase. Will be sent to partners B2B backend.
62
+ */
63
+ export declare class CMDP_SINFORMMEDIAPURCHASED implements ICOMMAND {
64
+ action: ACTION;
65
+ params: baseParamsType & channelIdType &
66
+ /** the message id of related media offer */
67
+ MessageId &
68
+ /** MediaPrice is added to proxy call from CmdControl to B2B backend */
69
+ MediaPrice &
70
+ /** MediaFile is added to proxy call from Cmdontrol to B2B backend */
71
+ MediaFile;
72
+ }
73
+ /**
74
+ * Response command for CMDP_SMEDIAPURCHASE.
75
+ */
76
+ export declare class CMDP_SINFORMMEDIAPURCHASED_RESPONSE extends CMDP_SINFORMMEDIAPURCHASED implements IRESPONSE {
77
+ result: RESULT;
78
+ commands: ICOMMAND[];
79
+ values: IKeyMaybeValue;
80
+ }
@@ -0,0 +1,44 @@
1
+ import { ACTION } from "./command/action";
2
+ import { baseParamsType } from "./command/baseparams";
3
+ import { ICOMMAND, IKeyMaybeValue } from "./command/icommand";
4
+ import { MediaFile, MediaMd5 } from "./message";
5
+ export declare type MayHaveChannelId = {
6
+ channelId?: string;
7
+ };
8
+ /**
9
+ * media info, may have a channel id
10
+ */
11
+ export declare class CMDC_CMEDIA implements ICOMMAND {
12
+ action: ACTION;
13
+ params: MayHaveChannelId & MediaFile;
14
+ }
15
+ /**
16
+ * check for media already was uploaded.
17
+ * mediaMd5 - comaseparated media md5
18
+ */
19
+ export declare class CMDP_SCHECKUPLOADEDMEDIA implements ICOMMAND {
20
+ action: ACTION;
21
+ params: baseParamsType & MediaMd5;
22
+ }
23
+ /**
24
+ * media infos, if any found in cache
25
+ */
26
+ export declare class CMDP_SCHECKUPLOADEDMEDIA_RESPONSE extends CMDP_SCHECKUPLOADEDMEDIA {
27
+ commands: CMDC_CMEDIA[];
28
+ values: IKeyMaybeValue;
29
+ }
30
+ /** get list of all uploaded media ordered by upliad date descending, may have comaseparated channel id for filter */
31
+ export declare class CMDP_SGETUPLOADEDMEDIA implements ICOMMAND {
32
+ action: ACTION;
33
+ params: baseParamsType & MayHaveChannelId & {
34
+ skip?: string;
35
+ limit?: string;
36
+ };
37
+ }
38
+ /**
39
+ * Media Info, if any found.
40
+ */
41
+ export declare class CMDP_SGETUPLOADEDMEDIA_RESPONSE extends CMDP_SGETUPLOADEDMEDIA {
42
+ commands: CMDC_CMEDIA[];
43
+ values: IKeyMaybeValue;
44
+ }
@@ -1,12 +1,17 @@
1
1
  import { ACTION, baseParamsType, ICOMMAND, IKeyMaybeValue, IRESPONSE, RESULT } from "../cmd-protocol";
2
2
  import { channelIdType } from "./channel";
3
- import { CMDC_CMSG, MediaFile, MediaOffer } from "./message";
3
+ import { CMDC_CMEDIA, MayHaveChannelId } from "./media";
4
+ import { MediaMd5, MediaOffer, Ticket } from "./message";
5
+ declare type TicketOrMediaMd5 = Ticket | MediaMd5;
4
6
  /**
5
7
  * Frontent command for offer media.
8
+ * the Ticket.mediaMd5 should be MD5(32 chars) of new GUID or empty (will be set by server)
6
9
  */
7
10
  export declare class CMDP_SOPENMEDIAOFFER implements ICOMMAND {
8
11
  action: ACTION;
9
- params: baseParamsType & channelIdType & MediaOffer & MediaFile;
12
+ params: baseParamsType & channelIdType & TicketOrMediaMd5 & MediaOffer & {
13
+ text?: string;
14
+ };
10
15
  }
11
16
  /**
12
17
  * Response command for CMDP_SOPENMEDIAOFFER.
@@ -21,7 +26,9 @@ export declare class CMDP_SOPENMEDIAOFFER_PRESPONSE extends CMDP_SOPENMEDIAOFFER
21
26
  */
22
27
  export declare class CMDP_SCLOSEMEDIAOFFER implements ICOMMAND {
23
28
  action: ACTION;
24
- params: baseParamsType & channelIdType;
29
+ params: baseParamsType & channelIdType & {
30
+ messageId?: string;
31
+ };
25
32
  }
26
33
  /**
27
34
  * Response command for CMDP_SCLOSEMEDIAOFFER.
@@ -31,11 +38,11 @@ export declare class CMDP_SCLOSEMEDIAOFFER_PRESPONSE extends CMDP_SCLOSEMEDIAOFF
31
38
  commands: ICOMMAND[];
32
39
  values: IKeyMaybeValue;
33
40
  }
34
- /** gett all opened tickets */
41
+ /** get opened tickets for channels */
35
42
  export declare class CMDP_SGETTICKETS implements ICOMMAND {
36
43
  action: ACTION;
37
44
  /** channelId is comaseparated channelId list */
38
- params: baseParamsType & channelIdType;
45
+ params: baseParamsType & MayHaveChannelId;
39
46
  }
40
47
  /**
41
48
  * Response command for CMDP_SGETTICKETS.
@@ -43,6 +50,7 @@ export declare class CMDP_SGETTICKETS implements ICOMMAND {
43
50
  export declare class CMDP_SGETTICKETS_PRESPONSE extends CMDP_SGETTICKETS implements IRESPONSE {
44
51
  result: RESULT;
45
52
  /** the ticketinfos per channel */
46
- commands: CMDC_CMSG[];
53
+ commands: CMDC_CMEDIA[];
47
54
  values: IKeyMaybeValue;
48
55
  }
56
+ export {};
@@ -22,27 +22,6 @@ export declare class CMDP_SMEDIAPURCHASE_PRESPONSE extends CMDP_SMEDIAPURCHASE i
22
22
  commands: ICOMMAND[];
23
23
  values: IKeyMaybeValue;
24
24
  }
25
- /**
26
- * B2B command for inform partnter about media purchase. Will be sent to partners B2B backend.
27
- */
28
- export declare class CMDP_SINFORMMEDIAPURCHASED implements ICOMMAND {
29
- action: ACTION;
30
- params: baseParamsType & channelIdType &
31
- /** the message id of related media offer */
32
- MessageId &
33
- /** MediaPrice is added to proxy call from CmdControl to B2B backend */
34
- MediaPrice &
35
- /** MediaFile is added to proxy call from Cmdontrol to B2B backend */
36
- MediaFile;
37
- }
38
- /**
39
- * Response command for CMDP_SMEDIAPURCHASE.
40
- */
41
- export declare class CMDP_SINFORMMEDIAPURCHASED_RESPONSE extends CMDP_SINFORMMEDIAPURCHASED implements IRESPONSE {
42
- result: RESULT;
43
- commands: ICOMMAND[];
44
- values: IKeyMaybeValue;
45
- }
46
25
  /**
47
26
  * Inform the Session about purchase
48
27
  */
@@ -1,9 +1,8 @@
1
1
  import { IBACKENDPAYLOAD } from "./backend";
2
- import { channelIdType } from "./channel";
3
2
  import { ACTION } from "./command/action";
4
3
  import { baseParamsType } from "./command/baseparams";
5
4
  import { ICOMMAND, IRESPONSE, RESULT, IKeyMaybeValue } from "./command/icommand";
6
- import { EnumMediaType, MediaFile, MediaMd5, MediaOffer, MessageParams } from "./message";
5
+ import { EnumMediaType, MediaOffer, MessageParams } from "./message";
7
6
  export declare enum UploadStep {
8
7
  earlyreject = "earlyreject",
9
8
  lateaccept = "lateaccept",
@@ -51,43 +50,3 @@ export declare class CMDP_SUPLOADMEDIA_RESPONSE extends CMDP_SUPLOADMEDIA implem
51
50
  /** backendpayload */
52
51
  payload?: unknown;
53
52
  }
54
- /**
55
- * Get the Media Cache state.
56
- * md5 - is filemd5
57
- */
58
- export declare class CMDP_SCHECKUPLOADEDMEDIA implements ICOMMAND {
59
- action: ACTION;
60
- params: baseParamsType & MediaMd5;
61
- }
62
- /**
63
- * Media Info, if found in cache, or CHAT_NOT_FOUND, if not.
64
- */
65
- export declare class CMDP_SCHECKUPLOADEDMEDIA_RESPONSE extends CMDP_SCHECKUPLOADEDMEDIA {
66
- commands: ICOMMAND[];
67
- values: MediaFile;
68
- }
69
- /** get list of uploaded media */
70
- export declare class CMDP_SGETUPLOADEDMEDIA implements ICOMMAND {
71
- action: ACTION;
72
- params: baseParamsType & MediaMd5;
73
- }
74
- /**
75
- * Media Info, if found in cache, or CHAT_NOT_FOUND, if not.
76
- */
77
- export declare class CMDP_SGETUPLOADEDMEDIA_RESPONSE extends CMDP_SGETUPLOADEDMEDIA {
78
- commands: ICOMMAND[];
79
- values: MediaFile;
80
- }
81
- /**
82
- * Forward media to channel
83
- */
84
- export declare class CMDP_SFORWARDMEDIA implements ICOMMAND {
85
- action: ACTION;
86
- params: baseParamsType & {
87
- mediaMd5: string;
88
- } & channelIdType & MediaOffer;
89
- }
90
- export declare class CMDP_SFORWARDMEDIA_RESPONSE extends CMDP_SFORWARDMEDIA {
91
- commands: ICOMMAND[];
92
- values: IKeyMaybeValue;
93
- }
@@ -108,7 +108,7 @@ export declare type VideoFile = MediaInfo & {
108
108
  videoDuration?: string;
109
109
  };
110
110
  export declare type Ticket = MediaInfo & {
111
- duration?: string;
111
+ ticketDuration?: string;
112
112
  ticketType?: EnumTicketType;
113
113
  };
114
114
  export declare type MediaFile = ImageFile | AudioFile | VideoFile | Ticket;
@@ -1,17 +1,90 @@
1
1
  /** messageKey for msgTyp="sys" */
2
2
  export declare enum SystemMessageKey {
3
3
  bonusCodeRedemption = "bonusCodeRedemption",
4
+ h_vcall_code = "h_vcall_code",
5
+ categories = "categories",
6
+ category = "category",
7
+ exit_code_1 = "exit_code_1",
8
+ exit_code_100 = "exit_code_100",
9
+ exit_code_101 = "exit_code_101",
10
+ exit_code_102 = "exit_code_102",
11
+ exit_code_103 = "exit_code_103",
12
+ exit_code_104 = "exit_code_104",
13
+ exit_code_105 = "exit_code_105",
14
+ exit_code_106 = "exit_code_106",
15
+ exit_code_107 = "exit_code_107",
16
+ exit_code_108 = "exit_code_108",
17
+ exit_code_201 = "exit_code_201",
18
+ exit_code_202 = "exit_code_202",
19
+ exit_code_203 = "exit_code_203",
20
+ exit_code_204 = "exit_code_204",
21
+ exit_code_205 = "exit_code_205",
22
+ exit_code_206 = "exit_code_206",
23
+ exit_code_207 = "exit_code_207",
24
+ exit_code_208 = "exit_code_208",
25
+ exit_code_210 = "exit_code_210",
26
+ exit_code_211 = "exit_code_211",
27
+ exit_code_212 = "exit_code_212",
28
+ exit_code_213 = "exit_code_213",
29
+ exit_code_214 = "exit_code_214",
30
+ exit_code_215 = "exit_code_215",
31
+ exit_code_216 = "exit_code_216",
32
+ exit_code_301 = "exit_code_301",
33
+ exit_code_302 = "exit_code_302",
34
+ exit_code_303 = "exit_code_303",
35
+ exit_code_304 = "exit_code_304",
36
+ exit_code_305 = "exit_code_305",
37
+ exit_code_306 = "exit_code_306",
38
+ exit_code_401 = "exit_code_401",
39
+ exit_code_402 = "exit_code_402",
40
+ exit_code_403 = "exit_code_403",
41
+ exit_code_404 = "exit_code_404",
42
+ exit_code_405 = "exit_code_405",
43
+ exit_code_406 = "exit_code_406",
44
+ exit_code_407 = "exit_code_407",
45
+ exit_code_501 = "exit_code_501",
46
+ exit_code_502 = "exit_code_502",
47
+ exit_code_503 = "exit_code_503",
48
+ exit_code_601 = "exit_code_601",
49
+ exit_code_602 = "exit_code_602",
50
+ exit_code_901 = "exit_code_901",
51
+ exit_code_902 = "exit_code_902",
52
+ exit_code_903 = "exit_code_903",
53
+ exit_code_904 = "exit_code_904",
54
+ exit_code_905 = "exit_code_905",
55
+ exit_code_906 = "exit_code_906",
56
+ exit_code_907 = "exit_code_907",
57
+ exit_code_908 = "exit_code_908",
58
+ exit_code_910 = "exit_code_910",
59
+ exit_code_911 = "exit_code_911",
60
+ exit_code_913 = "exit_code_913",
61
+ exit_code_914 = "exit_code_914",
62
+ exit_code_920 = "exit_code_920",
63
+ exit_code_921 = "exit_code_921",
64
+ exit_code_990 = "exit_code_990",
65
+ exit_code_991 = "exit_code_991",
66
+ exit_code_995 = "exit_code_995",
67
+ exit_code_996 = "exit_code_996",
68
+ exit_code_997 = "exit_code_997",
69
+ exit_code_998 = "exit_code_998",
70
+ exit_code_999 = "exit_code_999",
4
71
  g_chat_auto_charged = "g_chat_auto_charged",
5
72
  g_chat_host_micro_off = "g_chat_host_micro_off",
6
73
  g_chat_host_micro_on = "g_chat_host_micro_on",
7
74
  g_discount_client = "g_discount_client",
8
75
  g_discount_client_once = "g_discount_client_once",
9
76
  g_single_not_started = "g_single_not_started",
77
+ g_single_query = "g_single_query",
78
+ g_single_query_contenpartner = "g_single_query_contenpartner",
79
+ g_single_query_start = "g_single_query_start",
80
+ g_single_query_start1 = "g_single_query_start1",
10
81
  g_single_rejected = "g_single_rejected",
11
82
  g_single_started = "g_single_started",
12
83
  g_video_cancel = "g_video_cancel",
13
84
  g_video_delayed = "g_video_delayed",
14
85
  g_video_delerror = "g_video_delerror",
86
+ g_video_reconnect = "g_video_reconnect",
87
+ host_speaks = "host_speaks",
15
88
  h_chat_admin_start = "h_chat_admin_start",
16
89
  h_chat_admin_stop = "h_chat_admin_stop",
17
90
  h_chat_audio_start = "h_chat_audio_start",
@@ -22,38 +95,54 @@ export declare enum SystemMessageKey {
22
95
  h_chat_cam2cam_start = "h_chat_cam2cam_start",
23
96
  h_chat_cam2cam_stop = "h_chat_cam2cam_stop",
24
97
  h_chat_category_from = "h_chat_category_from",
98
+ h_chat_chat_closed = "h_chat_chat_closed",
99
+ h_chat_chat_created = "h_chat_chat_created",
25
100
  h_chat_client_software = "h_chat_client_software",
26
101
  h_chat_conversion_info_has_top_up = "h_chat_conversion_info_has_top_up",
27
102
  h_chat_conversion_info_no_top_up = "h_chat_conversion_info_no_top_up",
28
103
  h_chat_conversion_start = "h_chat_conversion_start",
29
104
  h_chat_duration = "h_chat_duration",
30
- h_chat_free_mode_converted = "h_chat_free_mode_converted",
31
105
  h_chat_freeuserconv = "h_chat_freeuserconv",
106
+ h_chat_free_mode_converted = "h_chat_free_mode_converted",
32
107
  h_chat_fsk_attention = "h_chat_fsk_attention",
33
108
  h_chat_fsk_denied = "h_chat_fsk_denied",
34
109
  h_chat_fsk_text_warn = "h_chat_fsk_text_warn",
110
+ h_chat_fsk_wait = "h_chat_fsk_wait",
35
111
  h_chat_guest_mobile = "h_chat_guest_mobile",
112
+ h_chat_guest_preview_start = "h_chat_guest_preview_start",
113
+ h_chat_guest_preview_start2 = "h_chat_guest_preview_start2",
36
114
  h_chat_guest_sound_off = "h_chat_guest_sound_off",
37
115
  h_chat_guest_sound_on = "h_chat_guest_sound_on",
116
+ h_chat_guest_video_start = "h_chat_guest_video_start",
117
+ h_chat_guest_video_start_price = "h_chat_guest_video_start_price",
38
118
  h_chat_guest_visit = "h_chat_guest_visit",
39
119
  h_chat_guest_visit_first = "h_chat_guest_visit_first",
120
+ h_chat_guest_voyeur_shown = "h_chat_guest_voyeur_shown",
121
+ h_chat_guest_voyeur_start = "h_chat_guest_voyeur_start",
122
+ h_chat_guest_voyuer_start_info = "h_chat_guest_voyuer_start_info",
123
+ h_chat_guest_voyuer_start_info_price = "h_chat_guest_voyuer_start_info_price",
124
+ h_chat_guest_voyuer_start_price = "h_chat_guest_voyuer_start_price",
40
125
  h_chat_info_about = "h_chat_info_about",
41
126
  h_chat_kicked = "h_chat_kicked",
42
127
  h_chat_lovense_not_available = "h_chat_lovense_not_available",
43
- h_chat_no_history = "h_chat_no_history",
44
- h_chat_not_visitx_guest = "h_chat_not_visitx_guest",
128
+ h_chat_name_preview = "h_chat_name_preview",
129
+ h_chat_name_video = "h_chat_name_video",
130
+ h_chat_name_voyeur = "h_chat_name_voyeur",
45
131
  h_chat_note_caption = "h_chat_note_caption",
46
132
  h_chat_note_create = "h_chat_note_create",
47
133
  h_chat_note_edit = "h_chat_note_edit",
48
134
  h_chat_note_not_available = "h_chat_note_not_available",
135
+ h_chat_not_visitx_guest = "h_chat_not_visitx_guest",
136
+ h_chat_no_history = "h_chat_no_history",
49
137
  h_chat_party_mode_converted = "h_chat_party_mode_converted",
50
138
  h_chat_paused_4107 = "h_chat_paused_4107",
51
139
  h_chat_please_micro_on = "h_chat_please_micro_on",
140
+ h_chat_preview_chat = "h_chat_preview_chat",
141
+ h_chat_preview_live = "h_chat_preview_live",
52
142
  h_chat_preview_start = "h_chat_preview_start",
53
143
  h_chat_preview_stop = "h_chat_preview_stop",
144
+ h_chat_preview_vip = "h_chat_preview_vip",
54
145
  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
146
  h_chat_rectuited_guest = "h_chat_rectuited_guest",
58
147
  h_chat_single_available = "h_chat_single_available",
59
148
  h_chat_single_not_available = "h_chat_single_not_available",
@@ -67,6 +156,8 @@ export declare enum SystemMessageKey {
67
156
  h_chat_text_to_video = "h_chat_text_to_video",
68
157
  h_chat_text_unmuted = "h_chat_text_unmuted",
69
158
  h_chat_tip = "h_chat_tip",
159
+ h_chat_tip_no_price = "h_chat_tip_no_price",
160
+ h_chat_unban_ok = "h_chat_unban_ok",
70
161
  h_chat_url_blocked = "h_chat_url_blocked",
71
162
  h_chat_userisnovip = "h_chat_userisnovip",
72
163
  h_chat_userisvip = "h_chat_userisvip",
@@ -79,21 +170,62 @@ export declare enum SystemMessageKey {
79
170
  h_chat_voyeur2single_video_warn = "h_chat_voyeur2single_video_warn",
80
171
  h_chat_voyeur_shown = "h_chat_voyeur_shown",
81
172
  h_chat_voyuer = "h_chat_voyuer",
82
- h_chat_voyuer_shown = "h_chat_voyuer_shown",
173
+ h_code_4002 = "h_code_4002",
174
+ h_code_4003 = "h_code_4003",
175
+ h_code_4004 = "h_code_4004",
176
+ h_code_4006 = "h_code_4006",
83
177
  h_discount_available = "h_discount_available",
84
178
  h_discount_current = "h_discount_current",
85
179
  h_discount_invalid = "h_discount_invalid",
86
180
  h_discount_not_available = "h_discount_not_available",
87
- h_discount_set_ok = "h_discount_set_ok",
88
181
  h_discount_setforinfo = "h_discount_setforinfo",
182
+ h_discount_set_ok = "h_discount_set_ok",
183
+ h_error_2000 = "h_error_2000",
184
+ h_error_4002 = "h_error_4002",
185
+ h_error_4003 = "h_error_4003",
186
+ h_error_4004 = "h_error_4004",
187
+ h_error_4006 = "h_error_4006",
188
+ h_error_4008 = "h_error_4008",
189
+ h_error_4009 = "h_error_4009",
190
+ h_error_4010 = "h_error_4010",
191
+ h_error_4011 = "h_error_4011",
192
+ h_error_4012 = "h_error_4012",
193
+ h_error_4013 = "h_error_4013",
194
+ h_error_4014 = "h_error_4014",
195
+ h_error_4015 = "h_error_4015",
196
+ h_error_4016 = "h_error_4016",
197
+ h_error_4020 = "h_error_4020",
198
+ h_error_4104 = "h_error_4104",
199
+ h_error_4141 = "h_error_4141",
200
+ h_error_5001 = "h_error_5001",
201
+ h_error_5004 = "h_error_5004",
202
+ h_error_5005 = "h_error_5005",
203
+ h_error_dberror = "h_error_dberror",
204
+ h_error_login4002 = "h_error_login4002",
205
+ h_error_login4003 = "h_error_login4003",
206
+ h_error_login4006 = "h_error_login4006",
207
+ h_error_login4007 = "h_error_login4007",
208
+ h_error_login4008 = "h_error_login4008",
89
209
  h_error_video_send_failed = "h_error_video_send_failed",
90
210
  h_instant_start = "h_instant_start",
91
211
  h_instant_stop = "h_instant_stop",
92
212
  h_media_audio_error = "h_media_audio_error",
93
213
  h_media_audio_informuploaded = "h_media_audio_informuploaded",
214
+ h_media_audio_purchased = "h_media_audio_purchased",
94
215
  h_media_bitmap_error = "h_media_bitmap_error",
216
+ h_media_bitmap_purchased = "h_media_bitmap_purchased",
217
+ h_media_cam2cam_purchased = "h_media_cam2cam_purchased",
218
+ h_media_sold = "h_media_sold",
219
+ h_media_ticket_purchased = "h_media_ticket_purchased",
95
220
  h_media_video_error = "h_media_video_error",
96
221
  h_media_video_informuploaded = "h_media_video_informuploaded",
222
+ h_media_video_purchased = "h_media_video_purchased",
223
+ h_queryfsk_btn0 = "h_queryfsk_btn0",
224
+ h_queryfsk_btn1 = "h_queryfsk_btn1",
225
+ h_queryfsk_button_caption = "h_queryfsk_button_caption",
226
+ h_queryfsk_caption = "h_queryfsk_caption",
227
+ h_queryfsk_text = "h_queryfsk_text",
228
+ h_queryfsk_text_kick = "h_queryfsk_text_kick",
97
229
  h_session_appear_offline = "h_session_appear_offline",
98
230
  h_session_audio_device_error = "h_session_audio_device_error",
99
231
  h_session_audio_device_frozen = "h_session_audio_device_frozen",
@@ -111,26 +243,34 @@ export declare enum SystemMessageKey {
111
243
  h_session_fsk_mixed_profile = "h_session_fsk_mixed_profile",
112
244
  h_session_livepreview_off = "h_session_livepreview_off",
113
245
  h_session_livepreview_on = "h_session_livepreview_on",
246
+ h_session_logout_by_you = "h_session_logout_by_you",
247
+ h_session_media_purchased = "h_session_media_purchased",
114
248
  h_session_mixed_profile_auto_off = "h_session_mixed_profile_auto_off",
115
249
  h_session_mixed_profile_no = "h_session_mixed_profile_no",
116
250
  h_session_mixed_profile_not_available = "h_session_mixed_profile_not_available",
117
251
  h_session_mixed_profile_off = "h_session_mixed_profile_off",
118
252
  h_session_mixed_profile_on = "h_session_mixed_profile_on",
119
253
  h_session_mixed_profile_reminder = "h_session_mixed_profile_reminder",
254
+ h_session_msg_blocked = "h_session_msg_blocked",
120
255
  h_session_no_video_allowed = "h_session_no_video_allowed",
121
256
  h_session_offline = "h_session_offline",
122
257
  h_session_offline_title = "h_session_offline_title",
123
258
  h_session_old_ssw = "h_session_old_ssw",
124
259
  h_session_online = "h_session_online",
125
260
  h_session_online_today = "h_session_online_today",
261
+ h_session_partner_blocked = "h_session_partner_blocked",
126
262
  h_session_party_mode_off = "h_session_party_mode_off",
127
263
  h_session_party_mode_on = "h_session_party_mode_on",
128
264
  h_session_preview_picture_missed = "h_session_preview_picture_missed",
129
265
  h_session_preview_picture_upload = "h_session_preview_picture_upload",
130
266
  h_session_service0900state_turnoff = "h_session_service0900state_turnoff",
131
267
  h_session_service0900state_turnon = "h_session_service0900state_turnon",
268
+ h_session_stream_error = "h_session_stream_error",
269
+ h_session_stream_missed = "h_session_stream_missed",
132
270
  h_session_stream_not_found = "h_session_stream_not_found",
133
271
  h_session_stream_restart = "h_session_stream_restart",
272
+ h_session_stream_server_down = "h_session_stream_server_down",
273
+ h_session_stream_stop = "h_session_stream_stop",
134
274
  h_session_stream_wait = "h_session_stream_wait",
135
275
  h_session_toy_start = "h_session_toy_start",
136
276
  h_session_toy_stop = "h_session_toy_stop",
@@ -146,12 +286,27 @@ export declare enum SystemMessageKey {
146
286
  h_single_request_90s = "h_single_request_90s",
147
287
  h_single_started = "h_single_started",
148
288
  h_single_timeout = "h_single_timeout",
289
+ h_test_0 = "h_test_0",
290
+ h_test_100 = "h_test_100",
291
+ h_test_101 = "h_test_101",
292
+ h_test_102 = "h_test_102",
293
+ h_test_103 = "h_test_103",
294
+ h_test_104 = "h_test_104",
295
+ h_test_105 = "h_test_105",
296
+ h_test_106 = "h_test_106",
297
+ h_test_107 = "h_test_107",
298
+ h_test_109 = "h_test_109",
299
+ h_test_110 = "h_test_110",
300
+ h_test_200 = "h_test_200",
301
+ h_test_201 = "h_test_201",
302
+ h_test_202 = "h_test_202",
303
+ h_test_203 = "h_test_203",
304
+ h_test_204 = "h_test_204",
305
+ h_test_205 = "h_test_205",
306
+ h_test_206 = "h_test_206",
307
+ h_test_207 = "h_test_207",
308
+ h_test_50 = "h_test_50",
149
309
  h_video_cancel = "h_video_cancel",
150
310
  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"
311
+ h_video_reconnect = "h_video_reconnect"
157
312
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cmd-control-client-lib",
3
3
  "description": "Cmd-Client-Library",
4
- "version": "3.0.33",
4
+ "version": "3.0.38",
5
5
  "directories": {
6
6
  "lib": "./dist"
7
7
  },