@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,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" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "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" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "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" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "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" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "slug:ASC" | "slug:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "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 { Gt as UpdateClientProjectDocument, Ht as QueryStrapiSearchClientProjects, Jt as CLIENT_PROJECT_PHASE_VALUES, Kt as UpdateClientProjectDocumentRequest, Qt as LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, Ut as CreateClientProjectDocument, Wt as SAssociateClientToClientProjectDocument, Xt as CLIENT_PROJECT_STATUS, Yt as CLIENT_PROJECT_SORT_KEYS, Zt as LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, ir as QuerySortClientProjects, nr as ClientProjectPhase, qt as CLIENT_PROJECT_PHASES, rr as ClientProjectStatus, tr as ClientProjectDocument } from "../../index-DmSY24F-.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-D1Kp-Gfe.mjs";
4
+ import { A as ClientProjectPhase, F as CLIENT_PROJECT_SORT_KEYS, I as CLIENT_PROJECT_STATUS, L as LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, M as QuerySortClientProjects, N as CLIENT_PROJECT_PHASES, P as CLIENT_PROJECT_PHASE_VALUES, R as LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, j as ClientProjectStatus, k as ClientProjectDocument } from "../../document-kvIqz0p6.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-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/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" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "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" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "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 { Bt as LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, Ft as CreateClientReportDocument, It as UpdateClientReportDocument, Lt as UpdateClientReportDocumentRequest, Pt as QueryStrapiSearchClientReports, Rt as QuerySortClientReports, Vt as LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, er as ClientReportDocument, zt as CLIENT_REPORT_SORT_KEYS } from "../../index-DWx5cycC.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" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "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" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "is_hidden:DESC" | "is_external:ASC" | "is_external:DESC")[], undefined>, undefined>, v.MaxLengthAction<("id:ASC" | "createdAt:ASC" | "updatedAt:ASC" | "is_active:ASC" | "id:DESC" | "createdAt:DESC" | "updatedAt:DESC" | "is_active:DESC" | "title:ASC" | "title:DESC" | "is_hidden:ASC" | "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 { Bt as LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, Ft as CreateClientReportDocument, It as UpdateClientReportDocument, Lt as UpdateClientReportDocumentRequest, Pt as QueryStrapiSearchClientReports, Rt as QuerySortClientReports, Vt as LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, er as ClientReportDocument, zt as CLIENT_REPORT_SORT_KEYS } from "../../index-DmSY24F-.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-D1Kp-Gfe.mjs";
4
+ import { O as ClientReportDocument } from "../../document-kvIqz0p6.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-B0sgMFZA.cjs");
6
+ const require_document = require("../../document-DOVZwQRq.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;