@fern-api/fern-api-dev 5.23.3-1730-gda1e9bcceb3 → 5.23.3-1734-ga2795924dea
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 +1417 -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,
|
|
@@ -130521,6 +130751,7 @@ var init_OpenApiSettingsSchema2 = __esm({
|
|
|
130521
130751
|
"additional-properties-defaults-to": schemas_exports8.boolean().optional(),
|
|
130522
130752
|
"type-dates-as-strings": schemas_exports8.boolean().optional(),
|
|
130523
130753
|
"preserve-single-schema-oneof": schemas_exports8.boolean().optional(),
|
|
130754
|
+
"preserve-one-of-in-all-of": schemas_exports8.boolean().optional(),
|
|
130524
130755
|
"inline-all-of-schemas": schemas_exports8.boolean().optional(),
|
|
130525
130756
|
"resolve-aliases": ResolveAliases.optional(),
|
|
130526
130757
|
"group-multi-api-environments": schemas_exports8.boolean().optional(),
|
|
@@ -152350,6 +152581,7 @@ var init_options2 = __esm({
|
|
|
152350
152581
|
additionalPropertiesDefaultsTo: false,
|
|
152351
152582
|
typeDatesAsStrings: false,
|
|
152352
152583
|
preserveSingleSchemaOneOf: false,
|
|
152584
|
+
preserveOneOfInAllOf: false,
|
|
152353
152585
|
inlineAllOfSchemas: false,
|
|
152354
152586
|
resolveAliases: false,
|
|
152355
152587
|
groupMultiApiEnvironments: false,
|
|
@@ -199499,6 +199731,7 @@ var init_getAPIDefinitionSettings = __esm({
|
|
|
199499
199731
|
additionalPropertiesDefaultsTo: "additionalPropertiesDefaultsTo",
|
|
199500
199732
|
typeDatesAsStrings: "typeDatesAsStrings",
|
|
199501
199733
|
preserveSingleSchemaOneOf: "preserveSingleSchemaOneOf",
|
|
199734
|
+
preserveOneOfInAllOf: "preserveOneOfInAllOf",
|
|
199502
199735
|
inlineAllOfSchemas: "inlineAllOfSchemas",
|
|
199503
199736
|
resolveAliases: "resolveAliases",
|
|
199504
199737
|
groupMultiApiEnvironments: "groupMultiApiEnvironments",
|
|
@@ -213621,7 +213854,7 @@ var init_esm18 = __esm({
|
|
|
213621
213854
|
}
|
|
213622
213855
|
});
|
|
213623
213856
|
|
|
213624
|
-
// ../../../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
|
|
213625
213858
|
function assertNever3(x4) {
|
|
213626
213859
|
throw new Error("Unexpected value: " + JSON.stringify(x4));
|
|
213627
213860
|
}
|
|
@@ -213915,16 +214148,16 @@ function selectDefaultValue(shape, defaults3) {
|
|
|
213915
214148
|
return void 0;
|
|
213916
214149
|
}
|
|
213917
214150
|
}
|
|
213918
|
-
function unwrapObjectType(
|
|
213919
|
-
const cached2 = UnwrapObjectTypeCache.get(
|
|
214151
|
+
function unwrapObjectType(object33, types4, parentVisitedTypeIds) {
|
|
214152
|
+
const cached2 = UnwrapObjectTypeCache.get(object33);
|
|
213920
214153
|
if (cached2 != null) {
|
|
213921
214154
|
return cached2;
|
|
213922
214155
|
}
|
|
213923
|
-
const directProperties =
|
|
213924
|
-
const extraProperties =
|
|
214156
|
+
const directProperties = object33.properties;
|
|
214157
|
+
const extraProperties = object33.extraProperties;
|
|
213925
214158
|
const descriptions = [];
|
|
213926
214159
|
const visitedTypeIds = /* @__PURE__ */ new Set();
|
|
213927
|
-
const extendedProperties =
|
|
214160
|
+
const extendedProperties = object33.extends.flatMap((typeId) => {
|
|
213928
214161
|
if (parentVisitedTypeIds?.has(typeId)) {
|
|
213929
214162
|
console.error(`Circular reference detected. Cannot extend type=${typeId}`);
|
|
213930
214163
|
return [];
|
|
@@ -213985,10 +214218,10 @@ function unwrapObjectType(object32, types4, parentVisitedTypeIds) {
|
|
|
213985
214218
|
extraProperties,
|
|
213986
214219
|
visitedTypeIds
|
|
213987
214220
|
};
|
|
213988
|
-
UnwrapObjectTypeCache.set(
|
|
214221
|
+
UnwrapObjectTypeCache.set(object33, toRet2);
|
|
213989
214222
|
return toRet2;
|
|
213990
214223
|
}
|
|
213991
|
-
const propertyKeys = new Set(
|
|
214224
|
+
const propertyKeys = new Set(object33.properties.map((property24) => property24.key));
|
|
213992
214225
|
const seenExtendedKeys = /* @__PURE__ */ new Set();
|
|
213993
214226
|
const filteredExtendedProperties = extendedProperties.filter((extendedProperty) => {
|
|
213994
214227
|
if (propertyKeys.has(extendedProperty.key) || seenExtendedKeys.has(extendedProperty.key)) {
|
|
@@ -214006,15 +214239,15 @@ function unwrapObjectType(object32, types4, parentVisitedTypeIds) {
|
|
|
214006
214239
|
]
|
|
214007
214240
|
);
|
|
214008
214241
|
const toRet = { properties: properties7, descriptions, extraProperties, visitedTypeIds };
|
|
214009
|
-
UnwrapObjectTypeCache.set(
|
|
214242
|
+
UnwrapObjectTypeCache.set(object33, toRet);
|
|
214010
214243
|
return toRet;
|
|
214011
214244
|
}
|
|
214012
|
-
function unwrapDiscriminatedUnionVariant(
|
|
214245
|
+
function unwrapDiscriminatedUnionVariant(union122, variant, types4) {
|
|
214013
214246
|
const { properties: properties7, descriptions, visitedTypeIds } = unwrapObjectType(variant, types4);
|
|
214014
214247
|
return {
|
|
214015
214248
|
properties: [
|
|
214016
214249
|
{
|
|
214017
|
-
key:
|
|
214250
|
+
key: union122.discriminant,
|
|
214018
214251
|
valueShape: {
|
|
214019
214252
|
type: "alias",
|
|
214020
214253
|
value: {
|
|
@@ -215167,8 +215400,8 @@ function sortKeysByShape(obj, shape, types4) {
|
|
|
215167
215400
|
set: ({ itemShape }) => Array.isArray(obj) ? obj.map((o3) => sortKeysByShape(o3, itemShape, types4)) : obj,
|
|
215168
215401
|
map: ({ valueShape }) => isPlainObject_default2(obj) ? mapValues3(obj, (value2) => sortKeysByShape(value2, valueShape, types4)) : obj,
|
|
215169
215402
|
unknown: () => obj,
|
|
215170
|
-
object: (
|
|
215171
|
-
const objectProperties = unwrapObjectType(
|
|
215403
|
+
object: (object33) => {
|
|
215404
|
+
const objectProperties = unwrapObjectType(object33, types4).properties;
|
|
215172
215405
|
return isPlainObject_default2(obj) ? mapValues3(
|
|
215173
215406
|
sortKeysBy(
|
|
215174
215407
|
obj,
|
|
@@ -215185,8 +215418,8 @@ function sortKeysByShape(obj, shape, types4) {
|
|
|
215185
215418
|
},
|
|
215186
215419
|
undiscriminatedUnion: () => obj,
|
|
215187
215420
|
// TODO: match variant and sort nested objects
|
|
215188
|
-
discriminatedUnion: (
|
|
215189
|
-
const { discriminant: discriminant22, variants } =
|
|
215421
|
+
discriminatedUnion: (union122) => {
|
|
215422
|
+
const { discriminant: discriminant22, variants } = union122;
|
|
215190
215423
|
if (!isPlainObject_default2(obj)) {
|
|
215191
215424
|
return obj;
|
|
215192
215425
|
}
|
|
@@ -215198,7 +215431,7 @@ function sortKeysByShape(obj, shape, types4) {
|
|
|
215198
215431
|
if (variantShape == null) {
|
|
215199
215432
|
return obj;
|
|
215200
215433
|
}
|
|
215201
|
-
const variantProperties = unwrapDiscriminatedUnionVariant(
|
|
215434
|
+
const variantProperties = unwrapDiscriminatedUnionVariant(union122, variantShape, types4).properties;
|
|
215202
215435
|
return mapValues3(sortKeysBy(obj, [discriminant22, ...variantProperties.map((p6) => p6.key)]), (value2, key2) => {
|
|
215203
215436
|
if (key2 === discriminant22) {
|
|
215204
215437
|
return value2;
|
|
@@ -216354,6 +216587,17 @@ function createDashboardClient(options2) {
|
|
|
216354
216587
|
});
|
|
216355
216588
|
return createORPCClient(link3);
|
|
216356
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
|
+
}
|
|
216357
216601
|
function FileId2(value2) {
|
|
216358
216602
|
return value2;
|
|
216359
216603
|
}
|
|
@@ -216654,6 +216898,7 @@ function createFdrORPCClient(options2) {
|
|
|
216654
216898
|
return {
|
|
216655
216899
|
api: createApiClient(normalizedOptions),
|
|
216656
216900
|
dashboard: createDashboardClient(normalizedOptions),
|
|
216901
|
+
dashboardAgent: createDashboardAgentClient(normalizedOptions),
|
|
216657
216902
|
docs: createDocsClient(normalizedOptions),
|
|
216658
216903
|
docsCache: createDocsCacheClient(normalizedOptions),
|
|
216659
216904
|
docsDeployment: createDocsDeploymentClient(normalizedOptions),
|
|
@@ -216941,9 +217186,9 @@ function generateHttpResponseBodyExample(type7, resolveTypeById) {
|
|
|
216941
217186
|
}
|
|
216942
217187
|
}
|
|
216943
217188
|
}
|
|
216944
|
-
function generateExampleObject(
|
|
217189
|
+
function generateExampleObject(object33, resolveTypeById, ignoreOptionals, visited, depth) {
|
|
216945
217190
|
const example = {};
|
|
216946
|
-
for (const property24 of getAllObjectProperties(
|
|
217191
|
+
for (const property24 of getAllObjectProperties(object33, resolveTypeById)) {
|
|
216947
217192
|
const value2 = generateExampleFromTypeReference(
|
|
216948
217193
|
property24.valueType,
|
|
216949
217194
|
resolveTypeById,
|
|
@@ -217127,10 +217372,10 @@ function generateExamplePrimitive(reference4) {
|
|
|
217127
217372
|
return reference4.name;
|
|
217128
217373
|
}
|
|
217129
217374
|
}
|
|
217130
|
-
function getAllObjectProperties(
|
|
217375
|
+
function getAllObjectProperties(object33, resolveTypeById) {
|
|
217131
217376
|
return [
|
|
217132
|
-
...
|
|
217133
|
-
...
|
|
217377
|
+
...object33.properties,
|
|
217378
|
+
...object33.extends.flatMap((typeId) => {
|
|
217134
217379
|
let type7 = resolveTypeById(typeId);
|
|
217135
217380
|
if (type7 == null) {
|
|
217136
217381
|
return [];
|
|
@@ -219679,6 +219924,36 @@ function createBreadcrumb(nodes) {
|
|
|
219679
219924
|
});
|
|
219680
219925
|
return breadcrumb.filter((item) => item.title.trim().length > 0);
|
|
219681
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
|
+
}
|
|
219682
219957
|
function findNode(root6, slug) {
|
|
219683
219958
|
const collector = NodeCollector.collect(root6);
|
|
219684
219959
|
const found = collector.getSlugMapWithParents().get(canonicalSlugKey(slug));
|
|
@@ -219712,7 +219987,6 @@ function findNode(root6, slug) {
|
|
|
219712
219987
|
const currentProduct = found.parents.find(isProductNode);
|
|
219713
219988
|
const currentVersion = found.parents.find(isVersionNode);
|
|
219714
219989
|
const unversionedNode = found.parents.find(isUnversionedNode);
|
|
219715
|
-
const versionChild = (currentVersion ?? unversionedNode)?.child;
|
|
219716
219990
|
const currentVariant = found.parents.find(isVariantNode);
|
|
219717
219991
|
if (!sidebar && currentVersion != null) {
|
|
219718
219992
|
if (isSidebarRootNode(currentVersion.child)) {
|
|
@@ -219720,13 +219994,9 @@ function findNode(root6, slug) {
|
|
|
219720
219994
|
}
|
|
219721
219995
|
}
|
|
219722
219996
|
const landingPage = (currentProductGroup ?? currentVersion ?? unversionedNode)?.landingPage;
|
|
219723
|
-
const tabbedNode = found.parents
|
|
219724
|
-
(versionChild != null && isTabbedNode(versionChild) ? versionChild : void 0);
|
|
219997
|
+
const tabbedNode = getEnclosingTabbedNode(found.parents);
|
|
219725
219998
|
const apiReference = found.parents.find(isApiReferenceNode) ?? (found.node.type === "apiReference" ? found.node : void 0);
|
|
219726
219999
|
if (navigation_exports.isPage(found.node)) {
|
|
219727
|
-
const parentsAndNode = [...found.parents, found.node];
|
|
219728
|
-
const tabbedNodeIndex = parentsAndNode.findIndex((node4) => node4 === tabbedNode);
|
|
219729
|
-
const currentTabNode = tabbedNodeIndex !== -1 ? parentsAndNode[tabbedNodeIndex + 1] : void 0;
|
|
219730
220000
|
const products = collector.getProductNodes().map((node4) => {
|
|
219731
220001
|
if (node4.default) {
|
|
219732
220002
|
if (node4.id === currentProduct?.id) {
|
|
@@ -219754,25 +220024,7 @@ function findNode(root6, slug) {
|
|
|
219754
220024
|
}
|
|
219755
220025
|
return node4;
|
|
219756
220026
|
});
|
|
219757
|
-
|
|
219758
|
-
if (currentTab == null && tabbedNode != null) {
|
|
219759
|
-
for (const tab2 of tabbedNode.children) {
|
|
219760
|
-
if (tab2.type === "tab" && tab2.pointsTo === found.node.slug) {
|
|
219761
|
-
currentTab = tab2;
|
|
219762
|
-
break;
|
|
219763
|
-
}
|
|
219764
|
-
if (tab2.type === "changelog" && tab2.slug === found.node.slug) {
|
|
219765
|
-
currentTab = tab2;
|
|
219766
|
-
break;
|
|
219767
|
-
}
|
|
219768
|
-
}
|
|
219769
|
-
if (currentTab == null && found.node.type === "landingPage") {
|
|
219770
|
-
const firstTab = tabbedNode.children.find((tab2) => tab2.type === "tab" || tab2.type === "changelog");
|
|
219771
|
-
if (firstTab != null && (firstTab.type === "tab" || firstTab.type === "changelog")) {
|
|
219772
|
-
currentTab = firstTab;
|
|
219773
|
-
}
|
|
219774
|
-
}
|
|
219775
|
-
}
|
|
220027
|
+
const currentTab = resolveCurrentTab(found.node, found.parents);
|
|
219776
220028
|
const slugPrefix = currentVariant?.slug ?? (currentProduct?.type === "product" ? currentProduct.slug : void 0) ?? currentVersion?.slug ?? root6.slug;
|
|
219777
220029
|
const unversionedSlug = navigation_exports.Slug(
|
|
219778
220030
|
found.node.slug.replace(new RegExp(`^${escapeRegExp(slugPrefix)}/`), "")
|
|
@@ -220122,9 +220374,9 @@ function mutableDeleteChild(parent, node4) {
|
|
|
220122
220374
|
return "should-delete-parent";
|
|
220123
220375
|
}
|
|
220124
220376
|
}
|
|
220125
|
-
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;
|
|
220126
220378
|
var init_js = __esm({
|
|
220127
|
-
"../../../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"() {
|
|
220128
220380
|
"use strict";
|
|
220129
220381
|
init_array();
|
|
220130
220382
|
init_zod2();
|
|
@@ -220158,6 +220410,10 @@ var init_js = __esm({
|
|
|
220158
220410
|
init_fetch3();
|
|
220159
220411
|
init_dist7();
|
|
220160
220412
|
init_zod2();
|
|
220413
|
+
init_dist5();
|
|
220414
|
+
init_fetch3();
|
|
220415
|
+
init_dist7();
|
|
220416
|
+
init_zod2();
|
|
220161
220417
|
init_zod2();
|
|
220162
220418
|
init_zod2();
|
|
220163
220419
|
init_zod2();
|
|
@@ -220618,8 +220874,8 @@ var init_js = __esm({
|
|
|
220618
220874
|
regex3 = new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${word}))|(${word}))(${word}*[\u2019']*${word}*)`, "g");
|
|
220619
220875
|
convertToRegExp = (specials2) => specials2.map((s5) => [new RegExp(`\\b${s5}\\b`, "gi"), s5]);
|
|
220620
220876
|
src_default = (str2, options2 = {}) => {
|
|
220621
|
-
str2 = str2.toLowerCase().replace(regex3, (m3, lead = "", forced, lower, rest, offset2,
|
|
220622
|
-
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;
|
|
220623
220879
|
const parsedMatch = parseMatch(m3);
|
|
220624
220880
|
if (!parsedMatch) {
|
|
220625
220881
|
return m3;
|
|
@@ -224626,6 +224882,213 @@ var init_js = __esm({
|
|
|
224626
224882
|
isDocsSiteInOrg: oc.route({ method: "POST", path: "/is-docs-site-in-org" }).input(IsDocsSiteInOrgInputSchema).output(IsDocsSiteInOrgResponseSchema),
|
|
224627
224883
|
deleteAllDocsSitesForOrg: oc.route({ method: "DELETE", path: "/{orgId}/docs" }).input(DeleteAllDocsSitesForOrgInputSchema).output(DeleteAllDocsSitesForOrgResponseSchema)
|
|
224628
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
|
+
};
|
|
224629
225092
|
FileIdSchema2 = stringType();
|
|
224630
225093
|
PageIdSchema2 = stringType();
|
|
224631
225094
|
UrlSchema2 = stringType();
|
|
@@ -224792,7 +225255,8 @@ var init_js = __esm({
|
|
|
224792
225255
|
hideNavLinks: booleanType().optional(),
|
|
224793
225256
|
hideFeedback: booleanType().optional(),
|
|
224794
225257
|
mobileToc: booleanType().optional(),
|
|
224795
|
-
changelogLayout: ChangelogLayoutSchema.optional()
|
|
225258
|
+
changelogLayout: ChangelogLayoutSchema.optional(),
|
|
225259
|
+
showNavAvailabilityBadges: booleanType().optional()
|
|
224796
225260
|
});
|
|
224797
225261
|
FooterNavConfigSchema = enumType(["default", "minimal"]);
|
|
224798
225262
|
DocsSidebarConfigSchema = enumType(["default", "minimal"]);
|
|
@@ -224832,7 +225296,13 @@ var init_js = __esm({
|
|
|
224832
225296
|
HttpSnippetsConfigSchema = unionType([booleanType(), arrayType(HttpSnippetLanguageSchema)]);
|
|
224833
225297
|
SearchSettingsConfigSchema = objectType({
|
|
224834
225298
|
prioritizeCurrentProduct: booleanType().optional(),
|
|
224835
|
-
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()
|
|
224836
225306
|
});
|
|
224837
225307
|
DocsSettingsConfigSchema = objectType({
|
|
224838
225308
|
searchText: stringType().optional(),
|
|
@@ -226272,6 +226742,13 @@ var init_js = __esm({
|
|
|
226272
226742
|
);
|
|
226273
226743
|
LinkTargetSchema2 = enumType(["_blank", "_self", "_parent", "_top"]);
|
|
226274
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
|
+
});
|
|
226275
226752
|
LedgerAvailabilitySchema = unionType([
|
|
226276
226753
|
AvailabilitySchema3,
|
|
226277
226754
|
enumType([
|
|
@@ -226313,7 +226790,8 @@ var init_js = __esm({
|
|
|
226313
226790
|
ApiNodeMetadataFields = {
|
|
226314
226791
|
...NodeMetadataFields,
|
|
226315
226792
|
apiDefinitionId: stringType(),
|
|
226316
|
-
availability: LedgerAvailabilitySchema.optional()
|
|
226793
|
+
availability: LedgerAvailabilitySchema.optional(),
|
|
226794
|
+
playground: PlaygroundSettingsSchema.optional()
|
|
226317
226795
|
};
|
|
226318
226796
|
LedgerSegmentDetailMetadataObjectSchema = LedgerMetadataBaseSchema.extend({
|
|
226319
226797
|
slug: stringType().optional(),
|
|
@@ -226363,7 +226841,8 @@ var init_js = __esm({
|
|
|
226363
226841
|
hideTitle: booleanType().optional(),
|
|
226364
226842
|
viewers: MetadataStringArraySchema.optional(),
|
|
226365
226843
|
orphaned: booleanType().optional(),
|
|
226366
|
-
featureFlags: FeatureFlagMetadataSchema.optional()
|
|
226844
|
+
featureFlags: FeatureFlagMetadataSchema.optional(),
|
|
226845
|
+
playground: PlaygroundSettingsSchema.optional()
|
|
226367
226846
|
}),
|
|
226368
226847
|
LedgerMetadataBaseSchema.extend({
|
|
226369
226848
|
type: literalType("apiPackage"),
|
|
@@ -226377,7 +226856,8 @@ var init_js = __esm({
|
|
|
226377
226856
|
pointsTo: stringType().optional(),
|
|
226378
226857
|
viewers: MetadataStringArraySchema.optional(),
|
|
226379
226858
|
orphaned: booleanType().optional(),
|
|
226380
|
-
featureFlags: FeatureFlagMetadataSchema.optional()
|
|
226859
|
+
featureFlags: FeatureFlagMetadataSchema.optional(),
|
|
226860
|
+
playground: PlaygroundSettingsSchema.optional()
|
|
226381
226861
|
}),
|
|
226382
226862
|
LedgerMetadataBaseSchema.extend({
|
|
226383
226863
|
type: literalType("changelog"),
|
|
@@ -232157,6 +232637,30 @@ var init_js = __esm({
|
|
|
232157
232637
|
getNodesInOrder = () => {
|
|
232158
232638
|
return this.nodesInOrder;
|
|
232159
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
|
+
});
|
|
232160
232664
|
};
|
|
232161
232665
|
MAX_CHANGELOG_ENTRIES_MINIMUM = 15;
|
|
232162
232666
|
CHANGELOG_RECENCY_MONTHS = 6;
|
|
@@ -233012,14 +233516,17 @@ var init_js = __esm({
|
|
|
233012
233516
|
createBreadcrumb: () => createBreadcrumb,
|
|
233013
233517
|
findNode: () => findNode,
|
|
233014
233518
|
getApiReferenceId: () => getApiReferenceId,
|
|
233519
|
+
getEnclosingTabbedNode: () => getEnclosingTabbedNode,
|
|
233015
233520
|
getNoIndexFromFrontmatter: () => getNoIndexFromFrontmatter,
|
|
233016
233521
|
mutableUpdatePointsTo: () => mutableUpdatePointsTo,
|
|
233522
|
+
resolveCurrentTab: () => resolveCurrentTab,
|
|
233017
233523
|
stripSyntheticSegments: () => stripSyntheticSegments,
|
|
233018
233524
|
toApis: () => toApis,
|
|
233019
233525
|
toPages: () => toPages,
|
|
233020
233526
|
toRootNode: () => toRootNode2,
|
|
233021
233527
|
toUnversionedSlug: () => toUnversionedSlug
|
|
233022
233528
|
});
|
|
233529
|
+
isHeaderTab = (child) => child.type === "tab" || child.type === "changelog";
|
|
233023
233530
|
RETURN_UNDEFINED3 = () => void 0;
|
|
233024
233531
|
RETURN_API_DEFINITION_ID = (node4) => node4.apiDefinitionId;
|
|
233025
233532
|
SKIP_URL_SLUG_PREFIX = "~";
|
|
@@ -261165,6 +261672,7 @@ function parseOpenApiDefinitionSettingsSchema(settings) {
|
|
|
261165
261672
|
additionalPropertiesDefaultsTo: settings?.["additional-properties-defaults-to"],
|
|
261166
261673
|
typeDatesAsStrings: settings?.["type-dates-as-strings"],
|
|
261167
261674
|
preserveSingleSchemaOneOf: settings?.["preserve-single-schema-oneof"],
|
|
261675
|
+
preserveOneOfInAllOf: settings?.["preserve-one-of-in-all-of"],
|
|
261168
261676
|
inlineAllOfSchemas: settings?.["inline-all-of-schemas"],
|
|
261169
261677
|
resolveAliases: settings?.["resolve-aliases"],
|
|
261170
261678
|
groupMultiApiEnvironments: settings?.["group-multi-api-environments"],
|
|
@@ -262023,6 +262531,7 @@ var init_convertGeneratorsConfiguration = __esm({
|
|
|
262023
262531
|
additionalPropertiesDefaultsTo: void 0,
|
|
262024
262532
|
typeDatesAsStrings: void 0,
|
|
262025
262533
|
preserveSingleSchemaOneOf: void 0,
|
|
262534
|
+
preserveOneOfInAllOf: void 0,
|
|
262026
262535
|
inlineAllOfSchemas: void 0,
|
|
262027
262536
|
resolveAliases: void 0,
|
|
262028
262537
|
groupMultiApiEnvironments: void 0,
|
|
@@ -274671,13 +275180,17 @@ var init_convertOAuthClientCredentials = __esm({
|
|
|
274671
275180
|
|
|
274672
275181
|
// ../generation/ir-generator/lib/converters/convertOAuthUtils.js
|
|
274673
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
|
+
}
|
|
274674
275187
|
return {
|
|
274675
|
-
endpoint:
|
|
275188
|
+
endpoint: getToken3.endpoint,
|
|
274676
275189
|
requestProperties: getTokenEndpointRequestProperties({
|
|
274677
|
-
requestProperties:
|
|
275190
|
+
requestProperties: getToken3["request-properties"]
|
|
274678
275191
|
}),
|
|
274679
275192
|
responseProperties: getTokenEndpointResponseProperties({
|
|
274680
|
-
responseProperties:
|
|
275193
|
+
responseProperties: getToken3["response-properties"]
|
|
274681
275194
|
})
|
|
274682
275195
|
};
|
|
274683
275196
|
}
|
|
@@ -274950,6 +275463,43 @@ function generateOAuth({ key: key2, file: file4, docs: docs2, rawScheme, propert
|
|
|
274950
275463
|
refreshTokenEndpoint: getRefreshTokenEndpoint(rawScheme)
|
|
274951
275464
|
}))
|
|
274952
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
|
+
});
|
|
274953
275503
|
default:
|
|
274954
275504
|
throw new CliError({
|
|
274955
275505
|
message: `Unknown OAuth type: '${rawScheme?.type}'`,
|
|
@@ -274957,6 +275507,35 @@ function generateOAuth({ key: key2, file: file4, docs: docs2, rawScheme, propert
|
|
|
274957
275507
|
});
|
|
274958
275508
|
}
|
|
274959
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
|
+
}
|
|
274960
275539
|
function generateInferredAuth({ key: key2, file: file4, docs: docs2, rawScheme, propertyResolver, endpointResolver }) {
|
|
274961
275540
|
return AuthScheme.inferred({
|
|
274962
275541
|
key: key2,
|
|
@@ -321320,6 +321899,14 @@ var init_api_yml_schema = __esm({
|
|
|
321320
321899
|
}
|
|
321321
321900
|
]
|
|
321322
321901
|
},
|
|
321902
|
+
"auth.OAuthFlowTypeSchema": {
|
|
321903
|
+
type: "string",
|
|
321904
|
+
enum: [
|
|
321905
|
+
"client-credentials",
|
|
321906
|
+
"authorization-code",
|
|
321907
|
+
"device-code"
|
|
321908
|
+
]
|
|
321909
|
+
},
|
|
321323
321910
|
"auth.AuthScope": {
|
|
321324
321911
|
type: "string"
|
|
321325
321912
|
},
|
|
@@ -321519,6 +322106,62 @@ var init_api_yml_schema = __esm({
|
|
|
321519
322106
|
],
|
|
321520
322107
|
additionalProperties: false
|
|
321521
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
|
+
},
|
|
321522
322165
|
"auth.OAuthSchemeSchema": {
|
|
321523
322166
|
type: "object",
|
|
321524
322167
|
properties: {
|
|
@@ -321536,7 +322179,8 @@ var init_api_yml_schema = __esm({
|
|
|
321536
322179
|
const: "oauth"
|
|
321537
322180
|
},
|
|
321538
322181
|
type: {
|
|
321539
|
-
|
|
322182
|
+
$ref: "#/definitions/auth.OAuthFlowTypeSchema",
|
|
322183
|
+
description: "The OAuth flow. Defaults to 'client-credentials'."
|
|
321540
322184
|
},
|
|
321541
322185
|
scopes: {
|
|
321542
322186
|
oneOf: [
|
|
@@ -321551,7 +322195,7 @@ var init_api_yml_schema = __esm({
|
|
|
321551
322195
|
}
|
|
321552
322196
|
]
|
|
321553
322197
|
},
|
|
321554
|
-
"
|
|
322198
|
+
"token-prefix": {
|
|
321555
322199
|
oneOf: [
|
|
321556
322200
|
{
|
|
321557
322201
|
type: "string"
|
|
@@ -321559,9 +322203,10 @@ var init_api_yml_schema = __esm({
|
|
|
321559
322203
|
{
|
|
321560
322204
|
type: "null"
|
|
321561
322205
|
}
|
|
321562
|
-
]
|
|
322206
|
+
],
|
|
322207
|
+
description: "Sets the token header value prefix. Defaults to 'Bearer'"
|
|
321563
322208
|
},
|
|
321564
|
-
"
|
|
322209
|
+
"token-header": {
|
|
321565
322210
|
oneOf: [
|
|
321566
322211
|
{
|
|
321567
322212
|
type: "string"
|
|
@@ -321569,9 +322214,10 @@ var init_api_yml_schema = __esm({
|
|
|
321569
322214
|
{
|
|
321570
322215
|
type: "null"
|
|
321571
322216
|
}
|
|
321572
|
-
]
|
|
322217
|
+
],
|
|
322218
|
+
description: "Sets the token header key name. Defaults to 'Authorization'"
|
|
321573
322219
|
},
|
|
321574
|
-
"
|
|
322220
|
+
"client-id-env": {
|
|
321575
322221
|
oneOf: [
|
|
321576
322222
|
{
|
|
321577
322223
|
type: "string"
|
|
@@ -321580,9 +322226,9 @@ var init_api_yml_schema = __esm({
|
|
|
321580
322226
|
type: "null"
|
|
321581
322227
|
}
|
|
321582
322228
|
],
|
|
321583
|
-
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`."
|
|
321584
322230
|
},
|
|
321585
|
-
"
|
|
322231
|
+
"client-secret-env": {
|
|
321586
322232
|
oneOf: [
|
|
321587
322233
|
{
|
|
321588
322234
|
type: "string"
|
|
@@ -321590,11 +322236,18 @@ var init_api_yml_schema = __esm({
|
|
|
321590
322236
|
{
|
|
321591
322237
|
type: "null"
|
|
321592
322238
|
}
|
|
321593
|
-
]
|
|
321594
|
-
description: "Sets the token header key name. Defaults to 'Authorization'"
|
|
322239
|
+
]
|
|
321595
322240
|
},
|
|
321596
322241
|
"get-token": {
|
|
321597
|
-
|
|
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."
|
|
321598
322251
|
},
|
|
321599
322252
|
"refresh-token": {
|
|
321600
322253
|
oneOf: [
|
|
@@ -321605,12 +322258,144 @@ var init_api_yml_schema = __esm({
|
|
|
321605
322258
|
type: "null"
|
|
321606
322259
|
}
|
|
321607
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."
|
|
321608
322394
|
}
|
|
321609
322395
|
},
|
|
321610
322396
|
required: [
|
|
321611
322397
|
"scheme",
|
|
321612
|
-
"type"
|
|
321613
|
-
"get-token"
|
|
322398
|
+
"type"
|
|
321614
322399
|
],
|
|
321615
322400
|
additionalProperties: false
|
|
321616
322401
|
},
|
|
@@ -347777,6 +348562,8 @@ var init_SchemaConverter = __esm({
|
|
|
347777
348562
|
"extensions"
|
|
347778
348563
|
];
|
|
347779
348564
|
SchemaConverter = class _SchemaConverter extends AbstractConverter {
|
|
348565
|
+
/** Upper bound on the variants produced by distributing an allOf over its unions. */
|
|
348566
|
+
static MAX_DISTRIBUTED_VARIANTS = 64;
|
|
347780
348567
|
schema;
|
|
347781
348568
|
id;
|
|
347782
348569
|
inlined;
|
|
@@ -347804,6 +348591,10 @@ var init_SchemaConverter = __esm({
|
|
|
347804
348591
|
if (maybeConvertedEnumSchema != null) {
|
|
347805
348592
|
return maybeConvertedEnumSchema;
|
|
347806
348593
|
}
|
|
348594
|
+
const maybeDistributedAllOfOverOneOf = this.tryDistributeAllOfOverOneOf();
|
|
348595
|
+
if (maybeDistributedAllOfOverOneOf != null) {
|
|
348596
|
+
return maybeDistributedAllOfOverOneOf;
|
|
348597
|
+
}
|
|
347807
348598
|
const maybeConvertedSingularAllOfSchema = this.tryConvertSingularAllOfSchema();
|
|
347808
348599
|
if (maybeConvertedSingularAllOfSchema != null) {
|
|
347809
348600
|
return maybeConvertedSingularAllOfSchema;
|
|
@@ -348001,6 +348792,101 @@ var init_SchemaConverter = __esm({
|
|
|
348001
348792
|
}
|
|
348002
348793
|
return void 0;
|
|
348003
348794
|
}
|
|
348795
|
+
/**
|
|
348796
|
+
* Distributes an allOf whose members include a union over that union, so that
|
|
348797
|
+
* `allOf: [oneOf: [A, B], S]` is converted as `oneOf: [allOf: [A, S], allOf: [B, S]]`.
|
|
348798
|
+
* Otherwise the union member is flattened into the parent object and its variants are lost.
|
|
348799
|
+
*
|
|
348800
|
+
* Only the first union is distributed here; the remaining allOf members are re-injected into
|
|
348801
|
+
* every variant, so any further unions are distributed by the recursive conversion below.
|
|
348802
|
+
*/
|
|
348803
|
+
tryDistributeAllOfOverOneOf() {
|
|
348804
|
+
if (!this.context.settings.preserveOneOfInAllOf) {
|
|
348805
|
+
return void 0;
|
|
348806
|
+
}
|
|
348807
|
+
const allOf = this.schema.allOf;
|
|
348808
|
+
if (!Array.isArray(allOf) || allOf.length === 0) {
|
|
348809
|
+
return void 0;
|
|
348810
|
+
}
|
|
348811
|
+
if (this.schema.oneOf != null || this.schema.anyOf != null) {
|
|
348812
|
+
return void 0;
|
|
348813
|
+
}
|
|
348814
|
+
const unions = this.getDistributableUnions(allOf);
|
|
348815
|
+
const firstUnion = unions[0];
|
|
348816
|
+
if (firstUnion == null) {
|
|
348817
|
+
return void 0;
|
|
348818
|
+
}
|
|
348819
|
+
const variantCount = unions.reduce((count, union23) => count * union23.variants.length, 1);
|
|
348820
|
+
if (variantCount > _SchemaConverter.MAX_DISTRIBUTED_VARIANTS) {
|
|
348821
|
+
this.context.logger.warn(`Not distributing allOf over its ${unions.length} unions at ${this.breadcrumbs.join(".")}: it would produce ${variantCount} variants (max ${_SchemaConverter.MAX_DISTRIBUTED_VARIANTS}).`);
|
|
348822
|
+
return void 0;
|
|
348823
|
+
}
|
|
348824
|
+
const sharedElements = allOf.filter((_5, index3) => index3 !== firstUnion.index);
|
|
348825
|
+
if (this.schema.properties != null || this.schema.required != null) {
|
|
348826
|
+
sharedElements.push({
|
|
348827
|
+
type: "object",
|
|
348828
|
+
properties: this.schema.properties,
|
|
348829
|
+
required: this.schema.required
|
|
348830
|
+
});
|
|
348831
|
+
}
|
|
348832
|
+
const siblings = { ...this.schema };
|
|
348833
|
+
delete siblings.allOf;
|
|
348834
|
+
delete siblings.properties;
|
|
348835
|
+
delete siblings.required;
|
|
348836
|
+
const distributedConverter = new _SchemaConverter({
|
|
348837
|
+
context: this.context,
|
|
348838
|
+
breadcrumbs: this.breadcrumbs,
|
|
348839
|
+
schema: {
|
|
348840
|
+
...siblings,
|
|
348841
|
+
oneOf: firstUnion.variants.map((variant) => {
|
|
348842
|
+
const title2 = this.getVariantTitle(variant);
|
|
348843
|
+
return { ...title2 != null ? { title: title2 } : {}, allOf: [variant, ...sharedElements] };
|
|
348844
|
+
})
|
|
348845
|
+
},
|
|
348846
|
+
id: this.id,
|
|
348847
|
+
inlined: this.inlined,
|
|
348848
|
+
nameOverride: this.nameOverride,
|
|
348849
|
+
visitedRefs: this.visitedRefs
|
|
348850
|
+
});
|
|
348851
|
+
return distributedConverter.convert();
|
|
348852
|
+
}
|
|
348853
|
+
getVariantTitle(variant) {
|
|
348854
|
+
if (!this.context.isReferenceObject(variant)) {
|
|
348855
|
+
return variant.title;
|
|
348856
|
+
}
|
|
348857
|
+
const resolved = this.context.resolveMaybeReference({
|
|
348858
|
+
schemaOrReference: variant,
|
|
348859
|
+
breadcrumbs: this.breadcrumbs
|
|
348860
|
+
});
|
|
348861
|
+
return resolved?.title ?? variant.$ref.split("/").pop();
|
|
348862
|
+
}
|
|
348863
|
+
/**
|
|
348864
|
+
* The allOf members that are plain unions of the parent's shape, in declaration order.
|
|
348865
|
+
*/
|
|
348866
|
+
getDistributableUnions(allOf) {
|
|
348867
|
+
const unions = [];
|
|
348868
|
+
for (const [index3, element4] of allOf.entries()) {
|
|
348869
|
+
const resolved = this.context.isReferenceObject(element4) ? this.context.resolveMaybeReference({
|
|
348870
|
+
schemaOrReference: element4,
|
|
348871
|
+
breadcrumbs: this.breadcrumbs
|
|
348872
|
+
}) : element4;
|
|
348873
|
+
if (resolved == null || resolved.properties != null) {
|
|
348874
|
+
continue;
|
|
348875
|
+
}
|
|
348876
|
+
if (resolved.type != null && resolved.type !== "object") {
|
|
348877
|
+
continue;
|
|
348878
|
+
}
|
|
348879
|
+
if (resolved.discriminator != null) {
|
|
348880
|
+
continue;
|
|
348881
|
+
}
|
|
348882
|
+
const variants = resolved.oneOf ?? resolved.anyOf;
|
|
348883
|
+
if (variants == null || variants.length === 0) {
|
|
348884
|
+
continue;
|
|
348885
|
+
}
|
|
348886
|
+
unions.push({ index: index3, variants });
|
|
348887
|
+
}
|
|
348888
|
+
return unions;
|
|
348889
|
+
}
|
|
348004
348890
|
tryConvertPrimitiveSchema() {
|
|
348005
348891
|
const primitiveConverter = new PrimitiveSchemaConverter({ context: this.context, schema: this.schema });
|
|
348006
348892
|
const primitiveType2 = primitiveConverter.convert();
|
|
@@ -356073,6 +356959,9 @@ function resolveOAuthScheme({ ir: ir3, key: key2, oauthScheme }) {
|
|
|
356073
356959
|
return void 0;
|
|
356074
356960
|
}
|
|
356075
356961
|
const tokenEndpointConfig = oauthScheme["get-token"];
|
|
356962
|
+
if (tokenEndpointConfig == null) {
|
|
356963
|
+
return void 0;
|
|
356964
|
+
}
|
|
356076
356965
|
const resolved = resolveEndpointFromReference({ ir: ir3, endpointRef: tokenEndpointConfig.endpoint });
|
|
356077
356966
|
if (resolved == null) {
|
|
356078
356967
|
return void 0;
|
|
@@ -454792,7 +455681,8 @@ function convertPlaygroundSettings(playgroundSettings) {
|
|
|
454792
455681
|
environments: playgroundSettings.environments != null && playgroundSettings.environments.length > 0 ? playgroundSettings.environments.map((environmentId) => navigation_exports.V1.EnvironmentId(environmentId)) : void 0,
|
|
454793
455682
|
button: playgroundSettings.button != null && playgroundSettings.button.href ? { href: navigation_exports.V1.Url(playgroundSettings.button.href) } : void 0,
|
|
454794
455683
|
"limit-websocket-messages-per-connection": playgroundSettings.limitWebsocketMessagesPerConnection != null ? playgroundSettings.limitWebsocketMessagesPerConnection : void 0,
|
|
454795
|
-
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
|
|
454796
455686
|
};
|
|
454797
455687
|
}
|
|
454798
455688
|
return;
|
|
@@ -587213,10 +588103,19 @@ var require_dist25 = __commonJS({
|
|
|
587213
588103
|
}
|
|
587214
588104
|
});
|
|
587215
588105
|
|
|
587216
|
-
// ../../../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
|
|
587217
588107
|
var orpc_client_exports = {};
|
|
587218
588108
|
__export(orpc_client_exports, {
|
|
587219
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,
|
|
587220
588119
|
ApiAuthSchema: () => ApiAuthSchema4,
|
|
587221
588120
|
ApiDefinitionId: () => ApiDefinitionId3,
|
|
587222
588121
|
ApiDefinitionIdSchema: () => ApiDefinitionIdSchema3,
|
|
@@ -587233,6 +588132,7 @@ __export(orpc_client_exports, {
|
|
|
587233
588132
|
AuthPayloadSchema: () => AuthPayloadSchema2,
|
|
587234
588133
|
AuthSchemeId: () => AuthSchemeId2,
|
|
587235
588134
|
AuthSchemeIdSchema: () => AuthSchemeIdSchema2,
|
|
588135
|
+
AuthorizeDocsEditResponseSchema: () => AuthorizeDocsEditResponseSchema2,
|
|
587236
588136
|
Availability: () => Availability21,
|
|
587237
588137
|
AvailabilitySchema: () => AvailabilitySchema5,
|
|
587238
588138
|
Base64TypeSchema: () => Base64TypeSchema2,
|
|
@@ -587268,7 +588168,12 @@ __export(orpc_client_exports, {
|
|
|
587268
588168
|
CurrentVersionInputSchema: () => CurrentVersionInputSchema2,
|
|
587269
588169
|
CurrentVersionResponseSchema: () => CurrentVersionResponseSchema2,
|
|
587270
588170
|
CustomSnippetPayloadSchema: () => CustomSnippetPayloadSchema2,
|
|
588171
|
+
DashboardAnalyticsCommonInputSchema: () => DashboardAnalyticsCommonInputSchema2,
|
|
587271
588172
|
DashboardDocsSiteSchema: () => DashboardDocsSiteSchema2,
|
|
588173
|
+
DashboardFeedbackInputSchema: () => DashboardFeedbackInputSchema2,
|
|
588174
|
+
DashboardGetSiteConfigInputSchema: () => DashboardGetSiteConfigInputSchema2,
|
|
588175
|
+
DashboardListOrgDocDomainsInputSchema: () => DashboardListOrgDocDomainsInputSchema2,
|
|
588176
|
+
DashboardListOrgMembersInputSchema: () => DashboardListOrgMembersInputSchema2,
|
|
587272
588177
|
DateTypeSchema: () => DateTypeSchema2,
|
|
587273
588178
|
DatetimeTypeSchema: () => DatetimeTypeSchema2,
|
|
587274
588179
|
DbApiDefinitionPackageSchema: () => DbApiDefinitionPackageSchema2,
|
|
@@ -587554,6 +588459,7 @@ __export(orpc_client_exports, {
|
|
|
587554
588459
|
ListRepositoriesInputSchema: () => ListRepositoriesInputSchema2,
|
|
587555
588460
|
ListRepositoriesResponseSchema: () => ListRepositoriesResponseSchema2,
|
|
587556
588461
|
LiteralTypeSchema: () => LiteralTypeSchema2,
|
|
588462
|
+
LlmBotTrafficResponseSchema: () => LlmBotTrafficResponseSchema2,
|
|
587557
588463
|
LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema2,
|
|
587558
588464
|
LocaleEntrySchema: () => LocaleEntrySchema2,
|
|
587559
588465
|
LongTypeSchema: () => LongTypeSchema2,
|
|
@@ -587578,14 +588484,18 @@ __export(orpc_client_exports, {
|
|
|
587578
588484
|
ObjectPropertySchema: () => ObjectPropertySchema3,
|
|
587579
588485
|
ObjectTypeSchema: () => ObjectTypeSchema2,
|
|
587580
588486
|
OpenRpcProtocolSchema: () => OpenRpcProtocolSchema2,
|
|
588487
|
+
OrgConfigResponseSchema: () => OrgConfigResponseSchema,
|
|
588488
|
+
OrgDocDomainsResponseSchema: () => OrgDocDomainsResponseSchema2,
|
|
587581
588489
|
OrgId: () => OrgId3,
|
|
587582
588490
|
OrgIdSchema: () => OrgIdSchema3,
|
|
588491
|
+
OrgMembersResponseSchema: () => OrgMembersResponseSchema2,
|
|
587583
588492
|
PATH_OR_URL_METADATA_KEYS: () => PATH_OR_URL_METADATA_KEYS,
|
|
587584
588493
|
PageBlobRefSchema: () => PageBlobRefSchema2,
|
|
587585
588494
|
PageContentInputSchema: () => PageContentInputSchema2,
|
|
587586
588495
|
PageContentResponseSchema: () => PageContentResponseSchema2,
|
|
587587
588496
|
PageId: () => PageId3,
|
|
587588
588497
|
PageIdSchema: () => PageIdSchema3,
|
|
588498
|
+
Pages404ResponseSchema: () => Pages404ResponseSchema2,
|
|
587589
588499
|
PathOrUrlSchema: () => PathOrUrlSchema2,
|
|
587590
588500
|
PathParameterSchema: () => PathParameterSchema2,
|
|
587591
588501
|
PathPartSchema: () => PathPartSchema2,
|
|
@@ -587612,6 +588522,8 @@ __export(orpc_client_exports, {
|
|
|
587612
588522
|
PutFileInputSchema: () => PutFileInputSchema,
|
|
587613
588523
|
PythonLibraryDocsConfigSchema: () => PythonLibraryDocsConfigSchema2,
|
|
587614
588524
|
PythonPackageSchema: () => PythonPackageSchema2,
|
|
588525
|
+
QueryAnalyticsInputSchema: () => QueryAnalyticsInputSchema2,
|
|
588526
|
+
QueryAnalyticsResponseSchema: () => QueryAnalyticsResponseSchema2,
|
|
587615
588527
|
QueryParameterSchema: () => QueryParameterSchema2,
|
|
587616
588528
|
ReadApiDefinitionPackageSchema: () => ReadApiDefinitionPackageSchema2,
|
|
587617
588529
|
ReadApiDefinitionSchema: () => ReadApiDefinitionSchema2,
|
|
@@ -587644,8 +588556,10 @@ __export(orpc_client_exports, {
|
|
|
587644
588556
|
ReadUndiscriminatedUnionVariantSchema: () => ReadUndiscriminatedUnionVariantSchema2,
|
|
587645
588557
|
ReadWebSocketChannelSchema: () => ReadWebSocketChannelSchema2,
|
|
587646
588558
|
ReadWebhookDefinitionSchema: () => ReadWebhookDefinitionSchema2,
|
|
588559
|
+
RecentFeedbackResponseSchema: () => RecentFeedbackResponseSchema2,
|
|
587647
588560
|
RecordPostmanNotificationInputSchema: () => RecordPostmanNotificationInputSchema2,
|
|
587648
588561
|
RecordPostmanNotificationResponseSchema: () => RecordPostmanNotificationResponseSchema2,
|
|
588562
|
+
ReferringDomainsResponseSchema: () => ReferringDomainsResponseSchema2,
|
|
587649
588563
|
RegisterApiDefinitionPackageSchema: () => RegisterApiDefinitionPackageSchema2,
|
|
587650
588564
|
RegisterApiDefinitionResponseSchema: () => RegisterApiDefinitionResponseSchema2,
|
|
587651
588565
|
RegisterApiDefinitionSchema: () => RegisterApiDefinitionSchema2,
|
|
@@ -587682,6 +588596,7 @@ __export(orpc_client_exports, {
|
|
|
587682
588596
|
ReleaseTypeSchema: () => ReleaseTypeSchema2,
|
|
587683
588597
|
RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema2,
|
|
587684
588598
|
RepositoryIdSchema: () => RepositoryIdSchema2,
|
|
588599
|
+
ResolvedDateRangeSchema: () => ResolvedDateRangeSchema2,
|
|
587685
588600
|
RestProtocolSchema: () => RestProtocolSchema2,
|
|
587686
588601
|
RevokeTokenInputSchema: () => RevokeTokenInputSchema2,
|
|
587687
588602
|
RoleId: () => RoleId4,
|
|
@@ -587701,7 +588616,11 @@ __export(orpc_client_exports, {
|
|
|
587701
588616
|
SetEditorRepoUrlInputSchema: () => SetEditorRepoUrlInputSchema2,
|
|
587702
588617
|
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema2,
|
|
587703
588618
|
SetSnapshotInputSchema: () => SetSnapshotInputSchema2,
|
|
588619
|
+
SiteConfigResponseSchema: () => SiteConfigResponseSchema2,
|
|
588620
|
+
SiteGitRepositorySchema: () => SiteGitRepositorySchema2,
|
|
587704
588621
|
SiteMetricsSchema: () => SiteMetricsSchema2,
|
|
588622
|
+
SitePasswordProtectionSchema: () => SitePasswordProtectionSchema2,
|
|
588623
|
+
SiteSettingsResponseSchema: () => SiteSettingsResponseSchema2,
|
|
587705
588624
|
SlugEntrySchema: () => SlugEntrySchema2,
|
|
587706
588625
|
SlugsInputSchema: () => SlugsInputSchema2,
|
|
587707
588626
|
SnippetInfoSchema: () => SnippetInfoSchema2,
|
|
@@ -587734,6 +588653,8 @@ __export(orpc_client_exports, {
|
|
|
587734
588653
|
TokenIdSchema: () => TokenIdSchema2,
|
|
587735
588654
|
TopLevelNavigationInputSchema: () => TopLevelNavigationInputSchema2,
|
|
587736
588655
|
TopLevelNavigationResponseSchema: () => TopLevelNavigationResponseSchema2,
|
|
588656
|
+
TopPagesResponseSchema: () => TopPagesResponseSchema2,
|
|
588657
|
+
TrafficSummaryResponseSchema: () => TrafficSummaryResponseSchema2,
|
|
587737
588658
|
TransferOwnershipInputSchema: () => TransferOwnershipInputSchema2,
|
|
587738
588659
|
TypeId: () => TypeId23,
|
|
587739
588660
|
TypeIdSchema: () => TypeIdSchema2,
|
|
@@ -587748,6 +588669,7 @@ __export(orpc_client_exports, {
|
|
|
587748
588669
|
UpdateDeploymentStatusResponseSchema: () => UpdateDeploymentStatusResponseSchema2,
|
|
587749
588670
|
UpdatePdfExportTaskInputSchema: () => UpdatePdfExportTaskInputSchema2,
|
|
587750
588671
|
UpsertCliReleaseInputSchema: () => UpsertCliReleaseInputSchema2,
|
|
588672
|
+
UpsertOrgConfigBodySchema: () => UpsertOrgConfigBodySchema,
|
|
587751
588673
|
UpsertThemeBodySchema: () => UpsertThemeBodySchema,
|
|
587752
588674
|
Url: () => Url5,
|
|
587753
588675
|
UrlSchema: () => UrlSchema3,
|
|
@@ -587782,6 +588704,7 @@ __export(orpc_client_exports, {
|
|
|
587782
588704
|
collectNavFilePaths: () => collectNavFilePaths,
|
|
587783
588705
|
contentContract: () => contentContract,
|
|
587784
588706
|
createApiClient: () => createApiClient2,
|
|
588707
|
+
createDashboardAgentClient: () => createDashboardAgentClient2,
|
|
587785
588708
|
createDashboardClient: () => createDashboardClient2,
|
|
587786
588709
|
createDocsCacheClient: () => createDocsCacheClient2,
|
|
587787
588710
|
createDocsClient: () => createDocsClient2,
|
|
@@ -587806,6 +588729,7 @@ __export(orpc_client_exports, {
|
|
|
587806
588729
|
createSnippetsFactoryClient: () => createSnippetsFactoryClient2,
|
|
587807
588730
|
createTemplatesClient: () => createTemplatesClient2,
|
|
587808
588731
|
createTokensClient: () => createTokensClient2,
|
|
588732
|
+
dashboardAgentContract: () => dashboardAgentContract2,
|
|
587809
588733
|
dashboardContract: () => dashboardContract2,
|
|
587810
588734
|
docsCacheContract: () => docsCacheContract2,
|
|
587811
588735
|
docsDeploymentContract: () => docsDeploymentContract2,
|
|
@@ -587959,6 +588883,17 @@ function createDashboardClient2(options2) {
|
|
|
587959
588883
|
});
|
|
587960
588884
|
return createORPCClient(link3);
|
|
587961
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
|
+
}
|
|
587962
588897
|
function createDocsV1ReadClient2(options2) {
|
|
587963
588898
|
const link3 = new OpenAPILink(docsV1ReadContract2, {
|
|
587964
588899
|
url: `${options2.baseUrl}/registry/docs`,
|
|
@@ -588220,6 +589155,7 @@ function createFdrORPCClient2(options2) {
|
|
|
588220
589155
|
return {
|
|
588221
589156
|
api: createApiClient2(normalizedOptions),
|
|
588222
589157
|
dashboard: createDashboardClient2(normalizedOptions),
|
|
589158
|
+
dashboardAgent: createDashboardAgentClient2(normalizedOptions),
|
|
588223
589159
|
docs: createDocsClient2(normalizedOptions),
|
|
588224
589160
|
docsCache: createDocsCacheClient2(normalizedOptions),
|
|
588225
589161
|
docsDeployment: createDocsDeploymentClient2(normalizedOptions),
|
|
@@ -588407,9 +589343,9 @@ function isFernFileRef(value2) {
|
|
|
588407
589343
|
const hash5 = value2[FERN_FILE_REF_KEY];
|
|
588408
589344
|
return typeof hash5 === "string" && SHA256_RE.test(hash5);
|
|
588409
589345
|
}
|
|
588410
|
-
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;
|
|
588411
589347
|
var init_orpc_client = __esm({
|
|
588412
|
-
"../../../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"() {
|
|
588413
589349
|
"use strict";
|
|
588414
589350
|
init_dist5();
|
|
588415
589351
|
init_dist5();
|
|
@@ -588432,6 +589368,10 @@ var init_orpc_client = __esm({
|
|
|
588432
589368
|
init_fetch3();
|
|
588433
589369
|
init_dist7();
|
|
588434
589370
|
init_zod2();
|
|
589371
|
+
init_dist5();
|
|
589372
|
+
init_fetch3();
|
|
589373
|
+
init_dist7();
|
|
589374
|
+
init_zod2();
|
|
588435
589375
|
init_zod2();
|
|
588436
589376
|
init_zod2();
|
|
588437
589377
|
init_zod2();
|
|
@@ -588512,6 +589452,7 @@ var init_orpc_client = __esm({
|
|
|
588512
589452
|
init_dist7();
|
|
588513
589453
|
init_zod2();
|
|
588514
589454
|
init_zod2();
|
|
589455
|
+
init_zod2();
|
|
588515
589456
|
OrgIdSchema3 = stringType();
|
|
588516
589457
|
ApiIdSchema2 = stringType();
|
|
588517
589458
|
ApiDefinitionIdSchema3 = stringType().uuid();
|
|
@@ -590499,6 +591440,213 @@ var init_orpc_client = __esm({
|
|
|
590499
591440
|
isDocsSiteInOrg: oc.route({ method: "POST", path: "/is-docs-site-in-org" }).input(IsDocsSiteInOrgInputSchema2).output(IsDocsSiteInOrgResponseSchema2),
|
|
590500
591441
|
deleteAllDocsSitesForOrg: oc.route({ method: "DELETE", path: "/{orgId}/docs" }).input(DeleteAllDocsSitesForOrgInputSchema2).output(DeleteAllDocsSitesForOrgResponseSchema2)
|
|
590501
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
|
+
};
|
|
590502
591650
|
FileIdSchema22 = stringType();
|
|
590503
591651
|
PageIdSchema22 = stringType();
|
|
590504
591652
|
UrlSchema22 = stringType();
|
|
@@ -590665,7 +591813,8 @@ var init_orpc_client = __esm({
|
|
|
590665
591813
|
hideNavLinks: booleanType().optional(),
|
|
590666
591814
|
hideFeedback: booleanType().optional(),
|
|
590667
591815
|
mobileToc: booleanType().optional(),
|
|
590668
|
-
changelogLayout: ChangelogLayoutSchema2.optional()
|
|
591816
|
+
changelogLayout: ChangelogLayoutSchema2.optional(),
|
|
591817
|
+
showNavAvailabilityBadges: booleanType().optional()
|
|
590669
591818
|
});
|
|
590670
591819
|
FooterNavConfigSchema2 = enumType(["default", "minimal"]);
|
|
590671
591820
|
DocsSidebarConfigSchema2 = enumType(["default", "minimal"]);
|
|
@@ -590705,7 +591854,13 @@ var init_orpc_client = __esm({
|
|
|
590705
591854
|
HttpSnippetsConfigSchema2 = unionType([booleanType(), arrayType(HttpSnippetLanguageSchema2)]);
|
|
590706
591855
|
SearchSettingsConfigSchema2 = objectType({
|
|
590707
591856
|
prioritizeCurrentProduct: booleanType().optional(),
|
|
590708
|
-
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()
|
|
590709
591864
|
});
|
|
590710
591865
|
DocsSettingsConfigSchema3 = objectType({
|
|
590711
591866
|
searchText: stringType().optional(),
|
|
@@ -592099,6 +593254,13 @@ var init_orpc_client = __esm({
|
|
|
592099
593254
|
);
|
|
592100
593255
|
LinkTargetSchema22 = enumType(["_blank", "_self", "_parent", "_top"]);
|
|
592101
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
|
+
});
|
|
592102
593264
|
LedgerAvailabilitySchema2 = unionType([
|
|
592103
593265
|
AvailabilitySchema5,
|
|
592104
593266
|
enumType([
|
|
@@ -592140,7 +593302,8 @@ var init_orpc_client = __esm({
|
|
|
592140
593302
|
ApiNodeMetadataFields2 = {
|
|
592141
593303
|
...NodeMetadataFields2,
|
|
592142
593304
|
apiDefinitionId: stringType(),
|
|
592143
|
-
availability: LedgerAvailabilitySchema2.optional()
|
|
593305
|
+
availability: LedgerAvailabilitySchema2.optional(),
|
|
593306
|
+
playground: PlaygroundSettingsSchema3.optional()
|
|
592144
593307
|
};
|
|
592145
593308
|
LedgerSegmentDetailMetadataObjectSchema2 = LedgerMetadataBaseSchema2.extend({
|
|
592146
593309
|
slug: stringType().optional(),
|
|
@@ -592190,7 +593353,8 @@ var init_orpc_client = __esm({
|
|
|
592190
593353
|
hideTitle: booleanType().optional(),
|
|
592191
593354
|
viewers: MetadataStringArraySchema2.optional(),
|
|
592192
593355
|
orphaned: booleanType().optional(),
|
|
592193
|
-
featureFlags: FeatureFlagMetadataSchema2.optional()
|
|
593356
|
+
featureFlags: FeatureFlagMetadataSchema2.optional(),
|
|
593357
|
+
playground: PlaygroundSettingsSchema3.optional()
|
|
592194
593358
|
}),
|
|
592195
593359
|
LedgerMetadataBaseSchema2.extend({
|
|
592196
593360
|
type: literalType("apiPackage"),
|
|
@@ -592204,7 +593368,8 @@ var init_orpc_client = __esm({
|
|
|
592204
593368
|
pointsTo: stringType().optional(),
|
|
592205
593369
|
viewers: MetadataStringArraySchema2.optional(),
|
|
592206
593370
|
orphaned: booleanType().optional(),
|
|
592207
|
-
featureFlags: FeatureFlagMetadataSchema2.optional()
|
|
593371
|
+
featureFlags: FeatureFlagMetadataSchema2.optional(),
|
|
593372
|
+
playground: PlaygroundSettingsSchema3.optional()
|
|
592208
593373
|
}),
|
|
592209
593374
|
LedgerMetadataBaseSchema2.extend({
|
|
592210
593375
|
type: literalType("changelog"),
|
|
@@ -593786,6 +594951,19 @@ var init_orpc_client = __esm({
|
|
|
593786
594951
|
*/
|
|
593787
594952
|
getFile: oc.route({ method: "GET", path: "/" }).output(FileResponseSchema)
|
|
593788
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
|
+
});
|
|
593789
594967
|
FERN_FILE_REF_KEY = "hash";
|
|
593790
594968
|
SHA256_RE = /^[0-9a-f]{64}$/;
|
|
593791
594969
|
THEME_NAME_RE = /^[a-zA-Z0-9_-]{1,64}$/;
|
|
@@ -681989,6 +683167,17 @@ var ValidOauthRule = {
|
|
|
681989
683167
|
rootApiFile: {
|
|
681990
683168
|
oauth: ({ name: name2, oauth }, { relativeFilepath }) => {
|
|
681991
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
|
+
}
|
|
681992
683181
|
const tokenEndpointReference = oauth["get-token"].endpoint;
|
|
681993
683182
|
const resolvedTokenEndpoint = endpointResolver.resolveEndpoint({
|
|
681994
683183
|
endpoint: tokenEndpointReference,
|
|
@@ -682035,6 +683224,92 @@ var ValidOauthRule = {
|
|
|
682035
683224
|
};
|
|
682036
683225
|
}
|
|
682037
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
|
+
}
|
|
682038
683313
|
|
|
682039
683314
|
// ../fern-definition/validator/lib/rules/valid-pagination/valid-pagination.js
|
|
682040
683315
|
init_lib22();
|
|
@@ -684399,6 +685674,13 @@ var OpenApiSettingsSchema2 = BaseApiSettingsSchema2.extend({
|
|
|
684399
685674
|
* Defaults to false.
|
|
684400
685675
|
*/
|
|
684401
685676
|
preserveSingleSchemaOneof: external_exports.boolean().optional(),
|
|
685677
|
+
/**
|
|
685678
|
+
* If true, an allOf containing a oneOf/anyOf member is distributed into a union, where each
|
|
685679
|
+
* variant is the union member merged with the remaining allOf members.
|
|
685680
|
+
* If false, the variants' properties are flattened into a single object and marked optional.
|
|
685681
|
+
* Defaults to false.
|
|
685682
|
+
*/
|
|
685683
|
+
preserveOneOfInAllOf: external_exports.boolean().optional(),
|
|
684402
685684
|
/**
|
|
684403
685685
|
* Whether to inline allOf schemas. If false, allOf schemas will be
|
|
684404
685686
|
* extended in the code generation.
|
|
@@ -684976,7 +686258,7 @@ __export(schemas_exports13, {
|
|
|
684976
686258
|
PageActionsConfigSchema: () => PageActionsConfigSchema2,
|
|
684977
686259
|
PageConfigurationSchema: () => PageConfigurationSchema,
|
|
684978
686260
|
PathParameterOrderSchema: () => PathParameterOrderSchema,
|
|
684979
|
-
PlaygroundSettingsSchema: () =>
|
|
686261
|
+
PlaygroundSettingsSchema: () => PlaygroundSettingsSchema2,
|
|
684980
686262
|
ProductConfigSchema: () => ProductConfigSchema,
|
|
684981
686263
|
ProtobufDefinitionSchema: () => ProtobufDefinitionSchema2,
|
|
684982
686264
|
ProtobufSettingsSchema: () => ProtobufSettingsSchema,
|
|
@@ -685036,7 +686318,7 @@ var TabConfigSchema = S4.TabConfig;
|
|
|
685036
686318
|
var VersionConfigSchema = S4.VersionConfig;
|
|
685037
686319
|
var ProductConfigSchema = S4.ProductConfig;
|
|
685038
686320
|
var SnippetsConfigurationSchema = S4.SnippetsConfiguration;
|
|
685039
|
-
var
|
|
686321
|
+
var PlaygroundSettingsSchema2 = S4.PlaygroundSettings;
|
|
685040
686322
|
var LogoConfigurationSchema2 = S4.LogoConfiguration;
|
|
685041
686323
|
var BackgroundImageConfigurationSchema = S4.BackgroundImageConfiguration;
|
|
685042
686324
|
var ColorsConfigurationSchema = S4.ColorsConfiguration;
|
|
@@ -693029,7 +694311,7 @@ var AccessTokenPosthogManager = class {
|
|
|
693029
694311
|
properties: {
|
|
693030
694312
|
...event,
|
|
693031
694313
|
...event.properties,
|
|
693032
|
-
version: "5.23.3-
|
|
694314
|
+
version: "5.23.3-1734-ga2795924dea",
|
|
693033
694315
|
usingAccessToken: true,
|
|
693034
694316
|
...getRunIdProperties()
|
|
693035
694317
|
}
|
|
@@ -693095,7 +694377,7 @@ var UserPosthogManager = class {
|
|
|
693095
694377
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
693096
694378
|
event: "CLI",
|
|
693097
694379
|
properties: {
|
|
693098
|
-
version: "5.23.3-
|
|
694380
|
+
version: "5.23.3-1734-ga2795924dea",
|
|
693099
694381
|
...event,
|
|
693100
694382
|
...event.properties,
|
|
693101
694383
|
usingAccessToken: false,
|
|
@@ -699902,6 +701184,7 @@ var LegacyApiSpecAdapter = class {
|
|
|
699902
701184
|
additionalPropertiesDefaultsTo: settings.additionalPropertiesDefaultsTo,
|
|
699903
701185
|
typeDatesAsStrings: settings.typeDatesAsStrings,
|
|
699904
701186
|
preserveSingleSchemaOneOf: settings.preserveSingleSchemaOneof,
|
|
701187
|
+
preserveOneOfInAllOf: settings.preserveOneOfInAllOf,
|
|
699905
701188
|
inlineAllOfSchemas: settings.inlineAllOfSchemas,
|
|
699906
701189
|
resolveAliases: settings.resolveAliases,
|
|
699907
701190
|
groupMultiApiEnvironments: settings.groupMultiApiEnvironments,
|
|
@@ -842023,6 +843306,17 @@ var definitions4 = {
|
|
|
842023
843306
|
}
|
|
842024
843307
|
],
|
|
842025
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."
|
|
842026
843320
|
}
|
|
842027
843321
|
},
|
|
842028
843322
|
additionalProperties: false
|
|
@@ -844154,6 +845448,17 @@ var definitions5 = {
|
|
|
844154
845448
|
}
|
|
844155
845449
|
],
|
|
844156
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."
|
|
844157
845462
|
}
|
|
844158
845463
|
},
|
|
844159
845464
|
additionalProperties: false
|
|
@@ -872292,6 +873597,7 @@ var SETTINGS_KEY_MAP = {
|
|
|
872292
873597
|
"additional-properties-defaults-to": "additionalPropertiesDefaultsTo",
|
|
872293
873598
|
"type-dates-as-strings": "typeDatesAsStrings",
|
|
872294
873599
|
"preserve-single-schema-oneof": "preserveSingleSchemaOneof",
|
|
873600
|
+
"preserve-one-of-in-all-of": "preserveOneOfInAllOf",
|
|
872295
873601
|
"inline-all-of-schemas": "inlineAllOfSchemas",
|
|
872296
873602
|
"resolve-aliases": "resolveAliases",
|
|
872297
873603
|
"group-multi-api-environments": "groupMultiApiEnvironments",
|
|
@@ -874201,7 +875507,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
874201
875507
|
var LOGS_FOLDER_NAME = "logs";
|
|
874202
875508
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
874203
875509
|
function getCliSource() {
|
|
874204
|
-
const version7 = "5.23.3-
|
|
875510
|
+
const version7 = "5.23.3-1734-ga2795924dea";
|
|
874205
875511
|
return `cli@${version7}`;
|
|
874206
875512
|
}
|
|
874207
875513
|
var DebugLogger = class {
|
|
@@ -898244,6 +899550,17 @@ var definitions6 = {
|
|
|
898244
899550
|
}
|
|
898245
899551
|
],
|
|
898246
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."
|
|
898247
899564
|
}
|
|
898248
899565
|
},
|
|
898249
899566
|
additionalProperties: false
|
|
@@ -906900,7 +908217,7 @@ var LegacyDocsPublisher = class {
|
|
|
906900
908217
|
previewId,
|
|
906901
908218
|
disableTemplates: void 0,
|
|
906902
908219
|
skipUpload,
|
|
906903
|
-
cliVersion: "5.23.3-
|
|
908220
|
+
cliVersion: "5.23.3-1734-ga2795924dea",
|
|
906904
908221
|
loginCommand: "fern auth login"
|
|
906905
908222
|
});
|
|
906906
908223
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -973775,7 +975092,7 @@ function getAutomationContextFromEnv() {
|
|
|
973775
975092
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
973776
975093
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
973777
975094
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
973778
|
-
cli_version: "5.23.3-
|
|
975095
|
+
cli_version: "5.23.3-1734-ga2795924dea"
|
|
973779
975096
|
};
|
|
973780
975097
|
}
|
|
973781
975098
|
function isAutomationMode() {
|
|
@@ -974607,7 +975924,7 @@ var CliContext = class _CliContext {
|
|
|
974607
975924
|
if (false) {
|
|
974608
975925
|
this.logger.error("CLI_VERSION is not defined");
|
|
974609
975926
|
}
|
|
974610
|
-
return "5.23.3-
|
|
975927
|
+
return "5.23.3-1734-ga2795924dea";
|
|
974611
975928
|
}
|
|
974612
975929
|
getCliName() {
|
|
974613
975930
|
if (false) {
|