@getcommunity/gc-validators 0.0.271-alpha.6 → 0.0.271-alpha.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 (282) hide show
  1. package/dist/base/index.cjs +19 -19
  2. package/dist/base/index.d.cts +3 -3
  3. package/dist/base/index.d.mts +4 -4
  4. package/dist/base/index.mjs +2 -2
  5. package/dist/components/blocks/index.cjs +16 -14
  6. package/dist/components/blocks/index.d.cts +2 -1322
  7. package/dist/components/blocks/index.d.mts +2 -1322
  8. package/dist/components/blocks/index.mjs +16 -14
  9. package/dist/components/brand/index.d.cts +1 -314
  10. package/dist/components/brand/index.d.mts +1 -314
  11. package/dist/components/forms/index.cjs +10 -8
  12. package/dist/components/forms/index.d.cts +6 -3
  13. package/dist/components/forms/index.d.mts +6 -3
  14. package/dist/components/forms/index.mjs +10 -8
  15. package/dist/components/shared/index.cjs +3 -1
  16. package/dist/components/shared/index.d.cts +1 -916
  17. package/dist/components/shared/index.d.mts +1 -916
  18. package/dist/components/shared/index.mjs +3 -1
  19. package/dist/components/slideshow/index.cjs +15 -13
  20. package/dist/components/slideshow/index.d.cts +7 -5
  21. package/dist/components/slideshow/index.d.mts +7 -5
  22. package/dist/components/slideshow/index.mjs +15 -13
  23. package/dist/components/utm/index.cjs +4 -2
  24. package/dist/components/utm/index.d.cts +1 -31
  25. package/dist/components/utm/index.d.mts +1 -31
  26. package/dist/components/utm/index.mjs +4 -2
  27. package/dist/document-BFPtEW5P.d.cts +17 -0
  28. package/dist/{document-BPdwRVjm.d.cts → document-CH1Od98-.d.mts} +6 -6
  29. package/dist/{document-BMxLOdrT.d.cts → document-CnKWB70Z.d.cts} +158 -104
  30. package/dist/{document-DY8Wgy1A.d.mts → document-CpsxYzbB.d.cts} +6 -6
  31. package/dist/document-CrnqUGRk.cjs +243 -0
  32. package/dist/document-Cx4Klv8A.mjs +128 -0
  33. package/dist/document-DUHPXtbm.mjs +409 -0
  34. package/dist/{document-DnVLqNHr.cjs → document-DamlTVm7.cjs} +2 -1
  35. package/dist/{document-Cww9JKGT.mjs → document-DnA3Nwgh.mjs} +2 -1
  36. package/dist/{document-Db1-gtyJ.d.mts → document-Dr5-pbqu.d.mts} +158 -104
  37. package/dist/document-GovGVYRl.d.mts +17 -0
  38. package/dist/document-zu6-DmQT.cjs +632 -0
  39. package/dist/entities/audit-log/index.cjs +2 -2
  40. package/dist/entities/audit-log/index.d.cts +2 -2
  41. package/dist/entities/audit-log/index.d.mts +3 -3
  42. package/dist/entities/audit-log/index.mjs +1 -1
  43. package/dist/entities/blog-page/index.d.mts +1 -1
  44. package/dist/entities/blog-post/index.cjs +1 -14
  45. package/dist/entities/blog-post/index.d.cts +2 -3715
  46. package/dist/entities/blog-post/index.d.mts +2 -3715
  47. package/dist/entities/blog-post/index.mjs +2 -14
  48. package/dist/entities/careers-page/index.d.mts +1 -1
  49. package/dist/entities/category/index.cjs +4 -12
  50. package/dist/entities/category/index.d.cts +4 -977
  51. package/dist/entities/category/index.d.mts +4 -977
  52. package/dist/entities/category/index.mjs +3 -10
  53. package/dist/entities/client/index.cjs +3 -29
  54. package/dist/entities/client/index.d.cts +2 -1412
  55. package/dist/entities/client/index.d.mts +2 -1412
  56. package/dist/entities/client/index.mjs +3 -28
  57. package/dist/entities/client-content-pillar/index.cjs +9 -9
  58. package/dist/entities/client-content-pillar/index.d.cts +1 -48
  59. package/dist/entities/client-content-pillar/index.d.mts +1 -48
  60. package/dist/entities/client-content-pillar/index.mjs +2 -2
  61. package/dist/entities/client-media-platform/index.cjs +10 -20
  62. package/dist/entities/client-media-platform/index.d.cts +2 -535
  63. package/dist/entities/client-media-platform/index.d.mts +2 -535
  64. package/dist/entities/client-media-platform/index.mjs +3 -12
  65. package/dist/entities/client-project/index.cjs +22 -30
  66. package/dist/entities/client-project/index.d.cts +2 -476
  67. package/dist/entities/client-project/index.d.mts +2 -476
  68. package/dist/entities/client-project/index.mjs +3 -10
  69. package/dist/entities/client-report/index.cjs +7 -15
  70. package/dist/entities/client-report/index.d.cts +2 -311
  71. package/dist/entities/client-report/index.d.mts +2 -311
  72. package/dist/entities/client-report/index.mjs +3 -10
  73. package/dist/entities/client-styleguide/index.cjs +7 -15
  74. package/dist/entities/client-styleguide/index.d.cts +2 -711
  75. package/dist/entities/client-styleguide/index.d.mts +2 -711
  76. package/dist/entities/client-styleguide/index.mjs +3 -10
  77. package/dist/entities/client-user/index.cjs +17 -26
  78. package/dist/entities/client-user/index.d.cts +2 -291
  79. package/dist/entities/client-user/index.d.mts +2 -291
  80. package/dist/entities/client-user/index.mjs +3 -11
  81. package/dist/entities/comment/index.d.cts +1 -1
  82. package/dist/entities/comment/index.d.mts +1 -1
  83. package/dist/entities/content-pillar/index.cjs +5 -12
  84. package/dist/entities/content-pillar/index.d.cts +2 -335
  85. package/dist/entities/content-pillar/index.d.mts +2 -335
  86. package/dist/entities/content-pillar/index.mjs +3 -9
  87. package/dist/entities/faq-page/index.d.mts +1 -1
  88. package/dist/entities/gcflytour/index.cjs +9 -19
  89. package/dist/entities/gcflytour/index.d.cts +2 -320
  90. package/dist/entities/gcflytour/index.d.mts +2 -320
  91. package/dist/entities/gcflytour/index.mjs +3 -12
  92. package/dist/entities/gcflytour-snap/index.cjs +7 -15
  93. package/dist/entities/gcflytour-snap/index.d.cts +2 -86
  94. package/dist/entities/gcflytour-snap/index.d.mts +2 -86
  95. package/dist/entities/gcflytour-snap/index.mjs +3 -10
  96. package/dist/entities/landing-page/index.d.mts +1 -1
  97. package/dist/entities/lead/index.cjs +2 -2
  98. package/dist/entities/lead/index.mjs +1 -1
  99. package/dist/entities/media-content-type/index.cjs +10 -20
  100. package/dist/entities/media-content-type/index.d.cts +4 -280
  101. package/dist/entities/media-content-type/index.d.mts +4 -280
  102. package/dist/entities/media-content-type/index.mjs +3 -12
  103. package/dist/entities/media-creative-format/index.cjs +7 -15
  104. package/dist/entities/media-creative-format/index.d.cts +4 -42
  105. package/dist/entities/media-creative-format/index.d.mts +4 -42
  106. package/dist/entities/media-creative-format/index.mjs +3 -10
  107. package/dist/entities/media-medium/index.cjs +7 -15
  108. package/dist/entities/media-medium/index.d.cts +4 -273
  109. package/dist/entities/media-medium/index.d.mts +4 -273
  110. package/dist/entities/media-medium/index.mjs +3 -10
  111. package/dist/entities/media-platform/index.cjs +13 -25
  112. package/dist/entities/media-platform/index.d.cts +2 -361
  113. package/dist/entities/media-platform/index.d.mts +2 -361
  114. package/dist/entities/media-platform/index.mjs +3 -14
  115. package/dist/entities/monday-workspace/index.cjs +7 -15
  116. package/dist/entities/monday-workspace/index.d.cts +2 -291
  117. package/dist/entities/monday-workspace/index.d.mts +2 -291
  118. package/dist/entities/monday-workspace/index.mjs +3 -10
  119. package/dist/entities/newsletter-signup/index.cjs +2 -2
  120. package/dist/entities/newsletter-signup/index.mjs +1 -1
  121. package/dist/entities/policy-page/index.d.mts +1 -1
  122. package/dist/entities/product/index.cjs +1 -1
  123. package/dist/entities/product/index.d.cts +1 -319
  124. package/dist/entities/product/index.d.mts +1 -319
  125. package/dist/entities/product/index.mjs +1 -1
  126. package/dist/entities/product-highlight/index.cjs +2 -17
  127. package/dist/entities/product-highlight/index.d.cts +2 -1039
  128. package/dist/entities/product-highlight/index.d.mts +2 -1039
  129. package/dist/entities/product-highlight/index.mjs +2 -14
  130. package/dist/entities/resume/index.cjs +2 -2
  131. package/dist/entities/resume/index.mjs +1 -1
  132. package/dist/entities/tag/index.cjs +3 -3
  133. package/dist/entities/tag/index.d.cts +3 -14
  134. package/dist/entities/tag/index.d.mts +3 -14
  135. package/dist/entities/tag/index.mjs +2 -2
  136. package/dist/entities/team-member/index.cjs +13 -23
  137. package/dist/entities/team-member/index.d.cts +2 -1668
  138. package/dist/entities/team-member/index.d.mts +2 -1668
  139. package/dist/entities/team-member/index.mjs +2 -11
  140. package/dist/entities/team-page/index.d.mts +1 -1
  141. package/dist/entities/trend/index.cjs +3 -3
  142. package/dist/entities/trend/index.d.cts +1 -333
  143. package/dist/entities/trend/index.d.mts +1 -333
  144. package/dist/entities/trend/index.mjs +2 -2
  145. package/dist/entities/up-auth/index.d.cts +1 -1
  146. package/dist/entities/up-auth/index.d.mts +1 -1
  147. package/dist/entities/up-permission/index.cjs +1 -12
  148. package/dist/entities/up-permission/index.d.cts +2 -35
  149. package/dist/entities/up-permission/index.d.mts +2 -35
  150. package/dist/entities/up-permission/index.mjs +2 -10
  151. package/dist/entities/up-role/index.cjs +4 -17
  152. package/dist/entities/up-role/index.d.cts +2 -38
  153. package/dist/entities/up-role/index.d.mts +2 -38
  154. package/dist/entities/up-role/index.mjs +2 -12
  155. package/dist/entities/up-user/index.cjs +2 -16
  156. package/dist/entities/up-user/index.d.cts +2 -106
  157. package/dist/entities/up-user/index.d.mts +2 -106
  158. package/dist/entities/up-user/index.mjs +2 -15
  159. package/dist/entities/user-account/index.cjs +9 -16
  160. package/dist/entities/user-account/index.d.cts +3 -17
  161. package/dist/entities/user-account/index.d.mts +3 -17
  162. package/dist/entities/user-account/index.mjs +4 -10
  163. package/dist/entities/utm-link-builder/index.cjs +5 -5
  164. package/dist/entities/utm-link-builder/index.mjs +1 -1
  165. package/dist/entities/utm-tracking-link/index.cjs +7 -17
  166. package/dist/entities/utm-tracking-link/index.d.cts +2 -236
  167. package/dist/entities/utm-tracking-link/index.d.mts +2 -236
  168. package/dist/entities/utm-tracking-link/index.mjs +3 -12
  169. package/dist/index-22laZYwt.d.mts +34 -0
  170. package/dist/{index-DxyNYBOY.d.mts → index-B-CQQO_E.d.mts} +59 -140
  171. package/dist/index-BCvKbd4C.d.cts +940 -0
  172. package/dist/{index-D6AuLdB6.d.mts → index-BIWFngsB.d.mts} +3 -3
  173. package/dist/index-BQ_nheAt.d.mts +1324 -0
  174. package/dist/{index-Dcwyodut.d.cts → index-COCNx5sv.d.cts} +3 -3
  175. package/dist/index-Cb8BnFcL.d.cts +4731 -0
  176. package/dist/index-Cpbdnd9q.d.cts +317 -0
  177. package/dist/index-D0PCjo7e.d.mts +940 -0
  178. package/dist/index-DB45mxlG.d.mts +921 -0
  179. package/dist/index-Df7ixqwa.d.cts +1324 -0
  180. package/dist/index-GUYqdxFh.d.mts +4731 -0
  181. package/dist/index-NBz_zMvQ.d.cts +34 -0
  182. package/dist/index-Z_fJ28vW.d.mts +317 -0
  183. package/dist/index-_eItTyFr.d.cts +921 -0
  184. package/dist/{index-ZBDWYTfn.d.cts → index-j2pTtcNX.d.cts} +58 -139
  185. package/dist/media-upload-BEfESsVb.d.mts +140 -0
  186. package/dist/media-upload-D-nP8FR1.d.cts +140 -0
  187. package/dist/permissions/index.d.cts +1 -1
  188. package/dist/permissions/index.d.mts +1 -1
  189. package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
  190. package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
  191. package/dist/{query.schema-CItKlb0x.d.cts → query-Cyv28Ggi.d.cts} +1 -1
  192. package/dist/{query.schema-DKllKSKC.d.mts → query-HXwJctNd.d.mts} +1 -1
  193. package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
  194. package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
  195. package/dist/utilities/index.d.cts +2 -4
  196. package/dist/utilities/index.d.mts +2 -4
  197. package/package.json +1 -1
  198. package/dist/document-382ehFRd.mjs +0 -13
  199. package/dist/document-7JBq8iiP.d.mts +0 -100
  200. package/dist/document-8oGgjvHp.cjs +0 -21
  201. package/dist/document-B-BesdbN.cjs +0 -106
  202. package/dist/document-B0Wfxtx_.cjs +0 -31
  203. package/dist/document-B3W1HKLY.cjs +0 -42
  204. package/dist/document-B6m32jys.cjs +0 -26
  205. package/dist/document-BInCC6Wk.d.cts +0 -17
  206. package/dist/document-BM56JclD.mjs +0 -19
  207. package/dist/document-BQ6ulTO1.d.mts +0 -15
  208. package/dist/document-BRxLaO7o.mjs +0 -14
  209. package/dist/document-Bbc9ayLX.cjs +0 -23
  210. package/dist/document-BdMrLGBL.d.cts +0 -244
  211. package/dist/document-BezYxNmb.d.cts +0 -16
  212. package/dist/document-BpFw7FI0.d.mts +0 -16
  213. package/dist/document-Bpgteig6.mjs +0 -51
  214. package/dist/document-BqLA3Y8O.cjs +0 -17
  215. package/dist/document-BqfLH_0k.d.mts +0 -12183
  216. package/dist/document-Bs8c1mok.d.cts +0 -15
  217. package/dist/document-Bt9GvI0D.mjs +0 -10
  218. package/dist/document-Bu5YWCAU.cjs +0 -82
  219. package/dist/document-BumbQ1Eb.d.cts +0 -18
  220. package/dist/document-BvIcrPT7.cjs +0 -171
  221. package/dist/document-C3OB0I_l.mjs +0 -14
  222. package/dist/document-C4ofAcKx.d.mts +0 -434
  223. package/dist/document-CCcofYd9.d.mts +0 -16
  224. package/dist/document-CFlCafnR.mjs +0 -23
  225. package/dist/document-CLNQhWUt.d.cts +0 -12183
  226. package/dist/document-CUGxDcNv.mjs +0 -10
  227. package/dist/document-CW3ycXvJ.mjs +0 -23
  228. package/dist/document-CXQi4qL-.mjs +0 -39
  229. package/dist/document-CaSvsqH_.mjs +0 -16
  230. package/dist/document-CfUkGKW8.mjs +0 -9
  231. package/dist/document-Clr6FjtO.d.cts +0 -30
  232. package/dist/document-Cp8Pptp9.mjs +0 -23
  233. package/dist/document-Ct4bnsKU.d.mts +0 -27
  234. package/dist/document-CxeeO4Pl.d.mts +0 -18
  235. package/dist/document-D1jsgU3z.cjs +0 -24
  236. package/dist/document-D2sLfhsG.mjs +0 -12
  237. package/dist/document-D73dqRle.d.cts +0 -19
  238. package/dist/document-DA6YVZz-.d.cts +0 -100
  239. package/dist/document-DAt2jaAd.cjs +0 -26
  240. package/dist/document-DHP4LdYq.cjs +0 -21
  241. package/dist/document-DIcd27AR.d.mts +0 -30
  242. package/dist/document-DK6Xmvao.d.cts +0 -18
  243. package/dist/document-DL4Wayv7.d.mts +0 -244
  244. package/dist/document-DM_UVNTr.cjs +0 -35
  245. package/dist/document-DN3g0EFx.d.cts +0 -434
  246. package/dist/document-DOF-cc0D.mjs +0 -13
  247. package/dist/document-DX2Vidl1.d.cts +0 -27
  248. package/dist/document-DeOzRkxJ.mjs +0 -24
  249. package/dist/document-DgG9DIT2.cjs +0 -106
  250. package/dist/document-DtBkeafK.cjs +0 -30
  251. package/dist/document-Dv3TYeB2.cjs +0 -30
  252. package/dist/document-DwpVkKFH.cjs +0 -16
  253. package/dist/document-DwsiJVoA.mjs +0 -22
  254. package/dist/document-DwuQKbb9.cjs +0 -20
  255. package/dist/document-HWHxKIhw.mjs +0 -17
  256. package/dist/document-U0OA-83z.cjs +0 -19
  257. package/dist/document-YDFyLZlN.d.mts +0 -18
  258. package/dist/document-a6GT3Sh4.mjs +0 -19
  259. package/dist/document-ahAv6kkH.cjs +0 -17
  260. package/dist/document-bJOLxFq1.d.mts +0 -19
  261. package/dist/document-bbO2HaC_.mjs +0 -110
  262. package/dist/document-cysZuK08.mjs +0 -57
  263. package/dist/document-llX1moYE.mjs +0 -10
  264. package/dist/document-mxwQ5HxZ.cjs +0 -17
  265. package/dist/document-oPQeqMah.cjs +0 -20
  266. package/dist/document-oUROy-QQ.cjs +0 -21
  267. package/dist/document-wBWa6c70.mjs +0 -14
  268. package/dist/document-xVdETwbX.d.cts +0 -16
  269. package/dist/document-yW376Wot.d.mts +0 -17
  270. package/dist/fields-BuP0NSFS.d.mts +0 -7
  271. package/dist/fields-ByZAYnAi.d.cts +0 -7
  272. package/dist/index-DfGGyf7_.d.cts +0 -114
  273. package/dist/index-Dj9J1FKD.d.mts +0 -114
  274. package/dist/relations-CG_9IVCD.d.cts +0 -274
  275. package/dist/relations-DxgFak1L.d.mts +0 -274
  276. package/dist/response-BZKHnpHe.d.mts +0 -57
  277. package/dist/response-c6SgLvi9.d.cts +0 -57
  278. /package/dist/{document-B_wA1eag.cjs → document-Ccvtwgy_.cjs} +0 -0
  279. /package/dist/{document-BxOiI95X.mjs → document-D060zybc.mjs} +0 -0
  280. /package/dist/{document-D067FSuD.cjs → document-DaICHS9G.cjs} +0 -0
  281. /package/dist/{document-B_cRo5-b.mjs → document-c3GNPelp.mjs} +0 -0
  282. /package/dist/{json-BbJGr6x_.d.mts → json-p1Yf7cEr.d.mts} +0 -0
@@ -1,106 +1,2 @@
1
- import { r as UserDocument } from "../../index-DfGGyf7_.cjs";
2
- import { p as ClientEntityScope } from "../../document-CLNQhWUt.cjs";
3
- import * as v from "valibot";
4
-
5
- //#region src/entities/up-user/constants.d.ts
6
- declare const LIMIT_USER_PAGINATION_DEFAULT_SIZE = 10;
7
- declare const LIMIT_USER_PAGINATION_MAX_SIZE = 10;
8
- declare const USER_SORT_KEYS: readonly ["id", "username", "email", "confirmed", "blocked", "createdAt", "updatedAt"];
9
- //#endregion
10
- //#region src/entities/up-user/fields.d.ts
11
- declare const QuerySortUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
12
- type QuerySortUsers = v.InferOutput<typeof QuerySortUsers>;
13
- //#endregion
14
- //#region src/entities/up-user/mutation.d.ts
15
- declare const CreateUserDocument: v.ObjectSchema<{
16
- readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
17
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
18
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
19
- readonly blocked: v.BooleanSchema<undefined>;
20
- readonly confirmed: v.BooleanSchema<undefined>;
21
- readonly role: v.NumberSchema<undefined>;
22
- }, undefined>;
23
- type CreateUserDocument = v.InferOutput<typeof CreateUserDocument>;
24
- //#endregion
25
- //#region src/entities/up-user/query.d.ts
26
- declare const QueryStrapiUsers: v.ObjectSchema<{
27
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
28
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
29
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
30
- }, undefined>;
31
- type QueryStrapiUsers = v.InferOutput<typeof QueryStrapiUsers>;
32
- declare const QueryStrapiUsersByIdentifier: v.ObjectSchema<{
33
- readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
34
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
35
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
36
- }, undefined>;
37
- type QueryStrapiUsersByIdentifier = v.InferOutput<typeof QueryStrapiUsersByIdentifier>;
38
- //#endregion
39
- //#region src/entities/up-user/relations.d.ts
40
- declare const UserDocumentWithRelations: v.ObjectSchema<{
41
- readonly role: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
42
- readonly type: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
43
- readonly name: v.StringSchema<undefined>;
44
- readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
45
- readonly id: v.NumberSchema<undefined>;
46
- readonly documentId: v.StringSchema<undefined>;
47
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
48
- readonly createdAt: v.StringSchema<undefined>;
49
- readonly updatedAt: v.StringSchema<undefined>;
50
- }, undefined>>, undefined>, undefined>;
51
- readonly account: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
52
- readonly preferred_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
53
- readonly first_name: v.StringSchema<undefined>;
54
- readonly last_name: v.StringSchema<undefined>;
55
- readonly id: v.NumberSchema<undefined>;
56
- readonly documentId: v.StringSchema<undefined>;
57
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
58
- readonly createdAt: v.StringSchema<undefined>;
59
- readonly updatedAt: v.StringSchema<undefined>;
60
- }, undefined>>, undefined>, undefined>;
61
- readonly clients: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
62
- readonly scopes: v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<ClientEntityScope[], undefined>]>, "Please provide a valid list of scopes.">, v.MaxLengthAction<ClientEntityScope[], number, "You cannot provide more scopes than there are available.">]>, undefined>;
63
- readonly id: v.NumberSchema<undefined>;
64
- readonly documentId: v.StringSchema<undefined>;
65
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
66
- readonly createdAt: v.StringSchema<undefined>;
67
- readonly updatedAt: v.StringSchema<undefined>;
68
- }, undefined>>, undefined>, undefined>, undefined>;
69
- readonly utm_tracking_links: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
70
- readonly url_destination: v.StringSchema<undefined>;
71
- readonly utm_medium: v.StringSchema<undefined>;
72
- readonly utm_source: v.StringSchema<undefined>;
73
- readonly utm_campaign: v.StringSchema<undefined>;
74
- readonly utm_content: v.NullableSchema<v.StringSchema<undefined>, undefined>;
75
- readonly utm_creative_format: v.NullableSchema<v.StringSchema<undefined>, undefined>;
76
- readonly utm_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
77
- readonly campaign_phase: v.StringSchema<undefined>;
78
- readonly campaign_product: v.NullableSchema<v.StringSchema<undefined>, undefined>;
79
- readonly campaign_targeting: v.NullableSchema<v.StringSchema<undefined>, undefined>;
80
- readonly campaign_key: v.NullableSchema<v.StringSchema<undefined>, undefined>;
81
- readonly creative_format: v.NullableSchema<v.StringSchema<undefined>, undefined>;
82
- readonly creative_format_variants: v.NullableSchema<v.StringSchema<undefined>, undefined>;
83
- readonly url: v.StringSchema<undefined>;
84
- readonly is_active: v.BooleanSchema<undefined>;
85
- readonly notes: v.NullableSchema<v.StringSchema<undefined>, undefined>;
86
- readonly id: v.NumberSchema<undefined>;
87
- readonly documentId: v.StringSchema<undefined>;
88
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
89
- readonly createdAt: v.StringSchema<undefined>;
90
- readonly updatedAt: v.StringSchema<undefined>;
91
- }, undefined>>, undefined>, undefined>, undefined>;
92
- readonly username: v.StringSchema<undefined>;
93
- readonly email: v.StringSchema<undefined>;
94
- readonly provider: v.StringSchema<undefined>;
95
- readonly confirmed: v.BooleanSchema<undefined>;
96
- readonly blocked: v.BooleanSchema<undefined>;
97
- readonly clerk_user_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
98
- readonly id: v.NumberSchema<undefined>;
99
- readonly documentId: v.StringSchema<undefined>;
100
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
101
- readonly createdAt: v.StringSchema<undefined>;
102
- readonly updatedAt: v.StringSchema<undefined>;
103
- }, undefined>;
104
- type UserDocumentWithRelations = v.InferOutput<typeof UserDocumentWithRelations>;
105
- //#endregion
106
- export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, UserDocumentWithRelations };
1
+ import { C as QueryStrapiUsersByIdentifier, D as LIMIT_USER_PAGINATION_MAX_SIZE, E as LIMIT_USER_PAGINATION_DEFAULT_SIZE, Ln as UserDocument, O as USER_SORT_KEYS, S as QueryStrapiUsers, T as QuerySortUsers, w as CreateUserDocument } from "../../index-Cb8BnFcL.cjs";
2
+ export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
@@ -1,106 +1,2 @@
1
- import { r as UserDocument } from "../../index-Dj9J1FKD.mjs";
2
- import { p as ClientEntityScope } from "../../document-BqfLH_0k.mjs";
3
- import * as v from "valibot";
4
-
5
- //#region src/entities/up-user/constants.d.ts
6
- declare const LIMIT_USER_PAGINATION_DEFAULT_SIZE = 10;
7
- declare const LIMIT_USER_PAGINATION_MAX_SIZE = 10;
8
- declare const USER_SORT_KEYS: readonly ["id", "username", "email", "confirmed", "blocked", "createdAt", "updatedAt"];
9
- //#endregion
10
- //#region src/entities/up-user/fields.d.ts
11
- declare const QuerySortUsers: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
12
- type QuerySortUsers = v.InferOutput<typeof QuerySortUsers>;
13
- //#endregion
14
- //#region src/entities/up-user/mutation.d.ts
15
- declare const CreateUserDocument: v.ObjectSchema<{
16
- readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
17
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
18
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
19
- readonly blocked: v.BooleanSchema<undefined>;
20
- readonly confirmed: v.BooleanSchema<undefined>;
21
- readonly role: v.NumberSchema<undefined>;
22
- }, undefined>;
23
- type CreateUserDocument = v.InferOutput<typeof CreateUserDocument>;
24
- //#endregion
25
- //#region src/entities/up-user/query.d.ts
26
- declare const QueryStrapiUsers: v.ObjectSchema<{
27
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
28
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
29
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "blocked:ASC" | "blocked:DESC" | "username:ASC" | "email:ASC" | "confirmed:ASC" | "username:DESC" | "email:DESC" | "confirmed:DESC")[], 7, undefined>]>, undefined>;
30
- }, undefined>;
31
- type QueryStrapiUsers = v.InferOutput<typeof QueryStrapiUsers>;
32
- declare const QueryStrapiUsersByIdentifier: v.ObjectSchema<{
33
- readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
34
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
35
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
36
- }, undefined>;
37
- type QueryStrapiUsersByIdentifier = v.InferOutput<typeof QueryStrapiUsersByIdentifier>;
38
- //#endregion
39
- //#region src/entities/up-user/relations.d.ts
40
- declare const UserDocumentWithRelations: v.ObjectSchema<{
41
- readonly role: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
42
- readonly type: v.PicklistSchema<readonly ["authenticated", "public", "employee", "manager", "client"], undefined>;
43
- readonly name: v.StringSchema<undefined>;
44
- readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
45
- readonly id: v.NumberSchema<undefined>;
46
- readonly documentId: v.StringSchema<undefined>;
47
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
48
- readonly createdAt: v.StringSchema<undefined>;
49
- readonly updatedAt: v.StringSchema<undefined>;
50
- }, undefined>>, undefined>, undefined>;
51
- readonly account: v.OptionalSchema<v.NullableSchema<v.LazySchema<v.ObjectSchema<{
52
- readonly preferred_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
53
- readonly first_name: v.StringSchema<undefined>;
54
- readonly last_name: v.StringSchema<undefined>;
55
- readonly id: v.NumberSchema<undefined>;
56
- readonly documentId: v.StringSchema<undefined>;
57
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
58
- readonly createdAt: v.StringSchema<undefined>;
59
- readonly updatedAt: v.StringSchema<undefined>;
60
- }, undefined>>, undefined>, undefined>;
61
- readonly clients: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
62
- readonly scopes: v.ArraySchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<ClientEntityScope[], undefined>]>, "Please provide a valid list of scopes.">, v.MaxLengthAction<ClientEntityScope[], number, "You cannot provide more scopes than there are available.">]>, undefined>;
63
- readonly id: v.NumberSchema<undefined>;
64
- readonly documentId: v.StringSchema<undefined>;
65
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
66
- readonly createdAt: v.StringSchema<undefined>;
67
- readonly updatedAt: v.StringSchema<undefined>;
68
- }, undefined>>, undefined>, undefined>, undefined>;
69
- readonly utm_tracking_links: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.LazySchema<v.ObjectSchema<{
70
- readonly url_destination: v.StringSchema<undefined>;
71
- readonly utm_medium: v.StringSchema<undefined>;
72
- readonly utm_source: v.StringSchema<undefined>;
73
- readonly utm_campaign: v.StringSchema<undefined>;
74
- readonly utm_content: v.NullableSchema<v.StringSchema<undefined>, undefined>;
75
- readonly utm_creative_format: v.NullableSchema<v.StringSchema<undefined>, undefined>;
76
- readonly utm_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
77
- readonly campaign_phase: v.StringSchema<undefined>;
78
- readonly campaign_product: v.NullableSchema<v.StringSchema<undefined>, undefined>;
79
- readonly campaign_targeting: v.NullableSchema<v.StringSchema<undefined>, undefined>;
80
- readonly campaign_key: v.NullableSchema<v.StringSchema<undefined>, undefined>;
81
- readonly creative_format: v.NullableSchema<v.StringSchema<undefined>, undefined>;
82
- readonly creative_format_variants: v.NullableSchema<v.StringSchema<undefined>, undefined>;
83
- readonly url: v.StringSchema<undefined>;
84
- readonly is_active: v.BooleanSchema<undefined>;
85
- readonly notes: v.NullableSchema<v.StringSchema<undefined>, undefined>;
86
- readonly id: v.NumberSchema<undefined>;
87
- readonly documentId: v.StringSchema<undefined>;
88
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
89
- readonly createdAt: v.StringSchema<undefined>;
90
- readonly updatedAt: v.StringSchema<undefined>;
91
- }, undefined>>, undefined>, undefined>, undefined>;
92
- readonly username: v.StringSchema<undefined>;
93
- readonly email: v.StringSchema<undefined>;
94
- readonly provider: v.StringSchema<undefined>;
95
- readonly confirmed: v.BooleanSchema<undefined>;
96
- readonly blocked: v.BooleanSchema<undefined>;
97
- readonly clerk_user_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
98
- readonly id: v.NumberSchema<undefined>;
99
- readonly documentId: v.StringSchema<undefined>;
100
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
101
- readonly createdAt: v.StringSchema<undefined>;
102
- readonly updatedAt: v.StringSchema<undefined>;
103
- }, undefined>;
104
- type UserDocumentWithRelations = v.InferOutput<typeof UserDocumentWithRelations>;
105
- //#endregion
106
- export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, UserDocumentWithRelations };
1
+ import { C as QueryStrapiUsersByIdentifier, D as LIMIT_USER_PAGINATION_MAX_SIZE, E as LIMIT_USER_PAGINATION_DEFAULT_SIZE, Ln as UserDocument, O as USER_SORT_KEYS, S as QueryStrapiUsers, T as QuerySortUsers, w as CreateUserDocument } from "../../index-GUYqdxFh.mjs";
2
+ export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
@@ -1,10 +1,6 @@
1
1
  import { s as REGEX_UTM_VALUE } from "../../regex-BnKGcdS4.mjs";
2
2
  import { d as VStringMinMax, f as VStringMinMaxRegex, h as VStringShort, i as VSize, o as VStringEmail, r as VPage } from "../../validators-P5E_3qzc.mjs";
3
- import { t as ClientUserDocument } from "../../document-CXQi4qL-.mjs";
4
- import { t as UtmTrackingLinkDocument } from "../../document-DeOzRkxJ.mjs";
5
- import { t as RoleDocument } from "../../document-CFlCafnR.mjs";
6
- import { t as UserDocument } from "../../document-BRxLaO7o.mjs";
7
- import { t as UserAccountDocument } from "../../document-Cww9JKGT.mjs";
3
+ import { a as UserDocument } from "../../document-DUHPXtbm.mjs";
8
4
  import * as v from "valibot";
9
5
  //#region src/entities/up-user/constants.ts
10
6
  const LIMIT_USER_PAGINATION_DEFAULT_SIZE = 10;
@@ -44,13 +40,4 @@ const QueryStrapiUsersByIdentifier = v.object({
44
40
  size: VSize(10)
45
41
  });
46
42
  //#endregion
47
- //#region src/entities/up-user/relations.ts
48
- const UserDocumentWithRelations = v.object({
49
- ...UserDocument.entries,
50
- role: v.optional(v.nullable(v.lazy(() => RoleDocument))),
51
- account: v.optional(v.nullable(v.lazy(() => UserAccountDocument))),
52
- clients: v.optional(v.nullable(v.array(v.lazy(() => ClientUserDocument)))),
53
- utm_tracking_links: v.optional(v.nullable(v.array(v.lazy(() => UtmTrackingLinkDocument))))
54
- });
55
- //#endregion
56
- export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, UserDocumentWithRelations };
43
+ export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
@@ -1,41 +1,35 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_query_schema = require("../../query.schema-DHTf6rTw.cjs");
3
+ const require_query = require("../../query-7g1AOXN9.cjs");
4
4
  require("../../regex-Cl5goNwp.cjs");
5
5
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
6
- const require_relations = require("../../relations-CGu18hfT.cjs");
7
- const require_document = require("../../document-DnVLqNHr.cjs");
6
+ const require_relationships = require("../../relationships-CWVJebkQ.cjs");
7
+ const require_document = require("../../document-DamlTVm7.cjs");
8
8
  let valibot = require("valibot");
9
9
  valibot = require_chunk.__toESM(valibot, 1);
10
10
  //#region src/entities/user-account/mutation.ts
11
11
  const UpdateUserAccount = valibot.object({
12
- documentId: require_relations.SAssociateOneEntity,
12
+ documentId: require_relationships.SAssociateOneEntity,
13
13
  first_name: require_validators.VStringMinMax(1, 255),
14
14
  last_name: require_validators.VStringMinMax(1, 255),
15
15
  preferred_name: valibot.nullable(require_validators.VStringMinMax(1, 255))
16
16
  });
17
17
  const UpdateUserAccountFirstName = valibot.object({
18
- documentId: require_relations.SAssociateOneEntity,
18
+ documentId: require_relationships.SAssociateOneEntity,
19
19
  first_name: require_validators.VStringMinMax(1, 255)
20
20
  });
21
21
  const UpdateUserAccountLastName = valibot.object({
22
- documentId: require_relations.SAssociateOneEntity,
22
+ documentId: require_relationships.SAssociateOneEntity,
23
23
  last_name: require_validators.VStringMinMax(1, 255)
24
24
  });
25
25
  const UpdateUserAccountPreferredName = valibot.object({
26
- documentId: require_relations.SAssociateOneEntity,
26
+ documentId: require_relationships.SAssociateOneEntity,
27
27
  preferred_name: valibot.nullable(require_validators.VStringMinMax(1, 255))
28
28
  });
29
29
  //#endregion
30
30
  //#region src/entities/user-account/query.ts
31
- const SReadUserAccountById = require_query_schema.QueryStrapiById;
32
- const SReadUserAccountByDocumentId = require_query_schema.QueryStrapiByDocumentId;
33
- //#endregion
34
- //#region src/entities/user-account/relations.ts
35
- const UserAccountDocumentWithRelations = valibot.object({
36
- ...require_document.UserAccountDocument.entries,
37
- user: valibot.optional(valibot.unknown())
38
- });
31
+ const SReadUserAccountById = require_query.QueryStrapiById;
32
+ const SReadUserAccountByDocumentId = require_query.QueryStrapiByDocumentId;
39
33
  //#endregion
40
34
  exports.SReadUserAccountByDocumentId = SReadUserAccountByDocumentId;
41
35
  exports.SReadUserAccountById = SReadUserAccountById;
@@ -44,4 +38,3 @@ exports.UpdateUserAccountFirstName = UpdateUserAccountFirstName;
44
38
  exports.UpdateUserAccountLastName = UpdateUserAccountLastName;
45
39
  exports.UpdateUserAccountPreferredName = UpdateUserAccountPreferredName;
46
40
  exports.UserAccountDocument = require_document.UserAccountDocument;
47
- exports.UserAccountDocumentWithRelations = UserAccountDocumentWithRelations;
@@ -1,5 +1,5 @@
1
- import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-CItKlb0x.cjs";
2
- import { t as UserAccountDocument } from "../../document-xVdETwbX.cjs";
1
+ import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-Cyv28Ggi.cjs";
2
+ import { t as UserAccountDocument } from "../../document-BFPtEW5P.cjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/entities/user-account/mutation.d.ts
@@ -36,18 +36,4 @@ declare const SReadUserAccountByDocumentId: v.ObjectSchema<{
36
36
  }, undefined>;
37
37
  type SReadUserAccountByDocumentId = QueryStrapiByDocumentId;
38
38
  //#endregion
39
- //#region src/entities/user-account/relations.d.ts
40
- declare const UserAccountDocumentWithRelations: v.ObjectSchema<{
41
- readonly user: v.OptionalSchema<v.UnknownSchema, undefined>;
42
- readonly preferred_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
43
- readonly first_name: v.StringSchema<undefined>;
44
- readonly last_name: v.StringSchema<undefined>;
45
- readonly id: v.NumberSchema<undefined>;
46
- readonly documentId: v.StringSchema<undefined>;
47
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
48
- readonly createdAt: v.StringSchema<undefined>;
49
- readonly updatedAt: v.StringSchema<undefined>;
50
- }, undefined>;
51
- type UserAccountDocumentWithRelations = v.InferOutput<typeof UserAccountDocumentWithRelations>;
52
- //#endregion
53
- export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument, UserAccountDocumentWithRelations };
39
+ export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument };
@@ -1,5 +1,5 @@
1
- import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-DKllKSKC.mjs";
2
- import { t as UserAccountDocument } from "../../document-BpFw7FI0.mjs";
1
+ import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-HXwJctNd.mjs";
2
+ import { t as UserAccountDocument } from "../../document-GovGVYRl.mjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/entities/user-account/mutation.d.ts
@@ -36,18 +36,4 @@ declare const SReadUserAccountByDocumentId: v.ObjectSchema<{
36
36
  }, undefined>;
37
37
  type SReadUserAccountByDocumentId = QueryStrapiByDocumentId;
38
38
  //#endregion
39
- //#region src/entities/user-account/relations.d.ts
40
- declare const UserAccountDocumentWithRelations: v.ObjectSchema<{
41
- readonly user: v.OptionalSchema<v.UnknownSchema, undefined>;
42
- readonly preferred_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
43
- readonly first_name: v.StringSchema<undefined>;
44
- readonly last_name: v.StringSchema<undefined>;
45
- readonly id: v.NumberSchema<undefined>;
46
- readonly documentId: v.StringSchema<undefined>;
47
- readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
48
- readonly createdAt: v.StringSchema<undefined>;
49
- readonly updatedAt: v.StringSchema<undefined>;
50
- }, undefined>;
51
- type UserAccountDocumentWithRelations = v.InferOutput<typeof UserAccountDocumentWithRelations>;
52
- //#endregion
53
- export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument, UserAccountDocumentWithRelations };
39
+ export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument };
@@ -1,8 +1,8 @@
1
- import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-YKoOuBnk.mjs";
1
+ import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-CeUev0uJ.mjs";
2
2
  import "../../regex-BnKGcdS4.mjs";
3
3
  import { d as VStringMinMax } from "../../validators-P5E_3qzc.mjs";
4
- import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
5
- import { t as UserAccountDocument } from "../../document-Cww9JKGT.mjs";
4
+ import { a as SAssociateOneEntity } from "../../relationships-BosK0kyG.mjs";
5
+ import { t as UserAccountDocument } from "../../document-DnA3Nwgh.mjs";
6
6
  import * as v from "valibot";
7
7
  //#region src/entities/user-account/mutation.ts
8
8
  const UpdateUserAccount = v.object({
@@ -28,10 +28,4 @@ const UpdateUserAccountPreferredName = v.object({
28
28
  const SReadUserAccountById = QueryStrapiById;
29
29
  const SReadUserAccountByDocumentId = QueryStrapiByDocumentId;
30
30
  //#endregion
31
- //#region src/entities/user-account/relations.ts
32
- const UserAccountDocumentWithRelations = v.object({
33
- ...UserAccountDocument.entries,
34
- user: v.optional(v.unknown())
35
- });
36
- //#endregion
37
- export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument, UserAccountDocumentWithRelations };
31
+ export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument };
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
3
  const require_regex = require("../../regex-Cl5goNwp.cjs");
4
4
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
5
- const require_relations = require("../../relations-CGu18hfT.cjs");
5
+ const require_relationships = require("../../relationships-CWVJebkQ.cjs");
6
6
  let valibot = require("valibot");
7
7
  valibot = require_chunk.__toESM(valibot, 1);
8
8
  //#region src/entities/utm-link-builder/constants.ts
@@ -41,8 +41,8 @@ const SUtmLinkBuilderCreativeFormat = valibot.object({
41
41
  }))
42
42
  });
43
43
  const SUtmLinkBuilderTableForm = valibot.object({
44
- creator: require_relations.SAssociateOneEntity,
45
- client: require_relations.SAssociateOneEntity,
44
+ creator: require_relationships.SAssociateOneEntity,
45
+ client: require_relationships.SAssociateOneEntity,
46
46
  variants: valibot.pipe(valibot.array(valibot.object({
47
47
  url_destinations: valibot.pipe(valibot.array(valibot.object({ url: valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
48
48
  if (input === "") return false;
@@ -58,8 +58,8 @@ const SUtmLinkBuilderTableForm = valibot.object({
58
58
  notes: valibot.optional(require_validators.VStringMax())
59
59
  });
60
60
  const SUtmLinkBuilderSingleForm = valibot.object({
61
- creator: require_relations.SAssociateOneEntity,
62
- client: require_relations.SAssociateOneEntity,
61
+ creator: require_relationships.SAssociateOneEntity,
62
+ client: require_relationships.SAssociateOneEntity,
63
63
  url_destination: valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
64
64
  if (input === "") return false;
65
65
  return input.indexOf("?") === -1;
@@ -1,6 +1,6 @@
1
1
  import { J as ERROR_MESSAGE_UTM_URL, K as ERROR_MESSAGE_URL_NO_QUERY_PARAMS, U as ERROR_MESSAGE_INVALID_URL, r as ERROR_MESSAGE_REGEX_UTM_VALUE, s as REGEX_UTM_VALUE } from "../../regex-BnKGcdS4.mjs";
2
2
  import { d as VStringMinMax, l as VStringMax, t as VIntegerNullable, u as VStringMaxRegex } from "../../validators-P5E_3qzc.mjs";
3
- import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
3
+ import { a as SAssociateOneEntity } from "../../relationships-BosK0kyG.mjs";
4
4
  import * as v from "valibot";
5
5
  //#region src/entities/utm-link-builder/constants.ts
6
6
  const UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS = [
@@ -2,10 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
3
  const require_regex = require("../../regex-Cl5goNwp.cjs");
4
4
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
5
- const require_relations = require("../../relations-CGu18hfT.cjs");
6
- const require_document = require("../../document-DtBkeafK.cjs");
7
- const require_document$1 = require("../../document-B0Wfxtx_.cjs");
8
- const require_document$2 = require("../../document-oUROy-QQ.cjs");
5
+ const require_relationships = require("../../relationships-CWVJebkQ.cjs");
6
+ const require_document = require("../../document-zu6-DmQT.cjs");
9
7
  let valibot = require("valibot");
10
8
  valibot = require_chunk.__toESM(valibot, 1);
11
9
  //#region src/entities/utm-tracking-link/constants.ts
@@ -123,13 +121,13 @@ const UpdateUtmTrackingLinkDocument = valibot.object({
123
121
  campaign_targeting: valibot.optional(valibot.nullable(valibot.pipe(valibot.array(require_validators.VStringShort()), valibot.transform((value) => value.join(","))))),
124
122
  campaign_key: valibot.optional(valibot.nullable(require_validators.VStringMinMaxRegex(1, 255, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE))),
125
123
  creative_format: valibot.optional(valibot.nullable(require_validators.VStringMinMax(1, 255))),
126
- creative_format_variants: valibot.optional(valibot.nullable(valibot.pipe(valibot.array(require_relations.SAssociateOneEntity), valibot.transform((value) => value.join(","))))),
124
+ creative_format_variants: valibot.optional(valibot.nullable(valibot.pipe(valibot.array(require_relationships.SAssociateOneEntity), valibot.transform((value) => value.join(","))))),
127
125
  url: require_validators.VStringUrlUtm(),
128
126
  is_active: valibot.boolean(),
129
127
  notes: valibot.optional(valibot.nullable(require_validators.VStringMinMaxRegex(1, require_regex.LIMIT_LONG_STRING_MAX_LENGTH, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE)))
130
128
  });
131
129
  const UpdateUtmTrackingLinkDocumentRequest = valibot.object({
132
- documentId: require_relations.SAssociateOneEntity,
130
+ documentId: require_relationships.SAssociateOneEntity,
133
131
  data: UpdateUtmTrackingLinkDocument
134
132
  });
135
133
  //#endregion
@@ -139,8 +137,8 @@ const QueryStrapiSearchUtmTrackingLinks = valibot.object({
139
137
  size: require_validators.VSize(100),
140
138
  client_id: valibot.optional(require_validators.VStringShort()),
141
139
  creator_id: valibot.optional(require_validators.VStringShort()),
142
- clients: valibot.optional(require_relations.SQueryManyEntities),
143
- users: valibot.optional(require_relations.SQueryManyEntities),
140
+ clients: valibot.optional(require_relationships.SQueryManyEntities),
141
+ users: valibot.optional(require_relationships.SQueryManyEntities),
144
142
  url_destination: valibot.optional(valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
145
143
  if (input === "") return false;
146
144
  return input.indexOf("?") === -1;
@@ -165,13 +163,6 @@ const QueryStrapiSearchUtmTrackingLinks = valibot.object({
165
163
  sort: QuerySortUtmTrackingLinks
166
164
  });
167
165
  //#endregion
168
- //#region src/entities/utm-tracking-link/relations.ts
169
- const UtmTrackingLinkDocumentWithRelations = valibot.object({
170
- ...require_document$1.UtmTrackingLinkDocument.entries,
171
- creator: valibot.optional(valibot.nullable(valibot.lazy(() => require_document$2.UserDocument))),
172
- client: valibot.optional(valibot.nullable(valibot.lazy(() => require_document.ClientDocument)))
173
- });
174
- //#endregion
175
166
  exports.CreateUtmTrackingLinkDocument = CreateUtmTrackingLinkDocument;
176
167
  exports.CreateUtmTrackingLinkDocumentRequest = CreateUtmTrackingLinkDocumentRequest;
177
168
  exports.CreateUtmTrackingLinkParts = CreateUtmTrackingLinkParts;
@@ -184,5 +175,4 @@ exports.SReadUtmTrackingLinkDocumentByUrl = SReadUtmTrackingLinkDocumentByUrl;
184
175
  exports.UTM_TRACKING_LINK_SORT_KEYS = UTM_TRACKING_LINK_SORT_KEYS;
185
176
  exports.UpdateUtmTrackingLinkDocument = UpdateUtmTrackingLinkDocument;
186
177
  exports.UpdateUtmTrackingLinkDocumentRequest = UpdateUtmTrackingLinkDocumentRequest;
187
- exports.UtmTrackingLinkDocument = require_document$1.UtmTrackingLinkDocument;
188
- exports.UtmTrackingLinkDocumentWithRelations = UtmTrackingLinkDocumentWithRelations;
178
+ exports.UtmTrackingLinkDocument = require_document.UtmTrackingLinkDocument;