Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: removing oauth and autopilot references #997

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/rest/Autopilot.ts

This file was deleted.

33 changes: 0 additions & 33 deletions src/rest/AutopilotBase.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/rest/Oauth.ts

This file was deleted.

33 changes: 0 additions & 33 deletions src/rest/OauthBase.ts

This file was deleted.

18 changes: 0 additions & 18 deletions src/rest/Twilio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import { Client, ClientOpts, RequestOpts } from "../base/BaseTwilio";
import Accounts from "./Accounts";
import Api from "./Api";
import Autopilot from "./Autopilot";
import Bulkexports from "./Bulkexports";
import Chat from "./Chat";
import Content from "./Content";
Expand All @@ -30,7 +29,6 @@ import Microvisor from "./Microvisor";
import Monitor from "./Monitor";
import Notify from "./Notify";
import Numbers from "./Numbers";
import Oauth from "./Oauth";
import Preview from "./Preview";
import Pricing from "./Pricing";
import Proxy from "./Proxy";
Expand Down Expand Up @@ -82,8 +80,6 @@ class Twilio extends Client {
_accounts?: Accounts;
/** (Twilio.Api) - api domain */
_api?: Api;
/** (Twilio.Autopilot) - autopilot domain */
_autopilot?: Autopilot;
/** (Twilio.Bulkexports) - bulkexports domain */
_bulkexports?: Bulkexports;
/** (Twilio.Chat) - chat domain */
Expand Down Expand Up @@ -118,8 +114,6 @@ class Twilio extends Client {
_notify?: Notify;
/** (Twilio.Numbers) - numbers domain */
_numbers?: Numbers;
/** (Twilio.Oauth) - oauth domain */
_oauth?: Oauth;
/** (Twilio.Preview) - preview domain */
_preview?: Preview;
/** (Twilio.Pricing) - pricing domain */
Expand Down Expand Up @@ -170,7 +164,6 @@ class Twilio extends Client {
if (this.opts?.lazyLoading === false) {
this.accounts;
this.api;
this.autopilot;
this.bulkexports;
this.chat;
this.content;
Expand All @@ -188,7 +181,6 @@ class Twilio extends Client {
this.monitor;
this.notify;
this.numbers;
this.oauth;
this.preview;
this.pricing;
this.proxy;
Expand Down Expand Up @@ -218,12 +210,6 @@ class Twilio extends Client {
get api(): Api {
return this._api ?? (this._api = new (require("./Api"))(this));
}
/** Getter for (Twilio.Autopilot) domain */
get autopilot(): Autopilot {
return (
this._autopilot ?? (this._autopilot = new (require("./Autopilot"))(this))
);
}
/** Getter for (Twilio.Bulkexports) domain */
get bulkexports(): Bulkexports {
return (
Expand Down Expand Up @@ -314,10 +300,6 @@ class Twilio extends Client {
get numbers(): Numbers {
return this._numbers ?? (this._numbers = new (require("./Numbers"))(this));
}
/** Getter for (Twilio.Oauth) domain */
get oauth(): Oauth {
return this._oauth ?? (this._oauth = new (require("./Oauth"))(this));
}
/** Getter for (Twilio.Preview) domain */
get preview(): Preview {
return this._preview ?? (this._preview = new (require("./Preview"))(this));
Expand Down
47 changes: 0 additions & 47 deletions src/rest/autopilot/V1.ts

This file was deleted.

Loading
Loading