@getcommunity/gc-validators 0.0.271-alpha.25 → 0.0.271-alpha.27

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 (278) hide show
  1. package/dist/base/index.cjs +9 -27
  2. package/dist/base/index.d.cts +2 -2
  3. package/dist/base/index.d.mts +4 -4
  4. package/dist/base/index.mjs +5 -5
  5. package/dist/components/blocks/index.cjs +5 -4
  6. package/dist/components/blocks/index.d.cts +1 -1
  7. package/dist/components/blocks/index.d.mts +1 -1
  8. package/dist/components/blocks/index.mjs +5 -4
  9. package/dist/components/brand/index.cjs +3 -2
  10. package/dist/components/brand/index.d.cts +1 -1
  11. package/dist/components/brand/index.d.mts +1 -1
  12. package/dist/components/brand/index.mjs +3 -2
  13. package/dist/components/forms/index.cjs +2 -1
  14. package/dist/components/forms/index.d.cts +280 -280
  15. package/dist/components/forms/index.d.mts +280 -280
  16. package/dist/components/forms/index.mjs +2 -1
  17. package/dist/components/shared/index.cjs +5 -4
  18. package/dist/components/shared/index.d.cts +1 -1
  19. package/dist/components/shared/index.d.mts +1 -1
  20. package/dist/components/shared/index.mjs +5 -4
  21. package/dist/components/slideshow/index.d.cts +280 -280
  22. package/dist/components/slideshow/index.d.mts +280 -280
  23. package/dist/components/utm/index.d.mts +1 -1
  24. package/dist/constants/index.cjs +45 -43
  25. package/dist/constants/index.mjs +4 -2
  26. package/dist/{document-TlMeVEGy.d.cts → document-3h6g5Qqr.d.cts} +1 -1
  27. package/dist/{document-DjM6F56Q.cjs → document-AqtoEbX8.cjs} +19 -24
  28. package/dist/{document-aEa-gTmH.mjs → document-BCbxKqGE.mjs} +20 -19
  29. package/dist/{document-kvIqz0p6.mjs → document-BWso8VC7.mjs} +62 -56
  30. package/dist/{document-CwIvc2p7.cjs → document-DJJFS5o8.cjs} +2 -1
  31. package/dist/{document-CDavjuJ-.mjs → document-DRyRy2Mw.mjs} +2 -1
  32. package/dist/{document-CAkRm1Y_.d.mts → document-DqE9ISOk.d.mts} +2 -2
  33. package/dist/{document-DOVZwQRq.cjs → document-DwkycUz9.cjs} +74 -62
  34. package/dist/email-ByTEdUjg.cjs +13 -0
  35. package/dist/email-Cnyi5Neo.mjs +6 -0
  36. package/dist/entities/audit-log/index.cjs +44 -41
  37. package/dist/entities/audit-log/index.d.cts +3 -2
  38. package/dist/entities/audit-log/index.d.mts +4 -3
  39. package/dist/entities/audit-log/index.mjs +6 -3
  40. package/dist/entities/blog-page/index.d.cts +1 -1
  41. package/dist/entities/blog-page/index.d.mts +1 -1
  42. package/dist/entities/blog-post/index.cjs +10 -9
  43. package/dist/entities/blog-post/index.d.cts +1 -1
  44. package/dist/entities/blog-post/index.d.mts +1 -1
  45. package/dist/entities/blog-post/index.mjs +4 -3
  46. package/dist/entities/careers-page/index.d.cts +1 -1
  47. package/dist/entities/careers-page/index.d.mts +1 -1
  48. package/dist/entities/category/index.cjs +15 -13
  49. package/dist/entities/category/index.d.cts +7 -6
  50. package/dist/entities/category/index.d.mts +7 -6
  51. package/dist/entities/category/index.mjs +11 -9
  52. package/dist/entities/client/index.cjs +23 -22
  53. package/dist/entities/client/index.d.cts +1 -1
  54. package/dist/entities/client/index.d.mts +1 -1
  55. package/dist/entities/client/index.mjs +16 -15
  56. package/dist/entities/client-content-pillar/index.cjs +14 -13
  57. package/dist/entities/client-content-pillar/index.d.cts +1 -1
  58. package/dist/entities/client-content-pillar/index.d.mts +1 -1
  59. package/dist/entities/client-content-pillar/index.mjs +12 -11
  60. package/dist/entities/client-media-platform/index.cjs +18 -16
  61. package/dist/entities/client-media-platform/index.d.cts +1 -1
  62. package/dist/entities/client-media-platform/index.d.mts +1 -1
  63. package/dist/entities/client-media-platform/index.mjs +13 -11
  64. package/dist/entities/client-project/index.cjs +47 -41
  65. package/dist/entities/client-project/index.d.cts +1 -1
  66. package/dist/entities/client-project/index.d.mts +1 -1
  67. package/dist/entities/client-project/index.mjs +11 -5
  68. package/dist/entities/client-report/index.cjs +18 -16
  69. package/dist/entities/client-report/index.d.cts +1 -1
  70. package/dist/entities/client-report/index.d.mts +1 -1
  71. package/dist/entities/client-report/index.mjs +14 -12
  72. package/dist/entities/client-styleguide/index.cjs +14 -13
  73. package/dist/entities/client-styleguide/index.d.cts +1 -1
  74. package/dist/entities/client-styleguide/index.d.mts +1 -1
  75. package/dist/entities/client-styleguide/index.mjs +11 -10
  76. package/dist/entities/client-user/index.cjs +7 -7
  77. package/dist/entities/client-user/index.d.cts +1 -1
  78. package/dist/entities/client-user/index.d.mts +1 -1
  79. package/dist/entities/client-user/index.mjs +5 -5
  80. package/dist/entities/comment/index.cjs +18 -16
  81. package/dist/entities/comment/index.d.cts +1 -1
  82. package/dist/entities/comment/index.d.mts +1 -1
  83. package/dist/entities/comment/index.mjs +12 -10
  84. package/dist/entities/content-pillar/index.cjs +20 -18
  85. package/dist/entities/content-pillar/index.d.cts +1 -1
  86. package/dist/entities/content-pillar/index.d.mts +1 -1
  87. package/dist/entities/content-pillar/index.mjs +15 -13
  88. package/dist/entities/faq-page/index.cjs +2 -1
  89. package/dist/entities/faq-page/index.d.cts +2 -2
  90. package/dist/entities/faq-page/index.d.mts +3 -3
  91. package/dist/entities/faq-page/index.mjs +2 -1
  92. package/dist/entities/formatter/index.d.cts +5 -5
  93. package/dist/entities/formatter/index.d.mts +5 -5
  94. package/dist/entities/gcflytour/index.cjs +21 -19
  95. package/dist/entities/gcflytour/index.d.cts +1 -1
  96. package/dist/entities/gcflytour/index.d.mts +1 -1
  97. package/dist/entities/gcflytour/index.mjs +17 -15
  98. package/dist/entities/gcflytour-snap/index.cjs +20 -18
  99. package/dist/entities/gcflytour-snap/index.d.cts +1 -1
  100. package/dist/entities/gcflytour-snap/index.d.mts +1 -1
  101. package/dist/entities/gcflytour-snap/index.mjs +16 -14
  102. package/dist/entities/landing-page/index.d.cts +2 -2
  103. package/dist/entities/landing-page/index.d.mts +3 -3
  104. package/dist/entities/lead/index.cjs +25 -23
  105. package/dist/entities/lead/index.mjs +15 -13
  106. package/dist/entities/media-content-type/index.cjs +21 -19
  107. package/dist/entities/media-content-type/index.d.cts +7 -6
  108. package/dist/entities/media-content-type/index.d.mts +7 -6
  109. package/dist/entities/media-content-type/index.mjs +17 -15
  110. package/dist/entities/media-creative-format/index.cjs +19 -17
  111. package/dist/entities/media-creative-format/index.d.cts +7 -6
  112. package/dist/entities/media-creative-format/index.d.mts +7 -6
  113. package/dist/entities/media-creative-format/index.mjs +15 -13
  114. package/dist/entities/media-medium/index.cjs +19 -17
  115. package/dist/entities/media-medium/index.d.cts +7 -6
  116. package/dist/entities/media-medium/index.d.mts +7 -6
  117. package/dist/entities/media-medium/index.mjs +15 -13
  118. package/dist/entities/media-platform/index.cjs +27 -24
  119. package/dist/entities/media-platform/index.d.cts +1 -1
  120. package/dist/entities/media-platform/index.d.mts +1 -1
  121. package/dist/entities/media-platform/index.mjs +23 -20
  122. package/dist/entities/monday-workspace/index.cjs +17 -15
  123. package/dist/entities/monday-workspace/index.d.cts +1 -1
  124. package/dist/entities/monday-workspace/index.d.mts +1 -1
  125. package/dist/entities/monday-workspace/index.mjs +11 -9
  126. package/dist/entities/newsletter-signup/index.cjs +25 -23
  127. package/dist/entities/newsletter-signup/index.mjs +13 -11
  128. package/dist/entities/policy-page/index.cjs +2 -1
  129. package/dist/entities/policy-page/index.d.cts +1 -1
  130. package/dist/entities/policy-page/index.d.mts +2 -2
  131. package/dist/entities/policy-page/index.mjs +2 -1
  132. package/dist/entities/product/index.cjs +1 -1
  133. package/dist/entities/product/index.d.cts +1 -1
  134. package/dist/entities/product/index.d.mts +1 -1
  135. package/dist/entities/product/index.mjs +1 -1
  136. package/dist/entities/product-highlight/index.cjs +1 -1
  137. package/dist/entities/product-highlight/index.d.cts +1 -1
  138. package/dist/entities/product-highlight/index.d.mts +1 -1
  139. package/dist/entities/product-highlight/index.mjs +1 -1
  140. package/dist/entities/resume/index.cjs +43 -40
  141. package/dist/entities/resume/index.mjs +16 -13
  142. package/dist/entities/sharpspring/index.cjs +9 -8
  143. package/dist/entities/sharpspring/index.mjs +6 -5
  144. package/dist/entities/tag/index.cjs +15 -13
  145. package/dist/entities/tag/index.d.cts +6 -5
  146. package/dist/entities/tag/index.d.mts +7 -6
  147. package/dist/entities/tag/index.mjs +11 -9
  148. package/dist/entities/team-member/index.cjs +11 -9
  149. package/dist/entities/team-member/index.d.cts +2 -2
  150. package/dist/entities/team-member/index.d.mts +2 -2
  151. package/dist/entities/team-member/index.mjs +7 -4
  152. package/dist/entities/team-page/index.d.cts +1 -1
  153. package/dist/entities/team-page/index.d.mts +1 -1
  154. package/dist/entities/teamwork/index.cjs +12 -11
  155. package/dist/entities/teamwork/index.d.mts +1 -1
  156. package/dist/entities/teamwork/index.mjs +7 -6
  157. package/dist/entities/trend/index.cjs +2 -2
  158. package/dist/entities/trend/index.d.cts +1 -1
  159. package/dist/entities/trend/index.d.mts +1 -1
  160. package/dist/entities/trend/index.mjs +2 -2
  161. package/dist/entities/up-auth/index.cjs +18 -15
  162. package/dist/entities/up-auth/index.d.cts +1 -1
  163. package/dist/entities/up-auth/index.d.mts +1 -1
  164. package/dist/entities/up-auth/index.mjs +6 -3
  165. package/dist/entities/up-permission/index.cjs +1 -1
  166. package/dist/entities/up-permission/index.d.cts +1 -1
  167. package/dist/entities/up-permission/index.d.mts +1 -1
  168. package/dist/entities/up-permission/index.mjs +1 -1
  169. package/dist/entities/up-role/index.cjs +1 -1
  170. package/dist/entities/up-role/index.d.cts +1 -1
  171. package/dist/entities/up-role/index.d.mts +1 -1
  172. package/dist/entities/up-role/index.mjs +1 -1
  173. package/dist/entities/up-user/index.cjs +2 -1
  174. package/dist/entities/up-user/index.d.cts +2 -2
  175. package/dist/entities/up-user/index.d.mts +2 -2
  176. package/dist/entities/up-user/index.mjs +2 -2
  177. package/dist/entities/upload/index.cjs +11 -11
  178. package/dist/entities/upload/index.mjs +7 -7
  179. package/dist/entities/url-redirect/index.cjs +5 -4
  180. package/dist/entities/url-redirect/index.d.cts +3 -2
  181. package/dist/entities/url-redirect/index.d.mts +3 -2
  182. package/dist/entities/url-redirect/index.mjs +4 -3
  183. package/dist/entities/user-account/index.cjs +10 -11
  184. package/dist/entities/user-account/index.d.cts +2 -2
  185. package/dist/entities/user-account/index.d.mts +2 -2
  186. package/dist/entities/user-account/index.mjs +10 -11
  187. package/dist/entities/utm-link-builder/index.cjs +30 -36
  188. package/dist/entities/utm-link-builder/index.d.cts +6 -6
  189. package/dist/entities/utm-link-builder/index.d.mts +6 -6
  190. package/dist/entities/utm-link-builder/index.mjs +22 -28
  191. package/dist/entities/utm-tracking-link/index.cjs +110 -104
  192. package/dist/entities/utm-tracking-link/index.d.cts +2 -2
  193. package/dist/entities/utm-tracking-link/index.d.mts +2 -2
  194. package/dist/entities/utm-tracking-link/index.mjs +68 -68
  195. package/dist/error-messages-9ZhRqNGW.mjs +10 -0
  196. package/dist/error-messages-C0I1kOur.cjs +51 -0
  197. package/dist/generators/index.cjs +231 -0
  198. package/dist/generators/index.d.cts +19 -0
  199. package/dist/generators/index.d.mts +19 -0
  200. package/dist/generators/index.mjs +226 -0
  201. package/dist/index-BOxQLeAK.d.cts +317 -0
  202. package/dist/index-BSYaAtme.d.mts +486 -0
  203. package/dist/index-BT8Pa9XY.d.mts +317 -0
  204. package/dist/{index-DXo7B4ng.d.mts → index-Bjjp-2Sa.d.mts} +20 -99
  205. package/dist/{index-DXUuI-fJ.d.cts → index-C1GoH-4v.d.cts} +91 -76
  206. package/dist/{index-D_YPjLxv.d.cts → index-CBW5QmNu.d.cts} +4 -3
  207. package/dist/index-COpLbpQC.d.cts +486 -0
  208. package/dist/{index-DEm89ERm.d.mts → index-ClQOYhKi.d.mts} +94 -79
  209. package/dist/index-Cqmmzi2g.d.mts +944 -0
  210. package/dist/{index-B_L_83Q2.d.cts → index-D7QXaSOY.d.cts} +19 -98
  211. package/dist/index-DG_Lwaa7.d.cts +1324 -0
  212. package/dist/{index-D3KnOYr7.d.mts → index-DKFW5ay8.d.mts} +4 -3
  213. package/dist/index-Dvu63a8_.d.mts +1324 -0
  214. package/dist/index-WN2TBKki.d.cts +944 -0
  215. package/dist/limits-CKGuEuKA.mjs +37 -0
  216. package/dist/{regex-Cl5goNwp.cjs → limits-CW6iJ7kB.cjs} +0 -102
  217. package/dist/number-Bt4nZKCU.cjs +19 -0
  218. package/dist/number-OMFRufFt.mjs +6 -0
  219. package/dist/pagination-D5l_UjyM.mjs +7 -0
  220. package/dist/pagination-DWZDPzR4.cjs +20 -0
  221. package/dist/permissions/index.cjs +2 -2
  222. package/dist/permissions/index.d.cts +1 -1
  223. package/dist/permissions/index.d.mts +1 -1
  224. package/dist/permissions/index.mjs +2 -2
  225. package/dist/phone-C9TNVDm_.mjs +8 -0
  226. package/dist/phone-D_ZLG1Qv.cjs +21 -0
  227. package/dist/{query-DHY-nlUQ.mjs → query-BR5Ze6T2.mjs} +7 -11
  228. package/dist/{query-DelNcssC.cjs → query-qQ_HLlxx.cjs} +13 -29
  229. package/dist/regex-BEFTMiHO.cjs +51 -0
  230. package/dist/regex-pSdcbWzV.mjs +10 -0
  231. package/dist/relation-Bd-xUcj8.cjs +33 -0
  232. package/dist/relation-DMhLjp7K.mjs +8 -0
  233. package/dist/{relationships-HTBNe0F-.cjs → relationships-DjHwYd4r.cjs} +23 -9
  234. package/dist/{relationships-C6xfgdwR.mjs → relationships-yPO5SILR.mjs} +7 -5
  235. package/dist/slug-BUtm1t-B.mjs +7 -0
  236. package/dist/slug-cWXTZEIT.cjs +14 -0
  237. package/dist/sort-CI87SH1y.cjs +33 -0
  238. package/dist/sort-D3WwshqQ.mjs +14 -0
  239. package/dist/{strapi-DvyAfgFF.mjs → strapi-B2cNPAao.mjs} +1 -1
  240. package/dist/{strapi-QFDWi4vD.cjs → strapi-RlhF30B7.cjs} +1 -1
  241. package/dist/string-BHHnD2Qu.mjs +42 -0
  242. package/dist/string-Yn-6xiAZ.cjs +97 -0
  243. package/dist/urls-UOvhCu0z.mjs +14 -0
  244. package/dist/urls-og5upHgL.cjs +27 -0
  245. package/dist/utilities/index.cjs +1 -1
  246. package/dist/utilities/index.d.cts +6 -6
  247. package/dist/utilities/index.d.mts +6 -6
  248. package/dist/utilities/index.mjs +1 -1
  249. package/dist/utm-BqkYlpua.cjs +47 -0
  250. package/dist/utm-ZUwmBoR2.mjs +28 -0
  251. package/dist/validators/index.cjs +36 -0
  252. package/dist/validators/index.d.cts +94 -0
  253. package/dist/validators/index.d.mts +94 -0
  254. package/dist/validators/index.mjs +10 -0
  255. package/package.json +29 -2
  256. package/dist/index-B3VtiObV.d.mts +0 -317
  257. package/dist/index-BxEBUjx2.d.mts +0 -486
  258. package/dist/index-CQP_vcmO.d.cts +0 -317
  259. package/dist/index-CRoWUxGV.d.cts +0 -1324
  260. package/dist/index-DYSlcIkJ.d.mts +0 -945
  261. package/dist/index-Dmtom8iC.d.cts +0 -945
  262. package/dist/index-auU0DaW5.d.cts +0 -486
  263. package/dist/index-oCLNrzIj.d.mts +0 -1324
  264. package/dist/regex-BnKGcdS4.mjs +0 -55
  265. package/dist/validators-Bc9Is5Sr.cjs +0 -222
  266. package/dist/validators-P5E_3qzc.mjs +0 -95
  267. /package/dist/{abac-DPd9oLKR.mjs → abac-BPxkvVVy.mjs} +0 -0
  268. /package/dist/{abac-BeKQtxIF.cjs → abac-YYI2Ckwv.cjs} +0 -0
  269. /package/dist/{constants-Htf-MeCA.mjs → constants-C4cy6LoY.mjs} +0 -0
  270. /package/dist/{constants-f1GP2eiq.cjs → constants-D6DsS_A0.cjs} +0 -0
  271. /package/dist/{document-DaICHS9G.cjs → document-B4FY2KXQ.cjs} +0 -0
  272. /package/dist/{document-c3GNPelp.mjs → document-De-prPhc.mjs} +0 -0
  273. /package/dist/{document-CbE38CzE.d.mts → document-DxjJgk8X.d.mts} +0 -0
  274. /package/dist/{index-DLICmJ_-.d.mts → index-BSEaV9wd.d.mts} +0 -0
  275. /package/dist/{json-BrVkpLbC.d.mts → json--oetJLQY.d.mts} +0 -0
  276. /package/dist/{media-upload-DKeA1eD-.d.mts → media-upload-DBG7YyU4.d.mts} +0 -0
  277. /package/dist/{strapi-BDLWeEyv.mjs → strapi-CE9bz7Kc.mjs} +0 -0
  278. /package/dist/{strapi-C4HuWGb_.cjs → strapi-D8C1C0D7.cjs} +0 -0
@@ -1,2 +1,2 @@
1
- import { Hn as PermissionDocument } from "../../index-DXUuI-fJ.cjs";
1
+ import { Yn as PermissionDocument } from "../../index-C1GoH-4v.cjs";
2
2
  export { PermissionDocument };
@@ -1,2 +1,2 @@
1
- import { Hn as PermissionDocument } from "../../index-DEm89ERm.mjs";
1
+ import { Yn as PermissionDocument } from "../../index-ClQOYhKi.mjs";
2
2
  export { PermissionDocument };
@@ -1,2 +1,2 @@
1
- import { C as PermissionDocument } from "../../document-kvIqz0p6.mjs";
1
+ import { w as PermissionDocument } from "../../document-BWso8VC7.mjs";
2
2
  export { PermissionDocument };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_document = require("../../document-DOVZwQRq.cjs");
2
+ const require_document = require("../../document-DwkycUz9.cjs");
3
3
  exports.ROLE_TYPES = require_document.ROLE_TYPES;
4
4
  exports.RoleDocument = require_document.RoleDocument;
5
5
  exports.RoleType = require_document.RoleType;
@@ -1,4 +1,4 @@
1
- import { An as RoleDocument, jn as RoleType } from "../../index-DXUuI-fJ.cjs";
1
+ import { In as RoleDocument, Ln as RoleType } from "../../index-C1GoH-4v.cjs";
2
2
 
3
3
  //#region src/entities/up-role/constants.d.ts
4
4
  declare const ROLE_TYPES: readonly ["authenticated", "public", "employee", "manager", "client"];
@@ -1,4 +1,4 @@
1
- import { An as RoleDocument, jn as RoleType } from "../../index-DEm89ERm.mjs";
1
+ import { In as RoleDocument, Ln as RoleType } from "../../index-ClQOYhKi.mjs";
2
2
 
3
3
  //#region src/entities/up-role/constants.d.ts
4
4
  declare const ROLE_TYPES: readonly ["authenticated", "public", "employee", "manager", "client"];
@@ -1,2 +1,2 @@
1
- import { S as ROLE_TYPES, b as RoleDocument, x as RoleType } from "../../document-kvIqz0p6.mjs";
1
+ import { C as ROLE_TYPES, S as RoleType, x as RoleDocument } from "../../document-BWso8VC7.mjs";
2
2
  export { ROLE_TYPES, RoleDocument, RoleType };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_document = require("../../document-DOVZwQRq.cjs");
2
+ const require_document = require("../../document-DwkycUz9.cjs");
3
3
  exports.CreateUserDocument = require_document.CreateUserDocument;
4
4
  exports.LIMIT_USER_PAGINATION_DEFAULT_SIZE = require_document.LIMIT_USER_PAGINATION_DEFAULT_SIZE;
5
5
  exports.LIMIT_USER_PAGINATION_MAX_SIZE = require_document.LIMIT_USER_PAGINATION_MAX_SIZE;
@@ -8,3 +8,4 @@ exports.QueryStrapiUsers = require_document.QueryStrapiUsers;
8
8
  exports.QueryStrapiUsersByIdentifier = require_document.QueryStrapiUsersByIdentifier;
9
9
  exports.USER_SORT_KEYS = require_document.USER_SORT_KEYS;
10
10
  exports.UserDocument = require_document.UserDocument;
11
+ exports.ValidUsername = require_document.ValidUsername;
@@ -1,2 +1,2 @@
1
- import { Bn as LIMIT_USER_PAGINATION_MAX_SIZE, Fn as QueryStrapiUsers, In as QueryStrapiUsersByIdentifier, Ln as CreateUserDocument, Mn as UserDocument, Rn as QuerySortUsers, Vn as USER_SORT_KEYS, zn as LIMIT_USER_PAGINATION_DEFAULT_SIZE } from "../../index-DXUuI-fJ.cjs";
2
- export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
1
+ import { Gn as ValidUsername, Hn as QueryStrapiUsersByIdentifier, Jn as USER_SORT_KEYS, Kn as LIMIT_USER_PAGINATION_DEFAULT_SIZE, Rn as UserDocument, Un as CreateUserDocument, Vn as QueryStrapiUsers, Wn as QuerySortUsers, qn as LIMIT_USER_PAGINATION_MAX_SIZE } from "../../index-C1GoH-4v.cjs";
2
+ export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, ValidUsername };
@@ -1,2 +1,2 @@
1
- import { Bn as LIMIT_USER_PAGINATION_MAX_SIZE, Fn as QueryStrapiUsers, In as QueryStrapiUsersByIdentifier, Ln as CreateUserDocument, Mn as UserDocument, Rn as QuerySortUsers, Vn as USER_SORT_KEYS, zn as LIMIT_USER_PAGINATION_DEFAULT_SIZE } from "../../index-DEm89ERm.mjs";
2
- export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
1
+ import { Gn as ValidUsername, Hn as QueryStrapiUsersByIdentifier, Jn as USER_SORT_KEYS, Kn as LIMIT_USER_PAGINATION_DEFAULT_SIZE, Rn as UserDocument, Un as CreateUserDocument, Vn as QueryStrapiUsers, Wn as QuerySortUsers, qn as LIMIT_USER_PAGINATION_MAX_SIZE } from "../../index-ClQOYhKi.mjs";
2
+ export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, ValidUsername };
@@ -1,2 +1,2 @@
1
- import { E as USER_SORT_KEYS, T as LIMIT_USER_PAGINATION_MAX_SIZE, _ as UserDocument, g as QuerySortUsers, h as CreateUserDocument, m as QueryStrapiUsersByIdentifier, p as QueryStrapiUsers, w as LIMIT_USER_PAGINATION_DEFAULT_SIZE } from "../../document-kvIqz0p6.mjs";
2
- export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
1
+ import { D as USER_SORT_KEYS, E as LIMIT_USER_PAGINATION_MAX_SIZE, T as LIMIT_USER_PAGINATION_DEFAULT_SIZE, _ as ValidUsername, g as QuerySortUsers, h as CreateUserDocument, m as QueryStrapiUsersByIdentifier, p as QueryStrapiUsers, v as UserDocument } from "../../document-BWso8VC7.mjs";
2
+ export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument, ValidUsername };
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- require("../../regex-Cl5goNwp.cjs");
4
- const require_validators = require("../../validators-Bc9Is5Sr.cjs");
3
+ require("../../limits-CW6iJ7kB.cjs");
4
+ const require_string = require("../../string-Yn-6xiAZ.cjs");
5
5
  let valibot = require("valibot");
6
6
  valibot = require_chunk.__toESM(valibot, 1);
7
7
  //#region src/entities/upload/fields.ts
@@ -13,20 +13,20 @@ const ValidFileUpload10MB = valibot.pipe(valibot.file(), valibot.minSize(1), val
13
13
  */
14
14
  const CreateStrapiMediaUploadDocument = valibot.object({
15
15
  files: ValidFileUpload10MB,
16
- ref: require_validators.VStringMax(),
17
- refId: require_validators.VStringMinMax(1, 255),
18
- field: require_validators.VStringMax()
16
+ ref: require_string.VStringMax(),
17
+ refId: require_string.VStringMinMax(),
18
+ field: require_string.VStringMax()
19
19
  });
20
20
  const CreateMultipleStrapiMediaUploadDocument = valibot.object({
21
21
  files: valibot.pipe(valibot.array(ValidFileUpload10MB), valibot.minLength(1)),
22
- ref: require_validators.VStringMax(),
23
- refId: require_validators.VStringMinMax(1, 255),
24
- field: require_validators.VStringMax()
22
+ ref: require_string.VStringMax(),
23
+ refId: require_string.VStringMinMax(),
24
+ field: require_string.VStringMax()
25
25
  });
26
26
  const UpdateStrapiMediaFileInfo = valibot.object({
27
- name: require_validators.VStringMinMax(1, 255),
28
- alternativeText: valibot.optional(require_validators.VStringMinMax(1, 255)),
29
- caption: valibot.optional(require_validators.VStringMinMax(1, 255))
27
+ name: require_string.VStringMinMax(),
28
+ alternativeText: valibot.optional(require_string.VStringMinMax()),
29
+ caption: valibot.optional(require_string.VStringMinMax())
30
30
  });
31
31
  //#endregion
32
32
  exports.CreateMultipleStrapiMediaUploadDocument = CreateMultipleStrapiMediaUploadDocument;
@@ -1,5 +1,5 @@
1
- import "../../regex-BnKGcdS4.mjs";
2
- import { d as VStringMinMax, l as VStringMax } from "../../validators-P5E_3qzc.mjs";
1
+ import "../../limits-CKGuEuKA.mjs";
2
+ import { a as VStringMinMax, i as VStringMax } from "../../string-BHHnD2Qu.mjs";
3
3
  import * as v from "valibot";
4
4
  //#region src/entities/upload/fields.ts
5
5
  const ValidFileUpload10MB = v.pipe(v.file(), v.minSize(1), v.maxSize(10485760, `File size cannot exceed 10MB.`));
@@ -11,19 +11,19 @@ const ValidFileUpload10MB = v.pipe(v.file(), v.minSize(1), v.maxSize(10485760, `
11
11
  const CreateStrapiMediaUploadDocument = v.object({
12
12
  files: ValidFileUpload10MB,
13
13
  ref: VStringMax(),
14
- refId: VStringMinMax(1, 255),
14
+ refId: VStringMinMax(),
15
15
  field: VStringMax()
16
16
  });
17
17
  const CreateMultipleStrapiMediaUploadDocument = v.object({
18
18
  files: v.pipe(v.array(ValidFileUpload10MB), v.minLength(1)),
19
19
  ref: VStringMax(),
20
- refId: VStringMinMax(1, 255),
20
+ refId: VStringMinMax(),
21
21
  field: VStringMax()
22
22
  });
23
23
  const UpdateStrapiMediaFileInfo = v.object({
24
- name: VStringMinMax(1, 255),
25
- alternativeText: v.optional(VStringMinMax(1, 255)),
26
- caption: v.optional(VStringMinMax(1, 255))
24
+ name: VStringMinMax(),
25
+ alternativeText: v.optional(VStringMinMax()),
26
+ caption: v.optional(VStringMinMax())
27
27
  });
28
28
  //#endregion
29
29
  export { CreateMultipleStrapiMediaUploadDocument, CreateStrapiMediaUploadDocument, UpdateStrapiMediaFileInfo, ValidFileUpload10MB };
@@ -1,8 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
3
  const require_document = require("../../document-BAro2Mrj.cjs");
4
- require("../../regex-Cl5goNwp.cjs");
5
- const require_validators = require("../../validators-Bc9Is5Sr.cjs");
4
+ require("../../limits-CW6iJ7kB.cjs");
5
+ const require_pagination = require("../../pagination-DWZDPzR4.cjs");
6
+ const require_sort = require("../../sort-CI87SH1y.cjs");
6
7
  let valibot = require("valibot");
7
8
  valibot = require_chunk.__toESM(valibot, 1);
8
9
  //#region src/entities/url-redirect/constants.ts
@@ -34,7 +35,7 @@ const URL_REDIRECT_SORT_KEYS = [
34
35
  //#region src/entities/url-redirect/fields.ts
35
36
  const UrlRedirectStatusCode = valibot.picklist(URL_REDIRECT_STATUS_CODES);
36
37
  const UrlRedirectQueryParams = valibot.picklist(URL_REDIRECT_QUERY_PARAMS);
37
- const QuerySortUrlRedirects = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(URL_REDIRECT_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(URL_REDIRECT_SORT_KEYS.length)));
38
+ const QuerySortUrlRedirects = require_sort.createQuerySort(URL_REDIRECT_SORT_KEYS);
38
39
  //#endregion
39
40
  //#region src/entities/url-redirect/document.ts
40
41
  const UrlRedirectDocument = valibot.object({
@@ -48,7 +49,7 @@ const UrlRedirectDocument = valibot.object({
48
49
  //#endregion
49
50
  //#region src/entities/url-redirect/query.ts
50
51
  const QueryStrapiPaginatedUrlRedirects = valibot.object({
51
- page: valibot.fallback(valibot.optional(require_validators.VPage(), 1), 1),
52
+ page: valibot.fallback(valibot.optional(require_pagination.VPage(), 1), 1),
52
53
  size: valibot.fallback(valibot.optional(valibot.pipe(valibot.number(), valibot.minValue(1), valibot.maxValue(LIMIT_REDIRECT_PAGINATION_MAX_SIZE)), 100), 100),
53
54
  sort: QuerySortUrlRedirects
54
55
  });
@@ -1,3 +1,4 @@
1
+ import { Z as QuerySortOutput } from "../../index-D7QXaSOY.cjs";
1
2
  import * as v from "valibot";
2
3
 
3
4
  //#region src/entities/url-redirect/constants.d.ts
@@ -27,14 +28,14 @@ declare const UrlRedirectStatusCode: v.PicklistSchema<readonly ["found_302", "mo
27
28
  type UrlRedirectStatusCode = v.InferOutput<typeof UrlRedirectStatusCode>;
28
29
  declare const UrlRedirectQueryParams: v.PicklistSchema<readonly ["ignore_and_pass_to_target", "ignore_all_parameters", "exact_match_in_any_order"], undefined>;
29
30
  type UrlRedirectQueryParams = v.InferOutput<typeof UrlRedirectQueryParams>;
30
- declare const QuerySortUrlRedirects: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
31
+ declare const QuerySortUrlRedirects: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "from" | "to" | "status_code" | "query_params">>;
31
32
  type QuerySortUrlRedirects = v.InferOutput<typeof QuerySortUrlRedirects>;
32
33
  //#endregion
33
34
  //#region src/entities/url-redirect/query.d.ts
34
35
  declare const QueryStrapiPaginatedUrlRedirects: v.ObjectSchema<{
35
36
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>, 1>, 1>;
36
37
  readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, 100>, 100>;
37
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
38
+ readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "from" | "to" | "status_code" | "query_params">>;
38
39
  }, undefined>;
39
40
  type QueryStrapiPaginatedUrlRedirects = v.InferOutput<typeof QueryStrapiPaginatedUrlRedirects>;
40
41
  declare const QueryStrapiUrlRedirectsByFrom: v.ObjectSchema<{
@@ -1,3 +1,4 @@
1
+ import { Z as QuerySortOutput } from "../../index-Bjjp-2Sa.mjs";
1
2
  import * as v from "valibot";
2
3
 
3
4
  //#region src/entities/url-redirect/constants.d.ts
@@ -27,14 +28,14 @@ declare const UrlRedirectStatusCode: v.PicklistSchema<readonly ["found_302", "mo
27
28
  type UrlRedirectStatusCode = v.InferOutput<typeof UrlRedirectStatusCode>;
28
29
  declare const UrlRedirectQueryParams: v.PicklistSchema<readonly ["ignore_and_pass_to_target", "ignore_all_parameters", "exact_match_in_any_order"], undefined>;
29
30
  type UrlRedirectQueryParams = v.InferOutput<typeof UrlRedirectQueryParams>;
30
- declare const QuerySortUrlRedirects: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
31
+ declare const QuerySortUrlRedirects: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "from" | "to" | "status_code" | "query_params">>;
31
32
  type QuerySortUrlRedirects = v.InferOutput<typeof QuerySortUrlRedirects>;
32
33
  //#endregion
33
34
  //#region src/entities/url-redirect/query.d.ts
34
35
  declare const QueryStrapiPaginatedUrlRedirects: v.ObjectSchema<{
35
36
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>, 1>, 1>;
36
37
  readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, 100>, 100>;
37
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "from:ASC" | "to:ASC" | "status_code:ASC" | "query_params:ASC" | "from:DESC" | "to:DESC" | "status_code:DESC" | "query_params:DESC")[], 8, undefined>]>, undefined>;
38
+ readonly sort: v.GenericSchema<QuerySortOutput<"id" | "createdAt" | "updatedAt" | "is_active" | "from" | "to" | "status_code" | "query_params">>;
38
39
  }, undefined>;
39
40
  type QueryStrapiPaginatedUrlRedirects = v.InferOutput<typeof QueryStrapiPaginatedUrlRedirects>;
40
41
  declare const QueryStrapiUrlRedirectsByFrom: v.ObjectSchema<{
@@ -1,6 +1,7 @@
1
1
  import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
- import "../../regex-BnKGcdS4.mjs";
3
- import { r as VPage } from "../../validators-P5E_3qzc.mjs";
2
+ import "../../limits-CKGuEuKA.mjs";
3
+ import { t as VPage } from "../../pagination-D5l_UjyM.mjs";
4
+ import { r as createQuerySort } from "../../sort-D3WwshqQ.mjs";
4
5
  import * as v from "valibot";
5
6
  //#region src/entities/url-redirect/constants.ts
6
7
  const LIMIT_REDIRECT_PAGINATION_DEFAULT_SIZE = 100;
@@ -31,7 +32,7 @@ const URL_REDIRECT_SORT_KEYS = [
31
32
  //#region src/entities/url-redirect/fields.ts
32
33
  const UrlRedirectStatusCode = v.picklist(URL_REDIRECT_STATUS_CODES);
33
34
  const UrlRedirectQueryParams = v.picklist(URL_REDIRECT_QUERY_PARAMS);
34
- const QuerySortUrlRedirects = v.optional(v.pipe(v.array(v.picklist(URL_REDIRECT_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(URL_REDIRECT_SORT_KEYS.length)));
35
+ const QuerySortUrlRedirects = createQuerySort(URL_REDIRECT_SORT_KEYS);
35
36
  //#endregion
36
37
  //#region src/entities/url-redirect/document.ts
37
38
  const UrlRedirectDocument = v.object({
@@ -1,30 +1,29 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_query = require("../../query-DelNcssC.cjs");
4
- require("../../regex-Cl5goNwp.cjs");
5
- const require_validators = require("../../validators-Bc9Is5Sr.cjs");
6
- const require_relationships = require("../../relationships-HTBNe0F-.cjs");
7
- const require_document = require("../../document-DOVZwQRq.cjs");
3
+ const require_query = require("../../query-qQ_HLlxx.cjs");
4
+ const require_string = require("../../string-Yn-6xiAZ.cjs");
5
+ const require_relationships = require("../../relationships-DjHwYd4r.cjs");
6
+ const require_document = require("../../document-DwkycUz9.cjs");
8
7
  let valibot = require("valibot");
9
8
  valibot = require_chunk.__toESM(valibot, 1);
10
9
  //#region src/entities/user-account/mutation.ts
11
10
  const UpdateUserAccount = valibot.object({
12
11
  documentId: require_relationships.SAssociateOneEntity,
13
- first_name: require_validators.VStringMinMax(1, 255),
14
- last_name: require_validators.VStringMinMax(1, 255),
15
- preferred_name: valibot.nullable(require_validators.VStringMinMax(1, 255))
12
+ first_name: require_string.VStringMinMax(),
13
+ last_name: require_string.VStringMinMax(),
14
+ preferred_name: valibot.nullable(require_string.VStringMinMax())
16
15
  });
17
16
  const UpdateUserAccountFirstName = valibot.object({
18
17
  documentId: require_relationships.SAssociateOneEntity,
19
- first_name: require_validators.VStringMinMax(1, 255)
18
+ first_name: require_string.VStringMinMax()
20
19
  });
21
20
  const UpdateUserAccountLastName = valibot.object({
22
21
  documentId: require_relationships.SAssociateOneEntity,
23
- last_name: require_validators.VStringMinMax(1, 255)
22
+ last_name: require_string.VStringMinMax()
24
23
  });
25
24
  const UpdateUserAccountPreferredName = valibot.object({
26
25
  documentId: require_relationships.SAssociateOneEntity,
27
- preferred_name: valibot.nullable(require_validators.VStringMinMax(1, 255))
26
+ preferred_name: valibot.nullable(require_string.VStringMinMax())
28
27
  });
29
28
  //#endregion
30
29
  //#region src/entities/user-account/query.ts
@@ -1,5 +1,5 @@
1
- import { dt as QueryStrapiById, lt as QueryStrapiByDocumentId } from "../../index-B_L_83Q2.cjs";
2
- import { Pn as UserAccountDocument } from "../../index-DXUuI-fJ.cjs";
1
+ import { H as QueryStrapiByDocumentId, W as QueryStrapiById } from "../../index-D7QXaSOY.cjs";
2
+ import { Bn as UserAccountDocument } from "../../index-C1GoH-4v.cjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/entities/user-account/mutation.d.ts
@@ -1,5 +1,5 @@
1
- import { dt as QueryStrapiById, lt as QueryStrapiByDocumentId } from "../../index-DXo7B4ng.mjs";
2
- import { Pn as UserAccountDocument } from "../../index-DEm89ERm.mjs";
1
+ import { H as QueryStrapiByDocumentId, W as QueryStrapiById } from "../../index-Bjjp-2Sa.mjs";
2
+ import { Bn as UserAccountDocument } from "../../index-ClQOYhKi.mjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/entities/user-account/mutation.d.ts
@@ -1,27 +1,26 @@
1
- import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-DHY-nlUQ.mjs";
2
- import "../../regex-BnKGcdS4.mjs";
3
- import { d as VStringMinMax } from "../../validators-P5E_3qzc.mjs";
4
- import { a as SAssociateOneEntity } from "../../relationships-C6xfgdwR.mjs";
5
- import { y as UserAccountDocument } from "../../document-kvIqz0p6.mjs";
1
+ import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-BR5Ze6T2.mjs";
2
+ import { a as VStringMinMax } from "../../string-BHHnD2Qu.mjs";
3
+ import { o as SAssociateOneEntity } from "../../relationships-yPO5SILR.mjs";
4
+ import { b as UserAccountDocument } from "../../document-BWso8VC7.mjs";
6
5
  import * as v from "valibot";
7
6
  //#region src/entities/user-account/mutation.ts
8
7
  const UpdateUserAccount = v.object({
9
8
  documentId: SAssociateOneEntity,
10
- first_name: VStringMinMax(1, 255),
11
- last_name: VStringMinMax(1, 255),
12
- preferred_name: v.nullable(VStringMinMax(1, 255))
9
+ first_name: VStringMinMax(),
10
+ last_name: VStringMinMax(),
11
+ preferred_name: v.nullable(VStringMinMax())
13
12
  });
14
13
  const UpdateUserAccountFirstName = v.object({
15
14
  documentId: SAssociateOneEntity,
16
- first_name: VStringMinMax(1, 255)
15
+ first_name: VStringMinMax()
17
16
  });
18
17
  const UpdateUserAccountLastName = v.object({
19
18
  documentId: SAssociateOneEntity,
20
- last_name: VStringMinMax(1, 255)
19
+ last_name: VStringMinMax()
21
20
  });
22
21
  const UpdateUserAccountPreferredName = v.object({
23
22
  documentId: SAssociateOneEntity,
24
- preferred_name: v.nullable(VStringMinMax(1, 255))
23
+ preferred_name: v.nullable(VStringMinMax())
25
24
  });
26
25
  //#endregion
27
26
  //#region src/entities/user-account/query.ts
@@ -1,8 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_regex = require("../../regex-Cl5goNwp.cjs");
4
- const require_validators = require("../../validators-Bc9Is5Sr.cjs");
5
- const require_relationships = require("../../relationships-HTBNe0F-.cjs");
3
+ require("../../limits-CW6iJ7kB.cjs");
4
+ const require_string = require("../../string-Yn-6xiAZ.cjs");
5
+ const require_relationships = require("../../relationships-DjHwYd4r.cjs");
6
+ const require_number = require("../../number-Bt4nZKCU.cjs");
7
+ const require_utm = require("../../utm-BqkYlpua.cjs");
6
8
  let valibot = require("valibot");
7
9
  valibot = require_chunk.__toESM(valibot, 1);
8
10
  //#region src/entities/utm-link-builder/constants.ts
@@ -19,63 +21,55 @@ const UtmLinkBuilderPartCampaignDate = valibot.picklist(UTM_LINK_BUILDER_PART_CA
19
21
  //#endregion
20
22
  //#region src/entities/utm-link-builder/mutation.ts
21
23
  const SUtmLinkBuilderCampaign = valibot.object({
22
- campaign_phase: require_validators.VStringMinMax(1, 255),
23
- campaign_product: valibot.optional(require_validators.VStringMax()),
24
- campaign_targeting: valibot.optional(valibot.pipe(valibot.array(require_validators.VStringMaxRegex(255, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE)), valibot.maxLength(10))),
25
- campaign_key: valibot.optional(require_validators.VStringMaxRegex(255, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE)),
24
+ campaign_phase: require_string.VStringMinMax(),
25
+ campaign_product: valibot.optional(require_string.VStringMax()),
26
+ campaign_targeting: valibot.optional(valibot.pipe(valibot.array(require_utm.VStringUtmKey()), valibot.maxLength(10))),
27
+ campaign_key: valibot.optional(require_utm.VStringUtmKey()),
26
28
  campaign_date: valibot.object({
27
29
  format: UtmLinkBuilderPartCampaignDate,
28
30
  value: valibot.object({
29
31
  year: valibot.number(),
30
- quarter: require_validators.VIntegerNullable(),
31
- month: require_validators.VIntegerNullable(),
32
- day: require_validators.VIntegerNullable()
32
+ quarter: require_number.VIntegerNullable(),
33
+ month: require_number.VIntegerNullable(),
34
+ day: require_number.VIntegerNullable()
33
35
  })
34
36
  })
35
37
  });
36
38
  const SUtmLinkBuilderCreativeFormat = valibot.object({
37
- creative_format: valibot.optional(require_validators.VStringMax(255)),
38
- creative_format_variants: valibot.optional(valibot.array(require_validators.VStringMax(255))),
39
+ creative_format: valibot.optional(require_string.VStringMax()),
40
+ creative_format_variants: valibot.optional(valibot.array(require_string.VStringMax())),
39
41
  creative_size: valibot.optional(valibot.object({
40
- width: require_validators.VIntegerNullable(),
41
- height: require_validators.VIntegerNullable(),
42
- key: valibot.optional(require_validators.VStringMax(255))
42
+ width: require_number.VIntegerNullable(),
43
+ height: require_number.VIntegerNullable(),
44
+ key: valibot.optional(require_string.VStringMax())
43
45
  }))
44
46
  });
45
47
  const SUtmLinkBuilderTableForm = valibot.object({
46
48
  creator: require_relationships.SAssociateOneEntity,
47
49
  client: require_relationships.SAssociateOneEntity,
48
50
  variants: valibot.pipe(valibot.array(valibot.object({
49
- 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) => {
50
- if (input === "") return false;
51
- return input.indexOf("?") === -1;
52
- }, require_regex.ERROR_MESSAGE_URL_NO_QUERY_PARAMS)) })), valibot.minLength(1), valibot.maxLength(100)),
53
- source: require_validators.VStringMax(255),
54
- mediums: valibot.pipe(valibot.array(require_validators.VStringMax(255)), valibot.minLength(1), valibot.maxLength(10)),
51
+ url_destinations: valibot.pipe(valibot.array(valibot.object({ url: require_utm.VStringUrlNoUtm() })), valibot.minLength(1), valibot.maxLength(100)),
52
+ source: require_string.VStringMax(),
53
+ mediums: valibot.pipe(valibot.array(require_string.VStringMax()), valibot.minLength(1), valibot.maxLength(10)),
55
54
  campaign: SUtmLinkBuilderCampaign,
56
- content: valibot.optional(require_validators.VStringMax(255)),
55
+ content: valibot.optional(require_string.VStringMax()),
57
56
  creative_formats: valibot.optional(valibot.pipe(valibot.array(SUtmLinkBuilderCreativeFormat), valibot.maxLength(10))),
58
- id: valibot.optional(require_validators.VStringMinMax(1, 255))
57
+ id: valibot.optional(require_string.VStringMinMax())
59
58
  })), valibot.minLength(1), valibot.maxLength(10)),
60
- notes: valibot.optional(require_validators.VStringMax())
59
+ notes: valibot.optional(require_string.VStringMax())
61
60
  });
62
61
  const SUtmLinkBuilderSingleForm = valibot.object({
63
62
  creator: require_relationships.SAssociateOneEntity,
64
63
  client: require_relationships.SAssociateOneEntity,
65
- url_destination: valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
66
- if (input === "") return false;
67
- return input.indexOf("?") === -1;
68
- }, require_regex.ERROR_MESSAGE_URL_NO_QUERY_PARAMS)),
69
- source: require_validators.VStringMax(255),
70
- medium: require_validators.VStringMax(255),
64
+ url_destination: require_utm.VStringUrlNoUtm(),
65
+ source: require_string.VStringMax(),
66
+ medium: require_string.VStringMax(),
71
67
  campaign: SUtmLinkBuilderCampaign,
72
- content: valibot.optional(require_validators.VStringMax(255)),
68
+ content: valibot.optional(require_string.VStringMax()),
73
69
  creative_format: valibot.optional(SUtmLinkBuilderCreativeFormat),
74
- id: valibot.optional(require_validators.VStringMinMax(1, 255)),
75
- url: valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
76
- return input.includes("utm_");
77
- }, require_regex.ERROR_MESSAGE_UTM_URL)),
78
- notes: valibot.optional(require_validators.VStringMax())
70
+ id: valibot.optional(require_string.VStringMinMax()),
71
+ url: require_utm.VStringUrlUtm(),
72
+ notes: valibot.optional(require_string.VStringMax())
79
73
  });
80
74
  //#endregion
81
75
  exports.SUtmLinkBuilderCampaign = SUtmLinkBuilderCampaign;
@@ -8,8 +8,8 @@ type SUtmLinkBuilderPartCampaignDateValue = (typeof UTM_LINK_BUILDER_PART_CAMPAI
8
8
  declare const SUtmLinkBuilderCampaign: v.ObjectSchema<{
9
9
  readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
10
10
  readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
11
- readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
12
- readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
11
+ readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
12
+ readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
13
13
  readonly campaign_date: v.ObjectSchema<{
14
14
  readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
15
15
  readonly value: v.ObjectSchema<{
@@ -47,8 +47,8 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
47
47
  readonly campaign: v.ObjectSchema<{
48
48
  readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
49
49
  readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
50
- readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
51
- readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
50
+ readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
51
+ readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
52
52
  readonly campaign_date: v.ObjectSchema<{
53
53
  readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
54
54
  readonly value: v.ObjectSchema<{
@@ -157,8 +157,8 @@ declare const SUtmLinkBuilderSingleForm: v.ObjectSchema<{
157
157
  readonly campaign: v.ObjectSchema<{
158
158
  readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
159
159
  readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
160
- readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
161
- readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
160
+ readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
161
+ readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
162
162
  readonly campaign_date: v.ObjectSchema<{
163
163
  readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
164
164
  readonly value: v.ObjectSchema<{
@@ -8,8 +8,8 @@ type SUtmLinkBuilderPartCampaignDateValue = (typeof UTM_LINK_BUILDER_PART_CAMPAI
8
8
  declare const SUtmLinkBuilderCampaign: v.ObjectSchema<{
9
9
  readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
10
10
  readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
11
- readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
12
- readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
11
+ readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
12
+ readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
13
13
  readonly campaign_date: v.ObjectSchema<{
14
14
  readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
15
15
  readonly value: v.ObjectSchema<{
@@ -47,8 +47,8 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
47
47
  readonly campaign: v.ObjectSchema<{
48
48
  readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
49
49
  readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
50
- readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
51
- readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
50
+ readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
51
+ readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
52
52
  readonly campaign_date: v.ObjectSchema<{
53
53
  readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
54
54
  readonly value: v.ObjectSchema<{
@@ -157,8 +157,8 @@ declare const SUtmLinkBuilderSingleForm: v.ObjectSchema<{
157
157
  readonly campaign: v.ObjectSchema<{
158
158
  readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
159
159
  readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
160
- readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
161
- readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
160
+ readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
161
+ readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
162
162
  readonly campaign_date: v.ObjectSchema<{
163
163
  readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
164
164
  readonly value: v.ObjectSchema<{