|
1 | | -import twilio |
2 | | -from twilio import TwilioException, TwilioRestException |
| 1 | +from ... import TwilioException, TwilioRestException |
3 | 2 |
|
4 | | -from twilio.rest.resources.imports import ( |
| 3 | +from .imports import ( |
5 | 4 | parse_qs, json, httplib2 |
6 | 5 | ) |
7 | 6 |
|
8 | | -from twilio.rest.resources.util import ( |
| 7 | +from .util import ( |
9 | 8 | transform_params, format_name, parse_date, convert_boolean, convert_case, |
10 | 9 | convert_keys, normalize_dates, UNSET_TIMEOUT |
11 | 10 | ) |
12 | | -from twilio.rest.resources.base import ( |
| 11 | +from .base import ( |
13 | 12 | Response, Resource, InstanceResource, ListResource, |
14 | 13 | make_request, make_twilio_request |
15 | 14 | ) |
16 | | -from twilio.rest.resources.phone_numbers import ( |
| 15 | +from .phone_numbers import ( |
17 | 16 | AvailablePhoneNumber, AvailablePhoneNumbers, PhoneNumber, PhoneNumbers |
18 | 17 | ) |
19 | | -from twilio.rest.resources.recordings import Recording, Recordings |
20 | | -from twilio.rest.resources.transcriptions import Transcription, Transcriptions |
| 18 | +from .recordings import Recording, Recordings |
| 19 | +from .transcriptions import Transcription, Transcriptions |
21 | 20 |
|
22 | | -from twilio.rest.resources.notifications import Notification, Notifications |
23 | | -from twilio.rest.resources.connect_apps import ( |
| 21 | +from .notifications import Notification, Notifications |
| 22 | +from .connect_apps import ( |
24 | 23 | ConnectApp, ConnectApps, AuthorizedConnectApp, AuthorizedConnectApps |
25 | 24 | ) |
26 | | -from twilio.rest.resources.calls import Call, Calls |
27 | | -from twilio.rest.resources.caller_ids import CallerIds, CallerId |
28 | | -from twilio.rest.resources.connection import Connection |
29 | | -from twilio.rest.resources.sandboxes import Sandbox, Sandboxes |
30 | | -from twilio.rest.resources.sms_messages import ( |
| 25 | +from .calls import Call, Calls |
| 26 | +from .caller_ids import CallerIds, CallerId |
| 27 | +from .connection import Connection |
| 28 | +from .sandboxes import Sandbox, Sandboxes |
| 29 | +from .sms_messages import ( |
31 | 30 | Sms, SmsMessage, SmsMessages, ShortCode, ShortCodes) |
32 | | -from twilio.rest.resources.conferences import ( |
| 31 | +from .conferences import ( |
33 | 32 | Participant, Participants, Conference, Conferences |
34 | 33 | ) |
35 | | -from twilio.rest.resources.queues import ( |
| 34 | +from .queues import ( |
36 | 35 | Member, Members, Queue, Queues, |
37 | 36 | ) |
38 | | -from twilio.rest.resources.applications import ( |
| 37 | +from .applications import ( |
39 | 38 | Application, Applications |
40 | 39 | ) |
41 | | -from twilio.rest.resources.accounts import Account, Accounts |
| 40 | +from .accounts import Account, Accounts |
42 | 41 |
|
43 | | -from twilio.rest.resources.usage import Usage |
| 42 | +from .usage import Usage |
44 | 43 |
|
45 | | -from twilio.rest.resources.messages import Message, Messages |
| 44 | +from .messages import Message, Messages |
46 | 45 |
|
47 | | -from twilio.rest.resources.media import Media, MediaList |
| 46 | +from .media import Media, MediaList |
48 | 47 |
|
49 | | -from twilio.rest.resources.sip import Sip |
| 48 | +from .sip import Sip |
0 commit comments