@fern-api/fern-api-dev 5.86.0 → 5.88.0
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/cli.cjs +1302 -100
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -54019,6 +54019,19 @@ var init_OAuthAccessTokenResponsePropertiesSchema = __esm({
|
|
|
54019
54019
|
}
|
|
54020
54020
|
});
|
|
54021
54021
|
|
|
54022
|
+
// ../fern-definition/schema/lib/schemas/api/resources/auth/types/OAuthFlowTypeSchema.js
|
|
54023
|
+
var OAuthFlowTypeSchema;
|
|
54024
|
+
var init_OAuthFlowTypeSchema = __esm({
|
|
54025
|
+
"../fern-definition/schema/lib/schemas/api/resources/auth/types/OAuthFlowTypeSchema.js"() {
|
|
54026
|
+
"use strict";
|
|
54027
|
+
OAuthFlowTypeSchema = {
|
|
54028
|
+
ClientCredentials: "client-credentials",
|
|
54029
|
+
AuthorizationCode: "authorization-code",
|
|
54030
|
+
DeviceCode: "device-code"
|
|
54031
|
+
};
|
|
54032
|
+
}
|
|
54033
|
+
});
|
|
54034
|
+
|
|
54022
54035
|
// ../fern-definition/schema/lib/schemas/api/resources/auth/types/OAuthGetTokenEndpointSchema.js
|
|
54023
54036
|
var init_OAuthGetTokenEndpointSchema = __esm({
|
|
54024
54037
|
"../fern-definition/schema/lib/schemas/api/resources/auth/types/OAuthGetTokenEndpointSchema.js"() {
|
|
@@ -54026,6 +54039,13 @@ var init_OAuthGetTokenEndpointSchema = __esm({
|
|
|
54026
54039
|
}
|
|
54027
54040
|
});
|
|
54028
54041
|
|
|
54042
|
+
// ../fern-definition/schema/lib/schemas/api/resources/auth/types/OAuthPkceSchema.js
|
|
54043
|
+
var init_OAuthPkceSchema = __esm({
|
|
54044
|
+
"../fern-definition/schema/lib/schemas/api/resources/auth/types/OAuthPkceSchema.js"() {
|
|
54045
|
+
"use strict";
|
|
54046
|
+
}
|
|
54047
|
+
});
|
|
54048
|
+
|
|
54029
54049
|
// ../fern-definition/schema/lib/schemas/api/resources/auth/types/OAuthRefreshTokenEndpointSchema.js
|
|
54030
54050
|
var init_OAuthRefreshTokenEndpointSchema = __esm({
|
|
54031
54051
|
"../fern-definition/schema/lib/schemas/api/resources/auth/types/OAuthRefreshTokenEndpointSchema.js"() {
|
|
@@ -54054,6 +54074,20 @@ var init_OAuthSchemeSchema = __esm({
|
|
|
54054
54074
|
}
|
|
54055
54075
|
});
|
|
54056
54076
|
|
|
54077
|
+
// ../fern-definition/schema/lib/schemas/api/resources/auth/types/RedirectUriSchema.js
|
|
54078
|
+
var init_RedirectUriSchema = __esm({
|
|
54079
|
+
"../fern-definition/schema/lib/schemas/api/resources/auth/types/RedirectUriSchema.js"() {
|
|
54080
|
+
"use strict";
|
|
54081
|
+
}
|
|
54082
|
+
});
|
|
54083
|
+
|
|
54084
|
+
// ../fern-definition/schema/lib/schemas/api/resources/auth/types/RedirectUriWithBackupPortsSchema.js
|
|
54085
|
+
var init_RedirectUriWithBackupPortsSchema = __esm({
|
|
54086
|
+
"../fern-definition/schema/lib/schemas/api/resources/auth/types/RedirectUriWithBackupPortsSchema.js"() {
|
|
54087
|
+
"use strict";
|
|
54088
|
+
}
|
|
54089
|
+
});
|
|
54090
|
+
|
|
54057
54091
|
// ../fern-definition/schema/lib/schemas/api/resources/auth/types/TokenBearerAuthSchema.js
|
|
54058
54092
|
var init_TokenBearerAuthSchema = __esm({
|
|
54059
54093
|
"../fern-definition/schema/lib/schemas/api/resources/auth/types/TokenBearerAuthSchema.js"() {
|
|
@@ -54098,11 +54132,15 @@ var init_types2 = __esm({
|
|
|
54098
54132
|
init_InferredGetTokenEndpointSchemaObject();
|
|
54099
54133
|
init_OAuthAccessTokenRequestPropertiesSchema();
|
|
54100
54134
|
init_OAuthAccessTokenResponsePropertiesSchema();
|
|
54135
|
+
init_OAuthFlowTypeSchema();
|
|
54101
54136
|
init_OAuthGetTokenEndpointSchema();
|
|
54137
|
+
init_OAuthPkceSchema();
|
|
54102
54138
|
init_OAuthRefreshTokenEndpointSchema();
|
|
54103
54139
|
init_OAuthRefreshTokenRequestPropertiesSchema();
|
|
54104
54140
|
init_OAuthRefreshTokenResponsePropertiesSchema();
|
|
54105
54141
|
init_OAuthSchemeSchema();
|
|
54142
|
+
init_RedirectUriSchema();
|
|
54143
|
+
init_RedirectUriWithBackupPortsSchema();
|
|
54106
54144
|
init_TokenBearerAuthSchema();
|
|
54107
54145
|
init_WithAuthSchema();
|
|
54108
54146
|
init_WithEnvironmentVariable();
|
|
@@ -54111,6 +54149,9 @@ var init_types2 = __esm({
|
|
|
54111
54149
|
|
|
54112
54150
|
// ../fern-definition/schema/lib/schemas/api/resources/auth/index.js
|
|
54113
54151
|
var auth_exports = {};
|
|
54152
|
+
__export(auth_exports, {
|
|
54153
|
+
OAuthFlowTypeSchema: () => OAuthFlowTypeSchema
|
|
54154
|
+
});
|
|
54114
54155
|
var init_auth = __esm({
|
|
54115
54156
|
"../fern-definition/schema/lib/schemas/api/resources/auth/index.js"() {
|
|
54116
54157
|
"use strict";
|
|
@@ -58194,6 +58235,16 @@ var init_AuthScope2 = __esm({
|
|
|
58194
58235
|
}
|
|
58195
58236
|
});
|
|
58196
58237
|
|
|
58238
|
+
// ../fern-definition/schema/lib/schemas/serialization/resources/auth/types/OAuthFlowTypeSchema.js
|
|
58239
|
+
var OAuthFlowTypeSchema2;
|
|
58240
|
+
var init_OAuthFlowTypeSchema2 = __esm({
|
|
58241
|
+
"../fern-definition/schema/lib/schemas/serialization/resources/auth/types/OAuthFlowTypeSchema.js"() {
|
|
58242
|
+
"use strict";
|
|
58243
|
+
init_core();
|
|
58244
|
+
OAuthFlowTypeSchema2 = schemas_exports.enum_(["client-credentials", "authorization-code", "device-code"]);
|
|
58245
|
+
}
|
|
58246
|
+
});
|
|
58247
|
+
|
|
58197
58248
|
// ../fern-definition/schema/lib/schemas/serialization/resources/auth/types/OAuthAccessTokenRequestPropertiesSchema.js
|
|
58198
58249
|
var OAuthAccessTokenRequestPropertiesSchema;
|
|
58199
58250
|
var init_OAuthAccessTokenRequestPropertiesSchema2 = __esm({
|
|
@@ -58238,6 +58289,18 @@ var init_OAuthGetTokenEndpointSchema2 = __esm({
|
|
|
58238
58289
|
}
|
|
58239
58290
|
});
|
|
58240
58291
|
|
|
58292
|
+
// ../fern-definition/schema/lib/schemas/serialization/resources/auth/types/OAuthPkceSchema.js
|
|
58293
|
+
var OAuthPkceSchema;
|
|
58294
|
+
var init_OAuthPkceSchema2 = __esm({
|
|
58295
|
+
"../fern-definition/schema/lib/schemas/serialization/resources/auth/types/OAuthPkceSchema.js"() {
|
|
58296
|
+
"use strict";
|
|
58297
|
+
init_core();
|
|
58298
|
+
OAuthPkceSchema = schemas_exports.object({
|
|
58299
|
+
method: schemas_exports.string().optional()
|
|
58300
|
+
});
|
|
58301
|
+
}
|
|
58302
|
+
});
|
|
58303
|
+
|
|
58241
58304
|
// ../fern-definition/schema/lib/schemas/serialization/resources/auth/types/OAuthRefreshTokenRequestPropertiesSchema.js
|
|
58242
58305
|
var OAuthRefreshTokenRequestPropertiesSchema;
|
|
58243
58306
|
var init_OAuthRefreshTokenRequestPropertiesSchema2 = __esm({
|
|
@@ -58280,6 +58343,30 @@ var init_OAuthRefreshTokenEndpointSchema2 = __esm({
|
|
|
58280
58343
|
}
|
|
58281
58344
|
});
|
|
58282
58345
|
|
|
58346
|
+
// ../fern-definition/schema/lib/schemas/serialization/resources/auth/types/RedirectUriWithBackupPortsSchema.js
|
|
58347
|
+
var RedirectUriWithBackupPortsSchema;
|
|
58348
|
+
var init_RedirectUriWithBackupPortsSchema2 = __esm({
|
|
58349
|
+
"../fern-definition/schema/lib/schemas/serialization/resources/auth/types/RedirectUriWithBackupPortsSchema.js"() {
|
|
58350
|
+
"use strict";
|
|
58351
|
+
init_core();
|
|
58352
|
+
RedirectUriWithBackupPortsSchema = schemas_exports.object({
|
|
58353
|
+
url: schemas_exports.string(),
|
|
58354
|
+
ports: schemas_exports.list(schemas_exports.number()).optional()
|
|
58355
|
+
});
|
|
58356
|
+
}
|
|
58357
|
+
});
|
|
58358
|
+
|
|
58359
|
+
// ../fern-definition/schema/lib/schemas/serialization/resources/auth/types/RedirectUriSchema.js
|
|
58360
|
+
var RedirectUriSchema;
|
|
58361
|
+
var init_RedirectUriSchema2 = __esm({
|
|
58362
|
+
"../fern-definition/schema/lib/schemas/serialization/resources/auth/types/RedirectUriSchema.js"() {
|
|
58363
|
+
"use strict";
|
|
58364
|
+
init_core();
|
|
58365
|
+
init_RedirectUriWithBackupPortsSchema2();
|
|
58366
|
+
RedirectUriSchema = schemas_exports.undiscriminatedUnion([schemas_exports.string(), RedirectUriWithBackupPortsSchema]);
|
|
58367
|
+
}
|
|
58368
|
+
});
|
|
58369
|
+
|
|
58283
58370
|
// ../fern-definition/schema/lib/schemas/serialization/resources/auth/types/OAuthSchemeSchema.js
|
|
58284
58371
|
var OAuthSchemeSchema;
|
|
58285
58372
|
var init_OAuthSchemeSchema2 = __esm({
|
|
@@ -58288,18 +58375,32 @@ var init_OAuthSchemeSchema2 = __esm({
|
|
|
58288
58375
|
init_core();
|
|
58289
58376
|
init_WithDocsSchema2();
|
|
58290
58377
|
init_AuthScope2();
|
|
58378
|
+
init_OAuthFlowTypeSchema2();
|
|
58291
58379
|
init_OAuthGetTokenEndpointSchema2();
|
|
58380
|
+
init_OAuthPkceSchema2();
|
|
58292
58381
|
init_OAuthRefreshTokenEndpointSchema2();
|
|
58382
|
+
init_RedirectUriSchema2();
|
|
58293
58383
|
OAuthSchemeSchema = schemas_exports.object({
|
|
58294
58384
|
scheme: schemas_exports.stringLiteral("oauth"),
|
|
58295
|
-
type:
|
|
58385
|
+
type: OAuthFlowTypeSchema2,
|
|
58296
58386
|
scopes: schemas_exports.list(AuthScope).optional(),
|
|
58297
|
-
"client-id-env": schemas_exports.string().optional(),
|
|
58298
|
-
"client-secret-env": schemas_exports.string().optional(),
|
|
58299
58387
|
"token-prefix": schemas_exports.string().optional(),
|
|
58300
58388
|
"token-header": schemas_exports.string().optional(),
|
|
58301
|
-
"
|
|
58302
|
-
"
|
|
58389
|
+
"client-id-env": schemas_exports.string().optional(),
|
|
58390
|
+
"client-secret-env": schemas_exports.string().optional(),
|
|
58391
|
+
"get-token": OAuthGetTokenEndpointSchema.optional(),
|
|
58392
|
+
"refresh-token": OAuthRefreshTokenEndpointSchema.optional(),
|
|
58393
|
+
"client-id": schemas_exports.string().optional(),
|
|
58394
|
+
"authorization-url": schemas_exports.string().optional(),
|
|
58395
|
+
"device-authorization-url": schemas_exports.string().optional(),
|
|
58396
|
+
"token-url": schemas_exports.string().optional(),
|
|
58397
|
+
"refresh-url": schemas_exports.string().optional(),
|
|
58398
|
+
"redirect-uri": RedirectUriSchema.optional(),
|
|
58399
|
+
pkce: OAuthPkceSchema.optional(),
|
|
58400
|
+
"authorization-parameters": schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
58401
|
+
"device-authorization-parameters": schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
58402
|
+
"token-parameters": schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
58403
|
+
"refresh-parameters": schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional()
|
|
58303
58404
|
}).extend(WithDocsSchema);
|
|
58304
58405
|
}
|
|
58305
58406
|
});
|
|
@@ -58372,11 +58473,15 @@ var init_types22 = __esm({
|
|
|
58372
58473
|
init_InferredGetTokenEndpointSchemaObject2();
|
|
58373
58474
|
init_OAuthAccessTokenRequestPropertiesSchema2();
|
|
58374
58475
|
init_OAuthAccessTokenResponsePropertiesSchema2();
|
|
58476
|
+
init_OAuthFlowTypeSchema2();
|
|
58375
58477
|
init_OAuthGetTokenEndpointSchema2();
|
|
58478
|
+
init_OAuthPkceSchema2();
|
|
58376
58479
|
init_OAuthRefreshTokenEndpointSchema2();
|
|
58377
58480
|
init_OAuthRefreshTokenRequestPropertiesSchema2();
|
|
58378
58481
|
init_OAuthRefreshTokenResponsePropertiesSchema2();
|
|
58379
58482
|
init_OAuthSchemeSchema2();
|
|
58483
|
+
init_RedirectUriSchema2();
|
|
58484
|
+
init_RedirectUriWithBackupPortsSchema2();
|
|
58380
58485
|
init_TokenBearerAuthSchema2();
|
|
58381
58486
|
init_WithAuthSchema2();
|
|
58382
58487
|
init_WithEnvironmentVariable2();
|
|
@@ -58405,11 +58510,15 @@ __export(auth_exports2, {
|
|
|
58405
58510
|
InferredGetTokenEndpointSchemaObject: () => InferredGetTokenEndpointSchemaObject,
|
|
58406
58511
|
OAuthAccessTokenRequestPropertiesSchema: () => OAuthAccessTokenRequestPropertiesSchema,
|
|
58407
58512
|
OAuthAccessTokenResponsePropertiesSchema: () => OAuthAccessTokenResponsePropertiesSchema,
|
|
58513
|
+
OAuthFlowTypeSchema: () => OAuthFlowTypeSchema2,
|
|
58408
58514
|
OAuthGetTokenEndpointSchema: () => OAuthGetTokenEndpointSchema,
|
|
58515
|
+
OAuthPkceSchema: () => OAuthPkceSchema,
|
|
58409
58516
|
OAuthRefreshTokenEndpointSchema: () => OAuthRefreshTokenEndpointSchema,
|
|
58410
58517
|
OAuthRefreshTokenRequestPropertiesSchema: () => OAuthRefreshTokenRequestPropertiesSchema,
|
|
58411
58518
|
OAuthRefreshTokenResponsePropertiesSchema: () => OAuthRefreshTokenResponsePropertiesSchema,
|
|
58412
58519
|
OAuthSchemeSchema: () => OAuthSchemeSchema,
|
|
58520
|
+
RedirectUriSchema: () => RedirectUriSchema,
|
|
58521
|
+
RedirectUriWithBackupPortsSchema: () => RedirectUriWithBackupPortsSchema,
|
|
58413
58522
|
TokenBearerAuthSchema: () => TokenBearerAuthSchema,
|
|
58414
58523
|
WithAuthSchema: () => WithAuthSchema,
|
|
58415
58524
|
WithEnvironmentVariable: () => WithEnvironmentVariable
|
|
@@ -61580,7 +61689,9 @@ __export(serialization_exports, {
|
|
|
61580
61689
|
NumberValidationSchema: () => NumberValidationSchema,
|
|
61581
61690
|
OAuthAccessTokenRequestPropertiesSchema: () => OAuthAccessTokenRequestPropertiesSchema,
|
|
61582
61691
|
OAuthAccessTokenResponsePropertiesSchema: () => OAuthAccessTokenResponsePropertiesSchema,
|
|
61692
|
+
OAuthFlowTypeSchema: () => OAuthFlowTypeSchema2,
|
|
61583
61693
|
OAuthGetTokenEndpointSchema: () => OAuthGetTokenEndpointSchema,
|
|
61694
|
+
OAuthPkceSchema: () => OAuthPkceSchema,
|
|
61584
61695
|
OAuthRefreshTokenEndpointSchema: () => OAuthRefreshTokenEndpointSchema,
|
|
61585
61696
|
OAuthRefreshTokenRequestPropertiesSchema: () => OAuthRefreshTokenRequestPropertiesSchema,
|
|
61586
61697
|
OAuthRefreshTokenResponsePropertiesSchema: () => OAuthRefreshTokenResponsePropertiesSchema,
|
|
@@ -61605,6 +61716,8 @@ __export(serialization_exports, {
|
|
|
61605
61716
|
ProtobufSourceSchema: () => ProtobufSourceSchema,
|
|
61606
61717
|
ProtobufTypeSchema: () => ProtobufTypeSchema,
|
|
61607
61718
|
QueryParameterTypeReferenceDetailed: () => QueryParameterTypeReferenceDetailed,
|
|
61719
|
+
RedirectUriSchema: () => RedirectUriSchema,
|
|
61720
|
+
RedirectUriWithBackupPortsSchema: () => RedirectUriWithBackupPortsSchema,
|
|
61608
61721
|
ResponseError: () => ResponseError,
|
|
61609
61722
|
ResponseErrorWithDocsSchema: () => ResponseErrorWithDocsSchema,
|
|
61610
61723
|
ResponseErrorsSchema: () => ResponseErrorsSchema,
|
|
@@ -61783,6 +61896,7 @@ __export(schemas_exports2, {
|
|
|
61783
61896
|
FernDefinitionTimeoutError: () => FernDefinitionTimeoutError,
|
|
61784
61897
|
FormDataBodyEncodingStyle: () => FormDataBodyEncodingStyle,
|
|
61785
61898
|
HttpMethodSchema: () => HttpMethodSchema,
|
|
61899
|
+
OAuthFlowTypeSchema: () => OAuthFlowTypeSchema,
|
|
61786
61900
|
ObjectPropertyAccess: () => ObjectPropertyAccess,
|
|
61787
61901
|
StreamFormat: () => StreamFormat,
|
|
61788
61902
|
SupportedSdkLanguageSchema: () => SupportedSdkLanguageSchema,
|
|
@@ -118110,7 +118224,8 @@ var init_DocsYmlSchemas = __esm({
|
|
|
118110
118224
|
environments: external_exports.array(external_exports.string()).optional(),
|
|
118111
118225
|
button: PlaygroundButtonSettings.optional(),
|
|
118112
118226
|
oauth: external_exports.boolean().optional(),
|
|
118113
|
-
"limit-websocket-messages-per-connection": external_exports.number().int().optional()
|
|
118227
|
+
"limit-websocket-messages-per-connection": external_exports.number().int().optional(),
|
|
118228
|
+
"send-optional-defaults": external_exports.boolean().optional()
|
|
118114
118229
|
});
|
|
118115
118230
|
AnnouncementConfig = external_exports.object({
|
|
118116
118231
|
message: external_exports.string()
|
|
@@ -122559,7 +122674,8 @@ var init_PlaygroundSettings2 = __esm({
|
|
|
122559
122674
|
environments: schemas_exports6.list(schemas_exports6.string()).optional(),
|
|
122560
122675
|
button: PlaygroundButtonSettings2.optional(),
|
|
122561
122676
|
oauth: schemas_exports6.boolean().optional(),
|
|
122562
|
-
limitWebsocketMessagesPerConnection: schemas_exports6.property("limit-websocket-messages-per-connection", schemas_exports6.number().optional())
|
|
122677
|
+
limitWebsocketMessagesPerConnection: schemas_exports6.property("limit-websocket-messages-per-connection", schemas_exports6.number().optional()),
|
|
122678
|
+
sendOptionalDefaults: schemas_exports6.property("send-optional-defaults", schemas_exports6.boolean().optional())
|
|
122563
122679
|
});
|
|
122564
122680
|
}
|
|
122565
122681
|
});
|
|
@@ -125580,6 +125696,19 @@ var init_OAuthAccessTokenResponsePropertiesSchema3 = __esm({
|
|
|
125580
125696
|
}
|
|
125581
125697
|
});
|
|
125582
125698
|
|
|
125699
|
+
// ../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/OAuthFlowTypeSchema.js
|
|
125700
|
+
var OAuthFlowTypeSchema3;
|
|
125701
|
+
var init_OAuthFlowTypeSchema3 = __esm({
|
|
125702
|
+
"../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/OAuthFlowTypeSchema.js"() {
|
|
125703
|
+
"use strict";
|
|
125704
|
+
OAuthFlowTypeSchema3 = {
|
|
125705
|
+
ClientCredentials: "client-credentials",
|
|
125706
|
+
AuthorizationCode: "authorization-code",
|
|
125707
|
+
DeviceCode: "device-code"
|
|
125708
|
+
};
|
|
125709
|
+
}
|
|
125710
|
+
});
|
|
125711
|
+
|
|
125583
125712
|
// ../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/OAuthGetTokenEndpointSchema.js
|
|
125584
125713
|
var init_OAuthGetTokenEndpointSchema3 = __esm({
|
|
125585
125714
|
"../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/OAuthGetTokenEndpointSchema.js"() {
|
|
@@ -125587,6 +125716,13 @@ var init_OAuthGetTokenEndpointSchema3 = __esm({
|
|
|
125587
125716
|
}
|
|
125588
125717
|
});
|
|
125589
125718
|
|
|
125719
|
+
// ../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/OAuthPkceSchema.js
|
|
125720
|
+
var init_OAuthPkceSchema3 = __esm({
|
|
125721
|
+
"../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/OAuthPkceSchema.js"() {
|
|
125722
|
+
"use strict";
|
|
125723
|
+
}
|
|
125724
|
+
});
|
|
125725
|
+
|
|
125590
125726
|
// ../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/OAuthRefreshTokenEndpointSchema.js
|
|
125591
125727
|
var init_OAuthRefreshTokenEndpointSchema3 = __esm({
|
|
125592
125728
|
"../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/OAuthRefreshTokenEndpointSchema.js"() {
|
|
@@ -125615,6 +125751,20 @@ var init_OAuthSchemeSchema3 = __esm({
|
|
|
125615
125751
|
}
|
|
125616
125752
|
});
|
|
125617
125753
|
|
|
125754
|
+
// ../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/RedirectUriSchema.js
|
|
125755
|
+
var init_RedirectUriSchema3 = __esm({
|
|
125756
|
+
"../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/RedirectUriSchema.js"() {
|
|
125757
|
+
"use strict";
|
|
125758
|
+
}
|
|
125759
|
+
});
|
|
125760
|
+
|
|
125761
|
+
// ../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/RedirectUriWithBackupPortsSchema.js
|
|
125762
|
+
var init_RedirectUriWithBackupPortsSchema3 = __esm({
|
|
125763
|
+
"../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/RedirectUriWithBackupPortsSchema.js"() {
|
|
125764
|
+
"use strict";
|
|
125765
|
+
}
|
|
125766
|
+
});
|
|
125767
|
+
|
|
125618
125768
|
// ../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/TokenBearerAuthSchema.js
|
|
125619
125769
|
var init_TokenBearerAuthSchema3 = __esm({
|
|
125620
125770
|
"../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/types/TokenBearerAuthSchema.js"() {
|
|
@@ -125651,11 +125801,15 @@ var init_types104 = __esm({
|
|
|
125651
125801
|
init_InferredGetTokenEndpointSchemaObject3();
|
|
125652
125802
|
init_OAuthAccessTokenRequestPropertiesSchema3();
|
|
125653
125803
|
init_OAuthAccessTokenResponsePropertiesSchema3();
|
|
125804
|
+
init_OAuthFlowTypeSchema3();
|
|
125654
125805
|
init_OAuthGetTokenEndpointSchema3();
|
|
125806
|
+
init_OAuthPkceSchema3();
|
|
125655
125807
|
init_OAuthRefreshTokenEndpointSchema3();
|
|
125656
125808
|
init_OAuthRefreshTokenRequestPropertiesSchema3();
|
|
125657
125809
|
init_OAuthRefreshTokenResponsePropertiesSchema3();
|
|
125658
125810
|
init_OAuthSchemeSchema3();
|
|
125811
|
+
init_RedirectUriSchema3();
|
|
125812
|
+
init_RedirectUriWithBackupPortsSchema3();
|
|
125659
125813
|
init_TokenBearerAuthSchema3();
|
|
125660
125814
|
init_WithEnvironmentVariable3();
|
|
125661
125815
|
}
|
|
@@ -125663,6 +125817,9 @@ var init_types104 = __esm({
|
|
|
125663
125817
|
|
|
125664
125818
|
// ../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/index.js
|
|
125665
125819
|
var auth_exports7 = {};
|
|
125820
|
+
__export(auth_exports7, {
|
|
125821
|
+
OAuthFlowTypeSchema: () => OAuthFlowTypeSchema3
|
|
125822
|
+
});
|
|
125666
125823
|
var init_auth8 = __esm({
|
|
125667
125824
|
"../configuration/lib/generators-yml/schemas/api/resources/fernDefinition/resources/auth/index.js"() {
|
|
125668
125825
|
"use strict";
|
|
@@ -126037,6 +126194,7 @@ var init_resources11 = __esm({
|
|
|
126037
126194
|
var fernDefinition_exports = {};
|
|
126038
126195
|
__export(fernDefinition_exports, {
|
|
126039
126196
|
AvailabilityStatusSchema: () => AvailabilityStatusSchema3,
|
|
126197
|
+
OAuthFlowTypeSchema: () => OAuthFlowTypeSchema3,
|
|
126040
126198
|
auth: () => auth_exports7,
|
|
126041
126199
|
availability: () => availability_exports3,
|
|
126042
126200
|
commons: () => commons_exports7,
|
|
@@ -129308,6 +129466,16 @@ var init_AuthScope6 = __esm({
|
|
|
129308
129466
|
}
|
|
129309
129467
|
});
|
|
129310
129468
|
|
|
129469
|
+
// ../configuration/lib/generators-yml/schemas/serialization/resources/fernDefinition/resources/auth/types/OAuthFlowTypeSchema.js
|
|
129470
|
+
var OAuthFlowTypeSchema4;
|
|
129471
|
+
var init_OAuthFlowTypeSchema4 = __esm({
|
|
129472
|
+
"../configuration/lib/generators-yml/schemas/serialization/resources/fernDefinition/resources/auth/types/OAuthFlowTypeSchema.js"() {
|
|
129473
|
+
"use strict";
|
|
129474
|
+
init_core6();
|
|
129475
|
+
OAuthFlowTypeSchema4 = schemas_exports8.enum_(["client-credentials", "authorization-code", "device-code"]);
|
|
129476
|
+
}
|
|
129477
|
+
});
|
|
129478
|
+
|
|
129311
129479
|
// ../configuration/lib/generators-yml/schemas/serialization/resources/fernDefinition/resources/auth/types/OAuthAccessTokenRequestPropertiesSchema.js
|
|
129312
129480
|
var OAuthAccessTokenRequestPropertiesSchema2;
|
|
129313
129481
|
var init_OAuthAccessTokenRequestPropertiesSchema4 = __esm({
|
|
@@ -129352,6 +129520,18 @@ var init_OAuthGetTokenEndpointSchema4 = __esm({
|
|
|
129352
129520
|
}
|
|
129353
129521
|
});
|
|
129354
129522
|
|
|
129523
|
+
// ../configuration/lib/generators-yml/schemas/serialization/resources/fernDefinition/resources/auth/types/OAuthPkceSchema.js
|
|
129524
|
+
var OAuthPkceSchema2;
|
|
129525
|
+
var init_OAuthPkceSchema4 = __esm({
|
|
129526
|
+
"../configuration/lib/generators-yml/schemas/serialization/resources/fernDefinition/resources/auth/types/OAuthPkceSchema.js"() {
|
|
129527
|
+
"use strict";
|
|
129528
|
+
init_core6();
|
|
129529
|
+
OAuthPkceSchema2 = schemas_exports8.object({
|
|
129530
|
+
method: schemas_exports8.string().optional()
|
|
129531
|
+
});
|
|
129532
|
+
}
|
|
129533
|
+
});
|
|
129534
|
+
|
|
129355
129535
|
// ../configuration/lib/generators-yml/schemas/serialization/resources/fernDefinition/resources/auth/types/OAuthRefreshTokenRequestPropertiesSchema.js
|
|
129356
129536
|
var OAuthRefreshTokenRequestPropertiesSchema2;
|
|
129357
129537
|
var init_OAuthRefreshTokenRequestPropertiesSchema4 = __esm({
|
|
@@ -129394,6 +129574,30 @@ var init_OAuthRefreshTokenEndpointSchema4 = __esm({
|
|
|
129394
129574
|
}
|
|
129395
129575
|
});
|
|
129396
129576
|
|
|
129577
|
+
// ../configuration/lib/generators-yml/schemas/serialization/resources/fernDefinition/resources/auth/types/RedirectUriWithBackupPortsSchema.js
|
|
129578
|
+
var RedirectUriWithBackupPortsSchema2;
|
|
129579
|
+
var init_RedirectUriWithBackupPortsSchema4 = __esm({
|
|
129580
|
+
"../configuration/lib/generators-yml/schemas/serialization/resources/fernDefinition/resources/auth/types/RedirectUriWithBackupPortsSchema.js"() {
|
|
129581
|
+
"use strict";
|
|
129582
|
+
init_core6();
|
|
129583
|
+
RedirectUriWithBackupPortsSchema2 = schemas_exports8.object({
|
|
129584
|
+
url: schemas_exports8.string(),
|
|
129585
|
+
ports: schemas_exports8.list(schemas_exports8.number()).optional()
|
|
129586
|
+
});
|
|
129587
|
+
}
|
|
129588
|
+
});
|
|
129589
|
+
|
|
129590
|
+
// ../configuration/lib/generators-yml/schemas/serialization/resources/fernDefinition/resources/auth/types/RedirectUriSchema.js
|
|
129591
|
+
var RedirectUriSchema2;
|
|
129592
|
+
var init_RedirectUriSchema4 = __esm({
|
|
129593
|
+
"../configuration/lib/generators-yml/schemas/serialization/resources/fernDefinition/resources/auth/types/RedirectUriSchema.js"() {
|
|
129594
|
+
"use strict";
|
|
129595
|
+
init_core6();
|
|
129596
|
+
init_RedirectUriWithBackupPortsSchema4();
|
|
129597
|
+
RedirectUriSchema2 = schemas_exports8.undiscriminatedUnion([schemas_exports8.string(), RedirectUriWithBackupPortsSchema2]);
|
|
129598
|
+
}
|
|
129599
|
+
});
|
|
129600
|
+
|
|
129397
129601
|
// ../configuration/lib/generators-yml/schemas/serialization/resources/fernDefinition/resources/auth/types/OAuthSchemeSchema.js
|
|
129398
129602
|
var OAuthSchemeSchema2;
|
|
129399
129603
|
var init_OAuthSchemeSchema4 = __esm({
|
|
@@ -129402,18 +129606,32 @@ var init_OAuthSchemeSchema4 = __esm({
|
|
|
129402
129606
|
init_core6();
|
|
129403
129607
|
init_WithDocsSchema4();
|
|
129404
129608
|
init_AuthScope6();
|
|
129609
|
+
init_OAuthFlowTypeSchema4();
|
|
129405
129610
|
init_OAuthGetTokenEndpointSchema4();
|
|
129611
|
+
init_OAuthPkceSchema4();
|
|
129406
129612
|
init_OAuthRefreshTokenEndpointSchema4();
|
|
129613
|
+
init_RedirectUriSchema4();
|
|
129407
129614
|
OAuthSchemeSchema2 = schemas_exports8.object({
|
|
129408
129615
|
scheme: schemas_exports8.stringLiteral("oauth"),
|
|
129409
|
-
type:
|
|
129616
|
+
type: OAuthFlowTypeSchema4,
|
|
129410
129617
|
scopes: schemas_exports8.list(AuthScope3).optional(),
|
|
129411
|
-
"client-id-env": schemas_exports8.string().optional(),
|
|
129412
|
-
"client-secret-env": schemas_exports8.string().optional(),
|
|
129413
129618
|
"token-prefix": schemas_exports8.string().optional(),
|
|
129414
129619
|
"token-header": schemas_exports8.string().optional(),
|
|
129415
|
-
"
|
|
129416
|
-
"
|
|
129620
|
+
"client-id-env": schemas_exports8.string().optional(),
|
|
129621
|
+
"client-secret-env": schemas_exports8.string().optional(),
|
|
129622
|
+
"get-token": OAuthGetTokenEndpointSchema2.optional(),
|
|
129623
|
+
"refresh-token": OAuthRefreshTokenEndpointSchema2.optional(),
|
|
129624
|
+
"client-id": schemas_exports8.string().optional(),
|
|
129625
|
+
"authorization-url": schemas_exports8.string().optional(),
|
|
129626
|
+
"device-authorization-url": schemas_exports8.string().optional(),
|
|
129627
|
+
"token-url": schemas_exports8.string().optional(),
|
|
129628
|
+
"refresh-url": schemas_exports8.string().optional(),
|
|
129629
|
+
"redirect-uri": RedirectUriSchema2.optional(),
|
|
129630
|
+
pkce: OAuthPkceSchema2.optional(),
|
|
129631
|
+
"authorization-parameters": schemas_exports8.record(schemas_exports8.string(), schemas_exports8.string()).optional(),
|
|
129632
|
+
"device-authorization-parameters": schemas_exports8.record(schemas_exports8.string(), schemas_exports8.string()).optional(),
|
|
129633
|
+
"token-parameters": schemas_exports8.record(schemas_exports8.string(), schemas_exports8.string()).optional(),
|
|
129634
|
+
"refresh-parameters": schemas_exports8.record(schemas_exports8.string(), schemas_exports8.string()).optional()
|
|
129417
129635
|
}).extend(WithDocsSchema2);
|
|
129418
129636
|
}
|
|
129419
129637
|
});
|
|
@@ -129459,11 +129677,15 @@ var init_types121 = __esm({
|
|
|
129459
129677
|
init_InferredGetTokenEndpointSchemaObject4();
|
|
129460
129678
|
init_OAuthAccessTokenRequestPropertiesSchema4();
|
|
129461
129679
|
init_OAuthAccessTokenResponsePropertiesSchema4();
|
|
129680
|
+
init_OAuthFlowTypeSchema4();
|
|
129462
129681
|
init_OAuthGetTokenEndpointSchema4();
|
|
129682
|
+
init_OAuthPkceSchema4();
|
|
129463
129683
|
init_OAuthRefreshTokenEndpointSchema4();
|
|
129464
129684
|
init_OAuthRefreshTokenRequestPropertiesSchema4();
|
|
129465
129685
|
init_OAuthRefreshTokenResponsePropertiesSchema4();
|
|
129466
129686
|
init_OAuthSchemeSchema4();
|
|
129687
|
+
init_RedirectUriSchema4();
|
|
129688
|
+
init_RedirectUriWithBackupPortsSchema4();
|
|
129467
129689
|
init_TokenBearerAuthSchema4();
|
|
129468
129690
|
init_WithEnvironmentVariable4();
|
|
129469
129691
|
}
|
|
@@ -129490,11 +129712,15 @@ __export(auth_exports8, {
|
|
|
129490
129712
|
InferredGetTokenEndpointSchemaObject: () => InferredGetTokenEndpointSchemaObject2,
|
|
129491
129713
|
OAuthAccessTokenRequestPropertiesSchema: () => OAuthAccessTokenRequestPropertiesSchema2,
|
|
129492
129714
|
OAuthAccessTokenResponsePropertiesSchema: () => OAuthAccessTokenResponsePropertiesSchema2,
|
|
129715
|
+
OAuthFlowTypeSchema: () => OAuthFlowTypeSchema4,
|
|
129493
129716
|
OAuthGetTokenEndpointSchema: () => OAuthGetTokenEndpointSchema2,
|
|
129717
|
+
OAuthPkceSchema: () => OAuthPkceSchema2,
|
|
129494
129718
|
OAuthRefreshTokenEndpointSchema: () => OAuthRefreshTokenEndpointSchema2,
|
|
129495
129719
|
OAuthRefreshTokenRequestPropertiesSchema: () => OAuthRefreshTokenRequestPropertiesSchema2,
|
|
129496
129720
|
OAuthRefreshTokenResponsePropertiesSchema: () => OAuthRefreshTokenResponsePropertiesSchema2,
|
|
129497
129721
|
OAuthSchemeSchema: () => OAuthSchemeSchema2,
|
|
129722
|
+
RedirectUriSchema: () => RedirectUriSchema2,
|
|
129723
|
+
RedirectUriWithBackupPortsSchema: () => RedirectUriWithBackupPortsSchema2,
|
|
129498
129724
|
TokenBearerAuthSchema: () => TokenBearerAuthSchema2,
|
|
129499
129725
|
WithEnvironmentVariable: () => WithEnvironmentVariable2
|
|
129500
129726
|
});
|
|
@@ -130083,12 +130309,16 @@ __export(fernDefinition_exports2, {
|
|
|
130083
130309
|
NumberValidationSchema: () => NumberValidationSchema2,
|
|
130084
130310
|
OAuthAccessTokenRequestPropertiesSchema: () => OAuthAccessTokenRequestPropertiesSchema2,
|
|
130085
130311
|
OAuthAccessTokenResponsePropertiesSchema: () => OAuthAccessTokenResponsePropertiesSchema2,
|
|
130312
|
+
OAuthFlowTypeSchema: () => OAuthFlowTypeSchema4,
|
|
130086
130313
|
OAuthGetTokenEndpointSchema: () => OAuthGetTokenEndpointSchema2,
|
|
130314
|
+
OAuthPkceSchema: () => OAuthPkceSchema2,
|
|
130087
130315
|
OAuthRefreshTokenEndpointSchema: () => OAuthRefreshTokenEndpointSchema2,
|
|
130088
130316
|
OAuthRefreshTokenRequestPropertiesSchema: () => OAuthRefreshTokenRequestPropertiesSchema2,
|
|
130089
130317
|
OAuthRefreshTokenResponsePropertiesSchema: () => OAuthRefreshTokenResponsePropertiesSchema2,
|
|
130090
130318
|
OAuthSchemeSchema: () => OAuthSchemeSchema2,
|
|
130091
130319
|
ProtobufTypeSchema: () => ProtobufTypeSchema2,
|
|
130320
|
+
RedirectUriSchema: () => RedirectUriSchema2,
|
|
130321
|
+
RedirectUriWithBackupPortsSchema: () => RedirectUriWithBackupPortsSchema2,
|
|
130092
130322
|
ServerVariableSchema: () => ServerVariableSchema2,
|
|
130093
130323
|
SingleBaseUrlEnvironmentSchema: () => SingleBaseUrlEnvironmentSchema2,
|
|
130094
130324
|
StringValidationSchema: () => StringValidationSchema2,
|
|
@@ -213624,7 +213854,7 @@ var init_esm18 = __esm({
|
|
|
213624
213854
|
}
|
|
213625
213855
|
});
|
|
213626
213856
|
|
|
213627
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.
|
|
213857
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.80-050d6c9417_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
|
|
213628
213858
|
function assertNever3(x4) {
|
|
213629
213859
|
throw new Error("Unexpected value: " + JSON.stringify(x4));
|
|
213630
213860
|
}
|
|
@@ -213918,16 +214148,16 @@ function selectDefaultValue(shape, defaults3) {
|
|
|
213918
214148
|
return void 0;
|
|
213919
214149
|
}
|
|
213920
214150
|
}
|
|
213921
|
-
function unwrapObjectType(
|
|
213922
|
-
const cached2 = UnwrapObjectTypeCache.get(
|
|
214151
|
+
function unwrapObjectType(object33, types4, parentVisitedTypeIds) {
|
|
214152
|
+
const cached2 = UnwrapObjectTypeCache.get(object33);
|
|
213923
214153
|
if (cached2 != null) {
|
|
213924
214154
|
return cached2;
|
|
213925
214155
|
}
|
|
213926
|
-
const directProperties =
|
|
213927
|
-
const extraProperties =
|
|
214156
|
+
const directProperties = object33.properties;
|
|
214157
|
+
const extraProperties = object33.extraProperties;
|
|
213928
214158
|
const descriptions = [];
|
|
213929
214159
|
const visitedTypeIds = /* @__PURE__ */ new Set();
|
|
213930
|
-
const extendedProperties =
|
|
214160
|
+
const extendedProperties = object33.extends.flatMap((typeId) => {
|
|
213931
214161
|
if (parentVisitedTypeIds?.has(typeId)) {
|
|
213932
214162
|
console.error(`Circular reference detected. Cannot extend type=${typeId}`);
|
|
213933
214163
|
return [];
|
|
@@ -213988,10 +214218,10 @@ function unwrapObjectType(object32, types4, parentVisitedTypeIds) {
|
|
|
213988
214218
|
extraProperties,
|
|
213989
214219
|
visitedTypeIds
|
|
213990
214220
|
};
|
|
213991
|
-
UnwrapObjectTypeCache.set(
|
|
214221
|
+
UnwrapObjectTypeCache.set(object33, toRet2);
|
|
213992
214222
|
return toRet2;
|
|
213993
214223
|
}
|
|
213994
|
-
const propertyKeys = new Set(
|
|
214224
|
+
const propertyKeys = new Set(object33.properties.map((property24) => property24.key));
|
|
213995
214225
|
const seenExtendedKeys = /* @__PURE__ */ new Set();
|
|
213996
214226
|
const filteredExtendedProperties = extendedProperties.filter((extendedProperty) => {
|
|
213997
214227
|
if (propertyKeys.has(extendedProperty.key) || seenExtendedKeys.has(extendedProperty.key)) {
|
|
@@ -214009,15 +214239,15 @@ function unwrapObjectType(object32, types4, parentVisitedTypeIds) {
|
|
|
214009
214239
|
]
|
|
214010
214240
|
);
|
|
214011
214241
|
const toRet = { properties: properties7, descriptions, extraProperties, visitedTypeIds };
|
|
214012
|
-
UnwrapObjectTypeCache.set(
|
|
214242
|
+
UnwrapObjectTypeCache.set(object33, toRet);
|
|
214013
214243
|
return toRet;
|
|
214014
214244
|
}
|
|
214015
|
-
function unwrapDiscriminatedUnionVariant(
|
|
214245
|
+
function unwrapDiscriminatedUnionVariant(union122, variant, types4) {
|
|
214016
214246
|
const { properties: properties7, descriptions, visitedTypeIds } = unwrapObjectType(variant, types4);
|
|
214017
214247
|
return {
|
|
214018
214248
|
properties: [
|
|
214019
214249
|
{
|
|
214020
|
-
key:
|
|
214250
|
+
key: union122.discriminant,
|
|
214021
214251
|
valueShape: {
|
|
214022
214252
|
type: "alias",
|
|
214023
214253
|
value: {
|
|
@@ -215170,8 +215400,8 @@ function sortKeysByShape(obj, shape, types4) {
|
|
|
215170
215400
|
set: ({ itemShape }) => Array.isArray(obj) ? obj.map((o3) => sortKeysByShape(o3, itemShape, types4)) : obj,
|
|
215171
215401
|
map: ({ valueShape }) => isPlainObject_default2(obj) ? mapValues3(obj, (value2) => sortKeysByShape(value2, valueShape, types4)) : obj,
|
|
215172
215402
|
unknown: () => obj,
|
|
215173
|
-
object: (
|
|
215174
|
-
const objectProperties = unwrapObjectType(
|
|
215403
|
+
object: (object33) => {
|
|
215404
|
+
const objectProperties = unwrapObjectType(object33, types4).properties;
|
|
215175
215405
|
return isPlainObject_default2(obj) ? mapValues3(
|
|
215176
215406
|
sortKeysBy(
|
|
215177
215407
|
obj,
|
|
@@ -215188,8 +215418,8 @@ function sortKeysByShape(obj, shape, types4) {
|
|
|
215188
215418
|
},
|
|
215189
215419
|
undiscriminatedUnion: () => obj,
|
|
215190
215420
|
// TODO: match variant and sort nested objects
|
|
215191
|
-
discriminatedUnion: (
|
|
215192
|
-
const { discriminant: discriminant22, variants } =
|
|
215421
|
+
discriminatedUnion: (union122) => {
|
|
215422
|
+
const { discriminant: discriminant22, variants } = union122;
|
|
215193
215423
|
if (!isPlainObject_default2(obj)) {
|
|
215194
215424
|
return obj;
|
|
215195
215425
|
}
|
|
@@ -215201,7 +215431,7 @@ function sortKeysByShape(obj, shape, types4) {
|
|
|
215201
215431
|
if (variantShape == null) {
|
|
215202
215432
|
return obj;
|
|
215203
215433
|
}
|
|
215204
|
-
const variantProperties = unwrapDiscriminatedUnionVariant(
|
|
215434
|
+
const variantProperties = unwrapDiscriminatedUnionVariant(union122, variantShape, types4).properties;
|
|
215205
215435
|
return mapValues3(sortKeysBy(obj, [discriminant22, ...variantProperties.map((p6) => p6.key)]), (value2, key2) => {
|
|
215206
215436
|
if (key2 === discriminant22) {
|
|
215207
215437
|
return value2;
|
|
@@ -216357,6 +216587,17 @@ function createDashboardClient(options2) {
|
|
|
216357
216587
|
});
|
|
216358
216588
|
return createORPCClient(link3);
|
|
216359
216589
|
}
|
|
216590
|
+
function createDashboardAgentClient(options2) {
|
|
216591
|
+
const link3 = new OpenAPILink(dashboardAgentContract, {
|
|
216592
|
+
url: `${options2.baseUrl}/dashboard-agent`,
|
|
216593
|
+
headers: () => ({
|
|
216594
|
+
Authorization: `Bearer ${options2.token}`,
|
|
216595
|
+
...options2.headers
|
|
216596
|
+
}),
|
|
216597
|
+
...options2.fetch != null ? { fetch: options2.fetch } : {}
|
|
216598
|
+
});
|
|
216599
|
+
return createORPCClient(link3);
|
|
216600
|
+
}
|
|
216360
216601
|
function FileId2(value2) {
|
|
216361
216602
|
return value2;
|
|
216362
216603
|
}
|
|
@@ -216657,6 +216898,7 @@ function createFdrORPCClient(options2) {
|
|
|
216657
216898
|
return {
|
|
216658
216899
|
api: createApiClient(normalizedOptions),
|
|
216659
216900
|
dashboard: createDashboardClient(normalizedOptions),
|
|
216901
|
+
dashboardAgent: createDashboardAgentClient(normalizedOptions),
|
|
216660
216902
|
docs: createDocsClient(normalizedOptions),
|
|
216661
216903
|
docsCache: createDocsCacheClient(normalizedOptions),
|
|
216662
216904
|
docsDeployment: createDocsDeploymentClient(normalizedOptions),
|
|
@@ -216944,9 +217186,9 @@ function generateHttpResponseBodyExample(type7, resolveTypeById) {
|
|
|
216944
217186
|
}
|
|
216945
217187
|
}
|
|
216946
217188
|
}
|
|
216947
|
-
function generateExampleObject(
|
|
217189
|
+
function generateExampleObject(object33, resolveTypeById, ignoreOptionals, visited, depth) {
|
|
216948
217190
|
const example = {};
|
|
216949
|
-
for (const property24 of getAllObjectProperties(
|
|
217191
|
+
for (const property24 of getAllObjectProperties(object33, resolveTypeById)) {
|
|
216950
217192
|
const value2 = generateExampleFromTypeReference(
|
|
216951
217193
|
property24.valueType,
|
|
216952
217194
|
resolveTypeById,
|
|
@@ -217130,10 +217372,10 @@ function generateExamplePrimitive(reference4) {
|
|
|
217130
217372
|
return reference4.name;
|
|
217131
217373
|
}
|
|
217132
217374
|
}
|
|
217133
|
-
function getAllObjectProperties(
|
|
217375
|
+
function getAllObjectProperties(object33, resolveTypeById) {
|
|
217134
217376
|
return [
|
|
217135
|
-
...
|
|
217136
|
-
...
|
|
217377
|
+
...object33.properties,
|
|
217378
|
+
...object33.extends.flatMap((typeId) => {
|
|
217137
217379
|
let type7 = resolveTypeById(typeId);
|
|
217138
217380
|
if (type7 == null) {
|
|
217139
217381
|
return [];
|
|
@@ -219682,6 +219924,36 @@ function createBreadcrumb(nodes) {
|
|
|
219682
219924
|
});
|
|
219683
219925
|
return breadcrumb.filter((item) => item.title.trim().length > 0);
|
|
219684
219926
|
}
|
|
219927
|
+
function getEnclosingTabbedNode(parents) {
|
|
219928
|
+
const versionChild = (parents.find(isVersionNode) ?? parents.find(isUnversionedNode))?.child;
|
|
219929
|
+
return parents.find(isTabbedNode) ?? (versionChild != null && isTabbedNode(versionChild) ? versionChild : void 0);
|
|
219930
|
+
}
|
|
219931
|
+
function resolveCurrentTab(node4, parents) {
|
|
219932
|
+
const tabbedNode = getEnclosingTabbedNode(parents);
|
|
219933
|
+
if (tabbedNode == null) {
|
|
219934
|
+
return void 0;
|
|
219935
|
+
}
|
|
219936
|
+
const parentsAndNode = [...parents, node4];
|
|
219937
|
+
const tabbedNodeIndex = parentsAndNode.indexOf(tabbedNode);
|
|
219938
|
+
const currentTabNode = tabbedNodeIndex !== -1 ? parentsAndNode[tabbedNodeIndex + 1] : void 0;
|
|
219939
|
+
let currentTab = currentTabNode?.type === "tab" || currentTabNode?.type === "changelog" ? currentTabNode : void 0;
|
|
219940
|
+
if (currentTab == null) {
|
|
219941
|
+
for (const tab2 of tabbedNode.children) {
|
|
219942
|
+
if (tab2.type === "tab" && tab2.pointsTo === node4.slug) {
|
|
219943
|
+
currentTab = tab2;
|
|
219944
|
+
break;
|
|
219945
|
+
}
|
|
219946
|
+
if (tab2.type === "changelog" && tab2.slug === node4.slug) {
|
|
219947
|
+
currentTab = tab2;
|
|
219948
|
+
break;
|
|
219949
|
+
}
|
|
219950
|
+
}
|
|
219951
|
+
if (currentTab == null && node4.type === "landingPage") {
|
|
219952
|
+
currentTab = tabbedNode.children.find(isHeaderTab);
|
|
219953
|
+
}
|
|
219954
|
+
}
|
|
219955
|
+
return currentTab;
|
|
219956
|
+
}
|
|
219685
219957
|
function findNode(root6, slug) {
|
|
219686
219958
|
const collector = NodeCollector.collect(root6);
|
|
219687
219959
|
const found = collector.getSlugMapWithParents().get(canonicalSlugKey(slug));
|
|
@@ -219715,7 +219987,6 @@ function findNode(root6, slug) {
|
|
|
219715
219987
|
const currentProduct = found.parents.find(isProductNode);
|
|
219716
219988
|
const currentVersion = found.parents.find(isVersionNode);
|
|
219717
219989
|
const unversionedNode = found.parents.find(isUnversionedNode);
|
|
219718
|
-
const versionChild = (currentVersion ?? unversionedNode)?.child;
|
|
219719
219990
|
const currentVariant = found.parents.find(isVariantNode);
|
|
219720
219991
|
if (!sidebar && currentVersion != null) {
|
|
219721
219992
|
if (isSidebarRootNode(currentVersion.child)) {
|
|
@@ -219723,13 +219994,9 @@ function findNode(root6, slug) {
|
|
|
219723
219994
|
}
|
|
219724
219995
|
}
|
|
219725
219996
|
const landingPage = (currentProductGroup ?? currentVersion ?? unversionedNode)?.landingPage;
|
|
219726
|
-
const tabbedNode = found.parents
|
|
219727
|
-
(versionChild != null && isTabbedNode(versionChild) ? versionChild : void 0);
|
|
219997
|
+
const tabbedNode = getEnclosingTabbedNode(found.parents);
|
|
219728
219998
|
const apiReference = found.parents.find(isApiReferenceNode) ?? (found.node.type === "apiReference" ? found.node : void 0);
|
|
219729
219999
|
if (navigation_exports.isPage(found.node)) {
|
|
219730
|
-
const parentsAndNode = [...found.parents, found.node];
|
|
219731
|
-
const tabbedNodeIndex = parentsAndNode.findIndex((node4) => node4 === tabbedNode);
|
|
219732
|
-
const currentTabNode = tabbedNodeIndex !== -1 ? parentsAndNode[tabbedNodeIndex + 1] : void 0;
|
|
219733
220000
|
const products = collector.getProductNodes().map((node4) => {
|
|
219734
220001
|
if (node4.default) {
|
|
219735
220002
|
if (node4.id === currentProduct?.id) {
|
|
@@ -219757,25 +220024,7 @@ function findNode(root6, slug) {
|
|
|
219757
220024
|
}
|
|
219758
220025
|
return node4;
|
|
219759
220026
|
});
|
|
219760
|
-
|
|
219761
|
-
if (currentTab == null && tabbedNode != null) {
|
|
219762
|
-
for (const tab2 of tabbedNode.children) {
|
|
219763
|
-
if (tab2.type === "tab" && tab2.pointsTo === found.node.slug) {
|
|
219764
|
-
currentTab = tab2;
|
|
219765
|
-
break;
|
|
219766
|
-
}
|
|
219767
|
-
if (tab2.type === "changelog" && tab2.slug === found.node.slug) {
|
|
219768
|
-
currentTab = tab2;
|
|
219769
|
-
break;
|
|
219770
|
-
}
|
|
219771
|
-
}
|
|
219772
|
-
if (currentTab == null && found.node.type === "landingPage") {
|
|
219773
|
-
const firstTab = tabbedNode.children.find((tab2) => tab2.type === "tab" || tab2.type === "changelog");
|
|
219774
|
-
if (firstTab != null && (firstTab.type === "tab" || firstTab.type === "changelog")) {
|
|
219775
|
-
currentTab = firstTab;
|
|
219776
|
-
}
|
|
219777
|
-
}
|
|
219778
|
-
}
|
|
220027
|
+
const currentTab = resolveCurrentTab(found.node, found.parents);
|
|
219779
220028
|
const slugPrefix = currentVariant?.slug ?? (currentProduct?.type === "product" ? currentProduct.slug : void 0) ?? currentVersion?.slug ?? root6.slug;
|
|
219780
220029
|
const unversionedSlug = navigation_exports.Slug(
|
|
219781
220030
|
found.node.slug.replace(new RegExp(`^${escapeRegExp(slugPrefix)}/`), "")
|
|
@@ -220125,9 +220374,9 @@ function mutableDeleteChild(parent, node4) {
|
|
|
220125
220374
|
return "should-delete-parent";
|
|
220126
220375
|
}
|
|
220127
220376
|
}
|
|
220128
|
-
var import_ts_essentials, import_qs, import_ts_essentials2, import_ts_essentials3, import_url_join, import_qs2, import_fast_deep_equal, import_ts_essentials4, import_url_join2, import_ts_essentials5, import_ts_essentials6, import_ts_essentials7, import_url_join3, import_url_join4, import_dayjs, import_utc, import_url_join5, import_ts_essentials8, import_ts_essentials9, import_ts_essentials10, import_ts_essentials11, import_ts_essentials12, __defProp4, __export3, api_definition_exports, LOOP_TOLERANCE, LARGE_LOOP_TOLERANCE, assertNever_default, EMPTY_ARRAY2, EMPTY_OBJECT2, identity_default2, isPlainObject_default2, conjunctions, articles, prepositions, lowerCase, specials, word, regex3, convertToRegExp, src_default, SPECIAL_TOKENS2, titleCase_default, visitDiscriminatedUnion_default, OrgIdSchema, ApiIdSchema, ApiDefinitionIdSchema, HttpMethodSchema3, HttpMethod7, UrlSchema, EndpointPathLiteralSchema, EndpointIdentifierSchema, SdkRequestSchema, DocsConfigIdSchema, GrpcIdSchema, PageIdSchema, RoleIdSchema, TokenIdSchema, VersionIdSchema, LinkTarget, GrpcMethod, Availability7, SupportedLanguage, HttpSnippetLanguage4, SnippetsByEndpointMethodSchema, SdkSchema, TypeIdSchema, EndpointIdSchema, WebSocketIdSchema, WebhookIdSchema, GraphQlOperationIdSchema, GraphQlTypeCategorySchema, EnvironmentIdSchema, PropertyKeySchema, AuthSchemeIdSchema, SubpackageIdSchema, WebSocketMessageIdSchema, FileIdSchema, MultipleAuthTypeSchema, GrpcMethodSchema, AvailabilitySchema3, WebSocketMessageOriginSchema, WebhookHttpMethodSchema, WithDescriptionSchema, WithAvailabilitySchema, EnvironmentSchema3, RestProtocolSchema, OpenRpcProtocolSchema, GrpcProtocolSchema, ProtocolSchema, ObjectPropertyAccessSchema, TypeReferenceIdDefaultSchema, _numberNullish, _numberIntNullish, coercedNumberNullish, coercedNumberIntNullish, IntegerTypeSchema, DoubleTypeSchema, StringTypeSchema, LongTypeSchema, _booleanNullish, BooleanTypeSchema, DatetimeTypeSchema, UuidTypeSchema, Base64TypeSchema, DateTypeSchema, BigIntegerTypeSchema, UintTypeSchema, Uint64TypeSchema, ScalarTypeSchema, PrimitiveTypeSchema, LiteralTypeSchema, TypeReferenceSchema2, GraphQlArgumentSchema, ObjectPropertySchema2, ObjectTypeSchema, EnumValueSchema2, EnumTypeSchema, DiscriminatedUnionVariantSchema, DiscriminatedUnionTypeSchema, ContentTypeSchema, FilePropertySingleSchema, FilePropertyArraySchema, FormDataFilePropertySchema, FormDataBodyPropertySchema, FormDataPropertySchema, FormDataRequestSchema, EndpointPathPartSchema, PathParameterSchema, EndpointPathSchema, QueryParameterSchema, HeaderSchema, JsonBodyShapeSchema, FileDownloadResponseBodyShapeSchema, StreamResponseV2Schema, StreamConditionSchema, FilenameWithDataSchema, FormValueSchema, BytesValueSchema, ExampleEndpointRequestSchema, ExampleServerSentEventSchema, ExampleEndpointResponseSchema, ErrorDeclarationSchema2, ExampleErrorResponseSchema, ErrorExampleSchema, GraphQlOperationTypeSchema, GraphQlExampleSchema, CodeSnippetSchema, GraphQlOperationSchema, WebhookPayloadShapeSchema, WebhookPayloadSchema2, ExampleWebhookPayloadSchema, WebSocketMessageBodyShapeSchema, WebSocketMessageSchema, ExampleWebSocketMessageSchema, ExampleWebSocketSessionSchema, ApiNavigationConfigItemSchema, ApiNavigationConfigRootSchema, BearerAuthSchema, BasicAuthSchema, HeaderAuthSchema, OAuthClientCredentialsReferencedEndpointSchema, OAuthClientCredentialsSchema, OAuthSchema, ApiAuthSchema3, JqStringSchema, RegisterLanguageSchema, RegisterUndiscriminatedUnionVariantSchema, RegisterUndiscriminatedUnionTypeSchema, RegisterTypeShapeSchema, RegisterTypeDefinitionSchema, RegisterBytesRequestSchema, RegisterJsonRequestBodySchema, RegisterHttpRequestBodyShapeSchema, RegisterHttpRequestSchema, RegisterHttpRequestsV2Schema, RegisterCustomCodeSampleSchema, RegisterExampleEndpointCallSchema, RegisterNonStreamResponseSchema, RegisterStreamResponseSchema, RegisterStreamConditionResponseSchema, RegisterHttpResponseBodyShapeSchema, RegisterHttpResponseSchema, RegisterHttpResponsesV2Schema, RegisterErrorDeclarationV2Schema, RegisterEndpointDefinitionSchema, RegisterWebhookDefinitionSchema, RegisterWebSocketChannelSchema, SourceIdSchema, SourceSchema2, SourceUploadSchema, DynamicIRSchema, DynamicIRUploadSchema, TypescriptPackageSchema, PythonPackageSchema, GoModuleSchema, JavaCoordinateSchema, RubyGemSchema, NugetPackageSchema, ComposerPackageSchema, SwiftPackageSchema, CratesPackageSchema, SnippetsConfigSchema, RegisterApiDefinitionPackageSchema, RegisterApiDefinitionSubpackageSchema, RegisterApiDefinitionSchema, RegisterApiDefinitionResponseSchema, SnippetInfoSchema, SdkDynamicIrDownloadSchema, GetSdkDynamicIrUploadUrlsResponseSchema, CheckSdkDynamicIrExistsResponseSchema, EndpointExampleGenerationErrorBodySchema, PathPartSchema, WithNamespaceSchema, LatestAuthSchemeSchema, LatestObjectPropertyAccessSchema, LatestTypeReferenceIdDefaultSchema, LatestPrimitiveTypeSchema, LatestLiteralTypeSchema, LatestUnknownTypeSchema, LatestEnumValueSchema, LatestEnumTypeSchema, LatestObjectPropertySchema, LatestParameterPropertySchema, LatestObjectTypeSchema, LatestUndiscriminatedUnionVariantSchema, LatestUndiscriminatedUnionTypeSchema, LatestDiscriminatedUnionVariantSchema, LatestDiscriminatedUnionTypeSchema, LatestTypeShapeSchema, LatestTypeReferenceSchema, LatestTypeDefinitionSchema, LatestContentTypeSchema, LatestBytesRequestSchema, LatestFormDataPropertySchema, LatestFormDataRequestSchema, LatestNullableTypeSchema, LatestOptionalTypeSchema, LatestListTypeSchema, LatestSetTypeSchema, LatestMapTypeSchema, LatestLanguageSchema, LatestExampleEndpointRequestSchema, LatestExampleEndpointResponseSchema, LatestExampleErrorResponseSchema, LatestHttpRequestBodyShapeSchema, LatestHttpRequestSchema, LatestFileDownloadResponseBodyShapeSchema, LatestStreamResponseSchema, LatestHttpResponseBodyShapeSchema, LatestHttpResponseSchema, LatestErrorExampleSchema, LatestErrorResponseSchema, LatestCodeSnippetSchema, LatestExampleEndpointCallSchema, LatestEndpointDefinitionSchema, LatestGraphQlOperationTypeSchema, LatestGraphQlArgumentSchema, LatestGraphQlExampleSchema, LatestGraphQlOperationSchema, LatestWebhookPayloadShapeSchema, LatestWebhookPayloadSchema, LatestExampleWebhookPayloadSchema, LatestWebhookDefinitionSchema, LatestWebSocketMessageSchema, LatestExampleWebSocketMessageSchema, LatestExampleWebSocketSessionSchema, LatestWebSocketChannelSchema, LatestSubpackageMetadataSchema, LatestApiDefinitionSchema, ApiDefinitionSchema2, AvailabilityOrder, UnwrapReferenceCache, UnwrapObjectTypeCache, ApiTypeIdVisitor, ApiDefinitionPruner, ROOT_PACKAGE_ID, MULTIPART_FILENAME_PLACEHOLDER, STATUS_CODE_MESSAGES, STATUS_CODE_MESSAGES_METHOD_OVERRIDES, AUTH_SCHEME_ID, DEFAULT_TYPE_REFERENCE, DEFAULT_TYPE_SHAPE, DEFAULT_WEBHOOK_PAYLOAD_SHAPE, DEFAULT_WEBHOOK_PAYLOAD, DEFAULT_GRAPHQL_ARGUMENT, ApiDefinitionV1ToLatest, HTTP_SNIPPET_CLIENTS, snippetCache, DEFAULT_MAX_DEPTH, IMPORT_PREFIXES, PHP_AUTOLOAD_INSERT, HttpSnippetConverter, SDK_SNIPPET_LANGUAGES, Transformer, ReadUndiscriminatedUnionVariantSchema, ReadUndiscriminatedUnionTypeSchema, ReadTypeShapeSchema, ReadTypeDefinitionSchema, ReadBytesRequestSchema, ReadHttpRequestBodyShapeSchema, ReadHttpRequestSchema, ReadHttpRequestsV2Schema, ReadSupportedLanguageSchema, ReadLanguageSchema, ReadCustomCodeSampleSchema, ReadPythonSnippetSchema, ReadTypescriptSnippetSchema, ReadGoSnippetSchema, ReadRubySnippetSchema, ReadCsharpSnippetSchema, ReadCodeExamplesSchema, ReadExampleEndpointCallSchema, ReadNonStreamResponseSchema, ReadStreamResponseSchema, ReadStreamConditionResponseSchema, ReadHttpResponseBodyShapeSchema, ReadHttpResponseSchema, ReadHttpResponsesV2Schema, ReadErrorDeclarationV2Schema, ReadEndpointDefinitionSchema, ReadWebhookDefinitionSchema, ReadWebSocketChannelSchema, ReadApiDefinitionPackageSchema, ReadApiDefinitionSubpackageSchema, ReadApiDefinitionSchema, apiLatestContract, apiReadContract, apiRegisterContract, DocsDeploymentStatusSchema, DocsSiteSchema, DocsDeploymentSchema, RegisterDocsSiteInputSchema, GetPostmanCollectionIdInputSchema, GetDocsStatusInputSchema, SetDocsStatusInputSchema, CreateDeploymentInputSchema, UpdateDeploymentStatusInputSchema, GetDocsDeploymentsInputSchema, UnlockDeployInputSchema, GetDocsStatusResponseSchema, GetDocsDeploymentsResponseSchema, CreateDeploymentResponseSchema, UpdateDeploymentStatusResponseSchema, GetPostmanCollectionIdResponseSchema, UnlockDeployResponseSchema, GetDocsSitesByCollectionIdInputSchema, FindSiteByOrgAndCollectionInputSchema, FindSiteByOrgAndCollectionResponseSchema, RecordPostmanNotificationInputSchema, RecordPostmanNotificationResponseSchema, GetUnnotifiedPostmanSitesResponseSchema, GetDocsSitesByCollectionIdResponseSchema, DeleteDocsSiteByServiceInputSchema, DeleteDocsSiteByServiceResponseSchema, SetEditorRepoUrlInputSchema, docsDeploymentContract, DocsSiteUrlSchema, DashboardDocsSiteSchema, GetDocsSitesForOrgInputSchema, GetDocsSitesForOrgResponseSchema, IsDocsSiteInOrgInputSchema, IsDocsSiteInOrgResponseSchema, DeleteAllDocsSitesForOrgInputSchema, DeleteAllDocsSitesForOrgResponseSchema, dashboardContract, FileIdSchema2, PageIdSchema2, UrlSchema2, VersionIdSchema2, ApiDefinitionIdSchema2, EndpointIdSchema2, WebSocketIdSchema2, WebhookIdSchema2, RoleIdSchema2, SubpackageIdSchema2, LinkTargetSchema, AvailabilitySchema22, RgbaColorSchema, FileIdOrUrlSchema, LanguageSchema, Bcp47LocaleSchema, DocsTranslationsConfigSchema, ProgrammingLanguageSchema, AnnouncementConfigSchema, SegmentConfigSchema, FullStoryAnalyticsConfigSchema, IntercomConfigSchema, PostHogConfigSchema, GTMConfigSchema, GoogleAnalytics4ConfigSchema, AmplitudeConfigSchema, MixpanelConfigSchema, HotJarConfigSchema, KoalaConfigSchema, LogRocketConfigSchema, PirschConfigSchema, PlausibleConfigSchema, FathomConfigSchema, ClearBitConfigSchema, HeapConfigSchema, AnalyticsConfigSchema, SearchbarPlacementSchema, TabsPlacementSchema, SwitcherPlacementSchema, ContentAlignmentSchema, HeaderPositionSchema, PageWidthSizeConfigSchema, SizeConfigSchema, TabsAlignmentSchema, ChangelogLayoutSchema, DocsLayoutConfigSchema, FooterNavConfigSchema, DocsSidebarConfigSchema, DocsBodyConfigSchema, DocsTabsStyleSchema, DocsTabsObjectConfigSchema, DocsTabsConfigSchema, DocsPageActionsConfigSchema, LanguageSwitcherConfigSchema, ProductSwitcherConfigSchema, DocsThemeConfigSchema, HttpSnippetLanguageSchema, HttpSnippetsConfigSchema, SearchSettingsConfigSchema, DocsSettingsConfigSchema, TwitterCardSettingSchema, MetadataConfigSchema, RedirectConfigSchema, WithPermissionsSchema, NavbarLinkMetadataSchema, NavbarGithubMetadataSchema, NavbarLinkDropdownMetadataSchema, NavbarLinkSchema, FooterLinkSchema, CssConfigSchema, JsScriptStrategySchema, JsRemoteConfigSchema, JsFileConfigSchema, JsConfigSchema, IntegrationsConfigSchema, FontStyleSchema, FontDisplaySchema, CustomFontConfigVariantSchema, CustomFontConfigSchema, FontConfigV2Schema, DocsTypographyConfigV2Schema, ThemedFileIdSchema, ColorsConfigSchema, ColorUnthemedConfigSchema, ColorThemedConfigSchema, ColorConfigSchema, ColorsConfigV2Schema, FontConfigSchema, DocsTypographyConfigSchema, EditThisPageLaunchSchema, AIChatLocationSchema, AIChatWebsiteDatasourceSchema, AIChatDatasourceSchema, AIModelSchema, AIChatConfigSchema, PageDescriptionSourceSchema, AgentsConfigSchema, PageActionOptionSchema, CustomPageActionSchema, SkillSchema, SkillsConfigSchema, PageActionOptionsSchema, PageActionsConfigSchema, HeightSchema, PageContentSchema, NavigationNodeMetadataSchema, PageMetadataSchema, LinkMetadataSchema, NavigationTabLinkSchema, ChangelogItemSchema, ChangelogSectionSchema, ChangelogSectionV3Schema, ApiSectionV2Schema, GitHubRepoSchema, NpmPackageSchema, MavenPackageSchema, PypiPackageSchema, PublishedSdkSchema, PublishedPostmanCollectionSchema, ApiArtifactsSchema, ApiNavigationConfigItemSchema2, ApiNavigationConfigRootSchema2, DocsConfigIdSchema2, UrlFileSchema, ImageFileSchema, FileSchema2, BackgroundSchema, ThemeConfigSchema, DarkAndLightModeConfigSchema, ColorsConfigV3Schema, ApiNavigationConfigItemSchema3, ApiNavigationConfigRootSchema3, ApiSectionSchema, DocsSectionSchema, NavigationItemSchema, NavigationTabGroupSchema, NavigationTabSchema, UnversionedTabbedNavigationConfigSchema, UnversionedUntabbedNavigationConfigSchema, UnversionedNavigationConfigSchema, VersionedNavigationConfigDataSchema, VersionedNavigationConfigSchema, NavigationConfigSchema, DocsConfigSchema, DocsDefinitionSchema, BaseUrlSchema, LoadDocsForUrlResponseSchema, GetDocsForDomainLegacyInputSchema, GetDocsForDomainInputSchema, docsV1ReadContract, ALLOWED_HOSTNAMES, GithubUrlSchema, SafeBranchSchema, SafePackagePathSchema, LibraryDocsBaseConfigSchema, PythonLibraryDocsConfigSchema, CppLibraryDocsConfigSchema, StartLibraryDocsGenerationInputSchema, StartLibraryDocsGenerationResponseSchema, GetLibraryDocsStatusInputSchema, LibraryDocsResultSchema, LibraryDocsGenerationStatusSchema, libraryDocsContract, GetOrganizationForUrlInputSchema, organizationContract, contract_exports, GetDocsUrlMetadataInputSchema, GetDocsUrlMetadataResponseSchema, GetDocsForUrlInputSchema, GetPrivateDocsForUrlInputSchema, ListAllDocsUrlsInputSchema, GetDocsConfigByIdInputSchema, GetSiteMetricsInputSchema, SiteMetricsSchema, DocsDefinitionField, GetDocsConfigByIdResponseSchema, DocsDomainItemSchema, ListAllDocsUrlsResponseSchema, getDocsForUrl, docsV2ReadContract, contract_exports2, OrgIdSchema2, FilePathSchema, DocsRegistrationIdSchema, HeightSchema2, FileS3UploadUrlSchema, StartDocsRegisterResponseSchema, PageContentSchema2, NavigationNodeMetadataSchema2, PageMetadataSchema2, LinkMetadataSchema2, ChangelogItemSchema2, ChangelogSectionSchema2, ChangelogSectionV2Schema, ChangelogSectionV3Schema2, NavigationTabLinkSchema2, ApiNavigationConfigItemSchema4, ApiNavigationConfigSubpackageSchema, ApiNavigationConfigRootSchema4, ApiSectionSchema2, ApiSectionV2Schema2, DocsSectionSchema2, NavigationItemSchema2, NavigationTabGroupSchema2, NavigationTabSchema2, NavigationTabV2Schema, UnversionedTabbedNavigationConfigSchema2, UnversionedUntabbedNavigationConfigSchema2, UnversionedNavigationConfigSchema2, VersionedNavigationConfigDataSchema2, VersionedNavigationConfigSchema2, NavigationConfigSchema2, ThemeConfigSchema2, DarkAndLightModeConfigSchema2, ColorsConfigV3Schema2, DocsConfigSchema2, DocsDefinitionSchema2, NpmPackageSchema2, MavenPackageSchema2, PypiPackageSchema2, PublishedSdkSchema2, PublishedPostmanCollectionSchema2, ApiArtifactsSchema2, InvalidCustomDomainErrorBodySchema, OverlappingCustomDomainsSchema, FilePathSchema2, FilePathInputSchema, ImageFilePathSchema, AuthConfigSchema, StartDocsRegisterV2InputSchema, StartDocsRegisterV2ResponseSchema, StartDocsPreviewRegisterInputSchema, StartDocsPreviewRegisterResponseSchema, FinishDocsRegisterV2InputSchema, TransferOwnershipInputSchema, SetIsArchivedInputSchema, SetDocsUrlMetadataInputSchema, AlgoliaDomainInputSchema, ListAlgoliaPreviewWhitelistResponseSchema, DeleteDocsSiteInputSchema, RemoveCustomDomainAliasInputSchema, Bcp47LocaleSchema2, RegisterTranslationInputSchema, RegisterTranslationResponseSchema, docsV2WriteContract, InvalidateCachedDocsInputSchema, docsCacheContract, MissingContentSchema, RegisterResponseSchema, FinishResponseSchema, ArchiveSiteInputSchema, ArchiveSiteResponseSchema, BlobRefSchema, PageBlobRefSchema, FileManifestEntrySchema, ImageRefSchema, PathOrUrlSchema, RgbaSchema, BackgroundColorSchema, ACCENT_SCALE_KEYS, accentScaleShape, LedgerThemeConfigSchema, LedgerColorsConfigSchema, LedgerFontVariantSchema, LedgerFontConfigSchema, LedgerTypographySchema, LedgerJsFileSchema, LedgerJsConfigSchema, LedgerMetadataConfigSchema, NavbarLinksFieldSchema, FooterLinksFieldSchema, LayoutFieldSchema, ThemeFieldSchema, SettingsFieldSchema, AnalyticsFieldSchema, AIChatFieldSchema, PageActionsFieldSchema, LedgerAgentsConfigSchema, LedgerConfigSchema, MetadataStringArraySchema, FeatureFlagMetadataSchema, LinkTargetSchema2, CollapsedSchema, LedgerAvailabilitySchema, LedgerArtifactTypeSchema, LedgerMetadataBaseSchema, NodeMetadataFields, ApiNodeMetadataFields, LedgerSegmentDetailMetadataObjectSchema, LedgerSegmentDetailMetadataSchema, LedgerSegmentMetadataObjectSchema, LedgerSegmentMetadataSchema, LedgerMarkdownMetadataSchema, LedgerRestMetadataSchema, LedgerWebSocketMetadataSchema, LedgerWebhookMetadataSchema, LedgerGrpcMetadataSchema, LedgerGraphQlMetadataSchema, LedgerChangelogEntryMetadataSchema, LedgerLinkMetadataSchema, LedgerFileArtifactMetadataSchema, LedgerStructuralRedirectKindSchema, LedgerRedirectKindSchema, LedgerRedirectMetadataSchema, LedgerArtifactMetadataSchema, LEDGER_ARTIFACT_METADATA_SCHEMAS, NavRouteBaseSchema, LedgerNavRouteSchema, DocsPublishGitInputSchema, DocsContentFieldsSchema, LocaleEntrySchemaInternal, LocaleEntrySchema, DocsPublishInputSchemaInternal, DocsPublishInputSchema, LedgerPreviewRegisterInputSchemaInternal, LedgerPreviewRegisterInputSchema, LedgerPreviewRegisterResponseSchema, docsLedgerContract, CurrentVersionInputSchema, CurrentPreviewInputSchema, CurrentVersionResponseSchema, ContentRefSchema, SegmentDetailSchema, SegmentSchema, VersionMetadataInputSchema, VersionMetadataResponseSchema, PageContentInputSchema, PageContentResponseSchema, BatchPageContentInputSchema, BatchPageContentItemSchema, BatchPageContentResponseSchema, NavInputSchema, NavResponseSchema, RouteContextInputSchema, RouteContextResponseBaseSchema, RouteContextResponseSchema, TopLevelNavigationInputSchema, TopLevelNavigationResponseSchema, VersionSwitchTargetsInputSchema, VersionSwitchTargetSchema, VersionSwitchTargetsResponseSchema, ApiDefinitionInputSchema, ApiDefinitionResponseSchema, PrunedApiDefinitionInputSchema, PrunedApiDefinitionResponseSchema, FileArtifactInputSchema, FileArtifactResponseSchema, PresignedFileDownloadInputSchema, PresignedFileDownloadResponseSchema, FileMetadataInputSchema, FileMetadataResponseSchema, docsLedgerReadContract, GetSnapshotInputSchema, SetSnapshotInputSchema, GetDocumentsForBranchesInputSchema, EditorDocumentSchema, GetSnapshotResponseSchema, GetDocumentsForBranchesResponseSchema, editorSnapshotContract, GeneratorLanguageSchema, ScriptSchema, GeneratorScriptsSchema, GeneratorTypeSchema, ChangelogEntryTypeSchema, ChangelogEntrySchema, YankSchema, ReleaseTypeSchema, VersionRangeSchema, GeneratorSchema, GeneratorOutputSchema2, GetGeneratorByImageInputSchema, GetGeneratorInputSchema, GeneratorReleaseSchema, GeneratorReleaseRequestSchema, GetLatestGeneratorReleaseInputSchema, GetGeneratorChangelogInputSchema, ChangelogResponseSchema, GetChangelogResponseSchema, GetGeneratorReleaseInputSchema, ListGeneratorReleasesInputSchema, ListGeneratorReleasesResponseSchema, CliReleaseSchema, GetLatestCliReleaseInputSchema, GetCliChangelogInputSchema, GetMinCliForIrInputSchema, UpsertCliReleaseInputSchema, GetCliReleaseInputSchema, ListCliReleasesInputSchema, ListCliReleasesResponseSchema, generatorsContract, generatorVersionsContract, generatorCliContract, CheckRunSchema, GithubRepositoryIdSchema, RepositoryIdSchema, BaseRepositorySchema, SdkRepositorySchema, FernConfigRepositorySchema, FernRepositorySchema, GithubUserSchema, GithubTeamSchema, PullRequestReviewerSchema, PullRequestStateSchema, PullRequestSchema, ListRepositoriesResponseSchema, ListPullRequestsResponseSchema, GetRepositoryInputSchema, ListRepositoriesInputSchema, DeleteRepositoryInputSchema, GetPullRequestInputSchema, ListPullRequestsInputSchema, DeletePullRequestInputSchema, gitContract, PdfExportScopeSchema, PdfExportOptionsV1Schema, PdfExportOptionsSchema, PdfExportTaskStatusSchema, PdfExportTaskSchema, ListPdfExportTasksResponseSchema, PdfExportDownloadResponseSchema, CreatePdfExportTaskInputSchema, ListPdfExportTasksInputSchema, GetPdfExportTaskInputSchema, UpdatePdfExportTaskInputSchema, GetPdfExportDownloadUrlInputSchema, CleanupPdfExportsResponseSchema, pdfExportContract, LanguageEnumSchema, VersionBumpEnumSchema, ComputeSemanticVersionInputSchema, ComputeSemanticVersionOutputSchema, sdksContract, SlugsInputSchema, SlugEntrySchema, MarkdownEntrySchema, GetSlugEntriesResponseSchema, GetMarkdownEntriesResponseSchema, slugsContract, contract_exports3, TypeScriptSdkSchema, PythonSdkSchema, GoSdkSchema, RubySdkSchema, JavaSdkSchema, CsharpSdkSchema, BaseSnippetCreateSchema, SdkSnippetsCreateSchema, snippetsFactoryContract, ParameterPayloadSchema, AuthPayloadSchema, CustomSnippetPayloadSchema, snippetsContract, SnippetRegistryEntrySchema, RegisterInputSchema, RegisterBatchInputSchema, GetInputSchema, EndpointSnippetTemplateSchema, templatesContract, GenerateTokenInputSchema, RevokeTokenInputSchema, GenerateTokenOutputSchema, tokensContract, FdrClient, APIV1Db_exports, EndpointSnippetTemplatesSchema, DbHttpRequestSchema, DbHttpRequestsV2Schema, DbEndpointDefinitionSchema, DbApiDefinitionPackageSchema, DbApiDefinitionSubpackageSchema, DbApiDefinitionSchema, DbEndpointWithContextSchema, APIV1Read_exports, WebSocketMessageOrigin3, APIV1Write_exports, DocsV1Db_exports, BackgroundSchema2, ThemeConfigSchema3, DarkAndLightModeConfigSchema3, ColorsConfigV3Schema3, DbFileInfoSchema, DbImageFileInfoSchema, DbFileInfoV2Schema, NavigationTabGroupSchema3, NavigationTabSchema3, NavigationTabV2Schema2, ApiSectionSchema3, DocsSectionSchema3, NavigationItemSchema3, UnversionedTabbedNavigationConfigSchema3, UnversionedUntabbedNavigationConfigSchema3, UnversionedNavigationConfigSchema3, VersionedNavigationConfigDataSchema3, VersionedNavigationConfigSchema3, NavigationConfigSchema3, DocsDbConfigSchema, DocsDefinitionDbV1Schema, DocsDefinitionDbV2Schema, DocsDefinitionDbV3Schema, DocsDefinitionDbSchema, DocsV1Read_exports, DocsV1Write_exports, FdrAPI_exports, latest_exports2, v1_exports, NavigationV1Availability, ApiLatestWithSubs_exports, ApiLatestEndpoint_exports, ApiLatestWebhook_exports, ApiLatestWebsocket_exports, DocsLatest_exports, StringOrStringListSchema, TwitterCardSettingSchema2, JsonLdBreadcrumbListElementSchema, JsonLdBreadcrumbListSchema, WithJsonLdBreadcrumbsSchema, WithMetadataConfigSchema, LayoutSchema, LogoConfigurationSchema, LogoSchema, BreadcrumbItemSchema, FrontmatterSchema, ResolvedMdxSchema, DocsV1Commons_exports, libraryDocs_exports, PythonClassKind, PythonParameterKind, Sdks_exports, docs, api, libraryDocs, sdks, navigation, MAX_OPTIONAL_EXAMPLES_FOR_QUERY_PARAMS, ApiDefinitionTransformationContext, DEFAULT_DARK_MODE_ACCENT_PRIMARY, DEFAULT_LIGHT_MODE_ACCENT_PRIMARY, SDKSnippetHolder, EMPTY_DARK_THEME, EMPTY_LIGHT_THEME, docs_exports3, EMPTY_FRONTMATTER, navigation_exports, RETURN_PAGEID, RETURN_OVERVIEW_PAGEID, RETURN_UNDEFINED, SKIP, STOP, ApiDefinitionHolder, ApiTypeIdVisitor2, ApiDefinitionPruner2, v1_exports2, ChangelogNavigationConverter, NodeIdGenerator, SlugGenerator, ApiReferenceNavigationConverter, NavigationConfigConverter, RETURN_PAGEID2, RETURN_OVERVIEW_PAGEID2, RETURN_UNDEFINED2, NodeCollectorInstances, NodeCollector, MAX_CHANGELOG_ENTRIES_MINIMUM, CHANGELOG_RECENCY_MONTHS, migrators_exports, FernNavigationV1ToLatest, utils_exports2, RETURN_UNDEFINED3, RETURN_API_DEFINITION_ID, SKIP_URL_SLUG_PREFIX, SYNTHETIC_SEGMENT_RE, Pruner;
|
|
220377
|
+
var import_ts_essentials, import_qs, import_ts_essentials2, import_ts_essentials3, import_url_join, import_qs2, import_fast_deep_equal, import_ts_essentials4, import_url_join2, import_ts_essentials5, import_ts_essentials6, import_ts_essentials7, import_url_join3, import_url_join4, import_dayjs, import_utc, import_url_join5, import_ts_essentials8, import_ts_essentials9, import_ts_essentials10, import_ts_essentials11, import_ts_essentials12, __defProp4, __export3, api_definition_exports, LOOP_TOLERANCE, LARGE_LOOP_TOLERANCE, assertNever_default, EMPTY_ARRAY2, EMPTY_OBJECT2, identity_default2, isPlainObject_default2, conjunctions, articles, prepositions, lowerCase, specials, word, regex3, convertToRegExp, src_default, SPECIAL_TOKENS2, titleCase_default, visitDiscriminatedUnion_default, OrgIdSchema, ApiIdSchema, ApiDefinitionIdSchema, HttpMethodSchema3, HttpMethod7, UrlSchema, EndpointPathLiteralSchema, EndpointIdentifierSchema, SdkRequestSchema, DocsConfigIdSchema, GrpcIdSchema, PageIdSchema, RoleIdSchema, TokenIdSchema, VersionIdSchema, LinkTarget, GrpcMethod, Availability7, SupportedLanguage, HttpSnippetLanguage4, SnippetsByEndpointMethodSchema, SdkSchema, TypeIdSchema, EndpointIdSchema, WebSocketIdSchema, WebhookIdSchema, GraphQlOperationIdSchema, GraphQlTypeCategorySchema, EnvironmentIdSchema, PropertyKeySchema, AuthSchemeIdSchema, SubpackageIdSchema, WebSocketMessageIdSchema, FileIdSchema, MultipleAuthTypeSchema, GrpcMethodSchema, AvailabilitySchema3, WebSocketMessageOriginSchema, WebhookHttpMethodSchema, WithDescriptionSchema, WithAvailabilitySchema, EnvironmentSchema3, RestProtocolSchema, OpenRpcProtocolSchema, GrpcProtocolSchema, ProtocolSchema, ObjectPropertyAccessSchema, TypeReferenceIdDefaultSchema, _numberNullish, _numberIntNullish, coercedNumberNullish, coercedNumberIntNullish, IntegerTypeSchema, DoubleTypeSchema, StringTypeSchema, LongTypeSchema, _booleanNullish, BooleanTypeSchema, DatetimeTypeSchema, UuidTypeSchema, Base64TypeSchema, DateTypeSchema, BigIntegerTypeSchema, UintTypeSchema, Uint64TypeSchema, ScalarTypeSchema, PrimitiveTypeSchema, LiteralTypeSchema, TypeReferenceSchema2, GraphQlArgumentSchema, ObjectPropertySchema2, ObjectTypeSchema, EnumValueSchema2, EnumTypeSchema, DiscriminatedUnionVariantSchema, DiscriminatedUnionTypeSchema, ContentTypeSchema, FilePropertySingleSchema, FilePropertyArraySchema, FormDataFilePropertySchema, FormDataBodyPropertySchema, FormDataPropertySchema, FormDataRequestSchema, EndpointPathPartSchema, PathParameterSchema, EndpointPathSchema, QueryParameterSchema, HeaderSchema, JsonBodyShapeSchema, FileDownloadResponseBodyShapeSchema, StreamResponseV2Schema, StreamConditionSchema, FilenameWithDataSchema, FormValueSchema, BytesValueSchema, ExampleEndpointRequestSchema, ExampleServerSentEventSchema, ExampleEndpointResponseSchema, ErrorDeclarationSchema2, ExampleErrorResponseSchema, ErrorExampleSchema, GraphQlOperationTypeSchema, GraphQlExampleSchema, CodeSnippetSchema, GraphQlOperationSchema, WebhookPayloadShapeSchema, WebhookPayloadSchema2, ExampleWebhookPayloadSchema, WebSocketMessageBodyShapeSchema, WebSocketMessageSchema, ExampleWebSocketMessageSchema, ExampleWebSocketSessionSchema, ApiNavigationConfigItemSchema, ApiNavigationConfigRootSchema, BearerAuthSchema, BasicAuthSchema, HeaderAuthSchema, OAuthClientCredentialsReferencedEndpointSchema, OAuthClientCredentialsSchema, OAuthSchema, ApiAuthSchema3, JqStringSchema, RegisterLanguageSchema, RegisterUndiscriminatedUnionVariantSchema, RegisterUndiscriminatedUnionTypeSchema, RegisterTypeShapeSchema, RegisterTypeDefinitionSchema, RegisterBytesRequestSchema, RegisterJsonRequestBodySchema, RegisterHttpRequestBodyShapeSchema, RegisterHttpRequestSchema, RegisterHttpRequestsV2Schema, RegisterCustomCodeSampleSchema, RegisterExampleEndpointCallSchema, RegisterNonStreamResponseSchema, RegisterStreamResponseSchema, RegisterStreamConditionResponseSchema, RegisterHttpResponseBodyShapeSchema, RegisterHttpResponseSchema, RegisterHttpResponsesV2Schema, RegisterErrorDeclarationV2Schema, RegisterEndpointDefinitionSchema, RegisterWebhookDefinitionSchema, RegisterWebSocketChannelSchema, SourceIdSchema, SourceSchema2, SourceUploadSchema, DynamicIRSchema, DynamicIRUploadSchema, TypescriptPackageSchema, PythonPackageSchema, GoModuleSchema, JavaCoordinateSchema, RubyGemSchema, NugetPackageSchema, ComposerPackageSchema, SwiftPackageSchema, CratesPackageSchema, SnippetsConfigSchema, RegisterApiDefinitionPackageSchema, RegisterApiDefinitionSubpackageSchema, RegisterApiDefinitionSchema, RegisterApiDefinitionResponseSchema, SnippetInfoSchema, SdkDynamicIrDownloadSchema, GetSdkDynamicIrUploadUrlsResponseSchema, CheckSdkDynamicIrExistsResponseSchema, EndpointExampleGenerationErrorBodySchema, PathPartSchema, WithNamespaceSchema, LatestAuthSchemeSchema, LatestObjectPropertyAccessSchema, LatestTypeReferenceIdDefaultSchema, LatestPrimitiveTypeSchema, LatestLiteralTypeSchema, LatestUnknownTypeSchema, LatestEnumValueSchema, LatestEnumTypeSchema, LatestObjectPropertySchema, LatestParameterPropertySchema, LatestObjectTypeSchema, LatestUndiscriminatedUnionVariantSchema, LatestUndiscriminatedUnionTypeSchema, LatestDiscriminatedUnionVariantSchema, LatestDiscriminatedUnionTypeSchema, LatestTypeShapeSchema, LatestTypeReferenceSchema, LatestTypeDefinitionSchema, LatestContentTypeSchema, LatestBytesRequestSchema, LatestFormDataPropertySchema, LatestFormDataRequestSchema, LatestNullableTypeSchema, LatestOptionalTypeSchema, LatestListTypeSchema, LatestSetTypeSchema, LatestMapTypeSchema, LatestLanguageSchema, LatestExampleEndpointRequestSchema, LatestExampleEndpointResponseSchema, LatestExampleErrorResponseSchema, LatestHttpRequestBodyShapeSchema, LatestHttpRequestSchema, LatestFileDownloadResponseBodyShapeSchema, LatestStreamResponseSchema, LatestHttpResponseBodyShapeSchema, LatestHttpResponseSchema, LatestErrorExampleSchema, LatestErrorResponseSchema, LatestCodeSnippetSchema, LatestExampleEndpointCallSchema, LatestEndpointDefinitionSchema, LatestGraphQlOperationTypeSchema, LatestGraphQlArgumentSchema, LatestGraphQlExampleSchema, LatestGraphQlOperationSchema, LatestWebhookPayloadShapeSchema, LatestWebhookPayloadSchema, LatestExampleWebhookPayloadSchema, LatestWebhookDefinitionSchema, LatestWebSocketMessageSchema, LatestExampleWebSocketMessageSchema, LatestExampleWebSocketSessionSchema, LatestWebSocketChannelSchema, LatestSubpackageMetadataSchema, LatestApiDefinitionSchema, ApiDefinitionSchema2, AvailabilityOrder, UnwrapReferenceCache, UnwrapObjectTypeCache, ApiTypeIdVisitor, ApiDefinitionPruner, ROOT_PACKAGE_ID, MULTIPART_FILENAME_PLACEHOLDER, STATUS_CODE_MESSAGES, STATUS_CODE_MESSAGES_METHOD_OVERRIDES, AUTH_SCHEME_ID, DEFAULT_TYPE_REFERENCE, DEFAULT_TYPE_SHAPE, DEFAULT_WEBHOOK_PAYLOAD_SHAPE, DEFAULT_WEBHOOK_PAYLOAD, DEFAULT_GRAPHQL_ARGUMENT, ApiDefinitionV1ToLatest, HTTP_SNIPPET_CLIENTS, snippetCache, DEFAULT_MAX_DEPTH, IMPORT_PREFIXES, PHP_AUTOLOAD_INSERT, HttpSnippetConverter, SDK_SNIPPET_LANGUAGES, Transformer, ReadUndiscriminatedUnionVariantSchema, ReadUndiscriminatedUnionTypeSchema, ReadTypeShapeSchema, ReadTypeDefinitionSchema, ReadBytesRequestSchema, ReadHttpRequestBodyShapeSchema, ReadHttpRequestSchema, ReadHttpRequestsV2Schema, ReadSupportedLanguageSchema, ReadLanguageSchema, ReadCustomCodeSampleSchema, ReadPythonSnippetSchema, ReadTypescriptSnippetSchema, ReadGoSnippetSchema, ReadRubySnippetSchema, ReadCsharpSnippetSchema, ReadCodeExamplesSchema, ReadExampleEndpointCallSchema, ReadNonStreamResponseSchema, ReadStreamResponseSchema, ReadStreamConditionResponseSchema, ReadHttpResponseBodyShapeSchema, ReadHttpResponseSchema, ReadHttpResponsesV2Schema, ReadErrorDeclarationV2Schema, ReadEndpointDefinitionSchema, ReadWebhookDefinitionSchema, ReadWebSocketChannelSchema, ReadApiDefinitionPackageSchema, ReadApiDefinitionSubpackageSchema, ReadApiDefinitionSchema, apiLatestContract, apiReadContract, apiRegisterContract, DocsDeploymentStatusSchema, DocsSiteSchema, DocsDeploymentSchema, RegisterDocsSiteInputSchema, GetPostmanCollectionIdInputSchema, GetDocsStatusInputSchema, SetDocsStatusInputSchema, CreateDeploymentInputSchema, UpdateDeploymentStatusInputSchema, GetDocsDeploymentsInputSchema, UnlockDeployInputSchema, GetDocsStatusResponseSchema, GetDocsDeploymentsResponseSchema, CreateDeploymentResponseSchema, UpdateDeploymentStatusResponseSchema, GetPostmanCollectionIdResponseSchema, UnlockDeployResponseSchema, GetDocsSitesByCollectionIdInputSchema, FindSiteByOrgAndCollectionInputSchema, FindSiteByOrgAndCollectionResponseSchema, RecordPostmanNotificationInputSchema, RecordPostmanNotificationResponseSchema, GetUnnotifiedPostmanSitesResponseSchema, GetDocsSitesByCollectionIdResponseSchema, DeleteDocsSiteByServiceInputSchema, DeleteDocsSiteByServiceResponseSchema, SetEditorRepoUrlInputSchema, docsDeploymentContract, DocsSiteUrlSchema, DashboardDocsSiteSchema, GetDocsSitesForOrgInputSchema, GetDocsSitesForOrgResponseSchema, IsDocsSiteInOrgInputSchema, IsDocsSiteInOrgResponseSchema, DeleteAllDocsSitesForOrgInputSchema, DeleteAllDocsSitesForOrgResponseSchema, dashboardContract, DashboardAnalyticsCommonInputSchema, DashboardFeedbackInputSchema, DashboardListOrgDocDomainsInputSchema, DashboardListOrgMembersInputSchema, DashboardGetSiteConfigInputSchema, AuthorizeDocsEditResponseSchema, AnalyticsMetricSchema, AnalyticsDimensionSchema, AnalyticsGranularitySchema, AnalyticsFilterFieldSchema, AnalyticsFilterOpSchema, AnalyticsFilterSchema, AnalyticsOrderBySchema, AnalyticsDateRangeSchema, QueryAnalyticsInputSchema, ResolvedDateRangeSchema, AnalyticsSourceSchema, TrafficSummaryResponseSchema, TopPagesResponseSchema, Pages404ResponseSchema, ReferringDomainsResponseSchema, LlmBotTrafficResponseSchema, RecentFeedbackResponseSchema, OrgDocDomainsResponseSchema, QueryAnalyticsResponseSchema, OrgMembersResponseSchema, SiteGitRepositorySchema, SiteConfigResponseSchema, SitePasswordProtectionSchema, SiteSettingsResponseSchema, dashboardAgentContract, FileIdSchema2, PageIdSchema2, UrlSchema2, VersionIdSchema2, ApiDefinitionIdSchema2, EndpointIdSchema2, WebSocketIdSchema2, WebhookIdSchema2, RoleIdSchema2, SubpackageIdSchema2, LinkTargetSchema, AvailabilitySchema22, RgbaColorSchema, FileIdOrUrlSchema, LanguageSchema, Bcp47LocaleSchema, DocsTranslationsConfigSchema, ProgrammingLanguageSchema, AnnouncementConfigSchema, SegmentConfigSchema, FullStoryAnalyticsConfigSchema, IntercomConfigSchema, PostHogConfigSchema, GTMConfigSchema, GoogleAnalytics4ConfigSchema, AmplitudeConfigSchema, MixpanelConfigSchema, HotJarConfigSchema, KoalaConfigSchema, LogRocketConfigSchema, PirschConfigSchema, PlausibleConfigSchema, FathomConfigSchema, ClearBitConfigSchema, HeapConfigSchema, AnalyticsConfigSchema, SearchbarPlacementSchema, TabsPlacementSchema, SwitcherPlacementSchema, ContentAlignmentSchema, HeaderPositionSchema, PageWidthSizeConfigSchema, SizeConfigSchema, TabsAlignmentSchema, ChangelogLayoutSchema, DocsLayoutConfigSchema, FooterNavConfigSchema, DocsSidebarConfigSchema, DocsBodyConfigSchema, DocsTabsStyleSchema, DocsTabsObjectConfigSchema, DocsTabsConfigSchema, DocsPageActionsConfigSchema, LanguageSwitcherConfigSchema, ProductSwitcherConfigSchema, DocsThemeConfigSchema, HttpSnippetLanguageSchema, HttpSnippetsConfigSchema, SearchSettingsConfigSchema, DocsSettingsConfigSchema, TwitterCardSettingSchema, MetadataConfigSchema, RedirectConfigSchema, WithPermissionsSchema, NavbarLinkMetadataSchema, NavbarGithubMetadataSchema, NavbarLinkDropdownMetadataSchema, NavbarLinkSchema, FooterLinkSchema, CssConfigSchema, JsScriptStrategySchema, JsRemoteConfigSchema, JsFileConfigSchema, JsConfigSchema, IntegrationsConfigSchema, FontStyleSchema, FontDisplaySchema, CustomFontConfigVariantSchema, CustomFontConfigSchema, FontConfigV2Schema, DocsTypographyConfigV2Schema, ThemedFileIdSchema, ColorsConfigSchema, ColorUnthemedConfigSchema, ColorThemedConfigSchema, ColorConfigSchema, ColorsConfigV2Schema, FontConfigSchema, DocsTypographyConfigSchema, EditThisPageLaunchSchema, AIChatLocationSchema, AIChatWebsiteDatasourceSchema, AIChatDatasourceSchema, AIModelSchema, AIChatConfigSchema, PageDescriptionSourceSchema, AgentsConfigSchema, PageActionOptionSchema, CustomPageActionSchema, SkillSchema, SkillsConfigSchema, PageActionOptionsSchema, PageActionsConfigSchema, HeightSchema, PageContentSchema, NavigationNodeMetadataSchema, PageMetadataSchema, LinkMetadataSchema, NavigationTabLinkSchema, ChangelogItemSchema, ChangelogSectionSchema, ChangelogSectionV3Schema, ApiSectionV2Schema, GitHubRepoSchema, NpmPackageSchema, MavenPackageSchema, PypiPackageSchema, PublishedSdkSchema, PublishedPostmanCollectionSchema, ApiArtifactsSchema, ApiNavigationConfigItemSchema2, ApiNavigationConfigRootSchema2, DocsConfigIdSchema2, UrlFileSchema, ImageFileSchema, FileSchema2, BackgroundSchema, ThemeConfigSchema, DarkAndLightModeConfigSchema, ColorsConfigV3Schema, ApiNavigationConfigItemSchema3, ApiNavigationConfigRootSchema3, ApiSectionSchema, DocsSectionSchema, NavigationItemSchema, NavigationTabGroupSchema, NavigationTabSchema, UnversionedTabbedNavigationConfigSchema, UnversionedUntabbedNavigationConfigSchema, UnversionedNavigationConfigSchema, VersionedNavigationConfigDataSchema, VersionedNavigationConfigSchema, NavigationConfigSchema, DocsConfigSchema, DocsDefinitionSchema, BaseUrlSchema, LoadDocsForUrlResponseSchema, GetDocsForDomainLegacyInputSchema, GetDocsForDomainInputSchema, docsV1ReadContract, ALLOWED_HOSTNAMES, GithubUrlSchema, SafeBranchSchema, SafePackagePathSchema, LibraryDocsBaseConfigSchema, PythonLibraryDocsConfigSchema, CppLibraryDocsConfigSchema, StartLibraryDocsGenerationInputSchema, StartLibraryDocsGenerationResponseSchema, GetLibraryDocsStatusInputSchema, LibraryDocsResultSchema, LibraryDocsGenerationStatusSchema, libraryDocsContract, GetOrganizationForUrlInputSchema, organizationContract, contract_exports, GetDocsUrlMetadataInputSchema, GetDocsUrlMetadataResponseSchema, GetDocsForUrlInputSchema, GetPrivateDocsForUrlInputSchema, ListAllDocsUrlsInputSchema, GetDocsConfigByIdInputSchema, GetSiteMetricsInputSchema, SiteMetricsSchema, DocsDefinitionField, GetDocsConfigByIdResponseSchema, DocsDomainItemSchema, ListAllDocsUrlsResponseSchema, getDocsForUrl, docsV2ReadContract, contract_exports2, OrgIdSchema2, FilePathSchema, DocsRegistrationIdSchema, HeightSchema2, FileS3UploadUrlSchema, StartDocsRegisterResponseSchema, PageContentSchema2, NavigationNodeMetadataSchema2, PageMetadataSchema2, LinkMetadataSchema2, ChangelogItemSchema2, ChangelogSectionSchema2, ChangelogSectionV2Schema, ChangelogSectionV3Schema2, NavigationTabLinkSchema2, ApiNavigationConfigItemSchema4, ApiNavigationConfigSubpackageSchema, ApiNavigationConfigRootSchema4, ApiSectionSchema2, ApiSectionV2Schema2, DocsSectionSchema2, NavigationItemSchema2, NavigationTabGroupSchema2, NavigationTabSchema2, NavigationTabV2Schema, UnversionedTabbedNavigationConfigSchema2, UnversionedUntabbedNavigationConfigSchema2, UnversionedNavigationConfigSchema2, VersionedNavigationConfigDataSchema2, VersionedNavigationConfigSchema2, NavigationConfigSchema2, ThemeConfigSchema2, DarkAndLightModeConfigSchema2, ColorsConfigV3Schema2, DocsConfigSchema2, DocsDefinitionSchema2, NpmPackageSchema2, MavenPackageSchema2, PypiPackageSchema2, PublishedSdkSchema2, PublishedPostmanCollectionSchema2, ApiArtifactsSchema2, InvalidCustomDomainErrorBodySchema, OverlappingCustomDomainsSchema, FilePathSchema2, FilePathInputSchema, ImageFilePathSchema, AuthConfigSchema, StartDocsRegisterV2InputSchema, StartDocsRegisterV2ResponseSchema, StartDocsPreviewRegisterInputSchema, StartDocsPreviewRegisterResponseSchema, FinishDocsRegisterV2InputSchema, TransferOwnershipInputSchema, SetIsArchivedInputSchema, SetDocsUrlMetadataInputSchema, AlgoliaDomainInputSchema, ListAlgoliaPreviewWhitelistResponseSchema, DeleteDocsSiteInputSchema, RemoveCustomDomainAliasInputSchema, Bcp47LocaleSchema2, RegisterTranslationInputSchema, RegisterTranslationResponseSchema, docsV2WriteContract, InvalidateCachedDocsInputSchema, docsCacheContract, MissingContentSchema, RegisterResponseSchema, FinishResponseSchema, ArchiveSiteInputSchema, ArchiveSiteResponseSchema, BlobRefSchema, PageBlobRefSchema, FileManifestEntrySchema, ImageRefSchema, PathOrUrlSchema, RgbaSchema, BackgroundColorSchema, ACCENT_SCALE_KEYS, accentScaleShape, LedgerThemeConfigSchema, LedgerColorsConfigSchema, LedgerFontVariantSchema, LedgerFontConfigSchema, LedgerTypographySchema, LedgerJsFileSchema, LedgerJsConfigSchema, LedgerMetadataConfigSchema, NavbarLinksFieldSchema, FooterLinksFieldSchema, LayoutFieldSchema, ThemeFieldSchema, SettingsFieldSchema, AnalyticsFieldSchema, AIChatFieldSchema, PageActionsFieldSchema, LedgerAgentsConfigSchema, LedgerConfigSchema, MetadataStringArraySchema, FeatureFlagMetadataSchema, LinkTargetSchema2, CollapsedSchema, PlaygroundSettingsSchema, LedgerAvailabilitySchema, LedgerArtifactTypeSchema, LedgerMetadataBaseSchema, NodeMetadataFields, ApiNodeMetadataFields, LedgerSegmentDetailMetadataObjectSchema, LedgerSegmentDetailMetadataSchema, LedgerSegmentMetadataObjectSchema, LedgerSegmentMetadataSchema, LedgerMarkdownMetadataSchema, LedgerRestMetadataSchema, LedgerWebSocketMetadataSchema, LedgerWebhookMetadataSchema, LedgerGrpcMetadataSchema, LedgerGraphQlMetadataSchema, LedgerChangelogEntryMetadataSchema, LedgerLinkMetadataSchema, LedgerFileArtifactMetadataSchema, LedgerStructuralRedirectKindSchema, LedgerRedirectKindSchema, LedgerRedirectMetadataSchema, LedgerArtifactMetadataSchema, LEDGER_ARTIFACT_METADATA_SCHEMAS, NavRouteBaseSchema, LedgerNavRouteSchema, DocsPublishGitInputSchema, DocsContentFieldsSchema, LocaleEntrySchemaInternal, LocaleEntrySchema, DocsPublishInputSchemaInternal, DocsPublishInputSchema, LedgerPreviewRegisterInputSchemaInternal, LedgerPreviewRegisterInputSchema, LedgerPreviewRegisterResponseSchema, docsLedgerContract, CurrentVersionInputSchema, CurrentPreviewInputSchema, CurrentVersionResponseSchema, ContentRefSchema, SegmentDetailSchema, SegmentSchema, VersionMetadataInputSchema, VersionMetadataResponseSchema, PageContentInputSchema, PageContentResponseSchema, BatchPageContentInputSchema, BatchPageContentItemSchema, BatchPageContentResponseSchema, NavInputSchema, NavResponseSchema, RouteContextInputSchema, RouteContextResponseBaseSchema, RouteContextResponseSchema, TopLevelNavigationInputSchema, TopLevelNavigationResponseSchema, VersionSwitchTargetsInputSchema, VersionSwitchTargetSchema, VersionSwitchTargetsResponseSchema, ApiDefinitionInputSchema, ApiDefinitionResponseSchema, PrunedApiDefinitionInputSchema, PrunedApiDefinitionResponseSchema, FileArtifactInputSchema, FileArtifactResponseSchema, PresignedFileDownloadInputSchema, PresignedFileDownloadResponseSchema, FileMetadataInputSchema, FileMetadataResponseSchema, docsLedgerReadContract, GetSnapshotInputSchema, SetSnapshotInputSchema, GetDocumentsForBranchesInputSchema, EditorDocumentSchema, GetSnapshotResponseSchema, GetDocumentsForBranchesResponseSchema, editorSnapshotContract, GeneratorLanguageSchema, ScriptSchema, GeneratorScriptsSchema, GeneratorTypeSchema, ChangelogEntryTypeSchema, ChangelogEntrySchema, YankSchema, ReleaseTypeSchema, VersionRangeSchema, GeneratorSchema, GeneratorOutputSchema2, GetGeneratorByImageInputSchema, GetGeneratorInputSchema, GeneratorReleaseSchema, GeneratorReleaseRequestSchema, GetLatestGeneratorReleaseInputSchema, GetGeneratorChangelogInputSchema, ChangelogResponseSchema, GetChangelogResponseSchema, GetGeneratorReleaseInputSchema, ListGeneratorReleasesInputSchema, ListGeneratorReleasesResponseSchema, CliReleaseSchema, GetLatestCliReleaseInputSchema, GetCliChangelogInputSchema, GetMinCliForIrInputSchema, UpsertCliReleaseInputSchema, GetCliReleaseInputSchema, ListCliReleasesInputSchema, ListCliReleasesResponseSchema, generatorsContract, generatorVersionsContract, generatorCliContract, CheckRunSchema, GithubRepositoryIdSchema, RepositoryIdSchema, BaseRepositorySchema, SdkRepositorySchema, FernConfigRepositorySchema, FernRepositorySchema, GithubUserSchema, GithubTeamSchema, PullRequestReviewerSchema, PullRequestStateSchema, PullRequestSchema, ListRepositoriesResponseSchema, ListPullRequestsResponseSchema, GetRepositoryInputSchema, ListRepositoriesInputSchema, DeleteRepositoryInputSchema, GetPullRequestInputSchema, ListPullRequestsInputSchema, DeletePullRequestInputSchema, gitContract, PdfExportScopeSchema, PdfExportOptionsV1Schema, PdfExportOptionsSchema, PdfExportTaskStatusSchema, PdfExportTaskSchema, ListPdfExportTasksResponseSchema, PdfExportDownloadResponseSchema, CreatePdfExportTaskInputSchema, ListPdfExportTasksInputSchema, GetPdfExportTaskInputSchema, UpdatePdfExportTaskInputSchema, GetPdfExportDownloadUrlInputSchema, CleanupPdfExportsResponseSchema, pdfExportContract, LanguageEnumSchema, VersionBumpEnumSchema, ComputeSemanticVersionInputSchema, ComputeSemanticVersionOutputSchema, sdksContract, SlugsInputSchema, SlugEntrySchema, MarkdownEntrySchema, GetSlugEntriesResponseSchema, GetMarkdownEntriesResponseSchema, slugsContract, contract_exports3, TypeScriptSdkSchema, PythonSdkSchema, GoSdkSchema, RubySdkSchema, JavaSdkSchema, CsharpSdkSchema, BaseSnippetCreateSchema, SdkSnippetsCreateSchema, snippetsFactoryContract, ParameterPayloadSchema, AuthPayloadSchema, CustomSnippetPayloadSchema, snippetsContract, SnippetRegistryEntrySchema, RegisterInputSchema, RegisterBatchInputSchema, GetInputSchema, EndpointSnippetTemplateSchema, templatesContract, GenerateTokenInputSchema, RevokeTokenInputSchema, GenerateTokenOutputSchema, tokensContract, FdrClient, APIV1Db_exports, EndpointSnippetTemplatesSchema, DbHttpRequestSchema, DbHttpRequestsV2Schema, DbEndpointDefinitionSchema, DbApiDefinitionPackageSchema, DbApiDefinitionSubpackageSchema, DbApiDefinitionSchema, DbEndpointWithContextSchema, APIV1Read_exports, WebSocketMessageOrigin3, APIV1Write_exports, DocsV1Db_exports, BackgroundSchema2, ThemeConfigSchema3, DarkAndLightModeConfigSchema3, ColorsConfigV3Schema3, DbFileInfoSchema, DbImageFileInfoSchema, DbFileInfoV2Schema, NavigationTabGroupSchema3, NavigationTabSchema3, NavigationTabV2Schema2, ApiSectionSchema3, DocsSectionSchema3, NavigationItemSchema3, UnversionedTabbedNavigationConfigSchema3, UnversionedUntabbedNavigationConfigSchema3, UnversionedNavigationConfigSchema3, VersionedNavigationConfigDataSchema3, VersionedNavigationConfigSchema3, NavigationConfigSchema3, DocsDbConfigSchema, DocsDefinitionDbV1Schema, DocsDefinitionDbV2Schema, DocsDefinitionDbV3Schema, DocsDefinitionDbSchema, DocsV1Read_exports, DocsV1Write_exports, FdrAPI_exports, latest_exports2, v1_exports, NavigationV1Availability, ApiLatestWithSubs_exports, ApiLatestEndpoint_exports, ApiLatestWebhook_exports, ApiLatestWebsocket_exports, DocsLatest_exports, StringOrStringListSchema, TwitterCardSettingSchema2, JsonLdBreadcrumbListElementSchema, JsonLdBreadcrumbListSchema, WithJsonLdBreadcrumbsSchema, WithMetadataConfigSchema, LayoutSchema, LogoConfigurationSchema, LogoSchema, BreadcrumbItemSchema, FrontmatterSchema, ResolvedMdxSchema, DocsV1Commons_exports, libraryDocs_exports, PythonClassKind, PythonParameterKind, Sdks_exports, docs, api, libraryDocs, sdks, navigation, MAX_OPTIONAL_EXAMPLES_FOR_QUERY_PARAMS, ApiDefinitionTransformationContext, DEFAULT_DARK_MODE_ACCENT_PRIMARY, DEFAULT_LIGHT_MODE_ACCENT_PRIMARY, SDKSnippetHolder, EMPTY_DARK_THEME, EMPTY_LIGHT_THEME, docs_exports3, EMPTY_FRONTMATTER, navigation_exports, RETURN_PAGEID, RETURN_OVERVIEW_PAGEID, RETURN_UNDEFINED, SKIP, STOP, ApiDefinitionHolder, ApiTypeIdVisitor2, ApiDefinitionPruner2, v1_exports2, ChangelogNavigationConverter, NodeIdGenerator, SlugGenerator, ApiReferenceNavigationConverter, NavigationConfigConverter, RETURN_PAGEID2, RETURN_OVERVIEW_PAGEID2, RETURN_UNDEFINED2, NodeCollectorInstances, NodeCollector, MAX_CHANGELOG_ENTRIES_MINIMUM, CHANGELOG_RECENCY_MONTHS, migrators_exports, FernNavigationV1ToLatest, utils_exports2, isHeaderTab, RETURN_UNDEFINED3, RETURN_API_DEFINITION_ID, SKIP_URL_SLUG_PREFIX, SYNTHETIC_SEGMENT_RE, Pruner;
|
|
220129
220378
|
var init_js = __esm({
|
|
220130
|
-
"../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.
|
|
220379
|
+
"../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.80-050d6c9417_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs"() {
|
|
220131
220380
|
"use strict";
|
|
220132
220381
|
init_array();
|
|
220133
220382
|
init_zod2();
|
|
@@ -220161,6 +220410,10 @@ var init_js = __esm({
|
|
|
220161
220410
|
init_fetch3();
|
|
220162
220411
|
init_dist7();
|
|
220163
220412
|
init_zod2();
|
|
220413
|
+
init_dist5();
|
|
220414
|
+
init_fetch3();
|
|
220415
|
+
init_dist7();
|
|
220416
|
+
init_zod2();
|
|
220164
220417
|
init_zod2();
|
|
220165
220418
|
init_zod2();
|
|
220166
220419
|
init_zod2();
|
|
@@ -220621,8 +220874,8 @@ var init_js = __esm({
|
|
|
220621
220874
|
regex3 = new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${word}))|(${word}))(${word}*[\u2019']*${word}*)`, "g");
|
|
220622
220875
|
convertToRegExp = (specials2) => specials2.map((s5) => [new RegExp(`\\b${s5}\\b`, "gi"), s5]);
|
|
220623
220876
|
src_default = (str2, options2 = {}) => {
|
|
220624
|
-
str2 = str2.toLowerCase().replace(regex3, (m3, lead = "", forced, lower, rest, offset2,
|
|
220625
|
-
const isLastWord = m3.length + offset2 >=
|
|
220877
|
+
str2 = str2.toLowerCase().replace(regex3, (m3, lead = "", forced, lower, rest, offset2, string34) => {
|
|
220878
|
+
const isLastWord = m3.length + offset2 >= string34.length;
|
|
220626
220879
|
const parsedMatch = parseMatch(m3);
|
|
220627
220880
|
if (!parsedMatch) {
|
|
220628
220881
|
return m3;
|
|
@@ -224629,6 +224882,213 @@ var init_js = __esm({
|
|
|
224629
224882
|
isDocsSiteInOrg: oc.route({ method: "POST", path: "/is-docs-site-in-org" }).input(IsDocsSiteInOrgInputSchema).output(IsDocsSiteInOrgResponseSchema),
|
|
224630
224883
|
deleteAllDocsSitesForOrg: oc.route({ method: "DELETE", path: "/{orgId}/docs" }).input(DeleteAllDocsSitesForOrgInputSchema).output(DeleteAllDocsSitesForOrgResponseSchema)
|
|
224631
224884
|
};
|
|
224885
|
+
DashboardAnalyticsCommonInputSchema = objectType({
|
|
224886
|
+
orgId: stringType(),
|
|
224887
|
+
domain: stringType().min(1),
|
|
224888
|
+
dateRange: stringType().optional(),
|
|
224889
|
+
includeInternal: booleanType().optional()
|
|
224890
|
+
});
|
|
224891
|
+
DashboardFeedbackInputSchema = objectType({
|
|
224892
|
+
orgId: stringType(),
|
|
224893
|
+
domain: stringType().min(1),
|
|
224894
|
+
dateRange: stringType().optional(),
|
|
224895
|
+
feedbackType: enumType(["page", "code_block", "all"]).optional(),
|
|
224896
|
+
limit: numberType().int().min(1).max(50).optional()
|
|
224897
|
+
});
|
|
224898
|
+
DashboardListOrgDocDomainsInputSchema = objectType({
|
|
224899
|
+
orgId: stringType()
|
|
224900
|
+
});
|
|
224901
|
+
DashboardListOrgMembersInputSchema = objectType({
|
|
224902
|
+
orgId: stringType(),
|
|
224903
|
+
includeFernEmployees: booleanType().optional()
|
|
224904
|
+
});
|
|
224905
|
+
DashboardGetSiteConfigInputSchema = objectType({
|
|
224906
|
+
orgId: stringType(),
|
|
224907
|
+
domain: stringType().min(1)
|
|
224908
|
+
});
|
|
224909
|
+
AuthorizeDocsEditResponseSchema = objectType({
|
|
224910
|
+
authorized: literalType(true)
|
|
224911
|
+
});
|
|
224912
|
+
AnalyticsMetricSchema = enumType(["pageviews", "visitors", "sessions", "404s"]);
|
|
224913
|
+
AnalyticsDimensionSchema = enumType(["path", "referrer"]);
|
|
224914
|
+
AnalyticsGranularitySchema = enumType(["day", "week", "month"]);
|
|
224915
|
+
AnalyticsFilterFieldSchema = enumType(["path", "referrer"]);
|
|
224916
|
+
AnalyticsFilterOpSchema = enumType(["eq", "prefix", "contains"]);
|
|
224917
|
+
AnalyticsFilterSchema = objectType({
|
|
224918
|
+
field: AnalyticsFilterFieldSchema,
|
|
224919
|
+
op: AnalyticsFilterOpSchema,
|
|
224920
|
+
value: stringType().min(1).max(512)
|
|
224921
|
+
});
|
|
224922
|
+
AnalyticsOrderBySchema = objectType({
|
|
224923
|
+
field: enumType(["count", "visitors"]),
|
|
224924
|
+
dir: enumType(["asc", "desc"])
|
|
224925
|
+
});
|
|
224926
|
+
AnalyticsDateRangeSchema = unionType([
|
|
224927
|
+
stringType().min(1),
|
|
224928
|
+
objectType({ startDate: stringType(), endDate: stringType() })
|
|
224929
|
+
]);
|
|
224930
|
+
QueryAnalyticsInputSchema = objectType({
|
|
224931
|
+
orgId: stringType(),
|
|
224932
|
+
domain: stringType().min(1),
|
|
224933
|
+
metric: AnalyticsMetricSchema,
|
|
224934
|
+
dimensions: arrayType(AnalyticsDimensionSchema).max(2).optional(),
|
|
224935
|
+
filters: arrayType(AnalyticsFilterSchema).max(10).optional(),
|
|
224936
|
+
dateRange: AnalyticsDateRangeSchema,
|
|
224937
|
+
granularity: AnalyticsGranularitySchema.optional(),
|
|
224938
|
+
orderBy: AnalyticsOrderBySchema.optional(),
|
|
224939
|
+
limit: numberType().int().min(1).max(500).optional()
|
|
224940
|
+
});
|
|
224941
|
+
ResolvedDateRangeSchema = objectType({
|
|
224942
|
+
startDate: stringType(),
|
|
224943
|
+
endDate: stringType()
|
|
224944
|
+
});
|
|
224945
|
+
AnalyticsSourceSchema = enumType(["cache", "live"]);
|
|
224946
|
+
TrafficSummaryResponseSchema = objectType({
|
|
224947
|
+
resolvedDateRange: ResolvedDateRangeSchema,
|
|
224948
|
+
metrics: objectType({
|
|
224949
|
+
visitors: numberType(),
|
|
224950
|
+
pageViews: numberType(),
|
|
224951
|
+
// Absent on cache hits: the daily snapshot does not track sessions.
|
|
224952
|
+
sessions: numberType().optional()
|
|
224953
|
+
}),
|
|
224954
|
+
baseSiteUrl: stringType(),
|
|
224955
|
+
source: AnalyticsSourceSchema
|
|
224956
|
+
});
|
|
224957
|
+
TopPagesResponseSchema = objectType({
|
|
224958
|
+
resolvedDateRange: ResolvedDateRangeSchema,
|
|
224959
|
+
topPages: arrayType(
|
|
224960
|
+
objectType({
|
|
224961
|
+
path: stringType(),
|
|
224962
|
+
visitors: numberType(),
|
|
224963
|
+
views: numberType()
|
|
224964
|
+
})
|
|
224965
|
+
),
|
|
224966
|
+
source: AnalyticsSourceSchema
|
|
224967
|
+
});
|
|
224968
|
+
Pages404ResponseSchema = objectType({
|
|
224969
|
+
resolvedDateRange: ResolvedDateRangeSchema,
|
|
224970
|
+
pages404: arrayType(
|
|
224971
|
+
objectType({
|
|
224972
|
+
path: stringType(),
|
|
224973
|
+
count: numberType()
|
|
224974
|
+
})
|
|
224975
|
+
),
|
|
224976
|
+
source: AnalyticsSourceSchema
|
|
224977
|
+
});
|
|
224978
|
+
ReferringDomainsResponseSchema = objectType({
|
|
224979
|
+
resolvedDateRange: ResolvedDateRangeSchema,
|
|
224980
|
+
referringDomains: arrayType(
|
|
224981
|
+
objectType({
|
|
224982
|
+
domain: stringType(),
|
|
224983
|
+
visitors: numberType(),
|
|
224984
|
+
views: numberType()
|
|
224985
|
+
})
|
|
224986
|
+
),
|
|
224987
|
+
source: AnalyticsSourceSchema
|
|
224988
|
+
});
|
|
224989
|
+
LlmBotTrafficResponseSchema = objectType({
|
|
224990
|
+
resolvedDateRange: ResolvedDateRangeSchema,
|
|
224991
|
+
providers: arrayType(
|
|
224992
|
+
objectType({
|
|
224993
|
+
provider: stringType(),
|
|
224994
|
+
count: numberType()
|
|
224995
|
+
})
|
|
224996
|
+
),
|
|
224997
|
+
source: AnalyticsSourceSchema
|
|
224998
|
+
});
|
|
224999
|
+
RecentFeedbackResponseSchema = objectType({
|
|
225000
|
+
resolvedDateRange: ResolvedDateRangeSchema,
|
|
225001
|
+
helpfulCount: numberType(),
|
|
225002
|
+
unhelpfulCount: numberType(),
|
|
225003
|
+
entries: arrayType(
|
|
225004
|
+
objectType({
|
|
225005
|
+
date: stringType(),
|
|
225006
|
+
location: stringType(),
|
|
225007
|
+
wasHelpful: booleanType(),
|
|
225008
|
+
userFeedback: stringType(),
|
|
225009
|
+
feedbackType: stringType().optional()
|
|
225010
|
+
})
|
|
225011
|
+
),
|
|
225012
|
+
hasMore: booleanType()
|
|
225013
|
+
});
|
|
225014
|
+
OrgDocDomainsResponseSchema = objectType({
|
|
225015
|
+
domains: arrayType(stringType())
|
|
225016
|
+
});
|
|
225017
|
+
QueryAnalyticsResponseSchema = objectType({
|
|
225018
|
+
resolvedDateRange: ResolvedDateRangeSchema,
|
|
225019
|
+
metric: AnalyticsMetricSchema,
|
|
225020
|
+
dimensions: arrayType(AnalyticsDimensionSchema),
|
|
225021
|
+
granularity: AnalyticsGranularitySchema.optional(),
|
|
225022
|
+
rows: arrayType(
|
|
225023
|
+
objectType({
|
|
225024
|
+
dimensions: recordType(stringType(), stringType()),
|
|
225025
|
+
bucket: stringType().optional(),
|
|
225026
|
+
count: numberType(),
|
|
225027
|
+
visitors: numberType().optional(),
|
|
225028
|
+
sessions: numberType().optional()
|
|
225029
|
+
})
|
|
225030
|
+
)
|
|
225031
|
+
});
|
|
225032
|
+
OrgMembersResponseSchema = objectType({
|
|
225033
|
+
members: arrayType(
|
|
225034
|
+
objectType({
|
|
225035
|
+
name: stringType(),
|
|
225036
|
+
email: stringType(),
|
|
225037
|
+
roles: arrayType(stringType())
|
|
225038
|
+
})
|
|
225039
|
+
),
|
|
225040
|
+
count: numberType()
|
|
225041
|
+
});
|
|
225042
|
+
SiteGitRepositorySchema = objectType({
|
|
225043
|
+
gitUrl: stringType(),
|
|
225044
|
+
provider: enumType(["github", "gitlab", "other"]),
|
|
225045
|
+
/** `owner/repo` when the git url points at GitHub, else null. */
|
|
225046
|
+
githubRepository: stringType().nullable(),
|
|
225047
|
+
branch: stringType().nullable()
|
|
225048
|
+
});
|
|
225049
|
+
SiteConfigResponseSchema = objectType({
|
|
225050
|
+
domain: stringType(),
|
|
225051
|
+
basepath: stringType().nullable(),
|
|
225052
|
+
status: stringType().nullable(),
|
|
225053
|
+
isPreview: booleanType(),
|
|
225054
|
+
/** The git repository connected to this docs site, when one exists. */
|
|
225055
|
+
gitRepository: SiteGitRepositorySchema.nullable(),
|
|
225056
|
+
/** True when the queried domain is a customer-owned custom domain (not *.docs.buildwithfern.com). */
|
|
225057
|
+
isCustomDomain: booleanType(),
|
|
225058
|
+
/** Fern CLI version that published the current deployment, when known. */
|
|
225059
|
+
fernCliVersion: stringType().nullable(),
|
|
225060
|
+
/** Connected Postman collection id, when one exists. */
|
|
225061
|
+
postmanCollectionId: stringType().nullable()
|
|
225062
|
+
});
|
|
225063
|
+
SitePasswordProtectionSchema = objectType({
|
|
225064
|
+
enabled: booleanType(),
|
|
225065
|
+
/** Number of configured passwords. Passwords themselves are never returned. */
|
|
225066
|
+
passwordCount: numberType()
|
|
225067
|
+
});
|
|
225068
|
+
SiteSettingsResponseSchema = objectType({
|
|
225069
|
+
domain: stringType(),
|
|
225070
|
+
basepath: stringType().nullable(),
|
|
225071
|
+
/** Default basepath route for multi-basepath domains, when configured. */
|
|
225072
|
+
defaultBasepath: stringType().nullable(),
|
|
225073
|
+
/** Basepaths routed on this domain, when configured. */
|
|
225074
|
+
basepaths: arrayType(stringType()).nullable(),
|
|
225075
|
+
searchBehavior: enumType(["hierarchical", "unified"]).nullable(),
|
|
225076
|
+
passwordProtection: SitePasswordProtectionSchema
|
|
225077
|
+
});
|
|
225078
|
+
dashboardAgentContract = {
|
|
225079
|
+
getTrafficSummary: oc.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
|
|
225080
|
+
getTopPages: oc.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
|
|
225081
|
+
get404Pages: oc.route({ method: "POST", path: "/get-404-pages" }).input(DashboardAnalyticsCommonInputSchema).output(Pages404ResponseSchema),
|
|
225082
|
+
getReferringDomains: oc.route({ method: "POST", path: "/get-referring-domains" }).input(DashboardAnalyticsCommonInputSchema).output(ReferringDomainsResponseSchema),
|
|
225083
|
+
getLlmBotTraffic: oc.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema).output(LlmBotTrafficResponseSchema),
|
|
225084
|
+
getRecentFeedback: oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
|
|
225085
|
+
queryAnalytics: oc.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
|
|
225086
|
+
listOrgDocDomains: oc.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
|
|
225087
|
+
listOrgMembers: oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
|
|
225088
|
+
getSiteConfig: oc.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
|
|
225089
|
+
authorizeDocsEdit: oc.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema).output(AuthorizeDocsEditResponseSchema),
|
|
225090
|
+
getSiteSettings: oc.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
|
|
225091
|
+
};
|
|
224632
225092
|
FileIdSchema2 = stringType();
|
|
224633
225093
|
PageIdSchema2 = stringType();
|
|
224634
225094
|
UrlSchema2 = stringType();
|
|
@@ -224795,7 +225255,8 @@ var init_js = __esm({
|
|
|
224795
225255
|
hideNavLinks: booleanType().optional(),
|
|
224796
225256
|
hideFeedback: booleanType().optional(),
|
|
224797
225257
|
mobileToc: booleanType().optional(),
|
|
224798
|
-
changelogLayout: ChangelogLayoutSchema.optional()
|
|
225258
|
+
changelogLayout: ChangelogLayoutSchema.optional(),
|
|
225259
|
+
showNavAvailabilityBadges: booleanType().optional()
|
|
224799
225260
|
});
|
|
224800
225261
|
FooterNavConfigSchema = enumType(["default", "minimal"]);
|
|
224801
225262
|
DocsSidebarConfigSchema = enumType(["default", "minimal"]);
|
|
@@ -224835,7 +225296,13 @@ var init_js = __esm({
|
|
|
224835
225296
|
HttpSnippetsConfigSchema = unionType([booleanType(), arrayType(HttpSnippetLanguageSchema)]);
|
|
224836
225297
|
SearchSettingsConfigSchema = objectType({
|
|
224837
225298
|
prioritizeCurrentProduct: booleanType().optional(),
|
|
224838
|
-
defaultFilterByCurrentProduct: booleanType().optional()
|
|
225299
|
+
defaultFilterByCurrentProduct: booleanType().optional(),
|
|
225300
|
+
/**
|
|
225301
|
+
* Experimental: absolute URLs of external sitemaps to index alongside this
|
|
225302
|
+
* site's docs content. Their pages are tagged to the same domain but flagged
|
|
225303
|
+
* as third-party so they rank below all first-party documentation in search.
|
|
225304
|
+
*/
|
|
225305
|
+
externalSitemaps: arrayType(stringType()).optional()
|
|
224839
225306
|
});
|
|
224840
225307
|
DocsSettingsConfigSchema = objectType({
|
|
224841
225308
|
searchText: stringType().optional(),
|
|
@@ -226275,6 +226742,13 @@ var init_js = __esm({
|
|
|
226275
226742
|
);
|
|
226276
226743
|
LinkTargetSchema2 = enumType(["_blank", "_self", "_parent", "_top"]);
|
|
226277
226744
|
CollapsedSchema = unionType([booleanType(), literalType("open-by-default")]);
|
|
226745
|
+
PlaygroundSettingsSchema = objectType({
|
|
226746
|
+
hidden: booleanType().optional(),
|
|
226747
|
+
environments: arrayType(stringType()).optional(),
|
|
226748
|
+
button: objectType({ href: stringType().optional() }).optional(),
|
|
226749
|
+
"limit-websocket-messages-per-connection": numberType().optional(),
|
|
226750
|
+
"send-optional-defaults": booleanType().optional()
|
|
226751
|
+
});
|
|
226278
226752
|
LedgerAvailabilitySchema = unionType([
|
|
226279
226753
|
AvailabilitySchema3,
|
|
226280
226754
|
enumType([
|
|
@@ -226316,7 +226790,8 @@ var init_js = __esm({
|
|
|
226316
226790
|
ApiNodeMetadataFields = {
|
|
226317
226791
|
...NodeMetadataFields,
|
|
226318
226792
|
apiDefinitionId: stringType(),
|
|
226319
|
-
availability: LedgerAvailabilitySchema.optional()
|
|
226793
|
+
availability: LedgerAvailabilitySchema.optional(),
|
|
226794
|
+
playground: PlaygroundSettingsSchema.optional()
|
|
226320
226795
|
};
|
|
226321
226796
|
LedgerSegmentDetailMetadataObjectSchema = LedgerMetadataBaseSchema.extend({
|
|
226322
226797
|
slug: stringType().optional(),
|
|
@@ -226366,7 +226841,8 @@ var init_js = __esm({
|
|
|
226366
226841
|
hideTitle: booleanType().optional(),
|
|
226367
226842
|
viewers: MetadataStringArraySchema.optional(),
|
|
226368
226843
|
orphaned: booleanType().optional(),
|
|
226369
|
-
featureFlags: FeatureFlagMetadataSchema.optional()
|
|
226844
|
+
featureFlags: FeatureFlagMetadataSchema.optional(),
|
|
226845
|
+
playground: PlaygroundSettingsSchema.optional()
|
|
226370
226846
|
}),
|
|
226371
226847
|
LedgerMetadataBaseSchema.extend({
|
|
226372
226848
|
type: literalType("apiPackage"),
|
|
@@ -226380,7 +226856,8 @@ var init_js = __esm({
|
|
|
226380
226856
|
pointsTo: stringType().optional(),
|
|
226381
226857
|
viewers: MetadataStringArraySchema.optional(),
|
|
226382
226858
|
orphaned: booleanType().optional(),
|
|
226383
|
-
featureFlags: FeatureFlagMetadataSchema.optional()
|
|
226859
|
+
featureFlags: FeatureFlagMetadataSchema.optional(),
|
|
226860
|
+
playground: PlaygroundSettingsSchema.optional()
|
|
226384
226861
|
}),
|
|
226385
226862
|
LedgerMetadataBaseSchema.extend({
|
|
226386
226863
|
type: literalType("changelog"),
|
|
@@ -232160,6 +232637,30 @@ var init_js = __esm({
|
|
|
232160
232637
|
getNodesInOrder = () => {
|
|
232161
232638
|
return this.nodesInOrder;
|
|
232162
232639
|
};
|
|
232640
|
+
/**
|
|
232641
|
+
* The distinct RBAC roles referenced anywhere in the navigation, collected from every node's
|
|
232642
|
+
* `viewers`. This is the authoritative source of "which roles gate content on this site" — the
|
|
232643
|
+
* top-level `root.roles` is not populated by the nav builders, and docs.yml's declared `roles`
|
|
232644
|
+
* list is not serialized into the docs definition, so the roles that actually exist are the ones
|
|
232645
|
+
* appearing in node `viewers` (e.g. the implicit `everyone` plus any custom roles like `beta`).
|
|
232646
|
+
*
|
|
232647
|
+
* NOTE: this is a faithful collection of every role in `viewers` — it INCLUDES the implicit
|
|
232648
|
+
* `everyone` role when present (kept deliberately, so callers can e.g. detect whether a site uses
|
|
232649
|
+
* RBAC at all). Consumers that want only masquerade-able custom roles MUST filter `everyone`
|
|
232650
|
+
* themselves (the preview widget does this via `EVERYONE_ROLE`).
|
|
232651
|
+
*/
|
|
232652
|
+
getRoles = once2(() => {
|
|
232653
|
+
const roles = /* @__PURE__ */ new Set();
|
|
232654
|
+
for (const node4 of this.nodesInOrder) {
|
|
232655
|
+
const viewers = node4.viewers;
|
|
232656
|
+
if (viewers != null) {
|
|
232657
|
+
for (const role of viewers) {
|
|
232658
|
+
roles.add(role);
|
|
232659
|
+
}
|
|
232660
|
+
}
|
|
232661
|
+
}
|
|
232662
|
+
return Array.from(roles);
|
|
232663
|
+
});
|
|
232163
232664
|
};
|
|
232164
232665
|
MAX_CHANGELOG_ENTRIES_MINIMUM = 15;
|
|
232165
232666
|
CHANGELOG_RECENCY_MONTHS = 6;
|
|
@@ -233015,14 +233516,17 @@ var init_js = __esm({
|
|
|
233015
233516
|
createBreadcrumb: () => createBreadcrumb,
|
|
233016
233517
|
findNode: () => findNode,
|
|
233017
233518
|
getApiReferenceId: () => getApiReferenceId,
|
|
233519
|
+
getEnclosingTabbedNode: () => getEnclosingTabbedNode,
|
|
233018
233520
|
getNoIndexFromFrontmatter: () => getNoIndexFromFrontmatter,
|
|
233019
233521
|
mutableUpdatePointsTo: () => mutableUpdatePointsTo,
|
|
233522
|
+
resolveCurrentTab: () => resolveCurrentTab,
|
|
233020
233523
|
stripSyntheticSegments: () => stripSyntheticSegments,
|
|
233021
233524
|
toApis: () => toApis,
|
|
233022
233525
|
toPages: () => toPages,
|
|
233023
233526
|
toRootNode: () => toRootNode2,
|
|
233024
233527
|
toUnversionedSlug: () => toUnversionedSlug
|
|
233025
233528
|
});
|
|
233529
|
+
isHeaderTab = (child) => child.type === "tab" || child.type === "changelog";
|
|
233026
233530
|
RETURN_UNDEFINED3 = () => void 0;
|
|
233027
233531
|
RETURN_API_DEFINITION_ID = (node4) => node4.apiDefinitionId;
|
|
233028
233532
|
SKIP_URL_SLUG_PREFIX = "~";
|
|
@@ -274676,13 +275180,17 @@ var init_convertOAuthClientCredentials = __esm({
|
|
|
274676
275180
|
|
|
274677
275181
|
// ../generation/ir-generator/lib/converters/convertOAuthUtils.js
|
|
274678
275182
|
function get0AuthTokenEndpoint(oauthSchema) {
|
|
275183
|
+
const getToken3 = oauthSchema["get-token"];
|
|
275184
|
+
if (getToken3 == null) {
|
|
275185
|
+
throw new Error("OAuth client-credentials flow is missing the required `get-token` endpoint");
|
|
275186
|
+
}
|
|
274679
275187
|
return {
|
|
274680
|
-
endpoint:
|
|
275188
|
+
endpoint: getToken3.endpoint,
|
|
274681
275189
|
requestProperties: getTokenEndpointRequestProperties({
|
|
274682
|
-
requestProperties:
|
|
275190
|
+
requestProperties: getToken3["request-properties"]
|
|
274683
275191
|
}),
|
|
274684
275192
|
responseProperties: getTokenEndpointResponseProperties({
|
|
274685
|
-
responseProperties:
|
|
275193
|
+
responseProperties: getToken3["response-properties"]
|
|
274686
275194
|
})
|
|
274687
275195
|
};
|
|
274688
275196
|
}
|
|
@@ -274955,6 +275463,43 @@ function generateOAuth({ key: key2, file: file4, docs: docs2, rawScheme, propert
|
|
|
274955
275463
|
refreshTokenEndpoint: getRefreshTokenEndpoint(rawScheme)
|
|
274956
275464
|
}))
|
|
274957
275465
|
});
|
|
275466
|
+
case "authorization-code":
|
|
275467
|
+
return AuthScheme.oauth({
|
|
275468
|
+
key: key2,
|
|
275469
|
+
docs: docs2,
|
|
275470
|
+
configuration: OAuthConfiguration.authorizationCode({
|
|
275471
|
+
clientId: getPublicClientId(rawScheme),
|
|
275472
|
+
authorizationUrl: requireOAuthField(rawScheme, "authorization-url"),
|
|
275473
|
+
tokenUrl: requireOAuthField(rawScheme, "token-url"),
|
|
275474
|
+
refreshUrl: rawScheme["refresh-url"],
|
|
275475
|
+
redirectUri: getRedirectUri(rawScheme["redirect-uri"]),
|
|
275476
|
+
redirectUriBackupPorts: getRedirectUriBackupPorts(rawScheme["redirect-uri"]),
|
|
275477
|
+
scopes: rawScheme.scopes,
|
|
275478
|
+
pkce: { method: OAuthPkceMethod.S256 },
|
|
275479
|
+
authorizationParameters: rawScheme["authorization-parameters"],
|
|
275480
|
+
tokenParameters: rawScheme["token-parameters"],
|
|
275481
|
+
refreshParameters: rawScheme["refresh-parameters"],
|
|
275482
|
+
tokenHeader: rawScheme["token-header"],
|
|
275483
|
+
tokenPrefix: rawScheme["token-prefix"]
|
|
275484
|
+
})
|
|
275485
|
+
});
|
|
275486
|
+
case "device-code":
|
|
275487
|
+
return AuthScheme.oauth({
|
|
275488
|
+
key: key2,
|
|
275489
|
+
docs: docs2,
|
|
275490
|
+
configuration: OAuthConfiguration.deviceCode({
|
|
275491
|
+
clientId: getPublicClientId(rawScheme),
|
|
275492
|
+
deviceAuthorizationUrl: requireOAuthField(rawScheme, "device-authorization-url"),
|
|
275493
|
+
tokenUrl: requireOAuthField(rawScheme, "token-url"),
|
|
275494
|
+
refreshUrl: rawScheme["refresh-url"],
|
|
275495
|
+
scopes: rawScheme.scopes,
|
|
275496
|
+
deviceAuthorizationParameters: rawScheme["device-authorization-parameters"],
|
|
275497
|
+
tokenParameters: rawScheme["token-parameters"],
|
|
275498
|
+
refreshParameters: rawScheme["refresh-parameters"],
|
|
275499
|
+
tokenHeader: rawScheme["token-header"],
|
|
275500
|
+
tokenPrefix: rawScheme["token-prefix"]
|
|
275501
|
+
})
|
|
275502
|
+
});
|
|
274958
275503
|
default:
|
|
274959
275504
|
throw new CliError({
|
|
274960
275505
|
message: `Unknown OAuth type: '${rawScheme?.type}'`,
|
|
@@ -274962,6 +275507,35 @@ function generateOAuth({ key: key2, file: file4, docs: docs2, rawScheme, propert
|
|
|
274962
275507
|
});
|
|
274963
275508
|
}
|
|
274964
275509
|
}
|
|
275510
|
+
function getPublicClientId(rawScheme) {
|
|
275511
|
+
const clientIdEnvVar = rawScheme["client-id-env"];
|
|
275512
|
+
if (rawScheme["client-id"] == null && clientIdEnvVar != null) {
|
|
275513
|
+
return OAuthPublicClientId.environmentVariable(clientIdEnvVar);
|
|
275514
|
+
}
|
|
275515
|
+
return OAuthPublicClientId.literal(rawScheme["client-id"] ?? "");
|
|
275516
|
+
}
|
|
275517
|
+
function getRedirectUri(redirectUri) {
|
|
275518
|
+
if (redirectUri == null) {
|
|
275519
|
+
return void 0;
|
|
275520
|
+
}
|
|
275521
|
+
return typeof redirectUri === "string" ? redirectUri : redirectUri.url;
|
|
275522
|
+
}
|
|
275523
|
+
function getRedirectUriBackupPorts(redirectUri) {
|
|
275524
|
+
if (redirectUri == null || typeof redirectUri === "string") {
|
|
275525
|
+
return void 0;
|
|
275526
|
+
}
|
|
275527
|
+
return redirectUri.ports;
|
|
275528
|
+
}
|
|
275529
|
+
function requireOAuthField(rawScheme, field5) {
|
|
275530
|
+
const value2 = rawScheme[field5];
|
|
275531
|
+
if (typeof value2 !== "string") {
|
|
275532
|
+
throw new CliError({
|
|
275533
|
+
message: `OAuth ${rawScheme.type} flow is missing required field '${field5}'`,
|
|
275534
|
+
code: CliError.Code.ValidationError
|
|
275535
|
+
});
|
|
275536
|
+
}
|
|
275537
|
+
return value2;
|
|
275538
|
+
}
|
|
274965
275539
|
function generateInferredAuth({ key: key2, file: file4, docs: docs2, rawScheme, propertyResolver, endpointResolver }) {
|
|
274966
275540
|
return AuthScheme.inferred({
|
|
274967
275541
|
key: key2,
|
|
@@ -321325,6 +321899,14 @@ var init_api_yml_schema = __esm({
|
|
|
321325
321899
|
}
|
|
321326
321900
|
]
|
|
321327
321901
|
},
|
|
321902
|
+
"auth.OAuthFlowTypeSchema": {
|
|
321903
|
+
type: "string",
|
|
321904
|
+
enum: [
|
|
321905
|
+
"client-credentials",
|
|
321906
|
+
"authorization-code",
|
|
321907
|
+
"device-code"
|
|
321908
|
+
]
|
|
321909
|
+
},
|
|
321328
321910
|
"auth.AuthScope": {
|
|
321329
321911
|
type: "string"
|
|
321330
321912
|
},
|
|
@@ -321524,6 +322106,62 @@ var init_api_yml_schema = __esm({
|
|
|
321524
322106
|
],
|
|
321525
322107
|
additionalProperties: false
|
|
321526
322108
|
},
|
|
322109
|
+
"auth.RedirectUriWithBackupPortsSchema": {
|
|
322110
|
+
type: "object",
|
|
322111
|
+
properties: {
|
|
322112
|
+
url: {
|
|
322113
|
+
type: "string",
|
|
322114
|
+
description: "The primary loopback callback URI, e.g. `http://127.0.0.1:8484/callback`."
|
|
322115
|
+
},
|
|
322116
|
+
ports: {
|
|
322117
|
+
oneOf: [
|
|
322118
|
+
{
|
|
322119
|
+
type: "array",
|
|
322120
|
+
items: {
|
|
322121
|
+
type: "integer"
|
|
322122
|
+
}
|
|
322123
|
+
},
|
|
322124
|
+
{
|
|
322125
|
+
type: "null"
|
|
322126
|
+
}
|
|
322127
|
+
],
|
|
322128
|
+
description: "Backup loopback ports, tried in order when the port in `url` is busy. Each reuses the host and path of `url` (only the port differs) and must be pre-registered with the authorization server."
|
|
322129
|
+
}
|
|
322130
|
+
},
|
|
322131
|
+
required: [
|
|
322132
|
+
"url"
|
|
322133
|
+
],
|
|
322134
|
+
additionalProperties: false,
|
|
322135
|
+
description: "A loopback callback URI with additional backup ports for the authorization-code flow."
|
|
322136
|
+
},
|
|
322137
|
+
"auth.RedirectUriSchema": {
|
|
322138
|
+
anyOf: [
|
|
322139
|
+
{
|
|
322140
|
+
type: "string"
|
|
322141
|
+
},
|
|
322142
|
+
{
|
|
322143
|
+
$ref: "#/definitions/auth.RedirectUriWithBackupPortsSchema"
|
|
322144
|
+
}
|
|
322145
|
+
]
|
|
322146
|
+
},
|
|
322147
|
+
"auth.OAuthPkceSchema": {
|
|
322148
|
+
type: "object",
|
|
322149
|
+
properties: {
|
|
322150
|
+
method: {
|
|
322151
|
+
oneOf: [
|
|
322152
|
+
{
|
|
322153
|
+
type: "string"
|
|
322154
|
+
},
|
|
322155
|
+
{
|
|
322156
|
+
type: "null"
|
|
322157
|
+
}
|
|
322158
|
+
],
|
|
322159
|
+
description: "The PKCE code challenge method. Only 'S256' is supported. Defaults to 'S256'."
|
|
322160
|
+
}
|
|
322161
|
+
},
|
|
322162
|
+
additionalProperties: false,
|
|
322163
|
+
description: "PKCE (RFC 7636) configuration for the authorization-code flow."
|
|
322164
|
+
},
|
|
321527
322165
|
"auth.OAuthSchemeSchema": {
|
|
321528
322166
|
type: "object",
|
|
321529
322167
|
properties: {
|
|
@@ -321541,7 +322179,8 @@ var init_api_yml_schema = __esm({
|
|
|
321541
322179
|
const: "oauth"
|
|
321542
322180
|
},
|
|
321543
322181
|
type: {
|
|
321544
|
-
|
|
322182
|
+
$ref: "#/definitions/auth.OAuthFlowTypeSchema",
|
|
322183
|
+
description: "The OAuth flow. Defaults to 'client-credentials'."
|
|
321545
322184
|
},
|
|
321546
322185
|
scopes: {
|
|
321547
322186
|
oneOf: [
|
|
@@ -321556,7 +322195,7 @@ var init_api_yml_schema = __esm({
|
|
|
321556
322195
|
}
|
|
321557
322196
|
]
|
|
321558
322197
|
},
|
|
321559
|
-
"
|
|
322198
|
+
"token-prefix": {
|
|
321560
322199
|
oneOf: [
|
|
321561
322200
|
{
|
|
321562
322201
|
type: "string"
|
|
@@ -321564,9 +322203,10 @@ var init_api_yml_schema = __esm({
|
|
|
321564
322203
|
{
|
|
321565
322204
|
type: "null"
|
|
321566
322205
|
}
|
|
321567
|
-
]
|
|
322206
|
+
],
|
|
322207
|
+
description: "Sets the token header value prefix. Defaults to 'Bearer'"
|
|
321568
322208
|
},
|
|
321569
|
-
"
|
|
322209
|
+
"token-header": {
|
|
321570
322210
|
oneOf: [
|
|
321571
322211
|
{
|
|
321572
322212
|
type: "string"
|
|
@@ -321574,9 +322214,10 @@ var init_api_yml_schema = __esm({
|
|
|
321574
322214
|
{
|
|
321575
322215
|
type: "null"
|
|
321576
322216
|
}
|
|
321577
|
-
]
|
|
322217
|
+
],
|
|
322218
|
+
description: "Sets the token header key name. Defaults to 'Authorization'"
|
|
321578
322219
|
},
|
|
321579
|
-
"
|
|
322220
|
+
"client-id-env": {
|
|
321580
322221
|
oneOf: [
|
|
321581
322222
|
{
|
|
321582
322223
|
type: "string"
|
|
@@ -321585,9 +322226,9 @@ var init_api_yml_schema = __esm({
|
|
|
321585
322226
|
type: "null"
|
|
321586
322227
|
}
|
|
321587
322228
|
],
|
|
321588
|
-
description: "
|
|
322229
|
+
description: "The environment variable holding the client ID. Used by the client-credentials flow and, for the public-client flows, as an alternative to a literal `client-id`."
|
|
321589
322230
|
},
|
|
321590
|
-
"
|
|
322231
|
+
"client-secret-env": {
|
|
321591
322232
|
oneOf: [
|
|
321592
322233
|
{
|
|
321593
322234
|
type: "string"
|
|
@@ -321595,11 +322236,18 @@ var init_api_yml_schema = __esm({
|
|
|
321595
322236
|
{
|
|
321596
322237
|
type: "null"
|
|
321597
322238
|
}
|
|
321598
|
-
]
|
|
321599
|
-
description: "Sets the token header key name. Defaults to 'Authorization'"
|
|
322239
|
+
]
|
|
321600
322240
|
},
|
|
321601
322241
|
"get-token": {
|
|
321602
|
-
|
|
322242
|
+
oneOf: [
|
|
322243
|
+
{
|
|
322244
|
+
$ref: "#/definitions/auth.OAuthGetTokenEndpointSchema"
|
|
322245
|
+
},
|
|
322246
|
+
{
|
|
322247
|
+
type: "null"
|
|
322248
|
+
}
|
|
322249
|
+
],
|
|
322250
|
+
description: "The token endpoint for the client-credentials flow. Required for that flow."
|
|
321603
322251
|
},
|
|
321604
322252
|
"refresh-token": {
|
|
321605
322253
|
oneOf: [
|
|
@@ -321610,12 +322258,144 @@ var init_api_yml_schema = __esm({
|
|
|
321610
322258
|
type: "null"
|
|
321611
322259
|
}
|
|
321612
322260
|
]
|
|
322261
|
+
},
|
|
322262
|
+
"client-id": {
|
|
322263
|
+
oneOf: [
|
|
322264
|
+
{
|
|
322265
|
+
type: "string"
|
|
322266
|
+
},
|
|
322267
|
+
{
|
|
322268
|
+
type: "null"
|
|
322269
|
+
}
|
|
322270
|
+
],
|
|
322271
|
+
description: "The public client ID (literal). Public clients do not use a client secret. Required for the authorization-code and device-code flows (an environment-variable client ID via `client-id-env` is not yet supported for these flows)."
|
|
322272
|
+
},
|
|
322273
|
+
"authorization-url": {
|
|
322274
|
+
oneOf: [
|
|
322275
|
+
{
|
|
322276
|
+
type: "string"
|
|
322277
|
+
},
|
|
322278
|
+
{
|
|
322279
|
+
type: "null"
|
|
322280
|
+
}
|
|
322281
|
+
],
|
|
322282
|
+
description: "The authorization (consent) endpoint URL. Required for the authorization-code flow."
|
|
322283
|
+
},
|
|
322284
|
+
"device-authorization-url": {
|
|
322285
|
+
oneOf: [
|
|
322286
|
+
{
|
|
322287
|
+
type: "string"
|
|
322288
|
+
},
|
|
322289
|
+
{
|
|
322290
|
+
type: "null"
|
|
322291
|
+
}
|
|
322292
|
+
],
|
|
322293
|
+
description: "The device authorization endpoint URL. Required for the device-code flow."
|
|
322294
|
+
},
|
|
322295
|
+
"token-url": {
|
|
322296
|
+
oneOf: [
|
|
322297
|
+
{
|
|
322298
|
+
type: "string"
|
|
322299
|
+
},
|
|
322300
|
+
{
|
|
322301
|
+
type: "null"
|
|
322302
|
+
}
|
|
322303
|
+
],
|
|
322304
|
+
description: "The token endpoint URL. Required for the authorization-code and device-code flows."
|
|
322305
|
+
},
|
|
322306
|
+
"refresh-url": {
|
|
322307
|
+
oneOf: [
|
|
322308
|
+
{
|
|
322309
|
+
type: "string"
|
|
322310
|
+
},
|
|
322311
|
+
{
|
|
322312
|
+
type: "null"
|
|
322313
|
+
}
|
|
322314
|
+
],
|
|
322315
|
+
description: "The token refresh endpoint URL. Defaults to `token-url` when omitted."
|
|
322316
|
+
},
|
|
322317
|
+
"redirect-uri": {
|
|
322318
|
+
oneOf: [
|
|
322319
|
+
{
|
|
322320
|
+
$ref: "#/definitions/auth.RedirectUriSchema"
|
|
322321
|
+
},
|
|
322322
|
+
{
|
|
322323
|
+
type: "null"
|
|
322324
|
+
}
|
|
322325
|
+
],
|
|
322326
|
+
description: "The loopback redirect (callback) URI for the authorization-code flow. Must be a loopback host over http \u2014 `127.0.0.1` (recommended, RFC 8252 \xA77.3) or `localhost` \u2014 with any path; the generated CLI binds and sends this URI exactly, so it must match the redirect registered with the authorization server (e.g. `http://127.0.0.1:8484/callback` or `http://localhost:8484/callback`). Provide a bare string to pin a single port, or an object with `url` plus `ports` to add backup ports tried when the primary is busy. Omit it entirely to use an ephemeral (OS-assigned) port."
|
|
322327
|
+
},
|
|
322328
|
+
pkce: {
|
|
322329
|
+
oneOf: [
|
|
322330
|
+
{
|
|
322331
|
+
$ref: "#/definitions/auth.OAuthPkceSchema"
|
|
322332
|
+
},
|
|
322333
|
+
{
|
|
322334
|
+
type: "null"
|
|
322335
|
+
}
|
|
322336
|
+
],
|
|
322337
|
+
description: "PKCE configuration for the authorization-code flow. PKCE is always applied for that flow."
|
|
322338
|
+
},
|
|
322339
|
+
"authorization-parameters": {
|
|
322340
|
+
oneOf: [
|
|
322341
|
+
{
|
|
322342
|
+
type: "object",
|
|
322343
|
+
additionalProperties: {
|
|
322344
|
+
type: "string"
|
|
322345
|
+
}
|
|
322346
|
+
},
|
|
322347
|
+
{
|
|
322348
|
+
type: "null"
|
|
322349
|
+
}
|
|
322350
|
+
],
|
|
322351
|
+
description: "Additional literal parameters appended to the authorization request (e.g. `audience`)."
|
|
322352
|
+
},
|
|
322353
|
+
"device-authorization-parameters": {
|
|
322354
|
+
oneOf: [
|
|
322355
|
+
{
|
|
322356
|
+
type: "object",
|
|
322357
|
+
additionalProperties: {
|
|
322358
|
+
type: "string"
|
|
322359
|
+
}
|
|
322360
|
+
},
|
|
322361
|
+
{
|
|
322362
|
+
type: "null"
|
|
322363
|
+
}
|
|
322364
|
+
],
|
|
322365
|
+
description: "Additional literal parameters included in the device authorization request."
|
|
322366
|
+
},
|
|
322367
|
+
"token-parameters": {
|
|
322368
|
+
oneOf: [
|
|
322369
|
+
{
|
|
322370
|
+
type: "object",
|
|
322371
|
+
additionalProperties: {
|
|
322372
|
+
type: "string"
|
|
322373
|
+
}
|
|
322374
|
+
},
|
|
322375
|
+
{
|
|
322376
|
+
type: "null"
|
|
322377
|
+
}
|
|
322378
|
+
],
|
|
322379
|
+
description: "Additional literal parameters included in the token exchange request."
|
|
322380
|
+
},
|
|
322381
|
+
"refresh-parameters": {
|
|
322382
|
+
oneOf: [
|
|
322383
|
+
{
|
|
322384
|
+
type: "object",
|
|
322385
|
+
additionalProperties: {
|
|
322386
|
+
type: "string"
|
|
322387
|
+
}
|
|
322388
|
+
},
|
|
322389
|
+
{
|
|
322390
|
+
type: "null"
|
|
322391
|
+
}
|
|
322392
|
+
],
|
|
322393
|
+
description: "Additional literal parameters included in the refresh request."
|
|
321613
322394
|
}
|
|
321614
322395
|
},
|
|
321615
322396
|
required: [
|
|
321616
322397
|
"scheme",
|
|
321617
|
-
"type"
|
|
321618
|
-
"get-token"
|
|
322398
|
+
"type"
|
|
321619
322399
|
],
|
|
321620
322400
|
additionalProperties: false
|
|
321621
322401
|
},
|
|
@@ -356179,6 +356959,9 @@ function resolveOAuthScheme({ ir: ir3, key: key2, oauthScheme }) {
|
|
|
356179
356959
|
return void 0;
|
|
356180
356960
|
}
|
|
356181
356961
|
const tokenEndpointConfig = oauthScheme["get-token"];
|
|
356962
|
+
if (tokenEndpointConfig == null) {
|
|
356963
|
+
return void 0;
|
|
356964
|
+
}
|
|
356182
356965
|
const resolved = resolveEndpointFromReference({ ir: ir3, endpointRef: tokenEndpointConfig.endpoint });
|
|
356183
356966
|
if (resolved == null) {
|
|
356184
356967
|
return void 0;
|
|
@@ -454898,7 +455681,8 @@ function convertPlaygroundSettings(playgroundSettings) {
|
|
|
454898
455681
|
environments: playgroundSettings.environments != null && playgroundSettings.environments.length > 0 ? playgroundSettings.environments.map((environmentId) => navigation_exports.V1.EnvironmentId(environmentId)) : void 0,
|
|
454899
455682
|
button: playgroundSettings.button != null && playgroundSettings.button.href ? { href: navigation_exports.V1.Url(playgroundSettings.button.href) } : void 0,
|
|
454900
455683
|
"limit-websocket-messages-per-connection": playgroundSettings.limitWebsocketMessagesPerConnection != null ? playgroundSettings.limitWebsocketMessagesPerConnection : void 0,
|
|
454901
|
-
hidden: playgroundSettings.hidden != null ? playgroundSettings.hidden : void 0
|
|
455684
|
+
hidden: playgroundSettings.hidden != null ? playgroundSettings.hidden : void 0,
|
|
455685
|
+
"send-optional-defaults": playgroundSettings.sendOptionalDefaults != null ? playgroundSettings.sendOptionalDefaults : void 0
|
|
454902
455686
|
};
|
|
454903
455687
|
}
|
|
454904
455688
|
return;
|
|
@@ -587319,10 +588103,19 @@ var require_dist25 = __commonJS({
|
|
|
587319
588103
|
}
|
|
587320
588104
|
});
|
|
587321
588105
|
|
|
587322
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.
|
|
588106
|
+
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.80-050d6c9417_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs
|
|
587323
588107
|
var orpc_client_exports = {};
|
|
587324
588108
|
__export(orpc_client_exports, {
|
|
587325
588109
|
AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema2,
|
|
588110
|
+
AnalyticsDateRangeSchema: () => AnalyticsDateRangeSchema2,
|
|
588111
|
+
AnalyticsDimensionSchema: () => AnalyticsDimensionSchema2,
|
|
588112
|
+
AnalyticsFilterFieldSchema: () => AnalyticsFilterFieldSchema2,
|
|
588113
|
+
AnalyticsFilterOpSchema: () => AnalyticsFilterOpSchema2,
|
|
588114
|
+
AnalyticsFilterSchema: () => AnalyticsFilterSchema2,
|
|
588115
|
+
AnalyticsGranularitySchema: () => AnalyticsGranularitySchema2,
|
|
588116
|
+
AnalyticsMetricSchema: () => AnalyticsMetricSchema2,
|
|
588117
|
+
AnalyticsOrderBySchema: () => AnalyticsOrderBySchema2,
|
|
588118
|
+
AnalyticsSourceSchema: () => AnalyticsSourceSchema2,
|
|
587326
588119
|
ApiAuthSchema: () => ApiAuthSchema4,
|
|
587327
588120
|
ApiDefinitionId: () => ApiDefinitionId3,
|
|
587328
588121
|
ApiDefinitionIdSchema: () => ApiDefinitionIdSchema3,
|
|
@@ -587339,6 +588132,7 @@ __export(orpc_client_exports, {
|
|
|
587339
588132
|
AuthPayloadSchema: () => AuthPayloadSchema2,
|
|
587340
588133
|
AuthSchemeId: () => AuthSchemeId2,
|
|
587341
588134
|
AuthSchemeIdSchema: () => AuthSchemeIdSchema2,
|
|
588135
|
+
AuthorizeDocsEditResponseSchema: () => AuthorizeDocsEditResponseSchema2,
|
|
587342
588136
|
Availability: () => Availability21,
|
|
587343
588137
|
AvailabilitySchema: () => AvailabilitySchema5,
|
|
587344
588138
|
Base64TypeSchema: () => Base64TypeSchema2,
|
|
@@ -587374,7 +588168,12 @@ __export(orpc_client_exports, {
|
|
|
587374
588168
|
CurrentVersionInputSchema: () => CurrentVersionInputSchema2,
|
|
587375
588169
|
CurrentVersionResponseSchema: () => CurrentVersionResponseSchema2,
|
|
587376
588170
|
CustomSnippetPayloadSchema: () => CustomSnippetPayloadSchema2,
|
|
588171
|
+
DashboardAnalyticsCommonInputSchema: () => DashboardAnalyticsCommonInputSchema2,
|
|
587377
588172
|
DashboardDocsSiteSchema: () => DashboardDocsSiteSchema2,
|
|
588173
|
+
DashboardFeedbackInputSchema: () => DashboardFeedbackInputSchema2,
|
|
588174
|
+
DashboardGetSiteConfigInputSchema: () => DashboardGetSiteConfigInputSchema2,
|
|
588175
|
+
DashboardListOrgDocDomainsInputSchema: () => DashboardListOrgDocDomainsInputSchema2,
|
|
588176
|
+
DashboardListOrgMembersInputSchema: () => DashboardListOrgMembersInputSchema2,
|
|
587378
588177
|
DateTypeSchema: () => DateTypeSchema2,
|
|
587379
588178
|
DatetimeTypeSchema: () => DatetimeTypeSchema2,
|
|
587380
588179
|
DbApiDefinitionPackageSchema: () => DbApiDefinitionPackageSchema2,
|
|
@@ -587660,6 +588459,7 @@ __export(orpc_client_exports, {
|
|
|
587660
588459
|
ListRepositoriesInputSchema: () => ListRepositoriesInputSchema2,
|
|
587661
588460
|
ListRepositoriesResponseSchema: () => ListRepositoriesResponseSchema2,
|
|
587662
588461
|
LiteralTypeSchema: () => LiteralTypeSchema2,
|
|
588462
|
+
LlmBotTrafficResponseSchema: () => LlmBotTrafficResponseSchema2,
|
|
587663
588463
|
LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema2,
|
|
587664
588464
|
LocaleEntrySchema: () => LocaleEntrySchema2,
|
|
587665
588465
|
LongTypeSchema: () => LongTypeSchema2,
|
|
@@ -587684,14 +588484,18 @@ __export(orpc_client_exports, {
|
|
|
587684
588484
|
ObjectPropertySchema: () => ObjectPropertySchema3,
|
|
587685
588485
|
ObjectTypeSchema: () => ObjectTypeSchema2,
|
|
587686
588486
|
OpenRpcProtocolSchema: () => OpenRpcProtocolSchema2,
|
|
588487
|
+
OrgConfigResponseSchema: () => OrgConfigResponseSchema,
|
|
588488
|
+
OrgDocDomainsResponseSchema: () => OrgDocDomainsResponseSchema2,
|
|
587687
588489
|
OrgId: () => OrgId3,
|
|
587688
588490
|
OrgIdSchema: () => OrgIdSchema3,
|
|
588491
|
+
OrgMembersResponseSchema: () => OrgMembersResponseSchema2,
|
|
587689
588492
|
PATH_OR_URL_METADATA_KEYS: () => PATH_OR_URL_METADATA_KEYS,
|
|
587690
588493
|
PageBlobRefSchema: () => PageBlobRefSchema2,
|
|
587691
588494
|
PageContentInputSchema: () => PageContentInputSchema2,
|
|
587692
588495
|
PageContentResponseSchema: () => PageContentResponseSchema2,
|
|
587693
588496
|
PageId: () => PageId3,
|
|
587694
588497
|
PageIdSchema: () => PageIdSchema3,
|
|
588498
|
+
Pages404ResponseSchema: () => Pages404ResponseSchema2,
|
|
587695
588499
|
PathOrUrlSchema: () => PathOrUrlSchema2,
|
|
587696
588500
|
PathParameterSchema: () => PathParameterSchema2,
|
|
587697
588501
|
PathPartSchema: () => PathPartSchema2,
|
|
@@ -587718,6 +588522,8 @@ __export(orpc_client_exports, {
|
|
|
587718
588522
|
PutFileInputSchema: () => PutFileInputSchema,
|
|
587719
588523
|
PythonLibraryDocsConfigSchema: () => PythonLibraryDocsConfigSchema2,
|
|
587720
588524
|
PythonPackageSchema: () => PythonPackageSchema2,
|
|
588525
|
+
QueryAnalyticsInputSchema: () => QueryAnalyticsInputSchema2,
|
|
588526
|
+
QueryAnalyticsResponseSchema: () => QueryAnalyticsResponseSchema2,
|
|
587721
588527
|
QueryParameterSchema: () => QueryParameterSchema2,
|
|
587722
588528
|
ReadApiDefinitionPackageSchema: () => ReadApiDefinitionPackageSchema2,
|
|
587723
588529
|
ReadApiDefinitionSchema: () => ReadApiDefinitionSchema2,
|
|
@@ -587750,8 +588556,10 @@ __export(orpc_client_exports, {
|
|
|
587750
588556
|
ReadUndiscriminatedUnionVariantSchema: () => ReadUndiscriminatedUnionVariantSchema2,
|
|
587751
588557
|
ReadWebSocketChannelSchema: () => ReadWebSocketChannelSchema2,
|
|
587752
588558
|
ReadWebhookDefinitionSchema: () => ReadWebhookDefinitionSchema2,
|
|
588559
|
+
RecentFeedbackResponseSchema: () => RecentFeedbackResponseSchema2,
|
|
587753
588560
|
RecordPostmanNotificationInputSchema: () => RecordPostmanNotificationInputSchema2,
|
|
587754
588561
|
RecordPostmanNotificationResponseSchema: () => RecordPostmanNotificationResponseSchema2,
|
|
588562
|
+
ReferringDomainsResponseSchema: () => ReferringDomainsResponseSchema2,
|
|
587755
588563
|
RegisterApiDefinitionPackageSchema: () => RegisterApiDefinitionPackageSchema2,
|
|
587756
588564
|
RegisterApiDefinitionResponseSchema: () => RegisterApiDefinitionResponseSchema2,
|
|
587757
588565
|
RegisterApiDefinitionSchema: () => RegisterApiDefinitionSchema2,
|
|
@@ -587788,6 +588596,7 @@ __export(orpc_client_exports, {
|
|
|
587788
588596
|
ReleaseTypeSchema: () => ReleaseTypeSchema2,
|
|
587789
588597
|
RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema2,
|
|
587790
588598
|
RepositoryIdSchema: () => RepositoryIdSchema2,
|
|
588599
|
+
ResolvedDateRangeSchema: () => ResolvedDateRangeSchema2,
|
|
587791
588600
|
RestProtocolSchema: () => RestProtocolSchema2,
|
|
587792
588601
|
RevokeTokenInputSchema: () => RevokeTokenInputSchema2,
|
|
587793
588602
|
RoleId: () => RoleId4,
|
|
@@ -587807,7 +588616,11 @@ __export(orpc_client_exports, {
|
|
|
587807
588616
|
SetEditorRepoUrlInputSchema: () => SetEditorRepoUrlInputSchema2,
|
|
587808
588617
|
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema2,
|
|
587809
588618
|
SetSnapshotInputSchema: () => SetSnapshotInputSchema2,
|
|
588619
|
+
SiteConfigResponseSchema: () => SiteConfigResponseSchema2,
|
|
588620
|
+
SiteGitRepositorySchema: () => SiteGitRepositorySchema2,
|
|
587810
588621
|
SiteMetricsSchema: () => SiteMetricsSchema2,
|
|
588622
|
+
SitePasswordProtectionSchema: () => SitePasswordProtectionSchema2,
|
|
588623
|
+
SiteSettingsResponseSchema: () => SiteSettingsResponseSchema2,
|
|
587811
588624
|
SlugEntrySchema: () => SlugEntrySchema2,
|
|
587812
588625
|
SlugsInputSchema: () => SlugsInputSchema2,
|
|
587813
588626
|
SnippetInfoSchema: () => SnippetInfoSchema2,
|
|
@@ -587840,6 +588653,8 @@ __export(orpc_client_exports, {
|
|
|
587840
588653
|
TokenIdSchema: () => TokenIdSchema2,
|
|
587841
588654
|
TopLevelNavigationInputSchema: () => TopLevelNavigationInputSchema2,
|
|
587842
588655
|
TopLevelNavigationResponseSchema: () => TopLevelNavigationResponseSchema2,
|
|
588656
|
+
TopPagesResponseSchema: () => TopPagesResponseSchema2,
|
|
588657
|
+
TrafficSummaryResponseSchema: () => TrafficSummaryResponseSchema2,
|
|
587843
588658
|
TransferOwnershipInputSchema: () => TransferOwnershipInputSchema2,
|
|
587844
588659
|
TypeId: () => TypeId23,
|
|
587845
588660
|
TypeIdSchema: () => TypeIdSchema2,
|
|
@@ -587854,6 +588669,7 @@ __export(orpc_client_exports, {
|
|
|
587854
588669
|
UpdateDeploymentStatusResponseSchema: () => UpdateDeploymentStatusResponseSchema2,
|
|
587855
588670
|
UpdatePdfExportTaskInputSchema: () => UpdatePdfExportTaskInputSchema2,
|
|
587856
588671
|
UpsertCliReleaseInputSchema: () => UpsertCliReleaseInputSchema2,
|
|
588672
|
+
UpsertOrgConfigBodySchema: () => UpsertOrgConfigBodySchema,
|
|
587857
588673
|
UpsertThemeBodySchema: () => UpsertThemeBodySchema,
|
|
587858
588674
|
Url: () => Url5,
|
|
587859
588675
|
UrlSchema: () => UrlSchema3,
|
|
@@ -587888,6 +588704,7 @@ __export(orpc_client_exports, {
|
|
|
587888
588704
|
collectNavFilePaths: () => collectNavFilePaths,
|
|
587889
588705
|
contentContract: () => contentContract,
|
|
587890
588706
|
createApiClient: () => createApiClient2,
|
|
588707
|
+
createDashboardAgentClient: () => createDashboardAgentClient2,
|
|
587891
588708
|
createDashboardClient: () => createDashboardClient2,
|
|
587892
588709
|
createDocsCacheClient: () => createDocsCacheClient2,
|
|
587893
588710
|
createDocsClient: () => createDocsClient2,
|
|
@@ -587912,6 +588729,7 @@ __export(orpc_client_exports, {
|
|
|
587912
588729
|
createSnippetsFactoryClient: () => createSnippetsFactoryClient2,
|
|
587913
588730
|
createTemplatesClient: () => createTemplatesClient2,
|
|
587914
588731
|
createTokensClient: () => createTokensClient2,
|
|
588732
|
+
dashboardAgentContract: () => dashboardAgentContract2,
|
|
587915
588733
|
dashboardContract: () => dashboardContract2,
|
|
587916
588734
|
docsCacheContract: () => docsCacheContract2,
|
|
587917
588735
|
docsDeploymentContract: () => docsDeploymentContract2,
|
|
@@ -588065,6 +588883,17 @@ function createDashboardClient2(options2) {
|
|
|
588065
588883
|
});
|
|
588066
588884
|
return createORPCClient(link3);
|
|
588067
588885
|
}
|
|
588886
|
+
function createDashboardAgentClient2(options2) {
|
|
588887
|
+
const link3 = new OpenAPILink(dashboardAgentContract2, {
|
|
588888
|
+
url: `${options2.baseUrl}/dashboard-agent`,
|
|
588889
|
+
headers: () => ({
|
|
588890
|
+
Authorization: `Bearer ${options2.token}`,
|
|
588891
|
+
...options2.headers
|
|
588892
|
+
}),
|
|
588893
|
+
...options2.fetch != null ? { fetch: options2.fetch } : {}
|
|
588894
|
+
});
|
|
588895
|
+
return createORPCClient(link3);
|
|
588896
|
+
}
|
|
588068
588897
|
function createDocsV1ReadClient2(options2) {
|
|
588069
588898
|
const link3 = new OpenAPILink(docsV1ReadContract2, {
|
|
588070
588899
|
url: `${options2.baseUrl}/registry/docs`,
|
|
@@ -588326,6 +589155,7 @@ function createFdrORPCClient2(options2) {
|
|
|
588326
589155
|
return {
|
|
588327
589156
|
api: createApiClient2(normalizedOptions),
|
|
588328
589157
|
dashboard: createDashboardClient2(normalizedOptions),
|
|
589158
|
+
dashboardAgent: createDashboardAgentClient2(normalizedOptions),
|
|
588329
589159
|
docs: createDocsClient2(normalizedOptions),
|
|
588330
589160
|
docsCache: createDocsCacheClient2(normalizedOptions),
|
|
588331
589161
|
docsDeployment: createDocsDeploymentClient2(normalizedOptions),
|
|
@@ -588513,9 +589343,9 @@ function isFernFileRef(value2) {
|
|
|
588513
589343
|
const hash5 = value2[FERN_FILE_REF_KEY];
|
|
588514
589344
|
return typeof hash5 === "string" && SHA256_RE.test(hash5);
|
|
588515
589345
|
}
|
|
588516
|
-
var OrgIdSchema3, ApiIdSchema2, ApiDefinitionIdSchema3, HttpMethodSchema4, HttpMethod46, UrlSchema3, EndpointPathLiteralSchema2, EndpointIdentifierSchema2, SdkRequestSchema2, DocsConfigIdSchema3, GrpcIdSchema2, PageIdSchema3, RoleIdSchema3, TokenIdSchema2, VersionIdSchema3, LinkTarget2, GrpcMethod2, Availability21, SupportedLanguage2, HttpSnippetLanguage5, SnippetsByEndpointMethodSchema2, SdkSchema2, TypeIdSchema2, EndpointIdSchema3, WebSocketIdSchema3, WebhookIdSchema3, GraphQlOperationIdSchema2, GraphQlTypeCategorySchema2, EnvironmentIdSchema2, PropertyKeySchema2, AuthSchemeIdSchema2, SubpackageIdSchema3, WebSocketMessageIdSchema2, FileIdSchema3, MultipleAuthTypeSchema2, GrpcMethodSchema2, AvailabilitySchema5, WebSocketMessageOriginSchema2, WebhookHttpMethodSchema2, WithDescriptionSchema2, WithAvailabilitySchema2, EnvironmentSchema5, RestProtocolSchema2, OpenRpcProtocolSchema2, GrpcProtocolSchema2, ProtocolSchema2, ObjectPropertyAccessSchema2, TypeReferenceIdDefaultSchema2, _numberNullish2, _numberIntNullish2, coercedNumberNullish2, coercedNumberIntNullish2, IntegerTypeSchema2, DoubleTypeSchema2, StringTypeSchema2, LongTypeSchema2, _booleanNullish2, BooleanTypeSchema2, DatetimeTypeSchema2, UuidTypeSchema2, Base64TypeSchema2, DateTypeSchema2, BigIntegerTypeSchema2, UintTypeSchema2, Uint64TypeSchema2, ScalarTypeSchema2, PrimitiveTypeSchema2, LiteralTypeSchema2, TypeReferenceSchema3, GraphQlArgumentSchema2, ObjectPropertySchema3, ObjectTypeSchema2, EnumValueSchema3, EnumTypeSchema2, DiscriminatedUnionVariantSchema2, DiscriminatedUnionTypeSchema2, ContentTypeSchema2, FilePropertySingleSchema2, FilePropertyArraySchema2, FormDataFilePropertySchema2, FormDataBodyPropertySchema2, FormDataPropertySchema2, FormDataRequestSchema2, EndpointPathPartSchema2, PathParameterSchema2, EndpointPathSchema2, QueryParameterSchema2, HeaderSchema3, JsonBodyShapeSchema2, FileDownloadResponseBodyShapeSchema2, StreamResponseV2Schema2, StreamConditionSchema2, FilenameWithDataSchema2, FormValueSchema2, BytesValueSchema2, ExampleEndpointRequestSchema2, ExampleServerSentEventSchema2, ExampleEndpointResponseSchema2, ErrorDeclarationSchema3, ExampleErrorResponseSchema2, ErrorExampleSchema2, GraphQlOperationTypeSchema2, GraphQlExampleSchema2, CodeSnippetSchema2, GraphQlOperationSchema2, WebhookPayloadShapeSchema2, WebhookPayloadSchema3, ExampleWebhookPayloadSchema2, WebSocketMessageBodyShapeSchema2, WebSocketMessageSchema2, ExampleWebSocketMessageSchema2, ExampleWebSocketSessionSchema2, ApiNavigationConfigItemSchema5, ApiNavigationConfigRootSchema5, BearerAuthSchema2, BasicAuthSchema2, HeaderAuthSchema2, OAuthClientCredentialsReferencedEndpointSchema2, OAuthClientCredentialsSchema2, OAuthSchema2, ApiAuthSchema4, JqStringSchema2, RegisterLanguageSchema2, RegisterUndiscriminatedUnionVariantSchema2, RegisterUndiscriminatedUnionTypeSchema2, RegisterTypeShapeSchema2, RegisterTypeDefinitionSchema2, RegisterBytesRequestSchema2, RegisterJsonRequestBodySchema2, RegisterHttpRequestBodyShapeSchema2, RegisterHttpRequestSchema2, RegisterHttpRequestsV2Schema2, RegisterCustomCodeSampleSchema2, RegisterExampleEndpointCallSchema2, RegisterNonStreamResponseSchema2, RegisterStreamResponseSchema2, RegisterStreamConditionResponseSchema2, RegisterHttpResponseBodyShapeSchema2, RegisterHttpResponseSchema2, RegisterHttpResponsesV2Schema2, RegisterErrorDeclarationV2Schema2, RegisterEndpointDefinitionSchema2, RegisterWebhookDefinitionSchema2, RegisterWebSocketChannelSchema2, SourceIdSchema2, SourceSchema3, SourceUploadSchema2, DynamicIRSchema2, DynamicIRUploadSchema2, TypescriptPackageSchema2, PythonPackageSchema2, GoModuleSchema2, JavaCoordinateSchema2, RubyGemSchema2, NugetPackageSchema2, ComposerPackageSchema2, SwiftPackageSchema2, CratesPackageSchema2, SnippetsConfigSchema2, RegisterApiDefinitionPackageSchema2, RegisterApiDefinitionSubpackageSchema2, RegisterApiDefinitionSchema2, RegisterApiDefinitionResponseSchema2, SnippetInfoSchema2, SdkDynamicIrDownloadSchema2, GetSdkDynamicIrUploadUrlsResponseSchema2, CheckSdkDynamicIrExistsResponseSchema2, EndpointExampleGenerationErrorBodySchema2, PathPartSchema2, WithNamespaceSchema2, LatestAuthSchemeSchema2, LatestObjectPropertyAccessSchema2, LatestTypeReferenceIdDefaultSchema2, LatestPrimitiveTypeSchema2, LatestLiteralTypeSchema2, LatestUnknownTypeSchema2, LatestEnumValueSchema2, LatestEnumTypeSchema2, LatestObjectPropertySchema2, LatestParameterPropertySchema2, LatestObjectTypeSchema2, LatestUndiscriminatedUnionVariantSchema2, LatestUndiscriminatedUnionTypeSchema2, LatestDiscriminatedUnionVariantSchema2, LatestDiscriminatedUnionTypeSchema2, LatestTypeShapeSchema2, LatestTypeReferenceSchema2, LatestTypeDefinitionSchema2, LatestContentTypeSchema2, LatestBytesRequestSchema2, LatestFormDataPropertySchema2, LatestFormDataRequestSchema2, LatestNullableTypeSchema2, LatestOptionalTypeSchema2, LatestListTypeSchema2, LatestSetTypeSchema2, LatestMapTypeSchema2, LatestLanguageSchema2, LatestExampleEndpointRequestSchema2, LatestExampleEndpointResponseSchema2, LatestExampleErrorResponseSchema2, LatestHttpRequestBodyShapeSchema2, LatestHttpRequestSchema2, LatestFileDownloadResponseBodyShapeSchema2, LatestStreamResponseSchema2, LatestHttpResponseBodyShapeSchema2, LatestHttpResponseSchema2, LatestErrorExampleSchema2, LatestErrorResponseSchema2, LatestCodeSnippetSchema2, LatestExampleEndpointCallSchema2, LatestEndpointDefinitionSchema2, LatestGraphQlOperationTypeSchema2, LatestGraphQlArgumentSchema2, LatestGraphQlExampleSchema2, LatestGraphQlOperationSchema2, LatestWebhookPayloadShapeSchema2, LatestWebhookPayloadSchema2, LatestExampleWebhookPayloadSchema2, LatestWebhookDefinitionSchema2, LatestWebSocketMessageSchema2, LatestExampleWebSocketMessageSchema2, LatestExampleWebSocketSessionSchema2, LatestWebSocketChannelSchema2, LatestSubpackageMetadataSchema2, LatestApiDefinitionSchema2, ApiDefinitionSchema4, ReadUndiscriminatedUnionVariantSchema2, ReadUndiscriminatedUnionTypeSchema2, ReadTypeShapeSchema2, ReadTypeDefinitionSchema2, ReadBytesRequestSchema2, ReadHttpRequestBodyShapeSchema2, ReadHttpRequestSchema2, ReadHttpRequestsV2Schema2, ReadSupportedLanguageSchema2, ReadLanguageSchema2, ReadCustomCodeSampleSchema2, ReadPythonSnippetSchema2, ReadTypescriptSnippetSchema2, ReadGoSnippetSchema2, ReadRubySnippetSchema2, ReadCsharpSnippetSchema2, ReadCodeExamplesSchema2, ReadExampleEndpointCallSchema2, ReadNonStreamResponseSchema2, ReadStreamResponseSchema2, ReadStreamConditionResponseSchema2, ReadHttpResponseBodyShapeSchema2, ReadHttpResponseSchema2, ReadHttpResponsesV2Schema2, ReadErrorDeclarationV2Schema2, ReadEndpointDefinitionSchema2, ReadWebhookDefinitionSchema2, ReadWebSocketChannelSchema2, ReadApiDefinitionPackageSchema2, ReadApiDefinitionSubpackageSchema2, ReadApiDefinitionSchema2, apiLatestContract2, apiReadContract2, apiRegisterContract2, EndpointSnippetTemplatesSchema2, DbHttpRequestSchema2, DbHttpRequestsV2Schema2, DbEndpointDefinitionSchema2, DbApiDefinitionPackageSchema2, DbApiDefinitionSubpackageSchema2, DbApiDefinitionSchema2, DbEndpointWithContextSchema2, DocsDeploymentStatusSchema2, DocsSiteSchema2, DocsDeploymentSchema2, RegisterDocsSiteInputSchema2, GetPostmanCollectionIdInputSchema2, GetDocsStatusInputSchema2, SetDocsStatusInputSchema2, CreateDeploymentInputSchema2, UpdateDeploymentStatusInputSchema2, GetDocsDeploymentsInputSchema2, UnlockDeployInputSchema2, GetDocsStatusResponseSchema2, GetDocsDeploymentsResponseSchema2, CreateDeploymentResponseSchema2, UpdateDeploymentStatusResponseSchema2, GetPostmanCollectionIdResponseSchema2, UnlockDeployResponseSchema2, GetDocsSitesByCollectionIdInputSchema2, FindSiteByOrgAndCollectionInputSchema2, FindSiteByOrgAndCollectionResponseSchema2, RecordPostmanNotificationInputSchema2, RecordPostmanNotificationResponseSchema2, GetUnnotifiedPostmanSitesResponseSchema2, GetDocsSitesByCollectionIdResponseSchema2, DeleteDocsSiteByServiceInputSchema2, DeleteDocsSiteByServiceResponseSchema2, SetEditorRepoUrlInputSchema2, docsDeploymentContract2, DocsSiteUrlSchema2, DashboardDocsSiteSchema2, GetDocsSitesForOrgInputSchema2, GetDocsSitesForOrgResponseSchema2, IsDocsSiteInOrgInputSchema2, IsDocsSiteInOrgResponseSchema2, DeleteAllDocsSitesForOrgInputSchema2, DeleteAllDocsSitesForOrgResponseSchema2, dashboardContract2, FileIdSchema22, PageIdSchema22, UrlSchema22, VersionIdSchema22, ApiDefinitionIdSchema22, EndpointIdSchema22, WebSocketIdSchema22, WebhookIdSchema22, RoleIdSchema22, SubpackageIdSchema22, LinkTargetSchema3, AvailabilitySchema23, RgbaColorSchema2, FileIdOrUrlSchema2, LanguageSchema2, Bcp47LocaleSchema3, DocsTranslationsConfigSchema2, ProgrammingLanguageSchema2, AnnouncementConfigSchema3, SegmentConfigSchema2, FullStoryAnalyticsConfigSchema2, IntercomConfigSchema3, PostHogConfigSchema2, GTMConfigSchema2, GoogleAnalytics4ConfigSchema2, AmplitudeConfigSchema2, MixpanelConfigSchema2, HotJarConfigSchema2, KoalaConfigSchema2, LogRocketConfigSchema2, PirschConfigSchema2, PlausibleConfigSchema2, FathomConfigSchema2, ClearBitConfigSchema2, HeapConfigSchema2, AnalyticsConfigSchema3, SearchbarPlacementSchema2, TabsPlacementSchema2, SwitcherPlacementSchema2, ContentAlignmentSchema2, HeaderPositionSchema2, PageWidthSizeConfigSchema2, SizeConfigSchema2, TabsAlignmentSchema2, ChangelogLayoutSchema2, DocsLayoutConfigSchema2, FooterNavConfigSchema2, DocsSidebarConfigSchema2, DocsBodyConfigSchema2, DocsTabsStyleSchema2, DocsTabsObjectConfigSchema2, DocsTabsConfigSchema2, DocsPageActionsConfigSchema2, LanguageSwitcherConfigSchema2, ProductSwitcherConfigSchema2, DocsThemeConfigSchema2, HttpSnippetLanguageSchema2, HttpSnippetsConfigSchema2, SearchSettingsConfigSchema2, DocsSettingsConfigSchema3, TwitterCardSettingSchema3, MetadataConfigSchema3, RedirectConfigSchema3, WithPermissionsSchema2, NavbarLinkMetadataSchema2, NavbarGithubMetadataSchema2, NavbarLinkDropdownMetadataSchema2, NavbarLinkSchema3, FooterLinkSchema2, CssConfigSchema3, JsScriptStrategySchema2, JsRemoteConfigSchema2, JsFileConfigSchema2, JsConfigSchema3, IntegrationsConfigSchema3, FontStyleSchema2, FontDisplaySchema2, CustomFontConfigVariantSchema2, CustomFontConfigSchema2, FontConfigV2Schema2, DocsTypographyConfigV2Schema2, ThemedFileIdSchema2, ColorsConfigSchema2, ColorUnthemedConfigSchema2, ColorThemedConfigSchema2, ColorConfigSchema2, ColorsConfigV2Schema2, FontConfigSchema2, DocsTypographyConfigSchema2, EditThisPageLaunchSchema2, AIChatLocationSchema2, AIChatWebsiteDatasourceSchema2, AIChatDatasourceSchema2, AIModelSchema2, AIChatConfigSchema2, PageDescriptionSourceSchema2, AgentsConfigSchema2, PageActionOptionSchema2, CustomPageActionSchema2, SkillSchema2, SkillsConfigSchema2, PageActionOptionsSchema2, PageActionsConfigSchema3, HeightSchema3, PageContentSchema3, NavigationNodeMetadataSchema3, PageMetadataSchema3, LinkMetadataSchema3, NavigationTabLinkSchema3, ChangelogItemSchema3, ChangelogSectionSchema3, ChangelogSectionV3Schema3, ApiSectionV2Schema3, GitHubRepoSchema2, NpmPackageSchema3, MavenPackageSchema3, PypiPackageSchema3, PublishedSdkSchema3, PublishedPostmanCollectionSchema3, ApiArtifactsSchema3, ApiNavigationConfigItemSchema22, ApiNavigationConfigRootSchema22, DocsConfigIdSchema22, UrlFileSchema2, ImageFileSchema2, FileSchema3, BackgroundSchema3, ThemeConfigSchema5, DarkAndLightModeConfigSchema4, ColorsConfigV3Schema4, ApiNavigationConfigRootSchema32, ApiSectionSchema4, DocsSectionSchema4, NavigationItemSchema4, NavigationTabGroupSchema4, NavigationTabSchema4, UnversionedTabbedNavigationConfigSchema4, UnversionedUntabbedNavigationConfigSchema4, UnversionedNavigationConfigSchema4, VersionedNavigationConfigDataSchema4, VersionedNavigationConfigSchema4, NavigationConfigSchema5, DocsConfigSchema3, DocsDefinitionSchema3, BaseUrlSchema2, LoadDocsForUrlResponseSchema2, GetDocsForDomainLegacyInputSchema2, GetDocsForDomainInputSchema2, docsV1ReadContract2, ALLOWED_HOSTNAMES2, GithubUrlSchema2, SafeBranchSchema2, SafePackagePathSchema2, LibraryDocsBaseConfigSchema2, PythonLibraryDocsConfigSchema2, CppLibraryDocsConfigSchema2, StartLibraryDocsGenerationInputSchema2, StartLibraryDocsGenerationResponseSchema2, GetLibraryDocsStatusInputSchema2, LibraryDocsResultSchema2, LibraryDocsGenerationStatusSchema2, libraryDocsContract2, GetOrganizationForUrlInputSchema2, organizationContract2, GetDocsUrlMetadataInputSchema2, GetDocsUrlMetadataResponseSchema2, GetDocsForUrlInputSchema2, GetPrivateDocsForUrlInputSchema2, ListAllDocsUrlsInputSchema2, GetDocsConfigByIdInputSchema2, GetSiteMetricsInputSchema2, SiteMetricsSchema2, DocsDefinitionField2, GetDocsConfigByIdResponseSchema2, DocsDomainItemSchema2, ListAllDocsUrlsResponseSchema2, getDocsForUrl2, docsV2ReadContract2, OrgIdSchema22, FilePathSchema3, DocsRegistrationIdSchema2, HeightSchema22, FileS3UploadUrlSchema2, StartDocsRegisterResponseSchema2, PageContentSchema22, NavigationNodeMetadataSchema22, PageMetadataSchema22, LinkMetadataSchema22, ChangelogItemSchema22, ChangelogSectionSchema22, ChangelogSectionV2Schema2, ChangelogSectionV3Schema22, NavigationTabLinkSchema22, ApiNavigationConfigItemSchema32, ApiNavigationConfigSubpackageSchema2, ApiNavigationConfigRootSchema42, ApiSectionSchema22, ApiSectionV2Schema22, DocsSectionSchema22, NavigationItemSchema22, NavigationTabGroupSchema22, NavigationTabSchema22, NavigationTabV2Schema3, UnversionedTabbedNavigationConfigSchema22, UnversionedUntabbedNavigationConfigSchema22, UnversionedNavigationConfigSchema22, VersionedNavigationConfigDataSchema22, VersionedNavigationConfigSchema22, NavigationConfigSchema22, ThemeConfigSchema22, DarkAndLightModeConfigSchema22, ColorsConfigV3Schema22, DocsConfigSchema22, DocsDefinitionSchema22, NpmPackageSchema22, MavenPackageSchema22, PypiPackageSchema22, PublishedSdkSchema22, PublishedPostmanCollectionSchema22, ApiArtifactsSchema22, InvalidCustomDomainErrorBodySchema2, OverlappingCustomDomainsSchema2, FilePathSchema22, FilePathInputSchema2, ImageFilePathSchema2, AuthConfigSchema2, StartDocsRegisterV2InputSchema2, StartDocsRegisterV2ResponseSchema2, StartDocsPreviewRegisterInputSchema2, StartDocsPreviewRegisterResponseSchema2, FinishDocsRegisterV2InputSchema2, TransferOwnershipInputSchema2, SetIsArchivedInputSchema2, SetDocsUrlMetadataInputSchema2, AlgoliaDomainInputSchema2, ListAlgoliaPreviewWhitelistResponseSchema2, DeleteDocsSiteInputSchema2, RemoveCustomDomainAliasInputSchema2, Bcp47LocaleSchema22, RegisterTranslationInputSchema2, RegisterTranslationResponseSchema2, docsV2WriteContract2, InvalidateCachedDocsInputSchema2, docsCacheContract2, MissingContentSchema2, RegisterResponseSchema2, FinishResponseSchema2, ArchiveSiteInputSchema2, ArchiveSiteResponseSchema2, BlobRefSchema2, PageBlobRefSchema2, FileManifestEntrySchema2, ImageRefSchema2, PathOrUrlSchema2, RgbaSchema2, BackgroundColorSchema2, ACCENT_SCALE_KEYS2, accentScaleShape2, LedgerThemeConfigSchema2, LedgerColorsConfigSchema2, LedgerFontVariantSchema2, LedgerFontConfigSchema2, LedgerTypographySchema2, LedgerJsFileSchema2, LedgerJsConfigSchema2, LedgerMetadataConfigSchema2, NavbarLinksFieldSchema2, FooterLinksFieldSchema2, LayoutFieldSchema2, ThemeFieldSchema2, SettingsFieldSchema2, AnalyticsFieldSchema2, AIChatFieldSchema2, PageActionsFieldSchema2, LedgerAgentsConfigSchema2, LedgerConfigSchema2, MetadataStringArraySchema2, FeatureFlagMetadataSchema2, LinkTargetSchema22, CollapsedSchema2, LedgerAvailabilitySchema2, LedgerArtifactTypeSchema2, LedgerMetadataBaseSchema2, NodeMetadataFields2, ApiNodeMetadataFields2, LedgerSegmentDetailMetadataObjectSchema2, LedgerSegmentDetailMetadataSchema2, LedgerSegmentMetadataObjectSchema2, LedgerSegmentMetadataSchema2, LedgerMarkdownMetadataSchema2, LedgerRestMetadataSchema2, LedgerWebSocketMetadataSchema2, LedgerWebhookMetadataSchema2, LedgerGrpcMetadataSchema2, LedgerGraphQlMetadataSchema2, LedgerChangelogEntryMetadataSchema2, LedgerLinkMetadataSchema2, LedgerFileArtifactMetadataSchema2, LedgerStructuralRedirectKindSchema2, LedgerRedirectKindSchema2, LedgerRedirectMetadataSchema2, LedgerArtifactMetadataSchema2, LEDGER_ARTIFACT_METADATA_SCHEMAS2, NavRouteBaseSchema2, LedgerNavRouteSchema2, DocsPublishGitInputSchema2, DocsContentFieldsSchema2, LocaleEntrySchemaInternal2, LocaleEntrySchema2, DocsPublishInputSchemaInternal2, DocsPublishInputSchema2, LedgerPreviewRegisterInputSchemaInternal2, LedgerPreviewRegisterInputSchema2, LedgerPreviewRegisterResponseSchema2, docsLedgerContract2, CurrentVersionInputSchema2, CurrentPreviewInputSchema2, CurrentVersionResponseSchema2, ContentRefSchema2, SegmentDetailSchema2, SegmentSchema2, VersionMetadataInputSchema2, VersionMetadataResponseSchema2, PageContentInputSchema2, PageContentResponseSchema2, BatchPageContentInputSchema2, BatchPageContentItemSchema2, BatchPageContentResponseSchema2, NavInputSchema2, NavResponseSchema2, RouteContextInputSchema2, RouteContextResponseBaseSchema2, RouteContextResponseSchema2, TopLevelNavigationInputSchema2, TopLevelNavigationResponseSchema2, VersionSwitchTargetsInputSchema2, VersionSwitchTargetSchema2, VersionSwitchTargetsResponseSchema2, ApiDefinitionInputSchema2, ApiDefinitionResponseSchema2, PrunedApiDefinitionInputSchema2, PrunedApiDefinitionResponseSchema2, FileArtifactInputSchema2, FileArtifactResponseSchema2, PresignedFileDownloadInputSchema2, PresignedFileDownloadResponseSchema2, FileMetadataInputSchema2, FileMetadataResponseSchema2, docsLedgerReadContract2, GetSnapshotInputSchema2, SetSnapshotInputSchema2, GetDocumentsForBranchesInputSchema2, EditorDocumentSchema2, GetSnapshotResponseSchema2, GetDocumentsForBranchesResponseSchema2, editorSnapshotContract2, GeneratorLanguage, ReleaseType, GeneratorLanguageSchema2, ScriptSchema2, GeneratorScriptsSchema2, GeneratorTypeSchema2, ChangelogEntryTypeSchema2, ChangelogEntrySchema2, YankSchema2, ReleaseTypeSchema2, VersionRangeSchema2, GeneratorSchema2, GeneratorOutputSchema3, GetGeneratorByImageInputSchema2, GetGeneratorInputSchema2, GeneratorReleaseSchema2, GeneratorReleaseRequestSchema2, GetLatestGeneratorReleaseInputSchema2, GetGeneratorChangelogInputSchema2, ChangelogResponseSchema2, GetChangelogResponseSchema2, GetGeneratorReleaseInputSchema2, ListGeneratorReleasesInputSchema2, ListGeneratorReleasesResponseSchema2, CliReleaseSchema2, GetLatestCliReleaseInputSchema2, GetCliChangelogInputSchema2, GetMinCliForIrInputSchema2, UpsertCliReleaseInputSchema2, GetCliReleaseInputSchema2, ListCliReleasesInputSchema2, ListCliReleasesResponseSchema2, generatorsContract2, generatorVersionsContract2, generatorCliContract2, CheckRunSchema2, GithubRepositoryIdSchema2, RepositoryIdSchema2, BaseRepositorySchema2, SdkRepositorySchema2, FernConfigRepositorySchema2, FernRepositorySchema2, GithubUserSchema2, GithubTeamSchema2, PullRequestReviewerSchema2, PullRequestStateSchema2, PullRequestState, PullRequestSchema2, ListRepositoriesResponseSchema2, ListPullRequestsResponseSchema2, GetRepositoryInputSchema2, ListRepositoriesInputSchema2, DeleteRepositoryInputSchema2, GetPullRequestInputSchema2, ListPullRequestsInputSchema2, DeletePullRequestInputSchema2, gitContract2, PdfExportScopeSchema2, PdfExportOptionsV1Schema2, PdfExportOptionsSchema2, PdfExportTaskStatusSchema2, PdfExportTaskSchema2, ListPdfExportTasksResponseSchema2, PdfExportDownloadResponseSchema2, CreatePdfExportTaskInputSchema2, ListPdfExportTasksInputSchema2, GetPdfExportTaskInputSchema2, UpdatePdfExportTaskInputSchema2, GetPdfExportDownloadUrlInputSchema2, CleanupPdfExportsResponseSchema2, pdfExportContract2, LanguageEnumSchema2, VersionBumpEnumSchema2, ComputeSemanticVersionInputSchema2, ComputeSemanticVersionOutputSchema2, sdksContract2, SlugsInputSchema2, SlugEntrySchema2, MarkdownEntrySchema2, GetSlugEntriesResponseSchema2, GetMarkdownEntriesResponseSchema2, slugsContract2, TypeScriptSdkSchema2, PythonSdkSchema2, GoSdkSchema2, RubySdkSchema2, JavaSdkSchema2, CsharpSdkSchema2, BaseSnippetCreateSchema2, SdkSnippetsCreateSchema2, snippetsFactoryContract2, ParameterPayloadSchema2, AuthPayloadSchema2, CustomSnippetPayloadSchema2, snippetsContract2, SnippetRegistryEntrySchema2, RegisterInputSchema2, RegisterBatchInputSchema2, GetInputSchema2, EndpointSnippetTemplateSchema2, templatesContract2, GenerateTokenInputSchema2, RevokeTokenInputSchema2, GenerateTokenOutputSchema2, tokensContract2, StartDocsRegisterV1InputSchema, StartDocsRegisterV1ResponseSchema, FinishDocsRegisterV1InputSchema, docsV1WriteContract, PATH_OR_URL_METADATA_KEYS, LogoViewSchema, ThemeViewSchema, ColorsViewSchema, FontViewSchema, TypographyViewSchema, JsFileViewSchema, MetadataFileRefViewSchema, ConfigViewSchema, NAV_ICON_FILE_PREFIX, FileTokenTreeSchema, ConfigFileTokenViewSchema, SegmentDetailIconViewSchema, SegmentIconViewSchema, LEDGER_MANIFEST_SCHEMA_VERSION, LEDGER_SHARD_SCHEMA_VERSION, ManifestBlobRefSchema, ManifestSegmentSchema, ManifestNavRouteSchema, ManifestRouteBaseSchema, ManifestRouteSchema, ManifestPageSchema, ManifestApiDefSchema, ManifestFileSchema, LedgerShardFileSchema, LedgerConfigBlobSchema, LedgerChromeBlobSchema, LedgerSidebarBundleSchema, LedgerSidebarMapEntrySchema, LedgerLocaleIndexSchema, LedgerRouteShardSchema, LedgerPagesBlobSchema, LedgerPointerSegmentSchema, LedgerLocaleRoutingSchema, LedgerManifestSchema, LedgerSiteArtifactSchema, PutContentInputSchema, PutContentResponseSchema, PutFileInputSchema, FileResponseSchema, contentContract, filesContract, FERN_FILE_REF_KEY, SHA256_RE, THEME_NAME_RE, ThemeResponseSchema, ThemeListItemSchema, ThemeListResponseSchema, UpsertThemeBodySchema;
|
|
589346
|
+
var OrgIdSchema3, ApiIdSchema2, ApiDefinitionIdSchema3, HttpMethodSchema4, HttpMethod46, UrlSchema3, EndpointPathLiteralSchema2, EndpointIdentifierSchema2, SdkRequestSchema2, DocsConfigIdSchema3, GrpcIdSchema2, PageIdSchema3, RoleIdSchema3, TokenIdSchema2, VersionIdSchema3, LinkTarget2, GrpcMethod2, Availability21, SupportedLanguage2, HttpSnippetLanguage5, SnippetsByEndpointMethodSchema2, SdkSchema2, TypeIdSchema2, EndpointIdSchema3, WebSocketIdSchema3, WebhookIdSchema3, GraphQlOperationIdSchema2, GraphQlTypeCategorySchema2, EnvironmentIdSchema2, PropertyKeySchema2, AuthSchemeIdSchema2, SubpackageIdSchema3, WebSocketMessageIdSchema2, FileIdSchema3, MultipleAuthTypeSchema2, GrpcMethodSchema2, AvailabilitySchema5, WebSocketMessageOriginSchema2, WebhookHttpMethodSchema2, WithDescriptionSchema2, WithAvailabilitySchema2, EnvironmentSchema5, RestProtocolSchema2, OpenRpcProtocolSchema2, GrpcProtocolSchema2, ProtocolSchema2, ObjectPropertyAccessSchema2, TypeReferenceIdDefaultSchema2, _numberNullish2, _numberIntNullish2, coercedNumberNullish2, coercedNumberIntNullish2, IntegerTypeSchema2, DoubleTypeSchema2, StringTypeSchema2, LongTypeSchema2, _booleanNullish2, BooleanTypeSchema2, DatetimeTypeSchema2, UuidTypeSchema2, Base64TypeSchema2, DateTypeSchema2, BigIntegerTypeSchema2, UintTypeSchema2, Uint64TypeSchema2, ScalarTypeSchema2, PrimitiveTypeSchema2, LiteralTypeSchema2, TypeReferenceSchema3, GraphQlArgumentSchema2, ObjectPropertySchema3, ObjectTypeSchema2, EnumValueSchema3, EnumTypeSchema2, DiscriminatedUnionVariantSchema2, DiscriminatedUnionTypeSchema2, ContentTypeSchema2, FilePropertySingleSchema2, FilePropertyArraySchema2, FormDataFilePropertySchema2, FormDataBodyPropertySchema2, FormDataPropertySchema2, FormDataRequestSchema2, EndpointPathPartSchema2, PathParameterSchema2, EndpointPathSchema2, QueryParameterSchema2, HeaderSchema3, JsonBodyShapeSchema2, FileDownloadResponseBodyShapeSchema2, StreamResponseV2Schema2, StreamConditionSchema2, FilenameWithDataSchema2, FormValueSchema2, BytesValueSchema2, ExampleEndpointRequestSchema2, ExampleServerSentEventSchema2, ExampleEndpointResponseSchema2, ErrorDeclarationSchema3, ExampleErrorResponseSchema2, ErrorExampleSchema2, GraphQlOperationTypeSchema2, GraphQlExampleSchema2, CodeSnippetSchema2, GraphQlOperationSchema2, WebhookPayloadShapeSchema2, WebhookPayloadSchema3, ExampleWebhookPayloadSchema2, WebSocketMessageBodyShapeSchema2, WebSocketMessageSchema2, ExampleWebSocketMessageSchema2, ExampleWebSocketSessionSchema2, ApiNavigationConfigItemSchema5, ApiNavigationConfigRootSchema5, BearerAuthSchema2, BasicAuthSchema2, HeaderAuthSchema2, OAuthClientCredentialsReferencedEndpointSchema2, OAuthClientCredentialsSchema2, OAuthSchema2, ApiAuthSchema4, JqStringSchema2, RegisterLanguageSchema2, RegisterUndiscriminatedUnionVariantSchema2, RegisterUndiscriminatedUnionTypeSchema2, RegisterTypeShapeSchema2, RegisterTypeDefinitionSchema2, RegisterBytesRequestSchema2, RegisterJsonRequestBodySchema2, RegisterHttpRequestBodyShapeSchema2, RegisterHttpRequestSchema2, RegisterHttpRequestsV2Schema2, RegisterCustomCodeSampleSchema2, RegisterExampleEndpointCallSchema2, RegisterNonStreamResponseSchema2, RegisterStreamResponseSchema2, RegisterStreamConditionResponseSchema2, RegisterHttpResponseBodyShapeSchema2, RegisterHttpResponseSchema2, RegisterHttpResponsesV2Schema2, RegisterErrorDeclarationV2Schema2, RegisterEndpointDefinitionSchema2, RegisterWebhookDefinitionSchema2, RegisterWebSocketChannelSchema2, SourceIdSchema2, SourceSchema3, SourceUploadSchema2, DynamicIRSchema2, DynamicIRUploadSchema2, TypescriptPackageSchema2, PythonPackageSchema2, GoModuleSchema2, JavaCoordinateSchema2, RubyGemSchema2, NugetPackageSchema2, ComposerPackageSchema2, SwiftPackageSchema2, CratesPackageSchema2, SnippetsConfigSchema2, RegisterApiDefinitionPackageSchema2, RegisterApiDefinitionSubpackageSchema2, RegisterApiDefinitionSchema2, RegisterApiDefinitionResponseSchema2, SnippetInfoSchema2, SdkDynamicIrDownloadSchema2, GetSdkDynamicIrUploadUrlsResponseSchema2, CheckSdkDynamicIrExistsResponseSchema2, EndpointExampleGenerationErrorBodySchema2, PathPartSchema2, WithNamespaceSchema2, LatestAuthSchemeSchema2, LatestObjectPropertyAccessSchema2, LatestTypeReferenceIdDefaultSchema2, LatestPrimitiveTypeSchema2, LatestLiteralTypeSchema2, LatestUnknownTypeSchema2, LatestEnumValueSchema2, LatestEnumTypeSchema2, LatestObjectPropertySchema2, LatestParameterPropertySchema2, LatestObjectTypeSchema2, LatestUndiscriminatedUnionVariantSchema2, LatestUndiscriminatedUnionTypeSchema2, LatestDiscriminatedUnionVariantSchema2, LatestDiscriminatedUnionTypeSchema2, LatestTypeShapeSchema2, LatestTypeReferenceSchema2, LatestTypeDefinitionSchema2, LatestContentTypeSchema2, LatestBytesRequestSchema2, LatestFormDataPropertySchema2, LatestFormDataRequestSchema2, LatestNullableTypeSchema2, LatestOptionalTypeSchema2, LatestListTypeSchema2, LatestSetTypeSchema2, LatestMapTypeSchema2, LatestLanguageSchema2, LatestExampleEndpointRequestSchema2, LatestExampleEndpointResponseSchema2, LatestExampleErrorResponseSchema2, LatestHttpRequestBodyShapeSchema2, LatestHttpRequestSchema2, LatestFileDownloadResponseBodyShapeSchema2, LatestStreamResponseSchema2, LatestHttpResponseBodyShapeSchema2, LatestHttpResponseSchema2, LatestErrorExampleSchema2, LatestErrorResponseSchema2, LatestCodeSnippetSchema2, LatestExampleEndpointCallSchema2, LatestEndpointDefinitionSchema2, LatestGraphQlOperationTypeSchema2, LatestGraphQlArgumentSchema2, LatestGraphQlExampleSchema2, LatestGraphQlOperationSchema2, LatestWebhookPayloadShapeSchema2, LatestWebhookPayloadSchema2, LatestExampleWebhookPayloadSchema2, LatestWebhookDefinitionSchema2, LatestWebSocketMessageSchema2, LatestExampleWebSocketMessageSchema2, LatestExampleWebSocketSessionSchema2, LatestWebSocketChannelSchema2, LatestSubpackageMetadataSchema2, LatestApiDefinitionSchema2, ApiDefinitionSchema4, ReadUndiscriminatedUnionVariantSchema2, ReadUndiscriminatedUnionTypeSchema2, ReadTypeShapeSchema2, ReadTypeDefinitionSchema2, ReadBytesRequestSchema2, ReadHttpRequestBodyShapeSchema2, ReadHttpRequestSchema2, ReadHttpRequestsV2Schema2, ReadSupportedLanguageSchema2, ReadLanguageSchema2, ReadCustomCodeSampleSchema2, ReadPythonSnippetSchema2, ReadTypescriptSnippetSchema2, ReadGoSnippetSchema2, ReadRubySnippetSchema2, ReadCsharpSnippetSchema2, ReadCodeExamplesSchema2, ReadExampleEndpointCallSchema2, ReadNonStreamResponseSchema2, ReadStreamResponseSchema2, ReadStreamConditionResponseSchema2, ReadHttpResponseBodyShapeSchema2, ReadHttpResponseSchema2, ReadHttpResponsesV2Schema2, ReadErrorDeclarationV2Schema2, ReadEndpointDefinitionSchema2, ReadWebhookDefinitionSchema2, ReadWebSocketChannelSchema2, ReadApiDefinitionPackageSchema2, ReadApiDefinitionSubpackageSchema2, ReadApiDefinitionSchema2, apiLatestContract2, apiReadContract2, apiRegisterContract2, EndpointSnippetTemplatesSchema2, DbHttpRequestSchema2, DbHttpRequestsV2Schema2, DbEndpointDefinitionSchema2, DbApiDefinitionPackageSchema2, DbApiDefinitionSubpackageSchema2, DbApiDefinitionSchema2, DbEndpointWithContextSchema2, DocsDeploymentStatusSchema2, DocsSiteSchema2, DocsDeploymentSchema2, RegisterDocsSiteInputSchema2, GetPostmanCollectionIdInputSchema2, GetDocsStatusInputSchema2, SetDocsStatusInputSchema2, CreateDeploymentInputSchema2, UpdateDeploymentStatusInputSchema2, GetDocsDeploymentsInputSchema2, UnlockDeployInputSchema2, GetDocsStatusResponseSchema2, GetDocsDeploymentsResponseSchema2, CreateDeploymentResponseSchema2, UpdateDeploymentStatusResponseSchema2, GetPostmanCollectionIdResponseSchema2, UnlockDeployResponseSchema2, GetDocsSitesByCollectionIdInputSchema2, FindSiteByOrgAndCollectionInputSchema2, FindSiteByOrgAndCollectionResponseSchema2, RecordPostmanNotificationInputSchema2, RecordPostmanNotificationResponseSchema2, GetUnnotifiedPostmanSitesResponseSchema2, GetDocsSitesByCollectionIdResponseSchema2, DeleteDocsSiteByServiceInputSchema2, DeleteDocsSiteByServiceResponseSchema2, SetEditorRepoUrlInputSchema2, docsDeploymentContract2, DocsSiteUrlSchema2, DashboardDocsSiteSchema2, GetDocsSitesForOrgInputSchema2, GetDocsSitesForOrgResponseSchema2, IsDocsSiteInOrgInputSchema2, IsDocsSiteInOrgResponseSchema2, DeleteAllDocsSitesForOrgInputSchema2, DeleteAllDocsSitesForOrgResponseSchema2, dashboardContract2, DashboardAnalyticsCommonInputSchema2, DashboardFeedbackInputSchema2, DashboardListOrgDocDomainsInputSchema2, DashboardListOrgMembersInputSchema2, DashboardGetSiteConfigInputSchema2, AuthorizeDocsEditResponseSchema2, AnalyticsMetricSchema2, AnalyticsDimensionSchema2, AnalyticsGranularitySchema2, AnalyticsFilterFieldSchema2, AnalyticsFilterOpSchema2, AnalyticsFilterSchema2, AnalyticsOrderBySchema2, AnalyticsDateRangeSchema2, QueryAnalyticsInputSchema2, ResolvedDateRangeSchema2, AnalyticsSourceSchema2, TrafficSummaryResponseSchema2, TopPagesResponseSchema2, Pages404ResponseSchema2, ReferringDomainsResponseSchema2, LlmBotTrafficResponseSchema2, RecentFeedbackResponseSchema2, OrgDocDomainsResponseSchema2, QueryAnalyticsResponseSchema2, OrgMembersResponseSchema2, SiteGitRepositorySchema2, SiteConfigResponseSchema2, SitePasswordProtectionSchema2, SiteSettingsResponseSchema2, dashboardAgentContract2, FileIdSchema22, PageIdSchema22, UrlSchema22, VersionIdSchema22, ApiDefinitionIdSchema22, EndpointIdSchema22, WebSocketIdSchema22, WebhookIdSchema22, RoleIdSchema22, SubpackageIdSchema22, LinkTargetSchema3, AvailabilitySchema23, RgbaColorSchema2, FileIdOrUrlSchema2, LanguageSchema2, Bcp47LocaleSchema3, DocsTranslationsConfigSchema2, ProgrammingLanguageSchema2, AnnouncementConfigSchema3, SegmentConfigSchema2, FullStoryAnalyticsConfigSchema2, IntercomConfigSchema3, PostHogConfigSchema2, GTMConfigSchema2, GoogleAnalytics4ConfigSchema2, AmplitudeConfigSchema2, MixpanelConfigSchema2, HotJarConfigSchema2, KoalaConfigSchema2, LogRocketConfigSchema2, PirschConfigSchema2, PlausibleConfigSchema2, FathomConfigSchema2, ClearBitConfigSchema2, HeapConfigSchema2, AnalyticsConfigSchema3, SearchbarPlacementSchema2, TabsPlacementSchema2, SwitcherPlacementSchema2, ContentAlignmentSchema2, HeaderPositionSchema2, PageWidthSizeConfigSchema2, SizeConfigSchema2, TabsAlignmentSchema2, ChangelogLayoutSchema2, DocsLayoutConfigSchema2, FooterNavConfigSchema2, DocsSidebarConfigSchema2, DocsBodyConfigSchema2, DocsTabsStyleSchema2, DocsTabsObjectConfigSchema2, DocsTabsConfigSchema2, DocsPageActionsConfigSchema2, LanguageSwitcherConfigSchema2, ProductSwitcherConfigSchema2, DocsThemeConfigSchema2, HttpSnippetLanguageSchema2, HttpSnippetsConfigSchema2, SearchSettingsConfigSchema2, DocsSettingsConfigSchema3, TwitterCardSettingSchema3, MetadataConfigSchema3, RedirectConfigSchema3, WithPermissionsSchema2, NavbarLinkMetadataSchema2, NavbarGithubMetadataSchema2, NavbarLinkDropdownMetadataSchema2, NavbarLinkSchema3, FooterLinkSchema2, CssConfigSchema3, JsScriptStrategySchema2, JsRemoteConfigSchema2, JsFileConfigSchema2, JsConfigSchema3, IntegrationsConfigSchema3, FontStyleSchema2, FontDisplaySchema2, CustomFontConfigVariantSchema2, CustomFontConfigSchema2, FontConfigV2Schema2, DocsTypographyConfigV2Schema2, ThemedFileIdSchema2, ColorsConfigSchema2, ColorUnthemedConfigSchema2, ColorThemedConfigSchema2, ColorConfigSchema2, ColorsConfigV2Schema2, FontConfigSchema2, DocsTypographyConfigSchema2, EditThisPageLaunchSchema2, AIChatLocationSchema2, AIChatWebsiteDatasourceSchema2, AIChatDatasourceSchema2, AIModelSchema2, AIChatConfigSchema2, PageDescriptionSourceSchema2, AgentsConfigSchema2, PageActionOptionSchema2, CustomPageActionSchema2, SkillSchema2, SkillsConfigSchema2, PageActionOptionsSchema2, PageActionsConfigSchema3, HeightSchema3, PageContentSchema3, NavigationNodeMetadataSchema3, PageMetadataSchema3, LinkMetadataSchema3, NavigationTabLinkSchema3, ChangelogItemSchema3, ChangelogSectionSchema3, ChangelogSectionV3Schema3, ApiSectionV2Schema3, GitHubRepoSchema2, NpmPackageSchema3, MavenPackageSchema3, PypiPackageSchema3, PublishedSdkSchema3, PublishedPostmanCollectionSchema3, ApiArtifactsSchema3, ApiNavigationConfigItemSchema22, ApiNavigationConfigRootSchema22, DocsConfigIdSchema22, UrlFileSchema2, ImageFileSchema2, FileSchema3, BackgroundSchema3, ThemeConfigSchema5, DarkAndLightModeConfigSchema4, ColorsConfigV3Schema4, ApiNavigationConfigRootSchema32, ApiSectionSchema4, DocsSectionSchema4, NavigationItemSchema4, NavigationTabGroupSchema4, NavigationTabSchema4, UnversionedTabbedNavigationConfigSchema4, UnversionedUntabbedNavigationConfigSchema4, UnversionedNavigationConfigSchema4, VersionedNavigationConfigDataSchema4, VersionedNavigationConfigSchema4, NavigationConfigSchema5, DocsConfigSchema3, DocsDefinitionSchema3, BaseUrlSchema2, LoadDocsForUrlResponseSchema2, GetDocsForDomainLegacyInputSchema2, GetDocsForDomainInputSchema2, docsV1ReadContract2, ALLOWED_HOSTNAMES2, GithubUrlSchema2, SafeBranchSchema2, SafePackagePathSchema2, LibraryDocsBaseConfigSchema2, PythonLibraryDocsConfigSchema2, CppLibraryDocsConfigSchema2, StartLibraryDocsGenerationInputSchema2, StartLibraryDocsGenerationResponseSchema2, GetLibraryDocsStatusInputSchema2, LibraryDocsResultSchema2, LibraryDocsGenerationStatusSchema2, libraryDocsContract2, GetOrganizationForUrlInputSchema2, organizationContract2, GetDocsUrlMetadataInputSchema2, GetDocsUrlMetadataResponseSchema2, GetDocsForUrlInputSchema2, GetPrivateDocsForUrlInputSchema2, ListAllDocsUrlsInputSchema2, GetDocsConfigByIdInputSchema2, GetSiteMetricsInputSchema2, SiteMetricsSchema2, DocsDefinitionField2, GetDocsConfigByIdResponseSchema2, DocsDomainItemSchema2, ListAllDocsUrlsResponseSchema2, getDocsForUrl2, docsV2ReadContract2, OrgIdSchema22, FilePathSchema3, DocsRegistrationIdSchema2, HeightSchema22, FileS3UploadUrlSchema2, StartDocsRegisterResponseSchema2, PageContentSchema22, NavigationNodeMetadataSchema22, PageMetadataSchema22, LinkMetadataSchema22, ChangelogItemSchema22, ChangelogSectionSchema22, ChangelogSectionV2Schema2, ChangelogSectionV3Schema22, NavigationTabLinkSchema22, ApiNavigationConfigItemSchema32, ApiNavigationConfigSubpackageSchema2, ApiNavigationConfigRootSchema42, ApiSectionSchema22, ApiSectionV2Schema22, DocsSectionSchema22, NavigationItemSchema22, NavigationTabGroupSchema22, NavigationTabSchema22, NavigationTabV2Schema3, UnversionedTabbedNavigationConfigSchema22, UnversionedUntabbedNavigationConfigSchema22, UnversionedNavigationConfigSchema22, VersionedNavigationConfigDataSchema22, VersionedNavigationConfigSchema22, NavigationConfigSchema22, ThemeConfigSchema22, DarkAndLightModeConfigSchema22, ColorsConfigV3Schema22, DocsConfigSchema22, DocsDefinitionSchema22, NpmPackageSchema22, MavenPackageSchema22, PypiPackageSchema22, PublishedSdkSchema22, PublishedPostmanCollectionSchema22, ApiArtifactsSchema22, InvalidCustomDomainErrorBodySchema2, OverlappingCustomDomainsSchema2, FilePathSchema22, FilePathInputSchema2, ImageFilePathSchema2, AuthConfigSchema2, StartDocsRegisterV2InputSchema2, StartDocsRegisterV2ResponseSchema2, StartDocsPreviewRegisterInputSchema2, StartDocsPreviewRegisterResponseSchema2, FinishDocsRegisterV2InputSchema2, TransferOwnershipInputSchema2, SetIsArchivedInputSchema2, SetDocsUrlMetadataInputSchema2, AlgoliaDomainInputSchema2, ListAlgoliaPreviewWhitelistResponseSchema2, DeleteDocsSiteInputSchema2, RemoveCustomDomainAliasInputSchema2, Bcp47LocaleSchema22, RegisterTranslationInputSchema2, RegisterTranslationResponseSchema2, docsV2WriteContract2, InvalidateCachedDocsInputSchema2, docsCacheContract2, MissingContentSchema2, RegisterResponseSchema2, FinishResponseSchema2, ArchiveSiteInputSchema2, ArchiveSiteResponseSchema2, BlobRefSchema2, PageBlobRefSchema2, FileManifestEntrySchema2, ImageRefSchema2, PathOrUrlSchema2, RgbaSchema2, BackgroundColorSchema2, ACCENT_SCALE_KEYS2, accentScaleShape2, LedgerThemeConfigSchema2, LedgerColorsConfigSchema2, LedgerFontVariantSchema2, LedgerFontConfigSchema2, LedgerTypographySchema2, LedgerJsFileSchema2, LedgerJsConfigSchema2, LedgerMetadataConfigSchema2, NavbarLinksFieldSchema2, FooterLinksFieldSchema2, LayoutFieldSchema2, ThemeFieldSchema2, SettingsFieldSchema2, AnalyticsFieldSchema2, AIChatFieldSchema2, PageActionsFieldSchema2, LedgerAgentsConfigSchema2, LedgerConfigSchema2, MetadataStringArraySchema2, FeatureFlagMetadataSchema2, LinkTargetSchema22, CollapsedSchema2, PlaygroundSettingsSchema3, LedgerAvailabilitySchema2, LedgerArtifactTypeSchema2, LedgerMetadataBaseSchema2, NodeMetadataFields2, ApiNodeMetadataFields2, LedgerSegmentDetailMetadataObjectSchema2, LedgerSegmentDetailMetadataSchema2, LedgerSegmentMetadataObjectSchema2, LedgerSegmentMetadataSchema2, LedgerMarkdownMetadataSchema2, LedgerRestMetadataSchema2, LedgerWebSocketMetadataSchema2, LedgerWebhookMetadataSchema2, LedgerGrpcMetadataSchema2, LedgerGraphQlMetadataSchema2, LedgerChangelogEntryMetadataSchema2, LedgerLinkMetadataSchema2, LedgerFileArtifactMetadataSchema2, LedgerStructuralRedirectKindSchema2, LedgerRedirectKindSchema2, LedgerRedirectMetadataSchema2, LedgerArtifactMetadataSchema2, LEDGER_ARTIFACT_METADATA_SCHEMAS2, NavRouteBaseSchema2, LedgerNavRouteSchema2, DocsPublishGitInputSchema2, DocsContentFieldsSchema2, LocaleEntrySchemaInternal2, LocaleEntrySchema2, DocsPublishInputSchemaInternal2, DocsPublishInputSchema2, LedgerPreviewRegisterInputSchemaInternal2, LedgerPreviewRegisterInputSchema2, LedgerPreviewRegisterResponseSchema2, docsLedgerContract2, CurrentVersionInputSchema2, CurrentPreviewInputSchema2, CurrentVersionResponseSchema2, ContentRefSchema2, SegmentDetailSchema2, SegmentSchema2, VersionMetadataInputSchema2, VersionMetadataResponseSchema2, PageContentInputSchema2, PageContentResponseSchema2, BatchPageContentInputSchema2, BatchPageContentItemSchema2, BatchPageContentResponseSchema2, NavInputSchema2, NavResponseSchema2, RouteContextInputSchema2, RouteContextResponseBaseSchema2, RouteContextResponseSchema2, TopLevelNavigationInputSchema2, TopLevelNavigationResponseSchema2, VersionSwitchTargetsInputSchema2, VersionSwitchTargetSchema2, VersionSwitchTargetsResponseSchema2, ApiDefinitionInputSchema2, ApiDefinitionResponseSchema2, PrunedApiDefinitionInputSchema2, PrunedApiDefinitionResponseSchema2, FileArtifactInputSchema2, FileArtifactResponseSchema2, PresignedFileDownloadInputSchema2, PresignedFileDownloadResponseSchema2, FileMetadataInputSchema2, FileMetadataResponseSchema2, docsLedgerReadContract2, GetSnapshotInputSchema2, SetSnapshotInputSchema2, GetDocumentsForBranchesInputSchema2, EditorDocumentSchema2, GetSnapshotResponseSchema2, GetDocumentsForBranchesResponseSchema2, editorSnapshotContract2, GeneratorLanguage, ReleaseType, GeneratorLanguageSchema2, ScriptSchema2, GeneratorScriptsSchema2, GeneratorTypeSchema2, ChangelogEntryTypeSchema2, ChangelogEntrySchema2, YankSchema2, ReleaseTypeSchema2, VersionRangeSchema2, GeneratorSchema2, GeneratorOutputSchema3, GetGeneratorByImageInputSchema2, GetGeneratorInputSchema2, GeneratorReleaseSchema2, GeneratorReleaseRequestSchema2, GetLatestGeneratorReleaseInputSchema2, GetGeneratorChangelogInputSchema2, ChangelogResponseSchema2, GetChangelogResponseSchema2, GetGeneratorReleaseInputSchema2, ListGeneratorReleasesInputSchema2, ListGeneratorReleasesResponseSchema2, CliReleaseSchema2, GetLatestCliReleaseInputSchema2, GetCliChangelogInputSchema2, GetMinCliForIrInputSchema2, UpsertCliReleaseInputSchema2, GetCliReleaseInputSchema2, ListCliReleasesInputSchema2, ListCliReleasesResponseSchema2, generatorsContract2, generatorVersionsContract2, generatorCliContract2, CheckRunSchema2, GithubRepositoryIdSchema2, RepositoryIdSchema2, BaseRepositorySchema2, SdkRepositorySchema2, FernConfigRepositorySchema2, FernRepositorySchema2, GithubUserSchema2, GithubTeamSchema2, PullRequestReviewerSchema2, PullRequestStateSchema2, PullRequestState, PullRequestSchema2, ListRepositoriesResponseSchema2, ListPullRequestsResponseSchema2, GetRepositoryInputSchema2, ListRepositoriesInputSchema2, DeleteRepositoryInputSchema2, GetPullRequestInputSchema2, ListPullRequestsInputSchema2, DeletePullRequestInputSchema2, gitContract2, PdfExportScopeSchema2, PdfExportOptionsV1Schema2, PdfExportOptionsSchema2, PdfExportTaskStatusSchema2, PdfExportTaskSchema2, ListPdfExportTasksResponseSchema2, PdfExportDownloadResponseSchema2, CreatePdfExportTaskInputSchema2, ListPdfExportTasksInputSchema2, GetPdfExportTaskInputSchema2, UpdatePdfExportTaskInputSchema2, GetPdfExportDownloadUrlInputSchema2, CleanupPdfExportsResponseSchema2, pdfExportContract2, LanguageEnumSchema2, VersionBumpEnumSchema2, ComputeSemanticVersionInputSchema2, ComputeSemanticVersionOutputSchema2, sdksContract2, SlugsInputSchema2, SlugEntrySchema2, MarkdownEntrySchema2, GetSlugEntriesResponseSchema2, GetMarkdownEntriesResponseSchema2, slugsContract2, TypeScriptSdkSchema2, PythonSdkSchema2, GoSdkSchema2, RubySdkSchema2, JavaSdkSchema2, CsharpSdkSchema2, BaseSnippetCreateSchema2, SdkSnippetsCreateSchema2, snippetsFactoryContract2, ParameterPayloadSchema2, AuthPayloadSchema2, CustomSnippetPayloadSchema2, snippetsContract2, SnippetRegistryEntrySchema2, RegisterInputSchema2, RegisterBatchInputSchema2, GetInputSchema2, EndpointSnippetTemplateSchema2, templatesContract2, GenerateTokenInputSchema2, RevokeTokenInputSchema2, GenerateTokenOutputSchema2, tokensContract2, StartDocsRegisterV1InputSchema, StartDocsRegisterV1ResponseSchema, FinishDocsRegisterV1InputSchema, docsV1WriteContract, PATH_OR_URL_METADATA_KEYS, LogoViewSchema, ThemeViewSchema, ColorsViewSchema, FontViewSchema, TypographyViewSchema, JsFileViewSchema, MetadataFileRefViewSchema, ConfigViewSchema, NAV_ICON_FILE_PREFIX, FileTokenTreeSchema, ConfigFileTokenViewSchema, SegmentDetailIconViewSchema, SegmentIconViewSchema, LEDGER_MANIFEST_SCHEMA_VERSION, LEDGER_SHARD_SCHEMA_VERSION, ManifestBlobRefSchema, ManifestSegmentSchema, ManifestNavRouteSchema, ManifestRouteBaseSchema, ManifestRouteSchema, ManifestPageSchema, ManifestApiDefSchema, ManifestFileSchema, LedgerShardFileSchema, LedgerConfigBlobSchema, LedgerChromeBlobSchema, LedgerSidebarBundleSchema, LedgerSidebarMapEntrySchema, LedgerLocaleIndexSchema, LedgerRouteShardSchema, LedgerPagesBlobSchema, LedgerPointerSegmentSchema, LedgerLocaleRoutingSchema, LedgerManifestSchema, LedgerSiteArtifactSchema, PutContentInputSchema, PutContentResponseSchema, PutFileInputSchema, FileResponseSchema, contentContract, filesContract, SEMVER_RE, UpsertOrgConfigBodySchema, OrgConfigResponseSchema, FERN_FILE_REF_KEY, SHA256_RE, THEME_NAME_RE, ThemeResponseSchema, ThemeListItemSchema, ThemeListResponseSchema, UpsertThemeBodySchema;
|
|
588517
589347
|
var init_orpc_client = __esm({
|
|
588518
|
-
"../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.
|
|
589348
|
+
"../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.80-050d6c9417_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs"() {
|
|
588519
589349
|
"use strict";
|
|
588520
589350
|
init_dist5();
|
|
588521
589351
|
init_dist5();
|
|
@@ -588538,6 +589368,10 @@ var init_orpc_client = __esm({
|
|
|
588538
589368
|
init_fetch3();
|
|
588539
589369
|
init_dist7();
|
|
588540
589370
|
init_zod2();
|
|
589371
|
+
init_dist5();
|
|
589372
|
+
init_fetch3();
|
|
589373
|
+
init_dist7();
|
|
589374
|
+
init_zod2();
|
|
588541
589375
|
init_zod2();
|
|
588542
589376
|
init_zod2();
|
|
588543
589377
|
init_zod2();
|
|
@@ -588618,6 +589452,7 @@ var init_orpc_client = __esm({
|
|
|
588618
589452
|
init_dist7();
|
|
588619
589453
|
init_zod2();
|
|
588620
589454
|
init_zod2();
|
|
589455
|
+
init_zod2();
|
|
588621
589456
|
OrgIdSchema3 = stringType();
|
|
588622
589457
|
ApiIdSchema2 = stringType();
|
|
588623
589458
|
ApiDefinitionIdSchema3 = stringType().uuid();
|
|
@@ -590605,6 +591440,213 @@ var init_orpc_client = __esm({
|
|
|
590605
591440
|
isDocsSiteInOrg: oc.route({ method: "POST", path: "/is-docs-site-in-org" }).input(IsDocsSiteInOrgInputSchema2).output(IsDocsSiteInOrgResponseSchema2),
|
|
590606
591441
|
deleteAllDocsSitesForOrg: oc.route({ method: "DELETE", path: "/{orgId}/docs" }).input(DeleteAllDocsSitesForOrgInputSchema2).output(DeleteAllDocsSitesForOrgResponseSchema2)
|
|
590607
591442
|
};
|
|
591443
|
+
DashboardAnalyticsCommonInputSchema2 = objectType({
|
|
591444
|
+
orgId: stringType(),
|
|
591445
|
+
domain: stringType().min(1),
|
|
591446
|
+
dateRange: stringType().optional(),
|
|
591447
|
+
includeInternal: booleanType().optional()
|
|
591448
|
+
});
|
|
591449
|
+
DashboardFeedbackInputSchema2 = objectType({
|
|
591450
|
+
orgId: stringType(),
|
|
591451
|
+
domain: stringType().min(1),
|
|
591452
|
+
dateRange: stringType().optional(),
|
|
591453
|
+
feedbackType: enumType(["page", "code_block", "all"]).optional(),
|
|
591454
|
+
limit: numberType().int().min(1).max(50).optional()
|
|
591455
|
+
});
|
|
591456
|
+
DashboardListOrgDocDomainsInputSchema2 = objectType({
|
|
591457
|
+
orgId: stringType()
|
|
591458
|
+
});
|
|
591459
|
+
DashboardListOrgMembersInputSchema2 = objectType({
|
|
591460
|
+
orgId: stringType(),
|
|
591461
|
+
includeFernEmployees: booleanType().optional()
|
|
591462
|
+
});
|
|
591463
|
+
DashboardGetSiteConfigInputSchema2 = objectType({
|
|
591464
|
+
orgId: stringType(),
|
|
591465
|
+
domain: stringType().min(1)
|
|
591466
|
+
});
|
|
591467
|
+
AuthorizeDocsEditResponseSchema2 = objectType({
|
|
591468
|
+
authorized: literalType(true)
|
|
591469
|
+
});
|
|
591470
|
+
AnalyticsMetricSchema2 = enumType(["pageviews", "visitors", "sessions", "404s"]);
|
|
591471
|
+
AnalyticsDimensionSchema2 = enumType(["path", "referrer"]);
|
|
591472
|
+
AnalyticsGranularitySchema2 = enumType(["day", "week", "month"]);
|
|
591473
|
+
AnalyticsFilterFieldSchema2 = enumType(["path", "referrer"]);
|
|
591474
|
+
AnalyticsFilterOpSchema2 = enumType(["eq", "prefix", "contains"]);
|
|
591475
|
+
AnalyticsFilterSchema2 = objectType({
|
|
591476
|
+
field: AnalyticsFilterFieldSchema2,
|
|
591477
|
+
op: AnalyticsFilterOpSchema2,
|
|
591478
|
+
value: stringType().min(1).max(512)
|
|
591479
|
+
});
|
|
591480
|
+
AnalyticsOrderBySchema2 = objectType({
|
|
591481
|
+
field: enumType(["count", "visitors"]),
|
|
591482
|
+
dir: enumType(["asc", "desc"])
|
|
591483
|
+
});
|
|
591484
|
+
AnalyticsDateRangeSchema2 = unionType([
|
|
591485
|
+
stringType().min(1),
|
|
591486
|
+
objectType({ startDate: stringType(), endDate: stringType() })
|
|
591487
|
+
]);
|
|
591488
|
+
QueryAnalyticsInputSchema2 = objectType({
|
|
591489
|
+
orgId: stringType(),
|
|
591490
|
+
domain: stringType().min(1),
|
|
591491
|
+
metric: AnalyticsMetricSchema2,
|
|
591492
|
+
dimensions: arrayType(AnalyticsDimensionSchema2).max(2).optional(),
|
|
591493
|
+
filters: arrayType(AnalyticsFilterSchema2).max(10).optional(),
|
|
591494
|
+
dateRange: AnalyticsDateRangeSchema2,
|
|
591495
|
+
granularity: AnalyticsGranularitySchema2.optional(),
|
|
591496
|
+
orderBy: AnalyticsOrderBySchema2.optional(),
|
|
591497
|
+
limit: numberType().int().min(1).max(500).optional()
|
|
591498
|
+
});
|
|
591499
|
+
ResolvedDateRangeSchema2 = objectType({
|
|
591500
|
+
startDate: stringType(),
|
|
591501
|
+
endDate: stringType()
|
|
591502
|
+
});
|
|
591503
|
+
AnalyticsSourceSchema2 = enumType(["cache", "live"]);
|
|
591504
|
+
TrafficSummaryResponseSchema2 = objectType({
|
|
591505
|
+
resolvedDateRange: ResolvedDateRangeSchema2,
|
|
591506
|
+
metrics: objectType({
|
|
591507
|
+
visitors: numberType(),
|
|
591508
|
+
pageViews: numberType(),
|
|
591509
|
+
// Absent on cache hits: the daily snapshot does not track sessions.
|
|
591510
|
+
sessions: numberType().optional()
|
|
591511
|
+
}),
|
|
591512
|
+
baseSiteUrl: stringType(),
|
|
591513
|
+
source: AnalyticsSourceSchema2
|
|
591514
|
+
});
|
|
591515
|
+
TopPagesResponseSchema2 = objectType({
|
|
591516
|
+
resolvedDateRange: ResolvedDateRangeSchema2,
|
|
591517
|
+
topPages: arrayType(
|
|
591518
|
+
objectType({
|
|
591519
|
+
path: stringType(),
|
|
591520
|
+
visitors: numberType(),
|
|
591521
|
+
views: numberType()
|
|
591522
|
+
})
|
|
591523
|
+
),
|
|
591524
|
+
source: AnalyticsSourceSchema2
|
|
591525
|
+
});
|
|
591526
|
+
Pages404ResponseSchema2 = objectType({
|
|
591527
|
+
resolvedDateRange: ResolvedDateRangeSchema2,
|
|
591528
|
+
pages404: arrayType(
|
|
591529
|
+
objectType({
|
|
591530
|
+
path: stringType(),
|
|
591531
|
+
count: numberType()
|
|
591532
|
+
})
|
|
591533
|
+
),
|
|
591534
|
+
source: AnalyticsSourceSchema2
|
|
591535
|
+
});
|
|
591536
|
+
ReferringDomainsResponseSchema2 = objectType({
|
|
591537
|
+
resolvedDateRange: ResolvedDateRangeSchema2,
|
|
591538
|
+
referringDomains: arrayType(
|
|
591539
|
+
objectType({
|
|
591540
|
+
domain: stringType(),
|
|
591541
|
+
visitors: numberType(),
|
|
591542
|
+
views: numberType()
|
|
591543
|
+
})
|
|
591544
|
+
),
|
|
591545
|
+
source: AnalyticsSourceSchema2
|
|
591546
|
+
});
|
|
591547
|
+
LlmBotTrafficResponseSchema2 = objectType({
|
|
591548
|
+
resolvedDateRange: ResolvedDateRangeSchema2,
|
|
591549
|
+
providers: arrayType(
|
|
591550
|
+
objectType({
|
|
591551
|
+
provider: stringType(),
|
|
591552
|
+
count: numberType()
|
|
591553
|
+
})
|
|
591554
|
+
),
|
|
591555
|
+
source: AnalyticsSourceSchema2
|
|
591556
|
+
});
|
|
591557
|
+
RecentFeedbackResponseSchema2 = objectType({
|
|
591558
|
+
resolvedDateRange: ResolvedDateRangeSchema2,
|
|
591559
|
+
helpfulCount: numberType(),
|
|
591560
|
+
unhelpfulCount: numberType(),
|
|
591561
|
+
entries: arrayType(
|
|
591562
|
+
objectType({
|
|
591563
|
+
date: stringType(),
|
|
591564
|
+
location: stringType(),
|
|
591565
|
+
wasHelpful: booleanType(),
|
|
591566
|
+
userFeedback: stringType(),
|
|
591567
|
+
feedbackType: stringType().optional()
|
|
591568
|
+
})
|
|
591569
|
+
),
|
|
591570
|
+
hasMore: booleanType()
|
|
591571
|
+
});
|
|
591572
|
+
OrgDocDomainsResponseSchema2 = objectType({
|
|
591573
|
+
domains: arrayType(stringType())
|
|
591574
|
+
});
|
|
591575
|
+
QueryAnalyticsResponseSchema2 = objectType({
|
|
591576
|
+
resolvedDateRange: ResolvedDateRangeSchema2,
|
|
591577
|
+
metric: AnalyticsMetricSchema2,
|
|
591578
|
+
dimensions: arrayType(AnalyticsDimensionSchema2),
|
|
591579
|
+
granularity: AnalyticsGranularitySchema2.optional(),
|
|
591580
|
+
rows: arrayType(
|
|
591581
|
+
objectType({
|
|
591582
|
+
dimensions: recordType(stringType(), stringType()),
|
|
591583
|
+
bucket: stringType().optional(),
|
|
591584
|
+
count: numberType(),
|
|
591585
|
+
visitors: numberType().optional(),
|
|
591586
|
+
sessions: numberType().optional()
|
|
591587
|
+
})
|
|
591588
|
+
)
|
|
591589
|
+
});
|
|
591590
|
+
OrgMembersResponseSchema2 = objectType({
|
|
591591
|
+
members: arrayType(
|
|
591592
|
+
objectType({
|
|
591593
|
+
name: stringType(),
|
|
591594
|
+
email: stringType(),
|
|
591595
|
+
roles: arrayType(stringType())
|
|
591596
|
+
})
|
|
591597
|
+
),
|
|
591598
|
+
count: numberType()
|
|
591599
|
+
});
|
|
591600
|
+
SiteGitRepositorySchema2 = objectType({
|
|
591601
|
+
gitUrl: stringType(),
|
|
591602
|
+
provider: enumType(["github", "gitlab", "other"]),
|
|
591603
|
+
/** `owner/repo` when the git url points at GitHub, else null. */
|
|
591604
|
+
githubRepository: stringType().nullable(),
|
|
591605
|
+
branch: stringType().nullable()
|
|
591606
|
+
});
|
|
591607
|
+
SiteConfigResponseSchema2 = objectType({
|
|
591608
|
+
domain: stringType(),
|
|
591609
|
+
basepath: stringType().nullable(),
|
|
591610
|
+
status: stringType().nullable(),
|
|
591611
|
+
isPreview: booleanType(),
|
|
591612
|
+
/** The git repository connected to this docs site, when one exists. */
|
|
591613
|
+
gitRepository: SiteGitRepositorySchema2.nullable(),
|
|
591614
|
+
/** True when the queried domain is a customer-owned custom domain (not *.docs.buildwithfern.com). */
|
|
591615
|
+
isCustomDomain: booleanType(),
|
|
591616
|
+
/** Fern CLI version that published the current deployment, when known. */
|
|
591617
|
+
fernCliVersion: stringType().nullable(),
|
|
591618
|
+
/** Connected Postman collection id, when one exists. */
|
|
591619
|
+
postmanCollectionId: stringType().nullable()
|
|
591620
|
+
});
|
|
591621
|
+
SitePasswordProtectionSchema2 = objectType({
|
|
591622
|
+
enabled: booleanType(),
|
|
591623
|
+
/** Number of configured passwords. Passwords themselves are never returned. */
|
|
591624
|
+
passwordCount: numberType()
|
|
591625
|
+
});
|
|
591626
|
+
SiteSettingsResponseSchema2 = objectType({
|
|
591627
|
+
domain: stringType(),
|
|
591628
|
+
basepath: stringType().nullable(),
|
|
591629
|
+
/** Default basepath route for multi-basepath domains, when configured. */
|
|
591630
|
+
defaultBasepath: stringType().nullable(),
|
|
591631
|
+
/** Basepaths routed on this domain, when configured. */
|
|
591632
|
+
basepaths: arrayType(stringType()).nullable(),
|
|
591633
|
+
searchBehavior: enumType(["hierarchical", "unified"]).nullable(),
|
|
591634
|
+
passwordProtection: SitePasswordProtectionSchema2
|
|
591635
|
+
});
|
|
591636
|
+
dashboardAgentContract2 = {
|
|
591637
|
+
getTrafficSummary: oc.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema2).output(TrafficSummaryResponseSchema2),
|
|
591638
|
+
getTopPages: oc.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema2).output(TopPagesResponseSchema2),
|
|
591639
|
+
get404Pages: oc.route({ method: "POST", path: "/get-404-pages" }).input(DashboardAnalyticsCommonInputSchema2).output(Pages404ResponseSchema2),
|
|
591640
|
+
getReferringDomains: oc.route({ method: "POST", path: "/get-referring-domains" }).input(DashboardAnalyticsCommonInputSchema2).output(ReferringDomainsResponseSchema2),
|
|
591641
|
+
getLlmBotTraffic: oc.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema2).output(LlmBotTrafficResponseSchema2),
|
|
591642
|
+
getRecentFeedback: oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema2).output(RecentFeedbackResponseSchema2),
|
|
591643
|
+
queryAnalytics: oc.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema2).output(QueryAnalyticsResponseSchema2),
|
|
591644
|
+
listOrgDocDomains: oc.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema2).output(OrgDocDomainsResponseSchema2),
|
|
591645
|
+
listOrgMembers: oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema2).output(OrgMembersResponseSchema2),
|
|
591646
|
+
getSiteConfig: oc.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema2).output(SiteConfigResponseSchema2),
|
|
591647
|
+
authorizeDocsEdit: oc.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema2).output(AuthorizeDocsEditResponseSchema2),
|
|
591648
|
+
getSiteSettings: oc.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema2).output(SiteSettingsResponseSchema2)
|
|
591649
|
+
};
|
|
590608
591650
|
FileIdSchema22 = stringType();
|
|
590609
591651
|
PageIdSchema22 = stringType();
|
|
590610
591652
|
UrlSchema22 = stringType();
|
|
@@ -590771,7 +591813,8 @@ var init_orpc_client = __esm({
|
|
|
590771
591813
|
hideNavLinks: booleanType().optional(),
|
|
590772
591814
|
hideFeedback: booleanType().optional(),
|
|
590773
591815
|
mobileToc: booleanType().optional(),
|
|
590774
|
-
changelogLayout: ChangelogLayoutSchema2.optional()
|
|
591816
|
+
changelogLayout: ChangelogLayoutSchema2.optional(),
|
|
591817
|
+
showNavAvailabilityBadges: booleanType().optional()
|
|
590775
591818
|
});
|
|
590776
591819
|
FooterNavConfigSchema2 = enumType(["default", "minimal"]);
|
|
590777
591820
|
DocsSidebarConfigSchema2 = enumType(["default", "minimal"]);
|
|
@@ -590811,7 +591854,13 @@ var init_orpc_client = __esm({
|
|
|
590811
591854
|
HttpSnippetsConfigSchema2 = unionType([booleanType(), arrayType(HttpSnippetLanguageSchema2)]);
|
|
590812
591855
|
SearchSettingsConfigSchema2 = objectType({
|
|
590813
591856
|
prioritizeCurrentProduct: booleanType().optional(),
|
|
590814
|
-
defaultFilterByCurrentProduct: booleanType().optional()
|
|
591857
|
+
defaultFilterByCurrentProduct: booleanType().optional(),
|
|
591858
|
+
/**
|
|
591859
|
+
* Experimental: absolute URLs of external sitemaps to index alongside this
|
|
591860
|
+
* site's docs content. Their pages are tagged to the same domain but flagged
|
|
591861
|
+
* as third-party so they rank below all first-party documentation in search.
|
|
591862
|
+
*/
|
|
591863
|
+
externalSitemaps: arrayType(stringType()).optional()
|
|
590815
591864
|
});
|
|
590816
591865
|
DocsSettingsConfigSchema3 = objectType({
|
|
590817
591866
|
searchText: stringType().optional(),
|
|
@@ -592205,6 +593254,13 @@ var init_orpc_client = __esm({
|
|
|
592205
593254
|
);
|
|
592206
593255
|
LinkTargetSchema22 = enumType(["_blank", "_self", "_parent", "_top"]);
|
|
592207
593256
|
CollapsedSchema2 = unionType([booleanType(), literalType("open-by-default")]);
|
|
593257
|
+
PlaygroundSettingsSchema3 = objectType({
|
|
593258
|
+
hidden: booleanType().optional(),
|
|
593259
|
+
environments: arrayType(stringType()).optional(),
|
|
593260
|
+
button: objectType({ href: stringType().optional() }).optional(),
|
|
593261
|
+
"limit-websocket-messages-per-connection": numberType().optional(),
|
|
593262
|
+
"send-optional-defaults": booleanType().optional()
|
|
593263
|
+
});
|
|
592208
593264
|
LedgerAvailabilitySchema2 = unionType([
|
|
592209
593265
|
AvailabilitySchema5,
|
|
592210
593266
|
enumType([
|
|
@@ -592246,7 +593302,8 @@ var init_orpc_client = __esm({
|
|
|
592246
593302
|
ApiNodeMetadataFields2 = {
|
|
592247
593303
|
...NodeMetadataFields2,
|
|
592248
593304
|
apiDefinitionId: stringType(),
|
|
592249
|
-
availability: LedgerAvailabilitySchema2.optional()
|
|
593305
|
+
availability: LedgerAvailabilitySchema2.optional(),
|
|
593306
|
+
playground: PlaygroundSettingsSchema3.optional()
|
|
592250
593307
|
};
|
|
592251
593308
|
LedgerSegmentDetailMetadataObjectSchema2 = LedgerMetadataBaseSchema2.extend({
|
|
592252
593309
|
slug: stringType().optional(),
|
|
@@ -592296,7 +593353,8 @@ var init_orpc_client = __esm({
|
|
|
592296
593353
|
hideTitle: booleanType().optional(),
|
|
592297
593354
|
viewers: MetadataStringArraySchema2.optional(),
|
|
592298
593355
|
orphaned: booleanType().optional(),
|
|
592299
|
-
featureFlags: FeatureFlagMetadataSchema2.optional()
|
|
593356
|
+
featureFlags: FeatureFlagMetadataSchema2.optional(),
|
|
593357
|
+
playground: PlaygroundSettingsSchema3.optional()
|
|
592300
593358
|
}),
|
|
592301
593359
|
LedgerMetadataBaseSchema2.extend({
|
|
592302
593360
|
type: literalType("apiPackage"),
|
|
@@ -592310,7 +593368,8 @@ var init_orpc_client = __esm({
|
|
|
592310
593368
|
pointsTo: stringType().optional(),
|
|
592311
593369
|
viewers: MetadataStringArraySchema2.optional(),
|
|
592312
593370
|
orphaned: booleanType().optional(),
|
|
592313
|
-
featureFlags: FeatureFlagMetadataSchema2.optional()
|
|
593371
|
+
featureFlags: FeatureFlagMetadataSchema2.optional(),
|
|
593372
|
+
playground: PlaygroundSettingsSchema3.optional()
|
|
592314
593373
|
}),
|
|
592315
593374
|
LedgerMetadataBaseSchema2.extend({
|
|
592316
593375
|
type: literalType("changelog"),
|
|
@@ -593892,6 +594951,19 @@ var init_orpc_client = __esm({
|
|
|
593892
594951
|
*/
|
|
593893
594952
|
getFile: oc.route({ method: "GET", path: "/" }).output(FileResponseSchema)
|
|
593894
594953
|
};
|
|
594954
|
+
SEMVER_RE = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z-.]+)?(?:\+[0-9A-Za-z-.]+)?$/;
|
|
594955
|
+
UpsertOrgConfigBodySchema = objectType({
|
|
594956
|
+
// A semver string sets the bound; `null` clears it; omitting leaves it unchanged.
|
|
594957
|
+
cliVersionMin: unionType([stringType().regex(SEMVER_RE, "cliVersionMin must be a valid semver (e.g. 5.45.0)"), nullType()]).optional(),
|
|
594958
|
+
cliVersionMax: unionType([stringType().regex(SEMVER_RE, "cliVersionMax must be a valid semver (e.g. 5.45.0)"), nullType()]).optional()
|
|
594959
|
+
});
|
|
594960
|
+
OrgConfigResponseSchema = objectType({
|
|
594961
|
+
orgId: stringType(),
|
|
594962
|
+
cliVersionMin: stringType().optional(),
|
|
594963
|
+
cliVersionMax: stringType().optional(),
|
|
594964
|
+
// Absent when no config has been stored for the org yet.
|
|
594965
|
+
updatedAt: stringType().optional()
|
|
594966
|
+
});
|
|
593895
594967
|
FERN_FILE_REF_KEY = "hash";
|
|
593896
594968
|
SHA256_RE = /^[0-9a-f]{64}$/;
|
|
593897
594969
|
THEME_NAME_RE = /^[a-zA-Z0-9_-]{1,64}$/;
|
|
@@ -682095,6 +683167,17 @@ var ValidOauthRule = {
|
|
|
682095
683167
|
rootApiFile: {
|
|
682096
683168
|
oauth: ({ name: name2, oauth }, { relativeFilepath }) => {
|
|
682097
683169
|
const violations = [];
|
|
683170
|
+
if (oauth.type === "authorization-code" || oauth.type === "device-code") {
|
|
683171
|
+
return validatePublicClientFlow(oauth);
|
|
683172
|
+
}
|
|
683173
|
+
if (oauth["get-token"] == null) {
|
|
683174
|
+
return [
|
|
683175
|
+
{
|
|
683176
|
+
severity: "fatal",
|
|
683177
|
+
message: "OAuth client-credentials flow requires a `get-token` endpoint."
|
|
683178
|
+
}
|
|
683179
|
+
];
|
|
683180
|
+
}
|
|
682098
683181
|
const tokenEndpointReference = oauth["get-token"].endpoint;
|
|
682099
683182
|
const resolvedTokenEndpoint = endpointResolver.resolveEndpoint({
|
|
682100
683183
|
endpoint: tokenEndpointReference,
|
|
@@ -682141,6 +683224,92 @@ var ValidOauthRule = {
|
|
|
682141
683224
|
};
|
|
682142
683225
|
}
|
|
682143
683226
|
};
|
|
683227
|
+
function validatePublicClientFlow(oauth) {
|
|
683228
|
+
const violations = [];
|
|
683229
|
+
const hasLiteralClientId = oauth["client-id"] != null;
|
|
683230
|
+
const hasEnvClientId = oauth["client-id-env"] != null;
|
|
683231
|
+
if (!hasLiteralClientId && !hasEnvClientId) {
|
|
683232
|
+
violations.push({
|
|
683233
|
+
severity: "fatal",
|
|
683234
|
+
message: `OAuth ${oauth.type} flow requires a public client ID: set \`client-id\`.`
|
|
683235
|
+
});
|
|
683236
|
+
} else if (!hasLiteralClientId && hasEnvClientId) {
|
|
683237
|
+
violations.push({
|
|
683238
|
+
severity: "fatal",
|
|
683239
|
+
message: `OAuth ${oauth.type} flow does not support an environment-variable client ID (\`client-id-env\`) yet; set a literal \`client-id\` instead (public client IDs are not secret).`
|
|
683240
|
+
});
|
|
683241
|
+
}
|
|
683242
|
+
const requireUrl = (field5) => {
|
|
683243
|
+
if (oauth[field5] == null) {
|
|
683244
|
+
violations.push({
|
|
683245
|
+
severity: "fatal",
|
|
683246
|
+
message: `OAuth ${oauth.type} flow requires \`${field5}\`.`
|
|
683247
|
+
});
|
|
683248
|
+
}
|
|
683249
|
+
};
|
|
683250
|
+
requireUrl("token-url");
|
|
683251
|
+
if (oauth.type === "authorization-code") {
|
|
683252
|
+
requireUrl("authorization-url");
|
|
683253
|
+
} else {
|
|
683254
|
+
requireUrl("device-authorization-url");
|
|
683255
|
+
}
|
|
683256
|
+
if (oauth.type === "authorization-code") {
|
|
683257
|
+
const pkceMethod = oauth.pkce?.method;
|
|
683258
|
+
if (pkceMethod != null && pkceMethod !== "S256") {
|
|
683259
|
+
violations.push({
|
|
683260
|
+
severity: "fatal",
|
|
683261
|
+
message: `OAuth PKCE method '${pkceMethod}' is not supported; only 'S256' is allowed.`
|
|
683262
|
+
});
|
|
683263
|
+
}
|
|
683264
|
+
const redirectUri = oauth["redirect-uri"];
|
|
683265
|
+
if (redirectUri != null) {
|
|
683266
|
+
const url3 = typeof redirectUri === "string" ? redirectUri : redirectUri.url;
|
|
683267
|
+
const urlError = validateRedirectUri(url3);
|
|
683268
|
+
if (urlError != null) {
|
|
683269
|
+
violations.push({ severity: "fatal", message: urlError });
|
|
683270
|
+
}
|
|
683271
|
+
if (typeof redirectUri !== "string") {
|
|
683272
|
+
for (const port of redirectUri.ports ?? []) {
|
|
683273
|
+
if (!Number.isInteger(port) || port < 1 || port > 65535) {
|
|
683274
|
+
violations.push({
|
|
683275
|
+
severity: "fatal",
|
|
683276
|
+
message: `OAuth redirect-uri backup port '${port}' is invalid; ports must be integers in 1\u201365535.`
|
|
683277
|
+
});
|
|
683278
|
+
}
|
|
683279
|
+
}
|
|
683280
|
+
}
|
|
683281
|
+
}
|
|
683282
|
+
} else {
|
|
683283
|
+
if (oauth["redirect-uri"] != null) {
|
|
683284
|
+
violations.push({
|
|
683285
|
+
severity: "fatal",
|
|
683286
|
+
message: "OAuth device-code flow has no browser callback; remove `redirect-uri` (it applies only to the authorization-code flow)."
|
|
683287
|
+
});
|
|
683288
|
+
}
|
|
683289
|
+
if (oauth.pkce != null) {
|
|
683290
|
+
violations.push({
|
|
683291
|
+
severity: "fatal",
|
|
683292
|
+
message: "OAuth device-code flow does not use PKCE; remove `pkce` (it applies only to the authorization-code flow)."
|
|
683293
|
+
});
|
|
683294
|
+
}
|
|
683295
|
+
}
|
|
683296
|
+
return violations;
|
|
683297
|
+
}
|
|
683298
|
+
function validateRedirectUri(redirectUri) {
|
|
683299
|
+
let parsed;
|
|
683300
|
+
try {
|
|
683301
|
+
parsed = new URL(redirectUri);
|
|
683302
|
+
} catch {
|
|
683303
|
+
return `OAuth redirect-uri '${redirectUri}' is not a valid URL. Use http://127.0.0.1:<port>/callback (or http://localhost:<port>/...), or omit it for an ephemeral port.`;
|
|
683304
|
+
}
|
|
683305
|
+
if (parsed.protocol !== "http:" || parsed.hostname !== "127.0.0.1" && parsed.hostname !== "localhost") {
|
|
683306
|
+
return `OAuth redirect-uri '${redirectUri}' must use a loopback host over http (127.0.0.1 or localhost) \u2014 it must match the redirect URI registered with the authorization server. Use e.g. http://127.0.0.1:8484/callback.`;
|
|
683307
|
+
}
|
|
683308
|
+
if (parsed.port === "") {
|
|
683309
|
+
return `OAuth redirect-uri '${redirectUri}' must include a port to pin (e.g. http://127.0.0.1:8484/callback), or omit redirect-uri entirely to use an ephemeral port.`;
|
|
683310
|
+
}
|
|
683311
|
+
return void 0;
|
|
683312
|
+
}
|
|
682144
683313
|
|
|
682145
683314
|
// ../fern-definition/validator/lib/rules/valid-pagination/valid-pagination.js
|
|
682146
683315
|
init_lib22();
|
|
@@ -685089,7 +686258,7 @@ __export(schemas_exports13, {
|
|
|
685089
686258
|
PageActionsConfigSchema: () => PageActionsConfigSchema2,
|
|
685090
686259
|
PageConfigurationSchema: () => PageConfigurationSchema,
|
|
685091
686260
|
PathParameterOrderSchema: () => PathParameterOrderSchema,
|
|
685092
|
-
PlaygroundSettingsSchema: () =>
|
|
686261
|
+
PlaygroundSettingsSchema: () => PlaygroundSettingsSchema2,
|
|
685093
686262
|
ProductConfigSchema: () => ProductConfigSchema,
|
|
685094
686263
|
ProtobufDefinitionSchema: () => ProtobufDefinitionSchema2,
|
|
685095
686264
|
ProtobufSettingsSchema: () => ProtobufSettingsSchema,
|
|
@@ -685149,7 +686318,7 @@ var TabConfigSchema = S4.TabConfig;
|
|
|
685149
686318
|
var VersionConfigSchema = S4.VersionConfig;
|
|
685150
686319
|
var ProductConfigSchema = S4.ProductConfig;
|
|
685151
686320
|
var SnippetsConfigurationSchema = S4.SnippetsConfiguration;
|
|
685152
|
-
var
|
|
686321
|
+
var PlaygroundSettingsSchema2 = S4.PlaygroundSettings;
|
|
685153
686322
|
var LogoConfigurationSchema2 = S4.LogoConfiguration;
|
|
685154
686323
|
var BackgroundImageConfigurationSchema = S4.BackgroundImageConfiguration;
|
|
685155
686324
|
var ColorsConfigurationSchema = S4.ColorsConfiguration;
|
|
@@ -693142,7 +694311,7 @@ var AccessTokenPosthogManager = class {
|
|
|
693142
694311
|
properties: {
|
|
693143
694312
|
...event,
|
|
693144
694313
|
...event.properties,
|
|
693145
|
-
version: "5.
|
|
694314
|
+
version: "5.88.0",
|
|
693146
694315
|
usingAccessToken: true,
|
|
693147
694316
|
...getRunIdProperties()
|
|
693148
694317
|
}
|
|
@@ -693208,7 +694377,7 @@ var UserPosthogManager = class {
|
|
|
693208
694377
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
693209
694378
|
event: "CLI",
|
|
693210
694379
|
properties: {
|
|
693211
|
-
version: "5.
|
|
694380
|
+
version: "5.88.0",
|
|
693212
694381
|
...event,
|
|
693213
694382
|
...event.properties,
|
|
693214
694383
|
usingAccessToken: false,
|
|
@@ -842137,6 +843306,17 @@ var definitions4 = {
|
|
|
842137
843306
|
}
|
|
842138
843307
|
],
|
|
842139
843308
|
description: "The maximum number of websocket messages per connection in the playground."
|
|
843309
|
+
},
|
|
843310
|
+
"send-optional-defaults": {
|
|
843311
|
+
oneOf: [
|
|
843312
|
+
{
|
|
843313
|
+
type: "boolean"
|
|
843314
|
+
},
|
|
843315
|
+
{
|
|
843316
|
+
type: "null"
|
|
843317
|
+
}
|
|
843318
|
+
],
|
|
843319
|
+
description: "When true, optional parameters that declare a default (or x-fern-default) are\npre-filled and sent from the API Explorer playground. Defaults to false."
|
|
842140
843320
|
}
|
|
842141
843321
|
},
|
|
842142
843322
|
additionalProperties: false
|
|
@@ -844268,6 +845448,17 @@ var definitions5 = {
|
|
|
844268
845448
|
}
|
|
844269
845449
|
],
|
|
844270
845450
|
description: "The maximum number of websocket messages per connection in the playground."
|
|
845451
|
+
},
|
|
845452
|
+
"send-optional-defaults": {
|
|
845453
|
+
oneOf: [
|
|
845454
|
+
{
|
|
845455
|
+
type: "boolean"
|
|
845456
|
+
},
|
|
845457
|
+
{
|
|
845458
|
+
type: "null"
|
|
845459
|
+
}
|
|
845460
|
+
],
|
|
845461
|
+
description: "When true, optional parameters that declare a default (or x-fern-default) are\npre-filled and sent from the API Explorer playground. Defaults to false."
|
|
844271
845462
|
}
|
|
844272
845463
|
},
|
|
844273
845464
|
additionalProperties: false
|
|
@@ -874316,7 +875507,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
874316
875507
|
var LOGS_FOLDER_NAME = "logs";
|
|
874317
875508
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
874318
875509
|
function getCliSource() {
|
|
874319
|
-
const version7 = "5.
|
|
875510
|
+
const version7 = "5.88.0";
|
|
874320
875511
|
return `cli@${version7}`;
|
|
874321
875512
|
}
|
|
874322
875513
|
var DebugLogger = class {
|
|
@@ -898359,6 +899550,17 @@ var definitions6 = {
|
|
|
898359
899550
|
}
|
|
898360
899551
|
],
|
|
898361
899552
|
description: "The maximum number of websocket messages per connection in the playground."
|
|
899553
|
+
},
|
|
899554
|
+
"send-optional-defaults": {
|
|
899555
|
+
oneOf: [
|
|
899556
|
+
{
|
|
899557
|
+
type: "boolean"
|
|
899558
|
+
},
|
|
899559
|
+
{
|
|
899560
|
+
type: "null"
|
|
899561
|
+
}
|
|
899562
|
+
],
|
|
899563
|
+
description: "When true, optional parameters that declare a default (or x-fern-default) are\npre-filled and sent from the API Explorer playground. Defaults to false."
|
|
898362
899564
|
}
|
|
898363
899565
|
},
|
|
898364
899566
|
additionalProperties: false
|
|
@@ -907015,7 +908217,7 @@ var LegacyDocsPublisher = class {
|
|
|
907015
908217
|
previewId,
|
|
907016
908218
|
disableTemplates: void 0,
|
|
907017
908219
|
skipUpload,
|
|
907018
|
-
cliVersion: "5.
|
|
908220
|
+
cliVersion: "5.88.0",
|
|
907019
908221
|
loginCommand: "fern auth login"
|
|
907020
908222
|
});
|
|
907021
908223
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -973890,7 +975092,7 @@ function getAutomationContextFromEnv() {
|
|
|
973890
975092
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
973891
975093
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
973892
975094
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
973893
|
-
cli_version: "5.
|
|
975095
|
+
cli_version: "5.88.0"
|
|
973894
975096
|
};
|
|
973895
975097
|
}
|
|
973896
975098
|
function isAutomationMode() {
|
|
@@ -974722,7 +975924,7 @@ var CliContext = class _CliContext {
|
|
|
974722
975924
|
if (false) {
|
|
974723
975925
|
this.logger.error("CLI_VERSION is not defined");
|
|
974724
975926
|
}
|
|
974725
|
-
return "5.
|
|
975927
|
+
return "5.88.0";
|
|
974726
975928
|
}
|
|
974727
975929
|
getCliName() {
|
|
974728
975930
|
if (false) {
|