@tapline/client 0.2.14 → 0.2.15

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 (218) hide show
  1. package/README.md +6 -2
  2. package/dist/cjs/client.d.ts +2 -0
  3. package/dist/cjs/client.d.ts.map +1 -1
  4. package/dist/cjs/client.js +29 -26
  5. package/dist/cjs/client.js.map +1 -1
  6. package/dist/cjs/index.d.ts +2 -0
  7. package/dist/cjs/index.d.ts.map +1 -1
  8. package/dist/cjs/index.js +30 -27
  9. package/dist/cjs/index.js.map +1 -1
  10. package/dist/cjs/services/airbnb/client.d.ts +6 -6
  11. package/dist/cjs/services/airbnb/client.d.ts.map +1 -1
  12. package/dist/cjs/services/airbnb/client.js +6 -6
  13. package/dist/cjs/services/airbnb/client.js.map +1 -1
  14. package/dist/cjs/services/birdeye/client.d.ts +10 -10
  15. package/dist/cjs/services/birdeye/client.d.ts.map +1 -1
  16. package/dist/cjs/services/birdeye/client.js +10 -10
  17. package/dist/cjs/services/birdeye/client.js.map +1 -1
  18. package/dist/cjs/services/brave_search/client.d.ts +1 -1
  19. package/dist/cjs/services/brave_search/client.d.ts.map +1 -1
  20. package/dist/cjs/services/brave_search/client.js +1 -1
  21. package/dist/cjs/services/brave_search/client.js.map +1 -1
  22. package/dist/cjs/services/brave_search/types.d.ts +1211 -1273
  23. package/dist/cjs/services/brave_search/types.d.ts.map +1 -1
  24. package/dist/cjs/services/facebook/types.d.ts +417 -430
  25. package/dist/cjs/services/facebook/types.d.ts.map +1 -1
  26. package/dist/cjs/services/facebook_ad_library/types.d.ts +259 -182
  27. package/dist/cjs/services/facebook_ad_library/types.d.ts.map +1 -1
  28. package/dist/cjs/services/facebook_marketplace/types.d.ts +162 -170
  29. package/dist/cjs/services/facebook_marketplace/types.d.ts.map +1 -1
  30. package/dist/cjs/services/geckoterminal/client.d.ts +2 -2
  31. package/dist/cjs/services/geckoterminal/client.d.ts.map +1 -1
  32. package/dist/cjs/services/geckoterminal/client.js +2 -2
  33. package/dist/cjs/services/geckoterminal/client.js.map +1 -1
  34. package/dist/cjs/services/geckoterminal/types.d.ts +15 -4
  35. package/dist/cjs/services/geckoterminal/types.d.ts.map +1 -1
  36. package/dist/cjs/services/gmgn/client.d.ts +18 -18
  37. package/dist/cjs/services/gmgn/client.d.ts.map +1 -1
  38. package/dist/cjs/services/gmgn/client.js +18 -18
  39. package/dist/cjs/services/gmgn/client.js.map +1 -1
  40. package/dist/cjs/services/gmgn/types.d.ts +2 -2
  41. package/dist/cjs/services/gmgn/types.d.ts.map +1 -1
  42. package/dist/cjs/services/goplus/client.d.ts +3 -3
  43. package/dist/cjs/services/goplus/client.d.ts.map +1 -1
  44. package/dist/cjs/services/goplus/client.js +3 -3
  45. package/dist/cjs/services/goplus/client.js.map +1 -1
  46. package/dist/cjs/services/imovelweb/client.d.ts +6 -6
  47. package/dist/cjs/services/imovelweb/client.d.ts.map +1 -1
  48. package/dist/cjs/services/imovelweb/client.js +6 -6
  49. package/dist/cjs/services/imovelweb/client.js.map +1 -1
  50. package/dist/cjs/services/indeed/types.d.ts +233 -187
  51. package/dist/cjs/services/indeed/types.d.ts.map +1 -1
  52. package/dist/cjs/services/instagram/client.d.ts +12 -12
  53. package/dist/cjs/services/instagram/client.d.ts.map +1 -1
  54. package/dist/cjs/services/instagram/client.js +12 -12
  55. package/dist/cjs/services/instagram/client.js.map +1 -1
  56. package/dist/cjs/services/instagram/types.d.ts +399 -2284
  57. package/dist/cjs/services/instagram/types.d.ts.map +1 -1
  58. package/dist/cjs/services/linkedin/client.d.ts +7 -7
  59. package/dist/cjs/services/linkedin/client.d.ts.map +1 -1
  60. package/dist/cjs/services/linkedin/client.js +7 -7
  61. package/dist/cjs/services/linkedin/client.js.map +1 -1
  62. package/dist/cjs/services/pinterest/client.d.ts +4 -4
  63. package/dist/cjs/services/pinterest/client.d.ts.map +1 -1
  64. package/dist/cjs/services/pinterest/client.js +4 -4
  65. package/dist/cjs/services/pinterest/client.js.map +1 -1
  66. package/dist/cjs/services/pinterest/types.d.ts +740 -711
  67. package/dist/cjs/services/pinterest/types.d.ts.map +1 -1
  68. package/dist/cjs/services/pinterest_v2/client.d.ts +15 -0
  69. package/dist/cjs/services/pinterest_v2/client.d.ts.map +1 -0
  70. package/dist/cjs/services/pinterest_v2/client.js +28 -0
  71. package/dist/cjs/services/pinterest_v2/client.js.map +1 -0
  72. package/dist/cjs/services/pinterest_v2/index.d.ts +3 -0
  73. package/dist/cjs/services/pinterest_v2/index.d.ts.map +1 -0
  74. package/dist/cjs/services/pinterest_v2/index.js +22 -0
  75. package/dist/cjs/services/pinterest_v2/index.js.map +1 -0
  76. package/dist/cjs/services/pinterest_v2/types.d.ts +558 -0
  77. package/dist/cjs/services/pinterest_v2/types.d.ts.map +1 -0
  78. package/dist/cjs/services/pinterest_v2/types.js +4 -0
  79. package/dist/cjs/services/pinterest_v2/types.js.map +1 -0
  80. package/dist/cjs/services/ponsfamily/client.d.ts +8 -8
  81. package/dist/cjs/services/ponsfamily/client.d.ts.map +1 -1
  82. package/dist/cjs/services/ponsfamily/client.js +8 -8
  83. package/dist/cjs/services/ponsfamily/client.js.map +1 -1
  84. package/dist/cjs/services/ponsfamily/types.d.ts +83 -14
  85. package/dist/cjs/services/ponsfamily/types.d.ts.map +1 -1
  86. package/dist/cjs/services/pumpfun/client.d.ts +56 -56
  87. package/dist/cjs/services/pumpfun/client.d.ts.map +1 -1
  88. package/dist/cjs/services/pumpfun/client.js +56 -56
  89. package/dist/cjs/services/pumpfun/client.js.map +1 -1
  90. package/dist/cjs/services/pumpfun/types.d.ts +280 -101
  91. package/dist/cjs/services/pumpfun/types.d.ts.map +1 -1
  92. package/dist/cjs/services/twitter/client.d.ts +5 -5
  93. package/dist/cjs/services/twitter/client.d.ts.map +1 -1
  94. package/dist/cjs/services/twitter/client.js +5 -5
  95. package/dist/cjs/services/twitter/client.js.map +1 -1
  96. package/dist/cjs/services/twitter/types.d.ts +294 -403
  97. package/dist/cjs/services/twitter/types.d.ts.map +1 -1
  98. package/dist/cjs/services/youtube/client.d.ts +11 -11
  99. package/dist/cjs/services/youtube/client.d.ts.map +1 -1
  100. package/dist/cjs/services/youtube/client.js +11 -11
  101. package/dist/cjs/services/youtube/client.js.map +1 -1
  102. package/dist/cjs/services/youtube/types.d.ts +164 -158
  103. package/dist/cjs/services/youtube/types.d.ts.map +1 -1
  104. package/dist/cjs/services/zillow/client.d.ts +8 -6
  105. package/dist/cjs/services/zillow/client.d.ts.map +1 -1
  106. package/dist/cjs/services/zillow/client.js +10 -5
  107. package/dist/cjs/services/zillow/client.js.map +1 -1
  108. package/dist/cjs/services/zillow/types.d.ts +720 -886
  109. package/dist/cjs/services/zillow/types.d.ts.map +1 -1
  110. package/dist/client.d.ts +2 -0
  111. package/dist/client.d.ts.map +1 -1
  112. package/dist/client.js +3 -0
  113. package/dist/client.js.map +1 -1
  114. package/dist/index.d.ts +2 -0
  115. package/dist/index.d.ts.map +1 -1
  116. package/dist/index.js +2 -0
  117. package/dist/index.js.map +1 -1
  118. package/dist/services/airbnb/client.d.ts +6 -6
  119. package/dist/services/airbnb/client.d.ts.map +1 -1
  120. package/dist/services/airbnb/client.js +6 -6
  121. package/dist/services/airbnb/client.js.map +1 -1
  122. package/dist/services/birdeye/client.d.ts +10 -10
  123. package/dist/services/birdeye/client.d.ts.map +1 -1
  124. package/dist/services/birdeye/client.js +10 -10
  125. package/dist/services/birdeye/client.js.map +1 -1
  126. package/dist/services/brave_search/client.d.ts +1 -1
  127. package/dist/services/brave_search/client.d.ts.map +1 -1
  128. package/dist/services/brave_search/client.js +1 -1
  129. package/dist/services/brave_search/client.js.map +1 -1
  130. package/dist/services/brave_search/types.d.ts +1211 -1273
  131. package/dist/services/brave_search/types.d.ts.map +1 -1
  132. package/dist/services/facebook/types.d.ts +417 -430
  133. package/dist/services/facebook/types.d.ts.map +1 -1
  134. package/dist/services/facebook_ad_library/types.d.ts +259 -182
  135. package/dist/services/facebook_ad_library/types.d.ts.map +1 -1
  136. package/dist/services/facebook_marketplace/types.d.ts +162 -170
  137. package/dist/services/facebook_marketplace/types.d.ts.map +1 -1
  138. package/dist/services/geckoterminal/client.d.ts +2 -2
  139. package/dist/services/geckoterminal/client.d.ts.map +1 -1
  140. package/dist/services/geckoterminal/client.js +2 -2
  141. package/dist/services/geckoterminal/client.js.map +1 -1
  142. package/dist/services/geckoterminal/types.d.ts +15 -4
  143. package/dist/services/geckoterminal/types.d.ts.map +1 -1
  144. package/dist/services/gmgn/client.d.ts +18 -18
  145. package/dist/services/gmgn/client.d.ts.map +1 -1
  146. package/dist/services/gmgn/client.js +18 -18
  147. package/dist/services/gmgn/client.js.map +1 -1
  148. package/dist/services/gmgn/types.d.ts +2 -2
  149. package/dist/services/gmgn/types.d.ts.map +1 -1
  150. package/dist/services/goplus/client.d.ts +3 -3
  151. package/dist/services/goplus/client.d.ts.map +1 -1
  152. package/dist/services/goplus/client.js +3 -3
  153. package/dist/services/goplus/client.js.map +1 -1
  154. package/dist/services/imovelweb/client.d.ts +6 -6
  155. package/dist/services/imovelweb/client.d.ts.map +1 -1
  156. package/dist/services/imovelweb/client.js +6 -6
  157. package/dist/services/imovelweb/client.js.map +1 -1
  158. package/dist/services/indeed/types.d.ts +233 -187
  159. package/dist/services/indeed/types.d.ts.map +1 -1
  160. package/dist/services/instagram/client.d.ts +12 -12
  161. package/dist/services/instagram/client.d.ts.map +1 -1
  162. package/dist/services/instagram/client.js +12 -12
  163. package/dist/services/instagram/client.js.map +1 -1
  164. package/dist/services/instagram/types.d.ts +399 -2284
  165. package/dist/services/instagram/types.d.ts.map +1 -1
  166. package/dist/services/linkedin/client.d.ts +7 -7
  167. package/dist/services/linkedin/client.d.ts.map +1 -1
  168. package/dist/services/linkedin/client.js +7 -7
  169. package/dist/services/linkedin/client.js.map +1 -1
  170. package/dist/services/pinterest/client.d.ts +4 -4
  171. package/dist/services/pinterest/client.d.ts.map +1 -1
  172. package/dist/services/pinterest/client.js +4 -4
  173. package/dist/services/pinterest/client.js.map +1 -1
  174. package/dist/services/pinterest/types.d.ts +740 -711
  175. package/dist/services/pinterest/types.d.ts.map +1 -1
  176. package/dist/services/pinterest_v2/client.d.ts +15 -0
  177. package/dist/services/pinterest_v2/client.d.ts.map +1 -0
  178. package/dist/services/pinterest_v2/client.js +24 -0
  179. package/dist/services/pinterest_v2/client.js.map +1 -0
  180. package/dist/services/pinterest_v2/index.d.ts +3 -0
  181. package/dist/services/pinterest_v2/index.d.ts.map +1 -0
  182. package/dist/services/pinterest_v2/index.js +4 -0
  183. package/dist/services/pinterest_v2/index.js.map +1 -0
  184. package/dist/services/pinterest_v2/types.d.ts +558 -0
  185. package/dist/services/pinterest_v2/types.d.ts.map +1 -0
  186. package/dist/services/pinterest_v2/types.js +3 -0
  187. package/dist/services/pinterest_v2/types.js.map +1 -0
  188. package/dist/services/ponsfamily/client.d.ts +8 -8
  189. package/dist/services/ponsfamily/client.d.ts.map +1 -1
  190. package/dist/services/ponsfamily/client.js +8 -8
  191. package/dist/services/ponsfamily/client.js.map +1 -1
  192. package/dist/services/ponsfamily/types.d.ts +83 -14
  193. package/dist/services/ponsfamily/types.d.ts.map +1 -1
  194. package/dist/services/pumpfun/client.d.ts +56 -56
  195. package/dist/services/pumpfun/client.d.ts.map +1 -1
  196. package/dist/services/pumpfun/client.js +56 -56
  197. package/dist/services/pumpfun/client.js.map +1 -1
  198. package/dist/services/pumpfun/types.d.ts +280 -101
  199. package/dist/services/pumpfun/types.d.ts.map +1 -1
  200. package/dist/services/twitter/client.d.ts +5 -5
  201. package/dist/services/twitter/client.d.ts.map +1 -1
  202. package/dist/services/twitter/client.js +5 -5
  203. package/dist/services/twitter/client.js.map +1 -1
  204. package/dist/services/twitter/types.d.ts +294 -403
  205. package/dist/services/twitter/types.d.ts.map +1 -1
  206. package/dist/services/youtube/client.d.ts +11 -11
  207. package/dist/services/youtube/client.d.ts.map +1 -1
  208. package/dist/services/youtube/client.js +11 -11
  209. package/dist/services/youtube/client.js.map +1 -1
  210. package/dist/services/youtube/types.d.ts +164 -158
  211. package/dist/services/youtube/types.d.ts.map +1 -1
  212. package/dist/services/zillow/client.d.ts +8 -6
  213. package/dist/services/zillow/client.d.ts.map +1 -1
  214. package/dist/services/zillow/client.js +10 -5
  215. package/dist/services/zillow/client.js.map +1 -1
  216. package/dist/services/zillow/types.d.ts +720 -886
  217. package/dist/services/zillow/types.d.ts.map +1 -1
  218. package/package.json +3 -2
@@ -3,11 +3,11 @@ import type { GetEvmTokenSecurityParams, GetEvmTokenSecurityResponse, GetSolanaT
3
3
  export declare class GoplusClient {
4
4
  private readonly base;
5
5
  constructor(base: BaseClient);
6
- /** GoPlus token security for one EVM token: honeypot, tax, owner and mint flags, top holders and liquidity. The GoPlus envelope comes back unchanged. `code` 1 means complete data and 2 partial, and code 3 also passes through. GoPlus keys `result` by the lowercased address and leaves it empty when it has no token at that address on that chain. Powered by GoPlus Security. Costs 3 credits. */
6
+ /** Returns security checks for an EVM token, including honeypot, tax, ownership, mint, holder, and liquidity data. Costs 3 credits. */
7
7
  getEvmTokenSecurity(params: GetEvmTokenSecurityParams): Promise<GetEvmTokenSecurityResponse>;
8
- /** GoPlus token security for one Solana mint: mint, freeze, close and metadata authorities, Token-2022 transfer fee and hook, top holders and liquidity. The GoPlus envelope comes back unchanged. `code` 1 means complete data and 2 partial, and code 3 also passes through. GoPlus keys `result` by the mint. Powered by GoPlus Security. Costs 3 credits. */
8
+ /** Returns security checks for a Solana token, including authority, Token-2022, holder, and liquidity data. Costs 3 credits. */
9
9
  getSolanaTokenSecurity(params: GetSolanaTokenSecurityParams): Promise<GetSolanaTokenSecurityResponse>;
10
- /** GoPlus token security for one Tron TRC-20 token: honeypot, tax, owner and mint flags, blacklist, top holders and CEX listings. The GoPlus envelope comes back unchanged. `code` 1 means complete data and 2 partial, and code 3 also passes through. GoPlus keys `result` by the base58 address in its original case. Powered by GoPlus Security. Costs 3 credits. */
10
+ /** Returns security checks for a Tron TRC-20 token, including honeypot, tax, ownership, mint, blacklist, holder, and exchange data. Costs 3 credits. */
11
11
  getTronTokenSecurity(params: GetTronTokenSecurityParams): Promise<GetTronTokenSecurityResponse>;
12
12
  }
13
13
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/services/goplus/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,8BAA8B,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAEjN,qBAAa,YAAY;IACX,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAE7C,yYAAyY;IACnY,mBAAmB,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAKlG,iWAAiW;IAC3V,sBAAsB,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,8BAA8B,CAAC;IAK3G,yWAAyW;IACnW,oBAAoB,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,4BAA4B,CAAC;CAItG"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/services/goplus/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,8BAA8B,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAEjN,qBAAa,YAAY;IACX,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAE7C,uIAAuI;IACjI,mBAAmB,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAKlG,gIAAgI;IAC1H,sBAAsB,CAAC,MAAM,EAAE,4BAA4B,GAAG,OAAO,CAAC,8BAA8B,CAAC;IAK3G,wJAAwJ;IAClJ,oBAAoB,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,4BAA4B,CAAC;CAItG"}
@@ -7,17 +7,17 @@ class GoplusClient {
7
7
  constructor(base) {
8
8
  this.base = base;
9
9
  }
10
- /** GoPlus token security for one EVM token: honeypot, tax, owner and mint flags, top holders and liquidity. The GoPlus envelope comes back unchanged. `code` 1 means complete data and 2 partial, and code 3 also passes through. GoPlus keys `result` by the lowercased address and leaves it empty when it has no token at that address on that chain. Powered by GoPlus Security. Costs 3 credits. */
10
+ /** Returns security checks for an EVM token, including honeypot, tax, ownership, mint, holder, and liquidity data. Costs 3 credits. */
11
11
  async getEvmTokenSecurity(params) {
12
12
  const { chain_id, address } = params;
13
13
  return this.base.get(`/v1/goplus/evm/${encodeURIComponent(chain_id)}/tokens/${encodeURIComponent(address)}/security`);
14
14
  }
15
- /** GoPlus token security for one Solana mint: mint, freeze, close and metadata authorities, Token-2022 transfer fee and hook, top holders and liquidity. The GoPlus envelope comes back unchanged. `code` 1 means complete data and 2 partial, and code 3 also passes through. GoPlus keys `result` by the mint. Powered by GoPlus Security. Costs 3 credits. */
15
+ /** Returns security checks for a Solana token, including authority, Token-2022, holder, and liquidity data. Costs 3 credits. */
16
16
  async getSolanaTokenSecurity(params) {
17
17
  const { mint } = params;
18
18
  return this.base.get(`/v1/goplus/solana/tokens/${encodeURIComponent(mint)}/security`);
19
19
  }
20
- /** GoPlus token security for one Tron TRC-20 token: honeypot, tax, owner and mint flags, blacklist, top holders and CEX listings. The GoPlus envelope comes back unchanged. `code` 1 means complete data and 2 partial, and code 3 also passes through. GoPlus keys `result` by the base58 address in its original case. Powered by GoPlus Security. Costs 3 credits. */
20
+ /** Returns security checks for a Tron TRC-20 token, including honeypot, tax, ownership, mint, blacklist, holder, and exchange data. Costs 3 credits. */
21
21
  async getTronTokenSecurity(params) {
22
22
  const { address } = params;
23
23
  return this.base.get(`/v1/goplus/tron/tokens/${encodeURIComponent(address)}/security`);
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../src/services/goplus/client.ts"],"names":[],"mappings":";AAAA,oEAAoE;;;AAKpE,MAAa,YAAY;IACM;IAA7B,YAA6B,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAEjD,yYAAyY;IACzY,KAAK,CAAC,mBAAmB,CAAC,MAAiC;QACzD,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QACrC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA8B,kBAAkB,kBAAkB,CAAC,QAAQ,CAAC,WAAW,kBAAkB,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IACrJ,CAAC;IAED,iWAAiW;IACjW,KAAK,CAAC,sBAAsB,CAAC,MAAoC;QAC/D,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAiC,4BAA4B,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACxH,CAAC;IAED,yWAAyW;IACzW,KAAK,CAAC,oBAAoB,CAAC,MAAkC;QAC3D,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA+B,0BAA0B,kBAAkB,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IACvH,CAAC;CACF;AApBD,oCAoBC"}
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../src/services/goplus/client.ts"],"names":[],"mappings":";AAAA,oEAAoE;;;AAKpE,MAAa,YAAY;IACM;IAA7B,YAA6B,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAEjD,uIAAuI;IACvI,KAAK,CAAC,mBAAmB,CAAC,MAAiC;QACzD,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QACrC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA8B,kBAAkB,kBAAkB,CAAC,QAAQ,CAAC,WAAW,kBAAkB,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IACrJ,CAAC;IAED,gIAAgI;IAChI,KAAK,CAAC,sBAAsB,CAAC,MAAoC;QAC/D,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAiC,4BAA4B,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACxH,CAAC;IAED,wJAAwJ;IACxJ,KAAK,CAAC,oBAAoB,CAAC,MAAkC;QAC3D,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA+B,0BAA0B,kBAAkB,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IACvH,CAAC;CACF;AApBD,oCAoBC"}
@@ -3,19 +3,19 @@ import type { GetListingParams, GetPublisherParams, ImovelwebListingDetail, Imov
3
3
  export declare class ImovelwebClient {
4
4
  private readonly base;
5
5
  constructor(base: BaseClient);
6
- /** Search imovelweb.com.br, Brazil's QuintoAndar-owned listings portal: homes and commercial property for sale, rent, short stays, auction and new developments, 30 per page. Each listing carries its price per operation, condo fee, rooms and areas, address with its state, city and district, coordinates, photos in every size, the publisher (type, CRECI licence and, when published, its main phone) and its WhatsApp number when the advertiser shows one. A development also carries its stage, delivery date, price and size ranges and unit groups in `development`. Fields imovelweb sends that this API does not decode stay in each record's `raw`, under imovelweb's names; a code imovelweb adds that this API has no name for yet decodes to null. About a fifth of listings hide their map position (`location.latitude` null); the detail route usually still has coordinates. Rent and season listings give the rental period only in their text, and imovelweb sends no IPTU on search results. `applied_filters` is imovelweb's own account of the filters it applied, in this API's parameter names: compare it with the request to spot a filter imovelweb dropped. Search a publisher's portfolio with `publisher_id`. Pages stop at page 1,000 (30,000 listings); narrow the filters to reach the rest. Priced per page, not per listing. Costs 2 credits. */
6
+ /** Searches homes, commercial properties, and developments for sale or rent. Returns 30 listings per page with price, property details, location, photos, and publisher data. Costs 2 credits. */
7
7
  listListings(params: ListListingsParams): Promise<ImovelwebListingsPage>;
8
- /** Map markers for a search: the 100 most relevant listings with id, title, first listed operation and price (a listing offered for both sale and rent can show its sale price on a rent search) and coordinates, the count of matching listings imovelweb can place on the map (`total`, lower than the search total), the `viewport`, and, when you filter by one location, its `area` with level, centre and GeoJSON outline. Takes the filters of `/listings`; the markers cannot be paged or re-sorted. imovelweb's map ignores `publisher_id`, so `applied_filters` leaves it out. imovelweb's map fails on many filters across the whole country or a state; those answer 400 with the reason (not charged): narrow to a city or neighbourhood or use `/listings`. `max_age=launching_soon` fails wherever the map runs, so it answers 422 before any call. Costs 1 credit. */
8
+ /** Returns map markers for the 100 most relevant listings, plus the matching count, viewport, and area boundary when available. Uses the filters from `/listings`. Costs 1 credit. */
9
9
  mapListings(params: MapListingsParams): Promise<ImovelwebListingsMap>;
10
- /** One listing's full page: the complete description as plain text (line breaks kept, imovelweb's markup removed), every photo and floor plan in every size, every amenity with the area it belongs to, prices per operation, condo fee, the IPTU the page shows (`iptu`, no period given), coordinates, publication date, imovelweb's view counter when it shows one, the publisher with CRECI licence and the first digits of its phone (`publisher.partial_phone`; the full numbers are on `/publishers/{publisher_id}`), and a development's stage, ranges and units. `/listings/{posting_id}/publishers` lists the other agencies advertising the same property. Fields imovelweb sends that this API does not decode stay in `raw`, under imovelweb's names; a code imovelweb adds that this API has no name for yet decodes to null. A listing id imovelweb does not know answers 404. Costs 2 credits. */
10
+ /** Returns one listing with its description, prices, fees, location, photos, floor plans, amenities, publisher, and development details when applicable. Costs 2 credits. */
11
11
  getListing(params: GetListingParams): Promise<ImovelwebListingDetail>;
12
- /** Every publisher advertising the same property, when imovelweb groups duplicate listings (search results flag them in `duplicate_group_id`): each publisher's own listing id and URL, name, logo and ad tier, but no publisher id or price; fetch each `listing_id` from `/listings/{posting_id}` for those. A listing nobody else advertises answers an empty list, and so does an id imovelweb does not know; both are charged. Costs 1 credit. */
12
+ /** Returns every publisher advertising the same property, with each publisher's listing ID, URL, name, logo, and ad tier. Listings without duplicates return an empty list. Costs 1 credit. */
13
13
  listListingPublishers(params: ListListingPublishersParams): Promise<ImovelwebListingPublishers>;
14
- /** Listings imovelweb shows as similar to this one (same area, type and price band), from imovelweb's compact card: its operation, property type and price arrive as display text and come back decoded, with rooms and areas, address and photos; fetch `/listings/{posting_id}` for the full record. A development or a listing imovelweb pairs with nothing answers an empty list. imovelweb does not check the id: one it does not know answers a couple of generic listings, charged like any other answer. Costs 1 credit. */
14
+ /** Returns listings with a similar area, property type, and price range. Each item includes its operation, price, rooms, area, address, and photos. Costs 1 credit. */
15
15
  listSimilarListings(params: ListSimilarListingsParams): Promise<ImovelwebSimilarListings>;
16
16
  /** Location autocomplete: states, cities and neighbourhoods matching the text, at most 10, each with its `level` and the `id` that `location_id` on `/listings` takes. A query with no match answers an empty list. Costs 1 credit. */
17
17
  listLocations(params: ListLocationsParams): Promise<ImovelwebLocations>;
18
- /** An agency's or developer's profile: name, its phone text as the publisher writes it (`phone_text`) and parsed into +55 numbers (`phone_numbers`), office address, year joined, live and listed listing counts, logo, and the ratings buyers gave it (`ratings` is null when imovelweb keeps no statistics for the publisher; an unrated one has a null `review_count`, `average` and `recommend_percent`, and no questions). List its listings with `/listings?publisher_id=`. Owners selling directly (`publisher.type` `owner` on a search listing) have no profile page, so their ids answer the same 404 as an id imovelweb does not know; the listing's `whatsapp` is their contact. Costs 2 credits. */
18
+ /** Returns a broker or developer profile with contact details, address, logo, listing counts, and buyer ratings. Use `/listings?publisher_id=` for its listings. Costs 2 credits. */
19
19
  getPublisher(params: GetPublisherParams): Promise<ImovelwebPublisher>;
20
20
  }
21
21
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/services/imovelweb/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE9V,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAE7C,0zCAA0zC;IACpzC,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAI9E,s1BAAs1B;IACh1B,WAAW,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAI3E,k3BAAk3B;IAC52B,UAAU,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAK3E,ubAAub;IACjb,qBAAqB,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAKrG,ogBAAogB;IAC9f,mBAAmB,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAK/F,uOAAuO;IACjO,aAAa,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAI7E,irBAAirB;IAC3qB,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAI5E"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/services/imovelweb/client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE9V,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAE7C,kMAAkM;IAC5L,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAI9E,sLAAsL;IAChL,WAAW,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAI3E,6KAA6K;IACvK,UAAU,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAK3E,+LAA+L;IACzL,qBAAqB,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAKrG,uKAAuK;IACjK,mBAAmB,CAAC,MAAM,EAAE,yBAAyB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAK/F,uOAAuO;IACjO,aAAa,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAI7E,qLAAqL;IAC/K,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAI5E"}
@@ -7,25 +7,25 @@ class ImovelwebClient {
7
7
  constructor(base) {
8
8
  this.base = base;
9
9
  }
10
- /** Search imovelweb.com.br, Brazil's QuintoAndar-owned listings portal: homes and commercial property for sale, rent, short stays, auction and new developments, 30 per page. Each listing carries its price per operation, condo fee, rooms and areas, address with its state, city and district, coordinates, photos in every size, the publisher (type, CRECI licence and, when published, its main phone) and its WhatsApp number when the advertiser shows one. A development also carries its stage, delivery date, price and size ranges and unit groups in `development`. Fields imovelweb sends that this API does not decode stay in each record's `raw`, under imovelweb's names; a code imovelweb adds that this API has no name for yet decodes to null. About a fifth of listings hide their map position (`location.latitude` null); the detail route usually still has coordinates. Rent and season listings give the rental period only in their text, and imovelweb sends no IPTU on search results. `applied_filters` is imovelweb's own account of the filters it applied, in this API's parameter names: compare it with the request to spot a filter imovelweb dropped. Search a publisher's portfolio with `publisher_id`. Pages stop at page 1,000 (30,000 listings); narrow the filters to reach the rest. Priced per page, not per listing. Costs 2 credits. */
10
+ /** Searches homes, commercial properties, and developments for sale or rent. Returns 30 listings per page with price, property details, location, photos, and publisher data. Costs 2 credits. */
11
11
  async listListings(params) {
12
12
  return this.base.get('/v1/imovelweb/listings', { ...params });
13
13
  }
14
- /** Map markers for a search: the 100 most relevant listings with id, title, first listed operation and price (a listing offered for both sale and rent can show its sale price on a rent search) and coordinates, the count of matching listings imovelweb can place on the map (`total`, lower than the search total), the `viewport`, and, when you filter by one location, its `area` with level, centre and GeoJSON outline. Takes the filters of `/listings`; the markers cannot be paged or re-sorted. imovelweb's map ignores `publisher_id`, so `applied_filters` leaves it out. imovelweb's map fails on many filters across the whole country or a state; those answer 400 with the reason (not charged): narrow to a city or neighbourhood or use `/listings`. `max_age=launching_soon` fails wherever the map runs, so it answers 422 before any call. Costs 1 credit. */
14
+ /** Returns map markers for the 100 most relevant listings, plus the matching count, viewport, and area boundary when available. Uses the filters from `/listings`. Costs 1 credit. */
15
15
  async mapListings(params) {
16
16
  return this.base.get('/v1/imovelweb/listings/map', { ...params });
17
17
  }
18
- /** One listing's full page: the complete description as plain text (line breaks kept, imovelweb's markup removed), every photo and floor plan in every size, every amenity with the area it belongs to, prices per operation, condo fee, the IPTU the page shows (`iptu`, no period given), coordinates, publication date, imovelweb's view counter when it shows one, the publisher with CRECI licence and the first digits of its phone (`publisher.partial_phone`; the full numbers are on `/publishers/{publisher_id}`), and a development's stage, ranges and units. `/listings/{posting_id}/publishers` lists the other agencies advertising the same property. Fields imovelweb sends that this API does not decode stay in `raw`, under imovelweb's names; a code imovelweb adds that this API has no name for yet decodes to null. A listing id imovelweb does not know answers 404. Costs 2 credits. */
18
+ /** Returns one listing with its description, prices, fees, location, photos, floor plans, amenities, publisher, and development details when applicable. Costs 2 credits. */
19
19
  async getListing(params) {
20
20
  const { posting_id } = params;
21
21
  return this.base.get(`/v1/imovelweb/listings/${encodeURIComponent(posting_id)}`);
22
22
  }
23
- /** Every publisher advertising the same property, when imovelweb groups duplicate listings (search results flag them in `duplicate_group_id`): each publisher's own listing id and URL, name, logo and ad tier, but no publisher id or price; fetch each `listing_id` from `/listings/{posting_id}` for those. A listing nobody else advertises answers an empty list, and so does an id imovelweb does not know; both are charged. Costs 1 credit. */
23
+ /** Returns every publisher advertising the same property, with each publisher's listing ID, URL, name, logo, and ad tier. Listings without duplicates return an empty list. Costs 1 credit. */
24
24
  async listListingPublishers(params) {
25
25
  const { posting_id } = params;
26
26
  return this.base.get(`/v1/imovelweb/listings/${encodeURIComponent(posting_id)}/publishers`);
27
27
  }
28
- /** Listings imovelweb shows as similar to this one (same area, type and price band), from imovelweb's compact card: its operation, property type and price arrive as display text and come back decoded, with rooms and areas, address and photos; fetch `/listings/{posting_id}` for the full record. A development or a listing imovelweb pairs with nothing answers an empty list. imovelweb does not check the id: one it does not know answers a couple of generic listings, charged like any other answer. Costs 1 credit. */
28
+ /** Returns listings with a similar area, property type, and price range. Each item includes its operation, price, rooms, area, address, and photos. Costs 1 credit. */
29
29
  async listSimilarListings(params) {
30
30
  const { posting_id, ...query } = params;
31
31
  return this.base.get(`/v1/imovelweb/listings/${encodeURIComponent(posting_id)}/similar`, query);
@@ -34,7 +34,7 @@ class ImovelwebClient {
34
34
  async listLocations(params) {
35
35
  return this.base.get('/v1/imovelweb/locations', { ...params });
36
36
  }
37
- /** An agency's or developer's profile: name, its phone text as the publisher writes it (`phone_text`) and parsed into +55 numbers (`phone_numbers`), office address, year joined, live and listed listing counts, logo, and the ratings buyers gave it (`ratings` is null when imovelweb keeps no statistics for the publisher; an unrated one has a null `review_count`, `average` and `recommend_percent`, and no questions). List its listings with `/listings?publisher_id=`. Owners selling directly (`publisher.type` `owner` on a search listing) have no profile page, so their ids answer the same 404 as an id imovelweb does not know; the listing's `whatsapp` is their contact. Costs 2 credits. */
37
+ /** Returns a broker or developer profile with contact details, address, logo, listing counts, and buyer ratings. Use `/listings?publisher_id=` for its listings. Costs 2 credits. */
38
38
  async getPublisher(params) {
39
39
  const { publisher_id } = params;
40
40
  return this.base.get(`/v1/imovelweb/publishers/${encodeURIComponent(publisher_id)}`);
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../src/services/imovelweb/client.ts"],"names":[],"mappings":";AAAA,oEAAoE;;;AAKpE,MAAa,eAAe;IACG;IAA7B,YAA6B,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAEjD,0zCAA0zC;IAC1zC,KAAK,CAAC,YAAY,CAAC,MAA0B;QAC3C,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAwB,wBAAwB,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACvF,CAAC;IAED,s1BAAs1B;IACt1B,KAAK,CAAC,WAAW,CAAC,MAAyB;QACzC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAuB,4BAA4B,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED,k3BAAk3B;IACl3B,KAAK,CAAC,UAAU,CAAC,MAAwB;QACvC,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAyB,0BAA0B,kBAAkB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED,ubAAub;IACvb,KAAK,CAAC,qBAAqB,CAAC,MAAmC;QAC7D,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA6B,0BAA0B,kBAAkB,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IAC1H,CAAC;IAED,ogBAAogB;IACpgB,KAAK,CAAC,mBAAmB,CAAC,MAAiC;QACzD,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA2B,0BAA0B,kBAAkB,CAAC,UAAU,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IAC5H,CAAC;IAED,uOAAuO;IACvO,KAAK,CAAC,aAAa,CAAC,MAA2B;QAC7C,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAqB,yBAAyB,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACrF,CAAC;IAED,irBAAirB;IACjrB,KAAK,CAAC,YAAY,CAAC,MAA0B;QAC3C,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QAChC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAqB,4BAA4B,kBAAkB,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAC3G,CAAC;CACF;AAzCD,0CAyCC"}
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../src/services/imovelweb/client.ts"],"names":[],"mappings":";AAAA,oEAAoE;;;AAKpE,MAAa,eAAe;IACG;IAA7B,YAA6B,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAEjD,kMAAkM;IAClM,KAAK,CAAC,YAAY,CAAC,MAA0B;QAC3C,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAwB,wBAAwB,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACvF,CAAC;IAED,sLAAsL;IACtL,KAAK,CAAC,WAAW,CAAC,MAAyB;QACzC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAuB,4BAA4B,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED,6KAA6K;IAC7K,KAAK,CAAC,UAAU,CAAC,MAAwB;QACvC,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAyB,0BAA0B,kBAAkB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED,+LAA+L;IAC/L,KAAK,CAAC,qBAAqB,CAAC,MAAmC;QAC7D,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;QAC9B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA6B,0BAA0B,kBAAkB,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IAC1H,CAAC;IAED,uKAAuK;IACvK,KAAK,CAAC,mBAAmB,CAAC,MAAiC;QACzD,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA2B,0BAA0B,kBAAkB,CAAC,UAAU,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IAC5H,CAAC;IAED,uOAAuO;IACvO,KAAK,CAAC,aAAa,CAAC,MAA2B;QAC7C,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAqB,yBAAyB,EAAE,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IACrF,CAAC;IAED,qLAAqL;IACrL,KAAK,CAAC,YAAY,CAAC,MAA0B;QAC3C,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QAChC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAqB,4BAA4B,kBAAkB,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAC3G,CAAC;CACF;AAzCD,0CAyCC"}