@owbase/node 0.0.0-stage → 1.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 (640) hide show
  1. package/LICENSE +29 -0
  2. package/NOTICE +134 -0
  3. package/README.md +78 -2
  4. package/dist/client.d.mts +235 -0
  5. package/dist/client.d.ts +235 -0
  6. package/dist/client.js +710 -0
  7. package/dist/client.js.map +1 -0
  8. package/dist/client.mjs +700 -0
  9. package/dist/client.mjs.map +1 -0
  10. package/dist/enums/adapter.d.mts +6 -0
  11. package/dist/enums/adapter.d.ts +6 -0
  12. package/dist/enums/adapter.js +11 -0
  13. package/dist/enums/adapter.js.map +1 -0
  14. package/dist/enums/adapter.mjs +10 -0
  15. package/dist/enums/adapter.mjs.map +1 -0
  16. package/dist/enums/attribute-status.d.mts +9 -0
  17. package/dist/enums/attribute-status.d.ts +9 -0
  18. package/dist/enums/attribute-status.js +14 -0
  19. package/dist/enums/attribute-status.js.map +1 -0
  20. package/dist/enums/attribute-status.mjs +13 -0
  21. package/dist/enums/attribute-status.mjs.map +1 -0
  22. package/dist/enums/authentication-factor.d.mts +9 -0
  23. package/dist/enums/authentication-factor.d.ts +9 -0
  24. package/dist/enums/authentication-factor.js +14 -0
  25. package/dist/enums/authentication-factor.js.map +1 -0
  26. package/dist/enums/authentication-factor.mjs +13 -0
  27. package/dist/enums/authentication-factor.mjs.map +1 -0
  28. package/dist/enums/authenticator-type.d.mts +5 -0
  29. package/dist/enums/authenticator-type.d.ts +5 -0
  30. package/dist/enums/authenticator-type.js +10 -0
  31. package/dist/enums/authenticator-type.js.map +1 -0
  32. package/dist/enums/authenticator-type.mjs +9 -0
  33. package/dist/enums/authenticator-type.mjs.map +1 -0
  34. package/dist/enums/browser-permission.d.mts +24 -0
  35. package/dist/enums/browser-permission.d.ts +24 -0
  36. package/dist/enums/browser-permission.js +29 -0
  37. package/dist/enums/browser-permission.js.map +1 -0
  38. package/dist/enums/browser-permission.mjs +28 -0
  39. package/dist/enums/browser-permission.mjs.map +1 -0
  40. package/dist/enums/browser-theme.d.mts +6 -0
  41. package/dist/enums/browser-theme.d.ts +6 -0
  42. package/dist/enums/browser-theme.js +11 -0
  43. package/dist/enums/browser-theme.js.map +1 -0
  44. package/dist/enums/browser-theme.mjs +10 -0
  45. package/dist/enums/browser-theme.mjs.map +1 -0
  46. package/dist/enums/browser.d.mts +18 -0
  47. package/dist/enums/browser.d.ts +18 -0
  48. package/dist/enums/browser.js +23 -0
  49. package/dist/enums/browser.js.map +1 -0
  50. package/dist/enums/browser.mjs +22 -0
  51. package/dist/enums/browser.mjs.map +1 -0
  52. package/dist/enums/build-runtime.d.mts +102 -0
  53. package/dist/enums/build-runtime.d.ts +102 -0
  54. package/dist/enums/build-runtime.js +107 -0
  55. package/dist/enums/build-runtime.js.map +1 -0
  56. package/dist/enums/build-runtime.mjs +106 -0
  57. package/dist/enums/build-runtime.mjs.map +1 -0
  58. package/dist/enums/column-status.d.mts +9 -0
  59. package/dist/enums/column-status.d.ts +9 -0
  60. package/dist/enums/column-status.js +14 -0
  61. package/dist/enums/column-status.js.map +1 -0
  62. package/dist/enums/column-status.mjs +13 -0
  63. package/dist/enums/column-status.mjs.map +1 -0
  64. package/dist/enums/compression.d.mts +7 -0
  65. package/dist/enums/compression.d.ts +7 -0
  66. package/dist/enums/compression.js +12 -0
  67. package/dist/enums/compression.js.map +1 -0
  68. package/dist/enums/compression.mjs +11 -0
  69. package/dist/enums/compression.mjs.map +1 -0
  70. package/dist/enums/credit-card.d.mts +21 -0
  71. package/dist/enums/credit-card.d.ts +21 -0
  72. package/dist/enums/credit-card.js +26 -0
  73. package/dist/enums/credit-card.js.map +1 -0
  74. package/dist/enums/credit-card.mjs +25 -0
  75. package/dist/enums/credit-card.mjs.map +1 -0
  76. package/dist/enums/database-status.d.mts +7 -0
  77. package/dist/enums/database-status.d.ts +7 -0
  78. package/dist/enums/database-status.js +12 -0
  79. package/dist/enums/database-status.js.map +1 -0
  80. package/dist/enums/database-status.mjs +11 -0
  81. package/dist/enums/database-status.mjs.map +1 -0
  82. package/dist/enums/database-type.d.mts +8 -0
  83. package/dist/enums/database-type.d.ts +8 -0
  84. package/dist/enums/database-type.js +13 -0
  85. package/dist/enums/database-type.js.map +1 -0
  86. package/dist/enums/database-type.mjs +12 -0
  87. package/dist/enums/database-type.mjs.map +1 -0
  88. package/dist/enums/databases-index-type.d.mts +8 -0
  89. package/dist/enums/databases-index-type.d.ts +8 -0
  90. package/dist/enums/databases-index-type.js +13 -0
  91. package/dist/enums/databases-index-type.js.map +1 -0
  92. package/dist/enums/databases-index-type.mjs +12 -0
  93. package/dist/enums/databases-index-type.mjs.map +1 -0
  94. package/dist/enums/deployment-download-type.d.mts +6 -0
  95. package/dist/enums/deployment-download-type.d.ts +6 -0
  96. package/dist/enums/deployment-download-type.js +11 -0
  97. package/dist/enums/deployment-download-type.js.map +1 -0
  98. package/dist/enums/deployment-download-type.mjs +10 -0
  99. package/dist/enums/deployment-download-type.mjs.map +1 -0
  100. package/dist/enums/deployment-status.d.mts +10 -0
  101. package/dist/enums/deployment-status.d.ts +10 -0
  102. package/dist/enums/deployment-status.js +15 -0
  103. package/dist/enums/deployment-status.js.map +1 -0
  104. package/dist/enums/deployment-status.mjs +14 -0
  105. package/dist/enums/deployment-status.mjs.map +1 -0
  106. package/dist/enums/embedding-model.d.mts +6 -0
  107. package/dist/enums/embedding-model.d.ts +6 -0
  108. package/dist/enums/embedding-model.js +11 -0
  109. package/dist/enums/embedding-model.js.map +1 -0
  110. package/dist/enums/embedding-model.mjs +10 -0
  111. package/dist/enums/embedding-model.mjs.map +1 -0
  112. package/dist/enums/execution-method.d.mts +11 -0
  113. package/dist/enums/execution-method.d.ts +11 -0
  114. package/dist/enums/execution-method.js +16 -0
  115. package/dist/enums/execution-method.js.map +1 -0
  116. package/dist/enums/execution-method.mjs +15 -0
  117. package/dist/enums/execution-method.mjs.map +1 -0
  118. package/dist/enums/execution-resource-type.d.mts +6 -0
  119. package/dist/enums/execution-resource-type.d.ts +6 -0
  120. package/dist/enums/execution-resource-type.js +11 -0
  121. package/dist/enums/execution-resource-type.js.map +1 -0
  122. package/dist/enums/execution-resource-type.mjs +10 -0
  123. package/dist/enums/execution-resource-type.mjs.map +1 -0
  124. package/dist/enums/execution-status.d.mts +9 -0
  125. package/dist/enums/execution-status.d.ts +9 -0
  126. package/dist/enums/execution-status.js +14 -0
  127. package/dist/enums/execution-status.js.map +1 -0
  128. package/dist/enums/execution-status.mjs +13 -0
  129. package/dist/enums/execution-status.mjs.map +1 -0
  130. package/dist/enums/execution-trigger.d.mts +7 -0
  131. package/dist/enums/execution-trigger.d.ts +7 -0
  132. package/dist/enums/execution-trigger.js +12 -0
  133. package/dist/enums/execution-trigger.js.map +1 -0
  134. package/dist/enums/execution-trigger.mjs +11 -0
  135. package/dist/enums/execution-trigger.mjs.map +1 -0
  136. package/dist/enums/flag.d.mts +199 -0
  137. package/dist/enums/flag.d.ts +199 -0
  138. package/dist/enums/flag.js +204 -0
  139. package/dist/enums/flag.js.map +1 -0
  140. package/dist/enums/flag.mjs +203 -0
  141. package/dist/enums/flag.mjs.map +1 -0
  142. package/dist/enums/framework.d.mts +20 -0
  143. package/dist/enums/framework.d.ts +20 -0
  144. package/dist/enums/framework.js +25 -0
  145. package/dist/enums/framework.js.map +1 -0
  146. package/dist/enums/framework.mjs +24 -0
  147. package/dist/enums/framework.mjs.map +1 -0
  148. package/dist/enums/id-token-provider.d.mts +6 -0
  149. package/dist/enums/id-token-provider.d.ts +6 -0
  150. package/dist/enums/id-token-provider.js +11 -0
  151. package/dist/enums/id-token-provider.js.map +1 -0
  152. package/dist/enums/id-token-provider.mjs +10 -0
  153. package/dist/enums/id-token-provider.mjs.map +1 -0
  154. package/dist/enums/image-format.d.mts +11 -0
  155. package/dist/enums/image-format.d.ts +11 -0
  156. package/dist/enums/image-format.js +16 -0
  157. package/dist/enums/image-format.js.map +1 -0
  158. package/dist/enums/image-format.mjs +15 -0
  159. package/dist/enums/image-format.mjs.map +1 -0
  160. package/dist/enums/image-gravity.d.mts +14 -0
  161. package/dist/enums/image-gravity.d.ts +14 -0
  162. package/dist/enums/image-gravity.js +19 -0
  163. package/dist/enums/image-gravity.js.map +1 -0
  164. package/dist/enums/image-gravity.mjs +18 -0
  165. package/dist/enums/image-gravity.mjs.map +1 -0
  166. package/dist/enums/index-status.d.mts +9 -0
  167. package/dist/enums/index-status.d.ts +9 -0
  168. package/dist/enums/index-status.js +14 -0
  169. package/dist/enums/index-status.js.map +1 -0
  170. package/dist/enums/index-status.mjs +13 -0
  171. package/dist/enums/index-status.mjs.map +1 -0
  172. package/dist/enums/message-priority.d.mts +6 -0
  173. package/dist/enums/message-priority.d.ts +6 -0
  174. package/dist/enums/message-priority.js +11 -0
  175. package/dist/enums/message-priority.js.map +1 -0
  176. package/dist/enums/message-priority.mjs +10 -0
  177. package/dist/enums/message-priority.mjs.map +1 -0
  178. package/dist/enums/message-status.d.mts +9 -0
  179. package/dist/enums/message-status.d.ts +9 -0
  180. package/dist/enums/message-status.js +14 -0
  181. package/dist/enums/message-status.js.map +1 -0
  182. package/dist/enums/message-status.mjs +13 -0
  183. package/dist/enums/message-status.mjs.map +1 -0
  184. package/dist/enums/messaging-provider-type.d.mts +7 -0
  185. package/dist/enums/messaging-provider-type.d.ts +7 -0
  186. package/dist/enums/messaging-provider-type.js +12 -0
  187. package/dist/enums/messaging-provider-type.js.map +1 -0
  188. package/dist/enums/messaging-provider-type.mjs +11 -0
  189. package/dist/enums/messaging-provider-type.mjs.map +1 -0
  190. package/dist/enums/o-auth-2-auth-0-prompt.d.mts +7 -0
  191. package/dist/enums/o-auth-2-auth-0-prompt.d.ts +7 -0
  192. package/dist/enums/o-auth-2-auth-0-prompt.js +12 -0
  193. package/dist/enums/o-auth-2-auth-0-prompt.js.map +1 -0
  194. package/dist/enums/o-auth-2-auth-0-prompt.mjs +11 -0
  195. package/dist/enums/o-auth-2-auth-0-prompt.mjs.map +1 -0
  196. package/dist/enums/o-auth-2-discord-prompt.d.mts +6 -0
  197. package/dist/enums/o-auth-2-discord-prompt.d.ts +6 -0
  198. package/dist/enums/o-auth-2-discord-prompt.js +11 -0
  199. package/dist/enums/o-auth-2-discord-prompt.js.map +1 -0
  200. package/dist/enums/o-auth-2-discord-prompt.mjs +10 -0
  201. package/dist/enums/o-auth-2-discord-prompt.mjs.map +1 -0
  202. package/dist/enums/o-auth-2-github-prompt.d.mts +5 -0
  203. package/dist/enums/o-auth-2-github-prompt.d.ts +5 -0
  204. package/dist/enums/o-auth-2-github-prompt.js +10 -0
  205. package/dist/enums/o-auth-2-github-prompt.js.map +1 -0
  206. package/dist/enums/o-auth-2-github-prompt.mjs +9 -0
  207. package/dist/enums/o-auth-2-github-prompt.mjs.map +1 -0
  208. package/dist/enums/o-auth-2-google-prompt.d.mts +7 -0
  209. package/dist/enums/o-auth-2-google-prompt.d.ts +7 -0
  210. package/dist/enums/o-auth-2-google-prompt.js +12 -0
  211. package/dist/enums/o-auth-2-google-prompt.js.map +1 -0
  212. package/dist/enums/o-auth-2-google-prompt.mjs +11 -0
  213. package/dist/enums/o-auth-2-google-prompt.mjs.map +1 -0
  214. package/dist/enums/o-auth-2-kakao-prompt.d.mts +8 -0
  215. package/dist/enums/o-auth-2-kakao-prompt.d.ts +8 -0
  216. package/dist/enums/o-auth-2-kakao-prompt.js +13 -0
  217. package/dist/enums/o-auth-2-kakao-prompt.js.map +1 -0
  218. package/dist/enums/o-auth-2-kakao-prompt.mjs +12 -0
  219. package/dist/enums/o-auth-2-kakao-prompt.mjs.map +1 -0
  220. package/dist/enums/o-auth-2-microsoft-prompt.d.mts +8 -0
  221. package/dist/enums/o-auth-2-microsoft-prompt.d.ts +8 -0
  222. package/dist/enums/o-auth-2-microsoft-prompt.js +13 -0
  223. package/dist/enums/o-auth-2-microsoft-prompt.js.map +1 -0
  224. package/dist/enums/o-auth-2-microsoft-prompt.mjs +12 -0
  225. package/dist/enums/o-auth-2-microsoft-prompt.mjs.map +1 -0
  226. package/dist/enums/o-auth-2-oidc-prompt.d.mts +8 -0
  227. package/dist/enums/o-auth-2-oidc-prompt.d.ts +8 -0
  228. package/dist/enums/o-auth-2-oidc-prompt.js +13 -0
  229. package/dist/enums/o-auth-2-oidc-prompt.js.map +1 -0
  230. package/dist/enums/o-auth-2-oidc-prompt.mjs +12 -0
  231. package/dist/enums/o-auth-2-oidc-prompt.mjs.map +1 -0
  232. package/dist/enums/o-auth-2-okta-prompt.d.mts +7 -0
  233. package/dist/enums/o-auth-2-okta-prompt.d.ts +7 -0
  234. package/dist/enums/o-auth-2-okta-prompt.js +12 -0
  235. package/dist/enums/o-auth-2-okta-prompt.js.map +1 -0
  236. package/dist/enums/o-auth-2-okta-prompt.mjs +11 -0
  237. package/dist/enums/o-auth-2-okta-prompt.mjs.map +1 -0
  238. package/dist/enums/o-auth-2-salesforce-prompt.d.mts +6 -0
  239. package/dist/enums/o-auth-2-salesforce-prompt.d.ts +6 -0
  240. package/dist/enums/o-auth-2-salesforce-prompt.js +11 -0
  241. package/dist/enums/o-auth-2-salesforce-prompt.js.map +1 -0
  242. package/dist/enums/o-auth-2-salesforce-prompt.mjs +10 -0
  243. package/dist/enums/o-auth-2-salesforce-prompt.mjs.map +1 -0
  244. package/dist/enums/o-auth-2-zoho-prompt.d.mts +5 -0
  245. package/dist/enums/o-auth-2-zoho-prompt.d.ts +5 -0
  246. package/dist/enums/o-auth-2-zoho-prompt.js +10 -0
  247. package/dist/enums/o-auth-2-zoho-prompt.js.map +1 -0
  248. package/dist/enums/o-auth-2-zoho-prompt.mjs +9 -0
  249. package/dist/enums/o-auth-2-zoho-prompt.mjs.map +1 -0
  250. package/dist/enums/o-auth-provider.d.mts +53 -0
  251. package/dist/enums/o-auth-provider.d.ts +53 -0
  252. package/dist/enums/o-auth-provider.js +58 -0
  253. package/dist/enums/o-auth-provider.js.map +1 -0
  254. package/dist/enums/o-auth-provider.mjs +57 -0
  255. package/dist/enums/o-auth-provider.mjs.map +1 -0
  256. package/dist/enums/order-by.d.mts +6 -0
  257. package/dist/enums/order-by.d.ts +6 -0
  258. package/dist/enums/order-by.js +11 -0
  259. package/dist/enums/order-by.js.map +1 -0
  260. package/dist/enums/order-by.mjs +10 -0
  261. package/dist/enums/order-by.mjs.map +1 -0
  262. package/dist/enums/password-hash.d.mts +15 -0
  263. package/dist/enums/password-hash.d.ts +15 -0
  264. package/dist/enums/password-hash.js +20 -0
  265. package/dist/enums/password-hash.js.map +1 -0
  266. package/dist/enums/password-hash.mjs +19 -0
  267. package/dist/enums/password-hash.mjs.map +1 -0
  268. package/dist/enums/platform-type.d.mts +9 -0
  269. package/dist/enums/platform-type.d.ts +9 -0
  270. package/dist/enums/platform-type.js +14 -0
  271. package/dist/enums/platform-type.js.map +1 -0
  272. package/dist/enums/platform-type.mjs +13 -0
  273. package/dist/enums/platform-type.mjs.map +1 -0
  274. package/dist/enums/project-auth-method-id.d.mts +12 -0
  275. package/dist/enums/project-auth-method-id.d.ts +12 -0
  276. package/dist/enums/project-auth-method-id.js +17 -0
  277. package/dist/enums/project-auth-method-id.js.map +1 -0
  278. package/dist/enums/project-auth-method-id.mjs +16 -0
  279. package/dist/enums/project-auth-method-id.mjs.map +1 -0
  280. package/dist/enums/project-email-template-id.d.mts +13 -0
  281. package/dist/enums/project-email-template-id.d.ts +13 -0
  282. package/dist/enums/project-email-template-id.js +18 -0
  283. package/dist/enums/project-email-template-id.js.map +1 -0
  284. package/dist/enums/project-email-template-id.mjs +17 -0
  285. package/dist/enums/project-email-template-id.mjs.map +1 -0
  286. package/dist/enums/project-email-template-locale.d.mts +135 -0
  287. package/dist/enums/project-email-template-locale.d.ts +135 -0
  288. package/dist/enums/project-email-template-locale.js +140 -0
  289. package/dist/enums/project-email-template-locale.js.map +1 -0
  290. package/dist/enums/project-email-template-locale.mjs +139 -0
  291. package/dist/enums/project-email-template-locale.mjs.map +1 -0
  292. package/dist/enums/project-key-scopes.d.mts +109 -0
  293. package/dist/enums/project-key-scopes.d.ts +109 -0
  294. package/dist/enums/project-key-scopes.js +114 -0
  295. package/dist/enums/project-key-scopes.js.map +1 -0
  296. package/dist/enums/project-key-scopes.mjs +113 -0
  297. package/dist/enums/project-key-scopes.mjs.map +1 -0
  298. package/dist/enums/project-o-auth-2-auth-0-prompt.d.mts +7 -0
  299. package/dist/enums/project-o-auth-2-auth-0-prompt.d.ts +7 -0
  300. package/dist/enums/project-o-auth-2-auth-0-prompt.js +12 -0
  301. package/dist/enums/project-o-auth-2-auth-0-prompt.js.map +1 -0
  302. package/dist/enums/project-o-auth-2-auth-0-prompt.mjs +11 -0
  303. package/dist/enums/project-o-auth-2-auth-0-prompt.mjs.map +1 -0
  304. package/dist/enums/project-o-auth-2-discord-prompt.d.mts +6 -0
  305. package/dist/enums/project-o-auth-2-discord-prompt.d.ts +6 -0
  306. package/dist/enums/project-o-auth-2-discord-prompt.js +11 -0
  307. package/dist/enums/project-o-auth-2-discord-prompt.js.map +1 -0
  308. package/dist/enums/project-o-auth-2-discord-prompt.mjs +10 -0
  309. package/dist/enums/project-o-auth-2-discord-prompt.mjs.map +1 -0
  310. package/dist/enums/project-o-auth-2-git-hub-prompt.d.mts +5 -0
  311. package/dist/enums/project-o-auth-2-git-hub-prompt.d.ts +5 -0
  312. package/dist/enums/project-o-auth-2-git-hub-prompt.js +10 -0
  313. package/dist/enums/project-o-auth-2-git-hub-prompt.js.map +1 -0
  314. package/dist/enums/project-o-auth-2-git-hub-prompt.mjs +9 -0
  315. package/dist/enums/project-o-auth-2-git-hub-prompt.mjs.map +1 -0
  316. package/dist/enums/project-o-auth-2-google-prompt.d.mts +7 -0
  317. package/dist/enums/project-o-auth-2-google-prompt.d.ts +7 -0
  318. package/dist/enums/project-o-auth-2-google-prompt.js +12 -0
  319. package/dist/enums/project-o-auth-2-google-prompt.js.map +1 -0
  320. package/dist/enums/project-o-auth-2-google-prompt.mjs +11 -0
  321. package/dist/enums/project-o-auth-2-google-prompt.mjs.map +1 -0
  322. package/dist/enums/project-o-auth-2-kakao-prompt.d.mts +8 -0
  323. package/dist/enums/project-o-auth-2-kakao-prompt.d.ts +8 -0
  324. package/dist/enums/project-o-auth-2-kakao-prompt.js +13 -0
  325. package/dist/enums/project-o-auth-2-kakao-prompt.js.map +1 -0
  326. package/dist/enums/project-o-auth-2-kakao-prompt.mjs +12 -0
  327. package/dist/enums/project-o-auth-2-kakao-prompt.mjs.map +1 -0
  328. package/dist/enums/project-o-auth-2-microsoft-prompt.d.mts +8 -0
  329. package/dist/enums/project-o-auth-2-microsoft-prompt.d.ts +8 -0
  330. package/dist/enums/project-o-auth-2-microsoft-prompt.js +13 -0
  331. package/dist/enums/project-o-auth-2-microsoft-prompt.js.map +1 -0
  332. package/dist/enums/project-o-auth-2-microsoft-prompt.mjs +12 -0
  333. package/dist/enums/project-o-auth-2-microsoft-prompt.mjs.map +1 -0
  334. package/dist/enums/project-o-auth-2-oidc-prompt.d.mts +8 -0
  335. package/dist/enums/project-o-auth-2-oidc-prompt.d.ts +8 -0
  336. package/dist/enums/project-o-auth-2-oidc-prompt.js +13 -0
  337. package/dist/enums/project-o-auth-2-oidc-prompt.js.map +1 -0
  338. package/dist/enums/project-o-auth-2-oidc-prompt.mjs +12 -0
  339. package/dist/enums/project-o-auth-2-oidc-prompt.mjs.map +1 -0
  340. package/dist/enums/project-o-auth-2-okta-prompt.d.mts +7 -0
  341. package/dist/enums/project-o-auth-2-okta-prompt.d.ts +7 -0
  342. package/dist/enums/project-o-auth-2-okta-prompt.js +12 -0
  343. package/dist/enums/project-o-auth-2-okta-prompt.js.map +1 -0
  344. package/dist/enums/project-o-auth-2-okta-prompt.mjs +11 -0
  345. package/dist/enums/project-o-auth-2-okta-prompt.mjs.map +1 -0
  346. package/dist/enums/project-o-auth-2-salesforce-prompt.d.mts +6 -0
  347. package/dist/enums/project-o-auth-2-salesforce-prompt.d.ts +6 -0
  348. package/dist/enums/project-o-auth-2-salesforce-prompt.js +11 -0
  349. package/dist/enums/project-o-auth-2-salesforce-prompt.js.map +1 -0
  350. package/dist/enums/project-o-auth-2-salesforce-prompt.mjs +10 -0
  351. package/dist/enums/project-o-auth-2-salesforce-prompt.mjs.map +1 -0
  352. package/dist/enums/project-o-auth-2-zoho-prompt.d.mts +5 -0
  353. package/dist/enums/project-o-auth-2-zoho-prompt.d.ts +5 -0
  354. package/dist/enums/project-o-auth-2-zoho-prompt.js +10 -0
  355. package/dist/enums/project-o-auth-2-zoho-prompt.js.map +1 -0
  356. package/dist/enums/project-o-auth-2-zoho-prompt.mjs +9 -0
  357. package/dist/enums/project-o-auth-2-zoho-prompt.mjs.map +1 -0
  358. package/dist/enums/project-o-auth-provider-id.d.mts +53 -0
  359. package/dist/enums/project-o-auth-provider-id.d.ts +53 -0
  360. package/dist/enums/project-o-auth-provider-id.js +58 -0
  361. package/dist/enums/project-o-auth-provider-id.js.map +1 -0
  362. package/dist/enums/project-o-auth-provider-id.mjs +57 -0
  363. package/dist/enums/project-o-auth-provider-id.mjs.map +1 -0
  364. package/dist/enums/project-policy-id.d.mts +21 -0
  365. package/dist/enums/project-policy-id.d.ts +21 -0
  366. package/dist/enums/project-policy-id.js +26 -0
  367. package/dist/enums/project-policy-id.js.map +1 -0
  368. package/dist/enums/project-policy-id.mjs +25 -0
  369. package/dist/enums/project-policy-id.mjs.map +1 -0
  370. package/dist/enums/project-protocol-id.d.mts +7 -0
  371. package/dist/enums/project-protocol-id.d.ts +7 -0
  372. package/dist/enums/project-protocol-id.js +12 -0
  373. package/dist/enums/project-protocol-id.js.map +1 -0
  374. package/dist/enums/project-protocol-id.mjs +11 -0
  375. package/dist/enums/project-protocol-id.mjs.map +1 -0
  376. package/dist/enums/project-service-id.d.mts +22 -0
  377. package/dist/enums/project-service-id.d.ts +22 -0
  378. package/dist/enums/project-service-id.js +27 -0
  379. package/dist/enums/project-service-id.js.map +1 -0
  380. package/dist/enums/project-service-id.mjs +26 -0
  381. package/dist/enums/project-service-id.mjs.map +1 -0
  382. package/dist/enums/project-smtp-secure.d.mts +6 -0
  383. package/dist/enums/project-smtp-secure.d.ts +6 -0
  384. package/dist/enums/project-smtp-secure.js +11 -0
  385. package/dist/enums/project-smtp-secure.js.map +1 -0
  386. package/dist/enums/project-smtp-secure.mjs +10 -0
  387. package/dist/enums/project-smtp-secure.mjs.map +1 -0
  388. package/dist/enums/proxy-resource-type.d.mts +6 -0
  389. package/dist/enums/proxy-resource-type.d.ts +6 -0
  390. package/dist/enums/proxy-resource-type.js +11 -0
  391. package/dist/enums/proxy-resource-type.js.map +1 -0
  392. package/dist/enums/proxy-resource-type.mjs +10 -0
  393. package/dist/enums/proxy-resource-type.mjs.map +1 -0
  394. package/dist/enums/proxy-rule-deployment-resource-type.d.mts +6 -0
  395. package/dist/enums/proxy-rule-deployment-resource-type.d.ts +6 -0
  396. package/dist/enums/proxy-rule-deployment-resource-type.js +11 -0
  397. package/dist/enums/proxy-rule-deployment-resource-type.js.map +1 -0
  398. package/dist/enums/proxy-rule-deployment-resource-type.mjs +10 -0
  399. package/dist/enums/proxy-rule-deployment-resource-type.mjs.map +1 -0
  400. package/dist/enums/proxy-rule-status.d.mts +7 -0
  401. package/dist/enums/proxy-rule-status.d.ts +7 -0
  402. package/dist/enums/proxy-rule-status.js +12 -0
  403. package/dist/enums/proxy-rule-status.js.map +1 -0
  404. package/dist/enums/proxy-rule-status.mjs +11 -0
  405. package/dist/enums/proxy-rule-status.mjs.map +1 -0
  406. package/dist/enums/region.d.mts +5 -0
  407. package/dist/enums/region.d.ts +5 -0
  408. package/dist/enums/region.js +10 -0
  409. package/dist/enums/region.js.map +1 -0
  410. package/dist/enums/region.mjs +9 -0
  411. package/dist/enums/region.mjs.map +1 -0
  412. package/dist/enums/relation-mutate.d.mts +7 -0
  413. package/dist/enums/relation-mutate.d.ts +7 -0
  414. package/dist/enums/relation-mutate.js +12 -0
  415. package/dist/enums/relation-mutate.js.map +1 -0
  416. package/dist/enums/relation-mutate.mjs +11 -0
  417. package/dist/enums/relation-mutate.mjs.map +1 -0
  418. package/dist/enums/relationship-type.d.mts +8 -0
  419. package/dist/enums/relationship-type.d.ts +8 -0
  420. package/dist/enums/relationship-type.js +13 -0
  421. package/dist/enums/relationship-type.js.map +1 -0
  422. package/dist/enums/relationship-type.mjs +12 -0
  423. package/dist/enums/relationship-type.mjs.map +1 -0
  424. package/dist/enums/runtime.d.mts +102 -0
  425. package/dist/enums/runtime.d.ts +102 -0
  426. package/dist/enums/runtime.js +107 -0
  427. package/dist/enums/runtime.js.map +1 -0
  428. package/dist/enums/runtime.mjs +106 -0
  429. package/dist/enums/runtime.mjs.map +1 -0
  430. package/dist/enums/smtp-encryption.d.mts +7 -0
  431. package/dist/enums/smtp-encryption.d.ts +7 -0
  432. package/dist/enums/smtp-encryption.js +12 -0
  433. package/dist/enums/smtp-encryption.js.map +1 -0
  434. package/dist/enums/smtp-encryption.mjs +11 -0
  435. package/dist/enums/smtp-encryption.mjs.map +1 -0
  436. package/dist/enums/status-code.d.mts +8 -0
  437. package/dist/enums/status-code.d.ts +8 -0
  438. package/dist/enums/status-code.js +13 -0
  439. package/dist/enums/status-code.js.map +1 -0
  440. package/dist/enums/status-code.mjs +12 -0
  441. package/dist/enums/status-code.mjs.map +1 -0
  442. package/dist/enums/tables-db-index-type.d.mts +8 -0
  443. package/dist/enums/tables-db-index-type.d.ts +8 -0
  444. package/dist/enums/tables-db-index-type.js +13 -0
  445. package/dist/enums/tables-db-index-type.js.map +1 -0
  446. package/dist/enums/tables-db-index-type.mjs +12 -0
  447. package/dist/enums/tables-db-index-type.mjs.map +1 -0
  448. package/dist/enums/template-reference-type.d.mts +7 -0
  449. package/dist/enums/template-reference-type.d.ts +7 -0
  450. package/dist/enums/template-reference-type.js +12 -0
  451. package/dist/enums/template-reference-type.js.map +1 -0
  452. package/dist/enums/template-reference-type.mjs +11 -0
  453. package/dist/enums/template-reference-type.mjs.map +1 -0
  454. package/dist/enums/timezone.d.mts +423 -0
  455. package/dist/enums/timezone.d.ts +423 -0
  456. package/dist/enums/timezone.js +428 -0
  457. package/dist/enums/timezone.js.map +1 -0
  458. package/dist/enums/timezone.mjs +427 -0
  459. package/dist/enums/timezone.mjs.map +1 -0
  460. package/dist/enums/vcs-reference-type.d.mts +7 -0
  461. package/dist/enums/vcs-reference-type.d.ts +7 -0
  462. package/dist/enums/vcs-reference-type.js +12 -0
  463. package/dist/enums/vcs-reference-type.js.map +1 -0
  464. package/dist/enums/vcs-reference-type.mjs +11 -0
  465. package/dist/enums/vcs-reference-type.mjs.map +1 -0
  466. package/dist/id.d.mts +22 -0
  467. package/dist/id.d.ts +22 -0
  468. package/dist/id.js +45 -0
  469. package/dist/id.js.map +1 -0
  470. package/dist/id.mjs +44 -0
  471. package/dist/id.mjs.map +1 -0
  472. package/dist/index.d.mts +106 -0
  473. package/dist/index.d.ts +106 -0
  474. package/dist/index.js +533 -0
  475. package/dist/index.js.map +1 -0
  476. package/dist/index.mjs +104 -0
  477. package/dist/index.mjs.map +1 -0
  478. package/dist/inputFile.d.mts +21 -0
  479. package/dist/inputFile.d.ts +21 -0
  480. package/dist/inputFile.js +133 -0
  481. package/dist/inputFile.js.map +1 -0
  482. package/dist/inputFile.mjs +132 -0
  483. package/dist/inputFile.mjs.map +1 -0
  484. package/dist/models.d.mts +6790 -0
  485. package/dist/models.d.ts +6790 -0
  486. package/dist/models.js +4 -0
  487. package/dist/models.js.map +1 -0
  488. package/dist/models.mjs +3 -0
  489. package/dist/models.mjs.map +1 -0
  490. package/dist/operator.d.mts +181 -0
  491. package/dist/operator.d.ts +181 -0
  492. package/dist/operator.js +271 -0
  493. package/dist/operator.js.map +1 -0
  494. package/dist/operator.mjs +269 -0
  495. package/dist/operator.mjs.map +1 -0
  496. package/dist/permission.d.mts +45 -0
  497. package/dist/permission.d.ts +45 -0
  498. package/dist/permission.js +56 -0
  499. package/dist/permission.js.map +1 -0
  500. package/dist/permission.mjs +55 -0
  501. package/dist/permission.mjs.map +1 -0
  502. package/dist/query.d.mts +467 -0
  503. package/dist/query.d.ts +467 -0
  504. package/dist/query.js +517 -0
  505. package/dist/query.js.map +1 -0
  506. package/dist/query.mjs +512 -0
  507. package/dist/query.mjs.map +1 -0
  508. package/dist/role.d.mts +72 -0
  509. package/dist/role.d.ts +72 -0
  510. package/dist/role.js +96 -0
  511. package/dist/role.js.map +1 -0
  512. package/dist/role.mjs +95 -0
  513. package/dist/role.mjs.map +1 -0
  514. package/dist/services/account.d.mts +1349 -0
  515. package/dist/services/account.d.ts +1349 -0
  516. package/dist/services/account.js +1891 -0
  517. package/dist/services/account.js.map +1 -0
  518. package/dist/services/account.mjs +1890 -0
  519. package/dist/services/account.mjs.map +1 -0
  520. package/dist/services/advisor.d.mts +154 -0
  521. package/dist/services/advisor.d.ts +154 -0
  522. package/dist/services/advisor.js +155 -0
  523. package/dist/services/advisor.js.map +1 -0
  524. package/dist/services/advisor.mjs +154 -0
  525. package/dist/services/advisor.mjs.map +1 -0
  526. package/dist/services/avatars.d.mts +424 -0
  527. package/dist/services/avatars.d.ts +424 -0
  528. package/dist/services/avatars.js +553 -0
  529. package/dist/services/avatars.js.map +1 -0
  530. package/dist/services/avatars.mjs +552 -0
  531. package/dist/services/avatars.mjs.map +1 -0
  532. package/dist/services/databases.d.mts +2424 -0
  533. package/dist/services/databases.d.ts +2424 -0
  534. package/dist/services/databases.js +3878 -0
  535. package/dist/services/databases.js.map +1 -0
  536. package/dist/services/databases.mjs +3877 -0
  537. package/dist/services/databases.mjs.map +1 -0
  538. package/dist/services/embeddings.d.mts +62 -0
  539. package/dist/services/embeddings.d.ts +62 -0
  540. package/dist/services/embeddings.js +44 -0
  541. package/dist/services/embeddings.js.map +1 -0
  542. package/dist/services/embeddings.mjs +43 -0
  543. package/dist/services/embeddings.mjs.map +1 -0
  544. package/dist/services/functions.d.mts +831 -0
  545. package/dist/services/functions.d.ts +831 -0
  546. package/dist/services/functions.js +1258 -0
  547. package/dist/services/functions.js.map +1 -0
  548. package/dist/services/functions.mjs +1257 -0
  549. package/dist/services/functions.mjs.map +1 -0
  550. package/dist/services/graphql.d.mts +75 -0
  551. package/dist/services/graphql.d.ts +75 -0
  552. package/dist/services/graphql.js +67 -0
  553. package/dist/services/graphql.js.map +1 -0
  554. package/dist/services/graphql.mjs +66 -0
  555. package/dist/services/graphql.mjs.map +1 -0
  556. package/dist/services/locale.d.mts +179 -0
  557. package/dist/services/locale.d.ts +179 -0
  558. package/dist/services/locale.js +183 -0
  559. package/dist/services/locale.js.map +1 -0
  560. package/dist/services/locale.mjs +182 -0
  561. package/dist/services/locale.mjs.map +1 -0
  562. package/dist/services/messaging.d.mts +2042 -0
  563. package/dist/services/messaging.d.ts +2042 -0
  564. package/dist/services/messaging.js +3148 -0
  565. package/dist/services/messaging.js.map +1 -0
  566. package/dist/services/messaging.mjs +3147 -0
  567. package/dist/services/messaging.mjs.map +1 -0
  568. package/dist/services/organization.d.mts +278 -0
  569. package/dist/services/organization.d.ts +278 -0
  570. package/dist/services/organization.js +368 -0
  571. package/dist/services/organization.js.map +1 -0
  572. package/dist/services/organization.mjs +367 -0
  573. package/dist/services/organization.mjs.map +1 -0
  574. package/dist/services/presences.d.mts +181 -0
  575. package/dist/services/presences.d.ts +181 -0
  576. package/dist/services/presences.js +220 -0
  577. package/dist/services/presences.js.map +1 -0
  578. package/dist/services/presences.mjs +219 -0
  579. package/dist/services/presences.mjs.map +1 -0
  580. package/dist/services/project.d.mts +2689 -0
  581. package/dist/services/project.d.ts +2689 -0
  582. package/dist/services/project.js +3753 -0
  583. package/dist/services/project.js.map +1 -0
  584. package/dist/services/project.mjs +3752 -0
  585. package/dist/services/project.mjs.map +1 -0
  586. package/dist/services/proxy.d.mts +234 -0
  587. package/dist/services/proxy.d.ts +234 -0
  588. package/dist/services/proxy.js +287 -0
  589. package/dist/services/proxy.js.map +1 -0
  590. package/dist/services/proxy.mjs +286 -0
  591. package/dist/services/proxy.mjs.map +1 -0
  592. package/dist/services/sites.d.mts +799 -0
  593. package/dist/services/sites.d.ts +799 -0
  594. package/dist/services/sites.js +1181 -0
  595. package/dist/services/sites.js.map +1 -0
  596. package/dist/services/sites.mjs +1180 -0
  597. package/dist/services/sites.mjs.map +1 -0
  598. package/dist/services/storage.d.mts +456 -0
  599. package/dist/services/storage.d.ts +456 -0
  600. package/dist/services/storage.js +617 -0
  601. package/dist/services/storage.js.map +1 -0
  602. package/dist/services/storage.mjs +616 -0
  603. package/dist/services/storage.mjs.map +1 -0
  604. package/dist/services/tables-db.d.mts +2353 -0
  605. package/dist/services/tables-db.d.ts +2353 -0
  606. package/dist/services/tables-db.js +3550 -0
  607. package/dist/services/tables-db.js.map +1 -0
  608. package/dist/services/tables-db.mjs +3549 -0
  609. package/dist/services/tables-db.mjs.map +1 -0
  610. package/dist/services/teams.d.mts +372 -0
  611. package/dist/services/teams.d.ts +372 -0
  612. package/dist/services/teams.js +482 -0
  613. package/dist/services/teams.js.map +1 -0
  614. package/dist/services/teams.mjs +481 -0
  615. package/dist/services/teams.mjs.map +1 -0
  616. package/dist/services/tokens.d.mts +150 -0
  617. package/dist/services/tokens.d.ts +150 -0
  618. package/dist/services/tokens.js +165 -0
  619. package/dist/services/tokens.js.map +1 -0
  620. package/dist/services/tokens.mjs +164 -0
  621. package/dist/services/tokens.mjs.map +1 -0
  622. package/dist/services/users.d.mts +1308 -0
  623. package/dist/services/users.d.ts +1308 -0
  624. package/dist/services/users.js +1897 -0
  625. package/dist/services/users.js.map +1 -0
  626. package/dist/services/users.mjs +1896 -0
  627. package/dist/services/users.mjs.map +1 -0
  628. package/dist/services/webhooks.d.mts +202 -0
  629. package/dist/services/webhooks.d.ts +202 -0
  630. package/dist/services/webhooks.js +277 -0
  631. package/dist/services/webhooks.js.map +1 -0
  632. package/dist/services/webhooks.mjs +276 -0
  633. package/dist/services/webhooks.mjs.map +1 -0
  634. package/dist/topic.d.mts +36 -0
  635. package/dist/topic.d.ts +36 -0
  636. package/dist/topic.js +86 -0
  637. package/dist/topic.js.map +1 -0
  638. package/dist/topic.mjs +84 -0
  639. package/dist/topic.mjs.map +1 -0
  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B;AAAA,IACJ;AAEA,IAAA,MAAM,WAAW,MAAA,CAAO,QAAA;AACxB,IAAA,MAAM,YAAY,MAAA,CAAO,SAAA;AACzB,IAAA,IAAI,OAAO,QAAA,KAAa,WAAA,IAAe,QAAA,KAAa,EAAA,EAAI;AACpD,MAAA,MAAM,IAAI,gBAAgB,wCAAwC,CAAA;AAAA,IACtE;AACA,IAAA,IAAI,OAAO,SAAA,KAAc,WAAA,IAAe,SAAA,KAAc,EAAA,EAAI;AACtD,MAAA,MAAM,IAAI,eAAA;AAAA,QACN;AAAA,OACJ;AAAA,IACJ;AACA,IAAA,MAAM,UAAU,0CAAA,CACX,OAAA,CAAQ,YAAA,EAAc,kBAAA,CAAmB,OAAO,QAAQ,CAAC,CAAC,CAAA,CAC1D,QAAQ,aAAA,EAAe,kBAAA,CAAmB,MAAA,CAAO,SAAS,CAAC,CAAC,CAAA;AACjE,IAAA,MAAM,aAAsB,EAAC;AAC7B,IAAA,MAAM,MAAM,IAAI,GAAA,CAAI,KAAK,MAAA,CAAO,MAAA,CAAO,WAAW,OAAO,CAAA;AAEzD,IAAA,MAAM,UAAA,GAA2C;AAAA,MAC7C,kBAAA,EAAoB,IAAA,CAAK,MAAA,CAAO,MAAA,CAAO,OAAA;AAAA,MACvC,MAAA,EAAQ;AAAA,KACZ;AAEA,IAAA,OAAO,KAAK,MAAA,CAAO,IAAA,CAAK,KAAA,EAAO,GAAA,EAAK,YAAY,UAAU,CAAA;AAAA,EAC9D;AACJ","file":"advisor.mjs","sourcesContent":["import { OwbaseException, Client, type Payload } from '../client';\nimport type { Models } from '../models';\n\nexport class Advisor {\n client: Client;\n\n constructor(client: Client) {\n this.client = client;\n }\n\n /**\n * Get a list of all the project's analyzer reports. You can use the query params to filter your results.\n *\n *\n * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://docs.owbase.dev/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: appId, type, targetType, target, analyzedAt\n * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.\n * @throws {OwbaseException}\n * @returns {Promise<Models.ReportList>}\n */\n listReports(params?: {\n queries?: string[];\n total?: boolean;\n }): Promise<Models.ReportList>;\n /**\n * Get a list of all the project's analyzer reports. You can use the query params to filter your results.\n *\n *\n * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://docs.owbase.dev/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: appId, type, targetType, target, analyzedAt\n * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.\n * @throws {OwbaseException}\n * @returns {Promise<Models.ReportList>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n listReports(\n queries?: string[],\n total?: boolean,\n ): Promise<Models.ReportList>;\n listReports(\n paramsOrFirst?: { queries?: string[]; total?: boolean } | string[],\n ...rest: [boolean?]\n ): Promise<Models.ReportList> {\n let params: { queries?: string[]; total?: boolean };\n\n if (\n (typeof paramsOrFirst === 'undefined' && rest.length === 0) ||\n (paramsOrFirst &&\n typeof paramsOrFirst === 'object' &&\n !Array.isArray(paramsOrFirst))\n ) {\n params = (paramsOrFirst || {}) as {\n queries?: string[];\n total?: boolean;\n };\n } else {\n params = {\n queries: paramsOrFirst as string[],\n total: rest[0] as boolean,\n };\n }\n\n const queries = params.queries;\n const total = params.total;\n const apiPath = '/reports';\n const apiPayload: Payload = {};\n if (typeof queries !== 'undefined') {\n apiPayload['queries'] = queries;\n }\n if (typeof total !== 'undefined') {\n apiPayload['total'] = total;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'X-Owbase-Project': this.client.config.project,\n accept: 'application/json',\n };\n\n return this.client.call('get', uri, apiHeaders, apiPayload);\n }\n\n /**\n * Get an analyzer report by its unique ID. The response includes the report's metadata and the nested insights it produced.\n *\n *\n * @param {string} params.reportId - Report ID.\n * @throws {OwbaseException}\n * @returns {Promise<Models.Report>}\n */\n getReport(params: { reportId: string }): Promise<Models.Report>;\n /**\n * Get an analyzer report by its unique ID. The response includes the report's metadata and the nested insights it produced.\n *\n *\n * @param {string} reportId - Report ID.\n * @throws {OwbaseException}\n * @returns {Promise<Models.Report>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n getReport(reportId: string): Promise<Models.Report>;\n getReport(\n paramsOrFirst: { reportId: string } | string,\n ): Promise<Models.Report> {\n let params: { reportId: string };\n\n if (\n paramsOrFirst &&\n typeof paramsOrFirst === 'object' &&\n !Array.isArray(paramsOrFirst)\n ) {\n params = (paramsOrFirst || {}) as { reportId: string };\n } else {\n params = {\n reportId: paramsOrFirst as string,\n };\n }\n\n const reportId = params.reportId;\n if (typeof reportId === 'undefined' || reportId === '') {\n throw new OwbaseException('Missing required parameter: \"reportId\"');\n }\n const apiPath = '/reports/{reportId}'.replace(\n '{reportId}',\n encodeURIComponent(String(reportId)),\n );\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'X-Owbase-Project': this.client.config.project,\n accept: 'application/json',\n };\n\n return this.client.call('get', uri, apiHeaders, apiPayload);\n }\n\n /**\n * Delete an analyzer report by its unique ID. Nested insights and CTA metadata are removed asynchronously by the deletes worker.\n *\n *\n * @param {string} params.reportId - Report ID.\n * @throws {OwbaseException}\n * @returns {Promise<{}>}\n */\n deleteReport(params: { reportId: string }): Promise<{}>;\n /**\n * Delete an analyzer report by its unique ID. Nested insights and CTA metadata are removed asynchronously by the deletes worker.\n *\n *\n * @param {string} reportId - Report ID.\n * @throws {OwbaseException}\n * @returns {Promise<{}>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n deleteReport(reportId: string): Promise<{}>;\n deleteReport(paramsOrFirst: { reportId: string } | string): Promise<{}> {\n let params: { reportId: string };\n\n if (\n paramsOrFirst &&\n typeof paramsOrFirst === 'object' &&\n !Array.isArray(paramsOrFirst)\n ) {\n params = (paramsOrFirst || {}) as { reportId: string };\n } else {\n params = {\n reportId: paramsOrFirst as string,\n };\n }\n\n const reportId = params.reportId;\n if (typeof reportId === 'undefined' || reportId === '') {\n throw new OwbaseException('Missing required parameter: \"reportId\"');\n }\n const apiPath = '/reports/{reportId}'.replace(\n '{reportId}',\n encodeURIComponent(String(reportId)),\n );\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'X-Owbase-Project': this.client.config.project,\n 'content-type': 'application/json',\n accept: 'application/json',\n };\n\n return this.client.call('delete', uri, apiHeaders, apiPayload);\n }\n\n /**\n * List the insights produced under a single analyzer report. You can use the query params to filter your results further.\n *\n *\n * @param {string} params.reportId - Parent report ID.\n * @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://docs.owbase.dev/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: type, severity, status, resourceType, resourceId, parentResourceType, parentResourceId, analyzedAt, dismissedAt, dismissedBy\n * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.\n * @throws {OwbaseException}\n * @returns {Promise<Models.InsightList>}\n */\n listInsights(params: {\n reportId: string;\n queries?: string[];\n total?: boolean;\n }): Promise<Models.InsightList>;\n /**\n * List the insights produced under a single analyzer report. You can use the query params to filter your results further.\n *\n *\n * @param {string} reportId - Parent report ID.\n * @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://docs.owbase.dev/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: type, severity, status, resourceType, resourceId, parentResourceType, parentResourceId, analyzedAt, dismissedAt, dismissedBy\n * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.\n * @throws {OwbaseException}\n * @returns {Promise<Models.InsightList>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n listInsights(\n reportId: string,\n queries?: string[],\n total?: boolean,\n ): Promise<Models.InsightList>;\n listInsights(\n paramsOrFirst:\n { reportId: string; queries?: string[]; total?: boolean } | string,\n ...rest: [string[]?, boolean?]\n ): Promise<Models.InsightList> {\n let params: { reportId: string; queries?: string[]; total?: boolean };\n\n if (\n paramsOrFirst &&\n typeof paramsOrFirst === 'object' &&\n !Array.isArray(paramsOrFirst)\n ) {\n params = (paramsOrFirst || {}) as {\n reportId: string;\n queries?: string[];\n total?: boolean;\n };\n } else {\n params = {\n reportId: paramsOrFirst as string,\n queries: rest[0] as string[],\n total: rest[1] as boolean,\n };\n }\n\n const reportId = params.reportId;\n const queries = params.queries;\n const total = params.total;\n if (typeof reportId === 'undefined' || reportId === '') {\n throw new OwbaseException('Missing required parameter: \"reportId\"');\n }\n const apiPath = '/reports/{reportId}/insights'.replace(\n '{reportId}',\n encodeURIComponent(String(reportId)),\n );\n const apiPayload: Payload = {};\n if (typeof queries !== 'undefined') {\n apiPayload['queries'] = queries;\n }\n if (typeof total !== 'undefined') {\n apiPayload['total'] = total;\n }\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'X-Owbase-Project': this.client.config.project,\n accept: 'application/json',\n };\n\n return this.client.call('get', uri, apiHeaders, apiPayload);\n }\n\n /**\n * Get an insight by its unique ID, scoped to its parent report.\n *\n *\n * @param {string} params.reportId - Parent report ID.\n * @param {string} params.insightId - Insight ID.\n * @throws {OwbaseException}\n * @returns {Promise<Models.Insight>}\n */\n getInsight(params: {\n reportId: string;\n insightId: string;\n }): Promise<Models.Insight>;\n /**\n * Get an insight by its unique ID, scoped to its parent report.\n *\n *\n * @param {string} reportId - Parent report ID.\n * @param {string} insightId - Insight ID.\n * @throws {OwbaseException}\n * @returns {Promise<Models.Insight>}\n * @deprecated Use the object parameter style method for a better developer experience.\n */\n getInsight(reportId: string, insightId: string): Promise<Models.Insight>;\n getInsight(\n paramsOrFirst: { reportId: string; insightId: string } | string,\n ...rest: [string?]\n ): Promise<Models.Insight> {\n let params: { reportId: string; insightId: string };\n\n if (\n paramsOrFirst &&\n typeof paramsOrFirst === 'object' &&\n !Array.isArray(paramsOrFirst)\n ) {\n params = (paramsOrFirst || {}) as {\n reportId: string;\n insightId: string;\n };\n } else {\n params = {\n reportId: paramsOrFirst as string,\n insightId: rest[0] as string,\n };\n }\n\n const reportId = params.reportId;\n const insightId = params.insightId;\n if (typeof reportId === 'undefined' || reportId === '') {\n throw new OwbaseException('Missing required parameter: \"reportId\"');\n }\n if (typeof insightId === 'undefined' || insightId === '') {\n throw new OwbaseException(\n 'Missing required parameter: \"insightId\"',\n );\n }\n const apiPath = '/reports/{reportId}/insights/{insightId}'\n .replace('{reportId}', encodeURIComponent(String(reportId)))\n .replace('{insightId}', encodeURIComponent(String(insightId)));\n const apiPayload: Payload = {};\n const uri = new URL(this.client.config.endpoint + apiPath);\n\n const apiHeaders: { [header: string]: string } = {\n 'X-Owbase-Project': this.client.config.project,\n accept: 'application/json',\n };\n\n return this.client.call('get', uri, apiHeaders, apiPayload);\n }\n}\n"]}
@@ -0,0 +1,424 @@
1
+ import { Client, UploadProgress } from '../client.mjs';
2
+ import { Models } from '../models.mjs';
3
+ import { InputFile } from '../inputFile.mjs';
4
+ import { Browser } from '../enums/browser.mjs';
5
+ import { CreditCard } from '../enums/credit-card.mjs';
6
+ import { Flag } from '../enums/flag.mjs';
7
+ import { BrowserTheme } from '../enums/browser-theme.mjs';
8
+ import { Timezone } from '../enums/timezone.mjs';
9
+ import { BrowserPermission } from '../enums/browser-permission.mjs';
10
+ import { ImageFormat } from '../enums/image-format.mjs';
11
+ import 'undici';
12
+ import '../query.mjs';
13
+ import '../enums/database-type.mjs';
14
+ import '../enums/database-status.mjs';
15
+ import '../enums/attribute-status.mjs';
16
+ import '../enums/column-status.mjs';
17
+ import '../enums/index-status.mjs';
18
+ import '../enums/deployment-status.mjs';
19
+ import '../enums/execution-resource-type.mjs';
20
+ import '../enums/execution-trigger.mjs';
21
+ import '../enums/execution-status.mjs';
22
+ import '../enums/project-auth-method-id.mjs';
23
+ import '../enums/project-service-id.mjs';
24
+ import '../enums/project-protocol-id.mjs';
25
+ import '../enums/o-auth-2-github-prompt.mjs';
26
+ import '../enums/o-auth-2-discord-prompt.mjs';
27
+ import '../enums/o-auth-2-google-prompt.mjs';
28
+ import '../enums/o-auth-2-zoho-prompt.mjs';
29
+ import '../enums/o-auth-2-salesforce-prompt.mjs';
30
+ import '../enums/o-auth-2-auth-0-prompt.mjs';
31
+ import '../enums/o-auth-2-oidc-prompt.mjs';
32
+ import '../enums/o-auth-2-okta-prompt.mjs';
33
+ import '../enums/o-auth-2-microsoft-prompt.mjs';
34
+ import '../enums/o-auth-2-kakao-prompt.mjs';
35
+ import '../enums/platform-type.mjs';
36
+ import '../enums/proxy-rule-deployment-resource-type.mjs';
37
+ import '../enums/proxy-rule-status.mjs';
38
+ import '../enums/message-status.mjs';
39
+
40
+ declare class Avatars {
41
+ client: Client;
42
+ constructor(client: Client);
43
+ /**
44
+ * You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET /account/sessions](https://docs.owbase.dev/references/cloud/client-web/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.
45
+ *
46
+ * When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
47
+ *
48
+ * @param {Browser} params.code - Browser Code.
49
+ * @param {number} params.width - Image width. Pass an integer between 0 to 2000. Defaults to 100.
50
+ * @param {number} params.height - Image height. Pass an integer between 0 to 2000. Defaults to 100.
51
+ * @param {number} params.quality - Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.
52
+ * @throws {OwbaseException}
53
+ * @returns {Promise<ArrayBuffer>}
54
+ */
55
+ getBrowser(params: {
56
+ code: Browser;
57
+ width?: number;
58
+ height?: number;
59
+ quality?: number;
60
+ }): Promise<ArrayBuffer>;
61
+ /**
62
+ * You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET /account/sessions](https://docs.owbase.dev/references/cloud/client-web/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.
63
+ *
64
+ * When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
65
+ *
66
+ * @param {Browser} code - Browser Code.
67
+ * @param {number} width - Image width. Pass an integer between 0 to 2000. Defaults to 100.
68
+ * @param {number} height - Image height. Pass an integer between 0 to 2000. Defaults to 100.
69
+ * @param {number} quality - Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.
70
+ * @throws {OwbaseException}
71
+ * @returns {Promise<ArrayBuffer>}
72
+ * @deprecated Use the object parameter style method for a better developer experience.
73
+ */
74
+ getBrowser(code: Browser, width?: number, height?: number, quality?: number): Promise<ArrayBuffer>;
75
+ /**
76
+ * The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.
77
+ *
78
+ * When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
79
+ *
80
+ *
81
+ * @param {CreditCard} params.code - Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.
82
+ * @param {number} params.width - Image width. Pass an integer between 0 to 2000. Defaults to 100.
83
+ * @param {number} params.height - Image height. Pass an integer between 0 to 2000. Defaults to 100.
84
+ * @param {number} params.quality - Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.
85
+ * @throws {OwbaseException}
86
+ * @returns {Promise<ArrayBuffer>}
87
+ */
88
+ getCreditCard(params: {
89
+ code: CreditCard;
90
+ width?: number;
91
+ height?: number;
92
+ quality?: number;
93
+ }): Promise<ArrayBuffer>;
94
+ /**
95
+ * The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.
96
+ *
97
+ * When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
98
+ *
99
+ *
100
+ * @param {CreditCard} code - Credit Card Code. Possible values: amex, argencard, cabal, cencosud, diners, discover, elo, hipercard, jcb, mastercard, naranja, targeta-shopping, unionpay, visa, mir, maestro, rupay.
101
+ * @param {number} width - Image width. Pass an integer between 0 to 2000. Defaults to 100.
102
+ * @param {number} height - Image height. Pass an integer between 0 to 2000. Defaults to 100.
103
+ * @param {number} quality - Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.
104
+ * @throws {OwbaseException}
105
+ * @returns {Promise<ArrayBuffer>}
106
+ * @deprecated Use the object parameter style method for a better developer experience.
107
+ */
108
+ getCreditCard(code: CreditCard, width?: number, height?: number, quality?: number): Promise<ArrayBuffer>;
109
+ /**
110
+ * Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.
111
+ *
112
+ * This endpoint does not follow HTTP redirects.
113
+ *
114
+ * @param {string} params.url - Website URL which you want to fetch the favicon from.
115
+ * @throws {OwbaseException}
116
+ * @returns {Promise<ArrayBuffer>}
117
+ */
118
+ getFavicon(params: {
119
+ url: string;
120
+ }): Promise<ArrayBuffer>;
121
+ /**
122
+ * Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.
123
+ *
124
+ * This endpoint does not follow HTTP redirects.
125
+ *
126
+ * @param {string} url - Website URL which you want to fetch the favicon from.
127
+ * @throws {OwbaseException}
128
+ * @returns {Promise<ArrayBuffer>}
129
+ * @deprecated Use the object parameter style method for a better developer experience.
130
+ */
131
+ getFavicon(url: string): Promise<ArrayBuffer>;
132
+ /**
133
+ * You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) standard.
134
+ *
135
+ * When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
136
+ *
137
+ *
138
+ * @param {Flag} params.code - Country Code. ISO Alpha-2 country code format.
139
+ * @param {number} params.width - Image width. Pass an integer between 0 to 2000. Defaults to 100.
140
+ * @param {number} params.height - Image height. Pass an integer between 0 to 2000. Defaults to 100.
141
+ * @param {number} params.quality - Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.
142
+ * @throws {OwbaseException}
143
+ * @returns {Promise<ArrayBuffer>}
144
+ */
145
+ getFlag(params: {
146
+ code: Flag;
147
+ width?: number;
148
+ height?: number;
149
+ quality?: number;
150
+ }): Promise<ArrayBuffer>;
151
+ /**
152
+ * You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) standard.
153
+ *
154
+ * When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
155
+ *
156
+ *
157
+ * @param {Flag} code - Country Code. ISO Alpha-2 country code format.
158
+ * @param {number} width - Image width. Pass an integer between 0 to 2000. Defaults to 100.
159
+ * @param {number} height - Image height. Pass an integer between 0 to 2000. Defaults to 100.
160
+ * @param {number} quality - Image quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.
161
+ * @throws {OwbaseException}
162
+ * @returns {Promise<ArrayBuffer>}
163
+ * @deprecated Use the object parameter style method for a better developer experience.
164
+ */
165
+ getFlag(code: Flag, width?: number, height?: number, quality?: number): Promise<ArrayBuffer>;
166
+ /**
167
+ * Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.
168
+ *
169
+ * When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.
170
+ *
171
+ * This endpoint does not follow HTTP redirects.
172
+ *
173
+ * @param {string} params.url - Image URL which you want to crop.
174
+ * @param {number} params.width - Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.
175
+ * @param {number} params.height - Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.
176
+ * @throws {OwbaseException}
177
+ * @returns {Promise<ArrayBuffer>}
178
+ */
179
+ getImage(params: {
180
+ url: string;
181
+ width?: number;
182
+ height?: number;
183
+ }): Promise<ArrayBuffer>;
184
+ /**
185
+ * Use this endpoint to fetch a remote image URL and crop it to any image size you want. This endpoint is very useful if you need to crop and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.
186
+ *
187
+ * When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.
188
+ *
189
+ * This endpoint does not follow HTTP redirects.
190
+ *
191
+ * @param {string} url - Image URL which you want to crop.
192
+ * @param {number} width - Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.
193
+ * @param {number} height - Resize preview image height, Pass an integer between 0 to 2000. Defaults to 400.
194
+ * @throws {OwbaseException}
195
+ * @returns {Promise<ArrayBuffer>}
196
+ * @deprecated Use the object parameter style method for a better developer experience.
197
+ */
198
+ getImage(url: string, width?: number, height?: number): Promise<ArrayBuffer>;
199
+ /**
200
+ * Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.
201
+ *
202
+ * You can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.
203
+ *
204
+ * When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
205
+ *
206
+ *
207
+ * @param {string} params.name - Full Name. When empty, current user name or email will be used. Max length: 128 chars.
208
+ * @param {number} params.width - Image width. Pass an integer between 0 to 2000. Defaults to 100.
209
+ * @param {number} params.height - Image height. Pass an integer between 0 to 2000. Defaults to 100.
210
+ * @param {string} params.background - Changes background color. By default a random color will be picked and stay will persistent to the given name.
211
+ * @throws {OwbaseException}
212
+ * @returns {Promise<ArrayBuffer>}
213
+ */
214
+ getInitials(params?: {
215
+ name?: string;
216
+ width?: number;
217
+ height?: number;
218
+ background?: string;
219
+ }): Promise<ArrayBuffer>;
220
+ /**
221
+ * Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.
222
+ *
223
+ * You can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.
224
+ *
225
+ * When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
226
+ *
227
+ *
228
+ * @param {string} name - Full Name. When empty, current user name or email will be used. Max length: 128 chars.
229
+ * @param {number} width - Image width. Pass an integer between 0 to 2000. Defaults to 100.
230
+ * @param {number} height - Image height. Pass an integer between 0 to 2000. Defaults to 100.
231
+ * @param {string} background - Changes background color. By default a random color will be picked and stay will persistent to the given name.
232
+ * @throws {OwbaseException}
233
+ * @returns {Promise<ArrayBuffer>}
234
+ * @deprecated Use the object parameter style method for a better developer experience.
235
+ */
236
+ getInitials(name?: string, width?: number, height?: number, background?: string): Promise<ArrayBuffer>;
237
+ /**
238
+ * Returns the best available profile photo for a user. The endpoint tries each source in priority order and returns the first successful result: a custom uploaded photo (see avatars.updatePhoto), OAuth2 identity photo, Gravatar, Libravatar, Owbase Initials, built-in static fallback.
239
+ *
240
+ * Passing `userId` — `current()` for the authenticated user — resolves the photo from everything known about that user: identity photos, email, and name. An explicit `emailHash` or `name` then overrides just that value, and the user's remaining sources stay in the chain. Without `userId`, passing `emailHash` and/or `name` resolves the avatar from those values alone: the hash is looked up on Gravatar and Libravatar, the name is rendered as initials, and the session user stays out of the chain so their own photo never shadows the avatar being asked for. When nothing is passed, the photo resolves for the currently authenticated user. Emails are only ever accepted pre-hashed, so no address ends up in a URL.
241
+ *
242
+ * @param {number} params.width - Output image width in pixels. Pass an integer between 0 and 2000. Defaults to 256.
243
+ * @param {number} params.height - Output image height in pixels. Pass an integer between 0 and 2000. Defaults to 256.
244
+ * @param {number} params.quality - Output image quality between 0 and 100. Defaults to 100.
245
+ * @param {string} params.output - Output image format. Defaults to 'png'.
246
+ * @param {string} params.rating - Maximum image rating to fetch from Gravatar/Libravatar. Defaults to 'g'.
247
+ * @param {string} params.userId - User ID to resolve the photo for. Pass 'current()' for the currently authenticated user. When omitted, the session user is used only if no emailHash and no name is passed.
248
+ * @param {string} params.emailHash - SHA256 hash of the lowercase, trimmed email address to look up on Gravatar and Libravatar instead of the user's own email. Pass the hash, never the address itself.
249
+ * @param {string} params.name - Name to render initials from instead of the user's own name. Max length: 128 chars.
250
+ * @throws {OwbaseException}
251
+ * @returns {Promise<ArrayBuffer>}
252
+ */
253
+ getPhoto(params?: {
254
+ width?: number;
255
+ height?: number;
256
+ quality?: number;
257
+ output?: string;
258
+ rating?: string;
259
+ userId?: string;
260
+ emailHash?: string;
261
+ name?: string;
262
+ }): Promise<ArrayBuffer>;
263
+ /**
264
+ * Returns the best available profile photo for a user. The endpoint tries each source in priority order and returns the first successful result: a custom uploaded photo (see avatars.updatePhoto), OAuth2 identity photo, Gravatar, Libravatar, Owbase Initials, built-in static fallback.
265
+ *
266
+ * Passing `userId` — `current()` for the authenticated user — resolves the photo from everything known about that user: identity photos, email, and name. An explicit `emailHash` or `name` then overrides just that value, and the user's remaining sources stay in the chain. Without `userId`, passing `emailHash` and/or `name` resolves the avatar from those values alone: the hash is looked up on Gravatar and Libravatar, the name is rendered as initials, and the session user stays out of the chain so their own photo never shadows the avatar being asked for. When nothing is passed, the photo resolves for the currently authenticated user. Emails are only ever accepted pre-hashed, so no address ends up in a URL.
267
+ *
268
+ * @param {number} width - Output image width in pixels. Pass an integer between 0 and 2000. Defaults to 256.
269
+ * @param {number} height - Output image height in pixels. Pass an integer between 0 and 2000. Defaults to 256.
270
+ * @param {number} quality - Output image quality between 0 and 100. Defaults to 100.
271
+ * @param {string} output - Output image format. Defaults to 'png'.
272
+ * @param {string} rating - Maximum image rating to fetch from Gravatar/Libravatar. Defaults to 'g'.
273
+ * @param {string} userId - User ID to resolve the photo for. Pass 'current()' for the currently authenticated user. When omitted, the session user is used only if no emailHash and no name is passed.
274
+ * @param {string} emailHash - SHA256 hash of the lowercase, trimmed email address to look up on Gravatar and Libravatar instead of the user's own email. Pass the hash, never the address itself.
275
+ * @param {string} name - Name to render initials from instead of the user's own name. Max length: 128 chars.
276
+ * @throws {OwbaseException}
277
+ * @returns {Promise<ArrayBuffer>}
278
+ * @deprecated Use the object parameter style method for a better developer experience.
279
+ */
280
+ getPhoto(width?: number, height?: number, quality?: number, output?: string, rating?: string, userId?: string, emailHash?: string, name?: string): Promise<ArrayBuffer>;
281
+ /**
282
+ * Update the profile photo of the currently authenticated user. The uploaded image takes priority over every other photo source, including OAuth2 identity photos, Gravatar, and Libravatar. Updating an already customized photo replaces it. The image must be at most 5MB and is sent in a single request.
283
+ *
284
+ * @param {File | InputFile} params.file - Binary image file of at most 5MB. Allowed file types are png, jpg, jpeg, and webp.
285
+ * @throws {OwbaseException}
286
+ * @returns {Promise<Models.Account<Preferences>>}
287
+ */
288
+ updatePhoto<Preferences extends Models.Preferences = Models.DefaultPreferences>(params: {
289
+ file: File | InputFile;
290
+ onProgress?: (progress: UploadProgress) => void;
291
+ }): Promise<Models.Account<Preferences>>;
292
+ /**
293
+ * Update the profile photo of the currently authenticated user. The uploaded image takes priority over every other photo source, including OAuth2 identity photos, Gravatar, and Libravatar. Updating an already customized photo replaces it. The image must be at most 5MB and is sent in a single request.
294
+ *
295
+ * @param {File | InputFile} file - Binary image file of at most 5MB. Allowed file types are png, jpg, jpeg, and webp.
296
+ * @throws {OwbaseException}
297
+ * @returns {Promise<Models.Account<Preferences>>}
298
+ * @deprecated Use the object parameter style method for a better developer experience.
299
+ */
300
+ updatePhoto<Preferences extends Models.Preferences = Models.DefaultPreferences>(file: File | InputFile, onProgress?: (progress: UploadProgress) => void): Promise<Models.Account<Preferences>>;
301
+ /**
302
+ * Delete the profile photo of the currently authenticated user and store the built-in static placeholder in its place. The placeholder is the user's photo from then on, so it takes priority over every other photo source — OAuth2 identity photos, Gravatar, Libravatar, and initials — until a new photo is uploaded with avatars.updatePhoto.
303
+ *
304
+ * @throws {OwbaseException}
305
+ * @returns {Promise<{}>}
306
+ */
307
+ deletePhoto(): Promise<{}>;
308
+ /**
309
+ * Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.
310
+ *
311
+ *
312
+ * @param {string} params.text - Plain text to be converted to QR code image.
313
+ * @param {number} params.size - QR code size. Pass an integer between 1 to 1000. Defaults to 400.
314
+ * @param {number} params.margin - Margin from edge. Pass an integer between 0 to 10. Defaults to 1.
315
+ * @param {boolean} params.download - Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.
316
+ * @throws {OwbaseException}
317
+ * @returns {Promise<ArrayBuffer>}
318
+ */
319
+ getQR(params: {
320
+ text: string;
321
+ size?: number;
322
+ margin?: number;
323
+ download?: boolean;
324
+ }): Promise<ArrayBuffer>;
325
+ /**
326
+ * Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.
327
+ *
328
+ *
329
+ * @param {string} text - Plain text to be converted to QR code image.
330
+ * @param {number} size - QR code size. Pass an integer between 1 to 1000. Defaults to 400.
331
+ * @param {number} margin - Margin from edge. Pass an integer between 0 to 10. Defaults to 1.
332
+ * @param {boolean} download - Return resulting image with 'Content-Disposition: attachment ' headers for the browser to start downloading it. Pass 0 for no header, or 1 for otherwise. Default value is set to 0.
333
+ * @throws {OwbaseException}
334
+ * @returns {Promise<ArrayBuffer>}
335
+ * @deprecated Use the object parameter style method for a better developer experience.
336
+ */
337
+ getQR(text: string, size?: number, margin?: number, download?: boolean): Promise<ArrayBuffer>;
338
+ /**
339
+ * Use this endpoint to capture a screenshot of any website URL. This endpoint uses a headless browser to render the webpage and capture it as an image.
340
+ *
341
+ * You can configure the browser viewport size, theme, user agent, geolocation, permissions, and more. Capture either just the viewport or the full page scroll.
342
+ *
343
+ * When width and height are specified, the image is resized accordingly. If both dimensions are 0, the API provides an image at original size. If dimensions are not specified, the default viewport size is 1280x720px.
344
+ *
345
+ * @param {string} params.url - Website URL which you want to capture.
346
+ * @param {object} params.headers - HTTP headers to send with the browser request. Only Accept and Accept-Language are allowed. Defaults to empty.
347
+ * @param {number} params.viewportWidth - Browser viewport width. Pass an integer between 1 to 1920. Defaults to 1280.
348
+ * @param {number} params.viewportHeight - Browser viewport height. Pass an integer between 1 to 1080. Defaults to 720.
349
+ * @param {number} params.scale - Browser scale factor. Pass a number between 0.1 to 3. Defaults to 1.
350
+ * @param {BrowserTheme} params.theme - Browser theme. Pass "light" or "dark". Defaults to "light".
351
+ * @param {string} params.userAgent - Custom user agent string. Defaults to browser default.
352
+ * @param {boolean} params.fullpage - Capture full page scroll. Pass 0 for viewport only, or 1 for full page. Defaults to 0.
353
+ * @param {string} params.locale - Browser locale (e.g., "en-US", "fr-FR"). Defaults to browser default.
354
+ * @param {Timezone} params.timezone - IANA timezone identifier (e.g., "America/New_York", "Europe/London"). Defaults to browser default.
355
+ * @param {number} params.latitude - Geolocation latitude. Pass a number between -90 to 90. Defaults to 0.
356
+ * @param {number} params.longitude - Geolocation longitude. Pass a number between -180 to 180. Defaults to 0.
357
+ * @param {number} params.accuracy - Geolocation accuracy in meters. Pass a number between 0 to 100000. Defaults to 0.
358
+ * @param {boolean} params.touch - Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.
359
+ * @param {BrowserPermission[]} params.permissions - Browser permissions to grant. Pass an array of permission names like ["geolocation", "camera", "microphone"]. Defaults to empty.
360
+ * @param {number} params.sleep - Wait time in seconds before taking the screenshot. Pass an integer between 0 to 10. Defaults to 0.
361
+ * @param {number} params.width - Output image width. Pass 0 to use original width, or an integer between 1 to 2000. Defaults to 0 (original width).
362
+ * @param {number} params.height - Output image height. Pass 0 to use original height, or an integer between 1 to 2000. Defaults to 0 (original height).
363
+ * @param {number} params.quality - Screenshot quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.
364
+ * @param {ImageFormat} params.output - Output format type (jpeg, jpg, png, gif and webp).
365
+ * @throws {OwbaseException}
366
+ * @returns {Promise<ArrayBuffer>}
367
+ */
368
+ getScreenshot(params: {
369
+ url: string;
370
+ headers?: object;
371
+ viewportWidth?: number;
372
+ viewportHeight?: number;
373
+ scale?: number;
374
+ theme?: BrowserTheme;
375
+ userAgent?: string;
376
+ fullpage?: boolean;
377
+ locale?: string;
378
+ timezone?: Timezone;
379
+ latitude?: number;
380
+ longitude?: number;
381
+ accuracy?: number;
382
+ touch?: boolean;
383
+ permissions?: BrowserPermission[];
384
+ sleep?: number;
385
+ width?: number;
386
+ height?: number;
387
+ quality?: number;
388
+ output?: ImageFormat;
389
+ }): Promise<ArrayBuffer>;
390
+ /**
391
+ * Use this endpoint to capture a screenshot of any website URL. This endpoint uses a headless browser to render the webpage and capture it as an image.
392
+ *
393
+ * You can configure the browser viewport size, theme, user agent, geolocation, permissions, and more. Capture either just the viewport or the full page scroll.
394
+ *
395
+ * When width and height are specified, the image is resized accordingly. If both dimensions are 0, the API provides an image at original size. If dimensions are not specified, the default viewport size is 1280x720px.
396
+ *
397
+ * @param {string} url - Website URL which you want to capture.
398
+ * @param {object} headers - HTTP headers to send with the browser request. Only Accept and Accept-Language are allowed. Defaults to empty.
399
+ * @param {number} viewportWidth - Browser viewport width. Pass an integer between 1 to 1920. Defaults to 1280.
400
+ * @param {number} viewportHeight - Browser viewport height. Pass an integer between 1 to 1080. Defaults to 720.
401
+ * @param {number} scale - Browser scale factor. Pass a number between 0.1 to 3. Defaults to 1.
402
+ * @param {BrowserTheme} theme - Browser theme. Pass "light" or "dark". Defaults to "light".
403
+ * @param {string} userAgent - Custom user agent string. Defaults to browser default.
404
+ * @param {boolean} fullpage - Capture full page scroll. Pass 0 for viewport only, or 1 for full page. Defaults to 0.
405
+ * @param {string} locale - Browser locale (e.g., "en-US", "fr-FR"). Defaults to browser default.
406
+ * @param {Timezone} timezone - IANA timezone identifier (e.g., "America/New_York", "Europe/London"). Defaults to browser default.
407
+ * @param {number} latitude - Geolocation latitude. Pass a number between -90 to 90. Defaults to 0.
408
+ * @param {number} longitude - Geolocation longitude. Pass a number between -180 to 180. Defaults to 0.
409
+ * @param {number} accuracy - Geolocation accuracy in meters. Pass a number between 0 to 100000. Defaults to 0.
410
+ * @param {boolean} touch - Enable touch support. Pass 0 for no touch, or 1 for touch enabled. Defaults to 0.
411
+ * @param {BrowserPermission[]} permissions - Browser permissions to grant. Pass an array of permission names like ["geolocation", "camera", "microphone"]. Defaults to empty.
412
+ * @param {number} sleep - Wait time in seconds before taking the screenshot. Pass an integer between 0 to 10. Defaults to 0.
413
+ * @param {number} width - Output image width. Pass 0 to use original width, or an integer between 1 to 2000. Defaults to 0 (original width).
414
+ * @param {number} height - Output image height. Pass 0 to use original height, or an integer between 1 to 2000. Defaults to 0 (original height).
415
+ * @param {number} quality - Screenshot quality. Pass an integer between 0 to 100. Defaults to keep existing image quality.
416
+ * @param {ImageFormat} output - Output format type (jpeg, jpg, png, gif and webp).
417
+ * @throws {OwbaseException}
418
+ * @returns {Promise<ArrayBuffer>}
419
+ * @deprecated Use the object parameter style method for a better developer experience.
420
+ */
421
+ getScreenshot(url: string, headers?: object, viewportWidth?: number, viewportHeight?: number, scale?: number, theme?: BrowserTheme, userAgent?: string, fullpage?: boolean, locale?: string, timezone?: Timezone, latitude?: number, longitude?: number, accuracy?: number, touch?: boolean, permissions?: BrowserPermission[], sleep?: number, width?: number, height?: number, quality?: number, output?: ImageFormat): Promise<ArrayBuffer>;
422
+ }
423
+
424
+ export { Avatars };