@vonage/client-sdk 0.1.3-alpha.22 → 0.1.3-alpha.23

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.
@@ -23,19 +23,69 @@ export namespace vonage {
23
23
  }
24
24
  }
25
25
  export namespace vonage {
26
+ abstract class CoreClientConfigRegionJS {
27
+ private constructor();
28
+ get coreRegion(): any/* com.vonage.clientcore.core.api.ClientConfigRegion */;
29
+ static get AP(): vonage.CoreClientConfigRegionJS & {
30
+ get name(): "AP";
31
+ get ordinal(): 0;
32
+ };
33
+ static get EU(): vonage.CoreClientConfigRegionJS & {
34
+ get name(): "EU";
35
+ get ordinal(): 1;
36
+ };
37
+ static get US(): vonage.CoreClientConfigRegionJS & {
38
+ get name(): "US";
39
+ get ordinal(): 2;
40
+ };
41
+ static values(): Array<vonage.CoreClientConfigRegionJS>;
42
+ static valueOf(value: string): vonage.CoreClientConfigRegionJS;
43
+ get name(): "AP" | "EU" | "US";
44
+ get ordinal(): 0 | 1 | 2;
45
+ }
26
46
  class CoreClientConfigJS {
27
- constructor(region: string);
47
+ constructor(region: vonage.CoreClientConfigRegionJS);
28
48
  get apiUrl(): string;
29
49
  set apiUrl(value: string);
30
50
  get websocketUrl(): string;
31
51
  set websocketUrl(value: string);
32
52
  get websocketPath(): string;
33
53
  set websocketPath(value: string);
34
- get iceServerUrls(): Array<string>;
35
- set iceServerUrls(value: Array<string>);
36
54
  get autoMediaReoffer(): boolean;
37
55
  set autoMediaReoffer(value: boolean);
38
56
  }
57
+ abstract class LoggingLevelJS /* implements com.vonage.clientcore.core.api.ILoggingLevel */ {
58
+ private constructor();
59
+ static get Verbose(): vonage.LoggingLevelJS & {
60
+ get name(): "Verbose";
61
+ get ordinal(): 0;
62
+ };
63
+ static get Debug(): vonage.LoggingLevelJS & {
64
+ get name(): "Debug";
65
+ get ordinal(): 1;
66
+ };
67
+ static get Info(): vonage.LoggingLevelJS & {
68
+ get name(): "Info";
69
+ get ordinal(): 2;
70
+ };
71
+ static get Warn(): vonage.LoggingLevelJS & {
72
+ get name(): "Warn";
73
+ get ordinal(): 3;
74
+ };
75
+ static get Error(): vonage.LoggingLevelJS & {
76
+ get name(): "Error";
77
+ get ordinal(): 4;
78
+ };
79
+ static get Assert(): vonage.LoggingLevelJS & {
80
+ get name(): "Assert";
81
+ get ordinal(): 5;
82
+ };
83
+ static values(): Array<vonage.LoggingLevelJS>;
84
+ static valueOf(value: string): vonage.LoggingLevelJS;
85
+ get name(): "Verbose" | "Debug" | "Info" | "Warn" | "Error" | "Assert";
86
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
87
+ }
88
+ function setDefaultLoggingLevel(level: vonage.LoggingLevelJS): void;
39
89
  class CoreClientJS {
40
90
  constructor(http: vonage.HttpClientJS, socket: vonage.SocketClientJS, media: vonage.MediaClientJS);
41
91
  get emitter(): Nullable<vonage.CoreClientEvents>;