Skip to content

Commit

Permalink
chore: removing preview.understand reference
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 committed Feb 29, 2024
1 parent 64cbacd commit d4fe728
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 7,851 deletions.
11 changes: 0 additions & 11 deletions src/rest/Preview.ts
Expand Up @@ -4,7 +4,6 @@ import { HostedNumberOrderListInstance } from "./preview/hosted_numbers/hostedNu
import { AvailableAddOnListInstance } from "./preview/marketplace/availableAddOn";
import { InstalledAddOnListInstance } from "./preview/marketplace/installedAddOn";
import { ServiceListInstance } from "./preview/sync/service";
import { AssistantListInstance } from "./preview/understand/assistant";
import { CommandListInstance } from "./preview/wireless/command";
import { RatePlanListInstance } from "./preview/wireless/ratePlan";
import { SimListInstance } from "./preview/wireless/sim";
Expand Down Expand Up @@ -67,16 +66,6 @@ class Preview extends PreviewBase {
return this.sync.services;
}

/**
* @deprecated - Use understand.assistants instead
*/
get assistants(): AssistantListInstance {
console.warn(
"assistants is deprecated. Use understand.assistants instead."
);
return this.understand.assistants;
}

/**
* @deprecated - Use wireless.commands instead
*/
Expand Down
6 changes: 0 additions & 6 deletions src/rest/PreviewBase.ts
Expand Up @@ -14,15 +14,13 @@ import DeployedDevices from "./preview/DeployedDevices";
import HostedNumbers from "./preview/HostedNumbers";
import Sync from "./preview/Sync";
import Marketplace from "./preview/Marketplace";
import Understand from "./preview/Understand";
import Wireless from "./preview/Wireless";

class PreviewBase extends Domain {
_deployed_devices?: DeployedDevices;
_hosted_numbers?: HostedNumbers;
_sync?: Sync;
_marketplace?: Marketplace;
_understand?: Understand;
_wireless?: Wireless;

/**
Expand Down Expand Up @@ -51,10 +49,6 @@ class PreviewBase extends Domain {
this._marketplace = this._marketplace || new Marketplace(this);
return this._marketplace;
}
get understand(): Understand {
this._understand = this._understand || new Understand(this);
return this._understand;
}
get wireless(): Wireless {
this._wireless = this._wireless || new Wireless(this);
return this._wireless;
Expand Down
37 changes: 0 additions & 37 deletions src/rest/preview/Understand.ts

This file was deleted.

0 comments on commit d4fe728

Please sign in to comment.