@fern-api/fern-api-dev 5.74.3 → 5.75.1
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 +484 -197
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -79657,7 +79657,8 @@ var init_CasingsConfig2 = __esm({
|
|
|
79657
79657
|
CasingsConfig = schemas_exports3.objectWithoutOptionalProperties({
|
|
79658
79658
|
generationLanguage: SupportedSdkLanguage2.optional(),
|
|
79659
79659
|
keywords: schemas_exports3.list(schemas_exports3.string()).optional(),
|
|
79660
|
-
smartCasing: schemas_exports3.boolean()
|
|
79660
|
+
smartCasing: schemas_exports3.boolean(),
|
|
79661
|
+
smartCasingDigitWordBoundary: schemas_exports3.boolean().optional()
|
|
79661
79662
|
});
|
|
79662
79663
|
}
|
|
79663
79664
|
});
|
|
@@ -130696,6 +130697,7 @@ var init_BaseGeneratorInvocationSchema2 = __esm({
|
|
|
130696
130697
|
snippets: GeneratorSnippetsSchema.optional(),
|
|
130697
130698
|
"ir-version": schemas_exports8.string().optional(),
|
|
130698
130699
|
"smart-casing": schemas_exports8.boolean().optional(),
|
|
130700
|
+
"smart-casing-digit-word-boundary": schemas_exports8.boolean().optional(),
|
|
130699
130701
|
api: GeneratorApiSettingsSchema.optional(),
|
|
130700
130702
|
"disable-examples": schemas_exports8.boolean().optional(),
|
|
130701
130703
|
"publish-metadata": GeneratorPublishMetadataSchema.optional(),
|
|
@@ -260866,6 +260868,7 @@ async function convertGenerator({ absolutePathToGeneratorsConfiguration, generat
|
|
|
260866
260868
|
}),
|
|
260867
260869
|
keywords: generator.keywords,
|
|
260868
260870
|
smartCasing: generator["smart-casing"] ?? true,
|
|
260871
|
+
smartCasingDigitWordBoundary: generator["smart-casing-digit-word-boundary"] ?? false,
|
|
260869
260872
|
disableExamples: generator["disable-examples"] ?? false,
|
|
260870
260873
|
absolutePathToLocalOutput: generator.output?.location === "local-file-system" ? resolve6(dirname6(absolutePathToGeneratorsConfiguration), generator.output.path) : void 0,
|
|
260871
260874
|
absolutePathToLocalSnippets: generator.snippets?.path != null ? resolve6(dirname6(absolutePathToGeneratorsConfiguration), generator.snippets.path) : void 0,
|
|
@@ -262719,7 +262722,7 @@ var init_reserved = __esm({
|
|
|
262719
262722
|
|
|
262720
262723
|
// ../../commons/casings-generator/lib/CasingsGenerator.js
|
|
262721
262724
|
function computeName(inputName, opts, config5) {
|
|
262722
|
-
const { generationLanguage, keywords: keywords3, smartCasing } = config5;
|
|
262725
|
+
const { generationLanguage, keywords: keywords3, smartCasing, smartCasingDigitWordBoundary } = config5;
|
|
262723
262726
|
const name2 = preprocessName(inputName);
|
|
262724
262727
|
const generateSafeAndUnsafeString = (unsafeString) => ({
|
|
262725
262728
|
unsafeName: unsafeString,
|
|
@@ -262768,7 +262771,7 @@ function computeName(inputName, opts, config5) {
|
|
|
262768
262771
|
return segments.map((segment, index3) => {
|
|
262769
262772
|
const casedSegment = snakeCase_default(segment);
|
|
262770
262773
|
const previousSegment = segments[index3 - 1];
|
|
262771
|
-
const startsNewWord = casedSegment !== "" && previousSegment != null && /^\d+$/.test(previousSegment) && /^[^a-z0-9]/.test(segment);
|
|
262774
|
+
const startsNewWord = (smartCasingDigitWordBoundary ?? false) && casedSegment !== "" && previousSegment != null && /^\d+$/.test(previousSegment) && /^[^a-z0-9]/.test(segment);
|
|
262772
262775
|
return startsNewWord ? `_${casedSegment}` : casedSegment;
|
|
262773
262776
|
}).join("");
|
|
262774
262777
|
}).join("_");
|
|
@@ -262782,8 +262785,8 @@ function computeName(inputName, opts, config5) {
|
|
|
262782
262785
|
pascalCase: generateSafeAndUnsafeString(opts.casingOverrides?.pascal ?? pascalCaseName)
|
|
262783
262786
|
};
|
|
262784
262787
|
}
|
|
262785
|
-
function constructCasingsGenerator({ generationLanguage, keywords: keywords3, smartCasing }) {
|
|
262786
|
-
const config5 = { generationLanguage, keywords: keywords3, smartCasing };
|
|
262788
|
+
function constructCasingsGenerator({ generationLanguage, keywords: keywords3, smartCasing, smartCasingDigitWordBoundary }) {
|
|
262789
|
+
const config5 = { generationLanguage, keywords: keywords3, smartCasing, smartCasingDigitWordBoundary };
|
|
262787
262790
|
return {
|
|
262788
262791
|
generateName: (inputName, opts) => {
|
|
262789
262792
|
if (opts?.casingOverrides != null) {
|
|
@@ -262802,8 +262805,8 @@ function constructCasingsGenerator({ generationLanguage, keywords: keywords3, sm
|
|
|
262802
262805
|
}
|
|
262803
262806
|
};
|
|
262804
262807
|
}
|
|
262805
|
-
function constructFullCasingsGenerator({ generationLanguage, keywords: keywords3, smartCasing }) {
|
|
262806
|
-
const config5 = { generationLanguage, keywords: keywords3, smartCasing };
|
|
262808
|
+
function constructFullCasingsGenerator({ generationLanguage, keywords: keywords3, smartCasing, smartCasingDigitWordBoundary }) {
|
|
262809
|
+
const config5 = { generationLanguage, keywords: keywords3, smartCasing, smartCasingDigitWordBoundary };
|
|
262807
262810
|
return {
|
|
262808
262811
|
generateName: (inputName, opts) => {
|
|
262809
262812
|
if (typeof inputName === "string") {
|
|
@@ -272873,11 +272876,13 @@ var init_DynamicSnippetsConverter = __esm({
|
|
|
272873
272876
|
this.casingsGenerator = constructCasingsGenerator({
|
|
272874
272877
|
generationLanguage: args.generationLanguage,
|
|
272875
272878
|
smartCasing: args.smartCasing ?? args.ir.casingsConfig?.smartCasing ?? true,
|
|
272879
|
+
smartCasingDigitWordBoundary: args.smartCasingDigitWordBoundary ?? args.ir.casingsConfig?.smartCasingDigitWordBoundary ?? false,
|
|
272876
272880
|
keywords: args.ir.casingsConfig?.keywords
|
|
272877
272881
|
});
|
|
272878
272882
|
this.fullCasingsGenerator = constructFullCasingsGenerator({
|
|
272879
272883
|
generationLanguage: args.generationLanguage,
|
|
272880
272884
|
smartCasing: args.smartCasing ?? args.ir.casingsConfig?.smartCasing ?? true,
|
|
272885
|
+
smartCasingDigitWordBoundary: args.smartCasingDigitWordBoundary ?? args.ir.casingsConfig?.smartCasingDigitWordBoundary ?? false,
|
|
272881
272886
|
keywords: args.ir.casingsConfig?.keywords
|
|
272882
272887
|
});
|
|
272883
272888
|
this.auth = this.convertAuth(this.ir.auth);
|
|
@@ -273656,8 +273661,14 @@ var init_DynamicSnippetsConverter = __esm({
|
|
|
273656
273661
|
});
|
|
273657
273662
|
|
|
273658
273663
|
// ../generation/ir-generator/lib/dynamic-snippets/convertIrToDynamicSnippetsIr.js
|
|
273659
|
-
function convertIrToDynamicSnippetsIr({ ir: ir3, generationLanguage, smartCasing, disableExamples, generatorConfig }) {
|
|
273660
|
-
const converter = new DynamicSnippetsConverter({
|
|
273664
|
+
function convertIrToDynamicSnippetsIr({ ir: ir3, generationLanguage, smartCasing, smartCasingDigitWordBoundary, disableExamples, generatorConfig }) {
|
|
273665
|
+
const converter = new DynamicSnippetsConverter({
|
|
273666
|
+
ir: ir3,
|
|
273667
|
+
generationLanguage,
|
|
273668
|
+
smartCasing,
|
|
273669
|
+
smartCasingDigitWordBoundary,
|
|
273670
|
+
generatorConfig
|
|
273671
|
+
});
|
|
273661
273672
|
return converter.convert({ disableExamples });
|
|
273662
273673
|
}
|
|
273663
273674
|
var init_convertIrToDynamicSnippetsIr = __esm({
|
|
@@ -277807,9 +277818,14 @@ var init_getIrGenerationSettings = __esm({
|
|
|
277807
277818
|
});
|
|
277808
277819
|
|
|
277809
277820
|
// ../generation/ir-generator/lib/generateIntermediateRepresentation.js
|
|
277810
|
-
function generateIntermediateRepresentation({ workspace, generationLanguage, keywords: keywords3, smartCasing, exampleGeneration, audiences, readme, packageName, userAgentTemplate, idempotencyKeyGeneration, organization, version: version7, context: context3, fdrApiDefinitionId, sourceResolver, disableDynamicExamples, dynamicGeneratorConfig, generationMetadata }) {
|
|
277821
|
+
function generateIntermediateRepresentation({ workspace, generationLanguage, keywords: keywords3, smartCasing, smartCasingDigitWordBoundary, exampleGeneration, audiences, readme, packageName, userAgentTemplate, idempotencyKeyGeneration, organization, version: version7, context: context3, fdrApiDefinitionId, sourceResolver, disableDynamicExamples, dynamicGeneratorConfig, generationMetadata }) {
|
|
277811
277822
|
const irSettings = getIrGenerationSettings({ workspace });
|
|
277812
|
-
const casingsGenerator = constructCasingsGenerator({
|
|
277823
|
+
const casingsGenerator = constructCasingsGenerator({
|
|
277824
|
+
generationLanguage,
|
|
277825
|
+
keywords: keywords3,
|
|
277826
|
+
smartCasing,
|
|
277827
|
+
smartCasingDigitWordBoundary
|
|
277828
|
+
});
|
|
277813
277829
|
const irGraph = new IrGraph(audiences);
|
|
277814
277830
|
const rootApiFileContext = constructRootApiFileContext({
|
|
277815
277831
|
casingsGenerator,
|
|
@@ -277889,7 +277905,7 @@ function generateIntermediateRepresentation({ workspace, generationLanguage, key
|
|
|
277889
277905
|
audiences: workspace.definition.rootApiFile.contents.audiences,
|
|
277890
277906
|
generationMetadata,
|
|
277891
277907
|
apiPlayground: true,
|
|
277892
|
-
casingsConfig: { generationLanguage, keywords: keywords3, smartCasing }
|
|
277908
|
+
casingsConfig: { generationLanguage, keywords: keywords3, smartCasing, smartCasingDigitWordBoundary }
|
|
277893
277909
|
};
|
|
277894
277910
|
const packageTreeGenerator = new PackageTreeGenerator();
|
|
277895
277911
|
const visitDefinitionFile = (file4) => {
|
|
@@ -278189,7 +278205,8 @@ function generateIntermediateRepresentation({ workspace, generationLanguage, key
|
|
|
278189
278205
|
generatorConfig: dynamicGeneratorConfig,
|
|
278190
278206
|
disableExamples: disableDynamicExamples,
|
|
278191
278207
|
generationLanguage,
|
|
278192
|
-
smartCasing
|
|
278208
|
+
smartCasing,
|
|
278209
|
+
smartCasingDigitWordBoundary
|
|
278193
278210
|
})
|
|
278194
278211
|
};
|
|
278195
278212
|
}
|
|
@@ -565651,56 +565668,44 @@ var require_AutoVersioningService = __commonJS({
|
|
|
565651
565668
|
}
|
|
565652
565669
|
/**
|
|
565653
565670
|
* Removes paired - and + lines where the only difference is the magic version.
|
|
565671
|
+
*
|
|
565672
|
+
* Matching is done across the whole section rather than only between adjacent lines.
|
|
565673
|
+
* Unified diffs group every deletion before every addition within a hunk, so when
|
|
565674
|
+
* several version-bearing lines change together (e.g. `X-Fern-SDK-Version` and
|
|
565675
|
+
* `User-Agent` on consecutive lines) an adjacency-only pass leaves the interleaved
|
|
565676
|
+
* deletions behind. Once the magic-version additions are stripped, those orphaned
|
|
565677
|
+
* deletions reach the AI analyzer as apparent removals — which is why a routine
|
|
565678
|
+
* version bump was reported as the `User-Agent` header being dropped. Pairing each
|
|
565679
|
+
* version-change deletion with any unused version-change addition in the section and
|
|
565680
|
+
* dropping both keeps the diff balanced regardless of layout.
|
|
565654
565681
|
*/
|
|
565655
565682
|
removeVersionChangePairs(lines, mappedMagicVersion) {
|
|
565656
|
-
const
|
|
565657
|
-
let
|
|
565658
|
-
|
|
565659
|
-
|
|
565660
|
-
if (!currentLine) {
|
|
565661
|
-
lineIndex++;
|
|
565683
|
+
const removed = /* @__PURE__ */ new Set();
|
|
565684
|
+
for (let deletionIndex = 0; deletionIndex < lines.length; deletionIndex++) {
|
|
565685
|
+
const deletionLine = lines[deletionIndex];
|
|
565686
|
+
if (deletionLine == null || removed.has(deletionIndex) || !this.isDeletionLine(deletionLine)) {
|
|
565662
565687
|
continue;
|
|
565663
565688
|
}
|
|
565664
|
-
|
|
565665
|
-
|
|
565666
|
-
|
|
565667
|
-
|
|
565668
|
-
|
|
565669
|
-
|
|
565670
|
-
|
|
565671
|
-
|
|
565689
|
+
for (let additionIndex = 0; additionIndex < lines.length; additionIndex++) {
|
|
565690
|
+
if (additionIndex === deletionIndex || removed.has(additionIndex)) {
|
|
565691
|
+
continue;
|
|
565692
|
+
}
|
|
565693
|
+
const additionLine = lines[additionIndex];
|
|
565694
|
+
if (additionLine == null || !this.isAdditionLine(additionLine)) {
|
|
565695
|
+
continue;
|
|
565696
|
+
}
|
|
565697
|
+
if (this.isVersionChangePair(deletionLine, additionLine, mappedMagicVersion)) {
|
|
565698
|
+
removed.add(deletionIndex);
|
|
565699
|
+
removed.add(additionIndex);
|
|
565700
|
+
break;
|
|
565672
565701
|
}
|
|
565673
|
-
} else {
|
|
565674
|
-
result.push(currentLine);
|
|
565675
|
-
lineIndex++;
|
|
565676
565702
|
}
|
|
565677
565703
|
}
|
|
565678
|
-
return
|
|
565704
|
+
return lines.filter((_5, index3) => !removed.has(index3));
|
|
565679
565705
|
}
|
|
565680
565706
|
isDeletionLine(line) {
|
|
565681
565707
|
return line.startsWith("-") && !_AutoVersioningService.isDiffHeader(line);
|
|
565682
565708
|
}
|
|
565683
|
-
findMatchingAdditionLine(lines, startIndex, mappedMagicVersion) {
|
|
565684
|
-
const startLine = lines[startIndex];
|
|
565685
|
-
if (!startLine) {
|
|
565686
|
-
return -1;
|
|
565687
|
-
}
|
|
565688
|
-
for (let nextIndex2 = startIndex + 1; nextIndex2 < lines.length; nextIndex2++) {
|
|
565689
|
-
const nextLine = lines[nextIndex2];
|
|
565690
|
-
if (!nextLine) {
|
|
565691
|
-
continue;
|
|
565692
|
-
}
|
|
565693
|
-
if (this.shouldStopSearching(nextLine)) {
|
|
565694
|
-
break;
|
|
565695
|
-
}
|
|
565696
|
-
if (this.isAdditionLine(nextLine)) {
|
|
565697
|
-
if (this.isVersionChangePair(startLine, nextLine, mappedMagicVersion)) {
|
|
565698
|
-
return nextIndex2;
|
|
565699
|
-
}
|
|
565700
|
-
}
|
|
565701
|
-
}
|
|
565702
|
-
return -1;
|
|
565703
|
-
}
|
|
565704
565709
|
isAdditionLine(line) {
|
|
565705
565710
|
return line.startsWith("+") && !_AutoVersioningService.isDiffHeader(line);
|
|
565706
565711
|
}
|
|
@@ -573414,9 +573419,9 @@ var require_diff3 = __commonJS({
|
|
|
573414
573419
|
}
|
|
573415
573420
|
});
|
|
573416
573421
|
|
|
573417
|
-
// ../../../node_modules/.pnpm/@fern-api+replay@0.19.
|
|
573422
|
+
// ../../../node_modules/.pnpm/@fern-api+replay@0.19.2/node_modules/@fern-api/replay/dist/index.cjs
|
|
573418
573423
|
var require_dist24 = __commonJS({
|
|
573419
|
-
"../../../node_modules/.pnpm/@fern-api+replay@0.19.
|
|
573424
|
+
"../../../node_modules/.pnpm/@fern-api+replay@0.19.2/node_modules/@fern-api/replay/dist/index.cjs"(exports2, module4) {
|
|
573420
573425
|
"use strict";
|
|
573421
573426
|
var __defProp5 = Object.defineProperty;
|
|
573422
573427
|
var __getOwnPropDesc4 = Object.getOwnPropertyDescriptor;
|
|
@@ -576654,7 +576659,9 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
|
|
|
576654
576659
|
}
|
|
576655
576660
|
async prepare(options2) {
|
|
576656
576661
|
const preLock = this.service.lockManager.read();
|
|
576657
|
-
const previousGenerationSha =
|
|
576662
|
+
const previousGenerationSha = await this.service.resolveReachablePreviousGeneration(
|
|
576663
|
+
preLock.current_generation ?? null
|
|
576664
|
+
);
|
|
576658
576665
|
let { patches: newPatches, revertedPatchIds } = await this.service.detector.detectNewPatches();
|
|
576659
576666
|
const detectorWarnings = [...this.service.detector.warnings];
|
|
576660
576667
|
const detectorDegraded = [...this.service.detector.degradedReasons];
|
|
@@ -576790,7 +576797,9 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
|
|
|
576790
576797
|
}
|
|
576791
576798
|
async prepare(options2) {
|
|
576792
576799
|
const preLock = this.service.lockManager.read();
|
|
576793
|
-
const previousGenerationSha =
|
|
576800
|
+
const previousGenerationSha = await this.service.resolveReachablePreviousGeneration(
|
|
576801
|
+
preLock.current_generation ?? null
|
|
576802
|
+
);
|
|
576794
576803
|
if (options2?.dryRun) {
|
|
576795
576804
|
const existingPatches2 = this.service.lockManager.getPatches();
|
|
576796
576805
|
const { patches: newPatches2, revertedPatchIds: dryRunReverted } = await this.service.detector.detectNewPatches();
|
|
@@ -577026,6 +577035,37 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
|
|
|
577026
577035
|
this.committer = new ReplayCommitter(git, outputDir);
|
|
577027
577036
|
this.fileOwnership = new FileOwnership(git);
|
|
577028
577037
|
}
|
|
577038
|
+
/**
|
|
577039
|
+
* Resolve the previous-generation SHA to export on
|
|
577040
|
+
* `ReplayPreparation.previousGenerationSha`.
|
|
577041
|
+
*
|
|
577042
|
+
* `current_generation` is the SHA of a LOCALLY-created `[fern-generated]` commit.
|
|
577043
|
+
* generator-cli's signed-commit push (`pushSignedCommit`) recreates that commit under a
|
|
577044
|
+
* new remote SHA, and a squash-merge collapses it away, so the recorded value can be
|
|
577045
|
+
* unreachable in a later clone (org "Natural": autoVersion then diffed against a phantom
|
|
577046
|
+
* baseline and silently reported NO_CHANGE — or, pre-a38bbc6, shipped
|
|
577047
|
+
* `0.0.0-fern-placeholder`). Consumers (generator-cli's autoVersion) diff against this
|
|
577048
|
+
* baseline, so it MUST resolve to a real commit.
|
|
577049
|
+
*
|
|
577050
|
+
* Prefer the recorded SHA while it still resolves — the healthy case, and the pristine
|
|
577051
|
+
* prior `[fern-generated]` tree. Otherwise re-anchor on the most recent reachable
|
|
577052
|
+
* generation boundary in first-parent history: the SAME value the detector already
|
|
577053
|
+
* derives for its own scan boundary (`findPreviousGenerationFromHistory`, whose
|
|
577054
|
+
* `isGenerationBoundary` matches squash-merge subjects like `SDK Generation (#N)`). Fall
|
|
577055
|
+
* back to the recorded SHA only when no boundary is reachable at all — no worse than the
|
|
577056
|
+
* prior behavior. ADR 0002 (generator-cli) allows replay to expose this reconciled value;
|
|
577057
|
+
* the consumer stays independently resilient.
|
|
577058
|
+
*
|
|
577059
|
+
* MUST be called before the new `[fern-generated]` commit is created, while HEAD is still
|
|
577060
|
+
* the pre-generation (customer) state, so the walk anchors on the PREVIOUS generation.
|
|
577061
|
+
*/
|
|
577062
|
+
async resolveReachablePreviousGeneration(recordedSha) {
|
|
577063
|
+
if (recordedSha != null && await this.git.commitExists(recordedSha)) {
|
|
577064
|
+
return recordedSha;
|
|
577065
|
+
}
|
|
577066
|
+
const derived = await this.detector.findPreviousGenerationFromHistory();
|
|
577067
|
+
return derived ?? recordedSha;
|
|
577068
|
+
}
|
|
577029
577069
|
/**
|
|
577030
577070
|
* Phase 1 of the two-phase replay flow. Runs preGenerationRebase (when applicable),
|
|
577031
577071
|
* detects new patches, and creates the `[fern-generated]` commit. Leaves HEAD at
|
|
@@ -690977,7 +691017,7 @@ var AccessTokenPosthogManager = class {
|
|
|
690977
691017
|
properties: {
|
|
690978
691018
|
...event,
|
|
690979
691019
|
...event.properties,
|
|
690980
|
-
version: "5.
|
|
691020
|
+
version: "5.75.1",
|
|
690981
691021
|
usingAccessToken: true,
|
|
690982
691022
|
...getRunIdProperties()
|
|
690983
691023
|
}
|
|
@@ -691043,7 +691083,7 @@ var UserPosthogManager = class {
|
|
|
691043
691083
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
691044
691084
|
event: "CLI",
|
|
691045
691085
|
properties: {
|
|
691046
|
-
version: "5.
|
|
691086
|
+
version: "5.75.1",
|
|
691047
691087
|
...event,
|
|
691048
691088
|
...event.properties,
|
|
691049
691089
|
usingAccessToken: false,
|
|
@@ -872144,7 +872184,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
872144
872184
|
var LOGS_FOLDER_NAME = "logs";
|
|
872145
872185
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
872146
872186
|
function getCliSource() {
|
|
872147
|
-
const version7 = "5.
|
|
872187
|
+
const version7 = "5.75.1";
|
|
872148
872188
|
return `cli@${version7}`;
|
|
872149
872189
|
}
|
|
872150
872190
|
var DebugLogger = class {
|
|
@@ -901978,6 +902018,7 @@ async function runRemoteGenerationForGenerator({ projectConfig, organization, wo
|
|
|
901978
902018
|
generationLanguage: generatorInvocation.language,
|
|
901979
902019
|
keywords: generatorInvocation.keywords,
|
|
901980
902020
|
smartCasing: generatorInvocation.smartCasing,
|
|
902021
|
+
smartCasingDigitWordBoundary: generatorInvocation.smartCasingDigitWordBoundary,
|
|
901981
902022
|
exampleGeneration: {
|
|
901982
902023
|
disabled: generatorInvocation.disableExamples,
|
|
901983
902024
|
skipAutogenerationIfManualExamplesExist: true,
|
|
@@ -902092,6 +902133,7 @@ async function runRemoteGenerationForGenerator({ projectConfig, organization, wo
|
|
|
902092
902133
|
packageName,
|
|
902093
902134
|
ir: ir3,
|
|
902094
902135
|
smartCasing: generatorInvocation.smartCasing,
|
|
902136
|
+
smartCasingDigitWordBoundary: generatorInvocation.smartCasingDigitWordBoundary,
|
|
902095
902137
|
dynamicGeneratorConfig,
|
|
902096
902138
|
context: interactiveTaskContext
|
|
902097
902139
|
});
|
|
@@ -902188,6 +902230,7 @@ async function runRemoteGenerationForGenerator({ projectConfig, organization, wo
|
|
|
902188
902230
|
packageName,
|
|
902189
902231
|
ir: ir3,
|
|
902190
902232
|
smartCasing: generatorInvocation.smartCasing,
|
|
902233
|
+
smartCasingDigitWordBoundary: generatorInvocation.smartCasingDigitWordBoundary,
|
|
902191
902234
|
dynamicGeneratorConfig,
|
|
902192
902235
|
context: interactiveTaskContext
|
|
902193
902236
|
});
|
|
@@ -902248,7 +902291,7 @@ var emptyReadmeConfig = {
|
|
|
902248
902291
|
features: void 0,
|
|
902249
902292
|
exampleStyle: void 0
|
|
902250
902293
|
};
|
|
902251
|
-
async function uploadDynamicIRForSdkGeneration({ fdr, organization, version: version7, language, packageName, ir: ir3, smartCasing, dynamicGeneratorConfig, context: context3 }) {
|
|
902294
|
+
async function uploadDynamicIRForSdkGeneration({ fdr, organization, version: version7, language, packageName, ir: ir3, smartCasing, smartCasingDigitWordBoundary, dynamicGeneratorConfig, context: context3 }) {
|
|
902252
902295
|
context3.logger.debug(`Uploading dynamic IR for ${language} SDK...`);
|
|
902253
902296
|
let uploadUrlsResponse;
|
|
902254
902297
|
try {
|
|
@@ -902270,6 +902313,7 @@ async function uploadDynamicIRForSdkGeneration({ fdr, organization, version: ver
|
|
|
902270
902313
|
ir: ir3,
|
|
902271
902314
|
disableExamples: true,
|
|
902272
902315
|
smartCasing,
|
|
902316
|
+
smartCasingDigitWordBoundary,
|
|
902273
902317
|
generationLanguage: language,
|
|
902274
902318
|
generatorConfig: dynamicGeneratorConfig
|
|
902275
902319
|
});
|
|
@@ -904483,6 +904527,7 @@ async function generateLanguageSpecificDynamicIRs({ workspace, organization, con
|
|
|
904483
904527
|
generationLanguage: generatorInvocation.language,
|
|
904484
904528
|
keywords: void 0,
|
|
904485
904529
|
smartCasing: generatorInvocation.smartCasing,
|
|
904530
|
+
smartCasingDigitWordBoundary: generatorInvocation.smartCasingDigitWordBoundary,
|
|
904486
904531
|
exampleGeneration: {
|
|
904487
904532
|
disabled: true,
|
|
904488
904533
|
skipAutogenerationIfManualExamplesExist: true,
|
|
@@ -904502,6 +904547,7 @@ async function generateLanguageSpecificDynamicIRs({ workspace, organization, con
|
|
|
904502
904547
|
ir: irForDynamicSnippets,
|
|
904503
904548
|
disableExamples: true,
|
|
904504
904549
|
smartCasing: generatorInvocation.smartCasing,
|
|
904550
|
+
smartCasingDigitWordBoundary: generatorInvocation.smartCasingDigitWordBoundary,
|
|
904505
904551
|
generationLanguage: generatorInvocation.language,
|
|
904506
904552
|
generatorConfig: dynamicGeneratorConfig
|
|
904507
904553
|
});
|
|
@@ -904727,7 +904773,7 @@ var LegacyDocsPublisher = class {
|
|
|
904727
904773
|
previewId,
|
|
904728
904774
|
disableTemplates: void 0,
|
|
904729
904775
|
skipUpload,
|
|
904730
|
-
cliVersion: "5.
|
|
904776
|
+
cliVersion: "5.75.1",
|
|
904731
904777
|
loginCommand: "fern auth login"
|
|
904732
904778
|
});
|
|
904733
904779
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -909861,6 +909907,10 @@ var Writer = class extends AbstractWriter {
|
|
|
909861
909907
|
skipImports;
|
|
909862
909908
|
/* Whether or not to skip adding global:: qualifier to System namespaces */
|
|
909863
909909
|
skipGlobalQualifier;
|
|
909910
|
+
/* Fully qualified names of the enclosing types currently being written, outermost first.
|
|
909911
|
+
Used to detect nested-type namespace shadows that are only visible within a type's body
|
|
909912
|
+
(see NameRegistry.hasNestedTypeShadowInScope). */
|
|
909913
|
+
typeScopeStack = [];
|
|
909864
909914
|
constructor({ namespace, allNamespaceSegments, allTypeClassReferences, generation, skipImports = false, skipGlobalQualifier = false }) {
|
|
909865
909915
|
super();
|
|
909866
909916
|
this.namespace = namespace;
|
|
@@ -909881,6 +909931,14 @@ var Writer = class extends AbstractWriter {
|
|
|
909881
909931
|
this.references[reference4.namespace] = [reference4];
|
|
909882
909932
|
}
|
|
909883
909933
|
}
|
|
909934
|
+
/* Records that we are now writing inside the body of the given type. Paired with
|
|
909935
|
+
popTypeScope() and called by Class.write around a type body. */
|
|
909936
|
+
pushTypeScope(fullyQualifiedName) {
|
|
909937
|
+
this.typeScopeStack.push(fullyQualifiedName);
|
|
909938
|
+
}
|
|
909939
|
+
popTypeScope() {
|
|
909940
|
+
this.typeScopeStack.pop();
|
|
909941
|
+
}
|
|
909884
909942
|
addNamespace(namespace) {
|
|
909885
909943
|
const foundNamespace = this.references[namespace];
|
|
909886
909944
|
if (foundNamespace == null) {
|
|
@@ -910625,7 +910683,7 @@ function fail(message) {
|
|
|
910625
910683
|
throw new Error(message ?? "Assertion failed");
|
|
910626
910684
|
}
|
|
910627
910685
|
|
|
910628
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910686
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/index.mjs
|
|
910629
910687
|
var api_exports22 = {};
|
|
910630
910688
|
__export(api_exports22, {
|
|
910631
910689
|
ApiDefinitionSource: () => ApiDefinitionSource29,
|
|
@@ -910694,6 +910752,8 @@ __export(api_exports22, {
|
|
|
910694
910752
|
V2HttpEndpointResponseBody: () => V2HttpEndpointResponseBody21,
|
|
910695
910753
|
WebSocketMessageBody: () => WebSocketMessageBody29,
|
|
910696
910754
|
WebSocketMessageOrigin: () => WebSocketMessageOrigin30,
|
|
910755
|
+
WebhookBodyHashAlgorithm: () => WebhookBodyHashAlgorithm5,
|
|
910756
|
+
WebhookBodyHashLocation: () => WebhookBodyHashLocation5,
|
|
910697
910757
|
WebhookHttpMethod: () => WebhookHttpMethod31,
|
|
910698
910758
|
WebhookPayload: () => WebhookPayload29,
|
|
910699
910759
|
WebhookPayloadBodySort: () => WebhookPayloadBodySort9,
|
|
@@ -910722,10 +910782,10 @@ __export(api_exports22, {
|
|
|
910722
910782
|
websocket: () => websocket_exports33
|
|
910723
910783
|
});
|
|
910724
910784
|
|
|
910725
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910785
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/audience/index.mjs
|
|
910726
910786
|
var audience_exports19 = {};
|
|
910727
910787
|
|
|
910728
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910788
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/index.mjs
|
|
910729
910789
|
var auth_exports63 = {};
|
|
910730
910790
|
__export(auth_exports63, {
|
|
910731
910791
|
AuthScheme: () => AuthScheme29,
|
|
@@ -910733,7 +910793,7 @@ __export(auth_exports63, {
|
|
|
910733
910793
|
OAuthConfiguration: () => OAuthConfiguration29
|
|
910734
910794
|
});
|
|
910735
910795
|
|
|
910736
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910796
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/AuthScheme.mjs
|
|
910737
910797
|
var AuthScheme29 = {
|
|
910738
910798
|
bearer: (value2) => {
|
|
910739
910799
|
return Object.assign(Object.assign({}, value2), { type: "bearer", _visit: function(visitor) {
|
|
@@ -910778,7 +910838,7 @@ var AuthScheme29 = {
|
|
|
910778
910838
|
}
|
|
910779
910839
|
};
|
|
910780
910840
|
|
|
910781
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910841
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/AuthSchemesRequirement.mjs
|
|
910782
910842
|
var AuthSchemesRequirementValues15 = {
|
|
910783
910843
|
All: "ALL",
|
|
910784
910844
|
Any: "ANY",
|
|
@@ -910797,7 +910857,7 @@ var AuthSchemesRequirement29 = Object.assign(Object.assign({}, AuthSchemesRequir
|
|
|
910797
910857
|
}
|
|
910798
910858
|
} });
|
|
910799
910859
|
|
|
910800
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910860
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/OAuthConfiguration.mjs
|
|
910801
910861
|
var OAuthConfiguration29 = {
|
|
910802
910862
|
clientCredentials: (value2) => {
|
|
910803
910863
|
return Object.assign(Object.assign({}, value2), { type: "clientCredentials", _visit: function(visitor) {
|
|
@@ -910814,13 +910874,13 @@ var OAuthConfiguration29 = {
|
|
|
910814
910874
|
}
|
|
910815
910875
|
};
|
|
910816
910876
|
|
|
910817
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910877
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/commons/index.mjs
|
|
910818
910878
|
var commons_exports58 = {};
|
|
910819
910879
|
__export(commons_exports58, {
|
|
910820
910880
|
AvailabilityStatus: () => AvailabilityStatus29
|
|
910821
910881
|
});
|
|
910822
910882
|
|
|
910823
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910883
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/commons/types/AvailabilityStatus.mjs
|
|
910824
910884
|
var AvailabilityStatusValues15 = {
|
|
910825
910885
|
InDevelopment: "IN_DEVELOPMENT",
|
|
910826
910886
|
PreRelease: "PRE_RELEASE",
|
|
@@ -910854,10 +910914,10 @@ var AvailabilityStatus29 = Object.assign(Object.assign({}, AvailabilityStatusVal
|
|
|
910854
910914
|
}
|
|
910855
910915
|
} });
|
|
910856
910916
|
|
|
910857
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910917
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/constants/index.mjs
|
|
910858
910918
|
var constants_exports29 = {};
|
|
910859
910919
|
|
|
910860
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910920
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/index.mjs
|
|
910861
910921
|
var dynamic_exports29 = {};
|
|
910862
910922
|
__export(dynamic_exports29, {
|
|
910863
910923
|
Auth: () => Auth29,
|
|
@@ -910890,14 +910950,14 @@ __export(dynamic_exports29, {
|
|
|
910890
910950
|
variables: () => variables_exports45
|
|
910891
910951
|
});
|
|
910892
910952
|
|
|
910893
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910953
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/index.mjs
|
|
910894
910954
|
var auth_exports64 = {};
|
|
910895
910955
|
__export(auth_exports64, {
|
|
910896
910956
|
Auth: () => Auth29,
|
|
910897
910957
|
AuthValues: () => AuthValues29
|
|
910898
910958
|
});
|
|
910899
910959
|
|
|
910900
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910960
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/types/Auth.mjs
|
|
910901
910961
|
var Auth29 = {
|
|
910902
910962
|
basic: (value2) => {
|
|
910903
910963
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -910942,7 +911002,7 @@ var Auth29 = {
|
|
|
910942
911002
|
}
|
|
910943
911003
|
};
|
|
910944
911004
|
|
|
910945
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911005
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/types/AuthValues.mjs
|
|
910946
911006
|
var AuthValues29 = {
|
|
910947
911007
|
basic: (value2) => {
|
|
910948
911008
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -910987,13 +911047,13 @@ var AuthValues29 = {
|
|
|
910987
911047
|
}
|
|
910988
911048
|
};
|
|
910989
911049
|
|
|
910990
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911050
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/commons/index.mjs
|
|
910991
911051
|
var commons_exports59 = {};
|
|
910992
911052
|
|
|
910993
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911053
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/declaration/index.mjs
|
|
910994
911054
|
var declaration_exports29 = {};
|
|
910995
911055
|
|
|
910996
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911056
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/index.mjs
|
|
910997
911057
|
var endpoints_exports29 = {};
|
|
910998
911058
|
__export(endpoints_exports29, {
|
|
910999
911059
|
FileUploadRequestBodyProperty: () => FileUploadRequestBodyProperty29,
|
|
@@ -911003,7 +911063,7 @@ __export(endpoints_exports29, {
|
|
|
911003
911063
|
Response: () => Response43
|
|
911004
911064
|
});
|
|
911005
911065
|
|
|
911006
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911066
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.mjs
|
|
911007
911067
|
var FileUploadRequestBodyProperty29 = {
|
|
911008
911068
|
file: (value2) => {
|
|
911009
911069
|
return Object.assign(Object.assign({}, value2), { type: "file", _visit: function(visitor) {
|
|
@@ -911034,7 +911094,7 @@ var FileUploadRequestBodyProperty29 = {
|
|
|
911034
911094
|
}
|
|
911035
911095
|
};
|
|
911036
911096
|
|
|
911037
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911097
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.mjs
|
|
911038
911098
|
var InlinedRequestBody43 = {
|
|
911039
911099
|
properties: (value2) => {
|
|
911040
911100
|
return {
|
|
@@ -911069,7 +911129,7 @@ var InlinedRequestBody43 = {
|
|
|
911069
911129
|
}
|
|
911070
911130
|
};
|
|
911071
911131
|
|
|
911072
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911132
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.mjs
|
|
911073
911133
|
var ReferencedRequestBodyType29 = {
|
|
911074
911134
|
bytes: () => {
|
|
911075
911135
|
return {
|
|
@@ -911100,7 +911160,7 @@ var ReferencedRequestBodyType29 = {
|
|
|
911100
911160
|
}
|
|
911101
911161
|
};
|
|
911102
911162
|
|
|
911103
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911163
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/Request.mjs
|
|
911104
911164
|
var Request35 = {
|
|
911105
911165
|
body: (value2) => {
|
|
911106
911166
|
return Object.assign(Object.assign({}, value2), { type: "body", _visit: function(visitor) {
|
|
@@ -911124,7 +911184,7 @@ var Request35 = {
|
|
|
911124
911184
|
}
|
|
911125
911185
|
};
|
|
911126
911186
|
|
|
911127
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911187
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/Response.mjs
|
|
911128
911188
|
var Response43 = {
|
|
911129
911189
|
json: () => {
|
|
911130
911190
|
return {
|
|
@@ -911194,13 +911254,13 @@ var Response43 = {
|
|
|
911194
911254
|
}
|
|
911195
911255
|
};
|
|
911196
911256
|
|
|
911197
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911257
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/environment/index.mjs
|
|
911198
911258
|
var environment_exports55 = {};
|
|
911199
911259
|
__export(environment_exports55, {
|
|
911200
911260
|
Environments: () => Environments43
|
|
911201
911261
|
});
|
|
911202
911262
|
|
|
911203
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911263
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/environment/types/Environments.mjs
|
|
911204
911264
|
var Environments43 = {
|
|
911205
911265
|
singleBaseUrl: (value2) => {
|
|
911206
911266
|
return Object.assign(Object.assign({}, value2), { type: "singleBaseUrl", _visit: function(visitor) {
|
|
@@ -911224,13 +911284,13 @@ var Environments43 = {
|
|
|
911224
911284
|
}
|
|
911225
911285
|
};
|
|
911226
911286
|
|
|
911227
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911287
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/http/index.mjs
|
|
911228
911288
|
var http_exports43 = {};
|
|
911229
911289
|
__export(http_exports43, {
|
|
911230
911290
|
HttpMethod: () => HttpMethod47
|
|
911231
911291
|
});
|
|
911232
911292
|
|
|
911233
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911293
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/http/types/HttpMethod.mjs
|
|
911234
911294
|
var HttpMethodValues23 = {
|
|
911235
911295
|
Get: "GET",
|
|
911236
911296
|
Post: "POST",
|
|
@@ -911258,14 +911318,14 @@ var HttpMethod47 = Object.assign(Object.assign({}, HttpMethodValues23), { _visit
|
|
|
911258
911318
|
}
|
|
911259
911319
|
} });
|
|
911260
911320
|
|
|
911261
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911321
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/index.mjs
|
|
911262
911322
|
var ir_exports57 = {};
|
|
911263
911323
|
__export(ir_exports57, {
|
|
911264
911324
|
GeneratorOutputConfig: () => GeneratorOutputConfig35,
|
|
911265
911325
|
PublishInfo: () => PublishInfo21
|
|
911266
911326
|
});
|
|
911267
911327
|
|
|
911268
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911328
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.mjs
|
|
911269
911329
|
var GeneratorOutputConfig35 = {
|
|
911270
911330
|
publish: (value2) => {
|
|
911271
911331
|
return {
|
|
@@ -911296,7 +911356,7 @@ var GeneratorOutputConfig35 = {
|
|
|
911296
911356
|
}
|
|
911297
911357
|
};
|
|
911298
911358
|
|
|
911299
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911359
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/types/PublishInfo.mjs
|
|
911300
911360
|
var PublishInfo21 = {
|
|
911301
911361
|
go: (value2) => {
|
|
911302
911362
|
return Object.assign(Object.assign({}, value2), { type: "go", _visit: function(visitor) {
|
|
@@ -911362,13 +911422,13 @@ var PublishInfo21 = {
|
|
|
911362
911422
|
}
|
|
911363
911423
|
};
|
|
911364
911424
|
|
|
911365
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911425
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/snippets/index.mjs
|
|
911366
911426
|
var snippets_exports29 = {};
|
|
911367
911427
|
__export(snippets_exports29, {
|
|
911368
911428
|
ErrorSeverity: () => ErrorSeverity29
|
|
911369
911429
|
});
|
|
911370
911430
|
|
|
911371
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911431
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/snippets/types/ErrorSeverity.mjs
|
|
911372
911432
|
var ErrorSeverityValues15 = {
|
|
911373
911433
|
Critical: "CRITICAL",
|
|
911374
911434
|
Warning: "WARNING"
|
|
@@ -911384,7 +911444,7 @@ var ErrorSeverity29 = Object.assign(Object.assign({}, ErrorSeverityValues15), {
|
|
|
911384
911444
|
}
|
|
911385
911445
|
} });
|
|
911386
911446
|
|
|
911387
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911447
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/index.mjs
|
|
911388
911448
|
var types_exports66 = {};
|
|
911389
911449
|
__export(types_exports66, {
|
|
911390
911450
|
LiteralType: () => LiteralType29,
|
|
@@ -911395,7 +911455,7 @@ __export(types_exports66, {
|
|
|
911395
911455
|
TypeReference: () => TypeReference57
|
|
911396
911456
|
});
|
|
911397
911457
|
|
|
911398
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911458
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/LiteralType.mjs
|
|
911399
911459
|
var LiteralType29 = {
|
|
911400
911460
|
boolean: (value2) => {
|
|
911401
911461
|
return {
|
|
@@ -911427,7 +911487,7 @@ var LiteralType29 = {
|
|
|
911427
911487
|
}
|
|
911428
911488
|
};
|
|
911429
911489
|
|
|
911430
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911490
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/NamedType.mjs
|
|
911431
911491
|
var NamedType43 = {
|
|
911432
911492
|
alias: (value2) => {
|
|
911433
911493
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -911472,7 +911532,7 @@ var NamedType43 = {
|
|
|
911472
911532
|
}
|
|
911473
911533
|
};
|
|
911474
911534
|
|
|
911475
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911535
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.mjs
|
|
911476
911536
|
var ObjectPropertyAccessValues20 = {
|
|
911477
911537
|
ReadOnly: "READ_ONLY",
|
|
911478
911538
|
WriteOnly: "WRITE_ONLY"
|
|
@@ -911488,7 +911548,7 @@ var ObjectPropertyAccess41 = Object.assign(Object.assign({}, ObjectPropertyAcces
|
|
|
911488
911548
|
}
|
|
911489
911549
|
} });
|
|
911490
911550
|
|
|
911491
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911551
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.mjs
|
|
911492
911552
|
var PrimitiveTypeV1Values22 = {
|
|
911493
911553
|
Integer: "INTEGER",
|
|
911494
911554
|
/**
|
|
@@ -911542,7 +911602,7 @@ var PrimitiveTypeV143 = Object.assign(Object.assign({}, PrimitiveTypeV1Values22)
|
|
|
911542
911602
|
}
|
|
911543
911603
|
} });
|
|
911544
911604
|
|
|
911545
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911605
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.mjs
|
|
911546
911606
|
var SingleDiscriminatedUnionType29 = {
|
|
911547
911607
|
samePropertiesAsObject: (value2) => {
|
|
911548
911608
|
return Object.assign(Object.assign({}, value2), { type: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -911573,7 +911633,7 @@ var SingleDiscriminatedUnionType29 = {
|
|
|
911573
911633
|
}
|
|
911574
911634
|
};
|
|
911575
911635
|
|
|
911576
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911636
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/TypeReference.mjs
|
|
911577
911637
|
var TypeReference57 = {
|
|
911578
911638
|
list: (value2) => {
|
|
911579
911639
|
return {
|
|
@@ -911677,16 +911737,16 @@ var TypeReference57 = {
|
|
|
911677
911737
|
}
|
|
911678
911738
|
};
|
|
911679
911739
|
|
|
911680
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911740
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/variables/index.mjs
|
|
911681
911741
|
var variables_exports45 = {};
|
|
911682
911742
|
|
|
911683
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911743
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/environment/index.mjs
|
|
911684
911744
|
var environment_exports56 = {};
|
|
911685
911745
|
__export(environment_exports56, {
|
|
911686
911746
|
Environments: () => Environments44
|
|
911687
911747
|
});
|
|
911688
911748
|
|
|
911689
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911749
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/environment/types/Environments.mjs
|
|
911690
911750
|
var Environments44 = {
|
|
911691
911751
|
singleBaseUrl: (value2) => {
|
|
911692
911752
|
return Object.assign(Object.assign({}, value2), { type: "singleBaseUrl", _visit: function(visitor) {
|
|
@@ -911710,13 +911770,13 @@ var Environments44 = {
|
|
|
911710
911770
|
}
|
|
911711
911771
|
};
|
|
911712
911772
|
|
|
911713
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911773
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/errors/index.mjs
|
|
911714
911774
|
var errors_exports32 = {};
|
|
911715
911775
|
__export(errors_exports32, {
|
|
911716
911776
|
ErrorDeclarationDiscriminantValue: () => ErrorDeclarationDiscriminantValue29
|
|
911717
911777
|
});
|
|
911718
911778
|
|
|
911719
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911779
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/errors/types/ErrorDeclarationDiscriminantValue.mjs
|
|
911720
911780
|
var ErrorDeclarationDiscriminantValue29 = {
|
|
911721
911781
|
property: (value2) => {
|
|
911722
911782
|
return {
|
|
@@ -911747,7 +911807,7 @@ var ErrorDeclarationDiscriminantValue29 = {
|
|
|
911747
911807
|
}
|
|
911748
911808
|
};
|
|
911749
911809
|
|
|
911750
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911810
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/index.mjs
|
|
911751
911811
|
var examples_exports25 = {};
|
|
911752
911812
|
__export(examples_exports25, {
|
|
911753
911813
|
V2AuthValues: () => V2AuthValues21,
|
|
@@ -911755,7 +911815,7 @@ __export(examples_exports25, {
|
|
|
911755
911815
|
V2HttpEndpointResponseBody: () => V2HttpEndpointResponseBody21
|
|
911756
911816
|
});
|
|
911757
911817
|
|
|
911758
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911818
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2AuthValues.mjs
|
|
911759
911819
|
var V2AuthValues21 = {
|
|
911760
911820
|
basic: (value2) => {
|
|
911761
911821
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -911793,7 +911853,7 @@ var V2AuthValues21 = {
|
|
|
911793
911853
|
}
|
|
911794
911854
|
};
|
|
911795
911855
|
|
|
911796
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911856
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2EndpointLocationHttpMethod.mjs
|
|
911797
911857
|
var V2EndpointLocationHttpMethodValues11 = {
|
|
911798
911858
|
Get: "GET",
|
|
911799
911859
|
Post: "POST",
|
|
@@ -911821,7 +911881,7 @@ var V2EndpointLocationHttpMethod21 = Object.assign(Object.assign({}, V2EndpointL
|
|
|
911821
911881
|
}
|
|
911822
911882
|
} });
|
|
911823
911883
|
|
|
911824
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911884
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2HttpEndpointResponseBody.mjs
|
|
911825
911885
|
var V2HttpEndpointResponseBody21 = {
|
|
911826
911886
|
error: (value2) => {
|
|
911827
911887
|
return {
|
|
@@ -911864,7 +911924,7 @@ var V2HttpEndpointResponseBody21 = {
|
|
|
911864
911924
|
}
|
|
911865
911925
|
};
|
|
911866
911926
|
|
|
911867
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911927
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/index.mjs
|
|
911868
911928
|
var generatorExec_exports29 = {};
|
|
911869
911929
|
__export(generatorExec_exports29, {
|
|
911870
911930
|
GeneratorEnvironment: () => GeneratorEnvironment29,
|
|
@@ -911876,7 +911936,7 @@ __export(generatorExec_exports29, {
|
|
|
911876
911936
|
config: () => config_exports29
|
|
911877
911937
|
});
|
|
911878
911938
|
|
|
911879
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911939
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/index.mjs
|
|
911880
911940
|
var config_exports29 = {};
|
|
911881
911941
|
__export(config_exports29, {
|
|
911882
911942
|
GeneratorEnvironment: () => GeneratorEnvironment29,
|
|
@@ -911887,7 +911947,7 @@ __export(config_exports29, {
|
|
|
911887
911947
|
OutputMode: () => OutputMode31
|
|
911888
911948
|
});
|
|
911889
911949
|
|
|
911890
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911950
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.mjs
|
|
911891
911951
|
var GeneratorEnvironment29 = {
|
|
911892
911952
|
local: () => {
|
|
911893
911953
|
return {
|
|
@@ -911914,7 +911974,7 @@ var GeneratorEnvironment29 = {
|
|
|
911914
911974
|
}
|
|
911915
911975
|
};
|
|
911916
911976
|
|
|
911917
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911977
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.mjs
|
|
911918
911978
|
var GeneratorPublishTarget29 = {
|
|
911919
911979
|
maven: (value2) => {
|
|
911920
911980
|
return Object.assign(Object.assign({}, value2), { type: "maven", _visit: function(visitor) {
|
|
@@ -911973,7 +912033,7 @@ var GeneratorPublishTarget29 = {
|
|
|
911973
912033
|
}
|
|
911974
912034
|
};
|
|
911975
912035
|
|
|
911976
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912036
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GithubPublishInfo.mjs
|
|
911977
912037
|
var GithubPublishInfo31 = {
|
|
911978
912038
|
npm: (value2) => {
|
|
911979
912039
|
return Object.assign(Object.assign({}, value2), { type: "npm", _visit: function(visitor) {
|
|
@@ -912032,7 +912092,7 @@ var GithubPublishInfo31 = {
|
|
|
912032
912092
|
}
|
|
912033
912093
|
};
|
|
912034
912094
|
|
|
912035
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912095
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/LicenseConfig.mjs
|
|
912036
912096
|
var LicenseConfig29 = {
|
|
912037
912097
|
basic: (value2) => {
|
|
912038
912098
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -912056,7 +912116,7 @@ var LicenseConfig29 = {
|
|
|
912056
912116
|
}
|
|
912057
912117
|
};
|
|
912058
912118
|
|
|
912059
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912119
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/LicenseId.mjs
|
|
912060
912120
|
var LicenseIdValues15 = {
|
|
912061
912121
|
Mit: "MIT",
|
|
912062
912122
|
Apache2: "Apache-2.0"
|
|
@@ -912072,7 +912132,7 @@ var LicenseId29 = Object.assign(Object.assign({}, LicenseIdValues15), { _visit:
|
|
|
912072
912132
|
}
|
|
912073
912133
|
} });
|
|
912074
912134
|
|
|
912075
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912135
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/OutputMode.mjs
|
|
912076
912136
|
var OutputMode31 = {
|
|
912077
912137
|
publish: (value2) => {
|
|
912078
912138
|
return Object.assign(Object.assign({}, value2), { type: "publish", _visit: function(visitor) {
|
|
@@ -912106,14 +912166,14 @@ var OutputMode31 = {
|
|
|
912106
912166
|
}
|
|
912107
912167
|
};
|
|
912108
912168
|
|
|
912109
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912169
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/index.mjs
|
|
912110
912170
|
var globalParameters_exports5 = {};
|
|
912111
912171
|
__export(globalParameters_exports5, {
|
|
912112
912172
|
GlobalParameterApplyMode: () => GlobalParameterApplyMode3,
|
|
912113
912173
|
GlobalParameterLocation: () => GlobalParameterLocation3
|
|
912114
912174
|
});
|
|
912115
912175
|
|
|
912116
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912176
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/types/GlobalParameterApplyMode.mjs
|
|
912117
912177
|
var GlobalParameterApplyModeValues2 = {
|
|
912118
912178
|
Explicit: "explicit",
|
|
912119
912179
|
Auto: "auto"
|
|
@@ -912129,7 +912189,7 @@ var GlobalParameterApplyMode3 = Object.assign(Object.assign({}, GlobalParameterA
|
|
|
912129
912189
|
}
|
|
912130
912190
|
} });
|
|
912131
912191
|
|
|
912132
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912192
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/types/GlobalParameterLocation.mjs
|
|
912133
912193
|
var GlobalParameterLocationValues2 = {
|
|
912134
912194
|
Header: "header",
|
|
912135
912195
|
Query: "query",
|
|
@@ -912151,7 +912211,7 @@ var GlobalParameterLocation3 = Object.assign(Object.assign({}, GlobalParameterLo
|
|
|
912151
912211
|
}
|
|
912152
912212
|
} });
|
|
912153
912213
|
|
|
912154
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912214
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/index.mjs
|
|
912155
912215
|
var http_exports44 = {};
|
|
912156
912216
|
__export(http_exports44, {
|
|
912157
912217
|
ExampleCodeSample: () => ExampleCodeSample29,
|
|
@@ -912178,7 +912238,7 @@ __export(http_exports44, {
|
|
|
912178
912238
|
Transport: () => Transport29
|
|
912179
912239
|
});
|
|
912180
912240
|
|
|
912181
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912241
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleCodeSample.mjs
|
|
912182
912242
|
var ExampleCodeSample29 = {
|
|
912183
912243
|
language: (value2) => {
|
|
912184
912244
|
return Object.assign(Object.assign({}, value2), { type: "language", _visit: function(visitor) {
|
|
@@ -912202,7 +912262,7 @@ var ExampleCodeSample29 = {
|
|
|
912202
912262
|
}
|
|
912203
912263
|
};
|
|
912204
912264
|
|
|
912205
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912265
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleEndpointSuccessResponse.mjs
|
|
912206
912266
|
var ExampleEndpointSuccessResponse29 = {
|
|
912207
912267
|
body: (value2) => {
|
|
912208
912268
|
return {
|
|
@@ -912245,7 +912305,7 @@ var ExampleEndpointSuccessResponse29 = {
|
|
|
912245
912305
|
}
|
|
912246
912306
|
};
|
|
912247
912307
|
|
|
912248
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912308
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleQueryParameterShape.mjs
|
|
912249
912309
|
var ExampleQueryParameterShape29 = {
|
|
912250
912310
|
single: () => {
|
|
912251
912311
|
return {
|
|
@@ -912285,7 +912345,7 @@ var ExampleQueryParameterShape29 = {
|
|
|
912285
912345
|
}
|
|
912286
912346
|
};
|
|
912287
912347
|
|
|
912288
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912348
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleRequestBody.mjs
|
|
912289
912349
|
var ExampleRequestBody29 = {
|
|
912290
912350
|
inlinedRequestBody: (value2) => {
|
|
912291
912351
|
return Object.assign(Object.assign({}, value2), { type: "inlinedRequestBody", _visit: function(visitor) {
|
|
@@ -912309,7 +912369,7 @@ var ExampleRequestBody29 = {
|
|
|
912309
912369
|
}
|
|
912310
912370
|
};
|
|
912311
912371
|
|
|
912312
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912372
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleResponse.mjs
|
|
912313
912373
|
var ExampleResponse29 = {
|
|
912314
912374
|
ok: (value2) => {
|
|
912315
912375
|
return {
|
|
@@ -912337,7 +912397,7 @@ var ExampleResponse29 = {
|
|
|
912337
912397
|
}
|
|
912338
912398
|
};
|
|
912339
912399
|
|
|
912340
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912400
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileProperty.mjs
|
|
912341
912401
|
var FileProperty29 = {
|
|
912342
912402
|
file: (value2) => {
|
|
912343
912403
|
return Object.assign(Object.assign({}, value2), { type: "file", _visit: function(visitor) {
|
|
@@ -912361,7 +912421,7 @@ var FileProperty29 = {
|
|
|
912361
912421
|
}
|
|
912362
912422
|
};
|
|
912363
912423
|
|
|
912364
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912424
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileUploadBodyPropertyEncoding.mjs
|
|
912365
912425
|
var FileUploadBodyPropertyEncodingValues13 = {
|
|
912366
912426
|
Exploded: "exploded",
|
|
912367
912427
|
Json: "json",
|
|
@@ -912380,7 +912440,7 @@ var FileUploadBodyPropertyEncoding25 = Object.assign(Object.assign({}, FileUploa
|
|
|
912380
912440
|
}
|
|
912381
912441
|
} });
|
|
912382
912442
|
|
|
912383
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912443
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileUploadRequestProperty.mjs
|
|
912384
912444
|
var FileUploadRequestProperty29 = {
|
|
912385
912445
|
file: (value2) => {
|
|
912386
912446
|
return {
|
|
@@ -912408,7 +912468,7 @@ var FileUploadRequestProperty29 = {
|
|
|
912408
912468
|
}
|
|
912409
912469
|
};
|
|
912410
912470
|
|
|
912411
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912471
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpEndpointSource.mjs
|
|
912412
912472
|
var HttpEndpointSource21 = {
|
|
912413
912473
|
proto: (value2) => {
|
|
912414
912474
|
return Object.assign(Object.assign({}, value2), { type: "proto", _visit: function(visitor) {
|
|
@@ -912445,7 +912505,7 @@ var HttpEndpointSource21 = {
|
|
|
912445
912505
|
}
|
|
912446
912506
|
};
|
|
912447
912507
|
|
|
912448
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912508
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpMethod.mjs
|
|
912449
912509
|
var HttpMethodValues24 = {
|
|
912450
912510
|
Get: "GET",
|
|
912451
912511
|
Post: "POST",
|
|
@@ -912473,7 +912533,7 @@ var HttpMethod48 = Object.assign(Object.assign({}, HttpMethodValues24), { _visit
|
|
|
912473
912533
|
}
|
|
912474
912534
|
} });
|
|
912475
912535
|
|
|
912476
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912536
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpRequestBody.mjs
|
|
912477
912537
|
var HttpRequestBody29 = {
|
|
912478
912538
|
inlinedRequestBody: (value2) => {
|
|
912479
912539
|
return Object.assign(Object.assign({}, value2), { type: "inlinedRequestBody", _visit: function(visitor) {
|
|
@@ -912511,7 +912571,7 @@ var HttpRequestBody29 = {
|
|
|
912511
912571
|
}
|
|
912512
912572
|
};
|
|
912513
912573
|
|
|
912514
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912574
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpResponseBody.mjs
|
|
912515
912575
|
var HttpResponseBody29 = {
|
|
912516
912576
|
json: (value2) => {
|
|
912517
912577
|
return {
|
|
@@ -912571,7 +912631,7 @@ var HttpResponseBody29 = {
|
|
|
912571
912631
|
}
|
|
912572
912632
|
};
|
|
912573
912633
|
|
|
912574
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912634
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/JsonResponse.mjs
|
|
912575
912635
|
var JsonResponse30 = {
|
|
912576
912636
|
response: (value2) => {
|
|
912577
912637
|
return Object.assign(Object.assign({}, value2), { type: "response", _visit: function(visitor) {
|
|
@@ -912595,7 +912655,7 @@ var JsonResponse30 = {
|
|
|
912595
912655
|
}
|
|
912596
912656
|
};
|
|
912597
912657
|
|
|
912598
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912658
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/NonStreamHttpResponseBody.mjs
|
|
912599
912659
|
var NonStreamHttpResponseBody29 = {
|
|
912600
912660
|
json: (value2) => {
|
|
912601
912661
|
return {
|
|
@@ -912637,7 +912697,7 @@ var NonStreamHttpResponseBody29 = {
|
|
|
912637
912697
|
}
|
|
912638
912698
|
};
|
|
912639
912699
|
|
|
912640
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912700
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/Pagination.mjs
|
|
912641
912701
|
var Pagination32 = {
|
|
912642
912702
|
cursor: (value2) => {
|
|
912643
912703
|
return Object.assign(Object.assign({}, value2), { type: "cursor", _visit: function(visitor) {
|
|
@@ -912682,7 +912742,7 @@ var Pagination32 = {
|
|
|
912682
912742
|
}
|
|
912683
912743
|
};
|
|
912684
912744
|
|
|
912685
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912745
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/PathParameterLocation.mjs
|
|
912686
912746
|
var PathParameterLocationValues15 = {
|
|
912687
912747
|
Root: "ROOT",
|
|
912688
912748
|
Service: "SERVICE",
|
|
@@ -912701,7 +912761,7 @@ var PathParameterLocation29 = Object.assign(Object.assign({}, PathParameterLocat
|
|
|
912701
912761
|
}
|
|
912702
912762
|
} });
|
|
912703
912763
|
|
|
912704
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912764
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/RequestPropertyValue.mjs
|
|
912705
912765
|
var RequestPropertyValue29 = {
|
|
912706
912766
|
query: (value2) => {
|
|
912707
912767
|
return Object.assign(Object.assign({}, value2), { type: "query", _visit: function(visitor) {
|
|
@@ -912725,7 +912785,7 @@ var RequestPropertyValue29 = {
|
|
|
912725
912785
|
}
|
|
912726
912786
|
};
|
|
912727
912787
|
|
|
912728
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912788
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SdkRequestBodyType.mjs
|
|
912729
912789
|
var SdkRequestBodyType29 = {
|
|
912730
912790
|
typeReference: (value2) => {
|
|
912731
912791
|
return Object.assign(Object.assign({}, value2), { type: "typeReference", _visit: function(visitor) {
|
|
@@ -912749,7 +912809,7 @@ var SdkRequestBodyType29 = {
|
|
|
912749
912809
|
}
|
|
912750
912810
|
};
|
|
912751
912811
|
|
|
912752
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912812
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SdkRequestShape.mjs
|
|
912753
912813
|
var SdkRequestShape29 = {
|
|
912754
912814
|
justRequestBody: (value2) => {
|
|
912755
912815
|
return {
|
|
@@ -912777,7 +912837,7 @@ var SdkRequestShape29 = {
|
|
|
912777
912837
|
}
|
|
912778
912838
|
};
|
|
912779
912839
|
|
|
912780
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912840
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/StreamingResponse.mjs
|
|
912781
912841
|
var StreamingResponse29 = {
|
|
912782
912842
|
json: (value2) => {
|
|
912783
912843
|
return Object.assign(Object.assign({}, value2), { type: "json", _visit: function(visitor) {
|
|
@@ -912808,7 +912868,7 @@ var StreamingResponse29 = {
|
|
|
912808
912868
|
}
|
|
912809
912869
|
};
|
|
912810
912870
|
|
|
912811
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912871
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SupportedSdkLanguage.mjs
|
|
912812
912872
|
var SupportedSdkLanguageValues16 = {
|
|
912813
912873
|
Curl: "curl",
|
|
912814
912874
|
Python: "python",
|
|
@@ -912851,7 +912911,7 @@ var SupportedSdkLanguage31 = Object.assign(Object.assign({}, SupportedSdkLanguag
|
|
|
912851
912911
|
}
|
|
912852
912912
|
} });
|
|
912853
912913
|
|
|
912854
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912914
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/Transport.mjs
|
|
912855
912915
|
var Transport29 = {
|
|
912856
912916
|
http: () => {
|
|
912857
912917
|
return {
|
|
@@ -912878,7 +912938,7 @@ var Transport29 = {
|
|
|
912878
912938
|
}
|
|
912879
912939
|
};
|
|
912880
912940
|
|
|
912881
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912941
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/index.mjs
|
|
912882
912942
|
var ir_exports58 = {};
|
|
912883
912943
|
__export(ir_exports58, {
|
|
912884
912944
|
ApiDefinitionSource: () => ApiDefinitionSource29,
|
|
@@ -912888,7 +912948,7 @@ __export(ir_exports58, {
|
|
|
912888
912948
|
InvocationSource: () => InvocationSource5
|
|
912889
912949
|
});
|
|
912890
912950
|
|
|
912891
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912951
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ApiDefinitionSource.mjs
|
|
912892
912952
|
var ApiDefinitionSource29 = {
|
|
912893
912953
|
proto: (value2) => {
|
|
912894
912954
|
return Object.assign(Object.assign({}, value2), { type: "proto", _visit: function(visitor) {
|
|
@@ -912915,7 +912975,7 @@ var ApiDefinitionSource29 = {
|
|
|
912915
912975
|
}
|
|
912916
912976
|
};
|
|
912917
912977
|
|
|
912918
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912978
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ApiVersionScheme.mjs
|
|
912919
912979
|
var ApiVersionScheme29 = {
|
|
912920
912980
|
header: (value2) => {
|
|
912921
912981
|
return Object.assign(Object.assign({}, value2), { type: "header", _visit: function(visitor) {
|
|
@@ -912932,7 +912992,7 @@ var ApiVersionScheme29 = {
|
|
|
912932
912992
|
}
|
|
912933
912993
|
};
|
|
912934
912994
|
|
|
912935
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912995
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ErrorDiscriminationStrategy.mjs
|
|
912936
912996
|
var ErrorDiscriminationStrategy29 = {
|
|
912937
912997
|
statusCode: () => {
|
|
912938
912998
|
return {
|
|
@@ -912959,7 +913019,7 @@ var ErrorDiscriminationStrategy29 = {
|
|
|
912959
913019
|
}
|
|
912960
913020
|
};
|
|
912961
913021
|
|
|
912962
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913022
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ExampleStyle.mjs
|
|
912963
913023
|
var ExampleStyleValues7 = {
|
|
912964
913024
|
Minimal: "minimal",
|
|
912965
913025
|
Comprehensive: "comprehensive"
|
|
@@ -912975,7 +913035,7 @@ var ExampleStyle15 = Object.assign(Object.assign({}, ExampleStyleValues7), { _vi
|
|
|
912975
913035
|
}
|
|
912976
913036
|
} });
|
|
912977
913037
|
|
|
912978
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913038
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/InvocationSource.mjs
|
|
912979
913039
|
var InvocationSourceValues3 = {
|
|
912980
913040
|
Autopilot: "autopilot",
|
|
912981
913041
|
Autorelease: "autorelease",
|
|
@@ -912997,7 +913057,7 @@ var InvocationSource5 = Object.assign(Object.assign({}, InvocationSourceValues3)
|
|
|
912997
913057
|
}
|
|
912998
913058
|
} });
|
|
912999
913059
|
|
|
913000
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913060
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/index.mjs
|
|
913001
913061
|
var proto_exports29 = {};
|
|
913002
913062
|
__export(proto_exports29, {
|
|
913003
913063
|
ProtobufMethodType: () => ProtobufMethodType19,
|
|
@@ -913005,7 +913065,7 @@ __export(proto_exports29, {
|
|
|
913005
913065
|
WellKnownProtobufType: () => WellKnownProtobufType29
|
|
913006
913066
|
});
|
|
913007
913067
|
|
|
913008
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913068
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/ProtobufMethodType.mjs
|
|
913009
913069
|
var ProtobufMethodTypeValues10 = {
|
|
913010
913070
|
Unary: "UNARY",
|
|
913011
913071
|
ClientStream: "CLIENT_STREAM",
|
|
@@ -913027,7 +913087,7 @@ var ProtobufMethodType19 = Object.assign(Object.assign({}, ProtobufMethodTypeVal
|
|
|
913027
913087
|
}
|
|
913028
913088
|
} });
|
|
913029
913089
|
|
|
913030
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913090
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/ProtobufType.mjs
|
|
913031
913091
|
var ProtobufType29 = {
|
|
913032
913092
|
wellKnown: (value2) => {
|
|
913033
913093
|
return {
|
|
@@ -913055,7 +913115,7 @@ var ProtobufType29 = {
|
|
|
913055
913115
|
}
|
|
913056
913116
|
};
|
|
913057
913117
|
|
|
913058
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913118
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/WellKnownProtobufType.mjs
|
|
913059
913119
|
var WellKnownProtobufType29 = {
|
|
913060
913120
|
any: () => {
|
|
913061
913121
|
return {
|
|
@@ -913365,14 +913425,14 @@ var WellKnownProtobufType29 = {
|
|
|
913365
913425
|
}
|
|
913366
913426
|
};
|
|
913367
913427
|
|
|
913368
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913428
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/index.mjs
|
|
913369
913429
|
var publish_exports29 = {};
|
|
913370
913430
|
__export(publish_exports29, {
|
|
913371
913431
|
PublishTarget: () => PublishTarget29,
|
|
913372
913432
|
PublishingConfig: () => PublishingConfig29
|
|
913373
913433
|
});
|
|
913374
913434
|
|
|
913375
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913435
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/types/PublishingConfig.mjs
|
|
913376
913436
|
var PublishingConfig29 = {
|
|
913377
913437
|
github: (value2) => {
|
|
913378
913438
|
return Object.assign(Object.assign({}, value2), { type: "github", _visit: function(visitor) {
|
|
@@ -913403,7 +913463,7 @@ var PublishingConfig29 = {
|
|
|
913403
913463
|
}
|
|
913404
913464
|
};
|
|
913405
913465
|
|
|
913406
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913466
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/types/PublishTarget.mjs
|
|
913407
913467
|
var PublishTarget29 = {
|
|
913408
913468
|
postman: (value2) => {
|
|
913409
913469
|
return Object.assign(Object.assign({}, value2), { type: "postman", _visit: function(visitor) {
|
|
@@ -913455,7 +913515,7 @@ var PublishTarget29 = {
|
|
|
913455
913515
|
}
|
|
913456
913516
|
};
|
|
913457
913517
|
|
|
913458
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913518
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/index.mjs
|
|
913459
913519
|
var types_exports67 = {};
|
|
913460
913520
|
__export(types_exports67, {
|
|
913461
913521
|
ContainerType: () => ContainerType29,
|
|
@@ -913478,7 +913538,7 @@ __export(types_exports67, {
|
|
|
913478
913538
|
UnionDiscriminatorContext: () => UnionDiscriminatorContext9
|
|
913479
913539
|
});
|
|
913480
913540
|
|
|
913481
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913541
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ContainerType.mjs
|
|
913482
913542
|
var ContainerType29 = {
|
|
913483
913543
|
list: (value2) => {
|
|
913484
913544
|
return {
|
|
@@ -913550,7 +913610,7 @@ var ContainerType29 = {
|
|
|
913550
913610
|
}
|
|
913551
913611
|
};
|
|
913552
913612
|
|
|
913553
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913613
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleContainer.mjs
|
|
913554
913614
|
var ExampleContainer29 = {
|
|
913555
913615
|
list: (value2) => {
|
|
913556
913616
|
return Object.assign(Object.assign({}, value2), { type: "list", _visit: function(visitor) {
|
|
@@ -913602,7 +913662,7 @@ var ExampleContainer29 = {
|
|
|
913602
913662
|
}
|
|
913603
913663
|
};
|
|
913604
913664
|
|
|
913605
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913665
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExamplePrimitive.mjs
|
|
913606
913666
|
var ExamplePrimitive29 = {
|
|
913607
913667
|
integer: (value2) => {
|
|
913608
913668
|
return {
|
|
@@ -913758,7 +913818,7 @@ var ExamplePrimitive29 = {
|
|
|
913758
913818
|
}
|
|
913759
913819
|
};
|
|
913760
913820
|
|
|
913761
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913821
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleSingleUnionTypeProperties.mjs
|
|
913762
913822
|
var ExampleSingleUnionTypeProperties29 = {
|
|
913763
913823
|
samePropertiesAsObject: (value2) => {
|
|
913764
913824
|
return Object.assign(Object.assign({}, value2), { type: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -913792,7 +913852,7 @@ var ExampleSingleUnionTypeProperties29 = {
|
|
|
913792
913852
|
}
|
|
913793
913853
|
};
|
|
913794
913854
|
|
|
913795
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913855
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleTypeReferenceShape.mjs
|
|
913796
913856
|
var ExampleTypeReferenceShape29 = {
|
|
913797
913857
|
primitive: (value2) => {
|
|
913798
913858
|
return {
|
|
@@ -913842,7 +913902,7 @@ var ExampleTypeReferenceShape29 = {
|
|
|
913842
913902
|
}
|
|
913843
913903
|
};
|
|
913844
913904
|
|
|
913845
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913905
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleTypeShape.mjs
|
|
913846
913906
|
var ExampleTypeShape29 = {
|
|
913847
913907
|
alias: (value2) => {
|
|
913848
913908
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -913887,7 +913947,7 @@ var ExampleTypeShape29 = {
|
|
|
913887
913947
|
}
|
|
913888
913948
|
};
|
|
913889
913949
|
|
|
913890
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913950
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Literal.mjs
|
|
913891
913951
|
var Literal30 = {
|
|
913892
913952
|
string: (value2) => {
|
|
913893
913953
|
return {
|
|
@@ -913919,7 +913979,7 @@ var Literal30 = {
|
|
|
913919
913979
|
}
|
|
913920
913980
|
};
|
|
913921
913981
|
|
|
913922
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913982
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/NamedTypeDefault.mjs
|
|
913923
913983
|
var NamedTypeDefault29 = {
|
|
913924
913984
|
enum: (value2) => {
|
|
913925
913985
|
return Object.assign(Object.assign({}, value2), { type: "enum", _visit: function(visitor) {
|
|
@@ -913936,7 +913996,7 @@ var NamedTypeDefault29 = {
|
|
|
913936
913996
|
}
|
|
913937
913997
|
};
|
|
913938
913998
|
|
|
913939
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913999
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ObjectPropertyAccess.mjs
|
|
913940
914000
|
var ObjectPropertyAccessValues21 = {
|
|
913941
914001
|
ReadOnly: "READ_ONLY",
|
|
913942
914002
|
WriteOnly: "WRITE_ONLY"
|
|
@@ -913952,7 +914012,7 @@ var ObjectPropertyAccess42 = Object.assign(Object.assign({}, ObjectPropertyAcces
|
|
|
913952
914012
|
}
|
|
913953
914013
|
} });
|
|
913954
914014
|
|
|
913955
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914015
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/PrimitiveTypeV1.mjs
|
|
913956
914016
|
var PrimitiveTypeV1Values23 = {
|
|
913957
914017
|
Integer: "INTEGER",
|
|
913958
914018
|
/**
|
|
@@ -914006,7 +914066,7 @@ var PrimitiveTypeV144 = Object.assign(Object.assign({}, PrimitiveTypeV1Values23)
|
|
|
914006
914066
|
}
|
|
914007
914067
|
} });
|
|
914008
914068
|
|
|
914009
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914069
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/PrimitiveTypeV2.mjs
|
|
914010
914070
|
var PrimitiveTypeV229 = {
|
|
914011
914071
|
integer: (value2) => {
|
|
914012
914072
|
return Object.assign(Object.assign({}, value2), { type: "integer", _visit: function(visitor) {
|
|
@@ -914114,7 +914174,7 @@ var PrimitiveTypeV229 = {
|
|
|
914114
914174
|
}
|
|
914115
914175
|
};
|
|
914116
914176
|
|
|
914117
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914177
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ResolvedTypeReference.mjs
|
|
914118
914178
|
var ResolvedTypeReference29 = {
|
|
914119
914179
|
container: (value2) => {
|
|
914120
914180
|
return {
|
|
@@ -914163,7 +914223,7 @@ var ResolvedTypeReference29 = {
|
|
|
914163
914223
|
}
|
|
914164
914224
|
};
|
|
914165
914225
|
|
|
914166
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914226
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ShapeType.mjs
|
|
914167
914227
|
var ShapeTypeValues15 = {
|
|
914168
914228
|
Enum: "ENUM",
|
|
914169
914229
|
Object: "OBJECT",
|
|
@@ -914185,7 +914245,7 @@ var ShapeType29 = Object.assign(Object.assign({}, ShapeTypeValues15), { _visit:
|
|
|
914185
914245
|
}
|
|
914186
914246
|
} });
|
|
914187
914247
|
|
|
914188
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914248
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/SingleUnionTypeProperties.mjs
|
|
914189
914249
|
var SingleUnionTypeProperties29 = {
|
|
914190
914250
|
samePropertiesAsObject: (value2) => {
|
|
914191
914251
|
return Object.assign(Object.assign({}, value2), { propertiesType: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -914219,7 +914279,7 @@ var SingleUnionTypeProperties29 = {
|
|
|
914219
914279
|
}
|
|
914220
914280
|
};
|
|
914221
914281
|
|
|
914222
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914282
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Source.mjs
|
|
914223
914283
|
var Source33 = {
|
|
914224
914284
|
proto: (value2) => {
|
|
914225
914285
|
return {
|
|
@@ -914240,7 +914300,7 @@ var Source33 = {
|
|
|
914240
914300
|
}
|
|
914241
914301
|
};
|
|
914242
914302
|
|
|
914243
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914303
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Type.mjs
|
|
914244
914304
|
var Type30 = {
|
|
914245
914305
|
alias: (value2) => {
|
|
914246
914306
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -914285,7 +914345,7 @@ var Type30 = {
|
|
|
914285
914345
|
}
|
|
914286
914346
|
};
|
|
914287
914347
|
|
|
914288
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914348
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/TypeReference.mjs
|
|
914289
914349
|
var TypeReference58 = {
|
|
914290
914350
|
container: (value2) => {
|
|
914291
914351
|
return {
|
|
@@ -914334,7 +914394,7 @@ var TypeReference58 = {
|
|
|
914334
914394
|
}
|
|
914335
914395
|
};
|
|
914336
914396
|
|
|
914337
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914397
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/UnionDiscriminatorContext.mjs
|
|
914338
914398
|
var UnionDiscriminatorContextValues4 = {
|
|
914339
914399
|
/**
|
|
914340
914400
|
* Discriminator is within the union data itself (e.g., data.type field) */
|
|
@@ -914354,15 +914414,17 @@ var UnionDiscriminatorContext9 = Object.assign(Object.assign({}, UnionDiscrimina
|
|
|
914354
914414
|
}
|
|
914355
914415
|
} });
|
|
914356
914416
|
|
|
914357
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914417
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/variables/index.mjs
|
|
914358
914418
|
var variables_exports46 = {};
|
|
914359
914419
|
|
|
914360
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914420
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/index.mjs
|
|
914361
914421
|
var webhooks_exports31 = {};
|
|
914362
914422
|
__export(webhooks_exports31, {
|
|
914363
914423
|
AsymmetricAlgorithm: () => AsymmetricAlgorithm9,
|
|
914364
914424
|
AsymmetricKeySource: () => AsymmetricKeySource7,
|
|
914365
914425
|
HmacAlgorithm: () => HmacAlgorithm7,
|
|
914426
|
+
WebhookBodyHashAlgorithm: () => WebhookBodyHashAlgorithm5,
|
|
914427
|
+
WebhookBodyHashLocation: () => WebhookBodyHashLocation5,
|
|
914366
914428
|
WebhookHttpMethod: () => WebhookHttpMethod31,
|
|
914367
914429
|
WebhookPayload: () => WebhookPayload29,
|
|
914368
914430
|
WebhookPayloadBodySort: () => WebhookPayloadBodySort9,
|
|
@@ -914372,7 +914434,7 @@ __export(webhooks_exports31, {
|
|
|
914372
914434
|
WebhookTimestampFormat: () => WebhookTimestampFormat9
|
|
914373
914435
|
});
|
|
914374
914436
|
|
|
914375
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914437
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/AsymmetricAlgorithm.mjs
|
|
914376
914438
|
var AsymmetricAlgorithmValues5 = {
|
|
914377
914439
|
RsaSha256: "RSA_SHA256",
|
|
914378
914440
|
RsaSha384: "RSA_SHA384",
|
|
@@ -914403,7 +914465,7 @@ var AsymmetricAlgorithm9 = Object.assign(Object.assign({}, AsymmetricAlgorithmVa
|
|
|
914403
914465
|
}
|
|
914404
914466
|
} });
|
|
914405
914467
|
|
|
914406
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914468
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/AsymmetricKeySource.mjs
|
|
914407
914469
|
var AsymmetricKeySource7 = {
|
|
914408
914470
|
jwks: (value2) => {
|
|
914409
914471
|
return Object.assign(Object.assign({}, value2), { type: "jwks", _visit: function(visitor) {
|
|
@@ -914427,7 +914489,7 @@ var AsymmetricKeySource7 = {
|
|
|
914427
914489
|
}
|
|
914428
914490
|
};
|
|
914429
914491
|
|
|
914430
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914492
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/HmacAlgorithm.mjs
|
|
914431
914493
|
var HmacAlgorithmValues4 = {
|
|
914432
914494
|
Sha256: "SHA256",
|
|
914433
914495
|
Sha1: "SHA1",
|
|
@@ -914449,7 +914511,46 @@ var HmacAlgorithm7 = Object.assign(Object.assign({}, HmacAlgorithmValues4), { _v
|
|
|
914449
914511
|
}
|
|
914450
914512
|
} });
|
|
914451
914513
|
|
|
914452
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914514
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookBodyHashAlgorithm.mjs
|
|
914515
|
+
var WebhookBodyHashAlgorithmValues3 = {
|
|
914516
|
+
Sha256: "SHA256",
|
|
914517
|
+
Sha1: "SHA1",
|
|
914518
|
+
Sha384: "SHA384",
|
|
914519
|
+
Sha512: "SHA512"
|
|
914520
|
+
};
|
|
914521
|
+
var WebhookBodyHashAlgorithm5 = Object.assign(Object.assign({}, WebhookBodyHashAlgorithmValues3), { _visit: (value2, visitor) => {
|
|
914522
|
+
switch (value2) {
|
|
914523
|
+
case WebhookBodyHashAlgorithm5.Sha256:
|
|
914524
|
+
return visitor.sha256();
|
|
914525
|
+
case WebhookBodyHashAlgorithm5.Sha1:
|
|
914526
|
+
return visitor.sha1();
|
|
914527
|
+
case WebhookBodyHashAlgorithm5.Sha384:
|
|
914528
|
+
return visitor.sha384();
|
|
914529
|
+
case WebhookBodyHashAlgorithm5.Sha512:
|
|
914530
|
+
return visitor.sha512();
|
|
914531
|
+
default:
|
|
914532
|
+
return visitor._other();
|
|
914533
|
+
}
|
|
914534
|
+
} });
|
|
914535
|
+
|
|
914536
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookBodyHashLocation.mjs
|
|
914537
|
+
var WebhookBodyHashLocation5 = {
|
|
914538
|
+
queryParameter: (value2) => {
|
|
914539
|
+
return Object.assign(Object.assign({}, value2), { type: "queryParameter", _visit: function(visitor) {
|
|
914540
|
+
return WebhookBodyHashLocation5._visit(this, visitor);
|
|
914541
|
+
} });
|
|
914542
|
+
},
|
|
914543
|
+
_visit: (value2, visitor) => {
|
|
914544
|
+
switch (value2.type) {
|
|
914545
|
+
case "queryParameter":
|
|
914546
|
+
return visitor.queryParameter(value2);
|
|
914547
|
+
default:
|
|
914548
|
+
return visitor._other(value2);
|
|
914549
|
+
}
|
|
914550
|
+
}
|
|
914551
|
+
};
|
|
914552
|
+
|
|
914553
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookHttpMethod.mjs
|
|
914453
914554
|
var WebhookHttpMethodValues16 = {
|
|
914454
914555
|
Get: "GET",
|
|
914455
914556
|
Post: "POST"
|
|
@@ -914465,7 +914566,7 @@ var WebhookHttpMethod31 = Object.assign(Object.assign({}, WebhookHttpMethodValue
|
|
|
914465
914566
|
}
|
|
914466
914567
|
} });
|
|
914467
914568
|
|
|
914468
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914569
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayload.mjs
|
|
914469
914570
|
var WebhookPayload29 = {
|
|
914470
914571
|
inlinedPayload: (value2) => {
|
|
914471
914572
|
return Object.assign(Object.assign({}, value2), { type: "inlinedPayload", _visit: function(visitor) {
|
|
@@ -914489,7 +914590,7 @@ var WebhookPayload29 = {
|
|
|
914489
914590
|
}
|
|
914490
914591
|
};
|
|
914491
914592
|
|
|
914492
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914593
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayloadBodySort.mjs
|
|
914493
914594
|
var WebhookPayloadBodySortValues5 = {
|
|
914494
914595
|
Alphabetical: "ALPHABETICAL"
|
|
914495
914596
|
};
|
|
@@ -914502,7 +914603,7 @@ var WebhookPayloadBodySort9 = Object.assign(Object.assign({}, WebhookPayloadBody
|
|
|
914502
914603
|
}
|
|
914503
914604
|
} });
|
|
914504
914605
|
|
|
914505
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914606
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayloadComponent.mjs
|
|
914506
914607
|
var WebhookPayloadComponentValues5 = {
|
|
914507
914608
|
/**
|
|
914508
914609
|
* The raw request body. */
|
|
@@ -914532,7 +914633,7 @@ var WebhookPayloadComponent9 = Object.assign(Object.assign({}, WebhookPayloadCom
|
|
|
914532
914633
|
}
|
|
914533
914634
|
} });
|
|
914534
914635
|
|
|
914535
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914636
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookSignatureEncoding.mjs
|
|
914536
914637
|
var WebhookSignatureEncodingValues5 = {
|
|
914537
914638
|
Base64: "BASE64",
|
|
914538
914639
|
Hex: "HEX"
|
|
@@ -914548,7 +914649,7 @@ var WebhookSignatureEncoding9 = Object.assign(Object.assign({}, WebhookSignature
|
|
|
914548
914649
|
}
|
|
914549
914650
|
} });
|
|
914550
914651
|
|
|
914551
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914652
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookSignatureVerification.mjs
|
|
914552
914653
|
var WebhookSignatureVerification9 = {
|
|
914553
914654
|
hmac: (value2) => {
|
|
914554
914655
|
return Object.assign(Object.assign({}, value2), { type: "hmac", _visit: function(visitor) {
|
|
@@ -914572,7 +914673,7 @@ var WebhookSignatureVerification9 = {
|
|
|
914572
914673
|
}
|
|
914573
914674
|
};
|
|
914574
914675
|
|
|
914575
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914676
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookTimestampFormat.mjs
|
|
914576
914677
|
var WebhookTimestampFormatValues5 = {
|
|
914577
914678
|
UnixSeconds: "UNIX_SECONDS",
|
|
914578
914679
|
UnixMillis: "UNIX_MILLIS",
|
|
@@ -914591,7 +914692,7 @@ var WebhookTimestampFormat9 = Object.assign(Object.assign({}, WebhookTimestampFo
|
|
|
914591
914692
|
}
|
|
914592
914693
|
} });
|
|
914593
914694
|
|
|
914594
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914695
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/index.mjs
|
|
914595
914696
|
var websocket_exports33 = {};
|
|
914596
914697
|
__export(websocket_exports33, {
|
|
914597
914698
|
ExampleWebSocketMessageBody: () => ExampleWebSocketMessageBody29,
|
|
@@ -914599,7 +914700,7 @@ __export(websocket_exports33, {
|
|
|
914599
914700
|
WebSocketMessageOrigin: () => WebSocketMessageOrigin30
|
|
914600
914701
|
});
|
|
914601
914702
|
|
|
914602
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914703
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/ExampleWebSocketMessageBody.mjs
|
|
914603
914704
|
var ExampleWebSocketMessageBody29 = {
|
|
914604
914705
|
inlinedBody: (value2) => {
|
|
914605
914706
|
return Object.assign(Object.assign({}, value2), { type: "inlinedBody", _visit: function(visitor) {
|
|
@@ -914623,7 +914724,7 @@ var ExampleWebSocketMessageBody29 = {
|
|
|
914623
914724
|
}
|
|
914624
914725
|
};
|
|
914625
914726
|
|
|
914626
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914727
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/WebSocketMessageBody.mjs
|
|
914627
914728
|
var WebSocketMessageBody29 = {
|
|
914628
914729
|
inlinedBody: (value2) => {
|
|
914629
914730
|
return Object.assign(Object.assign({}, value2), { type: "inlinedBody", _visit: function(visitor) {
|
|
@@ -914647,7 +914748,7 @@ var WebSocketMessageBody29 = {
|
|
|
914647
914748
|
}
|
|
914648
914749
|
};
|
|
914649
914750
|
|
|
914650
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914751
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/WebSocketMessageOrigin.mjs
|
|
914651
914752
|
var WebSocketMessageOriginValues15 = {
|
|
914652
914753
|
Client: "client",
|
|
914653
914754
|
Server: "server"
|
|
@@ -915467,7 +915568,9 @@ var ClassReference = class extends Node5 {
|
|
|
915467
915568
|
this.namespaceSegments[0] === "System" || // if the first segment in a FQN is ambiguous, then we need to globally qualify the type if it gets expanded
|
|
915468
915569
|
this.registry.isAmbiguousTypeName(this.namespaceSegments[0]) || this.registry.isAmbiguousNamespaceName(this.namespaceSegments[0]) || // if the first namespace segment is both a type name and a namespace root,
|
|
915469
915570
|
// the C# compiler will resolve it to the type instead of the namespace (CS0426)
|
|
915470
|
-
this.registry.hasTypeNamespaceConflict(this.namespaceSegments[0]) || //
|
|
915571
|
+
this.registry.hasTypeNamespaceConflict(this.namespaceSegments[0]) || // a nested type can also shadow the root namespace segment, but only within its
|
|
915572
|
+
// enclosing type's body — qualify only when we are writing inside that scope
|
|
915573
|
+
this.registry.hasNestedTypeShadowInScope(this.namespaceSegments[0], writer2.typeScopeStack) || // or we always are going to be using fully qualified namespaces
|
|
915471
915574
|
writer2.generation.settings.useFullyQualifiedNamespaces);
|
|
915472
915575
|
let fqNameBase = this.csharpQualifiedName;
|
|
915473
915576
|
if (isAttribute && fqNameBase.endsWith("Attribute")) {
|
|
@@ -920460,6 +920563,7 @@ var Class2 = class _Class extends DefinedType {
|
|
|
920460
920563
|
}
|
|
920461
920564
|
writer2.writeNewLineIfLastLineNot();
|
|
920462
920565
|
writer2.pushScope();
|
|
920566
|
+
writer2.pushTypeScope(this.reference.fullyQualifiedName);
|
|
920463
920567
|
this.writeConsts(writer2);
|
|
920464
920568
|
this.writeFieldFields(writer2);
|
|
920465
920569
|
this.writeConstructors(writer2);
|
|
@@ -920469,6 +920573,7 @@ var Class2 = class _Class extends DefinedType {
|
|
|
920469
920573
|
this.writeRawBodyBlocks(writer2);
|
|
920470
920574
|
this.writeNestedClasses(writer2);
|
|
920471
920575
|
this.writeNestedInterfaces(writer2);
|
|
920576
|
+
writer2.popTypeScope();
|
|
920472
920577
|
writer2.popScope();
|
|
920473
920578
|
}
|
|
920474
920579
|
hasBody() {
|
|
@@ -921730,6 +921835,19 @@ var NameRegistry = class _NameRegistry {
|
|
|
921730
921835
|
* Value: Set of parent namespace paths where this segment appears
|
|
921731
921836
|
*/
|
|
921732
921837
|
namespaceNames = /* @__PURE__ */ new Map();
|
|
921838
|
+
/**
|
|
921839
|
+
* Registry tracking nested types whose name equals the root segment of their own
|
|
921840
|
+
* namespace, which shadows that namespace inside the enclosing type's body (CS0426).
|
|
921841
|
+
*
|
|
921842
|
+
* Unlike a top-level type/namespace conflict (which shadows everywhere and is recorded
|
|
921843
|
+
* as a tracked type name), a nested type only shadows the namespace root within its
|
|
921844
|
+
* enclosing type's lexical scope. We therefore record the enclosing types rather than
|
|
921845
|
+
* the name globally, so references are qualified only when written inside that scope.
|
|
921846
|
+
*
|
|
921847
|
+
* Key: Nested type name that shadows its root namespace segment (e.g. "Acme")
|
|
921848
|
+
* Value: Set of enclosing-type fully qualified names the shadow is visible in
|
|
921849
|
+
*/
|
|
921850
|
+
nestedTypeShadows = /* @__PURE__ */ new Map();
|
|
921733
921851
|
/**
|
|
921734
921852
|
* Set of namespaces that are implicitly imported/available.
|
|
921735
921853
|
* Types in nested namespaces under these prefixes are tracked for ambiguity detection.
|
|
@@ -921938,6 +922056,28 @@ var NameRegistry = class _NameRegistry {
|
|
|
921938
922056
|
}
|
|
921939
922057
|
return this.typeNames.has(name2) && (this.namespaceNames.get(name2)?.has("") ?? false);
|
|
921940
922058
|
}
|
|
922059
|
+
/**
|
|
922060
|
+
* Checks whether `name` is a nested type that shadows its own root namespace segment
|
|
922061
|
+
* (see {@link nestedTypeShadows}) AND whether we are currently writing inside one of the
|
|
922062
|
+
* enclosing types where that shadow is visible. This is the scoped counterpart to
|
|
922063
|
+
* {@link hasTypeNamespaceConflict}: it lets reference sites emit a `global::` qualifier
|
|
922064
|
+
* only within the shadow's lexical scope, rather than everywhere the root segment appears.
|
|
922065
|
+
*
|
|
922066
|
+
* @param name - The first namespace segment of the reference being written (optional)
|
|
922067
|
+
* @param typeScopeStack - Fully qualified names of the enclosing types currently open,
|
|
922068
|
+
* outermost first (see `Writer.typeScopeStack`)
|
|
922069
|
+
* @returns `true` if a matching nested-type shadow is in scope, `false` otherwise
|
|
922070
|
+
*/
|
|
922071
|
+
hasNestedTypeShadowInScope(name2, typeScopeStack) {
|
|
922072
|
+
if (!name2 || this.knownBuiltInIdentifiers.has(name2)) {
|
|
922073
|
+
return false;
|
|
922074
|
+
}
|
|
922075
|
+
const enclosers = this.nestedTypeShadows.get(name2);
|
|
922076
|
+
if (!enclosers) {
|
|
922077
|
+
return false;
|
|
922078
|
+
}
|
|
922079
|
+
return typeScopeStack.some((fullyQualifiedName) => enclosers.has(fullyQualifiedName));
|
|
922080
|
+
}
|
|
921941
922081
|
/**
|
|
921942
922082
|
* Generates a fully qualified name string from a class reference identity.
|
|
921943
922083
|
* For nested types, includes the enclosing type in the qualified name.
|
|
@@ -921999,6 +922139,13 @@ var NameRegistry = class _NameRegistry {
|
|
|
921999
922139
|
}
|
|
922000
922140
|
if (!enclosingType) {
|
|
922001
922141
|
this.trackTypeName(name2, namespace);
|
|
922142
|
+
} else if (name2 === namespace.split(".")[0]) {
|
|
922143
|
+
let enclosers = this.nestedTypeShadows.get(name2);
|
|
922144
|
+
if (!enclosers) {
|
|
922145
|
+
enclosers = /* @__PURE__ */ new Set();
|
|
922146
|
+
this.nestedTypeShadows.set(name2, enclosers);
|
|
922147
|
+
}
|
|
922148
|
+
enclosers.add(enclosingType.fullyQualifiedName);
|
|
922002
922149
|
}
|
|
922003
922150
|
for (const each2 of [this.generation.namespaces.root, ...this.implicitNamespaces]) {
|
|
922004
922151
|
if (namespace.startsWith(each2)) {
|
|
@@ -929186,7 +929333,13 @@ var DynamicTypeInstantiationMapper = class {
|
|
|
929186
929333
|
const unionVariant = discriminatedUnionTypeInstance.singleDiscriminatedUnionType;
|
|
929187
929334
|
const baseFields = this.getBaseFields({
|
|
929188
929335
|
discriminatedUnionTypeInstance,
|
|
929189
|
-
singleDiscriminatedUnionType: unionVariant
|
|
929336
|
+
singleDiscriminatedUnionType: unionVariant,
|
|
929337
|
+
// When `dedupeUnionBaseProperties` removes a base property from the union's top-level
|
|
929338
|
+
// fields (exposing it through a discriminant-switching getter instead), that field no
|
|
929339
|
+
// longer exists on the struct, so setting it at the union root would fail to compile.
|
|
929340
|
+
// Those base properties are always carried by the variant's own object, so the value is
|
|
929341
|
+
// still present in the snippet. See getDedupedBasePropertyWireValues.
|
|
929342
|
+
excludeWireValues: this.getDedupedBasePropertyWireValues(discriminatedUnion2)
|
|
929190
929343
|
});
|
|
929191
929344
|
switch (unionVariant.type) {
|
|
929192
929345
|
case "samePropertiesAsObject": {
|
|
@@ -929247,14 +929400,14 @@ var DynamicTypeInstantiationMapper = class {
|
|
|
929247
929400
|
assertNever(unionVariant);
|
|
929248
929401
|
}
|
|
929249
929402
|
}
|
|
929250
|
-
getBaseFields({ discriminatedUnionTypeInstance, singleDiscriminatedUnionType }) {
|
|
929403
|
+
getBaseFields({ discriminatedUnionTypeInstance, singleDiscriminatedUnionType, excludeWireValues }) {
|
|
929251
929404
|
const properties7 = this.context.associateByWireValue({
|
|
929252
929405
|
parameters: singleDiscriminatedUnionType.properties ?? [],
|
|
929253
929406
|
values: this.context.getRecord(discriminatedUnionTypeInstance.value) ?? {},
|
|
929254
929407
|
// We're only selecting the base properties here. The rest of the properties
|
|
929255
929408
|
// are handled by the union variant.
|
|
929256
929409
|
ignoreMissingParameters: true
|
|
929257
|
-
});
|
|
929410
|
+
}).filter((property24) => !(excludeWireValues?.has(property24.name.wireValue) ?? false));
|
|
929258
929411
|
return properties7.map((property24) => {
|
|
929259
929412
|
this.context.errors.scope(property24.name.wireValue);
|
|
929260
929413
|
try {
|
|
@@ -929267,6 +929420,136 @@ var DynamicTypeInstantiationMapper = class {
|
|
|
929267
929420
|
}
|
|
929268
929421
|
});
|
|
929269
929422
|
}
|
|
929423
|
+
/**
|
|
929424
|
+
* Returns the wire values of the union base properties that the Go model generator drops as
|
|
929425
|
+
* top-level struct fields when `dedupeUnionBaseProperties` is enabled — mirroring the model's
|
|
929426
|
+
* `unionInheritedBasePropertyNames` so the snippet and the generated model dedupe an identical
|
|
929427
|
+
* set.
|
|
929428
|
+
*
|
|
929429
|
+
* The decision has a language-agnostic core and a thin Go-specific widening, exactly as in the
|
|
929430
|
+
* model:
|
|
929431
|
+
* - Core: the IR marks (in `DiscriminatedUnionType.inheritedBaseProperties`, the dynamic-IR
|
|
929432
|
+
* mirror of `UnionTypeDeclaration.inheritedBaseProperties`) the base properties every
|
|
929433
|
+
* `samePropertiesAsObject` variant redeclares with a structurally-equal type. This is the
|
|
929434
|
+
* shared source of truth, so the decision is not re-derived per language.
|
|
929435
|
+
* - Go-render widening: Go additionally dedupes a base property that every variant redeclares
|
|
929436
|
+
* with a Go-RENDER-equivalent type (e.g. `list`/`set` both render `[]T`, `optional`/`nullable`
|
|
929437
|
+
* both `*T`) even though the IR's conservative structural equality left it unmarked; the
|
|
929438
|
+
* delegating getter still compiles, so the top-level field is safe to drop.
|
|
929439
|
+
*
|
|
929440
|
+
* Literal base properties are always kept at the union root (they render as `<Name>()` methods,
|
|
929441
|
+
* not delegatable fields), matching the model. Base properties that a variant does not carry, or
|
|
929442
|
+
* that a variant redeclares with a different Go getter type, keep their top-level field and must
|
|
929443
|
+
* still be set at the union root, so they are excluded here.
|
|
929444
|
+
*
|
|
929445
|
+
* To stay in lockstep with the model, base<->variant properties are matched by Go field name (not
|
|
929446
|
+
* wire value) via {@link getObjectExportedProperties}, and compared through
|
|
929447
|
+
* {@link getGoGetterTypeString} — the single comparison primitive that renders a getter's Go type
|
|
929448
|
+
* including the `getters-pass-by-value` `*`-stripping the model applies. Both the structural-core
|
|
929449
|
+
* and the widening path route through it, so the two generators cannot drift.
|
|
929450
|
+
*/
|
|
929451
|
+
getDedupedBasePropertyWireValues(discriminatedUnion2) {
|
|
929452
|
+
if (!this.context.customConfig?.dedupeUnionBaseProperties) {
|
|
929453
|
+
return /* @__PURE__ */ new Set();
|
|
929454
|
+
}
|
|
929455
|
+
const variants = Object.values(discriminatedUnion2.types);
|
|
929456
|
+
if (variants.length === 0 || !variants.every((variant) => variant.type === "samePropertiesAsObject")) {
|
|
929457
|
+
return /* @__PURE__ */ new Set();
|
|
929458
|
+
}
|
|
929459
|
+
const baseProperties = variants[0]?.properties ?? [];
|
|
929460
|
+
if (baseProperties.length === 0) {
|
|
929461
|
+
return /* @__PURE__ */ new Set();
|
|
929462
|
+
}
|
|
929463
|
+
const structurallyInherited = new Set((discriminatedUnion2.inheritedBaseProperties ?? []).map((property24) => property24.wireValue));
|
|
929464
|
+
const errorsBefore = this.context.errors.size();
|
|
929465
|
+
try {
|
|
929466
|
+
const variantPropertiesByField = variants.map((variant) => this.getObjectExportedProperties(variant.typeId));
|
|
929467
|
+
const everyVariantExposesNonLiteralProperty = (fieldName) => variantPropertiesByField.every((declared) => {
|
|
929468
|
+
const variantProperty = declared.get(fieldName);
|
|
929469
|
+
return variantProperty != null && variantProperty.typeReference.type !== "literal";
|
|
929470
|
+
});
|
|
929471
|
+
const deduped = /* @__PURE__ */ new Set();
|
|
929472
|
+
for (const baseProperty2 of baseProperties) {
|
|
929473
|
+
if (baseProperty2.typeReference.type === "literal") {
|
|
929474
|
+
continue;
|
|
929475
|
+
}
|
|
929476
|
+
const fieldName = this.context.getFieldName(baseProperty2.name.name);
|
|
929477
|
+
if (structurallyInherited.has(baseProperty2.name.wireValue)) {
|
|
929478
|
+
if (everyVariantExposesNonLiteralProperty(fieldName)) {
|
|
929479
|
+
deduped.add(baseProperty2.name.wireValue);
|
|
929480
|
+
}
|
|
929481
|
+
continue;
|
|
929482
|
+
}
|
|
929483
|
+
const baseGetterType = this.getGoGetterTypeString(baseProperty2.typeReference);
|
|
929484
|
+
const carriedByEveryVariant = variantPropertiesByField.every((declared) => {
|
|
929485
|
+
const variantProperty = declared.get(fieldName);
|
|
929486
|
+
return variantProperty != null && variantProperty.typeReference.type !== "literal" && this.getGoGetterTypeString(variantProperty.typeReference) === baseGetterType;
|
|
929487
|
+
});
|
|
929488
|
+
if (carriedByEveryVariant) {
|
|
929489
|
+
deduped.add(baseProperty2.name.wireValue);
|
|
929490
|
+
}
|
|
929491
|
+
}
|
|
929492
|
+
return deduped;
|
|
929493
|
+
} finally {
|
|
929494
|
+
this.context.errors.truncate(errorsBefore);
|
|
929495
|
+
}
|
|
929496
|
+
}
|
|
929497
|
+
/**
|
|
929498
|
+
* Collects the properties an object exports, keyed by Go field name, following its `extends` chain
|
|
929499
|
+
* (matching the model's `objectExportedProperties`). Extended properties are collected first so a
|
|
929500
|
+
* property declared directly on the object overrides one inherited via `extends`, exactly as the
|
|
929501
|
+
* model does. Empty for anything that does not resolve to an object.
|
|
929502
|
+
*/
|
|
929503
|
+
getObjectExportedProperties(typeId) {
|
|
929504
|
+
const properties7 = /* @__PURE__ */ new Map();
|
|
929505
|
+
const visited = /* @__PURE__ */ new Set();
|
|
929506
|
+
const collect2 = (id) => {
|
|
929507
|
+
if (visited.has(id)) {
|
|
929508
|
+
return;
|
|
929509
|
+
}
|
|
929510
|
+
visited.add(id);
|
|
929511
|
+
const named = this.context.resolveNamedType({ typeId: id });
|
|
929512
|
+
if (named?.type !== "object") {
|
|
929513
|
+
return;
|
|
929514
|
+
}
|
|
929515
|
+
for (const extended of named.extends ?? []) {
|
|
929516
|
+
collect2(extended);
|
|
929517
|
+
}
|
|
929518
|
+
for (const property24 of named.properties) {
|
|
929519
|
+
properties7.set(this.context.getFieldName(property24.name.name), property24);
|
|
929520
|
+
}
|
|
929521
|
+
};
|
|
929522
|
+
collect2(typeId);
|
|
929523
|
+
return properties7;
|
|
929524
|
+
}
|
|
929525
|
+
/**
|
|
929526
|
+
* Renders the Go type a getter for `typeReference` would return, so two references can be compared
|
|
929527
|
+
* for Go-getter-type equality. This is the single comparison primitive the dedupe decision uses,
|
|
929528
|
+
* mirroring the model's `processTypeFieldForOptional`:
|
|
929529
|
+
* - the type mapper collapses Go-render-equivalent shapes (`list`/`set` -> `[]T`,
|
|
929530
|
+
* `optional`/`nullable` -> `*T`), and
|
|
929531
|
+
* - when `getters-pass-by-value` is enabled the model returns the DEREFERENCED type for an
|
|
929532
|
+
* optional/nullable field, so we render the unwrapped type here to match. Without this the
|
|
929533
|
+
* snippet would keep a base field the model dropped under that config, re-introducing drift.
|
|
929534
|
+
*
|
|
929535
|
+
* `packageName`/`importPath` are arbitrary: the result is only ever compared against another
|
|
929536
|
+
* string produced by this same method, so any consistent values work, and rendering against a
|
|
929537
|
+
* throwaway file means it never registers imports on real output.
|
|
929538
|
+
*/
|
|
929539
|
+
getGoGetterTypeString(typeReference2) {
|
|
929540
|
+
let effectiveTypeReference = typeReference2;
|
|
929541
|
+
if (this.context.customConfig?.gettersPassByValue) {
|
|
929542
|
+
while (effectiveTypeReference.type === "optional" || effectiveTypeReference.type === "nullable") {
|
|
929543
|
+
effectiveTypeReference = effectiveTypeReference.value;
|
|
929544
|
+
}
|
|
929545
|
+
}
|
|
929546
|
+
return this.context.dynamicTypeMapper.convert({ typeReference: effectiveTypeReference }).toString({
|
|
929547
|
+
packageName: "example",
|
|
929548
|
+
importPath: "fern",
|
|
929549
|
+
rootImportPath: this.context.rootImportPath,
|
|
929550
|
+
customConfig: this.context.customConfig ?? {}
|
|
929551
|
+
});
|
|
929552
|
+
}
|
|
929270
929553
|
convertObject({ object_, value: value2 }) {
|
|
929271
929554
|
const properties7 = this.context.associateByWireValue({
|
|
929272
929555
|
parameters: object_.properties,
|
|
@@ -957729,6 +958012,7 @@ async function getIntermediateRepresentation({ workspace, audiences, generatorIn
|
|
|
957729
958012
|
generationLanguage: generatorInvocation.language,
|
|
957730
958013
|
keywords: generatorInvocation.keywords,
|
|
957731
958014
|
smartCasing: generatorInvocation.smartCasing,
|
|
958015
|
+
smartCasingDigitWordBoundary: generatorInvocation.smartCasingDigitWordBoundary,
|
|
957732
958016
|
exampleGeneration: {
|
|
957733
958017
|
includeOptionalRequestPropertyExamples,
|
|
957734
958018
|
disabled: generatorInvocation.disableExamples
|
|
@@ -959132,6 +959416,7 @@ async function runLocalGenerationForWorkspace({ token, projectConfig, workspace,
|
|
|
959132
959416
|
generationLanguage: generatorInvocation.language,
|
|
959133
959417
|
keywords: generatorInvocation.keywords,
|
|
959134
959418
|
smartCasing: generatorInvocation.smartCasing,
|
|
959419
|
+
smartCasingDigitWordBoundary: generatorInvocation.smartCasingDigitWordBoundary,
|
|
959135
959420
|
exampleGeneration: {
|
|
959136
959421
|
includeOptionalRequestPropertyExamples: false,
|
|
959137
959422
|
disabled: generatorInvocation.disableExamples
|
|
@@ -959674,6 +959959,7 @@ var GenerationRunner = class {
|
|
|
959674
959959
|
generationLanguage: generatorInvocation.language,
|
|
959675
959960
|
keywords: generatorInvocation.keywords,
|
|
959676
959961
|
smartCasing: generatorInvocation.smartCasing,
|
|
959962
|
+
smartCasingDigitWordBoundary: generatorInvocation.smartCasingDigitWordBoundary,
|
|
959677
959963
|
exampleGeneration: {
|
|
959678
959964
|
includeOptionalRequestPropertyExamples: true,
|
|
959679
959965
|
disabled: generatorInvocation.disableExamples,
|
|
@@ -959778,6 +960064,7 @@ var LegacyGeneratorInvocationAdapter = class {
|
|
|
959778
960064
|
outputMode: await this.buildOutputMode(target),
|
|
959779
960065
|
absolutePathToLocalOutput: this.context.resolveOutputFilePath(target.output.path),
|
|
959780
960066
|
smartCasing: target.smartCasing ?? true,
|
|
960067
|
+
smartCasingDigitWordBoundary: false,
|
|
959781
960068
|
readme: this.buildReadme(target),
|
|
959782
960069
|
// Legacy options which are no longer supported.
|
|
959783
960070
|
absolutePathToLocalSnippets: void 0,
|
|
@@ -971273,7 +971560,7 @@ function getAutomationContextFromEnv() {
|
|
|
971273
971560
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
971274
971561
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
971275
971562
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
971276
|
-
cli_version: "5.
|
|
971563
|
+
cli_version: "5.75.1"
|
|
971277
971564
|
};
|
|
971278
971565
|
}
|
|
971279
971566
|
function isAutomationMode() {
|
|
@@ -972105,7 +972392,7 @@ var CliContext = class _CliContext {
|
|
|
972105
972392
|
if (false) {
|
|
972106
972393
|
this.logger.error("CLI_VERSION is not defined");
|
|
972107
972394
|
}
|
|
972108
|
-
return "5.
|
|
972395
|
+
return "5.75.1";
|
|
972109
972396
|
}
|
|
972110
972397
|
getCliName() {
|
|
972111
972398
|
if (false) {
|
|
@@ -981067,7 +981354,7 @@ var import_node_readline6 = require("readline");
|
|
|
981067
981354
|
init_lib6();
|
|
981068
981355
|
|
|
981069
981356
|
// src/commands/docs-theme/themeOrigin.ts
|
|
981070
|
-
var FDR_ORIGIN = process.env.OVERRIDE_FDR_ORIGIN ?? "https://registry.buildwithfern.com";
|
|
981357
|
+
var FDR_ORIGIN = process.env.OVERRIDE_FDR_ORIGIN ?? "https://registry-dev2.buildwithfern.com" ?? "https://registry.buildwithfern.com";
|
|
981071
981358
|
function describeFetchError(error50) {
|
|
981072
981359
|
if (!(error50 instanceof Error)) {
|
|
981073
981360
|
return String(error50);
|
|
@@ -981517,7 +981804,7 @@ ${errors4.map((e2) => ` - ${e2}`).join("\n")}`,
|
|
|
981517
981804
|
}
|
|
981518
981805
|
async uploadToCas(content5, contentType, bindPath, label) {
|
|
981519
981806
|
const hash5 = (0, import_crypto10.createHash)("sha256").update(content5).digest("hex");
|
|
981520
|
-
const casUrl = `${FDR_ORIGIN}/v2/registry/content/${
|
|
981807
|
+
const casUrl = `${FDR_ORIGIN}/v2/registry/content/${encodeURIComponent(this.orgId)}/${hash5}`;
|
|
981521
981808
|
this.context.logger.debug(` CAS check: PUT ${casUrl} (${contentType}, ${content5.byteLength} bytes)`);
|
|
981522
981809
|
let checkRes;
|
|
981523
981810
|
try {
|