@getcommunity/gc-validators 0.0.269 → 0.0.271-alpha.0
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.
- package/README.md +2 -40
- package/dist/base/index.cjs +106 -0
- package/dist/base/index.d.cts +5 -0
- package/dist/base/index.d.mts +5 -0
- package/dist/base/index.mjs +21 -0
- package/dist/component-BPHZTfVY.mjs +6 -0
- package/dist/component-DLjTD_qK.cjs +19 -0
- package/dist/components/blocks/index.cjs +207 -0
- package/dist/components/blocks/index.d.cts +1322 -0
- package/dist/components/blocks/index.d.mts +1322 -0
- package/dist/components/blocks/index.mjs +175 -0
- package/dist/components/brand/index.cjs +37 -0
- package/dist/components/brand/index.d.cts +315 -0
- package/dist/components/brand/index.d.mts +315 -0
- package/dist/components/brand/index.mjs +31 -0
- package/dist/components/forms/index.cjs +70 -0
- package/dist/components/forms/index.d.cts +333 -0
- package/dist/components/forms/index.d.mts +333 -0
- package/dist/components/forms/index.mjs +58 -0
- package/dist/components/shared/index.cjs +127 -0
- package/dist/components/shared/index.d.cts +917 -0
- package/dist/components/shared/index.d.mts +917 -0
- package/dist/components/shared/index.mjs +107 -0
- package/dist/components/slideshow/index.cjs +129 -0
- package/dist/components/slideshow/index.d.cts +742 -0
- package/dist/components/slideshow/index.d.mts +742 -0
- package/dist/components/slideshow/index.mjs +106 -0
- package/dist/components/utm/index.cjs +55 -0
- package/dist/components/utm/index.d.cts +32 -0
- package/dist/components/utm/index.d.mts +32 -0
- package/dist/components/utm/index.mjs +47 -0
- package/dist/constants/index.cjs +243 -0
- package/dist/constants/index.d.cts +197 -0
- package/dist/constants/index.d.mts +197 -0
- package/dist/constants/index.mjs +182 -0
- package/dist/constants-L2goO7Eg.mjs +85 -0
- package/dist/constants-PBZKggHL.cjs +102 -0
- package/dist/document-BAro2Mrj.cjs +18 -0
- package/dist/document-BAzLIprH.d.mts +100 -0
- package/dist/document-BFukanLe.mjs +54 -0
- package/dist/document-BK1ASowb.d.cts +17 -0
- package/dist/document-BMxLOdrT.d.cts +267 -0
- package/dist/document-BNoXPGwF.d.mts +27 -0
- package/dist/document-B_pJW777.d.mts +30 -0
- package/dist/document-Bd2AyLs8.d.mts +16 -0
- package/dist/document-BezYxNmb.d.cts +16 -0
- package/dist/document-Bj7SRTOn.d.cts +18 -0
- package/dist/document-Bo869pZx.d.mts +18 -0
- package/dist/document-Bpr9mbCs.d.mts +15 -0
- package/dist/document-Bqoi1MdT.mjs +11 -0
- package/dist/document-Bs8c1mok.d.cts +15 -0
- package/dist/document-C0c7azOe.d.mts +434 -0
- package/dist/document-CTTDXzOF.mjs +13 -0
- package/dist/document-CUl_Ys6-.mjs +23 -0
- package/dist/document-CWYzG60q.d.cts +19 -0
- package/dist/document-Ccszj8lR.cjs +20 -0
- package/dist/document-CjNHI7Eb.d.cts +27 -0
- package/dist/document-Cu_HUDC5.mjs +51 -0
- package/dist/document-D-KvyEb5.d.cts +238 -0
- package/dist/document-D2nLVGig.d.mts +238 -0
- package/dist/document-D5yDIDIx.d.mts +15 -0
- package/dist/document-D73dqRle.d.cts +19 -0
- package/dist/document-DA6YVZz-.d.cts +100 -0
- package/dist/document-DJ0YiVte.d.cts +30 -0
- package/dist/document-DMHIUE3J.d.mts +17 -0
- package/dist/document-DN3g0EFx.d.cts +434 -0
- package/dist/document-DWapIF7V.d.cts +12223 -0
- package/dist/document-DYzRVV1C.d.mts +16 -0
- package/dist/document-D_ZMbzn6.d.cts +18 -0
- package/dist/document-DeoRGh7p.d.mts +19 -0
- package/dist/document-DsIPBTG8.cjs +30 -0
- package/dist/document-DsSaMVGb.cjs +106 -0
- package/dist/document-Gx2Vrg_w.d.mts +267 -0
- package/dist/document-IIJpsOIO.d.cts +16 -0
- package/dist/document-WHS8GHY5.d.mts +18 -0
- package/dist/document-dqrWptdY.d.cts +244 -0
- package/dist/document-hEBlSep8.d.cts +15 -0
- package/dist/document-qcC-10Nd.d.mts +12223 -0
- package/dist/document-rbMXLGxt.cjs +103 -0
- package/dist/document-si7GYS5g.d.mts +19 -0
- package/dist/document-vq-7rcU5.d.mts +244 -0
- package/dist/entities/audit-log/index.cjs +127 -0
- package/dist/entities/audit-log/index.d.cts +134 -0
- package/dist/entities/audit-log/index.d.mts +134 -0
- package/dist/entities/audit-log/index.mjs +115 -0
- package/dist/entities/blog-page/index.cjs +16 -0
- package/dist/entities/blog-page/index.d.cts +257 -0
- package/dist/entities/blog-page/index.d.mts +257 -0
- package/dist/entities/blog-page/index.mjs +13 -0
- package/dist/entities/blog-post/index.cjs +33 -0
- package/dist/entities/blog-post/index.d.cts +917 -0
- package/dist/entities/blog-post/index.d.mts +917 -0
- package/dist/entities/blog-post/index.mjs +21 -0
- package/dist/entities/careers-page/index.cjs +16 -0
- package/dist/entities/careers-page/index.d.cts +257 -0
- package/dist/entities/careers-page/index.d.mts +257 -0
- package/dist/entities/careers-page/index.mjs +13 -0
- package/dist/entities/category/index.cjs +63 -0
- package/dist/entities/category/index.d.cts +300 -0
- package/dist/entities/category/index.d.mts +300 -0
- package/dist/entities/category/index.mjs +52 -0
- package/dist/entities/client/index.cjs +96 -0
- package/dist/entities/client/index.d.cts +85 -0
- package/dist/entities/client/index.d.mts +85 -0
- package/dist/entities/client/index.mjs +83 -0
- package/dist/entities/client-content-pillar/index.cjs +70 -0
- package/dist/entities/client-content-pillar/index.d.cts +49 -0
- package/dist/entities/client-content-pillar/index.d.mts +49 -0
- package/dist/entities/client-content-pillar/index.mjs +59 -0
- package/dist/entities/client-media-platform/index.cjs +74 -0
- package/dist/entities/client-media-platform/index.d.cts +53 -0
- package/dist/entities/client-media-platform/index.d.mts +53 -0
- package/dist/entities/client-media-platform/index.mjs +63 -0
- package/dist/entities/client-project/index.cjs +205 -0
- package/dist/entities/client-project/index.d.cts +147 -0
- package/dist/entities/client-project/index.d.mts +147 -0
- package/dist/entities/client-project/index.mjs +188 -0
- package/dist/entities/client-report/index.cjs +82 -0
- package/dist/entities/client-report/index.d.cts +63 -0
- package/dist/entities/client-report/index.d.mts +63 -0
- package/dist/entities/client-report/index.mjs +71 -0
- package/dist/entities/client-styleguide/index.cjs +77 -0
- package/dist/entities/client-styleguide/index.d.cts +48 -0
- package/dist/entities/client-styleguide/index.d.mts +48 -0
- package/dist/entities/client-styleguide/index.mjs +66 -0
- package/dist/entities/client-user/index.cjs +78 -0
- package/dist/entities/client-user/index.d.cts +47 -0
- package/dist/entities/client-user/index.d.mts +47 -0
- package/dist/entities/client-user/index.mjs +64 -0
- package/dist/entities/comment/index.cjs +137 -0
- package/dist/entities/comment/index.d.cts +2 -0
- package/dist/entities/comment/index.d.mts +2 -0
- package/dist/entities/comment/index.mjs +116 -0
- package/dist/entities/content-pillar/index.cjs +59 -0
- package/dist/entities/content-pillar/index.d.cts +50 -0
- package/dist/entities/content-pillar/index.d.mts +50 -0
- package/dist/entities/content-pillar/index.mjs +48 -0
- package/dist/entities/faq-page/index.cjs +17 -0
- package/dist/entities/faq-page/index.d.cts +335 -0
- package/dist/entities/faq-page/index.d.mts +335 -0
- package/dist/entities/faq-page/index.mjs +14 -0
- package/dist/entities/formatter/index.cjs +258 -0
- package/dist/entities/formatter/index.d.cts +121 -0
- package/dist/entities/formatter/index.d.mts +121 -0
- package/dist/entities/formatter/index.mjs +233 -0
- package/dist/entities/gcflytour/index.cjs +79 -0
- package/dist/entities/gcflytour/index.d.cts +61 -0
- package/dist/entities/gcflytour/index.d.mts +61 -0
- package/dist/entities/gcflytour/index.mjs +68 -0
- package/dist/entities/gcflytour-snap/index.cjs +78 -0
- package/dist/entities/gcflytour-snap/index.d.cts +59 -0
- package/dist/entities/gcflytour-snap/index.d.mts +59 -0
- package/dist/entities/gcflytour-snap/index.mjs +67 -0
- package/dist/entities/landing-page/index.cjs +28 -0
- package/dist/entities/landing-page/index.d.cts +479 -0
- package/dist/entities/landing-page/index.d.mts +479 -0
- package/dist/entities/landing-page/index.mjs +25 -0
- package/dist/entities/lead/index.cjs +63 -0
- package/dist/entities/lead/index.d.cts +75 -0
- package/dist/entities/lead/index.d.mts +75 -0
- package/dist/entities/lead/index.mjs +57 -0
- package/dist/entities/media-content-type/index.cjs +100 -0
- package/dist/entities/media-content-type/index.d.cts +66 -0
- package/dist/entities/media-content-type/index.d.mts +66 -0
- package/dist/entities/media-content-type/index.mjs +89 -0
- package/dist/entities/media-creative-format/index.cjs +79 -0
- package/dist/entities/media-creative-format/index.d.cts +54 -0
- package/dist/entities/media-creative-format/index.d.mts +54 -0
- package/dist/entities/media-creative-format/index.mjs +68 -0
- package/dist/entities/media-medium/index.cjs +90 -0
- package/dist/entities/media-medium/index.d.cts +77 -0
- package/dist/entities/media-medium/index.d.mts +77 -0
- package/dist/entities/media-medium/index.mjs +79 -0
- package/dist/entities/media-platform/index.cjs +118 -0
- package/dist/entities/media-platform/index.d.cts +74 -0
- package/dist/entities/media-platform/index.d.mts +74 -0
- package/dist/entities/media-platform/index.mjs +107 -0
- package/dist/entities/monday-workspace/index.cjs +66 -0
- package/dist/entities/monday-workspace/index.d.cts +47 -0
- package/dist/entities/monday-workspace/index.d.mts +47 -0
- package/dist/entities/monday-workspace/index.mjs +55 -0
- package/dist/entities/newsletter-signup/index.cjs +67 -0
- package/dist/entities/newsletter-signup/index.d.cts +76 -0
- package/dist/entities/newsletter-signup/index.d.mts +76 -0
- package/dist/entities/newsletter-signup/index.mjs +60 -0
- package/dist/entities/policy-page/index.cjs +23 -0
- package/dist/entities/policy-page/index.d.cts +331 -0
- package/dist/entities/policy-page/index.d.mts +331 -0
- package/dist/entities/policy-page/index.mjs +20 -0
- package/dist/entities/product/index.cjs +28 -0
- package/dist/entities/product/index.d.cts +325 -0
- package/dist/entities/product/index.d.mts +325 -0
- package/dist/entities/product/index.mjs +23 -0
- package/dist/entities/product-highlight/index.cjs +28 -0
- package/dist/entities/product-highlight/index.d.cts +245 -0
- package/dist/entities/product-highlight/index.d.mts +245 -0
- package/dist/entities/product-highlight/index.mjs +23 -0
- package/dist/entities/resume/index.cjs +129 -0
- package/dist/entities/resume/index.d.cts +198 -0
- package/dist/entities/resume/index.d.mts +198 -0
- package/dist/entities/resume/index.mjs +119 -0
- package/dist/entities/sharpspring/index.cjs +19 -0
- package/dist/entities/sharpspring/index.d.cts +16 -0
- package/dist/entities/sharpspring/index.d.mts +16 -0
- package/dist/entities/sharpspring/index.mjs +16 -0
- package/dist/entities/tag/index.cjs +61 -0
- package/dist/entities/tag/index.d.cts +54 -0
- package/dist/entities/tag/index.d.mts +54 -0
- package/dist/entities/tag/index.mjs +50 -0
- package/dist/entities/team-member/index.cjs +29 -0
- package/dist/entities/team-member/index.d.cts +210 -0
- package/dist/entities/team-member/index.d.mts +210 -0
- package/dist/entities/team-member/index.mjs +17 -0
- package/dist/entities/team-page/index.cjs +16 -0
- package/dist/entities/team-page/index.d.cts +257 -0
- package/dist/entities/team-page/index.d.mts +257 -0
- package/dist/entities/team-page/index.mjs +13 -0
- package/dist/entities/teamwork/index.cjs +74 -0
- package/dist/entities/teamwork/index.d.cts +512 -0
- package/dist/entities/teamwork/index.d.mts +512 -0
- package/dist/entities/teamwork/index.mjs +68 -0
- package/dist/entities/trend/index.cjs +34 -0
- package/dist/entities/trend/index.d.cts +347 -0
- package/dist/entities/trend/index.d.mts +347 -0
- package/dist/entities/trend/index.mjs +28 -0
- package/dist/entities/up-auth/index.cjs +56 -0
- package/dist/entities/up-auth/index.d.cts +2 -0
- package/dist/entities/up-auth/index.d.mts +2 -0
- package/dist/entities/up-auth/index.mjs +44 -0
- package/dist/entities/up-permission/index.cjs +12 -0
- package/dist/entities/up-permission/index.d.cts +14 -0
- package/dist/entities/up-permission/index.d.mts +14 -0
- package/dist/entities/up-permission/index.mjs +9 -0
- package/dist/entities/up-role/index.cjs +28 -0
- package/dist/entities/up-role/index.d.cts +7 -0
- package/dist/entities/up-role/index.d.mts +7 -0
- package/dist/entities/up-role/index.mjs +23 -0
- package/dist/entities/up-user/index.cjs +64 -0
- package/dist/entities/up-user/index.d.cts +38 -0
- package/dist/entities/up-user/index.d.mts +38 -0
- package/dist/entities/up-user/index.mjs +54 -0
- package/dist/entities/upload/index.cjs +35 -0
- package/dist/entities/upload/index.d.cts +31 -0
- package/dist/entities/upload/index.d.mts +31 -0
- package/dist/entities/upload/index.mjs +29 -0
- package/dist/entities/url-redirect/index.cjs +67 -0
- package/dist/entities/url-redirect/index.d.cts +45 -0
- package/dist/entities/url-redirect/index.d.mts +45 -0
- package/dist/entities/url-redirect/index.mjs +54 -0
- package/dist/entities/user-account/index.cjs +48 -0
- package/dist/entities/user-account/index.d.cts +39 -0
- package/dist/entities/user-account/index.d.mts +39 -0
- package/dist/entities/user-account/index.mjs +39 -0
- package/dist/entities/utm-link-builder/index.cjs +84 -0
- package/dist/entities/utm-link-builder/index.d.cts +191 -0
- package/dist/entities/utm-link-builder/index.d.mts +191 -0
- package/dist/entities/utm-link-builder/index.mjs +76 -0
- package/dist/entities/utm-meta/index.cjs +19 -0
- package/dist/entities/utm-meta/index.d.cts +83 -0
- package/dist/entities/utm-meta/index.d.mts +83 -0
- package/dist/entities/utm-meta/index.mjs +16 -0
- package/dist/entities/utm-tracking-link/index.cjs +199 -0
- package/dist/entities/utm-tracking-link/index.d.cts +235 -0
- package/dist/entities/utm-tracking-link/index.d.mts +235 -0
- package/dist/entities/utm-tracking-link/index.mjs +184 -0
- package/dist/fields-BQHSYj70.d.cts +7 -0
- package/dist/fields-qx-5saY5.d.mts +7 -0
- package/dist/fonts-CGSHKgp0.cjs +125 -0
- package/dist/fonts-tMy55UFs.mjs +58 -0
- package/dist/index-CPUGB8lZ.d.mts +95 -0
- package/dist/index-DDYmaYSm.d.mts +200 -0
- package/dist/index-Dl6KBLdT.d.mts +422 -0
- package/dist/index-DmLVZdb3.d.cts +200 -0
- package/dist/index-Dv9bgrpo.d.cts +422 -0
- package/dist/index-H4RC0v4h.d.cts +95 -0
- package/dist/json-BJ8GyrtC.d.cts +9 -0
- package/dist/json-BgewUW_1.cjs +19 -0
- package/dist/json-CTduX6Ak.mjs +12 -0
- package/dist/json-CqAaKeHA.d.mts +9 -0
- package/dist/media-upload-B6aQYeRM.cjs +59 -0
- package/dist/media-upload-DiRJksSU.mjs +40 -0
- package/dist/pagination-4pZafglS.cjs +23 -0
- package/dist/pagination-owwfYJS6.mjs +6 -0
- package/dist/{permissions.cjs → permissions/index.cjs} +6 -89
- package/dist/permissions/index.d.cts +2 -0
- package/dist/permissions/index.d.mts +2 -0
- package/dist/{permissions.mjs → permissions/index.mjs} +3 -86
- package/dist/query.schema-BOn5Kk_p.d.mts +41 -0
- package/dist/query.schema-CItKlb0x.d.cts +41 -0
- package/dist/query.schema-DHTf6rTw.cjs +95 -0
- package/dist/query.schema-YKoOuBnk.mjs +40 -0
- package/dist/regex-BnKGcdS4.mjs +55 -0
- package/dist/regex-Cl5goNwp.cjs +342 -0
- package/dist/relations-C04F46xL.mjs +41 -0
- package/dist/relations-CGu18hfT.cjs +90 -0
- package/dist/response-C-7nyNVD.d.mts +57 -0
- package/dist/response-c6SgLvi9.d.cts +57 -0
- package/dist/strapi-C0DtxJLD.mjs +9 -0
- package/dist/strapi-C7POOPEf.cjs +34 -0
- package/dist/strapi-COeswSwJ.mjs +49 -0
- package/dist/strapi-DmhV7ODq.cjs +72 -0
- package/dist/theme-Ba9vW4PA.cjs +230 -0
- package/dist/theme-BhQd4eMI.mjs +97 -0
- package/dist/{utilities.cjs → utilities/index.cjs} +9 -28
- package/dist/utilities/index.d.cts +24 -0
- package/dist/utilities/index.d.mts +24 -0
- package/dist/{utilities.mjs → utilities/index.mjs} +9 -25
- package/dist/validators-Bc9Is5Sr.cjs +222 -0
- package/dist/validators-P5E_3qzc.mjs +95 -0
- package/package.json +64 -40
- package/dist/constants.cjs +0 -461
- package/dist/constants.d.cts +0 -2
- package/dist/constants.d.mts +0 -2
- package/dist/constants.mjs +0 -353
- package/dist/index-CiWVYf_f.d.cts +0 -291
- package/dist/index-CnH0p5DO.d.mts +0 -4509
- package/dist/index-Cs4i8IvA.d.cts +0 -4509
- package/dist/index-DOR_It7I.d.mts +0 -291
- package/dist/index.cjs +0 -384
- package/dist/index.d.cts +0 -3
- package/dist/index.d.mts +0 -3
- package/dist/index.mjs +0 -6
- package/dist/permissions.d.cts +0 -2
- package/dist/permissions.d.mts +0 -2
- package/dist/schemas.cjs +0 -2326
- package/dist/schemas.d.cts +0 -2
- package/dist/schemas.d.mts +0 -2
- package/dist/schemas.mjs +0 -2068
- package/dist/types.cjs +0 -0
- package/dist/types.d.cts +0 -2
- package/dist/types.d.mts +0 -2
- package/dist/types.mjs +0 -1
- package/dist/utilities.d.cts +0 -2
- package/dist/utilities.d.mts +0 -2
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-CItKlb0x.cjs";
|
|
2
|
+
import { t as UserAccountDocument } from "../../document-IIJpsOIO.cjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
|
|
5
|
+
//#region src/entities/user-account/mutation.d.ts
|
|
6
|
+
declare const UpdateUserAccount: v.ObjectSchema<{
|
|
7
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
8
|
+
readonly first_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
9
|
+
readonly last_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
10
|
+
readonly preferred_name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
11
|
+
}, undefined>;
|
|
12
|
+
type UpdateUserAccount = v.InferOutput<typeof UpdateUserAccount>;
|
|
13
|
+
declare const UpdateUserAccountFirstName: v.ObjectSchema<{
|
|
14
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
15
|
+
readonly first_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
16
|
+
}, undefined>;
|
|
17
|
+
type UpdateUserAccountFirstName = v.InferOutput<typeof UpdateUserAccountFirstName>;
|
|
18
|
+
declare const UpdateUserAccountLastName: v.ObjectSchema<{
|
|
19
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
20
|
+
readonly last_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
type UpdateUserAccountLastName = v.InferOutput<typeof UpdateUserAccountLastName>;
|
|
23
|
+
declare const UpdateUserAccountPreferredName: v.ObjectSchema<{
|
|
24
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
25
|
+
readonly preferred_name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
26
|
+
}, undefined>;
|
|
27
|
+
type UpdateUserAccountPreferredName = v.InferOutput<typeof UpdateUserAccountPreferredName>;
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/entities/user-account/query.d.ts
|
|
30
|
+
declare const SReadUserAccountById: v.ObjectSchema<{
|
|
31
|
+
readonly id: v.NumberSchema<undefined>;
|
|
32
|
+
}, undefined>;
|
|
33
|
+
type SReadUserAccountById = QueryStrapiById;
|
|
34
|
+
declare const SReadUserAccountByDocumentId: v.ObjectSchema<{
|
|
35
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
36
|
+
}, undefined>;
|
|
37
|
+
type SReadUserAccountByDocumentId = QueryStrapiByDocumentId;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-BOn5Kk_p.mjs";
|
|
2
|
+
import { t as UserAccountDocument } from "../../document-Bd2AyLs8.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
|
|
5
|
+
//#region src/entities/user-account/mutation.d.ts
|
|
6
|
+
declare const UpdateUserAccount: v.ObjectSchema<{
|
|
7
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
8
|
+
readonly first_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
9
|
+
readonly last_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
10
|
+
readonly preferred_name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
11
|
+
}, undefined>;
|
|
12
|
+
type UpdateUserAccount = v.InferOutput<typeof UpdateUserAccount>;
|
|
13
|
+
declare const UpdateUserAccountFirstName: v.ObjectSchema<{
|
|
14
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
15
|
+
readonly first_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
16
|
+
}, undefined>;
|
|
17
|
+
type UpdateUserAccountFirstName = v.InferOutput<typeof UpdateUserAccountFirstName>;
|
|
18
|
+
declare const UpdateUserAccountLastName: v.ObjectSchema<{
|
|
19
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
20
|
+
readonly last_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
type UpdateUserAccountLastName = v.InferOutput<typeof UpdateUserAccountLastName>;
|
|
23
|
+
declare const UpdateUserAccountPreferredName: v.ObjectSchema<{
|
|
24
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
25
|
+
readonly preferred_name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
26
|
+
}, undefined>;
|
|
27
|
+
type UpdateUserAccountPreferredName = v.InferOutput<typeof UpdateUserAccountPreferredName>;
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/entities/user-account/query.d.ts
|
|
30
|
+
declare const SReadUserAccountById: v.ObjectSchema<{
|
|
31
|
+
readonly id: v.NumberSchema<undefined>;
|
|
32
|
+
}, undefined>;
|
|
33
|
+
type SReadUserAccountById = QueryStrapiById;
|
|
34
|
+
declare const SReadUserAccountByDocumentId: v.ObjectSchema<{
|
|
35
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
36
|
+
}, undefined>;
|
|
37
|
+
type SReadUserAccountByDocumentId = QueryStrapiByDocumentId;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { t as BaseDocument } from "../../document-Bqoi1MdT.mjs";
|
|
2
|
+
import { r as QueryStrapiById, t as QueryStrapiByDocumentId } from "../../query.schema-YKoOuBnk.mjs";
|
|
3
|
+
import "../../regex-BnKGcdS4.mjs";
|
|
4
|
+
import { d as VStringMinMax } from "../../validators-P5E_3qzc.mjs";
|
|
5
|
+
import { a as SAssociateOneEntity } from "../../relations-C04F46xL.mjs";
|
|
6
|
+
import * as v from "valibot";
|
|
7
|
+
//#region src/entities/user-account/document.ts
|
|
8
|
+
const UserAccountDocument = v.object({
|
|
9
|
+
...BaseDocument.entries,
|
|
10
|
+
preferred_name: v.nullable(v.string()),
|
|
11
|
+
first_name: v.string(),
|
|
12
|
+
last_name: v.string()
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/entities/user-account/mutation.ts
|
|
16
|
+
const UpdateUserAccount = v.object({
|
|
17
|
+
documentId: SAssociateOneEntity,
|
|
18
|
+
first_name: VStringMinMax(1, 255),
|
|
19
|
+
last_name: VStringMinMax(1, 255),
|
|
20
|
+
preferred_name: v.nullable(VStringMinMax(1, 255))
|
|
21
|
+
});
|
|
22
|
+
const UpdateUserAccountFirstName = v.object({
|
|
23
|
+
documentId: SAssociateOneEntity,
|
|
24
|
+
first_name: VStringMinMax(1, 255)
|
|
25
|
+
});
|
|
26
|
+
const UpdateUserAccountLastName = v.object({
|
|
27
|
+
documentId: SAssociateOneEntity,
|
|
28
|
+
last_name: VStringMinMax(1, 255)
|
|
29
|
+
});
|
|
30
|
+
const UpdateUserAccountPreferredName = v.object({
|
|
31
|
+
documentId: SAssociateOneEntity,
|
|
32
|
+
preferred_name: v.nullable(VStringMinMax(1, 255))
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region src/entities/user-account/query.ts
|
|
36
|
+
const SReadUserAccountById = QueryStrapiById;
|
|
37
|
+
const SReadUserAccountByDocumentId = QueryStrapiByDocumentId;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { SReadUserAccountByDocumentId, SReadUserAccountById, UpdateUserAccount, UpdateUserAccountFirstName, UpdateUserAccountLastName, UpdateUserAccountPreferredName, UserAccountDocument };
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_chunk = require("../../chunk-CKQMccvm.cjs");
|
|
3
|
+
const require_regex = require("../../regex-Cl5goNwp.cjs");
|
|
4
|
+
const require_validators = require("../../validators-Bc9Is5Sr.cjs");
|
|
5
|
+
const require_relations = require("../../relations-CGu18hfT.cjs");
|
|
6
|
+
let valibot = require("valibot");
|
|
7
|
+
valibot = require_chunk.__toESM(valibot, 1);
|
|
8
|
+
//#region src/entities/utm-link-builder/constants.ts
|
|
9
|
+
const UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS = [
|
|
10
|
+
"annually",
|
|
11
|
+
"quarterly",
|
|
12
|
+
"monthly",
|
|
13
|
+
"on a specific date",
|
|
14
|
+
"no date"
|
|
15
|
+
];
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/entities/utm-link-builder/mutation.ts
|
|
18
|
+
const SUtmLinkBuilderPartCampaignDateOptions = UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS;
|
|
19
|
+
const SUtmLinkBuilderCampaign = valibot.object({
|
|
20
|
+
campaign_phase: require_validators.VStringMinMax(1, 255),
|
|
21
|
+
campaign_product: valibot.optional(require_validators.VStringMax()),
|
|
22
|
+
campaign_targeting: valibot.optional(valibot.pipe(valibot.array(require_validators.VStringMaxRegex(255, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE)), valibot.maxLength(10))),
|
|
23
|
+
campaign_key: valibot.optional(require_validators.VStringMaxRegex(255, require_regex.REGEX_UTM_VALUE, require_regex.ERROR_MESSAGE_REGEX_UTM_VALUE)),
|
|
24
|
+
campaign_date: valibot.object({
|
|
25
|
+
format: valibot.picklist(SUtmLinkBuilderPartCampaignDateOptions),
|
|
26
|
+
value: valibot.object({
|
|
27
|
+
year: valibot.number(),
|
|
28
|
+
quarter: require_validators.VIntegerNullable(),
|
|
29
|
+
month: require_validators.VIntegerNullable(),
|
|
30
|
+
day: require_validators.VIntegerNullable()
|
|
31
|
+
})
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
const SUtmLinkBuilderCreativeFormat = valibot.object({
|
|
35
|
+
creative_format: valibot.optional(require_validators.VStringMax(255)),
|
|
36
|
+
creative_format_variants: valibot.optional(valibot.array(require_validators.VStringMax(255))),
|
|
37
|
+
creative_size: valibot.optional(valibot.object({
|
|
38
|
+
width: require_validators.VIntegerNullable(),
|
|
39
|
+
height: require_validators.VIntegerNullable(),
|
|
40
|
+
key: valibot.optional(require_validators.VStringMax(255))
|
|
41
|
+
}))
|
|
42
|
+
});
|
|
43
|
+
const SUtmLinkBuilderTableForm = valibot.object({
|
|
44
|
+
creator: require_relations.SAssociateOneEntity,
|
|
45
|
+
client: require_relations.SAssociateOneEntity,
|
|
46
|
+
variants: valibot.pipe(valibot.array(valibot.object({
|
|
47
|
+
url_destinations: valibot.pipe(valibot.array(valibot.object({ url: valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
|
|
48
|
+
if (input === "") return false;
|
|
49
|
+
return input.indexOf("?") === -1;
|
|
50
|
+
}, require_regex.ERROR_MESSAGE_URL_NO_QUERY_PARAMS)) })), valibot.minLength(1), valibot.maxLength(100)),
|
|
51
|
+
source: require_validators.VStringMax(255),
|
|
52
|
+
mediums: valibot.pipe(valibot.array(require_validators.VStringMax(255)), valibot.minLength(1), valibot.maxLength(10)),
|
|
53
|
+
campaign: SUtmLinkBuilderCampaign,
|
|
54
|
+
content: valibot.optional(require_validators.VStringMax(255)),
|
|
55
|
+
creative_formats: valibot.optional(valibot.pipe(valibot.array(SUtmLinkBuilderCreativeFormat), valibot.maxLength(10))),
|
|
56
|
+
id: valibot.optional(require_validators.VStringMinMax(1, 255))
|
|
57
|
+
})), valibot.minLength(1), valibot.maxLength(10)),
|
|
58
|
+
notes: valibot.optional(require_validators.VStringMax())
|
|
59
|
+
});
|
|
60
|
+
const SUtmLinkBuilderSingleForm = valibot.object({
|
|
61
|
+
creator: require_relations.SAssociateOneEntity,
|
|
62
|
+
client: require_relations.SAssociateOneEntity,
|
|
63
|
+
url_destination: valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
|
|
64
|
+
if (input === "") return false;
|
|
65
|
+
return input.indexOf("?") === -1;
|
|
66
|
+
}, require_regex.ERROR_MESSAGE_URL_NO_QUERY_PARAMS)),
|
|
67
|
+
source: require_validators.VStringMax(255),
|
|
68
|
+
medium: require_validators.VStringMax(255),
|
|
69
|
+
campaign: SUtmLinkBuilderCampaign,
|
|
70
|
+
content: valibot.optional(require_validators.VStringMax(255)),
|
|
71
|
+
creative_format: valibot.optional(SUtmLinkBuilderCreativeFormat),
|
|
72
|
+
id: valibot.optional(require_validators.VStringMinMax(1, 255)),
|
|
73
|
+
url: valibot.pipe(valibot.string(), valibot.trim(), valibot.url(require_regex.ERROR_MESSAGE_INVALID_URL), valibot.check((input) => {
|
|
74
|
+
return input.includes("utm_");
|
|
75
|
+
}, require_regex.ERROR_MESSAGE_UTM_URL)),
|
|
76
|
+
notes: valibot.optional(require_validators.VStringMax())
|
|
77
|
+
});
|
|
78
|
+
//#endregion
|
|
79
|
+
exports.SUtmLinkBuilderCampaign = SUtmLinkBuilderCampaign;
|
|
80
|
+
exports.SUtmLinkBuilderCreativeFormat = SUtmLinkBuilderCreativeFormat;
|
|
81
|
+
exports.SUtmLinkBuilderPartCampaignDateOptions = SUtmLinkBuilderPartCampaignDateOptions;
|
|
82
|
+
exports.SUtmLinkBuilderSingleForm = SUtmLinkBuilderSingleForm;
|
|
83
|
+
exports.SUtmLinkBuilderTableForm = SUtmLinkBuilderTableForm;
|
|
84
|
+
exports.UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS = UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS;
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
|
|
3
|
+
//#region src/entities/utm-link-builder/constants.d.ts
|
|
4
|
+
declare const UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS: readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"];
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/entities/utm-link-builder/mutation.d.ts
|
|
7
|
+
declare const SUtmLinkBuilderPartCampaignDateOptions: readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"];
|
|
8
|
+
type SUtmLinkBuilderPartCampaignDateValue = (typeof SUtmLinkBuilderPartCampaignDateOptions)[number];
|
|
9
|
+
declare const SUtmLinkBuilderCampaign: v.ObjectSchema<{
|
|
10
|
+
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
11
|
+
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
12
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
13
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
14
|
+
readonly campaign_date: v.ObjectSchema<{
|
|
15
|
+
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
16
|
+
readonly value: v.ObjectSchema<{
|
|
17
|
+
readonly year: v.NumberSchema<undefined>;
|
|
18
|
+
readonly quarter: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
19
|
+
readonly month: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
20
|
+
readonly day: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
}, undefined>;
|
|
23
|
+
}, undefined>;
|
|
24
|
+
type SUtmLinkBuilderCampaign = v.InferOutput<typeof SUtmLinkBuilderCampaign>;
|
|
25
|
+
declare const SUtmLinkBuilderCreativeFormat: v.ObjectSchema<{
|
|
26
|
+
readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
27
|
+
readonly creative_format_variants: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
28
|
+
readonly creative_size: v.OptionalSchema<v.ObjectSchema<{
|
|
29
|
+
readonly width: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
30
|
+
readonly height: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
31
|
+
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
32
|
+
}, undefined>, undefined>;
|
|
33
|
+
}, undefined>;
|
|
34
|
+
type SUtmLinkBuilderCreativeFormat = v.InferOutput<typeof SUtmLinkBuilderCreativeFormat>;
|
|
35
|
+
declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
36
|
+
readonly creator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
37
|
+
readonly client: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
38
|
+
readonly variants: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
39
|
+
readonly url_destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
40
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please remove any query parameters from the URL.">]>;
|
|
41
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
42
|
+
url: string;
|
|
43
|
+
}[], 1, undefined>, v.MaxLengthAction<{
|
|
44
|
+
url: string;
|
|
45
|
+
}[], 100, undefined>]>;
|
|
46
|
+
readonly source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
47
|
+
readonly mediums: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], 10, undefined>]>;
|
|
48
|
+
readonly campaign: v.ObjectSchema<{
|
|
49
|
+
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
50
|
+
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
52
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
53
|
+
readonly campaign_date: v.ObjectSchema<{
|
|
54
|
+
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
55
|
+
readonly value: v.ObjectSchema<{
|
|
56
|
+
readonly year: v.NumberSchema<undefined>;
|
|
57
|
+
readonly quarter: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
58
|
+
readonly month: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
59
|
+
readonly day: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
60
|
+
}, undefined>;
|
|
61
|
+
}, undefined>;
|
|
62
|
+
}, undefined>;
|
|
63
|
+
readonly content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
|
+
readonly creative_formats: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
65
|
+
readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
66
|
+
readonly creative_format_variants: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
67
|
+
readonly creative_size: v.OptionalSchema<v.ObjectSchema<{
|
|
68
|
+
readonly width: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
69
|
+
readonly height: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
70
|
+
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
71
|
+
}, undefined>, undefined>;
|
|
72
|
+
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
73
|
+
creative_format?: string | undefined;
|
|
74
|
+
creative_format_variants?: string[] | undefined;
|
|
75
|
+
creative_size?: {
|
|
76
|
+
width?: number | null | undefined;
|
|
77
|
+
height?: number | null | undefined;
|
|
78
|
+
key?: string | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
}[], 10, undefined>]>, undefined>;
|
|
81
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
82
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
83
|
+
url_destinations: {
|
|
84
|
+
url: string;
|
|
85
|
+
}[];
|
|
86
|
+
source: string;
|
|
87
|
+
mediums: string[];
|
|
88
|
+
campaign: {
|
|
89
|
+
campaign_phase: string;
|
|
90
|
+
campaign_product?: string | undefined;
|
|
91
|
+
campaign_targeting?: string[] | undefined;
|
|
92
|
+
campaign_key?: string | undefined;
|
|
93
|
+
campaign_date: {
|
|
94
|
+
format: "annually" | "quarterly" | "monthly" | "on a specific date" | "no date";
|
|
95
|
+
value: {
|
|
96
|
+
year: number;
|
|
97
|
+
quarter?: number | null | undefined;
|
|
98
|
+
month?: number | null | undefined;
|
|
99
|
+
day?: number | null | undefined;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
content?: string | undefined;
|
|
104
|
+
creative_formats?: {
|
|
105
|
+
creative_format?: string | undefined;
|
|
106
|
+
creative_format_variants?: string[] | undefined;
|
|
107
|
+
creative_size?: {
|
|
108
|
+
width?: number | null | undefined;
|
|
109
|
+
height?: number | null | undefined;
|
|
110
|
+
key?: string | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
}[] | undefined;
|
|
113
|
+
id?: string | undefined;
|
|
114
|
+
}[], 1, undefined>, v.MaxLengthAction<{
|
|
115
|
+
url_destinations: {
|
|
116
|
+
url: string;
|
|
117
|
+
}[];
|
|
118
|
+
source: string;
|
|
119
|
+
mediums: string[];
|
|
120
|
+
campaign: {
|
|
121
|
+
campaign_phase: string;
|
|
122
|
+
campaign_product?: string | undefined;
|
|
123
|
+
campaign_targeting?: string[] | undefined;
|
|
124
|
+
campaign_key?: string | undefined;
|
|
125
|
+
campaign_date: {
|
|
126
|
+
format: "annually" | "quarterly" | "monthly" | "on a specific date" | "no date";
|
|
127
|
+
value: {
|
|
128
|
+
year: number;
|
|
129
|
+
quarter?: number | null | undefined;
|
|
130
|
+
month?: number | null | undefined;
|
|
131
|
+
day?: number | null | undefined;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
content?: string | undefined;
|
|
136
|
+
creative_formats?: {
|
|
137
|
+
creative_format?: string | undefined;
|
|
138
|
+
creative_format_variants?: string[] | undefined;
|
|
139
|
+
creative_size?: {
|
|
140
|
+
width?: number | null | undefined;
|
|
141
|
+
height?: number | null | undefined;
|
|
142
|
+
key?: string | undefined;
|
|
143
|
+
} | undefined;
|
|
144
|
+
}[] | undefined;
|
|
145
|
+
id?: string | undefined;
|
|
146
|
+
}[], 10, undefined>]>;
|
|
147
|
+
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
148
|
+
}, undefined>;
|
|
149
|
+
type SUtmLinkBuilderTableFormIn = v.InferInput<typeof SUtmLinkBuilderTableForm>;
|
|
150
|
+
type SUtmLinkBuilderTableFormOut = v.InferOutput<typeof SUtmLinkBuilderTableForm>;
|
|
151
|
+
type SUtmLinkBuilderTableForm = v.InferOutput<typeof SUtmLinkBuilderTableForm>;
|
|
152
|
+
declare const SUtmLinkBuilderSingleForm: v.ObjectSchema<{
|
|
153
|
+
readonly creator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
154
|
+
readonly client: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
155
|
+
readonly url_destination: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please remove any query parameters from the URL.">]>;
|
|
156
|
+
readonly source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
157
|
+
readonly medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
158
|
+
readonly campaign: v.ObjectSchema<{
|
|
159
|
+
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
160
|
+
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
161
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
162
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
163
|
+
readonly campaign_date: v.ObjectSchema<{
|
|
164
|
+
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
165
|
+
readonly value: v.ObjectSchema<{
|
|
166
|
+
readonly year: v.NumberSchema<undefined>;
|
|
167
|
+
readonly quarter: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
168
|
+
readonly month: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
169
|
+
readonly day: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
170
|
+
}, undefined>;
|
|
171
|
+
}, undefined>;
|
|
172
|
+
}, undefined>;
|
|
173
|
+
readonly content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
174
|
+
readonly creative_format: v.OptionalSchema<v.ObjectSchema<{
|
|
175
|
+
readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
176
|
+
readonly creative_format_variants: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
177
|
+
readonly creative_size: v.OptionalSchema<v.ObjectSchema<{
|
|
178
|
+
readonly width: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
179
|
+
readonly height: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
180
|
+
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
181
|
+
}, undefined>, undefined>;
|
|
182
|
+
}, undefined>, undefined>;
|
|
183
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
184
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>;
|
|
185
|
+
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
186
|
+
}, undefined>;
|
|
187
|
+
type SUtmLinkBuilderSingleFormIn = v.InferInput<typeof SUtmLinkBuilderSingleForm>;
|
|
188
|
+
type SUtmLinkBuilderSingleFormOut = v.InferOutput<typeof SUtmLinkBuilderSingleForm>;
|
|
189
|
+
type SUtmLinkBuilderSingleForm = v.InferOutput<typeof SUtmLinkBuilderSingleForm>;
|
|
190
|
+
//#endregion
|
|
191
|
+
export { SUtmLinkBuilderCampaign, SUtmLinkBuilderCreativeFormat, SUtmLinkBuilderPartCampaignDateOptions, SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderSingleForm, SUtmLinkBuilderSingleFormIn, SUtmLinkBuilderSingleFormOut, SUtmLinkBuilderTableForm, SUtmLinkBuilderTableFormIn, SUtmLinkBuilderTableFormOut, UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS };
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
|
|
3
|
+
//#region src/entities/utm-link-builder/constants.d.ts
|
|
4
|
+
declare const UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS: readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"];
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/entities/utm-link-builder/mutation.d.ts
|
|
7
|
+
declare const SUtmLinkBuilderPartCampaignDateOptions: readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"];
|
|
8
|
+
type SUtmLinkBuilderPartCampaignDateValue = (typeof SUtmLinkBuilderPartCampaignDateOptions)[number];
|
|
9
|
+
declare const SUtmLinkBuilderCampaign: v.ObjectSchema<{
|
|
10
|
+
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
11
|
+
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
12
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
13
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
14
|
+
readonly campaign_date: v.ObjectSchema<{
|
|
15
|
+
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
16
|
+
readonly value: v.ObjectSchema<{
|
|
17
|
+
readonly year: v.NumberSchema<undefined>;
|
|
18
|
+
readonly quarter: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
19
|
+
readonly month: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
20
|
+
readonly day: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
}, undefined>;
|
|
23
|
+
}, undefined>;
|
|
24
|
+
type SUtmLinkBuilderCampaign = v.InferOutput<typeof SUtmLinkBuilderCampaign>;
|
|
25
|
+
declare const SUtmLinkBuilderCreativeFormat: v.ObjectSchema<{
|
|
26
|
+
readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
27
|
+
readonly creative_format_variants: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
28
|
+
readonly creative_size: v.OptionalSchema<v.ObjectSchema<{
|
|
29
|
+
readonly width: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
30
|
+
readonly height: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
31
|
+
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
32
|
+
}, undefined>, undefined>;
|
|
33
|
+
}, undefined>;
|
|
34
|
+
type SUtmLinkBuilderCreativeFormat = v.InferOutput<typeof SUtmLinkBuilderCreativeFormat>;
|
|
35
|
+
declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
36
|
+
readonly creator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
37
|
+
readonly client: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
38
|
+
readonly variants: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
39
|
+
readonly url_destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
40
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please remove any query parameters from the URL.">]>;
|
|
41
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
42
|
+
url: string;
|
|
43
|
+
}[], 1, undefined>, v.MaxLengthAction<{
|
|
44
|
+
url: string;
|
|
45
|
+
}[], 100, undefined>]>;
|
|
46
|
+
readonly source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
47
|
+
readonly mediums: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>, v.MaxLengthAction<string[], 10, undefined>]>;
|
|
48
|
+
readonly campaign: v.ObjectSchema<{
|
|
49
|
+
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
50
|
+
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
51
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
52
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
53
|
+
readonly campaign_date: v.ObjectSchema<{
|
|
54
|
+
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
55
|
+
readonly value: v.ObjectSchema<{
|
|
56
|
+
readonly year: v.NumberSchema<undefined>;
|
|
57
|
+
readonly quarter: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
58
|
+
readonly month: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
59
|
+
readonly day: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
60
|
+
}, undefined>;
|
|
61
|
+
}, undefined>;
|
|
62
|
+
}, undefined>;
|
|
63
|
+
readonly content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
64
|
+
readonly creative_formats: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
65
|
+
readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
66
|
+
readonly creative_format_variants: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
67
|
+
readonly creative_size: v.OptionalSchema<v.ObjectSchema<{
|
|
68
|
+
readonly width: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
69
|
+
readonly height: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
70
|
+
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
71
|
+
}, undefined>, undefined>;
|
|
72
|
+
}, undefined>, undefined>, v.MaxLengthAction<{
|
|
73
|
+
creative_format?: string | undefined;
|
|
74
|
+
creative_format_variants?: string[] | undefined;
|
|
75
|
+
creative_size?: {
|
|
76
|
+
width?: number | null | undefined;
|
|
77
|
+
height?: number | null | undefined;
|
|
78
|
+
key?: string | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
}[], 10, undefined>]>, undefined>;
|
|
81
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
82
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
83
|
+
url_destinations: {
|
|
84
|
+
url: string;
|
|
85
|
+
}[];
|
|
86
|
+
source: string;
|
|
87
|
+
mediums: string[];
|
|
88
|
+
campaign: {
|
|
89
|
+
campaign_phase: string;
|
|
90
|
+
campaign_product?: string | undefined;
|
|
91
|
+
campaign_targeting?: string[] | undefined;
|
|
92
|
+
campaign_key?: string | undefined;
|
|
93
|
+
campaign_date: {
|
|
94
|
+
format: "annually" | "quarterly" | "monthly" | "on a specific date" | "no date";
|
|
95
|
+
value: {
|
|
96
|
+
year: number;
|
|
97
|
+
quarter?: number | null | undefined;
|
|
98
|
+
month?: number | null | undefined;
|
|
99
|
+
day?: number | null | undefined;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
content?: string | undefined;
|
|
104
|
+
creative_formats?: {
|
|
105
|
+
creative_format?: string | undefined;
|
|
106
|
+
creative_format_variants?: string[] | undefined;
|
|
107
|
+
creative_size?: {
|
|
108
|
+
width?: number | null | undefined;
|
|
109
|
+
height?: number | null | undefined;
|
|
110
|
+
key?: string | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
}[] | undefined;
|
|
113
|
+
id?: string | undefined;
|
|
114
|
+
}[], 1, undefined>, v.MaxLengthAction<{
|
|
115
|
+
url_destinations: {
|
|
116
|
+
url: string;
|
|
117
|
+
}[];
|
|
118
|
+
source: string;
|
|
119
|
+
mediums: string[];
|
|
120
|
+
campaign: {
|
|
121
|
+
campaign_phase: string;
|
|
122
|
+
campaign_product?: string | undefined;
|
|
123
|
+
campaign_targeting?: string[] | undefined;
|
|
124
|
+
campaign_key?: string | undefined;
|
|
125
|
+
campaign_date: {
|
|
126
|
+
format: "annually" | "quarterly" | "monthly" | "on a specific date" | "no date";
|
|
127
|
+
value: {
|
|
128
|
+
year: number;
|
|
129
|
+
quarter?: number | null | undefined;
|
|
130
|
+
month?: number | null | undefined;
|
|
131
|
+
day?: number | null | undefined;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
content?: string | undefined;
|
|
136
|
+
creative_formats?: {
|
|
137
|
+
creative_format?: string | undefined;
|
|
138
|
+
creative_format_variants?: string[] | undefined;
|
|
139
|
+
creative_size?: {
|
|
140
|
+
width?: number | null | undefined;
|
|
141
|
+
height?: number | null | undefined;
|
|
142
|
+
key?: string | undefined;
|
|
143
|
+
} | undefined;
|
|
144
|
+
}[] | undefined;
|
|
145
|
+
id?: string | undefined;
|
|
146
|
+
}[], 10, undefined>]>;
|
|
147
|
+
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
148
|
+
}, undefined>;
|
|
149
|
+
type SUtmLinkBuilderTableFormIn = v.InferInput<typeof SUtmLinkBuilderTableForm>;
|
|
150
|
+
type SUtmLinkBuilderTableFormOut = v.InferOutput<typeof SUtmLinkBuilderTableForm>;
|
|
151
|
+
type SUtmLinkBuilderTableForm = v.InferOutput<typeof SUtmLinkBuilderTableForm>;
|
|
152
|
+
declare const SUtmLinkBuilderSingleForm: v.ObjectSchema<{
|
|
153
|
+
readonly creator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
154
|
+
readonly client: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
155
|
+
readonly url_destination: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please remove any query parameters from the URL.">]>;
|
|
156
|
+
readonly source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
157
|
+
readonly medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>;
|
|
158
|
+
readonly campaign: v.ObjectSchema<{
|
|
159
|
+
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
160
|
+
readonly campaign_product: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
161
|
+
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>, v.MaxLengthAction<string[], 10, undefined>]>, undefined>;
|
|
162
|
+
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>, undefined>;
|
|
163
|
+
readonly campaign_date: v.ObjectSchema<{
|
|
164
|
+
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
|
|
165
|
+
readonly value: v.ObjectSchema<{
|
|
166
|
+
readonly year: v.NumberSchema<undefined>;
|
|
167
|
+
readonly quarter: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
168
|
+
readonly month: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
169
|
+
readonly day: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
170
|
+
}, undefined>;
|
|
171
|
+
}, undefined>;
|
|
172
|
+
}, undefined>;
|
|
173
|
+
readonly content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
174
|
+
readonly creative_format: v.OptionalSchema<v.ObjectSchema<{
|
|
175
|
+
readonly creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
176
|
+
readonly creative_format_variants: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
177
|
+
readonly creative_size: v.OptionalSchema<v.ObjectSchema<{
|
|
178
|
+
readonly width: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
179
|
+
readonly height: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
180
|
+
readonly key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
181
|
+
}, undefined>, undefined>;
|
|
182
|
+
}, undefined>, undefined>;
|
|
183
|
+
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
184
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.UrlAction<string, "Please enter a valid URL.">, v.CheckAction<string, "Please enter a valid URL with UTM parameters.">]>;
|
|
185
|
+
readonly notes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
186
|
+
}, undefined>;
|
|
187
|
+
type SUtmLinkBuilderSingleFormIn = v.InferInput<typeof SUtmLinkBuilderSingleForm>;
|
|
188
|
+
type SUtmLinkBuilderSingleFormOut = v.InferOutput<typeof SUtmLinkBuilderSingleForm>;
|
|
189
|
+
type SUtmLinkBuilderSingleForm = v.InferOutput<typeof SUtmLinkBuilderSingleForm>;
|
|
190
|
+
//#endregion
|
|
191
|
+
export { SUtmLinkBuilderCampaign, SUtmLinkBuilderCreativeFormat, SUtmLinkBuilderPartCampaignDateOptions, SUtmLinkBuilderPartCampaignDateValue, SUtmLinkBuilderSingleForm, SUtmLinkBuilderSingleFormIn, SUtmLinkBuilderSingleFormOut, SUtmLinkBuilderTableForm, SUtmLinkBuilderTableFormIn, SUtmLinkBuilderTableFormOut, UTM_LINK_BUILDER_PART_CAMPAIGN_DATE_OPTIONS };
|