@getcommunity/gc-validators 0.0.271-alpha.5 → 0.0.271-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/dist/base/index.cjs +19 -19
  2. package/dist/base/index.d.cts +3 -3
  3. package/dist/base/index.d.mts +4 -4
  4. package/dist/base/index.mjs +2 -2
  5. package/dist/components/blocks/index.cjs +16 -14
  6. package/dist/components/blocks/index.d.cts +2 -1322
  7. package/dist/components/blocks/index.d.mts +2 -1322
  8. package/dist/components/blocks/index.mjs +16 -14
  9. package/dist/components/brand/index.d.cts +1 -314
  10. package/dist/components/brand/index.d.mts +1 -314
  11. package/dist/components/forms/index.cjs +10 -8
  12. package/dist/components/forms/index.d.cts +6 -3
  13. package/dist/components/forms/index.d.mts +6 -3
  14. package/dist/components/forms/index.mjs +10 -8
  15. package/dist/components/shared/index.cjs +3 -1
  16. package/dist/components/shared/index.d.cts +1 -916
  17. package/dist/components/shared/index.d.mts +1 -916
  18. package/dist/components/shared/index.mjs +3 -1
  19. package/dist/components/slideshow/index.cjs +15 -13
  20. package/dist/components/slideshow/index.d.cts +7 -5
  21. package/dist/components/slideshow/index.d.mts +7 -5
  22. package/dist/components/slideshow/index.mjs +15 -13
  23. package/dist/components/utm/index.cjs +4 -2
  24. package/dist/components/utm/index.d.cts +1 -31
  25. package/dist/components/utm/index.d.mts +1 -31
  26. package/dist/components/utm/index.mjs +4 -2
  27. package/dist/document-BFPtEW5P.d.cts +17 -0
  28. package/dist/{document-Bpr9mbCs.d.mts → document-CH1Od98-.d.mts} +6 -6
  29. package/dist/document-Ccvtwgy_.cjs +26 -0
  30. package/dist/{document-Gx2Vrg_w.d.mts → document-CnKWB70Z.d.cts} +158 -104
  31. package/dist/{document-hEBlSep8.d.cts → document-CpsxYzbB.d.cts} +6 -6
  32. package/dist/document-CrnqUGRk.cjs +243 -0
  33. package/dist/document-Cx4Klv8A.mjs +128 -0
  34. package/dist/document-D060zybc.mjs +19 -0
  35. package/dist/document-DUHPXtbm.mjs +409 -0
  36. package/dist/document-DaICHS9G.cjs +17 -0
  37. package/dist/document-DamlTVm7.cjs +19 -0
  38. package/dist/document-DnA3Nwgh.mjs +12 -0
  39. package/dist/{document-BMxLOdrT.d.cts → document-Dr5-pbqu.d.mts} +158 -104
  40. package/dist/document-GovGVYRl.d.mts +17 -0
  41. package/dist/document-c3GNPelp.mjs +10 -0
  42. package/dist/document-zu6-DmQT.cjs +632 -0
  43. package/dist/entities/audit-log/index.cjs +2 -2
  44. package/dist/entities/audit-log/index.d.cts +2 -2
  45. package/dist/entities/audit-log/index.d.mts +3 -3
  46. package/dist/entities/audit-log/index.mjs +1 -1
  47. package/dist/entities/blog-page/index.d.mts +1 -1
  48. package/dist/entities/blog-post/index.cjs +11 -65
  49. package/dist/entities/blog-post/index.d.cts +1 -1620
  50. package/dist/entities/blog-post/index.d.mts +1 -1620
  51. package/dist/entities/blog-post/index.mjs +1 -55
  52. package/dist/entities/careers-page/index.d.mts +1 -1
  53. package/dist/entities/category/index.cjs +4 -11
  54. package/dist/entities/category/index.d.cts +3 -14
  55. package/dist/entities/category/index.d.mts +3 -14
  56. package/dist/entities/category/index.mjs +2 -9
  57. package/dist/entities/client/index.cjs +3 -3
  58. package/dist/entities/client/index.d.cts +1 -84
  59. package/dist/entities/client/index.d.mts +1 -84
  60. package/dist/entities/client/index.mjs +2 -2
  61. package/dist/entities/client-content-pillar/index.cjs +10 -20
  62. package/dist/entities/client-content-pillar/index.d.cts +1 -48
  63. package/dist/entities/client-content-pillar/index.d.mts +1 -48
  64. package/dist/entities/client-content-pillar/index.mjs +2 -12
  65. package/dist/entities/client-media-platform/index.cjs +10 -17
  66. package/dist/entities/client-media-platform/index.d.cts +1 -52
  67. package/dist/entities/client-media-platform/index.d.mts +1 -52
  68. package/dist/entities/client-media-platform/index.mjs +2 -9
  69. package/dist/entities/client-project/index.cjs +22 -129
  70. package/dist/entities/client-project/index.d.cts +1 -146
  71. package/dist/entities/client-project/index.d.mts +1 -146
  72. package/dist/entities/client-project/index.mjs +2 -109
  73. package/dist/entities/client-report/index.cjs +7 -18
  74. package/dist/entities/client-report/index.d.cts +1 -62
  75. package/dist/entities/client-report/index.d.mts +1 -62
  76. package/dist/entities/client-report/index.mjs +2 -13
  77. package/dist/entities/client-styleguide/index.cjs +7 -27
  78. package/dist/entities/client-styleguide/index.d.cts +1 -47
  79. package/dist/entities/client-styleguide/index.d.mts +1 -47
  80. package/dist/entities/client-styleguide/index.mjs +2 -22
  81. package/dist/entities/client-user/index.cjs +17 -53
  82. package/dist/entities/client-user/index.d.cts +1 -46
  83. package/dist/entities/client-user/index.d.mts +1 -46
  84. package/dist/entities/client-user/index.mjs +2 -38
  85. package/dist/entities/comment/index.d.cts +1 -1
  86. package/dist/entities/content-pillar/index.cjs +5 -5
  87. package/dist/entities/content-pillar/index.d.cts +1 -49
  88. package/dist/entities/content-pillar/index.d.mts +1 -49
  89. package/dist/entities/content-pillar/index.mjs +2 -2
  90. package/dist/entities/faq-page/index.d.mts +1 -1
  91. package/dist/entities/gcflytour/index.cjs +9 -19
  92. package/dist/entities/gcflytour/index.d.cts +1 -60
  93. package/dist/entities/gcflytour/index.d.mts +1 -60
  94. package/dist/entities/gcflytour/index.mjs +2 -12
  95. package/dist/entities/gcflytour-snap/index.cjs +7 -17
  96. package/dist/entities/gcflytour-snap/index.d.cts +1 -58
  97. package/dist/entities/gcflytour-snap/index.d.mts +1 -58
  98. package/dist/entities/gcflytour-snap/index.mjs +2 -12
  99. package/dist/entities/landing-page/index.d.mts +1 -1
  100. package/dist/entities/lead/index.cjs +2 -2
  101. package/dist/entities/lead/index.mjs +1 -1
  102. package/dist/entities/media-content-type/index.cjs +10 -23
  103. package/dist/entities/media-content-type/index.d.cts +3 -3
  104. package/dist/entities/media-content-type/index.d.mts +3 -3
  105. package/dist/entities/media-content-type/index.mjs +2 -15
  106. package/dist/entities/media-creative-format/index.cjs +7 -16
  107. package/dist/entities/media-creative-format/index.d.cts +3 -3
  108. package/dist/entities/media-creative-format/index.d.mts +3 -3
  109. package/dist/entities/media-creative-format/index.mjs +2 -11
  110. package/dist/entities/media-medium/index.cjs +7 -18
  111. package/dist/entities/media-medium/index.d.cts +3 -18
  112. package/dist/entities/media-medium/index.d.mts +3 -18
  113. package/dist/entities/media-medium/index.mjs +2 -13
  114. package/dist/entities/media-platform/index.cjs +13 -29
  115. package/dist/entities/media-platform/index.d.cts +1 -73
  116. package/dist/entities/media-platform/index.d.mts +1 -73
  117. package/dist/entities/media-platform/index.mjs +2 -18
  118. package/dist/entities/monday-workspace/index.cjs +7 -14
  119. package/dist/entities/monday-workspace/index.d.cts +1 -46
  120. package/dist/entities/monday-workspace/index.d.mts +1 -46
  121. package/dist/entities/monday-workspace/index.mjs +2 -9
  122. package/dist/entities/newsletter-signup/index.cjs +2 -2
  123. package/dist/entities/newsletter-signup/index.mjs +1 -1
  124. package/dist/entities/policy-page/index.d.mts +1 -1
  125. package/dist/entities/product/index.cjs +2 -21
  126. package/dist/entities/product/index.d.cts +1 -319
  127. package/dist/entities/product/index.d.mts +1 -319
  128. package/dist/entities/product/index.mjs +1 -18
  129. package/dist/entities/product-highlight/index.cjs +2 -21
  130. package/dist/entities/product-highlight/index.d.cts +1 -244
  131. package/dist/entities/product-highlight/index.d.mts +1 -244
  132. package/dist/entities/product-highlight/index.mjs +1 -18
  133. package/dist/entities/resume/index.cjs +2 -2
  134. package/dist/entities/resume/index.mjs +1 -1
  135. package/dist/entities/tag/index.cjs +4 -11
  136. package/dist/entities/tag/index.d.cts +3 -14
  137. package/dist/entities/tag/index.d.mts +3 -14
  138. package/dist/entities/tag/index.mjs +2 -9
  139. package/dist/entities/team-member/index.cjs +1 -1
  140. package/dist/entities/team-member/index.d.cts +1 -209
  141. package/dist/entities/team-member/index.d.mts +1 -209
  142. package/dist/entities/team-member/index.mjs +1 -1
  143. package/dist/entities/team-page/index.d.mts +1 -1
  144. package/dist/entities/trend/index.cjs +4 -18
  145. package/dist/entities/trend/index.d.cts +1 -333
  146. package/dist/entities/trend/index.d.mts +1 -333
  147. package/dist/entities/trend/index.mjs +2 -16
  148. package/dist/entities/up-auth/index.d.cts +1 -1
  149. package/dist/entities/up-auth/index.d.mts +1 -1
  150. package/dist/entities/up-permission/index.cjs +2 -11
  151. package/dist/entities/up-permission/index.d.cts +1 -13
  152. package/dist/entities/up-permission/index.d.mts +1 -13
  153. package/dist/entities/up-permission/index.mjs +1 -8
  154. package/dist/entities/up-role/index.cjs +4 -27
  155. package/dist/entities/up-role/index.d.cts +1 -2
  156. package/dist/entities/up-role/index.d.mts +1 -2
  157. package/dist/entities/up-role/index.mjs +1 -22
  158. package/dist/entities/up-user/index.cjs +2 -13
  159. package/dist/entities/up-user/index.d.cts +1 -37
  160. package/dist/entities/up-user/index.d.mts +1 -37
  161. package/dist/entities/up-user/index.mjs +1 -12
  162. package/dist/entities/url-redirect/index.d.cts +2 -2
  163. package/dist/entities/url-redirect/index.d.mts +2 -2
  164. package/dist/entities/user-account/index.cjs +10 -18
  165. package/dist/entities/user-account/index.d.cts +2 -2
  166. package/dist/entities/user-account/index.d.mts +2 -2
  167. package/dist/entities/user-account/index.mjs +3 -11
  168. package/dist/entities/utm-link-builder/index.cjs +5 -5
  169. package/dist/entities/utm-link-builder/index.mjs +1 -1
  170. package/dist/entities/utm-tracking-link/index.cjs +7 -28
  171. package/dist/entities/utm-tracking-link/index.d.cts +1 -234
  172. package/dist/entities/utm-tracking-link/index.d.mts +1 -234
  173. package/dist/entities/utm-tracking-link/index.mjs +2 -23
  174. package/dist/index-22laZYwt.d.mts +34 -0
  175. package/dist/{index-Bht1Jd5l.d.mts → index-B-CQQO_E.d.mts} +59 -140
  176. package/dist/index-BCvKbd4C.d.cts +940 -0
  177. package/dist/index-BQ_nheAt.d.mts +1324 -0
  178. package/dist/index-Cb8BnFcL.d.cts +4731 -0
  179. package/dist/index-Cpbdnd9q.d.cts +317 -0
  180. package/dist/index-D0PCjo7e.d.mts +940 -0
  181. package/dist/index-DB45mxlG.d.mts +921 -0
  182. package/dist/index-Df7ixqwa.d.cts +1324 -0
  183. package/dist/index-GUYqdxFh.d.mts +4731 -0
  184. package/dist/index-NBz_zMvQ.d.cts +34 -0
  185. package/dist/index-Z_fJ28vW.d.mts +317 -0
  186. package/dist/index-_eItTyFr.d.cts +921 -0
  187. package/dist/{index-ZBDWYTfn.d.cts → index-j2pTtcNX.d.cts} +58 -139
  188. package/dist/media-upload-BEfESsVb.d.mts +140 -0
  189. package/dist/media-upload-D-nP8FR1.d.cts +140 -0
  190. package/dist/permissions/index.d.cts +1 -1
  191. package/dist/permissions/index.d.mts +1 -1
  192. package/dist/{query.schema-DHTf6rTw.cjs → query-7g1AOXN9.cjs} +3 -3
  193. package/dist/{query.schema-YKoOuBnk.mjs → query-CeUev0uJ.mjs} +2 -2
  194. package/dist/{query.schema-BOn5Kk_p.d.mts → query-Cyv28Ggi.d.cts} +1 -1
  195. package/dist/{query.schema-CItKlb0x.d.cts → query-HXwJctNd.d.mts} +1 -1
  196. package/dist/{relations-C04F46xL.mjs → relationships-BosK0kyG.mjs} +1 -1
  197. package/dist/{relations-CGu18hfT.cjs → relationships-CWVJebkQ.cjs} +1 -1
  198. package/dist/utilities/index.d.cts +2 -4
  199. package/dist/utilities/index.d.mts +2 -4
  200. package/package.json +1 -1
  201. package/dist/document-AkydjorI.d.cts +0 -12219
  202. package/dist/document-BAzLIprH.d.mts +0 -100
  203. package/dist/document-BK1ASowb.d.cts +0 -17
  204. package/dist/document-BNoXPGwF.d.mts +0 -27
  205. package/dist/document-B_pJW777.d.mts +0 -30
  206. package/dist/document-Bd2AyLs8.d.mts +0 -16
  207. package/dist/document-BezYxNmb.d.cts +0 -16
  208. package/dist/document-Bj7SRTOn.d.cts +0 -18
  209. package/dist/document-Bo869pZx.d.mts +0 -18
  210. package/dist/document-Bs8c1mok.d.cts +0 -15
  211. package/dist/document-C0c7azOe.d.mts +0 -434
  212. package/dist/document-CTTDXzOF.mjs +0 -13
  213. package/dist/document-CUl_Ys6-.mjs +0 -23
  214. package/dist/document-CWYzG60q.d.cts +0 -19
  215. package/dist/document-Ccszj8lR.cjs +0 -20
  216. package/dist/document-CjNHI7Eb.d.cts +0 -27
  217. package/dist/document-Cu_HUDC5.mjs +0 -51
  218. package/dist/document-D-KvyEb5.d.cts +0 -238
  219. package/dist/document-D2nLVGig.d.mts +0 -238
  220. package/dist/document-D5yDIDIx.d.mts +0 -15
  221. package/dist/document-D73dqRle.d.cts +0 -19
  222. package/dist/document-DA6YVZz-.d.cts +0 -100
  223. package/dist/document-DJ0YiVte.d.cts +0 -30
  224. package/dist/document-DMHIUE3J.d.mts +0 -17
  225. package/dist/document-DN3g0EFx.d.cts +0 -434
  226. package/dist/document-DYzRVV1C.d.mts +0 -16
  227. package/dist/document-D_ZMbzn6.d.cts +0 -18
  228. package/dist/document-DeoRGh7p.d.mts +0 -19
  229. package/dist/document-DsIPBTG8.cjs +0 -30
  230. package/dist/document-DsSaMVGb.cjs +0 -106
  231. package/dist/document-DsT_qkhs.d.mts +0 -12219
  232. package/dist/document-IIJpsOIO.d.cts +0 -16
  233. package/dist/document-WHS8GHY5.d.mts +0 -18
  234. package/dist/document-dqrWptdY.d.cts +0 -244
  235. package/dist/document-si7GYS5g.d.mts +0 -19
  236. package/dist/document-vq-7rcU5.d.mts +0 -244
  237. package/dist/fields-BQHSYj70.d.cts +0 -7
  238. package/dist/fields-qx-5saY5.d.mts +0 -7
  239. package/dist/index-BI8tN-QZ.d.mts +0 -99
  240. package/dist/index-DpYYzY_9.d.cts +0 -99
  241. package/dist/response-C-7nyNVD.d.mts +0 -57
  242. package/dist/response-c6SgLvi9.d.cts +0 -57
  243. /package/dist/{index-D4Mm4D2d.d.cts → index-COCNx5sv.d.cts} +0 -0
  244. /package/dist/{json-CqAaKeHA.d.mts → json-p1Yf7cEr.d.mts} +0 -0
@@ -1,147 +1,2 @@
1
- import { t as ClientProjectDocument } from "../../document-DA6YVZz-.cjs";
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" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug: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" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug: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" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug: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" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug: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 { $n as ClientProjectPhase, $t as CLIENT_PROJECT_PHASE_VALUES, Jt as CreateClientProjectDocument, Qn as ClientProjectDocument, Qt as CLIENT_PROJECT_PHASES, Xt as UpdateClientProjectDocument, Yt as SAssociateClientToClientProjectDocument, Zt as UpdateClientProjectDocumentRequest, en as CLIENT_PROJECT_SORT_KEYS, er as ClientProjectStatus, nn as LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, qt as QueryStrapiSearchClientProjects, rn as LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, tn as CLIENT_PROJECT_STATUS, tr as QuerySortClientProjects } from "../../index-Cb8BnFcL.cjs";
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,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" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug: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" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug: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" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug: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" | "title:ASC" | "title:DESC" | "slug:ASC" | "slug: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 { $n as ClientProjectPhase, $t as CLIENT_PROJECT_PHASE_VALUES, Jt as CreateClientProjectDocument, Qn as ClientProjectDocument, Qt as CLIENT_PROJECT_PHASES, Xt as UpdateClientProjectDocument, Yt as SAssociateClientToClientProjectDocument, Zt as UpdateClientProjectDocumentRequest, en as CLIENT_PROJECT_SORT_KEYS, er as ClientProjectStatus, nn as LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, qt as QueryStrapiSearchClientProjects, rn as LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, tn as CLIENT_PROJECT_STATUS, tr as QuerySortClientProjects } from "../../index-GUYqdxFh.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 { A as CLIENT_PROJECT_STATUS, C as ClientProjectDocument, D as CLIENT_PROJECT_PHASES, E as QuerySortClientProjects, M as LIMIT_CLIENT_PROJECT_PAGINATION_MAX_SIZE, O as CLIENT_PROJECT_PHASE_VALUES, T as ClientProjectStatus, j as LIMIT_CLIENT_PROJECT_PAGINATION_DEFAULT_SIZE, k as CLIENT_PROJECT_SORT_KEYS, w as ClientProjectPhase } from "../../document-DUHPXtbm.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-zu6-DmQT.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 CreateClientReportDocument, Gt as LIMIT_CLIENT_REPORT_PAGINATION_DEFAULT_SIZE, Ht as UpdateClientReportDocumentRequest, Kt as LIMIT_CLIENT_REPORT_PAGINATION_MAX_SIZE, Ut as QuerySortClientReports, Vt as UpdateClientReportDocument, Wt as CLIENT_REPORT_SORT_KEYS, Zn as ClientReportDocument, zt as QueryStrapiSearchClientReports } from "../../index-Cb8BnFcL.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 };