@cometchat/calls-sdk-react-native 4.4.2-beta.1 → 5.0.0-beta.2
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.
- package/README.md +85 -19
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build.gradle +13 -12
- package/android/src/main/AndroidManifest.xml +15 -6
- package/android/src/main/java/com/callingv5/AudioDeviceHandlerConnectionService.java +185 -0
- package/android/src/main/java/com/callingv5/AudioDeviceHandlerGeneric.java +254 -0
- package/android/src/main/java/com/{CometChatCalls → callingv5}/AudioModeModule.java +93 -56
- package/android/src/main/java/com/callingv5/ConnectionService.java +451 -0
- package/android/src/main/java/com/callingv5/KeepAwakeModule.java +53 -0
- package/android/src/main/java/com/callingv5/MyAppPackage.java +35 -0
- package/android/src/main/java/com/callingv5/RNConnectionService.java +244 -0
- package/android/src/main/java/com/callingv5/ToastModule.java +29 -0
- package/android/src/main/java/com/callingv5/utils/CometChatLogger.java +88 -0
- package/cometchat-calls-sdk-react-native.podspec +9 -10
- package/dist/index.d.mts +4066 -0
- package/dist/index.d.ts +4066 -9
- package/dist/index.js +11116 -132
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +11085 -0
- package/dist/index.mjs.map +1 -0
- package/dist/polyfills/RTCPeerConnection.js +19 -0
- package/dist/polyfills/Storage.js +192 -0
- package/dist/polyfills/browser.js +337 -0
- package/dist/polyfills/index.js +1 -0
- package/dist/polyfills/ipv6utils.js +197 -0
- package/dist/polyfills/webrtc.js +11 -0
- package/ios/{JitsiAudioSession+Private.h → Audio/CometChatAudioSession+Private.h} +2 -3
- package/ios/{LogUtils.h → Audio/CometChatAudioSession.h} +9 -6
- package/ios/{JitsiAudioSession.m → Audio/CometChatAudioSession.m} +4 -3
- package/ios/{AudioMode.m → Modules/AudioMode.m} +15 -49
- package/ios/Modules/KeepAwake.h +4 -0
- package/ios/Modules/KeepAwake.m +29 -0
- package/package.json +24 -110
- package/LICENSE.md +0 -3
- package/android/src/main/java/com/CometChatCalls/AudioDeviceHandlerGeneric.java +0 -213
- package/android/src/main/java/com/CometChatCalls/AudioDeviceHandlerLegacy.java +0 -213
- package/android/src/main/java/com/CometChatCalls/BluetoothHeadsetMonitor.java +0 -187
- package/android/src/main/java/com/CometChatCalls/CallNotificationService.java +0 -93
- package/android/src/main/java/com/CometChatCalls/CallNotificationServiceModule.java +0 -48
- package/android/src/main/java/com/CometChatCalls/CometChatCallsPackage.java +0 -56
- package/android/src/main/java/com/CometChatCalls/CometChatCommonModule.java +0 -48
- package/android/src/main/java/com/CometChatCalls/PictureInPictureModule.java +0 -133
- package/android/src/main/res/drawable-mdpi/callingcomponent_icons_headphones_pluged.png +0 -0
- package/dist/CometChatErrorConstants.d.ts +0 -124
- package/dist/Constants.d.ts +0 -724
- package/dist/Helper copy.d.ts +0 -1
- package/dist/Helper.d.ts +0 -7
- package/dist/api/APIHandler.d.ts +0 -42
- package/dist/api/endpoints.d.ts +0 -7
- package/dist/api/helper.d.ts +0 -69
- package/dist/api/index.d.ts +0 -2
- package/dist/constants/CallConstants.d.ts +0 -136
- package/dist/constants/index.d.ts +0 -1
- package/dist/defaultCallsettings.d.ts +0 -2
- package/dist/models/CallAppSettings.d.ts +0 -42
- package/dist/models/CallGroup.d.ts +0 -14
- package/dist/models/CallLog.d.ts +0 -276
- package/dist/models/CallLogFilterParams.d.ts +0 -97
- package/dist/models/CallSettings.d.ts +0 -330
- package/dist/models/CallUser.d.ts +0 -14
- package/dist/models/CometChatCallLogs.d.ts +0 -193
- package/dist/models/CometChatCalls.d.ts +0 -110
- package/dist/models/CometChatCallsComponent.d.ts +0 -13
- package/dist/models/CometChatCallsComponentCore.d.ts +0 -18
- package/dist/models/CometChatCallsException.d.ts +0 -7
- package/dist/models/CometChatPresenterComponent.d.ts +0 -13
- package/dist/models/ErrorModel.d.ts +0 -11
- package/dist/models/Listner.d.ts +0 -69
- package/dist/models/ListnerHandler.d.ts +0 -10
- package/dist/models/MessageComponent.d.ts +0 -7
- package/dist/models/Participant.d.ts +0 -184
- package/dist/models/PresenterSettings.d.ts +0 -208
- package/dist/models/RTCUser.d.ts +0 -18
- package/dist/models/Recording.d.ts +0 -86
- package/dist/models/index.d.ts +0 -9
- package/dist/types/ICallAppSettings.d.ts +0 -6
- package/dist/types/ICallSettings.d.ts +0 -61
- package/dist/types/RTCUser.d.ts +0 -6
- package/dist/types/callEvents.d.ts +0 -54
- package/dist/types/common.d.ts +0 -18
- package/dist/types/index.d.ts +0 -2
- package/ios/AudioMode.h +0 -11
- package/ios/CometChatCommonModule.h +0 -6
- package/ios/CometChatCommonModule.m +0 -29
- package/ios/JitsiAudioSession.h +0 -17
- package/ios/react-native-calls2.xcodeproj/project.pbxproj +0 -269
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
package com.CometChatCalls;
|
|
2
|
-
|
|
3
|
-
import android.content.Intent;
|
|
4
|
-
|
|
5
|
-
import androidx.annotation.NonNull;
|
|
6
|
-
|
|
7
|
-
import com.facebook.react.bridge.ReactApplicationContext;
|
|
8
|
-
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
9
|
-
import com.facebook.react.bridge.ReactMethod;
|
|
10
|
-
import com.facebook.react.modules.core.DeviceEventManagerModule;
|
|
11
|
-
|
|
12
|
-
public class CallNotificationServiceModule extends ReactContextBaseJavaModule {
|
|
13
|
-
|
|
14
|
-
public static ReactApplicationContext reactContext;
|
|
15
|
-
|
|
16
|
-
public CallNotificationServiceModule(ReactApplicationContext reactContext) {
|
|
17
|
-
super(reactContext);
|
|
18
|
-
CallNotificationServiceModule.reactContext = reactContext;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
public static void sendEvent(String eventName, String message) {
|
|
22
|
-
if (reactContext != null) {
|
|
23
|
-
reactContext
|
|
24
|
-
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
|
|
25
|
-
.emit(eventName, message);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@NonNull
|
|
30
|
-
@Override
|
|
31
|
-
public String getName() {
|
|
32
|
-
return "CallNotificationService";
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@ReactMethod
|
|
36
|
-
public void startService() {
|
|
37
|
-
Intent serviceIntent = new Intent(reactContext, CallNotificationService.class);
|
|
38
|
-
reactContext.startService(serviceIntent);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@ReactMethod
|
|
42
|
-
public void stopService() {
|
|
43
|
-
Intent serviceIntent = new Intent(reactContext, CallNotificationService.class);
|
|
44
|
-
reactContext.stopService(serviceIntent);
|
|
45
|
-
CallNotificationService.resetStartingTime();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2017 Henry Lin @zxcpoiu
|
|
3
|
-
*
|
|
4
|
-
* Permission to use, copy, modify, and distribute this software for any
|
|
5
|
-
* purpose with or without fee is hereby granted, provided that the above
|
|
6
|
-
* copyright notice and this permission notice appear in all copies.
|
|
7
|
-
*
|
|
8
|
-
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
9
|
-
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
10
|
-
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
11
|
-
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
12
|
-
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
13
|
-
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
14
|
-
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
package com.CometChatCalls;
|
|
18
|
-
|
|
19
|
-
import androidx.annotation.NonNull;
|
|
20
|
-
import androidx.annotation.NonNull;
|
|
21
|
-
import com.facebook.react.ReactPackage;
|
|
22
|
-
import com.facebook.react.bridge.JavaScriptModule;
|
|
23
|
-
import com.facebook.react.bridge.NativeModule;
|
|
24
|
-
import com.facebook.react.bridge.ReactApplicationContext;
|
|
25
|
-
import com.facebook.react.uimanager.ViewManager;
|
|
26
|
-
|
|
27
|
-
import java.util.ArrayList;
|
|
28
|
-
import java.util.ArrayList;
|
|
29
|
-
import java.util.Collections;
|
|
30
|
-
import java.util.List;
|
|
31
|
-
|
|
32
|
-
public class CometChatCallsPackage implements ReactPackage {
|
|
33
|
-
|
|
34
|
-
@NonNull
|
|
35
|
-
@Override
|
|
36
|
-
public List<NativeModule> createNativeModules(@NonNull ReactApplicationContext reactContext) {
|
|
37
|
-
List<NativeModule> modules = new ArrayList<>();
|
|
38
|
-
modules.add(new AudioModeModule(reactContext));
|
|
39
|
-
modules.add(new CallNotificationServiceModule(reactContext));
|
|
40
|
-
modules.add(new PictureInPictureModule(reactContext));
|
|
41
|
-
modules.add(new CometChatCommonModule(reactContext));
|
|
42
|
-
return modules;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// Deprecated RN 0.47
|
|
46
|
-
public List<Class<? extends JavaScriptModule>> createJSModules() {
|
|
47
|
-
return Collections.emptyList();
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@NonNull
|
|
51
|
-
@Override
|
|
52
|
-
public List<ViewManager> createViewManagers(@NonNull ReactApplicationContext reactContext) {
|
|
53
|
-
return Collections.emptyList();
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
package com.CometChatCalls;
|
|
2
|
-
|
|
3
|
-
import android.annotation.SuppressLint;
|
|
4
|
-
import android.app.Activity;
|
|
5
|
-
import android.content.Context;
|
|
6
|
-
import android.content.pm.ActivityInfo;
|
|
7
|
-
|
|
8
|
-
import androidx.annotation.NonNull;
|
|
9
|
-
|
|
10
|
-
import com.facebook.react.bridge.Promise;
|
|
11
|
-
import com.facebook.react.bridge.ReactApplicationContext;
|
|
12
|
-
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
13
|
-
import com.facebook.react.bridge.ReactMethod;
|
|
14
|
-
|
|
15
|
-
public class CometChatCommonModule extends ReactContextBaseJavaModule {
|
|
16
|
-
public static final String NAME = "CometChatCommonModule";
|
|
17
|
-
public static final String TAG = NAME;
|
|
18
|
-
private final ReactApplicationContext mReactContext;
|
|
19
|
-
|
|
20
|
-
public int appOrientation = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
|
|
21
|
-
|
|
22
|
-
public CometChatCommonModule(@NonNull ReactApplicationContext reactContext) {
|
|
23
|
-
super(reactContext);
|
|
24
|
-
mReactContext = reactContext;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@NonNull
|
|
28
|
-
@Override
|
|
29
|
-
public String getName() {
|
|
30
|
-
return NAME;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@SuppressLint("SourceLockedOrientationActivity")
|
|
34
|
-
@ReactMethod
|
|
35
|
-
public void lockToPortrait() {
|
|
36
|
-
Activity currentActivity = getCurrentActivity();
|
|
37
|
-
if (currentActivity == null) return;
|
|
38
|
-
this.appOrientation = currentActivity.getRequestedOrientation();
|
|
39
|
-
currentActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@ReactMethod
|
|
43
|
-
public void unlockAllOrientations() {
|
|
44
|
-
Activity currentActivity = getCurrentActivity();
|
|
45
|
-
if (currentActivity == null) return;
|
|
46
|
-
currentActivity.setRequestedOrientation(this.appOrientation);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
package com.CometChatCalls;
|
|
2
|
-
|
|
3
|
-
import android.app.Activity;
|
|
4
|
-
import android.app.KeyguardManager;
|
|
5
|
-
import android.app.PictureInPictureParams;
|
|
6
|
-
import android.content.Context;
|
|
7
|
-
import android.media.AudioAttributes;
|
|
8
|
-
import android.media.AudioFocusRequest;
|
|
9
|
-
import android.media.AudioManager;
|
|
10
|
-
import android.os.Build;
|
|
11
|
-
import android.os.PowerManager;
|
|
12
|
-
import android.util.DisplayMetrics;
|
|
13
|
-
import android.util.Log;
|
|
14
|
-
import android.util.Rational;
|
|
15
|
-
|
|
16
|
-
import androidx.annotation.NonNull;
|
|
17
|
-
import androidx.annotation.RequiresApi;
|
|
18
|
-
|
|
19
|
-
import com.facebook.react.bridge.Promise;
|
|
20
|
-
import com.facebook.react.bridge.ReactApplicationContext;
|
|
21
|
-
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
22
|
-
import com.facebook.react.bridge.ReactMethod;
|
|
23
|
-
import com.facebook.react.modules.core.DeviceEventManagerModule;
|
|
24
|
-
|
|
25
|
-
public class PictureInPictureModule extends ReactContextBaseJavaModule {
|
|
26
|
-
public static final String NAME = "PictureInPictureModule";
|
|
27
|
-
public static final String TAG = NAME;
|
|
28
|
-
public static boolean isPIPInitialized = false;
|
|
29
|
-
private ReactApplicationContext mReactContext;
|
|
30
|
-
public PowerManager.WakeLock wakeLock;
|
|
31
|
-
private AudioManager audioManager;
|
|
32
|
-
private static boolean isEnabled;
|
|
33
|
-
|
|
34
|
-
public PictureInPictureModule(@NonNull ReactApplicationContext reactContext) {
|
|
35
|
-
super(reactContext);
|
|
36
|
-
mReactContext = reactContext;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@NonNull
|
|
40
|
-
@Override
|
|
41
|
-
public String getName() {
|
|
42
|
-
return NAME;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@RequiresApi(api = Build.VERSION_CODES.O)
|
|
46
|
-
@ReactMethod
|
|
47
|
-
public void enterPictureInPictureMode() {
|
|
48
|
-
if (!isEnabled) {
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
|
52
|
-
Activity currentActivity = getCurrentActivity();
|
|
53
|
-
if (currentActivity != null) {
|
|
54
|
-
DisplayMetrics metrics = currentActivity.getResources().getDisplayMetrics();
|
|
55
|
-
|
|
56
|
-
Rational aspectRatio = new Rational(metrics.widthPixels, metrics.heightPixels);
|
|
57
|
-
PictureInPictureParams params = new PictureInPictureParams.Builder()
|
|
58
|
-
.setAspectRatio(aspectRatio)
|
|
59
|
-
.build();
|
|
60
|
-
currentActivity.enterPictureInPictureMode(params);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@RequiresApi(api = Build.VERSION_CODES.O)
|
|
66
|
-
@ReactMethod
|
|
67
|
-
public void exitPictureInPictureMode() {
|
|
68
|
-
Activity currentActivity = getCurrentActivity();
|
|
69
|
-
|
|
70
|
-
try {
|
|
71
|
-
if (currentActivity != null) {
|
|
72
|
-
if (currentActivity.isInPictureInPictureMode()) {
|
|
73
|
-
currentActivity.moveTaskToBack(true);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
} catch (Exception e) {
|
|
77
|
-
Log.e(TAG, "[exitPictureInPictureMode]", e);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@ReactMethod
|
|
82
|
-
public void setPictureInPictureEnabled(Boolean enabled) {
|
|
83
|
-
isEnabled = enabled;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@RequiresApi(api = Build.VERSION_CODES.O)
|
|
87
|
-
@ReactMethod
|
|
88
|
-
public void initializePictureInPictureMode() {
|
|
89
|
-
isPIPInitialized = true;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@RequiresApi(api = Build.VERSION_CODES.O)
|
|
93
|
-
@ReactMethod
|
|
94
|
-
public void getIsPIPInitialized(Promise promise) {
|
|
95
|
-
promise.resolve(isPIPInitialized);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
public void notifyPipModeChanged(boolean isInPipMode) {
|
|
99
|
-
mReactContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
|
|
100
|
-
.emit("onPipModeChanged", isInPipMode);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
@ReactMethod
|
|
104
|
-
private void requestAudioFocus() {
|
|
105
|
-
audioManager = (AudioManager) mReactContext.getSystemService(Context.AUDIO_SERVICE);
|
|
106
|
-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
|
107
|
-
int result = audioManager.requestAudioFocus(new AudioFocusRequest.Builder(AudioManager.AUDIOFOCUS_GAIN)
|
|
108
|
-
.setAudioAttributes(
|
|
109
|
-
new AudioAttributes.Builder()
|
|
110
|
-
.setUsage(AudioAttributes.USAGE_VOICE_COMMUNICATION)
|
|
111
|
-
.setContentType(AudioAttributes.CONTENT_TYPE_SPEECH)
|
|
112
|
-
.build()
|
|
113
|
-
)
|
|
114
|
-
.build());
|
|
115
|
-
if (result == AudioManager.AUDIOFOCUS_REQUEST_GRANTED) {
|
|
116
|
-
Log.d(TAG, "Audio focus granted");
|
|
117
|
-
} else {
|
|
118
|
-
Log.d(TAG, "Audio focus request failed");
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@ReactMethod
|
|
124
|
-
public void isDeviceLocked(Promise promise) {
|
|
125
|
-
try {
|
|
126
|
-
KeyguardManager keyguardManager = (KeyguardManager) mReactContext.getSystemService(Context.KEYGUARD_SERVICE);
|
|
127
|
-
boolean isLocked = keyguardManager.isDeviceLocked();
|
|
128
|
-
promise.resolve(isLocked);
|
|
129
|
-
} catch (Exception e) {
|
|
130
|
-
promise.reject("ERROR", e.getMessage());
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
Binary file
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
export declare const SERVER_ERRORS: {
|
|
2
|
-
AUTH_ERR: {
|
|
3
|
-
code: string;
|
|
4
|
-
message: string;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
export declare const ERRORS: {
|
|
8
|
-
PARAMETER_MISSING: {
|
|
9
|
-
code: string;
|
|
10
|
-
name: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare const INIT_ERROR: {
|
|
14
|
-
NO_APP_ID: {
|
|
15
|
-
code: string;
|
|
16
|
-
name: string;
|
|
17
|
-
message: string;
|
|
18
|
-
details: {};
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export declare const GROUP_CREATION_ERRORS: {
|
|
22
|
-
EMPTY_PASSWORD: {
|
|
23
|
-
code: string;
|
|
24
|
-
details: any;
|
|
25
|
-
message: string;
|
|
26
|
-
name: any;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export declare const USERS_REQUEST_ERRORS: {
|
|
30
|
-
EMPTY_USERS_LIST: {
|
|
31
|
-
code: string;
|
|
32
|
-
name: string;
|
|
33
|
-
message: string;
|
|
34
|
-
details: {};
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export declare const MESSAGES_REQUEST_ERRORS: {
|
|
38
|
-
REQUEST_IN_PROGRESS_ERROR: {
|
|
39
|
-
code: string;
|
|
40
|
-
name: string;
|
|
41
|
-
message: string;
|
|
42
|
-
details: {};
|
|
43
|
-
};
|
|
44
|
-
NOT_ENOUGH_PARAMS: {
|
|
45
|
-
code: string;
|
|
46
|
-
name: string;
|
|
47
|
-
message: string;
|
|
48
|
-
details: {};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
export declare const MESSAGE_ERRORS: {
|
|
52
|
-
INVALID_CUSTOM_DATA: {
|
|
53
|
-
code: string;
|
|
54
|
-
name: string;
|
|
55
|
-
message: string;
|
|
56
|
-
details: {};
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
export declare const LOGIN_ERROR: {
|
|
60
|
-
NOT_INITIALIZED: {
|
|
61
|
-
code: string;
|
|
62
|
-
name: string;
|
|
63
|
-
message: string;
|
|
64
|
-
details: {};
|
|
65
|
-
};
|
|
66
|
-
UNAUTHORISED: {
|
|
67
|
-
code: number;
|
|
68
|
-
name: string;
|
|
69
|
-
message: string;
|
|
70
|
-
details: {};
|
|
71
|
-
};
|
|
72
|
-
WS_CONNECTION_FAIL: {
|
|
73
|
-
code: number;
|
|
74
|
-
name: string;
|
|
75
|
-
message: string;
|
|
76
|
-
details: {};
|
|
77
|
-
};
|
|
78
|
-
WS_CONNECTION_FAIL_PORT_ERROR: {
|
|
79
|
-
code: number;
|
|
80
|
-
name: string;
|
|
81
|
-
message: string;
|
|
82
|
-
details: {};
|
|
83
|
-
};
|
|
84
|
-
WS_CONNECTION_FALLBACK_FAIL_PORT_ERROR: {
|
|
85
|
-
code: number;
|
|
86
|
-
name: string;
|
|
87
|
-
message: string;
|
|
88
|
-
details: {};
|
|
89
|
-
};
|
|
90
|
-
WS_AUTH_FAIL: {
|
|
91
|
-
code: number;
|
|
92
|
-
name: string;
|
|
93
|
-
message: string;
|
|
94
|
-
details: {};
|
|
95
|
-
};
|
|
96
|
-
NO_INTERNET: {
|
|
97
|
-
code: number;
|
|
98
|
-
name: string;
|
|
99
|
-
message: string;
|
|
100
|
-
details: {};
|
|
101
|
-
};
|
|
102
|
-
REQUEST_IN_PROGRESS: {
|
|
103
|
-
code: number;
|
|
104
|
-
name: string;
|
|
105
|
-
message: string;
|
|
106
|
-
details: {};
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
export declare const TYPINGNOTIFICATION_CONSTANTS: {
|
|
110
|
-
TOO_MANY_REQUEST: {
|
|
111
|
-
code: string;
|
|
112
|
-
name: string;
|
|
113
|
-
message: string;
|
|
114
|
-
details: {};
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
export declare const FETCH_ERROR: {
|
|
118
|
-
ERROR_IN_API_CALL: {
|
|
119
|
-
code: string;
|
|
120
|
-
name: string;
|
|
121
|
-
message: string;
|
|
122
|
-
details: {};
|
|
123
|
-
};
|
|
124
|
-
};
|