@fern-api/fern-api-dev 5.75.0 → 5.75.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.cjs +488 -184
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -153415,7 +153415,7 @@ var init_inferDiscriminatorContext = __esm({
|
|
|
153415
153415
|
});
|
|
153416
153416
|
|
|
153417
153417
|
// ../api-importers/openapi/openapi-ir-parser/lib/schema/convertDiscriminatedOneOf.js
|
|
153418
|
-
function convertDiscriminatedOneOf({ nameOverride, generatedName, title: title2, breadcrumbs, properties: properties7, description, availability, required: required6, wrapAsOptional, wrapAsNullable, discriminator, context: context3, namespace, groupName, encoding, source: source2 }) {
|
|
153418
|
+
function convertDiscriminatedOneOf({ nameOverride, generatedName, title: title2, breadcrumbs, properties: properties7, description, availability, required: required6, wrapAsOptional, wrapAsNullable, discriminator, oneOfSchemas, context: context3, namespace, groupName, encoding, source: source2 }) {
|
|
153419
153419
|
const discriminant22 = discriminator.propertyName;
|
|
153420
153420
|
const discriminantNameOverride = getExtension(discriminator, FernOpenAPIExtension.FERN_PROPERTY_NAME);
|
|
153421
153421
|
const discriminatorContext = resolveDiscriminatorContext({ discriminator, context: context3 });
|
|
@@ -153439,6 +153439,13 @@ function convertDiscriminatedOneOf({ nameOverride, generatedName, title: title2,
|
|
|
153439
153439
|
context3.markReferencedByDiscriminatedUnion(ref2, discriminant22, 1);
|
|
153440
153440
|
return [discriminantValue, subtypeReference];
|
|
153441
153441
|
}));
|
|
153442
|
+
warnAboutUnmappedOneOfMembers({
|
|
153443
|
+
oneOfSchemas,
|
|
153444
|
+
mapping: discriminator.mapping,
|
|
153445
|
+
generatedName,
|
|
153446
|
+
breadcrumbs,
|
|
153447
|
+
context: context3
|
|
153448
|
+
});
|
|
153442
153449
|
const convertedProperties = Object.entries(properties7).filter(([propertyName]) => {
|
|
153443
153450
|
return propertyName !== discriminant22;
|
|
153444
153451
|
}).map(([propertyName, propertySchema]) => {
|
|
@@ -153482,6 +153489,38 @@ function convertDiscriminatedOneOf({ nameOverride, generatedName, title: title2,
|
|
|
153482
153489
|
source: source2
|
|
153483
153490
|
});
|
|
153484
153491
|
}
|
|
153492
|
+
function getSchemaNameFromReference(ref2) {
|
|
153493
|
+
const segments = ref2.split("/");
|
|
153494
|
+
return segments[segments.length - 1] ?? ref2;
|
|
153495
|
+
}
|
|
153496
|
+
function warnOnce(context3, message) {
|
|
153497
|
+
let alreadyWarned = alreadyWarnedUnmappedMembersByLogger.get(context3.logger);
|
|
153498
|
+
if (alreadyWarned == null) {
|
|
153499
|
+
alreadyWarned = /* @__PURE__ */ new Set();
|
|
153500
|
+
alreadyWarnedUnmappedMembersByLogger.set(context3.logger, alreadyWarned);
|
|
153501
|
+
}
|
|
153502
|
+
if (alreadyWarned.has(message)) {
|
|
153503
|
+
return;
|
|
153504
|
+
}
|
|
153505
|
+
alreadyWarned.add(message);
|
|
153506
|
+
context3.logger.warn(message);
|
|
153507
|
+
}
|
|
153508
|
+
function warnAboutUnmappedOneOfMembers({ oneOfSchemas, mapping, generatedName, breadcrumbs, context: context3 }) {
|
|
153509
|
+
if (oneOfSchemas == null || oneOfSchemas.length === 0) {
|
|
153510
|
+
return;
|
|
153511
|
+
}
|
|
153512
|
+
const mappedSchemaNames = new Set(Object.values(mapping ?? {}).map(getSchemaNameFromReference));
|
|
153513
|
+
const location2 = breadcrumbs.length > 0 ? `${generatedName} (${breadcrumbs.join(" > ")})` : generatedName;
|
|
153514
|
+
for (const member of oneOfSchemas) {
|
|
153515
|
+
if (isReferenceObject(member)) {
|
|
153516
|
+
if (!mappedSchemaNames.has(getSchemaNameFromReference(member.$ref))) {
|
|
153517
|
+
warnOnce(context3, `Discriminated union "${location2}" lists "${member.$ref}" in its oneOf/anyOf, but it is not present in the discriminator mapping. This variant will be omitted from the generated union, so payloads using it will fail to serialize or deserialize. Add it to the discriminator mapping to include it.`);
|
|
153518
|
+
}
|
|
153519
|
+
} else if (member.type !== "null") {
|
|
153520
|
+
warnOnce(context3, `Discriminated union "${location2}" contains an inline oneOf/anyOf member that is not referenced by the discriminator mapping. This variant will be omitted from the generated union, so payloads using it will fail to serialize or deserialize. Extract it into a named schema and add it to the discriminator mapping to include it.`);
|
|
153521
|
+
}
|
|
153522
|
+
}
|
|
153523
|
+
}
|
|
153485
153524
|
function convertDiscriminatedOneOfWithVariants({ nameOverride, generatedName, title: title2, breadcrumbs, properties: properties7, description, availability, required: required6, wrapAsOptional, wrapAsNullable, discriminant: discriminant22, variants, defaultDiscriminantValue, context: context3, namespace, groupName, encoding, source: source2 }) {
|
|
153486
153525
|
const unionSubTypes = Object.fromEntries(Object.entries(variants).map(([discriminantValue, schema]) => {
|
|
153487
153526
|
if (isReferenceObject(schema)) {
|
|
@@ -153719,6 +153758,7 @@ function mergeOneOfVariantsIntoObject({ variants, context: context3, discriminan
|
|
|
153719
153758
|
required: mergedRequired.length > 0 ? mergedRequired : void 0
|
|
153720
153759
|
};
|
|
153721
153760
|
}
|
|
153761
|
+
var alreadyWarnedUnmappedMembersByLogger;
|
|
153722
153762
|
var init_convertDiscriminatedOneOf = __esm({
|
|
153723
153763
|
"../api-importers/openapi/openapi-ir-parser/lib/schema/convertDiscriminatedOneOf.js"() {
|
|
153724
153764
|
"use strict";
|
|
@@ -153730,6 +153770,7 @@ var init_convertDiscriminatedOneOf = __esm({
|
|
|
153730
153770
|
init_inferDiscriminatorContext();
|
|
153731
153771
|
init_isReferenceObject();
|
|
153732
153772
|
init_isSchemaWithExampleEqual();
|
|
153773
|
+
alreadyWarnedUnmappedMembersByLogger = /* @__PURE__ */ new WeakMap();
|
|
153733
153774
|
}
|
|
153734
153775
|
});
|
|
153735
153776
|
|
|
@@ -155172,6 +155213,7 @@ function convertSchemaObject(schema, wrapAsOptional, wrapAsNullable, context3, b
|
|
|
155172
155213
|
description,
|
|
155173
155214
|
availability,
|
|
155174
155215
|
discriminator: schema.discriminator,
|
|
155216
|
+
oneOfSchemas: schema.oneOf ?? schema.anyOf,
|
|
155175
155217
|
properties: schema.properties ?? {},
|
|
155176
155218
|
required: schema.required,
|
|
155177
155219
|
wrapAsOptional,
|
|
@@ -155232,6 +155274,7 @@ function convertSchemaObject(schema, wrapAsOptional, wrapAsNullable, context3, b
|
|
|
155232
155274
|
description,
|
|
155233
155275
|
availability,
|
|
155234
155276
|
discriminator: schema.discriminator,
|
|
155277
|
+
oneOfSchemas: schema.oneOf ?? schema.anyOf,
|
|
155235
155278
|
properties: schema.properties ?? {},
|
|
155236
155279
|
required: schema.required,
|
|
155237
155280
|
wrapAsOptional,
|
|
@@ -155423,6 +155466,7 @@ function convertSchemaObject(schema, wrapAsOptional, wrapAsNullable, context3, b
|
|
|
155423
155466
|
description,
|
|
155424
155467
|
availability,
|
|
155425
155468
|
discriminator: schema.discriminator,
|
|
155469
|
+
oneOfSchemas: schema.oneOf ?? schema.anyOf,
|
|
155426
155470
|
properties: schema.properties ?? {},
|
|
155427
155471
|
required: schema.required,
|
|
155428
155472
|
wrapAsOptional,
|
|
@@ -565668,56 +565712,44 @@ var require_AutoVersioningService = __commonJS({
|
|
|
565668
565712
|
}
|
|
565669
565713
|
/**
|
|
565670
565714
|
* Removes paired - and + lines where the only difference is the magic version.
|
|
565715
|
+
*
|
|
565716
|
+
* Matching is done across the whole section rather than only between adjacent lines.
|
|
565717
|
+
* Unified diffs group every deletion before every addition within a hunk, so when
|
|
565718
|
+
* several version-bearing lines change together (e.g. `X-Fern-SDK-Version` and
|
|
565719
|
+
* `User-Agent` on consecutive lines) an adjacency-only pass leaves the interleaved
|
|
565720
|
+
* deletions behind. Once the magic-version additions are stripped, those orphaned
|
|
565721
|
+
* deletions reach the AI analyzer as apparent removals — which is why a routine
|
|
565722
|
+
* version bump was reported as the `User-Agent` header being dropped. Pairing each
|
|
565723
|
+
* version-change deletion with any unused version-change addition in the section and
|
|
565724
|
+
* dropping both keeps the diff balanced regardless of layout.
|
|
565671
565725
|
*/
|
|
565672
565726
|
removeVersionChangePairs(lines, mappedMagicVersion) {
|
|
565673
|
-
const
|
|
565674
|
-
let
|
|
565675
|
-
|
|
565676
|
-
|
|
565677
|
-
if (!currentLine) {
|
|
565678
|
-
lineIndex++;
|
|
565727
|
+
const removed = /* @__PURE__ */ new Set();
|
|
565728
|
+
for (let deletionIndex = 0; deletionIndex < lines.length; deletionIndex++) {
|
|
565729
|
+
const deletionLine = lines[deletionIndex];
|
|
565730
|
+
if (deletionLine == null || removed.has(deletionIndex) || !this.isDeletionLine(deletionLine)) {
|
|
565679
565731
|
continue;
|
|
565680
565732
|
}
|
|
565681
|
-
|
|
565682
|
-
|
|
565683
|
-
|
|
565684
|
-
|
|
565685
|
-
|
|
565686
|
-
|
|
565687
|
-
|
|
565688
|
-
|
|
565733
|
+
for (let additionIndex = 0; additionIndex < lines.length; additionIndex++) {
|
|
565734
|
+
if (additionIndex === deletionIndex || removed.has(additionIndex)) {
|
|
565735
|
+
continue;
|
|
565736
|
+
}
|
|
565737
|
+
const additionLine = lines[additionIndex];
|
|
565738
|
+
if (additionLine == null || !this.isAdditionLine(additionLine)) {
|
|
565739
|
+
continue;
|
|
565740
|
+
}
|
|
565741
|
+
if (this.isVersionChangePair(deletionLine, additionLine, mappedMagicVersion)) {
|
|
565742
|
+
removed.add(deletionIndex);
|
|
565743
|
+
removed.add(additionIndex);
|
|
565744
|
+
break;
|
|
565689
565745
|
}
|
|
565690
|
-
} else {
|
|
565691
|
-
result.push(currentLine);
|
|
565692
|
-
lineIndex++;
|
|
565693
565746
|
}
|
|
565694
565747
|
}
|
|
565695
|
-
return
|
|
565748
|
+
return lines.filter((_5, index3) => !removed.has(index3));
|
|
565696
565749
|
}
|
|
565697
565750
|
isDeletionLine(line) {
|
|
565698
565751
|
return line.startsWith("-") && !_AutoVersioningService.isDiffHeader(line);
|
|
565699
565752
|
}
|
|
565700
|
-
findMatchingAdditionLine(lines, startIndex, mappedMagicVersion) {
|
|
565701
|
-
const startLine = lines[startIndex];
|
|
565702
|
-
if (!startLine) {
|
|
565703
|
-
return -1;
|
|
565704
|
-
}
|
|
565705
|
-
for (let nextIndex2 = startIndex + 1; nextIndex2 < lines.length; nextIndex2++) {
|
|
565706
|
-
const nextLine = lines[nextIndex2];
|
|
565707
|
-
if (!nextLine) {
|
|
565708
|
-
continue;
|
|
565709
|
-
}
|
|
565710
|
-
if (this.shouldStopSearching(nextLine)) {
|
|
565711
|
-
break;
|
|
565712
|
-
}
|
|
565713
|
-
if (this.isAdditionLine(nextLine)) {
|
|
565714
|
-
if (this.isVersionChangePair(startLine, nextLine, mappedMagicVersion)) {
|
|
565715
|
-
return nextIndex2;
|
|
565716
|
-
}
|
|
565717
|
-
}
|
|
565718
|
-
}
|
|
565719
|
-
return -1;
|
|
565720
|
-
}
|
|
565721
565753
|
isAdditionLine(line) {
|
|
565722
565754
|
return line.startsWith("+") && !_AutoVersioningService.isDiffHeader(line);
|
|
565723
565755
|
}
|
|
@@ -573431,9 +573463,9 @@ var require_diff3 = __commonJS({
|
|
|
573431
573463
|
}
|
|
573432
573464
|
});
|
|
573433
573465
|
|
|
573434
|
-
// ../../../node_modules/.pnpm/@fern-api+replay@0.19.
|
|
573466
|
+
// ../../../node_modules/.pnpm/@fern-api+replay@0.19.2/node_modules/@fern-api/replay/dist/index.cjs
|
|
573435
573467
|
var require_dist24 = __commonJS({
|
|
573436
|
-
"../../../node_modules/.pnpm/@fern-api+replay@0.19.
|
|
573468
|
+
"../../../node_modules/.pnpm/@fern-api+replay@0.19.2/node_modules/@fern-api/replay/dist/index.cjs"(exports2, module4) {
|
|
573437
573469
|
"use strict";
|
|
573438
573470
|
var __defProp5 = Object.defineProperty;
|
|
573439
573471
|
var __getOwnPropDesc4 = Object.getOwnPropertyDescriptor;
|
|
@@ -576671,7 +576703,9 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
|
|
|
576671
576703
|
}
|
|
576672
576704
|
async prepare(options2) {
|
|
576673
576705
|
const preLock = this.service.lockManager.read();
|
|
576674
|
-
const previousGenerationSha =
|
|
576706
|
+
const previousGenerationSha = await this.service.resolveReachablePreviousGeneration(
|
|
576707
|
+
preLock.current_generation ?? null
|
|
576708
|
+
);
|
|
576675
576709
|
let { patches: newPatches, revertedPatchIds } = await this.service.detector.detectNewPatches();
|
|
576676
576710
|
const detectorWarnings = [...this.service.detector.warnings];
|
|
576677
576711
|
const detectorDegraded = [...this.service.detector.degradedReasons];
|
|
@@ -576807,7 +576841,9 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
|
|
|
576807
576841
|
}
|
|
576808
576842
|
async prepare(options2) {
|
|
576809
576843
|
const preLock = this.service.lockManager.read();
|
|
576810
|
-
const previousGenerationSha =
|
|
576844
|
+
const previousGenerationSha = await this.service.resolveReachablePreviousGeneration(
|
|
576845
|
+
preLock.current_generation ?? null
|
|
576846
|
+
);
|
|
576811
576847
|
if (options2?.dryRun) {
|
|
576812
576848
|
const existingPatches2 = this.service.lockManager.getPatches();
|
|
576813
576849
|
const { patches: newPatches2, revertedPatchIds: dryRunReverted } = await this.service.detector.detectNewPatches();
|
|
@@ -577043,6 +577079,37 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
|
|
|
577043
577079
|
this.committer = new ReplayCommitter(git, outputDir);
|
|
577044
577080
|
this.fileOwnership = new FileOwnership(git);
|
|
577045
577081
|
}
|
|
577082
|
+
/**
|
|
577083
|
+
* Resolve the previous-generation SHA to export on
|
|
577084
|
+
* `ReplayPreparation.previousGenerationSha`.
|
|
577085
|
+
*
|
|
577086
|
+
* `current_generation` is the SHA of a LOCALLY-created `[fern-generated]` commit.
|
|
577087
|
+
* generator-cli's signed-commit push (`pushSignedCommit`) recreates that commit under a
|
|
577088
|
+
* new remote SHA, and a squash-merge collapses it away, so the recorded value can be
|
|
577089
|
+
* unreachable in a later clone (org "Natural": autoVersion then diffed against a phantom
|
|
577090
|
+
* baseline and silently reported NO_CHANGE — or, pre-a38bbc6, shipped
|
|
577091
|
+
* `0.0.0-fern-placeholder`). Consumers (generator-cli's autoVersion) diff against this
|
|
577092
|
+
* baseline, so it MUST resolve to a real commit.
|
|
577093
|
+
*
|
|
577094
|
+
* Prefer the recorded SHA while it still resolves — the healthy case, and the pristine
|
|
577095
|
+
* prior `[fern-generated]` tree. Otherwise re-anchor on the most recent reachable
|
|
577096
|
+
* generation boundary in first-parent history: the SAME value the detector already
|
|
577097
|
+
* derives for its own scan boundary (`findPreviousGenerationFromHistory`, whose
|
|
577098
|
+
* `isGenerationBoundary` matches squash-merge subjects like `SDK Generation (#N)`). Fall
|
|
577099
|
+
* back to the recorded SHA only when no boundary is reachable at all — no worse than the
|
|
577100
|
+
* prior behavior. ADR 0002 (generator-cli) allows replay to expose this reconciled value;
|
|
577101
|
+
* the consumer stays independently resilient.
|
|
577102
|
+
*
|
|
577103
|
+
* MUST be called before the new `[fern-generated]` commit is created, while HEAD is still
|
|
577104
|
+
* the pre-generation (customer) state, so the walk anchors on the PREVIOUS generation.
|
|
577105
|
+
*/
|
|
577106
|
+
async resolveReachablePreviousGeneration(recordedSha) {
|
|
577107
|
+
if (recordedSha != null && await this.git.commitExists(recordedSha)) {
|
|
577108
|
+
return recordedSha;
|
|
577109
|
+
}
|
|
577110
|
+
const derived = await this.detector.findPreviousGenerationFromHistory();
|
|
577111
|
+
return derived ?? recordedSha;
|
|
577112
|
+
}
|
|
577046
577113
|
/**
|
|
577047
577114
|
* Phase 1 of the two-phase replay flow. Runs preGenerationRebase (when applicable),
|
|
577048
577115
|
* detects new patches, and creates the `[fern-generated]` commit. Leaves HEAD at
|
|
@@ -690994,7 +691061,7 @@ var AccessTokenPosthogManager = class {
|
|
|
690994
691061
|
properties: {
|
|
690995
691062
|
...event,
|
|
690996
691063
|
...event.properties,
|
|
690997
|
-
version: "5.75.
|
|
691064
|
+
version: "5.75.2",
|
|
690998
691065
|
usingAccessToken: true,
|
|
690999
691066
|
...getRunIdProperties()
|
|
691000
691067
|
}
|
|
@@ -691060,7 +691127,7 @@ var UserPosthogManager = class {
|
|
|
691060
691127
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
691061
691128
|
event: "CLI",
|
|
691062
691129
|
properties: {
|
|
691063
|
-
version: "5.75.
|
|
691130
|
+
version: "5.75.2",
|
|
691064
691131
|
...event,
|
|
691065
691132
|
...event.properties,
|
|
691066
691133
|
usingAccessToken: false,
|
|
@@ -872161,7 +872228,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
872161
872228
|
var LOGS_FOLDER_NAME = "logs";
|
|
872162
872229
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
872163
872230
|
function getCliSource() {
|
|
872164
|
-
const version7 = "5.75.
|
|
872231
|
+
const version7 = "5.75.2";
|
|
872165
872232
|
return `cli@${version7}`;
|
|
872166
872233
|
}
|
|
872167
872234
|
var DebugLogger = class {
|
|
@@ -904750,7 +904817,7 @@ var LegacyDocsPublisher = class {
|
|
|
904750
904817
|
previewId,
|
|
904751
904818
|
disableTemplates: void 0,
|
|
904752
904819
|
skipUpload,
|
|
904753
|
-
cliVersion: "5.75.
|
|
904820
|
+
cliVersion: "5.75.2",
|
|
904754
904821
|
loginCommand: "fern auth login"
|
|
904755
904822
|
});
|
|
904756
904823
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -909884,6 +909951,10 @@ var Writer = class extends AbstractWriter {
|
|
|
909884
909951
|
skipImports;
|
|
909885
909952
|
/* Whether or not to skip adding global:: qualifier to System namespaces */
|
|
909886
909953
|
skipGlobalQualifier;
|
|
909954
|
+
/* Fully qualified names of the enclosing types currently being written, outermost first.
|
|
909955
|
+
Used to detect nested-type namespace shadows that are only visible within a type's body
|
|
909956
|
+
(see NameRegistry.hasNestedTypeShadowInScope). */
|
|
909957
|
+
typeScopeStack = [];
|
|
909887
909958
|
constructor({ namespace, allNamespaceSegments, allTypeClassReferences, generation, skipImports = false, skipGlobalQualifier = false }) {
|
|
909888
909959
|
super();
|
|
909889
909960
|
this.namespace = namespace;
|
|
@@ -909904,6 +909975,14 @@ var Writer = class extends AbstractWriter {
|
|
|
909904
909975
|
this.references[reference4.namespace] = [reference4];
|
|
909905
909976
|
}
|
|
909906
909977
|
}
|
|
909978
|
+
/* Records that we are now writing inside the body of the given type. Paired with
|
|
909979
|
+
popTypeScope() and called by Class.write around a type body. */
|
|
909980
|
+
pushTypeScope(fullyQualifiedName) {
|
|
909981
|
+
this.typeScopeStack.push(fullyQualifiedName);
|
|
909982
|
+
}
|
|
909983
|
+
popTypeScope() {
|
|
909984
|
+
this.typeScopeStack.pop();
|
|
909985
|
+
}
|
|
909907
909986
|
addNamespace(namespace) {
|
|
909908
909987
|
const foundNamespace = this.references[namespace];
|
|
909909
909988
|
if (foundNamespace == null) {
|
|
@@ -910648,7 +910727,7 @@ function fail(message) {
|
|
|
910648
910727
|
throw new Error(message ?? "Assertion failed");
|
|
910649
910728
|
}
|
|
910650
910729
|
|
|
910651
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910730
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/index.mjs
|
|
910652
910731
|
var api_exports22 = {};
|
|
910653
910732
|
__export(api_exports22, {
|
|
910654
910733
|
ApiDefinitionSource: () => ApiDefinitionSource29,
|
|
@@ -910717,6 +910796,8 @@ __export(api_exports22, {
|
|
|
910717
910796
|
V2HttpEndpointResponseBody: () => V2HttpEndpointResponseBody21,
|
|
910718
910797
|
WebSocketMessageBody: () => WebSocketMessageBody29,
|
|
910719
910798
|
WebSocketMessageOrigin: () => WebSocketMessageOrigin30,
|
|
910799
|
+
WebhookBodyHashAlgorithm: () => WebhookBodyHashAlgorithm5,
|
|
910800
|
+
WebhookBodyHashLocation: () => WebhookBodyHashLocation5,
|
|
910720
910801
|
WebhookHttpMethod: () => WebhookHttpMethod31,
|
|
910721
910802
|
WebhookPayload: () => WebhookPayload29,
|
|
910722
910803
|
WebhookPayloadBodySort: () => WebhookPayloadBodySort9,
|
|
@@ -910745,10 +910826,10 @@ __export(api_exports22, {
|
|
|
910745
910826
|
websocket: () => websocket_exports33
|
|
910746
910827
|
});
|
|
910747
910828
|
|
|
910748
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910829
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/audience/index.mjs
|
|
910749
910830
|
var audience_exports19 = {};
|
|
910750
910831
|
|
|
910751
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910832
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/index.mjs
|
|
910752
910833
|
var auth_exports63 = {};
|
|
910753
910834
|
__export(auth_exports63, {
|
|
910754
910835
|
AuthScheme: () => AuthScheme29,
|
|
@@ -910756,7 +910837,7 @@ __export(auth_exports63, {
|
|
|
910756
910837
|
OAuthConfiguration: () => OAuthConfiguration29
|
|
910757
910838
|
});
|
|
910758
910839
|
|
|
910759
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910840
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/AuthScheme.mjs
|
|
910760
910841
|
var AuthScheme29 = {
|
|
910761
910842
|
bearer: (value2) => {
|
|
910762
910843
|
return Object.assign(Object.assign({}, value2), { type: "bearer", _visit: function(visitor) {
|
|
@@ -910801,7 +910882,7 @@ var AuthScheme29 = {
|
|
|
910801
910882
|
}
|
|
910802
910883
|
};
|
|
910803
910884
|
|
|
910804
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910885
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/AuthSchemesRequirement.mjs
|
|
910805
910886
|
var AuthSchemesRequirementValues15 = {
|
|
910806
910887
|
All: "ALL",
|
|
910807
910888
|
Any: "ANY",
|
|
@@ -910820,7 +910901,7 @@ var AuthSchemesRequirement29 = Object.assign(Object.assign({}, AuthSchemesRequir
|
|
|
910820
910901
|
}
|
|
910821
910902
|
} });
|
|
910822
910903
|
|
|
910823
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910904
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/OAuthConfiguration.mjs
|
|
910824
910905
|
var OAuthConfiguration29 = {
|
|
910825
910906
|
clientCredentials: (value2) => {
|
|
910826
910907
|
return Object.assign(Object.assign({}, value2), { type: "clientCredentials", _visit: function(visitor) {
|
|
@@ -910837,13 +910918,13 @@ var OAuthConfiguration29 = {
|
|
|
910837
910918
|
}
|
|
910838
910919
|
};
|
|
910839
910920
|
|
|
910840
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910921
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/commons/index.mjs
|
|
910841
910922
|
var commons_exports58 = {};
|
|
910842
910923
|
__export(commons_exports58, {
|
|
910843
910924
|
AvailabilityStatus: () => AvailabilityStatus29
|
|
910844
910925
|
});
|
|
910845
910926
|
|
|
910846
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910927
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/commons/types/AvailabilityStatus.mjs
|
|
910847
910928
|
var AvailabilityStatusValues15 = {
|
|
910848
910929
|
InDevelopment: "IN_DEVELOPMENT",
|
|
910849
910930
|
PreRelease: "PRE_RELEASE",
|
|
@@ -910877,10 +910958,10 @@ var AvailabilityStatus29 = Object.assign(Object.assign({}, AvailabilityStatusVal
|
|
|
910877
910958
|
}
|
|
910878
910959
|
} });
|
|
910879
910960
|
|
|
910880
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910961
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/constants/index.mjs
|
|
910881
910962
|
var constants_exports29 = {};
|
|
910882
910963
|
|
|
910883
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910964
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/index.mjs
|
|
910884
910965
|
var dynamic_exports29 = {};
|
|
910885
910966
|
__export(dynamic_exports29, {
|
|
910886
910967
|
Auth: () => Auth29,
|
|
@@ -910913,14 +910994,14 @@ __export(dynamic_exports29, {
|
|
|
910913
910994
|
variables: () => variables_exports45
|
|
910914
910995
|
});
|
|
910915
910996
|
|
|
910916
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910997
|
+
// ../../../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
|
|
910917
910998
|
var auth_exports64 = {};
|
|
910918
910999
|
__export(auth_exports64, {
|
|
910919
911000
|
Auth: () => Auth29,
|
|
910920
911001
|
AuthValues: () => AuthValues29
|
|
910921
911002
|
});
|
|
910922
911003
|
|
|
910923
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911004
|
+
// ../../../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
|
|
910924
911005
|
var Auth29 = {
|
|
910925
911006
|
basic: (value2) => {
|
|
910926
911007
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -910965,7 +911046,7 @@ var Auth29 = {
|
|
|
910965
911046
|
}
|
|
910966
911047
|
};
|
|
910967
911048
|
|
|
910968
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911049
|
+
// ../../../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
|
|
910969
911050
|
var AuthValues29 = {
|
|
910970
911051
|
basic: (value2) => {
|
|
910971
911052
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -911010,13 +911091,13 @@ var AuthValues29 = {
|
|
|
911010
911091
|
}
|
|
911011
911092
|
};
|
|
911012
911093
|
|
|
911013
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911094
|
+
// ../../../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
|
|
911014
911095
|
var commons_exports59 = {};
|
|
911015
911096
|
|
|
911016
|
-
// ../../../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/declaration/index.mjs
|
|
911017
911098
|
var declaration_exports29 = {};
|
|
911018
911099
|
|
|
911019
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911100
|
+
// ../../../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
|
|
911020
911101
|
var endpoints_exports29 = {};
|
|
911021
911102
|
__export(endpoints_exports29, {
|
|
911022
911103
|
FileUploadRequestBodyProperty: () => FileUploadRequestBodyProperty29,
|
|
@@ -911026,7 +911107,7 @@ __export(endpoints_exports29, {
|
|
|
911026
911107
|
Response: () => Response43
|
|
911027
911108
|
});
|
|
911028
911109
|
|
|
911029
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911110
|
+
// ../../../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
|
|
911030
911111
|
var FileUploadRequestBodyProperty29 = {
|
|
911031
911112
|
file: (value2) => {
|
|
911032
911113
|
return Object.assign(Object.assign({}, value2), { type: "file", _visit: function(visitor) {
|
|
@@ -911057,7 +911138,7 @@ var FileUploadRequestBodyProperty29 = {
|
|
|
911057
911138
|
}
|
|
911058
911139
|
};
|
|
911059
911140
|
|
|
911060
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911141
|
+
// ../../../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
|
|
911061
911142
|
var InlinedRequestBody43 = {
|
|
911062
911143
|
properties: (value2) => {
|
|
911063
911144
|
return {
|
|
@@ -911092,7 +911173,7 @@ var InlinedRequestBody43 = {
|
|
|
911092
911173
|
}
|
|
911093
911174
|
};
|
|
911094
911175
|
|
|
911095
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911176
|
+
// ../../../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
|
|
911096
911177
|
var ReferencedRequestBodyType29 = {
|
|
911097
911178
|
bytes: () => {
|
|
911098
911179
|
return {
|
|
@@ -911123,7 +911204,7 @@ var ReferencedRequestBodyType29 = {
|
|
|
911123
911204
|
}
|
|
911124
911205
|
};
|
|
911125
911206
|
|
|
911126
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911207
|
+
// ../../../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
|
|
911127
911208
|
var Request35 = {
|
|
911128
911209
|
body: (value2) => {
|
|
911129
911210
|
return Object.assign(Object.assign({}, value2), { type: "body", _visit: function(visitor) {
|
|
@@ -911147,7 +911228,7 @@ var Request35 = {
|
|
|
911147
911228
|
}
|
|
911148
911229
|
};
|
|
911149
911230
|
|
|
911150
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911231
|
+
// ../../../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
|
|
911151
911232
|
var Response43 = {
|
|
911152
911233
|
json: () => {
|
|
911153
911234
|
return {
|
|
@@ -911217,13 +911298,13 @@ var Response43 = {
|
|
|
911217
911298
|
}
|
|
911218
911299
|
};
|
|
911219
911300
|
|
|
911220
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911301
|
+
// ../../../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
|
|
911221
911302
|
var environment_exports55 = {};
|
|
911222
911303
|
__export(environment_exports55, {
|
|
911223
911304
|
Environments: () => Environments43
|
|
911224
911305
|
});
|
|
911225
911306
|
|
|
911226
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911307
|
+
// ../../../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
|
|
911227
911308
|
var Environments43 = {
|
|
911228
911309
|
singleBaseUrl: (value2) => {
|
|
911229
911310
|
return Object.assign(Object.assign({}, value2), { type: "singleBaseUrl", _visit: function(visitor) {
|
|
@@ -911247,13 +911328,13 @@ var Environments43 = {
|
|
|
911247
911328
|
}
|
|
911248
911329
|
};
|
|
911249
911330
|
|
|
911250
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911331
|
+
// ../../../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
|
|
911251
911332
|
var http_exports43 = {};
|
|
911252
911333
|
__export(http_exports43, {
|
|
911253
911334
|
HttpMethod: () => HttpMethod47
|
|
911254
911335
|
});
|
|
911255
911336
|
|
|
911256
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911337
|
+
// ../../../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
|
|
911257
911338
|
var HttpMethodValues23 = {
|
|
911258
911339
|
Get: "GET",
|
|
911259
911340
|
Post: "POST",
|
|
@@ -911281,14 +911362,14 @@ var HttpMethod47 = Object.assign(Object.assign({}, HttpMethodValues23), { _visit
|
|
|
911281
911362
|
}
|
|
911282
911363
|
} });
|
|
911283
911364
|
|
|
911284
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911365
|
+
// ../../../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
|
|
911285
911366
|
var ir_exports57 = {};
|
|
911286
911367
|
__export(ir_exports57, {
|
|
911287
911368
|
GeneratorOutputConfig: () => GeneratorOutputConfig35,
|
|
911288
911369
|
PublishInfo: () => PublishInfo21
|
|
911289
911370
|
});
|
|
911290
911371
|
|
|
911291
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911372
|
+
// ../../../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
|
|
911292
911373
|
var GeneratorOutputConfig35 = {
|
|
911293
911374
|
publish: (value2) => {
|
|
911294
911375
|
return {
|
|
@@ -911319,7 +911400,7 @@ var GeneratorOutputConfig35 = {
|
|
|
911319
911400
|
}
|
|
911320
911401
|
};
|
|
911321
911402
|
|
|
911322
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911403
|
+
// ../../../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
|
|
911323
911404
|
var PublishInfo21 = {
|
|
911324
911405
|
go: (value2) => {
|
|
911325
911406
|
return Object.assign(Object.assign({}, value2), { type: "go", _visit: function(visitor) {
|
|
@@ -911385,13 +911466,13 @@ var PublishInfo21 = {
|
|
|
911385
911466
|
}
|
|
911386
911467
|
};
|
|
911387
911468
|
|
|
911388
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911469
|
+
// ../../../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
|
|
911389
911470
|
var snippets_exports29 = {};
|
|
911390
911471
|
__export(snippets_exports29, {
|
|
911391
911472
|
ErrorSeverity: () => ErrorSeverity29
|
|
911392
911473
|
});
|
|
911393
911474
|
|
|
911394
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911475
|
+
// ../../../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
|
|
911395
911476
|
var ErrorSeverityValues15 = {
|
|
911396
911477
|
Critical: "CRITICAL",
|
|
911397
911478
|
Warning: "WARNING"
|
|
@@ -911407,7 +911488,7 @@ var ErrorSeverity29 = Object.assign(Object.assign({}, ErrorSeverityValues15), {
|
|
|
911407
911488
|
}
|
|
911408
911489
|
} });
|
|
911409
911490
|
|
|
911410
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911491
|
+
// ../../../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
|
|
911411
911492
|
var types_exports66 = {};
|
|
911412
911493
|
__export(types_exports66, {
|
|
911413
911494
|
LiteralType: () => LiteralType29,
|
|
@@ -911418,7 +911499,7 @@ __export(types_exports66, {
|
|
|
911418
911499
|
TypeReference: () => TypeReference57
|
|
911419
911500
|
});
|
|
911420
911501
|
|
|
911421
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911502
|
+
// ../../../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
|
|
911422
911503
|
var LiteralType29 = {
|
|
911423
911504
|
boolean: (value2) => {
|
|
911424
911505
|
return {
|
|
@@ -911450,7 +911531,7 @@ var LiteralType29 = {
|
|
|
911450
911531
|
}
|
|
911451
911532
|
};
|
|
911452
911533
|
|
|
911453
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911534
|
+
// ../../../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
|
|
911454
911535
|
var NamedType43 = {
|
|
911455
911536
|
alias: (value2) => {
|
|
911456
911537
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -911495,7 +911576,7 @@ var NamedType43 = {
|
|
|
911495
911576
|
}
|
|
911496
911577
|
};
|
|
911497
911578
|
|
|
911498
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911579
|
+
// ../../../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
|
|
911499
911580
|
var ObjectPropertyAccessValues20 = {
|
|
911500
911581
|
ReadOnly: "READ_ONLY",
|
|
911501
911582
|
WriteOnly: "WRITE_ONLY"
|
|
@@ -911511,7 +911592,7 @@ var ObjectPropertyAccess41 = Object.assign(Object.assign({}, ObjectPropertyAcces
|
|
|
911511
911592
|
}
|
|
911512
911593
|
} });
|
|
911513
911594
|
|
|
911514
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911595
|
+
// ../../../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
|
|
911515
911596
|
var PrimitiveTypeV1Values22 = {
|
|
911516
911597
|
Integer: "INTEGER",
|
|
911517
911598
|
/**
|
|
@@ -911565,7 +911646,7 @@ var PrimitiveTypeV143 = Object.assign(Object.assign({}, PrimitiveTypeV1Values22)
|
|
|
911565
911646
|
}
|
|
911566
911647
|
} });
|
|
911567
911648
|
|
|
911568
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911649
|
+
// ../../../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
|
|
911569
911650
|
var SingleDiscriminatedUnionType29 = {
|
|
911570
911651
|
samePropertiesAsObject: (value2) => {
|
|
911571
911652
|
return Object.assign(Object.assign({}, value2), { type: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -911596,7 +911677,7 @@ var SingleDiscriminatedUnionType29 = {
|
|
|
911596
911677
|
}
|
|
911597
911678
|
};
|
|
911598
911679
|
|
|
911599
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911680
|
+
// ../../../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
|
|
911600
911681
|
var TypeReference57 = {
|
|
911601
911682
|
list: (value2) => {
|
|
911602
911683
|
return {
|
|
@@ -911700,16 +911781,16 @@ var TypeReference57 = {
|
|
|
911700
911781
|
}
|
|
911701
911782
|
};
|
|
911702
911783
|
|
|
911703
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911784
|
+
// ../../../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
|
|
911704
911785
|
var variables_exports45 = {};
|
|
911705
911786
|
|
|
911706
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911787
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/environment/index.mjs
|
|
911707
911788
|
var environment_exports56 = {};
|
|
911708
911789
|
__export(environment_exports56, {
|
|
911709
911790
|
Environments: () => Environments44
|
|
911710
911791
|
});
|
|
911711
911792
|
|
|
911712
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911793
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/environment/types/Environments.mjs
|
|
911713
911794
|
var Environments44 = {
|
|
911714
911795
|
singleBaseUrl: (value2) => {
|
|
911715
911796
|
return Object.assign(Object.assign({}, value2), { type: "singleBaseUrl", _visit: function(visitor) {
|
|
@@ -911733,13 +911814,13 @@ var Environments44 = {
|
|
|
911733
911814
|
}
|
|
911734
911815
|
};
|
|
911735
911816
|
|
|
911736
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911817
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/errors/index.mjs
|
|
911737
911818
|
var errors_exports32 = {};
|
|
911738
911819
|
__export(errors_exports32, {
|
|
911739
911820
|
ErrorDeclarationDiscriminantValue: () => ErrorDeclarationDiscriminantValue29
|
|
911740
911821
|
});
|
|
911741
911822
|
|
|
911742
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911823
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/errors/types/ErrorDeclarationDiscriminantValue.mjs
|
|
911743
911824
|
var ErrorDeclarationDiscriminantValue29 = {
|
|
911744
911825
|
property: (value2) => {
|
|
911745
911826
|
return {
|
|
@@ -911770,7 +911851,7 @@ var ErrorDeclarationDiscriminantValue29 = {
|
|
|
911770
911851
|
}
|
|
911771
911852
|
};
|
|
911772
911853
|
|
|
911773
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911854
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/index.mjs
|
|
911774
911855
|
var examples_exports25 = {};
|
|
911775
911856
|
__export(examples_exports25, {
|
|
911776
911857
|
V2AuthValues: () => V2AuthValues21,
|
|
@@ -911778,7 +911859,7 @@ __export(examples_exports25, {
|
|
|
911778
911859
|
V2HttpEndpointResponseBody: () => V2HttpEndpointResponseBody21
|
|
911779
911860
|
});
|
|
911780
911861
|
|
|
911781
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911862
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2AuthValues.mjs
|
|
911782
911863
|
var V2AuthValues21 = {
|
|
911783
911864
|
basic: (value2) => {
|
|
911784
911865
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -911816,7 +911897,7 @@ var V2AuthValues21 = {
|
|
|
911816
911897
|
}
|
|
911817
911898
|
};
|
|
911818
911899
|
|
|
911819
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911900
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2EndpointLocationHttpMethod.mjs
|
|
911820
911901
|
var V2EndpointLocationHttpMethodValues11 = {
|
|
911821
911902
|
Get: "GET",
|
|
911822
911903
|
Post: "POST",
|
|
@@ -911844,7 +911925,7 @@ var V2EndpointLocationHttpMethod21 = Object.assign(Object.assign({}, V2EndpointL
|
|
|
911844
911925
|
}
|
|
911845
911926
|
} });
|
|
911846
911927
|
|
|
911847
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911928
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2HttpEndpointResponseBody.mjs
|
|
911848
911929
|
var V2HttpEndpointResponseBody21 = {
|
|
911849
911930
|
error: (value2) => {
|
|
911850
911931
|
return {
|
|
@@ -911887,7 +911968,7 @@ var V2HttpEndpointResponseBody21 = {
|
|
|
911887
911968
|
}
|
|
911888
911969
|
};
|
|
911889
911970
|
|
|
911890
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911971
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/index.mjs
|
|
911891
911972
|
var generatorExec_exports29 = {};
|
|
911892
911973
|
__export(generatorExec_exports29, {
|
|
911893
911974
|
GeneratorEnvironment: () => GeneratorEnvironment29,
|
|
@@ -911899,7 +911980,7 @@ __export(generatorExec_exports29, {
|
|
|
911899
911980
|
config: () => config_exports29
|
|
911900
911981
|
});
|
|
911901
911982
|
|
|
911902
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911983
|
+
// ../../../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
|
|
911903
911984
|
var config_exports29 = {};
|
|
911904
911985
|
__export(config_exports29, {
|
|
911905
911986
|
GeneratorEnvironment: () => GeneratorEnvironment29,
|
|
@@ -911910,7 +911991,7 @@ __export(config_exports29, {
|
|
|
911910
911991
|
OutputMode: () => OutputMode31
|
|
911911
911992
|
});
|
|
911912
911993
|
|
|
911913
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911994
|
+
// ../../../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
|
|
911914
911995
|
var GeneratorEnvironment29 = {
|
|
911915
911996
|
local: () => {
|
|
911916
911997
|
return {
|
|
@@ -911937,7 +912018,7 @@ var GeneratorEnvironment29 = {
|
|
|
911937
912018
|
}
|
|
911938
912019
|
};
|
|
911939
912020
|
|
|
911940
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912021
|
+
// ../../../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
|
|
911941
912022
|
var GeneratorPublishTarget29 = {
|
|
911942
912023
|
maven: (value2) => {
|
|
911943
912024
|
return Object.assign(Object.assign({}, value2), { type: "maven", _visit: function(visitor) {
|
|
@@ -911996,7 +912077,7 @@ var GeneratorPublishTarget29 = {
|
|
|
911996
912077
|
}
|
|
911997
912078
|
};
|
|
911998
912079
|
|
|
911999
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912080
|
+
// ../../../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
|
|
912000
912081
|
var GithubPublishInfo31 = {
|
|
912001
912082
|
npm: (value2) => {
|
|
912002
912083
|
return Object.assign(Object.assign({}, value2), { type: "npm", _visit: function(visitor) {
|
|
@@ -912055,7 +912136,7 @@ var GithubPublishInfo31 = {
|
|
|
912055
912136
|
}
|
|
912056
912137
|
};
|
|
912057
912138
|
|
|
912058
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912139
|
+
// ../../../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
|
|
912059
912140
|
var LicenseConfig29 = {
|
|
912060
912141
|
basic: (value2) => {
|
|
912061
912142
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -912079,7 +912160,7 @@ var LicenseConfig29 = {
|
|
|
912079
912160
|
}
|
|
912080
912161
|
};
|
|
912081
912162
|
|
|
912082
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912163
|
+
// ../../../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
|
|
912083
912164
|
var LicenseIdValues15 = {
|
|
912084
912165
|
Mit: "MIT",
|
|
912085
912166
|
Apache2: "Apache-2.0"
|
|
@@ -912095,7 +912176,7 @@ var LicenseId29 = Object.assign(Object.assign({}, LicenseIdValues15), { _visit:
|
|
|
912095
912176
|
}
|
|
912096
912177
|
} });
|
|
912097
912178
|
|
|
912098
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912179
|
+
// ../../../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
|
|
912099
912180
|
var OutputMode31 = {
|
|
912100
912181
|
publish: (value2) => {
|
|
912101
912182
|
return Object.assign(Object.assign({}, value2), { type: "publish", _visit: function(visitor) {
|
|
@@ -912129,14 +912210,14 @@ var OutputMode31 = {
|
|
|
912129
912210
|
}
|
|
912130
912211
|
};
|
|
912131
912212
|
|
|
912132
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912213
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/index.mjs
|
|
912133
912214
|
var globalParameters_exports5 = {};
|
|
912134
912215
|
__export(globalParameters_exports5, {
|
|
912135
912216
|
GlobalParameterApplyMode: () => GlobalParameterApplyMode3,
|
|
912136
912217
|
GlobalParameterLocation: () => GlobalParameterLocation3
|
|
912137
912218
|
});
|
|
912138
912219
|
|
|
912139
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912220
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/types/GlobalParameterApplyMode.mjs
|
|
912140
912221
|
var GlobalParameterApplyModeValues2 = {
|
|
912141
912222
|
Explicit: "explicit",
|
|
912142
912223
|
Auto: "auto"
|
|
@@ -912152,7 +912233,7 @@ var GlobalParameterApplyMode3 = Object.assign(Object.assign({}, GlobalParameterA
|
|
|
912152
912233
|
}
|
|
912153
912234
|
} });
|
|
912154
912235
|
|
|
912155
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912236
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/types/GlobalParameterLocation.mjs
|
|
912156
912237
|
var GlobalParameterLocationValues2 = {
|
|
912157
912238
|
Header: "header",
|
|
912158
912239
|
Query: "query",
|
|
@@ -912174,7 +912255,7 @@ var GlobalParameterLocation3 = Object.assign(Object.assign({}, GlobalParameterLo
|
|
|
912174
912255
|
}
|
|
912175
912256
|
} });
|
|
912176
912257
|
|
|
912177
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912258
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/index.mjs
|
|
912178
912259
|
var http_exports44 = {};
|
|
912179
912260
|
__export(http_exports44, {
|
|
912180
912261
|
ExampleCodeSample: () => ExampleCodeSample29,
|
|
@@ -912201,7 +912282,7 @@ __export(http_exports44, {
|
|
|
912201
912282
|
Transport: () => Transport29
|
|
912202
912283
|
});
|
|
912203
912284
|
|
|
912204
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912285
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleCodeSample.mjs
|
|
912205
912286
|
var ExampleCodeSample29 = {
|
|
912206
912287
|
language: (value2) => {
|
|
912207
912288
|
return Object.assign(Object.assign({}, value2), { type: "language", _visit: function(visitor) {
|
|
@@ -912225,7 +912306,7 @@ var ExampleCodeSample29 = {
|
|
|
912225
912306
|
}
|
|
912226
912307
|
};
|
|
912227
912308
|
|
|
912228
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912309
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleEndpointSuccessResponse.mjs
|
|
912229
912310
|
var ExampleEndpointSuccessResponse29 = {
|
|
912230
912311
|
body: (value2) => {
|
|
912231
912312
|
return {
|
|
@@ -912268,7 +912349,7 @@ var ExampleEndpointSuccessResponse29 = {
|
|
|
912268
912349
|
}
|
|
912269
912350
|
};
|
|
912270
912351
|
|
|
912271
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912352
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleQueryParameterShape.mjs
|
|
912272
912353
|
var ExampleQueryParameterShape29 = {
|
|
912273
912354
|
single: () => {
|
|
912274
912355
|
return {
|
|
@@ -912308,7 +912389,7 @@ var ExampleQueryParameterShape29 = {
|
|
|
912308
912389
|
}
|
|
912309
912390
|
};
|
|
912310
912391
|
|
|
912311
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912392
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleRequestBody.mjs
|
|
912312
912393
|
var ExampleRequestBody29 = {
|
|
912313
912394
|
inlinedRequestBody: (value2) => {
|
|
912314
912395
|
return Object.assign(Object.assign({}, value2), { type: "inlinedRequestBody", _visit: function(visitor) {
|
|
@@ -912332,7 +912413,7 @@ var ExampleRequestBody29 = {
|
|
|
912332
912413
|
}
|
|
912333
912414
|
};
|
|
912334
912415
|
|
|
912335
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912416
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleResponse.mjs
|
|
912336
912417
|
var ExampleResponse29 = {
|
|
912337
912418
|
ok: (value2) => {
|
|
912338
912419
|
return {
|
|
@@ -912360,7 +912441,7 @@ var ExampleResponse29 = {
|
|
|
912360
912441
|
}
|
|
912361
912442
|
};
|
|
912362
912443
|
|
|
912363
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912444
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileProperty.mjs
|
|
912364
912445
|
var FileProperty29 = {
|
|
912365
912446
|
file: (value2) => {
|
|
912366
912447
|
return Object.assign(Object.assign({}, value2), { type: "file", _visit: function(visitor) {
|
|
@@ -912384,7 +912465,7 @@ var FileProperty29 = {
|
|
|
912384
912465
|
}
|
|
912385
912466
|
};
|
|
912386
912467
|
|
|
912387
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912468
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileUploadBodyPropertyEncoding.mjs
|
|
912388
912469
|
var FileUploadBodyPropertyEncodingValues13 = {
|
|
912389
912470
|
Exploded: "exploded",
|
|
912390
912471
|
Json: "json",
|
|
@@ -912403,7 +912484,7 @@ var FileUploadBodyPropertyEncoding25 = Object.assign(Object.assign({}, FileUploa
|
|
|
912403
912484
|
}
|
|
912404
912485
|
} });
|
|
912405
912486
|
|
|
912406
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912487
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileUploadRequestProperty.mjs
|
|
912407
912488
|
var FileUploadRequestProperty29 = {
|
|
912408
912489
|
file: (value2) => {
|
|
912409
912490
|
return {
|
|
@@ -912431,7 +912512,7 @@ var FileUploadRequestProperty29 = {
|
|
|
912431
912512
|
}
|
|
912432
912513
|
};
|
|
912433
912514
|
|
|
912434
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912515
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpEndpointSource.mjs
|
|
912435
912516
|
var HttpEndpointSource21 = {
|
|
912436
912517
|
proto: (value2) => {
|
|
912437
912518
|
return Object.assign(Object.assign({}, value2), { type: "proto", _visit: function(visitor) {
|
|
@@ -912468,7 +912549,7 @@ var HttpEndpointSource21 = {
|
|
|
912468
912549
|
}
|
|
912469
912550
|
};
|
|
912470
912551
|
|
|
912471
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912552
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpMethod.mjs
|
|
912472
912553
|
var HttpMethodValues24 = {
|
|
912473
912554
|
Get: "GET",
|
|
912474
912555
|
Post: "POST",
|
|
@@ -912496,7 +912577,7 @@ var HttpMethod48 = Object.assign(Object.assign({}, HttpMethodValues24), { _visit
|
|
|
912496
912577
|
}
|
|
912497
912578
|
} });
|
|
912498
912579
|
|
|
912499
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912580
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpRequestBody.mjs
|
|
912500
912581
|
var HttpRequestBody29 = {
|
|
912501
912582
|
inlinedRequestBody: (value2) => {
|
|
912502
912583
|
return Object.assign(Object.assign({}, value2), { type: "inlinedRequestBody", _visit: function(visitor) {
|
|
@@ -912534,7 +912615,7 @@ var HttpRequestBody29 = {
|
|
|
912534
912615
|
}
|
|
912535
912616
|
};
|
|
912536
912617
|
|
|
912537
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912618
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpResponseBody.mjs
|
|
912538
912619
|
var HttpResponseBody29 = {
|
|
912539
912620
|
json: (value2) => {
|
|
912540
912621
|
return {
|
|
@@ -912594,7 +912675,7 @@ var HttpResponseBody29 = {
|
|
|
912594
912675
|
}
|
|
912595
912676
|
};
|
|
912596
912677
|
|
|
912597
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912678
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/JsonResponse.mjs
|
|
912598
912679
|
var JsonResponse30 = {
|
|
912599
912680
|
response: (value2) => {
|
|
912600
912681
|
return Object.assign(Object.assign({}, value2), { type: "response", _visit: function(visitor) {
|
|
@@ -912618,7 +912699,7 @@ var JsonResponse30 = {
|
|
|
912618
912699
|
}
|
|
912619
912700
|
};
|
|
912620
912701
|
|
|
912621
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912702
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/NonStreamHttpResponseBody.mjs
|
|
912622
912703
|
var NonStreamHttpResponseBody29 = {
|
|
912623
912704
|
json: (value2) => {
|
|
912624
912705
|
return {
|
|
@@ -912660,7 +912741,7 @@ var NonStreamHttpResponseBody29 = {
|
|
|
912660
912741
|
}
|
|
912661
912742
|
};
|
|
912662
912743
|
|
|
912663
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912744
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/Pagination.mjs
|
|
912664
912745
|
var Pagination32 = {
|
|
912665
912746
|
cursor: (value2) => {
|
|
912666
912747
|
return Object.assign(Object.assign({}, value2), { type: "cursor", _visit: function(visitor) {
|
|
@@ -912705,7 +912786,7 @@ var Pagination32 = {
|
|
|
912705
912786
|
}
|
|
912706
912787
|
};
|
|
912707
912788
|
|
|
912708
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912789
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/PathParameterLocation.mjs
|
|
912709
912790
|
var PathParameterLocationValues15 = {
|
|
912710
912791
|
Root: "ROOT",
|
|
912711
912792
|
Service: "SERVICE",
|
|
@@ -912724,7 +912805,7 @@ var PathParameterLocation29 = Object.assign(Object.assign({}, PathParameterLocat
|
|
|
912724
912805
|
}
|
|
912725
912806
|
} });
|
|
912726
912807
|
|
|
912727
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912808
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/RequestPropertyValue.mjs
|
|
912728
912809
|
var RequestPropertyValue29 = {
|
|
912729
912810
|
query: (value2) => {
|
|
912730
912811
|
return Object.assign(Object.assign({}, value2), { type: "query", _visit: function(visitor) {
|
|
@@ -912748,7 +912829,7 @@ var RequestPropertyValue29 = {
|
|
|
912748
912829
|
}
|
|
912749
912830
|
};
|
|
912750
912831
|
|
|
912751
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912832
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SdkRequestBodyType.mjs
|
|
912752
912833
|
var SdkRequestBodyType29 = {
|
|
912753
912834
|
typeReference: (value2) => {
|
|
912754
912835
|
return Object.assign(Object.assign({}, value2), { type: "typeReference", _visit: function(visitor) {
|
|
@@ -912772,7 +912853,7 @@ var SdkRequestBodyType29 = {
|
|
|
912772
912853
|
}
|
|
912773
912854
|
};
|
|
912774
912855
|
|
|
912775
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912856
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SdkRequestShape.mjs
|
|
912776
912857
|
var SdkRequestShape29 = {
|
|
912777
912858
|
justRequestBody: (value2) => {
|
|
912778
912859
|
return {
|
|
@@ -912800,7 +912881,7 @@ var SdkRequestShape29 = {
|
|
|
912800
912881
|
}
|
|
912801
912882
|
};
|
|
912802
912883
|
|
|
912803
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912884
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/StreamingResponse.mjs
|
|
912804
912885
|
var StreamingResponse29 = {
|
|
912805
912886
|
json: (value2) => {
|
|
912806
912887
|
return Object.assign(Object.assign({}, value2), { type: "json", _visit: function(visitor) {
|
|
@@ -912831,7 +912912,7 @@ var StreamingResponse29 = {
|
|
|
912831
912912
|
}
|
|
912832
912913
|
};
|
|
912833
912914
|
|
|
912834
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912915
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SupportedSdkLanguage.mjs
|
|
912835
912916
|
var SupportedSdkLanguageValues16 = {
|
|
912836
912917
|
Curl: "curl",
|
|
912837
912918
|
Python: "python",
|
|
@@ -912874,7 +912955,7 @@ var SupportedSdkLanguage31 = Object.assign(Object.assign({}, SupportedSdkLanguag
|
|
|
912874
912955
|
}
|
|
912875
912956
|
} });
|
|
912876
912957
|
|
|
912877
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912958
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/Transport.mjs
|
|
912878
912959
|
var Transport29 = {
|
|
912879
912960
|
http: () => {
|
|
912880
912961
|
return {
|
|
@@ -912901,7 +912982,7 @@ var Transport29 = {
|
|
|
912901
912982
|
}
|
|
912902
912983
|
};
|
|
912903
912984
|
|
|
912904
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912985
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/index.mjs
|
|
912905
912986
|
var ir_exports58 = {};
|
|
912906
912987
|
__export(ir_exports58, {
|
|
912907
912988
|
ApiDefinitionSource: () => ApiDefinitionSource29,
|
|
@@ -912911,7 +912992,7 @@ __export(ir_exports58, {
|
|
|
912911
912992
|
InvocationSource: () => InvocationSource5
|
|
912912
912993
|
});
|
|
912913
912994
|
|
|
912914
|
-
// ../../../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/ApiDefinitionSource.mjs
|
|
912915
912996
|
var ApiDefinitionSource29 = {
|
|
912916
912997
|
proto: (value2) => {
|
|
912917
912998
|
return Object.assign(Object.assign({}, value2), { type: "proto", _visit: function(visitor) {
|
|
@@ -912938,7 +913019,7 @@ var ApiDefinitionSource29 = {
|
|
|
912938
913019
|
}
|
|
912939
913020
|
};
|
|
912940
913021
|
|
|
912941
|
-
// ../../../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/ApiVersionScheme.mjs
|
|
912942
913023
|
var ApiVersionScheme29 = {
|
|
912943
913024
|
header: (value2) => {
|
|
912944
913025
|
return Object.assign(Object.assign({}, value2), { type: "header", _visit: function(visitor) {
|
|
@@ -912955,7 +913036,7 @@ var ApiVersionScheme29 = {
|
|
|
912955
913036
|
}
|
|
912956
913037
|
};
|
|
912957
913038
|
|
|
912958
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913039
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ErrorDiscriminationStrategy.mjs
|
|
912959
913040
|
var ErrorDiscriminationStrategy29 = {
|
|
912960
913041
|
statusCode: () => {
|
|
912961
913042
|
return {
|
|
@@ -912982,7 +913063,7 @@ var ErrorDiscriminationStrategy29 = {
|
|
|
912982
913063
|
}
|
|
912983
913064
|
};
|
|
912984
913065
|
|
|
912985
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913066
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ExampleStyle.mjs
|
|
912986
913067
|
var ExampleStyleValues7 = {
|
|
912987
913068
|
Minimal: "minimal",
|
|
912988
913069
|
Comprehensive: "comprehensive"
|
|
@@ -912998,7 +913079,7 @@ var ExampleStyle15 = Object.assign(Object.assign({}, ExampleStyleValues7), { _vi
|
|
|
912998
913079
|
}
|
|
912999
913080
|
} });
|
|
913000
913081
|
|
|
913001
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913082
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/InvocationSource.mjs
|
|
913002
913083
|
var InvocationSourceValues3 = {
|
|
913003
913084
|
Autopilot: "autopilot",
|
|
913004
913085
|
Autorelease: "autorelease",
|
|
@@ -913020,7 +913101,7 @@ var InvocationSource5 = Object.assign(Object.assign({}, InvocationSourceValues3)
|
|
|
913020
913101
|
}
|
|
913021
913102
|
} });
|
|
913022
913103
|
|
|
913023
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913104
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/index.mjs
|
|
913024
913105
|
var proto_exports29 = {};
|
|
913025
913106
|
__export(proto_exports29, {
|
|
913026
913107
|
ProtobufMethodType: () => ProtobufMethodType19,
|
|
@@ -913028,7 +913109,7 @@ __export(proto_exports29, {
|
|
|
913028
913109
|
WellKnownProtobufType: () => WellKnownProtobufType29
|
|
913029
913110
|
});
|
|
913030
913111
|
|
|
913031
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913112
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/ProtobufMethodType.mjs
|
|
913032
913113
|
var ProtobufMethodTypeValues10 = {
|
|
913033
913114
|
Unary: "UNARY",
|
|
913034
913115
|
ClientStream: "CLIENT_STREAM",
|
|
@@ -913050,7 +913131,7 @@ var ProtobufMethodType19 = Object.assign(Object.assign({}, ProtobufMethodTypeVal
|
|
|
913050
913131
|
}
|
|
913051
913132
|
} });
|
|
913052
913133
|
|
|
913053
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913134
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/ProtobufType.mjs
|
|
913054
913135
|
var ProtobufType29 = {
|
|
913055
913136
|
wellKnown: (value2) => {
|
|
913056
913137
|
return {
|
|
@@ -913078,7 +913159,7 @@ var ProtobufType29 = {
|
|
|
913078
913159
|
}
|
|
913079
913160
|
};
|
|
913080
913161
|
|
|
913081
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913162
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/WellKnownProtobufType.mjs
|
|
913082
913163
|
var WellKnownProtobufType29 = {
|
|
913083
913164
|
any: () => {
|
|
913084
913165
|
return {
|
|
@@ -913388,14 +913469,14 @@ var WellKnownProtobufType29 = {
|
|
|
913388
913469
|
}
|
|
913389
913470
|
};
|
|
913390
913471
|
|
|
913391
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913472
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/index.mjs
|
|
913392
913473
|
var publish_exports29 = {};
|
|
913393
913474
|
__export(publish_exports29, {
|
|
913394
913475
|
PublishTarget: () => PublishTarget29,
|
|
913395
913476
|
PublishingConfig: () => PublishingConfig29
|
|
913396
913477
|
});
|
|
913397
913478
|
|
|
913398
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913479
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/types/PublishingConfig.mjs
|
|
913399
913480
|
var PublishingConfig29 = {
|
|
913400
913481
|
github: (value2) => {
|
|
913401
913482
|
return Object.assign(Object.assign({}, value2), { type: "github", _visit: function(visitor) {
|
|
@@ -913426,7 +913507,7 @@ var PublishingConfig29 = {
|
|
|
913426
913507
|
}
|
|
913427
913508
|
};
|
|
913428
913509
|
|
|
913429
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913510
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/types/PublishTarget.mjs
|
|
913430
913511
|
var PublishTarget29 = {
|
|
913431
913512
|
postman: (value2) => {
|
|
913432
913513
|
return Object.assign(Object.assign({}, value2), { type: "postman", _visit: function(visitor) {
|
|
@@ -913478,7 +913559,7 @@ var PublishTarget29 = {
|
|
|
913478
913559
|
}
|
|
913479
913560
|
};
|
|
913480
913561
|
|
|
913481
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913562
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/index.mjs
|
|
913482
913563
|
var types_exports67 = {};
|
|
913483
913564
|
__export(types_exports67, {
|
|
913484
913565
|
ContainerType: () => ContainerType29,
|
|
@@ -913501,7 +913582,7 @@ __export(types_exports67, {
|
|
|
913501
913582
|
UnionDiscriminatorContext: () => UnionDiscriminatorContext9
|
|
913502
913583
|
});
|
|
913503
913584
|
|
|
913504
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913585
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ContainerType.mjs
|
|
913505
913586
|
var ContainerType29 = {
|
|
913506
913587
|
list: (value2) => {
|
|
913507
913588
|
return {
|
|
@@ -913573,7 +913654,7 @@ var ContainerType29 = {
|
|
|
913573
913654
|
}
|
|
913574
913655
|
};
|
|
913575
913656
|
|
|
913576
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913657
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleContainer.mjs
|
|
913577
913658
|
var ExampleContainer29 = {
|
|
913578
913659
|
list: (value2) => {
|
|
913579
913660
|
return Object.assign(Object.assign({}, value2), { type: "list", _visit: function(visitor) {
|
|
@@ -913625,7 +913706,7 @@ var ExampleContainer29 = {
|
|
|
913625
913706
|
}
|
|
913626
913707
|
};
|
|
913627
913708
|
|
|
913628
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913709
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExamplePrimitive.mjs
|
|
913629
913710
|
var ExamplePrimitive29 = {
|
|
913630
913711
|
integer: (value2) => {
|
|
913631
913712
|
return {
|
|
@@ -913781,7 +913862,7 @@ var ExamplePrimitive29 = {
|
|
|
913781
913862
|
}
|
|
913782
913863
|
};
|
|
913783
913864
|
|
|
913784
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913865
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleSingleUnionTypeProperties.mjs
|
|
913785
913866
|
var ExampleSingleUnionTypeProperties29 = {
|
|
913786
913867
|
samePropertiesAsObject: (value2) => {
|
|
913787
913868
|
return Object.assign(Object.assign({}, value2), { type: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -913815,7 +913896,7 @@ var ExampleSingleUnionTypeProperties29 = {
|
|
|
913815
913896
|
}
|
|
913816
913897
|
};
|
|
913817
913898
|
|
|
913818
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913899
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleTypeReferenceShape.mjs
|
|
913819
913900
|
var ExampleTypeReferenceShape29 = {
|
|
913820
913901
|
primitive: (value2) => {
|
|
913821
913902
|
return {
|
|
@@ -913865,7 +913946,7 @@ var ExampleTypeReferenceShape29 = {
|
|
|
913865
913946
|
}
|
|
913866
913947
|
};
|
|
913867
913948
|
|
|
913868
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913949
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleTypeShape.mjs
|
|
913869
913950
|
var ExampleTypeShape29 = {
|
|
913870
913951
|
alias: (value2) => {
|
|
913871
913952
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -913910,7 +913991,7 @@ var ExampleTypeShape29 = {
|
|
|
913910
913991
|
}
|
|
913911
913992
|
};
|
|
913912
913993
|
|
|
913913
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913994
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Literal.mjs
|
|
913914
913995
|
var Literal30 = {
|
|
913915
913996
|
string: (value2) => {
|
|
913916
913997
|
return {
|
|
@@ -913942,7 +914023,7 @@ var Literal30 = {
|
|
|
913942
914023
|
}
|
|
913943
914024
|
};
|
|
913944
914025
|
|
|
913945
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914026
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/NamedTypeDefault.mjs
|
|
913946
914027
|
var NamedTypeDefault29 = {
|
|
913947
914028
|
enum: (value2) => {
|
|
913948
914029
|
return Object.assign(Object.assign({}, value2), { type: "enum", _visit: function(visitor) {
|
|
@@ -913959,7 +914040,7 @@ var NamedTypeDefault29 = {
|
|
|
913959
914040
|
}
|
|
913960
914041
|
};
|
|
913961
914042
|
|
|
913962
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914043
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ObjectPropertyAccess.mjs
|
|
913963
914044
|
var ObjectPropertyAccessValues21 = {
|
|
913964
914045
|
ReadOnly: "READ_ONLY",
|
|
913965
914046
|
WriteOnly: "WRITE_ONLY"
|
|
@@ -913975,7 +914056,7 @@ var ObjectPropertyAccess42 = Object.assign(Object.assign({}, ObjectPropertyAcces
|
|
|
913975
914056
|
}
|
|
913976
914057
|
} });
|
|
913977
914058
|
|
|
913978
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914059
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/PrimitiveTypeV1.mjs
|
|
913979
914060
|
var PrimitiveTypeV1Values23 = {
|
|
913980
914061
|
Integer: "INTEGER",
|
|
913981
914062
|
/**
|
|
@@ -914029,7 +914110,7 @@ var PrimitiveTypeV144 = Object.assign(Object.assign({}, PrimitiveTypeV1Values23)
|
|
|
914029
914110
|
}
|
|
914030
914111
|
} });
|
|
914031
914112
|
|
|
914032
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914113
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/PrimitiveTypeV2.mjs
|
|
914033
914114
|
var PrimitiveTypeV229 = {
|
|
914034
914115
|
integer: (value2) => {
|
|
914035
914116
|
return Object.assign(Object.assign({}, value2), { type: "integer", _visit: function(visitor) {
|
|
@@ -914137,7 +914218,7 @@ var PrimitiveTypeV229 = {
|
|
|
914137
914218
|
}
|
|
914138
914219
|
};
|
|
914139
914220
|
|
|
914140
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914221
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ResolvedTypeReference.mjs
|
|
914141
914222
|
var ResolvedTypeReference29 = {
|
|
914142
914223
|
container: (value2) => {
|
|
914143
914224
|
return {
|
|
@@ -914186,7 +914267,7 @@ var ResolvedTypeReference29 = {
|
|
|
914186
914267
|
}
|
|
914187
914268
|
};
|
|
914188
914269
|
|
|
914189
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914270
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ShapeType.mjs
|
|
914190
914271
|
var ShapeTypeValues15 = {
|
|
914191
914272
|
Enum: "ENUM",
|
|
914192
914273
|
Object: "OBJECT",
|
|
@@ -914208,7 +914289,7 @@ var ShapeType29 = Object.assign(Object.assign({}, ShapeTypeValues15), { _visit:
|
|
|
914208
914289
|
}
|
|
914209
914290
|
} });
|
|
914210
914291
|
|
|
914211
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914292
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/SingleUnionTypeProperties.mjs
|
|
914212
914293
|
var SingleUnionTypeProperties29 = {
|
|
914213
914294
|
samePropertiesAsObject: (value2) => {
|
|
914214
914295
|
return Object.assign(Object.assign({}, value2), { propertiesType: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -914242,7 +914323,7 @@ var SingleUnionTypeProperties29 = {
|
|
|
914242
914323
|
}
|
|
914243
914324
|
};
|
|
914244
914325
|
|
|
914245
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914326
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Source.mjs
|
|
914246
914327
|
var Source33 = {
|
|
914247
914328
|
proto: (value2) => {
|
|
914248
914329
|
return {
|
|
@@ -914263,7 +914344,7 @@ var Source33 = {
|
|
|
914263
914344
|
}
|
|
914264
914345
|
};
|
|
914265
914346
|
|
|
914266
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914347
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Type.mjs
|
|
914267
914348
|
var Type30 = {
|
|
914268
914349
|
alias: (value2) => {
|
|
914269
914350
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -914308,7 +914389,7 @@ var Type30 = {
|
|
|
914308
914389
|
}
|
|
914309
914390
|
};
|
|
914310
914391
|
|
|
914311
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914392
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/TypeReference.mjs
|
|
914312
914393
|
var TypeReference58 = {
|
|
914313
914394
|
container: (value2) => {
|
|
914314
914395
|
return {
|
|
@@ -914357,7 +914438,7 @@ var TypeReference58 = {
|
|
|
914357
914438
|
}
|
|
914358
914439
|
};
|
|
914359
914440
|
|
|
914360
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914441
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/UnionDiscriminatorContext.mjs
|
|
914361
914442
|
var UnionDiscriminatorContextValues4 = {
|
|
914362
914443
|
/**
|
|
914363
914444
|
* Discriminator is within the union data itself (e.g., data.type field) */
|
|
@@ -914377,15 +914458,17 @@ var UnionDiscriminatorContext9 = Object.assign(Object.assign({}, UnionDiscrimina
|
|
|
914377
914458
|
}
|
|
914378
914459
|
} });
|
|
914379
914460
|
|
|
914380
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914461
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/variables/index.mjs
|
|
914381
914462
|
var variables_exports46 = {};
|
|
914382
914463
|
|
|
914383
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914464
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/index.mjs
|
|
914384
914465
|
var webhooks_exports31 = {};
|
|
914385
914466
|
__export(webhooks_exports31, {
|
|
914386
914467
|
AsymmetricAlgorithm: () => AsymmetricAlgorithm9,
|
|
914387
914468
|
AsymmetricKeySource: () => AsymmetricKeySource7,
|
|
914388
914469
|
HmacAlgorithm: () => HmacAlgorithm7,
|
|
914470
|
+
WebhookBodyHashAlgorithm: () => WebhookBodyHashAlgorithm5,
|
|
914471
|
+
WebhookBodyHashLocation: () => WebhookBodyHashLocation5,
|
|
914389
914472
|
WebhookHttpMethod: () => WebhookHttpMethod31,
|
|
914390
914473
|
WebhookPayload: () => WebhookPayload29,
|
|
914391
914474
|
WebhookPayloadBodySort: () => WebhookPayloadBodySort9,
|
|
@@ -914395,7 +914478,7 @@ __export(webhooks_exports31, {
|
|
|
914395
914478
|
WebhookTimestampFormat: () => WebhookTimestampFormat9
|
|
914396
914479
|
});
|
|
914397
914480
|
|
|
914398
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914481
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/AsymmetricAlgorithm.mjs
|
|
914399
914482
|
var AsymmetricAlgorithmValues5 = {
|
|
914400
914483
|
RsaSha256: "RSA_SHA256",
|
|
914401
914484
|
RsaSha384: "RSA_SHA384",
|
|
@@ -914426,7 +914509,7 @@ var AsymmetricAlgorithm9 = Object.assign(Object.assign({}, AsymmetricAlgorithmVa
|
|
|
914426
914509
|
}
|
|
914427
914510
|
} });
|
|
914428
914511
|
|
|
914429
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914512
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/AsymmetricKeySource.mjs
|
|
914430
914513
|
var AsymmetricKeySource7 = {
|
|
914431
914514
|
jwks: (value2) => {
|
|
914432
914515
|
return Object.assign(Object.assign({}, value2), { type: "jwks", _visit: function(visitor) {
|
|
@@ -914450,7 +914533,7 @@ var AsymmetricKeySource7 = {
|
|
|
914450
914533
|
}
|
|
914451
914534
|
};
|
|
914452
914535
|
|
|
914453
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914536
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/HmacAlgorithm.mjs
|
|
914454
914537
|
var HmacAlgorithmValues4 = {
|
|
914455
914538
|
Sha256: "SHA256",
|
|
914456
914539
|
Sha1: "SHA1",
|
|
@@ -914472,7 +914555,46 @@ var HmacAlgorithm7 = Object.assign(Object.assign({}, HmacAlgorithmValues4), { _v
|
|
|
914472
914555
|
}
|
|
914473
914556
|
} });
|
|
914474
914557
|
|
|
914475
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914558
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookBodyHashAlgorithm.mjs
|
|
914559
|
+
var WebhookBodyHashAlgorithmValues3 = {
|
|
914560
|
+
Sha256: "SHA256",
|
|
914561
|
+
Sha1: "SHA1",
|
|
914562
|
+
Sha384: "SHA384",
|
|
914563
|
+
Sha512: "SHA512"
|
|
914564
|
+
};
|
|
914565
|
+
var WebhookBodyHashAlgorithm5 = Object.assign(Object.assign({}, WebhookBodyHashAlgorithmValues3), { _visit: (value2, visitor) => {
|
|
914566
|
+
switch (value2) {
|
|
914567
|
+
case WebhookBodyHashAlgorithm5.Sha256:
|
|
914568
|
+
return visitor.sha256();
|
|
914569
|
+
case WebhookBodyHashAlgorithm5.Sha1:
|
|
914570
|
+
return visitor.sha1();
|
|
914571
|
+
case WebhookBodyHashAlgorithm5.Sha384:
|
|
914572
|
+
return visitor.sha384();
|
|
914573
|
+
case WebhookBodyHashAlgorithm5.Sha512:
|
|
914574
|
+
return visitor.sha512();
|
|
914575
|
+
default:
|
|
914576
|
+
return visitor._other();
|
|
914577
|
+
}
|
|
914578
|
+
} });
|
|
914579
|
+
|
|
914580
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookBodyHashLocation.mjs
|
|
914581
|
+
var WebhookBodyHashLocation5 = {
|
|
914582
|
+
queryParameter: (value2) => {
|
|
914583
|
+
return Object.assign(Object.assign({}, value2), { type: "queryParameter", _visit: function(visitor) {
|
|
914584
|
+
return WebhookBodyHashLocation5._visit(this, visitor);
|
|
914585
|
+
} });
|
|
914586
|
+
},
|
|
914587
|
+
_visit: (value2, visitor) => {
|
|
914588
|
+
switch (value2.type) {
|
|
914589
|
+
case "queryParameter":
|
|
914590
|
+
return visitor.queryParameter(value2);
|
|
914591
|
+
default:
|
|
914592
|
+
return visitor._other(value2);
|
|
914593
|
+
}
|
|
914594
|
+
}
|
|
914595
|
+
};
|
|
914596
|
+
|
|
914597
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookHttpMethod.mjs
|
|
914476
914598
|
var WebhookHttpMethodValues16 = {
|
|
914477
914599
|
Get: "GET",
|
|
914478
914600
|
Post: "POST"
|
|
@@ -914488,7 +914610,7 @@ var WebhookHttpMethod31 = Object.assign(Object.assign({}, WebhookHttpMethodValue
|
|
|
914488
914610
|
}
|
|
914489
914611
|
} });
|
|
914490
914612
|
|
|
914491
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914613
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayload.mjs
|
|
914492
914614
|
var WebhookPayload29 = {
|
|
914493
914615
|
inlinedPayload: (value2) => {
|
|
914494
914616
|
return Object.assign(Object.assign({}, value2), { type: "inlinedPayload", _visit: function(visitor) {
|
|
@@ -914512,7 +914634,7 @@ var WebhookPayload29 = {
|
|
|
914512
914634
|
}
|
|
914513
914635
|
};
|
|
914514
914636
|
|
|
914515
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914637
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayloadBodySort.mjs
|
|
914516
914638
|
var WebhookPayloadBodySortValues5 = {
|
|
914517
914639
|
Alphabetical: "ALPHABETICAL"
|
|
914518
914640
|
};
|
|
@@ -914525,7 +914647,7 @@ var WebhookPayloadBodySort9 = Object.assign(Object.assign({}, WebhookPayloadBody
|
|
|
914525
914647
|
}
|
|
914526
914648
|
} });
|
|
914527
914649
|
|
|
914528
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914650
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayloadComponent.mjs
|
|
914529
914651
|
var WebhookPayloadComponentValues5 = {
|
|
914530
914652
|
/**
|
|
914531
914653
|
* The raw request body. */
|
|
@@ -914555,7 +914677,7 @@ var WebhookPayloadComponent9 = Object.assign(Object.assign({}, WebhookPayloadCom
|
|
|
914555
914677
|
}
|
|
914556
914678
|
} });
|
|
914557
914679
|
|
|
914558
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914680
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookSignatureEncoding.mjs
|
|
914559
914681
|
var WebhookSignatureEncodingValues5 = {
|
|
914560
914682
|
Base64: "BASE64",
|
|
914561
914683
|
Hex: "HEX"
|
|
@@ -914571,7 +914693,7 @@ var WebhookSignatureEncoding9 = Object.assign(Object.assign({}, WebhookSignature
|
|
|
914571
914693
|
}
|
|
914572
914694
|
} });
|
|
914573
914695
|
|
|
914574
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914696
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookSignatureVerification.mjs
|
|
914575
914697
|
var WebhookSignatureVerification9 = {
|
|
914576
914698
|
hmac: (value2) => {
|
|
914577
914699
|
return Object.assign(Object.assign({}, value2), { type: "hmac", _visit: function(visitor) {
|
|
@@ -914595,7 +914717,7 @@ var WebhookSignatureVerification9 = {
|
|
|
914595
914717
|
}
|
|
914596
914718
|
};
|
|
914597
914719
|
|
|
914598
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914720
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookTimestampFormat.mjs
|
|
914599
914721
|
var WebhookTimestampFormatValues5 = {
|
|
914600
914722
|
UnixSeconds: "UNIX_SECONDS",
|
|
914601
914723
|
UnixMillis: "UNIX_MILLIS",
|
|
@@ -914614,7 +914736,7 @@ var WebhookTimestampFormat9 = Object.assign(Object.assign({}, WebhookTimestampFo
|
|
|
914614
914736
|
}
|
|
914615
914737
|
} });
|
|
914616
914738
|
|
|
914617
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914739
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/index.mjs
|
|
914618
914740
|
var websocket_exports33 = {};
|
|
914619
914741
|
__export(websocket_exports33, {
|
|
914620
914742
|
ExampleWebSocketMessageBody: () => ExampleWebSocketMessageBody29,
|
|
@@ -914622,7 +914744,7 @@ __export(websocket_exports33, {
|
|
|
914622
914744
|
WebSocketMessageOrigin: () => WebSocketMessageOrigin30
|
|
914623
914745
|
});
|
|
914624
914746
|
|
|
914625
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914747
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/ExampleWebSocketMessageBody.mjs
|
|
914626
914748
|
var ExampleWebSocketMessageBody29 = {
|
|
914627
914749
|
inlinedBody: (value2) => {
|
|
914628
914750
|
return Object.assign(Object.assign({}, value2), { type: "inlinedBody", _visit: function(visitor) {
|
|
@@ -914646,7 +914768,7 @@ var ExampleWebSocketMessageBody29 = {
|
|
|
914646
914768
|
}
|
|
914647
914769
|
};
|
|
914648
914770
|
|
|
914649
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914771
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/WebSocketMessageBody.mjs
|
|
914650
914772
|
var WebSocketMessageBody29 = {
|
|
914651
914773
|
inlinedBody: (value2) => {
|
|
914652
914774
|
return Object.assign(Object.assign({}, value2), { type: "inlinedBody", _visit: function(visitor) {
|
|
@@ -914670,7 +914792,7 @@ var WebSocketMessageBody29 = {
|
|
|
914670
914792
|
}
|
|
914671
914793
|
};
|
|
914672
914794
|
|
|
914673
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914795
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/WebSocketMessageOrigin.mjs
|
|
914674
914796
|
var WebSocketMessageOriginValues15 = {
|
|
914675
914797
|
Client: "client",
|
|
914676
914798
|
Server: "server"
|
|
@@ -915490,7 +915612,9 @@ var ClassReference = class extends Node5 {
|
|
|
915490
915612
|
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
|
|
915491
915613
|
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,
|
|
915492
915614
|
// the C# compiler will resolve it to the type instead of the namespace (CS0426)
|
|
915493
|
-
this.registry.hasTypeNamespaceConflict(this.namespaceSegments[0]) || //
|
|
915615
|
+
this.registry.hasTypeNamespaceConflict(this.namespaceSegments[0]) || // a nested type can also shadow the root namespace segment, but only within its
|
|
915616
|
+
// enclosing type's body — qualify only when we are writing inside that scope
|
|
915617
|
+
this.registry.hasNestedTypeShadowInScope(this.namespaceSegments[0], writer2.typeScopeStack) || // or we always are going to be using fully qualified namespaces
|
|
915494
915618
|
writer2.generation.settings.useFullyQualifiedNamespaces);
|
|
915495
915619
|
let fqNameBase = this.csharpQualifiedName;
|
|
915496
915620
|
if (isAttribute && fqNameBase.endsWith("Attribute")) {
|
|
@@ -920483,6 +920607,7 @@ var Class2 = class _Class extends DefinedType {
|
|
|
920483
920607
|
}
|
|
920484
920608
|
writer2.writeNewLineIfLastLineNot();
|
|
920485
920609
|
writer2.pushScope();
|
|
920610
|
+
writer2.pushTypeScope(this.reference.fullyQualifiedName);
|
|
920486
920611
|
this.writeConsts(writer2);
|
|
920487
920612
|
this.writeFieldFields(writer2);
|
|
920488
920613
|
this.writeConstructors(writer2);
|
|
@@ -920492,6 +920617,7 @@ var Class2 = class _Class extends DefinedType {
|
|
|
920492
920617
|
this.writeRawBodyBlocks(writer2);
|
|
920493
920618
|
this.writeNestedClasses(writer2);
|
|
920494
920619
|
this.writeNestedInterfaces(writer2);
|
|
920620
|
+
writer2.popTypeScope();
|
|
920495
920621
|
writer2.popScope();
|
|
920496
920622
|
}
|
|
920497
920623
|
hasBody() {
|
|
@@ -921753,6 +921879,19 @@ var NameRegistry = class _NameRegistry {
|
|
|
921753
921879
|
* Value: Set of parent namespace paths where this segment appears
|
|
921754
921880
|
*/
|
|
921755
921881
|
namespaceNames = /* @__PURE__ */ new Map();
|
|
921882
|
+
/**
|
|
921883
|
+
* Registry tracking nested types whose name equals the root segment of their own
|
|
921884
|
+
* namespace, which shadows that namespace inside the enclosing type's body (CS0426).
|
|
921885
|
+
*
|
|
921886
|
+
* Unlike a top-level type/namespace conflict (which shadows everywhere and is recorded
|
|
921887
|
+
* as a tracked type name), a nested type only shadows the namespace root within its
|
|
921888
|
+
* enclosing type's lexical scope. We therefore record the enclosing types rather than
|
|
921889
|
+
* the name globally, so references are qualified only when written inside that scope.
|
|
921890
|
+
*
|
|
921891
|
+
* Key: Nested type name that shadows its root namespace segment (e.g. "Acme")
|
|
921892
|
+
* Value: Set of enclosing-type fully qualified names the shadow is visible in
|
|
921893
|
+
*/
|
|
921894
|
+
nestedTypeShadows = /* @__PURE__ */ new Map();
|
|
921756
921895
|
/**
|
|
921757
921896
|
* Set of namespaces that are implicitly imported/available.
|
|
921758
921897
|
* Types in nested namespaces under these prefixes are tracked for ambiguity detection.
|
|
@@ -921961,6 +922100,28 @@ var NameRegistry = class _NameRegistry {
|
|
|
921961
922100
|
}
|
|
921962
922101
|
return this.typeNames.has(name2) && (this.namespaceNames.get(name2)?.has("") ?? false);
|
|
921963
922102
|
}
|
|
922103
|
+
/**
|
|
922104
|
+
* Checks whether `name` is a nested type that shadows its own root namespace segment
|
|
922105
|
+
* (see {@link nestedTypeShadows}) AND whether we are currently writing inside one of the
|
|
922106
|
+
* enclosing types where that shadow is visible. This is the scoped counterpart to
|
|
922107
|
+
* {@link hasTypeNamespaceConflict}: it lets reference sites emit a `global::` qualifier
|
|
922108
|
+
* only within the shadow's lexical scope, rather than everywhere the root segment appears.
|
|
922109
|
+
*
|
|
922110
|
+
* @param name - The first namespace segment of the reference being written (optional)
|
|
922111
|
+
* @param typeScopeStack - Fully qualified names of the enclosing types currently open,
|
|
922112
|
+
* outermost first (see `Writer.typeScopeStack`)
|
|
922113
|
+
* @returns `true` if a matching nested-type shadow is in scope, `false` otherwise
|
|
922114
|
+
*/
|
|
922115
|
+
hasNestedTypeShadowInScope(name2, typeScopeStack) {
|
|
922116
|
+
if (!name2 || this.knownBuiltInIdentifiers.has(name2)) {
|
|
922117
|
+
return false;
|
|
922118
|
+
}
|
|
922119
|
+
const enclosers = this.nestedTypeShadows.get(name2);
|
|
922120
|
+
if (!enclosers) {
|
|
922121
|
+
return false;
|
|
922122
|
+
}
|
|
922123
|
+
return typeScopeStack.some((fullyQualifiedName) => enclosers.has(fullyQualifiedName));
|
|
922124
|
+
}
|
|
921964
922125
|
/**
|
|
921965
922126
|
* Generates a fully qualified name string from a class reference identity.
|
|
921966
922127
|
* For nested types, includes the enclosing type in the qualified name.
|
|
@@ -922022,6 +922183,13 @@ var NameRegistry = class _NameRegistry {
|
|
|
922022
922183
|
}
|
|
922023
922184
|
if (!enclosingType) {
|
|
922024
922185
|
this.trackTypeName(name2, namespace);
|
|
922186
|
+
} else if (name2 === namespace.split(".")[0]) {
|
|
922187
|
+
let enclosers = this.nestedTypeShadows.get(name2);
|
|
922188
|
+
if (!enclosers) {
|
|
922189
|
+
enclosers = /* @__PURE__ */ new Set();
|
|
922190
|
+
this.nestedTypeShadows.set(name2, enclosers);
|
|
922191
|
+
}
|
|
922192
|
+
enclosers.add(enclosingType.fullyQualifiedName);
|
|
922025
922193
|
}
|
|
922026
922194
|
for (const each2 of [this.generation.namespaces.root, ...this.implicitNamespaces]) {
|
|
922027
922195
|
if (namespace.startsWith(each2)) {
|
|
@@ -929209,7 +929377,13 @@ var DynamicTypeInstantiationMapper = class {
|
|
|
929209
929377
|
const unionVariant = discriminatedUnionTypeInstance.singleDiscriminatedUnionType;
|
|
929210
929378
|
const baseFields = this.getBaseFields({
|
|
929211
929379
|
discriminatedUnionTypeInstance,
|
|
929212
|
-
singleDiscriminatedUnionType: unionVariant
|
|
929380
|
+
singleDiscriminatedUnionType: unionVariant,
|
|
929381
|
+
// When `dedupeUnionBaseProperties` removes a base property from the union's top-level
|
|
929382
|
+
// fields (exposing it through a discriminant-switching getter instead), that field no
|
|
929383
|
+
// longer exists on the struct, so setting it at the union root would fail to compile.
|
|
929384
|
+
// Those base properties are always carried by the variant's own object, so the value is
|
|
929385
|
+
// still present in the snippet. See getDedupedBasePropertyWireValues.
|
|
929386
|
+
excludeWireValues: this.getDedupedBasePropertyWireValues(discriminatedUnion2)
|
|
929213
929387
|
});
|
|
929214
929388
|
switch (unionVariant.type) {
|
|
929215
929389
|
case "samePropertiesAsObject": {
|
|
@@ -929270,14 +929444,14 @@ var DynamicTypeInstantiationMapper = class {
|
|
|
929270
929444
|
assertNever(unionVariant);
|
|
929271
929445
|
}
|
|
929272
929446
|
}
|
|
929273
|
-
getBaseFields({ discriminatedUnionTypeInstance, singleDiscriminatedUnionType }) {
|
|
929447
|
+
getBaseFields({ discriminatedUnionTypeInstance, singleDiscriminatedUnionType, excludeWireValues }) {
|
|
929274
929448
|
const properties7 = this.context.associateByWireValue({
|
|
929275
929449
|
parameters: singleDiscriminatedUnionType.properties ?? [],
|
|
929276
929450
|
values: this.context.getRecord(discriminatedUnionTypeInstance.value) ?? {},
|
|
929277
929451
|
// We're only selecting the base properties here. The rest of the properties
|
|
929278
929452
|
// are handled by the union variant.
|
|
929279
929453
|
ignoreMissingParameters: true
|
|
929280
|
-
});
|
|
929454
|
+
}).filter((property24) => !(excludeWireValues?.has(property24.name.wireValue) ?? false));
|
|
929281
929455
|
return properties7.map((property24) => {
|
|
929282
929456
|
this.context.errors.scope(property24.name.wireValue);
|
|
929283
929457
|
try {
|
|
@@ -929290,6 +929464,136 @@ var DynamicTypeInstantiationMapper = class {
|
|
|
929290
929464
|
}
|
|
929291
929465
|
});
|
|
929292
929466
|
}
|
|
929467
|
+
/**
|
|
929468
|
+
* Returns the wire values of the union base properties that the Go model generator drops as
|
|
929469
|
+
* top-level struct fields when `dedupeUnionBaseProperties` is enabled — mirroring the model's
|
|
929470
|
+
* `unionInheritedBasePropertyNames` so the snippet and the generated model dedupe an identical
|
|
929471
|
+
* set.
|
|
929472
|
+
*
|
|
929473
|
+
* The decision has a language-agnostic core and a thin Go-specific widening, exactly as in the
|
|
929474
|
+
* model:
|
|
929475
|
+
* - Core: the IR marks (in `DiscriminatedUnionType.inheritedBaseProperties`, the dynamic-IR
|
|
929476
|
+
* mirror of `UnionTypeDeclaration.inheritedBaseProperties`) the base properties every
|
|
929477
|
+
* `samePropertiesAsObject` variant redeclares with a structurally-equal type. This is the
|
|
929478
|
+
* shared source of truth, so the decision is not re-derived per language.
|
|
929479
|
+
* - Go-render widening: Go additionally dedupes a base property that every variant redeclares
|
|
929480
|
+
* with a Go-RENDER-equivalent type (e.g. `list`/`set` both render `[]T`, `optional`/`nullable`
|
|
929481
|
+
* both `*T`) even though the IR's conservative structural equality left it unmarked; the
|
|
929482
|
+
* delegating getter still compiles, so the top-level field is safe to drop.
|
|
929483
|
+
*
|
|
929484
|
+
* Literal base properties are always kept at the union root (they render as `<Name>()` methods,
|
|
929485
|
+
* not delegatable fields), matching the model. Base properties that a variant does not carry, or
|
|
929486
|
+
* that a variant redeclares with a different Go getter type, keep their top-level field and must
|
|
929487
|
+
* still be set at the union root, so they are excluded here.
|
|
929488
|
+
*
|
|
929489
|
+
* To stay in lockstep with the model, base<->variant properties are matched by Go field name (not
|
|
929490
|
+
* wire value) via {@link getObjectExportedProperties}, and compared through
|
|
929491
|
+
* {@link getGoGetterTypeString} — the single comparison primitive that renders a getter's Go type
|
|
929492
|
+
* including the `getters-pass-by-value` `*`-stripping the model applies. Both the structural-core
|
|
929493
|
+
* and the widening path route through it, so the two generators cannot drift.
|
|
929494
|
+
*/
|
|
929495
|
+
getDedupedBasePropertyWireValues(discriminatedUnion2) {
|
|
929496
|
+
if (!this.context.customConfig?.dedupeUnionBaseProperties) {
|
|
929497
|
+
return /* @__PURE__ */ new Set();
|
|
929498
|
+
}
|
|
929499
|
+
const variants = Object.values(discriminatedUnion2.types);
|
|
929500
|
+
if (variants.length === 0 || !variants.every((variant) => variant.type === "samePropertiesAsObject")) {
|
|
929501
|
+
return /* @__PURE__ */ new Set();
|
|
929502
|
+
}
|
|
929503
|
+
const baseProperties = variants[0]?.properties ?? [];
|
|
929504
|
+
if (baseProperties.length === 0) {
|
|
929505
|
+
return /* @__PURE__ */ new Set();
|
|
929506
|
+
}
|
|
929507
|
+
const structurallyInherited = new Set((discriminatedUnion2.inheritedBaseProperties ?? []).map((property24) => property24.wireValue));
|
|
929508
|
+
const errorsBefore = this.context.errors.size();
|
|
929509
|
+
try {
|
|
929510
|
+
const variantPropertiesByField = variants.map((variant) => this.getObjectExportedProperties(variant.typeId));
|
|
929511
|
+
const everyVariantExposesNonLiteralProperty = (fieldName) => variantPropertiesByField.every((declared) => {
|
|
929512
|
+
const variantProperty = declared.get(fieldName);
|
|
929513
|
+
return variantProperty != null && variantProperty.typeReference.type !== "literal";
|
|
929514
|
+
});
|
|
929515
|
+
const deduped = /* @__PURE__ */ new Set();
|
|
929516
|
+
for (const baseProperty2 of baseProperties) {
|
|
929517
|
+
if (baseProperty2.typeReference.type === "literal") {
|
|
929518
|
+
continue;
|
|
929519
|
+
}
|
|
929520
|
+
const fieldName = this.context.getFieldName(baseProperty2.name.name);
|
|
929521
|
+
if (structurallyInherited.has(baseProperty2.name.wireValue)) {
|
|
929522
|
+
if (everyVariantExposesNonLiteralProperty(fieldName)) {
|
|
929523
|
+
deduped.add(baseProperty2.name.wireValue);
|
|
929524
|
+
}
|
|
929525
|
+
continue;
|
|
929526
|
+
}
|
|
929527
|
+
const baseGetterType = this.getGoGetterTypeString(baseProperty2.typeReference);
|
|
929528
|
+
const carriedByEveryVariant = variantPropertiesByField.every((declared) => {
|
|
929529
|
+
const variantProperty = declared.get(fieldName);
|
|
929530
|
+
return variantProperty != null && variantProperty.typeReference.type !== "literal" && this.getGoGetterTypeString(variantProperty.typeReference) === baseGetterType;
|
|
929531
|
+
});
|
|
929532
|
+
if (carriedByEveryVariant) {
|
|
929533
|
+
deduped.add(baseProperty2.name.wireValue);
|
|
929534
|
+
}
|
|
929535
|
+
}
|
|
929536
|
+
return deduped;
|
|
929537
|
+
} finally {
|
|
929538
|
+
this.context.errors.truncate(errorsBefore);
|
|
929539
|
+
}
|
|
929540
|
+
}
|
|
929541
|
+
/**
|
|
929542
|
+
* Collects the properties an object exports, keyed by Go field name, following its `extends` chain
|
|
929543
|
+
* (matching the model's `objectExportedProperties`). Extended properties are collected first so a
|
|
929544
|
+
* property declared directly on the object overrides one inherited via `extends`, exactly as the
|
|
929545
|
+
* model does. Empty for anything that does not resolve to an object.
|
|
929546
|
+
*/
|
|
929547
|
+
getObjectExportedProperties(typeId) {
|
|
929548
|
+
const properties7 = /* @__PURE__ */ new Map();
|
|
929549
|
+
const visited = /* @__PURE__ */ new Set();
|
|
929550
|
+
const collect2 = (id) => {
|
|
929551
|
+
if (visited.has(id)) {
|
|
929552
|
+
return;
|
|
929553
|
+
}
|
|
929554
|
+
visited.add(id);
|
|
929555
|
+
const named = this.context.resolveNamedType({ typeId: id });
|
|
929556
|
+
if (named?.type !== "object") {
|
|
929557
|
+
return;
|
|
929558
|
+
}
|
|
929559
|
+
for (const extended of named.extends ?? []) {
|
|
929560
|
+
collect2(extended);
|
|
929561
|
+
}
|
|
929562
|
+
for (const property24 of named.properties) {
|
|
929563
|
+
properties7.set(this.context.getFieldName(property24.name.name), property24);
|
|
929564
|
+
}
|
|
929565
|
+
};
|
|
929566
|
+
collect2(typeId);
|
|
929567
|
+
return properties7;
|
|
929568
|
+
}
|
|
929569
|
+
/**
|
|
929570
|
+
* Renders the Go type a getter for `typeReference` would return, so two references can be compared
|
|
929571
|
+
* for Go-getter-type equality. This is the single comparison primitive the dedupe decision uses,
|
|
929572
|
+
* mirroring the model's `processTypeFieldForOptional`:
|
|
929573
|
+
* - the type mapper collapses Go-render-equivalent shapes (`list`/`set` -> `[]T`,
|
|
929574
|
+
* `optional`/`nullable` -> `*T`), and
|
|
929575
|
+
* - when `getters-pass-by-value` is enabled the model returns the DEREFERENCED type for an
|
|
929576
|
+
* optional/nullable field, so we render the unwrapped type here to match. Without this the
|
|
929577
|
+
* snippet would keep a base field the model dropped under that config, re-introducing drift.
|
|
929578
|
+
*
|
|
929579
|
+
* `packageName`/`importPath` are arbitrary: the result is only ever compared against another
|
|
929580
|
+
* string produced by this same method, so any consistent values work, and rendering against a
|
|
929581
|
+
* throwaway file means it never registers imports on real output.
|
|
929582
|
+
*/
|
|
929583
|
+
getGoGetterTypeString(typeReference2) {
|
|
929584
|
+
let effectiveTypeReference = typeReference2;
|
|
929585
|
+
if (this.context.customConfig?.gettersPassByValue) {
|
|
929586
|
+
while (effectiveTypeReference.type === "optional" || effectiveTypeReference.type === "nullable") {
|
|
929587
|
+
effectiveTypeReference = effectiveTypeReference.value;
|
|
929588
|
+
}
|
|
929589
|
+
}
|
|
929590
|
+
return this.context.dynamicTypeMapper.convert({ typeReference: effectiveTypeReference }).toString({
|
|
929591
|
+
packageName: "example",
|
|
929592
|
+
importPath: "fern",
|
|
929593
|
+
rootImportPath: this.context.rootImportPath,
|
|
929594
|
+
customConfig: this.context.customConfig ?? {}
|
|
929595
|
+
});
|
|
929596
|
+
}
|
|
929293
929597
|
convertObject({ object_, value: value2 }) {
|
|
929294
929598
|
const properties7 = this.context.associateByWireValue({
|
|
929295
929599
|
parameters: object_.properties,
|
|
@@ -971300,7 +971604,7 @@ function getAutomationContextFromEnv() {
|
|
|
971300
971604
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
971301
971605
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
971302
971606
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
971303
|
-
cli_version: "5.75.
|
|
971607
|
+
cli_version: "5.75.2"
|
|
971304
971608
|
};
|
|
971305
971609
|
}
|
|
971306
971610
|
function isAutomationMode() {
|
|
@@ -972132,7 +972436,7 @@ var CliContext = class _CliContext {
|
|
|
972132
972436
|
if (false) {
|
|
972133
972437
|
this.logger.error("CLI_VERSION is not defined");
|
|
972134
972438
|
}
|
|
972135
|
-
return "5.75.
|
|
972439
|
+
return "5.75.2";
|
|
972136
972440
|
}
|
|
972137
972441
|
getCliName() {
|
|
972138
972442
|
if (false) {
|
|
@@ -981094,7 +981398,7 @@ var import_node_readline6 = require("readline");
|
|
|
981094
981398
|
init_lib6();
|
|
981095
981399
|
|
|
981096
981400
|
// src/commands/docs-theme/themeOrigin.ts
|
|
981097
|
-
var FDR_ORIGIN = process.env.OVERRIDE_FDR_ORIGIN ?? "https://registry.buildwithfern.com";
|
|
981401
|
+
var FDR_ORIGIN = process.env.OVERRIDE_FDR_ORIGIN ?? "https://registry-dev2.buildwithfern.com" ?? "https://registry.buildwithfern.com";
|
|
981098
981402
|
function describeFetchError(error50) {
|
|
981099
981403
|
if (!(error50 instanceof Error)) {
|
|
981100
981404
|
return String(error50);
|
|
@@ -981544,7 +981848,7 @@ ${errors4.map((e2) => ` - ${e2}`).join("\n")}`,
|
|
|
981544
981848
|
}
|
|
981545
981849
|
async uploadToCas(content5, contentType, bindPath, label) {
|
|
981546
981850
|
const hash5 = (0, import_crypto10.createHash)("sha256").update(content5).digest("hex");
|
|
981547
|
-
const casUrl = `${FDR_ORIGIN}/v2/registry/content/${
|
|
981851
|
+
const casUrl = `${FDR_ORIGIN}/v2/registry/content/${encodeURIComponent(this.orgId)}/${hash5}`;
|
|
981548
981852
|
this.context.logger.debug(` CAS check: PUT ${casUrl} (${contentType}, ${content5.byteLength} bytes)`);
|
|
981549
981853
|
let checkRes;
|
|
981550
981854
|
try {
|