Comparing version 4.20.0 to 4.20.1
@@ -7,3 +7,2 @@ import { FleetListInstance } from "./preview/deployed_devices/fleet"; | ||
import { ServiceListInstance } from "./preview/sync/service"; | ||
import { AssistantListInstance } from "./preview/understand/assistant"; | ||
import { CommandListInstance } from "./preview/wireless/command"; | ||
@@ -39,6 +38,2 @@ import { RatePlanListInstance } from "./preview/wireless/ratePlan"; | ||
/** | ||
* @deprecated - Use understand.assistants instead | ||
*/ | ||
get assistants(): AssistantListInstance; | ||
/** | ||
* @deprecated - Use wireless.commands instead | ||
@@ -45,0 +40,0 @@ */ |
@@ -50,9 +50,2 @@ "use strict"; | ||
/** | ||
* @deprecated - Use understand.assistants instead | ||
*/ | ||
get assistants() { | ||
console.warn("assistants is deprecated. Use understand.assistants instead."); | ||
return this.understand.assistants; | ||
} | ||
/** | ||
* @deprecated - Use wireless.commands instead | ||
@@ -59,0 +52,0 @@ */ |
@@ -6,3 +6,2 @@ import Domain from "../base/Domain"; | ||
import Marketplace from "./preview/Marketplace"; | ||
import Understand from "./preview/Understand"; | ||
import Wireless from "./preview/Wireless"; | ||
@@ -14,3 +13,2 @@ declare class PreviewBase extends Domain { | ||
_marketplace?: Marketplace; | ||
_understand?: Understand; | ||
_wireless?: Wireless; | ||
@@ -27,5 +25,4 @@ /** | ||
get marketplace(): Marketplace; | ||
get understand(): Understand; | ||
get wireless(): Wireless; | ||
} | ||
export = PreviewBase; |
@@ -20,3 +20,2 @@ "use strict"; | ||
const Marketplace_1 = __importDefault(require("./preview/Marketplace")); | ||
const Understand_1 = __importDefault(require("./preview/Understand")); | ||
const Wireless_1 = __importDefault(require("./preview/Wireless")); | ||
@@ -49,6 +48,2 @@ class PreviewBase extends Domain_1.default { | ||
} | ||
get understand() { | ||
this._understand = this._understand || new Understand_1.default(this); | ||
return this._understand; | ||
} | ||
get wireless() { | ||
@@ -55,0 +50,0 @@ this._wireless = this._wireless || new Wireless_1.default(this); |
import { Client, ClientOpts, RequestOpts } from "../base/BaseTwilio"; | ||
import Accounts from "./Accounts"; | ||
import Api from "./Api"; | ||
import Autopilot from "./Autopilot"; | ||
import Bulkexports from "./Bulkexports"; | ||
@@ -69,4 +68,2 @@ import Chat from "./Chat"; | ||
_api?: Api; | ||
/** (Twilio.Autopilot) - autopilot domain */ | ||
_autopilot?: Autopilot; | ||
/** (Twilio.Bulkexports) - bulkexports domain */ | ||
@@ -152,4 +149,2 @@ _bulkexports?: Bulkexports; | ||
get api(): Api; | ||
/** Getter for (Twilio.Autopilot) domain */ | ||
get autopilot(): Autopilot; | ||
/** Getter for (Twilio.Bulkexports) domain */ | ||
@@ -156,0 +151,0 @@ get bulkexports(): Bulkexports; |
@@ -37,3 +37,2 @@ "use strict"; | ||
this.api; | ||
this.autopilot; | ||
this.bulkexports; | ||
@@ -82,6 +81,2 @@ this.chat; | ||
} | ||
/** Getter for (Twilio.Autopilot) domain */ | ||
get autopilot() { | ||
return (this._autopilot ?? (this._autopilot = new (require("./Autopilot"))(this))); | ||
} | ||
/** Getter for (Twilio.Bulkexports) domain */ | ||
@@ -88,0 +83,0 @@ get bulkexports() { |
{ | ||
"name": "twilio", | ||
"description": "A Twilio helper library", | ||
"version": "4.20.0", | ||
"version": "4.20.1", | ||
"author": "API Team <api@twilio.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9694083
1201
238825