call-control-sdk 6.2.0 → 6.2.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.
package/dist/index.d.mts CHANGED
@@ -155,6 +155,10 @@ declare function isSDKInitialized(): boolean;
155
155
  * @example
156
156
  * ```tsx
157
157
  * <CallControlPanel onDataChange={handleDataChange} />
158
+ *
159
+ * <CallControlPanel onDataChange={(data) => {
160
+ * console.log('Call Data:', data);
161
+ * }} />
158
162
  * ```
159
163
  *
160
164
  * @since 1.0.0
@@ -174,15 +178,10 @@ declare const CallControlPanel: React.ComponentType<CallControlPanelProps>;
174
178
  * Contains all necessary information about active calls, including metadata, status, and references.
175
179
  *
176
180
  * @properties
177
- * - `mobileNumber?: string` - Mobile number of the caller or callee
178
181
  * - `callReferenceId?: string` - Unique reference identifier for the call
179
- * - `convoxId?: string` - Convox system identifier for the call
180
- * - `type?: string` - Type of call (inbound, outbound, internal, etc.)
181
182
  * - `status?: string` - Current status of the call (ONCALL, RINGING, WRAPUP, etc.)
182
183
  * - `agent_id?: string` - Agent identifier associated with the call
183
184
  * - `phone_number?: string` - Phone number involved in the call
184
- * - `event_time?: string` - Timestamp when the call event occurred
185
- * - `convox_id?: string` - Convox system call ID
186
185
  * - `process_id?: string` - Process identifier for the call
187
186
  * - `process_name?: string` - Name of the process handling the call
188
187
  *
@@ -190,15 +189,10 @@ declare const CallControlPanel: React.ComponentType<CallControlPanelProps>;
190
189
  * @author CTI SDK Team
191
190
  */
192
191
  interface CallData {
193
- mobileNumber?: string;
194
192
  callReferenceId?: string;
195
- convoxId?: string;
196
- type?: string;
197
193
  status?: string;
198
194
  agent_id?: string;
199
195
  phone_number?: string;
200
- event_time?: string;
201
- convox_id?: string;
202
196
  process_id?: string;
203
197
  process_name?: string;
204
198
  }
@@ -258,7 +252,6 @@ interface CallControlPanelProps {
258
252
  // =============================================================================
259
253
 
260
254
  /**
261
- * @fileoverview 📞 TypeScript Declaration File for useEndCall Hook
262
255
  *
263
256
  * This file contains TypeScript type definitions for the useEndCall custom hook
264
257
  * and its related interfaces. It provides comprehensive type safety and IntelliSense
@@ -399,6 +392,78 @@ interface EndCallPayload {
399
392
  refno?: string;
400
393
  }
401
394
 
395
+ /**
396
+ * 📅 End Call Data Interface
397
+ *
398
+ * @interface EndCallData
399
+ * @description 📊 Defines the structure for call termination input data
400
+ * Contains disposition and callback information for ending calls
401
+ *
402
+ * @properties
403
+ * - `disposition?: string` - 📝 Call outcome classification (default: "RES")
404
+ * - `followUp?: string` - 📅 Follow-up requirement (default: "N")
405
+ * - `callbackDate?: string` - 📅 Scheduled callback date (default: "")
406
+ * - `callbackHrs?: string` - 🕐 Scheduled callback hour (default: "")
407
+ * - `callbackMins?: string` - 🕐 Scheduled callback minute (default: "")
408
+ *
409
+ * @example
410
+ * ```typescript
411
+ * // Basic end call data
412
+ * const endCallData: EndCallData = {
413
+ * disposition: "RES",
414
+ * followUp: "N"
415
+ * };
416
+ *
417
+ * // With callback scheduling
418
+ * const endCallWithCallback: EndCallData = {
419
+ * disposition: "RES",
420
+ * followUp: "Y",
421
+ * callbackDate: "2024-01-15",
422
+ * callbackHrs: "14",
423
+ * callbackMins: "30"
424
+ * };
425
+ * ```
426
+ *
427
+ * @since 1.0.0
428
+ * @author CTI SDK Team
429
+ */
430
+ interface EndCallData {
431
+ /**
432
+ * 📝 Call outcome classification
433
+ * @description How the call ended (default: "RES" for Resolved)
434
+ * @type {string | undefined}
435
+ */
436
+ disposition?: string;
437
+
438
+ /**
439
+ * 📅 Follow-up requirement
440
+ * @description Whether follow-up is required (default: "N" for No)
441
+ * @type {string | undefined}
442
+ */
443
+ followUp?: string;
444
+
445
+ /**
446
+ * 📅 Scheduled callback date
447
+ * @description Date for callback scheduling (YYYY-MM-DD format)
448
+ * @type {string | undefined}
449
+ */
450
+ callbackDate?: string;
451
+
452
+ /**
453
+ * 🕐 Scheduled callback hour
454
+ * @description Hour for callback scheduling (0-23)
455
+ * @type {string | undefined}
456
+ */
457
+ callbackHrs?: string;
458
+
459
+ /**
460
+ * 🕐 Scheduled callback minute
461
+ * @description Minute for callback scheduling (0-59)
462
+ * @type {string | undefined}
463
+ */
464
+ callbackMins?: string;
465
+ }
466
+
402
467
  /**
403
468
  * 📞 Call Termination Function Type
404
469
  *
@@ -587,7 +652,7 @@ declare const useEndCall: () => UseEndCallReturn;
587
652
  * @since 1.0.0
588
653
  * @author CTI SDK Team
589
654
  */
590
- type DispositionType = "RES" | "NI" | "CB" | "NA" | "BUSY" | "NO_ANSWER";
655
+ type DispositionType = string;
591
656
 
592
657
  /**
593
658
  * 📅 Follow-up Types
@@ -599,7 +664,7 @@ type DispositionType = "RES" | "NI" | "CB" | "NA" | "BUSY" | "NO_ANSWER";
599
664
  * @since 1.0.0
600
665
  * @author CTI SDK Team
601
666
  */
602
- type FollowUpType = "Y" | "N";
667
+ type FollowUpType = string;
603
668
 
604
669
  /**
605
670
  * ⚙️ Process Data Interface
@@ -631,82 +696,10 @@ interface ProcessData {
631
696
  process_name: string;
632
697
  }
633
698
 
634
- /**
635
- * 📅 End Call Data Interface
636
- *
637
- * @interface EndCallData
638
- * @description 📊 Defines the structure for call termination input data
639
- * Contains disposition and callback information for ending calls
640
- *
641
- * @properties
642
- * - `disposition?: string` - 📝 Call outcome classification (default: "RES")
643
- * - `followUp?: string` - 📅 Follow-up requirement (default: "N")
644
- * - `callbackDate?: string` - 📅 Scheduled callback date (default: "")
645
- * - `callbackHrs?: string` - 🕐 Scheduled callback hour (default: "")
646
- * - `callbackMins?: string` - 🕐 Scheduled callback minute (default: "")
647
- *
648
- * @example
649
- * ```typescript
650
- * // Basic end call data
651
- * const endCallData: EndCallData = {
652
- * disposition: "RES",
653
- * followUp: "N"
654
- * };
655
- *
656
- * // With callback scheduling
657
- * const endCallWithCallback: EndCallData = {
658
- * disposition: "RES",
659
- * followUp: "Y",
660
- * callbackDate: "2024-01-15",
661
- * callbackHrs: "14",
662
- * callbackMins: "30"
663
- * };
664
- * ```
665
- *
666
- * @since 1.0.0
667
- * @author CTI SDK Team
668
- */
669
- interface EndCallData {
670
- /**
671
- * 📝 Call outcome classification
672
- * @description How the call ended (default: "RES" for Resolved)
673
- * @type {string | undefined}
674
- */
675
- disposition?: string;
676
-
677
- /**
678
- * 📅 Follow-up requirement
679
- * @description Whether follow-up is required (default: "N" for No)
680
- * @type {string | undefined}
681
- */
682
- followUp?: string;
683
-
684
- /**
685
- * 📅 Scheduled callback date
686
- * @description Date for callback scheduling (YYYY-MM-DD format)
687
- * @type {string | undefined}
688
- */
689
- callbackDate?: string;
690
-
691
- /**
692
- * 🕐 Scheduled callback hour
693
- * @description Hour for callback scheduling (0-23)
694
- * @type {string | undefined}
695
- */
696
- callbackHrs?: string;
697
-
698
- /**
699
- * 🕐 Scheduled callback minute
700
- * @description Minute for callback scheduling (0-59)
701
- * @type {string | undefined}
702
- */
703
- callbackMins?: string;
704
- }
705
-
706
699
  /**
707
700
  * 📞 Call Data Interface
708
701
  *
709
- * @interface EndCallData
702
+ * @interface EndCallPayLoadData
710
703
  * @description 📊 Type definition for call data structure
711
704
  * Contains information about the current call
712
705
  *
@@ -717,7 +710,7 @@ interface EndCallData {
717
710
  * @since 1.0.0
718
711
  * @author CTI SDK Team
719
712
  */
720
- interface EndCallData {
713
+ interface EndCallPayLoadData {
721
714
  /**
722
715
  * 🔗 Call reference identifier
723
716
  * @description Unique identifier for the call
@@ -754,7 +747,6 @@ interface EndCallData {
754
747
  */
755
748
 
756
749
  /**
757
- * @fileoverview 🚪 TypeScript Declaration File for useLogout Hook
758
750
  *
759
751
  * This file contains TypeScript type definitions for the useLogout custom hook
760
752
  * and its related interfaces. It provides comprehensive type safety and IntelliSense
@@ -826,10 +818,7 @@ interface LogoutPayload {
826
818
  *
827
819
  * @example
828
820
  * ```typescript
829
- * const logout: LogoutFunction = async () => {
830
- * // Logout logic
831
- * return await apiCall();
832
- * };
821
+ * const logout();
833
822
  * ```
834
823
  *
835
824
  * @since 1.0.0
@@ -1158,10 +1147,9 @@ interface StartCallPayload {
1158
1147
  *
1159
1148
  * @example
1160
1149
  * ```typescript
1161
- * const handleStartCall: CallInitiationFunction = async (data) => {
1162
- * // Call initiation logic
1163
- * return await apiCall(data);
1164
- * };
1150
+ * const handleStartCall({
1151
+ * mobileNumber: "1234567890"
1152
+ * })
1165
1153
  * ```
1166
1154
  *
1167
1155
  * @since 1.0.0
@@ -1333,7 +1321,7 @@ declare const useClickToCall: () => UseClickToCallReturn;
1333
1321
  * @since 1.0.0
1334
1322
  * @author CTI SDK Team
1335
1323
  */
1336
- type AgentStatus = "IDLE" | "ONCALL" | "BUSY" | "AWAY" | "BREAK";
1324
+ type AgentStatus = string;
1337
1325
 
1338
1326
  /**
1339
1327
  * 📞 Conference Line Interface
@@ -1647,4 +1635,4 @@ interface ErrorResponse {
1647
1635
  details?: any;
1648
1636
  }
1649
1637
 
1650
- export { type APIResponse, type AgentStatus, CallControlPanel, type CallControlPanelProps, type CallData, type CallInitiationFunction, type CallTerminationFunction, type CleanupOperation, type ConferenceLine, type DispositionType, type EndCallData, type EndCallPayload, type ErrorResponse, type FollowUpType, type HookStateTypes, type InitSDKParams, type LogoutFunction, type LogoutHookStateTypes, type LogoutPayload, type ProcessData, type SDKConfig, type SDKState, type StartCallPayload, type StartCalltData, type StartCalltHookStateTypes, type StorageType, type UseClickToCallReturn, type UseEndCallReturn, type UseLogoutReturn, getSDKVersion, initSDK, isSDKInitialized, useClickToCall, useEndCall, useLogout };
1638
+ export { type APIResponse, type AgentStatus, CallControlPanel, type CallControlPanelProps, type CallData, type CallInitiationFunction, type CallTerminationFunction, type CleanupOperation, type ConferenceLine, type DispositionType, type EndCallData, type EndCallPayLoadData, type EndCallPayload, type ErrorResponse, type FollowUpType, type HookStateTypes, type InitSDKParams, type LogoutFunction, type LogoutHookStateTypes, type LogoutPayload, type ProcessData, type SDKConfig, type SDKState, type StartCallPayload, type StartCalltData, type StartCalltHookStateTypes, type StorageType, type UseClickToCallReturn, type UseEndCallReturn, type UseLogoutReturn, getSDKVersion, initSDK, isSDKInitialized, useClickToCall, useEndCall, useLogout };
package/dist/index.d.ts CHANGED
@@ -155,6 +155,10 @@ declare function isSDKInitialized(): boolean;
155
155
  * @example
156
156
  * ```tsx
157
157
  * <CallControlPanel onDataChange={handleDataChange} />
158
+ *
159
+ * <CallControlPanel onDataChange={(data) => {
160
+ * console.log('Call Data:', data);
161
+ * }} />
158
162
  * ```
159
163
  *
160
164
  * @since 1.0.0
@@ -174,15 +178,10 @@ declare const CallControlPanel: React.ComponentType<CallControlPanelProps>;
174
178
  * Contains all necessary information about active calls, including metadata, status, and references.
175
179
  *
176
180
  * @properties
177
- * - `mobileNumber?: string` - Mobile number of the caller or callee
178
181
  * - `callReferenceId?: string` - Unique reference identifier for the call
179
- * - `convoxId?: string` - Convox system identifier for the call
180
- * - `type?: string` - Type of call (inbound, outbound, internal, etc.)
181
182
  * - `status?: string` - Current status of the call (ONCALL, RINGING, WRAPUP, etc.)
182
183
  * - `agent_id?: string` - Agent identifier associated with the call
183
184
  * - `phone_number?: string` - Phone number involved in the call
184
- * - `event_time?: string` - Timestamp when the call event occurred
185
- * - `convox_id?: string` - Convox system call ID
186
185
  * - `process_id?: string` - Process identifier for the call
187
186
  * - `process_name?: string` - Name of the process handling the call
188
187
  *
@@ -190,15 +189,10 @@ declare const CallControlPanel: React.ComponentType<CallControlPanelProps>;
190
189
  * @author CTI SDK Team
191
190
  */
192
191
  interface CallData {
193
- mobileNumber?: string;
194
192
  callReferenceId?: string;
195
- convoxId?: string;
196
- type?: string;
197
193
  status?: string;
198
194
  agent_id?: string;
199
195
  phone_number?: string;
200
- event_time?: string;
201
- convox_id?: string;
202
196
  process_id?: string;
203
197
  process_name?: string;
204
198
  }
@@ -258,7 +252,6 @@ interface CallControlPanelProps {
258
252
  // =============================================================================
259
253
 
260
254
  /**
261
- * @fileoverview 📞 TypeScript Declaration File for useEndCall Hook
262
255
  *
263
256
  * This file contains TypeScript type definitions for the useEndCall custom hook
264
257
  * and its related interfaces. It provides comprehensive type safety and IntelliSense
@@ -399,6 +392,78 @@ interface EndCallPayload {
399
392
  refno?: string;
400
393
  }
401
394
 
395
+ /**
396
+ * 📅 End Call Data Interface
397
+ *
398
+ * @interface EndCallData
399
+ * @description 📊 Defines the structure for call termination input data
400
+ * Contains disposition and callback information for ending calls
401
+ *
402
+ * @properties
403
+ * - `disposition?: string` - 📝 Call outcome classification (default: "RES")
404
+ * - `followUp?: string` - 📅 Follow-up requirement (default: "N")
405
+ * - `callbackDate?: string` - 📅 Scheduled callback date (default: "")
406
+ * - `callbackHrs?: string` - 🕐 Scheduled callback hour (default: "")
407
+ * - `callbackMins?: string` - 🕐 Scheduled callback minute (default: "")
408
+ *
409
+ * @example
410
+ * ```typescript
411
+ * // Basic end call data
412
+ * const endCallData: EndCallData = {
413
+ * disposition: "RES",
414
+ * followUp: "N"
415
+ * };
416
+ *
417
+ * // With callback scheduling
418
+ * const endCallWithCallback: EndCallData = {
419
+ * disposition: "RES",
420
+ * followUp: "Y",
421
+ * callbackDate: "2024-01-15",
422
+ * callbackHrs: "14",
423
+ * callbackMins: "30"
424
+ * };
425
+ * ```
426
+ *
427
+ * @since 1.0.0
428
+ * @author CTI SDK Team
429
+ */
430
+ interface EndCallData {
431
+ /**
432
+ * 📝 Call outcome classification
433
+ * @description How the call ended (default: "RES" for Resolved)
434
+ * @type {string | undefined}
435
+ */
436
+ disposition?: string;
437
+
438
+ /**
439
+ * 📅 Follow-up requirement
440
+ * @description Whether follow-up is required (default: "N" for No)
441
+ * @type {string | undefined}
442
+ */
443
+ followUp?: string;
444
+
445
+ /**
446
+ * 📅 Scheduled callback date
447
+ * @description Date for callback scheduling (YYYY-MM-DD format)
448
+ * @type {string | undefined}
449
+ */
450
+ callbackDate?: string;
451
+
452
+ /**
453
+ * 🕐 Scheduled callback hour
454
+ * @description Hour for callback scheduling (0-23)
455
+ * @type {string | undefined}
456
+ */
457
+ callbackHrs?: string;
458
+
459
+ /**
460
+ * 🕐 Scheduled callback minute
461
+ * @description Minute for callback scheduling (0-59)
462
+ * @type {string | undefined}
463
+ */
464
+ callbackMins?: string;
465
+ }
466
+
402
467
  /**
403
468
  * 📞 Call Termination Function Type
404
469
  *
@@ -587,7 +652,7 @@ declare const useEndCall: () => UseEndCallReturn;
587
652
  * @since 1.0.0
588
653
  * @author CTI SDK Team
589
654
  */
590
- type DispositionType = "RES" | "NI" | "CB" | "NA" | "BUSY" | "NO_ANSWER";
655
+ type DispositionType = string;
591
656
 
592
657
  /**
593
658
  * 📅 Follow-up Types
@@ -599,7 +664,7 @@ type DispositionType = "RES" | "NI" | "CB" | "NA" | "BUSY" | "NO_ANSWER";
599
664
  * @since 1.0.0
600
665
  * @author CTI SDK Team
601
666
  */
602
- type FollowUpType = "Y" | "N";
667
+ type FollowUpType = string;
603
668
 
604
669
  /**
605
670
  * ⚙️ Process Data Interface
@@ -631,82 +696,10 @@ interface ProcessData {
631
696
  process_name: string;
632
697
  }
633
698
 
634
- /**
635
- * 📅 End Call Data Interface
636
- *
637
- * @interface EndCallData
638
- * @description 📊 Defines the structure for call termination input data
639
- * Contains disposition and callback information for ending calls
640
- *
641
- * @properties
642
- * - `disposition?: string` - 📝 Call outcome classification (default: "RES")
643
- * - `followUp?: string` - 📅 Follow-up requirement (default: "N")
644
- * - `callbackDate?: string` - 📅 Scheduled callback date (default: "")
645
- * - `callbackHrs?: string` - 🕐 Scheduled callback hour (default: "")
646
- * - `callbackMins?: string` - 🕐 Scheduled callback minute (default: "")
647
- *
648
- * @example
649
- * ```typescript
650
- * // Basic end call data
651
- * const endCallData: EndCallData = {
652
- * disposition: "RES",
653
- * followUp: "N"
654
- * };
655
- *
656
- * // With callback scheduling
657
- * const endCallWithCallback: EndCallData = {
658
- * disposition: "RES",
659
- * followUp: "Y",
660
- * callbackDate: "2024-01-15",
661
- * callbackHrs: "14",
662
- * callbackMins: "30"
663
- * };
664
- * ```
665
- *
666
- * @since 1.0.0
667
- * @author CTI SDK Team
668
- */
669
- interface EndCallData {
670
- /**
671
- * 📝 Call outcome classification
672
- * @description How the call ended (default: "RES" for Resolved)
673
- * @type {string | undefined}
674
- */
675
- disposition?: string;
676
-
677
- /**
678
- * 📅 Follow-up requirement
679
- * @description Whether follow-up is required (default: "N" for No)
680
- * @type {string | undefined}
681
- */
682
- followUp?: string;
683
-
684
- /**
685
- * 📅 Scheduled callback date
686
- * @description Date for callback scheduling (YYYY-MM-DD format)
687
- * @type {string | undefined}
688
- */
689
- callbackDate?: string;
690
-
691
- /**
692
- * 🕐 Scheduled callback hour
693
- * @description Hour for callback scheduling (0-23)
694
- * @type {string | undefined}
695
- */
696
- callbackHrs?: string;
697
-
698
- /**
699
- * 🕐 Scheduled callback minute
700
- * @description Minute for callback scheduling (0-59)
701
- * @type {string | undefined}
702
- */
703
- callbackMins?: string;
704
- }
705
-
706
699
  /**
707
700
  * 📞 Call Data Interface
708
701
  *
709
- * @interface EndCallData
702
+ * @interface EndCallPayLoadData
710
703
  * @description 📊 Type definition for call data structure
711
704
  * Contains information about the current call
712
705
  *
@@ -717,7 +710,7 @@ interface EndCallData {
717
710
  * @since 1.0.0
718
711
  * @author CTI SDK Team
719
712
  */
720
- interface EndCallData {
713
+ interface EndCallPayLoadData {
721
714
  /**
722
715
  * 🔗 Call reference identifier
723
716
  * @description Unique identifier for the call
@@ -754,7 +747,6 @@ interface EndCallData {
754
747
  */
755
748
 
756
749
  /**
757
- * @fileoverview 🚪 TypeScript Declaration File for useLogout Hook
758
750
  *
759
751
  * This file contains TypeScript type definitions for the useLogout custom hook
760
752
  * and its related interfaces. It provides comprehensive type safety and IntelliSense
@@ -826,10 +818,7 @@ interface LogoutPayload {
826
818
  *
827
819
  * @example
828
820
  * ```typescript
829
- * const logout: LogoutFunction = async () => {
830
- * // Logout logic
831
- * return await apiCall();
832
- * };
821
+ * const logout();
833
822
  * ```
834
823
  *
835
824
  * @since 1.0.0
@@ -1158,10 +1147,9 @@ interface StartCallPayload {
1158
1147
  *
1159
1148
  * @example
1160
1149
  * ```typescript
1161
- * const handleStartCall: CallInitiationFunction = async (data) => {
1162
- * // Call initiation logic
1163
- * return await apiCall(data);
1164
- * };
1150
+ * const handleStartCall({
1151
+ * mobileNumber: "1234567890"
1152
+ * })
1165
1153
  * ```
1166
1154
  *
1167
1155
  * @since 1.0.0
@@ -1333,7 +1321,7 @@ declare const useClickToCall: () => UseClickToCallReturn;
1333
1321
  * @since 1.0.0
1334
1322
  * @author CTI SDK Team
1335
1323
  */
1336
- type AgentStatus = "IDLE" | "ONCALL" | "BUSY" | "AWAY" | "BREAK";
1324
+ type AgentStatus = string;
1337
1325
 
1338
1326
  /**
1339
1327
  * 📞 Conference Line Interface
@@ -1647,4 +1635,4 @@ interface ErrorResponse {
1647
1635
  details?: any;
1648
1636
  }
1649
1637
 
1650
- export { type APIResponse, type AgentStatus, CallControlPanel, type CallControlPanelProps, type CallData, type CallInitiationFunction, type CallTerminationFunction, type CleanupOperation, type ConferenceLine, type DispositionType, type EndCallData, type EndCallPayload, type ErrorResponse, type FollowUpType, type HookStateTypes, type InitSDKParams, type LogoutFunction, type LogoutHookStateTypes, type LogoutPayload, type ProcessData, type SDKConfig, type SDKState, type StartCallPayload, type StartCalltData, type StartCalltHookStateTypes, type StorageType, type UseClickToCallReturn, type UseEndCallReturn, type UseLogoutReturn, getSDKVersion, initSDK, isSDKInitialized, useClickToCall, useEndCall, useLogout };
1638
+ export { type APIResponse, type AgentStatus, CallControlPanel, type CallControlPanelProps, type CallData, type CallInitiationFunction, type CallTerminationFunction, type CleanupOperation, type ConferenceLine, type DispositionType, type EndCallData, type EndCallPayLoadData, type EndCallPayload, type ErrorResponse, type FollowUpType, type HookStateTypes, type InitSDKParams, type LogoutFunction, type LogoutHookStateTypes, type LogoutPayload, type ProcessData, type SDKConfig, type SDKState, type StartCallPayload, type StartCalltData, type StartCalltHookStateTypes, type StorageType, type UseClickToCallReturn, type UseEndCallReturn, type UseLogoutReturn, getSDKVersion, initSDK, isSDKInitialized, useClickToCall, useEndCall, useLogout };