@selfcommunity/api-services 0.4.0-alpha.9 → 0.4.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/cjs/client/index.d.ts +2 -10
- package/lib/cjs/client/index.js +3 -6
- package/lib/cjs/constants/Endpoints.d.ts +1 -2
- package/lib/cjs/constants/Endpoints.js +15 -4
- package/lib/cjs/constants/Errors.d.ts +0 -1
- package/lib/cjs/constants/Errors.js +0 -1
- package/lib/cjs/index.d.ts +3 -4
- package/lib/cjs/index.js +36 -61
- package/lib/cjs/services/account/index.d.ts +7 -1
- package/lib/cjs/services/account/index.js +20 -19
- package/lib/cjs/services/category/index.d.ts +0 -1
- package/lib/cjs/services/category/index.js +18 -30
- package/lib/cjs/services/comment/index.d.ts +0 -1
- package/lib/cjs/services/comment/index.js +13 -25
- package/lib/cjs/services/custom_adv/index.d.ts +0 -1
- package/lib/cjs/services/custom_adv/index.js +5 -17
- package/lib/cjs/services/custom_menu/index.d.ts +0 -1
- package/lib/cjs/services/custom_menu/index.js +6 -18
- package/lib/cjs/services/custom_page/index.d.ts +0 -1
- package/lib/cjs/services/custom_page/index.js +5 -17
- package/lib/cjs/services/data_portability/index.d.ts +0 -1
- package/lib/cjs/services/data_portability/index.js +5 -17
- package/lib/cjs/services/embed/index.d.ts +0 -1
- package/lib/cjs/services/embed/index.js +10 -22
- package/lib/cjs/services/feature/index.d.ts +0 -1
- package/lib/cjs/services/feature/index.js +3 -15
- package/lib/cjs/services/feed/index.d.ts +0 -1
- package/lib/cjs/services/feed/index.js +7 -19
- package/lib/cjs/services/feed_object/index.d.ts +0 -1
- package/lib/cjs/services/feed_object/index.js +29 -41
- package/lib/cjs/services/incubator/index.d.ts +0 -1
- package/lib/cjs/services/incubator/index.js +9 -21
- package/lib/cjs/services/insight/index.d.ts +0 -1
- package/lib/cjs/services/insight/index.js +8 -20
- package/lib/cjs/services/invite/index.d.ts +0 -1
- package/lib/cjs/services/invite/index.js +3 -15
- package/lib/cjs/services/legal_page/index.d.ts +0 -1
- package/lib/cjs/services/legal_page/index.js +11 -23
- package/lib/cjs/services/locality/index.d.ts +0 -1
- package/lib/cjs/services/locality/index.js +4 -16
- package/lib/cjs/services/loyalty/index.d.ts +5 -5
- package/lib/cjs/services/loyalty/index.js +16 -27
- package/lib/cjs/services/media/index.d.ts +0 -1
- package/lib/cjs/services/media/index.js +9 -21
- package/lib/cjs/services/moderation/index.d.ts +0 -1
- package/lib/cjs/services/moderation/index.js +8 -20
- package/lib/cjs/services/notification/index.d.ts +0 -1
- package/lib/cjs/services/notification/index.js +11 -23
- package/lib/cjs/services/preference/index.d.ts +0 -1
- package/lib/cjs/services/preference/index.js +5 -17
- package/lib/cjs/services/private_message/index.d.ts +0 -1
- package/lib/cjs/services/private_message/index.js +13 -25
- package/lib/cjs/services/promo/index.d.ts +0 -1
- package/lib/cjs/services/promo/index.js +3 -15
- package/lib/cjs/services/reactions/index.d.ts +7 -1
- package/lib/cjs/services/reactions/index.js +24 -16
- package/lib/cjs/services/score/index.d.ts +0 -1
- package/lib/cjs/services/score/index.js +5 -17
- package/lib/cjs/services/sso/index.d.ts +0 -1
- package/lib/cjs/services/sso/index.js +4 -16
- package/lib/cjs/services/suggestion/index.d.ts +0 -1
- package/lib/cjs/services/suggestion/index.js +7 -19
- package/lib/cjs/services/tag/index.d.ts +0 -1
- package/lib/cjs/services/tag/index.js +9 -21
- package/lib/cjs/services/user/index.d.ts +20 -13
- package/lib/cjs/services/user/index.js +82 -84
- package/lib/cjs/services/webhook/index.d.ts +0 -1
- package/lib/cjs/services/webhook/index.js +14 -26
- package/lib/cjs/types/account.d.ts +0 -1
- package/lib/cjs/types/account.js +0 -1
- package/lib/cjs/types/baseParams.d.ts +0 -1
- package/lib/cjs/types/baseParams.js +0 -1
- package/lib/cjs/types/category.d.ts +0 -1
- package/lib/cjs/types/category.js +0 -1
- package/lib/cjs/types/comment.d.ts +0 -1
- package/lib/cjs/types/comment.js +0 -1
- package/lib/cjs/types/customAdv.d.ts +0 -1
- package/lib/cjs/types/customAdv.js +0 -1
- package/lib/cjs/types/customPage.d.ts +0 -1
- package/lib/cjs/types/customPage.js +0 -1
- package/lib/cjs/types/embed.d.ts +0 -1
- package/lib/cjs/types/embed.js +0 -1
- package/lib/cjs/types/feature.d.ts +0 -1
- package/lib/cjs/types/feature.js +0 -1
- package/lib/cjs/types/feed.d.ts +0 -1
- package/lib/cjs/types/feed.js +0 -1
- package/lib/cjs/types/feedObject.d.ts +0 -1
- package/lib/cjs/types/feedObject.js +0 -1
- package/lib/cjs/types/incubator.d.ts +0 -1
- package/lib/cjs/types/incubator.js +0 -1
- package/lib/cjs/types/index.d.ts +2 -3
- package/lib/cjs/types/index.js +0 -1
- package/lib/cjs/types/insight.d.ts +0 -1
- package/lib/cjs/types/insight.js +0 -1
- package/lib/cjs/types/legalPage.d.ts +0 -1
- package/lib/cjs/types/legalPage.js +0 -1
- package/lib/cjs/types/media.d.ts +0 -1
- package/lib/cjs/types/media.js +0 -1
- package/lib/cjs/types/moderation.d.ts +0 -1
- package/lib/cjs/types/moderation.js +0 -1
- package/lib/cjs/types/notification.d.ts +0 -1
- package/lib/cjs/types/notification.js +0 -1
- package/lib/cjs/types/paginatedResponse.d.ts +0 -1
- package/lib/cjs/types/paginatedResponse.js +0 -1
- package/lib/cjs/types/privateMessage.d.ts +0 -1
- package/lib/cjs/types/privateMessage.js +0 -1
- package/lib/cjs/types/prize.d.ts +14 -1
- package/lib/cjs/types/prize.js +0 -1
- package/lib/cjs/types/reaction.d.ts +0 -1
- package/lib/cjs/types/reaction.js +0 -1
- package/lib/cjs/types/score.d.ts +0 -1
- package/lib/cjs/types/score.js +0 -1
- package/lib/cjs/types/sso.d.ts +0 -1
- package/lib/cjs/types/sso.js +0 -1
- package/lib/cjs/types/tag.d.ts +0 -1
- package/lib/cjs/types/tag.js +0 -1
- package/lib/cjs/types/user.d.ts +0 -1
- package/lib/cjs/types/user.js +0 -1
- package/lib/cjs/types/webhook.d.ts +0 -1
- package/lib/cjs/types/webhook.js +0 -1
- package/lib/cjs/utils/apiRequest.d.ts +0 -1
- package/lib/cjs/utils/apiRequest.js +2 -5
- package/lib/cjs/utils/http.d.ts +2 -2
- package/lib/cjs/utils/http.js +32 -6
- package/lib/cjs/utils/token.d.ts +0 -1
- package/lib/cjs/utils/token.js +3 -35
- package/lib/cjs/utils/url.d.ts +0 -1
- package/lib/cjs/utils/url.js +0 -1
- package/lib/esm/client/index.d.ts +2 -10
- package/lib/esm/client/index.js +1 -2
- package/lib/esm/constants/Endpoints.d.ts +1 -2
- package/lib/esm/constants/Endpoints.js +15 -4
- package/lib/esm/constants/Errors.d.ts +0 -1
- package/lib/esm/constants/Errors.js +0 -1
- package/lib/esm/index.d.ts +3 -4
- package/lib/esm/index.js +2 -3
- package/lib/esm/services/account/index.d.ts +7 -1
- package/lib/esm/services/account/index.js +14 -10
- package/lib/esm/services/category/index.d.ts +0 -1
- package/lib/esm/services/category/index.js +1 -10
- package/lib/esm/services/comment/index.d.ts +0 -1
- package/lib/esm/services/comment/index.js +1 -10
- package/lib/esm/services/custom_adv/index.d.ts +0 -1
- package/lib/esm/services/custom_adv/index.js +1 -10
- package/lib/esm/services/custom_menu/index.d.ts +0 -1
- package/lib/esm/services/custom_menu/index.js +1 -10
- package/lib/esm/services/custom_page/index.d.ts +0 -1
- package/lib/esm/services/custom_page/index.js +1 -10
- package/lib/esm/services/data_portability/index.d.ts +0 -1
- package/lib/esm/services/data_portability/index.js +1 -10
- package/lib/esm/services/embed/index.d.ts +0 -1
- package/lib/esm/services/embed/index.js +1 -10
- package/lib/esm/services/feature/index.d.ts +0 -1
- package/lib/esm/services/feature/index.js +1 -10
- package/lib/esm/services/feed/index.d.ts +0 -1
- package/lib/esm/services/feed/index.js +1 -10
- package/lib/esm/services/feed_object/index.d.ts +0 -1
- package/lib/esm/services/feed_object/index.js +1 -10
- package/lib/esm/services/incubator/index.d.ts +0 -1
- package/lib/esm/services/incubator/index.js +1 -10
- package/lib/esm/services/insight/index.d.ts +0 -1
- package/lib/esm/services/insight/index.js +1 -10
- package/lib/esm/services/invite/index.d.ts +0 -1
- package/lib/esm/services/invite/index.js +1 -10
- package/lib/esm/services/legal_page/index.d.ts +0 -1
- package/lib/esm/services/legal_page/index.js +1 -10
- package/lib/esm/services/locality/index.d.ts +0 -1
- package/lib/esm/services/locality/index.js +1 -10
- package/lib/esm/services/loyalty/index.d.ts +5 -5
- package/lib/esm/services/loyalty/index.js +6 -14
- package/lib/esm/services/media/index.d.ts +0 -1
- package/lib/esm/services/media/index.js +1 -10
- package/lib/esm/services/moderation/index.d.ts +0 -1
- package/lib/esm/services/moderation/index.js +1 -10
- package/lib/esm/services/notification/index.d.ts +0 -1
- package/lib/esm/services/notification/index.js +1 -10
- package/lib/esm/services/preference/index.d.ts +0 -1
- package/lib/esm/services/preference/index.js +1 -10
- package/lib/esm/services/private_message/index.d.ts +0 -1
- package/lib/esm/services/private_message/index.js +1 -10
- package/lib/esm/services/promo/index.d.ts +0 -1
- package/lib/esm/services/promo/index.js +1 -10
- package/lib/esm/services/reactions/index.d.ts +7 -1
- package/lib/esm/services/reactions/index.js +21 -10
- package/lib/esm/services/score/index.d.ts +0 -1
- package/lib/esm/services/score/index.js +1 -10
- package/lib/esm/services/sso/index.d.ts +0 -1
- package/lib/esm/services/sso/index.js +1 -10
- package/lib/esm/services/suggestion/index.d.ts +0 -1
- package/lib/esm/services/suggestion/index.js +1 -10
- package/lib/esm/services/tag/index.d.ts +0 -1
- package/lib/esm/services/tag/index.js +1 -10
- package/lib/esm/services/user/index.d.ts +20 -13
- package/lib/esm/services/user/index.js +31 -30
- package/lib/esm/services/webhook/index.d.ts +0 -1
- package/lib/esm/services/webhook/index.js +1 -10
- package/lib/esm/types/account.d.ts +0 -1
- package/lib/esm/types/account.js +0 -1
- package/lib/esm/types/baseParams.d.ts +0 -1
- package/lib/esm/types/baseParams.js +0 -1
- package/lib/esm/types/category.d.ts +0 -1
- package/lib/esm/types/category.js +0 -1
- package/lib/esm/types/comment.d.ts +0 -1
- package/lib/esm/types/comment.js +0 -1
- package/lib/esm/types/customAdv.d.ts +0 -1
- package/lib/esm/types/customAdv.js +0 -1
- package/lib/esm/types/customPage.d.ts +0 -1
- package/lib/esm/types/customPage.js +0 -1
- package/lib/esm/types/embed.d.ts +0 -1
- package/lib/esm/types/embed.js +0 -1
- package/lib/esm/types/feature.d.ts +0 -1
- package/lib/esm/types/feature.js +0 -1
- package/lib/esm/types/feed.d.ts +0 -1
- package/lib/esm/types/feed.js +0 -1
- package/lib/esm/types/feedObject.d.ts +0 -1
- package/lib/esm/types/feedObject.js +0 -1
- package/lib/esm/types/incubator.d.ts +0 -1
- package/lib/esm/types/incubator.js +0 -1
- package/lib/esm/types/index.d.ts +2 -3
- package/lib/esm/types/index.js +0 -1
- package/lib/esm/types/insight.d.ts +0 -1
- package/lib/esm/types/insight.js +0 -1
- package/lib/esm/types/legalPage.d.ts +0 -1
- package/lib/esm/types/legalPage.js +0 -1
- package/lib/esm/types/media.d.ts +0 -1
- package/lib/esm/types/media.js +0 -1
- package/lib/esm/types/moderation.d.ts +0 -1
- package/lib/esm/types/moderation.js +0 -1
- package/lib/esm/types/notification.d.ts +0 -1
- package/lib/esm/types/notification.js +0 -1
- package/lib/esm/types/paginatedResponse.d.ts +0 -1
- package/lib/esm/types/paginatedResponse.js +0 -1
- package/lib/esm/types/privateMessage.d.ts +0 -1
- package/lib/esm/types/privateMessage.js +0 -1
- package/lib/esm/types/prize.d.ts +14 -1
- package/lib/esm/types/prize.js +0 -1
- package/lib/esm/types/reaction.d.ts +0 -1
- package/lib/esm/types/reaction.js +0 -1
- package/lib/esm/types/score.d.ts +0 -1
- package/lib/esm/types/score.js +0 -1
- package/lib/esm/types/sso.d.ts +0 -1
- package/lib/esm/types/sso.js +0 -1
- package/lib/esm/types/tag.d.ts +0 -1
- package/lib/esm/types/tag.js +0 -1
- package/lib/esm/types/user.d.ts +0 -1
- package/lib/esm/types/user.js +0 -1
- package/lib/esm/types/webhook.d.ts +0 -1
- package/lib/esm/types/webhook.js +0 -1
- package/lib/esm/utils/apiRequest.d.ts +0 -1
- package/lib/esm/utils/apiRequest.js +0 -1
- package/lib/esm/utils/http.d.ts +2 -2
- package/lib/esm/utils/http.js +29 -2
- package/lib/esm/utils/token.d.ts +0 -1
- package/lib/esm/utils/token.js +1 -10
- package/lib/esm/utils/url.d.ts +0 -1
- package/lib/esm/utils/url.js +0 -1
- package/lib/umd/956.js +2 -0
- package/lib/umd/956.js.LICENSE.txt +1 -0
- package/lib/umd/api-services.js +1 -2
- package/lib/umd/api-services.js.LICENSE.txt +1 -1
- package/package.json +20 -19
- package/lib/cjs/client/index.d.ts.map +0 -1
- package/lib/cjs/client/index.js.map +0 -1
- package/lib/cjs/constants/Endpoints.d.ts.map +0 -1
- package/lib/cjs/constants/Endpoints.js.map +0 -1
- package/lib/cjs/constants/Errors.d.ts.map +0 -1
- package/lib/cjs/constants/Errors.js.map +0 -1
- package/lib/cjs/index.d.ts.map +0 -1
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/services/account/index.d.ts.map +0 -1
- package/lib/cjs/services/account/index.js.map +0 -1
- package/lib/cjs/services/category/index.d.ts.map +0 -1
- package/lib/cjs/services/category/index.js.map +0 -1
- package/lib/cjs/services/comment/index.d.ts.map +0 -1
- package/lib/cjs/services/comment/index.js.map +0 -1
- package/lib/cjs/services/custom_adv/index.d.ts.map +0 -1
- package/lib/cjs/services/custom_adv/index.js.map +0 -1
- package/lib/cjs/services/custom_menu/index.d.ts.map +0 -1
- package/lib/cjs/services/custom_menu/index.js.map +0 -1
- package/lib/cjs/services/custom_page/index.d.ts.map +0 -1
- package/lib/cjs/services/custom_page/index.js.map +0 -1
- package/lib/cjs/services/data_portability/index.d.ts.map +0 -1
- package/lib/cjs/services/data_portability/index.js.map +0 -1
- package/lib/cjs/services/embed/index.d.ts.map +0 -1
- package/lib/cjs/services/embed/index.js.map +0 -1
- package/lib/cjs/services/feature/index.d.ts.map +0 -1
- package/lib/cjs/services/feature/index.js.map +0 -1
- package/lib/cjs/services/feed/index.d.ts.map +0 -1
- package/lib/cjs/services/feed/index.js.map +0 -1
- package/lib/cjs/services/feed_object/index.d.ts.map +0 -1
- package/lib/cjs/services/feed_object/index.js.map +0 -1
- package/lib/cjs/services/incubator/index.d.ts.map +0 -1
- package/lib/cjs/services/incubator/index.js.map +0 -1
- package/lib/cjs/services/insight/index.d.ts.map +0 -1
- package/lib/cjs/services/insight/index.js.map +0 -1
- package/lib/cjs/services/invite/index.d.ts.map +0 -1
- package/lib/cjs/services/invite/index.js.map +0 -1
- package/lib/cjs/services/legal_page/index.d.ts.map +0 -1
- package/lib/cjs/services/legal_page/index.js.map +0 -1
- package/lib/cjs/services/locality/index.d.ts.map +0 -1
- package/lib/cjs/services/locality/index.js.map +0 -1
- package/lib/cjs/services/loyalty/index.d.ts.map +0 -1
- package/lib/cjs/services/loyalty/index.js.map +0 -1
- package/lib/cjs/services/media/index.d.ts.map +0 -1
- package/lib/cjs/services/media/index.js.map +0 -1
- package/lib/cjs/services/moderation/index.d.ts.map +0 -1
- package/lib/cjs/services/moderation/index.js.map +0 -1
- package/lib/cjs/services/notification/index.d.ts.map +0 -1
- package/lib/cjs/services/notification/index.js.map +0 -1
- package/lib/cjs/services/preference/index.d.ts.map +0 -1
- package/lib/cjs/services/preference/index.js.map +0 -1
- package/lib/cjs/services/private_message/index.d.ts.map +0 -1
- package/lib/cjs/services/private_message/index.js.map +0 -1
- package/lib/cjs/services/promo/index.d.ts.map +0 -1
- package/lib/cjs/services/promo/index.js.map +0 -1
- package/lib/cjs/services/reactions/index.d.ts.map +0 -1
- package/lib/cjs/services/reactions/index.js.map +0 -1
- package/lib/cjs/services/score/index.d.ts.map +0 -1
- package/lib/cjs/services/score/index.js.map +0 -1
- package/lib/cjs/services/sso/index.d.ts.map +0 -1
- package/lib/cjs/services/sso/index.js.map +0 -1
- package/lib/cjs/services/suggestion/index.d.ts.map +0 -1
- package/lib/cjs/services/suggestion/index.js.map +0 -1
- package/lib/cjs/services/tag/index.d.ts.map +0 -1
- package/lib/cjs/services/tag/index.js.map +0 -1
- package/lib/cjs/services/user/index.d.ts.map +0 -1
- package/lib/cjs/services/user/index.js.map +0 -1
- package/lib/cjs/services/webhook/index.d.ts.map +0 -1
- package/lib/cjs/services/webhook/index.js.map +0 -1
- package/lib/cjs/types/account.d.ts.map +0 -1
- package/lib/cjs/types/account.js.map +0 -1
- package/lib/cjs/types/baseParams.d.ts.map +0 -1
- package/lib/cjs/types/baseParams.js.map +0 -1
- package/lib/cjs/types/category.d.ts.map +0 -1
- package/lib/cjs/types/category.js.map +0 -1
- package/lib/cjs/types/comment.d.ts.map +0 -1
- package/lib/cjs/types/comment.js.map +0 -1
- package/lib/cjs/types/customAdv.d.ts.map +0 -1
- package/lib/cjs/types/customAdv.js.map +0 -1
- package/lib/cjs/types/customPage.d.ts.map +0 -1
- package/lib/cjs/types/customPage.js.map +0 -1
- package/lib/cjs/types/embed.d.ts.map +0 -1
- package/lib/cjs/types/embed.js.map +0 -1
- package/lib/cjs/types/feature.d.ts.map +0 -1
- package/lib/cjs/types/feature.js.map +0 -1
- package/lib/cjs/types/feed.d.ts.map +0 -1
- package/lib/cjs/types/feed.js.map +0 -1
- package/lib/cjs/types/feedObject.d.ts.map +0 -1
- package/lib/cjs/types/feedObject.js.map +0 -1
- package/lib/cjs/types/incubator.d.ts.map +0 -1
- package/lib/cjs/types/incubator.js.map +0 -1
- package/lib/cjs/types/index.d.ts.map +0 -1
- package/lib/cjs/types/index.js.map +0 -1
- package/lib/cjs/types/insight.d.ts.map +0 -1
- package/lib/cjs/types/insight.js.map +0 -1
- package/lib/cjs/types/legalPage.d.ts.map +0 -1
- package/lib/cjs/types/legalPage.js.map +0 -1
- package/lib/cjs/types/media.d.ts.map +0 -1
- package/lib/cjs/types/media.js.map +0 -1
- package/lib/cjs/types/moderation.d.ts.map +0 -1
- package/lib/cjs/types/moderation.js.map +0 -1
- package/lib/cjs/types/notification.d.ts.map +0 -1
- package/lib/cjs/types/notification.js.map +0 -1
- package/lib/cjs/types/paginatedResponse.d.ts.map +0 -1
- package/lib/cjs/types/paginatedResponse.js.map +0 -1
- package/lib/cjs/types/privateMessage.d.ts.map +0 -1
- package/lib/cjs/types/privateMessage.js.map +0 -1
- package/lib/cjs/types/prize.d.ts.map +0 -1
- package/lib/cjs/types/prize.js.map +0 -1
- package/lib/cjs/types/reaction.d.ts.map +0 -1
- package/lib/cjs/types/reaction.js.map +0 -1
- package/lib/cjs/types/score.d.ts.map +0 -1
- package/lib/cjs/types/score.js.map +0 -1
- package/lib/cjs/types/sso.d.ts.map +0 -1
- package/lib/cjs/types/sso.js.map +0 -1
- package/lib/cjs/types/tag.d.ts.map +0 -1
- package/lib/cjs/types/tag.js.map +0 -1
- package/lib/cjs/types/user.d.ts.map +0 -1
- package/lib/cjs/types/user.js.map +0 -1
- package/lib/cjs/types/webhook.d.ts.map +0 -1
- package/lib/cjs/types/webhook.js.map +0 -1
- package/lib/cjs/utils/apiRequest.d.ts.map +0 -1
- package/lib/cjs/utils/apiRequest.js.map +0 -1
- package/lib/cjs/utils/http.d.ts.map +0 -1
- package/lib/cjs/utils/http.js.map +0 -1
- package/lib/cjs/utils/token.d.ts.map +0 -1
- package/lib/cjs/utils/token.js.map +0 -1
- package/lib/cjs/utils/url.d.ts.map +0 -1
- package/lib/cjs/utils/url.js.map +0 -1
- package/lib/esm/client/index.d.ts.map +0 -1
- package/lib/esm/client/index.js.map +0 -1
- package/lib/esm/constants/Endpoints.d.ts.map +0 -1
- package/lib/esm/constants/Endpoints.js.map +0 -1
- package/lib/esm/constants/Errors.d.ts.map +0 -1
- package/lib/esm/constants/Errors.js.map +0 -1
- package/lib/esm/index.d.ts.map +0 -1
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/services/account/index.d.ts.map +0 -1
- package/lib/esm/services/account/index.js.map +0 -1
- package/lib/esm/services/category/index.d.ts.map +0 -1
- package/lib/esm/services/category/index.js.map +0 -1
- package/lib/esm/services/comment/index.d.ts.map +0 -1
- package/lib/esm/services/comment/index.js.map +0 -1
- package/lib/esm/services/custom_adv/index.d.ts.map +0 -1
- package/lib/esm/services/custom_adv/index.js.map +0 -1
- package/lib/esm/services/custom_menu/index.d.ts.map +0 -1
- package/lib/esm/services/custom_menu/index.js.map +0 -1
- package/lib/esm/services/custom_page/index.d.ts.map +0 -1
- package/lib/esm/services/custom_page/index.js.map +0 -1
- package/lib/esm/services/data_portability/index.d.ts.map +0 -1
- package/lib/esm/services/data_portability/index.js.map +0 -1
- package/lib/esm/services/embed/index.d.ts.map +0 -1
- package/lib/esm/services/embed/index.js.map +0 -1
- package/lib/esm/services/feature/index.d.ts.map +0 -1
- package/lib/esm/services/feature/index.js.map +0 -1
- package/lib/esm/services/feed/index.d.ts.map +0 -1
- package/lib/esm/services/feed/index.js.map +0 -1
- package/lib/esm/services/feed_object/index.d.ts.map +0 -1
- package/lib/esm/services/feed_object/index.js.map +0 -1
- package/lib/esm/services/incubator/index.d.ts.map +0 -1
- package/lib/esm/services/incubator/index.js.map +0 -1
- package/lib/esm/services/insight/index.d.ts.map +0 -1
- package/lib/esm/services/insight/index.js.map +0 -1
- package/lib/esm/services/invite/index.d.ts.map +0 -1
- package/lib/esm/services/invite/index.js.map +0 -1
- package/lib/esm/services/legal_page/index.d.ts.map +0 -1
- package/lib/esm/services/legal_page/index.js.map +0 -1
- package/lib/esm/services/locality/index.d.ts.map +0 -1
- package/lib/esm/services/locality/index.js.map +0 -1
- package/lib/esm/services/loyalty/index.d.ts.map +0 -1
- package/lib/esm/services/loyalty/index.js.map +0 -1
- package/lib/esm/services/media/index.d.ts.map +0 -1
- package/lib/esm/services/media/index.js.map +0 -1
- package/lib/esm/services/moderation/index.d.ts.map +0 -1
- package/lib/esm/services/moderation/index.js.map +0 -1
- package/lib/esm/services/notification/index.d.ts.map +0 -1
- package/lib/esm/services/notification/index.js.map +0 -1
- package/lib/esm/services/preference/index.d.ts.map +0 -1
- package/lib/esm/services/preference/index.js.map +0 -1
- package/lib/esm/services/private_message/index.d.ts.map +0 -1
- package/lib/esm/services/private_message/index.js.map +0 -1
- package/lib/esm/services/promo/index.d.ts.map +0 -1
- package/lib/esm/services/promo/index.js.map +0 -1
- package/lib/esm/services/reactions/index.d.ts.map +0 -1
- package/lib/esm/services/reactions/index.js.map +0 -1
- package/lib/esm/services/score/index.d.ts.map +0 -1
- package/lib/esm/services/score/index.js.map +0 -1
- package/lib/esm/services/sso/index.d.ts.map +0 -1
- package/lib/esm/services/sso/index.js.map +0 -1
- package/lib/esm/services/suggestion/index.d.ts.map +0 -1
- package/lib/esm/services/suggestion/index.js.map +0 -1
- package/lib/esm/services/tag/index.d.ts.map +0 -1
- package/lib/esm/services/tag/index.js.map +0 -1
- package/lib/esm/services/user/index.d.ts.map +0 -1
- package/lib/esm/services/user/index.js.map +0 -1
- package/lib/esm/services/webhook/index.d.ts.map +0 -1
- package/lib/esm/services/webhook/index.js.map +0 -1
- package/lib/esm/types/account.d.ts.map +0 -1
- package/lib/esm/types/account.js.map +0 -1
- package/lib/esm/types/baseParams.d.ts.map +0 -1
- package/lib/esm/types/baseParams.js.map +0 -1
- package/lib/esm/types/category.d.ts.map +0 -1
- package/lib/esm/types/category.js.map +0 -1
- package/lib/esm/types/comment.d.ts.map +0 -1
- package/lib/esm/types/comment.js.map +0 -1
- package/lib/esm/types/customAdv.d.ts.map +0 -1
- package/lib/esm/types/customAdv.js.map +0 -1
- package/lib/esm/types/customPage.d.ts.map +0 -1
- package/lib/esm/types/customPage.js.map +0 -1
- package/lib/esm/types/embed.d.ts.map +0 -1
- package/lib/esm/types/embed.js.map +0 -1
- package/lib/esm/types/feature.d.ts.map +0 -1
- package/lib/esm/types/feature.js.map +0 -1
- package/lib/esm/types/feed.d.ts.map +0 -1
- package/lib/esm/types/feed.js.map +0 -1
- package/lib/esm/types/feedObject.d.ts.map +0 -1
- package/lib/esm/types/feedObject.js.map +0 -1
- package/lib/esm/types/incubator.d.ts.map +0 -1
- package/lib/esm/types/incubator.js.map +0 -1
- package/lib/esm/types/index.d.ts.map +0 -1
- package/lib/esm/types/index.js.map +0 -1
- package/lib/esm/types/insight.d.ts.map +0 -1
- package/lib/esm/types/insight.js.map +0 -1
- package/lib/esm/types/legalPage.d.ts.map +0 -1
- package/lib/esm/types/legalPage.js.map +0 -1
- package/lib/esm/types/media.d.ts.map +0 -1
- package/lib/esm/types/media.js.map +0 -1
- package/lib/esm/types/moderation.d.ts.map +0 -1
- package/lib/esm/types/moderation.js.map +0 -1
- package/lib/esm/types/notification.d.ts.map +0 -1
- package/lib/esm/types/notification.js.map +0 -1
- package/lib/esm/types/paginatedResponse.d.ts.map +0 -1
- package/lib/esm/types/paginatedResponse.js.map +0 -1
- package/lib/esm/types/privateMessage.d.ts.map +0 -1
- package/lib/esm/types/privateMessage.js.map +0 -1
- package/lib/esm/types/prize.d.ts.map +0 -1
- package/lib/esm/types/prize.js.map +0 -1
- package/lib/esm/types/reaction.d.ts.map +0 -1
- package/lib/esm/types/reaction.js.map +0 -1
- package/lib/esm/types/score.d.ts.map +0 -1
- package/lib/esm/types/score.js.map +0 -1
- package/lib/esm/types/sso.d.ts.map +0 -1
- package/lib/esm/types/sso.js.map +0 -1
- package/lib/esm/types/tag.d.ts.map +0 -1
- package/lib/esm/types/tag.js.map +0 -1
- package/lib/esm/types/user.d.ts.map +0 -1
- package/lib/esm/types/user.js.map +0 -1
- package/lib/esm/types/webhook.d.ts.map +0 -1
- package/lib/esm/types/webhook.js.map +0 -1
- package/lib/esm/utils/apiRequest.d.ts.map +0 -1
- package/lib/esm/utils/apiRequest.js.map +0 -1
- package/lib/esm/utils/http.d.ts.map +0 -1
- package/lib/esm/utils/http.js.map +0 -1
- package/lib/esm/utils/token.d.ts.map +0 -1
- package/lib/esm/utils/token.js.map +0 -1
- package/lib/esm/utils/url.d.ts.map +0 -1
- package/lib/esm/utils/url.js.map +0 -1
- package/lib/umd/api-services.js.map +0 -1
|
@@ -1,19 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
3
|
exports.CommentApiClient = void 0;
|
|
16
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
|
|
17
6
|
const apiRequest_1 = require("../../utils/apiRequest");
|
|
18
7
|
const url_1 = require("../../utils/url");
|
|
19
8
|
/**
|
|
@@ -151,60 +140,59 @@ exports.CommentApiClient = CommentApiClient;
|
|
|
151
140
|
*/
|
|
152
141
|
class CommentService {
|
|
153
142
|
static getAllComments(params, config) {
|
|
154
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
143
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
155
144
|
return CommentApiClient.getAllComments(params, config);
|
|
156
145
|
});
|
|
157
146
|
}
|
|
158
147
|
static createComment(data, config) {
|
|
159
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
160
149
|
return CommentApiClient.createComment(data, config);
|
|
161
150
|
});
|
|
162
151
|
}
|
|
163
152
|
static getASpecificComment(id, config) {
|
|
164
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
165
154
|
return CommentApiClient.getASpecificComment(id, config);
|
|
166
155
|
});
|
|
167
156
|
}
|
|
168
157
|
static updateComment(id, text, config) {
|
|
169
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
158
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
170
159
|
return CommentApiClient.updateComment(id, text, config);
|
|
171
160
|
});
|
|
172
161
|
}
|
|
173
162
|
static deleteComment(id, config) {
|
|
174
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
175
164
|
return CommentApiClient.deleteComment(id, config);
|
|
176
165
|
});
|
|
177
166
|
}
|
|
178
167
|
static restoreComment(id, config) {
|
|
179
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
180
169
|
return CommentApiClient.restoreComment(id, config);
|
|
181
170
|
});
|
|
182
171
|
}
|
|
183
172
|
static getSpecificCommentVotesList(id, config) {
|
|
184
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
173
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
185
174
|
return CommentApiClient.getSpecificCommentVotesList(id, config);
|
|
186
175
|
});
|
|
187
176
|
}
|
|
188
177
|
static upvoteComment(id, config) {
|
|
189
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
178
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
190
179
|
return CommentApiClient.upvoteComment(id, config);
|
|
191
180
|
});
|
|
192
181
|
}
|
|
193
182
|
static getSpecificCommentFlags(id, config) {
|
|
194
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
183
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
195
184
|
return CommentApiClient.getSpecificCommentFlags(id, config);
|
|
196
185
|
});
|
|
197
186
|
}
|
|
198
187
|
static flagComment(id, flagType, config) {
|
|
199
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
188
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
200
189
|
return CommentApiClient.flagComment(id, flagType, config);
|
|
201
190
|
});
|
|
202
191
|
}
|
|
203
192
|
static getSpecificCommentFlagStatus(id, config) {
|
|
204
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
193
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
205
194
|
return CommentApiClient.getSpecificCommentFlagStatus(id, config);
|
|
206
195
|
});
|
|
207
196
|
}
|
|
208
197
|
}
|
|
209
198
|
exports.default = CommentService;
|
|
210
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -69,4 +69,3 @@ export default class CustomAdvService {
|
|
|
69
69
|
static getAllCustomAdv(params?: CustomAdvParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCCustomAdvType>>;
|
|
70
70
|
static searchCustomAdv(params?: CustomAdvParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCCustomAdvType>>;
|
|
71
71
|
}
|
|
72
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
3
|
exports.CustomAdvApiClient = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
16
5
|
const apiRequest_1 = require("../../utils/apiRequest");
|
|
17
|
-
const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
|
|
6
|
+
const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
|
|
18
7
|
const url_1 = require("../../utils/url");
|
|
19
8
|
/**
|
|
20
9
|
* Contains all the endpoints needed to manage custom advs.
|
|
@@ -85,20 +74,19 @@ exports.CustomAdvApiClient = CustomAdvApiClient;
|
|
|
85
74
|
*/
|
|
86
75
|
class CustomAdvService {
|
|
87
76
|
static getASpecificCustomAdv(id, config) {
|
|
88
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
89
78
|
return CustomAdvApiClient.getASpecificCustomAdv(id, config);
|
|
90
79
|
});
|
|
91
80
|
}
|
|
92
81
|
static getAllCustomAdv(params, config) {
|
|
93
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
82
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
94
83
|
return CustomAdvApiClient.getAllCustomAdv(params, config);
|
|
95
84
|
});
|
|
96
85
|
}
|
|
97
86
|
static searchCustomAdv(params, config) {
|
|
98
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
99
88
|
return CustomAdvApiClient.searchCustomAdv(params, config);
|
|
100
89
|
});
|
|
101
90
|
}
|
|
102
91
|
}
|
|
103
92
|
exports.default = CustomAdvService;
|
|
104
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -76,4 +76,3 @@ export default class CustomMenuService {
|
|
|
76
76
|
static getBaseCustomMenu(config?: AxiosRequestConfig): Promise<SCCustomMenuType>;
|
|
77
77
|
static searchCustomMenus(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCCustomMenuType>>;
|
|
78
78
|
}
|
|
79
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,19 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
3
|
exports.CustomMenuApiClient = void 0;
|
|
16
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
|
|
17
6
|
const apiRequest_1 = require("../../utils/apiRequest");
|
|
18
7
|
const url_1 = require("../../utils/url");
|
|
19
8
|
/**
|
|
@@ -92,25 +81,24 @@ exports.CustomMenuApiClient = CustomMenuApiClient;
|
|
|
92
81
|
*/
|
|
93
82
|
class CustomMenuService {
|
|
94
83
|
static getASpecificCustomMenu(id, config) {
|
|
95
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
96
85
|
return CustomMenuApiClient.getASpecificCustomMenu(id, config);
|
|
97
86
|
});
|
|
98
87
|
}
|
|
99
88
|
static getAllCustomMenus(params, config) {
|
|
100
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
89
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
101
90
|
return CustomMenuApiClient.getAllCustomMenus(params, config);
|
|
102
91
|
});
|
|
103
92
|
}
|
|
104
93
|
static getBaseCustomMenu(config) {
|
|
105
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
94
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
106
95
|
return CustomMenuApiClient.getBaseCustomMenu(config);
|
|
107
96
|
});
|
|
108
97
|
}
|
|
109
98
|
static searchCustomMenus(params, config) {
|
|
110
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
99
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
111
100
|
return CustomMenuApiClient.searchCustomMenus(params, config);
|
|
112
101
|
});
|
|
113
102
|
}
|
|
114
103
|
}
|
|
115
104
|
exports.default = CustomMenuService;
|
|
116
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -69,4 +69,3 @@ export default class CustomPageService {
|
|
|
69
69
|
static getAllCustomPages(params?: CustomPageParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCCustomPageType>>;
|
|
70
70
|
static searchCustomPages(params?: CustomPageSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCCustomPageType>>;
|
|
71
71
|
}
|
|
72
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,19 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
3
|
exports.CustomPageApiClient = void 0;
|
|
16
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
|
|
17
6
|
const apiRequest_1 = require("../../utils/apiRequest");
|
|
18
7
|
const url_1 = require("../../utils/url");
|
|
19
8
|
/**
|
|
@@ -85,20 +74,19 @@ exports.CustomPageApiClient = CustomPageApiClient;
|
|
|
85
74
|
*/
|
|
86
75
|
class CustomPageService {
|
|
87
76
|
static getASpecificCustomPage(id, config) {
|
|
88
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
89
78
|
return CustomPageApiClient.getASpecificCustomPage(id, config);
|
|
90
79
|
});
|
|
91
80
|
}
|
|
92
81
|
static getAllCustomPages(params, config) {
|
|
93
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
82
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
94
83
|
return CustomPageApiClient.getAllCustomPages(params, config);
|
|
95
84
|
});
|
|
96
85
|
}
|
|
97
86
|
static searchCustomPages(params, config) {
|
|
98
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
99
88
|
return CustomPageApiClient.searchCustomPages(params, config);
|
|
100
89
|
});
|
|
101
90
|
}
|
|
102
91
|
}
|
|
103
92
|
exports.default = CustomPageService;
|
|
104
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
3
|
exports.DataPortabilityApiClient = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
16
5
|
const apiRequest_1 = require("../../utils/apiRequest");
|
|
17
|
-
const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
|
|
6
|
+
const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
|
|
18
7
|
/**
|
|
19
8
|
* Contains all the endpoints needed to manage data portability.
|
|
20
9
|
*/
|
|
@@ -72,20 +61,19 @@ exports.DataPortabilityApiClient = DataPortabilityApiClient;
|
|
|
72
61
|
*/
|
|
73
62
|
class DataPortabilityService {
|
|
74
63
|
static generateDataPortability(config) {
|
|
75
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
76
65
|
return DataPortabilityApiClient.generateDataPortability(config);
|
|
77
66
|
});
|
|
78
67
|
}
|
|
79
68
|
static downloadDataPortability(config) {
|
|
80
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
81
70
|
return DataPortabilityApiClient.downloadDataPortability(config);
|
|
82
71
|
});
|
|
83
72
|
}
|
|
84
73
|
static dataPortabilityStatus(config) {
|
|
85
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
86
75
|
return DataPortabilityApiClient.dataPortabilityStatus(config);
|
|
87
76
|
});
|
|
88
77
|
}
|
|
89
78
|
}
|
|
90
79
|
exports.default = DataPortabilityService;
|
|
91
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -112,4 +112,3 @@ export default class EmbedService {
|
|
|
112
112
|
static getEmbedFeed(embed_type?: string, embed_id?: string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedUnitType>>;
|
|
113
113
|
static getSpecificEmbedFeed(id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedUnitType>>;
|
|
114
114
|
}
|
|
115
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
3
|
exports.EmbedApiClient = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
16
5
|
const apiRequest_1 = require("../../utils/apiRequest");
|
|
17
|
-
const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
|
|
6
|
+
const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
|
|
18
7
|
const url_1 = require("../../utils/url");
|
|
19
8
|
/**
|
|
20
9
|
* Contains all the endpoints needed to manage embeds.
|
|
@@ -129,45 +118,44 @@ exports.EmbedApiClient = EmbedApiClient;
|
|
|
129
118
|
*/
|
|
130
119
|
class EmbedService {
|
|
131
120
|
static getAllEmbeds(params, config) {
|
|
132
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
121
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
133
122
|
return EmbedApiClient.getAllEmbeds(params, config);
|
|
134
123
|
});
|
|
135
124
|
}
|
|
136
125
|
static searchEmbed(params, config) {
|
|
137
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
138
127
|
return EmbedApiClient.searchEmbed(params, config);
|
|
139
128
|
});
|
|
140
129
|
}
|
|
141
130
|
static createEmbed(data, config) {
|
|
142
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
131
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
143
132
|
return EmbedApiClient.createEmbed(data, config);
|
|
144
133
|
});
|
|
145
134
|
}
|
|
146
135
|
static getSpecificEmbed(id, config) {
|
|
147
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
148
137
|
return EmbedApiClient.getSpecificEmbed(id, config);
|
|
149
138
|
});
|
|
150
139
|
}
|
|
151
140
|
static updateASpecificEmbed(id, data, config) {
|
|
152
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
141
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
153
142
|
return EmbedApiClient.updateASpecificEmbed(id, data, config);
|
|
154
143
|
});
|
|
155
144
|
}
|
|
156
145
|
static patchASpecificEmbed(id, data, config) {
|
|
157
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
146
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
158
147
|
return EmbedApiClient.patchASpecificEmbed(id, data, config);
|
|
159
148
|
});
|
|
160
149
|
}
|
|
161
150
|
static getEmbedFeed(embed_type, embed_id, config) {
|
|
162
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
151
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
163
152
|
return EmbedApiClient.getEmbedFeed(embed_type, embed_id, config);
|
|
164
153
|
});
|
|
165
154
|
}
|
|
166
155
|
static getSpecificEmbedFeed(id, config) {
|
|
167
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
168
157
|
return EmbedApiClient.getSpecificEmbedFeed(id, config);
|
|
169
158
|
});
|
|
170
159
|
}
|
|
171
160
|
}
|
|
172
161
|
exports.default = EmbedService;
|
|
173
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
3
|
exports.FeatureApiClient = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
16
5
|
const apiRequest_1 = require("../../utils/apiRequest");
|
|
17
|
-
const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
|
|
6
|
+
const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
|
|
18
7
|
const url_1 = require("../../utils/url");
|
|
19
8
|
/**
|
|
20
9
|
* Contains all the endpoints needed to manage features.
|
|
@@ -61,10 +50,9 @@ exports.FeatureApiClient = FeatureApiClient;
|
|
|
61
50
|
*/
|
|
62
51
|
class FeatureService {
|
|
63
52
|
static getAllFeatures(params, config) {
|
|
64
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
65
54
|
return FeatureApiClient.getAllFeatures(params, config);
|
|
66
55
|
});
|
|
67
56
|
}
|
|
68
57
|
}
|
|
69
58
|
exports.default = FeatureService;
|
|
70
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -84,4 +84,3 @@ export default class FeedService {
|
|
|
84
84
|
static markReadASpecificFeedObj(object: number[], config?: AxiosRequestConfig): Promise<any>;
|
|
85
85
|
static likeFeedObjs(object: number[], config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedUnitType>>;
|
|
86
86
|
}
|
|
87
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
3
|
exports.FeedApiClient = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
16
5
|
const apiRequest_1 = require("../../utils/apiRequest");
|
|
17
|
-
const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
|
|
6
|
+
const Endpoints_1 = tslib_1.__importDefault(require("../../constants/Endpoints"));
|
|
18
7
|
const url_1 = require("../../utils/url");
|
|
19
8
|
/**
|
|
20
9
|
* Contains all the endpoints needed to manage feed.
|
|
@@ -100,30 +89,29 @@ exports.FeedApiClient = FeedApiClient;
|
|
|
100
89
|
*/
|
|
101
90
|
class FeedService {
|
|
102
91
|
static getMainFeed(params, config) {
|
|
103
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
104
93
|
return FeedApiClient.getMainFeed(params, config);
|
|
105
94
|
});
|
|
106
95
|
}
|
|
107
96
|
static getExploreFeed(params, config) {
|
|
108
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
109
98
|
return FeedApiClient.getExploreFeed(params, config);
|
|
110
99
|
});
|
|
111
100
|
}
|
|
112
101
|
static getMainFeedUnseenCount(config) {
|
|
113
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
114
103
|
return FeedApiClient.getMainFeedUnseenCount(config);
|
|
115
104
|
});
|
|
116
105
|
}
|
|
117
106
|
static markReadASpecificFeedObj(object, config) {
|
|
118
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
119
108
|
return FeedApiClient.markReadASpecificFeedObj(object, config);
|
|
120
109
|
});
|
|
121
110
|
}
|
|
122
111
|
static likeFeedObjs(object, config) {
|
|
123
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
124
113
|
return FeedApiClient.likeFeedObjs(object, config);
|
|
125
114
|
});
|
|
126
115
|
}
|
|
127
116
|
}
|
|
128
117
|
exports.default = FeedService;
|
|
129
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -291,4 +291,3 @@ export default class FeedObjectService {
|
|
|
291
291
|
static hideFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
|
|
292
292
|
static feedObjectHideStatus(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectHideStatusType>;
|
|
293
293
|
}
|
|
294
|
-
//# sourceMappingURL=index.d.ts.map
|