@fern-api/fern-api-dev 5.121.0 → 5.121.2

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.
Files changed (2) hide show
  1. package/cli.cjs +289 -264
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -158473,7 +158473,7 @@ var init_ExampleTypeFactory = __esm({
158473
158473
  let requiredProperties = {};
158474
158474
  for (const property24 of object23.properties) {
158475
158475
  const resolvedSchema = this.getResolvedSchema(property24.schema);
158476
- if (resolvedSchema.type !== "optional" && resolvedSchema.type !== "nullable") {
158476
+ if (resolvedSchema.type !== "optional") {
158477
158477
  requiredProperties[property24.key] = property24.schema;
158478
158478
  }
158479
158479
  }
@@ -268220,256 +268220,6 @@ var init_isTypeReferenceOptional = __esm({
268220
268220
  }
268221
268221
  });
268222
268222
 
268223
- // ../../commons/ir-utils/lib/examples/v1/generateContainerExample.js
268224
- function generateContainerExample({ fieldName, containerType, maxDepth, currentDepth, typeDeclarations, skipOptionalProperties, visitedTypes }) {
268225
- if (currentDepth >= maxDepth) {
268226
- return generateEmptyContainerExample({ containerType });
268227
- }
268228
- switch (containerType.type) {
268229
- case "list": {
268230
- const example = generateTypeReferenceExample({
268231
- fieldName,
268232
- typeReference: containerType.list,
268233
- maxDepth,
268234
- currentDepth: currentDepth + 1,
268235
- typeDeclarations,
268236
- skipOptionalProperties,
268237
- visitedTypes
268238
- });
268239
- if (example.type === "failure") {
268240
- return generateEmptyContainerExample({ containerType });
268241
- }
268242
- return {
268243
- type: "success",
268244
- example: ExampleContainer.list({
268245
- list: [example.example, example.example],
268246
- itemType: containerType.list
268247
- }),
268248
- jsonExample: [example.jsonExample, example.jsonExample]
268249
- };
268250
- }
268251
- case "literal": {
268252
- return {
268253
- type: "success",
268254
- example: ExampleContainer.literal({
268255
- literal: containerType.literal._visit({
268256
- boolean: (value2) => ExamplePrimitive.boolean(value2),
268257
- string: (value2) => ExamplePrimitive.string({ original: value2 }),
268258
- _other: () => {
268259
- throw new Error("Encountered unknown literal type");
268260
- }
268261
- })
268262
- }),
268263
- jsonExample: containerType.literal._visit({
268264
- boolean: (value2) => value2,
268265
- string: (value2) => value2,
268266
- _other: () => {
268267
- throw new Error("Encountered unknown literal type");
268268
- }
268269
- })
268270
- };
268271
- }
268272
- case "optional": {
268273
- if (skipOptionalProperties) {
268274
- return generateEmptyContainerExample({ containerType });
268275
- }
268276
- const example = generateTypeReferenceExample({
268277
- fieldName,
268278
- typeReference: containerType.optional,
268279
- maxDepth,
268280
- currentDepth: currentDepth + 1,
268281
- typeDeclarations,
268282
- skipOptionalProperties,
268283
- visitedTypes
268284
- });
268285
- if (example.type === "failure") {
268286
- return generateEmptyContainerExample({ containerType });
268287
- }
268288
- return {
268289
- type: "success",
268290
- example: ExampleContainer.optional({
268291
- optional: example.example,
268292
- valueType: containerType.optional
268293
- }),
268294
- jsonExample: example.jsonExample
268295
- };
268296
- }
268297
- case "nullable": {
268298
- if (skipOptionalProperties) {
268299
- return generateEmptyContainerExample({ containerType });
268300
- }
268301
- const example = generateTypeReferenceExample({
268302
- fieldName,
268303
- typeReference: containerType.nullable,
268304
- maxDepth,
268305
- currentDepth: currentDepth + 1,
268306
- typeDeclarations,
268307
- skipOptionalProperties,
268308
- visitedTypes
268309
- });
268310
- if (example.type === "failure") {
268311
- return generateEmptyContainerExample({ containerType });
268312
- }
268313
- return {
268314
- type: "success",
268315
- example: ExampleContainer.nullable({
268316
- nullable: example.example,
268317
- valueType: containerType.nullable
268318
- }),
268319
- jsonExample: example.jsonExample
268320
- };
268321
- }
268322
- case "set": {
268323
- const example = generateTypeReferenceExample({
268324
- fieldName,
268325
- typeReference: containerType.set,
268326
- maxDepth,
268327
- currentDepth: currentDepth + 1,
268328
- typeDeclarations,
268329
- skipOptionalProperties,
268330
- visitedTypes
268331
- });
268332
- if (example.type === "failure") {
268333
- return generateEmptyContainerExample({ containerType });
268334
- }
268335
- return {
268336
- type: "success",
268337
- example: ExampleContainer.set({
268338
- set: [example.example],
268339
- itemType: containerType.set
268340
- }),
268341
- jsonExample: [example.jsonExample]
268342
- };
268343
- }
268344
- case "map": {
268345
- const keyExample = generateTypeReferenceExample({
268346
- fieldName,
268347
- typeReference: containerType.keyType,
268348
- maxDepth,
268349
- currentDepth: currentDepth + 1,
268350
- typeDeclarations,
268351
- skipOptionalProperties,
268352
- visitedTypes
268353
- });
268354
- const valueExample = generateTypeReferenceExample({
268355
- fieldName,
268356
- typeReference: containerType.valueType,
268357
- maxDepth,
268358
- currentDepth: currentDepth + 1,
268359
- typeDeclarations,
268360
- skipOptionalProperties,
268361
- visitedTypes
268362
- });
268363
- if (keyExample.type === "failure" || valueExample.type === "failure") {
268364
- return generateEmptyContainerExample({ containerType });
268365
- }
268366
- return {
268367
- type: "success",
268368
- example: ExampleContainer.map({
268369
- map: [
268370
- {
268371
- key: keyExample.example,
268372
- value: valueExample.example
268373
- }
268374
- ],
268375
- keyType: containerType.keyType,
268376
- valueType: containerType.valueType
268377
- }),
268378
- // biome-ignore lint/suspicious/noExplicitAny: allow explicit any
268379
- jsonExample: { [keyExample.jsonExample]: valueExample.jsonExample }
268380
- };
268381
- }
268382
- default:
268383
- assertNever(containerType);
268384
- }
268385
- }
268386
- function generateEmptyContainerExample({ containerType }) {
268387
- switch (containerType.type) {
268388
- case "list": {
268389
- return {
268390
- type: "success",
268391
- example: ExampleContainer.list({
268392
- list: [],
268393
- itemType: containerType.list
268394
- }),
268395
- jsonExample: []
268396
- };
268397
- }
268398
- case "literal": {
268399
- return {
268400
- type: "success",
268401
- example: ExampleContainer.literal({
268402
- literal: containerType.literal._visit({
268403
- boolean: (value2) => ExamplePrimitive.boolean(value2),
268404
- string: (value2) => ExamplePrimitive.string({ original: value2 }),
268405
- _other: () => {
268406
- throw new Error("Encountered unknown literal type");
268407
- }
268408
- })
268409
- }),
268410
- jsonExample: containerType.literal._visit({
268411
- boolean: (value2) => value2,
268412
- string: (value2) => value2,
268413
- _other: () => {
268414
- throw new Error("Encountered unknown literal type");
268415
- }
268416
- })
268417
- };
268418
- }
268419
- case "optional": {
268420
- return {
268421
- type: "success",
268422
- example: ExampleContainer.optional({
268423
- optional: void 0,
268424
- valueType: containerType.optional
268425
- }),
268426
- jsonExample: void 0
268427
- };
268428
- }
268429
- case "nullable": {
268430
- return {
268431
- type: "success",
268432
- example: ExampleContainer.nullable({
268433
- nullable: void 0,
268434
- valueType: containerType.nullable
268435
- }),
268436
- jsonExample: void 0
268437
- };
268438
- }
268439
- case "set": {
268440
- return {
268441
- type: "success",
268442
- example: ExampleContainer.set({
268443
- set: [],
268444
- itemType: containerType.set
268445
- }),
268446
- jsonExample: []
268447
- };
268448
- }
268449
- case "map": {
268450
- return {
268451
- type: "success",
268452
- example: ExampleContainer.map({
268453
- map: [],
268454
- keyType: containerType.keyType,
268455
- valueType: containerType.valueType
268456
- }),
268457
- jsonExample: {}
268458
- };
268459
- }
268460
- default:
268461
- assertNever(containerType);
268462
- }
268463
- }
268464
- var init_generateContainerExample = __esm({
268465
- "../../commons/ir-utils/lib/examples/v1/generateContainerExample.js"() {
268466
- "use strict";
268467
- init_lib4();
268468
- init_lib9();
268469
- init_generateTypeReferenceExample();
268470
- }
268471
- });
268472
-
268473
268223
  // ../../commons/ir-utils/lib/examples/v1/generatePrimitiveExample.js
268474
268224
  function generatePrimitiveExample({ fieldName, primitiveType: primitiveType2 }) {
268475
268225
  switch (primitiveType2.v1) {
@@ -269386,6 +269136,263 @@ var init_generateTypeReferenceExample = __esm({
269386
269136
  }
269387
269137
  });
269388
269138
 
269139
+ // ../../commons/ir-utils/lib/examples/v1/generateContainerExample.js
269140
+ function generateContainerExample({ fieldName, containerType, maxDepth, currentDepth, typeDeclarations, skipOptionalProperties, visitedTypes }) {
269141
+ if (currentDepth >= maxDepth) {
269142
+ return generateEmptyContainerExample({ containerType });
269143
+ }
269144
+ switch (containerType.type) {
269145
+ case "list": {
269146
+ const example = generateTypeReferenceExample({
269147
+ fieldName,
269148
+ typeReference: containerType.list,
269149
+ maxDepth,
269150
+ currentDepth: currentDepth + 1,
269151
+ typeDeclarations,
269152
+ skipOptionalProperties,
269153
+ visitedTypes
269154
+ });
269155
+ if (example.type === "failure") {
269156
+ return generateEmptyContainerExample({ containerType });
269157
+ }
269158
+ return {
269159
+ type: "success",
269160
+ example: ExampleContainer.list({
269161
+ list: [example.example, example.example],
269162
+ itemType: containerType.list
269163
+ }),
269164
+ jsonExample: [example.jsonExample, example.jsonExample]
269165
+ };
269166
+ }
269167
+ case "literal": {
269168
+ return {
269169
+ type: "success",
269170
+ example: ExampleContainer.literal({
269171
+ literal: containerType.literal._visit({
269172
+ boolean: (value2) => ExamplePrimitive.boolean(value2),
269173
+ string: (value2) => ExamplePrimitive.string({ original: value2 }),
269174
+ _other: () => {
269175
+ throw new Error("Encountered unknown literal type");
269176
+ }
269177
+ })
269178
+ }),
269179
+ jsonExample: containerType.literal._visit({
269180
+ boolean: (value2) => value2,
269181
+ string: (value2) => value2,
269182
+ _other: () => {
269183
+ throw new Error("Encountered unknown literal type");
269184
+ }
269185
+ })
269186
+ };
269187
+ }
269188
+ case "optional": {
269189
+ if (skipOptionalProperties) {
269190
+ return generateEmptyContainerExample({ containerType });
269191
+ }
269192
+ const example = generateTypeReferenceExample({
269193
+ fieldName,
269194
+ typeReference: containerType.optional,
269195
+ maxDepth,
269196
+ currentDepth: currentDepth + 1,
269197
+ typeDeclarations,
269198
+ skipOptionalProperties,
269199
+ visitedTypes
269200
+ });
269201
+ if (example.type === "failure") {
269202
+ return generateEmptyContainerExample({ containerType });
269203
+ }
269204
+ return {
269205
+ type: "success",
269206
+ example: ExampleContainer.optional({
269207
+ optional: example.example,
269208
+ valueType: containerType.optional
269209
+ }),
269210
+ jsonExample: example.jsonExample
269211
+ };
269212
+ }
269213
+ case "nullable": {
269214
+ if (skipOptionalProperties) {
269215
+ return {
269216
+ type: "success",
269217
+ example: ExampleContainer.nullable({
269218
+ nullable: void 0,
269219
+ valueType: containerType.nullable
269220
+ }),
269221
+ jsonExample: null
269222
+ };
269223
+ }
269224
+ const example = generateTypeReferenceExample({
269225
+ fieldName,
269226
+ typeReference: containerType.nullable,
269227
+ maxDepth,
269228
+ currentDepth: currentDepth + 1,
269229
+ typeDeclarations,
269230
+ skipOptionalProperties,
269231
+ visitedTypes
269232
+ });
269233
+ if (example.type === "failure") {
269234
+ return generateEmptyContainerExample({ containerType });
269235
+ }
269236
+ return {
269237
+ type: "success",
269238
+ example: ExampleContainer.nullable({
269239
+ nullable: example.example,
269240
+ valueType: containerType.nullable
269241
+ }),
269242
+ jsonExample: example.jsonExample
269243
+ };
269244
+ }
269245
+ case "set": {
269246
+ const example = generateTypeReferenceExample({
269247
+ fieldName,
269248
+ typeReference: containerType.set,
269249
+ maxDepth,
269250
+ currentDepth: currentDepth + 1,
269251
+ typeDeclarations,
269252
+ skipOptionalProperties,
269253
+ visitedTypes
269254
+ });
269255
+ if (example.type === "failure") {
269256
+ return generateEmptyContainerExample({ containerType });
269257
+ }
269258
+ return {
269259
+ type: "success",
269260
+ example: ExampleContainer.set({
269261
+ set: [example.example],
269262
+ itemType: containerType.set
269263
+ }),
269264
+ jsonExample: [example.jsonExample]
269265
+ };
269266
+ }
269267
+ case "map": {
269268
+ const keyExample = generateTypeReferenceExample({
269269
+ fieldName,
269270
+ typeReference: containerType.keyType,
269271
+ maxDepth,
269272
+ currentDepth: currentDepth + 1,
269273
+ typeDeclarations,
269274
+ skipOptionalProperties,
269275
+ visitedTypes
269276
+ });
269277
+ const valueExample = generateTypeReferenceExample({
269278
+ fieldName,
269279
+ typeReference: containerType.valueType,
269280
+ maxDepth,
269281
+ currentDepth: currentDepth + 1,
269282
+ typeDeclarations,
269283
+ skipOptionalProperties,
269284
+ visitedTypes
269285
+ });
269286
+ if (keyExample.type === "failure" || valueExample.type === "failure") {
269287
+ return generateEmptyContainerExample({ containerType });
269288
+ }
269289
+ return {
269290
+ type: "success",
269291
+ example: ExampleContainer.map({
269292
+ map: [
269293
+ {
269294
+ key: keyExample.example,
269295
+ value: valueExample.example
269296
+ }
269297
+ ],
269298
+ keyType: containerType.keyType,
269299
+ valueType: containerType.valueType
269300
+ }),
269301
+ // biome-ignore lint/suspicious/noExplicitAny: allow explicit any
269302
+ jsonExample: { [keyExample.jsonExample]: valueExample.jsonExample }
269303
+ };
269304
+ }
269305
+ default:
269306
+ assertNever(containerType);
269307
+ }
269308
+ }
269309
+ function generateEmptyContainerExample({ containerType }) {
269310
+ switch (containerType.type) {
269311
+ case "list": {
269312
+ return {
269313
+ type: "success",
269314
+ example: ExampleContainer.list({
269315
+ list: [],
269316
+ itemType: containerType.list
269317
+ }),
269318
+ jsonExample: []
269319
+ };
269320
+ }
269321
+ case "literal": {
269322
+ return {
269323
+ type: "success",
269324
+ example: ExampleContainer.literal({
269325
+ literal: containerType.literal._visit({
269326
+ boolean: (value2) => ExamplePrimitive.boolean(value2),
269327
+ string: (value2) => ExamplePrimitive.string({ original: value2 }),
269328
+ _other: () => {
269329
+ throw new Error("Encountered unknown literal type");
269330
+ }
269331
+ })
269332
+ }),
269333
+ jsonExample: containerType.literal._visit({
269334
+ boolean: (value2) => value2,
269335
+ string: (value2) => value2,
269336
+ _other: () => {
269337
+ throw new Error("Encountered unknown literal type");
269338
+ }
269339
+ })
269340
+ };
269341
+ }
269342
+ case "optional": {
269343
+ return {
269344
+ type: "success",
269345
+ example: ExampleContainer.optional({
269346
+ optional: void 0,
269347
+ valueType: containerType.optional
269348
+ }),
269349
+ jsonExample: void 0
269350
+ };
269351
+ }
269352
+ case "nullable": {
269353
+ return {
269354
+ type: "success",
269355
+ example: ExampleContainer.nullable({
269356
+ nullable: void 0,
269357
+ valueType: containerType.nullable
269358
+ }),
269359
+ jsonExample: void 0
269360
+ };
269361
+ }
269362
+ case "set": {
269363
+ return {
269364
+ type: "success",
269365
+ example: ExampleContainer.set({
269366
+ set: [],
269367
+ itemType: containerType.set
269368
+ }),
269369
+ jsonExample: []
269370
+ };
269371
+ }
269372
+ case "map": {
269373
+ return {
269374
+ type: "success",
269375
+ example: ExampleContainer.map({
269376
+ map: [],
269377
+ keyType: containerType.keyType,
269378
+ valueType: containerType.valueType
269379
+ }),
269380
+ jsonExample: {}
269381
+ };
269382
+ }
269383
+ default:
269384
+ assertNever(containerType);
269385
+ }
269386
+ }
269387
+ var init_generateContainerExample = __esm({
269388
+ "../../commons/ir-utils/lib/examples/v1/generateContainerExample.js"() {
269389
+ "use strict";
269390
+ init_lib4();
269391
+ init_lib9();
269392
+ init_generateTypeReferenceExample();
269393
+ }
269394
+ });
269395
+
269389
269396
  // ../../commons/ir-utils/lib/examples/v1/generateParameterExamples.js
269390
269397
  function generatePathParameterExamples2(pathParameters, options2) {
269391
269398
  const result = [];
@@ -269619,11 +269626,22 @@ function generateEndpointExample({ ir: ir3, endpoint: endpoint3, service, typeDe
269619
269626
  break;
269620
269627
  }
269621
269628
  case "reference": {
269629
+ const requestBodyType = endpoint3.requestBody.requestBodyType;
269630
+ if (skipOptionalRequestProperties && requestBodyType.type === "container" && requestBodyType.container.type === "nullable") {
269631
+ const { example: emptyExample } = generateEmptyContainerExample({
269632
+ containerType: requestBodyType.container
269633
+ });
269634
+ result.request = ExampleRequestBody.reference({
269635
+ jsonExample: void 0,
269636
+ shape: ExampleTypeReferenceShape.container(emptyExample)
269637
+ });
269638
+ break;
269639
+ }
269622
269640
  const generatedExample = generateTypeReferenceExample({
269623
269641
  currentDepth: 0,
269624
269642
  maxDepth: 10,
269625
269643
  typeDeclarations,
269626
- typeReference: endpoint3.requestBody.requestBodyType,
269644
+ typeReference: requestBodyType,
269627
269645
  skipOptionalProperties: skipOptionalRequestProperties
269628
269646
  });
269629
269647
  if (generatedExample.type === "failure") {
@@ -269836,6 +269854,7 @@ var init_generateEndpointExample = __esm({
269836
269854
  init_hashJSON();
269837
269855
  init_isTypeReferenceOptional();
269838
269856
  init_namesUtils();
269857
+ init_generateContainerExample();
269839
269858
  init_generateParameterExamples();
269840
269859
  init_generateTypeDeclarationExample();
269841
269860
  init_generateTypeReferenceExample();
@@ -706764,7 +706783,7 @@ var AccessTokenPosthogManager = class {
706764
706783
  properties: {
706765
706784
  ...event,
706766
706785
  ...event.properties,
706767
- version: "5.121.0",
706786
+ version: "5.121.2",
706768
706787
  usingAccessToken: true,
706769
706788
  ...getRunIdProperties()
706770
706789
  }
@@ -706830,7 +706849,7 @@ var UserPosthogManager = class {
706830
706849
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
706831
706850
  event: "CLI",
706832
706851
  properties: {
706833
- version: "5.121.0",
706852
+ version: "5.121.2",
706834
706853
  ...event,
706835
706854
  ...event.properties,
706836
706855
  usingAccessToken: false,
@@ -888533,7 +888552,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
888533
888552
  var LOGS_FOLDER_NAME = "logs";
888534
888553
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
888535
888554
  function getCliSource() {
888536
- const version7 = "5.121.0";
888555
+ const version7 = "5.121.2";
888537
888556
  return `cli@${version7}`;
888538
888557
  }
888539
888558
  var DebugLogger = class {
@@ -912908,8 +912927,8 @@ async function runRemoteGenerationForGenerator({ projectConfig, organization, wo
912908
912927
  await sdkGenApiPreparationBatch?.ready(sdkGenApiTargetIdSeed, sdkConfigBuildParameters);
912909
912928
  }
912910
912929
  const requiresFdrRegistration = sdkGenApiRoute?.payloadKind !== "sdk-config-v1";
912911
- let generateOauthClients = false;
912912
- let generatePaginatedClients = false;
912930
+ let generateOauthClients = true;
912931
+ let generatePaginatedClients = true;
912913
912932
  if (!isAirGapped && requiresFdrRegistration) {
912914
912933
  const venus = createVenusService({ token: token.value });
912915
912934
  const orgResponse = await venus.organization.get({ orgId: projectConfig.organization });
@@ -912921,8 +912940,10 @@ async function runRemoteGenerationForGenerator({ projectConfig, organization, wo
912921
912940
  ir3.readmeConfig.whiteLabel = true;
912922
912941
  }
912923
912942
  ir3.selfHosted = orgResponse.body.selfHostedSdKs;
912924
- generateOauthClients = orgResponse.body.oauthClientEnabled ?? false;
912925
- generatePaginatedClients = orgResponse.body.paginationEnabled ?? false;
912943
+ generateOauthClients = orgResponse.body.oauthClientEnabled ?? true;
912944
+ generatePaginatedClients = orgResponse.body.paginationEnabled ?? true;
912945
+ } else {
912946
+ interactiveTaskContext.logger.warn(`Failed to load organization settings for ${projectConfig.organization}; assuming pagination and OAuth clients are enabled.`);
912926
912947
  }
912927
912948
  }
912928
912949
  let fdrApiDefinitionId;
@@ -915881,7 +915902,7 @@ var LegacyDocsPublisher = class {
915881
915902
  previewId,
915882
915903
  disableTemplates: void 0,
915883
915904
  skipUpload,
915884
- cliVersion: "5.121.0",
915905
+ cliVersion: "5.121.2",
915885
915906
  loginCommand: "fern auth login"
915886
915907
  });
915887
915908
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -967001,6 +967022,10 @@ var TypescriptCustomConfigSchema = external_exports2.strictObject({
967001
967022
  // Workers, Deno). Node behavior is unchanged.
967002
967023
  guardProcessEnvAccess: external_exports2.optional(external_exports2.boolean()),
967003
967024
  generateReactQueryHooks: external_exports2.optional(external_exports2.boolean()),
967025
+ // Controls how generated WebSocket socket classes store handlers registered via `on()`.
967026
+ // `replace` (default): a second `on()` for the same event replaces the previous handler.
967027
+ // `accumulate`: handlers accumulate and run in registration order.
967028
+ websocketHandlerMode: external_exports2.optional(external_exports2.enum(["replace", "accumulate"])),
967004
967029
  // beta (not in docs)
967005
967030
  includeContentHeadersOnFileDownloadResponse: external_exports2.optional(external_exports2.boolean()),
967006
967031
  includeUtilsOnUnionMembers: external_exports2.optional(external_exports2.boolean()),
@@ -971383,8 +971408,8 @@ generators:
971383
971408
  irVersionOverride: generatorInvocation.irVersionOverride,
971384
971409
  outputVersionOverride: version7,
971385
971410
  writeUnitTests: true,
971386
- generateOauthClients: orgBody?.oauthClientEnabled ?? false,
971387
- generatePaginatedClients: orgBody?.paginationEnabled ?? false,
971411
+ generateOauthClients: orgBody?.oauthClientEnabled ?? true,
971412
+ generatePaginatedClients: orgBody?.paginationEnabled ?? true,
971388
971413
  includeOptionalRequestPropertyExamples: false,
971389
971414
  inspect: inspect6,
971390
971415
  executionEnvironment: void 0,
@@ -983306,7 +983331,7 @@ function getAutomationContextFromEnv() {
983306
983331
  config_branch: process.env.FERN_CONFIG_BRANCH,
983307
983332
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
983308
983333
  trigger: process.env.GITHUB_EVENT_NAME,
983309
- cli_version: "5.121.0"
983334
+ cli_version: "5.121.2"
983310
983335
  };
983311
983336
  }
983312
983337
  function isAutomationMode() {
@@ -984138,7 +984163,7 @@ var CliContext = class _CliContext {
984138
984163
  if (false) {
984139
984164
  this.logger.error("CLI_VERSION is not defined");
984140
984165
  }
984141
- return "5.121.0";
984166
+ return "5.121.2";
984142
984167
  }
984143
984168
  getCliName() {
984144
984169
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.121.0",
2
+ "version": "5.121.2",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",