@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
package/lib/esm/client/index.js
CHANGED
|
@@ -45,7 +45,7 @@ export class ApiClient {
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
this.client = this.createClient(config);
|
|
48
|
-
this.setDefaultHeader({ name: 'Content-Type', value: 'application/
|
|
48
|
+
this.setDefaultHeader({ name: 'Content-Type', value: 'application/json', methods: ['post'] });
|
|
49
49
|
}
|
|
50
50
|
createClient(config) {
|
|
51
51
|
return axios.create(Object.assign(Object.assign({}, (config && config.baseURL && { baseURL: config.baseURL })), { responseType: 'json', headers: Object.assign({}, (config && config.accessToken && { Authorization: `Token ${config.accessToken}` })), timeout: ApiClient.DEFAULT_TIMEOUT }));
|
|
@@ -137,4 +137,3 @@ export class ApiClient {
|
|
|
137
137
|
ApiClient.DEFAULT_TIMEOUT = 10 * 1000;
|
|
138
138
|
const client = new ApiClient();
|
|
139
139
|
export default client;
|
|
140
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { HttpMethod } from '../client';
|
|
2
2
|
export interface EndpointType {
|
|
3
|
-
url: (params?:
|
|
3
|
+
url: (params?: any) => string;
|
|
4
4
|
method: HttpMethod;
|
|
5
5
|
}
|
|
6
6
|
declare const Endpoints: {
|
|
7
7
|
[key: string]: EndpointType;
|
|
8
8
|
};
|
|
9
9
|
export default Endpoints;
|
|
10
|
-
//# sourceMappingURL=Endpoints.d.ts.map
|
|
@@ -11,6 +11,10 @@ const Endpoints = {
|
|
|
11
11
|
url: urlReplacer('/api/v2/account/verify/'),
|
|
12
12
|
method: 'POST'
|
|
13
13
|
},
|
|
14
|
+
AccountVerifyValidationCode: {
|
|
15
|
+
url: urlReplacer('/api/v2/account/verify/validation_code/'),
|
|
16
|
+
method: 'POST'
|
|
17
|
+
},
|
|
14
18
|
AccountRecover: {
|
|
15
19
|
url: urlReplacer('/api/v2/account/recover/'),
|
|
16
20
|
method: 'POST'
|
|
@@ -311,6 +315,10 @@ const Endpoints = {
|
|
|
311
315
|
url: urlReplacer('/api/v2/user/hidden_users/'),
|
|
312
316
|
method: 'GET'
|
|
313
317
|
},
|
|
318
|
+
ListHiddenUsersId: {
|
|
319
|
+
url: urlReplacer('/api/v2/user/hidden_users_id/'),
|
|
320
|
+
method: 'GET'
|
|
321
|
+
},
|
|
314
322
|
UserAutocomplete: {
|
|
315
323
|
url: urlReplacer('/api/v2/user/autocomplete/'),
|
|
316
324
|
method: 'GET'
|
|
@@ -407,12 +415,16 @@ const Endpoints = {
|
|
|
407
415
|
url: urlReplacer('/api/v2/user/$(id)/is_connection/'),
|
|
408
416
|
method: 'GET'
|
|
409
417
|
},
|
|
418
|
+
UserCheckConnectionStatus: {
|
|
419
|
+
url: urlReplacer('/api/v2/user/$(id)/connection_status/'),
|
|
420
|
+
method: 'GET'
|
|
421
|
+
},
|
|
410
422
|
UserConnectionRequests: {
|
|
411
|
-
url: urlReplacer('/api/v2/user
|
|
423
|
+
url: urlReplacer('/api/v2/user/connection/requests/'),
|
|
412
424
|
method: 'GET'
|
|
413
425
|
},
|
|
414
426
|
UserRequestConnectionsSent: {
|
|
415
|
-
url: urlReplacer('/api/v2/user
|
|
427
|
+
url: urlReplacer('/api/v2/user/connection/requests_sent/'),
|
|
416
428
|
method: 'GET'
|
|
417
429
|
},
|
|
418
430
|
UserAcceptRequestConnection: {
|
|
@@ -1079,7 +1091,7 @@ const Endpoints = {
|
|
|
1079
1091
|
method: 'GET'
|
|
1080
1092
|
},
|
|
1081
1093
|
DataPortabilityDownload: {
|
|
1082
|
-
url: urlReplacer('/api/v2/udp/download'),
|
|
1094
|
+
url: urlReplacer('/api/v2/udp/download/'),
|
|
1083
1095
|
method: 'GET'
|
|
1084
1096
|
},
|
|
1085
1097
|
/**
|
|
@@ -1110,4 +1122,3 @@ const Endpoints = {
|
|
|
1110
1122
|
}
|
|
1111
1123
|
};
|
|
1112
1124
|
export default Endpoints;
|
|
1113
|
-
//# sourceMappingURL=Endpoints.js.map
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import Endpoints, { EndpointType } from './constants/Endpoints';
|
|
|
9
9
|
/**
|
|
10
10
|
* Utils
|
|
11
11
|
*/
|
|
12
|
-
import { formatHttpError, getCancelTokenSourceRequest } from './utils/http';
|
|
12
|
+
import { formatHttpError, formatHttpErrorCode, getCancelTokenSourceRequest } from './utils/http';
|
|
13
13
|
import { generateJWTToken, parseJwt } from './utils/token';
|
|
14
14
|
import { apiRequest } from './utils/apiRequest';
|
|
15
15
|
import { urlParams } from './utils/url';
|
|
@@ -49,9 +49,8 @@ import ReactionService, { ReactionApiClient, ReactionApiClientInterface } from '
|
|
|
49
49
|
/**
|
|
50
50
|
* Types
|
|
51
51
|
*/
|
|
52
|
-
import { AccountCreateParams, AccountVerifyParams, AccountResetParams, AccountRecoverParams, SCPaginatedResponse, WebhookParamType, WebhookEventsType, SSOSignUpParams, CommentListParams, CommentCreateParams, IncubatorCreateParams, IncubatorSearchParams, LoyaltyPrizeParams, ModerationParams, ModerateContributionParams, FlaggedContributionParams, CustomNotificationParams, UserAutocompleteParams, UserScoreParams, UserSearchParams, TagParams, TagGetParams, MediaCreateParams, MediaTypes, ChunkUploadParams, ChunkUploadCompleteParams, ThreadParams, MessageCreateParams, MessageMediaUploadParams, MessageThumbnailUploadParams, MessageChunkUploadDoneParams, MessageMediaChunksParams, CategoryParams, CustomAdvParams, CustomPageParams, CustomPageSearchParams, EmbedUpdateParams, EmbedSearchParams, BaseGetParams, BaseSearchParams, FeedObjGetParams, FeedObjCreateParams, FeedObjectPollVotesSearch, FeedParams, LegalPageFilterParams, FeatureParams, ScoreParams, InsightContributionParams, InsightUserParams, InsightEmbedParams, InsightCommonParams, ReactionParams } from './types';
|
|
52
|
+
import { AccountCreateParams, AccountVerifyParams, AccountResetParams, AccountRecoverParams, AccountSearchParams, SCPaginatedResponse, WebhookParamType, WebhookEventsType, SSOSignUpParams, CommentListParams, CommentCreateParams, IncubatorCreateParams, IncubatorSearchParams, LoyaltyPrizeParams, LoyaltyGetPrizeParams, ModerationParams, ModerateContributionParams, FlaggedContributionParams, CustomNotificationParams, UserAutocompleteParams, UserScoreParams, UserSearchParams, TagParams, TagGetParams, MediaCreateParams, MediaTypes, ChunkUploadParams, ChunkUploadCompleteParams, ThreadParams, MessageCreateParams, MessageMediaUploadParams, MessageThumbnailUploadParams, MessageChunkUploadDoneParams, MessageMediaChunksParams, CategoryParams, CustomAdvParams, CustomPageParams, CustomPageSearchParams, EmbedUpdateParams, EmbedSearchParams, BaseGetParams, BaseSearchParams, FeedObjGetParams, FeedObjCreateParams, FeedObjectPollVotesSearch, FeedParams, LegalPageFilterParams, FeatureParams, ScoreParams, InsightContributionParams, InsightUserParams, InsightEmbedParams, InsightCommonParams, ReactionParams } from './types';
|
|
53
53
|
/**
|
|
54
54
|
* Export all
|
|
55
55
|
*/
|
|
56
|
-
export { http, HttpResponse, HttpMethod, apiRequest, formatHttpError, getCancelTokenSourceRequest, generateJWTToken, parseJwt, urlParams, Endpoints, EndpointType, AccountService, AccountApiClient, AccountApiClientInterface, PreferenceService, PreferenceApiClient, PreferenceApiClientInterface, UserService, UserApiClient, UserApiClientInterface, FeatureService, FeatureApiClient, FeatureApiClientInterface, CategoryService, CategoryApiClient, CategoryApiClientInterface, CommentService, CommentApiClient, CommentApiClientInterface, CustomAdvService, CustomAdvApiClient, CustomAdvApiClientInterface, CustomMenuService, CustomMenuApiClient, CustomMenuApiClientInterface, CustomPageService, CustomPageApiClient, CustomPageApiClientInterface, DataPortabilityService, DataPortabilityApiClient, DataPortabilityApiClientInterface, EmbedService, EmbedApiClient, EmbedApiClientInterface, FeedService, FeedApiClient, FeedApiClientInterface, FeedObjectService, FeedObjectApiClient, FeedObjectApiClientInterface, IncubatorService, IncubatorApiClient, IncubatorApiClientInterface, InsightService, InsightApiClient, InsightApiClientInterface, InviteService, InviteApiClient, InviteApiClientInterface, LegalPageService, LegalPageApiClient, LegalPageApiClientInterface, LocalityService, LocalityApiClient, LocalityApiClientInterface, LoyaltyService, LoyaltyApiClient, LoyaltyApiClientInterface, MediaService, MediaApiClient, MediaApiClientInterface, ModerationService, ModerationApiClient, ModerationApiClientInterface, NotificationService, NotificationApiClient, NotificationApiClientInterface, PrivateMessageService, PrivateMessageApiClient, PrivateMessageApiClientInterface, PromoService, PromoApiClient, PromoApiClientInterface, ScoreService, ScoreApiClient, ScoreApiClientInterface, SSOService, SSOApiClient, SSOApiClientInterface, SuggestionService, SuggestionApiClient, SuggestionApiClientInterface, TagService, TagApiClient, TagApiClientInterface, WebhookService, WebhookApiClient, WebhookApiClientInterface, SCPaginatedResponse, WebhookParamType, WebhookEventsType, AccountCreateParams, AccountVerifyParams, AccountResetParams, AccountRecoverParams, CommentCreateParams, IncubatorCreateParams, IncubatorSearchParams, SSOSignUpParams, CommentListParams, LoyaltyPrizeParams, ModerationParams, FlaggedContributionParams, ModerateContributionParams, CustomNotificationParams, UserAutocompleteParams, UserScoreParams, UserSearchParams, TagParams, TagGetParams, MediaCreateParams, MediaTypes, ChunkUploadParams, ChunkUploadCompleteParams, ThreadParams, MessageCreateParams, MessageMediaUploadParams, MessageThumbnailUploadParams, MessageChunkUploadDoneParams, MessageMediaChunksParams, CategoryParams, CustomAdvParams, CustomPageParams, CustomPageSearchParams, EmbedUpdateParams, EmbedSearchParams, BaseGetParams, BaseSearchParams, FeedObjGetParams, FeedObjCreateParams, FeedObjectPollVotesSearch, FeedParams, LegalPageFilterParams, FeatureParams, ScoreParams, InsightContributionParams, InsightUserParams, InsightEmbedParams, InsightCommonParams, ReactionParams, ReactionService, ReactionApiClient, ReactionApiClientInterface };
|
|
57
|
-
//# sourceMappingURL=index.d.ts.map
|
|
56
|
+
export { http, HttpResponse, HttpMethod, apiRequest, formatHttpError, formatHttpErrorCode, getCancelTokenSourceRequest, generateJWTToken, parseJwt, urlParams, Endpoints, EndpointType, AccountService, AccountApiClient, AccountApiClientInterface, PreferenceService, PreferenceApiClient, PreferenceApiClientInterface, UserService, UserApiClient, UserApiClientInterface, FeatureService, FeatureApiClient, FeatureApiClientInterface, CategoryService, CategoryApiClient, CategoryApiClientInterface, CommentService, CommentApiClient, CommentApiClientInterface, CustomAdvService, CustomAdvApiClient, CustomAdvApiClientInterface, CustomMenuService, CustomMenuApiClient, CustomMenuApiClientInterface, CustomPageService, CustomPageApiClient, CustomPageApiClientInterface, DataPortabilityService, DataPortabilityApiClient, DataPortabilityApiClientInterface, EmbedService, EmbedApiClient, EmbedApiClientInterface, FeedService, FeedApiClient, FeedApiClientInterface, FeedObjectService, FeedObjectApiClient, FeedObjectApiClientInterface, IncubatorService, IncubatorApiClient, IncubatorApiClientInterface, InsightService, InsightApiClient, InsightApiClientInterface, InviteService, InviteApiClient, InviteApiClientInterface, LegalPageService, LegalPageApiClient, LegalPageApiClientInterface, LocalityService, LocalityApiClient, LocalityApiClientInterface, LoyaltyService, LoyaltyApiClient, LoyaltyApiClientInterface, MediaService, MediaApiClient, MediaApiClientInterface, ModerationService, ModerationApiClient, ModerationApiClientInterface, NotificationService, NotificationApiClient, NotificationApiClientInterface, PrivateMessageService, PrivateMessageApiClient, PrivateMessageApiClientInterface, PromoService, PromoApiClient, PromoApiClientInterface, ScoreService, ScoreApiClient, ScoreApiClientInterface, SSOService, SSOApiClient, SSOApiClientInterface, SuggestionService, SuggestionApiClient, SuggestionApiClientInterface, TagService, TagApiClient, TagApiClientInterface, WebhookService, WebhookApiClient, WebhookApiClientInterface, SCPaginatedResponse, WebhookParamType, WebhookEventsType, AccountSearchParams, AccountCreateParams, AccountVerifyParams, AccountResetParams, AccountRecoverParams, CommentCreateParams, IncubatorCreateParams, IncubatorSearchParams, SSOSignUpParams, CommentListParams, LoyaltyPrizeParams, LoyaltyGetPrizeParams, ModerationParams, FlaggedContributionParams, ModerateContributionParams, CustomNotificationParams, UserAutocompleteParams, UserScoreParams, UserSearchParams, TagParams, TagGetParams, MediaCreateParams, MediaTypes, ChunkUploadParams, ChunkUploadCompleteParams, ThreadParams, MessageCreateParams, MessageMediaUploadParams, MessageThumbnailUploadParams, MessageChunkUploadDoneParams, MessageMediaChunksParams, CategoryParams, CustomAdvParams, CustomPageParams, CustomPageSearchParams, EmbedUpdateParams, EmbedSearchParams, BaseGetParams, BaseSearchParams, FeedObjGetParams, FeedObjCreateParams, FeedObjectPollVotesSearch, FeedParams, LegalPageFilterParams, FeatureParams, ScoreParams, InsightContributionParams, InsightUserParams, InsightEmbedParams, InsightCommonParams, ReactionParams, ReactionService, ReactionApiClient, ReactionApiClientInterface };
|
package/lib/esm/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import Endpoints from './constants/Endpoints';
|
|
|
9
9
|
/**
|
|
10
10
|
* Utils
|
|
11
11
|
*/
|
|
12
|
-
import { formatHttpError, getCancelTokenSourceRequest } from './utils/http';
|
|
12
|
+
import { formatHttpError, formatHttpErrorCode, getCancelTokenSourceRequest } from './utils/http';
|
|
13
13
|
import { generateJWTToken, parseJwt } from './utils/token';
|
|
14
14
|
import { apiRequest } from './utils/apiRequest';
|
|
15
15
|
import { urlParams } from './utils/url';
|
|
@@ -53,5 +53,4 @@ import { MediaTypes } from './types';
|
|
|
53
53
|
/**
|
|
54
54
|
* Export all
|
|
55
55
|
*/
|
|
56
|
-
export { http, apiRequest, formatHttpError, getCancelTokenSourceRequest, generateJWTToken, parseJwt, urlParams, Endpoints, AccountService, AccountApiClient, PreferenceService, PreferenceApiClient, UserService, UserApiClient, FeatureService, FeatureApiClient, CategoryService, CategoryApiClient, CommentService, CommentApiClient, CustomAdvService, CustomAdvApiClient, CustomMenuService, CustomMenuApiClient, CustomPageService, CustomPageApiClient, DataPortabilityService, DataPortabilityApiClient, EmbedService, EmbedApiClient, FeedService, FeedApiClient, FeedObjectService, FeedObjectApiClient, IncubatorService, IncubatorApiClient, InsightService, InsightApiClient, InviteService, InviteApiClient, LegalPageService, LegalPageApiClient, LocalityService, LocalityApiClient, LoyaltyService, LoyaltyApiClient, MediaService, MediaApiClient, ModerationService, ModerationApiClient, NotificationService, NotificationApiClient, PrivateMessageService, PrivateMessageApiClient, PromoService, PromoApiClient, ScoreService, ScoreApiClient, SSOService, SSOApiClient, SuggestionService, SuggestionApiClient, TagService, TagApiClient, WebhookService, WebhookApiClient, MediaTypes, ReactionService, ReactionApiClient };
|
|
57
|
-
//# sourceMappingURL=index.js.map
|
|
56
|
+
export { http, apiRequest, formatHttpError, formatHttpErrorCode, getCancelTokenSourceRequest, generateJWTToken, parseJwt, urlParams, Endpoints, AccountService, AccountApiClient, PreferenceService, PreferenceApiClient, UserService, UserApiClient, FeatureService, FeatureApiClient, CategoryService, CategoryApiClient, CommentService, CommentApiClient, CustomAdvService, CustomAdvApiClient, CustomMenuService, CustomMenuApiClient, CustomPageService, CustomPageApiClient, DataPortabilityService, DataPortabilityApiClient, EmbedService, EmbedApiClient, FeedService, FeedApiClient, FeedObjectService, FeedObjectApiClient, IncubatorService, IncubatorApiClient, InsightService, InsightApiClient, InviteService, InviteApiClient, LegalPageService, LegalPageApiClient, LocalityService, LocalityApiClient, LoyaltyService, LoyaltyApiClient, MediaService, MediaApiClient, ModerationService, ModerationApiClient, NotificationService, NotificationApiClient, PrivateMessageService, PrivateMessageApiClient, PromoService, PromoApiClient, ScoreService, ScoreApiClient, SSOService, SSOApiClient, SuggestionService, SuggestionApiClient, TagService, TagApiClient, WebhookService, WebhookApiClient, MediaTypes, ReactionService, ReactionApiClient };
|
|
@@ -27,6 +27,12 @@ export declare class AccountApiClient {
|
|
|
27
27
|
* @param config
|
|
28
28
|
*/
|
|
29
29
|
static verify(data?: AccountVerifyParams, config?: AxiosRequestConfig): Promise<any>;
|
|
30
|
+
/**
|
|
31
|
+
* This endpoint verify if a validation code is valid.
|
|
32
|
+
* @param data
|
|
33
|
+
* @param config
|
|
34
|
+
*/
|
|
35
|
+
static verifyValidationCode(data?: AccountVerifyParams, config?: AxiosRequestConfig): Promise<any>;
|
|
30
36
|
/**
|
|
31
37
|
* This endpoint recover an account.
|
|
32
38
|
* @param data
|
|
@@ -86,8 +92,8 @@ export declare class AccountApiClient {
|
|
|
86
92
|
export default class AccountService {
|
|
87
93
|
static create(data?: AccountCreateParams, config?: AxiosRequestConfig): Promise<SCUserType>;
|
|
88
94
|
static verify(data?: AccountVerifyParams, config?: AxiosRequestConfig): Promise<any>;
|
|
95
|
+
static verifyValidationCode(params?: AccountVerifyParams, config?: AxiosRequestConfig): Promise<SCUserType>;
|
|
89
96
|
static recover(data?: AccountRecoverParams, config?: AxiosRequestConfig): Promise<any>;
|
|
90
97
|
static reset(data?: AccountResetParams, config?: AxiosRequestConfig): Promise<any>;
|
|
91
98
|
static search(params?: AccountSearchParams, config?: AxiosRequestConfig): Promise<SCUserType>;
|
|
92
99
|
}
|
|
93
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import Endpoints from '../../constants/Endpoints';
|
|
11
3
|
import { apiRequest } from '../../utils/apiRequest';
|
|
12
4
|
/**
|
|
@@ -32,6 +24,14 @@ export class AccountApiClient {
|
|
|
32
24
|
static verify(data, config) {
|
|
33
25
|
return apiRequest(Object.assign(Object.assign({}, config), { data, url: Endpoints.AccountVerify.url({}), method: Endpoints.AccountVerify.method }));
|
|
34
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* This endpoint verify if a validation code is valid.
|
|
29
|
+
* @param data
|
|
30
|
+
* @param config
|
|
31
|
+
*/
|
|
32
|
+
static verifyValidationCode(data, config) {
|
|
33
|
+
return apiRequest(Object.assign(Object.assign({}, config), { data, url: Endpoints.AccountVerifyValidationCode.url({}), method: Endpoints.AccountVerifyValidationCode.method }));
|
|
34
|
+
}
|
|
35
35
|
/**
|
|
36
36
|
* This endpoint recover an account.
|
|
37
37
|
* @param data
|
|
@@ -105,6 +105,11 @@ export default class AccountService {
|
|
|
105
105
|
return AccountApiClient.verify(data, config);
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
|
+
static verifyValidationCode(params, config) {
|
|
109
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
110
|
+
return AccountApiClient.verifyValidationCode(params, config);
|
|
111
|
+
});
|
|
112
|
+
}
|
|
108
113
|
static recover(data, config) {
|
|
109
114
|
return __awaiter(this, void 0, void 0, function* () {
|
|
110
115
|
return AccountApiClient.recover(data, config);
|
|
@@ -121,4 +126,3 @@ export default class AccountService {
|
|
|
121
126
|
});
|
|
122
127
|
}
|
|
123
128
|
}
|
|
124
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -175,4 +175,3 @@ export default class CategoryService {
|
|
|
175
175
|
static getFollowedCategories(params?: CategoryParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCCategoryType>>;
|
|
176
176
|
static getPopularCategories(params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCCategoryType>>;
|
|
177
177
|
}
|
|
178
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import Endpoints from '../../constants/Endpoints';
|
|
11
3
|
import { apiRequest } from '../../utils/apiRequest';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -267,4 +259,3 @@ export default class CategoryService {
|
|
|
267
259
|
});
|
|
268
260
|
}
|
|
269
261
|
}
|
|
270
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -136,4 +136,3 @@ export default class CommentService {
|
|
|
136
136
|
static flagComment(id: number | string, flagType: SCFlagTypeEnum, config?: AxiosRequestConfig): Promise<any>;
|
|
137
137
|
static getSpecificCommentFlagStatus(id: number | string, config?: AxiosRequestConfig): Promise<SCFlagType>;
|
|
138
138
|
}
|
|
139
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import Endpoints from '../../constants/Endpoints';
|
|
11
3
|
import { apiRequest } from '../../utils/apiRequest';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -199,4 +191,3 @@ export default class CommentService {
|
|
|
199
191
|
});
|
|
200
192
|
}
|
|
201
193
|
}
|
|
202
|
-
//# 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,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import { apiRequest } from '../../utils/apiRequest';
|
|
11
3
|
import Endpoints from '../../constants/Endpoints';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -93,4 +85,3 @@ export default class CustomAdvService {
|
|
|
93
85
|
});
|
|
94
86
|
}
|
|
95
87
|
}
|
|
96
|
-
//# 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,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import Endpoints from '../../constants/Endpoints';
|
|
11
3
|
import { apiRequest } from '../../utils/apiRequest';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -105,4 +97,3 @@ export default class CustomMenuService {
|
|
|
105
97
|
});
|
|
106
98
|
}
|
|
107
99
|
}
|
|
108
|
-
//# 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,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import Endpoints from '../../constants/Endpoints';
|
|
11
3
|
import { apiRequest } from '../../utils/apiRequest';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -93,4 +85,3 @@ export default class CustomPageService {
|
|
|
93
85
|
});
|
|
94
86
|
}
|
|
95
87
|
}
|
|
96
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import { apiRequest } from '../../utils/apiRequest';
|
|
11
3
|
import Endpoints from '../../constants/Endpoints';
|
|
12
4
|
/**
|
|
@@ -80,4 +72,3 @@ export default class DataPortabilityService {
|
|
|
80
72
|
});
|
|
81
73
|
}
|
|
82
74
|
}
|
|
83
|
-
//# 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,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import { apiRequest } from '../../utils/apiRequest';
|
|
11
3
|
import Endpoints from '../../constants/Endpoints';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -162,4 +154,3 @@ export default class EmbedService {
|
|
|
162
154
|
});
|
|
163
155
|
}
|
|
164
156
|
}
|
|
165
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import { apiRequest } from '../../utils/apiRequest';
|
|
11
3
|
import Endpoints from '../../constants/Endpoints';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -59,4 +51,3 @@ export default class FeatureService {
|
|
|
59
51
|
});
|
|
60
52
|
}
|
|
61
53
|
}
|
|
62
|
-
//# 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,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import { apiRequest } from '../../utils/apiRequest';
|
|
11
3
|
import Endpoints from '../../constants/Endpoints';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -118,4 +110,3 @@ export default class FeedService {
|
|
|
118
110
|
});
|
|
119
111
|
}
|
|
120
112
|
}
|
|
121
|
-
//# 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
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import { apiRequest } from '../../utils/apiRequest';
|
|
11
3
|
import Endpoints from '../../constants/Endpoints';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -445,4 +437,3 @@ export default class FeedObjectService {
|
|
|
445
437
|
});
|
|
446
438
|
}
|
|
447
439
|
}
|
|
448
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -101,4 +101,3 @@ export default class IncubatorService {
|
|
|
101
101
|
static subscribeToIncubator(id: number | string, config?: AxiosRequestConfig): Promise<any>;
|
|
102
102
|
static checkIncubatorSubscription(id: number | string, config?: AxiosRequestConfig): Promise<SCIncubatorSubscriptionType>;
|
|
103
103
|
}
|
|
104
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import { apiRequest } from '../../utils/apiRequest';
|
|
11
3
|
import Endpoints from '../../constants/Endpoints';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -145,4 +137,3 @@ export default class IncubatorService {
|
|
|
145
137
|
});
|
|
146
138
|
}
|
|
147
139
|
}
|
|
148
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -94,4 +94,3 @@ export default class InsightService {
|
|
|
94
94
|
static getEmbedsInsightCounters(type: string, id: number | string, config?: AxiosRequestConfig): Promise<SCEmbedInsightCountersType>;
|
|
95
95
|
static getUsersInsightCounters(id: number | string, config?: AxiosRequestConfig): Promise<SCUsersInsightCountersType>;
|
|
96
96
|
}
|
|
97
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import { apiRequest } from '../../utils/apiRequest';
|
|
11
3
|
import Endpoints from '../../constants/Endpoints';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -134,4 +126,3 @@ export default class InsightService {
|
|
|
134
126
|
});
|
|
135
127
|
}
|
|
136
128
|
}
|
|
137
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import Endpoints from '../../constants/Endpoints';
|
|
11
3
|
import { apiRequest } from '../../utils/apiRequest';
|
|
12
4
|
/**
|
|
@@ -63,4 +55,3 @@ export default class InviteService {
|
|
|
63
55
|
});
|
|
64
56
|
}
|
|
65
57
|
}
|
|
66
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -113,4 +113,3 @@ export default class LegalPageService {
|
|
|
113
113
|
static getSpecificUserAck(id: number | string, config?: AxiosRequestConfig): Promise<SCLegalPageAckType>;
|
|
114
114
|
static userAckList(config?: AxiosRequestConfig): Promise<SCLegalPageAckType[]>;
|
|
115
115
|
}
|
|
116
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import Endpoints from '../../constants/Endpoints';
|
|
11
3
|
import { apiRequest } from '../../utils/apiRequest';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -169,4 +161,3 @@ export default class LegalPageService {
|
|
|
169
161
|
});
|
|
170
162
|
}
|
|
171
163
|
}
|
|
172
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -54,4 +54,3 @@ export default class LocalityService {
|
|
|
54
54
|
static getLocalities(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCLocalityType>>;
|
|
55
55
|
static searchLocalities(params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCLocalityType>>;
|
|
56
56
|
}
|
|
57
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
10
2
|
import Endpoints from '../../constants/Endpoints';
|
|
11
3
|
import { apiRequest } from '../../utils/apiRequest';
|
|
12
4
|
import { urlParams } from '../../utils/url';
|
|
@@ -73,4 +65,3 @@ export default class LocalityService {
|
|
|
73
65
|
});
|
|
74
66
|
}
|
|
75
67
|
}
|
|
76
|
-
//# sourceMappingURL=index.js.map
|