@aurora-interactive/fankare-api-sdk 0.0.2 → 0.0.4

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 (195) hide show
  1. package/FUNCTIONS.md +2 -0
  2. package/README.md +32 -20
  3. package/esm/funcs/creator-timelines-get-creator-posts.d.ts +2 -5
  4. package/esm/funcs/creator-timelines-get-creator-posts.d.ts.map +1 -1
  5. package/esm/funcs/creator-timelines-get-creator-posts.js +7 -8
  6. package/esm/funcs/creator-timelines-get-creator-posts.js.map +1 -1
  7. package/esm/funcs/custom-collections-add-collection-member.d.ts +14 -0
  8. package/esm/funcs/custom-collections-add-collection-member.d.ts.map +1 -0
  9. package/esm/funcs/custom-collections-add-collection-member.js +88 -0
  10. package/esm/funcs/custom-collections-add-collection-member.js.map +1 -0
  11. package/esm/funcs/custom-collections-create-collection.d.ts +15 -0
  12. package/esm/funcs/custom-collections-create-collection.d.ts.map +1 -0
  13. package/esm/funcs/custom-collections-create-collection.js +79 -0
  14. package/esm/funcs/custom-collections-create-collection.js.map +1 -0
  15. package/esm/funcs/custom-collections-get-collection-members.d.ts +14 -0
  16. package/esm/funcs/custom-collections-get-collection-members.d.ts.map +1 -0
  17. package/esm/funcs/custom-collections-get-collection-members.js +87 -0
  18. package/esm/funcs/custom-collections-get-collection-members.js.map +1 -0
  19. package/esm/funcs/custom-collections-get-collections.d.ts +14 -0
  20. package/esm/funcs/custom-collections-get-collections.d.ts.map +1 -0
  21. package/esm/funcs/custom-collections-get-collections.js +68 -0
  22. package/esm/funcs/custom-collections-get-collections.js.map +1 -0
  23. package/esm/funcs/custom-collections-remove-collection-member.d.ts +13 -0
  24. package/esm/funcs/custom-collections-remove-collection-member.d.ts.map +1 -0
  25. package/esm/funcs/custom-collections-remove-collection-member.js +91 -0
  26. package/esm/funcs/custom-collections-remove-collection-member.js.map +1 -0
  27. package/esm/funcs/direct-messaging-get-conversations.d.ts +0 -3
  28. package/esm/funcs/direct-messaging-get-conversations.d.ts.map +1 -1
  29. package/esm/funcs/direct-messaging-get-conversations.js +0 -3
  30. package/esm/funcs/direct-messaging-get-conversations.js.map +1 -1
  31. package/esm/funcs/direct-messaging-get-message-history.d.ts +3 -3
  32. package/esm/funcs/direct-messaging-get-message-history.d.ts.map +1 -1
  33. package/esm/funcs/direct-messaging-get-message-history.js +13 -7
  34. package/esm/funcs/direct-messaging-get-message-history.js.map +1 -1
  35. package/esm/funcs/posts-create-post.d.ts +0 -3
  36. package/esm/funcs/posts-create-post.d.ts.map +1 -1
  37. package/esm/funcs/posts-create-post.js +0 -3
  38. package/esm/funcs/posts-create-post.js.map +1 -1
  39. package/esm/funcs/posts-get-collection-feed.d.ts +14 -0
  40. package/esm/funcs/posts-get-collection-feed.d.ts.map +1 -0
  41. package/esm/funcs/posts-get-collection-feed.js +94 -0
  42. package/esm/funcs/posts-get-collection-feed.js.map +1 -0
  43. package/esm/funcs/posts-get-feed.d.ts +3 -6
  44. package/esm/funcs/posts-get-feed.d.ts.map +1 -1
  45. package/esm/funcs/posts-get-feed.js +3 -5
  46. package/esm/funcs/posts-get-feed.js.map +1 -1
  47. package/esm/funcs/user-discovery-get-following.d.ts +0 -3
  48. package/esm/funcs/user-discovery-get-following.d.ts.map +1 -1
  49. package/esm/funcs/user-discovery-get-following.js +0 -3
  50. package/esm/funcs/user-discovery-get-following.js.map +1 -1
  51. package/esm/funcs/user-discovery-get-user-profile.d.ts +0 -3
  52. package/esm/funcs/user-discovery-get-user-profile.d.ts.map +1 -1
  53. package/esm/funcs/user-discovery-get-user-profile.js +0 -3
  54. package/esm/funcs/user-discovery-get-user-profile.js.map +1 -1
  55. package/esm/funcs/user-discovery-search-users.d.ts +0 -3
  56. package/esm/funcs/user-discovery-search-users.d.ts.map +1 -1
  57. package/esm/funcs/user-discovery-search-users.js +0 -3
  58. package/esm/funcs/user-discovery-search-users.js.map +1 -1
  59. package/esm/lib/config.d.ts +2 -2
  60. package/esm/lib/config.js +2 -2
  61. package/esm/models/collection.d.ts +12 -0
  62. package/esm/models/collection.d.ts.map +1 -0
  63. package/esm/models/collection.js +18 -0
  64. package/esm/models/collection.js.map +1 -0
  65. package/esm/models/conversation.d.ts +0 -3
  66. package/esm/models/conversation.d.ts.map +1 -1
  67. package/esm/models/conversation.js.map +1 -1
  68. package/esm/models/index.d.ts +2 -1
  69. package/esm/models/index.d.ts.map +1 -1
  70. package/esm/models/index.js +2 -1
  71. package/esm/models/index.js.map +1 -1
  72. package/esm/models/operations/add-collection-member.d.ts +24 -0
  73. package/esm/models/operations/add-collection-member.d.ts.map +1 -0
  74. package/esm/models/operations/add-collection-member.js +21 -0
  75. package/esm/models/operations/add-collection-member.js.map +1 -0
  76. package/esm/models/operations/create-collection.d.ts +12 -0
  77. package/esm/models/operations/create-collection.d.ts.map +1 -0
  78. package/esm/models/operations/create-collection.js +13 -0
  79. package/esm/models/operations/create-collection.js.map +1 -0
  80. package/esm/models/operations/create-post.d.ts +1 -1
  81. package/esm/models/operations/get-collection-feed.d.ts +19 -0
  82. package/esm/models/operations/get-collection-feed.d.ts.map +1 -0
  83. package/esm/models/operations/get-collection-feed.js +15 -0
  84. package/esm/models/operations/get-collection-feed.js.map +1 -0
  85. package/esm/models/operations/get-collection-members.d.ts +12 -0
  86. package/esm/models/operations/get-collection-members.d.ts.map +1 -0
  87. package/esm/models/operations/get-collection-members.js +13 -0
  88. package/esm/models/operations/get-collection-members.js.map +1 -0
  89. package/esm/models/operations/get-creator-posts.d.ts +5 -0
  90. package/esm/models/operations/get-creator-posts.d.ts.map +1 -1
  91. package/esm/models/operations/get-creator-posts.js +1 -0
  92. package/esm/models/operations/get-creator-posts.js.map +1 -1
  93. package/esm/models/operations/get-feed.d.ts +3 -13
  94. package/esm/models/operations/get-feed.d.ts.map +1 -1
  95. package/esm/models/operations/get-feed.js +0 -11
  96. package/esm/models/operations/get-feed.js.map +1 -1
  97. package/esm/models/operations/get-message-history.d.ts +20 -0
  98. package/esm/models/operations/get-message-history.d.ts.map +1 -1
  99. package/esm/models/operations/get-message-history.js +13 -0
  100. package/esm/models/operations/get-message-history.js.map +1 -1
  101. package/esm/models/operations/index.d.ts +5 -5
  102. package/esm/models/operations/index.d.ts.map +1 -1
  103. package/esm/models/operations/index.js +5 -5
  104. package/esm/models/operations/index.js.map +1 -1
  105. package/esm/models/operations/remove-collection-member.d.ts +14 -0
  106. package/esm/models/operations/remove-collection-member.d.ts.map +1 -0
  107. package/esm/models/operations/remove-collection-member.js +14 -0
  108. package/esm/models/operations/remove-collection-member.js.map +1 -0
  109. package/esm/models/paginated-posts-response.d.ts +15 -0
  110. package/esm/models/paginated-posts-response.d.ts.map +1 -0
  111. package/esm/models/paginated-posts-response.js +17 -0
  112. package/esm/models/paginated-posts-response.js.map +1 -0
  113. package/esm/models/register-request.d.ts +4 -2
  114. package/esm/models/register-request.d.ts.map +1 -1
  115. package/esm/models/register-request.js +2 -1
  116. package/esm/models/register-request.js.map +1 -1
  117. package/esm/models/user-profile.d.ts +0 -1
  118. package/esm/models/user-profile.d.ts.map +1 -1
  119. package/esm/models/user-profile.js +0 -1
  120. package/esm/models/user-profile.js.map +1 -1
  121. package/esm/models/user.d.ts +32 -0
  122. package/esm/models/user.d.ts.map +1 -1
  123. package/esm/models/user.js +16 -0
  124. package/esm/models/user.js.map +1 -1
  125. package/esm/sdk/creator-timelines.d.ts +2 -5
  126. package/esm/sdk/creator-timelines.d.ts.map +1 -1
  127. package/esm/sdk/creator-timelines.js +3 -6
  128. package/esm/sdk/creator-timelines.js.map +1 -1
  129. package/esm/sdk/custom-collections.d.ts +26 -0
  130. package/esm/sdk/custom-collections.d.ts.map +1 -0
  131. package/esm/sdk/custom-collections.js +44 -0
  132. package/esm/sdk/custom-collections.js.map +1 -0
  133. package/esm/sdk/direct-messaging.d.ts +3 -5
  134. package/esm/sdk/direct-messaging.d.ts.map +1 -1
  135. package/esm/sdk/direct-messaging.js +3 -6
  136. package/esm/sdk/direct-messaging.js.map +1 -1
  137. package/esm/sdk/posts.d.ts +4 -10
  138. package/esm/sdk/posts.d.ts.map +1 -1
  139. package/esm/sdk/posts.js +5 -11
  140. package/esm/sdk/posts.js.map +1 -1
  141. package/esm/sdk/sdk.d.ts +3 -3
  142. package/esm/sdk/sdk.d.ts.map +1 -1
  143. package/esm/sdk/sdk.js +4 -4
  144. package/esm/sdk/sdk.js.map +1 -1
  145. package/esm/sdk/user-discovery.d.ts +0 -9
  146. package/esm/sdk/user-discovery.d.ts.map +1 -1
  147. package/esm/sdk/user-discovery.js +0 -9
  148. package/esm/sdk/user-discovery.js.map +1 -1
  149. package/examples/authenticationRegisterUser.example.ts +2 -0
  150. package/jsr.json +1 -1
  151. package/package.json +1 -1
  152. package/src/funcs/creator-timelines-get-creator-posts.ts +10 -8
  153. package/src/funcs/{custom-lists-add-list-member.ts → custom-collections-add-collection-member.ts} +15 -14
  154. package/src/funcs/{custom-lists-create-list.ts → custom-collections-create-collection.ts} +13 -12
  155. package/src/funcs/{custom-lists-get-list-members.ts → custom-collections-get-collection-members.ts} +13 -12
  156. package/src/funcs/{custom-lists-get-lists.ts → custom-collections-get-collections.ts} +9 -9
  157. package/src/funcs/{custom-lists-remove-list-member.ts → custom-collections-remove-collection-member.ts} +12 -12
  158. package/src/funcs/direct-messaging-get-conversations.ts +0 -3
  159. package/src/funcs/direct-messaging-get-message-history.ts +20 -7
  160. package/src/funcs/posts-create-post.ts +0 -3
  161. package/src/funcs/{posts-get-list-feed.ts → posts-get-collection-feed.ts} +22 -16
  162. package/src/funcs/posts-get-feed.ts +6 -8
  163. package/src/funcs/user-discovery-get-following.ts +0 -3
  164. package/src/funcs/user-discovery-get-user-profile.ts +0 -3
  165. package/src/funcs/user-discovery-search-users.ts +0 -3
  166. package/src/lib/config.ts +2 -2
  167. package/src/models/{custom-list.ts → collection.ts} +7 -7
  168. package/src/models/conversation.ts +0 -3
  169. package/src/models/index.ts +2 -1
  170. package/src/models/operations/add-collection-member.ts +61 -0
  171. package/src/models/operations/create-collection.ts +31 -0
  172. package/src/models/operations/create-post.ts +1 -1
  173. package/src/models/operations/get-collection-feed.ts +40 -0
  174. package/src/models/operations/get-collection-members.ts +33 -0
  175. package/src/models/operations/get-creator-posts.ts +6 -0
  176. package/src/models/operations/get-feed.ts +3 -32
  177. package/src/models/operations/get-message-history.ts +41 -0
  178. package/src/models/operations/index.ts +5 -5
  179. package/src/models/operations/remove-collection-member.ts +36 -0
  180. package/src/models/paginated-posts-response.ts +38 -0
  181. package/src/models/register-request.ts +6 -3
  182. package/src/models/user-profile.ts +0 -2
  183. package/src/models/user.ts +46 -0
  184. package/src/sdk/creator-timelines.ts +4 -5
  185. package/src/sdk/custom-collections.ts +88 -0
  186. package/src/sdk/direct-messaging.ts +7 -5
  187. package/src/sdk/posts.ts +11 -15
  188. package/src/sdk/sdk.ts +4 -4
  189. package/src/sdk/user-discovery.ts +0 -9
  190. package/src/models/operations/add-list-member.ts +0 -59
  191. package/src/models/operations/create-list.ts +0 -31
  192. package/src/models/operations/get-list-feed.ts +0 -34
  193. package/src/models/operations/get-list-members.ts +0 -31
  194. package/src/models/operations/remove-list-member.ts +0 -34
  195. package/src/sdk/custom-lists.ts +0 -88
@@ -1 +1 @@
1
- {"version":3,"file":"posts.js","sourceRoot":"","sources":["../../src/sdk/posts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,KAAM,SAAQ,SAAS;IAClC;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CACX,KAA0B,EAC1B,MAA2B,EAC3B,OAAwB,EACa;QACrC,OAAO,WAAW,CAAC,YAAY,CA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MAA2B,EAC3B,OAAwB,EACgB;QACxC,OAAO,WAAW,CAAC,sBAAsB,CACvC,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,MAAM,EACN,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
package/esm/sdk/sdk.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ClientSDK } from "../lib/sdks.js";
2
2
  import { Authentication } from "./authentication.js";
3
3
  import { CreatorTimelines } from "./creator-timelines.js";
4
- import { CustomLists } from "./custom-lists.js";
4
+ import { CustomCollections } from "./custom-collections.js";
5
5
  import { DirectMessaging } from "./direct-messaging.js";
6
6
  import { Posts } from "./posts.js";
7
7
  import { Subscriptions } from "./subscriptions.js";
@@ -19,7 +19,7 @@ export declare class FankareSDK extends ClientSDK {
19
19
  get posts(): Posts;
20
20
  private _directMessaging?;
21
21
  get directMessaging(): DirectMessaging;
22
- private _customLists?;
23
- get customLists(): CustomLists;
22
+ private _customCollections?;
23
+ get customCollections(): CustomCollections;
24
24
  }
25
25
  //# sourceMappingURL=sdk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../src/sdk/sdk.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,qBAAa,UAAW,SAAQ,SAAS;IACvC,OAAO,CAAC,eAAe,CAAC,CAAiB;IACzC,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ED,OAAO,CAAC,iBAAiB,CAAC,CAAmB;IAC7C,IAAI,gBAAgB,IAAI,gBAAgB,CAEvC;IAED,OAAO,CAAC,MAAM,CAAC,CAAQ;IACvB,IAAI,KAAK,IAAI,KAAK,CAEjB;IAED,OAAO,CAAC,gBAAgB,CAAC,CAAkB;IAC3C,IAAI,eAAe,IAAI,eAAe,CAErC;IAED,OAAO,CAAC,kBAAkB,CAAC,CAAoB;IAC/C,IAAI,iBAAiB,IAAI,iBAAiB,CAEzC;CACF"}
package/esm/sdk/sdk.js CHANGED
@@ -5,7 +5,7 @@
5
5
  import { ClientSDK } from "../lib/sdks.js";
6
6
  import { Authentication } from "./authentication.js";
7
7
  import { CreatorTimelines } from "./creator-timelines.js";
8
- import { CustomLists } from "./custom-lists.js";
8
+ import { CustomCollections } from "./custom-collections.js";
9
9
  import { DirectMessaging } from "./direct-messaging.js";
10
10
  import { Posts } from "./posts.js";
11
11
  import { Subscriptions } from "./subscriptions.js";
@@ -35,9 +35,9 @@ export class FankareSDK extends ClientSDK {
35
35
  get directMessaging() {
36
36
  return (this._directMessaging ?? (this._directMessaging = new DirectMessaging(this._options)));
37
37
  }
38
- _customLists;
39
- get customLists() {
40
- return (this._customLists ?? (this._customLists = new CustomLists(this._options)));
38
+ _customCollections;
39
+ get customCollections() {
40
+ return (this._customCollections ?? (this._customCollections = new CustomCollections(this._options)));
41
41
  }
42
42
  }
43
43
  //# sourceMappingURL=sdk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.js","sourceRoot":"","sources":["../../src/sdk/sdk.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,eAAe,EAA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,KAAnB,IAAI,CAAC,cAAc,GAAK,IAAI,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACnE;IAEO,iBAAiB,CAAoB;IAC7C,IAAI,gBAAgB,GAAqB;QACvC,OAAO,CAAC,IAAI,CAAC,iBAAiB,KAAtB,IAAI,CAAC,iBAAiB,GAAK,IAAI,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACzE;IAEO,MAAM,CAAS;IACvB,IAAI,KAAK,GAAU;QACjB,OAAO,CAAC,IAAI,CAAC,MAAM,KAAX,IAAI,CAAC,MAAM,GAAK,IAAI,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACnD;IAEO,gBAAgB,CAAmB;IAC3C,IAAI,eAAe,GAAoB;QACrC,OAAO,CAAC,IAAI,CAAC,gBAAgB,KAArB,IAAI,CAAC,gBAAgB,GAAK,IAAI,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACvE;IAEO,kBAAkB,CAAqB;IAC/C,IAAI,iBAAiB,GAAsB;QACzC,OAAO,CAAC,IAAI,CAAC,kBAAkB,KAAvB,IAAI,CAAC,kBAAkB,GAAK,IAAI,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CAC3E;CACF"}
@@ -3,23 +3,14 @@ import * as models from "../models/index.js";
3
3
  export declare class UserDiscovery extends ClientSDK {
4
4
  /**
5
5
  * Search global user profiles
6
- *
7
- * @remarks
8
- * Queries the global database for user profiles matching a search string.
9
6
  */
10
7
  searchUsers(query: string, options?: RequestOptions): Promise<Array<models.User>>;
11
8
  /**
12
9
  * Retrieve user profile metadata
13
- *
14
- * @remarks
15
- * Fetches a user's target profile metrics including counts and media references.
16
10
  */
17
11
  getUserProfile(userId: number, options?: RequestOptions): Promise<models.UserProfile>;
18
12
  /**
19
13
  * Get subscriptions list
20
- *
21
- * @remarks
22
- * Retrieves an array of all users the current caller is subscribed to for initializing active client button states.
23
14
  */
24
15
  getFollowing(options?: RequestOptions): Promise<Array<models.User>>;
25
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"user-discovery.d.ts","sourceRoot":"","sources":["../../src/sdk/user-discovery.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAG7C,qBAAa,aAAc,SAAQ,SAAS;IAC1C;;;;;OAKG;IACG,WAAW,CACf,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAM7B;IAED;;;;;OAKG;IACG,cAAc,CAClB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAM7B;IAED;;;;;OAKG;IACG,YAAY,CAChB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAK7B;CACF"}
1
+ {"version":3,"file":"user-discovery.d.ts","sourceRoot":"","sources":["../../src/sdk/user-discovery.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAG7C,qBAAa,aAAc,SAAQ,SAAS;IAC1C;;OAEG;IACG,WAAW,CACf,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAM7B;IAED;;OAEG;IACG,cAAc,CAClB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAM7B;IAED;;OAEG;IACG,YAAY,CAChB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAK7B;CACF"}
@@ -10,27 +10,18 @@ import { unwrapAsync } from "../types/fp.js";
10
10
  export class UserDiscovery extends ClientSDK {
11
11
  /**
12
12
  * Search global user profiles
13
- *
14
- * @remarks
15
- * Queries the global database for user profiles matching a search string.
16
13
  */
17
14
  async searchUsers(query, options) {
18
15
  return unwrapAsync(userDiscoverySearchUsers(this, query, options));
19
16
  }
20
17
  /**
21
18
  * Retrieve user profile metadata
22
- *
23
- * @remarks
24
- * Fetches a user's target profile metrics including counts and media references.
25
19
  */
26
20
  async getUserProfile(userId, options) {
27
21
  return unwrapAsync(userDiscoveryGetUserProfile(this, userId, options));
28
22
  }
29
23
  /**
30
24
  * Get subscriptions list
31
- *
32
- * @remarks
33
- * Retrieves an array of all users the current caller is subscribed to for initializing active client button states.
34
25
  */
35
26
  async getFollowing(options) {
36
27
  return unwrapAsync(userDiscoveryGetFollowing(this, options));
@@ -1 +1 @@
1
- {"version":3,"file":"user-discovery.js","sourceRoot":"","sources":["../../src/sdk/user-discovery.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,KAAa,EACb,OAAwB,EACK;QAC7B,OAAO,WAAW,CAAC,wBAAwB,CACzC,IAAI,EACJ,KAAK,EACL,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,MAAc,EACd,OAAwB,EACK;QAC7B,OAAO,WAAW,CAAC,2BAA2B,CAC5C,IAAI,EACJ,MAAM,EACN,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAAwB,EACK;QAC7B,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
1
+ {"version":3,"file":"user-discovery.js","sourceRoot":"","sources":["../../src/sdk/user-discovery.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C;;OAEG;IACH,KAAK,CAAC,WAAW,CACf,KAAa,EACb,OAAwB,EACK;QAC7B,OAAO,WAAW,CAAC,wBAAwB,CACzC,IAAI,EACJ,KAAK,EACL,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;OAEG;IACH,KAAK,CAAC,cAAc,CAClB,MAAc,EACd,OAAwB,EACK;QAC7B,OAAO,WAAW,CAAC,2BAA2B,CAC5C,IAAI,EACJ,MAAM,EACN,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;OAEG;IACH,KAAK,CAAC,YAAY,CAChB,OAAwB,EACK;QAC7B,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
@@ -21,7 +21,9 @@ const fankareSDK = new FankareSDK({
21
21
  async function main() {
22
22
  const result = await fankareSDK.authentication.registerUser({
23
23
  username: "Nicklaus67",
24
+ email: "Erick_McClure81@hotmail.com",
24
25
  password: "4rmpu4fcbiqyYPN",
26
+ displayName: "Abbey80",
25
27
  });
26
28
 
27
29
  console.log(result);
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@aurora-interactive/fankare-api-sdk",
5
- "version": "0.0.2",
5
+ "version": "0.0.4",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurora-interactive/fankare-api-sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "author": "Aurora Interactive",
5
5
  "type": "module",
6
6
  "main": "./esm/index.js",
@@ -29,19 +29,17 @@ import { APICall, APIPromise } from "../types/async.js";
29
29
  import { Result } from "../types/fp.js";
30
30
 
31
31
  /**
32
- * Get a specific creator's timeline
33
- *
34
- * @remarks
35
- * Retrieves individual posts uploaded strictly by the requested user account.
32
+ * Get a specific creator's timeline with pagination
36
33
  */
37
34
  export function creatorTimelinesGetCreatorPosts(
38
35
  client: FankareSDKCore,
39
36
  userId: number,
40
37
  limit?: number | undefined,
38
+ cursor?: string | undefined,
41
39
  options?: RequestOptions,
42
40
  ): APIPromise<
43
41
  Result<
44
- Array<models.Post>,
42
+ models.PaginatedPostsResponse,
45
43
  | FankareSDKError
46
44
  | ResponseValidationError
47
45
  | ConnectionError
@@ -56,6 +54,7 @@ export function creatorTimelinesGetCreatorPosts(
56
54
  client,
57
55
  userId,
58
56
  limit,
57
+ cursor,
59
58
  options,
60
59
  ));
61
60
  }
@@ -64,11 +63,12 @@ async function $do(
64
63
  client: FankareSDKCore,
65
64
  userId: number,
66
65
  limit?: number | undefined,
66
+ cursor?: string | undefined,
67
67
  options?: RequestOptions,
68
68
  ): Promise<
69
69
  [
70
70
  Result<
71
- Array<models.Post>,
71
+ models.PaginatedPostsResponse,
72
72
  | FankareSDKError
73
73
  | ResponseValidationError
74
74
  | ConnectionError
@@ -84,6 +84,7 @@ async function $do(
84
84
  const input: operations.GetCreatorPostsRequest = {
85
85
  userId: userId,
86
86
  limit: limit,
87
+ cursor: cursor,
87
88
  };
88
89
 
89
90
  const parsed = safeParse(
@@ -106,6 +107,7 @@ async function $do(
106
107
  const path = pathToFunc("/users/{userId}/posts")(pathParams);
107
108
 
108
109
  const query = encodeFormQuery({
110
+ "cursor": payload.cursor,
109
111
  "limit": payload.limit,
110
112
  });
111
113
 
@@ -161,7 +163,7 @@ async function $do(
161
163
  const response = doResult.value;
162
164
 
163
165
  const [result] = await M.match<
164
- Array<models.Post>,
166
+ models.PaginatedPostsResponse,
165
167
  | FankareSDKError
166
168
  | ResponseValidationError
167
169
  | ConnectionError
@@ -171,7 +173,7 @@ async function $do(
171
173
  | UnexpectedClientError
172
174
  | SDKValidationError
173
175
  >(
174
- M.json(200, z.array(models.Post$inboundSchema)),
176
+ M.json(200, models.PaginatedPostsResponse$inboundSchema),
175
177
  M.fail("4XX"),
176
178
  M.fail("5XX"),
177
179
  )(response, req);
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: e529857a5527
3
+ * @generated-id: 09f25f5f8a76
4
4
  */
5
5
 
6
6
  import * as z from "zod/v4-mini";
@@ -28,12 +28,12 @@ import { APICall, APIPromise } from "../types/async.js";
28
28
  import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
- * Add a user to a custom list
31
+ * Add a user to a custom collection
32
32
  */
33
- export function customListsAddListMember(
33
+ export function customCollectionsAddCollectionMember(
34
34
  client: FankareSDKCore,
35
- listId: number,
36
- body: operations.AddListMemberRequestBody,
35
+ collectionId: number,
36
+ body: operations.AddCollectionMemberRequestBody,
37
37
  options?: RequestOptions,
38
38
  ): APIPromise<
39
39
  Result<
@@ -50,7 +50,7 @@ export function customListsAddListMember(
50
50
  > {
51
51
  return new APIPromise($do(
52
52
  client,
53
- listId,
53
+ collectionId,
54
54
  body,
55
55
  options,
56
56
  ));
@@ -58,8 +58,8 @@ export function customListsAddListMember(
58
58
 
59
59
  async function $do(
60
60
  client: FankareSDKCore,
61
- listId: number,
62
- body: operations.AddListMemberRequestBody,
61
+ collectionId: number,
62
+ body: operations.AddCollectionMemberRequestBody,
63
63
  options?: RequestOptions,
64
64
  ): Promise<
65
65
  [
@@ -77,14 +77,15 @@ async function $do(
77
77
  APICall,
78
78
  ]
79
79
  > {
80
- const input: operations.AddListMemberRequest = {
81
- listId: listId,
80
+ const input: operations.AddCollectionMemberRequest = {
81
+ collectionId: collectionId,
82
82
  body: body,
83
83
  };
84
84
 
85
85
  const parsed = safeParse(
86
86
  input,
87
- (value) => z.parse(operations.AddListMemberRequest$outboundSchema, value),
87
+ (value) =>
88
+ z.parse(operations.AddCollectionMemberRequest$outboundSchema, value),
88
89
  "Input validation failed",
89
90
  );
90
91
  if (!parsed.ok) {
@@ -94,12 +95,12 @@ async function $do(
94
95
  const body$ = encodeJSON("body", payload.body, { explode: true });
95
96
 
96
97
  const pathParams = {
97
- listId: encodeSimple("listId", payload.listId, {
98
+ collectionId: encodeSimple("collectionId", payload.collectionId, {
98
99
  explode: false,
99
100
  charEncoding: "percent",
100
101
  }),
101
102
  };
102
- const path = pathToFunc("/lists/{listId}/members")(pathParams);
103
+ const path = pathToFunc("/collections/{collectionId}/members")(pathParams);
103
104
 
104
105
  const headers = new Headers(compactMap({
105
106
  "Content-Type": "application/json",
@@ -113,7 +114,7 @@ async function $do(
113
114
  const context = {
114
115
  options: client._options,
115
116
  baseURL: options?.serverURL ?? client._baseURL ?? "",
116
- operationID: "addListMember",
117
+ operationID: "addCollectionMember",
117
118
  oAuth2Scopes: null,
118
119
 
119
120
  resolvedSecurity: requestSecurity,
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: 5194d9d90891
3
+ * @generated-id: 802a176f4643
4
4
  */
5
5
 
6
6
  import * as z from "zod/v4-mini";
@@ -29,15 +29,15 @@ import { APICall, APIPromise } from "../types/async.js";
29
29
  import { Result } from "../types/fp.js";
30
30
 
31
31
  /**
32
- * Create a new custom grouping list
32
+ * Create a new custom grouping collection
33
33
  */
34
- export function customListsCreateList(
34
+ export function customCollectionsCreateCollection(
35
35
  client: FankareSDKCore,
36
- request: operations.CreateListRequest,
36
+ request: operations.CreateCollectionRequest,
37
37
  options?: RequestOptions,
38
38
  ): APIPromise<
39
39
  Result<
40
- models.CustomList,
40
+ models.Collection,
41
41
  | FankareSDKError
42
42
  | ResponseValidationError
43
43
  | ConnectionError
@@ -57,12 +57,12 @@ export function customListsCreateList(
57
57
 
58
58
  async function $do(
59
59
  client: FankareSDKCore,
60
- request: operations.CreateListRequest,
60
+ request: operations.CreateCollectionRequest,
61
61
  options?: RequestOptions,
62
62
  ): Promise<
63
63
  [
64
64
  Result<
65
- models.CustomList,
65
+ models.Collection,
66
66
  | FankareSDKError
67
67
  | ResponseValidationError
68
68
  | ConnectionError
@@ -77,7 +77,8 @@ async function $do(
77
77
  > {
78
78
  const parsed = safeParse(
79
79
  request,
80
- (value) => z.parse(operations.CreateListRequest$outboundSchema, value),
80
+ (value) =>
81
+ z.parse(operations.CreateCollectionRequest$outboundSchema, value),
81
82
  "Input validation failed",
82
83
  );
83
84
  if (!parsed.ok) {
@@ -86,7 +87,7 @@ async function $do(
86
87
  const payload = parsed.value;
87
88
  const body = encodeJSON("body", payload, { explode: true });
88
89
 
89
- const path = pathToFunc("/lists")();
90
+ const path = pathToFunc("/collections")();
90
91
 
91
92
  const headers = new Headers(compactMap({
92
93
  "Content-Type": "application/json",
@@ -100,7 +101,7 @@ async function $do(
100
101
  const context = {
101
102
  options: client._options,
102
103
  baseURL: options?.serverURL ?? client._baseURL ?? "",
103
- operationID: "createList",
104
+ operationID: "createCollection",
104
105
  oAuth2Scopes: null,
105
106
 
106
107
  resolvedSecurity: requestSecurity,
@@ -140,7 +141,7 @@ async function $do(
140
141
  const response = doResult.value;
141
142
 
142
143
  const [result] = await M.match<
143
- models.CustomList,
144
+ models.Collection,
144
145
  | FankareSDKError
145
146
  | ResponseValidationError
146
147
  | ConnectionError
@@ -150,7 +151,7 @@ async function $do(
150
151
  | UnexpectedClientError
151
152
  | SDKValidationError
152
153
  >(
153
- M.json(201, models.CustomList$inboundSchema),
154
+ M.json(201, models.Collection$inboundSchema),
154
155
  M.fail("4XX"),
155
156
  M.fail("5XX"),
156
157
  )(response, req);
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: cf3d1c8686d6
3
+ * @generated-id: 7beb0dd706f2
4
4
  */
5
5
 
6
6
  import * as z from "zod/v4-mini";
@@ -29,11 +29,11 @@ import { APICall, APIPromise } from "../types/async.js";
29
29
  import { Result } from "../types/fp.js";
30
30
 
31
31
  /**
32
- * Get all members belonging to a custom list
32
+ * Get all members belonging to a custom collection
33
33
  */
34
- export function customListsGetListMembers(
34
+ export function customCollectionsGetCollectionMembers(
35
35
  client: FankareSDKCore,
36
- listId: number,
36
+ collectionId: number,
37
37
  options?: RequestOptions,
38
38
  ): APIPromise<
39
39
  Result<
@@ -50,14 +50,14 @@ export function customListsGetListMembers(
50
50
  > {
51
51
  return new APIPromise($do(
52
52
  client,
53
- listId,
53
+ collectionId,
54
54
  options,
55
55
  ));
56
56
  }
57
57
 
58
58
  async function $do(
59
59
  client: FankareSDKCore,
60
- listId: number,
60
+ collectionId: number,
61
61
  options?: RequestOptions,
62
62
  ): Promise<
63
63
  [
@@ -75,13 +75,14 @@ async function $do(
75
75
  APICall,
76
76
  ]
77
77
  > {
78
- const input: operations.GetListMembersRequest = {
79
- listId: listId,
78
+ const input: operations.GetCollectionMembersRequest = {
79
+ collectionId: collectionId,
80
80
  };
81
81
 
82
82
  const parsed = safeParse(
83
83
  input,
84
- (value) => z.parse(operations.GetListMembersRequest$outboundSchema, value),
84
+ (value) =>
85
+ z.parse(operations.GetCollectionMembersRequest$outboundSchema, value),
85
86
  "Input validation failed",
86
87
  );
87
88
  if (!parsed.ok) {
@@ -91,12 +92,12 @@ async function $do(
91
92
  const body = null;
92
93
 
93
94
  const pathParams = {
94
- listId: encodeSimple("listId", payload.listId, {
95
+ collectionId: encodeSimple("collectionId", payload.collectionId, {
95
96
  explode: false,
96
97
  charEncoding: "percent",
97
98
  }),
98
99
  };
99
- const path = pathToFunc("/lists/{listId}/members")(pathParams);
100
+ const path = pathToFunc("/collections/{collectionId}/members")(pathParams);
100
101
 
101
102
  const headers = new Headers(compactMap({
102
103
  Accept: "application/json",
@@ -109,7 +110,7 @@ async function $do(
109
110
  const context = {
110
111
  options: client._options,
111
112
  baseURL: options?.serverURL ?? client._baseURL ?? "",
112
- operationID: "getListMembers",
113
+ operationID: "getCollectionMembers",
113
114
  oAuth2Scopes: null,
114
115
 
115
116
  resolvedSecurity: requestSecurity,
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: cd08936dfbdf
3
+ * @generated-id: ac4ed76cf26d
4
4
  */
5
5
 
6
6
  import * as z from "zod/v4-mini";
@@ -26,14 +26,14 @@ import { APICall, APIPromise } from "../types/async.js";
26
26
  import { Result } from "../types/fp.js";
27
27
 
28
28
  /**
29
- * Get all custom lists created by the user
29
+ * Get all collections created by the user
30
30
  */
31
- export function customListsGetLists(
31
+ export function customCollectionsGetCollections(
32
32
  client: FankareSDKCore,
33
33
  options?: RequestOptions,
34
34
  ): APIPromise<
35
35
  Result<
36
- Array<models.CustomList>,
36
+ Array<models.Collection>,
37
37
  | FankareSDKError
38
38
  | ResponseValidationError
39
39
  | ConnectionError
@@ -56,7 +56,7 @@ async function $do(
56
56
  ): Promise<
57
57
  [
58
58
  Result<
59
- Array<models.CustomList>,
59
+ Array<models.Collection>,
60
60
  | FankareSDKError
61
61
  | ResponseValidationError
62
62
  | ConnectionError
@@ -69,7 +69,7 @@ async function $do(
69
69
  APICall,
70
70
  ]
71
71
  > {
72
- const path = pathToFunc("/lists")();
72
+ const path = pathToFunc("/collections")();
73
73
 
74
74
  const headers = new Headers(compactMap({
75
75
  Accept: "application/json",
@@ -82,7 +82,7 @@ async function $do(
82
82
  const context = {
83
83
  options: client._options,
84
84
  baseURL: options?.serverURL ?? client._baseURL ?? "",
85
- operationID: "getLists",
85
+ operationID: "getCollections",
86
86
  oAuth2Scopes: null,
87
87
 
88
88
  resolvedSecurity: requestSecurity,
@@ -121,7 +121,7 @@ async function $do(
121
121
  const response = doResult.value;
122
122
 
123
123
  const [result] = await M.match<
124
- Array<models.CustomList>,
124
+ Array<models.Collection>,
125
125
  | FankareSDKError
126
126
  | ResponseValidationError
127
127
  | ConnectionError
@@ -131,7 +131,7 @@ async function $do(
131
131
  | UnexpectedClientError
132
132
  | SDKValidationError
133
133
  >(
134
- M.json(200, z.array(models.CustomList$inboundSchema)),
134
+ M.json(200, z.array(models.Collection$inboundSchema)),
135
135
  M.fail("4XX"),
136
136
  M.fail("5XX"),
137
137
  )(response, req);
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- * @generated-id: f9d5468b6abd
3
+ * @generated-id: afd181fdd5a7
4
4
  */
5
5
 
6
6
  import * as z from "zod/v4-mini";
@@ -28,11 +28,11 @@ import { APICall, APIPromise } from "../types/async.js";
28
28
  import { Result } from "../types/fp.js";
29
29
 
30
30
  /**
31
- * Remove a user from a custom list
31
+ * Remove a user from a custom collection
32
32
  */
33
- export function customListsRemoveListMember(
33
+ export function customCollectionsRemoveCollectionMember(
34
34
  client: FankareSDKCore,
35
- listId: number,
35
+ collectionId: number,
36
36
  userId: number,
37
37
  options?: RequestOptions,
38
38
  ): APIPromise<
@@ -50,7 +50,7 @@ export function customListsRemoveListMember(
50
50
  > {
51
51
  return new APIPromise($do(
52
52
  client,
53
- listId,
53
+ collectionId,
54
54
  userId,
55
55
  options,
56
56
  ));
@@ -58,7 +58,7 @@ export function customListsRemoveListMember(
58
58
 
59
59
  async function $do(
60
60
  client: FankareSDKCore,
61
- listId: number,
61
+ collectionId: number,
62
62
  userId: number,
63
63
  options?: RequestOptions,
64
64
  ): Promise<
@@ -77,15 +77,15 @@ async function $do(
77
77
  APICall,
78
78
  ]
79
79
  > {
80
- const input: operations.RemoveListMemberRequest = {
81
- listId: listId,
80
+ const input: operations.RemoveCollectionMemberRequest = {
81
+ collectionId: collectionId,
82
82
  userId: userId,
83
83
  };
84
84
 
85
85
  const parsed = safeParse(
86
86
  input,
87
87
  (value) =>
88
- z.parse(operations.RemoveListMemberRequest$outboundSchema, value),
88
+ z.parse(operations.RemoveCollectionMemberRequest$outboundSchema, value),
89
89
  "Input validation failed",
90
90
  );
91
91
  if (!parsed.ok) {
@@ -95,12 +95,12 @@ async function $do(
95
95
  const body = null;
96
96
 
97
97
  const pathParams = {
98
- listId: encodeSimple("listId", payload.listId, {
98
+ collectionId: encodeSimple("collectionId", payload.collectionId, {
99
99
  explode: false,
100
100
  charEncoding: "percent",
101
101
  }),
102
102
  };
103
- const path = pathToFunc("/lists/{listId}/members")(pathParams);
103
+ const path = pathToFunc("/collections/{collectionId}/members")(pathParams);
104
104
 
105
105
  const query = encodeFormQuery({
106
106
  "userId": payload.userId,
@@ -117,7 +117,7 @@ async function $do(
117
117
  const context = {
118
118
  options: client._options,
119
119
  baseURL: options?.serverURL ?? client._baseURL ?? "",
120
- operationID: "removeListMember",
120
+ operationID: "removeCollectionMember",
121
121
  oAuth2Scopes: null,
122
122
 
123
123
  resolvedSecurity: requestSecurity,
@@ -27,9 +27,6 @@ import { Result } from "../types/fp.js";
27
27
 
28
28
  /**
29
29
  * Fetch active DM threads
30
- *
31
- * @remarks
32
- * Gets recent conversation summary records containing index context of opposing communication profiles.
33
30
  */
34
31
  export function directMessagingGetConversations(
35
32
  client: FankareSDKCore,