@cometchat/calls-sdk-react-native 4.0.6-beta1 → 4.0.7-t2

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.
Files changed (47) hide show
  1. package/android/src/main/java/com/CometChatCalls/CallNotificationService.java +93 -0
  2. package/android/src/main/java/com/CometChatCalls/CallNotificationServiceModule.java +48 -0
  3. package/android/src/main/java/com/CometChatCalls/CometChatCallsPackage.java +13 -3
  4. package/android/src/main/java/com/CometChatCalls/PictureInPictureModule.java +138 -0
  5. package/android/src/main/res/drawable-mdpi/callingcomponent_icons_headphones_pluged.png +0 -0
  6. package/dist/CometChatErrorConstants.d.ts +124 -124
  7. package/dist/Constants.d.ts +724 -721
  8. package/dist/Helper copy.d.ts +1 -1
  9. package/dist/Helper.d.ts +7 -7
  10. package/dist/api/APIHandler.d.ts +42 -42
  11. package/dist/api/endpoints.d.ts +7 -7
  12. package/dist/api/helper.d.ts +69 -69
  13. package/dist/api/index.d.ts +2 -2
  14. package/dist/constants/CallConstants.d.ts +136 -136
  15. package/dist/constants/index.d.ts +1 -1
  16. package/dist/defaultCallsettings.d.ts +2 -2
  17. package/dist/index.d.ts +9 -9
  18. package/dist/index.js +81 -81
  19. package/dist/models/CallAppSettings.d.ts +42 -42
  20. package/dist/models/CallGroup.d.ts +14 -14
  21. package/dist/models/CallLog.d.ts +276 -276
  22. package/dist/models/CallLogFilterParams.d.ts +97 -97
  23. package/dist/models/CallSettings.d.ts +316 -316
  24. package/dist/models/CallUser.d.ts +14 -14
  25. package/dist/models/CometChatCallLogs.d.ts +193 -193
  26. package/dist/models/CometChatCalls.d.ts +110 -110
  27. package/dist/models/CometChatCallsComponent.d.ts +13 -13
  28. package/dist/models/CometChatCallsComponentCore.d.ts +18 -18
  29. package/dist/models/CometChatCallsException.d.ts +7 -7
  30. package/dist/models/CometChatPresenterComponent.d.ts +13 -13
  31. package/dist/models/ErrorModel.d.ts +11 -11
  32. package/dist/models/Listner.d.ts +64 -64
  33. package/dist/models/ListnerHandler.d.ts +10 -10
  34. package/dist/models/MessageComponent.d.ts +7 -7
  35. package/dist/models/Participant.d.ts +184 -184
  36. package/dist/models/PresenterSettings.d.ts +194 -194
  37. package/dist/models/RTCUser.d.ts +18 -18
  38. package/dist/models/Recording.d.ts +86 -86
  39. package/dist/models/index.d.ts +9 -9
  40. package/dist/types/ICallAppSettings.d.ts +6 -6
  41. package/dist/types/ICallSettings.d.ts +60 -60
  42. package/dist/types/RTCUser.d.ts +6 -6
  43. package/dist/types/callEvents.d.ts +53 -53
  44. package/dist/types/common.d.ts +18 -17
  45. package/dist/types/index.d.ts +2 -2
  46. package/ios/AudioMode.m +15 -0
  47. package/package.json +2 -2
@@ -1,721 +1,724 @@
1
- export declare const constants: {
2
- DEFAULT_STORE: string;
3
- MSG_VER_PRE: string;
4
- MSG_VER_POST: string;
5
- };
6
- export declare const ERROR_CODES: {
7
- API_ERROR: {
8
- code: string;
9
- };
10
- };
11
- export declare const REGION: {
12
- readonly us: "us";
13
- readonly eu: "eu";
14
- readonly in: "in";
15
- };
16
- export declare const DEFAULT_VALUES: {
17
- ZERO: number;
18
- MSGS_LIMIT: number;
19
- MSGS_MAX_LIMIT: number;
20
- USERS_LIMIT: number;
21
- USERS_MAX_LIMIT: number;
22
- GROUPS_LIMIT: number;
23
- GROUPS_MAX_LIMIT: number;
24
- CONVERSATION_MAX_LIMIT: number;
25
- CALL_TIMEOUT: number;
26
- DEFAULT_MSG_ID: number;
27
- DEFAULT_MAX_TYPING_INDICATOR_LIMIT: number;
28
- REGION_DEFAULT: string;
29
- REGION_DEFAULT_EU: string;
30
- REGION_DEFAULT_US: string;
31
- REGION_DEFAULT_IN: string;
32
- REGION_DEFAULT_PRIVATE: string;
33
- };
34
- export declare enum GroupType {
35
- Public = "public",
36
- Private = "private",
37
- Protected = "protected",
38
- Password = "password"
39
- }
40
- export declare const GROUP_TYPE: {
41
- PUBLIC: string;
42
- PRIVATE: string;
43
- PROTECTED: string;
44
- PASSWORD: string;
45
- };
46
- export declare enum GroupMemberScope {
47
- Admin = "admin",
48
- Moderator = "moderator",
49
- Member = "member"
50
- }
51
- export declare const GROUP_MEMBER_SCOPE: {
52
- ADMIN: string;
53
- MODERATOR: string;
54
- PARTICIPANT: string;
55
- };
56
- export declare const APPINFO: {
57
- platform: string;
58
- sdkVersion: string;
59
- apiVersion: string;
60
- sdkVersionWithUnderScore: string;
61
- userAgent: string;
62
- };
63
- export declare const SDKHeader: {
64
- platform: string;
65
- sdkVersion: string;
66
- sdk: string;
67
- };
68
- export declare const WS: {
69
- CONVERSATION: {
70
- TYPE: {
71
- CHAT: string;
72
- GROUP_CHAT: string;
73
- };
74
- };
75
- };
76
- export declare const ANALYTICS: {
77
- analyticsHost: string;
78
- analyticsVersion: string;
79
- };
80
- export declare const LOCAL_STORE: {
81
- COMMON_STORE: string;
82
- MESSAGE_LISTENERS_LIST: string;
83
- USERS_STORE: string;
84
- MESSAGES_STORE: string;
85
- KEYS_STORE: string;
86
- STORE_STRING: string;
87
- KEY_STRING: string;
88
- KEY_USER: string;
89
- KEY_APP_SETTINGS: string;
90
- KEY_APP_ID: string;
91
- KEY_DEVICE_ID: string;
92
- KEY_MESSAGE_LISTENER_LIST: string;
93
- };
94
- export declare const ResponseConstants: {
95
- RESPONSE_KEYS: {
96
- KEY_DATA: string;
97
- KEY_META: string;
98
- KEY_CURSOR: string;
99
- KEY_ACTION: string;
100
- KEY_MESSAGE: string;
101
- KEY_ERROR: string;
102
- KEY_ERROR_DETAILS: string;
103
- KEY_ERROR_CODE: string;
104
- KEY_ERROR_MESSAGE: string;
105
- KEY_AUTH_TOKEN: string;
106
- KEY_WS_CHANNEL: string;
107
- KEY_IDENTITY: string;
108
- KEY_SERVICE: string;
109
- KEY_ENTITIES: string;
110
- KEY_ENTITITY: string;
111
- KEY_ENTITYTYPE: string;
112
- KEY_ATTACHMENTS: string;
113
- CODE_REQUEST_OK: number;
114
- CODE_BAD_REQUEST: number;
115
- UNREAD_UNDELIVERED_KEYS: {
116
- ENTITY: string;
117
- ENTITY_TYPE: string;
118
- ENTITY_Id: string;
119
- COUNT: string;
120
- };
121
- GROUP_MEMBERS_RESPONSE: {
122
- SUCCESS: string;
123
- ERROR: string;
124
- MESSAGE: string;
125
- };
126
- KEY_ENTITY_TYPE: {
127
- USER: string;
128
- GROUP: string;
129
- };
130
- };
131
- };
132
- export declare const DELIVERY_RECEIPTS: {
133
- RECEIVER_ID: string;
134
- RECEIVER_TYPE: string;
135
- RECIPIENT: string;
136
- MESSAGE_ID: string;
137
- RECEIVED: string;
138
- DELIVERED_AT: string;
139
- ID: string;
140
- TIME: string;
141
- DELIVERED_TO_ME_AT: string;
142
- };
143
- export declare const READ_RECEIPTS: {
144
- RECEIVER_ID: string;
145
- RECEIVER_TYPE: string;
146
- RECIPIENT: string;
147
- MESSAGE_ID: string;
148
- READ: string;
149
- READ_AT: string;
150
- ID: string;
151
- TIME: string;
152
- READ_BY_ME_AT: string;
153
- };
154
- export declare const MessageConstatnts: {
155
- TYPE: {
156
- TEXT: string;
157
- MEDIA: string;
158
- IMAGE: string;
159
- VIDEO: string;
160
- AUDIO: string;
161
- FILE: string;
162
- CUSTOM: string;
163
- };
164
- CATEGORY: {
165
- MESSAGE: string;
166
- ACTION: string;
167
- CALL: string;
168
- CUSTOM: string;
169
- };
170
- RECEIVER_TYPE: {
171
- USER: string;
172
- GROUP: string;
173
- };
174
- KEYS: {
175
- ATTATCHMENT: string;
176
- ATTATCHMENTS: string;
177
- ACTION: string;
178
- TYPE: string;
179
- DATA: string;
180
- ID: string;
181
- MUID: string;
182
- SENDER: string;
183
- RECEIVER: string;
184
- RECEIVER_ID: string;
185
- CATEGORY: string;
186
- RECEIVER_TYPE: string;
187
- SENT_AT: string;
188
- STATUS: string;
189
- TEXT: string;
190
- URL: string;
191
- METADATA: string;
192
- RECEIPTS: string;
193
- MY_RECEIPTS: string;
194
- CUSTOM_DATA: string;
195
- CUSTOM_SUB_TYPE: string;
196
- RESOURCE: string;
197
- };
198
- KNOWN_MEDIA_TYPE: {
199
- IMAGE: any[];
200
- VIDEO: any[];
201
- AUDIO: any[];
202
- FILE: any[];
203
- };
204
- PAGINATION: {
205
- AFFIX: {
206
- APPEND: string;
207
- PREPEND: string;
208
- };
209
- CURSOR_FILEDS: {
210
- ID: string;
211
- SENT_AT: string;
212
- };
213
- CURSOR_AFFIX_DEFAULT: string;
214
- CURSOR_FIELD_DEFAULT: string;
215
- KEYS: {
216
- PER_PAGE: string;
217
- CURSOR_AFFIX: string;
218
- AFFIX: string;
219
- CURSOR_FIELD: string;
220
- CURSOR_VALUE: string;
221
- UID: string;
222
- SENT_AT: string;
223
- ID: string;
224
- CURRENT_PAGE: string;
225
- UNREAD: string;
226
- HIDE_MESSAGES_FROM_BLOCKED_USER: string;
227
- SEARCH_KEY: string;
228
- ONLY_UPDATES: string;
229
- UPDATED_AT: string;
230
- CATEGORY: string;
231
- CATEGORIES: string;
232
- TYPE: string;
233
- TYPES: string;
234
- HIDE_REPLIES: string;
235
- HIDE_DELETED_MESSAGES: string;
236
- WITH_TAGS: string;
237
- TAGS: string;
238
- };
239
- };
240
- };
241
- export declare const ATTACHMENTS_CONSTANTS: {
242
- KEYS: {
243
- EXTENSION: string;
244
- MIME_TYPE: string;
245
- NAME: string;
246
- SIZE: string;
247
- URL: string;
248
- };
249
- };
250
- export declare enum MessageCategory {
251
- ACTION = "action",
252
- MESSAGE = "message",
253
- CALL = "call",
254
- CUSTOM = "custom"
255
- }
256
- export declare const TYPING_NOTIFICATION: {
257
- RECEIVER_ID: string;
258
- RECEIVER_TYPE: string;
259
- META: string;
260
- KEYS: {
261
- TYPING_NOTIFICATION: string;
262
- TIMESTAMP: string;
263
- };
264
- ACTIONS: {
265
- STARTED: string;
266
- ENDED: string;
267
- };
268
- };
269
- export declare const ActionConstatnts: {
270
- ACTION_SUBJECTS: {
271
- ACTION_ON: string;
272
- ACTION_BY: string;
273
- ACTION_FOR: string;
274
- };
275
- ACTION_ENTITY_TYPE: {
276
- GROUP_USER: string;
277
- USER: string;
278
- GROUP: string;
279
- MESSAGE: string;
280
- };
281
- ACTION_KEYS: {
282
- ACTION_CREATED: string;
283
- ACTION_UPDATED: string;
284
- ACTION_DELETED: string;
285
- ENTITIES: string;
286
- ENTITY: string;
287
- ENTITY_TYPE: string;
288
- TYPE_MEMBER_JOINED: string;
289
- TYPE_MEMBER_LEFT: string;
290
- TYPE_MEMBER_KICKED: string;
291
- TYPE_MEMBER_BANNED: string;
292
- TYPE_MEMBER_UNBANNED: string;
293
- TYPE_MEMBER_INVITED: string;
294
- TYPE_MEMBER_ADDED: string;
295
- ACTION_SCOPE_CHANGED: string;
296
- ACTION_TYPE_USER: string;
297
- ACTION_TYPE_GROUP: string;
298
- ACTION_TYPE_GROUP_MEMBER: string;
299
- TYPE_MESSAGE_EDITED: string;
300
- TYPE_MESSAGE_DELETED: string;
301
- ACTION_TYPE_CALL: string;
302
- EXTRAS: string;
303
- SCOPE: string;
304
- NEW: string;
305
- OLD: string;
306
- };
307
- ActionMessages: {
308
- ACTION_GROUP_JOINED_MESSAGE: string;
309
- ACTION_GROUP_LEFT_MESSAGE: string;
310
- ACTION_MEMBER_KICKED_MESSAGE: string;
311
- ACTION_MEMBER_BANNED_MESSAGE: string;
312
- ACTION_MEMBER_UNBANNED_MESSAGE: string;
313
- ACTION_MEMBER_INVITED_MESSAGE: string;
314
- ACTION_MESSAGE_EDITED_MESSAGE: string;
315
- ACTION_MESSAGE_DELETED_MESSAGE: string;
316
- ACTION_MEMBER_SCOPE_CHANGED: string;
317
- ACTION_MEMBER_ADDED_TO_GROUP: string;
318
- };
319
- ACTION_TYPE: {
320
- TYPE_MEMBER_JOINED: string;
321
- TYPE_MEMBER_LEFT: string;
322
- TYPE_MEMBER_KICKED: string;
323
- TYPE_MEMBER_BANNED: string;
324
- TYPE_MEMBER_UNBANNED: string;
325
- TYPE_MEMBER_INVITED: string;
326
- TYPE_MEMBER_SCOPE_CHANGED: string;
327
- TYPE_MESSAGE: string;
328
- TYPE_MESSAGE_EDITED: string;
329
- TYPE_MESSAGE_DELETED: string;
330
- TYPE_MEMBER_ADDED: string;
331
- };
332
- ACTIONS: {
333
- MEMBER_ADDED: string;
334
- MEMBER_JOINED: string;
335
- MEMBER_LEFT: string;
336
- MEMBER_KICKED: string;
337
- MEMBER_BANNED: string;
338
- MEMBER_UNBANNED: string;
339
- MEMBER_INVITED: string;
340
- MEMBER_SCOPE_CHANGED: string;
341
- MESSAGE_EDITED: string;
342
- MESSSAGE_DELETED: string;
343
- TYPE_USER: string;
344
- TYPE_GROUP: string;
345
- TYPE_GROUP_MEMBER: string;
346
- };
347
- };
348
- export declare const BlockedUsersConstants: {
349
- REQUEST_KEYS: {
350
- DIRECTIONS: {
351
- BOTH: string;
352
- HAS_BLOCKED_ME: string;
353
- BLOCKED_BY_ME: string;
354
- };
355
- };
356
- };
357
- export declare const CallConstants: {
358
- readonly CALL_MODE: {
359
- readonly DEFAULT: "DEFAULT";
360
- readonly SPOTLIGHT: "SPOTLIGHT";
361
- };
362
- readonly AUDIO_MODE: {
363
- readonly SPEAKER: "SPEAKER";
364
- readonly EARPIECE: "EARPIECE";
365
- readonly BLUETOOTH: "BLUETOOTH";
366
- readonly HEADPHONES: "HEADPHONES";
367
- };
368
- readonly CALL_TYPE: {
369
- readonly AUDIO: "audio";
370
- readonly VIDEO: "video";
371
- };
372
- readonly RECEIVER_TYPE_GROUP: "group";
373
- readonly RECEIVER_TYPE_USER: "user";
374
- readonly CALL_KEYS: {
375
- readonly CALL_DATA: "data";
376
- readonly CALL_ID: "id";
377
- readonly CALL_SESSION_ID: "sessionid";
378
- readonly CALL_RECEIVER: "receiver";
379
- readonly CALL_SENDER: "sender";
380
- readonly CALL_INITIATOR: "initiator";
381
- readonly CALL_RECEIVER_TYPE: "receiverType";
382
- readonly CALL_STATUS: "status";
383
- readonly CALL_TYPE: "type";
384
- readonly CALL_INITIATED_AT: "initiatedAt";
385
- readonly CALL_JOINED_AT: "joinedAt";
386
- readonly CALL_LEFT_AT: "leftAt";
387
- readonly CALL_METADATA: "metadata";
388
- readonly CALL_ENTITIES: "entities";
389
- readonly CALL_ENTITY_TYPE: "entityType";
390
- readonly CALL_ENTITY: "entity";
391
- readonly CALL_ENTITY_USER: "user";
392
- readonly CALL_ENTITY_GROUP: "group";
393
- };
394
- readonly CALL_STATUS: {
395
- readonly INITIATED: "initiated";
396
- readonly ONGOING: "ongoing";
397
- readonly UNANSWERED: "unanswered";
398
- readonly REJECTED: "rejected";
399
- readonly BUSY: "busy";
400
- readonly CANCELLED: "cancelled";
401
- readonly ENDED: "ended";
402
- };
403
- readonly ZOOM_BUTTON_DEFAULT_PARAMS: {
404
- readonly position: "bottom-right";
405
- readonly visible: true;
406
- };
407
- readonly FULL_SCREEN_BUTTON_DEFAULT_PARAMS: {
408
- readonly position: "bottom-right";
409
- readonly visible: true;
410
- };
411
- readonly USER_LIST_BUTTON_DEFAULT_PARAMS: {
412
- readonly position: "bottom-right";
413
- readonly visible: true;
414
- };
415
- readonly NAME_LABEL_DEFAULT_PARAMS: {
416
- readonly position: "bottom-left";
417
- readonly visible: true;
418
- readonly color: "#333333";
419
- };
420
- readonly MAIN_VIDEO_CONTAINER_SETTINGS: {
421
- readonly KEYS: {
422
- readonly POSITION: "position";
423
- readonly VISIBILITY: "visibility";
424
- readonly COLOR: "color";
425
- };
426
- };
427
- };
428
- export declare const GroupConstants: {
429
- KEYS: {
430
- NAME: string;
431
- GUID: string;
432
- TYPE: string;
433
- PASSWORD: string;
434
- ICON: string;
435
- DESCRIPTION: string;
436
- OWNER: string;
437
- METADATA: string;
438
- CREATED_AT: string;
439
- UPDATED_AT: string;
440
- HAS_JOINED: string;
441
- WS_CHANNEL: string;
442
- TAGS: string;
443
- };
444
- };
445
- export declare const GroupMemersConstans: {
446
- KEYS: {
447
- SCOPE: string;
448
- UID: string;
449
- GUID: string;
450
- USER: string;
451
- NAME: string;
452
- };
453
- };
454
- export declare const UserConstants: {
455
- UID: string;
456
- NAME: string;
457
- AUTH_TOKEN: string;
458
- AVATAR: string;
459
- LAST_ACTIVE_AT: string;
460
- LINK: string;
461
- META_DATA: string;
462
- ROLE: string;
463
- STATUS: string;
464
- STATUS_MESSAGE: string;
465
- USER_NAME: string;
466
- TAGS: string;
467
- SORT_BY: {
468
- NAME: string;
469
- STATUS: string;
470
- };
471
- SORT_ORDER: {
472
- ASCENDING: string;
473
- DESCENDING: string;
474
- };
475
- };
476
- export declare const Errors: {
477
- ERROR_IO_EXCEPTION: string;
478
- ERROR_JSON_EXCEPTION: string;
479
- ERROR_PASSWORD_MISSING: string;
480
- ERROR_LIMIT_EXCEEDED: string;
481
- ERROR_USER_NOT_LOGGED_IN: string;
482
- ERROR_INVALID_GUID: string;
483
- ERROR_PASSWORD_MISSING_MESSAGE: string;
484
- ERROR_LIMIT_EXCEEDED_MESSAGE: string;
485
- ERROR_USER_NOT_LOGGED_IN_MESSAGE: string;
486
- ERROR_INVALID_GUID_MESSAGE: string;
487
- ERROR_DEFAULT_MESSAGE: string;
488
- ERR_SETTINGS_HASH_OUTDATED: string;
489
- ERR_NO_AUTH: string;
490
- };
491
- export declare const CALL_ERROR: {
492
- CALL_ALREADY_INITIATED: {
493
- code: string;
494
- name: string;
495
- message: string;
496
- details: {};
497
- };
498
- ERROR_IN_CALLING: {
499
- code: string;
500
- name: string;
501
- message: string;
502
- details: {};
503
- };
504
- CANNOT_ACCEPT_CALL: {
505
- code: string;
506
- name: string;
507
- message: string;
508
- details: {};
509
- };
510
- NOT_INITIALIZED: {
511
- code: string;
512
- name: string;
513
- message: string;
514
- details: {};
515
- };
516
- NOT_LOGGED_IN: {
517
- code: string;
518
- name: string;
519
- message: string;
520
- details: {};
521
- };
522
- SESSION_ID_REQUIRED: {
523
- code: string;
524
- name: string;
525
- message: string;
526
- details: {};
527
- };
528
- JWT_NOT_FOUND: {
529
- code: string;
530
- name: string;
531
- message: string;
532
- details: {};
533
- };
534
- MODULE_NOT_INSTALLED: {
535
- code: string;
536
- name: string;
537
- message: string;
538
- details: {};
539
- };
540
- };
541
- export declare const PARAMETER_ERROR: {
542
- PARAMETER_REQUIRED: {
543
- code: string;
544
- name: string;
545
- message: string;
546
- details: {};
547
- };
548
- };
549
- export declare const GENERAL_ERROR: {
550
- readonly GENERIC_EXCEPTION: {
551
- readonly code: "GENERIC_EXCEPTION";
552
- };
553
- readonly INVALID_ARGUMENT_EXCEPTION: {
554
- readonly code: "INVALID_ARGUMENT_EXCEPTION";
555
- };
556
- readonly INVALID_PROP_EXCEPTION: {
557
- readonly code: "INVALID_PROP_EXCEPTION";
558
- };
559
- readonly API_ERROR: {
560
- readonly code: "API_ERROR";
561
- };
562
- readonly ERROR_PRESENTER_MODE: {
563
- readonly code: "ERROR_PRESENTER_MODE";
564
- readonly message: "Presenter mode is disabled. To use presenter mode, please enable it from the CometChat Apps Dashboard";
565
- };
566
- readonly UNKNOWN_API_ERROR: {
567
- readonly code: "UNKNOWN_API_ERROR";
568
- readonly message: "There is an unknown issue with the API request. Please check your internet connection and verify the api call.";
569
- };
570
- };
571
- export declare const ReceiptErrors: {
572
- MISSING_PARAMETERS: {
573
- code: string;
574
- name: string;
575
- message: string;
576
- details: {};
577
- };
578
- INVALID_PARAMETER: {
579
- code: string;
580
- name: string;
581
- message: string;
582
- details: {};
583
- };
584
- NO_WEBSOCKET_CONNECTION: {
585
- code: string;
586
- name: string;
587
- message: string;
588
- details: {};
589
- };
590
- RECEIPTS_TEMPORARILY_BLOCKED: {
591
- code: string;
592
- name: string;
593
- message: string;
594
- details: {};
595
- };
596
- UNKNOWN_ERROR_OCCURRED: {
597
- code: string;
598
- name: string;
599
- message: string;
600
- details: {};
601
- };
602
- };
603
- export declare const APP_SETTINGS: {
604
- APP_SETTINGS: string;
605
- KEYS: {
606
- CHAT_HOST: string;
607
- CHAT_USE_SSL: string;
608
- GROUP_SERVICE: string;
609
- CALL_SERVICE: string;
610
- CHAT_WS_PORT: string;
611
- CHAT_WSS_PORT: string;
612
- CHAT_HTTP_BIND_PORT: string;
613
- CHAT_HTTPS_BIND_PORT: string;
614
- ADMIN_API_HOST: string;
615
- CLIENT_API_HOST: string;
616
- WEBRTC_HOST: string;
617
- WEBRTC_USE_SSL: string;
618
- WEBRTC_WS_PORT: string;
619
- WEBRTC_WSS_PORT: string;
620
- WEBRTC_HTTP_BIND_PORT: string;
621
- WEBRTC_HTTPS_BIND_PORT: string;
622
- EXTENSION_LIST: string;
623
- EXTENSION_KEYS: {
624
- ID: string;
625
- NAME: string;
626
- };
627
- JID_HOST_OVERRIDE: string;
628
- CHAT_HOST_OVERRIDE: string;
629
- CHAT_HOST_APP_SPECIFIC: string;
630
- MODE: string;
631
- CONNECTION_TYPE: string;
632
- DEFAULT_MODE: string;
633
- LIMITED_TRANSIENT: string;
634
- NO_TRANSIENT: string;
635
- POLLING_ENABLED: string;
636
- POLLING_INTERVAL: string;
637
- ANALYTICS_PING_DISABLED: string;
638
- ANALYTICS_HOST: string;
639
- ANALYTICS_VERSION: string;
640
- ANALYTICS_USE_SSL: string;
641
- SETTINGS_HASH: string;
642
- SETTINGS_HASH_RECEIVED_AT: string;
643
- DENY_FALLBACK_TO_POLLING: string;
644
- APP_VERSION: string;
645
- MAIN_DOMAIN: string;
646
- CHAT_API_VERSION: string;
647
- WS_API_VERSION: string;
648
- REGION: string;
649
- EXTENSION_DOMAIN: string;
650
- WEBRTC_API_SUBDOMAIN: string;
651
- };
652
- };
653
- export declare const COMMON_UTILITY_CONSTANTS: {
654
- TYPE_CONSTANTS: {
655
- BOOLEAN: string;
656
- STRING: string;
657
- OBJECT: string;
658
- NUMBER: string;
659
- };
660
- };
661
- export declare const CONNECTION_STATUS: {
662
- CONNECTED: string;
663
- CONNECTING: string;
664
- DISCONNECTED: string;
665
- FEATURE_THROTTLED: string;
666
- };
667
- export declare const API_ERROR_CODES: {
668
- AUTH_ERR_AUTH_TOKEN_NOT_FOUND: string;
669
- };
670
- export declare const PROSODY_API: {
671
- DOMAIN_PREFIX: string;
672
- PATH: {
673
- ROOM: string;
674
- ROOM_SIZE: string;
675
- SESSIONS: string;
676
- };
677
- RESPONSE: {
678
- PARTICIPANTS: string;
679
- };
680
- QUERY_PARAMETERS: {
681
- DOMAIN: string;
682
- ROOM: string;
683
- };
684
- };
685
- export declare const ProsodyApiErrors: {
686
- INVALID_SESSIONID: {
687
- code: string;
688
- name: string;
689
- message: string;
690
- details: string;
691
- };
692
- INVALID_TYPE: {
693
- code: string;
694
- name: string;
695
- message: string;
696
- details: string;
697
- };
698
- };
699
- export declare const JWT_API: {
700
- KEYS: {
701
- PASSTHROUGH: string;
702
- EXPAND: string;
703
- };
704
- };
705
- export declare const ONLINE_MEMBER_COUNT_API: {
706
- ENDPOINTS: {
707
- GET_ONLINE_MEMBER_COUNT: string;
708
- };
709
- RESPONSE: {
710
- ONLINE_USERS_COUNT: string;
711
- GROUPS: string;
712
- };
713
- ERRORS: {
714
- INVALID_GROUPLIST: {
715
- code: string;
716
- name: string;
717
- message: string;
718
- details: string;
719
- };
720
- };
721
- };
1
+ export declare const constants: {
2
+ DEFAULT_STORE: string;
3
+ MSG_VER_PRE: string;
4
+ MSG_VER_POST: string;
5
+ };
6
+ export declare const ERROR_CODES: {
7
+ API_ERROR: {
8
+ code: string;
9
+ };
10
+ };
11
+ export declare const REGION: {
12
+ readonly us: "us";
13
+ readonly eu: "eu";
14
+ readonly in: "in";
15
+ readonly US: "us";
16
+ readonly EU: "eu";
17
+ readonly IN: "in";
18
+ };
19
+ export declare const DEFAULT_VALUES: {
20
+ ZERO: number;
21
+ MSGS_LIMIT: number;
22
+ MSGS_MAX_LIMIT: number;
23
+ USERS_LIMIT: number;
24
+ USERS_MAX_LIMIT: number;
25
+ GROUPS_LIMIT: number;
26
+ GROUPS_MAX_LIMIT: number;
27
+ CONVERSATION_MAX_LIMIT: number;
28
+ CALL_TIMEOUT: number;
29
+ DEFAULT_MSG_ID: number;
30
+ DEFAULT_MAX_TYPING_INDICATOR_LIMIT: number;
31
+ REGION_DEFAULT: string;
32
+ REGION_DEFAULT_EU: string;
33
+ REGION_DEFAULT_US: string;
34
+ REGION_DEFAULT_IN: string;
35
+ REGION_DEFAULT_PRIVATE: string;
36
+ };
37
+ export declare enum GroupType {
38
+ Public = "public",
39
+ Private = "private",
40
+ Protected = "protected",
41
+ Password = "password"
42
+ }
43
+ export declare const GROUP_TYPE: {
44
+ PUBLIC: string;
45
+ PRIVATE: string;
46
+ PROTECTED: string;
47
+ PASSWORD: string;
48
+ };
49
+ export declare enum GroupMemberScope {
50
+ Admin = "admin",
51
+ Moderator = "moderator",
52
+ Member = "member"
53
+ }
54
+ export declare const GROUP_MEMBER_SCOPE: {
55
+ ADMIN: string;
56
+ MODERATOR: string;
57
+ PARTICIPANT: string;
58
+ };
59
+ export declare const APPINFO: {
60
+ platform: string;
61
+ sdkVersion: string;
62
+ apiVersion: string;
63
+ sdkVersionWithUnderScore: string;
64
+ userAgent: string;
65
+ };
66
+ export declare const SDKHeader: {
67
+ platform: string;
68
+ sdkVersion: string;
69
+ sdk: string;
70
+ };
71
+ export declare const WS: {
72
+ CONVERSATION: {
73
+ TYPE: {
74
+ CHAT: string;
75
+ GROUP_CHAT: string;
76
+ };
77
+ };
78
+ };
79
+ export declare const ANALYTICS: {
80
+ analyticsHost: string;
81
+ analyticsVersion: string;
82
+ };
83
+ export declare const LOCAL_STORE: {
84
+ COMMON_STORE: string;
85
+ MESSAGE_LISTENERS_LIST: string;
86
+ USERS_STORE: string;
87
+ MESSAGES_STORE: string;
88
+ KEYS_STORE: string;
89
+ STORE_STRING: string;
90
+ KEY_STRING: string;
91
+ KEY_USER: string;
92
+ KEY_APP_SETTINGS: string;
93
+ KEY_APP_ID: string;
94
+ KEY_DEVICE_ID: string;
95
+ KEY_MESSAGE_LISTENER_LIST: string;
96
+ };
97
+ export declare const ResponseConstants: {
98
+ RESPONSE_KEYS: {
99
+ KEY_DATA: string;
100
+ KEY_META: string;
101
+ KEY_CURSOR: string;
102
+ KEY_ACTION: string;
103
+ KEY_MESSAGE: string;
104
+ KEY_ERROR: string;
105
+ KEY_ERROR_DETAILS: string;
106
+ KEY_ERROR_CODE: string;
107
+ KEY_ERROR_MESSAGE: string;
108
+ KEY_AUTH_TOKEN: string;
109
+ KEY_WS_CHANNEL: string;
110
+ KEY_IDENTITY: string;
111
+ KEY_SERVICE: string;
112
+ KEY_ENTITIES: string;
113
+ KEY_ENTITITY: string;
114
+ KEY_ENTITYTYPE: string;
115
+ KEY_ATTACHMENTS: string;
116
+ CODE_REQUEST_OK: number;
117
+ CODE_BAD_REQUEST: number;
118
+ UNREAD_UNDELIVERED_KEYS: {
119
+ ENTITY: string;
120
+ ENTITY_TYPE: string;
121
+ ENTITY_Id: string;
122
+ COUNT: string;
123
+ };
124
+ GROUP_MEMBERS_RESPONSE: {
125
+ SUCCESS: string;
126
+ ERROR: string;
127
+ MESSAGE: string;
128
+ };
129
+ KEY_ENTITY_TYPE: {
130
+ USER: string;
131
+ GROUP: string;
132
+ };
133
+ };
134
+ };
135
+ export declare const DELIVERY_RECEIPTS: {
136
+ RECEIVER_ID: string;
137
+ RECEIVER_TYPE: string;
138
+ RECIPIENT: string;
139
+ MESSAGE_ID: string;
140
+ RECEIVED: string;
141
+ DELIVERED_AT: string;
142
+ ID: string;
143
+ TIME: string;
144
+ DELIVERED_TO_ME_AT: string;
145
+ };
146
+ export declare const READ_RECEIPTS: {
147
+ RECEIVER_ID: string;
148
+ RECEIVER_TYPE: string;
149
+ RECIPIENT: string;
150
+ MESSAGE_ID: string;
151
+ READ: string;
152
+ READ_AT: string;
153
+ ID: string;
154
+ TIME: string;
155
+ READ_BY_ME_AT: string;
156
+ };
157
+ export declare const MessageConstatnts: {
158
+ TYPE: {
159
+ TEXT: string;
160
+ MEDIA: string;
161
+ IMAGE: string;
162
+ VIDEO: string;
163
+ AUDIO: string;
164
+ FILE: string;
165
+ CUSTOM: string;
166
+ };
167
+ CATEGORY: {
168
+ MESSAGE: string;
169
+ ACTION: string;
170
+ CALL: string;
171
+ CUSTOM: string;
172
+ };
173
+ RECEIVER_TYPE: {
174
+ USER: string;
175
+ GROUP: string;
176
+ };
177
+ KEYS: {
178
+ ATTATCHMENT: string;
179
+ ATTATCHMENTS: string;
180
+ ACTION: string;
181
+ TYPE: string;
182
+ DATA: string;
183
+ ID: string;
184
+ MUID: string;
185
+ SENDER: string;
186
+ RECEIVER: string;
187
+ RECEIVER_ID: string;
188
+ CATEGORY: string;
189
+ RECEIVER_TYPE: string;
190
+ SENT_AT: string;
191
+ STATUS: string;
192
+ TEXT: string;
193
+ URL: string;
194
+ METADATA: string;
195
+ RECEIPTS: string;
196
+ MY_RECEIPTS: string;
197
+ CUSTOM_DATA: string;
198
+ CUSTOM_SUB_TYPE: string;
199
+ RESOURCE: string;
200
+ };
201
+ KNOWN_MEDIA_TYPE: {
202
+ IMAGE: any[];
203
+ VIDEO: any[];
204
+ AUDIO: any[];
205
+ FILE: any[];
206
+ };
207
+ PAGINATION: {
208
+ AFFIX: {
209
+ APPEND: string;
210
+ PREPEND: string;
211
+ };
212
+ CURSOR_FILEDS: {
213
+ ID: string;
214
+ SENT_AT: string;
215
+ };
216
+ CURSOR_AFFIX_DEFAULT: string;
217
+ CURSOR_FIELD_DEFAULT: string;
218
+ KEYS: {
219
+ PER_PAGE: string;
220
+ CURSOR_AFFIX: string;
221
+ AFFIX: string;
222
+ CURSOR_FIELD: string;
223
+ CURSOR_VALUE: string;
224
+ UID: string;
225
+ SENT_AT: string;
226
+ ID: string;
227
+ CURRENT_PAGE: string;
228
+ UNREAD: string;
229
+ HIDE_MESSAGES_FROM_BLOCKED_USER: string;
230
+ SEARCH_KEY: string;
231
+ ONLY_UPDATES: string;
232
+ UPDATED_AT: string;
233
+ CATEGORY: string;
234
+ CATEGORIES: string;
235
+ TYPE: string;
236
+ TYPES: string;
237
+ HIDE_REPLIES: string;
238
+ HIDE_DELETED_MESSAGES: string;
239
+ WITH_TAGS: string;
240
+ TAGS: string;
241
+ };
242
+ };
243
+ };
244
+ export declare const ATTACHMENTS_CONSTANTS: {
245
+ KEYS: {
246
+ EXTENSION: string;
247
+ MIME_TYPE: string;
248
+ NAME: string;
249
+ SIZE: string;
250
+ URL: string;
251
+ };
252
+ };
253
+ export declare enum MessageCategory {
254
+ ACTION = "action",
255
+ MESSAGE = "message",
256
+ CALL = "call",
257
+ CUSTOM = "custom"
258
+ }
259
+ export declare const TYPING_NOTIFICATION: {
260
+ RECEIVER_ID: string;
261
+ RECEIVER_TYPE: string;
262
+ META: string;
263
+ KEYS: {
264
+ TYPING_NOTIFICATION: string;
265
+ TIMESTAMP: string;
266
+ };
267
+ ACTIONS: {
268
+ STARTED: string;
269
+ ENDED: string;
270
+ };
271
+ };
272
+ export declare const ActionConstatnts: {
273
+ ACTION_SUBJECTS: {
274
+ ACTION_ON: string;
275
+ ACTION_BY: string;
276
+ ACTION_FOR: string;
277
+ };
278
+ ACTION_ENTITY_TYPE: {
279
+ GROUP_USER: string;
280
+ USER: string;
281
+ GROUP: string;
282
+ MESSAGE: string;
283
+ };
284
+ ACTION_KEYS: {
285
+ ACTION_CREATED: string;
286
+ ACTION_UPDATED: string;
287
+ ACTION_DELETED: string;
288
+ ENTITIES: string;
289
+ ENTITY: string;
290
+ ENTITY_TYPE: string;
291
+ TYPE_MEMBER_JOINED: string;
292
+ TYPE_MEMBER_LEFT: string;
293
+ TYPE_MEMBER_KICKED: string;
294
+ TYPE_MEMBER_BANNED: string;
295
+ TYPE_MEMBER_UNBANNED: string;
296
+ TYPE_MEMBER_INVITED: string;
297
+ TYPE_MEMBER_ADDED: string;
298
+ ACTION_SCOPE_CHANGED: string;
299
+ ACTION_TYPE_USER: string;
300
+ ACTION_TYPE_GROUP: string;
301
+ ACTION_TYPE_GROUP_MEMBER: string;
302
+ TYPE_MESSAGE_EDITED: string;
303
+ TYPE_MESSAGE_DELETED: string;
304
+ ACTION_TYPE_CALL: string;
305
+ EXTRAS: string;
306
+ SCOPE: string;
307
+ NEW: string;
308
+ OLD: string;
309
+ };
310
+ ActionMessages: {
311
+ ACTION_GROUP_JOINED_MESSAGE: string;
312
+ ACTION_GROUP_LEFT_MESSAGE: string;
313
+ ACTION_MEMBER_KICKED_MESSAGE: string;
314
+ ACTION_MEMBER_BANNED_MESSAGE: string;
315
+ ACTION_MEMBER_UNBANNED_MESSAGE: string;
316
+ ACTION_MEMBER_INVITED_MESSAGE: string;
317
+ ACTION_MESSAGE_EDITED_MESSAGE: string;
318
+ ACTION_MESSAGE_DELETED_MESSAGE: string;
319
+ ACTION_MEMBER_SCOPE_CHANGED: string;
320
+ ACTION_MEMBER_ADDED_TO_GROUP: string;
321
+ };
322
+ ACTION_TYPE: {
323
+ TYPE_MEMBER_JOINED: string;
324
+ TYPE_MEMBER_LEFT: string;
325
+ TYPE_MEMBER_KICKED: string;
326
+ TYPE_MEMBER_BANNED: string;
327
+ TYPE_MEMBER_UNBANNED: string;
328
+ TYPE_MEMBER_INVITED: string;
329
+ TYPE_MEMBER_SCOPE_CHANGED: string;
330
+ TYPE_MESSAGE: string;
331
+ TYPE_MESSAGE_EDITED: string;
332
+ TYPE_MESSAGE_DELETED: string;
333
+ TYPE_MEMBER_ADDED: string;
334
+ };
335
+ ACTIONS: {
336
+ MEMBER_ADDED: string;
337
+ MEMBER_JOINED: string;
338
+ MEMBER_LEFT: string;
339
+ MEMBER_KICKED: string;
340
+ MEMBER_BANNED: string;
341
+ MEMBER_UNBANNED: string;
342
+ MEMBER_INVITED: string;
343
+ MEMBER_SCOPE_CHANGED: string;
344
+ MESSAGE_EDITED: string;
345
+ MESSSAGE_DELETED: string;
346
+ TYPE_USER: string;
347
+ TYPE_GROUP: string;
348
+ TYPE_GROUP_MEMBER: string;
349
+ };
350
+ };
351
+ export declare const BlockedUsersConstants: {
352
+ REQUEST_KEYS: {
353
+ DIRECTIONS: {
354
+ BOTH: string;
355
+ HAS_BLOCKED_ME: string;
356
+ BLOCKED_BY_ME: string;
357
+ };
358
+ };
359
+ };
360
+ export declare const CallConstants: {
361
+ readonly CALL_MODE: {
362
+ readonly DEFAULT: "DEFAULT";
363
+ readonly SPOTLIGHT: "SPOTLIGHT";
364
+ };
365
+ readonly AUDIO_MODE: {
366
+ readonly SPEAKER: "SPEAKER";
367
+ readonly EARPIECE: "EARPIECE";
368
+ readonly BLUETOOTH: "BLUETOOTH";
369
+ readonly HEADPHONES: "HEADPHONES";
370
+ };
371
+ readonly CALL_TYPE: {
372
+ readonly AUDIO: "audio";
373
+ readonly VIDEO: "video";
374
+ };
375
+ readonly RECEIVER_TYPE_GROUP: "group";
376
+ readonly RECEIVER_TYPE_USER: "user";
377
+ readonly CALL_KEYS: {
378
+ readonly CALL_DATA: "data";
379
+ readonly CALL_ID: "id";
380
+ readonly CALL_SESSION_ID: "sessionid";
381
+ readonly CALL_RECEIVER: "receiver";
382
+ readonly CALL_SENDER: "sender";
383
+ readonly CALL_INITIATOR: "initiator";
384
+ readonly CALL_RECEIVER_TYPE: "receiverType";
385
+ readonly CALL_STATUS: "status";
386
+ readonly CALL_TYPE: "type";
387
+ readonly CALL_INITIATED_AT: "initiatedAt";
388
+ readonly CALL_JOINED_AT: "joinedAt";
389
+ readonly CALL_LEFT_AT: "leftAt";
390
+ readonly CALL_METADATA: "metadata";
391
+ readonly CALL_ENTITIES: "entities";
392
+ readonly CALL_ENTITY_TYPE: "entityType";
393
+ readonly CALL_ENTITY: "entity";
394
+ readonly CALL_ENTITY_USER: "user";
395
+ readonly CALL_ENTITY_GROUP: "group";
396
+ };
397
+ readonly CALL_STATUS: {
398
+ readonly INITIATED: "initiated";
399
+ readonly ONGOING: "ongoing";
400
+ readonly UNANSWERED: "unanswered";
401
+ readonly REJECTED: "rejected";
402
+ readonly BUSY: "busy";
403
+ readonly CANCELLED: "cancelled";
404
+ readonly ENDED: "ended";
405
+ };
406
+ readonly ZOOM_BUTTON_DEFAULT_PARAMS: {
407
+ readonly position: "bottom-right";
408
+ readonly visible: true;
409
+ };
410
+ readonly FULL_SCREEN_BUTTON_DEFAULT_PARAMS: {
411
+ readonly position: "bottom-right";
412
+ readonly visible: true;
413
+ };
414
+ readonly USER_LIST_BUTTON_DEFAULT_PARAMS: {
415
+ readonly position: "bottom-right";
416
+ readonly visible: true;
417
+ };
418
+ readonly NAME_LABEL_DEFAULT_PARAMS: {
419
+ readonly position: "bottom-left";
420
+ readonly visible: true;
421
+ readonly color: "#333333";
422
+ };
423
+ readonly MAIN_VIDEO_CONTAINER_SETTINGS: {
424
+ readonly KEYS: {
425
+ readonly POSITION: "position";
426
+ readonly VISIBILITY: "visibility";
427
+ readonly COLOR: "color";
428
+ };
429
+ };
430
+ };
431
+ export declare const GroupConstants: {
432
+ KEYS: {
433
+ NAME: string;
434
+ GUID: string;
435
+ TYPE: string;
436
+ PASSWORD: string;
437
+ ICON: string;
438
+ DESCRIPTION: string;
439
+ OWNER: string;
440
+ METADATA: string;
441
+ CREATED_AT: string;
442
+ UPDATED_AT: string;
443
+ HAS_JOINED: string;
444
+ WS_CHANNEL: string;
445
+ TAGS: string;
446
+ };
447
+ };
448
+ export declare const GroupMemersConstans: {
449
+ KEYS: {
450
+ SCOPE: string;
451
+ UID: string;
452
+ GUID: string;
453
+ USER: string;
454
+ NAME: string;
455
+ };
456
+ };
457
+ export declare const UserConstants: {
458
+ UID: string;
459
+ NAME: string;
460
+ AUTH_TOKEN: string;
461
+ AVATAR: string;
462
+ LAST_ACTIVE_AT: string;
463
+ LINK: string;
464
+ META_DATA: string;
465
+ ROLE: string;
466
+ STATUS: string;
467
+ STATUS_MESSAGE: string;
468
+ USER_NAME: string;
469
+ TAGS: string;
470
+ SORT_BY: {
471
+ NAME: string;
472
+ STATUS: string;
473
+ };
474
+ SORT_ORDER: {
475
+ ASCENDING: string;
476
+ DESCENDING: string;
477
+ };
478
+ };
479
+ export declare const Errors: {
480
+ ERROR_IO_EXCEPTION: string;
481
+ ERROR_JSON_EXCEPTION: string;
482
+ ERROR_PASSWORD_MISSING: string;
483
+ ERROR_LIMIT_EXCEEDED: string;
484
+ ERROR_USER_NOT_LOGGED_IN: string;
485
+ ERROR_INVALID_GUID: string;
486
+ ERROR_PASSWORD_MISSING_MESSAGE: string;
487
+ ERROR_LIMIT_EXCEEDED_MESSAGE: string;
488
+ ERROR_USER_NOT_LOGGED_IN_MESSAGE: string;
489
+ ERROR_INVALID_GUID_MESSAGE: string;
490
+ ERROR_DEFAULT_MESSAGE: string;
491
+ ERR_SETTINGS_HASH_OUTDATED: string;
492
+ ERR_NO_AUTH: string;
493
+ };
494
+ export declare const CALL_ERROR: {
495
+ CALL_ALREADY_INITIATED: {
496
+ code: string;
497
+ name: string;
498
+ message: string;
499
+ details: {};
500
+ };
501
+ ERROR_IN_CALLING: {
502
+ code: string;
503
+ name: string;
504
+ message: string;
505
+ details: {};
506
+ };
507
+ CANNOT_ACCEPT_CALL: {
508
+ code: string;
509
+ name: string;
510
+ message: string;
511
+ details: {};
512
+ };
513
+ NOT_INITIALIZED: {
514
+ code: string;
515
+ name: string;
516
+ message: string;
517
+ details: {};
518
+ };
519
+ NOT_LOGGED_IN: {
520
+ code: string;
521
+ name: string;
522
+ message: string;
523
+ details: {};
524
+ };
525
+ SESSION_ID_REQUIRED: {
526
+ code: string;
527
+ name: string;
528
+ message: string;
529
+ details: {};
530
+ };
531
+ JWT_NOT_FOUND: {
532
+ code: string;
533
+ name: string;
534
+ message: string;
535
+ details: {};
536
+ };
537
+ MODULE_NOT_INSTALLED: {
538
+ code: string;
539
+ name: string;
540
+ message: string;
541
+ details: {};
542
+ };
543
+ };
544
+ export declare const PARAMETER_ERROR: {
545
+ PARAMETER_REQUIRED: {
546
+ code: string;
547
+ name: string;
548
+ message: string;
549
+ details: {};
550
+ };
551
+ };
552
+ export declare const GENERAL_ERROR: {
553
+ readonly GENERIC_EXCEPTION: {
554
+ readonly code: "GENERIC_EXCEPTION";
555
+ };
556
+ readonly INVALID_ARGUMENT_EXCEPTION: {
557
+ readonly code: "INVALID_ARGUMENT_EXCEPTION";
558
+ };
559
+ readonly INVALID_PROP_EXCEPTION: {
560
+ readonly code: "INVALID_PROP_EXCEPTION";
561
+ };
562
+ readonly API_ERROR: {
563
+ readonly code: "API_ERROR";
564
+ };
565
+ readonly ERROR_PRESENTER_MODE: {
566
+ readonly code: "ERROR_PRESENTER_MODE";
567
+ readonly message: "Presenter mode is disabled. To use presenter mode, please enable it from the CometChat Apps Dashboard";
568
+ };
569
+ readonly UNKNOWN_API_ERROR: {
570
+ readonly code: "UNKNOWN_API_ERROR";
571
+ readonly message: "There is an unknown issue with the API request. Please check your internet connection and verify the api call.";
572
+ };
573
+ };
574
+ export declare const ReceiptErrors: {
575
+ MISSING_PARAMETERS: {
576
+ code: string;
577
+ name: string;
578
+ message: string;
579
+ details: {};
580
+ };
581
+ INVALID_PARAMETER: {
582
+ code: string;
583
+ name: string;
584
+ message: string;
585
+ details: {};
586
+ };
587
+ NO_WEBSOCKET_CONNECTION: {
588
+ code: string;
589
+ name: string;
590
+ message: string;
591
+ details: {};
592
+ };
593
+ RECEIPTS_TEMPORARILY_BLOCKED: {
594
+ code: string;
595
+ name: string;
596
+ message: string;
597
+ details: {};
598
+ };
599
+ UNKNOWN_ERROR_OCCURRED: {
600
+ code: string;
601
+ name: string;
602
+ message: string;
603
+ details: {};
604
+ };
605
+ };
606
+ export declare const APP_SETTINGS: {
607
+ APP_SETTINGS: string;
608
+ KEYS: {
609
+ CHAT_HOST: string;
610
+ CHAT_USE_SSL: string;
611
+ GROUP_SERVICE: string;
612
+ CALL_SERVICE: string;
613
+ CHAT_WS_PORT: string;
614
+ CHAT_WSS_PORT: string;
615
+ CHAT_HTTP_BIND_PORT: string;
616
+ CHAT_HTTPS_BIND_PORT: string;
617
+ ADMIN_API_HOST: string;
618
+ CLIENT_API_HOST: string;
619
+ WEBRTC_HOST: string;
620
+ WEBRTC_USE_SSL: string;
621
+ WEBRTC_WS_PORT: string;
622
+ WEBRTC_WSS_PORT: string;
623
+ WEBRTC_HTTP_BIND_PORT: string;
624
+ WEBRTC_HTTPS_BIND_PORT: string;
625
+ EXTENSION_LIST: string;
626
+ EXTENSION_KEYS: {
627
+ ID: string;
628
+ NAME: string;
629
+ };
630
+ JID_HOST_OVERRIDE: string;
631
+ CHAT_HOST_OVERRIDE: string;
632
+ CHAT_HOST_APP_SPECIFIC: string;
633
+ MODE: string;
634
+ CONNECTION_TYPE: string;
635
+ DEFAULT_MODE: string;
636
+ LIMITED_TRANSIENT: string;
637
+ NO_TRANSIENT: string;
638
+ POLLING_ENABLED: string;
639
+ POLLING_INTERVAL: string;
640
+ ANALYTICS_PING_DISABLED: string;
641
+ ANALYTICS_HOST: string;
642
+ ANALYTICS_VERSION: string;
643
+ ANALYTICS_USE_SSL: string;
644
+ SETTINGS_HASH: string;
645
+ SETTINGS_HASH_RECEIVED_AT: string;
646
+ DENY_FALLBACK_TO_POLLING: string;
647
+ APP_VERSION: string;
648
+ MAIN_DOMAIN: string;
649
+ CHAT_API_VERSION: string;
650
+ WS_API_VERSION: string;
651
+ REGION: string;
652
+ EXTENSION_DOMAIN: string;
653
+ WEBRTC_API_SUBDOMAIN: string;
654
+ };
655
+ };
656
+ export declare const COMMON_UTILITY_CONSTANTS: {
657
+ TYPE_CONSTANTS: {
658
+ BOOLEAN: string;
659
+ STRING: string;
660
+ OBJECT: string;
661
+ NUMBER: string;
662
+ };
663
+ };
664
+ export declare const CONNECTION_STATUS: {
665
+ CONNECTED: string;
666
+ CONNECTING: string;
667
+ DISCONNECTED: string;
668
+ FEATURE_THROTTLED: string;
669
+ };
670
+ export declare const API_ERROR_CODES: {
671
+ AUTH_ERR_AUTH_TOKEN_NOT_FOUND: string;
672
+ };
673
+ export declare const PROSODY_API: {
674
+ DOMAIN_PREFIX: string;
675
+ PATH: {
676
+ ROOM: string;
677
+ ROOM_SIZE: string;
678
+ SESSIONS: string;
679
+ };
680
+ RESPONSE: {
681
+ PARTICIPANTS: string;
682
+ };
683
+ QUERY_PARAMETERS: {
684
+ DOMAIN: string;
685
+ ROOM: string;
686
+ };
687
+ };
688
+ export declare const ProsodyApiErrors: {
689
+ INVALID_SESSIONID: {
690
+ code: string;
691
+ name: string;
692
+ message: string;
693
+ details: string;
694
+ };
695
+ INVALID_TYPE: {
696
+ code: string;
697
+ name: string;
698
+ message: string;
699
+ details: string;
700
+ };
701
+ };
702
+ export declare const JWT_API: {
703
+ KEYS: {
704
+ PASSTHROUGH: string;
705
+ EXPAND: string;
706
+ };
707
+ };
708
+ export declare const ONLINE_MEMBER_COUNT_API: {
709
+ ENDPOINTS: {
710
+ GET_ONLINE_MEMBER_COUNT: string;
711
+ };
712
+ RESPONSE: {
713
+ ONLINE_USERS_COUNT: string;
714
+ GROUPS: string;
715
+ };
716
+ ERRORS: {
717
+ INVALID_GROUPLIST: {
718
+ code: string;
719
+ name: string;
720
+ message: string;
721
+ details: string;
722
+ };
723
+ };
724
+ };