@selfcommunity/api-services 0.1.7 → 0.1.8-alpha.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.
- package/lib/{types → cjs}/client/index.d.ts +0 -0
- package/lib/{types → cjs}/client/index.d.ts.map +0 -0
- package/lib/cjs/client/index.js +112 -157
- package/lib/cjs/client/index.js.map +1 -0
- package/lib/{types → cjs}/constants/Endpoints.d.ts +0 -0
- package/lib/{types → cjs}/constants/Endpoints.d.ts.map +1 -1
- package/lib/cjs/constants/Endpoints.js +1017 -1051
- package/lib/cjs/constants/Endpoints.js.map +1 -0
- package/lib/{types → cjs}/index.d.ts +2 -2
- package/lib/{types → cjs}/index.d.ts.map +1 -1
- package/lib/cjs/index.js +134 -222
- package/lib/cjs/index.js.map +1 -0
- package/lib/{types → cjs}/services/category/index.d.ts +0 -0
- package/lib/{types → cjs}/services/category/index.d.ts.map +0 -0
- package/lib/cjs/services/category/index.js +218 -251
- package/lib/cjs/services/category/index.js.map +1 -0
- package/lib/{types → cjs}/services/comment/index.d.ts +5 -4
- package/lib/cjs/services/comment/index.d.ts.map +1 -0
- package/lib/cjs/services/comment/index.js +154 -181
- package/lib/cjs/services/comment/index.js.map +1 -0
- package/lib/{types → cjs}/services/custom_adv/index.d.ts +3 -3
- package/lib/cjs/services/custom_adv/index.d.ts.map +1 -0
- package/lib/cjs/services/custom_adv/index.js +56 -56
- package/lib/cjs/services/custom_adv/index.js.map +1 -0
- package/lib/{types → cjs}/services/custom_page/index.d.ts +0 -0
- package/lib/{types → cjs}/services/custom_page/index.d.ts.map +0 -0
- package/lib/cjs/services/custom_page/index.js +56 -56
- package/lib/cjs/services/custom_page/index.js.map +1 -0
- package/lib/{types → cjs}/services/data_portability/index.d.ts +0 -0
- package/lib/{types → cjs}/services/data_portability/index.d.ts.map +0 -0
- package/lib/cjs/services/data_portability/index.js +51 -49
- package/lib/cjs/services/data_portability/index.js.map +1 -0
- package/lib/{types → cjs}/services/embed/index.d.ts +8 -6
- package/lib/cjs/services/embed/index.d.ts.map +1 -0
- package/lib/cjs/services/embed/index.js +120 -128
- package/lib/cjs/services/embed/index.js.map +1 -0
- package/lib/cjs/services/feature/index.d.ts +19 -0
- package/lib/cjs/services/feature/index.d.ts.map +1 -0
- package/lib/cjs/services/feature/index.js +31 -25
- package/lib/cjs/services/feature/index.js.map +1 -0
- package/lib/{types → cjs}/services/feed/index.d.ts +2 -0
- package/lib/{types → cjs}/services/feed/index.d.ts.map +1 -1
- package/lib/cjs/services/feed/index.js +79 -81
- package/lib/cjs/services/feed/index.js.map +1 -0
- package/lib/{types → cjs}/services/feed_object/index.d.ts +9 -9
- package/lib/cjs/services/feed_object/index.d.ts.map +1 -0
- package/lib/cjs/services/feed_object/index.js +387 -485
- package/lib/cjs/services/feed_object/index.js.map +1 -0
- package/lib/{types → cjs}/services/incubator/index.d.ts +0 -0
- package/lib/{types → cjs}/services/incubator/index.d.ts.map +0 -0
- package/lib/cjs/services/incubator/index.js +104 -114
- package/lib/cjs/services/incubator/index.js.map +1 -0
- package/lib/{types → cjs}/services/insight/index.d.ts +13 -10
- package/lib/cjs/services/insight/index.d.ts.map +1 -0
- package/lib/cjs/services/insight/index.js +93 -94
- package/lib/cjs/services/insight/index.js.map +1 -0
- package/lib/{types → cjs}/services/legal_page/index.d.ts +0 -0
- package/lib/{types → cjs}/services/legal_page/index.d.ts.map +0 -0
- package/lib/cjs/services/legal_page/index.js +92 -102
- package/lib/cjs/services/legal_page/index.js.map +1 -0
- package/lib/cjs/services/locality/index.d.ts +26 -0
- package/lib/cjs/services/locality/index.d.ts.map +1 -0
- package/lib/cjs/services/locality/index.js +44 -37
- package/lib/cjs/services/locality/index.js.map +1 -0
- package/lib/{types → cjs}/services/loyalty/index.d.ts +3 -3
- package/lib/cjs/services/loyalty/index.d.ts.map +1 -0
- package/lib/cjs/services/loyalty/index.js +128 -148
- package/lib/cjs/services/loyalty/index.js.map +1 -0
- package/lib/{types → cjs}/services/media/index.d.ts +0 -0
- package/lib/{types → cjs}/services/media/index.d.ts.map +1 -1
- package/lib/cjs/services/media/index.js +107 -124
- package/lib/cjs/services/media/index.js.map +1 -0
- package/lib/{types → cjs}/services/moderation/index.d.ts +0 -0
- package/lib/{types → cjs}/services/moderation/index.d.ts.map +1 -1
- package/lib/cjs/services/moderation/index.js +95 -109
- package/lib/cjs/services/moderation/index.js.map +1 -0
- package/lib/{types → cjs}/services/notification/index.d.ts +3 -3
- package/lib/cjs/services/notification/index.d.ts.map +1 -0
- package/lib/cjs/services/notification/index.js +121 -131
- package/lib/cjs/services/notification/index.js.map +1 -0
- package/lib/{types → cjs}/services/preference/index.d.ts +0 -0
- package/lib/{types → cjs}/services/preference/index.d.ts.map +0 -0
- package/lib/cjs/services/preference/index.js +57 -65
- package/lib/cjs/services/preference/index.js.map +1 -0
- package/lib/{types → cjs}/services/private_message/index.d.ts +0 -0
- package/lib/{types → cjs}/services/private_message/index.d.ts.map +0 -0
- package/lib/cjs/services/private_message/index.js +137 -148
- package/lib/cjs/services/private_message/index.js.map +1 -0
- package/lib/cjs/services/score/index.d.ts +33 -0
- package/lib/cjs/services/score/index.d.ts.map +1 -0
- package/lib/cjs/services/score/index.js +56 -50
- package/lib/cjs/services/score/index.js.map +1 -0
- package/lib/{types → cjs}/services/sso/index.d.ts +2 -1
- package/lib/{types → cjs}/services/sso/index.d.ts.map +1 -1
- package/lib/cjs/services/sso/index.js +42 -38
- package/lib/cjs/services/sso/index.js.map +1 -0
- package/lib/{types → cjs}/services/suggestion/index.d.ts +0 -0
- package/lib/{types → cjs}/services/suggestion/index.d.ts.map +0 -0
- package/lib/cjs/services/suggestion/index.js +62 -61
- package/lib/cjs/services/suggestion/index.js.map +1 -0
- package/lib/{types → cjs}/services/tag/index.d.ts +10 -7
- package/lib/cjs/services/tag/index.d.ts.map +1 -0
- package/lib/cjs/services/tag/index.js +110 -119
- package/lib/cjs/services/tag/index.js.map +1 -0
- package/lib/{types → cjs}/services/user/index.d.ts +16 -12
- package/lib/cjs/services/user/index.d.ts.map +1 -0
- package/lib/cjs/services/user/index.js +606 -715
- package/lib/cjs/services/user/index.js.map +1 -0
- package/lib/{types → cjs}/services/webhook/index.d.ts +0 -0
- package/lib/{types → cjs}/services/webhook/index.d.ts.map +0 -0
- package/lib/cjs/services/webhook/index.js +164 -193
- package/lib/cjs/services/webhook/index.js.map +1 -0
- package/lib/{types → cjs}/types/baseParams.d.ts +0 -0
- package/lib/{types → cjs}/types/baseParams.d.ts.map +0 -0
- package/lib/cjs/types/baseParams.js +5 -2
- package/lib/cjs/types/baseParams.js.map +1 -0
- package/lib/{types → cjs}/types/category.d.ts +0 -0
- package/lib/{types → cjs}/types/category.d.ts.map +0 -0
- package/lib/cjs/types/category.js +2 -2
- package/lib/cjs/types/category.js.map +1 -0
- package/lib/{types → cjs}/types/comment.d.ts +0 -0
- package/lib/{types → cjs}/types/comment.d.ts.map +0 -0
- package/lib/cjs/types/comment.js +2 -2
- package/lib/cjs/types/comment.js.map +1 -0
- package/lib/{types → cjs}/types/customAdv.d.ts +0 -0
- package/lib/{types → cjs}/types/customAdv.d.ts.map +0 -0
- package/lib/cjs/types/customAdv.js +2 -2
- package/lib/cjs/types/customAdv.js.map +1 -0
- package/lib/{types → cjs}/types/customPage.d.ts +0 -0
- package/lib/{types → cjs}/types/customPage.d.ts.map +0 -0
- package/lib/cjs/types/customPage.js +2 -2
- package/lib/cjs/types/customPage.js.map +1 -0
- package/lib/{types → cjs}/types/embed.d.ts +0 -0
- package/lib/{types → cjs}/types/embed.d.ts.map +0 -0
- package/lib/cjs/types/embed.js +2 -2
- package/lib/cjs/types/embed.js.map +1 -0
- package/lib/cjs/types/feature.d.ts +11 -0
- package/lib/cjs/types/feature.d.ts.map +1 -0
- package/lib/cjs/types/feature.js +3 -0
- package/lib/cjs/types/feature.js.map +1 -0
- package/lib/{types → cjs}/types/feed.d.ts +0 -0
- package/lib/{types → cjs}/types/feed.d.ts.map +0 -0
- package/lib/cjs/types/feed.js +2 -2
- package/lib/cjs/types/feed.js.map +1 -0
- package/lib/{types → cjs}/types/feedObject.d.ts +0 -0
- package/lib/{types → cjs}/types/feedObject.d.ts.map +0 -0
- package/lib/cjs/types/feedObject.js +2 -2
- package/lib/cjs/types/feedObject.js.map +1 -0
- package/lib/{types → cjs}/types/incubator.d.ts +0 -0
- package/lib/{types → cjs}/types/incubator.d.ts.map +0 -0
- package/lib/cjs/types/incubator.js +2 -2
- package/lib/cjs/types/incubator.js.map +1 -0
- package/lib/{types → cjs}/types/index.d.ts +5 -2
- package/lib/cjs/types/index.d.ts.map +1 -0
- package/lib/cjs/types/index.js +6 -101
- package/lib/cjs/types/index.js.map +1 -0
- package/lib/cjs/types/insight.d.ts +67 -0
- package/lib/cjs/types/insight.d.ts.map +1 -0
- package/lib/cjs/types/insight.js +3 -0
- package/lib/cjs/types/insight.js.map +1 -0
- package/lib/{types → cjs}/types/legalPage.d.ts +0 -0
- package/lib/{types → cjs}/types/legalPage.d.ts.map +0 -0
- package/lib/cjs/types/legalPage.js +2 -2
- package/lib/cjs/types/legalPage.js.map +1 -0
- package/lib/{types → cjs}/types/media.d.ts +0 -0
- package/lib/{types → cjs}/types/media.d.ts.map +0 -0
- package/lib/cjs/types/media.js +22 -26
- package/lib/cjs/types/media.js.map +1 -0
- package/lib/{types → cjs}/types/moderation.d.ts +1 -1
- package/lib/{types → cjs}/types/moderation.d.ts.map +1 -1
- package/lib/cjs/types/moderation.js +2 -2
- package/lib/cjs/types/moderation.js.map +1 -0
- package/lib/{types → cjs}/types/notification.d.ts +0 -0
- package/lib/{types → cjs}/types/notification.d.ts.map +0 -0
- package/lib/cjs/types/notification.js +2 -2
- package/lib/cjs/types/notification.js.map +1 -0
- package/lib/{types → cjs}/types/paginatedResponse.d.ts +0 -0
- package/lib/{types → cjs}/types/paginatedResponse.d.ts.map +0 -0
- package/lib/cjs/types/paginatedResponse.js +5 -2
- package/lib/cjs/types/paginatedResponse.js.map +1 -0
- package/lib/{types → cjs}/types/privateMessage.d.ts +0 -0
- package/lib/{types → cjs}/types/privateMessage.d.ts.map +0 -0
- package/lib/cjs/types/privateMessage.js +2 -2
- package/lib/cjs/types/privateMessage.js.map +1 -0
- package/lib/{types → cjs}/types/prize.d.ts +0 -0
- package/lib/{types → cjs}/types/prize.d.ts.map +0 -0
- package/lib/cjs/types/prize.js +2 -2
- package/lib/cjs/types/prize.js.map +1 -0
- package/lib/cjs/types/score.d.ts +19 -0
- package/lib/cjs/types/score.d.ts.map +1 -0
- package/lib/cjs/types/score.js +3 -0
- package/lib/cjs/types/score.js.map +1 -0
- package/lib/{types → cjs}/types/sso.d.ts +0 -0
- package/lib/{types → cjs}/types/sso.d.ts.map +0 -0
- package/lib/cjs/types/sso.js +5 -2
- package/lib/cjs/types/sso.js.map +1 -0
- package/lib/{types → cjs}/types/tag.d.ts +22 -0
- package/lib/cjs/types/tag.d.ts.map +1 -0
- package/lib/cjs/types/tag.js +2 -2
- package/lib/cjs/types/tag.js.map +1 -0
- package/lib/{types → cjs}/types/user.d.ts +0 -0
- package/lib/{types → cjs}/types/user.d.ts.map +0 -0
- package/lib/cjs/types/user.js +2 -2
- package/lib/cjs/types/user.js.map +1 -0
- package/lib/{types → cjs}/types/webhook.d.ts +0 -0
- package/lib/{types → cjs}/types/webhook.d.ts.map +0 -0
- package/lib/cjs/types/webhook.js +2 -2
- package/lib/cjs/types/webhook.js.map +1 -0
- package/lib/cjs/utils/apiRequest.d.ts +2 -0
- package/lib/{types → cjs}/utils/apiRequest.d.ts.map +1 -1
- package/lib/cjs/utils/apiRequest.js +26 -25
- package/lib/cjs/utils/apiRequest.js.map +1 -0
- package/lib/{types → cjs}/utils/http.d.ts +0 -0
- package/lib/{types → cjs}/utils/http.d.ts.map +0 -0
- package/lib/cjs/utils/http.js +41 -45
- package/lib/cjs/utils/http.js.map +1 -0
- package/lib/{types → cjs}/utils/token.d.ts +0 -0
- package/lib/{types → cjs}/utils/token.d.ts.map +0 -0
- package/lib/cjs/utils/token.js +62 -31
- package/lib/cjs/utils/token.js.map +1 -0
- package/lib/esm/client/index.d.ts +115 -0
- package/lib/esm/client/index.d.ts.map +1 -0
- package/lib/esm/client/index.js +108 -160
- package/lib/esm/client/index.js.map +1 -0
- package/lib/esm/constants/Endpoints.d.ts +10 -0
- package/lib/esm/constants/Endpoints.d.ts.map +1 -0
- package/lib/esm/constants/Endpoints.js +1016 -1052
- package/lib/esm/constants/Endpoints.js.map +1 -0
- package/lib/esm/index.d.ts +51 -0
- package/lib/esm/index.d.ts.map +1 -0
- package/lib/esm/index.js +51 -223
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/services/category/index.d.ts +127 -0
- package/lib/esm/services/category/index.d.ts.map +1 -0
- package/lib/esm/services/category/index.js +214 -255
- package/lib/esm/services/category/index.js.map +1 -0
- package/lib/esm/services/comment/index.d.ts +92 -0
- package/lib/esm/services/comment/index.d.ts.map +1 -0
- package/lib/esm/services/comment/index.js +150 -185
- package/lib/esm/services/comment/index.js.map +1 -0
- package/lib/esm/services/custom_adv/index.d.ts +33 -0
- package/lib/esm/services/custom_adv/index.d.ts.map +1 -0
- package/lib/esm/services/custom_adv/index.js +52 -60
- package/lib/esm/services/custom_adv/index.js.map +1 -0
- package/lib/esm/services/custom_page/index.d.ts +33 -0
- package/lib/esm/services/custom_page/index.d.ts.map +1 -0
- package/lib/esm/services/custom_page/index.js +52 -60
- package/lib/esm/services/custom_page/index.js.map +1 -0
- package/lib/esm/services/data_portability/index.d.ts +29 -0
- package/lib/esm/services/data_portability/index.d.ts.map +1 -0
- package/lib/esm/services/data_portability/index.js +47 -53
- package/lib/esm/services/data_portability/index.js.map +1 -0
- package/lib/esm/services/embed/index.d.ts +71 -0
- package/lib/esm/services/embed/index.d.ts.map +1 -0
- package/lib/esm/services/embed/index.js +116 -132
- package/lib/esm/services/embed/index.js.map +1 -0
- package/lib/esm/services/feature/index.d.ts +19 -0
- package/lib/esm/services/feature/index.d.ts.map +1 -0
- package/lib/esm/services/feature/index.js +27 -29
- package/lib/esm/services/feature/index.js.map +1 -0
- package/lib/esm/services/feed/index.d.ts +46 -0
- package/lib/esm/services/feed/index.d.ts.map +1 -0
- package/lib/esm/services/feed/index.js +75 -85
- package/lib/esm/services/feed/index.js.map +1 -0
- package/lib/esm/services/feed_object/index.d.ts +236 -0
- package/lib/esm/services/feed_object/index.d.ts.map +1 -0
- package/lib/esm/services/feed_object/index.js +383 -489
- package/lib/esm/services/feed_object/index.js.map +1 -0
- package/lib/esm/services/incubator/index.d.ts +61 -0
- package/lib/esm/services/incubator/index.d.ts.map +1 -0
- package/lib/esm/services/incubator/index.js +100 -118
- package/lib/esm/services/incubator/index.js.map +1 -0
- package/lib/esm/services/insight/index.d.ts +54 -0
- package/lib/esm/services/insight/index.d.ts.map +1 -0
- package/lib/esm/services/insight/index.js +89 -98
- package/lib/esm/services/insight/index.js.map +1 -0
- package/lib/esm/services/legal_page/index.d.ts +53 -0
- package/lib/esm/services/legal_page/index.d.ts.map +1 -0
- package/lib/esm/services/legal_page/index.js +88 -106
- package/lib/esm/services/legal_page/index.js.map +1 -0
- package/lib/esm/services/locality/index.d.ts +26 -0
- package/lib/esm/services/locality/index.d.ts.map +1 -0
- package/lib/esm/services/locality/index.js +40 -41
- package/lib/esm/services/locality/index.js.map +1 -0
- package/lib/esm/services/loyalty/index.d.ts +77 -0
- package/lib/esm/services/loyalty/index.d.ts.map +1 -0
- package/lib/esm/services/loyalty/index.js +124 -152
- package/lib/esm/services/loyalty/index.js.map +1 -0
- package/lib/esm/services/media/index.d.ts +65 -0
- package/lib/esm/services/media/index.d.ts.map +1 -0
- package/lib/esm/services/media/index.js +103 -128
- package/lib/esm/services/media/index.js.map +1 -0
- package/lib/esm/services/moderation/index.d.ts +58 -0
- package/lib/esm/services/moderation/index.d.ts.map +1 -0
- package/lib/esm/services/moderation/index.js +91 -113
- package/lib/esm/services/moderation/index.js.map +1 -0
- package/lib/esm/services/notification/index.d.ts +70 -0
- package/lib/esm/services/notification/index.d.ts.map +1 -0
- package/lib/esm/services/notification/index.js +117 -135
- package/lib/esm/services/notification/index.js.map +1 -0
- package/lib/esm/services/preference/index.d.ts +35 -0
- package/lib/esm/services/preference/index.d.ts.map +1 -0
- package/lib/esm/services/preference/index.js +53 -69
- package/lib/esm/services/preference/index.js.map +1 -0
- package/lib/esm/services/private_message/index.d.ts +81 -0
- package/lib/esm/services/private_message/index.d.ts.map +1 -0
- package/lib/esm/services/private_message/index.js +133 -152
- package/lib/esm/services/private_message/index.js.map +1 -0
- package/lib/esm/services/score/index.d.ts +33 -0
- package/lib/esm/services/score/index.d.ts.map +1 -0
- package/lib/esm/services/score/index.js +52 -54
- package/lib/esm/services/score/index.js.map +1 -0
- package/lib/esm/services/sso/index.d.ts +26 -0
- package/lib/esm/services/sso/index.d.ts.map +1 -0
- package/lib/esm/services/sso/index.js +38 -42
- package/lib/esm/services/sso/index.js.map +1 -0
- package/lib/esm/services/suggestion/index.d.ts +36 -0
- package/lib/esm/services/suggestion/index.d.ts.map +1 -0
- package/lib/esm/services/suggestion/index.js +58 -65
- package/lib/esm/services/suggestion/index.js.map +1 -0
- package/lib/esm/services/tag/index.d.ts +67 -0
- package/lib/esm/services/tag/index.d.ts.map +1 -0
- package/lib/esm/services/tag/index.js +106 -123
- package/lib/esm/services/tag/index.js.map +1 -0
- package/lib/esm/services/user/index.d.ts +351 -0
- package/lib/esm/services/user/index.d.ts.map +1 -0
- package/lib/esm/services/user/index.js +602 -719
- package/lib/esm/services/user/index.js.map +1 -0
- package/lib/esm/services/webhook/index.d.ts +99 -0
- package/lib/esm/services/webhook/index.d.ts.map +1 -0
- package/lib/esm/services/webhook/index.js +160 -197
- package/lib/esm/services/webhook/index.js.map +1 -0
- package/lib/esm/types/baseParams.d.ts +23 -0
- package/lib/esm/types/baseParams.d.ts.map +1 -0
- package/lib/esm/types/baseParams.js +5 -3
- package/lib/esm/types/baseParams.js.map +1 -0
- package/lib/esm/types/category.d.ts +15 -0
- package/lib/esm/types/category.d.ts.map +1 -0
- package/lib/esm/types/category.js +2 -3
- package/lib/esm/types/category.js.map +1 -0
- package/lib/esm/types/comment.d.ts +51 -0
- package/lib/esm/types/comment.d.ts.map +1 -0
- package/lib/esm/types/comment.js +2 -3
- package/lib/esm/types/comment.js.map +1 -0
- package/lib/esm/types/customAdv.d.ts +19 -0
- package/lib/esm/types/customAdv.d.ts.map +1 -0
- package/lib/esm/types/customAdv.js +2 -3
- package/lib/esm/types/customAdv.js.map +1 -0
- package/lib/esm/types/customPage.d.ts +24 -0
- package/lib/esm/types/customPage.d.ts.map +1 -0
- package/lib/esm/types/customPage.js +2 -3
- package/lib/esm/types/customPage.js.map +1 -0
- package/lib/esm/types/embed.d.ts +26 -0
- package/lib/esm/types/embed.d.ts.map +1 -0
- package/lib/esm/types/embed.js +2 -3
- package/lib/esm/types/embed.js.map +1 -0
- package/lib/esm/types/feature.d.ts +11 -0
- package/lib/esm/types/feature.d.ts.map +1 -0
- package/lib/esm/types/feature.js +2 -0
- package/lib/esm/types/feature.js.map +1 -0
- package/lib/esm/types/feed.d.ts +11 -0
- package/lib/esm/types/feed.d.ts.map +1 -0
- package/lib/esm/types/feed.js +2 -3
- package/lib/esm/types/feed.js.map +1 -0
- package/lib/esm/types/feedObject.d.ts +56 -0
- package/lib/esm/types/feedObject.d.ts.map +1 -0
- package/lib/esm/types/feedObject.js +2 -3
- package/lib/esm/types/feedObject.js.map +1 -0
- package/lib/esm/types/incubator.d.ts +33 -0
- package/lib/esm/types/incubator.d.ts.map +1 -0
- package/lib/esm/types/incubator.js +2 -3
- package/lib/esm/types/incubator.js.map +1 -0
- package/lib/esm/types/index.d.ts +25 -0
- package/lib/esm/types/index.d.ts.map +1 -0
- package/lib/esm/types/index.js +3 -102
- package/lib/esm/types/index.js.map +1 -0
- package/lib/esm/types/insight.d.ts +67 -0
- package/lib/esm/types/insight.d.ts.map +1 -0
- package/lib/esm/types/insight.js +2 -0
- package/lib/esm/types/insight.js.map +1 -0
- package/lib/esm/types/legalPage.d.ts +19 -0
- package/lib/esm/types/legalPage.d.ts.map +1 -0
- package/lib/esm/types/legalPage.js +2 -3
- package/lib/esm/types/legalPage.js.map +1 -0
- package/lib/esm/types/media.d.ts +80 -0
- package/lib/esm/types/media.d.ts.map +1 -0
- package/lib/esm/types/media.js +20 -27
- package/lib/esm/types/media.js.map +1 -0
- package/lib/esm/types/moderation.d.ts +23 -0
- package/lib/esm/types/moderation.d.ts.map +1 -0
- package/lib/esm/types/moderation.js +2 -3
- package/lib/esm/types/moderation.js.map +1 -0
- package/lib/esm/types/notification.d.ts +31 -0
- package/lib/esm/types/notification.d.ts.map +1 -0
- package/lib/esm/types/notification.js +2 -3
- package/lib/esm/types/notification.js.map +1 -0
- package/lib/esm/types/paginatedResponse.d.ts +10 -0
- package/lib/esm/types/paginatedResponse.d.ts.map +1 -0
- package/lib/esm/types/paginatedResponse.js +5 -3
- package/lib/esm/types/paginatedResponse.js.map +1 -0
- package/lib/esm/types/privateMessage.d.ts +176 -0
- package/lib/esm/types/privateMessage.d.ts.map +1 -0
- package/lib/esm/types/privateMessage.js +2 -3
- package/lib/esm/types/privateMessage.js.map +1 -0
- package/lib/esm/types/prize.d.ts +47 -0
- package/lib/esm/types/prize.d.ts.map +1 -0
- package/lib/esm/types/prize.js +2 -3
- package/lib/esm/types/prize.js.map +1 -0
- package/lib/esm/types/score.d.ts +19 -0
- package/lib/esm/types/score.d.ts.map +1 -0
- package/lib/esm/types/score.js +2 -0
- package/lib/esm/types/score.js.map +1 -0
- package/lib/esm/types/sso.d.ts +12 -0
- package/lib/esm/types/sso.d.ts.map +1 -0
- package/lib/esm/types/sso.js +5 -3
- package/lib/esm/types/sso.js.map +1 -0
- package/lib/esm/types/tag.d.ts +61 -0
- package/lib/esm/types/tag.d.ts.map +1 -0
- package/lib/esm/types/tag.js +2 -3
- package/lib/esm/types/tag.js.map +1 -0
- package/lib/esm/types/user.d.ts +105 -0
- package/lib/esm/types/user.d.ts.map +1 -0
- package/lib/esm/types/user.js +2 -3
- package/lib/esm/types/user.js.map +1 -0
- package/lib/esm/types/webhook.d.ts +32 -0
- package/lib/esm/types/webhook.d.ts.map +1 -0
- package/lib/esm/types/webhook.js +2 -3
- package/lib/esm/types/webhook.js.map +1 -0
- package/lib/esm/utils/apiRequest.d.ts +2 -0
- package/lib/esm/utils/apiRequest.d.ts.map +1 -0
- package/lib/esm/utils/apiRequest.js +21 -27
- package/lib/esm/utils/apiRequest.js.map +1 -0
- package/lib/esm/utils/http.d.ts +6 -0
- package/lib/esm/utils/http.d.ts.map +1 -0
- package/lib/esm/utils/http.js +39 -48
- package/lib/esm/utils/http.js.map +1 -0
- package/lib/esm/utils/token.d.ts +21 -0
- package/lib/esm/utils/token.d.ts.map +1 -0
- package/lib/esm/utils/token.js +36 -33
- package/lib/esm/utils/token.js.map +1 -0
- package/lib/umd/api-services.js +1 -1
- package/lib/umd/api-services.js.map +1 -1
- package/package.json +7 -9
- package/lib/cjs/index.d.js +0 -2
- package/lib/esm/index.d.js +0 -2
- package/lib/types/services/comment/index.d.ts.map +0 -1
- package/lib/types/services/custom_adv/index.d.ts.map +0 -1
- package/lib/types/services/embed/index.d.ts.map +0 -1
- package/lib/types/services/feature/index.d.ts +0 -18
- package/lib/types/services/feature/index.d.ts.map +0 -1
- package/lib/types/services/feed_object/index.d.ts.map +0 -1
- package/lib/types/services/insight/index.d.ts.map +0 -1
- package/lib/types/services/locality/index.d.ts +0 -24
- package/lib/types/services/locality/index.d.ts.map +0 -1
- package/lib/types/services/loyalty/index.d.ts.map +0 -1
- package/lib/types/services/notification/index.d.ts.map +0 -1
- package/lib/types/services/score/index.d.ts +0 -31
- package/lib/types/services/score/index.d.ts.map +0 -1
- package/lib/types/services/tag/index.d.ts.map +0 -1
- package/lib/types/services/user/index.d.ts.map +0 -1
- package/lib/types/tsconfig.build.tsbuildinfo +0 -1
- package/lib/types/types/index.d.ts.map +0 -1
- package/lib/types/types/tag.d.ts.map +0 -1
- package/lib/types/utils/apiRequest.d.ts +0 -2
|
@@ -1,260 +1,219 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import Endpoints from '../../constants/Endpoints';
|
|
11
|
+
import { apiRequest } from '../../utils/apiRequest';
|
|
12
12
|
/**
|
|
13
13
|
* Contains all the endpoints needed to manage categories.
|
|
14
14
|
*/
|
|
15
|
-
class CategoryApiClient {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
* This endpoint returns all trending followers of a specific category during last n days (default 90) .
|
|
137
|
-
* @param id
|
|
138
|
-
*/
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
static getCategoryTrendingFollowers(id) {
|
|
142
|
-
return (0, _apiRequest.apiRequest)(_Endpoints.default.CategoryTrendingPeople.url({
|
|
143
|
-
id
|
|
144
|
-
}), _Endpoints.default.CategoryTrendingPeople.method);
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* This endpoint follows a category.
|
|
148
|
-
* @param id
|
|
149
|
-
*/
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
static followCategory(id) {
|
|
153
|
-
return (0, _apiRequest.apiRequest)(_Endpoints.default.FollowCategory.url({
|
|
154
|
-
id
|
|
155
|
-
}), _Endpoints.default.FollowCategory.method);
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* This endpoint returns is_followed = true if the category (identified in path) is followed by the authenticated user.
|
|
159
|
-
* @param id
|
|
160
|
-
*/
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
static checkCategoryIsFollowed(id) {
|
|
164
|
-
return (0, _apiRequest.apiRequest)(_Endpoints.default.CheckCategoryIsFollowed.url({
|
|
165
|
-
id
|
|
166
|
-
}), _Endpoints.default.CheckCategoryIsFollowed.method);
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* This endpoint retrieves all followed categories by the user.
|
|
170
|
-
* @param params
|
|
171
|
-
*/
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
static getFollowedCategories(params) {
|
|
175
|
-
const p = new URLSearchParams(params);
|
|
176
|
-
return (0, _apiRequest.apiRequest)(`${_Endpoints.default.CategoriesFollowed.url({})}?${p.toString()}`, _Endpoints.default.CategoriesFollowed.method);
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* This endpoint retrieves all categories ordered by the number of followers (in descending order).
|
|
180
|
-
* @param params
|
|
181
|
-
*/
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
static getPopularCategories(params) {
|
|
185
|
-
const p = new URLSearchParams(params);
|
|
186
|
-
return (0, _apiRequest.apiRequest)(`${_Endpoints.default.PopularCategories.url({})}?${p.toString()}`, _Endpoints.default.PopularCategories.method);
|
|
187
|
-
}
|
|
188
|
-
|
|
15
|
+
export class CategoryApiClient {
|
|
16
|
+
/**
|
|
17
|
+
* This endpoint retrieves all categories.
|
|
18
|
+
* @param params
|
|
19
|
+
*/
|
|
20
|
+
static getAllCategories(params) {
|
|
21
|
+
const p = new URLSearchParams(params);
|
|
22
|
+
return apiRequest(`${Endpoints.CategoryList.url({})}?${p.toString()}`, Endpoints.CategoryList.method);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* This endpoint performs category search.
|
|
26
|
+
* @param params
|
|
27
|
+
*/
|
|
28
|
+
static searchCategory(params) {
|
|
29
|
+
const p = new URLSearchParams(params);
|
|
30
|
+
return apiRequest(`${Endpoints.SearchCategory.url({})}?${p.toString()}`, Endpoints.SearchCategory.method);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* This endpoint creates a category.
|
|
34
|
+
* @param data
|
|
35
|
+
*/
|
|
36
|
+
static createCategory(data) {
|
|
37
|
+
return apiRequest(Endpoints.CreateCategory.url({}), Endpoints.CreateCategory.method, data);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* This endpoint retrieves a specific category.
|
|
41
|
+
* @param id
|
|
42
|
+
*/
|
|
43
|
+
static getSpecificCategory(id) {
|
|
44
|
+
return apiRequest(Endpoints.Category.url({ id }), Endpoints.Category.method);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* This endpoint updates a specific category.
|
|
48
|
+
* @param id
|
|
49
|
+
* @param data
|
|
50
|
+
*/
|
|
51
|
+
static updateASpecificCategory(id, data) {
|
|
52
|
+
return apiRequest(Endpoints.UpdateCategory.url({ id }), Endpoints.UpdateCategory.method, data);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* This endpoint patches a specific category.
|
|
56
|
+
* @param id
|
|
57
|
+
* @param data
|
|
58
|
+
*/
|
|
59
|
+
static patchASpecificCategory(id, data) {
|
|
60
|
+
return apiRequest(Endpoints.PatchCategory.url({ id }), Endpoints.PatchCategory.method, data);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* This endpoint deletes a specific category identified by {id}.
|
|
64
|
+
* @param id
|
|
65
|
+
*/
|
|
66
|
+
static deleteASpecificCategory(id) {
|
|
67
|
+
return apiRequest(Endpoints.DeleteCategory.url({ id }), Endpoints.DeleteCategory.method);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* This endpoint returns the audience of a specific category.
|
|
71
|
+
* @param id
|
|
72
|
+
*/
|
|
73
|
+
static getCategoryAudience(id) {
|
|
74
|
+
return apiRequest(Endpoints.CategoryAudience.url({ id }), Endpoints.CategoryAudience.method);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* This endpoint returns all followers of a specific category.
|
|
78
|
+
* @param id
|
|
79
|
+
*/
|
|
80
|
+
static getCategoryFollowers(id) {
|
|
81
|
+
return apiRequest(Endpoints.CategoryFollowers.url({ id }), Endpoints.CategoryFollowers.method);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* This endpoint retrieves the category feed.
|
|
85
|
+
* @param id
|
|
86
|
+
*/
|
|
87
|
+
static getCategoryFeed(id) {
|
|
88
|
+
return apiRequest(Endpoints.CategoryFeed.url({ id }), Endpoints.CategoryFeed.method);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* This endpoint retrieves the category trending feed.
|
|
92
|
+
* @param id
|
|
93
|
+
* @param params
|
|
94
|
+
*/
|
|
95
|
+
static getCategoryTrendingFeed(id, params) {
|
|
96
|
+
const p = new URLSearchParams(params);
|
|
97
|
+
return apiRequest(`${Endpoints.CategoryTrendingFeed.url({ id })}?${p.toString()}`, Endpoints.CategoryTrendingFeed.method);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* This endpoint returns all trending followers of a specific category during last n days (default 90) .
|
|
101
|
+
* @param id
|
|
102
|
+
*/
|
|
103
|
+
static getCategoryTrendingFollowers(id) {
|
|
104
|
+
return apiRequest(Endpoints.CategoryTrendingPeople.url({ id }), Endpoints.CategoryTrendingPeople.method);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* This endpoint follows a category.
|
|
108
|
+
* @param id
|
|
109
|
+
*/
|
|
110
|
+
static followCategory(id) {
|
|
111
|
+
return apiRequest(Endpoints.FollowCategory.url({ id }), Endpoints.FollowCategory.method);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* This endpoint returns is_followed = true if the category (identified in path) is followed by the authenticated user.
|
|
115
|
+
* @param id
|
|
116
|
+
*/
|
|
117
|
+
static checkCategoryIsFollowed(id) {
|
|
118
|
+
return apiRequest(Endpoints.CheckCategoryIsFollowed.url({ id }), Endpoints.CheckCategoryIsFollowed.method);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* This endpoint retrieves all followed categories by the user.
|
|
122
|
+
* @param params
|
|
123
|
+
*/
|
|
124
|
+
static getFollowedCategories(params) {
|
|
125
|
+
const p = new URLSearchParams(params);
|
|
126
|
+
return apiRequest(`${Endpoints.CategoriesFollowed.url({})}?${p.toString()}`, Endpoints.CategoriesFollowed.method);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* This endpoint retrieves all categories ordered by the number of followers (in descending order).
|
|
130
|
+
* @param params
|
|
131
|
+
*/
|
|
132
|
+
static getPopularCategories(params) {
|
|
133
|
+
const p = new URLSearchParams(params);
|
|
134
|
+
return apiRequest(`${Endpoints.PopularCategories.url({})}?${p.toString()}`, Endpoints.PopularCategories.method);
|
|
135
|
+
}
|
|
189
136
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
137
|
+
export default class CategoryService {
|
|
138
|
+
static getAllCategories(params) {
|
|
139
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
return CategoryApiClient.getAllCategories(params);
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
static searchCategory(params) {
|
|
144
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
145
|
+
return CategoryApiClient.searchCategory(params);
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
static createCategory(data) {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
150
|
+
return CategoryApiClient.createCategory(data);
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
static getSpecificCategory(id) {
|
|
154
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
155
|
+
return CategoryApiClient.getSpecificCategory(id);
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
static updateASpecificCategory(id, data) {
|
|
159
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
160
|
+
return CategoryApiClient.updateASpecificCategory(id, data);
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
static patchASpecificCategory(id, data) {
|
|
164
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
165
|
+
return CategoryApiClient.patchASpecificCategory(id, data);
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
static deleteASpecificCategory(id) {
|
|
169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
return CategoryApiClient.deleteASpecificCategory(id);
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
static getCategoryAudience(id) {
|
|
174
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
+
return CategoryApiClient.getCategoryAudience(id);
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
static getCategoryFollowers(id) {
|
|
179
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
180
|
+
return CategoryApiClient.getCategoryFollowers(id);
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
static getCategoryFeed(id) {
|
|
184
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
185
|
+
return CategoryApiClient.getCategoryFeed(id);
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
static getCategoryTrendingFeed(id, params) {
|
|
189
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
190
|
+
return CategoryApiClient.getCategoryTrendingFeed(id, params);
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
static getCategoryTrendingFollowers(id) {
|
|
194
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
195
|
+
return CategoryApiClient.getCategoryTrendingFollowers(id);
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
static followCategory(id) {
|
|
199
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
200
|
+
return CategoryApiClient.followCategory(id);
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
static checkCategoryIsFollowed(id) {
|
|
204
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
205
|
+
return CategoryApiClient.checkCategoryIsFollowed(id);
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
static getFollowedCategories(params) {
|
|
209
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
210
|
+
return CategoryApiClient.getFollowedCategories(params);
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
static getPopularCategories(params) {
|
|
214
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
215
|
+
return CategoryApiClient.getPopularCategories(params);
|
|
216
|
+
});
|
|
217
|
+
}
|
|
258
218
|
}
|
|
259
|
-
|
|
260
|
-
exports.default = CategoryService;
|
|
219
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/services/category/index.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAGlD,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAqBlD;;GAEG;AACH,MAAM,OAAO,iBAAiB;IAC5B;;;OAGG;IACH,MAAM,CAAC,gBAAgB,CAAC,MAAuB;QAC7C,MAAM,CAAC,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,EAAE,SAAS,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IACxG,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,cAAc,CAAC,MAAuB;QAC3C,MAAM,CAAC,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,EAAE,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAC5G,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,cAAc,CAAC,IAAoB;QACxC,OAAO,UAAU,CAAC,SAAS,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,C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"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { SCCommentType, SCFlagType, SCFlagTypeEnum, SCVoteType } from '@selfcommunity/types';
|
|
2
|
+
import { CommentCreateParams, CommentListParams, SCPaginatedResponse } from '../../types';
|
|
3
|
+
export interface CommentApiClientInterface {
|
|
4
|
+
getAllComments(params: CommentListParams): Promise<SCPaginatedResponse<SCCommentType>>;
|
|
5
|
+
createComment(data: CommentCreateParams): Promise<SCCommentType>;
|
|
6
|
+
getASpecificComment(id: number): Promise<SCCommentType>;
|
|
7
|
+
updateComment(id: number, text: string): Promise<SCCommentType>;
|
|
8
|
+
deleteComment(id: number): Promise<any>;
|
|
9
|
+
restoreComment(id: number): Promise<any>;
|
|
10
|
+
getSpecificCommentVotesList(id: number): Promise<SCPaginatedResponse<SCVoteType>>;
|
|
11
|
+
upvoteComment(id: number): Promise<any>;
|
|
12
|
+
getSpecificCommentFlags(id: number): Promise<SCPaginatedResponse<SCFlagType>>;
|
|
13
|
+
flagComment(id: number, flagType: SCFlagTypeEnum): Promise<any>;
|
|
14
|
+
getSpecificCommentFlagStatus(id: number): Promise<SCFlagType>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Contains all the endpoints needed to manage comments.
|
|
18
|
+
*/
|
|
19
|
+
export declare class CommentApiClient {
|
|
20
|
+
/**
|
|
21
|
+
* This endpoint retrieves all comments.
|
|
22
|
+
* @param params
|
|
23
|
+
*/
|
|
24
|
+
static getAllComments(params: CommentListParams): Promise<SCPaginatedResponse<SCCommentType>>;
|
|
25
|
+
/**
|
|
26
|
+
* This endpoint creates a comment.
|
|
27
|
+
* @param data
|
|
28
|
+
*/
|
|
29
|
+
static createComment(data: CommentCreateParams): Promise<SCCommentType>;
|
|
30
|
+
/**
|
|
31
|
+
* This endpoint retrieves a specific comment using ID.
|
|
32
|
+
* @param id
|
|
33
|
+
*/
|
|
34
|
+
static getASpecificComment(id: number): Promise<SCCommentType>;
|
|
35
|
+
/**
|
|
36
|
+
* This endpoint updates a specific comment. The logged user must be the comment creator.
|
|
37
|
+
* @param id
|
|
38
|
+
* @param text
|
|
39
|
+
*/
|
|
40
|
+
static updateComment(id: number, text: string): Promise<SCCommentType>;
|
|
41
|
+
/**
|
|
42
|
+
* This endpoint deletes a specific comment using ID. The logged user must be the comment creator.
|
|
43
|
+
* @param id
|
|
44
|
+
*/
|
|
45
|
+
static deleteComment(id: number): Promise<any>;
|
|
46
|
+
/**
|
|
47
|
+
* This endpoint restores a specific comment using ID. The logged user must be the comment creator.
|
|
48
|
+
* @param id
|
|
49
|
+
*/
|
|
50
|
+
static restoreComment(id: number): Promise<any>;
|
|
51
|
+
/**
|
|
52
|
+
* This endpoint retrieves all votes for a specific comment.
|
|
53
|
+
* @param id
|
|
54
|
+
*/
|
|
55
|
+
static getSpecificCommentVotesList(id: number): Promise<SCPaginatedResponse<SCVoteType>>;
|
|
56
|
+
/**
|
|
57
|
+
* This endpoint upvotes a specific comment.
|
|
58
|
+
* @param id
|
|
59
|
+
*/
|
|
60
|
+
static upvoteComment(id: number): Promise<any>;
|
|
61
|
+
/**
|
|
62
|
+
* This endpoint retrieves a List of Flags for a Specific Comment.
|
|
63
|
+
* This operation requires moderation role.
|
|
64
|
+
* @param id
|
|
65
|
+
*/
|
|
66
|
+
static getSpecificCommentFlags(id: number): Promise<SCPaginatedResponse<SCFlagType>>;
|
|
67
|
+
/**
|
|
68
|
+
* This endpoint flags a specific comment.
|
|
69
|
+
* @param id
|
|
70
|
+
* @param flagType
|
|
71
|
+
*/
|
|
72
|
+
static flagComment(id: number, flagType: SCFlagTypeEnum): Promise<any>;
|
|
73
|
+
/**
|
|
74
|
+
* This endpoint retrieves, if exists, a flag for this contribute created by the user logged.
|
|
75
|
+
* @param id
|
|
76
|
+
*/
|
|
77
|
+
static getSpecificCommentFlagStatus(id: number): Promise<SCFlagType>;
|
|
78
|
+
}
|
|
79
|
+
export default class CommentService {
|
|
80
|
+
static getAllComments(params: CommentListParams): Promise<SCPaginatedResponse<SCCommentType>>;
|
|
81
|
+
static createComment(data: CommentCreateParams): Promise<SCCommentType>;
|
|
82
|
+
static getASpecificComment(id: number): Promise<SCCommentType>;
|
|
83
|
+
static updateComment(id: number, text: string): Promise<SCCommentType>;
|
|
84
|
+
static deleteComment(id: number): Promise<any>;
|
|
85
|
+
static restoreComment(id: number): Promise<any>;
|
|
86
|
+
static getSpecificCommentVotesList(id: number): Promise<SCPaginatedResponse<SCVoteType>>;
|
|
87
|
+
static upvoteComment(id: number): Promise<any>;
|
|
88
|
+
static getSpecificCommentFlags(id: number): Promise<SCPaginatedResponse<SCFlagType>>;
|
|
89
|
+
static flagComment(id: number, flagType: SCFlagTypeEnum): Promise<any>;
|
|
90
|
+
static getSpecificCommentFlagStatus(id: number): Promise<SCFlagType>;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/comment/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAC3F,OAAO,EAAC,mBAAmB,EAAE,iBAAiB,EAAE,mBAAmB,EAAC,MAAM,aAAa,CAAC;AAExF,MAAM,WAAW,yBAAyB;IACxC,cAAc,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC;IACvF,aAAa,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IACjE,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IACxD,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAChE,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC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