@stream-io/node-sdk 0.2.5 → 0.2.6

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.
@@ -1,14 +1,16 @@
1
1
  import { StreamClient } from './StreamClient';
2
- import { DeleteRecordingRequest, DeleteTranscriptionRequest, GetCallRequest, GetCallStatsRequest, VideoBlockUserRequest, VideoGetOrCreateCallRequest, VideoGoLiveRequest, VideoMuteUsersRequest, VideoPinRequest, VideoQueryCallMembersRequest, VideoSendCallEventRequest, VideoStartRecordingRequest, VideoStartTranscriptionRequest, VideoUnblockUserRequest, VideoUnpinRequest, VideoUpdateCallMembersRequest, VideoUpdateCallRequest, VideoUpdateUserPermissionsRequest } from './gen/video';
2
+ import { DeleteRecordingRequest, DeleteTranscriptionRequest, GetCallRequest, GetCallStatsRequest, VideoBlockUserRequest, VideoDeleteCallRequest, VideoGetOrCreateCallRequest, VideoGoLiveRequest, VideoMuteUsersRequest, VideoPinRequest, VideoQueryCallMembersRequest, VideoSendCallEventRequest, VideoStartRecordingRequest, VideoStartTranscriptionRequest, VideoUnblockUserRequest, VideoUnpinRequest, VideoUpdateCallMembersRequest, VideoUpdateCallRequest, VideoUpdateUserPermissionsRequest } from './gen/video';
3
3
  import { OmitTypeId } from './types';
4
4
  export declare class StreamCall {
5
5
  private readonly streamClient;
6
- private readonly type;
7
- private readonly id;
6
+ readonly type: string;
7
+ readonly id: string;
8
8
  private readonly baseRequest;
9
9
  private readonly apiClient;
10
10
  constructor(streamClient: StreamClient, type: string, id: string);
11
+ get cid(): string;
11
12
  blockUser: (videoBlockUserRequest: VideoBlockUserRequest) => Promise<import("./gen/video").VideoBlockUserResponse>;
13
+ delete: (videoDeleteCallRequest?: VideoDeleteCallRequest) => Promise<import("./gen/video").VideoDeleteCallResponse>;
12
14
  endCall: () => Promise<import("./gen/video").VideoEndCallResponse>;
13
15
  get: (request?: OmitTypeId<GetCallRequest>) => Promise<import("./gen/video").VideoGetCallResponse>;
14
16
  getOrCreate: (videoGetOrCreateCallRequest?: VideoGetOrCreateCallRequest) => Promise<import("./gen/video").VideoGetOrCreateCallResponse>;
@@ -2,7 +2,7 @@
2
2
  * Stream API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: v116.0.0
5
+ * The version of the OpenAPI document: v120.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { VideoBlockUserRequest, VideoBlockUserResponse, VideoCheckExternalStorageResponse, VideoCollectUserFeedbackRequest, VideoCollectUserFeedbackResponse, VideoCreateCallTypeRequest, VideoCreateCallTypeResponse, VideoCreateDeviceRequest, VideoCreateExternalStorageRequest, VideoCreateExternalStorageResponse, VideoCreateGuestRequest, VideoCreateGuestResponse, VideoDeleteExternalStorageResponse, VideoDeleteRecordingResponse, VideoDeleteTranscriptionResponse, VideoEndCallResponse, VideoGetCallResponse, VideoGetCallStatsResponse, VideoGetCallTypeResponse, VideoGetEdgesResponse, VideoGetOrCreateCallRequest, VideoGetOrCreateCallResponse, VideoGoLiveRequest, VideoGoLiveResponse, VideoListCallTypeResponse, VideoListDevicesResponse, VideoListExternalStorageResponse, VideoListRecordingsResponse, VideoListTranscriptionsResponse, VideoMuteUsersRequest, VideoMuteUsersResponse, VideoPinRequest, VideoPinResponse, VideoQueryCallMembersRequest, VideoQueryCallMembersResponse, VideoQueryCallStatsRequest, VideoQueryCallStatsResponse, VideoQueryCallsRequest, VideoQueryCallsResponse, VideoResponse, VideoSendCallEventRequest, VideoSendCallEventResponse, VideoStartHLSBroadcastingResponse, VideoStartRecordingRequest, VideoStartRecordingResponse, VideoStartTranscriptionRequest, VideoStartTranscriptionResponse, VideoStopHLSBroadcastingResponse, VideoStopLiveResponse, VideoStopRecordingResponse, VideoStopTranscriptionResponse, VideoUnblockUserRequest, VideoUnblockUserResponse, VideoUnpinRequest, VideoUnpinResponse, VideoUpdateCallMembersRequest, VideoUpdateCallMembersResponse, VideoUpdateCallRequest, VideoUpdateCallResponse, VideoUpdateCallTypeRequest, VideoUpdateCallTypeResponse, VideoUpdateExternalStorageRequest, VideoUpdateExternalStorageResponse, VideoUpdateUserPermissionsRequest, VideoUpdateUserPermissionsResponse } from '../models';
13
+ import type { VideoBlockUserRequest, VideoBlockUserResponse, VideoCheckExternalStorageResponse, VideoCollectUserFeedbackRequest, VideoCollectUserFeedbackResponse, VideoCreateCallTypeRequest, VideoCreateCallTypeResponse, VideoCreateDeviceRequest, VideoCreateExternalStorageRequest, VideoCreateExternalStorageResponse, VideoCreateGuestRequest, VideoCreateGuestResponse, VideoDeleteCallRequest, VideoDeleteCallResponse, VideoDeleteExternalStorageResponse, VideoDeleteRecordingResponse, VideoDeleteTranscriptionResponse, VideoEndCallResponse, VideoGetCallResponse, VideoGetCallStatsResponse, VideoGetCallTypeResponse, VideoGetEdgesResponse, VideoGetOrCreateCallRequest, VideoGetOrCreateCallResponse, VideoGoLiveRequest, VideoGoLiveResponse, VideoListCallTypeResponse, VideoListDevicesResponse, VideoListExternalStorageResponse, VideoListRecordingsResponse, VideoListTranscriptionsResponse, VideoMuteUsersRequest, VideoMuteUsersResponse, VideoPinRequest, VideoPinResponse, VideoQueryCallMembersRequest, VideoQueryCallMembersResponse, VideoQueryCallStatsRequest, VideoQueryCallStatsResponse, VideoQueryCallsRequest, VideoQueryCallsResponse, VideoResponse, VideoSendCallEventRequest, VideoSendCallEventResponse, VideoStartHLSBroadcastingResponse, VideoStartRecordingRequest, VideoStartRecordingResponse, VideoStartTranscriptionRequest, VideoStartTranscriptionResponse, VideoStopHLSBroadcastingResponse, VideoStopLiveResponse, VideoStopRecordingResponse, VideoStopTranscriptionResponse, VideoUnblockUserRequest, VideoUnblockUserResponse, VideoUnpinRequest, VideoUnpinResponse, VideoUpdateCallMembersRequest, VideoUpdateCallMembersResponse, VideoUpdateCallRequest, VideoUpdateCallResponse, VideoUpdateCallTypeRequest, VideoUpdateCallTypeResponse, VideoUpdateExternalStorageRequest, VideoUpdateExternalStorageResponse, VideoUpdateUserPermissionsRequest, VideoUpdateUserPermissionsResponse } from '../models';
14
14
  export interface BlockUserRequest {
15
15
  type: string;
16
16
  id: string;
@@ -37,6 +37,11 @@ export interface CreateExternalStorageRequest {
37
37
  export interface CreateGuestRequest {
38
38
  videoCreateGuestRequest: VideoCreateGuestRequest | null;
39
39
  }
40
+ export interface DeleteCallRequest {
41
+ type: string;
42
+ id: string;
43
+ videoDeleteCallRequest: VideoDeleteCallRequest | null;
44
+ }
40
45
  export interface DeleteCallTypeRequest {
41
46
  name: string;
42
47
  }
@@ -260,6 +265,16 @@ export declare class ProductvideoApi extends runtime.BaseAPI {
260
265
  * Create Guest
261
266
  */
262
267
  createGuest(requestParameters: CreateGuestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoCreateGuestResponse>;
268
+ /**
269
+ * Sends events: - call.deleted Required permissions: - DeleteCall
270
+ * Delete Call
271
+ */
272
+ deleteCallRaw(requestParameters: DeleteCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VideoDeleteCallResponse>>;
273
+ /**
274
+ * Sends events: - call.deleted Required permissions: - DeleteCall
275
+ * Delete Call
276
+ */
277
+ deleteCall(requestParameters: DeleteCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoDeleteCallResponse>;
263
278
  /**
264
279
  *
265
280
  * Delete Call Type
@@ -225,6 +225,12 @@ export interface VideoBackstageSettingsRequest {
225
225
  * @memberof VideoBackstageSettingsRequest
226
226
  */
227
227
  enabled?: boolean;
228
+ /**
229
+ *
230
+ * @type {number}
231
+ * @memberof VideoBackstageSettingsRequest
232
+ */
233
+ join_ahead_time_seconds?: number;
228
234
  }
229
235
  /**
230
236
  *
@@ -238,6 +244,12 @@ export interface VideoBackstageSettingsResponse {
238
244
  * @memberof VideoBackstageSettingsResponse
239
245
  */
240
246
  enabled: boolean;
247
+ /**
248
+ *
249
+ * @type {number}
250
+ * @memberof VideoBackstageSettingsResponse
251
+ */
252
+ join_ahead_time_seconds?: number;
241
253
  }
242
254
  /**
243
255
  *
@@ -540,6 +552,12 @@ export interface VideoCallResponse {
540
552
  * @memberof VideoCallResponse
541
553
  */
542
554
  ingress: VideoCallIngressResponse;
555
+ /**
556
+ *
557
+ * @type {number}
558
+ * @memberof VideoCallResponse
559
+ */
560
+ join_ahead_time_seconds?: number;
543
561
  /**
544
562
  *
545
563
  * @type {boolean}
@@ -633,6 +651,14 @@ export interface VideoCallSessionResponse {
633
651
  * @memberof VideoCallSessionResponse
634
652
  */
635
653
  live_started_at?: string;
654
+ /**
655
+ *
656
+ * @type {{ [key: string]: string; }}
657
+ * @memberof VideoCallSessionResponse
658
+ */
659
+ missed_by: {
660
+ [key: string]: string;
661
+ };
636
662
  /**
637
663
  *
638
664
  * @type {Array<VideoCallParticipantResponse>}
@@ -995,6 +1021,12 @@ export interface VideoCheckExternalStorageResponse {
995
1021
  * @memberof VideoCheckExternalStorageResponse
996
1022
  */
997
1023
  duration: string;
1024
+ /**
1025
+ *
1026
+ * @type {string}
1027
+ * @memberof VideoCheckExternalStorageResponse
1028
+ */
1029
+ file_url: string;
998
1030
  }
999
1031
  /**
1000
1032
  *
@@ -1269,8 +1301,17 @@ export interface VideoCreateExternalStorageRequest {
1269
1301
  * @type {string}
1270
1302
  * @memberof VideoCreateExternalStorageRequest
1271
1303
  */
1272
- storage_type: string;
1304
+ storage_type: VideoCreateExternalStorageRequestStorageTypeEnum;
1273
1305
  }
1306
+ /**
1307
+ * @export
1308
+ */
1309
+ export declare const VideoCreateExternalStorageRequestStorageTypeEnum: {
1310
+ readonly S3: "s3";
1311
+ readonly GCS: "gcs";
1312
+ readonly ABS: "abs";
1313
+ };
1314
+ export type VideoCreateExternalStorageRequestStorageTypeEnum = typeof VideoCreateExternalStorageRequestStorageTypeEnum[keyof typeof VideoCreateExternalStorageRequestStorageTypeEnum];
1274
1315
  /**
1275
1316
  *
1276
1317
  * @export
@@ -1322,6 +1363,44 @@ export interface VideoCreateGuestResponse {
1322
1363
  */
1323
1364
  user: VideoUserResponse;
1324
1365
  }
1366
+ /**
1367
+ *
1368
+ * @export
1369
+ * @interface VideoDeleteCallRequest
1370
+ */
1371
+ export interface VideoDeleteCallRequest {
1372
+ /**
1373
+ * if true the call will be hard deleted along with all related data
1374
+ * @type {boolean}
1375
+ * @memberof VideoDeleteCallRequest
1376
+ */
1377
+ hard?: boolean;
1378
+ }
1379
+ /**
1380
+ *
1381
+ * @export
1382
+ * @interface VideoDeleteCallResponse
1383
+ */
1384
+ export interface VideoDeleteCallResponse {
1385
+ /**
1386
+ *
1387
+ * @type {VideoCallResponse}
1388
+ * @memberof VideoDeleteCallResponse
1389
+ */
1390
+ call: VideoCallResponse;
1391
+ /**
1392
+ * Duration of the request in human-readable format
1393
+ * @type {string}
1394
+ * @memberof VideoDeleteCallResponse
1395
+ */
1396
+ duration: string;
1397
+ /**
1398
+ *
1399
+ * @type {string}
1400
+ * @memberof VideoDeleteCallResponse
1401
+ */
1402
+ task_id?: string;
1403
+ }
1325
1404
  /**
1326
1405
  *
1327
1406
  * @export
@@ -1617,8 +1696,17 @@ export interface VideoExternalStorageResponse {
1617
1696
  * @type {string}
1618
1697
  * @memberof VideoExternalStorageResponse
1619
1698
  */
1620
- type: string;
1699
+ type: VideoExternalStorageResponseTypeEnum;
1621
1700
  }
1701
+ /**
1702
+ * @export
1703
+ */
1704
+ export declare const VideoExternalStorageResponseTypeEnum: {
1705
+ readonly S3: "s3";
1706
+ readonly GCS: "gcs";
1707
+ readonly ABS: "abs";
1708
+ };
1709
+ export type VideoExternalStorageResponseTypeEnum = typeof VideoExternalStorageResponseTypeEnum[keyof typeof VideoExternalStorageResponseTypeEnum];
1622
1710
  /**
1623
1711
  *
1624
1712
  * @export
@@ -2588,6 +2676,12 @@ export interface VideoNotificationSettings {
2588
2676
  * @memberof VideoNotificationSettings
2589
2677
  */
2590
2678
  call_live_started?: VideoEventNotificationSettings;
2679
+ /**
2680
+ *
2681
+ * @type {VideoEventNotificationSettings}
2682
+ * @memberof VideoNotificationSettings
2683
+ */
2684
+ call_missed?: VideoEventNotificationSettings;
2591
2685
  /**
2592
2686
  *
2593
2687
  * @type {VideoEventNotificationSettings}
@@ -3159,6 +3253,12 @@ export interface VideoRingSettingsRequest {
3159
3253
  * @memberof VideoRingSettingsRequest
3160
3254
  */
3161
3255
  incoming_call_timeout_ms: number;
3256
+ /**
3257
+ *
3258
+ * @type {number}
3259
+ * @memberof VideoRingSettingsRequest
3260
+ */
3261
+ missed_call_timeout_ms?: number;
3162
3262
  }
3163
3263
  /**
3164
3264
  *
@@ -3178,6 +3278,12 @@ export interface VideoRingSettingsResponse {
3178
3278
  * @memberof VideoRingSettingsResponse
3179
3279
  */
3180
3280
  incoming_call_timeout_ms: number;
3281
+ /**
3282
+ *
3283
+ * @type {number}
3284
+ * @memberof VideoRingSettingsResponse
3285
+ */
3286
+ missed_call_timeout_ms: number;
3181
3287
  }
3182
3288
  /**
3183
3289
  *
@@ -3953,8 +4059,17 @@ export interface VideoUpdateExternalStorageRequest {
3953
4059
  * @type {string}
3954
4060
  * @memberof VideoUpdateExternalStorageRequest
3955
4061
  */
3956
- storage_type: string;
4062
+ storage_type: VideoUpdateExternalStorageRequestStorageTypeEnum;
3957
4063
  }
4064
+ /**
4065
+ * @export
4066
+ */
4067
+ export declare const VideoUpdateExternalStorageRequestStorageTypeEnum: {
4068
+ readonly S3: "s3";
4069
+ readonly GCS: "gcs";
4070
+ readonly ABS: "abs";
4071
+ };
4072
+ export type VideoUpdateExternalStorageRequestStorageTypeEnum = typeof VideoUpdateExternalStorageRequestStorageTypeEnum[keyof typeof VideoUpdateExternalStorageRequestStorageTypeEnum];
3958
4073
  /**
3959
4074
  *
3960
4075
  * @export
@@ -3990,8 +4105,17 @@ export interface VideoUpdateExternalStorageResponse {
3990
4105
  * @type {string}
3991
4106
  * @memberof VideoUpdateExternalStorageResponse
3992
4107
  */
3993
- type: string;
4108
+ type: VideoUpdateExternalStorageResponseTypeEnum;
3994
4109
  }
4110
+ /**
4111
+ * @export
4112
+ */
4113
+ export declare const VideoUpdateExternalStorageResponseTypeEnum: {
4114
+ readonly S3: "s3";
4115
+ readonly GCS: "gcs";
4116
+ readonly ABS: "abs";
4117
+ };
4118
+ export type VideoUpdateExternalStorageResponseTypeEnum = typeof VideoUpdateExternalStorageResponseTypeEnum[keyof typeof VideoUpdateExternalStorageResponseTypeEnum];
3995
4119
  /**
3996
4120
  *
3997
4121
  * @export
@@ -4144,6 +4268,12 @@ export interface VideoUserResponse {
4144
4268
  * @memberof VideoUserResponse
4145
4269
  */
4146
4270
  banned: boolean;
4271
+ /**
4272
+ *
4273
+ * @type {Array<string>}
4274
+ * @memberof VideoUserResponse
4275
+ */
4276
+ blocked_user_ids: Array<string>;
4147
4277
  /**
4148
4278
  * Date/time of creation
4149
4279
  * @type {string}
@@ -2,7 +2,7 @@
2
2
  * Stream API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: v116.0.0
5
+ * The version of the OpenAPI document: v120.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/node-sdk",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
package/src/StreamCall.ts CHANGED
@@ -6,6 +6,7 @@ import {
6
6
  GetCallStatsRequest,
7
7
  ProductvideoApi,
8
8
  VideoBlockUserRequest,
9
+ VideoDeleteCallRequest,
9
10
  VideoGetOrCreateCallRequest,
10
11
  VideoGoLiveRequest,
11
12
  VideoMuteUsersRequest,
@@ -28,14 +29,18 @@ export class StreamCall {
28
29
 
29
30
  constructor(
30
31
  private readonly streamClient: StreamClient,
31
- private readonly type: string,
32
- private readonly id: string,
32
+ public readonly type: string,
33
+ public readonly id: string,
33
34
  ) {
34
35
  this.baseRequest = { id: this.id, type: this.type };
35
36
  const configuration = this.streamClient.getConfiguration('video');
36
37
  this.apiClient = new ProductvideoApi(configuration);
37
38
  }
38
39
 
40
+ get cid() {
41
+ return `${this.type}:${this.id}`;
42
+ }
43
+
39
44
  blockUser = (videoBlockUserRequest: VideoBlockUserRequest) => {
40
45
  return this.apiClient.blockUser({
41
46
  ...this.baseRequest,
@@ -43,6 +48,13 @@ export class StreamCall {
43
48
  });
44
49
  };
45
50
 
51
+ delete = (videoDeleteCallRequest?: VideoDeleteCallRequest) => {
52
+ return this.apiClient.deleteCall({
53
+ ...this.baseRequest,
54
+ videoDeleteCallRequest: videoDeleteCallRequest ?? null,
55
+ });
56
+ };
57
+
46
58
  endCall = () => {
47
59
  return this.apiClient.endCall({ ...this.baseRequest });
48
60
  };
@@ -4,7 +4,7 @@
4
4
  * Stream API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: v116.0.0
7
+ * The version of the OpenAPI document: v120.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,6 +28,8 @@ import type {
28
28
  VideoCreateExternalStorageResponse,
29
29
  VideoCreateGuestRequest,
30
30
  VideoCreateGuestResponse,
31
+ VideoDeleteCallRequest,
32
+ VideoDeleteCallResponse,
31
33
  VideoDeleteExternalStorageResponse,
32
34
  VideoDeleteRecordingResponse,
33
35
  VideoDeleteTranscriptionResponse,
@@ -116,6 +118,12 @@ export interface CreateGuestRequest {
116
118
  videoCreateGuestRequest: VideoCreateGuestRequest | null;
117
119
  }
118
120
 
121
+ export interface DeleteCallRequest {
122
+ type: string;
123
+ id: string;
124
+ videoDeleteCallRequest: VideoDeleteCallRequest | null;
125
+ }
126
+
119
127
  export interface DeleteCallTypeRequest {
120
128
  name: string;
121
129
  }
@@ -650,6 +658,61 @@ export class ProductvideoApi extends runtime.BaseAPI {
650
658
  return await response.value();
651
659
  }
652
660
 
661
+ /**
662
+ * Sends events: - call.deleted Required permissions: - DeleteCall
663
+ * Delete Call
664
+ */
665
+ async deleteCallRaw(requestParameters: DeleteCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VideoDeleteCallResponse>> {
666
+ if (requestParameters.type === null || requestParameters.type === undefined) {
667
+ throw new runtime.RequiredError('type','Required parameter requestParameters.type was null or undefined when calling deleteCall.');
668
+ }
669
+
670
+ if (requestParameters.id === null || requestParameters.id === undefined) {
671
+ throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling deleteCall.');
672
+ }
673
+
674
+ if (requestParameters.videoDeleteCallRequest === null || requestParameters.videoDeleteCallRequest === undefined) {
675
+ throw new runtime.RequiredError('videoDeleteCallRequest','Required parameter requestParameters.videoDeleteCallRequest was null or undefined when calling deleteCall.');
676
+ }
677
+
678
+ const queryParameters: any = {};
679
+
680
+ const headerParameters: runtime.HTTPHeaders = {};
681
+
682
+ headerParameters['Content-Type'] = 'application/json';
683
+
684
+ if (this.configuration && this.configuration.apiKey) {
685
+ headerParameters["Stream-Auth-Type"] = this.configuration.apiKey("Stream-Auth-Type"); // stream-auth-type authentication
686
+ }
687
+
688
+ if (this.configuration && this.configuration.apiKey) {
689
+ queryParameters["api_key"] = this.configuration.apiKey("api_key"); // api_key authentication
690
+ }
691
+
692
+ if (this.configuration && this.configuration.apiKey) {
693
+ headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // JWT authentication
694
+ }
695
+
696
+ const response = await this.request({
697
+ path: `/video/call/{type}/{id}/delete`.replace(`{${"type"}}`, encodeURIComponent(String(requestParameters.type))).replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
698
+ method: 'POST',
699
+ headers: headerParameters,
700
+ query: queryParameters,
701
+ body: requestParameters.videoDeleteCallRequest,
702
+ }, initOverrides);
703
+
704
+ return new runtime.JSONApiResponse(response);
705
+ }
706
+
707
+ /**
708
+ * Sends events: - call.deleted Required permissions: - DeleteCall
709
+ * Delete Call
710
+ */
711
+ async deleteCall(requestParameters: DeleteCallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VideoDeleteCallResponse> {
712
+ const response = await this.deleteCallRaw(requestParameters, initOverrides);
713
+ return await response.value();
714
+ }
715
+
653
716
  /**
654
717
  *
655
718
  * Delete Call Type