camara-sdk 0.1.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 (703) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/LICENSE +201 -0
  3. package/README.md +355 -0
  4. package/api-promise.d.mts +2 -0
  5. package/api-promise.d.mts.map +1 -0
  6. package/api-promise.d.ts +2 -0
  7. package/api-promise.d.ts.map +1 -0
  8. package/api-promise.js +6 -0
  9. package/api-promise.js.map +1 -0
  10. package/api-promise.mjs +2 -0
  11. package/api-promise.mjs.map +1 -0
  12. package/client.d.mts +294 -0
  13. package/client.d.mts.map +1 -0
  14. package/client.d.ts +294 -0
  15. package/client.d.ts.map +1 -0
  16. package/client.js +611 -0
  17. package/client.js.map +1 -0
  18. package/client.mjs +607 -0
  19. package/client.mjs.map +1 -0
  20. package/core/api-promise.d.mts +46 -0
  21. package/core/api-promise.d.mts.map +1 -0
  22. package/core/api-promise.d.ts +46 -0
  23. package/core/api-promise.d.ts.map +1 -0
  24. package/core/api-promise.js +74 -0
  25. package/core/api-promise.js.map +1 -0
  26. package/core/api-promise.mjs +70 -0
  27. package/core/api-promise.mjs.map +1 -0
  28. package/core/error.d.mts +46 -0
  29. package/core/error.d.mts.map +1 -0
  30. package/core/error.d.ts +46 -0
  31. package/core/error.d.ts.map +1 -0
  32. package/core/error.js +113 -0
  33. package/core/error.js.map +1 -0
  34. package/core/error.mjs +97 -0
  35. package/core/error.mjs.map +1 -0
  36. package/core/resource.d.mts +6 -0
  37. package/core/resource.d.mts.map +1 -0
  38. package/core/resource.d.ts +6 -0
  39. package/core/resource.d.ts.map +1 -0
  40. package/core/resource.js +11 -0
  41. package/core/resource.js.map +1 -0
  42. package/core/resource.mjs +7 -0
  43. package/core/resource.mjs.map +1 -0
  44. package/core/uploads.d.mts +3 -0
  45. package/core/uploads.d.mts.map +1 -0
  46. package/core/uploads.d.ts +3 -0
  47. package/core/uploads.d.ts.map +1 -0
  48. package/core/uploads.js +6 -0
  49. package/core/uploads.js.map +1 -0
  50. package/core/uploads.mjs +2 -0
  51. package/core/uploads.mjs.map +1 -0
  52. package/error.d.mts +2 -0
  53. package/error.d.mts.map +1 -0
  54. package/error.d.ts +2 -0
  55. package/error.d.ts.map +1 -0
  56. package/error.js +6 -0
  57. package/error.js.map +1 -0
  58. package/error.mjs +2 -0
  59. package/error.mjs.map +1 -0
  60. package/index.d.mts +6 -0
  61. package/index.d.mts.map +1 -0
  62. package/index.d.ts +6 -0
  63. package/index.d.ts.map +1 -0
  64. package/index.js +30 -0
  65. package/index.js.map +1 -0
  66. package/index.mjs +7 -0
  67. package/index.mjs.map +1 -0
  68. package/internal/builtin-types.d.mts +73 -0
  69. package/internal/builtin-types.d.mts.map +1 -0
  70. package/internal/builtin-types.d.ts +73 -0
  71. package/internal/builtin-types.d.ts.map +1 -0
  72. package/internal/builtin-types.js +4 -0
  73. package/internal/builtin-types.js.map +1 -0
  74. package/internal/builtin-types.mjs +3 -0
  75. package/internal/builtin-types.mjs.map +1 -0
  76. package/internal/detect-platform.d.mts +15 -0
  77. package/internal/detect-platform.d.mts.map +1 -0
  78. package/internal/detect-platform.d.ts +15 -0
  79. package/internal/detect-platform.d.ts.map +1 -0
  80. package/internal/detect-platform.js +162 -0
  81. package/internal/detect-platform.js.map +1 -0
  82. package/internal/detect-platform.mjs +157 -0
  83. package/internal/detect-platform.mjs.map +1 -0
  84. package/internal/errors.d.mts +3 -0
  85. package/internal/errors.d.mts.map +1 -0
  86. package/internal/errors.d.ts +3 -0
  87. package/internal/errors.d.ts.map +1 -0
  88. package/internal/errors.js +41 -0
  89. package/internal/errors.js.map +1 -0
  90. package/internal/errors.mjs +36 -0
  91. package/internal/errors.mjs.map +1 -0
  92. package/internal/headers.d.mts +20 -0
  93. package/internal/headers.d.mts.map +1 -0
  94. package/internal/headers.d.ts +20 -0
  95. package/internal/headers.d.ts.map +1 -0
  96. package/internal/headers.js +79 -0
  97. package/internal/headers.js.map +1 -0
  98. package/internal/headers.mjs +74 -0
  99. package/internal/headers.mjs.map +1 -0
  100. package/internal/parse.d.mts +12 -0
  101. package/internal/parse.d.mts.map +1 -0
  102. package/internal/parse.d.ts +12 -0
  103. package/internal/parse.d.ts.map +1 -0
  104. package/internal/parse.js +35 -0
  105. package/internal/parse.js.map +1 -0
  106. package/internal/parse.mjs +32 -0
  107. package/internal/parse.mjs.map +1 -0
  108. package/internal/request-options.d.mts +75 -0
  109. package/internal/request-options.d.mts.map +1 -0
  110. package/internal/request-options.d.ts +75 -0
  111. package/internal/request-options.d.ts.map +1 -0
  112. package/internal/request-options.js +14 -0
  113. package/internal/request-options.js.map +1 -0
  114. package/internal/request-options.mjs +10 -0
  115. package/internal/request-options.mjs.map +1 -0
  116. package/internal/shim-types.d.mts +17 -0
  117. package/internal/shim-types.d.mts.map +1 -0
  118. package/internal/shim-types.d.ts +17 -0
  119. package/internal/shim-types.d.ts.map +1 -0
  120. package/internal/shim-types.js +4 -0
  121. package/internal/shim-types.js.map +1 -0
  122. package/internal/shim-types.mjs +3 -0
  123. package/internal/shim-types.mjs.map +1 -0
  124. package/internal/shims.d.mts +20 -0
  125. package/internal/shims.d.mts.map +1 -0
  126. package/internal/shims.d.ts +20 -0
  127. package/internal/shims.d.ts.map +1 -0
  128. package/internal/shims.js +92 -0
  129. package/internal/shims.js.map +1 -0
  130. package/internal/shims.mjs +85 -0
  131. package/internal/shims.mjs.map +1 -0
  132. package/internal/to-file.d.mts +45 -0
  133. package/internal/to-file.d.mts.map +1 -0
  134. package/internal/to-file.d.ts +45 -0
  135. package/internal/to-file.d.ts.map +1 -0
  136. package/internal/to-file.js +91 -0
  137. package/internal/to-file.js.map +1 -0
  138. package/internal/to-file.mjs +88 -0
  139. package/internal/to-file.mjs.map +1 -0
  140. package/internal/tslib.js +81 -0
  141. package/internal/tslib.mjs +17 -0
  142. package/internal/types.d.mts +69 -0
  143. package/internal/types.d.mts.map +1 -0
  144. package/internal/types.d.ts +69 -0
  145. package/internal/types.d.ts.map +1 -0
  146. package/internal/types.js +4 -0
  147. package/internal/types.js.map +1 -0
  148. package/internal/types.mjs +3 -0
  149. package/internal/types.mjs.map +1 -0
  150. package/internal/uploads.d.mts +42 -0
  151. package/internal/uploads.d.mts.map +1 -0
  152. package/internal/uploads.d.ts +42 -0
  153. package/internal/uploads.d.ts.map +1 -0
  154. package/internal/uploads.js +141 -0
  155. package/internal/uploads.js.map +1 -0
  156. package/internal/uploads.mjs +131 -0
  157. package/internal/uploads.mjs.map +1 -0
  158. package/internal/utils/base64.d.mts +3 -0
  159. package/internal/utils/base64.d.mts.map +1 -0
  160. package/internal/utils/base64.d.ts +3 -0
  161. package/internal/utils/base64.d.ts.map +1 -0
  162. package/internal/utils/base64.js +38 -0
  163. package/internal/utils/base64.js.map +1 -0
  164. package/internal/utils/base64.mjs +33 -0
  165. package/internal/utils/base64.mjs.map +1 -0
  166. package/internal/utils/bytes.d.mts +4 -0
  167. package/internal/utils/bytes.d.mts.map +1 -0
  168. package/internal/utils/bytes.d.ts +4 -0
  169. package/internal/utils/bytes.d.ts.map +1 -0
  170. package/internal/utils/bytes.js +31 -0
  171. package/internal/utils/bytes.js.map +1 -0
  172. package/internal/utils/bytes.mjs +26 -0
  173. package/internal/utils/bytes.mjs.map +1 -0
  174. package/internal/utils/env.d.mts +9 -0
  175. package/internal/utils/env.d.mts.map +1 -0
  176. package/internal/utils/env.d.ts +9 -0
  177. package/internal/utils/env.d.ts.map +1 -0
  178. package/internal/utils/env.js +22 -0
  179. package/internal/utils/env.js.map +1 -0
  180. package/internal/utils/env.mjs +18 -0
  181. package/internal/utils/env.mjs.map +1 -0
  182. package/internal/utils/log.d.mts +37 -0
  183. package/internal/utils/log.d.mts.map +1 -0
  184. package/internal/utils/log.d.ts +37 -0
  185. package/internal/utils/log.d.ts.map +1 -0
  186. package/internal/utils/log.js +85 -0
  187. package/internal/utils/log.js.map +1 -0
  188. package/internal/utils/log.mjs +79 -0
  189. package/internal/utils/log.mjs.map +1 -0
  190. package/internal/utils/path.d.mts +15 -0
  191. package/internal/utils/path.d.mts.map +1 -0
  192. package/internal/utils/path.d.ts +15 -0
  193. package/internal/utils/path.d.ts.map +1 -0
  194. package/internal/utils/path.js +79 -0
  195. package/internal/utils/path.js.map +1 -0
  196. package/internal/utils/path.mjs +74 -0
  197. package/internal/utils/path.mjs.map +1 -0
  198. package/internal/utils/sleep.d.mts +2 -0
  199. package/internal/utils/sleep.d.mts.map +1 -0
  200. package/internal/utils/sleep.d.ts +2 -0
  201. package/internal/utils/sleep.d.ts.map +1 -0
  202. package/internal/utils/sleep.js +7 -0
  203. package/internal/utils/sleep.js.map +1 -0
  204. package/internal/utils/sleep.mjs +3 -0
  205. package/internal/utils/sleep.mjs.map +1 -0
  206. package/internal/utils/uuid.d.mts +5 -0
  207. package/internal/utils/uuid.d.mts.map +1 -0
  208. package/internal/utils/uuid.d.ts +5 -0
  209. package/internal/utils/uuid.d.ts.map +1 -0
  210. package/internal/utils/uuid.js +19 -0
  211. package/internal/utils/uuid.js.map +1 -0
  212. package/internal/utils/uuid.mjs +15 -0
  213. package/internal/utils/uuid.mjs.map +1 -0
  214. package/internal/utils/values.d.mts +18 -0
  215. package/internal/utils/values.d.mts.map +1 -0
  216. package/internal/utils/values.d.ts +18 -0
  217. package/internal/utils/values.d.ts.map +1 -0
  218. package/internal/utils/values.js +112 -0
  219. package/internal/utils/values.js.map +1 -0
  220. package/internal/utils/values.mjs +94 -0
  221. package/internal/utils/values.mjs.map +1 -0
  222. package/internal/utils.d.mts +7 -0
  223. package/internal/utils.d.mts.map +1 -0
  224. package/internal/utils.d.ts +7 -0
  225. package/internal/utils.d.ts.map +1 -0
  226. package/internal/utils.js +11 -0
  227. package/internal/utils.js.map +1 -0
  228. package/internal/utils.mjs +8 -0
  229. package/internal/utils.mjs.map +1 -0
  230. package/package.json +138 -0
  231. package/resource.d.mts +2 -0
  232. package/resource.d.mts.map +1 -0
  233. package/resource.d.ts +2 -0
  234. package/resource.d.ts.map +1 -0
  235. package/resource.js +6 -0
  236. package/resource.js.map +1 -0
  237. package/resource.mjs +2 -0
  238. package/resource.mjs.map +1 -0
  239. package/resources/callforwardingsignal.d.mts +94 -0
  240. package/resources/callforwardingsignal.d.mts.map +1 -0
  241. package/resources/callforwardingsignal.d.ts +94 -0
  242. package/resources/callforwardingsignal.d.ts.map +1 -0
  243. package/resources/callforwardingsignal.js +54 -0
  244. package/resources/callforwardingsignal.js.map +1 -0
  245. package/resources/callforwardingsignal.mjs +50 -0
  246. package/resources/callforwardingsignal.mjs.map +1 -0
  247. package/resources/connectednetworktype/connectednetworktype.d.mts +10 -0
  248. package/resources/connectednetworktype/connectednetworktype.d.mts.map +1 -0
  249. package/resources/connectednetworktype/connectednetworktype.d.ts +10 -0
  250. package/resources/connectednetworktype/connectednetworktype.d.ts.map +1 -0
  251. package/resources/connectednetworktype/connectednetworktype.js +17 -0
  252. package/resources/connectednetworktype/connectednetworktype.js.map +1 -0
  253. package/resources/connectednetworktype/connectednetworktype.mjs +12 -0
  254. package/resources/connectednetworktype/connectednetworktype.mjs.map +1 -0
  255. package/resources/connectednetworktype/index.d.mts +3 -0
  256. package/resources/connectednetworktype/index.d.mts.map +1 -0
  257. package/resources/connectednetworktype/index.d.ts +3 -0
  258. package/resources/connectednetworktype/index.d.ts.map +1 -0
  259. package/resources/connectednetworktype/index.js +9 -0
  260. package/resources/connectednetworktype/index.js.map +1 -0
  261. package/resources/connectednetworktype/index.mjs +4 -0
  262. package/resources/connectednetworktype/index.mjs.map +1 -0
  263. package/resources/connectednetworktype/subscriptions.d.mts +380 -0
  264. package/resources/connectednetworktype/subscriptions.d.mts.map +1 -0
  265. package/resources/connectednetworktype/subscriptions.d.ts +380 -0
  266. package/resources/connectednetworktype/subscriptions.d.ts.map +1 -0
  267. package/resources/connectednetworktype/subscriptions.js +114 -0
  268. package/resources/connectednetworktype/subscriptions.js.map +1 -0
  269. package/resources/connectednetworktype/subscriptions.mjs +110 -0
  270. package/resources/connectednetworktype/subscriptions.mjs.map +1 -0
  271. package/resources/connectednetworktype.d.mts +2 -0
  272. package/resources/connectednetworktype.d.mts.map +1 -0
  273. package/resources/connectednetworktype.d.ts +2 -0
  274. package/resources/connectednetworktype.d.ts.map +1 -0
  275. package/resources/connectednetworktype.js +6 -0
  276. package/resources/connectednetworktype.js.map +1 -0
  277. package/resources/connectednetworktype.mjs +3 -0
  278. package/resources/connectednetworktype.mjs.map +1 -0
  279. package/resources/connectivityinsights/connectivityinsights.d.mts +10 -0
  280. package/resources/connectivityinsights/connectivityinsights.d.mts.map +1 -0
  281. package/resources/connectivityinsights/connectivityinsights.d.ts +10 -0
  282. package/resources/connectivityinsights/connectivityinsights.d.ts.map +1 -0
  283. package/resources/connectivityinsights/connectivityinsights.js +17 -0
  284. package/resources/connectivityinsights/connectivityinsights.js.map +1 -0
  285. package/resources/connectivityinsights/connectivityinsights.mjs +12 -0
  286. package/resources/connectivityinsights/connectivityinsights.mjs.map +1 -0
  287. package/resources/connectivityinsights/index.d.mts +3 -0
  288. package/resources/connectivityinsights/index.d.mts.map +1 -0
  289. package/resources/connectivityinsights/index.d.ts +3 -0
  290. package/resources/connectivityinsights/index.d.ts.map +1 -0
  291. package/resources/connectivityinsights/index.js +9 -0
  292. package/resources/connectivityinsights/index.js.map +1 -0
  293. package/resources/connectivityinsights/index.mjs +4 -0
  294. package/resources/connectivityinsights/index.mjs.map +1 -0
  295. package/resources/connectivityinsights/subscriptions.d.mts +445 -0
  296. package/resources/connectivityinsights/subscriptions.d.mts.map +1 -0
  297. package/resources/connectivityinsights/subscriptions.d.ts +445 -0
  298. package/resources/connectivityinsights/subscriptions.d.ts.map +1 -0
  299. package/resources/connectivityinsights/subscriptions.js +106 -0
  300. package/resources/connectivityinsights/subscriptions.js.map +1 -0
  301. package/resources/connectivityinsights/subscriptions.mjs +102 -0
  302. package/resources/connectivityinsights/subscriptions.mjs.map +1 -0
  303. package/resources/connectivityinsights.d.mts +2 -0
  304. package/resources/connectivityinsights.d.mts.map +1 -0
  305. package/resources/connectivityinsights.d.ts +2 -0
  306. package/resources/connectivityinsights.d.ts.map +1 -0
  307. package/resources/connectivityinsights.js +6 -0
  308. package/resources/connectivityinsights.js.map +1 -0
  309. package/resources/connectivityinsights.mjs +3 -0
  310. package/resources/connectivityinsights.mjs.map +1 -0
  311. package/resources/customerinsights/customerinsights.d.mts +10 -0
  312. package/resources/customerinsights/customerinsights.d.mts.map +1 -0
  313. package/resources/customerinsights/customerinsights.d.ts +10 -0
  314. package/resources/customerinsights/customerinsights.d.ts.map +1 -0
  315. package/resources/customerinsights/customerinsights.js +17 -0
  316. package/resources/customerinsights/customerinsights.js.map +1 -0
  317. package/resources/customerinsights/customerinsights.mjs +12 -0
  318. package/resources/customerinsights/customerinsights.mjs.map +1 -0
  319. package/resources/customerinsights/index.d.mts +3 -0
  320. package/resources/customerinsights/index.d.mts.map +1 -0
  321. package/resources/customerinsights/index.d.ts +3 -0
  322. package/resources/customerinsights/index.d.ts.map +1 -0
  323. package/resources/customerinsights/index.js +9 -0
  324. package/resources/customerinsights/index.js.map +1 -0
  325. package/resources/customerinsights/index.mjs +4 -0
  326. package/resources/customerinsights/index.mjs.map +1 -0
  327. package/resources/customerinsights/scoring.d.mts +71 -0
  328. package/resources/customerinsights/scoring.d.mts.map +1 -0
  329. package/resources/customerinsights/scoring.d.ts +71 -0
  330. package/resources/customerinsights/scoring.d.ts.map +1 -0
  331. package/resources/customerinsights/scoring.js +34 -0
  332. package/resources/customerinsights/scoring.js.map +1 -0
  333. package/resources/customerinsights/scoring.mjs +30 -0
  334. package/resources/customerinsights/scoring.mjs.map +1 -0
  335. package/resources/customerinsights.d.mts +2 -0
  336. package/resources/customerinsights.d.mts.map +1 -0
  337. package/resources/customerinsights.d.ts +2 -0
  338. package/resources/customerinsights.d.ts.map +1 -0
  339. package/resources/customerinsights.js +6 -0
  340. package/resources/customerinsights.js.map +1 -0
  341. package/resources/customerinsights.mjs +3 -0
  342. package/resources/customerinsights.mjs.map +1 -0
  343. package/resources/deviceidentifier.d.mts +334 -0
  344. package/resources/deviceidentifier.d.mts.map +1 -0
  345. package/resources/deviceidentifier.d.ts +334 -0
  346. package/resources/deviceidentifier.d.ts.map +1 -0
  347. package/resources/deviceidentifier.js +70 -0
  348. package/resources/deviceidentifier.js.map +1 -0
  349. package/resources/deviceidentifier.mjs +66 -0
  350. package/resources/deviceidentifier.mjs.map +1 -0
  351. package/resources/devicelocation/devicelocation.d.mts +10 -0
  352. package/resources/devicelocation/devicelocation.d.mts.map +1 -0
  353. package/resources/devicelocation/devicelocation.d.ts +10 -0
  354. package/resources/devicelocation/devicelocation.d.ts.map +1 -0
  355. package/resources/devicelocation/devicelocation.js +17 -0
  356. package/resources/devicelocation/devicelocation.js.map +1 -0
  357. package/resources/devicelocation/devicelocation.mjs +12 -0
  358. package/resources/devicelocation/devicelocation.mjs.map +1 -0
  359. package/resources/devicelocation/index.d.mts +3 -0
  360. package/resources/devicelocation/index.d.mts.map +1 -0
  361. package/resources/devicelocation/index.d.ts +3 -0
  362. package/resources/devicelocation/index.d.ts.map +1 -0
  363. package/resources/devicelocation/index.js +9 -0
  364. package/resources/devicelocation/index.js.map +1 -0
  365. package/resources/devicelocation/index.mjs +4 -0
  366. package/resources/devicelocation/index.mjs.map +1 -0
  367. package/resources/devicelocation/subscriptions.d.mts +448 -0
  368. package/resources/devicelocation/subscriptions.d.mts.map +1 -0
  369. package/resources/devicelocation/subscriptions.d.ts +448 -0
  370. package/resources/devicelocation/subscriptions.d.ts.map +1 -0
  371. package/resources/devicelocation/subscriptions.js +115 -0
  372. package/resources/devicelocation/subscriptions.js.map +1 -0
  373. package/resources/devicelocation/subscriptions.mjs +111 -0
  374. package/resources/devicelocation/subscriptions.mjs.map +1 -0
  375. package/resources/devicelocation.d.mts +2 -0
  376. package/resources/devicelocation.d.mts.map +1 -0
  377. package/resources/devicelocation.d.ts +2 -0
  378. package/resources/devicelocation.d.ts.map +1 -0
  379. package/resources/devicelocation.js +6 -0
  380. package/resources/devicelocation.js.map +1 -0
  381. package/resources/devicelocation.mjs +3 -0
  382. package/resources/devicelocation.mjs.map +1 -0
  383. package/resources/devicereachabilitystatus/devicereachabilitystatus.d.mts +10 -0
  384. package/resources/devicereachabilitystatus/devicereachabilitystatus.d.mts.map +1 -0
  385. package/resources/devicereachabilitystatus/devicereachabilitystatus.d.ts +10 -0
  386. package/resources/devicereachabilitystatus/devicereachabilitystatus.d.ts.map +1 -0
  387. package/resources/devicereachabilitystatus/devicereachabilitystatus.js +17 -0
  388. package/resources/devicereachabilitystatus/devicereachabilitystatus.js.map +1 -0
  389. package/resources/devicereachabilitystatus/devicereachabilitystatus.mjs +12 -0
  390. package/resources/devicereachabilitystatus/devicereachabilitystatus.mjs.map +1 -0
  391. package/resources/devicereachabilitystatus/index.d.mts +3 -0
  392. package/resources/devicereachabilitystatus/index.d.mts.map +1 -0
  393. package/resources/devicereachabilitystatus/index.d.ts +3 -0
  394. package/resources/devicereachabilitystatus/index.d.ts.map +1 -0
  395. package/resources/devicereachabilitystatus/index.js +9 -0
  396. package/resources/devicereachabilitystatus/index.js.map +1 -0
  397. package/resources/devicereachabilitystatus/index.mjs +4 -0
  398. package/resources/devicereachabilitystatus/index.mjs.map +1 -0
  399. package/resources/devicereachabilitystatus/subscriptions.d.mts +387 -0
  400. package/resources/devicereachabilitystatus/subscriptions.d.mts.map +1 -0
  401. package/resources/devicereachabilitystatus/subscriptions.d.ts +387 -0
  402. package/resources/devicereachabilitystatus/subscriptions.d.ts.map +1 -0
  403. package/resources/devicereachabilitystatus/subscriptions.js +114 -0
  404. package/resources/devicereachabilitystatus/subscriptions.js.map +1 -0
  405. package/resources/devicereachabilitystatus/subscriptions.mjs +110 -0
  406. package/resources/devicereachabilitystatus/subscriptions.mjs.map +1 -0
  407. package/resources/devicereachabilitystatus.d.mts +2 -0
  408. package/resources/devicereachabilitystatus.d.mts.map +1 -0
  409. package/resources/devicereachabilitystatus.d.ts +2 -0
  410. package/resources/devicereachabilitystatus.d.ts.map +1 -0
  411. package/resources/devicereachabilitystatus.js +6 -0
  412. package/resources/devicereachabilitystatus.js.map +1 -0
  413. package/resources/devicereachabilitystatus.mjs +3 -0
  414. package/resources/devicereachabilitystatus.mjs.map +1 -0
  415. package/resources/deviceroamingstatus/deviceroamingstatus.d.mts +10 -0
  416. package/resources/deviceroamingstatus/deviceroamingstatus.d.mts.map +1 -0
  417. package/resources/deviceroamingstatus/deviceroamingstatus.d.ts +10 -0
  418. package/resources/deviceroamingstatus/deviceroamingstatus.d.ts.map +1 -0
  419. package/resources/deviceroamingstatus/deviceroamingstatus.js +17 -0
  420. package/resources/deviceroamingstatus/deviceroamingstatus.js.map +1 -0
  421. package/resources/deviceroamingstatus/deviceroamingstatus.mjs +12 -0
  422. package/resources/deviceroamingstatus/deviceroamingstatus.mjs.map +1 -0
  423. package/resources/deviceroamingstatus/index.d.mts +3 -0
  424. package/resources/deviceroamingstatus/index.d.mts.map +1 -0
  425. package/resources/deviceroamingstatus/index.d.ts +3 -0
  426. package/resources/deviceroamingstatus/index.d.ts.map +1 -0
  427. package/resources/deviceroamingstatus/index.js +9 -0
  428. package/resources/deviceroamingstatus/index.js.map +1 -0
  429. package/resources/deviceroamingstatus/index.mjs +4 -0
  430. package/resources/deviceroamingstatus/index.mjs.map +1 -0
  431. package/resources/deviceroamingstatus/subscriptions.d.mts +391 -0
  432. package/resources/deviceroamingstatus/subscriptions.d.mts.map +1 -0
  433. package/resources/deviceroamingstatus/subscriptions.d.ts +391 -0
  434. package/resources/deviceroamingstatus/subscriptions.d.ts.map +1 -0
  435. package/resources/deviceroamingstatus/subscriptions.js +113 -0
  436. package/resources/deviceroamingstatus/subscriptions.js.map +1 -0
  437. package/resources/deviceroamingstatus/subscriptions.mjs +109 -0
  438. package/resources/deviceroamingstatus/subscriptions.mjs.map +1 -0
  439. package/resources/deviceroamingstatus.d.mts +2 -0
  440. package/resources/deviceroamingstatus.d.mts.map +1 -0
  441. package/resources/deviceroamingstatus.d.ts +2 -0
  442. package/resources/deviceroamingstatus.d.ts.map +1 -0
  443. package/resources/deviceroamingstatus.js +6 -0
  444. package/resources/deviceroamingstatus.js.map +1 -0
  445. package/resources/deviceroamingstatus.mjs +3 -0
  446. package/resources/deviceroamingstatus.mjs.map +1 -0
  447. package/resources/deviceswap.d.mts +81 -0
  448. package/resources/deviceswap.d.mts.map +1 -0
  449. package/resources/deviceswap.d.ts +81 -0
  450. package/resources/deviceswap.d.ts.map +1 -0
  451. package/resources/deviceswap.js +51 -0
  452. package/resources/deviceswap.js.map +1 -0
  453. package/resources/deviceswap.mjs +47 -0
  454. package/resources/deviceswap.mjs.map +1 -0
  455. package/resources/index.d.mts +21 -0
  456. package/resources/index.d.mts.map +1 -0
  457. package/resources/index.d.ts +21 -0
  458. package/resources/index.d.ts.map +1 -0
  459. package/resources/index.js +45 -0
  460. package/resources/index.js.map +1 -0
  461. package/resources/index.mjs +22 -0
  462. package/resources/index.mjs.map +1 -0
  463. package/resources/knowyourcustomerageverification.d.mts +168 -0
  464. package/resources/knowyourcustomerageverification.d.mts.map +1 -0
  465. package/resources/knowyourcustomerageverification.d.ts +168 -0
  466. package/resources/knowyourcustomerageverification.d.ts.map +1 -0
  467. package/resources/knowyourcustomerageverification.js +67 -0
  468. package/resources/knowyourcustomerageverification.js.map +1 -0
  469. package/resources/knowyourcustomerageverification.mjs +63 -0
  470. package/resources/knowyourcustomerageverification.mjs.map +1 -0
  471. package/resources/knowyourcustomerfill-in.d.mts +165 -0
  472. package/resources/knowyourcustomerfill-in.d.mts.map +1 -0
  473. package/resources/knowyourcustomerfill-in.d.ts +165 -0
  474. package/resources/knowyourcustomerfill-in.d.ts.map +1 -0
  475. package/resources/knowyourcustomerfill-in.js +33 -0
  476. package/resources/knowyourcustomerfill-in.js.map +1 -0
  477. package/resources/knowyourcustomerfill-in.mjs +29 -0
  478. package/resources/knowyourcustomerfill-in.mjs.map +1 -0
  479. package/resources/knowyourcustomermatch.d.mts +492 -0
  480. package/resources/knowyourcustomermatch.d.mts.map +1 -0
  481. package/resources/knowyourcustomermatch.d.ts +492 -0
  482. package/resources/knowyourcustomermatch.d.ts.map +1 -0
  483. package/resources/knowyourcustomermatch.js +85 -0
  484. package/resources/knowyourcustomermatch.js.map +1 -0
  485. package/resources/knowyourcustomermatch.mjs +81 -0
  486. package/resources/knowyourcustomermatch.mjs.map +1 -0
  487. package/resources/numberrecycling.d.mts +47 -0
  488. package/resources/numberrecycling.d.mts.map +1 -0
  489. package/resources/numberrecycling.d.ts +47 -0
  490. package/resources/numberrecycling.d.ts.map +1 -0
  491. package/resources/numberrecycling.js +32 -0
  492. package/resources/numberrecycling.js.map +1 -0
  493. package/resources/numberrecycling.mjs +28 -0
  494. package/resources/numberrecycling.mjs.map +1 -0
  495. package/resources/otpvalidation.d.mts +77 -0
  496. package/resources/otpvalidation.d.mts.map +1 -0
  497. package/resources/otpvalidation.d.ts +77 -0
  498. package/resources/otpvalidation.d.ts.map +1 -0
  499. package/resources/otpvalidation.js +56 -0
  500. package/resources/otpvalidation.js.map +1 -0
  501. package/resources/otpvalidation.mjs +52 -0
  502. package/resources/otpvalidation.mjs.map +1 -0
  503. package/resources/populationdensitydata.d.mts +180 -0
  504. package/resources/populationdensitydata.d.mts.map +1 -0
  505. package/resources/populationdensitydata.d.ts +180 -0
  506. package/resources/populationdensitydata.d.ts.map +1 -0
  507. package/resources/populationdensitydata.js +47 -0
  508. package/resources/populationdensitydata.js.map +1 -0
  509. package/resources/populationdensitydata.mjs +43 -0
  510. package/resources/populationdensitydata.mjs.map +1 -0
  511. package/resources/qualityondemand.d.mts +406 -0
  512. package/resources/qualityondemand.d.mts.map +1 -0
  513. package/resources/qualityondemand.d.ts +406 -0
  514. package/resources/qualityondemand.d.ts.map +1 -0
  515. package/resources/qualityondemand.js +73 -0
  516. package/resources/qualityondemand.js.map +1 -0
  517. package/resources/qualityondemand.mjs +69 -0
  518. package/resources/qualityondemand.mjs.map +1 -0
  519. package/resources/regiondevicecount.d.mts +178 -0
  520. package/resources/regiondevicecount.d.mts.map +1 -0
  521. package/resources/regiondevicecount.d.ts +178 -0
  522. package/resources/regiondevicecount.d.ts.map +1 -0
  523. package/resources/regiondevicecount.js +57 -0
  524. package/resources/regiondevicecount.js.map +1 -0
  525. package/resources/regiondevicecount.mjs +53 -0
  526. package/resources/regiondevicecount.mjs.map +1 -0
  527. package/resources/simswap/index.d.mts +3 -0
  528. package/resources/simswap/index.d.mts.map +1 -0
  529. package/resources/simswap/index.d.ts +3 -0
  530. package/resources/simswap/index.d.ts.map +1 -0
  531. package/resources/simswap/index.js +9 -0
  532. package/resources/simswap/index.js.map +1 -0
  533. package/resources/simswap/index.mjs +4 -0
  534. package/resources/simswap/index.mjs.map +1 -0
  535. package/resources/simswap/simswap.d.mts +10 -0
  536. package/resources/simswap/simswap.d.mts.map +1 -0
  537. package/resources/simswap/simswap.d.ts +10 -0
  538. package/resources/simswap/simswap.d.ts.map +1 -0
  539. package/resources/simswap/simswap.js +17 -0
  540. package/resources/simswap/simswap.js.map +1 -0
  541. package/resources/simswap/simswap.mjs +12 -0
  542. package/resources/simswap/simswap.mjs.map +1 -0
  543. package/resources/simswap/subscriptions.d.mts +264 -0
  544. package/resources/simswap/subscriptions.d.mts.map +1 -0
  545. package/resources/simswap/subscriptions.d.ts +264 -0
  546. package/resources/simswap/subscriptions.d.ts.map +1 -0
  547. package/resources/simswap/subscriptions.js +109 -0
  548. package/resources/simswap/subscriptions.js.map +1 -0
  549. package/resources/simswap/subscriptions.mjs +105 -0
  550. package/resources/simswap/subscriptions.mjs.map +1 -0
  551. package/resources/simswap.d.mts +2 -0
  552. package/resources/simswap.d.mts.map +1 -0
  553. package/resources/simswap.d.ts +2 -0
  554. package/resources/simswap.d.ts.map +1 -0
  555. package/resources/simswap.js +6 -0
  556. package/resources/simswap.js.map +1 -0
  557. package/resources/simswap.mjs +3 -0
  558. package/resources/simswap.mjs.map +1 -0
  559. package/resources/tenure.d.mts +59 -0
  560. package/resources/tenure.d.mts.map +1 -0
  561. package/resources/tenure.d.ts +59 -0
  562. package/resources/tenure.d.ts.map +1 -0
  563. package/resources/tenure.js +33 -0
  564. package/resources/tenure.js.map +1 -0
  565. package/resources/tenure.mjs +29 -0
  566. package/resources/tenure.mjs.map +1 -0
  567. package/resources/webrtc/index.d.mts +3 -0
  568. package/resources/webrtc/index.d.mts.map +1 -0
  569. package/resources/webrtc/index.d.ts +3 -0
  570. package/resources/webrtc/index.d.ts.map +1 -0
  571. package/resources/webrtc/index.js +9 -0
  572. package/resources/webrtc/index.js.map +1 -0
  573. package/resources/webrtc/index.mjs +4 -0
  574. package/resources/webrtc/index.mjs.map +1 -0
  575. package/resources/webrtc/sessions.d.mts +358 -0
  576. package/resources/webrtc/sessions.d.mts.map +1 -0
  577. package/resources/webrtc/sessions.d.ts +358 -0
  578. package/resources/webrtc/sessions.d.ts.map +1 -0
  579. package/resources/webrtc/sessions.js +115 -0
  580. package/resources/webrtc/sessions.js.map +1 -0
  581. package/resources/webrtc/sessions.mjs +111 -0
  582. package/resources/webrtc/sessions.mjs.map +1 -0
  583. package/resources/webrtc/webrtc.d.mts +10 -0
  584. package/resources/webrtc/webrtc.d.mts.map +1 -0
  585. package/resources/webrtc/webrtc.d.ts +10 -0
  586. package/resources/webrtc/webrtc.d.ts.map +1 -0
  587. package/resources/webrtc/webrtc.js +17 -0
  588. package/resources/webrtc/webrtc.js.map +1 -0
  589. package/resources/webrtc/webrtc.mjs +12 -0
  590. package/resources/webrtc/webrtc.mjs.map +1 -0
  591. package/resources/webrtc.d.mts +2 -0
  592. package/resources/webrtc.d.mts.map +1 -0
  593. package/resources/webrtc.d.ts +2 -0
  594. package/resources/webrtc.d.ts.map +1 -0
  595. package/resources/webrtc.js +6 -0
  596. package/resources/webrtc.js.map +1 -0
  597. package/resources/webrtc.mjs +3 -0
  598. package/resources/webrtc.mjs.map +1 -0
  599. package/resources.d.mts +2 -0
  600. package/resources.d.mts.map +1 -0
  601. package/resources.d.ts +2 -0
  602. package/resources.d.ts.map +1 -0
  603. package/resources.js +5 -0
  604. package/resources.js.map +1 -0
  605. package/resources.mjs +2 -0
  606. package/resources.mjs.map +1 -0
  607. package/src/api-promise.ts +2 -0
  608. package/src/client.ts +1146 -0
  609. package/src/core/README.md +3 -0
  610. package/src/core/api-promise.ts +92 -0
  611. package/src/core/error.ts +130 -0
  612. package/src/core/resource.ts +11 -0
  613. package/src/core/uploads.ts +2 -0
  614. package/src/error.ts +2 -0
  615. package/src/index.ts +22 -0
  616. package/src/internal/README.md +3 -0
  617. package/src/internal/builtin-types.ts +93 -0
  618. package/src/internal/detect-platform.ts +196 -0
  619. package/src/internal/errors.ts +33 -0
  620. package/src/internal/headers.ts +97 -0
  621. package/src/internal/parse.ts +50 -0
  622. package/src/internal/request-options.ts +91 -0
  623. package/src/internal/shim-types.ts +26 -0
  624. package/src/internal/shims.ts +107 -0
  625. package/src/internal/to-file.ts +154 -0
  626. package/src/internal/types.ts +95 -0
  627. package/src/internal/uploads.ts +187 -0
  628. package/src/internal/utils/base64.ts +40 -0
  629. package/src/internal/utils/bytes.ts +32 -0
  630. package/src/internal/utils/env.ts +18 -0
  631. package/src/internal/utils/log.ts +126 -0
  632. package/src/internal/utils/path.ts +88 -0
  633. package/src/internal/utils/sleep.ts +3 -0
  634. package/src/internal/utils/uuid.ts +17 -0
  635. package/src/internal/utils/values.ts +105 -0
  636. package/src/internal/utils.ts +8 -0
  637. package/src/lib/.keep +4 -0
  638. package/src/resource.ts +2 -0
  639. package/src/resources/callforwardingsignal.ts +140 -0
  640. package/src/resources/connectednetworktype/connectednetworktype.ts +39 -0
  641. package/src/resources/connectednetworktype/index.ts +16 -0
  642. package/src/resources/connectednetworktype/subscriptions.ts +485 -0
  643. package/src/resources/connectednetworktype.ts +3 -0
  644. package/src/resources/connectivityinsights/connectivityinsights.ts +39 -0
  645. package/src/resources/connectivityinsights/index.ts +16 -0
  646. package/src/resources/connectivityinsights/subscriptions.ts +556 -0
  647. package/src/resources/connectivityinsights.ts +3 -0
  648. package/src/resources/customerinsights/customerinsights.ts +19 -0
  649. package/src/resources/customerinsights/index.ts +4 -0
  650. package/src/resources/customerinsights/scoring.ts +94 -0
  651. package/src/resources/customerinsights.ts +3 -0
  652. package/src/resources/deviceidentifier.ts +418 -0
  653. package/src/resources/devicelocation/devicelocation.ts +43 -0
  654. package/src/resources/devicelocation/index.ts +18 -0
  655. package/src/resources/devicelocation/subscriptions.ts +558 -0
  656. package/src/resources/devicelocation.ts +3 -0
  657. package/src/resources/devicereachabilitystatus/devicereachabilitystatus.ts +39 -0
  658. package/src/resources/devicereachabilitystatus/index.ts +16 -0
  659. package/src/resources/devicereachabilitystatus/subscriptions.ts +494 -0
  660. package/src/resources/devicereachabilitystatus.ts +3 -0
  661. package/src/resources/deviceroamingstatus/deviceroamingstatus.ts +39 -0
  662. package/src/resources/deviceroamingstatus/index.ts +16 -0
  663. package/src/resources/deviceroamingstatus/subscriptions.ts +499 -0
  664. package/src/resources/deviceroamingstatus.ts +3 -0
  665. package/src/resources/deviceswap.ts +122 -0
  666. package/src/resources/index.ts +85 -0
  667. package/src/resources/knowyourcustomerageverification.ts +206 -0
  668. package/src/resources/knowyourcustomerfill-in.ts +219 -0
  669. package/src/resources/knowyourcustomermatch.ts +585 -0
  670. package/src/resources/numberrecycling.ts +71 -0
  671. package/src/resources/otpvalidation.ts +116 -0
  672. package/src/resources/populationdensitydata.ts +217 -0
  673. package/src/resources/qualityondemand.ts +493 -0
  674. package/src/resources/regiondevicecount.ts +216 -0
  675. package/src/resources/simswap/index.ts +16 -0
  676. package/src/resources/simswap/simswap.ts +39 -0
  677. package/src/resources/simswap/subscriptions.ts +357 -0
  678. package/src/resources/simswap.ts +3 -0
  679. package/src/resources/tenure.ts +78 -0
  680. package/src/resources/webrtc/index.ts +12 -0
  681. package/src/resources/webrtc/sessions.ts +519 -0
  682. package/src/resources/webrtc/webrtc.ts +31 -0
  683. package/src/resources/webrtc.ts +3 -0
  684. package/src/resources.ts +1 -0
  685. package/src/tsconfig.json +11 -0
  686. package/src/uploads.ts +2 -0
  687. package/src/version.ts +1 -0
  688. package/uploads.d.mts +2 -0
  689. package/uploads.d.mts.map +1 -0
  690. package/uploads.d.ts +2 -0
  691. package/uploads.d.ts.map +1 -0
  692. package/uploads.js +6 -0
  693. package/uploads.js.map +1 -0
  694. package/uploads.mjs +2 -0
  695. package/uploads.mjs.map +1 -0
  696. package/version.d.mts +2 -0
  697. package/version.d.mts.map +1 -0
  698. package/version.d.ts +2 -0
  699. package/version.d.ts.map +1 -0
  700. package/version.js +5 -0
  701. package/version.js.map +1 -0
  702. package/version.mjs +2 -0
  703. package/version.mjs.map +1 -0
package/client.d.mts ADDED
@@ -0,0 +1,294 @@
1
+ import type { RequestInit, RequestInfo } from "./internal/builtin-types.mjs";
2
+ import type { PromiseOrValue, MergedRequestInit, FinalizedRequestInit } from "./internal/types.mjs";
3
+ export type { Logger, LogLevel } from "./internal/utils/log.mjs";
4
+ import * as Opts from "./internal/request-options.mjs";
5
+ import * as Errors from "./core/error.mjs";
6
+ import * as Uploads from "./core/uploads.mjs";
7
+ import * as API from "./resources/index.mjs";
8
+ import { APIPromise } from "./core/api-promise.mjs";
9
+ import { CallForwardingSignal, Callforwardingsignal, CallforwardingsignalCheckActiveForwardingsParams, CallforwardingsignalCheckActiveForwardingsResponse, CallforwardingsignalCheckUnconditionalForwardingParams, CallforwardingsignalCheckUnconditionalForwardingResponse } from "./resources/callforwardingsignal.mjs";
10
+ import { DeviceIdentifierDevice, DeviceIdentifierDeviceIpv4Addr, DeviceIdentifierRequestBody, Deviceidentifier, DeviceidentifierRetrieveIdentifierParams, DeviceidentifierRetrieveIdentifierResponse, DeviceidentifierRetrievePpidParams, DeviceidentifierRetrievePpidResponse, DeviceidentifierRetrieveTypeParams, DeviceidentifierRetrieveTypeResponse } from "./resources/deviceidentifier.mjs";
11
+ import { Deviceswap, DeviceswapCheckParams, DeviceswapCheckResponse, DeviceswapRetrieveDateParams, DeviceswapRetrieveDateResponse } from "./resources/deviceswap.mjs";
12
+ import { Knowyourcustomerageverification, KnowyourcustomerageverificationVerifyParams, KnowyourcustomerageverificationVerifyResponse } from "./resources/knowyourcustomerageverification.mjs";
13
+ import { KnowyourcustomerfillIn, KnowyourcustomerfillInCreateParams, KnowyourcustomerfillInCreateResponse } from "./resources/knowyourcustomerfill-in.mjs";
14
+ import { Knowyourcustomermatch, KnowyourcustomermatchMatchParams, KnowyourcustomermatchMatchResponse, MatchResult } from "./resources/knowyourcustomermatch.mjs";
15
+ import { Numberrecycling, NumberrecyclingCheckSubscriberChangeParams, NumberrecyclingCheckSubscriberChangeResponse } from "./resources/numberrecycling.mjs";
16
+ import { Otpvalidation, OtpvalidationSendCodeParams, OtpvalidationSendCodeResponse, OtpvalidationValidateCodeParams } from "./resources/otpvalidation.mjs";
17
+ import { Populationdensitydata, PopulationdensitydataRetrieveParams, PopulationdensitydataRetrieveResponse } from "./resources/populationdensitydata.mjs";
18
+ import { Duration, QosProfile, QosProfileStatus, Qualityondemand, QualityondemandRetrieveQosProfileParams, QualityondemandRetrieveQosProfilesParams, QualityondemandRetrieveQosProfilesResponse, Rate } from "./resources/qualityondemand.mjs";
19
+ import { Regiondevicecount, RegiondevicecountGetCountParams, RegiondevicecountGetCountResponse } from "./resources/regiondevicecount.mjs";
20
+ import { Tenure, TenureVerifyParams, TenureVerifyResponse } from "./resources/tenure.mjs";
21
+ import { Connectednetworktype } from "./resources/connectednetworktype/connectednetworktype.mjs";
22
+ import { Connectivityinsights } from "./resources/connectivityinsights/connectivityinsights.mjs";
23
+ import { Customerinsights } from "./resources/customerinsights/customerinsights.mjs";
24
+ import { Devicelocation } from "./resources/devicelocation/devicelocation.mjs";
25
+ import { Devicereachabilitystatus } from "./resources/devicereachabilitystatus/devicereachabilitystatus.mjs";
26
+ import { Deviceroamingstatus } from "./resources/deviceroamingstatus/deviceroamingstatus.mjs";
27
+ import { Simswap } from "./resources/simswap/simswap.mjs";
28
+ import { Webrtc } from "./resources/webrtc/webrtc.mjs";
29
+ import { type Fetch } from "./internal/builtin-types.mjs";
30
+ import { HeadersLike, NullableHeaders } from "./internal/headers.mjs";
31
+ import { FinalRequestOptions, RequestOptions } from "./internal/request-options.mjs";
32
+ import { type LogLevel, type Logger } from "./internal/utils/log.mjs";
33
+ export interface ClientOptions {
34
+ /**
35
+ * Defaults to process.env['CAMARA_DEVICE_LOCATION_NOTIFICATIONS_API_KEY'].
36
+ */
37
+ deviceLocationNotificationsAPIKey?: string | undefined;
38
+ /**
39
+ * Defaults to process.env['CAMARA_NOTIFICATIONS_API_KEY'].
40
+ */
41
+ notificationsAPIKey?: string | undefined;
42
+ /**
43
+ * Bearer authentication for notifications
44
+ */
45
+ populationDensityDataNotificationsAPIKey?: string | undefined;
46
+ /**
47
+ * Bearer authentication for notifications
48
+ */
49
+ regionDeviceCountNotificationsAPIKey?: string | undefined;
50
+ /**
51
+ * Bearer authorization for notifications
52
+ */
53
+ connectivityInsightsNotificationsAPIKey?: string | undefined;
54
+ /**
55
+ * Defaults to process.env['CAMARA_SIM_SWAP_NOTIFICATIONS_API_KEY'].
56
+ */
57
+ simSwapNotificationsAPIKey?: string | undefined;
58
+ /**
59
+ * Defaults to process.env['CAMARA_DEVICE_ROAMING_STATUS_NOTIFICATIONS_API_KEY'].
60
+ */
61
+ deviceRoamingStatusNotificationsAPIKey?: string | undefined;
62
+ /**
63
+ * Defaults to process.env['CAMARA_DEVICE_REACHABILITY_STATUS_NOTIFICATIONS_API_KEY'].
64
+ */
65
+ deviceReachabilityStatusNotificationsAPIKey?: string | undefined;
66
+ /**
67
+ * Defaults to process.env['CAMARA_CONNECTED_NETWORK_TYPE_NOTIFICATIONS_API_KEY'].
68
+ */
69
+ connectedNetworkTypeNotificationsAPIKey?: string | undefined;
70
+ /**
71
+ * Override the default base URL for the API, e.g., "https://api.example.com/v2/"
72
+ *
73
+ * Defaults to process.env['CAMARA_BASE_URL'].
74
+ */
75
+ baseURL?: string | null | undefined;
76
+ /**
77
+ * The maximum amount of time (in milliseconds) that the client should wait for a response
78
+ * from the server before timing out a single request.
79
+ *
80
+ * Note that request timeouts are retried by default, so in a worst-case scenario you may wait
81
+ * much longer than this timeout before the promise succeeds or fails.
82
+ *
83
+ * @unit milliseconds
84
+ */
85
+ timeout?: number | undefined;
86
+ /**
87
+ * Additional `RequestInit` options to be passed to `fetch` calls.
88
+ * Properties will be overridden by per-request `fetchOptions`.
89
+ */
90
+ fetchOptions?: MergedRequestInit | undefined;
91
+ /**
92
+ * Specify a custom `fetch` function implementation.
93
+ *
94
+ * If not provided, we expect that `fetch` is defined globally.
95
+ */
96
+ fetch?: Fetch | undefined;
97
+ /**
98
+ * The maximum number of times that the client will retry a request in case of a
99
+ * temporary failure, like a network error or a 5XX error from the server.
100
+ *
101
+ * @default 2
102
+ */
103
+ maxRetries?: number | undefined;
104
+ /**
105
+ * Default headers to include with every request to the API.
106
+ *
107
+ * These can be removed in individual requests by explicitly setting the
108
+ * header to `null` in request options.
109
+ */
110
+ defaultHeaders?: HeadersLike | undefined;
111
+ /**
112
+ * Default query parameters to include with every request to the API.
113
+ *
114
+ * These can be removed in individual requests by explicitly setting the
115
+ * param to `undefined` in request options.
116
+ */
117
+ defaultQuery?: Record<string, string | undefined> | undefined;
118
+ /**
119
+ * Set the log level.
120
+ *
121
+ * Defaults to process.env['CAMARA_LOG'] or 'warn' if it isn't set.
122
+ */
123
+ logLevel?: LogLevel | undefined;
124
+ /**
125
+ * Set the logger.
126
+ *
127
+ * Defaults to globalThis.console.
128
+ */
129
+ logger?: Logger | undefined;
130
+ }
131
+ /**
132
+ * API Client for interfacing with the Camara API.
133
+ */
134
+ export declare class Camara {
135
+ #private;
136
+ deviceLocationNotificationsAPIKey: string;
137
+ notificationsAPIKey: string;
138
+ populationDensityDataNotificationsAPIKey: string;
139
+ regionDeviceCountNotificationsAPIKey: string;
140
+ connectivityInsightsNotificationsAPIKey: string;
141
+ simSwapNotificationsAPIKey: string;
142
+ deviceRoamingStatusNotificationsAPIKey: string;
143
+ deviceReachabilityStatusNotificationsAPIKey: string;
144
+ connectedNetworkTypeNotificationsAPIKey: string;
145
+ baseURL: string;
146
+ maxRetries: number;
147
+ timeout: number;
148
+ logger: Logger | undefined;
149
+ logLevel: LogLevel | undefined;
150
+ fetchOptions: MergedRequestInit | undefined;
151
+ private fetch;
152
+ protected idempotencyHeader?: string;
153
+ private _options;
154
+ /**
155
+ * API Client for interfacing with the Camara API.
156
+ *
157
+ * @param {string | undefined} [opts.deviceLocationNotificationsAPIKey=process.env['CAMARA_DEVICE_LOCATION_NOTIFICATIONS_API_KEY'] ?? undefined]
158
+ * @param {string | undefined} [opts.notificationsAPIKey=process.env['CAMARA_NOTIFICATIONS_API_KEY'] ?? undefined]
159
+ * @param {string | undefined} [opts.populationDensityDataNotificationsAPIKey=process.env['CAMARA_POPULATION_DENSITY_DATA_NOTIFICATIONS_API_KEY'] ?? undefined]
160
+ * @param {string | undefined} [opts.regionDeviceCountNotificationsAPIKey=process.env['CAMARA_REGION_DEVICE_COUNT_NOTIFICATIONS_API_KEY'] ?? undefined]
161
+ * @param {string | undefined} [opts.connectivityInsightsNotificationsAPIKey=process.env['CAMARA_CONNECTIVITY_INSIGHTS_NOTIFICATIONS_API_KEY'] ?? undefined]
162
+ * @param {string | undefined} [opts.simSwapNotificationsAPIKey=process.env['CAMARA_SIM_SWAP_NOTIFICATIONS_API_KEY'] ?? undefined]
163
+ * @param {string | undefined} [opts.deviceRoamingStatusNotificationsAPIKey=process.env['CAMARA_DEVICE_ROAMING_STATUS_NOTIFICATIONS_API_KEY'] ?? undefined]
164
+ * @param {string | undefined} [opts.deviceReachabilityStatusNotificationsAPIKey=process.env['CAMARA_DEVICE_REACHABILITY_STATUS_NOTIFICATIONS_API_KEY'] ?? undefined]
165
+ * @param {string | undefined} [opts.connectedNetworkTypeNotificationsAPIKey=process.env['CAMARA_CONNECTED_NETWORK_TYPE_NOTIFICATIONS_API_KEY'] ?? undefined]
166
+ * @param {string} [opts.baseURL=process.env['CAMARA_BASE_URL'] ?? https://api.example.com/camara] - Override the default base URL for the API.
167
+ * @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
168
+ * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
169
+ * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
170
+ * @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
171
+ * @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
172
+ * @param {Record<string, string | undefined>} opts.defaultQuery - Default query parameters to include with every request to the API.
173
+ */
174
+ constructor({ baseURL, deviceLocationNotificationsAPIKey, notificationsAPIKey, populationDensityDataNotificationsAPIKey, regionDeviceCountNotificationsAPIKey, connectivityInsightsNotificationsAPIKey, simSwapNotificationsAPIKey, deviceRoamingStatusNotificationsAPIKey, deviceReachabilityStatusNotificationsAPIKey, connectedNetworkTypeNotificationsAPIKey, ...opts }?: ClientOptions);
175
+ /**
176
+ * Create a new client instance re-using the same options given to the current client with optional overriding.
177
+ */
178
+ withOptions(options: Partial<ClientOptions>): this;
179
+ protected defaultQuery(): Record<string, string | undefined> | undefined;
180
+ protected validateHeaders({ values, nulls }: NullableHeaders): void;
181
+ protected authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
182
+ protected deviceLocationnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
183
+ protected notificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
184
+ protected populationDensityDatanotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
185
+ protected regionDeviceCountnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
186
+ protected connectivityInsightsnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
187
+ protected simSwapnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
188
+ protected deviceRoamingStatusnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
189
+ protected deviceReachabilityStatusnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
190
+ protected connectedNetworkTypenotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
191
+ /**
192
+ * Basic re-implementation of `qs.stringify` for primitive types.
193
+ */
194
+ protected stringifyQuery(query: Record<string, unknown>): string;
195
+ private getUserAgent;
196
+ protected defaultIdempotencyKey(): string;
197
+ protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError;
198
+ buildURL(path: string, query: Record<string, unknown> | null | undefined, defaultBaseURL?: string | undefined): string;
199
+ /**
200
+ * Used as a callback for mutating the given `FinalRequestOptions` object.
201
+ */
202
+ protected prepareOptions(options: FinalRequestOptions): Promise<void>;
203
+ /**
204
+ * Used as a callback for mutating the given `RequestInit` object.
205
+ *
206
+ * This is useful for cases where you want to add certain headers based off of
207
+ * the request properties, e.g. `method` or `url`.
208
+ */
209
+ protected prepareRequest(request: RequestInit, { url, options }: {
210
+ url: string;
211
+ options: FinalRequestOptions;
212
+ }): Promise<void>;
213
+ get<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
214
+ post<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
215
+ patch<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
216
+ put<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
217
+ delete<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
218
+ private methodRequest;
219
+ request<Rsp>(options: PromiseOrValue<FinalRequestOptions>, remainingRetries?: number | null): APIPromise<Rsp>;
220
+ private makeRequest;
221
+ fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise<Response>;
222
+ private shouldRetry;
223
+ private retryRequest;
224
+ private calculateDefaultRetryTimeoutMillis;
225
+ buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: {
226
+ retryCount?: number;
227
+ }): Promise<{
228
+ req: FinalizedRequestInit;
229
+ url: string;
230
+ timeout: number;
231
+ }>;
232
+ private buildHeaders;
233
+ private buildBody;
234
+ static Camara: typeof Camara;
235
+ static DEFAULT_TIMEOUT: number;
236
+ static CamaraError: typeof Errors.CamaraError;
237
+ static APIError: typeof Errors.APIError;
238
+ static APIConnectionError: typeof Errors.APIConnectionError;
239
+ static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError;
240
+ static APIUserAbortError: typeof Errors.APIUserAbortError;
241
+ static NotFoundError: typeof Errors.NotFoundError;
242
+ static ConflictError: typeof Errors.ConflictError;
243
+ static RateLimitError: typeof Errors.RateLimitError;
244
+ static BadRequestError: typeof Errors.BadRequestError;
245
+ static AuthenticationError: typeof Errors.AuthenticationError;
246
+ static InternalServerError: typeof Errors.InternalServerError;
247
+ static PermissionDeniedError: typeof Errors.PermissionDeniedError;
248
+ static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
249
+ static toFile: typeof Uploads.toFile;
250
+ customerinsights: API.Customerinsights;
251
+ deviceswap: API.Deviceswap;
252
+ knowyourcustomerageverification: API.Knowyourcustomerageverification;
253
+ knowyourcustomerfillIn: API.KnowyourcustomerfillIn;
254
+ knowyourcustomermatch: API.Knowyourcustomermatch;
255
+ tenure: API.Tenure;
256
+ numberrecycling: API.Numberrecycling;
257
+ otpvalidation: API.Otpvalidation;
258
+ callforwardingsignal: API.Callforwardingsignal;
259
+ devicelocation: API.Devicelocation;
260
+ populationdensitydata: API.Populationdensitydata;
261
+ regiondevicecount: API.Regiondevicecount;
262
+ webrtc: API.Webrtc;
263
+ connectivityinsights: API.Connectivityinsights;
264
+ qualityondemand: API.Qualityondemand;
265
+ deviceidentifier: API.Deviceidentifier;
266
+ simswap: API.Simswap;
267
+ deviceroamingstatus: API.Deviceroamingstatus;
268
+ devicereachabilitystatus: API.Devicereachabilitystatus;
269
+ connectednetworktype: API.Connectednetworktype;
270
+ }
271
+ export declare namespace Camara {
272
+ export type RequestOptions = Opts.RequestOptions;
273
+ export { Customerinsights as Customerinsights };
274
+ export { Deviceswap as Deviceswap, type DeviceswapCheckResponse as DeviceswapCheckResponse, type DeviceswapRetrieveDateResponse as DeviceswapRetrieveDateResponse, type DeviceswapCheckParams as DeviceswapCheckParams, type DeviceswapRetrieveDateParams as DeviceswapRetrieveDateParams, };
275
+ export { Knowyourcustomerageverification as Knowyourcustomerageverification, type KnowyourcustomerageverificationVerifyResponse as KnowyourcustomerageverificationVerifyResponse, type KnowyourcustomerageverificationVerifyParams as KnowyourcustomerageverificationVerifyParams, };
276
+ export { KnowyourcustomerfillIn as KnowyourcustomerfillIn, type KnowyourcustomerfillInCreateResponse as KnowyourcustomerfillInCreateResponse, type KnowyourcustomerfillInCreateParams as KnowyourcustomerfillInCreateParams, };
277
+ export { Knowyourcustomermatch as Knowyourcustomermatch, type MatchResult as MatchResult, type KnowyourcustomermatchMatchResponse as KnowyourcustomermatchMatchResponse, type KnowyourcustomermatchMatchParams as KnowyourcustomermatchMatchParams, };
278
+ export { Tenure as Tenure, type TenureVerifyResponse as TenureVerifyResponse, type TenureVerifyParams as TenureVerifyParams, };
279
+ export { Numberrecycling as Numberrecycling, type NumberrecyclingCheckSubscriberChangeResponse as NumberrecyclingCheckSubscriberChangeResponse, type NumberrecyclingCheckSubscriberChangeParams as NumberrecyclingCheckSubscriberChangeParams, };
280
+ export { Otpvalidation as Otpvalidation, type OtpvalidationSendCodeResponse as OtpvalidationSendCodeResponse, type OtpvalidationSendCodeParams as OtpvalidationSendCodeParams, type OtpvalidationValidateCodeParams as OtpvalidationValidateCodeParams, };
281
+ export { Callforwardingsignal as Callforwardingsignal, type CallForwardingSignal as CallForwardingSignal, type CallforwardingsignalCheckActiveForwardingsResponse as CallforwardingsignalCheckActiveForwardingsResponse, type CallforwardingsignalCheckUnconditionalForwardingResponse as CallforwardingsignalCheckUnconditionalForwardingResponse, type CallforwardingsignalCheckActiveForwardingsParams as CallforwardingsignalCheckActiveForwardingsParams, type CallforwardingsignalCheckUnconditionalForwardingParams as CallforwardingsignalCheckUnconditionalForwardingParams, };
282
+ export { Devicelocation as Devicelocation };
283
+ export { Populationdensitydata as Populationdensitydata, type PopulationdensitydataRetrieveResponse as PopulationdensitydataRetrieveResponse, type PopulationdensitydataRetrieveParams as PopulationdensitydataRetrieveParams, };
284
+ export { Regiondevicecount as Regiondevicecount, type RegiondevicecountGetCountResponse as RegiondevicecountGetCountResponse, type RegiondevicecountGetCountParams as RegiondevicecountGetCountParams, };
285
+ export { Webrtc as Webrtc };
286
+ export { Connectivityinsights as Connectivityinsights };
287
+ export { Qualityondemand as Qualityondemand, type Duration as Duration, type QosProfile as QosProfile, type QosProfileStatus as QosProfileStatus, type Rate as Rate, type QualityondemandRetrieveQosProfilesResponse as QualityondemandRetrieveQosProfilesResponse, type QualityondemandRetrieveQosProfileParams as QualityondemandRetrieveQosProfileParams, type QualityondemandRetrieveQosProfilesParams as QualityondemandRetrieveQosProfilesParams, };
288
+ export { Deviceidentifier as Deviceidentifier, type DeviceIdentifierDevice as DeviceIdentifierDevice, type DeviceIdentifierDeviceIpv4Addr as DeviceIdentifierDeviceIpv4Addr, type DeviceIdentifierRequestBody as DeviceIdentifierRequestBody, type DeviceidentifierRetrieveIdentifierResponse as DeviceidentifierRetrieveIdentifierResponse, type DeviceidentifierRetrievePpidResponse as DeviceidentifierRetrievePpidResponse, type DeviceidentifierRetrieveTypeResponse as DeviceidentifierRetrieveTypeResponse, type DeviceidentifierRetrieveIdentifierParams as DeviceidentifierRetrieveIdentifierParams, type DeviceidentifierRetrievePpidParams as DeviceidentifierRetrievePpidParams, type DeviceidentifierRetrieveTypeParams as DeviceidentifierRetrieveTypeParams, };
289
+ export { Simswap as Simswap };
290
+ export { Deviceroamingstatus as Deviceroamingstatus };
291
+ export { Devicereachabilitystatus as Devicereachabilitystatus };
292
+ export { Connectednetworktype as Connectednetworktype };
293
+ }
294
+ //# sourceMappingURL=client.d.mts.map
@@ -0,0 +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;OAET,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EACL,oBAAoB,EACpB,oBAAoB,EACpB,gDAAgD,EAChD,kDAAkD,EAClD,sDAAsD,EACtD,wDAAwD,EACzD;OACM,EACL,sBAAsB,EACtB,8BAA8B,EAC9B,2BAA2B,EAC3B,gBAAgB,EAChB,wCAAwC,EACxC,0CAA0C,EAC1C,kCAAkC,EAClC,oCAAoC,EACpC,kCAAkC,EAClC,oCAAoC,EACrC;OACM,EACL,UAAU,EACV,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,8BAA8B,EAC/B;OACM,EACL,+BAA+B,EAC/B,2CAA2C,EAC3C,6CAA6C,EAC9C;OACM,EACL,sBAAsB,EACtB,kCAAkC,EAClC,oCAAoC,EACrC;OACM,EACL,qBAAqB,EACrB,gCAAgC,EAChC,kCAAkC,EAClC,WAAW,EACZ;OACM,EACL,eAAe,EACf,0CAA0C,EAC1C,4CAA4C,EAC7C;OACM,EACL,aAAa,EACb,2BAA2B,EAC3B,6BAA6B,EAC7B,+BAA+B,EAChC;OACM,EACL,qBAAqB,EACrB,mCAAmC,EACnC,qCAAqC,EACtC;OACM,EACL,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,uCAAuC,EACvC,wCAAwC,EACxC,0CAA0C,EAC1C,IAAI,EACL;OACM,EACL,iBAAiB,EACjB,+BAA+B,EAC/B,iCAAiC,EAClC;OACM,EAAE,MAAM,EAAE,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from "./internal/builtin-types.js";
2
+ import type { PromiseOrValue, MergedRequestInit, FinalizedRequestInit } from "./internal/types.js";
3
+ export type { Logger, LogLevel } from "./internal/utils/log.js";
4
+ import * as Opts from "./internal/request-options.js";
5
+ import * as Errors from "./core/error.js";
6
+ import * as Uploads from "./core/uploads.js";
7
+ import * as API from "./resources/index.js";
8
+ import { APIPromise } from "./core/api-promise.js";
9
+ import { CallForwardingSignal, Callforwardingsignal, CallforwardingsignalCheckActiveForwardingsParams, CallforwardingsignalCheckActiveForwardingsResponse, CallforwardingsignalCheckUnconditionalForwardingParams, CallforwardingsignalCheckUnconditionalForwardingResponse } from "./resources/callforwardingsignal.js";
10
+ import { DeviceIdentifierDevice, DeviceIdentifierDeviceIpv4Addr, DeviceIdentifierRequestBody, Deviceidentifier, DeviceidentifierRetrieveIdentifierParams, DeviceidentifierRetrieveIdentifierResponse, DeviceidentifierRetrievePpidParams, DeviceidentifierRetrievePpidResponse, DeviceidentifierRetrieveTypeParams, DeviceidentifierRetrieveTypeResponse } from "./resources/deviceidentifier.js";
11
+ import { Deviceswap, DeviceswapCheckParams, DeviceswapCheckResponse, DeviceswapRetrieveDateParams, DeviceswapRetrieveDateResponse } from "./resources/deviceswap.js";
12
+ import { Knowyourcustomerageverification, KnowyourcustomerageverificationVerifyParams, KnowyourcustomerageverificationVerifyResponse } from "./resources/knowyourcustomerageverification.js";
13
+ import { KnowyourcustomerfillIn, KnowyourcustomerfillInCreateParams, KnowyourcustomerfillInCreateResponse } from "./resources/knowyourcustomerfill-in.js";
14
+ import { Knowyourcustomermatch, KnowyourcustomermatchMatchParams, KnowyourcustomermatchMatchResponse, MatchResult } from "./resources/knowyourcustomermatch.js";
15
+ import { Numberrecycling, NumberrecyclingCheckSubscriberChangeParams, NumberrecyclingCheckSubscriberChangeResponse } from "./resources/numberrecycling.js";
16
+ import { Otpvalidation, OtpvalidationSendCodeParams, OtpvalidationSendCodeResponse, OtpvalidationValidateCodeParams } from "./resources/otpvalidation.js";
17
+ import { Populationdensitydata, PopulationdensitydataRetrieveParams, PopulationdensitydataRetrieveResponse } from "./resources/populationdensitydata.js";
18
+ import { Duration, QosProfile, QosProfileStatus, Qualityondemand, QualityondemandRetrieveQosProfileParams, QualityondemandRetrieveQosProfilesParams, QualityondemandRetrieveQosProfilesResponse, Rate } from "./resources/qualityondemand.js";
19
+ import { Regiondevicecount, RegiondevicecountGetCountParams, RegiondevicecountGetCountResponse } from "./resources/regiondevicecount.js";
20
+ import { Tenure, TenureVerifyParams, TenureVerifyResponse } from "./resources/tenure.js";
21
+ import { Connectednetworktype } from "./resources/connectednetworktype/connectednetworktype.js";
22
+ import { Connectivityinsights } from "./resources/connectivityinsights/connectivityinsights.js";
23
+ import { Customerinsights } from "./resources/customerinsights/customerinsights.js";
24
+ import { Devicelocation } from "./resources/devicelocation/devicelocation.js";
25
+ import { Devicereachabilitystatus } from "./resources/devicereachabilitystatus/devicereachabilitystatus.js";
26
+ import { Deviceroamingstatus } from "./resources/deviceroamingstatus/deviceroamingstatus.js";
27
+ import { Simswap } from "./resources/simswap/simswap.js";
28
+ import { Webrtc } from "./resources/webrtc/webrtc.js";
29
+ import { type Fetch } from "./internal/builtin-types.js";
30
+ import { HeadersLike, NullableHeaders } from "./internal/headers.js";
31
+ import { FinalRequestOptions, RequestOptions } from "./internal/request-options.js";
32
+ import { type LogLevel, type Logger } from "./internal/utils/log.js";
33
+ export interface ClientOptions {
34
+ /**
35
+ * Defaults to process.env['CAMARA_DEVICE_LOCATION_NOTIFICATIONS_API_KEY'].
36
+ */
37
+ deviceLocationNotificationsAPIKey?: string | undefined;
38
+ /**
39
+ * Defaults to process.env['CAMARA_NOTIFICATIONS_API_KEY'].
40
+ */
41
+ notificationsAPIKey?: string | undefined;
42
+ /**
43
+ * Bearer authentication for notifications
44
+ */
45
+ populationDensityDataNotificationsAPIKey?: string | undefined;
46
+ /**
47
+ * Bearer authentication for notifications
48
+ */
49
+ regionDeviceCountNotificationsAPIKey?: string | undefined;
50
+ /**
51
+ * Bearer authorization for notifications
52
+ */
53
+ connectivityInsightsNotificationsAPIKey?: string | undefined;
54
+ /**
55
+ * Defaults to process.env['CAMARA_SIM_SWAP_NOTIFICATIONS_API_KEY'].
56
+ */
57
+ simSwapNotificationsAPIKey?: string | undefined;
58
+ /**
59
+ * Defaults to process.env['CAMARA_DEVICE_ROAMING_STATUS_NOTIFICATIONS_API_KEY'].
60
+ */
61
+ deviceRoamingStatusNotificationsAPIKey?: string | undefined;
62
+ /**
63
+ * Defaults to process.env['CAMARA_DEVICE_REACHABILITY_STATUS_NOTIFICATIONS_API_KEY'].
64
+ */
65
+ deviceReachabilityStatusNotificationsAPIKey?: string | undefined;
66
+ /**
67
+ * Defaults to process.env['CAMARA_CONNECTED_NETWORK_TYPE_NOTIFICATIONS_API_KEY'].
68
+ */
69
+ connectedNetworkTypeNotificationsAPIKey?: string | undefined;
70
+ /**
71
+ * Override the default base URL for the API, e.g., "https://api.example.com/v2/"
72
+ *
73
+ * Defaults to process.env['CAMARA_BASE_URL'].
74
+ */
75
+ baseURL?: string | null | undefined;
76
+ /**
77
+ * The maximum amount of time (in milliseconds) that the client should wait for a response
78
+ * from the server before timing out a single request.
79
+ *
80
+ * Note that request timeouts are retried by default, so in a worst-case scenario you may wait
81
+ * much longer than this timeout before the promise succeeds or fails.
82
+ *
83
+ * @unit milliseconds
84
+ */
85
+ timeout?: number | undefined;
86
+ /**
87
+ * Additional `RequestInit` options to be passed to `fetch` calls.
88
+ * Properties will be overridden by per-request `fetchOptions`.
89
+ */
90
+ fetchOptions?: MergedRequestInit | undefined;
91
+ /**
92
+ * Specify a custom `fetch` function implementation.
93
+ *
94
+ * If not provided, we expect that `fetch` is defined globally.
95
+ */
96
+ fetch?: Fetch | undefined;
97
+ /**
98
+ * The maximum number of times that the client will retry a request in case of a
99
+ * temporary failure, like a network error or a 5XX error from the server.
100
+ *
101
+ * @default 2
102
+ */
103
+ maxRetries?: number | undefined;
104
+ /**
105
+ * Default headers to include with every request to the API.
106
+ *
107
+ * These can be removed in individual requests by explicitly setting the
108
+ * header to `null` in request options.
109
+ */
110
+ defaultHeaders?: HeadersLike | undefined;
111
+ /**
112
+ * Default query parameters to include with every request to the API.
113
+ *
114
+ * These can be removed in individual requests by explicitly setting the
115
+ * param to `undefined` in request options.
116
+ */
117
+ defaultQuery?: Record<string, string | undefined> | undefined;
118
+ /**
119
+ * Set the log level.
120
+ *
121
+ * Defaults to process.env['CAMARA_LOG'] or 'warn' if it isn't set.
122
+ */
123
+ logLevel?: LogLevel | undefined;
124
+ /**
125
+ * Set the logger.
126
+ *
127
+ * Defaults to globalThis.console.
128
+ */
129
+ logger?: Logger | undefined;
130
+ }
131
+ /**
132
+ * API Client for interfacing with the Camara API.
133
+ */
134
+ export declare class Camara {
135
+ #private;
136
+ deviceLocationNotificationsAPIKey: string;
137
+ notificationsAPIKey: string;
138
+ populationDensityDataNotificationsAPIKey: string;
139
+ regionDeviceCountNotificationsAPIKey: string;
140
+ connectivityInsightsNotificationsAPIKey: string;
141
+ simSwapNotificationsAPIKey: string;
142
+ deviceRoamingStatusNotificationsAPIKey: string;
143
+ deviceReachabilityStatusNotificationsAPIKey: string;
144
+ connectedNetworkTypeNotificationsAPIKey: string;
145
+ baseURL: string;
146
+ maxRetries: number;
147
+ timeout: number;
148
+ logger: Logger | undefined;
149
+ logLevel: LogLevel | undefined;
150
+ fetchOptions: MergedRequestInit | undefined;
151
+ private fetch;
152
+ protected idempotencyHeader?: string;
153
+ private _options;
154
+ /**
155
+ * API Client for interfacing with the Camara API.
156
+ *
157
+ * @param {string | undefined} [opts.deviceLocationNotificationsAPIKey=process.env['CAMARA_DEVICE_LOCATION_NOTIFICATIONS_API_KEY'] ?? undefined]
158
+ * @param {string | undefined} [opts.notificationsAPIKey=process.env['CAMARA_NOTIFICATIONS_API_KEY'] ?? undefined]
159
+ * @param {string | undefined} [opts.populationDensityDataNotificationsAPIKey=process.env['CAMARA_POPULATION_DENSITY_DATA_NOTIFICATIONS_API_KEY'] ?? undefined]
160
+ * @param {string | undefined} [opts.regionDeviceCountNotificationsAPIKey=process.env['CAMARA_REGION_DEVICE_COUNT_NOTIFICATIONS_API_KEY'] ?? undefined]
161
+ * @param {string | undefined} [opts.connectivityInsightsNotificationsAPIKey=process.env['CAMARA_CONNECTIVITY_INSIGHTS_NOTIFICATIONS_API_KEY'] ?? undefined]
162
+ * @param {string | undefined} [opts.simSwapNotificationsAPIKey=process.env['CAMARA_SIM_SWAP_NOTIFICATIONS_API_KEY'] ?? undefined]
163
+ * @param {string | undefined} [opts.deviceRoamingStatusNotificationsAPIKey=process.env['CAMARA_DEVICE_ROAMING_STATUS_NOTIFICATIONS_API_KEY'] ?? undefined]
164
+ * @param {string | undefined} [opts.deviceReachabilityStatusNotificationsAPIKey=process.env['CAMARA_DEVICE_REACHABILITY_STATUS_NOTIFICATIONS_API_KEY'] ?? undefined]
165
+ * @param {string | undefined} [opts.connectedNetworkTypeNotificationsAPIKey=process.env['CAMARA_CONNECTED_NETWORK_TYPE_NOTIFICATIONS_API_KEY'] ?? undefined]
166
+ * @param {string} [opts.baseURL=process.env['CAMARA_BASE_URL'] ?? https://api.example.com/camara] - Override the default base URL for the API.
167
+ * @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
168
+ * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
169
+ * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
170
+ * @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
171
+ * @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
172
+ * @param {Record<string, string | undefined>} opts.defaultQuery - Default query parameters to include with every request to the API.
173
+ */
174
+ constructor({ baseURL, deviceLocationNotificationsAPIKey, notificationsAPIKey, populationDensityDataNotificationsAPIKey, regionDeviceCountNotificationsAPIKey, connectivityInsightsNotificationsAPIKey, simSwapNotificationsAPIKey, deviceRoamingStatusNotificationsAPIKey, deviceReachabilityStatusNotificationsAPIKey, connectedNetworkTypeNotificationsAPIKey, ...opts }?: ClientOptions);
175
+ /**
176
+ * Create a new client instance re-using the same options given to the current client with optional overriding.
177
+ */
178
+ withOptions(options: Partial<ClientOptions>): this;
179
+ protected defaultQuery(): Record<string, string | undefined> | undefined;
180
+ protected validateHeaders({ values, nulls }: NullableHeaders): void;
181
+ protected authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
182
+ protected deviceLocationnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
183
+ protected notificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
184
+ protected populationDensityDatanotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
185
+ protected regionDeviceCountnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
186
+ protected connectivityInsightsnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
187
+ protected simSwapnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
188
+ protected deviceRoamingStatusnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
189
+ protected deviceReachabilityStatusnotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
190
+ protected connectedNetworkTypenotificationsBearerAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
191
+ /**
192
+ * Basic re-implementation of `qs.stringify` for primitive types.
193
+ */
194
+ protected stringifyQuery(query: Record<string, unknown>): string;
195
+ private getUserAgent;
196
+ protected defaultIdempotencyKey(): string;
197
+ protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError;
198
+ buildURL(path: string, query: Record<string, unknown> | null | undefined, defaultBaseURL?: string | undefined): string;
199
+ /**
200
+ * Used as a callback for mutating the given `FinalRequestOptions` object.
201
+ */
202
+ protected prepareOptions(options: FinalRequestOptions): Promise<void>;
203
+ /**
204
+ * Used as a callback for mutating the given `RequestInit` object.
205
+ *
206
+ * This is useful for cases where you want to add certain headers based off of
207
+ * the request properties, e.g. `method` or `url`.
208
+ */
209
+ protected prepareRequest(request: RequestInit, { url, options }: {
210
+ url: string;
211
+ options: FinalRequestOptions;
212
+ }): Promise<void>;
213
+ get<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
214
+ post<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
215
+ patch<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
216
+ put<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
217
+ delete<Rsp>(path: string, opts?: PromiseOrValue<RequestOptions>): APIPromise<Rsp>;
218
+ private methodRequest;
219
+ request<Rsp>(options: PromiseOrValue<FinalRequestOptions>, remainingRetries?: number | null): APIPromise<Rsp>;
220
+ private makeRequest;
221
+ fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise<Response>;
222
+ private shouldRetry;
223
+ private retryRequest;
224
+ private calculateDefaultRetryTimeoutMillis;
225
+ buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: {
226
+ retryCount?: number;
227
+ }): Promise<{
228
+ req: FinalizedRequestInit;
229
+ url: string;
230
+ timeout: number;
231
+ }>;
232
+ private buildHeaders;
233
+ private buildBody;
234
+ static Camara: typeof Camara;
235
+ static DEFAULT_TIMEOUT: number;
236
+ static CamaraError: typeof Errors.CamaraError;
237
+ static APIError: typeof Errors.APIError;
238
+ static APIConnectionError: typeof Errors.APIConnectionError;
239
+ static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError;
240
+ static APIUserAbortError: typeof Errors.APIUserAbortError;
241
+ static NotFoundError: typeof Errors.NotFoundError;
242
+ static ConflictError: typeof Errors.ConflictError;
243
+ static RateLimitError: typeof Errors.RateLimitError;
244
+ static BadRequestError: typeof Errors.BadRequestError;
245
+ static AuthenticationError: typeof Errors.AuthenticationError;
246
+ static InternalServerError: typeof Errors.InternalServerError;
247
+ static PermissionDeniedError: typeof Errors.PermissionDeniedError;
248
+ static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
249
+ static toFile: typeof Uploads.toFile;
250
+ customerinsights: API.Customerinsights;
251
+ deviceswap: API.Deviceswap;
252
+ knowyourcustomerageverification: API.Knowyourcustomerageverification;
253
+ knowyourcustomerfillIn: API.KnowyourcustomerfillIn;
254
+ knowyourcustomermatch: API.Knowyourcustomermatch;
255
+ tenure: API.Tenure;
256
+ numberrecycling: API.Numberrecycling;
257
+ otpvalidation: API.Otpvalidation;
258
+ callforwardingsignal: API.Callforwardingsignal;
259
+ devicelocation: API.Devicelocation;
260
+ populationdensitydata: API.Populationdensitydata;
261
+ regiondevicecount: API.Regiondevicecount;
262
+ webrtc: API.Webrtc;
263
+ connectivityinsights: API.Connectivityinsights;
264
+ qualityondemand: API.Qualityondemand;
265
+ deviceidentifier: API.Deviceidentifier;
266
+ simswap: API.Simswap;
267
+ deviceroamingstatus: API.Deviceroamingstatus;
268
+ devicereachabilitystatus: API.Devicereachabilitystatus;
269
+ connectednetworktype: API.Connectednetworktype;
270
+ }
271
+ export declare namespace Camara {
272
+ export type RequestOptions = Opts.RequestOptions;
273
+ export { Customerinsights as Customerinsights };
274
+ export { Deviceswap as Deviceswap, type DeviceswapCheckResponse as DeviceswapCheckResponse, type DeviceswapRetrieveDateResponse as DeviceswapRetrieveDateResponse, type DeviceswapCheckParams as DeviceswapCheckParams, type DeviceswapRetrieveDateParams as DeviceswapRetrieveDateParams, };
275
+ export { Knowyourcustomerageverification as Knowyourcustomerageverification, type KnowyourcustomerageverificationVerifyResponse as KnowyourcustomerageverificationVerifyResponse, type KnowyourcustomerageverificationVerifyParams as KnowyourcustomerageverificationVerifyParams, };
276
+ export { KnowyourcustomerfillIn as KnowyourcustomerfillIn, type KnowyourcustomerfillInCreateResponse as KnowyourcustomerfillInCreateResponse, type KnowyourcustomerfillInCreateParams as KnowyourcustomerfillInCreateParams, };
277
+ export { Knowyourcustomermatch as Knowyourcustomermatch, type MatchResult as MatchResult, type KnowyourcustomermatchMatchResponse as KnowyourcustomermatchMatchResponse, type KnowyourcustomermatchMatchParams as KnowyourcustomermatchMatchParams, };
278
+ export { Tenure as Tenure, type TenureVerifyResponse as TenureVerifyResponse, type TenureVerifyParams as TenureVerifyParams, };
279
+ export { Numberrecycling as Numberrecycling, type NumberrecyclingCheckSubscriberChangeResponse as NumberrecyclingCheckSubscriberChangeResponse, type NumberrecyclingCheckSubscriberChangeParams as NumberrecyclingCheckSubscriberChangeParams, };
280
+ export { Otpvalidation as Otpvalidation, type OtpvalidationSendCodeResponse as OtpvalidationSendCodeResponse, type OtpvalidationSendCodeParams as OtpvalidationSendCodeParams, type OtpvalidationValidateCodeParams as OtpvalidationValidateCodeParams, };
281
+ export { Callforwardingsignal as Callforwardingsignal, type CallForwardingSignal as CallForwardingSignal, type CallforwardingsignalCheckActiveForwardingsResponse as CallforwardingsignalCheckActiveForwardingsResponse, type CallforwardingsignalCheckUnconditionalForwardingResponse as CallforwardingsignalCheckUnconditionalForwardingResponse, type CallforwardingsignalCheckActiveForwardingsParams as CallforwardingsignalCheckActiveForwardingsParams, type CallforwardingsignalCheckUnconditionalForwardingParams as CallforwardingsignalCheckUnconditionalForwardingParams, };
282
+ export { Devicelocation as Devicelocation };
283
+ export { Populationdensitydata as Populationdensitydata, type PopulationdensitydataRetrieveResponse as PopulationdensitydataRetrieveResponse, type PopulationdensitydataRetrieveParams as PopulationdensitydataRetrieveParams, };
284
+ export { Regiondevicecount as Regiondevicecount, type RegiondevicecountGetCountResponse as RegiondevicecountGetCountResponse, type RegiondevicecountGetCountParams as RegiondevicecountGetCountParams, };
285
+ export { Webrtc as Webrtc };
286
+ export { Connectivityinsights as Connectivityinsights };
287
+ export { Qualityondemand as Qualityondemand, type Duration as Duration, type QosProfile as QosProfile, type QosProfileStatus as QosProfileStatus, type Rate as Rate, type QualityondemandRetrieveQosProfilesResponse as QualityondemandRetrieveQosProfilesResponse, type QualityondemandRetrieveQosProfileParams as QualityondemandRetrieveQosProfileParams, type QualityondemandRetrieveQosProfilesParams as QualityondemandRetrieveQosProfilesParams, };
288
+ export { Deviceidentifier as Deviceidentifier, type DeviceIdentifierDevice as DeviceIdentifierDevice, type DeviceIdentifierDeviceIpv4Addr as DeviceIdentifierDeviceIpv4Addr, type DeviceIdentifierRequestBody as DeviceIdentifierRequestBody, type DeviceidentifierRetrieveIdentifierResponse as DeviceidentifierRetrieveIdentifierResponse, type DeviceidentifierRetrievePpidResponse as DeviceidentifierRetrievePpidResponse, type DeviceidentifierRetrieveTypeResponse as DeviceidentifierRetrieveTypeResponse, type DeviceidentifierRetrieveIdentifierParams as DeviceidentifierRetrieveIdentifierParams, type DeviceidentifierRetrievePpidParams as DeviceidentifierRetrievePpidParams, type DeviceidentifierRetrieveTypeParams as DeviceidentifierRetrieveTypeParams, };
289
+ export { Simswap as Simswap };
290
+ export { Deviceroamingstatus as Deviceroamingstatus };
291
+ export { Devicereachabilitystatus as Devicereachabilitystatus };
292
+ export { Connectednetworktype as Connectednetworktype };
293
+ }
294
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","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;OAET,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EACL,oBAAoB,EACpB,oBAAoB,EACpB,gDAAgD,EAChD,kDAAkD,EAClD,sDAAsD,EACtD,wDAAwD,EACzD;OACM,EACL,sBAAsB,EACtB,8BAA8B,EAC9B,2BAA2B,EAC3B,gBAAgB,EAChB,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