@workos-inc/widgets 1.18.0 → 1.19.0-next.1790102694835

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 (340) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/admin-portal-audit-log-streaming.client.cjs +16 -20
  3. package/dist/cjs/admin-portal-audit-log-streaming.client.cjs.map +1 -1
  4. package/dist/cjs/admin-portal-audit-log-streaming.client.d.cts +2 -0
  5. package/dist/cjs/admin-portal-domain-verification.client.cjs +42 -34
  6. package/dist/cjs/admin-portal-domain-verification.client.cjs.map +1 -1
  7. package/dist/cjs/admin-portal-domain-verification.client.d.cts +2 -0
  8. package/dist/cjs/admin-portal-sso-connection.client.cjs +77 -50
  9. package/dist/cjs/admin-portal-sso-connection.client.cjs.map +1 -1
  10. package/dist/cjs/api/client-graphql/client.cjs +2 -1
  11. package/dist/cjs/api/client-graphql/client.cjs.map +1 -1
  12. package/dist/cjs/api/client-graphql/generated.cjs +2295 -6
  13. package/dist/cjs/api/client-graphql/generated.cjs.map +1 -1
  14. package/dist/cjs/api/client-graphql/generated.d.cts +2989 -7
  15. package/dist/cjs/api/client-graphql/hooks.cjs +67 -0
  16. package/dist/cjs/api/client-graphql/hooks.cjs.map +1 -0
  17. package/dist/cjs/api/client-graphql/hooks.d.cts +44 -0
  18. package/dist/cjs/api/endpoint.cjs +43 -27
  19. package/dist/cjs/api/endpoint.cjs.map +1 -1
  20. package/dist/cjs/api/endpoint.d.cts +53 -20
  21. package/dist/cjs/api-keys.client.cjs +1 -2
  22. package/dist/cjs/api-keys.client.cjs.map +1 -1
  23. package/dist/cjs/directory-sync.client.cjs +54 -13
  24. package/dist/cjs/directory-sync.client.cjs.map +1 -1
  25. package/dist/cjs/experimental/api/fetch.cjs +44 -16
  26. package/dist/cjs/experimental/api/fetch.cjs.map +1 -1
  27. package/dist/cjs/experimental/api/fetch.d.cts +38 -9
  28. package/dist/cjs/experimental/api/react-query.cjs +75 -38
  29. package/dist/cjs/experimental/api/react-query.cjs.map +1 -1
  30. package/dist/cjs/experimental/api/react-query.d.cts +57 -24
  31. package/dist/cjs/experimental/api/swr.cjs +77 -35
  32. package/dist/cjs/experimental/api/swr.cjs.map +1 -1
  33. package/dist/cjs/experimental/api/swr.d.cts +49 -20
  34. package/dist/cjs/index.d.cts +4 -0
  35. package/dist/cjs/lib/add-mfa-dialog.cjs +39 -33
  36. package/dist/cjs/lib/add-mfa-dialog.cjs.map +1 -1
  37. package/dist/cjs/lib/admin-portal-audit-log-streaming.cjs.map +1 -1
  38. package/dist/cjs/lib/admin-portal-audit-log-streaming.d.cts +5 -3
  39. package/dist/cjs/lib/admin-portal-domain-verification.cjs.map +1 -1
  40. package/dist/cjs/lib/admin-portal-domain-verification.d.cts +4 -2
  41. package/dist/cjs/lib/api/api-key.cjs +128 -40
  42. package/dist/cjs/lib/api/api-key.cjs.map +1 -1
  43. package/dist/cjs/lib/api/api-key.d.cts +20 -9
  44. package/dist/cjs/lib/api/me.cjs +70 -0
  45. package/dist/cjs/lib/api/me.cjs.map +1 -0
  46. package/dist/cjs/lib/api/me.d.cts +37 -0
  47. package/dist/cjs/lib/api/pipes.cjs +419 -0
  48. package/dist/cjs/lib/api/pipes.cjs.map +1 -0
  49. package/dist/cjs/lib/api/pipes.d.cts +69 -0
  50. package/dist/cjs/lib/api/user-api-key.cjs +116 -45
  51. package/dist/cjs/lib/api/user-api-key.cjs.map +1 -1
  52. package/dist/cjs/lib/api/user-api-key.d.cts +17 -12
  53. package/dist/cjs/lib/api/user.cjs +170 -51
  54. package/dist/cjs/lib/api/user.cjs.map +1 -1
  55. package/dist/cjs/lib/api/user.d.cts +4 -25
  56. package/dist/cjs/lib/api-keys/api-key-details-dialog.cjs +2 -2
  57. package/dist/cjs/lib/api-keys/api-key-details-dialog.cjs.map +1 -1
  58. package/dist/cjs/lib/api-keys/create-api-key.cjs +1 -2
  59. package/dist/cjs/lib/api-keys/create-api-key.cjs.map +1 -1
  60. package/dist/cjs/lib/api-keys/revoke-api-key-dialog.cjs +5 -13
  61. package/dist/cjs/lib/api-keys/revoke-api-key-dialog.cjs.map +1 -1
  62. package/dist/cjs/lib/change-email-dialog.cjs +39 -26
  63. package/dist/cjs/lib/change-email-dialog.cjs.map +1 -1
  64. package/dist/cjs/lib/change-email-dialog.d.cts +4 -3
  65. package/dist/cjs/lib/change-password-dialog.cjs +14 -13
  66. package/dist/cjs/lib/change-password-dialog.cjs.map +1 -1
  67. package/dist/cjs/lib/client-graphql-result.cjs +116 -0
  68. package/dist/cjs/lib/client-graphql-result.cjs.map +1 -0
  69. package/dist/cjs/lib/client-graphql-result.d.cts +32 -0
  70. package/dist/cjs/lib/delete-domain-dialog.cjs.map +1 -1
  71. package/dist/cjs/lib/delete-domain-dialog.d.cts +3 -4
  72. package/dist/cjs/lib/delete-user-dialog.cjs.map +1 -1
  73. package/dist/cjs/lib/delete-user-dialog.d.cts +3 -2
  74. package/dist/cjs/lib/directory-sync.cjs +59 -23
  75. package/dist/cjs/lib/directory-sync.cjs.map +1 -1
  76. package/dist/cjs/lib/directory-sync.d.cts +23 -5
  77. package/dist/cjs/lib/domain-actions.cjs.map +1 -1
  78. package/dist/cjs/lib/domain-actions.d.cts +3 -4
  79. package/dist/cjs/lib/domain-item.cjs.map +1 -1
  80. package/dist/cjs/lib/domain-item.d.cts +3 -4
  81. package/dist/cjs/lib/edit-user-profile-dialog.cjs +19 -19
  82. package/dist/cjs/lib/edit-user-profile-dialog.cjs.map +1 -1
  83. package/dist/cjs/lib/edit-user-profile-dialog.d.cts +4 -3
  84. package/dist/cjs/lib/edit-user-role-dialog.cjs +3 -8
  85. package/dist/cjs/lib/edit-user-role-dialog.cjs.map +1 -1
  86. package/dist/cjs/lib/edit-user-role-dialog.d.cts +5 -4
  87. package/dist/cjs/lib/elevated-access.cjs +22 -13
  88. package/dist/cjs/lib/elevated-access.cjs.map +1 -1
  89. package/dist/cjs/lib/elevated-access.d.cts +1 -1
  90. package/dist/cjs/lib/invite-user-dialog.cjs +9 -15
  91. package/dist/cjs/lib/invite-user-dialog.cjs.map +1 -1
  92. package/dist/cjs/lib/logout-all-sessions-dialog.cjs +13 -5
  93. package/dist/cjs/lib/logout-all-sessions-dialog.cjs.map +1 -1
  94. package/dist/cjs/lib/logout-all-sessions-dialog.d.cts +2 -2
  95. package/dist/cjs/lib/logout-dialog.cjs +10 -6
  96. package/dist/cjs/lib/logout-dialog.cjs.map +1 -1
  97. package/dist/cjs/lib/logout-dialog.d.cts +3 -4
  98. package/dist/cjs/lib/name-server-icon.cjs.map +1 -1
  99. package/dist/cjs/lib/name-server-icon.d.cts +3 -4
  100. package/dist/cjs/lib/oauth-icons.cjs +13 -2
  101. package/dist/cjs/lib/oauth-icons.cjs.map +1 -1
  102. package/dist/cjs/lib/oauth-icons.d.cts +2 -1
  103. package/dist/cjs/lib/organization-switcher.cjs +3 -3
  104. package/dist/cjs/lib/organization-switcher.cjs.map +1 -1
  105. package/dist/cjs/lib/organization-switcher.d.cts +6 -3
  106. package/dist/cjs/lib/password-error-utils.cjs +28 -43
  107. package/dist/cjs/lib/password-error-utils.cjs.map +1 -1
  108. package/dist/cjs/lib/password-error-utils.d.cts +3 -13
  109. package/dist/cjs/lib/pipes-admin.cjs +109 -79
  110. package/dist/cjs/lib/pipes-admin.cjs.map +1 -1
  111. package/dist/cjs/lib/pipes-admin.d.cts +1 -1
  112. package/dist/cjs/lib/pipes.cjs +133 -60
  113. package/dist/cjs/lib/pipes.cjs.map +1 -1
  114. package/dist/cjs/lib/resend-invite-dialog.cjs.map +1 -1
  115. package/dist/cjs/lib/resend-invite-dialog.d.cts +3 -2
  116. package/dist/cjs/lib/reset-mfa-dialog.cjs +11 -3
  117. package/dist/cjs/lib/reset-mfa-dialog.cjs.map +1 -1
  118. package/dist/cjs/lib/revoke-invite-dialog.cjs.map +1 -1
  119. package/dist/cjs/lib/revoke-invite-dialog.d.cts +3 -2
  120. package/dist/cjs/lib/set-password-dialog.cjs +16 -3
  121. package/dist/cjs/lib/set-password-dialog.cjs.map +1 -1
  122. package/dist/cjs/lib/use-security-settings.cjs +5 -25
  123. package/dist/cjs/lib/use-security-settings.cjs.map +1 -1
  124. package/dist/cjs/lib/use-security-settings.d.cts +2 -2
  125. package/dist/cjs/lib/user-actions-dropdown.cjs +2 -6
  126. package/dist/cjs/lib/user-actions-dropdown.cjs.map +1 -1
  127. package/dist/cjs/lib/user-actions-dropdown.d.cts +3 -2
  128. package/dist/cjs/lib/user-api-keys/revoke-user-api-key-dialog.cjs +3 -10
  129. package/dist/cjs/lib/user-api-keys/revoke-user-api-key-dialog.cjs.map +1 -1
  130. package/dist/cjs/lib/user-profile.cjs +10 -5
  131. package/dist/cjs/lib/user-profile.cjs.map +1 -1
  132. package/dist/cjs/lib/user-profile.d.cts +5 -2
  133. package/dist/cjs/lib/user-security.cjs +4 -5
  134. package/dist/cjs/lib/user-security.cjs.map +1 -1
  135. package/dist/cjs/lib/user-security.d.cts +6 -2
  136. package/dist/cjs/lib/user-sessions.cjs +2 -2
  137. package/dist/cjs/lib/user-sessions.cjs.map +1 -1
  138. package/dist/cjs/lib/user-sessions.d.cts +6 -4
  139. package/dist/cjs/lib/users-filter.cjs.map +1 -1
  140. package/dist/cjs/lib/users-filter.d.cts +4 -3
  141. package/dist/cjs/lib/users-management-context.cjs.map +1 -1
  142. package/dist/cjs/lib/users-management-context.d.cts +4 -18
  143. package/dist/cjs/lib/users-management-state.cjs.map +1 -1
  144. package/dist/cjs/lib/users-management-state.d.cts +4 -25
  145. package/dist/cjs/lib/users-management.cjs.map +1 -1
  146. package/dist/cjs/lib/users-management.d.cts +7 -7
  147. package/dist/cjs/lib/view-dns-record-dialog.cjs.map +1 -1
  148. package/dist/cjs/lib/view-dns-record-dialog.d.cts +3 -4
  149. package/dist/cjs/organization-switcher.client.cjs +7 -6
  150. package/dist/cjs/organization-switcher.client.cjs.map +1 -1
  151. package/dist/cjs/organization-switcher.client.d.cts +3 -1
  152. package/dist/cjs/pipes-admin.client.cjs +7 -4
  153. package/dist/cjs/pipes-admin.client.cjs.map +1 -1
  154. package/dist/cjs/pipes.client.cjs +17 -16
  155. package/dist/cjs/pipes.client.cjs.map +1 -1
  156. package/dist/cjs/user-CgBDfSHl.d.cts +502 -0
  157. package/dist/cjs/user-profile.client.cjs +3 -3
  158. package/dist/cjs/user-profile.client.cjs.map +1 -1
  159. package/dist/cjs/user-profile.client.d.cts +4 -1
  160. package/dist/cjs/user-security.client.cjs +25 -14
  161. package/dist/cjs/user-security.client.cjs.map +1 -1
  162. package/dist/cjs/user-security.client.d.cts +2 -0
  163. package/dist/cjs/user-sessions.client.cjs +12 -29
  164. package/dist/cjs/user-sessions.client.cjs.map +1 -1
  165. package/dist/cjs/user-sessions.client.d.cts +2 -0
  166. package/dist/cjs/users-management.client.cjs +1 -4
  167. package/dist/cjs/users-management.client.cjs.map +1 -1
  168. package/dist/cjs/users-management.client.d.cts +4 -1
  169. package/dist/cjs/utils.cjs +2 -1
  170. package/dist/cjs/utils.cjs.map +1 -1
  171. package/dist/esm/admin-portal-audit-log-streaming.client.d.ts +2 -0
  172. package/dist/esm/admin-portal-audit-log-streaming.client.js +20 -23
  173. package/dist/esm/admin-portal-audit-log-streaming.client.js.map +1 -1
  174. package/dist/esm/admin-portal-domain-verification.client.d.ts +2 -0
  175. package/dist/esm/admin-portal-domain-verification.client.js +45 -39
  176. package/dist/esm/admin-portal-domain-verification.client.js.map +1 -1
  177. package/dist/esm/admin-portal-sso-connection.client.js +80 -52
  178. package/dist/esm/admin-portal-sso-connection.client.js.map +1 -1
  179. package/dist/esm/api/client-graphql/client.js +2 -1
  180. package/dist/esm/api/client-graphql/client.js.map +1 -1
  181. package/dist/esm/api/client-graphql/generated.d.ts +2989 -7
  182. package/dist/esm/api/client-graphql/generated.js +2203 -0
  183. package/dist/esm/api/client-graphql/generated.js.map +1 -1
  184. package/dist/esm/api/client-graphql/hooks.d.ts +44 -0
  185. package/dist/esm/api/client-graphql/hooks.js +43 -0
  186. package/dist/esm/api/client-graphql/hooks.js.map +1 -0
  187. package/dist/esm/api/endpoint.d.ts +53 -20
  188. package/dist/esm/api/endpoint.js +43 -27
  189. package/dist/esm/api/endpoint.js.map +1 -1
  190. package/dist/esm/api-keys.client.js +4 -2
  191. package/dist/esm/api-keys.client.js.map +1 -1
  192. package/dist/esm/directory-sync.client.js +56 -7
  193. package/dist/esm/directory-sync.client.js.map +1 -1
  194. package/dist/esm/experimental/api/fetch.d.ts +38 -9
  195. package/dist/esm/experimental/api/fetch.js +44 -16
  196. package/dist/esm/experimental/api/fetch.js.map +1 -1
  197. package/dist/esm/experimental/api/react-query.d.ts +57 -24
  198. package/dist/esm/experimental/api/react-query.js +75 -38
  199. package/dist/esm/experimental/api/react-query.js.map +1 -1
  200. package/dist/esm/experimental/api/swr.d.ts +49 -20
  201. package/dist/esm/experimental/api/swr.js +77 -35
  202. package/dist/esm/experimental/api/swr.js.map +1 -1
  203. package/dist/esm/index.d.ts +4 -0
  204. package/dist/esm/lib/add-mfa-dialog.js +39 -36
  205. package/dist/esm/lib/add-mfa-dialog.js.map +1 -1
  206. package/dist/esm/lib/admin-portal-audit-log-streaming.d.ts +5 -3
  207. package/dist/esm/lib/admin-portal-audit-log-streaming.js.map +1 -1
  208. package/dist/esm/lib/admin-portal-domain-verification.d.ts +4 -2
  209. package/dist/esm/lib/admin-portal-domain-verification.js.map +1 -1
  210. package/dist/esm/lib/api/api-key.d.ts +20 -9
  211. package/dist/esm/lib/api/api-key.js +124 -49
  212. package/dist/esm/lib/api/api-key.js.map +1 -1
  213. package/dist/esm/lib/api/me.d.ts +37 -0
  214. package/dist/esm/lib/api/me.js +37 -0
  215. package/dist/esm/lib/api/me.js.map +1 -0
  216. package/dist/esm/lib/api/pipes.d.ts +69 -0
  217. package/dist/esm/lib/api/pipes.js +380 -0
  218. package/dist/esm/lib/api/pipes.js.map +1 -0
  219. package/dist/esm/lib/api/user-api-key.d.ts +17 -12
  220. package/dist/esm/lib/api/user-api-key.js +113 -52
  221. package/dist/esm/lib/api/user-api-key.js.map +1 -1
  222. package/dist/esm/lib/api/user.d.ts +4 -25
  223. package/dist/esm/lib/api/user.js +173 -59
  224. package/dist/esm/lib/api/user.js.map +1 -1
  225. package/dist/esm/lib/api-keys/api-key-details-dialog.js +1 -3
  226. package/dist/esm/lib/api-keys/api-key-details-dialog.js.map +1 -1
  227. package/dist/esm/lib/api-keys/create-api-key.js +2 -2
  228. package/dist/esm/lib/api-keys/create-api-key.js.map +1 -1
  229. package/dist/esm/lib/api-keys/revoke-api-key-dialog.js +5 -15
  230. package/dist/esm/lib/api-keys/revoke-api-key-dialog.js.map +1 -1
  231. package/dist/esm/lib/change-email-dialog.d.ts +4 -3
  232. package/dist/esm/lib/change-email-dialog.js +39 -31
  233. package/dist/esm/lib/change-email-dialog.js.map +1 -1
  234. package/dist/esm/lib/change-password-dialog.js +14 -13
  235. package/dist/esm/lib/change-password-dialog.js.map +1 -1
  236. package/dist/esm/lib/client-graphql-result.d.ts +32 -0
  237. package/dist/esm/lib/client-graphql-result.js +89 -0
  238. package/dist/esm/lib/client-graphql-result.js.map +1 -0
  239. package/dist/esm/lib/delete-domain-dialog.d.ts +3 -4
  240. package/dist/esm/lib/delete-domain-dialog.js.map +1 -1
  241. package/dist/esm/lib/delete-user-dialog.d.ts +3 -2
  242. package/dist/esm/lib/delete-user-dialog.js.map +1 -1
  243. package/dist/esm/lib/directory-sync.d.ts +23 -5
  244. package/dist/esm/lib/directory-sync.js +46 -14
  245. package/dist/esm/lib/directory-sync.js.map +1 -1
  246. package/dist/esm/lib/domain-actions.d.ts +3 -4
  247. package/dist/esm/lib/domain-actions.js.map +1 -1
  248. package/dist/esm/lib/domain-item.d.ts +3 -4
  249. package/dist/esm/lib/domain-item.js.map +1 -1
  250. package/dist/esm/lib/edit-user-profile-dialog.d.ts +4 -3
  251. package/dist/esm/lib/edit-user-profile-dialog.js +19 -19
  252. package/dist/esm/lib/edit-user-profile-dialog.js.map +1 -1
  253. package/dist/esm/lib/edit-user-role-dialog.d.ts +5 -4
  254. package/dist/esm/lib/edit-user-role-dialog.js +7 -11
  255. package/dist/esm/lib/edit-user-role-dialog.js.map +1 -1
  256. package/dist/esm/lib/elevated-access.d.ts +1 -1
  257. package/dist/esm/lib/elevated-access.js +20 -11
  258. package/dist/esm/lib/elevated-access.js.map +1 -1
  259. package/dist/esm/lib/invite-user-dialog.js +10 -16
  260. package/dist/esm/lib/invite-user-dialog.js.map +1 -1
  261. package/dist/esm/lib/logout-all-sessions-dialog.d.ts +2 -2
  262. package/dist/esm/lib/logout-all-sessions-dialog.js +16 -5
  263. package/dist/esm/lib/logout-all-sessions-dialog.js.map +1 -1
  264. package/dist/esm/lib/logout-dialog.d.ts +3 -4
  265. package/dist/esm/lib/logout-dialog.js +12 -8
  266. package/dist/esm/lib/logout-dialog.js.map +1 -1
  267. package/dist/esm/lib/name-server-icon.d.ts +3 -4
  268. package/dist/esm/lib/name-server-icon.js.map +1 -1
  269. package/dist/esm/lib/oauth-icons.d.ts +2 -1
  270. package/dist/esm/lib/oauth-icons.js +11 -1
  271. package/dist/esm/lib/oauth-icons.js.map +1 -1
  272. package/dist/esm/lib/organization-switcher.d.ts +6 -3
  273. package/dist/esm/lib/organization-switcher.js +3 -3
  274. package/dist/esm/lib/organization-switcher.js.map +1 -1
  275. package/dist/esm/lib/password-error-utils.d.ts +3 -13
  276. package/dist/esm/lib/password-error-utils.js +28 -43
  277. package/dist/esm/lib/password-error-utils.js.map +1 -1
  278. package/dist/esm/lib/pipes-admin.d.ts +1 -1
  279. package/dist/esm/lib/pipes-admin.js +105 -78
  280. package/dist/esm/lib/pipes-admin.js.map +1 -1
  281. package/dist/esm/lib/pipes.js +140 -71
  282. package/dist/esm/lib/pipes.js.map +1 -1
  283. package/dist/esm/lib/resend-invite-dialog.d.ts +3 -2
  284. package/dist/esm/lib/resend-invite-dialog.js.map +1 -1
  285. package/dist/esm/lib/reset-mfa-dialog.js +11 -3
  286. package/dist/esm/lib/reset-mfa-dialog.js.map +1 -1
  287. package/dist/esm/lib/revoke-invite-dialog.d.ts +3 -2
  288. package/dist/esm/lib/revoke-invite-dialog.js.map +1 -1
  289. package/dist/esm/lib/set-password-dialog.js +16 -3
  290. package/dist/esm/lib/set-password-dialog.js.map +1 -1
  291. package/dist/esm/lib/use-security-settings.d.ts +2 -2
  292. package/dist/esm/lib/use-security-settings.js +5 -27
  293. package/dist/esm/lib/use-security-settings.js.map +1 -1
  294. package/dist/esm/lib/user-actions-dropdown.d.ts +3 -2
  295. package/dist/esm/lib/user-actions-dropdown.js +2 -6
  296. package/dist/esm/lib/user-actions-dropdown.js.map +1 -1
  297. package/dist/esm/lib/user-api-keys/revoke-user-api-key-dialog.js +3 -11
  298. package/dist/esm/lib/user-api-keys/revoke-user-api-key-dialog.js.map +1 -1
  299. package/dist/esm/lib/user-profile.d.ts +5 -2
  300. package/dist/esm/lib/user-profile.js +15 -6
  301. package/dist/esm/lib/user-profile.js.map +1 -1
  302. package/dist/esm/lib/user-security.d.ts +6 -2
  303. package/dist/esm/lib/user-security.js +4 -5
  304. package/dist/esm/lib/user-security.js.map +1 -1
  305. package/dist/esm/lib/user-sessions.d.ts +6 -4
  306. package/dist/esm/lib/user-sessions.js +2 -2
  307. package/dist/esm/lib/user-sessions.js.map +1 -1
  308. package/dist/esm/lib/users-filter.d.ts +4 -3
  309. package/dist/esm/lib/users-filter.js.map +1 -1
  310. package/dist/esm/lib/users-management-context.d.ts +4 -18
  311. package/dist/esm/lib/users-management-context.js.map +1 -1
  312. package/dist/esm/lib/users-management-state.d.ts +4 -25
  313. package/dist/esm/lib/users-management-state.js.map +1 -1
  314. package/dist/esm/lib/users-management.d.ts +7 -7
  315. package/dist/esm/lib/users-management.js.map +1 -1
  316. package/dist/esm/lib/view-dns-record-dialog.d.ts +3 -4
  317. package/dist/esm/lib/view-dns-record-dialog.js.map +1 -1
  318. package/dist/esm/organization-switcher.client.d.ts +3 -1
  319. package/dist/esm/organization-switcher.client.js +10 -6
  320. package/dist/esm/organization-switcher.client.js.map +1 -1
  321. package/dist/esm/pipes-admin.client.js +10 -4
  322. package/dist/esm/pipes-admin.client.js.map +1 -1
  323. package/dist/esm/pipes.client.js +17 -14
  324. package/dist/esm/pipes.client.js.map +1 -1
  325. package/dist/esm/user-BE5sIud6.d.ts +502 -0
  326. package/dist/esm/user-profile.client.d.ts +4 -1
  327. package/dist/esm/user-profile.client.js +2 -2
  328. package/dist/esm/user-profile.client.js.map +1 -1
  329. package/dist/esm/user-security.client.d.ts +2 -0
  330. package/dist/esm/user-security.client.js +28 -14
  331. package/dist/esm/user-security.client.js.map +1 -1
  332. package/dist/esm/user-sessions.client.d.ts +2 -0
  333. package/dist/esm/user-sessions.client.js +16 -30
  334. package/dist/esm/user-sessions.client.js.map +1 -1
  335. package/dist/esm/users-management.client.d.ts +4 -1
  336. package/dist/esm/users-management.client.js +2 -5
  337. package/dist/esm/users-management.client.js.map +1 -1
  338. package/dist/esm/utils.js +2 -1
  339. package/dist/esm/utils.js.map +1 -1
  340. package/package.json +1 -1
@@ -66,12 +66,31 @@ type AdminPortalLink = {
66
66
  link: Scalars["String"]["output"];
67
67
  };
68
68
  /** The Admin Portal setup flow a link is scoped to. */
69
- type AdminPortalLinkIntent = "DomainVerification" | "LogStreams" | "Sso";
69
+ type AdminPortalLinkIntent = "DomainVerification" | "Dsync" | "LogStreams" | "Sso";
70
70
  /** All other sessions were revoked successfully. */
71
71
  type AllSessionsRevoked = {
72
72
  __typename?: "AllSessionsRevoked";
73
73
  success: Scalars["Boolean"]["output"];
74
74
  };
75
+ /** The key is already expired, so its expiration cannot change. */
76
+ type ApiKeyAlreadyExpired = {
77
+ __typename?: "ApiKeyAlreadyExpired";
78
+ apiKeyId: Scalars["ID"]["output"];
79
+ };
80
+ /** One or more requested permission slugs are not held by the caller. A key never carries more than the caller minting it holds, so the caller must be granted a permission before it can grant it to a key. */
81
+ type ApiKeyPermissionsNotHeld = {
82
+ __typename?: "ApiKeyPermissionsNotHeld";
83
+ message: Scalars["String"]["output"];
84
+ /** The requested permission slugs the caller does not hold. */
85
+ unheldPermissions: Array<Scalars["String"]["output"]>;
86
+ };
87
+ /** The token cannot grant permissions to a key. The caller is not acting as a member of the organization, so there is no set of held permissions to bound the key to; such a token can only create a key with no permissions. */
88
+ type ApiKeyPermissionsUnsupportedForToken = {
89
+ __typename?: "ApiKeyPermissionsUnsupportedForToken";
90
+ message: Scalars["String"]["output"];
91
+ /** The permission slugs that were requested for the key. */
92
+ requestedPermissions: Array<Scalars["String"]["output"]>;
93
+ };
75
94
  type AssignPermissionToRoleInput = {
76
95
  /** The slug of the permission to assign. */
77
96
  permissionSlug: Scalars["String"]["input"];
@@ -169,6 +188,48 @@ type Branding = {
169
188
  /** The fully resolved light-mode logo URL, or null when it is not configured. */
170
189
  logoLightPath?: Maybe<Scalars["String"]["output"]>;
171
190
  };
191
+ /** A data provider members connect individually, with the token's organization's configuration of it. */
192
+ type ConfigurableDataProvider = {
193
+ __typename?: "ConfigurableDataProvider";
194
+ /** How accounts authenticate with this data provider. */
195
+ authMethods: Array<Scalars["String"]["output"]>;
196
+ /** Every scope the organization may request. Only populated for providers where the organization brings its own OAuth credentials; empty otherwise. */
197
+ availableScopes: Array<Scalars["String"]["output"]>;
198
+ /** The non-secret configuration values pinned for the token's organization. */
199
+ config: Array<DataProviderConfigEntry>;
200
+ /** The configuration fields the provider declares. */
201
+ configFields: Array<DataProviderConfigField>;
202
+ createdAt: Scalars["DateTime"]["output"];
203
+ /** The redacted OAuth application credentials configured for the token's organization. */
204
+ credentials: DataProviderCredentials;
205
+ /** Who supplies the OAuth application: `shared` (WorkOS), `custom` (the developer), or `organization` (the organization itself). */
206
+ credentialsType: Scalars["String"]["output"];
207
+ /** The scopes the developer configured, before any organization override. */
208
+ defaultScopes: Array<Scalars["String"]["output"]>;
209
+ description?: Maybe<Scalars["String"]["output"]>;
210
+ /** Whether members may connect this provider: the organization's override when one exists, otherwise the developer default. */
211
+ enabled: Scalars["Boolean"]["output"];
212
+ /** The URL of the provider logo for dark backgrounds, when one is served. */
213
+ iconDarkUrl?: Maybe<Scalars["String"]["output"]>;
214
+ /** The slug of the provider's icon in the widget icon set. Falls back to the provider type. */
215
+ iconSlug?: Maybe<Scalars["String"]["output"]>;
216
+ /** The URL of the provider logo for light backgrounds, when one is served. */
217
+ iconUrl?: Maybe<Scalars["String"]["output"]>;
218
+ id: Scalars["ID"]["output"];
219
+ integrationType: Scalars["String"]["output"];
220
+ name: Scalars["String"]["output"];
221
+ /** The organization's override when set, otherwise the developer default. */
222
+ scopes?: Maybe<Array<Scalars["String"]["output"]>>;
223
+ slug: Scalars["String"]["output"];
224
+ /** The configuration state of the data provider: `valid`, `invalid`, or `requested`. */
225
+ state: Scalars["String"]["output"];
226
+ updatedAt: Scalars["DateTime"]["output"];
227
+ };
228
+ type ConfigurableDataProviderList = {
229
+ __typename?: "ConfigurableDataProviderList";
230
+ data: Array<ConfigurableDataProvider>;
231
+ listMetadata: ListMetadata;
232
+ };
172
233
  /** Input for confirming an email change with the verification code. */
173
234
  type ConfirmEmailChangeInput = {
174
235
  /** The verification code sent to the new email address. */
@@ -185,9 +246,27 @@ type ConnectDataProviderWithClientCredentialsInput = {
185
246
  clientSecret: Scalars["String"]["input"];
186
247
  /** Values for the provider’s connection configuration fields. */
187
248
  config?: InputMaybe<Array<DataProviderConfigEntryInput>>;
249
+ /** The exact connection to reauthorize. Required with Reauthorize and forbidden otherwise. */
250
+ connectedAccountId?: InputMaybe<Scalars["ID"]["input"]>;
251
+ /** Set to Add to create another connection. Omit for permanent compatibility behavior. */
252
+ connectionIntent?: InputMaybe<ConnectionIntent>;
188
253
  /** The data provider to connect the authenticated user to. */
189
254
  dataProviderId: Scalars["ID"]["input"];
190
255
  };
256
+ type ConnectOrganizationDataProviderWithClientCredentialsInput = {
257
+ /** The OAuth client ID issued by the data provider. Only data providers whose `authMethods` include `client_credentials` can be connected this way. */
258
+ clientId: Scalars["String"]["input"];
259
+ /** The OAuth client secret issued by the data provider, shared by every member of the organization. Write-only: it is stored encrypted and never returned. */
260
+ clientSecret: Scalars["String"]["input"];
261
+ /** Values for the provider’s connection configuration fields. */
262
+ config?: InputMaybe<Array<DataProviderConfigEntryInput>>;
263
+ /** The exact connection to reauthorize. Required with Reauthorize and forbidden otherwise. */
264
+ connectedAccountId?: InputMaybe<Scalars["ID"]["input"]>;
265
+ /** Set to Add to create another connection. Omit for permanent compatibility behavior. */
266
+ connectionIntent?: InputMaybe<ConnectionIntent>;
267
+ /** The organization-owned data provider to connect (`organizationDataProviders`). */
268
+ dataProviderId: Scalars["ID"]["input"];
269
+ };
191
270
  /** An OAuth profile linked to the authenticated user. */
192
271
  type ConnectedAccount = {
193
272
  __typename?: "ConnectedAccount";
@@ -204,10 +283,18 @@ type Connection = {
204
283
  __typename?: "Connection";
205
284
  createdAt: Scalars["DateTime"]["output"];
206
285
  id: Scalars["ID"]["output"];
286
+ /** The most recent sign-in session through this connection, if any. */
287
+ lastSession?: Maybe<SsoConnectionSession>;
288
+ /** The most recently expired SAML certificate when the connection has no valid certificate left, if any. Always null for OpenID Connect connections. */
289
+ latestExpiredCertificate?: Maybe<X509Certificate>;
290
+ /** The connection's longest-lived unexpired SAML certificate when it expires within the next three months, if any. Null when a certificate valid beyond that window exists. Always null for OpenID Connect connections. */
291
+ latestExpiringCertificate?: Maybe<X509Certificate>;
207
292
  /** A human-readable name for the connection. */
208
293
  name: Scalars["String"]["output"];
209
294
  /** The organization the connection belongs to. */
210
295
  organizationId?: Maybe<Scalars["ID"]["output"]>;
296
+ /** Whether the connection speaks SAML or OpenID Connect. */
297
+ providerTag: SsoProviderTag;
211
298
  /** Whether the connection has completed its IdP setup and can authenticate users (equivalent to an `Active` state). */
212
299
  setupComplete: Scalars["Boolean"]["output"];
213
300
  /** The connection's IdP setup status. `Active` indicates setup is complete; other states indicate where the connection is in its setup flow. */
@@ -216,10 +303,21 @@ type Connection = {
216
303
  type: ConnectionType;
217
304
  updatedAt: Scalars["DateTime"]["output"];
218
305
  };
306
+ /** An explicit request to add another connection or reauthorize one exact connection. Omit it for permanent compatibility behavior. */
307
+ type ConnectionIntent = "Add" | "Reauthorize";
219
308
  /** Enum represents the state of the connection. */
220
309
  type ConnectionState = "Active" | "Deleting" | "Inactive" | "Validating";
221
310
  /** Enum represents the type of connection. */
222
311
  type ConnectionType = "ADFSSAML" | "AdpOidc" | "AppleOAuth" | "Auth0Migration" | "Auth0SAML" | "AzureSAML" | "BitbucketOAuth" | "CasSAML" | "ClassLinkSAML" | "CleverOIDC" | "CloudflareSAML" | "CyberArkSAML" | "DiscordOAuth" | "DuoSAML" | "EntraIdOIDC" | "GenericOIDC" | "GenericSAML" | "GitLabOAuth" | "GithubOAuth" | "GoogleOAuth" | "GoogleOIDC" | "GoogleSAML" | "GrokOAuth" | "IntuitOAuth" | "JumpCloudSAML" | "KeycloakSAML" | "LastPassSAML" | "LinkedInOAuth" | "LoginGovOidc" | "MagicLink" | "MicrosoftOAuth" | "MiniOrangeSAML" | "NetIqSAML" | "OktaOIDC" | "OktaSAML" | "OneLoginSAML" | "OracleSAML" | "PingFederateSAML" | "PingOneSAML" | "RipplingSAML" | "SalesforceOAuth" | "SalesforceSAML" | "ShibbolethGenericSAML" | "ShibbolethSAML" | "SimpleSamlPhpSAML" | "SlackOAuth" | "TestIdp" | "VMwareSAML" | "VercelMarketplaceOAuth" | "VercelOAuth" | "XOAuth" | "XeroOAuth";
312
+ /** Input for creating an API key. The organization is taken from the token, never from an argument. */
313
+ type CreateApiKeyInput = {
314
+ /** When the key should expire. Must be in the future. Omit for a key that never expires. */
315
+ expiresAt?: InputMaybe<Scalars["DateTime"]["input"]>;
316
+ /** The human-readable name of the key. */
317
+ name: Scalars["String"]["input"];
318
+ /** The permission slugs to grant the key. Each slug must be enabled for API keys in the environment, and must be a permission the caller itself holds. Defaults to no permissions. */
319
+ permissions?: InputMaybe<Array<Scalars["String"]["input"]>>;
320
+ };
223
321
  type CreateAuditLogExportInput = {
224
322
  actions?: InputMaybe<Array<Scalars["String"]["input"]>>;
225
323
  actorIds?: InputMaybe<Array<Scalars["String"]["input"]>>;
@@ -242,15 +340,30 @@ type CreateDataProviderAuthorizationResult = DataProviderAuthorization | DataPro
242
340
  type CreateDataProviderConnectionInput = {
243
341
  /** The API key issued by the data provider. Only data providers whose `authMethods` include `api_key` can be connected this way; OAuth providers are connected through the widget's authorization flow. */
244
342
  apiKey: Scalars["String"]["input"];
343
+ /** The exact connection to reauthorize. Required with Reauthorize and forbidden otherwise. */
344
+ connectedAccountId?: InputMaybe<Scalars["ID"]["input"]>;
345
+ /** Set to Add to create another connection. Omit for permanent compatibility behavior. */
346
+ connectionIntent?: InputMaybe<ConnectionIntent>;
245
347
  /** The data provider to connect the authenticated user to. */
246
348
  dataProviderId: Scalars["ID"]["input"];
247
349
  };
350
+ type CreateOrganizationApiKeyResult = ApiKeyPermissionsNotHeld | ApiKeyPermissionsUnsupportedForToken | InvalidApiKeyExpiration | InvalidApiKeyName | InvalidApiKeyPermissions | OrganizationApiKeyCreated;
248
351
  type CreateOrganizationDataProviderAuthorizationInput = {
249
352
  /** Values for the provider’s connect-time configuration fields. Omit when the provider declares none. */
250
353
  config?: InputMaybe<Array<DataProviderConfigEntryInput>>;
251
354
  /** The organization-owned data provider to authorize (`organizationDataProviders`). */
252
355
  dataProviderId: Scalars["ID"]["input"];
253
356
  };
357
+ type CreateOrganizationDataProviderConnectionInput = {
358
+ /** The API key issued by the data provider, shared by every member of the organization. Only data providers whose `authMethods` include `api_key` can be connected this way. Write-only: it is stored encrypted and never returned. */
359
+ apiKey: Scalars["String"]["input"];
360
+ /** The exact connection to reauthorize. Required with Reauthorize and forbidden otherwise. */
361
+ connectedAccountId?: InputMaybe<Scalars["ID"]["input"]>;
362
+ /** Set to Add to create another connection. Omit for permanent compatibility behavior. */
363
+ connectionIntent?: InputMaybe<ConnectionIntent>;
364
+ /** The organization-owned data provider to connect (`organizationDataProviders`). */
365
+ dataProviderId: Scalars["ID"]["input"];
366
+ };
254
367
  /** Input for setting a password on an account that does not yet have one (e.g. signed up via OAuth). */
255
368
  type CreatePasswordInput = {
256
369
  /** An elevated access token obtained by verifying the current email address. Required to prove recent re-authentication. */
@@ -275,6 +388,7 @@ type CreateSsoConnectionInput = {
275
388
  /** The identity provider type of the connection to create. */
276
389
  type: ConnectionType;
277
390
  };
391
+ type CreateUserApiKeyResult = ApiKeyPermissionsNotHeld | ApiKeyPermissionsUnsupportedForToken | InvalidApiKeyExpiration | InvalidApiKeyName | InvalidApiKeyPermissions | UserApiKeyCreated;
278
392
  /** The current email was verified successfully. */
279
393
  type CurrentEmailVerified = {
280
394
  __typename?: "CurrentEmailVerified";
@@ -288,15 +402,29 @@ type DailyEmailQuotaExceeded = {
288
402
  __typename?: "DailyEmailQuotaExceeded";
289
403
  message: Scalars["String"]["output"];
290
404
  };
405
+ /** Whether a data installation is the compatibility connection or a standard connection. */
406
+ type DataInstallationConnectionRole = "Compatibility" | "Standard";
291
407
  /** A third-party data provider configured for the current environment. */
292
408
  type DataProvider = {
293
409
  __typename?: "DataProvider";
294
410
  /** How accounts authenticate with this data provider. */
295
411
  authMethods: Array<Scalars["String"]["output"]>;
412
+ /** The non-secret configuration values pinned for the token's organization (or by the developer, for a provider whose credentials the developer manages). */
413
+ config: Array<DataProviderConfigEntry>;
414
+ /** The configuration fields the provider declares. */
415
+ configFields: Array<DataProviderConfigField>;
296
416
  createdAt: Scalars["DateTime"]["output"];
417
+ /** Who supplies the OAuth application: `shared` (WorkOS), `custom` (the developer), or `organization` (the organization itself). */
418
+ credentialsType: Scalars["String"]["output"];
297
419
  description?: Maybe<Scalars["String"]["output"]>;
298
- /** Whether the data provider is enabled in the environment. */
420
+ /** Whether the data provider is enabled for the token's organization: it must be enabled in the environment and not disabled by the organization's override. */
299
421
  enabled: Scalars["Boolean"]["output"];
422
+ /** The URL of the provider logo for dark backgrounds, when one is served. */
423
+ iconDarkUrl?: Maybe<Scalars["String"]["output"]>;
424
+ /** The slug of the provider's icon in the widget icon set. Falls back to the provider type. */
425
+ iconSlug?: Maybe<Scalars["String"]["output"]>;
426
+ /** The URL of the provider logo for light backgrounds, when one is served. */
427
+ iconUrl?: Maybe<Scalars["String"]["output"]>;
300
428
  id: Scalars["ID"]["output"];
301
429
  /** The provider type this data provider was created from. */
302
430
  integrationType: Scalars["String"]["output"];
@@ -357,6 +485,30 @@ type DataProviderConfigEntryInput = {
357
485
  /** The value to set for the field. */
358
486
  value: Scalars["String"]["input"];
359
487
  };
488
+ /** A configuration field a data provider declares, describing a value collected when the provider is configured or connected. */
489
+ type DataProviderConfigField = {
490
+ __typename?: "DataProviderConfigField";
491
+ /** The value used when the field is left unset. */
492
+ default?: Maybe<Scalars["String"]["output"]>;
493
+ description?: Maybe<Scalars["String"]["output"]>;
494
+ /** An example value, for display only. */
495
+ example?: Maybe<Scalars["String"]["output"]>;
496
+ /** The name of the field. Matches `name` on the corresponding config entry. */
497
+ key: Scalars["String"]["output"];
498
+ /** The label to show for the field. */
499
+ label: Scalars["String"]["output"];
500
+ /** The position of the field relative to its siblings. */
501
+ order?: Maybe<Scalars["Int"]["output"]>;
502
+ /** A regular expression the value must match. */
503
+ pattern?: Maybe<Scalars["String"]["output"]>;
504
+ /** The flags to apply `pattern` with (`i` and/or `u`). */
505
+ patternFlags?: Maybe<Scalars["String"]["output"]>;
506
+ required: Scalars["Boolean"]["output"];
507
+ /** Whether the value is set once for the data provider (`integration`) or collected from each account that connects (`installation`). */
508
+ scope: Scalars["String"]["output"];
509
+ /** Whether the value is sensitive, so it is masked on input. Secret `installation`-scope values are never read back on a connection. */
510
+ secret?: Maybe<Scalars["Boolean"]["output"]>;
511
+ };
360
512
  /** The supplied configuration does not satisfy the provider’s declared fields. */
361
513
  type DataProviderConfigInvalid = {
362
514
  __typename?: "DataProviderConfigInvalid";
@@ -387,11 +539,27 @@ type DataProviderConnected = {
387
539
  __typename?: "DataProviderConnected";
388
540
  connection: DataProviderConnection;
389
541
  };
390
- /** A connection between a data provider and the authenticated user's account. */
542
+ /** A connection between a data provider and a user or organization. */
391
543
  type DataProviderConnection = {
392
544
  __typename?: "DataProviderConnection";
545
+ /** A mutable, non-unique display name for this connection. */
546
+ accountDisplayName?: Maybe<Scalars["String"]["output"]>;
547
+ /** A best-effort provider account identifier used for correlation, not connection selection. */
548
+ accountIdentifier?: Maybe<Scalars["String"]["output"]>;
549
+ /** The last four characters of the API key of an `api_key` connection, to recognise it by. The key itself is never returned. */
550
+ apiKeyLast4?: Maybe<Scalars["String"]["output"]>;
393
551
  /** How the connection authenticates: `oauth`, `api_key`, or `client_credentials`. */
394
552
  authMethod: Scalars["String"]["output"];
553
+ /** Whether the connection can be used right now: `available`, or `needs_admin_attention` when it must be re-authorized first. */
554
+ availability: Scalars["String"]["output"];
555
+ /** The OAuth client ID of a `client_credentials` connection. Null for other auth methods. */
556
+ clientId?: Maybe<Scalars["String"]["output"]>;
557
+ /** The last four characters of the OAuth client secret of a `client_credentials` connection, to recognise it by. The secret itself is never returned. */
558
+ clientSecretLast4?: Maybe<Scalars["String"]["output"]>;
559
+ /** The non-secret connection-scope configuration values supplied when a `client_credentials` connection was created. Empty for other auth methods. */
560
+ config: Array<DataProviderConfigEntry>;
561
+ /** Whether this is the compatibility connection or a standard connection. */
562
+ connectionRole: DataInstallationConnectionRole;
395
563
  createdAt: Scalars["DateTime"]["output"];
396
564
  /** The data provider this connection was created for. */
397
565
  dataProviderId: Scalars["ID"]["output"];
@@ -406,7 +574,7 @@ type DataProviderConnection = {
406
574
  updatedAt: Scalars["DateTime"]["output"];
407
575
  userId?: Maybe<Scalars["ID"]["output"]>;
408
576
  };
409
- /** The user already has a connection to this data provider that authenticates differently, so it must be disconnected first. */
577
+ /** The connection owner already has a connection to this data provider that authenticates differently, so it must be disconnected first. */
410
578
  type DataProviderConnectionAuthMethodConflict = {
411
579
  __typename?: "DataProviderConnectionAuthMethodConflict";
412
580
  /** How the existing connection authenticates. */
@@ -417,6 +585,20 @@ type DataProviderConnectionList = {
417
585
  data: Array<DataProviderConnection>;
418
586
  listMetadata: ListMetadata;
419
587
  };
588
+ /** The OAuth application credentials configured for a data provider in the token's organization, redacted to what an admin needs to recognise them. */
589
+ type DataProviderCredentials = {
590
+ __typename?: "DataProviderCredentials";
591
+ /** The OAuth client ID the organization supplied. Null unless the organization brings its own credentials. */
592
+ clientId?: Maybe<Scalars["String"]["output"]>;
593
+ /** Who supplies the OAuth application: `shared` (WorkOS), `custom` (the developer), or `organization` (the organization itself). */
594
+ credentialsType: Scalars["String"]["output"];
595
+ /** Whether the organization has supplied its own OAuth client credentials. Always false for a provider whose credentials the developer manages. */
596
+ hasCredentials: Scalars["Boolean"]["output"];
597
+ /** The last four characters of the OAuth client secret the organization supplied, to recognise it by. The secret itself is never returned. */
598
+ redactedClientSecret?: Maybe<Scalars["String"]["output"]>;
599
+ /** The redirect URI to register with the provider when creating an OAuth application. */
600
+ redirectUri: Scalars["String"]["output"];
601
+ };
420
602
  type DataProviderList = {
421
603
  __typename?: "DataProviderList";
422
604
  data: Array<DataProvider>;
@@ -440,6 +622,10 @@ type Directory = {
440
622
  createdAt: Scalars["DateTime"]["output"];
441
623
  externalKey: Scalars["String"]["output"];
442
624
  id: Scalars["ID"]["output"];
625
+ /** When the most recent sync run for the directory was last updated, or null if no sync run has started. */
626
+ lastSyncRunAt?: Maybe<Scalars["DateTime"]["output"]>;
627
+ /** Counts of the users and groups provisioned through the directory. */
628
+ metadata: DirectoryMetadata;
443
629
  name: Scalars["String"]["output"];
444
630
  organizationId: Scalars["ID"]["output"];
445
631
  /** The linking state of the directory. */
@@ -470,6 +656,12 @@ type DirectoryList = {
470
656
  data: Array<Directory>;
471
657
  listMetadata: ListMetadata;
472
658
  };
659
+ /** Counts of the users and groups provisioned through a directory. */
660
+ type DirectoryMetadata = {
661
+ __typename?: "DirectoryMetadata";
662
+ groups: Scalars["Int"]["output"];
663
+ users: DirectoryUsersMetadata;
664
+ };
473
665
  /** A user provisioned through a Directory Sync connection. */
474
666
  type DirectoryUser = {
475
667
  __typename?: "DirectoryUser";
@@ -492,6 +684,12 @@ type DirectoryUserList = {
492
684
  data: Array<DirectoryUser>;
493
685
  listMetadata: ListMetadata;
494
686
  };
687
+ /** Counts of the users provisioned through a directory, by state. */
688
+ type DirectoryUsersMetadata = {
689
+ __typename?: "DirectoryUsersMetadata";
690
+ active: Scalars["Int"]["output"];
691
+ inactive: Scalars["Int"]["output"];
692
+ };
495
693
  /** The DNS name server provider detected for a domain. */
496
694
  type DomainVerificationNameServer = "AwsRoute53" | "CloudFlare" | "GoDaddy" | "GoogleDomains" | "Other";
497
695
  /** The elevated access token has expired. The user must re-verify their identity. */
@@ -560,6 +758,15 @@ type EnrollTotpInput = {
560
758
  elevatedAccessToken: Scalars["String"]["input"];
561
759
  };
562
760
  type EnrollTotpResult = ElevatedAccessTokenExpired | ElevatedAccessTokenInvalid | TotpAlreadyEnrolled | TotpFactor;
761
+ /** Input for expiring an API key. Expiring revokes the key while retaining it and its audit trail; use the delete mutations to remove it. */
762
+ type ExpireApiKeyInput = {
763
+ /** The ID of the key to expire. */
764
+ apiKeyId: Scalars["ID"]["input"];
765
+ /** When the key should expire. A future date schedules expiration; `null` clears any scheduled expiration; omitting the field, or passing a date in the past, revokes the key immediately. */
766
+ expiresAt?: InputMaybe<Scalars["DateTime"]["input"]>;
767
+ };
768
+ type ExpireOrganizationApiKeyResult = ApiKeyAlreadyExpired | OrganizationApiKeyExpired;
769
+ type ExpireUserApiKeyResult = ApiKeyAlreadyExpired | UserApiKeyExpired;
563
770
  /** A feature flag defined in the project that owns the environment the token was issued for. Mirrors the Feature Flag exposed by the REST feature flags API. */
564
771
  type Flag = {
565
772
  __typename?: "Flag";
@@ -598,6 +805,23 @@ type IncorrectPassword = {
598
805
  __typename?: "IncorrectPassword";
599
806
  _placeholder: Scalars["Boolean"]["output"];
600
807
  };
808
+ /** The requested expiration is not valid. */
809
+ type InvalidApiKeyExpiration = {
810
+ __typename?: "InvalidApiKeyExpiration";
811
+ message: Scalars["String"]["output"];
812
+ };
813
+ /** The provided name is not a valid API key name. */
814
+ type InvalidApiKeyName = {
815
+ __typename?: "InvalidApiKeyName";
816
+ message: Scalars["String"]["output"];
817
+ };
818
+ /** One or more requested permission slugs are not enabled for API keys of this kind in the environment. */
819
+ type InvalidApiKeyPermissions = {
820
+ __typename?: "InvalidApiKeyPermissions";
821
+ /** The permission slugs that were rejected. */
822
+ invalidPermissions: Array<Scalars["String"]["output"]>;
823
+ message: Scalars["String"]["output"];
824
+ };
601
825
  type InvalidAuditLogExportDateRange = {
602
826
  __typename?: "InvalidAuditLogExportDateRange";
603
827
  message: Scalars["String"]["output"];
@@ -718,6 +942,8 @@ type Mutation = {
718
942
  confirmEmailChange: ConfirmEmailChangeResult;
719
943
  /** Connect the authenticated user to a data provider with OAuth client credentials the user supplies. Replaces the credentials when the user already has a client-credentials connection to the data provider, so this is both the connect and the reconnect path. The credentials are stored encrypted and never returned. */
720
944
  connectDataProviderWithClientCredentials: ConnectDataProviderResult;
945
+ /** Connect the token's organization to an organization-owned data provider with OAuth client credentials, producing one connection shared by every member. Replaces the credentials when the organization already has a client-credentials connection to the data provider, so this is both the connect and the reconnect path. The credentials are stored encrypted and never returned. */
946
+ connectOrganizationDataProviderWithClientCredentials: ConnectDataProviderResult;
721
947
  /** Mint a short-lived link that starts an Admin Portal session for the token's organization, scoped to a single setup flow. */
722
948
  createAdminPortalLink: AdminPortalLink;
723
949
  createAuditLogExport: CreateAuditLogExportResult;
@@ -725,8 +951,12 @@ type Mutation = {
725
951
  createDataProviderAuthorization: CreateDataProviderAuthorizationResult;
726
952
  /** Connect the authenticated user to a data provider with an API key the user supplies. Replaces the API key when the user already has an API-key connection to the data provider. */
727
953
  createDataProviderConnection: DataProviderConnection;
954
+ /** Create an API key owned by the token's organization. The plaintext secret is returned exactly once, in this response. */
955
+ createOrganizationApiKey: CreateOrganizationApiKeyResult;
728
956
  /** Start an OAuth authorization connecting the token's organization to an organization-owned data provider, producing one connection shared by every member. A handoff is always required: the member completing the flow must confirm it explicitly because the resulting connection is not their own. */
729
957
  createOrganizationDataProviderAuthorization: CreateDataProviderAuthorizationResult;
958
+ /** Connect the token's organization to an organization-owned data provider with an API key, producing one connection shared by every member. Replaces the API key when the organization already has an API-key connection to the data provider. */
959
+ createOrganizationDataProviderConnection: DataProviderConnection;
730
960
  /** Add a domain to the token's organization and begin DNS verification. */
731
961
  createOrganizationDomain: OrganizationDomain;
732
962
  /** Set a password for the authenticated user who does not yet have one (e.g. signed up via OAuth). Validates against the environment password policy. */
@@ -735,8 +965,14 @@ type Mutation = {
735
965
  createRole: Role;
736
966
  /** Create an SSO connection for the token’s organization. */
737
967
  createSsoConnection: Connection;
968
+ /** Create an API key owned by the token user within the organization the token was issued for. The plaintext secret is returned exactly once, in this response. */
969
+ createUserApiKey: CreateUserApiKeyResult;
738
970
  /** Disconnect one of the authenticated user's data provider connections, revoking the stored credentials. */
739
971
  deleteDataProviderConnection: Scalars["ID"]["output"];
972
+ /** Delete an API key owned by the token's organization and return the deleted key. Unlike expiring, this removes the key entirely. */
973
+ deleteOrganizationApiKey: OrganizationApiKey;
974
+ /** Disconnect one of the token organization's shared data provider connections, revoking the stored credentials for every member. */
975
+ deleteOrganizationDataProviderConnection: Scalars["ID"]["output"];
740
976
  /** Delete a domain belonging to the token's organization and return it. */
741
977
  deleteOrganizationDomain: OrganizationDomain;
742
978
  /** Remove the specified passkey from the authenticated user's account. */
@@ -745,8 +981,14 @@ type Mutation = {
745
981
  deleteRole: RoleDeleted;
746
982
  /** Delete an SSO connection belonging to the token’s organization. */
747
983
  deleteSsoConnection: Scalars["ID"]["output"];
984
+ /** Delete a user-scoped API key and return the deleted key. Unlike expiring, this removes the key entirely. */
985
+ deleteUserApiKey: UserApiKey;
748
986
  /** Create a TOTP factor and return the secret and QR URI for the user to scan. This is step 1 of TOTP enrollment. */
749
987
  enrollTotp: EnrollTotpResult;
988
+ /** Revoke an API key owned by the token's organization by setting its expiration. The key and its audit trail are retained; use `deleteOrganizationApiKey` to remove it. */
989
+ expireOrganizationApiKey: ExpireOrganizationApiKeyResult;
990
+ /** Revoke a user-scoped API key by setting its expiration. The key and its audit trail are retained; use `deleteUserApiKey` to remove it. */
991
+ expireUserApiKey: ExpireUserApiKeyResult;
750
992
  /** Invite a user to the organization the token was issued for, assigning a role and sending the invitation email. */
751
993
  inviteUser: InviteUserResult;
752
994
  /** Begin passkey (WebAuthn) registration for the authenticated user by returning the credential creation options. This is step 1 of the registration ceremony; complete it with `verifyPasskey`. */
@@ -759,7 +1001,7 @@ type Mutation = {
759
1001
  resendInvitation: ResendInvitationResult;
760
1002
  /** Restart verification for a domain belonging to the token's organization. */
761
1003
  reverifyOrganizationDomain: OrganizationDomain;
762
- /** Revokes all active sessions for the authenticated user except the current one. */
1004
+ /** Revokes all active sessions for the authenticated user except the current one and, if provided, `input.currentSessionId`. */
763
1005
  revokeAllSessions: RevokeAllSessionsResult;
764
1006
  /** Revoke a pending invitation for the organization the token was issued for. */
765
1007
  revokeInvitation: RevokeInvitationResult;
@@ -773,6 +1015,8 @@ type Mutation = {
773
1015
  setDataProviderConfiguration: SetDataProviderConfigurationResult;
774
1016
  /** Enable or disable a data provider for the token's organization. Disabling it hides the data provider from the organization's users and stops new connections; existing connections stay readable so they can be disconnected. */
775
1017
  setDataProviderEnabled: DataProvider;
1018
+ /** Write an organization-owned data provider's configuration for the token's organization: whether the organization's shared connection is enabled, the scopes it requests, the organization's own OAuth client credentials, and any non-secret configuration values the provider declares. Fields left out are unchanged. */
1019
+ setOrganizationDataProviderConfiguration: SetDataProviderConfigurationResult;
776
1020
  /** Update an organization member's roles within the organization the token was issued for. When multiple roles are enabled, all provided role slugs are assigned; otherwise only the first is used. */
777
1021
  updateMemberRole: UpdateMemberRoleResult;
778
1022
  /** Change the password for the authenticated user. Requires the current password for verification and validates the new password against the environment password policy. */
@@ -799,6 +1043,9 @@ type MutationConfirmEmailChangeArgs = {
799
1043
  type MutationConnectDataProviderWithClientCredentialsArgs = {
800
1044
  input: ConnectDataProviderWithClientCredentialsInput;
801
1045
  };
1046
+ type MutationConnectOrganizationDataProviderWithClientCredentialsArgs = {
1047
+ input: ConnectOrganizationDataProviderWithClientCredentialsInput;
1048
+ };
802
1049
  type MutationCreateAdminPortalLinkArgs = {
803
1050
  intent: AdminPortalLinkIntent;
804
1051
  };
@@ -811,9 +1058,15 @@ type MutationCreateDataProviderAuthorizationArgs = {
811
1058
  type MutationCreateDataProviderConnectionArgs = {
812
1059
  input: CreateDataProviderConnectionInput;
813
1060
  };
1061
+ type MutationCreateOrganizationApiKeyArgs = {
1062
+ input: CreateApiKeyInput;
1063
+ };
814
1064
  type MutationCreateOrganizationDataProviderAuthorizationArgs = {
815
1065
  input: CreateOrganizationDataProviderAuthorizationInput;
816
1066
  };
1067
+ type MutationCreateOrganizationDataProviderConnectionArgs = {
1068
+ input: CreateOrganizationDataProviderConnectionInput;
1069
+ };
817
1070
  type MutationCreateOrganizationDomainArgs = {
818
1071
  domain: Scalars["String"]["input"];
819
1072
  };
@@ -826,9 +1079,18 @@ type MutationCreateRoleArgs = {
826
1079
  type MutationCreateSsoConnectionArgs = {
827
1080
  input: CreateSsoConnectionInput;
828
1081
  };
1082
+ type MutationCreateUserApiKeyArgs = {
1083
+ input: CreateApiKeyInput;
1084
+ };
829
1085
  type MutationDeleteDataProviderConnectionArgs = {
830
1086
  id: Scalars["ID"]["input"];
831
1087
  };
1088
+ type MutationDeleteOrganizationApiKeyArgs = {
1089
+ apiKeyId: Scalars["ID"]["input"];
1090
+ };
1091
+ type MutationDeleteOrganizationDataProviderConnectionArgs = {
1092
+ id: Scalars["ID"]["input"];
1093
+ };
832
1094
  type MutationDeleteOrganizationDomainArgs = {
833
1095
  id: Scalars["ID"]["input"];
834
1096
  };
@@ -841,9 +1103,18 @@ type MutationDeleteRoleArgs = {
841
1103
  type MutationDeleteSsoConnectionArgs = {
842
1104
  id: Scalars["ID"]["input"];
843
1105
  };
1106
+ type MutationDeleteUserApiKeyArgs = {
1107
+ apiKeyId: Scalars["ID"]["input"];
1108
+ };
844
1109
  type MutationEnrollTotpArgs = {
845
1110
  input: EnrollTotpInput;
846
1111
  };
1112
+ type MutationExpireOrganizationApiKeyArgs = {
1113
+ input: ExpireApiKeyInput;
1114
+ };
1115
+ type MutationExpireUserApiKeyArgs = {
1116
+ input: ExpireApiKeyInput;
1117
+ };
847
1118
  type MutationInviteUserArgs = {
848
1119
  input: InviteUserInput;
849
1120
  };
@@ -862,6 +1133,9 @@ type MutationResendInvitationArgs = {
862
1133
  type MutationReverifyOrganizationDomainArgs = {
863
1134
  id: Scalars["ID"]["input"];
864
1135
  };
1136
+ type MutationRevokeAllSessionsArgs = {
1137
+ input?: InputMaybe<RevokeAllSessionsInput>;
1138
+ };
865
1139
  type MutationRevokeInvitationArgs = {
866
1140
  input: RevokeInvitationInput;
867
1141
  };
@@ -877,6 +1151,9 @@ type MutationSetDataProviderConfigurationArgs = {
877
1151
  type MutationSetDataProviderEnabledArgs = {
878
1152
  input: SetDataProviderEnabledInput;
879
1153
  };
1154
+ type MutationSetOrganizationDataProviderConfigurationArgs = {
1155
+ input: SetOrganizationDataProviderConfigurationInput;
1156
+ };
880
1157
  type MutationUpdateMemberRoleArgs = {
881
1158
  input: UpdateMemberRoleInput;
882
1159
  };
@@ -927,6 +1204,40 @@ type Organization = {
927
1204
  name: Scalars["String"]["output"];
928
1205
  updatedAt: Scalars["DateTime"]["output"];
929
1206
  };
1207
+ /** An API key owned by the organization the token was issued for. A tenant-level credential: it is not tied to any user. */
1208
+ type OrganizationApiKey = {
1209
+ __typename?: "OrganizationApiKey";
1210
+ createdAt: Scalars["DateTime"]["output"];
1211
+ /** When the key expires. A key with an expiration in the past is revoked and can no longer authenticate. */
1212
+ expiresAt?: Maybe<Scalars["DateTime"]["output"]>;
1213
+ id: Scalars["ID"]["output"];
1214
+ /** When the key was last used to authenticate, if ever. */
1215
+ lastUsedAt?: Maybe<Scalars["DateTime"]["output"]>;
1216
+ /** The human-readable name of the key. */
1217
+ name: Scalars["String"]["output"];
1218
+ /** A redacted form of the secret, safe to display. The secret itself is only ever returned when the key is created. */
1219
+ obfuscatedValue: Scalars["String"]["output"];
1220
+ /** The permission slugs the key carries. */
1221
+ permissions: Array<Scalars["String"]["output"]>;
1222
+ updatedAt: Scalars["DateTime"]["output"];
1223
+ };
1224
+ /** The organization API key was created. */
1225
+ type OrganizationApiKeyCreated = {
1226
+ __typename?: "OrganizationApiKeyCreated";
1227
+ apiKey: OrganizationApiKey;
1228
+ /** The plaintext secret, returned exactly once at creation. It is never retrievable again — no query or other mutation returns it. */
1229
+ value: Scalars["String"]["output"];
1230
+ };
1231
+ /** The expiration of the organization API key was updated. The key is retained. */
1232
+ type OrganizationApiKeyExpired = {
1233
+ __typename?: "OrganizationApiKeyExpired";
1234
+ apiKey: OrganizationApiKey;
1235
+ };
1236
+ type OrganizationApiKeyList = {
1237
+ __typename?: "OrganizationApiKeyList";
1238
+ data: Array<OrganizationApiKey>;
1239
+ listMetadata: ListMetadata;
1240
+ };
930
1241
  /** This organization is not allowed to send invites. */
931
1242
  type OrganizationBlockedFromSendingInvites = {
932
1243
  __typename?: "OrganizationBlockedFromSendingInvites";
@@ -937,13 +1248,39 @@ type OrganizationBlockedFromSendingInvites = {
937
1248
  type OrganizationDataProvider = {
938
1249
  __typename?: "OrganizationDataProvider";
939
1250
  authMethods: Array<Scalars["String"]["output"]>;
940
- /** The organization's single shared connection, when it has authorized this data provider. */
1251
+ /** Every scope the organization may request. Only populated for providers where the organization brings its own OAuth credentials; empty otherwise. */
1252
+ availableScopes: Array<Scalars["String"]["output"]>;
1253
+ /** The actions the organization may take on this data provider right now. */
1254
+ capabilities: OrganizationDataProviderCapabilities;
1255
+ /** The non-secret configuration values pinned for the token's organization (or by the developer, for a provider whose credentials the developer manages). */
1256
+ config: Array<DataProviderConfigEntry>;
1257
+ /** The configuration fields the provider declares. */
1258
+ configFields: Array<DataProviderConfigField>;
1259
+ /** Whether the provider can be connected: always true when the developer manages the OAuth application, otherwise true once the organization has supplied a full credential pair. */
1260
+ configured: Scalars["Boolean"]["output"];
1261
+ /** Every shared connection the organization holds to this data provider, in creation order. */
1262
+ connectedAccounts: Array<DataProviderConnection>;
1263
+ /** The organization's sole shared connection, when it has exactly one. Use `connectedAccounts` when several may exist. */
941
1264
  connection?: Maybe<DataProviderConnection>;
942
1265
  createdAt: Scalars["DateTime"]["output"];
1266
+ /** The redacted OAuth application credentials configured for the token's organization, seeding the credentials dialog. */
1267
+ credentials: DataProviderCredentials;
1268
+ /** Who supplies the OAuth application: `shared` (WorkOS), `custom` (the developer), or `organization` (the organization itself). */
1269
+ credentialsType: Scalars["String"]["output"];
1270
+ /** The scopes the developer configured, before any organization override. */
1271
+ defaultScopes: Array<Scalars["String"]["output"]>;
943
1272
  description?: Maybe<Scalars["String"]["output"]>;
1273
+ /** Who disabled the provider when `enabled` is false: `developer` (the environment) or `organization` (the organization override). Null while enabled. */
1274
+ disabledSource?: Maybe<Scalars["String"]["output"]>;
944
1275
  enabled: Scalars["Boolean"]["output"];
945
1276
  /** Whether the organization has supplied its own OAuth client credentials for this data provider. Always false for a provider whose credentials the developer manages. */
946
1277
  hasCredentials: Scalars["Boolean"]["output"];
1278
+ /** The URL of the provider logo for dark backgrounds, when one is served. */
1279
+ iconDarkUrl?: Maybe<Scalars["String"]["output"]>;
1280
+ /** The slug of the provider's icon in the widget icon set. Falls back to the provider type. */
1281
+ iconSlug?: Maybe<Scalars["String"]["output"]>;
1282
+ /** The URL of the provider logo for light backgrounds, when one is served. */
1283
+ iconUrl?: Maybe<Scalars["String"]["output"]>;
947
1284
  id: Scalars["ID"]["output"];
948
1285
  integrationType: Scalars["String"]["output"];
949
1286
  name: Scalars["String"]["output"];
@@ -952,6 +1289,20 @@ type OrganizationDataProvider = {
952
1289
  state: Scalars["String"]["output"];
953
1290
  updatedAt: Scalars["DateTime"]["output"];
954
1291
  };
1292
+ /** The actions the token's organization may take on a data provider right now. */
1293
+ type OrganizationDataProviderCapabilities = {
1294
+ __typename?: "OrganizationDataProviderCapabilities";
1295
+ /** Whether the organization may change the configuration of the data provider. */
1296
+ canConfigure: Scalars["Boolean"]["output"];
1297
+ /** Whether the organization may create a shared connection to the data provider. */
1298
+ canConnect: Scalars["Boolean"]["output"];
1299
+ /** Whether the organization may disconnect a shared connection. */
1300
+ canDisconnect: Scalars["Boolean"]["output"];
1301
+ /** Whether the organization may re-authorize a shared connection that needs it. */
1302
+ canReauthorize: Scalars["Boolean"]["output"];
1303
+ /** Whether the organization may replace its shared connection's API key or client credentials. */
1304
+ canUpdateCredentials: Scalars["Boolean"]["output"];
1305
+ };
955
1306
  type OrganizationDataProviderList = {
956
1307
  __typename?: "OrganizationDataProviderList";
957
1308
  data: Array<OrganizationDataProvider>;
@@ -1000,12 +1351,18 @@ type OrganizationInvitationStatus = "Accepted" | "Expired" | "Pending" | "Revoke
1000
1351
  /** An organization member — a user with their membership status and assigned roles. */
1001
1352
  type OrganizationMember = {
1002
1353
  __typename?: "OrganizationMember";
1354
+ /** The actions the calling user may take on this member. Computed relative to the caller: empty for the caller themselves and for members whose permissions exceed the caller’s. */
1355
+ actions: Array<OrganizationMemberAction>;
1003
1356
  createdAt: Scalars["DateTime"]["output"];
1004
1357
  email: Scalars["String"]["output"];
1005
1358
  emailVerified: Scalars["Boolean"]["output"];
1006
1359
  firstName?: Maybe<Scalars["String"]["output"]>;
1007
1360
  /** The user ID of the member. */
1008
1361
  id: Scalars["ID"]["output"];
1362
+ /** Whether this member is the calling user. */
1363
+ isCurrentUser: Scalars["Boolean"]["output"];
1364
+ /** Whether this member is provisioned by a directory. Directory-managed memberships cannot be revoked. */
1365
+ isDirectoryManaged: Scalars["Boolean"]["output"];
1009
1366
  /** Timestamp of the member's most recent session activity. */
1010
1367
  lastActivityAt?: Maybe<Scalars["DateTime"]["output"]>;
1011
1368
  lastName?: Maybe<Scalars["String"]["output"]>;
@@ -1013,6 +1370,8 @@ type OrganizationMember = {
1013
1370
  roles: Array<OrganizationMemberRole>;
1014
1371
  status: OrganizationMemberStatus;
1015
1372
  };
1373
+ /** An action the calling user is allowed to take on an organization member. */
1374
+ type OrganizationMemberAction = "EditRole" | "ResendInvite" | "RevokeInvite" | "RevokeMembership";
1016
1375
  /** A paginated list of organization members. */
1017
1376
  type OrganizationMemberList = {
1018
1377
  __typename?: "OrganizationMemberList";
@@ -1169,6 +1528,8 @@ type Query = {
1169
1528
  branding: Branding;
1170
1529
  /** Placeholder query for the Client GraphQL API scaffold. Returns a static value and is replaced by real resolvers. */
1171
1530
  clientApiStatus: Scalars["String"]["output"];
1531
+ /** List the data providers the token's organization can configure for its members, with the organization's current configuration of each. */
1532
+ configurableDataProviders: ConfigurableDataProviderList;
1172
1533
  /** Return a data provider by ID within the token's environment. */
1173
1534
  dataProvider: DataProvider;
1174
1535
  /** Report whether an authorization attempt is still outstanding. Poll this with the `state` returned when the authorization was created while the popup is open; it flips to `connecting: false` once the provider callback has been handled or the attempt expired. */
@@ -1201,6 +1562,8 @@ type Query = {
1201
1562
  me: User;
1202
1563
  /** Returns an organization by ID within the token's environment. */
1203
1564
  organization: Organization;
1565
+ /** List the active API keys owned by the token's organization. Secrets are never included. */
1566
+ organizationApiKeys: OrganizationApiKeyList;
1204
1567
  /** List the data providers the token's organization connects on behalf of all its members, with the organization's shared connection when it has one. */
1205
1568
  organizationDataProviders: OrganizationDataProviderList;
1206
1569
  /** Return a domain by ID within the token's organization, including its verification status. */
@@ -1221,12 +1584,16 @@ type Query = {
1221
1584
  roles: RolesResult;
1222
1585
  /** List active sessions for the authenticated user. Requires a session token. */
1223
1586
  sessions: Array<Session>;
1587
+ /** List the data providers the token's organization has connected for all its members, with the shared connections the caller may use. Available to any active member of the organization. */
1588
+ sharedDataProviders: SharedDataProviderList;
1224
1589
  /** Returns an SSO connection by ID, including its IdP setup status, provided it belongs to the token's organization. */
1225
1590
  ssoConnection: Connection;
1226
1591
  /** List the SSO connections belonging to the organization the token was issued for. */
1227
1592
  ssoConnections: Array<Connection>;
1228
1593
  /** Returns a user by ID, provided they are a member of the token's organization. */
1229
1594
  user: User;
1595
+ /** List the active user-scoped API keys in the token's organization. Returns only the token user's own keys unless the token holds the organization-wide user API key grant. Secrets are never included. */
1596
+ userApiKeys: UserApiKeyList;
1230
1597
  };
1231
1598
  type QueryAuditEventArgs = {
1232
1599
  id: Scalars["ID"]["input"];
@@ -1241,6 +1608,12 @@ type QueryAuditEventsArgs = {
1241
1608
  type QueryAuditLogExportArgs = {
1242
1609
  id: Scalars["ID"]["input"];
1243
1610
  };
1611
+ type QueryConfigurableDataProvidersArgs = {
1612
+ after?: InputMaybe<Scalars["String"]["input"]>;
1613
+ before?: InputMaybe<Scalars["String"]["input"]>;
1614
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
1615
+ order?: InputMaybe<PaginationOrder>;
1616
+ };
1244
1617
  type QueryDataProviderArgs = {
1245
1618
  id: Scalars["ID"]["input"];
1246
1619
  };
@@ -1314,6 +1687,13 @@ type QueryFlagsArgs = {
1314
1687
  type QueryOrganizationArgs = {
1315
1688
  id: Scalars["ID"]["input"];
1316
1689
  };
1690
+ type QueryOrganizationApiKeysArgs = {
1691
+ after?: InputMaybe<Scalars["String"]["input"]>;
1692
+ before?: InputMaybe<Scalars["String"]["input"]>;
1693
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
1694
+ order?: InputMaybe<PaginationOrder>;
1695
+ search?: InputMaybe<Scalars["String"]["input"]>;
1696
+ };
1317
1697
  type QueryOrganizationDataProvidersArgs = {
1318
1698
  after?: InputMaybe<Scalars["String"]["input"]>;
1319
1699
  before?: InputMaybe<Scalars["String"]["input"]>;
@@ -1347,12 +1727,26 @@ type QueryPermissionsArgs = {
1347
1727
  type QueryRoleArgs = {
1348
1728
  id: Scalars["ID"]["input"];
1349
1729
  };
1730
+ type QuerySharedDataProvidersArgs = {
1731
+ after?: InputMaybe<Scalars["String"]["input"]>;
1732
+ before?: InputMaybe<Scalars["String"]["input"]>;
1733
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
1734
+ order?: InputMaybe<PaginationOrder>;
1735
+ supportsMultipleConnections?: InputMaybe<Scalars["Boolean"]["input"]>;
1736
+ };
1350
1737
  type QuerySsoConnectionArgs = {
1351
1738
  id: Scalars["ID"]["input"];
1352
1739
  };
1353
1740
  type QueryUserArgs = {
1354
1741
  id: Scalars["ID"]["input"];
1355
1742
  };
1743
+ type QueryUserApiKeysArgs = {
1744
+ after?: InputMaybe<Scalars["String"]["input"]>;
1745
+ before?: InputMaybe<Scalars["String"]["input"]>;
1746
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
1747
+ order?: InputMaybe<PaginationOrder>;
1748
+ search?: InputMaybe<Scalars["String"]["input"]>;
1749
+ };
1356
1750
  /** Input for beginning passkey (WebAuthn) registration. */
1357
1751
  type RegisterPasskeyInput = {
1358
1752
  /** An elevated access token obtained by verifying the current email address. Required to prove recent re-authentication. */
@@ -1380,6 +1774,11 @@ type ResendInvitationNotFound = {
1380
1774
  userId: Scalars["ID"]["output"];
1381
1775
  };
1382
1776
  type ResendInvitationResult = InvitationResent | InviteeAlreadyAccepted | InviteeEmailNotDeliverable | ResendInvitationNotFound;
1777
+ /** Input for revoking all sessions. */
1778
+ type RevokeAllSessionsInput = {
1779
+ /** The ID of the session to keep active in addition to the session the request was authenticated with. Use this when the token is not itself a user session. Ignored unless it is one of the authenticated user’s own active sessions. */
1780
+ currentSessionId?: InputMaybe<Scalars["ID"]["input"]>;
1781
+ };
1383
1782
  type RevokeAllSessionsResult = AllSessionsRevoked;
1384
1783
  type RevokeInvitationInput = {
1385
1784
  /** The ID of the user whose pending invitation should be revoked. */
@@ -1491,6 +1890,78 @@ type SetDataProviderEnabledInput = {
1491
1890
  /** Whether the data provider is available to the organization the token was issued for. */
1492
1891
  enabled: Scalars["Boolean"]["input"];
1493
1892
  };
1893
+ type SetOrganizationDataProviderConfigurationInput = {
1894
+ /** The organization's own OAuth client ID. Must be supplied together with `clientSecret`. */
1895
+ clientId?: InputMaybe<Scalars["String"]["input"]>;
1896
+ /** The organization's own OAuth client secret. Write-only: it is stored encrypted and never returned; clients read `hasCredentials` instead. */
1897
+ clientSecret?: InputMaybe<Scalars["String"]["input"]>;
1898
+ /** Non-secret configuration values declared by the provider. */
1899
+ config?: InputMaybe<Array<DataProviderConfigEntryInput>>;
1900
+ /** The organization-owned data provider to configure (`organizationDataProviders`). Configuration always applies to the token's organization; it cannot be set for another one. */
1901
+ dataProviderId: Scalars["ID"]["input"];
1902
+ /** Whether the organization's shared connection to the data provider is enabled. */
1903
+ enabled?: InputMaybe<Scalars["Boolean"]["input"]>;
1904
+ /** The scopes the organization requests. Only providers where the organization brings its own OAuth credentials may widen beyond the defaults. */
1905
+ scopes?: InputMaybe<Array<Scalars["String"]["input"]>>;
1906
+ };
1907
+ /** A data provider the token's organization has connected on behalf of all its members, with the shared connections a member may use. */
1908
+ type SharedDataProvider = {
1909
+ __typename?: "SharedDataProvider";
1910
+ /** The organization's shared connections to the provider that the caller may use. Never empty: providers without a usable shared connection are not listed. */
1911
+ connectedAccounts: Array<SharedDataProviderConnection>;
1912
+ createdAt: Scalars["DateTime"]["output"];
1913
+ description?: Maybe<Scalars["String"]["output"]>;
1914
+ /** The URL of the provider's icon for dark backgrounds. */
1915
+ iconDarkUrl?: Maybe<Scalars["String"]["output"]>;
1916
+ /** The slug of the icon the widget displays for the provider. */
1917
+ iconSlug?: Maybe<Scalars["String"]["output"]>;
1918
+ /** The URL of the provider's icon. */
1919
+ iconUrl?: Maybe<Scalars["String"]["output"]>;
1920
+ id: Scalars["ID"]["output"];
1921
+ /** The provider type this data provider was created from. */
1922
+ integrationType: Scalars["String"]["output"];
1923
+ /** The display name of the provider. */
1924
+ name: Scalars["String"]["output"];
1925
+ /** The stable identifier for the provider. */
1926
+ slug: Scalars["String"]["output"];
1927
+ updatedAt: Scalars["DateTime"]["output"];
1928
+ };
1929
+ /** One of the organization's shared connections to a data provider, as visible to any active member. */
1930
+ type SharedDataProviderConnection = {
1931
+ __typename?: "SharedDataProviderConnection";
1932
+ /** How the connection authenticates: `oauth`, `api_key`, or `client_credentials`. */
1933
+ authMethod: Scalars["String"]["output"];
1934
+ /** Whether the connection can be used right now: `available`, or `needs_admin_attention` when an admin must re-authorize it first. */
1935
+ availability: Scalars["String"]["output"];
1936
+ /** Whether this is the compatibility connection or a standard connection. */
1937
+ connectionRole: DataInstallationConnectionRole;
1938
+ createdAt: Scalars["DateTime"]["output"];
1939
+ /** The data provider this connection was created for. */
1940
+ dataProviderId: Scalars["ID"]["output"];
1941
+ /** The slug of the connected data provider. */
1942
+ dataProviderSlug: Scalars["String"]["output"];
1943
+ id: Scalars["ID"]["output"];
1944
+ /** The status of the connection: `connected` or `needs_reauthorization`. */
1945
+ state: Scalars["String"]["output"];
1946
+ updatedAt: Scalars["DateTime"]["output"];
1947
+ };
1948
+ type SharedDataProviderList = {
1949
+ __typename?: "SharedDataProviderList";
1950
+ data: Array<SharedDataProvider>;
1951
+ listMetadata: ListMetadata;
1952
+ };
1953
+ /** A sign-in session initiated through an SSO connection. Mirrors the session exposed by the Widgets SSO connections API. */
1954
+ type SsoConnectionSession = {
1955
+ __typename?: "SsoConnectionSession";
1956
+ createdAt: Scalars["DateTime"]["output"];
1957
+ id: Scalars["ID"]["output"];
1958
+ /** The state the session reached. */
1959
+ state: SsoSessionState;
1960
+ };
1961
+ /** The protocol family (SAML or OpenID Connect) of an SSO connection. */
1962
+ type SsoProviderTag = "OpenIdConnect" | "Saml";
1963
+ /** The state an SSO sign-in session reached. */
1964
+ type SsoSessionState = "Authorized" | "Failed" | "Started" | "Successful" | "Terminated" | "Timedout";
1494
1965
  /** The user already has a verified TOTP factor enrolled. */
1495
1966
  type TotpAlreadyEnrolled = {
1496
1967
  __typename?: "TotpAlreadyEnrolled";
@@ -1586,6 +2057,51 @@ type UserAlreadyHasPassword = {
1586
2057
  __typename?: "UserAlreadyHasPassword";
1587
2058
  _placeholder: Scalars["Boolean"]["output"];
1588
2059
  };
2060
+ /** An API key owned by a member of the token's organization. A user-scoped key acts as that user, so it is never interchangeable with an organization API key. */
2061
+ type UserApiKey = {
2062
+ __typename?: "UserApiKey";
2063
+ createdAt: Scalars["DateTime"]["output"];
2064
+ /** When the key expires. A key with an expiration in the past is revoked and can no longer authenticate. */
2065
+ expiresAt?: Maybe<Scalars["DateTime"]["output"]>;
2066
+ id: Scalars["ID"]["output"];
2067
+ /** When the key was last used to authenticate, if ever. */
2068
+ lastUsedAt?: Maybe<Scalars["DateTime"]["output"]>;
2069
+ /** The human-readable name of the key. */
2070
+ name: Scalars["String"]["output"];
2071
+ /** A redacted form of the secret, safe to display. The secret itself is only ever returned when the key is created. */
2072
+ obfuscatedValue: Scalars["String"]["output"];
2073
+ owner: UserApiKeyOwner;
2074
+ /** The permission slugs the key carries. */
2075
+ permissions: Array<Scalars["String"]["output"]>;
2076
+ updatedAt: Scalars["DateTime"]["output"];
2077
+ };
2078
+ /** The user-scoped API key was created. */
2079
+ type UserApiKeyCreated = {
2080
+ __typename?: "UserApiKeyCreated";
2081
+ apiKey: UserApiKey;
2082
+ /** The plaintext secret, returned exactly once at creation. It is never retrievable again — no query or other mutation returns it. */
2083
+ value: Scalars["String"]["output"];
2084
+ };
2085
+ /** The expiration of the user-scoped API key was updated. The key is retained. */
2086
+ type UserApiKeyExpired = {
2087
+ __typename?: "UserApiKeyExpired";
2088
+ apiKey: UserApiKey;
2089
+ };
2090
+ type UserApiKeyList = {
2091
+ __typename?: "UserApiKeyList";
2092
+ data: Array<UserApiKey>;
2093
+ listMetadata: ListMetadata;
2094
+ };
2095
+ /** The userland user a user-scoped API key belongs to. */
2096
+ type UserApiKeyOwner = {
2097
+ __typename?: "UserApiKeyOwner";
2098
+ /** The owner's display name, falling back to their email when they have no name. */
2099
+ displayName: Scalars["String"]["output"];
2100
+ email: Scalars["String"]["output"];
2101
+ firstName?: Maybe<Scalars["String"]["output"]>;
2102
+ id: Scalars["ID"]["output"];
2103
+ lastName?: Maybe<Scalars["String"]["output"]>;
2104
+ };
1589
2105
  /** The invitation was created and the email sent. */
1590
2106
  type UserInvited = {
1591
2107
  __typename?: "UserInvited";
@@ -1655,6 +2171,19 @@ type VerifyTotpInput = {
1655
2171
  elevatedAccessToken: Scalars["String"]["input"];
1656
2172
  };
1657
2173
  type VerifyTotpResult = ElevatedAccessTokenExpired | ElevatedAccessTokenInvalid | TotpVerificationFailed | TotpVerified;
2174
+ /** An X.509 certificate registered on a SAML connection. Mirrors the certificate exposed by the Widgets SSO connections API. */
2175
+ type X509Certificate = {
2176
+ __typename?: "X509Certificate";
2177
+ id: Scalars["ID"]["output"];
2178
+ /** When an expiry notification was last sent for this certificate. */
2179
+ lastExpiryEventSentAt?: Maybe<Scalars["DateTime"]["output"]>;
2180
+ /** The end of the certificate validity period. */
2181
+ notAfter?: Maybe<Scalars["DateTime"]["output"]>;
2182
+ /** The start of the certificate validity period. */
2183
+ notBefore?: Maybe<Scalars["DateTime"]["output"]>;
2184
+ /** The PEM-encoded certificate. */
2185
+ value: Scalars["String"]["output"];
2186
+ };
1658
2187
  type ClientApiStatusQueryVariables = Exact<{
1659
2188
  [key: string]: never;
1660
2189
  }>;
@@ -1662,11 +2191,2464 @@ type ClientApiStatusQuery = {
1662
2191
  __typename?: "Query";
1663
2192
  clientApiStatus: string;
1664
2193
  };
2194
+ type OrganizationDomainFieldsFragment = {
2195
+ __typename?: "OrganizationDomain";
2196
+ id: string;
2197
+ organizationId: string;
2198
+ domain: string;
2199
+ subdomain?: string | null;
2200
+ state: OrganizationDomainState;
2201
+ verificationPrefix?: string | null;
2202
+ verificationToken?: string | null;
2203
+ nameServer: DomainVerificationNameServer;
2204
+ createdAt: string;
2205
+ };
2206
+ type ListOrganizationDomainsQueryVariables = Exact<{
2207
+ after?: InputMaybe<Scalars["String"]["input"]>;
2208
+ before?: InputMaybe<Scalars["String"]["input"]>;
2209
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
2210
+ order?: InputMaybe<PaginationOrder>;
2211
+ }>;
2212
+ type ListOrganizationDomainsQuery = {
2213
+ __typename?: "Query";
2214
+ organizationDomains: {
2215
+ __typename?: "OrganizationDomainList";
2216
+ data: Array<{
2217
+ __typename?: "OrganizationDomain";
2218
+ id: string;
2219
+ organizationId: string;
2220
+ domain: string;
2221
+ subdomain?: string | null;
2222
+ state: OrganizationDomainState;
2223
+ verificationPrefix?: string | null;
2224
+ verificationToken?: string | null;
2225
+ nameServer: DomainVerificationNameServer;
2226
+ createdAt: string;
2227
+ }>;
2228
+ listMetadata: {
2229
+ __typename?: "ListMetadata";
2230
+ after?: string | null;
2231
+ before?: string | null;
2232
+ };
2233
+ };
2234
+ };
2235
+ type CreateOrganizationDomainMutationVariables = Exact<{
2236
+ domain: Scalars["String"]["input"];
2237
+ }>;
2238
+ type CreateOrganizationDomainMutation = {
2239
+ __typename?: "Mutation";
2240
+ createOrganizationDomain: {
2241
+ __typename?: "OrganizationDomain";
2242
+ id: string;
2243
+ organizationId: string;
2244
+ domain: string;
2245
+ subdomain?: string | null;
2246
+ state: OrganizationDomainState;
2247
+ verificationPrefix?: string | null;
2248
+ verificationToken?: string | null;
2249
+ nameServer: DomainVerificationNameServer;
2250
+ createdAt: string;
2251
+ };
2252
+ };
2253
+ type DeleteOrganizationDomainMutationVariables = Exact<{
2254
+ id: Scalars["ID"]["input"];
2255
+ }>;
2256
+ type DeleteOrganizationDomainMutation = {
2257
+ __typename?: "Mutation";
2258
+ deleteOrganizationDomain: {
2259
+ __typename?: "OrganizationDomain";
2260
+ id: string;
2261
+ organizationId: string;
2262
+ domain: string;
2263
+ subdomain?: string | null;
2264
+ state: OrganizationDomainState;
2265
+ verificationPrefix?: string | null;
2266
+ verificationToken?: string | null;
2267
+ nameServer: DomainVerificationNameServer;
2268
+ createdAt: string;
2269
+ };
2270
+ };
2271
+ type ReverifyOrganizationDomainMutationVariables = Exact<{
2272
+ id: Scalars["ID"]["input"];
2273
+ }>;
2274
+ type ReverifyOrganizationDomainMutation = {
2275
+ __typename?: "Mutation";
2276
+ reverifyOrganizationDomain: {
2277
+ __typename?: "OrganizationDomain";
2278
+ id: string;
2279
+ organizationId: string;
2280
+ domain: string;
2281
+ subdomain?: string | null;
2282
+ state: OrganizationDomainState;
2283
+ verificationPrefix?: string | null;
2284
+ verificationToken?: string | null;
2285
+ nameServer: DomainVerificationNameServer;
2286
+ createdAt: string;
2287
+ };
2288
+ };
2289
+ type UserFieldsFragment = {
2290
+ __typename?: "User";
2291
+ id: string;
2292
+ email: string;
2293
+ emailVerified: boolean;
2294
+ firstName?: string | null;
2295
+ lastName?: string | null;
2296
+ profilePictureUrl?: string | null;
2297
+ mfaEnabled: boolean;
2298
+ mfaLastUsedAt?: string | null;
2299
+ passwordSet: boolean;
2300
+ passwordLastUsedAt?: string | null;
2301
+ createdAt: string;
2302
+ updatedAt: string;
2303
+ };
2304
+ type ConnectedAccountFieldsFragment = {
2305
+ __typename?: "ConnectedAccount";
2306
+ id: string;
2307
+ provider: OAuthProvider;
2308
+ email?: string | null;
2309
+ firstName?: string | null;
2310
+ lastName?: string | null;
2311
+ profilePictureUrl?: string | null;
2312
+ lastLoginAt?: string | null;
2313
+ };
2314
+ type PasswordViolationFieldsFragment = {
2315
+ __typename?: "PasswordViolation";
2316
+ code: string;
2317
+ message: string;
2318
+ characterType?: PasswordCharacterType | null;
2319
+ minimumLength?: number | null;
2320
+ maximumLength?: number | null;
2321
+ allowedSymbols?: string | null;
2322
+ breachOccurrences?: number | null;
2323
+ strengthWarning?: string | null;
2324
+ strengthSuggestions: Array<string>;
2325
+ };
2326
+ type MeQueryVariables = Exact<{
2327
+ [key: string]: never;
2328
+ }>;
2329
+ type MeQuery = {
2330
+ __typename?: "Query";
2331
+ me: {
2332
+ __typename?: "User";
2333
+ id: string;
2334
+ email: string;
2335
+ emailVerified: boolean;
2336
+ firstName?: string | null;
2337
+ lastName?: string | null;
2338
+ profilePictureUrl?: string | null;
2339
+ mfaEnabled: boolean;
2340
+ mfaLastUsedAt?: string | null;
2341
+ passwordSet: boolean;
2342
+ passwordLastUsedAt?: string | null;
2343
+ createdAt: string;
2344
+ updatedAt: string;
2345
+ connectedAccounts: Array<{
2346
+ __typename?: "ConnectedAccount";
2347
+ id: string;
2348
+ provider: OAuthProvider;
2349
+ email?: string | null;
2350
+ firstName?: string | null;
2351
+ lastName?: string | null;
2352
+ profilePictureUrl?: string | null;
2353
+ lastLoginAt?: string | null;
2354
+ }>;
2355
+ };
2356
+ };
2357
+ type AuthenticationSettingsQueryVariables = Exact<{
2358
+ [key: string]: never;
2359
+ }>;
2360
+ type AuthenticationSettingsQuery = {
2361
+ __typename?: "Query";
2362
+ authenticationSettings: {
2363
+ __typename?: "AuthenticationSettings";
2364
+ mfaEnabled: boolean;
2365
+ mfaRequired: boolean;
2366
+ passkeyAuthEnabled: boolean;
2367
+ passwordAuthEnabled: boolean;
2368
+ passwordPolicy: {
2369
+ __typename?: "PasswordPolicy";
2370
+ minimumLength: number;
2371
+ minimumStrength: number;
2372
+ rejectsBreachedPasswords: boolean;
2373
+ requiresLowercase: boolean;
2374
+ requiresNumber: boolean;
2375
+ requiresSymbol: boolean;
2376
+ requiresUppercase: boolean;
2377
+ };
2378
+ };
2379
+ };
2380
+ type PasskeysQueryVariables = Exact<{
2381
+ [key: string]: never;
2382
+ }>;
2383
+ type PasskeysQuery = {
2384
+ __typename?: "Query";
2385
+ passkeys: Array<{
2386
+ __typename?: "Passkey";
2387
+ id: string;
2388
+ createdAt: string;
2389
+ updatedAt: string;
2390
+ lastVerifiedAt?: string | null;
2391
+ }>;
2392
+ };
2393
+ type UpdateProfileMutationVariables = Exact<{
2394
+ input: UpdateProfileInput;
2395
+ }>;
2396
+ type UpdateProfileMutation = {
2397
+ __typename?: "Mutation";
2398
+ updateProfile: {
2399
+ __typename: "InvalidLocale";
2400
+ } | {
2401
+ __typename: "ProfileUpdated";
2402
+ user: {
2403
+ __typename?: "User";
2404
+ id: string;
2405
+ email: string;
2406
+ emailVerified: boolean;
2407
+ firstName?: string | null;
2408
+ lastName?: string | null;
2409
+ profilePictureUrl?: string | null;
2410
+ mfaEnabled: boolean;
2411
+ mfaLastUsedAt?: string | null;
2412
+ passwordSet: boolean;
2413
+ passwordLastUsedAt?: string | null;
2414
+ createdAt: string;
2415
+ updatedAt: string;
2416
+ };
2417
+ };
2418
+ };
2419
+ type SendVerificationCodeMutationVariables = Exact<{
2420
+ [key: string]: never;
2421
+ }>;
2422
+ type SendVerificationCodeMutation = {
2423
+ __typename?: "Mutation";
2424
+ sendVerificationCode: {
2425
+ __typename: "DailyEmailQuotaExceeded";
2426
+ } | {
2427
+ __typename: "VerificationCodeSent";
2428
+ authenticationChallengeId: string;
2429
+ expiresAt: string;
2430
+ };
2431
+ };
2432
+ type VerifyCurrentEmailMutationVariables = Exact<{
2433
+ input: VerifyCurrentEmailInput;
2434
+ }>;
2435
+ type VerifyCurrentEmailMutation = {
2436
+ __typename?: "Mutation";
2437
+ verifyCurrentEmail: {
2438
+ __typename: "CurrentEmailVerified";
2439
+ elevatedAccessToken: string;
2440
+ expiresAt: string;
2441
+ } | {
2442
+ __typename: "VerificationCodeExpired";
2443
+ } | {
2444
+ __typename: "VerificationCodeIncorrect";
2445
+ } | {
2446
+ __typename: "VerificationCodePreviouslyUsed";
2447
+ } | {
2448
+ __typename: "VerificationTooManyAttempts";
2449
+ };
2450
+ };
2451
+ type SendEmailChangeMutationVariables = Exact<{
2452
+ input: SendEmailChangeInput;
2453
+ }>;
2454
+ type SendEmailChangeMutation = {
2455
+ __typename?: "Mutation";
2456
+ sendEmailChange: {
2457
+ __typename: "DailyEmailQuotaExceeded";
2458
+ } | {
2459
+ __typename: "EmailChangeNotAvailable";
2460
+ } | {
2461
+ __typename: "EmailChangeSent";
2462
+ expiresAt: string;
2463
+ } | {
2464
+ __typename: "EmailManagedByProvider";
2465
+ } | {
2466
+ __typename: "EmailNotAvailable";
2467
+ } | {
2468
+ __typename: "IdentityVerificationExpired";
2469
+ } | {
2470
+ __typename: "IdentityVerificationInvalid";
2471
+ } | {
2472
+ __typename: "InvalidEmail";
2473
+ };
2474
+ };
2475
+ type ConfirmEmailChangeMutationVariables = Exact<{
2476
+ input: ConfirmEmailChangeInput;
2477
+ }>;
2478
+ type ConfirmEmailChangeMutation = {
2479
+ __typename?: "Mutation";
2480
+ confirmEmailChange: {
2481
+ __typename: "EmailChangeCodeExpired";
2482
+ } | {
2483
+ __typename: "EmailChangeCodeIncorrect";
2484
+ } | {
2485
+ __typename: "EmailChangeCodePreviouslyUsed";
2486
+ } | {
2487
+ __typename: "EmailChangeConfirmed";
2488
+ elevatedAccessToken: string;
2489
+ expiresAt: string;
2490
+ user: {
2491
+ __typename?: "User";
2492
+ id: string;
2493
+ email: string;
2494
+ emailVerified: boolean;
2495
+ firstName?: string | null;
2496
+ lastName?: string | null;
2497
+ profilePictureUrl?: string | null;
2498
+ mfaEnabled: boolean;
2499
+ mfaLastUsedAt?: string | null;
2500
+ passwordSet: boolean;
2501
+ passwordLastUsedAt?: string | null;
2502
+ createdAt: string;
2503
+ updatedAt: string;
2504
+ };
2505
+ } | {
2506
+ __typename: "EmailChangeTooManyAttempts";
2507
+ } | {
2508
+ __typename: "EmailManagedByProvider";
2509
+ } | {
2510
+ __typename: "EmailNotAvailable";
2511
+ } | {
2512
+ __typename: "IdentityVerificationExpired";
2513
+ } | {
2514
+ __typename: "IdentityVerificationInvalid";
2515
+ } | {
2516
+ __typename: "InvalidEmail";
2517
+ } | {
2518
+ __typename: "NoPendingEmailChange";
2519
+ };
2520
+ };
2521
+ type CreatePasswordMutationVariables = Exact<{
2522
+ input: CreatePasswordInput;
2523
+ }>;
2524
+ type CreatePasswordMutation = {
2525
+ __typename?: "Mutation";
2526
+ createPassword: {
2527
+ __typename: "ElevatedAccessTokenExpired";
2528
+ } | {
2529
+ __typename: "ElevatedAccessTokenInvalid";
2530
+ } | {
2531
+ __typename: "PasswordCreated";
2532
+ success: boolean;
2533
+ } | {
2534
+ __typename: "PasswordPolicyViolation";
2535
+ code: string;
2536
+ message: string;
2537
+ violations: Array<{
2538
+ __typename?: "PasswordViolation";
2539
+ code: string;
2540
+ message: string;
2541
+ characterType?: PasswordCharacterType | null;
2542
+ minimumLength?: number | null;
2543
+ maximumLength?: number | null;
2544
+ allowedSymbols?: string | null;
2545
+ breachOccurrences?: number | null;
2546
+ strengthWarning?: string | null;
2547
+ strengthSuggestions: Array<string>;
2548
+ }>;
2549
+ } | {
2550
+ __typename: "UserAlreadyHasPassword";
2551
+ };
2552
+ };
2553
+ type UpdatePasswordMutationVariables = Exact<{
2554
+ input: UpdatePasswordInput;
2555
+ }>;
2556
+ type UpdatePasswordMutation = {
2557
+ __typename?: "Mutation";
2558
+ updatePassword: {
2559
+ __typename: "IncorrectPassword";
2560
+ } | {
2561
+ __typename: "PasswordPolicyViolation";
2562
+ code: string;
2563
+ message: string;
2564
+ violations: Array<{
2565
+ __typename?: "PasswordViolation";
2566
+ code: string;
2567
+ message: string;
2568
+ characterType?: PasswordCharacterType | null;
2569
+ minimumLength?: number | null;
2570
+ maximumLength?: number | null;
2571
+ allowedSymbols?: string | null;
2572
+ breachOccurrences?: number | null;
2573
+ strengthWarning?: string | null;
2574
+ strengthSuggestions: Array<string>;
2575
+ }>;
2576
+ } | {
2577
+ __typename: "PasswordUpdated";
2578
+ success: boolean;
2579
+ };
2580
+ };
2581
+ type EnrollTotpMutationVariables = Exact<{
2582
+ input: EnrollTotpInput;
2583
+ }>;
2584
+ type EnrollTotpMutation = {
2585
+ __typename?: "Mutation";
2586
+ enrollTotp: {
2587
+ __typename: "ElevatedAccessTokenExpired";
2588
+ } | {
2589
+ __typename: "ElevatedAccessTokenInvalid";
2590
+ } | {
2591
+ __typename: "TotpAlreadyEnrolled";
2592
+ } | {
2593
+ __typename: "TotpFactor";
2594
+ authenticationChallengeId: string;
2595
+ authenticationFactorId: string;
2596
+ secret: string;
2597
+ uri: string;
2598
+ qrCode: string;
2599
+ };
2600
+ };
2601
+ type VerifyTotpMutationVariables = Exact<{
2602
+ input: VerifyTotpInput;
2603
+ }>;
2604
+ type VerifyTotpMutation = {
2605
+ __typename?: "Mutation";
2606
+ verifyTotp: {
2607
+ __typename: "ElevatedAccessTokenExpired";
2608
+ } | {
2609
+ __typename: "ElevatedAccessTokenInvalid";
2610
+ } | {
2611
+ __typename: "TotpVerificationFailed";
2612
+ } | {
2613
+ __typename: "TotpVerified";
2614
+ success: boolean;
2615
+ };
2616
+ };
2617
+ type RemoveMfaFactorMutationVariables = Exact<{
2618
+ input: RemoveMfaFactorInput;
2619
+ }>;
2620
+ type RemoveMfaFactorMutation = {
2621
+ __typename?: "Mutation";
2622
+ removeMfaFactor: {
2623
+ __typename: "ElevatedAccessTokenExpired";
2624
+ } | {
2625
+ __typename: "ElevatedAccessTokenInvalid";
2626
+ } | {
2627
+ __typename: "MfaFactorRemoved";
2628
+ success: boolean;
2629
+ } | {
2630
+ __typename: "NoMfaFactorsEnrolled";
2631
+ };
2632
+ };
2633
+ type SessionFieldsFragment = {
2634
+ __typename?: "Session";
2635
+ id: string;
2636
+ isCurrent: boolean;
2637
+ ipAddress?: string | null;
2638
+ userAgent?: string | null;
2639
+ organizationId?: string | null;
2640
+ lastActivityAt?: string | null;
2641
+ createdAt: string;
2642
+ updatedAt: string;
2643
+ state: {
2644
+ __typename?: "SessionState";
2645
+ tag: string;
2646
+ expiresAt?: string | null;
2647
+ };
2648
+ currentLocation?: {
2649
+ __typename?: "SessionLocation";
2650
+ cityName: string;
2651
+ countryISOCode: string;
2652
+ } | null;
2653
+ };
2654
+ type SessionsQueryVariables = Exact<{
2655
+ [key: string]: never;
2656
+ }>;
2657
+ type SessionsQuery = {
2658
+ __typename?: "Query";
2659
+ sessions: Array<{
2660
+ __typename?: "Session";
2661
+ id: string;
2662
+ isCurrent: boolean;
2663
+ ipAddress?: string | null;
2664
+ userAgent?: string | null;
2665
+ organizationId?: string | null;
2666
+ lastActivityAt?: string | null;
2667
+ createdAt: string;
2668
+ updatedAt: string;
2669
+ state: {
2670
+ __typename?: "SessionState";
2671
+ tag: string;
2672
+ expiresAt?: string | null;
2673
+ };
2674
+ currentLocation?: {
2675
+ __typename?: "SessionLocation";
2676
+ cityName: string;
2677
+ countryISOCode: string;
2678
+ } | null;
2679
+ }>;
2680
+ };
2681
+ type RevokeSessionMutationVariables = Exact<{
2682
+ input: RevokeSessionInput;
2683
+ }>;
2684
+ type RevokeSessionMutation = {
2685
+ __typename?: "Mutation";
2686
+ revokeSession: {
2687
+ __typename: "SessionNotFound";
2688
+ } | {
2689
+ __typename: "SessionRevoked";
2690
+ session: {
2691
+ __typename?: "Session";
2692
+ id: string;
2693
+ isCurrent: boolean;
2694
+ ipAddress?: string | null;
2695
+ userAgent?: string | null;
2696
+ organizationId?: string | null;
2697
+ lastActivityAt?: string | null;
2698
+ createdAt: string;
2699
+ updatedAt: string;
2700
+ state: {
2701
+ __typename?: "SessionState";
2702
+ tag: string;
2703
+ expiresAt?: string | null;
2704
+ };
2705
+ currentLocation?: {
2706
+ __typename?: "SessionLocation";
2707
+ cityName: string;
2708
+ countryISOCode: string;
2709
+ } | null;
2710
+ };
2711
+ };
2712
+ };
2713
+ type RevokeAllSessionsMutationVariables = Exact<{
2714
+ input?: InputMaybe<RevokeAllSessionsInput>;
2715
+ }>;
2716
+ type RevokeAllSessionsMutation = {
2717
+ __typename?: "Mutation";
2718
+ revokeAllSessions: {
2719
+ __typename: "AllSessionsRevoked";
2720
+ success: boolean;
2721
+ };
2722
+ };
2723
+ type OrganizationMemberFieldsFragment = {
2724
+ __typename?: "OrganizationMember";
2725
+ id: string;
2726
+ email: string;
2727
+ emailVerified: boolean;
2728
+ firstName?: string | null;
2729
+ lastName?: string | null;
2730
+ profilePictureUrl?: string | null;
2731
+ status: OrganizationMemberStatus;
2732
+ lastActivityAt?: string | null;
2733
+ createdAt: string;
2734
+ actions: Array<OrganizationMemberAction>;
2735
+ isCurrentUser: boolean;
2736
+ isDirectoryManaged: boolean;
2737
+ roles: Array<{
2738
+ __typename?: "OrganizationMemberRole";
2739
+ slug: string;
2740
+ name: string;
2741
+ }>;
2742
+ };
2743
+ type OrganizationInvitationFieldsFragment = {
2744
+ __typename?: "OrganizationInvitation";
2745
+ id: string;
2746
+ email: string;
2747
+ status: OrganizationInvitationStatus;
2748
+ roleSlug?: string | null;
2749
+ expiresAt: string;
2750
+ createdAt: string;
2751
+ };
2752
+ type RoleFieldsFragment = {
2753
+ __typename?: "Role";
2754
+ id: string;
2755
+ slug: string;
2756
+ name: string;
2757
+ description?: string | null;
2758
+ isDefault: boolean;
2759
+ createdAt: string;
2760
+ updatedAt: string;
2761
+ };
2762
+ type ListOrganizationMembershipsQueryVariables = Exact<{
2763
+ after?: InputMaybe<Scalars["String"]["input"]>;
2764
+ before?: InputMaybe<Scalars["String"]["input"]>;
2765
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
2766
+ order?: InputMaybe<PaginationOrder>;
2767
+ roleSlug?: InputMaybe<Scalars["String"]["input"]>;
2768
+ search?: InputMaybe<Scalars["String"]["input"]>;
2769
+ }>;
2770
+ type ListOrganizationMembershipsQuery = {
2771
+ __typename?: "Query";
2772
+ organizationMemberships: {
2773
+ __typename?: "OrganizationMemberList";
2774
+ data: Array<{
2775
+ __typename?: "OrganizationMember";
2776
+ id: string;
2777
+ email: string;
2778
+ emailVerified: boolean;
2779
+ firstName?: string | null;
2780
+ lastName?: string | null;
2781
+ profilePictureUrl?: string | null;
2782
+ status: OrganizationMemberStatus;
2783
+ lastActivityAt?: string | null;
2784
+ createdAt: string;
2785
+ actions: Array<OrganizationMemberAction>;
2786
+ isCurrentUser: boolean;
2787
+ isDirectoryManaged: boolean;
2788
+ roles: Array<{
2789
+ __typename?: "OrganizationMemberRole";
2790
+ slug: string;
2791
+ name: string;
2792
+ }>;
2793
+ }>;
2794
+ listMetadata: {
2795
+ __typename?: "ListMetadata";
2796
+ after?: string | null;
2797
+ before?: string | null;
2798
+ };
2799
+ };
2800
+ };
2801
+ type ListRolesQueryVariables = Exact<{
2802
+ [key: string]: never;
2803
+ }>;
2804
+ type ListRolesQuery = {
2805
+ __typename?: "Query";
2806
+ roles: {
2807
+ __typename?: "RolesResult";
2808
+ multipleRolesEnabled: boolean;
2809
+ roles: Array<{
2810
+ __typename?: "Role";
2811
+ id: string;
2812
+ slug: string;
2813
+ name: string;
2814
+ description?: string | null;
2815
+ isDefault: boolean;
2816
+ createdAt: string;
2817
+ updatedAt: string;
2818
+ }>;
2819
+ };
2820
+ };
2821
+ type InviteUserMutationVariables = Exact<{
2822
+ input: InviteUserInput;
2823
+ }>;
2824
+ type InviteUserMutation = {
2825
+ __typename?: "Mutation";
2826
+ inviteUser: {
2827
+ __typename: "InvalidInvitationExpiry";
2828
+ } | {
2829
+ __typename: "InvalidInviteeEmail";
2830
+ } | {
2831
+ __typename: "InvalidInviteeRole";
2832
+ } | {
2833
+ __typename: "InviteeAlreadyInvited";
2834
+ } | {
2835
+ __typename: "InviteeAlreadyMember";
2836
+ } | {
2837
+ __typename: "InviteeEmailNotDeliverable";
2838
+ } | {
2839
+ __typename: "OrganizationBlockedFromSendingInvites";
2840
+ } | {
2841
+ __typename: "UserInvited";
2842
+ invitation: {
2843
+ __typename?: "OrganizationInvitation";
2844
+ id: string;
2845
+ email: string;
2846
+ status: OrganizationInvitationStatus;
2847
+ roleSlug?: string | null;
2848
+ expiresAt: string;
2849
+ createdAt: string;
2850
+ };
2851
+ };
2852
+ };
2853
+ type UpdateMemberRoleMutationVariables = Exact<{
2854
+ input: UpdateMemberRoleInput;
2855
+ }>;
2856
+ type UpdateMemberRoleMutation = {
2857
+ __typename?: "Mutation";
2858
+ updateMemberRole: {
2859
+ __typename: "MemberNotFound";
2860
+ } | {
2861
+ __typename: "MemberRoleUpdated";
2862
+ member: {
2863
+ __typename?: "OrganizationMember";
2864
+ id: string;
2865
+ email: string;
2866
+ emailVerified: boolean;
2867
+ firstName?: string | null;
2868
+ lastName?: string | null;
2869
+ profilePictureUrl?: string | null;
2870
+ status: OrganizationMemberStatus;
2871
+ lastActivityAt?: string | null;
2872
+ createdAt: string;
2873
+ actions: Array<OrganizationMemberAction>;
2874
+ isCurrentUser: boolean;
2875
+ isDirectoryManaged: boolean;
2876
+ roles: Array<{
2877
+ __typename?: "OrganizationMemberRole";
2878
+ slug: string;
2879
+ name: string;
2880
+ }>;
2881
+ };
2882
+ } | {
2883
+ __typename: "RoleNotFound";
2884
+ roleSlugs: Array<string>;
2885
+ };
2886
+ };
2887
+ type RemoveMemberMutationVariables = Exact<{
2888
+ input: RemoveMemberInput;
2889
+ }>;
2890
+ type RemoveMemberMutation = {
2891
+ __typename?: "Mutation";
2892
+ removeMember: {
2893
+ __typename: "MemberIsManagedByDirectory";
2894
+ } | {
2895
+ __typename: "MemberNotFound";
2896
+ } | {
2897
+ __typename: "MemberRemoved";
2898
+ userId: string;
2899
+ };
2900
+ };
2901
+ type ResendInvitationMutationVariables = Exact<{
2902
+ input: ResendInvitationInput;
2903
+ }>;
2904
+ type ResendInvitationMutation = {
2905
+ __typename?: "Mutation";
2906
+ resendInvitation: {
2907
+ __typename: "InvitationResent";
2908
+ invitation: {
2909
+ __typename?: "OrganizationInvitation";
2910
+ id: string;
2911
+ email: string;
2912
+ status: OrganizationInvitationStatus;
2913
+ roleSlug?: string | null;
2914
+ expiresAt: string;
2915
+ createdAt: string;
2916
+ };
2917
+ } | {
2918
+ __typename: "InviteeAlreadyAccepted";
2919
+ } | {
2920
+ __typename: "InviteeEmailNotDeliverable";
2921
+ } | {
2922
+ __typename: "ResendInvitationNotFound";
2923
+ };
2924
+ };
2925
+ type RevokeInvitationMutationVariables = Exact<{
2926
+ input: RevokeInvitationInput;
2927
+ }>;
2928
+ type RevokeInvitationMutation = {
2929
+ __typename?: "Mutation";
2930
+ revokeInvitation: {
2931
+ __typename: "InvitationNotFound";
2932
+ } | {
2933
+ __typename: "InvitationNotPending";
2934
+ } | {
2935
+ __typename: "InvitationRevoked";
2936
+ invitation: {
2937
+ __typename?: "OrganizationInvitation";
2938
+ id: string;
2939
+ email: string;
2940
+ status: OrganizationInvitationStatus;
2941
+ roleSlug?: string | null;
2942
+ expiresAt: string;
2943
+ createdAt: string;
2944
+ };
2945
+ };
2946
+ };
2947
+ type ListUserOrganizationsQueryVariables = Exact<{
2948
+ [key: string]: never;
2949
+ }>;
2950
+ type ListUserOrganizationsQuery = {
2951
+ __typename?: "Query";
2952
+ organizations: Array<{
2953
+ __typename?: "UserOrganization";
2954
+ id: string;
2955
+ name: string;
2956
+ isCurrent: boolean;
2957
+ }>;
2958
+ };
2959
+ type DirectoryFieldsFragment = {
2960
+ __typename?: "Directory";
2961
+ id: string;
2962
+ name: string;
2963
+ organizationId: string;
2964
+ externalKey: string;
2965
+ state: string;
2966
+ type: string;
2967
+ lastSyncRunAt?: string | null;
2968
+ createdAt: string;
2969
+ updatedAt: string;
2970
+ metadata: {
2971
+ __typename?: "DirectoryMetadata";
2972
+ groups: number;
2973
+ users: {
2974
+ __typename?: "DirectoryUsersMetadata";
2975
+ active: number;
2976
+ };
2977
+ };
2978
+ };
2979
+ type ListDirectoryConnectionsQueryVariables = Exact<{
2980
+ after?: InputMaybe<Scalars["String"]["input"]>;
2981
+ before?: InputMaybe<Scalars["String"]["input"]>;
2982
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
2983
+ order?: InputMaybe<PaginationOrder>;
2984
+ search?: InputMaybe<Scalars["String"]["input"]>;
2985
+ }>;
2986
+ type ListDirectoryConnectionsQuery = {
2987
+ __typename?: "Query";
2988
+ directoryConnections: {
2989
+ __typename?: "DirectoryList";
2990
+ data: Array<{
2991
+ __typename?: "Directory";
2992
+ id: string;
2993
+ name: string;
2994
+ organizationId: string;
2995
+ externalKey: string;
2996
+ state: string;
2997
+ type: string;
2998
+ lastSyncRunAt?: string | null;
2999
+ createdAt: string;
3000
+ updatedAt: string;
3001
+ metadata: {
3002
+ __typename?: "DirectoryMetadata";
3003
+ groups: number;
3004
+ users: {
3005
+ __typename?: "DirectoryUsersMetadata";
3006
+ active: number;
3007
+ };
3008
+ };
3009
+ }>;
3010
+ listMetadata: {
3011
+ __typename?: "ListMetadata";
3012
+ after?: string | null;
3013
+ before?: string | null;
3014
+ };
3015
+ };
3016
+ };
3017
+ type GetDirectoryConnectionQueryVariables = Exact<{
3018
+ id: Scalars["ID"]["input"];
3019
+ }>;
3020
+ type GetDirectoryConnectionQuery = {
3021
+ __typename?: "Query";
3022
+ directoryConnection: {
3023
+ __typename?: "Directory";
3024
+ id: string;
3025
+ name: string;
3026
+ organizationId: string;
3027
+ externalKey: string;
3028
+ state: string;
3029
+ type: string;
3030
+ lastSyncRunAt?: string | null;
3031
+ createdAt: string;
3032
+ updatedAt: string;
3033
+ metadata: {
3034
+ __typename?: "DirectoryMetadata";
3035
+ groups: number;
3036
+ users: {
3037
+ __typename?: "DirectoryUsersMetadata";
3038
+ active: number;
3039
+ };
3040
+ };
3041
+ };
3042
+ };
3043
+ type ConnectionFieldsFragment = {
3044
+ __typename?: "Connection";
3045
+ id: string;
3046
+ name: string;
3047
+ organizationId?: string | null;
3048
+ type: ConnectionType;
3049
+ providerTag: SsoProviderTag;
3050
+ state: ConnectionState;
3051
+ setupComplete: boolean;
3052
+ createdAt: string;
3053
+ updatedAt: string;
3054
+ lastSession?: {
3055
+ __typename?: "SsoConnectionSession";
3056
+ id: string;
3057
+ createdAt: string;
3058
+ state: SsoSessionState;
3059
+ } | null;
3060
+ latestExpiringCertificate?: {
3061
+ __typename?: "X509Certificate";
3062
+ id: string;
3063
+ notAfter?: string | null;
3064
+ } | null;
3065
+ latestExpiredCertificate?: {
3066
+ __typename?: "X509Certificate";
3067
+ id: string;
3068
+ notAfter?: string | null;
3069
+ } | null;
3070
+ };
3071
+ type ListSsoConnectionsQueryVariables = Exact<{
3072
+ [key: string]: never;
3073
+ }>;
3074
+ type ListSsoConnectionsQuery = {
3075
+ __typename?: "Query";
3076
+ ssoConnections: Array<{
3077
+ __typename?: "Connection";
3078
+ id: string;
3079
+ name: string;
3080
+ organizationId?: string | null;
3081
+ type: ConnectionType;
3082
+ providerTag: SsoProviderTag;
3083
+ state: ConnectionState;
3084
+ setupComplete: boolean;
3085
+ createdAt: string;
3086
+ updatedAt: string;
3087
+ lastSession?: {
3088
+ __typename?: "SsoConnectionSession";
3089
+ id: string;
3090
+ createdAt: string;
3091
+ state: SsoSessionState;
3092
+ } | null;
3093
+ latestExpiringCertificate?: {
3094
+ __typename?: "X509Certificate";
3095
+ id: string;
3096
+ notAfter?: string | null;
3097
+ } | null;
3098
+ latestExpiredCertificate?: {
3099
+ __typename?: "X509Certificate";
3100
+ id: string;
3101
+ notAfter?: string | null;
3102
+ } | null;
3103
+ }>;
3104
+ };
3105
+ type GetSsoConnectionQueryVariables = Exact<{
3106
+ id: Scalars["ID"]["input"];
3107
+ }>;
3108
+ type GetSsoConnectionQuery = {
3109
+ __typename?: "Query";
3110
+ ssoConnection: {
3111
+ __typename?: "Connection";
3112
+ id: string;
3113
+ name: string;
3114
+ organizationId?: string | null;
3115
+ type: ConnectionType;
3116
+ providerTag: SsoProviderTag;
3117
+ state: ConnectionState;
3118
+ setupComplete: boolean;
3119
+ createdAt: string;
3120
+ updatedAt: string;
3121
+ lastSession?: {
3122
+ __typename?: "SsoConnectionSession";
3123
+ id: string;
3124
+ createdAt: string;
3125
+ state: SsoSessionState;
3126
+ } | null;
3127
+ latestExpiringCertificate?: {
3128
+ __typename?: "X509Certificate";
3129
+ id: string;
3130
+ notAfter?: string | null;
3131
+ } | null;
3132
+ latestExpiredCertificate?: {
3133
+ __typename?: "X509Certificate";
3134
+ id: string;
3135
+ notAfter?: string | null;
3136
+ } | null;
3137
+ };
3138
+ };
3139
+ type DataProviderConfigFieldFieldsFragment = {
3140
+ __typename?: "DataProviderConfigField";
3141
+ key: string;
3142
+ label: string;
3143
+ required: boolean;
3144
+ scope: string;
3145
+ description?: string | null;
3146
+ example?: string | null;
3147
+ pattern?: string | null;
3148
+ patternFlags?: string | null;
3149
+ order?: number | null;
3150
+ secret?: boolean | null;
3151
+ default?: string | null;
3152
+ };
3153
+ type DataProviderFieldsFragment = {
3154
+ __typename?: "DataProvider";
3155
+ id: string;
3156
+ slug: string;
3157
+ name: string;
3158
+ description?: string | null;
3159
+ integrationType: string;
3160
+ authMethods: Array<string>;
3161
+ credentialsType: string;
3162
+ scopes?: Array<string> | null;
3163
+ state: string;
3164
+ enabled: boolean;
3165
+ iconSlug?: string | null;
3166
+ iconUrl?: string | null;
3167
+ iconDarkUrl?: string | null;
3168
+ createdAt: string;
3169
+ updatedAt: string;
3170
+ configFields: Array<{
3171
+ __typename?: "DataProviderConfigField";
3172
+ key: string;
3173
+ label: string;
3174
+ required: boolean;
3175
+ scope: string;
3176
+ description?: string | null;
3177
+ example?: string | null;
3178
+ pattern?: string | null;
3179
+ patternFlags?: string | null;
3180
+ order?: number | null;
3181
+ secret?: boolean | null;
3182
+ default?: string | null;
3183
+ }>;
3184
+ config: Array<{
3185
+ __typename?: "DataProviderConfigEntry";
3186
+ name: string;
3187
+ value: string;
3188
+ }>;
3189
+ };
3190
+ type DataProviderConnectionFieldsFragment = {
3191
+ __typename?: "DataProviderConnection";
3192
+ id: string;
3193
+ dataProviderId: string;
3194
+ dataProviderSlug: string;
3195
+ connectionRole: DataInstallationConnectionRole;
3196
+ accountIdentifier?: string | null;
3197
+ accountDisplayName?: string | null;
3198
+ authMethod: string;
3199
+ scopes: Array<string>;
3200
+ state: string;
3201
+ availability: string;
3202
+ apiKeyLast4?: string | null;
3203
+ clientId?: string | null;
3204
+ clientSecretLast4?: string | null;
3205
+ userId?: string | null;
3206
+ organizationId?: string | null;
3207
+ createdAt: string;
3208
+ updatedAt: string;
3209
+ config: Array<{
3210
+ __typename?: "DataProviderConfigEntry";
3211
+ name: string;
3212
+ value: string;
3213
+ }>;
3214
+ };
3215
+ type ListDataProvidersQueryVariables = Exact<{
3216
+ after?: InputMaybe<Scalars["String"]["input"]>;
3217
+ before?: InputMaybe<Scalars["String"]["input"]>;
3218
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
3219
+ order?: InputMaybe<PaginationOrder>;
3220
+ }>;
3221
+ type ListDataProvidersQuery = {
3222
+ __typename?: "Query";
3223
+ dataProviders: {
3224
+ __typename?: "DataProviderList";
3225
+ data: Array<{
3226
+ __typename?: "DataProvider";
3227
+ id: string;
3228
+ slug: string;
3229
+ name: string;
3230
+ description?: string | null;
3231
+ integrationType: string;
3232
+ authMethods: Array<string>;
3233
+ credentialsType: string;
3234
+ scopes?: Array<string> | null;
3235
+ state: string;
3236
+ enabled: boolean;
3237
+ iconSlug?: string | null;
3238
+ iconUrl?: string | null;
3239
+ iconDarkUrl?: string | null;
3240
+ createdAt: string;
3241
+ updatedAt: string;
3242
+ configFields: Array<{
3243
+ __typename?: "DataProviderConfigField";
3244
+ key: string;
3245
+ label: string;
3246
+ required: boolean;
3247
+ scope: string;
3248
+ description?: string | null;
3249
+ example?: string | null;
3250
+ pattern?: string | null;
3251
+ patternFlags?: string | null;
3252
+ order?: number | null;
3253
+ secret?: boolean | null;
3254
+ default?: string | null;
3255
+ }>;
3256
+ config: Array<{
3257
+ __typename?: "DataProviderConfigEntry";
3258
+ name: string;
3259
+ value: string;
3260
+ }>;
3261
+ }>;
3262
+ listMetadata: {
3263
+ __typename?: "ListMetadata";
3264
+ after?: string | null;
3265
+ before?: string | null;
3266
+ };
3267
+ };
3268
+ };
3269
+ type ListDataProviderConnectionsQueryVariables = Exact<{
3270
+ after?: InputMaybe<Scalars["String"]["input"]>;
3271
+ before?: InputMaybe<Scalars["String"]["input"]>;
3272
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
3273
+ order?: InputMaybe<PaginationOrder>;
3274
+ }>;
3275
+ type ListDataProviderConnectionsQuery = {
3276
+ __typename?: "Query";
3277
+ dataProviderConnections: {
3278
+ __typename?: "DataProviderConnectionList";
3279
+ data: Array<{
3280
+ __typename?: "DataProviderConnection";
3281
+ id: string;
3282
+ dataProviderId: string;
3283
+ dataProviderSlug: string;
3284
+ connectionRole: DataInstallationConnectionRole;
3285
+ accountIdentifier?: string | null;
3286
+ accountDisplayName?: string | null;
3287
+ authMethod: string;
3288
+ scopes: Array<string>;
3289
+ state: string;
3290
+ availability: string;
3291
+ apiKeyLast4?: string | null;
3292
+ clientId?: string | null;
3293
+ clientSecretLast4?: string | null;
3294
+ userId?: string | null;
3295
+ organizationId?: string | null;
3296
+ createdAt: string;
3297
+ updatedAt: string;
3298
+ config: Array<{
3299
+ __typename?: "DataProviderConfigEntry";
3300
+ name: string;
3301
+ value: string;
3302
+ }>;
3303
+ }>;
3304
+ listMetadata: {
3305
+ __typename?: "ListMetadata";
3306
+ after?: string | null;
3307
+ before?: string | null;
3308
+ };
3309
+ };
3310
+ };
3311
+ type CreateDataProviderConnectionMutationVariables = Exact<{
3312
+ input: CreateDataProviderConnectionInput;
3313
+ }>;
3314
+ type CreateDataProviderConnectionMutation = {
3315
+ __typename?: "Mutation";
3316
+ createDataProviderConnection: {
3317
+ __typename?: "DataProviderConnection";
3318
+ id: string;
3319
+ dataProviderId: string;
3320
+ dataProviderSlug: string;
3321
+ connectionRole: DataInstallationConnectionRole;
3322
+ accountIdentifier?: string | null;
3323
+ accountDisplayName?: string | null;
3324
+ authMethod: string;
3325
+ scopes: Array<string>;
3326
+ state: string;
3327
+ availability: string;
3328
+ apiKeyLast4?: string | null;
3329
+ clientId?: string | null;
3330
+ clientSecretLast4?: string | null;
3331
+ userId?: string | null;
3332
+ organizationId?: string | null;
3333
+ createdAt: string;
3334
+ updatedAt: string;
3335
+ config: Array<{
3336
+ __typename?: "DataProviderConfigEntry";
3337
+ name: string;
3338
+ value: string;
3339
+ }>;
3340
+ };
3341
+ };
3342
+ type DeleteDataProviderConnectionMutationVariables = Exact<{
3343
+ id: Scalars["ID"]["input"];
3344
+ }>;
3345
+ type DeleteDataProviderConnectionMutation = {
3346
+ __typename?: "Mutation";
3347
+ deleteDataProviderConnection: string;
3348
+ };
3349
+ type SetDataProviderEnabledMutationVariables = Exact<{
3350
+ input: SetDataProviderEnabledInput;
3351
+ }>;
3352
+ type SetDataProviderEnabledMutation = {
3353
+ __typename?: "Mutation";
3354
+ setDataProviderEnabled: {
3355
+ __typename?: "DataProvider";
3356
+ id: string;
3357
+ slug: string;
3358
+ name: string;
3359
+ description?: string | null;
3360
+ integrationType: string;
3361
+ authMethods: Array<string>;
3362
+ credentialsType: string;
3363
+ scopes?: Array<string> | null;
3364
+ state: string;
3365
+ enabled: boolean;
3366
+ iconSlug?: string | null;
3367
+ iconUrl?: string | null;
3368
+ iconDarkUrl?: string | null;
3369
+ createdAt: string;
3370
+ updatedAt: string;
3371
+ configFields: Array<{
3372
+ __typename?: "DataProviderConfigField";
3373
+ key: string;
3374
+ label: string;
3375
+ required: boolean;
3376
+ scope: string;
3377
+ description?: string | null;
3378
+ example?: string | null;
3379
+ pattern?: string | null;
3380
+ patternFlags?: string | null;
3381
+ order?: number | null;
3382
+ secret?: boolean | null;
3383
+ default?: string | null;
3384
+ }>;
3385
+ config: Array<{
3386
+ __typename?: "DataProviderConfigEntry";
3387
+ name: string;
3388
+ value: string;
3389
+ }>;
3390
+ };
3391
+ };
3392
+ type DataProviderAuthorizationResultFields_DataProviderAuthorization_Fragment = {
3393
+ __typename: "DataProviderAuthorization";
3394
+ url: string;
3395
+ state: string;
3396
+ redirectToken: string;
3397
+ handoffToken?: string | null;
3398
+ };
3399
+ type DataProviderAuthorizationResultFields_DataProviderAuthorizationUnavailable_Fragment = {
3400
+ __typename: "DataProviderAuthorizationUnavailable";
3401
+ message: string;
3402
+ };
3403
+ type DataProviderAuthorizationResultFields_DataProviderConfigInvalid_Fragment = {
3404
+ __typename: "DataProviderConfigInvalid";
3405
+ message: string;
3406
+ };
3407
+ type DataProviderAuthorizationResultFieldsFragment = DataProviderAuthorizationResultFields_DataProviderAuthorization_Fragment | DataProviderAuthorizationResultFields_DataProviderAuthorizationUnavailable_Fragment | DataProviderAuthorizationResultFields_DataProviderConfigInvalid_Fragment;
3408
+ type CreateDataProviderAuthorizationMutationVariables = Exact<{
3409
+ input: CreateDataProviderAuthorizationInput;
3410
+ }>;
3411
+ type CreateDataProviderAuthorizationMutation = {
3412
+ __typename?: "Mutation";
3413
+ createDataProviderAuthorization: {
3414
+ __typename: "DataProviderAuthorization";
3415
+ url: string;
3416
+ state: string;
3417
+ redirectToken: string;
3418
+ handoffToken?: string | null;
3419
+ } | {
3420
+ __typename: "DataProviderAuthorizationUnavailable";
3421
+ message: string;
3422
+ } | {
3423
+ __typename: "DataProviderConfigInvalid";
3424
+ message: string;
3425
+ };
3426
+ };
3427
+ type CreateOrganizationDataProviderAuthorizationMutationVariables = Exact<{
3428
+ input: CreateOrganizationDataProviderAuthorizationInput;
3429
+ }>;
3430
+ type CreateOrganizationDataProviderAuthorizationMutation = {
3431
+ __typename?: "Mutation";
3432
+ createOrganizationDataProviderAuthorization: {
3433
+ __typename: "DataProviderAuthorization";
3434
+ url: string;
3435
+ state: string;
3436
+ redirectToken: string;
3437
+ handoffToken?: string | null;
3438
+ } | {
3439
+ __typename: "DataProviderAuthorizationUnavailable";
3440
+ message: string;
3441
+ } | {
3442
+ __typename: "DataProviderConfigInvalid";
3443
+ message: string;
3444
+ };
3445
+ };
3446
+ type DataProviderAuthorizationStatusQueryVariables = Exact<{
3447
+ dataProviderId: Scalars["ID"]["input"];
3448
+ state: Scalars["String"]["input"];
3449
+ }>;
3450
+ type DataProviderAuthorizationStatusQuery = {
3451
+ __typename?: "Query";
3452
+ dataProviderAuthorizationStatus: {
3453
+ __typename?: "DataProviderAuthorizationStatus";
3454
+ state: string;
3455
+ connecting: boolean;
3456
+ };
3457
+ };
3458
+ type ConnectDataProviderWithClientCredentialsMutationVariables = Exact<{
3459
+ input: ConnectDataProviderWithClientCredentialsInput;
3460
+ }>;
3461
+ type ConnectDataProviderWithClientCredentialsMutation = {
3462
+ __typename?: "Mutation";
3463
+ connectDataProviderWithClientCredentials: {
3464
+ __typename: "DataProviderAuthMethodUnsupported";
3465
+ authMethod: string;
3466
+ supportedAuthMethods: Array<string>;
3467
+ } | {
3468
+ __typename: "DataProviderConfigInvalid";
3469
+ message: string;
3470
+ } | {
3471
+ __typename: "DataProviderConnected";
3472
+ connection: {
3473
+ __typename?: "DataProviderConnection";
3474
+ id: string;
3475
+ dataProviderId: string;
3476
+ dataProviderSlug: string;
3477
+ connectionRole: DataInstallationConnectionRole;
3478
+ accountIdentifier?: string | null;
3479
+ accountDisplayName?: string | null;
3480
+ authMethod: string;
3481
+ scopes: Array<string>;
3482
+ state: string;
3483
+ availability: string;
3484
+ apiKeyLast4?: string | null;
3485
+ clientId?: string | null;
3486
+ clientSecretLast4?: string | null;
3487
+ userId?: string | null;
3488
+ organizationId?: string | null;
3489
+ createdAt: string;
3490
+ updatedAt: string;
3491
+ config: Array<{
3492
+ __typename?: "DataProviderConfigEntry";
3493
+ name: string;
3494
+ value: string;
3495
+ }>;
3496
+ };
3497
+ } | {
3498
+ __typename: "DataProviderConnectionAuthMethodConflict";
3499
+ existingAuthMethod: string;
3500
+ };
3501
+ };
3502
+ type DataProviderConfigurationFieldsFragment = {
3503
+ __typename?: "DataProviderConfiguration";
3504
+ dataProviderId: string;
3505
+ dataProviderSlug: string;
3506
+ organizationId: string;
3507
+ enabled: boolean;
3508
+ hasCredentials: boolean;
3509
+ scopes?: Array<string> | null;
3510
+ availableScopes: Array<string>;
3511
+ updatedAt: string;
3512
+ config: Array<{
3513
+ __typename?: "DataProviderConfigEntry";
3514
+ name: string;
3515
+ value: string;
3516
+ }>;
3517
+ };
3518
+ type SetDataProviderConfigurationMutationVariables = Exact<{
3519
+ input: SetDataProviderConfigurationInput;
3520
+ }>;
3521
+ type SetDataProviderConfigurationMutation = {
3522
+ __typename?: "Mutation";
3523
+ setDataProviderConfiguration: {
3524
+ __typename: "DataProviderConfigInvalid";
3525
+ message: string;
3526
+ } | {
3527
+ __typename: "DataProviderConfiguration";
3528
+ dataProviderId: string;
3529
+ dataProviderSlug: string;
3530
+ organizationId: string;
3531
+ enabled: boolean;
3532
+ hasCredentials: boolean;
3533
+ scopes?: Array<string> | null;
3534
+ availableScopes: Array<string>;
3535
+ updatedAt: string;
3536
+ config: Array<{
3537
+ __typename?: "DataProviderConfigEntry";
3538
+ name: string;
3539
+ value: string;
3540
+ }>;
3541
+ };
3542
+ };
3543
+ type ListOrganizationDataProvidersQueryVariables = Exact<{
3544
+ after?: InputMaybe<Scalars["String"]["input"]>;
3545
+ before?: InputMaybe<Scalars["String"]["input"]>;
3546
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
3547
+ order?: InputMaybe<PaginationOrder>;
3548
+ }>;
3549
+ type ListOrganizationDataProvidersQuery = {
3550
+ __typename?: "Query";
3551
+ organizationDataProviders: {
3552
+ __typename?: "OrganizationDataProviderList";
3553
+ data: Array<{
3554
+ __typename?: "OrganizationDataProvider";
3555
+ id: string;
3556
+ slug: string;
3557
+ name: string;
3558
+ description?: string | null;
3559
+ integrationType: string;
3560
+ authMethods: Array<string>;
3561
+ credentialsType: string;
3562
+ scopes?: Array<string> | null;
3563
+ defaultScopes: Array<string>;
3564
+ availableScopes: Array<string>;
3565
+ state: string;
3566
+ enabled: boolean;
3567
+ disabledSource?: string | null;
3568
+ configured: boolean;
3569
+ hasCredentials: boolean;
3570
+ iconSlug?: string | null;
3571
+ iconUrl?: string | null;
3572
+ iconDarkUrl?: string | null;
3573
+ createdAt: string;
3574
+ updatedAt: string;
3575
+ credentials: {
3576
+ __typename?: "DataProviderCredentials";
3577
+ clientId?: string | null;
3578
+ credentialsType: string;
3579
+ hasCredentials: boolean;
3580
+ redactedClientSecret?: string | null;
3581
+ redirectUri: string;
3582
+ };
3583
+ capabilities: {
3584
+ __typename?: "OrganizationDataProviderCapabilities";
3585
+ canConfigure: boolean;
3586
+ canConnect: boolean;
3587
+ canDisconnect: boolean;
3588
+ canReauthorize: boolean;
3589
+ canUpdateCredentials: boolean;
3590
+ };
3591
+ configFields: Array<{
3592
+ __typename?: "DataProviderConfigField";
3593
+ key: string;
3594
+ label: string;
3595
+ required: boolean;
3596
+ scope: string;
3597
+ description?: string | null;
3598
+ example?: string | null;
3599
+ pattern?: string | null;
3600
+ patternFlags?: string | null;
3601
+ order?: number | null;
3602
+ secret?: boolean | null;
3603
+ default?: string | null;
3604
+ }>;
3605
+ config: Array<{
3606
+ __typename?: "DataProviderConfigEntry";
3607
+ name: string;
3608
+ value: string;
3609
+ }>;
3610
+ connection?: {
3611
+ __typename?: "DataProviderConnection";
3612
+ id: string;
3613
+ dataProviderId: string;
3614
+ dataProviderSlug: string;
3615
+ connectionRole: DataInstallationConnectionRole;
3616
+ accountIdentifier?: string | null;
3617
+ accountDisplayName?: string | null;
3618
+ authMethod: string;
3619
+ scopes: Array<string>;
3620
+ state: string;
3621
+ availability: string;
3622
+ apiKeyLast4?: string | null;
3623
+ clientId?: string | null;
3624
+ clientSecretLast4?: string | null;
3625
+ userId?: string | null;
3626
+ organizationId?: string | null;
3627
+ createdAt: string;
3628
+ updatedAt: string;
3629
+ config: Array<{
3630
+ __typename?: "DataProviderConfigEntry";
3631
+ name: string;
3632
+ value: string;
3633
+ }>;
3634
+ } | null;
3635
+ connectedAccounts: Array<{
3636
+ __typename?: "DataProviderConnection";
3637
+ id: string;
3638
+ dataProviderId: string;
3639
+ dataProviderSlug: string;
3640
+ connectionRole: DataInstallationConnectionRole;
3641
+ accountIdentifier?: string | null;
3642
+ accountDisplayName?: string | null;
3643
+ authMethod: string;
3644
+ scopes: Array<string>;
3645
+ state: string;
3646
+ availability: string;
3647
+ apiKeyLast4?: string | null;
3648
+ clientId?: string | null;
3649
+ clientSecretLast4?: string | null;
3650
+ userId?: string | null;
3651
+ organizationId?: string | null;
3652
+ createdAt: string;
3653
+ updatedAt: string;
3654
+ config: Array<{
3655
+ __typename?: "DataProviderConfigEntry";
3656
+ name: string;
3657
+ value: string;
3658
+ }>;
3659
+ }>;
3660
+ }>;
3661
+ listMetadata: {
3662
+ __typename?: "ListMetadata";
3663
+ after?: string | null;
3664
+ before?: string | null;
3665
+ };
3666
+ };
3667
+ };
3668
+ type OrganizationDataProviderFieldsFragment = {
3669
+ __typename?: "OrganizationDataProvider";
3670
+ id: string;
3671
+ slug: string;
3672
+ name: string;
3673
+ description?: string | null;
3674
+ integrationType: string;
3675
+ authMethods: Array<string>;
3676
+ credentialsType: string;
3677
+ scopes?: Array<string> | null;
3678
+ defaultScopes: Array<string>;
3679
+ availableScopes: Array<string>;
3680
+ state: string;
3681
+ enabled: boolean;
3682
+ disabledSource?: string | null;
3683
+ configured: boolean;
3684
+ hasCredentials: boolean;
3685
+ iconSlug?: string | null;
3686
+ iconUrl?: string | null;
3687
+ iconDarkUrl?: string | null;
3688
+ createdAt: string;
3689
+ updatedAt: string;
3690
+ credentials: {
3691
+ __typename?: "DataProviderCredentials";
3692
+ clientId?: string | null;
3693
+ credentialsType: string;
3694
+ hasCredentials: boolean;
3695
+ redactedClientSecret?: string | null;
3696
+ redirectUri: string;
3697
+ };
3698
+ capabilities: {
3699
+ __typename?: "OrganizationDataProviderCapabilities";
3700
+ canConfigure: boolean;
3701
+ canConnect: boolean;
3702
+ canDisconnect: boolean;
3703
+ canReauthorize: boolean;
3704
+ canUpdateCredentials: boolean;
3705
+ };
3706
+ configFields: Array<{
3707
+ __typename?: "DataProviderConfigField";
3708
+ key: string;
3709
+ label: string;
3710
+ required: boolean;
3711
+ scope: string;
3712
+ description?: string | null;
3713
+ example?: string | null;
3714
+ pattern?: string | null;
3715
+ patternFlags?: string | null;
3716
+ order?: number | null;
3717
+ secret?: boolean | null;
3718
+ default?: string | null;
3719
+ }>;
3720
+ config: Array<{
3721
+ __typename?: "DataProviderConfigEntry";
3722
+ name: string;
3723
+ value: string;
3724
+ }>;
3725
+ connection?: {
3726
+ __typename?: "DataProviderConnection";
3727
+ id: string;
3728
+ dataProviderId: string;
3729
+ dataProviderSlug: string;
3730
+ connectionRole: DataInstallationConnectionRole;
3731
+ accountIdentifier?: string | null;
3732
+ accountDisplayName?: string | null;
3733
+ authMethod: string;
3734
+ scopes: Array<string>;
3735
+ state: string;
3736
+ availability: string;
3737
+ apiKeyLast4?: string | null;
3738
+ clientId?: string | null;
3739
+ clientSecretLast4?: string | null;
3740
+ userId?: string | null;
3741
+ organizationId?: string | null;
3742
+ createdAt: string;
3743
+ updatedAt: string;
3744
+ config: Array<{
3745
+ __typename?: "DataProviderConfigEntry";
3746
+ name: string;
3747
+ value: string;
3748
+ }>;
3749
+ } | null;
3750
+ connectedAccounts: Array<{
3751
+ __typename?: "DataProviderConnection";
3752
+ id: string;
3753
+ dataProviderId: string;
3754
+ dataProviderSlug: string;
3755
+ connectionRole: DataInstallationConnectionRole;
3756
+ accountIdentifier?: string | null;
3757
+ accountDisplayName?: string | null;
3758
+ authMethod: string;
3759
+ scopes: Array<string>;
3760
+ state: string;
3761
+ availability: string;
3762
+ apiKeyLast4?: string | null;
3763
+ clientId?: string | null;
3764
+ clientSecretLast4?: string | null;
3765
+ userId?: string | null;
3766
+ organizationId?: string | null;
3767
+ createdAt: string;
3768
+ updatedAt: string;
3769
+ config: Array<{
3770
+ __typename?: "DataProviderConfigEntry";
3771
+ name: string;
3772
+ value: string;
3773
+ }>;
3774
+ }>;
3775
+ };
3776
+ type SetOrganizationDataProviderConfigurationMutationVariables = Exact<{
3777
+ input: SetOrganizationDataProviderConfigurationInput;
3778
+ }>;
3779
+ type SetOrganizationDataProviderConfigurationMutation = {
3780
+ __typename?: "Mutation";
3781
+ setOrganizationDataProviderConfiguration: {
3782
+ __typename: "DataProviderConfigInvalid";
3783
+ message: string;
3784
+ } | {
3785
+ __typename: "DataProviderConfiguration";
3786
+ dataProviderId: string;
3787
+ dataProviderSlug: string;
3788
+ organizationId: string;
3789
+ enabled: boolean;
3790
+ hasCredentials: boolean;
3791
+ scopes?: Array<string> | null;
3792
+ availableScopes: Array<string>;
3793
+ updatedAt: string;
3794
+ config: Array<{
3795
+ __typename?: "DataProviderConfigEntry";
3796
+ name: string;
3797
+ value: string;
3798
+ }>;
3799
+ };
3800
+ };
3801
+ type CreateOrganizationDataProviderConnectionMutationVariables = Exact<{
3802
+ input: CreateOrganizationDataProviderConnectionInput;
3803
+ }>;
3804
+ type CreateOrganizationDataProviderConnectionMutation = {
3805
+ __typename?: "Mutation";
3806
+ createOrganizationDataProviderConnection: {
3807
+ __typename?: "DataProviderConnection";
3808
+ id: string;
3809
+ dataProviderId: string;
3810
+ dataProviderSlug: string;
3811
+ connectionRole: DataInstallationConnectionRole;
3812
+ accountIdentifier?: string | null;
3813
+ accountDisplayName?: string | null;
3814
+ authMethod: string;
3815
+ scopes: Array<string>;
3816
+ state: string;
3817
+ availability: string;
3818
+ apiKeyLast4?: string | null;
3819
+ clientId?: string | null;
3820
+ clientSecretLast4?: string | null;
3821
+ userId?: string | null;
3822
+ organizationId?: string | null;
3823
+ createdAt: string;
3824
+ updatedAt: string;
3825
+ config: Array<{
3826
+ __typename?: "DataProviderConfigEntry";
3827
+ name: string;
3828
+ value: string;
3829
+ }>;
3830
+ };
3831
+ };
3832
+ type ConnectOrganizationDataProviderWithClientCredentialsMutationVariables = Exact<{
3833
+ input: ConnectOrganizationDataProviderWithClientCredentialsInput;
3834
+ }>;
3835
+ type ConnectOrganizationDataProviderWithClientCredentialsMutation = {
3836
+ __typename?: "Mutation";
3837
+ connectOrganizationDataProviderWithClientCredentials: {
3838
+ __typename: "DataProviderAuthMethodUnsupported";
3839
+ authMethod: string;
3840
+ supportedAuthMethods: Array<string>;
3841
+ } | {
3842
+ __typename: "DataProviderConfigInvalid";
3843
+ message: string;
3844
+ } | {
3845
+ __typename: "DataProviderConnected";
3846
+ connection: {
3847
+ __typename?: "DataProviderConnection";
3848
+ id: string;
3849
+ dataProviderId: string;
3850
+ dataProviderSlug: string;
3851
+ connectionRole: DataInstallationConnectionRole;
3852
+ accountIdentifier?: string | null;
3853
+ accountDisplayName?: string | null;
3854
+ authMethod: string;
3855
+ scopes: Array<string>;
3856
+ state: string;
3857
+ availability: string;
3858
+ apiKeyLast4?: string | null;
3859
+ clientId?: string | null;
3860
+ clientSecretLast4?: string | null;
3861
+ userId?: string | null;
3862
+ organizationId?: string | null;
3863
+ createdAt: string;
3864
+ updatedAt: string;
3865
+ config: Array<{
3866
+ __typename?: "DataProviderConfigEntry";
3867
+ name: string;
3868
+ value: string;
3869
+ }>;
3870
+ };
3871
+ } | {
3872
+ __typename: "DataProviderConnectionAuthMethodConflict";
3873
+ existingAuthMethod: string;
3874
+ };
3875
+ };
3876
+ type DeleteOrganizationDataProviderConnectionMutationVariables = Exact<{
3877
+ id: Scalars["ID"]["input"];
3878
+ }>;
3879
+ type DeleteOrganizationDataProviderConnectionMutation = {
3880
+ __typename?: "Mutation";
3881
+ deleteOrganizationDataProviderConnection: string;
3882
+ };
3883
+ type RegisterPasskeyMutationVariables = Exact<{
3884
+ input: RegisterPasskeyInput;
3885
+ }>;
3886
+ type RegisterPasskeyMutation = {
3887
+ __typename?: "Mutation";
3888
+ registerPasskey: {
3889
+ __typename: "ElevatedAccessTokenExpired";
3890
+ message: string;
3891
+ } | {
3892
+ __typename: "ElevatedAccessTokenInvalid";
3893
+ message: string;
3894
+ } | {
3895
+ __typename: "PasskeyRegistrationOptions";
3896
+ challengeId: string;
3897
+ options: any;
3898
+ };
3899
+ };
3900
+ type VerifyPasskeyMutationVariables = Exact<{
3901
+ input: VerifyPasskeyInput;
3902
+ }>;
3903
+ type VerifyPasskeyMutation = {
3904
+ __typename?: "Mutation";
3905
+ verifyPasskey: {
3906
+ __typename: "ElevatedAccessTokenExpired";
3907
+ message: string;
3908
+ } | {
3909
+ __typename: "ElevatedAccessTokenInvalid";
3910
+ message: string;
3911
+ } | {
3912
+ __typename: "PasskeyChallengeNotFound";
3913
+ _placeholder: boolean;
3914
+ } | {
3915
+ __typename: "PasskeyVerificationFailed";
3916
+ _placeholder: boolean;
3917
+ } | {
3918
+ __typename: "PasskeyVerified";
3919
+ success: boolean;
3920
+ };
3921
+ };
3922
+ type DeletePasskeyMutationVariables = Exact<{
3923
+ input: DeletePasskeyInput;
3924
+ }>;
3925
+ type DeletePasskeyMutation = {
3926
+ __typename?: "Mutation";
3927
+ deletePasskey: {
3928
+ __typename: "ElevatedAccessTokenExpired";
3929
+ message: string;
3930
+ } | {
3931
+ __typename: "ElevatedAccessTokenInvalid";
3932
+ message: string;
3933
+ } | {
3934
+ __typename: "PasskeyDeleted";
3935
+ success: boolean;
3936
+ } | {
3937
+ __typename: "PasskeyNotFound";
3938
+ _placeholder: boolean;
3939
+ };
3940
+ };
3941
+ type CreateAdminPortalLinkMutationVariables = Exact<{
3942
+ intent: AdminPortalLinkIntent;
3943
+ }>;
3944
+ type CreateAdminPortalLinkMutation = {
3945
+ __typename?: "Mutation";
3946
+ createAdminPortalLink: {
3947
+ __typename?: "AdminPortalLink";
3948
+ link: string;
3949
+ intent: AdminPortalLinkIntent;
3950
+ expiresAt: string;
3951
+ };
3952
+ };
3953
+ type AuditLogStreamQueryVariables = Exact<{
3954
+ [key: string]: never;
3955
+ }>;
3956
+ type AuditLogStreamQuery = {
3957
+ __typename?: "Query";
3958
+ auditLogStream?: {
3959
+ __typename?: "AuditLogStream";
3960
+ id: string;
3961
+ auditLogTrailId: string;
3962
+ type: AuditLogStreamType;
3963
+ state: AuditLogStreamState;
3964
+ errorMessage?: string | null;
3965
+ lastSyncedEventId?: string | null;
3966
+ } | null;
3967
+ };
3968
+ type BrandingQueryVariables = Exact<{
3969
+ [key: string]: never;
3970
+ }>;
3971
+ type BrandingQuery = {
3972
+ __typename?: "Query";
3973
+ branding: {
3974
+ __typename?: "Branding";
3975
+ displayName: string;
3976
+ logoLightPath?: string | null;
3977
+ logoDarkPath?: string | null;
3978
+ logoLightIconPath?: string | null;
3979
+ logoDarkIconPath?: string | null;
3980
+ };
3981
+ };
3982
+ type AuthKitSettingsQueryVariables = Exact<{
3983
+ [key: string]: never;
3984
+ }>;
3985
+ type AuthKitSettingsQuery = {
3986
+ __typename?: "Query";
3987
+ authkitSettings: {
3988
+ __typename?: "AuthKitSettings";
3989
+ origin: string;
3990
+ };
3991
+ };
3992
+ type ListPermissionsQueryVariables = Exact<{
3993
+ after?: InputMaybe<Scalars["String"]["input"]>;
3994
+ before?: InputMaybe<Scalars["String"]["input"]>;
3995
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
3996
+ order?: InputMaybe<PaginationOrder>;
3997
+ search?: InputMaybe<Scalars["String"]["input"]>;
3998
+ }>;
3999
+ type ListPermissionsQuery = {
4000
+ __typename?: "Query";
4001
+ permissions: {
4002
+ __typename?: "PermissionList";
4003
+ data: Array<{
4004
+ __typename?: "Permission";
4005
+ id: string;
4006
+ slug: string;
4007
+ name: string;
4008
+ description?: string | null;
4009
+ system: boolean;
4010
+ createdAt: string;
4011
+ updatedAt: string;
4012
+ }>;
4013
+ listMetadata: {
4014
+ __typename?: "ListMetadata";
4015
+ after?: string | null;
4016
+ before?: string | null;
4017
+ };
4018
+ };
4019
+ };
4020
+ type GetOrganizationDomainQueryVariables = Exact<{
4021
+ id: Scalars["ID"]["input"];
4022
+ }>;
4023
+ type GetOrganizationDomainQuery = {
4024
+ __typename?: "Query";
4025
+ organizationDomain: {
4026
+ __typename?: "OrganizationDomain";
4027
+ id: string;
4028
+ organizationId: string;
4029
+ domain: string;
4030
+ subdomain?: string | null;
4031
+ state: OrganizationDomainState;
4032
+ verificationPrefix?: string | null;
4033
+ verificationToken?: string | null;
4034
+ nameServer: DomainVerificationNameServer;
4035
+ createdAt: string;
4036
+ };
4037
+ };
4038
+ type SharedDataProviderFieldsFragment = {
4039
+ __typename?: "SharedDataProvider";
4040
+ id: string;
4041
+ slug: string;
4042
+ name: string;
4043
+ description?: string | null;
4044
+ integrationType: string;
4045
+ iconSlug?: string | null;
4046
+ iconUrl?: string | null;
4047
+ iconDarkUrl?: string | null;
4048
+ createdAt: string;
4049
+ updatedAt: string;
4050
+ connectedAccounts: Array<{
4051
+ __typename?: "SharedDataProviderConnection";
4052
+ id: string;
4053
+ dataProviderId: string;
4054
+ dataProviderSlug: string;
4055
+ authMethod: string;
4056
+ connectionRole: DataInstallationConnectionRole;
4057
+ state: string;
4058
+ availability: string;
4059
+ createdAt: string;
4060
+ updatedAt: string;
4061
+ }>;
4062
+ };
4063
+ type ListSharedDataProvidersQueryVariables = Exact<{
4064
+ after?: InputMaybe<Scalars["String"]["input"]>;
4065
+ before?: InputMaybe<Scalars["String"]["input"]>;
4066
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
4067
+ order?: InputMaybe<PaginationOrder>;
4068
+ supportsMultipleConnections?: InputMaybe<Scalars["Boolean"]["input"]>;
4069
+ }>;
4070
+ type ListSharedDataProvidersQuery = {
4071
+ __typename?: "Query";
4072
+ sharedDataProviders: {
4073
+ __typename?: "SharedDataProviderList";
4074
+ data: Array<{
4075
+ __typename?: "SharedDataProvider";
4076
+ id: string;
4077
+ slug: string;
4078
+ name: string;
4079
+ description?: string | null;
4080
+ integrationType: string;
4081
+ iconSlug?: string | null;
4082
+ iconUrl?: string | null;
4083
+ iconDarkUrl?: string | null;
4084
+ createdAt: string;
4085
+ updatedAt: string;
4086
+ connectedAccounts: Array<{
4087
+ __typename?: "SharedDataProviderConnection";
4088
+ id: string;
4089
+ dataProviderId: string;
4090
+ dataProviderSlug: string;
4091
+ authMethod: string;
4092
+ connectionRole: DataInstallationConnectionRole;
4093
+ state: string;
4094
+ availability: string;
4095
+ createdAt: string;
4096
+ updatedAt: string;
4097
+ }>;
4098
+ }>;
4099
+ listMetadata: {
4100
+ __typename?: "ListMetadata";
4101
+ after?: string | null;
4102
+ before?: string | null;
4103
+ };
4104
+ };
4105
+ };
4106
+ type ConfigurableDataProviderFieldsFragment = {
4107
+ __typename?: "ConfigurableDataProvider";
4108
+ id: string;
4109
+ slug: string;
4110
+ name: string;
4111
+ description?: string | null;
4112
+ integrationType: string;
4113
+ authMethods: Array<string>;
4114
+ credentialsType: string;
4115
+ scopes?: Array<string> | null;
4116
+ defaultScopes: Array<string>;
4117
+ availableScopes: Array<string>;
4118
+ state: string;
4119
+ enabled: boolean;
4120
+ iconSlug?: string | null;
4121
+ iconUrl?: string | null;
4122
+ iconDarkUrl?: string | null;
4123
+ createdAt: string;
4124
+ updatedAt: string;
4125
+ credentials: {
4126
+ __typename?: "DataProviderCredentials";
4127
+ clientId?: string | null;
4128
+ credentialsType: string;
4129
+ hasCredentials: boolean;
4130
+ redactedClientSecret?: string | null;
4131
+ redirectUri: string;
4132
+ };
4133
+ configFields: Array<{
4134
+ __typename?: "DataProviderConfigField";
4135
+ key: string;
4136
+ label: string;
4137
+ required: boolean;
4138
+ scope: string;
4139
+ description?: string | null;
4140
+ example?: string | null;
4141
+ pattern?: string | null;
4142
+ patternFlags?: string | null;
4143
+ order?: number | null;
4144
+ secret?: boolean | null;
4145
+ default?: string | null;
4146
+ }>;
4147
+ config: Array<{
4148
+ __typename?: "DataProviderConfigEntry";
4149
+ name: string;
4150
+ value: string;
4151
+ }>;
4152
+ };
4153
+ type ListConfigurableDataProvidersQueryVariables = Exact<{
4154
+ after?: InputMaybe<Scalars["String"]["input"]>;
4155
+ before?: InputMaybe<Scalars["String"]["input"]>;
4156
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
4157
+ order?: InputMaybe<PaginationOrder>;
4158
+ }>;
4159
+ type ListConfigurableDataProvidersQuery = {
4160
+ __typename?: "Query";
4161
+ configurableDataProviders: {
4162
+ __typename?: "ConfigurableDataProviderList";
4163
+ data: Array<{
4164
+ __typename?: "ConfigurableDataProvider";
4165
+ id: string;
4166
+ slug: string;
4167
+ name: string;
4168
+ description?: string | null;
4169
+ integrationType: string;
4170
+ authMethods: Array<string>;
4171
+ credentialsType: string;
4172
+ scopes?: Array<string> | null;
4173
+ defaultScopes: Array<string>;
4174
+ availableScopes: Array<string>;
4175
+ state: string;
4176
+ enabled: boolean;
4177
+ iconSlug?: string | null;
4178
+ iconUrl?: string | null;
4179
+ iconDarkUrl?: string | null;
4180
+ createdAt: string;
4181
+ updatedAt: string;
4182
+ credentials: {
4183
+ __typename?: "DataProviderCredentials";
4184
+ clientId?: string | null;
4185
+ credentialsType: string;
4186
+ hasCredentials: boolean;
4187
+ redactedClientSecret?: string | null;
4188
+ redirectUri: string;
4189
+ };
4190
+ configFields: Array<{
4191
+ __typename?: "DataProviderConfigField";
4192
+ key: string;
4193
+ label: string;
4194
+ required: boolean;
4195
+ scope: string;
4196
+ description?: string | null;
4197
+ example?: string | null;
4198
+ pattern?: string | null;
4199
+ patternFlags?: string | null;
4200
+ order?: number | null;
4201
+ secret?: boolean | null;
4202
+ default?: string | null;
4203
+ }>;
4204
+ config: Array<{
4205
+ __typename?: "DataProviderConfigEntry";
4206
+ name: string;
4207
+ value: string;
4208
+ }>;
4209
+ }>;
4210
+ listMetadata: {
4211
+ __typename?: "ListMetadata";
4212
+ after?: string | null;
4213
+ before?: string | null;
4214
+ };
4215
+ };
4216
+ };
4217
+ type OrganizationApiKeyFieldsFragment = {
4218
+ __typename?: "OrganizationApiKey";
4219
+ id: string;
4220
+ name: string;
4221
+ obfuscatedValue: string;
4222
+ permissions: Array<string>;
4223
+ lastUsedAt?: string | null;
4224
+ expiresAt?: string | null;
4225
+ createdAt: string;
4226
+ updatedAt: string;
4227
+ };
4228
+ type UserApiKeyFieldsFragment = {
4229
+ __typename?: "UserApiKey";
4230
+ id: string;
4231
+ name: string;
4232
+ obfuscatedValue: string;
4233
+ permissions: Array<string>;
4234
+ lastUsedAt?: string | null;
4235
+ expiresAt?: string | null;
4236
+ createdAt: string;
4237
+ updatedAt: string;
4238
+ owner: {
4239
+ __typename?: "UserApiKeyOwner";
4240
+ id: string;
4241
+ email: string;
4242
+ firstName?: string | null;
4243
+ lastName?: string | null;
4244
+ displayName: string;
4245
+ };
4246
+ };
4247
+ type ListOrganizationApiKeysQueryVariables = Exact<{
4248
+ after?: InputMaybe<Scalars["String"]["input"]>;
4249
+ before?: InputMaybe<Scalars["String"]["input"]>;
4250
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
4251
+ order?: InputMaybe<PaginationOrder>;
4252
+ search?: InputMaybe<Scalars["String"]["input"]>;
4253
+ }>;
4254
+ type ListOrganizationApiKeysQuery = {
4255
+ __typename?: "Query";
4256
+ organizationApiKeys: {
4257
+ __typename?: "OrganizationApiKeyList";
4258
+ data: Array<{
4259
+ __typename?: "OrganizationApiKey";
4260
+ id: string;
4261
+ name: string;
4262
+ obfuscatedValue: string;
4263
+ permissions: Array<string>;
4264
+ lastUsedAt?: string | null;
4265
+ expiresAt?: string | null;
4266
+ createdAt: string;
4267
+ updatedAt: string;
4268
+ }>;
4269
+ listMetadata: {
4270
+ __typename?: "ListMetadata";
4271
+ after?: string | null;
4272
+ before?: string | null;
4273
+ };
4274
+ };
4275
+ };
4276
+ type ListUserApiKeysQueryVariables = Exact<{
4277
+ after?: InputMaybe<Scalars["String"]["input"]>;
4278
+ before?: InputMaybe<Scalars["String"]["input"]>;
4279
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
4280
+ order?: InputMaybe<PaginationOrder>;
4281
+ search?: InputMaybe<Scalars["String"]["input"]>;
4282
+ }>;
4283
+ type ListUserApiKeysQuery = {
4284
+ __typename?: "Query";
4285
+ userApiKeys: {
4286
+ __typename?: "UserApiKeyList";
4287
+ data: Array<{
4288
+ __typename?: "UserApiKey";
4289
+ id: string;
4290
+ name: string;
4291
+ obfuscatedValue: string;
4292
+ permissions: Array<string>;
4293
+ lastUsedAt?: string | null;
4294
+ expiresAt?: string | null;
4295
+ createdAt: string;
4296
+ updatedAt: string;
4297
+ owner: {
4298
+ __typename?: "UserApiKeyOwner";
4299
+ id: string;
4300
+ email: string;
4301
+ firstName?: string | null;
4302
+ lastName?: string | null;
4303
+ displayName: string;
4304
+ };
4305
+ }>;
4306
+ listMetadata: {
4307
+ __typename?: "ListMetadata";
4308
+ after?: string | null;
4309
+ before?: string | null;
4310
+ };
4311
+ };
4312
+ };
4313
+ type CreateOrganizationApiKeyMutationVariables = Exact<{
4314
+ input: CreateApiKeyInput;
4315
+ }>;
4316
+ type CreateOrganizationApiKeyMutation = {
4317
+ __typename?: "Mutation";
4318
+ createOrganizationApiKey: {
4319
+ __typename: "ApiKeyPermissionsNotHeld";
4320
+ message: string;
4321
+ unheldPermissions: Array<string>;
4322
+ } | {
4323
+ __typename: "ApiKeyPermissionsUnsupportedForToken";
4324
+ message: string;
4325
+ requestedPermissions: Array<string>;
4326
+ } | {
4327
+ __typename: "InvalidApiKeyExpiration";
4328
+ message: string;
4329
+ } | {
4330
+ __typename: "InvalidApiKeyName";
4331
+ message: string;
4332
+ } | {
4333
+ __typename: "InvalidApiKeyPermissions";
4334
+ message: string;
4335
+ invalidPermissions: Array<string>;
4336
+ } | {
4337
+ __typename: "OrganizationApiKeyCreated";
4338
+ value: string;
4339
+ apiKey: {
4340
+ __typename?: "OrganizationApiKey";
4341
+ id: string;
4342
+ name: string;
4343
+ obfuscatedValue: string;
4344
+ permissions: Array<string>;
4345
+ lastUsedAt?: string | null;
4346
+ expiresAt?: string | null;
4347
+ createdAt: string;
4348
+ updatedAt: string;
4349
+ };
4350
+ };
4351
+ };
4352
+ type CreateUserApiKeyMutationVariables = Exact<{
4353
+ input: CreateApiKeyInput;
4354
+ }>;
4355
+ type CreateUserApiKeyMutation = {
4356
+ __typename?: "Mutation";
4357
+ createUserApiKey: {
4358
+ __typename: "ApiKeyPermissionsNotHeld";
4359
+ message: string;
4360
+ unheldPermissions: Array<string>;
4361
+ } | {
4362
+ __typename: "ApiKeyPermissionsUnsupportedForToken";
4363
+ message: string;
4364
+ requestedPermissions: Array<string>;
4365
+ } | {
4366
+ __typename: "InvalidApiKeyExpiration";
4367
+ message: string;
4368
+ } | {
4369
+ __typename: "InvalidApiKeyName";
4370
+ message: string;
4371
+ } | {
4372
+ __typename: "InvalidApiKeyPermissions";
4373
+ message: string;
4374
+ invalidPermissions: Array<string>;
4375
+ } | {
4376
+ __typename: "UserApiKeyCreated";
4377
+ value: string;
4378
+ apiKey: {
4379
+ __typename?: "UserApiKey";
4380
+ id: string;
4381
+ name: string;
4382
+ obfuscatedValue: string;
4383
+ permissions: Array<string>;
4384
+ lastUsedAt?: string | null;
4385
+ expiresAt?: string | null;
4386
+ createdAt: string;
4387
+ updatedAt: string;
4388
+ owner: {
4389
+ __typename?: "UserApiKeyOwner";
4390
+ id: string;
4391
+ email: string;
4392
+ firstName?: string | null;
4393
+ lastName?: string | null;
4394
+ displayName: string;
4395
+ };
4396
+ };
4397
+ };
4398
+ };
4399
+ type ExpireOrganizationApiKeyMutationVariables = Exact<{
4400
+ input: ExpireApiKeyInput;
4401
+ }>;
4402
+ type ExpireOrganizationApiKeyMutation = {
4403
+ __typename?: "Mutation";
4404
+ expireOrganizationApiKey: {
4405
+ __typename: "ApiKeyAlreadyExpired";
4406
+ apiKeyId: string;
4407
+ } | {
4408
+ __typename: "OrganizationApiKeyExpired";
4409
+ apiKey: {
4410
+ __typename?: "OrganizationApiKey";
4411
+ id: string;
4412
+ name: string;
4413
+ obfuscatedValue: string;
4414
+ permissions: Array<string>;
4415
+ lastUsedAt?: string | null;
4416
+ expiresAt?: string | null;
4417
+ createdAt: string;
4418
+ updatedAt: string;
4419
+ };
4420
+ };
4421
+ };
4422
+ type ExpireUserApiKeyMutationVariables = Exact<{
4423
+ input: ExpireApiKeyInput;
4424
+ }>;
4425
+ type ExpireUserApiKeyMutation = {
4426
+ __typename?: "Mutation";
4427
+ expireUserApiKey: {
4428
+ __typename: "ApiKeyAlreadyExpired";
4429
+ apiKeyId: string;
4430
+ } | {
4431
+ __typename: "UserApiKeyExpired";
4432
+ apiKey: {
4433
+ __typename?: "UserApiKey";
4434
+ id: string;
4435
+ name: string;
4436
+ obfuscatedValue: string;
4437
+ permissions: Array<string>;
4438
+ lastUsedAt?: string | null;
4439
+ expiresAt?: string | null;
4440
+ createdAt: string;
4441
+ updatedAt: string;
4442
+ owner: {
4443
+ __typename?: "UserApiKeyOwner";
4444
+ id: string;
4445
+ email: string;
4446
+ firstName?: string | null;
4447
+ lastName?: string | null;
4448
+ displayName: string;
4449
+ };
4450
+ };
4451
+ };
4452
+ };
4453
+ type DeleteOrganizationApiKeyMutationVariables = Exact<{
4454
+ apiKeyId: Scalars["ID"]["input"];
4455
+ }>;
4456
+ type DeleteOrganizationApiKeyMutation = {
4457
+ __typename?: "Mutation";
4458
+ deleteOrganizationApiKey: {
4459
+ __typename?: "OrganizationApiKey";
4460
+ id: string;
4461
+ name: string;
4462
+ obfuscatedValue: string;
4463
+ permissions: Array<string>;
4464
+ lastUsedAt?: string | null;
4465
+ expiresAt?: string | null;
4466
+ createdAt: string;
4467
+ updatedAt: string;
4468
+ };
4469
+ };
4470
+ type DeleteUserApiKeyMutationVariables = Exact<{
4471
+ apiKeyId: Scalars["ID"]["input"];
4472
+ }>;
4473
+ type DeleteUserApiKeyMutation = {
4474
+ __typename?: "Mutation";
4475
+ deleteUserApiKey: {
4476
+ __typename?: "UserApiKey";
4477
+ id: string;
4478
+ name: string;
4479
+ obfuscatedValue: string;
4480
+ permissions: Array<string>;
4481
+ lastUsedAt?: string | null;
4482
+ expiresAt?: string | null;
4483
+ createdAt: string;
4484
+ updatedAt: string;
4485
+ owner: {
4486
+ __typename?: "UserApiKeyOwner";
4487
+ id: string;
4488
+ email: string;
4489
+ firstName?: string | null;
4490
+ lastName?: string | null;
4491
+ displayName: string;
4492
+ };
4493
+ };
4494
+ };
4495
+ declare const OrganizationDomainFieldsFragmentDoc = "\n fragment OrganizationDomainFields on OrganizationDomain {\n id\n organizationId\n domain\n subdomain\n state\n verificationPrefix\n verificationToken\n nameServer\n createdAt\n}\n ";
4496
+ declare const UserFieldsFragmentDoc = "\n fragment UserFields on User {\n id\n email\n emailVerified\n firstName\n lastName\n profilePictureUrl\n mfaEnabled\n mfaLastUsedAt\n passwordSet\n passwordLastUsedAt\n createdAt\n updatedAt\n}\n ";
4497
+ declare const ConnectedAccountFieldsFragmentDoc = "\n fragment ConnectedAccountFields on ConnectedAccount {\n id\n provider\n email\n firstName\n lastName\n profilePictureUrl\n lastLoginAt\n}\n ";
4498
+ declare const PasswordViolationFieldsFragmentDoc = "\n fragment PasswordViolationFields on PasswordViolation {\n code\n message\n characterType\n minimumLength\n maximumLength\n allowedSymbols\n breachOccurrences\n strengthWarning\n strengthSuggestions\n}\n ";
4499
+ declare const SessionFieldsFragmentDoc = "\n fragment SessionFields on Session {\n id\n isCurrent\n ipAddress\n userAgent\n organizationId\n lastActivityAt\n createdAt\n updatedAt\n state {\n tag\n expiresAt\n }\n currentLocation {\n cityName\n countryISOCode\n }\n}\n ";
4500
+ declare const OrganizationMemberFieldsFragmentDoc = "\n fragment OrganizationMemberFields on OrganizationMember {\n id\n email\n emailVerified\n firstName\n lastName\n profilePictureUrl\n status\n lastActivityAt\n createdAt\n actions\n isCurrentUser\n isDirectoryManaged\n roles {\n slug\n name\n }\n}\n ";
4501
+ declare const OrganizationInvitationFieldsFragmentDoc = "\n fragment OrganizationInvitationFields on OrganizationInvitation {\n id\n email\n status\n roleSlug\n expiresAt\n createdAt\n}\n ";
4502
+ declare const RoleFieldsFragmentDoc = "\n fragment RoleFields on Role {\n id\n slug\n name\n description\n isDefault\n createdAt\n updatedAt\n}\n ";
4503
+ declare const DirectoryFieldsFragmentDoc = "\n fragment DirectoryFields on Directory {\n id\n name\n organizationId\n externalKey\n state\n type\n lastSyncRunAt\n metadata {\n groups\n users {\n active\n }\n }\n createdAt\n updatedAt\n}\n ";
4504
+ declare const ConnectionFieldsFragmentDoc = "\n fragment ConnectionFields on Connection {\n id\n name\n organizationId\n type\n providerTag\n state\n setupComplete\n lastSession {\n id\n createdAt\n state\n }\n latestExpiringCertificate {\n id\n notAfter\n }\n latestExpiredCertificate {\n id\n notAfter\n }\n createdAt\n updatedAt\n}\n ";
4505
+ declare const DataProviderConfigFieldFieldsFragmentDoc = "\n fragment DataProviderConfigFieldFields on DataProviderConfigField {\n key\n label\n required\n scope\n description\n example\n pattern\n patternFlags\n order\n secret\n default\n}\n ";
4506
+ declare const DataProviderFieldsFragmentDoc = "\n fragment DataProviderFields on DataProvider {\n id\n slug\n name\n description\n integrationType\n authMethods\n credentialsType\n scopes\n state\n enabled\n iconSlug\n iconUrl\n iconDarkUrl\n configFields {\n ...DataProviderConfigFieldFields\n }\n config {\n name\n value\n }\n createdAt\n updatedAt\n}\n \n fragment DataProviderConfigFieldFields on DataProviderConfigField {\n key\n label\n required\n scope\n description\n example\n pattern\n patternFlags\n order\n secret\n default\n}\n ";
4507
+ declare const DataProviderAuthorizationResultFieldsFragmentDoc = "\n fragment DataProviderAuthorizationResultFields on CreateDataProviderAuthorizationResult {\n __typename\n ... on DataProviderAuthorization {\n url\n state\n redirectToken\n handoffToken\n }\n ... on DataProviderAuthorizationUnavailable {\n message\n }\n ... on DataProviderConfigInvalid {\n message\n }\n}\n ";
4508
+ declare const DataProviderConfigurationFieldsFragmentDoc = "\n fragment DataProviderConfigurationFields on DataProviderConfiguration {\n dataProviderId\n dataProviderSlug\n organizationId\n enabled\n hasCredentials\n scopes\n availableScopes\n config {\n name\n value\n }\n updatedAt\n}\n ";
4509
+ declare const DataProviderConnectionFieldsFragmentDoc = "\n fragment DataProviderConnectionFields on DataProviderConnection {\n id\n dataProviderId\n dataProviderSlug\n connectionRole\n accountIdentifier\n accountDisplayName\n authMethod\n scopes\n state\n availability\n apiKeyLast4\n clientId\n clientSecretLast4\n config {\n name\n value\n }\n userId\n organizationId\n createdAt\n updatedAt\n}\n ";
4510
+ declare const OrganizationDataProviderFieldsFragmentDoc = "\n fragment OrganizationDataProviderFields on OrganizationDataProvider {\n id\n slug\n name\n description\n integrationType\n authMethods\n credentialsType\n scopes\n defaultScopes\n availableScopes\n state\n enabled\n disabledSource\n configured\n hasCredentials\n iconSlug\n iconUrl\n iconDarkUrl\n credentials {\n clientId\n credentialsType\n hasCredentials\n redactedClientSecret\n redirectUri\n }\n capabilities {\n canConfigure\n canConnect\n canDisconnect\n canReauthorize\n canUpdateCredentials\n }\n configFields {\n ...DataProviderConfigFieldFields\n }\n config {\n name\n value\n }\n connection {\n ...DataProviderConnectionFields\n }\n connectedAccounts {\n ...DataProviderConnectionFields\n }\n createdAt\n updatedAt\n}\n \n fragment DataProviderConfigFieldFields on DataProviderConfigField {\n key\n label\n required\n scope\n description\n example\n pattern\n patternFlags\n order\n secret\n default\n}\n \n\n fragment DataProviderConnectionFields on DataProviderConnection {\n id\n dataProviderId\n dataProviderSlug\n connectionRole\n accountIdentifier\n accountDisplayName\n authMethod\n scopes\n state\n availability\n apiKeyLast4\n clientId\n clientSecretLast4\n config {\n name\n value\n }\n userId\n organizationId\n createdAt\n updatedAt\n}\n ";
4511
+ declare const SharedDataProviderFieldsFragmentDoc = "\n fragment SharedDataProviderFields on SharedDataProvider {\n id\n slug\n name\n description\n integrationType\n iconSlug\n iconUrl\n iconDarkUrl\n connectedAccounts {\n id\n dataProviderId\n dataProviderSlug\n authMethod\n connectionRole\n state\n availability\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n}\n ";
4512
+ declare const ConfigurableDataProviderFieldsFragmentDoc = "\n fragment ConfigurableDataProviderFields on ConfigurableDataProvider {\n id\n slug\n name\n description\n integrationType\n authMethods\n credentialsType\n scopes\n defaultScopes\n availableScopes\n state\n enabled\n iconSlug\n iconUrl\n iconDarkUrl\n credentials {\n clientId\n credentialsType\n hasCredentials\n redactedClientSecret\n redirectUri\n }\n configFields {\n ...DataProviderConfigFieldFields\n }\n config {\n name\n value\n }\n createdAt\n updatedAt\n}\n \n fragment DataProviderConfigFieldFields on DataProviderConfigField {\n key\n label\n required\n scope\n description\n example\n pattern\n patternFlags\n order\n secret\n default\n}\n ";
4513
+ declare const OrganizationApiKeyFieldsFragmentDoc = "\n fragment OrganizationApiKeyFields on OrganizationApiKey {\n id\n name\n obfuscatedValue\n permissions\n lastUsedAt\n expiresAt\n createdAt\n updatedAt\n}\n ";
4514
+ declare const UserApiKeyFieldsFragmentDoc = "\n fragment UserApiKeyFields on UserApiKey {\n id\n name\n obfuscatedValue\n permissions\n lastUsedAt\n expiresAt\n createdAt\n updatedAt\n owner {\n id\n email\n firstName\n lastName\n displayName\n }\n}\n ";
1665
4515
  declare const ClientApiStatusDocument = "\n query ClientApiStatus {\n clientApiStatus\n}\n ";
4516
+ declare const ListOrganizationDomainsDocument = "\n query ListOrganizationDomains($after: String, $before: String, $limit: Int, $order: PaginationOrder) {\n organizationDomains(\n after: $after\n before: $before\n limit: $limit\n order: $order\n ) {\n data {\n ...OrganizationDomainFields\n }\n listMetadata {\n after\n before\n }\n }\n}\n \n fragment OrganizationDomainFields on OrganizationDomain {\n id\n organizationId\n domain\n subdomain\n state\n verificationPrefix\n verificationToken\n nameServer\n createdAt\n}\n ";
4517
+ declare const CreateOrganizationDomainDocument = "\n mutation CreateOrganizationDomain($domain: String!) {\n createOrganizationDomain(domain: $domain) {\n ...OrganizationDomainFields\n }\n}\n \n fragment OrganizationDomainFields on OrganizationDomain {\n id\n organizationId\n domain\n subdomain\n state\n verificationPrefix\n verificationToken\n nameServer\n createdAt\n}\n ";
4518
+ declare const DeleteOrganizationDomainDocument = "\n mutation DeleteOrganizationDomain($id: ID!) {\n deleteOrganizationDomain(id: $id) {\n ...OrganizationDomainFields\n }\n}\n \n fragment OrganizationDomainFields on OrganizationDomain {\n id\n organizationId\n domain\n subdomain\n state\n verificationPrefix\n verificationToken\n nameServer\n createdAt\n}\n ";
4519
+ declare const ReverifyOrganizationDomainDocument = "\n mutation ReverifyOrganizationDomain($id: ID!) {\n reverifyOrganizationDomain(id: $id) {\n ...OrganizationDomainFields\n }\n}\n \n fragment OrganizationDomainFields on OrganizationDomain {\n id\n organizationId\n domain\n subdomain\n state\n verificationPrefix\n verificationToken\n nameServer\n createdAt\n}\n ";
4520
+ declare const MeDocument = "\n query Me {\n me {\n ...UserFields\n connectedAccounts {\n ...ConnectedAccountFields\n }\n }\n}\n \n fragment UserFields on User {\n id\n email\n emailVerified\n firstName\n lastName\n profilePictureUrl\n mfaEnabled\n mfaLastUsedAt\n passwordSet\n passwordLastUsedAt\n createdAt\n updatedAt\n}\n \n\n fragment ConnectedAccountFields on ConnectedAccount {\n id\n provider\n email\n firstName\n lastName\n profilePictureUrl\n lastLoginAt\n}\n ";
4521
+ declare const AuthenticationSettingsDocument = "\n query AuthenticationSettings {\n authenticationSettings {\n mfaEnabled\n mfaRequired\n passkeyAuthEnabled\n passwordAuthEnabled\n passwordPolicy {\n minimumLength\n minimumStrength\n rejectsBreachedPasswords\n requiresLowercase\n requiresNumber\n requiresSymbol\n requiresUppercase\n }\n }\n}\n ";
4522
+ declare const PasskeysDocument = "\n query Passkeys {\n passkeys {\n id\n createdAt\n updatedAt\n lastVerifiedAt\n }\n}\n ";
4523
+ declare const UpdateProfileDocument = "\n mutation UpdateProfile($input: UpdateProfileInput!) {\n updateProfile(input: $input) {\n __typename\n ... on ProfileUpdated {\n user {\n ...UserFields\n }\n }\n }\n}\n \n fragment UserFields on User {\n id\n email\n emailVerified\n firstName\n lastName\n profilePictureUrl\n mfaEnabled\n mfaLastUsedAt\n passwordSet\n passwordLastUsedAt\n createdAt\n updatedAt\n}\n ";
4524
+ declare const SendVerificationCodeDocument = "\n mutation SendVerificationCode {\n sendVerificationCode {\n __typename\n ... on VerificationCodeSent {\n authenticationChallengeId\n expiresAt\n }\n }\n}\n ";
4525
+ declare const VerifyCurrentEmailDocument = "\n mutation VerifyCurrentEmail($input: VerifyCurrentEmailInput!) {\n verifyCurrentEmail(input: $input) {\n __typename\n ... on CurrentEmailVerified {\n elevatedAccessToken\n expiresAt\n }\n }\n}\n ";
4526
+ declare const SendEmailChangeDocument = "\n mutation SendEmailChange($input: SendEmailChangeInput!) {\n sendEmailChange(input: $input) {\n __typename\n ... on EmailChangeSent {\n expiresAt\n }\n }\n}\n ";
4527
+ declare const ConfirmEmailChangeDocument = "\n mutation ConfirmEmailChange($input: ConfirmEmailChangeInput!) {\n confirmEmailChange(input: $input) {\n __typename\n ... on EmailChangeConfirmed {\n elevatedAccessToken\n expiresAt\n user {\n ...UserFields\n }\n }\n }\n}\n \n fragment UserFields on User {\n id\n email\n emailVerified\n firstName\n lastName\n profilePictureUrl\n mfaEnabled\n mfaLastUsedAt\n passwordSet\n passwordLastUsedAt\n createdAt\n updatedAt\n}\n ";
4528
+ declare const CreatePasswordDocument = "\n mutation CreatePassword($input: CreatePasswordInput!) {\n createPassword(input: $input) {\n __typename\n ... on PasswordCreated {\n success\n }\n ... on PasswordPolicyViolation {\n code\n message\n violations {\n ...PasswordViolationFields\n }\n }\n }\n}\n \n fragment PasswordViolationFields on PasswordViolation {\n code\n message\n characterType\n minimumLength\n maximumLength\n allowedSymbols\n breachOccurrences\n strengthWarning\n strengthSuggestions\n}\n ";
4529
+ declare const UpdatePasswordDocument = "\n mutation UpdatePassword($input: UpdatePasswordInput!) {\n updatePassword(input: $input) {\n __typename\n ... on PasswordUpdated {\n success\n }\n ... on PasswordPolicyViolation {\n code\n message\n violations {\n ...PasswordViolationFields\n }\n }\n }\n}\n \n fragment PasswordViolationFields on PasswordViolation {\n code\n message\n characterType\n minimumLength\n maximumLength\n allowedSymbols\n breachOccurrences\n strengthWarning\n strengthSuggestions\n}\n ";
4530
+ declare const EnrollTotpDocument = "\n mutation EnrollTotp($input: EnrollTotpInput!) {\n enrollTotp(input: $input) {\n __typename\n ... on TotpFactor {\n authenticationChallengeId\n authenticationFactorId\n secret\n uri\n qrCode\n }\n }\n}\n ";
4531
+ declare const VerifyTotpDocument = "\n mutation VerifyTotp($input: VerifyTotpInput!) {\n verifyTotp(input: $input) {\n __typename\n ... on TotpVerified {\n success\n }\n }\n}\n ";
4532
+ declare const RemoveMfaFactorDocument = "\n mutation RemoveMfaFactor($input: RemoveMfaFactorInput!) {\n removeMfaFactor(input: $input) {\n __typename\n ... on MfaFactorRemoved {\n success\n }\n }\n}\n ";
4533
+ declare const SessionsDocument = "\n query Sessions {\n sessions {\n ...SessionFields\n }\n}\n \n fragment SessionFields on Session {\n id\n isCurrent\n ipAddress\n userAgent\n organizationId\n lastActivityAt\n createdAt\n updatedAt\n state {\n tag\n expiresAt\n }\n currentLocation {\n cityName\n countryISOCode\n }\n}\n ";
4534
+ declare const RevokeSessionDocument = "\n mutation RevokeSession($input: RevokeSessionInput!) {\n revokeSession(input: $input) {\n __typename\n ... on SessionRevoked {\n session {\n ...SessionFields\n }\n }\n }\n}\n \n fragment SessionFields on Session {\n id\n isCurrent\n ipAddress\n userAgent\n organizationId\n lastActivityAt\n createdAt\n updatedAt\n state {\n tag\n expiresAt\n }\n currentLocation {\n cityName\n countryISOCode\n }\n}\n ";
4535
+ declare const RevokeAllSessionsDocument = "\n mutation RevokeAllSessions($input: RevokeAllSessionsInput) {\n revokeAllSessions(input: $input) {\n __typename\n ... on AllSessionsRevoked {\n success\n }\n }\n}\n ";
4536
+ declare const ListOrganizationMembershipsDocument = "\n query ListOrganizationMemberships($after: String, $before: String, $limit: Int, $order: PaginationOrder, $roleSlug: String, $search: String) {\n organizationMemberships(\n after: $after\n before: $before\n limit: $limit\n order: $order\n roleSlug: $roleSlug\n search: $search\n ) {\n data {\n ...OrganizationMemberFields\n }\n listMetadata {\n after\n before\n }\n }\n}\n \n fragment OrganizationMemberFields on OrganizationMember {\n id\n email\n emailVerified\n firstName\n lastName\n profilePictureUrl\n status\n lastActivityAt\n createdAt\n actions\n isCurrentUser\n isDirectoryManaged\n roles {\n slug\n name\n }\n}\n ";
4537
+ declare const ListRolesDocument = "\n query ListRoles {\n roles {\n multipleRolesEnabled\n roles {\n ...RoleFields\n }\n }\n}\n \n fragment RoleFields on Role {\n id\n slug\n name\n description\n isDefault\n createdAt\n updatedAt\n}\n ";
4538
+ declare const InviteUserDocument = "\n mutation InviteUser($input: InviteUserInput!) {\n inviteUser(input: $input) {\n __typename\n ... on UserInvited {\n invitation {\n ...OrganizationInvitationFields\n }\n }\n }\n}\n \n fragment OrganizationInvitationFields on OrganizationInvitation {\n id\n email\n status\n roleSlug\n expiresAt\n createdAt\n}\n ";
4539
+ declare const UpdateMemberRoleDocument = "\n mutation UpdateMemberRole($input: UpdateMemberRoleInput!) {\n updateMemberRole(input: $input) {\n __typename\n ... on MemberRoleUpdated {\n member {\n ...OrganizationMemberFields\n }\n }\n ... on RoleNotFound {\n roleSlugs\n }\n }\n}\n \n fragment OrganizationMemberFields on OrganizationMember {\n id\n email\n emailVerified\n firstName\n lastName\n profilePictureUrl\n status\n lastActivityAt\n createdAt\n actions\n isCurrentUser\n isDirectoryManaged\n roles {\n slug\n name\n }\n}\n ";
4540
+ declare const RemoveMemberDocument = "\n mutation RemoveMember($input: RemoveMemberInput!) {\n removeMember(input: $input) {\n __typename\n ... on MemberRemoved {\n userId\n }\n }\n}\n ";
4541
+ declare const ResendInvitationDocument = "\n mutation ResendInvitation($input: ResendInvitationInput!) {\n resendInvitation(input: $input) {\n __typename\n ... on InvitationResent {\n invitation {\n ...OrganizationInvitationFields\n }\n }\n }\n}\n \n fragment OrganizationInvitationFields on OrganizationInvitation {\n id\n email\n status\n roleSlug\n expiresAt\n createdAt\n}\n ";
4542
+ declare const RevokeInvitationDocument = "\n mutation RevokeInvitation($input: RevokeInvitationInput!) {\n revokeInvitation(input: $input) {\n __typename\n ... on InvitationRevoked {\n invitation {\n ...OrganizationInvitationFields\n }\n }\n }\n}\n \n fragment OrganizationInvitationFields on OrganizationInvitation {\n id\n email\n status\n roleSlug\n expiresAt\n createdAt\n}\n ";
4543
+ declare const ListUserOrganizationsDocument = "\n query ListUserOrganizations {\n organizations {\n id\n name\n isCurrent\n }\n}\n ";
4544
+ declare const ListDirectoryConnectionsDocument = "\n query ListDirectoryConnections($after: String, $before: String, $limit: Int, $order: PaginationOrder, $search: String) {\n directoryConnections(\n after: $after\n before: $before\n limit: $limit\n order: $order\n search: $search\n ) {\n data {\n ...DirectoryFields\n }\n listMetadata {\n after\n before\n }\n }\n}\n \n fragment DirectoryFields on Directory {\n id\n name\n organizationId\n externalKey\n state\n type\n lastSyncRunAt\n metadata {\n groups\n users {\n active\n }\n }\n createdAt\n updatedAt\n}\n ";
4545
+ declare const GetDirectoryConnectionDocument = "\n query GetDirectoryConnection($id: ID!) {\n directoryConnection(id: $id) {\n ...DirectoryFields\n }\n}\n \n fragment DirectoryFields on Directory {\n id\n name\n organizationId\n externalKey\n state\n type\n lastSyncRunAt\n metadata {\n groups\n users {\n active\n }\n }\n createdAt\n updatedAt\n}\n ";
4546
+ declare const ListSsoConnectionsDocument = "\n query ListSsoConnections {\n ssoConnections {\n ...ConnectionFields\n }\n}\n \n fragment ConnectionFields on Connection {\n id\n name\n organizationId\n type\n providerTag\n state\n setupComplete\n lastSession {\n id\n createdAt\n state\n }\n latestExpiringCertificate {\n id\n notAfter\n }\n latestExpiredCertificate {\n id\n notAfter\n }\n createdAt\n updatedAt\n}\n ";
4547
+ declare const GetSsoConnectionDocument = "\n query GetSsoConnection($id: ID!) {\n ssoConnection(id: $id) {\n ...ConnectionFields\n }\n}\n \n fragment ConnectionFields on Connection {\n id\n name\n organizationId\n type\n providerTag\n state\n setupComplete\n lastSession {\n id\n createdAt\n state\n }\n latestExpiringCertificate {\n id\n notAfter\n }\n latestExpiredCertificate {\n id\n notAfter\n }\n createdAt\n updatedAt\n}\n ";
4548
+ declare const ListDataProvidersDocument = "\n query ListDataProviders($after: String, $before: String, $limit: Int, $order: PaginationOrder) {\n dataProviders(after: $after, before: $before, limit: $limit, order: $order) {\n data {\n ...DataProviderFields\n }\n listMetadata {\n after\n before\n }\n }\n}\n \n fragment DataProviderFields on DataProvider {\n id\n slug\n name\n description\n integrationType\n authMethods\n credentialsType\n scopes\n state\n enabled\n iconSlug\n iconUrl\n iconDarkUrl\n configFields {\n ...DataProviderConfigFieldFields\n }\n config {\n name\n value\n }\n createdAt\n updatedAt\n}\n \n fragment DataProviderConfigFieldFields on DataProviderConfigField {\n key\n label\n required\n scope\n description\n example\n pattern\n patternFlags\n order\n secret\n default\n}\n ";
4549
+ declare const ListDataProviderConnectionsDocument = "\n query ListDataProviderConnections($after: String, $before: String, $limit: Int, $order: PaginationOrder) {\n dataProviderConnections(\n after: $after\n before: $before\n limit: $limit\n order: $order\n ) {\n data {\n ...DataProviderConnectionFields\n }\n listMetadata {\n after\n before\n }\n }\n}\n \n fragment DataProviderConnectionFields on DataProviderConnection {\n id\n dataProviderId\n dataProviderSlug\n connectionRole\n accountIdentifier\n accountDisplayName\n authMethod\n scopes\n state\n availability\n apiKeyLast4\n clientId\n clientSecretLast4\n config {\n name\n value\n }\n userId\n organizationId\n createdAt\n updatedAt\n}\n ";
4550
+ declare const CreateDataProviderConnectionDocument = "\n mutation CreateDataProviderConnection($input: CreateDataProviderConnectionInput!) {\n createDataProviderConnection(input: $input) {\n ...DataProviderConnectionFields\n }\n}\n \n fragment DataProviderConnectionFields on DataProviderConnection {\n id\n dataProviderId\n dataProviderSlug\n connectionRole\n accountIdentifier\n accountDisplayName\n authMethod\n scopes\n state\n availability\n apiKeyLast4\n clientId\n clientSecretLast4\n config {\n name\n value\n }\n userId\n organizationId\n createdAt\n updatedAt\n}\n ";
4551
+ declare const DeleteDataProviderConnectionDocument = "\n mutation DeleteDataProviderConnection($id: ID!) {\n deleteDataProviderConnection(id: $id)\n}\n ";
4552
+ declare const SetDataProviderEnabledDocument = "\n mutation SetDataProviderEnabled($input: SetDataProviderEnabledInput!) {\n setDataProviderEnabled(input: $input) {\n ...DataProviderFields\n }\n}\n \n fragment DataProviderFields on DataProvider {\n id\n slug\n name\n description\n integrationType\n authMethods\n credentialsType\n scopes\n state\n enabled\n iconSlug\n iconUrl\n iconDarkUrl\n configFields {\n ...DataProviderConfigFieldFields\n }\n config {\n name\n value\n }\n createdAt\n updatedAt\n}\n \n fragment DataProviderConfigFieldFields on DataProviderConfigField {\n key\n label\n required\n scope\n description\n example\n pattern\n patternFlags\n order\n secret\n default\n}\n ";
4553
+ declare const CreateDataProviderAuthorizationDocument = "\n mutation CreateDataProviderAuthorization($input: CreateDataProviderAuthorizationInput!) {\n createDataProviderAuthorization(input: $input) {\n ...DataProviderAuthorizationResultFields\n }\n}\n \n fragment DataProviderAuthorizationResultFields on CreateDataProviderAuthorizationResult {\n __typename\n ... on DataProviderAuthorization {\n url\n state\n redirectToken\n handoffToken\n }\n ... on DataProviderAuthorizationUnavailable {\n message\n }\n ... on DataProviderConfigInvalid {\n message\n }\n}\n ";
4554
+ declare const CreateOrganizationDataProviderAuthorizationDocument = "\n mutation CreateOrganizationDataProviderAuthorization($input: CreateOrganizationDataProviderAuthorizationInput!) {\n createOrganizationDataProviderAuthorization(input: $input) {\n ...DataProviderAuthorizationResultFields\n }\n}\n \n fragment DataProviderAuthorizationResultFields on CreateDataProviderAuthorizationResult {\n __typename\n ... on DataProviderAuthorization {\n url\n state\n redirectToken\n handoffToken\n }\n ... on DataProviderAuthorizationUnavailable {\n message\n }\n ... on DataProviderConfigInvalid {\n message\n }\n}\n ";
4555
+ declare const DataProviderAuthorizationStatusDocument = "\n query DataProviderAuthorizationStatus($dataProviderId: ID!, $state: String!) {\n dataProviderAuthorizationStatus(dataProviderId: $dataProviderId, state: $state) {\n state\n connecting\n }\n}\n ";
4556
+ declare const ConnectDataProviderWithClientCredentialsDocument = "\n mutation ConnectDataProviderWithClientCredentials($input: ConnectDataProviderWithClientCredentialsInput!) {\n connectDataProviderWithClientCredentials(input: $input) {\n __typename\n ... on DataProviderConnected {\n connection {\n ...DataProviderConnectionFields\n }\n }\n ... on DataProviderAuthMethodUnsupported {\n authMethod\n supportedAuthMethods\n }\n ... on DataProviderConnectionAuthMethodConflict {\n existingAuthMethod\n }\n ... on DataProviderConfigInvalid {\n message\n }\n }\n}\n \n fragment DataProviderConnectionFields on DataProviderConnection {\n id\n dataProviderId\n dataProviderSlug\n connectionRole\n accountIdentifier\n accountDisplayName\n authMethod\n scopes\n state\n availability\n apiKeyLast4\n clientId\n clientSecretLast4\n config {\n name\n value\n }\n userId\n organizationId\n createdAt\n updatedAt\n}\n ";
4557
+ declare const SetDataProviderConfigurationDocument = "\n mutation SetDataProviderConfiguration($input: SetDataProviderConfigurationInput!) {\n setDataProviderConfiguration(input: $input) {\n __typename\n ... on DataProviderConfiguration {\n ...DataProviderConfigurationFields\n }\n ... on DataProviderConfigInvalid {\n message\n }\n }\n}\n \n fragment DataProviderConfigurationFields on DataProviderConfiguration {\n dataProviderId\n dataProviderSlug\n organizationId\n enabled\n hasCredentials\n scopes\n availableScopes\n config {\n name\n value\n }\n updatedAt\n}\n ";
4558
+ declare const ListOrganizationDataProvidersDocument = "\n query ListOrganizationDataProviders($after: String, $before: String, $limit: Int, $order: PaginationOrder) {\n organizationDataProviders(\n after: $after\n before: $before\n limit: $limit\n order: $order\n ) {\n data {\n ...OrganizationDataProviderFields\n }\n listMetadata {\n after\n before\n }\n }\n}\n \n fragment OrganizationDataProviderFields on OrganizationDataProvider {\n id\n slug\n name\n description\n integrationType\n authMethods\n credentialsType\n scopes\n defaultScopes\n availableScopes\n state\n enabled\n disabledSource\n configured\n hasCredentials\n iconSlug\n iconUrl\n iconDarkUrl\n credentials {\n clientId\n credentialsType\n hasCredentials\n redactedClientSecret\n redirectUri\n }\n capabilities {\n canConfigure\n canConnect\n canDisconnect\n canReauthorize\n canUpdateCredentials\n }\n configFields {\n ...DataProviderConfigFieldFields\n }\n config {\n name\n value\n }\n connection {\n ...DataProviderConnectionFields\n }\n connectedAccounts {\n ...DataProviderConnectionFields\n }\n createdAt\n updatedAt\n}\n \n fragment DataProviderConfigFieldFields on DataProviderConfigField {\n key\n label\n required\n scope\n description\n example\n pattern\n patternFlags\n order\n secret\n default\n}\n \n\n fragment DataProviderConnectionFields on DataProviderConnection {\n id\n dataProviderId\n dataProviderSlug\n connectionRole\n accountIdentifier\n accountDisplayName\n authMethod\n scopes\n state\n availability\n apiKeyLast4\n clientId\n clientSecretLast4\n config {\n name\n value\n }\n userId\n organizationId\n createdAt\n updatedAt\n}\n ";
4559
+ declare const SetOrganizationDataProviderConfigurationDocument = "\n mutation SetOrganizationDataProviderConfiguration($input: SetOrganizationDataProviderConfigurationInput!) {\n setOrganizationDataProviderConfiguration(input: $input) {\n __typename\n ... on DataProviderConfiguration {\n ...DataProviderConfigurationFields\n }\n ... on DataProviderConfigInvalid {\n message\n }\n }\n}\n \n fragment DataProviderConfigurationFields on DataProviderConfiguration {\n dataProviderId\n dataProviderSlug\n organizationId\n enabled\n hasCredentials\n scopes\n availableScopes\n config {\n name\n value\n }\n updatedAt\n}\n ";
4560
+ declare const CreateOrganizationDataProviderConnectionDocument = "\n mutation CreateOrganizationDataProviderConnection($input: CreateOrganizationDataProviderConnectionInput!) {\n createOrganizationDataProviderConnection(input: $input) {\n ...DataProviderConnectionFields\n }\n}\n \n fragment DataProviderConnectionFields on DataProviderConnection {\n id\n dataProviderId\n dataProviderSlug\n connectionRole\n accountIdentifier\n accountDisplayName\n authMethod\n scopes\n state\n availability\n apiKeyLast4\n clientId\n clientSecretLast4\n config {\n name\n value\n }\n userId\n organizationId\n createdAt\n updatedAt\n}\n ";
4561
+ declare const ConnectOrganizationDataProviderWithClientCredentialsDocument = "\n mutation ConnectOrganizationDataProviderWithClientCredentials($input: ConnectOrganizationDataProviderWithClientCredentialsInput!) {\n connectOrganizationDataProviderWithClientCredentials(input: $input) {\n __typename\n ... on DataProviderConnected {\n connection {\n ...DataProviderConnectionFields\n }\n }\n ... on DataProviderAuthMethodUnsupported {\n authMethod\n supportedAuthMethods\n }\n ... on DataProviderConnectionAuthMethodConflict {\n existingAuthMethod\n }\n ... on DataProviderConfigInvalid {\n message\n }\n }\n}\n \n fragment DataProviderConnectionFields on DataProviderConnection {\n id\n dataProviderId\n dataProviderSlug\n connectionRole\n accountIdentifier\n accountDisplayName\n authMethod\n scopes\n state\n availability\n apiKeyLast4\n clientId\n clientSecretLast4\n config {\n name\n value\n }\n userId\n organizationId\n createdAt\n updatedAt\n}\n ";
4562
+ declare const DeleteOrganizationDataProviderConnectionDocument = "\n mutation DeleteOrganizationDataProviderConnection($id: ID!) {\n deleteOrganizationDataProviderConnection(id: $id)\n}\n ";
4563
+ declare const RegisterPasskeyDocument = "\n mutation RegisterPasskey($input: RegisterPasskeyInput!) {\n registerPasskey(input: $input) {\n __typename\n ... on PasskeyRegistrationOptions {\n challengeId\n options\n }\n ... on ElevatedAccessTokenExpired {\n message\n }\n ... on ElevatedAccessTokenInvalid {\n message\n }\n }\n}\n ";
4564
+ declare const VerifyPasskeyDocument = "\n mutation VerifyPasskey($input: VerifyPasskeyInput!) {\n verifyPasskey(input: $input) {\n __typename\n ... on PasskeyVerified {\n success\n }\n ... on PasskeyChallengeNotFound {\n _placeholder\n }\n ... on PasskeyVerificationFailed {\n _placeholder\n }\n ... on ElevatedAccessTokenExpired {\n message\n }\n ... on ElevatedAccessTokenInvalid {\n message\n }\n }\n}\n ";
4565
+ declare const DeletePasskeyDocument = "\n mutation DeletePasskey($input: DeletePasskeyInput!) {\n deletePasskey(input: $input) {\n __typename\n ... on PasskeyDeleted {\n success\n }\n ... on PasskeyNotFound {\n _placeholder\n }\n ... on ElevatedAccessTokenExpired {\n message\n }\n ... on ElevatedAccessTokenInvalid {\n message\n }\n }\n}\n ";
4566
+ declare const CreateAdminPortalLinkDocument = "\n mutation CreateAdminPortalLink($intent: AdminPortalLinkIntent!) {\n createAdminPortalLink(intent: $intent) {\n link\n intent\n expiresAt\n }\n}\n ";
4567
+ declare const AuditLogStreamDocument = "\n query AuditLogStream {\n auditLogStream {\n id\n auditLogTrailId\n type\n state\n errorMessage\n lastSyncedEventId\n }\n}\n ";
4568
+ declare const BrandingDocument = "\n query Branding {\n branding {\n displayName\n logoLightPath\n logoDarkPath\n logoLightIconPath\n logoDarkIconPath\n }\n}\n ";
4569
+ declare const AuthKitSettingsDocument = "\n query AuthKitSettings {\n authkitSettings {\n origin\n }\n}\n ";
4570
+ declare const ListPermissionsDocument = "\n query ListPermissions($after: String, $before: String, $limit: Int, $order: PaginationOrder, $search: String) {\n permissions(\n after: $after\n before: $before\n limit: $limit\n order: $order\n search: $search\n ) {\n data {\n id\n slug\n name\n description\n system\n createdAt\n updatedAt\n }\n listMetadata {\n after\n before\n }\n }\n}\n ";
4571
+ declare const GetOrganizationDomainDocument = "\n query GetOrganizationDomain($id: ID!) {\n organizationDomain(id: $id) {\n ...OrganizationDomainFields\n }\n}\n \n fragment OrganizationDomainFields on OrganizationDomain {\n id\n organizationId\n domain\n subdomain\n state\n verificationPrefix\n verificationToken\n nameServer\n createdAt\n}\n ";
4572
+ declare const ListSharedDataProvidersDocument = "\n query ListSharedDataProviders($after: String, $before: String, $limit: Int, $order: PaginationOrder, $supportsMultipleConnections: Boolean) {\n sharedDataProviders(\n after: $after\n before: $before\n limit: $limit\n order: $order\n supportsMultipleConnections: $supportsMultipleConnections\n ) {\n data {\n ...SharedDataProviderFields\n }\n listMetadata {\n after\n before\n }\n }\n}\n \n fragment SharedDataProviderFields on SharedDataProvider {\n id\n slug\n name\n description\n integrationType\n iconSlug\n iconUrl\n iconDarkUrl\n connectedAccounts {\n id\n dataProviderId\n dataProviderSlug\n authMethod\n connectionRole\n state\n availability\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n}\n ";
4573
+ declare const ListConfigurableDataProvidersDocument = "\n query ListConfigurableDataProviders($after: String, $before: String, $limit: Int, $order: PaginationOrder) {\n configurableDataProviders(\n after: $after\n before: $before\n limit: $limit\n order: $order\n ) {\n data {\n ...ConfigurableDataProviderFields\n }\n listMetadata {\n after\n before\n }\n }\n}\n \n fragment ConfigurableDataProviderFields on ConfigurableDataProvider {\n id\n slug\n name\n description\n integrationType\n authMethods\n credentialsType\n scopes\n defaultScopes\n availableScopes\n state\n enabled\n iconSlug\n iconUrl\n iconDarkUrl\n credentials {\n clientId\n credentialsType\n hasCredentials\n redactedClientSecret\n redirectUri\n }\n configFields {\n ...DataProviderConfigFieldFields\n }\n config {\n name\n value\n }\n createdAt\n updatedAt\n}\n \n fragment DataProviderConfigFieldFields on DataProviderConfigField {\n key\n label\n required\n scope\n description\n example\n pattern\n patternFlags\n order\n secret\n default\n}\n ";
4574
+ declare const ListOrganizationApiKeysDocument = "\n query ListOrganizationApiKeys($after: String, $before: String, $limit: Int, $order: PaginationOrder, $search: String) {\n organizationApiKeys(\n after: $after\n before: $before\n limit: $limit\n order: $order\n search: $search\n ) {\n data {\n ...OrganizationApiKeyFields\n }\n listMetadata {\n after\n before\n }\n }\n}\n \n fragment OrganizationApiKeyFields on OrganizationApiKey {\n id\n name\n obfuscatedValue\n permissions\n lastUsedAt\n expiresAt\n createdAt\n updatedAt\n}\n ";
4575
+ declare const ListUserApiKeysDocument = "\n query ListUserApiKeys($after: String, $before: String, $limit: Int, $order: PaginationOrder, $search: String) {\n userApiKeys(\n after: $after\n before: $before\n limit: $limit\n order: $order\n search: $search\n ) {\n data {\n ...UserApiKeyFields\n }\n listMetadata {\n after\n before\n }\n }\n}\n \n fragment UserApiKeyFields on UserApiKey {\n id\n name\n obfuscatedValue\n permissions\n lastUsedAt\n expiresAt\n createdAt\n updatedAt\n owner {\n id\n email\n firstName\n lastName\n displayName\n }\n}\n ";
4576
+ declare const CreateOrganizationApiKeyDocument = "\n mutation CreateOrganizationApiKey($input: CreateApiKeyInput!) {\n createOrganizationApiKey(input: $input) {\n __typename\n ... on OrganizationApiKeyCreated {\n value\n apiKey {\n ...OrganizationApiKeyFields\n }\n }\n ... on ApiKeyPermissionsNotHeld {\n message\n unheldPermissions\n }\n ... on ApiKeyPermissionsUnsupportedForToken {\n message\n requestedPermissions\n }\n ... on InvalidApiKeyExpiration {\n message\n }\n ... on InvalidApiKeyName {\n message\n }\n ... on InvalidApiKeyPermissions {\n message\n invalidPermissions\n }\n }\n}\n \n fragment OrganizationApiKeyFields on OrganizationApiKey {\n id\n name\n obfuscatedValue\n permissions\n lastUsedAt\n expiresAt\n createdAt\n updatedAt\n}\n ";
4577
+ declare const CreateUserApiKeyDocument = "\n mutation CreateUserApiKey($input: CreateApiKeyInput!) {\n createUserApiKey(input: $input) {\n __typename\n ... on UserApiKeyCreated {\n value\n apiKey {\n ...UserApiKeyFields\n }\n }\n ... on ApiKeyPermissionsNotHeld {\n message\n unheldPermissions\n }\n ... on ApiKeyPermissionsUnsupportedForToken {\n message\n requestedPermissions\n }\n ... on InvalidApiKeyExpiration {\n message\n }\n ... on InvalidApiKeyName {\n message\n }\n ... on InvalidApiKeyPermissions {\n message\n invalidPermissions\n }\n }\n}\n \n fragment UserApiKeyFields on UserApiKey {\n id\n name\n obfuscatedValue\n permissions\n lastUsedAt\n expiresAt\n createdAt\n updatedAt\n owner {\n id\n email\n firstName\n lastName\n displayName\n }\n}\n ";
4578
+ declare const ExpireOrganizationApiKeyDocument = "\n mutation ExpireOrganizationApiKey($input: ExpireApiKeyInput!) {\n expireOrganizationApiKey(input: $input) {\n __typename\n ... on OrganizationApiKeyExpired {\n apiKey {\n ...OrganizationApiKeyFields\n }\n }\n ... on ApiKeyAlreadyExpired {\n apiKeyId\n }\n }\n}\n \n fragment OrganizationApiKeyFields on OrganizationApiKey {\n id\n name\n obfuscatedValue\n permissions\n lastUsedAt\n expiresAt\n createdAt\n updatedAt\n}\n ";
4579
+ declare const ExpireUserApiKeyDocument = "\n mutation ExpireUserApiKey($input: ExpireApiKeyInput!) {\n expireUserApiKey(input: $input) {\n __typename\n ... on UserApiKeyExpired {\n apiKey {\n ...UserApiKeyFields\n }\n }\n ... on ApiKeyAlreadyExpired {\n apiKeyId\n }\n }\n}\n \n fragment UserApiKeyFields on UserApiKey {\n id\n name\n obfuscatedValue\n permissions\n lastUsedAt\n expiresAt\n createdAt\n updatedAt\n owner {\n id\n email\n firstName\n lastName\n displayName\n }\n}\n ";
4580
+ declare const DeleteOrganizationApiKeyDocument = "\n mutation DeleteOrganizationApiKey($apiKeyId: ID!) {\n deleteOrganizationApiKey(apiKeyId: $apiKeyId) {\n ...OrganizationApiKeyFields\n }\n}\n \n fragment OrganizationApiKeyFields on OrganizationApiKey {\n id\n name\n obfuscatedValue\n permissions\n lastUsedAt\n expiresAt\n createdAt\n updatedAt\n}\n ";
4581
+ declare const DeleteUserApiKeyDocument = "\n mutation DeleteUserApiKey($apiKeyId: ID!) {\n deleteUserApiKey(apiKeyId: $apiKeyId) {\n ...UserApiKeyFields\n }\n}\n \n fragment UserApiKeyFields on UserApiKey {\n id\n name\n obfuscatedValue\n permissions\n lastUsedAt\n expiresAt\n createdAt\n updatedAt\n owner {\n id\n email\n firstName\n lastName\n displayName\n }\n}\n ";
1666
4582
  type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
1667
4583
  declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
1668
4584
  ClientApiStatus(variables?: ClientApiStatusQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ClientApiStatusQuery>;
4585
+ ListOrganizationDomains(variables?: ListOrganizationDomainsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListOrganizationDomainsQuery>;
4586
+ CreateOrganizationDomain(variables: CreateOrganizationDomainMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateOrganizationDomainMutation>;
4587
+ DeleteOrganizationDomain(variables: DeleteOrganizationDomainMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteOrganizationDomainMutation>;
4588
+ ReverifyOrganizationDomain(variables: ReverifyOrganizationDomainMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ReverifyOrganizationDomainMutation>;
4589
+ Me(variables?: MeQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MeQuery>;
4590
+ AuthenticationSettings(variables?: AuthenticationSettingsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AuthenticationSettingsQuery>;
4591
+ Passkeys(variables?: PasskeysQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<PasskeysQuery>;
4592
+ UpdateProfile(variables: UpdateProfileMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateProfileMutation>;
4593
+ SendVerificationCode(variables?: SendVerificationCodeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SendVerificationCodeMutation>;
4594
+ VerifyCurrentEmail(variables: VerifyCurrentEmailMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<VerifyCurrentEmailMutation>;
4595
+ SendEmailChange(variables: SendEmailChangeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SendEmailChangeMutation>;
4596
+ ConfirmEmailChange(variables: ConfirmEmailChangeMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ConfirmEmailChangeMutation>;
4597
+ CreatePassword(variables: CreatePasswordMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreatePasswordMutation>;
4598
+ UpdatePassword(variables: UpdatePasswordMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdatePasswordMutation>;
4599
+ EnrollTotp(variables: EnrollTotpMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EnrollTotpMutation>;
4600
+ VerifyTotp(variables: VerifyTotpMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<VerifyTotpMutation>;
4601
+ RemoveMfaFactor(variables: RemoveMfaFactorMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RemoveMfaFactorMutation>;
4602
+ Sessions(variables?: SessionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SessionsQuery>;
4603
+ RevokeSession(variables: RevokeSessionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RevokeSessionMutation>;
4604
+ RevokeAllSessions(variables?: RevokeAllSessionsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RevokeAllSessionsMutation>;
4605
+ ListOrganizationMemberships(variables?: ListOrganizationMembershipsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListOrganizationMembershipsQuery>;
4606
+ ListRoles(variables?: ListRolesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListRolesQuery>;
4607
+ InviteUser(variables: InviteUserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<InviteUserMutation>;
4608
+ UpdateMemberRole(variables: UpdateMemberRoleMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateMemberRoleMutation>;
4609
+ RemoveMember(variables: RemoveMemberMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RemoveMemberMutation>;
4610
+ ResendInvitation(variables: ResendInvitationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ResendInvitationMutation>;
4611
+ RevokeInvitation(variables: RevokeInvitationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RevokeInvitationMutation>;
4612
+ ListUserOrganizations(variables?: ListUserOrganizationsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListUserOrganizationsQuery>;
4613
+ ListDirectoryConnections(variables?: ListDirectoryConnectionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListDirectoryConnectionsQuery>;
4614
+ GetDirectoryConnection(variables: GetDirectoryConnectionQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDirectoryConnectionQuery>;
4615
+ ListSsoConnections(variables?: ListSsoConnectionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListSsoConnectionsQuery>;
4616
+ GetSsoConnection(variables: GetSsoConnectionQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetSsoConnectionQuery>;
4617
+ ListDataProviders(variables?: ListDataProvidersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListDataProvidersQuery>;
4618
+ ListDataProviderConnections(variables?: ListDataProviderConnectionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListDataProviderConnectionsQuery>;
4619
+ CreateDataProviderConnection(variables: CreateDataProviderConnectionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateDataProviderConnectionMutation>;
4620
+ DeleteDataProviderConnection(variables: DeleteDataProviderConnectionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteDataProviderConnectionMutation>;
4621
+ SetDataProviderEnabled(variables: SetDataProviderEnabledMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SetDataProviderEnabledMutation>;
4622
+ CreateDataProviderAuthorization(variables: CreateDataProviderAuthorizationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateDataProviderAuthorizationMutation>;
4623
+ CreateOrganizationDataProviderAuthorization(variables: CreateOrganizationDataProviderAuthorizationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateOrganizationDataProviderAuthorizationMutation>;
4624
+ DataProviderAuthorizationStatus(variables: DataProviderAuthorizationStatusQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DataProviderAuthorizationStatusQuery>;
4625
+ ConnectDataProviderWithClientCredentials(variables: ConnectDataProviderWithClientCredentialsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ConnectDataProviderWithClientCredentialsMutation>;
4626
+ SetDataProviderConfiguration(variables: SetDataProviderConfigurationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SetDataProviderConfigurationMutation>;
4627
+ ListOrganizationDataProviders(variables?: ListOrganizationDataProvidersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListOrganizationDataProvidersQuery>;
4628
+ SetOrganizationDataProviderConfiguration(variables: SetOrganizationDataProviderConfigurationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SetOrganizationDataProviderConfigurationMutation>;
4629
+ CreateOrganizationDataProviderConnection(variables: CreateOrganizationDataProviderConnectionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateOrganizationDataProviderConnectionMutation>;
4630
+ ConnectOrganizationDataProviderWithClientCredentials(variables: ConnectOrganizationDataProviderWithClientCredentialsMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ConnectOrganizationDataProviderWithClientCredentialsMutation>;
4631
+ DeleteOrganizationDataProviderConnection(variables: DeleteOrganizationDataProviderConnectionMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteOrganizationDataProviderConnectionMutation>;
4632
+ RegisterPasskey(variables: RegisterPasskeyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RegisterPasskeyMutation>;
4633
+ VerifyPasskey(variables: VerifyPasskeyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<VerifyPasskeyMutation>;
4634
+ DeletePasskey(variables: DeletePasskeyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeletePasskeyMutation>;
4635
+ CreateAdminPortalLink(variables: CreateAdminPortalLinkMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateAdminPortalLinkMutation>;
4636
+ AuditLogStream(variables?: AuditLogStreamQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AuditLogStreamQuery>;
4637
+ Branding(variables?: BrandingQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<BrandingQuery>;
4638
+ AuthKitSettings(variables?: AuthKitSettingsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AuthKitSettingsQuery>;
4639
+ ListPermissions(variables?: ListPermissionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListPermissionsQuery>;
4640
+ GetOrganizationDomain(variables: GetOrganizationDomainQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetOrganizationDomainQuery>;
4641
+ ListSharedDataProviders(variables?: ListSharedDataProvidersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListSharedDataProvidersQuery>;
4642
+ ListConfigurableDataProviders(variables?: ListConfigurableDataProvidersQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListConfigurableDataProvidersQuery>;
4643
+ ListOrganizationApiKeys(variables?: ListOrganizationApiKeysQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListOrganizationApiKeysQuery>;
4644
+ ListUserApiKeys(variables?: ListUserApiKeysQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListUserApiKeysQuery>;
4645
+ CreateOrganizationApiKey(variables: CreateOrganizationApiKeyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateOrganizationApiKeyMutation>;
4646
+ CreateUserApiKey(variables: CreateUserApiKeyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateUserApiKeyMutation>;
4647
+ ExpireOrganizationApiKey(variables: ExpireOrganizationApiKeyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ExpireOrganizationApiKeyMutation>;
4648
+ ExpireUserApiKey(variables: ExpireUserApiKeyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ExpireUserApiKeyMutation>;
4649
+ DeleteOrganizationApiKey(variables: DeleteOrganizationApiKeyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteOrganizationApiKeyMutation>;
4650
+ DeleteUserApiKey(variables: DeleteUserApiKeyMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteUserApiKeyMutation>;
1669
4651
  };
1670
4652
  type Sdk = ReturnType<typeof getSdk>;
1671
4653
 
1672
- export { type AdminPortalLink, type AdminPortalLinkIntent, type AllSessionsRevoked, type AssignPermissionToRoleInput, type AuditEvent, type AuditEventActor, type AuditEventFilterInput, type AuditEventList, type AuditLogExport, type AuditLogExportState, type AuditLogStream, type AuditLogStreamState, type AuditLogStreamType, type AuthKitSettings, type AuthenticationSettings, type Branding, ClientApiStatusDocument, type ClientApiStatusQuery, type ClientApiStatusQueryVariables, type ConfirmEmailChangeInput, type ConfirmEmailChangeResult, type ConnectDataProviderResult, type ConnectDataProviderWithClientCredentialsInput, type ConnectedAccount, type Connection, type ConnectionState, type ConnectionType, type CreateAuditLogExportInput, type CreateAuditLogExportResult, type CreateDataProviderAuthorizationInput, type CreateDataProviderAuthorizationResult, type CreateDataProviderConnectionInput, type CreateOrganizationDataProviderAuthorizationInput, type CreatePasswordInput, type CreatePasswordResult, type CreateRoleInput, type CreateSsoConnectionInput, type CurrentEmailVerified, type DailyEmailQuotaExceeded, type DataProvider, type DataProviderAuthMethodUnsupported, type DataProviderAuthorization, type DataProviderAuthorizationStatus, type DataProviderAuthorizationUnavailable, type DataProviderConfigEntry, type DataProviderConfigEntryInput, type DataProviderConfigInvalid, type DataProviderConfiguration, type DataProviderConnected, type DataProviderConnection, type DataProviderConnectionAuthMethodConflict, type DataProviderConnectionList, type DataProviderList, type DeletePasskeyInput, type DeletePasskeyResult, type DeleteRoleInput, type Directory, type DirectoryGroup, type DirectoryGroupList, type DirectoryList, type DirectoryUser, type DirectoryUserList, type DomainVerificationNameServer, type ElevatedAccessTokenExpired, type ElevatedAccessTokenInvalid, type EmailChangeCodeExpired, type EmailChangeCodeIncorrect, type EmailChangeCodePreviouslyUsed, type EmailChangeConfirmed, type EmailChangeNotAvailable, type EmailChangeSent, type EmailChangeTooManyAttempts, type EmailManagedByProvider, type EmailNotAvailable, type EnrollTotpInput, type EnrollTotpResult, type Exact, type Flag, type FlagList, type IdentityVerificationExpired, type IdentityVerificationInvalid, type IncorrectPassword, type Incremental, type InputMaybe, type InvalidAuditLogExportDateRange, type InvalidEmail, type InvalidInvitationExpiry, type InvalidInviteeEmail, type InvalidInviteeRole, type InvalidLocale, type InvitationNotFound, type InvitationNotPending, type InvitationResent, type InvitationRevoked, type InviteUserInput, type InviteUserResult, type InviteeAlreadyAccepted, type InviteeAlreadyInvited, type InviteeAlreadyMember, type InviteeEmailNotDeliverable, type ListMetadata, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type MemberIsManagedByDirectory, type MemberNotFound, type MemberRemoved, type MemberRoleUpdated, type MfaFactorRemoved, type Mutation, type MutationAssignPermissionToRoleArgs, type MutationConfirmEmailChangeArgs, type MutationConnectDataProviderWithClientCredentialsArgs, type MutationCreateAdminPortalLinkArgs, type MutationCreateAuditLogExportArgs, type MutationCreateDataProviderAuthorizationArgs, type MutationCreateDataProviderConnectionArgs, type MutationCreateOrganizationDataProviderAuthorizationArgs, type MutationCreateOrganizationDomainArgs, type MutationCreatePasswordArgs, type MutationCreateRoleArgs, type MutationCreateSsoConnectionArgs, type MutationDeleteDataProviderConnectionArgs, type MutationDeleteOrganizationDomainArgs, type MutationDeletePasskeyArgs, type MutationDeleteRoleArgs, type MutationDeleteSsoConnectionArgs, type MutationEnrollTotpArgs, type MutationInviteUserArgs, type MutationRegisterPasskeyArgs, type MutationRemoveMemberArgs, type MutationRemoveMfaFactorArgs, type MutationResendInvitationArgs, type MutationReverifyOrganizationDomainArgs, type MutationRevokeInvitationArgs, type MutationRevokeSessionArgs, type MutationSendEmailChangeArgs, type MutationSetDataProviderConfigurationArgs, type MutationSetDataProviderEnabledArgs, type MutationUpdateMemberRoleArgs, type MutationUpdatePasswordArgs, type MutationUpdateProfileArgs, type MutationUpdateRoleArgs, type MutationUpdateSsoConnectionArgs, type MutationVerifyCurrentEmailArgs, type MutationVerifyPasskeyArgs, type MutationVerifyTotpArgs, type NoAuditEventsFound, type NoMfaFactorsEnrolled, type NoPendingEmailChange, type OAuthProvider, type Organization, type OrganizationBlockedFromSendingInvites, type OrganizationDataProvider, type OrganizationDataProviderList, type OrganizationDomain, type OrganizationDomainList, type OrganizationDomainState, type OrganizationInvitation, type OrganizationInvitationStatus, type OrganizationMember, type OrganizationMemberList, type OrganizationMemberRole, type OrganizationMemberStatus, type PaginationOrder, type Passkey, type PasskeyChallengeNotFound, type PasskeyDeleted, type PasskeyNotFound, type PasskeyRegistrationOptions, type PasskeyVerificationFailed, type PasskeyVerified, type PasswordCharacterType, type PasswordCreated, type PasswordPolicy, type PasswordPolicyViolation, type PasswordUpdated, type PasswordViolation, type Permission, type PermissionList, type ProfileUpdated, type Query, type QueryAuditEventArgs, type QueryAuditEventsArgs, type QueryAuditLogExportArgs, type QueryDataProviderArgs, type QueryDataProviderAuthorizationStatusArgs, type QueryDataProviderConnectionArgs, type QueryDataProviderConnectionsArgs, type QueryDataProvidersArgs, type QueryDirectoryConnectionArgs, type QueryDirectoryConnectionsArgs, type QueryDirectoryGroupsArgs, type QueryDirectoryUsersArgs, type QueryEffectivePermissionsArgs, type QueryEvaluatedFlagsArgs, type QueryFlagArgs, type QueryFlagBySlugArgs, type QueryFlagsArgs, type QueryOrganizationArgs, type QueryOrganizationDataProvidersArgs, type QueryOrganizationDomainArgs, type QueryOrganizationDomainsArgs, type QueryOrganizationMembershipsArgs, type QueryPermissionsArgs, type QueryRoleArgs, type QuerySsoConnectionArgs, type QueryUserArgs, type RegisterPasskeyInput, type RegisterPasskeyResult, type RemoveMemberInput, type RemoveMemberResult, type RemoveMfaFactorInput, type RemoveMfaFactorResult, type ResendInvitationInput, type ResendInvitationNotFound, type ResendInvitationResult, type RevokeAllSessionsResult, type RevokeInvitationInput, type RevokeInvitationResult, type RevokeSessionInput, type RevokeSessionResult, type Role, type RoleDeleted, type RoleNotFound, type RolesResult, type Scalars, type Sdk, type SdkFunctionWrapper, type SendEmailChangeInput, type SendEmailChangeResult, type SendVerificationCodeResult, type Session, type SessionLocation, type SessionNotFound, type SessionRevoked, type SessionState, type SetDataProviderConfigurationInput, type SetDataProviderConfigurationResult, type SetDataProviderEnabledInput, type TotpAlreadyEnrolled, type TotpFactor, type TotpVerificationFailed, type TotpVerified, type UpdateMemberRoleInput, type UpdateMemberRoleResult, type UpdatePasswordInput, type UpdatePasswordResult, type UpdateProfileInput, type UpdateProfileResult, type UpdateRoleInput, type UpdateSsoConnectionInput, type User, type UserAlreadyHasPassword, type UserInvited, type UserOrganization, type VerificationCodeExpired, type VerificationCodeIncorrect, type VerificationCodePreviouslyUsed, type VerificationCodeSent, type VerificationTooManyAttempts, type VerifyCurrentEmailInput, type VerifyCurrentEmailResult, type VerifyPasskeyInput, type VerifyPasskeyResult, type VerifyTotpInput, type VerifyTotpResult, getSdk };
4654
+ export { type AdminPortalLink, type AdminPortalLinkIntent, type AllSessionsRevoked, type ApiKeyAlreadyExpired, type ApiKeyPermissionsNotHeld, type ApiKeyPermissionsUnsupportedForToken, type AssignPermissionToRoleInput, type AuditEvent, type AuditEventActor, type AuditEventFilterInput, type AuditEventList, type AuditLogExport, type AuditLogExportState, type AuditLogStream, AuditLogStreamDocument, type AuditLogStreamQuery, type AuditLogStreamQueryVariables, type AuditLogStreamState, type AuditLogStreamType, type AuthKitSettings, AuthKitSettingsDocument, type AuthKitSettingsQuery, type AuthKitSettingsQueryVariables, type AuthenticationSettings, AuthenticationSettingsDocument, type AuthenticationSettingsQuery, type AuthenticationSettingsQueryVariables, type Branding, BrandingDocument, type BrandingQuery, type BrandingQueryVariables, ClientApiStatusDocument, type ClientApiStatusQuery, type ClientApiStatusQueryVariables, type ConfigurableDataProvider, type ConfigurableDataProviderFieldsFragment, ConfigurableDataProviderFieldsFragmentDoc, type ConfigurableDataProviderList, ConfirmEmailChangeDocument, type ConfirmEmailChangeInput, type ConfirmEmailChangeMutation, type ConfirmEmailChangeMutationVariables, type ConfirmEmailChangeResult, type ConnectDataProviderResult, ConnectDataProviderWithClientCredentialsDocument, type ConnectDataProviderWithClientCredentialsInput, type ConnectDataProviderWithClientCredentialsMutation, type ConnectDataProviderWithClientCredentialsMutationVariables, ConnectOrganizationDataProviderWithClientCredentialsDocument, type ConnectOrganizationDataProviderWithClientCredentialsInput, type ConnectOrganizationDataProviderWithClientCredentialsMutation, type ConnectOrganizationDataProviderWithClientCredentialsMutationVariables, type ConnectedAccount, type ConnectedAccountFieldsFragment, ConnectedAccountFieldsFragmentDoc, type Connection, type ConnectionFieldsFragment, ConnectionFieldsFragmentDoc, type ConnectionIntent, type ConnectionState, type ConnectionType, CreateAdminPortalLinkDocument, type CreateAdminPortalLinkMutation, type CreateAdminPortalLinkMutationVariables, type CreateApiKeyInput, type CreateAuditLogExportInput, type CreateAuditLogExportResult, CreateDataProviderAuthorizationDocument, type CreateDataProviderAuthorizationInput, type CreateDataProviderAuthorizationMutation, type CreateDataProviderAuthorizationMutationVariables, type CreateDataProviderAuthorizationResult, CreateDataProviderConnectionDocument, type CreateDataProviderConnectionInput, type CreateDataProviderConnectionMutation, type CreateDataProviderConnectionMutationVariables, CreateOrganizationApiKeyDocument, type CreateOrganizationApiKeyMutation, type CreateOrganizationApiKeyMutationVariables, type CreateOrganizationApiKeyResult, CreateOrganizationDataProviderAuthorizationDocument, type CreateOrganizationDataProviderAuthorizationInput, type CreateOrganizationDataProviderAuthorizationMutation, type CreateOrganizationDataProviderAuthorizationMutationVariables, CreateOrganizationDataProviderConnectionDocument, type CreateOrganizationDataProviderConnectionInput, type CreateOrganizationDataProviderConnectionMutation, type CreateOrganizationDataProviderConnectionMutationVariables, CreateOrganizationDomainDocument, type CreateOrganizationDomainMutation, type CreateOrganizationDomainMutationVariables, CreatePasswordDocument, type CreatePasswordInput, type CreatePasswordMutation, type CreatePasswordMutationVariables, type CreatePasswordResult, type CreateRoleInput, type CreateSsoConnectionInput, CreateUserApiKeyDocument, type CreateUserApiKeyMutation, type CreateUserApiKeyMutationVariables, type CreateUserApiKeyResult, type CurrentEmailVerified, type DailyEmailQuotaExceeded, type DataInstallationConnectionRole, type DataProvider, type DataProviderAuthMethodUnsupported, type DataProviderAuthorization, type DataProviderAuthorizationResultFieldsFragment, DataProviderAuthorizationResultFieldsFragmentDoc, type DataProviderAuthorizationStatus, DataProviderAuthorizationStatusDocument, type DataProviderAuthorizationStatusQuery, type DataProviderAuthorizationStatusQueryVariables, type DataProviderAuthorizationUnavailable, type DataProviderConfigEntry, type DataProviderConfigEntryInput, type DataProviderConfigField, type DataProviderConfigFieldFieldsFragment, DataProviderConfigFieldFieldsFragmentDoc, type DataProviderConfigInvalid, type DataProviderConfiguration, type DataProviderConfigurationFieldsFragment, DataProviderConfigurationFieldsFragmentDoc, type DataProviderConnected, type DataProviderConnection, type DataProviderConnectionAuthMethodConflict, type DataProviderConnectionFieldsFragment, DataProviderConnectionFieldsFragmentDoc, type DataProviderConnectionList, type DataProviderCredentials, type DataProviderFieldsFragment, DataProviderFieldsFragmentDoc, type DataProviderList, DeleteDataProviderConnectionDocument, type DeleteDataProviderConnectionMutation, type DeleteDataProviderConnectionMutationVariables, DeleteOrganizationApiKeyDocument, type DeleteOrganizationApiKeyMutation, type DeleteOrganizationApiKeyMutationVariables, DeleteOrganizationDataProviderConnectionDocument, type DeleteOrganizationDataProviderConnectionMutation, type DeleteOrganizationDataProviderConnectionMutationVariables, DeleteOrganizationDomainDocument, type DeleteOrganizationDomainMutation, type DeleteOrganizationDomainMutationVariables, DeletePasskeyDocument, type DeletePasskeyInput, type DeletePasskeyMutation, type DeletePasskeyMutationVariables, type DeletePasskeyResult, type DeleteRoleInput, DeleteUserApiKeyDocument, type DeleteUserApiKeyMutation, type DeleteUserApiKeyMutationVariables, type Directory, type DirectoryFieldsFragment, DirectoryFieldsFragmentDoc, type DirectoryGroup, type DirectoryGroupList, type DirectoryList, type DirectoryMetadata, type DirectoryUser, type DirectoryUserList, type DirectoryUsersMetadata, type DomainVerificationNameServer, type ElevatedAccessTokenExpired, type ElevatedAccessTokenInvalid, type EmailChangeCodeExpired, type EmailChangeCodeIncorrect, type EmailChangeCodePreviouslyUsed, type EmailChangeConfirmed, type EmailChangeNotAvailable, type EmailChangeSent, type EmailChangeTooManyAttempts, type EmailManagedByProvider, type EmailNotAvailable, EnrollTotpDocument, type EnrollTotpInput, type EnrollTotpMutation, type EnrollTotpMutationVariables, type EnrollTotpResult, type Exact, type ExpireApiKeyInput, ExpireOrganizationApiKeyDocument, type ExpireOrganizationApiKeyMutation, type ExpireOrganizationApiKeyMutationVariables, type ExpireOrganizationApiKeyResult, ExpireUserApiKeyDocument, type ExpireUserApiKeyMutation, type ExpireUserApiKeyMutationVariables, type ExpireUserApiKeyResult, type Flag, type FlagList, GetDirectoryConnectionDocument, type GetDirectoryConnectionQuery, type GetDirectoryConnectionQueryVariables, GetOrganizationDomainDocument, type GetOrganizationDomainQuery, type GetOrganizationDomainQueryVariables, GetSsoConnectionDocument, type GetSsoConnectionQuery, type GetSsoConnectionQueryVariables, type IdentityVerificationExpired, type IdentityVerificationInvalid, type IncorrectPassword, type Incremental, type InputMaybe, type InvalidApiKeyExpiration, type InvalidApiKeyName, type InvalidApiKeyPermissions, type InvalidAuditLogExportDateRange, type InvalidEmail, type InvalidInvitationExpiry, type InvalidInviteeEmail, type InvalidInviteeRole, type InvalidLocale, type InvitationNotFound, type InvitationNotPending, type InvitationResent, type InvitationRevoked, InviteUserDocument, type InviteUserInput, type InviteUserMutation, type InviteUserMutationVariables, type InviteUserResult, type InviteeAlreadyAccepted, type InviteeAlreadyInvited, type InviteeAlreadyMember, type InviteeEmailNotDeliverable, ListConfigurableDataProvidersDocument, type ListConfigurableDataProvidersQuery, type ListConfigurableDataProvidersQueryVariables, ListDataProviderConnectionsDocument, type ListDataProviderConnectionsQuery, type ListDataProviderConnectionsQueryVariables, ListDataProvidersDocument, type ListDataProvidersQuery, type ListDataProvidersQueryVariables, ListDirectoryConnectionsDocument, type ListDirectoryConnectionsQuery, type ListDirectoryConnectionsQueryVariables, type ListMetadata, ListOrganizationApiKeysDocument, type ListOrganizationApiKeysQuery, type ListOrganizationApiKeysQueryVariables, ListOrganizationDataProvidersDocument, type ListOrganizationDataProvidersQuery, type ListOrganizationDataProvidersQueryVariables, ListOrganizationDomainsDocument, type ListOrganizationDomainsQuery, type ListOrganizationDomainsQueryVariables, ListOrganizationMembershipsDocument, type ListOrganizationMembershipsQuery, type ListOrganizationMembershipsQueryVariables, ListPermissionsDocument, type ListPermissionsQuery, type ListPermissionsQueryVariables, ListRolesDocument, type ListRolesQuery, type ListRolesQueryVariables, ListSharedDataProvidersDocument, type ListSharedDataProvidersQuery, type ListSharedDataProvidersQueryVariables, ListSsoConnectionsDocument, type ListSsoConnectionsQuery, type ListSsoConnectionsQueryVariables, ListUserApiKeysDocument, type ListUserApiKeysQuery, type ListUserApiKeysQueryVariables, ListUserOrganizationsDocument, type ListUserOrganizationsQuery, type ListUserOrganizationsQueryVariables, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, MeDocument, type MeQuery, type MeQueryVariables, type MemberIsManagedByDirectory, type MemberNotFound, type MemberRemoved, type MemberRoleUpdated, type MfaFactorRemoved, type Mutation, type MutationAssignPermissionToRoleArgs, type MutationConfirmEmailChangeArgs, type MutationConnectDataProviderWithClientCredentialsArgs, type MutationConnectOrganizationDataProviderWithClientCredentialsArgs, type MutationCreateAdminPortalLinkArgs, type MutationCreateAuditLogExportArgs, type MutationCreateDataProviderAuthorizationArgs, type MutationCreateDataProviderConnectionArgs, type MutationCreateOrganizationApiKeyArgs, type MutationCreateOrganizationDataProviderAuthorizationArgs, type MutationCreateOrganizationDataProviderConnectionArgs, type MutationCreateOrganizationDomainArgs, type MutationCreatePasswordArgs, type MutationCreateRoleArgs, type MutationCreateSsoConnectionArgs, type MutationCreateUserApiKeyArgs, type MutationDeleteDataProviderConnectionArgs, type MutationDeleteOrganizationApiKeyArgs, type MutationDeleteOrganizationDataProviderConnectionArgs, type MutationDeleteOrganizationDomainArgs, type MutationDeletePasskeyArgs, type MutationDeleteRoleArgs, type MutationDeleteSsoConnectionArgs, type MutationDeleteUserApiKeyArgs, type MutationEnrollTotpArgs, type MutationExpireOrganizationApiKeyArgs, type MutationExpireUserApiKeyArgs, type MutationInviteUserArgs, type MutationRegisterPasskeyArgs, type MutationRemoveMemberArgs, type MutationRemoveMfaFactorArgs, type MutationResendInvitationArgs, type MutationReverifyOrganizationDomainArgs, type MutationRevokeAllSessionsArgs, type MutationRevokeInvitationArgs, type MutationRevokeSessionArgs, type MutationSendEmailChangeArgs, type MutationSetDataProviderConfigurationArgs, type MutationSetDataProviderEnabledArgs, type MutationSetOrganizationDataProviderConfigurationArgs, type MutationUpdateMemberRoleArgs, type MutationUpdatePasswordArgs, type MutationUpdateProfileArgs, type MutationUpdateRoleArgs, type MutationUpdateSsoConnectionArgs, type MutationVerifyCurrentEmailArgs, type MutationVerifyPasskeyArgs, type MutationVerifyTotpArgs, type NoAuditEventsFound, type NoMfaFactorsEnrolled, type NoPendingEmailChange, type OAuthProvider, type Organization, type OrganizationApiKey, type OrganizationApiKeyCreated, type OrganizationApiKeyExpired, type OrganizationApiKeyFieldsFragment, OrganizationApiKeyFieldsFragmentDoc, type OrganizationApiKeyList, type OrganizationBlockedFromSendingInvites, type OrganizationDataProvider, type OrganizationDataProviderCapabilities, type OrganizationDataProviderFieldsFragment, OrganizationDataProviderFieldsFragmentDoc, type OrganizationDataProviderList, type OrganizationDomain, type OrganizationDomainFieldsFragment, OrganizationDomainFieldsFragmentDoc, type OrganizationDomainList, type OrganizationDomainState, type OrganizationInvitation, type OrganizationInvitationFieldsFragment, OrganizationInvitationFieldsFragmentDoc, type OrganizationInvitationStatus, type OrganizationMember, type OrganizationMemberAction, type OrganizationMemberFieldsFragment, OrganizationMemberFieldsFragmentDoc, type OrganizationMemberList, type OrganizationMemberRole, type OrganizationMemberStatus, type PaginationOrder, type Passkey, type PasskeyChallengeNotFound, type PasskeyDeleted, type PasskeyNotFound, type PasskeyRegistrationOptions, type PasskeyVerificationFailed, type PasskeyVerified, PasskeysDocument, type PasskeysQuery, type PasskeysQueryVariables, type PasswordCharacterType, type PasswordCreated, type PasswordPolicy, type PasswordPolicyViolation, type PasswordUpdated, type PasswordViolation, type PasswordViolationFieldsFragment, PasswordViolationFieldsFragmentDoc, type Permission, type PermissionList, type ProfileUpdated, type Query, type QueryAuditEventArgs, type QueryAuditEventsArgs, type QueryAuditLogExportArgs, type QueryConfigurableDataProvidersArgs, type QueryDataProviderArgs, type QueryDataProviderAuthorizationStatusArgs, type QueryDataProviderConnectionArgs, type QueryDataProviderConnectionsArgs, type QueryDataProvidersArgs, type QueryDirectoryConnectionArgs, type QueryDirectoryConnectionsArgs, type QueryDirectoryGroupsArgs, type QueryDirectoryUsersArgs, type QueryEffectivePermissionsArgs, type QueryEvaluatedFlagsArgs, type QueryFlagArgs, type QueryFlagBySlugArgs, type QueryFlagsArgs, type QueryOrganizationApiKeysArgs, type QueryOrganizationArgs, type QueryOrganizationDataProvidersArgs, type QueryOrganizationDomainArgs, type QueryOrganizationDomainsArgs, type QueryOrganizationMembershipsArgs, type QueryPermissionsArgs, type QueryRoleArgs, type QuerySharedDataProvidersArgs, type QuerySsoConnectionArgs, type QueryUserApiKeysArgs, type QueryUserArgs, RegisterPasskeyDocument, type RegisterPasskeyInput, type RegisterPasskeyMutation, type RegisterPasskeyMutationVariables, type RegisterPasskeyResult, RemoveMemberDocument, type RemoveMemberInput, type RemoveMemberMutation, type RemoveMemberMutationVariables, type RemoveMemberResult, RemoveMfaFactorDocument, type RemoveMfaFactorInput, type RemoveMfaFactorMutation, type RemoveMfaFactorMutationVariables, type RemoveMfaFactorResult, ResendInvitationDocument, type ResendInvitationInput, type ResendInvitationMutation, type ResendInvitationMutationVariables, type ResendInvitationNotFound, type ResendInvitationResult, ReverifyOrganizationDomainDocument, type ReverifyOrganizationDomainMutation, type ReverifyOrganizationDomainMutationVariables, RevokeAllSessionsDocument, type RevokeAllSessionsInput, type RevokeAllSessionsMutation, type RevokeAllSessionsMutationVariables, type RevokeAllSessionsResult, RevokeInvitationDocument, type RevokeInvitationInput, type RevokeInvitationMutation, type RevokeInvitationMutationVariables, type RevokeInvitationResult, RevokeSessionDocument, type RevokeSessionInput, type RevokeSessionMutation, type RevokeSessionMutationVariables, type RevokeSessionResult, type Role, type RoleDeleted, type RoleFieldsFragment, RoleFieldsFragmentDoc, type RoleNotFound, type RolesResult, type Scalars, type Sdk, type SdkFunctionWrapper, SendEmailChangeDocument, type SendEmailChangeInput, type SendEmailChangeMutation, type SendEmailChangeMutationVariables, type SendEmailChangeResult, SendVerificationCodeDocument, type SendVerificationCodeMutation, type SendVerificationCodeMutationVariables, type SendVerificationCodeResult, type Session, type SessionFieldsFragment, SessionFieldsFragmentDoc, type SessionLocation, type SessionNotFound, type SessionRevoked, type SessionState, SessionsDocument, type SessionsQuery, type SessionsQueryVariables, SetDataProviderConfigurationDocument, type SetDataProviderConfigurationInput, type SetDataProviderConfigurationMutation, type SetDataProviderConfigurationMutationVariables, type SetDataProviderConfigurationResult, SetDataProviderEnabledDocument, type SetDataProviderEnabledInput, type SetDataProviderEnabledMutation, type SetDataProviderEnabledMutationVariables, SetOrganizationDataProviderConfigurationDocument, type SetOrganizationDataProviderConfigurationInput, type SetOrganizationDataProviderConfigurationMutation, type SetOrganizationDataProviderConfigurationMutationVariables, type SharedDataProvider, type SharedDataProviderConnection, type SharedDataProviderFieldsFragment, SharedDataProviderFieldsFragmentDoc, type SharedDataProviderList, type SsoConnectionSession, type SsoProviderTag, type SsoSessionState, type TotpAlreadyEnrolled, type TotpFactor, type TotpVerificationFailed, type TotpVerified, UpdateMemberRoleDocument, type UpdateMemberRoleInput, type UpdateMemberRoleMutation, type UpdateMemberRoleMutationVariables, type UpdateMemberRoleResult, UpdatePasswordDocument, type UpdatePasswordInput, type UpdatePasswordMutation, type UpdatePasswordMutationVariables, type UpdatePasswordResult, UpdateProfileDocument, type UpdateProfileInput, type UpdateProfileMutation, type UpdateProfileMutationVariables, type UpdateProfileResult, type UpdateRoleInput, type UpdateSsoConnectionInput, type User, type UserAlreadyHasPassword, type UserApiKey, type UserApiKeyCreated, type UserApiKeyExpired, type UserApiKeyFieldsFragment, UserApiKeyFieldsFragmentDoc, type UserApiKeyList, type UserApiKeyOwner, type UserFieldsFragment, UserFieldsFragmentDoc, type UserInvited, type UserOrganization, type VerificationCodeExpired, type VerificationCodeIncorrect, type VerificationCodePreviouslyUsed, type VerificationCodeSent, type VerificationTooManyAttempts, VerifyCurrentEmailDocument, type VerifyCurrentEmailInput, type VerifyCurrentEmailMutation, type VerifyCurrentEmailMutationVariables, type VerifyCurrentEmailResult, VerifyPasskeyDocument, type VerifyPasskeyInput, type VerifyPasskeyMutation, type VerifyPasskeyMutationVariables, type VerifyPasskeyResult, VerifyTotpDocument, type VerifyTotpInput, type VerifyTotpMutation, type VerifyTotpMutationVariables, type VerifyTotpResult, type X509Certificate, getSdk };