@go-mondo/identity-sdk 0.0.2-beta.19 → 0.0.2-beta.21

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 (205) 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 +3 -3
  6. package/dist/cjs/action/schema/base.d.ts.map +1 -1
  7. package/dist/cjs/action/schema/base.js +3 -3
  8. package/dist/cjs/action/schema/operations/set-password.d.ts +3 -3
  9. package/dist/cjs/action/schema/operations/sign-up-verification.d.ts +3 -3
  10. package/dist/cjs/action/schema/operations/sign-up.d.ts +3 -3
  11. package/dist/cjs/action/schema/operations/user-attribute-verification.d.ts +3 -3
  12. package/dist/cjs/action/schema/schema.d.ts +12 -12
  13. package/dist/cjs/activity/schema/base.d.ts +6 -6
  14. package/dist/cjs/activity/schema/base.d.ts.map +1 -1
  15. package/dist/cjs/activity/schema/base.js +9 -9
  16. package/dist/cjs/activity/schema/schema.d.ts +30 -30
  17. package/dist/cjs/activity/schema/types/authentication.d.ts +6 -6
  18. package/dist/cjs/activity/schema/types/authorization.d.ts +6 -6
  19. package/dist/cjs/activity/schema/types/note.d.ts +6 -6
  20. package/dist/cjs/activity/schema/types/operation.d.ts +6 -6
  21. package/dist/cjs/activity/schema/types/unknown.d.ts +6 -6
  22. package/dist/cjs/app/authorization/schema.d.ts +5 -5
  23. package/dist/cjs/app/authorization/schema.d.ts.map +1 -1
  24. package/dist/cjs/app/authorization/schema.js +4 -4
  25. package/dist/cjs/app/oauth/schema.d.ts +5 -5
  26. package/dist/cjs/app/oauth/schema.d.ts.map +1 -1
  27. package/dist/cjs/app/oauth/schema.js +4 -4
  28. package/dist/cjs/app/oidc/schema.d.ts +5 -5
  29. package/dist/cjs/app/oidc/schema.d.ts.map +1 -1
  30. package/dist/cjs/app/oidc/schema.js +4 -4
  31. package/dist/cjs/app/registration/schema.d.ts +5 -5
  32. package/dist/cjs/app/registration/schema.d.ts.map +1 -1
  33. package/dist/cjs/app/registration/schema.js +4 -4
  34. package/dist/cjs/app/saml/schema.d.ts +5 -5
  35. package/dist/cjs/app/saml/schema.d.ts.map +1 -1
  36. package/dist/cjs/app/saml/schema.js +4 -4
  37. package/dist/cjs/app/schema.d.ts +6 -6
  38. package/dist/cjs/app/schema.d.ts.map +1 -1
  39. package/dist/cjs/app/schema.js +9 -8
  40. package/dist/cjs/association/schema.d.ts +7 -7
  41. package/dist/cjs/association/schema.d.ts.map +1 -1
  42. package/dist/cjs/association/schema.js +7 -7
  43. package/dist/cjs/authentication/providers/schema.d.ts +3 -3
  44. package/dist/cjs/authentication/providers/schema.d.ts.map +1 -1
  45. package/dist/cjs/authentication/providers/schema.js +4 -4
  46. package/dist/cjs/authentication/sessions/schema.d.ts +10 -10
  47. package/dist/cjs/authentication/sessions/schema.d.ts.map +1 -1
  48. package/dist/cjs/authentication/sessions/schema.js +8 -8
  49. package/dist/cjs/authentication/settings/schema.d.ts +7 -7
  50. package/dist/cjs/authentication/settings/schema.d.ts.map +1 -1
  51. package/dist/cjs/authentication/settings/schema.js +6 -6
  52. package/dist/cjs/authentication/strategies/schema/base.d.ts +8 -8
  53. package/dist/cjs/authentication/strategies/schema/base.d.ts.map +1 -1
  54. package/dist/cjs/authentication/strategies/schema/base.js +9 -9
  55. package/dist/cjs/authentication/strategies/schema/schema.d.ts +37 -37
  56. package/dist/cjs/authentication/strategies/schema/schema.d.ts.map +1 -1
  57. package/dist/cjs/authentication/strategies/schema/schema.js +21 -4
  58. package/dist/cjs/authentication/strategies/schema/types/email.d.ts +8 -8
  59. package/dist/cjs/authentication/strategies/schema/types/email.d.ts.map +1 -1
  60. package/dist/cjs/authentication/strategies/schema/types/email.js +1 -1
  61. package/dist/cjs/authentication/strategies/schema/types/password.d.ts +8 -8
  62. package/dist/cjs/authentication/strategies/schema/types/password.d.ts.map +1 -1
  63. package/dist/cjs/authentication/strategies/schema/types/password.js +1 -1
  64. package/dist/cjs/authentication/strategies/schema/types/totp.d.ts +8 -8
  65. package/dist/cjs/authentication/strategies/schema/types/totp.d.ts.map +1 -1
  66. package/dist/cjs/authentication/strategies/schema/types/totp.js +1 -1
  67. package/dist/cjs/authorization/permissions/schema.d.ts +8 -8
  68. package/dist/cjs/authorization/permissions/schema.d.ts.map +1 -1
  69. package/dist/cjs/authorization/permissions/schema.js +9 -9
  70. package/dist/cjs/authorization/roles/schema.d.ts +6 -6
  71. package/dist/cjs/authorization/roles/schema.d.ts.map +1 -1
  72. package/dist/cjs/authorization/roles/schema.js +9 -9
  73. package/dist/cjs/common/schema/dates.d.ts +3 -3
  74. package/dist/cjs/common/schema/dates.d.ts.map +1 -1
  75. package/dist/cjs/common/schema/dates.js +1 -1
  76. package/dist/cjs/customer/organization/schema.d.ts +6 -6
  77. package/dist/cjs/customer/organization/schema.d.ts.map +1 -1
  78. package/dist/cjs/customer/organization/schema.js +9 -9
  79. package/dist/cjs/customer/users/schema.d.ts +8 -8
  80. package/dist/cjs/customer/users/schema.d.ts.map +1 -1
  81. package/dist/cjs/customer/users/schema.js +8 -8
  82. package/dist/cjs/oauth/token/schema/schema.d.ts +4 -4
  83. package/dist/cjs/oauth/token/schema/schema.d.ts.map +1 -1
  84. package/dist/cjs/oauth/token/schema/schema.js +6 -1
  85. package/dist/cjs/workspace/authorization/schema.d.ts +5 -5
  86. package/dist/cjs/workspace/authorization/schema.d.ts.map +1 -1
  87. package/dist/cjs/workspace/authorization/schema.js +5 -5
  88. package/dist/cjs/workspace/branding/schema.d.ts +5 -5
  89. package/dist/cjs/workspace/branding/schema.d.ts.map +1 -1
  90. package/dist/cjs/workspace/branding/schema.js +4 -4
  91. package/dist/cjs/workspace/membership/schema.d.ts +2 -2
  92. package/dist/cjs/workspace/registration/schema.d.ts +5 -5
  93. package/dist/cjs/workspace/registration/schema.d.ts.map +1 -1
  94. package/dist/cjs/workspace/registration/schema.js +4 -4
  95. package/dist/cjs/workspace/settings/schema.d.ts +5 -5
  96. package/dist/cjs/workspace/settings/schema.d.ts.map +1 -1
  97. package/dist/cjs/workspace/settings/schema.js +4 -4
  98. package/dist/cjs/workspace/tenant/schema.d.ts +10 -10
  99. package/dist/cjs/workspace/user/notifications/schema.d.ts +8 -8
  100. package/dist/cjs/workspace/user/notifications/schema.d.ts.map +1 -1
  101. package/dist/cjs/workspace/user/notifications/schema.js +9 -9
  102. package/dist/cjs/workspace/user/preferences/schema.d.ts +5 -5
  103. package/dist/cjs/workspace/user/preferences/schema.d.ts.map +1 -1
  104. package/dist/cjs/workspace/user/preferences/schema.js +4 -4
  105. package/dist/esm/action/schema/base.d.ts +3 -3
  106. package/dist/esm/action/schema/base.d.ts.map +1 -1
  107. package/dist/esm/action/schema/base.js +4 -4
  108. package/dist/esm/action/schema/operations/set-password.d.ts +3 -3
  109. package/dist/esm/action/schema/operations/sign-up-verification.d.ts +3 -3
  110. package/dist/esm/action/schema/operations/sign-up.d.ts +3 -3
  111. package/dist/esm/action/schema/operations/user-attribute-verification.d.ts +3 -3
  112. package/dist/esm/action/schema/schema.d.ts +12 -12
  113. package/dist/esm/activity/schema/base.d.ts +6 -6
  114. package/dist/esm/activity/schema/base.d.ts.map +1 -1
  115. package/dist/esm/activity/schema/base.js +9 -9
  116. package/dist/esm/activity/schema/schema.d.ts +30 -30
  117. package/dist/esm/activity/schema/types/authentication.d.ts +6 -6
  118. package/dist/esm/activity/schema/types/authorization.d.ts +6 -6
  119. package/dist/esm/activity/schema/types/note.d.ts +6 -6
  120. package/dist/esm/activity/schema/types/operation.d.ts +6 -6
  121. package/dist/esm/activity/schema/types/unknown.d.ts +6 -6
  122. package/dist/esm/app/authorization/schema.d.ts +5 -5
  123. package/dist/esm/app/authorization/schema.d.ts.map +1 -1
  124. package/dist/esm/app/authorization/schema.js +5 -5
  125. package/dist/esm/app/oauth/schema.d.ts +5 -5
  126. package/dist/esm/app/oauth/schema.d.ts.map +1 -1
  127. package/dist/esm/app/oauth/schema.js +5 -5
  128. package/dist/esm/app/oidc/schema.d.ts +5 -5
  129. package/dist/esm/app/oidc/schema.d.ts.map +1 -1
  130. package/dist/esm/app/oidc/schema.js +5 -5
  131. package/dist/esm/app/registration/schema.d.ts +5 -5
  132. package/dist/esm/app/registration/schema.d.ts.map +1 -1
  133. package/dist/esm/app/registration/schema.js +5 -5
  134. package/dist/esm/app/saml/schema.d.ts +5 -5
  135. package/dist/esm/app/saml/schema.d.ts.map +1 -1
  136. package/dist/esm/app/saml/schema.js +5 -5
  137. package/dist/esm/app/schema.d.ts +6 -6
  138. package/dist/esm/app/schema.d.ts.map +1 -1
  139. package/dist/esm/app/schema.js +10 -9
  140. package/dist/esm/association/schema.d.ts +7 -7
  141. package/dist/esm/association/schema.d.ts.map +1 -1
  142. package/dist/esm/association/schema.js +8 -8
  143. package/dist/esm/authentication/providers/schema.d.ts +3 -3
  144. package/dist/esm/authentication/providers/schema.d.ts.map +1 -1
  145. package/dist/esm/authentication/providers/schema.js +4 -4
  146. package/dist/esm/authentication/sessions/schema.d.ts +10 -10
  147. package/dist/esm/authentication/sessions/schema.d.ts.map +1 -1
  148. package/dist/esm/authentication/sessions/schema.js +9 -9
  149. package/dist/esm/authentication/settings/schema.d.ts +7 -7
  150. package/dist/esm/authentication/settings/schema.d.ts.map +1 -1
  151. package/dist/esm/authentication/settings/schema.js +7 -7
  152. package/dist/esm/authentication/strategies/schema/base.d.ts +8 -8
  153. package/dist/esm/authentication/strategies/schema/base.d.ts.map +1 -1
  154. package/dist/esm/authentication/strategies/schema/base.js +9 -9
  155. package/dist/esm/authentication/strategies/schema/schema.d.ts +37 -37
  156. package/dist/esm/authentication/strategies/schema/schema.d.ts.map +1 -1
  157. package/dist/esm/authentication/strategies/schema/schema.js +21 -4
  158. package/dist/esm/authentication/strategies/schema/types/email.d.ts +8 -8
  159. package/dist/esm/authentication/strategies/schema/types/email.d.ts.map +1 -1
  160. package/dist/esm/authentication/strategies/schema/types/email.js +2 -2
  161. package/dist/esm/authentication/strategies/schema/types/password.d.ts +8 -8
  162. package/dist/esm/authentication/strategies/schema/types/password.d.ts.map +1 -1
  163. package/dist/esm/authentication/strategies/schema/types/password.js +2 -2
  164. package/dist/esm/authentication/strategies/schema/types/totp.d.ts +8 -8
  165. package/dist/esm/authentication/strategies/schema/types/totp.d.ts.map +1 -1
  166. package/dist/esm/authentication/strategies/schema/types/totp.js +2 -2
  167. package/dist/esm/authorization/permissions/schema.d.ts +8 -8
  168. package/dist/esm/authorization/permissions/schema.d.ts.map +1 -1
  169. package/dist/esm/authorization/permissions/schema.js +9 -9
  170. package/dist/esm/authorization/roles/schema.d.ts +6 -6
  171. package/dist/esm/authorization/roles/schema.d.ts.map +1 -1
  172. package/dist/esm/authorization/roles/schema.js +9 -9
  173. package/dist/esm/common/schema/dates.d.ts +3 -3
  174. package/dist/esm/common/schema/dates.d.ts.map +1 -1
  175. package/dist/esm/common/schema/dates.js +1 -1
  176. package/dist/esm/customer/organization/schema.d.ts +6 -6
  177. package/dist/esm/customer/organization/schema.d.ts.map +1 -1
  178. package/dist/esm/customer/organization/schema.js +9 -9
  179. package/dist/esm/customer/users/schema.d.ts +8 -8
  180. package/dist/esm/customer/users/schema.d.ts.map +1 -1
  181. package/dist/esm/customer/users/schema.js +9 -9
  182. package/dist/esm/oauth/token/schema/schema.d.ts +4 -4
  183. package/dist/esm/oauth/token/schema/schema.d.ts.map +1 -1
  184. package/dist/esm/oauth/token/schema/schema.js +6 -1
  185. package/dist/esm/workspace/authorization/schema.d.ts +5 -5
  186. package/dist/esm/workspace/authorization/schema.d.ts.map +1 -1
  187. package/dist/esm/workspace/authorization/schema.js +6 -6
  188. package/dist/esm/workspace/branding/schema.d.ts +5 -5
  189. package/dist/esm/workspace/branding/schema.d.ts.map +1 -1
  190. package/dist/esm/workspace/branding/schema.js +5 -5
  191. package/dist/esm/workspace/membership/schema.d.ts +2 -2
  192. package/dist/esm/workspace/registration/schema.d.ts +5 -5
  193. package/dist/esm/workspace/registration/schema.d.ts.map +1 -1
  194. package/dist/esm/workspace/registration/schema.js +5 -5
  195. package/dist/esm/workspace/settings/schema.d.ts +5 -5
  196. package/dist/esm/workspace/settings/schema.d.ts.map +1 -1
  197. package/dist/esm/workspace/settings/schema.js +5 -5
  198. package/dist/esm/workspace/tenant/schema.d.ts +10 -10
  199. package/dist/esm/workspace/user/notifications/schema.d.ts +8 -8
  200. package/dist/esm/workspace/user/notifications/schema.d.ts.map +1 -1
  201. package/dist/esm/workspace/user/notifications/schema.js +9 -9
  202. package/dist/esm/workspace/user/preferences/schema.d.ts +5 -5
  203. package/dist/esm/workspace/user/preferences/schema.d.ts.map +1 -1
  204. package/dist/esm/workspace/user/preferences/schema.js +5 -5
  205. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
1
  import { z } from 'zod';
2
2
  export declare const SAMLSchema: z.ZodObject<{
3
3
  metadata: z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Map<string, string | number | boolean>, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>;
4
- updatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
5
- deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
6
4
  deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
5
+ deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
6
+ updatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
7
7
  }, z.core.$strip>;
8
8
  export type SAMLProperties = z.input<typeof SAMLSchema>;
9
9
  export type SAML = z.output<typeof SAMLSchema>;
10
10
  export declare const SAMLPayloadSchema: z.ZodObject<{
11
11
  metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
12
- updatedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
13
- deletedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
14
- deactivatedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
12
+ deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
13
+ deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
14
+ updatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
15
15
  }, z.core.$strip>;
16
16
  export type SAMLPayload = z.output<typeof SAMLPayloadSchema>;
17
17
  export declare const InsertSAMLPayloadSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/app/saml/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,UAAU;;;;;iBAKrB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AACxD,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/C,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE7D,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACtE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEzE,eAAO,MAAM,uBAAuB;;iBAAsC,CAAC;AAC3E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACtE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/app/saml/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,UAAU;;;;;iBAKrB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AACxD,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/C,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE7D,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACtE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEzE,eAAO,MAAM,uBAAuB;;iBAAsC,CAAC;AAC3E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACtE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -1,16 +1,16 @@
1
1
  import { z } from 'zod';
2
- import { OptionalDatePayloadSchema, OptionalDateSchema, } from '../../common/schema/dates.js';
2
+ import { DeactivatedAtPropertyPayloadSchema, DeactivatedAtPropertySchema, DeletedAtPropertyPayloadSchema, DeletedAtPropertySchema, OptionalDatePayloadSchema, OptionalDateSchema, } from '../../common/schema/dates.js';
3
3
  import { MetadataMapPropertySchema, MetadataPayloadPropertySchema, UpsertMetadataPropertyPayloadSchema, } from '../../common/schema/metadata.js';
4
4
  export const SAMLSchema = z.object({
5
5
  updatedAt: OptionalDateSchema,
6
- deletedAt: OptionalDateSchema,
7
- deactivatedAt: OptionalDateSchema,
6
+ ...DeletedAtPropertySchema.shape,
7
+ ...DeactivatedAtPropertySchema.shape,
8
8
  ...MetadataMapPropertySchema.shape,
9
9
  });
10
10
  export const SAMLPayloadSchema = z.object({
11
11
  updatedAt: OptionalDatePayloadSchema,
12
- deletedAt: OptionalDatePayloadSchema,
13
- deactivatedAt: OptionalDatePayloadSchema,
12
+ ...DeletedAtPropertyPayloadSchema.shape,
13
+ ...DeactivatedAtPropertyPayloadSchema.shape,
14
14
  ...MetadataPayloadPropertySchema.shape,
15
15
  });
16
16
  export const InsertSAMLPayloadSchema = z.object({
@@ -12,10 +12,10 @@ export declare const AppIdPropertySchema: z.ZodObject<{
12
12
  export type AppIdProperty = z.output<typeof AppIdPropertySchema>;
13
13
  export declare const AppSchema: z.ZodObject<{
14
14
  metadata: z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Map<string, string | number | boolean>, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>;
15
- createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
16
- updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
17
- deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
18
15
  deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
16
+ deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
17
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
18
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
19
19
  status: z.ZodEnum<{
20
20
  enabled: "enabled";
21
21
  disabled: "disabled";
@@ -28,10 +28,10 @@ export type AppProperties = z.input<typeof AppSchema>;
28
28
  export type App = z.output<typeof AppSchema>;
29
29
  export declare const AppPayloadSchema: z.ZodObject<{
30
30
  metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
31
- createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
31
+ deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
32
+ deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
32
33
  updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
33
- deletedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
34
- deactivatedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
34
+ createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
35
35
  id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AAO,sBAAsB,CAAC,CAAC;AACpE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEvE,eAAO,MAAM,sBAAsB;;;;;;;;iBAKjC,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACpE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,uBAAuB,uDAAyC,CAAC;AAE9E,eAAO,MAAM,6BAA6B;;;;;;;;iBAKxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAC5C,OAAO,6BAA6B,CACrC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { OptionalDatePayloadSchema, OptionalDateSchema, RequiredDatePayloadSchema, RequiredDateSchema, } from '../common/index.js';
2
+ import { CreatedAtPropertyPayloadSchema, CreatedAtPropertySchema, DeactivatedAtPropertyPayloadSchema, DeactivatedAtPropertySchema, DeletedAtPropertyPayloadSchema, DeletedAtPropertySchema, UpdatedAtPropertyPayloadSchema, UpdatedAtPropertySchema, } from '../common/index.js';
3
3
  import { KSUIDSchema } from '../common/schema/id.js';
4
4
  import { MetadataMapPropertySchema, MetadataPayloadPropertySchema, } from '../common/schema/metadata.js';
5
5
  import { Model } from './utils.js';
@@ -20,19 +20,20 @@ const BaseSchema = z.object({
20
20
  });
21
21
  export const AppSchema = z.object({
22
22
  ...BaseSchema.shape,
23
- createdAt: RequiredDateSchema,
24
- updatedAt: RequiredDateSchema,
25
- deletedAt: OptionalDateSchema,
26
- deactivatedAt: OptionalDateSchema,
23
+ ...CreatedAtPropertySchema.shape,
24
+ ...UpdatedAtPropertySchema.shape,
25
+ ...DeletedAtPropertySchema.shape,
26
+ ...DeactivatedAtPropertySchema.shape,
27
27
  ...MetadataMapPropertySchema.shape,
28
28
  });
29
29
  export const AppPayloadSchema = z.object({
30
30
  ...BaseSchema.shape,
31
31
  ...AppIdPropertySchema.shape,
32
- createdAt: RequiredDatePayloadSchema,
33
- updatedAt: RequiredDatePayloadSchema,
34
- deletedAt: OptionalDatePayloadSchema,
35
- deactivatedAt: OptionalDatePayloadSchema,
32
+ ...CreatedAtPropertyPayloadSchema.shape,
33
+ ...UpdatedAtPropertyPayloadSchema.shape,
34
+ ...UpdatedAtPropertyPayloadSchema.shape,
35
+ ...DeletedAtPropertyPayloadSchema.shape,
36
+ ...DeactivatedAtPropertyPayloadSchema.shape,
36
37
  ...MetadataPayloadPropertySchema.shape,
37
38
  });
38
39
  export const InsertAppPayloadSchema = z.object({
@@ -109,10 +109,10 @@ export declare const ObjectPropertySchema: z.ZodObject<{
109
109
  }, z.core.$strip>;
110
110
  export declare const AssociationSchema: z.ZodObject<{
111
111
  metadata: z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Map<string, string | number | boolean>, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>;
112
- expiresAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
113
- updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
114
- deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
115
112
  deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
113
+ deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
114
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
115
+ expiresAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
116
116
  object: z.ZodUnion<readonly [z.ZodObject<{
117
117
  status: z.ZodDefault<z.ZodEnum<{
118
118
  active: "active";
@@ -182,10 +182,10 @@ export type Association<O extends AssociationObject = AssociationObject> = RootA
182
182
  };
183
183
  export declare const AssociationPayloadSchema: z.ZodObject<{
184
184
  metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
185
- expiresAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
185
+ deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
186
+ deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
186
187
  updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
187
- deletedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
188
- deactivatedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
188
+ expiresAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
189
189
  object: z.ZodUnion<readonly [z.ZodObject<{
190
190
  status: z.ZodDefault<z.ZodEnum<{
191
191
  active: "active";
@@ -237,7 +237,7 @@ export type AssociationPayload<O extends AssociationObject = AssociationObject>
237
237
  };
238
238
  export declare const UpsertAssociationPayloadSchema: z.ZodObject<{
239
239
  metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
240
- expiresAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
240
+ expiresAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
241
241
  }, z.core.$strip>;
242
242
  export type UpsertAssociationInput = z.input<typeof UpsertAssociationPayloadSchema>;
243
243
  export type UpsertAssociationPayload = z.output<typeof UpsertAssociationPayloadSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","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,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,8BAA8B,CACtC,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAC7C,OAAO,8BAA8B,CACtC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { AppAssociationReferenceSchema } from '../app/schema.js';
3
3
  import { PermissionAssociationReferenceSchema, RoleAssociationReferenceSchema, } from '../authorization/index.js';
4
- import { OptionalDatePayloadSchema, OptionalDateSchema, RequiredDatePayloadSchema, RequiredDateSchema, } from '../common/schema/dates.js';
4
+ import { DeactivatedAtPropertyPayloadSchema, DeactivatedAtPropertySchema, DeletedAtPropertyPayloadSchema, DeletedAtPropertySchema, OptionalDatePayloadSchema, OptionalDateSchema, UpdatedAtPropertyPayloadSchema, UpdatedAtPropertySchema, } from '../common/schema/dates.js';
5
5
  import { MetadataMapPropertySchema, MetadataPayloadPropertySchema, } from '../common/schema/metadata.js';
6
6
  import { OrganizationAssociationReferenceSchema } from '../customer/organization/schema.js';
7
7
  import { UserAssociationReferenceSchema } from '../customer/users/schema.js';
@@ -34,10 +34,10 @@ export const ObjectPropertySchema = z.object({
34
34
  });
35
35
  export const AssociationSchema = z.object({
36
36
  ...ObjectPropertySchema.shape,
37
- expiresAt: RequiredDateSchema.optional(),
38
- updatedAt: RequiredDateSchema,
39
- deletedAt: OptionalDateSchema,
40
- deactivatedAt: OptionalDateSchema,
37
+ expiresAt: OptionalDateSchema,
38
+ ...UpdatedAtPropertySchema.shape,
39
+ ...DeletedAtPropertySchema.shape,
40
+ ...DeactivatedAtPropertySchema.shape,
41
41
  ...MetadataMapPropertySchema.shape,
42
42
  });
43
43
  const RootAssociationProperties = AssociationSchema.omit({ object: true });
@@ -45,9 +45,9 @@ const RootAssociation = AssociationSchema.omit({ object: true });
45
45
  export const AssociationPayloadSchema = z.object({
46
46
  ...ObjectPropertySchema.shape,
47
47
  expiresAt: OptionalDatePayloadSchema,
48
- updatedAt: RequiredDatePayloadSchema,
49
- deletedAt: OptionalDatePayloadSchema,
50
- deactivatedAt: OptionalDatePayloadSchema,
48
+ ...UpdatedAtPropertyPayloadSchema.shape,
49
+ ...DeletedAtPropertyPayloadSchema.shape,
50
+ ...DeactivatedAtPropertyPayloadSchema.shape,
51
51
  ...MetadataPayloadPropertySchema.shape,
52
52
  });
53
53
  export const UpsertAssociationPayloadSchema = z.object({
@@ -14,14 +14,14 @@ export declare const ProviderTypeSchema: z.ZodEnum<{
14
14
  }>;
15
15
  export declare const ProviderPayloadSchema: z.ZodObject<{
16
16
  metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
17
+ deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
18
+ deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
19
+ updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
17
20
  type: z.ZodEnum<{
18
21
  mondo: "mondo";
19
22
  }>;
20
23
  user: z.ZodString;
21
24
  strategy: z.ZodString;
22
- updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
23
- deletedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
24
- deactivatedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
25
25
  id: z.ZodString;
26
26
  }, z.core.$strip>;
27
27
  export type ProviderPayload = z.output<typeof ProviderPayloadSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/authentication/providers/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,YAAY;;CAEf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE/E,eAAO,MAAM,gBAAgB,aAAa,CAAC;AAC3C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3D,eAAO,MAAM,wBAAwB;;iBAEnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE3E,eAAO,MAAM,kBAAkB;;EAAwC,CAAC;AAExE,eAAO,MAAM,qBAAqB;;;;;;;;;;;iBAShC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/authentication/providers/schema.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,YAAY;;CAEf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE/E,eAAO,MAAM,gBAAgB,aAAa,CAAC;AAC3C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3D,eAAO,MAAM,wBAAwB;;iBAEnC,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE3E,eAAO,MAAM,kBAAkB;;EAAwC,CAAC;AAExE,eAAO,MAAM,qBAAqB;;;;;;;;;;;iBAShC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
+ import { DeactivatedAtPropertyPayloadSchema, DeletedAtPropertyPayloadSchema, UpdatedAtPropertyPayloadSchema, } from 'src/common/index.js';
1
2
  import { z } from 'zod';
2
- import { OptionalDatePayloadSchema, RequiredDatePayloadSchema, } from '../../common/schema/dates.js';
3
3
  import { MetadataPayloadPropertySchema } from '../../common/schema/metadata.js';
4
4
  import { UserIdSchema } from '../../customer/schema.js';
5
5
  import { StrategyIdSchema } from '../strategies/schema/base.js';
@@ -16,8 +16,8 @@ export const ProviderPayloadSchema = z.object({
16
16
  type: ProviderTypeSchema,
17
17
  user: UserIdSchema,
18
18
  strategy: StrategyIdSchema,
19
- updatedAt: RequiredDatePayloadSchema,
20
- deletedAt: OptionalDatePayloadSchema,
21
- deactivatedAt: OptionalDatePayloadSchema,
19
+ ...UpdatedAtPropertyPayloadSchema.shape,
20
+ ...DeletedAtPropertyPayloadSchema.shape,
21
+ ...DeactivatedAtPropertyPayloadSchema.shape,
22
22
  ...MetadataPayloadPropertySchema.shape,
23
23
  });
@@ -31,12 +31,12 @@ export declare const SessionAuthenticationFactorHistorySchema: z.ZodPipe<z.ZodUn
31
31
  export type SessionAuthenticationFactorHistory = z.output<typeof SessionAuthenticationFactorHistorySchema>;
32
32
  export declare const SessionSchema: z.ZodObject<{
33
33
  metadata: z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Map<string, string | number | boolean>, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>;
34
- expiresAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
35
- createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
36
- updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
37
- redirectTo: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>, z.ZodTransform<string | URL, string | URL>>>;
38
- deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
39
34
  deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
35
+ deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
36
+ redirectTo: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>, z.ZodTransform<string | URL, string | URL>>>;
37
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
38
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
39
+ expiresAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
40
40
  status: z.ZodEnum<{
41
41
  pending: "pending";
42
42
  initiated: "initiated";
@@ -62,12 +62,12 @@ export type SessionProperties = z.input<typeof SessionSchema>;
62
62
  export type Session = z.output<typeof SessionSchema>;
63
63
  export declare const SessionPayloadSchema: z.ZodObject<{
64
64
  metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
65
- expiresAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
66
- createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
67
- updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
65
+ deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
66
+ deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
68
67
  redirectTo: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<URL, URL>]>, z.ZodTransform<string, string | URL>>>;
69
- deletedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
70
- deactivatedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
68
+ updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
69
+ createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
70
+ expiresAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
71
71
  status: z.ZodEnum<{
72
72
  pending: "pending";
73
73
  initiated: "initiated";
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/authentication/sessions/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,eAAO,MAAM,aAAa;;;;CAIhB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAErD,eAAO,MAAM,eAAe,aAAuC,CAAC;AACpE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC;AAEzD,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEzE,eAAO,MAAM,mBAAmB;;;;EAIrB,CAAC;AAEZ,eAAO,MAAM,iCAA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AC,OAAO,uBAAuB,CAAC,CAAC;AAEzE,eAAO,MAAM,mBAAmB;;;;EAIrB,CAAC;AAEZ,eAAO,MAAM,iCAAiC;;;;;;;;;iBAK5C,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAChD,OAAO,iCAAiC,CACzC,CAAC;AAMF,eAAO,MAAM,wCAAwC,0MAUlD,CAAC;AACJ,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CACvD,OAAO,wCAAwC,CAChD,CAAC;AAcF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYxB,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC9D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AAErD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAY/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnE,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;iBAW5C,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAChD,OAAO,iCAAiC,CACzC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { OptionalDatePayloadSchema, OptionalDateSchema, RequiredDatePayloadSchema, RequiredDateSchema, } from '../../common/schema/dates.js';
2
+ import { CreatedAtPropertyPayloadSchema, CreatedAtPropertySchema, DeactivatedAtPropertyPayloadSchema, DeactivatedAtPropertySchema, DeletedAtPropertyPayloadSchema, DeletedAtPropertySchema, RequiredDatePayloadSchema, RequiredDateSchema, UpdatedAtPropertyPayloadSchema, UpdatedAtPropertySchema, } from '../../common/schema/dates.js';
3
3
  import { KSUIDSchema } from '../../common/schema/id.js';
4
4
  import { MetadataMapPropertySchema, MetadataPayloadPropertySchema, } from '../../common/schema/metadata.js';
5
5
  import { UserIdSchema } from '../../customer/schema.js';
@@ -48,27 +48,27 @@ const BaseSchema = z.object({
48
48
  export const SessionSchema = z.object({
49
49
  ...BaseSchema.shape,
50
50
  expiresAt: RequiredDateSchema,
51
- createdAt: RequiredDateSchema,
52
- updatedAt: RequiredDateSchema,
51
+ ...CreatedAtPropertySchema.shape,
52
+ ...UpdatedAtPropertySchema.shape,
53
53
  redirectTo: z
54
54
  .union([z.string(), z.instanceof(URL)])
55
55
  .pipe(z.transform((v) => (!v || v instanceof URL ? v : new URL(v))))
56
56
  .optional(),
57
- deletedAt: OptionalDateSchema,
58
- deactivatedAt: OptionalDateSchema,
57
+ ...DeletedAtPropertySchema.shape,
58
+ ...DeactivatedAtPropertySchema.shape,
59
59
  ...MetadataMapPropertySchema.shape,
60
60
  });
61
61
  export const SessionPayloadSchema = z.object({
62
62
  ...BaseSchema.shape,
63
63
  expiresAt: RequiredDatePayloadSchema,
64
- createdAt: RequiredDatePayloadSchema,
65
- updatedAt: RequiredDatePayloadSchema,
64
+ ...CreatedAtPropertyPayloadSchema.shape,
65
+ ...UpdatedAtPropertyPayloadSchema.shape,
66
66
  redirectTo: z
67
67
  .union([z.string(), z.instanceof(URL)])
68
68
  .transform((v) => (v instanceof URL ? v.toString() : v))
69
69
  .optional(),
70
- deletedAt: OptionalDatePayloadSchema,
71
- deactivatedAt: OptionalDatePayloadSchema,
70
+ ...DeletedAtPropertyPayloadSchema.shape,
71
+ ...DeactivatedAtPropertyPayloadSchema.shape,
72
72
  ...MetadataPayloadPropertySchema.shape,
73
73
  });
74
74
  export const SessionAssociationReferenceSchema = z.object({
@@ -1,20 +1,20 @@
1
1
  import { z } from 'zod';
2
2
  export declare const SettingsSchema: z.ZodObject<{
3
3
  metadata: z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Map<string, string | number | boolean>, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>;
4
- factors: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodArray<z.ZodType<import("../factors/schema.js").AuthenticationFactorType, unknown, z.core.$ZodTypeInternals<import("../factors/schema.js").AuthenticationFactorType, unknown>>>]>, z.ZodTransform<import("../factors/schema.js").AuthenticationFactorType[] | undefined, import("../factors/schema.js").AuthenticationFactorType[] | null | undefined>>>;
5
- createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
6
- updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
7
- deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
8
4
  deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
5
+ deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
6
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
7
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
8
+ factors: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodArray<z.ZodType<import("../factors/schema.js").AuthenticationFactorType, unknown, z.core.$ZodTypeInternals<import("../factors/schema.js").AuthenticationFactorType, unknown>>>]>, z.ZodTransform<import("../factors/schema.js").AuthenticationFactorType[] | undefined, import("../factors/schema.js").AuthenticationFactorType[] | null | undefined>>>;
9
9
  }, z.core.$strip>;
10
10
  export type SettingsProperties = z.input<typeof SettingsSchema>;
11
11
  export type Settings = z.output<typeof SettingsSchema>;
12
12
  export declare const SettingsPayloadSchema: z.ZodObject<{
13
13
  metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
14
+ deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
15
+ deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
14
16
  factors: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodArray<z.ZodType<import("../factors/schema.js").AuthenticationFactorType, unknown, z.core.$ZodTypeInternals<import("../factors/schema.js").AuthenticationFactorType, unknown>>>]>, z.ZodTransform<import("../factors/schema.js").AuthenticationFactorType[] | undefined, import("../factors/schema.js").AuthenticationFactorType[] | null | undefined>>>;
15
- updatedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
16
- deletedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
17
- deactivatedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
17
+ updatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
18
18
  }, z.core.$strip>;
19
19
  export type SettingsPayload = z.output<typeof SettingsPayloadSchema>;
20
20
  export declare const UpsertSettingsPayloadSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/authentication/settings/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,eAAO,MAAM,cAAc;;;;;;;iBAOzB,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAChE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvD,eAAO,MAAM,qBAAqB;;;;;;iBAMhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAErE,eAAO,MAAM,2BAA2B;;;iBAGtC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAC9E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAC1C,OAAO,2BAA2B,CACnC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/authentication/settings/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB,eAAO,MAAM,cAAc;;;;;;;iBAOzB,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAChE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvD,eAAO,MAAM,qBAAqB;;;;;;iBAMhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAErE,eAAO,MAAM,2BAA2B;;;iBAGtC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAC9E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAC1C,OAAO,2BAA2B,CACnC,CAAC"}
@@ -1,20 +1,20 @@
1
1
  import { z } from 'zod';
2
- import { OptionalDatePayloadSchema, OptionalDateSchema, RequiredDateSchema, } from '../../common/schema/dates.js';
2
+ import { CreatedAtPropertySchema, DeactivatedAtPropertyPayloadSchema, DeactivatedAtPropertySchema, DeletedAtPropertyPayloadSchema, DeletedAtPropertySchema, OptionalDatePayloadSchema, UpdatedAtPropertySchema, } from '../../common/schema/dates.js';
3
3
  import { MetadataMapPropertySchema, MetadataPayloadPropertySchema, UpsertMetadataPropertyPayloadSchema, } from '../../common/schema/metadata.js';
4
4
  import { AuthenticationFactorsSchema } from '../factors/schema.js';
5
5
  export const SettingsSchema = z.object({
6
6
  factors: AuthenticationFactorsSchema.optional(),
7
- createdAt: RequiredDateSchema,
8
- updatedAt: RequiredDateSchema,
9
- deletedAt: OptionalDateSchema,
10
- deactivatedAt: OptionalDateSchema,
7
+ ...CreatedAtPropertySchema.shape,
8
+ ...UpdatedAtPropertySchema.shape,
9
+ ...DeletedAtPropertySchema.shape,
10
+ ...DeactivatedAtPropertySchema.shape,
11
11
  ...MetadataMapPropertySchema.shape,
12
12
  });
13
13
  export const SettingsPayloadSchema = z.object({
14
14
  factors: AuthenticationFactorsSchema.optional(),
15
15
  updatedAt: OptionalDatePayloadSchema,
16
- deletedAt: OptionalDatePayloadSchema,
17
- deactivatedAt: OptionalDatePayloadSchema,
16
+ ...DeletedAtPropertyPayloadSchema.shape,
17
+ ...DeactivatedAtPropertyPayloadSchema.shape,
18
18
  ...MetadataPayloadPropertySchema.shape,
19
19
  });
20
20
  export const UpsertSettingsPayloadSchema = z.object({
@@ -28,28 +28,28 @@ export declare const StrategyTypeSchema: z.ZodEnum<{
28
28
  export declare const StrategyLabelSchema: z.ZodString;
29
29
  export declare const BaseStrategySchema: z.ZodObject<{
30
30
  metadata: z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Map<string, string | number | boolean>, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>;
31
+ deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
32
+ deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
33
+ updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
34
+ createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
31
35
  id: z.ZodString;
32
36
  status: z.ZodDefault<z.ZodEnum<{
33
37
  enabled: "enabled";
34
38
  disabled: "disabled";
35
39
  }>>;
36
40
  label: z.ZodString;
37
- createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
38
- updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
39
- deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
40
- deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
41
41
  }, z.core.$strip>;
42
42
  export declare const BaseStrategyPayloadSchema: z.ZodObject<{
43
43
  metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
44
+ deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
45
+ deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
46
+ updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
47
+ createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
44
48
  status: z.ZodEnum<{
45
49
  enabled: "enabled";
46
50
  disabled: "disabled";
47
51
  }>;
48
52
  label: z.ZodString;
49
- createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
50
- updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
51
- deletedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
52
- deactivatedAt: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>;
53
53
  }, z.core.$strip>;
54
54
  export declare const BaseInsertStrategyPayloadSchema: z.ZodObject<{
55
55
  metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/authentication/strategies/schema/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE/E,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD,eAAO,MAAM,gBAAgB,aAAwC,CAAC;AACtE,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3D,eAAO,MA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BAAkB;;;;;;;;;;;;iBAS7B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;iBAQpC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;iBAK1C,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;iBAI1C,CAAC"}
@@ -1,5 +1,5 @@
1
+ import { CreatedAtPropertyPayloadSchema, CreatedAtPropertySchema, DeactivatedAtPropertyPayloadSchema, DeactivatedAtPropertySchema, DeletedAtPropertyPayloadSchema, DeletedAtPropertySchema, UpdatedAtPropertyPayloadSchema, UpdatedAtPropertySchema, } from 'src/common/index.js';
1
2
  import { z } from 'zod';
2
- import { OptionalDatePayloadSchema, OptionalDateSchema, RequiredDatePayloadSchema, RequiredDateSchema, } from '../../../common/index.js';
3
3
  import { KSUIDSchema } from '../../../common/schema/id.js';
4
4
  import { MetadataMapPropertySchema, MetadataPayloadPropertySchema, } from '../../../common/schema/metadata.js';
5
5
  import { Model } from '../../utils.js';
@@ -30,19 +30,19 @@ export const BaseStrategySchema = z.object({
30
30
  id: StrategyIdSchema,
31
31
  status: StrategyStatusSchema.default(StrategyStatus.ENABLED),
32
32
  label: StrategyLabelSchema,
33
- createdAt: RequiredDateSchema,
34
- updatedAt: RequiredDateSchema,
35
- deletedAt: OptionalDateSchema,
36
- deactivatedAt: OptionalDateSchema,
33
+ ...CreatedAtPropertySchema.shape,
34
+ ...UpdatedAtPropertySchema.shape,
35
+ ...DeletedAtPropertySchema.shape,
36
+ ...DeactivatedAtPropertySchema.shape,
37
37
  ...MetadataMapPropertySchema.shape,
38
38
  });
39
39
  export const BaseStrategyPayloadSchema = z.object({
40
40
  status: StrategyStatusSchema,
41
41
  label: StrategyLabelSchema,
42
- createdAt: RequiredDatePayloadSchema,
43
- updatedAt: RequiredDatePayloadSchema,
44
- deletedAt: OptionalDatePayloadSchema,
45
- deactivatedAt: OptionalDatePayloadSchema,
42
+ ...CreatedAtPropertyPayloadSchema.shape,
43
+ ...UpdatedAtPropertyPayloadSchema.shape,
44
+ ...DeletedAtPropertyPayloadSchema.shape,
45
+ ...DeactivatedAtPropertyPayloadSchema.shape,
46
46
  ...MetadataPayloadPropertySchema.shape,
47
47
  });
48
48
  export const BaseInsertStrategyPayloadSchema = z.object({