@@ -14,8 +14,6 @@ import dm.sent.services.async.MeServiceAsync
1414import dm.sent.services.async.MeServiceAsyncImpl
1515import dm.sent.services.async.MessageServiceAsync
1616import dm.sent.services.async.MessageServiceAsyncImpl
17- import dm.sent.services.async.NumberServiceAsync
18- import dm.sent.services.async.NumberServiceAsyncImpl
1917import dm.sent.services.async.ProfileServiceAsync
2018import dm.sent.services.async.ProfileServiceAsyncImpl
2119import dm.sent.services.async.TemplateServiceAsync
@@ -59,10 +57,6 @@ class SentClientAsyncImpl(private val clientOptions: ClientOptions) : SentClient
5957 ProfileServiceAsyncImpl (clientOptionsWithUserAgent)
6058 }
6159
62- private val numbers: NumberServiceAsync by lazy {
63- NumberServiceAsyncImpl (clientOptionsWithUserAgent)
64- }
65-
6660 private val messages: MessageServiceAsync by lazy {
6761 MessageServiceAsyncImpl (clientOptionsWithUserAgent)
6862 }
@@ -136,15 +130,6 @@ class SentClientAsyncImpl(private val clientOptions: ClientOptions) : SentClient
136130 */
137131 override fun profiles (): ProfileServiceAsync = profiles
138132
139- /* *
140- * What a phone number actually is, before you send to it.
141- *
142- * A lookup returns the number's country, line type and carrier, which is what decides whether
143- * it is reachable on a channel and what it costs. Worth doing on import rather than on send: a
144- * landline in a contact list is a message that can never be delivered.
145- */
146- override fun numbers (): NumberServiceAsync = numbers
147-
148133 /* *
149134 * Send a message and follow what happened to it.
150135 *
@@ -224,10 +209,6 @@ class SentClientAsyncImpl(private val clientOptions: ClientOptions) : SentClient
224209 ProfileServiceAsyncImpl .WithRawResponseImpl (clientOptions)
225210 }
226211
227- private val numbers: NumberServiceAsync .WithRawResponse by lazy {
228- NumberServiceAsyncImpl .WithRawResponseImpl (clientOptions)
229- }
230-
231212 private val messages: MessageServiceAsync .WithRawResponse by lazy {
232213 MessageServiceAsyncImpl .WithRawResponseImpl (clientOptions)
233214 }
@@ -304,15 +285,6 @@ class SentClientAsyncImpl(private val clientOptions: ClientOptions) : SentClient
304285 */
305286 override fun profiles (): ProfileServiceAsync .WithRawResponse = profiles
306287
307- /* *
308- * What a phone number actually is, before you send to it.
309- *
310- * A lookup returns the number's country, line type and carrier, which is what decides
311- * whether it is reachable on a channel and what it costs. Worth doing on import rather than
312- * on send: a landline in a contact list is a message that can never be delivered.
313- */
314- override fun numbers (): NumberServiceAsync .WithRawResponse = numbers
315-
316288 /* *
317289 * Send a message and follow what happened to it.
318290 *
0 commit comments