@@ -1426,8 +1426,12 @@ export class FeedsApi {
14261426 } ;
14271427 const body = {
14281428 default_visibility : request ?. default_visibility ,
1429+ activity_processors : request ?. activity_processors ,
1430+ activity_selectors : request ?. activity_selectors ,
1431+ aggregation : request ?. aggregation ,
14291432 custom : request ?. custom ,
14301433 notification : request ?. notification ,
1434+ ranking : request ?. ranking ,
14311435 } ;
14321436
14331437 const response = await this . apiClient . sendRequest <
@@ -1832,34 +1836,6 @@ export class FeedsApi {
18321836 return { ...response . body , metadata : response . metadata } ;
18331837 }
18341838
1835- async createMembershipLevel (
1836- request : CreateMembershipLevelRequest ,
1837- ) : Promise < StreamResponse < CreateMembershipLevelResponse > > {
1838- const body = {
1839- id : request ?. id ,
1840- name : request ?. name ,
1841- description : request ?. description ,
1842- priority : request ?. priority ,
1843- tags : request ?. tags ,
1844- custom : request ?. custom ,
1845- } ;
1846-
1847- const response = await this . apiClient . sendRequest <
1848- StreamResponse < CreateMembershipLevelResponse >
1849- > (
1850- 'POST' ,
1851- '/api/v2/feeds/membership_levels' ,
1852- undefined ,
1853- undefined ,
1854- body ,
1855- 'application/json' ,
1856- ) ;
1857-
1858- decoders . CreateMembershipLevelResponse ?.( response . body ) ;
1859-
1860- return { ...response . body , metadata : response . metadata } ;
1861- }
1862-
18631839 async unfollowBatch (
18641840 request : UnfollowBatchRequest ,
18651841 ) : Promise < StreamResponse < UnfollowBatchResponse > > {
0 commit comments