@mintlify/validation 0.1.576 → 0.1.577

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.
@@ -1043,13 +1043,6 @@ export declare const mapleConfigSchema: z.ZodObject<{
1043
1043
  }, {
1044
1044
  projectToken: string;
1045
1045
  }>>;
1046
- osano: z.ZodOptional<z.ZodObject<{
1047
- scriptSource: z.ZodString;
1048
- }, "strip", z.ZodTypeAny, {
1049
- scriptSource: string;
1050
- }, {
1051
- scriptSource: string;
1052
- }>>;
1053
1046
  pirsch: z.ZodOptional<z.ZodObject<{
1054
1047
  id: z.ZodString;
1055
1048
  }, "strip", z.ZodTypeAny, {
@@ -1160,9 +1153,6 @@ export declare const mapleConfigSchema: z.ZodObject<{
1160
1153
  frontchat?: {
1161
1154
  snippetId: string;
1162
1155
  } | undefined;
1163
- osano?: {
1164
- scriptSource: string;
1165
- } | undefined;
1166
1156
  telemetry?: {
1167
1157
  enabled?: boolean | undefined;
1168
1158
  } | undefined;
@@ -1229,9 +1219,6 @@ export declare const mapleConfigSchema: z.ZodObject<{
1229
1219
  frontchat?: {
1230
1220
  snippetId: string;
1231
1221
  } | undefined;
1232
- osano?: {
1233
- scriptSource: string;
1234
- } | undefined;
1235
1222
  telemetry?: {
1236
1223
  enabled?: boolean | undefined;
1237
1224
  } | undefined;
@@ -1657,9 +1644,6 @@ export declare const mapleConfigSchema: z.ZodObject<{
1657
1644
  frontchat?: {
1658
1645
  snippetId: string;
1659
1646
  } | undefined;
1660
- osano?: {
1661
- scriptSource: string;
1662
- } | undefined;
1663
1647
  telemetry?: {
1664
1648
  enabled?: boolean | undefined;
1665
1649
  } | undefined;
@@ -1982,9 +1966,6 @@ export declare const mapleConfigSchema: z.ZodObject<{
1982
1966
  frontchat?: {
1983
1967
  snippetId: string;
1984
1968
  } | undefined;
1985
- osano?: {
1986
- scriptSource: string;
1987
- } | undefined;
1988
1969
  telemetry?: {
1989
1970
  enabled?: boolean | undefined;
1990
1971
  } | undefined;
@@ -1043,13 +1043,6 @@ export declare const mintConfigSchema: z.ZodObject<{
1043
1043
  }, {
1044
1044
  projectToken: string;
1045
1045
  }>>;
1046
- osano: z.ZodOptional<z.ZodObject<{
1047
- scriptSource: z.ZodString;
1048
- }, "strip", z.ZodTypeAny, {
1049
- scriptSource: string;
1050
- }, {
1051
- scriptSource: string;
1052
- }>>;
1053
1046
  pirsch: z.ZodOptional<z.ZodObject<{
1054
1047
  id: z.ZodString;
1055
1048
  }, "strip", z.ZodTypeAny, {
@@ -1160,9 +1153,6 @@ export declare const mintConfigSchema: z.ZodObject<{
1160
1153
  frontchat?: {
1161
1154
  snippetId: string;
1162
1155
  } | undefined;
1163
- osano?: {
1164
- scriptSource: string;
1165
- } | undefined;
1166
1156
  telemetry?: {
1167
1157
  enabled?: boolean | undefined;
1168
1158
  } | undefined;
@@ -1229,9 +1219,6 @@ export declare const mintConfigSchema: z.ZodObject<{
1229
1219
  frontchat?: {
1230
1220
  snippetId: string;
1231
1221
  } | undefined;
1232
- osano?: {
1233
- scriptSource: string;
1234
- } | undefined;
1235
1222
  telemetry?: {
1236
1223
  enabled?: boolean | undefined;
1237
1224
  } | undefined;
@@ -1657,9 +1644,6 @@ export declare const mintConfigSchema: z.ZodObject<{
1657
1644
  frontchat?: {
1658
1645
  snippetId: string;
1659
1646
  } | undefined;
1660
- osano?: {
1661
- scriptSource: string;
1662
- } | undefined;
1663
1647
  telemetry?: {
1664
1648
  enabled?: boolean | undefined;
1665
1649
  } | undefined;
@@ -1982,9 +1966,6 @@ export declare const mintConfigSchema: z.ZodObject<{
1982
1966
  frontchat?: {
1983
1967
  snippetId: string;
1984
1968
  } | undefined;
1985
- osano?: {
1986
- scriptSource: string;
1987
- } | undefined;
1988
1969
  telemetry?: {
1989
1970
  enabled?: boolean | undefined;
1990
1971
  } | undefined;
@@ -1043,13 +1043,6 @@ export declare const palmConfigSchema: z.ZodObject<{
1043
1043
  }, {
1044
1044
  projectToken: string;
1045
1045
  }>>;
1046
- osano: z.ZodOptional<z.ZodObject<{
1047
- scriptSource: z.ZodString;
1048
- }, "strip", z.ZodTypeAny, {
1049
- scriptSource: string;
1050
- }, {
1051
- scriptSource: string;
1052
- }>>;
1053
1046
  pirsch: z.ZodOptional<z.ZodObject<{
1054
1047
  id: z.ZodString;
1055
1048
  }, "strip", z.ZodTypeAny, {
@@ -1160,9 +1153,6 @@ export declare const palmConfigSchema: z.ZodObject<{
1160
1153
  frontchat?: {
1161
1154
  snippetId: string;
1162
1155
  } | undefined;
1163
- osano?: {
1164
- scriptSource: string;
1165
- } | undefined;
1166
1156
  telemetry?: {
1167
1157
  enabled?: boolean | undefined;
1168
1158
  } | undefined;
@@ -1229,9 +1219,6 @@ export declare const palmConfigSchema: z.ZodObject<{
1229
1219
  frontchat?: {
1230
1220
  snippetId: string;
1231
1221
  } | undefined;
1232
- osano?: {
1233
- scriptSource: string;
1234
- } | undefined;
1235
1222
  telemetry?: {
1236
1223
  enabled?: boolean | undefined;
1237
1224
  } | undefined;
@@ -1657,9 +1644,6 @@ export declare const palmConfigSchema: z.ZodObject<{
1657
1644
  frontchat?: {
1658
1645
  snippetId: string;
1659
1646
  } | undefined;
1660
- osano?: {
1661
- scriptSource: string;
1662
- } | undefined;
1663
1647
  telemetry?: {
1664
1648
  enabled?: boolean | undefined;
1665
1649
  } | undefined;
@@ -1982,9 +1966,6 @@ export declare const palmConfigSchema: z.ZodObject<{
1982
1966
  frontchat?: {
1983
1967
  snippetId: string;
1984
1968
  } | undefined;
1985
- osano?: {
1986
- scriptSource: string;
1987
- } | undefined;
1988
1969
  telemetry?: {
1989
1970
  enabled?: boolean | undefined;
1990
1971
  } | undefined;
@@ -1042,13 +1042,6 @@ export declare const standardConfigSchema: {
1042
1042
  }, {
1043
1043
  projectToken: string;
1044
1044
  }>>;
1045
- osano: import("zod").ZodOptional<import("zod").ZodObject<{
1046
- scriptSource: import("zod").ZodString;
1047
- }, "strip", import("zod").ZodTypeAny, {
1048
- scriptSource: string;
1049
- }, {
1050
- scriptSource: string;
1051
- }>>;
1052
1045
  pirsch: import("zod").ZodOptional<import("zod").ZodObject<{
1053
1046
  id: import("zod").ZodString;
1054
1047
  }, "strip", import("zod").ZodTypeAny, {
@@ -1159,9 +1152,6 @@ export declare const standardConfigSchema: {
1159
1152
  frontchat?: {
1160
1153
  snippetId: string;
1161
1154
  } | undefined;
1162
- osano?: {
1163
- scriptSource: string;
1164
- } | undefined;
1165
1155
  telemetry?: {
1166
1156
  enabled?: boolean | undefined;
1167
1157
  } | undefined;
@@ -1228,9 +1218,6 @@ export declare const standardConfigSchema: {
1228
1218
  frontchat?: {
1229
1219
  snippetId: string;
1230
1220
  } | undefined;
1231
- osano?: {
1232
- scriptSource: string;
1233
- } | undefined;
1234
1221
  telemetry?: {
1235
1222
  enabled?: boolean | undefined;
1236
1223
  } | undefined;
@@ -1043,13 +1043,6 @@ export declare const willowConfigSchema: z.ZodObject<{
1043
1043
  }, {
1044
1044
  projectToken: string;
1045
1045
  }>>;
1046
- osano: z.ZodOptional<z.ZodObject<{
1047
- scriptSource: z.ZodString;
1048
- }, "strip", z.ZodTypeAny, {
1049
- scriptSource: string;
1050
- }, {
1051
- scriptSource: string;
1052
- }>>;
1053
1046
  pirsch: z.ZodOptional<z.ZodObject<{
1054
1047
  id: z.ZodString;
1055
1048
  }, "strip", z.ZodTypeAny, {
@@ -1160,9 +1153,6 @@ export declare const willowConfigSchema: z.ZodObject<{
1160
1153
  frontchat?: {
1161
1154
  snippetId: string;
1162
1155
  } | undefined;
1163
- osano?: {
1164
- scriptSource: string;
1165
- } | undefined;
1166
1156
  telemetry?: {
1167
1157
  enabled?: boolean | undefined;
1168
1158
  } | undefined;
@@ -1229,9 +1219,6 @@ export declare const willowConfigSchema: z.ZodObject<{
1229
1219
  frontchat?: {
1230
1220
  snippetId: string;
1231
1221
  } | undefined;
1232
- osano?: {
1233
- scriptSource: string;
1234
- } | undefined;
1235
1222
  telemetry?: {
1236
1223
  enabled?: boolean | undefined;
1237
1224
  } | undefined;
@@ -1657,9 +1644,6 @@ export declare const willowConfigSchema: z.ZodObject<{
1657
1644
  frontchat?: {
1658
1645
  snippetId: string;
1659
1646
  } | undefined;
1660
- osano?: {
1661
- scriptSource: string;
1662
- } | undefined;
1663
1647
  telemetry?: {
1664
1648
  enabled?: boolean | undefined;
1665
1649
  } | undefined;
@@ -1982,9 +1966,6 @@ export declare const willowConfigSchema: z.ZodObject<{
1982
1966
  frontchat?: {
1983
1967
  snippetId: string;
1984
1968
  } | undefined;
1985
- osano?: {
1986
- scriptSource: string;
1987
- } | undefined;
1988
1969
  telemetry?: {
1989
1970
  enabled?: boolean | undefined;
1990
1971
  } | undefined;
@@ -130,7 +130,7 @@ function upgradeOptionalConfig(config, opt) {
130
130
  };
131
131
  }
132
132
  export function upgradeToDocsConfig(config, opt) {
133
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2;
133
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
134
134
  const fonts = updateFont(config);
135
135
  const playground = updateApiPlayground(config);
136
136
  const eyebrows = updateEyebrows(config);
@@ -255,7 +255,7 @@ export function upgradeToDocsConfig(config, opt) {
255
255
  }
256
256
  : {})), (config.integrations || config.analytics
257
257
  ? {
258
- integrations: Object.assign(Object.assign(Object.assign(Object.assign({}, config.analytics), (((_0 = config.integrations) === null || _0 === void 0 ? void 0 : _0.intercom)
258
+ integrations: Object.assign(Object.assign(Object.assign({}, config.analytics), (((_0 = config.integrations) === null || _0 === void 0 ? void 0 : _0.intercom)
259
259
  ? {
260
260
  intercom: {
261
261
  appId: config.integrations.intercom,
@@ -267,12 +267,6 @@ export function upgradeToDocsConfig(config, opt) {
267
267
  snippetId: config.integrations.frontchat,
268
268
  },
269
269
  }
270
- : {})), (((_2 = config.integrations) === null || _2 === void 0 ? void 0 : _2.osano)
271
- ? {
272
- osano: {
273
- scriptSource: config.integrations.osano,
274
- },
275
- }
276
270
  : {})),
277
271
  }
278
272
  : {})), (fonts ? { fonts } : {})), (config.redirects ? { redirects: config.redirects } : {}));
@@ -224,7 +224,6 @@ export declare function validateMintConfig(value: unknown): z.SafeParseError<{
224
224
  integrations?: {
225
225
  intercom?: string | undefined;
226
226
  frontchat?: string | undefined;
227
- osano?: string | undefined;
228
227
  } | undefined;
229
228
  isWhiteLabeled?: boolean | undefined;
230
229
  search?: {
@@ -471,7 +470,6 @@ export declare function validateMintConfig(value: unknown): z.SafeParseError<{
471
470
  integrations?: {
472
471
  intercom?: string | undefined;
473
472
  frontchat?: string | undefined;
474
- osano?: string | undefined;
475
473
  } | undefined;
476
474
  isWhiteLabeled?: boolean | undefined;
477
475
  search?: {
@@ -697,9 +695,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
697
695
  frontchat?: {
698
696
  snippetId: string;
699
697
  } | undefined;
700
- osano?: {
701
- scriptSource: string;
702
- } | undefined;
703
698
  telemetry?: {
704
699
  enabled?: boolean | undefined;
705
700
  } | undefined;
@@ -1022,9 +1017,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1022
1017
  frontchat?: {
1023
1018
  snippetId: string;
1024
1019
  } | undefined;
1025
- osano?: {
1026
- scriptSource: string;
1027
- } | undefined;
1028
1020
  telemetry?: {
1029
1021
  enabled?: boolean | undefined;
1030
1022
  } | undefined;
@@ -1347,9 +1339,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1347
1339
  frontchat?: {
1348
1340
  snippetId: string;
1349
1341
  } | undefined;
1350
- osano?: {
1351
- scriptSource: string;
1352
- } | undefined;
1353
1342
  telemetry?: {
1354
1343
  enabled?: boolean | undefined;
1355
1344
  } | undefined;
@@ -1672,9 +1661,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1672
1661
  frontchat?: {
1673
1662
  snippetId: string;
1674
1663
  } | undefined;
1675
- osano?: {
1676
- scriptSource: string;
1677
- } | undefined;
1678
1664
  telemetry?: {
1679
1665
  enabled?: boolean | undefined;
1680
1666
  } | undefined;
@@ -1997,9 +1983,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1997
1983
  frontchat?: {
1998
1984
  snippetId: string;
1999
1985
  } | undefined;
2000
- osano?: {
2001
- scriptSource: string;
2002
- } | undefined;
2003
1986
  telemetry?: {
2004
1987
  enabled?: boolean | undefined;
2005
1988
  } | undefined;
@@ -2322,9 +2305,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2322
2305
  frontchat?: {
2323
2306
  snippetId: string;
2324
2307
  } | undefined;
2325
- osano?: {
2326
- scriptSource: string;
2327
- } | undefined;
2328
2308
  telemetry?: {
2329
2309
  enabled?: boolean | undefined;
2330
2310
  } | undefined;
@@ -2647,9 +2627,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2647
2627
  frontchat?: {
2648
2628
  snippetId: string;
2649
2629
  } | undefined;
2650
- osano?: {
2651
- scriptSource: string;
2652
- } | undefined;
2653
2630
  telemetry?: {
2654
2631
  enabled?: boolean | undefined;
2655
2632
  } | undefined;
@@ -2975,9 +2952,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2975
2952
  frontchat?: {
2976
2953
  snippetId: string;
2977
2954
  } | undefined;
2978
- osano?: {
2979
- scriptSource: string;
2980
- } | undefined;
2981
2955
  telemetry?: {
2982
2956
  enabled?: boolean | undefined;
2983
2957
  } | undefined;
@@ -3300,9 +3274,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3300
3274
  frontchat?: {
3301
3275
  snippetId: string;
3302
3276
  } | undefined;
3303
- osano?: {
3304
- scriptSource: string;
3305
- } | undefined;
3306
3277
  telemetry?: {
3307
3278
  enabled?: boolean | undefined;
3308
3279
  } | undefined;
@@ -3625,9 +3596,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3625
3596
  frontchat?: {
3626
3597
  snippetId: string;
3627
3598
  } | undefined;
3628
- osano?: {
3629
- scriptSource: string;
3630
- } | undefined;
3631
3599
  telemetry?: {
3632
3600
  enabled?: boolean | undefined;
3633
3601
  } | undefined;
@@ -3950,9 +3918,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3950
3918
  frontchat?: {
3951
3919
  snippetId: string;
3952
3920
  } | undefined;
3953
- osano?: {
3954
- scriptSource: string;
3955
- } | undefined;
3956
3921
  telemetry?: {
3957
3922
  enabled?: boolean | undefined;
3958
3923
  } | undefined;
@@ -4275,9 +4240,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4275
4240
  frontchat?: {
4276
4241
  snippetId: string;
4277
4242
  } | undefined;
4278
- osano?: {
4279
- scriptSource: string;
4280
- } | undefined;
4281
4243
  telemetry?: {
4282
4244
  enabled?: boolean | undefined;
4283
4245
  } | undefined;
@@ -4600,9 +4562,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4600
4562
  frontchat?: {
4601
4563
  snippetId: string;
4602
4564
  } | undefined;
4603
- osano?: {
4604
- scriptSource: string;
4605
- } | undefined;
4606
4565
  telemetry?: {
4607
4566
  enabled?: boolean | undefined;
4608
4567
  } | undefined;
@@ -4925,9 +4884,6 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4925
4884
  frontchat?: {
4926
4885
  snippetId: string;
4927
4886
  } | undefined;
4928
- osano?: {
4929
- scriptSource: string;
4930
- } | undefined;
4931
4887
  telemetry?: {
4932
4888
  enabled?: boolean | undefined;
4933
4889
  } | undefined;