@zelloptt/react-native-zello-sdk 0.4.0 → 1.0.1

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 (149) hide show
  1. package/README.md +9 -4
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/java/com/zellosdk/ZelloAndroidSdkModule.kt +103 -29
  4. package/android/src/main/java/com/zellosdk/ZelloAndroidSdkModuleHelper.kt +53 -8
  5. package/ios/Extensions/ZelloConsoleSettings+Extension.swift +6 -1
  6. package/ios/Extensions/ZelloContact+Extension.swift +51 -0
  7. package/ios/Extensions/ZelloIOSSdkModule+Extension.swift +49 -9
  8. package/ios/ZelloIOSSdkModule.swift +88 -27
  9. package/ios/ZelloIOSSdkModuleBridge.m +22 -11
  10. package/lib/commonjs/docs/assets/navigation.js +1 -1
  11. package/lib/commonjs/docs/assets/navigation.js.map +1 -1
  12. package/lib/commonjs/docs/assets/search.js +1 -1
  13. package/lib/commonjs/docs/assets/search.js.map +1 -1
  14. package/lib/commonjs/docs/classes/sdk.Zello.html +69 -45
  15. package/lib/commonjs/docs/classes/types.ZelloAlertMessage.html +7 -7
  16. package/lib/commonjs/docs/classes/types.ZelloChannel.html +8 -8
  17. package/lib/commonjs/docs/classes/types.ZelloChannelUser.html +5 -4
  18. package/lib/commonjs/docs/classes/types.ZelloDispatchCall.html +4 -4
  19. package/lib/commonjs/docs/classes/types.ZelloDispatchChannel.html +9 -9
  20. package/lib/commonjs/docs/classes/types.ZelloGroupConversation.html +24 -0
  21. package/lib/commonjs/docs/classes/types.ZelloHistoryAlertMessage.html +8 -8
  22. package/lib/commonjs/docs/classes/types.ZelloHistoryImageMessage.html +7 -7
  23. package/lib/commonjs/docs/classes/types.ZelloHistoryLocationMessage.html +11 -11
  24. package/lib/commonjs/docs/classes/types.ZelloHistoryTextMessage.html +8 -8
  25. package/lib/commonjs/docs/classes/types.ZelloHistoryVoiceMessage.html +8 -8
  26. package/lib/commonjs/docs/classes/types.ZelloImageMessage.html +8 -8
  27. package/lib/commonjs/docs/classes/types.ZelloIncomingEmergency.html +7 -7
  28. package/lib/commonjs/docs/classes/types.ZelloIncomingVoiceMessage.html +6 -6
  29. package/lib/commonjs/docs/classes/types.ZelloLocationMessage.html +10 -10
  30. package/lib/commonjs/docs/classes/types.ZelloOutgoingEmergency.html +5 -5
  31. package/lib/commonjs/docs/classes/types.ZelloOutgoingVoiceMessage.html +7 -7
  32. package/lib/commonjs/docs/classes/types.ZelloRecentEntry.html +7 -7
  33. package/lib/commonjs/docs/classes/types.ZelloTextMessage.html +7 -7
  34. package/lib/commonjs/docs/classes/types.ZelloUser.html +10 -8
  35. package/lib/commonjs/docs/classes/types.ZelloUserSupportedFeatures.html +5 -0
  36. package/lib/commonjs/docs/enums/events.ZelloEvent.html +107 -82
  37. package/lib/commonjs/docs/enums/types.ZelloAccountStatus.html +4 -4
  38. package/lib/commonjs/docs/enums/types.ZelloChannelAlertLevel.html +4 -4
  39. package/lib/commonjs/docs/enums/types.ZelloChannelConnectionStatus.html +2 -2
  40. package/lib/commonjs/docs/enums/types.ZelloConnectionError.html +2 -2
  41. package/lib/commonjs/docs/enums/types.ZelloConnectionState.html +2 -2
  42. package/lib/commonjs/docs/enums/types.ZelloContactType.html +4 -2
  43. package/lib/commonjs/docs/enums/types.ZelloDispatchCallStatus.html +2 -2
  44. package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageError.html +2 -2
  45. package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageState.html +2 -2
  46. package/lib/commonjs/docs/enums/types.ZelloRecentEntryType.html +2 -2
  47. package/lib/commonjs/docs/enums/types.ZelloUserStatus.html +6 -6
  48. package/lib/commonjs/docs/index.html +7 -4
  49. package/lib/commonjs/docs/modules/events.html +1 -1
  50. package/lib/commonjs/docs/modules/index.html +4 -2
  51. package/lib/commonjs/docs/modules/sdk.html +1 -1
  52. package/lib/commonjs/docs/modules/types.html +4 -2
  53. package/lib/commonjs/docs/types/types.ZelloChannelOptions.html +4 -4
  54. package/lib/commonjs/docs/types/types.ZelloConfig.html +1 -1
  55. package/lib/commonjs/docs/types/types.ZelloConsoleSettings.html +8 -0
  56. package/lib/commonjs/docs/types/types.ZelloContact.html +1 -1
  57. package/lib/commonjs/docs/types/types.ZelloCredentials.html +1 -1
  58. package/lib/commonjs/docs/types/types.ZelloHistoryMessage.html +1 -1
  59. package/lib/commonjs/docs/types/types.ZelloMessage.html +1 -1
  60. package/lib/commonjs/events/index.js +6 -0
  61. package/lib/commonjs/events/index.js.map +1 -1
  62. package/lib/commonjs/sdk/index.js +195 -47
  63. package/lib/commonjs/sdk/index.js.map +1 -1
  64. package/lib/commonjs/types/index.js +56 -12
  65. package/lib/commonjs/types/index.js.map +1 -1
  66. package/lib/commonjs/utils/index.js +41 -10
  67. package/lib/commonjs/utils/index.js.map +1 -1
  68. package/lib/module/docs/assets/navigation.js +1 -1
  69. package/lib/module/docs/assets/navigation.js.map +1 -1
  70. package/lib/module/docs/assets/search.js +1 -1
  71. package/lib/module/docs/assets/search.js.map +1 -1
  72. package/lib/module/docs/classes/sdk.Zello.html +69 -45
  73. package/lib/module/docs/classes/types.ZelloAlertMessage.html +7 -7
  74. package/lib/module/docs/classes/types.ZelloChannel.html +8 -8
  75. package/lib/module/docs/classes/types.ZelloChannelUser.html +5 -4
  76. package/lib/module/docs/classes/types.ZelloDispatchCall.html +4 -4
  77. package/lib/module/docs/classes/types.ZelloDispatchChannel.html +9 -9
  78. package/lib/module/docs/classes/types.ZelloGroupConversation.html +24 -0
  79. package/lib/module/docs/classes/types.ZelloHistoryAlertMessage.html +8 -8
  80. package/lib/module/docs/classes/types.ZelloHistoryImageMessage.html +7 -7
  81. package/lib/module/docs/classes/types.ZelloHistoryLocationMessage.html +11 -11
  82. package/lib/module/docs/classes/types.ZelloHistoryTextMessage.html +8 -8
  83. package/lib/module/docs/classes/types.ZelloHistoryVoiceMessage.html +8 -8
  84. package/lib/module/docs/classes/types.ZelloImageMessage.html +8 -8
  85. package/lib/module/docs/classes/types.ZelloIncomingEmergency.html +7 -7
  86. package/lib/module/docs/classes/types.ZelloIncomingVoiceMessage.html +6 -6
  87. package/lib/module/docs/classes/types.ZelloLocationMessage.html +10 -10
  88. package/lib/module/docs/classes/types.ZelloOutgoingEmergency.html +5 -5
  89. package/lib/module/docs/classes/types.ZelloOutgoingVoiceMessage.html +7 -7
  90. package/lib/module/docs/classes/types.ZelloRecentEntry.html +7 -7
  91. package/lib/module/docs/classes/types.ZelloTextMessage.html +7 -7
  92. package/lib/module/docs/classes/types.ZelloUser.html +10 -8
  93. package/lib/module/docs/classes/types.ZelloUserSupportedFeatures.html +5 -0
  94. package/lib/module/docs/enums/events.ZelloEvent.html +107 -82
  95. package/lib/module/docs/enums/types.ZelloAccountStatus.html +4 -4
  96. package/lib/module/docs/enums/types.ZelloChannelAlertLevel.html +4 -4
  97. package/lib/module/docs/enums/types.ZelloChannelConnectionStatus.html +2 -2
  98. package/lib/module/docs/enums/types.ZelloConnectionError.html +2 -2
  99. package/lib/module/docs/enums/types.ZelloConnectionState.html +2 -2
  100. package/lib/module/docs/enums/types.ZelloContactType.html +4 -2
  101. package/lib/module/docs/enums/types.ZelloDispatchCallStatus.html +2 -2
  102. package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageError.html +2 -2
  103. package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageState.html +2 -2
  104. package/lib/module/docs/enums/types.ZelloRecentEntryType.html +2 -2
  105. package/lib/module/docs/enums/types.ZelloUserStatus.html +6 -6
  106. package/lib/module/docs/index.html +7 -4
  107. package/lib/module/docs/modules/events.html +1 -1
  108. package/lib/module/docs/modules/index.html +4 -2
  109. package/lib/module/docs/modules/sdk.html +1 -1
  110. package/lib/module/docs/modules/types.html +4 -2
  111. package/lib/module/docs/types/types.ZelloChannelOptions.html +4 -4
  112. package/lib/module/docs/types/types.ZelloConfig.html +1 -1
  113. package/lib/module/docs/types/types.ZelloConsoleSettings.html +8 -0
  114. package/lib/module/docs/types/types.ZelloContact.html +1 -1
  115. package/lib/module/docs/types/types.ZelloCredentials.html +1 -1
  116. package/lib/module/docs/types/types.ZelloHistoryMessage.html +1 -1
  117. package/lib/module/docs/types/types.ZelloMessage.html +1 -1
  118. package/lib/module/events/index.js +6 -0
  119. package/lib/module/events/index.js.map +1 -1
  120. package/lib/module/sdk/index.js +197 -49
  121. package/lib/module/sdk/index.js.map +1 -1
  122. package/lib/module/types/index.js +57 -11
  123. package/lib/module/types/index.js.map +1 -1
  124. package/lib/module/utils/index.js +41 -11
  125. package/lib/module/utils/index.js.map +1 -1
  126. package/lib/typescript/commonjs/src/events/index.d.ts +38 -1
  127. package/lib/typescript/commonjs/src/events/index.d.ts.map +1 -1
  128. package/lib/typescript/commonjs/src/sdk/index.d.ts +38 -4
  129. package/lib/typescript/commonjs/src/sdk/index.d.ts.map +1 -1
  130. package/lib/typescript/commonjs/src/types/index.d.ts +66 -10
  131. package/lib/typescript/commonjs/src/types/index.d.ts.map +1 -1
  132. package/lib/typescript/commonjs/src/utils/index.d.ts +2 -1
  133. package/lib/typescript/commonjs/src/utils/index.d.ts.map +1 -1
  134. package/lib/typescript/module/src/events/index.d.ts +38 -1
  135. package/lib/typescript/module/src/events/index.d.ts.map +1 -1
  136. package/lib/typescript/module/src/sdk/index.d.ts +38 -4
  137. package/lib/typescript/module/src/sdk/index.d.ts.map +1 -1
  138. package/lib/typescript/module/src/types/index.d.ts +66 -10
  139. package/lib/typescript/module/src/types/index.d.ts.map +1 -1
  140. package/lib/typescript/module/src/utils/index.d.ts +2 -1
  141. package/lib/typescript/module/src/utils/index.d.ts.map +1 -1
  142. package/package.json +2 -1
  143. package/react-native-zello-sdk.podspec +1 -1
  144. package/src/events/index.ts +37 -0
  145. package/src/sdk/index.ts +237 -50
  146. package/src/types/index.ts +90 -12
  147. package/src/utils/index.ts +65 -20
  148. package/lib/commonjs/docs/classes/types.ZelloConsoleSettings.html +0 -5
  149. package/lib/module/docs/classes/types.ZelloConsoleSettings.html +0 -5
@@ -26,6 +26,8 @@ export type ZelloContact = {
26
26
  export enum ZelloContactType {
27
27
  User = 'user',
28
28
  Channel = 'channel',
29
+ DispatchChannel = 'dispatchChannel',
30
+ GroupConversation = 'groupConversation',
29
31
  }
30
32
 
31
33
  /**
@@ -73,6 +75,10 @@ export class ZelloUser implements ZelloContact {
73
75
  * This can be used for displaying a smaller version of the profile picture (such as in a list).
74
76
  */
75
77
  public profilePictureThumbnailUrl: string | undefined;
78
+ /**
79
+ * The supported features of the user.
80
+ */
81
+ public supportedFeatures: ZelloUserSupportedFeatures;
76
82
 
77
83
  constructor(
78
84
  name: string,
@@ -80,7 +86,8 @@ export class ZelloUser implements ZelloContact {
80
86
  isMuted: boolean,
81
87
  status: ZelloUserStatus,
82
88
  profilePictureUrl: string | undefined,
83
- profilePictureThumbnailUrl: string | undefined
89
+ profilePictureThumbnailUrl: string | undefined,
90
+ supportedFeatures: ZelloUserSupportedFeatures
84
91
  ) {
85
92
  this.name = name;
86
93
  this.type = ZelloContactType.User;
@@ -89,6 +96,21 @@ export class ZelloUser implements ZelloContact {
89
96
  this.status = status;
90
97
  this.profilePictureUrl = profilePictureUrl;
91
98
  this.profilePictureThumbnailUrl = profilePictureThumbnailUrl;
99
+ this.supportedFeatures = supportedFeatures;
100
+ }
101
+ }
102
+
103
+ /**
104
+ * The supported features of a {@link ZelloUser}.
105
+ */
106
+ export class ZelloUserSupportedFeatures {
107
+ /**
108
+ * Whether the user supports group conversations.
109
+ */
110
+ public readonly groupConversations: boolean;
111
+
112
+ constructor(groupConversations: boolean) {
113
+ this.groupConversations = groupConversations;
92
114
  }
93
115
  }
94
116
 
@@ -146,6 +168,7 @@ export class ZelloDispatchChannel extends ZelloChannel {
146
168
  currentCall: ZelloDispatchCall | undefined
147
169
  ) {
148
170
  super(name, isMuted, connectionStatus, usersOnline, options);
171
+ this.type = ZelloContactType.DispatchChannel;
149
172
  this.currentCall = currentCall;
150
173
  }
151
174
  }
@@ -179,6 +202,43 @@ export enum ZelloDispatchCallStatus {
179
202
  Disconnected = 'disconnected',
180
203
  }
181
204
 
205
+ /**
206
+ * A ad-hoc group conversation in Zello. A {@link ZelloGroupConversation} is a type of {@link ZelloChannel}, but the provisioning is done by the end user instead of through the Zello Work Administrative Console.
207
+ *
208
+ * {@link ZelloGroupConversation}s are only possible when {@link ZelloConsoleSettings.allowGroupConversations} is true.
209
+ */
210
+ export class ZelloGroupConversation extends ZelloChannel {
211
+ /**
212
+ * The display name of the group conversation. This should be used in the UI instead of {@link ZelloChannel#name}, as the {@link ZelloChannel#name} will be a uniquely hashed value starting with c##.
213
+ */
214
+ public readonly displayName: string;
215
+ /**
216
+ * The users in the group conversation.
217
+ */
218
+ public readonly users: ZelloChannelUser[];
219
+ /**
220
+ * The users in the group conversation that are currently online.
221
+ */
222
+ public readonly onlineUsers: ZelloChannelUser[];
223
+
224
+ constructor(
225
+ name: string,
226
+ isMuted: boolean,
227
+ connectionStatus: ZelloChannelConnectionStatus,
228
+ usersOnline: number,
229
+ options: ZelloChannelOptions,
230
+ displayName: string,
231
+ users: ZelloChannelUser[],
232
+ onlineUsers: ZelloChannelUser[]
233
+ ) {
234
+ super(name, isMuted, connectionStatus, usersOnline, options);
235
+ this.type = ZelloContactType.GroupConversation;
236
+ this.displayName = displayName;
237
+ this.users = users;
238
+ this.onlineUsers = onlineUsers;
239
+ }
240
+ }
241
+
182
242
  /**
183
243
  * The connection status of a {@link ZelloChannel}.
184
244
  */
@@ -211,7 +271,7 @@ export type ZelloChannelOptions = {
211
271
  * Whether the user is allowed to send alert messages to the channel.
212
272
  * When this is true, you should not show any UI to allow the user to send alert messages to the channel.
213
273
  */
214
- allowAlerts: boolean;
274
+ allowAlertMessages: boolean;
215
275
  /**
216
276
  * Whether the user is allowed to send text messages to the channel.
217
277
  * When this is true, you should not show any UI to allow the user to send text messages to the channel.
@@ -221,17 +281,19 @@ export type ZelloChannelOptions = {
221
281
  * Whether the user is allowed to send location messages to the channel.
222
282
  * When this is true, you should not show any UI to allow the user to send location messages to the channel.
223
283
  */
224
- allowLocations: boolean;
284
+ allowLocationMessages: boolean;
225
285
  };
226
286
 
227
287
  /**
228
- * A user in a {@link ZelloChannel}. A {@link ZelloChannelUser} may or may not not be part of your contact list.
288
+ * A user in a {@link ZelloChannel}. A {@link ZelloChannelUser} may or may not be part of your contact list.
229
289
  */
230
290
  export class ZelloChannelUser {
231
291
  public name: string;
292
+ public displayName: string;
232
293
 
233
- constructor(name: string) {
294
+ constructor(name: string, displayName: string) {
234
295
  this.name = name;
296
+ this.displayName = displayName;
235
297
  }
236
298
  }
237
299
 
@@ -875,13 +937,29 @@ export type ZelloConfig = {
875
937
  /**
876
938
  * Settings for the network. These are configured via the Zello Work Administrative Console.
877
939
  */
878
- export class ZelloConsoleSettings {
940
+ export type ZelloConsoleSettings = {
879
941
  /**
880
942
  * Allow non-dispatchers to end calls. When this is false, you should not show any UI to allow non-dispatchers to end calls.
881
943
  */
882
- public readonly allowNonDispatchersToEndCalls: boolean;
883
-
884
- constructor(allowNonDispatchersToEndCalls: boolean) {
885
- this.allowNonDispatchersToEndCalls = allowNonDispatchersToEndCalls;
886
- }
887
- }
944
+ allowNonDispatchersToEndCalls: boolean;
945
+ /**
946
+ * Allow image messages. When this is false, you should not show any UI to allow users to send image messages.
947
+ */
948
+ allowImageMessages: boolean;
949
+ /**
950
+ * Allow alert messages. When this is false, you should not show any UI to allow users to send alert messages.
951
+ */
952
+ allowAlertMessages: boolean;
953
+ /**
954
+ * Allow location messages. When this is false, you should not show any UI to allow users to send location messages.
955
+ */
956
+ allowLocationMessages: boolean;
957
+ /**
958
+ * Allow text messages. When this is false, you should not show any UI to allow users to send text messages.
959
+ */
960
+ allowTextMessages: boolean;
961
+ /**
962
+ * Allow group conversations. When this is false, you should not show any UI to allow users to create group conversations.
963
+ */
964
+ allowGroupConversations: boolean;
965
+ };
@@ -1,12 +1,14 @@
1
1
  import {
2
2
  ZelloChannel,
3
3
  ZelloChannelConnectionStatus,
4
+ ZelloChannelOptions,
4
5
  ZelloChannelUser,
5
6
  ZelloConsoleSettings,
6
7
  ZelloContact,
7
8
  ZelloDispatchCall,
8
9
  ZelloDispatchCallStatus,
9
10
  ZelloDispatchChannel,
11
+ ZelloGroupConversation,
10
12
  ZelloHistoryAlertMessage,
11
13
  ZelloHistoryImageMessage,
12
14
  ZelloHistoryLocationMessage,
@@ -16,6 +18,7 @@ import {
16
18
  ZelloIncomingEmergency,
17
19
  ZelloUser,
18
20
  ZelloUserStatus,
21
+ ZelloUserSupportedFeatures,
19
22
  } from '../types';
20
23
  import { Platform } from 'react-native';
21
24
 
@@ -39,7 +42,21 @@ export function bridgeContactToSdkContact(
39
42
  ? ZelloChannelConnectionStatus.Connecting
40
43
  : ZelloChannelConnectionStatus.Disconnected;
41
44
  const usersOnline = eventContact.usersOnline;
42
- const options = eventContact.options;
45
+ const eventOptions = eventContact.options;
46
+ let options: ZelloChannelOptions | undefined;
47
+ if (eventOptions) {
48
+ options = {
49
+ noDisconnect: eventOptions.noDisconnect,
50
+ hidePowerButton: eventOptions.hidePowerButton,
51
+ listenOnly: eventOptions.listenOnly,
52
+ allowAlertMessages: eventOptions.allowAlerts,
53
+ allowLocationMessages: eventOptions.allowLocations,
54
+ allowTextMessages: eventOptions.allowTextMessages,
55
+ };
56
+ }
57
+ if (!options) {
58
+ return undefined;
59
+ }
43
60
  if (eventContact.isDispatchChannel) {
44
61
  let call: ZelloDispatchCall | undefined;
45
62
  if (eventContact.currentCall) {
@@ -60,6 +77,21 @@ export function bridgeContactToSdkContact(
60
77
  options,
61
78
  call
62
79
  );
80
+ } else if (eventContact.isGroupConversation) {
81
+ contact = new ZelloGroupConversation(
82
+ contactName,
83
+ isMuted,
84
+ connectionStatus,
85
+ usersOnline,
86
+ options,
87
+ eventContact.displayName,
88
+ eventContact.users.map((user: any) =>
89
+ bridgeChannelUserToSdkChannelUser(user)
90
+ ),
91
+ eventContact.onlineUsers.map((user: any) =>
92
+ bridgeChannelUserToSdkChannelUser(user)
93
+ )
94
+ );
63
95
  } else {
64
96
  contact = new ZelloChannel(
65
97
  contactName,
@@ -81,7 +113,10 @@ export function bridgeContactToSdkContact(
81
113
  eventContact.isMuted,
82
114
  userStatus,
83
115
  eventContact.profilePictureUrl,
84
- eventContact.profilePictureThumbnailUrl
116
+ eventContact.profilePictureThumbnailUrl,
117
+ new ZelloUserSupportedFeatures(
118
+ eventContact.supportedFeatures.groupConversations
119
+ )
85
120
  );
86
121
  }
87
122
  }
@@ -92,12 +127,13 @@ export function bridgeIncomingEmergencyToSdkIncomingEmergency(
92
127
  emergency: any
93
128
  ): ZelloIncomingEmergency | undefined {
94
129
  const channel = bridgeContactToSdkContact(emergency.channel) as ZelloChannel;
95
- if (!channel) {
130
+ const channelUser = bridgeChannelUserToSdkChannelUser(emergency.channelUser);
131
+ if (!channel || !channelUser) {
96
132
  return undefined;
97
133
  }
98
134
  return new ZelloIncomingEmergency(
99
135
  channel,
100
- new ZelloChannelUser(emergency.channelUserName),
136
+ channelUser,
101
137
  emergency.emergencyId,
102
138
  parseInt(emergency.startTimestamp, 10),
103
139
  parseInt(emergency.endTimestamp, 10)
@@ -115,9 +151,7 @@ export function bridgeHistoryMessageToSdkHistoryMessage(
115
151
  case 'voice':
116
152
  return new ZelloHistoryVoiceMessage(
117
153
  contact,
118
- message.channelUserName
119
- ? new ZelloChannelUser(message.channelUserName)
120
- : undefined,
154
+ bridgeChannelUserToSdkChannelUser(message.channelUser),
121
155
  parseInt(message.timestamp, 10),
122
156
  message.historyId,
123
157
  message.incoming,
@@ -126,9 +160,7 @@ export function bridgeHistoryMessageToSdkHistoryMessage(
126
160
  case 'image':
127
161
  return new ZelloHistoryImageMessage(
128
162
  contact,
129
- message.channelUserName
130
- ? new ZelloChannelUser(message.channelUserName)
131
- : undefined,
163
+ bridgeChannelUserToSdkChannelUser(message.channelUser),
132
164
  parseInt(message.timestamp, 10),
133
165
  message.historyId,
134
166
  message.incoming
@@ -136,9 +168,7 @@ export function bridgeHistoryMessageToSdkHistoryMessage(
136
168
  case 'location':
137
169
  return new ZelloHistoryLocationMessage(
138
170
  contact,
139
- message.channelUserName
140
- ? new ZelloChannelUser(message.channelUserName)
141
- : undefined,
171
+ bridgeChannelUserToSdkChannelUser(message.channelUser),
142
172
  parseInt(message.timestamp, 10),
143
173
  message.historyId,
144
174
  message.incoming,
@@ -150,9 +180,7 @@ export function bridgeHistoryMessageToSdkHistoryMessage(
150
180
  case 'text':
151
181
  return new ZelloHistoryTextMessage(
152
182
  contact,
153
- message.channelUserName
154
- ? new ZelloChannelUser(message.channelUserName)
155
- : undefined,
183
+ bridgeChannelUserToSdkChannelUser(message.channelUser),
156
184
  parseInt(message.timestamp, 10),
157
185
  message.historyId,
158
186
  message.incoming,
@@ -161,9 +189,7 @@ export function bridgeHistoryMessageToSdkHistoryMessage(
161
189
  case 'alert':
162
190
  return new ZelloHistoryAlertMessage(
163
191
  contact,
164
- message.channelUserName
165
- ? new ZelloChannelUser(message.channelUserName)
166
- : undefined,
192
+ bridgeChannelUserToSdkChannelUser(message.channelUser),
167
193
  parseInt(message.timestamp, 10),
168
194
  message.historyId,
169
195
  message.incoming,
@@ -191,5 +217,24 @@ export function bridgeConsoleSettingsToSdkConsoleSettings(
191
217
  if (!settings) {
192
218
  return undefined;
193
219
  }
194
- return new ZelloConsoleSettings(settings.allowNonDispatchersToEndCalls);
220
+ return {
221
+ allowNonDispatchersToEndCalls: settings.allowNonDispatchersToEndCalls,
222
+ allowImageMessages: settings.allowImageMessages,
223
+ allowLocationMessages: settings.allowLocationMessages,
224
+ allowTextMessages: settings.allowTextMessages,
225
+ allowAlertMessages: settings.allowAlertMessages,
226
+ allowGroupConversations: settings.allowGroupConversations,
227
+ };
228
+ }
229
+
230
+ export function bridgeChannelUserToSdkChannelUser(
231
+ channelUser: any
232
+ ): ZelloChannelUser | undefined {
233
+ if (!channelUser?.name) {
234
+ return undefined;
235
+ }
236
+ return new ZelloChannelUser(
237
+ channelUser.name,
238
+ channelUser.displayName ?? channelUser.name
239
+ );
195
240
  }
@@ -1,5 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloConsoleSettings | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">@zelloptt/react-native-zello-sdk</a></li><li><a href="../modules/types.html">types</a></li><li><a href="types.ZelloConsoleSettings.html">ZelloConsoleSettings</a></li></ul><h1>Class ZelloConsoleSettings</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Settings for the network. These are configured via the Zello Work Administrative Console.</p>
2
- </div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/68ceb919b83b2ca14f8c1bb7bc5f3f7eb87a5cf9/src/types/index.ts#L878">src/types/index.ts:878</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="types.ZelloConsoleSettings.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
3
- </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="types.ZelloConsoleSettings.html#allowNonDispatchersToEndCalls" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>allow<wbr/>Non<wbr/>Dispatchers<wbr/>To<wbr/>End<wbr/>Calls</span></a>
4
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_ZelloConsoleSettings" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Zello<wbr/>Console<wbr/>Settings</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">allowNonDispatchersToEndCalls</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="types.ZelloConsoleSettings.html" class="tsd-signature-type tsd-kind-class">ZelloConsoleSettings</a><a href="#constructor.new_ZelloConsoleSettings" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">allowNonDispatchersToEndCalls</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="types.ZelloConsoleSettings.html" class="tsd-signature-type tsd-kind-class">ZelloConsoleSettings</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/68ceb919b83b2ca14f8c1bb7bc5f3f7eb87a5cf9/src/types/index.ts#L884">src/types/index.ts:884</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="allowNonDispatchersToEndCalls" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>allow<wbr/>Non<wbr/>Dispatchers<wbr/>To<wbr/>End<wbr/>Calls</span><a href="#allowNonDispatchersToEndCalls" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">allow<wbr/>Non<wbr/>Dispatchers<wbr/>To<wbr/>End<wbr/>Calls</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Allow non-dispatchers to end calls. When this is false, you should not show any UI to allow non-dispatchers to end calls.</p>
5
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/68ceb919b83b2ca14f8c1bb7bc5f3f7eb87a5cf9/src/types/index.ts#L882">src/types/index.ts:882</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#allowNonDispatchersToEndCalls" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>allow<wbr/>Non<wbr/>Dispatchers<wbr/>To<wbr/>End<wbr/>Calls</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@zelloptt/react-native-zello-sdk</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -1,5 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ZelloConsoleSettings | @zelloptt/react-native-zello-sdk</title><meta name="description" content="Documentation for @zelloptt/react-native-zello-sdk"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@zelloptt/react-native-zello-sdk</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">@zelloptt/react-native-zello-sdk</a></li><li><a href="../modules/types.html">types</a></li><li><a href="types.ZelloConsoleSettings.html">ZelloConsoleSettings</a></li></ul><h1>Class ZelloConsoleSettings</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Settings for the network. These are configured via the Zello Work Administrative Console.</p>
2
- </div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/68ceb919b83b2ca14f8c1bb7bc5f3f7eb87a5cf9/src/types/index.ts#L878">src/types/index.ts:878</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="types.ZelloConsoleSettings.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
3
- </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="types.ZelloConsoleSettings.html#allowNonDispatchersToEndCalls" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>allow<wbr/>Non<wbr/>Dispatchers<wbr/>To<wbr/>End<wbr/>Calls</span></a>
4
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_ZelloConsoleSettings" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Zello<wbr/>Console<wbr/>Settings</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">allowNonDispatchersToEndCalls</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="types.ZelloConsoleSettings.html" class="tsd-signature-type tsd-kind-class">ZelloConsoleSettings</a><a href="#constructor.new_ZelloConsoleSettings" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">allowNonDispatchersToEndCalls</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="types.ZelloConsoleSettings.html" class="tsd-signature-type tsd-kind-class">ZelloConsoleSettings</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/68ceb919b83b2ca14f8c1bb7bc5f3f7eb87a5cf9/src/types/index.ts#L884">src/types/index.ts:884</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="allowNonDispatchersToEndCalls" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>allow<wbr/>Non<wbr/>Dispatchers<wbr/>To<wbr/>End<wbr/>Calls</span><a href="#allowNonDispatchersToEndCalls" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">allow<wbr/>Non<wbr/>Dispatchers<wbr/>To<wbr/>End<wbr/>Calls</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Allow non-dispatchers to end calls. When this is false, you should not show any UI to allow non-dispatchers to end calls.</p>
5
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/zelloptt/react-native-zello-sdk/blob/68ceb919b83b2ca14f8c1bb7bc5f3f7eb87a5cf9/src/types/index.ts#L882">src/types/index.ts:882</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#allowNonDispatchersToEndCalls" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>allow<wbr/>Non<wbr/>Dispatchers<wbr/>To<wbr/>End<wbr/>Calls</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@zelloptt/react-native-zello-sdk</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>