@getcommunity/gc-validators 0.0.271-alpha.1 → 0.0.271-alpha.11

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 (260) hide show
  1. package/dist/abac-BeKQtxIF.cjs +648 -0
  2. package/dist/abac-DPd9oLKR.mjs +643 -0
  3. package/dist/base/index.cjs +19 -19
  4. package/dist/base/index.d.cts +2 -3
  5. package/dist/base/index.d.mts +3 -4
  6. package/dist/base/index.mjs +2 -2
  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 +3 -1
  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 +3 -1
  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/{document-BMxLOdrT.d.cts → document-BVhB_t1g.d.mts} +158 -104
  30. package/dist/document-CTozOkYP.mjs +457 -0
  31. package/dist/{document-Bpr9mbCs.d.mts → document-CbE38CzE.d.mts} +6 -6
  32. package/dist/document-Ccvtwgy_.cjs +26 -0
  33. package/dist/document-CrnqUGRk.cjs +243 -0
  34. package/dist/document-Cx4Klv8A.mjs +128 -0
  35. package/dist/document-D060zybc.mjs +19 -0
  36. package/dist/document-DaICHS9G.cjs +17 -0
  37. package/dist/{document-Gx2Vrg_w.d.mts → document-DtDSYDbn.d.cts} +158 -104
  38. package/dist/document-c3GNPelp.mjs +10 -0
  39. package/dist/{document-hEBlSep8.d.cts → document-i-h3Orv7.d.cts} +6 -6
  40. package/dist/document-rndDoVSo.cjs +728 -0
  41. package/dist/entities/audit-log/index.cjs +2 -2
  42. package/dist/entities/audit-log/index.d.cts +2 -2
  43. package/dist/entities/audit-log/index.d.mts +3 -3
  44. package/dist/entities/audit-log/index.mjs +1 -1
  45. package/dist/entities/blog-page/index.d.mts +1 -1
  46. package/dist/entities/blog-post/index.cjs +1 -1
  47. package/dist/entities/blog-post/index.d.cts +1 -916
  48. package/dist/entities/blog-post/index.d.mts +1 -916
  49. package/dist/entities/blog-post/index.mjs +1 -1
  50. package/dist/entities/careers-page/index.d.mts +1 -1
  51. package/dist/entities/category/index.cjs +4 -13
  52. package/dist/entities/category/index.d.cts +1 -258
  53. package/dist/entities/category/index.d.mts +1 -258
  54. package/dist/entities/category/index.mjs +2 -11
  55. package/dist/entities/client/index.cjs +3 -3
  56. package/dist/entities/client/index.d.cts +1 -84
  57. package/dist/entities/client/index.d.mts +1 -84
  58. package/dist/entities/client/index.mjs +2 -2
  59. package/dist/entities/client-content-pillar/index.cjs +10 -20
  60. package/dist/entities/client-content-pillar/index.d.cts +1 -48
  61. package/dist/entities/client-content-pillar/index.d.mts +1 -48
  62. package/dist/entities/client-content-pillar/index.mjs +2 -12
  63. package/dist/entities/client-media-platform/index.cjs +10 -17
  64. package/dist/entities/client-media-platform/index.d.cts +1 -52
  65. package/dist/entities/client-media-platform/index.d.mts +1 -52
  66. package/dist/entities/client-media-platform/index.mjs +2 -9
  67. package/dist/entities/client-project/index.cjs +22 -129
  68. package/dist/entities/client-project/index.d.cts +1 -146
  69. package/dist/entities/client-project/index.d.mts +1 -146
  70. package/dist/entities/client-project/index.mjs +2 -109
  71. package/dist/entities/client-report/index.cjs +7 -18
  72. package/dist/entities/client-report/index.d.cts +1 -62
  73. package/dist/entities/client-report/index.d.mts +1 -62
  74. package/dist/entities/client-report/index.mjs +2 -13
  75. package/dist/entities/client-styleguide/index.cjs +7 -27
  76. package/dist/entities/client-styleguide/index.d.cts +1 -47
  77. package/dist/entities/client-styleguide/index.d.mts +1 -47
  78. package/dist/entities/client-styleguide/index.mjs +2 -22
  79. package/dist/entities/client-user/index.cjs +17 -53
  80. package/dist/entities/client-user/index.d.cts +2 -47
  81. package/dist/entities/client-user/index.d.mts +2 -47
  82. package/dist/entities/client-user/index.mjs +5 -41
  83. package/dist/entities/comment/index.d.cts +1 -1
  84. package/dist/entities/comment/index.d.mts +1 -1
  85. package/dist/entities/content-pillar/index.cjs +5 -5
  86. package/dist/entities/content-pillar/index.d.cts +1 -49
  87. package/dist/entities/content-pillar/index.d.mts +1 -49
  88. package/dist/entities/content-pillar/index.mjs +2 -2
  89. package/dist/entities/faq-page/index.d.mts +1 -1
  90. package/dist/entities/gcflytour/index.cjs +9 -19
  91. package/dist/entities/gcflytour/index.d.cts +1 -60
  92. package/dist/entities/gcflytour/index.d.mts +1 -60
  93. package/dist/entities/gcflytour/index.mjs +2 -12
  94. package/dist/entities/gcflytour-snap/index.cjs +7 -17
  95. package/dist/entities/gcflytour-snap/index.d.cts +1 -58
  96. package/dist/entities/gcflytour-snap/index.d.mts +1 -58
  97. package/dist/entities/gcflytour-snap/index.mjs +2 -12
  98. package/dist/entities/landing-page/index.cjs +1 -1
  99. package/dist/entities/landing-page/index.d.cts +3 -2
  100. package/dist/entities/landing-page/index.d.mts +4 -3
  101. package/dist/entities/landing-page/index.mjs +1 -1
  102. package/dist/entities/lead/index.cjs +2 -2
  103. package/dist/entities/lead/index.mjs +1 -1
  104. package/dist/entities/media-content-type/index.cjs +10 -23
  105. package/dist/entities/media-content-type/index.d.cts +3 -3
  106. package/dist/entities/media-content-type/index.d.mts +3 -3
  107. package/dist/entities/media-content-type/index.mjs +2 -15
  108. package/dist/entities/media-creative-format/index.cjs +7 -16
  109. package/dist/entities/media-creative-format/index.d.cts +3 -3
  110. package/dist/entities/media-creative-format/index.d.mts +3 -3
  111. package/dist/entities/media-creative-format/index.mjs +2 -11
  112. package/dist/entities/media-medium/index.cjs +7 -18
  113. package/dist/entities/media-medium/index.d.cts +3 -18
  114. package/dist/entities/media-medium/index.d.mts +3 -18
  115. package/dist/entities/media-medium/index.mjs +2 -13
  116. package/dist/entities/media-platform/index.cjs +13 -29
  117. package/dist/entities/media-platform/index.d.cts +1 -73
  118. package/dist/entities/media-platform/index.d.mts +1 -73
  119. package/dist/entities/media-platform/index.mjs +2 -18
  120. package/dist/entities/monday-workspace/index.cjs +7 -14
  121. package/dist/entities/monday-workspace/index.d.cts +1 -46
  122. package/dist/entities/monday-workspace/index.d.mts +1 -46
  123. package/dist/entities/monday-workspace/index.mjs +2 -9
  124. package/dist/entities/newsletter-signup/index.cjs +2 -2
  125. package/dist/entities/newsletter-signup/index.mjs +1 -1
  126. package/dist/entities/policy-page/index.d.cts +1 -0
  127. package/dist/entities/policy-page/index.d.mts +2 -1
  128. package/dist/entities/product/index.cjs +2 -21
  129. package/dist/entities/product/index.d.cts +1 -319
  130. package/dist/entities/product/index.d.mts +1 -319
  131. package/dist/entities/product/index.mjs +1 -18
  132. package/dist/entities/product-highlight/index.cjs +2 -21
  133. package/dist/entities/product-highlight/index.d.cts +1 -244
  134. package/dist/entities/product-highlight/index.d.mts +1 -244
  135. package/dist/entities/product-highlight/index.mjs +1 -18
  136. package/dist/entities/resume/index.cjs +2 -2
  137. package/dist/entities/resume/index.mjs +1 -1
  138. package/dist/entities/tag/index.cjs +4 -11
  139. package/dist/entities/tag/index.d.cts +1 -12
  140. package/dist/entities/tag/index.d.mts +1 -12
  141. package/dist/entities/tag/index.mjs +2 -9
  142. package/dist/entities/team-member/index.cjs +1 -1
  143. package/dist/entities/team-member/index.d.cts +1 -209
  144. package/dist/entities/team-member/index.d.mts +1 -209
  145. package/dist/entities/team-member/index.mjs +1 -1
  146. package/dist/entities/team-page/index.d.mts +1 -1
  147. package/dist/entities/trend/index.cjs +4 -18
  148. package/dist/entities/trend/index.d.cts +1 -333
  149. package/dist/entities/trend/index.d.mts +1 -333
  150. package/dist/entities/trend/index.mjs +2 -16
  151. package/dist/entities/up-auth/index.d.cts +1 -1
  152. package/dist/entities/up-auth/index.d.mts +1 -1
  153. package/dist/entities/up-permission/index.cjs +2 -11
  154. package/dist/entities/up-permission/index.d.cts +1 -13
  155. package/dist/entities/up-permission/index.d.mts +1 -13
  156. package/dist/entities/up-permission/index.mjs +1 -8
  157. package/dist/entities/up-role/index.cjs +4 -27
  158. package/dist/entities/up-role/index.d.cts +1 -2
  159. package/dist/entities/up-role/index.d.mts +1 -2
  160. package/dist/entities/up-role/index.mjs +1 -22
  161. package/dist/entities/up-user/index.cjs +9 -63
  162. package/dist/entities/up-user/index.d.cts +1 -37
  163. package/dist/entities/up-user/index.d.mts +1 -37
  164. package/dist/entities/up-user/index.mjs +1 -53
  165. package/dist/entities/url-redirect/index.d.cts +2 -2
  166. package/dist/entities/url-redirect/index.d.mts +2 -2
  167. package/dist/entities/user-account/index.cjs +10 -18
  168. package/dist/entities/user-account/index.d.cts +2 -2
  169. package/dist/entities/user-account/index.d.mts +2 -2
  170. package/dist/entities/user-account/index.mjs +3 -11
  171. package/dist/entities/utm-link-builder/index.cjs +9 -8
  172. package/dist/entities/utm-link-builder/index.d.cts +2 -3
  173. package/dist/entities/utm-link-builder/index.d.mts +2 -3
  174. package/dist/entities/utm-link-builder/index.mjs +6 -4
  175. package/dist/entities/utm-meta/index.d.cts +7 -7
  176. package/dist/entities/utm-meta/index.d.mts +7 -7
  177. package/dist/entities/utm-tracking-link/index.cjs +7 -28
  178. package/dist/entities/utm-tracking-link/index.d.cts +1 -234
  179. package/dist/entities/utm-tracking-link/index.d.mts +1 -234
  180. package/dist/entities/utm-tracking-link/index.mjs +2 -23
  181. package/dist/index--PSda81w.d.cts +4744 -0
  182. package/dist/index-B3VtiObV.d.mts +317 -0
  183. package/dist/index-BbwsFaWE.d.cts +921 -0
  184. package/dist/{index-DYPjS1qh.d.mts → index-Brw4Hq18.d.cts} +3 -3
  185. package/dist/index-C2eyUQu3.d.mts +4744 -0
  186. package/dist/index-CGetOe65.d.mts +940 -0
  187. package/dist/{index-Bht1Jd5l.d.mts → index-CJ2_Z1gW.d.mts} +97 -140
  188. package/dist/index-CQP_vcmO.d.cts +317 -0
  189. package/dist/index-CRoWUxGV.d.cts +1324 -0
  190. package/dist/index-C_UxUxQs.d.cts +940 -0
  191. package/dist/index-D11tQdCv.d.cts +34 -0
  192. package/dist/{index-BLE_fX1Q.d.cts → index-D6rOxDlM.d.mts} +3 -3
  193. package/dist/index-DJ-0EDJN.d.mts +921 -0
  194. package/dist/index-DLICmJ_-.d.mts +34 -0
  195. package/dist/{index-ZBDWYTfn.d.cts → index-efk0FfOP.d.cts} +96 -139
  196. package/dist/index-oCLNrzIj.d.mts +1324 -0
  197. package/dist/media-upload-D-nP8FR1.d.cts +140 -0
  198. package/dist/media-upload-DKeA1eD-.d.mts +140 -0
  199. package/dist/permissions/index.cjs +3 -663
  200. package/dist/permissions/index.d.cts +2 -2
  201. package/dist/permissions/index.d.mts +2 -2
  202. package/dist/permissions/index.mjs +3 -661
  203. package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
  204. package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
  205. package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
  206. package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
  207. package/dist/utilities/index.cjs +20 -0
  208. package/dist/utilities/index.d.cts +7 -2
  209. package/dist/utilities/index.d.mts +7 -2
  210. package/dist/utilities/index.mjs +19 -1
  211. package/package.json +1 -1
  212. package/dist/document-BAzLIprH.d.mts +0 -100
  213. package/dist/document-BFukanLe.mjs +0 -54
  214. package/dist/document-BK1ASowb.d.cts +0 -17
  215. package/dist/document-BNoXPGwF.d.mts +0 -27
  216. package/dist/document-B_pJW777.d.mts +0 -30
  217. package/dist/document-Bd2AyLs8.d.mts +0 -16
  218. package/dist/document-BezYxNmb.d.cts +0 -16
  219. package/dist/document-Bj7SRTOn.d.cts +0 -18
  220. package/dist/document-Bo869pZx.d.mts +0 -18
  221. package/dist/document-Bs8c1mok.d.cts +0 -15
  222. package/dist/document-C0c7azOe.d.mts +0 -434
  223. package/dist/document-CTTDXzOF.mjs +0 -13
  224. package/dist/document-CUl_Ys6-.mjs +0 -23
  225. package/dist/document-CWYzG60q.d.cts +0 -19
  226. package/dist/document-Ccszj8lR.cjs +0 -20
  227. package/dist/document-CjNHI7Eb.d.cts +0 -27
  228. package/dist/document-Cu_HUDC5.mjs +0 -51
  229. package/dist/document-D-KvyEb5.d.cts +0 -238
  230. package/dist/document-D2nLVGig.d.mts +0 -238
  231. package/dist/document-D4fJt3zX.d.cts +0 -12223
  232. package/dist/document-D5yDIDIx.d.mts +0 -15
  233. package/dist/document-D73dqRle.d.cts +0 -19
  234. package/dist/document-DA6YVZz-.d.cts +0 -100
  235. package/dist/document-DJ0YiVte.d.cts +0 -30
  236. package/dist/document-DMHIUE3J.d.mts +0 -17
  237. package/dist/document-DN3g0EFx.d.cts +0 -434
  238. package/dist/document-DYzRVV1C.d.mts +0 -16
  239. package/dist/document-D_ZMbzn6.d.cts +0 -18
  240. package/dist/document-DdRo9TdG.d.mts +0 -12223
  241. package/dist/document-DeoRGh7p.d.mts +0 -19
  242. package/dist/document-DsIPBTG8.cjs +0 -30
  243. package/dist/document-DsSaMVGb.cjs +0 -106
  244. package/dist/document-IIJpsOIO.d.cts +0 -16
  245. package/dist/document-WHS8GHY5.d.mts +0 -18
  246. package/dist/document-dqrWptdY.d.cts +0 -244
  247. package/dist/document-rbMXLGxt.cjs +0 -103
  248. package/dist/document-si7GYS5g.d.mts +0 -19
  249. package/dist/document-vq-7rcU5.d.mts +0 -244
  250. package/dist/fields-BQHSYj70.d.cts +0 -7
  251. package/dist/fields-qx-5saY5.d.mts +0 -7
  252. package/dist/index-BI8tN-QZ.d.mts +0 -99
  253. package/dist/index-DpYYzY_9.d.cts +0 -99
  254. package/dist/query.schema-BOn5Kk_p.d.mts +0 -41
  255. package/dist/query.schema-CItKlb0x.d.cts +0 -41
  256. package/dist/response-C-7nyNVD.d.mts +0 -57
  257. package/dist/response-c6SgLvi9.d.cts +0 -57
  258. /package/dist/{constants-L2goO7Eg.mjs → constants-Htf-MeCA.mjs} +0 -0
  259. /package/dist/{constants-PBZKggHL.cjs → constants-f1GP2eiq.cjs} +0 -0
  260. /package/dist/{json-CqAaKeHA.d.mts → json-CiA5ZRzc.d.mts} +0 -0
@@ -1,147 +1,2 @@
1
- import { t as ClientProjectDocument } from "../../document-BAzLIprH.mjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/client-project/constants.d.ts
5
- declare const LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE = 10;
6
- declare const LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE = 100;
7
- declare const CLIENT_PROJECT_STATUS: readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"];
8
- declare const CLIENT_PROJECT_PHASES: readonly [{
9
- readonly label: "Brand";
10
- readonly value: "brand";
11
- readonly description: "General/Company branded content";
12
- }, {
13
- readonly label: "Phase 1";
14
- readonly value: "p1";
15
- readonly description: "Interest list building";
16
- }, {
17
- readonly label: "Phase 2";
18
- readonly value: "p2";
19
- readonly description: "Pre-qualification, pre-sales";
20
- }, {
21
- readonly label: "Phase 3";
22
- readonly value: "p3";
23
- readonly description: "Grand opening, now open, available";
24
- }, {
25
- readonly label: "Phase 4";
26
- readonly value: "p4";
27
- readonly description: "For sale, maintenance period";
28
- }, {
29
- readonly label: "Phase 5";
30
- readonly value: "p5";
31
- readonly description: "Final sale";
32
- }, {
33
- readonly label: "Closed";
34
- readonly value: "closed";
35
- readonly description: "Sold out, no longer available";
36
- }];
37
- declare const CLIENT_PROJECT_PHASE_VALUES: readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"];
38
- declare const CLIENT_PROJECT_SORT_KEYS: readonly ["id", "title", "slug", "is_active", "is_hidden", "project_phase", "project_url", "project_type", "project_pricing", "project_address", "phone_number", "num_of_models", "num_of_units_remain", "buyer_profile", "social_organic_start_date", "paid_media_start_date", "go_date", "createdAt", "updatedAt"];
39
- //#endregion
40
- //#region src/entities/client-project/fields.d.ts
41
- declare const QuerySortClientProjects: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "project_url:ASC" | "project_type:ASC" | "project_pricing:ASC" | "project_address:ASC" | "phone_number:ASC" | "num_of_models:ASC" | "num_of_units_remain:ASC" | "buyer_profile:ASC" | "social_organic_start_date:ASC" | "paid_media_start_date:ASC" | "go_date:ASC" | "project_phase:ASC" | "project_url:DESC" | "project_type:DESC" | "project_pricing:DESC" | "project_address:DESC" | "phone_number:DESC" | "num_of_models:DESC" | "num_of_units_remain:DESC" | "buyer_profile:DESC" | "social_organic_start_date:DESC" | "paid_media_start_date:DESC" | "go_date:DESC" | "project_phase:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "project_url:ASC" | "project_type:ASC" | "project_pricing:ASC" | "project_address:ASC" | "phone_number:ASC" | "num_of_models:ASC" | "num_of_units_remain:ASC" | "buyer_profile:ASC" | "social_organic_start_date:ASC" | "paid_media_start_date:ASC" | "go_date:ASC" | "project_phase:ASC" | "project_url:DESC" | "project_type:DESC" | "project_pricing:DESC" | "project_address:DESC" | "phone_number:DESC" | "num_of_models:DESC" | "num_of_units_remain:DESC" | "buyer_profile:DESC" | "social_organic_start_date:DESC" | "paid_media_start_date:DESC" | "go_date:DESC" | "project_phase:DESC")[], 19, undefined>]>, undefined>;
42
- type QuerySortClientProjects = v.InferOutput<typeof QuerySortClientProjects>;
43
- declare const ClientProjectStatus: v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>;
44
- type ClientProjectStatus = v.InferOutput<typeof ClientProjectStatus>;
45
- declare const ClientProjectPhase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], undefined>;
46
- type ClientProjectPhase = v.InferOutput<typeof ClientProjectPhase>;
47
- //#endregion
48
- //#region src/entities/client-project/mutation.d.ts
49
- declare const CreateClientProjectDocument: v.ObjectSchema<{
50
- readonly clients: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
51
- readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
52
- readonly slug: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>;
53
- readonly is_active: v.BooleanSchema<undefined>;
54
- readonly is_hidden: v.BooleanSchema<undefined>;
55
- readonly project_status: v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "You can only select one project status.">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "You can only select one project status.">]>;
56
- readonly project_phase: v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], undefined>;
57
- readonly project_url: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, undefined>;
58
- readonly project_type: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
59
- readonly project_pricing: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
60
- readonly project_address: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
61
- readonly phone_number: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>, undefined>;
62
- readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
63
- readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
64
- readonly buyer_profile: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
65
- readonly social_organic_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
66
- readonly paid_media_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
67
- readonly go_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
68
- }, undefined>;
69
- type CreateClientProjectDocument = v.InferOutput<typeof CreateClientProjectDocument>;
70
- declare const UpdateClientProjectDocument: v.ObjectSchema<{
71
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
72
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
73
- readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
74
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
75
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
76
- readonly project_status: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "You can only select one project status.">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "You can only select one project status.">]>, undefined>;
77
- readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], undefined>, undefined>;
78
- readonly project_url: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, undefined>;
79
- readonly project_type: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
80
- readonly project_pricing: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
81
- readonly project_address: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
82
- readonly phone_number: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>, undefined>;
83
- readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
84
- readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
85
- readonly buyer_profile: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
86
- readonly social_organic_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
87
- readonly paid_media_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
88
- readonly go_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
89
- }, undefined>;
90
- type UpdateClientProjectDocument = v.InferOutput<typeof UpdateClientProjectDocument>;
91
- declare const UpdateClientProjectDocumentRequest: v.ObjectSchema<{
92
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
93
- readonly data: v.ObjectSchema<{
94
- readonly clients: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
95
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
96
- readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
97
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
98
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
99
- readonly project_status: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "You can only select one project status.">, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, "You can only select one project status.">]>, undefined>;
100
- readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], undefined>, undefined>;
101
- readonly project_url: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>, undefined>;
102
- readonly project_type: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
103
- readonly project_pricing: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
104
- readonly project_address: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
105
- readonly phone_number: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>, undefined>;
106
- readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
107
- readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
108
- readonly buyer_profile: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
109
- readonly social_organic_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
110
- readonly paid_media_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
111
- readonly go_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
112
- }, undefined>;
113
- }, undefined>;
114
- type UpdateClientProjectDocumentRequest = v.InferOutput<typeof UpdateClientProjectDocumentRequest>;
115
- declare const SAssociateClientToClientProjectDocument: v.ObjectSchema<{
116
- readonly client: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
117
- readonly client_project: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
118
- }, undefined>;
119
- type SAssociateClientToClientProjectDocument = v.InferOutput<typeof SAssociateClientToClientProjectDocument>;
120
- //#endregion
121
- //#region src/entities/client-project/query.d.ts
122
- declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
123
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
124
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
125
- readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
126
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
127
- readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>, v.RegexAction<string, "can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
128
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
129
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
130
- readonly project_status: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.OptionalSchema<v.PicklistSchema<readonly ["coming-soon", "now-open", "for-sale", "sold-out", "available"], undefined>, "coming-soon">, undefined>, v.MinLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, undefined>, v.MaxLengthAction<("coming-soon" | "now-open" | "for-sale" | "sold-out" | "available")[], 1, undefined>]>, undefined>;
131
- readonly project_phase: v.OptionalSchema<v.PicklistSchema<readonly ["brand", "p1", "p2", "p3", "p4", "p5", "closed"], undefined>, undefined>;
132
- readonly project_url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.StartsWithAction<string, "http", "Please enter a valid URL starting with http or https.">, v.UrlAction<string, "Please enter a valid URL.">]>, undefined>;
133
- readonly project_type: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
134
- readonly project_pricing: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
135
- readonly project_address: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
136
- readonly phone_number: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>;
137
- readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
138
- readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
139
- readonly buyer_profile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
140
- readonly social_organic_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
141
- readonly paid_media_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
142
- readonly go_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
143
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "project_url:ASC" | "project_type:ASC" | "project_pricing:ASC" | "project_address:ASC" | "phone_number:ASC" | "num_of_models:ASC" | "num_of_units_remain:ASC" | "buyer_profile:ASC" | "social_organic_start_date:ASC" | "paid_media_start_date:ASC" | "go_date:ASC" | "project_phase:ASC" | "project_url:DESC" | "project_type:DESC" | "project_pricing:DESC" | "project_address:DESC" | "phone_number:DESC" | "num_of_models:DESC" | "num_of_units_remain:DESC" | "buyer_profile:DESC" | "social_organic_start_date:DESC" | "paid_media_start_date:DESC" | "go_date:DESC" | "project_phase:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "project_url:ASC" | "project_type:ASC" | "project_pricing:ASC" | "project_address:ASC" | "phone_number:ASC" | "num_of_models:ASC" | "num_of_units_remain:ASC" | "buyer_profile:ASC" | "social_organic_start_date:ASC" | "paid_media_start_date:ASC" | "go_date:ASC" | "project_phase:ASC" | "project_url:DESC" | "project_type:DESC" | "project_pricing:DESC" | "project_address:DESC" | "phone_number:DESC" | "num_of_models:DESC" | "num_of_units_remain:DESC" | "buyer_profile:DESC" | "social_organic_start_date:DESC" | "paid_media_start_date:DESC" | "go_date:DESC" | "project_phase:DESC")[], 19, undefined>]>, undefined>;
144
- }, undefined>;
145
- type QueryStrapiSearchClientProjects = v.InferOutput<typeof QueryStrapiSearchClientProjects>;
146
- //#endregion
1
+ import { $n as ClientProjectDocument, Bt as QueryStrapiSearchClientProjects, Gt as CLIENT_PROJECT_PHASES, Ht as SAssociateClientToClientProjectDocument, Jt as CLIENT_PROJECT_STATUS, Kt as CLIENT_PROJECT_PHASE_VALUES, Ut as UpdateClientProjectDocument, Vt as CreateClientProjectDocument, Wt as UpdateClientProjectDocumentRequest, Xt as LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, Yt as LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, er as ClientProjectPhase, nr as QuerySortClientProjects, qt as CLIENT_PROJECT_SORT_KEYS, tr as ClientProjectStatus } from "../../index-C2eyUQu3.mjs";
147
2
  export { CLIENT_PROJECT_PHASES, CLIENT_PROJECT_PHASE_VALUES, CLIENT_PROJECT_SORT_KEYS, CLIENT_PROJECT_STATUS, ClientProjectDocument, ClientProjectPhase, ClientProjectStatus, CreateClientProjectDocument, LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, QuerySortClientProjects, QueryStrapiSearchClientProjects, SAssociateClientToClientProjectDocument, UpdateClientProjectDocument, UpdateClientProjectDocumentRequest };
@@ -1,115 +1,8 @@
1
- import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
- import { r as MediaUploadDocument } from "../../media-upload-DiRJksSU.mjs";
3
1
  import { W as ERROR_MESSAGE_ONE_PROJECT_STATUS } from "../../regex-BnKGcdS4.mjs";
4
2
  import { _ as VStringSlug, b as VStringUrlNullable, h as VStringShort, i as VSize, l as VStringMax, m as VStringPhoneNullable, p as VStringPhone, r as VPage, t as VIntegerNullable, v as VStringUrl } from "../../validators-P5E_3qzc.mjs";
5
- import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
3
+ import { a as SAssociateOneEntity } from "../../relationships-BosK0kyG.mjs";
4
+ import { B as LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, F as CLIENT_PROJECT_PHASES, I as CLIENT_PROJECT_PHASE_VALUES, L as CLIENT_PROJECT_SORT_KEYS, M as ClientProjectPhase, N as ClientProjectStatus, P as QuerySortClientProjects, R as CLIENT_PROJECT_STATUS, j as ClientProjectDocument, z as LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE } from "../../document-CTozOkYP.mjs";
6
5
  import * as v from "valibot";
7
- //#region src/entities/client-project/constants.ts
8
- const LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE = 10;
9
- const LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE = 100;
10
- const CLIENT_PROJECT_STATUS = [
11
- "coming-soon",
12
- "now-open",
13
- "for-sale",
14
- "sold-out",
15
- "available"
16
- ];
17
- const CLIENT_PROJECT_PHASES = [
18
- {
19
- label: "Brand",
20
- value: "brand",
21
- description: "General/Company branded content"
22
- },
23
- {
24
- label: "Phase 1",
25
- value: "p1",
26
- description: "Interest list building"
27
- },
28
- {
29
- label: "Phase 2",
30
- value: "p2",
31
- description: "Pre-qualification, pre-sales"
32
- },
33
- {
34
- label: "Phase 3",
35
- value: "p3",
36
- description: "Grand opening, now open, available"
37
- },
38
- {
39
- label: "Phase 4",
40
- value: "p4",
41
- description: "For sale, maintenance period"
42
- },
43
- {
44
- label: "Phase 5",
45
- value: "p5",
46
- description: "Final sale"
47
- },
48
- {
49
- label: "Closed",
50
- value: "closed",
51
- description: "Sold out, no longer available"
52
- }
53
- ];
54
- const CLIENT_PROJECT_PHASE_VALUES = [
55
- "brand",
56
- "p1",
57
- "p2",
58
- "p3",
59
- "p4",
60
- "p5",
61
- "closed"
62
- ];
63
- const CLIENT_PROJECT_SORT_KEYS = [
64
- "id",
65
- "title",
66
- "slug",
67
- "is_active",
68
- "is_hidden",
69
- "project_phase",
70
- "project_url",
71
- "project_type",
72
- "project_pricing",
73
- "project_address",
74
- "phone_number",
75
- "num_of_models",
76
- "num_of_units_remain",
77
- "buyer_profile",
78
- "social_organic_start_date",
79
- "paid_media_start_date",
80
- "go_date",
81
- "createdAt",
82
- "updatedAt"
83
- ];
84
- //#endregion
85
- //#region src/entities/client-project/fields.ts
86
- const QuerySortClientProjects = v.optional(v.pipe(v.array(v.picklist(CLIENT_PROJECT_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(CLIENT_PROJECT_SORT_KEYS.length)));
87
- const ClientProjectStatus = v.picklist(CLIENT_PROJECT_STATUS);
88
- const ClientProjectPhase = v.picklist(CLIENT_PROJECT_PHASE_VALUES);
89
- //#endregion
90
- //#region src/entities/client-project/document.ts
91
- const ClientProjectDocument = v.object({
92
- ...BaseDocument.entries,
93
- title: v.string(),
94
- slug: v.string(),
95
- featured_image: v.optional(v.nullable(v.lazy(() => MediaUploadDocument))),
96
- is_active: v.boolean(),
97
- is_hidden: v.boolean(),
98
- project_status: v.array(ClientProjectStatus),
99
- project_phase: ClientProjectPhase,
100
- project_url: v.nullable(v.string()),
101
- project_type: v.nullable(v.string()),
102
- project_pricing: v.nullable(v.string()),
103
- project_address: v.nullable(v.string()),
104
- phone_number: v.nullable(v.string()),
105
- num_of_models: v.nullable(v.number()),
106
- num_of_units_remain: v.nullable(v.number()),
107
- buyer_profile: v.nullable(v.string()),
108
- social_organic_start_date: v.nullable(v.string()),
109
- paid_media_start_date: v.nullable(v.string()),
110
- go_date: v.nullable(v.string())
111
- });
112
- //#endregion
113
6
  //#region src/entities/client-project/mutation.ts
114
7
  const CreateClientProjectDocument = v.object({
115
8
  clients: v.pipe(v.array(VStringShort()), v.minLength(1)),
@@ -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-CWVJebkQ.cjs");
6
+ const require_document = require("../../document-rndDoVSo.cjs");
7
7
  let valibot = require("valibot");
8
8
  valibot = require_chunk.__toESM(valibot, 1);
9
9
  //#region src/entities/client-report/constants.ts
@@ -19,17 +19,6 @@ const CLIENT_REPORT_SORT_KEYS = [
19
19
  "updatedAt"
20
20
  ];
21
21
  //#endregion
22
- //#region src/entities/client-report/document.ts
23
- const ClientReportDocument = valibot.object({
24
- ...require_document.BaseDocument.entries,
25
- title: valibot.string(),
26
- report_id: valibot.string(),
27
- is_active: valibot.boolean(),
28
- is_external: valibot.boolean(),
29
- is_hidden: valibot.boolean(),
30
- scopes: valibot.array(valibot.string())
31
- });
32
- //#endregion
33
22
  //#region src/entities/client-report/fields.ts
34
23
  const QuerySortClientReports = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(CLIENT_REPORT_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(CLIENT_REPORT_SORT_KEYS.length)));
35
24
  //#endregion
@@ -41,7 +30,7 @@ const CreateClientReportDocument = valibot.object({
41
30
  is_external: valibot.optional(valibot.boolean(), false),
42
31
  is_hidden: valibot.optional(valibot.boolean(), false),
43
32
  scopes: valibot.optional(valibot.pipe(valibot.array(valibot.string("Please provide a valid list of scopes."))), ["user:*"]),
44
- clients: valibot.optional(require_relations.SAssociateManyEntities)
33
+ clients: valibot.optional(require_relationships.SAssociateManyEntities)
45
34
  });
46
35
  const UpdateClientReportDocument = valibot.object({
47
36
  title: valibot.optional(require_validators.VStringMinMax(1, 255)),
@@ -50,10 +39,10 @@ const UpdateClientReportDocument = valibot.object({
50
39
  is_external: valibot.optional(valibot.boolean()),
51
40
  is_hidden: valibot.optional(valibot.boolean()),
52
41
  scopes: valibot.optional(valibot.pipe(valibot.array(valibot.string("Please provide a valid list of scopes."))), ["user:*"]),
53
- clients: valibot.optional(require_relations.SAssociateManyEntities)
42
+ clients: valibot.optional(require_relationships.SAssociateManyEntities)
54
43
  });
55
44
  const UpdateClientReportDocumentRequest = valibot.object({
56
- documentId: require_relations.SAssociateOneEntity,
45
+ documentId: require_relationships.SAssociateOneEntity,
57
46
  data: UpdateClientReportDocument
58
47
  });
59
48
  //#endregion
@@ -67,12 +56,12 @@ const QueryStrapiSearchClientReports = valibot.object({
67
56
  is_external: valibot.optional(valibot.boolean()),
68
57
  is_hidden: valibot.optional(valibot.boolean()),
69
58
  client_id: valibot.optional(require_validators.VStringMinMax(1, 255)),
70
- clients: valibot.optional(require_relations.SQueryManyEntities),
59
+ clients: valibot.optional(require_relationships.SQueryManyEntities),
71
60
  sort: QuerySortClientReports
72
61
  });
73
62
  //#endregion
74
63
  exports.CLIENT_REPORT_SORT_KEYS = CLIENT_REPORT_SORT_KEYS;
75
- exports.ClientReportDocument = ClientReportDocument;
64
+ exports.ClientReportDocument = require_document.ClientReportDocument;
76
65
  exports.CreateClientReportDocument = CreateClientReportDocument;
77
66
  exports.LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE = LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE;
78
67
  exports.LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE = LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE;
@@ -1,63 +1,2 @@
1
- import { t as ClientReportDocument } from "../../document-D73dqRle.cjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/client-report/constants.d.ts
5
- declare const LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE = 10;
6
- declare const LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE = 100;
7
- declare const CLIENT_REPORT_SORT_KEYS: readonly ["id", "title", "is_active", "is_external", "is_hidden", "createdAt", "updatedAt"];
8
- //#endregion
9
- //#region src/entities/client-report/fields.d.ts
10
- declare const QuerySortClientReports: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], 7, undefined>]>, undefined>;
11
- type QuerySortClientReports = v.InferOutput<typeof QuerySortClientReports>;
12
- //#endregion
13
- //#region src/entities/client-report/mutation.d.ts
14
- declare const CreateClientReportDocument: v.ObjectSchema<{
15
- readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
16
- readonly report_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
17
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
18
- readonly is_external: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
19
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
20
- readonly scopes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<"Please provide a valid list of scopes.">, undefined>]>, readonly ["user:*"]>;
21
- readonly clients: 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>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
22
- }, undefined>;
23
- type CreateClientReportDocument = v.InferOutput<typeof CreateClientReportDocument>;
24
- declare const UpdateClientReportDocument: v.ObjectSchema<{
25
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
26
- readonly report_id: 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>;
27
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
28
- readonly is_external: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
29
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
30
- readonly scopes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<"Please provide a valid list of scopes.">, undefined>]>, readonly ["user:*"]>;
31
- readonly clients: 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>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
32
- }, undefined>;
33
- type UpdateClientReportDocument = v.InferOutput<typeof UpdateClientReportDocument>;
34
- declare const UpdateClientReportDocumentRequest: v.ObjectSchema<{
35
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
36
- readonly data: v.ObjectSchema<{
37
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
38
- readonly report_id: 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>;
39
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
40
- readonly is_external: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
41
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
42
- readonly scopes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<"Please provide a valid list of scopes.">, undefined>]>, readonly ["user:*"]>;
43
- readonly clients: 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>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
44
- }, undefined>;
45
- }, undefined>;
46
- type UpdateClientReportDocumentRequest = v.InferOutput<typeof UpdateClientReportDocumentRequest>;
47
- //#endregion
48
- //#region src/entities/client-report/query.d.ts
49
- declare const QueryStrapiSearchClientReports: v.ObjectSchema<{
50
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
51
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
52
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
53
- readonly report_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
54
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
55
- readonly is_external: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
56
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
57
- readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
58
- readonly clients: 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>]>, undefined>]>, undefined>;
59
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], 7, undefined>]>, undefined>;
60
- }, undefined>;
61
- type QueryStrapiSearchClientReports = v.InferOutput<typeof QueryStrapiSearchClientReports>;
62
- //#endregion
1
+ import { Ft as UpdateClientReportDocumentRequest, It as QuerySortClientReports, Lt as CLIENT_REPORT_SORT_KEYS, Mt as QueryStrapiSearchClientReports, Nt as CreateClientReportDocument, Pt as UpdateClientReportDocument, Qn as ClientReportDocument, Rt as LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, zt as LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE } from "../../index--PSda81w.cjs";
63
2
  export { CLIENT_REPORT_SORT_KEYS, ClientReportDocument, CreateClientReportDocument, LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, QuerySortClientReports, QueryStrapiSearchClientReports, UpdateClientReportDocument, UpdateClientReportDocumentRequest };
@@ -1,63 +1,2 @@
1
- import { t as ClientReportDocument } from "../../document-DeoRGh7p.mjs";
2
- import * as v from "valibot";
3
-
4
- //#region src/entities/client-report/constants.d.ts
5
- declare const LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE = 10;
6
- declare const LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE = 100;
7
- declare const CLIENT_REPORT_SORT_KEYS: readonly ["id", "title", "is_active", "is_external", "is_hidden", "createdAt", "updatedAt"];
8
- //#endregion
9
- //#region src/entities/client-report/fields.d.ts
10
- declare const QuerySortClientReports: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], 7, undefined>]>, undefined>;
11
- type QuerySortClientReports = v.InferOutput<typeof QuerySortClientReports>;
12
- //#endregion
13
- //#region src/entities/client-report/mutation.d.ts
14
- declare const CreateClientReportDocument: v.ObjectSchema<{
15
- readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
16
- readonly report_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
17
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
18
- readonly is_external: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
19
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
20
- readonly scopes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<"Please provide a valid list of scopes.">, undefined>]>, readonly ["user:*"]>;
21
- readonly clients: 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>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
22
- }, undefined>;
23
- type CreateClientReportDocument = v.InferOutput<typeof CreateClientReportDocument>;
24
- declare const UpdateClientReportDocument: v.ObjectSchema<{
25
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
26
- readonly report_id: 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>;
27
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
28
- readonly is_external: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
29
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
30
- readonly scopes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<"Please provide a valid list of scopes.">, undefined>]>, readonly ["user:*"]>;
31
- readonly clients: 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>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
32
- }, undefined>;
33
- type UpdateClientReportDocument = v.InferOutput<typeof UpdateClientReportDocument>;
34
- declare const UpdateClientReportDocumentRequest: v.ObjectSchema<{
35
- readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
36
- readonly data: v.ObjectSchema<{
37
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
38
- readonly report_id: 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>;
39
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
40
- readonly is_external: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
41
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
42
- readonly scopes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<"Please provide a valid list of scopes.">, undefined>]>, readonly ["user:*"]>;
43
- readonly clients: 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>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
44
- }, undefined>;
45
- }, undefined>;
46
- type UpdateClientReportDocumentRequest = v.InferOutput<typeof UpdateClientReportDocumentRequest>;
47
- //#endregion
48
- //#region src/entities/client-report/query.d.ts
49
- declare const QueryStrapiSearchClientReports: v.ObjectSchema<{
50
- readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
51
- readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
52
- readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
53
- readonly report_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
54
- readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
55
- readonly is_external: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
56
- readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
57
- readonly client_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
58
- readonly clients: 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>]>, undefined>]>, undefined>;
59
- readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "title:ASC" | "title:DESC" | "is_active:ASC" | "is_hidden:ASC" | "is_active:DESC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], 7, undefined>]>, undefined>;
60
- }, undefined>;
61
- type QueryStrapiSearchClientReports = v.InferOutput<typeof QueryStrapiSearchClientReports>;
62
- //#endregion
1
+ import { Ft as UpdateClientReportDocumentRequest, It as QuerySortClientReports, Lt as CLIENT_REPORT_SORT_KEYS, Mt as QueryStrapiSearchClientReports, Nt as CreateClientReportDocument, Pt as UpdateClientReportDocument, Qn as ClientReportDocument, Rt as LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, zt as LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE } from "../../index-C2eyUQu3.mjs";
63
2
  export { CLIENT_REPORT_SORT_KEYS, ClientReportDocument, CreateClientReportDocument, LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, QuerySortClientReports, QueryStrapiSearchClientReports, UpdateClientReportDocument, UpdateClientReportDocumentRequest };
@@ -1,7 +1,7 @@
1
- import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
2
1
  import { n as ERROR_MESSAGE_REGEX_URL_SLUG, o as REGEX_URL_SLUG } from "../../regex-BnKGcdS4.mjs";
3
2
  import { d as VStringMinMax, f as VStringMinMaxRegex, i as VSize, l as VStringMax, r as VPage } from "../../validators-P5E_3qzc.mjs";
4
- import { a as SAssociateOneEntity, i as SAssociateManyEntities, s as SQueryManyEntities } from "../../relations-C04F46xL.mjs";
3
+ import { a as SAssociateOneEntity, i as SAssociateManyEntities, s as SQueryManyEntities } from "../../relationships-BosK0kyG.mjs";
4
+ import { A as ClientReportDocument } from "../../document-CTozOkYP.mjs";
5
5
  import * as v from "valibot";
6
6
  //#region src/entities/client-report/constants.ts
7
7
  const LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE = 10;
@@ -16,17 +16,6 @@ const CLIENT_REPORT_SORT_KEYS = [
16
16
  "updatedAt"
17
17
  ];
18
18
  //#endregion
19
- //#region src/entities/client-report/document.ts
20
- const ClientReportDocument = v.object({
21
- ...BaseDocument.entries,
22
- title: v.string(),
23
- report_id: v.string(),
24
- is_active: v.boolean(),
25
- is_external: v.boolean(),
26
- is_hidden: v.boolean(),
27
- scopes: v.array(v.string())
28
- });
29
- //#endregion
30
19
  //#region src/entities/client-report/fields.ts
31
20
  const QuerySortClientReports = v.optional(v.pipe(v.array(v.picklist(CLIENT_REPORT_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), v.maxLength(CLIENT_REPORT_SORT_KEYS.length)));
32
21
  //#endregion
@@ -1,12 +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
- const require_media_upload = require("../../media-upload-B6aQYeRM.cjs");
5
3
  require("../../regex-Cl5goNwp.cjs");
6
4
  const require_validators = require("../../validators-Bc9Is5Sr.cjs");
7
- const require_relations = require("../../relations-CGu18hfT.cjs");
8
- const require_components_shared_index = require("../../components/shared/index.cjs");
9
- const require_components_brand_index = require("../../components/brand/index.cjs");
5
+ const require_relationships = require("../../relationships-CWVJebkQ.cjs");
6
+ const require_document = require("../../document-rndDoVSo.cjs");
10
7
  let valibot = require("valibot");
11
8
  valibot = require_chunk.__toESM(valibot, 1);
12
9
  //#region src/entities/client-styleguide/constants.ts
@@ -19,23 +16,6 @@ const CLIENT_STYLEGUIDE_SORT_KEYS = [
19
16
  "updatedAt"
20
17
  ];
21
18
  //#endregion
22
- //#region src/entities/client-styleguide/document.ts
23
- const ClientStyleguideDocument = valibot.object({
24
- ...require_document.BaseDocument.entries,
25
- title: valibot.string(),
26
- is_active: valibot.boolean(),
27
- introduction: valibot.array(require_components_shared_index.RichTextBlock),
28
- voice: valibot.array(require_components_shared_index.RichTextBlock),
29
- communication: valibot.array(require_components_shared_index.RichTextBlock),
30
- brand_elements: valibot.array(require_components_shared_index.RichTextBlock),
31
- brand_intention: valibot.array(require_components_shared_index.RichTextBlock),
32
- mood: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
33
- logos: valibot.optional(valibot.nullable(valibot.lazy(() => require_media_upload.MediaUploadDocument))),
34
- brand_colors: valibot.optional(valibot.array(require_components_brand_index.ComponentBrandStyleguideColor)),
35
- brand_fonts: valibot.optional(valibot.array(require_components_brand_index.ComponentBrandStyleguideFont)),
36
- brand_application: valibot.optional(valibot.array(valibot.lazy(() => require_media_upload.MediaUploadDocument)))
37
- });
38
- //#endregion
39
19
  //#region src/entities/client-styleguide/fields.ts
40
20
  const QuerySortClientStyleguides = valibot.optional(valibot.pipe(valibot.array(valibot.picklist(CLIENT_STYLEGUIDE_SORT_KEYS.flatMap((k) => [`${k}:ASC`, `${k}:DESC`]))), valibot.maxLength(CLIENT_STYLEGUIDE_SORT_KEYS.length)));
41
21
  //#endregion
@@ -43,15 +23,15 @@ const QuerySortClientStyleguides = valibot.optional(valibot.pipe(valibot.array(v
43
23
  const CreateClientStyleguideDocument = valibot.object({
44
24
  title: require_validators.VStringMinMax(1, 255),
45
25
  is_active: valibot.optional(valibot.boolean(), true),
46
- client: valibot.optional(require_relations.SAssociateOneEntity)
26
+ client: valibot.optional(require_relationships.SAssociateOneEntity)
47
27
  });
48
28
  const UpdateClientStyleguideDocument = valibot.object({
49
29
  title: valibot.optional(require_validators.VStringMinMax(1, 255)),
50
30
  is_active: valibot.optional(valibot.boolean()),
51
- client: valibot.optional(require_relations.SAssociateOneEntity)
31
+ client: valibot.optional(require_relationships.SAssociateOneEntity)
52
32
  });
53
33
  const UpdateClientStyleguideDocumentRequest = valibot.object({
54
- documentId: require_relations.SAssociateOneEntity,
34
+ documentId: require_relationships.SAssociateOneEntity,
55
35
  data: UpdateClientStyleguideDocument
56
36
  });
57
37
  //#endregion
@@ -62,12 +42,12 @@ const QueryStrapiSearchClientStyleguide = valibot.object({
62
42
  title: valibot.optional(require_validators.VStringMax()),
63
43
  is_active: valibot.optional(valibot.boolean()),
64
44
  client_id: valibot.optional(require_validators.VStringMinMax(1, 255)),
65
- clients: valibot.optional(require_relations.SQueryManyEntities),
45
+ clients: valibot.optional(require_relationships.SQueryManyEntities),
66
46
  sort: QuerySortClientStyleguides
67
47
  });
68
48
  //#endregion
69
49
  exports.CLIENT_STYLEGUIDE_SORT_KEYS = CLIENT_STYLEGUIDE_SORT_KEYS;
70
- exports.ClientStyleguideDocument = ClientStyleguideDocument;
50
+ exports.ClientStyleguideDocument = require_document.ClientStyleguideDocument;
71
51
  exports.CreateClientStyleguideDocument = CreateClientStyleguideDocument;
72
52
  exports.LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE = LIMIT_CLIENT_STYLEGUIDE_PAGINATION_DEFAULT_SIZE;
73
53
  exports.LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE = LIMIT_CLIENT_STYLEGUIDE_PAGINATION_MAX_SIZE;