@getcommunity/gc-validators 0.0.315 → 0.0.317
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/entities/client/document.cjs +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.mjs +1 -1
- package/dist/entities/client-email/document.cjs +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.mjs +1 -1
- package/dist/entities/client-project/document.cjs +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.mjs +1 -1
- package/dist/entities/client-styleguide/document.cjs +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.mjs +1 -1
- package/dist/entities/content-pillar/document.cjs +1 -1
- package/dist/entities/content-pillar/document.mjs +1 -1
- package/dist/entities/gcflytour/document.cjs +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.mjs +1 -1
- package/dist/entities/media-content-type/document.cjs +1 -1
- package/dist/entities/media-content-type/document.mjs +1 -1
- package/dist/entities/media-creative-format/document.cjs +1 -1
- package/dist/entities/media-creative-format/document.mjs +1 -1
- package/dist/entities/media-medium/document.cjs +1 -1
- package/dist/entities/media-medium/document.mjs +1 -1
- package/dist/entities/media-platform/document.cjs +1 -1
- package/dist/entities/media-platform/document.mjs +1 -1
- package/dist/entities/monday-workspace/document.cjs +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.mjs +1 -1
- package/dist/entities/up-permission/document.cjs +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.mjs +1 -1
- package/dist/entities/up-user/document.cjs +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.mjs +1 -1
- package/dist/entities/utm-tracking-link/document.cjs +1 -1
- package/dist/entities/utm-tracking-link/document.mjs +1 -1
- package/dist/entities/utm-tracking-link/mutation.cjs +20 -35
- package/dist/entities/utm-tracking-link/mutation.d.cts +46 -45
- package/dist/entities/utm-tracking-link/mutation.d.mts +46 -45
- package/dist/entities/utm-tracking-link/mutation.mjs +21 -36
- 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/package.json +1 -1
- package/dist/{document-5o5zUN3v.cjs → document-FGqG8-Od.cjs} +1 -1
- package/dist/{document-BvN4bgA5.mjs → document-KS79ROEU.mjs} +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ClientDocument } from "../../document-
|
|
1
|
+
import { t as ClientDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { ClientDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.ClientContentPillarDocument = require_document.ClientContentPillarDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as ClientContentPillarDocument } from "../../document-
|
|
1
|
+
import { S as ClientContentPillarDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { ClientContentPillarDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.ClientEmailDocument = require_document.ClientEmailDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { b as ClientEmailDocument } from "../../document-
|
|
1
|
+
import { b as ClientEmailDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { ClientEmailDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.ClientMediaPlatformDocument = require_document.ClientMediaPlatformDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { h as ClientMediaPlatformDocument } from "../../document-
|
|
1
|
+
import { h as ClientMediaPlatformDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { ClientMediaPlatformDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.ClientProjectDocument = require_document.ClientProjectDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { x as ClientProjectDocument } from "../../document-
|
|
1
|
+
import { x as ClientProjectDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { ClientProjectDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.ClientReportDocument = require_document.ClientReportDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { m as ClientReportDocument } from "../../document-
|
|
1
|
+
import { m as ClientReportDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { ClientReportDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.ClientStyleguideDocument = require_document.ClientStyleguideDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { p as ClientStyleguideDocument } from "../../document-
|
|
1
|
+
import { p as ClientStyleguideDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { ClientStyleguideDocument };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.ClientUserDocument = require_document.ClientUserDocument;
|
|
4
4
|
exports.ClientUserDocumentStatus = require_document.ClientUserDocumentStatus;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { o as ClientUserDocument, s as ClientUserDocumentStatus } from "../../document-
|
|
1
|
+
import { o as ClientUserDocument, s as ClientUserDocumentStatus } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { ClientUserDocument, ClientUserDocumentStatus };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.ContentPillarDocument = require_document.ContentPillarDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ContentPillarDocument } from "../../document-
|
|
1
|
+
import { C as ContentPillarDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { ContentPillarDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as GCFlyTourDocument } from "../../document-
|
|
1
|
+
import { i as GCFlyTourDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { GCFlyTourDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.GCFlyTourSnapDocument = require_document.GCFlyTourSnapDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as GCFlyTourSnapDocument } from "../../document-
|
|
1
|
+
import { a as GCFlyTourSnapDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { GCFlyTourSnapDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.MediaContentTypeDocument = require_document.MediaContentTypeDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { v as MediaContentTypeDocument } from "../../document-
|
|
1
|
+
import { v as MediaContentTypeDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { MediaContentTypeDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.MediaCreativeFormatDocument = require_document.MediaCreativeFormatDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { y as MediaCreativeFormatDocument } from "../../document-
|
|
1
|
+
import { y as MediaCreativeFormatDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { MediaCreativeFormatDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.MediaMediumDocument = require_document.MediaMediumDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as MediaMediumDocument } from "../../document-
|
|
1
|
+
import { _ as MediaMediumDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { MediaMediumDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.MediaPlatformDocument = require_document.MediaPlatformDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { g as MediaPlatformDocument } from "../../document-
|
|
1
|
+
import { g as MediaPlatformDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { MediaPlatformDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.MondayWorkspaceDocument = require_document.MondayWorkspaceDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as MondayWorkspaceDocument } from "../../document-
|
|
1
|
+
import { r as MondayWorkspaceDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { MondayWorkspaceDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.ProductHighlightDocument = require_document.ProductHighlightDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ProductHighlightDocument } from "../../document-
|
|
1
|
+
import { n as ProductHighlightDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { ProductHighlightDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.PermissionDocument = require_document.PermissionDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { f as PermissionDocument } from "../../document-
|
|
1
|
+
import { f as PermissionDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { PermissionDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as RoleDocument } from "../../document-
|
|
1
|
+
import { d as RoleDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { RoleDocument };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as UserDocument } from "../../document-
|
|
1
|
+
import { c as UserDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { UserDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.UserAccountDocument = require_document.UserAccountDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { u as UserAccountDocument } from "../../document-
|
|
1
|
+
import { u as UserAccountDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { UserAccountDocument };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_document = require("../../document-
|
|
2
|
+
const require_document = require("../../document-FGqG8-Od.cjs");
|
|
3
3
|
exports.UtmTrackingLinkDocument = require_document.UtmTrackingLinkDocument;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { l as UtmTrackingLinkDocument } from "../../document-
|
|
1
|
+
import { l as UtmTrackingLinkDocument } from "../../document-KS79ROEU.mjs";
|
|
2
2
|
export { UtmTrackingLinkDocument };
|
|
@@ -8,7 +8,7 @@ const require_entities_utm_tracking_link_fields = require("./fields.cjs");
|
|
|
8
8
|
let valibot = require("valibot");
|
|
9
9
|
valibot = require_rolldown_runtime.__toESM(valibot, 1);
|
|
10
10
|
//#region src/entities/utm-tracking-link/mutation.ts
|
|
11
|
-
const
|
|
11
|
+
const CreateUtmTrackingLinkDocumentRequest = valibot.object({
|
|
12
12
|
creator: require_string.VStringShort(),
|
|
13
13
|
client: require_string.VStringShort(),
|
|
14
14
|
url_destination: require_utm.VStringUrlNoUtm(),
|
|
@@ -20,26 +20,6 @@ const CreateUtmTrackingLinkDocument = valibot.object({
|
|
|
20
20
|
utm_id: require_string.VStringShortNullable(),
|
|
21
21
|
campaign_phase: require_string.VStringShort(),
|
|
22
22
|
campaign_product: require_string.VStringShortNullable(),
|
|
23
|
-
campaign_targeting: valibot.optional(valibot.nullable(require_string.VStringShortToCSV())),
|
|
24
|
-
campaign_key: require_string.VStringShortNullable(),
|
|
25
|
-
creative_format: require_string.VStringShortNullable(),
|
|
26
|
-
creative_format_variants: valibot.optional(valibot.nullable(require_string.VStringShortToCSV())),
|
|
27
|
-
url: require_utm.VStringUrlUtm(),
|
|
28
|
-
is_active: valibot.boolean(),
|
|
29
|
-
notes: require_string.VStringLongNullable()
|
|
30
|
-
});
|
|
31
|
-
const CreateUtmTrackingLinkDocumentRequest = valibot.object({
|
|
32
|
-
creator: require_string.VStringShort(),
|
|
33
|
-
client: require_string.VStringShort(),
|
|
34
|
-
url_destination: require_utm.VStringUrlNoUtm(),
|
|
35
|
-
utm_source: require_entities_utm_tracking_link_fields.ValidUtmSource,
|
|
36
|
-
utm_medium: require_entities_utm_tracking_link_fields.ValidUtmMedium,
|
|
37
|
-
utm_campaign: require_entities_utm_tracking_link_fields.ValidUtmCampaign,
|
|
38
|
-
utm_content: valibot.optional(valibot.nullable(require_string.VStringMinMax())),
|
|
39
|
-
utm_creative_format: valibot.optional(valibot.nullable(require_string.VStringMinMax())),
|
|
40
|
-
utm_id: valibot.optional(valibot.nullable(require_string.VStringMinMax())),
|
|
41
|
-
campaign_phase: require_string.VStringShort(),
|
|
42
|
-
campaign_product: require_string.VStringShortNullable(),
|
|
43
23
|
campaign_targeting: require_string.VStringShortNullable(),
|
|
44
24
|
campaign_key: require_string.VStringShortNullable(),
|
|
45
25
|
creative_format: require_string.VStringShortNullable(),
|
|
@@ -53,9 +33,9 @@ const CreateUtmTrackingLinkParts = valibot.object({
|
|
|
53
33
|
utm_source: require_entities_utm_tracking_link_fields.ValidUtmSource,
|
|
54
34
|
utm_medium: require_entities_utm_tracking_link_fields.ValidUtmMedium,
|
|
55
35
|
utm_campaign: require_entities_utm_tracking_link_fields.ValidUtmCampaign,
|
|
56
|
-
utm_content:
|
|
57
|
-
utm_creative_format:
|
|
58
|
-
utm_id:
|
|
36
|
+
utm_content: require_string.VStringShortNullable(),
|
|
37
|
+
utm_creative_format: require_string.VStringShortNullable(),
|
|
38
|
+
utm_id: require_string.VStringShortNullable(),
|
|
59
39
|
campaign_phase: require_string.VStringShort(),
|
|
60
40
|
campaign_product: require_string.VStringShortNullable(),
|
|
61
41
|
campaign_targeting: valibot.optional(valibot.nullable(require_string.VStringShortToCSV())),
|
|
@@ -66,6 +46,11 @@ const CreateUtmTrackingLinkParts = valibot.object({
|
|
|
66
46
|
is_active: valibot.boolean(),
|
|
67
47
|
notes: require_string.VStringLongNullable()
|
|
68
48
|
});
|
|
49
|
+
const CreateUtmTrackingLinkDocument = valibot.object({
|
|
50
|
+
creator: require_string.VStringShort(),
|
|
51
|
+
client: require_string.VStringShort(),
|
|
52
|
+
...CreateUtmTrackingLinkParts.entries
|
|
53
|
+
});
|
|
69
54
|
const SFormCreateMultipleUtmTrackingLinkDocuments = valibot.object({
|
|
70
55
|
creator: require_string.VStringShort(),
|
|
71
56
|
client: require_string.VStringShort(),
|
|
@@ -75,21 +60,21 @@ const SReadUtmTrackingLinkDocumentByUrl = valibot.object({ url: require_utm.VStr
|
|
|
75
60
|
const UpdateUtmTrackingLinkDocument = valibot.object({
|
|
76
61
|
creator: valibot.optional(require_string.VStringShort()),
|
|
77
62
|
client: valibot.optional(require_string.VStringShort()),
|
|
78
|
-
url_destination: require_utm.VStringUrlNoUtm(),
|
|
79
|
-
utm_source: require_entities_utm_tracking_link_fields.ValidUtmSource,
|
|
80
|
-
utm_medium: require_entities_utm_tracking_link_fields.ValidUtmMedium,
|
|
81
|
-
utm_campaign: require_entities_utm_tracking_link_fields.ValidUtmCampaign,
|
|
82
|
-
utm_content:
|
|
83
|
-
utm_creative_format:
|
|
84
|
-
utm_id:
|
|
85
|
-
campaign_phase: require_string.VStringShort(),
|
|
86
|
-
campaign_product:
|
|
63
|
+
url_destination: valibot.optional(require_utm.VStringUrlNoUtm()),
|
|
64
|
+
utm_source: valibot.optional(require_entities_utm_tracking_link_fields.ValidUtmSource),
|
|
65
|
+
utm_medium: valibot.optional(require_entities_utm_tracking_link_fields.ValidUtmMedium),
|
|
66
|
+
utm_campaign: valibot.optional(require_entities_utm_tracking_link_fields.ValidUtmCampaign),
|
|
67
|
+
utm_content: require_string.VStringShortNullable(),
|
|
68
|
+
utm_creative_format: require_string.VStringShortNullable(),
|
|
69
|
+
utm_id: require_string.VStringShortNullable(),
|
|
70
|
+
campaign_phase: valibot.optional(require_string.VStringShort()),
|
|
71
|
+
campaign_product: require_string.VStringShortNullable(),
|
|
87
72
|
campaign_targeting: valibot.optional(valibot.nullable(require_string.VStringShortToCSV())),
|
|
88
73
|
campaign_key: require_string.VStringShortNullable(),
|
|
89
74
|
creative_format: require_string.VStringShortNullable(),
|
|
90
75
|
creative_format_variants: valibot.optional(valibot.nullable(require_string.VStringShortToCSV())),
|
|
91
|
-
url: require_utm.VStringUrlUtm(),
|
|
92
|
-
is_active: valibot.boolean(),
|
|
76
|
+
url: valibot.optional(require_utm.VStringUrlUtm()),
|
|
77
|
+
is_active: valibot.optional(valibot.boolean()),
|
|
93
78
|
notes: require_string.VStringLongNullable()
|
|
94
79
|
});
|
|
95
80
|
const UpdateUtmTrackingLinkDocumentRequest = valibot.object({
|
|
@@ -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,47 +126,48 @@ 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.
|
|
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
138
|
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>;
|
|
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
141
|
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>;
|
|
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>;
|
|
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
|
-
type
|
|
146
|
+
type UpdateUtmTrackingLinkDocumentInput = v.InferInput<typeof UpdateUtmTrackingLinkDocument>;
|
|
147
|
+
type UpdateUtmTrackingLinkDocumentOutput = v.InferOutput<typeof UpdateUtmTrackingLinkDocument>;
|
|
147
148
|
declare const UpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
148
149
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
149
150
|
readonly data: v.ObjectSchema<{
|
|
150
151
|
readonly creator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
151
152
|
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.
|
|
153
|
+
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>;
|
|
154
|
+
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>;
|
|
155
|
+
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>;
|
|
156
|
+
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>;
|
|
157
|
+
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
158
|
+
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
159
|
+
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
160
|
+
readonly campaign_phase: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
161
|
+
readonly campaign_product: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
161
162
|
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>;
|
|
162
163
|
readonly campaign_key: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
163
164
|
readonly creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
164
165
|
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>;
|
|
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>;
|
|
166
|
+
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>;
|
|
167
|
+
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
167
168
|
readonly notes: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, undefined>]>, undefined>, undefined>;
|
|
168
169
|
}, undefined>;
|
|
169
170
|
}, undefined>;
|
|
170
171
|
type UpdateUtmTrackingLinkDocumentRequest = v.InferOutput<typeof UpdateUtmTrackingLinkDocumentRequest>;
|
|
171
172
|
//#endregion
|
|
172
|
-
export { CreateUtmTrackingLinkDocument, CreateUtmTrackingLinkDocumentRequest, CreateUtmTrackingLinkParts, SFormCreateMultipleUtmTrackingLinkDocuments, SReadUtmTrackingLinkDocumentByUrl, UpdateUtmTrackingLinkDocument, UpdateUtmTrackingLinkDocumentRequest };
|
|
173
|
+
export { CreateUtmTrackingLinkDocument, CreateUtmTrackingLinkDocumentRequest, CreateUtmTrackingLinkParts, SFormCreateMultipleUtmTrackingLinkDocuments, SReadUtmTrackingLinkDocumentByUrl, UpdateUtmTrackingLinkDocument, UpdateUtmTrackingLinkDocumentInput, UpdateUtmTrackingLinkDocumentOutput, UpdateUtmTrackingLinkDocumentRequest };
|
|
@@ -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,47 +126,48 @@ 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.
|
|
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
138
|
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>;
|
|
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
141
|
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>;
|
|
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>;
|
|
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
|
-
type
|
|
146
|
+
type UpdateUtmTrackingLinkDocumentInput = v.InferInput<typeof UpdateUtmTrackingLinkDocument>;
|
|
147
|
+
type UpdateUtmTrackingLinkDocumentOutput = v.InferOutput<typeof UpdateUtmTrackingLinkDocument>;
|
|
147
148
|
declare const UpdateUtmTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
148
149
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>;
|
|
149
150
|
readonly data: v.ObjectSchema<{
|
|
150
151
|
readonly creator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
151
152
|
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.
|
|
153
|
+
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>;
|
|
154
|
+
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>;
|
|
155
|
+
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>;
|
|
156
|
+
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>;
|
|
157
|
+
readonly utm_content: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
158
|
+
readonly utm_creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
159
|
+
readonly utm_id: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
160
|
+
readonly campaign_phase: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
161
|
+
readonly campaign_product: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
161
162
|
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>;
|
|
162
163
|
readonly campaign_key: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
163
164
|
readonly creative_format: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
164
165
|
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>;
|
|
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>;
|
|
166
|
+
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>;
|
|
167
|
+
readonly is_active: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
167
168
|
readonly notes: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 5000, undefined>]>, undefined>, undefined>;
|
|
168
169
|
}, undefined>;
|
|
169
170
|
}, undefined>;
|
|
170
171
|
type UpdateUtmTrackingLinkDocumentRequest = v.InferOutput<typeof UpdateUtmTrackingLinkDocumentRequest>;
|
|
171
172
|
//#endregion
|
|
172
|
-
export { CreateUtmTrackingLinkDocument, CreateUtmTrackingLinkDocumentRequest, CreateUtmTrackingLinkParts, SFormCreateMultipleUtmTrackingLinkDocuments, SReadUtmTrackingLinkDocumentByUrl, UpdateUtmTrackingLinkDocument, UpdateUtmTrackingLinkDocumentRequest };
|
|
173
|
+
export { CreateUtmTrackingLinkDocument, CreateUtmTrackingLinkDocumentRequest, CreateUtmTrackingLinkParts, SFormCreateMultipleUtmTrackingLinkDocuments, SReadUtmTrackingLinkDocumentByUrl, UpdateUtmTrackingLinkDocument, UpdateUtmTrackingLinkDocumentInput, UpdateUtmTrackingLinkDocumentOutput, UpdateUtmTrackingLinkDocumentRequest };
|
|
@@ -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:
|
|
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(),
|
|
84
69
|
campaign_targeting: v.optional(v.nullable(VStringShortToCSV())),
|
|
85
70
|
campaign_key: VStringShortNullable(),
|
|
86
71
|
creative_format: VStringShortNullable(),
|
|
87
72
|
creative_format_variants: v.optional(v.nullable(VStringShortToCSV())),
|
|
88
|
-
url: VStringUrlUtm(),
|
|
89
|
-
is_active: v.boolean(),
|
|
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,
|
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.317",
|
|
5
5
|
"author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"type": "module",
|
|
@@ -5,8 +5,8 @@ const require_media_upload = require("./media-upload-C8SPmS6R.cjs");
|
|
|
5
5
|
const require_relation = require("./relation-sCDfl-zb.cjs");
|
|
6
6
|
const require_components_shared_index = require("./components/shared/index.cjs");
|
|
7
7
|
const require_components_blocks_index = require("./components/blocks/index.cjs");
|
|
8
|
-
const require_components_utm_index = require("./components/utm/index.cjs");
|
|
9
8
|
const require_components_brand_index = require("./components/brand/index.cjs");
|
|
9
|
+
const require_components_utm_index = require("./components/utm/index.cjs");
|
|
10
10
|
const require_entities_tag_document = require("./entities/tag/document.cjs");
|
|
11
11
|
const require_entities_client_project_fields = require("./entities/client-project/fields.cjs");
|
|
12
12
|
const require_entities_up_role_fields = require("./entities/up-role/fields.cjs");
|
|
@@ -4,8 +4,8 @@ import { r as MediaUploadDocument } from "./media-upload-CnRvtycg.mjs";
|
|
|
4
4
|
import { n as VDocumentRelationManyRequired, r as VDocumentRelationOne, t as VDocumentRelationMany } from "./relation-CleGc56b.mjs";
|
|
5
5
|
import { RichTextBlock } from "./components/shared/index.mjs";
|
|
6
6
|
import { BlockBrandLogos, BlockFullscreenContent } from "./components/blocks/index.mjs";
|
|
7
|
-
import { UtmClassificationKey } from "./components/utm/index.mjs";
|
|
8
7
|
import { ComponentBrandStyleguideColor, ComponentBrandStyleguideFont } from "./components/brand/index.mjs";
|
|
8
|
+
import { UtmClassificationKey } from "./components/utm/index.mjs";
|
|
9
9
|
import { TagDocument } from "./entities/tag/document.mjs";
|
|
10
10
|
import { ClientProjectPhase, ClientProjectStatus } from "./entities/client-project/fields.mjs";
|
|
11
11
|
import { RoleType } from "./entities/up-role/fields.mjs";
|