@fonoster/sdk 0.27.0 → 0.31.0
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.
- package/README.md +12 -9
- package/dist/node/Agents.js +5 -20
- package/dist/node/Applications.d.ts +21 -85
- package/dist/node/Applications.js +64 -74
- package/dist/node/Billing.d.ts +50 -0
- package/dist/node/Billing.js +84 -0
- package/dist/node/CallRecords.d.ts +92 -0
- package/dist/node/CallRecords.js +127 -0
- package/dist/node/Calls.d.ts +3 -1
- package/dist/node/Calls.js +3 -1
- package/dist/node/Domains.js +4 -2
- package/dist/node/Numbers.js +2 -7
- package/dist/node/Providers.d.ts +49 -0
- package/dist/node/Providers.js +109 -0
- package/dist/node/Regions.d.ts +91 -0
- package/dist/node/Regions.js +127 -0
- package/dist/node/Usage.d.ts +44 -0
- package/dist/node/Usage.js +41 -0
- package/dist/node/Users.d.ts +4 -2
- package/dist/node/Users.js +4 -2
- package/dist/node/Webhooks.d.ts +56 -0
- package/dist/node/Webhooks.js +139 -0
- package/dist/node/Workspaces.d.ts +22 -3
- package/dist/node/Workspaces.js +29 -2
- package/dist/node/client/AbstractClient.d.ts +94 -3
- package/dist/node/client/AbstractClient.js +101 -1
- package/dist/node/client/Client.d.ts +9 -0
- package/dist/node/client/Client.js +34 -1
- package/dist/node/client/jsonToObject.js +17 -0
- package/dist/node/client/objectToJson.js +35 -0
- package/dist/node/client/types/ApplicationsClient.d.ts +2 -1
- package/dist/node/client/types/BillingClient.d.ts +28 -0
- package/dist/node/client/types/BillingClient.js +2 -0
- package/dist/node/client/types/CapabilitiesClient.d.ts +24 -0
- package/dist/node/client/types/CapabilitiesClient.js +2 -0
- package/dist/node/client/types/FonosterClient.d.ts +12 -0
- package/dist/node/client/types/IdentityClient.d.ts +3 -1
- package/dist/node/client/types/ProvidersClient.d.ts +28 -0
- package/dist/node/client/types/ProvidersClient.js +2 -0
- package/dist/node/client/types/UsageClient.d.ts +24 -0
- package/dist/node/client/types/UsageClient.js +2 -0
- package/dist/node/client/types/WebhooksClient.d.ts +31 -0
- package/dist/node/client/types/WebhooksClient.js +2 -0
- package/dist/node/client/types/index.d.ts +5 -0
- package/dist/node/client/types/index.js +5 -0
- package/dist/node/generated/node/applications_grpc_pb.js +34 -0
- package/dist/node/generated/node/applications_pb.js +2991 -178
- package/dist/node/generated/node/billing_grpc_pb.js +169 -0
- package/dist/node/generated/node/billing_pb.js +1720 -0
- package/dist/node/generated/node/calls_pb.js +62 -2
- package/dist/node/generated/node/capabilities_grpc_pb.js +66 -0
- package/dist/node/generated/node/capabilities_pb.js +2288 -0
- package/dist/node/generated/node/identity_grpc_pb.js +34 -0
- package/dist/node/generated/node/identity_pb.js +609 -5
- package/dist/node/generated/node/providers_grpc_pb.js +200 -0
- package/dist/node/generated/node/providers_pb.js +3094 -0
- package/dist/node/generated/node/usage_grpc_pb.js +64 -0
- package/dist/node/generated/node/usage_pb.js +866 -0
- package/dist/node/generated/node/webhooks_grpc_pb.js +302 -0
- package/dist/node/generated/node/webhooks_pb.js +3314 -0
- package/dist/node/generated/web/ApplicationsServiceClientPb.ts +43 -0
- package/dist/node/generated/web/BillingServiceClientPb.ts +258 -0
- package/dist/node/generated/web/CapabilitiesServiceClientPb.ts +87 -0
- package/dist/node/generated/web/IdentityServiceClientPb.ts +43 -0
- package/dist/node/generated/web/ProvidersServiceClientPb.ts +258 -0
- package/dist/node/generated/web/UsageServiceClientPb.ts +86 -0
- package/dist/node/generated/web/WebhooksServiceClientPb.ts +387 -0
- package/dist/node/generated/web/applications_pb.d.ts +343 -1
- package/dist/node/generated/web/applications_pb.js +2991 -178
- package/dist/node/generated/web/billing_pb.d.ts +210 -0
- package/dist/node/generated/web/billing_pb.js +1720 -0
- package/dist/node/generated/web/calls_pb.d.ts +8 -0
- package/dist/node/generated/web/calls_pb.js +62 -2
- package/dist/node/generated/web/capabilities_pb.d.ts +273 -0
- package/dist/node/generated/web/capabilities_pb.js +2288 -0
- package/dist/node/generated/web/identity_pb.d.ts +76 -0
- package/dist/node/generated/web/identity_pb.js +609 -5
- package/dist/node/generated/web/providers_pb.d.ts +372 -0
- package/dist/node/generated/web/providers_pb.js +3094 -0
- package/dist/node/generated/web/usage_pb.d.ts +106 -0
- package/dist/node/generated/web/usage_pb.js +866 -0
- package/dist/node/generated/web/webhooks_pb.d.ts +398 -0
- package/dist/node/generated/web/webhooks_pb.js +3314 -0
- package/dist/node/node.d.ts +7 -0
- package/dist/node/node.js +6 -0
- package/dist/node/tsconfig.tsbuildinfo +1 -1
- package/dist/node/utils.d.ts +7 -12
- package/dist/node/utils.js +18 -39
- package/dist/web/fonoster.min.js +1 -1
- package/dist/web/index.esm.js +1 -1
- package/package.json +8 -13
|
@@ -49,6 +49,9 @@ export class CallDetailRecord extends jspb.Message {
|
|
|
49
49
|
getAmdCause(): string;
|
|
50
50
|
setAmdCause(value: string): CallDetailRecord;
|
|
51
51
|
|
|
52
|
+
getAppRef(): string;
|
|
53
|
+
setAppRef(value: string): CallDetailRecord;
|
|
54
|
+
|
|
52
55
|
serializeBinary(): Uint8Array;
|
|
53
56
|
toObject(includeInstance?: boolean): CallDetailRecord.AsObject;
|
|
54
57
|
static toObject(includeInstance: boolean, msg: CallDetailRecord): CallDetailRecord.AsObject;
|
|
@@ -74,6 +77,7 @@ export namespace CallDetailRecord {
|
|
|
74
77
|
amdDetector: string,
|
|
75
78
|
amdLatencyMs: number,
|
|
76
79
|
amdCause: string,
|
|
80
|
+
appRef: string,
|
|
77
81
|
}
|
|
78
82
|
|
|
79
83
|
export enum AmdStatus {
|
|
@@ -165,6 +169,9 @@ export class ListCallsRequest extends jspb.Message {
|
|
|
165
169
|
getPageToken(): string;
|
|
166
170
|
setPageToken(value: string): ListCallsRequest;
|
|
167
171
|
|
|
172
|
+
getAppRef(): string;
|
|
173
|
+
setAppRef(value: string): ListCallsRequest;
|
|
174
|
+
|
|
168
175
|
serializeBinary(): Uint8Array;
|
|
169
176
|
toObject(includeInstance?: boolean): ListCallsRequest.AsObject;
|
|
170
177
|
static toObject(includeInstance: boolean, msg: ListCallsRequest): ListCallsRequest.AsObject;
|
|
@@ -183,6 +190,7 @@ export namespace ListCallsRequest {
|
|
|
183
190
|
to: string,
|
|
184
191
|
pageSize: number,
|
|
185
192
|
pageToken: string,
|
|
193
|
+
appRef: string,
|
|
186
194
|
}
|
|
187
195
|
}
|
|
188
196
|
|
|
@@ -250,7 +250,8 @@ amdStatus: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
|
250
250
|
amdConfidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
|
251
251
|
amdDetector: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
252
252
|
amdLatencyMs: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
253
|
-
amdCause: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
253
|
+
amdCause: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
254
|
+
appRef: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
254
255
|
};
|
|
255
256
|
|
|
256
257
|
if (includeInstance) {
|
|
@@ -347,6 +348,10 @@ proto.fonoster.calls.v1beta2.CallDetailRecord.deserializeBinaryFromReader = func
|
|
|
347
348
|
var value = /** @type {string} */ (reader.readString());
|
|
348
349
|
msg.setAmdCause(value);
|
|
349
350
|
break;
|
|
351
|
+
case 16:
|
|
352
|
+
var value = /** @type {string} */ (reader.readString());
|
|
353
|
+
msg.setAppRef(value);
|
|
354
|
+
break;
|
|
350
355
|
default:
|
|
351
356
|
reader.skipField();
|
|
352
357
|
break;
|
|
@@ -481,6 +486,13 @@ proto.fonoster.calls.v1beta2.CallDetailRecord.serializeBinaryToWriter = function
|
|
|
481
486
|
f
|
|
482
487
|
);
|
|
483
488
|
}
|
|
489
|
+
f = message.getAppRef();
|
|
490
|
+
if (f.length > 0) {
|
|
491
|
+
writer.writeString(
|
|
492
|
+
16,
|
|
493
|
+
f
|
|
494
|
+
);
|
|
495
|
+
}
|
|
484
496
|
};
|
|
485
497
|
|
|
486
498
|
|
|
@@ -766,6 +778,24 @@ proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.setAmdCause = function(v
|
|
|
766
778
|
};
|
|
767
779
|
|
|
768
780
|
|
|
781
|
+
/**
|
|
782
|
+
* optional string app_ref = 16;
|
|
783
|
+
* @return {string}
|
|
784
|
+
*/
|
|
785
|
+
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.getAppRef = function() {
|
|
786
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* @param {string} value
|
|
792
|
+
* @return {!proto.fonoster.calls.v1beta2.CallDetailRecord} returns this
|
|
793
|
+
*/
|
|
794
|
+
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.setAppRef = function(value) {
|
|
795
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
|
|
769
799
|
|
|
770
800
|
|
|
771
801
|
|
|
@@ -1206,7 +1236,8 @@ status: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
|
1206
1236
|
from: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1207
1237
|
to: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1208
1238
|
pageSize: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
1209
|
-
pageToken: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
1239
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1240
|
+
appRef: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
1210
1241
|
};
|
|
1211
1242
|
|
|
1212
1243
|
if (includeInstance) {
|
|
@@ -1275,6 +1306,10 @@ proto.fonoster.calls.v1beta2.ListCallsRequest.deserializeBinaryFromReader = func
|
|
|
1275
1306
|
var value = /** @type {string} */ (reader.readString());
|
|
1276
1307
|
msg.setPageToken(value);
|
|
1277
1308
|
break;
|
|
1309
|
+
case 9:
|
|
1310
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1311
|
+
msg.setAppRef(value);
|
|
1312
|
+
break;
|
|
1278
1313
|
default:
|
|
1279
1314
|
reader.skipField();
|
|
1280
1315
|
break;
|
|
@@ -1360,6 +1395,13 @@ proto.fonoster.calls.v1beta2.ListCallsRequest.serializeBinaryToWriter = function
|
|
|
1360
1395
|
f
|
|
1361
1396
|
);
|
|
1362
1397
|
}
|
|
1398
|
+
f = message.getAppRef();
|
|
1399
|
+
if (f.length > 0) {
|
|
1400
|
+
writer.writeString(
|
|
1401
|
+
9,
|
|
1402
|
+
f
|
|
1403
|
+
);
|
|
1404
|
+
}
|
|
1363
1405
|
};
|
|
1364
1406
|
|
|
1365
1407
|
|
|
@@ -1507,6 +1549,24 @@ proto.fonoster.calls.v1beta2.ListCallsRequest.prototype.setPageToken = function(
|
|
|
1507
1549
|
};
|
|
1508
1550
|
|
|
1509
1551
|
|
|
1552
|
+
/**
|
|
1553
|
+
* optional string app_ref = 9;
|
|
1554
|
+
* @return {string}
|
|
1555
|
+
*/
|
|
1556
|
+
proto.fonoster.calls.v1beta2.ListCallsRequest.prototype.getAppRef = function() {
|
|
1557
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1558
|
+
};
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
/**
|
|
1562
|
+
* @param {string} value
|
|
1563
|
+
* @return {!proto.fonoster.calls.v1beta2.ListCallsRequest} returns this
|
|
1564
|
+
*/
|
|
1565
|
+
proto.fonoster.calls.v1beta2.ListCallsRequest.prototype.setAppRef = function(value) {
|
|
1566
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1569
|
+
|
|
1510
1570
|
|
|
1511
1571
|
/**
|
|
1512
1572
|
* List of repeated fields within this message type.
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GitHubCapability extends jspb.Message {
|
|
7
|
+
getClientId(): string;
|
|
8
|
+
setClientId(value: string): GitHubCapability;
|
|
9
|
+
|
|
10
|
+
getAuthorizeUrl(): string;
|
|
11
|
+
setAuthorizeUrl(value: string): GitHubCapability;
|
|
12
|
+
|
|
13
|
+
serializeBinary(): Uint8Array;
|
|
14
|
+
toObject(includeInstance?: boolean): GitHubCapability.AsObject;
|
|
15
|
+
static toObject(includeInstance: boolean, msg: GitHubCapability): GitHubCapability.AsObject;
|
|
16
|
+
static serializeBinaryToWriter(message: GitHubCapability, writer: jspb.BinaryWriter): void;
|
|
17
|
+
static deserializeBinary(bytes: Uint8Array): GitHubCapability;
|
|
18
|
+
static deserializeBinaryFromReader(message: GitHubCapability, reader: jspb.BinaryReader): GitHubCapability;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export namespace GitHubCapability {
|
|
22
|
+
export type AsObject = {
|
|
23
|
+
clientId: string,
|
|
24
|
+
authorizeUrl: string,
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export class AuthCapabilities extends jspb.Message {
|
|
29
|
+
getMethodsList(): Array<string>;
|
|
30
|
+
setMethodsList(value: Array<string>): AuthCapabilities;
|
|
31
|
+
clearMethodsList(): AuthCapabilities;
|
|
32
|
+
addMethods(value: string, index?: number): AuthCapabilities;
|
|
33
|
+
|
|
34
|
+
getSignup(): string;
|
|
35
|
+
setSignup(value: string): AuthCapabilities;
|
|
36
|
+
|
|
37
|
+
getGithub(): GitHubCapability | undefined;
|
|
38
|
+
setGithub(value?: GitHubCapability): AuthCapabilities;
|
|
39
|
+
hasGithub(): boolean;
|
|
40
|
+
clearGithub(): AuthCapabilities;
|
|
41
|
+
|
|
42
|
+
serializeBinary(): Uint8Array;
|
|
43
|
+
toObject(includeInstance?: boolean): AuthCapabilities.AsObject;
|
|
44
|
+
static toObject(includeInstance: boolean, msg: AuthCapabilities): AuthCapabilities.AsObject;
|
|
45
|
+
static serializeBinaryToWriter(message: AuthCapabilities, writer: jspb.BinaryWriter): void;
|
|
46
|
+
static deserializeBinary(bytes: Uint8Array): AuthCapabilities;
|
|
47
|
+
static deserializeBinaryFromReader(message: AuthCapabilities, reader: jspb.BinaryReader): AuthCapabilities;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export namespace AuthCapabilities {
|
|
51
|
+
export type AsObject = {
|
|
52
|
+
methodsList: Array<string>,
|
|
53
|
+
signup: string,
|
|
54
|
+
github?: GitHubCapability.AsObject,
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export class BillingCapabilities extends jspb.Message {
|
|
59
|
+
getEnabled(): boolean;
|
|
60
|
+
setEnabled(value: boolean): BillingCapabilities;
|
|
61
|
+
|
|
62
|
+
serializeBinary(): Uint8Array;
|
|
63
|
+
toObject(includeInstance?: boolean): BillingCapabilities.AsObject;
|
|
64
|
+
static toObject(includeInstance: boolean, msg: BillingCapabilities): BillingCapabilities.AsObject;
|
|
65
|
+
static serializeBinaryToWriter(message: BillingCapabilities, writer: jspb.BinaryWriter): void;
|
|
66
|
+
static deserializeBinary(bytes: Uint8Array): BillingCapabilities;
|
|
67
|
+
static deserializeBinaryFromReader(message: BillingCapabilities, reader: jspb.BinaryReader): BillingCapabilities;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export namespace BillingCapabilities {
|
|
71
|
+
export type AsObject = {
|
|
72
|
+
enabled: boolean,
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export class CostsCapabilities extends jspb.Message {
|
|
77
|
+
getDisplay(): string;
|
|
78
|
+
setDisplay(value: string): CostsCapabilities;
|
|
79
|
+
|
|
80
|
+
serializeBinary(): Uint8Array;
|
|
81
|
+
toObject(includeInstance?: boolean): CostsCapabilities.AsObject;
|
|
82
|
+
static toObject(includeInstance: boolean, msg: CostsCapabilities): CostsCapabilities.AsObject;
|
|
83
|
+
static serializeBinaryToWriter(message: CostsCapabilities, writer: jspb.BinaryWriter): void;
|
|
84
|
+
static deserializeBinary(bytes: Uint8Array): CostsCapabilities;
|
|
85
|
+
static deserializeBinaryFromReader(message: CostsCapabilities, reader: jspb.BinaryReader): CostsCapabilities;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export namespace CostsCapabilities {
|
|
89
|
+
export type AsObject = {
|
|
90
|
+
display: string,
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export class RegionsCapabilities extends jspb.Message {
|
|
95
|
+
getPrivate(): boolean;
|
|
96
|
+
setPrivate(value: boolean): RegionsCapabilities;
|
|
97
|
+
|
|
98
|
+
serializeBinary(): Uint8Array;
|
|
99
|
+
toObject(includeInstance?: boolean): RegionsCapabilities.AsObject;
|
|
100
|
+
static toObject(includeInstance: boolean, msg: RegionsCapabilities): RegionsCapabilities.AsObject;
|
|
101
|
+
static serializeBinaryToWriter(message: RegionsCapabilities, writer: jspb.BinaryWriter): void;
|
|
102
|
+
static deserializeBinary(bytes: Uint8Array): RegionsCapabilities;
|
|
103
|
+
static deserializeBinaryFromReader(message: RegionsCapabilities, reader: jspb.BinaryReader): RegionsCapabilities;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export namespace RegionsCapabilities {
|
|
107
|
+
export type AsObject = {
|
|
108
|
+
pb_private: boolean,
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export class SipCapabilities extends jspb.Message {
|
|
113
|
+
getNames(): string;
|
|
114
|
+
setNames(value: string): SipCapabilities;
|
|
115
|
+
|
|
116
|
+
serializeBinary(): Uint8Array;
|
|
117
|
+
toObject(includeInstance?: boolean): SipCapabilities.AsObject;
|
|
118
|
+
static toObject(includeInstance: boolean, msg: SipCapabilities): SipCapabilities.AsObject;
|
|
119
|
+
static serializeBinaryToWriter(message: SipCapabilities, writer: jspb.BinaryWriter): void;
|
|
120
|
+
static deserializeBinary(bytes: Uint8Array): SipCapabilities;
|
|
121
|
+
static deserializeBinaryFromReader(message: SipCapabilities, reader: jspb.BinaryReader): SipCapabilities;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export namespace SipCapabilities {
|
|
125
|
+
export type AsObject = {
|
|
126
|
+
names: string,
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export class SipEndpoint extends jspb.Message {
|
|
131
|
+
getHost(): string;
|
|
132
|
+
setHost(value: string): SipEndpoint;
|
|
133
|
+
|
|
134
|
+
getPort(): number;
|
|
135
|
+
setPort(value: number): SipEndpoint;
|
|
136
|
+
|
|
137
|
+
getTransport(): string;
|
|
138
|
+
setTransport(value: string): SipEndpoint;
|
|
139
|
+
|
|
140
|
+
serializeBinary(): Uint8Array;
|
|
141
|
+
toObject(includeInstance?: boolean): SipEndpoint.AsObject;
|
|
142
|
+
static toObject(includeInstance: boolean, msg: SipEndpoint): SipEndpoint.AsObject;
|
|
143
|
+
static serializeBinaryToWriter(message: SipEndpoint, writer: jspb.BinaryWriter): void;
|
|
144
|
+
static deserializeBinary(bytes: Uint8Array): SipEndpoint;
|
|
145
|
+
static deserializeBinaryFromReader(message: SipEndpoint, reader: jspb.BinaryReader): SipEndpoint;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export namespace SipEndpoint {
|
|
149
|
+
export type AsObject = {
|
|
150
|
+
host: string,
|
|
151
|
+
port: number,
|
|
152
|
+
transport: string,
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export class PortRange extends jspb.Message {
|
|
157
|
+
getMin(): number;
|
|
158
|
+
setMin(value: number): PortRange;
|
|
159
|
+
|
|
160
|
+
getMax(): number;
|
|
161
|
+
setMax(value: number): PortRange;
|
|
162
|
+
|
|
163
|
+
serializeBinary(): Uint8Array;
|
|
164
|
+
toObject(includeInstance?: boolean): PortRange.AsObject;
|
|
165
|
+
static toObject(includeInstance: boolean, msg: PortRange): PortRange.AsObject;
|
|
166
|
+
static serializeBinaryToWriter(message: PortRange, writer: jspb.BinaryWriter): void;
|
|
167
|
+
static deserializeBinary(bytes: Uint8Array): PortRange;
|
|
168
|
+
static deserializeBinaryFromReader(message: PortRange, reader: jspb.BinaryReader): PortRange;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export namespace PortRange {
|
|
172
|
+
export type AsObject = {
|
|
173
|
+
min: number,
|
|
174
|
+
max: number,
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export class ConnectionCapabilities extends jspb.Message {
|
|
179
|
+
getSipList(): Array<SipEndpoint>;
|
|
180
|
+
setSipList(value: Array<SipEndpoint>): ConnectionCapabilities;
|
|
181
|
+
clearSipList(): ConnectionCapabilities;
|
|
182
|
+
addSip(value?: SipEndpoint, index?: number): SipEndpoint;
|
|
183
|
+
|
|
184
|
+
getSignalingAddressesList(): Array<string>;
|
|
185
|
+
setSignalingAddressesList(value: Array<string>): ConnectionCapabilities;
|
|
186
|
+
clearSignalingAddressesList(): ConnectionCapabilities;
|
|
187
|
+
addSignalingAddresses(value: string, index?: number): ConnectionCapabilities;
|
|
188
|
+
|
|
189
|
+
getMediaAddressesList(): Array<string>;
|
|
190
|
+
setMediaAddressesList(value: Array<string>): ConnectionCapabilities;
|
|
191
|
+
clearMediaAddressesList(): ConnectionCapabilities;
|
|
192
|
+
addMediaAddresses(value: string, index?: number): ConnectionCapabilities;
|
|
193
|
+
|
|
194
|
+
getRtpPorts(): PortRange | undefined;
|
|
195
|
+
setRtpPorts(value?: PortRange): ConnectionCapabilities;
|
|
196
|
+
hasRtpPorts(): boolean;
|
|
197
|
+
clearRtpPorts(): ConnectionCapabilities;
|
|
198
|
+
|
|
199
|
+
serializeBinary(): Uint8Array;
|
|
200
|
+
toObject(includeInstance?: boolean): ConnectionCapabilities.AsObject;
|
|
201
|
+
static toObject(includeInstance: boolean, msg: ConnectionCapabilities): ConnectionCapabilities.AsObject;
|
|
202
|
+
static serializeBinaryToWriter(message: ConnectionCapabilities, writer: jspb.BinaryWriter): void;
|
|
203
|
+
static deserializeBinary(bytes: Uint8Array): ConnectionCapabilities;
|
|
204
|
+
static deserializeBinaryFromReader(message: ConnectionCapabilities, reader: jspb.BinaryReader): ConnectionCapabilities;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export namespace ConnectionCapabilities {
|
|
208
|
+
export type AsObject = {
|
|
209
|
+
sipList: Array<SipEndpoint.AsObject>,
|
|
210
|
+
signalingAddressesList: Array<string>,
|
|
211
|
+
mediaAddressesList: Array<string>,
|
|
212
|
+
rtpPorts?: PortRange.AsObject,
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export class GetCapabilitiesResponse extends jspb.Message {
|
|
217
|
+
getAuth(): AuthCapabilities | undefined;
|
|
218
|
+
setAuth(value?: AuthCapabilities): GetCapabilitiesResponse;
|
|
219
|
+
hasAuth(): boolean;
|
|
220
|
+
clearAuth(): GetCapabilitiesResponse;
|
|
221
|
+
|
|
222
|
+
getBilling(): BillingCapabilities | undefined;
|
|
223
|
+
setBilling(value?: BillingCapabilities): GetCapabilitiesResponse;
|
|
224
|
+
hasBilling(): boolean;
|
|
225
|
+
clearBilling(): GetCapabilitiesResponse;
|
|
226
|
+
|
|
227
|
+
getCosts(): CostsCapabilities | undefined;
|
|
228
|
+
setCosts(value?: CostsCapabilities): GetCapabilitiesResponse;
|
|
229
|
+
hasCosts(): boolean;
|
|
230
|
+
clearCosts(): GetCapabilitiesResponse;
|
|
231
|
+
|
|
232
|
+
getDomain(): string;
|
|
233
|
+
setDomain(value: string): GetCapabilitiesResponse;
|
|
234
|
+
|
|
235
|
+
getAppUrl(): string;
|
|
236
|
+
setAppUrl(value: string): GetCapabilitiesResponse;
|
|
237
|
+
|
|
238
|
+
getRegions(): RegionsCapabilities | undefined;
|
|
239
|
+
setRegions(value?: RegionsCapabilities): GetCapabilitiesResponse;
|
|
240
|
+
hasRegions(): boolean;
|
|
241
|
+
clearRegions(): GetCapabilitiesResponse;
|
|
242
|
+
|
|
243
|
+
getConnection(): ConnectionCapabilities | undefined;
|
|
244
|
+
setConnection(value?: ConnectionCapabilities): GetCapabilitiesResponse;
|
|
245
|
+
hasConnection(): boolean;
|
|
246
|
+
clearConnection(): GetCapabilitiesResponse;
|
|
247
|
+
|
|
248
|
+
getSip(): SipCapabilities | undefined;
|
|
249
|
+
setSip(value?: SipCapabilities): GetCapabilitiesResponse;
|
|
250
|
+
hasSip(): boolean;
|
|
251
|
+
clearSip(): GetCapabilitiesResponse;
|
|
252
|
+
|
|
253
|
+
serializeBinary(): Uint8Array;
|
|
254
|
+
toObject(includeInstance?: boolean): GetCapabilitiesResponse.AsObject;
|
|
255
|
+
static toObject(includeInstance: boolean, msg: GetCapabilitiesResponse): GetCapabilitiesResponse.AsObject;
|
|
256
|
+
static serializeBinaryToWriter(message: GetCapabilitiesResponse, writer: jspb.BinaryWriter): void;
|
|
257
|
+
static deserializeBinary(bytes: Uint8Array): GetCapabilitiesResponse;
|
|
258
|
+
static deserializeBinaryFromReader(message: GetCapabilitiesResponse, reader: jspb.BinaryReader): GetCapabilitiesResponse;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export namespace GetCapabilitiesResponse {
|
|
262
|
+
export type AsObject = {
|
|
263
|
+
auth?: AuthCapabilities.AsObject,
|
|
264
|
+
billing?: BillingCapabilities.AsObject,
|
|
265
|
+
costs?: CostsCapabilities.AsObject,
|
|
266
|
+
domain: string,
|
|
267
|
+
appUrl: string,
|
|
268
|
+
regions?: RegionsCapabilities.AsObject,
|
|
269
|
+
connection?: ConnectionCapabilities.AsObject,
|
|
270
|
+
sip?: SipCapabilities.AsObject,
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|