@unboundcx/sdk 2.0.0 → 2.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unboundcx/sdk",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
4
  "description": "Official JavaScript SDK for the Unbound API - A comprehensive toolkit for integrating with Unbound's communication, AI, and data management services",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -186,6 +186,16 @@ export class PhoneNumbersService {
186
186
  );
187
187
  return result;
188
188
  }
189
+
190
+ async getRoutingOptions() {
191
+ const result = await this.sdk._fetch('/phoneNumbers/routing-options', 'GET');
192
+ return result;
193
+ }
194
+
195
+ async getSupportedCountries() {
196
+ const result = await this.sdk._fetch('/phoneNumbers/supported-countries', 'GET');
197
+ return result;
198
+ }
189
199
  }
190
200
 
191
201
  export class PhoneNumberCarrierService {