@joeygrable94/utm-src-pub-validators 0.0.50 → 0.0.51
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 +1020 -865
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +58 -80
- package/dist/index.d.ts +58 -80
- package/dist/index.js +1019 -864
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2188,15 +2188,13 @@ type SRoleDocumentOut = v.InferOutput<typeof SRoleDocument>;
|
|
|
2188
2188
|
type SRoleRelationsDocumentIn = v.InferInput<typeof SRoleRelationsDocument>;
|
|
2189
2189
|
type SRoleRelationsDocumentOut = v.InferOutput<typeof SRoleRelationsDocument>;
|
|
2190
2190
|
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
}
|
|
2198
|
-
|
|
2199
|
-
type SBaseDocumentOut = v.InferOutput<typeof SBaseDocument>;
|
|
2191
|
+
type SBaseDocument = {
|
|
2192
|
+
id: number;
|
|
2193
|
+
documentId: string;
|
|
2194
|
+
publishedAt?: string | null;
|
|
2195
|
+
createdAt: string;
|
|
2196
|
+
updatedAt: string;
|
|
2197
|
+
};
|
|
2200
2198
|
|
|
2201
2199
|
type MediaFormat = {
|
|
2202
2200
|
ext: string;
|
|
@@ -2216,7 +2214,7 @@ type MediaFormats = {
|
|
|
2216
2214
|
medium?: MediaFormat;
|
|
2217
2215
|
thumbnail?: MediaFormat;
|
|
2218
2216
|
};
|
|
2219
|
-
type MediaUploadDocument =
|
|
2217
|
+
type MediaUploadDocument = SBaseDocument & {
|
|
2220
2218
|
name: string;
|
|
2221
2219
|
alternativeText: string | null;
|
|
2222
2220
|
caption: string | null;
|
|
@@ -4312,13 +4310,11 @@ declare const SUserAuthorizationSuccessResponse: v.ObjectSchema<{
|
|
|
4312
4310
|
type SUserAuthorizationSuccessResponse = v.InferOutput<typeof SUserAuthorizationSuccessResponse>;
|
|
4313
4311
|
|
|
4314
4312
|
declare const SCampaignIdDocumentWithRelations: v.ObjectSchema<{
|
|
4315
|
-
readonly
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4321
|
-
}, undefined>;
|
|
4313
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4314
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4315
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4316
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4317
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4322
4318
|
readonly SBaseCampaignIdDocument: v.ObjectSchema<{
|
|
4323
4319
|
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">]>;
|
|
4324
4320
|
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: - _ .">]>;
|
|
@@ -4356,13 +4352,11 @@ declare const SCampaignIdDocumentWithRelations: v.ObjectSchema<{
|
|
|
4356
4352
|
}, undefined>;
|
|
4357
4353
|
type SCampaignIdDocumentWithRelations = v.InferOutput<typeof SCampaignIdDocumentWithRelations>;
|
|
4358
4354
|
declare const SCampaignKeyDocumentWithRelations: v.ObjectSchema<{
|
|
4359
|
-
readonly
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4365
|
-
}, undefined>;
|
|
4355
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4356
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4357
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4358
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4359
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4366
4360
|
readonly SBaseCampaignKeyDocument: v.ObjectSchema<{
|
|
4367
4361
|
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">]>;
|
|
4368
4362
|
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: - _ .">]>;
|
|
@@ -4399,13 +4393,11 @@ declare const SCampaignKeyDocumentWithRelations: v.ObjectSchema<{
|
|
|
4399
4393
|
}, undefined>;
|
|
4400
4394
|
type SCampaignKeyDocumentWithRelations = v.InferOutput<typeof SCampaignKeyDocumentWithRelations>;
|
|
4401
4395
|
declare const SCampaignPhaseDocumentWithRelations: v.ObjectSchema<{
|
|
4402
|
-
readonly
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4408
|
-
}, undefined>;
|
|
4396
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4397
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4398
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4399
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4400
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4409
4401
|
readonly SBaseCampaignPhaseDocument: v.ObjectSchema<{
|
|
4410
4402
|
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">]>;
|
|
4411
4403
|
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: - _ .">]>;
|
|
@@ -4442,13 +4434,11 @@ declare const SCampaignPhaseDocumentWithRelations: v.ObjectSchema<{
|
|
|
4442
4434
|
}, undefined>;
|
|
4443
4435
|
type SCampaignPhaseDocumentWithRelations = v.InferOutput<typeof SCampaignPhaseDocumentWithRelations>;
|
|
4444
4436
|
declare const SCampaignProductDocumentWithRelations: v.ObjectSchema<{
|
|
4445
|
-
readonly
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4451
|
-
}, undefined>;
|
|
4437
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4438
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4439
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4440
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4441
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4452
4442
|
readonly SBaseCampaignProductDocument: v.ObjectSchema<{
|
|
4453
4443
|
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">]>;
|
|
4454
4444
|
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: - _ .">]>;
|
|
@@ -4485,13 +4475,11 @@ declare const SCampaignProductDocumentWithRelations: v.ObjectSchema<{
|
|
|
4485
4475
|
}, undefined>;
|
|
4486
4476
|
type SCampaignProductDocumentWithRelations = v.InferOutput<typeof SCampaignProductDocumentWithRelations>;
|
|
4487
4477
|
declare const SSourceDocumentWithRelations: v.ObjectSchema<{
|
|
4488
|
-
readonly
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4494
|
-
}, undefined>;
|
|
4478
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4479
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4480
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4481
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4482
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4495
4483
|
readonly SBaseSourceDocument: v.ObjectSchema<{
|
|
4496
4484
|
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">]>;
|
|
4497
4485
|
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: - _ .">]>;
|
|
@@ -4528,13 +4516,11 @@ declare const SSourceDocumentWithRelations: v.ObjectSchema<{
|
|
|
4528
4516
|
}, undefined>;
|
|
4529
4517
|
type SSourceDocumentWithRelations = v.InferOutput<typeof SSourceDocumentWithRelations>;
|
|
4530
4518
|
declare const SMediumDocumentWithRelations: v.ObjectSchema<{
|
|
4531
|
-
readonly
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4537
|
-
}, undefined>;
|
|
4519
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4520
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4521
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4522
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4523
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4538
4524
|
readonly SBaseMediumDocument: v.ObjectSchema<{
|
|
4539
4525
|
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">]>;
|
|
4540
4526
|
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: - _ .">]>;
|
|
@@ -4571,13 +4557,11 @@ declare const SMediumDocumentWithRelations: v.ObjectSchema<{
|
|
|
4571
4557
|
}, undefined>;
|
|
4572
4558
|
type SMediumDocumentWithRelations = v.InferOutput<typeof SMediumDocumentWithRelations>;
|
|
4573
4559
|
declare const SContentDocumentWithRelations: v.ObjectSchema<{
|
|
4574
|
-
readonly
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4580
|
-
}, undefined>;
|
|
4560
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4561
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4562
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4563
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4564
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4581
4565
|
readonly SBaseContentDocument: v.ObjectSchema<{
|
|
4582
4566
|
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">]>;
|
|
4583
4567
|
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: - _ .">]>;
|
|
@@ -4614,13 +4598,11 @@ declare const SContentDocumentWithRelations: v.ObjectSchema<{
|
|
|
4614
4598
|
}, undefined>;
|
|
4615
4599
|
type SContentDocumentWithRelations = v.InferOutput<typeof SContentDocumentWithRelations>;
|
|
4616
4600
|
declare const SCreativeFormatDocumentWithRelations: v.ObjectSchema<{
|
|
4617
|
-
readonly
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4623
|
-
}, undefined>;
|
|
4601
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4602
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4603
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4604
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4605
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4624
4606
|
readonly SBaseCreativeFormatDocument: v.ObjectSchema<{
|
|
4625
4607
|
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">]>;
|
|
4626
4608
|
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: - _ .">]>;
|
|
@@ -4657,13 +4639,11 @@ declare const SCreativeFormatDocumentWithRelations: v.ObjectSchema<{
|
|
|
4657
4639
|
}, undefined>;
|
|
4658
4640
|
type SCreativeFormatDocumentWithRelations = v.InferOutput<typeof SCreativeFormatDocumentWithRelations>;
|
|
4659
4641
|
declare const SCreativeFormatVariantDocumentWithRelations: v.ObjectSchema<{
|
|
4660
|
-
readonly
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4666
|
-
}, undefined>;
|
|
4642
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4643
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4644
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4645
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4646
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4667
4647
|
readonly SBaseCreativeFormatVariantDocument: v.ObjectSchema<{
|
|
4668
4648
|
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">]>;
|
|
4669
4649
|
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: - _ .">]>;
|
|
@@ -4700,13 +4680,11 @@ declare const SCreativeFormatVariantDocumentWithRelations: v.ObjectSchema<{
|
|
|
4700
4680
|
}, undefined>;
|
|
4701
4681
|
type SCreativeFormatVariantDocumentWithRelations = v.InferOutput<typeof SCreativeFormatVariantDocumentWithRelations>;
|
|
4702
4682
|
declare const STermDocumentWithRelations: v.ObjectSchema<{
|
|
4703
|
-
readonly
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4709
|
-
}, undefined>;
|
|
4683
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4684
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4685
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4686
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4687
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4710
4688
|
readonly SBaseTermDocument: v.ObjectSchema<{
|
|
4711
4689
|
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">]>;
|
|
4712
4690
|
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: - _ .">]>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2188,15 +2188,13 @@ type SRoleDocumentOut = v.InferOutput<typeof SRoleDocument>;
|
|
|
2188
2188
|
type SRoleRelationsDocumentIn = v.InferInput<typeof SRoleRelationsDocument>;
|
|
2189
2189
|
type SRoleRelationsDocumentOut = v.InferOutput<typeof SRoleRelationsDocument>;
|
|
2190
2190
|
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
}
|
|
2198
|
-
|
|
2199
|
-
type SBaseDocumentOut = v.InferOutput<typeof SBaseDocument>;
|
|
2191
|
+
type SBaseDocument = {
|
|
2192
|
+
id: number;
|
|
2193
|
+
documentId: string;
|
|
2194
|
+
publishedAt?: string | null;
|
|
2195
|
+
createdAt: string;
|
|
2196
|
+
updatedAt: string;
|
|
2197
|
+
};
|
|
2200
2198
|
|
|
2201
2199
|
type MediaFormat = {
|
|
2202
2200
|
ext: string;
|
|
@@ -2216,7 +2214,7 @@ type MediaFormats = {
|
|
|
2216
2214
|
medium?: MediaFormat;
|
|
2217
2215
|
thumbnail?: MediaFormat;
|
|
2218
2216
|
};
|
|
2219
|
-
type MediaUploadDocument =
|
|
2217
|
+
type MediaUploadDocument = SBaseDocument & {
|
|
2220
2218
|
name: string;
|
|
2221
2219
|
alternativeText: string | null;
|
|
2222
2220
|
caption: string | null;
|
|
@@ -4312,13 +4310,11 @@ declare const SUserAuthorizationSuccessResponse: v.ObjectSchema<{
|
|
|
4312
4310
|
type SUserAuthorizationSuccessResponse = v.InferOutput<typeof SUserAuthorizationSuccessResponse>;
|
|
4313
4311
|
|
|
4314
4312
|
declare const SCampaignIdDocumentWithRelations: v.ObjectSchema<{
|
|
4315
|
-
readonly
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4321
|
-
}, undefined>;
|
|
4313
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4314
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4315
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4316
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4317
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4322
4318
|
readonly SBaseCampaignIdDocument: v.ObjectSchema<{
|
|
4323
4319
|
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">]>;
|
|
4324
4320
|
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: - _ .">]>;
|
|
@@ -4356,13 +4352,11 @@ declare const SCampaignIdDocumentWithRelations: v.ObjectSchema<{
|
|
|
4356
4352
|
}, undefined>;
|
|
4357
4353
|
type SCampaignIdDocumentWithRelations = v.InferOutput<typeof SCampaignIdDocumentWithRelations>;
|
|
4358
4354
|
declare const SCampaignKeyDocumentWithRelations: v.ObjectSchema<{
|
|
4359
|
-
readonly
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4365
|
-
}, undefined>;
|
|
4355
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4356
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4357
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4358
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4359
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4366
4360
|
readonly SBaseCampaignKeyDocument: v.ObjectSchema<{
|
|
4367
4361
|
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">]>;
|
|
4368
4362
|
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: - _ .">]>;
|
|
@@ -4399,13 +4393,11 @@ declare const SCampaignKeyDocumentWithRelations: v.ObjectSchema<{
|
|
|
4399
4393
|
}, undefined>;
|
|
4400
4394
|
type SCampaignKeyDocumentWithRelations = v.InferOutput<typeof SCampaignKeyDocumentWithRelations>;
|
|
4401
4395
|
declare const SCampaignPhaseDocumentWithRelations: v.ObjectSchema<{
|
|
4402
|
-
readonly
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4408
|
-
}, undefined>;
|
|
4396
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4397
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4398
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4399
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4400
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4409
4401
|
readonly SBaseCampaignPhaseDocument: v.ObjectSchema<{
|
|
4410
4402
|
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">]>;
|
|
4411
4403
|
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: - _ .">]>;
|
|
@@ -4442,13 +4434,11 @@ declare const SCampaignPhaseDocumentWithRelations: v.ObjectSchema<{
|
|
|
4442
4434
|
}, undefined>;
|
|
4443
4435
|
type SCampaignPhaseDocumentWithRelations = v.InferOutput<typeof SCampaignPhaseDocumentWithRelations>;
|
|
4444
4436
|
declare const SCampaignProductDocumentWithRelations: v.ObjectSchema<{
|
|
4445
|
-
readonly
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4451
|
-
}, undefined>;
|
|
4437
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4438
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4439
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4440
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4441
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4452
4442
|
readonly SBaseCampaignProductDocument: v.ObjectSchema<{
|
|
4453
4443
|
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">]>;
|
|
4454
4444
|
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: - _ .">]>;
|
|
@@ -4485,13 +4475,11 @@ declare const SCampaignProductDocumentWithRelations: v.ObjectSchema<{
|
|
|
4485
4475
|
}, undefined>;
|
|
4486
4476
|
type SCampaignProductDocumentWithRelations = v.InferOutput<typeof SCampaignProductDocumentWithRelations>;
|
|
4487
4477
|
declare const SSourceDocumentWithRelations: v.ObjectSchema<{
|
|
4488
|
-
readonly
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4494
|
-
}, undefined>;
|
|
4478
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4479
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4480
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4481
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4482
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4495
4483
|
readonly SBaseSourceDocument: v.ObjectSchema<{
|
|
4496
4484
|
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">]>;
|
|
4497
4485
|
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: - _ .">]>;
|
|
@@ -4528,13 +4516,11 @@ declare const SSourceDocumentWithRelations: v.ObjectSchema<{
|
|
|
4528
4516
|
}, undefined>;
|
|
4529
4517
|
type SSourceDocumentWithRelations = v.InferOutput<typeof SSourceDocumentWithRelations>;
|
|
4530
4518
|
declare const SMediumDocumentWithRelations: v.ObjectSchema<{
|
|
4531
|
-
readonly
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4537
|
-
}, undefined>;
|
|
4519
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4520
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4521
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4522
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4523
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4538
4524
|
readonly SBaseMediumDocument: v.ObjectSchema<{
|
|
4539
4525
|
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">]>;
|
|
4540
4526
|
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: - _ .">]>;
|
|
@@ -4571,13 +4557,11 @@ declare const SMediumDocumentWithRelations: v.ObjectSchema<{
|
|
|
4571
4557
|
}, undefined>;
|
|
4572
4558
|
type SMediumDocumentWithRelations = v.InferOutput<typeof SMediumDocumentWithRelations>;
|
|
4573
4559
|
declare const SContentDocumentWithRelations: v.ObjectSchema<{
|
|
4574
|
-
readonly
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4580
|
-
}, undefined>;
|
|
4560
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4561
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4562
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4563
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4564
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4581
4565
|
readonly SBaseContentDocument: v.ObjectSchema<{
|
|
4582
4566
|
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">]>;
|
|
4583
4567
|
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: - _ .">]>;
|
|
@@ -4614,13 +4598,11 @@ declare const SContentDocumentWithRelations: v.ObjectSchema<{
|
|
|
4614
4598
|
}, undefined>;
|
|
4615
4599
|
type SContentDocumentWithRelations = v.InferOutput<typeof SContentDocumentWithRelations>;
|
|
4616
4600
|
declare const SCreativeFormatDocumentWithRelations: v.ObjectSchema<{
|
|
4617
|
-
readonly
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4623
|
-
}, undefined>;
|
|
4601
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4602
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4603
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4604
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4605
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4624
4606
|
readonly SBaseCreativeFormatDocument: v.ObjectSchema<{
|
|
4625
4607
|
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">]>;
|
|
4626
4608
|
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: - _ .">]>;
|
|
@@ -4657,13 +4639,11 @@ declare const SCreativeFormatDocumentWithRelations: v.ObjectSchema<{
|
|
|
4657
4639
|
}, undefined>;
|
|
4658
4640
|
type SCreativeFormatDocumentWithRelations = v.InferOutput<typeof SCreativeFormatDocumentWithRelations>;
|
|
4659
4641
|
declare const SCreativeFormatVariantDocumentWithRelations: v.ObjectSchema<{
|
|
4660
|
-
readonly
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4666
|
-
}, undefined>;
|
|
4642
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4643
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4644
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4645
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4646
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4667
4647
|
readonly SBaseCreativeFormatVariantDocument: v.ObjectSchema<{
|
|
4668
4648
|
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">]>;
|
|
4669
4649
|
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: - _ .">]>;
|
|
@@ -4700,13 +4680,11 @@ declare const SCreativeFormatVariantDocumentWithRelations: v.ObjectSchema<{
|
|
|
4700
4680
|
}, undefined>;
|
|
4701
4681
|
type SCreativeFormatVariantDocumentWithRelations = v.InferOutput<typeof SCreativeFormatVariantDocumentWithRelations>;
|
|
4702
4682
|
declare const STermDocumentWithRelations: v.ObjectSchema<{
|
|
4703
|
-
readonly
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
readonly updatedAt: v.StringSchema<undefined>;
|
|
4709
|
-
}, undefined>;
|
|
4683
|
+
readonly id: v.NumberSchema<undefined>;
|
|
4684
|
+
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
4685
|
+
readonly publishedAt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4686
|
+
readonly createdAt: v.StringSchema<undefined>;
|
|
4687
|
+
readonly updatedAt: v.StringSchema<undefined>;
|
|
4710
4688
|
readonly SBaseTermDocument: v.ObjectSchema<{
|
|
4711
4689
|
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">]>;
|
|
4712
4690
|
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: - _ .">]>;
|