leadsnap-test-mcp 0.0.1

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 (432) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +412 -0
  3. package/api-promise.d.mts +3 -0
  4. package/api-promise.d.mts.map +1 -0
  5. package/api-promise.d.ts +3 -0
  6. package/api-promise.d.ts.map +1 -0
  7. package/api-promise.js +6 -0
  8. package/api-promise.js.map +1 -0
  9. package/api-promise.mjs +3 -0
  10. package/api-promise.mjs.map +1 -0
  11. package/client.d.mts +199 -0
  12. package/client.d.mts.map +1 -0
  13. package/client.d.ts +199 -0
  14. package/client.d.ts.map +1 -0
  15. package/client.js +488 -0
  16. package/client.js.map +1 -0
  17. package/client.mjs +484 -0
  18. package/client.mjs.map +1 -0
  19. package/core/api-promise.d.mts +46 -0
  20. package/core/api-promise.d.mts.map +1 -0
  21. package/core/api-promise.d.ts +46 -0
  22. package/core/api-promise.d.ts.map +1 -0
  23. package/core/api-promise.js +74 -0
  24. package/core/api-promise.js.map +1 -0
  25. package/core/api-promise.mjs +70 -0
  26. package/core/api-promise.mjs.map +1 -0
  27. package/core/error.d.mts +46 -0
  28. package/core/error.d.mts.map +1 -0
  29. package/core/error.d.ts +46 -0
  30. package/core/error.d.ts.map +1 -0
  31. package/core/error.js +113 -0
  32. package/core/error.js.map +1 -0
  33. package/core/error.mjs +97 -0
  34. package/core/error.mjs.map +1 -0
  35. package/core/resource.d.mts +6 -0
  36. package/core/resource.d.mts.map +1 -0
  37. package/core/resource.d.ts +6 -0
  38. package/core/resource.d.ts.map +1 -0
  39. package/core/resource.js +11 -0
  40. package/core/resource.js.map +1 -0
  41. package/core/resource.mjs +7 -0
  42. package/core/resource.mjs.map +1 -0
  43. package/core/uploads.d.mts +3 -0
  44. package/core/uploads.d.mts.map +1 -0
  45. package/core/uploads.d.ts +3 -0
  46. package/core/uploads.d.ts.map +1 -0
  47. package/core/uploads.js +6 -0
  48. package/core/uploads.js.map +1 -0
  49. package/core/uploads.mjs +2 -0
  50. package/core/uploads.mjs.map +1 -0
  51. package/error.d.mts +3 -0
  52. package/error.d.mts.map +1 -0
  53. package/error.d.ts +3 -0
  54. package/error.d.ts.map +1 -0
  55. package/error.js +6 -0
  56. package/error.js.map +1 -0
  57. package/error.mjs +3 -0
  58. package/error.mjs.map +1 -0
  59. package/index.d.mts +6 -0
  60. package/index.d.mts.map +1 -0
  61. package/index.d.ts +6 -0
  62. package/index.d.ts.map +1 -0
  63. package/index.js +30 -0
  64. package/index.js.map +1 -0
  65. package/index.mjs +7 -0
  66. package/index.mjs.map +1 -0
  67. package/internal/builtin-types.d.mts +73 -0
  68. package/internal/builtin-types.d.mts.map +1 -0
  69. package/internal/builtin-types.d.ts +73 -0
  70. package/internal/builtin-types.d.ts.map +1 -0
  71. package/internal/builtin-types.js +4 -0
  72. package/internal/builtin-types.js.map +1 -0
  73. package/internal/builtin-types.mjs +3 -0
  74. package/internal/builtin-types.mjs.map +1 -0
  75. package/internal/detect-platform.d.mts +15 -0
  76. package/internal/detect-platform.d.mts.map +1 -0
  77. package/internal/detect-platform.d.ts +15 -0
  78. package/internal/detect-platform.d.ts.map +1 -0
  79. package/internal/detect-platform.js +162 -0
  80. package/internal/detect-platform.js.map +1 -0
  81. package/internal/detect-platform.mjs +157 -0
  82. package/internal/detect-platform.mjs.map +1 -0
  83. package/internal/errors.d.mts +3 -0
  84. package/internal/errors.d.mts.map +1 -0
  85. package/internal/errors.d.ts +3 -0
  86. package/internal/errors.d.ts.map +1 -0
  87. package/internal/errors.js +41 -0
  88. package/internal/errors.js.map +1 -0
  89. package/internal/errors.mjs +36 -0
  90. package/internal/errors.mjs.map +1 -0
  91. package/internal/headers.d.mts +20 -0
  92. package/internal/headers.d.mts.map +1 -0
  93. package/internal/headers.d.ts +20 -0
  94. package/internal/headers.d.ts.map +1 -0
  95. package/internal/headers.js +79 -0
  96. package/internal/headers.js.map +1 -0
  97. package/internal/headers.mjs +74 -0
  98. package/internal/headers.mjs.map +1 -0
  99. package/internal/parse.d.mts +12 -0
  100. package/internal/parse.d.mts.map +1 -0
  101. package/internal/parse.d.ts +12 -0
  102. package/internal/parse.d.ts.map +1 -0
  103. package/internal/parse.js +40 -0
  104. package/internal/parse.js.map +1 -0
  105. package/internal/parse.mjs +37 -0
  106. package/internal/parse.mjs.map +1 -0
  107. package/internal/request-options.d.mts +75 -0
  108. package/internal/request-options.d.mts.map +1 -0
  109. package/internal/request-options.d.ts +75 -0
  110. package/internal/request-options.d.ts.map +1 -0
  111. package/internal/request-options.js +14 -0
  112. package/internal/request-options.js.map +1 -0
  113. package/internal/request-options.mjs +10 -0
  114. package/internal/request-options.mjs.map +1 -0
  115. package/internal/shim-types.d.mts +17 -0
  116. package/internal/shim-types.d.mts.map +1 -0
  117. package/internal/shim-types.d.ts +17 -0
  118. package/internal/shim-types.d.ts.map +1 -0
  119. package/internal/shim-types.js +4 -0
  120. package/internal/shim-types.js.map +1 -0
  121. package/internal/shim-types.mjs +3 -0
  122. package/internal/shim-types.mjs.map +1 -0
  123. package/internal/shims.d.mts +26 -0
  124. package/internal/shims.d.mts.map +1 -0
  125. package/internal/shims.d.ts +26 -0
  126. package/internal/shims.d.ts.map +1 -0
  127. package/internal/shims.js +92 -0
  128. package/internal/shims.js.map +1 -0
  129. package/internal/shims.mjs +85 -0
  130. package/internal/shims.mjs.map +1 -0
  131. package/internal/to-file.d.mts +45 -0
  132. package/internal/to-file.d.mts.map +1 -0
  133. package/internal/to-file.d.ts +45 -0
  134. package/internal/to-file.d.ts.map +1 -0
  135. package/internal/to-file.js +91 -0
  136. package/internal/to-file.js.map +1 -0
  137. package/internal/to-file.mjs +88 -0
  138. package/internal/to-file.mjs.map +1 -0
  139. package/internal/tslib.js +81 -0
  140. package/internal/tslib.mjs +17 -0
  141. package/internal/types.d.mts +69 -0
  142. package/internal/types.d.mts.map +1 -0
  143. package/internal/types.d.ts +69 -0
  144. package/internal/types.d.ts.map +1 -0
  145. package/internal/types.js +4 -0
  146. package/internal/types.js.map +1 -0
  147. package/internal/types.mjs +3 -0
  148. package/internal/types.mjs.map +1 -0
  149. package/internal/uploads.d.mts +42 -0
  150. package/internal/uploads.d.mts.map +1 -0
  151. package/internal/uploads.d.ts +42 -0
  152. package/internal/uploads.d.ts.map +1 -0
  153. package/internal/uploads.js +141 -0
  154. package/internal/uploads.js.map +1 -0
  155. package/internal/uploads.mjs +131 -0
  156. package/internal/uploads.mjs.map +1 -0
  157. package/internal/utils/base64.d.mts +3 -0
  158. package/internal/utils/base64.d.mts.map +1 -0
  159. package/internal/utils/base64.d.ts +3 -0
  160. package/internal/utils/base64.d.ts.map +1 -0
  161. package/internal/utils/base64.js +38 -0
  162. package/internal/utils/base64.js.map +1 -0
  163. package/internal/utils/base64.mjs +33 -0
  164. package/internal/utils/base64.mjs.map +1 -0
  165. package/internal/utils/bytes.d.mts +4 -0
  166. package/internal/utils/bytes.d.mts.map +1 -0
  167. package/internal/utils/bytes.d.ts +4 -0
  168. package/internal/utils/bytes.d.ts.map +1 -0
  169. package/internal/utils/bytes.js +31 -0
  170. package/internal/utils/bytes.js.map +1 -0
  171. package/internal/utils/bytes.mjs +26 -0
  172. package/internal/utils/bytes.mjs.map +1 -0
  173. package/internal/utils/env.d.mts +9 -0
  174. package/internal/utils/env.d.mts.map +1 -0
  175. package/internal/utils/env.d.ts +9 -0
  176. package/internal/utils/env.d.ts.map +1 -0
  177. package/internal/utils/env.js +22 -0
  178. package/internal/utils/env.js.map +1 -0
  179. package/internal/utils/env.mjs +18 -0
  180. package/internal/utils/env.mjs.map +1 -0
  181. package/internal/utils/log.d.mts +37 -0
  182. package/internal/utils/log.d.mts.map +1 -0
  183. package/internal/utils/log.d.ts +37 -0
  184. package/internal/utils/log.d.ts.map +1 -0
  185. package/internal/utils/log.js +87 -0
  186. package/internal/utils/log.js.map +1 -0
  187. package/internal/utils/log.mjs +81 -0
  188. package/internal/utils/log.mjs.map +1 -0
  189. package/internal/utils/path.d.mts +15 -0
  190. package/internal/utils/path.d.mts.map +1 -0
  191. package/internal/utils/path.d.ts +15 -0
  192. package/internal/utils/path.d.ts.map +1 -0
  193. package/internal/utils/path.js +79 -0
  194. package/internal/utils/path.js.map +1 -0
  195. package/internal/utils/path.mjs +74 -0
  196. package/internal/utils/path.mjs.map +1 -0
  197. package/internal/utils/query.d.mts +5 -0
  198. package/internal/utils/query.d.mts.map +1 -0
  199. package/internal/utils/query.d.ts +5 -0
  200. package/internal/utils/query.d.ts.map +1 -0
  201. package/internal/utils/query.js +23 -0
  202. package/internal/utils/query.js.map +1 -0
  203. package/internal/utils/query.mjs +20 -0
  204. package/internal/utils/query.mjs.map +1 -0
  205. package/internal/utils/sleep.d.mts +2 -0
  206. package/internal/utils/sleep.d.mts.map +1 -0
  207. package/internal/utils/sleep.d.ts +2 -0
  208. package/internal/utils/sleep.d.ts.map +1 -0
  209. package/internal/utils/sleep.js +7 -0
  210. package/internal/utils/sleep.js.map +1 -0
  211. package/internal/utils/sleep.mjs +3 -0
  212. package/internal/utils/sleep.mjs.map +1 -0
  213. package/internal/utils/uuid.d.mts +5 -0
  214. package/internal/utils/uuid.d.mts.map +1 -0
  215. package/internal/utils/uuid.d.ts +5 -0
  216. package/internal/utils/uuid.d.ts.map +1 -0
  217. package/internal/utils/uuid.js +19 -0
  218. package/internal/utils/uuid.js.map +1 -0
  219. package/internal/utils/uuid.mjs +15 -0
  220. package/internal/utils/uuid.mjs.map +1 -0
  221. package/internal/utils/values.d.mts +18 -0
  222. package/internal/utils/values.d.mts.map +1 -0
  223. package/internal/utils/values.d.ts +18 -0
  224. package/internal/utils/values.d.ts.map +1 -0
  225. package/internal/utils/values.js +112 -0
  226. package/internal/utils/values.js.map +1 -0
  227. package/internal/utils/values.mjs +94 -0
  228. package/internal/utils/values.mjs.map +1 -0
  229. package/internal/utils.d.mts +8 -0
  230. package/internal/utils.d.mts.map +1 -0
  231. package/internal/utils.d.ts +8 -0
  232. package/internal/utils.d.ts.map +1 -0
  233. package/internal/utils.js +12 -0
  234. package/internal/utils.js.map +1 -0
  235. package/internal/utils.mjs +9 -0
  236. package/internal/utils.mjs.map +1 -0
  237. package/package.json +143 -0
  238. package/resource.d.mts +3 -0
  239. package/resource.d.mts.map +1 -0
  240. package/resource.d.ts +3 -0
  241. package/resource.d.ts.map +1 -0
  242. package/resource.js +6 -0
  243. package/resource.js.map +1 -0
  244. package/resource.mjs +3 -0
  245. package/resource.mjs.map +1 -0
  246. package/resources/index.d.mts +2 -0
  247. package/resources/index.d.mts.map +1 -0
  248. package/resources/index.d.ts +2 -0
  249. package/resources/index.d.ts.map +1 -0
  250. package/resources/index.js +7 -0
  251. package/resources/index.js.map +1 -0
  252. package/resources/index.mjs +3 -0
  253. package/resources/index.mjs.map +1 -0
  254. package/resources/public/api/api.d.mts +10 -0
  255. package/resources/public/api/api.d.mts.map +1 -0
  256. package/resources/public/api/api.d.ts +10 -0
  257. package/resources/public/api/api.d.ts.map +1 -0
  258. package/resources/public/api/api.js +17 -0
  259. package/resources/public/api/api.js.map +1 -0
  260. package/resources/public/api/api.mjs +12 -0
  261. package/resources/public/api/api.mjs.map +1 -0
  262. package/resources/public/api/index.d.mts +3 -0
  263. package/resources/public/api/index.d.mts.map +1 -0
  264. package/resources/public/api/index.d.ts +3 -0
  265. package/resources/public/api/index.d.ts.map +1 -0
  266. package/resources/public/api/index.js +9 -0
  267. package/resources/public/api/index.js.map +1 -0
  268. package/resources/public/api/index.mjs +4 -0
  269. package/resources/public/api/index.mjs.map +1 -0
  270. package/resources/public/api/v1/heatmap/heatmap.d.mts +724 -0
  271. package/resources/public/api/v1/heatmap/heatmap.d.mts.map +1 -0
  272. package/resources/public/api/v1/heatmap/heatmap.d.ts +724 -0
  273. package/resources/public/api/v1/heatmap/heatmap.d.ts.map +1 -0
  274. package/resources/public/api/v1/heatmap/heatmap.js +163 -0
  275. package/resources/public/api/v1/heatmap/heatmap.js.map +1 -0
  276. package/resources/public/api/v1/heatmap/heatmap.mjs +158 -0
  277. package/resources/public/api/v1/heatmap/heatmap.mjs.map +1 -0
  278. package/resources/public/api/v1/heatmap/index.d.mts +3 -0
  279. package/resources/public/api/v1/heatmap/index.d.mts.map +1 -0
  280. package/resources/public/api/v1/heatmap/index.d.ts +3 -0
  281. package/resources/public/api/v1/heatmap/index.d.ts.map +1 -0
  282. package/resources/public/api/v1/heatmap/index.js +9 -0
  283. package/resources/public/api/v1/heatmap/index.js.map +1 -0
  284. package/resources/public/api/v1/heatmap/index.mjs +4 -0
  285. package/resources/public/api/v1/heatmap/index.mjs.map +1 -0
  286. package/resources/public/api/v1/heatmap/schedules.d.mts +775 -0
  287. package/resources/public/api/v1/heatmap/schedules.d.mts.map +1 -0
  288. package/resources/public/api/v1/heatmap/schedules.d.ts +775 -0
  289. package/resources/public/api/v1/heatmap/schedules.d.ts.map +1 -0
  290. package/resources/public/api/v1/heatmap/schedules.js +146 -0
  291. package/resources/public/api/v1/heatmap/schedules.js.map +1 -0
  292. package/resources/public/api/v1/heatmap/schedules.mjs +142 -0
  293. package/resources/public/api/v1/heatmap/schedules.mjs.map +1 -0
  294. package/resources/public/api/v1/heatmap.d.mts +2 -0
  295. package/resources/public/api/v1/heatmap.d.mts.map +1 -0
  296. package/resources/public/api/v1/heatmap.d.ts +2 -0
  297. package/resources/public/api/v1/heatmap.d.ts.map +1 -0
  298. package/resources/public/api/v1/heatmap.js +6 -0
  299. package/resources/public/api/v1/heatmap.js.map +1 -0
  300. package/resources/public/api/v1/heatmap.mjs +3 -0
  301. package/resources/public/api/v1/heatmap.mjs.map +1 -0
  302. package/resources/public/api/v1/index.d.mts +3 -0
  303. package/resources/public/api/v1/index.d.mts.map +1 -0
  304. package/resources/public/api/v1/index.d.ts +3 -0
  305. package/resources/public/api/v1/index.d.ts.map +1 -0
  306. package/resources/public/api/v1/index.js +9 -0
  307. package/resources/public/api/v1/index.js.map +1 -0
  308. package/resources/public/api/v1/index.mjs +4 -0
  309. package/resources/public/api/v1/index.mjs.map +1 -0
  310. package/resources/public/api/v1/v1.d.mts +10 -0
  311. package/resources/public/api/v1/v1.d.mts.map +1 -0
  312. package/resources/public/api/v1/v1.d.ts +10 -0
  313. package/resources/public/api/v1/v1.d.ts.map +1 -0
  314. package/resources/public/api/v1/v1.js +17 -0
  315. package/resources/public/api/v1/v1.js.map +1 -0
  316. package/resources/public/api/v1/v1.mjs +12 -0
  317. package/resources/public/api/v1/v1.mjs.map +1 -0
  318. package/resources/public/api/v1.d.mts +2 -0
  319. package/resources/public/api/v1.d.mts.map +1 -0
  320. package/resources/public/api/v1.d.ts +2 -0
  321. package/resources/public/api/v1.d.ts.map +1 -0
  322. package/resources/public/api/v1.js +6 -0
  323. package/resources/public/api/v1.js.map +1 -0
  324. package/resources/public/api/v1.mjs +3 -0
  325. package/resources/public/api/v1.mjs.map +1 -0
  326. package/resources/public/api.d.mts +2 -0
  327. package/resources/public/api.d.mts.map +1 -0
  328. package/resources/public/api.d.ts +2 -0
  329. package/resources/public/api.d.ts.map +1 -0
  330. package/resources/public/api.js +6 -0
  331. package/resources/public/api.js.map +1 -0
  332. package/resources/public/api.mjs +3 -0
  333. package/resources/public/api.mjs.map +1 -0
  334. package/resources/public/index.d.mts +3 -0
  335. package/resources/public/index.d.mts.map +1 -0
  336. package/resources/public/index.d.ts +3 -0
  337. package/resources/public/index.d.ts.map +1 -0
  338. package/resources/public/index.js +9 -0
  339. package/resources/public/index.js.map +1 -0
  340. package/resources/public/index.mjs +4 -0
  341. package/resources/public/index.mjs.map +1 -0
  342. package/resources/public/public.d.mts +10 -0
  343. package/resources/public/public.d.mts.map +1 -0
  344. package/resources/public/public.d.ts +10 -0
  345. package/resources/public/public.d.ts.map +1 -0
  346. package/resources/public/public.js +17 -0
  347. package/resources/public/public.js.map +1 -0
  348. package/resources/public/public.mjs +12 -0
  349. package/resources/public/public.mjs.map +1 -0
  350. package/resources/public.d.mts +2 -0
  351. package/resources/public.d.mts.map +1 -0
  352. package/resources/public.d.ts +2 -0
  353. package/resources/public.d.ts.map +1 -0
  354. package/resources/public.js +6 -0
  355. package/resources/public.js.map +1 -0
  356. package/resources/public.mjs +3 -0
  357. package/resources/public.mjs.map +1 -0
  358. package/resources.d.mts +2 -0
  359. package/resources.d.mts.map +1 -0
  360. package/resources.d.ts +2 -0
  361. package/resources.d.ts.map +1 -0
  362. package/resources.js +5 -0
  363. package/resources.js.map +1 -0
  364. package/resources.mjs +2 -0
  365. package/resources.mjs.map +1 -0
  366. package/src/api-promise.ts +2 -0
  367. package/src/client.ts +770 -0
  368. package/src/core/README.md +3 -0
  369. package/src/core/api-promise.ts +92 -0
  370. package/src/core/error.ts +130 -0
  371. package/src/core/resource.ts +11 -0
  372. package/src/core/uploads.ts +2 -0
  373. package/src/error.ts +2 -0
  374. package/src/index.ts +22 -0
  375. package/src/internal/README.md +3 -0
  376. package/src/internal/builtin-types.ts +93 -0
  377. package/src/internal/detect-platform.ts +196 -0
  378. package/src/internal/errors.ts +33 -0
  379. package/src/internal/headers.ts +97 -0
  380. package/src/internal/parse.ts +56 -0
  381. package/src/internal/request-options.ts +91 -0
  382. package/src/internal/shim-types.ts +26 -0
  383. package/src/internal/shims.ts +107 -0
  384. package/src/internal/to-file.ts +154 -0
  385. package/src/internal/types.ts +93 -0
  386. package/src/internal/uploads.ts +187 -0
  387. package/src/internal/utils/base64.ts +40 -0
  388. package/src/internal/utils/bytes.ts +32 -0
  389. package/src/internal/utils/env.ts +18 -0
  390. package/src/internal/utils/log.ts +128 -0
  391. package/src/internal/utils/path.ts +88 -0
  392. package/src/internal/utils/query.ts +23 -0
  393. package/src/internal/utils/sleep.ts +3 -0
  394. package/src/internal/utils/uuid.ts +17 -0
  395. package/src/internal/utils/values.ts +105 -0
  396. package/src/internal/utils.ts +9 -0
  397. package/src/lib/.keep +4 -0
  398. package/src/resource.ts +2 -0
  399. package/src/resources/index.ts +3 -0
  400. package/src/resources/public/api/api.ts +15 -0
  401. package/src/resources/public/api/index.ts +4 -0
  402. package/src/resources/public/api/v1/heatmap/heatmap.ts +1165 -0
  403. package/src/resources/public/api/v1/heatmap/index.ts +29 -0
  404. package/src/resources/public/api/v1/heatmap/schedules.ts +1189 -0
  405. package/src/resources/public/api/v1/heatmap.ts +3 -0
  406. package/src/resources/public/api/v1/index.ts +18 -0
  407. package/src/resources/public/api/v1/v1.ts +43 -0
  408. package/src/resources/public/api/v1.ts +3 -0
  409. package/src/resources/public/api.ts +3 -0
  410. package/src/resources/public/index.ts +4 -0
  411. package/src/resources/public/public.ts +15 -0
  412. package/src/resources/public.ts +3 -0
  413. package/src/resources.ts +1 -0
  414. package/src/tsconfig.json +11 -0
  415. package/src/uploads.ts +2 -0
  416. package/src/version.ts +1 -0
  417. package/uploads.d.mts +3 -0
  418. package/uploads.d.mts.map +1 -0
  419. package/uploads.d.ts +3 -0
  420. package/uploads.d.ts.map +1 -0
  421. package/uploads.js +6 -0
  422. package/uploads.js.map +1 -0
  423. package/uploads.mjs +3 -0
  424. package/uploads.mjs.map +1 -0
  425. package/version.d.mts +2 -0
  426. package/version.d.mts.map +1 -0
  427. package/version.d.ts +2 -0
  428. package/version.d.ts.map +1 -0
  429. package/version.js +5 -0
  430. package/version.js.map +1 -0
  431. package/version.mjs +2 -0
  432. package/version.mjs.map +1 -0
@@ -0,0 +1,775 @@
1
+ import { APIResource } from "../../../../../core/resource.js";
2
+ import { APIPromise } from "../../../../../core/api-promise.js";
3
+ import { RequestOptions } from "../../../../../internal/request-options.js";
4
+ /**
5
+ *
6
+ * Create and manage automated heatmap schedules. Schedules run heatmaps on a recurring interval (weekly, monthly, or custom).
7
+ */
8
+ export declare class Schedules extends APIResource {
9
+ /**
10
+ * Returns a paginated list of heatmap schedules for the account. Supports
11
+ * filtering, sorting, searching, and pagination.
12
+ *
13
+ * **Pagination** — all list responses include pagination fields at the root level
14
+ * alongside `data`:
15
+ *
16
+ * - `total` total matching records; `last_page` total pages; `per_page` results
17
+ * per page (default 25)
18
+ * - `next_page_url` URL of the next page (`null` on the last page)
19
+ * - `links` array of page link objects (`url`, `label`, `active`)
20
+ *
21
+ * **Date filters** — date params accept an object with `start_date` and/or
22
+ * `end_date` (YYYY-MM-DD):
23
+ *
24
+ * ```
25
+ * filter[created_at][start_date]=2026-01-01
26
+ * filter[created_at][end_date]=2026-04-30
27
+ * ```
28
+ *
29
+ * Named range aliases are also supported via `filter[created_at][date_range]`:
30
+ * `today`, `yesterday`, `last_7_days`, `last_30_days`, `this_month`, `last_month`,
31
+ * `this_year`, `last_year`, `all_time`
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const response =
36
+ * await client.public.api.v1.heatmap.schedules.listSchedules();
37
+ * ```
38
+ */
39
+ listSchedules(query?: ScheduleListSchedulesParams | null | undefined, options?: RequestOptions): APIPromise<ScheduleListSchedulesResponse>;
40
+ /**
41
+ * Creates a new automated heatmap schedule. The schedule will run heatmaps on the
42
+ * specified recurrence.
43
+ *
44
+ * @example
45
+ * ```ts
46
+ * const response =
47
+ * await client.public.api.v1.heatmap.schedules.createSchedule(
48
+ * {
49
+ * heatmap_config: {
50
+ * grid_points: [
51
+ * { lat: 28.174798245111, lng: -81.429216072674 },
52
+ * { lat: 28.174798245111, lng: -81.457292244549 },
53
+ * { lat: 28.198987716187, lng: -81.401139900799 },
54
+ * { lat: 28.198987716187, lng: -81.429216072674 },
55
+ * { lat: 28.198987716187, lng: -81.457292244549 },
56
+ * ],
57
+ * keywords: [
58
+ * 'Plumbing',
59
+ * 'general contractor',
60
+ * 'electrician',
61
+ * 'hvac',
62
+ * ],
63
+ * name: 'Weekly Roofing Check',
64
+ * place_id: 2795512,
65
+ * },
66
+ * schedule_config: { repeat_type: 'custom-month' },
67
+ * },
68
+ * );
69
+ * ```
70
+ */
71
+ createSchedule(body: ScheduleCreateScheduleParams, options?: RequestOptions): APIPromise<ScheduleCreateScheduleResponse>;
72
+ /**
73
+ * Returns full details of a single heatmap schedule including its configuration
74
+ * and next run time.
75
+ *
76
+ * @example
77
+ * ```ts
78
+ * const response =
79
+ * await client.public.api.v1.heatmap.schedules.retrieveSchedule(
80
+ * 10,
81
+ * );
82
+ * ```
83
+ */
84
+ retrieveSchedule(schedule: number, options?: RequestOptions): APIPromise<ScheduleRetrieveScheduleResponse>;
85
+ /**
86
+ * Updates the grid configuration and/or recurrence settings of an existing
87
+ * schedule.
88
+ *
89
+ * @example
90
+ * ```ts
91
+ * const response =
92
+ * await client.public.api.v1.heatmap.schedules.updateSchedule(
93
+ * 89465,
94
+ * {
95
+ * heatmap_config: {
96
+ * name: 'Weekly Roofing Check Updated',
97
+ * place_id: 12,
98
+ * },
99
+ * schedule_config: { repeat_type: 'month' },
100
+ * },
101
+ * );
102
+ * ```
103
+ */
104
+ updateSchedule(scheduleID: number, body: ScheduleUpdateScheduleParams, options?: RequestOptions): APIPromise<ScheduleUpdateScheduleResponse>;
105
+ /**
106
+ * Pauses an active schedule so it stops running until resumed.
107
+ *
108
+ * @example
109
+ * ```ts
110
+ * const response =
111
+ * await client.public.api.v1.heatmap.schedules.pauseSchedule(
112
+ * 10,
113
+ * );
114
+ * ```
115
+ */
116
+ pauseSchedule(scheduleID: number, options?: RequestOptions): APIPromise<SchedulePauseScheduleResponse>;
117
+ /**
118
+ * Resumes a paused schedule so it runs again on its next scheduled date.
119
+ *
120
+ * @example
121
+ * ```ts
122
+ * const response =
123
+ * await client.public.api.v1.heatmap.schedules.resumeSchedule(
124
+ * 10,
125
+ * );
126
+ * ```
127
+ */
128
+ resumeSchedule(scheduleID: number, options?: RequestOptions): APIPromise<ScheduleResumeScheduleResponse>;
129
+ }
130
+ export interface ScheduleCreateScheduleResponse {
131
+ id?: number;
132
+ draw_type?: string;
133
+ google_location?: string | null;
134
+ grid_points?: Array<ScheduleCreateScheduleResponse.GridPoint>;
135
+ grid_size?: number;
136
+ keywords?: Array<string>;
137
+ lat?: number;
138
+ lead_source_id?: string | null;
139
+ length_unit?: string;
140
+ lng?: number;
141
+ name?: string;
142
+ place?: ScheduleCreateScheduleResponse.Place;
143
+ place_id?: number;
144
+ radius?: number;
145
+ schedule_config?: ScheduleCreateScheduleResponse.ScheduleConfig;
146
+ status?: string;
147
+ stop_reason?: string;
148
+ zoom_level?: string | null;
149
+ }
150
+ export declare namespace ScheduleCreateScheduleResponse {
151
+ interface GridPoint {
152
+ lat?: number;
153
+ lng?: number;
154
+ }
155
+ interface Place {
156
+ id?: number;
157
+ address?: string;
158
+ ave_review_rating?: number;
159
+ feature_id?: string | null;
160
+ google_place_id?: string;
161
+ google_place_serial?: string;
162
+ latitude?: string;
163
+ longitude?: string;
164
+ main_category?: string;
165
+ map_url?: string;
166
+ name?: string;
167
+ phone?: string;
168
+ place_url?: string;
169
+ ranking?: string | null;
170
+ related_categories?: Array<string>;
171
+ review_count?: number;
172
+ thumbnail_url?: string;
173
+ website_url?: string;
174
+ }
175
+ interface ScheduleConfig {
176
+ id?: number;
177
+ ai_recurring?: number;
178
+ created_at?: string;
179
+ delete_oldpost_on_recurring?: number;
180
+ is_recurring?: number;
181
+ last_schedule_ran_at?: string | null;
182
+ recurring_count?: number;
183
+ repeat_every?: number;
184
+ repeat_on?: string;
185
+ repeat_type?: string;
186
+ scheduled_at?: string;
187
+ status?: string;
188
+ stop_reason?: string;
189
+ timezone?: string;
190
+ updated_at?: string;
191
+ }
192
+ }
193
+ export interface ScheduleListSchedulesResponse {
194
+ current_page?: number;
195
+ data?: Array<ScheduleListSchedulesResponse.Data>;
196
+ first_page_url?: string;
197
+ from?: number;
198
+ last_page?: number;
199
+ last_page_url?: string;
200
+ links?: Array<ScheduleListSchedulesResponse.Link>;
201
+ next_page_url?: string | null;
202
+ path?: string;
203
+ per_page?: number;
204
+ prev_page_url?: string | null;
205
+ to?: number;
206
+ total?: number;
207
+ }
208
+ export declare namespace ScheduleListSchedulesResponse {
209
+ interface Data {
210
+ id?: number;
211
+ draw_type?: string | null;
212
+ google_location?: string | null;
213
+ grid_points?: Array<Data.GridPoint>;
214
+ grid_size?: number;
215
+ keywords?: Array<string>;
216
+ lat?: string;
217
+ lead_source_id?: string | null;
218
+ length_unit?: string;
219
+ lng?: string;
220
+ name?: string;
221
+ place?: Data.Place;
222
+ place_id?: number;
223
+ radius?: number;
224
+ schedule_config?: Data.ScheduleConfig;
225
+ status?: string;
226
+ stop_reason?: string;
227
+ zoom_level?: string | null;
228
+ }
229
+ namespace Data {
230
+ interface GridPoint {
231
+ lat?: string;
232
+ lng?: string;
233
+ }
234
+ interface Place {
235
+ id?: number;
236
+ address?: string;
237
+ ave_review_rating?: number;
238
+ feature_id?: string;
239
+ google_place_id?: string;
240
+ google_place_serial?: string;
241
+ latitude?: string;
242
+ longitude?: string;
243
+ main_category?: string;
244
+ map_url?: string;
245
+ name?: string;
246
+ phone?: string;
247
+ place_url?: string;
248
+ ranking?: string | null;
249
+ related_categories?: Array<string>;
250
+ review_count?: number;
251
+ thumbnail_url?: string;
252
+ website_url?: string;
253
+ }
254
+ interface ScheduleConfig {
255
+ id?: number;
256
+ ai_recurring?: number;
257
+ created_at?: string;
258
+ delete_oldpost_on_recurring?: number;
259
+ is_recurring?: number;
260
+ last_schedule_ran_at?: string | null;
261
+ recurring_count?: number;
262
+ repeat_every?: number;
263
+ repeat_on?: string;
264
+ repeat_type?: string;
265
+ scheduled_at?: string;
266
+ status?: string;
267
+ stop_reason?: string;
268
+ timezone?: string;
269
+ updated_at?: string;
270
+ }
271
+ }
272
+ interface Link {
273
+ active?: boolean;
274
+ label?: string;
275
+ url?: string | null;
276
+ }
277
+ }
278
+ export interface SchedulePauseScheduleResponse {
279
+ id?: number;
280
+ draw_type?: string | null;
281
+ google_location?: string | null;
282
+ grid_points?: Array<SchedulePauseScheduleResponse.GridPoint>;
283
+ grid_size?: string | null;
284
+ keywords?: Array<string>;
285
+ lat?: string;
286
+ lead_source_id?: string | null;
287
+ length_unit?: string;
288
+ lng?: string;
289
+ name?: string;
290
+ place?: SchedulePauseScheduleResponse.Place;
291
+ place_id?: number;
292
+ radius?: string | null;
293
+ schedule_config?: SchedulePauseScheduleResponse.ScheduleConfig;
294
+ status?: string;
295
+ stop_reason?: string;
296
+ zoom_level?: string | null;
297
+ }
298
+ export declare namespace SchedulePauseScheduleResponse {
299
+ interface GridPoint {
300
+ lat?: number;
301
+ lng?: number;
302
+ }
303
+ interface Place {
304
+ id?: number;
305
+ address?: string;
306
+ ave_review_rating?: number;
307
+ feature_id?: string | null;
308
+ google_place_id?: string;
309
+ google_place_serial?: string;
310
+ latitude?: string;
311
+ longitude?: string;
312
+ main_category?: string;
313
+ map_url?: string;
314
+ name?: string;
315
+ phone?: string;
316
+ place_url?: string;
317
+ ranking?: string | null;
318
+ related_categories?: Array<string>;
319
+ review_count?: number;
320
+ thumbnail_url?: string;
321
+ website_url?: string;
322
+ }
323
+ interface ScheduleConfig {
324
+ id?: number;
325
+ ai_recurring?: number;
326
+ created_at?: string;
327
+ delete_oldpost_on_recurring?: number;
328
+ is_recurring?: number;
329
+ last_schedule_ran_at?: string | null;
330
+ recurring_count?: number;
331
+ repeat_every?: number;
332
+ repeat_on?: string;
333
+ repeat_type?: string;
334
+ scheduled_at?: string;
335
+ status?: string;
336
+ stop_reason?: string;
337
+ timezone?: string;
338
+ updated_at?: string;
339
+ }
340
+ }
341
+ export interface ScheduleResumeScheduleResponse {
342
+ id?: number;
343
+ draw_type?: string | null;
344
+ google_location?: string | null;
345
+ grid_points?: Array<ScheduleResumeScheduleResponse.GridPoint>;
346
+ grid_size?: string | null;
347
+ keywords?: Array<string>;
348
+ lat?: string;
349
+ lead_source_id?: string | null;
350
+ length_unit?: string;
351
+ lng?: string;
352
+ name?: string;
353
+ place?: ScheduleResumeScheduleResponse.Place;
354
+ place_id?: number;
355
+ radius?: string | null;
356
+ schedule_config?: ScheduleResumeScheduleResponse.ScheduleConfig;
357
+ status?: string;
358
+ stop_reason?: string;
359
+ zoom_level?: string | null;
360
+ }
361
+ export declare namespace ScheduleResumeScheduleResponse {
362
+ interface GridPoint {
363
+ lat?: number;
364
+ lng?: number;
365
+ }
366
+ interface Place {
367
+ id?: number;
368
+ address?: string;
369
+ ave_review_rating?: number;
370
+ feature_id?: string | null;
371
+ google_place_id?: string;
372
+ google_place_serial?: string;
373
+ latitude?: string;
374
+ longitude?: string;
375
+ main_category?: string;
376
+ map_url?: string;
377
+ name?: string;
378
+ phone?: string;
379
+ place_url?: string;
380
+ ranking?: string | null;
381
+ related_categories?: Array<string>;
382
+ review_count?: number;
383
+ thumbnail_url?: string;
384
+ website_url?: string;
385
+ }
386
+ interface ScheduleConfig {
387
+ id?: number;
388
+ ai_recurring?: number;
389
+ created_at?: string;
390
+ delete_oldpost_on_recurring?: number;
391
+ is_recurring?: number;
392
+ last_schedule_ran_at?: string | null;
393
+ recurring_count?: number;
394
+ repeat_every?: number;
395
+ repeat_on?: string;
396
+ repeat_type?: string;
397
+ scheduled_at?: string;
398
+ status?: string;
399
+ stop_reason?: string;
400
+ timezone?: string;
401
+ updated_at?: string;
402
+ }
403
+ }
404
+ export interface ScheduleRetrieveScheduleResponse {
405
+ id?: number;
406
+ draw_type?: string | null;
407
+ google_location?: string | null;
408
+ grid_points?: Array<ScheduleRetrieveScheduleResponse.GridPoint>;
409
+ grid_size?: number;
410
+ keywords?: Array<string>;
411
+ lat?: string;
412
+ lead_source_id?: string | null;
413
+ length_unit?: string;
414
+ lng?: string;
415
+ name?: string;
416
+ place?: ScheduleRetrieveScheduleResponse.Place;
417
+ place_id?: number;
418
+ radius?: number;
419
+ schedule_config?: ScheduleRetrieveScheduleResponse.ScheduleConfig;
420
+ status?: string;
421
+ stop_reason?: string;
422
+ zoom_level?: string | null;
423
+ }
424
+ export declare namespace ScheduleRetrieveScheduleResponse {
425
+ interface GridPoint {
426
+ lat?: string;
427
+ lng?: string;
428
+ }
429
+ interface Place {
430
+ id?: number;
431
+ address?: string;
432
+ ave_review_rating?: number;
433
+ feature_id?: string;
434
+ google_place_id?: string;
435
+ google_place_serial?: string;
436
+ latitude?: string;
437
+ longitude?: string;
438
+ main_category?: string;
439
+ map_url?: string;
440
+ name?: string;
441
+ phone?: string;
442
+ place_url?: string;
443
+ ranking?: string | null;
444
+ related_categories?: Array<string>;
445
+ review_count?: number;
446
+ thumbnail_url?: string;
447
+ website_url?: string;
448
+ }
449
+ interface ScheduleConfig {
450
+ id?: number;
451
+ ai_recurring?: number;
452
+ created_at?: string;
453
+ delete_oldpost_on_recurring?: number;
454
+ is_recurring?: number;
455
+ last_schedule_ran_at?: string | null;
456
+ recurring_count?: number;
457
+ repeat_every?: number;
458
+ repeat_on?: string;
459
+ repeat_type?: string;
460
+ scheduled_at?: string;
461
+ status?: string;
462
+ stop_reason?: string;
463
+ timezone?: string;
464
+ updated_at?: string;
465
+ }
466
+ }
467
+ export interface ScheduleUpdateScheduleResponse {
468
+ id?: number;
469
+ draw_type?: string;
470
+ google_location?: string | null;
471
+ grid_points?: Array<ScheduleUpdateScheduleResponse.GridPoint>;
472
+ grid_size?: number;
473
+ keywords?: Array<string>;
474
+ lat?: number;
475
+ lead_source_id?: string | null;
476
+ length_unit?: string;
477
+ lng?: number;
478
+ name?: string;
479
+ place?: ScheduleUpdateScheduleResponse.Place;
480
+ place_id?: number;
481
+ radius?: number;
482
+ schedule_config?: ScheduleUpdateScheduleResponse.ScheduleConfig;
483
+ status?: string;
484
+ stop_reason?: string;
485
+ zoom_level?: string | null;
486
+ }
487
+ export declare namespace ScheduleUpdateScheduleResponse {
488
+ interface GridPoint {
489
+ lat?: number;
490
+ lng?: number;
491
+ }
492
+ interface Place {
493
+ id?: number;
494
+ address?: string;
495
+ ave_review_rating?: number;
496
+ feature_id?: string;
497
+ google_place_id?: string;
498
+ google_place_serial?: string;
499
+ latitude?: string;
500
+ longitude?: string;
501
+ main_category?: string;
502
+ map_url?: string;
503
+ name?: string;
504
+ phone?: string;
505
+ place_url?: string;
506
+ ranking?: string | null;
507
+ related_categories?: Array<string>;
508
+ review_count?: number;
509
+ thumbnail_url?: string;
510
+ website_url?: string;
511
+ }
512
+ interface ScheduleConfig {
513
+ id?: number;
514
+ ai_recurring?: number;
515
+ created_at?: string;
516
+ delete_oldpost_on_recurring?: number;
517
+ is_recurring?: number;
518
+ last_schedule_ran_at?: string | null;
519
+ recurring_count?: number;
520
+ repeat_every?: number;
521
+ repeat_on?: number;
522
+ repeat_type?: string;
523
+ scheduled_at?: string;
524
+ status?: string;
525
+ stop_reason?: string;
526
+ timezone?: string;
527
+ updated_at?: string;
528
+ }
529
+ }
530
+ export interface ScheduleListSchedulesParams {
531
+ /**
532
+ * Filter by lead source / company ID.
533
+ */
534
+ 'filter[company_id]'?: number;
535
+ /**
536
+ * Filter by creation date — range end (YYYY-MM-DD).
537
+ */
538
+ 'filter[created_at][end_date]'?: string;
539
+ /**
540
+ * Filter by creation date — range start (YYYY-MM-DD).
541
+ */
542
+ 'filter[created_at][start_date]'?: string;
543
+ /**
544
+ * Filter by Google Place ID (exact).
545
+ */
546
+ 'filter[google_place_id]'?: string;
547
+ /**
548
+ * Filter by keyword in the schedule (exact match).
549
+ */
550
+ 'filter[keyword]'?: string;
551
+ /**
552
+ * Filter by location ID.
553
+ */
554
+ 'filter[location_id]'?: number;
555
+ /**
556
+ * Filter by schedule name (partial match).
557
+ */
558
+ 'filter[name]'?: string;
559
+ /**
560
+ * Filter by place ID.
561
+ */
562
+ 'filter[place_id]'?: number;
563
+ /**
564
+ * Filter by repeat interval.
565
+ */
566
+ 'filter[repeat_every]'?: number;
567
+ /**
568
+ * Filter by day of week (1–7) or day of month (1–31) depending on repeat_type.
569
+ */
570
+ 'filter[repeat_on]'?: number;
571
+ /**
572
+ * Filter by repeat type. Accepted: `week`, `month`, `custom-day`, `custom-week`,
573
+ * `custom-month`.
574
+ */
575
+ 'filter[repeat_type]'?: string;
576
+ /**
577
+ * Filter by schedule status. Accepted: `active`, `paused`.
578
+ */
579
+ 'filter[status]'?: string;
580
+ /**
581
+ * Page number.
582
+ */
583
+ page?: number;
584
+ /**
585
+ * Number of results per page (default 25).
586
+ */
587
+ per_page?: number;
588
+ /**
589
+ * Full-text search across schedule name and place name.
590
+ */
591
+ search?: string;
592
+ /**
593
+ * Sort field. Prefix with `-` for descending. Accepted: `created_at`, `name`,
594
+ * `status`, `scheduled_at`, `last_schedule_ran_at`, `repeat_type`, `repeat_every`,
595
+ * `place_id`, `place.name`, `location_id`.
596
+ */
597
+ sort?: string;
598
+ }
599
+ export interface ScheduleCreateScheduleParams {
600
+ /**
601
+ * Grid and place configuration for the heatmap.
602
+ */
603
+ heatmap_config: ScheduleCreateScheduleParams.HeatmapConfig;
604
+ /**
605
+ * Recurrence settings for the schedule.
606
+ */
607
+ schedule_config: ScheduleCreateScheduleParams.ScheduleConfig;
608
+ }
609
+ export declare namespace ScheduleCreateScheduleParams {
610
+ /**
611
+ * Grid and place configuration for the heatmap.
612
+ */
613
+ interface HeatmapConfig {
614
+ /**
615
+ * Pre-computed grid point coordinates (min 1, max 169). Use the
616
+ * [Generate grid points](#tag/Heatmap-Points/POST/public/api/v1/heatmap/grid-points)
617
+ * endpoint to compute these from a grid config.
618
+ */
619
+ grid_points: Array<HeatmapConfig.GridPoint | null>;
620
+ /**
621
+ * Keywords to search.
622
+ */
623
+ keywords: Array<string>;
624
+ /**
625
+ * Schedule name.
626
+ */
627
+ name: string;
628
+ /**
629
+ * The heatmap place ID.
630
+ */
631
+ place_id: number;
632
+ /**
633
+ * optional Grid center latitude (informational).
634
+ */
635
+ lat?: number;
636
+ /**
637
+ * optional Lead source / company ID.
638
+ */
639
+ lead_source_id?: number;
640
+ /**
641
+ * optional Grid center longitude (informational).
642
+ */
643
+ lng?: number;
644
+ /**
645
+ * optional Location ID to associate the schedule with.
646
+ */
647
+ location_id?: number;
648
+ }
649
+ namespace HeatmapConfig {
650
+ interface GridPoint {
651
+ /**
652
+ * Latitude of the point.
653
+ */
654
+ lat: number;
655
+ /**
656
+ * Longitude of the point.
657
+ */
658
+ lng: number;
659
+ }
660
+ }
661
+ /**
662
+ * Recurrence settings for the schedule.
663
+ */
664
+ interface ScheduleConfig {
665
+ /**
666
+ * Recurrence pattern. Each value has different requirements for `repeat_every` and
667
+ * `repeat_on`:
668
+ *
669
+ * - `week` — runs once a week on a fixed day. **Requires** `repeat_on` (1=Monday …
670
+ * 7=Sunday). `repeat_every` is ignored.
671
+ *
672
+ * _Example: run every Monday → `repeat_type: "week", repeat_on: 1`_
673
+ *
674
+ * - `month` — runs once a month on a fixed calendar day. **Requires** `repeat_on`
675
+ * (1–31). `repeat_every` is ignored.
676
+ *
677
+ * _Example: run on the 15th of every month →
678
+ * `repeat_type: "month", repeat_on: 15`_
679
+ *
680
+ * - `custom-day` — runs every N days. **Requires** `repeat_every` (≥ 1).
681
+ * `repeat_on` is ignored.
682
+ *
683
+ * _Example: run every 3 days → `repeat_type: "custom-day", repeat_every: 3`_
684
+ *
685
+ * - `custom-week` — runs every N weeks. **Requires** `repeat_every` (≥ 1).
686
+ * `repeat_on` is ignored.
687
+ *
688
+ * _Example: run every 2 weeks → `repeat_type: "custom-week", repeat_every: 2`_
689
+ *
690
+ * - `custom-month` — runs every N months. **Requires** `repeat_every` (≥ 1).
691
+ * `repeat_on` is ignored.
692
+ *
693
+ * _Example: run every 6 months → `repeat_type: "custom-month", repeat_every: 6`_
694
+ */
695
+ repeat_type: string;
696
+ /**
697
+ * optional Required when `repeat_type` is `custom-day`, `custom-week`, or
698
+ * `custom-month`. Specifies the interval between runs (minimum 1). Ignored for
699
+ * `week` and `month`.
700
+ */
701
+ repeat_every?: number;
702
+ /**
703
+ * optional Required when `repeat_type` is `week` or `month`. For `week`: day of
704
+ * the week where 1=Monday and 7=Sunday. For `month`: day of the calendar month
705
+ * (1–31). Ignored for `custom-*` types.
706
+ */
707
+ repeat_on?: number;
708
+ /**
709
+ * optional Time of day to run the schedule in `HH:MM` 24-hour format. Defaults to
710
+ * `12:00`.
711
+ */
712
+ schedule_hour_minute?: string;
713
+ /**
714
+ * optional Timezone for the schedule. Accepts an IANA timezone name (e.g.
715
+ * `America/Chicago`) or a UTC offset (e.g. `+02:00`). Defaults to `UTC`.
716
+ */
717
+ timezone?: string;
718
+ }
719
+ }
720
+ export interface ScheduleUpdateScheduleParams {
721
+ /**
722
+ * Updated grid and place configuration.
723
+ */
724
+ heatmap_config: ScheduleUpdateScheduleParams.HeatmapConfig;
725
+ /**
726
+ * Updated recurrence settings.
727
+ */
728
+ schedule_config: ScheduleUpdateScheduleParams.ScheduleConfig;
729
+ }
730
+ export declare namespace ScheduleUpdateScheduleParams {
731
+ /**
732
+ * Updated grid and place configuration.
733
+ */
734
+ interface HeatmapConfig {
735
+ /**
736
+ * Schedule name.
737
+ */
738
+ name: string;
739
+ /**
740
+ * The heatmap place ID.
741
+ */
742
+ place_id: number;
743
+ /**
744
+ * optional Updated grid point coordinates, max 169 (omit to keep existing). Use
745
+ * the
746
+ * [Generate grid points](#tag/Heatmap-Points/POST/public/api/v1/heatmap/grid-points)
747
+ * endpoint to compute these from a grid config.
748
+ */
749
+ grid_points?: Array<{
750
+ [key: string]: unknown;
751
+ } | null>;
752
+ /**
753
+ * optional Keywords to search (omit to keep existing).
754
+ */
755
+ keywords?: Array<string>;
756
+ }
757
+ /**
758
+ * Updated recurrence settings.
759
+ */
760
+ interface ScheduleConfig {
761
+ /**
762
+ * Recurrence type. Accepted: `week`, `month`, `custom-day`, `custom-week`,
763
+ * `custom-month`.
764
+ */
765
+ repeat_type: string;
766
+ /**
767
+ * optional Day of week (1–7) or day of month (1–31).
768
+ */
769
+ repeat_on?: number;
770
+ }
771
+ }
772
+ export declare namespace Schedules {
773
+ export { type ScheduleCreateScheduleResponse as ScheduleCreateScheduleResponse, type ScheduleListSchedulesResponse as ScheduleListSchedulesResponse, type SchedulePauseScheduleResponse as SchedulePauseScheduleResponse, type ScheduleResumeScheduleResponse as ScheduleResumeScheduleResponse, type ScheduleRetrieveScheduleResponse as ScheduleRetrieveScheduleResponse, type ScheduleUpdateScheduleResponse as ScheduleUpdateScheduleResponse, type ScheduleListSchedulesParams as ScheduleListSchedulesParams, type ScheduleCreateScheduleParams as ScheduleCreateScheduleParams, type ScheduleUpdateScheduleParams as ScheduleUpdateScheduleParams, };
774
+ }
775
+ //# sourceMappingURL=schedules.d.ts.map