@jibb-open/jssdk 3.18.4 → 3.18.5
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/api/recording.js +5 -2
- package/package.json +1 -1
- package/types/jibb.pb.js +1087 -10
- package/types/proto.js +2 -1
package/api/recording.js
CHANGED
|
@@ -8,13 +8,15 @@ export function startRecording() {
|
|
|
8
8
|
meetingToken,
|
|
9
9
|
interval,
|
|
10
10
|
sensivityLevel,
|
|
11
|
-
alternativeEmail
|
|
11
|
+
alternativeEmail,
|
|
12
|
+
deviceSerialNumber
|
|
12
13
|
};
|
|
13
14
|
return async function () {
|
|
14
15
|
let meetingToken = options.meetingToken;
|
|
15
16
|
let interval = (options === null || options === void 0 ? void 0 : options.interval) || 0;
|
|
16
17
|
let sensivityLevel = (options === null || options === void 0 ? void 0 : options.sensivityLevel) || 0;
|
|
17
18
|
let altEmail = (options === null || options === void 0 ? void 0 : options.alternativeEmail) || "";
|
|
19
|
+
let deviceSerialNumber = (options === null || options === void 0 ? void 0 : options.deviceSerialNumber) || "";
|
|
18
20
|
let headers = {
|
|
19
21
|
"Content-Type": "application/json",
|
|
20
22
|
Accept: "application/json",
|
|
@@ -24,7 +26,8 @@ export function startRecording() {
|
|
|
24
26
|
let body = {
|
|
25
27
|
write_interval: interval,
|
|
26
28
|
level: sensivityLevel,
|
|
27
|
-
alternative_email: altEmail
|
|
29
|
+
alternative_email: altEmail,
|
|
30
|
+
device_serial_number: deviceSerialNumber
|
|
28
31
|
};
|
|
29
32
|
let response = await http.post("".concat(Config.apiBaseURL, "/v1/meetings/recordings/start"), body, headers);
|
|
30
33
|
return response.data;
|
package/package.json
CHANGED
package/types/jibb.pb.js
CHANGED
|
@@ -3936,7 +3936,7 @@ export const user = $root.user = (() => {
|
|
|
3936
3936
|
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
3937
3937
|
}
|
|
3938
3938
|
PriceItem.prototype.id = "";
|
|
3939
|
-
PriceItem.prototype.amount =
|
|
3939
|
+
PriceItem.prototype.amount = "";
|
|
3940
3940
|
PriceItem.prototype.interval = "";
|
|
3941
3941
|
PriceItem.prototype.intervalCount = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
|
|
3942
3942
|
PriceItem.prototype.trialPeriodDays = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
|
|
@@ -3946,7 +3946,7 @@ export const user = $root.user = (() => {
|
|
|
3946
3946
|
PriceItem.encode = function encode(m, w) {
|
|
3947
3947
|
if (!w) w = $Writer.create();
|
|
3948
3948
|
if (m.id != null && Object.hasOwnProperty.call(m, "id")) w.uint32(10).string(m.id);
|
|
3949
|
-
if (m.amount != null && Object.hasOwnProperty.call(m, "amount")) w.uint32(
|
|
3949
|
+
if (m.amount != null && Object.hasOwnProperty.call(m, "amount")) w.uint32(18).string(m.amount);
|
|
3950
3950
|
if (m.interval != null && Object.hasOwnProperty.call(m, "interval")) w.uint32(26).string(m.interval);
|
|
3951
3951
|
if (m.intervalCount != null && Object.hasOwnProperty.call(m, "intervalCount")) w.uint32(32).int64(m.intervalCount);
|
|
3952
3952
|
if (m.trialPeriodDays != null && Object.hasOwnProperty.call(m, "trialPeriodDays")) w.uint32(40).int64(m.trialPeriodDays);
|
|
@@ -3966,7 +3966,7 @@ export const user = $root.user = (() => {
|
|
|
3966
3966
|
m.id = r.string();
|
|
3967
3967
|
break;
|
|
3968
3968
|
case 2:
|
|
3969
|
-
m.amount = r.
|
|
3969
|
+
m.amount = r.string();
|
|
3970
3970
|
break;
|
|
3971
3971
|
case 3:
|
|
3972
3972
|
m.interval = r.string();
|
|
@@ -3994,7 +3994,7 @@ export const user = $root.user = (() => {
|
|
|
3994
3994
|
if (!$util.isString(m.id)) return "id: string expected";
|
|
3995
3995
|
}
|
|
3996
3996
|
if (m.amount != null && m.hasOwnProperty("amount")) {
|
|
3997
|
-
if (!$util.
|
|
3997
|
+
if (!$util.isString(m.amount)) return "amount: string expected";
|
|
3998
3998
|
}
|
|
3999
3999
|
if (m.interval != null && m.hasOwnProperty("interval")) {
|
|
4000
4000
|
if (!$util.isString(m.interval)) return "interval: string expected";
|
|
@@ -4014,7 +4014,7 @@ export const user = $root.user = (() => {
|
|
|
4014
4014
|
m.id = String(d.id);
|
|
4015
4015
|
}
|
|
4016
4016
|
if (d.amount != null) {
|
|
4017
|
-
|
|
4017
|
+
m.amount = String(d.amount);
|
|
4018
4018
|
}
|
|
4019
4019
|
if (d.interval != null) {
|
|
4020
4020
|
m.interval = String(d.interval);
|
|
@@ -4032,10 +4032,7 @@ export const user = $root.user = (() => {
|
|
|
4032
4032
|
var d = {};
|
|
4033
4033
|
if (o.defaults) {
|
|
4034
4034
|
d.id = "";
|
|
4035
|
-
|
|
4036
|
-
var n = new $util.Long(0, 0, false);
|
|
4037
|
-
d.amount = o.longs === String ? n.toString() : o.longs === Number ? n.toNumber() : n;
|
|
4038
|
-
} else d.amount = o.longs === String ? "0" : 0;
|
|
4035
|
+
d.amount = "";
|
|
4039
4036
|
d.interval = "";
|
|
4040
4037
|
if ($util.Long) {
|
|
4041
4038
|
var n = new $util.Long(0, 0, false);
|
|
@@ -4050,7 +4047,7 @@ export const user = $root.user = (() => {
|
|
|
4050
4047
|
d.id = m.id;
|
|
4051
4048
|
}
|
|
4052
4049
|
if (m.amount != null && m.hasOwnProperty("amount")) {
|
|
4053
|
-
|
|
4050
|
+
d.amount = m.amount;
|
|
4054
4051
|
}
|
|
4055
4052
|
if (m.interval != null && m.hasOwnProperty("interval")) {
|
|
4056
4053
|
d.interval = m.interval;
|
|
@@ -6792,4 +6789,1084 @@ export const cilix = $root.cilix = (() => {
|
|
|
6792
6789
|
}();
|
|
6793
6790
|
return cilix;
|
|
6794
6791
|
})();
|
|
6792
|
+
export const webex = $root.webex = (() => {
|
|
6793
|
+
const webex = {};
|
|
6794
|
+
webex.ShareMeetingStatus = function () {
|
|
6795
|
+
const valuesById = {},
|
|
6796
|
+
values = Object.create(valuesById);
|
|
6797
|
+
values[valuesById[0] = "UNKNOWN_SHARE_MEETING_STATUS"] = 0;
|
|
6798
|
+
values[valuesById[1] = "SENT"] = 1;
|
|
6799
|
+
values[valuesById[2] = "PENDING_BOT"] = 2;
|
|
6800
|
+
values[valuesById[3] = "CURRENT_MEETING_NOT_FOUND"] = 3;
|
|
6801
|
+
values[valuesById[4] = "MICROSOFT_TEAM_NOT_CONNECTED"] = 4;
|
|
6802
|
+
return values;
|
|
6803
|
+
}();
|
|
6804
|
+
webex.SaveTokensRequest = function () {
|
|
6805
|
+
function SaveTokensRequest(p) {
|
|
6806
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
6807
|
+
}
|
|
6808
|
+
SaveTokensRequest.prototype.organizationId = 0;
|
|
6809
|
+
SaveTokensRequest.prototype.accessToken = "";
|
|
6810
|
+
SaveTokensRequest.prototype.refreshToken = "";
|
|
6811
|
+
SaveTokensRequest.prototype.accessTokenExpiresIn = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
|
|
6812
|
+
SaveTokensRequest.prototype.refreshTokenExpiresIn = $util.Long ? $util.Long.fromBits(0, 0, false) : 0;
|
|
6813
|
+
SaveTokensRequest.create = function create(properties) {
|
|
6814
|
+
return new SaveTokensRequest(properties);
|
|
6815
|
+
};
|
|
6816
|
+
SaveTokensRequest.encode = function encode(m, w) {
|
|
6817
|
+
if (!w) w = $Writer.create();
|
|
6818
|
+
if (m.organizationId != null && Object.hasOwnProperty.call(m, "organizationId")) w.uint32(8).int32(m.organizationId);
|
|
6819
|
+
if (m.accessToken != null && Object.hasOwnProperty.call(m, "accessToken")) w.uint32(18).string(m.accessToken);
|
|
6820
|
+
if (m.refreshToken != null && Object.hasOwnProperty.call(m, "refreshToken")) w.uint32(26).string(m.refreshToken);
|
|
6821
|
+
if (m.accessTokenExpiresIn != null && Object.hasOwnProperty.call(m, "accessTokenExpiresIn")) w.uint32(32).int64(m.accessTokenExpiresIn);
|
|
6822
|
+
if (m.refreshTokenExpiresIn != null && Object.hasOwnProperty.call(m, "refreshTokenExpiresIn")) w.uint32(40).int64(m.refreshTokenExpiresIn);
|
|
6823
|
+
return w;
|
|
6824
|
+
};
|
|
6825
|
+
SaveTokensRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
6826
|
+
return this.encode(message, writer).ldelim();
|
|
6827
|
+
};
|
|
6828
|
+
SaveTokensRequest.decode = function decode(r, l) {
|
|
6829
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
6830
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
6831
|
+
m = new $root.webex.SaveTokensRequest();
|
|
6832
|
+
while (r.pos < c) {
|
|
6833
|
+
var t = r.uint32();
|
|
6834
|
+
switch (t >>> 3) {
|
|
6835
|
+
case 1:
|
|
6836
|
+
m.organizationId = r.int32();
|
|
6837
|
+
break;
|
|
6838
|
+
case 2:
|
|
6839
|
+
m.accessToken = r.string();
|
|
6840
|
+
break;
|
|
6841
|
+
case 3:
|
|
6842
|
+
m.refreshToken = r.string();
|
|
6843
|
+
break;
|
|
6844
|
+
case 4:
|
|
6845
|
+
m.accessTokenExpiresIn = r.int64();
|
|
6846
|
+
break;
|
|
6847
|
+
case 5:
|
|
6848
|
+
m.refreshTokenExpiresIn = r.int64();
|
|
6849
|
+
break;
|
|
6850
|
+
default:
|
|
6851
|
+
r.skipType(t & 7);
|
|
6852
|
+
break;
|
|
6853
|
+
}
|
|
6854
|
+
}
|
|
6855
|
+
return m;
|
|
6856
|
+
};
|
|
6857
|
+
SaveTokensRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
6858
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
6859
|
+
return this.decode(reader, reader.uint32());
|
|
6860
|
+
};
|
|
6861
|
+
SaveTokensRequest.verify = function verify(m) {
|
|
6862
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
6863
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
6864
|
+
if (!$util.isInteger(m.organizationId)) return "organizationId: integer expected";
|
|
6865
|
+
}
|
|
6866
|
+
if (m.accessToken != null && m.hasOwnProperty("accessToken")) {
|
|
6867
|
+
if (!$util.isString(m.accessToken)) return "accessToken: string expected";
|
|
6868
|
+
}
|
|
6869
|
+
if (m.refreshToken != null && m.hasOwnProperty("refreshToken")) {
|
|
6870
|
+
if (!$util.isString(m.refreshToken)) return "refreshToken: string expected";
|
|
6871
|
+
}
|
|
6872
|
+
if (m.accessTokenExpiresIn != null && m.hasOwnProperty("accessTokenExpiresIn")) {
|
|
6873
|
+
if (!$util.isInteger(m.accessTokenExpiresIn) && !(m.accessTokenExpiresIn && $util.isInteger(m.accessTokenExpiresIn.low) && $util.isInteger(m.accessTokenExpiresIn.high))) return "accessTokenExpiresIn: integer|Long expected";
|
|
6874
|
+
}
|
|
6875
|
+
if (m.refreshTokenExpiresIn != null && m.hasOwnProperty("refreshTokenExpiresIn")) {
|
|
6876
|
+
if (!$util.isInteger(m.refreshTokenExpiresIn) && !(m.refreshTokenExpiresIn && $util.isInteger(m.refreshTokenExpiresIn.low) && $util.isInteger(m.refreshTokenExpiresIn.high))) return "refreshTokenExpiresIn: integer|Long expected";
|
|
6877
|
+
}
|
|
6878
|
+
return null;
|
|
6879
|
+
};
|
|
6880
|
+
SaveTokensRequest.fromObject = function fromObject(d) {
|
|
6881
|
+
if (d instanceof $root.webex.SaveTokensRequest) return d;
|
|
6882
|
+
var m = new $root.webex.SaveTokensRequest();
|
|
6883
|
+
if (d.organizationId != null) {
|
|
6884
|
+
m.organizationId = d.organizationId | 0;
|
|
6885
|
+
}
|
|
6886
|
+
if (d.accessToken != null) {
|
|
6887
|
+
m.accessToken = String(d.accessToken);
|
|
6888
|
+
}
|
|
6889
|
+
if (d.refreshToken != null) {
|
|
6890
|
+
m.refreshToken = String(d.refreshToken);
|
|
6891
|
+
}
|
|
6892
|
+
if (d.accessTokenExpiresIn != null) {
|
|
6893
|
+
if ($util.Long) (m.accessTokenExpiresIn = $util.Long.fromValue(d.accessTokenExpiresIn)).unsigned = false;else if (typeof d.accessTokenExpiresIn === "string") m.accessTokenExpiresIn = parseInt(d.accessTokenExpiresIn, 10);else if (typeof d.accessTokenExpiresIn === "number") m.accessTokenExpiresIn = d.accessTokenExpiresIn;else if (typeof d.accessTokenExpiresIn === "object") m.accessTokenExpiresIn = new $util.LongBits(d.accessTokenExpiresIn.low >>> 0, d.accessTokenExpiresIn.high >>> 0).toNumber();
|
|
6894
|
+
}
|
|
6895
|
+
if (d.refreshTokenExpiresIn != null) {
|
|
6896
|
+
if ($util.Long) (m.refreshTokenExpiresIn = $util.Long.fromValue(d.refreshTokenExpiresIn)).unsigned = false;else if (typeof d.refreshTokenExpiresIn === "string") m.refreshTokenExpiresIn = parseInt(d.refreshTokenExpiresIn, 10);else if (typeof d.refreshTokenExpiresIn === "number") m.refreshTokenExpiresIn = d.refreshTokenExpiresIn;else if (typeof d.refreshTokenExpiresIn === "object") m.refreshTokenExpiresIn = new $util.LongBits(d.refreshTokenExpiresIn.low >>> 0, d.refreshTokenExpiresIn.high >>> 0).toNumber();
|
|
6897
|
+
}
|
|
6898
|
+
return m;
|
|
6899
|
+
};
|
|
6900
|
+
SaveTokensRequest.toObject = function toObject(m, o) {
|
|
6901
|
+
if (!o) o = {};
|
|
6902
|
+
var d = {};
|
|
6903
|
+
if (o.defaults) {
|
|
6904
|
+
d.organizationId = 0;
|
|
6905
|
+
d.accessToken = "";
|
|
6906
|
+
d.refreshToken = "";
|
|
6907
|
+
if ($util.Long) {
|
|
6908
|
+
var n = new $util.Long(0, 0, false);
|
|
6909
|
+
d.accessTokenExpiresIn = o.longs === String ? n.toString() : o.longs === Number ? n.toNumber() : n;
|
|
6910
|
+
} else d.accessTokenExpiresIn = o.longs === String ? "0" : 0;
|
|
6911
|
+
if ($util.Long) {
|
|
6912
|
+
var n = new $util.Long(0, 0, false);
|
|
6913
|
+
d.refreshTokenExpiresIn = o.longs === String ? n.toString() : o.longs === Number ? n.toNumber() : n;
|
|
6914
|
+
} else d.refreshTokenExpiresIn = o.longs === String ? "0" : 0;
|
|
6915
|
+
}
|
|
6916
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
6917
|
+
d.organizationId = m.organizationId;
|
|
6918
|
+
}
|
|
6919
|
+
if (m.accessToken != null && m.hasOwnProperty("accessToken")) {
|
|
6920
|
+
d.accessToken = m.accessToken;
|
|
6921
|
+
}
|
|
6922
|
+
if (m.refreshToken != null && m.hasOwnProperty("refreshToken")) {
|
|
6923
|
+
d.refreshToken = m.refreshToken;
|
|
6924
|
+
}
|
|
6925
|
+
if (m.accessTokenExpiresIn != null && m.hasOwnProperty("accessTokenExpiresIn")) {
|
|
6926
|
+
if (typeof m.accessTokenExpiresIn === "number") d.accessTokenExpiresIn = o.longs === String ? String(m.accessTokenExpiresIn) : m.accessTokenExpiresIn;else d.accessTokenExpiresIn = o.longs === String ? $util.Long.prototype.toString.call(m.accessTokenExpiresIn) : o.longs === Number ? new $util.LongBits(m.accessTokenExpiresIn.low >>> 0, m.accessTokenExpiresIn.high >>> 0).toNumber() : m.accessTokenExpiresIn;
|
|
6927
|
+
}
|
|
6928
|
+
if (m.refreshTokenExpiresIn != null && m.hasOwnProperty("refreshTokenExpiresIn")) {
|
|
6929
|
+
if (typeof m.refreshTokenExpiresIn === "number") d.refreshTokenExpiresIn = o.longs === String ? String(m.refreshTokenExpiresIn) : m.refreshTokenExpiresIn;else d.refreshTokenExpiresIn = o.longs === String ? $util.Long.prototype.toString.call(m.refreshTokenExpiresIn) : o.longs === Number ? new $util.LongBits(m.refreshTokenExpiresIn.low >>> 0, m.refreshTokenExpiresIn.high >>> 0).toNumber() : m.refreshTokenExpiresIn;
|
|
6930
|
+
}
|
|
6931
|
+
return d;
|
|
6932
|
+
};
|
|
6933
|
+
SaveTokensRequest.prototype.toJSON = function toJSON() {
|
|
6934
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6935
|
+
};
|
|
6936
|
+
return SaveTokensRequest;
|
|
6937
|
+
}();
|
|
6938
|
+
webex.ListMeetingParticipantsRequest = function () {
|
|
6939
|
+
function ListMeetingParticipantsRequest(p) {
|
|
6940
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
6941
|
+
}
|
|
6942
|
+
ListMeetingParticipantsRequest.prototype.organizationId = 0;
|
|
6943
|
+
ListMeetingParticipantsRequest.prototype.webexMeetingNumber = "";
|
|
6944
|
+
ListMeetingParticipantsRequest.create = function create(properties) {
|
|
6945
|
+
return new ListMeetingParticipantsRequest(properties);
|
|
6946
|
+
};
|
|
6947
|
+
ListMeetingParticipantsRequest.encode = function encode(m, w) {
|
|
6948
|
+
if (!w) w = $Writer.create();
|
|
6949
|
+
if (m.organizationId != null && Object.hasOwnProperty.call(m, "organizationId")) w.uint32(8).int32(m.organizationId);
|
|
6950
|
+
if (m.webexMeetingNumber != null && Object.hasOwnProperty.call(m, "webexMeetingNumber")) w.uint32(18).string(m.webexMeetingNumber);
|
|
6951
|
+
return w;
|
|
6952
|
+
};
|
|
6953
|
+
ListMeetingParticipantsRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
6954
|
+
return this.encode(message, writer).ldelim();
|
|
6955
|
+
};
|
|
6956
|
+
ListMeetingParticipantsRequest.decode = function decode(r, l) {
|
|
6957
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
6958
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
6959
|
+
m = new $root.webex.ListMeetingParticipantsRequest();
|
|
6960
|
+
while (r.pos < c) {
|
|
6961
|
+
var t = r.uint32();
|
|
6962
|
+
switch (t >>> 3) {
|
|
6963
|
+
case 1:
|
|
6964
|
+
m.organizationId = r.int32();
|
|
6965
|
+
break;
|
|
6966
|
+
case 2:
|
|
6967
|
+
m.webexMeetingNumber = r.string();
|
|
6968
|
+
break;
|
|
6969
|
+
default:
|
|
6970
|
+
r.skipType(t & 7);
|
|
6971
|
+
break;
|
|
6972
|
+
}
|
|
6973
|
+
}
|
|
6974
|
+
return m;
|
|
6975
|
+
};
|
|
6976
|
+
ListMeetingParticipantsRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
6977
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
6978
|
+
return this.decode(reader, reader.uint32());
|
|
6979
|
+
};
|
|
6980
|
+
ListMeetingParticipantsRequest.verify = function verify(m) {
|
|
6981
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
6982
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
6983
|
+
if (!$util.isInteger(m.organizationId)) return "organizationId: integer expected";
|
|
6984
|
+
}
|
|
6985
|
+
if (m.webexMeetingNumber != null && m.hasOwnProperty("webexMeetingNumber")) {
|
|
6986
|
+
if (!$util.isString(m.webexMeetingNumber)) return "webexMeetingNumber: string expected";
|
|
6987
|
+
}
|
|
6988
|
+
return null;
|
|
6989
|
+
};
|
|
6990
|
+
ListMeetingParticipantsRequest.fromObject = function fromObject(d) {
|
|
6991
|
+
if (d instanceof $root.webex.ListMeetingParticipantsRequest) return d;
|
|
6992
|
+
var m = new $root.webex.ListMeetingParticipantsRequest();
|
|
6993
|
+
if (d.organizationId != null) {
|
|
6994
|
+
m.organizationId = d.organizationId | 0;
|
|
6995
|
+
}
|
|
6996
|
+
if (d.webexMeetingNumber != null) {
|
|
6997
|
+
m.webexMeetingNumber = String(d.webexMeetingNumber);
|
|
6998
|
+
}
|
|
6999
|
+
return m;
|
|
7000
|
+
};
|
|
7001
|
+
ListMeetingParticipantsRequest.toObject = function toObject(m, o) {
|
|
7002
|
+
if (!o) o = {};
|
|
7003
|
+
var d = {};
|
|
7004
|
+
if (o.defaults) {
|
|
7005
|
+
d.organizationId = 0;
|
|
7006
|
+
d.webexMeetingNumber = "";
|
|
7007
|
+
}
|
|
7008
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
7009
|
+
d.organizationId = m.organizationId;
|
|
7010
|
+
}
|
|
7011
|
+
if (m.webexMeetingNumber != null && m.hasOwnProperty("webexMeetingNumber")) {
|
|
7012
|
+
d.webexMeetingNumber = m.webexMeetingNumber;
|
|
7013
|
+
}
|
|
7014
|
+
return d;
|
|
7015
|
+
};
|
|
7016
|
+
ListMeetingParticipantsRequest.prototype.toJSON = function toJSON() {
|
|
7017
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7018
|
+
};
|
|
7019
|
+
return ListMeetingParticipantsRequest;
|
|
7020
|
+
}();
|
|
7021
|
+
webex.ListMeetingParticipantsResponse = function () {
|
|
7022
|
+
function ListMeetingParticipantsResponse(p) {
|
|
7023
|
+
this.participants = [];
|
|
7024
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
7025
|
+
}
|
|
7026
|
+
ListMeetingParticipantsResponse.prototype.participants = $util.emptyArray;
|
|
7027
|
+
ListMeetingParticipantsResponse.create = function create(properties) {
|
|
7028
|
+
return new ListMeetingParticipantsResponse(properties);
|
|
7029
|
+
};
|
|
7030
|
+
ListMeetingParticipantsResponse.encode = function encode(m, w) {
|
|
7031
|
+
if (!w) w = $Writer.create();
|
|
7032
|
+
if (m.participants != null && m.participants.length) {
|
|
7033
|
+
for (var i = 0; i < m.participants.length; ++i) w.uint32(10).string(m.participants[i]);
|
|
7034
|
+
}
|
|
7035
|
+
return w;
|
|
7036
|
+
};
|
|
7037
|
+
ListMeetingParticipantsResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7038
|
+
return this.encode(message, writer).ldelim();
|
|
7039
|
+
};
|
|
7040
|
+
ListMeetingParticipantsResponse.decode = function decode(r, l) {
|
|
7041
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
7042
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
7043
|
+
m = new $root.webex.ListMeetingParticipantsResponse();
|
|
7044
|
+
while (r.pos < c) {
|
|
7045
|
+
var t = r.uint32();
|
|
7046
|
+
switch (t >>> 3) {
|
|
7047
|
+
case 1:
|
|
7048
|
+
if (!(m.participants && m.participants.length)) m.participants = [];
|
|
7049
|
+
m.participants.push(r.string());
|
|
7050
|
+
break;
|
|
7051
|
+
default:
|
|
7052
|
+
r.skipType(t & 7);
|
|
7053
|
+
break;
|
|
7054
|
+
}
|
|
7055
|
+
}
|
|
7056
|
+
return m;
|
|
7057
|
+
};
|
|
7058
|
+
ListMeetingParticipantsResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
7059
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
7060
|
+
return this.decode(reader, reader.uint32());
|
|
7061
|
+
};
|
|
7062
|
+
ListMeetingParticipantsResponse.verify = function verify(m) {
|
|
7063
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
7064
|
+
if (m.participants != null && m.hasOwnProperty("participants")) {
|
|
7065
|
+
if (!Array.isArray(m.participants)) return "participants: array expected";
|
|
7066
|
+
for (var i = 0; i < m.participants.length; ++i) {
|
|
7067
|
+
if (!$util.isString(m.participants[i])) return "participants: string[] expected";
|
|
7068
|
+
}
|
|
7069
|
+
}
|
|
7070
|
+
return null;
|
|
7071
|
+
};
|
|
7072
|
+
ListMeetingParticipantsResponse.fromObject = function fromObject(d) {
|
|
7073
|
+
if (d instanceof $root.webex.ListMeetingParticipantsResponse) return d;
|
|
7074
|
+
var m = new $root.webex.ListMeetingParticipantsResponse();
|
|
7075
|
+
if (d.participants) {
|
|
7076
|
+
if (!Array.isArray(d.participants)) throw TypeError(".webex.ListMeetingParticipantsResponse.participants: array expected");
|
|
7077
|
+
m.participants = [];
|
|
7078
|
+
for (var i = 0; i < d.participants.length; ++i) {
|
|
7079
|
+
m.participants[i] = String(d.participants[i]);
|
|
7080
|
+
}
|
|
7081
|
+
}
|
|
7082
|
+
return m;
|
|
7083
|
+
};
|
|
7084
|
+
ListMeetingParticipantsResponse.toObject = function toObject(m, o) {
|
|
7085
|
+
if (!o) o = {};
|
|
7086
|
+
var d = {};
|
|
7087
|
+
if (o.arrays || o.defaults) {
|
|
7088
|
+
d.participants = [];
|
|
7089
|
+
}
|
|
7090
|
+
if (m.participants && m.participants.length) {
|
|
7091
|
+
d.participants = [];
|
|
7092
|
+
for (var j = 0; j < m.participants.length; ++j) {
|
|
7093
|
+
d.participants[j] = m.participants[j];
|
|
7094
|
+
}
|
|
7095
|
+
}
|
|
7096
|
+
return d;
|
|
7097
|
+
};
|
|
7098
|
+
ListMeetingParticipantsResponse.prototype.toJSON = function toJSON() {
|
|
7099
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7100
|
+
};
|
|
7101
|
+
return ListMeetingParticipantsResponse;
|
|
7102
|
+
}();
|
|
7103
|
+
webex.GetHostEmailRequest = function () {
|
|
7104
|
+
function GetHostEmailRequest(p) {
|
|
7105
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
7106
|
+
}
|
|
7107
|
+
GetHostEmailRequest.prototype.organizationId = 0;
|
|
7108
|
+
GetHostEmailRequest.prototype.webexMeetingNumber = null;
|
|
7109
|
+
GetHostEmailRequest.prototype.webLink = null;
|
|
7110
|
+
let $oneOfFields;
|
|
7111
|
+
Object.defineProperty(GetHostEmailRequest.prototype, "_webexMeetingNumber", {
|
|
7112
|
+
get: $util.oneOfGetter($oneOfFields = ["webexMeetingNumber"]),
|
|
7113
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
7114
|
+
});
|
|
7115
|
+
Object.defineProperty(GetHostEmailRequest.prototype, "_webLink", {
|
|
7116
|
+
get: $util.oneOfGetter($oneOfFields = ["webLink"]),
|
|
7117
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
7118
|
+
});
|
|
7119
|
+
GetHostEmailRequest.create = function create(properties) {
|
|
7120
|
+
return new GetHostEmailRequest(properties);
|
|
7121
|
+
};
|
|
7122
|
+
GetHostEmailRequest.encode = function encode(m, w) {
|
|
7123
|
+
if (!w) w = $Writer.create();
|
|
7124
|
+
if (m.organizationId != null && Object.hasOwnProperty.call(m, "organizationId")) w.uint32(8).int32(m.organizationId);
|
|
7125
|
+
if (m.webexMeetingNumber != null && Object.hasOwnProperty.call(m, "webexMeetingNumber")) w.uint32(18).string(m.webexMeetingNumber);
|
|
7126
|
+
if (m.webLink != null && Object.hasOwnProperty.call(m, "webLink")) w.uint32(26).string(m.webLink);
|
|
7127
|
+
return w;
|
|
7128
|
+
};
|
|
7129
|
+
GetHostEmailRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7130
|
+
return this.encode(message, writer).ldelim();
|
|
7131
|
+
};
|
|
7132
|
+
GetHostEmailRequest.decode = function decode(r, l) {
|
|
7133
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
7134
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
7135
|
+
m = new $root.webex.GetHostEmailRequest();
|
|
7136
|
+
while (r.pos < c) {
|
|
7137
|
+
var t = r.uint32();
|
|
7138
|
+
switch (t >>> 3) {
|
|
7139
|
+
case 1:
|
|
7140
|
+
m.organizationId = r.int32();
|
|
7141
|
+
break;
|
|
7142
|
+
case 2:
|
|
7143
|
+
m.webexMeetingNumber = r.string();
|
|
7144
|
+
break;
|
|
7145
|
+
case 3:
|
|
7146
|
+
m.webLink = r.string();
|
|
7147
|
+
break;
|
|
7148
|
+
default:
|
|
7149
|
+
r.skipType(t & 7);
|
|
7150
|
+
break;
|
|
7151
|
+
}
|
|
7152
|
+
}
|
|
7153
|
+
return m;
|
|
7154
|
+
};
|
|
7155
|
+
GetHostEmailRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
7156
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
7157
|
+
return this.decode(reader, reader.uint32());
|
|
7158
|
+
};
|
|
7159
|
+
GetHostEmailRequest.verify = function verify(m) {
|
|
7160
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
7161
|
+
var p = {};
|
|
7162
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
7163
|
+
if (!$util.isInteger(m.organizationId)) return "organizationId: integer expected";
|
|
7164
|
+
}
|
|
7165
|
+
if (m.webexMeetingNumber != null && m.hasOwnProperty("webexMeetingNumber")) {
|
|
7166
|
+
p._webexMeetingNumber = 1;
|
|
7167
|
+
if (!$util.isString(m.webexMeetingNumber)) return "webexMeetingNumber: string expected";
|
|
7168
|
+
}
|
|
7169
|
+
if (m.webLink != null && m.hasOwnProperty("webLink")) {
|
|
7170
|
+
p._webLink = 1;
|
|
7171
|
+
if (!$util.isString(m.webLink)) return "webLink: string expected";
|
|
7172
|
+
}
|
|
7173
|
+
return null;
|
|
7174
|
+
};
|
|
7175
|
+
GetHostEmailRequest.fromObject = function fromObject(d) {
|
|
7176
|
+
if (d instanceof $root.webex.GetHostEmailRequest) return d;
|
|
7177
|
+
var m = new $root.webex.GetHostEmailRequest();
|
|
7178
|
+
if (d.organizationId != null) {
|
|
7179
|
+
m.organizationId = d.organizationId | 0;
|
|
7180
|
+
}
|
|
7181
|
+
if (d.webexMeetingNumber != null) {
|
|
7182
|
+
m.webexMeetingNumber = String(d.webexMeetingNumber);
|
|
7183
|
+
}
|
|
7184
|
+
if (d.webLink != null) {
|
|
7185
|
+
m.webLink = String(d.webLink);
|
|
7186
|
+
}
|
|
7187
|
+
return m;
|
|
7188
|
+
};
|
|
7189
|
+
GetHostEmailRequest.toObject = function toObject(m, o) {
|
|
7190
|
+
if (!o) o = {};
|
|
7191
|
+
var d = {};
|
|
7192
|
+
if (o.defaults) {
|
|
7193
|
+
d.organizationId = 0;
|
|
7194
|
+
}
|
|
7195
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
7196
|
+
d.organizationId = m.organizationId;
|
|
7197
|
+
}
|
|
7198
|
+
if (m.webexMeetingNumber != null && m.hasOwnProperty("webexMeetingNumber")) {
|
|
7199
|
+
d.webexMeetingNumber = m.webexMeetingNumber;
|
|
7200
|
+
if (o.oneofs) d._webexMeetingNumber = "webexMeetingNumber";
|
|
7201
|
+
}
|
|
7202
|
+
if (m.webLink != null && m.hasOwnProperty("webLink")) {
|
|
7203
|
+
d.webLink = m.webLink;
|
|
7204
|
+
if (o.oneofs) d._webLink = "webLink";
|
|
7205
|
+
}
|
|
7206
|
+
return d;
|
|
7207
|
+
};
|
|
7208
|
+
GetHostEmailRequest.prototype.toJSON = function toJSON() {
|
|
7209
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7210
|
+
};
|
|
7211
|
+
return GetHostEmailRequest;
|
|
7212
|
+
}();
|
|
7213
|
+
webex.GetHostEmailResponse = function () {
|
|
7214
|
+
function GetHostEmailResponse(p) {
|
|
7215
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
7216
|
+
}
|
|
7217
|
+
GetHostEmailResponse.prototype.email = "";
|
|
7218
|
+
GetHostEmailResponse.create = function create(properties) {
|
|
7219
|
+
return new GetHostEmailResponse(properties);
|
|
7220
|
+
};
|
|
7221
|
+
GetHostEmailResponse.encode = function encode(m, w) {
|
|
7222
|
+
if (!w) w = $Writer.create();
|
|
7223
|
+
if (m.email != null && Object.hasOwnProperty.call(m, "email")) w.uint32(10).string(m.email);
|
|
7224
|
+
return w;
|
|
7225
|
+
};
|
|
7226
|
+
GetHostEmailResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7227
|
+
return this.encode(message, writer).ldelim();
|
|
7228
|
+
};
|
|
7229
|
+
GetHostEmailResponse.decode = function decode(r, l) {
|
|
7230
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
7231
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
7232
|
+
m = new $root.webex.GetHostEmailResponse();
|
|
7233
|
+
while (r.pos < c) {
|
|
7234
|
+
var t = r.uint32();
|
|
7235
|
+
switch (t >>> 3) {
|
|
7236
|
+
case 1:
|
|
7237
|
+
m.email = r.string();
|
|
7238
|
+
break;
|
|
7239
|
+
default:
|
|
7240
|
+
r.skipType(t & 7);
|
|
7241
|
+
break;
|
|
7242
|
+
}
|
|
7243
|
+
}
|
|
7244
|
+
return m;
|
|
7245
|
+
};
|
|
7246
|
+
GetHostEmailResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
7247
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
7248
|
+
return this.decode(reader, reader.uint32());
|
|
7249
|
+
};
|
|
7250
|
+
GetHostEmailResponse.verify = function verify(m) {
|
|
7251
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
7252
|
+
if (m.email != null && m.hasOwnProperty("email")) {
|
|
7253
|
+
if (!$util.isString(m.email)) return "email: string expected";
|
|
7254
|
+
}
|
|
7255
|
+
return null;
|
|
7256
|
+
};
|
|
7257
|
+
GetHostEmailResponse.fromObject = function fromObject(d) {
|
|
7258
|
+
if (d instanceof $root.webex.GetHostEmailResponse) return d;
|
|
7259
|
+
var m = new $root.webex.GetHostEmailResponse();
|
|
7260
|
+
if (d.email != null) {
|
|
7261
|
+
m.email = String(d.email);
|
|
7262
|
+
}
|
|
7263
|
+
return m;
|
|
7264
|
+
};
|
|
7265
|
+
GetHostEmailResponse.toObject = function toObject(m, o) {
|
|
7266
|
+
if (!o) o = {};
|
|
7267
|
+
var d = {};
|
|
7268
|
+
if (o.defaults) {
|
|
7269
|
+
d.email = "";
|
|
7270
|
+
}
|
|
7271
|
+
if (m.email != null && m.hasOwnProperty("email")) {
|
|
7272
|
+
d.email = m.email;
|
|
7273
|
+
}
|
|
7274
|
+
return d;
|
|
7275
|
+
};
|
|
7276
|
+
GetHostEmailResponse.prototype.toJSON = function toJSON() {
|
|
7277
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7278
|
+
};
|
|
7279
|
+
return GetHostEmailResponse;
|
|
7280
|
+
}();
|
|
7281
|
+
webex.GetIntegrationStatusRequest = function () {
|
|
7282
|
+
function GetIntegrationStatusRequest(p) {
|
|
7283
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
7284
|
+
}
|
|
7285
|
+
GetIntegrationStatusRequest.prototype.organizationId = 0;
|
|
7286
|
+
GetIntegrationStatusRequest.create = function create(properties) {
|
|
7287
|
+
return new GetIntegrationStatusRequest(properties);
|
|
7288
|
+
};
|
|
7289
|
+
GetIntegrationStatusRequest.encode = function encode(m, w) {
|
|
7290
|
+
if (!w) w = $Writer.create();
|
|
7291
|
+
if (m.organizationId != null && Object.hasOwnProperty.call(m, "organizationId")) w.uint32(8).int32(m.organizationId);
|
|
7292
|
+
return w;
|
|
7293
|
+
};
|
|
7294
|
+
GetIntegrationStatusRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7295
|
+
return this.encode(message, writer).ldelim();
|
|
7296
|
+
};
|
|
7297
|
+
GetIntegrationStatusRequest.decode = function decode(r, l) {
|
|
7298
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
7299
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
7300
|
+
m = new $root.webex.GetIntegrationStatusRequest();
|
|
7301
|
+
while (r.pos < c) {
|
|
7302
|
+
var t = r.uint32();
|
|
7303
|
+
switch (t >>> 3) {
|
|
7304
|
+
case 1:
|
|
7305
|
+
m.organizationId = r.int32();
|
|
7306
|
+
break;
|
|
7307
|
+
default:
|
|
7308
|
+
r.skipType(t & 7);
|
|
7309
|
+
break;
|
|
7310
|
+
}
|
|
7311
|
+
}
|
|
7312
|
+
return m;
|
|
7313
|
+
};
|
|
7314
|
+
GetIntegrationStatusRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
7315
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
7316
|
+
return this.decode(reader, reader.uint32());
|
|
7317
|
+
};
|
|
7318
|
+
GetIntegrationStatusRequest.verify = function verify(m) {
|
|
7319
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
7320
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
7321
|
+
if (!$util.isInteger(m.organizationId)) return "organizationId: integer expected";
|
|
7322
|
+
}
|
|
7323
|
+
return null;
|
|
7324
|
+
};
|
|
7325
|
+
GetIntegrationStatusRequest.fromObject = function fromObject(d) {
|
|
7326
|
+
if (d instanceof $root.webex.GetIntegrationStatusRequest) return d;
|
|
7327
|
+
var m = new $root.webex.GetIntegrationStatusRequest();
|
|
7328
|
+
if (d.organizationId != null) {
|
|
7329
|
+
m.organizationId = d.organizationId | 0;
|
|
7330
|
+
}
|
|
7331
|
+
return m;
|
|
7332
|
+
};
|
|
7333
|
+
GetIntegrationStatusRequest.toObject = function toObject(m, o) {
|
|
7334
|
+
if (!o) o = {};
|
|
7335
|
+
var d = {};
|
|
7336
|
+
if (o.defaults) {
|
|
7337
|
+
d.organizationId = 0;
|
|
7338
|
+
}
|
|
7339
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
7340
|
+
d.organizationId = m.organizationId;
|
|
7341
|
+
}
|
|
7342
|
+
return d;
|
|
7343
|
+
};
|
|
7344
|
+
GetIntegrationStatusRequest.prototype.toJSON = function toJSON() {
|
|
7345
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7346
|
+
};
|
|
7347
|
+
return GetIntegrationStatusRequest;
|
|
7348
|
+
}();
|
|
7349
|
+
webex.GetWebexIntegrationStatusResponse = function () {
|
|
7350
|
+
function GetWebexIntegrationStatusResponse(p) {
|
|
7351
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
7352
|
+
}
|
|
7353
|
+
GetWebexIntegrationStatusResponse.prototype.status = 0;
|
|
7354
|
+
GetWebexIntegrationStatusResponse.prototype.accessTokenExpiresAt = null;
|
|
7355
|
+
GetWebexIntegrationStatusResponse.prototype.refreshTokenExpiresAt = null;
|
|
7356
|
+
GetWebexIntegrationStatusResponse.create = function create(properties) {
|
|
7357
|
+
return new GetWebexIntegrationStatusResponse(properties);
|
|
7358
|
+
};
|
|
7359
|
+
GetWebexIntegrationStatusResponse.encode = function encode(m, w) {
|
|
7360
|
+
if (!w) w = $Writer.create();
|
|
7361
|
+
if (m.status != null && Object.hasOwnProperty.call(m, "status")) w.uint32(8).int32(m.status);
|
|
7362
|
+
if (m.accessTokenExpiresAt != null && Object.hasOwnProperty.call(m, "accessTokenExpiresAt")) $root.google.protobuf.Timestamp.encode(m.accessTokenExpiresAt, w.uint32(18).fork()).ldelim();
|
|
7363
|
+
if (m.refreshTokenExpiresAt != null && Object.hasOwnProperty.call(m, "refreshTokenExpiresAt")) $root.google.protobuf.Timestamp.encode(m.refreshTokenExpiresAt, w.uint32(26).fork()).ldelim();
|
|
7364
|
+
return w;
|
|
7365
|
+
};
|
|
7366
|
+
GetWebexIntegrationStatusResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7367
|
+
return this.encode(message, writer).ldelim();
|
|
7368
|
+
};
|
|
7369
|
+
GetWebexIntegrationStatusResponse.decode = function decode(r, l) {
|
|
7370
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
7371
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
7372
|
+
m = new $root.webex.GetWebexIntegrationStatusResponse();
|
|
7373
|
+
while (r.pos < c) {
|
|
7374
|
+
var t = r.uint32();
|
|
7375
|
+
switch (t >>> 3) {
|
|
7376
|
+
case 1:
|
|
7377
|
+
m.status = r.int32();
|
|
7378
|
+
break;
|
|
7379
|
+
case 2:
|
|
7380
|
+
m.accessTokenExpiresAt = $root.google.protobuf.Timestamp.decode(r, r.uint32());
|
|
7381
|
+
break;
|
|
7382
|
+
case 3:
|
|
7383
|
+
m.refreshTokenExpiresAt = $root.google.protobuf.Timestamp.decode(r, r.uint32());
|
|
7384
|
+
break;
|
|
7385
|
+
default:
|
|
7386
|
+
r.skipType(t & 7);
|
|
7387
|
+
break;
|
|
7388
|
+
}
|
|
7389
|
+
}
|
|
7390
|
+
return m;
|
|
7391
|
+
};
|
|
7392
|
+
GetWebexIntegrationStatusResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
7393
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
7394
|
+
return this.decode(reader, reader.uint32());
|
|
7395
|
+
};
|
|
7396
|
+
GetWebexIntegrationStatusResponse.verify = function verify(m) {
|
|
7397
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
7398
|
+
if (m.status != null && m.hasOwnProperty("status")) {
|
|
7399
|
+
switch (m.status) {
|
|
7400
|
+
default:
|
|
7401
|
+
return "status: enum value expected";
|
|
7402
|
+
case 0:
|
|
7403
|
+
case 1:
|
|
7404
|
+
case 2:
|
|
7405
|
+
case 3:
|
|
7406
|
+
break;
|
|
7407
|
+
}
|
|
7408
|
+
}
|
|
7409
|
+
if (m.accessTokenExpiresAt != null && m.hasOwnProperty("accessTokenExpiresAt")) {
|
|
7410
|
+
{
|
|
7411
|
+
var e = $root.google.protobuf.Timestamp.verify(m.accessTokenExpiresAt);
|
|
7412
|
+
if (e) return "accessTokenExpiresAt." + e;
|
|
7413
|
+
}
|
|
7414
|
+
}
|
|
7415
|
+
if (m.refreshTokenExpiresAt != null && m.hasOwnProperty("refreshTokenExpiresAt")) {
|
|
7416
|
+
{
|
|
7417
|
+
var e = $root.google.protobuf.Timestamp.verify(m.refreshTokenExpiresAt);
|
|
7418
|
+
if (e) return "refreshTokenExpiresAt." + e;
|
|
7419
|
+
}
|
|
7420
|
+
}
|
|
7421
|
+
return null;
|
|
7422
|
+
};
|
|
7423
|
+
GetWebexIntegrationStatusResponse.fromObject = function fromObject(d) {
|
|
7424
|
+
if (d instanceof $root.webex.GetWebexIntegrationStatusResponse) return d;
|
|
7425
|
+
var m = new $root.webex.GetWebexIntegrationStatusResponse();
|
|
7426
|
+
switch (d.status) {
|
|
7427
|
+
case "UNKNOWN_STATUS":
|
|
7428
|
+
case 0:
|
|
7429
|
+
m.status = 0;
|
|
7430
|
+
break;
|
|
7431
|
+
case "ACTIVE":
|
|
7432
|
+
case 1:
|
|
7433
|
+
m.status = 1;
|
|
7434
|
+
break;
|
|
7435
|
+
case "NEEDS_REAUTH":
|
|
7436
|
+
case 2:
|
|
7437
|
+
m.status = 2;
|
|
7438
|
+
break;
|
|
7439
|
+
case "NOT_FOUND":
|
|
7440
|
+
case 3:
|
|
7441
|
+
m.status = 3;
|
|
7442
|
+
break;
|
|
7443
|
+
}
|
|
7444
|
+
if (d.accessTokenExpiresAt != null) {
|
|
7445
|
+
if (typeof d.accessTokenExpiresAt !== "object") throw TypeError(".webex.GetWebexIntegrationStatusResponse.accessTokenExpiresAt: object expected");
|
|
7446
|
+
m.accessTokenExpiresAt = $root.google.protobuf.Timestamp.fromObject(d.accessTokenExpiresAt);
|
|
7447
|
+
}
|
|
7448
|
+
if (d.refreshTokenExpiresAt != null) {
|
|
7449
|
+
if (typeof d.refreshTokenExpiresAt !== "object") throw TypeError(".webex.GetWebexIntegrationStatusResponse.refreshTokenExpiresAt: object expected");
|
|
7450
|
+
m.refreshTokenExpiresAt = $root.google.protobuf.Timestamp.fromObject(d.refreshTokenExpiresAt);
|
|
7451
|
+
}
|
|
7452
|
+
return m;
|
|
7453
|
+
};
|
|
7454
|
+
GetWebexIntegrationStatusResponse.toObject = function toObject(m, o) {
|
|
7455
|
+
if (!o) o = {};
|
|
7456
|
+
var d = {};
|
|
7457
|
+
if (o.defaults) {
|
|
7458
|
+
d.status = o.enums === String ? "UNKNOWN_STATUS" : 0;
|
|
7459
|
+
d.accessTokenExpiresAt = null;
|
|
7460
|
+
d.refreshTokenExpiresAt = null;
|
|
7461
|
+
}
|
|
7462
|
+
if (m.status != null && m.hasOwnProperty("status")) {
|
|
7463
|
+
d.status = o.enums === String ? $root.webex.IntegrationStatus[m.status] : m.status;
|
|
7464
|
+
}
|
|
7465
|
+
if (m.accessTokenExpiresAt != null && m.hasOwnProperty("accessTokenExpiresAt")) {
|
|
7466
|
+
d.accessTokenExpiresAt = $root.google.protobuf.Timestamp.toObject(m.accessTokenExpiresAt, o);
|
|
7467
|
+
}
|
|
7468
|
+
if (m.refreshTokenExpiresAt != null && m.hasOwnProperty("refreshTokenExpiresAt")) {
|
|
7469
|
+
d.refreshTokenExpiresAt = $root.google.protobuf.Timestamp.toObject(m.refreshTokenExpiresAt, o);
|
|
7470
|
+
}
|
|
7471
|
+
return d;
|
|
7472
|
+
};
|
|
7473
|
+
GetWebexIntegrationStatusResponse.prototype.toJSON = function toJSON() {
|
|
7474
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7475
|
+
};
|
|
7476
|
+
return GetWebexIntegrationStatusResponse;
|
|
7477
|
+
}();
|
|
7478
|
+
webex.GetMicrosoftIntegrationStatusResponse = function () {
|
|
7479
|
+
function GetMicrosoftIntegrationStatusResponse(p) {
|
|
7480
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
7481
|
+
}
|
|
7482
|
+
GetMicrosoftIntegrationStatusResponse.prototype.status = 0;
|
|
7483
|
+
GetMicrosoftIntegrationStatusResponse.prototype.tenantId = "";
|
|
7484
|
+
GetMicrosoftIntegrationStatusResponse.create = function create(properties) {
|
|
7485
|
+
return new GetMicrosoftIntegrationStatusResponse(properties);
|
|
7486
|
+
};
|
|
7487
|
+
GetMicrosoftIntegrationStatusResponse.encode = function encode(m, w) {
|
|
7488
|
+
if (!w) w = $Writer.create();
|
|
7489
|
+
if (m.status != null && Object.hasOwnProperty.call(m, "status")) w.uint32(8).int32(m.status);
|
|
7490
|
+
if (m.tenantId != null && Object.hasOwnProperty.call(m, "tenantId")) w.uint32(18).string(m.tenantId);
|
|
7491
|
+
return w;
|
|
7492
|
+
};
|
|
7493
|
+
GetMicrosoftIntegrationStatusResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7494
|
+
return this.encode(message, writer).ldelim();
|
|
7495
|
+
};
|
|
7496
|
+
GetMicrosoftIntegrationStatusResponse.decode = function decode(r, l) {
|
|
7497
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
7498
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
7499
|
+
m = new $root.webex.GetMicrosoftIntegrationStatusResponse();
|
|
7500
|
+
while (r.pos < c) {
|
|
7501
|
+
var t = r.uint32();
|
|
7502
|
+
switch (t >>> 3) {
|
|
7503
|
+
case 1:
|
|
7504
|
+
m.status = r.int32();
|
|
7505
|
+
break;
|
|
7506
|
+
case 2:
|
|
7507
|
+
m.tenantId = r.string();
|
|
7508
|
+
break;
|
|
7509
|
+
default:
|
|
7510
|
+
r.skipType(t & 7);
|
|
7511
|
+
break;
|
|
7512
|
+
}
|
|
7513
|
+
}
|
|
7514
|
+
return m;
|
|
7515
|
+
};
|
|
7516
|
+
GetMicrosoftIntegrationStatusResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
7517
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
7518
|
+
return this.decode(reader, reader.uint32());
|
|
7519
|
+
};
|
|
7520
|
+
GetMicrosoftIntegrationStatusResponse.verify = function verify(m) {
|
|
7521
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
7522
|
+
if (m.status != null && m.hasOwnProperty("status")) {
|
|
7523
|
+
switch (m.status) {
|
|
7524
|
+
default:
|
|
7525
|
+
return "status: enum value expected";
|
|
7526
|
+
case 0:
|
|
7527
|
+
case 1:
|
|
7528
|
+
case 2:
|
|
7529
|
+
case 3:
|
|
7530
|
+
break;
|
|
7531
|
+
}
|
|
7532
|
+
}
|
|
7533
|
+
if (m.tenantId != null && m.hasOwnProperty("tenantId")) {
|
|
7534
|
+
if (!$util.isString(m.tenantId)) return "tenantId: string expected";
|
|
7535
|
+
}
|
|
7536
|
+
return null;
|
|
7537
|
+
};
|
|
7538
|
+
GetMicrosoftIntegrationStatusResponse.fromObject = function fromObject(d) {
|
|
7539
|
+
if (d instanceof $root.webex.GetMicrosoftIntegrationStatusResponse) return d;
|
|
7540
|
+
var m = new $root.webex.GetMicrosoftIntegrationStatusResponse();
|
|
7541
|
+
switch (d.status) {
|
|
7542
|
+
case "UNKNOWN_STATUS":
|
|
7543
|
+
case 0:
|
|
7544
|
+
m.status = 0;
|
|
7545
|
+
break;
|
|
7546
|
+
case "ACTIVE":
|
|
7547
|
+
case 1:
|
|
7548
|
+
m.status = 1;
|
|
7549
|
+
break;
|
|
7550
|
+
case "NEEDS_REAUTH":
|
|
7551
|
+
case 2:
|
|
7552
|
+
m.status = 2;
|
|
7553
|
+
break;
|
|
7554
|
+
case "NOT_FOUND":
|
|
7555
|
+
case 3:
|
|
7556
|
+
m.status = 3;
|
|
7557
|
+
break;
|
|
7558
|
+
}
|
|
7559
|
+
if (d.tenantId != null) {
|
|
7560
|
+
m.tenantId = String(d.tenantId);
|
|
7561
|
+
}
|
|
7562
|
+
return m;
|
|
7563
|
+
};
|
|
7564
|
+
GetMicrosoftIntegrationStatusResponse.toObject = function toObject(m, o) {
|
|
7565
|
+
if (!o) o = {};
|
|
7566
|
+
var d = {};
|
|
7567
|
+
if (o.defaults) {
|
|
7568
|
+
d.status = o.enums === String ? "UNKNOWN_STATUS" : 0;
|
|
7569
|
+
d.tenantId = "";
|
|
7570
|
+
}
|
|
7571
|
+
if (m.status != null && m.hasOwnProperty("status")) {
|
|
7572
|
+
d.status = o.enums === String ? $root.webex.IntegrationStatus[m.status] : m.status;
|
|
7573
|
+
}
|
|
7574
|
+
if (m.tenantId != null && m.hasOwnProperty("tenantId")) {
|
|
7575
|
+
d.tenantId = m.tenantId;
|
|
7576
|
+
}
|
|
7577
|
+
return d;
|
|
7578
|
+
};
|
|
7579
|
+
GetMicrosoftIntegrationStatusResponse.prototype.toJSON = function toJSON() {
|
|
7580
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7581
|
+
};
|
|
7582
|
+
return GetMicrosoftIntegrationStatusResponse;
|
|
7583
|
+
}();
|
|
7584
|
+
webex.SaveTenantRequest = function () {
|
|
7585
|
+
function SaveTenantRequest(p) {
|
|
7586
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
7587
|
+
}
|
|
7588
|
+
SaveTenantRequest.prototype.organizationId = 0;
|
|
7589
|
+
SaveTenantRequest.prototype.tenantId = "";
|
|
7590
|
+
SaveTenantRequest.create = function create(properties) {
|
|
7591
|
+
return new SaveTenantRequest(properties);
|
|
7592
|
+
};
|
|
7593
|
+
SaveTenantRequest.encode = function encode(m, w) {
|
|
7594
|
+
if (!w) w = $Writer.create();
|
|
7595
|
+
if (m.organizationId != null && Object.hasOwnProperty.call(m, "organizationId")) w.uint32(8).int32(m.organizationId);
|
|
7596
|
+
if (m.tenantId != null && Object.hasOwnProperty.call(m, "tenantId")) w.uint32(18).string(m.tenantId);
|
|
7597
|
+
return w;
|
|
7598
|
+
};
|
|
7599
|
+
SaveTenantRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7600
|
+
return this.encode(message, writer).ldelim();
|
|
7601
|
+
};
|
|
7602
|
+
SaveTenantRequest.decode = function decode(r, l) {
|
|
7603
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
7604
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
7605
|
+
m = new $root.webex.SaveTenantRequest();
|
|
7606
|
+
while (r.pos < c) {
|
|
7607
|
+
var t = r.uint32();
|
|
7608
|
+
switch (t >>> 3) {
|
|
7609
|
+
case 1:
|
|
7610
|
+
m.organizationId = r.int32();
|
|
7611
|
+
break;
|
|
7612
|
+
case 2:
|
|
7613
|
+
m.tenantId = r.string();
|
|
7614
|
+
break;
|
|
7615
|
+
default:
|
|
7616
|
+
r.skipType(t & 7);
|
|
7617
|
+
break;
|
|
7618
|
+
}
|
|
7619
|
+
}
|
|
7620
|
+
return m;
|
|
7621
|
+
};
|
|
7622
|
+
SaveTenantRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
7623
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
7624
|
+
return this.decode(reader, reader.uint32());
|
|
7625
|
+
};
|
|
7626
|
+
SaveTenantRequest.verify = function verify(m) {
|
|
7627
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
7628
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
7629
|
+
if (!$util.isInteger(m.organizationId)) return "organizationId: integer expected";
|
|
7630
|
+
}
|
|
7631
|
+
if (m.tenantId != null && m.hasOwnProperty("tenantId")) {
|
|
7632
|
+
if (!$util.isString(m.tenantId)) return "tenantId: string expected";
|
|
7633
|
+
}
|
|
7634
|
+
return null;
|
|
7635
|
+
};
|
|
7636
|
+
SaveTenantRequest.fromObject = function fromObject(d) {
|
|
7637
|
+
if (d instanceof $root.webex.SaveTenantRequest) return d;
|
|
7638
|
+
var m = new $root.webex.SaveTenantRequest();
|
|
7639
|
+
if (d.organizationId != null) {
|
|
7640
|
+
m.organizationId = d.organizationId | 0;
|
|
7641
|
+
}
|
|
7642
|
+
if (d.tenantId != null) {
|
|
7643
|
+
m.tenantId = String(d.tenantId);
|
|
7644
|
+
}
|
|
7645
|
+
return m;
|
|
7646
|
+
};
|
|
7647
|
+
SaveTenantRequest.toObject = function toObject(m, o) {
|
|
7648
|
+
if (!o) o = {};
|
|
7649
|
+
var d = {};
|
|
7650
|
+
if (o.defaults) {
|
|
7651
|
+
d.organizationId = 0;
|
|
7652
|
+
d.tenantId = "";
|
|
7653
|
+
}
|
|
7654
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
7655
|
+
d.organizationId = m.organizationId;
|
|
7656
|
+
}
|
|
7657
|
+
if (m.tenantId != null && m.hasOwnProperty("tenantId")) {
|
|
7658
|
+
d.tenantId = m.tenantId;
|
|
7659
|
+
}
|
|
7660
|
+
return d;
|
|
7661
|
+
};
|
|
7662
|
+
SaveTenantRequest.prototype.toJSON = function toJSON() {
|
|
7663
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7664
|
+
};
|
|
7665
|
+
return SaveTenantRequest;
|
|
7666
|
+
}();
|
|
7667
|
+
webex.ShareMeetingRequest = function () {
|
|
7668
|
+
function ShareMeetingRequest(p) {
|
|
7669
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
7670
|
+
}
|
|
7671
|
+
ShareMeetingRequest.prototype.organizationId = 0;
|
|
7672
|
+
ShareMeetingRequest.prototype.meetingUrl = "";
|
|
7673
|
+
ShareMeetingRequest.prototype.deviceOemNumber = "";
|
|
7674
|
+
ShareMeetingRequest.create = function create(properties) {
|
|
7675
|
+
return new ShareMeetingRequest(properties);
|
|
7676
|
+
};
|
|
7677
|
+
ShareMeetingRequest.encode = function encode(m, w) {
|
|
7678
|
+
if (!w) w = $Writer.create();
|
|
7679
|
+
if (m.organizationId != null && Object.hasOwnProperty.call(m, "organizationId")) w.uint32(8).int32(m.organizationId);
|
|
7680
|
+
if (m.meetingUrl != null && Object.hasOwnProperty.call(m, "meetingUrl")) w.uint32(18).string(m.meetingUrl);
|
|
7681
|
+
if (m.deviceOemNumber != null && Object.hasOwnProperty.call(m, "deviceOemNumber")) w.uint32(26).string(m.deviceOemNumber);
|
|
7682
|
+
return w;
|
|
7683
|
+
};
|
|
7684
|
+
ShareMeetingRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7685
|
+
return this.encode(message, writer).ldelim();
|
|
7686
|
+
};
|
|
7687
|
+
ShareMeetingRequest.decode = function decode(r, l) {
|
|
7688
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
7689
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
7690
|
+
m = new $root.webex.ShareMeetingRequest();
|
|
7691
|
+
while (r.pos < c) {
|
|
7692
|
+
var t = r.uint32();
|
|
7693
|
+
switch (t >>> 3) {
|
|
7694
|
+
case 1:
|
|
7695
|
+
m.organizationId = r.int32();
|
|
7696
|
+
break;
|
|
7697
|
+
case 2:
|
|
7698
|
+
m.meetingUrl = r.string();
|
|
7699
|
+
break;
|
|
7700
|
+
case 3:
|
|
7701
|
+
m.deviceOemNumber = r.string();
|
|
7702
|
+
break;
|
|
7703
|
+
default:
|
|
7704
|
+
r.skipType(t & 7);
|
|
7705
|
+
break;
|
|
7706
|
+
}
|
|
7707
|
+
}
|
|
7708
|
+
return m;
|
|
7709
|
+
};
|
|
7710
|
+
ShareMeetingRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
7711
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
7712
|
+
return this.decode(reader, reader.uint32());
|
|
7713
|
+
};
|
|
7714
|
+
ShareMeetingRequest.verify = function verify(m) {
|
|
7715
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
7716
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
7717
|
+
if (!$util.isInteger(m.organizationId)) return "organizationId: integer expected";
|
|
7718
|
+
}
|
|
7719
|
+
if (m.meetingUrl != null && m.hasOwnProperty("meetingUrl")) {
|
|
7720
|
+
if (!$util.isString(m.meetingUrl)) return "meetingUrl: string expected";
|
|
7721
|
+
}
|
|
7722
|
+
if (m.deviceOemNumber != null && m.hasOwnProperty("deviceOemNumber")) {
|
|
7723
|
+
if (!$util.isString(m.deviceOemNumber)) return "deviceOemNumber: string expected";
|
|
7724
|
+
}
|
|
7725
|
+
return null;
|
|
7726
|
+
};
|
|
7727
|
+
ShareMeetingRequest.fromObject = function fromObject(d) {
|
|
7728
|
+
if (d instanceof $root.webex.ShareMeetingRequest) return d;
|
|
7729
|
+
var m = new $root.webex.ShareMeetingRequest();
|
|
7730
|
+
if (d.organizationId != null) {
|
|
7731
|
+
m.organizationId = d.organizationId | 0;
|
|
7732
|
+
}
|
|
7733
|
+
if (d.meetingUrl != null) {
|
|
7734
|
+
m.meetingUrl = String(d.meetingUrl);
|
|
7735
|
+
}
|
|
7736
|
+
if (d.deviceOemNumber != null) {
|
|
7737
|
+
m.deviceOemNumber = String(d.deviceOemNumber);
|
|
7738
|
+
}
|
|
7739
|
+
return m;
|
|
7740
|
+
};
|
|
7741
|
+
ShareMeetingRequest.toObject = function toObject(m, o) {
|
|
7742
|
+
if (!o) o = {};
|
|
7743
|
+
var d = {};
|
|
7744
|
+
if (o.defaults) {
|
|
7745
|
+
d.organizationId = 0;
|
|
7746
|
+
d.meetingUrl = "";
|
|
7747
|
+
d.deviceOemNumber = "";
|
|
7748
|
+
}
|
|
7749
|
+
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
7750
|
+
d.organizationId = m.organizationId;
|
|
7751
|
+
}
|
|
7752
|
+
if (m.meetingUrl != null && m.hasOwnProperty("meetingUrl")) {
|
|
7753
|
+
d.meetingUrl = m.meetingUrl;
|
|
7754
|
+
}
|
|
7755
|
+
if (m.deviceOemNumber != null && m.hasOwnProperty("deviceOemNumber")) {
|
|
7756
|
+
d.deviceOemNumber = m.deviceOemNumber;
|
|
7757
|
+
}
|
|
7758
|
+
return d;
|
|
7759
|
+
};
|
|
7760
|
+
ShareMeetingRequest.prototype.toJSON = function toJSON() {
|
|
7761
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7762
|
+
};
|
|
7763
|
+
return ShareMeetingRequest;
|
|
7764
|
+
}();
|
|
7765
|
+
webex.ShareMeetingResponse = function () {
|
|
7766
|
+
function ShareMeetingResponse(p) {
|
|
7767
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
7768
|
+
}
|
|
7769
|
+
ShareMeetingResponse.prototype.status = 0;
|
|
7770
|
+
ShareMeetingResponse.create = function create(properties) {
|
|
7771
|
+
return new ShareMeetingResponse(properties);
|
|
7772
|
+
};
|
|
7773
|
+
ShareMeetingResponse.encode = function encode(m, w) {
|
|
7774
|
+
if (!w) w = $Writer.create();
|
|
7775
|
+
if (m.status != null && Object.hasOwnProperty.call(m, "status")) w.uint32(8).int32(m.status);
|
|
7776
|
+
return w;
|
|
7777
|
+
};
|
|
7778
|
+
ShareMeetingResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
7779
|
+
return this.encode(message, writer).ldelim();
|
|
7780
|
+
};
|
|
7781
|
+
ShareMeetingResponse.decode = function decode(r, l) {
|
|
7782
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
7783
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
7784
|
+
m = new $root.webex.ShareMeetingResponse();
|
|
7785
|
+
while (r.pos < c) {
|
|
7786
|
+
var t = r.uint32();
|
|
7787
|
+
switch (t >>> 3) {
|
|
7788
|
+
case 1:
|
|
7789
|
+
m.status = r.int32();
|
|
7790
|
+
break;
|
|
7791
|
+
default:
|
|
7792
|
+
r.skipType(t & 7);
|
|
7793
|
+
break;
|
|
7794
|
+
}
|
|
7795
|
+
}
|
|
7796
|
+
return m;
|
|
7797
|
+
};
|
|
7798
|
+
ShareMeetingResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
7799
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
7800
|
+
return this.decode(reader, reader.uint32());
|
|
7801
|
+
};
|
|
7802
|
+
ShareMeetingResponse.verify = function verify(m) {
|
|
7803
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
7804
|
+
if (m.status != null && m.hasOwnProperty("status")) {
|
|
7805
|
+
switch (m.status) {
|
|
7806
|
+
default:
|
|
7807
|
+
return "status: enum value expected";
|
|
7808
|
+
case 0:
|
|
7809
|
+
case 1:
|
|
7810
|
+
case 2:
|
|
7811
|
+
case 3:
|
|
7812
|
+
case 4:
|
|
7813
|
+
break;
|
|
7814
|
+
}
|
|
7815
|
+
}
|
|
7816
|
+
return null;
|
|
7817
|
+
};
|
|
7818
|
+
ShareMeetingResponse.fromObject = function fromObject(d) {
|
|
7819
|
+
if (d instanceof $root.webex.ShareMeetingResponse) return d;
|
|
7820
|
+
var m = new $root.webex.ShareMeetingResponse();
|
|
7821
|
+
switch (d.status) {
|
|
7822
|
+
case "UNKNOWN_SHARE_MEETING_STATUS":
|
|
7823
|
+
case 0:
|
|
7824
|
+
m.status = 0;
|
|
7825
|
+
break;
|
|
7826
|
+
case "SENT":
|
|
7827
|
+
case 1:
|
|
7828
|
+
m.status = 1;
|
|
7829
|
+
break;
|
|
7830
|
+
case "PENDING_BOT":
|
|
7831
|
+
case 2:
|
|
7832
|
+
m.status = 2;
|
|
7833
|
+
break;
|
|
7834
|
+
case "CURRENT_MEETING_NOT_FOUND":
|
|
7835
|
+
case 3:
|
|
7836
|
+
m.status = 3;
|
|
7837
|
+
break;
|
|
7838
|
+
case "MICROSOFT_TEAM_NOT_CONNECTED":
|
|
7839
|
+
case 4:
|
|
7840
|
+
m.status = 4;
|
|
7841
|
+
break;
|
|
7842
|
+
}
|
|
7843
|
+
return m;
|
|
7844
|
+
};
|
|
7845
|
+
ShareMeetingResponse.toObject = function toObject(m, o) {
|
|
7846
|
+
if (!o) o = {};
|
|
7847
|
+
var d = {};
|
|
7848
|
+
if (o.defaults) {
|
|
7849
|
+
d.status = o.enums === String ? "UNKNOWN_SHARE_MEETING_STATUS" : 0;
|
|
7850
|
+
}
|
|
7851
|
+
if (m.status != null && m.hasOwnProperty("status")) {
|
|
7852
|
+
d.status = o.enums === String ? $root.webex.ShareMeetingStatus[m.status] : m.status;
|
|
7853
|
+
}
|
|
7854
|
+
return d;
|
|
7855
|
+
};
|
|
7856
|
+
ShareMeetingResponse.prototype.toJSON = function toJSON() {
|
|
7857
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7858
|
+
};
|
|
7859
|
+
return ShareMeetingResponse;
|
|
7860
|
+
}();
|
|
7861
|
+
webex.IntegrationStatus = function () {
|
|
7862
|
+
const valuesById = {},
|
|
7863
|
+
values = Object.create(valuesById);
|
|
7864
|
+
values[valuesById[0] = "UNKNOWN_STATUS"] = 0;
|
|
7865
|
+
values[valuesById[1] = "ACTIVE"] = 1;
|
|
7866
|
+
values[valuesById[2] = "NEEDS_REAUTH"] = 2;
|
|
7867
|
+
values[valuesById[3] = "NOT_FOUND"] = 3;
|
|
7868
|
+
return values;
|
|
7869
|
+
}();
|
|
7870
|
+
return webex;
|
|
7871
|
+
})();
|
|
6795
7872
|
export default $root;
|
package/types/proto.js
CHANGED