@joeygrable94/utm-src-pub-validators 0.0.112 → 0.0.114

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.d.ts CHANGED
@@ -3,23 +3,17 @@ import * as v from 'valibot';
3
3
  declare const SQuerySortDocuments: v.OptionalSchema<v.ObjectSchema<{
4
4
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "createdAt", "updatedAt"], undefined>, "updatedAt">;
5
5
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "DESC">;
6
- }, undefined>, {
7
- readonly key: "updatedAt";
8
- readonly order: "DESC";
9
- }>;
6
+ }, undefined>, undefined>;
10
7
  type SQuerySortDocuments = v.InferOutput<typeof SQuerySortDocuments>;
11
- declare const SQueryListDocuments: v.ObjectSchema<{
8
+ declare const SQueryListDocuments: v.OptionalSchema<v.ObjectSchema<{
12
9
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
13
10
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
14
11
  readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
15
12
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
16
13
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "createdAt", "updatedAt"], undefined>, "updatedAt">;
17
14
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "DESC">;
18
- }, undefined>, {
19
- readonly key: "updatedAt";
20
- readonly order: "DESC";
21
- }>;
22
- }, undefined>;
15
+ }, undefined>, undefined>;
16
+ }, undefined>, undefined>;
23
17
  type SQueryListDocuments = v.InferOutput<typeof SQueryListDocuments>;
24
18
 
25
19
  declare const SQueryListGroupUserDocuments: v.ObjectSchema<{
@@ -81,10 +75,7 @@ type SGroupUserDocumentStatus = v.InferOutput<typeof SGroupUserDocumentStatus>;
81
75
  declare const SQuerySortGroupDocuments: v.OptionalSchema<v.ObjectSchema<{
82
76
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "apply_value_to", "apply_value_as", "createdAt", "updatedAt"], undefined>, "label">;
83
77
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
84
- }, undefined>, {
85
- readonly key: "label";
86
- readonly order: "ASC";
87
- }>;
78
+ }, undefined>, undefined>;
88
79
  type SQuerySortGroupDocuments = v.InferOutput<typeof SQuerySortGroupDocuments>;
89
80
  declare const SQueryListGroupDocuments: v.ObjectSchema<{
90
81
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
@@ -98,10 +89,7 @@ declare const SQueryListGroupDocuments: v.ObjectSchema<{
98
89
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
99
90
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "apply_value_to", "apply_value_as", "createdAt", "updatedAt"], undefined>, "label">;
100
91
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
101
- }, undefined>, {
102
- readonly key: "label";
103
- readonly order: "ASC";
104
- }>;
92
+ }, undefined>, undefined>;
105
93
  }, undefined>;
106
94
  type SQueryListGroupDocuments = v.InferOutput<typeof SQueryListGroupDocuments>;
107
95
  declare const SCreateGroupDocument: v.ObjectSchema<{
@@ -425,10 +413,7 @@ type SStripeCheckoutCreateSession = v.InferOutput<typeof SStripeCheckoutCreateSe
425
413
  declare const SQuerySortTrackingLinkDocuments: v.OptionalSchema<v.ObjectSchema<{
426
414
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "url", "destination", "is_active", "protocol", "domain", "path", "query", "fragment", "utm_source", "utm_medium", "utm_campaign", "utm_creative_format", "utm_content", "utm_term", "utm_id", "createdAt", "updatedAt"], undefined>, "createdAt">;
427
415
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "DESC">;
428
- }, undefined>, {
429
- readonly key: "createdAt";
430
- readonly order: "DESC";
431
- }>;
416
+ }, undefined>, undefined>;
432
417
  type SQuerySortTrackingLinkDocuments = v.InferOutput<typeof SQuerySortTrackingLinkDocuments>;
433
418
  declare const SQueryListTrackingLinkDocuments: v.ObjectSchema<{
434
419
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -454,10 +439,7 @@ declare const SQueryListTrackingLinkDocuments: v.ObjectSchema<{
454
439
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
455
440
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "url", "destination", "is_active", "protocol", "domain", "path", "query", "fragment", "utm_source", "utm_medium", "utm_campaign", "utm_creative_format", "utm_content", "utm_term", "utm_id", "createdAt", "updatedAt"], undefined>, "createdAt">;
456
441
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "DESC">;
457
- }, undefined>, {
458
- readonly key: "createdAt";
459
- readonly order: "DESC";
460
- }>;
442
+ }, undefined>, undefined>;
461
443
  }, undefined>;
462
444
  type SQueryListTrackingLinkDocuments = v.InferOutput<typeof SQueryListTrackingLinkDocuments>;
463
445
  declare const SCreateTrackingLinkDocument: v.ObjectSchema<{
@@ -809,10 +791,7 @@ type SUpdateUserLimitationsDocument = v.InferOutput<typeof SUpdateUserLimitation
809
791
  declare const SQuerySortUserDocuments: v.OptionalSchema<v.ObjectSchema<{
810
792
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "email", "username", "confirmed", "blocked", "createdAt", "updatedAt"], undefined>, "createdAt">;
811
793
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "DESC">;
812
- }, undefined>, {
813
- readonly key: "createdAt";
814
- readonly order: "DESC";
815
- }>;
794
+ }, undefined>, undefined>;
816
795
  type SQuerySortUserDocuments = v.InferOutput<typeof SQuerySortUserDocuments>;
817
796
  declare const SQueryListUserDocuments: v.ObjectSchema<{
818
797
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
@@ -824,10 +803,7 @@ declare const SQueryListUserDocuments: v.ObjectSchema<{
824
803
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
825
804
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "email", "username", "confirmed", "blocked", "createdAt", "updatedAt"], undefined>, "createdAt">;
826
805
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "DESC">;
827
- }, undefined>, {
828
- readonly key: "createdAt";
829
- readonly order: "DESC";
830
- }>;
806
+ }, undefined>, undefined>;
831
807
  }, undefined>;
832
808
  type SQueryListUserDocuments = v.InferOutput<typeof SQueryListUserDocuments>;
833
809
  declare const SQueryListUserDocumentsByIdentifier: v.ObjectSchema<{
@@ -866,10 +842,7 @@ type SUpdateUserDocument = v.InferOutput<typeof SUpdateUserDocument>;
866
842
  declare const SQuerySortCampaignIdDocuments: v.OptionalSchema<v.ObjectSchema<{
867
843
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "cost", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
868
844
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
869
- }, undefined>, {
870
- readonly key: "label";
871
- readonly order: "ASC";
872
- }>;
845
+ }, undefined>, undefined>;
873
846
  type SQuerySortCampaignIdDocuments = v.InferOutput<typeof SQuerySortCampaignIdDocuments>;
874
847
  declare const SQueryListCampaignIdDocuments: v.ObjectSchema<{
875
848
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -886,10 +859,7 @@ declare const SQueryListCampaignIdDocuments: v.ObjectSchema<{
886
859
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
887
860
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "cost", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
888
861
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
889
- }, undefined>, {
890
- readonly key: "label";
891
- readonly order: "ASC";
892
- }>;
862
+ }, undefined>, undefined>;
893
863
  }, undefined>;
894
864
  type SQueryListCampaignIdDocuments = v.InferOutput<typeof SQueryListCampaignIdDocuments>;
895
865
  declare const SCreateCampaignIdDocument: v.ObjectSchema<{
@@ -984,10 +954,7 @@ type SDeleteCampaignIdDocument = v.InferOutput<typeof SDeleteCampaignIdDocument>
984
954
  declare const SQuerySortCampaignKeyDocuments: v.OptionalSchema<v.ObjectSchema<{
985
955
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
986
956
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
987
- }, undefined>, {
988
- readonly key: "label";
989
- readonly order: "ASC";
990
- }>;
957
+ }, undefined>, undefined>;
991
958
  type SQuerySortCampaignKeyDocuments = v.InferOutput<typeof SQuerySortCampaignKeyDocuments>;
992
959
  declare const SQueryListCampaignKeyDocuments: v.ObjectSchema<{
993
960
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -1001,10 +968,7 @@ declare const SQueryListCampaignKeyDocuments: v.ObjectSchema<{
1001
968
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
1002
969
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1003
970
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1004
- }, undefined>, {
1005
- readonly key: "label";
1006
- readonly order: "ASC";
1007
- }>;
971
+ }, undefined>, undefined>;
1008
972
  }, undefined>;
1009
973
  type SQueryListCampaignKeyDocuments = v.InferOutput<typeof SQueryListCampaignKeyDocuments>;
1010
974
  declare const SCreateCampaignKeyDocument: v.ObjectSchema<{
@@ -1093,10 +1057,7 @@ type SDeleteCampaignKeyDocument = v.InferOutput<typeof SDeleteCampaignKeyDocumen
1093
1057
  declare const SQuerySortCampaignPhaseDocuments: v.OptionalSchema<v.ObjectSchema<{
1094
1058
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1095
1059
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1096
- }, undefined>, {
1097
- readonly key: "label";
1098
- readonly order: "ASC";
1099
- }>;
1060
+ }, undefined>, undefined>;
1100
1061
  type SQuerySortCampaignPhaseDocuments = v.InferOutput<typeof SQuerySortCampaignPhaseDocuments>;
1101
1062
  declare const SQueryListCampaignPhaseDocuments: v.ObjectSchema<{
1102
1063
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -1110,10 +1071,7 @@ declare const SQueryListCampaignPhaseDocuments: v.ObjectSchema<{
1110
1071
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
1111
1072
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1112
1073
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1113
- }, undefined>, {
1114
- readonly key: "label";
1115
- readonly order: "ASC";
1116
- }>;
1074
+ }, undefined>, undefined>;
1117
1075
  }, undefined>;
1118
1076
  type SQueryListCampaignPhaseDocuments = v.InferOutput<typeof SQueryListCampaignPhaseDocuments>;
1119
1077
  declare const SCreateCampaignPhaseDocument: v.ObjectSchema<{
@@ -1202,10 +1160,7 @@ type SDeleteCampaignPhaseDocument = v.InferOutput<typeof SDeleteCampaignPhaseDoc
1202
1160
  declare const SQuerySortCampaignProductDocuments: v.OptionalSchema<v.ObjectSchema<{
1203
1161
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1204
1162
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1205
- }, undefined>, {
1206
- readonly key: "label";
1207
- readonly order: "ASC";
1208
- }>;
1163
+ }, undefined>, undefined>;
1209
1164
  type SQuerySortCampaignProductDocuments = v.InferOutput<typeof SQuerySortCampaignProductDocuments>;
1210
1165
  declare const SQueryListCampaignProductDocuments: v.ObjectSchema<{
1211
1166
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -1219,10 +1174,7 @@ declare const SQueryListCampaignProductDocuments: v.ObjectSchema<{
1219
1174
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
1220
1175
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1221
1176
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1222
- }, undefined>, {
1223
- readonly key: "label";
1224
- readonly order: "ASC";
1225
- }>;
1177
+ }, undefined>, undefined>;
1226
1178
  }, undefined>;
1227
1179
  type SQueryListCampaignProductDocuments = v.InferOutput<typeof SQueryListCampaignProductDocuments>;
1228
1180
  declare const SCreateCampaignProductDocument: v.ObjectSchema<{
@@ -1311,10 +1263,7 @@ type SDeleteCampaignProductDocument = v.InferOutput<typeof SDeleteCampaignProduc
1311
1263
  declare const SQuerySortCampaignTargetDocuments: v.OptionalSchema<v.ObjectSchema<{
1312
1264
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1313
1265
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1314
- }, undefined>, {
1315
- readonly key: "label";
1316
- readonly order: "ASC";
1317
- }>;
1266
+ }, undefined>, undefined>;
1318
1267
  type SQuerySortCampaignTargetDocuments = v.InferOutput<typeof SQuerySortCampaignTargetDocuments>;
1319
1268
  declare const SQueryListCampaignTargetDocuments: v.ObjectSchema<{
1320
1269
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -1328,10 +1277,7 @@ declare const SQueryListCampaignTargetDocuments: v.ObjectSchema<{
1328
1277
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
1329
1278
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1330
1279
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1331
- }, undefined>, {
1332
- readonly key: "label";
1333
- readonly order: "ASC";
1334
- }>;
1280
+ }, undefined>, undefined>;
1335
1281
  }, undefined>;
1336
1282
  type SQueryListCampaignTargetDocuments = v.InferOutput<typeof SQueryListCampaignTargetDocuments>;
1337
1283
  declare const SCreateCampaignTargetDocument: v.ObjectSchema<{
@@ -1420,10 +1366,7 @@ type SDeleteCampaignTargetDocument = v.InferOutput<typeof SDeleteCampaignTargetD
1420
1366
  declare const SQuerySortContentDocuments: v.OptionalSchema<v.ObjectSchema<{
1421
1367
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1422
1368
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1423
- }, undefined>, {
1424
- readonly key: "label";
1425
- readonly order: "ASC";
1426
- }>;
1369
+ }, undefined>, undefined>;
1427
1370
  type SQuerySortContentDocuments = v.InferOutput<typeof SQuerySortContentDocuments>;
1428
1371
  declare const SQueryListContentDocuments: v.ObjectSchema<{
1429
1372
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -1437,10 +1380,7 @@ declare const SQueryListContentDocuments: v.ObjectSchema<{
1437
1380
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
1438
1381
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1439
1382
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1440
- }, undefined>, {
1441
- readonly key: "label";
1442
- readonly order: "ASC";
1443
- }>;
1383
+ }, undefined>, undefined>;
1444
1384
  }, undefined>;
1445
1385
  type SQueryListContentDocuments = v.InferOutput<typeof SQueryListContentDocuments>;
1446
1386
  declare const SCreateContentDocument: v.ObjectSchema<{
@@ -1529,10 +1469,7 @@ type SDeleteContentDocument = v.InferOutput<typeof SDeleteContentDocument>;
1529
1469
  declare const SQuerySortCreativeFormatVariantDocuments: v.OptionalSchema<v.ObjectSchema<{
1530
1470
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1531
1471
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1532
- }, undefined>, {
1533
- readonly key: "label";
1534
- readonly order: "ASC";
1535
- }>;
1472
+ }, undefined>, undefined>;
1536
1473
  type SQuerySortCreativeFormatVariantDocuments = v.InferOutput<typeof SQuerySortCreativeFormatVariantDocuments>;
1537
1474
  declare const SQueryListCreativeFormatVariantDocuments: v.ObjectSchema<{
1538
1475
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -1546,10 +1483,7 @@ declare const SQueryListCreativeFormatVariantDocuments: v.ObjectSchema<{
1546
1483
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
1547
1484
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1548
1485
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1549
- }, undefined>, {
1550
- readonly key: "label";
1551
- readonly order: "ASC";
1552
- }>;
1486
+ }, undefined>, undefined>;
1553
1487
  }, undefined>;
1554
1488
  type SQueryListCreativeFormatVariantDocuments = v.InferOutput<typeof SQueryListCreativeFormatVariantDocuments>;
1555
1489
  declare const SCreateCreativeFormatVariantDocument: v.ObjectSchema<{
@@ -1638,10 +1572,7 @@ type SDeleteCreativeFormatVariantDocument = v.InferOutput<typeof SDeleteCreative
1638
1572
  declare const SQuerySortCreativeFormatDocuments: v.OptionalSchema<v.ObjectSchema<{
1639
1573
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1640
1574
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1641
- }, undefined>, {
1642
- readonly key: "label";
1643
- readonly order: "ASC";
1644
- }>;
1575
+ }, undefined>, undefined>;
1645
1576
  type SQuerySortCreativeFormatDocuments = v.InferOutput<typeof SQuerySortCreativeFormatDocuments>;
1646
1577
  declare const SQueryListCreativeFormatDocuments: v.ObjectSchema<{
1647
1578
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -1655,10 +1586,7 @@ declare const SQueryListCreativeFormatDocuments: v.ObjectSchema<{
1655
1586
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
1656
1587
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1657
1588
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1658
- }, undefined>, {
1659
- readonly key: "label";
1660
- readonly order: "ASC";
1661
- }>;
1589
+ }, undefined>, undefined>;
1662
1590
  }, undefined>;
1663
1591
  type SQueryListCreativeFormatDocuments = v.InferOutput<typeof SQueryListCreativeFormatDocuments>;
1664
1592
  declare const SCreateCreativeFormatDocument: v.ObjectSchema<{
@@ -1747,10 +1675,7 @@ type SDeleteCreativeFormatDocument = v.InferOutput<typeof SDeleteCreativeFormatD
1747
1675
  declare const SQuerySortMediumDocuments: v.OptionalSchema<v.ObjectSchema<{
1748
1676
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1749
1677
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1750
- }, undefined>, {
1751
- readonly key: "label";
1752
- readonly order: "ASC";
1753
- }>;
1678
+ }, undefined>, undefined>;
1754
1679
  type SQuerySortMediumDocuments = v.InferOutput<typeof SQuerySortMediumDocuments>;
1755
1680
  declare const SQueryListMediumDocuments: v.ObjectSchema<{
1756
1681
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -1764,10 +1689,7 @@ declare const SQueryListMediumDocuments: v.ObjectSchema<{
1764
1689
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
1765
1690
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1766
1691
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1767
- }, undefined>, {
1768
- readonly key: "label";
1769
- readonly order: "ASC";
1770
- }>;
1692
+ }, undefined>, undefined>;
1771
1693
  }, undefined>;
1772
1694
  type SQueryListMediumDocuments = v.InferOutput<typeof SQueryListMediumDocuments>;
1773
1695
  declare const SCreateMediumDocument: v.ObjectSchema<{
@@ -1856,10 +1778,7 @@ type SDeleteMediumDocument = v.InferOutput<typeof SDeleteMediumDocument>;
1856
1778
  declare const SQuerySortSourceDocuments: v.OptionalSchema<v.ObjectSchema<{
1857
1779
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1858
1780
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1859
- }, undefined>, {
1860
- readonly key: "label";
1861
- readonly order: "ASC";
1862
- }>;
1781
+ }, undefined>, undefined>;
1863
1782
  type SQuerySortSourceDocuments = v.InferOutput<typeof SQuerySortSourceDocuments>;
1864
1783
  declare const SQueryListSourceDocuments: v.ObjectSchema<{
1865
1784
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -1873,10 +1792,7 @@ declare const SQueryListSourceDocuments: v.ObjectSchema<{
1873
1792
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
1874
1793
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1875
1794
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1876
- }, undefined>, {
1877
- readonly key: "label";
1878
- readonly order: "ASC";
1879
- }>;
1795
+ }, undefined>, undefined>;
1880
1796
  }, undefined>;
1881
1797
  type SQueryListSourceDocuments = v.InferOutput<typeof SQueryListSourceDocuments>;
1882
1798
  declare const SCreateSourceDocument: v.ObjectSchema<{
@@ -1965,10 +1881,7 @@ type SDeleteSourceDocument = v.InferOutput<typeof SDeleteSourceDocument>;
1965
1881
  declare const SQuerySortTermDocuments: v.OptionalSchema<v.ObjectSchema<{
1966
1882
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1967
1883
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1968
- }, undefined>, {
1969
- readonly key: "label";
1970
- readonly order: "ASC";
1971
- }>;
1884
+ }, undefined>, undefined>;
1972
1885
  type SQuerySortTermDocuments = v.InferOutput<typeof SQuerySortTermDocuments>;
1973
1886
  declare const SQueryListTermDocuments: v.ObjectSchema<{
1974
1887
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -1982,10 +1895,7 @@ declare const SQueryListTermDocuments: v.ObjectSchema<{
1982
1895
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
1983
1896
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "label", "value", "is_active", "createdAt", "updatedAt"], undefined>, "label">;
1984
1897
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
1985
- }, undefined>, {
1986
- readonly key: "label";
1987
- readonly order: "ASC";
1988
- }>;
1898
+ }, undefined>, undefined>;
1989
1899
  }, undefined>;
1990
1900
  type SQueryListTermDocuments = v.InferOutput<typeof SQueryListTermDocuments>;
1991
1901
  declare const SCreateTermDocument: v.ObjectSchema<{
@@ -2074,10 +1984,7 @@ type SDeleteTermDocument = v.InferOutput<typeof SDeleteTermDocument>;
2074
1984
  declare const SQuerySortWebsiteDocuments: v.OptionalSchema<v.ObjectSchema<{
2075
1985
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "domain", "is_active", "is_secure", "createdAt", "updatedAt"], undefined>, "domain">;
2076
1986
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
2077
- }, undefined>, {
2078
- readonly key: "domain";
2079
- readonly order: "ASC";
2080
- }>;
1987
+ }, undefined>, undefined>;
2081
1988
  type SQuerySortWebsiteDocuments = v.InferOutput<typeof SQuerySortWebsiteDocuments>;
2082
1989
  declare const SQueryListWebsiteDocuments: v.ObjectSchema<{
2083
1990
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
@@ -2091,10 +1998,7 @@ declare const SQueryListWebsiteDocuments: v.ObjectSchema<{
2091
1998
  readonly sort: v.OptionalSchema<v.ObjectSchema<{
2092
1999
  readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "domain", "is_active", "is_secure", "createdAt", "updatedAt"], undefined>, "domain">;
2093
2000
  readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "ASC">;
2094
- }, undefined>, {
2095
- readonly key: "domain";
2096
- readonly order: "ASC";
2097
- }>;
2001
+ }, undefined>, undefined>;
2098
2002
  }, undefined>;
2099
2003
  type SQueryListWebsiteDocuments = v.InferOutput<typeof SQueryListWebsiteDocuments>;
2100
2004
  declare const SCreateWebsiteDocument: v.ObjectSchema<{
package/dist/index.js CHANGED
@@ -1022,28 +1022,26 @@ var SQuerySortDocuments = v13.optional(
1022
1022
  v13.object({
1023
1023
  key: v13.fallback(v13.picklist(["id", "createdAt", "updatedAt"]), "updatedAt"),
1024
1024
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "DESC")
1025
- }),
1026
- {
1027
- key: "updatedAt",
1028
- order: "DESC"
1029
- }
1025
+ })
1030
1026
  );
1031
- var SQueryListDocuments = v13.object({
1032
- documentId: IsValidReferenceDocumentId,
1033
- page: IsValidMinPage,
1034
- size: v13.fallback(
1035
- v13.optional(
1036
- v13.pipe(
1037
- v13.number(),
1038
- v13.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
1039
- v13.maxValue(WEBSITE_PAGINATION_MAX_SIZE_LIMIT)
1027
+ var SQueryListDocuments = v13.optional(
1028
+ v13.object({
1029
+ documentId: IsValidReferenceDocumentId,
1030
+ page: IsValidMinPage,
1031
+ size: v13.fallback(
1032
+ v13.optional(
1033
+ v13.pipe(
1034
+ v13.number(),
1035
+ v13.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
1036
+ v13.maxValue(WEBSITE_PAGINATION_MAX_SIZE_LIMIT)
1037
+ ),
1038
+ WEBSITE_PAGINATION_DEFAULT_SIZE_LIMIT
1040
1039
  ),
1041
1040
  WEBSITE_PAGINATION_DEFAULT_SIZE_LIMIT
1042
1041
  ),
1043
- WEBSITE_PAGINATION_DEFAULT_SIZE_LIMIT
1044
- ),
1045
- sort: SQuerySortDocuments
1046
- });
1042
+ sort: SQuerySortDocuments
1043
+ })
1044
+ );
1047
1045
  var SQueryListGroupUserDocuments = v13.object({
1048
1046
  documentId: IsValidReferenceDocumentId,
1049
1047
  page: IsValidMinPage,
@@ -1116,11 +1114,7 @@ var SQuerySortGroupDocuments = v13.optional(
1116
1114
  "label"
1117
1115
  ),
1118
1116
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
1119
- }),
1120
- {
1121
- key: "label",
1122
- order: "ASC"
1123
- }
1117
+ })
1124
1118
  );
1125
1119
  var SQueryListGroupDocuments = v13.object({
1126
1120
  page: IsValidMinPage,
@@ -1331,11 +1325,7 @@ var SQuerySortTrackingLinkDocuments = v13.optional(
1331
1325
  "createdAt"
1332
1326
  ),
1333
1327
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "DESC")
1334
- }),
1335
- {
1336
- key: "createdAt",
1337
- order: "DESC"
1338
- }
1328
+ })
1339
1329
  );
1340
1330
  var SQueryListTrackingLinkDocuments = v13.object({
1341
1331
  documentId: IsValidReferenceDocumentId,
@@ -1579,11 +1569,7 @@ var SQuerySortUserDocuments = v13.optional(
1579
1569
  "createdAt"
1580
1570
  ),
1581
1571
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "DESC")
1582
- }),
1583
- {
1584
- key: "createdAt",
1585
- order: "DESC"
1586
- }
1572
+ })
1587
1573
  );
1588
1574
  var SQueryListUserDocuments = v13.object({
1589
1575
  page: IsValidMinPage,
@@ -1656,11 +1642,7 @@ var SQuerySortCampaignIdDocuments = v13.optional(
1656
1642
  "label"
1657
1643
  ),
1658
1644
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
1659
- }),
1660
- {
1661
- key: "label",
1662
- order: "ASC"
1663
- }
1645
+ })
1664
1646
  );
1665
1647
  var SQueryListCampaignIdDocuments = v13.object({
1666
1648
  documentId: IsValidReferenceDocumentId,
@@ -1741,11 +1723,7 @@ var SQuerySortCampaignKeyDocuments = v13.optional(
1741
1723
  "label"
1742
1724
  ),
1743
1725
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
1744
- }),
1745
- {
1746
- key: "label",
1747
- order: "ASC"
1748
- }
1726
+ })
1749
1727
  );
1750
1728
  var SQueryListCampaignKeyDocuments = v13.object({
1751
1729
  documentId: IsValidReferenceDocumentId,
@@ -1821,11 +1799,7 @@ var SQuerySortCampaignPhaseDocuments = v13.optional(
1821
1799
  "label"
1822
1800
  ),
1823
1801
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
1824
- }),
1825
- {
1826
- key: "label",
1827
- order: "ASC"
1828
- }
1802
+ })
1829
1803
  );
1830
1804
  var SQueryListCampaignPhaseDocuments = v13.object({
1831
1805
  documentId: IsValidReferenceDocumentId,
@@ -1901,11 +1875,7 @@ var SQuerySortCampaignProductDocuments = v13.optional(
1901
1875
  "label"
1902
1876
  ),
1903
1877
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
1904
- }),
1905
- {
1906
- key: "label",
1907
- order: "ASC"
1908
- }
1878
+ })
1909
1879
  );
1910
1880
  var SQueryListCampaignProductDocuments = v13.object({
1911
1881
  documentId: IsValidReferenceDocumentId,
@@ -1981,11 +1951,7 @@ var SQuerySortCampaignTargetDocuments = v13.optional(
1981
1951
  "label"
1982
1952
  ),
1983
1953
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
1984
- }),
1985
- {
1986
- key: "label",
1987
- order: "ASC"
1988
- }
1954
+ })
1989
1955
  );
1990
1956
  var SQueryListCampaignTargetDocuments = v13.object({
1991
1957
  documentId: IsValidReferenceDocumentId,
@@ -2061,11 +2027,7 @@ var SQuerySortContentDocuments = v13.optional(
2061
2027
  "label"
2062
2028
  ),
2063
2029
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
2064
- }),
2065
- {
2066
- key: "label",
2067
- order: "ASC"
2068
- }
2030
+ })
2069
2031
  );
2070
2032
  var SQueryListContentDocuments = v13.object({
2071
2033
  documentId: IsValidReferenceDocumentId,
@@ -2141,11 +2103,7 @@ var SQuerySortCreativeFormatVariantDocuments = v13.optional(
2141
2103
  "label"
2142
2104
  ),
2143
2105
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
2144
- }),
2145
- {
2146
- key: "label",
2147
- order: "ASC"
2148
- }
2106
+ })
2149
2107
  );
2150
2108
  var SQueryListCreativeFormatVariantDocuments = v13.object({
2151
2109
  documentId: IsValidReferenceDocumentId,
@@ -2221,11 +2179,7 @@ var SQuerySortCreativeFormatDocuments = v13.optional(
2221
2179
  "label"
2222
2180
  ),
2223
2181
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
2224
- }),
2225
- {
2226
- key: "label",
2227
- order: "ASC"
2228
- }
2182
+ })
2229
2183
  );
2230
2184
  var SQueryListCreativeFormatDocuments = v13.object({
2231
2185
  documentId: IsValidReferenceDocumentId,
@@ -2301,11 +2255,7 @@ var SQuerySortMediumDocuments = v13.optional(
2301
2255
  "label"
2302
2256
  ),
2303
2257
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
2304
- }),
2305
- {
2306
- key: "label",
2307
- order: "ASC"
2308
- }
2258
+ })
2309
2259
  );
2310
2260
  var SQueryListMediumDocuments = v13.object({
2311
2261
  documentId: IsValidReferenceDocumentId,
@@ -2381,11 +2331,7 @@ var SQuerySortSourceDocuments = v13.optional(
2381
2331
  "label"
2382
2332
  ),
2383
2333
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
2384
- }),
2385
- {
2386
- key: "label",
2387
- order: "ASC"
2388
- }
2334
+ })
2389
2335
  );
2390
2336
  var SQueryListSourceDocuments = v13.object({
2391
2337
  documentId: IsValidReferenceDocumentId,
@@ -2461,11 +2407,7 @@ var SQuerySortTermDocuments = v13.optional(
2461
2407
  "label"
2462
2408
  ),
2463
2409
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
2464
- }),
2465
- {
2466
- key: "label",
2467
- order: "ASC"
2468
- }
2410
+ })
2469
2411
  );
2470
2412
  var SQueryListTermDocuments = v13.object({
2471
2413
  documentId: IsValidReferenceDocumentId,
@@ -2541,11 +2483,7 @@ var SQuerySortWebsiteDocuments = v13.optional(
2541
2483
  "domain"
2542
2484
  ),
2543
2485
  order: v13.fallback(v13.picklist(["ASC", "DESC"]), "ASC")
2544
- }),
2545
- {
2546
- key: "domain",
2547
- order: "ASC"
2548
- }
2486
+ })
2549
2487
  );
2550
2488
  var SQueryListWebsiteDocuments = v13.object({
2551
2489
  documentId: IsValidReferenceDocumentId,