@joeygrable94/utm-src-pub-validators 0.0.56 → 0.0.58
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 +100 -74
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +467 -485
- package/dist/index.d.ts +467 -485
- package/dist/index.js +100 -74
- 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_key: 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_phase: 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>]>;
|
|
@@ -4707,40 +4733,36 @@ declare const SUserAuthorizationSuccessResponse: v.ObjectSchema<{
|
|
|
4707
4733
|
type SUserAuthorizationSuccessResponse = v.InferOutput<typeof SUserAuthorizationSuccessResponse>;
|
|
4708
4734
|
|
|
4709
4735
|
declare const SCampaignIdDocumentWithRelations: v.ObjectSchema<{
|
|
4710
|
-
readonly
|
|
4711
|
-
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">]>;
|
|
4736
|
+
readonly group: v.OptionalSchema<v.ObjectSchema<{
|
|
4712
4737
|
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">]>;
|
|
4713
4738
|
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: - _ .">]>;
|
|
4714
4739
|
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>;
|
|
4715
4740
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
readonly
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
readonly
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4742
|
-
}, undefined>, undefined>;
|
|
4743
|
-
}, undefined>;
|
|
4741
|
+
readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
|
|
4742
|
+
readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
|
|
4743
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4744
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4745
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4746
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4747
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4748
|
+
}, undefined>, undefined>;
|
|
4749
|
+
readonly creator: v.OptionalSchema<v.ObjectSchema<{
|
|
4750
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
4751
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
4752
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
4753
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
4754
|
+
readonly provider: v.LiteralSchema<"local", undefined>;
|
|
4755
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4756
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4757
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4758
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4759
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4760
|
+
}, undefined>, undefined>;
|
|
4761
|
+
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">]>;
|
|
4762
|
+
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">]>;
|
|
4763
|
+
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: - _ .">]>;
|
|
4764
|
+
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>;
|
|
4765
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4744
4766
|
readonly id: v.NumberSchema<undefined>;
|
|
4745
4767
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4746
4768
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4749,39 +4771,35 @@ declare const SCampaignIdDocumentWithRelations: v.ObjectSchema<{
|
|
|
4749
4771
|
}, undefined>;
|
|
4750
4772
|
type SCampaignIdDocumentWithRelations = v.InferOutput<typeof SCampaignIdDocumentWithRelations>;
|
|
4751
4773
|
declare const SCampaignPhaseDocumentWithRelations: v.ObjectSchema<{
|
|
4752
|
-
readonly
|
|
4774
|
+
readonly group: v.OptionalSchema<v.ObjectSchema<{
|
|
4753
4775
|
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">]>;
|
|
4754
4776
|
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: - _ .">]>;
|
|
4755
4777
|
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>;
|
|
4756
4778
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
readonly
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
readonly
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
4782
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4783
|
-
}, undefined>, undefined>;
|
|
4784
|
-
}, undefined>;
|
|
4779
|
+
readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
|
|
4780
|
+
readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
|
|
4781
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4782
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4783
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4784
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4785
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4786
|
+
}, undefined>, undefined>;
|
|
4787
|
+
readonly creator: v.OptionalSchema<v.ObjectSchema<{
|
|
4788
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
4789
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
4790
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
4791
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
4792
|
+
readonly provider: v.LiteralSchema<"local", undefined>;
|
|
4793
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4794
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4795
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4796
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4797
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4798
|
+
}, undefined>, undefined>;
|
|
4799
|
+
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">]>;
|
|
4800
|
+
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: - _ .">]>;
|
|
4801
|
+
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>;
|
|
4802
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4785
4803
|
readonly id: v.NumberSchema<undefined>;
|
|
4786
4804
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4787
4805
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4790,39 +4808,35 @@ declare const SCampaignPhaseDocumentWithRelations: v.ObjectSchema<{
|
|
|
4790
4808
|
}, undefined>;
|
|
4791
4809
|
type SCampaignPhaseDocumentWithRelations = v.InferOutput<typeof SCampaignPhaseDocumentWithRelations>;
|
|
4792
4810
|
declare const SCampaignProductDocumentWithRelations: v.ObjectSchema<{
|
|
4793
|
-
readonly
|
|
4811
|
+
readonly group: v.OptionalSchema<v.ObjectSchema<{
|
|
4794
4812
|
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">]>;
|
|
4795
4813
|
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: - _ .">]>;
|
|
4796
4814
|
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>;
|
|
4797
4815
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
readonly
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
readonly
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
4823
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4824
|
-
}, undefined>, undefined>;
|
|
4825
|
-
}, undefined>;
|
|
4816
|
+
readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
|
|
4817
|
+
readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
|
|
4818
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4819
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4820
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4821
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4822
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4823
|
+
}, undefined>, undefined>;
|
|
4824
|
+
readonly creator: v.OptionalSchema<v.ObjectSchema<{
|
|
4825
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
4826
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
4827
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
4828
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
4829
|
+
readonly provider: v.LiteralSchema<"local", undefined>;
|
|
4830
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4831
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4832
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4833
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4834
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4835
|
+
}, undefined>, undefined>;
|
|
4836
|
+
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">]>;
|
|
4837
|
+
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: - _ .">]>;
|
|
4838
|
+
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>;
|
|
4839
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4826
4840
|
readonly id: v.NumberSchema<undefined>;
|
|
4827
4841
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4828
4842
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4831,39 +4845,35 @@ declare const SCampaignProductDocumentWithRelations: v.ObjectSchema<{
|
|
|
4831
4845
|
}, undefined>;
|
|
4832
4846
|
type SCampaignProductDocumentWithRelations = v.InferOutput<typeof SCampaignProductDocumentWithRelations>;
|
|
4833
4847
|
declare const SCampaignTargetDocumentWithRelations: v.ObjectSchema<{
|
|
4834
|
-
readonly
|
|
4848
|
+
readonly group: v.OptionalSchema<v.ObjectSchema<{
|
|
4835
4849
|
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">]>;
|
|
4836
4850
|
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: - _ .">]>;
|
|
4837
4851
|
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>;
|
|
4838
4852
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
readonly
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
readonly
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
4864
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4865
|
-
}, undefined>, undefined>;
|
|
4866
|
-
}, undefined>;
|
|
4853
|
+
readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
|
|
4854
|
+
readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
|
|
4855
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4856
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4857
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4858
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4859
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4860
|
+
}, undefined>, undefined>;
|
|
4861
|
+
readonly creator: v.OptionalSchema<v.ObjectSchema<{
|
|
4862
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
4863
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
4864
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
4865
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
4866
|
+
readonly provider: v.LiteralSchema<"local", undefined>;
|
|
4867
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4868
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4869
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4870
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4871
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4872
|
+
}, undefined>, undefined>;
|
|
4873
|
+
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">]>;
|
|
4874
|
+
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: - _ .">]>;
|
|
4875
|
+
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>;
|
|
4876
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4867
4877
|
readonly id: v.NumberSchema<undefined>;
|
|
4868
4878
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4869
4879
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4872,39 +4882,35 @@ declare const SCampaignTargetDocumentWithRelations: v.ObjectSchema<{
|
|
|
4872
4882
|
}, undefined>;
|
|
4873
4883
|
type SCampaignTargetDocumentWithRelations = v.InferOutput<typeof SCampaignTargetDocumentWithRelations>;
|
|
4874
4884
|
declare const SCampaignKeyDocumentWithRelations: v.ObjectSchema<{
|
|
4875
|
-
readonly
|
|
4885
|
+
readonly group: v.OptionalSchema<v.ObjectSchema<{
|
|
4876
4886
|
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">]>;
|
|
4877
4887
|
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: - _ .">]>;
|
|
4878
4888
|
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>;
|
|
4879
4889
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
readonly
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
readonly
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
4905
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4906
|
-
}, undefined>, undefined>;
|
|
4907
|
-
}, undefined>;
|
|
4890
|
+
readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
|
|
4891
|
+
readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
|
|
4892
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4893
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4894
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4895
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4896
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4897
|
+
}, undefined>, undefined>;
|
|
4898
|
+
readonly creator: v.OptionalSchema<v.ObjectSchema<{
|
|
4899
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
4900
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
4901
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
4902
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
4903
|
+
readonly provider: v.LiteralSchema<"local", undefined>;
|
|
4904
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4905
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4906
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4907
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4908
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4909
|
+
}, undefined>, undefined>;
|
|
4910
|
+
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">]>;
|
|
4911
|
+
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: - _ .">]>;
|
|
4912
|
+
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>;
|
|
4913
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4908
4914
|
readonly id: v.NumberSchema<undefined>;
|
|
4909
4915
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4910
4916
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4913,39 +4919,35 @@ declare const SCampaignKeyDocumentWithRelations: v.ObjectSchema<{
|
|
|
4913
4919
|
}, undefined>;
|
|
4914
4920
|
type SCampaignKeyDocumentWithRelations = v.InferOutput<typeof SCampaignKeyDocumentWithRelations>;
|
|
4915
4921
|
declare const SSourceDocumentWithRelations: v.ObjectSchema<{
|
|
4916
|
-
readonly
|
|
4922
|
+
readonly group: v.OptionalSchema<v.ObjectSchema<{
|
|
4917
4923
|
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">]>;
|
|
4918
4924
|
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: - _ .">]>;
|
|
4919
4925
|
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>;
|
|
4920
4926
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
readonly
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
readonly
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
4946
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4947
|
-
}, undefined>, undefined>;
|
|
4948
|
-
}, undefined>;
|
|
4927
|
+
readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
|
|
4928
|
+
readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
|
|
4929
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4930
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4931
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4932
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4933
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4934
|
+
}, undefined>, undefined>;
|
|
4935
|
+
readonly creator: v.OptionalSchema<v.ObjectSchema<{
|
|
4936
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
4937
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
4938
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
4939
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
4940
|
+
readonly provider: v.LiteralSchema<"local", undefined>;
|
|
4941
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4942
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4943
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4944
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4945
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4946
|
+
}, undefined>, undefined>;
|
|
4947
|
+
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">]>;
|
|
4948
|
+
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: - _ .">]>;
|
|
4949
|
+
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>;
|
|
4950
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4949
4951
|
readonly id: v.NumberSchema<undefined>;
|
|
4950
4952
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4951
4953
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4954,39 +4956,35 @@ declare const SSourceDocumentWithRelations: v.ObjectSchema<{
|
|
|
4954
4956
|
}, undefined>;
|
|
4955
4957
|
type SSourceDocumentWithRelations = v.InferOutput<typeof SSourceDocumentWithRelations>;
|
|
4956
4958
|
declare const SMediumDocumentWithRelations: v.ObjectSchema<{
|
|
4957
|
-
readonly
|
|
4959
|
+
readonly group: v.OptionalSchema<v.ObjectSchema<{
|
|
4958
4960
|
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">]>;
|
|
4959
4961
|
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: - _ .">]>;
|
|
4960
4962
|
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>;
|
|
4961
4963
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
readonly
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
readonly
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
4987
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4988
|
-
}, undefined>, undefined>;
|
|
4989
|
-
}, undefined>;
|
|
4964
|
+
readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
|
|
4965
|
+
readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
|
|
4966
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4967
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4968
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4969
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4970
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4971
|
+
}, undefined>, undefined>;
|
|
4972
|
+
readonly creator: v.OptionalSchema<v.ObjectSchema<{
|
|
4973
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
4974
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
4975
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
4976
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
4977
|
+
readonly provider: v.LiteralSchema<"local", undefined>;
|
|
4978
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4979
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4980
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4981
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4982
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4983
|
+
}, undefined>, undefined>;
|
|
4984
|
+
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">]>;
|
|
4985
|
+
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: - _ .">]>;
|
|
4986
|
+
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>;
|
|
4987
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4990
4988
|
readonly id: v.NumberSchema<undefined>;
|
|
4991
4989
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4992
4990
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4995,39 +4993,35 @@ declare const SMediumDocumentWithRelations: v.ObjectSchema<{
|
|
|
4995
4993
|
}, undefined>;
|
|
4996
4994
|
type SMediumDocumentWithRelations = v.InferOutput<typeof SMediumDocumentWithRelations>;
|
|
4997
4995
|
declare const SContentDocumentWithRelations: v.ObjectSchema<{
|
|
4998
|
-
readonly
|
|
4996
|
+
readonly group: v.OptionalSchema<v.ObjectSchema<{
|
|
4999
4997
|
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">]>;
|
|
5000
4998
|
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: - _ .">]>;
|
|
5001
4999
|
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>;
|
|
5002
5000
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
readonly
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
readonly
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
5028
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
5029
|
-
}, undefined>, undefined>;
|
|
5030
|
-
}, undefined>;
|
|
5001
|
+
readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
|
|
5002
|
+
readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
|
|
5003
|
+
readonly id: v.NumberSchema<undefined>;
|
|
5004
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5005
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5006
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
5007
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
5008
|
+
}, undefined>, undefined>;
|
|
5009
|
+
readonly creator: v.OptionalSchema<v.ObjectSchema<{
|
|
5010
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
5011
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
5012
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
5013
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
5014
|
+
readonly provider: v.LiteralSchema<"local", undefined>;
|
|
5015
|
+
readonly id: v.NumberSchema<undefined>;
|
|
5016
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5017
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5018
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
5019
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
5020
|
+
}, undefined>, undefined>;
|
|
5021
|
+
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">]>;
|
|
5022
|
+
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: - _ .">]>;
|
|
5023
|
+
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>;
|
|
5024
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
5031
5025
|
readonly id: v.NumberSchema<undefined>;
|
|
5032
5026
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5033
5027
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -5036,39 +5030,35 @@ declare const SContentDocumentWithRelations: v.ObjectSchema<{
|
|
|
5036
5030
|
}, undefined>;
|
|
5037
5031
|
type SContentDocumentWithRelations = v.InferOutput<typeof SContentDocumentWithRelations>;
|
|
5038
5032
|
declare const SCreativeFormatDocumentWithRelations: v.ObjectSchema<{
|
|
5039
|
-
readonly
|
|
5033
|
+
readonly group: v.OptionalSchema<v.ObjectSchema<{
|
|
5040
5034
|
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">]>;
|
|
5041
5035
|
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: - _ .">]>;
|
|
5042
5036
|
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>;
|
|
5043
5037
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
readonly
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
readonly
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
5069
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
5070
|
-
}, undefined>, undefined>;
|
|
5071
|
-
}, undefined>;
|
|
5038
|
+
readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
|
|
5039
|
+
readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
|
|
5040
|
+
readonly id: v.NumberSchema<undefined>;
|
|
5041
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5042
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5043
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
5044
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
5045
|
+
}, undefined>, undefined>;
|
|
5046
|
+
readonly creator: v.OptionalSchema<v.ObjectSchema<{
|
|
5047
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
5048
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
5049
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
5050
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
5051
|
+
readonly provider: v.LiteralSchema<"local", undefined>;
|
|
5052
|
+
readonly id: v.NumberSchema<undefined>;
|
|
5053
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5054
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5055
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
5056
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
5057
|
+
}, undefined>, undefined>;
|
|
5058
|
+
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">]>;
|
|
5059
|
+
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: - _ .">]>;
|
|
5060
|
+
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>;
|
|
5061
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
5072
5062
|
readonly id: v.NumberSchema<undefined>;
|
|
5073
5063
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5074
5064
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -5077,39 +5067,35 @@ declare const SCreativeFormatDocumentWithRelations: v.ObjectSchema<{
|
|
|
5077
5067
|
}, undefined>;
|
|
5078
5068
|
type SCreativeFormatDocumentWithRelations = v.InferOutput<typeof SCreativeFormatDocumentWithRelations>;
|
|
5079
5069
|
declare const SCreativeFormatVariantDocumentWithRelations: v.ObjectSchema<{
|
|
5080
|
-
readonly
|
|
5070
|
+
readonly group: v.OptionalSchema<v.ObjectSchema<{
|
|
5081
5071
|
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">]>;
|
|
5082
5072
|
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: - _ .">]>;
|
|
5083
5073
|
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>;
|
|
5084
5074
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
readonly
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
readonly
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
5110
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
5111
|
-
}, undefined>, undefined>;
|
|
5112
|
-
}, undefined>;
|
|
5075
|
+
readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
|
|
5076
|
+
readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
|
|
5077
|
+
readonly id: v.NumberSchema<undefined>;
|
|
5078
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5079
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5080
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
5081
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
5082
|
+
}, undefined>, undefined>;
|
|
5083
|
+
readonly creator: v.OptionalSchema<v.ObjectSchema<{
|
|
5084
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
5085
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
5086
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
5087
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
5088
|
+
readonly provider: v.LiteralSchema<"local", undefined>;
|
|
5089
|
+
readonly id: v.NumberSchema<undefined>;
|
|
5090
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5091
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5092
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
5093
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
5094
|
+
}, undefined>, undefined>;
|
|
5095
|
+
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">]>;
|
|
5096
|
+
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: - _ .">]>;
|
|
5097
|
+
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>;
|
|
5098
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
5113
5099
|
readonly id: v.NumberSchema<undefined>;
|
|
5114
5100
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5115
5101
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -5118,39 +5104,35 @@ declare const SCreativeFormatVariantDocumentWithRelations: v.ObjectSchema<{
|
|
|
5118
5104
|
}, undefined>;
|
|
5119
5105
|
type SCreativeFormatVariantDocumentWithRelations = v.InferOutput<typeof SCreativeFormatVariantDocumentWithRelations>;
|
|
5120
5106
|
declare const STermDocumentWithRelations: v.ObjectSchema<{
|
|
5121
|
-
readonly
|
|
5107
|
+
readonly group: v.OptionalSchema<v.ObjectSchema<{
|
|
5122
5108
|
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">]>;
|
|
5123
5109
|
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: - _ .">]>;
|
|
5124
5110
|
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>;
|
|
5125
5111
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
readonly
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
readonly
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
readonly createdAt: v.StringSchema<undefined>;
|
|
5151
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
5152
|
-
}, undefined>, undefined>;
|
|
5153
|
-
}, undefined>;
|
|
5112
|
+
readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
|
|
5113
|
+
readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
|
|
5114
|
+
readonly id: v.NumberSchema<undefined>;
|
|
5115
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5116
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5117
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
5118
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
5119
|
+
}, undefined>, undefined>;
|
|
5120
|
+
readonly creator: v.OptionalSchema<v.ObjectSchema<{
|
|
5121
|
+
readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
|
|
5122
|
+
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
|
|
5123
|
+
readonly confirmed: v.BooleanSchema<undefined>;
|
|
5124
|
+
readonly blocked: v.BooleanSchema<undefined>;
|
|
5125
|
+
readonly provider: v.LiteralSchema<"local", undefined>;
|
|
5126
|
+
readonly id: v.NumberSchema<undefined>;
|
|
5127
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5128
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5129
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
5130
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
5131
|
+
}, undefined>, undefined>;
|
|
5132
|
+
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">]>;
|
|
5133
|
+
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: - _ .">]>;
|
|
5134
|
+
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>;
|
|
5135
|
+
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
5154
5136
|
readonly id: v.NumberSchema<undefined>;
|
|
5155
5137
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
5156
5138
|
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|