@selfcommunity/api-services 0.3.6-alpha.9 → 0.4.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/lib/cjs/constants/Endpoints.d.ts.map +1 -1
  2. package/lib/cjs/constants/Endpoints.js +23 -4
  3. package/lib/cjs/constants/Endpoints.js.map +1 -1
  4. package/lib/cjs/index.d.ts +2 -1
  5. package/lib/cjs/index.d.ts.map +1 -1
  6. package/lib/cjs/index.js +5 -2
  7. package/lib/cjs/index.js.map +1 -1
  8. package/lib/cjs/services/account/index.d.ts +1 -1
  9. package/lib/cjs/services/account/index.d.ts.map +1 -1
  10. package/lib/cjs/services/category/index.d.ts +4 -4
  11. package/lib/cjs/services/category/index.d.ts.map +1 -1
  12. package/lib/cjs/services/category/index.js +8 -8
  13. package/lib/cjs/services/category/index.js.map +1 -1
  14. package/lib/cjs/services/custom_menu/index.d.ts +79 -0
  15. package/lib/cjs/services/custom_menu/index.d.ts.map +1 -0
  16. package/lib/cjs/services/custom_menu/index.js +116 -0
  17. package/lib/cjs/services/custom_menu/index.js.map +1 -0
  18. package/lib/cjs/services/feed_object/index.d.ts +84 -84
  19. package/lib/cjs/services/feed_object/index.d.ts.map +1 -1
  20. package/lib/cjs/services/feed_object/index.js +6 -6
  21. package/lib/cjs/services/feed_object/index.js.map +1 -1
  22. package/lib/cjs/services/preference/index.d.ts +1 -1
  23. package/lib/cjs/services/preference/index.d.ts.map +1 -1
  24. package/lib/cjs/services/private_message/index.d.ts +27 -19
  25. package/lib/cjs/services/private_message/index.d.ts.map +1 -1
  26. package/lib/cjs/services/private_message/index.js +30 -14
  27. package/lib/cjs/services/private_message/index.js.map +1 -1
  28. package/lib/cjs/services/score/index.d.ts +1 -1
  29. package/lib/cjs/services/score/index.d.ts.map +1 -1
  30. package/lib/cjs/services/sso/index.d.ts +1 -1
  31. package/lib/cjs/services/sso/index.d.ts.map +1 -1
  32. package/lib/cjs/services/tag/index.d.ts +1 -1
  33. package/lib/cjs/services/tag/index.d.ts.map +1 -1
  34. package/lib/cjs/services/user/index.d.ts +7 -6
  35. package/lib/cjs/services/user/index.d.ts.map +1 -1
  36. package/lib/cjs/services/user/index.js +15 -14
  37. package/lib/cjs/services/user/index.js.map +1 -1
  38. package/lib/cjs/types/customPage.d.ts +2 -10
  39. package/lib/cjs/types/customPage.d.ts.map +1 -1
  40. package/lib/cjs/types/feedObject.d.ts +1 -1
  41. package/lib/cjs/types/feedObject.d.ts.map +1 -1
  42. package/lib/cjs/types/incubator.d.ts +1 -1
  43. package/lib/cjs/types/incubator.d.ts.map +1 -1
  44. package/lib/cjs/types/index.d.ts +2 -2
  45. package/lib/cjs/types/index.d.ts.map +1 -1
  46. package/lib/cjs/types/index.js.map +1 -1
  47. package/lib/cjs/types/insight.d.ts +2 -2
  48. package/lib/cjs/types/insight.d.ts.map +1 -1
  49. package/lib/cjs/types/media.d.ts +1 -1
  50. package/lib/cjs/types/media.d.ts.map +1 -1
  51. package/lib/cjs/types/moderation.d.ts +1 -1
  52. package/lib/cjs/types/moderation.d.ts.map +1 -1
  53. package/lib/cjs/types/notification.d.ts +1 -1
  54. package/lib/cjs/types/notification.d.ts.map +1 -1
  55. package/lib/cjs/types/privateMessage.d.ts +45 -32
  56. package/lib/cjs/types/privateMessage.d.ts.map +1 -1
  57. package/lib/cjs/types/prize.d.ts +1 -1
  58. package/lib/cjs/types/prize.d.ts.map +1 -1
  59. package/lib/esm/constants/Endpoints.d.ts.map +1 -1
  60. package/lib/esm/constants/Endpoints.js +23 -4
  61. package/lib/esm/constants/Endpoints.js.map +1 -1
  62. package/lib/esm/index.d.ts +2 -1
  63. package/lib/esm/index.d.ts.map +1 -1
  64. package/lib/esm/index.js +2 -1
  65. package/lib/esm/index.js.map +1 -1
  66. package/lib/esm/services/account/index.d.ts +1 -1
  67. package/lib/esm/services/account/index.d.ts.map +1 -1
  68. package/lib/esm/services/category/index.d.ts +4 -4
  69. package/lib/esm/services/category/index.d.ts.map +1 -1
  70. package/lib/esm/services/category/index.js +8 -8
  71. package/lib/esm/services/category/index.js.map +1 -1
  72. package/lib/esm/services/custom_menu/index.d.ts +79 -0
  73. package/lib/esm/services/custom_menu/index.d.ts.map +1 -0
  74. package/lib/esm/services/custom_menu/index.js +108 -0
  75. package/lib/esm/services/custom_menu/index.js.map +1 -0
  76. package/lib/esm/services/feed_object/index.d.ts +84 -84
  77. package/lib/esm/services/feed_object/index.d.ts.map +1 -1
  78. package/lib/esm/services/feed_object/index.js +6 -6
  79. package/lib/esm/services/feed_object/index.js.map +1 -1
  80. package/lib/esm/services/preference/index.d.ts +1 -1
  81. package/lib/esm/services/preference/index.d.ts.map +1 -1
  82. package/lib/esm/services/private_message/index.d.ts +27 -19
  83. package/lib/esm/services/private_message/index.d.ts.map +1 -1
  84. package/lib/esm/services/private_message/index.js +30 -14
  85. package/lib/esm/services/private_message/index.js.map +1 -1
  86. package/lib/esm/services/score/index.d.ts +1 -1
  87. package/lib/esm/services/score/index.d.ts.map +1 -1
  88. package/lib/esm/services/sso/index.d.ts +1 -1
  89. package/lib/esm/services/sso/index.d.ts.map +1 -1
  90. package/lib/esm/services/tag/index.d.ts +1 -1
  91. package/lib/esm/services/tag/index.d.ts.map +1 -1
  92. package/lib/esm/services/user/index.d.ts +7 -6
  93. package/lib/esm/services/user/index.d.ts.map +1 -1
  94. package/lib/esm/services/user/index.js +15 -14
  95. package/lib/esm/services/user/index.js.map +1 -1
  96. package/lib/esm/types/customPage.d.ts +2 -10
  97. package/lib/esm/types/customPage.d.ts.map +1 -1
  98. package/lib/esm/types/feedObject.d.ts +1 -1
  99. package/lib/esm/types/feedObject.d.ts.map +1 -1
  100. package/lib/esm/types/incubator.d.ts +1 -1
  101. package/lib/esm/types/incubator.d.ts.map +1 -1
  102. package/lib/esm/types/index.d.ts +2 -2
  103. package/lib/esm/types/index.d.ts.map +1 -1
  104. package/lib/esm/types/index.js.map +1 -1
  105. package/lib/esm/types/insight.d.ts +2 -2
  106. package/lib/esm/types/insight.d.ts.map +1 -1
  107. package/lib/esm/types/media.d.ts +1 -1
  108. package/lib/esm/types/media.d.ts.map +1 -1
  109. package/lib/esm/types/moderation.d.ts +1 -1
  110. package/lib/esm/types/moderation.d.ts.map +1 -1
  111. package/lib/esm/types/notification.d.ts +1 -1
  112. package/lib/esm/types/notification.d.ts.map +1 -1
  113. package/lib/esm/types/privateMessage.d.ts +45 -32
  114. package/lib/esm/types/privateMessage.d.ts.map +1 -1
  115. package/lib/esm/types/prize.d.ts +1 -1
  116. package/lib/esm/types/prize.d.ts.map +1 -1
  117. package/lib/umd/api-services.js +1 -1
  118. package/lib/umd/api-services.js.map +1 -1
  119. package/package.json +4 -4
@@ -0,0 +1,116 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CustomMenuApiClient = void 0;
16
+ const Endpoints_1 = __importDefault(require("../../constants/Endpoints"));
17
+ const apiRequest_1 = require("../../utils/apiRequest");
18
+ const url_1 = require("../../utils/url");
19
+ /**
20
+ * Contains all the endpoints needed to manage custom menus.
21
+ */
22
+ class CustomMenuApiClient {
23
+ /**
24
+ * This endpoint retrieves a specific custom menu.
25
+ * @param id
26
+ * @param config
27
+ */
28
+ static getASpecificCustomMenu(id, config) {
29
+ return (0, apiRequest_1.apiRequest)(Object.assign(Object.assign({}, config), { url: Endpoints_1.default.CustomMenu.url({ id }), method: Endpoints_1.default.CustomMenu.method }));
30
+ }
31
+ /**
32
+ * This endpoint retrieves all custom menus.
33
+ * @param params
34
+ * @param config
35
+ */
36
+ static getAllCustomMenus(params, config) {
37
+ const p = (0, url_1.urlParams)(params);
38
+ return (0, apiRequest_1.apiRequest)(Object.assign(Object.assign({}, config), { url: `${Endpoints_1.default.GetCustomMenus.url({})}?${p.toString()}`, method: Endpoints_1.default.GetCustomMenus.method }));
39
+ }
40
+ /**
41
+ * This endpoint retrieves the base custom menu.
42
+ * @param config
43
+ */
44
+ static getBaseCustomMenu(config) {
45
+ return (0, apiRequest_1.apiRequest)(Object.assign(Object.assign({}, config), { url: Endpoints_1.default.CustomMenu.url({ id: 'base' }), method: Endpoints_1.default.CustomMenu.method }));
46
+ }
47
+ /**
48
+ * This endpoint performs search of a Custom Menu
49
+ * @param params
50
+ * @param config
51
+ */
52
+ static searchCustomMenus(params, config) {
53
+ const p = (0, url_1.urlParams)(params);
54
+ return (0, apiRequest_1.apiRequest)(Object.assign(Object.assign({}, config), { url: `${Endpoints_1.default.CustomMenuSearch.url({})}?${p.toString()}`, method: Endpoints_1.default.CustomMenuSearch.method }));
55
+ }
56
+ }
57
+ exports.CustomMenuApiClient = CustomMenuApiClient;
58
+ /**
59
+ *
60
+ :::tip Custom Menu service can be used in the following way:
61
+
62
+ ```jsx
63
+ 1. Import the service from our library:
64
+
65
+ import {CustomMenuService} from "@selfcommunity/api-services";
66
+ ```
67
+ ```jsx
68
+ 2. Create a function and put the service inside it!
69
+ The async function `getAllCustomMenus` will return the paginated list of custom menus.
70
+
71
+ async getAllCustomMenus() {
72
+ return await CustomMenuService.getAllCustomMenus();
73
+ }
74
+ ```
75
+ ```jsx
76
+ In case of required `params`, just add them inside the brackets.
77
+
78
+ async getASpecificCustomMenu(customMenuId) {
79
+ return await CustomMenuService.getASpecificCustomMenu(customMenuId);
80
+ }
81
+ ```
82
+ ```jsx
83
+ If you need to customize the request, you can add optional config params (`AxiosRequestConfig` type).
84
+
85
+ 1. Declare it(or declare them, it is possible to add multiple params)
86
+
87
+ const headers = headers: {Authorization: `Bearer ${yourToken}`}
88
+
89
+ 2. Add it inside the brackets and pass it to the function, as shown in the previous example!
90
+ ```
91
+ :::
92
+ */
93
+ class CustomMenuService {
94
+ static getASpecificCustomMenu(id, config) {
95
+ return __awaiter(this, void 0, void 0, function* () {
96
+ return CustomMenuApiClient.getASpecificCustomMenu(id, config);
97
+ });
98
+ }
99
+ static getAllCustomMenus(params, config) {
100
+ return __awaiter(this, void 0, void 0, function* () {
101
+ return CustomMenuApiClient.getAllCustomMenus(params, config);
102
+ });
103
+ }
104
+ static getBaseCustomMenu(config) {
105
+ return __awaiter(this, void 0, void 0, function* () {
106
+ return CustomMenuApiClient.getBaseCustomMenu(config);
107
+ });
108
+ }
109
+ static searchCustomMenus(params, config) {
110
+ return __awaiter(this, void 0, void 0, function* () {
111
+ return CustomMenuApiClient.searchCustomMenus(params, config);
112
+ });
113
+ }
114
+ }
115
+ exports.default = CustomMenuService;
116
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/services/custom_menu/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,0EAAkD;AAGlD,uDAAkD;AAElD,yCAA0C;AAQ1C;;GAEG;AAEH,MAAa,mBAAmB;IAC9B;;;;OAIG;IACH,MAAM,CAAC,sBAAsB,CAAC,EAAmB,EAAE,MAA2B;QAC5E,OAAO,IAAA,uBAAU,kCAAK,MAAM,KAAE,GAAG,EAAE,mBAAS,CAAC,UAAU,CAAC,GAAG,CAAC,EAAC,EAAE,EAAC,CAAC,EAAE,MAAM,EAAE,mBAAS,CAAC,UAAU,CAAC,MAAM,IAAE,CAAC;IAC3G,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,iBAAiB,CAAC,MAAsB,EAAE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C,MAAM,EAAE,MAAM,CAAC,CAAC;QAC/D,CAAC;KAAA;IACD,MAAM,CAAO,iBAAiB,CAAC,MAA2B;;YACxD,OAAO,mBAAmB,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QACvD,CAAC;KAAA;IACD,MAAM,CAAO,iBAAiB,CAAC,MAAyB,EAAE,MAA2B;;YACnF,OAAO,mBAAmB,CAAC,iBAAiB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC/D,CAAC;KAAA;CACF;AAbD,oCAaC"}
@@ -1,34 +1,34 @@
1
- import { BaseGetParams, FeedObjCreateParams, FeedObjectPollVotesSearch, FeedObjGetParams, SCPaginatedResponse } from '../../types';
2
- import { SCFeedObjectFollowingStatusType, SCFeedObjectHideStatusType, SCFeedObjectSuspendedStatusType, SCFeedObjectType, SCFeedObjectTypologyType, SCFlagType, SCFlagTypeEnum, SCPollVoteType, SCUserType, SCVoteType } from '@selfcommunity/types';
1
+ import { BaseGetParams, BaseSearchParams, FeedObjCreateParams, FeedObjectPollVotesSearch, FeedObjGetParams, SCPaginatedResponse } from '../../types';
2
+ import { SCContributionType, SCFeedObjectFollowingStatusType, SCFeedObjectHideStatusType, SCFeedObjectSuspendedStatusType, SCFeedObjectType, SCFlagType, SCFlagTypeEnum, SCPollVoteType, SCUserType, SCVoteType } from '@selfcommunity/types';
3
3
  import { AxiosRequestConfig } from 'axios';
4
4
  export interface FeedObjectApiClientInterface {
5
- getAllFeedObjects(type: SCFeedObjectTypologyType, params?: FeedObjGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
6
- getUncommentedFeedObjects(type: SCFeedObjectTypologyType, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
7
- searchFeedObject(type: SCFeedObjectTypologyType, search?: string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
8
- createFeedObject(type: SCFeedObjectTypologyType, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
9
- getSpecificFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
10
- updateFeedObject(type: SCFeedObjectTypologyType, id: number | string, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
11
- deleteFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
12
- feedObjectContributorsList(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
13
- feedObjectSharesList(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
14
- feedObjectUserSharesList(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
15
- restoreFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
16
- relatedFeedObjects(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
17
- voteFeedObject(type: SCFeedObjectTypologyType, id: number | string, reaction?: number, config?: AxiosRequestConfig): Promise<any>;
18
- feedObjectVotes(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCVoteType>>;
19
- feedObjectPollVote(type: SCFeedObjectTypologyType, id: number | string, choice: number, config?: AxiosRequestConfig): Promise<any>;
20
- feedObjectPollVotesList(type: SCFeedObjectTypologyType, id: number | string, params?: FeedObjectPollVotesSearch, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCPollVoteType>>;
21
- followFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
22
- feedObjectFollowingList(type: SCFeedObjectTypologyType, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
23
- checkIfFollowingFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectFollowingStatusType>;
24
- suspendFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
25
- checkIfSuspendedFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectSuspendedStatusType>;
26
- feedObjectSuspendedList(type: SCFeedObjectTypologyType, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
27
- flagFeedObject(type: SCFeedObjectTypologyType, id: number | string, flag_type: SCFlagTypeEnum, config?: AxiosRequestConfig): Promise<any>;
28
- feedObjectFlagList(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
29
- feedObjectFlagStatus(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
30
- hideFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
31
- feedObjectHideStatus(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectHideStatusType>;
5
+ getAllFeedObjects(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: FeedObjGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
6
+ getUncommentedFeedObjects(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
7
+ searchFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
8
+ createFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
9
+ getSpecificFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
10
+ updateFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
11
+ deleteFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
12
+ feedObjectContributorsList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
13
+ feedObjectSharesList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
14
+ feedObjectUserSharesList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
15
+ restoreFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
16
+ relatedFeedObjects(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
17
+ voteFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, reaction?: number, config?: AxiosRequestConfig): Promise<any>;
18
+ feedObjectVotes(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCVoteType>>;
19
+ feedObjectPollVote(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, choice: number, config?: AxiosRequestConfig): Promise<any>;
20
+ feedObjectPollVotesList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: FeedObjectPollVotesSearch, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCPollVoteType>>;
21
+ followFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
22
+ feedObjectFollowingList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
23
+ checkIfFollowingFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectFollowingStatusType>;
24
+ suspendFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
25
+ checkIfSuspendedFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectSuspendedStatusType>;
26
+ feedObjectSuspendedList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
27
+ flagFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, flag_type: SCFlagTypeEnum, config?: AxiosRequestConfig): Promise<any>;
28
+ feedObjectFlagList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
29
+ feedObjectFlagStatus(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
30
+ hideFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
31
+ feedObjectHideStatus(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectHideStatusType>;
32
32
  }
33
33
  /**
34
34
  * Contains all the endpoints needed to manage feed objs (discussions-posts-statuses).
@@ -40,35 +40,35 @@ export declare class FeedObjectApiClient {
40
40
  * @param params
41
41
  * @param config
42
42
  */
43
- static getAllFeedObjects(type: SCFeedObjectTypologyType, params?: FeedObjGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
43
+ static getAllFeedObjects(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: FeedObjGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
44
44
  /**
45
45
  * This endpoint retrieves all uncommented feed objs
46
46
  * @param type
47
47
  * @param params
48
48
  * @param config
49
49
  */
50
- static getUncommentedFeedObjects(type: SCFeedObjectTypologyType, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
50
+ static getUncommentedFeedObjects(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
51
51
  /**
52
52
  * This endpoint performs search operation to feed objs
53
53
  * @param type
54
- * @param search
54
+ * @param params
55
55
  * @param config
56
56
  */
57
- static searchFeedObject(type: SCFeedObjectTypologyType, search?: string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
57
+ static searchFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
58
58
  /**
59
59
  * This endpoint creates a feed obj
60
60
  * @param type
61
61
  * @param data
62
62
  * @param config
63
63
  */
64
- static createFeedObject(type: SCFeedObjectTypologyType, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
64
+ static createFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
65
65
  /**
66
66
  * This endpoint retrieves a specific feed obj using ID
67
67
  * @param type
68
68
  * @param id
69
69
  * @param config
70
70
  */
71
- static getSpecificFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
71
+ static getSpecificFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
72
72
  /**
73
73
  * This endpoint updates a specific feed obj
74
74
  * @param type
@@ -76,14 +76,14 @@ export declare class FeedObjectApiClient {
76
76
  * @param data
77
77
  * @param config
78
78
  */
79
- static updateFeedObject(type: SCFeedObjectTypologyType, id: number | string, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
79
+ static updateFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
80
80
  /**
81
81
  * This endpoint deletes a specific feed obj
82
82
  * @param type
83
83
  * @param id
84
84
  * @param config
85
85
  */
86
- static deleteFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
86
+ static deleteFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
87
87
  /**
88
88
  * This endpoint retrieves all contributors for a specific feed obj
89
89
  * @param type
@@ -91,7 +91,7 @@ export declare class FeedObjectApiClient {
91
91
  * @param params
92
92
  * @param config
93
93
  */
94
- static feedObjectContributorsList(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
94
+ static feedObjectContributorsList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
95
95
  /**
96
96
  * This endpoint retrieves all shares for a specific feed obj
97
97
  * @param type
@@ -99,7 +99,7 @@ export declare class FeedObjectApiClient {
99
99
  * @param params
100
100
  * @param config
101
101
  */
102
- static feedObjectSharesList(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
102
+ static feedObjectSharesList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
103
103
  /**
104
104
  * This endpoint retrieves all shares users for a specific feed obj
105
105
  * @param type
@@ -107,14 +107,14 @@ export declare class FeedObjectApiClient {
107
107
  * @param params
108
108
  * @param config
109
109
  */
110
- static feedObjectUserSharesList(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
110
+ static feedObjectUserSharesList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
111
111
  /**
112
112
  *
113
113
  * @param type
114
114
  * @param id
115
115
  * @param config
116
116
  */
117
- static restoreFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
117
+ static restoreFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
118
118
  /**
119
119
  * This endpoint restores a feed obj
120
120
  * @param type
@@ -122,7 +122,7 @@ export declare class FeedObjectApiClient {
122
122
  * @param params
123
123
  * @param config
124
124
  */
125
- static relatedFeedObjects(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
125
+ static relatedFeedObjects(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
126
126
  /**
127
127
  * This endpoint upvotes a specific feed obj
128
128
  * @param type
@@ -130,7 +130,7 @@ export declare class FeedObjectApiClient {
130
130
  * @param config
131
131
  * @param reaction
132
132
  */
133
- static voteFeedObject(type: SCFeedObjectTypologyType, id: number | string, reaction?: number, config?: AxiosRequestConfig): Promise<any>;
133
+ static voteFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, reaction?: number, config?: AxiosRequestConfig): Promise<any>;
134
134
  /**
135
135
  * This endpoint retrieves all votes for a specific feed obj
136
136
  * @param type
@@ -138,7 +138,7 @@ export declare class FeedObjectApiClient {
138
138
  * @param params
139
139
  * @param config
140
140
  */
141
- static feedObjectVotes(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCVoteType>>;
141
+ static feedObjectVotes(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCVoteType>>;
142
142
  /**
143
143
  * This endpoint upvotes a specific poll choice in a feed obj
144
144
  * @param type It can be only "discussion" or "post".
@@ -146,7 +146,7 @@ export declare class FeedObjectApiClient {
146
146
  * @param choice
147
147
  * @param config
148
148
  */
149
- static feedObjectPollVote(type: SCFeedObjectTypologyType, id: number | string, choice: number, config?: AxiosRequestConfig): Promise<any>;
149
+ static feedObjectPollVote(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, choice: number, config?: AxiosRequestConfig): Promise<any>;
150
150
  /**
151
151
  * This endpoint retrieves all poll votes for a specific feed obj
152
152
  * @param type It can be only "discussion" or "post".
@@ -154,49 +154,49 @@ export declare class FeedObjectApiClient {
154
154
  * @param params
155
155
  * @param config
156
156
  */
157
- static feedObjectPollVotesList(type: SCFeedObjectTypologyType, id: number | string, params?: FeedObjectPollVotesSearch, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCPollVoteType>>;
157
+ static feedObjectPollVotesList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: FeedObjectPollVotesSearch, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCPollVoteType>>;
158
158
  /**
159
159
  * This endpoint follows a feed obj
160
160
  * @param type
161
161
  * @param id
162
162
  * @param config
163
163
  */
164
- static followFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
164
+ static followFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
165
165
  /**
166
166
  * This endpoint retrieves all feed objs followed by the authenticated user
167
167
  * @param type
168
168
  * @param params
169
169
  * @param config
170
170
  */
171
- static feedObjectFollowingList(type: SCFeedObjectTypologyType, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
171
+ static feedObjectFollowingList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
172
172
  /**
173
173
  * This endpoint returns following = true if the feed obj (identified in path) is followed by the authenticated user
174
174
  * @param type
175
175
  * @param id
176
176
  * @param config
177
177
  */
178
- static checkIfFollowingFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectFollowingStatusType>;
178
+ static checkIfFollowingFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectFollowingStatusType>;
179
179
  /**
180
180
  * This endpoint suspends the notifications for the selected feed obj
181
181
  * @param type
182
182
  * @param id
183
183
  * @param config
184
184
  */
185
- static suspendFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
185
+ static suspendFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
186
186
  /**
187
187
  * This endpoint returns suspended = true if the notifications for the feed obj (identified in path) is suspended by the authenticated user
188
188
  * @param type
189
189
  * @param id
190
190
  * @param config
191
191
  */
192
- static checkIfSuspendedFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectSuspendedStatusType>;
192
+ static checkIfSuspendedFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectSuspendedStatusType>;
193
193
  /**
194
194
  * This endpoint retrieves the list of feed obj which notifications are suspended by the authenticated user
195
195
  * @param type
196
196
  * @param params
197
197
  * @param config
198
198
  */
199
- static feedObjectSuspendedList(type: SCFeedObjectTypologyType, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
199
+ static feedObjectSuspendedList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
200
200
  /**
201
201
  * This endpoint flags a specific feed obj
202
202
  * @param type
@@ -204,35 +204,35 @@ export declare class FeedObjectApiClient {
204
204
  * @param flag_type
205
205
  * @param config
206
206
  */
207
- static flagFeedObject(type: SCFeedObjectTypologyType, id: number | string, flag_type: SCFlagTypeEnum, config?: AxiosRequestConfig): Promise<any>;
207
+ static flagFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, flag_type: SCFlagTypeEnum, config?: AxiosRequestConfig): Promise<any>;
208
208
  /**
209
209
  * Retrieves, if exists, a flag for this contribute created by the authenticated user
210
210
  * @param type
211
211
  * @param id
212
212
  * @param config
213
213
  */
214
- static feedObjectFlagStatus(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
214
+ static feedObjectFlagStatus(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
215
215
  /**
216
216
  * This endpoint retrieves a list of flags for a specific feed obj
217
217
  * @param type
218
218
  * @param id
219
219
  * @param config
220
220
  */
221
- static feedObjectFlagList(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
221
+ static feedObjectFlagList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
222
222
  /**
223
223
  * This endpoint hides the feed obj for the logged user. The feed obj must be in show state
224
224
  * @param type
225
225
  * @param id
226
226
  * @param config
227
227
  */
228
- static hideFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
228
+ static hideFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
229
229
  /**
230
230
  * This endpoint retrieves if the feed obj has been hidden by the authenticated user (hidden = true)
231
231
  * @param type
232
232
  * @param id
233
233
  * @param config
234
234
  */
235
- static feedObjectHideStatus(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectHideStatusType>;
235
+ static feedObjectHideStatus(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectHideStatusType>;
236
236
  }
237
237
  /**
238
238
  *
@@ -263,32 +263,32 @@ export declare class FeedObjectApiClient {
263
263
  :::
264
264
  */
265
265
  export default class FeedObjectService {
266
- static getAllFeedObjects(type: SCFeedObjectTypologyType, params?: FeedObjGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
267
- static getUncommentedFeedObjects(type: SCFeedObjectTypologyType, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
268
- static searchFeedObject(type: SCFeedObjectTypologyType, search?: string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
269
- static createFeedObject(type: SCFeedObjectTypologyType, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
270
- static getSpecificFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
271
- static updateFeedObject(type: SCFeedObjectTypologyType, id: number | string, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
272
- static deleteFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
273
- static feedObjectContributorsList(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
274
- static feedObjectSharesList(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
275
- static feedObjectUserSharesList(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams): Promise<SCPaginatedResponse<SCUserType>>;
276
- static restoreFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
277
- static relatedFeedObjects(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
278
- static voteFeedObject(type: SCFeedObjectTypologyType, id: number | string, reaction?: number, config?: AxiosRequestConfig): Promise<any>;
279
- static feedObjectVotes(type: SCFeedObjectTypologyType, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCVoteType>>;
280
- static feedObjectPollVote(type: SCFeedObjectTypologyType, id: number | string, choice: number, config?: AxiosRequestConfig): Promise<any>;
281
- static feedObjectPollVotesList(type: SCFeedObjectTypologyType, id: number | string, params?: FeedObjectPollVotesSearch, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCPollVoteType>>;
282
- static followFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
283
- static feedObjectFollowingList(type: SCFeedObjectTypologyType, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
284
- static checkIfFollowingFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectFollowingStatusType>;
285
- static suspendFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
286
- static checkIfSuspendedFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectSuspendedStatusType>;
287
- static feedObjectSuspendedList(type: SCFeedObjectTypologyType, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
288
- static flagFeedObject(type: SCFeedObjectTypologyType, id: number | string, flag_type: SCFlagTypeEnum, config?: AxiosRequestConfig): Promise<any>;
289
- static feedObjectFlagList(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
290
- static feedObjectFlagStatus(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
291
- static hideFeedObject(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<any>;
292
- static feedObjectHideStatus(type: SCFeedObjectTypologyType, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectHideStatusType>;
266
+ static getAllFeedObjects(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: FeedObjGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
267
+ static getUncommentedFeedObjects(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
268
+ static searchFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseSearchParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
269
+ static createFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
270
+ static getSpecificFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
271
+ static updateFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, data: FeedObjCreateParams, config?: AxiosRequestConfig): Promise<SCFeedObjectType>;
272
+ static deleteFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
273
+ static feedObjectContributorsList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCUserType>>;
274
+ static feedObjectSharesList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
275
+ static feedObjectUserSharesList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams): Promise<SCPaginatedResponse<SCUserType>>;
276
+ static restoreFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
277
+ static relatedFeedObjects(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
278
+ static voteFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, reaction?: number, config?: AxiosRequestConfig): Promise<any>;
279
+ static feedObjectVotes(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCVoteType>>;
280
+ static feedObjectPollVote(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, choice: number, config?: AxiosRequestConfig): Promise<any>;
281
+ static feedObjectPollVotesList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, params?: FeedObjectPollVotesSearch, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCPollVoteType>>;
282
+ static followFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
283
+ static feedObjectFollowingList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
284
+ static checkIfFollowingFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectFollowingStatusType>;
285
+ static suspendFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
286
+ static checkIfSuspendedFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectSuspendedStatusType>;
287
+ static feedObjectSuspendedList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, params?: BaseGetParams, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFeedObjectType>>;
288
+ static flagFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, flag_type: SCFlagTypeEnum, config?: AxiosRequestConfig): Promise<any>;
289
+ static feedObjectFlagList(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
290
+ static feedObjectFlagStatus(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCPaginatedResponse<SCFlagType>>;
291
+ static hideFeedObject(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<any>;
292
+ static feedObjectHideStatus(type: Exclude<SCContributionType, SCContributionType.COMMENT>, id: number | string, config?: AxiosRequestConfig): Promise<SCFeedObjectHideStatusType>;
293
293
  }
294
294
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","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E,OAAO,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,OAAO,CAAC,EAC7D,EAAE,EAAE,MAAM,GAAG,MAAM,EACnB,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;WAI9B,oBAAoB,CAC/B,IAAI,EAAE,OAAO,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,OAAO,CAAC,EAC7D,EAAE,EAAE,MAAM,GAAG,MAAM,EACnB,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;WAG9B,cAAc,CACzB,IAAI,EAAE,OAAO,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,OAAO,CAAC,EAC7D,EAAE,EAAE,MAAM,GAAG,MAAM,EACnB,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,GAAG,CAAC;WAIF,oBAAoB,CAC/B,IAAI,EAAE,OAAO,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,OAAO,CAAC,EAC7D,EAAE,EAAE,MAAM,GAAG,MAAM,EACnB,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,0BAA0B,CAAC;CAGvC"}
@@ -43,11 +43,11 @@ class FeedObjectApiClient {
43
43
  /**
44
44
  * This endpoint performs search operation to feed objs
45
45
  * @param type
46
- * @param search
46
+ * @param params
47
47
  * @param config
48
48
  */
49
- static searchFeedObject(type, search, config) {
50
- const p = (0, url_1.urlParams)(Object.assign({}, (search && { search: search })));
49
+ static searchFeedObject(type, params, config) {
50
+ const p = (0, url_1.urlParams)(params);
51
51
  return (0, apiRequest_1.apiRequest)(Object.assign(Object.assign({}, config), { url: `${Endpoints_1.default.SearchFeedObject.url({ type })}?${p.toString()}`, method: Endpoints_1.default.SearchFeedObject.method }));
52
52
  }
53
53
  /**
@@ -148,7 +148,7 @@ class FeedObjectApiClient {
148
148
  * @param reaction
149
149
  */
150
150
  static voteFeedObject(type, id, reaction, config) {
151
- const p = (0, url_1.urlParams)(reaction ? { reaction: reaction } : null);
151
+ const p = (0, url_1.urlParams)(Object.assign({}, (reaction && { reaction: reaction })));
152
152
  return (0, apiRequest_1.apiRequest)(Object.assign(Object.assign({}, config), { url: `${Endpoints_1.default.Vote.url({ type, id })}?${p.toString()}`, method: Endpoints_1.default.Vote.method }));
153
153
  }
154
154
  /**
@@ -326,9 +326,9 @@ class FeedObjectService {
326
326
  return FeedObjectApiClient.getUncommentedFeedObjects(type, params, config);
327
327
  });
328
328
  }
329
- static searchFeedObject(type, search, config) {
329
+ static searchFeedObject(type, params, config) {
330
330
  return __awaiter(this, void 0, void 0, function* () {
331
- return FeedObjectApiClient.searchFeedObject(type, search, config);
331
+ return FeedObjectApiClient.searchFeedObject(type, params, config);
332
332
  });
333
333
  }
334
334
  static createFeedObject(type, data, config) {