@stream-io/feeds-client 0.3.43 → 0.3.45
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 +9 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react-bindings.js +1 -1
- package/dist/es/index.mjs +2 -2
- package/dist/es/index.mjs.map +1 -1
- package/dist/es/react-bindings.mjs +1 -1
- package/dist/{feeds-client-B1mzWjrM.js → feeds-client-CN3FjVMk.js} +13 -2
- package/dist/feeds-client-CN3FjVMk.js.map +1 -0
- package/dist/{feeds-client-O3lXU8Bl.mjs → feeds-client-DK7PXh7g.mjs} +13 -2
- package/dist/feeds-client-DK7PXh7g.mjs.map +1 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/types/feed/event-handlers/activity-updater.d.ts +3 -1
- package/dist/types/feed/event-handlers/activity-updater.d.ts.map +1 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts.map +1 -1
- package/dist/types/gen/models/index.d.ts +30 -2
- package/dist/types/gen/models/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +10 -0
- package/src/gen/model-decoders/decoders.ts +2 -0
- package/src/gen/models/index.ts +58 -2
- package/dist/feeds-client-B1mzWjrM.js.map +0 -1
- package/dist/feeds-client-O3lXU8Bl.mjs.map +0 -1
|
@@ -142,6 +142,7 @@ decoders.ActivityResponse = (input) => {
|
|
|
142
142
|
deleted_at: { type: "DatetimeType", isSingle: true },
|
|
143
143
|
edited_at: { type: "DatetimeType", isSingle: true },
|
|
144
144
|
expires_at: { type: "DatetimeType", isSingle: true },
|
|
145
|
+
friend_reactions: { type: "FeedsReactionResponse", isSingle: false },
|
|
145
146
|
current_feed: { type: "FeedResponse", isSingle: true },
|
|
146
147
|
parent: { type: "ActivityResponse", isSingle: true },
|
|
147
148
|
poll: { type: "PollResponseData", isSingle: true }
|
|
@@ -1693,6 +1694,7 @@ class FeedsApi {
|
|
|
1693
1694
|
const body = {
|
|
1694
1695
|
type: request?.type,
|
|
1695
1696
|
feeds: request?.feeds,
|
|
1697
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
1696
1698
|
create_notification_activity: request?.create_notification_activity,
|
|
1697
1699
|
expires_at: request?.expires_at,
|
|
1698
1700
|
id: request?.id,
|
|
@@ -1895,6 +1897,7 @@ class FeedsApi {
|
|
|
1895
1897
|
};
|
|
1896
1898
|
const body = {
|
|
1897
1899
|
type: request?.type,
|
|
1900
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
1898
1901
|
create_notification_activity: request?.create_notification_activity,
|
|
1899
1902
|
enforce_unique: request?.enforce_unique,
|
|
1900
1903
|
skip_push: request?.skip_push,
|
|
@@ -1975,6 +1978,7 @@ class FeedsApi {
|
|
|
1975
1978
|
id: request?.id
|
|
1976
1979
|
};
|
|
1977
1980
|
const body = {
|
|
1981
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
1978
1982
|
handle_mention_notifications: request?.handle_mention_notifications,
|
|
1979
1983
|
run_activity_processors: request?.run_activity_processors,
|
|
1980
1984
|
unset: request?.unset,
|
|
@@ -1996,6 +2000,7 @@ class FeedsApi {
|
|
|
1996
2000
|
id: request?.id
|
|
1997
2001
|
};
|
|
1998
2002
|
const body = {
|
|
2003
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
1999
2004
|
expires_at: request?.expires_at,
|
|
2000
2005
|
handle_mention_notifications: request?.handle_mention_notifications,
|
|
2001
2006
|
poll_id: request?.poll_id,
|
|
@@ -2175,6 +2180,7 @@ class FeedsApi {
|
|
|
2175
2180
|
async addComment(request) {
|
|
2176
2181
|
const body = {
|
|
2177
2182
|
comment: request?.comment,
|
|
2183
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2178
2184
|
create_notification_activity: request?.create_notification_activity,
|
|
2179
2185
|
id: request?.id,
|
|
2180
2186
|
object_id: request?.object_id,
|
|
@@ -2257,6 +2263,7 @@ class FeedsApi {
|
|
|
2257
2263
|
};
|
|
2258
2264
|
const body = {
|
|
2259
2265
|
comment: request?.comment,
|
|
2266
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2260
2267
|
handle_mention_notifications: request?.handle_mention_notifications,
|
|
2261
2268
|
skip_enrich_url: request?.skip_enrich_url,
|
|
2262
2269
|
skip_push: request?.skip_push,
|
|
@@ -2281,6 +2288,7 @@ class FeedsApi {
|
|
|
2281
2288
|
};
|
|
2282
2289
|
const body = {
|
|
2283
2290
|
type: request?.type,
|
|
2291
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2284
2292
|
create_notification_activity: request?.create_notification_activity,
|
|
2285
2293
|
enforce_unique: request?.enforce_unique,
|
|
2286
2294
|
skip_push: request?.skip_push,
|
|
@@ -2390,6 +2398,7 @@ class FeedsApi {
|
|
|
2390
2398
|
filter: request?.filter,
|
|
2391
2399
|
followers_pagination: request?.followers_pagination,
|
|
2392
2400
|
following_pagination: request?.following_pagination,
|
|
2401
|
+
friend_reactions_options: request?.friend_reactions_options,
|
|
2393
2402
|
interest_weights: request?.interest_weights,
|
|
2394
2403
|
member_pagination: request?.member_pagination
|
|
2395
2404
|
};
|
|
@@ -2656,6 +2665,7 @@ class FeedsApi {
|
|
|
2656
2665
|
const body = {
|
|
2657
2666
|
source: request?.source,
|
|
2658
2667
|
target: request?.target,
|
|
2668
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2659
2669
|
create_notification_activity: request?.create_notification_activity,
|
|
2660
2670
|
follower_role: request?.follower_role,
|
|
2661
2671
|
push_preference: request?.push_preference,
|
|
@@ -2677,6 +2687,7 @@ class FeedsApi {
|
|
|
2677
2687
|
const body = {
|
|
2678
2688
|
source: request?.source,
|
|
2679
2689
|
target: request?.target,
|
|
2690
|
+
copy_custom_to_notification: request?.copy_custom_to_notification,
|
|
2680
2691
|
create_notification_activity: request?.create_notification_activity,
|
|
2681
2692
|
push_preference: request?.push_preference,
|
|
2682
2693
|
skip_push: request?.skip_push,
|
|
@@ -3999,7 +4010,7 @@ const getRateLimitFromResponseHeader = (response_headers) => {
|
|
|
3999
4010
|
};
|
|
4000
4011
|
return result;
|
|
4001
4012
|
};
|
|
4002
|
-
const version = "0.3.
|
|
4013
|
+
const version = "0.3.45";
|
|
4003
4014
|
const axios = axiosImport.default ?? axiosImport;
|
|
4004
4015
|
class ApiClient {
|
|
4005
4016
|
constructor(apiKey, tokenManager, connectionIdManager, options) {
|
|
@@ -8060,4 +8071,4 @@ export {
|
|
|
8060
8071
|
shouldUpdateState as s,
|
|
8061
8072
|
uniqueArrayMerge as u
|
|
8062
8073
|
};
|
|
8063
|
-
//# sourceMappingURL=feeds-client-
|
|
8074
|
+
//# sourceMappingURL=feeds-client-DK7PXh7g.mjs.map
|