@getcommunity/gc-validators 0.0.271-alpha.2 → 0.0.271-alpha.20

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 (287) hide show
  1. package/dist/abac-BeKQtxIF.cjs +648 -0
  2. package/dist/abac-DPd9oLKR.mjs +643 -0
  3. package/dist/base/index.cjs +20 -20
  4. package/dist/base/index.d.cts +3 -4
  5. package/dist/base/index.d.mts +3 -4
  6. package/dist/base/index.mjs +3 -3
  7. package/dist/components/blocks/index.cjs +16 -14
  8. package/dist/components/blocks/index.d.cts +2 -1322
  9. package/dist/components/blocks/index.d.mts +2 -1322
  10. package/dist/components/blocks/index.mjs +16 -14
  11. package/dist/components/brand/index.d.cts +1 -314
  12. package/dist/components/brand/index.d.mts +1 -314
  13. package/dist/components/forms/index.cjs +10 -8
  14. package/dist/components/forms/index.d.cts +6 -3
  15. package/dist/components/forms/index.d.mts +6 -3
  16. package/dist/components/forms/index.mjs +10 -8
  17. package/dist/components/shared/index.cjs +13 -2
  18. package/dist/components/shared/index.d.cts +1 -916
  19. package/dist/components/shared/index.d.mts +1 -916
  20. package/dist/components/shared/index.mjs +13 -2
  21. package/dist/components/slideshow/index.cjs +15 -13
  22. package/dist/components/slideshow/index.d.cts +7 -5
  23. package/dist/components/slideshow/index.d.mts +7 -5
  24. package/dist/components/slideshow/index.mjs +15 -13
  25. package/dist/components/utm/index.cjs +7 -5
  26. package/dist/components/utm/index.d.cts +2 -32
  27. package/dist/components/utm/index.d.mts +2 -32
  28. package/dist/components/utm/index.mjs +7 -5
  29. package/dist/constants/index.cjs +5 -3
  30. package/dist/constants/index.d.cts +417 -3
  31. package/dist/constants/index.d.mts +417 -3
  32. package/dist/constants/index.mjs +2 -2
  33. package/dist/document-CAkRm1Y_.d.mts +24 -0
  34. package/dist/document-CDavjuJ-.mjs +19 -0
  35. package/dist/{document-Bpr9mbCs.d.mts → document-CbE38CzE.d.mts} +6 -6
  36. package/dist/document-CwIvc2p7.cjs +26 -0
  37. package/dist/document-DOVZwQRq.cjs +728 -0
  38. package/dist/document-DR6GQUE8.cjs +243 -0
  39. package/dist/document-DaICHS9G.cjs +17 -0
  40. package/dist/document-TlMeVEGy.d.cts +24 -0
  41. package/dist/document-c3GNPelp.mjs +10 -0
  42. package/dist/document-exUYRsta.mjs +128 -0
  43. package/dist/{document-hEBlSep8.d.cts → document-i-h3Orv7.d.cts} +6 -6
  44. package/dist/document-kvIqz0p6.mjs +457 -0
  45. package/dist/entities/audit-log/index.cjs +2 -2
  46. package/dist/entities/audit-log/index.d.cts +3 -3
  47. package/dist/entities/audit-log/index.d.mts +3 -3
  48. package/dist/entities/audit-log/index.mjs +1 -1
  49. package/dist/entities/blog-page/index.cjs +1 -1
  50. package/dist/entities/blog-page/index.d.cts +12 -251
  51. package/dist/entities/blog-page/index.d.mts +12 -251
  52. package/dist/entities/blog-page/index.mjs +1 -1
  53. package/dist/entities/blog-post/index.cjs +2 -2
  54. package/dist/entities/blog-post/index.d.cts +1 -916
  55. package/dist/entities/blog-post/index.d.mts +1 -916
  56. package/dist/entities/blog-post/index.mjs +2 -2
  57. package/dist/entities/careers-page/index.cjs +1 -1
  58. package/dist/entities/careers-page/index.d.cts +12 -251
  59. package/dist/entities/careers-page/index.d.mts +12 -251
  60. package/dist/entities/careers-page/index.mjs +1 -1
  61. package/dist/entities/category/index.cjs +4 -13
  62. package/dist/entities/category/index.d.cts +3 -260
  63. package/dist/entities/category/index.d.mts +3 -260
  64. package/dist/entities/category/index.mjs +2 -11
  65. package/dist/entities/client/index.cjs +3 -3
  66. package/dist/entities/client/index.d.cts +1 -84
  67. package/dist/entities/client/index.d.mts +1 -84
  68. package/dist/entities/client/index.mjs +2 -2
  69. package/dist/entities/client-content-pillar/index.cjs +10 -20
  70. package/dist/entities/client-content-pillar/index.d.cts +1 -48
  71. package/dist/entities/client-content-pillar/index.d.mts +1 -48
  72. package/dist/entities/client-content-pillar/index.mjs +2 -12
  73. package/dist/entities/client-media-platform/index.cjs +10 -17
  74. package/dist/entities/client-media-platform/index.d.cts +1 -52
  75. package/dist/entities/client-media-platform/index.d.mts +1 -52
  76. package/dist/entities/client-media-platform/index.mjs +2 -9
  77. package/dist/entities/client-project/index.cjs +22 -129
  78. package/dist/entities/client-project/index.d.cts +1 -146
  79. package/dist/entities/client-project/index.d.mts +1 -146
  80. package/dist/entities/client-project/index.mjs +2 -109
  81. package/dist/entities/client-report/index.cjs +7 -18
  82. package/dist/entities/client-report/index.d.cts +1 -62
  83. package/dist/entities/client-report/index.d.mts +1 -62
  84. package/dist/entities/client-report/index.mjs +2 -13
  85. package/dist/entities/client-styleguide/index.cjs +7 -27
  86. package/dist/entities/client-styleguide/index.d.cts +1 -47
  87. package/dist/entities/client-styleguide/index.d.mts +1 -47
  88. package/dist/entities/client-styleguide/index.mjs +2 -22
  89. package/dist/entities/client-user/index.cjs +17 -53
  90. package/dist/entities/client-user/index.d.cts +2 -47
  91. package/dist/entities/client-user/index.d.mts +2 -47
  92. package/dist/entities/client-user/index.mjs +5 -41
  93. package/dist/entities/comment/index.d.cts +1 -1
  94. package/dist/entities/comment/index.d.mts +1 -1
  95. package/dist/entities/content-pillar/index.cjs +5 -5
  96. package/dist/entities/content-pillar/index.d.cts +1 -49
  97. package/dist/entities/content-pillar/index.d.mts +1 -49
  98. package/dist/entities/content-pillar/index.mjs +2 -2
  99. package/dist/entities/faq-page/index.cjs +1 -1
  100. package/dist/entities/faq-page/index.d.cts +13 -329
  101. package/dist/entities/faq-page/index.d.mts +13 -329
  102. package/dist/entities/faq-page/index.mjs +1 -1
  103. package/dist/entities/gcflytour/index.cjs +9 -19
  104. package/dist/entities/gcflytour/index.d.cts +1 -60
  105. package/dist/entities/gcflytour/index.d.mts +1 -60
  106. package/dist/entities/gcflytour/index.mjs +2 -12
  107. package/dist/entities/gcflytour-snap/index.cjs +7 -17
  108. package/dist/entities/gcflytour-snap/index.d.cts +1 -58
  109. package/dist/entities/gcflytour-snap/index.d.mts +1 -58
  110. package/dist/entities/gcflytour-snap/index.mjs +2 -12
  111. package/dist/entities/landing-page/index.cjs +2 -2
  112. package/dist/entities/landing-page/index.d.cts +25 -474
  113. package/dist/entities/landing-page/index.d.mts +25 -474
  114. package/dist/entities/landing-page/index.mjs +2 -2
  115. package/dist/entities/lead/index.cjs +2 -2
  116. package/dist/entities/lead/index.mjs +1 -1
  117. package/dist/entities/media-content-type/index.cjs +10 -23
  118. package/dist/entities/media-content-type/index.d.cts +3 -3
  119. package/dist/entities/media-content-type/index.d.mts +3 -3
  120. package/dist/entities/media-content-type/index.mjs +2 -15
  121. package/dist/entities/media-creative-format/index.cjs +7 -16
  122. package/dist/entities/media-creative-format/index.d.cts +3 -3
  123. package/dist/entities/media-creative-format/index.d.mts +3 -3
  124. package/dist/entities/media-creative-format/index.mjs +2 -11
  125. package/dist/entities/media-medium/index.cjs +7 -18
  126. package/dist/entities/media-medium/index.d.cts +3 -18
  127. package/dist/entities/media-medium/index.d.mts +3 -18
  128. package/dist/entities/media-medium/index.mjs +2 -13
  129. package/dist/entities/media-platform/index.cjs +13 -29
  130. package/dist/entities/media-platform/index.d.cts +1 -73
  131. package/dist/entities/media-platform/index.d.mts +1 -73
  132. package/dist/entities/media-platform/index.mjs +2 -18
  133. package/dist/entities/monday-workspace/index.cjs +7 -14
  134. package/dist/entities/monday-workspace/index.d.cts +1 -46
  135. package/dist/entities/monday-workspace/index.d.mts +1 -46
  136. package/dist/entities/monday-workspace/index.mjs +2 -9
  137. package/dist/entities/newsletter-signup/index.cjs +2 -2
  138. package/dist/entities/newsletter-signup/index.mjs +1 -1
  139. package/dist/entities/policy-page/index.cjs +2 -2
  140. package/dist/entities/policy-page/index.d.cts +15 -321
  141. package/dist/entities/policy-page/index.d.mts +15 -321
  142. package/dist/entities/policy-page/index.mjs +2 -2
  143. package/dist/entities/product/index.cjs +2 -21
  144. package/dist/entities/product/index.d.cts +1 -319
  145. package/dist/entities/product/index.d.mts +1 -319
  146. package/dist/entities/product/index.mjs +1 -18
  147. package/dist/entities/product-highlight/index.cjs +2 -21
  148. package/dist/entities/product-highlight/index.d.cts +1 -244
  149. package/dist/entities/product-highlight/index.d.mts +1 -244
  150. package/dist/entities/product-highlight/index.mjs +1 -18
  151. package/dist/entities/resume/index.cjs +2 -2
  152. package/dist/entities/resume/index.mjs +1 -1
  153. package/dist/entities/tag/index.cjs +4 -11
  154. package/dist/entities/tag/index.d.cts +3 -14
  155. package/dist/entities/tag/index.d.mts +3 -14
  156. package/dist/entities/tag/index.mjs +2 -9
  157. package/dist/entities/team-member/index.cjs +8 -3
  158. package/dist/entities/team-member/index.d.cts +2 -210
  159. package/dist/entities/team-member/index.d.mts +2 -210
  160. package/dist/entities/team-member/index.mjs +7 -3
  161. package/dist/entities/team-page/index.cjs +1 -1
  162. package/dist/entities/team-page/index.d.cts +12 -251
  163. package/dist/entities/team-page/index.d.mts +12 -251
  164. package/dist/entities/team-page/index.mjs +1 -1
  165. package/dist/entities/teamwork/index.d.cts +5 -6
  166. package/dist/entities/teamwork/index.d.mts +5 -6
  167. package/dist/entities/trend/index.cjs +4 -18
  168. package/dist/entities/trend/index.d.cts +1 -333
  169. package/dist/entities/trend/index.d.mts +1 -333
  170. package/dist/entities/trend/index.mjs +2 -16
  171. package/dist/entities/up-auth/index.d.cts +1 -1
  172. package/dist/entities/up-auth/index.d.mts +1 -1
  173. package/dist/entities/up-permission/index.cjs +2 -11
  174. package/dist/entities/up-permission/index.d.cts +1 -13
  175. package/dist/entities/up-permission/index.d.mts +1 -13
  176. package/dist/entities/up-permission/index.mjs +1 -8
  177. package/dist/entities/up-role/index.cjs +4 -27
  178. package/dist/entities/up-role/index.d.cts +1 -2
  179. package/dist/entities/up-role/index.d.mts +1 -2
  180. package/dist/entities/up-role/index.mjs +1 -22
  181. package/dist/entities/up-user/index.cjs +9 -63
  182. package/dist/entities/up-user/index.d.cts +1 -37
  183. package/dist/entities/up-user/index.d.mts +1 -37
  184. package/dist/entities/up-user/index.mjs +1 -53
  185. package/dist/entities/url-redirect/index.d.cts +2 -2
  186. package/dist/entities/url-redirect/index.d.mts +2 -2
  187. package/dist/entities/user-account/index.cjs +10 -18
  188. package/dist/entities/user-account/index.d.cts +2 -2
  189. package/dist/entities/user-account/index.d.mts +2 -2
  190. package/dist/entities/user-account/index.mjs +3 -11
  191. package/dist/entities/utm-link-builder/index.cjs +9 -8
  192. package/dist/entities/utm-link-builder/index.d.cts +2 -3
  193. package/dist/entities/utm-link-builder/index.d.mts +2 -3
  194. package/dist/entities/utm-link-builder/index.mjs +6 -4
  195. package/dist/entities/utm-meta/index.d.cts +7 -7
  196. package/dist/entities/utm-meta/index.d.mts +7 -7
  197. package/dist/entities/utm-tracking-link/index.cjs +7 -28
  198. package/dist/entities/utm-tracking-link/index.d.cts +1 -234
  199. package/dist/entities/utm-tracking-link/index.d.mts +1 -234
  200. package/dist/entities/utm-tracking-link/index.mjs +2 -23
  201. package/dist/index-B3VtiObV.d.mts +317 -0
  202. package/dist/{document-C0c7azOe.d.mts → index-BxEBUjx2.d.mts} +236 -184
  203. package/dist/index-CQP_vcmO.d.cts +317 -0
  204. package/dist/index-CRoWUxGV.d.cts +1324 -0
  205. package/dist/index-Ct-9aFSN.d.mts +945 -0
  206. package/dist/index-D11tQdCv.d.cts +34 -0
  207. package/dist/index-DLICmJ_-.d.mts +34 -0
  208. package/dist/{index-DYPjS1qh.d.mts → index-DMgh7_6t.d.mts} +3 -3
  209. package/dist/index-DWx5cycC.d.cts +4746 -0
  210. package/dist/index-DkCme935.d.cts +945 -0
  211. package/dist/index-DmSY24F-.d.mts +4746 -0
  212. package/dist/{index-Bht1Jd5l.d.mts → index-HC5SDR9c.d.mts} +111 -154
  213. package/dist/{index-ZBDWYTfn.d.cts → index-VMlL6p9e.d.cts} +111 -154
  214. package/dist/{index-BLE_fX1Q.d.cts → index-WPFNVyxL.d.cts} +3 -3
  215. package/dist/{document-DN3g0EFx.d.cts → index-auU0DaW5.d.cts} +236 -184
  216. package/dist/index-oCLNrzIj.d.mts +1324 -0
  217. package/dist/{json-CqAaKeHA.d.mts → json-BrVkpLbC.d.mts} +1 -0
  218. package/dist/{json-BJ8GyrtC.d.cts → json-Cm6HECXA.d.cts} +1 -0
  219. package/dist/media-upload-D-nP8FR1.d.cts +140 -0
  220. package/dist/media-upload-DKeA1eD-.d.mts +140 -0
  221. package/dist/permissions/index.cjs +3 -663
  222. package/dist/permissions/index.d.cts +2 -2
  223. package/dist/permissions/index.d.mts +2 -2
  224. package/dist/permissions/index.mjs +3 -661
  225. package/dist/{query.schema-DHTf6rTw.cjs → query-BOZj3jek.cjs} +3 -3
  226. package/dist/{query.schema-YKoOuBnk.mjs → query-Dpy-S8bA.mjs} +2 -2
  227. package/dist/{relations-CGu18hfT.cjs → relationships-B0sgMFZA.cjs} +2 -2
  228. package/dist/{relations-C04F46xL.mjs → relationships-D1Kp-Gfe.mjs} +2 -2
  229. package/dist/{strapi-C7POOPEf.cjs → strapi-B0f98T3D.cjs} +3 -3
  230. package/dist/strapi-BZGtE-mE.cjs +455 -0
  231. package/dist/{strapi-C0DtxJLD.mjs → strapi-CcyhoATG.mjs} +3 -3
  232. package/dist/strapi-JZZXwngw.mjs +420 -0
  233. package/dist/utilities/index.cjs +20 -0
  234. package/dist/utilities/index.d.cts +7 -2
  235. package/dist/utilities/index.d.mts +7 -2
  236. package/dist/utilities/index.mjs +19 -1
  237. package/package.json +1 -1
  238. package/dist/document-BAzLIprH.d.mts +0 -100
  239. package/dist/document-BFukanLe.mjs +0 -54
  240. package/dist/document-BK1ASowb.d.cts +0 -17
  241. package/dist/document-BMxLOdrT.d.cts +0 -267
  242. package/dist/document-BNoXPGwF.d.mts +0 -27
  243. package/dist/document-B_pJW777.d.mts +0 -30
  244. package/dist/document-Bd2AyLs8.d.mts +0 -16
  245. package/dist/document-BezYxNmb.d.cts +0 -16
  246. package/dist/document-Bj7SRTOn.d.cts +0 -18
  247. package/dist/document-Bo869pZx.d.mts +0 -18
  248. package/dist/document-Bs8c1mok.d.cts +0 -15
  249. package/dist/document-CTTDXzOF.mjs +0 -13
  250. package/dist/document-CUl_Ys6-.mjs +0 -23
  251. package/dist/document-CWYzG60q.d.cts +0 -19
  252. package/dist/document-Ccszj8lR.cjs +0 -20
  253. package/dist/document-CjNHI7Eb.d.cts +0 -27
  254. package/dist/document-Cu_HUDC5.mjs +0 -51
  255. package/dist/document-D-KvyEb5.d.cts +0 -238
  256. package/dist/document-D2nLVGig.d.mts +0 -238
  257. package/dist/document-D4fJt3zX.d.cts +0 -12223
  258. package/dist/document-D5yDIDIx.d.mts +0 -15
  259. package/dist/document-D73dqRle.d.cts +0 -19
  260. package/dist/document-DA6YVZz-.d.cts +0 -100
  261. package/dist/document-DJ0YiVte.d.cts +0 -30
  262. package/dist/document-DMHIUE3J.d.mts +0 -17
  263. package/dist/document-DYzRVV1C.d.mts +0 -16
  264. package/dist/document-D_ZMbzn6.d.cts +0 -18
  265. package/dist/document-DdRo9TdG.d.mts +0 -12223
  266. package/dist/document-DeoRGh7p.d.mts +0 -19
  267. package/dist/document-DsIPBTG8.cjs +0 -30
  268. package/dist/document-DsSaMVGb.cjs +0 -106
  269. package/dist/document-Gx2Vrg_w.d.mts +0 -267
  270. package/dist/document-IIJpsOIO.d.cts +0 -16
  271. package/dist/document-WHS8GHY5.d.mts +0 -18
  272. package/dist/document-dqrWptdY.d.cts +0 -244
  273. package/dist/document-rbMXLGxt.cjs +0 -103
  274. package/dist/document-si7GYS5g.d.mts +0 -19
  275. package/dist/document-vq-7rcU5.d.mts +0 -244
  276. package/dist/fields-BQHSYj70.d.cts +0 -7
  277. package/dist/fields-qx-5saY5.d.mts +0 -7
  278. package/dist/index-BI8tN-QZ.d.mts +0 -99
  279. package/dist/index-DpYYzY_9.d.cts +0 -99
  280. package/dist/query.schema-BOn5Kk_p.d.mts +0 -41
  281. package/dist/query.schema-CItKlb0x.d.cts +0 -41
  282. package/dist/response-C-7nyNVD.d.mts +0 -57
  283. package/dist/response-c6SgLvi9.d.cts +0 -57
  284. package/dist/strapi-COeswSwJ.mjs +0 -49
  285. package/dist/strapi-DmhV7ODq.cjs +0 -72
  286. /package/dist/{constants-L2goO7Eg.mjs → constants-Htf-MeCA.mjs} +0 -0
  287. /package/dist/{constants-PBZKggHL.cjs → constants-f1GP2eiq.cjs} +0 -0
@@ -1,38 +1,2 @@
1
- import { t as UserDocument } from "../../document-si7GYS5g.mjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/up-user/constants.d.ts
5
- declare const LIMIT_USER_PAGINATION_DEFAULT_SIZE = 10;
6
- declare const LIMIT_USER_PAGINATION_MAX_SIZE = 10;
7
- declare const USER_SORT_KEYS: readonly ["id", "username", "email", "confirmed", "blocked", "createdAt", "updatedAt"];
8
- //#endregion
9
- //#region src/entities/up-user/fields.d.ts
10
- 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>;
11
- type QuerySortUsers = v.InferOutput<typeof QuerySortUsers>;
12
- //#endregion
13
- //#region src/entities/up-user/mutation.d.ts
14
- declare const CreateUserDocument: v.ObjectSchema<{
15
- readonly username: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
16
- readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 5, undefined>, v.MaxLengthAction<string, 255, undefined>, v.EmailAction<string, undefined>]>;
17
- readonly password: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
18
- readonly blocked: v.BooleanSchema<undefined>;
19
- readonly confirmed: v.BooleanSchema<undefined>;
20
- readonly role: v.NumberSchema<undefined>;
21
- }, undefined>;
22
- type CreateUserDocument = v.InferOutput<typeof CreateUserDocument>;
23
- //#endregion
24
- //#region src/entities/up-user/query.d.ts
25
- declare const QueryStrapiUsers: v.ObjectSchema<{
26
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
27
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
28
- 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>;
29
- }, undefined>;
30
- type QueryStrapiUsers = v.InferOutput<typeof QueryStrapiUsers>;
31
- declare const QueryStrapiUsersByIdentifier: v.ObjectSchema<{
32
- readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
33
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
34
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
35
- }, undefined>;
36
- type QueryStrapiUsersByIdentifier = v.InferOutput<typeof QueryStrapiUsersByIdentifier>;
37
- //#endregion
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-DmSY24F-.mjs";
38
2
  export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
@@ -1,54 +1,2 @@
1
- import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
- import { s as REGEX_UTM_VALUE } from "../../regex-BnKGcdS4.mjs";
3
- import { d as VStringMinMax, f as VStringMinMaxRegex, h as VStringShort, i as VSize, o as VStringEmail, r as VPage } from "../../validators-P5E_3qzc.mjs";
4
- import * as v from "valibot";
5
- //#region src/entities/up-user/constants.ts
6
- const LIMIT_USER_PAGINATION_DEFAULT_SIZE = 10;
7
- const LIMIT_USER_PAGINATION_MAX_SIZE = 10;
8
- const USER_SORT_KEYS = [
9
- "id",
10
- "username",
11
- "email",
12
- "confirmed",
13
- "blocked",
14
- "createdAt",
15
- "updatedAt"
16
- ];
17
- //#endregion
18
- //#region src/entities/up-user/document.ts
19
- const UserDocument = v.object({
20
- ...BaseDocument.entries,
21
- username: v.string(),
22
- email: v.string(),
23
- provider: v.string(),
24
- confirmed: v.boolean(),
25
- blocked: v.boolean(),
26
- clerk_user_id: v.nullable(v.string())
27
- });
28
- //#endregion
29
- //#region src/entities/up-user/fields.ts
30
- const QuerySortUsers = v.optional(v.pipe(v.array(v.picklist(USER_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(USER_SORT_KEYS.length)));
31
- //#endregion
32
- //#region src/entities/up-user/mutation.ts
33
- const CreateUserDocument = v.object({
34
- username: VStringMinMaxRegex(3, 255, REGEX_UTM_VALUE, "username must be alphanumeric"),
35
- email: VStringEmail(),
36
- password: VStringMinMax(8, 255),
37
- blocked: v.boolean(),
38
- confirmed: v.boolean(),
39
- role: v.number()
40
- });
41
- //#endregion
42
- //#region src/entities/up-user/query.ts
43
- const QueryStrapiUsers = v.object({
44
- page: VPage(),
45
- size: VSize(10),
46
- sort: QuerySortUsers
47
- });
48
- const QueryStrapiUsersByIdentifier = v.object({
49
- identifier: VStringShort(0),
50
- page: VPage(),
51
- size: VSize(10)
52
- });
53
- //#endregion
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";
54
2
  export { CreateUserDocument, LIMIT_USER_PAGINATION_DEFAULT_SIZE, LIMIT_USER_PAGINATION_MAX_SIZE, QuerySortUsers, QueryStrapiUsers, QueryStrapiUsersByIdentifier, USER_SORT_KEYS, UserDocument };
@@ -27,14 +27,14 @@ declare const UrlRedirectStatusCode: v.PicklistSchema<readonly ["found_302", "mo
27
27
  type UrlRedirectStatusCode = v.InferOutput<typeof UrlRedirectStatusCode>;
28
28
  declare const UrlRedirectQueryParams: v.PicklistSchema<readonly ["ignore_and_pass_to_target", "ignore_all_parameters", "exact_match_in_any_order"], undefined>;
29
29
  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>;
30
+ declare const QuerySortUrlRedirects: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "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" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "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
31
  type QuerySortUrlRedirects = v.InferOutput<typeof QuerySortUrlRedirects>;
32
32
  //#endregion
33
33
  //#region src/entities/url-redirect/query.d.ts
34
34
  declare const QueryStrapiPaginatedUrlRedirects: v.ObjectSchema<{
35
35
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>, 1>, 1>;
36
36
  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>;
37
+ readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "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" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "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
38
  }, undefined>;
39
39
  type QueryStrapiPaginatedUrlRedirects = v.InferOutput<typeof QueryStrapiPaginatedUrlRedirects>;
40
40
  declare const QueryStrapiUrlRedirectsByFrom: v.ObjectSchema<{
@@ -27,14 +27,14 @@ declare const UrlRedirectStatusCode: v.PicklistSchema<readonly ["found_302", "mo
27
27
  type UrlRedirectStatusCode = v.InferOutput<typeof UrlRedirectStatusCode>;
28
28
  declare const UrlRedirectQueryParams: v.PicklistSchema<readonly ["ignore_and_pass_to_target", "ignore_all_parameters", "exact_match_in_any_order"], undefined>;
29
29
  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>;
30
+ declare const QuerySortUrlRedirects: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "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" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "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
31
  type QuerySortUrlRedirects = v.InferOutput<typeof QuerySortUrlRedirects>;
32
32
  //#endregion
33
33
  //#region src/entities/url-redirect/query.d.ts
34
34
  declare const QueryStrapiPaginatedUrlRedirects: v.ObjectSchema<{
35
35
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>, 1>, 1>;
36
36
  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>;
37
+ readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "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" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:ASC" | "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
38
  }, undefined>;
39
39
  type QueryStrapiPaginatedUrlRedirects = v.InferOutput<typeof QueryStrapiPaginatedUrlRedirects>;
40
40
  declare const QueryStrapiUrlRedirectsByFrom: v.ObjectSchema<{
@@ -1,43 +1,35 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_document = require("../../document-BAro2Mrj.cjs");
4
- const require_query_schema = require("../../query.schema-DHTf6rTw.cjs");
3
+ const require_query = require("../../query-BOZj3jek.cjs");
5
4
  require("../../regex-Cl5goNwp.cjs");
6
5
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
7
- const require_relations = require("../../relations-CGu18hfT.cjs");
6
+ const require_relationships = require("../../relationships-B0sgMFZA.cjs");
7
+ const require_document = require("../../document-DOVZwQRq.cjs");
8
8
  let valibot = require("valibot");
9
9
  valibot = require_chunk.__toESM(valibot, 1);
10
- //#region src/entities/user-account/document.ts
11
- const UserAccountDocument = valibot.object({
12
- ...require_document.BaseDocument.entries,
13
- preferred_name: valibot.nullable(valibot.string()),
14
- first_name: valibot.string(),
15
- last_name: valibot.string()
16
- });
17
- //#endregion
18
10
  //#region src/entities/user-account/mutation.ts
19
11
  const UpdateUserAccount = valibot.object({
20
- documentId: require_relations.SAssociateOneEntity,
12
+ documentId: require_relationships.SAssociateOneEntity,
21
13
  first_name: require_validators.VStringMinMax(1, 255),
22
14
  last_name: require_validators.VStringMinMax(1, 255),
23
15
  preferred_name: valibot.nullable(require_validators.VStringMinMax(1, 255))
24
16
  });
25
17
  const UpdateUserAccountFirstName = valibot.object({
26
- documentId: require_relations.SAssociateOneEntity,
18
+ documentId: require_relationships.SAssociateOneEntity,
27
19
  first_name: require_validators.VStringMinMax(1, 255)
28
20
  });
29
21
  const UpdateUserAccountLastName = valibot.object({
30
- documentId: require_relations.SAssociateOneEntity,
22
+ documentId: require_relationships.SAssociateOneEntity,
31
23
  last_name: require_validators.VStringMinMax(1, 255)
32
24
  });
33
25
  const UpdateUserAccountPreferredName = valibot.object({
34
- documentId: require_relations.SAssociateOneEntity,
26
+ documentId: require_relationships.SAssociateOneEntity,
35
27
  preferred_name: valibot.nullable(require_validators.VStringMinMax(1, 255))
36
28
  });
37
29
  //#endregion
38
30
  //#region src/entities/user-account/query.ts
39
- const SReadUserAccountById = require_query_schema.QueryStrapiById;
40
- const SReadUserAccountByDocumentId = require_query_schema.QueryStrapiByDocumentId;
31
+ const SReadUserAccountById = require_query.QueryStrapiById;
32
+ const SReadUserAccountByDocumentId = require_query.QueryStrapiByDocumentId;
41
33
  //#endregion
42
34
  exports.SReadUserAccountByDocumentId = SReadUserAccountByDocumentId;
43
35
  exports.SReadUserAccountById = SReadUserAccountById;
@@ -45,4 +37,4 @@ exports.UpdateUserAccount = UpdateUserAccount;
45
37
  exports.UpdateUserAccountFirstName = UpdateUserAccountFirstName;
46
38
  exports.UpdateUserAccountLastName = UpdateUserAccountLastName;
47
39
  exports.UpdateUserAccountPreferredName = UpdateUserAccountPreferredName;
48
- exports.UserAccountDocument = UserAccountDocument;
40
+ exports.UserAccountDocument = require_document.UserAccountDocument;
@@ -1,5 +1,5 @@
1
- import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-CItKlb0x.cjs";
2
- import { t as UserAccountDocument } from "../../document-IIJpsOIO.cjs";
1
+ import { dt as QueryStrapiById, lt as QueryStrapiByDocumentId } from "../../index-VMlL6p9e.cjs";
2
+ import { Pn as UserAccountDocument } from "../../index-DWx5cycC.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 { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-BOn5Kk_p.mjs";
2
- import { t as UserAccountDocument } from "../../document-Bd2AyLs8.mjs";
1
+ import { dt as QueryStrapiById, lt as QueryStrapiByDocumentId } from "../../index-HC5SDR9c.mjs";
2
+ import { Pn as UserAccountDocument } from "../../index-DmSY24F-.mjs";
3
3
  import * as v from "valibot";
4
4
 
5
5
  //#region src/entities/user-account/mutation.d.ts
@@ -1,17 +1,9 @@
1
- import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
- import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-YKoOuBnk.mjs";
1
+ import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query-Dpy-S8bA.mjs";
3
2
  import "../../regex-BnKGcdS4.mjs";
4
3
  import { d as VStringMinMax } from "../../validators-P5E_3qzc.mjs";
5
- import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
4
+ import { a as SAssociateOneEntity } from "../../relationships-D1Kp-Gfe.mjs";
5
+ import { y as UserAccountDocument } from "../../document-kvIqz0p6.mjs";
6
6
  import * as v from "valibot";
7
- //#region src/entities/user-account/document.ts
8
- const UserAccountDocument = v.object({
9
- ...BaseDocument.entries,
10
- preferred_name: v.nullable(v.string()),
11
- first_name: v.string(),
12
- last_name: v.string()
13
- });
14
- //#endregion
15
7
  //#region src/entities/user-account/mutation.ts
16
8
  const UpdateUserAccount = v.object({
17
9
  documentId: SAssociateOneEntity,
@@ -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-B0sgMFZA.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
@@ -14,15 +14,17 @@ const UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS = [
14
14
  "no date"
15
15
  ];
16
16
  //#endregion
17
+ //#region src/entities/utm-link-builder/fields.ts
18
+ const UtmLinkBuilderPartCampaignDate = valibot.picklist(UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS);
19
+ //#endregion
17
20
  //#region src/entities/utm-link-builder/mutation.ts
18
- const SUtmLinkBuilderPartCampaignDateOptions = UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS;
19
21
  const SUtmLinkBuilderCampaign = valibot.object({
20
22
  campaign_phase: require_validators.VStringMinMax(1, 255),
21
23
  campaign_product: valibot.optional(require_validators.VStringMax()),
22
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))),
23
25
  campaign_key: valibot.optional(require_validators.VStringMaxRegex(255, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE)),
24
26
  campaign_date: valibot.object({
25
- format: valibot.picklist(SUtmLinkBuilderPartCampaignDateOptions),
27
+ format: UtmLinkBuilderPartCampaignDate,
26
28
  value: valibot.object({
27
29
  year: valibot.number(),
28
30
  quarter: require_validators.VIntegerNullable(),
@@ -41,8 +43,8 @@ const SUtmLinkBuilderCreativeFormat = valibot.object({
41
43
  }))
42
44
  });
43
45
  const SUtmLinkBuilderTableForm = valibot.object({
44
- creator: require_relations.SAssociateOneEntity,
45
- client: require_relations.SAssociateOneEntity,
46
+ creator: require_relationships.SAssociateOneEntity,
47
+ client: require_relationships.SAssociateOneEntity,
46
48
  variants: valibot.pipe(valibot.array(valibot.object({
47
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) => {
48
50
  if (input === "") return false;
@@ -58,8 +60,8 @@ const SUtmLinkBuilderTableForm = valibot.object({
58
60
  notes: valibot.optional(require_validators.VStringMax())
59
61
  });
60
62
  const SUtmLinkBuilderSingleForm = valibot.object({
61
- creator: require_relations.SAssociateOneEntity,
62
- client: require_relations.SAssociateOneEntity,
63
+ creator: require_relationships.SAssociateOneEntity,
64
+ client: require_relationships.SAssociateOneEntity,
63
65
  url_destination: valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
64
66
  if (input === "") return false;
65
67
  return input.indexOf("?") === -1;
@@ -78,7 +80,6 @@ const SUtmLinkBuilderSingleForm = valibot.object({
78
80
  //#endregion
79
81
  exports.SUtmLinkBuilderCampaign = SUtmLinkBuilderCampaign;
80
82
  exports.SUtmLinkBuilderCreativeFormat = SUtmLinkBuilderCreativeFormat;
81
- exports.SUtmLinkBuilderPartCampaignDateOptions = SUtmLinkBuilderPartCampaignDateOptions;
82
83
  exports.SUtmLinkBuilderSingleForm = SUtmLinkBuilderSingleForm;
83
84
  exports.SUtmLinkBuilderTableForm = SUtmLinkBuilderTableForm;
84
85
  exports.UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS = UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS;
@@ -4,8 +4,7 @@ import * as v from "valibot";
4
4
  declare const UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS: readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"];
5
5
  //#endregion
6
6
  //#region src/entities/utm-link-builder/mutation.d.ts
7
- declare const SUtmLinkBuilderPartCampaignDateOptions: readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"];
8
- type SUtmLinkBuilderPartCampaignDateValue = (typeof SUtmLinkBuilderPartCampaignDateOptions)[number];
7
+ type SUtmLinkBuilderPartCampaignDateValue = (typeof UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS)[number];
9
8
  declare const SUtmLinkBuilderCampaign: v.ObjectSchema<{
10
9
  readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
11
10
  readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -188,4 +187,4 @@ type SUtmLinkBuilderSingleFormIn = v.InferInput<typeof SUtmLinkBuilderSingleForm
188
187
  type SUtmLinkBuilderSingleFormOut = v.InferOutput<typeof SUtmLinkBuilderSingleForm>;
189
188
  type SUtmLinkBuilderSingleForm = v.InferOutput<typeof SUtmLinkBuilderSingleForm>;
190
189
  //#endregion
191
- export { SUtmLinkBuilderCampaign, SUtmLinkBuilderCreativeFormat, SUtmLinkBuilderPartCampaignDateOptions, SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderSingleForm, SUtmLinkBuilderSingleFormIn, SUtmLinkBuilderSingleFormOut, SUtmLinkBuilderTableForm, SUtmLinkBuilderTableFormIn, SUtmLinkBuilderTableFormOut, UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS };
190
+ export { SUtmLinkBuilderCampaign, SUtmLinkBuilderCreativeFormat, SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderSingleForm, SUtmLinkBuilderSingleFormIn, SUtmLinkBuilderSingleFormOut, SUtmLinkBuilderTableForm, SUtmLinkBuilderTableFormIn, SUtmLinkBuilderTableFormOut, UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS };
@@ -4,8 +4,7 @@ import * as v from "valibot";
4
4
  declare const UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS: readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"];
5
5
  //#endregion
6
6
  //#region src/entities/utm-link-builder/mutation.d.ts
7
- declare const SUtmLinkBuilderPartCampaignDateOptions: readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"];
8
- type SUtmLinkBuilderPartCampaignDateValue = (typeof SUtmLinkBuilderPartCampaignDateOptions)[number];
7
+ type SUtmLinkBuilderPartCampaignDateValue = (typeof UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS)[number];
9
8
  declare const SUtmLinkBuilderCampaign: v.ObjectSchema<{
10
9
  readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
11
10
  readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
@@ -188,4 +187,4 @@ type SUtmLinkBuilderSingleFormIn = v.InferInput<typeof SUtmLinkBuilderSingleForm
188
187
  type SUtmLinkBuilderSingleFormOut = v.InferOutput<typeof SUtmLinkBuilderSingleForm>;
189
188
  type SUtmLinkBuilderSingleForm = v.InferOutput<typeof SUtmLinkBuilderSingleForm>;
190
189
  //#endregion
191
- export { SUtmLinkBuilderCampaign, SUtmLinkBuilderCreativeFormat, SUtmLinkBuilderPartCampaignDateOptions, SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderSingleForm, SUtmLinkBuilderSingleFormIn, SUtmLinkBuilderSingleFormOut, SUtmLinkBuilderTableForm, SUtmLinkBuilderTableFormIn, SUtmLinkBuilderTableFormOut, UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS };
190
+ export { SUtmLinkBuilderCampaign, SUtmLinkBuilderCreativeFormat, SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderSingleForm, SUtmLinkBuilderSingleFormIn, SUtmLinkBuilderSingleFormOut, SUtmLinkBuilderTableForm, SUtmLinkBuilderTableFormIn, SUtmLinkBuilderTableFormOut, UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS };
@@ -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-D1Kp-Gfe.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 = [
@@ -11,15 +11,17 @@ const UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS = [
11
11
  "no date"
12
12
  ];
13
13
  //#endregion
14
+ //#region src/entities/utm-link-builder/fields.ts
15
+ const UtmLinkBuilderPartCampaignDate = v.picklist(UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS);
16
+ //#endregion
14
17
  //#region src/entities/utm-link-builder/mutation.ts
15
- const SUtmLinkBuilderPartCampaignDateOptions = UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS;
16
18
  const SUtmLinkBuilderCampaign = v.object({
17
19
  campaign_phase: VStringMinMax(1, 255),
18
20
  campaign_product: v.optional(VStringMax()),
19
21
  campaign_targeting: v.optional(v.pipe(v.array(VStringMaxRegex(255, REGEX_UTM_VALUE, ERROR_MESSAGE_REGEX_UTM_VALUE)), v.maxLength(10))),
20
22
  campaign_key: v.optional(VStringMaxRegex(255, REGEX_UTM_VALUE, ERROR_MESSAGE_REGEX_UTM_VALUE)),
21
23
  campaign_date: v.object({
22
- format: v.picklist(SUtmLinkBuilderPartCampaignDateOptions),
24
+ format: UtmLinkBuilderPartCampaignDate,
23
25
  value: v.object({
24
26
  year: v.number(),
25
27
  quarter: VIntegerNullable(),
@@ -73,4 +75,4 @@ const SUtmLinkBuilderSingleForm = v.object({
73
75
  notes: v.optional(VStringMax())
74
76
  });
75
77
  //#endregion
76
- export { SUtmLinkBuilderCampaign, SUtmLinkBuilderCreativeFormat, SUtmLinkBuilderPartCampaignDateOptions, SUtmLinkBuilderSingleForm, SUtmLinkBuilderTableForm, UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS };
78
+ export { SUtmLinkBuilderCampaign, SUtmLinkBuilderCreativeFormat, SUtmLinkBuilderSingleForm, SUtmLinkBuilderTableForm, UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS };
@@ -8,7 +8,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
8
8
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
9
9
  readonly is_active: v.BooleanSchema<undefined>;
10
10
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
11
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
11
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
12
12
  readonly id: v.NumberSchema<undefined>;
13
13
  readonly __component: v.StringSchema<undefined>;
14
14
  }, undefined>, undefined>;
@@ -18,7 +18,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
18
18
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
19
19
  readonly is_active: v.BooleanSchema<undefined>;
20
20
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
21
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
21
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
22
22
  readonly id: v.NumberSchema<undefined>;
23
23
  readonly __component: v.StringSchema<undefined>;
24
24
  }, undefined>, undefined>;
@@ -28,7 +28,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
28
28
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
29
29
  readonly is_active: v.BooleanSchema<undefined>;
30
30
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
31
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
31
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
32
32
  readonly id: v.NumberSchema<undefined>;
33
33
  readonly __component: v.StringSchema<undefined>;
34
34
  }, undefined>, undefined>;
@@ -38,7 +38,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
38
38
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
39
39
  readonly is_active: v.BooleanSchema<undefined>;
40
40
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
41
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
41
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
42
42
  readonly id: v.NumberSchema<undefined>;
43
43
  readonly __component: v.StringSchema<undefined>;
44
44
  }, undefined>, undefined>;
@@ -48,7 +48,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
48
48
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
49
49
  readonly is_active: v.BooleanSchema<undefined>;
50
50
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
51
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
51
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
52
52
  readonly id: v.NumberSchema<undefined>;
53
53
  readonly __component: v.StringSchema<undefined>;
54
54
  }, undefined>, undefined>;
@@ -58,7 +58,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
58
58
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
59
59
  readonly is_active: v.BooleanSchema<undefined>;
60
60
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
61
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
61
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
62
62
  readonly id: v.NumberSchema<undefined>;
63
63
  readonly __component: v.StringSchema<undefined>;
64
64
  }, undefined>, undefined>;
@@ -68,7 +68,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
68
68
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
69
69
  readonly is_active: v.BooleanSchema<undefined>;
70
70
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
71
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
71
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
72
72
  readonly id: v.NumberSchema<undefined>;
73
73
  readonly __component: v.StringSchema<undefined>;
74
74
  }, undefined>, undefined>;
@@ -8,7 +8,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
8
8
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
9
9
  readonly is_active: v.BooleanSchema<undefined>;
10
10
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
11
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
11
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
12
12
  readonly id: v.NumberSchema<undefined>;
13
13
  readonly __component: v.StringSchema<undefined>;
14
14
  }, undefined>, undefined>;
@@ -18,7 +18,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
18
18
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
19
19
  readonly is_active: v.BooleanSchema<undefined>;
20
20
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
21
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
21
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
22
22
  readonly id: v.NumberSchema<undefined>;
23
23
  readonly __component: v.StringSchema<undefined>;
24
24
  }, undefined>, undefined>;
@@ -28,7 +28,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
28
28
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
29
29
  readonly is_active: v.BooleanSchema<undefined>;
30
30
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
31
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
31
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
32
32
  readonly id: v.NumberSchema<undefined>;
33
33
  readonly __component: v.StringSchema<undefined>;
34
34
  }, undefined>, undefined>;
@@ -38,7 +38,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
38
38
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
39
39
  readonly is_active: v.BooleanSchema<undefined>;
40
40
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
41
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
41
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
42
42
  readonly id: v.NumberSchema<undefined>;
43
43
  readonly __component: v.StringSchema<undefined>;
44
44
  }, undefined>, undefined>;
@@ -48,7 +48,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
48
48
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
49
49
  readonly is_active: v.BooleanSchema<undefined>;
50
50
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
51
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
51
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
52
52
  readonly id: v.NumberSchema<undefined>;
53
53
  readonly __component: v.StringSchema<undefined>;
54
54
  }, undefined>, undefined>;
@@ -58,7 +58,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
58
58
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
59
59
  readonly is_active: v.BooleanSchema<undefined>;
60
60
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
61
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
61
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
62
62
  readonly id: v.NumberSchema<undefined>;
63
63
  readonly __component: v.StringSchema<undefined>;
64
64
  }, undefined>, undefined>;
@@ -68,7 +68,7 @@ declare const UtmMetaPageDocument: v.ObjectSchema<{
68
68
  readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
69
69
  readonly is_active: v.BooleanSchema<undefined>;
70
70
  readonly active_by_classification: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
71
- readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["organic", "paid"], undefined>, undefined>;
71
+ readonly active_by_source: v.ArraySchema<v.PicklistSchema<readonly ["all", "meta", "meta_facebook", "meta_instagram", "tiktok", "twitter", "linkedin", "pinterest", "google", "youtube", "bing", "sms", "email", "realtor", "zillow", "bdx_nhs", "yelp", "qr_code", "stackadapt", "newswire", "propellant", "mobile_app", "gcflytour", "referral"], undefined>, undefined>;
72
72
  readonly id: v.NumberSchema<undefined>;
73
73
  readonly __component: v.StringSchema<undefined>;
74
74
  }, undefined>, undefined>;
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("../../chunk-CKQMccvm.cjs");
3
- const require_document = require("../../document-BAro2Mrj.cjs");
4
3
  const require_regex = require("../../regex-Cl5goNwp.cjs");
5
4
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
6
- const require_relations = require("../../relations-CGu18hfT.cjs");
5
+ const require_relationships = require("../../relationships-B0sgMFZA.cjs");
6
+ const require_document = require("../../document-DOVZwQRq.cjs");
7
7
  let valibot = require("valibot");
8
8
  valibot = require_chunk.__toESM(valibot, 1);
9
9
  //#region src/entities/utm-tracking-link/constants.ts
@@ -32,27 +32,6 @@ const UTM_TRACKING_LINK_SORT_KEYS = [
32
32
  "updatedAt"
33
33
  ];
34
34
  //#endregion
35
- //#region src/entities/utm-tracking-link/document.ts
36
- const UtmTrackingLinkDocument = valibot.object({
37
- ...require_document.BaseDocument.entries,
38
- url_destination: valibot.string(),
39
- utm_medium: valibot.string(),
40
- utm_source: valibot.string(),
41
- utm_campaign: valibot.string(),
42
- utm_content: valibot.nullable(valibot.string()),
43
- utm_creative_format: valibot.nullable(valibot.string()),
44
- utm_id: valibot.nullable(valibot.string()),
45
- campaign_phase: valibot.string(),
46
- campaign_product: valibot.nullable(valibot.string()),
47
- campaign_targeting: valibot.nullable(valibot.string()),
48
- campaign_key: valibot.nullable(valibot.string()),
49
- creative_format: valibot.nullable(valibot.string()),
50
- creative_format_variants: valibot.nullable(valibot.string()),
51
- url: valibot.string(),
52
- is_active: valibot.boolean(),
53
- notes: valibot.nullable(valibot.string())
54
- });
55
- //#endregion
56
35
  //#region src/entities/utm-tracking-link/fields.ts
57
36
  const QuerySortUtmTrackingLinks = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(UTM_TRACKING_LINK_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(UTM_TRACKING_LINK_SORT_KEYS.length)));
58
37
  //#endregion
@@ -142,13 +121,13 @@ const UpdateUtmTrackingLinkDocument = valibot.object({
142
121
  campaign_targeting: valibot.optional(valibot.nullable(valibot.pipe(valibot.array(require_validators.VStringShort()), valibot.transform((value) => value.join(","))))),
143
122
  campaign_key: valibot.optional(valibot.nullable(require_validators.VStringMinMaxRegex(1, 255, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE))),
144
123
  creative_format: valibot.optional(valibot.nullable(require_validators.VStringMinMax(1, 255))),
145
- 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(","))))),
146
125
  url: require_validators.VStringUrlUtm(),
147
126
  is_active: valibot.boolean(),
148
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)))
149
128
  });
150
129
  const UpdateUtmTrackingLinkDocumentRequest = valibot.object({
151
- documentId: require_relations.SAssociateOneEntity,
130
+ documentId: require_relationships.SAssociateOneEntity,
152
131
  data: UpdateUtmTrackingLinkDocument
153
132
  });
154
133
  //#endregion
@@ -158,8 +137,8 @@ const QueryStrapiSearchUtmTrackingLinks = valibot.object({
158
137
  size: require_validators.VSize(100),
159
138
  client_id: valibot.optional(require_validators.VStringShort()),
160
139
  creator_id: valibot.optional(require_validators.VStringShort()),
161
- clients: valibot.optional(require_relations.SQueryManyEntities),
162
- users: valibot.optional(require_relations.SQueryManyEntities),
140
+ clients: valibot.optional(require_relationships.SQueryManyEntities),
141
+ users: valibot.optional(require_relationships.SQueryManyEntities),
163
142
  url_destination: valibot.optional(valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
164
143
  if (input === "") return false;
165
144
  return input.indexOf("?") === -1;
@@ -196,4 +175,4 @@ exports.SReadUtmTrackingLinkDocumentByUrl = SReadUtmTrackingLinkDocumentByUrl;
196
175
  exports.UTM_TRACKING_LINK_SORT_KEYS = UTM_TRACKING_LINK_SORT_KEYS;
197
176
  exports.UpdateUtmTrackingLinkDocument = UpdateUtmTrackingLinkDocument;
198
177
  exports.UpdateUtmTrackingLinkDocumentRequest = UpdateUtmTrackingLinkDocumentRequest;
199
- exports.UtmTrackingLinkDocument = UtmTrackingLinkDocument;
178
+ exports.UtmTrackingLinkDocument = require_document.UtmTrackingLinkDocument;