@mintlify/validation 0.1.845 → 0.1.847

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.
@@ -132,10 +132,13 @@ export declare const analyticsSchema: z.ZodObject<{
132
132
  }>>;
133
133
  segment: z.ZodOptional<z.ZodObject<{
134
134
  key: z.ZodString;
135
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
135
136
  }, "strip", z.ZodTypeAny, {
136
137
  key: string;
138
+ cdnUrl?: string | undefined;
137
139
  }, {
138
140
  key: string;
141
+ cdnUrl?: string | undefined;
139
142
  }>>;
140
143
  }, "strict", z.ZodTypeAny, {
141
144
  adobe?: {
@@ -194,6 +197,7 @@ export declare const analyticsSchema: z.ZodObject<{
194
197
  } | undefined;
195
198
  segment?: {
196
199
  key: string;
200
+ cdnUrl?: string | undefined;
197
201
  } | undefined;
198
202
  }, {
199
203
  adobe?: {
@@ -252,5 +256,6 @@ export declare const analyticsSchema: z.ZodObject<{
252
256
  } | undefined;
253
257
  segment?: {
254
258
  key: string;
259
+ cdnUrl?: string | undefined;
255
260
  } | undefined;
256
261
  }>;
@@ -60,6 +60,15 @@ const clarityConfigInterfaceSchema = z.object({
60
60
  });
61
61
  const segmentConfigInterfaceSchema = z.object({
62
62
  key: z.string(),
63
+ cdnUrl: z
64
+ .string()
65
+ .url()
66
+ .refine((url) => url.startsWith('https://'), 'Must be an HTTPS URL')
67
+ .refine((url) => {
68
+ const parsed = new URL(url);
69
+ return !parsed.search && !parsed.hash;
70
+ }, 'Must not contain query parameters or fragments')
71
+ .optional(),
63
72
  });
64
73
  export const analyticsSchema = z
65
74
  .object({
@@ -716,10 +716,13 @@ export declare const mintConfigSchema: z.ZodObject<{
716
716
  }>>;
717
717
  segment: z.ZodOptional<z.ZodObject<{
718
718
  key: z.ZodString;
719
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
719
720
  }, "strip", z.ZodTypeAny, {
720
721
  key: string;
722
+ cdnUrl?: string | undefined;
721
723
  }, {
722
724
  key: string;
725
+ cdnUrl?: string | undefined;
723
726
  }>>;
724
727
  }, "strict", z.ZodTypeAny, {
725
728
  adobe?: {
@@ -778,6 +781,7 @@ export declare const mintConfigSchema: z.ZodObject<{
778
781
  } | undefined;
779
782
  segment?: {
780
783
  key: string;
784
+ cdnUrl?: string | undefined;
781
785
  } | undefined;
782
786
  }, {
783
787
  adobe?: {
@@ -836,6 +840,7 @@ export declare const mintConfigSchema: z.ZodObject<{
836
840
  } | undefined;
837
841
  segment?: {
838
842
  key: string;
843
+ cdnUrl?: string | undefined;
839
844
  } | undefined;
840
845
  }>>;
841
846
  integrations: z.ZodOptional<z.ZodObject<{
@@ -1122,6 +1127,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1122
1127
  } | undefined;
1123
1128
  segment?: {
1124
1129
  key: string;
1130
+ cdnUrl?: string | undefined;
1125
1131
  } | undefined;
1126
1132
  } | undefined;
1127
1133
  integrations?: {
@@ -1370,6 +1376,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1370
1376
  } | undefined;
1371
1377
  segment?: {
1372
1378
  key: string;
1379
+ cdnUrl?: string | undefined;
1373
1380
  } | undefined;
1374
1381
  } | undefined;
1375
1382
  integrations?: {
@@ -1324,10 +1324,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1324
1324
  }>>;
1325
1325
  segment: z.ZodOptional<z.ZodObject<{
1326
1326
  key: z.ZodString;
1327
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1327
1328
  }, "strip", z.ZodTypeAny, {
1328
1329
  key: string;
1330
+ cdnUrl?: string | undefined;
1329
1331
  }, {
1330
1332
  key: string;
1333
+ cdnUrl?: string | undefined;
1331
1334
  }>>;
1332
1335
  telemetry: z.ZodOptional<z.ZodObject<{
1333
1336
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -1413,6 +1416,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1413
1416
  } | undefined;
1414
1417
  segment?: {
1415
1418
  key: string;
1419
+ cdnUrl?: string | undefined;
1416
1420
  } | undefined;
1417
1421
  intercom?: {
1418
1422
  appId: string;
@@ -1493,6 +1497,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1493
1497
  } | undefined;
1494
1498
  segment?: {
1495
1499
  key: string;
1500
+ cdnUrl?: string | undefined;
1496
1501
  } | undefined;
1497
1502
  intercom?: {
1498
1503
  appId: string;
@@ -2005,6 +2010,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2005
2010
  } | undefined;
2006
2011
  segment?: {
2007
2012
  key: string;
2013
+ cdnUrl?: string | undefined;
2008
2014
  } | undefined;
2009
2015
  intercom?: {
2010
2016
  appId: string;
@@ -2423,6 +2429,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2423
2429
  } | undefined;
2424
2430
  segment?: {
2425
2431
  key: string;
2432
+ cdnUrl?: string | undefined;
2426
2433
  } | undefined;
2427
2434
  intercom?: {
2428
2435
  appId: string;
@@ -3923,10 +3930,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
3923
3930
  }>>;
3924
3931
  segment: z.ZodOptional<z.ZodObject<{
3925
3932
  key: z.ZodString;
3933
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3926
3934
  }, "strip", z.ZodTypeAny, {
3927
3935
  key: string;
3936
+ cdnUrl?: string | undefined;
3928
3937
  }, {
3929
3938
  key: string;
3939
+ cdnUrl?: string | undefined;
3930
3940
  }>>;
3931
3941
  telemetry: z.ZodOptional<z.ZodObject<{
3932
3942
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -4012,6 +4022,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4012
4022
  } | undefined;
4013
4023
  segment?: {
4014
4024
  key: string;
4025
+ cdnUrl?: string | undefined;
4015
4026
  } | undefined;
4016
4027
  intercom?: {
4017
4028
  appId: string;
@@ -4092,6 +4103,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4092
4103
  } | undefined;
4093
4104
  segment?: {
4094
4105
  key: string;
4106
+ cdnUrl?: string | undefined;
4095
4107
  } | undefined;
4096
4108
  intercom?: {
4097
4109
  appId: string;
@@ -4604,6 +4616,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4604
4616
  } | undefined;
4605
4617
  segment?: {
4606
4618
  key: string;
4619
+ cdnUrl?: string | undefined;
4607
4620
  } | undefined;
4608
4621
  intercom?: {
4609
4622
  appId: string;
@@ -5022,6 +5035,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
5022
5035
  } | undefined;
5023
5036
  segment?: {
5024
5037
  key: string;
5038
+ cdnUrl?: string | undefined;
5025
5039
  } | undefined;
5026
5040
  intercom?: {
5027
5041
  appId: string;
@@ -6522,10 +6536,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6522
6536
  }>>;
6523
6537
  segment: z.ZodOptional<z.ZodObject<{
6524
6538
  key: z.ZodString;
6539
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
6525
6540
  }, "strip", z.ZodTypeAny, {
6526
6541
  key: string;
6542
+ cdnUrl?: string | undefined;
6527
6543
  }, {
6528
6544
  key: string;
6545
+ cdnUrl?: string | undefined;
6529
6546
  }>>;
6530
6547
  telemetry: z.ZodOptional<z.ZodObject<{
6531
6548
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -6611,6 +6628,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6611
6628
  } | undefined;
6612
6629
  segment?: {
6613
6630
  key: string;
6631
+ cdnUrl?: string | undefined;
6614
6632
  } | undefined;
6615
6633
  intercom?: {
6616
6634
  appId: string;
@@ -6691,6 +6709,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6691
6709
  } | undefined;
6692
6710
  segment?: {
6693
6711
  key: string;
6712
+ cdnUrl?: string | undefined;
6694
6713
  } | undefined;
6695
6714
  intercom?: {
6696
6715
  appId: string;
@@ -7203,6 +7222,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
7203
7222
  } | undefined;
7204
7223
  segment?: {
7205
7224
  key: string;
7225
+ cdnUrl?: string | undefined;
7206
7226
  } | undefined;
7207
7227
  intercom?: {
7208
7228
  appId: string;
@@ -7621,6 +7641,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
7621
7641
  } | undefined;
7622
7642
  segment?: {
7623
7643
  key: string;
7644
+ cdnUrl?: string | undefined;
7624
7645
  } | undefined;
7625
7646
  intercom?: {
7626
7647
  appId: string;
@@ -9153,10 +9174,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
9153
9174
  }>>;
9154
9175
  segment: z.ZodOptional<z.ZodObject<{
9155
9176
  key: z.ZodString;
9177
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
9156
9178
  }, "strip", z.ZodTypeAny, {
9157
9179
  key: string;
9180
+ cdnUrl?: string | undefined;
9158
9181
  }, {
9159
9182
  key: string;
9183
+ cdnUrl?: string | undefined;
9160
9184
  }>>;
9161
9185
  telemetry: z.ZodOptional<z.ZodObject<{
9162
9186
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -9242,6 +9266,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
9242
9266
  } | undefined;
9243
9267
  segment?: {
9244
9268
  key: string;
9269
+ cdnUrl?: string | undefined;
9245
9270
  } | undefined;
9246
9271
  intercom?: {
9247
9272
  appId: string;
@@ -9322,6 +9347,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
9322
9347
  } | undefined;
9323
9348
  segment?: {
9324
9349
  key: string;
9350
+ cdnUrl?: string | undefined;
9325
9351
  } | undefined;
9326
9352
  intercom?: {
9327
9353
  appId: string;
@@ -9834,6 +9860,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
9834
9860
  } | undefined;
9835
9861
  segment?: {
9836
9862
  key: string;
9863
+ cdnUrl?: string | undefined;
9837
9864
  } | undefined;
9838
9865
  intercom?: {
9839
9866
  appId: string;
@@ -10258,6 +10285,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
10258
10285
  } | undefined;
10259
10286
  segment?: {
10260
10287
  key: string;
10288
+ cdnUrl?: string | undefined;
10261
10289
  } | undefined;
10262
10290
  intercom?: {
10263
10291
  appId: string;
@@ -11764,10 +11792,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
11764
11792
  }>>;
11765
11793
  segment: z.ZodOptional<z.ZodObject<{
11766
11794
  key: z.ZodString;
11795
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
11767
11796
  }, "strip", z.ZodTypeAny, {
11768
11797
  key: string;
11798
+ cdnUrl?: string | undefined;
11769
11799
  }, {
11770
11800
  key: string;
11801
+ cdnUrl?: string | undefined;
11771
11802
  }>>;
11772
11803
  telemetry: z.ZodOptional<z.ZodObject<{
11773
11804
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -11853,6 +11884,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
11853
11884
  } | undefined;
11854
11885
  segment?: {
11855
11886
  key: string;
11887
+ cdnUrl?: string | undefined;
11856
11888
  } | undefined;
11857
11889
  intercom?: {
11858
11890
  appId: string;
@@ -11933,6 +11965,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
11933
11965
  } | undefined;
11934
11966
  segment?: {
11935
11967
  key: string;
11968
+ cdnUrl?: string | undefined;
11936
11969
  } | undefined;
11937
11970
  intercom?: {
11938
11971
  appId: string;
@@ -12445,6 +12478,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
12445
12478
  } | undefined;
12446
12479
  segment?: {
12447
12480
  key: string;
12481
+ cdnUrl?: string | undefined;
12448
12482
  } | undefined;
12449
12483
  intercom?: {
12450
12484
  appId: string;
@@ -12863,6 +12897,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
12863
12897
  } | undefined;
12864
12898
  segment?: {
12865
12899
  key: string;
12900
+ cdnUrl?: string | undefined;
12866
12901
  } | undefined;
12867
12902
  intercom?: {
12868
12903
  appId: string;
@@ -14363,10 +14398,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
14363
14398
  }>>;
14364
14399
  segment: z.ZodOptional<z.ZodObject<{
14365
14400
  key: z.ZodString;
14401
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
14366
14402
  }, "strip", z.ZodTypeAny, {
14367
14403
  key: string;
14404
+ cdnUrl?: string | undefined;
14368
14405
  }, {
14369
14406
  key: string;
14407
+ cdnUrl?: string | undefined;
14370
14408
  }>>;
14371
14409
  telemetry: z.ZodOptional<z.ZodObject<{
14372
14410
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -14452,6 +14490,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
14452
14490
  } | undefined;
14453
14491
  segment?: {
14454
14492
  key: string;
14493
+ cdnUrl?: string | undefined;
14455
14494
  } | undefined;
14456
14495
  intercom?: {
14457
14496
  appId: string;
@@ -14532,6 +14571,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
14532
14571
  } | undefined;
14533
14572
  segment?: {
14534
14573
  key: string;
14574
+ cdnUrl?: string | undefined;
14535
14575
  } | undefined;
14536
14576
  intercom?: {
14537
14577
  appId: string;
@@ -15044,6 +15084,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
15044
15084
  } | undefined;
15045
15085
  segment?: {
15046
15086
  key: string;
15087
+ cdnUrl?: string | undefined;
15047
15088
  } | undefined;
15048
15089
  intercom?: {
15049
15090
  appId: string;
@@ -15462,6 +15503,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
15462
15503
  } | undefined;
15463
15504
  segment?: {
15464
15505
  key: string;
15506
+ cdnUrl?: string | undefined;
15465
15507
  } | undefined;
15466
15508
  intercom?: {
15467
15509
  appId: string;
@@ -16962,10 +17004,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
16962
17004
  }>>;
16963
17005
  segment: z.ZodOptional<z.ZodObject<{
16964
17006
  key: z.ZodString;
17007
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
16965
17008
  }, "strip", z.ZodTypeAny, {
16966
17009
  key: string;
17010
+ cdnUrl?: string | undefined;
16967
17011
  }, {
16968
17012
  key: string;
17013
+ cdnUrl?: string | undefined;
16969
17014
  }>>;
16970
17015
  telemetry: z.ZodOptional<z.ZodObject<{
16971
17016
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -17051,6 +17096,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
17051
17096
  } | undefined;
17052
17097
  segment?: {
17053
17098
  key: string;
17099
+ cdnUrl?: string | undefined;
17054
17100
  } | undefined;
17055
17101
  intercom?: {
17056
17102
  appId: string;
@@ -17131,6 +17177,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
17131
17177
  } | undefined;
17132
17178
  segment?: {
17133
17179
  key: string;
17180
+ cdnUrl?: string | undefined;
17134
17181
  } | undefined;
17135
17182
  intercom?: {
17136
17183
  appId: string;
@@ -17643,6 +17690,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
17643
17690
  } | undefined;
17644
17691
  segment?: {
17645
17692
  key: string;
17693
+ cdnUrl?: string | undefined;
17646
17694
  } | undefined;
17647
17695
  intercom?: {
17648
17696
  appId: string;
@@ -18061,6 +18109,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
18061
18109
  } | undefined;
18062
18110
  segment?: {
18063
18111
  key: string;
18112
+ cdnUrl?: string | undefined;
18064
18113
  } | undefined;
18065
18114
  intercom?: {
18066
18115
  appId: string;
@@ -19561,10 +19610,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
19561
19610
  }>>;
19562
19611
  segment: z.ZodOptional<z.ZodObject<{
19563
19612
  key: z.ZodString;
19613
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
19564
19614
  }, "strip", z.ZodTypeAny, {
19565
19615
  key: string;
19616
+ cdnUrl?: string | undefined;
19566
19617
  }, {
19567
19618
  key: string;
19619
+ cdnUrl?: string | undefined;
19568
19620
  }>>;
19569
19621
  telemetry: z.ZodOptional<z.ZodObject<{
19570
19622
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -19650,6 +19702,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
19650
19702
  } | undefined;
19651
19703
  segment?: {
19652
19704
  key: string;
19705
+ cdnUrl?: string | undefined;
19653
19706
  } | undefined;
19654
19707
  intercom?: {
19655
19708
  appId: string;
@@ -19730,6 +19783,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
19730
19783
  } | undefined;
19731
19784
  segment?: {
19732
19785
  key: string;
19786
+ cdnUrl?: string | undefined;
19733
19787
  } | undefined;
19734
19788
  intercom?: {
19735
19789
  appId: string;
@@ -20242,6 +20296,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
20242
20296
  } | undefined;
20243
20297
  segment?: {
20244
20298
  key: string;
20299
+ cdnUrl?: string | undefined;
20245
20300
  } | undefined;
20246
20301
  intercom?: {
20247
20302
  appId: string;
@@ -20660,6 +20715,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
20660
20715
  } | undefined;
20661
20716
  segment?: {
20662
20717
  key: string;
20718
+ cdnUrl?: string | undefined;
20663
20719
  } | undefined;
20664
20720
  intercom?: {
20665
20721
  appId: string;
@@ -22160,10 +22216,13 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
22160
22216
  }>>;
22161
22217
  segment: z.ZodOptional<z.ZodObject<{
22162
22218
  key: z.ZodString;
22219
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
22163
22220
  }, "strip", z.ZodTypeAny, {
22164
22221
  key: string;
22222
+ cdnUrl?: string | undefined;
22165
22223
  }, {
22166
22224
  key: string;
22225
+ cdnUrl?: string | undefined;
22167
22226
  }>>;
22168
22227
  telemetry: z.ZodOptional<z.ZodObject<{
22169
22228
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -22249,6 +22308,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
22249
22308
  } | undefined;
22250
22309
  segment?: {
22251
22310
  key: string;
22311
+ cdnUrl?: string | undefined;
22252
22312
  } | undefined;
22253
22313
  intercom?: {
22254
22314
  appId: string;
@@ -22329,6 +22389,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
22329
22389
  } | undefined;
22330
22390
  segment?: {
22331
22391
  key: string;
22392
+ cdnUrl?: string | undefined;
22332
22393
  } | undefined;
22333
22394
  intercom?: {
22334
22395
  appId: string;
@@ -22841,6 +22902,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
22841
22902
  } | undefined;
22842
22903
  segment?: {
22843
22904
  key: string;
22905
+ cdnUrl?: string | undefined;
22844
22906
  } | undefined;
22845
22907
  intercom?: {
22846
22908
  appId: string;
@@ -23259,6 +23321,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
23259
23321
  } | undefined;
23260
23322
  segment?: {
23261
23323
  key: string;
23324
+ cdnUrl?: string | undefined;
23262
23325
  } | undefined;
23263
23326
  intercom?: {
23264
23327
  appId: string;
@@ -24760,10 +24823,13 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
24760
24823
  }>>;
24761
24824
  segment: z.ZodOptional<z.ZodObject<{
24762
24825
  key: z.ZodString;
24826
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
24763
24827
  }, "strip", z.ZodTypeAny, {
24764
24828
  key: string;
24829
+ cdnUrl?: string | undefined;
24765
24830
  }, {
24766
24831
  key: string;
24832
+ cdnUrl?: string | undefined;
24767
24833
  }>>;
24768
24834
  telemetry: z.ZodOptional<z.ZodObject<{
24769
24835
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -24849,6 +24915,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
24849
24915
  } | undefined;
24850
24916
  segment?: {
24851
24917
  key: string;
24918
+ cdnUrl?: string | undefined;
24852
24919
  } | undefined;
24853
24920
  intercom?: {
24854
24921
  appId: string;
@@ -24929,6 +24996,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
24929
24996
  } | undefined;
24930
24997
  segment?: {
24931
24998
  key: string;
24999
+ cdnUrl?: string | undefined;
24932
25000
  } | undefined;
24933
25001
  intercom?: {
24934
25002
  appId: string;
@@ -25441,6 +25509,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
25441
25509
  } | undefined;
25442
25510
  segment?: {
25443
25511
  key: string;
25512
+ cdnUrl?: string | undefined;
25444
25513
  } | undefined;
25445
25514
  intercom?: {
25446
25515
  appId: string;
@@ -25859,6 +25928,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
25859
25928
  } | undefined;
25860
25929
  segment?: {
25861
25930
  key: string;
25931
+ cdnUrl?: string | undefined;
25862
25932
  } | undefined;
25863
25933
  intercom?: {
25864
25934
  appId: string;
@@ -169,10 +169,13 @@ export declare const integrationsSchema: z.ZodObject<{
169
169
  }>>;
170
170
  segment: z.ZodOptional<z.ZodObject<{
171
171
  key: z.ZodString;
172
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
172
173
  }, "strip", z.ZodTypeAny, {
173
174
  key: string;
175
+ cdnUrl?: string | undefined;
174
176
  }, {
175
177
  key: string;
178
+ cdnUrl?: string | undefined;
176
179
  }>>;
177
180
  telemetry: z.ZodOptional<z.ZodObject<{
178
181
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -258,6 +261,7 @@ export declare const integrationsSchema: z.ZodObject<{
258
261
  } | undefined;
259
262
  segment?: {
260
263
  key: string;
264
+ cdnUrl?: string | undefined;
261
265
  } | undefined;
262
266
  intercom?: {
263
267
  appId: string;
@@ -338,6 +342,7 @@ export declare const integrationsSchema: z.ZodObject<{
338
342
  } | undefined;
339
343
  segment?: {
340
344
  key: string;
345
+ cdnUrl?: string | undefined;
341
346
  } | undefined;
342
347
  intercom?: {
343
348
  appId: string;
@@ -60,6 +60,20 @@ const clarityConfigSchema = z.object({
60
60
  });
61
61
  const segmentConfigSchema = z.object({
62
62
  key: z.string(),
63
+ cdnUrl: z
64
+ .string()
65
+ .url()
66
+ .refine((url) => url.startsWith('https://'), 'Must be an HTTPS URL')
67
+ .refine((url) => {
68
+ try {
69
+ const parsed = new URL(url);
70
+ return !parsed.search && !parsed.hash;
71
+ }
72
+ catch (_a) {
73
+ return true;
74
+ }
75
+ }, 'Must not contain query parameters or fragments')
76
+ .optional(),
63
77
  });
64
78
  const oneTrustConfigSchema = z.object({
65
79
  domainScript: z.string().min(1, 'Domain script is required'),
@@ -1321,10 +1321,13 @@ export declare const almondConfigSchema: z.ZodObject<{
1321
1321
  }>>;
1322
1322
  segment: z.ZodOptional<z.ZodObject<{
1323
1323
  key: z.ZodString;
1324
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1324
1325
  }, "strip", z.ZodTypeAny, {
1325
1326
  key: string;
1327
+ cdnUrl?: string | undefined;
1326
1328
  }, {
1327
1329
  key: string;
1330
+ cdnUrl?: string | undefined;
1328
1331
  }>>;
1329
1332
  telemetry: z.ZodOptional<z.ZodObject<{
1330
1333
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -1410,6 +1413,7 @@ export declare const almondConfigSchema: z.ZodObject<{
1410
1413
  } | undefined;
1411
1414
  segment?: {
1412
1415
  key: string;
1416
+ cdnUrl?: string | undefined;
1413
1417
  } | undefined;
1414
1418
  intercom?: {
1415
1419
  appId: string;
@@ -1490,6 +1494,7 @@ export declare const almondConfigSchema: z.ZodObject<{
1490
1494
  } | undefined;
1491
1495
  segment?: {
1492
1496
  key: string;
1497
+ cdnUrl?: string | undefined;
1493
1498
  } | undefined;
1494
1499
  intercom?: {
1495
1500
  appId: string;
@@ -2002,6 +2007,7 @@ export declare const almondConfigSchema: z.ZodObject<{
2002
2007
  } | undefined;
2003
2008
  segment?: {
2004
2009
  key: string;
2010
+ cdnUrl?: string | undefined;
2005
2011
  } | undefined;
2006
2012
  intercom?: {
2007
2013
  appId: string;
@@ -2420,6 +2426,7 @@ export declare const almondConfigSchema: z.ZodObject<{
2420
2426
  } | undefined;
2421
2427
  segment?: {
2422
2428
  key: string;
2429
+ cdnUrl?: string | undefined;
2423
2430
  } | undefined;
2424
2431
  intercom?: {
2425
2432
  appId: string;
@@ -1321,10 +1321,13 @@ export declare const aspenConfigSchema: z.ZodObject<{
1321
1321
  }>>;
1322
1322
  segment: z.ZodOptional<z.ZodObject<{
1323
1323
  key: z.ZodString;
1324
+ cdnUrl: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1324
1325
  }, "strip", z.ZodTypeAny, {
1325
1326
  key: string;
1327
+ cdnUrl?: string | undefined;
1326
1328
  }, {
1327
1329
  key: string;
1330
+ cdnUrl?: string | undefined;
1328
1331
  }>>;
1329
1332
  telemetry: z.ZodOptional<z.ZodObject<{
1330
1333
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -1410,6 +1413,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
1410
1413
  } | undefined;
1411
1414
  segment?: {
1412
1415
  key: string;
1416
+ cdnUrl?: string | undefined;
1413
1417
  } | undefined;
1414
1418
  intercom?: {
1415
1419
  appId: string;
@@ -1490,6 +1494,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
1490
1494
  } | undefined;
1491
1495
  segment?: {
1492
1496
  key: string;
1497
+ cdnUrl?: string | undefined;
1493
1498
  } | undefined;
1494
1499
  intercom?: {
1495
1500
  appId: string;
@@ -2002,6 +2007,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
2002
2007
  } | undefined;
2003
2008
  segment?: {
2004
2009
  key: string;
2010
+ cdnUrl?: string | undefined;
2005
2011
  } | undefined;
2006
2012
  intercom?: {
2007
2013
  appId: string;
@@ -2420,6 +2426,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
2420
2426
  } | undefined;
2421
2427
  segment?: {
2422
2428
  key: string;
2429
+ cdnUrl?: string | undefined;
2423
2430
  } | undefined;
2424
2431
  intercom?: {
2425
2432
  appId: string;