@joeygrable94/utm-src-pub-validators 0.0.57 → 0.0.59
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/index.cjs +78 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +191 -165
- package/dist/index.d.ts +191 -165
- package/dist/index.js +78 -52
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -557,37 +557,39 @@ declare const SCreateTrackingLinkDocument: v.ObjectSchema<{
|
|
|
557
557
|
readonly utm_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
558
558
|
}, undefined>;
|
|
559
559
|
type SCreateTrackingLinkDocument = v.InferOutput<typeof SCreateTrackingLinkDocument>;
|
|
560
|
-
declare const SCreateMultipleTrackingLinkDocuments: v.
|
|
561
|
-
readonly
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
560
|
+
declare const SCreateMultipleTrackingLinkDocuments: v.ObjectSchema<{
|
|
561
|
+
readonly tracking_links: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
562
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
563
|
+
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
564
|
+
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
565
|
+
readonly domain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
|
|
566
|
+
readonly path: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>;
|
|
567
|
+
readonly query: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>;
|
|
568
|
+
readonly fragment: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>;
|
|
569
|
+
readonly utm_source: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_source is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_source is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_source can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
570
|
+
readonly utm_medium: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_medium is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_medium is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_medium can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
571
|
+
readonly utm_campaign: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_campaign is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2024, "the utm_campaign is too long, it must be 2024 characters or less">, v.RegexAction<string, "utm_campaign can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
572
|
+
readonly utm_creative_format: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
573
|
+
readonly utm_content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
574
|
+
readonly utm_term: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
575
|
+
readonly utm_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
576
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
577
|
+
is_active: boolean;
|
|
578
|
+
destination: string;
|
|
579
|
+
protocol: "http" | "https";
|
|
580
|
+
domain: string;
|
|
581
|
+
path: string;
|
|
582
|
+
query: string;
|
|
583
|
+
fragment: string;
|
|
584
|
+
utm_source: string;
|
|
585
|
+
utm_medium: string;
|
|
586
|
+
utm_campaign: string;
|
|
587
|
+
utm_creative_format: string;
|
|
588
|
+
utm_content: string;
|
|
589
|
+
utm_term: string;
|
|
590
|
+
utm_id: string;
|
|
591
|
+
}[], 1, "Please create at least one tracking link">]>;
|
|
592
|
+
}, undefined>;
|
|
591
593
|
type SCreateMultipleTrackingLinkDocuments = v.InferOutput<typeof SCreateMultipleTrackingLinkDocuments>;
|
|
592
594
|
declare const SCreateTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
593
595
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -867,19 +869,21 @@ declare const SCreateCampaignIdDocument: v.ObjectSchema<{
|
|
|
867
869
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
868
870
|
}, undefined>;
|
|
869
871
|
type SCreateCampaignIdDocument = v.InferOutput<typeof SCreateCampaignIdDocument>;
|
|
870
|
-
declare const SCreateMultipleCampaignIdDocuments: v.
|
|
871
|
-
readonly
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
872
|
+
declare const SCreateMultipleCampaignIdDocuments: v.ObjectSchema<{
|
|
873
|
+
readonly campaign_ids: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
874
|
+
readonly cost: v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>;
|
|
875
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
|
|
876
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
877
|
+
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
878
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
879
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
880
|
+
cost: number;
|
|
881
|
+
label: string;
|
|
882
|
+
value: string;
|
|
883
|
+
description: string | null;
|
|
884
|
+
is_active: boolean;
|
|
885
|
+
}[], 1, "At least one campaign ID is required">]>;
|
|
886
|
+
}, undefined>;
|
|
883
887
|
type SCreateMultipleCampaignIdDocuments = v.InferOutput<typeof SCreateMultipleCampaignIdDocuments>;
|
|
884
888
|
declare const SCreateCampaignIdDocumentRequest: v.ObjectSchema<{
|
|
885
889
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -969,17 +973,19 @@ declare const SCreateCampaignKeyDocument: v.ObjectSchema<{
|
|
|
969
973
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
970
974
|
}, undefined>;
|
|
971
975
|
type SCreateCampaignKeyDocument = v.InferOutput<typeof SCreateCampaignKeyDocument>;
|
|
972
|
-
declare const SCreateMultipleCampaignKeyDocuments: v.
|
|
973
|
-
readonly
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
976
|
+
declare const SCreateMultipleCampaignKeyDocuments: v.ObjectSchema<{
|
|
977
|
+
readonly campaign_keys: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
978
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
|
|
979
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
980
|
+
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
981
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
982
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
983
|
+
label: string;
|
|
984
|
+
value: string;
|
|
985
|
+
description: string | null;
|
|
986
|
+
is_active: boolean;
|
|
987
|
+
}[], 1, "At least one campaign key is required">]>;
|
|
988
|
+
}, undefined>;
|
|
983
989
|
type SCreateMultipleCampaignKeyDocuments = v.InferOutput<typeof SCreateMultipleCampaignKeyDocuments>;
|
|
984
990
|
declare const SCreateCampaignKeyDocumentRequest: v.ObjectSchema<{
|
|
985
991
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -1065,17 +1071,19 @@ declare const SCreateCampaignPhaseDocument: v.ObjectSchema<{
|
|
|
1065
1071
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1066
1072
|
}, undefined>;
|
|
1067
1073
|
type SCreateCampaignPhaseDocument = v.InferOutput<typeof SCreateCampaignPhaseDocument>;
|
|
1068
|
-
declare const SCreateMultipleCampaignPhaseDocuments: v.
|
|
1069
|
-
readonly
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1074
|
+
declare const SCreateMultipleCampaignPhaseDocuments: v.ObjectSchema<{
|
|
1075
|
+
readonly campaign_phases: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1076
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
|
|
1077
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
1078
|
+
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
1079
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1080
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1081
|
+
label: string;
|
|
1082
|
+
value: string;
|
|
1083
|
+
description: string | null;
|
|
1084
|
+
is_active: boolean;
|
|
1085
|
+
}[], 1, "At least one campaign phase is required">]>;
|
|
1086
|
+
}, undefined>;
|
|
1079
1087
|
type SCreateMultipleCampaignPhaseDocuments = v.InferOutput<typeof SCreateMultipleCampaignPhaseDocuments>;
|
|
1080
1088
|
declare const SCreateCampaignPhaseDocumentRequest: v.ObjectSchema<{
|
|
1081
1089
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -1161,17 +1169,19 @@ declare const SCreateCampaignProductDocument: v.ObjectSchema<{
|
|
|
1161
1169
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1162
1170
|
}, undefined>;
|
|
1163
1171
|
type SCreateCampaignProductDocument = v.InferOutput<typeof SCreateCampaignProductDocument>;
|
|
1164
|
-
declare const SCreateMultipleCampaignProductDocuments: v.
|
|
1165
|
-
readonly
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1172
|
+
declare const SCreateMultipleCampaignProductDocuments: v.ObjectSchema<{
|
|
1173
|
+
readonly campaign_products: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1174
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
|
|
1175
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
1176
|
+
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
1177
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1178
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1179
|
+
label: string;
|
|
1180
|
+
value: string;
|
|
1181
|
+
description: string | null;
|
|
1182
|
+
is_active: boolean;
|
|
1183
|
+
}[], 1, "At least one campaign product is required">]>;
|
|
1184
|
+
}, undefined>;
|
|
1175
1185
|
type SCreateMultipleCampaignProductDocuments = v.InferOutput<typeof SCreateMultipleCampaignProductDocuments>;
|
|
1176
1186
|
declare const SCreateCampaignProductDocumentRequest: v.ObjectSchema<{
|
|
1177
1187
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -1257,17 +1267,19 @@ declare const SCreateCampaignTargetDocument: v.ObjectSchema<{
|
|
|
1257
1267
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1258
1268
|
}, undefined>;
|
|
1259
1269
|
type SCreateCampaignTargetDocument = v.InferOutput<typeof SCreateCampaignTargetDocument>;
|
|
1260
|
-
declare const SCreateMultipleCampaignTargetDocuments: v.
|
|
1261
|
-
readonly
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1270
|
+
declare const SCreateMultipleCampaignTargetDocuments: v.ObjectSchema<{
|
|
1271
|
+
readonly campaign_targets: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1272
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
|
|
1273
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
1274
|
+
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
1275
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1276
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1277
|
+
label: string;
|
|
1278
|
+
value: string;
|
|
1279
|
+
description: string | null;
|
|
1280
|
+
is_active: boolean;
|
|
1281
|
+
}[], 1, "At least one campaign target is required">]>;
|
|
1282
|
+
}, undefined>;
|
|
1271
1283
|
type SCreateMultipleCampaignTargetDocuments = v.InferOutput<typeof SCreateMultipleCampaignTargetDocuments>;
|
|
1272
1284
|
declare const SCreateCampaignTargetDocumentRequest: v.ObjectSchema<{
|
|
1273
1285
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -1353,17 +1365,19 @@ declare const SCreateContentDocument: v.ObjectSchema<{
|
|
|
1353
1365
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1354
1366
|
}, undefined>;
|
|
1355
1367
|
type SCreateContentDocument = v.InferOutput<typeof SCreateContentDocument>;
|
|
1356
|
-
declare const SCreateMultipleContentDocuments: v.
|
|
1357
|
-
readonly
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1368
|
+
declare const SCreateMultipleContentDocuments: v.ObjectSchema<{
|
|
1369
|
+
readonly contents: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1370
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
|
|
1371
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
1372
|
+
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
1373
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1374
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1375
|
+
label: string;
|
|
1376
|
+
value: string;
|
|
1377
|
+
description: string | null;
|
|
1378
|
+
is_active: boolean;
|
|
1379
|
+
}[], 1, "At least one term is required">]>;
|
|
1380
|
+
}, undefined>;
|
|
1367
1381
|
type SCreateMultipleContentDocuments = v.InferOutput<typeof SCreateMultipleContentDocuments>;
|
|
1368
1382
|
declare const SCreateContentDocumentRequest: v.ObjectSchema<{
|
|
1369
1383
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -1449,17 +1463,19 @@ declare const SCreateCreativeFormatVariantDocument: v.ObjectSchema<{
|
|
|
1449
1463
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1450
1464
|
}, undefined>;
|
|
1451
1465
|
type SCreateCreativeFormatVariantDocument = v.InferOutput<typeof SCreateCreativeFormatVariantDocument>;
|
|
1452
|
-
declare const SCreateMultipleCreativeFormatVariantDocuments: v.
|
|
1453
|
-
readonly
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1466
|
+
declare const SCreateMultipleCreativeFormatVariantDocuments: v.ObjectSchema<{
|
|
1467
|
+
readonly creative_format_variants: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1468
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
|
|
1469
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
1470
|
+
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
1471
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1472
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1473
|
+
label: string;
|
|
1474
|
+
value: string;
|
|
1475
|
+
description: string | null;
|
|
1476
|
+
is_active: boolean;
|
|
1477
|
+
}[], 1, "At least one term is required">]>;
|
|
1478
|
+
}, undefined>;
|
|
1463
1479
|
type SCreateMultipleCreativeFormatVariantDocuments = v.InferOutput<typeof SCreateMultipleCreativeFormatVariantDocuments>;
|
|
1464
1480
|
declare const SCreateCreativeFormatVariantDocumentRequest: v.ObjectSchema<{
|
|
1465
1481
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -1545,17 +1561,19 @@ declare const SCreateCreativeFormatDocument: v.ObjectSchema<{
|
|
|
1545
1561
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1546
1562
|
}, undefined>;
|
|
1547
1563
|
type SCreateCreativeFormatDocument = v.InferOutput<typeof SCreateCreativeFormatDocument>;
|
|
1548
|
-
declare const SCreateMultipleCreativeFormatDocuments: v.
|
|
1549
|
-
readonly
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1564
|
+
declare const SCreateMultipleCreativeFormatDocuments: v.ObjectSchema<{
|
|
1565
|
+
readonly creative_formats: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1566
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
|
|
1567
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
1568
|
+
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
1569
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1570
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1571
|
+
label: string;
|
|
1572
|
+
value: string;
|
|
1573
|
+
description: string | null;
|
|
1574
|
+
is_active: boolean;
|
|
1575
|
+
}[], 1, "At least one creative format is required">]>;
|
|
1576
|
+
}, undefined>;
|
|
1559
1577
|
type SCreateMultipleCreativeFormatDocuments = v.InferOutput<typeof SCreateMultipleCreativeFormatDocuments>;
|
|
1560
1578
|
declare const SCreateCreativeFormatDocumentRequest: v.ObjectSchema<{
|
|
1561
1579
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -1641,17 +1659,19 @@ declare const SCreateMediumDocument: v.ObjectSchema<{
|
|
|
1641
1659
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1642
1660
|
}, undefined>;
|
|
1643
1661
|
type SCreateMediumDocument = v.InferOutput<typeof SCreateMediumDocument>;
|
|
1644
|
-
declare const SCreateMultipleMediumDocuments: v.
|
|
1645
|
-
readonly
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1662
|
+
declare const SCreateMultipleMediumDocuments: v.ObjectSchema<{
|
|
1663
|
+
readonly mediums: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1664
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
|
|
1665
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
1666
|
+
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
1667
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1668
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1669
|
+
label: string;
|
|
1670
|
+
value: string;
|
|
1671
|
+
description: string | null;
|
|
1672
|
+
is_active: boolean;
|
|
1673
|
+
}[], 1, "At least one medium is required">]>;
|
|
1674
|
+
}, undefined>;
|
|
1655
1675
|
type SCreateMultipleMediumDocuments = v.InferOutput<typeof SCreateMultipleMediumDocuments>;
|
|
1656
1676
|
declare const SCreateMediumDocumentRequest: v.ObjectSchema<{
|
|
1657
1677
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -1737,17 +1757,19 @@ declare const SCreateSourceDocument: v.ObjectSchema<{
|
|
|
1737
1757
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1738
1758
|
}, undefined>;
|
|
1739
1759
|
type SCreateSourceDocument = v.InferOutput<typeof SCreateSourceDocument>;
|
|
1740
|
-
declare const SCreateMultipleSourceDocuments: v.
|
|
1741
|
-
readonly
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1760
|
+
declare const SCreateMultipleSourceDocuments: v.ObjectSchema<{
|
|
1761
|
+
readonly sources: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1762
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
|
|
1763
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
1764
|
+
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
1765
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1766
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1767
|
+
label: string;
|
|
1768
|
+
value: string;
|
|
1769
|
+
description: string | null;
|
|
1770
|
+
is_active: boolean;
|
|
1771
|
+
}[], 1, "At least one source is required">]>;
|
|
1772
|
+
}, undefined>;
|
|
1751
1773
|
type SCreateMultipleSourceDocuments = v.InferOutput<typeof SCreateMultipleSourceDocuments>;
|
|
1752
1774
|
declare const SCreateSourceDocumentRequest: v.ObjectSchema<{
|
|
1753
1775
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -1833,17 +1855,19 @@ declare const SCreateTermDocument: v.ObjectSchema<{
|
|
|
1833
1855
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1834
1856
|
}, undefined>;
|
|
1835
1857
|
type SCreateTermDocument = v.InferOutput<typeof SCreateTermDocument>;
|
|
1836
|
-
declare const SCreateMultipleTermDocuments: v.
|
|
1837
|
-
readonly
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1858
|
+
declare const SCreateMultipleTermDocuments: v.ObjectSchema<{
|
|
1859
|
+
readonly terms: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1860
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
|
|
1861
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
1862
|
+
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
1863
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1864
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1865
|
+
label: string;
|
|
1866
|
+
value: string;
|
|
1867
|
+
description: string | null;
|
|
1868
|
+
is_active: boolean;
|
|
1869
|
+
}[], 1, "At least one term is required">]>;
|
|
1870
|
+
}, undefined>;
|
|
1847
1871
|
type SCreateMultipleTermDocuments = v.InferOutput<typeof SCreateMultipleTermDocuments>;
|
|
1848
1872
|
declare const SCreateTermDocumentRequest: v.ObjectSchema<{
|
|
1849
1873
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
@@ -1929,17 +1953,19 @@ declare const SCreateWebsiteDocument: v.ObjectSchema<{
|
|
|
1929
1953
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1930
1954
|
}, undefined>;
|
|
1931
1955
|
type SCreateWebsiteDocument = v.InferOutput<typeof SCreateWebsiteDocument>;
|
|
1932
|
-
declare const SCreateMultipleWebsiteDocuments: v.
|
|
1933
|
-
readonly
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1956
|
+
declare const SCreateMultipleWebsiteDocuments: v.ObjectSchema<{
|
|
1957
|
+
readonly websites: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1958
|
+
readonly domain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
|
|
1959
|
+
readonly description: v.UndefinedableSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
1960
|
+
readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
|
|
1961
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
1962
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
1963
|
+
domain: string;
|
|
1964
|
+
description: string | null | undefined;
|
|
1965
|
+
is_secure: boolean;
|
|
1966
|
+
is_active: boolean;
|
|
1967
|
+
}[], 1, "At least one website is required">]>;
|
|
1968
|
+
}, undefined>;
|
|
1943
1969
|
type SCreateMultipleWebsiteDocuments = v.InferOutput<typeof SCreateMultipleWebsiteDocuments>;
|
|
1944
1970
|
declare const SCreateWebsiteDocumentRequest: v.ObjectSchema<{
|
|
1945
1971
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|