@aurora-interactive/fankare-api-sdk 0.0.1 → 0.0.3

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 (477) hide show
  1. package/README.md +41 -18
  2. package/esm/core.d.ts.map +1 -1
  3. package/esm/core.js +1 -0
  4. package/esm/core.js.map +1 -1
  5. package/esm/funcs/authentication-login-user.d.ts.map +1 -1
  6. package/esm/funcs/authentication-login-user.js +1 -0
  7. package/esm/funcs/authentication-login-user.js.map +1 -1
  8. package/esm/funcs/authentication-register-user.d.ts.map +1 -1
  9. package/esm/funcs/authentication-register-user.js +1 -0
  10. package/esm/funcs/authentication-register-user.js.map +1 -1
  11. package/esm/funcs/creator-timelines-get-creator-posts.d.ts +14 -0
  12. package/esm/funcs/creator-timelines-get-creator-posts.d.ts.map +1 -0
  13. package/esm/funcs/creator-timelines-get-creator-posts.js +94 -0
  14. package/esm/funcs/creator-timelines-get-creator-posts.js.map +1 -0
  15. package/esm/funcs/custom-collections-add-collection-member.d.ts +14 -0
  16. package/esm/funcs/custom-collections-add-collection-member.d.ts.map +1 -0
  17. package/esm/funcs/custom-collections-add-collection-member.js +88 -0
  18. package/esm/funcs/custom-collections-add-collection-member.js.map +1 -0
  19. package/esm/funcs/custom-collections-create-collection.d.ts +15 -0
  20. package/esm/funcs/custom-collections-create-collection.d.ts.map +1 -0
  21. package/esm/funcs/custom-collections-create-collection.js +79 -0
  22. package/esm/funcs/custom-collections-create-collection.js.map +1 -0
  23. package/esm/funcs/custom-collections-get-collection-members.d.ts +14 -0
  24. package/esm/funcs/custom-collections-get-collection-members.d.ts.map +1 -0
  25. package/esm/funcs/custom-collections-get-collection-members.js +87 -0
  26. package/esm/funcs/custom-collections-get-collection-members.js.map +1 -0
  27. package/esm/funcs/custom-collections-get-collections.d.ts +14 -0
  28. package/esm/funcs/custom-collections-get-collections.d.ts.map +1 -0
  29. package/esm/funcs/custom-collections-get-collections.js +68 -0
  30. package/esm/funcs/custom-collections-get-collections.js.map +1 -0
  31. package/esm/funcs/custom-collections-remove-collection-member.d.ts +13 -0
  32. package/esm/funcs/custom-collections-remove-collection-member.d.ts.map +1 -0
  33. package/esm/funcs/custom-collections-remove-collection-member.js +91 -0
  34. package/esm/funcs/custom-collections-remove-collection-member.js.map +1 -0
  35. package/esm/funcs/custom-lists-add-list-member.d.ts.map +1 -1
  36. package/esm/funcs/custom-lists-add-list-member.js +2 -1
  37. package/esm/funcs/custom-lists-add-list-member.js.map +1 -1
  38. package/esm/funcs/custom-lists-create-list.d.ts.map +1 -1
  39. package/esm/funcs/custom-lists-create-list.js +2 -1
  40. package/esm/funcs/custom-lists-create-list.js.map +1 -1
  41. package/esm/funcs/custom-lists-get-list-members.d.ts.map +1 -1
  42. package/esm/funcs/custom-lists-get-list-members.js +2 -1
  43. package/esm/funcs/custom-lists-get-list-members.js.map +1 -1
  44. package/esm/funcs/custom-lists-get-lists.d.ts.map +1 -1
  45. package/esm/funcs/custom-lists-get-lists.js +2 -1
  46. package/esm/funcs/custom-lists-get-lists.js.map +1 -1
  47. package/esm/funcs/custom-lists-remove-list-member.d.ts.map +1 -1
  48. package/esm/funcs/custom-lists-remove-list-member.js +1 -0
  49. package/esm/funcs/custom-lists-remove-list-member.js.map +1 -1
  50. package/esm/funcs/direct-messaging-get-conversations.d.ts +14 -0
  51. package/esm/funcs/direct-messaging-get-conversations.d.ts.map +1 -0
  52. package/esm/funcs/direct-messaging-get-conversations.js +68 -0
  53. package/esm/funcs/direct-messaging-get-conversations.js.map +1 -0
  54. package/esm/funcs/direct-messaging-get-message-history.d.ts +14 -0
  55. package/esm/funcs/direct-messaging-get-message-history.d.ts.map +1 -0
  56. package/esm/funcs/direct-messaging-get-message-history.js +93 -0
  57. package/esm/funcs/direct-messaging-get-message-history.js.map +1 -0
  58. package/esm/funcs/direct-messaging-send-message.d.ts +14 -0
  59. package/esm/funcs/direct-messaging-send-message.d.ts.map +1 -0
  60. package/esm/funcs/direct-messaging-send-message.js +89 -0
  61. package/esm/funcs/direct-messaging-send-message.js.map +1 -0
  62. package/esm/funcs/posts-create-post.d.ts +1 -4
  63. package/esm/funcs/posts-create-post.d.ts.map +1 -1
  64. package/esm/funcs/posts-create-post.js +3 -5
  65. package/esm/funcs/posts-create-post.js.map +1 -1
  66. package/esm/funcs/posts-get-collection-feed.d.ts +14 -0
  67. package/esm/funcs/posts-get-collection-feed.d.ts.map +1 -0
  68. package/esm/funcs/posts-get-collection-feed.js +94 -0
  69. package/esm/funcs/posts-get-collection-feed.js.map +1 -0
  70. package/esm/funcs/posts-get-feed.d.ts +3 -6
  71. package/esm/funcs/posts-get-feed.d.ts.map +1 -1
  72. package/esm/funcs/posts-get-feed.js +4 -5
  73. package/esm/funcs/posts-get-feed.js.map +1 -1
  74. package/esm/funcs/posts-get-list-feed.d.ts.map +1 -1
  75. package/esm/funcs/posts-get-list-feed.js +1 -0
  76. package/esm/funcs/posts-get-list-feed.js.map +1 -1
  77. package/esm/funcs/subscriptions-subscribe-to-user.d.ts.map +1 -1
  78. package/esm/funcs/subscriptions-subscribe-to-user.js +2 -1
  79. package/esm/funcs/subscriptions-subscribe-to-user.js.map +1 -1
  80. package/esm/funcs/subscriptions-unsubscribe-from-user.d.ts.map +1 -1
  81. package/esm/funcs/subscriptions-unsubscribe-from-user.js +2 -1
  82. package/esm/funcs/subscriptions-unsubscribe-from-user.js.map +1 -1
  83. package/esm/funcs/user-discovery-get-following.d.ts +14 -0
  84. package/esm/funcs/user-discovery-get-following.d.ts.map +1 -0
  85. package/esm/funcs/user-discovery-get-following.js +68 -0
  86. package/esm/funcs/user-discovery-get-following.js.map +1 -0
  87. package/esm/funcs/user-discovery-get-user-profile.d.ts +14 -0
  88. package/esm/funcs/user-discovery-get-user-profile.d.ts.map +1 -0
  89. package/esm/funcs/user-discovery-get-user-profile.js +87 -0
  90. package/esm/funcs/user-discovery-get-user-profile.js.map +1 -0
  91. package/esm/funcs/user-discovery-search-users.d.ts +14 -0
  92. package/esm/funcs/user-discovery-search-users.d.ts.map +1 -0
  93. package/esm/funcs/user-discovery-search-users.js +85 -0
  94. package/esm/funcs/user-discovery-search-users.js.map +1 -0
  95. package/esm/hooks/hooks.d.ts.map +1 -1
  96. package/esm/hooks/hooks.js +1 -0
  97. package/esm/hooks/hooks.js.map +1 -1
  98. package/esm/hooks/index.d.ts.map +1 -1
  99. package/esm/hooks/index.js +1 -0
  100. package/esm/hooks/index.js.map +1 -1
  101. package/esm/hooks/types.d.ts.map +1 -1
  102. package/esm/hooks/types.js +1 -0
  103. package/esm/hooks/types.js.map +1 -1
  104. package/esm/index.d.ts.map +1 -1
  105. package/esm/index.js +1 -0
  106. package/esm/index.js.map +1 -1
  107. package/esm/lib/base64.d.ts.map +1 -1
  108. package/esm/lib/base64.js +1 -0
  109. package/esm/lib/base64.js.map +1 -1
  110. package/esm/lib/config.d.ts +2 -2
  111. package/esm/lib/config.d.ts.map +1 -1
  112. package/esm/lib/config.js +3 -2
  113. package/esm/lib/config.js.map +1 -1
  114. package/esm/lib/encodings.d.ts.map +1 -1
  115. package/esm/lib/encodings.js +1 -0
  116. package/esm/lib/encodings.js.map +1 -1
  117. package/esm/lib/files.d.ts.map +1 -1
  118. package/esm/lib/files.js +1 -0
  119. package/esm/lib/files.js.map +1 -1
  120. package/esm/lib/http.d.ts.map +1 -1
  121. package/esm/lib/http.js +1 -0
  122. package/esm/lib/http.js.map +1 -1
  123. package/esm/lib/logger.d.ts.map +1 -1
  124. package/esm/lib/logger.js +1 -0
  125. package/esm/lib/logger.js.map +1 -1
  126. package/esm/lib/matchers.d.ts.map +1 -1
  127. package/esm/lib/matchers.js +1 -0
  128. package/esm/lib/matchers.js.map +1 -1
  129. package/esm/lib/primitives.d.ts.map +1 -1
  130. package/esm/lib/primitives.js +1 -0
  131. package/esm/lib/primitives.js.map +1 -1
  132. package/esm/lib/retries.d.ts.map +1 -1
  133. package/esm/lib/retries.js +1 -0
  134. package/esm/lib/retries.js.map +1 -1
  135. package/esm/lib/schemas.d.ts.map +1 -1
  136. package/esm/lib/schemas.js +1 -0
  137. package/esm/lib/schemas.js.map +1 -1
  138. package/esm/lib/sdks.d.ts.map +1 -1
  139. package/esm/lib/sdks.js +1 -0
  140. package/esm/lib/sdks.js.map +1 -1
  141. package/esm/lib/security.d.ts.map +1 -1
  142. package/esm/lib/security.js +1 -0
  143. package/esm/lib/security.js.map +1 -1
  144. package/esm/lib/url.d.ts.map +1 -1
  145. package/esm/lib/url.js +1 -0
  146. package/esm/lib/url.js.map +1 -1
  147. package/esm/models/collection.d.ts +12 -0
  148. package/esm/models/collection.d.ts.map +1 -0
  149. package/esm/models/collection.js +18 -0
  150. package/esm/models/collection.js.map +1 -0
  151. package/esm/models/conversation.d.ts +14 -0
  152. package/esm/models/conversation.d.ts.map +1 -0
  153. package/esm/models/conversation.js +19 -0
  154. package/esm/models/conversation.js.map +1 -0
  155. package/esm/models/create-post-request.d.ts +12 -2
  156. package/esm/models/create-post-request.d.ts.map +1 -1
  157. package/esm/models/create-post-request.js +10 -1
  158. package/esm/models/create-post-request.js.map +1 -1
  159. package/esm/models/custom-list.d.ts.map +1 -1
  160. package/esm/models/custom-list.js +1 -0
  161. package/esm/models/custom-list.js.map +1 -1
  162. package/esm/models/errors/fankare-sdk-default-error.d.ts.map +1 -1
  163. package/esm/models/errors/fankare-sdk-default-error.js +1 -0
  164. package/esm/models/errors/fankare-sdk-default-error.js.map +1 -1
  165. package/esm/models/errors/fankare-sdk-error.d.ts.map +1 -1
  166. package/esm/models/errors/fankare-sdk-error.js +1 -0
  167. package/esm/models/errors/fankare-sdk-error.js.map +1 -1
  168. package/esm/models/errors/http-client-errors.d.ts.map +1 -1
  169. package/esm/models/errors/http-client-errors.js +1 -0
  170. package/esm/models/errors/http-client-errors.js.map +1 -1
  171. package/esm/models/errors/index.d.ts.map +1 -1
  172. package/esm/models/errors/index.js +1 -0
  173. package/esm/models/errors/index.js.map +1 -1
  174. package/esm/models/errors/response-validation-error.d.ts.map +1 -1
  175. package/esm/models/errors/response-validation-error.js +1 -0
  176. package/esm/models/errors/response-validation-error.js.map +1 -1
  177. package/esm/models/errors/sdk-validation-error.d.ts.map +1 -1
  178. package/esm/models/errors/sdk-validation-error.js +1 -0
  179. package/esm/models/errors/sdk-validation-error.js.map +1 -1
  180. package/esm/models/index.d.ts +7 -1
  181. package/esm/models/index.d.ts.map +1 -1
  182. package/esm/models/index.js +8 -1
  183. package/esm/models/index.js.map +1 -1
  184. package/esm/models/login-request.d.ts.map +1 -1
  185. package/esm/models/login-request.js +1 -0
  186. package/esm/models/login-request.js.map +1 -1
  187. package/esm/models/media-asset.d.ts +30 -0
  188. package/esm/models/media-asset.d.ts.map +1 -0
  189. package/esm/models/media-asset.js +35 -0
  190. package/esm/models/media-asset.js.map +1 -0
  191. package/esm/models/message.d.ts +14 -0
  192. package/esm/models/message.d.ts.map +1 -0
  193. package/esm/models/message.js +19 -0
  194. package/esm/models/message.js.map +1 -0
  195. package/esm/models/operations/add-collection-member.d.ts +24 -0
  196. package/esm/models/operations/add-collection-member.d.ts.map +1 -0
  197. package/esm/models/operations/add-collection-member.js +21 -0
  198. package/esm/models/operations/add-collection-member.js.map +1 -0
  199. package/esm/models/operations/add-list-member.d.ts.map +1 -1
  200. package/esm/models/operations/add-list-member.js +1 -0
  201. package/esm/models/operations/add-list-member.js.map +1 -1
  202. package/esm/models/operations/create-collection.d.ts +12 -0
  203. package/esm/models/operations/create-collection.d.ts.map +1 -0
  204. package/esm/models/operations/create-collection.js +13 -0
  205. package/esm/models/operations/create-collection.js.map +1 -0
  206. package/esm/models/operations/create-list.d.ts.map +1 -1
  207. package/esm/models/operations/create-list.js +1 -0
  208. package/esm/models/operations/create-list.js.map +1 -1
  209. package/esm/models/operations/create-post.d.ts +12 -5
  210. package/esm/models/operations/create-post.d.ts.map +1 -1
  211. package/esm/models/operations/create-post.js +11 -1
  212. package/esm/models/operations/create-post.js.map +1 -1
  213. package/esm/models/operations/get-collection-feed.d.ts +19 -0
  214. package/esm/models/operations/get-collection-feed.d.ts.map +1 -0
  215. package/esm/models/operations/get-collection-feed.js +15 -0
  216. package/esm/models/operations/get-collection-feed.js.map +1 -0
  217. package/esm/models/operations/get-collection-members.d.ts +12 -0
  218. package/esm/models/operations/get-collection-members.d.ts.map +1 -0
  219. package/esm/models/operations/get-collection-members.js +13 -0
  220. package/esm/models/operations/get-collection-members.js.map +1 -0
  221. package/esm/models/operations/get-creator-posts.d.ts +19 -0
  222. package/esm/models/operations/get-creator-posts.d.ts.map +1 -0
  223. package/esm/models/operations/get-creator-posts.js +15 -0
  224. package/esm/models/operations/get-creator-posts.js.map +1 -0
  225. package/esm/models/operations/get-feed.d.ts +1 -14
  226. package/esm/models/operations/get-feed.d.ts.map +1 -1
  227. package/esm/models/operations/get-feed.js +1 -11
  228. package/esm/models/operations/get-feed.js.map +1 -1
  229. package/esm/models/operations/get-list-feed.d.ts.map +1 -1
  230. package/esm/models/operations/get-list-feed.js +1 -0
  231. package/esm/models/operations/get-list-feed.js.map +1 -1
  232. package/esm/models/operations/get-list-members.d.ts.map +1 -1
  233. package/esm/models/operations/get-list-members.js +1 -0
  234. package/esm/models/operations/get-list-members.js.map +1 -1
  235. package/esm/models/operations/get-message-history.d.ts +32 -0
  236. package/esm/models/operations/get-message-history.d.ts.map +1 -0
  237. package/esm/models/operations/get-message-history.js +26 -0
  238. package/esm/models/operations/get-message-history.js.map +1 -0
  239. package/esm/models/operations/get-user-profile.d.ts +12 -0
  240. package/esm/models/operations/get-user-profile.d.ts.map +1 -0
  241. package/esm/models/operations/get-user-profile.js +13 -0
  242. package/esm/models/operations/get-user-profile.js.map +1 -0
  243. package/esm/models/operations/index.d.ts +10 -5
  244. package/esm/models/operations/index.d.ts.map +1 -1
  245. package/esm/models/operations/index.js +11 -5
  246. package/esm/models/operations/index.js.map +1 -1
  247. package/esm/models/operations/login-user.d.ts.map +1 -1
  248. package/esm/models/operations/login-user.js +1 -0
  249. package/esm/models/operations/login-user.js.map +1 -1
  250. package/esm/models/operations/remove-collection-member.d.ts +14 -0
  251. package/esm/models/operations/remove-collection-member.d.ts.map +1 -0
  252. package/esm/models/operations/remove-collection-member.js +14 -0
  253. package/esm/models/operations/remove-collection-member.js.map +1 -0
  254. package/esm/models/operations/remove-list-member.d.ts +0 -3
  255. package/esm/models/operations/remove-list-member.d.ts.map +1 -1
  256. package/esm/models/operations/remove-list-member.js +1 -0
  257. package/esm/models/operations/remove-list-member.js.map +1 -1
  258. package/esm/models/operations/search-users.d.ts +15 -0
  259. package/esm/models/operations/search-users.d.ts.map +1 -0
  260. package/esm/models/operations/search-users.js +13 -0
  261. package/esm/models/operations/search-users.js.map +1 -0
  262. package/esm/models/operations/send-message.d.ts +15 -0
  263. package/esm/models/operations/send-message.d.ts.map +1 -0
  264. package/esm/models/operations/send-message.js +15 -0
  265. package/esm/models/operations/send-message.js.map +1 -0
  266. package/esm/models/operations/subscribe-to-user.d.ts +0 -3
  267. package/esm/models/operations/subscribe-to-user.d.ts.map +1 -1
  268. package/esm/models/operations/subscribe-to-user.js +1 -0
  269. package/esm/models/operations/subscribe-to-user.js.map +1 -1
  270. package/esm/models/operations/unsubscribe-from-user.d.ts +0 -3
  271. package/esm/models/operations/unsubscribe-from-user.d.ts.map +1 -1
  272. package/esm/models/operations/unsubscribe-from-user.js +1 -0
  273. package/esm/models/operations/unsubscribe-from-user.js.map +1 -1
  274. package/esm/models/paginated-posts-response.d.ts +15 -0
  275. package/esm/models/paginated-posts-response.d.ts.map +1 -0
  276. package/esm/models/paginated-posts-response.js +17 -0
  277. package/esm/models/paginated-posts-response.js.map +1 -0
  278. package/esm/models/post.d.ts +2 -31
  279. package/esm/models/post.d.ts.map +1 -1
  280. package/esm/models/post.js +3 -21
  281. package/esm/models/post.js.map +1 -1
  282. package/esm/models/register-request.d.ts.map +1 -1
  283. package/esm/models/register-request.js +1 -0
  284. package/esm/models/register-request.js.map +1 -1
  285. package/esm/models/security.d.ts.map +1 -1
  286. package/esm/models/security.js +1 -0
  287. package/esm/models/security.js.map +1 -1
  288. package/esm/models/send-message-request.d.ts +12 -0
  289. package/esm/models/send-message-request.d.ts.map +1 -0
  290. package/esm/models/send-message-request.js +13 -0
  291. package/esm/models/send-message-request.js.map +1 -0
  292. package/esm/models/user-profile.d.ts +14 -0
  293. package/esm/models/user-profile.d.ts.map +1 -0
  294. package/esm/models/user-profile.js +20 -0
  295. package/esm/models/user-profile.js.map +1 -0
  296. package/esm/models/user.d.ts.map +1 -1
  297. package/esm/models/user.js +1 -0
  298. package/esm/models/user.js.map +1 -1
  299. package/esm/sdk/authentication.d.ts.map +1 -1
  300. package/esm/sdk/authentication.js +1 -0
  301. package/esm/sdk/authentication.js.map +1 -1
  302. package/esm/sdk/creator-timelines.d.ts +9 -0
  303. package/esm/sdk/creator-timelines.d.ts.map +1 -0
  304. package/esm/sdk/creator-timelines.js +16 -0
  305. package/esm/sdk/creator-timelines.js.map +1 -0
  306. package/esm/sdk/custom-collections.d.ts +26 -0
  307. package/esm/sdk/custom-collections.d.ts.map +1 -0
  308. package/esm/sdk/custom-collections.js +44 -0
  309. package/esm/sdk/custom-collections.js.map +1 -0
  310. package/esm/sdk/custom-lists.d.ts.map +1 -1
  311. package/esm/sdk/custom-lists.js +1 -0
  312. package/esm/sdk/custom-lists.js.map +1 -1
  313. package/esm/sdk/direct-messaging.d.ts +18 -0
  314. package/esm/sdk/direct-messaging.d.ts.map +1 -0
  315. package/esm/sdk/direct-messaging.js +30 -0
  316. package/esm/sdk/direct-messaging.js.map +1 -0
  317. package/esm/sdk/index.d.ts.map +1 -1
  318. package/esm/sdk/index.js +1 -0
  319. package/esm/sdk/index.js.map +1 -1
  320. package/esm/sdk/posts.d.ts +5 -11
  321. package/esm/sdk/posts.d.ts.map +1 -1
  322. package/esm/sdk/posts.js +7 -12
  323. package/esm/sdk/posts.js.map +1 -1
  324. package/esm/sdk/sdk.d.ts +12 -3
  325. package/esm/sdk/sdk.d.ts.map +1 -1
  326. package/esm/sdk/sdk.js +20 -4
  327. package/esm/sdk/sdk.js.map +1 -1
  328. package/esm/sdk/subscriptions.d.ts.map +1 -1
  329. package/esm/sdk/subscriptions.js +1 -0
  330. package/esm/sdk/subscriptions.js.map +1 -1
  331. package/esm/sdk/user-discovery.d.ts +17 -0
  332. package/esm/sdk/user-discovery.d.ts.map +1 -0
  333. package/esm/sdk/user-discovery.js +30 -0
  334. package/esm/sdk/user-discovery.js.map +1 -0
  335. package/esm/types/async.d.ts.map +1 -1
  336. package/esm/types/async.js +1 -0
  337. package/esm/types/async.js.map +1 -1
  338. package/esm/types/blobs.d.ts.map +1 -1
  339. package/esm/types/blobs.js +1 -0
  340. package/esm/types/blobs.js.map +1 -1
  341. package/esm/types/const-date-time.d.ts.map +1 -1
  342. package/esm/types/const-date-time.js +1 -0
  343. package/esm/types/const-date-time.js.map +1 -1
  344. package/esm/types/default-to-zero-value.d.ts.map +1 -1
  345. package/esm/types/default-to-zero-value.js +1 -0
  346. package/esm/types/default-to-zero-value.js.map +1 -1
  347. package/esm/types/enums.d.ts.map +1 -1
  348. package/esm/types/enums.js +1 -0
  349. package/esm/types/enums.js.map +1 -1
  350. package/esm/types/fp.d.ts.map +1 -1
  351. package/esm/types/fp.js +1 -0
  352. package/esm/types/fp.js.map +1 -1
  353. package/esm/types/index.d.ts.map +1 -1
  354. package/esm/types/index.js +1 -0
  355. package/esm/types/index.js.map +1 -1
  356. package/esm/types/operations.d.ts.map +1 -1
  357. package/esm/types/operations.js +1 -0
  358. package/esm/types/operations.js.map +1 -1
  359. package/esm/types/primitives.d.ts.map +1 -1
  360. package/esm/types/primitives.js +1 -0
  361. package/esm/types/primitives.js.map +1 -1
  362. package/esm/types/rfcdate.d.ts.map +1 -1
  363. package/esm/types/rfcdate.js +1 -0
  364. package/esm/types/rfcdate.js.map +1 -1
  365. package/esm/types/smart-union.d.ts.map +1 -1
  366. package/esm/types/smart-union.js +1 -0
  367. package/esm/types/smart-union.js.map +1 -1
  368. package/esm/types/streams.d.ts.map +1 -1
  369. package/esm/types/streams.js +1 -0
  370. package/esm/types/streams.js.map +1 -1
  371. package/esm/types/unrecognized.d.ts.map +1 -1
  372. package/esm/types/unrecognized.js +1 -0
  373. package/esm/types/unrecognized.js.map +1 -1
  374. package/examples/authenticationRegisterUser.example.ts +1 -0
  375. package/jsr.json +1 -1
  376. package/package.json +1 -1
  377. package/src/core.ts +1 -0
  378. package/src/funcs/authentication-login-user.ts +1 -0
  379. package/src/funcs/authentication-register-user.ts +1 -0
  380. package/src/funcs/{posts-get-list-feed.ts → creator-timelines-get-creator-posts.ts} +21 -15
  381. package/src/funcs/{custom-lists-add-list-member.ts → custom-collections-add-collection-member.ts} +16 -14
  382. package/src/funcs/{custom-lists-create-list.ts → custom-collections-create-collection.ts} +14 -12
  383. package/src/funcs/{custom-lists-get-list-members.ts → custom-collections-get-collection-members.ts} +14 -12
  384. package/src/funcs/custom-collections-get-collections.ts +143 -0
  385. package/src/funcs/{custom-lists-remove-list-member.ts → custom-collections-remove-collection-member.ts} +12 -11
  386. package/src/funcs/direct-messaging-get-conversations.ts +143 -0
  387. package/src/funcs/direct-messaging-get-message-history.ts +185 -0
  388. package/src/funcs/direct-messaging-send-message.ts +176 -0
  389. package/src/funcs/posts-create-post.ts +3 -5
  390. package/src/funcs/posts-get-collection-feed.ts +186 -0
  391. package/src/funcs/posts-get-feed.ts +8 -9
  392. package/src/funcs/subscriptions-subscribe-to-user.ts +2 -1
  393. package/src/funcs/subscriptions-unsubscribe-from-user.ts +2 -1
  394. package/src/funcs/{custom-lists-get-lists.ts → user-discovery-get-following.ts} +10 -9
  395. package/src/funcs/user-discovery-get-user-profile.ts +171 -0
  396. package/src/funcs/user-discovery-search-users.ts +170 -0
  397. package/src/hooks/hooks.ts +1 -0
  398. package/src/hooks/index.ts +1 -0
  399. package/src/hooks/types.ts +1 -0
  400. package/src/index.ts +1 -0
  401. package/src/lib/base64.ts +1 -0
  402. package/src/lib/config.ts +3 -2
  403. package/src/lib/encodings.ts +1 -0
  404. package/src/lib/files.ts +1 -0
  405. package/src/lib/http.ts +1 -0
  406. package/src/lib/logger.ts +1 -0
  407. package/src/lib/matchers.ts +1 -0
  408. package/src/lib/primitives.ts +1 -0
  409. package/src/lib/retries.ts +1 -0
  410. package/src/lib/schemas.ts +1 -0
  411. package/src/lib/sdks.ts +1 -0
  412. package/src/lib/security.ts +1 -0
  413. package/src/lib/url.ts +1 -0
  414. package/src/models/{custom-list.ts → collection.ts} +7 -6
  415. package/src/models/conversation.ts +36 -0
  416. package/src/models/create-post-request.ts +23 -3
  417. package/src/models/errors/fankare-sdk-default-error.ts +1 -0
  418. package/src/models/errors/fankare-sdk-error.ts +1 -0
  419. package/src/models/errors/http-client-errors.ts +1 -0
  420. package/src/models/errors/index.ts +1 -0
  421. package/src/models/errors/response-validation-error.ts +1 -0
  422. package/src/models/errors/sdk-validation-error.ts +1 -0
  423. package/src/models/index.ts +8 -1
  424. package/src/models/login-request.ts +1 -0
  425. package/src/models/media-asset.ts +63 -0
  426. package/src/models/message.ts +37 -0
  427. package/src/models/operations/add-collection-member.ts +61 -0
  428. package/src/models/operations/create-collection.ts +31 -0
  429. package/src/models/operations/create-post.ts +29 -6
  430. package/src/models/operations/get-collection-feed.ts +40 -0
  431. package/src/models/operations/get-collection-members.ts +33 -0
  432. package/src/models/operations/get-creator-posts.ts +40 -0
  433. package/src/models/operations/get-feed.ts +2 -33
  434. package/src/models/operations/get-message-history.ts +72 -0
  435. package/src/models/operations/get-user-profile.ts +31 -0
  436. package/src/models/operations/index.ts +11 -5
  437. package/src/models/operations/login-user.ts +1 -0
  438. package/src/models/operations/remove-collection-member.ts +36 -0
  439. package/src/models/operations/search-users.ts +34 -0
  440. package/src/models/operations/send-message.ts +35 -0
  441. package/src/models/operations/subscribe-to-user.ts +1 -3
  442. package/src/models/operations/unsubscribe-from-user.ts +1 -3
  443. package/src/models/paginated-posts-response.ts +38 -0
  444. package/src/models/post.ts +4 -43
  445. package/src/models/register-request.ts +1 -0
  446. package/src/models/security.ts +1 -0
  447. package/src/models/send-message-request.ts +31 -0
  448. package/src/models/user-profile.ts +37 -0
  449. package/src/models/user.ts +1 -0
  450. package/src/sdk/authentication.ts +1 -0
  451. package/src/sdk/creator-timelines.ts +29 -0
  452. package/src/sdk/custom-collections.ts +88 -0
  453. package/src/sdk/direct-messaging.ts +60 -0
  454. package/src/sdk/index.ts +1 -0
  455. package/src/sdk/posts.ts +13 -16
  456. package/src/sdk/sdk.ts +23 -4
  457. package/src/sdk/subscriptions.ts +1 -0
  458. package/src/sdk/user-discovery.ts +53 -0
  459. package/src/types/async.ts +1 -0
  460. package/src/types/blobs.ts +1 -0
  461. package/src/types/const-date-time.ts +1 -0
  462. package/src/types/default-to-zero-value.ts +1 -0
  463. package/src/types/enums.ts +1 -0
  464. package/src/types/fp.ts +1 -0
  465. package/src/types/index.ts +1 -0
  466. package/src/types/operations.ts +1 -0
  467. package/src/types/primitives.ts +1 -0
  468. package/src/types/rfcdate.ts +1 -0
  469. package/src/types/smart-union.ts +1 -0
  470. package/src/types/streams.ts +1 -0
  471. package/src/types/unrecognized.ts +1 -0
  472. package/src/models/operations/add-list-member.ts +0 -58
  473. package/src/models/operations/create-list.ts +0 -30
  474. package/src/models/operations/get-list-feed.ts +0 -33
  475. package/src/models/operations/get-list-members.ts +0 -30
  476. package/src/models/operations/remove-list-member.ts +0 -36
  477. package/src/sdk/custom-lists.ts +0 -87
@@ -0,0 +1,143 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 2455a7dd6455
4
+ */
5
+
6
+ import * as z from "zod/v4-mini";
7
+ import { FankareSDKCore } from "../core.js";
8
+ import { matchStatusCode } from "../lib/http.js";
9
+ import * as M from "../lib/matchers.js";
10
+ import { compactMap } from "../lib/primitives.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import { FankareSDKError } from "../models/errors/fankare-sdk-error.js";
15
+ import {
16
+ ConnectionError,
17
+ InvalidRequestError,
18
+ RequestAbortedError,
19
+ RequestTimeoutError,
20
+ UnexpectedClientError,
21
+ } from "../models/errors/http-client-errors.js";
22
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
23
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
24
+ import * as models from "../models/index.js";
25
+ import { APICall, APIPromise } from "../types/async.js";
26
+ import { Result } from "../types/fp.js";
27
+
28
+ /**
29
+ * Fetch active DM threads
30
+ */
31
+ export function directMessagingGetConversations(
32
+ client: FankareSDKCore,
33
+ options?: RequestOptions,
34
+ ): APIPromise<
35
+ Result<
36
+ Array<models.Conversation>,
37
+ | FankareSDKError
38
+ | ResponseValidationError
39
+ | ConnectionError
40
+ | RequestAbortedError
41
+ | RequestTimeoutError
42
+ | InvalidRequestError
43
+ | UnexpectedClientError
44
+ | SDKValidationError
45
+ >
46
+ > {
47
+ return new APIPromise($do(
48
+ client,
49
+ options,
50
+ ));
51
+ }
52
+
53
+ async function $do(
54
+ client: FankareSDKCore,
55
+ options?: RequestOptions,
56
+ ): Promise<
57
+ [
58
+ Result<
59
+ Array<models.Conversation>,
60
+ | FankareSDKError
61
+ | ResponseValidationError
62
+ | ConnectionError
63
+ | RequestAbortedError
64
+ | RequestTimeoutError
65
+ | InvalidRequestError
66
+ | UnexpectedClientError
67
+ | SDKValidationError
68
+ >,
69
+ APICall,
70
+ ]
71
+ > {
72
+ const path = pathToFunc("/messages/conversations")();
73
+
74
+ const headers = new Headers(compactMap({
75
+ Accept: "application/json",
76
+ }));
77
+
78
+ const secConfig = await extractSecurity(client._options.bearerAuth);
79
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
80
+ const requestSecurity = resolveGlobalSecurity(securityInput);
81
+
82
+ const context = {
83
+ options: client._options,
84
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
85
+ operationID: "getConversations",
86
+ oAuth2Scopes: null,
87
+
88
+ resolvedSecurity: requestSecurity,
89
+
90
+ securitySource: client._options.bearerAuth,
91
+ retryConfig: options?.retries
92
+ || client._options.retryConfig
93
+ || { strategy: "none" },
94
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
95
+ };
96
+
97
+ const requestRes = client._createRequest(context, {
98
+ security: requestSecurity,
99
+ method: "GET",
100
+ baseURL: options?.serverURL,
101
+ path: path,
102
+ headers: headers,
103
+ userAgent: client._options.userAgent,
104
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
105
+ }, options);
106
+ if (!requestRes.ok) {
107
+ return [requestRes, { status: "invalid" }];
108
+ }
109
+ const req = requestRes.value;
110
+
111
+ const doResult = await client._do(req, {
112
+ context,
113
+ isErrorStatusCode: (statusCode: number) =>
114
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
115
+ retryConfig: context.retryConfig,
116
+ retryCodes: context.retryCodes,
117
+ });
118
+ if (!doResult.ok) {
119
+ return [doResult, { status: "request-error", request: req }];
120
+ }
121
+ const response = doResult.value;
122
+
123
+ const [result] = await M.match<
124
+ Array<models.Conversation>,
125
+ | FankareSDKError
126
+ | ResponseValidationError
127
+ | ConnectionError
128
+ | RequestAbortedError
129
+ | RequestTimeoutError
130
+ | InvalidRequestError
131
+ | UnexpectedClientError
132
+ | SDKValidationError
133
+ >(
134
+ M.json(200, z.array(models.Conversation$inboundSchema)),
135
+ M.fail("4XX"),
136
+ M.fail("5XX"),
137
+ )(response, req);
138
+ if (!result.ok) {
139
+ return [result, { status: "complete", request: req, response }];
140
+ }
141
+
142
+ return [result, { status: "complete", request: req, response }];
143
+ }
@@ -0,0 +1,185 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: b913d374c9f8
4
+ */
5
+
6
+ import * as z from "zod/v4-mini";
7
+ import { FankareSDKCore } from "../core.js";
8
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
9
+ import { matchStatusCode } from "../lib/http.js";
10
+ import * as M from "../lib/matchers.js";
11
+ import { compactMap } from "../lib/primitives.js";
12
+ import { safeParse } from "../lib/schemas.js";
13
+ import { RequestOptions } from "../lib/sdks.js";
14
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
15
+ import { pathToFunc } from "../lib/url.js";
16
+ import { FankareSDKError } from "../models/errors/fankare-sdk-error.js";
17
+ import {
18
+ ConnectionError,
19
+ InvalidRequestError,
20
+ RequestAbortedError,
21
+ RequestTimeoutError,
22
+ UnexpectedClientError,
23
+ } from "../models/errors/http-client-errors.js";
24
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
25
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
26
+ import * as operations from "../models/operations/index.js";
27
+ import { APICall, APIPromise } from "../types/async.js";
28
+ import { Result } from "../types/fp.js";
29
+
30
+ /**
31
+ * Load message history with a specific user with pagination
32
+ */
33
+ export function directMessagingGetMessageHistory(
34
+ client: FankareSDKCore,
35
+ userId: number,
36
+ limit?: number | undefined,
37
+ cursor?: string | undefined,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ operations.GetMessageHistoryResponse,
42
+ | FankareSDKError
43
+ | ResponseValidationError
44
+ | ConnectionError
45
+ | RequestAbortedError
46
+ | RequestTimeoutError
47
+ | InvalidRequestError
48
+ | UnexpectedClientError
49
+ | SDKValidationError
50
+ >
51
+ > {
52
+ return new APIPromise($do(
53
+ client,
54
+ userId,
55
+ limit,
56
+ cursor,
57
+ options,
58
+ ));
59
+ }
60
+
61
+ async function $do(
62
+ client: FankareSDKCore,
63
+ userId: number,
64
+ limit?: number | undefined,
65
+ cursor?: string | undefined,
66
+ options?: RequestOptions,
67
+ ): Promise<
68
+ [
69
+ Result<
70
+ operations.GetMessageHistoryResponse,
71
+ | FankareSDKError
72
+ | ResponseValidationError
73
+ | ConnectionError
74
+ | RequestAbortedError
75
+ | RequestTimeoutError
76
+ | InvalidRequestError
77
+ | UnexpectedClientError
78
+ | SDKValidationError
79
+ >,
80
+ APICall,
81
+ ]
82
+ > {
83
+ const input: operations.GetMessageHistoryRequest = {
84
+ userId: userId,
85
+ limit: limit,
86
+ cursor: cursor,
87
+ };
88
+
89
+ const parsed = safeParse(
90
+ input,
91
+ (value) =>
92
+ z.parse(operations.GetMessageHistoryRequest$outboundSchema, value),
93
+ "Input validation failed",
94
+ );
95
+ if (!parsed.ok) {
96
+ return [parsed, { status: "invalid" }];
97
+ }
98
+ const payload = parsed.value;
99
+ const body = null;
100
+
101
+ const pathParams = {
102
+ userId: encodeSimple("userId", payload.userId, {
103
+ explode: false,
104
+ charEncoding: "percent",
105
+ }),
106
+ };
107
+ const path = pathToFunc("/messages/user/{userId}")(pathParams);
108
+
109
+ const query = encodeFormQuery({
110
+ "cursor": payload.cursor,
111
+ "limit": payload.limit,
112
+ });
113
+
114
+ const headers = new Headers(compactMap({
115
+ Accept: "application/json",
116
+ }));
117
+
118
+ const secConfig = await extractSecurity(client._options.bearerAuth);
119
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
120
+ const requestSecurity = resolveGlobalSecurity(securityInput);
121
+
122
+ const context = {
123
+ options: client._options,
124
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
125
+ operationID: "getMessageHistory",
126
+ oAuth2Scopes: null,
127
+
128
+ resolvedSecurity: requestSecurity,
129
+
130
+ securitySource: client._options.bearerAuth,
131
+ retryConfig: options?.retries
132
+ || client._options.retryConfig
133
+ || { strategy: "none" },
134
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
135
+ };
136
+
137
+ const requestRes = client._createRequest(context, {
138
+ security: requestSecurity,
139
+ method: "GET",
140
+ baseURL: options?.serverURL,
141
+ path: path,
142
+ headers: headers,
143
+ query: query,
144
+ body: body,
145
+ userAgent: client._options.userAgent,
146
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
147
+ }, options);
148
+ if (!requestRes.ok) {
149
+ return [requestRes, { status: "invalid" }];
150
+ }
151
+ const req = requestRes.value;
152
+
153
+ const doResult = await client._do(req, {
154
+ context,
155
+ isErrorStatusCode: (statusCode: number) =>
156
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
157
+ retryConfig: context.retryConfig,
158
+ retryCodes: context.retryCodes,
159
+ });
160
+ if (!doResult.ok) {
161
+ return [doResult, { status: "request-error", request: req }];
162
+ }
163
+ const response = doResult.value;
164
+
165
+ const [result] = await M.match<
166
+ operations.GetMessageHistoryResponse,
167
+ | FankareSDKError
168
+ | ResponseValidationError
169
+ | ConnectionError
170
+ | RequestAbortedError
171
+ | RequestTimeoutError
172
+ | InvalidRequestError
173
+ | UnexpectedClientError
174
+ | SDKValidationError
175
+ >(
176
+ M.json(200, operations.GetMessageHistoryResponse$inboundSchema),
177
+ M.fail("4XX"),
178
+ M.fail("5XX"),
179
+ )(response, req);
180
+ if (!result.ok) {
181
+ return [result, { status: "complete", request: req, response }];
182
+ }
183
+
184
+ return [result, { status: "complete", request: req, response }];
185
+ }
@@ -0,0 +1,176 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 6d5087554d09
4
+ */
5
+
6
+ import * as z from "zod/v4-mini";
7
+ import { FankareSDKCore } from "../core.js";
8
+ import { encodeJSON, encodeSimple } from "../lib/encodings.js";
9
+ import { matchStatusCode } from "../lib/http.js";
10
+ import * as M from "../lib/matchers.js";
11
+ import { compactMap } from "../lib/primitives.js";
12
+ import { safeParse } from "../lib/schemas.js";
13
+ import { RequestOptions } from "../lib/sdks.js";
14
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
15
+ import { pathToFunc } from "../lib/url.js";
16
+ import { FankareSDKError } from "../models/errors/fankare-sdk-error.js";
17
+ import {
18
+ ConnectionError,
19
+ InvalidRequestError,
20
+ RequestAbortedError,
21
+ RequestTimeoutError,
22
+ UnexpectedClientError,
23
+ } from "../models/errors/http-client-errors.js";
24
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
25
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
26
+ import * as models from "../models/index.js";
27
+ import * as operations from "../models/operations/index.js";
28
+ import { APICall, APIPromise } from "../types/async.js";
29
+ import { Result } from "../types/fp.js";
30
+
31
+ /**
32
+ * Send a direct text message
33
+ */
34
+ export function directMessagingSendMessage(
35
+ client: FankareSDKCore,
36
+ userId: number,
37
+ body: models.SendMessageRequest,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ models.Message,
42
+ | FankareSDKError
43
+ | ResponseValidationError
44
+ | ConnectionError
45
+ | RequestAbortedError
46
+ | RequestTimeoutError
47
+ | InvalidRequestError
48
+ | UnexpectedClientError
49
+ | SDKValidationError
50
+ >
51
+ > {
52
+ return new APIPromise($do(
53
+ client,
54
+ userId,
55
+ body,
56
+ options,
57
+ ));
58
+ }
59
+
60
+ async function $do(
61
+ client: FankareSDKCore,
62
+ userId: number,
63
+ body: models.SendMessageRequest,
64
+ options?: RequestOptions,
65
+ ): Promise<
66
+ [
67
+ Result<
68
+ models.Message,
69
+ | FankareSDKError
70
+ | ResponseValidationError
71
+ | ConnectionError
72
+ | RequestAbortedError
73
+ | RequestTimeoutError
74
+ | InvalidRequestError
75
+ | UnexpectedClientError
76
+ | SDKValidationError
77
+ >,
78
+ APICall,
79
+ ]
80
+ > {
81
+ const input: operations.SendMessageRequest = {
82
+ userId: userId,
83
+ body: body,
84
+ };
85
+
86
+ const parsed = safeParse(
87
+ input,
88
+ (value) => z.parse(operations.SendMessageRequest$outboundSchema, value),
89
+ "Input validation failed",
90
+ );
91
+ if (!parsed.ok) {
92
+ return [parsed, { status: "invalid" }];
93
+ }
94
+ const payload = parsed.value;
95
+ const body$ = encodeJSON("body", payload.body, { explode: true });
96
+
97
+ const pathParams = {
98
+ userId: encodeSimple("userId", payload.userId, {
99
+ explode: false,
100
+ charEncoding: "percent",
101
+ }),
102
+ };
103
+ const path = pathToFunc("/messages/user/{userId}")(pathParams);
104
+
105
+ const headers = new Headers(compactMap({
106
+ "Content-Type": "application/json",
107
+ Accept: "application/json",
108
+ }));
109
+
110
+ const secConfig = await extractSecurity(client._options.bearerAuth);
111
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
112
+ const requestSecurity = resolveGlobalSecurity(securityInput);
113
+
114
+ const context = {
115
+ options: client._options,
116
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
117
+ operationID: "sendMessage",
118
+ oAuth2Scopes: null,
119
+
120
+ resolvedSecurity: requestSecurity,
121
+
122
+ securitySource: client._options.bearerAuth,
123
+ retryConfig: options?.retries
124
+ || client._options.retryConfig
125
+ || { strategy: "none" },
126
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
127
+ };
128
+
129
+ const requestRes = client._createRequest(context, {
130
+ security: requestSecurity,
131
+ method: "POST",
132
+ baseURL: options?.serverURL,
133
+ path: path,
134
+ headers: headers,
135
+ body: body$,
136
+ userAgent: client._options.userAgent,
137
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
138
+ }, options);
139
+ if (!requestRes.ok) {
140
+ return [requestRes, { status: "invalid" }];
141
+ }
142
+ const req = requestRes.value;
143
+
144
+ const doResult = await client._do(req, {
145
+ context,
146
+ isErrorStatusCode: (statusCode: number) =>
147
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
148
+ retryConfig: context.retryConfig,
149
+ retryCodes: context.retryCodes,
150
+ });
151
+ if (!doResult.ok) {
152
+ return [doResult, { status: "request-error", request: req }];
153
+ }
154
+ const response = doResult.value;
155
+
156
+ const [result] = await M.match<
157
+ models.Message,
158
+ | FankareSDKError
159
+ | ResponseValidationError
160
+ | ConnectionError
161
+ | RequestAbortedError
162
+ | RequestTimeoutError
163
+ | InvalidRequestError
164
+ | UnexpectedClientError
165
+ | SDKValidationError
166
+ >(
167
+ M.json(201, models.Message$inboundSchema),
168
+ M.fail("4XX"),
169
+ M.fail("5XX"),
170
+ )(response, req);
171
+ if (!result.ok) {
172
+ return [result, { status: "complete", request: req, response }];
173
+ }
174
+
175
+ return [result, { status: "complete", request: req, response }];
176
+ }
@@ -1,5 +1,6 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 7f65f72c6a02
3
4
  */
4
5
 
5
6
  import * as z from "zod/v4-mini";
@@ -28,10 +29,7 @@ import { APICall, APIPromise } from "../types/async.js";
28
29
  import { Result } from "../types/fp.js";
29
30
 
30
31
  /**
31
- * Create a placeholder post meta and request an upload slot
32
- *
33
- * @remarks
34
- * Returns a destination URL to upload the raw multimedia asset directly to SeaweedFS via presigned routing.
32
+ * Create a post blueprint requesting batch upload slots
35
33
  */
36
34
  export function postsCreatePost(
37
35
  client: FankareSDKCore,
@@ -153,7 +151,7 @@ async function $do(
153
151
  | SDKValidationError
154
152
  >(
155
153
  M.json(202, operations.CreatePostResponse$inboundSchema),
156
- M.fail([401, "4XX"]),
154
+ M.fail("4XX"),
157
155
  M.fail("5XX"),
158
156
  )(response, req);
159
157
  if (!result.ok) {