@go-mondo/identity-sdk 0.0.2-beta.5 → 0.0.2-beta.7

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 (552) 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 +12 -5
  6. package/dist/cjs/action/schema/base.d.ts.map +1 -1
  7. package/dist/cjs/action/schema/base.js +8 -3
  8. package/dist/cjs/action/schema/operations/set-password.d.ts +11 -11
  9. package/dist/cjs/action/schema/operations/set-password.js +2 -2
  10. package/dist/cjs/action/schema/operations/sign-up-verification.d.ts +5 -5
  11. package/dist/cjs/action/schema/operations/sign-up-verification.js +1 -1
  12. package/dist/cjs/action/schema/operations/sign-up.d.ts +7 -7
  13. package/dist/cjs/action/schema/operations/sign-up.js +12 -12
  14. package/dist/cjs/action/schema/operations/user-attribute-verification.d.ts +5 -5
  15. package/dist/cjs/action/schema/operations/user-attribute-verification.js +1 -1
  16. package/dist/cjs/action/schema/schema.d.ts +27 -34
  17. package/dist/cjs/action/schema/schema.d.ts.map +1 -1
  18. package/dist/cjs/action/schema/schema.js +2 -7
  19. package/dist/cjs/activity/index.d.ts +1 -0
  20. package/dist/cjs/activity/index.d.ts.map +1 -1
  21. package/dist/cjs/activity/index.js +1 -0
  22. package/dist/cjs/activity/resources.d.ts +13 -0
  23. package/dist/cjs/activity/resources.d.ts.map +1 -0
  24. package/dist/cjs/activity/resources.js +29 -0
  25. package/dist/cjs/activity/schema/base.d.ts +23 -7
  26. package/dist/cjs/activity/schema/base.d.ts.map +1 -1
  27. package/dist/cjs/activity/schema/base.js +12 -2
  28. package/dist/cjs/activity/schema/schema.d.ts +123 -29
  29. package/dist/cjs/activity/schema/schema.d.ts.map +1 -1
  30. package/dist/cjs/activity/schema/schema.js +5 -2
  31. package/dist/cjs/activity/schema/types/authentication.d.ts +28 -5
  32. package/dist/cjs/activity/schema/types/authentication.d.ts.map +1 -1
  33. package/dist/cjs/activity/schema/types/authentication.js +5 -2
  34. package/dist/cjs/activity/schema/types/authorization.d.ts +28 -5
  35. package/dist/cjs/activity/schema/types/authorization.d.ts.map +1 -1
  36. package/dist/cjs/activity/schema/types/authorization.js +6 -4
  37. package/dist/cjs/activity/schema/types/note.d.ts +27 -7
  38. package/dist/cjs/activity/schema/types/note.d.ts.map +1 -1
  39. package/dist/cjs/activity/schema/types/note.js +4 -2
  40. package/dist/cjs/activity/schema/types/operation.d.ts +27 -5
  41. package/dist/cjs/activity/schema/types/operation.d.ts.map +1 -1
  42. package/dist/cjs/activity/schema/types/operation.js +4 -2
  43. package/dist/cjs/activity/schema/types/unknown.d.ts +25 -5
  44. package/dist/cjs/activity/schema/types/unknown.d.ts.map +1 -1
  45. package/dist/cjs/activity/schema/types/unknown.js +4 -2
  46. package/dist/cjs/app/authorization/resources.d.ts +12 -0
  47. package/dist/cjs/app/authorization/resources.d.ts.map +1 -0
  48. package/dist/cjs/app/authorization/resources.js +35 -0
  49. package/dist/cjs/app/authorization/schema.d.ts +54 -0
  50. package/dist/cjs/app/authorization/schema.d.ts.map +1 -0
  51. package/dist/cjs/app/{schema/authorization.js → authorization/schema.js} +31 -15
  52. package/dist/cjs/app/index.d.ts +13 -1
  53. package/dist/cjs/app/index.d.ts.map +1 -1
  54. package/dist/cjs/app/index.js +20 -1
  55. package/dist/cjs/app/oauth/resources.d.ts +12 -0
  56. package/dist/cjs/app/oauth/resources.d.ts.map +1 -0
  57. package/dist/cjs/app/oauth/resources.js +35 -0
  58. package/dist/cjs/app/{schema/oauth.d.ts → oauth/schema.d.ts} +18 -6
  59. package/dist/cjs/app/oauth/schema.d.ts.map +1 -0
  60. package/dist/cjs/app/{schema/oauth.js → oauth/schema.js} +10 -3
  61. package/dist/cjs/app/oidc/resources.d.ts +16 -0
  62. package/dist/cjs/app/oidc/resources.d.ts.map +1 -0
  63. package/dist/cjs/app/oidc/resources.js +49 -0
  64. package/dist/cjs/app/{schema/oidc.d.ts → oidc/schema.d.ts} +19 -9
  65. package/dist/cjs/app/oidc/schema.d.ts.map +1 -0
  66. package/dist/cjs/app/{schema/oidc.js → oidc/schema.js} +7 -2
  67. package/dist/cjs/app/registration/resources.d.ts +12 -0
  68. package/dist/cjs/app/registration/resources.d.ts.map +1 -0
  69. package/dist/cjs/app/registration/resources.js +35 -0
  70. package/dist/cjs/app/{schema/registration.d.ts → registration/schema.d.ts} +16 -6
  71. package/dist/cjs/app/registration/schema.d.ts.map +1 -0
  72. package/dist/cjs/app/{schema/registration.js → registration/schema.js} +9 -2
  73. package/dist/cjs/app/resources.d.ts +21 -0
  74. package/dist/cjs/app/resources.d.ts.map +1 -0
  75. package/dist/cjs/app/resources.js +57 -0
  76. package/dist/cjs/app/saml/resources.d.ts +16 -0
  77. package/dist/cjs/app/saml/resources.d.ts.map +1 -0
  78. package/dist/cjs/app/saml/resources.js +49 -0
  79. package/dist/cjs/app/{schema/saml.d.ts → saml/schema.d.ts} +19 -9
  80. package/dist/cjs/app/saml/schema.d.ts.map +1 -0
  81. package/dist/cjs/app/{schema/saml.js → saml/schema.js} +7 -2
  82. package/dist/cjs/app/{schema/app.d.ts → schema.d.ts} +24 -9
  83. package/dist/cjs/app/schema.d.ts.map +1 -0
  84. package/dist/cjs/app/{schema/app.js → schema.js} +12 -4
  85. package/dist/cjs/app/utils.d.ts.map +1 -0
  86. package/dist/cjs/association/index.d.ts +2 -1
  87. package/dist/cjs/association/index.d.ts.map +1 -1
  88. package/dist/cjs/association/index.js +2 -1
  89. package/dist/cjs/association/resources.d.ts +23 -0
  90. package/dist/cjs/association/resources.d.ts.map +1 -0
  91. package/dist/cjs/association/resources.js +51 -0
  92. package/dist/cjs/association/schema.d.ts +147 -0
  93. package/dist/cjs/association/schema.d.ts.map +1 -0
  94. package/dist/cjs/association/{schema/association.js → schema.js} +21 -5
  95. package/dist/cjs/authentication/{schema/factors.d.ts → factors/schema.d.ts} +12 -3
  96. package/dist/cjs/authentication/factors/schema.d.ts.map +1 -0
  97. package/dist/cjs/authentication/{schema/factors.js → factors/schema.js} +6 -2
  98. package/dist/cjs/authentication/factors/schema.test.d.ts +2 -0
  99. package/dist/cjs/authentication/factors/schema.test.d.ts.map +1 -0
  100. package/dist/cjs/authentication/{schema/factors.test.js → factors/schema.test.js} +17 -17
  101. package/dist/cjs/authentication/index.d.ts +8 -1
  102. package/dist/cjs/authentication/index.d.ts.map +1 -1
  103. package/dist/cjs/authentication/index.js +13 -1
  104. package/dist/cjs/authentication/{schema/provider.d.ts → providers/schema.d.ts} +5 -5
  105. package/dist/cjs/authentication/providers/schema.d.ts.map +1 -0
  106. package/dist/cjs/authentication/{schema/provider.js → providers/schema.js} +1 -1
  107. package/dist/cjs/authentication/resources.d.ts +2 -0
  108. package/dist/cjs/authentication/resources.d.ts.map +1 -0
  109. package/dist/cjs/authentication/resources.js +4 -0
  110. package/dist/cjs/authentication/sessions/resources.d.ts +21 -0
  111. package/dist/cjs/authentication/sessions/resources.d.ts.map +1 -0
  112. package/dist/cjs/authentication/sessions/resources.js +43 -0
  113. package/dist/cjs/authentication/sessions/schema.d.ts +81 -0
  114. package/dist/cjs/authentication/sessions/schema.d.ts.map +1 -0
  115. package/dist/cjs/authentication/{schema/session.js → sessions/schema.js} +16 -7
  116. package/dist/cjs/authentication/settings/resources.d.ts +12 -0
  117. package/dist/cjs/authentication/settings/resources.d.ts.map +1 -0
  118. package/dist/cjs/authentication/settings/resources.js +32 -0
  119. package/dist/cjs/authentication/{schema/settings.d.ts → settings/schema.d.ts} +31 -8
  120. package/dist/cjs/authentication/settings/schema.d.ts.map +1 -0
  121. package/dist/cjs/authentication/{schema/settings.js → settings/schema.js} +11 -4
  122. package/dist/cjs/authentication/strategies/resources.d.ts +20 -0
  123. package/dist/cjs/authentication/strategies/resources.d.ts.map +1 -0
  124. package/dist/cjs/authentication/strategies/resources.js +58 -0
  125. package/dist/cjs/authentication/{schema/strategy → strategies/schema}/base.d.ts +17 -7
  126. package/dist/cjs/authentication/strategies/schema/base.d.ts.map +1 -0
  127. package/dist/cjs/authentication/{schema/strategy → strategies/schema}/base.js +10 -2
  128. package/dist/cjs/authentication/{schema/strategy → strategies/schema}/schema.d.ts +102 -53
  129. package/dist/cjs/authentication/strategies/schema/schema.d.ts.map +1 -0
  130. package/dist/cjs/authentication/{schema/strategy → strategies/schema}/schema.js +2 -1
  131. package/dist/cjs/authentication/{schema/strategy → strategies/schema}/types/email.d.ts +27 -9
  132. package/dist/cjs/authentication/strategies/schema/types/email.d.ts.map +1 -0
  133. package/dist/cjs/authentication/{schema/strategy → strategies/schema}/types/email.js +4 -3
  134. package/dist/cjs/authentication/{schema/strategy → strategies/schema}/types/password.d.ts +76 -43
  135. package/dist/cjs/authentication/strategies/schema/types/password.d.ts.map +1 -0
  136. package/dist/cjs/authentication/strategies/schema/types/password.js +52 -0
  137. package/dist/cjs/authentication/{schema/strategy → strategies/schema}/types/totp.d.ts +33 -13
  138. package/dist/cjs/authentication/strategies/schema/types/totp.d.ts.map +1 -0
  139. package/dist/cjs/authentication/{schema/strategy → strategies/schema}/types/totp.js +12 -3
  140. package/dist/cjs/authorization/index.d.ts.map +1 -1
  141. package/dist/cjs/authorization/index.js +2 -0
  142. package/dist/cjs/authorization/permissions/resources.d.ts +2 -2
  143. package/dist/cjs/authorization/permissions/resources.d.ts.map +1 -1
  144. package/dist/cjs/authorization/permissions/resources.js +1 -1
  145. package/dist/cjs/authorization/permissions/schema.d.ts +8 -8
  146. package/dist/cjs/authorization/roles/resources.d.ts +2 -2
  147. package/dist/cjs/authorization/roles/resources.d.ts.map +1 -1
  148. package/dist/cjs/authorization/roles/resources.js +1 -1
  149. package/dist/cjs/authorization/roles/schema.d.ts +8 -8
  150. package/dist/cjs/common/index.d.ts +1 -0
  151. package/dist/cjs/common/index.d.ts.map +1 -1
  152. package/dist/cjs/common/index.js +6 -0
  153. package/dist/cjs/common/schema/dates.d.ts +7 -7
  154. package/dist/cjs/common/schema/dates.d.ts.map +1 -1
  155. package/dist/cjs/common/schema/metadata.d.ts +8 -6
  156. package/dist/cjs/common/schema/metadata.d.ts.map +1 -1
  157. package/dist/cjs/common/schema/schema.d.ts +2 -1
  158. package/dist/cjs/common/schema/schema.d.ts.map +1 -1
  159. package/dist/cjs/common/schema/schema.js +2 -1
  160. package/dist/cjs/common/schema/schema.test.d.ts +2 -0
  161. package/dist/cjs/common/schema/schema.test.d.ts.map +1 -0
  162. package/dist/cjs/common/schema/schema.test.js +35 -0
  163. package/dist/cjs/common/schema/sets.d.ts +2 -2
  164. package/dist/cjs/common/schema/sets.d.ts.map +1 -1
  165. package/dist/cjs/common/schema/url.d.ts +2 -0
  166. package/dist/cjs/common/schema/url.d.ts.map +1 -0
  167. package/dist/cjs/common/schema/url.js +12 -0
  168. package/dist/cjs/customer/index.d.ts +1 -0
  169. package/dist/cjs/customer/index.d.ts.map +1 -1
  170. package/dist/cjs/customer/index.js +1 -0
  171. package/dist/cjs/customer/schema/organization.d.ts +7 -7
  172. package/dist/cjs/customer/users/resources.d.ts +2 -2
  173. package/dist/cjs/customer/users/resources.d.ts.map +1 -1
  174. package/dist/cjs/customer/users/resources.js +2 -2
  175. package/dist/cjs/customer/users/schema.d.ts +10 -11
  176. package/dist/cjs/customer/users/schema.d.ts.map +1 -1
  177. package/dist/cjs/customer/users/schema.js +1 -3
  178. package/dist/cjs/customer/users/schema.test.js +2 -0
  179. package/dist/cjs/customer/users/utils.d.ts +10 -0
  180. package/dist/cjs/customer/users/utils.d.ts.map +1 -0
  181. package/dist/cjs/customer/users/utils.js +33 -0
  182. package/dist/cjs/identity/index.d.ts +1 -1
  183. package/dist/cjs/identity/index.d.ts.map +1 -1
  184. package/dist/cjs/identity/index.js +1 -1
  185. package/dist/cjs/identity/schema.d.ts.map +1 -0
  186. package/dist/cjs/oauth/authorize/schema/grants/authorization-code.js +9 -9
  187. package/dist/cjs/oauth/common/schema.d.ts +6 -0
  188. package/dist/cjs/oauth/common/schema.d.ts.map +1 -1
  189. package/dist/cjs/oauth/common/schema.js +7 -1
  190. package/dist/cjs/oauth/index.d.ts +1 -1
  191. package/dist/cjs/oauth/index.d.ts.map +1 -1
  192. package/dist/cjs/oauth/index.js +2 -1
  193. package/dist/cjs/oauth/token/schema/grants/client-credentials.js +6 -6
  194. package/dist/cjs/oauth/token/schema/grants/refresh-token.js +4 -4
  195. package/dist/cjs/workspace/{schema/authorization.d.ts → authorization/schema.d.ts} +6 -6
  196. package/dist/cjs/workspace/authorization/schema.d.ts.map +1 -0
  197. package/dist/cjs/workspace/{schema/branding.d.ts → branding/schema.d.ts} +6 -6
  198. package/dist/cjs/workspace/branding/schema.d.ts.map +1 -0
  199. package/dist/cjs/workspace/index.d.ts +8 -1
  200. package/dist/cjs/workspace/index.d.ts.map +1 -1
  201. package/dist/cjs/workspace/index.js +8 -1
  202. package/dist/cjs/workspace/{schema/membership.d.ts → membership/schema.d.ts} +6 -6
  203. package/dist/cjs/workspace/membership/schema.d.ts.map +1 -0
  204. package/dist/cjs/workspace/{schema/registration.d.ts → registration/schema.d.ts} +6 -6
  205. package/dist/cjs/workspace/registration/schema.d.ts.map +1 -0
  206. package/dist/cjs/workspace/{schema/registration.js → registration/schema.js} +1 -1
  207. package/dist/cjs/workspace/{schema/settings.d.ts → settings/schema.d.ts} +6 -6
  208. package/dist/cjs/workspace/settings/schema.d.ts.map +1 -0
  209. package/dist/cjs/workspace/{schema/tenant.d.ts → tenant/schema.d.ts} +11 -11
  210. package/dist/cjs/workspace/{schema/tenant.d.ts.map → tenant/schema.d.ts.map} +1 -1
  211. package/dist/cjs/workspace/{schema/tenant.js → tenant/schema.js} +3 -3
  212. package/dist/cjs/workspace/{schema/user-notification.d.ts → user/notifications/schema.d.ts} +8 -8
  213. package/dist/cjs/workspace/user/notifications/schema.d.ts.map +1 -0
  214. package/dist/cjs/workspace/{schema/user-notification.js → user/notifications/schema.js} +4 -4
  215. package/dist/cjs/workspace/{schema/user-preferences.d.ts → user/preferences/schema.d.ts} +6 -6
  216. package/dist/cjs/workspace/user/preferences/schema.d.ts.map +1 -0
  217. package/dist/cjs/workspace/{schema/user-preferences.js → user/preferences/schema.js} +2 -2
  218. package/dist/cjs/workspace/user/schema.d.ts +3 -0
  219. package/dist/cjs/workspace/user/schema.d.ts.map +1 -0
  220. package/dist/cjs/{association/schema → workspace/user}/schema.js +2 -1
  221. package/dist/cjs/workspace/utils.d.ts.map +1 -0
  222. package/dist/esm/action/schema/base.d.ts +12 -5
  223. package/dist/esm/action/schema/base.d.ts.map +1 -1
  224. package/dist/esm/action/schema/base.js +6 -1
  225. package/dist/esm/action/schema/operations/set-password.d.ts +11 -11
  226. package/dist/esm/action/schema/operations/set-password.js +2 -2
  227. package/dist/esm/action/schema/operations/sign-up-verification.d.ts +5 -5
  228. package/dist/esm/action/schema/operations/sign-up-verification.js +1 -1
  229. package/dist/esm/action/schema/operations/sign-up.d.ts +7 -7
  230. package/dist/esm/action/schema/operations/sign-up.js +1 -1
  231. package/dist/esm/action/schema/operations/user-attribute-verification.d.ts +5 -5
  232. package/dist/esm/action/schema/operations/user-attribute-verification.js +1 -1
  233. package/dist/esm/action/schema/schema.d.ts +27 -34
  234. package/dist/esm/action/schema/schema.d.ts.map +1 -1
  235. package/dist/esm/action/schema/schema.js +1 -7
  236. package/dist/esm/activity/index.d.ts +1 -0
  237. package/dist/esm/activity/index.d.ts.map +1 -1
  238. package/dist/esm/activity/index.js +1 -0
  239. package/dist/esm/activity/resources.d.ts +13 -0
  240. package/dist/esm/activity/resources.d.ts.map +1 -0
  241. package/dist/esm/activity/resources.js +24 -0
  242. package/dist/esm/activity/schema/base.d.ts +23 -7
  243. package/dist/esm/activity/schema/base.d.ts.map +1 -1
  244. package/dist/esm/activity/schema/base.js +13 -3
  245. package/dist/esm/activity/schema/schema.d.ts +123 -29
  246. package/dist/esm/activity/schema/schema.d.ts.map +1 -1
  247. package/dist/esm/activity/schema/schema.js +9 -6
  248. package/dist/esm/activity/schema/types/authentication.d.ts +28 -5
  249. package/dist/esm/activity/schema/types/authentication.d.ts.map +1 -1
  250. package/dist/esm/activity/schema/types/authentication.js +5 -2
  251. package/dist/esm/activity/schema/types/authorization.d.ts +28 -5
  252. package/dist/esm/activity/schema/types/authorization.d.ts.map +1 -1
  253. package/dist/esm/activity/schema/types/authorization.js +6 -4
  254. package/dist/esm/activity/schema/types/note.d.ts +27 -7
  255. package/dist/esm/activity/schema/types/note.d.ts.map +1 -1
  256. package/dist/esm/activity/schema/types/note.js +4 -2
  257. package/dist/esm/activity/schema/types/operation.d.ts +27 -5
  258. package/dist/esm/activity/schema/types/operation.d.ts.map +1 -1
  259. package/dist/esm/activity/schema/types/operation.js +4 -2
  260. package/dist/esm/activity/schema/types/unknown.d.ts +25 -5
  261. package/dist/esm/activity/schema/types/unknown.d.ts.map +1 -1
  262. package/dist/esm/activity/schema/types/unknown.js +4 -2
  263. package/dist/esm/app/authorization/resources.d.ts +12 -0
  264. package/dist/esm/app/authorization/resources.d.ts.map +1 -0
  265. package/dist/esm/app/authorization/resources.js +29 -0
  266. package/dist/esm/app/authorization/schema.d.ts +54 -0
  267. package/dist/esm/app/authorization/schema.d.ts.map +1 -0
  268. package/dist/esm/app/{schema/authorization.js → authorization/schema.js} +32 -16
  269. package/dist/esm/app/index.d.ts +13 -1
  270. package/dist/esm/app/index.d.ts.map +1 -1
  271. package/dist/esm/app/index.js +20 -1
  272. package/dist/esm/app/oauth/resources.d.ts +12 -0
  273. package/dist/esm/app/oauth/resources.d.ts.map +1 -0
  274. package/dist/esm/app/oauth/resources.js +29 -0
  275. package/dist/esm/app/{schema/oauth.d.ts → oauth/schema.d.ts} +18 -6
  276. package/dist/esm/app/oauth/schema.d.ts.map +1 -0
  277. package/dist/esm/app/oauth/schema.js +25 -0
  278. package/dist/esm/app/oidc/resources.d.ts +16 -0
  279. package/dist/esm/app/oidc/resources.d.ts.map +1 -0
  280. package/dist/esm/app/oidc/resources.js +41 -0
  281. package/dist/esm/app/{schema/oidc.d.ts → oidc/schema.d.ts} +19 -9
  282. package/dist/esm/app/oidc/schema.d.ts.map +1 -0
  283. package/dist/esm/app/oidc/schema.js +15 -0
  284. package/dist/esm/app/registration/resources.d.ts +12 -0
  285. package/dist/esm/app/registration/resources.d.ts.map +1 -0
  286. package/dist/esm/app/registration/resources.js +29 -0
  287. package/dist/esm/app/registration/schema.d.ts +32 -0
  288. package/dist/esm/app/registration/schema.d.ts.map +1 -0
  289. package/dist/esm/app/{schema/registration.js → registration/schema.js} +10 -3
  290. package/dist/esm/app/resources.d.ts +21 -0
  291. package/dist/esm/app/resources.d.ts.map +1 -0
  292. package/dist/esm/app/resources.js +48 -0
  293. package/dist/esm/app/saml/resources.d.ts +16 -0
  294. package/dist/esm/app/saml/resources.d.ts.map +1 -0
  295. package/dist/esm/app/saml/resources.js +41 -0
  296. package/dist/esm/app/{schema/saml.d.ts → saml/schema.d.ts} +19 -9
  297. package/dist/esm/app/saml/schema.d.ts.map +1 -0
  298. package/dist/esm/app/saml/schema.js +15 -0
  299. package/dist/esm/app/{schema/app.d.ts → schema.d.ts} +24 -9
  300. package/dist/esm/app/schema.d.ts.map +1 -0
  301. package/dist/esm/app/{schema/app.js → schema.js} +11 -3
  302. package/dist/esm/app/utils.d.ts.map +1 -0
  303. package/dist/esm/association/index.d.ts +2 -1
  304. package/dist/esm/association/index.d.ts.map +1 -1
  305. package/dist/esm/association/index.js +2 -1
  306. package/dist/esm/association/resources.d.ts +23 -0
  307. package/dist/esm/association/resources.d.ts.map +1 -0
  308. package/dist/esm/association/resources.js +44 -0
  309. package/dist/esm/association/schema.d.ts +147 -0
  310. package/dist/esm/association/schema.d.ts.map +1 -0
  311. package/dist/esm/association/schema.js +39 -0
  312. package/dist/esm/authentication/{schema/factors.d.ts → factors/schema.d.ts} +12 -3
  313. package/dist/esm/authentication/factors/schema.d.ts.map +1 -0
  314. package/dist/esm/authentication/{schema/factors.js → factors/schema.js} +5 -1
  315. package/dist/esm/authentication/factors/schema.test.d.ts +2 -0
  316. package/dist/esm/authentication/factors/schema.test.d.ts.map +1 -0
  317. package/dist/esm/authentication/{schema/factors.test.js → factors/schema.test.js} +1 -1
  318. package/dist/esm/authentication/index.d.ts +8 -1
  319. package/dist/esm/authentication/index.d.ts.map +1 -1
  320. package/dist/esm/authentication/index.js +13 -1
  321. package/dist/esm/authentication/{schema/provider.d.ts → providers/schema.d.ts} +5 -5
  322. package/dist/esm/authentication/providers/schema.d.ts.map +1 -0
  323. package/dist/esm/authentication/{schema/provider.js → providers/schema.js} +1 -1
  324. package/dist/esm/authentication/resources.d.ts +2 -0
  325. package/dist/esm/authentication/resources.d.ts.map +1 -0
  326. package/dist/esm/authentication/resources.js +1 -0
  327. package/dist/esm/authentication/sessions/resources.d.ts +21 -0
  328. package/dist/esm/authentication/sessions/resources.d.ts.map +1 -0
  329. package/dist/esm/authentication/sessions/resources.js +37 -0
  330. package/dist/esm/authentication/sessions/schema.d.ts +81 -0
  331. package/dist/esm/authentication/sessions/schema.d.ts.map +1 -0
  332. package/dist/esm/authentication/{schema/session.js → sessions/schema.js} +17 -8
  333. package/dist/esm/authentication/settings/resources.d.ts +12 -0
  334. package/dist/esm/authentication/settings/resources.d.ts.map +1 -0
  335. package/dist/esm/authentication/settings/resources.js +26 -0
  336. package/dist/esm/authentication/{schema/settings.d.ts → settings/schema.d.ts} +31 -8
  337. package/dist/esm/authentication/settings/schema.d.ts.map +1 -0
  338. package/dist/esm/authentication/settings/schema.js +20 -0
  339. package/dist/esm/authentication/strategies/resources.d.ts +20 -0
  340. package/dist/esm/authentication/strategies/resources.d.ts.map +1 -0
  341. package/dist/esm/authentication/strategies/resources.js +49 -0
  342. package/dist/esm/authentication/{schema/strategy → strategies/schema}/base.d.ts +17 -7
  343. package/dist/esm/authentication/strategies/schema/base.d.ts.map +1 -0
  344. package/dist/esm/authentication/{schema/strategy → strategies/schema}/base.js +11 -3
  345. package/dist/esm/authentication/{schema/strategy → strategies/schema}/schema.d.ts +102 -53
  346. package/dist/esm/authentication/strategies/schema/schema.d.ts.map +1 -0
  347. package/dist/esm/authentication/{schema/strategy → strategies/schema}/schema.js +4 -3
  348. package/dist/esm/authentication/{schema/strategy → strategies/schema}/types/email.d.ts +27 -9
  349. package/dist/esm/authentication/strategies/schema/types/email.d.ts.map +1 -0
  350. package/dist/esm/authentication/{schema/strategy → strategies/schema}/types/email.js +4 -3
  351. package/dist/esm/authentication/{schema/strategy → strategies/schema}/types/password.d.ts +76 -43
  352. package/dist/esm/authentication/strategies/schema/types/password.d.ts.map +1 -0
  353. package/dist/esm/authentication/strategies/schema/types/password.js +49 -0
  354. package/dist/esm/authentication/{schema/strategy → strategies/schema}/types/totp.d.ts +33 -13
  355. package/dist/esm/authentication/strategies/schema/types/totp.d.ts.map +1 -0
  356. package/dist/esm/authentication/{schema/strategy → strategies/schema}/types/totp.js +12 -3
  357. package/dist/esm/authorization/index.d.ts.map +1 -1
  358. package/dist/esm/authorization/index.js +2 -0
  359. package/dist/esm/authorization/permissions/resources.d.ts +2 -2
  360. package/dist/esm/authorization/permissions/resources.d.ts.map +1 -1
  361. package/dist/esm/authorization/permissions/resources.js +1 -1
  362. package/dist/esm/authorization/permissions/schema.d.ts +8 -8
  363. package/dist/esm/authorization/roles/resources.d.ts +2 -2
  364. package/dist/esm/authorization/roles/resources.d.ts.map +1 -1
  365. package/dist/esm/authorization/roles/resources.js +1 -1
  366. package/dist/esm/authorization/roles/schema.d.ts +8 -8
  367. package/dist/esm/common/index.d.ts +1 -0
  368. package/dist/esm/common/index.d.ts.map +1 -1
  369. package/dist/esm/common/index.js +1 -0
  370. package/dist/esm/common/schema/dates.d.ts +7 -7
  371. package/dist/esm/common/schema/dates.d.ts.map +1 -1
  372. package/dist/esm/common/schema/metadata.d.ts +8 -6
  373. package/dist/esm/common/schema/metadata.d.ts.map +1 -1
  374. package/dist/esm/common/schema/schema.d.ts +2 -1
  375. package/dist/esm/common/schema/schema.d.ts.map +1 -1
  376. package/dist/esm/common/schema/schema.js +2 -1
  377. package/dist/esm/common/schema/schema.test.d.ts +2 -0
  378. package/dist/esm/common/schema/schema.test.d.ts.map +1 -0
  379. package/dist/esm/common/schema/schema.test.js +33 -0
  380. package/dist/esm/common/schema/sets.d.ts +2 -2
  381. package/dist/esm/common/schema/sets.d.ts.map +1 -1
  382. package/dist/esm/common/schema/url.d.ts +2 -0
  383. package/dist/esm/common/schema/url.d.ts.map +1 -0
  384. package/dist/esm/common/schema/url.js +9 -0
  385. package/dist/esm/customer/index.d.ts +1 -0
  386. package/dist/esm/customer/index.d.ts.map +1 -1
  387. package/dist/esm/customer/index.js +1 -0
  388. package/dist/esm/customer/schema/organization.d.ts +7 -7
  389. package/dist/esm/customer/users/resources.d.ts +2 -2
  390. package/dist/esm/customer/users/resources.d.ts.map +1 -1
  391. package/dist/esm/customer/users/resources.js +3 -3
  392. package/dist/esm/customer/users/schema.d.ts +10 -11
  393. package/dist/esm/customer/users/schema.d.ts.map +1 -1
  394. package/dist/esm/customer/users/schema.js +1 -3
  395. package/dist/esm/customer/users/schema.test.js +2 -0
  396. package/dist/esm/customer/users/utils.d.ts +10 -0
  397. package/dist/esm/customer/users/utils.d.ts.map +1 -0
  398. package/dist/esm/customer/users/utils.js +27 -0
  399. package/dist/esm/identity/index.d.ts +1 -1
  400. package/dist/esm/identity/index.d.ts.map +1 -1
  401. package/dist/esm/identity/index.js +1 -1
  402. package/dist/esm/identity/schema.d.ts.map +1 -0
  403. package/dist/esm/oauth/authorize/schema/grants/authorization-code.js +1 -1
  404. package/dist/esm/oauth/common/schema.d.ts +6 -0
  405. package/dist/esm/oauth/common/schema.d.ts.map +1 -1
  406. package/dist/esm/oauth/common/schema.js +6 -0
  407. package/dist/esm/oauth/index.d.ts +1 -1
  408. package/dist/esm/oauth/index.d.ts.map +1 -1
  409. package/dist/esm/oauth/index.js +1 -1
  410. package/dist/esm/oauth/token/schema/grants/client-credentials.js +1 -1
  411. package/dist/esm/oauth/token/schema/grants/refresh-token.js +1 -1
  412. package/dist/esm/workspace/{schema/authorization.d.ts → authorization/schema.d.ts} +6 -6
  413. package/dist/esm/workspace/authorization/schema.d.ts.map +1 -0
  414. package/dist/esm/workspace/{schema/branding.d.ts → branding/schema.d.ts} +6 -6
  415. package/dist/esm/workspace/branding/schema.d.ts.map +1 -0
  416. package/dist/esm/workspace/index.d.ts +8 -1
  417. package/dist/esm/workspace/index.d.ts.map +1 -1
  418. package/dist/esm/workspace/index.js +8 -1
  419. package/dist/esm/workspace/{schema/membership.d.ts → membership/schema.d.ts} +6 -6
  420. package/dist/esm/workspace/membership/schema.d.ts.map +1 -0
  421. package/dist/esm/workspace/{schema/registration.d.ts → registration/schema.d.ts} +6 -6
  422. package/dist/esm/workspace/registration/schema.d.ts.map +1 -0
  423. package/dist/esm/workspace/{schema/registration.js → registration/schema.js} +1 -1
  424. package/dist/esm/workspace/{schema/settings.d.ts → settings/schema.d.ts} +6 -6
  425. package/dist/esm/workspace/settings/schema.d.ts.map +1 -0
  426. package/dist/esm/workspace/{schema/tenant.d.ts → tenant/schema.d.ts} +11 -11
  427. package/dist/esm/workspace/{schema/tenant.d.ts.map → tenant/schema.d.ts.map} +1 -1
  428. package/dist/esm/workspace/{schema/tenant.js → tenant/schema.js} +2 -2
  429. package/dist/esm/workspace/{schema/user-notification.d.ts → user/notifications/schema.d.ts} +8 -8
  430. package/dist/esm/workspace/user/notifications/schema.d.ts.map +1 -0
  431. package/dist/esm/workspace/{schema/user-notification.js → user/notifications/schema.js} +4 -4
  432. package/dist/esm/workspace/{schema/user-preferences.d.ts → user/preferences/schema.d.ts} +6 -6
  433. package/dist/esm/workspace/user/preferences/schema.d.ts.map +1 -0
  434. package/dist/esm/workspace/{schema/user-preferences.js → user/preferences/schema.js} +2 -2
  435. package/dist/esm/workspace/user/schema.d.ts +3 -0
  436. package/dist/esm/workspace/user/schema.d.ts.map +1 -0
  437. package/dist/esm/workspace/user/schema.js +2 -0
  438. package/dist/esm/workspace/utils.d.ts.map +1 -0
  439. package/package.json +6 -6
  440. package/dist/cjs/app/schema/app.d.ts.map +0 -1
  441. package/dist/cjs/app/schema/authorization.d.ts +0 -37
  442. package/dist/cjs/app/schema/authorization.d.ts.map +0 -1
  443. package/dist/cjs/app/schema/oauth.d.ts.map +0 -1
  444. package/dist/cjs/app/schema/oidc.d.ts.map +0 -1
  445. package/dist/cjs/app/schema/registration.d.ts.map +0 -1
  446. package/dist/cjs/app/schema/saml.d.ts.map +0 -1
  447. package/dist/cjs/app/schema/schema.d.ts +0 -8
  448. package/dist/cjs/app/schema/schema.d.ts.map +0 -1
  449. package/dist/cjs/app/schema/schema.js +0 -23
  450. package/dist/cjs/app/schema/utils.d.ts.map +0 -1
  451. package/dist/cjs/association/schema/association.d.ts +0 -82
  452. package/dist/cjs/association/schema/association.d.ts.map +0 -1
  453. package/dist/cjs/association/schema/schema.d.ts +0 -2
  454. package/dist/cjs/association/schema/schema.d.ts.map +0 -1
  455. package/dist/cjs/authentication/schema/factors.d.ts.map +0 -1
  456. package/dist/cjs/authentication/schema/factors.test.d.ts +0 -2
  457. package/dist/cjs/authentication/schema/factors.test.d.ts.map +0 -1
  458. package/dist/cjs/authentication/schema/provider.d.ts.map +0 -1
  459. package/dist/cjs/authentication/schema/schema.d.ts +0 -6
  460. package/dist/cjs/authentication/schema/schema.d.ts.map +0 -1
  461. package/dist/cjs/authentication/schema/schema.js +0 -21
  462. package/dist/cjs/authentication/schema/session.d.ts +0 -59
  463. package/dist/cjs/authentication/schema/session.d.ts.map +0 -1
  464. package/dist/cjs/authentication/schema/settings.d.ts.map +0 -1
  465. package/dist/cjs/authentication/schema/strategy/base.d.ts.map +0 -1
  466. package/dist/cjs/authentication/schema/strategy/schema.d.ts.map +0 -1
  467. package/dist/cjs/authentication/schema/strategy/types/email.d.ts.map +0 -1
  468. package/dist/cjs/authentication/schema/strategy/types/password.d.ts.map +0 -1
  469. package/dist/cjs/authentication/schema/strategy/types/password.js +0 -35
  470. package/dist/cjs/authentication/schema/strategy/types/totp.d.ts.map +0 -1
  471. package/dist/cjs/identity/schema/schema.d.ts.map +0 -1
  472. package/dist/cjs/workspace/schema/authorization.d.ts.map +0 -1
  473. package/dist/cjs/workspace/schema/branding.d.ts.map +0 -1
  474. package/dist/cjs/workspace/schema/membership.d.ts.map +0 -1
  475. package/dist/cjs/workspace/schema/registration.d.ts.map +0 -1
  476. package/dist/cjs/workspace/schema/schema.d.ts +0 -10
  477. package/dist/cjs/workspace/schema/schema.d.ts.map +0 -1
  478. package/dist/cjs/workspace/schema/schema.js +0 -25
  479. package/dist/cjs/workspace/schema/settings.d.ts.map +0 -1
  480. package/dist/cjs/workspace/schema/user-notification.d.ts.map +0 -1
  481. package/dist/cjs/workspace/schema/user-preferences.d.ts.map +0 -1
  482. package/dist/cjs/workspace/schema/utils.d.ts.map +0 -1
  483. package/dist/esm/app/schema/app.d.ts.map +0 -1
  484. package/dist/esm/app/schema/authorization.d.ts +0 -37
  485. package/dist/esm/app/schema/authorization.d.ts.map +0 -1
  486. package/dist/esm/app/schema/oauth.d.ts.map +0 -1
  487. package/dist/esm/app/schema/oauth.js +0 -18
  488. package/dist/esm/app/schema/oidc.d.ts.map +0 -1
  489. package/dist/esm/app/schema/oidc.js +0 -10
  490. package/dist/esm/app/schema/registration.d.ts +0 -22
  491. package/dist/esm/app/schema/registration.d.ts.map +0 -1
  492. package/dist/esm/app/schema/saml.d.ts.map +0 -1
  493. package/dist/esm/app/schema/saml.js +0 -10
  494. package/dist/esm/app/schema/schema.d.ts +0 -8
  495. package/dist/esm/app/schema/schema.d.ts.map +0 -1
  496. package/dist/esm/app/schema/schema.js +0 -7
  497. package/dist/esm/app/schema/utils.d.ts.map +0 -1
  498. package/dist/esm/association/schema/association.d.ts +0 -82
  499. package/dist/esm/association/schema/association.d.ts.map +0 -1
  500. package/dist/esm/association/schema/association.js +0 -23
  501. package/dist/esm/association/schema/schema.d.ts +0 -2
  502. package/dist/esm/association/schema/schema.d.ts.map +0 -1
  503. package/dist/esm/association/schema/schema.js +0 -1
  504. package/dist/esm/authentication/schema/factors.d.ts.map +0 -1
  505. package/dist/esm/authentication/schema/factors.test.d.ts +0 -2
  506. package/dist/esm/authentication/schema/factors.test.d.ts.map +0 -1
  507. package/dist/esm/authentication/schema/provider.d.ts.map +0 -1
  508. package/dist/esm/authentication/schema/schema.d.ts +0 -6
  509. package/dist/esm/authentication/schema/schema.d.ts.map +0 -1
  510. package/dist/esm/authentication/schema/schema.js +0 -5
  511. package/dist/esm/authentication/schema/session.d.ts +0 -59
  512. package/dist/esm/authentication/schema/session.d.ts.map +0 -1
  513. package/dist/esm/authentication/schema/settings.d.ts.map +0 -1
  514. package/dist/esm/authentication/schema/settings.js +0 -13
  515. package/dist/esm/authentication/schema/strategy/base.d.ts.map +0 -1
  516. package/dist/esm/authentication/schema/strategy/schema.d.ts.map +0 -1
  517. package/dist/esm/authentication/schema/strategy/types/email.d.ts.map +0 -1
  518. package/dist/esm/authentication/schema/strategy/types/password.d.ts.map +0 -1
  519. package/dist/esm/authentication/schema/strategy/types/password.js +0 -32
  520. package/dist/esm/authentication/schema/strategy/types/totp.d.ts.map +0 -1
  521. package/dist/esm/identity/schema/schema.d.ts.map +0 -1
  522. package/dist/esm/workspace/schema/authorization.d.ts.map +0 -1
  523. package/dist/esm/workspace/schema/branding.d.ts.map +0 -1
  524. package/dist/esm/workspace/schema/membership.d.ts.map +0 -1
  525. package/dist/esm/workspace/schema/registration.d.ts.map +0 -1
  526. package/dist/esm/workspace/schema/schema.d.ts +0 -10
  527. package/dist/esm/workspace/schema/schema.d.ts.map +0 -1
  528. package/dist/esm/workspace/schema/schema.js +0 -9
  529. package/dist/esm/workspace/schema/settings.d.ts.map +0 -1
  530. package/dist/esm/workspace/schema/user-notification.d.ts.map +0 -1
  531. package/dist/esm/workspace/schema/user-preferences.d.ts.map +0 -1
  532. package/dist/esm/workspace/schema/utils.d.ts.map +0 -1
  533. package/dist/cjs/app/{schema/utils.d.ts → utils.d.ts} +0 -0
  534. package/dist/cjs/app/{schema/utils.js → utils.js} +0 -0
  535. package/dist/cjs/identity/{schema/schema.d.ts → schema.d.ts} +0 -0
  536. package/dist/cjs/identity/{schema/schema.js → schema.js} +0 -0
  537. package/dist/cjs/workspace/{schema/authorization.js → authorization/schema.js} +0 -0
  538. package/dist/cjs/workspace/{schema/branding.js → branding/schema.js} +0 -0
  539. package/dist/cjs/workspace/{schema/membership.js → membership/schema.js} +0 -0
  540. package/dist/cjs/workspace/{schema/settings.js → settings/schema.js} +0 -0
  541. package/dist/cjs/workspace/{schema/utils.d.ts → utils.d.ts} +0 -0
  542. package/dist/cjs/workspace/{schema/utils.js → utils.js} +1 -1
  543. package/dist/esm/app/{schema/utils.d.ts → utils.d.ts} +0 -0
  544. package/dist/esm/app/{schema/utils.js → utils.js} +0 -0
  545. package/dist/esm/identity/{schema/schema.d.ts → schema.d.ts} +0 -0
  546. package/dist/esm/identity/{schema/schema.js → schema.js} +0 -0
  547. package/dist/esm/workspace/{schema/authorization.js → authorization/schema.js} +0 -0
  548. package/dist/esm/workspace/{schema/branding.js → branding/schema.js} +0 -0
  549. package/dist/esm/workspace/{schema/membership.js → membership/schema.js} +0 -0
  550. package/dist/esm/workspace/{schema/settings.js → settings/schema.js} +0 -0
  551. package/dist/esm/workspace/{schema/utils.d.ts → utils.d.ts} +0 -0
  552. package/dist/esm/workspace/{schema/utils.js → utils.js} +1 -1
@@ -4,7 +4,7 @@ exports.UpsertRegistrationPayloadSchema = exports.RegistrationPayloadSchema = vo
4
4
  const arktype_1 = require("arktype");
5
5
  const dates_js_1 = require("../../common/schema/dates.js");
6
6
  const metadata_js_1 = require("../../common/schema/metadata.js");
7
- const schema_js_1 = require("../../identity/schema/schema.js");
7
+ const schema_js_1 = require("../../identity/schema.js");
8
8
  const IdentityIdentifierPropertySchema = (0, arktype_1.type)({
9
9
  type: schema_js_1.IdentityIdentifierSchema,
10
10
  }).array();
@@ -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/out/methods/object.js").ObjectType<{
5
- updatedAt?: ((In: string | Date | undefined) => import("arktype/out/attributes.js").Out<string | undefined>) | undefined;
6
- deletedAt?: ((In: string | Date | undefined) => import("arktype/out/attributes.js").Out<string | undefined>) | undefined;
7
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/out/attributes.js").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/out/attributes.js").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,9 +15,9 @@ export type SettingsPayload = typeof SettingsPayloadSchema.inferOut;
15
15
  export declare const UpsertSettingsPayloadSchema: import("arktype/out/methods/object.js").ObjectType<{
16
16
  metadata?: ((In: {
17
17
  [x: string]: string | number | boolean;
18
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/out/attributes.js").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
  }, {}>;
22
22
  export type UpsertSettingsPayload = typeof UpsertSettingsPayloadSchema.inferOut;
23
- //# sourceMappingURL=settings.d.ts.map
23
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/workspace/settings/schema.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;MAIG,CAAC;AACtC,MAAM,MAAM,eAAe,GAAG,OAAO,qBAAqB,CAAC,QAAQ,CAAC;AAEpE,eAAO,MAAM,2BAA2B;;;;;;MAAgC,CAAC;AACzE,MAAM,MAAM,qBAAqB,GAAG,OAAO,2BAA2B,CAAC,QAAQ,CAAC"}
@@ -5,14 +5,14 @@ export declare const TenantIdPropertySchema: import("arktype/out/methods/object.
5
5
  export declare const TenantPayloadSchema: import("arktype/out/methods/object.js").ObjectType<{
6
6
  status: import("arktype/out/attributes.js").Default<"active" | "suspended", "active">;
7
7
  name: string;
8
- createdAt: (In: string | Date) => import("arktype/out/attributes.js").Out<string>;
9
- updatedAt: (In: string | Date) => import("arktype/out/attributes.js").Out<string>;
10
- deletedAt?: ((In: string | Date | undefined) => import("arktype/out/attributes.js").Out<string | undefined>) | undefined;
11
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/out/attributes.js").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/out/attributes.js").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/out/methods/object.js"
21
21
  membership?: {
22
22
  features?: {
23
23
  "Branding.Remove"?: {
24
- expiresAt: (In: string | Date) => import("arktype/out/attributes.js").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/out/attributes.js").Out<string | undefined>) | undefined;
28
- endAt?: ((In: string | Date | undefined) => import("arktype/out/attributes.js").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/out/methods/obje
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/out/attributes.js").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/out/attributes.js").Default<string, string>;
@@ -47,11 +47,11 @@ export declare const UpdateTenantPayloadSchema: import("arktype/out/methods/obje
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/out/attributes.js").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;
54
54
  supportEmail?: string | undefined;
55
55
  }, {}>;
56
56
  export type UpdateTenantPayload = typeof UpdateTenantPayloadSchema.inferOut;
57
- //# sourceMappingURL=tenant.d.ts.map
57
+ //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tenant.d.ts","sourceRoot":"","sources":["../../../../src/workspace/schema/tenant.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,cAAc,gEAAc,CAAC;AAE1C,eAAO,MAAM,sBAAsB;;MAEjC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;MAK9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,mBAAmB,CAAC,QAAQ,CAAC;AAEhE,eAAO,MAAM,yBAAyB;;;;;;;;;;;MAMpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,yBAAyB,CAAC,QAAQ,CAAC;AAE5E,eAAO,MAAM,yBAAyB;;;;;;;;;;MAGpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,yBAAyB,CAAC,QAAQ,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/workspace/tenant/schema.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,cAAc,gEAAc,CAAC;AAE1C,eAAO,MAAM,sBAAsB;;MAEjC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;MAK9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,mBAAmB,CAAC,QAAQ,CAAC;AAEhE,eAAO,MAAM,yBAAyB;;;;;;;;;;;MAMpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,yBAAyB,CAAC,QAAQ,CAAC;AAE5E,eAAO,MAAM,yBAAyB;;;;;;;;;;MAGpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,yBAAyB,CAAC,QAAQ,CAAC"}
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateTenantPayloadSchema = exports.InsertTenantPayloadSchema = exports.TenantPayloadSchema = exports.TenantIdPropertySchema = exports.TenantIdSchema = void 0;
4
4
  const arktype_1 = require("arktype");
5
5
  const organization_js_1 = require("../../customer/schema/organization.js");
6
- const membership_js_1 = require("./membership.js");
7
- const utils_js_1 = require("./utils.js");
6
+ const schema_js_1 = require("../membership/schema.js");
7
+ const utils_js_1 = require("../utils.js");
8
8
  exports.TenantIdSchema = arktype_1.type.string;
9
9
  exports.TenantIdPropertySchema = (0, arktype_1.type)({
10
10
  id: exports.TenantIdSchema,
@@ -13,7 +13,7 @@ exports.TenantPayloadSchema = organization_js_1.OrganizationPayloadSchema.and({
13
13
  handle: (0, arktype_1.type)('string'),
14
14
  supportEmail: (0, arktype_1.type)('string.email').optional(),
15
15
  authHost: (0, arktype_1.type)('string.url').optional(), // Not live yet (used for dev now)
16
- membership: membership_js_1.MembershipPayloadSchema.optional(),
16
+ membership: schema_js_1.MembershipPayloadSchema.optional(),
17
17
  });
18
18
  exports.InsertTenantPayloadSchema = organization_js_1.InsertOrganizationPayloadSchema.omit('id').and({
19
19
  id: exports.TenantIdSchema.default(() => (0, utils_js_1.generateTenantId)()),
@@ -14,17 +14,17 @@ export declare const UserNotificationPayloadSchema: import("arktype/out/methods/
14
14
  title?: string | undefined;
15
15
  message?: string | undefined;
16
16
  type: "info" | "import";
17
- createdAt: (In: string | Date) => import("arktype/out/attributes.js").Out<string>;
18
- updatedAt: (In: string | Date) => import("arktype/out/attributes.js").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/out/attributes.js").Out<string | undefined>) | undefined;
24
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/out/attributes.js").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/out/attributes.js").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/out/me
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/out/attributes.js").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,9 +54,9 @@ export declare const UpdateUserNotificationPayloadSchema: import("arktype/out/me
54
54
  } | undefined;
55
55
  metadata?: ((In: {
56
56
  [x: string]: string | number | boolean;
57
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/out/attributes.js").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
  }, {}>;
61
61
  export type UpdateUserNotificationPayload = typeof UpdateUserNotificationPayloadSchema.inferOut;
62
- //# sourceMappingURL=user-notification.d.ts.map
62
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/workspace/user/notifications/schema.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,eAAO,MAAM,wBAAwB,gEAAc,CAAC;AACpD,MAAM,MAAM,kBAAkB,GAAG,OAAO,wBAAwB,CAAC,QAAQ,CAAC;AAE1E,eAAO,MAAM,gCAAgC;;MAE3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GACpC,OAAO,gCAAgC,CAAC,QAAQ,CAAC;AAYnD,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;MAUH,CAAC;AACxC,MAAM,MAAM,uBAAuB,GACjC,OAAO,6BAA6B,CAAC,QAAQ,CAAC;AAEhD,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;MAMX,CAAC;AACtC,MAAM,MAAM,6BAA6B,GACvC,OAAO,mCAAmC,CAAC,QAAQ,CAAC;AAEtD,eAAO,MAAM,mCAAmC;;;;;;;;;;;;MAEX,CAAC;AACtC,MAAM,MAAM,6BAA6B,GACvC,OAAO,mCAAmC,CAAC,QAAQ,CAAC"}
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateUserNotificationPayloadSchema = exports.InsertUserNotificationPayloadSchema = exports.UserNotificationPayloadSchema = exports.UserNotificationIdPropertySchema = exports.UserNotificationIdSchema = exports.NotificationType = void 0;
4
4
  const arktype_1 = require("arktype");
5
- const dates_js_1 = require("../../common/schema/dates.js");
6
- const metadata_js_1 = require("../../common/schema/metadata.js");
7
- const schema_js_1 = require("../../customer/users/schema.js");
8
- const utils_js_1 = require("./utils.js");
5
+ const dates_js_1 = require("../../../common/schema/dates.js");
6
+ const metadata_js_1 = require("../../../common/schema/metadata.js");
7
+ const schema_js_1 = require("../../../customer/users/schema.js");
8
+ const utils_js_1 = require("../../utils.js");
9
9
  exports.NotificationType = {
10
10
  INFO: 'info',
11
11
  IMPORT: 'import',
@@ -2,12 +2,12 @@ export declare const UserPreferencesPayloadSchema: import("arktype/out/methods/o
2
2
  views?: Record<string, {
3
3
  columns?: string[] | undefined;
4
4
  }> | undefined;
5
- updatedAt?: ((In: string | Date | undefined) => import("arktype/out/attributes.js").Out<string | undefined>) | undefined;
6
- deletedAt?: ((In: string | Date | undefined) => import("arktype/out/attributes.js").Out<string | undefined>) | undefined;
7
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/out/attributes.js").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/out/attributes.js").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,9 +18,9 @@ export declare const UpsertUserPreferencesPayloadSchema: import("arktype/out/met
18
18
  }> | undefined;
19
19
  metadata?: ((In: {
20
20
  [x: string]: string | number | boolean;
21
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/out/attributes.js").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
  }, {}>;
25
25
  export type UpsertUserPreferencesPayload = typeof UpsertUserPreferencesPayloadSchema.inferOut;
26
- //# sourceMappingURL=user-preferences.d.ts.map
26
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/workspace/user/preferences/schema.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;MAIE,CAAC;AAC5C,MAAM,MAAM,sBAAsB,GAChC,OAAO,4BAA4B,CAAC,QAAQ,CAAC;AAE/C,eAAO,MAAM,kCAAkC;;;;;;;;;MAE9C,CAAC;AACF,MAAM,MAAM,4BAA4B,GACtC,OAAO,kCAAkC,CAAC,QAAQ,CAAC"}
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpsertUserPreferencesPayloadSchema = exports.UserPreferencesPayloadSchema = void 0;
4
4
  const arktype_1 = require("arktype");
5
- const dates_js_1 = require("../../common/schema/dates.js");
6
- const metadata_js_1 = require("../../common/schema/metadata.js");
5
+ const dates_js_1 = require("../../../common/schema/dates.js");
6
+ const metadata_js_1 = require("../../../common/schema/metadata.js");
7
7
  const TableSchema = (0, arktype_1.type)({
8
8
  columns: (0, arktype_1.type)('string').array().optional(),
9
9
  });
@@ -0,0 +1,3 @@
1
+ export * from './notifications/schema.js';
2
+ export * from './preferences/schema.js';
3
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/workspace/user/schema.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./association.js"), exports);
17
+ __exportStar(require("./notifications/schema.js"), exports);
18
+ __exportStar(require("./preferences/schema.js"), exports);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/workspace/utils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;CAUR,CAAC;AAEX,wBAAgB,gBAAgB,WAE/B;AAED,wBAAgB,cAAc,WAE7B;AAED,wBAAgB,sBAAsB,WAErC"}
@@ -1,3 +1,10 @@
1
+ export declare const ActionOperation: {
2
+ readonly SET_PASSWORD: "set-password";
3
+ readonly USER_ATTRIBUTE_VERIFICATION: "user-attribute-verification";
4
+ readonly SIGN_UP: "sign-up";
5
+ readonly SIGN_UP_VERIFICATION: "sign-up-verification";
6
+ };
7
+ export type AnyActionOperation = (typeof ActionOperation)[keyof typeof ActionOperation];
1
8
  export declare const ActionIdSchema: import("arktype/internal/methods/string.ts").StringType<string, {}>;
2
9
  export type ActionId = typeof ActionIdSchema.inferOut;
3
10
  export declare const ActionIdPropertySchema: import("arktype/internal/methods/object.ts").ObjectType<{
@@ -8,13 +15,13 @@ export declare const OperationSchema: import("arktype/internal/methods/string.ts
8
15
  export declare const BasePayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
9
16
  id: string;
10
17
  attempt: number;
11
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
12
- updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
13
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
14
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
18
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
19
+ updatedAt: (In: string | Date) => import("arktype").Out<string>;
20
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
21
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
15
22
  metadata?: ((In: {
16
23
  [x: string]: string | number | boolean;
17
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
24
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
18
25
  [x: string]: string | number | boolean;
19
26
  } | undefined>) | undefined;
20
27
  }, {}>;
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/action/schema/base.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc,qEAAc,CAAC;AAC1C,MAAM,MAAM,QAAQ,GAAG,OAAO,cAAc,CAAC,QAAQ,CAAC;AAEtD,eAAO,MAAM,sBAAsB;;MAEjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,sBAAsB,CAAC,QAAQ,CAAC;AAEtE,eAAO,MAAM,eAAe,kJAK3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;MAMO,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/action/schema/base.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe;;;;;CAOlB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,eAAO,MAAM,cAAc,qEAAc,CAAC;AAC1C,MAAM,MAAM,QAAQ,GAAG,OAAO,cAAc,CAAC,QAAQ,CAAC;AAEtD,eAAO,MAAM,sBAAsB;;MAEjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,sBAAsB,CAAC,QAAQ,CAAC;AAEtE,eAAO,MAAM,eAAe,kJAK3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;MAMO,CAAC"}
@@ -1,7 +1,12 @@
1
1
  import { type } from 'arktype';
2
2
  import { OptionalDatePayloadSchema, RequiredDatePayloadSchema, } from '../../common/schema/dates.js';
3
3
  import { MetadataPayloadPropertySchema } from '../../common/schema/metadata.js';
4
- import { ActionOperation } from './schema.js';
4
+ export const ActionOperation = {
5
+ SET_PASSWORD: 'set-password',
6
+ USER_ATTRIBUTE_VERIFICATION: 'user-attribute-verification',
7
+ SIGN_UP: 'sign-up',
8
+ SIGN_UP_VERIFICATION: 'sign-up-verification',
9
+ };
5
10
  export const ActionIdSchema = type.string;
6
11
  export const ActionIdPropertySchema = type({
7
12
  id: ActionIdSchema,
@@ -1,25 +1,25 @@
1
1
  export declare const SetPasswordActionPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
2
2
  id: string;
3
3
  attempt: number;
4
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
5
- updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
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;
4
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
5
+ updatedAt: (In: string | Date) => import("arktype").Out<string>;
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
  operation: "set-password";
14
14
  user: string;
15
15
  identifier: "email" | "phoneNumber";
16
16
  policy: {
17
- minimumLength: import("arktype/internal/attributes.ts").Default<number, 8>;
18
- maximumLength: import("arktype/internal/attributes.ts").Default<number, 36>;
19
- minimumCapital: import("arktype/internal/attributes.ts").Default<number, 1>;
20
- minimumLower: import("arktype/internal/attributes.ts").Default<number, 1>;
21
- minimumNumber: import("arktype/internal/attributes.ts").Default<number, 1>;
22
- minimumSpecial: import("arktype/internal/attributes.ts").Default<number, 1>;
17
+ minimumLength: import("arktype/internal/attributes.ts").Default<number, number>;
18
+ maximumLength: import("arktype/internal/attributes.ts").Default<number, number>;
19
+ minimumCapital: import("arktype/internal/attributes.ts").Default<number, number>;
20
+ minimumLower: import("arktype/internal/attributes.ts").Default<number, number>;
21
+ minimumNumber: import("arktype/internal/attributes.ts").Default<number, number>;
22
+ minimumSpecial: import("arktype/internal/attributes.ts").Default<number, number>;
23
23
  };
24
24
  }, {}>;
25
25
  export type SetPasswordActionPayload = typeof SetPasswordActionPayloadSchema.inferOut;
@@ -1,7 +1,7 @@
1
1
  import { type } from 'arktype';
2
- import { PasswordPolicySchema } from '../../../authentication/schema/schema.js';
2
+ import { PasswordPolicySchema } from '../../../authentication/strategies/schema/schema.js';
3
3
  import { UserIdSchema } from '../../../customer/users/schema.js';
4
- import { IdentityIdentifierSchema } from '../../../identity/schema/schema.js';
4
+ import { IdentityIdentifierSchema } from '../../../identity/schema.js';
5
5
  import { BasePayloadSchema } from '../base.js';
6
6
  export const SetPasswordActionPayloadSchema = BasePayloadSchema.and({
7
7
  operation: type("'set-password'"),
@@ -1,13 +1,13 @@
1
1
  export declare const SignUpVerificationActionPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
2
2
  id: string;
3
3
  attempt: number;
4
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
5
- updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
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;
4
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
5
+ updatedAt: (In: string | Date) => import("arktype").Out<string>;
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
  operation: "sign-up-verification";
@@ -1,6 +1,6 @@
1
1
  import { type } from 'arktype';
2
2
  import { UserIdSchema } from '../../../customer/users/schema.js';
3
- import { IdentityIdentifierSchema } from '../../../identity/schema/schema.js';
3
+ import { IdentityIdentifierSchema } from '../../../identity/schema.js';
4
4
  import { BasePayloadSchema } from '../base.js';
5
5
  export const SignUpVerificationActionPayloadSchema = BasePayloadSchema.and({
6
6
  operation: type("'sign-up-verification'"),
@@ -1,13 +1,13 @@
1
1
  export declare const SignUpActionPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
2
2
  id: string;
3
3
  attempt: number;
4
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
5
- updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
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;
4
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
5
+ updatedAt: (In: string | Date) => import("arktype").Out<string>;
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
  operation: "sign-up";
@@ -29,7 +29,7 @@ export declare const SignUpActionRequestSchema: import("arktype/internal/methods
29
29
  honorificSuffix?: string | undefined;
30
30
  email: string;
31
31
  phoneNumber?: string | undefined;
32
- id: import("arktype/internal/attributes.ts").Default<string, string>;
32
+ id?: string | undefined;
33
33
  } | {
34
34
  givenName?: string | undefined;
35
35
  middleName?: string | undefined;
@@ -38,7 +38,7 @@ export declare const SignUpActionRequestSchema: import("arktype/internal/methods
38
38
  honorificSuffix?: string | undefined;
39
39
  phoneNumber: string;
40
40
  email?: string | undefined;
41
- id: import("arktype/internal/attributes.ts").Default<string, string>;
41
+ id?: string | undefined;
42
42
  }, {}>;
43
43
  export type SignUpActionRequest = typeof SignUpActionRequestSchema.inferOut;
44
44
  //# sourceMappingURL=sign-up.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { type } from 'arktype';
2
- import { AppIdSchema } from '../../../app/schema/app.js';
2
+ import { AppIdSchema } from '../../../app/schema.js';
3
3
  import { InsertUserPayloadSchema, RequiredEmailSchema, RequiredPhoneNumberSchema, UserNamePropertiesSchema, } from '../../../customer/users/schema.js';
4
4
  import { BasePayloadSchema } from '../base.js';
5
5
  export const SignUpActionPayloadSchema = BasePayloadSchema.and({
@@ -1,13 +1,13 @@
1
1
  export declare const UserAttributeVerificationActionPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
2
2
  id: string;
3
3
  attempt: number;
4
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
5
- updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
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;
4
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
5
+ updatedAt: (In: string | Date) => import("arktype").Out<string>;
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
  operation: "user-attribute-verification";
@@ -1,6 +1,6 @@
1
1
  import { type } from 'arktype';
2
2
  import { UserIdSchema } from '../../../customer/users/schema.js';
3
- import { IdentityIdentifierSchema } from '../../../identity/schema/schema.js';
3
+ import { IdentityIdentifierSchema } from '../../../identity/schema.js';
4
4
  import { BasePayloadSchema } from '../base.js';
5
5
  export const UserAttributeVerificationActionPayloadSchema = BasePayloadSchema.and({
6
6
  operation: type("'user-attribute-verification'"),
@@ -1,46 +1,39 @@
1
- export declare const ActionOperation: {
2
- readonly SET_PASSWORD: "set-password";
3
- readonly USER_ATTRIBUTE_VERIFICATION: "user-attribute-verification";
4
- readonly SIGN_UP: "sign-up";
5
- readonly SIGN_UP_VERIFICATION: "sign-up-verification";
6
- };
7
- export type AnyActionOperation = (typeof ActionOperation)[keyof typeof ActionOperation];
8
1
  /**
9
2
  * Union
10
3
  */
11
4
  export declare const ActionPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
12
5
  id: string;
13
6
  attempt: number;
14
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
15
- updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
16
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
17
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
7
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
8
+ updatedAt: (In: string | Date) => import("arktype").Out<string>;
9
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
10
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
18
11
  metadata?: ((In: {
19
12
  [x: string]: string | number | boolean;
20
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
13
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
21
14
  [x: string]: string | number | boolean;
22
15
  } | undefined>) | undefined;
23
16
  operation: "set-password";
24
17
  user: string;
25
18
  identifier: "email" | "phoneNumber";
26
19
  policy: {
27
- minimumLength: import("arktype/internal/attributes.ts").Default<number, 8>;
28
- maximumLength: import("arktype/internal/attributes.ts").Default<number, 36>;
29
- minimumCapital: import("arktype/internal/attributes.ts").Default<number, 1>;
30
- minimumLower: import("arktype/internal/attributes.ts").Default<number, 1>;
31
- minimumNumber: import("arktype/internal/attributes.ts").Default<number, 1>;
32
- minimumSpecial: import("arktype/internal/attributes.ts").Default<number, 1>;
20
+ minimumLength: import("arktype/internal/attributes.ts").Default<number, number>;
21
+ maximumLength: import("arktype/internal/attributes.ts").Default<number, number>;
22
+ minimumCapital: import("arktype/internal/attributes.ts").Default<number, number>;
23
+ minimumLower: import("arktype/internal/attributes.ts").Default<number, number>;
24
+ minimumNumber: import("arktype/internal/attributes.ts").Default<number, number>;
25
+ minimumSpecial: import("arktype/internal/attributes.ts").Default<number, number>;
33
26
  };
34
27
  } | {
35
28
  id: string;
36
29
  attempt: number;
37
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
38
- updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
39
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
40
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
30
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
31
+ updatedAt: (In: string | Date) => import("arktype").Out<string>;
32
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
33
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
41
34
  metadata?: ((In: {
42
35
  [x: string]: string | number | boolean;
43
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
36
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
44
37
  [x: string]: string | number | boolean;
45
38
  } | undefined>) | undefined;
46
39
  operation: "sign-up-verification";
@@ -49,13 +42,13 @@ export declare const ActionPayloadSchema: import("arktype/internal/methods/objec
49
42
  } | {
50
43
  id: string;
51
44
  attempt: number;
52
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
53
- updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
54
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
55
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
45
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
46
+ updatedAt: (In: string | Date) => import("arktype").Out<string>;
47
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
48
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
56
49
  metadata?: ((In: {
57
50
  [x: string]: string | number | boolean;
58
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
51
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
59
52
  [x: string]: string | number | boolean;
60
53
  } | undefined>) | undefined;
61
54
  operation: "sign-up";
@@ -70,13 +63,13 @@ export declare const ActionPayloadSchema: import("arktype/internal/methods/objec
70
63
  } | {
71
64
  id: string;
72
65
  attempt: number;
73
- expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
74
- updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
75
- deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
76
- deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
66
+ expiresAt: (In: string | Date) => import("arktype").Out<string>;
67
+ updatedAt: (In: string | Date) => import("arktype").Out<string>;
68
+ deletedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
69
+ deactivatedAt?: ((In: string | Date | undefined) => import("arktype").Out<string | undefined>) | undefined;
77
70
  metadata?: ((In: {
78
71
  [x: string]: string | number | boolean;
79
- } | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
72
+ } | Map<string, string | number | boolean> | null | undefined) => import("arktype").Out<{
80
73
  [x: string]: string | number | boolean;
81
74
  } | undefined>) | undefined;
82
75
  operation: "user-attribute-verification";
@@ -84,7 +77,7 @@ export declare const ActionPayloadSchema: import("arktype/internal/methods/objec
84
77
  attribute: "email" | "phoneNumber";
85
78
  }, {}>;
86
79
  export type ActionPayload = typeof ActionPayloadSchema.inferOut;
87
- export { ActionIdPropertySchema, ActionIdSchema, type ActionId, type ActionIdProperty, } from './base.js';
80
+ export { ActionIdPropertySchema, ActionIdSchema, ActionOperation, type ActionId, type ActionIdProperty, type AnyActionOperation, } from './base.js';
88
81
  export * from './operations/set-password.js';
89
82
  export * from './operations/sign-up-verification.js';
90
83
  export * from './operations/sign-up.js';
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/action/schema/schema.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;;;;;CAOlB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAImB,CAAC;AACpD,MAAM,MAAM,aAAa,GAAG,OAAO,mBAAmB,CAAC,QAAQ,CAAC;AAEhE,OAAO,EACL,sBAAsB,EACtB,cAAc,EACd,KAAK,QAAQ,EACb,KAAK,gBAAgB,GACtB,MAAM,WAAW,CAAC;AACnB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,6CAA6C,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/action/schema/schema.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAImB,CAAC;AACpD,MAAM,MAAM,aAAa,GAAG,OAAO,mBAAmB,CAAC,QAAQ,CAAC;AAEhE,OAAO,EACL,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB,MAAM,WAAW,CAAC;AACnB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,yBAAyB,CAAC;AACxC,cAAc,6CAA6C,CAAC"}