Skip to content

Commit ce0804c

Browse files
KobeBrookssbansla
andauthored
chore: Removing Test Related To Deprecated Endpoint - OAuth (#963)
* removing test in relation to deprecated endpoint * removingn more oauth refrences --------- Co-authored-by: sbansla <104902068+sbansla@users.noreply.github.com>
1 parent 23eca56 commit ce0804c

File tree

9 files changed

+0
-1227
lines changed

9 files changed

+0
-1227
lines changed

src/rest/Oauth.ts

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/rest/OauthBase.ts

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/rest/Twilio.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import Microvisor from "./Microvisor";
3030
import Monitor from "./Monitor";
3131
import Notify from "./Notify";
3232
import Numbers from "./Numbers";
33-
import Oauth from "./Oauth";
3433
import Preview from "./Preview";
3534
import Pricing from "./Pricing";
3635
import Proxy from "./Proxy";
@@ -118,8 +117,6 @@ class Twilio extends Client {
118117
_notify?: Notify;
119118
/** (Twilio.Numbers) - numbers domain */
120119
_numbers?: Numbers;
121-
/** (Twilio.Oauth) - oauth domain */
122-
_oauth?: Oauth;
123120
/** (Twilio.Preview) - preview domain */
124121
_preview?: Preview;
125122
/** (Twilio.Pricing) - pricing domain */
@@ -188,7 +185,6 @@ class Twilio extends Client {
188185
this.monitor;
189186
this.notify;
190187
this.numbers;
191-
this.oauth;
192188
this.preview;
193189
this.pricing;
194190
this.proxy;
@@ -314,10 +310,6 @@ class Twilio extends Client {
314310
get numbers(): Numbers {
315311
return this._numbers ?? (this._numbers = new (require("./Numbers"))(this));
316312
}
317-
/** Getter for (Twilio.Oauth) domain */
318-
get oauth(): Oauth {
319-
return this._oauth ?? (this._oauth = new (require("./Oauth"))(this));
320-
}
321313
/** Getter for (Twilio.Preview) domain */
322314
get preview(): Preview {
323315
return this._preview ?? (this._preview = new (require("./Preview"))(this));

src/rest/oauth/V1.ts

Lines changed: 0 additions & 74 deletions
This file was deleted.

src/rest/oauth/v1/deviceCode.ts

Lines changed: 0 additions & 192 deletions
This file was deleted.

0 commit comments

Comments
 (0)