@getcommunity/gc-validators 0.0.314 → 0.0.316
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/dist/{document-B_JGbkcH.d.cts → document-C-RK2Wbi.d.cts} +7 -0
- package/dist/{document-DbnM5Khf.d.mts → document-DBmD9tc4.d.mts} +7 -0
- package/dist/{document-D8Nnj9L6.cjs → document-FGqG8-Od.cjs} +1 -0
- package/dist/{document-43-CDmk9.mjs → document-KS79ROEU.mjs} +1 -0
- package/dist/entities/client/document.cjs +1 -1
- package/dist/entities/client/document.d.cts +1 -1
- package/dist/entities/client/document.d.mts +1 -1
- package/dist/entities/client/document.mjs +1 -1
- package/dist/entities/client-content-pillar/document.cjs +1 -1
- package/dist/entities/client-content-pillar/document.d.cts +1 -1
- package/dist/entities/client-content-pillar/document.d.mts +1 -1
- package/dist/entities/client-content-pillar/document.mjs +1 -1
- package/dist/entities/client-email/document.cjs +1 -1
- package/dist/entities/client-email/document.d.cts +1 -1
- package/dist/entities/client-email/document.d.mts +1 -1
- package/dist/entities/client-email/document.mjs +1 -1
- package/dist/entities/client-media-platform/document.cjs +1 -1
- package/dist/entities/client-media-platform/document.d.cts +1 -1
- package/dist/entities/client-media-platform/document.d.mts +1 -1
- package/dist/entities/client-media-platform/document.mjs +1 -1
- package/dist/entities/client-media-platform/mutation.cjs +2 -0
- package/dist/entities/client-media-platform/mutation.d.cts +3 -0
- package/dist/entities/client-media-platform/mutation.d.mts +3 -0
- package/dist/entities/client-media-platform/mutation.mjs +2 -0
- package/dist/entities/client-media-platform/query.cjs +1 -1
- package/dist/entities/client-media-platform/query.d.cts +1 -1
- package/dist/entities/client-media-platform/query.d.mts +1 -1
- package/dist/entities/client-media-platform/query.mjs +1 -1
- package/dist/entities/client-project/document.cjs +1 -1
- package/dist/entities/client-project/document.d.cts +1 -1
- package/dist/entities/client-project/document.d.mts +1 -1
- package/dist/entities/client-project/document.mjs +1 -1
- package/dist/entities/client-report/document.cjs +1 -1
- package/dist/entities/client-report/document.d.cts +1 -1
- package/dist/entities/client-report/document.d.mts +1 -1
- package/dist/entities/client-report/document.mjs +1 -1
- package/dist/entities/client-styleguide/document.cjs +1 -1
- package/dist/entities/client-styleguide/document.d.cts +1 -1
- package/dist/entities/client-styleguide/document.d.mts +1 -1
- package/dist/entities/client-styleguide/document.mjs +1 -1
- package/dist/entities/client-user/document.cjs +1 -1
- package/dist/entities/client-user/document.d.cts +1 -1
- package/dist/entities/client-user/document.d.mts +1 -1
- package/dist/entities/client-user/document.mjs +1 -1
- package/dist/entities/content-pillar/document.cjs +1 -1
- package/dist/entities/content-pillar/document.d.cts +1 -1
- package/dist/entities/content-pillar/document.d.mts +1 -1
- package/dist/entities/content-pillar/document.mjs +1 -1
- package/dist/entities/gcflytour/document.cjs +1 -1
- package/dist/entities/gcflytour/document.d.cts +1 -1
- package/dist/entities/gcflytour/document.d.mts +1 -1
- package/dist/entities/gcflytour/document.mjs +1 -1
- package/dist/entities/gcflytour-snap/document.cjs +1 -1
- package/dist/entities/gcflytour-snap/document.d.cts +1 -1
- package/dist/entities/gcflytour-snap/document.d.mts +1 -1
- package/dist/entities/gcflytour-snap/document.mjs +1 -1
- package/dist/entities/media-content-type/document.cjs +1 -1
- package/dist/entities/media-content-type/document.d.cts +1 -1
- package/dist/entities/media-content-type/document.d.mts +1 -1
- package/dist/entities/media-content-type/document.mjs +1 -1
- package/dist/entities/media-content-type/query.cjs +1 -1
- package/dist/entities/media-content-type/query.d.cts +1 -1
- package/dist/entities/media-content-type/query.d.mts +1 -1
- package/dist/entities/media-content-type/query.mjs +1 -1
- package/dist/entities/media-creative-format/document.cjs +1 -1
- package/dist/entities/media-creative-format/document.d.cts +1 -1
- package/dist/entities/media-creative-format/document.d.mts +1 -1
- package/dist/entities/media-creative-format/document.mjs +1 -1
- package/dist/entities/media-creative-format/query.cjs +1 -1
- package/dist/entities/media-creative-format/query.d.cts +1 -1
- package/dist/entities/media-creative-format/query.d.mts +1 -1
- package/dist/entities/media-creative-format/query.mjs +1 -1
- package/dist/entities/media-medium/document.cjs +1 -1
- package/dist/entities/media-medium/document.d.cts +1 -1
- package/dist/entities/media-medium/document.d.mts +1 -1
- package/dist/entities/media-medium/document.mjs +1 -1
- package/dist/entities/media-medium/query.cjs +1 -1
- package/dist/entities/media-medium/query.d.cts +1 -1
- package/dist/entities/media-medium/query.d.mts +1 -1
- package/dist/entities/media-medium/query.mjs +1 -1
- package/dist/entities/media-platform/document.cjs +1 -1
- package/dist/entities/media-platform/document.d.cts +1 -1
- package/dist/entities/media-platform/document.d.mts +1 -1
- package/dist/entities/media-platform/document.mjs +1 -1
- package/dist/entities/media-platform/query.cjs +1 -1
- package/dist/entities/media-platform/query.d.cts +1 -1
- package/dist/entities/media-platform/query.d.mts +1 -1
- package/dist/entities/media-platform/query.mjs +1 -1
- package/dist/entities/monday-workspace/document.cjs +1 -1
- package/dist/entities/monday-workspace/document.d.cts +1 -1
- package/dist/entities/monday-workspace/document.d.mts +1 -1
- package/dist/entities/monday-workspace/document.mjs +1 -1
- package/dist/entities/product-highlight/document.cjs +1 -1
- package/dist/entities/product-highlight/document.d.cts +1 -1
- package/dist/entities/product-highlight/document.d.mts +1 -1
- package/dist/entities/product-highlight/document.mjs +1 -1
- package/dist/entities/up-auth/mutation.d.cts +1 -1
- package/dist/entities/up-auth/mutation.d.mts +1 -1
- package/dist/entities/up-permission/document.cjs +1 -1
- package/dist/entities/up-permission/document.d.cts +1 -1
- package/dist/entities/up-permission/document.d.mts +1 -1
- package/dist/entities/up-permission/document.mjs +1 -1
- package/dist/entities/up-role/document.cjs +1 -1
- package/dist/entities/up-role/document.d.cts +1 -1
- package/dist/entities/up-role/document.d.mts +1 -1
- package/dist/entities/up-role/document.mjs +1 -1
- package/dist/entities/up-user/document.cjs +1 -1
- package/dist/entities/up-user/document.d.cts +1 -1
- package/dist/entities/up-user/document.d.mts +1 -1
- package/dist/entities/up-user/document.mjs +1 -1
- package/dist/entities/user-account/document.cjs +1 -1
- package/dist/entities/user-account/document.d.cts +1 -1
- package/dist/entities/user-account/document.d.mts +1 -1
- package/dist/entities/user-account/document.mjs +1 -1
- package/dist/entities/utm-tracking-link/document.cjs +1 -1
- package/dist/entities/utm-tracking-link/document.d.cts +1 -1
- package/dist/entities/utm-tracking-link/document.d.mts +1 -1
- package/dist/entities/utm-tracking-link/document.mjs +1 -1
- package/dist/entities/utm-tracking-link/mutation.cjs +22 -37
- package/dist/entities/utm-tracking-link/mutation.d.cts +47 -47
- package/dist/entities/utm-tracking-link/mutation.d.mts +47 -47
- package/dist/entities/utm-tracking-link/mutation.mjs +23 -38
- package/dist/entities/utm-tracking-link/query.cjs +12 -12
- package/dist/entities/utm-tracking-link/query.d.cts +13 -13
- package/dist/entities/utm-tracking-link/query.d.mts +13 -13
- package/dist/entities/utm-tracking-link/query.mjs +13 -13
- package/dist/permissions/index.d.cts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/{query-LuXoJjJP.mjs → query-Buzl4N16.mjs} +1 -0
- package/dist/{query-t4tBgysb.cjs → query-CG4Q_VZY.cjs} +1 -0
- package/dist/{query-C7BERTkU.d.cts → query-DjNA1f8B.d.cts} +1 -0
- package/dist/{query-UyM6EJQx.d.mts → query-Dyx9jB3q.d.mts} +1 -0
- package/dist/utilities/index.d.cts +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/utm-tracking-link/mutation.d.ts
|
|
4
|
-
declare const
|
|
4
|
+
declare const CreateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
5
5
|
readonly creator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
6
6
|
readonly client: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
7
7
|
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.">]>;
|
|
@@ -13,44 +13,42 @@ declare const CreateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
|
13
13
|
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
14
14
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
15
15
|
readonly campaign_product: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
16
|
-
readonly campaign_targeting: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.
|
|
16
|
+
readonly campaign_targeting: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
17
17
|
readonly campaign_key: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
18
18
|
readonly creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
19
|
-
readonly creative_format_variants: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.
|
|
19
|
+
readonly creative_format_variants: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
20
20
|
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.">]>;
|
|
21
21
|
readonly is_active: v.BooleanSchema<undefined>;
|
|
22
22
|
readonly notes: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, undefined>]>, undefined>, undefined>;
|
|
23
23
|
}, undefined>;
|
|
24
|
-
type
|
|
25
|
-
declare const
|
|
26
|
-
readonly creator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
27
|
-
readonly client: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
24
|
+
type CreateUtmTrackingLinkDocumentRequest = v.InferOutput<typeof CreateUtmTrackingLinkDocumentRequest>;
|
|
25
|
+
declare const CreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
28
26
|
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.">]>;
|
|
29
27
|
readonly utm_source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
30
28
|
readonly utm_medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
31
29
|
readonly utm_campaign: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
32
|
-
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
33
|
-
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
34
|
-
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
30
|
+
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
31
|
+
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
32
|
+
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
35
33
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
36
34
|
readonly campaign_product: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
37
|
-
readonly campaign_targeting: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
35
|
+
readonly campaign_targeting: v.OptionalSchema<v.NullableSchema<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.TransformAction<string[], string>]>, undefined>, undefined>;
|
|
38
36
|
readonly campaign_key: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
39
37
|
readonly creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
40
|
-
readonly creative_format_variants: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
38
|
+
readonly creative_format_variants: v.OptionalSchema<v.NullableSchema<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.TransformAction<string[], string>]>, undefined>, undefined>;
|
|
41
39
|
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.">]>;
|
|
42
40
|
readonly is_active: v.BooleanSchema<undefined>;
|
|
43
41
|
readonly notes: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, undefined>]>, undefined>, undefined>;
|
|
44
42
|
}, undefined>;
|
|
45
|
-
type
|
|
46
|
-
declare const
|
|
43
|
+
type CreateUtmTrackingLinkParts = v.InferOutput<typeof CreateUtmTrackingLinkParts>;
|
|
44
|
+
declare const CreateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
47
45
|
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.">]>;
|
|
48
46
|
readonly utm_source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
49
47
|
readonly utm_medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
50
48
|
readonly utm_campaign: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
51
|
-
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
52
|
-
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
53
|
-
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
49
|
+
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
50
|
+
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
51
|
+
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
54
52
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
55
53
|
readonly campaign_product: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
56
54
|
readonly campaign_targeting: v.OptionalSchema<v.NullableSchema<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.TransformAction<string[], string>]>, undefined>, undefined>;
|
|
@@ -60,8 +58,10 @@ declare const CreateUtmTrackingLinkParts: v.ObjectSchema<{
|
|
|
60
58
|
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.">]>;
|
|
61
59
|
readonly is_active: v.BooleanSchema<undefined>;
|
|
62
60
|
readonly notes: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, undefined>]>, undefined>, undefined>;
|
|
61
|
+
readonly creator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
62
|
+
readonly client: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
63
63
|
}, undefined>;
|
|
64
|
-
type
|
|
64
|
+
type CreateUtmTrackingLinkDocument = v.InferOutput<typeof CreateUtmTrackingLinkDocument>;
|
|
65
65
|
declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
66
66
|
readonly creator: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
67
67
|
readonly client: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -70,9 +70,9 @@ declare const SFormCreateMultipleUtmTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
70
70
|
readonly utm_source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
71
71
|
readonly utm_medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
72
72
|
readonly utm_campaign: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
73
|
-
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
74
|
-
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
75
|
-
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
73
|
+
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
74
|
+
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
75
|
+
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
76
76
|
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
77
77
|
readonly campaign_product: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
78
78
|
readonly campaign_targeting: v.OptionalSchema<v.NullableSchema<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.TransformAction<string[], string>]>, undefined>, undefined>;
|
|
@@ -126,21 +126,21 @@ type SReadUtmTrackingLinkDocumentByUrl = v.InferOutput<typeof SReadUtmTrackingLi
|
|
|
126
126
|
declare const UpdateUtmTrackingLinkDocument: v.ObjectSchema<{
|
|
127
127
|
readonly creator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
128
128
|
readonly client: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
129
|
-
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.">]>;
|
|
130
|
-
readonly utm_source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
131
|
-
readonly utm_medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
132
|
-
readonly utm_campaign: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
133
|
-
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
134
|
-
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
135
|
-
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
136
|
-
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
137
|
-
readonly campaign_product: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
138
|
-
readonly campaign_targeting: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.
|
|
129
|
+
readonly url_destination: v.OptionalSchema<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.">]>, undefined>;
|
|
130
|
+
readonly utm_source: 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>;
|
|
131
|
+
readonly utm_medium: 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>;
|
|
132
|
+
readonly utm_campaign: 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>;
|
|
133
|
+
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
134
|
+
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
135
|
+
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
136
|
+
readonly campaign_phase: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
137
|
+
readonly campaign_product: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
138
|
+
readonly campaign_targeting: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
139
139
|
readonly campaign_key: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
140
140
|
readonly creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
141
|
-
readonly creative_format_variants: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.
|
|
142
|
-
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.">]>;
|
|
143
|
-
readonly is_active: v.BooleanSchema<undefined>;
|
|
141
|
+
readonly creative_format_variants: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
142
|
+
readonly url: v.OptionalSchema<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.">]>, undefined>;
|
|
143
|
+
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
144
144
|
readonly notes: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, undefined>]>, undefined>, undefined>;
|
|
145
145
|
}, undefined>;
|
|
146
146
|
type UpdateUtmTrackingLinkDocument = v.InferOutput<typeof UpdateUtmTrackingLinkDocument>;
|
|
@@ -149,21 +149,21 @@ declare const UpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
149
149
|
readonly data: v.ObjectSchema<{
|
|
150
150
|
readonly creator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
151
151
|
readonly client: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
152
|
-
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.">]>;
|
|
153
|
-
readonly utm_source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
154
|
-
readonly utm_medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
155
|
-
readonly utm_campaign: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>, v.RegexAction<string, string>]>;
|
|
156
|
-
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
157
|
-
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
158
|
-
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
159
|
-
readonly campaign_phase: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
160
|
-
readonly campaign_product: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.
|
|
161
|
-
readonly campaign_targeting: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.
|
|
152
|
+
readonly url_destination: v.OptionalSchema<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.">]>, undefined>;
|
|
153
|
+
readonly utm_source: 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>;
|
|
154
|
+
readonly utm_medium: 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>;
|
|
155
|
+
readonly utm_campaign: 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>;
|
|
156
|
+
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
157
|
+
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
158
|
+
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
159
|
+
readonly campaign_phase: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
160
|
+
readonly campaign_product: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
161
|
+
readonly campaign_targeting: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
162
162
|
readonly campaign_key: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
163
163
|
readonly creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
164
|
-
readonly creative_format_variants: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.
|
|
165
|
-
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.">]>;
|
|
166
|
-
readonly is_active: v.BooleanSchema<undefined>;
|
|
164
|
+
readonly creative_format_variants: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
165
|
+
readonly url: v.OptionalSchema<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.">]>, undefined>;
|
|
166
|
+
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
167
167
|
readonly notes: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, undefined>]>, undefined>, undefined>;
|
|
168
168
|
}, undefined>;
|
|
169
169
|
}, undefined>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { o as AssociateOneEntity } from "../../relationships-CrME6xzN.mjs";
|
|
2
2
|
import "../../limits-Dlni_x0-.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { c as VStringShortNullable, l as VStringShortToCSV, r as VStringLongNullable, s as VStringShort } from "../../string-v2gu3xz0.mjs";
|
|
4
4
|
import { n as VStringUrlUtm, t as VStringUrlNoUtm } from "../../utm-Bt8jPpRI.mjs";
|
|
5
5
|
import { ValidUtmCampaign, ValidUtmMedium, ValidUtmSource } from "./fields.mjs";
|
|
6
6
|
import * as v from "valibot";
|
|
7
7
|
//#region src/entities/utm-tracking-link/mutation.ts
|
|
8
|
-
const
|
|
8
|
+
const CreateUtmTrackingLinkDocumentRequest = v.object({
|
|
9
9
|
creator: VStringShort(),
|
|
10
10
|
client: VStringShort(),
|
|
11
11
|
url_destination: VStringUrlNoUtm(),
|
|
@@ -17,26 +17,6 @@ const CreateUtmTrackingLinkDocument = v.object({
|
|
|
17
17
|
utm_id: VStringShortNullable(),
|
|
18
18
|
campaign_phase: VStringShort(),
|
|
19
19
|
campaign_product: VStringShortNullable(),
|
|
20
|
-
campaign_targeting: v.optional(v.nullable(VStringShortToCSV())),
|
|
21
|
-
campaign_key: VStringShortNullable(),
|
|
22
|
-
creative_format: VStringShortNullable(),
|
|
23
|
-
creative_format_variants: v.optional(v.nullable(VStringShortToCSV())),
|
|
24
|
-
url: VStringUrlUtm(),
|
|
25
|
-
is_active: v.boolean(),
|
|
26
|
-
notes: VStringLongNullable()
|
|
27
|
-
});
|
|
28
|
-
const CreateUtmTrackingLinkDocumentRequest = v.object({
|
|
29
|
-
creator: VStringShort(),
|
|
30
|
-
client: VStringShort(),
|
|
31
|
-
url_destination: VStringUrlNoUtm(),
|
|
32
|
-
utm_source: ValidUtmSource,
|
|
33
|
-
utm_medium: ValidUtmMedium,
|
|
34
|
-
utm_campaign: ValidUtmCampaign,
|
|
35
|
-
utm_content: v.optional(v.nullable(VStringMinMax())),
|
|
36
|
-
utm_creative_format: v.optional(v.nullable(VStringMinMax())),
|
|
37
|
-
utm_id: v.optional(v.nullable(VStringMinMax())),
|
|
38
|
-
campaign_phase: VStringShort(),
|
|
39
|
-
campaign_product: VStringShortNullable(),
|
|
40
20
|
campaign_targeting: VStringShortNullable(),
|
|
41
21
|
campaign_key: VStringShortNullable(),
|
|
42
22
|
creative_format: VStringShortNullable(),
|
|
@@ -50,9 +30,9 @@ const CreateUtmTrackingLinkParts = v.object({
|
|
|
50
30
|
utm_source: ValidUtmSource,
|
|
51
31
|
utm_medium: ValidUtmMedium,
|
|
52
32
|
utm_campaign: ValidUtmCampaign,
|
|
53
|
-
utm_content:
|
|
54
|
-
utm_creative_format:
|
|
55
|
-
utm_id:
|
|
33
|
+
utm_content: VStringShortNullable(),
|
|
34
|
+
utm_creative_format: VStringShortNullable(),
|
|
35
|
+
utm_id: VStringShortNullable(),
|
|
56
36
|
campaign_phase: VStringShort(),
|
|
57
37
|
campaign_product: VStringShortNullable(),
|
|
58
38
|
campaign_targeting: v.optional(v.nullable(VStringShortToCSV())),
|
|
@@ -63,6 +43,11 @@ const CreateUtmTrackingLinkParts = v.object({
|
|
|
63
43
|
is_active: v.boolean(),
|
|
64
44
|
notes: VStringLongNullable()
|
|
65
45
|
});
|
|
46
|
+
const CreateUtmTrackingLinkDocument = v.object({
|
|
47
|
+
creator: VStringShort(),
|
|
48
|
+
client: VStringShort(),
|
|
49
|
+
...CreateUtmTrackingLinkParts.entries
|
|
50
|
+
});
|
|
66
51
|
const SFormCreateMultipleUtmTrackingLinkDocuments = v.object({
|
|
67
52
|
creator: VStringShort(),
|
|
68
53
|
client: VStringShort(),
|
|
@@ -72,21 +57,21 @@ const SReadUtmTrackingLinkDocumentByUrl = v.object({ url: VStringUrlUtm() });
|
|
|
72
57
|
const UpdateUtmTrackingLinkDocument = v.object({
|
|
73
58
|
creator: v.optional(VStringShort()),
|
|
74
59
|
client: v.optional(VStringShort()),
|
|
75
|
-
url_destination: VStringUrlNoUtm(),
|
|
76
|
-
utm_source: ValidUtmSource,
|
|
77
|
-
utm_medium: ValidUtmMedium,
|
|
78
|
-
utm_campaign: ValidUtmCampaign,
|
|
79
|
-
utm_content:
|
|
80
|
-
utm_creative_format:
|
|
81
|
-
utm_id:
|
|
82
|
-
campaign_phase: VStringShort(),
|
|
83
|
-
campaign_product:
|
|
84
|
-
campaign_targeting:
|
|
60
|
+
url_destination: v.optional(VStringUrlNoUtm()),
|
|
61
|
+
utm_source: v.optional(ValidUtmSource),
|
|
62
|
+
utm_medium: v.optional(ValidUtmMedium),
|
|
63
|
+
utm_campaign: v.optional(ValidUtmCampaign),
|
|
64
|
+
utm_content: VStringShortNullable(),
|
|
65
|
+
utm_creative_format: VStringShortNullable(),
|
|
66
|
+
utm_id: VStringShortNullable(),
|
|
67
|
+
campaign_phase: v.optional(VStringShort()),
|
|
68
|
+
campaign_product: VStringShortNullable(),
|
|
69
|
+
campaign_targeting: VStringShortNullable(),
|
|
85
70
|
campaign_key: VStringShortNullable(),
|
|
86
71
|
creative_format: VStringShortNullable(),
|
|
87
|
-
creative_format_variants:
|
|
88
|
-
url: VStringUrlUtm(),
|
|
89
|
-
is_active: v.boolean(),
|
|
72
|
+
creative_format_variants: VStringShortNullable(),
|
|
73
|
+
url: v.optional(VStringUrlUtm()),
|
|
74
|
+
is_active: v.optional(v.boolean()),
|
|
90
75
|
notes: VStringLongNullable()
|
|
91
76
|
});
|
|
92
77
|
const UpdateUtmTrackingLinkDocumentRequest = v.object({
|
|
@@ -16,18 +16,18 @@ const FilterStrapiUtmTrackingLinks = require_identifier.createStrapiFilterSchema
|
|
|
16
16
|
createdAt: require_identifier.DateTimeFilter,
|
|
17
17
|
updatedAt: require_identifier.DateTimeFilter,
|
|
18
18
|
url_destination: require_string.LongStringFilter,
|
|
19
|
-
utm_medium: require_string.
|
|
20
|
-
utm_source: require_string.
|
|
21
|
-
utm_campaign: require_string.
|
|
22
|
-
utm_content: require_string.
|
|
23
|
-
utm_creative_format: require_string.
|
|
24
|
-
utm_id: require_string.
|
|
25
|
-
campaign_phase: require_string.
|
|
26
|
-
campaign_product: require_string.
|
|
27
|
-
campaign_targeting: require_string.
|
|
28
|
-
campaign_key: require_string.
|
|
29
|
-
creative_format: require_string.
|
|
30
|
-
creative_format_variants: require_string.
|
|
19
|
+
utm_medium: require_string.StringFilter,
|
|
20
|
+
utm_source: require_string.StringFilter,
|
|
21
|
+
utm_campaign: require_string.StringFilter,
|
|
22
|
+
utm_content: require_string.StringFilter,
|
|
23
|
+
utm_creative_format: require_string.StringFilter,
|
|
24
|
+
utm_id: require_string.StringFilter,
|
|
25
|
+
campaign_phase: require_string.StringFilter,
|
|
26
|
+
campaign_product: require_string.StringFilter,
|
|
27
|
+
campaign_targeting: require_string.StringFilter,
|
|
28
|
+
campaign_key: require_string.StringFilter,
|
|
29
|
+
creative_format: require_string.StringFilter,
|
|
30
|
+
creative_format_variants: require_string.StringFilter,
|
|
31
31
|
url: require_string.LongStringFilter,
|
|
32
32
|
is_active: require_boolean.BooleanFilter,
|
|
33
33
|
notes: require_string.LongStringFilter,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as DateTimeFilter, ct as StrapiLogicalFilter, d as DocumentIdFilter, lt as StrapiLogicalFilterBaseSchema, m as IdFilter, n as LongStringFilter, w as BooleanFilter } from "../../index-1zo9b4qN.cjs";
|
|
1
|
+
import { b as DateTimeFilter, ct as StrapiLogicalFilter, d as DocumentIdFilter, lt as StrapiLogicalFilterBaseSchema, m as IdFilter, n as LongStringFilter, r as StringFilter, w as BooleanFilter } from "../../index-1zo9b4qN.cjs";
|
|
2
2
|
import { n as FilterStrapiClients } from "../../query-BvDWAvDY.cjs";
|
|
3
3
|
import { r as FilterStrapiUsers } from "../../query-DFwx5BQ2.cjs";
|
|
4
4
|
import * as v from "valibot";
|
|
@@ -10,18 +10,18 @@ type FilterStrapiUtmTrackingLinksFields = {
|
|
|
10
10
|
createdAt?: DateTimeFilter;
|
|
11
11
|
updatedAt?: DateTimeFilter;
|
|
12
12
|
url_destination?: LongStringFilter;
|
|
13
|
-
utm_medium?:
|
|
14
|
-
utm_source?:
|
|
15
|
-
utm_campaign?:
|
|
16
|
-
utm_content?:
|
|
17
|
-
utm_creative_format?:
|
|
18
|
-
utm_id?:
|
|
19
|
-
campaign_phase?:
|
|
20
|
-
campaign_product?:
|
|
21
|
-
campaign_targeting?:
|
|
22
|
-
campaign_key?:
|
|
23
|
-
creative_format?:
|
|
24
|
-
creative_format_variants?:
|
|
13
|
+
utm_medium?: StringFilter;
|
|
14
|
+
utm_source?: StringFilter;
|
|
15
|
+
utm_campaign?: StringFilter;
|
|
16
|
+
utm_content?: StringFilter;
|
|
17
|
+
utm_creative_format?: StringFilter;
|
|
18
|
+
utm_id?: StringFilter;
|
|
19
|
+
campaign_phase?: StringFilter;
|
|
20
|
+
campaign_product?: StringFilter;
|
|
21
|
+
campaign_targeting?: StringFilter;
|
|
22
|
+
campaign_key?: StringFilter;
|
|
23
|
+
creative_format?: StringFilter;
|
|
24
|
+
creative_format_variants?: StringFilter;
|
|
25
25
|
url?: LongStringFilter;
|
|
26
26
|
is_active?: BooleanFilter;
|
|
27
27
|
notes?: LongStringFilter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as DateTimeFilter, ct as StrapiLogicalFilter, d as DocumentIdFilter, lt as StrapiLogicalFilterBaseSchema, m as IdFilter, n as LongStringFilter, w as BooleanFilter } from "../../index-1zo9b4qN.mjs";
|
|
1
|
+
import { b as DateTimeFilter, ct as StrapiLogicalFilter, d as DocumentIdFilter, lt as StrapiLogicalFilterBaseSchema, m as IdFilter, n as LongStringFilter, r as StringFilter, w as BooleanFilter } from "../../index-1zo9b4qN.mjs";
|
|
2
2
|
import { n as FilterStrapiClients } from "../../query-Ccozye5k.mjs";
|
|
3
3
|
import { r as FilterStrapiUsers } from "../../query-DAs-KdEd.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
@@ -10,18 +10,18 @@ type FilterStrapiUtmTrackingLinksFields = {
|
|
|
10
10
|
createdAt?: DateTimeFilter;
|
|
11
11
|
updatedAt?: DateTimeFilter;
|
|
12
12
|
url_destination?: LongStringFilter;
|
|
13
|
-
utm_medium?:
|
|
14
|
-
utm_source?:
|
|
15
|
-
utm_campaign?:
|
|
16
|
-
utm_content?:
|
|
17
|
-
utm_creative_format?:
|
|
18
|
-
utm_id?:
|
|
19
|
-
campaign_phase?:
|
|
20
|
-
campaign_product?:
|
|
21
|
-
campaign_targeting?:
|
|
22
|
-
campaign_key?:
|
|
23
|
-
creative_format?:
|
|
24
|
-
creative_format_variants?:
|
|
13
|
+
utm_medium?: StringFilter;
|
|
14
|
+
utm_source?: StringFilter;
|
|
15
|
+
utm_campaign?: StringFilter;
|
|
16
|
+
utm_content?: StringFilter;
|
|
17
|
+
utm_creative_format?: StringFilter;
|
|
18
|
+
utm_id?: StringFilter;
|
|
19
|
+
campaign_phase?: StringFilter;
|
|
20
|
+
campaign_product?: StringFilter;
|
|
21
|
+
campaign_targeting?: StringFilter;
|
|
22
|
+
campaign_key?: StringFilter;
|
|
23
|
+
creative_format?: StringFilter;
|
|
24
|
+
creative_format_variants?: StringFilter;
|
|
25
25
|
url?: LongStringFilter;
|
|
26
26
|
is_active?: BooleanFilter;
|
|
27
27
|
notes?: LongStringFilter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as DateTimeFilter, i as IdFilter, t as DocumentIdFilter, w as createStrapiFilterSchema } from "../../identifier-l1REfTlS.mjs";
|
|
2
|
-
import { n as LongStringFilter } from "../../string-qQtwSDwR.mjs";
|
|
2
|
+
import { n as LongStringFilter, r as StringFilter } from "../../string-qQtwSDwR.mjs";
|
|
3
3
|
import { t as BooleanFilter } from "../../boolean-DIktsFVD.mjs";
|
|
4
4
|
import { n as VSize, t as VPage } from "../../pagination-CK-mJT5q.mjs";
|
|
5
5
|
import { t as QuerySortValues } from "../../sort-FYsWXlaD.mjs";
|
|
@@ -13,18 +13,18 @@ const FilterStrapiUtmTrackingLinks = createStrapiFilterSchema({
|
|
|
13
13
|
createdAt: DateTimeFilter,
|
|
14
14
|
updatedAt: DateTimeFilter,
|
|
15
15
|
url_destination: LongStringFilter,
|
|
16
|
-
utm_medium:
|
|
17
|
-
utm_source:
|
|
18
|
-
utm_campaign:
|
|
19
|
-
utm_content:
|
|
20
|
-
utm_creative_format:
|
|
21
|
-
utm_id:
|
|
22
|
-
campaign_phase:
|
|
23
|
-
campaign_product:
|
|
24
|
-
campaign_targeting:
|
|
25
|
-
campaign_key:
|
|
26
|
-
creative_format:
|
|
27
|
-
creative_format_variants:
|
|
16
|
+
utm_medium: StringFilter,
|
|
17
|
+
utm_source: StringFilter,
|
|
18
|
+
utm_campaign: StringFilter,
|
|
19
|
+
utm_content: StringFilter,
|
|
20
|
+
utm_creative_format: StringFilter,
|
|
21
|
+
utm_id: StringFilter,
|
|
22
|
+
campaign_phase: StringFilter,
|
|
23
|
+
campaign_product: StringFilter,
|
|
24
|
+
campaign_targeting: StringFilter,
|
|
25
|
+
campaign_key: StringFilter,
|
|
26
|
+
creative_format: StringFilter,
|
|
27
|
+
creative_format_variants: StringFilter,
|
|
28
28
|
url: LongStringFilter,
|
|
29
29
|
is_active: BooleanFilter,
|
|
30
30
|
notes: LongStringFilter,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-
|
|
1
|
+
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-C-RK2Wbi.cjs";
|
|
2
2
|
import { a as CLIENT_ENTITY_SCOPES, c as ClientEntityScope, i as CLIENT_ENTITY_PERMISSIONS, o as ClientEntityActions, r as CLIENT_ENTITY_KEYS, s as ClientEntityKey } from "../fields-CcH10Ybe.cjs";
|
|
3
3
|
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-
|
|
1
|
+
import { a as LCRUDActions, c as PermissionsEntity, l as RolesWithPermissions, o as Permissions, s as PermissionsAction, u as ROLE_PERMISSIONS } from "../document-DBmD9tc4.mjs";
|
|
2
2
|
import { a as CLIENT_ENTITY_SCOPES, c as ClientEntityScope, i as CLIENT_ENTITY_PERMISSIONS, o as ClientEntityActions, r as CLIENT_ENTITY_KEYS, s as ClientEntityKey } from "../fields-CcH10Ybe.mjs";
|
|
3
3
|
export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ClientEntityActions, ClientEntityKey, ClientEntityScope, LCRUDActions, Permissions, PermissionsAction, PermissionsEntity, ROLE_PERMISSIONS, RolesWithPermissions };
|
|
@@ -95,6 +95,7 @@ const FilterStrapiClientMediaPlatforms = createStrapiFilterSchema({
|
|
|
95
95
|
documentId: DocumentIdFilter,
|
|
96
96
|
createdAt: DateTimeFilter,
|
|
97
97
|
updatedAt: DateTimeFilter,
|
|
98
|
+
title: StringFilter,
|
|
98
99
|
url: LongStringFilter,
|
|
99
100
|
is_active: BooleanFilter,
|
|
100
101
|
client: v.optional(v.lazy(() => FilterStrapiClients)),
|
|
@@ -97,6 +97,7 @@ const FilterStrapiClientMediaPlatforms = require_identifier.createStrapiFilterSc
|
|
|
97
97
|
documentId: require_identifier.DocumentIdFilter,
|
|
98
98
|
createdAt: require_identifier.DateTimeFilter,
|
|
99
99
|
updatedAt: require_identifier.DateTimeFilter,
|
|
100
|
+
title: require_string.StringFilter,
|
|
100
101
|
url: require_string.LongStringFilter,
|
|
101
102
|
is_active: require_boolean.BooleanFilter,
|
|
102
103
|
client: valibot.optional(valibot.lazy(() => require_entities_client_query.FilterStrapiClients)),
|
|
@@ -104,6 +104,7 @@ type FilterStrapiClientMediaPlatformsFields = {
|
|
|
104
104
|
documentId?: DocumentIdFilter;
|
|
105
105
|
createdAt?: DateTimeFilter;
|
|
106
106
|
updatedAt?: DateTimeFilter;
|
|
107
|
+
title?: StringFilter;
|
|
107
108
|
url?: LongStringFilter;
|
|
108
109
|
is_active?: BooleanFilter;
|
|
109
110
|
client?: FilterStrapiClients;
|
|
@@ -104,6 +104,7 @@ type FilterStrapiClientMediaPlatformsFields = {
|
|
|
104
104
|
documentId?: DocumentIdFilter;
|
|
105
105
|
createdAt?: DateTimeFilter;
|
|
106
106
|
updatedAt?: DateTimeFilter;
|
|
107
|
+
title?: StringFilter;
|
|
107
108
|
url?: LongStringFilter;
|
|
108
109
|
is_active?: BooleanFilter;
|
|
109
110
|
client?: FilterStrapiClients;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-Ccm4ecB_.cjs";
|
|
2
|
-
import { g as AuthorizedUserDocument, i as ClientUserDocumentStatus, o as Permissions } from "../document-
|
|
2
|
+
import { g as AuthorizedUserDocument, i as ClientUserDocumentStatus, o as Permissions } from "../document-C-RK2Wbi.cjs";
|
|
3
3
|
import { t as RoleType } from "../fields-DNmK-PPG.cjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as StrapiAttributeErrorResponse, k as StrapiErrorResponse } from "../index-TcqsCkm_.mjs";
|
|
2
|
-
import { g as AuthorizedUserDocument, i as ClientUserDocumentStatus, o as Permissions } from "../document-
|
|
2
|
+
import { g as AuthorizedUserDocument, i as ClientUserDocumentStatus, o as Permissions } from "../document-DBmD9tc4.mjs";
|
|
3
3
|
import { t as RoleType } from "../fields-DNmK-PPG.mjs";
|
|
4
4
|
import * as v from "valibot";
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getcommunity/gc-validators",
|
|
3
3
|
"description": "Schema Validator for GetCommunity web-stack types",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.316",
|
|
5
5
|
"author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"type": "module",
|