From f87672954e718401d5dffaf8cd7417660cc431df Mon Sep 17 00:00:00 2001 From: Aaron Hung Date: Tue, 13 Dec 2022 11:07:25 -0700 Subject: [PATCH] removed page namespace from imports and references --- lib/rest/accounts/v1/credential/aws.ts | 4 ++-- lib/rest/accounts/v1/credential/publicKey.ts | 6 ++---- lib/rest/api/v2010/account.ts | 4 ++-- lib/rest/api/v2010/account/address.ts | 4 ++-- lib/rest/api/v2010/account/address/dependentPhoneNumber.ts | 4 ++-- lib/rest/api/v2010/account/application.ts | 4 ++-- lib/rest/api/v2010/account/authorizedConnectApp.ts | 4 ++-- lib/rest/api/v2010/account/availablePhoneNumberCountry.ts | 4 ++-- .../api/v2010/account/availablePhoneNumberCountry/local.ts | 4 ++-- .../account/availablePhoneNumberCountry/machineToMachine.ts | 4 ++-- .../api/v2010/account/availablePhoneNumberCountry/mobile.ts | 4 ++-- .../v2010/account/availablePhoneNumberCountry/national.ts | 6 ++---- .../v2010/account/availablePhoneNumberCountry/sharedCost.ts | 6 ++---- .../v2010/account/availablePhoneNumberCountry/tollFree.ts | 6 ++---- .../api/v2010/account/availablePhoneNumberCountry/voip.ts | 4 ++-- lib/rest/api/v2010/account/call.ts | 4 ++-- lib/rest/api/v2010/account/call/event.ts | 4 ++-- lib/rest/api/v2010/account/call/notification.ts | 4 ++-- lib/rest/api/v2010/account/call/recording.ts | 6 ++---- lib/rest/api/v2010/account/conference.ts | 6 ++---- lib/rest/api/v2010/account/conference/participant.ts | 4 ++-- lib/rest/api/v2010/account/conference/recording.ts | 6 ++---- lib/rest/api/v2010/account/connectApp.ts | 6 ++---- lib/rest/api/v2010/account/incomingPhoneNumber.ts | 4 ++-- .../api/v2010/account/incomingPhoneNumber/assignedAddOn.ts | 4 ++-- .../assignedAddOn/assignedAddOnExtension.ts | 4 ++-- lib/rest/api/v2010/account/incomingPhoneNumber/local.ts | 4 ++-- lib/rest/api/v2010/account/incomingPhoneNumber/mobile.ts | 4 ++-- lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.ts | 6 ++---- lib/rest/api/v2010/account/key.ts | 4 ++-- lib/rest/api/v2010/account/message.ts | 4 ++-- lib/rest/api/v2010/account/message/media.ts | 4 ++-- lib/rest/api/v2010/account/notification.ts | 4 ++-- lib/rest/api/v2010/account/outgoingCallerId.ts | 4 ++-- lib/rest/api/v2010/account/queue.ts | 4 ++-- lib/rest/api/v2010/account/queue/member.ts | 4 ++-- lib/rest/api/v2010/account/recording.ts | 6 ++---- lib/rest/api/v2010/account/recording/addOnResult.ts | 4 ++-- lib/rest/api/v2010/account/recording/addOnResult/payload.ts | 4 ++-- lib/rest/api/v2010/account/recording/transcription.ts | 4 ++-- lib/rest/api/v2010/account/shortCode.ts | 6 ++---- lib/rest/api/v2010/account/signingKey.ts | 6 ++---- lib/rest/api/v2010/account/sip/credentialList.ts | 4 ++-- lib/rest/api/v2010/account/sip/credentialList/credential.ts | 6 ++---- lib/rest/api/v2010/account/sip/domain.ts | 4 ++-- .../authTypeCalls/authCallsCredentialListMapping.ts | 4 ++-- .../authTypeCalls/authCallsIpAccessControlListMapping.ts | 4 ++-- .../authRegistrationsCredentialListMapping.ts | 4 ++-- .../api/v2010/account/sip/domain/credentialListMapping.ts | 4 ++-- .../v2010/account/sip/domain/ipAccessControlListMapping.ts | 4 ++-- lib/rest/api/v2010/account/sip/ipAccessControlList.ts | 4 ++-- .../api/v2010/account/sip/ipAccessControlList/ipAddress.ts | 6 ++---- lib/rest/api/v2010/account/transcription.ts | 4 ++-- lib/rest/api/v2010/account/usage/record.ts | 4 ++-- lib/rest/api/v2010/account/usage/record/allTime.ts | 4 ++-- lib/rest/api/v2010/account/usage/record/daily.ts | 4 ++-- lib/rest/api/v2010/account/usage/record/lastMonth.ts | 6 ++---- lib/rest/api/v2010/account/usage/record/monthly.ts | 4 ++-- lib/rest/api/v2010/account/usage/record/thisMonth.ts | 6 ++---- lib/rest/api/v2010/account/usage/record/today.ts | 4 ++-- lib/rest/api/v2010/account/usage/record/yearly.ts | 4 ++-- lib/rest/api/v2010/account/usage/record/yesterday.ts | 6 ++---- lib/rest/api/v2010/account/usage/trigger.ts | 4 ++-- lib/rest/autopilot/v1/assistant.ts | 6 ++---- lib/rest/autopilot/v1/assistant/fieldType.ts | 6 ++---- lib/rest/autopilot/v1/assistant/fieldType/fieldValue.ts | 6 ++---- lib/rest/autopilot/v1/assistant/modelBuild.ts | 6 ++---- lib/rest/autopilot/v1/assistant/query.ts | 4 ++-- lib/rest/autopilot/v1/assistant/task.ts | 4 ++-- lib/rest/autopilot/v1/assistant/task/field.ts | 4 ++-- lib/rest/autopilot/v1/assistant/task/sample.ts | 4 ++-- lib/rest/autopilot/v1/assistant/webhook.ts | 4 ++-- lib/rest/bulkexports/v1/export/day.ts | 4 ++-- lib/rest/bulkexports/v1/export/exportCustomJob.ts | 4 ++-- lib/rest/chat/v1/credential.ts | 6 ++---- lib/rest/chat/v1/service.ts | 4 ++-- lib/rest/chat/v1/service/channel.ts | 4 ++-- lib/rest/chat/v1/service/channel/invite.ts | 4 ++-- lib/rest/chat/v1/service/channel/member.ts | 4 ++-- lib/rest/chat/v1/service/channel/message.ts | 4 ++-- lib/rest/chat/v1/service/role.ts | 4 ++-- lib/rest/chat/v1/service/user.ts | 4 ++-- lib/rest/chat/v1/service/user/userChannel.ts | 4 ++-- lib/rest/chat/v2/credential.ts | 6 ++---- lib/rest/chat/v2/service.ts | 4 ++-- lib/rest/chat/v2/service/binding.ts | 4 ++-- lib/rest/chat/v2/service/channel.ts | 4 ++-- lib/rest/chat/v2/service/channel/invite.ts | 4 ++-- lib/rest/chat/v2/service/channel/member.ts | 4 ++-- lib/rest/chat/v2/service/channel/message.ts | 4 ++-- lib/rest/chat/v2/service/channel/webhook.ts | 4 ++-- lib/rest/chat/v2/service/role.ts | 4 ++-- lib/rest/chat/v2/service/user.ts | 4 ++-- lib/rest/chat/v2/service/user/userBinding.ts | 4 ++-- lib/rest/chat/v2/service/user/userChannel.ts | 4 ++-- lib/rest/content/v1/content.ts | 4 ++-- lib/rest/conversations/v1/addressConfiguration.ts | 4 ++-- lib/rest/conversations/v1/conversation.ts | 4 ++-- lib/rest/conversations/v1/conversation/message.ts | 4 ++-- .../v1/conversation/message/deliveryReceipt.ts | 4 ++-- lib/rest/conversations/v1/conversation/participant.ts | 4 ++-- lib/rest/conversations/v1/conversation/webhook.ts | 4 ++-- lib/rest/conversations/v1/credential.ts | 6 ++---- lib/rest/conversations/v1/participantConversation.ts | 4 ++-- lib/rest/conversations/v1/role.ts | 4 ++-- lib/rest/conversations/v1/service.ts | 4 ++-- lib/rest/conversations/v1/service/binding.ts | 4 ++-- lib/rest/conversations/v1/service/conversation.ts | 4 ++-- lib/rest/conversations/v1/service/conversation/message.ts | 4 ++-- .../v1/service/conversation/message/deliveryReceipt.ts | 4 ++-- .../conversations/v1/service/conversation/participant.ts | 4 ++-- lib/rest/conversations/v1/service/conversation/webhook.ts | 4 ++-- .../conversations/v1/service/participantConversation.ts | 4 ++-- lib/rest/conversations/v1/service/role.ts | 4 ++-- lib/rest/conversations/v1/service/user.ts | 4 ++-- lib/rest/conversations/v1/service/user/userConversation.ts | 4 ++-- lib/rest/conversations/v1/user.ts | 4 ++-- lib/rest/conversations/v1/user/userConversation.ts | 4 ++-- lib/rest/events/v1/eventType.ts | 6 ++---- lib/rest/events/v1/schema/schemaVersion.ts | 4 ++-- lib/rest/events/v1/sink.ts | 4 ++-- lib/rest/events/v1/subscription.ts | 4 ++-- lib/rest/events/v1/subscription/subscribedEvent.ts | 4 ++-- lib/rest/flexApi/v1/channel.ts | 4 ++-- lib/rest/flexApi/v1/flexFlow.ts | 6 ++---- lib/rest/flexApi/v1/interaction/interactionChannel.ts | 4 ++-- .../interactionChannel/interactionChannelInvite.ts | 4 ++-- .../interactionChannel/interactionChannelParticipant.ts | 4 ++-- lib/rest/flexApi/v1/webChannel.ts | 6 ++---- lib/rest/insights/v1/call/event.ts | 4 ++-- lib/rest/insights/v1/call/metric.ts | 4 ++-- lib/rest/insights/v1/callSummaries.ts | 4 ++-- lib/rest/insights/v1/conference.ts | 6 ++---- lib/rest/insights/v1/conference/conferenceParticipant.ts | 4 ++-- lib/rest/insights/v1/room.ts | 4 ++-- lib/rest/insights/v1/room/participant.ts | 4 ++-- lib/rest/ipMessaging/v1/credential.ts | 6 ++---- lib/rest/ipMessaging/v1/service.ts | 4 ++-- lib/rest/ipMessaging/v1/service/channel.ts | 4 ++-- lib/rest/ipMessaging/v1/service/channel/invite.ts | 4 ++-- lib/rest/ipMessaging/v1/service/channel/member.ts | 4 ++-- lib/rest/ipMessaging/v1/service/channel/message.ts | 4 ++-- lib/rest/ipMessaging/v1/service/role.ts | 4 ++-- lib/rest/ipMessaging/v1/service/user.ts | 4 ++-- lib/rest/ipMessaging/v1/service/user/userChannel.ts | 4 ++-- lib/rest/ipMessaging/v2/credential.ts | 6 ++---- lib/rest/ipMessaging/v2/service.ts | 4 ++-- lib/rest/ipMessaging/v2/service/binding.ts | 4 ++-- lib/rest/ipMessaging/v2/service/channel.ts | 4 ++-- lib/rest/ipMessaging/v2/service/channel/invite.ts | 4 ++-- lib/rest/ipMessaging/v2/service/channel/member.ts | 4 ++-- lib/rest/ipMessaging/v2/service/channel/message.ts | 4 ++-- lib/rest/ipMessaging/v2/service/channel/webhook.ts | 4 ++-- lib/rest/ipMessaging/v2/service/role.ts | 4 ++-- lib/rest/ipMessaging/v2/service/user.ts | 4 ++-- lib/rest/ipMessaging/v2/service/user/userBinding.ts | 4 ++-- lib/rest/ipMessaging/v2/service/user/userChannel.ts | 4 ++-- lib/rest/media/v1/mediaProcessor.ts | 4 ++-- lib/rest/media/v1/mediaRecording.ts | 4 ++-- lib/rest/media/v1/playerStreamer.ts | 4 ++-- lib/rest/messaging/v1/brandRegistration.ts | 4 ++-- lib/rest/messaging/v1/brandRegistration/brandVetting.ts | 4 ++-- lib/rest/messaging/v1/service.ts | 4 ++-- lib/rest/messaging/v1/service/alphaSender.ts | 4 ++-- lib/rest/messaging/v1/service/phoneNumber.ts | 4 ++-- lib/rest/messaging/v1/service/shortCode.ts | 6 ++---- lib/rest/messaging/v1/service/usAppToPerson.ts | 4 ++-- lib/rest/messaging/v1/tollfreeVerification.ts | 4 ++-- lib/rest/microvisor/v1/app.ts | 4 ++-- lib/rest/microvisor/v1/device.ts | 4 ++-- lib/rest/monitor/v1/alert.ts | 4 ++-- lib/rest/monitor/v1/event.ts | 4 ++-- lib/rest/notify/v1/credential.ts | 6 ++---- lib/rest/notify/v1/service.ts | 4 ++-- lib/rest/notify/v1/service/binding.ts | 4 ++-- lib/rest/numbers/v2/regulatoryCompliance/bundle.ts | 4 ++-- .../numbers/v2/regulatoryCompliance/bundle/bundleCopy.ts | 6 ++---- .../numbers/v2/regulatoryCompliance/bundle/evaluation.ts | 6 ++---- .../v2/regulatoryCompliance/bundle/itemAssignment.ts | 4 ++-- lib/rest/numbers/v2/regulatoryCompliance/endUser.ts | 4 ++-- lib/rest/numbers/v2/regulatoryCompliance/endUserType.ts | 4 ++-- lib/rest/numbers/v2/regulatoryCompliance/regulation.ts | 6 ++---- .../numbers/v2/regulatoryCompliance/supportingDocument.ts | 4 ++-- .../v2/regulatoryCompliance/supportingDocumentType.ts | 4 ++-- lib/rest/preview/deployed_devices/fleet.ts | 4 ++-- lib/rest/preview/deployed_devices/fleet/certificate.ts | 4 ++-- lib/rest/preview/deployed_devices/fleet/deployment.ts | 6 ++---- lib/rest/preview/deployed_devices/fleet/device.ts | 4 ++-- lib/rest/preview/deployed_devices/fleet/key.ts | 4 ++-- lib/rest/preview/hosted_numbers/authorizationDocument.ts | 4 ++-- .../authorizationDocument/dependentHostedNumberOrder.ts | 4 ++-- lib/rest/preview/hosted_numbers/hostedNumberOrder.ts | 4 ++-- lib/rest/preview/marketplace/availableAddOn.ts | 4 ++-- .../marketplace/availableAddOn/availableAddOnExtension.ts | 4 ++-- lib/rest/preview/marketplace/installedAddOn.ts | 4 ++-- .../marketplace/installedAddOn/installedAddOnExtension.ts | 4 ++-- lib/rest/preview/sync/service.ts | 4 ++-- lib/rest/preview/sync/service/document.ts | 6 ++---- .../preview/sync/service/document/documentPermission.ts | 4 ++-- lib/rest/preview/sync/service/syncList.ts | 6 ++---- lib/rest/preview/sync/service/syncList/syncListItem.ts | 4 ++-- .../preview/sync/service/syncList/syncListPermission.ts | 4 ++-- lib/rest/preview/sync/service/syncMap.ts | 4 ++-- lib/rest/preview/sync/service/syncMap/syncMapItem.ts | 4 ++-- lib/rest/preview/sync/service/syncMap/syncMapPermission.ts | 4 ++-- lib/rest/preview/understand/assistant.ts | 6 ++---- lib/rest/preview/understand/assistant/fieldType.ts | 6 ++---- .../preview/understand/assistant/fieldType/fieldValue.ts | 6 ++---- lib/rest/preview/understand/assistant/modelBuild.ts | 6 ++---- lib/rest/preview/understand/assistant/query.ts | 4 ++-- lib/rest/preview/understand/assistant/task.ts | 4 ++-- lib/rest/preview/understand/assistant/task/field.ts | 4 ++-- lib/rest/preview/understand/assistant/task/sample.ts | 4 ++-- lib/rest/preview/wireless/command.ts | 4 ++-- lib/rest/preview/wireless/ratePlan.ts | 6 ++---- lib/rest/preview/wireless/sim.ts | 4 ++-- lib/rest/pricing/v1/messaging/country.ts | 4 ++-- lib/rest/pricing/v1/phoneNumber/country.ts | 4 ++-- lib/rest/pricing/v1/voice/country.ts | 4 ++-- lib/rest/pricing/v2/country.ts | 4 ++-- lib/rest/pricing/v2/voice/country.ts | 4 ++-- lib/rest/proxy/v1/service.ts | 4 ++-- lib/rest/proxy/v1/service/phoneNumber.ts | 4 ++-- lib/rest/proxy/v1/service/session.ts | 4 ++-- lib/rest/proxy/v1/service/session/interaction.ts | 4 ++-- lib/rest/proxy/v1/service/session/participant.ts | 4 ++-- .../v1/service/session/participant/messageInteraction.ts | 4 ++-- lib/rest/proxy/v1/service/shortCode.ts | 6 ++---- lib/rest/serverless/v1/service.ts | 4 ++-- lib/rest/serverless/v1/service/asset.ts | 4 ++-- lib/rest/serverless/v1/service/asset/assetVersion.ts | 4 ++-- lib/rest/serverless/v1/service/build.ts | 4 ++-- lib/rest/serverless/v1/service/environment.ts | 4 ++-- lib/rest/serverless/v1/service/environment/deployment.ts | 6 ++---- lib/rest/serverless/v1/service/environment/log.ts | 4 ++-- lib/rest/serverless/v1/service/environment/variable.ts | 6 ++---- lib/rest/serverless/v1/service/function.ts | 6 ++---- lib/rest/serverless/v1/service/function/functionVersion.ts | 4 ++-- lib/rest/studio/v1/flow.ts | 4 ++-- lib/rest/studio/v1/flow/engagement.ts | 6 ++---- lib/rest/studio/v1/flow/engagement/step.ts | 4 ++-- lib/rest/studio/v1/flow/execution.ts | 6 ++---- lib/rest/studio/v1/flow/execution/executionStep.ts | 4 ++-- lib/rest/studio/v2/flow.ts | 4 ++-- lib/rest/studio/v2/flow/execution.ts | 6 ++---- lib/rest/studio/v2/flow/execution/executionStep.ts | 4 ++-- lib/rest/studio/v2/flow/flowRevision.ts | 4 ++-- lib/rest/supersim/v1/esimProfile.ts | 4 ++-- lib/rest/supersim/v1/fleet.ts | 4 ++-- lib/rest/supersim/v1/ipCommand.ts | 6 ++---- lib/rest/supersim/v1/network.ts | 4 ++-- lib/rest/supersim/v1/networkAccessProfile.ts | 4 ++-- .../v1/networkAccessProfile/networkAccessProfileNetwork.ts | 4 ++-- lib/rest/supersim/v1/settingsUpdate.ts | 4 ++-- lib/rest/supersim/v1/sim.ts | 4 ++-- lib/rest/supersim/v1/sim/billingPeriod.ts | 4 ++-- lib/rest/supersim/v1/sim/simIpAddress.ts | 4 ++-- lib/rest/supersim/v1/smsCommand.ts | 6 ++---- lib/rest/supersim/v1/usageRecord.ts | 4 ++-- lib/rest/sync/v1/service.ts | 4 ++-- lib/rest/sync/v1/service/document.ts | 6 ++---- lib/rest/sync/v1/service/document/documentPermission.ts | 4 ++-- lib/rest/sync/v1/service/syncList.ts | 6 ++---- lib/rest/sync/v1/service/syncList/syncListItem.ts | 4 ++-- lib/rest/sync/v1/service/syncList/syncListPermission.ts | 4 ++-- lib/rest/sync/v1/service/syncMap.ts | 4 ++-- lib/rest/sync/v1/service/syncMap/syncMapItem.ts | 4 ++-- lib/rest/sync/v1/service/syncMap/syncMapPermission.ts | 4 ++-- lib/rest/sync/v1/service/syncStream.ts | 6 ++---- lib/rest/taskrouter/v1/workspace.ts | 6 ++---- lib/rest/taskrouter/v1/workspace/activity.ts | 6 ++---- lib/rest/taskrouter/v1/workspace/event.ts | 4 ++-- lib/rest/taskrouter/v1/workspace/task.ts | 4 ++-- lib/rest/taskrouter/v1/workspace/task/reservation.ts | 4 ++-- lib/rest/taskrouter/v1/workspace/taskChannel.ts | 4 ++-- lib/rest/taskrouter/v1/workspace/taskQueue.ts | 6 ++---- .../v1/workspace/taskQueue/taskQueuesStatistics.ts | 4 ++-- lib/rest/taskrouter/v1/workspace/worker.ts | 4 ++-- lib/rest/taskrouter/v1/workspace/worker/reservation.ts | 4 ++-- lib/rest/taskrouter/v1/workspace/worker/workerChannel.ts | 4 ++-- lib/rest/taskrouter/v1/workspace/workflow.ts | 6 ++---- lib/rest/trunking/v1/trunk.ts | 4 ++-- lib/rest/trunking/v1/trunk/credentialList.ts | 4 ++-- lib/rest/trunking/v1/trunk/ipAccessControlList.ts | 4 ++-- lib/rest/trunking/v1/trunk/originationUrl.ts | 4 ++-- lib/rest/trunking/v1/trunk/phoneNumber.ts | 4 ++-- lib/rest/trusthub/v1/customerProfiles.ts | 4 ++-- .../customerProfilesChannelEndpointAssignment.ts | 4 ++-- .../customerProfiles/customerProfilesEntityAssignments.ts | 4 ++-- .../v1/customerProfiles/customerProfilesEvaluations.ts | 4 ++-- lib/rest/trusthub/v1/endUser.ts | 4 ++-- lib/rest/trusthub/v1/endUserType.ts | 4 ++-- lib/rest/trusthub/v1/policies.ts | 6 ++---- lib/rest/trusthub/v1/supportingDocument.ts | 4 ++-- lib/rest/trusthub/v1/supportingDocumentType.ts | 4 ++-- lib/rest/trusthub/v1/trustProducts.ts | 4 ++-- .../trustProducts/trustProductsChannelEndpointAssignment.ts | 4 ++-- .../v1/trustProducts/trustProductsEntityAssignments.ts | 4 ++-- .../trusthub/v1/trustProducts/trustProductsEvaluations.ts | 4 ++-- lib/rest/verify/v2/service.ts | 4 ++-- lib/rest/verify/v2/service/entity.ts | 4 ++-- lib/rest/verify/v2/service/entity/challenge.ts | 6 ++---- lib/rest/verify/v2/service/entity/factor.ts | 4 ++-- lib/rest/verify/v2/service/messagingConfiguration.ts | 4 ++-- lib/rest/verify/v2/service/rateLimit.ts | 6 ++---- lib/rest/verify/v2/service/rateLimit/bucket.ts | 4 ++-- lib/rest/verify/v2/service/webhook.ts | 4 ++-- lib/rest/verify/v2/template.ts | 6 ++---- lib/rest/verify/v2/verificationAttempt.ts | 4 ++-- lib/rest/video/v1/composition.ts | 4 ++-- lib/rest/video/v1/compositionHook.ts | 4 ++-- lib/rest/video/v1/recording.ts | 6 ++---- lib/rest/video/v1/room.ts | 4 ++-- lib/rest/video/v1/room/participant.ts | 4 ++-- lib/rest/video/v1/room/participant/publishedTrack.ts | 4 ++-- lib/rest/video/v1/room/participant/subscribedTrack.ts | 4 ++-- lib/rest/video/v1/room/roomRecording.ts | 4 ++-- lib/rest/voice/v1/byocTrunk.ts | 6 ++---- lib/rest/voice/v1/connectionPolicy.ts | 4 ++-- .../voice/v1/connectionPolicy/connectionPolicyTarget.ts | 4 ++-- lib/rest/voice/v1/dialingPermissions/country.ts | 4 ++-- .../v1/dialingPermissions/country/highriskSpecialPrefix.ts | 4 ++-- lib/rest/voice/v1/ipRecord.ts | 6 ++---- lib/rest/voice/v1/sourceIpMapping.ts | 4 ++-- lib/rest/wireless/v1/command.ts | 4 ++-- lib/rest/wireless/v1/ratePlan.ts | 6 ++---- lib/rest/wireless/v1/sim.ts | 4 ++-- lib/rest/wireless/v1/sim/dataSession.ts | 4 ++-- lib/rest/wireless/v1/sim/usageRecord.ts | 4 ++-- lib/rest/wireless/v1/usageRecord.ts | 4 ++-- 330 files changed, 660 insertions(+), 794 deletions(-) diff --git a/lib/rest/accounts/v1/credential/aws.ts b/lib/rest/accounts/v1/credential/aws.ts index 763e0c38cf..c423c1723a 100644 --- a/lib/rest/accounts/v1/credential/aws.ts +++ b/lib/rest/accounts/v1/credential/aws.ts @@ -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"); @@ -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; diff --git a/lib/rest/accounts/v1/credential/publicKey.ts b/lib/rest/accounts/v1/credential/publicKey.ts index 355e689e64..9ebd6f057c 100644 --- a/lib/rest/accounts/v1/credential/publicKey.ts +++ b/lib/rest/accounts/v1/credential/publicKey.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account.ts b/lib/rest/api/v2010/account.ts index c43415a02b..e0baad202a 100644 --- a/lib/rest/api/v2010/account.ts +++ b/lib/rest/api/v2010/account.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account/address.ts b/lib/rest/api/v2010/account/address.ts index ff2988dde7..856dc8c29c 100644 --- a/lib/rest/api/v2010/account/address.ts +++ b/lib/rest/api/v2010/account/address.ts @@ -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"); @@ -328,7 +328,7 @@ export class AddressContextImpl implements AddressContext { } } -interface AddressPayload extends AddressResource, Page.TwilioResponsePayload {} +interface AddressPayload extends AddressResource, TwilioResponsePayload {} interface AddressResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/address/dependentPhoneNumber.ts b/lib/rest/api/v2010/account/address/dependentPhoneNumber.ts index dc225b3e1f..944b2ecb74 100644 --- a/lib/rest/api/v2010/account/address/dependentPhoneNumber.ts +++ b/lib/rest/api/v2010/account/address/dependentPhoneNumber.ts @@ -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"); @@ -366,7 +366,7 @@ export type DependentPhoneNumberStatusCallbackMethod = interface DependentPhoneNumberPayload extends DependentPhoneNumberResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface DependentPhoneNumberResource { sid?: string | null; diff --git a/lib/rest/api/v2010/account/application.ts b/lib/rest/api/v2010/account/application.ts index de0ff4da0f..c260ffbd40 100644 --- a/lib/rest/api/v2010/account/application.ts +++ b/lib/rest/api/v2010/account/application.ts @@ -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"); @@ -380,7 +380,7 @@ export type ApplicationVoiceMethod = interface ApplicationPayload extends ApplicationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ApplicationResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/authorizedConnectApp.ts b/lib/rest/api/v2010/account/authorizedConnectApp.ts index 70bc686026..51e1468939 100644 --- a/lib/rest/api/v2010/account/authorizedConnectApp.ts +++ b/lib/rest/api/v2010/account/authorizedConnectApp.ts @@ -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"); @@ -159,7 +159,7 @@ export class AuthorizedConnectAppContextImpl interface AuthorizedConnectAppPayload extends AuthorizedConnectAppResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AuthorizedConnectAppResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/availablePhoneNumberCountry.ts b/lib/rest/api/v2010/account/availablePhoneNumberCountry.ts index 9007ae5332..57da2121d3 100644 --- a/lib/rest/api/v2010/account/availablePhoneNumberCountry.ts +++ b/lib/rest/api/v2010/account/availablePhoneNumberCountry.ts @@ -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"); @@ -260,7 +260,7 @@ export class AvailablePhoneNumberCountryContextImpl interface AvailablePhoneNumberCountryPayload extends AvailablePhoneNumberCountryResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AvailablePhoneNumberCountryResource { country_code?: string | null; diff --git a/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.ts b/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.ts index ff7abea9b1..55944f9afe 100644 --- a/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.ts +++ b/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.ts b/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.ts index 4eb5158304..20a9ee5425 100644 --- a/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.ts +++ b/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.ts @@ -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"); @@ -461,7 +461,7 @@ export function MachineToMachineListInstance( interface MachineToMachinePayload extends MachineToMachineResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface MachineToMachineResource { friendly_name?: string | null; diff --git a/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.ts b/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.ts index 168aeb833d..e6a024e869 100644 --- a/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.ts +++ b/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.ts b/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.ts index 7acc16f8a5..c29efffe7c 100644 --- a/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.ts +++ b/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.ts b/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.ts index 97bc1054f6..9f9ea7b364 100644 --- a/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.ts +++ b/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.ts b/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.ts index 5a2d8d8db4..eeaa4d608e 100644 --- a/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.ts +++ b/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.ts b/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.ts index 18cd132e14..3b3c5eaac3 100644 --- a/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.ts +++ b/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account/call.ts b/lib/rest/api/v2010/account/call.ts index 136f8b9789..4af636f029 100644 --- a/lib/rest/api/v2010/account/call.ts +++ b/lib/rest/api/v2010/account/call.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account/call/event.ts b/lib/rest/api/v2010/account/call/event.ts index ae712cffde..891e9641b1 100644 --- a/lib/rest/api/v2010/account/call/event.ts +++ b/lib/rest/api/v2010/account/call/event.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account/call/notification.ts b/lib/rest/api/v2010/account/call/notification.ts index d60a1194c4..ce223a4f15 100644 --- a/lib/rest/api/v2010/account/call/notification.ts +++ b/lib/rest/api/v2010/account/call/notification.ts @@ -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"); @@ -190,7 +190,7 @@ export type NotificationRequestMethod = interface NotificationPayload extends NotificationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface NotificationResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/call/recording.ts b/lib/rest/api/v2010/account/call/recording.ts index 89e128674b..4d54822b6d 100644 --- a/lib/rest/api/v2010/account/call/recording.ts +++ b/lib/rest/api/v2010/account/call/recording.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account/conference.ts b/lib/rest/api/v2010/account/conference.ts index 10cf3133a0..1b20d4ea05 100644 --- a/lib/rest/api/v2010/account/conference.ts +++ b/lib/rest/api/v2010/account/conference.ts @@ -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"); @@ -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; diff --git a/lib/rest/api/v2010/account/conference/participant.ts b/lib/rest/api/v2010/account/conference/participant.ts index b98844496e..bbea31e3ce 100644 --- a/lib/rest/api/v2010/account/conference/participant.ts +++ b/lib/rest/api/v2010/account/conference/participant.ts @@ -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"); @@ -427,7 +427,7 @@ export class ParticipantContextImpl implements ParticipantContext { interface ParticipantPayload extends ParticipantResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ParticipantResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/conference/recording.ts b/lib/rest/api/v2010/account/conference/recording.ts index f934cb055a..61cd56bfb5 100644 --- a/lib/rest/api/v2010/account/conference/recording.ts +++ b/lib/rest/api/v2010/account/conference/recording.ts @@ -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"); @@ -285,9 +285,7 @@ export class RecordingContextImpl implements RecordingContext { } } -interface RecordingPayload - extends RecordingResource, - Page.TwilioResponsePayload {} +interface RecordingPayload extends RecordingResource, TwilioResponsePayload {} interface RecordingResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/connectApp.ts b/lib/rest/api/v2010/account/connectApp.ts index a40281ccf0..291525a9a0 100644 --- a/lib/rest/api/v2010/account/connectApp.ts +++ b/lib/rest/api/v2010/account/connectApp.ts @@ -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"); @@ -281,9 +281,7 @@ export type ConnectAppDeauthorizeCallbackMethod = | "PUT" | "DELETE"; -interface ConnectAppPayload - extends ConnectAppResource, - Page.TwilioResponsePayload {} +interface ConnectAppPayload extends ConnectAppResource, TwilioResponsePayload {} interface ConnectAppResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/incomingPhoneNumber.ts b/lib/rest/api/v2010/account/incomingPhoneNumber.ts index 6c6053686e..9bfc575215 100644 --- a/lib/rest/api/v2010/account/incomingPhoneNumber.ts +++ b/lib/rest/api/v2010/account/incomingPhoneNumber.ts @@ -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"); @@ -491,7 +491,7 @@ export type IncomingPhoneNumberVoiceMethod = interface IncomingPhoneNumberPayload extends IncomingPhoneNumberResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface IncomingPhoneNumberResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.ts b/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.ts index ba2e85d8cc..834fe1c1aa 100644 --- a/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.ts +++ b/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.ts @@ -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"); @@ -209,7 +209,7 @@ export class AssignedAddOnContextImpl implements AssignedAddOnContext { interface AssignedAddOnPayload extends AssignedAddOnResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AssignedAddOnResource { sid?: string | null; diff --git a/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.ts b/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.ts index 2a1dfc207f..c7c12a58e0 100644 --- a/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.ts +++ b/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.ts @@ -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"); @@ -174,7 +174,7 @@ export class AssignedAddOnExtensionContextImpl interface AssignedAddOnExtensionPayload extends AssignedAddOnExtensionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AssignedAddOnExtensionResource { sid?: string | null; diff --git a/lib/rest/api/v2010/account/incomingPhoneNumber/local.ts b/lib/rest/api/v2010/account/incomingPhoneNumber/local.ts index 8492fd13f1..6ae3fcb8bf 100644 --- a/lib/rest/api/v2010/account/incomingPhoneNumber/local.ts +++ b/lib/rest/api/v2010/account/incomingPhoneNumber/local.ts @@ -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"); @@ -528,7 +528,7 @@ export type LocalVoiceMethod = | "PUT" | "DELETE"; -interface LocalPayload extends LocalResource, Page.TwilioResponsePayload {} +interface LocalPayload extends LocalResource, TwilioResponsePayload {} interface LocalResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.ts b/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.ts index f36a4eb14b..b1e32b73fd 100644 --- a/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.ts +++ b/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.ts @@ -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"); @@ -528,7 +528,7 @@ export type MobileVoiceMethod = | "PUT" | "DELETE"; -interface MobilePayload extends MobileResource, Page.TwilioResponsePayload {} +interface MobilePayload extends MobileResource, TwilioResponsePayload {} interface MobileResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.ts b/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.ts index 55421148bc..5d64cc0fea 100644 --- a/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.ts +++ b/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.ts @@ -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"); @@ -532,9 +532,7 @@ export type TollFreeVoiceMethod = | "PUT" | "DELETE"; -interface TollFreePayload - extends TollFreeResource, - Page.TwilioResponsePayload {} +interface TollFreePayload extends TollFreeResource, TwilioResponsePayload {} interface TollFreeResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/key.ts b/lib/rest/api/v2010/account/key.ts index 0ad92ee1d9..ec2d0939fb 100644 --- a/lib/rest/api/v2010/account/key.ts +++ b/lib/rest/api/v2010/account/key.ts @@ -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"); @@ -244,7 +244,7 @@ export class KeyContextImpl implements KeyContext { } } -interface KeyPayload extends KeyResource, Page.TwilioResponsePayload {} +interface KeyPayload extends KeyResource, TwilioResponsePayload {} interface KeyResource { sid?: string | null; diff --git a/lib/rest/api/v2010/account/message.ts b/lib/rest/api/v2010/account/message.ts index eae51b8c9c..e487c9a159 100644 --- a/lib/rest/api/v2010/account/message.ts +++ b/lib/rest/api/v2010/account/message.ts @@ -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"); @@ -386,7 +386,7 @@ export class MessageContextImpl implements MessageContext { } } -interface MessagePayload extends MessageResource, Page.TwilioResponsePayload {} +interface MessagePayload extends MessageResource, TwilioResponsePayload {} interface MessageResource { body?: string | null; diff --git a/lib/rest/api/v2010/account/message/media.ts b/lib/rest/api/v2010/account/message/media.ts index 57a84e9eda..6ba2cc6b93 100644 --- a/lib/rest/api/v2010/account/message/media.ts +++ b/lib/rest/api/v2010/account/message/media.ts @@ -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"); @@ -200,7 +200,7 @@ export class MediaContextImpl implements MediaContext { } } -interface MediaPayload extends MediaResource, Page.TwilioResponsePayload {} +interface MediaPayload extends MediaResource, TwilioResponsePayload {} interface MediaResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/notification.ts b/lib/rest/api/v2010/account/notification.ts index be8028aad1..b870e1656e 100644 --- a/lib/rest/api/v2010/account/notification.ts +++ b/lib/rest/api/v2010/account/notification.ts @@ -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"); @@ -179,7 +179,7 @@ export type NotificationRequestMethod = interface NotificationPayload extends NotificationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface NotificationResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/outgoingCallerId.ts b/lib/rest/api/v2010/account/outgoingCallerId.ts index 025a434696..8f217ecc3b 100644 --- a/lib/rest/api/v2010/account/outgoingCallerId.ts +++ b/lib/rest/api/v2010/account/outgoingCallerId.ts @@ -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"); @@ -261,7 +261,7 @@ export class OutgoingCallerIdContextImpl implements OutgoingCallerIdContext { interface OutgoingCallerIdPayload extends OutgoingCallerIdResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface OutgoingCallerIdResource { sid?: string | null; diff --git a/lib/rest/api/v2010/account/queue.ts b/lib/rest/api/v2010/account/queue.ts index b3ada77649..e4d816523e 100644 --- a/lib/rest/api/v2010/account/queue.ts +++ b/lib/rest/api/v2010/account/queue.ts @@ -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"); @@ -274,7 +274,7 @@ export class QueueContextImpl implements QueueContext { } } -interface QueuePayload extends QueueResource, Page.TwilioResponsePayload {} +interface QueuePayload extends QueueResource, TwilioResponsePayload {} interface QueueResource { date_updated?: string | null; diff --git a/lib/rest/api/v2010/account/queue/member.ts b/lib/rest/api/v2010/account/queue/member.ts index 594a40370a..3aea391448 100644 --- a/lib/rest/api/v2010/account/queue/member.ts +++ b/lib/rest/api/v2010/account/queue/member.ts @@ -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"); @@ -224,7 +224,7 @@ export class MemberContextImpl implements MemberContext { } } -interface MemberPayload extends MemberResource, Page.TwilioResponsePayload {} +interface MemberPayload extends MemberResource, TwilioResponsePayload {} interface MemberResource { call_sid?: string | null; diff --git a/lib/rest/api/v2010/account/recording.ts b/lib/rest/api/v2010/account/recording.ts index e3512c7607..16b0e1dea3 100644 --- a/lib/rest/api/v2010/account/recording.ts +++ b/lib/rest/api/v2010/account/recording.ts @@ -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"); @@ -292,9 +292,7 @@ export class RecordingContextImpl implements RecordingContext { } } -interface RecordingPayload - extends RecordingResource, - Page.TwilioResponsePayload {} +interface RecordingPayload extends RecordingResource, TwilioResponsePayload {} interface RecordingResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/recording/addOnResult.ts b/lib/rest/api/v2010/account/recording/addOnResult.ts index ad1363427a..bfa94553c2 100644 --- a/lib/rest/api/v2010/account/recording/addOnResult.ts +++ b/lib/rest/api/v2010/account/recording/addOnResult.ts @@ -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"); @@ -211,7 +211,7 @@ export class AddOnResultContextImpl implements AddOnResultContext { interface AddOnResultPayload extends AddOnResultResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AddOnResultResource { sid?: string | null; diff --git a/lib/rest/api/v2010/account/recording/addOnResult/payload.ts b/lib/rest/api/v2010/account/recording/addOnResult/payload.ts index bc947172bc..45f4195081 100644 --- a/lib/rest/api/v2010/account/recording/addOnResult/payload.ts +++ b/lib/rest/api/v2010/account/recording/addOnResult/payload.ts @@ -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"); @@ -189,7 +189,7 @@ export class PayloadContextImpl implements PayloadContext { } } -interface PayloadPayload extends PayloadResource, Page.TwilioResponsePayload {} +interface PayloadPayload extends PayloadResource, TwilioResponsePayload {} interface PayloadResource { sid?: string | null; diff --git a/lib/rest/api/v2010/account/recording/transcription.ts b/lib/rest/api/v2010/account/recording/transcription.ts index d5f9772573..af58aaf416 100644 --- a/lib/rest/api/v2010/account/recording/transcription.ts +++ b/lib/rest/api/v2010/account/recording/transcription.ts @@ -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"); @@ -186,7 +186,7 @@ export class TranscriptionContextImpl implements TranscriptionContext { interface TranscriptionPayload extends TranscriptionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface TranscriptionResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/shortCode.ts b/lib/rest/api/v2010/account/shortCode.ts index 3c9e8f2b3f..749761e47a 100644 --- a/lib/rest/api/v2010/account/shortCode.ts +++ b/lib/rest/api/v2010/account/shortCode.ts @@ -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"); @@ -264,9 +264,7 @@ export type ShortCodeSmsMethod = | "PUT" | "DELETE"; -interface ShortCodePayload - extends ShortCodeResource, - Page.TwilioResponsePayload {} +interface ShortCodePayload extends ShortCodeResource, TwilioResponsePayload {} interface ShortCodeResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/signingKey.ts b/lib/rest/api/v2010/account/signingKey.ts index 0e5fc71916..1877faf3ba 100644 --- a/lib/rest/api/v2010/account/signingKey.ts +++ b/lib/rest/api/v2010/account/signingKey.ts @@ -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"); @@ -244,9 +244,7 @@ export class SigningKeyContextImpl implements SigningKeyContext { } } -interface SigningKeyPayload - extends SigningKeyResource, - Page.TwilioResponsePayload {} +interface SigningKeyPayload extends SigningKeyResource, TwilioResponsePayload {} interface SigningKeyResource { sid?: string | null; diff --git a/lib/rest/api/v2010/account/sip/credentialList.ts b/lib/rest/api/v2010/account/sip/credentialList.ts index a5a58f7cdd..dbe330d4ed 100644 --- a/lib/rest/api/v2010/account/sip/credentialList.ts +++ b/lib/rest/api/v2010/account/sip/credentialList.ts @@ -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"); @@ -267,7 +267,7 @@ export class CredentialListContextImpl implements CredentialListContext { interface CredentialListPayload extends CredentialListResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface CredentialListResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/sip/credentialList/credential.ts b/lib/rest/api/v2010/account/sip/credentialList/credential.ts index a126bda731..2d9eb3103f 100644 --- a/lib/rest/api/v2010/account/sip/credentialList/credential.ts +++ b/lib/rest/api/v2010/account/sip/credentialList/credential.ts @@ -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"); @@ -266,9 +266,7 @@ export class CredentialContextImpl implements CredentialContext { } } -interface CredentialPayload - extends CredentialResource, - Page.TwilioResponsePayload {} +interface CredentialPayload extends CredentialResource, TwilioResponsePayload {} interface CredentialResource { sid?: string | null; diff --git a/lib/rest/api/v2010/account/sip/domain.ts b/lib/rest/api/v2010/account/sip/domain.ts index 006cb50f6a..1e10bfd743 100644 --- a/lib/rest/api/v2010/account/sip/domain.ts +++ b/lib/rest/api/v2010/account/sip/domain.ts @@ -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"); @@ -391,7 +391,7 @@ export type DomainVoiceStatusCallbackMethod = | "PUT" | "DELETE"; -interface DomainPayload extends DomainResource, Page.TwilioResponsePayload {} +interface DomainPayload extends DomainResource, TwilioResponsePayload {} interface DomainResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.ts b/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.ts index e5e4b55708..80bdee5745 100644 --- a/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.ts +++ b/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.ts @@ -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"); @@ -200,7 +200,7 @@ export class AuthCallsCredentialListMappingContextImpl interface AuthCallsCredentialListMappingPayload extends AuthCallsCredentialListMappingResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AuthCallsCredentialListMappingResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.ts b/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.ts index c2ff29718c..fa54e62a3c 100644 --- a/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.ts +++ b/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.ts @@ -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"); @@ -200,7 +200,7 @@ export class AuthCallsIpAccessControlListMappingContextImpl interface AuthCallsIpAccessControlListMappingPayload extends AuthCallsIpAccessControlListMappingResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AuthCallsIpAccessControlListMappingResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.ts b/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.ts index 70e6406121..51b81fb1bb 100644 --- a/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.ts +++ b/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.ts @@ -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"); @@ -202,7 +202,7 @@ export class AuthRegistrationsCredentialListMappingContextImpl interface AuthRegistrationsCredentialListMappingPayload extends AuthRegistrationsCredentialListMappingResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AuthRegistrationsCredentialListMappingResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/sip/domain/credentialListMapping.ts b/lib/rest/api/v2010/account/sip/domain/credentialListMapping.ts index a0ce90e340..5541b7edff 100644 --- a/lib/rest/api/v2010/account/sip/domain/credentialListMapping.ts +++ b/lib/rest/api/v2010/account/sip/domain/credentialListMapping.ts @@ -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"); @@ -200,7 +200,7 @@ export class CredentialListMappingContextImpl interface CredentialListMappingPayload extends CredentialListMappingResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface CredentialListMappingResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.ts b/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.ts index 57bd203f30..11cd85c45b 100644 --- a/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.ts +++ b/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.ts @@ -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"); @@ -200,7 +200,7 @@ export class IpAccessControlListMappingContextImpl interface IpAccessControlListMappingPayload extends IpAccessControlListMappingResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface IpAccessControlListMappingResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/sip/ipAccessControlList.ts b/lib/rest/api/v2010/account/sip/ipAccessControlList.ts index 6163e0ff85..285d77e6df 100644 --- a/lib/rest/api/v2010/account/sip/ipAccessControlList.ts +++ b/lib/rest/api/v2010/account/sip/ipAccessControlList.ts @@ -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"); @@ -269,7 +269,7 @@ export class IpAccessControlListContextImpl interface IpAccessControlListPayload extends IpAccessControlListResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface IpAccessControlListResource { sid?: string | null; diff --git a/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.ts b/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.ts index 051587197a..57faef04ba 100644 --- a/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.ts +++ b/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.ts @@ -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"); @@ -277,9 +277,7 @@ export class IpAddressContextImpl implements IpAddressContext { } } -interface IpAddressPayload - extends IpAddressResource, - Page.TwilioResponsePayload {} +interface IpAddressPayload extends IpAddressResource, TwilioResponsePayload {} interface IpAddressResource { sid?: string | null; diff --git a/lib/rest/api/v2010/account/transcription.ts b/lib/rest/api/v2010/account/transcription.ts index dd00697caa..c8f250af58 100644 --- a/lib/rest/api/v2010/account/transcription.ts +++ b/lib/rest/api/v2010/account/transcription.ts @@ -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"); @@ -175,7 +175,7 @@ export class TranscriptionContextImpl implements TranscriptionContext { interface TranscriptionPayload extends TranscriptionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface TranscriptionResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/usage/record.ts b/lib/rest/api/v2010/account/usage/record.ts index b211ab1dca..10cdb2e151 100644 --- a/lib/rest/api/v2010/account/usage/record.ts +++ b/lib/rest/api/v2010/account/usage/record.ts @@ -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"); @@ -695,7 +695,7 @@ export function RecordListInstance( return instance; } -interface RecordPayload extends RecordResource, Page.TwilioResponsePayload {} +interface RecordPayload extends RecordResource, TwilioResponsePayload {} interface RecordResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/usage/record/allTime.ts b/lib/rest/api/v2010/account/usage/record/allTime.ts index 09768ceee4..ff77f489a9 100644 --- a/lib/rest/api/v2010/account/usage/record/allTime.ts +++ b/lib/rest/api/v2010/account/usage/record/allTime.ts @@ -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"); @@ -573,7 +573,7 @@ export function AllTimeListInstance( return instance; } -interface AllTimePayload extends AllTimeResource, Page.TwilioResponsePayload {} +interface AllTimePayload extends AllTimeResource, TwilioResponsePayload {} interface AllTimeResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/usage/record/daily.ts b/lib/rest/api/v2010/account/usage/record/daily.ts index 9de92a34f1..8412793fd9 100644 --- a/lib/rest/api/v2010/account/usage/record/daily.ts +++ b/lib/rest/api/v2010/account/usage/record/daily.ts @@ -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"); @@ -573,7 +573,7 @@ export function DailyListInstance( return instance; } -interface DailyPayload extends DailyResource, Page.TwilioResponsePayload {} +interface DailyPayload extends DailyResource, TwilioResponsePayload {} interface DailyResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/usage/record/lastMonth.ts b/lib/rest/api/v2010/account/usage/record/lastMonth.ts index 416c39889b..21432bb800 100644 --- a/lib/rest/api/v2010/account/usage/record/lastMonth.ts +++ b/lib/rest/api/v2010/account/usage/record/lastMonth.ts @@ -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"); @@ -573,9 +573,7 @@ export function LastMonthListInstance( return instance; } -interface LastMonthPayload - extends LastMonthResource, - Page.TwilioResponsePayload {} +interface LastMonthPayload extends LastMonthResource, TwilioResponsePayload {} interface LastMonthResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/usage/record/monthly.ts b/lib/rest/api/v2010/account/usage/record/monthly.ts index df54dcdb3b..64eb4a0518 100644 --- a/lib/rest/api/v2010/account/usage/record/monthly.ts +++ b/lib/rest/api/v2010/account/usage/record/monthly.ts @@ -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"); @@ -573,7 +573,7 @@ export function MonthlyListInstance( return instance; } -interface MonthlyPayload extends MonthlyResource, Page.TwilioResponsePayload {} +interface MonthlyPayload extends MonthlyResource, TwilioResponsePayload {} interface MonthlyResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/usage/record/thisMonth.ts b/lib/rest/api/v2010/account/usage/record/thisMonth.ts index f1728a4c8a..d6c6b29519 100644 --- a/lib/rest/api/v2010/account/usage/record/thisMonth.ts +++ b/lib/rest/api/v2010/account/usage/record/thisMonth.ts @@ -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"); @@ -573,9 +573,7 @@ export function ThisMonthListInstance( return instance; } -interface ThisMonthPayload - extends ThisMonthResource, - Page.TwilioResponsePayload {} +interface ThisMonthPayload extends ThisMonthResource, TwilioResponsePayload {} interface ThisMonthResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/usage/record/today.ts b/lib/rest/api/v2010/account/usage/record/today.ts index 76f3c30396..6c994f4555 100644 --- a/lib/rest/api/v2010/account/usage/record/today.ts +++ b/lib/rest/api/v2010/account/usage/record/today.ts @@ -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"); @@ -573,7 +573,7 @@ export function TodayListInstance( return instance; } -interface TodayPayload extends TodayResource, Page.TwilioResponsePayload {} +interface TodayPayload extends TodayResource, TwilioResponsePayload {} interface TodayResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/usage/record/yearly.ts b/lib/rest/api/v2010/account/usage/record/yearly.ts index 39353df8b9..79d5f05dee 100644 --- a/lib/rest/api/v2010/account/usage/record/yearly.ts +++ b/lib/rest/api/v2010/account/usage/record/yearly.ts @@ -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"); @@ -573,7 +573,7 @@ export function YearlyListInstance( return instance; } -interface YearlyPayload extends YearlyResource, Page.TwilioResponsePayload {} +interface YearlyPayload extends YearlyResource, TwilioResponsePayload {} interface YearlyResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/usage/record/yesterday.ts b/lib/rest/api/v2010/account/usage/record/yesterday.ts index e500bc83bd..161d16049a 100644 --- a/lib/rest/api/v2010/account/usage/record/yesterday.ts +++ b/lib/rest/api/v2010/account/usage/record/yesterday.ts @@ -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"); @@ -573,9 +573,7 @@ export function YesterdayListInstance( return instance; } -interface YesterdayPayload - extends YesterdayResource, - Page.TwilioResponsePayload {} +interface YesterdayPayload extends YesterdayResource, TwilioResponsePayload {} interface YesterdayResource { account_sid?: string | null; diff --git a/lib/rest/api/v2010/account/usage/trigger.ts b/lib/rest/api/v2010/account/usage/trigger.ts index 811315dc80..d9d9eecb98 100644 --- a/lib/rest/api/v2010/account/usage/trigger.ts +++ b/lib/rest/api/v2010/account/usage/trigger.ts @@ -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"); @@ -549,7 +549,7 @@ export type TriggerCallbackMethod = | "PUT" | "DELETE"; -interface TriggerPayload extends TriggerResource, Page.TwilioResponsePayload {} +interface TriggerPayload extends TriggerResource, TwilioResponsePayload {} interface TriggerResource { account_sid?: string | null; diff --git a/lib/rest/autopilot/v1/assistant.ts b/lib/rest/autopilot/v1/assistant.ts index 4920ec9184..695f555210 100644 --- a/lib/rest/autopilot/v1/assistant.ts +++ b/lib/rest/autopilot/v1/assistant.ts @@ -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"); @@ -356,9 +356,7 @@ export class AssistantContextImpl implements AssistantContext { } } -interface AssistantPayload - extends AssistantResource, - Page.TwilioResponsePayload {} +interface AssistantPayload extends AssistantResource, TwilioResponsePayload {} interface AssistantResource { account_sid?: string | null; diff --git a/lib/rest/autopilot/v1/assistant/fieldType.ts b/lib/rest/autopilot/v1/assistant/fieldType.ts index 2a9baccff0..d3224e3f9d 100644 --- a/lib/rest/autopilot/v1/assistant/fieldType.ts +++ b/lib/rest/autopilot/v1/assistant/fieldType.ts @@ -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"); @@ -275,9 +275,7 @@ export class FieldTypeContextImpl implements FieldTypeContext { } } -interface FieldTypePayload - extends FieldTypeResource, - Page.TwilioResponsePayload {} +interface FieldTypePayload extends FieldTypeResource, TwilioResponsePayload {} interface FieldTypeResource { account_sid?: string | null; diff --git a/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.ts b/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.ts index e76253abd9..3821c59db9 100644 --- a/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.ts +++ b/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.ts @@ -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"); @@ -200,9 +200,7 @@ export class FieldValueContextImpl implements FieldValueContext { } } -interface FieldValuePayload - extends FieldValueResource, - Page.TwilioResponsePayload {} +interface FieldValuePayload extends FieldValueResource, TwilioResponsePayload {} interface FieldValueResource { account_sid?: string | null; diff --git a/lib/rest/autopilot/v1/assistant/modelBuild.ts b/lib/rest/autopilot/v1/assistant/modelBuild.ts index 9525ee089b..28d47b2871 100644 --- a/lib/rest/autopilot/v1/assistant/modelBuild.ts +++ b/lib/rest/autopilot/v1/assistant/modelBuild.ts @@ -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"); @@ -262,9 +262,7 @@ export class ModelBuildContextImpl implements ModelBuildContext { } } -interface ModelBuildPayload - extends ModelBuildResource, - Page.TwilioResponsePayload {} +interface ModelBuildPayload extends ModelBuildResource, TwilioResponsePayload {} interface ModelBuildResource { account_sid?: string | null; diff --git a/lib/rest/autopilot/v1/assistant/query.ts b/lib/rest/autopilot/v1/assistant/query.ts index f2e1d56b67..189835731b 100644 --- a/lib/rest/autopilot/v1/assistant/query.ts +++ b/lib/rest/autopilot/v1/assistant/query.ts @@ -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"); @@ -286,7 +286,7 @@ export class QueryContextImpl implements QueryContext { } } -interface QueryPayload extends QueryResource, Page.TwilioResponsePayload {} +interface QueryPayload extends QueryResource, TwilioResponsePayload {} interface QueryResource { account_sid?: string | null; diff --git a/lib/rest/autopilot/v1/assistant/task.ts b/lib/rest/autopilot/v1/assistant/task.ts index b832df4450..c6d321004b 100644 --- a/lib/rest/autopilot/v1/assistant/task.ts +++ b/lib/rest/autopilot/v1/assistant/task.ts @@ -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"); @@ -329,7 +329,7 @@ export class TaskContextImpl implements TaskContext { } } -interface TaskPayload extends TaskResource, Page.TwilioResponsePayload {} +interface TaskPayload extends TaskResource, TwilioResponsePayload {} interface TaskResource { account_sid?: string | null; diff --git a/lib/rest/autopilot/v1/assistant/task/field.ts b/lib/rest/autopilot/v1/assistant/task/field.ts index 6bca28d5bf..ba474b4830 100644 --- a/lib/rest/autopilot/v1/assistant/task/field.ts +++ b/lib/rest/autopilot/v1/assistant/task/field.ts @@ -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"); @@ -192,7 +192,7 @@ export class FieldContextImpl implements FieldContext { } } -interface FieldPayload extends FieldResource, Page.TwilioResponsePayload {} +interface FieldPayload extends FieldResource, TwilioResponsePayload {} interface FieldResource { account_sid?: string | null; diff --git a/lib/rest/autopilot/v1/assistant/task/sample.ts b/lib/rest/autopilot/v1/assistant/task/sample.ts index 2200a97412..a49c862058 100644 --- a/lib/rest/autopilot/v1/assistant/task/sample.ts +++ b/lib/rest/autopilot/v1/assistant/task/sample.ts @@ -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"); @@ -282,7 +282,7 @@ export class SampleContextImpl implements SampleContext { } } -interface SamplePayload extends SampleResource, Page.TwilioResponsePayload {} +interface SamplePayload extends SampleResource, TwilioResponsePayload {} interface SampleResource { account_sid?: string | null; diff --git a/lib/rest/autopilot/v1/assistant/webhook.ts b/lib/rest/autopilot/v1/assistant/webhook.ts index e5edb0b628..ba848bc674 100644 --- a/lib/rest/autopilot/v1/assistant/webhook.ts +++ b/lib/rest/autopilot/v1/assistant/webhook.ts @@ -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"); @@ -270,7 +270,7 @@ export class WebhookContextImpl implements WebhookContext { } } -interface WebhookPayload extends WebhookResource, Page.TwilioResponsePayload {} +interface WebhookPayload extends WebhookResource, TwilioResponsePayload {} interface WebhookResource { url?: string | null; diff --git a/lib/rest/bulkexports/v1/export/day.ts b/lib/rest/bulkexports/v1/export/day.ts index 81376d6e35..33a742d5c0 100644 --- a/lib/rest/bulkexports/v1/export/day.ts +++ b/lib/rest/bulkexports/v1/export/day.ts @@ -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"); @@ -146,7 +146,7 @@ export class DayContextImpl implements DayContext { } } -interface DayPayload extends DayResource, Page.TwilioResponsePayload {} +interface DayPayload extends DayResource, TwilioResponsePayload {} interface DayResource { redirect_to?: string | null; diff --git a/lib/rest/bulkexports/v1/export/exportCustomJob.ts b/lib/rest/bulkexports/v1/export/exportCustomJob.ts index fd14a9c2bf..ef9a770ca1 100644 --- a/lib/rest/bulkexports/v1/export/exportCustomJob.ts +++ b/lib/rest/bulkexports/v1/export/exportCustomJob.ts @@ -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"); @@ -403,7 +403,7 @@ export function ExportCustomJobListInstance( interface ExportCustomJobPayload extends ExportCustomJobResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ExportCustomJobResource { friendly_name?: string | null; diff --git a/lib/rest/chat/v1/credential.ts b/lib/rest/chat/v1/credential.ts index 4d3241369a..a3972b5509 100644 --- a/lib/rest/chat/v1/credential.ts +++ b/lib/rest/chat/v1/credential.ts @@ -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"); @@ -270,9 +270,7 @@ export class CredentialContextImpl implements CredentialContext { } } -interface CredentialPayload - extends CredentialResource, - Page.TwilioResponsePayload {} +interface CredentialPayload extends CredentialResource, TwilioResponsePayload {} interface CredentialResource { sid?: string | null; diff --git a/lib/rest/chat/v1/service.ts b/lib/rest/chat/v1/service.ts index d1bd767799..ae7c898931 100644 --- a/lib/rest/chat/v1/service.ts +++ b/lib/rest/chat/v1/service.ts @@ -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"); @@ -524,7 +524,7 @@ export class ServiceContextImpl implements ServiceContext { } } -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { sid?: string | null; diff --git a/lib/rest/chat/v1/service/channel.ts b/lib/rest/chat/v1/service/channel.ts index ee93fed63b..9bb0b982cf 100644 --- a/lib/rest/chat/v1/service/channel.ts +++ b/lib/rest/chat/v1/service/channel.ts @@ -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"); @@ -319,7 +319,7 @@ export class ChannelContextImpl implements ChannelContext { } } -interface ChannelPayload extends ChannelResource, Page.TwilioResponsePayload {} +interface ChannelPayload extends ChannelResource, TwilioResponsePayload {} interface ChannelResource { sid?: string | null; diff --git a/lib/rest/chat/v1/service/channel/invite.ts b/lib/rest/chat/v1/service/channel/invite.ts index 601ea6a126..ce1d4e458d 100644 --- a/lib/rest/chat/v1/service/channel/invite.ts +++ b/lib/rest/chat/v1/service/channel/invite.ts @@ -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"); @@ -198,7 +198,7 @@ export class InviteContextImpl implements InviteContext { } } -interface InvitePayload extends InviteResource, Page.TwilioResponsePayload {} +interface InvitePayload extends InviteResource, TwilioResponsePayload {} interface InviteResource { sid?: string | null; diff --git a/lib/rest/chat/v1/service/channel/member.ts b/lib/rest/chat/v1/service/channel/member.ts index a5d7209e00..d728550687 100644 --- a/lib/rest/chat/v1/service/channel/member.ts +++ b/lib/rest/chat/v1/service/channel/member.ts @@ -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"); @@ -276,7 +276,7 @@ export class MemberContextImpl implements MemberContext { } } -interface MemberPayload extends MemberResource, Page.TwilioResponsePayload {} +interface MemberPayload extends MemberResource, TwilioResponsePayload {} interface MemberResource { sid?: string | null; diff --git a/lib/rest/chat/v1/service/channel/message.ts b/lib/rest/chat/v1/service/channel/message.ts index 899c629caa..b7a61e99c4 100644 --- a/lib/rest/chat/v1/service/channel/message.ts +++ b/lib/rest/chat/v1/service/channel/message.ts @@ -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"); @@ -280,7 +280,7 @@ export class MessageContextImpl implements MessageContext { } } -interface MessagePayload extends MessageResource, Page.TwilioResponsePayload {} +interface MessagePayload extends MessageResource, TwilioResponsePayload {} interface MessageResource { sid?: string | null; diff --git a/lib/rest/chat/v1/service/role.ts b/lib/rest/chat/v1/service/role.ts index 3f850fc1aa..f0aca1fcab 100644 --- a/lib/rest/chat/v1/service/role.ts +++ b/lib/rest/chat/v1/service/role.ts @@ -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"); @@ -249,7 +249,7 @@ export class RoleContextImpl implements RoleContext { } } -interface RolePayload extends RoleResource, Page.TwilioResponsePayload {} +interface RolePayload extends RoleResource, TwilioResponsePayload {} interface RoleResource { sid?: string | null; diff --git a/lib/rest/chat/v1/service/user.ts b/lib/rest/chat/v1/service/user.ts index 4ed8937145..f97a5cb97d 100644 --- a/lib/rest/chat/v1/service/user.ts +++ b/lib/rest/chat/v1/service/user.ts @@ -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"); @@ -282,7 +282,7 @@ export class UserContextImpl implements UserContext { } } -interface UserPayload extends UserResource, Page.TwilioResponsePayload {} +interface UserPayload extends UserResource, TwilioResponsePayload {} interface UserResource { sid?: string | null; diff --git a/lib/rest/chat/v1/service/user/userChannel.ts b/lib/rest/chat/v1/service/user/userChannel.ts index f06616865e..314956bc97 100644 --- a/lib/rest/chat/v1/service/user/userChannel.ts +++ b/lib/rest/chat/v1/service/user/userChannel.ts @@ -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"); @@ -306,7 +306,7 @@ export function UserChannelListInstance( interface UserChannelPayload extends UserChannelResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UserChannelResource { account_sid?: string | null; diff --git a/lib/rest/chat/v2/credential.ts b/lib/rest/chat/v2/credential.ts index cae57c5b55..e6801a1fd3 100644 --- a/lib/rest/chat/v2/credential.ts +++ b/lib/rest/chat/v2/credential.ts @@ -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 V2 from "../V2"; const deserialize = require("../../../base/deserialize"); @@ -270,9 +270,7 @@ export class CredentialContextImpl implements CredentialContext { } } -interface CredentialPayload - extends CredentialResource, - Page.TwilioResponsePayload {} +interface CredentialPayload extends CredentialResource, TwilioResponsePayload {} interface CredentialResource { sid?: string | null; diff --git a/lib/rest/chat/v2/service.ts b/lib/rest/chat/v2/service.ts index 622ebb0fa3..703d309865 100644 --- a/lib/rest/chat/v2/service.ts +++ b/lib/rest/chat/v2/service.ts @@ -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 V2 from "../V2"; const deserialize = require("../../../base/deserialize"); @@ -422,7 +422,7 @@ export class ServiceContextImpl implements ServiceContext { } } -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { sid?: string | null; diff --git a/lib/rest/chat/v2/service/binding.ts b/lib/rest/chat/v2/service/binding.ts index 0e66881005..2e62d6cdf1 100644 --- a/lib/rest/chat/v2/service/binding.ts +++ b/lib/rest/chat/v2/service/binding.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -185,7 +185,7 @@ export class BindingContextImpl implements BindingContext { } } -interface BindingPayload extends BindingResource, Page.TwilioResponsePayload {} +interface BindingPayload extends BindingResource, TwilioResponsePayload {} interface BindingResource { sid?: string | null; diff --git a/lib/rest/chat/v2/service/channel.ts b/lib/rest/chat/v2/service/channel.ts index bd219ee90d..8f80e84f6f 100644 --- a/lib/rest/chat/v2/service/channel.ts +++ b/lib/rest/chat/v2/service/channel.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -396,7 +396,7 @@ export class ChannelContextImpl implements ChannelContext { } } -interface ChannelPayload extends ChannelResource, Page.TwilioResponsePayload {} +interface ChannelPayload extends ChannelResource, TwilioResponsePayload {} interface ChannelResource { sid?: string | null; diff --git a/lib/rest/chat/v2/service/channel/invite.ts b/lib/rest/chat/v2/service/channel/invite.ts index b709f7d3ee..e2490b495f 100644 --- a/lib/rest/chat/v2/service/channel/invite.ts +++ b/lib/rest/chat/v2/service/channel/invite.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -198,7 +198,7 @@ export class InviteContextImpl implements InviteContext { } } -interface InvitePayload extends InviteResource, Page.TwilioResponsePayload {} +interface InvitePayload extends InviteResource, TwilioResponsePayload {} interface InviteResource { sid?: string | null; diff --git a/lib/rest/chat/v2/service/channel/member.ts b/lib/rest/chat/v2/service/channel/member.ts index c88bb8fb6e..0ad728cedb 100644 --- a/lib/rest/chat/v2/service/channel/member.ts +++ b/lib/rest/chat/v2/service/channel/member.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -349,7 +349,7 @@ export class MemberContextImpl implements MemberContext { } } -interface MemberPayload extends MemberResource, Page.TwilioResponsePayload {} +interface MemberPayload extends MemberResource, TwilioResponsePayload {} interface MemberResource { sid?: string | null; diff --git a/lib/rest/chat/v2/service/channel/message.ts b/lib/rest/chat/v2/service/channel/message.ts index c2aac0ec03..9b41918bd2 100644 --- a/lib/rest/chat/v2/service/channel/message.ts +++ b/lib/rest/chat/v2/service/channel/message.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -348,7 +348,7 @@ export class MessageContextImpl implements MessageContext { } } -interface MessagePayload extends MessageResource, Page.TwilioResponsePayload {} +interface MessagePayload extends MessageResource, TwilioResponsePayload {} interface MessageResource { sid?: string | null; diff --git a/lib/rest/chat/v2/service/channel/webhook.ts b/lib/rest/chat/v2/service/channel/webhook.ts index 2d4c9e8511..89b02779ab 100644 --- a/lib/rest/chat/v2/service/channel/webhook.ts +++ b/lib/rest/chat/v2/service/channel/webhook.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -307,7 +307,7 @@ export class WebhookContextImpl implements WebhookContext { } } -interface WebhookPayload extends WebhookResource, Page.TwilioResponsePayload {} +interface WebhookPayload extends WebhookResource, TwilioResponsePayload {} interface WebhookResource { sid?: string | null; diff --git a/lib/rest/chat/v2/service/role.ts b/lib/rest/chat/v2/service/role.ts index 4bff8d0853..674527ba09 100644 --- a/lib/rest/chat/v2/service/role.ts +++ b/lib/rest/chat/v2/service/role.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -249,7 +249,7 @@ export class RoleContextImpl implements RoleContext { } } -interface RolePayload extends RoleResource, Page.TwilioResponsePayload {} +interface RolePayload extends RoleResource, TwilioResponsePayload {} interface RoleResource { sid?: string | null; diff --git a/lib/rest/chat/v2/service/user.ts b/lib/rest/chat/v2/service/user.ts index 9706aea8fd..3c0e913b94 100644 --- a/lib/rest/chat/v2/service/user.ts +++ b/lib/rest/chat/v2/service/user.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -304,7 +304,7 @@ export class UserContextImpl implements UserContext { } } -interface UserPayload extends UserResource, Page.TwilioResponsePayload {} +interface UserPayload extends UserResource, TwilioResponsePayload {} interface UserResource { sid?: string | null; diff --git a/lib/rest/chat/v2/service/user/userBinding.ts b/lib/rest/chat/v2/service/user/userBinding.ts index f213d838a7..d5de5e18c6 100644 --- a/lib/rest/chat/v2/service/user/userBinding.ts +++ b/lib/rest/chat/v2/service/user/userBinding.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -192,7 +192,7 @@ export class UserBindingContextImpl implements UserBindingContext { interface UserBindingPayload extends UserBindingResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UserBindingResource { sid?: string | null; diff --git a/lib/rest/chat/v2/service/user/userChannel.ts b/lib/rest/chat/v2/service/user/userChannel.ts index c60acb9f12..ae10d33550 100644 --- a/lib/rest/chat/v2/service/user/userChannel.ts +++ b/lib/rest/chat/v2/service/user/userChannel.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -311,7 +311,7 @@ export class UserChannelContextImpl implements UserChannelContext { interface UserChannelPayload extends UserChannelResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UserChannelResource { account_sid?: string | null; diff --git a/lib/rest/content/v1/content.ts b/lib/rest/content/v1/content.ts index 94f73d76a3..b644630156 100644 --- a/lib/rest/content/v1/content.ts +++ b/lib/rest/content/v1/content.ts @@ -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"); @@ -173,7 +173,7 @@ export class ContentContextImpl implements ContentContext { } } -interface ContentPayload extends ContentResource, Page.TwilioResponsePayload {} +interface ContentPayload extends ContentResource, TwilioResponsePayload {} interface ContentResource { date_created?: Date | null; diff --git a/lib/rest/conversations/v1/addressConfiguration.ts b/lib/rest/conversations/v1/addressConfiguration.ts index f00eb2f925..9e384ca8e2 100644 --- a/lib/rest/conversations/v1/addressConfiguration.ts +++ b/lib/rest/conversations/v1/addressConfiguration.ts @@ -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"); @@ -324,7 +324,7 @@ export class AddressConfigurationContextImpl interface AddressConfigurationPayload extends AddressConfigurationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AddressConfigurationResource { sid?: string | null; diff --git a/lib/rest/conversations/v1/conversation.ts b/lib/rest/conversations/v1/conversation.ts index c13ae5a767..b94e325f33 100644 --- a/lib/rest/conversations/v1/conversation.ts +++ b/lib/rest/conversations/v1/conversation.ts @@ -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"); @@ -364,7 +364,7 @@ export class ConversationContextImpl implements ConversationContext { interface ConversationPayload extends ConversationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ConversationResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/conversation/message.ts b/lib/rest/conversations/v1/conversation/message.ts index 3ce3d287fa..3ef61bceeb 100644 --- a/lib/rest/conversations/v1/conversation/message.ts +++ b/lib/rest/conversations/v1/conversation/message.ts @@ -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"); @@ -346,7 +346,7 @@ export class MessageContextImpl implements MessageContext { } } -interface MessagePayload extends MessageResource, Page.TwilioResponsePayload {} +interface MessagePayload extends MessageResource, TwilioResponsePayload {} interface MessageResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/conversation/message/deliveryReceipt.ts b/lib/rest/conversations/v1/conversation/message/deliveryReceipt.ts index 5464cbcc42..3309f74b06 100644 --- a/lib/rest/conversations/v1/conversation/message/deliveryReceipt.ts +++ b/lib/rest/conversations/v1/conversation/message/deliveryReceipt.ts @@ -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"); @@ -169,7 +169,7 @@ export class DeliveryReceiptContextImpl implements DeliveryReceiptContext { interface DeliveryReceiptPayload extends DeliveryReceiptResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface DeliveryReceiptResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/conversation/participant.ts b/lib/rest/conversations/v1/conversation/participant.ts index d082e88056..5ed2a9b728 100644 --- a/lib/rest/conversations/v1/conversation/participant.ts +++ b/lib/rest/conversations/v1/conversation/participant.ts @@ -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"); @@ -346,7 +346,7 @@ export class ParticipantContextImpl implements ParticipantContext { interface ParticipantPayload extends ParticipantResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ParticipantResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/conversation/webhook.ts b/lib/rest/conversations/v1/conversation/webhook.ts index 531fb084bb..0f3c84d2e1 100644 --- a/lib/rest/conversations/v1/conversation/webhook.ts +++ b/lib/rest/conversations/v1/conversation/webhook.ts @@ -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"); @@ -291,7 +291,7 @@ export class WebhookContextImpl implements WebhookContext { } } -interface WebhookPayload extends WebhookResource, Page.TwilioResponsePayload {} +interface WebhookPayload extends WebhookResource, TwilioResponsePayload {} interface WebhookResource { sid?: string | null; diff --git a/lib/rest/conversations/v1/credential.ts b/lib/rest/conversations/v1/credential.ts index eb0757599e..1a4c588d8c 100644 --- a/lib/rest/conversations/v1/credential.ts +++ b/lib/rest/conversations/v1/credential.ts @@ -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"); @@ -273,9 +273,7 @@ export class CredentialContextImpl implements CredentialContext { } } -interface CredentialPayload - extends CredentialResource, - Page.TwilioResponsePayload {} +interface CredentialPayload extends CredentialResource, TwilioResponsePayload {} interface CredentialResource { sid?: string | null; diff --git a/lib/rest/conversations/v1/participantConversation.ts b/lib/rest/conversations/v1/participantConversation.ts index 374ad5021e..5f8b090a46 100644 --- a/lib/rest/conversations/v1/participantConversation.ts +++ b/lib/rest/conversations/v1/participantConversation.ts @@ -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"); @@ -333,7 +333,7 @@ export function ParticipantConversationListInstance( interface ParticipantConversationPayload extends ParticipantConversationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ParticipantConversationResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/role.ts b/lib/rest/conversations/v1/role.ts index 0a4b832bf8..c3322fb7e5 100644 --- a/lib/rest/conversations/v1/role.ts +++ b/lib/rest/conversations/v1/role.ts @@ -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"); @@ -234,7 +234,7 @@ export class RoleContextImpl implements RoleContext { } } -interface RolePayload extends RoleResource, Page.TwilioResponsePayload {} +interface RolePayload extends RoleResource, TwilioResponsePayload {} interface RoleResource { sid?: string | null; diff --git a/lib/rest/conversations/v1/service.ts b/lib/rest/conversations/v1/service.ts index 8feb49adf5..5f1411efca 100644 --- a/lib/rest/conversations/v1/service.ts +++ b/lib/rest/conversations/v1/service.ts @@ -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"); @@ -228,7 +228,7 @@ export class ServiceContextImpl implements ServiceContext { } } -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/service/binding.ts b/lib/rest/conversations/v1/service/binding.ts index f14142c91b..0aa7398c8b 100644 --- a/lib/rest/conversations/v1/service/binding.ts +++ b/lib/rest/conversations/v1/service/binding.ts @@ -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"); @@ -185,7 +185,7 @@ export class BindingContextImpl implements BindingContext { } } -interface BindingPayload extends BindingResource, Page.TwilioResponsePayload {} +interface BindingPayload extends BindingResource, TwilioResponsePayload {} interface BindingResource { sid?: string | null; diff --git a/lib/rest/conversations/v1/service/conversation.ts b/lib/rest/conversations/v1/service/conversation.ts index bc5737c325..d56fde3fb5 100644 --- a/lib/rest/conversations/v1/service/conversation.ts +++ b/lib/rest/conversations/v1/service/conversation.ts @@ -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"); @@ -393,7 +393,7 @@ export class ConversationContextImpl implements ConversationContext { interface ConversationPayload extends ConversationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ConversationResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/service/conversation/message.ts b/lib/rest/conversations/v1/service/conversation/message.ts index ed30b622c5..d147ad56d5 100644 --- a/lib/rest/conversations/v1/service/conversation/message.ts +++ b/lib/rest/conversations/v1/service/conversation/message.ts @@ -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"); @@ -359,7 +359,7 @@ export class MessageContextImpl implements MessageContext { } } -interface MessagePayload extends MessageResource, Page.TwilioResponsePayload {} +interface MessagePayload extends MessageResource, TwilioResponsePayload {} interface MessageResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.ts b/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.ts index 3d890abb9b..8c5488009f 100644 --- a/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.ts +++ b/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.ts @@ -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"); @@ -176,7 +176,7 @@ export class DeliveryReceiptContextImpl implements DeliveryReceiptContext { interface DeliveryReceiptPayload extends DeliveryReceiptResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface DeliveryReceiptResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/service/conversation/participant.ts b/lib/rest/conversations/v1/service/conversation/participant.ts index 6aba094806..c31cb3b1b8 100644 --- a/lib/rest/conversations/v1/service/conversation/participant.ts +++ b/lib/rest/conversations/v1/service/conversation/participant.ts @@ -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"); @@ -358,7 +358,7 @@ export class ParticipantContextImpl implements ParticipantContext { interface ParticipantPayload extends ParticipantResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ParticipantResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/service/conversation/webhook.ts b/lib/rest/conversations/v1/service/conversation/webhook.ts index 7959cf9639..f5decdc918 100644 --- a/lib/rest/conversations/v1/service/conversation/webhook.ts +++ b/lib/rest/conversations/v1/service/conversation/webhook.ts @@ -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"); @@ -303,7 +303,7 @@ export class WebhookContextImpl implements WebhookContext { } } -interface WebhookPayload extends WebhookResource, Page.TwilioResponsePayload {} +interface WebhookPayload extends WebhookResource, TwilioResponsePayload {} interface WebhookResource { sid?: string | null; diff --git a/lib/rest/conversations/v1/service/participantConversation.ts b/lib/rest/conversations/v1/service/participantConversation.ts index 59910efe5e..bcc2833284 100644 --- a/lib/rest/conversations/v1/service/participantConversation.ts +++ b/lib/rest/conversations/v1/service/participantConversation.ts @@ -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"); @@ -340,7 +340,7 @@ export function ParticipantConversationListInstance( interface ParticipantConversationPayload extends ParticipantConversationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ParticipantConversationResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/service/role.ts b/lib/rest/conversations/v1/service/role.ts index 1964dfcd90..d91c4e9928 100644 --- a/lib/rest/conversations/v1/service/role.ts +++ b/lib/rest/conversations/v1/service/role.ts @@ -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"); @@ -249,7 +249,7 @@ export class RoleContextImpl implements RoleContext { } } -interface RolePayload extends RoleResource, Page.TwilioResponsePayload {} +interface RolePayload extends RoleResource, TwilioResponsePayload {} interface RoleResource { sid?: string | null; diff --git a/lib/rest/conversations/v1/service/user.ts b/lib/rest/conversations/v1/service/user.ts index b2dbf4c8d0..4c02e3546a 100644 --- a/lib/rest/conversations/v1/service/user.ts +++ b/lib/rest/conversations/v1/service/user.ts @@ -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"); @@ -327,7 +327,7 @@ export class UserContextImpl implements UserContext { } } -interface UserPayload extends UserResource, Page.TwilioResponsePayload {} +interface UserPayload extends UserResource, TwilioResponsePayload {} interface UserResource { sid?: string | null; diff --git a/lib/rest/conversations/v1/service/user/userConversation.ts b/lib/rest/conversations/v1/service/user/userConversation.ts index 29cee5ac38..0a8bd7387d 100644 --- a/lib/rest/conversations/v1/service/user/userConversation.ts +++ b/lib/rest/conversations/v1/service/user/userConversation.ts @@ -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"); @@ -275,7 +275,7 @@ export class UserConversationContextImpl implements UserConversationContext { interface UserConversationPayload extends UserConversationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UserConversationResource { account_sid?: string | null; diff --git a/lib/rest/conversations/v1/user.ts b/lib/rest/conversations/v1/user.ts index 2334d93ea0..a5acc690b2 100644 --- a/lib/rest/conversations/v1/user.ts +++ b/lib/rest/conversations/v1/user.ts @@ -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"); @@ -308,7 +308,7 @@ export class UserContextImpl implements UserContext { } } -interface UserPayload extends UserResource, Page.TwilioResponsePayload {} +interface UserPayload extends UserResource, TwilioResponsePayload {} interface UserResource { sid?: string | null; diff --git a/lib/rest/conversations/v1/user/userConversation.ts b/lib/rest/conversations/v1/user/userConversation.ts index 2689f954a5..b1135ae062 100644 --- a/lib/rest/conversations/v1/user/userConversation.ts +++ b/lib/rest/conversations/v1/user/userConversation.ts @@ -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"); @@ -267,7 +267,7 @@ export class UserConversationContextImpl implements UserConversationContext { interface UserConversationPayload extends UserConversationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UserConversationResource { account_sid?: string | null; diff --git a/lib/rest/events/v1/eventType.ts b/lib/rest/events/v1/eventType.ts index 14a31f09fe..2eb6f17fea 100644 --- a/lib/rest/events/v1/eventType.ts +++ b/lib/rest/events/v1/eventType.ts @@ -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"); @@ -142,9 +142,7 @@ export class EventTypeContextImpl implements EventTypeContext { } } -interface EventTypePayload - extends EventTypeResource, - Page.TwilioResponsePayload {} +interface EventTypePayload extends EventTypeResource, TwilioResponsePayload {} interface EventTypeResource { type?: string | null; diff --git a/lib/rest/events/v1/schema/schemaVersion.ts b/lib/rest/events/v1/schema/schemaVersion.ts index a28d2a5e30..c82b4a616d 100644 --- a/lib/rest/events/v1/schema/schemaVersion.ts +++ b/lib/rest/events/v1/schema/schemaVersion.ts @@ -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"); @@ -148,7 +148,7 @@ export class SchemaVersionContextImpl implements SchemaVersionContext { interface SchemaVersionPayload extends SchemaVersionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SchemaVersionResource { id?: string | null; diff --git a/lib/rest/events/v1/sink.ts b/lib/rest/events/v1/sink.ts index 44406121b7..8e96cfd0e0 100644 --- a/lib/rest/events/v1/sink.ts +++ b/lib/rest/events/v1/sink.ts @@ -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"); @@ -269,7 +269,7 @@ export class SinkContextImpl implements SinkContext { } } -interface SinkPayload extends SinkResource, Page.TwilioResponsePayload {} +interface SinkPayload extends SinkResource, TwilioResponsePayload {} interface SinkResource { date_created?: Date | null; diff --git a/lib/rest/events/v1/subscription.ts b/lib/rest/events/v1/subscription.ts index 74d97eafcf..163eab48db 100644 --- a/lib/rest/events/v1/subscription.ts +++ b/lib/rest/events/v1/subscription.ts @@ -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"); @@ -265,7 +265,7 @@ export class SubscriptionContextImpl implements SubscriptionContext { interface SubscriptionPayload extends SubscriptionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SubscriptionResource { account_sid?: string | null; diff --git a/lib/rest/events/v1/subscription/subscribedEvent.ts b/lib/rest/events/v1/subscription/subscribedEvent.ts index a1ac28ec13..962d28b3a3 100644 --- a/lib/rest/events/v1/subscription/subscribedEvent.ts +++ b/lib/rest/events/v1/subscription/subscribedEvent.ts @@ -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"); @@ -260,7 +260,7 @@ export class SubscribedEventContextImpl implements SubscribedEventContext { interface SubscribedEventPayload extends SubscribedEventResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SubscribedEventResource { account_sid?: string | null; diff --git a/lib/rest/flexApi/v1/channel.ts b/lib/rest/flexApi/v1/channel.ts index dc16eb81cb..e27e68bf74 100644 --- a/lib/rest/flexApi/v1/channel.ts +++ b/lib/rest/flexApi/v1/channel.ts @@ -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"); @@ -187,7 +187,7 @@ export class ChannelContextImpl implements ChannelContext { } } -interface ChannelPayload extends ChannelResource, Page.TwilioResponsePayload {} +interface ChannelPayload extends ChannelResource, TwilioResponsePayload {} interface ChannelResource { account_sid?: string | null; diff --git a/lib/rest/flexApi/v1/flexFlow.ts b/lib/rest/flexApi/v1/flexFlow.ts index c6a4ae46c7..1103c6b168 100644 --- a/lib/rest/flexApi/v1/flexFlow.ts +++ b/lib/rest/flexApi/v1/flexFlow.ts @@ -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"); @@ -352,9 +352,7 @@ export class FlexFlowContextImpl implements FlexFlowContext { } } -interface FlexFlowPayload - extends FlexFlowResource, - Page.TwilioResponsePayload {} +interface FlexFlowPayload extends FlexFlowResource, TwilioResponsePayload {} interface FlexFlowResource { account_sid?: string | null; diff --git a/lib/rest/flexApi/v1/interaction/interactionChannel.ts b/lib/rest/flexApi/v1/interaction/interactionChannel.ts index d737a60453..dceae813aa 100644 --- a/lib/rest/flexApi/v1/interaction/interactionChannel.ts +++ b/lib/rest/flexApi/v1/interaction/interactionChannel.ts @@ -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"); @@ -264,7 +264,7 @@ export class InteractionChannelContextImpl interface InteractionChannelPayload extends InteractionChannelResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface InteractionChannelResource { sid?: string | null; diff --git a/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.ts b/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.ts index 6c21dc3dd6..1b2f54e1c6 100644 --- a/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.ts +++ b/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.ts @@ -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"); @@ -402,7 +402,7 @@ export function InteractionChannelInviteListInstance( interface InteractionChannelInvitePayload extends InteractionChannelInviteResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface InteractionChannelInviteResource { sid?: string | null; diff --git a/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.ts b/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.ts index e3dd83bbfb..627ef600b4 100644 --- a/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.ts +++ b/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.ts @@ -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"); @@ -221,7 +221,7 @@ export class InteractionChannelParticipantContextImpl interface InteractionChannelParticipantPayload extends InteractionChannelParticipantResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface InteractionChannelParticipantResource { sid?: string | null; diff --git a/lib/rest/flexApi/v1/webChannel.ts b/lib/rest/flexApi/v1/webChannel.ts index e79e5f59e2..2d4867d177 100644 --- a/lib/rest/flexApi/v1/webChannel.ts +++ b/lib/rest/flexApi/v1/webChannel.ts @@ -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"); @@ -254,9 +254,7 @@ export class WebChannelContextImpl implements WebChannelContext { } } -interface WebChannelPayload - extends WebChannelResource, - Page.TwilioResponsePayload {} +interface WebChannelPayload extends WebChannelResource, TwilioResponsePayload {} interface WebChannelResource { account_sid?: string | null; diff --git a/lib/rest/insights/v1/call/event.ts b/lib/rest/insights/v1/call/event.ts index 0388eb8a36..7d21849694 100644 --- a/lib/rest/insights/v1/call/event.ts +++ b/lib/rest/insights/v1/call/event.ts @@ -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"); @@ -311,7 +311,7 @@ export function EventListInstance( return instance; } -interface EventPayload extends EventResource, Page.TwilioResponsePayload {} +interface EventPayload extends EventResource, TwilioResponsePayload {} interface EventResource { timestamp?: string | null; diff --git a/lib/rest/insights/v1/call/metric.ts b/lib/rest/insights/v1/call/metric.ts index 9a2835109d..53bb58f87c 100644 --- a/lib/rest/insights/v1/call/metric.ts +++ b/lib/rest/insights/v1/call/metric.ts @@ -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"); @@ -319,7 +319,7 @@ export function MetricListInstance( return instance; } -interface MetricPayload extends MetricResource, Page.TwilioResponsePayload {} +interface MetricPayload extends MetricResource, TwilioResponsePayload {} interface MetricResource { timestamp?: string | null; diff --git a/lib/rest/insights/v1/callSummaries.ts b/lib/rest/insights/v1/callSummaries.ts index 763fd27033..df9d8baf4e 100644 --- a/lib/rest/insights/v1/callSummaries.ts +++ b/lib/rest/insights/v1/callSummaries.ts @@ -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"); @@ -467,7 +467,7 @@ export function CallSummariesListInstance( interface CallSummariesPayload extends CallSummariesResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface CallSummariesResource { account_sid?: string | null; diff --git a/lib/rest/insights/v1/conference.ts b/lib/rest/insights/v1/conference.ts index 09c7b9f727..1147eb8635 100644 --- a/lib/rest/insights/v1/conference.ts +++ b/lib/rest/insights/v1/conference.ts @@ -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"); @@ -245,9 +245,7 @@ export class ConferenceContextImpl implements ConferenceContext { } } -interface ConferencePayload - extends ConferenceResource, - Page.TwilioResponsePayload {} +interface ConferencePayload extends ConferenceResource, TwilioResponsePayload {} interface ConferenceResource { conference_sid?: string | null; diff --git a/lib/rest/insights/v1/conference/conferenceParticipant.ts b/lib/rest/insights/v1/conference/conferenceParticipant.ts index cfc1596993..cd7744510e 100644 --- a/lib/rest/insights/v1/conference/conferenceParticipant.ts +++ b/lib/rest/insights/v1/conference/conferenceParticipant.ts @@ -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"); @@ -254,7 +254,7 @@ export class ConferenceParticipantContextImpl interface ConferenceParticipantPayload extends ConferenceParticipantResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ConferenceParticipantResource { participant_sid?: string | null; diff --git a/lib/rest/insights/v1/room.ts b/lib/rest/insights/v1/room.ts index 6791f0e6aa..6ffff3eae2 100644 --- a/lib/rest/insights/v1/room.ts +++ b/lib/rest/insights/v1/room.ts @@ -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"); @@ -220,7 +220,7 @@ export type RoomStatusCallbackMethod = | "PUT" | "DELETE"; -interface RoomPayload extends RoomResource, Page.TwilioResponsePayload {} +interface RoomPayload extends RoomResource, TwilioResponsePayload {} interface RoomResource { account_sid?: string | null; diff --git a/lib/rest/insights/v1/room/participant.ts b/lib/rest/insights/v1/room/participant.ts index 4c74dd7de7..450c299994 100644 --- a/lib/rest/insights/v1/room/participant.ts +++ b/lib/rest/insights/v1/room/participant.ts @@ -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"); @@ -175,7 +175,7 @@ export class ParticipantContextImpl implements ParticipantContext { interface ParticipantPayload extends ParticipantResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ParticipantResource { participant_sid?: string | null; diff --git a/lib/rest/ipMessaging/v1/credential.ts b/lib/rest/ipMessaging/v1/credential.ts index ebb6351b6d..9c2f2419b5 100644 --- a/lib/rest/ipMessaging/v1/credential.ts +++ b/lib/rest/ipMessaging/v1/credential.ts @@ -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"); @@ -270,9 +270,7 @@ export class CredentialContextImpl implements CredentialContext { } } -interface CredentialPayload - extends CredentialResource, - Page.TwilioResponsePayload {} +interface CredentialPayload extends CredentialResource, TwilioResponsePayload {} interface CredentialResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v1/service.ts b/lib/rest/ipMessaging/v1/service.ts index ab1579a908..1e37f063e7 100644 --- a/lib/rest/ipMessaging/v1/service.ts +++ b/lib/rest/ipMessaging/v1/service.ts @@ -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"); @@ -524,7 +524,7 @@ export class ServiceContextImpl implements ServiceContext { } } -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v1/service/channel.ts b/lib/rest/ipMessaging/v1/service/channel.ts index 170e4dc961..0600d4c191 100644 --- a/lib/rest/ipMessaging/v1/service/channel.ts +++ b/lib/rest/ipMessaging/v1/service/channel.ts @@ -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"); @@ -319,7 +319,7 @@ export class ChannelContextImpl implements ChannelContext { } } -interface ChannelPayload extends ChannelResource, Page.TwilioResponsePayload {} +interface ChannelPayload extends ChannelResource, TwilioResponsePayload {} interface ChannelResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v1/service/channel/invite.ts b/lib/rest/ipMessaging/v1/service/channel/invite.ts index 211cd23767..01c9fc5b8f 100644 --- a/lib/rest/ipMessaging/v1/service/channel/invite.ts +++ b/lib/rest/ipMessaging/v1/service/channel/invite.ts @@ -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"); @@ -198,7 +198,7 @@ export class InviteContextImpl implements InviteContext { } } -interface InvitePayload extends InviteResource, Page.TwilioResponsePayload {} +interface InvitePayload extends InviteResource, TwilioResponsePayload {} interface InviteResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v1/service/channel/member.ts b/lib/rest/ipMessaging/v1/service/channel/member.ts index d975c606b7..47f3b960f6 100644 --- a/lib/rest/ipMessaging/v1/service/channel/member.ts +++ b/lib/rest/ipMessaging/v1/service/channel/member.ts @@ -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"); @@ -276,7 +276,7 @@ export class MemberContextImpl implements MemberContext { } } -interface MemberPayload extends MemberResource, Page.TwilioResponsePayload {} +interface MemberPayload extends MemberResource, TwilioResponsePayload {} interface MemberResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v1/service/channel/message.ts b/lib/rest/ipMessaging/v1/service/channel/message.ts index 727b9c7463..0511b5e699 100644 --- a/lib/rest/ipMessaging/v1/service/channel/message.ts +++ b/lib/rest/ipMessaging/v1/service/channel/message.ts @@ -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"); @@ -280,7 +280,7 @@ export class MessageContextImpl implements MessageContext { } } -interface MessagePayload extends MessageResource, Page.TwilioResponsePayload {} +interface MessagePayload extends MessageResource, TwilioResponsePayload {} interface MessageResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v1/service/role.ts b/lib/rest/ipMessaging/v1/service/role.ts index 9e69767866..30845bc86a 100644 --- a/lib/rest/ipMessaging/v1/service/role.ts +++ b/lib/rest/ipMessaging/v1/service/role.ts @@ -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"); @@ -249,7 +249,7 @@ export class RoleContextImpl implements RoleContext { } } -interface RolePayload extends RoleResource, Page.TwilioResponsePayload {} +interface RolePayload extends RoleResource, TwilioResponsePayload {} interface RoleResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v1/service/user.ts b/lib/rest/ipMessaging/v1/service/user.ts index 1a957c1409..24de860657 100644 --- a/lib/rest/ipMessaging/v1/service/user.ts +++ b/lib/rest/ipMessaging/v1/service/user.ts @@ -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"); @@ -282,7 +282,7 @@ export class UserContextImpl implements UserContext { } } -interface UserPayload extends UserResource, Page.TwilioResponsePayload {} +interface UserPayload extends UserResource, TwilioResponsePayload {} interface UserResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v1/service/user/userChannel.ts b/lib/rest/ipMessaging/v1/service/user/userChannel.ts index 8106f121c7..b587e30d23 100644 --- a/lib/rest/ipMessaging/v1/service/user/userChannel.ts +++ b/lib/rest/ipMessaging/v1/service/user/userChannel.ts @@ -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"); @@ -306,7 +306,7 @@ export function UserChannelListInstance( interface UserChannelPayload extends UserChannelResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UserChannelResource { account_sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/credential.ts b/lib/rest/ipMessaging/v2/credential.ts index b23c17ea9c..90b6c8e04d 100644 --- a/lib/rest/ipMessaging/v2/credential.ts +++ b/lib/rest/ipMessaging/v2/credential.ts @@ -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 V2 from "../V2"; const deserialize = require("../../../base/deserialize"); @@ -270,9 +270,7 @@ export class CredentialContextImpl implements CredentialContext { } } -interface CredentialPayload - extends CredentialResource, - Page.TwilioResponsePayload {} +interface CredentialPayload extends CredentialResource, TwilioResponsePayload {} interface CredentialResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/service.ts b/lib/rest/ipMessaging/v2/service.ts index ed33174163..d877674253 100644 --- a/lib/rest/ipMessaging/v2/service.ts +++ b/lib/rest/ipMessaging/v2/service.ts @@ -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 V2 from "../V2"; const deserialize = require("../../../base/deserialize"); @@ -422,7 +422,7 @@ export class ServiceContextImpl implements ServiceContext { } } -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/service/binding.ts b/lib/rest/ipMessaging/v2/service/binding.ts index e391de71a5..1c35993d86 100644 --- a/lib/rest/ipMessaging/v2/service/binding.ts +++ b/lib/rest/ipMessaging/v2/service/binding.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -185,7 +185,7 @@ export class BindingContextImpl implements BindingContext { } } -interface BindingPayload extends BindingResource, Page.TwilioResponsePayload {} +interface BindingPayload extends BindingResource, TwilioResponsePayload {} interface BindingResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/service/channel.ts b/lib/rest/ipMessaging/v2/service/channel.ts index 2adf046a5a..60bc54b4d2 100644 --- a/lib/rest/ipMessaging/v2/service/channel.ts +++ b/lib/rest/ipMessaging/v2/service/channel.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -396,7 +396,7 @@ export class ChannelContextImpl implements ChannelContext { } } -interface ChannelPayload extends ChannelResource, Page.TwilioResponsePayload {} +interface ChannelPayload extends ChannelResource, TwilioResponsePayload {} interface ChannelResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/service/channel/invite.ts b/lib/rest/ipMessaging/v2/service/channel/invite.ts index ef804f983f..3df5e91e37 100644 --- a/lib/rest/ipMessaging/v2/service/channel/invite.ts +++ b/lib/rest/ipMessaging/v2/service/channel/invite.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -198,7 +198,7 @@ export class InviteContextImpl implements InviteContext { } } -interface InvitePayload extends InviteResource, Page.TwilioResponsePayload {} +interface InvitePayload extends InviteResource, TwilioResponsePayload {} interface InviteResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/service/channel/member.ts b/lib/rest/ipMessaging/v2/service/channel/member.ts index bacc78a0c9..504705e364 100644 --- a/lib/rest/ipMessaging/v2/service/channel/member.ts +++ b/lib/rest/ipMessaging/v2/service/channel/member.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -349,7 +349,7 @@ export class MemberContextImpl implements MemberContext { } } -interface MemberPayload extends MemberResource, Page.TwilioResponsePayload {} +interface MemberPayload extends MemberResource, TwilioResponsePayload {} interface MemberResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/service/channel/message.ts b/lib/rest/ipMessaging/v2/service/channel/message.ts index 68b50df585..ef6bc92b75 100644 --- a/lib/rest/ipMessaging/v2/service/channel/message.ts +++ b/lib/rest/ipMessaging/v2/service/channel/message.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -348,7 +348,7 @@ export class MessageContextImpl implements MessageContext { } } -interface MessagePayload extends MessageResource, Page.TwilioResponsePayload {} +interface MessagePayload extends MessageResource, TwilioResponsePayload {} interface MessageResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/service/channel/webhook.ts b/lib/rest/ipMessaging/v2/service/channel/webhook.ts index 3cdce0f1ab..974dff8ad1 100644 --- a/lib/rest/ipMessaging/v2/service/channel/webhook.ts +++ b/lib/rest/ipMessaging/v2/service/channel/webhook.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -307,7 +307,7 @@ export class WebhookContextImpl implements WebhookContext { } } -interface WebhookPayload extends WebhookResource, Page.TwilioResponsePayload {} +interface WebhookPayload extends WebhookResource, TwilioResponsePayload {} interface WebhookResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/service/role.ts b/lib/rest/ipMessaging/v2/service/role.ts index d1815a3be5..d3f9bdec95 100644 --- a/lib/rest/ipMessaging/v2/service/role.ts +++ b/lib/rest/ipMessaging/v2/service/role.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -249,7 +249,7 @@ export class RoleContextImpl implements RoleContext { } } -interface RolePayload extends RoleResource, Page.TwilioResponsePayload {} +interface RolePayload extends RoleResource, TwilioResponsePayload {} interface RoleResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/service/user.ts b/lib/rest/ipMessaging/v2/service/user.ts index 804029c635..6a2f390627 100644 --- a/lib/rest/ipMessaging/v2/service/user.ts +++ b/lib/rest/ipMessaging/v2/service/user.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -304,7 +304,7 @@ export class UserContextImpl implements UserContext { } } -interface UserPayload extends UserResource, Page.TwilioResponsePayload {} +interface UserPayload extends UserResource, TwilioResponsePayload {} interface UserResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/service/user/userBinding.ts b/lib/rest/ipMessaging/v2/service/user/userBinding.ts index 57bb8372e2..d1a783ff58 100644 --- a/lib/rest/ipMessaging/v2/service/user/userBinding.ts +++ b/lib/rest/ipMessaging/v2/service/user/userBinding.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -192,7 +192,7 @@ export class UserBindingContextImpl implements UserBindingContext { interface UserBindingPayload extends UserBindingResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UserBindingResource { sid?: string | null; diff --git a/lib/rest/ipMessaging/v2/service/user/userChannel.ts b/lib/rest/ipMessaging/v2/service/user/userChannel.ts index f1ec3dd90f..dc601e7920 100644 --- a/lib/rest/ipMessaging/v2/service/user/userChannel.ts +++ b/lib/rest/ipMessaging/v2/service/user/userChannel.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -272,7 +272,7 @@ export class UserChannelContextImpl implements UserChannelContext { interface UserChannelPayload extends UserChannelResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UserChannelResource { account_sid?: string | null; diff --git a/lib/rest/media/v1/mediaProcessor.ts b/lib/rest/media/v1/mediaProcessor.ts index c3819f5ba4..8e638e95a5 100644 --- a/lib/rest/media/v1/mediaProcessor.ts +++ b/lib/rest/media/v1/mediaProcessor.ts @@ -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"); @@ -251,7 +251,7 @@ export type MediaProcessorStatusCallbackMethod = interface MediaProcessorPayload extends MediaProcessorResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface MediaProcessorResource { account_sid?: string | null; diff --git a/lib/rest/media/v1/mediaRecording.ts b/lib/rest/media/v1/mediaRecording.ts index a8860a4263..76f29b5b4d 100644 --- a/lib/rest/media/v1/mediaRecording.ts +++ b/lib/rest/media/v1/mediaRecording.ts @@ -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"); @@ -207,7 +207,7 @@ export type MediaRecordingStatusCallbackMethod = interface MediaRecordingPayload extends MediaRecordingResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface MediaRecordingResource { account_sid?: string | null; diff --git a/lib/rest/media/v1/playerStreamer.ts b/lib/rest/media/v1/playerStreamer.ts index 6de5550ea4..9b455ca23f 100644 --- a/lib/rest/media/v1/playerStreamer.ts +++ b/lib/rest/media/v1/playerStreamer.ts @@ -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"); @@ -265,7 +265,7 @@ export type PlayerStreamerStatusCallbackMethod = interface PlayerStreamerPayload extends PlayerStreamerResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface PlayerStreamerResource { account_sid?: string | null; diff --git a/lib/rest/messaging/v1/brandRegistration.ts b/lib/rest/messaging/v1/brandRegistration.ts index 735d8a6da7..b6cda46ce4 100644 --- a/lib/rest/messaging/v1/brandRegistration.ts +++ b/lib/rest/messaging/v1/brandRegistration.ts @@ -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"); @@ -227,7 +227,7 @@ export class BrandRegistrationContextImpl implements BrandRegistrationContext { interface BrandRegistrationPayload extends BrandRegistrationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface BrandRegistrationResource { sid?: string | null; diff --git a/lib/rest/messaging/v1/brandRegistration/brandVetting.ts b/lib/rest/messaging/v1/brandRegistration/brandVetting.ts index 196341e0d8..e563c1cf3c 100644 --- a/lib/rest/messaging/v1/brandRegistration/brandVetting.ts +++ b/lib/rest/messaging/v1/brandRegistration/brandVetting.ts @@ -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"); @@ -170,7 +170,7 @@ export class BrandVettingContextImpl implements BrandVettingContext { interface BrandVettingPayload extends BrandVettingResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface BrandVettingResource { account_sid?: string | null; diff --git a/lib/rest/messaging/v1/service.ts b/lib/rest/messaging/v1/service.ts index 630636996d..1d0a303626 100644 --- a/lib/rest/messaging/v1/service.ts +++ b/lib/rest/messaging/v1/service.ts @@ -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"); @@ -399,7 +399,7 @@ export type ServiceFallbackMethod = | "PUT" | "DELETE"; -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { sid?: string | null; diff --git a/lib/rest/messaging/v1/service/alphaSender.ts b/lib/rest/messaging/v1/service/alphaSender.ts index 676be7c886..ce14f9c8d3 100644 --- a/lib/rest/messaging/v1/service/alphaSender.ts +++ b/lib/rest/messaging/v1/service/alphaSender.ts @@ -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"); @@ -181,7 +181,7 @@ export class AlphaSenderContextImpl implements AlphaSenderContext { interface AlphaSenderPayload extends AlphaSenderResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AlphaSenderResource { sid?: string | null; diff --git a/lib/rest/messaging/v1/service/phoneNumber.ts b/lib/rest/messaging/v1/service/phoneNumber.ts index ea27188d5c..0fe6fed346 100644 --- a/lib/rest/messaging/v1/service/phoneNumber.ts +++ b/lib/rest/messaging/v1/service/phoneNumber.ts @@ -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"); @@ -181,7 +181,7 @@ export class PhoneNumberContextImpl implements PhoneNumberContext { interface PhoneNumberPayload extends PhoneNumberResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface PhoneNumberResource { sid?: string | null; diff --git a/lib/rest/messaging/v1/service/shortCode.ts b/lib/rest/messaging/v1/service/shortCode.ts index dfb5a15696..b8dc5e3352 100644 --- a/lib/rest/messaging/v1/service/shortCode.ts +++ b/lib/rest/messaging/v1/service/shortCode.ts @@ -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"); @@ -179,9 +179,7 @@ export class ShortCodeContextImpl implements ShortCodeContext { } } -interface ShortCodePayload - extends ShortCodeResource, - Page.TwilioResponsePayload {} +interface ShortCodePayload extends ShortCodeResource, TwilioResponsePayload {} interface ShortCodeResource { sid?: string | null; diff --git a/lib/rest/messaging/v1/service/usAppToPerson.ts b/lib/rest/messaging/v1/service/usAppToPerson.ts index d08d7f031c..65b5bd01a6 100644 --- a/lib/rest/messaging/v1/service/usAppToPerson.ts +++ b/lib/rest/messaging/v1/service/usAppToPerson.ts @@ -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"); @@ -209,7 +209,7 @@ export class UsAppToPersonContextImpl implements UsAppToPersonContext { interface UsAppToPersonPayload extends UsAppToPersonResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UsAppToPersonResource { sid?: string | null; diff --git a/lib/rest/messaging/v1/tollfreeVerification.ts b/lib/rest/messaging/v1/tollfreeVerification.ts index 5e792c7e3e..1a97a1afb0 100644 --- a/lib/rest/messaging/v1/tollfreeVerification.ts +++ b/lib/rest/messaging/v1/tollfreeVerification.ts @@ -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"); @@ -222,7 +222,7 @@ export class TollfreeVerificationContextImpl interface TollfreeVerificationPayload extends TollfreeVerificationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface TollfreeVerificationResource { sid?: string | null; diff --git a/lib/rest/microvisor/v1/app.ts b/lib/rest/microvisor/v1/app.ts index 6a2e9c8b4e..c6fcc445b4 100644 --- a/lib/rest/microvisor/v1/app.ts +++ b/lib/rest/microvisor/v1/app.ts @@ -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"); @@ -161,7 +161,7 @@ export class AppContextImpl implements AppContext { } } -interface AppPayload extends AppResource, Page.TwilioResponsePayload {} +interface AppPayload extends AppResource, TwilioResponsePayload {} interface AppResource { sid?: string | null; diff --git a/lib/rest/microvisor/v1/device.ts b/lib/rest/microvisor/v1/device.ts index cc69e99806..28dd16aafc 100644 --- a/lib/rest/microvisor/v1/device.ts +++ b/lib/rest/microvisor/v1/device.ts @@ -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"); @@ -212,7 +212,7 @@ export class DeviceContextImpl implements DeviceContext { } } -interface DevicePayload extends DeviceResource, Page.TwilioResponsePayload {} +interface DevicePayload extends DeviceResource, TwilioResponsePayload {} interface DeviceResource { sid?: string | null; diff --git a/lib/rest/monitor/v1/alert.ts b/lib/rest/monitor/v1/alert.ts index 39c3eeb116..e4e19613bf 100644 --- a/lib/rest/monitor/v1/alert.ts +++ b/lib/rest/monitor/v1/alert.ts @@ -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"); @@ -161,7 +161,7 @@ export type AlertRequestMethod = | "PUT" | "DELETE"; -interface AlertPayload extends AlertResource, Page.TwilioResponsePayload {} +interface AlertPayload extends AlertResource, TwilioResponsePayload {} interface AlertResource { account_sid?: string | null; diff --git a/lib/rest/monitor/v1/event.ts b/lib/rest/monitor/v1/event.ts index fd2e03c6e0..b98fcb3cbc 100644 --- a/lib/rest/monitor/v1/event.ts +++ b/lib/rest/monitor/v1/event.ts @@ -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"); @@ -172,7 +172,7 @@ export class EventContextImpl implements EventContext { } } -interface EventPayload extends EventResource, Page.TwilioResponsePayload {} +interface EventPayload extends EventResource, TwilioResponsePayload {} interface EventResource { account_sid?: string | null; diff --git a/lib/rest/notify/v1/credential.ts b/lib/rest/notify/v1/credential.ts index a1d02644be..07a90b5879 100644 --- a/lib/rest/notify/v1/credential.ts +++ b/lib/rest/notify/v1/credential.ts @@ -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"); @@ -270,9 +270,7 @@ export class CredentialContextImpl implements CredentialContext { } } -interface CredentialPayload - extends CredentialResource, - Page.TwilioResponsePayload {} +interface CredentialPayload extends CredentialResource, TwilioResponsePayload {} interface CredentialResource { sid?: string | null; diff --git a/lib/rest/notify/v1/service.ts b/lib/rest/notify/v1/service.ts index 200ab8a90f..f23bfe6bb9 100644 --- a/lib/rest/notify/v1/service.ts +++ b/lib/rest/notify/v1/service.ts @@ -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"); @@ -349,7 +349,7 @@ export class ServiceContextImpl implements ServiceContext { } } -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { sid?: string | null; diff --git a/lib/rest/notify/v1/service/binding.ts b/lib/rest/notify/v1/service/binding.ts index 9a982051c4..4680cea51d 100644 --- a/lib/rest/notify/v1/service/binding.ts +++ b/lib/rest/notify/v1/service/binding.ts @@ -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"); @@ -223,7 +223,7 @@ export class BindingContextImpl implements BindingContext { } } -interface BindingPayload extends BindingResource, Page.TwilioResponsePayload {} +interface BindingPayload extends BindingResource, TwilioResponsePayload {} interface BindingResource { sid?: string | null; diff --git a/lib/rest/numbers/v2/regulatoryCompliance/bundle.ts b/lib/rest/numbers/v2/regulatoryCompliance/bundle.ts index d91ab5e7dd..48ace1afcc 100644 --- a/lib/rest/numbers/v2/regulatoryCompliance/bundle.ts +++ b/lib/rest/numbers/v2/regulatoryCompliance/bundle.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -382,7 +382,7 @@ export class BundleContextImpl implements BundleContext { } } -interface BundlePayload extends BundleResource, Page.TwilioResponsePayload {} +interface BundlePayload extends BundleResource, TwilioResponsePayload {} interface BundleResource { sid?: string | null; diff --git a/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.ts b/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.ts index 0508a796d9..4829a335af 100644 --- a/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.ts +++ b/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -378,9 +378,7 @@ export function BundleCopyListInstance( return instance; } -interface BundleCopyPayload - extends BundleCopyResource, - Page.TwilioResponsePayload {} +interface BundleCopyPayload extends BundleCopyResource, TwilioResponsePayload {} interface BundleCopyResource { sid?: string | null; diff --git a/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.ts b/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.ts index df74cefd20..fe2d7b2156 100644 --- a/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.ts +++ b/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -148,9 +148,7 @@ export class EvaluationContextImpl implements EvaluationContext { } } -interface EvaluationPayload - extends EvaluationResource, - Page.TwilioResponsePayload {} +interface EvaluationPayload extends EvaluationResource, TwilioResponsePayload {} interface EvaluationResource { sid?: string | null; diff --git a/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.ts b/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.ts index 6300b99f82..b1a357ab7a 100644 --- a/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.ts +++ b/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -184,7 +184,7 @@ export class ItemAssignmentContextImpl implements ItemAssignmentContext { interface ItemAssignmentPayload extends ItemAssignmentResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ItemAssignmentResource { sid?: string | null; diff --git a/lib/rest/numbers/v2/regulatoryCompliance/endUser.ts b/lib/rest/numbers/v2/regulatoryCompliance/endUser.ts index a9e96d0773..6f77638a65 100644 --- a/lib/rest/numbers/v2/regulatoryCompliance/endUser.ts +++ b/lib/rest/numbers/v2/regulatoryCompliance/endUser.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -248,7 +248,7 @@ export class EndUserContextImpl implements EndUserContext { } } -interface EndUserPayload extends EndUserResource, Page.TwilioResponsePayload {} +interface EndUserPayload extends EndUserResource, TwilioResponsePayload {} interface EndUserResource { sid?: string | null; diff --git a/lib/rest/numbers/v2/regulatoryCompliance/endUserType.ts b/lib/rest/numbers/v2/regulatoryCompliance/endUserType.ts index e62f2c0d95..2b05425e93 100644 --- a/lib/rest/numbers/v2/regulatoryCompliance/endUserType.ts +++ b/lib/rest/numbers/v2/regulatoryCompliance/endUserType.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -138,7 +138,7 @@ export class EndUserTypeContextImpl implements EndUserTypeContext { interface EndUserTypePayload extends EndUserTypeResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface EndUserTypeResource { sid?: string | null; diff --git a/lib/rest/numbers/v2/regulatoryCompliance/regulation.ts b/lib/rest/numbers/v2/regulatoryCompliance/regulation.ts index b8e086abd5..12064105d3 100644 --- a/lib/rest/numbers/v2/regulatoryCompliance/regulation.ts +++ b/lib/rest/numbers/v2/regulatoryCompliance/regulation.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -156,9 +156,7 @@ export class RegulationContextImpl implements RegulationContext { } } -interface RegulationPayload - extends RegulationResource, - Page.TwilioResponsePayload {} +interface RegulationPayload extends RegulationResource, TwilioResponsePayload {} interface RegulationResource { sid?: string | null; diff --git a/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.ts b/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.ts index 6c9f5098f8..bd2df67e4a 100644 --- a/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.ts +++ b/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -269,7 +269,7 @@ export class SupportingDocumentContextImpl interface SupportingDocumentPayload extends SupportingDocumentResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SupportingDocumentResource { sid?: string | null; diff --git a/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.ts b/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.ts index 39d6e484c3..2f477cc592 100644 --- a/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.ts +++ b/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -150,7 +150,7 @@ export class SupportingDocumentTypeContextImpl interface SupportingDocumentTypePayload extends SupportingDocumentTypeResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SupportingDocumentTypeResource { sid?: string | null; diff --git a/lib/rest/preview/deployed_devices/fleet.ts b/lib/rest/preview/deployed_devices/fleet.ts index febab7780d..da647e5183 100644 --- a/lib/rest/preview/deployed_devices/fleet.ts +++ b/lib/rest/preview/deployed_devices/fleet.ts @@ -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 DeployedDevices from "../DeployedDevices"; const deserialize = require("../../../base/deserialize"); @@ -282,7 +282,7 @@ export class FleetContextImpl implements FleetContext { } } -interface FleetPayload extends FleetResource, Page.TwilioResponsePayload {} +interface FleetPayload extends FleetResource, TwilioResponsePayload {} interface FleetResource { sid?: string | null; diff --git a/lib/rest/preview/deployed_devices/fleet/certificate.ts b/lib/rest/preview/deployed_devices/fleet/certificate.ts index 49173a3920..95b2454905 100644 --- a/lib/rest/preview/deployed_devices/fleet/certificate.ts +++ b/lib/rest/preview/deployed_devices/fleet/certificate.ts @@ -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 DeployedDevices from "../../DeployedDevices"; const deserialize = require("../../../../base/deserialize"); @@ -273,7 +273,7 @@ export class CertificateContextImpl implements CertificateContext { interface CertificatePayload extends CertificateResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface CertificateResource { sid?: string | null; diff --git a/lib/rest/preview/deployed_devices/fleet/deployment.ts b/lib/rest/preview/deployed_devices/fleet/deployment.ts index 6c9c65fdeb..c58fabb765 100644 --- a/lib/rest/preview/deployed_devices/fleet/deployment.ts +++ b/lib/rest/preview/deployed_devices/fleet/deployment.ts @@ -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 DeployedDevices from "../../DeployedDevices"; const deserialize = require("../../../../base/deserialize"); @@ -263,9 +263,7 @@ export class DeploymentContextImpl implements DeploymentContext { } } -interface DeploymentPayload - extends DeploymentResource, - Page.TwilioResponsePayload {} +interface DeploymentPayload extends DeploymentResource, TwilioResponsePayload {} interface DeploymentResource { sid?: string | null; diff --git a/lib/rest/preview/deployed_devices/fleet/device.ts b/lib/rest/preview/deployed_devices/fleet/device.ts index 16259a5c6f..9b94bf494b 100644 --- a/lib/rest/preview/deployed_devices/fleet/device.ts +++ b/lib/rest/preview/deployed_devices/fleet/device.ts @@ -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 DeployedDevices from "../../DeployedDevices"; const deserialize = require("../../../../base/deserialize"); @@ -282,7 +282,7 @@ export class DeviceContextImpl implements DeviceContext { } } -interface DevicePayload extends DeviceResource, Page.TwilioResponsePayload {} +interface DevicePayload extends DeviceResource, TwilioResponsePayload {} interface DeviceResource { sid?: string | null; diff --git a/lib/rest/preview/deployed_devices/fleet/key.ts b/lib/rest/preview/deployed_devices/fleet/key.ts index 72a7fb13cd..d80494051f 100644 --- a/lib/rest/preview/deployed_devices/fleet/key.ts +++ b/lib/rest/preview/deployed_devices/fleet/key.ts @@ -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 DeployedDevices from "../../DeployedDevices"; const deserialize = require("../../../../base/deserialize"); @@ -269,7 +269,7 @@ export class KeyContextImpl implements KeyContext { } } -interface KeyPayload extends KeyResource, Page.TwilioResponsePayload {} +interface KeyPayload extends KeyResource, TwilioResponsePayload {} interface KeyResource { sid?: string | null; diff --git a/lib/rest/preview/hosted_numbers/authorizationDocument.ts b/lib/rest/preview/hosted_numbers/authorizationDocument.ts index 161c4bb281..9ab09d62c2 100644 --- a/lib/rest/preview/hosted_numbers/authorizationDocument.ts +++ b/lib/rest/preview/hosted_numbers/authorizationDocument.ts @@ -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 HostedNumbers from "../HostedNumbers"; const deserialize = require("../../../base/deserialize"); @@ -303,7 +303,7 @@ export class AuthorizationDocumentContextImpl interface AuthorizationDocumentPayload extends AuthorizationDocumentResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AuthorizationDocumentResource { sid?: string | null; diff --git a/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.ts b/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.ts index 7192d6e877..73b7862010 100644 --- a/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.ts +++ b/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.ts @@ -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 HostedNumbers from "../../HostedNumbers"; const deserialize = require("../../../../base/deserialize"); @@ -396,7 +396,7 @@ export function DependentHostedNumberOrderListInstance( interface DependentHostedNumberOrderPayload extends DependentHostedNumberOrderResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface DependentHostedNumberOrderResource { sid?: string | null; diff --git a/lib/rest/preview/hosted_numbers/hostedNumberOrder.ts b/lib/rest/preview/hosted_numbers/hostedNumberOrder.ts index 95b1d9b995..c9ba55d4a3 100644 --- a/lib/rest/preview/hosted_numbers/hostedNumberOrder.ts +++ b/lib/rest/preview/hosted_numbers/hostedNumberOrder.ts @@ -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 HostedNumbers from "../HostedNumbers"; const deserialize = require("../../../base/deserialize"); @@ -361,7 +361,7 @@ export class HostedNumberOrderContextImpl implements HostedNumberOrderContext { interface HostedNumberOrderPayload extends HostedNumberOrderResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface HostedNumberOrderResource { sid?: string | null; diff --git a/lib/rest/preview/marketplace/availableAddOn.ts b/lib/rest/preview/marketplace/availableAddOn.ts index 303d7a6d7f..e2a7223d57 100644 --- a/lib/rest/preview/marketplace/availableAddOn.ts +++ b/lib/rest/preview/marketplace/availableAddOn.ts @@ -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 Marketplace from "../Marketplace"; const deserialize = require("../../../base/deserialize"); @@ -157,7 +157,7 @@ export class AvailableAddOnContextImpl implements AvailableAddOnContext { interface AvailableAddOnPayload extends AvailableAddOnResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AvailableAddOnResource { sid?: string | null; diff --git a/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.ts b/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.ts index 9f77761cbc..8cdfcf8171 100644 --- a/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.ts +++ b/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.ts @@ -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 Marketplace from "../../Marketplace"; const deserialize = require("../../../../base/deserialize"); @@ -160,7 +160,7 @@ export class AvailableAddOnExtensionContextImpl interface AvailableAddOnExtensionPayload extends AvailableAddOnExtensionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AvailableAddOnExtensionResource { sid?: string | null; diff --git a/lib/rest/preview/marketplace/installedAddOn.ts b/lib/rest/preview/marketplace/installedAddOn.ts index f01ee31ac8..069becd703 100644 --- a/lib/rest/preview/marketplace/installedAddOn.ts +++ b/lib/rest/preview/marketplace/installedAddOn.ts @@ -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 Marketplace from "../Marketplace"; const deserialize = require("../../../base/deserialize"); @@ -273,7 +273,7 @@ export class InstalledAddOnContextImpl implements InstalledAddOnContext { interface InstalledAddOnPayload extends InstalledAddOnResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface InstalledAddOnResource { sid?: string | null; diff --git a/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.ts b/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.ts index fbfdd04568..b00fffc5b1 100644 --- a/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.ts +++ b/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.ts @@ -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 Marketplace from "../../Marketplace"; const deserialize = require("../../../../base/deserialize"); @@ -229,7 +229,7 @@ export class InstalledAddOnExtensionContextImpl interface InstalledAddOnExtensionPayload extends InstalledAddOnExtensionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface InstalledAddOnExtensionResource { sid?: string | null; diff --git a/lib/rest/preview/sync/service.ts b/lib/rest/preview/sync/service.ts index 0ba926bcf7..5f9e2508a5 100644 --- a/lib/rest/preview/sync/service.ts +++ b/lib/rest/preview/sync/service.ts @@ -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 Sync from "../Sync"; const deserialize = require("../../../base/deserialize"); @@ -289,7 +289,7 @@ export class ServiceContextImpl implements ServiceContext { } } -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { sid?: string | null; diff --git a/lib/rest/preview/sync/service/document.ts b/lib/rest/preview/sync/service/document.ts index fb79617c37..667f47edfc 100644 --- a/lib/rest/preview/sync/service/document.ts +++ b/lib/rest/preview/sync/service/document.ts @@ -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 Sync from "../../Sync"; const deserialize = require("../../../../base/deserialize"); @@ -265,9 +265,7 @@ export class DocumentContextImpl implements DocumentContext { } } -interface DocumentPayload - extends DocumentResource, - Page.TwilioResponsePayload {} +interface DocumentPayload extends DocumentResource, TwilioResponsePayload {} interface DocumentResource { sid?: string | null; diff --git a/lib/rest/preview/sync/service/document/documentPermission.ts b/lib/rest/preview/sync/service/document/documentPermission.ts index d64e16d18b..4a80d3a61d 100644 --- a/lib/rest/preview/sync/service/document/documentPermission.ts +++ b/lib/rest/preview/sync/service/document/documentPermission.ts @@ -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 Sync from "../../../Sync"; const deserialize = require("../../../../../base/deserialize"); @@ -269,7 +269,7 @@ export class DocumentPermissionContextImpl interface DocumentPermissionPayload extends DocumentPermissionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface DocumentPermissionResource { account_sid?: string | null; diff --git a/lib/rest/preview/sync/service/syncList.ts b/lib/rest/preview/sync/service/syncList.ts index f48c4a6b1b..aa1dda6e27 100644 --- a/lib/rest/preview/sync/service/syncList.ts +++ b/lib/rest/preview/sync/service/syncList.ts @@ -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 Sync from "../../Sync"; const deserialize = require("../../../../base/deserialize"); @@ -209,9 +209,7 @@ export class SyncListContextImpl implements SyncListContext { } } -interface SyncListPayload - extends SyncListResource, - Page.TwilioResponsePayload {} +interface SyncListPayload extends SyncListResource, TwilioResponsePayload {} interface SyncListResource { sid?: string | null; diff --git a/lib/rest/preview/sync/service/syncList/syncListItem.ts b/lib/rest/preview/sync/service/syncList/syncListItem.ts index 1403b1b2de..f1675c4972 100644 --- a/lib/rest/preview/sync/service/syncList/syncListItem.ts +++ b/lib/rest/preview/sync/service/syncList/syncListItem.ts @@ -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 Sync from "../../../Sync"; const deserialize = require("../../../../../base/deserialize"); @@ -320,7 +320,7 @@ export class SyncListItemContextImpl implements SyncListItemContext { interface SyncListItemPayload extends SyncListItemResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SyncListItemResource { index?: number | null; diff --git a/lib/rest/preview/sync/service/syncList/syncListPermission.ts b/lib/rest/preview/sync/service/syncList/syncListPermission.ts index 99a9eba97a..872e24c22e 100644 --- a/lib/rest/preview/sync/service/syncList/syncListPermission.ts +++ b/lib/rest/preview/sync/service/syncList/syncListPermission.ts @@ -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 Sync from "../../../Sync"; const deserialize = require("../../../../../base/deserialize"); @@ -269,7 +269,7 @@ export class SyncListPermissionContextImpl interface SyncListPermissionPayload extends SyncListPermissionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SyncListPermissionResource { account_sid?: string | null; diff --git a/lib/rest/preview/sync/service/syncMap.ts b/lib/rest/preview/sync/service/syncMap.ts index 4cefea279b..01f8626a96 100644 --- a/lib/rest/preview/sync/service/syncMap.ts +++ b/lib/rest/preview/sync/service/syncMap.ts @@ -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 Sync from "../../Sync"; const deserialize = require("../../../../base/deserialize"); @@ -209,7 +209,7 @@ export class SyncMapContextImpl implements SyncMapContext { } } -interface SyncMapPayload extends SyncMapResource, Page.TwilioResponsePayload {} +interface SyncMapPayload extends SyncMapResource, TwilioResponsePayload {} interface SyncMapResource { sid?: string | null; diff --git a/lib/rest/preview/sync/service/syncMap/syncMapItem.ts b/lib/rest/preview/sync/service/syncMap/syncMapItem.ts index d4bcd6b284..33fd988b1c 100644 --- a/lib/rest/preview/sync/service/syncMap/syncMapItem.ts +++ b/lib/rest/preview/sync/service/syncMap/syncMapItem.ts @@ -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 Sync from "../../../Sync"; const deserialize = require("../../../../../base/deserialize"); @@ -322,7 +322,7 @@ export class SyncMapItemContextImpl implements SyncMapItemContext { interface SyncMapItemPayload extends SyncMapItemResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SyncMapItemResource { key?: string | null; diff --git a/lib/rest/preview/sync/service/syncMap/syncMapPermission.ts b/lib/rest/preview/sync/service/syncMap/syncMapPermission.ts index 903cb2c423..2df529b81f 100644 --- a/lib/rest/preview/sync/service/syncMap/syncMapPermission.ts +++ b/lib/rest/preview/sync/service/syncMap/syncMapPermission.ts @@ -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 Sync from "../../../Sync"; const deserialize = require("../../../../../base/deserialize"); @@ -267,7 +267,7 @@ export class SyncMapPermissionContextImpl implements SyncMapPermissionContext { interface SyncMapPermissionPayload extends SyncMapPermissionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SyncMapPermissionResource { account_sid?: string | null; diff --git a/lib/rest/preview/understand/assistant.ts b/lib/rest/preview/understand/assistant.ts index 6ec51a05de..731c23674f 100644 --- a/lib/rest/preview/understand/assistant.ts +++ b/lib/rest/preview/understand/assistant.ts @@ -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 Understand from "../Understand"; const deserialize = require("../../../base/deserialize"); @@ -360,9 +360,7 @@ export class AssistantContextImpl implements AssistantContext { } } -interface AssistantPayload - extends AssistantResource, - Page.TwilioResponsePayload {} +interface AssistantPayload extends AssistantResource, TwilioResponsePayload {} interface AssistantResource { account_sid?: string | null; diff --git a/lib/rest/preview/understand/assistant/fieldType.ts b/lib/rest/preview/understand/assistant/fieldType.ts index 3e3d35de82..b141755760 100644 --- a/lib/rest/preview/understand/assistant/fieldType.ts +++ b/lib/rest/preview/understand/assistant/fieldType.ts @@ -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 Understand from "../../Understand"; const deserialize = require("../../../../base/deserialize"); @@ -279,9 +279,7 @@ export class FieldTypeContextImpl implements FieldTypeContext { } } -interface FieldTypePayload - extends FieldTypeResource, - Page.TwilioResponsePayload {} +interface FieldTypePayload extends FieldTypeResource, TwilioResponsePayload {} interface FieldTypeResource { account_sid?: string | null; diff --git a/lib/rest/preview/understand/assistant/fieldType/fieldValue.ts b/lib/rest/preview/understand/assistant/fieldType/fieldValue.ts index 8daa8c535f..3436a40243 100644 --- a/lib/rest/preview/understand/assistant/fieldType/fieldValue.ts +++ b/lib/rest/preview/understand/assistant/fieldType/fieldValue.ts @@ -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 Understand from "../../../Understand"; const deserialize = require("../../../../../base/deserialize"); @@ -200,9 +200,7 @@ export class FieldValueContextImpl implements FieldValueContext { } } -interface FieldValuePayload - extends FieldValueResource, - Page.TwilioResponsePayload {} +interface FieldValuePayload extends FieldValueResource, TwilioResponsePayload {} interface FieldValueResource { account_sid?: string | null; diff --git a/lib/rest/preview/understand/assistant/modelBuild.ts b/lib/rest/preview/understand/assistant/modelBuild.ts index 160f230a43..5fc8cf875f 100644 --- a/lib/rest/preview/understand/assistant/modelBuild.ts +++ b/lib/rest/preview/understand/assistant/modelBuild.ts @@ -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 Understand from "../../Understand"; const deserialize = require("../../../../base/deserialize"); @@ -266,9 +266,7 @@ export class ModelBuildContextImpl implements ModelBuildContext { } } -interface ModelBuildPayload - extends ModelBuildResource, - Page.TwilioResponsePayload {} +interface ModelBuildPayload extends ModelBuildResource, TwilioResponsePayload {} interface ModelBuildResource { account_sid?: string | null; diff --git a/lib/rest/preview/understand/assistant/query.ts b/lib/rest/preview/understand/assistant/query.ts index d79a68202c..3ef2ec7dfc 100644 --- a/lib/rest/preview/understand/assistant/query.ts +++ b/lib/rest/preview/understand/assistant/query.ts @@ -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 Understand from "../../Understand"; const deserialize = require("../../../../base/deserialize"); @@ -286,7 +286,7 @@ export class QueryContextImpl implements QueryContext { } } -interface QueryPayload extends QueryResource, Page.TwilioResponsePayload {} +interface QueryPayload extends QueryResource, TwilioResponsePayload {} interface QueryResource { account_sid?: string | null; diff --git a/lib/rest/preview/understand/assistant/task.ts b/lib/rest/preview/understand/assistant/task.ts index d14ba8a5e3..a73a5027d8 100644 --- a/lib/rest/preview/understand/assistant/task.ts +++ b/lib/rest/preview/understand/assistant/task.ts @@ -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 Understand from "../../Understand"; const deserialize = require("../../../../base/deserialize"); @@ -333,7 +333,7 @@ export class TaskContextImpl implements TaskContext { } } -interface TaskPayload extends TaskResource, Page.TwilioResponsePayload {} +interface TaskPayload extends TaskResource, TwilioResponsePayload {} interface TaskResource { account_sid?: string | null; diff --git a/lib/rest/preview/understand/assistant/task/field.ts b/lib/rest/preview/understand/assistant/task/field.ts index c5cf4dfba4..3aa40f064a 100644 --- a/lib/rest/preview/understand/assistant/task/field.ts +++ b/lib/rest/preview/understand/assistant/task/field.ts @@ -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 Understand from "../../../Understand"; const deserialize = require("../../../../../base/deserialize"); @@ -192,7 +192,7 @@ export class FieldContextImpl implements FieldContext { } } -interface FieldPayload extends FieldResource, Page.TwilioResponsePayload {} +interface FieldPayload extends FieldResource, TwilioResponsePayload {} interface FieldResource { account_sid?: string | null; diff --git a/lib/rest/preview/understand/assistant/task/sample.ts b/lib/rest/preview/understand/assistant/task/sample.ts index 991b040a81..7d75c965b6 100644 --- a/lib/rest/preview/understand/assistant/task/sample.ts +++ b/lib/rest/preview/understand/assistant/task/sample.ts @@ -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 Understand from "../../../Understand"; const deserialize = require("../../../../../base/deserialize"); @@ -282,7 +282,7 @@ export class SampleContextImpl implements SampleContext { } } -interface SamplePayload extends SampleResource, Page.TwilioResponsePayload {} +interface SamplePayload extends SampleResource, TwilioResponsePayload {} interface SampleResource { account_sid?: string | null; diff --git a/lib/rest/preview/wireless/command.ts b/lib/rest/preview/wireless/command.ts index 3eecdc28cd..64b41ad27d 100644 --- a/lib/rest/preview/wireless/command.ts +++ b/lib/rest/preview/wireless/command.ts @@ -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 Wireless from "../Wireless"; const deserialize = require("../../../base/deserialize"); @@ -180,7 +180,7 @@ export class CommandContextImpl implements CommandContext { } } -interface CommandPayload extends CommandResource, Page.TwilioResponsePayload {} +interface CommandPayload extends CommandResource, TwilioResponsePayload {} interface CommandResource { sid?: string | null; diff --git a/lib/rest/preview/wireless/ratePlan.ts b/lib/rest/preview/wireless/ratePlan.ts index 594fb96e61..5647a1a8f3 100644 --- a/lib/rest/preview/wireless/ratePlan.ts +++ b/lib/rest/preview/wireless/ratePlan.ts @@ -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 Wireless from "../Wireless"; const deserialize = require("../../../base/deserialize"); @@ -260,9 +260,7 @@ export class RatePlanContextImpl implements RatePlanContext { } } -interface RatePlanPayload - extends RatePlanResource, - Page.TwilioResponsePayload {} +interface RatePlanPayload extends RatePlanResource, TwilioResponsePayload {} interface RatePlanResource { sid?: string | null; diff --git a/lib/rest/preview/wireless/sim.ts b/lib/rest/preview/wireless/sim.ts index e0a81ab12e..abbf116bfe 100644 --- a/lib/rest/preview/wireless/sim.ts +++ b/lib/rest/preview/wireless/sim.ts @@ -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 Wireless from "../Wireless"; const deserialize = require("../../../base/deserialize"); @@ -323,7 +323,7 @@ export type SimVoiceMethod = | "PUT" | "DELETE"; -interface SimPayload extends SimResource, Page.TwilioResponsePayload {} +interface SimPayload extends SimResource, TwilioResponsePayload {} interface SimResource { sid?: string | null; diff --git a/lib/rest/pricing/v1/messaging/country.ts b/lib/rest/pricing/v1/messaging/country.ts index 3d30366d31..d35668e020 100644 --- a/lib/rest/pricing/v1/messaging/country.ts +++ b/lib/rest/pricing/v1/messaging/country.ts @@ -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"); @@ -159,7 +159,7 @@ export class CountryContextImpl implements CountryContext { } } -interface CountryPayload extends CountryResource, Page.TwilioResponsePayload {} +interface CountryPayload extends CountryResource, TwilioResponsePayload {} interface CountryResource { country?: string | null; diff --git a/lib/rest/pricing/v1/phoneNumber/country.ts b/lib/rest/pricing/v1/phoneNumber/country.ts index c206d806c6..4649e3fce8 100644 --- a/lib/rest/pricing/v1/phoneNumber/country.ts +++ b/lib/rest/pricing/v1/phoneNumber/country.ts @@ -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"); @@ -146,7 +146,7 @@ export class CountryContextImpl implements CountryContext { } } -interface CountryPayload extends CountryResource, Page.TwilioResponsePayload {} +interface CountryPayload extends CountryResource, TwilioResponsePayload {} interface CountryResource { country?: string | null; diff --git a/lib/rest/pricing/v1/voice/country.ts b/lib/rest/pricing/v1/voice/country.ts index ec094295be..e90d8fdaea 100644 --- a/lib/rest/pricing/v1/voice/country.ts +++ b/lib/rest/pricing/v1/voice/country.ts @@ -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"); @@ -153,7 +153,7 @@ export class CountryContextImpl implements CountryContext { } } -interface CountryPayload extends CountryResource, Page.TwilioResponsePayload {} +interface CountryPayload extends CountryResource, TwilioResponsePayload {} interface CountryResource { country?: string | null; diff --git a/lib/rest/pricing/v2/country.ts b/lib/rest/pricing/v2/country.ts index 928a743b55..36090eeda4 100644 --- a/lib/rest/pricing/v2/country.ts +++ b/lib/rest/pricing/v2/country.ts @@ -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 V2 from "../V2"; const deserialize = require("../../../base/deserialize"); @@ -154,7 +154,7 @@ export class CountryContextImpl implements CountryContext { } } -interface CountryPayload extends CountryResource, Page.TwilioResponsePayload {} +interface CountryPayload extends CountryResource, TwilioResponsePayload {} interface CountryResource { country?: string | null; diff --git a/lib/rest/pricing/v2/voice/country.ts b/lib/rest/pricing/v2/voice/country.ts index 0dab3914f9..c814627894 100644 --- a/lib/rest/pricing/v2/voice/country.ts +++ b/lib/rest/pricing/v2/voice/country.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -154,7 +154,7 @@ export class CountryContextImpl implements CountryContext { } } -interface CountryPayload extends CountryResource, Page.TwilioResponsePayload {} +interface CountryPayload extends CountryResource, TwilioResponsePayload {} interface CountryResource { country?: string | null; diff --git a/lib/rest/proxy/v1/service.ts b/lib/rest/proxy/v1/service.ts index 3755ff17eb..2c215f2151 100644 --- a/lib/rest/proxy/v1/service.ts +++ b/lib/rest/proxy/v1/service.ts @@ -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"); @@ -315,7 +315,7 @@ export class ServiceContextImpl implements ServiceContext { } } -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { sid?: string | null; diff --git a/lib/rest/proxy/v1/service/phoneNumber.ts b/lib/rest/proxy/v1/service/phoneNumber.ts index dc4846ab90..2399680a31 100644 --- a/lib/rest/proxy/v1/service/phoneNumber.ts +++ b/lib/rest/proxy/v1/service/phoneNumber.ts @@ -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"); @@ -260,7 +260,7 @@ export class PhoneNumberContextImpl implements PhoneNumberContext { interface PhoneNumberPayload extends PhoneNumberResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface PhoneNumberResource { sid?: string | null; diff --git a/lib/rest/proxy/v1/service/session.ts b/lib/rest/proxy/v1/service/session.ts index bb2de90142..d250438c0e 100644 --- a/lib/rest/proxy/v1/service/session.ts +++ b/lib/rest/proxy/v1/service/session.ts @@ -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"); @@ -303,7 +303,7 @@ export class SessionContextImpl implements SessionContext { } } -interface SessionPayload extends SessionResource, Page.TwilioResponsePayload {} +interface SessionPayload extends SessionResource, TwilioResponsePayload {} interface SessionResource { sid?: string | null; diff --git a/lib/rest/proxy/v1/service/session/interaction.ts b/lib/rest/proxy/v1/service/session/interaction.ts index ff832d5e57..85aed8ce2b 100644 --- a/lib/rest/proxy/v1/service/session/interaction.ts +++ b/lib/rest/proxy/v1/service/session/interaction.ts @@ -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"); @@ -209,7 +209,7 @@ export class InteractionContextImpl implements InteractionContext { interface InteractionPayload extends InteractionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface InteractionResource { sid?: string | null; diff --git a/lib/rest/proxy/v1/service/session/participant.ts b/lib/rest/proxy/v1/service/session/participant.ts index 5f7c0d31ed..4de821b851 100644 --- a/lib/rest/proxy/v1/service/session/participant.ts +++ b/lib/rest/proxy/v1/service/session/participant.ts @@ -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"); @@ -215,7 +215,7 @@ export class ParticipantContextImpl implements ParticipantContext { interface ParticipantPayload extends ParticipantResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ParticipantResource { sid?: string | null; diff --git a/lib/rest/proxy/v1/service/session/participant/messageInteraction.ts b/lib/rest/proxy/v1/service/session/participant/messageInteraction.ts index ed3f53735f..44b75dcaf2 100644 --- a/lib/rest/proxy/v1/service/session/participant/messageInteraction.ts +++ b/lib/rest/proxy/v1/service/session/participant/messageInteraction.ts @@ -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"); @@ -206,7 +206,7 @@ export class MessageInteractionContextImpl interface MessageInteractionPayload extends MessageInteractionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface MessageInteractionResource { sid?: string | null; diff --git a/lib/rest/proxy/v1/service/shortCode.ts b/lib/rest/proxy/v1/service/shortCode.ts index d95c200970..02e5623317 100644 --- a/lib/rest/proxy/v1/service/shortCode.ts +++ b/lib/rest/proxy/v1/service/shortCode.ts @@ -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"); @@ -254,9 +254,7 @@ export class ShortCodeContextImpl implements ShortCodeContext { } } -interface ShortCodePayload - extends ShortCodeResource, - Page.TwilioResponsePayload {} +interface ShortCodePayload extends ShortCodeResource, TwilioResponsePayload {} interface ShortCodeResource { sid?: string | null; diff --git a/lib/rest/serverless/v1/service.ts b/lib/rest/serverless/v1/service.ts index a3bb8d2e56..54746cd06f 100644 --- a/lib/rest/serverless/v1/service.ts +++ b/lib/rest/serverless/v1/service.ts @@ -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"); @@ -292,7 +292,7 @@ export class ServiceContextImpl implements ServiceContext { } } -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { sid?: string | null; diff --git a/lib/rest/serverless/v1/service/asset.ts b/lib/rest/serverless/v1/service/asset.ts index db1f332088..e060f9559c 100644 --- a/lib/rest/serverless/v1/service/asset.ts +++ b/lib/rest/serverless/v1/service/asset.ts @@ -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"); @@ -262,7 +262,7 @@ export class AssetContextImpl implements AssetContext { } } -interface AssetPayload extends AssetResource, Page.TwilioResponsePayload {} +interface AssetPayload extends AssetResource, TwilioResponsePayload {} interface AssetResource { sid?: string | null; diff --git a/lib/rest/serverless/v1/service/asset/assetVersion.ts b/lib/rest/serverless/v1/service/asset/assetVersion.ts index b3548b9b04..2af4529ae7 100644 --- a/lib/rest/serverless/v1/service/asset/assetVersion.ts +++ b/lib/rest/serverless/v1/service/asset/assetVersion.ts @@ -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"); @@ -161,7 +161,7 @@ export class AssetVersionContextImpl implements AssetVersionContext { interface AssetVersionPayload extends AssetVersionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface AssetVersionResource { sid?: string | null; diff --git a/lib/rest/serverless/v1/service/build.ts b/lib/rest/serverless/v1/service/build.ts index 76926142b9..84f26da2cf 100644 --- a/lib/rest/serverless/v1/service/build.ts +++ b/lib/rest/serverless/v1/service/build.ts @@ -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"); @@ -205,7 +205,7 @@ export class BuildContextImpl implements BuildContext { } } -interface BuildPayload extends BuildResource, Page.TwilioResponsePayload {} +interface BuildPayload extends BuildResource, TwilioResponsePayload {} interface BuildResource { sid?: string | null; diff --git a/lib/rest/serverless/v1/service/environment.ts b/lib/rest/serverless/v1/service/environment.ts index e8b3a2e0f1..c085bf76c5 100644 --- a/lib/rest/serverless/v1/service/environment.ts +++ b/lib/rest/serverless/v1/service/environment.ts @@ -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"); @@ -227,7 +227,7 @@ export class EnvironmentContextImpl implements EnvironmentContext { interface EnvironmentPayload extends EnvironmentResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface EnvironmentResource { sid?: string | null; diff --git a/lib/rest/serverless/v1/service/environment/deployment.ts b/lib/rest/serverless/v1/service/environment/deployment.ts index c95477ec51..150c6563ad 100644 --- a/lib/rest/serverless/v1/service/environment/deployment.ts +++ b/lib/rest/serverless/v1/service/environment/deployment.ts @@ -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"); @@ -165,9 +165,7 @@ export class DeploymentContextImpl implements DeploymentContext { } } -interface DeploymentPayload - extends DeploymentResource, - Page.TwilioResponsePayload {} +interface DeploymentPayload extends DeploymentResource, TwilioResponsePayload {} interface DeploymentResource { sid?: string | null; diff --git a/lib/rest/serverless/v1/service/environment/log.ts b/lib/rest/serverless/v1/service/environment/log.ts index a756902583..3844610fc5 100644 --- a/lib/rest/serverless/v1/service/environment/log.ts +++ b/lib/rest/serverless/v1/service/environment/log.ts @@ -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"); @@ -177,7 +177,7 @@ export class LogContextImpl implements LogContext { } } -interface LogPayload extends LogResource, Page.TwilioResponsePayload {} +interface LogPayload extends LogResource, TwilioResponsePayload {} interface LogResource { sid?: string | null; diff --git a/lib/rest/serverless/v1/service/environment/variable.ts b/lib/rest/serverless/v1/service/environment/variable.ts index 96a5411363..60374ab4d2 100644 --- a/lib/rest/serverless/v1/service/environment/variable.ts +++ b/lib/rest/serverless/v1/service/environment/variable.ts @@ -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"); @@ -269,9 +269,7 @@ export class VariableContextImpl implements VariableContext { } } -interface VariablePayload - extends VariableResource, - Page.TwilioResponsePayload {} +interface VariablePayload extends VariableResource, TwilioResponsePayload {} interface VariableResource { sid?: string | null; diff --git a/lib/rest/serverless/v1/service/function.ts b/lib/rest/serverless/v1/service/function.ts index 9e7e930553..76c794d084 100644 --- a/lib/rest/serverless/v1/service/function.ts +++ b/lib/rest/serverless/v1/service/function.ts @@ -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"); @@ -262,9 +262,7 @@ export class FunctionContextImpl implements FunctionContext { } } -interface FunctionPayload - extends FunctionResource, - Page.TwilioResponsePayload {} +interface FunctionPayload extends FunctionResource, TwilioResponsePayload {} interface FunctionResource { sid?: string | null; diff --git a/lib/rest/serverless/v1/service/function/functionVersion.ts b/lib/rest/serverless/v1/service/function/functionVersion.ts index 0bbc6e8be0..dff2ac722b 100644 --- a/lib/rest/serverless/v1/service/function/functionVersion.ts +++ b/lib/rest/serverless/v1/service/function/functionVersion.ts @@ -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"); @@ -181,7 +181,7 @@ export class FunctionVersionContextImpl implements FunctionVersionContext { interface FunctionVersionPayload extends FunctionVersionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface FunctionVersionResource { sid?: string | null; diff --git a/lib/rest/studio/v1/flow.ts b/lib/rest/studio/v1/flow.ts index a636dc6f20..c8f40e4bab 100644 --- a/lib/rest/studio/v1/flow.ts +++ b/lib/rest/studio/v1/flow.ts @@ -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"); @@ -185,7 +185,7 @@ export class FlowContextImpl implements FlowContext { } } -interface FlowPayload extends FlowResource, Page.TwilioResponsePayload {} +interface FlowPayload extends FlowResource, TwilioResponsePayload {} interface FlowResource { sid?: string | null; diff --git a/lib/rest/studio/v1/flow/engagement.ts b/lib/rest/studio/v1/flow/engagement.ts index 02ce988526..4baabda644 100644 --- a/lib/rest/studio/v1/flow/engagement.ts +++ b/lib/rest/studio/v1/flow/engagement.ts @@ -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"); @@ -215,9 +215,7 @@ export class EngagementContextImpl implements EngagementContext { } } -interface EngagementPayload - extends EngagementResource, - Page.TwilioResponsePayload {} +interface EngagementPayload extends EngagementResource, TwilioResponsePayload {} interface EngagementResource { sid?: string | null; diff --git a/lib/rest/studio/v1/flow/engagement/step.ts b/lib/rest/studio/v1/flow/engagement/step.ts index 57d0908aeb..f0ba1bb91f 100644 --- a/lib/rest/studio/v1/flow/engagement/step.ts +++ b/lib/rest/studio/v1/flow/engagement/step.ts @@ -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"); @@ -174,7 +174,7 @@ export class StepContextImpl implements StepContext { } } -interface StepPayload extends StepResource, Page.TwilioResponsePayload {} +interface StepPayload extends StepResource, TwilioResponsePayload {} interface StepResource { sid?: string | null; diff --git a/lib/rest/studio/v1/flow/execution.ts b/lib/rest/studio/v1/flow/execution.ts index b95af4e637..ec9229afa1 100644 --- a/lib/rest/studio/v1/flow/execution.ts +++ b/lib/rest/studio/v1/flow/execution.ts @@ -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"); @@ -291,9 +291,7 @@ export class ExecutionContextImpl implements ExecutionContext { } } -interface ExecutionPayload - extends ExecutionResource, - Page.TwilioResponsePayload {} +interface ExecutionPayload extends ExecutionResource, TwilioResponsePayload {} interface ExecutionResource { sid?: string | null; diff --git a/lib/rest/studio/v1/flow/execution/executionStep.ts b/lib/rest/studio/v1/flow/execution/executionStep.ts index 5e9450499d..33da0abcba 100644 --- a/lib/rest/studio/v1/flow/execution/executionStep.ts +++ b/lib/rest/studio/v1/flow/execution/executionStep.ts @@ -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"); @@ -176,7 +176,7 @@ export class ExecutionStepContextImpl implements ExecutionStepContext { interface ExecutionStepPayload extends ExecutionStepResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ExecutionStepResource { sid?: string | null; diff --git a/lib/rest/studio/v2/flow.ts b/lib/rest/studio/v2/flow.ts index 30cd7f5285..1af9d88eb0 100644 --- a/lib/rest/studio/v2/flow.ts +++ b/lib/rest/studio/v2/flow.ts @@ -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 V2 from "../V2"; const deserialize = require("../../../base/deserialize"); @@ -280,7 +280,7 @@ export class FlowContextImpl implements FlowContext { } } -interface FlowPayload extends FlowResource, Page.TwilioResponsePayload {} +interface FlowPayload extends FlowResource, TwilioResponsePayload {} interface FlowResource { sid?: string | null; diff --git a/lib/rest/studio/v2/flow/execution.ts b/lib/rest/studio/v2/flow/execution.ts index 7a0839b1f4..8d5543774b 100644 --- a/lib/rest/studio/v2/flow/execution.ts +++ b/lib/rest/studio/v2/flow/execution.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -291,9 +291,7 @@ export class ExecutionContextImpl implements ExecutionContext { } } -interface ExecutionPayload - extends ExecutionResource, - Page.TwilioResponsePayload {} +interface ExecutionPayload extends ExecutionResource, TwilioResponsePayload {} interface ExecutionResource { sid?: string | null; diff --git a/lib/rest/studio/v2/flow/execution/executionStep.ts b/lib/rest/studio/v2/flow/execution/executionStep.ts index 2ac6e8c4ed..ef8b02bfb1 100644 --- a/lib/rest/studio/v2/flow/execution/executionStep.ts +++ b/lib/rest/studio/v2/flow/execution/executionStep.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -176,7 +176,7 @@ export class ExecutionStepContextImpl implements ExecutionStepContext { interface ExecutionStepPayload extends ExecutionStepResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ExecutionStepResource { sid?: string | null; diff --git a/lib/rest/studio/v2/flow/flowRevision.ts b/lib/rest/studio/v2/flow/flowRevision.ts index fbe3b10942..aa146120b8 100644 --- a/lib/rest/studio/v2/flow/flowRevision.ts +++ b/lib/rest/studio/v2/flow/flowRevision.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -150,7 +150,7 @@ export class FlowRevisionContextImpl implements FlowRevisionContext { interface FlowRevisionPayload extends FlowRevisionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface FlowRevisionResource { sid?: string | null; diff --git a/lib/rest/supersim/v1/esimProfile.ts b/lib/rest/supersim/v1/esimProfile.ts index 0dd72ffd83..9d67a3bfc5 100644 --- a/lib/rest/supersim/v1/esimProfile.ts +++ b/lib/rest/supersim/v1/esimProfile.ts @@ -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"); @@ -176,7 +176,7 @@ export class EsimProfileContextImpl implements EsimProfileContext { interface EsimProfilePayload extends EsimProfileResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface EsimProfileResource { sid?: string | null; diff --git a/lib/rest/supersim/v1/fleet.ts b/lib/rest/supersim/v1/fleet.ts index 672dde9eb1..ead664e4fa 100644 --- a/lib/rest/supersim/v1/fleet.ts +++ b/lib/rest/supersim/v1/fleet.ts @@ -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"); @@ -275,7 +275,7 @@ export type FleetIpCommandsMethod = | "PUT" | "DELETE"; -interface FleetPayload extends FleetResource, Page.TwilioResponsePayload {} +interface FleetPayload extends FleetResource, TwilioResponsePayload {} interface FleetResource { account_sid?: string | null; diff --git a/lib/rest/supersim/v1/ipCommand.ts b/lib/rest/supersim/v1/ipCommand.ts index 5db571ddf6..308a3d7c0f 100644 --- a/lib/rest/supersim/v1/ipCommand.ts +++ b/lib/rest/supersim/v1/ipCommand.ts @@ -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"); @@ -184,9 +184,7 @@ export class IpCommandContextImpl implements IpCommandContext { } } -interface IpCommandPayload - extends IpCommandResource, - Page.TwilioResponsePayload {} +interface IpCommandPayload extends IpCommandResource, TwilioResponsePayload {} interface IpCommandResource { sid?: string | null; diff --git a/lib/rest/supersim/v1/network.ts b/lib/rest/supersim/v1/network.ts index e9d73fda6c..9d0eb6a772 100644 --- a/lib/rest/supersim/v1/network.ts +++ b/lib/rest/supersim/v1/network.ts @@ -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"); @@ -154,7 +154,7 @@ export class NetworkContextImpl implements NetworkContext { } } -interface NetworkPayload extends NetworkResource, Page.TwilioResponsePayload {} +interface NetworkPayload extends NetworkResource, TwilioResponsePayload {} interface NetworkResource { sid?: string | null; diff --git a/lib/rest/supersim/v1/networkAccessProfile.ts b/lib/rest/supersim/v1/networkAccessProfile.ts index 912d3597a1..556e682236 100644 --- a/lib/rest/supersim/v1/networkAccessProfile.ts +++ b/lib/rest/supersim/v1/networkAccessProfile.ts @@ -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"); @@ -245,7 +245,7 @@ export class NetworkAccessProfileContextImpl interface NetworkAccessProfilePayload extends NetworkAccessProfileResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface NetworkAccessProfileResource { sid?: string | null; diff --git a/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.ts b/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.ts index e693d4c42c..cd4975ac20 100644 --- a/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.ts +++ b/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.ts @@ -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"); @@ -193,7 +193,7 @@ export class NetworkAccessProfileNetworkContextImpl interface NetworkAccessProfileNetworkPayload extends NetworkAccessProfileNetworkResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface NetworkAccessProfileNetworkResource { sid?: string | null; diff --git a/lib/rest/supersim/v1/settingsUpdate.ts b/lib/rest/supersim/v1/settingsUpdate.ts index 599110eac1..45e2e788cf 100644 --- a/lib/rest/supersim/v1/settingsUpdate.ts +++ b/lib/rest/supersim/v1/settingsUpdate.ts @@ -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"); @@ -314,7 +314,7 @@ export function SettingsUpdateListInstance( interface SettingsUpdatePayload extends SettingsUpdateResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SettingsUpdateResource { sid?: string | null; diff --git a/lib/rest/supersim/v1/sim.ts b/lib/rest/supersim/v1/sim.ts index e3eedd7334..5f1a117b82 100644 --- a/lib/rest/supersim/v1/sim.ts +++ b/lib/rest/supersim/v1/sim.ts @@ -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"); @@ -277,7 +277,7 @@ export class SimContextImpl implements SimContext { } } -interface SimPayload extends SimResource, Page.TwilioResponsePayload {} +interface SimPayload extends SimResource, TwilioResponsePayload {} interface SimResource { sid?: string | null; diff --git a/lib/rest/supersim/v1/sim/billingPeriod.ts b/lib/rest/supersim/v1/sim/billingPeriod.ts index 4b9c7fded8..3f867c0b9b 100644 --- a/lib/rest/supersim/v1/sim/billingPeriod.ts +++ b/lib/rest/supersim/v1/sim/billingPeriod.ts @@ -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"); @@ -306,7 +306,7 @@ export function BillingPeriodListInstance( interface BillingPeriodPayload extends BillingPeriodResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface BillingPeriodResource { sid?: string | null; diff --git a/lib/rest/supersim/v1/sim/simIpAddress.ts b/lib/rest/supersim/v1/sim/simIpAddress.ts index fdc8b25ed7..ddcc167016 100644 --- a/lib/rest/supersim/v1/sim/simIpAddress.ts +++ b/lib/rest/supersim/v1/sim/simIpAddress.ts @@ -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"); @@ -300,7 +300,7 @@ export function SimIpAddressListInstance( interface SimIpAddressPayload extends SimIpAddressResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SimIpAddressResource { ip_address?: string | null; diff --git a/lib/rest/supersim/v1/smsCommand.ts b/lib/rest/supersim/v1/smsCommand.ts index 0839bd8f10..2a9b967829 100644 --- a/lib/rest/supersim/v1/smsCommand.ts +++ b/lib/rest/supersim/v1/smsCommand.ts @@ -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"); @@ -172,9 +172,7 @@ export class SmsCommandContextImpl implements SmsCommandContext { } } -interface SmsCommandPayload - extends SmsCommandResource, - Page.TwilioResponsePayload {} +interface SmsCommandPayload extends SmsCommandResource, TwilioResponsePayload {} interface SmsCommandResource { sid?: string | null; diff --git a/lib/rest/supersim/v1/usageRecord.ts b/lib/rest/supersim/v1/usageRecord.ts index 165a9c7b28..a3aab60c9a 100644 --- a/lib/rest/supersim/v1/usageRecord.ts +++ b/lib/rest/supersim/v1/usageRecord.ts @@ -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"); @@ -353,7 +353,7 @@ export function UsageRecordListInstance(version: V1): UsageRecordListInstance { interface UsageRecordPayload extends UsageRecordResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UsageRecordResource { account_sid?: string | null; diff --git a/lib/rest/sync/v1/service.ts b/lib/rest/sync/v1/service.ts index 133c73aea0..37294cb42d 100644 --- a/lib/rest/sync/v1/service.ts +++ b/lib/rest/sync/v1/service.ts @@ -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"); @@ -322,7 +322,7 @@ export class ServiceContextImpl implements ServiceContext { } } -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { sid?: string | null; diff --git a/lib/rest/sync/v1/service/document.ts b/lib/rest/sync/v1/service/document.ts index 131baa01ad..68789b2f07 100644 --- a/lib/rest/sync/v1/service/document.ts +++ b/lib/rest/sync/v1/service/document.ts @@ -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"); @@ -280,9 +280,7 @@ export class DocumentContextImpl implements DocumentContext { } } -interface DocumentPayload - extends DocumentResource, - Page.TwilioResponsePayload {} +interface DocumentPayload extends DocumentResource, TwilioResponsePayload {} interface DocumentResource { sid?: string | null; diff --git a/lib/rest/sync/v1/service/document/documentPermission.ts b/lib/rest/sync/v1/service/document/documentPermission.ts index 0b0a5dca26..eee0ee48a0 100644 --- a/lib/rest/sync/v1/service/document/documentPermission.ts +++ b/lib/rest/sync/v1/service/document/documentPermission.ts @@ -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"); @@ -269,7 +269,7 @@ export class DocumentPermissionContextImpl interface DocumentPermissionPayload extends DocumentPermissionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface DocumentPermissionResource { account_sid?: string | null; diff --git a/lib/rest/sync/v1/service/syncList.ts b/lib/rest/sync/v1/service/syncList.ts index 9f498f51a3..9655455ae5 100644 --- a/lib/rest/sync/v1/service/syncList.ts +++ b/lib/rest/sync/v1/service/syncList.ts @@ -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"); @@ -290,9 +290,7 @@ export class SyncListContextImpl implements SyncListContext { } } -interface SyncListPayload - extends SyncListResource, - Page.TwilioResponsePayload {} +interface SyncListPayload extends SyncListResource, TwilioResponsePayload {} interface SyncListResource { sid?: string | null; diff --git a/lib/rest/sync/v1/service/syncList/syncListItem.ts b/lib/rest/sync/v1/service/syncList/syncListItem.ts index 11ce56cbf7..1dc5fcda44 100644 --- a/lib/rest/sync/v1/service/syncList/syncListItem.ts +++ b/lib/rest/sync/v1/service/syncList/syncListItem.ts @@ -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"); @@ -346,7 +346,7 @@ export class SyncListItemContextImpl implements SyncListItemContext { interface SyncListItemPayload extends SyncListItemResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SyncListItemResource { index?: number | null; diff --git a/lib/rest/sync/v1/service/syncList/syncListPermission.ts b/lib/rest/sync/v1/service/syncList/syncListPermission.ts index 0219f77a70..0447375865 100644 --- a/lib/rest/sync/v1/service/syncList/syncListPermission.ts +++ b/lib/rest/sync/v1/service/syncList/syncListPermission.ts @@ -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"); @@ -269,7 +269,7 @@ export class SyncListPermissionContextImpl interface SyncListPermissionPayload extends SyncListPermissionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SyncListPermissionResource { account_sid?: string | null; diff --git a/lib/rest/sync/v1/service/syncMap.ts b/lib/rest/sync/v1/service/syncMap.ts index 2ff190dc75..87ee2cfd2d 100644 --- a/lib/rest/sync/v1/service/syncMap.ts +++ b/lib/rest/sync/v1/service/syncMap.ts @@ -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"); @@ -290,7 +290,7 @@ export class SyncMapContextImpl implements SyncMapContext { } } -interface SyncMapPayload extends SyncMapResource, Page.TwilioResponsePayload {} +interface SyncMapPayload extends SyncMapResource, TwilioResponsePayload {} interface SyncMapResource { sid?: string | null; diff --git a/lib/rest/sync/v1/service/syncMap/syncMapItem.ts b/lib/rest/sync/v1/service/syncMap/syncMapItem.ts index 1de6b76e34..3348938dd6 100644 --- a/lib/rest/sync/v1/service/syncMap/syncMapItem.ts +++ b/lib/rest/sync/v1/service/syncMap/syncMapItem.ts @@ -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"); @@ -348,7 +348,7 @@ export class SyncMapItemContextImpl implements SyncMapItemContext { interface SyncMapItemPayload extends SyncMapItemResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SyncMapItemResource { key?: string | null; diff --git a/lib/rest/sync/v1/service/syncMap/syncMapPermission.ts b/lib/rest/sync/v1/service/syncMap/syncMapPermission.ts index 8d471913b9..01ea631b05 100644 --- a/lib/rest/sync/v1/service/syncMap/syncMapPermission.ts +++ b/lib/rest/sync/v1/service/syncMap/syncMapPermission.ts @@ -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"); @@ -267,7 +267,7 @@ export class SyncMapPermissionContextImpl implements SyncMapPermissionContext { interface SyncMapPermissionPayload extends SyncMapPermissionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SyncMapPermissionResource { account_sid?: string | null; diff --git a/lib/rest/sync/v1/service/syncStream.ts b/lib/rest/sync/v1/service/syncStream.ts index 26dbbf6704..e5529a584f 100644 --- a/lib/rest/sync/v1/service/syncStream.ts +++ b/lib/rest/sync/v1/service/syncStream.ts @@ -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"); @@ -270,9 +270,7 @@ export class SyncStreamContextImpl implements SyncStreamContext { } } -interface SyncStreamPayload - extends SyncStreamResource, - Page.TwilioResponsePayload {} +interface SyncStreamPayload extends SyncStreamResource, TwilioResponsePayload {} interface SyncStreamResource { sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace.ts b/lib/rest/taskrouter/v1/workspace.ts index 6d0b1931d3..fcfeffd952 100644 --- a/lib/rest/taskrouter/v1/workspace.ts +++ b/lib/rest/taskrouter/v1/workspace.ts @@ -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"); @@ -385,9 +385,7 @@ export class WorkspaceContextImpl implements WorkspaceContext { } } -interface WorkspacePayload - extends WorkspaceResource, - Page.TwilioResponsePayload {} +interface WorkspacePayload extends WorkspaceResource, TwilioResponsePayload {} interface WorkspaceResource { account_sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace/activity.ts b/lib/rest/taskrouter/v1/workspace/activity.ts index 9174b87135..523952d217 100644 --- a/lib/rest/taskrouter/v1/workspace/activity.ts +++ b/lib/rest/taskrouter/v1/workspace/activity.ts @@ -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"); @@ -267,9 +267,7 @@ export class ActivityContextImpl implements ActivityContext { } } -interface ActivityPayload - extends ActivityResource, - Page.TwilioResponsePayload {} +interface ActivityPayload extends ActivityResource, TwilioResponsePayload {} interface ActivityResource { account_sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace/event.ts b/lib/rest/taskrouter/v1/workspace/event.ts index 156d3affa2..19e4f072a0 100644 --- a/lib/rest/taskrouter/v1/workspace/event.ts +++ b/lib/rest/taskrouter/v1/workspace/event.ts @@ -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"); @@ -212,7 +212,7 @@ export class EventContextImpl implements EventContext { } } -interface EventPayload extends EventResource, Page.TwilioResponsePayload {} +interface EventPayload extends EventResource, TwilioResponsePayload {} interface EventResource { account_sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace/task.ts b/lib/rest/taskrouter/v1/workspace/task.ts index f0bd12f290..9f174c987c 100644 --- a/lib/rest/taskrouter/v1/workspace/task.ts +++ b/lib/rest/taskrouter/v1/workspace/task.ts @@ -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"); @@ -394,7 +394,7 @@ export class TaskContextImpl implements TaskContext { } } -interface TaskPayload extends TaskResource, Page.TwilioResponsePayload {} +interface TaskPayload extends TaskResource, TwilioResponsePayload {} interface TaskResource { account_sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace/task/reservation.ts b/lib/rest/taskrouter/v1/workspace/task/reservation.ts index e19fc270ec..ef19d75927 100644 --- a/lib/rest/taskrouter/v1/workspace/task/reservation.ts +++ b/lib/rest/taskrouter/v1/workspace/task/reservation.ts @@ -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"); @@ -496,7 +496,7 @@ export class ReservationContextImpl implements ReservationContext { interface ReservationPayload extends ReservationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ReservationResource { account_sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace/taskChannel.ts b/lib/rest/taskrouter/v1/workspace/taskChannel.ts index b81304e1ff..379f33bf1b 100644 --- a/lib/rest/taskrouter/v1/workspace/taskChannel.ts +++ b/lib/rest/taskrouter/v1/workspace/taskChannel.ts @@ -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"); @@ -265,7 +265,7 @@ export class TaskChannelContextImpl implements TaskChannelContext { interface TaskChannelPayload extends TaskChannelResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface TaskChannelResource { account_sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace/taskQueue.ts b/lib/rest/taskrouter/v1/workspace/taskQueue.ts index 9063f0d99d..de5f95de7c 100644 --- a/lib/rest/taskrouter/v1/workspace/taskQueue.ts +++ b/lib/rest/taskrouter/v1/workspace/taskQueue.ts @@ -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"); @@ -355,9 +355,7 @@ export class TaskQueueContextImpl implements TaskQueueContext { } } -interface TaskQueuePayload - extends TaskQueueResource, - Page.TwilioResponsePayload {} +interface TaskQueuePayload extends TaskQueueResource, TwilioResponsePayload {} interface TaskQueueResource { account_sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.ts b/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.ts index 6afc5d8103..9b6ed5e2c7 100644 --- a/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.ts +++ b/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.ts @@ -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"); @@ -364,7 +364,7 @@ export function TaskQueuesStatisticsListInstance( interface TaskQueuesStatisticsPayload extends TaskQueuesStatisticsResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface TaskQueuesStatisticsResource { account_sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace/worker.ts b/lib/rest/taskrouter/v1/workspace/worker.ts index ef94d299fc..40bce6edfb 100644 --- a/lib/rest/taskrouter/v1/workspace/worker.ts +++ b/lib/rest/taskrouter/v1/workspace/worker.ts @@ -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"); @@ -408,7 +408,7 @@ export class WorkerContextImpl implements WorkerContext { } } -interface WorkerPayload extends WorkerResource, Page.TwilioResponsePayload {} +interface WorkerPayload extends WorkerResource, TwilioResponsePayload {} interface WorkerResource { account_sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace/worker/reservation.ts b/lib/rest/taskrouter/v1/workspace/worker/reservation.ts index d633bcdf3f..da0e69dc1f 100644 --- a/lib/rest/taskrouter/v1/workspace/worker/reservation.ts +++ b/lib/rest/taskrouter/v1/workspace/worker/reservation.ts @@ -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"); @@ -480,7 +480,7 @@ export class ReservationContextImpl implements ReservationContext { interface ReservationPayload extends ReservationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ReservationResource { account_sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace/worker/workerChannel.ts b/lib/rest/taskrouter/v1/workspace/worker/workerChannel.ts index f212750649..dd04083985 100644 --- a/lib/rest/taskrouter/v1/workspace/worker/workerChannel.ts +++ b/lib/rest/taskrouter/v1/workspace/worker/workerChannel.ts @@ -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"); @@ -236,7 +236,7 @@ export class WorkerChannelContextImpl implements WorkerChannelContext { interface WorkerChannelPayload extends WorkerChannelResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface WorkerChannelResource { account_sid?: string | null; diff --git a/lib/rest/taskrouter/v1/workspace/workflow.ts b/lib/rest/taskrouter/v1/workspace/workflow.ts index 8eb40a1f76..c5e728f9f7 100644 --- a/lib/rest/taskrouter/v1/workspace/workflow.ts +++ b/lib/rest/taskrouter/v1/workspace/workflow.ts @@ -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"); @@ -332,9 +332,7 @@ export class WorkflowContextImpl implements WorkflowContext { } } -interface WorkflowPayload - extends WorkflowResource, - Page.TwilioResponsePayload {} +interface WorkflowPayload extends WorkflowResource, TwilioResponsePayload {} interface WorkflowResource { account_sid?: string | null; diff --git a/lib/rest/trunking/v1/trunk.ts b/lib/rest/trunking/v1/trunk.ts index ea2fa437f2..fa7d469de2 100644 --- a/lib/rest/trunking/v1/trunk.ts +++ b/lib/rest/trunking/v1/trunk.ts @@ -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"); @@ -343,7 +343,7 @@ export type TrunkDisasterRecoveryMethod = | "PUT" | "DELETE"; -interface TrunkPayload extends TrunkResource, Page.TwilioResponsePayload {} +interface TrunkPayload extends TrunkResource, TwilioResponsePayload {} interface TrunkResource { account_sid?: string | null; diff --git a/lib/rest/trunking/v1/trunk/credentialList.ts b/lib/rest/trunking/v1/trunk/credentialList.ts index 316277da63..1962c0865d 100644 --- a/lib/rest/trunking/v1/trunk/credentialList.ts +++ b/lib/rest/trunking/v1/trunk/credentialList.ts @@ -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"); @@ -184,7 +184,7 @@ export class CredentialListContextImpl implements CredentialListContext { interface CredentialListPayload extends CredentialListResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface CredentialListResource { account_sid?: string | null; diff --git a/lib/rest/trunking/v1/trunk/ipAccessControlList.ts b/lib/rest/trunking/v1/trunk/ipAccessControlList.ts index 35da20d613..1056f779f8 100644 --- a/lib/rest/trunking/v1/trunk/ipAccessControlList.ts +++ b/lib/rest/trunking/v1/trunk/ipAccessControlList.ts @@ -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"); @@ -186,7 +186,7 @@ export class IpAccessControlListContextImpl interface IpAccessControlListPayload extends IpAccessControlListResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface IpAccessControlListResource { account_sid?: string | null; diff --git a/lib/rest/trunking/v1/trunk/originationUrl.ts b/lib/rest/trunking/v1/trunk/originationUrl.ts index 37c5670105..c01df71657 100644 --- a/lib/rest/trunking/v1/trunk/originationUrl.ts +++ b/lib/rest/trunking/v1/trunk/originationUrl.ts @@ -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"); @@ -279,7 +279,7 @@ export class OriginationUrlContextImpl implements OriginationUrlContext { interface OriginationUrlPayload extends OriginationUrlResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface OriginationUrlResource { account_sid?: string | null; diff --git a/lib/rest/trunking/v1/trunk/phoneNumber.ts b/lib/rest/trunking/v1/trunk/phoneNumber.ts index 7f842879a5..951640588e 100644 --- a/lib/rest/trunking/v1/trunk/phoneNumber.ts +++ b/lib/rest/trunking/v1/trunk/phoneNumber.ts @@ -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"); @@ -218,7 +218,7 @@ export type PhoneNumberVoiceMethod = interface PhoneNumberPayload extends PhoneNumberResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface PhoneNumberResource { account_sid?: string | null; diff --git a/lib/rest/trusthub/v1/customerProfiles.ts b/lib/rest/trusthub/v1/customerProfiles.ts index 002e44ef8d..cbc6d5a5b7 100644 --- a/lib/rest/trusthub/v1/customerProfiles.ts +++ b/lib/rest/trusthub/v1/customerProfiles.ts @@ -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"); @@ -333,7 +333,7 @@ export class CustomerProfilesContextImpl implements CustomerProfilesContext { interface CustomerProfilesPayload extends CustomerProfilesResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface CustomerProfilesResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.ts b/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.ts index 5772a8dd91..325d0c0a1a 100644 --- a/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.ts +++ b/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.ts @@ -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"); @@ -205,7 +205,7 @@ export class CustomerProfilesChannelEndpointAssignmentContextImpl interface CustomerProfilesChannelEndpointAssignmentPayload extends CustomerProfilesChannelEndpointAssignmentResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface CustomerProfilesChannelEndpointAssignmentResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.ts b/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.ts index 3225052bac..ccad445d99 100644 --- a/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.ts +++ b/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.ts @@ -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"); @@ -189,7 +189,7 @@ export class CustomerProfilesEntityAssignmentsContextImpl interface CustomerProfilesEntityAssignmentsPayload extends CustomerProfilesEntityAssignmentsResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface CustomerProfilesEntityAssignmentsResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.ts b/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.ts index 2d5cdb2739..9802012e99 100644 --- a/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.ts +++ b/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.ts @@ -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"); @@ -166,7 +166,7 @@ export class CustomerProfilesEvaluationsContextImpl interface CustomerProfilesEvaluationsPayload extends CustomerProfilesEvaluationsResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface CustomerProfilesEvaluationsResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/endUser.ts b/lib/rest/trusthub/v1/endUser.ts index 45310c52d7..9ebf6f192a 100644 --- a/lib/rest/trusthub/v1/endUser.ts +++ b/lib/rest/trusthub/v1/endUser.ts @@ -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"); @@ -246,7 +246,7 @@ export class EndUserContextImpl implements EndUserContext { } } -interface EndUserPayload extends EndUserResource, Page.TwilioResponsePayload {} +interface EndUserPayload extends EndUserResource, TwilioResponsePayload {} interface EndUserResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/endUserType.ts b/lib/rest/trusthub/v1/endUserType.ts index 24e2edc5fc..b894c62df0 100644 --- a/lib/rest/trusthub/v1/endUserType.ts +++ b/lib/rest/trusthub/v1/endUserType.ts @@ -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"); @@ -138,7 +138,7 @@ export class EndUserTypeContextImpl implements EndUserTypeContext { interface EndUserTypePayload extends EndUserTypeResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface EndUserTypeResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/policies.ts b/lib/rest/trusthub/v1/policies.ts index 97629dbdd2..9c85846505 100644 --- a/lib/rest/trusthub/v1/policies.ts +++ b/lib/rest/trusthub/v1/policies.ts @@ -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"); @@ -136,9 +136,7 @@ export class PoliciesContextImpl implements PoliciesContext { } } -interface PoliciesPayload - extends PoliciesResource, - Page.TwilioResponsePayload {} +interface PoliciesPayload extends PoliciesResource, TwilioResponsePayload {} interface PoliciesResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/supportingDocument.ts b/lib/rest/trusthub/v1/supportingDocument.ts index bfa3c6d2fd..7f351cd065 100644 --- a/lib/rest/trusthub/v1/supportingDocument.ts +++ b/lib/rest/trusthub/v1/supportingDocument.ts @@ -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"); @@ -269,7 +269,7 @@ export class SupportingDocumentContextImpl interface SupportingDocumentPayload extends SupportingDocumentResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SupportingDocumentResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/supportingDocumentType.ts b/lib/rest/trusthub/v1/supportingDocumentType.ts index bd9f7056c6..fc7053e196 100644 --- a/lib/rest/trusthub/v1/supportingDocumentType.ts +++ b/lib/rest/trusthub/v1/supportingDocumentType.ts @@ -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"); @@ -150,7 +150,7 @@ export class SupportingDocumentTypeContextImpl interface SupportingDocumentTypePayload extends SupportingDocumentTypeResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SupportingDocumentTypeResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/trustProducts.ts b/lib/rest/trusthub/v1/trustProducts.ts index 1dce33ca20..f5f1ab6e9d 100644 --- a/lib/rest/trusthub/v1/trustProducts.ts +++ b/lib/rest/trusthub/v1/trustProducts.ts @@ -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"); @@ -319,7 +319,7 @@ export class TrustProductsContextImpl implements TrustProductsContext { interface TrustProductsPayload extends TrustProductsResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface TrustProductsResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.ts b/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.ts index 6f8a03fa59..4ac5e165f3 100644 --- a/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.ts +++ b/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.ts @@ -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"); @@ -205,7 +205,7 @@ export class TrustProductsChannelEndpointAssignmentContextImpl interface TrustProductsChannelEndpointAssignmentPayload extends TrustProductsChannelEndpointAssignmentResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface TrustProductsChannelEndpointAssignmentResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.ts b/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.ts index e77cc490c9..71c002c53b 100644 --- a/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.ts +++ b/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.ts @@ -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"); @@ -189,7 +189,7 @@ export class TrustProductsEntityAssignmentsContextImpl interface TrustProductsEntityAssignmentsPayload extends TrustProductsEntityAssignmentsResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface TrustProductsEntityAssignmentsResource { sid?: string | null; diff --git a/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.ts b/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.ts index f86b3d8e67..f2efb0eb6c 100644 --- a/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.ts +++ b/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.ts @@ -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"); @@ -166,7 +166,7 @@ export class TrustProductsEvaluationsContextImpl interface TrustProductsEvaluationsPayload extends TrustProductsEvaluationsResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface TrustProductsEvaluationsResource { sid?: string | null; diff --git a/lib/rest/verify/v2/service.ts b/lib/rest/verify/v2/service.ts index 5b5680eb67..182b3e0e17 100644 --- a/lib/rest/verify/v2/service.ts +++ b/lib/rest/verify/v2/service.ts @@ -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 V2 from "../V2"; const deserialize = require("../../../base/deserialize"); @@ -405,7 +405,7 @@ export class ServiceContextImpl implements ServiceContext { } } -interface ServicePayload extends ServiceResource, Page.TwilioResponsePayload {} +interface ServicePayload extends ServiceResource, TwilioResponsePayload {} interface ServiceResource { sid?: string | null; diff --git a/lib/rest/verify/v2/service/entity.ts b/lib/rest/verify/v2/service/entity.ts index b2ee51310a..c909c20de2 100644 --- a/lib/rest/verify/v2/service/entity.ts +++ b/lib/rest/verify/v2/service/entity.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -223,7 +223,7 @@ export class EntityContextImpl implements EntityContext { } } -interface EntityPayload extends EntityResource, Page.TwilioResponsePayload {} +interface EntityPayload extends EntityResource, TwilioResponsePayload {} interface EntityResource { sid?: string | null; diff --git a/lib/rest/verify/v2/service/entity/challenge.ts b/lib/rest/verify/v2/service/entity/challenge.ts index 0a869d6524..6140ca7f2a 100644 --- a/lib/rest/verify/v2/service/entity/challenge.ts +++ b/lib/rest/verify/v2/service/entity/challenge.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -297,9 +297,7 @@ export class ChallengeContextImpl implements ChallengeContext { } } -interface ChallengePayload - extends ChallengeResource, - Page.TwilioResponsePayload {} +interface ChallengePayload extends ChallengeResource, TwilioResponsePayload {} interface ChallengeResource { sid?: string | null; diff --git a/lib/rest/verify/v2/service/entity/factor.ts b/lib/rest/verify/v2/service/entity/factor.ts index 05b859714f..06d35e44e0 100644 --- a/lib/rest/verify/v2/service/entity/factor.ts +++ b/lib/rest/verify/v2/service/entity/factor.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -295,7 +295,7 @@ export class FactorContextImpl implements FactorContext { } } -interface FactorPayload extends FactorResource, Page.TwilioResponsePayload {} +interface FactorPayload extends FactorResource, TwilioResponsePayload {} interface FactorResource { sid?: string | null; diff --git a/lib/rest/verify/v2/service/messagingConfiguration.ts b/lib/rest/verify/v2/service/messagingConfiguration.ts index f84f7bc50b..3d53376efa 100644 --- a/lib/rest/verify/v2/service/messagingConfiguration.ts +++ b/lib/rest/verify/v2/service/messagingConfiguration.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -263,7 +263,7 @@ export class MessagingConfigurationContextImpl interface MessagingConfigurationPayload extends MessagingConfigurationResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface MessagingConfigurationResource { account_sid?: string | null; diff --git a/lib/rest/verify/v2/service/rateLimit.ts b/lib/rest/verify/v2/service/rateLimit.ts index 5a8a0d8045..89a80f7472 100644 --- a/lib/rest/verify/v2/service/rateLimit.ts +++ b/lib/rest/verify/v2/service/rateLimit.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -271,9 +271,7 @@ export class RateLimitContextImpl implements RateLimitContext { } } -interface RateLimitPayload - extends RateLimitResource, - Page.TwilioResponsePayload {} +interface RateLimitPayload extends RateLimitResource, TwilioResponsePayload {} interface RateLimitResource { sid?: string | null; diff --git a/lib/rest/verify/v2/service/rateLimit/bucket.ts b/lib/rest/verify/v2/service/rateLimit/bucket.ts index 98ce8727dd..145123a6a8 100644 --- a/lib/rest/verify/v2/service/rateLimit/bucket.ts +++ b/lib/rest/verify/v2/service/rateLimit/bucket.ts @@ -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 V2 from "../../../V2"; const deserialize = require("../../../../../base/deserialize"); @@ -269,7 +269,7 @@ export class BucketContextImpl implements BucketContext { } } -interface BucketPayload extends BucketResource, Page.TwilioResponsePayload {} +interface BucketPayload extends BucketResource, TwilioResponsePayload {} interface BucketResource { sid?: string | null; diff --git a/lib/rest/verify/v2/service/webhook.ts b/lib/rest/verify/v2/service/webhook.ts index cf14f699c8..cebf7e5de6 100644 --- a/lib/rest/verify/v2/service/webhook.ts +++ b/lib/rest/verify/v2/service/webhook.ts @@ -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 V2 from "../../V2"; const deserialize = require("../../../../base/deserialize"); @@ -281,7 +281,7 @@ export class WebhookContextImpl implements WebhookContext { } } -interface WebhookPayload extends WebhookResource, Page.TwilioResponsePayload {} +interface WebhookPayload extends WebhookResource, TwilioResponsePayload {} interface WebhookResource { sid?: string | null; diff --git a/lib/rest/verify/v2/template.ts b/lib/rest/verify/v2/template.ts index 7ffaa09e5c..1945a44e6d 100644 --- a/lib/rest/verify/v2/template.ts +++ b/lib/rest/verify/v2/template.ts @@ -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 V2 from "../V2"; const deserialize = require("../../../base/deserialize"); @@ -294,9 +294,7 @@ export function TemplateListInstance(version: V2): TemplateListInstance { return instance; } -interface TemplatePayload - extends TemplateResource, - Page.TwilioResponsePayload {} +interface TemplatePayload extends TemplateResource, TwilioResponsePayload {} interface TemplateResource { sid?: string | null; diff --git a/lib/rest/verify/v2/verificationAttempt.ts b/lib/rest/verify/v2/verificationAttempt.ts index be175492cf..2935a68c4c 100644 --- a/lib/rest/verify/v2/verificationAttempt.ts +++ b/lib/rest/verify/v2/verificationAttempt.ts @@ -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 V2 from "../V2"; const deserialize = require("../../../base/deserialize"); @@ -199,7 +199,7 @@ export class VerificationAttemptContextImpl interface VerificationAttemptPayload extends VerificationAttemptResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface VerificationAttemptResource { sid?: string | null; diff --git a/lib/rest/video/v1/composition.ts b/lib/rest/video/v1/composition.ts index 79bd0a0a22..4a6cc5a447 100644 --- a/lib/rest/video/v1/composition.ts +++ b/lib/rest/video/v1/composition.ts @@ -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"); @@ -227,7 +227,7 @@ export type CompositionStatusCallbackMethod = interface CompositionPayload extends CompositionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface CompositionResource { account_sid?: string | null; diff --git a/lib/rest/video/v1/compositionHook.ts b/lib/rest/video/v1/compositionHook.ts index 69fa47aaae..f2d180a183 100644 --- a/lib/rest/video/v1/compositionHook.ts +++ b/lib/rest/video/v1/compositionHook.ts @@ -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"); @@ -333,7 +333,7 @@ export type CompositionHookStatusCallbackMethod = interface CompositionHookPayload extends CompositionHookResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface CompositionHookResource { account_sid?: string | null; diff --git a/lib/rest/video/v1/recording.ts b/lib/rest/video/v1/recording.ts index 26b96c30db..b52624ff4c 100644 --- a/lib/rest/video/v1/recording.ts +++ b/lib/rest/video/v1/recording.ts @@ -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"); @@ -212,9 +212,7 @@ export type RecordingStatusCallbackMethod = | "PUT" | "DELETE"; -interface RecordingPayload - extends RecordingResource, - Page.TwilioResponsePayload {} +interface RecordingPayload extends RecordingResource, TwilioResponsePayload {} interface RecordingResource { account_sid?: string | null; diff --git a/lib/rest/video/v1/room.ts b/lib/rest/video/v1/room.ts index 234cfe88c1..26f03e37c1 100644 --- a/lib/rest/video/v1/room.ts +++ b/lib/rest/video/v1/room.ts @@ -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"); @@ -300,7 +300,7 @@ export type RoomStatusCallbackMethod = | "PUT" | "DELETE"; -interface RoomPayload extends RoomResource, Page.TwilioResponsePayload {} +interface RoomPayload extends RoomResource, TwilioResponsePayload {} interface RoomResource { sid?: string | null; diff --git a/lib/rest/video/v1/room/participant.ts b/lib/rest/video/v1/room/participant.ts index b7fb19b227..f7251dbc78 100644 --- a/lib/rest/video/v1/room/participant.ts +++ b/lib/rest/video/v1/room/participant.ts @@ -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"); @@ -304,7 +304,7 @@ export class ParticipantContextImpl implements ParticipantContext { interface ParticipantPayload extends ParticipantResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ParticipantResource { sid?: string | null; diff --git a/lib/rest/video/v1/room/participant/publishedTrack.ts b/lib/rest/video/v1/room/participant/publishedTrack.ts index 18827ac2cb..641b7be86e 100644 --- a/lib/rest/video/v1/room/participant/publishedTrack.ts +++ b/lib/rest/video/v1/room/participant/publishedTrack.ts @@ -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"); @@ -164,7 +164,7 @@ export class PublishedTrackContextImpl implements PublishedTrackContext { interface PublishedTrackPayload extends PublishedTrackResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface PublishedTrackResource { sid?: string | null; diff --git a/lib/rest/video/v1/room/participant/subscribedTrack.ts b/lib/rest/video/v1/room/participant/subscribedTrack.ts index 0db362c8e2..958fa65d65 100644 --- a/lib/rest/video/v1/room/participant/subscribedTrack.ts +++ b/lib/rest/video/v1/room/participant/subscribedTrack.ts @@ -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"); @@ -164,7 +164,7 @@ export class SubscribedTrackContextImpl implements SubscribedTrackContext { interface SubscribedTrackPayload extends SubscribedTrackResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SubscribedTrackResource { sid?: string | null; diff --git a/lib/rest/video/v1/room/roomRecording.ts b/lib/rest/video/v1/room/roomRecording.ts index febd1606e7..3d08c99982 100644 --- a/lib/rest/video/v1/room/roomRecording.ts +++ b/lib/rest/video/v1/room/roomRecording.ts @@ -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"); @@ -205,7 +205,7 @@ export class RoomRecordingContextImpl implements RoomRecordingContext { interface RoomRecordingPayload extends RoomRecordingResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface RoomRecordingResource { account_sid?: string | null; diff --git a/lib/rest/voice/v1/byocTrunk.ts b/lib/rest/voice/v1/byocTrunk.ts index b08348d46c..c2e4a9ec36 100644 --- a/lib/rest/voice/v1/byocTrunk.ts +++ b/lib/rest/voice/v1/byocTrunk.ts @@ -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"); @@ -312,9 +312,7 @@ export type ByocTrunkStatusCallbackMethod = | "PUT" | "DELETE"; -interface ByocTrunkPayload - extends ByocTrunkResource, - Page.TwilioResponsePayload {} +interface ByocTrunkPayload extends ByocTrunkResource, TwilioResponsePayload {} interface ByocTrunkResource { account_sid?: string | null; diff --git a/lib/rest/voice/v1/connectionPolicy.ts b/lib/rest/voice/v1/connectionPolicy.ts index 1a2c08b1f7..33810c2f0c 100644 --- a/lib/rest/voice/v1/connectionPolicy.ts +++ b/lib/rest/voice/v1/connectionPolicy.ts @@ -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"); @@ -263,7 +263,7 @@ export class ConnectionPolicyContextImpl implements ConnectionPolicyContext { interface ConnectionPolicyPayload extends ConnectionPolicyResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ConnectionPolicyResource { account_sid?: string | null; diff --git a/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.ts b/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.ts index 7184eb2545..67ad50c29d 100644 --- a/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.ts +++ b/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.ts @@ -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"); @@ -297,7 +297,7 @@ export class ConnectionPolicyTargetContextImpl interface ConnectionPolicyTargetPayload extends ConnectionPolicyTargetResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface ConnectionPolicyTargetResource { account_sid?: string | null; diff --git a/lib/rest/voice/v1/dialingPermissions/country.ts b/lib/rest/voice/v1/dialingPermissions/country.ts index d5a8da6b69..6e8a0f0b60 100644 --- a/lib/rest/voice/v1/dialingPermissions/country.ts +++ b/lib/rest/voice/v1/dialingPermissions/country.ts @@ -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"); @@ -184,7 +184,7 @@ export class CountryContextImpl implements CountryContext { } } -interface CountryPayload extends CountryResource, Page.TwilioResponsePayload {} +interface CountryPayload extends CountryResource, TwilioResponsePayload {} interface CountryResource { iso_code?: string | null; diff --git a/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.ts b/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.ts index 96fad8e19b..48f8bcbf37 100644 --- a/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.ts +++ b/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.ts @@ -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"); @@ -317,7 +317,7 @@ export function HighriskSpecialPrefixListInstance( interface HighriskSpecialPrefixPayload extends HighriskSpecialPrefixResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface HighriskSpecialPrefixResource { prefix?: string | null; diff --git a/lib/rest/voice/v1/ipRecord.ts b/lib/rest/voice/v1/ipRecord.ts index 59f33d3022..db24e60b50 100644 --- a/lib/rest/voice/v1/ipRecord.ts +++ b/lib/rest/voice/v1/ipRecord.ts @@ -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"); @@ -242,9 +242,7 @@ export class IpRecordContextImpl implements IpRecordContext { } } -interface IpRecordPayload - extends IpRecordResource, - Page.TwilioResponsePayload {} +interface IpRecordPayload extends IpRecordResource, TwilioResponsePayload {} interface IpRecordResource { account_sid?: string | null; diff --git a/lib/rest/voice/v1/sourceIpMapping.ts b/lib/rest/voice/v1/sourceIpMapping.ts index 43dd365ad8..e93cebab56 100644 --- a/lib/rest/voice/v1/sourceIpMapping.ts +++ b/lib/rest/voice/v1/sourceIpMapping.ts @@ -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"); @@ -246,7 +246,7 @@ export class SourceIpMappingContextImpl implements SourceIpMappingContext { interface SourceIpMappingPayload extends SourceIpMappingResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface SourceIpMappingResource { sid?: string | null; diff --git a/lib/rest/wireless/v1/command.ts b/lib/rest/wireless/v1/command.ts index 2d8bbf6e28..367a352e64 100644 --- a/lib/rest/wireless/v1/command.ts +++ b/lib/rest/wireless/v1/command.ts @@ -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"); @@ -213,7 +213,7 @@ export class CommandContextImpl implements CommandContext { } } -interface CommandPayload extends CommandResource, Page.TwilioResponsePayload {} +interface CommandPayload extends CommandResource, TwilioResponsePayload {} interface CommandResource { sid?: string | null; diff --git a/lib/rest/wireless/v1/ratePlan.ts b/lib/rest/wireless/v1/ratePlan.ts index 72f6f837b4..4f20765662 100644 --- a/lib/rest/wireless/v1/ratePlan.ts +++ b/lib/rest/wireless/v1/ratePlan.ts @@ -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"); @@ -262,9 +262,7 @@ export class RatePlanContextImpl implements RatePlanContext { } } -interface RatePlanPayload - extends RatePlanResource, - Page.TwilioResponsePayload {} +interface RatePlanPayload extends RatePlanResource, TwilioResponsePayload {} interface RatePlanResource { sid?: string | null; diff --git a/lib/rest/wireless/v1/sim.ts b/lib/rest/wireless/v1/sim.ts index 12f91dee64..2aecc83073 100644 --- a/lib/rest/wireless/v1/sim.ts +++ b/lib/rest/wireless/v1/sim.ts @@ -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"); @@ -386,7 +386,7 @@ export type SimVoiceMethod = | "PUT" | "DELETE"; -interface SimPayload extends SimResource, Page.TwilioResponsePayload {} +interface SimPayload extends SimResource, TwilioResponsePayload {} interface SimResource { sid?: string | null; diff --git a/lib/rest/wireless/v1/sim/dataSession.ts b/lib/rest/wireless/v1/sim/dataSession.ts index de74c7ade9..929120e6ea 100644 --- a/lib/rest/wireless/v1/sim/dataSession.ts +++ b/lib/rest/wireless/v1/sim/dataSession.ts @@ -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"); @@ -298,7 +298,7 @@ export function DataSessionListInstance( interface DataSessionPayload extends DataSessionResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface DataSessionResource { sid?: string | null; diff --git a/lib/rest/wireless/v1/sim/usageRecord.ts b/lib/rest/wireless/v1/sim/usageRecord.ts index 0dc0d7b663..1413d4c8aa 100644 --- a/lib/rest/wireless/v1/sim/usageRecord.ts +++ b/lib/rest/wireless/v1/sim/usageRecord.ts @@ -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"); @@ -324,7 +324,7 @@ export function UsageRecordListInstance( interface UsageRecordPayload extends UsageRecordResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UsageRecordResource { sim_sid?: string | null; diff --git a/lib/rest/wireless/v1/usageRecord.ts b/lib/rest/wireless/v1/usageRecord.ts index dccf0128a4..a5adcc5722 100644 --- a/lib/rest/wireless/v1/usageRecord.ts +++ b/lib/rest/wireless/v1/usageRecord.ts @@ -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"); @@ -315,7 +315,7 @@ export function UsageRecordListInstance(version: V1): UsageRecordListInstance { interface UsageRecordPayload extends UsageRecordResource, - Page.TwilioResponsePayload {} + TwilioResponsePayload {} interface UsageRecordResource { account_sid?: string | null;