@juzi/wechaty-grpc 1.0.100 → 1.0.102
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/dist/cjs/out/wechaty/puppet/base_pb.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/base_pb.js +4 -1
- package/dist/cjs/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/dist/cjs/out/wechaty/puppet/call_pb.js +2869 -79
- package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/cjs/out/wechaty/puppet/message_pb.d.ts +790 -0
- package/dist/cjs/out/wechaty/puppet/message_pb.js +8111 -1783
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +783 -25
- package/dist/cjs/out/wechaty/puppet.swagger.json +1158 -18
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +290 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +563 -0
- package/dist/cjs/out/wechaty/puppet_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet_pb.js +2 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +324 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +693 -12
- package/dist/cjs/proto/wechaty/puppet/base.proto +4 -0
- package/dist/cjs/proto/wechaty/puppet/call.proto +101 -1
- package/dist/cjs/proto/wechaty/puppet/event.proto +1 -0
- package/dist/cjs/proto/wechaty/puppet/message.proto +127 -0
- package/dist/cjs/proto/wechaty/puppet.proto +103 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +85 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/base_pb.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/base_pb.js +4 -1
- package/dist/esm/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/dist/esm/out/wechaty/puppet/call_pb.js +2869 -79
- package/dist/esm/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/esm/out/wechaty/puppet/message_pb.d.ts +790 -0
- package/dist/esm/out/wechaty/puppet/message_pb.js +8111 -1783
- package/dist/esm/out/wechaty/puppet.openapi.yaml +783 -25
- package/dist/esm/out/wechaty/puppet.swagger.json +1158 -18
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +290 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +563 -0
- package/dist/esm/out/wechaty/puppet_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet_pb.js +2 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +324 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +693 -12
- package/dist/esm/proto/wechaty/puppet/base.proto +4 -0
- package/dist/esm/proto/wechaty/puppet/call.proto +101 -1
- package/dist/esm/proto/wechaty/puppet/event.proto +1 -0
- package/dist/esm/proto/wechaty/puppet/message.proto +127 -0
- package/dist/esm/proto/wechaty/puppet.proto +103 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +85 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/base_pb.d.ts +3 -0
- package/out/wechaty/puppet/base_pb.js +4 -1
- package/out/wechaty/puppet/call_pb.d.ts +361 -0
- package/out/wechaty/puppet/call_pb.js +2869 -79
- package/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/out/wechaty/puppet/event_pb.js +2 -1
- package/out/wechaty/puppet/message_pb.d.ts +790 -0
- package/out/wechaty/puppet/message_pb.js +8111 -1783
- package/out/wechaty/puppet.openapi.yaml +783 -25
- package/out/wechaty/puppet.swagger.json +1158 -18
- package/out/wechaty/puppet_grpc_pb.d.ts +290 -0
- package/out/wechaty/puppet_grpc_pb.js +563 -0
- package/out/wechaty/puppet_pb.d.ts +1 -0
- package/out/wechaty/puppet_pb.js +2 -0
- package/out/wechaty/puppet_pb_service.d.ts +324 -0
- package/out/wechaty/puppet_pb_service.js +693 -12
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -289,6 +289,9 @@ export interface PayloadTypeMap {
|
|
|
289
289
|
PAYLOAD_TYPE_POST: 6;
|
|
290
290
|
PAYLOAD_TYPE_TAG: 7;
|
|
291
291
|
PAYLOAD_TYPE_TAG_GROUP: 8;
|
|
292
|
+
PAYLOAD_TYPE_WXXD_PRODUCT: 9;
|
|
293
|
+
PAYLOAD_TYPE_WXXD_ORDER: 10;
|
|
294
|
+
PAYLOAD_TYPE_CALL: 11;
|
|
292
295
|
}
|
|
293
296
|
|
|
294
297
|
export const PayloadType: PayloadTypeMap;
|
|
@@ -2142,7 +2142,10 @@ proto.wechaty.puppet.PayloadType = {
|
|
|
2142
2142
|
PAYLOAD_TYPE_FRIENDSHIP: 5,
|
|
2143
2143
|
PAYLOAD_TYPE_POST: 6,
|
|
2144
2144
|
PAYLOAD_TYPE_TAG: 7,
|
|
2145
|
-
PAYLOAD_TYPE_TAG_GROUP: 8
|
|
2145
|
+
PAYLOAD_TYPE_TAG_GROUP: 8,
|
|
2146
|
+
PAYLOAD_TYPE_WXXD_PRODUCT: 9,
|
|
2147
|
+
PAYLOAD_TYPE_WXXD_ORDER: 10,
|
|
2148
|
+
PAYLOAD_TYPE_CALL: 11
|
|
2146
2149
|
};
|
|
2147
2150
|
|
|
2148
2151
|
goog.object.extend(exports, proto.wechaty.puppet);
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// file: wechaty/puppet/call.proto
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
5
6
|
|
|
6
7
|
export class CallRecordPayload extends jspb.Message {
|
|
7
8
|
getStarterId(): string;
|
|
@@ -41,6 +42,366 @@ export namespace CallRecordPayload {
|
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
|
|
45
|
+
export class CallInviteRequest extends jspb.Message {
|
|
46
|
+
clearContactIdsList(): void;
|
|
47
|
+
getContactIdsList(): Array<string>;
|
|
48
|
+
setContactIdsList(value: Array<string>): void;
|
|
49
|
+
addContactIds(value: string, index?: number): string;
|
|
50
|
+
|
|
51
|
+
getMedia(): CallTypeMap[keyof CallTypeMap];
|
|
52
|
+
setMedia(value: CallTypeMap[keyof CallTypeMap]): void;
|
|
53
|
+
|
|
54
|
+
serializeBinary(): Uint8Array;
|
|
55
|
+
toObject(includeInstance?: boolean): CallInviteRequest.AsObject;
|
|
56
|
+
static toObject(includeInstance: boolean, msg: CallInviteRequest): CallInviteRequest.AsObject;
|
|
57
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
58
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
59
|
+
static serializeBinaryToWriter(message: CallInviteRequest, writer: jspb.BinaryWriter): void;
|
|
60
|
+
static deserializeBinary(bytes: Uint8Array): CallInviteRequest;
|
|
61
|
+
static deserializeBinaryFromReader(message: CallInviteRequest, reader: jspb.BinaryReader): CallInviteRequest;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export namespace CallInviteRequest {
|
|
65
|
+
export type AsObject = {
|
|
66
|
+
contactIdsList: Array<string>,
|
|
67
|
+
media: CallTypeMap[keyof CallTypeMap],
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export class CallInviteResponse extends jspb.Message {
|
|
72
|
+
getCallId(): string;
|
|
73
|
+
setCallId(value: string): void;
|
|
74
|
+
|
|
75
|
+
serializeBinary(): Uint8Array;
|
|
76
|
+
toObject(includeInstance?: boolean): CallInviteResponse.AsObject;
|
|
77
|
+
static toObject(includeInstance: boolean, msg: CallInviteResponse): CallInviteResponse.AsObject;
|
|
78
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
79
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
80
|
+
static serializeBinaryToWriter(message: CallInviteResponse, writer: jspb.BinaryWriter): void;
|
|
81
|
+
static deserializeBinary(bytes: Uint8Array): CallInviteResponse;
|
|
82
|
+
static deserializeBinaryFromReader(message: CallInviteResponse, reader: jspb.BinaryReader): CallInviteResponse;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export namespace CallInviteResponse {
|
|
86
|
+
export type AsObject = {
|
|
87
|
+
callId: string,
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export class CallAddRequest extends jspb.Message {
|
|
92
|
+
getCallId(): string;
|
|
93
|
+
setCallId(value: string): void;
|
|
94
|
+
|
|
95
|
+
clearContactIdsList(): void;
|
|
96
|
+
getContactIdsList(): Array<string>;
|
|
97
|
+
setContactIdsList(value: Array<string>): void;
|
|
98
|
+
addContactIds(value: string, index?: number): string;
|
|
99
|
+
|
|
100
|
+
serializeBinary(): Uint8Array;
|
|
101
|
+
toObject(includeInstance?: boolean): CallAddRequest.AsObject;
|
|
102
|
+
static toObject(includeInstance: boolean, msg: CallAddRequest): CallAddRequest.AsObject;
|
|
103
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
104
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
105
|
+
static serializeBinaryToWriter(message: CallAddRequest, writer: jspb.BinaryWriter): void;
|
|
106
|
+
static deserializeBinary(bytes: Uint8Array): CallAddRequest;
|
|
107
|
+
static deserializeBinaryFromReader(message: CallAddRequest, reader: jspb.BinaryReader): CallAddRequest;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export namespace CallAddRequest {
|
|
111
|
+
export type AsObject = {
|
|
112
|
+
callId: string,
|
|
113
|
+
contactIdsList: Array<string>,
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export class CallAddResponse extends jspb.Message {
|
|
118
|
+
serializeBinary(): Uint8Array;
|
|
119
|
+
toObject(includeInstance?: boolean): CallAddResponse.AsObject;
|
|
120
|
+
static toObject(includeInstance: boolean, msg: CallAddResponse): CallAddResponse.AsObject;
|
|
121
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
122
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
123
|
+
static serializeBinaryToWriter(message: CallAddResponse, writer: jspb.BinaryWriter): void;
|
|
124
|
+
static deserializeBinary(bytes: Uint8Array): CallAddResponse;
|
|
125
|
+
static deserializeBinaryFromReader(message: CallAddResponse, reader: jspb.BinaryReader): CallAddResponse;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export namespace CallAddResponse {
|
|
129
|
+
export type AsObject = {
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export class CallAcceptRequest extends jspb.Message {
|
|
134
|
+
getCallId(): string;
|
|
135
|
+
setCallId(value: string): void;
|
|
136
|
+
|
|
137
|
+
serializeBinary(): Uint8Array;
|
|
138
|
+
toObject(includeInstance?: boolean): CallAcceptRequest.AsObject;
|
|
139
|
+
static toObject(includeInstance: boolean, msg: CallAcceptRequest): CallAcceptRequest.AsObject;
|
|
140
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
141
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
142
|
+
static serializeBinaryToWriter(message: CallAcceptRequest, writer: jspb.BinaryWriter): void;
|
|
143
|
+
static deserializeBinary(bytes: Uint8Array): CallAcceptRequest;
|
|
144
|
+
static deserializeBinaryFromReader(message: CallAcceptRequest, reader: jspb.BinaryReader): CallAcceptRequest;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export namespace CallAcceptRequest {
|
|
148
|
+
export type AsObject = {
|
|
149
|
+
callId: string,
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export class CallAcceptResponse extends jspb.Message {
|
|
154
|
+
serializeBinary(): Uint8Array;
|
|
155
|
+
toObject(includeInstance?: boolean): CallAcceptResponse.AsObject;
|
|
156
|
+
static toObject(includeInstance: boolean, msg: CallAcceptResponse): CallAcceptResponse.AsObject;
|
|
157
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
158
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
159
|
+
static serializeBinaryToWriter(message: CallAcceptResponse, writer: jspb.BinaryWriter): void;
|
|
160
|
+
static deserializeBinary(bytes: Uint8Array): CallAcceptResponse;
|
|
161
|
+
static deserializeBinaryFromReader(message: CallAcceptResponse, reader: jspb.BinaryReader): CallAcceptResponse;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export namespace CallAcceptResponse {
|
|
165
|
+
export type AsObject = {
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export class CallRejectRequest extends jspb.Message {
|
|
170
|
+
getCallId(): string;
|
|
171
|
+
setCallId(value: string): void;
|
|
172
|
+
|
|
173
|
+
getReason(): string;
|
|
174
|
+
setReason(value: string): void;
|
|
175
|
+
|
|
176
|
+
serializeBinary(): Uint8Array;
|
|
177
|
+
toObject(includeInstance?: boolean): CallRejectRequest.AsObject;
|
|
178
|
+
static toObject(includeInstance: boolean, msg: CallRejectRequest): CallRejectRequest.AsObject;
|
|
179
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
180
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
181
|
+
static serializeBinaryToWriter(message: CallRejectRequest, writer: jspb.BinaryWriter): void;
|
|
182
|
+
static deserializeBinary(bytes: Uint8Array): CallRejectRequest;
|
|
183
|
+
static deserializeBinaryFromReader(message: CallRejectRequest, reader: jspb.BinaryReader): CallRejectRequest;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export namespace CallRejectRequest {
|
|
187
|
+
export type AsObject = {
|
|
188
|
+
callId: string,
|
|
189
|
+
reason: string,
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export class CallRejectResponse extends jspb.Message {
|
|
194
|
+
serializeBinary(): Uint8Array;
|
|
195
|
+
toObject(includeInstance?: boolean): CallRejectResponse.AsObject;
|
|
196
|
+
static toObject(includeInstance: boolean, msg: CallRejectResponse): CallRejectResponse.AsObject;
|
|
197
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
198
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
199
|
+
static serializeBinaryToWriter(message: CallRejectResponse, writer: jspb.BinaryWriter): void;
|
|
200
|
+
static deserializeBinary(bytes: Uint8Array): CallRejectResponse;
|
|
201
|
+
static deserializeBinaryFromReader(message: CallRejectResponse, reader: jspb.BinaryReader): CallRejectResponse;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export namespace CallRejectResponse {
|
|
205
|
+
export type AsObject = {
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export class CallCancelRequest extends jspb.Message {
|
|
210
|
+
getCallId(): string;
|
|
211
|
+
setCallId(value: string): void;
|
|
212
|
+
|
|
213
|
+
serializeBinary(): Uint8Array;
|
|
214
|
+
toObject(includeInstance?: boolean): CallCancelRequest.AsObject;
|
|
215
|
+
static toObject(includeInstance: boolean, msg: CallCancelRequest): CallCancelRequest.AsObject;
|
|
216
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
217
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
218
|
+
static serializeBinaryToWriter(message: CallCancelRequest, writer: jspb.BinaryWriter): void;
|
|
219
|
+
static deserializeBinary(bytes: Uint8Array): CallCancelRequest;
|
|
220
|
+
static deserializeBinaryFromReader(message: CallCancelRequest, reader: jspb.BinaryReader): CallCancelRequest;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export namespace CallCancelRequest {
|
|
224
|
+
export type AsObject = {
|
|
225
|
+
callId: string,
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export class CallCancelResponse extends jspb.Message {
|
|
230
|
+
serializeBinary(): Uint8Array;
|
|
231
|
+
toObject(includeInstance?: boolean): CallCancelResponse.AsObject;
|
|
232
|
+
static toObject(includeInstance: boolean, msg: CallCancelResponse): CallCancelResponse.AsObject;
|
|
233
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
234
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
235
|
+
static serializeBinaryToWriter(message: CallCancelResponse, writer: jspb.BinaryWriter): void;
|
|
236
|
+
static deserializeBinary(bytes: Uint8Array): CallCancelResponse;
|
|
237
|
+
static deserializeBinaryFromReader(message: CallCancelResponse, reader: jspb.BinaryReader): CallCancelResponse;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export namespace CallCancelResponse {
|
|
241
|
+
export type AsObject = {
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export class CallHangupRequest extends jspb.Message {
|
|
246
|
+
getCallId(): string;
|
|
247
|
+
setCallId(value: string): void;
|
|
248
|
+
|
|
249
|
+
getReason(): string;
|
|
250
|
+
setReason(value: string): void;
|
|
251
|
+
|
|
252
|
+
serializeBinary(): Uint8Array;
|
|
253
|
+
toObject(includeInstance?: boolean): CallHangupRequest.AsObject;
|
|
254
|
+
static toObject(includeInstance: boolean, msg: CallHangupRequest): CallHangupRequest.AsObject;
|
|
255
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
256
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
257
|
+
static serializeBinaryToWriter(message: CallHangupRequest, writer: jspb.BinaryWriter): void;
|
|
258
|
+
static deserializeBinary(bytes: Uint8Array): CallHangupRequest;
|
|
259
|
+
static deserializeBinaryFromReader(message: CallHangupRequest, reader: jspb.BinaryReader): CallHangupRequest;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export namespace CallHangupRequest {
|
|
263
|
+
export type AsObject = {
|
|
264
|
+
callId: string,
|
|
265
|
+
reason: string,
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export class CallHangupResponse extends jspb.Message {
|
|
270
|
+
serializeBinary(): Uint8Array;
|
|
271
|
+
toObject(includeInstance?: boolean): CallHangupResponse.AsObject;
|
|
272
|
+
static toObject(includeInstance: boolean, msg: CallHangupResponse): CallHangupResponse.AsObject;
|
|
273
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
274
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
275
|
+
static serializeBinaryToWriter(message: CallHangupResponse, writer: jspb.BinaryWriter): void;
|
|
276
|
+
static deserializeBinary(bytes: Uint8Array): CallHangupResponse;
|
|
277
|
+
static deserializeBinaryFromReader(message: CallHangupResponse, reader: jspb.BinaryReader): CallHangupResponse;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export namespace CallHangupResponse {
|
|
281
|
+
export type AsObject = {
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export class CallMediaEndpointRequest extends jspb.Message {
|
|
286
|
+
getCallId(): string;
|
|
287
|
+
setCallId(value: string): void;
|
|
288
|
+
|
|
289
|
+
serializeBinary(): Uint8Array;
|
|
290
|
+
toObject(includeInstance?: boolean): CallMediaEndpointRequest.AsObject;
|
|
291
|
+
static toObject(includeInstance: boolean, msg: CallMediaEndpointRequest): CallMediaEndpointRequest.AsObject;
|
|
292
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
293
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
294
|
+
static serializeBinaryToWriter(message: CallMediaEndpointRequest, writer: jspb.BinaryWriter): void;
|
|
295
|
+
static deserializeBinary(bytes: Uint8Array): CallMediaEndpointRequest;
|
|
296
|
+
static deserializeBinaryFromReader(message: CallMediaEndpointRequest, reader: jspb.BinaryReader): CallMediaEndpointRequest;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export namespace CallMediaEndpointRequest {
|
|
300
|
+
export type AsObject = {
|
|
301
|
+
callId: string,
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export class CallMediaEndpointResponse extends jspb.Message {
|
|
306
|
+
getUrl(): string;
|
|
307
|
+
setUrl(value: string): void;
|
|
308
|
+
|
|
309
|
+
getToken(): string;
|
|
310
|
+
setToken(value: string): void;
|
|
311
|
+
|
|
312
|
+
hasExpiresAt(): boolean;
|
|
313
|
+
clearExpiresAt(): void;
|
|
314
|
+
getExpiresAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
315
|
+
setExpiresAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
316
|
+
|
|
317
|
+
getProtocol(): string;
|
|
318
|
+
setProtocol(value: string): void;
|
|
319
|
+
|
|
320
|
+
serializeBinary(): Uint8Array;
|
|
321
|
+
toObject(includeInstance?: boolean): CallMediaEndpointResponse.AsObject;
|
|
322
|
+
static toObject(includeInstance: boolean, msg: CallMediaEndpointResponse): CallMediaEndpointResponse.AsObject;
|
|
323
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
324
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
325
|
+
static serializeBinaryToWriter(message: CallMediaEndpointResponse, writer: jspb.BinaryWriter): void;
|
|
326
|
+
static deserializeBinary(bytes: Uint8Array): CallMediaEndpointResponse;
|
|
327
|
+
static deserializeBinaryFromReader(message: CallMediaEndpointResponse, reader: jspb.BinaryReader): CallMediaEndpointResponse;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export namespace CallMediaEndpointResponse {
|
|
331
|
+
export type AsObject = {
|
|
332
|
+
url: string,
|
|
333
|
+
token: string,
|
|
334
|
+
expiresAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
335
|
+
protocol: string,
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export class CallPayloadRequest extends jspb.Message {
|
|
340
|
+
getId(): string;
|
|
341
|
+
setId(value: string): void;
|
|
342
|
+
|
|
343
|
+
serializeBinary(): Uint8Array;
|
|
344
|
+
toObject(includeInstance?: boolean): CallPayloadRequest.AsObject;
|
|
345
|
+
static toObject(includeInstance: boolean, msg: CallPayloadRequest): CallPayloadRequest.AsObject;
|
|
346
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
347
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
348
|
+
static serializeBinaryToWriter(message: CallPayloadRequest, writer: jspb.BinaryWriter): void;
|
|
349
|
+
static deserializeBinary(bytes: Uint8Array): CallPayloadRequest;
|
|
350
|
+
static deserializeBinaryFromReader(message: CallPayloadRequest, reader: jspb.BinaryReader): CallPayloadRequest;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export namespace CallPayloadRequest {
|
|
354
|
+
export type AsObject = {
|
|
355
|
+
id: string,
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export class CallPayloadResponse extends jspb.Message {
|
|
360
|
+
getId(): string;
|
|
361
|
+
setId(value: string): void;
|
|
362
|
+
|
|
363
|
+
getStarter(): string;
|
|
364
|
+
setStarter(value: string): void;
|
|
365
|
+
|
|
366
|
+
clearParticipantsList(): void;
|
|
367
|
+
getParticipantsList(): Array<string>;
|
|
368
|
+
setParticipantsList(value: Array<string>): void;
|
|
369
|
+
addParticipants(value: string, index?: number): string;
|
|
370
|
+
|
|
371
|
+
getMedia(): CallTypeMap[keyof CallTypeMap];
|
|
372
|
+
setMedia(value: CallTypeMap[keyof CallTypeMap]): void;
|
|
373
|
+
|
|
374
|
+
hasStartTime(): boolean;
|
|
375
|
+
clearStartTime(): void;
|
|
376
|
+
getStartTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
377
|
+
setStartTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
378
|
+
|
|
379
|
+
hasEndTime(): boolean;
|
|
380
|
+
clearEndTime(): void;
|
|
381
|
+
getEndTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
382
|
+
setEndTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
383
|
+
|
|
384
|
+
serializeBinary(): Uint8Array;
|
|
385
|
+
toObject(includeInstance?: boolean): CallPayloadResponse.AsObject;
|
|
386
|
+
static toObject(includeInstance: boolean, msg: CallPayloadResponse): CallPayloadResponse.AsObject;
|
|
387
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
388
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
389
|
+
static serializeBinaryToWriter(message: CallPayloadResponse, writer: jspb.BinaryWriter): void;
|
|
390
|
+
static deserializeBinary(bytes: Uint8Array): CallPayloadResponse;
|
|
391
|
+
static deserializeBinaryFromReader(message: CallPayloadResponse, reader: jspb.BinaryReader): CallPayloadResponse;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export namespace CallPayloadResponse {
|
|
395
|
+
export type AsObject = {
|
|
396
|
+
id: string,
|
|
397
|
+
starter: string,
|
|
398
|
+
participantsList: Array<string>,
|
|
399
|
+
media: CallTypeMap[keyof CallTypeMap],
|
|
400
|
+
startTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
401
|
+
endTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
44
405
|
export interface CallTypeMap {
|
|
45
406
|
CALL_TYPE_UNKNOWN: 0;
|
|
46
407
|
CALL_TYPE_VOICE: 1;
|