@fern-api/fern-api-dev 5.23.3-1710-gb6dad3bb509 → 5.23.3-1713-g0aa33868f40
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 +20 -10
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -73646,6 +73646,7 @@ var init_OAuthAuthorizationCode2 = __esm({
|
|
|
73646
73646
|
tokenUrl: schemas_exports3.string(),
|
|
73647
73647
|
refreshUrl: schemas_exports3.string().optional(),
|
|
73648
73648
|
redirectUri: schemas_exports3.string().optional(),
|
|
73649
|
+
redirectUriBackupPorts: schemas_exports3.list(schemas_exports3.number()).optional(),
|
|
73649
73650
|
scopes: schemas_exports3.list(schemas_exports3.string()).optional(),
|
|
73650
73651
|
pkce: OAuthPkceConfiguration,
|
|
73651
73652
|
authorizationParameters: schemas_exports3.record(schemas_exports3.string(), schemas_exports3.string()).optional(),
|
|
@@ -356470,7 +356471,7 @@ var init_MethodConverter = __esm({
|
|
|
356470
356471
|
autogeneratedExamples: [],
|
|
356471
356472
|
v2Examples: {
|
|
356472
356473
|
autogeneratedExamples: {},
|
|
356473
|
-
userSpecifiedExamples: this.convertExamples()
|
|
356474
|
+
userSpecifiedExamples: this.convertExamples(pathString)
|
|
356474
356475
|
},
|
|
356475
356476
|
transport: void 0,
|
|
356476
356477
|
availability: void 0,
|
|
@@ -356510,8 +356511,17 @@ var init_MethodConverter = __esm({
|
|
|
356510
356511
|
});
|
|
356511
356512
|
return baseUrls;
|
|
356512
356513
|
}
|
|
356513
|
-
convertExamples() {
|
|
356514
|
+
convertExamples(path120) {
|
|
356514
356515
|
const examples = {};
|
|
356516
|
+
const pathParameters = {};
|
|
356517
|
+
for (const parameter6 of this.pathParameters) {
|
|
356518
|
+
const userExample = Object.values(parameter6.v2Examples?.userSpecifiedExamples ?? {})[0];
|
|
356519
|
+
const autogeneratedExample = Object.values(parameter6.v2Examples?.autogeneratedExamples ?? {})[0];
|
|
356520
|
+
const example = userExample !== void 0 ? userExample : autogeneratedExample;
|
|
356521
|
+
if (example !== void 0) {
|
|
356522
|
+
pathParameters[getOriginalName(parameter6.name)] = example;
|
|
356523
|
+
}
|
|
356524
|
+
}
|
|
356515
356525
|
let i5 = 0;
|
|
356516
356526
|
if (this.method.examples && this.method.examples.length > 0) {
|
|
356517
356527
|
for (const example of this.method.examples ?? []) {
|
|
@@ -356567,12 +356577,12 @@ var init_MethodConverter = __esm({
|
|
|
356567
356577
|
docs: void 0,
|
|
356568
356578
|
endpoint: {
|
|
356569
356579
|
method: "POST",
|
|
356570
|
-
path:
|
|
356580
|
+
path: path120
|
|
356571
356581
|
},
|
|
356572
356582
|
baseUrl: void 0,
|
|
356573
356583
|
environment: void 0,
|
|
356574
356584
|
auth: void 0,
|
|
356575
|
-
pathParameters
|
|
356585
|
+
pathParameters,
|
|
356576
356586
|
queryParameters: {},
|
|
356577
356587
|
headers: {},
|
|
356578
356588
|
requestBody: resolvedParams.map((param) => param.value) ?? void 0
|
|
@@ -692024,7 +692034,7 @@ var AccessTokenPosthogManager = class {
|
|
|
692024
692034
|
properties: {
|
|
692025
692035
|
...event,
|
|
692026
692036
|
...event.properties,
|
|
692027
|
-
version: "5.23.3-
|
|
692037
|
+
version: "5.23.3-1713-g0aa33868f40",
|
|
692028
692038
|
usingAccessToken: true,
|
|
692029
692039
|
...getRunIdProperties()
|
|
692030
692040
|
}
|
|
@@ -692090,7 +692100,7 @@ var UserPosthogManager = class {
|
|
|
692090
692100
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
692091
692101
|
event: "CLI",
|
|
692092
692102
|
properties: {
|
|
692093
|
-
version: "5.23.3-
|
|
692103
|
+
version: "5.23.3-1713-g0aa33868f40",
|
|
692094
692104
|
...event,
|
|
692095
692105
|
...event.properties,
|
|
692096
692106
|
usingAccessToken: false,
|
|
@@ -873196,7 +873206,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
873196
873206
|
var LOGS_FOLDER_NAME = "logs";
|
|
873197
873207
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
873198
873208
|
function getCliSource() {
|
|
873199
|
-
const version7 = "5.23.3-
|
|
873209
|
+
const version7 = "5.23.3-1713-g0aa33868f40";
|
|
873200
873210
|
return `cli@${version7}`;
|
|
873201
873211
|
}
|
|
873202
873212
|
var DebugLogger = class {
|
|
@@ -905892,7 +905902,7 @@ var LegacyDocsPublisher = class {
|
|
|
905892
905902
|
previewId,
|
|
905893
905903
|
disableTemplates: void 0,
|
|
905894
905904
|
skipUpload,
|
|
905895
|
-
cliVersion: "5.23.3-
|
|
905905
|
+
cliVersion: "5.23.3-1713-g0aa33868f40",
|
|
905896
905906
|
loginCommand: "fern auth login"
|
|
905897
905907
|
});
|
|
905898
905908
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -972766,7 +972776,7 @@ function getAutomationContextFromEnv() {
|
|
|
972766
972776
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
972767
972777
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
972768
972778
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
972769
|
-
cli_version: "5.23.3-
|
|
972779
|
+
cli_version: "5.23.3-1713-g0aa33868f40"
|
|
972770
972780
|
};
|
|
972771
972781
|
}
|
|
972772
972782
|
function isAutomationMode() {
|
|
@@ -973598,7 +973608,7 @@ var CliContext = class _CliContext {
|
|
|
973598
973608
|
if (false) {
|
|
973599
973609
|
this.logger.error("CLI_VERSION is not defined");
|
|
973600
973610
|
}
|
|
973601
|
-
return "5.23.3-
|
|
973611
|
+
return "5.23.3-1713-g0aa33868f40";
|
|
973602
973612
|
}
|
|
973603
973613
|
getCliName() {
|
|
973604
973614
|
if (false) {
|
package/package.json
CHANGED