@stream-io/node-sdk 0.4.14 → 0.4.15
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/index.cjs.js +1 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +1 -17
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/chat/ChatApi.d.ts +1 -4
- package/dist/src/gen/models/index.d.ts +43 -18
- package/package.json +1 -1
- package/src/gen/chat/ChatApi.ts +0 -17
- package/src/gen/model-decoders/index.ts +0 -9
- package/src/gen/models/index.ts +75 -36
- package/src/gen/video/VideoApi.ts +0 -1
package/dist/index.cjs.js
CHANGED
|
@@ -157,7 +157,7 @@ class BaseApi {
|
|
|
157
157
|
Authorization: this.apiConfig.token,
|
|
158
158
|
'stream-auth-type': 'jwt',
|
|
159
159
|
'Content-Type': 'application/json',
|
|
160
|
-
'X-Stream-Client': 'stream-node-' + "0.4.
|
|
160
|
+
'X-Stream-Client': 'stream-node-' + "0.4.15",
|
|
161
161
|
'Accept-Encoding': 'gzip',
|
|
162
162
|
'x-client-request-id': clientRequestId,
|
|
163
163
|
};
|
|
@@ -824,13 +824,6 @@ decoders.GetConfigResponse = (input) => {
|
|
|
824
824
|
};
|
|
825
825
|
return decode(typeMappings, input);
|
|
826
826
|
};
|
|
827
|
-
decoders.GetExportChannelsStatusResponse = (input) => {
|
|
828
|
-
const typeMappings = {
|
|
829
|
-
created_at: { type: 'DatetimeType', isSingle: true },
|
|
830
|
-
updated_at: { type: 'DatetimeType', isSingle: true },
|
|
831
|
-
};
|
|
832
|
-
return decode(typeMappings, input);
|
|
833
|
-
};
|
|
834
827
|
decoders.GetImportResponse = (input) => {
|
|
835
828
|
const typeMappings = {
|
|
836
829
|
import_task: { type: 'ImportTask', isSingle: true },
|
|
@@ -2439,7 +2432,6 @@ class VideoApi extends BaseApi {
|
|
|
2439
2432
|
start_closed_caption: request?.start_closed_caption,
|
|
2440
2433
|
start_hls: request?.start_hls,
|
|
2441
2434
|
start_recording: request?.start_recording,
|
|
2442
|
-
start_rtmp_broadcasts: request?.start_rtmp_broadcasts,
|
|
2443
2435
|
start_transcription: request?.start_transcription,
|
|
2444
2436
|
transcription_storage_name: request?.transcription_storage_name,
|
|
2445
2437
|
};
|
|
@@ -3601,14 +3593,6 @@ class ChatApi extends BaseApi {
|
|
|
3601
3593
|
decoders.ExportChannelsResponse?.(response.body);
|
|
3602
3594
|
return { ...response.body, metadata: response.metadata };
|
|
3603
3595
|
};
|
|
3604
|
-
this.getExportChannelsStatus = async (request) => {
|
|
3605
|
-
const pathParams = {
|
|
3606
|
-
id: request?.id,
|
|
3607
|
-
};
|
|
3608
|
-
const response = await this.sendRequest('GET', '/api/v2/chat/export_channels/{id}', pathParams, undefined);
|
|
3609
|
-
decoders.GetExportChannelsStatusResponse?.(response.body);
|
|
3610
|
-
return { ...response.body, metadata: response.metadata };
|
|
3611
|
-
};
|
|
3612
3596
|
this.queryMembers = async (request) => {
|
|
3613
3597
|
const queryParams = {
|
|
3614
3598
|
payload: request?.payload,
|