influship 0.2.0 → 0.3.2

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 (262) hide show
  1. package/CHANGELOG.md +62 -30
  2. package/LICENSE +1 -1
  3. package/README.md +88 -43
  4. package/client.d.mts +49 -29
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +49 -29
  7. package/client.d.ts.map +1 -1
  8. package/client.js +89 -56
  9. package/client.js.map +1 -1
  10. package/client.mjs +89 -56
  11. package/client.mjs.map +1 -1
  12. package/core/api-promise.d.mts +2 -2
  13. package/core/api-promise.d.mts.map +1 -1
  14. package/core/api-promise.d.ts +2 -2
  15. package/core/api-promise.d.ts.map +1 -1
  16. package/core/api-promise.js.map +1 -1
  17. package/core/api-promise.mjs.map +1 -1
  18. package/core/error.d.mts +2 -2
  19. package/core/error.d.mts.map +1 -1
  20. package/core/error.d.ts +2 -2
  21. package/core/error.d.ts.map +1 -1
  22. package/core/error.js +4 -4
  23. package/core/error.js.map +1 -1
  24. package/core/error.mjs +2 -2
  25. package/core/error.mjs.map +1 -1
  26. package/core/pagination.d.mts +75 -0
  27. package/core/pagination.d.mts.map +1 -0
  28. package/core/pagination.d.ts +75 -0
  29. package/core/pagination.d.ts.map +1 -0
  30. package/core/pagination.js +139 -0
  31. package/core/pagination.js.map +1 -0
  32. package/core/pagination.mjs +132 -0
  33. package/core/pagination.mjs.map +1 -0
  34. package/core/resource.d.mts +3 -3
  35. package/core/resource.d.mts.map +1 -1
  36. package/core/resource.d.ts +3 -3
  37. package/core/resource.d.ts.map +1 -1
  38. package/core/resource.js.map +1 -1
  39. package/core/resource.mjs.map +1 -1
  40. package/index.d.mts +4 -3
  41. package/index.d.mts.map +1 -1
  42. package/index.d.ts +4 -3
  43. package/index.d.ts.map +1 -1
  44. package/index.js +6 -4
  45. package/index.js.map +1 -1
  46. package/index.mjs +4 -3
  47. package/index.mjs.map +1 -1
  48. package/internal/parse.d.mts +2 -2
  49. package/internal/parse.d.mts.map +1 -1
  50. package/internal/parse.d.ts +2 -2
  51. package/internal/parse.d.ts.map +1 -1
  52. package/internal/parse.js +5 -0
  53. package/internal/parse.js.map +1 -1
  54. package/internal/parse.mjs +5 -0
  55. package/internal/parse.mjs.map +1 -1
  56. package/internal/shims.js +1 -1
  57. package/internal/shims.js.map +1 -1
  58. package/internal/shims.mjs +1 -1
  59. package/internal/shims.mjs.map +1 -1
  60. package/internal/tslib.js +17 -17
  61. package/internal/uploads.d.mts +4 -4
  62. package/internal/uploads.d.mts.map +1 -1
  63. package/internal/uploads.d.ts +4 -4
  64. package/internal/uploads.d.ts.map +1 -1
  65. package/internal/uploads.js.map +1 -1
  66. package/internal/uploads.mjs.map +1 -1
  67. package/internal/utils/base64.js +2 -2
  68. package/internal/utils/base64.js.map +1 -1
  69. package/internal/utils/base64.mjs +3 -3
  70. package/internal/utils/base64.mjs.map +1 -1
  71. package/internal/utils/log.d.mts +3 -3
  72. package/internal/utils/log.d.mts.map +1 -1
  73. package/internal/utils/log.d.ts +3 -3
  74. package/internal/utils/log.d.ts.map +1 -1
  75. package/internal/utils/log.js.map +1 -1
  76. package/internal/utils/log.mjs.map +1 -1
  77. package/internal/utils/path.js +1 -1
  78. package/internal/utils/path.js.map +1 -1
  79. package/internal/utils/path.mjs +2 -2
  80. package/internal/utils/path.mjs.map +1 -1
  81. package/internal/utils/query.d.mts +2 -0
  82. package/internal/utils/query.d.mts.map +1 -0
  83. package/internal/utils/query.d.ts +2 -0
  84. package/internal/utils/query.d.ts.map +1 -0
  85. package/internal/utils/query.js +10 -0
  86. package/internal/utils/query.js.map +1 -0
  87. package/internal/utils/query.mjs +6 -0
  88. package/internal/utils/query.mjs.map +1 -0
  89. package/internal/utils/values.js +5 -5
  90. package/internal/utils/values.js.map +1 -1
  91. package/internal/utils/values.mjs +6 -6
  92. package/internal/utils/values.mjs.map +1 -1
  93. package/internal/utils.d.mts +1 -0
  94. package/internal/utils.d.ts +1 -0
  95. package/internal/utils.js +1 -0
  96. package/internal/utils.js.map +1 -1
  97. package/internal/utils.mjs +1 -0
  98. package/package.json +24 -3
  99. package/pagination.d.mts +2 -0
  100. package/pagination.d.mts.map +1 -0
  101. package/pagination.d.ts +2 -0
  102. package/pagination.d.ts.map +1 -0
  103. package/pagination.js +6 -0
  104. package/pagination.js.map +1 -0
  105. package/pagination.mjs +2 -0
  106. package/pagination.mjs.map +1 -0
  107. package/resources/creators.d.mts +326 -247
  108. package/resources/creators.d.mts.map +1 -1
  109. package/resources/creators.d.ts +326 -247
  110. package/resources/creators.d.ts.map +1 -1
  111. package/resources/creators.js +80 -63
  112. package/resources/creators.js.map +1 -1
  113. package/resources/creators.mjs +80 -63
  114. package/resources/creators.mjs.map +1 -1
  115. package/resources/health.d.mts +13 -1
  116. package/resources/health.d.mts.map +1 -1
  117. package/resources/health.d.ts +13 -1
  118. package/resources/health.d.ts.map +1 -1
  119. package/resources/health.js +4 -1
  120. package/resources/health.js.map +1 -1
  121. package/resources/health.mjs +4 -1
  122. package/resources/health.mjs.map +1 -1
  123. package/resources/index.d.mts +6 -7
  124. package/resources/index.d.mts.map +1 -1
  125. package/resources/index.d.ts +6 -7
  126. package/resources/index.d.ts.map +1 -1
  127. package/resources/index.js +5 -7
  128. package/resources/index.js.map +1 -1
  129. package/resources/index.mjs +2 -3
  130. package/resources/index.mjs.map +1 -1
  131. package/resources/posts.d.mts +82 -202
  132. package/resources/posts.d.mts.map +1 -1
  133. package/resources/posts.d.ts +82 -202
  134. package/resources/posts.d.ts.map +1 -1
  135. package/resources/posts.js +17 -38
  136. package/resources/posts.js.map +1 -1
  137. package/resources/posts.mjs +17 -38
  138. package/resources/posts.mjs.map +1 -1
  139. package/resources/profiles.d.mts +208 -58
  140. package/resources/profiles.d.mts.map +1 -1
  141. package/resources/profiles.d.ts +208 -58
  142. package/resources/profiles.d.ts.map +1 -1
  143. package/resources/profiles.js +37 -41
  144. package/resources/profiles.js.map +1 -1
  145. package/resources/profiles.mjs +37 -41
  146. package/resources/profiles.mjs.map +1 -1
  147. package/resources/raw/index.d.mts +4 -0
  148. package/resources/raw/index.d.mts.map +1 -0
  149. package/resources/raw/index.d.ts +4 -0
  150. package/resources/raw/index.d.ts.map +1 -0
  151. package/resources/raw/index.js +11 -0
  152. package/resources/raw/index.js.map +1 -0
  153. package/resources/raw/index.mjs +5 -0
  154. package/resources/raw/index.mjs.map +1 -0
  155. package/resources/raw/instagram.d.mts +215 -0
  156. package/resources/raw/instagram.d.mts.map +1 -0
  157. package/resources/raw/instagram.d.ts +215 -0
  158. package/resources/raw/instagram.d.ts.map +1 -0
  159. package/resources/raw/instagram.js +31 -0
  160. package/resources/raw/instagram.js.map +1 -0
  161. package/resources/raw/instagram.mjs +27 -0
  162. package/resources/raw/instagram.mjs.map +1 -0
  163. package/resources/raw/raw.d.mts +14 -0
  164. package/resources/raw/raw.d.mts.map +1 -0
  165. package/resources/raw/raw.d.ts +14 -0
  166. package/resources/raw/raw.d.ts.map +1 -0
  167. package/resources/raw/raw.js +21 -0
  168. package/resources/raw/raw.js.map +1 -0
  169. package/resources/raw/raw.mjs +16 -0
  170. package/resources/raw/raw.mjs.map +1 -0
  171. package/resources/raw/youtube.d.mts +455 -0
  172. package/resources/raw/youtube.d.mts.map +1 -0
  173. package/resources/raw/youtube.d.ts +455 -0
  174. package/resources/raw/youtube.d.ts.map +1 -0
  175. package/resources/raw/youtube.js +61 -0
  176. package/resources/raw/youtube.js.map +1 -0
  177. package/resources/raw/youtube.mjs +57 -0
  178. package/resources/raw/youtube.mjs.map +1 -0
  179. package/resources/raw.d.mts +2 -0
  180. package/resources/raw.d.mts.map +1 -0
  181. package/resources/raw.d.ts +2 -0
  182. package/resources/raw.d.ts.map +1 -0
  183. package/resources/raw.js +6 -0
  184. package/resources/raw.js.map +1 -0
  185. package/resources/raw.mjs +3 -0
  186. package/resources/raw.mjs.map +1 -0
  187. package/resources/search.d.mts +126 -117
  188. package/resources/search.d.mts.map +1 -1
  189. package/resources/search.d.ts +126 -117
  190. package/resources/search.d.ts.map +1 -1
  191. package/resources/search.js +46 -13
  192. package/resources/search.js.map +1 -1
  193. package/resources/search.mjs +46 -13
  194. package/resources/search.mjs.map +1 -1
  195. package/resources/shared.d.mts +55 -0
  196. package/resources/shared.d.mts.map +1 -0
  197. package/resources/shared.d.ts +55 -0
  198. package/resources/shared.d.ts.map +1 -0
  199. package/resources/shared.js +4 -0
  200. package/resources/shared.js.map +1 -0
  201. package/resources/shared.mjs +3 -0
  202. package/resources/shared.mjs.map +1 -0
  203. package/src/client.ts +153 -127
  204. package/src/core/api-promise.ts +4 -4
  205. package/src/core/error.ts +2 -2
  206. package/src/core/pagination.ts +232 -0
  207. package/src/core/resource.ts +3 -3
  208. package/src/index.ts +4 -3
  209. package/src/internal/parse.ts +8 -2
  210. package/src/internal/shims.ts +1 -1
  211. package/src/internal/uploads.ts +5 -5
  212. package/src/internal/utils/base64.ts +3 -3
  213. package/src/internal/utils/log.ts +3 -3
  214. package/src/internal/utils/path.ts +2 -2
  215. package/src/internal/utils/query.ts +7 -0
  216. package/src/internal/utils/values.ts +6 -6
  217. package/src/internal/utils.ts +1 -0
  218. package/src/pagination.ts +2 -0
  219. package/src/resources/creators.ts +369 -271
  220. package/src/resources/health.ts +13 -1
  221. package/src/resources/index.ts +22 -41
  222. package/src/resources/posts.ts +89 -232
  223. package/src/resources/profiles.ts +252 -59
  224. package/src/resources/raw/index.ts +16 -0
  225. package/src/resources/raw/instagram.ts +271 -0
  226. package/src/resources/raw/raw.ts +47 -0
  227. package/src/resources/raw/youtube.ts +585 -0
  228. package/src/resources/raw.ts +3 -0
  229. package/src/resources/search.ts +145 -131
  230. package/src/resources/shared.ts +66 -0
  231. package/src/version.ts +1 -1
  232. package/version.d.mts +1 -1
  233. package/version.d.ts +1 -1
  234. package/version.js +1 -1
  235. package/version.mjs +1 -1
  236. package/resources/brand-safety.d.mts +0 -234
  237. package/resources/brand-safety.d.mts.map +0 -1
  238. package/resources/brand-safety.d.ts +0 -234
  239. package/resources/brand-safety.d.ts.map +0 -1
  240. package/resources/brand-safety.js +0 -75
  241. package/resources/brand-safety.js.map +0 -1
  242. package/resources/brand-safety.mjs +0 -71
  243. package/resources/brand-safety.mjs.map +0 -1
  244. package/resources/lookalike.d.mts +0 -142
  245. package/resources/lookalike.d.mts.map +0 -1
  246. package/resources/lookalike.d.ts +0 -142
  247. package/resources/lookalike.d.ts.map +0 -1
  248. package/resources/lookalike.js +0 -28
  249. package/resources/lookalike.js.map +0 -1
  250. package/resources/lookalike.mjs +0 -24
  251. package/resources/lookalike.mjs.map +0 -1
  252. package/resources/match.d.mts +0 -90
  253. package/resources/match.d.mts.map +0 -1
  254. package/resources/match.d.ts +0 -90
  255. package/resources/match.d.ts.map +0 -1
  256. package/resources/match.js +0 -22
  257. package/resources/match.js.map +0 -1
  258. package/resources/match.mjs +0 -18
  259. package/resources/match.mjs.map +0 -1
  260. package/src/resources/brand-safety.ts +0 -304
  261. package/src/resources/lookalike.ts +0 -186
  262. package/src/resources/match.ts +0 -115
package/CHANGELOG.md CHANGED
@@ -1,51 +1,83 @@
1
1
  # Changelog
2
2
 
3
- ## 0.2.0 (2026-02-19)
3
+ ## 0.3.2 (2026-03-17)
4
4
 
5
- Full Changelog: [v0.1.0...v0.2.0](https://github.com/Influship/influship-sdk-typescript/compare/v0.1.0...v0.2.0)
5
+ Full Changelog: [v0.3.1...v0.3.2](https://github.com/Influship/influship-sdk-typescript/compare/v0.3.1...v0.3.2)
6
+
7
+ ### Chores
8
+
9
+ * **internal:** bump @modelcontextprotocol/sdk, @hono/node-server, and minimatch ([f982b62](https://github.com/Influship/influship-sdk-typescript/commit/f982b629275ba9ce6abd60ae9c9cb59e420755df))
10
+ * **internal:** configure MCP Server hosting ([46301f2](https://github.com/Influship/influship-sdk-typescript/commit/46301f201ba7f4b3c4173855c94f1c1aac1b043e))
11
+ * **internal:** make generated MCP servers compatible with Cloudflare worker environments ([fa720e6](https://github.com/Influship/influship-sdk-typescript/commit/fa720e63ebd09acf1127187623c4878b5ac94c1a))
12
+ * **internal:** support x-stainless-mcp-client-envs header in MCP servers ([e1812ff](https://github.com/Influship/influship-sdk-typescript/commit/e1812ff4868670826e684df0de46f7f791fc7c15))
13
+ * **internal:** support x-stainless-mcp-client-permissions headers in MCP servers ([2f71ccb](https://github.com/Influship/influship-sdk-typescript/commit/2f71ccb14971aa9ae2d09947a17523208e35b204))
14
+ * **internal:** tweak CI branches ([4e88652](https://github.com/Influship/influship-sdk-typescript/commit/4e886528b68bcbd8d321b6c12d683b4505f3742f))
15
+ * **internal:** update dependencies to address dependabot vulnerabilities ([16eae9a](https://github.com/Influship/influship-sdk-typescript/commit/16eae9a35d3f52ac0859aebac65e31e854856ea0))
16
+
17
+ ## 0.3.1 (2026-03-08)
18
+
19
+ Full Changelog: [v0.3.0...v0.3.1](https://github.com/Influship/influship-sdk-typescript/compare/v0.3.0...v0.3.1)
20
+
21
+ ### Chores
22
+
23
+ * update SDK settings ([8ae1e31](https://github.com/Influship/influship-sdk-typescript/commit/8ae1e319214344034e19b3cc79d21f53e2bce1b5))
24
+
25
+ ## 0.3.0 (2026-03-08)
26
+
27
+ Full Changelog: [v0.2.0...v0.3.0](https://github.com/Influship/influship-sdk-typescript/compare/v0.2.0...v0.3.0)
6
28
 
7
29
  ### Features
8
30
 
9
- * **api:** api update ([a49cb5f](https://github.com/Influship/influship-sdk-typescript/commit/a49cb5fee240dd3ea7f3bf9814a7064db8625c14))
10
- * **api:** api update ([4658c1c](https://github.com/Influship/influship-sdk-typescript/commit/4658c1ca50137634b0e158ea06280a3a698d85f9))
11
- * **api:** api update ([4e2402b](https://github.com/Influship/influship-sdk-typescript/commit/4e2402bbb071a8f2bfe871605d8a4da572b202f2))
12
- * **api:** api update ([3b98730](https://github.com/Influship/influship-sdk-typescript/commit/3b987303e999acb82e0f70c8410b1b7cf7781d8b))
13
- * **api:** change env var used for api key ([6415c9b](https://github.com/Influship/influship-sdk-typescript/commit/6415c9be86ac1d3328cc3cf5c7e2475a38f833a3))
14
- * **mcp:** add detail field to docs search tool ([1706123](https://github.com/Influship/influship-sdk-typescript/commit/170612335b707eb1450898e6eb24e3519dbbb75b))
15
- * **mcp:** enable optional code execution tool on http mcp servers ([f14531d](https://github.com/Influship/influship-sdk-typescript/commit/f14531d86d9f44d028306781d2d85853c1187ff8))
16
- * **mcp:** return logs on code tool errors ([04cf723](https://github.com/Influship/influship-sdk-typescript/commit/04cf7236eb572bf866b79c2544b0d1831f7fb071))
31
+ * **api:** add pagination to creators lookalike method ([a6d63b7](https://github.com/Influship/influship-sdk-typescript/commit/a6d63b7eeb7474f56bdeeed3a8d4d98e1eeb0833))
32
+ * **api:** add search_id/total fields, remove cursor param from search ([2a276d0](https://github.com/Influship/influship-sdk-typescript/commit/2a276d03055bc939516505912d4b37e3f1308c08))
33
+ * Fix Stainless pagination and model warnings in SDK config ([98a9e10](https://github.com/Influship/influship-sdk-typescript/commit/98a9e1053b42e5c8ce3b1c1da227c5bc8f17fd31))
34
+ * **mcp:** add an option to disable code tool ([a49e2c9](https://github.com/Influship/influship-sdk-typescript/commit/a49e2c9b1bda3d73dd4b163f687a5206d1da783d))
17
35
 
18
36
 
19
37
  ### Bug Fixes
20
38
 
21
- * **mcpb:** pin @anthropic-ai/mcpb version ([8ac350d](https://github.com/Influship/influship-sdk-typescript/commit/8ac350d1b40737c157c45ba835f549379e8c3a8c))
22
- * **mcp:** return tool execution error on api error ([5664e16](https://github.com/Influship/influship-sdk-typescript/commit/5664e167e31931617d92e71be7ca1dadfc7f899a))
23
- * **mcp:** return tool execution error on jq failure ([8a66c5b](https://github.com/Influship/influship-sdk-typescript/commit/8a66c5b323c7be4307140c1907cd4d9e1efeae87))
39
+ * **client:** preserve URL params already embedded in path ([47c7a8c](https://github.com/Influship/influship-sdk-typescript/commit/47c7a8c32245d52f9e92c1cdfeaf9a8a0d7aec94))
40
+ * **mcp:** update prompt ([1cce5e6](https://github.com/Influship/influship-sdk-typescript/commit/1cce5e6caaa1ae512c9348b3fd61263940e598bc))
24
41
 
25
42
 
26
43
  ### Chores
27
44
 
28
- * **client:** fix logger property type ([d807acb](https://github.com/Influship/influship-sdk-typescript/commit/d807acb7f411d4c080cd062882814748482a62a4))
29
- * extract some types in mcp docs ([7b3796f](https://github.com/Influship/influship-sdk-typescript/commit/7b3796fa96194d39ad55363e5e547150dc99f838))
30
- * **internal:** codegen related update ([2b09b47](https://github.com/Influship/influship-sdk-typescript/commit/2b09b474fb96cd817d82ec6e38b9b0f6f75a8982))
31
- * **internal:** codegen related update ([11b11cf](https://github.com/Influship/influship-sdk-typescript/commit/11b11cf415baebe3f68edfbe2b1706008e4099f0))
32
- * **internal:** grammar fix (it's -> its) ([39d9ad6](https://github.com/Influship/influship-sdk-typescript/commit/39d9ad688d994194971505c0a28ef127edcfb652))
33
- * **internal:** use npm pack for build uploads ([18bdd5e](https://github.com/Influship/influship-sdk-typescript/commit/18bdd5e8203b7f93c9f3dcc8a6fa70c12e2b86ea))
34
- * **jsdoc:** fix [@link](https://github.com/link) annotations to refer only to parts of the package‘s public interface ([37bc2ab](https://github.com/Influship/influship-sdk-typescript/commit/37bc2ab667a38c23523e82dbbda5037ef2855d66))
35
- * mcp code tool explicit error message when missing a run function ([93acb6a](https://github.com/Influship/influship-sdk-typescript/commit/93acb6a0efbbdbe9b8180f336d6ce18e30fef2d3))
36
- * **mcp:** add friendlier MCP code tool errors on incorrect method invocations ([034b2fe](https://github.com/Influship/influship-sdk-typescript/commit/034b2fe2b8f6a83dbcf3da06b91452e344d68149))
37
- * **mcp:** add line numbers to code tool errors ([1be7e68](https://github.com/Influship/influship-sdk-typescript/commit/1be7e688720e306d880559ee5fa8e804b0f50d8e))
38
- * **mcp:** clarify http auth error ([f700ede](https://github.com/Influship/influship-sdk-typescript/commit/f700ede563243911fab246a56cf8afdf08f89835))
39
- * **mcp:** upgrade jq-web ([a08153b](https://github.com/Influship/influship-sdk-typescript/commit/a08153b739fe678a72ebeebb7ae629cffa74ad5a))
40
- * remove custom code ([412eae4](https://github.com/Influship/influship-sdk-typescript/commit/412eae497dcbc2a287fcd8cde8aa69e5df55968b))
41
- * update SDK settings ([4236774](https://github.com/Influship/influship-sdk-typescript/commit/4236774feb1073c924e40fa22679a2bf24baa66b))
42
- * use structured error when code execution tool errors ([1eab7ff](https://github.com/Influship/influship-sdk-typescript/commit/1eab7ff78609ba799583c0a6698b1ba2c7e076a7))
45
+ * **ci:** skip uploading artifacts on stainless-internal branches ([a9b3ff7](https://github.com/Influship/influship-sdk-typescript/commit/a9b3ff7f05f6918eb76782a20dacff023822865c))
46
+ * **internal:** codegen related update ([a59d8ea](https://github.com/Influship/influship-sdk-typescript/commit/a59d8eab8c50a870eda2b1a4689960185fb1b582))
47
+ * **internal:** codegen related update ([198c7c3](https://github.com/Influship/influship-sdk-typescript/commit/198c7c3b741b8cb8fa2a11d7675e5eefe03e201d))
48
+ * **internal:** fix MCP Dockerfiles so they can be built without buildkit ([75a1b54](https://github.com/Influship/influship-sdk-typescript/commit/75a1b54d19e9e9e45aca756f67ab36843286d333))
49
+ * **internal:** fix MCP Dockerfiles so they can be built without buildkit ([c6a3043](https://github.com/Influship/influship-sdk-typescript/commit/c6a304380afa2e0d55b6c9db422c32b0474af626))
50
+ * **internal:** make MCP code execution location configurable via a flag ([b29bcf7](https://github.com/Influship/influship-sdk-typescript/commit/b29bcf775bd898322576430c8db485859b910d82))
51
+ * **internal:** move stringifyQuery implementation to internal function ([f13b42b](https://github.com/Influship/influship-sdk-typescript/commit/f13b42bdb740ed1bb1a13f2042f633d87c757c7b))
52
+ * **internal:** use x-stainless-mcp-client-envs header for MCP remote code tool calls ([b77057e](https://github.com/Influship/influship-sdk-typescript/commit/b77057e7d4371ea74c8638420950efac0ff4a44c))
53
+ * **mcp-server:** improve instructions ([48ab5b4](https://github.com/Influship/influship-sdk-typescript/commit/48ab5b423a0f8d23182afefcbab9c2da3addf0d4))
54
+ * **mcp-server:** return access instructions for 404 without API key ([8257c18](https://github.com/Influship/influship-sdk-typescript/commit/8257c18800bb3e656fe34dfe4a696cb16a0a211d))
43
55
 
44
56
 
45
57
  ### Documentation
46
58
 
47
- * **mcp:** add a README button for one-click add to Cursor ([90bd7d7](https://github.com/Influship/influship-sdk-typescript/commit/90bd7d71389bec303dff16e4e146025b014df934))
48
- * **mcp:** add a README link to add server to VS Code or Claude Code ([c7719e3](https://github.com/Influship/influship-sdk-typescript/commit/c7719e3dddbc374f045da63592863656c65f6946))
59
+ * **api:** correct pricing comment in youtube.getChannel ([2997b86](https://github.com/Influship/influship-sdk-typescript/commit/2997b86c594545a67d6c4836bab2251ad5f00449))
60
+ * **api:** update pricing information ([331d003](https://github.com/Influship/influship-sdk-typescript/commit/331d0035f13f16cf65daf4525a3ebdf3f89810fd))
61
+
62
+ ## 0.2.0 (2026-02-24)
63
+
64
+ Full Changelog: [v0.1.0...v0.2.0](https://github.com/influship/influship-sdk-typescript/compare/v0.1.0...v0.2.0)
65
+
66
+ ### Features
67
+
68
+ * **api:** add instagram getProfile and youtube channel/transcript/search to raw ([abf8573](https://github.com/influship/influship-sdk-typescript/commit/abf85734a59c59b73c50f1541661bea8ecddc691))
69
+
70
+
71
+ ### Bug Fixes
72
+
73
+ * **docs/contributing:** correct pnpm link command ([c9409a6](https://github.com/influship/influship-sdk-typescript/commit/c9409a628bc918216cbb28d4e43e5cbd540b9274))
74
+
75
+
76
+ ### Chores
77
+
78
+ * **internal:** update repository references from inf-labs to influship ([375ee35](https://github.com/influship/influship-sdk-typescript/commit/375ee355691fcdc79aaa13d1648a73e6709f1634))
79
+ * **internal:** upgrade @modelcontextprotocol/sdk and hono ([2ffda1c](https://github.com/influship/influship-sdk-typescript/commit/2ffda1c7c32f8843f5cf03ba1cb97436b9d7b6a7))
80
+ * sync repo ([dab28ce](https://github.com/influship/influship-sdk-typescript/commit/dab28ce90d232523e49d57fdc94b6503efad30a4))
49
81
 
50
82
  ## 0.1.0 (2025-10-01)
51
83
 
package/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2025 Influship API
189
+ Copyright 2026 Influship
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -1,13 +1,22 @@
1
- # Influship API TypeScript API Library
1
+ # Influship TypeScript API Library
2
2
 
3
3
  [![NPM version](<https://img.shields.io/npm/v/influship.svg?label=npm%20(stable)>)](https://npmjs.org/package/influship) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/influship)
4
4
 
5
- This library provides convenient access to the Influship API REST API from server-side TypeScript or JavaScript.
5
+ This library provides convenient access to the Influship REST API from server-side TypeScript or JavaScript.
6
6
 
7
- The REST API documentation can be found on [docs.influship.com](https://docs.influship.com). The full API of this library can be found in [api.md](api.md).
7
+ The REST API documentation can be found on [influship.mintlify.app](https://influship.mintlify.app). The full API of this library can be found in [api.md](api.md).
8
8
 
9
9
  It is generated with [Stainless](https://www.stainless.com/).
10
10
 
11
+ ## MCP Server
12
+
13
+ Use the Influship MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
14
+
15
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=influship-mcp&config=eyJuYW1lIjoiaW5mbHVzaGlwLW1jcCIsInRyYW5zcG9ydCI6Imh0dHAiLCJ1cmwiOiJodHRwczovL2luZmx1c2hpcC1hcGkuc3RsbWNwLmNvbSIsImhlYWRlcnMiOnsiWC1BUEktS2V5IjoiTXkgQVBJIEtleSJ9fQ)
16
+ [![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22influship-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Finfluship-api.stlmcp.com%22%2C%22headers%22%3A%7B%22X-API-Key%22%3A%22My%20API%20Key%22%7D%7D)
17
+
18
+ > Note: You may need to set environment variables in your MCP client.
19
+
11
20
  ## Installation
12
21
 
13
22
  ```sh
@@ -20,19 +29,18 @@ The full API of this library can be found in [api.md](api.md).
20
29
 
21
30
  <!-- prettier-ignore -->
22
31
  ```js
23
- import InflushipAPI from 'influship';
32
+ import Influship from 'influship';
24
33
 
25
- const client = new InflushipAPI({
34
+ const client = new Influship({
26
35
  apiKey: process.env['INFLUSHIP_API_KEY'], // This is the default and can be omitted
27
36
  });
28
37
 
29
- const response = await client.search.findCreators({
30
- query: 'fitness influencers in Los Angeles',
31
- limit: 10,
32
- mode: 'detailed',
38
+ const search = await client.search.create({
39
+ query: 'sustainable fashion creators with engaged audiences',
40
+ limit: 25,
33
41
  });
34
42
 
35
- console.log(response.filtered_total);
43
+ console.log(search.search_id);
36
44
  ```
37
45
 
38
46
  ### Request & Response types
@@ -41,17 +49,17 @@ This library includes TypeScript definitions for all request params and response
41
49
 
42
50
  <!-- prettier-ignore -->
43
51
  ```ts
44
- import InflushipAPI from 'influship';
52
+ import Influship from 'influship';
45
53
 
46
- const client = new InflushipAPI({
54
+ const client = new Influship({
47
55
  apiKey: process.env['INFLUSHIP_API_KEY'], // This is the default and can be omitted
48
56
  });
49
57
 
50
- const params: InflushipAPI.SearchFindCreatorsParams = {
58
+ const params: Influship.SearchCreateParams = {
51
59
  query: 'fitness influencers in Los Angeles',
52
60
  limit: 10,
53
61
  };
54
- const response: InflushipAPI.SearchFindCreatorsResponse = await client.search.findCreators(params);
62
+ const search: Influship.SearchCreateResponse = await client.search.create(params);
55
63
  ```
56
64
 
57
65
  Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
@@ -64,10 +72,10 @@ a subclass of `APIError` will be thrown:
64
72
 
65
73
  <!-- prettier-ignore -->
66
74
  ```ts
67
- const response = await client.search
68
- .findCreators({ query: 'fitness influencers in Los Angeles', limit: 10 })
75
+ const search = await client.search
76
+ .create({ query: 'fitness influencers in Los Angeles', limit: 10 })
69
77
  .catch(async (err) => {
70
- if (err instanceof InflushipAPI.APIError) {
78
+ if (err instanceof Influship.APIError) {
71
79
  console.log(err.status); // 400
72
80
  console.log(err.name); // BadRequestError
73
81
  console.log(err.headers); // {server: 'nginx', ...}
@@ -101,12 +109,12 @@ You can use the `maxRetries` option to configure or disable this:
101
109
  <!-- prettier-ignore -->
102
110
  ```js
103
111
  // Configure the default for all requests:
104
- const client = new InflushipAPI({
112
+ const client = new Influship({
105
113
  maxRetries: 0, // default is 2
106
114
  });
107
115
 
108
116
  // Or, configure per-request:
109
- await client.search.findCreators({ query: 'fitness influencers in Los Angeles', limit: 10 }, {
117
+ await client.search.create({ query: 'fitness influencers in Los Angeles', limit: 10 }, {
110
118
  maxRetries: 5,
111
119
  });
112
120
  ```
@@ -118,12 +126,12 @@ Requests time out after 1 minute by default. You can configure this with a `time
118
126
  <!-- prettier-ignore -->
119
127
  ```ts
120
128
  // Configure the default for all requests:
121
- const client = new InflushipAPI({
129
+ const client = new Influship({
122
130
  timeout: 20 * 1000, // 20 seconds (default is 1 minute)
123
131
  });
124
132
 
125
133
  // Override per-request:
126
- await client.search.findCreators({ query: 'fitness influencers in Los Angeles', limit: 10 }, {
134
+ await client.search.create({ query: 'fitness influencers in Los Angeles', limit: 10 }, {
127
135
  timeout: 5 * 1000,
128
136
  });
129
137
  ```
@@ -132,6 +140,43 @@ On timeout, an `APIConnectionTimeoutError` is thrown.
132
140
 
133
141
  Note that requests which time out will be [retried twice by default](#retries).
134
142
 
143
+ ## Auto-pagination
144
+
145
+ List methods in the Influship API are paginated.
146
+ You can use the `for await … of` syntax to iterate through items across all pages:
147
+
148
+ ```ts
149
+ async function fetchAllSearchRetrieveResponses(params) {
150
+ const allSearchRetrieveResponses = [];
151
+ // Automatically fetches more pages as needed.
152
+ for await (const searchRetrieveResponse of client.search.retrieve('search_abc123', {
153
+ cursor: 'eyJvZmZzZXQiOjEwfQ==',
154
+ limit: 10,
155
+ })) {
156
+ allSearchRetrieveResponses.push(searchRetrieveResponse);
157
+ }
158
+ return allSearchRetrieveResponses;
159
+ }
160
+ ```
161
+
162
+ Alternatively, you can request a single page at a time:
163
+
164
+ ```ts
165
+ let page = await client.search.retrieve('search_abc123', {
166
+ cursor: 'eyJvZmZzZXQiOjEwfQ==',
167
+ limit: 10,
168
+ });
169
+ for (const searchRetrieveResponse of page.data) {
170
+ console.log(searchRetrieveResponse);
171
+ }
172
+
173
+ // Convenience methods are provided for manually paginating:
174
+ while (page.hasNextPage()) {
175
+ page = await page.getNextPage();
176
+ // ...
177
+ }
178
+ ```
179
+
135
180
  ## Advanced Usage
136
181
 
137
182
  ### Accessing raw Response data (e.g., headers)
@@ -144,19 +189,19 @@ Unlike `.asResponse()` this method consumes the body, returning once it is parse
144
189
 
145
190
  <!-- prettier-ignore -->
146
191
  ```ts
147
- const client = new InflushipAPI();
192
+ const client = new Influship();
148
193
 
149
194
  const response = await client.search
150
- .findCreators({ query: 'fitness influencers in Los Angeles', limit: 10 })
195
+ .create({ query: 'fitness influencers in Los Angeles', limit: 10 })
151
196
  .asResponse();
152
197
  console.log(response.headers.get('X-My-Header'));
153
198
  console.log(response.statusText); // access the underlying Response object
154
199
 
155
- const { data: response, response: raw } = await client.search
156
- .findCreators({ query: 'fitness influencers in Los Angeles', limit: 10 })
200
+ const { data: search, response: raw } = await client.search
201
+ .create({ query: 'fitness influencers in Los Angeles', limit: 10 })
157
202
  .withResponse();
158
203
  console.log(raw.headers.get('X-My-Header'));
159
- console.log(response.filtered_total);
204
+ console.log(search.search_id);
160
205
  ```
161
206
 
162
207
  ### Logging
@@ -169,13 +214,13 @@ console.log(response.filtered_total);
169
214
 
170
215
  The log level can be configured in two ways:
171
216
 
172
- 1. Via the `INFLUSHIP_API_LOG` environment variable
217
+ 1. Via the `INFLUSHIP_LOG` environment variable
173
218
  2. Using the `logLevel` client option (overrides the environment variable if set)
174
219
 
175
220
  ```ts
176
- import InflushipAPI from 'influship';
221
+ import Influship from 'influship';
177
222
 
178
- const client = new InflushipAPI({
223
+ const client = new Influship({
179
224
  logLevel: 'debug', // Show all log messages
180
225
  });
181
226
  ```
@@ -201,13 +246,13 @@ When providing a custom logger, the `logLevel` option still controls which messa
201
246
  below the configured level will not be sent to your logger.
202
247
 
203
248
  ```ts
204
- import InflushipAPI from 'influship';
249
+ import Influship from 'influship';
205
250
  import pino from 'pino';
206
251
 
207
252
  const logger = pino();
208
253
 
209
- const client = new InflushipAPI({
210
- logger: logger.child({ name: 'InflushipAPI' }),
254
+ const client = new Influship({
255
+ logger: logger.child({ name: 'Influship' }),
211
256
  logLevel: 'debug', // Send all messages to pino, allowing it to filter
212
257
  });
213
258
  ```
@@ -236,7 +281,7 @@ parameter. This library doesn't validate at runtime that the request matches the
236
281
  send will be sent as-is.
237
282
 
238
283
  ```ts
239
- client.search.findCreators({
284
+ client.search.create({
240
285
  // ...
241
286
  // @ts-expect-error baz is not yet public
242
287
  baz: 'undocumented option',
@@ -270,10 +315,10 @@ globalThis.fetch = fetch;
270
315
  Or pass it to the client:
271
316
 
272
317
  ```ts
273
- import InflushipAPI from 'influship';
318
+ import Influship from 'influship';
274
319
  import fetch from 'my-fetch';
275
320
 
276
- const client = new InflushipAPI({ fetch });
321
+ const client = new Influship({ fetch });
277
322
  ```
278
323
 
279
324
  ### Fetch options
@@ -281,9 +326,9 @@ const client = new InflushipAPI({ fetch });
281
326
  If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
282
327
 
283
328
  ```ts
284
- import InflushipAPI from 'influship';
329
+ import Influship from 'influship';
285
330
 
286
- const client = new InflushipAPI({
331
+ const client = new Influship({
287
332
  fetchOptions: {
288
333
  // `RequestInit` options
289
334
  },
@@ -298,11 +343,11 @@ options to requests:
298
343
  <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/node.svg" align="top" width="18" height="21"> **Node** <sup>[[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]</sup>
299
344
 
300
345
  ```ts
301
- import InflushipAPI from 'influship';
346
+ import Influship from 'influship';
302
347
  import * as undici from 'undici';
303
348
 
304
349
  const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
305
- const client = new InflushipAPI({
350
+ const client = new Influship({
306
351
  fetchOptions: {
307
352
  dispatcher: proxyAgent,
308
353
  },
@@ -312,9 +357,9 @@ const client = new InflushipAPI({
312
357
  <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/bun.svg" align="top" width="18" height="21"> **Bun** <sup>[[docs](https://bun.sh/guides/http/proxy)]</sup>
313
358
 
314
359
  ```ts
315
- import InflushipAPI from 'influship';
360
+ import Influship from 'influship';
316
361
 
317
- const client = new InflushipAPI({
362
+ const client = new Influship({
318
363
  fetchOptions: {
319
364
  proxy: 'http://localhost:8888',
320
365
  },
@@ -324,10 +369,10 @@ const client = new InflushipAPI({
324
369
  <img src="https://raw.githubusercontent.com/stainless-api/sdk-assets/refs/heads/main/deno.svg" align="top" width="18" height="21"> **Deno** <sup>[[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]</sup>
325
370
 
326
371
  ```ts
327
- import InflushipAPI from 'npm:influship';
372
+ import Influship from 'npm:influship';
328
373
 
329
374
  const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
330
- const client = new InflushipAPI({
375
+ const client = new Influship({
331
376
  fetchOptions: {
332
377
  client: httpClient,
333
378
  },
package/client.d.mts CHANGED
@@ -3,30 +3,30 @@ import type { PromiseOrValue, MergedRequestInit, FinalizedRequestInit } from "./
3
3
  export type { Logger, LogLevel } from "./internal/utils/log.mjs";
4
4
  import * as Opts from "./internal/request-options.mjs";
5
5
  import * as Errors from "./core/error.mjs";
6
+ import * as Pagination from "./core/pagination.mjs";
7
+ import { type BodyCursorParams, BodyCursorResponse, type QueryCursorParams, QueryCursorResponse } from "./core/pagination.mjs";
6
8
  import * as Uploads from "./core/uploads.mjs";
7
9
  import * as API from "./resources/index.mjs";
8
10
  import { APIPromise } from "./core/api-promise.mjs";
9
- import { BrandSafety, BrandSafetyAnalysis, BrandSafetyAnalyzeCreatorsParams, BrandSafetyAnalyzeCreatorsResponse, BrandSafetyAnalyzePostsParams, BrandSafetyAnalyzePostsResponse, BrandSafetyAnalyzeProfilesParams, BrandSafetyAnalyzeProfilesResponse, BrandSafetyFlag, BrandSafetyResult } from "./resources/brand-safety.mjs";
10
- import { Creator, CreatorAutocomplete, CreatorAutocompleteParams, CreatorAutocompleteResponse, CreatorListProfilesParams, CreatorListProfilesResponse, CreatorRetrieveParams, CreatorRetrieveResponse, Creators, SocialAccountDetailed, SocialAccountLite } from "./resources/creators.mjs";
11
+ import { CreatorAutocompleteParams, CreatorAutocompleteResponse, CreatorLookalikeParams, CreatorLookalikeResponse, CreatorLookalikeResponsesBodyCursor, CreatorMatchParams, CreatorMatchResponse, CreatorRetrieveParams, CreatorRetrieveResponse, Creators } from "./resources/creators.mjs";
11
12
  import { Health, HealthCheckResponse } from "./resources/health.mjs";
12
- import { Lookalike, LookalikeFindSimilarCreatorsParams, LookalikeFindSimilarCreatorsResponse, LookalikeSeedBase } from "./resources/lookalike.mjs";
13
- import { CreatorReferenceByID, Match, MatchAnalyzeParams, MatchAnalyzeResponse, MatchResult } from "./resources/match.mjs";
14
- import { AIAnalysis, CursorPagination, PostAnalysis, PostAnalyzeParams, PostListByCreatorParams, PostListByCreatorResponse, Posts } from "./resources/posts.mjs";
15
- import { CreatorReferenceByHandle, ProfileLookupParams, ProfileLookupResponse, Profiles } from "./resources/profiles.mjs";
16
- import { Search, SearchFindCreatorsParams, SearchFindCreatorsResponse, SearchItem } from "./resources/search.mjs";
13
+ import { PostListParams, PostListResponse, PostListResponsesQueryCursor, Posts } from "./resources/posts.mjs";
14
+ import { ProfileActivity, ProfileGetParams, ProfileGetResponse, ProfileGrowth, ProfileLookupParams, ProfileLookupResponse, ProfileMetrics, ProfileResponseData, Profiles } from "./resources/profiles.mjs";
15
+ import { MatchInfo, Search, SearchCreateParams, SearchCreateResponse, SearchRetrieveParams, SearchRetrieveResponse, SearchRetrieveResponsesQueryCursor } from "./resources/search.mjs";
16
+ import { Raw } from "./resources/raw/raw.mjs";
17
17
  import { type Fetch } from "./internal/builtin-types.mjs";
18
18
  import { HeadersLike, NullableHeaders } from "./internal/headers.mjs";
19
19
  import { FinalRequestOptions, RequestOptions } from "./internal/request-options.mjs";
20
20
  import { type LogLevel, type Logger } from "./internal/utils/log.mjs";
21
21
  export interface ClientOptions {
22
22
  /**
23
- * API key for authentication
23
+ * Defaults to process.env['INFLUSHIP_API_KEY'].
24
24
  */
25
25
  apiKey?: string | undefined;
26
26
  /**
27
27
  * Override the default base URL for the API, e.g., "https://api.example.com/v2/"
28
28
  *
29
- * Defaults to process.env['INFLUSHIP_API_BASE_URL'].
29
+ * Defaults to process.env['INFLUSHIP_BASE_URL'].
30
30
  */
31
31
  baseURL?: string | null | undefined;
32
32
  /**
@@ -74,7 +74,7 @@ export interface ClientOptions {
74
74
  /**
75
75
  * Set the log level.
76
76
  *
77
- * Defaults to process.env['INFLUSHIP_API_LOG'] or 'warn' if it isn't set.
77
+ * Defaults to process.env['INFLUSHIP_LOG'] or 'warn' if it isn't set.
78
78
  */
79
79
  logLevel?: LogLevel | undefined;
80
80
  /**
@@ -85,9 +85,9 @@ export interface ClientOptions {
85
85
  logger?: Logger | undefined;
86
86
  }
87
87
  /**
88
- * API Client for interfacing with the Influship API API.
88
+ * API Client for interfacing with the Influship API.
89
89
  */
90
- export declare class InflushipAPI {
90
+ export declare class Influship {
91
91
  #private;
92
92
  apiKey: string;
93
93
  baseURL: string;
@@ -100,10 +100,10 @@ export declare class InflushipAPI {
100
100
  protected idempotencyHeader?: string;
101
101
  private _options;
102
102
  /**
103
- * API Client for interfacing with the Influship API API.
103
+ * API Client for interfacing with the Influship API.
104
104
  *
105
105
  * @param {string | undefined} [opts.apiKey=process.env['INFLUSHIP_API_KEY'] ?? undefined]
106
- * @param {string} [opts.baseURL=process.env['INFLUSHIP_API_BASE_URL'] ?? https://api.influship.com] - Override the default base URL for the API.
106
+ * @param {string} [opts.baseURL=process.env['INFLUSHIP_BASE_URL'] ?? https://api.influship.com] - Override the default base URL for the API.
107
107
  * @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
108
108
  * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
109
109
  * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
@@ -119,7 +119,7 @@ export declare class InflushipAPI {
119
119
  protected defaultQuery(): Record<string, string | undefined> | undefined;
120
120
  protected validateHeaders({ values, nulls }: NullableHeaders): void;
121
121
  protected authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
122
- protected stringifyQuery(query: Record<string, unknown>): string;
122
+ protected stringifyQuery(query: object | Record<string, unknown>): string;
123
123
  private getUserAgent;
124
124
  protected defaultIdempotencyKey(): string;
125
125
  protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError;
@@ -146,6 +146,8 @@ export declare class InflushipAPI {
146
146
  private methodRequest;
147
147
  request<Rsp>(options: PromiseOrValue<FinalRequestOptions>, remainingRetries?: number | null): APIPromise<Rsp>;
148
148
  private makeRequest;
149
+ getAPIList<Item, PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>>(path: string, Page: new (...args: any[]) => PageClass, opts?: PromiseOrValue<RequestOptions>): Pagination.PagePromise<PageClass, Item>;
150
+ requestAPIList<Item = unknown, PageClass extends Pagination.AbstractPage<Item> = Pagination.AbstractPage<Item>>(Page: new (...args: ConstructorParameters<typeof Pagination.AbstractPage>) => PageClass, options: PromiseOrValue<FinalRequestOptions>): Pagination.PagePromise<PageClass, Item>;
149
151
  fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise<Response>;
150
152
  private shouldRetry;
151
153
  private retryRequest;
@@ -158,10 +160,11 @@ export declare class InflushipAPI {
158
160
  timeout: number;
159
161
  }>;
160
162
  private buildHeaders;
163
+ private _makeAbort;
161
164
  private buildBody;
162
- static InflushipAPI: typeof InflushipAPI;
165
+ static Influship: typeof Influship;
163
166
  static DEFAULT_TIMEOUT: number;
164
- static InflushipAPIError: typeof Errors.InflushipAPIError;
167
+ static InflushipError: typeof Errors.InflushipError;
165
168
  static APIError: typeof Errors.APIError;
166
169
  static APIConnectionError: typeof Errors.APIConnectionError;
167
170
  static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError;
@@ -175,24 +178,41 @@ export declare class InflushipAPI {
175
178
  static PermissionDeniedError: typeof Errors.PermissionDeniedError;
176
179
  static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
177
180
  static toFile: typeof Uploads.toFile;
181
+ /**
182
+ * API health and status endpoints
183
+ */
178
184
  health: API.Health;
179
- search: API.Search;
185
+ /**
186
+ * Retrieve creator profiles and discover new creators through search, autocomplete, and lookalike matching. Creators are cross-platform entities that may have profiles on multiple social networks.
187
+ */
180
188
  creators: API.Creators;
189
+ /**
190
+ * AI-powered semantic search to find creators using natural language queries. Understands intent and context to match creators based on content themes, audience, and style.
191
+ */
192
+ search: API.Search;
193
+ /**
194
+ * Access individual social media profiles with detailed metrics, growth data, and activity information. Profiles are platform-specific accounts linked to creators.
195
+ */
181
196
  profiles: API.Profiles;
182
- lookalike: API.Lookalike;
197
+ /**
198
+ * Retrieve and analyze social media posts with engagement metrics, media content, and performance data.
199
+ */
183
200
  posts: API.Posts;
184
- match: API.Match;
185
- brandSafety: API.BrandSafety;
201
+ raw: API.Raw;
186
202
  }
187
- export declare namespace InflushipAPI {
203
+ export declare namespace Influship {
188
204
  export type RequestOptions = Opts.RequestOptions;
205
+ export import QueryCursor = Pagination.QueryCursor;
206
+ export { type QueryCursorParams as QueryCursorParams, type QueryCursorResponse as QueryCursorResponse };
207
+ export import BodyCursor = Pagination.BodyCursor;
208
+ export { type BodyCursorParams as BodyCursorParams, type BodyCursorResponse as BodyCursorResponse };
189
209
  export { Health as Health, type HealthCheckResponse as HealthCheckResponse };
190
- export { Search as Search, type SearchItem as SearchItem, type SearchFindCreatorsResponse as SearchFindCreatorsResponse, type SearchFindCreatorsParams as SearchFindCreatorsParams, };
191
- export { Creators as Creators, type Creator as Creator, type CreatorAutocomplete as CreatorAutocomplete, type SocialAccountDetailed as SocialAccountDetailed, type SocialAccountLite as SocialAccountLite, type CreatorRetrieveResponse as CreatorRetrieveResponse, type CreatorAutocompleteResponse as CreatorAutocompleteResponse, type CreatorListProfilesResponse as CreatorListProfilesResponse, type CreatorRetrieveParams as CreatorRetrieveParams, type CreatorAutocompleteParams as CreatorAutocompleteParams, type CreatorListProfilesParams as CreatorListProfilesParams, };
192
- export { Profiles as Profiles, type CreatorReferenceByHandle as CreatorReferenceByHandle, type ProfileLookupResponse as ProfileLookupResponse, type ProfileLookupParams as ProfileLookupParams, };
193
- export { Lookalike as Lookalike, type LookalikeSeedBase as LookalikeSeedBase, type LookalikeFindSimilarCreatorsResponse as LookalikeFindSimilarCreatorsResponse, type LookalikeFindSimilarCreatorsParams as LookalikeFindSimilarCreatorsParams, };
194
- export { Posts as Posts, type AIAnalysis as AIAnalysis, type CursorPagination as CursorPagination, type PostAnalysis as PostAnalysis, type PostListByCreatorResponse as PostListByCreatorResponse, type PostAnalyzeParams as PostAnalyzeParams, type PostListByCreatorParams as PostListByCreatorParams, };
195
- export { Match as Match, type CreatorReferenceByID as CreatorReferenceByID, type MatchResult as MatchResult, type MatchAnalyzeResponse as MatchAnalyzeResponse, type MatchAnalyzeParams as MatchAnalyzeParams, };
196
- export { BrandSafety as BrandSafety, type BrandSafetyAnalysis as BrandSafetyAnalysis, type BrandSafetyFlag as BrandSafetyFlag, type BrandSafetyResult as BrandSafetyResult, type BrandSafetyAnalyzeCreatorsResponse as BrandSafetyAnalyzeCreatorsResponse, type BrandSafetyAnalyzePostsResponse as BrandSafetyAnalyzePostsResponse, type BrandSafetyAnalyzeProfilesResponse as BrandSafetyAnalyzeProfilesResponse, type BrandSafetyAnalyzeCreatorsParams as BrandSafetyAnalyzeCreatorsParams, type BrandSafetyAnalyzePostsParams as BrandSafetyAnalyzePostsParams, type BrandSafetyAnalyzeProfilesParams as BrandSafetyAnalyzeProfilesParams, };
210
+ export { Creators as Creators, type CreatorRetrieveResponse as CreatorRetrieveResponse, type CreatorAutocompleteResponse as CreatorAutocompleteResponse, type CreatorLookalikeResponse as CreatorLookalikeResponse, type CreatorMatchResponse as CreatorMatchResponse, type CreatorLookalikeResponsesBodyCursor as CreatorLookalikeResponsesBodyCursor, type CreatorRetrieveParams as CreatorRetrieveParams, type CreatorAutocompleteParams as CreatorAutocompleteParams, type CreatorLookalikeParams as CreatorLookalikeParams, type CreatorMatchParams as CreatorMatchParams, };
211
+ export { Search as Search, type MatchInfo as MatchInfo, type SearchCreateResponse as SearchCreateResponse, type SearchRetrieveResponse as SearchRetrieveResponse, type SearchRetrieveResponsesQueryCursor as SearchRetrieveResponsesQueryCursor, type SearchCreateParams as SearchCreateParams, type SearchRetrieveParams as SearchRetrieveParams, };
212
+ export { Profiles as Profiles, type ProfileActivity as ProfileActivity, type ProfileGrowth as ProfileGrowth, type ProfileMetrics as ProfileMetrics, type ProfileResponseData as ProfileResponseData, type ProfileGetResponse as ProfileGetResponse, type ProfileLookupResponse as ProfileLookupResponse, type ProfileGetParams as ProfileGetParams, type ProfileLookupParams as ProfileLookupParams, };
213
+ export { Posts as Posts, type PostListResponse as PostListResponse, type PostListResponsesQueryCursor as PostListResponsesQueryCursor, type PostListParams as PostListParams, };
214
+ export { Raw as Raw };
215
+ export type CreatorBasic = API.CreatorBasic;
216
+ export type ProfileSummary = API.ProfileSummary;
197
217
  }
198
218
  //# sourceMappingURL=client.d.mts.map
package/client.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAGT,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OAC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