@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
  640. package/package.json +82 -5
@@ -0,0 +1,2689 @@
1
+ import { Client } from '../client.js';
2
+ import { Models } from '../models.js';
3
+ import { ProjectAuthMethodId } from '../enums/project-auth-method-id.js';
4
+ import { ProjectKeyScopes } from '../enums/project-key-scopes.js';
5
+ import { ProjectOAuth2Auth0Prompt } from '../enums/project-o-auth-2-auth-0-prompt.js';
6
+ import { ProjectOAuth2DiscordPrompt } from '../enums/project-o-auth-2-discord-prompt.js';
7
+ import { ProjectOAuth2GitHubPrompt } from '../enums/project-o-auth-2-git-hub-prompt.js';
8
+ import { ProjectOAuth2GooglePrompt } from '../enums/project-o-auth-2-google-prompt.js';
9
+ import { ProjectOAuth2KakaoPrompt } from '../enums/project-o-auth-2-kakao-prompt.js';
10
+ import { ProjectOAuth2MicrosoftPrompt } from '../enums/project-o-auth-2-microsoft-prompt.js';
11
+ import { ProjectOAuth2OidcPrompt } from '../enums/project-o-auth-2-oidc-prompt.js';
12
+ import { ProjectOAuth2OktaPrompt } from '../enums/project-o-auth-2-okta-prompt.js';
13
+ import { ProjectOAuth2SalesforcePrompt } from '../enums/project-o-auth-2-salesforce-prompt.js';
14
+ import { ProjectOAuth2ZohoPrompt } from '../enums/project-o-auth-2-zoho-prompt.js';
15
+ import { ProjectOAuthProviderId } from '../enums/project-o-auth-provider-id.js';
16
+ import { ProjectPolicyId } from '../enums/project-policy-id.js';
17
+ import { ProjectProtocolId } from '../enums/project-protocol-id.js';
18
+ import { ProjectServiceId } from '../enums/project-service-id.js';
19
+ import { ProjectSMTPSecure } from '../enums/project-smtp-secure.js';
20
+ import { ProjectEmailTemplateId } from '../enums/project-email-template-id.js';
21
+ import { ProjectEmailTemplateLocale } from '../enums/project-email-template-locale.js';
22
+ import 'undici';
23
+ import '../query.js';
24
+ import '../enums/database-type.js';
25
+ import '../enums/database-status.js';
26
+ import '../enums/attribute-status.js';
27
+ import '../enums/column-status.js';
28
+ import '../enums/index-status.js';
29
+ import '../enums/deployment-status.js';
30
+ import '../enums/execution-resource-type.js';
31
+ import '../enums/execution-trigger.js';
32
+ import '../enums/execution-status.js';
33
+ import '../enums/o-auth-2-github-prompt.js';
34
+ import '../enums/o-auth-2-discord-prompt.js';
35
+ import '../enums/o-auth-2-google-prompt.js';
36
+ import '../enums/o-auth-2-zoho-prompt.js';
37
+ import '../enums/o-auth-2-salesforce-prompt.js';
38
+ import '../enums/o-auth-2-auth-0-prompt.js';
39
+ import '../enums/o-auth-2-oidc-prompt.js';
40
+ import '../enums/o-auth-2-okta-prompt.js';
41
+ import '../enums/o-auth-2-microsoft-prompt.js';
42
+ import '../enums/o-auth-2-kakao-prompt.js';
43
+ import '../enums/platform-type.js';
44
+ import '../enums/proxy-rule-deployment-resource-type.js';
45
+ import '../enums/proxy-rule-status.js';
46
+ import '../enums/message-status.js';
47
+
48
+ declare class Project {
49
+ client: Client;
50
+ constructor(client: Client);
51
+ /**
52
+ * Get a project.
53
+ *
54
+ * @throws {OwbaseException}
55
+ * @returns {Promise<Models.Project>}
56
+ */
57
+ get(): Promise<Models.Project>;
58
+ /**
59
+ * Delete a project.
60
+ *
61
+ * @throws {OwbaseException}
62
+ * @returns {Promise<{}>}
63
+ */
64
+ delete(): Promise<{}>;
65
+ /**
66
+ * Update properties of a specific auth method. Use this endpoint to enable or disable a method in your project.
67
+ *
68
+ * @param {ProjectAuthMethodId} params.methodId - Auth Method ID. Possible values: email-password,magic-url,email-otp,anonymous,invites,jwt,phone,passkey
69
+ * @param {boolean} params.enabled - Auth method status.
70
+ * @throws {OwbaseException}
71
+ * @returns {Promise<Models.Project>}
72
+ */
73
+ updateAuthMethod(params: {
74
+ methodId: ProjectAuthMethodId;
75
+ enabled: boolean;
76
+ }): Promise<Models.Project>;
77
+ /**
78
+ * Update properties of a specific auth method. Use this endpoint to enable or disable a method in your project.
79
+ *
80
+ * @param {ProjectAuthMethodId} methodId - Auth Method ID. Possible values: email-password,magic-url,email-otp,anonymous,invites,jwt,phone,passkey
81
+ * @param {boolean} enabled - Auth method status.
82
+ * @throws {OwbaseException}
83
+ * @returns {Promise<Models.Project>}
84
+ * @deprecated Use the object parameter style method for a better developer experience.
85
+ */
86
+ updateAuthMethod(methodId: ProjectAuthMethodId, enabled: boolean): Promise<Models.Project>;
87
+ /**
88
+ * Get a list of all API keys from the current project.
89
+ *
90
+ * @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: expire, accessedAt, name, scopes
91
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
92
+ * @throws {OwbaseException}
93
+ * @returns {Promise<Models.KeyList>}
94
+ */
95
+ listKeys(params?: {
96
+ queries?: string[];
97
+ total?: boolean;
98
+ }): Promise<Models.KeyList>;
99
+ /**
100
+ * Get a list of all API keys from the current project.
101
+ *
102
+ * @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: expire, accessedAt, name, scopes
103
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
104
+ * @throws {OwbaseException}
105
+ * @returns {Promise<Models.KeyList>}
106
+ * @deprecated Use the object parameter style method for a better developer experience.
107
+ */
108
+ listKeys(queries?: string[], total?: boolean): Promise<Models.KeyList>;
109
+ /**
110
+ * Create a new ephemeral API key. It's recommended to have multiple API keys with strict scopes for separate functions within your project.
111
+ *
112
+ * You can also create a standard API key if you need a longer-lived key instead.
113
+ *
114
+ * @param {ProjectKeyScopes[]} params.scopes - Key scopes list. Maximum of 200 scopes are allowed.
115
+ * @param {number} params.duration - Time in seconds before ephemeral key expires. Maximum duration is 3600 seconds.
116
+ * @throws {OwbaseException}
117
+ * @returns {Promise<Models.EphemeralKey>}
118
+ */
119
+ createEphemeralKey(params: {
120
+ scopes: ProjectKeyScopes[];
121
+ duration: number;
122
+ }): Promise<Models.EphemeralKey>;
123
+ /**
124
+ * Create a new ephemeral API key. It's recommended to have multiple API keys with strict scopes for separate functions within your project.
125
+ *
126
+ * You can also create a standard API key if you need a longer-lived key instead.
127
+ *
128
+ * @param {ProjectKeyScopes[]} scopes - Key scopes list. Maximum of 200 scopes are allowed.
129
+ * @param {number} duration - Time in seconds before ephemeral key expires. Maximum duration is 3600 seconds.
130
+ * @throws {OwbaseException}
131
+ * @returns {Promise<Models.EphemeralKey>}
132
+ * @deprecated Use the object parameter style method for a better developer experience.
133
+ */
134
+ createEphemeralKey(scopes: ProjectKeyScopes[], duration: number): Promise<Models.EphemeralKey>;
135
+ /**
136
+ * Get a key by its unique ID.
137
+ *
138
+ * @param {string} params.keyId - Key ID.
139
+ * @throws {OwbaseException}
140
+ * @returns {Promise<Models.Key>}
141
+ */
142
+ getKey(params: {
143
+ keyId: string;
144
+ }): Promise<Models.Key>;
145
+ /**
146
+ * Get a key by its unique ID.
147
+ *
148
+ * @param {string} keyId - Key ID.
149
+ * @throws {OwbaseException}
150
+ * @returns {Promise<Models.Key>}
151
+ * @deprecated Use the object parameter style method for a better developer experience.
152
+ */
153
+ getKey(keyId: string): Promise<Models.Key>;
154
+ /**
155
+ * Update a key by its unique ID. Use this endpoint to update the name, scopes, or expiration time of an API key.
156
+ *
157
+ * @param {string} params.keyId - Key ID.
158
+ * @param {string} params.name - Key name. Max length: 128 chars.
159
+ * @param {ProjectKeyScopes[]} params.scopes - Key scopes list. Maximum of 200 scopes are allowed.
160
+ * @param {string} params.expire - Expiration time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.
161
+ * @throws {OwbaseException}
162
+ * @returns {Promise<Models.Key>}
163
+ */
164
+ updateKey(params: {
165
+ keyId: string;
166
+ name: string;
167
+ scopes: ProjectKeyScopes[];
168
+ expire?: string;
169
+ }): Promise<Models.Key>;
170
+ /**
171
+ * Update a key by its unique ID. Use this endpoint to update the name, scopes, or expiration time of an API key.
172
+ *
173
+ * @param {string} keyId - Key ID.
174
+ * @param {string} name - Key name. Max length: 128 chars.
175
+ * @param {ProjectKeyScopes[]} scopes - Key scopes list. Maximum of 200 scopes are allowed.
176
+ * @param {string} expire - Expiration time in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Use null for unlimited expiration.
177
+ * @throws {OwbaseException}
178
+ * @returns {Promise<Models.Key>}
179
+ * @deprecated Use the object parameter style method for a better developer experience.
180
+ */
181
+ updateKey(keyId: string, name: string, scopes: ProjectKeyScopes[], expire?: string): Promise<Models.Key>;
182
+ /**
183
+ * Delete a key by its unique ID. Once deleted, the key can no longer be used to authenticate API calls.
184
+ *
185
+ * @param {string} params.keyId - Key ID.
186
+ * @throws {OwbaseException}
187
+ * @returns {Promise<{}>}
188
+ */
189
+ deleteKey(params: {
190
+ keyId: string;
191
+ }): Promise<{}>;
192
+ /**
193
+ * Delete a key by its unique ID. Once deleted, the key can no longer be used to authenticate API calls.
194
+ *
195
+ * @param {string} keyId - Key ID.
196
+ * @throws {OwbaseException}
197
+ * @returns {Promise<{}>}
198
+ * @deprecated Use the object parameter style method for a better developer experience.
199
+ */
200
+ deleteKey(keyId: string): Promise<{}>;
201
+ /**
202
+ * Update the project labels. Labels can be used to easily filter projects in an organization.
203
+ *
204
+ * @param {string[]} params.labels - Array of project labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.
205
+ * @throws {OwbaseException}
206
+ * @returns {Promise<Models.Project>}
207
+ */
208
+ updateLabels(params: {
209
+ labels: string[];
210
+ }): Promise<Models.Project>;
211
+ /**
212
+ * Update the project labels. Labels can be used to easily filter projects in an organization.
213
+ *
214
+ * @param {string[]} labels - Array of project labels. Replaces the previous labels. Maximum of 1000 labels are allowed, each up to 36 alphanumeric characters long.
215
+ * @throws {OwbaseException}
216
+ * @returns {Promise<Models.Project>}
217
+ * @deprecated Use the object parameter style method for a better developer experience.
218
+ */
219
+ updateLabels(labels: string[]): Promise<Models.Project>;
220
+ /**
221
+ * Get a list of all mock phones in the project. This endpoint returns an array of all mock phones and their OTPs.
222
+ *
223
+ * @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). Only supported methods are limit and offset
224
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
225
+ * @throws {OwbaseException}
226
+ * @returns {Promise<Models.MockNumberList>}
227
+ */
228
+ listMockPhones(params?: {
229
+ queries?: string[];
230
+ total?: boolean;
231
+ }): Promise<Models.MockNumberList>;
232
+ /**
233
+ * Get a list of all mock phones in the project. This endpoint returns an array of all mock phones and their OTPs.
234
+ *
235
+ * @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). Only supported methods are limit and offset
236
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
237
+ * @throws {OwbaseException}
238
+ * @returns {Promise<Models.MockNumberList>}
239
+ * @deprecated Use the object parameter style method for a better developer experience.
240
+ */
241
+ listMockPhones(queries?: string[], total?: boolean): Promise<Models.MockNumberList>;
242
+ /**
243
+ * Create a new mock phone for your project. Use this endpoint to register a mock phone number and its sign-in OTP for your testers.
244
+ *
245
+ * @param {string} params.number - Phone number to associate with the mock phone. Must be a valid E.164 formatted phone number.
246
+ * @param {string} params.otp - One-time password (OTP) to associate with the mock phone. Must be a 6-digit numeric code.
247
+ * @throws {OwbaseException}
248
+ * @returns {Promise<Models.MockNumber>}
249
+ */
250
+ createMockPhone(params: {
251
+ number: string;
252
+ otp: string;
253
+ }): Promise<Models.MockNumber>;
254
+ /**
255
+ * Create a new mock phone for your project. Use this endpoint to register a mock phone number and its sign-in OTP for your testers.
256
+ *
257
+ * @param {string} number - Phone number to associate with the mock phone. Must be a valid E.164 formatted phone number.
258
+ * @param {string} otp - One-time password (OTP) to associate with the mock phone. Must be a 6-digit numeric code.
259
+ * @throws {OwbaseException}
260
+ * @returns {Promise<Models.MockNumber>}
261
+ * @deprecated Use the object parameter style method for a better developer experience.
262
+ */
263
+ createMockPhone(number: string, otp: string): Promise<Models.MockNumber>;
264
+ /**
265
+ * Get a mock phone by its unique number. This endpoint returns the mock phone's OTP.
266
+ *
267
+ * @param {string} params.number - Phone number associated with the mock phone. Must be a valid E.164 formatted phone number.
268
+ * @throws {OwbaseException}
269
+ * @returns {Promise<Models.MockNumber>}
270
+ */
271
+ getMockPhone(params: {
272
+ number: string;
273
+ }): Promise<Models.MockNumber>;
274
+ /**
275
+ * Get a mock phone by its unique number. This endpoint returns the mock phone's OTP.
276
+ *
277
+ * @param {string} number - Phone number associated with the mock phone. Must be a valid E.164 formatted phone number.
278
+ * @throws {OwbaseException}
279
+ * @returns {Promise<Models.MockNumber>}
280
+ * @deprecated Use the object parameter style method for a better developer experience.
281
+ */
282
+ getMockPhone(number: string): Promise<Models.MockNumber>;
283
+ /**
284
+ * Update a mock phone by its unique number. Use this endpoint to update the mock phone's OTP.
285
+ *
286
+ * @param {string} params.number - Phone number associated with the mock phone. Must be a valid E.164 formatted phone number.
287
+ * @param {string} params.otp - One-time password (OTP) to associate with the mock phone. Must be a 6-digit numeric code.
288
+ * @throws {OwbaseException}
289
+ * @returns {Promise<Models.MockNumber>}
290
+ */
291
+ updateMockPhone(params: {
292
+ number: string;
293
+ otp: string;
294
+ }): Promise<Models.MockNumber>;
295
+ /**
296
+ * Update a mock phone by its unique number. Use this endpoint to update the mock phone's OTP.
297
+ *
298
+ * @param {string} number - Phone number associated with the mock phone. Must be a valid E.164 formatted phone number.
299
+ * @param {string} otp - One-time password (OTP) to associate with the mock phone. Must be a 6-digit numeric code.
300
+ * @throws {OwbaseException}
301
+ * @returns {Promise<Models.MockNumber>}
302
+ * @deprecated Use the object parameter style method for a better developer experience.
303
+ */
304
+ updateMockPhone(number: string, otp: string): Promise<Models.MockNumber>;
305
+ /**
306
+ * Delete a mock phone by its unique number. This endpoint removes the mock phone and its OTP configuration from the project.
307
+ *
308
+ * @param {string} params.number - Phone number associated with the mock phone. Must be a valid E.164 formatted phone number.
309
+ * @throws {OwbaseException}
310
+ * @returns {Promise<{}>}
311
+ */
312
+ deleteMockPhone(params: {
313
+ number: string;
314
+ }): Promise<{}>;
315
+ /**
316
+ * Delete a mock phone by its unique number. This endpoint removes the mock phone and its OTP configuration from the project.
317
+ *
318
+ * @param {string} number - Phone number associated with the mock phone. Must be a valid E.164 formatted phone number.
319
+ * @throws {OwbaseException}
320
+ * @returns {Promise<{}>}
321
+ * @deprecated Use the object parameter style method for a better developer experience.
322
+ */
323
+ deleteMockPhone(number: string): Promise<{}>;
324
+ /**
325
+ * Get a list of all OAuth2 providers supported by the server, along with the project's configuration for each. Credential fields are write-only and always returned empty.
326
+ *
327
+ * @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). Only supported methods are limit and offset
328
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
329
+ * @throws {OwbaseException}
330
+ * @returns {Promise<Models.OAuth2ProviderList>}
331
+ */
332
+ listOAuth2Providers(params?: {
333
+ queries?: string[];
334
+ total?: boolean;
335
+ }): Promise<Models.OAuth2ProviderList>;
336
+ /**
337
+ * Get a list of all OAuth2 providers supported by the server, along with the project's configuration for each. Credential fields are write-only and always returned empty.
338
+ *
339
+ * @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). Only supported methods are limit and offset
340
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
341
+ * @throws {OwbaseException}
342
+ * @returns {Promise<Models.OAuth2ProviderList>}
343
+ * @deprecated Use the object parameter style method for a better developer experience.
344
+ */
345
+ listOAuth2Providers(queries?: string[], total?: boolean): Promise<Models.OAuth2ProviderList>;
346
+ /**
347
+ * Update the project OAuth2 Amazon configuration.
348
+ *
349
+ * @param {string} params.clientId - 'Client ID' of Amazon OAuth2 app. For example: amzn1.application-oa2-client.87400c00000000000000000000063d5b2
350
+ * @param {string} params.clientSecret - 'Client Secret' of Amazon OAuth2 app. For example: 79ffe4000000000000000000000000000000000000000000000000000002de55
351
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
352
+ * @throws {OwbaseException}
353
+ * @returns {Promise<Models.OAuth2Amazon>}
354
+ */
355
+ updateOAuth2Amazon(params?: {
356
+ clientId?: string;
357
+ clientSecret?: string;
358
+ enabled?: boolean;
359
+ }): Promise<Models.OAuth2Amazon>;
360
+ /**
361
+ * Update the project OAuth2 Amazon configuration.
362
+ *
363
+ * @param {string} clientId - 'Client ID' of Amazon OAuth2 app. For example: amzn1.application-oa2-client.87400c00000000000000000000063d5b2
364
+ * @param {string} clientSecret - 'Client Secret' of Amazon OAuth2 app. For example: 79ffe4000000000000000000000000000000000000000000000000000002de55
365
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
366
+ * @throws {OwbaseException}
367
+ * @returns {Promise<Models.OAuth2Amazon>}
368
+ * @deprecated Use the object parameter style method for a better developer experience.
369
+ */
370
+ updateOAuth2Amazon(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Amazon>;
371
+ /**
372
+ * Update the project OAuth2 Apple configuration.
373
+ *
374
+ * @param {string} params.serviceId - 'Service ID' of Apple OAuth2 app. For example: ip.owbase.app.web
375
+ * @param {string} params.keyId - 'Key ID' of Apple OAuth2 app. For example: P4000000N8
376
+ * @param {string} params.teamId - 'Team ID' of Apple OAuth2 app. For example: D4000000R6
377
+ * @param {string} params.p8File - Contents of the Apple OAuth2 app .p8 private key file. The secret key wrapped by the PEM markers is 200 characters long. For example: -----BEGIN PRIVATE KEY-----MIGTAg...jy2Xbna-----END PRIVATE KEY-----
378
+ * @param {string[]} params.nativeClientIds - App bundle IDs accepted as ID token audiences for native Sign in with Apple. For example: com.example.app. Together with the Services ID, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
379
+ * @param {boolean} params.enabled - Browser-based OAuth2 sign-in status. Set to true to enable new session creation through the redirect flow. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. Has no effect on native sign-in, which is controlled by nativeEnabled only.
380
+ * @param {boolean} params.nativeEnabled - Native Sign in with Apple status. This is the only switch for creating sessions from ID tokens obtained on device and is independent of enabled. Needs a Services ID or at least one native client ID to match tokens against, but no key or team ID: this method verifies a signature rather than redeeming an authorization code.
381
+ * @throws {OwbaseException}
382
+ * @returns {Promise<Models.OAuth2Apple>}
383
+ */
384
+ updateOAuth2Apple(params?: {
385
+ serviceId?: string;
386
+ keyId?: string;
387
+ teamId?: string;
388
+ p8File?: string;
389
+ nativeClientIds?: string[];
390
+ enabled?: boolean;
391
+ nativeEnabled?: boolean;
392
+ }): Promise<Models.OAuth2Apple>;
393
+ /**
394
+ * Update the project OAuth2 Apple configuration.
395
+ *
396
+ * @param {string} serviceId - 'Service ID' of Apple OAuth2 app. For example: ip.owbase.app.web
397
+ * @param {string} keyId - 'Key ID' of Apple OAuth2 app. For example: P4000000N8
398
+ * @param {string} teamId - 'Team ID' of Apple OAuth2 app. For example: D4000000R6
399
+ * @param {string} p8File - Contents of the Apple OAuth2 app .p8 private key file. The secret key wrapped by the PEM markers is 200 characters long. For example: -----BEGIN PRIVATE KEY-----MIGTAg...jy2Xbna-----END PRIVATE KEY-----
400
+ * @param {string[]} nativeClientIds - App bundle IDs accepted as ID token audiences for native Sign in with Apple. For example: com.example.app. Together with the Services ID, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
401
+ * @param {boolean} enabled - Browser-based OAuth2 sign-in status. Set to true to enable new session creation through the redirect flow. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. Has no effect on native sign-in, which is controlled by nativeEnabled only.
402
+ * @param {boolean} nativeEnabled - Native Sign in with Apple status. This is the only switch for creating sessions from ID tokens obtained on device and is independent of enabled. Needs a Services ID or at least one native client ID to match tokens against, but no key or team ID: this method verifies a signature rather than redeeming an authorization code.
403
+ * @throws {OwbaseException}
404
+ * @returns {Promise<Models.OAuth2Apple>}
405
+ * @deprecated Use the object parameter style method for a better developer experience.
406
+ */
407
+ updateOAuth2Apple(serviceId?: string, keyId?: string, teamId?: string, p8File?: string, nativeClientIds?: string[], enabled?: boolean, nativeEnabled?: boolean): Promise<Models.OAuth2Apple>;
408
+ /**
409
+ * Update the project OAuth2 Auth0 configuration.
410
+ *
411
+ * @param {string} params.clientId - 'Client ID' of Auth0 OAuth2 app. For example: OaOkIA000000000000000000005KLSYq
412
+ * @param {string} params.clientSecret - 'Client Secret' of Auth0 OAuth2 app. For example: zXz0000-00000000000000000000000000000-00000000000000000000PJafnF
413
+ * @param {string} params.endpoint - Domain of Auth0 instance. For example: example.us.auth0.com
414
+ * @param {ProjectOAuth2Auth0Prompt[]} params.prompt - Array of Auth0 OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Auth0 default.
415
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
416
+ * @throws {OwbaseException}
417
+ * @returns {Promise<Models.OAuth2Auth0>}
418
+ */
419
+ updateOAuth2Auth0(params?: {
420
+ clientId?: string;
421
+ clientSecret?: string;
422
+ endpoint?: string;
423
+ prompt?: ProjectOAuth2Auth0Prompt[];
424
+ enabled?: boolean;
425
+ }): Promise<Models.OAuth2Auth0>;
426
+ /**
427
+ * Update the project OAuth2 Auth0 configuration.
428
+ *
429
+ * @param {string} clientId - 'Client ID' of Auth0 OAuth2 app. For example: OaOkIA000000000000000000005KLSYq
430
+ * @param {string} clientSecret - 'Client Secret' of Auth0 OAuth2 app. For example: zXz0000-00000000000000000000000000000-00000000000000000000PJafnF
431
+ * @param {string} endpoint - Domain of Auth0 instance. For example: example.us.auth0.com
432
+ * @param {ProjectOAuth2Auth0Prompt[]} prompt - Array of Auth0 OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Auth0 default.
433
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
434
+ * @throws {OwbaseException}
435
+ * @returns {Promise<Models.OAuth2Auth0>}
436
+ * @deprecated Use the object parameter style method for a better developer experience.
437
+ */
438
+ updateOAuth2Auth0(clientId?: string, clientSecret?: string, endpoint?: string, prompt?: ProjectOAuth2Auth0Prompt[], enabled?: boolean): Promise<Models.OAuth2Auth0>;
439
+ /**
440
+ * Update the project OAuth2 Authentik configuration.
441
+ *
442
+ * @param {string} params.clientId - 'Client ID' of Authentik OAuth2 app. For example: dTKOPa0000000000000000000000000000e7G8hv
443
+ * @param {string} params.clientSecret - 'Client Secret' of Authentik OAuth2 app. For example: ntQadq000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Hp5WK
444
+ * @param {string} params.endpoint - Domain of Authentik instance. For example: example.authentik.com
445
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
446
+ * @throws {OwbaseException}
447
+ * @returns {Promise<Models.OAuth2Authentik>}
448
+ */
449
+ updateOAuth2Authentik(params?: {
450
+ clientId?: string;
451
+ clientSecret?: string;
452
+ endpoint?: string;
453
+ enabled?: boolean;
454
+ }): Promise<Models.OAuth2Authentik>;
455
+ /**
456
+ * Update the project OAuth2 Authentik configuration.
457
+ *
458
+ * @param {string} clientId - 'Client ID' of Authentik OAuth2 app. For example: dTKOPa0000000000000000000000000000e7G8hv
459
+ * @param {string} clientSecret - 'Client Secret' of Authentik OAuth2 app. For example: ntQadq000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Hp5WK
460
+ * @param {string} endpoint - Domain of Authentik instance. For example: example.authentik.com
461
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
462
+ * @throws {OwbaseException}
463
+ * @returns {Promise<Models.OAuth2Authentik>}
464
+ * @deprecated Use the object parameter style method for a better developer experience.
465
+ */
466
+ updateOAuth2Authentik(clientId?: string, clientSecret?: string, endpoint?: string, enabled?: boolean): Promise<Models.OAuth2Authentik>;
467
+ /**
468
+ * Update the project OAuth2 Autodesk configuration.
469
+ *
470
+ * @param {string} params.clientId - 'Client ID' of Autodesk OAuth2 app. For example: 5zw90v00000000000000000000kVYXN7
471
+ * @param {string} params.clientSecret - 'Client Secret' of Autodesk OAuth2 app. For example: 7I000000000000MW
472
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
473
+ * @throws {OwbaseException}
474
+ * @returns {Promise<Models.OAuth2Autodesk>}
475
+ */
476
+ updateOAuth2Autodesk(params?: {
477
+ clientId?: string;
478
+ clientSecret?: string;
479
+ enabled?: boolean;
480
+ }): Promise<Models.OAuth2Autodesk>;
481
+ /**
482
+ * Update the project OAuth2 Autodesk configuration.
483
+ *
484
+ * @param {string} clientId - 'Client ID' of Autodesk OAuth2 app. For example: 5zw90v00000000000000000000kVYXN7
485
+ * @param {string} clientSecret - 'Client Secret' of Autodesk OAuth2 app. For example: 7I000000000000MW
486
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
487
+ * @throws {OwbaseException}
488
+ * @returns {Promise<Models.OAuth2Autodesk>}
489
+ * @deprecated Use the object parameter style method for a better developer experience.
490
+ */
491
+ updateOAuth2Autodesk(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Autodesk>;
492
+ /**
493
+ * Update the project OAuth2 Bitbucket configuration.
494
+ *
495
+ * @param {string} params.key - 'Key' of Bitbucket OAuth2 app. For example: Knt70000000000ByRc
496
+ * @param {string} params.secret - 'Secret' of Bitbucket OAuth2 app. For example: NMfLZJ00000000000000000000TLQdDx
497
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
498
+ * @throws {OwbaseException}
499
+ * @returns {Promise<Models.OAuth2Bitbucket>}
500
+ */
501
+ updateOAuth2Bitbucket(params?: {
502
+ key?: string;
503
+ secret?: string;
504
+ enabled?: boolean;
505
+ }): Promise<Models.OAuth2Bitbucket>;
506
+ /**
507
+ * Update the project OAuth2 Bitbucket configuration.
508
+ *
509
+ * @param {string} key - 'Key' of Bitbucket OAuth2 app. For example: Knt70000000000ByRc
510
+ * @param {string} secret - 'Secret' of Bitbucket OAuth2 app. For example: NMfLZJ00000000000000000000TLQdDx
511
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
512
+ * @throws {OwbaseException}
513
+ * @returns {Promise<Models.OAuth2Bitbucket>}
514
+ * @deprecated Use the object parameter style method for a better developer experience.
515
+ */
516
+ updateOAuth2Bitbucket(key?: string, secret?: string, enabled?: boolean): Promise<Models.OAuth2Bitbucket>;
517
+ /**
518
+ * Update the project OAuth2 Bitly configuration.
519
+ *
520
+ * @param {string} params.clientId - 'Client ID' of Bitly OAuth2 app. For example: d95151000000000000000000000000000067af9b
521
+ * @param {string} params.clientSecret - 'Client Secret' of Bitly OAuth2 app. For example: a13e250000000000000000000000000000d73095
522
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
523
+ * @throws {OwbaseException}
524
+ * @returns {Promise<Models.OAuth2Bitly>}
525
+ */
526
+ updateOAuth2Bitly(params?: {
527
+ clientId?: string;
528
+ clientSecret?: string;
529
+ enabled?: boolean;
530
+ }): Promise<Models.OAuth2Bitly>;
531
+ /**
532
+ * Update the project OAuth2 Bitly configuration.
533
+ *
534
+ * @param {string} clientId - 'Client ID' of Bitly OAuth2 app. For example: d95151000000000000000000000000000067af9b
535
+ * @param {string} clientSecret - 'Client Secret' of Bitly OAuth2 app. For example: a13e250000000000000000000000000000d73095
536
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
537
+ * @throws {OwbaseException}
538
+ * @returns {Promise<Models.OAuth2Bitly>}
539
+ * @deprecated Use the object parameter style method for a better developer experience.
540
+ */
541
+ updateOAuth2Bitly(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Bitly>;
542
+ /**
543
+ * Update the project OAuth2 Box configuration.
544
+ *
545
+ * @param {string} params.clientId - 'Client ID' of Box OAuth2 app. For example: deglcs00000000000000000000x2og6y
546
+ * @param {string} params.clientSecret - 'Client Secret' of Box OAuth2 app. For example: OKM1f100000000000000000000eshEif
547
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
548
+ * @throws {OwbaseException}
549
+ * @returns {Promise<Models.OAuth2Box>}
550
+ */
551
+ updateOAuth2Box(params?: {
552
+ clientId?: string;
553
+ clientSecret?: string;
554
+ enabled?: boolean;
555
+ }): Promise<Models.OAuth2Box>;
556
+ /**
557
+ * Update the project OAuth2 Box configuration.
558
+ *
559
+ * @param {string} clientId - 'Client ID' of Box OAuth2 app. For example: deglcs00000000000000000000x2og6y
560
+ * @param {string} clientSecret - 'Client Secret' of Box OAuth2 app. For example: OKM1f100000000000000000000eshEif
561
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
562
+ * @throws {OwbaseException}
563
+ * @returns {Promise<Models.OAuth2Box>}
564
+ * @deprecated Use the object parameter style method for a better developer experience.
565
+ */
566
+ updateOAuth2Box(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Box>;
567
+ /**
568
+ * Update the project OAuth2 Cloudflare configuration.
569
+ *
570
+ * @param {string} params.clientId - 'Client ID' of Cloudflare OAuth2 app. For example: 4b866000000000000000000000c9e4e2
571
+ * @param {string} params.clientSecret - 'Client Secret' of Cloudflare OAuth2 app. For example: cfoc_5Q6YRl0000000000000000000000000000000000003d214f
572
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
573
+ * @throws {OwbaseException}
574
+ * @returns {Promise<Models.OAuth2Cloudflare>}
575
+ */
576
+ updateOAuth2Cloudflare(params?: {
577
+ clientId?: string;
578
+ clientSecret?: string;
579
+ enabled?: boolean;
580
+ }): Promise<Models.OAuth2Cloudflare>;
581
+ /**
582
+ * Update the project OAuth2 Cloudflare configuration.
583
+ *
584
+ * @param {string} clientId - 'Client ID' of Cloudflare OAuth2 app. For example: 4b866000000000000000000000c9e4e2
585
+ * @param {string} clientSecret - 'Client Secret' of Cloudflare OAuth2 app. For example: cfoc_5Q6YRl0000000000000000000000000000000000003d214f
586
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
587
+ * @throws {OwbaseException}
588
+ * @returns {Promise<Models.OAuth2Cloudflare>}
589
+ * @deprecated Use the object parameter style method for a better developer experience.
590
+ */
591
+ updateOAuth2Cloudflare(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Cloudflare>;
592
+ /**
593
+ * Update the project OAuth2 Dailymotion configuration.
594
+ *
595
+ * @param {string} params.apiKey - 'API Key' of Dailymotion OAuth2 app. For example: 07a9000000000000067f
596
+ * @param {string} params.apiSecret - 'API Secret' of Dailymotion OAuth2 app. For example: a399a90000000000000000000000000000d90639
597
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
598
+ * @throws {OwbaseException}
599
+ * @returns {Promise<Models.OAuth2Dailymotion>}
600
+ */
601
+ updateOAuth2Dailymotion(params?: {
602
+ apiKey?: string;
603
+ apiSecret?: string;
604
+ enabled?: boolean;
605
+ }): Promise<Models.OAuth2Dailymotion>;
606
+ /**
607
+ * Update the project OAuth2 Dailymotion configuration.
608
+ *
609
+ * @param {string} apiKey - 'API Key' of Dailymotion OAuth2 app. For example: 07a9000000000000067f
610
+ * @param {string} apiSecret - 'API Secret' of Dailymotion OAuth2 app. For example: a399a90000000000000000000000000000d90639
611
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
612
+ * @throws {OwbaseException}
613
+ * @returns {Promise<Models.OAuth2Dailymotion>}
614
+ * @deprecated Use the object parameter style method for a better developer experience.
615
+ */
616
+ updateOAuth2Dailymotion(apiKey?: string, apiSecret?: string, enabled?: boolean): Promise<Models.OAuth2Dailymotion>;
617
+ /**
618
+ * Update the project OAuth2 Discord configuration.
619
+ *
620
+ * @param {string} params.clientId - 'Client ID' of Discord OAuth2 app. For example: 950722000000343754
621
+ * @param {string} params.clientSecret - 'Client Secret' of Discord OAuth2 app. For example: YmPXnM000000000000000000002zFg5D
622
+ * @param {ProjectOAuth2DiscordPrompt[]} params.prompt - Array with at most one Discord OAuth2 prompt value. "none" means: skip the authorization screen for users who already authorized the app with the requested scopes. "consent" means: ask users who already authorized the app to approve it again. Pass an empty array to use the Discord default.
623
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
624
+ * @throws {OwbaseException}
625
+ * @returns {Promise<Models.OAuth2Discord>}
626
+ */
627
+ updateOAuth2Discord(params?: {
628
+ clientId?: string;
629
+ clientSecret?: string;
630
+ prompt?: ProjectOAuth2DiscordPrompt[];
631
+ enabled?: boolean;
632
+ }): Promise<Models.OAuth2Discord>;
633
+ /**
634
+ * Update the project OAuth2 Discord configuration.
635
+ *
636
+ * @param {string} clientId - 'Client ID' of Discord OAuth2 app. For example: 950722000000343754
637
+ * @param {string} clientSecret - 'Client Secret' of Discord OAuth2 app. For example: YmPXnM000000000000000000002zFg5D
638
+ * @param {ProjectOAuth2DiscordPrompt[]} prompt - Array with at most one Discord OAuth2 prompt value. "none" means: skip the authorization screen for users who already authorized the app with the requested scopes. "consent" means: ask users who already authorized the app to approve it again. Pass an empty array to use the Discord default.
639
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
640
+ * @throws {OwbaseException}
641
+ * @returns {Promise<Models.OAuth2Discord>}
642
+ * @deprecated Use the object parameter style method for a better developer experience.
643
+ */
644
+ updateOAuth2Discord(clientId?: string, clientSecret?: string, prompt?: ProjectOAuth2DiscordPrompt[], enabled?: boolean): Promise<Models.OAuth2Discord>;
645
+ /**
646
+ * Update the project OAuth2 Disqus configuration.
647
+ *
648
+ * @param {string} params.publicKey - 'Public Key, also known as API Key' of Disqus OAuth2 app. For example: cgegH70000000000000000000000000000000000000000000000000000Hr1nYX
649
+ * @param {string} params.secretKey - 'Secret Key, also known as API Secret' of Disqus OAuth2 app. For example: W7Bykj00000000000000000000000000000000000000000000000000003o43w9
650
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
651
+ * @throws {OwbaseException}
652
+ * @returns {Promise<Models.OAuth2Disqus>}
653
+ */
654
+ updateOAuth2Disqus(params?: {
655
+ publicKey?: string;
656
+ secretKey?: string;
657
+ enabled?: boolean;
658
+ }): Promise<Models.OAuth2Disqus>;
659
+ /**
660
+ * Update the project OAuth2 Disqus configuration.
661
+ *
662
+ * @param {string} publicKey - 'Public Key, also known as API Key' of Disqus OAuth2 app. For example: cgegH70000000000000000000000000000000000000000000000000000Hr1nYX
663
+ * @param {string} secretKey - 'Secret Key, also known as API Secret' of Disqus OAuth2 app. For example: W7Bykj00000000000000000000000000000000000000000000000000003o43w9
664
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
665
+ * @throws {OwbaseException}
666
+ * @returns {Promise<Models.OAuth2Disqus>}
667
+ * @deprecated Use the object parameter style method for a better developer experience.
668
+ */
669
+ updateOAuth2Disqus(publicKey?: string, secretKey?: string, enabled?: boolean): Promise<Models.OAuth2Disqus>;
670
+ /**
671
+ * Update the project OAuth2 Dropbox configuration.
672
+ *
673
+ * @param {string} params.appKey - 'App Key' of Dropbox OAuth2 app. For example: jl000000000009t
674
+ * @param {string} params.appSecret - 'App Secret' of Dropbox OAuth2 app. For example: g200000000000vw
675
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
676
+ * @throws {OwbaseException}
677
+ * @returns {Promise<Models.OAuth2Dropbox>}
678
+ */
679
+ updateOAuth2Dropbox(params?: {
680
+ appKey?: string;
681
+ appSecret?: string;
682
+ enabled?: boolean;
683
+ }): Promise<Models.OAuth2Dropbox>;
684
+ /**
685
+ * Update the project OAuth2 Dropbox configuration.
686
+ *
687
+ * @param {string} appKey - 'App Key' of Dropbox OAuth2 app. For example: jl000000000009t
688
+ * @param {string} appSecret - 'App Secret' of Dropbox OAuth2 app. For example: g200000000000vw
689
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
690
+ * @throws {OwbaseException}
691
+ * @returns {Promise<Models.OAuth2Dropbox>}
692
+ * @deprecated Use the object parameter style method for a better developer experience.
693
+ */
694
+ updateOAuth2Dropbox(appKey?: string, appSecret?: string, enabled?: boolean): Promise<Models.OAuth2Dropbox>;
695
+ /**
696
+ * Update the project OAuth2 Etsy configuration.
697
+ *
698
+ * @param {string} params.keyString - 'Keystring' of Etsy OAuth2 app. For example: nsgzxh0000000000008j85a2
699
+ * @param {string} params.sharedSecret - 'Shared Secret' of Etsy OAuth2 app. For example: tp000000ru
700
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
701
+ * @throws {OwbaseException}
702
+ * @returns {Promise<Models.OAuth2Etsy>}
703
+ */
704
+ updateOAuth2Etsy(params?: {
705
+ keyString?: string;
706
+ sharedSecret?: string;
707
+ enabled?: boolean;
708
+ }): Promise<Models.OAuth2Etsy>;
709
+ /**
710
+ * Update the project OAuth2 Etsy configuration.
711
+ *
712
+ * @param {string} keyString - 'Keystring' of Etsy OAuth2 app. For example: nsgzxh0000000000008j85a2
713
+ * @param {string} sharedSecret - 'Shared Secret' of Etsy OAuth2 app. For example: tp000000ru
714
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
715
+ * @throws {OwbaseException}
716
+ * @returns {Promise<Models.OAuth2Etsy>}
717
+ * @deprecated Use the object parameter style method for a better developer experience.
718
+ */
719
+ updateOAuth2Etsy(keyString?: string, sharedSecret?: string, enabled?: boolean): Promise<Models.OAuth2Etsy>;
720
+ /**
721
+ * Update the project OAuth2 Facebook configuration.
722
+ *
723
+ * @param {string} params.appId - 'App ID' of Facebook OAuth2 app. For example: 260600000007694
724
+ * @param {string} params.appSecret - 'App Secret' of Facebook OAuth2 app. For example: 2d0b2800000000000000000000d38af4
725
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
726
+ * @throws {OwbaseException}
727
+ * @returns {Promise<Models.OAuth2Facebook>}
728
+ */
729
+ updateOAuth2Facebook(params?: {
730
+ appId?: string;
731
+ appSecret?: string;
732
+ enabled?: boolean;
733
+ }): Promise<Models.OAuth2Facebook>;
734
+ /**
735
+ * Update the project OAuth2 Facebook configuration.
736
+ *
737
+ * @param {string} appId - 'App ID' of Facebook OAuth2 app. For example: 260600000007694
738
+ * @param {string} appSecret - 'App Secret' of Facebook OAuth2 app. For example: 2d0b2800000000000000000000d38af4
739
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
740
+ * @throws {OwbaseException}
741
+ * @returns {Promise<Models.OAuth2Facebook>}
742
+ * @deprecated Use the object parameter style method for a better developer experience.
743
+ */
744
+ updateOAuth2Facebook(appId?: string, appSecret?: string, enabled?: boolean): Promise<Models.OAuth2Facebook>;
745
+ /**
746
+ * Update the project OAuth2 Figma configuration.
747
+ *
748
+ * @param {string} params.clientId - 'Client ID' of Figma OAuth2 app. For example: byay5H0000000000VtiI40
749
+ * @param {string} params.clientSecret - 'Client Secret' of Figma OAuth2 app. For example: yEpOYn0000000000000000004iIsU5
750
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
751
+ * @throws {OwbaseException}
752
+ * @returns {Promise<Models.OAuth2Figma>}
753
+ */
754
+ updateOAuth2Figma(params?: {
755
+ clientId?: string;
756
+ clientSecret?: string;
757
+ enabled?: boolean;
758
+ }): Promise<Models.OAuth2Figma>;
759
+ /**
760
+ * Update the project OAuth2 Figma configuration.
761
+ *
762
+ * @param {string} clientId - 'Client ID' of Figma OAuth2 app. For example: byay5H0000000000VtiI40
763
+ * @param {string} clientSecret - 'Client Secret' of Figma OAuth2 app. For example: yEpOYn0000000000000000004iIsU5
764
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
765
+ * @throws {OwbaseException}
766
+ * @returns {Promise<Models.OAuth2Figma>}
767
+ * @deprecated Use the object parameter style method for a better developer experience.
768
+ */
769
+ updateOAuth2Figma(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Figma>;
770
+ /**
771
+ * Update the project OAuth2 FusionAuth configuration.
772
+ *
773
+ * @param {string} params.clientId - 'Client ID' of FusionAuth OAuth2 app. For example: b2222c00-0000-0000-0000-000000862097
774
+ * @param {string} params.clientSecret - 'Client Secret' of FusionAuth OAuth2 app. For example: Jx4s0C0000000000000000000000000000000wGqLsc
775
+ * @param {string} params.endpoint - Domain of FusionAuth instance. For example: example.fusionauth.io
776
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
777
+ * @throws {OwbaseException}
778
+ * @returns {Promise<Models.OAuth2FusionAuth>}
779
+ */
780
+ updateOAuth2FusionAuth(params?: {
781
+ clientId?: string;
782
+ clientSecret?: string;
783
+ endpoint?: string;
784
+ enabled?: boolean;
785
+ }): Promise<Models.OAuth2FusionAuth>;
786
+ /**
787
+ * Update the project OAuth2 FusionAuth configuration.
788
+ *
789
+ * @param {string} clientId - 'Client ID' of FusionAuth OAuth2 app. For example: b2222c00-0000-0000-0000-000000862097
790
+ * @param {string} clientSecret - 'Client Secret' of FusionAuth OAuth2 app. For example: Jx4s0C0000000000000000000000000000000wGqLsc
791
+ * @param {string} endpoint - Domain of FusionAuth instance. For example: example.fusionauth.io
792
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
793
+ * @throws {OwbaseException}
794
+ * @returns {Promise<Models.OAuth2FusionAuth>}
795
+ * @deprecated Use the object parameter style method for a better developer experience.
796
+ */
797
+ updateOAuth2FusionAuth(clientId?: string, clientSecret?: string, endpoint?: string, enabled?: boolean): Promise<Models.OAuth2FusionAuth>;
798
+ /**
799
+ * Update the project OAuth2 GitHub configuration.
800
+ *
801
+ * @param {string} params.clientId - 'OAuth2 app Client ID, or App ID' of GitHub OAuth2 app. For example: e4d87900000000540733. Example of wrong value: 370006
802
+ * @param {string} params.clientSecret - 'Client Secret' of GitHub OAuth2 app. For example: 5e07c00000000000000000000000000000198bcc
803
+ * @param {ProjectOAuth2GitHubPrompt[]} params.prompt - Array of GitHub OAuth2 prompt values. "select_account" means: prompt the user to select an account. Pass an empty array to use the GitHub default.
804
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
805
+ * @throws {OwbaseException}
806
+ * @returns {Promise<Models.OAuth2Github>}
807
+ */
808
+ updateOAuth2GitHub(params?: {
809
+ clientId?: string;
810
+ clientSecret?: string;
811
+ prompt?: ProjectOAuth2GitHubPrompt[];
812
+ enabled?: boolean;
813
+ }): Promise<Models.OAuth2Github>;
814
+ /**
815
+ * Update the project OAuth2 GitHub configuration.
816
+ *
817
+ * @param {string} clientId - 'OAuth2 app Client ID, or App ID' of GitHub OAuth2 app. For example: e4d87900000000540733. Example of wrong value: 370006
818
+ * @param {string} clientSecret - 'Client Secret' of GitHub OAuth2 app. For example: 5e07c00000000000000000000000000000198bcc
819
+ * @param {ProjectOAuth2GitHubPrompt[]} prompt - Array of GitHub OAuth2 prompt values. "select_account" means: prompt the user to select an account. Pass an empty array to use the GitHub default.
820
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
821
+ * @throws {OwbaseException}
822
+ * @returns {Promise<Models.OAuth2Github>}
823
+ * @deprecated Use the object parameter style method for a better developer experience.
824
+ */
825
+ updateOAuth2GitHub(clientId?: string, clientSecret?: string, prompt?: ProjectOAuth2GitHubPrompt[], enabled?: boolean): Promise<Models.OAuth2Github>;
826
+ /**
827
+ * Update the project OAuth2 Gitlab configuration.
828
+ *
829
+ * @param {string} params.applicationId - 'Application ID' of Gitlab OAuth2 app. For example: d41ffe0000000000000000000000000000000000000000000000000000d5e252
830
+ * @param {string} params.secret - 'Secret' of Gitlab OAuth2 app. For example: gloas-838cfa0000000000000000000000000000000000000000000000000000ecbb38
831
+ * @param {string} params.endpoint - Endpoint URL of self-hosted GitLab instance. For example: https://gitlab.com
832
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
833
+ * @throws {OwbaseException}
834
+ * @returns {Promise<Models.OAuth2Gitlab>}
835
+ */
836
+ updateOAuth2Gitlab(params?: {
837
+ applicationId?: string;
838
+ secret?: string;
839
+ endpoint?: string;
840
+ enabled?: boolean;
841
+ }): Promise<Models.OAuth2Gitlab>;
842
+ /**
843
+ * Update the project OAuth2 Gitlab configuration.
844
+ *
845
+ * @param {string} applicationId - 'Application ID' of Gitlab OAuth2 app. For example: d41ffe0000000000000000000000000000000000000000000000000000d5e252
846
+ * @param {string} secret - 'Secret' of Gitlab OAuth2 app. For example: gloas-838cfa0000000000000000000000000000000000000000000000000000ecbb38
847
+ * @param {string} endpoint - Endpoint URL of self-hosted GitLab instance. For example: https://gitlab.com
848
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
849
+ * @throws {OwbaseException}
850
+ * @returns {Promise<Models.OAuth2Gitlab>}
851
+ * @deprecated Use the object parameter style method for a better developer experience.
852
+ */
853
+ updateOAuth2Gitlab(applicationId?: string, secret?: string, endpoint?: string, enabled?: boolean): Promise<Models.OAuth2Gitlab>;
854
+ /**
855
+ * Update the project OAuth2 Google configuration.
856
+ *
857
+ * @param {string} params.clientId - 'Client ID' of Google OAuth2 app. For example: 120000000095-92ifjb00000000000000000000g7ijfb.apps.googleusercontent.com
858
+ * @param {string} params.clientSecret - 'Client Secret' of Google OAuth2 app. For example: GOCSPX-2k8gsR0000000000000000VNahJj
859
+ * @param {ProjectOAuth2GooglePrompt[]} params.prompt - Array of Google OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. Must not be specified with other values. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account.
860
+ * @param {string[]} params.nativeClientIds - Additional OAuth2 client IDs accepted as ID token audiences for native sign-in (Android and iOS client IDs). Together with the client ID, which is always accepted, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
861
+ * @param {boolean} params.enabled - Browser-based OAuth2 sign-in status. Set to true to enable new session creation through the redirect flow. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. Has no effect on native sign-in, which is controlled by nativeEnabled only.
862
+ * @param {boolean} params.nativeEnabled - Native Google sign-in status. This is the only switch for creating sessions from ID tokens obtained on device and is independent of enabled. Needs a client ID or at least one native client ID to match tokens against, but no client secret: this method verifies a signature rather than redeeming an authorization code.
863
+ * @throws {OwbaseException}
864
+ * @returns {Promise<Models.OAuth2Google>}
865
+ */
866
+ updateOAuth2Google(params?: {
867
+ clientId?: string;
868
+ clientSecret?: string;
869
+ prompt?: ProjectOAuth2GooglePrompt[];
870
+ nativeClientIds?: string[];
871
+ enabled?: boolean;
872
+ nativeEnabled?: boolean;
873
+ }): Promise<Models.OAuth2Google>;
874
+ /**
875
+ * Update the project OAuth2 Google configuration.
876
+ *
877
+ * @param {string} clientId - 'Client ID' of Google OAuth2 app. For example: 120000000095-92ifjb00000000000000000000g7ijfb.apps.googleusercontent.com
878
+ * @param {string} clientSecret - 'Client Secret' of Google OAuth2 app. For example: GOCSPX-2k8gsR0000000000000000VNahJj
879
+ * @param {ProjectOAuth2GooglePrompt[]} prompt - Array of Google OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. Must not be specified with other values. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account.
880
+ * @param {string[]} nativeClientIds - Additional OAuth2 client IDs accepted as ID token audiences for native sign-in (Android and iOS client IDs). Together with the client ID, which is always accepted, these are the only client IDs whose tokens are trusted. Pass an empty array to clear the list.
881
+ * @param {boolean} enabled - Browser-based OAuth2 sign-in status. Set to true to enable new session creation through the redirect flow. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid. Has no effect on native sign-in, which is controlled by nativeEnabled only.
882
+ * @param {boolean} nativeEnabled - Native Google sign-in status. This is the only switch for creating sessions from ID tokens obtained on device and is independent of enabled. Needs a client ID or at least one native client ID to match tokens against, but no client secret: this method verifies a signature rather than redeeming an authorization code.
883
+ * @throws {OwbaseException}
884
+ * @returns {Promise<Models.OAuth2Google>}
885
+ * @deprecated Use the object parameter style method for a better developer experience.
886
+ */
887
+ updateOAuth2Google(clientId?: string, clientSecret?: string, prompt?: ProjectOAuth2GooglePrompt[], nativeClientIds?: string[], enabled?: boolean, nativeEnabled?: boolean): Promise<Models.OAuth2Google>;
888
+ /**
889
+ * Update the project OAuth2 Hugging Face configuration.
890
+ *
891
+ * @param {string} params.clientId - 'Client ID' of Hugging Face OAuth2 app. For example: 2ab9cff9-d711-40ad-a91e-b08a49c42d24
892
+ * @param {string} params.clientSecret - 'Client Secret' of Hugging Face OAuth2 app. For example: oauth_app_secret_wcLhRtl000000000000000000000xbNdLt
893
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
894
+ * @throws {OwbaseException}
895
+ * @returns {Promise<Models.OAuth2HuggingFace>}
896
+ */
897
+ updateOAuth2HuggingFace(params?: {
898
+ clientId?: string;
899
+ clientSecret?: string;
900
+ enabled?: boolean;
901
+ }): Promise<Models.OAuth2HuggingFace>;
902
+ /**
903
+ * Update the project OAuth2 Hugging Face configuration.
904
+ *
905
+ * @param {string} clientId - 'Client ID' of Hugging Face OAuth2 app. For example: 2ab9cff9-d711-40ad-a91e-b08a49c42d24
906
+ * @param {string} clientSecret - 'Client Secret' of Hugging Face OAuth2 app. For example: oauth_app_secret_wcLhRtl000000000000000000000xbNdLt
907
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
908
+ * @throws {OwbaseException}
909
+ * @returns {Promise<Models.OAuth2HuggingFace>}
910
+ * @deprecated Use the object parameter style method for a better developer experience.
911
+ */
912
+ updateOAuth2HuggingFace(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2HuggingFace>;
913
+ /**
914
+ * Update the project OAuth2 Kakao configuration.
915
+ *
916
+ * @param {string} params.clientId - 'REST API key' of Kakao OAuth2 app. For example: 839ff5000000000000000000013206de
917
+ * @param {string} params.clientSecret - 'Client Secret' of Kakao OAuth2 app. For example: jLNVOK00000000000000000000yJebea. Generate it under Kakao Login > Security and set its status to enabled
918
+ * @param {ProjectOAuth2KakaoPrompt[]} params.prompt - Array of Kakao OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "create" means: prompt the user to sign up. "select_account" means: prompt the user to select an account. Pass an empty array to use the Kakao default.
919
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
920
+ * @throws {OwbaseException}
921
+ * @returns {Promise<Models.OAuth2Kakao>}
922
+ */
923
+ updateOAuth2Kakao(params?: {
924
+ clientId?: string;
925
+ clientSecret?: string;
926
+ prompt?: ProjectOAuth2KakaoPrompt[];
927
+ enabled?: boolean;
928
+ }): Promise<Models.OAuth2Kakao>;
929
+ /**
930
+ * Update the project OAuth2 Kakao configuration.
931
+ *
932
+ * @param {string} clientId - 'REST API key' of Kakao OAuth2 app. For example: 839ff5000000000000000000013206de
933
+ * @param {string} clientSecret - 'Client Secret' of Kakao OAuth2 app. For example: jLNVOK00000000000000000000yJebea. Generate it under Kakao Login > Security and set its status to enabled
934
+ * @param {ProjectOAuth2KakaoPrompt[]} prompt - Array of Kakao OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "create" means: prompt the user to sign up. "select_account" means: prompt the user to select an account. Pass an empty array to use the Kakao default.
935
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
936
+ * @throws {OwbaseException}
937
+ * @returns {Promise<Models.OAuth2Kakao>}
938
+ * @deprecated Use the object parameter style method for a better developer experience.
939
+ */
940
+ updateOAuth2Kakao(clientId?: string, clientSecret?: string, prompt?: ProjectOAuth2KakaoPrompt[], enabled?: boolean): Promise<Models.OAuth2Kakao>;
941
+ /**
942
+ * Update the project OAuth2 Keycloak configuration.
943
+ *
944
+ * @param {string} params.clientId - 'Client ID' of Keycloak OAuth2 app. For example: owbase-o0000000st-app
945
+ * @param {string} params.clientSecret - 'Client Secret' of Keycloak OAuth2 app. For example: jdjrJd00000000000000000000HUsaZO
946
+ * @param {string} params.endpoint - Domain of Keycloak instance. For example: keycloak.example.com
947
+ * @param {string} params.realmName - Keycloak realm name. For example: owbase-realm
948
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
949
+ * @throws {OwbaseException}
950
+ * @returns {Promise<Models.OAuth2Keycloak>}
951
+ */
952
+ updateOAuth2Keycloak(params?: {
953
+ clientId?: string;
954
+ clientSecret?: string;
955
+ endpoint?: string;
956
+ realmName?: string;
957
+ enabled?: boolean;
958
+ }): Promise<Models.OAuth2Keycloak>;
959
+ /**
960
+ * Update the project OAuth2 Keycloak configuration.
961
+ *
962
+ * @param {string} clientId - 'Client ID' of Keycloak OAuth2 app. For example: owbase-o0000000st-app
963
+ * @param {string} clientSecret - 'Client Secret' of Keycloak OAuth2 app. For example: jdjrJd00000000000000000000HUsaZO
964
+ * @param {string} endpoint - Domain of Keycloak instance. For example: keycloak.example.com
965
+ * @param {string} realmName - Keycloak realm name. For example: owbase-realm
966
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
967
+ * @throws {OwbaseException}
968
+ * @returns {Promise<Models.OAuth2Keycloak>}
969
+ * @deprecated Use the object parameter style method for a better developer experience.
970
+ */
971
+ updateOAuth2Keycloak(clientId?: string, clientSecret?: string, endpoint?: string, realmName?: string, enabled?: boolean): Promise<Models.OAuth2Keycloak>;
972
+ /**
973
+ * Update the project OAuth2 Kick configuration.
974
+ *
975
+ * @param {string} params.clientId - 'Client ID' of Kick OAuth2 app. For example: 01KQ7C00000000000001MFHS32
976
+ * @param {string} params.clientSecret - 'Client Secret' of Kick OAuth2 app. For example: 34ac5600000000000000000000000000000000000000000000000000e830c8b
977
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
978
+ * @throws {OwbaseException}
979
+ * @returns {Promise<Models.OAuth2Kick>}
980
+ */
981
+ updateOAuth2Kick(params?: {
982
+ clientId?: string;
983
+ clientSecret?: string;
984
+ enabled?: boolean;
985
+ }): Promise<Models.OAuth2Kick>;
986
+ /**
987
+ * Update the project OAuth2 Kick configuration.
988
+ *
989
+ * @param {string} clientId - 'Client ID' of Kick OAuth2 app. For example: 01KQ7C00000000000001MFHS32
990
+ * @param {string} clientSecret - 'Client Secret' of Kick OAuth2 app. For example: 34ac5600000000000000000000000000000000000000000000000000e830c8b
991
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
992
+ * @throws {OwbaseException}
993
+ * @returns {Promise<Models.OAuth2Kick>}
994
+ * @deprecated Use the object parameter style method for a better developer experience.
995
+ */
996
+ updateOAuth2Kick(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Kick>;
997
+ /**
998
+ * Update the project OAuth2 Linkedin configuration.
999
+ *
1000
+ * @param {string} params.clientId - 'Client ID' of Linkedin OAuth2 app. For example: 770000000000dv
1001
+ * @param {string} params.primaryClientSecret - 'Primary Client Secret or Secondary Client Secret' of Linkedin OAuth2 app. For example: WPL_AP1.2Bf0000000000000./HtlYw==
1002
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1003
+ * @throws {OwbaseException}
1004
+ * @returns {Promise<Models.OAuth2Linkedin>}
1005
+ */
1006
+ updateOAuth2Linkedin(params?: {
1007
+ clientId?: string;
1008
+ primaryClientSecret?: string;
1009
+ enabled?: boolean;
1010
+ }): Promise<Models.OAuth2Linkedin>;
1011
+ /**
1012
+ * Update the project OAuth2 Linkedin configuration.
1013
+ *
1014
+ * @param {string} clientId - 'Client ID' of Linkedin OAuth2 app. For example: 770000000000dv
1015
+ * @param {string} primaryClientSecret - 'Primary Client Secret or Secondary Client Secret' of Linkedin OAuth2 app. For example: WPL_AP1.2Bf0000000000000./HtlYw==
1016
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1017
+ * @throws {OwbaseException}
1018
+ * @returns {Promise<Models.OAuth2Linkedin>}
1019
+ * @deprecated Use the object parameter style method for a better developer experience.
1020
+ */
1021
+ updateOAuth2Linkedin(clientId?: string, primaryClientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Linkedin>;
1022
+ /**
1023
+ * Update the project OAuth2 Microsoft configuration.
1024
+ *
1025
+ * @param {string} params.applicationId - 'Entra ID Application ID, also known as Client ID' of Microsoft OAuth2 app. For example: 00001111-aaaa-2222-bbbb-3333cccc4444
1026
+ * @param {string} params.applicationSecret - 'Entra ID Application Secret, also known as Client Secret' of Microsoft OAuth2 app. For example: A1bC2dE3fH4iJ5kL6mN7oP8qR9sT0u
1027
+ * @param {string} params.tenant - Microsoft Entra ID tenant identifier. Use 'common', 'organizations', 'consumers' or a specific tenant ID. For example: common
1028
+ * @param {ProjectOAuth2MicrosoftPrompt[]} params.prompt - Array of Microsoft OAuth2 prompt values. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account. Pass an empty array to use the Microsoft default.
1029
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1030
+ * @throws {OwbaseException}
1031
+ * @returns {Promise<Models.OAuth2Microsoft>}
1032
+ */
1033
+ updateOAuth2Microsoft(params?: {
1034
+ applicationId?: string;
1035
+ applicationSecret?: string;
1036
+ tenant?: string;
1037
+ prompt?: ProjectOAuth2MicrosoftPrompt[];
1038
+ enabled?: boolean;
1039
+ }): Promise<Models.OAuth2Microsoft>;
1040
+ /**
1041
+ * Update the project OAuth2 Microsoft configuration.
1042
+ *
1043
+ * @param {string} applicationId - 'Entra ID Application ID, also known as Client ID' of Microsoft OAuth2 app. For example: 00001111-aaaa-2222-bbbb-3333cccc4444
1044
+ * @param {string} applicationSecret - 'Entra ID Application Secret, also known as Client Secret' of Microsoft OAuth2 app. For example: A1bC2dE3fH4iJ5kL6mN7oP8qR9sT0u
1045
+ * @param {string} tenant - Microsoft Entra ID tenant identifier. Use 'common', 'organizations', 'consumers' or a specific tenant ID. For example: common
1046
+ * @param {ProjectOAuth2MicrosoftPrompt[]} prompt - Array of Microsoft OAuth2 prompt values. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account. Pass an empty array to use the Microsoft default.
1047
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1048
+ * @throws {OwbaseException}
1049
+ * @returns {Promise<Models.OAuth2Microsoft>}
1050
+ * @deprecated Use the object parameter style method for a better developer experience.
1051
+ */
1052
+ updateOAuth2Microsoft(applicationId?: string, applicationSecret?: string, tenant?: string, prompt?: ProjectOAuth2MicrosoftPrompt[], enabled?: boolean): Promise<Models.OAuth2Microsoft>;
1053
+ /**
1054
+ * Update the project OAuth2 Notion configuration.
1055
+ *
1056
+ * @param {string} params.oauthClientId - 'OAuth Client ID' of Notion OAuth2 app. For example: 341d8700-0000-0000-0000-000000446ee3
1057
+ * @param {string} params.oauthClientSecret - 'OAuth Client Secret' of Notion OAuth2 app. For example: secret_dLUr4b000000000000000000000000000000lFHAa9
1058
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1059
+ * @throws {OwbaseException}
1060
+ * @returns {Promise<Models.OAuth2Notion>}
1061
+ */
1062
+ updateOAuth2Notion(params?: {
1063
+ oauthClientId?: string;
1064
+ oauthClientSecret?: string;
1065
+ enabled?: boolean;
1066
+ }): Promise<Models.OAuth2Notion>;
1067
+ /**
1068
+ * Update the project OAuth2 Notion configuration.
1069
+ *
1070
+ * @param {string} oauthClientId - 'OAuth Client ID' of Notion OAuth2 app. For example: 341d8700-0000-0000-0000-000000446ee3
1071
+ * @param {string} oauthClientSecret - 'OAuth Client Secret' of Notion OAuth2 app. For example: secret_dLUr4b000000000000000000000000000000lFHAa9
1072
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1073
+ * @throws {OwbaseException}
1074
+ * @returns {Promise<Models.OAuth2Notion>}
1075
+ * @deprecated Use the object parameter style method for a better developer experience.
1076
+ */
1077
+ updateOAuth2Notion(oauthClientId?: string, oauthClientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Notion>;
1078
+ /**
1079
+ * Update the project OAuth2 Oidc configuration.
1080
+ *
1081
+ * @param {string} params.clientId - 'Client ID' of Oidc OAuth2 app. For example: qibI2x0000000000000000000000000006L2YFoG
1082
+ * @param {string} params.clientSecret - 'Client Secret' of Oidc OAuth2 app. For example: Ah68ed000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003qpcHV
1083
+ * @param {string} params.wellKnownURL - OpenID Connect well-known configuration URL. When provided, authorization, token, and user info endpoints can be discovered automatically. For example: https://myoauth.com/.well-known/openid-configuration
1084
+ * @param {string} params.authorizationURL - OpenID Connect authorization endpoint URL. Required when wellKnownURL is not provided. For example: https://myoauth.com/oauth2/authorize
1085
+ * @param {string} params.tokenURL - OpenID Connect token endpoint URL. Required when wellKnownURL is not provided. For example: https://myoauth.com/oauth2/token
1086
+ * @param {string} params.userInfoURL - OpenID Connect user info endpoint URL. Required when wellKnownURL is not provided. For example: https://myoauth.com/oauth2/userinfo
1087
+ * @param {ProjectOAuth2OidcPrompt[]} params.prompt - Array of OpenID Connect prompt values controlling the authentication and consent screens. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account.
1088
+ * @param {number} params.maxAge - Maximum authentication age in seconds. When set, the user must have authenticated within this many seconds, otherwise they are prompted to re-authenticate.
1089
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1090
+ * @throws {OwbaseException}
1091
+ * @returns {Promise<Models.OAuth2Oidc>}
1092
+ */
1093
+ updateOAuth2Oidc(params?: {
1094
+ clientId?: string;
1095
+ clientSecret?: string;
1096
+ wellKnownURL?: string;
1097
+ authorizationURL?: string;
1098
+ tokenURL?: string;
1099
+ userInfoURL?: string;
1100
+ prompt?: ProjectOAuth2OidcPrompt[];
1101
+ maxAge?: number;
1102
+ enabled?: boolean;
1103
+ }): Promise<Models.OAuth2Oidc>;
1104
+ /**
1105
+ * Update the project OAuth2 Oidc configuration.
1106
+ *
1107
+ * @param {string} clientId - 'Client ID' of Oidc OAuth2 app. For example: qibI2x0000000000000000000000000006L2YFoG
1108
+ * @param {string} clientSecret - 'Client Secret' of Oidc OAuth2 app. For example: Ah68ed000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003qpcHV
1109
+ * @param {string} wellKnownURL - OpenID Connect well-known configuration URL. When provided, authorization, token, and user info endpoints can be discovered automatically. For example: https://myoauth.com/.well-known/openid-configuration
1110
+ * @param {string} authorizationURL - OpenID Connect authorization endpoint URL. Required when wellKnownURL is not provided. For example: https://myoauth.com/oauth2/authorize
1111
+ * @param {string} tokenURL - OpenID Connect token endpoint URL. Required when wellKnownURL is not provided. For example: https://myoauth.com/oauth2/token
1112
+ * @param {string} userInfoURL - OpenID Connect user info endpoint URL. Required when wellKnownURL is not provided. For example: https://myoauth.com/oauth2/userinfo
1113
+ * @param {ProjectOAuth2OidcPrompt[]} prompt - Array of OpenID Connect prompt values controlling the authentication and consent screens. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. "select_account" means: prompt the user to select an account.
1114
+ * @param {number} maxAge - Maximum authentication age in seconds. When set, the user must have authenticated within this many seconds, otherwise they are prompted to re-authenticate.
1115
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1116
+ * @throws {OwbaseException}
1117
+ * @returns {Promise<Models.OAuth2Oidc>}
1118
+ * @deprecated Use the object parameter style method for a better developer experience.
1119
+ */
1120
+ updateOAuth2Oidc(clientId?: string, clientSecret?: string, wellKnownURL?: string, authorizationURL?: string, tokenURL?: string, userInfoURL?: string, prompt?: ProjectOAuth2OidcPrompt[], maxAge?: number, enabled?: boolean): Promise<Models.OAuth2Oidc>;
1121
+ /**
1122
+ * Update the project OAuth2 Okta configuration.
1123
+ *
1124
+ * @param {string} params.clientId - 'Client ID' of Okta OAuth2 app. For example: 0oa00000000000000698
1125
+ * @param {string} params.clientSecret - 'Client Secret' of Okta OAuth2 app. For example: Kiq0000000000000000000000000000000000000-00000000000H2L5-3SJ-vRV
1126
+ * @param {string} params.domain - Okta company domain. Required when enabling the provider. For example: trial-6400025.okta.com. Example of wrong value: trial-6400025-admin.okta.com, or https://trial-6400025.okta.com/
1127
+ * @param {string} params.authorizationServerId - Custom Authorization Servers. Optional, can be left empty or unconfigured. For example: aus000000000000000h7z
1128
+ * @param {ProjectOAuth2OktaPrompt[]} params.prompt - Array of Okta OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Okta default.
1129
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1130
+ * @throws {OwbaseException}
1131
+ * @returns {Promise<Models.OAuth2Okta>}
1132
+ */
1133
+ updateOAuth2Okta(params?: {
1134
+ clientId?: string;
1135
+ clientSecret?: string;
1136
+ domain?: string;
1137
+ authorizationServerId?: string;
1138
+ prompt?: ProjectOAuth2OktaPrompt[];
1139
+ enabled?: boolean;
1140
+ }): Promise<Models.OAuth2Okta>;
1141
+ /**
1142
+ * Update the project OAuth2 Okta configuration.
1143
+ *
1144
+ * @param {string} clientId - 'Client ID' of Okta OAuth2 app. For example: 0oa00000000000000698
1145
+ * @param {string} clientSecret - 'Client Secret' of Okta OAuth2 app. For example: Kiq0000000000000000000000000000000000000-00000000000H2L5-3SJ-vRV
1146
+ * @param {string} domain - Okta company domain. Required when enabling the provider. For example: trial-6400025.okta.com. Example of wrong value: trial-6400025-admin.okta.com, or https://trial-6400025.okta.com/
1147
+ * @param {string} authorizationServerId - Custom Authorization Servers. Optional, can be left empty or unconfigured. For example: aus000000000000000h7z
1148
+ * @param {ProjectOAuth2OktaPrompt[]} prompt - Array of Okta OAuth2 prompt values. If "none" is included, it must be the only element. "none" means: don't display any authentication or consent screens. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Okta default.
1149
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1150
+ * @throws {OwbaseException}
1151
+ * @returns {Promise<Models.OAuth2Okta>}
1152
+ * @deprecated Use the object parameter style method for a better developer experience.
1153
+ */
1154
+ updateOAuth2Okta(clientId?: string, clientSecret?: string, domain?: string, authorizationServerId?: string, prompt?: ProjectOAuth2OktaPrompt[], enabled?: boolean): Promise<Models.OAuth2Okta>;
1155
+ /**
1156
+ * Update the project OAuth2 Paypal configuration.
1157
+ *
1158
+ * @param {string} params.clientId - 'Client ID' of Paypal OAuth2 app. For example: AdhIEG7-000000000000-0000000000000000000000000000000-0000000000000000000000-2pyB
1159
+ * @param {string} params.secretKey - 'Secret Key 1 or Secret Key 2' of Paypal OAuth2 app. For example: EH8KCXtew--000000000000000000000000000000000000000_C-1_5UP_000000000000000CB7KDp
1160
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1161
+ * @throws {OwbaseException}
1162
+ * @returns {Promise<Models.OAuth2Paypal>}
1163
+ */
1164
+ updateOAuth2Paypal(params?: {
1165
+ clientId?: string;
1166
+ secretKey?: string;
1167
+ enabled?: boolean;
1168
+ }): Promise<Models.OAuth2Paypal>;
1169
+ /**
1170
+ * Update the project OAuth2 Paypal configuration.
1171
+ *
1172
+ * @param {string} clientId - 'Client ID' of Paypal OAuth2 app. For example: AdhIEG7-000000000000-0000000000000000000000000000000-0000000000000000000000-2pyB
1173
+ * @param {string} secretKey - 'Secret Key 1 or Secret Key 2' of Paypal OAuth2 app. For example: EH8KCXtew--000000000000000000000000000000000000000_C-1_5UP_000000000000000CB7KDp
1174
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1175
+ * @throws {OwbaseException}
1176
+ * @returns {Promise<Models.OAuth2Paypal>}
1177
+ * @deprecated Use the object parameter style method for a better developer experience.
1178
+ */
1179
+ updateOAuth2Paypal(clientId?: string, secretKey?: string, enabled?: boolean): Promise<Models.OAuth2Paypal>;
1180
+ /**
1181
+ * Update the project OAuth2 PaypalSandbox configuration.
1182
+ *
1183
+ * @param {string} params.clientId - 'Client ID' of PaypalSandbox OAuth2 app. For example: AdhIEG7-000000000000-0000000000000000000000000000000-0000000000000000000000-2pyB
1184
+ * @param {string} params.secretKey - 'Secret Key 1 or Secret Key 2' of PaypalSandbox OAuth2 app. For example: EH8KCXtew--000000000000000000000000000000000000000_C-1_5UP_000000000000000CB7KDp
1185
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1186
+ * @throws {OwbaseException}
1187
+ * @returns {Promise<Models.OAuth2Paypal>}
1188
+ */
1189
+ updateOAuth2PaypalSandbox(params?: {
1190
+ clientId?: string;
1191
+ secretKey?: string;
1192
+ enabled?: boolean;
1193
+ }): Promise<Models.OAuth2Paypal>;
1194
+ /**
1195
+ * Update the project OAuth2 PaypalSandbox configuration.
1196
+ *
1197
+ * @param {string} clientId - 'Client ID' of PaypalSandbox OAuth2 app. For example: AdhIEG7-000000000000-0000000000000000000000000000000-0000000000000000000000-2pyB
1198
+ * @param {string} secretKey - 'Secret Key 1 or Secret Key 2' of PaypalSandbox OAuth2 app. For example: EH8KCXtew--000000000000000000000000000000000000000_C-1_5UP_000000000000000CB7KDp
1199
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1200
+ * @throws {OwbaseException}
1201
+ * @returns {Promise<Models.OAuth2Paypal>}
1202
+ * @deprecated Use the object parameter style method for a better developer experience.
1203
+ */
1204
+ updateOAuth2PaypalSandbox(clientId?: string, secretKey?: string, enabled?: boolean): Promise<Models.OAuth2Paypal>;
1205
+ /**
1206
+ * Update the project OAuth2 Podio configuration.
1207
+ *
1208
+ * @param {string} params.clientId - 'Client ID' of Podio OAuth2 app. For example: owbase-o0000000st-app
1209
+ * @param {string} params.clientSecret - 'Client Secret' of Podio OAuth2 app. For example: Rn247T0000000000000000000000000000000000000000000000000000W2zWTN
1210
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1211
+ * @throws {OwbaseException}
1212
+ * @returns {Promise<Models.OAuth2Podio>}
1213
+ */
1214
+ updateOAuth2Podio(params?: {
1215
+ clientId?: string;
1216
+ clientSecret?: string;
1217
+ enabled?: boolean;
1218
+ }): Promise<Models.OAuth2Podio>;
1219
+ /**
1220
+ * Update the project OAuth2 Podio configuration.
1221
+ *
1222
+ * @param {string} clientId - 'Client ID' of Podio OAuth2 app. For example: owbase-o0000000st-app
1223
+ * @param {string} clientSecret - 'Client Secret' of Podio OAuth2 app. For example: Rn247T0000000000000000000000000000000000000000000000000000W2zWTN
1224
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1225
+ * @throws {OwbaseException}
1226
+ * @returns {Promise<Models.OAuth2Podio>}
1227
+ * @deprecated Use the object parameter style method for a better developer experience.
1228
+ */
1229
+ updateOAuth2Podio(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Podio>;
1230
+ /**
1231
+ * Update the project OAuth2 Resend configuration.
1232
+ *
1233
+ * @param {string} params.clientId - 'Client ID' of Resend OAuth2 app. For example: f47ac10b-58cc-4372-a567-0e02b2c3d479
1234
+ * @param {string} params.clientSecret - 'Client Secret' of Resend OAuth2 app. For example: 9c1e4b00000000000000000000000000000000000000000000000000a72d5f4
1235
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1236
+ * @throws {OwbaseException}
1237
+ * @returns {Promise<Models.OAuth2Resend>}
1238
+ */
1239
+ updateOAuth2Resend(params?: {
1240
+ clientId?: string;
1241
+ clientSecret?: string;
1242
+ enabled?: boolean;
1243
+ }): Promise<Models.OAuth2Resend>;
1244
+ /**
1245
+ * Update the project OAuth2 Resend configuration.
1246
+ *
1247
+ * @param {string} clientId - 'Client ID' of Resend OAuth2 app. For example: f47ac10b-58cc-4372-a567-0e02b2c3d479
1248
+ * @param {string} clientSecret - 'Client Secret' of Resend OAuth2 app. For example: 9c1e4b00000000000000000000000000000000000000000000000000a72d5f4
1249
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1250
+ * @throws {OwbaseException}
1251
+ * @returns {Promise<Models.OAuth2Resend>}
1252
+ * @deprecated Use the object parameter style method for a better developer experience.
1253
+ */
1254
+ updateOAuth2Resend(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Resend>;
1255
+ /**
1256
+ * Update the project OAuth2 Salesforce configuration.
1257
+ *
1258
+ * @param {string} params.customerKey - 'Consumer Key' of Salesforce OAuth2 app. For example: 3MVG9I0000000000000000000000000000000000000000000000000000000000000000000000000C5Aejq
1259
+ * @param {string} params.customerSecret - 'Consumer Secret' of Salesforce OAuth2 app. For example: 3w000000000000e2
1260
+ * @param {ProjectOAuth2SalesforcePrompt[]} params.prompt - Array of Salesforce OAuth2 prompt values. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Salesforce default.
1261
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1262
+ * @throws {OwbaseException}
1263
+ * @returns {Promise<Models.OAuth2Salesforce>}
1264
+ */
1265
+ updateOAuth2Salesforce(params?: {
1266
+ customerKey?: string;
1267
+ customerSecret?: string;
1268
+ prompt?: ProjectOAuth2SalesforcePrompt[];
1269
+ enabled?: boolean;
1270
+ }): Promise<Models.OAuth2Salesforce>;
1271
+ /**
1272
+ * Update the project OAuth2 Salesforce configuration.
1273
+ *
1274
+ * @param {string} customerKey - 'Consumer Key' of Salesforce OAuth2 app. For example: 3MVG9I0000000000000000000000000000000000000000000000000000000000000000000000000C5Aejq
1275
+ * @param {string} customerSecret - 'Consumer Secret' of Salesforce OAuth2 app. For example: 3w000000000000e2
1276
+ * @param {ProjectOAuth2SalesforcePrompt[]} prompt - Array of Salesforce OAuth2 prompt values. "login" means: prompt the user to re-authenticate. "consent" means: prompt the user for consent. Pass an empty array to use the Salesforce default.
1277
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1278
+ * @throws {OwbaseException}
1279
+ * @returns {Promise<Models.OAuth2Salesforce>}
1280
+ * @deprecated Use the object parameter style method for a better developer experience.
1281
+ */
1282
+ updateOAuth2Salesforce(customerKey?: string, customerSecret?: string, prompt?: ProjectOAuth2SalesforcePrompt[], enabled?: boolean): Promise<Models.OAuth2Salesforce>;
1283
+ /**
1284
+ * Update the project OAuth2 Slack configuration.
1285
+ *
1286
+ * @param {string} params.clientId - 'Client ID' of Slack OAuth2 app. For example: 23000000089.15000000000023
1287
+ * @param {string} params.clientSecret - 'Client Secret' of Slack OAuth2 app. For example: 81656000000000000000000000f3d2fd
1288
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1289
+ * @throws {OwbaseException}
1290
+ * @returns {Promise<Models.OAuth2Slack>}
1291
+ */
1292
+ updateOAuth2Slack(params?: {
1293
+ clientId?: string;
1294
+ clientSecret?: string;
1295
+ enabled?: boolean;
1296
+ }): Promise<Models.OAuth2Slack>;
1297
+ /**
1298
+ * Update the project OAuth2 Slack configuration.
1299
+ *
1300
+ * @param {string} clientId - 'Client ID' of Slack OAuth2 app. For example: 23000000089.15000000000023
1301
+ * @param {string} clientSecret - 'Client Secret' of Slack OAuth2 app. For example: 81656000000000000000000000f3d2fd
1302
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1303
+ * @throws {OwbaseException}
1304
+ * @returns {Promise<Models.OAuth2Slack>}
1305
+ * @deprecated Use the object parameter style method for a better developer experience.
1306
+ */
1307
+ updateOAuth2Slack(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Slack>;
1308
+ /**
1309
+ * Update the project OAuth2 Spotify configuration.
1310
+ *
1311
+ * @param {string} params.clientId - 'Client ID' of Spotify OAuth2 app. For example: 6ec271000000000000000000009beace
1312
+ * @param {string} params.clientSecret - 'Client Secret' of Spotify OAuth2 app. For example: db068a000000000000000000008b5b9f
1313
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1314
+ * @throws {OwbaseException}
1315
+ * @returns {Promise<Models.OAuth2Spotify>}
1316
+ */
1317
+ updateOAuth2Spotify(params?: {
1318
+ clientId?: string;
1319
+ clientSecret?: string;
1320
+ enabled?: boolean;
1321
+ }): Promise<Models.OAuth2Spotify>;
1322
+ /**
1323
+ * Update the project OAuth2 Spotify configuration.
1324
+ *
1325
+ * @param {string} clientId - 'Client ID' of Spotify OAuth2 app. For example: 6ec271000000000000000000009beace
1326
+ * @param {string} clientSecret - 'Client Secret' of Spotify OAuth2 app. For example: db068a000000000000000000008b5b9f
1327
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1328
+ * @throws {OwbaseException}
1329
+ * @returns {Promise<Models.OAuth2Spotify>}
1330
+ * @deprecated Use the object parameter style method for a better developer experience.
1331
+ */
1332
+ updateOAuth2Spotify(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Spotify>;
1333
+ /**
1334
+ * Update the project OAuth2 Stripe configuration.
1335
+ *
1336
+ * @param {string} params.clientId - 'Client ID' of Stripe OAuth2 app. For example: ca_UKibXX0000000000000000000006byvR
1337
+ * @param {string} params.apiSecretKey - 'API Secret Key' of Stripe OAuth2 app. For example: sk_51SfOd000000000000000000000000000000000000000000000000000000000000000000000000000000000000000QGWYfp
1338
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1339
+ * @throws {OwbaseException}
1340
+ * @returns {Promise<Models.OAuth2Stripe>}
1341
+ */
1342
+ updateOAuth2Stripe(params?: {
1343
+ clientId?: string;
1344
+ apiSecretKey?: string;
1345
+ enabled?: boolean;
1346
+ }): Promise<Models.OAuth2Stripe>;
1347
+ /**
1348
+ * Update the project OAuth2 Stripe configuration.
1349
+ *
1350
+ * @param {string} clientId - 'Client ID' of Stripe OAuth2 app. For example: ca_UKibXX0000000000000000000006byvR
1351
+ * @param {string} apiSecretKey - 'API Secret Key' of Stripe OAuth2 app. For example: sk_51SfOd000000000000000000000000000000000000000000000000000000000000000000000000000000000000000QGWYfp
1352
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1353
+ * @throws {OwbaseException}
1354
+ * @returns {Promise<Models.OAuth2Stripe>}
1355
+ * @deprecated Use the object parameter style method for a better developer experience.
1356
+ */
1357
+ updateOAuth2Stripe(clientId?: string, apiSecretKey?: string, enabled?: boolean): Promise<Models.OAuth2Stripe>;
1358
+ /**
1359
+ * Update the project OAuth2 TikTok configuration.
1360
+ *
1361
+ * @param {string} params.clientId - 'Client key' of TikTok OAuth2 app. For example: awz000000000tyw0
1362
+ * @param {string} params.clientSecret - 'Client secret' of TikTok OAuth2 app. For example: 6wXewM00000000000000000000yXnite
1363
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1364
+ * @throws {OwbaseException}
1365
+ * @returns {Promise<Models.OAuth2TikTok>}
1366
+ */
1367
+ updateOAuth2TikTok(params?: {
1368
+ clientId?: string;
1369
+ clientSecret?: string;
1370
+ enabled?: boolean;
1371
+ }): Promise<Models.OAuth2TikTok>;
1372
+ /**
1373
+ * Update the project OAuth2 TikTok configuration.
1374
+ *
1375
+ * @param {string} clientId - 'Client key' of TikTok OAuth2 app. For example: awz000000000tyw0
1376
+ * @param {string} clientSecret - 'Client secret' of TikTok OAuth2 app. For example: 6wXewM00000000000000000000yXnite
1377
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1378
+ * @throws {OwbaseException}
1379
+ * @returns {Promise<Models.OAuth2TikTok>}
1380
+ * @deprecated Use the object parameter style method for a better developer experience.
1381
+ */
1382
+ updateOAuth2TikTok(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2TikTok>;
1383
+ /**
1384
+ * Update the project OAuth2 Tradeshift configuration.
1385
+ *
1386
+ * @param {string} params.oauth2ClientId - 'OAuth2 Client ID' of Tradeshift OAuth2 app. For example: owbase-tes00000.0000000000est-app
1387
+ * @param {string} params.oauth2ClientSecret - 'OAuth2 Client Secret' of Tradeshift OAuth2 app. For example: 7cb52700-0000-0000-0000-000000ca5b83
1388
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1389
+ * @throws {OwbaseException}
1390
+ * @returns {Promise<Models.OAuth2Tradeshift>}
1391
+ */
1392
+ updateOAuth2Tradeshift(params?: {
1393
+ oauth2ClientId?: string;
1394
+ oauth2ClientSecret?: string;
1395
+ enabled?: boolean;
1396
+ }): Promise<Models.OAuth2Tradeshift>;
1397
+ /**
1398
+ * Update the project OAuth2 Tradeshift configuration.
1399
+ *
1400
+ * @param {string} oauth2ClientId - 'OAuth2 Client ID' of Tradeshift OAuth2 app. For example: owbase-tes00000.0000000000est-app
1401
+ * @param {string} oauth2ClientSecret - 'OAuth2 Client Secret' of Tradeshift OAuth2 app. For example: 7cb52700-0000-0000-0000-000000ca5b83
1402
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1403
+ * @throws {OwbaseException}
1404
+ * @returns {Promise<Models.OAuth2Tradeshift>}
1405
+ * @deprecated Use the object parameter style method for a better developer experience.
1406
+ */
1407
+ updateOAuth2Tradeshift(oauth2ClientId?: string, oauth2ClientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Tradeshift>;
1408
+ /**
1409
+ * Update the project OAuth2 Tradeshift Sandbox configuration.
1410
+ *
1411
+ * @param {string} params.oauth2ClientId - 'OAuth2 Client ID' of Tradeshift Sandbox OAuth2 app. For example: owbase-tes00000.0000000000est-app
1412
+ * @param {string} params.oauth2ClientSecret - 'OAuth2 Client Secret' of Tradeshift Sandbox OAuth2 app. For example: 7cb52700-0000-0000-0000-000000ca5b83
1413
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1414
+ * @throws {OwbaseException}
1415
+ * @returns {Promise<Models.OAuth2Tradeshift>}
1416
+ */
1417
+ updateOAuth2TradeshiftSandbox(params?: {
1418
+ oauth2ClientId?: string;
1419
+ oauth2ClientSecret?: string;
1420
+ enabled?: boolean;
1421
+ }): Promise<Models.OAuth2Tradeshift>;
1422
+ /**
1423
+ * Update the project OAuth2 Tradeshift Sandbox configuration.
1424
+ *
1425
+ * @param {string} oauth2ClientId - 'OAuth2 Client ID' of Tradeshift Sandbox OAuth2 app. For example: owbase-tes00000.0000000000est-app
1426
+ * @param {string} oauth2ClientSecret - 'OAuth2 Client Secret' of Tradeshift Sandbox OAuth2 app. For example: 7cb52700-0000-0000-0000-000000ca5b83
1427
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1428
+ * @throws {OwbaseException}
1429
+ * @returns {Promise<Models.OAuth2Tradeshift>}
1430
+ * @deprecated Use the object parameter style method for a better developer experience.
1431
+ */
1432
+ updateOAuth2TradeshiftSandbox(oauth2ClientId?: string, oauth2ClientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Tradeshift>;
1433
+ /**
1434
+ * Update the project OAuth2 Twitch configuration.
1435
+ *
1436
+ * @param {string} params.clientId - 'Client ID' of Twitch OAuth2 app. For example: vvi0in000000000000000000ikmt9p
1437
+ * @param {string} params.clientSecret - 'Client Secret' of Twitch OAuth2 app. For example: pmapue000000000000000000zylw3v
1438
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1439
+ * @throws {OwbaseException}
1440
+ * @returns {Promise<Models.OAuth2Twitch>}
1441
+ */
1442
+ updateOAuth2Twitch(params?: {
1443
+ clientId?: string;
1444
+ clientSecret?: string;
1445
+ enabled?: boolean;
1446
+ }): Promise<Models.OAuth2Twitch>;
1447
+ /**
1448
+ * Update the project OAuth2 Twitch configuration.
1449
+ *
1450
+ * @param {string} clientId - 'Client ID' of Twitch OAuth2 app. For example: vvi0in000000000000000000ikmt9p
1451
+ * @param {string} clientSecret - 'Client Secret' of Twitch OAuth2 app. For example: pmapue000000000000000000zylw3v
1452
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1453
+ * @throws {OwbaseException}
1454
+ * @returns {Promise<Models.OAuth2Twitch>}
1455
+ * @deprecated Use the object parameter style method for a better developer experience.
1456
+ */
1457
+ updateOAuth2Twitch(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Twitch>;
1458
+ /**
1459
+ * Update the project OAuth2 Webflow configuration.
1460
+ *
1461
+ * @param {string} params.clientId - 'Client ID' of Webflow OAuth2 app. For example: 8bb20000000000000000000000000000000000000000000000000000000040dd
1462
+ * @param {string} params.clientSecret - 'Client Secret' of Webflow OAuth2 app. For example: 59bf00000000000000000000000000000000000000000000000000000000fe59
1463
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1464
+ * @throws {OwbaseException}
1465
+ * @returns {Promise<Models.OAuth2Webflow>}
1466
+ */
1467
+ updateOAuth2Webflow(params?: {
1468
+ clientId?: string;
1469
+ clientSecret?: string;
1470
+ enabled?: boolean;
1471
+ }): Promise<Models.OAuth2Webflow>;
1472
+ /**
1473
+ * Update the project OAuth2 Webflow configuration.
1474
+ *
1475
+ * @param {string} clientId - 'Client ID' of Webflow OAuth2 app. For example: 8bb20000000000000000000000000000000000000000000000000000000040dd
1476
+ * @param {string} clientSecret - 'Client Secret' of Webflow OAuth2 app. For example: 59bf00000000000000000000000000000000000000000000000000000000fe59
1477
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1478
+ * @throws {OwbaseException}
1479
+ * @returns {Promise<Models.OAuth2Webflow>}
1480
+ * @deprecated Use the object parameter style method for a better developer experience.
1481
+ */
1482
+ updateOAuth2Webflow(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Webflow>;
1483
+ /**
1484
+ * Update the project OAuth2 WordPress configuration.
1485
+ *
1486
+ * @param {string} params.clientId - 'Client ID' of WordPress OAuth2 app. For example: 130005
1487
+ * @param {string} params.clientSecret - 'Client Secret' of WordPress OAuth2 app. For example: PlBfJS0000000000000000000000000000000000000000000000000000EdUZJk
1488
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1489
+ * @throws {OwbaseException}
1490
+ * @returns {Promise<Models.OAuth2WordPress>}
1491
+ */
1492
+ updateOAuth2WordPress(params?: {
1493
+ clientId?: string;
1494
+ clientSecret?: string;
1495
+ enabled?: boolean;
1496
+ }): Promise<Models.OAuth2WordPress>;
1497
+ /**
1498
+ * Update the project OAuth2 WordPress configuration.
1499
+ *
1500
+ * @param {string} clientId - 'Client ID' of WordPress OAuth2 app. For example: 130005
1501
+ * @param {string} clientSecret - 'Client Secret' of WordPress OAuth2 app. For example: PlBfJS0000000000000000000000000000000000000000000000000000EdUZJk
1502
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1503
+ * @throws {OwbaseException}
1504
+ * @returns {Promise<Models.OAuth2WordPress>}
1505
+ * @deprecated Use the object parameter style method for a better developer experience.
1506
+ */
1507
+ updateOAuth2WordPress(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2WordPress>;
1508
+ /**
1509
+ * Update the project OAuth2 X configuration.
1510
+ *
1511
+ * @param {string} params.customerKey - 'Customer Key' of X OAuth2 app. For example: slzZV0000000000000NFLaWT
1512
+ * @param {string} params.secretKey - 'Secret Key' of X OAuth2 app. For example: tkEPkp00000000000000000000000000000000000000FTxbI9
1513
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1514
+ * @throws {OwbaseException}
1515
+ * @returns {Promise<Models.OAuth2X>}
1516
+ */
1517
+ updateOAuth2X(params?: {
1518
+ customerKey?: string;
1519
+ secretKey?: string;
1520
+ enabled?: boolean;
1521
+ }): Promise<Models.OAuth2X>;
1522
+ /**
1523
+ * Update the project OAuth2 X configuration.
1524
+ *
1525
+ * @param {string} customerKey - 'Customer Key' of X OAuth2 app. For example: slzZV0000000000000NFLaWT
1526
+ * @param {string} secretKey - 'Secret Key' of X OAuth2 app. For example: tkEPkp00000000000000000000000000000000000000FTxbI9
1527
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1528
+ * @throws {OwbaseException}
1529
+ * @returns {Promise<Models.OAuth2X>}
1530
+ * @deprecated Use the object parameter style method for a better developer experience.
1531
+ */
1532
+ updateOAuth2X(customerKey?: string, secretKey?: string, enabled?: boolean): Promise<Models.OAuth2X>;
1533
+ /**
1534
+ * Update the project OAuth2 Yahoo configuration.
1535
+ *
1536
+ * @param {string} params.clientId - 'Client ID, also known as Customer Key' of Yahoo OAuth2 app. For example: dj0yJm000000000000000000000000000000000000000000000000000000000000000000000000000000000000Z4PWRm
1537
+ * @param {string} params.clientSecret - 'Client Secret, also known as Customer Secret' of Yahoo OAuth2 app. For example: cf978f0000000000000000000000000000c5e2e9
1538
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1539
+ * @throws {OwbaseException}
1540
+ * @returns {Promise<Models.OAuth2Yahoo>}
1541
+ */
1542
+ updateOAuth2Yahoo(params?: {
1543
+ clientId?: string;
1544
+ clientSecret?: string;
1545
+ enabled?: boolean;
1546
+ }): Promise<Models.OAuth2Yahoo>;
1547
+ /**
1548
+ * Update the project OAuth2 Yahoo configuration.
1549
+ *
1550
+ * @param {string} clientId - 'Client ID, also known as Customer Key' of Yahoo OAuth2 app. For example: dj0yJm000000000000000000000000000000000000000000000000000000000000000000000000000000000000Z4PWRm
1551
+ * @param {string} clientSecret - 'Client Secret, also known as Customer Secret' of Yahoo OAuth2 app. For example: cf978f0000000000000000000000000000c5e2e9
1552
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1553
+ * @throws {OwbaseException}
1554
+ * @returns {Promise<Models.OAuth2Yahoo>}
1555
+ * @deprecated Use the object parameter style method for a better developer experience.
1556
+ */
1557
+ updateOAuth2Yahoo(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Yahoo>;
1558
+ /**
1559
+ * Update the project OAuth2 Yandex configuration.
1560
+ *
1561
+ * @param {string} params.clientId - 'Client ID' of Yandex OAuth2 app. For example: 6a8a6a0000000000000000000091483c
1562
+ * @param {string} params.clientSecret - 'Client Secret' of Yandex OAuth2 app. For example: bbf98500000000000000000000c75a63
1563
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1564
+ * @throws {OwbaseException}
1565
+ * @returns {Promise<Models.OAuth2Yandex>}
1566
+ */
1567
+ updateOAuth2Yandex(params?: {
1568
+ clientId?: string;
1569
+ clientSecret?: string;
1570
+ enabled?: boolean;
1571
+ }): Promise<Models.OAuth2Yandex>;
1572
+ /**
1573
+ * Update the project OAuth2 Yandex configuration.
1574
+ *
1575
+ * @param {string} clientId - 'Client ID' of Yandex OAuth2 app. For example: 6a8a6a0000000000000000000091483c
1576
+ * @param {string} clientSecret - 'Client Secret' of Yandex OAuth2 app. For example: bbf98500000000000000000000c75a63
1577
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1578
+ * @throws {OwbaseException}
1579
+ * @returns {Promise<Models.OAuth2Yandex>}
1580
+ * @deprecated Use the object parameter style method for a better developer experience.
1581
+ */
1582
+ updateOAuth2Yandex(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Yandex>;
1583
+ /**
1584
+ * Update the project OAuth2 Zoho configuration.
1585
+ *
1586
+ * @param {string} params.clientId - 'Client ID' of Zoho OAuth2 app. For example: 1000.83C178000000000000000000RPNX0B
1587
+ * @param {string} params.clientSecret - 'Client Secret' of Zoho OAuth2 app. For example: fb5cac000000000000000000000000000000a68f6e
1588
+ * @param {ProjectOAuth2ZohoPrompt[]} params.prompt - Array of Zoho OAuth2 prompt values. "consent" means: prompt the user for consent. Pass an empty array to use the Zoho default.
1589
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1590
+ * @throws {OwbaseException}
1591
+ * @returns {Promise<Models.OAuth2Zoho>}
1592
+ */
1593
+ updateOAuth2Zoho(params?: {
1594
+ clientId?: string;
1595
+ clientSecret?: string;
1596
+ prompt?: ProjectOAuth2ZohoPrompt[];
1597
+ enabled?: boolean;
1598
+ }): Promise<Models.OAuth2Zoho>;
1599
+ /**
1600
+ * Update the project OAuth2 Zoho configuration.
1601
+ *
1602
+ * @param {string} clientId - 'Client ID' of Zoho OAuth2 app. For example: 1000.83C178000000000000000000RPNX0B
1603
+ * @param {string} clientSecret - 'Client Secret' of Zoho OAuth2 app. For example: fb5cac000000000000000000000000000000a68f6e
1604
+ * @param {ProjectOAuth2ZohoPrompt[]} prompt - Array of Zoho OAuth2 prompt values. "consent" means: prompt the user for consent. Pass an empty array to use the Zoho default.
1605
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1606
+ * @throws {OwbaseException}
1607
+ * @returns {Promise<Models.OAuth2Zoho>}
1608
+ * @deprecated Use the object parameter style method for a better developer experience.
1609
+ */
1610
+ updateOAuth2Zoho(clientId?: string, clientSecret?: string, prompt?: ProjectOAuth2ZohoPrompt[], enabled?: boolean): Promise<Models.OAuth2Zoho>;
1611
+ /**
1612
+ * Update the project OAuth2 Zoom configuration.
1613
+ *
1614
+ * @param {string} params.clientId - 'Client ID' of Zoom OAuth2 app. For example: QMAC00000000000000w0AQ
1615
+ * @param {string} params.clientSecret - 'Client Secret' of Zoom OAuth2 app. For example: GAWsG4000000000000000000007U01ON
1616
+ * @param {boolean} params.enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1617
+ * @throws {OwbaseException}
1618
+ * @returns {Promise<Models.OAuth2Zoom>}
1619
+ */
1620
+ updateOAuth2Zoom(params?: {
1621
+ clientId?: string;
1622
+ clientSecret?: string;
1623
+ enabled?: boolean;
1624
+ }): Promise<Models.OAuth2Zoom>;
1625
+ /**
1626
+ * Update the project OAuth2 Zoom configuration.
1627
+ *
1628
+ * @param {string} clientId - 'Client ID' of Zoom OAuth2 app. For example: QMAC00000000000000w0AQ
1629
+ * @param {string} clientSecret - 'Client Secret' of Zoom OAuth2 app. For example: GAWsG4000000000000000000007U01ON
1630
+ * @param {boolean} enabled - OAuth2 sign-in method status. Set to true to enable new session creation. Setting to true will trigger end-to-end credentials validation, and will throw if the credentials are invalid.
1631
+ * @throws {OwbaseException}
1632
+ * @returns {Promise<Models.OAuth2Zoom>}
1633
+ * @deprecated Use the object parameter style method for a better developer experience.
1634
+ */
1635
+ updateOAuth2Zoom(clientId?: string, clientSecret?: string, enabled?: boolean): Promise<Models.OAuth2Zoom>;
1636
+ /**
1637
+ * Get a single OAuth2 provider configuration. Credential fields (client secret, p8 file, key/team IDs) are write-only and always returned empty.
1638
+ *
1639
+ * @param {ProjectOAuthProviderId} params.providerId - OAuth2 provider key. For example: github, google, apple.
1640
+ * @throws {OwbaseException}
1641
+ * @returns {Promise<Models.OAuth2Github | Models.OAuth2Discord | Models.OAuth2Figma | Models.OAuth2Dropbox | Models.OAuth2Dailymotion | Models.OAuth2Bitbucket | Models.OAuth2Bitly | Models.OAuth2Box | Models.OAuth2Autodesk | Models.OAuth2Google | Models.OAuth2Zoom | Models.OAuth2Zoho | Models.OAuth2Yandex | Models.OAuth2X | Models.OAuth2WordPress | Models.OAuth2Webflow | Models.OAuth2Twitch | Models.OAuth2Stripe | Models.OAuth2Spotify | Models.OAuth2Slack | Models.OAuth2Podio | Models.OAuth2Notion | Models.OAuth2Salesforce | Models.OAuth2Yahoo | Models.OAuth2HuggingFace | Models.OAuth2Resend | Models.OAuth2Cloudflare | Models.OAuth2Linkedin | Models.OAuth2Disqus | Models.OAuth2Amazon | Models.OAuth2Etsy | Models.OAuth2Facebook | Models.OAuth2Tradeshift | Models.OAuth2Paypal | Models.OAuth2Gitlab | Models.OAuth2Authentik | Models.OAuth2Auth0 | Models.OAuth2FusionAuth | Models.OAuth2Keycloak | Models.OAuth2Oidc | Models.OAuth2Apple | Models.OAuth2Okta | Models.OAuth2Kick | Models.OAuth2Microsoft | Models.OAuth2TikTok | Models.OAuth2Kakao>}
1642
+ */
1643
+ getOAuth2Provider(params: {
1644
+ providerId: ProjectOAuthProviderId;
1645
+ }): Promise<Models.OAuth2Github | Models.OAuth2Discord | Models.OAuth2Figma | Models.OAuth2Dropbox | Models.OAuth2Dailymotion | Models.OAuth2Bitbucket | Models.OAuth2Bitly | Models.OAuth2Box | Models.OAuth2Autodesk | Models.OAuth2Google | Models.OAuth2Zoom | Models.OAuth2Zoho | Models.OAuth2Yandex | Models.OAuth2X | Models.OAuth2WordPress | Models.OAuth2Webflow | Models.OAuth2Twitch | Models.OAuth2Stripe | Models.OAuth2Spotify | Models.OAuth2Slack | Models.OAuth2Podio | Models.OAuth2Notion | Models.OAuth2Salesforce | Models.OAuth2Yahoo | Models.OAuth2HuggingFace | Models.OAuth2Resend | Models.OAuth2Cloudflare | Models.OAuth2Linkedin | Models.OAuth2Disqus | Models.OAuth2Amazon | Models.OAuth2Etsy | Models.OAuth2Facebook | Models.OAuth2Tradeshift | Models.OAuth2Paypal | Models.OAuth2Gitlab | Models.OAuth2Authentik | Models.OAuth2Auth0 | Models.OAuth2FusionAuth | Models.OAuth2Keycloak | Models.OAuth2Oidc | Models.OAuth2Apple | Models.OAuth2Okta | Models.OAuth2Kick | Models.OAuth2Microsoft | Models.OAuth2TikTok | Models.OAuth2Kakao>;
1646
+ /**
1647
+ * Get a single OAuth2 provider configuration. Credential fields (client secret, p8 file, key/team IDs) are write-only and always returned empty.
1648
+ *
1649
+ * @param {ProjectOAuthProviderId} providerId - OAuth2 provider key. For example: github, google, apple.
1650
+ * @throws {OwbaseException}
1651
+ * @returns {Promise<Models.OAuth2Github | Models.OAuth2Discord | Models.OAuth2Figma | Models.OAuth2Dropbox | Models.OAuth2Dailymotion | Models.OAuth2Bitbucket | Models.OAuth2Bitly | Models.OAuth2Box | Models.OAuth2Autodesk | Models.OAuth2Google | Models.OAuth2Zoom | Models.OAuth2Zoho | Models.OAuth2Yandex | Models.OAuth2X | Models.OAuth2WordPress | Models.OAuth2Webflow | Models.OAuth2Twitch | Models.OAuth2Stripe | Models.OAuth2Spotify | Models.OAuth2Slack | Models.OAuth2Podio | Models.OAuth2Notion | Models.OAuth2Salesforce | Models.OAuth2Yahoo | Models.OAuth2HuggingFace | Models.OAuth2Resend | Models.OAuth2Cloudflare | Models.OAuth2Linkedin | Models.OAuth2Disqus | Models.OAuth2Amazon | Models.OAuth2Etsy | Models.OAuth2Facebook | Models.OAuth2Tradeshift | Models.OAuth2Paypal | Models.OAuth2Gitlab | Models.OAuth2Authentik | Models.OAuth2Auth0 | Models.OAuth2FusionAuth | Models.OAuth2Keycloak | Models.OAuth2Oidc | Models.OAuth2Apple | Models.OAuth2Okta | Models.OAuth2Kick | Models.OAuth2Microsoft | Models.OAuth2TikTok | Models.OAuth2Kakao>}
1652
+ * @deprecated Use the object parameter style method for a better developer experience.
1653
+ */
1654
+ getOAuth2Provider(providerId: ProjectOAuthProviderId): Promise<Models.OAuth2Github | Models.OAuth2Discord | Models.OAuth2Figma | Models.OAuth2Dropbox | Models.OAuth2Dailymotion | Models.OAuth2Bitbucket | Models.OAuth2Bitly | Models.OAuth2Box | Models.OAuth2Autodesk | Models.OAuth2Google | Models.OAuth2Zoom | Models.OAuth2Zoho | Models.OAuth2Yandex | Models.OAuth2X | Models.OAuth2WordPress | Models.OAuth2Webflow | Models.OAuth2Twitch | Models.OAuth2Stripe | Models.OAuth2Spotify | Models.OAuth2Slack | Models.OAuth2Podio | Models.OAuth2Notion | Models.OAuth2Salesforce | Models.OAuth2Yahoo | Models.OAuth2HuggingFace | Models.OAuth2Resend | Models.OAuth2Cloudflare | Models.OAuth2Linkedin | Models.OAuth2Disqus | Models.OAuth2Amazon | Models.OAuth2Etsy | Models.OAuth2Facebook | Models.OAuth2Tradeshift | Models.OAuth2Paypal | Models.OAuth2Gitlab | Models.OAuth2Authentik | Models.OAuth2Auth0 | Models.OAuth2FusionAuth | Models.OAuth2Keycloak | Models.OAuth2Oidc | Models.OAuth2Apple | Models.OAuth2Okta | Models.OAuth2Kick | Models.OAuth2Microsoft | Models.OAuth2TikTok | Models.OAuth2Kakao>;
1655
+ /**
1656
+ * Get a list of all platforms in the project. This endpoint returns an array of all platforms and their configurations.
1657
+ *
1658
+ * @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, name, hostname, bundleIdentifier, applicationId, packageIdentifierName, packageName
1659
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
1660
+ * @throws {OwbaseException}
1661
+ * @returns {Promise<Models.PlatformList>}
1662
+ */
1663
+ listPlatforms(params?: {
1664
+ queries?: string[];
1665
+ total?: boolean;
1666
+ }): Promise<Models.PlatformList>;
1667
+ /**
1668
+ * Get a list of all platforms in the project. This endpoint returns an array of all platforms and their configurations.
1669
+ *
1670
+ * @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, name, hostname, bundleIdentifier, applicationId, packageIdentifierName, packageName
1671
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
1672
+ * @throws {OwbaseException}
1673
+ * @returns {Promise<Models.PlatformList>}
1674
+ * @deprecated Use the object parameter style method for a better developer experience.
1675
+ */
1676
+ listPlatforms(queries?: string[], total?: boolean): Promise<Models.PlatformList>;
1677
+ /**
1678
+ * Create a new Android platform for your project. Use this endpoint to register a new Android platform where your users will run your application which will interact with the Owbase API.
1679
+ *
1680
+ * @param {string} params.platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1681
+ * @param {string} params.name - Platform name. Max length: 128 chars.
1682
+ * @param {string} params.applicationId - Android application ID. Max length: 256 chars.
1683
+ * @throws {OwbaseException}
1684
+ * @returns {Promise<Models.PlatformAndroid>}
1685
+ */
1686
+ createAndroidPlatform(params: {
1687
+ platformId: string;
1688
+ name: string;
1689
+ applicationId: string;
1690
+ }): Promise<Models.PlatformAndroid>;
1691
+ /**
1692
+ * Create a new Android platform for your project. Use this endpoint to register a new Android platform where your users will run your application which will interact with the Owbase API.
1693
+ *
1694
+ * @param {string} platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1695
+ * @param {string} name - Platform name. Max length: 128 chars.
1696
+ * @param {string} applicationId - Android application ID. Max length: 256 chars.
1697
+ * @throws {OwbaseException}
1698
+ * @returns {Promise<Models.PlatformAndroid>}
1699
+ * @deprecated Use the object parameter style method for a better developer experience.
1700
+ */
1701
+ createAndroidPlatform(platformId: string, name: string, applicationId: string): Promise<Models.PlatformAndroid>;
1702
+ /**
1703
+ * Update an Android platform by its unique ID. Use this endpoint to update the platform's name or application ID.
1704
+ *
1705
+ * @param {string} params.platformId - Platform ID.
1706
+ * @param {string} params.name - Platform name. Max length: 128 chars.
1707
+ * @param {string} params.applicationId - Android application ID. Max length: 256 chars.
1708
+ * @throws {OwbaseException}
1709
+ * @returns {Promise<Models.PlatformAndroid>}
1710
+ */
1711
+ updateAndroidPlatform(params: {
1712
+ platformId: string;
1713
+ name: string;
1714
+ applicationId: string;
1715
+ }): Promise<Models.PlatformAndroid>;
1716
+ /**
1717
+ * Update an Android platform by its unique ID. Use this endpoint to update the platform's name or application ID.
1718
+ *
1719
+ * @param {string} platformId - Platform ID.
1720
+ * @param {string} name - Platform name. Max length: 128 chars.
1721
+ * @param {string} applicationId - Android application ID. Max length: 256 chars.
1722
+ * @throws {OwbaseException}
1723
+ * @returns {Promise<Models.PlatformAndroid>}
1724
+ * @deprecated Use the object parameter style method for a better developer experience.
1725
+ */
1726
+ updateAndroidPlatform(platformId: string, name: string, applicationId: string): Promise<Models.PlatformAndroid>;
1727
+ /**
1728
+ * Create a new Apple platform for your project. Use this endpoint to register a new Apple platform where your users will run your application which will interact with the Owbase API.
1729
+ *
1730
+ * @param {string} params.platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1731
+ * @param {string} params.name - Platform name. Max length: 128 chars.
1732
+ * @param {string} params.bundleIdentifier - Apple bundle identifier. Max length: 256 chars.
1733
+ * @throws {OwbaseException}
1734
+ * @returns {Promise<Models.PlatformApple>}
1735
+ */
1736
+ createApplePlatform(params: {
1737
+ platformId: string;
1738
+ name: string;
1739
+ bundleIdentifier: string;
1740
+ }): Promise<Models.PlatformApple>;
1741
+ /**
1742
+ * Create a new Apple platform for your project. Use this endpoint to register a new Apple platform where your users will run your application which will interact with the Owbase API.
1743
+ *
1744
+ * @param {string} platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1745
+ * @param {string} name - Platform name. Max length: 128 chars.
1746
+ * @param {string} bundleIdentifier - Apple bundle identifier. Max length: 256 chars.
1747
+ * @throws {OwbaseException}
1748
+ * @returns {Promise<Models.PlatformApple>}
1749
+ * @deprecated Use the object parameter style method for a better developer experience.
1750
+ */
1751
+ createApplePlatform(platformId: string, name: string, bundleIdentifier: string): Promise<Models.PlatformApple>;
1752
+ /**
1753
+ * Update an Apple platform by its unique ID. Use this endpoint to update the platform's name or bundle identifier.
1754
+ *
1755
+ * @param {string} params.platformId - Platform ID.
1756
+ * @param {string} params.name - Platform name. Max length: 128 chars.
1757
+ * @param {string} params.bundleIdentifier - Apple bundle identifier. Max length: 256 chars.
1758
+ * @throws {OwbaseException}
1759
+ * @returns {Promise<Models.PlatformApple>}
1760
+ */
1761
+ updateApplePlatform(params: {
1762
+ platformId: string;
1763
+ name: string;
1764
+ bundleIdentifier: string;
1765
+ }): Promise<Models.PlatformApple>;
1766
+ /**
1767
+ * Update an Apple platform by its unique ID. Use this endpoint to update the platform's name or bundle identifier.
1768
+ *
1769
+ * @param {string} platformId - Platform ID.
1770
+ * @param {string} name - Platform name. Max length: 128 chars.
1771
+ * @param {string} bundleIdentifier - Apple bundle identifier. Max length: 256 chars.
1772
+ * @throws {OwbaseException}
1773
+ * @returns {Promise<Models.PlatformApple>}
1774
+ * @deprecated Use the object parameter style method for a better developer experience.
1775
+ */
1776
+ updateApplePlatform(platformId: string, name: string, bundleIdentifier: string): Promise<Models.PlatformApple>;
1777
+ /**
1778
+ * Create a new Linux platform for your project. Use this endpoint to register a new Linux platform where your users will run your application which will interact with the Owbase API.
1779
+ *
1780
+ * @param {string} params.platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1781
+ * @param {string} params.name - Platform name. Max length: 128 chars.
1782
+ * @param {string} params.packageName - Linux package name. Max length: 256 chars.
1783
+ * @throws {OwbaseException}
1784
+ * @returns {Promise<Models.PlatformLinux>}
1785
+ */
1786
+ createLinuxPlatform(params: {
1787
+ platformId: string;
1788
+ name: string;
1789
+ packageName: string;
1790
+ }): Promise<Models.PlatformLinux>;
1791
+ /**
1792
+ * Create a new Linux platform for your project. Use this endpoint to register a new Linux platform where your users will run your application which will interact with the Owbase API.
1793
+ *
1794
+ * @param {string} platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1795
+ * @param {string} name - Platform name. Max length: 128 chars.
1796
+ * @param {string} packageName - Linux package name. Max length: 256 chars.
1797
+ * @throws {OwbaseException}
1798
+ * @returns {Promise<Models.PlatformLinux>}
1799
+ * @deprecated Use the object parameter style method for a better developer experience.
1800
+ */
1801
+ createLinuxPlatform(platformId: string, name: string, packageName: string): Promise<Models.PlatformLinux>;
1802
+ /**
1803
+ * Update a Linux platform by its unique ID. Use this endpoint to update the platform's name or package name.
1804
+ *
1805
+ * @param {string} params.platformId - Platform ID.
1806
+ * @param {string} params.name - Platform name. Max length: 128 chars.
1807
+ * @param {string} params.packageName - Linux package name. Max length: 256 chars.
1808
+ * @throws {OwbaseException}
1809
+ * @returns {Promise<Models.PlatformLinux>}
1810
+ */
1811
+ updateLinuxPlatform(params: {
1812
+ platformId: string;
1813
+ name: string;
1814
+ packageName: string;
1815
+ }): Promise<Models.PlatformLinux>;
1816
+ /**
1817
+ * Update a Linux platform by its unique ID. Use this endpoint to update the platform's name or package name.
1818
+ *
1819
+ * @param {string} platformId - Platform ID.
1820
+ * @param {string} name - Platform name. Max length: 128 chars.
1821
+ * @param {string} packageName - Linux package name. Max length: 256 chars.
1822
+ * @throws {OwbaseException}
1823
+ * @returns {Promise<Models.PlatformLinux>}
1824
+ * @deprecated Use the object parameter style method for a better developer experience.
1825
+ */
1826
+ updateLinuxPlatform(platformId: string, name: string, packageName: string): Promise<Models.PlatformLinux>;
1827
+ /**
1828
+ * Create a new web platform for your project. Use this endpoint to register a new platform where your users will run your application which will interact with the Owbase API.
1829
+ *
1830
+ * @param {string} params.platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1831
+ * @param {string} params.name - Platform name. Max length: 128 chars.
1832
+ * @param {string} params.hostname - Platform web hostname. Max length: 256 chars.
1833
+ * @throws {OwbaseException}
1834
+ * @returns {Promise<Models.PlatformWeb>}
1835
+ */
1836
+ createWebPlatform(params: {
1837
+ platformId: string;
1838
+ name: string;
1839
+ hostname: string;
1840
+ }): Promise<Models.PlatformWeb>;
1841
+ /**
1842
+ * Create a new web platform for your project. Use this endpoint to register a new platform where your users will run your application which will interact with the Owbase API.
1843
+ *
1844
+ * @param {string} platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1845
+ * @param {string} name - Platform name. Max length: 128 chars.
1846
+ * @param {string} hostname - Platform web hostname. Max length: 256 chars.
1847
+ * @throws {OwbaseException}
1848
+ * @returns {Promise<Models.PlatformWeb>}
1849
+ * @deprecated Use the object parameter style method for a better developer experience.
1850
+ */
1851
+ createWebPlatform(platformId: string, name: string, hostname: string): Promise<Models.PlatformWeb>;
1852
+ /**
1853
+ * Update a web platform by its unique ID. Use this endpoint to update the platform's name or hostname.
1854
+ *
1855
+ * @param {string} params.platformId - Platform ID.
1856
+ * @param {string} params.name - Platform name. Max length: 128 chars.
1857
+ * @param {string} params.hostname - Platform web hostname. Max length: 256 chars.
1858
+ * @throws {OwbaseException}
1859
+ * @returns {Promise<Models.PlatformWeb>}
1860
+ */
1861
+ updateWebPlatform(params: {
1862
+ platformId: string;
1863
+ name: string;
1864
+ hostname: string;
1865
+ }): Promise<Models.PlatformWeb>;
1866
+ /**
1867
+ * Update a web platform by its unique ID. Use this endpoint to update the platform's name or hostname.
1868
+ *
1869
+ * @param {string} platformId - Platform ID.
1870
+ * @param {string} name - Platform name. Max length: 128 chars.
1871
+ * @param {string} hostname - Platform web hostname. Max length: 256 chars.
1872
+ * @throws {OwbaseException}
1873
+ * @returns {Promise<Models.PlatformWeb>}
1874
+ * @deprecated Use the object parameter style method for a better developer experience.
1875
+ */
1876
+ updateWebPlatform(platformId: string, name: string, hostname: string): Promise<Models.PlatformWeb>;
1877
+ /**
1878
+ * Create a new Windows platform for your project. Use this endpoint to register a new Windows platform where your users will run your application which will interact with the Owbase API.
1879
+ *
1880
+ * @param {string} params.platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1881
+ * @param {string} params.name - Platform name. Max length: 128 chars.
1882
+ * @param {string} params.packageIdentifierName - Windows package identifier name. Max length: 256 chars.
1883
+ * @throws {OwbaseException}
1884
+ * @returns {Promise<Models.PlatformWindows>}
1885
+ */
1886
+ createWindowsPlatform(params: {
1887
+ platformId: string;
1888
+ name: string;
1889
+ packageIdentifierName: string;
1890
+ }): Promise<Models.PlatformWindows>;
1891
+ /**
1892
+ * Create a new Windows platform for your project. Use this endpoint to register a new Windows platform where your users will run your application which will interact with the Owbase API.
1893
+ *
1894
+ * @param {string} platformId - Platform ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
1895
+ * @param {string} name - Platform name. Max length: 128 chars.
1896
+ * @param {string} packageIdentifierName - Windows package identifier name. Max length: 256 chars.
1897
+ * @throws {OwbaseException}
1898
+ * @returns {Promise<Models.PlatformWindows>}
1899
+ * @deprecated Use the object parameter style method for a better developer experience.
1900
+ */
1901
+ createWindowsPlatform(platformId: string, name: string, packageIdentifierName: string): Promise<Models.PlatformWindows>;
1902
+ /**
1903
+ * Update a Windows platform by its unique ID. Use this endpoint to update the platform's name or package identifier name.
1904
+ *
1905
+ * @param {string} params.platformId - Platform ID.
1906
+ * @param {string} params.name - Platform name. Max length: 128 chars.
1907
+ * @param {string} params.packageIdentifierName - Windows package identifier name. Max length: 256 chars.
1908
+ * @throws {OwbaseException}
1909
+ * @returns {Promise<Models.PlatformWindows>}
1910
+ */
1911
+ updateWindowsPlatform(params: {
1912
+ platformId: string;
1913
+ name: string;
1914
+ packageIdentifierName: string;
1915
+ }): Promise<Models.PlatformWindows>;
1916
+ /**
1917
+ * Update a Windows platform by its unique ID. Use this endpoint to update the platform's name or package identifier name.
1918
+ *
1919
+ * @param {string} platformId - Platform ID.
1920
+ * @param {string} name - Platform name. Max length: 128 chars.
1921
+ * @param {string} packageIdentifierName - Windows package identifier name. Max length: 256 chars.
1922
+ * @throws {OwbaseException}
1923
+ * @returns {Promise<Models.PlatformWindows>}
1924
+ * @deprecated Use the object parameter style method for a better developer experience.
1925
+ */
1926
+ updateWindowsPlatform(platformId: string, name: string, packageIdentifierName: string): Promise<Models.PlatformWindows>;
1927
+ /**
1928
+ * Get a platform by its unique ID. This endpoint returns the platform's details, including its name, type, and key configurations.
1929
+ *
1930
+ * @param {string} params.platformId - Platform ID.
1931
+ * @throws {OwbaseException}
1932
+ * @returns {Promise<Models.PlatformWeb | Models.PlatformApple | Models.PlatformAndroid | Models.PlatformWindows | Models.PlatformLinux>}
1933
+ */
1934
+ getPlatform(params: {
1935
+ platformId: string;
1936
+ }): Promise<Models.PlatformWeb | Models.PlatformApple | Models.PlatformAndroid | Models.PlatformWindows | Models.PlatformLinux>;
1937
+ /**
1938
+ * Get a platform by its unique ID. This endpoint returns the platform's details, including its name, type, and key configurations.
1939
+ *
1940
+ * @param {string} platformId - Platform ID.
1941
+ * @throws {OwbaseException}
1942
+ * @returns {Promise<Models.PlatformWeb | Models.PlatformApple | Models.PlatformAndroid | Models.PlatformWindows | Models.PlatformLinux>}
1943
+ * @deprecated Use the object parameter style method for a better developer experience.
1944
+ */
1945
+ getPlatform(platformId: string): Promise<Models.PlatformWeb | Models.PlatformApple | Models.PlatformAndroid | Models.PlatformWindows | Models.PlatformLinux>;
1946
+ /**
1947
+ * Delete a platform by its unique ID. This endpoint removes the platform and all its configurations from the project.
1948
+ *
1949
+ * @param {string} params.platformId - Platform ID.
1950
+ * @throws {OwbaseException}
1951
+ * @returns {Promise<{}>}
1952
+ */
1953
+ deletePlatform(params: {
1954
+ platformId: string;
1955
+ }): Promise<{}>;
1956
+ /**
1957
+ * Delete a platform by its unique ID. This endpoint removes the platform and all its configurations from the project.
1958
+ *
1959
+ * @param {string} platformId - Platform ID.
1960
+ * @throws {OwbaseException}
1961
+ * @returns {Promise<{}>}
1962
+ * @deprecated Use the object parameter style method for a better developer experience.
1963
+ */
1964
+ deletePlatform(platformId: string): Promise<{}>;
1965
+ /**
1966
+ * Get a list of all project policies and their current configuration.
1967
+ *
1968
+ * @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). Only supported methods are limit and offset
1969
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
1970
+ * @throws {OwbaseException}
1971
+ * @returns {Promise<Models.PolicyList>}
1972
+ */
1973
+ listPolicies(params?: {
1974
+ queries?: string[];
1975
+ total?: boolean;
1976
+ }): Promise<Models.PolicyList>;
1977
+ /**
1978
+ * Get a list of all project policies and their current configuration.
1979
+ *
1980
+ * @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). Only supported methods are limit and offset
1981
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
1982
+ * @throws {OwbaseException}
1983
+ * @returns {Promise<Models.PolicyList>}
1984
+ * @deprecated Use the object parameter style method for a better developer experience.
1985
+ */
1986
+ listPolicies(queries?: string[], total?: boolean): Promise<Models.PolicyList>;
1987
+ /**
1988
+ * Configures if aliased emails such as subaddresses and emails with suffixes are denied during new users sign-ups and email updates.
1989
+ *
1990
+ * @param {boolean} params.enabled - Set whether or not to block aliased emails during signup and email updates.
1991
+ * @throws {OwbaseException}
1992
+ * @returns {Promise<Models.Project>}
1993
+ */
1994
+ updateDenyAliasedEmailPolicy(params: {
1995
+ enabled: boolean;
1996
+ }): Promise<Models.Project>;
1997
+ /**
1998
+ * Configures if aliased emails such as subaddresses and emails with suffixes are denied during new users sign-ups and email updates.
1999
+ *
2000
+ * @param {boolean} enabled - Set whether or not to block aliased emails during signup and email updates.
2001
+ * @throws {OwbaseException}
2002
+ * @returns {Promise<Models.Project>}
2003
+ * @deprecated Use the object parameter style method for a better developer experience.
2004
+ */
2005
+ updateDenyAliasedEmailPolicy(enabled: boolean): Promise<Models.Project>;
2006
+ /**
2007
+ * Configures if only corporate email addresses (non-free and non-disposable domains) are allowed during new user sign-ups and email updates.
2008
+ *
2009
+ * @param {boolean} params.enabled - Set whether or not to restrict sign-ups and email updates to corporate email addresses only.
2010
+ * @throws {OwbaseException}
2011
+ * @returns {Promise<Models.Project>}
2012
+ */
2013
+ updateDenyCorporateEmailPolicy(params: {
2014
+ enabled: boolean;
2015
+ }): Promise<Models.Project>;
2016
+ /**
2017
+ * Configures if only corporate email addresses (non-free and non-disposable domains) are allowed during new user sign-ups and email updates.
2018
+ *
2019
+ * @param {boolean} enabled - Set whether or not to restrict sign-ups and email updates to corporate email addresses only.
2020
+ * @throws {OwbaseException}
2021
+ * @returns {Promise<Models.Project>}
2022
+ * @deprecated Use the object parameter style method for a better developer experience.
2023
+ */
2024
+ updateDenyCorporateEmailPolicy(enabled: boolean): Promise<Models.Project>;
2025
+ /**
2026
+ * Configures if disposable emails from known temporary domains are denied during new users sign-ups and email updates.
2027
+ *
2028
+ * @param {boolean} params.enabled - Set whether or not to block disposable email addresses during signup and email updates.
2029
+ * @throws {OwbaseException}
2030
+ * @returns {Promise<Models.Project>}
2031
+ */
2032
+ updateDenyDisposableEmailPolicy(params: {
2033
+ enabled: boolean;
2034
+ }): Promise<Models.Project>;
2035
+ /**
2036
+ * Configures if disposable emails from known temporary domains are denied during new users sign-ups and email updates.
2037
+ *
2038
+ * @param {boolean} enabled - Set whether or not to block disposable email addresses during signup and email updates.
2039
+ * @throws {OwbaseException}
2040
+ * @returns {Promise<Models.Project>}
2041
+ * @deprecated Use the object parameter style method for a better developer experience.
2042
+ */
2043
+ updateDenyDisposableEmailPolicy(enabled: boolean): Promise<Models.Project>;
2044
+ /**
2045
+ * Configures if emails from free providers such as Gmail or Yahoo are denied during new users sign-ups and email updates.
2046
+ *
2047
+ * @param {boolean} params.enabled - Set whether or not to block free email addresses during signup and email updates.
2048
+ * @throws {OwbaseException}
2049
+ * @returns {Promise<Models.Project>}
2050
+ */
2051
+ updateDenyFreeEmailPolicy(params: {
2052
+ enabled: boolean;
2053
+ }): Promise<Models.Project>;
2054
+ /**
2055
+ * Configures if emails from free providers such as Gmail or Yahoo are denied during new users sign-ups and email updates.
2056
+ *
2057
+ * @param {boolean} enabled - Set whether or not to block free email addresses during signup and email updates.
2058
+ * @throws {OwbaseException}
2059
+ * @returns {Promise<Models.Project>}
2060
+ * @deprecated Use the object parameter style method for a better developer experience.
2061
+ */
2062
+ updateDenyFreeEmailPolicy(enabled: boolean): Promise<Models.Project>;
2063
+ /**
2064
+ * Updating this policy allows you to control if team members can see other members information. When enabled, all team members can see ID, name, email, phone number, and MFA status of other members..
2065
+ *
2066
+ * @param {boolean} params.userId - Set to true if you want make user ID visible to all team members, or false to hide it.
2067
+ * @param {boolean} params.userEmail - Set to true if you want make user email visible to all team members, or false to hide it.
2068
+ * @param {boolean} params.userPhone - Set to true if you want make user phone number visible to all team members, or false to hide it.
2069
+ * @param {boolean} params.userName - Set to true if you want make user name visible to all team members, or false to hide it.
2070
+ * @param {boolean} params.userMFA - Set to true if you want make user MFA status visible to all team members, or false to hide it.
2071
+ * @param {boolean} params.userAccessedAt - Set to true if you want make user last access time visible to all team members, or false to hide it.
2072
+ * @throws {OwbaseException}
2073
+ * @returns {Promise<Models.Project>}
2074
+ */
2075
+ updateMembershipPrivacyPolicy(params?: {
2076
+ userId?: boolean;
2077
+ userEmail?: boolean;
2078
+ userPhone?: boolean;
2079
+ userName?: boolean;
2080
+ userMFA?: boolean;
2081
+ userAccessedAt?: boolean;
2082
+ }): Promise<Models.Project>;
2083
+ /**
2084
+ * Updating this policy allows you to control if team members can see other members information. When enabled, all team members can see ID, name, email, phone number, and MFA status of other members..
2085
+ *
2086
+ * @param {boolean} userId - Set to true if you want make user ID visible to all team members, or false to hide it.
2087
+ * @param {boolean} userEmail - Set to true if you want make user email visible to all team members, or false to hide it.
2088
+ * @param {boolean} userPhone - Set to true if you want make user phone number visible to all team members, or false to hide it.
2089
+ * @param {boolean} userName - Set to true if you want make user name visible to all team members, or false to hide it.
2090
+ * @param {boolean} userMFA - Set to true if you want make user MFA status visible to all team members, or false to hide it.
2091
+ * @param {boolean} userAccessedAt - Set to true if you want make user last access time visible to all team members, or false to hide it.
2092
+ * @throws {OwbaseException}
2093
+ * @returns {Promise<Models.Project>}
2094
+ * @deprecated Use the object parameter style method for a better developer experience.
2095
+ */
2096
+ updateMembershipPrivacyPolicy(userId?: boolean, userEmail?: boolean, userPhone?: boolean, userName?: boolean, userMFA?: boolean, userAccessedAt?: boolean): Promise<Models.Project>;
2097
+ /**
2098
+ * Updating this policy allows you to control which factors users can use to complete an MFA challenge. Disabled factors cannot be used to create a challenge and are reported as unavailable when listing factors. The custom factor is disabled by default; enable it to deliver challenge codes through your own channel. Recovery codes always remain available as a fallback.
2099
+ *
2100
+ * @param {boolean} params.totp - Set to true to allow TOTP to complete an MFA challenge, or false to disable it.
2101
+ * @param {boolean} params.email - Set to true to allow email to complete an MFA challenge, or false to disable it.
2102
+ * @param {boolean} params.phone - Set to true to allow phone (SMS) to complete an MFA challenge, or false to disable it.
2103
+ * @param {boolean} params.custom - Set to true to allow the custom factor to complete an MFA challenge, or false to disable it.
2104
+ * @throws {OwbaseException}
2105
+ * @returns {Promise<Models.Project>}
2106
+ */
2107
+ updateMFAFactorsPolicy(params?: {
2108
+ totp?: boolean;
2109
+ email?: boolean;
2110
+ phone?: boolean;
2111
+ custom?: boolean;
2112
+ }): Promise<Models.Project>;
2113
+ /**
2114
+ * Updating this policy allows you to control which factors users can use to complete an MFA challenge. Disabled factors cannot be used to create a challenge and are reported as unavailable when listing factors. The custom factor is disabled by default; enable it to deliver challenge codes through your own channel. Recovery codes always remain available as a fallback.
2115
+ *
2116
+ * @param {boolean} totp - Set to true to allow TOTP to complete an MFA challenge, or false to disable it.
2117
+ * @param {boolean} email - Set to true to allow email to complete an MFA challenge, or false to disable it.
2118
+ * @param {boolean} phone - Set to true to allow phone (SMS) to complete an MFA challenge, or false to disable it.
2119
+ * @param {boolean} custom - Set to true to allow the custom factor to complete an MFA challenge, or false to disable it.
2120
+ * @throws {OwbaseException}
2121
+ * @returns {Promise<Models.Project>}
2122
+ * @deprecated Use the object parameter style method for a better developer experience.
2123
+ */
2124
+ updateMFAFactorsPolicy(totp?: boolean, email?: boolean, phone?: boolean, custom?: boolean): Promise<Models.Project>;
2125
+ /**
2126
+ * Configure the relying party passkeys are bound to. The relying party ID is the domain of your application, and origins are the exact web origins allowed to register and sign in with passkeys. Passkeys stay unavailable until both are set and the passkey auth method is enabled. The relying party ID cannot change while users have passkeys, and any change invalidates ceremonies in progress.
2127
+ *
2128
+ * @param {string} params.rpId - Relying party ID: the domain of your application, such as `example.com`. Use `localhost` for local development.
2129
+ * @param {string[]} params.origins - Web origins allowed to use passkeys, such as `https://example.com` or `https://app.example.com`. Each must be HTTPS on the relying party ID or one of its subdomains, without a path. HTTP is only allowed for `localhost`. Maximum of 10 origins.
2130
+ * @throws {OwbaseException}
2131
+ * @returns {Promise<Models.Project>}
2132
+ */
2133
+ updatePasskeyPolicy(params?: {
2134
+ rpId?: string;
2135
+ origins?: string[];
2136
+ }): Promise<Models.Project>;
2137
+ /**
2138
+ * Configure the relying party passkeys are bound to. The relying party ID is the domain of your application, and origins are the exact web origins allowed to register and sign in with passkeys. Passkeys stay unavailable until both are set and the passkey auth method is enabled. The relying party ID cannot change while users have passkeys, and any change invalidates ceremonies in progress.
2139
+ *
2140
+ * @param {string} rpId - Relying party ID: the domain of your application, such as `example.com`. Use `localhost` for local development.
2141
+ * @param {string[]} origins - Web origins allowed to use passkeys, such as `https://example.com` or `https://app.example.com`. Each must be HTTPS on the relying party ID or one of its subdomains, without a path. HTTP is only allowed for `localhost`. Maximum of 10 origins.
2142
+ * @throws {OwbaseException}
2143
+ * @returns {Promise<Models.Project>}
2144
+ * @deprecated Use the object parameter style method for a better developer experience.
2145
+ */
2146
+ updatePasskeyPolicy(rpId?: string, origins?: string[]): Promise<Models.Project>;
2147
+ /**
2148
+ * Updating this policy allows you to control if new passwords are checked against most common passwords dictionary. When enabled, and user changes their password, password must not be contained in the dictionary.
2149
+ *
2150
+ * @param {boolean} params.enabled - Toggle password dictionary policy. Set to true if you want password change to block passwords in the dictionary, or false to allow them. When changing this policy, existing passwords remain valid.
2151
+ * @throws {OwbaseException}
2152
+ * @returns {Promise<Models.Project>}
2153
+ */
2154
+ updatePasswordDictionaryPolicy(params: {
2155
+ enabled: boolean;
2156
+ }): Promise<Models.Project>;
2157
+ /**
2158
+ * Updating this policy allows you to control if new passwords are checked against most common passwords dictionary. When enabled, and user changes their password, password must not be contained in the dictionary.
2159
+ *
2160
+ * @param {boolean} enabled - Toggle password dictionary policy. Set to true if you want password change to block passwords in the dictionary, or false to allow them. When changing this policy, existing passwords remain valid.
2161
+ * @throws {OwbaseException}
2162
+ * @returns {Promise<Models.Project>}
2163
+ * @deprecated Use the object parameter style method for a better developer experience.
2164
+ */
2165
+ updatePasswordDictionaryPolicy(enabled: boolean): Promise<Models.Project>;
2166
+ /**
2167
+ * Updates one of password strength policies. Based on total length configured, previous password hashes are stored, and users cannot choose a new password that is already stored in the passwird history list, when updating an user password, or setting new one through password recovery.
2168
+ *
2169
+ * Keep in mind, while password history policy is disabled, the history is not being stored. Enabling the policy will not have any history on existing users, and it will only start to collect and enforce the policy on password changes since the policy is enabled.
2170
+ *
2171
+ * @param {number} params.total - Set the password history length per user. Value can be between 1 and 20, or null to disable the limit.
2172
+ * @throws {OwbaseException}
2173
+ * @returns {Promise<Models.Project>}
2174
+ */
2175
+ updatePasswordHistoryPolicy(params: {
2176
+ total?: number;
2177
+ }): Promise<Models.Project>;
2178
+ /**
2179
+ * Updates one of password strength policies. Based on total length configured, previous password hashes are stored, and users cannot choose a new password that is already stored in the passwird history list, when updating an user password, or setting new one through password recovery.
2180
+ *
2181
+ * Keep in mind, while password history policy is disabled, the history is not being stored. Enabling the policy will not have any history on existing users, and it will only start to collect and enforce the policy on password changes since the policy is enabled.
2182
+ *
2183
+ * @param {number} total - Set the password history length per user. Value can be between 1 and 20, or null to disable the limit.
2184
+ * @throws {OwbaseException}
2185
+ * @returns {Promise<Models.Project>}
2186
+ * @deprecated Use the object parameter style method for a better developer experience.
2187
+ */
2188
+ updatePasswordHistoryPolicy(total?: number): Promise<Models.Project>;
2189
+ /**
2190
+ * Updating this policy allows you to control if password strength is checked against personal data. When enabled, and user sets or changes their password, the password must not contain user ID, name, email or phone number.
2191
+ *
2192
+ * @param {boolean} params.enabled - Toggle password personal data policy. Set to true if you want to block passwords including user's personal data, or false to allow it. When changing this policy, existing passwords remain valid.
2193
+ * @throws {OwbaseException}
2194
+ * @returns {Promise<Models.Project>}
2195
+ */
2196
+ updatePasswordPersonalDataPolicy(params: {
2197
+ enabled: boolean;
2198
+ }): Promise<Models.Project>;
2199
+ /**
2200
+ * Updating this policy allows you to control if password strength is checked against personal data. When enabled, and user sets or changes their password, the password must not contain user ID, name, email or phone number.
2201
+ *
2202
+ * @param {boolean} enabled - Toggle password personal data policy. Set to true if you want to block passwords including user's personal data, or false to allow it. When changing this policy, existing passwords remain valid.
2203
+ * @throws {OwbaseException}
2204
+ * @returns {Promise<Models.Project>}
2205
+ * @deprecated Use the object parameter style method for a better developer experience.
2206
+ */
2207
+ updatePasswordPersonalDataPolicy(enabled: boolean): Promise<Models.Project>;
2208
+ /**
2209
+ * Updating this policy allows you to control if passwords are checked against the Have I Been Pwned breach database. When enabled, every password a user signs up, signs in or resets with is checked and the result is recorded on the user as `passwordPwned`. On its own the policy only records. Enable `users` to reject a breached password when a user signs up or sets a new password, and `sessions` to refuse a sign-in with a breached password until it is reset. Only the first five characters of the password hash are ever shared with the service. Options left out keep their current value.
2210
+ *
2211
+ * @param {boolean} params.enabled - Toggle password pwned policy. Set to true to check passwords against known data breaches and record the result on the user, or false to never check. Default is true. On its own this only records; use `users` and `sessions` to block. When changing this policy, existing passwords remain valid.
2212
+ * @param {boolean} params.sessions - Whether a sign-in with a breached password is refused until the password is reset. Default is false, which allows the sign-in and only records the result.
2213
+ * @param {boolean} params.users - Whether a breached password is rejected when a user signs up or sets a new password. Default is false, which allows the password and only records the result.
2214
+ * @throws {OwbaseException}
2215
+ * @returns {Promise<Models.Project>}
2216
+ */
2217
+ updatePasswordPwnedPolicy(params?: {
2218
+ enabled?: boolean;
2219
+ sessions?: boolean;
2220
+ users?: boolean;
2221
+ }): Promise<Models.Project>;
2222
+ /**
2223
+ * Updating this policy allows you to control if passwords are checked against the Have I Been Pwned breach database. When enabled, every password a user signs up, signs in or resets with is checked and the result is recorded on the user as `passwordPwned`. On its own the policy only records. Enable `users` to reject a breached password when a user signs up or sets a new password, and `sessions` to refuse a sign-in with a breached password until it is reset. Only the first five characters of the password hash are ever shared with the service. Options left out keep their current value.
2224
+ *
2225
+ * @param {boolean} enabled - Toggle password pwned policy. Set to true to check passwords against known data breaches and record the result on the user, or false to never check. Default is true. On its own this only records; use `users` and `sessions` to block. When changing this policy, existing passwords remain valid.
2226
+ * @param {boolean} sessions - Whether a sign-in with a breached password is refused until the password is reset. Default is false, which allows the sign-in and only records the result.
2227
+ * @param {boolean} users - Whether a breached password is rejected when a user signs up or sets a new password. Default is false, which allows the password and only records the result.
2228
+ * @throws {OwbaseException}
2229
+ * @returns {Promise<Models.Project>}
2230
+ * @deprecated Use the object parameter style method for a better developer experience.
2231
+ */
2232
+ updatePasswordPwnedPolicy(enabled?: boolean, sessions?: boolean, users?: boolean): Promise<Models.Project>;
2233
+ /**
2234
+ * Update the password strength requirements for users in the project.
2235
+ *
2236
+ * @param {number} params.min - Minimum password length. Value must be between 8 and 256. Default is 8.
2237
+ * @param {boolean} params.uppercase - Whether passwords must include at least one uppercase letter.
2238
+ * @param {boolean} params.lowercase - Whether passwords must include at least one lowercase letter.
2239
+ * @param {boolean} params.number - Whether passwords must include at least one number.
2240
+ * @param {boolean} params.symbols - Whether passwords must include at least one symbol.
2241
+ * @throws {OwbaseException}
2242
+ * @returns {Promise<Models.PolicyPasswordStrength>}
2243
+ */
2244
+ updatePasswordStrengthPolicy(params?: {
2245
+ min?: number;
2246
+ uppercase?: boolean;
2247
+ lowercase?: boolean;
2248
+ number?: boolean;
2249
+ symbols?: boolean;
2250
+ }): Promise<Models.PolicyPasswordStrength>;
2251
+ /**
2252
+ * Update the password strength requirements for users in the project.
2253
+ *
2254
+ * @param {number} min - Minimum password length. Value must be between 8 and 256. Default is 8.
2255
+ * @param {boolean} uppercase - Whether passwords must include at least one uppercase letter.
2256
+ * @param {boolean} lowercase - Whether passwords must include at least one lowercase letter.
2257
+ * @param {boolean} number - Whether passwords must include at least one number.
2258
+ * @param {boolean} symbols - Whether passwords must include at least one symbol.
2259
+ * @throws {OwbaseException}
2260
+ * @returns {Promise<Models.PolicyPasswordStrength>}
2261
+ * @deprecated Use the object parameter style method for a better developer experience.
2262
+ */
2263
+ updatePasswordStrengthPolicy(min?: number, uppercase?: boolean, lowercase?: boolean, number?: boolean, symbols?: boolean): Promise<Models.PolicyPasswordStrength>;
2264
+ /**
2265
+ * Updating this policy allows you to control if email alert is sent upon session creation. When enabled, and user signs into their account, they will be sent an email notification. There is an exception, the first session after a new sign up does not trigger an alert, even if the policy is enabled.
2266
+ *
2267
+ * @param {boolean} params.enabled - Toggle session alert policy. Set to true if you want users to receive email notifications when a sessions are created for their users, or false to not send email alerts.
2268
+ * @throws {OwbaseException}
2269
+ * @returns {Promise<Models.Project>}
2270
+ */
2271
+ updateSessionAlertPolicy(params: {
2272
+ enabled: boolean;
2273
+ }): Promise<Models.Project>;
2274
+ /**
2275
+ * Updating this policy allows you to control if email alert is sent upon session creation. When enabled, and user signs into their account, they will be sent an email notification. There is an exception, the first session after a new sign up does not trigger an alert, even if the policy is enabled.
2276
+ *
2277
+ * @param {boolean} enabled - Toggle session alert policy. Set to true if you want users to receive email notifications when a sessions are created for their users, or false to not send email alerts.
2278
+ * @throws {OwbaseException}
2279
+ * @returns {Promise<Models.Project>}
2280
+ * @deprecated Use the object parameter style method for a better developer experience.
2281
+ */
2282
+ updateSessionAlertPolicy(enabled: boolean): Promise<Models.Project>;
2283
+ /**
2284
+ * Update maximum duration how long sessions created within a project should stay active for.
2285
+ *
2286
+ * @param {number} params.duration - Maximum session length in seconds. Minium allowed value is 60 seconds, and maximum is 1 year, which is 31536000 seconds.
2287
+ * @throws {OwbaseException}
2288
+ * @returns {Promise<Models.Project>}
2289
+ */
2290
+ updateSessionDurationPolicy(params: {
2291
+ duration: number;
2292
+ }): Promise<Models.Project>;
2293
+ /**
2294
+ * Update maximum duration how long sessions created within a project should stay active for.
2295
+ *
2296
+ * @param {number} duration - Maximum session length in seconds. Minium allowed value is 60 seconds, and maximum is 1 year, which is 31536000 seconds.
2297
+ * @throws {OwbaseException}
2298
+ * @returns {Promise<Models.Project>}
2299
+ * @deprecated Use the object parameter style method for a better developer experience.
2300
+ */
2301
+ updateSessionDurationPolicy(duration: number): Promise<Models.Project>;
2302
+ /**
2303
+ * Updating this policy allows you to control if existing sessions should be invalidated when a password of a user is changed. When enabled, and user changes their password, they will be logged out of all their devices.
2304
+ *
2305
+ * @param {boolean} params.enabled - Toggle session invalidation policy. Set to true if you want password change to invalidate all sessions of an user, or false to keep sessions active.
2306
+ * @throws {OwbaseException}
2307
+ * @returns {Promise<Models.Project>}
2308
+ */
2309
+ updateSessionInvalidationPolicy(params: {
2310
+ enabled: boolean;
2311
+ }): Promise<Models.Project>;
2312
+ /**
2313
+ * Updating this policy allows you to control if existing sessions should be invalidated when a password of a user is changed. When enabled, and user changes their password, they will be logged out of all their devices.
2314
+ *
2315
+ * @param {boolean} enabled - Toggle session invalidation policy. Set to true if you want password change to invalidate all sessions of an user, or false to keep sessions active.
2316
+ * @throws {OwbaseException}
2317
+ * @returns {Promise<Models.Project>}
2318
+ * @deprecated Use the object parameter style method for a better developer experience.
2319
+ */
2320
+ updateSessionInvalidationPolicy(enabled: boolean): Promise<Models.Project>;
2321
+ /**
2322
+ * Update the maximum number of sessions allowed per user. When the limit is hit, the oldest session will be deleted to make room for new one.
2323
+ *
2324
+ * @param {number} params.total - Set the maximum number of sessions allowed per user. Value can be between 1 and 100.
2325
+ * @throws {OwbaseException}
2326
+ * @returns {Promise<Models.Project>}
2327
+ */
2328
+ updateSessionLimitPolicy(params: {
2329
+ total: number;
2330
+ }): Promise<Models.Project>;
2331
+ /**
2332
+ * Update the maximum number of sessions allowed per user. When the limit is hit, the oldest session will be deleted to make room for new one.
2333
+ *
2334
+ * @param {number} total - Set the maximum number of sessions allowed per user. Value can be between 1 and 100.
2335
+ * @throws {OwbaseException}
2336
+ * @returns {Promise<Models.Project>}
2337
+ * @deprecated Use the object parameter style method for a better developer experience.
2338
+ */
2339
+ updateSessionLimitPolicy(total: number): Promise<Models.Project>;
2340
+ /**
2341
+ * Update the maximum number of users in the project. When the limit is hit or amount of existing users already exceeded the limit, all users remain active, but new user sign up will be prohibited.
2342
+ *
2343
+ * @param {number} params.total - Set the maximum number of users allowed in the project. Value can be between 0 and 10000. Use 0 or null to disable the limit.
2344
+ * @throws {OwbaseException}
2345
+ * @returns {Promise<Models.Project>}
2346
+ */
2347
+ updateUserLimitPolicy(params: {
2348
+ total?: number;
2349
+ }): Promise<Models.Project>;
2350
+ /**
2351
+ * Update the maximum number of users in the project. When the limit is hit or amount of existing users already exceeded the limit, all users remain active, but new user sign up will be prohibited.
2352
+ *
2353
+ * @param {number} total - Set the maximum number of users allowed in the project. Value can be between 0 and 10000. Use 0 or null to disable the limit.
2354
+ * @throws {OwbaseException}
2355
+ * @returns {Promise<Models.Project>}
2356
+ * @deprecated Use the object parameter style method for a better developer experience.
2357
+ */
2358
+ updateUserLimitPolicy(total?: number): Promise<Models.Project>;
2359
+ /**
2360
+ * Get a policy by its unique ID. This endpoint returns the current configuration for the requested project policy.
2361
+ *
2362
+ * @param {ProjectPolicyId} params.policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email, passkey.
2363
+ * @throws {OwbaseException}
2364
+ * @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>}
2365
+ */
2366
+ getPolicy(params: {
2367
+ policyId: ProjectPolicyId;
2368
+ }): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>;
2369
+ /**
2370
+ * Get a policy by its unique ID. This endpoint returns the current configuration for the requested project policy.
2371
+ *
2372
+ * @param {ProjectPolicyId} policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email, passkey.
2373
+ * @throws {OwbaseException}
2374
+ * @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>}
2375
+ * @deprecated Use the object parameter style method for a better developer experience.
2376
+ */
2377
+ getPolicy(policyId: ProjectPolicyId): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail | Models.PolicyPasskey>;
2378
+ /**
2379
+ * Update properties of a specific protocol. Use this endpoint to enable or disable a protocol in your project.
2380
+ *
2381
+ * @param {ProjectProtocolId} params.protocolId - Protocol name. Can be one of: rest, graphql, websocket
2382
+ * @param {boolean} params.enabled - Protocol status.
2383
+ * @throws {OwbaseException}
2384
+ * @returns {Promise<Models.Project>}
2385
+ */
2386
+ updateProtocol(params: {
2387
+ protocolId: ProjectProtocolId;
2388
+ enabled: boolean;
2389
+ }): Promise<Models.Project>;
2390
+ /**
2391
+ * Update properties of a specific protocol. Use this endpoint to enable or disable a protocol in your project.
2392
+ *
2393
+ * @param {ProjectProtocolId} protocolId - Protocol name. Can be one of: rest, graphql, websocket
2394
+ * @param {boolean} enabled - Protocol status.
2395
+ * @throws {OwbaseException}
2396
+ * @returns {Promise<Models.Project>}
2397
+ * @deprecated Use the object parameter style method for a better developer experience.
2398
+ */
2399
+ updateProtocol(protocolId: ProjectProtocolId, enabled: boolean): Promise<Models.Project>;
2400
+ /**
2401
+ * Update properties of a specific service. Use this endpoint to enable or disable a service in your project.
2402
+ *
2403
+ * @param {ProjectServiceId} params.serviceId - Service name. Can be one of: account, avatars, databases, tablesdb, locale, health, project, storage, teams, users, vcs, sites, functions, proxy, graphql, migrations, messaging, advisor
2404
+ * @param {boolean} params.enabled - Service status.
2405
+ * @throws {OwbaseException}
2406
+ * @returns {Promise<Models.Project>}
2407
+ */
2408
+ updateService(params: {
2409
+ serviceId: ProjectServiceId;
2410
+ enabled: boolean;
2411
+ }): Promise<Models.Project>;
2412
+ /**
2413
+ * Update properties of a specific service. Use this endpoint to enable or disable a service in your project.
2414
+ *
2415
+ * @param {ProjectServiceId} serviceId - Service name. Can be one of: account, avatars, databases, tablesdb, locale, health, project, storage, teams, users, vcs, sites, functions, proxy, graphql, migrations, messaging, advisor
2416
+ * @param {boolean} enabled - Service status.
2417
+ * @throws {OwbaseException}
2418
+ * @returns {Promise<Models.Project>}
2419
+ * @deprecated Use the object parameter style method for a better developer experience.
2420
+ */
2421
+ updateService(serviceId: ProjectServiceId, enabled: boolean): Promise<Models.Project>;
2422
+ /**
2423
+ * Update the SMTP configuration for your project. Use this endpoint to configure your project's SMTP provider with your custom settings for sending transactional emails.
2424
+ *
2425
+ * @param {string} params.host - SMTP server hostname (domain)
2426
+ * @param {number} params.port - SMTP server port
2427
+ * @param {string} params.username - SMTP server username. Pass an empty string to clear a previously set value.
2428
+ * @param {string} params.password - SMTP server password. Pass an empty string to clear a previously set value. This property is stored securely and cannot be read in future (write-only).
2429
+ * @param {string} params.senderEmail - Email address shown in inbox as the sender of the email. Pass an empty string to clear a previously set value.
2430
+ * @param {string} params.senderName - Name shown in inbox as the sender of the email. Pass an empty string to clear a previously set value.
2431
+ * @param {string} params.replyToEmail - Email used when user replies to the email. Pass an empty string to clear a previously set value.
2432
+ * @param {string} params.replyToName - Name used when user replies to the email. Pass an empty string to clear a previously set value.
2433
+ * @param {ProjectSMTPSecure} params.secure - Configures if communication with SMTP server is encrypted. Allowed values are: tls, ssl. Leave empty for no encryption.
2434
+ * @param {boolean} params.enabled - Enable or disable custom SMTP. Custom SMTP is useful for branding purposes, but also allows use of custom email templates.
2435
+ * @throws {OwbaseException}
2436
+ * @returns {Promise<Models.Project>}
2437
+ */
2438
+ updateSMTP(params?: {
2439
+ host?: string;
2440
+ port?: number;
2441
+ username?: string;
2442
+ password?: string;
2443
+ senderEmail?: string;
2444
+ senderName?: string;
2445
+ replyToEmail?: string;
2446
+ replyToName?: string;
2447
+ secure?: ProjectSMTPSecure;
2448
+ enabled?: boolean;
2449
+ }): Promise<Models.Project>;
2450
+ /**
2451
+ * Update the SMTP configuration for your project. Use this endpoint to configure your project's SMTP provider with your custom settings for sending transactional emails.
2452
+ *
2453
+ * @param {string} host - SMTP server hostname (domain)
2454
+ * @param {number} port - SMTP server port
2455
+ * @param {string} username - SMTP server username. Pass an empty string to clear a previously set value.
2456
+ * @param {string} password - SMTP server password. Pass an empty string to clear a previously set value. This property is stored securely and cannot be read in future (write-only).
2457
+ * @param {string} senderEmail - Email address shown in inbox as the sender of the email. Pass an empty string to clear a previously set value.
2458
+ * @param {string} senderName - Name shown in inbox as the sender of the email. Pass an empty string to clear a previously set value.
2459
+ * @param {string} replyToEmail - Email used when user replies to the email. Pass an empty string to clear a previously set value.
2460
+ * @param {string} replyToName - Name used when user replies to the email. Pass an empty string to clear a previously set value.
2461
+ * @param {ProjectSMTPSecure} secure - Configures if communication with SMTP server is encrypted. Allowed values are: tls, ssl. Leave empty for no encryption.
2462
+ * @param {boolean} enabled - Enable or disable custom SMTP. Custom SMTP is useful for branding purposes, but also allows use of custom email templates.
2463
+ * @throws {OwbaseException}
2464
+ * @returns {Promise<Models.Project>}
2465
+ * @deprecated Use the object parameter style method for a better developer experience.
2466
+ */
2467
+ updateSMTP(host?: string, port?: number, username?: string, password?: string, senderEmail?: string, senderName?: string, replyToEmail?: string, replyToName?: string, secure?: ProjectSMTPSecure, enabled?: boolean): Promise<Models.Project>;
2468
+ /**
2469
+ * Send a test email to verify SMTP configuration.
2470
+ *
2471
+ * @param {string[]} params.emails - Array of emails to send test email to. Maximum of 10 emails are allowed.
2472
+ * @throws {OwbaseException}
2473
+ * @returns {Promise<{}>}
2474
+ */
2475
+ createSMTPTest(params: {
2476
+ emails: string[];
2477
+ }): Promise<{}>;
2478
+ /**
2479
+ * Send a test email to verify SMTP configuration.
2480
+ *
2481
+ * @param {string[]} emails - Array of emails to send test email to. Maximum of 10 emails are allowed.
2482
+ * @throws {OwbaseException}
2483
+ * @returns {Promise<{}>}
2484
+ * @deprecated Use the object parameter style method for a better developer experience.
2485
+ */
2486
+ createSMTPTest(emails: string[]): Promise<{}>;
2487
+ /**
2488
+ * Get a list of all custom email templates configured for the project. This endpoint returns an array of all configured email templates and their locales.
2489
+ *
2490
+ * @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). Only supported methods are limit and offset
2491
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
2492
+ * @throws {OwbaseException}
2493
+ * @returns {Promise<Models.EmailTemplateList>}
2494
+ */
2495
+ listEmailTemplates(params?: {
2496
+ queries?: string[];
2497
+ total?: boolean;
2498
+ }): Promise<Models.EmailTemplateList>;
2499
+ /**
2500
+ * Get a list of all custom email templates configured for the project. This endpoint returns an array of all configured email templates and their locales.
2501
+ *
2502
+ * @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). Only supported methods are limit and offset
2503
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
2504
+ * @throws {OwbaseException}
2505
+ * @returns {Promise<Models.EmailTemplateList>}
2506
+ * @deprecated Use the object parameter style method for a better developer experience.
2507
+ */
2508
+ listEmailTemplates(queries?: string[], total?: boolean): Promise<Models.EmailTemplateList>;
2509
+ /**
2510
+ * Update a custom email template for the specified locale and type. Use this endpoint to modify the content of your email templates.
2511
+ *
2512
+ * @param {ProjectEmailTemplateId} params.templateId - Custom email template type. Can be one of: verification, magicSession, recovery, invitation, mfaChallenge, sessionAlert, otpSession, otpVerification, otpRecovery
2513
+ * @param {ProjectEmailTemplateLocale} params.locale - Custom email template locale. If left empty, the fallback locale (en) will be used.
2514
+ * @param {string} params.subject - Subject of the email template. Can be up to 255 characters.
2515
+ * @param {string} params.message - Plain or HTML body of the email template message. Can be up to 10MB of content.
2516
+ * @param {string} params.senderName - Name of the email sender.
2517
+ * @param {string} params.senderEmail - Email of the sender. Pass an empty string to clear a previously set value.
2518
+ * @param {string} params.replyToEmail - Reply to email. Pass an empty string to clear a previously set value.
2519
+ * @param {string} params.replyToName - Reply to name.
2520
+ * @throws {OwbaseException}
2521
+ * @returns {Promise<Models.EmailTemplate>}
2522
+ */
2523
+ updateEmailTemplate(params: {
2524
+ templateId: ProjectEmailTemplateId;
2525
+ locale?: ProjectEmailTemplateLocale;
2526
+ subject?: string;
2527
+ message?: string;
2528
+ senderName?: string;
2529
+ senderEmail?: string;
2530
+ replyToEmail?: string;
2531
+ replyToName?: string;
2532
+ }): Promise<Models.EmailTemplate>;
2533
+ /**
2534
+ * Update a custom email template for the specified locale and type. Use this endpoint to modify the content of your email templates.
2535
+ *
2536
+ * @param {ProjectEmailTemplateId} templateId - Custom email template type. Can be one of: verification, magicSession, recovery, invitation, mfaChallenge, sessionAlert, otpSession, otpVerification, otpRecovery
2537
+ * @param {ProjectEmailTemplateLocale} locale - Custom email template locale. If left empty, the fallback locale (en) will be used.
2538
+ * @param {string} subject - Subject of the email template. Can be up to 255 characters.
2539
+ * @param {string} message - Plain or HTML body of the email template message. Can be up to 10MB of content.
2540
+ * @param {string} senderName - Name of the email sender.
2541
+ * @param {string} senderEmail - Email of the sender. Pass an empty string to clear a previously set value.
2542
+ * @param {string} replyToEmail - Reply to email. Pass an empty string to clear a previously set value.
2543
+ * @param {string} replyToName - Reply to name.
2544
+ * @throws {OwbaseException}
2545
+ * @returns {Promise<Models.EmailTemplate>}
2546
+ * @deprecated Use the object parameter style method for a better developer experience.
2547
+ */
2548
+ updateEmailTemplate(templateId: ProjectEmailTemplateId, locale?: ProjectEmailTemplateLocale, subject?: string, message?: string, senderName?: string, senderEmail?: string, replyToEmail?: string, replyToName?: string): Promise<Models.EmailTemplate>;
2549
+ /**
2550
+ * Get a custom email template for the specified locale and type. This endpoint returns the template content, subject, and other configuration details.
2551
+ *
2552
+ * @param {ProjectEmailTemplateId} params.templateId - Custom email template type. Can be one of: verification, magicSession, recovery, invitation, mfaChallenge, sessionAlert, otpSession, otpVerification, otpRecovery
2553
+ * @param {ProjectEmailTemplateLocale} params.locale - Custom email template locale. If left empty, the fallback locale (en) will be used.
2554
+ * @throws {OwbaseException}
2555
+ * @returns {Promise<Models.EmailTemplate>}
2556
+ */
2557
+ getEmailTemplate(params: {
2558
+ templateId: ProjectEmailTemplateId;
2559
+ locale?: ProjectEmailTemplateLocale;
2560
+ }): Promise<Models.EmailTemplate>;
2561
+ /**
2562
+ * Get a custom email template for the specified locale and type. This endpoint returns the template content, subject, and other configuration details.
2563
+ *
2564
+ * @param {ProjectEmailTemplateId} templateId - Custom email template type. Can be one of: verification, magicSession, recovery, invitation, mfaChallenge, sessionAlert, otpSession, otpVerification, otpRecovery
2565
+ * @param {ProjectEmailTemplateLocale} locale - Custom email template locale. If left empty, the fallback locale (en) will be used.
2566
+ * @throws {OwbaseException}
2567
+ * @returns {Promise<Models.EmailTemplate>}
2568
+ * @deprecated Use the object parameter style method for a better developer experience.
2569
+ */
2570
+ getEmailTemplate(templateId: ProjectEmailTemplateId, locale?: ProjectEmailTemplateLocale): Promise<Models.EmailTemplate>;
2571
+ /**
2572
+ * Get a list of all project environment variables.
2573
+ *
2574
+ * @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: key, resourceType, resourceId, secret
2575
+ * @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
2576
+ * @throws {OwbaseException}
2577
+ * @returns {Promise<Models.VariableList>}
2578
+ */
2579
+ listVariables(params?: {
2580
+ queries?: string[];
2581
+ total?: boolean;
2582
+ }): Promise<Models.VariableList>;
2583
+ /**
2584
+ * Get a list of all project environment variables.
2585
+ *
2586
+ * @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: key, resourceType, resourceId, secret
2587
+ * @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
2588
+ * @throws {OwbaseException}
2589
+ * @returns {Promise<Models.VariableList>}
2590
+ * @deprecated Use the object parameter style method for a better developer experience.
2591
+ */
2592
+ listVariables(queries?: string[], total?: boolean): Promise<Models.VariableList>;
2593
+ /**
2594
+ * Create a new project environment variable. These variables can be accessed by all functions and sites in the project.
2595
+ *
2596
+ * @param {string} params.variableId - Variable unique ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
2597
+ * @param {string} params.key - Variable key. Letters, digits and underscores only, must not start with a digit. Max length: 255 chars.
2598
+ * @param {string} params.value - Variable value. Max length: 8192 chars.
2599
+ * @param {boolean} params.secret - Secret variables can be updated or deleted, but only projects can read them during build and runtime.
2600
+ * @throws {OwbaseException}
2601
+ * @returns {Promise<Models.Variable>}
2602
+ */
2603
+ createVariable(params: {
2604
+ variableId: string;
2605
+ key: string;
2606
+ value: string;
2607
+ secret?: boolean;
2608
+ }): Promise<Models.Variable>;
2609
+ /**
2610
+ * Create a new project environment variable. These variables can be accessed by all functions and sites in the project.
2611
+ *
2612
+ * @param {string} variableId - Variable unique ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
2613
+ * @param {string} key - Variable key. Letters, digits and underscores only, must not start with a digit. Max length: 255 chars.
2614
+ * @param {string} value - Variable value. Max length: 8192 chars.
2615
+ * @param {boolean} secret - Secret variables can be updated or deleted, but only projects can read them during build and runtime.
2616
+ * @throws {OwbaseException}
2617
+ * @returns {Promise<Models.Variable>}
2618
+ * @deprecated Use the object parameter style method for a better developer experience.
2619
+ */
2620
+ createVariable(variableId: string, key: string, value: string, secret?: boolean): Promise<Models.Variable>;
2621
+ /**
2622
+ * Get a variable by its unique ID.
2623
+ *
2624
+ * @param {string} params.variableId - Variable unique ID.
2625
+ * @throws {OwbaseException}
2626
+ * @returns {Promise<Models.Variable>}
2627
+ */
2628
+ getVariable(params: {
2629
+ variableId: string;
2630
+ }): Promise<Models.Variable>;
2631
+ /**
2632
+ * Get a variable by its unique ID.
2633
+ *
2634
+ * @param {string} variableId - Variable unique ID.
2635
+ * @throws {OwbaseException}
2636
+ * @returns {Promise<Models.Variable>}
2637
+ * @deprecated Use the object parameter style method for a better developer experience.
2638
+ */
2639
+ getVariable(variableId: string): Promise<Models.Variable>;
2640
+ /**
2641
+ * Update variable by its unique ID.
2642
+ *
2643
+ * @param {string} params.variableId - Variable unique ID.
2644
+ * @param {string} params.key - Variable key. Letters, digits and underscores only, must not start with a digit. Max length: 255 chars.
2645
+ * @param {string} params.value - Variable value. Max length: 8192 chars.
2646
+ * @param {boolean} params.secret - Secret variables can be updated or deleted, but only projects can read them during build and runtime.
2647
+ * @throws {OwbaseException}
2648
+ * @returns {Promise<Models.Variable>}
2649
+ */
2650
+ updateVariable(params: {
2651
+ variableId: string;
2652
+ key?: string;
2653
+ value?: string;
2654
+ secret?: boolean;
2655
+ }): Promise<Models.Variable>;
2656
+ /**
2657
+ * Update variable by its unique ID.
2658
+ *
2659
+ * @param {string} variableId - Variable unique ID.
2660
+ * @param {string} key - Variable key. Letters, digits and underscores only, must not start with a digit. Max length: 255 chars.
2661
+ * @param {string} value - Variable value. Max length: 8192 chars.
2662
+ * @param {boolean} secret - Secret variables can be updated or deleted, but only projects can read them during build and runtime.
2663
+ * @throws {OwbaseException}
2664
+ * @returns {Promise<Models.Variable>}
2665
+ * @deprecated Use the object parameter style method for a better developer experience.
2666
+ */
2667
+ updateVariable(variableId: string, key?: string, value?: string, secret?: boolean): Promise<Models.Variable>;
2668
+ /**
2669
+ * Delete a variable by its unique ID.
2670
+ *
2671
+ * @param {string} params.variableId - Variable unique ID.
2672
+ * @throws {OwbaseException}
2673
+ * @returns {Promise<{}>}
2674
+ */
2675
+ deleteVariable(params: {
2676
+ variableId: string;
2677
+ }): Promise<{}>;
2678
+ /**
2679
+ * Delete a variable by its unique ID.
2680
+ *
2681
+ * @param {string} variableId - Variable unique ID.
2682
+ * @throws {OwbaseException}
2683
+ * @returns {Promise<{}>}
2684
+ * @deprecated Use the object parameter style method for a better developer experience.
2685
+ */
2686
+ deleteVariable(variableId: string): Promise<{}>;
2687
+ }
2688
+
2689
+ export { Project };