@vonage/client-sdk 2.6.0 → 2.6.1-snapshot.202607280910

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.
@@ -1,18 +1,28 @@
1
1
  type Nullable<T> = T | null | undefined
2
+ declare function KtSingleton<T>(): T & (abstract new() => any);
2
3
  export declare namespace vonage {
3
4
  interface CombinedEvents extends vonage.VoiceEvents, vonage.ChatEvents, vonage.emergency.EmergencyEvents {
4
5
  }
5
6
  }
6
7
  export declare namespace vonage {
7
- const VoiceChannelTypeObject: {
8
- get app(): string;
9
- get phone(): string;
10
- get sip(): string;
11
- get websocket(): string;
12
- toString(): string;
13
- hashCode(): number;
14
- equals(other: Nullable<any>): boolean;
15
- };
8
+ abstract class VoiceChannelTypeObject extends KtSingleton<VoiceChannelTypeObject.$metadata$.constructor>() {
9
+ private constructor();
10
+ }
11
+ namespace VoiceChannelTypeObject {
12
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
13
+ namespace $metadata$ {
14
+ abstract class constructor {
15
+ get app(): string;
16
+ get phone(): string;
17
+ get sip(): string;
18
+ get websocket(): string;
19
+ toString(): string;
20
+ hashCode(): number;
21
+ equals(other: Nullable<any>): boolean;
22
+ private constructor();
23
+ }
24
+ }
25
+ }
16
26
  class CombinedClientJS implements vonage.IChatClientJS, vonage.IVoiceClientJS, vonage.emergency.IEmergencyClientJS {
17
27
  constructor(config: vonage.InitConfigObjectJS, http: vonage.HttpClientJS, socket: vonage.SocketClientJS, media: vonage.MediaClientJS);
18
28
  get media(): vonage.MediaClientJS;
@@ -78,6 +88,12 @@ export declare namespace vonage {
78
88
  enableEarmuffEmergencyCall(callId: string): Promise<any>;
79
89
  disableEarmuffEmergencyCall(callId: string): Promise<any>;
80
90
  }
91
+ namespace CombinedClientJS {
92
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
93
+ namespace $metadata$ {
94
+ const constructor: abstract new () => CombinedClientJS;
95
+ }
96
+ }
81
97
  }
82
98
  export declare namespace vonage {
83
99
  abstract class EventStateTypeJS {
@@ -111,6 +127,12 @@ export declare namespace vonage {
111
127
  static values(): Array<vonage.EventStateTypeJS>;
112
128
  static valueOf(value: string): vonage.EventStateTypeJS;
113
129
  }
130
+ namespace EventStateTypeJS {
131
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
132
+ namespace $metadata$ {
133
+ const constructor: abstract new () => EventStateTypeJS;
134
+ }
135
+ }
114
136
  class EventStateJS {
115
137
  private constructor();
116
138
  get seen(): Nullable<string>;
@@ -120,12 +142,24 @@ export declare namespace vonage {
120
142
  get undeliverable(): Nullable<string>;
121
143
  get current(): string;
122
144
  }
145
+ namespace EventStateJS {
146
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
147
+ namespace $metadata$ {
148
+ const constructor: abstract new () => EventStateJS;
149
+ }
150
+ }
123
151
  class EventsPageJS {
124
152
  private constructor();
125
153
  get events(): Array<vonage.PersistentConversationEventJS>;
126
154
  get previousCursor(): Nullable<string>;
127
155
  get nextCursor(): Nullable<string>;
128
156
  }
157
+ namespace EventsPageJS {
158
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
159
+ namespace $metadata$ {
160
+ const constructor: abstract new () => EventsPageJS;
161
+ }
162
+ }
129
163
  interface FromJS {
130
164
  }
131
165
  class EmbeddedInfoJS implements vonage.FromJS {
@@ -134,12 +168,27 @@ export declare namespace vonage {
134
168
  get memberId(): Nullable<string>;
135
169
  get user(): vonage.UserJS;
136
170
  }
137
- const SystemJS: {
138
- get kind(): string;
139
- toString(): string;
140
- hashCode(): number;
141
- equals(other: Nullable<any>): boolean;
142
- } & vonage.FromJS;
171
+ namespace EmbeddedInfoJS {
172
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
173
+ namespace $metadata$ {
174
+ const constructor: abstract new () => EmbeddedInfoJS;
175
+ }
176
+ }
177
+ abstract class SystemJS extends KtSingleton<SystemJS.$metadata$.constructor>() {
178
+ private constructor();
179
+ }
180
+ namespace SystemJS {
181
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
182
+ namespace $metadata$ {
183
+ abstract class constructor implements vonage.FromJS {
184
+ get kind(): string;
185
+ toString(): string;
186
+ hashCode(): number;
187
+ equals(other: Nullable<any>): boolean;
188
+ private constructor();
189
+ }
190
+ }
191
+ }
143
192
  interface ConversationEventJS {
144
193
  }
145
194
  interface NonPersistentConversationEventJS extends vonage.ConversationEventJS {
@@ -154,6 +203,12 @@ export declare namespace vonage {
154
203
  get user(): vonage.UserJS;
155
204
  get channel(): vonage.ChannelJS;
156
205
  }
206
+ namespace MemberEventBodyJS {
207
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
208
+ namespace $metadata$ {
209
+ const constructor: abstract new () => MemberEventBodyJS;
210
+ }
211
+ }
157
212
  class MemberInvitedEventJS implements vonage.MemberEventJS, vonage.PersistentConversationEventJS {
158
213
  private constructor();
159
214
  get kind(): string;
@@ -163,6 +218,12 @@ export declare namespace vonage {
163
218
  get from(): vonage.FromJS;
164
219
  get body(): vonage.MemberEventBodyJS;
165
220
  }
221
+ namespace MemberInvitedEventJS {
222
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
223
+ namespace $metadata$ {
224
+ const constructor: abstract new () => MemberInvitedEventJS;
225
+ }
226
+ }
166
227
  class MemberJoinedEventJS implements vonage.MemberEventJS, vonage.PersistentConversationEventJS {
167
228
  private constructor();
168
229
  get kind(): string;
@@ -172,6 +233,12 @@ export declare namespace vonage {
172
233
  get from(): vonage.FromJS;
173
234
  get body(): vonage.MemberEventBodyJS;
174
235
  }
236
+ namespace MemberJoinedEventJS {
237
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
238
+ namespace $metadata$ {
239
+ const constructor: abstract new () => MemberJoinedEventJS;
240
+ }
241
+ }
175
242
  class MemberLeftEventJS implements vonage.MemberEventJS, vonage.PersistentConversationEventJS {
176
243
  private constructor();
177
244
  get kind(): string;
@@ -181,6 +248,12 @@ export declare namespace vonage {
181
248
  get from(): vonage.FromJS;
182
249
  get body(): vonage.MemberEventBodyJS;
183
250
  }
251
+ namespace MemberLeftEventJS {
252
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
253
+ namespace $metadata$ {
254
+ const constructor: abstract new () => MemberLeftEventJS;
255
+ }
256
+ }
184
257
  interface JSONBodyEventJS {
185
258
  }
186
259
  class CustomConversationEventJS implements vonage.PersistentConversationEventJS, vonage.JSONBodyEventJS {
@@ -193,6 +266,12 @@ export declare namespace vonage {
193
266
  get eventType(): Nullable<string>;
194
267
  get body(): any;
195
268
  }
269
+ namespace CustomConversationEventJS {
270
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
271
+ namespace $metadata$ {
272
+ const constructor: abstract new () => CustomConversationEventJS;
273
+ }
274
+ }
196
275
  class EphemeralConversationEventJS implements vonage.NonPersistentConversationEventJS, vonage.JSONBodyEventJS {
197
276
  private constructor();
198
277
  get kind(): string;
@@ -201,10 +280,22 @@ export declare namespace vonage {
201
280
  get from(): vonage.FromJS;
202
281
  get body(): any;
203
282
  }
283
+ namespace EphemeralConversationEventJS {
284
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
285
+ namespace $metadata$ {
286
+ const constructor: abstract new () => EphemeralConversationEventJS;
287
+ }
288
+ }
204
289
  class EventStateBodyJS {
205
290
  private constructor();
206
291
  get eventId(): number;
207
292
  }
293
+ namespace EventStateBodyJS {
294
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
295
+ namespace $metadata$ {
296
+ const constructor: abstract new () => EventStateBodyJS;
297
+ }
298
+ }
208
299
  class EventDeleteConversationEventJS implements vonage.PersistentConversationEventJS, vonage.JSONBodyEventJS {
209
300
  private constructor();
210
301
  get kind(): string;
@@ -214,6 +305,12 @@ export declare namespace vonage {
214
305
  get from(): vonage.FromJS;
215
306
  get body(): vonage.EventStateBodyJS;
216
307
  }
308
+ namespace EventDeleteConversationEventJS {
309
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
310
+ namespace $metadata$ {
311
+ const constructor: abstract new () => EventDeleteConversationEventJS;
312
+ }
313
+ }
217
314
  class MessageDeliveredEventJS implements vonage.PersistentConversationEventJS, vonage.JSONBodyEventJS {
218
315
  private constructor();
219
316
  get kind(): string;
@@ -223,6 +320,12 @@ export declare namespace vonage {
223
320
  get from(): vonage.FromJS;
224
321
  get body(): vonage.EventStateBodyJS;
225
322
  }
323
+ namespace MessageDeliveredEventJS {
324
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
325
+ namespace $metadata$ {
326
+ const constructor: abstract new () => MessageDeliveredEventJS;
327
+ }
328
+ }
226
329
  class MessageRejectedEventJS implements vonage.PersistentConversationEventJS, vonage.JSONBodyEventJS {
227
330
  private constructor();
228
331
  get kind(): string;
@@ -232,6 +335,12 @@ export declare namespace vonage {
232
335
  get from(): vonage.FromJS;
233
336
  get body(): vonage.EventStateBodyJS;
234
337
  }
338
+ namespace MessageRejectedEventJS {
339
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
340
+ namespace $metadata$ {
341
+ const constructor: abstract new () => MessageRejectedEventJS;
342
+ }
343
+ }
235
344
  class MessageUndeliverableEventJS implements vonage.PersistentConversationEventJS, vonage.JSONBodyEventJS {
236
345
  private constructor();
237
346
  get kind(): string;
@@ -241,6 +350,12 @@ export declare namespace vonage {
241
350
  get from(): vonage.FromJS;
242
351
  get body(): vonage.EventStateBodyJS;
243
352
  }
353
+ namespace MessageUndeliverableEventJS {
354
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
355
+ namespace $metadata$ {
356
+ const constructor: abstract new () => MessageUndeliverableEventJS;
357
+ }
358
+ }
244
359
  class MessageSubmittedEventJS implements vonage.PersistentConversationEventJS, vonage.JSONBodyEventJS {
245
360
  private constructor();
246
361
  get kind(): string;
@@ -250,6 +365,12 @@ export declare namespace vonage {
250
365
  get from(): vonage.FromJS;
251
366
  get body(): vonage.EventStateBodyJS;
252
367
  }
368
+ namespace MessageSubmittedEventJS {
369
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
370
+ namespace $metadata$ {
371
+ const constructor: abstract new () => MessageSubmittedEventJS;
372
+ }
373
+ }
253
374
  class MessageSeenEventJS implements vonage.PersistentConversationEventJS, vonage.JSONBodyEventJS {
254
375
  private constructor();
255
376
  get kind(): string;
@@ -259,6 +380,12 @@ export declare namespace vonage {
259
380
  get from(): vonage.FromJS;
260
381
  get body(): vonage.EventStateBodyJS;
261
382
  }
383
+ namespace MessageSeenEventJS {
384
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
385
+ namespace $metadata$ {
386
+ const constructor: abstract new () => MessageSeenEventJS;
387
+ }
388
+ }
262
389
  }
263
390
  export declare namespace vonage {
264
391
  interface TemplateObjectJS {
@@ -292,11 +419,21 @@ export declare namespace vonage {
292
419
  get memberStatuses(): any;
293
420
  }
294
421
  namespace MessageTextEventJS {
422
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
423
+ namespace $metadata$ {
424
+ const constructor: abstract new () => MessageTextEventJS;
425
+ }
295
426
  class MessageTextEventBody implements vonage.MessageEventBodyJS {
296
427
  private constructor();
297
428
  get text(): string;
298
429
  get deleted(): Nullable<string>;
299
430
  }
431
+ namespace MessageTextEventBody {
432
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
433
+ namespace $metadata$ {
434
+ const constructor: abstract new () => MessageTextEventBody;
435
+ }
436
+ }
300
437
  }
301
438
  class MessageCustomEventJS implements vonage.MessageEventJS, vonage.PersistentConversationEventJS {
302
439
  private constructor();
@@ -309,11 +446,21 @@ export declare namespace vonage {
309
446
  get memberStatuses(): any;
310
447
  }
311
448
  namespace MessageCustomEventJS {
449
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
450
+ namespace $metadata$ {
451
+ const constructor: abstract new () => MessageCustomEventJS;
452
+ }
312
453
  class MessageCustomEventBody implements vonage.MessageEventBodyJS {
313
454
  private constructor();
314
455
  get customData(): any;
315
456
  get deleted(): Nullable<string>;
316
457
  }
458
+ namespace MessageCustomEventBody {
459
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
460
+ namespace $metadata$ {
461
+ const constructor: abstract new () => MessageCustomEventBody;
462
+ }
463
+ }
317
464
  }
318
465
  class MessageAudioEventJS implements vonage.MessageEventJS, vonage.PersistentConversationEventJS {
319
466
  private constructor();
@@ -326,11 +473,21 @@ export declare namespace vonage {
326
473
  get memberStatuses(): any;
327
474
  }
328
475
  namespace MessageAudioEventJS {
476
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
477
+ namespace $metadata$ {
478
+ const constructor: abstract new () => MessageAudioEventJS;
479
+ }
329
480
  class MessageAudioEventBody implements vonage.MessageEventBodyJS {
330
481
  private constructor();
331
482
  get audioUrl(): string;
332
483
  get deleted(): Nullable<string>;
333
484
  }
485
+ namespace MessageAudioEventBody {
486
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
487
+ namespace $metadata$ {
488
+ const constructor: abstract new () => MessageAudioEventBody;
489
+ }
490
+ }
334
491
  }
335
492
  class MessageVideoEventJS implements vonage.MessageEventJS, vonage.PersistentConversationEventJS {
336
493
  private constructor();
@@ -343,11 +500,21 @@ export declare namespace vonage {
343
500
  get memberStatuses(): any;
344
501
  }
345
502
  namespace MessageVideoEventJS {
503
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
504
+ namespace $metadata$ {
505
+ const constructor: abstract new () => MessageVideoEventJS;
506
+ }
346
507
  class MessageVideoEventBody implements vonage.MessageEventBodyJS {
347
508
  private constructor();
348
509
  get videoUrl(): string;
349
510
  get deleted(): Nullable<string>;
350
511
  }
512
+ namespace MessageVideoEventBody {
513
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
514
+ namespace $metadata$ {
515
+ const constructor: abstract new () => MessageVideoEventBody;
516
+ }
517
+ }
351
518
  }
352
519
  class MessageImageEventJS implements vonage.MessageEventJS, vonage.PersistentConversationEventJS {
353
520
  private constructor();
@@ -360,11 +527,21 @@ export declare namespace vonage {
360
527
  get memberStatuses(): any;
361
528
  }
362
529
  namespace MessageImageEventJS {
530
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
531
+ namespace $metadata$ {
532
+ const constructor: abstract new () => MessageImageEventJS;
533
+ }
363
534
  class MessageImageEventBody implements vonage.MessageEventBodyJS {
364
535
  private constructor();
365
536
  get imageUrl(): string;
366
537
  get deleted(): Nullable<string>;
367
538
  }
539
+ namespace MessageImageEventBody {
540
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
541
+ namespace $metadata$ {
542
+ const constructor: abstract new () => MessageImageEventBody;
543
+ }
544
+ }
368
545
  }
369
546
  class MessageFileEventJS implements vonage.MessageEventJS, vonage.PersistentConversationEventJS {
370
547
  private constructor();
@@ -377,11 +554,21 @@ export declare namespace vonage {
377
554
  get memberStatuses(): any;
378
555
  }
379
556
  namespace MessageFileEventJS {
557
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
558
+ namespace $metadata$ {
559
+ const constructor: abstract new () => MessageFileEventJS;
560
+ }
380
561
  class MessageFileEventBody implements vonage.MessageEventBodyJS {
381
562
  private constructor();
382
563
  get fileUrl(): string;
383
564
  get deleted(): Nullable<string>;
384
565
  }
566
+ namespace MessageFileEventBody {
567
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
568
+ namespace $metadata$ {
569
+ const constructor: abstract new () => MessageFileEventBody;
570
+ }
571
+ }
385
572
  }
386
573
  class MessageVCardEventJS implements vonage.MessageEventJS, vonage.PersistentConversationEventJS {
387
574
  private constructor();
@@ -394,11 +581,21 @@ export declare namespace vonage {
394
581
  get memberStatuses(): any;
395
582
  }
396
583
  namespace MessageVCardEventJS {
584
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
585
+ namespace $metadata$ {
586
+ const constructor: abstract new () => MessageVCardEventJS;
587
+ }
397
588
  class MessageVCardEventBody implements vonage.MessageEventBodyJS {
398
589
  private constructor();
399
590
  get vcardUrl(): string;
400
591
  get deleted(): Nullable<string>;
401
592
  }
593
+ namespace MessageVCardEventBody {
594
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
595
+ namespace $metadata$ {
596
+ const constructor: abstract new () => MessageVCardEventBody;
597
+ }
598
+ }
402
599
  }
403
600
  class MessageLocationEventJS implements vonage.MessageEventJS, vonage.PersistentConversationEventJS {
404
601
  private constructor();
@@ -411,11 +608,21 @@ export declare namespace vonage {
411
608
  get memberStatuses(): any;
412
609
  }
413
610
  namespace MessageLocationEventJS {
611
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
612
+ namespace $metadata$ {
613
+ const constructor: abstract new () => MessageLocationEventJS;
614
+ }
414
615
  class MessageLocationEventBody implements vonage.MessageEventBodyJS {
415
616
  private constructor();
416
617
  get location(): vonage.MessageLocationEventJS.Location;
417
618
  get deleted(): Nullable<string>;
418
619
  }
620
+ namespace MessageLocationEventBody {
621
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
622
+ namespace $metadata$ {
623
+ const constructor: abstract new () => MessageLocationEventBody;
624
+ }
625
+ }
419
626
  class Location {
420
627
  private constructor();
421
628
  get longitude(): string;
@@ -423,6 +630,12 @@ export declare namespace vonage {
423
630
  get name(): Nullable<string>;
424
631
  get address(): Nullable<string>;
425
632
  }
633
+ namespace Location {
634
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
635
+ namespace $metadata$ {
636
+ const constructor: abstract new () => Location;
637
+ }
638
+ }
426
639
  }
427
640
  class MessageTemplateEventJS implements vonage.MessageEventJS, vonage.PersistentConversationEventJS {
428
641
  private constructor();
@@ -435,27 +648,47 @@ export declare namespace vonage {
435
648
  get body(): vonage.MessageTemplateEventJS.MessageTemplateEventBody;
436
649
  }
437
650
  namespace MessageTemplateEventJS {
651
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
652
+ namespace $metadata$ {
653
+ const constructor: abstract new () => MessageTemplateEventJS;
654
+ }
438
655
  class MessageTemplateEventBody implements vonage.MessageEventBodyJS {
439
656
  private constructor();
440
- get body(): any/* com.vonage.clientcore.core.api.models.MessageTemplateEvent.Body */;
441
657
  get template(): vonage.MessageTemplateEventJS.TemplateObject;
442
658
  get whatsapp(): vonage.MessageTemplateEventJS.WhatsappObject;
443
659
  get deleted(): Nullable<string>;
444
- copy(body?: any/* com.vonage.clientcore.core.api.models.MessageTemplateEvent.Body */): vonage.MessageTemplateEventJS.MessageTemplateEventBody;
445
660
  toString(): string;
446
661
  hashCode(): number;
447
662
  equals(other: Nullable<any>): boolean;
448
663
  }
664
+ namespace MessageTemplateEventBody {
665
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
666
+ namespace $metadata$ {
667
+ const constructor: abstract new () => MessageTemplateEventBody;
668
+ }
669
+ }
449
670
  class TemplateObject {
450
671
  private constructor();
451
672
  get name(): string;
452
673
  get parameters(): Nullable<Array<string>>;
453
674
  }
675
+ namespace TemplateObject {
676
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
677
+ namespace $metadata$ {
678
+ const constructor: abstract new () => TemplateObject;
679
+ }
680
+ }
454
681
  class WhatsappObject {
455
682
  private constructor();
456
683
  get policy(): string;
457
684
  get locale(): string;
458
685
  }
686
+ namespace WhatsappObject {
687
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
688
+ namespace $metadata$ {
689
+ const constructor: abstract new () => WhatsappObject;
690
+ }
691
+ }
459
692
  }
460
693
  }
461
694
  export declare namespace vonage {
@@ -475,6 +708,12 @@ export declare namespace vonage {
475
708
  static values(): Array<vonage.PresentingOrderJS>;
476
709
  static valueOf(value: string): vonage.PresentingOrderJS;
477
710
  }
711
+ namespace PresentingOrderJS {
712
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
713
+ namespace $metadata$ {
714
+ const constructor: abstract new () => PresentingOrderJS;
715
+ }
716
+ }
478
717
  abstract class OrderByJS {
479
718
  private constructor();
480
719
  static get CREATED(): vonage.OrderByJS & {
@@ -491,6 +730,12 @@ export declare namespace vonage {
491
730
  static values(): Array<vonage.OrderByJS>;
492
731
  static valueOf(value: string): vonage.OrderByJS;
493
732
  }
733
+ namespace OrderByJS {
734
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
735
+ namespace $metadata$ {
736
+ const constructor: abstract new () => OrderByJS;
737
+ }
738
+ }
494
739
  class ConversationJS {
495
740
  private constructor();
496
741
  get id(): string;
@@ -504,33 +749,64 @@ export declare namespace vonage {
504
749
  get properties(): vonage.ConversationJS.Properties;
505
750
  }
506
751
  namespace ConversationJS {
752
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
753
+ namespace $metadata$ {
754
+ const constructor: abstract new () => ConversationJS;
755
+ }
507
756
  class Properties {
508
757
  private constructor();
509
758
  get ttl(): Nullable<number>;
510
759
  get customSortKey(): Nullable<string>;
511
760
  get customData(): any;
512
761
  }
762
+ namespace Properties {
763
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
764
+ namespace $metadata$ {
765
+ const constructor: abstract new () => Properties;
766
+ }
767
+ }
768
+ }
769
+ abstract class ConversationStateJS extends KtSingleton<ConversationStateJS.$metadata$.constructor>() {
770
+ private constructor();
771
+ }
772
+ namespace ConversationStateJS {
773
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
774
+ namespace $metadata$ {
775
+ abstract class constructor {
776
+ get ACTIVE(): string;
777
+ get INACTIVE(): string;
778
+ get DELETED(): string;
779
+ toString(): string;
780
+ hashCode(): number;
781
+ equals(other: Nullable<any>): boolean;
782
+ private constructor();
783
+ }
784
+ }
513
785
  }
514
- const ConversationStateJS: {
515
- get ACTIVE(): string;
516
- get INACTIVE(): string;
517
- get DELETED(): string;
518
- toString(): string;
519
- hashCode(): number;
520
- equals(other: Nullable<any>): boolean;
521
- };
522
786
  class ConversationTimestampJS {
523
787
  private constructor();
524
788
  get created(): Nullable<string>;
525
789
  get updated(): Nullable<string>;
526
790
  get destroyed(): Nullable<string>;
527
791
  }
792
+ namespace ConversationTimestampJS {
793
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
794
+ namespace $metadata$ {
795
+ const constructor: abstract new () => ConversationTimestampJS;
796
+ }
797
+ }
528
798
  class ConversationsPageJS {
529
799
  private constructor();
530
800
  get conversations(): Array<vonage.ConversationJS>;
531
801
  get previousCursor(): Nullable<string>;
532
802
  get nextCursor(): Nullable<string>;
533
803
  }
804
+ namespace ConversationsPageJS {
805
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
806
+ namespace $metadata$ {
807
+ const constructor: abstract new () => ConversationsPageJS;
808
+ }
809
+ }
534
810
  class MemberJS {
535
811
  private constructor();
536
812
  get id(): string;
@@ -539,27 +815,54 @@ export declare namespace vonage {
539
815
  get channel(): Nullable<vonage.MemberChannelJS>;
540
816
  get timestamp(): Nullable<vonage.MemberTimestampJS>;
541
817
  }
542
- const MemberStateJSObj: {
543
- get INVITED(): string;
544
- get JOINED(): string;
545
- get LEFT(): string;
546
- get UNKNOWN(): string;
547
- toString(): string;
548
- hashCode(): number;
549
- equals(other: Nullable<any>): boolean;
550
- };
818
+ namespace MemberJS {
819
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
820
+ namespace $metadata$ {
821
+ const constructor: abstract new () => MemberJS;
822
+ }
823
+ }
824
+ abstract class MemberStateJSObj extends KtSingleton<MemberStateJSObj.$metadata$.constructor>() {
825
+ private constructor();
826
+ }
827
+ namespace MemberStateJSObj {
828
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
829
+ namespace $metadata$ {
830
+ abstract class constructor {
831
+ get INVITED(): string;
832
+ get JOINED(): string;
833
+ get LEFT(): string;
834
+ get UNKNOWN(): string;
835
+ toString(): string;
836
+ hashCode(): number;
837
+ equals(other: Nullable<any>): boolean;
838
+ private constructor();
839
+ }
840
+ }
841
+ }
551
842
  class MemberTimestampJS {
552
843
  private constructor();
553
844
  get invited(): Nullable<string>;
554
845
  get joined(): Nullable<string>;
555
846
  get left(): Nullable<string>;
556
847
  }
848
+ namespace MemberTimestampJS {
849
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
850
+ namespace $metadata$ {
851
+ const constructor: abstract new () => MemberTimestampJS;
852
+ }
853
+ }
557
854
  class MembersPageJS {
558
855
  private constructor();
559
856
  get members(): Array<vonage.MemberJS>;
560
857
  get previousCursor(): Nullable<string>;
561
858
  get nextCursor(): Nullable<string>;
562
859
  }
860
+ namespace MembersPageJS {
861
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
862
+ namespace $metadata$ {
863
+ const constructor: abstract new () => MembersPageJS;
864
+ }
865
+ }
563
866
  class UserJS {
564
867
  private constructor();
565
868
  get id(): string;
@@ -570,12 +873,24 @@ export declare namespace vonage {
570
873
  get imageUrl(): Nullable<string>;
571
874
  get customData(): any;
572
875
  }
876
+ namespace UserJS {
877
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
878
+ namespace $metadata$ {
879
+ const constructor: abstract new () => UserJS;
880
+ }
881
+ }
573
882
  class UserTimestampJS {
574
883
  private constructor();
575
884
  get created(): Nullable<string>;
576
885
  get updated(): Nullable<string>;
577
886
  get destroyed(): Nullable<string>;
578
887
  }
888
+ namespace UserTimestampJS {
889
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
890
+ namespace $metadata$ {
891
+ const constructor: abstract new () => UserTimestampJS;
892
+ }
893
+ }
579
894
  class UserChannelsJS {
580
895
  private constructor();
581
896
  get app(): Nullable<Array<vonage.ChannelJS>>;
@@ -590,23 +905,47 @@ export declare namespace vonage {
590
905
  get viber(): Nullable<Array<vonage.ChannelJS>>;
591
906
  get messenger(): Nullable<Array<vonage.ChannelJS>>;
592
907
  }
908
+ namespace UserChannelsJS {
909
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
910
+ namespace $metadata$ {
911
+ const constructor: abstract new () => UserChannelsJS;
912
+ }
913
+ }
593
914
  class MemberChannelJS {
594
915
  private constructor();
595
916
  get type(): string;
596
917
  get from(): Nullable<vonage.ChannelJS>;
597
918
  get to(): Nullable<vonage.ChannelJS>;
598
919
  }
920
+ namespace MemberChannelJS {
921
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
922
+ namespace $metadata$ {
923
+ const constructor: abstract new () => MemberChannelJS;
924
+ }
925
+ }
599
926
  class ChannelJS {
600
927
  private constructor();
601
928
  get id(): Nullable<string>;
602
929
  get number(): Nullable<string>;
603
930
  }
931
+ namespace ChannelJS {
932
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
933
+ namespace $metadata$ {
934
+ const constructor: abstract new () => ChannelJS;
935
+ }
936
+ }
604
937
  class LegChannelJS {
605
938
  private constructor();
606
939
  get type(): Nullable<string>;
607
940
  get user(): Nullable<string>;
608
941
  get number(): Nullable<string>;
609
942
  }
943
+ namespace LegChannelJS {
944
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
945
+ namespace $metadata$ {
946
+ const constructor: abstract new () => LegChannelJS;
947
+ }
948
+ }
610
949
  class MediaStateJS {
611
950
  private constructor();
612
951
  get mute(): Nullable<boolean>;
@@ -616,6 +955,12 @@ export declare namespace vonage {
616
955
  get transcribing(): Nullable<boolean>;
617
956
  get tts(): Nullable<boolean>;
618
957
  }
958
+ namespace MediaStateJS {
959
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
960
+ namespace $metadata$ {
961
+ const constructor: abstract new () => MediaStateJS;
962
+ }
963
+ }
619
964
  class LegJS {
620
965
  private constructor();
621
966
  get id(): string;
@@ -629,82 +974,145 @@ export declare namespace vonage {
629
974
  get to(): vonage.LegChannelJS;
630
975
  get mediaState(): Nullable<vonage.MediaStateJS>;
631
976
  }
977
+ namespace LegJS {
978
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
979
+ namespace $metadata$ {
980
+ const constructor: abstract new () => LegJS;
981
+ }
982
+ }
632
983
  class LegsPageJS {
633
984
  private constructor();
634
985
  get legs(): Array<vonage.LegJS>;
635
986
  get previousCursor(): Nullable<string>;
636
987
  get nextCursor(): Nullable<string>;
637
988
  }
638
- const ChannelTypeObj: {
639
- get APP(): string;
640
- get PHONE(): string;
641
- get PSTN(): string;
642
- get SIP(): string;
643
- get VBC(): string;
644
- get WEBSOCKET(): string;
645
- get SMS(): string;
646
- get MMS(): string;
647
- get WHATSAPP(): string;
648
- get VIBER(): string;
649
- get MESSENGER(): string;
650
- toString(): string;
651
- hashCode(): number;
652
- equals(other: Nullable<any>): boolean;
653
- };
989
+ namespace LegsPageJS {
990
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
991
+ namespace $metadata$ {
992
+ const constructor: abstract new () => LegsPageJS;
993
+ }
994
+ }
995
+ abstract class ChannelTypeObj extends KtSingleton<ChannelTypeObj.$metadata$.constructor>() {
996
+ private constructor();
997
+ }
998
+ namespace ChannelTypeObj {
999
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1000
+ namespace $metadata$ {
1001
+ abstract class constructor {
1002
+ get APP(): string;
1003
+ get PHONE(): string;
1004
+ get PSTN(): string;
1005
+ get SIP(): string;
1006
+ get VBC(): string;
1007
+ get WEBSOCKET(): string;
1008
+ get SMS(): string;
1009
+ get MMS(): string;
1010
+ get WHATSAPP(): string;
1011
+ get VIBER(): string;
1012
+ get MESSENGER(): string;
1013
+ toString(): string;
1014
+ hashCode(): number;
1015
+ equals(other: Nullable<any>): boolean;
1016
+ private constructor();
1017
+ }
1018
+ }
1019
+ }
654
1020
  }
655
1021
  export declare namespace vonage {
656
- const CSErrorCodesJS: {
657
- get CONVERSATION_DUPLICATE_NAME(): string;
658
- get MEMBER_ALREADY_JOINED(): string;
659
- get MEMBER_ALREADY_INVITED(): string;
660
- get CONVERSATION_NOT_FOUND(): string;
661
- get MEMBER_NOT_FOUND(): string;
662
- get USER_NOT_FOUND(): string;
663
- get INVALID_CURSOR(): string;
664
- get VALIDATION_FAIL(): string;
665
- get CONVERSATION_MAX_NUMBER_OF_MEMBERS(): string;
666
- get CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED(): string;
667
- };
668
- const SessionErrorCodesJS: {
669
- get EMPTY_TOKEN(): string;
670
- get FORCED_DISCONNECT(): string;
671
- get TIMEOUT(): string;
672
- get INTERNAL_FAILURE(): string;
673
- get NO_ACTIVE_SESSION(): string;
674
- get ALREADY_ACTIVE_SESSION(): string;
675
- get INVALID_TOKEN(): string;
676
- get EXPIRED_TOKEN(): string;
677
- get INVALID_USER(): string;
678
- get AUTHORIZATION_ERROR(): string;
679
- get INVALID_SESSION(): string;
680
- get MAX_OPEN_SESSIONS(): string;
681
- get INVALID_SOCKET_TRANSPORT(): string;
682
- get CLIENT_DISCONNECT(): string;
683
- get PING_TIMEOUT_DISCONNECT(): string;
684
- get TRANSPORT_CLOSED_DISCONNECT(): string;
685
- };
1022
+ abstract class CSErrorCodesJS extends KtSingleton<CSErrorCodesJS.$metadata$.constructor>() {
1023
+ private constructor();
1024
+ }
1025
+ namespace CSErrorCodesJS {
1026
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1027
+ namespace $metadata$ {
1028
+ abstract class constructor {
1029
+ get CONVERSATION_DUPLICATE_NAME(): string;
1030
+ get MEMBER_ALREADY_JOINED(): string;
1031
+ get MEMBER_ALREADY_INVITED(): string;
1032
+ get CONVERSATION_NOT_FOUND(): string;
1033
+ get MEMBER_NOT_FOUND(): string;
1034
+ get USER_NOT_FOUND(): string;
1035
+ get INVALID_CURSOR(): string;
1036
+ get VALIDATION_FAIL(): string;
1037
+ get CONVERSATION_MAX_NUMBER_OF_MEMBERS(): string;
1038
+ get CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED(): string;
1039
+ private constructor();
1040
+ }
1041
+ }
1042
+ }
1043
+ abstract class SessionErrorCodesJS extends KtSingleton<SessionErrorCodesJS.$metadata$.constructor>() {
1044
+ private constructor();
1045
+ }
1046
+ namespace SessionErrorCodesJS {
1047
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1048
+ namespace $metadata$ {
1049
+ abstract class constructor {
1050
+ get EMPTY_TOKEN(): string;
1051
+ get FORCED_DISCONNECT(): string;
1052
+ get TIMEOUT(): string;
1053
+ get INTERNAL_FAILURE(): string;
1054
+ get NO_ACTIVE_SESSION(): string;
1055
+ get ALREADY_ACTIVE_SESSION(): string;
1056
+ get INVALID_TOKEN(): string;
1057
+ get EXPIRED_TOKEN(): string;
1058
+ get INVALID_USER(): string;
1059
+ get AUTHORIZATION_ERROR(): string;
1060
+ get INVALID_SESSION(): string;
1061
+ get MAX_OPEN_SESSIONS(): string;
1062
+ get INVALID_SOCKET_TRANSPORT(): string;
1063
+ get CLIENT_DISCONNECT(): string;
1064
+ get PING_TIMEOUT_DISCONNECT(): string;
1065
+ get TRANSPORT_CLOSED_DISCONNECT(): string;
1066
+ private constructor();
1067
+ }
1068
+ }
1069
+ }
686
1070
  }
687
1071
  export declare namespace vonage {
688
1072
  class VonageErrorJS extends Error {
689
1073
  private constructor();
690
1074
  get type(): string;
691
1075
  get code(): Nullable<string>;
1076
+ get source(): Nullable<string>;
1077
+ get isRetriable(): boolean;
1078
+ get retryAfter(): Nullable<number>;
692
1079
  get kmpCause(): Nullable<Error>;
693
1080
  }
694
- const VonageErrorTypeJsObject: {
695
- get CS_ERROR(): string;
696
- get NETWORK_ERROR(): string;
697
- get SESSION_ERROR(): string;
698
- get INTERNAL_ERROR(): string;
699
- get UNKNOWN_ERROR(): string;
700
- toString(): string;
701
- hashCode(): number;
702
- equals(other: Nullable<any>): boolean;
703
- };
1081
+ namespace VonageErrorJS {
1082
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1083
+ namespace $metadata$ {
1084
+ const constructor: abstract new () => VonageErrorJS;
1085
+ }
1086
+ }
1087
+ abstract class VonageErrorTypeJsObject extends KtSingleton<VonageErrorTypeJsObject.$metadata$.constructor>() {
1088
+ private constructor();
1089
+ }
1090
+ namespace VonageErrorTypeJsObject {
1091
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1092
+ namespace $metadata$ {
1093
+ abstract class constructor {
1094
+ get CS_ERROR(): string;
1095
+ get NETWORK_ERROR(): string;
1096
+ get SESSION_ERROR(): string;
1097
+ get INTERNAL_ERROR(): string;
1098
+ get UNKNOWN_ERROR(): string;
1099
+ toString(): string;
1100
+ hashCode(): number;
1101
+ equals(other: Nullable<any>): boolean;
1102
+ private constructor();
1103
+ }
1104
+ }
1105
+ }
704
1106
  abstract class MediaClientErrorJS extends Error {
705
1107
  protected constructor();
706
1108
  }
707
- class PeerConnectionNotFoundJS extends vonage.MediaClientErrorJS {
1109
+ namespace MediaClientErrorJS {
1110
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1111
+ namespace $metadata$ {
1112
+ const constructor: abstract new () => MediaClientErrorJS;
1113
+ }
1114
+ }
1115
+ class PeerConnectionNotFoundJS extends vonage.MediaClientErrorJS.$metadata$.constructor {
708
1116
  constructor(legId: string);
709
1117
  get legId(): string;
710
1118
  copy(legId?: string): vonage.PeerConnectionNotFoundJS;
@@ -712,7 +1120,13 @@ export declare namespace vonage {
712
1120
  hashCode(): number;
713
1121
  equals(other: Nullable<any>): boolean;
714
1122
  }
715
- class TrackNotFoundJS extends vonage.MediaClientErrorJS {
1123
+ namespace PeerConnectionNotFoundJS {
1124
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1125
+ namespace $metadata$ {
1126
+ const constructor: abstract new () => PeerConnectionNotFoundJS;
1127
+ }
1128
+ }
1129
+ class TrackNotFoundJS extends vonage.MediaClientErrorJS.$metadata$.constructor {
716
1130
  constructor(legId: string);
717
1131
  get legId(): string;
718
1132
  copy(legId?: string): vonage.TrackNotFoundJS;
@@ -720,7 +1134,13 @@ export declare namespace vonage {
720
1134
  hashCode(): number;
721
1135
  equals(other: Nullable<any>): boolean;
722
1136
  }
723
- class ProcessAnswerErrorJS extends vonage.MediaClientErrorJS {
1137
+ namespace TrackNotFoundJS {
1138
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1139
+ namespace $metadata$ {
1140
+ const constructor: abstract new () => TrackNotFoundJS;
1141
+ }
1142
+ }
1143
+ class ProcessAnswerErrorJS extends vonage.MediaClientErrorJS.$metadata$.constructor {
724
1144
  constructor(legId: string, message?: Nullable<string>);
725
1145
  get legId(): string;
726
1146
  copy(legId?: string, message?: Nullable<string>): vonage.ProcessAnswerErrorJS;
@@ -728,20 +1148,38 @@ export declare namespace vonage {
728
1148
  hashCode(): number;
729
1149
  equals(other: Nullable<any>): boolean;
730
1150
  }
731
- class CreateAnswerErrorJS extends vonage.MediaClientErrorJS {
1151
+ namespace ProcessAnswerErrorJS {
1152
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1153
+ namespace $metadata$ {
1154
+ const constructor: abstract new () => ProcessAnswerErrorJS;
1155
+ }
1156
+ }
1157
+ class CreateAnswerErrorJS extends vonage.MediaClientErrorJS.$metadata$.constructor {
732
1158
  constructor(message?: Nullable<string>);
733
1159
  copy(message?: Nullable<string>): vonage.CreateAnswerErrorJS;
734
1160
  toString(): string;
735
1161
  hashCode(): number;
736
1162
  equals(other: Nullable<any>): boolean;
737
1163
  }
738
- class CreateOfferErrorJS extends vonage.MediaClientErrorJS {
1164
+ namespace CreateAnswerErrorJS {
1165
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1166
+ namespace $metadata$ {
1167
+ const constructor: abstract new () => CreateAnswerErrorJS;
1168
+ }
1169
+ }
1170
+ class CreateOfferErrorJS extends vonage.MediaClientErrorJS.$metadata$.constructor {
739
1171
  constructor(message?: Nullable<string>);
740
1172
  copy(message?: Nullable<string>): vonage.CreateOfferErrorJS;
741
1173
  toString(): string;
742
1174
  hashCode(): number;
743
1175
  equals(other: Nullable<any>): boolean;
744
1176
  }
1177
+ namespace CreateOfferErrorJS {
1178
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1179
+ namespace $metadata$ {
1180
+ const constructor: abstract new () => CreateOfferErrorJS;
1181
+ }
1182
+ }
745
1183
  }
746
1184
  export declare namespace vonage {
747
1185
  interface ChatEvents extends vonage.CoreClientEvents {
@@ -829,6 +1267,12 @@ export declare namespace vonage {
829
1267
  static values(): Array<vonage.CoreClientConfigRegionJS>;
830
1268
  static valueOf(value: string): vonage.CoreClientConfigRegionJS;
831
1269
  }
1270
+ namespace CoreClientConfigRegionJS {
1271
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1272
+ namespace $metadata$ {
1273
+ const constructor: abstract new () => CoreClientConfigRegionJS;
1274
+ }
1275
+ }
832
1276
  class CoreClientConfigJS implements vonage.ConfigObjectJS {
833
1277
  constructor(region?: vonage.CoreClientConfigRegionJS);
834
1278
  get region(): vonage.CoreClientConfigRegionJS;
@@ -846,6 +1290,12 @@ export declare namespace vonage {
846
1290
  get emergencyPrimaryRegion(): string;
847
1291
  get emergencySecondaryRegion(): string;
848
1292
  }
1293
+ namespace CoreClientConfigJS {
1294
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1295
+ namespace $metadata$ {
1296
+ const constructor: abstract new () => CoreClientConfigJS;
1297
+ }
1298
+ }
849
1299
  class TopicJS {
850
1300
  constructor(name: string, tag: string);
851
1301
  get name(): string;
@@ -855,6 +1305,12 @@ export declare namespace vonage {
855
1305
  hashCode(): number;
856
1306
  equals(other: Nullable<any>): boolean;
857
1307
  }
1308
+ namespace TopicJS {
1309
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1310
+ namespace $metadata$ {
1311
+ const constructor: abstract new () => TopicJS;
1312
+ }
1313
+ }
858
1314
  abstract class Topics {
859
1315
  private constructor();
860
1316
  static get HTTP(): vonage.Topics & {
@@ -894,6 +1350,12 @@ export declare namespace vonage {
894
1350
  static values(): Array<vonage.Topics>;
895
1351
  static valueOf(value: string): vonage.Topics;
896
1352
  }
1353
+ namespace Topics {
1354
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1355
+ namespace $metadata$ {
1356
+ const constructor: abstract new () => Topics;
1357
+ }
1358
+ }
897
1359
  function createVonageLoggerJS(name: string, minLogLevel: vonage.LoggingLevelJS | undefined, topics: Array<vonage.Topics> | undefined, onLog: (p0: string, p1: vonage.TopicJS, p2: string) => void): vonage.VonageLoggerJS;
898
1360
  abstract class LoggingLevelJS {
899
1361
  private constructor();
@@ -926,14 +1388,29 @@ export declare namespace vonage {
926
1388
  static values(): Array<vonage.LoggingLevelJS>;
927
1389
  static valueOf(value: string): vonage.LoggingLevelJS;
928
1390
  }
929
- const SessionErrorReasonJsObject: {
930
- get EXPIRED_TOKEN(): string;
931
- get TRANSPORT_CLOSED(): string;
932
- get PING_TIMEOUT(): string;
933
- toString(): string;
934
- hashCode(): number;
935
- equals(other: Nullable<any>): boolean;
936
- };
1391
+ namespace LoggingLevelJS {
1392
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1393
+ namespace $metadata$ {
1394
+ const constructor: abstract new () => LoggingLevelJS;
1395
+ }
1396
+ }
1397
+ abstract class SessionErrorReasonJsObject extends KtSingleton<SessionErrorReasonJsObject.$metadata$.constructor>() {
1398
+ private constructor();
1399
+ }
1400
+ namespace SessionErrorReasonJsObject {
1401
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1402
+ namespace $metadata$ {
1403
+ abstract class constructor {
1404
+ get EXPIRED_TOKEN(): string;
1405
+ get TRANSPORT_CLOSED(): string;
1406
+ get PING_TIMEOUT(): string;
1407
+ toString(): string;
1408
+ hashCode(): number;
1409
+ equals(other: Nullable<any>): boolean;
1410
+ private constructor();
1411
+ }
1412
+ }
1413
+ }
937
1414
  interface ICoreClientJS {
938
1415
  readonly core: any/* com.vonage.clientcore.core.CoreClient */;
939
1416
  createSession(token: string, sessionId: Nullable<string>): Promise<string>;
@@ -969,30 +1446,57 @@ export declare namespace vonage {
969
1446
  }
970
1447
  }
971
1448
  export declare namespace vonage {
972
- const LegStatusJSObject: {
973
- get RINGING(): string;
974
- get ANSWERED(): string;
975
- get COMPLETED(): string;
976
- toString(): string;
977
- hashCode(): number;
978
- equals(other: Nullable<any>): boolean;
979
- };
980
- const CallDisconnectReasonJSObject: {
981
- get NetworkChange(): string;
982
- toString(): string;
983
- hashCode(): number;
984
- equals(other: Nullable<any>): boolean;
985
- };
986
- const HangupReasonJSObject: {
987
- get REMOTE_HANGUP(): string;
988
- get REMOTE_REJECT(): string;
989
- get REMOTE_NO_ANSWER_TIMEOUT(): string;
990
- get LOCAL_HANGUP(): string;
991
- get MEDIA_TIMEOUT(): string;
992
- toString(): string;
993
- hashCode(): number;
994
- equals(other: Nullable<any>): boolean;
995
- };
1449
+ abstract class LegStatusJSObject extends KtSingleton<LegStatusJSObject.$metadata$.constructor>() {
1450
+ private constructor();
1451
+ }
1452
+ namespace LegStatusJSObject {
1453
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1454
+ namespace $metadata$ {
1455
+ abstract class constructor {
1456
+ get RINGING(): string;
1457
+ get ANSWERED(): string;
1458
+ get COMPLETED(): string;
1459
+ toString(): string;
1460
+ hashCode(): number;
1461
+ equals(other: Nullable<any>): boolean;
1462
+ private constructor();
1463
+ }
1464
+ }
1465
+ }
1466
+ abstract class CallDisconnectReasonJSObject extends KtSingleton<CallDisconnectReasonJSObject.$metadata$.constructor>() {
1467
+ private constructor();
1468
+ }
1469
+ namespace CallDisconnectReasonJSObject {
1470
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1471
+ namespace $metadata$ {
1472
+ abstract class constructor {
1473
+ get NetworkChange(): string;
1474
+ toString(): string;
1475
+ hashCode(): number;
1476
+ equals(other: Nullable<any>): boolean;
1477
+ private constructor();
1478
+ }
1479
+ }
1480
+ }
1481
+ abstract class HangupReasonJSObject extends KtSingleton<HangupReasonJSObject.$metadata$.constructor>() {
1482
+ private constructor();
1483
+ }
1484
+ namespace HangupReasonJSObject {
1485
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1486
+ namespace $metadata$ {
1487
+ abstract class constructor {
1488
+ get REMOTE_HANGUP(): string;
1489
+ get REMOTE_REJECT(): string;
1490
+ get REMOTE_NO_ANSWER_TIMEOUT(): string;
1491
+ get LOCAL_HANGUP(): string;
1492
+ get MEDIA_TIMEOUT(): string;
1493
+ toString(): string;
1494
+ hashCode(): number;
1495
+ equals(other: Nullable<any>): boolean;
1496
+ private constructor();
1497
+ }
1498
+ }
1499
+ }
996
1500
  interface IVoiceClientJS extends vonage.ICoreClientJS {
997
1501
  readonly media: vonage.MediaClientJS;
998
1502
  readonly core: any/* com.vonage.clientcore.core.CoreClientWithMedia */;
@@ -1027,6 +1531,12 @@ export declare namespace vonage {
1027
1531
  hashCode(): number;
1028
1532
  equals(other: Nullable<any>): boolean;
1029
1533
  }
1534
+ namespace VoiceInviteFromInfoJS {
1535
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1536
+ namespace $metadata$ {
1537
+ const constructor: abstract new () => VoiceInviteFromInfoJS;
1538
+ }
1539
+ }
1030
1540
  }
1031
1541
  export declare namespace vonage {
1032
1542
  interface HttpClientJS {
@@ -1076,12 +1586,18 @@ export declare namespace vonage {
1076
1586
  export declare namespace vonage {
1077
1587
  class HttpClientErrorJS extends Error {
1078
1588
  constructor(message?: Nullable<string>, cause?: Nullable<Error>);
1079
- get coreError(): any/* com.vonage.clientcore.core.middlewares.http.HTTPClientError */;
1589
+ get coreError(): Error/* com.vonage.clientcore.core.middlewares.http.HTTPClientError */;
1080
1590
  copy(message?: Nullable<string>, cause?: Nullable<Error>): vonage.HttpClientErrorJS;
1081
1591
  toString(): string;
1082
1592
  hashCode(): number;
1083
1593
  equals(other: Nullable<any>): boolean;
1084
1594
  }
1595
+ namespace HttpClientErrorJS {
1596
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1597
+ namespace $metadata$ {
1598
+ const constructor: abstract new () => HttpClientErrorJS;
1599
+ }
1600
+ }
1085
1601
  class HttpClientResponseJS {
1086
1602
  constructor(statusCode: number, body?: Nullable<string>, headers?: Nullable<Json>);
1087
1603
  get statusCode(): number;
@@ -1092,6 +1608,12 @@ export declare namespace vonage {
1092
1608
  hashCode(): number;
1093
1609
  equals(other: Nullable<any>): boolean;
1094
1610
  }
1611
+ namespace HttpClientResponseJS {
1612
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1613
+ namespace $metadata$ {
1614
+ const constructor: abstract new () => HttpClientResponseJS;
1615
+ }
1616
+ }
1095
1617
  const SOCKET_CONNECTED: string;
1096
1618
  const SOCKET_RECONNECTING: string;
1097
1619
  const SOCKET_DISCONNECTED: string;
@@ -1099,15 +1621,24 @@ export declare namespace vonage {
1099
1621
  const REASON_CLIENT_DISCONNECTED: string;
1100
1622
  const REASON_CLIENT_NETWORK_ERROR: string;
1101
1623
  const REASON_PING_TIMEOUT: string;
1102
- const CancelReasonJSObject: {
1103
- get RemoteCancel(): string;
1104
- get AnsweredElsewhere(): string;
1105
- get RejectedElsewhere(): string;
1106
- get RemoteTimeout(): string;
1107
- toString(): string;
1108
- hashCode(): number;
1109
- equals(other: Nullable<any>): boolean;
1110
- };
1624
+ abstract class CancelReasonJSObject extends KtSingleton<CancelReasonJSObject.$metadata$.constructor>() {
1625
+ private constructor();
1626
+ }
1627
+ namespace CancelReasonJSObject {
1628
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1629
+ namespace $metadata$ {
1630
+ abstract class constructor {
1631
+ get RemoteCancel(): string;
1632
+ get AnsweredElsewhere(): string;
1633
+ get RejectedElsewhere(): string;
1634
+ get RemoteTimeout(): string;
1635
+ toString(): string;
1636
+ hashCode(): number;
1637
+ equals(other: Nullable<any>): boolean;
1638
+ private constructor();
1639
+ }
1640
+ }
1641
+ }
1111
1642
  class RTCQualityJS {
1112
1643
  private constructor();
1113
1644
  get mos_score(): number;
@@ -1119,11 +1650,16 @@ export declare namespace vonage {
1119
1650
  get flaw_total(): number;
1120
1651
  get packet_cnt(): number;
1121
1652
  get packet_loss_perc(): number;
1122
- copy(mos_score?: number, quality_percentage?: number, jitter_min_var?: number, jitter_max_var?: number, jitter_loss_rate?: number, jitter_burst_rate?: number, flaw_total?: number, packet_cnt?: number, packet_loss_perc?: number): vonage.RTCQualityJS;
1123
1653
  toString(): string;
1124
1654
  hashCode(): number;
1125
1655
  equals(other: Nullable<any>): boolean;
1126
1656
  }
1657
+ namespace RTCQualityJS {
1658
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1659
+ namespace $metadata$ {
1660
+ const constructor: abstract new () => RTCQualityJS;
1661
+ }
1662
+ }
1127
1663
  class RTCStatsJS {
1128
1664
  constructor(audioRecvPackets: any/* kotlin.Number */, audioRecvPacketsLost: any/* kotlin.Number */, audioRecvBytes: any/* kotlin.Number */, audioRecvJitter: any/* kotlin.Number */, audioSentPackets: any/* kotlin.Number */, audioSentBytes: any/* kotlin.Number */, audioSentPacketsLost: any/* kotlin.Number */, audioRtt: any/* kotlin.Number */, audioSentJitter: any/* kotlin.Number */, echoReturnLoss: Nullable<any>/* Nullable<kotlin.Number> */, echoReturnLossEnhancement: Nullable<any>/* Nullable<kotlin.Number> */, audioLevel: any/* kotlin.Number */, totalAudioEnergy: any/* kotlin.Number */, totalSamplesSent: any/* kotlin.Number */, concealedSamples: any/* kotlin.Number */, concealmentEvents: any/* kotlin.Number */);
1129
1665
  get audioRecvPackets(): any/* kotlin.Number */;
@@ -1146,8 +1682,23 @@ export declare namespace vonage {
1146
1682
  toString(): string;
1147
1683
  hashCode(): number;
1148
1684
  equals(other: Nullable<any>): boolean;
1149
- static get Companion(): {
1150
- };
1685
+ }
1686
+ namespace RTCStatsJS {
1687
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1688
+ namespace $metadata$ {
1689
+ const constructor: abstract new () => RTCStatsJS;
1690
+ }
1691
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
1692
+ private constructor();
1693
+ }
1694
+ namespace Companion {
1695
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1696
+ namespace $metadata$ {
1697
+ abstract class constructor {
1698
+ private constructor();
1699
+ }
1700
+ }
1701
+ }
1151
1702
  }
1152
1703
  }
1153
1704
  export declare namespace vonage {
@@ -1222,6 +1773,12 @@ export declare namespace vonage.emergency {
1222
1773
  hashCode(): number;
1223
1774
  equals(other: Nullable<any>): boolean;
1224
1775
  }
1776
+ namespace EmergencyCallDataJS {
1777
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1778
+ namespace $metadata$ {
1779
+ const constructor: abstract new () => EmergencyCallDataJS;
1780
+ }
1781
+ }
1225
1782
  }
1226
1783
  export declare namespace vonage.utils {
1227
1784
  abstract class OptionJS<T> {
@@ -1235,15 +1792,22 @@ export declare namespace vonage.utils {
1235
1792
  unwrapOr(_default: T): T;
1236
1793
  equals(other: Nullable<any>): boolean;
1237
1794
  hashCode(): number;
1238
- static get Companion(): {
1239
- of<T>(value: Nullable<T>): vonage.utils.OptionJS<T>;
1240
- };
1241
1795
  }
1242
1796
  namespace OptionJS {
1243
- class None<T> extends vonage.utils.OptionJS<T> {
1797
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1798
+ namespace $metadata$ {
1799
+ const constructor: abstract new <T>() => OptionJS<T>;
1800
+ }
1801
+ class None<T> extends vonage.utils.OptionJS.$metadata$.constructor<T> {
1244
1802
  constructor();
1245
1803
  }
1246
- class Some<T> extends vonage.utils.OptionJS<T> {
1804
+ namespace None {
1805
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1806
+ namespace $metadata$ {
1807
+ const constructor: abstract new <T>() => None<T>;
1808
+ }
1809
+ }
1810
+ class Some<T> extends vonage.utils.OptionJS.$metadata$.constructor<T> {
1247
1811
  constructor(value: T);
1248
1812
  get value(): T;
1249
1813
  copy(value?: T): vonage.utils.OptionJS.Some<T>;
@@ -1251,6 +1815,24 @@ export declare namespace vonage.utils {
1251
1815
  hashCode(): number;
1252
1816
  equals(other: Nullable<any>): boolean;
1253
1817
  }
1818
+ namespace Some {
1819
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1820
+ namespace $metadata$ {
1821
+ const constructor: abstract new <T>() => Some<T>;
1822
+ }
1823
+ }
1824
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
1825
+ private constructor();
1826
+ }
1827
+ namespace Companion {
1828
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1829
+ namespace $metadata$ {
1830
+ abstract class constructor {
1831
+ of<T>(value: Nullable<T>): vonage.utils.OptionJS<T>;
1832
+ private constructor();
1833
+ }
1834
+ }
1835
+ }
1254
1836
  }
1255
1837
  }
1256
1838
  export as namespace clientsdk_clientcore_js;