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: removed page namespace from imports and references #841

Merged
merged 3 commits into from
Dec 15, 2022
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions lib/rest/accounts/v1/credential/aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../base/Page";
import Response from "../../../../http/response";
import V1 from "../../V1";
const deserialize = require("../../../../base/deserialize");
Expand Down Expand Up @@ -242,7 +242,7 @@ export class AwsContextImpl implements AwsContext {
}
}

interface AwsPayload extends AwsResource, Page.TwilioResponsePayload {}
interface AwsPayload extends AwsResource, TwilioResponsePayload {}

interface AwsResource {
sid?: string | null;
Expand Down
6 changes: 2 additions & 4 deletions lib/rest/accounts/v1/credential/publicKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../base/Page";
import Response from "../../../../http/response";
import V1 from "../../V1";
const deserialize = require("../../../../base/deserialize");
Expand Down Expand Up @@ -242,9 +242,7 @@ export class PublicKeyContextImpl implements PublicKeyContext {
}
}

interface PublicKeyPayload
extends PublicKeyResource,
Page.TwilioResponsePayload {}
interface PublicKeyPayload extends PublicKeyResource, TwilioResponsePayload {}

interface PublicKeyResource {
sid?: string | null;
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/api/v2010/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../base/Page";
import Response from "../../../http/response";
import V2010 from "../V2010";
const deserialize = require("../../../base/deserialize");
Expand Down Expand Up @@ -466,7 +466,7 @@ export class AccountContextImpl implements AccountContext {
}
}

interface AccountPayload extends AccountResource, Page.TwilioResponsePayload {}
interface AccountPayload extends AccountResource, TwilioResponsePayload {}

interface AccountResource {
auth_token?: string | null;
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/api/v2010/account/address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../base/Page";
import Response from "../../../../http/response";
import V2010 from "../../V2010";
const deserialize = require("../../../../base/deserialize");
Expand Down Expand Up @@ -334,7 +334,7 @@ export class AddressContextImpl implements AddressContext {
}
}

interface AddressPayload extends AddressResource, Page.TwilioResponsePayload {}
interface AddressPayload extends AddressResource, TwilioResponsePayload {}

interface AddressResource {
account_sid?: string | null;
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/api/v2010/account/address/dependentPhoneNumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -366,7 +366,7 @@ export type DependentPhoneNumberStatusCallbackMethod =

interface DependentPhoneNumberPayload
extends DependentPhoneNumberResource,
Page.TwilioResponsePayload {}
TwilioResponsePayload {}

interface DependentPhoneNumberResource {
sid?: string | null;
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/api/v2010/account/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../base/Page";
import Response from "../../../../http/response";
import V2010 from "../../V2010";
const deserialize = require("../../../../base/deserialize");
Expand Down Expand Up @@ -380,7 +380,7 @@ export type ApplicationVoiceMethod =

interface ApplicationPayload
extends ApplicationResource,
Page.TwilioResponsePayload {}
TwilioResponsePayload {}

interface ApplicationResource {
account_sid?: string | null;
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/api/v2010/account/authorizedConnectApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../base/Page";
import Response from "../../../../http/response";
import V2010 from "../../V2010";
const deserialize = require("../../../../base/deserialize");
Expand Down Expand Up @@ -159,7 +159,7 @@ export class AuthorizedConnectAppContextImpl

interface AuthorizedConnectAppPayload
extends AuthorizedConnectAppResource,
Page.TwilioResponsePayload {}
TwilioResponsePayload {}

interface AuthorizedConnectAppResource {
account_sid?: string | null;
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/api/v2010/account/availablePhoneNumberCountry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../base/Page";
import Response from "../../../../http/response";
import V2010 from "../../V2010";
const deserialize = require("../../../../base/deserialize");
Expand Down Expand Up @@ -260,7 +260,7 @@ export class AvailablePhoneNumberCountryContextImpl

interface AvailablePhoneNumberCountryPayload
extends AvailablePhoneNumberCountryResource,
Page.TwilioResponsePayload {}
TwilioResponsePayload {}

interface AvailablePhoneNumberCountryResource {
country_code?: string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -447,7 +447,7 @@ export function LocalListInstance(
return instance;
}

interface LocalPayload extends LocalResource, Page.TwilioResponsePayload {}
interface LocalPayload extends LocalResource, TwilioResponsePayload {}

interface LocalResource {
friendly_name?: string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -461,7 +461,7 @@ export function MachineToMachineListInstance(

interface MachineToMachinePayload
extends MachineToMachineResource,
Page.TwilioResponsePayload {}
TwilioResponsePayload {}

interface MachineToMachineResource {
friendly_name?: string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -447,7 +447,7 @@ export function MobileListInstance(
return instance;
}

interface MobilePayload extends MobileResource, Page.TwilioResponsePayload {}
interface MobilePayload extends MobileResource, TwilioResponsePayload {}

interface MobileResource {
friendly_name?: string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -447,9 +447,7 @@ export function NationalListInstance(
return instance;
}

interface NationalPayload
extends NationalResource,
Page.TwilioResponsePayload {}
interface NationalPayload extends NationalResource, TwilioResponsePayload {}

interface NationalResource {
friendly_name?: string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -447,9 +447,7 @@ export function SharedCostListInstance(
return instance;
}

interface SharedCostPayload
extends SharedCostResource,
Page.TwilioResponsePayload {}
interface SharedCostPayload extends SharedCostResource, TwilioResponsePayload {}

interface SharedCostResource {
friendly_name?: string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -447,9 +447,7 @@ export function TollFreeListInstance(
return instance;
}

interface TollFreePayload
extends TollFreeResource,
Page.TwilioResponsePayload {}
interface TollFreePayload extends TollFreeResource, TwilioResponsePayload {}

interface TollFreeResource {
friendly_name?: string | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -447,7 +447,7 @@ export function VoipListInstance(
return instance;
}

interface VoipPayload extends VoipResource, Page.TwilioResponsePayload {}
interface VoipPayload extends VoipResource, TwilioResponsePayload {}

interface VoipResource {
friendly_name?: string | null;
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/api/v2010/account/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../base/Page";
import Response from "../../../../http/response";
import V2010 from "../../V2010";
const deserialize = require("../../../../base/deserialize");
Expand Down Expand Up @@ -551,7 +551,7 @@ export class CallContextImpl implements CallContext {
}
}

interface CallPayload extends CallResource, Page.TwilioResponsePayload {}
interface CallPayload extends CallResource, TwilioResponsePayload {}

interface CallResource {
sid?: string | null;
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/api/v2010/account/call/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -301,7 +301,7 @@ export function EventListInstance(
return instance;
}

interface EventPayload extends EventResource, Page.TwilioResponsePayload {}
interface EventPayload extends EventResource, TwilioResponsePayload {}

interface EventResource {
request?: any | null;
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/api/v2010/account/call/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -190,7 +190,7 @@ export type NotificationRequestMethod =

interface NotificationPayload
extends NotificationResource,
Page.TwilioResponsePayload {}
TwilioResponsePayload {}

interface NotificationResource {
account_sid?: string | null;
Expand Down
6 changes: 2 additions & 4 deletions lib/rest/api/v2010/account/call/recording.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -304,9 +304,7 @@ export class RecordingContextImpl implements RecordingContext {
}
}

interface RecordingPayload
extends RecordingResource,
Page.TwilioResponsePayload {}
interface RecordingPayload extends RecordingResource, TwilioResponsePayload {}

interface RecordingResource {
account_sid?: string | null;
Expand Down
6 changes: 2 additions & 4 deletions lib/rest/api/v2010/account/conference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../base/Page";
import Response from "../../../../http/response";
import V2010 from "../../V2010";
const deserialize = require("../../../../base/deserialize");
Expand Down Expand Up @@ -315,9 +315,7 @@ export class ConferenceContextImpl implements ConferenceContext {
}
}

interface ConferencePayload
extends ConferenceResource,
Page.TwilioResponsePayload {}
interface ConferencePayload extends ConferenceResource, TwilioResponsePayload {}

interface ConferenceResource {
account_sid?: string | null;
Expand Down
4 changes: 2 additions & 2 deletions lib/rest/api/v2010/account/conference/participant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import { inspect, InspectOptions } from "util";
import Page from "../../../../../base/Page";
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
import Response from "../../../../../http/response";
import V2010 from "../../../V2010";
const deserialize = require("../../../../../base/deserialize");
Expand Down Expand Up @@ -427,7 +427,7 @@ export class ParticipantContextImpl implements ParticipantContext {

interface ParticipantPayload
extends ParticipantResource,
Page.TwilioResponsePayload {}
TwilioResponsePayload {}

interface ParticipantResource {
account_sid?: string | null;
Expand Down
Loading