@stream-io/node-sdk 0.8.15 → 0.9.1

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/__tests__/docs-snippets/README.md +4 -4
  3. package/dist/index.cjs.js +328 -8340
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.es.mjs +321 -8341
  7. package/dist/index.es.mjs.map +1 -1
  8. package/dist/src/StreamVideoClient.d.ts +7 -0
  9. package/dist/src/gen/chat/ChannelApi.d.ts +4 -1
  10. package/dist/src/gen/chat/ChatApi.d.ts +18 -1
  11. package/dist/src/gen/common/CommonApi.d.ts +4 -3
  12. package/dist/src/gen/feeds/FeedApi.d.ts +5 -1
  13. package/dist/src/gen/feeds/FeedsApi.d.ts +18 -3
  14. package/dist/src/gen/models/index.d.ts +2530 -1033
  15. package/dist/src/gen/models/timestamp-guard.d.ts +22 -0
  16. package/dist/src/gen/moderation/ModerationApi.d.ts +11 -4
  17. package/dist/src/gen/video/CallApi.d.ts +3 -3
  18. package/dist/src/gen/video/VideoApi.d.ts +3 -3
  19. package/dist/src/types.d.ts +14 -1
  20. package/dist/src/utils/time.d.ts +67 -0
  21. package/index.ts +10 -0
  22. package/package.json +1 -1
  23. package/src/ApiClient.ts +1 -0
  24. package/src/StreamVideoClient.ts +7 -0
  25. package/src/gen/chat/ChannelApi.ts +54 -0
  26. package/src/gen/chat/ChatApi.ts +184 -0
  27. package/src/gen/common/CommonApi.ts +27 -2
  28. package/src/gen/feeds/FeedApi.ts +12 -0
  29. package/src/gen/feeds/FeedsApi.ts +106 -2
  30. package/src/gen/model-decoders/decoders.ts +3 -6472
  31. package/src/gen/models/index.ts +2682 -1252
  32. package/src/gen/models/timestamp-guard.ts +27 -0
  33. package/src/gen/moderation/ModerationApi.ts +89 -12
  34. package/src/gen/video/CallApi.ts +3 -2
  35. package/src/gen/video/VideoApi.ts +3 -2
  36. package/src/types.ts +8 -0
  37. package/src/utils/time.ts +84 -0
package/dist/index.d.ts CHANGED
@@ -7,4 +7,5 @@ export * from './src/gen/models';
7
7
  export * from './src/StreamFeedsClient';
8
8
  export * from './src/StreamFeed';
9
9
  export { InvalidWebhookError, InvalidWebhookErrorMessages, verifyAndParseWebhook, } from './src/utils/webhook';
10
+ export { convertTimestampToDate, dateToNs, msToNs, nowNs, NS_PER_MS, nsToDate, nsToMs, nsToRfc3339, } from './src/utils/time';
10
11
  export { StreamError } from './src/types';