@stream-io/node-sdk 0.8.7 → 0.8.8
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/CHANGELOG.md +8 -0
- package/dist/index.cjs.js +7 -14
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +7 -14
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/models/index.d.ts +47 -0
- package/package.json +1 -1
- package/src/gen/common/CommonApi.ts +1 -0
- package/src/gen/feeds/FeedsApi.ts +1 -0
- package/src/gen/model-decoders/decoders.ts +0 -9
- package/src/gen/models/index.ts +47 -6943
- package/src/gen/moderation/ModerationApi.ts +2 -0
- package/src/gen/video/VideoApi.ts +1 -0
package/dist/index.es.mjs
CHANGED
|
@@ -2703,18 +2703,6 @@ decoders["CheckResponse"] = (input) => {
|
|
|
2703
2703
|
isSingle: true
|
|
2704
2704
|
} }, input);
|
|
2705
2705
|
};
|
|
2706
|
-
decoders["ClientEvent"] = (input) => {
|
|
2707
|
-
return decode({
|
|
2708
|
-
previously_connected_timestamp: {
|
|
2709
|
-
type: "DatetimeType",
|
|
2710
|
-
isSingle: true
|
|
2711
|
-
},
|
|
2712
|
-
timestamp: {
|
|
2713
|
-
type: "DatetimeType",
|
|
2714
|
-
isSingle: true
|
|
2715
|
-
}
|
|
2716
|
-
}, input);
|
|
2717
|
-
};
|
|
2718
2706
|
decoders["ClosedCaptionEvent"] = (input) => {
|
|
2719
2707
|
return decode({ created_at: {
|
|
2720
2708
|
type: "DatetimeType",
|
|
@@ -8623,6 +8611,7 @@ var CommonApi = class {
|
|
|
8623
8611
|
id: request?.id,
|
|
8624
8612
|
is_closed: request?.is_closed,
|
|
8625
8613
|
max_votes_allowed: request?.max_votes_allowed,
|
|
8614
|
+
team: request?.team,
|
|
8626
8615
|
user_id: request?.user_id,
|
|
8627
8616
|
voting_visibility: request?.voting_visibility,
|
|
8628
8617
|
options: request?.options,
|
|
@@ -9626,7 +9615,8 @@ var VideoApi = class {
|
|
|
9626
9615
|
};
|
|
9627
9616
|
const body = {
|
|
9628
9617
|
video: request?.video,
|
|
9629
|
-
members_ids: request?.members_ids
|
|
9618
|
+
members_ids: request?.members_ids,
|
|
9619
|
+
custom: request?.custom
|
|
9630
9620
|
};
|
|
9631
9621
|
const response = await this.apiClient.sendRequest("POST", "/api/v2/video/call/{type}/{id}/ring", pathParams, void 0, body, "application/json");
|
|
9632
9622
|
decoders["RingCallResponse"]?.(response.body);
|
|
@@ -12449,6 +12439,7 @@ var ModerationApi = class {
|
|
|
12449
12439
|
async_response: request?.async_response,
|
|
12450
12440
|
config_key: request?.config_key,
|
|
12451
12441
|
content_published_at: request?.content_published_at,
|
|
12442
|
+
country_code: request?.country_code,
|
|
12452
12443
|
entity_creator_id: request?.entity_creator_id,
|
|
12453
12444
|
entity_id: request?.entity_id,
|
|
12454
12445
|
entity_type: request?.entity_type,
|
|
@@ -12576,6 +12567,7 @@ var ModerationApi = class {
|
|
|
12576
12567
|
config_key: request?.config_key,
|
|
12577
12568
|
config_team: request?.config_team,
|
|
12578
12569
|
content_published_at: request?.content_published_at,
|
|
12570
|
+
country_code: request?.country_code,
|
|
12579
12571
|
test_mode: request?.test_mode,
|
|
12580
12572
|
user_id: request?.user_id,
|
|
12581
12573
|
config: request?.config,
|
|
@@ -13215,7 +13207,7 @@ var ApiClient = class {
|
|
|
13215
13207
|
const headers = {
|
|
13216
13208
|
Authorization: this.apiConfig.token,
|
|
13217
13209
|
"stream-auth-type": "jwt",
|
|
13218
|
-
"X-Stream-Client": "stream-node-0.8.
|
|
13210
|
+
"X-Stream-Client": "stream-node-0.8.8",
|
|
13219
13211
|
"Accept-Encoding": "gzip",
|
|
13220
13212
|
"x-client-request-id": clientRequestId
|
|
13221
13213
|
};
|
|
@@ -13891,6 +13883,7 @@ var FeedsApi = class {
|
|
|
13891
13883
|
const body = {
|
|
13892
13884
|
filter: request?.filter,
|
|
13893
13885
|
id_around: request?.id_around,
|
|
13886
|
+
include_soft_deleted_comments: request?.include_soft_deleted_comments,
|
|
13894
13887
|
limit: request?.limit,
|
|
13895
13888
|
next: request?.next,
|
|
13896
13889
|
prev: request?.prev,
|