@fonoster/sdk 0.6.6 → 0.7.2
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 +10 -10
- package/dist/node/Applications.d.ts +8 -8
- package/dist/node/Applications.js +8 -8
- package/dist/node/Calls.d.ts +22 -9
- package/dist/node/Calls.js +56 -37
- package/dist/node/client/types/CallsClient.d.ts +3 -2
- package/dist/node/client/types/common.d.ts +8 -1
- package/dist/node/generated/node/acls_pb.js +6 -6
- package/dist/node/generated/node/agents_pb.js +6 -6
- package/dist/node/generated/node/applications_pb.js +18 -18
- package/dist/node/generated/node/calls_grpc_pb.js +0 -3
- package/dist/node/generated/node/calls_pb.js +103 -104
- package/dist/node/generated/node/credentials_pb.js +6 -6
- package/dist/node/generated/node/domains_pb.js +6 -6
- package/dist/node/generated/node/identity_pb.js +18 -18
- package/dist/node/generated/node/numbers_pb.js +6 -6
- package/dist/node/generated/node/secrets_pb.js +6 -6
- package/dist/node/generated/node/trunks_pb.js +6 -6
- package/dist/node/generated/web/acls_pb.js +6 -6
- package/dist/node/generated/web/agents_pb.js +6 -6
- package/dist/node/generated/web/applications_pb.d.ts +9 -9
- package/dist/node/generated/web/applications_pb.js +18 -18
- package/dist/node/generated/web/calls_pb.d.ts +37 -37
- package/dist/node/generated/web/calls_pb.js +103 -104
- package/dist/node/generated/web/credentials_pb.js +6 -6
- package/dist/node/generated/web/domains_pb.js +6 -6
- package/dist/node/generated/web/identity_pb.js +18 -18
- package/dist/node/generated/web/numbers_pb.js +6 -6
- package/dist/node/generated/web/secrets_pb.js +6 -6
- package/dist/node/generated/web/trunks_pb.js +6 -6
- package/dist/node/tsconfig.node.tsbuildinfo +1 -1
- package/dist/node/utils.d.ts +2 -1
- package/dist/node/utils.js +20 -0
- package/dist/web/fonoster.min.js +1 -1
- package/dist/web/index.esm.js +1 -1
- package/package.json +4 -4
|
@@ -22,11 +22,11 @@ goog.exportSymbol('proto.fonoster.calls.v1beta2.CallType', null, global);
|
|
|
22
22
|
goog.exportSymbol('proto.fonoster.calls.v1beta2.CreateCallRequest', null, global);
|
|
23
23
|
goog.exportSymbol('proto.fonoster.calls.v1beta2.CreateCallResponse', null, global);
|
|
24
24
|
goog.exportSymbol('proto.fonoster.calls.v1beta2.GetCallRequest', null, global);
|
|
25
|
-
goog.exportSymbol('proto.fonoster.calls.v1beta2.HangupCause', null, global);
|
|
26
25
|
goog.exportSymbol('proto.fonoster.calls.v1beta2.ListCallsRequest', null, global);
|
|
27
26
|
goog.exportSymbol('proto.fonoster.calls.v1beta2.ListCallsResponse', null, global);
|
|
28
27
|
goog.exportSymbol('proto.fonoster.calls.v1beta2.TrackCallRequest', null, global);
|
|
29
28
|
goog.exportSymbol('proto.fonoster.calls.v1beta2.TrackCallResponse', null, global);
|
|
29
|
+
goog.exportSymbol('proto.fonoster.calls.v1beta2.TrackCallResponse.Status', null, global);
|
|
30
30
|
/**
|
|
31
31
|
* Generated by JsPbCodeGenerator.
|
|
32
32
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -228,9 +228,9 @@ proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.toObject = function(opt_
|
|
|
228
228
|
proto.fonoster.calls.v1beta2.CallDetailRecord.toObject = function(includeInstance, msg) {
|
|
229
229
|
var f, obj = {
|
|
230
230
|
ref: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
callId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
232
|
+
type: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
233
|
+
status: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
234
234
|
startedAt: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
235
235
|
endedAt: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
236
236
|
from: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
@@ -278,23 +278,23 @@ proto.fonoster.calls.v1beta2.CallDetailRecord.deserializeBinaryFromReader = func
|
|
|
278
278
|
msg.setRef(value);
|
|
279
279
|
break;
|
|
280
280
|
case 2:
|
|
281
|
+
var value = /** @type {string} */ (reader.readString());
|
|
282
|
+
msg.setCallId(value);
|
|
283
|
+
break;
|
|
284
|
+
case 3:
|
|
281
285
|
var value = /** @type {!proto.fonoster.calls.v1beta2.CallType} */ (reader.readEnum());
|
|
282
286
|
msg.setType(value);
|
|
283
287
|
break;
|
|
284
|
-
case
|
|
288
|
+
case 4:
|
|
285
289
|
var value = /** @type {!proto.fonoster.calls.v1beta2.CallStatus} */ (reader.readEnum());
|
|
286
290
|
msg.setStatus(value);
|
|
287
291
|
break;
|
|
288
|
-
case 4:
|
|
289
|
-
var value = /** @type {!proto.fonoster.calls.v1beta2.HangupCause} */ (reader.readEnum());
|
|
290
|
-
msg.setHangupCause(value);
|
|
291
|
-
break;
|
|
292
292
|
case 5:
|
|
293
|
-
var value = /** @type {number} */ (reader.
|
|
293
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
294
294
|
msg.setStartedAt(value);
|
|
295
295
|
break;
|
|
296
296
|
case 6:
|
|
297
|
-
var value = /** @type {number} */ (reader.
|
|
297
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
298
298
|
msg.setEndedAt(value);
|
|
299
299
|
break;
|
|
300
300
|
case 7:
|
|
@@ -349,21 +349,21 @@ proto.fonoster.calls.v1beta2.CallDetailRecord.serializeBinaryToWriter = function
|
|
|
349
349
|
f
|
|
350
350
|
);
|
|
351
351
|
}
|
|
352
|
-
f = message.
|
|
353
|
-
if (f
|
|
354
|
-
writer.
|
|
352
|
+
f = message.getCallId();
|
|
353
|
+
if (f.length > 0) {
|
|
354
|
+
writer.writeString(
|
|
355
355
|
2,
|
|
356
356
|
f
|
|
357
357
|
);
|
|
358
358
|
}
|
|
359
|
-
f = message.
|
|
359
|
+
f = message.getType();
|
|
360
360
|
if (f !== 0.0) {
|
|
361
361
|
writer.writeEnum(
|
|
362
362
|
3,
|
|
363
363
|
f
|
|
364
364
|
);
|
|
365
365
|
}
|
|
366
|
-
f = message.
|
|
366
|
+
f = message.getStatus();
|
|
367
367
|
if (f !== 0.0) {
|
|
368
368
|
writer.writeEnum(
|
|
369
369
|
4,
|
|
@@ -372,14 +372,14 @@ proto.fonoster.calls.v1beta2.CallDetailRecord.serializeBinaryToWriter = function
|
|
|
372
372
|
}
|
|
373
373
|
f = message.getStartedAt();
|
|
374
374
|
if (f !== 0) {
|
|
375
|
-
writer.
|
|
375
|
+
writer.writeInt32(
|
|
376
376
|
5,
|
|
377
377
|
f
|
|
378
378
|
);
|
|
379
379
|
}
|
|
380
380
|
f = message.getEndedAt();
|
|
381
381
|
if (f !== 0) {
|
|
382
|
-
writer.
|
|
382
|
+
writer.writeInt32(
|
|
383
383
|
6,
|
|
384
384
|
f
|
|
385
385
|
);
|
|
@@ -434,61 +434,61 @@ proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.setRef = function(value)
|
|
|
434
434
|
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
|
-
* optional
|
|
438
|
-
* @return {
|
|
437
|
+
* optional string call_id = 2;
|
|
438
|
+
* @return {string}
|
|
439
439
|
*/
|
|
440
|
-
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.
|
|
441
|
-
return /** @type {
|
|
440
|
+
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.getCallId = function() {
|
|
441
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
442
442
|
};
|
|
443
443
|
|
|
444
444
|
|
|
445
445
|
/**
|
|
446
|
-
* @param {
|
|
446
|
+
* @param {string} value
|
|
447
447
|
* @return {!proto.fonoster.calls.v1beta2.CallDetailRecord} returns this
|
|
448
448
|
*/
|
|
449
|
-
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.
|
|
450
|
-
return jspb.Message.
|
|
449
|
+
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.setCallId = function(value) {
|
|
450
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
451
451
|
};
|
|
452
452
|
|
|
453
453
|
|
|
454
454
|
/**
|
|
455
|
-
* optional
|
|
456
|
-
* @return {!proto.fonoster.calls.v1beta2.
|
|
455
|
+
* optional CallType type = 3;
|
|
456
|
+
* @return {!proto.fonoster.calls.v1beta2.CallType}
|
|
457
457
|
*/
|
|
458
|
-
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.
|
|
459
|
-
return /** @type {!proto.fonoster.calls.v1beta2.
|
|
458
|
+
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.getType = function() {
|
|
459
|
+
return /** @type {!proto.fonoster.calls.v1beta2.CallType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
460
460
|
};
|
|
461
461
|
|
|
462
462
|
|
|
463
463
|
/**
|
|
464
|
-
* @param {!proto.fonoster.calls.v1beta2.
|
|
464
|
+
* @param {!proto.fonoster.calls.v1beta2.CallType} value
|
|
465
465
|
* @return {!proto.fonoster.calls.v1beta2.CallDetailRecord} returns this
|
|
466
466
|
*/
|
|
467
|
-
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.
|
|
467
|
+
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.setType = function(value) {
|
|
468
468
|
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
469
469
|
};
|
|
470
470
|
|
|
471
471
|
|
|
472
472
|
/**
|
|
473
|
-
* optional
|
|
474
|
-
* @return {!proto.fonoster.calls.v1beta2.
|
|
473
|
+
* optional CallStatus status = 4;
|
|
474
|
+
* @return {!proto.fonoster.calls.v1beta2.CallStatus}
|
|
475
475
|
*/
|
|
476
|
-
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.
|
|
477
|
-
return /** @type {!proto.fonoster.calls.v1beta2.
|
|
476
|
+
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.getStatus = function() {
|
|
477
|
+
return /** @type {!proto.fonoster.calls.v1beta2.CallStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
478
478
|
};
|
|
479
479
|
|
|
480
480
|
|
|
481
481
|
/**
|
|
482
|
-
* @param {!proto.fonoster.calls.v1beta2.
|
|
482
|
+
* @param {!proto.fonoster.calls.v1beta2.CallStatus} value
|
|
483
483
|
* @return {!proto.fonoster.calls.v1beta2.CallDetailRecord} returns this
|
|
484
484
|
*/
|
|
485
|
-
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.
|
|
485
|
+
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.setStatus = function(value) {
|
|
486
486
|
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
487
487
|
};
|
|
488
488
|
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
|
-
* optional
|
|
491
|
+
* optional int32 started_at = 5;
|
|
492
492
|
* @return {number}
|
|
493
493
|
*/
|
|
494
494
|
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.getStartedAt = function() {
|
|
@@ -506,7 +506,7 @@ proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.setStartedAt = function(
|
|
|
506
506
|
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
|
-
* optional
|
|
509
|
+
* optional int32 ended_at = 6;
|
|
510
510
|
* @return {number}
|
|
511
511
|
*/
|
|
512
512
|
proto.fonoster.calls.v1beta2.CallDetailRecord.prototype.getEndedAt = function() {
|
|
@@ -629,7 +629,8 @@ proto.fonoster.calls.v1beta2.CreateCallRequest.toObject = function(includeInstan
|
|
|
629
629
|
var f, obj = {
|
|
630
630
|
from: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
631
631
|
to: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
632
|
-
appRef: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
632
|
+
appRef: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
633
|
+
timeout: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
633
634
|
};
|
|
634
635
|
|
|
635
636
|
if (includeInstance) {
|
|
@@ -678,6 +679,10 @@ proto.fonoster.calls.v1beta2.CreateCallRequest.deserializeBinaryFromReader = fun
|
|
|
678
679
|
var value = /** @type {string} */ (reader.readString());
|
|
679
680
|
msg.setAppRef(value);
|
|
680
681
|
break;
|
|
682
|
+
case 4:
|
|
683
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
684
|
+
msg.setTimeout(value);
|
|
685
|
+
break;
|
|
681
686
|
default:
|
|
682
687
|
reader.skipField();
|
|
683
688
|
break;
|
|
@@ -728,6 +733,13 @@ proto.fonoster.calls.v1beta2.CreateCallRequest.serializeBinaryToWriter = functio
|
|
|
728
733
|
f
|
|
729
734
|
);
|
|
730
735
|
}
|
|
736
|
+
f = message.getTimeout();
|
|
737
|
+
if (f !== 0) {
|
|
738
|
+
writer.writeInt32(
|
|
739
|
+
4,
|
|
740
|
+
f
|
|
741
|
+
);
|
|
742
|
+
}
|
|
731
743
|
};
|
|
732
744
|
|
|
733
745
|
|
|
@@ -785,6 +797,24 @@ proto.fonoster.calls.v1beta2.CreateCallRequest.prototype.setAppRef = function(va
|
|
|
785
797
|
};
|
|
786
798
|
|
|
787
799
|
|
|
800
|
+
/**
|
|
801
|
+
* optional int32 timeout = 4;
|
|
802
|
+
* @return {number}
|
|
803
|
+
*/
|
|
804
|
+
proto.fonoster.calls.v1beta2.CreateCallRequest.prototype.getTimeout = function() {
|
|
805
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* @param {number} value
|
|
811
|
+
* @return {!proto.fonoster.calls.v1beta2.CreateCallRequest} returns this
|
|
812
|
+
*/
|
|
813
|
+
proto.fonoster.calls.v1beta2.CreateCallRequest.prototype.setTimeout = function(value) {
|
|
814
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
|
|
788
818
|
|
|
789
819
|
|
|
790
820
|
|
|
@@ -1737,8 +1767,7 @@ proto.fonoster.calls.v1beta2.TrackCallResponse.prototype.toObject = function(opt
|
|
|
1737
1767
|
*/
|
|
1738
1768
|
proto.fonoster.calls.v1beta2.TrackCallResponse.toObject = function(includeInstance, msg) {
|
|
1739
1769
|
var f, obj = {
|
|
1740
|
-
|
|
1741
|
-
status: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
1770
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
1742
1771
|
};
|
|
1743
1772
|
|
|
1744
1773
|
if (includeInstance) {
|
|
@@ -1776,11 +1805,7 @@ proto.fonoster.calls.v1beta2.TrackCallResponse.deserializeBinaryFromReader = fun
|
|
|
1776
1805
|
var field = reader.getFieldNumber();
|
|
1777
1806
|
switch (field) {
|
|
1778
1807
|
case 1:
|
|
1779
|
-
var value = /** @type {
|
|
1780
|
-
msg.setRef(value);
|
|
1781
|
-
break;
|
|
1782
|
-
case 2:
|
|
1783
|
-
var value = /** @type {!proto.fonoster.calls.v1beta2.CallStatus} */ (reader.readEnum());
|
|
1808
|
+
var value = /** @type {!proto.fonoster.calls.v1beta2.TrackCallResponse.Status} */ (reader.readEnum());
|
|
1784
1809
|
msg.setStatus(value);
|
|
1785
1810
|
break;
|
|
1786
1811
|
default:
|
|
@@ -1812,17 +1837,10 @@ proto.fonoster.calls.v1beta2.TrackCallResponse.prototype.serializeBinary = funct
|
|
|
1812
1837
|
*/
|
|
1813
1838
|
proto.fonoster.calls.v1beta2.TrackCallResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1814
1839
|
var f = undefined;
|
|
1815
|
-
f = message.getRef();
|
|
1816
|
-
if (f.length > 0) {
|
|
1817
|
-
writer.writeString(
|
|
1818
|
-
1,
|
|
1819
|
-
f
|
|
1820
|
-
);
|
|
1821
|
-
}
|
|
1822
1840
|
f = message.getStatus();
|
|
1823
1841
|
if (f !== 0.0) {
|
|
1824
1842
|
writer.writeEnum(
|
|
1825
|
-
|
|
1843
|
+
1,
|
|
1826
1844
|
f
|
|
1827
1845
|
);
|
|
1828
1846
|
}
|
|
@@ -1830,38 +1848,33 @@ proto.fonoster.calls.v1beta2.TrackCallResponse.serializeBinaryToWriter = functio
|
|
|
1830
1848
|
|
|
1831
1849
|
|
|
1832
1850
|
/**
|
|
1833
|
-
*
|
|
1834
|
-
* @return {string}
|
|
1835
|
-
*/
|
|
1836
|
-
proto.fonoster.calls.v1beta2.TrackCallResponse.prototype.getRef = function() {
|
|
1837
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1838
|
-
};
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
/**
|
|
1842
|
-
* @param {string} value
|
|
1843
|
-
* @return {!proto.fonoster.calls.v1beta2.TrackCallResponse} returns this
|
|
1851
|
+
* @enum {number}
|
|
1844
1852
|
*/
|
|
1845
|
-
proto.fonoster.calls.v1beta2.TrackCallResponse.
|
|
1846
|
-
|
|
1853
|
+
proto.fonoster.calls.v1beta2.TrackCallResponse.Status = {
|
|
1854
|
+
TRYING: 0,
|
|
1855
|
+
CANCEL: 1,
|
|
1856
|
+
ANSWER: 2,
|
|
1857
|
+
BUSY: 3,
|
|
1858
|
+
PROGRESS: 4,
|
|
1859
|
+
NOANSWER: 5,
|
|
1860
|
+
FAILED: 6
|
|
1847
1861
|
};
|
|
1848
1862
|
|
|
1849
|
-
|
|
1850
1863
|
/**
|
|
1851
|
-
* optional
|
|
1852
|
-
* @return {!proto.fonoster.calls.v1beta2.
|
|
1864
|
+
* optional Status status = 1;
|
|
1865
|
+
* @return {!proto.fonoster.calls.v1beta2.TrackCallResponse.Status}
|
|
1853
1866
|
*/
|
|
1854
1867
|
proto.fonoster.calls.v1beta2.TrackCallResponse.prototype.getStatus = function() {
|
|
1855
|
-
return /** @type {!proto.fonoster.calls.v1beta2.
|
|
1868
|
+
return /** @type {!proto.fonoster.calls.v1beta2.TrackCallResponse.Status} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1856
1869
|
};
|
|
1857
1870
|
|
|
1858
1871
|
|
|
1859
1872
|
/**
|
|
1860
|
-
* @param {!proto.fonoster.calls.v1beta2.
|
|
1873
|
+
* @param {!proto.fonoster.calls.v1beta2.TrackCallResponse.Status} value
|
|
1861
1874
|
* @return {!proto.fonoster.calls.v1beta2.TrackCallResponse} returns this
|
|
1862
1875
|
*/
|
|
1863
1876
|
proto.fonoster.calls.v1beta2.TrackCallResponse.prototype.setStatus = function(value) {
|
|
1864
|
-
return jspb.Message.setProto3EnumField(this,
|
|
1877
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
1865
1878
|
};
|
|
1866
1879
|
|
|
1867
1880
|
|
|
@@ -1869,48 +1882,34 @@ proto.fonoster.calls.v1beta2.TrackCallResponse.prototype.setStatus = function(va
|
|
|
1869
1882
|
* @enum {number}
|
|
1870
1883
|
*/
|
|
1871
1884
|
proto.fonoster.calls.v1beta2.CallType = {
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
};
|
|
1875
|
-
|
|
1876
|
-
/**
|
|
1877
|
-
* @enum {number}
|
|
1878
|
-
*/
|
|
1879
|
-
proto.fonoster.calls.v1beta2.HangupCause = {
|
|
1880
|
-
NORMAL_CLEARING: 0,
|
|
1881
|
-
CALL_REJECTED: 1,
|
|
1882
|
-
UNALLOCATED: 2,
|
|
1883
|
-
NO_USER_RESPONSE: 3,
|
|
1884
|
-
NO_ROUTE_DESTINATION: 4,
|
|
1885
|
-
NO_ANSWER: 5,
|
|
1886
|
-
USER_BUSY: 6,
|
|
1887
|
-
NOT_ACCEPTABLE_HERE: 7,
|
|
1888
|
-
SERVICE_UNAVAILABLE: 8,
|
|
1889
|
-
INVALID_NUMBER_FORMAT: 9,
|
|
1890
|
-
UNKNOWN: 10
|
|
1885
|
+
SIP_ORIGINATED: 0,
|
|
1886
|
+
API_ORIGINATED: 1
|
|
1891
1887
|
};
|
|
1892
1888
|
|
|
1893
1889
|
/**
|
|
1894
1890
|
* @enum {number}
|
|
1895
1891
|
*/
|
|
1896
1892
|
proto.fonoster.calls.v1beta2.CallStatus = {
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1893
|
+
UNKNOWN: 0,
|
|
1894
|
+
NORMAL_CLEARING: 1,
|
|
1895
|
+
CALL_REJECTED: 2,
|
|
1896
|
+
UNALLOCATED: 3,
|
|
1897
|
+
NO_USER_RESPONSE: 4,
|
|
1898
|
+
NO_ROUTE_DESTINATION: 5,
|
|
1899
|
+
NO_ANSWER: 6,
|
|
1900
|
+
USER_BUSY: 7,
|
|
1901
|
+
NOT_ACCEPTABLE_HERE: 8,
|
|
1902
|
+
SERVICE_UNAVAILABLE: 9,
|
|
1903
|
+
INVALID_NUMBER_FORMAT: 10
|
|
1906
1904
|
};
|
|
1907
1905
|
|
|
1908
1906
|
/**
|
|
1909
1907
|
* @enum {number}
|
|
1910
1908
|
*/
|
|
1911
1909
|
proto.fonoster.calls.v1beta2.CallDirection = {
|
|
1912
|
-
|
|
1913
|
-
|
|
1910
|
+
FROM_PSTN: 0,
|
|
1911
|
+
TO_PSTN: 1,
|
|
1912
|
+
INTRA_NETWORK: 2
|
|
1914
1913
|
};
|
|
1915
1914
|
|
|
1916
1915
|
goog.object.extend(exports, proto.fonoster.calls.v1beta2);
|
|
@@ -321,11 +321,11 @@ proto.fonoster.credentials.v1beta2.Credentials.deserializeBinaryFromReader = fun
|
|
|
321
321
|
msg.setUsername(value);
|
|
322
322
|
break;
|
|
323
323
|
case 4:
|
|
324
|
-
var value = /** @type {number} */ (reader.
|
|
324
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
325
325
|
msg.setCreatedAt(value);
|
|
326
326
|
break;
|
|
327
327
|
case 5:
|
|
328
|
-
var value = /** @type {number} */ (reader.
|
|
328
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
329
329
|
msg.setUpdatedAt(value);
|
|
330
330
|
break;
|
|
331
331
|
default:
|
|
@@ -380,14 +380,14 @@ proto.fonoster.credentials.v1beta2.Credentials.serializeBinaryToWriter = functio
|
|
|
380
380
|
}
|
|
381
381
|
f = message.getCreatedAt();
|
|
382
382
|
if (f !== 0) {
|
|
383
|
-
writer.
|
|
383
|
+
writer.writeInt32(
|
|
384
384
|
4,
|
|
385
385
|
f
|
|
386
386
|
);
|
|
387
387
|
}
|
|
388
388
|
f = message.getUpdatedAt();
|
|
389
389
|
if (f !== 0) {
|
|
390
|
-
writer.
|
|
390
|
+
writer.writeInt32(
|
|
391
391
|
5,
|
|
392
392
|
f
|
|
393
393
|
);
|
|
@@ -450,7 +450,7 @@ proto.fonoster.credentials.v1beta2.Credentials.prototype.setUsername = function(
|
|
|
450
450
|
|
|
451
451
|
|
|
452
452
|
/**
|
|
453
|
-
* optional
|
|
453
|
+
* optional int32 created_at = 4;
|
|
454
454
|
* @return {number}
|
|
455
455
|
*/
|
|
456
456
|
proto.fonoster.credentials.v1beta2.Credentials.prototype.getCreatedAt = function() {
|
|
@@ -468,7 +468,7 @@ proto.fonoster.credentials.v1beta2.Credentials.prototype.setCreatedAt = function
|
|
|
468
468
|
|
|
469
469
|
|
|
470
470
|
/**
|
|
471
|
-
* optional
|
|
471
|
+
* optional int32 updated_at = 5;
|
|
472
472
|
* @return {number}
|
|
473
473
|
*/
|
|
474
474
|
proto.fonoster.credentials.v1beta2.Credentials.prototype.getUpdatedAt = function() {
|
|
@@ -343,11 +343,11 @@ proto.fonoster.domains.v1beta2.Domain.deserializeBinaryFromReader = function(msg
|
|
|
343
343
|
msg.setDomainUri(value);
|
|
344
344
|
break;
|
|
345
345
|
case 4:
|
|
346
|
-
var value = /** @type {number} */ (reader.
|
|
346
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
347
347
|
msg.setCreatedAt(value);
|
|
348
348
|
break;
|
|
349
349
|
case 5:
|
|
350
|
-
var value = /** @type {number} */ (reader.
|
|
350
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
351
351
|
msg.setUpdatedAt(value);
|
|
352
352
|
break;
|
|
353
353
|
default:
|
|
@@ -402,14 +402,14 @@ proto.fonoster.domains.v1beta2.Domain.serializeBinaryToWriter = function(message
|
|
|
402
402
|
}
|
|
403
403
|
f = message.getCreatedAt();
|
|
404
404
|
if (f !== 0) {
|
|
405
|
-
writer.
|
|
405
|
+
writer.writeInt32(
|
|
406
406
|
4,
|
|
407
407
|
f
|
|
408
408
|
);
|
|
409
409
|
}
|
|
410
410
|
f = message.getUpdatedAt();
|
|
411
411
|
if (f !== 0) {
|
|
412
|
-
writer.
|
|
412
|
+
writer.writeInt32(
|
|
413
413
|
5,
|
|
414
414
|
f
|
|
415
415
|
);
|
|
@@ -472,7 +472,7 @@ proto.fonoster.domains.v1beta2.Domain.prototype.setDomainUri = function(value) {
|
|
|
472
472
|
|
|
473
473
|
|
|
474
474
|
/**
|
|
475
|
-
* optional
|
|
475
|
+
* optional int32 created_at = 4;
|
|
476
476
|
* @return {number}
|
|
477
477
|
*/
|
|
478
478
|
proto.fonoster.domains.v1beta2.Domain.prototype.getCreatedAt = function() {
|
|
@@ -490,7 +490,7 @@ proto.fonoster.domains.v1beta2.Domain.prototype.setCreatedAt = function(value) {
|
|
|
490
490
|
|
|
491
491
|
|
|
492
492
|
/**
|
|
493
|
-
* optional
|
|
493
|
+
* optional int32 updated_at = 5;
|
|
494
494
|
* @return {number}
|
|
495
495
|
*/
|
|
496
496
|
proto.fonoster.domains.v1beta2.Domain.prototype.getUpdatedAt = function() {
|
|
@@ -3686,11 +3686,11 @@ proto.fonoster.identity.v1beta2.User.deserializeBinaryFromReader = function(msg,
|
|
|
3686
3686
|
msg.setAvatar(value);
|
|
3687
3687
|
break;
|
|
3688
3688
|
case 5:
|
|
3689
|
-
var value = /** @type {number} */ (reader.
|
|
3689
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3690
3690
|
msg.setCreatedAt(value);
|
|
3691
3691
|
break;
|
|
3692
3692
|
case 6:
|
|
3693
|
-
var value = /** @type {number} */ (reader.
|
|
3693
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3694
3694
|
msg.setUpdatedAt(value);
|
|
3695
3695
|
break;
|
|
3696
3696
|
default:
|
|
@@ -3752,14 +3752,14 @@ proto.fonoster.identity.v1beta2.User.serializeBinaryToWriter = function(message,
|
|
|
3752
3752
|
}
|
|
3753
3753
|
f = message.getCreatedAt();
|
|
3754
3754
|
if (f !== 0) {
|
|
3755
|
-
writer.
|
|
3755
|
+
writer.writeInt32(
|
|
3756
3756
|
5,
|
|
3757
3757
|
f
|
|
3758
3758
|
);
|
|
3759
3759
|
}
|
|
3760
3760
|
f = message.getUpdatedAt();
|
|
3761
3761
|
if (f !== 0) {
|
|
3762
|
-
writer.
|
|
3762
|
+
writer.writeInt32(
|
|
3763
3763
|
6,
|
|
3764
3764
|
f
|
|
3765
3765
|
);
|
|
@@ -3840,7 +3840,7 @@ proto.fonoster.identity.v1beta2.User.prototype.setAvatar = function(value) {
|
|
|
3840
3840
|
|
|
3841
3841
|
|
|
3842
3842
|
/**
|
|
3843
|
-
* optional
|
|
3843
|
+
* optional int32 created_at = 5;
|
|
3844
3844
|
* @return {number}
|
|
3845
3845
|
*/
|
|
3846
3846
|
proto.fonoster.identity.v1beta2.User.prototype.getCreatedAt = function() {
|
|
@@ -3858,7 +3858,7 @@ proto.fonoster.identity.v1beta2.User.prototype.setCreatedAt = function(value) {
|
|
|
3858
3858
|
|
|
3859
3859
|
|
|
3860
3860
|
/**
|
|
3861
|
-
* optional
|
|
3861
|
+
* optional int32 updated_at = 6;
|
|
3862
3862
|
* @return {number}
|
|
3863
3863
|
*/
|
|
3864
3864
|
proto.fonoster.identity.v1beta2.User.prototype.getUpdatedAt = function() {
|
|
@@ -4571,11 +4571,11 @@ proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader = function
|
|
|
4571
4571
|
msg.setOwnerRef(value);
|
|
4572
4572
|
break;
|
|
4573
4573
|
case 4:
|
|
4574
|
-
var value = /** @type {number} */ (reader.
|
|
4574
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4575
4575
|
msg.setCreatedAt(value);
|
|
4576
4576
|
break;
|
|
4577
4577
|
case 5:
|
|
4578
|
-
var value = /** @type {number} */ (reader.
|
|
4578
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
4579
4579
|
msg.setUpdatedAt(value);
|
|
4580
4580
|
break;
|
|
4581
4581
|
default:
|
|
@@ -4630,14 +4630,14 @@ proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter = function(mes
|
|
|
4630
4630
|
}
|
|
4631
4631
|
f = message.getCreatedAt();
|
|
4632
4632
|
if (f !== 0) {
|
|
4633
|
-
writer.
|
|
4633
|
+
writer.writeInt32(
|
|
4634
4634
|
4,
|
|
4635
4635
|
f
|
|
4636
4636
|
);
|
|
4637
4637
|
}
|
|
4638
4638
|
f = message.getUpdatedAt();
|
|
4639
4639
|
if (f !== 0) {
|
|
4640
|
-
writer.
|
|
4640
|
+
writer.writeInt32(
|
|
4641
4641
|
5,
|
|
4642
4642
|
f
|
|
4643
4643
|
);
|
|
@@ -4700,7 +4700,7 @@ proto.fonoster.identity.v1beta2.Workspace.prototype.setOwnerRef = function(value
|
|
|
4700
4700
|
|
|
4701
4701
|
|
|
4702
4702
|
/**
|
|
4703
|
-
* optional
|
|
4703
|
+
* optional int32 created_at = 4;
|
|
4704
4704
|
* @return {number}
|
|
4705
4705
|
*/
|
|
4706
4706
|
proto.fonoster.identity.v1beta2.Workspace.prototype.getCreatedAt = function() {
|
|
@@ -4718,7 +4718,7 @@ proto.fonoster.identity.v1beta2.Workspace.prototype.setCreatedAt = function(valu
|
|
|
4718
4718
|
|
|
4719
4719
|
|
|
4720
4720
|
/**
|
|
4721
|
-
* optional
|
|
4721
|
+
* optional int32 updated_at = 5;
|
|
4722
4722
|
* @return {number}
|
|
4723
4723
|
*/
|
|
4724
4724
|
proto.fonoster.identity.v1beta2.Workspace.prototype.getUpdatedAt = function() {
|
|
@@ -6106,11 +6106,11 @@ proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader = function(ms
|
|
|
6106
6106
|
msg.setExpiresAt(value);
|
|
6107
6107
|
break;
|
|
6108
6108
|
case 5:
|
|
6109
|
-
var value = /** @type {number} */ (reader.
|
|
6109
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6110
6110
|
msg.setCreatedAt(value);
|
|
6111
6111
|
break;
|
|
6112
6112
|
case 6:
|
|
6113
|
-
var value = /** @type {number} */ (reader.
|
|
6113
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6114
6114
|
msg.setUpdatedAt(value);
|
|
6115
6115
|
break;
|
|
6116
6116
|
default:
|
|
@@ -6172,14 +6172,14 @@ proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter = function(messag
|
|
|
6172
6172
|
}
|
|
6173
6173
|
f = message.getCreatedAt();
|
|
6174
6174
|
if (f !== 0) {
|
|
6175
|
-
writer.
|
|
6175
|
+
writer.writeInt32(
|
|
6176
6176
|
5,
|
|
6177
6177
|
f
|
|
6178
6178
|
);
|
|
6179
6179
|
}
|
|
6180
6180
|
f = message.getUpdatedAt();
|
|
6181
6181
|
if (f !== 0) {
|
|
6182
|
-
writer.
|
|
6182
|
+
writer.writeInt32(
|
|
6183
6183
|
6,
|
|
6184
6184
|
f
|
|
6185
6185
|
);
|
|
@@ -6260,7 +6260,7 @@ proto.fonoster.identity.v1beta2.ApiKey.prototype.setExpiresAt = function(value)
|
|
|
6260
6260
|
|
|
6261
6261
|
|
|
6262
6262
|
/**
|
|
6263
|
-
* optional
|
|
6263
|
+
* optional int32 created_at = 5;
|
|
6264
6264
|
* @return {number}
|
|
6265
6265
|
*/
|
|
6266
6266
|
proto.fonoster.identity.v1beta2.ApiKey.prototype.getCreatedAt = function() {
|
|
@@ -6278,7 +6278,7 @@ proto.fonoster.identity.v1beta2.ApiKey.prototype.setCreatedAt = function(value)
|
|
|
6278
6278
|
|
|
6279
6279
|
|
|
6280
6280
|
/**
|
|
6281
|
-
* optional
|
|
6281
|
+
* optional int32 updated_at = 6;
|
|
6282
6282
|
* @return {number}
|
|
6283
6283
|
*/
|
|
6284
6284
|
proto.fonoster.identity.v1beta2.ApiKey.prototype.getUpdatedAt = function() {
|