@go-mondo/identity-sdk 0.0.2-beta.6 → 0.0.2-beta.8

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 (363) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/.tsbuildinfo/cjs.json +1 -1
  3. package/.tsbuildinfo/esm.json +1 -1
  4. package/CHANGELOG.md +14 -0
  5. package/dist/cjs/action/schema/base.d.ts +5 -5
  6. package/dist/cjs/action/schema/operations/set-password.d.ts +11 -11
  7. package/dist/cjs/action/schema/operations/sign-up-verification.d.ts +5 -5
  8. package/dist/cjs/action/schema/operations/sign-up.d.ts +7 -7
  9. package/dist/cjs/action/schema/operations/user-attribute-verification.d.ts +5 -5
  10. package/dist/cjs/action/schema/schema.d.ts +26 -26
  11. package/dist/cjs/activity/index.d.ts +1 -0
  12. package/dist/cjs/activity/index.d.ts.map +1 -1
  13. package/dist/cjs/activity/index.js +1 -0
  14. package/dist/cjs/activity/resources.d.ts +13 -0
  15. package/dist/cjs/activity/resources.d.ts.map +1 -0
  16. package/dist/cjs/activity/resources.js +29 -0
  17. package/dist/cjs/activity/schema/base.d.ts +23 -7
  18. package/dist/cjs/activity/schema/base.d.ts.map +1 -1
  19. package/dist/cjs/activity/schema/base.js +12 -2
  20. package/dist/cjs/activity/schema/schema.d.ts +123 -29
  21. package/dist/cjs/activity/schema/schema.d.ts.map +1 -1
  22. package/dist/cjs/activity/schema/schema.js +5 -2
  23. package/dist/cjs/activity/schema/types/authentication.d.ts +28 -5
  24. package/dist/cjs/activity/schema/types/authentication.d.ts.map +1 -1
  25. package/dist/cjs/activity/schema/types/authentication.js +5 -2
  26. package/dist/cjs/activity/schema/types/authorization.d.ts +28 -5
  27. package/dist/cjs/activity/schema/types/authorization.d.ts.map +1 -1
  28. package/dist/cjs/activity/schema/types/authorization.js +6 -4
  29. package/dist/cjs/activity/schema/types/note.d.ts +27 -7
  30. package/dist/cjs/activity/schema/types/note.d.ts.map +1 -1
  31. package/dist/cjs/activity/schema/types/note.js +4 -2
  32. package/dist/cjs/activity/schema/types/operation.d.ts +27 -5
  33. package/dist/cjs/activity/schema/types/operation.d.ts.map +1 -1
  34. package/dist/cjs/activity/schema/types/operation.js +4 -2
  35. package/dist/cjs/activity/schema/types/unknown.d.ts +25 -5
  36. package/dist/cjs/activity/schema/types/unknown.d.ts.map +1 -1
  37. package/dist/cjs/activity/schema/types/unknown.js +4 -2
  38. package/dist/cjs/app/authorization/resources.d.ts +12 -0
  39. package/dist/cjs/app/authorization/resources.d.ts.map +1 -0
  40. package/dist/cjs/app/authorization/resources.js +35 -0
  41. package/dist/cjs/app/authorization/schema.d.ts +28 -11
  42. package/dist/cjs/app/authorization/schema.d.ts.map +1 -1
  43. package/dist/cjs/app/authorization/schema.js +30 -14
  44. package/dist/cjs/app/index.d.ts +6 -0
  45. package/dist/cjs/app/index.d.ts.map +1 -1
  46. package/dist/cjs/app/index.js +6 -0
  47. package/dist/cjs/app/oauth/resources.d.ts +12 -0
  48. package/dist/cjs/app/oauth/resources.d.ts.map +1 -0
  49. package/dist/cjs/app/oauth/resources.js +35 -0
  50. package/dist/cjs/app/oauth/schema.d.ts +17 -5
  51. package/dist/cjs/app/oauth/schema.d.ts.map +1 -1
  52. package/dist/cjs/app/oauth/schema.js +9 -2
  53. package/dist/cjs/app/oidc/resources.d.ts +16 -0
  54. package/dist/cjs/app/oidc/resources.d.ts.map +1 -0
  55. package/dist/cjs/app/oidc/resources.js +49 -0
  56. package/dist/cjs/app/oidc/schema.d.ts +18 -8
  57. package/dist/cjs/app/oidc/schema.d.ts.map +1 -1
  58. package/dist/cjs/app/oidc/schema.js +7 -2
  59. package/dist/cjs/app/registration/resources.d.ts +12 -0
  60. package/dist/cjs/app/registration/resources.d.ts.map +1 -0
  61. package/dist/cjs/app/registration/resources.js +35 -0
  62. package/dist/cjs/app/registration/schema.d.ts +15 -5
  63. package/dist/cjs/app/registration/schema.d.ts.map +1 -1
  64. package/dist/cjs/app/registration/schema.js +9 -2
  65. package/dist/cjs/app/resources.d.ts +21 -0
  66. package/dist/cjs/app/resources.d.ts.map +1 -0
  67. package/dist/cjs/app/resources.js +57 -0
  68. package/dist/cjs/app/saml/resources.d.ts +16 -0
  69. package/dist/cjs/app/saml/resources.d.ts.map +1 -0
  70. package/dist/cjs/app/saml/resources.js +49 -0
  71. package/dist/cjs/app/saml/schema.d.ts +18 -8
  72. package/dist/cjs/app/saml/schema.d.ts.map +1 -1
  73. package/dist/cjs/app/saml/schema.js +7 -2
  74. package/dist/cjs/app/schema.d.ts +24 -9
  75. package/dist/cjs/app/schema.d.ts.map +1 -1
  76. package/dist/cjs/app/schema.js +11 -3
  77. package/dist/cjs/association/index.d.ts +1 -0
  78. package/dist/cjs/association/index.d.ts.map +1 -1
  79. package/dist/cjs/association/index.js +1 -0
  80. package/dist/cjs/association/resources.d.ts +23 -0
  81. package/dist/cjs/association/resources.d.ts.map +1 -0
  82. package/dist/cjs/association/resources.js +51 -0
  83. package/dist/cjs/association/schema.d.ts +138 -19
  84. package/dist/cjs/association/schema.d.ts.map +1 -1
  85. package/dist/cjs/association/schema.js +30 -3
  86. package/dist/cjs/authentication/factors/schema.d.ts +11 -2
  87. package/dist/cjs/authentication/factors/schema.d.ts.map +1 -1
  88. package/dist/cjs/authentication/factors/schema.js +5 -1
  89. package/dist/cjs/authentication/index.d.ts +3 -0
  90. package/dist/cjs/authentication/index.d.ts.map +1 -1
  91. package/dist/cjs/authentication/index.js +3 -0
  92. package/dist/cjs/authentication/providers/schema.d.ts +4 -4
  93. package/dist/cjs/authentication/resources.d.ts +2 -0
  94. package/dist/cjs/authentication/resources.d.ts.map +1 -0
  95. package/dist/cjs/authentication/resources.js +4 -0
  96. package/dist/cjs/authentication/sessions/resources.d.ts +21 -0
  97. package/dist/cjs/authentication/sessions/resources.d.ts.map +1 -0
  98. package/dist/cjs/authentication/sessions/resources.js +43 -0
  99. package/dist/cjs/authentication/sessions/schema.d.ts +35 -13
  100. package/dist/cjs/authentication/sessions/schema.d.ts.map +1 -1
  101. package/dist/cjs/authentication/sessions/schema.js +15 -6
  102. package/dist/cjs/authentication/settings/resources.d.ts +12 -0
  103. package/dist/cjs/authentication/settings/resources.d.ts.map +1 -0
  104. package/dist/cjs/authentication/settings/resources.js +32 -0
  105. package/dist/cjs/authentication/settings/schema.d.ts +30 -7
  106. package/dist/cjs/authentication/settings/schema.d.ts.map +1 -1
  107. package/dist/cjs/authentication/settings/schema.js +8 -1
  108. package/dist/cjs/authentication/strategies/resources.d.ts +20 -0
  109. package/dist/cjs/authentication/strategies/resources.d.ts.map +1 -0
  110. package/dist/cjs/authentication/strategies/resources.js +58 -0
  111. package/dist/cjs/authentication/strategies/schema/base.d.ts +17 -7
  112. package/dist/cjs/authentication/strategies/schema/base.d.ts.map +1 -1
  113. package/dist/cjs/authentication/strategies/schema/base.js +10 -2
  114. package/dist/cjs/authentication/strategies/schema/schema.d.ts +102 -53
  115. package/dist/cjs/authentication/strategies/schema/schema.d.ts.map +1 -1
  116. package/dist/cjs/authentication/strategies/schema/schema.js +2 -1
  117. package/dist/cjs/authentication/strategies/schema/types/email.d.ts +27 -9
  118. package/dist/cjs/authentication/strategies/schema/types/email.d.ts.map +1 -1
  119. package/dist/cjs/authentication/strategies/schema/types/email.js +4 -3
  120. package/dist/cjs/authentication/strategies/schema/types/password.d.ts +76 -43
  121. package/dist/cjs/authentication/strategies/schema/types/password.d.ts.map +1 -1
  122. package/dist/cjs/authentication/strategies/schema/types/password.js +26 -9
  123. package/dist/cjs/authentication/strategies/schema/types/totp.d.ts +33 -13
  124. package/dist/cjs/authentication/strategies/schema/types/totp.d.ts.map +1 -1
  125. package/dist/cjs/authentication/strategies/schema/types/totp.js +12 -3
  126. package/dist/cjs/authorization/permissions/resources.d.ts +2 -2
  127. package/dist/cjs/authorization/permissions/resources.d.ts.map +1 -1
  128. package/dist/cjs/authorization/permissions/resources.js +1 -1
  129. package/dist/cjs/authorization/permissions/schema.d.ts +9 -9
  130. package/dist/cjs/authorization/permissions/schema.d.ts.map +1 -1
  131. package/dist/cjs/authorization/permissions/schema.js +3 -1
  132. package/dist/cjs/authorization/roles/resources.d.ts +2 -2
  133. package/dist/cjs/authorization/roles/resources.d.ts.map +1 -1
  134. package/dist/cjs/authorization/roles/resources.js +1 -1
  135. package/dist/cjs/authorization/roles/schema.d.ts +9 -9
  136. package/dist/cjs/authorization/roles/schema.d.ts.map +1 -1
  137. package/dist/cjs/authorization/roles/schema.js +3 -1
  138. package/dist/cjs/common/index.d.ts +1 -0
  139. package/dist/cjs/common/index.d.ts.map +1 -1
  140. package/dist/cjs/common/index.js +6 -0
  141. package/dist/cjs/common/schema/dates.d.ts +7 -7
  142. package/dist/cjs/common/schema/dates.d.ts.map +1 -1
  143. package/dist/cjs/common/schema/metadata.d.ts +8 -6
  144. package/dist/cjs/common/schema/metadata.d.ts.map +1 -1
  145. package/dist/cjs/common/schema/schema.d.ts +2 -1
  146. package/dist/cjs/common/schema/schema.d.ts.map +1 -1
  147. package/dist/cjs/common/schema/schema.js +2 -1
  148. package/dist/cjs/common/schema/schema.test.d.ts +2 -0
  149. package/dist/cjs/common/schema/schema.test.d.ts.map +1 -0
  150. package/dist/cjs/common/schema/schema.test.js +35 -0
  151. package/dist/cjs/common/schema/sets.d.ts +2 -2
  152. package/dist/cjs/common/schema/sets.d.ts.map +1 -1
  153. package/dist/cjs/common/schema/url.d.ts +2 -0
  154. package/dist/cjs/common/schema/url.d.ts.map +1 -0
  155. package/dist/cjs/common/schema/url.js +12 -0
  156. package/dist/cjs/customer/index.d.ts +1 -0
  157. package/dist/cjs/customer/index.d.ts.map +1 -1
  158. package/dist/cjs/customer/index.js +1 -0
  159. package/dist/cjs/customer/schema/organization.d.ts +7 -7
  160. package/dist/cjs/customer/users/resources.d.ts +2 -2
  161. package/dist/cjs/customer/users/resources.d.ts.map +1 -1
  162. package/dist/cjs/customer/users/resources.js +2 -2
  163. package/dist/cjs/customer/users/schema.d.ts +11 -12
  164. package/dist/cjs/customer/users/schema.d.ts.map +1 -1
  165. package/dist/cjs/customer/users/schema.js +2 -4
  166. package/dist/cjs/customer/users/schema.test.js +2 -0
  167. package/dist/cjs/customer/users/utils.d.ts +10 -0
  168. package/dist/cjs/customer/users/utils.d.ts.map +1 -0
  169. package/dist/cjs/customer/users/utils.js +33 -0
  170. package/dist/cjs/oauth/common/schema.d.ts +6 -0
  171. package/dist/cjs/oauth/common/schema.d.ts.map +1 -1
  172. package/dist/cjs/oauth/common/schema.js +7 -1
  173. package/dist/cjs/oauth/index.d.ts +1 -1
  174. package/dist/cjs/oauth/index.d.ts.map +1 -1
  175. package/dist/cjs/oauth/index.js +2 -1
  176. package/dist/cjs/workspace/authorization/schema.d.ts +5 -5
  177. package/dist/cjs/workspace/branding/schema.d.ts +5 -5
  178. package/dist/cjs/workspace/membership/schema.d.ts +5 -5
  179. package/dist/cjs/workspace/registration/schema.d.ts +5 -5
  180. package/dist/cjs/workspace/settings/schema.d.ts +5 -5
  181. package/dist/cjs/workspace/tenant/schema.d.ts +10 -10
  182. package/dist/cjs/workspace/user/notifications/schema.d.ts +7 -7
  183. package/dist/cjs/workspace/user/preferences/schema.d.ts +5 -5
  184. package/dist/esm/action/schema/base.d.ts +5 -5
  185. package/dist/esm/action/schema/operations/set-password.d.ts +11 -11
  186. package/dist/esm/action/schema/operations/sign-up-verification.d.ts +5 -5
  187. package/dist/esm/action/schema/operations/sign-up.d.ts +7 -7
  188. package/dist/esm/action/schema/operations/user-attribute-verification.d.ts +5 -5
  189. package/dist/esm/action/schema/schema.d.ts +26 -26
  190. package/dist/esm/activity/index.d.ts +1 -0
  191. package/dist/esm/activity/index.d.ts.map +1 -1
  192. package/dist/esm/activity/index.js +1 -0
  193. package/dist/esm/activity/resources.d.ts +13 -0
  194. package/dist/esm/activity/resources.d.ts.map +1 -0
  195. package/dist/esm/activity/resources.js +24 -0
  196. package/dist/esm/activity/schema/base.d.ts +23 -7
  197. package/dist/esm/activity/schema/base.d.ts.map +1 -1
  198. package/dist/esm/activity/schema/base.js +13 -3
  199. package/dist/esm/activity/schema/schema.d.ts +123 -29
  200. package/dist/esm/activity/schema/schema.d.ts.map +1 -1
  201. package/dist/esm/activity/schema/schema.js +9 -6
  202. package/dist/esm/activity/schema/types/authentication.d.ts +28 -5
  203. package/dist/esm/activity/schema/types/authentication.d.ts.map +1 -1
  204. package/dist/esm/activity/schema/types/authentication.js +5 -2
  205. package/dist/esm/activity/schema/types/authorization.d.ts +28 -5
  206. package/dist/esm/activity/schema/types/authorization.d.ts.map +1 -1
  207. package/dist/esm/activity/schema/types/authorization.js +6 -4
  208. package/dist/esm/activity/schema/types/note.d.ts +27 -7
  209. package/dist/esm/activity/schema/types/note.d.ts.map +1 -1
  210. package/dist/esm/activity/schema/types/note.js +4 -2
  211. package/dist/esm/activity/schema/types/operation.d.ts +27 -5
  212. package/dist/esm/activity/schema/types/operation.d.ts.map +1 -1
  213. package/dist/esm/activity/schema/types/operation.js +4 -2
  214. package/dist/esm/activity/schema/types/unknown.d.ts +25 -5
  215. package/dist/esm/activity/schema/types/unknown.d.ts.map +1 -1
  216. package/dist/esm/activity/schema/types/unknown.js +4 -2
  217. package/dist/esm/app/authorization/resources.d.ts +12 -0
  218. package/dist/esm/app/authorization/resources.d.ts.map +1 -0
  219. package/dist/esm/app/authorization/resources.js +29 -0
  220. package/dist/esm/app/authorization/schema.d.ts +28 -11
  221. package/dist/esm/app/authorization/schema.d.ts.map +1 -1
  222. package/dist/esm/app/authorization/schema.js +31 -15
  223. package/dist/esm/app/index.d.ts +6 -0
  224. package/dist/esm/app/index.d.ts.map +1 -1
  225. package/dist/esm/app/index.js +6 -0
  226. package/dist/esm/app/oauth/resources.d.ts +12 -0
  227. package/dist/esm/app/oauth/resources.d.ts.map +1 -0
  228. package/dist/esm/app/oauth/resources.js +29 -0
  229. package/dist/esm/app/oauth/schema.d.ts +17 -5
  230. package/dist/esm/app/oauth/schema.d.ts.map +1 -1
  231. package/dist/esm/app/oauth/schema.js +10 -3
  232. package/dist/esm/app/oidc/resources.d.ts +16 -0
  233. package/dist/esm/app/oidc/resources.d.ts.map +1 -0
  234. package/dist/esm/app/oidc/resources.js +41 -0
  235. package/dist/esm/app/oidc/schema.d.ts +18 -8
  236. package/dist/esm/app/oidc/schema.d.ts.map +1 -1
  237. package/dist/esm/app/oidc/schema.js +8 -3
  238. package/dist/esm/app/registration/resources.d.ts +12 -0
  239. package/dist/esm/app/registration/resources.d.ts.map +1 -0
  240. package/dist/esm/app/registration/resources.js +29 -0
  241. package/dist/esm/app/registration/schema.d.ts +15 -5
  242. package/dist/esm/app/registration/schema.d.ts.map +1 -1
  243. package/dist/esm/app/registration/schema.js +10 -3
  244. package/dist/esm/app/resources.d.ts +21 -0
  245. package/dist/esm/app/resources.d.ts.map +1 -0
  246. package/dist/esm/app/resources.js +48 -0
  247. package/dist/esm/app/saml/resources.d.ts +16 -0
  248. package/dist/esm/app/saml/resources.d.ts.map +1 -0
  249. package/dist/esm/app/saml/resources.js +41 -0
  250. package/dist/esm/app/saml/schema.d.ts +18 -8
  251. package/dist/esm/app/saml/schema.d.ts.map +1 -1
  252. package/dist/esm/app/saml/schema.js +8 -3
  253. package/dist/esm/app/schema.d.ts +24 -9
  254. package/dist/esm/app/schema.d.ts.map +1 -1
  255. package/dist/esm/app/schema.js +12 -4
  256. package/dist/esm/association/index.d.ts +1 -0
  257. package/dist/esm/association/index.d.ts.map +1 -1
  258. package/dist/esm/association/index.js +1 -0
  259. package/dist/esm/association/resources.d.ts +23 -0
  260. package/dist/esm/association/resources.d.ts.map +1 -0
  261. package/dist/esm/association/resources.js +44 -0
  262. package/dist/esm/association/schema.d.ts +138 -19
  263. package/dist/esm/association/schema.d.ts.map +1 -1
  264. package/dist/esm/association/schema.js +30 -3
  265. package/dist/esm/authentication/factors/schema.d.ts +11 -2
  266. package/dist/esm/authentication/factors/schema.d.ts.map +1 -1
  267. package/dist/esm/authentication/factors/schema.js +4 -0
  268. package/dist/esm/authentication/index.d.ts +3 -0
  269. package/dist/esm/authentication/index.d.ts.map +1 -1
  270. package/dist/esm/authentication/index.js +3 -0
  271. package/dist/esm/authentication/providers/schema.d.ts +4 -4
  272. package/dist/esm/authentication/resources.d.ts +2 -0
  273. package/dist/esm/authentication/resources.d.ts.map +1 -0
  274. package/dist/esm/authentication/resources.js +1 -0
  275. package/dist/esm/authentication/sessions/resources.d.ts +21 -0
  276. package/dist/esm/authentication/sessions/resources.d.ts.map +1 -0
  277. package/dist/esm/authentication/sessions/resources.js +37 -0
  278. package/dist/esm/authentication/sessions/schema.d.ts +35 -13
  279. package/dist/esm/authentication/sessions/schema.d.ts.map +1 -1
  280. package/dist/esm/authentication/sessions/schema.js +16 -7
  281. package/dist/esm/authentication/settings/resources.d.ts +12 -0
  282. package/dist/esm/authentication/settings/resources.d.ts.map +1 -0
  283. package/dist/esm/authentication/settings/resources.js +26 -0
  284. package/dist/esm/authentication/settings/schema.d.ts +30 -7
  285. package/dist/esm/authentication/settings/schema.d.ts.map +1 -1
  286. package/dist/esm/authentication/settings/schema.js +9 -2
  287. package/dist/esm/authentication/strategies/resources.d.ts +20 -0
  288. package/dist/esm/authentication/strategies/resources.d.ts.map +1 -0
  289. package/dist/esm/authentication/strategies/resources.js +49 -0
  290. package/dist/esm/authentication/strategies/schema/base.d.ts +17 -7
  291. package/dist/esm/authentication/strategies/schema/base.d.ts.map +1 -1
  292. package/dist/esm/authentication/strategies/schema/base.js +11 -3
  293. package/dist/esm/authentication/strategies/schema/schema.d.ts +102 -53
  294. package/dist/esm/authentication/strategies/schema/schema.d.ts.map +1 -1
  295. package/dist/esm/authentication/strategies/schema/schema.js +4 -3
  296. package/dist/esm/authentication/strategies/schema/types/email.d.ts +27 -9
  297. package/dist/esm/authentication/strategies/schema/types/email.d.ts.map +1 -1
  298. package/dist/esm/authentication/strategies/schema/types/email.js +4 -3
  299. package/dist/esm/authentication/strategies/schema/types/password.d.ts +76 -43
  300. package/dist/esm/authentication/strategies/schema/types/password.d.ts.map +1 -1
  301. package/dist/esm/authentication/strategies/schema/types/password.js +26 -9
  302. package/dist/esm/authentication/strategies/schema/types/totp.d.ts +33 -13
  303. package/dist/esm/authentication/strategies/schema/types/totp.d.ts.map +1 -1
  304. package/dist/esm/authentication/strategies/schema/types/totp.js +12 -3
  305. package/dist/esm/authorization/permissions/resources.d.ts +2 -2
  306. package/dist/esm/authorization/permissions/resources.d.ts.map +1 -1
  307. package/dist/esm/authorization/permissions/resources.js +1 -1
  308. package/dist/esm/authorization/permissions/schema.d.ts +9 -9
  309. package/dist/esm/authorization/permissions/schema.d.ts.map +1 -1
  310. package/dist/esm/authorization/permissions/schema.js +3 -1
  311. package/dist/esm/authorization/roles/resources.d.ts +2 -2
  312. package/dist/esm/authorization/roles/resources.d.ts.map +1 -1
  313. package/dist/esm/authorization/roles/resources.js +1 -1
  314. package/dist/esm/authorization/roles/schema.d.ts +9 -9
  315. package/dist/esm/authorization/roles/schema.d.ts.map +1 -1
  316. package/dist/esm/authorization/roles/schema.js +3 -1
  317. package/dist/esm/common/index.d.ts +1 -0
  318. package/dist/esm/common/index.d.ts.map +1 -1
  319. package/dist/esm/common/index.js +1 -0
  320. package/dist/esm/common/schema/dates.d.ts +7 -7
  321. package/dist/esm/common/schema/dates.d.ts.map +1 -1
  322. package/dist/esm/common/schema/metadata.d.ts +8 -6
  323. package/dist/esm/common/schema/metadata.d.ts.map +1 -1
  324. package/dist/esm/common/schema/schema.d.ts +2 -1
  325. package/dist/esm/common/schema/schema.d.ts.map +1 -1
  326. package/dist/esm/common/schema/schema.js +2 -1
  327. package/dist/esm/common/schema/schema.test.d.ts +2 -0
  328. package/dist/esm/common/schema/schema.test.d.ts.map +1 -0
  329. package/dist/esm/common/schema/schema.test.js +33 -0
  330. package/dist/esm/common/schema/sets.d.ts +2 -2
  331. package/dist/esm/common/schema/sets.d.ts.map +1 -1
  332. package/dist/esm/common/schema/url.d.ts +2 -0
  333. package/dist/esm/common/schema/url.d.ts.map +1 -0
  334. package/dist/esm/common/schema/url.js +9 -0
  335. package/dist/esm/customer/index.d.ts +1 -0
  336. package/dist/esm/customer/index.d.ts.map +1 -1
  337. package/dist/esm/customer/index.js +1 -0
  338. package/dist/esm/customer/schema/organization.d.ts +7 -7
  339. package/dist/esm/customer/users/resources.d.ts +2 -2
  340. package/dist/esm/customer/users/resources.d.ts.map +1 -1
  341. package/dist/esm/customer/users/resources.js +3 -3
  342. package/dist/esm/customer/users/schema.d.ts +11 -12
  343. package/dist/esm/customer/users/schema.d.ts.map +1 -1
  344. package/dist/esm/customer/users/schema.js +2 -4
  345. package/dist/esm/customer/users/schema.test.js +2 -0
  346. package/dist/esm/customer/users/utils.d.ts +10 -0
  347. package/dist/esm/customer/users/utils.d.ts.map +1 -0
  348. package/dist/esm/customer/users/utils.js +27 -0
  349. package/dist/esm/oauth/common/schema.d.ts +6 -0
  350. package/dist/esm/oauth/common/schema.d.ts.map +1 -1
  351. package/dist/esm/oauth/common/schema.js +6 -0
  352. package/dist/esm/oauth/index.d.ts +1 -1
  353. package/dist/esm/oauth/index.d.ts.map +1 -1
  354. package/dist/esm/oauth/index.js +1 -1
  355. package/dist/esm/workspace/authorization/schema.d.ts +5 -5
  356. package/dist/esm/workspace/branding/schema.d.ts +5 -5
  357. package/dist/esm/workspace/membership/schema.d.ts +5 -5
  358. package/dist/esm/workspace/registration/schema.d.ts +5 -5
  359. package/dist/esm/workspace/settings/schema.d.ts +5 -5
  360. package/dist/esm/workspace/tenant/schema.d.ts +10 -10
  361. package/dist/esm/workspace/user/notifications/schema.d.ts +7 -7
  362. package/dist/esm/workspace/user/preferences/schema.d.ts +5 -5
  363. package/package.json +6 -6
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/oauth/common/schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;CAKZ,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEtE,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAG/E,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AACjE,eAAO,MAAM,yBAAyB,+EAGrC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;CAKvB,CAAC;AACX,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AACnE,eAAO,MAAM,0BAA0B,iGAKtC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;CAKtB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AACjE,eAAO,MAAM,yBAAyB,8GAKrC,CAAC;AAEF,eAAO,MAAM,cAAc;;MAEzB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;CAMZ,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEtE,eAAO,MAAM,UAAU;;CAEb,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEzE,eAAO,MAAM,KAAK;;;;;;;CAGjB,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,MAAM,CAAC;AAC7D,eAAO,MAAM,WAAW,qEAAiB,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/oauth/common/schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;CAKZ,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEtE,eAAO,MAAM,cAAc;;;;;CAKjB,CAAC;AAEX,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AACX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAG/E,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AACjE,eAAO,MAAM,yBAAyB,+EAGrC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;CAKvB,CAAC;AACX,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AACnE,eAAO,MAAM,0BAA0B,iGAKtC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;CAKtB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AACjE,eAAO,MAAM,yBAAyB,8GAKrC,CAAC;AAEF,eAAO,MAAM,cAAc;;MAEzB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;CAMZ,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEtE,eAAO,MAAM,UAAU;;CAEb,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEzE,eAAO,MAAM,KAAK;;;;;;;CAGjB,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,MAAM,CAAC;AAC7D,eAAO,MAAM,WAAW,qEAAiB,CAAC"}
@@ -5,6 +5,12 @@ export const GrantType = {
5
5
  IMPLICIT: 'implicit',
6
6
  REFRESH_TOKEN: 'refresh_token',
7
7
  };
8
+ export const GrantTypeLabel = {
9
+ [GrantType.CLIENT_CREDENTIALS]: 'Client Credentials',
10
+ [GrantType.AUTHORIZATION_CODE]: 'Authorization Code',
11
+ [GrantType.IMPLICIT]: 'Implicit',
12
+ [GrantType.REFRESH_TOKEN]: 'Refresh Token',
13
+ };
8
14
  export const ResponseType = {
9
15
  ID_TOKEN: 'id_token',
10
16
  TOKEN: 'token',
@@ -1,4 +1,4 @@
1
- export { AuthorizationDisplay, AuthorizationDisplaySchema, AuthorizationPrompt, AuthorizationPromptSchema, CodeChallengeMethod, CodeChallengeMethodSchema, GrantType, OAuthScope, OIDCScope, ResponseType, type AnyAuthorizationDisplay, type AnyAuthorizationPrompt, type AnyCodeChallengeMethod, type AnyGrantType, type AnyOAuthScope, type AnyOIDCScope, type AnyResponseType, type AnyScope, } from './common/schema.js';
1
+ export { AuthorizationDisplay, AuthorizationDisplaySchema, AuthorizationPrompt, AuthorizationPromptSchema, CodeChallengeMethod, CodeChallengeMethodSchema, GrantType, GrantTypeLabel, OAuthScope, OIDCScope, ResponseType, type AnyAuthorizationDisplay, type AnyAuthorizationPrompt, type AnyCodeChallengeMethod, type AnyGrantType, type AnyOAuthScope, type AnyOIDCScope, type AnyResponseType, type AnyScope, } from './common/schema.js';
2
2
  export * as Authorize from './authorize/index.js';
3
3
  export * as Token from './token/index.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/oauth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,SAAS,EACT,UAAU,EACV,SAAS,EACT,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,QAAQ,GACd,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/oauth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,SAAS,EACT,cAAc,EACd,UAAU,EACV,SAAS,EACT,YAAY,EACZ,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,QAAQ,GACd,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC"}
@@ -1,3 +1,3 @@
1
- export { AuthorizationDisplay, AuthorizationDisplaySchema, AuthorizationPrompt, AuthorizationPromptSchema, CodeChallengeMethod, CodeChallengeMethodSchema, GrantType, OAuthScope, OIDCScope, ResponseType, } from './common/schema.js';
1
+ export { AuthorizationDisplay, AuthorizationDisplaySchema, AuthorizationPrompt, AuthorizationPromptSchema, CodeChallengeMethod, CodeChallengeMethodSchema, GrantType, GrantTypeLabel, OAuthScope, OIDCScope, ResponseType, } from './common/schema.js';
2
2
  export * as Authorize from './authorize/index.js';
3
3
  export * as Token from './token/index.js';
@@ -6,12 +6,12 @@ export declare const AuthorizationPayloadSchema: import("arktype/internal/method
6
6
  refreshTokenDuration: import("arktype/internal/attributes.ts").Default<number, number>;
7
7
  accessTokenDuration: import("arktype/internal/attributes.ts").Default<number, number>;
8
8
  accessTokenSignatureAlgorithm: import("arktype/internal/attributes.ts").Default<string, string>;
9
- updatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
10
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
11
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
9
+ updatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
10
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
11
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
12
12
  metadata?: ((In: {
13
13
  [x: string]: string | number | boolean;
14
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
14
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
15
15
  [x: string]: string | number | boolean;
16
16
  } | undefined>) | undefined;
17
17
  }, {}>;
@@ -23,7 +23,7 @@ export declare const UpsertAuthorizationPayloadSchema: import("arktype/internal/
23
23
  accessTokenSignatureAlgorithm: import("arktype/internal/attributes.ts").Default<string, string>;
24
24
  metadata?: ((In: {
25
25
  [x: string]: string | number | boolean;
26
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
26
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
27
27
  [x: string]: string | number | boolean;
28
28
  } | undefined>) | undefined;
29
29
  }, {}>;
@@ -8,12 +8,12 @@ export declare const BrandingPayloadSchema: import("arktype/internal/methods/obj
8
8
  link?: string | undefined;
9
9
  linkHover?: string | undefined;
10
10
  } | undefined;
11
- updatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
12
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
13
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
11
+ updatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
12
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
13
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
14
14
  metadata?: ((In: {
15
15
  [x: string]: string | number | boolean;
16
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
16
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
17
17
  [x: string]: string | number | boolean;
18
18
  } | undefined>) | undefined;
19
19
  }, {}>;
@@ -30,7 +30,7 @@ export declare const UpsertBrandingPayloadSchema: import("arktype/internal/metho
30
30
  } | undefined;
31
31
  metadata?: ((In: {
32
32
  [x: string]: string | number | boolean;
33
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
33
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
34
34
  [x: string]: string | number | boolean;
35
35
  } | undefined>) | undefined;
36
36
  }, {}>;
@@ -3,23 +3,23 @@ export declare const FeatureFlag: {
3
3
  };
4
4
  export type AnyFeatureFlag = (typeof FeatureFlag)[keyof typeof FeatureFlag];
5
5
  export declare const FeaturePayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
6
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
6
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
7
7
  }, {}>;
8
8
  export type FeaturePayload = typeof FeaturePayloadSchema.inferOut;
9
9
  export declare const FeaturesPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
10
10
  "Branding.Remove"?: {
11
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
11
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
12
12
  } | undefined;
13
13
  }, {}>;
14
14
  export type FeaturesPayload = typeof FeaturesPayloadSchema.inferOut;
15
15
  export declare const MembershipPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
16
16
  features?: {
17
17
  "Branding.Remove"?: {
18
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
18
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
19
19
  } | undefined;
20
20
  } | undefined;
21
- startAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
22
- endAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
21
+ startAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
22
+ endAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
23
23
  }, {}>;
24
24
  export type MembershipPayload = typeof MembershipPayloadSchema.inferOut;
25
25
  //# sourceMappingURL=schema.d.ts.map
@@ -3,12 +3,12 @@ export declare const RegistrationPayloadSchema: import("arktype/internal/methods
3
3
  identifiers: {
4
4
  type: "email" | "phoneNumber";
5
5
  }[];
6
- updatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
7
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
8
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
6
+ updatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
7
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
8
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
9
9
  metadata?: ((In: {
10
10
  [x: string]: string | number | boolean;
11
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
11
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
12
12
  [x: string]: string | number | boolean;
13
13
  } | undefined>) | undefined;
14
14
  }, {}>;
@@ -20,7 +20,7 @@ export declare const UpsertRegistrationPayloadSchema: import("arktype/internal/m
20
20
  }[] | undefined;
21
21
  metadata?: ((In: {
22
22
  [x: string]: string | number | boolean;
23
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
23
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
24
24
  [x: string]: string | number | boolean;
25
25
  } | undefined>) | undefined;
26
26
  }, {}>;
@@ -2,12 +2,12 @@
2
2
  * This isn't really being used yet...but some general settings would go here
3
3
  */
4
4
  export declare const SettingsPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
5
- updatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
6
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
7
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
5
+ updatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
6
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
7
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
8
8
  metadata?: ((In: {
9
9
  [x: string]: string | number | boolean;
10
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
10
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
11
11
  [x: string]: string | number | boolean;
12
12
  } | undefined>) | undefined;
13
13
  }, {}>;
@@ -15,7 +15,7 @@ export type SettingsPayload = typeof SettingsPayloadSchema.inferOut;
15
15
  export declare const UpsertSettingsPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
16
16
  metadata?: ((In: {
17
17
  [x: string]: string | number | boolean;
18
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
18
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
19
19
  [x: string]: string | number | boolean;
20
20
  } | undefined>) | undefined;
21
21
  }, {}>;
@@ -5,14 +5,14 @@ export declare const TenantIdPropertySchema: import("arktype/internal/methods/ob
5
5
  export declare const TenantPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
6
6
  status: import("arktype/internal/attributes.ts").Default<"active" | "suspended", "active">;
7
7
  name: string;
8
- createdAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
9
- updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
10
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
11
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
8
+ createdAt: (In: string | Date) => import("arktype").Out<string>;
9
+ updatedAt: (In: string | Date) => import("arktype").Out<string>;
10
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
11
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
12
12
  id: string;
13
13
  metadata?: ((In: {
14
14
  [x: string]: string | number | boolean;
15
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
15
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
16
16
  [x: string]: string | number | boolean;
17
17
  } | undefined>) | undefined;
18
18
  handle: string;
@@ -21,11 +21,11 @@ export declare const TenantPayloadSchema: import("arktype/internal/methods/objec
21
21
  membership?: {
22
22
  features?: {
23
23
  "Branding.Remove"?: {
24
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
24
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
25
25
  } | undefined;
26
26
  } | undefined;
27
- startAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
28
- endAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
27
+ startAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
28
+ endAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
29
29
  } | undefined;
30
30
  }, {}>;
31
31
  export type TenantPayload = typeof TenantPayloadSchema.inferOut;
@@ -34,7 +34,7 @@ export declare const InsertTenantPayloadSchema: import("arktype/internal/methods
34
34
  status?: "active" | "suspended" | undefined;
35
35
  metadata?: ((In: {
36
36
  [x: string]: string | number | boolean;
37
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
37
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
38
38
  [x: string]: string | number | boolean;
39
39
  } | null>) | undefined;
40
40
  id: import("arktype/internal/attributes.ts").Default<string, string>;
@@ -47,7 +47,7 @@ export declare const UpdateTenantPayloadSchema: import("arktype/internal/methods
47
47
  name?: string | null | undefined;
48
48
  metadata?: ((In: {
49
49
  [x: string]: string | number | boolean;
50
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
50
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
51
51
  [x: string]: string | number | boolean;
52
52
  } | null>) | undefined;
53
53
  handle?: string | undefined;
@@ -14,17 +14,17 @@ export declare const UserNotificationPayloadSchema: import("arktype/internal/met
14
14
  title?: string | undefined;
15
15
  message?: string | undefined;
16
16
  type: "info" | "import";
17
- createdAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
18
- updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
17
+ createdAt: (In: string | Date) => import("arktype").Out<string>;
18
+ updatedAt: (In: string | Date) => import("arktype").Out<string>;
19
19
  action?: {
20
20
  link: string;
21
21
  label: string;
22
22
  } | undefined;
23
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
24
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
23
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
24
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
25
25
  metadata?: ((In: {
26
26
  [x: string]: string | number | boolean;
27
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
27
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
28
28
  [x: string]: string | number | boolean;
29
29
  } | undefined>) | undefined;
30
30
  }, {}>;
@@ -40,7 +40,7 @@ export declare const InsertUserNotificationPayloadSchema: import("arktype/intern
40
40
  message?: string | undefined;
41
41
  metadata?: ((In: {
42
42
  [x: string]: string | number | boolean;
43
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
43
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
44
44
  [x: string]: string | number | boolean;
45
45
  } | undefined>) | undefined;
46
46
  }, {}>;
@@ -54,7 +54,7 @@ export declare const UpdateUserNotificationPayloadSchema: import("arktype/intern
54
54
  } | undefined;
55
55
  metadata?: ((In: {
56
56
  [x: string]: string | number | boolean;
57
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
57
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
58
58
  [x: string]: string | number | boolean;
59
59
  } | undefined>) | undefined;
60
60
  }, {}>;
@@ -2,12 +2,12 @@ export declare const UserPreferencesPayloadSchema: import("arktype/internal/meth
2
2
  views?: Record<string, {
3
3
  columns?: string[] | undefined;
4
4
  }> | undefined;
5
- updatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
6
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
7
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
5
+ updatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
6
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
7
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
8
8
  metadata?: ((In: {
9
9
  [x: string]: string | number | boolean;
10
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
10
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
11
11
  [x: string]: string | number | boolean;
12
12
  } | null>) | undefined;
13
13
  }, {}>;
@@ -18,7 +18,7 @@ export declare const UpsertUserPreferencesPayloadSchema: import("arktype/interna
18
18
  }> | undefined;
19
19
  metadata?: ((In: {
20
20
  [x: string]: string | number | boolean;
21
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
21
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
22
22
  [x: string]: string | number | boolean;
23
23
  } | null>) | undefined;
24
24
  }, {}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-mondo/identity-sdk",
3
- "version": "0.0.2-beta.6",
3
+ "version": "0.0.2-beta.8",
4
4
  "type": "module",
5
5
  "description": "A node SDK for Mondo Identity",
6
6
  "license": "MIT",
@@ -133,16 +133,16 @@
133
133
  "prepare": "husky"
134
134
  },
135
135
  "dependencies": {
136
- "arktype": "^2.1.12",
136
+ "arktype": "^2.1.20",
137
137
  "ksuid": "^3.0.0"
138
138
  },
139
139
  "devDependencies": {
140
140
  "@biomejs/biome": "^1.9.4",
141
- "@types/node": "^20.17.27",
142
- "@vitest/coverage-v8": "^3.0.9",
141
+ "@types/node": "^20.19.0",
142
+ "@vitest/coverage-v8": "^3.2.3",
143
143
  "husky": "^9.1.7",
144
- "typescript": "^5.8.2",
145
- "vitest": "^3.0.9"
144
+ "typescript": "^5.8.3",
145
+ "vitest": "^3.2.3"
146
146
  },
147
147
  "engines": {
148
148
  "node": ">=20"