twilio 5.5.2 → 5.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/lib/base/BaseTwilio.js +2 -1
  2. package/lib/rest/MessagingBase.d.ts +3 -0
  3. package/lib/rest/MessagingBase.js +5 -0
  4. package/lib/rest/accounts/v1/bulkConsents.d.ts +1 -1
  5. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +10 -12
  6. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +2 -2
  7. package/lib/rest/api/v2010/account/call/transcription.d.ts +1 -1
  8. package/lib/rest/api/v2010/account/call.d.ts +1 -1
  9. package/lib/rest/api/v2010/account/conference/participant.d.ts +2 -2
  10. package/lib/rest/content/v1/content/approvalFetch.d.ts +3 -3
  11. package/lib/rest/content/v1/content.d.ts +9 -6
  12. package/lib/rest/content/v1/contentAndApprovals.d.ts +9 -9
  13. package/lib/rest/content/v1/legacyContent.d.ts +6 -6
  14. package/lib/rest/events/v1/subscription.d.ts +0 -10
  15. package/lib/rest/events/v1/subscription.js +0 -6
  16. package/lib/rest/flexApi/v1/interaction.d.ts +47 -0
  17. package/lib/rest/flexApi/v1/interaction.js +32 -0
  18. package/lib/rest/messaging/V2.d.ts +15 -0
  19. package/lib/rest/messaging/V2.js +37 -0
  20. package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +0 -6
  21. package/lib/rest/messaging/v1/brandRegistration/brandVetting.js +0 -2
  22. package/lib/rest/messaging/v2/channelsSender.d.ts +453 -0
  23. package/lib/rest/messaging/v2/channelsSender.js +301 -0
  24. package/lib/rest/numbers/V1.d.ts +5 -5
  25. package/lib/rest/numbers/V1.js +8 -6
  26. package/lib/rest/numbers/v1/{webhook.d.ts → portingWebhookConfigurationFetch.d.ts} +10 -10
  27. package/lib/rest/numbers/v1/{webhook.js → portingWebhookConfigurationFetch.js} +6 -6
  28. package/lib/rest/serverless/v1/service/build.d.ts +1 -1
  29. package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +3 -3
  30. package/lib/rest/video/v1/room.d.ts +4 -0
  31. package/lib/rest/video/v1/room.js +4 -0
  32. package/lib/twiml/VoiceResponse.d.ts +36 -16
  33. package/package.json +2 -2
@@ -22,8 +22,6 @@ export interface BrandVettingListInstanceCreateOptions {
22
22
  export interface BrandVettingListInstanceEachOptions {
23
23
  /** The third-party provider of the vettings to read */
24
24
  vettingProvider?: BrandVettingVettingProvider;
25
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
26
- pageSize?: number;
27
25
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
28
26
  callback?: (item: BrandVettingInstance, done: (err?: Error) => void) => void;
29
27
  /** Function to be called upon completion of streaming */
@@ -37,8 +35,6 @@ export interface BrandVettingListInstanceEachOptions {
37
35
  export interface BrandVettingListInstanceOptions {
38
36
  /** The third-party provider of the vettings to read */
39
37
  vettingProvider?: BrandVettingVettingProvider;
40
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
41
- pageSize?: number;
42
38
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
43
39
  limit?: number;
44
40
  }
@@ -48,8 +44,6 @@ export interface BrandVettingListInstanceOptions {
48
44
  export interface BrandVettingListInstancePageOptions {
49
45
  /** The third-party provider of the vettings to read */
50
46
  vettingProvider?: BrandVettingVettingProvider;
51
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
52
- pageSize?: number;
53
47
  /** Page Number, this value is simply for client state */
54
48
  pageNumber?: number;
55
49
  /** PageToken provided by the API */
@@ -165,8 +165,6 @@ function BrandVettingListInstance(version, brandSid) {
165
165
  let data = {};
166
166
  if (params["vettingProvider"] !== undefined)
167
167
  data["VettingProvider"] = params["vettingProvider"];
168
- if (params["pageSize"] !== undefined)
169
- data["PageSize"] = params["pageSize"];
170
168
  if (params.pageNumber !== undefined)
171
169
  data["Page"] = params.pageNumber;
172
170
  if (params.pageToken !== undefined)
@@ -0,0 +1,453 @@
1
+ /// <reference types="node" />
2
+ import { inspect, InspectOptions } from "util";
3
+ import Page, { TwilioResponsePayload } from "../../../base/Page";
4
+ import Response from "../../../http/response";
5
+ import V2 from "../V2";
6
+ /**
7
+ * The Status of this Sender. One of `CREATING`, `ONLINE`, `OFFLINE`, `PENDING_VERIFICATION`, `VERIFYING` or `ONLINE:UPDATING`.
8
+ */
9
+ export type ChannelsSenderStatus = "CREATING" | "ONLINE" | "OFFLINE" | "PENDING_VERIFICATION" | "VERIFYING" | "ONLINE:UPDATING" | "STUBBED";
10
+ /**
11
+ * Configuration settings for creating a sender, e.g., {\"waba_id\": \"1234567890\", \"verification_method\": \"sms\"}
12
+ */
13
+ export declare class MessagingV2ChannelsSenderConfiguration {
14
+ /**
15
+ * The ID of the WhatsApp Business Account to use for this sender.
16
+ */
17
+ "waba_id"?: string | null;
18
+ /**
19
+ * The method to use for verification. Either \"sms\" or \"voice\".
20
+ */
21
+ "verification_method"?: string | null;
22
+ /**
23
+ * The verification code to use for this sender.
24
+ */
25
+ "verification_code"?: string | null;
26
+ /**
27
+ * The SID of the Twilio Voice application to use for this sender.
28
+ */
29
+ "voice_application_sid"?: string | null;
30
+ }
31
+ export declare class MessagingV2ChannelsSenderOfflineReasonsItems {
32
+ /**
33
+ * The error code.
34
+ */
35
+ "code"?: string | null;
36
+ /**
37
+ * The error message.
38
+ */
39
+ "message"?: string | null;
40
+ /**
41
+ * The URL to get more information about the error.
42
+ */
43
+ "more_info"?: string | null;
44
+ }
45
+ /**
46
+ * Sender profile specific configurations, e.g., {\"name\": \"xxx\", \"about\": \"xxx\", \"address\": \"xxx\", \"description\": \"xxx\", \"email\": \"xxx@xxx\", \"logo_url\": \"https://xxx\", \"vertical\": \"xxx\", \"websites\": [\"https://xxx\", \"...\"]}
47
+ */
48
+ export declare class MessagingV2ChannelsSenderProfile {
49
+ /**
50
+ * The name of the sender.
51
+ */
52
+ "name"?: string | null;
53
+ /**
54
+ * The about text of the sender.
55
+ */
56
+ "about"?: string | null;
57
+ /**
58
+ * The address of the sender.
59
+ */
60
+ "address"?: string | null;
61
+ /**
62
+ * The description of the sender.
63
+ */
64
+ "description"?: string | null;
65
+ /**
66
+ * The emails of the sender.
67
+ */
68
+ "emails"?: Array<MessagingV2ChannelsSenderProfileEmails> | null;
69
+ /**
70
+ * The logo URL of the sender.
71
+ */
72
+ "logo_url"?: string | null;
73
+ /**
74
+ * The vertical of the sender. Allowed values are: - \"Automotive\" - \"Beauty, Spa and Salon\" - \"Clothing and Apparel\" - \"Education\" - \"Entertainment\" - \"Event Planning and Service\" - \"Finance and Banking\" - \"Food and Grocery\" - \"Public Service\" - \"Hotel and Lodging\" - \"Medical and Health\" - \"Non-profit\" - \"Professional Services\" - \"Shopping and Retail\" - \"Travel and Transportation\" - \"Restaurant\" - \"Other\"
75
+ */
76
+ "vertical"?: string | null;
77
+ /**
78
+ * The websites of the sender.
79
+ */
80
+ "websites"?: Array<MessagingV2ChannelsSenderProfileWebsites> | null;
81
+ }
82
+ export declare class MessagingV2ChannelsSenderProfileEmails {
83
+ /**
84
+ * The email of the sender.
85
+ */
86
+ "email"?: string | null;
87
+ /**
88
+ * The label of the sender.
89
+ */
90
+ "label"?: string | null;
91
+ }
92
+ export declare class MessagingV2ChannelsSenderProfileWebsites {
93
+ /**
94
+ * The label of the sender.
95
+ */
96
+ "label"?: string | null;
97
+ /**
98
+ * The website of the sender.
99
+ */
100
+ "website"?: string | null;
101
+ }
102
+ /**
103
+ * Sender specific additional properties, e.g., {\"quality_rating\": \"HIGH\", \"messaging_limit\": \"10K Customers/24hr\"}
104
+ */
105
+ export declare class MessagingV2ChannelsSenderProperties {
106
+ /**
107
+ * The quality rating of the sender.
108
+ */
109
+ "quality_rating"?: string | null;
110
+ /**
111
+ * The messaging limit of the sender.
112
+ */
113
+ "messaging_limit"?: string | null;
114
+ }
115
+ export declare class MessagingV2ChannelsSenderRequestsCreate {
116
+ /**
117
+ * The ID of this Sender prefixed with the channel, e.g., `whatsapp:E.164`
118
+ */
119
+ "sender_id": string | null;
120
+ "configuration"?: MessagingV2ChannelsSenderConfiguration | null;
121
+ "webhook"?: MessagingV2ChannelsSenderWebhook | null;
122
+ "profile"?: MessagingV2ChannelsSenderProfile | null;
123
+ }
124
+ export declare class MessagingV2ChannelsSenderRequestsUpdate {
125
+ "configuration"?: MessagingV2ChannelsSenderConfiguration | null;
126
+ "webhook"?: MessagingV2ChannelsSenderWebhook | null;
127
+ "profile"?: MessagingV2ChannelsSenderProfile | null;
128
+ }
129
+ /**
130
+ * Webhook specific configurations, e.g., {\"callback_url\": \"https://xxx\", \"callback_method\": \"POST\", \"fallback_url\": \"https://xxx\", \"fallback_method\": \"POST\", \"status_callback_url\": \"https://xxx\", \"status_callback_method\": \"POST\"}
131
+ */
132
+ export declare class MessagingV2ChannelsSenderWebhook {
133
+ /**
134
+ * The URL to send the webhook to.
135
+ */
136
+ "callback_url"?: string | null;
137
+ /**
138
+ * The HTTP method to use for the webhook. Either \"POST\" or \"PUT\".
139
+ */
140
+ "callback_method"?: string | null;
141
+ /**
142
+ * The URL to send the fallback webhook to.
143
+ */
144
+ "fallback_url"?: string | null;
145
+ /**
146
+ * The HTTP method to use for the fallback webhook. Either \"POST\" or \"PUT\".
147
+ */
148
+ "fallback_method"?: string | null;
149
+ /**
150
+ * The URL to send the status callback to.
151
+ */
152
+ "status_callback_url"?: string | null;
153
+ /**
154
+ * The HTTP method to use for the status callback.
155
+ */
156
+ "status_callback_method"?: string | null;
157
+ }
158
+ /**
159
+ * Options to pass to update a ChannelsSenderInstance
160
+ */
161
+ export interface ChannelsSenderContextUpdateOptions {
162
+ /** */
163
+ messagingV2ChannelsSenderRequestsUpdate?: MessagingV2ChannelsSenderRequestsUpdate;
164
+ }
165
+ /**
166
+ * Options to pass to create a ChannelsSenderInstance
167
+ */
168
+ export interface ChannelsSenderListInstanceCreateOptions {
169
+ /** */
170
+ messagingV2ChannelsSenderRequestsCreate: MessagingV2ChannelsSenderRequestsCreate;
171
+ }
172
+ /**
173
+ * Options to pass to each
174
+ */
175
+ export interface ChannelsSenderListInstanceEachOptions {
176
+ /** */
177
+ channel: string;
178
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
179
+ pageSize?: number;
180
+ /** Function to process each record. If this and a positional callback are passed, this one will be used */
181
+ callback?: (item: ChannelsSenderInstance, done: (err?: Error) => void) => void;
182
+ /** Function to be called upon completion of streaming */
183
+ done?: Function;
184
+ /** Upper limit for the number of records to return. each() guarantees never to return more than limit. Default is no limit */
185
+ limit?: number;
186
+ }
187
+ /**
188
+ * Options to pass to list
189
+ */
190
+ export interface ChannelsSenderListInstanceOptions {
191
+ /** */
192
+ channel: string;
193
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
194
+ pageSize?: number;
195
+ /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
196
+ limit?: number;
197
+ }
198
+ /**
199
+ * Options to pass to page
200
+ */
201
+ export interface ChannelsSenderListInstancePageOptions {
202
+ /** */
203
+ channel: string;
204
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
205
+ pageSize?: number;
206
+ /** Page Number, this value is simply for client state */
207
+ pageNumber?: number;
208
+ /** PageToken provided by the API */
209
+ pageToken?: string;
210
+ }
211
+ export interface ChannelsSenderContext {
212
+ /**
213
+ * Remove a ChannelsSenderInstance
214
+ *
215
+ * @param callback - Callback to handle processed record
216
+ *
217
+ * @returns Resolves to processed boolean
218
+ */
219
+ remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
220
+ /**
221
+ * Fetch a ChannelsSenderInstance
222
+ *
223
+ * @param callback - Callback to handle processed record
224
+ *
225
+ * @returns Resolves to processed ChannelsSenderInstance
226
+ */
227
+ fetch(callback?: (error: Error | null, item?: ChannelsSenderInstance) => any): Promise<ChannelsSenderInstance>;
228
+ /**
229
+ * Update a ChannelsSenderInstance
230
+ *
231
+ * @param callback - Callback to handle processed record
232
+ *
233
+ * @returns Resolves to processed ChannelsSenderInstance
234
+ */
235
+ update(callback?: (error: Error | null, item?: ChannelsSenderInstance) => any): Promise<ChannelsSenderInstance>;
236
+ /**
237
+ * Update a ChannelsSenderInstance
238
+ *
239
+ * @param params - Body for request
240
+ * @param headers - header params for request
241
+ * @param callback - Callback to handle processed record
242
+ *
243
+ * @returns Resolves to processed ChannelsSenderInstance
244
+ */
245
+ update(params: MessagingV2ChannelsSenderRequestsUpdate, headers?: any, callback?: (error: Error | null, item?: ChannelsSenderInstance) => any): Promise<ChannelsSenderInstance>;
246
+ /**
247
+ * Provide a user-friendly representation
248
+ */
249
+ toJSON(): any;
250
+ [inspect.custom](_depth: any, options: InspectOptions): any;
251
+ }
252
+ export interface ChannelsSenderContextSolution {
253
+ sid: string;
254
+ }
255
+ export declare class ChannelsSenderContextImpl implements ChannelsSenderContext {
256
+ protected _version: V2;
257
+ protected _solution: ChannelsSenderContextSolution;
258
+ protected _uri: string;
259
+ constructor(_version: V2, sid: string);
260
+ remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
261
+ fetch(callback?: (error: Error | null, item?: ChannelsSenderInstance) => any): Promise<ChannelsSenderInstance>;
262
+ update(params?: MessagingV2ChannelsSenderRequestsUpdate | ((error: Error | null, item?: ChannelsSenderInstance) => any), headers?: any, callback?: (error: Error | null, item?: ChannelsSenderInstance) => any): Promise<ChannelsSenderInstance>;
263
+ /**
264
+ * Provide a user-friendly representation
265
+ *
266
+ * @returns Object
267
+ */
268
+ toJSON(): ChannelsSenderContextSolution;
269
+ [inspect.custom](_depth: any, options: InspectOptions): string;
270
+ }
271
+ interface ChannelsSenderPayload extends TwilioResponsePayload {
272
+ senders: ChannelsSenderResource[];
273
+ }
274
+ interface ChannelsSenderResource {
275
+ sid: string;
276
+ status: ChannelsSenderStatus;
277
+ sender_id: string;
278
+ configuration: MessagingV2ChannelsSenderConfiguration;
279
+ webhook: MessagingV2ChannelsSenderWebhook;
280
+ profile: MessagingV2ChannelsSenderProfile;
281
+ properties: MessagingV2ChannelsSenderProperties;
282
+ offline_reasons: Array<MessagingV2ChannelsSenderOfflineReasonsItems>;
283
+ url: string;
284
+ }
285
+ export declare class ChannelsSenderInstance {
286
+ protected _version: V2;
287
+ protected _solution: ChannelsSenderContextSolution;
288
+ protected _context?: ChannelsSenderContext;
289
+ constructor(_version: V2, payload: ChannelsSenderResource, sid?: string);
290
+ /**
291
+ * A 34 character string that uniquely identifies this Sender.
292
+ */
293
+ sid: string;
294
+ status: ChannelsSenderStatus;
295
+ /**
296
+ * The ID of this Sender prefixed with the channel, e.g., `whatsapp:E.164`
297
+ */
298
+ senderId: string;
299
+ configuration: MessagingV2ChannelsSenderConfiguration;
300
+ webhook: MessagingV2ChannelsSenderWebhook;
301
+ profile: MessagingV2ChannelsSenderProfile;
302
+ properties: MessagingV2ChannelsSenderProperties;
303
+ /**
304
+ * Reasons why the sender is offline., e.g., [{\"code\": \"21211400\", \"message\": \"Whatsapp business account is banned by provider {provider_name} | Credit line is assigned to another BSP\", \"more_info\": \"https://www.twilio.com/docs/errors/21211400\"}]
305
+ */
306
+ offlineReasons: Array<MessagingV2ChannelsSenderOfflineReasonsItems>;
307
+ /**
308
+ * The URL of this resource, relative to `https://messaging.twilio.com`.
309
+ */
310
+ url: string;
311
+ private get _proxy();
312
+ /**
313
+ * Remove a ChannelsSenderInstance
314
+ *
315
+ * @param callback - Callback to handle processed record
316
+ *
317
+ * @returns Resolves to processed boolean
318
+ */
319
+ remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
320
+ /**
321
+ * Fetch a ChannelsSenderInstance
322
+ *
323
+ * @param callback - Callback to handle processed record
324
+ *
325
+ * @returns Resolves to processed ChannelsSenderInstance
326
+ */
327
+ fetch(callback?: (error: Error | null, item?: ChannelsSenderInstance) => any): Promise<ChannelsSenderInstance>;
328
+ /**
329
+ * Update a ChannelsSenderInstance
330
+ *
331
+ * @param callback - Callback to handle processed record
332
+ *
333
+ * @returns Resolves to processed ChannelsSenderInstance
334
+ */
335
+ update(callback?: (error: Error | null, item?: ChannelsSenderInstance) => any): Promise<ChannelsSenderInstance>;
336
+ /**
337
+ * Update a ChannelsSenderInstance
338
+ *
339
+ * @param params - Body for request
340
+ * @param headers - header params for request
341
+ * @param callback - Callback to handle processed record
342
+ *
343
+ * @returns Resolves to processed ChannelsSenderInstance
344
+ */
345
+ update(params: MessagingV2ChannelsSenderRequestsUpdate, headers?: any, callback?: (error: Error | null, item?: ChannelsSenderInstance) => any): Promise<ChannelsSenderInstance>;
346
+ /**
347
+ * Provide a user-friendly representation
348
+ *
349
+ * @returns Object
350
+ */
351
+ toJSON(): {
352
+ sid: string;
353
+ status: ChannelsSenderStatus;
354
+ senderId: string;
355
+ configuration: MessagingV2ChannelsSenderConfiguration;
356
+ webhook: MessagingV2ChannelsSenderWebhook;
357
+ profile: MessagingV2ChannelsSenderProfile;
358
+ properties: MessagingV2ChannelsSenderProperties;
359
+ offlineReasons: MessagingV2ChannelsSenderOfflineReasonsItems[];
360
+ url: string;
361
+ };
362
+ [inspect.custom](_depth: any, options: InspectOptions): string;
363
+ }
364
+ export interface ChannelsSenderSolution {
365
+ }
366
+ export interface ChannelsSenderListInstance {
367
+ _version: V2;
368
+ _solution: ChannelsSenderSolution;
369
+ _uri: string;
370
+ (sid: string): ChannelsSenderContext;
371
+ get(sid: string): ChannelsSenderContext;
372
+ /**
373
+ * Create a ChannelsSenderInstance
374
+ *
375
+ * @param params - Body for request
376
+ * @param headers - header params for request
377
+ * @param callback - Callback to handle processed record
378
+ *
379
+ * @returns Resolves to processed ChannelsSenderInstance
380
+ */
381
+ create(params: MessagingV2ChannelsSenderRequestsCreate, headers?: any, callback?: (error: Error | null, item?: ChannelsSenderInstance) => any): Promise<ChannelsSenderInstance>;
382
+ /**
383
+ * Streams ChannelsSenderInstance records from the API.
384
+ *
385
+ * This operation lazily loads records as efficiently as possible until the limit
386
+ * is reached.
387
+ *
388
+ * The results are passed into the callback function, so this operation is memory
389
+ * efficient.
390
+ *
391
+ * If a function is passed as the first argument, it will be used as the callback
392
+ * function.
393
+ *
394
+ * @param { ChannelsSenderListInstanceEachOptions } [params] - Options for request
395
+ * @param { function } [callback] - Function to process each record
396
+ */
397
+ each(params: ChannelsSenderListInstanceEachOptions, callback?: (item: ChannelsSenderInstance, done: (err?: Error) => void) => void): void;
398
+ /**
399
+ * Retrieve a single target page of ChannelsSenderInstance records from the API.
400
+ *
401
+ * The request is executed immediately.
402
+ *
403
+ * @param { string } [targetUrl] - API-generated URL for the requested results page
404
+ * @param { function } [callback] - Callback to handle list of records
405
+ */
406
+ getPage(targetUrl: string, callback?: (error: Error | null, items: ChannelsSenderPage) => any): Promise<ChannelsSenderPage>;
407
+ /**
408
+ * Lists ChannelsSenderInstance records from the API as a list.
409
+ *
410
+ * If a function is passed as the first argument, it will be used as the callback
411
+ * function.
412
+ *
413
+ * @param { ChannelsSenderListInstanceOptions } [params] - Options for request
414
+ * @param { function } [callback] - Callback to handle list of records
415
+ */
416
+ list(params: ChannelsSenderListInstanceOptions, callback?: (error: Error | null, items: ChannelsSenderInstance[]) => any): Promise<ChannelsSenderInstance[]>;
417
+ /**
418
+ * Retrieve a single page of ChannelsSenderInstance records from the API.
419
+ *
420
+ * The request is executed immediately.
421
+ *
422
+ * If a function is passed as the first argument, it will be used as the callback
423
+ * function.
424
+ *
425
+ * @param { ChannelsSenderListInstancePageOptions } [params] - Options for request
426
+ * @param { function } [callback] - Callback to handle list of records
427
+ */
428
+ page(params: ChannelsSenderListInstancePageOptions, callback?: (error: Error | null, items: ChannelsSenderPage) => any): Promise<ChannelsSenderPage>;
429
+ /**
430
+ * Provide a user-friendly representation
431
+ */
432
+ toJSON(): any;
433
+ [inspect.custom](_depth: any, options: InspectOptions): any;
434
+ }
435
+ export declare function ChannelsSenderListInstance(version: V2): ChannelsSenderListInstance;
436
+ export declare class ChannelsSenderPage extends Page<V2, ChannelsSenderPayload, ChannelsSenderResource, ChannelsSenderInstance> {
437
+ /**
438
+ * Initialize the ChannelsSenderPage
439
+ *
440
+ * @param version - Version of the resource
441
+ * @param response - Response from the API
442
+ * @param solution - Path solution
443
+ */
444
+ constructor(version: V2, response: Response<string>, solution: ChannelsSenderSolution);
445
+ /**
446
+ * Build an instance of ChannelsSenderInstance
447
+ *
448
+ * @param payload - Payload response from the API
449
+ */
450
+ getInstance(payload: ChannelsSenderResource): ChannelsSenderInstance;
451
+ [inspect.custom](depth: any, options: InspectOptions): string;
452
+ }
453
+ export {};