@fern-api/fern-api-dev 3.48.3 → 3.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.cjs +36 -9
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1430141,7 +1430141,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1430141
1430141
|
properties: {
|
|
1430142
1430142
|
...event,
|
|
1430143
1430143
|
...event.properties,
|
|
1430144
|
-
version: "3.
|
|
1430144
|
+
version: "3.49.0",
|
|
1430145
1430145
|
usingAccessToken: true
|
|
1430146
1430146
|
}
|
|
1430147
1430147
|
});
|
|
@@ -1430240,7 +1430240,7 @@ var UserPosthogManager = class {
|
|
|
1430240
1430240
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1430241
1430241
|
event: "CLI",
|
|
1430242
1430242
|
properties: {
|
|
1430243
|
-
version: "3.
|
|
1430243
|
+
version: "3.49.0",
|
|
1430244
1430244
|
...event,
|
|
1430245
1430245
|
...event.properties,
|
|
1430246
1430246
|
usingAccessToken: false,
|
|
@@ -1486420,8 +1486420,10 @@ var BearerAuthScheme = schemas_exports8.objectWithoutOptionalProperties({
|
|
|
1486420
1486420
|
var BasicAuthScheme = schemas_exports8.objectWithoutOptionalProperties({
|
|
1486421
1486421
|
username: Name,
|
|
1486422
1486422
|
usernameEnvVar: EnvironmentVariable.optional(),
|
|
1486423
|
+
usernameOmit: schemas_exports8.boolean().optional(),
|
|
1486423
1486424
|
password: Name,
|
|
1486424
|
-
passwordEnvVar: EnvironmentVariable.optional()
|
|
1486425
|
+
passwordEnvVar: EnvironmentVariable.optional(),
|
|
1486426
|
+
passwordOmit: schemas_exports8.boolean().optional()
|
|
1486425
1486427
|
}).extend(BaseAuthScheme);
|
|
1486426
1486428
|
|
|
1486427
1486429
|
// ../../ir-sdk/lib/sdk/serialization/resources/commons/types/NameAndWireValue.js
|
|
@@ -1492738,7 +1492740,9 @@ var HeaderAuthSchemeSchema2 = schemas_exports9.object({
|
|
|
1492738
1492740
|
}).extend(WithEnvironmentVariable2).extend(WithName2).extend(WithDocsSchema2);
|
|
1492739
1492741
|
|
|
1492740
1492742
|
// ../fern-definition/schema/lib/schemas/serialization/resources/auth/types/AuthVariable.js
|
|
1492741
|
-
var AuthVariable2 = schemas_exports9.object({
|
|
1492743
|
+
var AuthVariable2 = schemas_exports9.object({
|
|
1492744
|
+
omit: schemas_exports9.boolean().optional()
|
|
1492745
|
+
}).extend(WithEnvironmentVariable2).extend(WithName2);
|
|
1492742
1492746
|
|
|
1492743
1492747
|
// ../fern-definition/schema/lib/schemas/serialization/resources/auth/types/BasicAuthSchemeSchema.js
|
|
1492744
1492748
|
var BasicAuthSchemeSchema2 = schemas_exports9.object({
|
|
@@ -1494643,8 +1494647,10 @@ function generateBasicAuth({ key, casingsGenerator, docs, rawScheme }) {
|
|
|
1494643
1494647
|
docs,
|
|
1494644
1494648
|
username: casingsGenerator.generateName(rawScheme?.username?.name ?? "username"),
|
|
1494645
1494649
|
usernameEnvVar: rawScheme?.username?.env,
|
|
1494650
|
+
usernameOmit: rawScheme?.username?.omit,
|
|
1494646
1494651
|
password: casingsGenerator.generateName(rawScheme?.password?.name ?? "password"),
|
|
1494647
|
-
passwordEnvVar: rawScheme?.password?.env
|
|
1494652
|
+
passwordEnvVar: rawScheme?.password?.env,
|
|
1494653
|
+
passwordOmit: rawScheme?.password?.omit
|
|
1494648
1494654
|
});
|
|
1494649
1494655
|
}
|
|
1494650
1494656
|
|
|
@@ -1509669,7 +1509675,7 @@ var CliContext = class {
|
|
|
1509669
1509675
|
if (false) {
|
|
1509670
1509676
|
this.logger.error("CLI_VERSION is not defined");
|
|
1509671
1509677
|
}
|
|
1509672
|
-
return "3.
|
|
1509678
|
+
return "3.49.0";
|
|
1509673
1509679
|
}
|
|
1509674
1509680
|
getCliName() {
|
|
1509675
1509681
|
if (false) {
|
|
@@ -1545572,6 +1545578,16 @@ var definitions = {
|
|
|
1545572
1545578
|
type: "null"
|
|
1545573
1545579
|
}
|
|
1545574
1545580
|
]
|
|
1545581
|
+
},
|
|
1545582
|
+
omit: {
|
|
1545583
|
+
oneOf: [
|
|
1545584
|
+
{
|
|
1545585
|
+
type: "boolean"
|
|
1545586
|
+
},
|
|
1545587
|
+
{
|
|
1545588
|
+
type: "null"
|
|
1545589
|
+
}
|
|
1545590
|
+
]
|
|
1545575
1545591
|
}
|
|
1545576
1545592
|
},
|
|
1545577
1545593
|
additionalProperties: false
|
|
@@ -1558233,6 +1558249,8 @@ var SecuritySchemeConverter = class extends AbstractConverter {
|
|
|
1558233
1558249
|
password: this.context.casingsGenerator.generateName(passwordName),
|
|
1558234
1558250
|
usernameEnvVar,
|
|
1558235
1558251
|
passwordEnvVar,
|
|
1558252
|
+
usernameOmit: false,
|
|
1558253
|
+
passwordOmit: false,
|
|
1558236
1558254
|
docs: this.securityScheme.description
|
|
1558237
1558255
|
});
|
|
1558238
1558256
|
}
|
|
@@ -1590221,8 +1590239,10 @@ function generateBasicAuth2({ key, file: file2, docs, rawScheme }) {
|
|
|
1590221
1590239
|
docs,
|
|
1590222
1590240
|
username: file2.casingsGenerator.generateName(rawScheme?.username?.name ?? "username"),
|
|
1590223
1590241
|
usernameEnvVar: rawScheme?.username?.env,
|
|
1590242
|
+
usernameOmit: rawScheme?.username?.omit,
|
|
1590224
1590243
|
password: file2.casingsGenerator.generateName(rawScheme?.password?.name ?? "password"),
|
|
1590225
|
-
passwordEnvVar: rawScheme?.password?.env
|
|
1590244
|
+
passwordEnvVar: rawScheme?.password?.env,
|
|
1590245
|
+
passwordOmit: rawScheme?.password?.omit
|
|
1590226
1590246
|
});
|
|
1590227
1590247
|
}
|
|
1590228
1590248
|
function generateOAuth({ key, file: file2, docs, rawScheme, propertyResolver, endpointResolver }) {
|
|
@@ -1610870,7 +1610890,7 @@ var import_path40 = __toESM(require("path"), 1);
|
|
|
1610870
1610890
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1610871
1610891
|
var LOGS_FOLDER_NAME = "logs";
|
|
1610872
1610892
|
function getCliSource() {
|
|
1610873
|
-
const version7 = "3.
|
|
1610893
|
+
const version7 = "3.49.0";
|
|
1610874
1610894
|
return `cli@${version7}`;
|
|
1610875
1610895
|
}
|
|
1610876
1610896
|
var DebugLogger = class {
|
|
@@ -1643355,7 +1643375,14 @@ function convertApiAuth3(auth8) {
|
|
|
1643355
1643375
|
function convertAuthScheme8(scheme) {
|
|
1643356
1643376
|
switch (scheme.type) {
|
|
1643357
1643377
|
case "basic":
|
|
1643358
|
-
return IrVersions_exports.V62.AuthScheme.basic(
|
|
1643378
|
+
return IrVersions_exports.V62.AuthScheme.basic({
|
|
1643379
|
+
key: scheme.key,
|
|
1643380
|
+
docs: scheme.docs,
|
|
1643381
|
+
username: scheme.username,
|
|
1643382
|
+
usernameEnvVar: scheme.usernameEnvVar,
|
|
1643383
|
+
password: scheme.password,
|
|
1643384
|
+
passwordEnvVar: scheme.passwordEnvVar
|
|
1643385
|
+
});
|
|
1643359
1643386
|
case "bearer":
|
|
1643360
1643387
|
return IrVersions_exports.V62.AuthScheme.bearer(scheme);
|
|
1643361
1643388
|
case "header":
|
package/package.json
CHANGED