@amityco/ts-sdk 7.1.1-5d7c3fd0.0 → 7.1.1-611ceb49.0

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 (87) hide show
  1. package/dist/@types/core/events.d.ts +4 -0
  2. package/dist/@types/core/events.d.ts.map +1 -1
  3. package/dist/@types/core/model.d.ts +4 -0
  4. package/dist/@types/core/model.d.ts.map +1 -1
  5. package/dist/@types/core/payload.d.ts +18 -0
  6. package/dist/@types/core/payload.d.ts.map +1 -1
  7. package/dist/@types/domains/client.d.ts +0 -1
  8. package/dist/@types/domains/client.d.ts.map +1 -1
  9. package/dist/@types/domains/notification.d.ts +81 -0
  10. package/dist/@types/domains/notification.d.ts.map +1 -0
  11. package/dist/client/api/createClient.d.ts +0 -1
  12. package/dist/client/api/createClient.d.ts.map +1 -1
  13. package/dist/client/utils/endpoints.d.ts +0 -1
  14. package/dist/client/utils/endpoints.d.ts.map +1 -1
  15. package/dist/client/utils/setClientToken.d.ts.map +1 -1
  16. package/dist/core/events.d.ts +3 -3
  17. package/dist/core/events.d.ts.map +1 -1
  18. package/dist/core/model/idResolvers.d.ts.map +1 -1
  19. package/dist/core/model/index.d.ts.map +1 -1
  20. package/dist/index.cjs.js +425 -60
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.esm.js +408 -44
  24. package/dist/index.umd.js +4 -4
  25. package/dist/notificationTrayRepository/api/index.d.ts +3 -0
  26. package/dist/notificationTrayRepository/api/index.d.ts.map +1 -0
  27. package/dist/notificationTrayRepository/api/markNotificationItemsSeen.d.ts +16 -0
  28. package/dist/notificationTrayRepository/api/markNotificationItemsSeen.d.ts.map +1 -0
  29. package/dist/notificationTrayRepository/api/markNotificationTraySeen.d.ts +19 -0
  30. package/dist/notificationTrayRepository/api/markNotificationTraySeen.d.ts.map +1 -0
  31. package/dist/notificationTrayRepository/events/index.d.ts +2 -0
  32. package/dist/notificationTrayRepository/events/index.d.ts.map +1 -0
  33. package/dist/notificationTrayRepository/events/onNotificationTraySeenUpdated.d.ts +17 -0
  34. package/dist/notificationTrayRepository/events/onNotificationTraySeenUpdated.d.ts.map +1 -0
  35. package/dist/notificationTrayRepository/index.d.ts +4 -0
  36. package/dist/notificationTrayRepository/index.d.ts.map +1 -0
  37. package/dist/notificationTrayRepository/internalApi/getNotificationTraySeen.d.ts +30 -0
  38. package/dist/notificationTrayRepository/internalApi/getNotificationTraySeen.d.ts.map +1 -0
  39. package/dist/notificationTrayRepository/observers/getNotificationTrayItems/NotificationTrayItemsLiveCollectionController.d.ts +13 -0
  40. package/dist/notificationTrayRepository/observers/getNotificationTrayItems/NotificationTrayItemsLiveCollectionController.d.ts.map +1 -0
  41. package/dist/notificationTrayRepository/observers/getNotificationTrayItems/NotificationTrayItemsPaginationController.d.ts +9 -0
  42. package/dist/notificationTrayRepository/observers/getNotificationTrayItems/NotificationTrayItemsPaginationController.d.ts.map +1 -0
  43. package/dist/notificationTrayRepository/observers/getNotificationTrayItems/NotificationTrayItemsQuerystreamController.d.ts +9 -0
  44. package/dist/notificationTrayRepository/observers/getNotificationTrayItems/NotificationTrayItemsQuerystreamController.d.ts.map +1 -0
  45. package/dist/notificationTrayRepository/observers/getNotificationTrayItems.d.ts +12 -0
  46. package/dist/notificationTrayRepository/observers/getNotificationTrayItems.d.ts.map +1 -0
  47. package/dist/notificationTrayRepository/observers/getNotificationTraySeen.d.ts +21 -0
  48. package/dist/notificationTrayRepository/observers/getNotificationTraySeen.d.ts.map +1 -0
  49. package/dist/notificationTrayRepository/observers/index.d.ts +3 -0
  50. package/dist/notificationTrayRepository/observers/index.d.ts.map +1 -0
  51. package/dist/notificationTrayRepository/utils/prepareNotificationTrayItemsPayload.d.ts +2 -0
  52. package/dist/notificationTrayRepository/utils/prepareNotificationTrayItemsPayload.d.ts.map +1 -0
  53. package/dist/utils/linkedObject/index.d.ts +1 -0
  54. package/dist/utils/linkedObject/index.d.ts.map +1 -1
  55. package/dist/utils/linkedObject/notificationTrayLinkedObject.d.ts +2 -0
  56. package/dist/utils/linkedObject/notificationTrayLinkedObject.d.ts.map +1 -0
  57. package/package.json +1 -1
  58. package/src/@types/core/events.ts +5 -0
  59. package/src/@types/core/model.ts +6 -0
  60. package/src/@types/core/payload.ts +25 -0
  61. package/src/@types/domains/client.ts +0 -1
  62. package/src/@types/domains/notification.ts +90 -0
  63. package/src/client/api/createClient.ts +1 -4
  64. package/src/client/utils/endpoints.ts +0 -1
  65. package/src/client/utils/setClientToken.ts +0 -8
  66. package/src/core/model/idResolvers.ts +3 -0
  67. package/src/core/model/index.ts +2 -0
  68. package/src/fileRepository/api/uploadFile.ts +1 -1
  69. package/src/fileRepository/api/uploadImage.ts +1 -1
  70. package/src/fileRepository/api/uploadVideo.ts +1 -1
  71. package/src/index.ts +2 -0
  72. package/src/notificationTrayRepository/api/index.ts +2 -0
  73. package/src/notificationTrayRepository/api/markNotificationItemsSeen.ts +59 -0
  74. package/src/notificationTrayRepository/api/markNotificationTraySeen.ts +65 -0
  75. package/src/notificationTrayRepository/events/index.ts +1 -0
  76. package/src/notificationTrayRepository/events/onNotificationTraySeenUpdated.ts +36 -0
  77. package/src/notificationTrayRepository/index.ts +3 -0
  78. package/src/notificationTrayRepository/internalApi/getNotificationTraySeen.ts +81 -0
  79. package/src/notificationTrayRepository/observers/getNotificationTrayItems/NotificationTrayItemsLiveCollectionController.ts +96 -0
  80. package/src/notificationTrayRepository/observers/getNotificationTrayItems/NotificationTrayItemsPaginationController.ts +31 -0
  81. package/src/notificationTrayRepository/observers/getNotificationTrayItems/NotificationTrayItemsQuerystreamController.ts +68 -0
  82. package/src/notificationTrayRepository/observers/getNotificationTrayItems.ts +44 -0
  83. package/src/notificationTrayRepository/observers/getNotificationTraySeen.ts +43 -0
  84. package/src/notificationTrayRepository/observers/index.ts +2 -0
  85. package/src/notificationTrayRepository/utils/prepareNotificationTrayItemsPayload.ts +12 -0
  86. package/src/utils/linkedObject/index.ts +2 -0
  87. package/src/utils/linkedObject/notificationTrayLinkedObject.ts +28 -0
package/dist/index.d.ts CHANGED
@@ -25,4 +25,5 @@ export * as LiveStreamPlayer from './liveStreamPlayer';
25
25
  export * as StoryRepository from './storyRepository';
26
26
  export * as AdRepository from './adRepository';
27
27
  export * from './external/api';
28
+ export * as NotificationTrayRepository from './notificationTrayRepository';
28
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAC;AAEzB,cAAc,WAAW,CAAC;AAG1B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAE5B,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAGvD,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AAEnD,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AAEnD,cAAc,YAAY,CAAC;AAG3B,OAAO,KAAK,kBAAkB,MAAM,sBAAsB,CAAC;AAE3D,cAAc,cAAc,CAAC;AAG7B,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,oBAAoB,MAAM,wBAAwB,CAAC;AAE/D,cAAc,iBAAiB,CAAC;AAGhC,OAAO,KAAK,mBAAmB,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,kBAAkB,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AAEvD,OAAO,KAAK,cAAc,MAAM,kBAA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