|
|
|
@ -11,6 +11,7 @@ import math
|
|
|
|
|
import requests
|
|
|
|
|
import time
|
|
|
|
|
import logging
|
|
|
|
|
import urllib.parse
|
|
|
|
|
|
|
|
|
|
import simplejson as json
|
|
|
|
|
|
|
|
|
@ -241,7 +242,10 @@ class Customer(APIObject):
|
|
|
|
|
yield PhoneNumber(self._api, data=c)
|
|
|
|
|
|
|
|
|
|
def calls(self, params=None):
|
|
|
|
|
for c in self._api.getMany(Call.makeUrl(parent=self, params=params, pageSize=100)):
|
|
|
|
|
if params is None:
|
|
|
|
|
params = {}
|
|
|
|
|
params['pageSize'] = 500
|
|
|
|
|
for c in self._api.getMany(Call.makeUrl(parent=self), params=params):
|
|
|
|
|
yield Call(self._api, data=c)
|
|
|
|
|
|
|
|
|
|
def callbundles(self):
|
|
|
|
|