call-control-sdk 6.2.2 → 6.2.3

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 (3) hide show
  1. package/README.md +58 -49
  2. package/package.json +1 -1
  3. package/LICENSE.res +0 -96
package/README.md CHANGED
@@ -1,15 +1,61 @@
1
1
  <div align="center">
2
2
 
3
- # 📞 Call Control SDK
3
+ ## Call Control SDK
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/call-control-sdk.svg?color=blue&style=for-the-badge)](https://www.npmjs.com/package/call-control-sdk)
6
6
  [![npm downloads](https://img.shields.io/npm/dm/call-control-sdk.svg?color=green&style=for-the-badge)](https://www.npmjs.com/package/call-control-sdk)
7
7
  [![bundle size](https://img.shields.io/bundlephobia/minzip/call-control-sdk?color=orange&style=for-the-badge)](https://bundlephobia.com/package/call-control-sdk)
8
8
  [![license](https://img.shields.io/npm/l/call-control-sdk.svg?style=for-the-badge)](https://github.com/your-org/call-control-sdk/blob/main/LICENSE)
9
9
 
10
- **A powerful, lightweight SDK for real-time call management with React hooks**
10
+ **A powerful, lightweight SDK for real-time call management**
11
11
 
12
- [📖 Documentation](#-documentation) • [🚀 Quick Start](#-quick-start) • [💡 Examples](#-examples) • [🔧 API Reference](#-api-reference)
12
+ <div align="center">
13
+ 🔑 **AUTHORIZED ACCESS REQUIRED** - API Key & Tenant ID
14
+ </div>
15
+
16
+ ### 🔑 **License Features**
17
+
18
+ - **API Key Authentication** - Secure access through authorized API keys
19
+ - **Tenant ID Management** - Multi-tenant support with isolated access
20
+ - **Cross-Platform Support** - Use across web, mobile, desktop, and server platforms
21
+ - **Usage Monitoring** - Real-time tracking and compliance monitoring
22
+ - **Flexible Deployment** - Deploy on authorized platforms with proper credentials
23
+
24
+ ### 🔒 **Access Requirements**
25
+
26
+ To use this SDK, you must have:
27
+
28
+ - ✅ **Valid API Key** - Issued by CTI SDK Team
29
+ - ✅ **Active Tenant ID** - Registered and in good standing
30
+ - ✅ **Active Subscription** - Current and compliant
31
+ - ✅ **Authorized Platform** - Using on approved platforms only
32
+
33
+ ### 🚫 **Prohibited Activities**
34
+
35
+ - **No Unauthorized Access** - Cannot use without valid credentials
36
+ - **No Credential Sharing** - API keys and tenant IDs are confidential
37
+ - **No Reverse Engineering** - Cannot decompile or reverse engineer
38
+ - **No Platform Violations** - Must use only on authorized platforms
39
+ - **No Usage Abuse** - Cannot exceed subscription limits
40
+
41
+ ## **Unauthorized access or misuse may result in immediate termination and legal action.**
42
+
43
+ ## 📑 Table of Contents
44
+
45
+ - [✨ Key Features](#-key-features)
46
+ - [📦 Installation](#-installation)
47
+ - [🚀 Quick Start](#-quick-start)
48
+ - [1️⃣ Initialize the SDK](#1️⃣-initialize-the-sdk)
49
+ - [2️⃣ Add Call Control Panel](#2️⃣-add-call-control-panel)
50
+ - [3️⃣ Use Call Management Hooks](#3️⃣-use-call-management-hooks)
51
+ - [🔧 Configuration Options](#-configuration-options)
52
+ - [📚 API Reference](#-api-reference)
53
+ - [🔧 Core Functions](#-core-functions)
54
+ - [🪝 React Hooks](#-react-hooks)
55
+ - [📦 Data Types](#-data-types)
56
+ - [🎛 Control Features](#-control-features)
57
+ - [🌍 Browser Support](#-browser-support)
58
+ - [📄 License](#-license)
13
59
 
14
60
  </div>
15
61
 
@@ -19,7 +65,7 @@
19
65
 
20
66
  <table>
21
67
  <tr>
22
- <td width="50%">
68
+ <td width="100%">
23
69
 
24
70
  ### 🎯 **Complete Call Control**
25
71
 
@@ -29,7 +75,7 @@
29
75
  - End call with disposition
30
76
 
31
77
  </td>
32
- <td width="50%">
78
+ <td width="100%">
33
79
 
34
80
  ### 🖱️ **Intuitive Interface**
35
81
 
@@ -41,7 +87,7 @@
41
87
  </td>
42
88
  </tr>
43
89
  <tr>
44
- <td width="50%">
90
+ <td width="100%">
45
91
 
46
92
  ### 💾 **Smart State Management**
47
93
 
@@ -51,7 +97,7 @@
51
97
  - Cross-component sync
52
98
 
53
99
  </td>
54
- <td width="50%">
100
+ <td width="100%">
55
101
 
56
102
  ### 🎨 **Modern Design**
57
103
 
@@ -78,10 +124,11 @@ npm install call-control-sdk
78
124
 
79
125
  Make sure you have these peer dependencies installed:
80
126
 
127
+ <div align="center">
81
128
  ```bash
82
129
  npm install react react-dom axios @mui/material @mui/icons-material @emotion/react @emotion/styled
83
130
  ```
84
-
131
+ </div>
85
132
  ---
86
133
 
87
134
  ## 🚀 Quick Start
@@ -372,18 +419,11 @@ interface EndCallPayload {
372
419
  - **Agent Status** - Maintains current status across sessions
373
420
  - **Call State** - Preserves hold/mute states
374
421
 
375
- ### 🎨 **UI Features**
376
-
377
- - **Draggable Panel** - Moveable interface with position memory
378
- - **Touch Support** - Works on desktop and mobile devices
379
- - **Responsive Design** - Adapts to different screen sizes
380
- - **Material-UI** - Consistent, accessible design system
381
-
382
422
  ---
383
423
 
384
424
  ## 🌍 **Browser Support**
385
425
 
386
- <div align="center">
426
+ <div align="left">
387
427
 
388
428
  | Browser | Version | Status |
389
429
  | ----------------------------------------------------------------------------- | ------- | ------------ |
@@ -402,38 +442,7 @@ interface EndCallPayload {
402
442
 
403
443
  **REDIX LICENSE** © 2025
404
444
 
405
- [![license](https://img.shields.io/badge/License-Redix-blue?style=for-the-badge)](LICENSE.res)
406
- [![license](https://img.shields.io/badge/License-Proprietary-red?style=for-the-badge)](LICENSE)
407
-
408
- 🔑 **AUTHORIZED ACCESS REQUIRED** - API Key & Tenant ID Based
445
+ [![license](https://img.shields.io/badge/License-Redix-blue?style=for-the-badge)][PROPRIETARY]
446
+ [![license](https://img.shields.io/badge/License-Proprietary-red?style=for-the-badge)][ACHALA]
409
447
 
410
448
  </div>
411
-
412
- ### 🔑 **Redix License Features**
413
-
414
- This software uses a **Redix-based licensing system** that provides:
415
-
416
- - **API Key Authentication** - Secure access through authorized API keys
417
- - **Tenant ID Management** - Multi-tenant support with isolated access
418
- - **Cross-Platform Support** - Use across web, mobile, desktop, and server platforms
419
- - **Usage Monitoring** - Real-time tracking and compliance monitoring
420
- - **Flexible Deployment** - Deploy on authorized platforms with proper credentials
421
-
422
- ### 🔒 **Access Requirements**
423
-
424
- To use this SDK, you must have:
425
-
426
- - ✅ **Valid API Key** - Issued by CTI SDK Team
427
- - ✅ **Active Tenant ID** - Registered and in good standing
428
- - ✅ **Active Subscription** - Current and compliant
429
- - ✅ **Authorized Platform** - Using on approved platforms only
430
-
431
- ### 🚫 **Prohibited Activities**
432
-
433
- - **No Unauthorized Access** - Cannot use without valid credentials
434
- - **No Credential Sharing** - API keys and tenant IDs are confidential
435
- - **No Reverse Engineering** - Cannot decompile or reverse engineer
436
- - **No Platform Violations** - Must use only on authorized platforms
437
- - **No Usage Abuse** - Cannot exceed subscription limits
438
-
439
- **Unauthorized access or misuse may result in immediate termination and legal action.**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "call-control-sdk",
3
3
  "description": "Call Control SDK for Web RTC",
4
- "version": "6.2.2",
4
+ "version": "6.2.3",
5
5
  "author": "CTI SDK Team",
6
6
  "license": "MIT",
7
7
  "main": "./dist/index.js",
package/LICENSE.res DELETED
@@ -1,96 +0,0 @@
1
- REDIX SOFTWARE LICENSE AGREEMENT
2
-
3
- Copyright (c) 2025 CTI SDK Team. All rights reserved.
4
-
5
- IMPORTANT: READ CAREFULLY BEFORE USING THIS SOFTWARE
6
-
7
- This software and associated documentation files (the "Software") are proprietary
8
- and confidential. The Software is licensed, not sold, to you by CTI SDK Team
9
- ("Licensor") under the terms of this Redix-based license agreement.
10
-
11
- 1. GRANT OF LICENSE
12
- Subject to the terms and conditions of this agreement, Licensor hereby grants
13
- you a limited, non-exclusive, non-transferable license to use the Software
14
- solely through authorized API keys and tenant IDs across different platforms
15
- as specified in your subscription agreement.
16
-
17
- 2. AUTHORIZED ACCESS REQUIREMENTS
18
- You may use the Software ONLY when:
19
- - You possess a valid, authorized API key issued by Licensor
20
- - You have a valid tenant ID registered with Licensor
21
- - Your subscription is active and in good standing
22
- - You are using the Software on authorized platforms only
23
-
24
- 3. PLATFORM RESTRICTIONS
25
- The Software may be used on the following authorized platforms:
26
- - Web applications (browser-based)
27
- - Mobile applications (iOS/Android)
28
- - Desktop applications (Windows/macOS/Linux)
29
- - Server-side applications (Node.js/Python/Java)
30
- - Cloud platforms (AWS/Azure/GCP) - with prior written consent
31
-
32
- 4. PROHIBITED ACTIVITIES
33
- You may NOT:
34
- - Use the Software without valid API key and tenant ID
35
- - Share, transfer, or distribute your API key or tenant ID
36
- - Reverse engineer, decompile, or disassemble the Software
37
- - Create derivative works or modifications
38
- - Use the Software on unauthorized platforms
39
- - Exceed the usage limits defined in your subscription
40
- - Attempt to circumvent API rate limits or security measures
41
-
42
- 5. API KEY AND TENANT ID MANAGEMENT
43
- - API keys and tenant IDs are confidential and must be protected
44
- - You are responsible for maintaining the security of your credentials
45
- - Report any suspected compromise immediately to Licensor
46
- - Licensor reserves the right to revoke access at any time
47
- - Unauthorized use of credentials may result in immediate termination
48
-
49
- 6. USAGE MONITORING AND COMPLIANCE
50
- - Licensor may monitor usage patterns and API calls
51
- - You must comply with all usage limits and restrictions
52
- - Excessive or suspicious usage may trigger security reviews
53
- - Non-compliance may result in immediate license termination
54
-
55
- 7. PLATFORM-SPECIFIC TERMS
56
- - Each platform may have additional terms and conditions
57
- - Platform-specific features may require separate authorization
58
- - Cross-platform data sharing must comply with privacy regulations
59
- - Third-party integrations require prior written approval
60
-
61
- 8. OWNERSHIP AND INTELLECTUAL PROPERTY
62
- The Software and all intellectual property rights remain the exclusive
63
- property of Licensor. This license does not grant you any ownership rights.
64
-
65
- 9. CONFIDENTIALITY
66
- The Software contains confidential and proprietary information. You agree to:
67
- - Maintain strict confidentiality of all Software components
68
- - Not disclose API keys, tenant IDs, or Software details to third parties
69
- - Use reasonable care to protect against unauthorized access
70
- - Report any security breaches immediately
71
-
72
- 10. TERMINATION
73
- This license is effective until terminated. Licensor may terminate this
74
- license immediately if you breach any terms. Upon termination, you must:
75
- - Cease all use of the Software immediately
76
- - Destroy all copies of the Software
77
- - Return or destroy all API keys and credentials
78
- - Provide certification of compliance upon request
79
-
80
- 11. NO WARRANTY
81
- THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
82
- IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY,
83
- FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
84
-
85
- 12. LIMITATION OF LIABILITY
86
- IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY DAMAGES WHATSOEVER ARISING
87
- OUT OF THE USE OR INABILITY TO USE THE SOFTWARE.
88
-
89
- 13. GOVERNING LAW
90
- This agreement shall be governed by and construed in accordance with the
91
- laws of [Your Jurisdiction].
92
-
93
- By using this Software, you acknowledge that you have read this agreement,
94
- understand it, and agree to be bound by its terms and conditions.
95
-
96
- REDIX LICENSE VERSION 1.0 - Effective Date: January 1, 2025