@fern-api/fern-api-dev 5.75.0 → 5.75.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.cjs +443 -183
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -565668,56 +565668,44 @@ var require_AutoVersioningService = __commonJS({
|
|
|
565668
565668
|
}
|
|
565669
565669
|
/**
|
|
565670
565670
|
* Removes paired - and + lines where the only difference is the magic version.
|
|
565671
|
+
*
|
|
565672
|
+
* Matching is done across the whole section rather than only between adjacent lines.
|
|
565673
|
+
* Unified diffs group every deletion before every addition within a hunk, so when
|
|
565674
|
+
* several version-bearing lines change together (e.g. `X-Fern-SDK-Version` and
|
|
565675
|
+
* `User-Agent` on consecutive lines) an adjacency-only pass leaves the interleaved
|
|
565676
|
+
* deletions behind. Once the magic-version additions are stripped, those orphaned
|
|
565677
|
+
* deletions reach the AI analyzer as apparent removals — which is why a routine
|
|
565678
|
+
* version bump was reported as the `User-Agent` header being dropped. Pairing each
|
|
565679
|
+
* version-change deletion with any unused version-change addition in the section and
|
|
565680
|
+
* dropping both keeps the diff balanced regardless of layout.
|
|
565671
565681
|
*/
|
|
565672
565682
|
removeVersionChangePairs(lines, mappedMagicVersion) {
|
|
565673
|
-
const
|
|
565674
|
-
let
|
|
565675
|
-
|
|
565676
|
-
|
|
565677
|
-
if (!currentLine) {
|
|
565678
|
-
lineIndex++;
|
|
565683
|
+
const removed = /* @__PURE__ */ new Set();
|
|
565684
|
+
for (let deletionIndex = 0; deletionIndex < lines.length; deletionIndex++) {
|
|
565685
|
+
const deletionLine = lines[deletionIndex];
|
|
565686
|
+
if (deletionLine == null || removed.has(deletionIndex) || !this.isDeletionLine(deletionLine)) {
|
|
565679
565687
|
continue;
|
|
565680
565688
|
}
|
|
565681
|
-
|
|
565682
|
-
|
|
565683
|
-
|
|
565684
|
-
|
|
565685
|
-
|
|
565686
|
-
|
|
565687
|
-
|
|
565688
|
-
|
|
565689
|
+
for (let additionIndex = 0; additionIndex < lines.length; additionIndex++) {
|
|
565690
|
+
if (additionIndex === deletionIndex || removed.has(additionIndex)) {
|
|
565691
|
+
continue;
|
|
565692
|
+
}
|
|
565693
|
+
const additionLine = lines[additionIndex];
|
|
565694
|
+
if (additionLine == null || !this.isAdditionLine(additionLine)) {
|
|
565695
|
+
continue;
|
|
565696
|
+
}
|
|
565697
|
+
if (this.isVersionChangePair(deletionLine, additionLine, mappedMagicVersion)) {
|
|
565698
|
+
removed.add(deletionIndex);
|
|
565699
|
+
removed.add(additionIndex);
|
|
565700
|
+
break;
|
|
565689
565701
|
}
|
|
565690
|
-
} else {
|
|
565691
|
-
result.push(currentLine);
|
|
565692
|
-
lineIndex++;
|
|
565693
565702
|
}
|
|
565694
565703
|
}
|
|
565695
|
-
return
|
|
565704
|
+
return lines.filter((_5, index3) => !removed.has(index3));
|
|
565696
565705
|
}
|
|
565697
565706
|
isDeletionLine(line) {
|
|
565698
565707
|
return line.startsWith("-") && !_AutoVersioningService.isDiffHeader(line);
|
|
565699
565708
|
}
|
|
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
565709
|
isAdditionLine(line) {
|
|
565722
565710
|
return line.startsWith("+") && !_AutoVersioningService.isDiffHeader(line);
|
|
565723
565711
|
}
|
|
@@ -573431,9 +573419,9 @@ var require_diff3 = __commonJS({
|
|
|
573431
573419
|
}
|
|
573432
573420
|
});
|
|
573433
573421
|
|
|
573434
|
-
// ../../../node_modules/.pnpm/@fern-api+replay@0.19.
|
|
573422
|
+
// ../../../node_modules/.pnpm/@fern-api+replay@0.19.2/node_modules/@fern-api/replay/dist/index.cjs
|
|
573435
573423
|
var require_dist24 = __commonJS({
|
|
573436
|
-
"../../../node_modules/.pnpm/@fern-api+replay@0.19.
|
|
573424
|
+
"../../../node_modules/.pnpm/@fern-api+replay@0.19.2/node_modules/@fern-api/replay/dist/index.cjs"(exports2, module4) {
|
|
573437
573425
|
"use strict";
|
|
573438
573426
|
var __defProp5 = Object.defineProperty;
|
|
573439
573427
|
var __getOwnPropDesc4 = Object.getOwnPropertyDescriptor;
|
|
@@ -576671,7 +576659,9 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
|
|
|
576671
576659
|
}
|
|
576672
576660
|
async prepare(options2) {
|
|
576673
576661
|
const preLock = this.service.lockManager.read();
|
|
576674
|
-
const previousGenerationSha =
|
|
576662
|
+
const previousGenerationSha = await this.service.resolveReachablePreviousGeneration(
|
|
576663
|
+
preLock.current_generation ?? null
|
|
576664
|
+
);
|
|
576675
576665
|
let { patches: newPatches, revertedPatchIds } = await this.service.detector.detectNewPatches();
|
|
576676
576666
|
const detectorWarnings = [...this.service.detector.warnings];
|
|
576677
576667
|
const detectorDegraded = [...this.service.detector.degradedReasons];
|
|
@@ -576807,7 +576797,9 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
|
|
|
576807
576797
|
}
|
|
576808
576798
|
async prepare(options2) {
|
|
576809
576799
|
const preLock = this.service.lockManager.read();
|
|
576810
|
-
const previousGenerationSha =
|
|
576800
|
+
const previousGenerationSha = await this.service.resolveReachablePreviousGeneration(
|
|
576801
|
+
preLock.current_generation ?? null
|
|
576802
|
+
);
|
|
576811
576803
|
if (options2?.dryRun) {
|
|
576812
576804
|
const existingPatches2 = this.service.lockManager.getPatches();
|
|
576813
576805
|
const { patches: newPatches2, revertedPatchIds: dryRunReverted } = await this.service.detector.detectNewPatches();
|
|
@@ -577043,6 +577035,37 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
|
|
|
577043
577035
|
this.committer = new ReplayCommitter(git, outputDir);
|
|
577044
577036
|
this.fileOwnership = new FileOwnership(git);
|
|
577045
577037
|
}
|
|
577038
|
+
/**
|
|
577039
|
+
* Resolve the previous-generation SHA to export on
|
|
577040
|
+
* `ReplayPreparation.previousGenerationSha`.
|
|
577041
|
+
*
|
|
577042
|
+
* `current_generation` is the SHA of a LOCALLY-created `[fern-generated]` commit.
|
|
577043
|
+
* generator-cli's signed-commit push (`pushSignedCommit`) recreates that commit under a
|
|
577044
|
+
* new remote SHA, and a squash-merge collapses it away, so the recorded value can be
|
|
577045
|
+
* unreachable in a later clone (org "Natural": autoVersion then diffed against a phantom
|
|
577046
|
+
* baseline and silently reported NO_CHANGE — or, pre-a38bbc6, shipped
|
|
577047
|
+
* `0.0.0-fern-placeholder`). Consumers (generator-cli's autoVersion) diff against this
|
|
577048
|
+
* baseline, so it MUST resolve to a real commit.
|
|
577049
|
+
*
|
|
577050
|
+
* Prefer the recorded SHA while it still resolves — the healthy case, and the pristine
|
|
577051
|
+
* prior `[fern-generated]` tree. Otherwise re-anchor on the most recent reachable
|
|
577052
|
+
* generation boundary in first-parent history: the SAME value the detector already
|
|
577053
|
+
* derives for its own scan boundary (`findPreviousGenerationFromHistory`, whose
|
|
577054
|
+
* `isGenerationBoundary` matches squash-merge subjects like `SDK Generation (#N)`). Fall
|
|
577055
|
+
* back to the recorded SHA only when no boundary is reachable at all — no worse than the
|
|
577056
|
+
* prior behavior. ADR 0002 (generator-cli) allows replay to expose this reconciled value;
|
|
577057
|
+
* the consumer stays independently resilient.
|
|
577058
|
+
*
|
|
577059
|
+
* MUST be called before the new `[fern-generated]` commit is created, while HEAD is still
|
|
577060
|
+
* the pre-generation (customer) state, so the walk anchors on the PREVIOUS generation.
|
|
577061
|
+
*/
|
|
577062
|
+
async resolveReachablePreviousGeneration(recordedSha) {
|
|
577063
|
+
if (recordedSha != null && await this.git.commitExists(recordedSha)) {
|
|
577064
|
+
return recordedSha;
|
|
577065
|
+
}
|
|
577066
|
+
const derived = await this.detector.findPreviousGenerationFromHistory();
|
|
577067
|
+
return derived ?? recordedSha;
|
|
577068
|
+
}
|
|
577046
577069
|
/**
|
|
577047
577070
|
* Phase 1 of the two-phase replay flow. Runs preGenerationRebase (when applicable),
|
|
577048
577071
|
* detects new patches, and creates the `[fern-generated]` commit. Leaves HEAD at
|
|
@@ -690994,7 +691017,7 @@ var AccessTokenPosthogManager = class {
|
|
|
690994
691017
|
properties: {
|
|
690995
691018
|
...event,
|
|
690996
691019
|
...event.properties,
|
|
690997
|
-
version: "5.75.
|
|
691020
|
+
version: "5.75.1",
|
|
690998
691021
|
usingAccessToken: true,
|
|
690999
691022
|
...getRunIdProperties()
|
|
691000
691023
|
}
|
|
@@ -691060,7 +691083,7 @@ var UserPosthogManager = class {
|
|
|
691060
691083
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
691061
691084
|
event: "CLI",
|
|
691062
691085
|
properties: {
|
|
691063
|
-
version: "5.75.
|
|
691086
|
+
version: "5.75.1",
|
|
691064
691087
|
...event,
|
|
691065
691088
|
...event.properties,
|
|
691066
691089
|
usingAccessToken: false,
|
|
@@ -872161,7 +872184,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
872161
872184
|
var LOGS_FOLDER_NAME = "logs";
|
|
872162
872185
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
872163
872186
|
function getCliSource() {
|
|
872164
|
-
const version7 = "5.75.
|
|
872187
|
+
const version7 = "5.75.1";
|
|
872165
872188
|
return `cli@${version7}`;
|
|
872166
872189
|
}
|
|
872167
872190
|
var DebugLogger = class {
|
|
@@ -904750,7 +904773,7 @@ var LegacyDocsPublisher = class {
|
|
|
904750
904773
|
previewId,
|
|
904751
904774
|
disableTemplates: void 0,
|
|
904752
904775
|
skipUpload,
|
|
904753
|
-
cliVersion: "5.75.
|
|
904776
|
+
cliVersion: "5.75.1",
|
|
904754
904777
|
loginCommand: "fern auth login"
|
|
904755
904778
|
});
|
|
904756
904779
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -909884,6 +909907,10 @@ var Writer = class extends AbstractWriter {
|
|
|
909884
909907
|
skipImports;
|
|
909885
909908
|
/* Whether or not to skip adding global:: qualifier to System namespaces */
|
|
909886
909909
|
skipGlobalQualifier;
|
|
909910
|
+
/* Fully qualified names of the enclosing types currently being written, outermost first.
|
|
909911
|
+
Used to detect nested-type namespace shadows that are only visible within a type's body
|
|
909912
|
+
(see NameRegistry.hasNestedTypeShadowInScope). */
|
|
909913
|
+
typeScopeStack = [];
|
|
909887
909914
|
constructor({ namespace, allNamespaceSegments, allTypeClassReferences, generation, skipImports = false, skipGlobalQualifier = false }) {
|
|
909888
909915
|
super();
|
|
909889
909916
|
this.namespace = namespace;
|
|
@@ -909904,6 +909931,14 @@ var Writer = class extends AbstractWriter {
|
|
|
909904
909931
|
this.references[reference4.namespace] = [reference4];
|
|
909905
909932
|
}
|
|
909906
909933
|
}
|
|
909934
|
+
/* Records that we are now writing inside the body of the given type. Paired with
|
|
909935
|
+
popTypeScope() and called by Class.write around a type body. */
|
|
909936
|
+
pushTypeScope(fullyQualifiedName) {
|
|
909937
|
+
this.typeScopeStack.push(fullyQualifiedName);
|
|
909938
|
+
}
|
|
909939
|
+
popTypeScope() {
|
|
909940
|
+
this.typeScopeStack.pop();
|
|
909941
|
+
}
|
|
909907
909942
|
addNamespace(namespace) {
|
|
909908
909943
|
const foundNamespace = this.references[namespace];
|
|
909909
909944
|
if (foundNamespace == null) {
|
|
@@ -910648,7 +910683,7 @@ function fail(message) {
|
|
|
910648
910683
|
throw new Error(message ?? "Assertion failed");
|
|
910649
910684
|
}
|
|
910650
910685
|
|
|
910651
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910686
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/index.mjs
|
|
910652
910687
|
var api_exports22 = {};
|
|
910653
910688
|
__export(api_exports22, {
|
|
910654
910689
|
ApiDefinitionSource: () => ApiDefinitionSource29,
|
|
@@ -910717,6 +910752,8 @@ __export(api_exports22, {
|
|
|
910717
910752
|
V2HttpEndpointResponseBody: () => V2HttpEndpointResponseBody21,
|
|
910718
910753
|
WebSocketMessageBody: () => WebSocketMessageBody29,
|
|
910719
910754
|
WebSocketMessageOrigin: () => WebSocketMessageOrigin30,
|
|
910755
|
+
WebhookBodyHashAlgorithm: () => WebhookBodyHashAlgorithm5,
|
|
910756
|
+
WebhookBodyHashLocation: () => WebhookBodyHashLocation5,
|
|
910720
910757
|
WebhookHttpMethod: () => WebhookHttpMethod31,
|
|
910721
910758
|
WebhookPayload: () => WebhookPayload29,
|
|
910722
910759
|
WebhookPayloadBodySort: () => WebhookPayloadBodySort9,
|
|
@@ -910745,10 +910782,10 @@ __export(api_exports22, {
|
|
|
910745
910782
|
websocket: () => websocket_exports33
|
|
910746
910783
|
});
|
|
910747
910784
|
|
|
910748
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910785
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/audience/index.mjs
|
|
910749
910786
|
var audience_exports19 = {};
|
|
910750
910787
|
|
|
910751
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910788
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/index.mjs
|
|
910752
910789
|
var auth_exports63 = {};
|
|
910753
910790
|
__export(auth_exports63, {
|
|
910754
910791
|
AuthScheme: () => AuthScheme29,
|
|
@@ -910756,7 +910793,7 @@ __export(auth_exports63, {
|
|
|
910756
910793
|
OAuthConfiguration: () => OAuthConfiguration29
|
|
910757
910794
|
});
|
|
910758
910795
|
|
|
910759
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910796
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/AuthScheme.mjs
|
|
910760
910797
|
var AuthScheme29 = {
|
|
910761
910798
|
bearer: (value2) => {
|
|
910762
910799
|
return Object.assign(Object.assign({}, value2), { type: "bearer", _visit: function(visitor) {
|
|
@@ -910801,7 +910838,7 @@ var AuthScheme29 = {
|
|
|
910801
910838
|
}
|
|
910802
910839
|
};
|
|
910803
910840
|
|
|
910804
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910841
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/AuthSchemesRequirement.mjs
|
|
910805
910842
|
var AuthSchemesRequirementValues15 = {
|
|
910806
910843
|
All: "ALL",
|
|
910807
910844
|
Any: "ANY",
|
|
@@ -910820,7 +910857,7 @@ var AuthSchemesRequirement29 = Object.assign(Object.assign({}, AuthSchemesRequir
|
|
|
910820
910857
|
}
|
|
910821
910858
|
} });
|
|
910822
910859
|
|
|
910823
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910860
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/OAuthConfiguration.mjs
|
|
910824
910861
|
var OAuthConfiguration29 = {
|
|
910825
910862
|
clientCredentials: (value2) => {
|
|
910826
910863
|
return Object.assign(Object.assign({}, value2), { type: "clientCredentials", _visit: function(visitor) {
|
|
@@ -910837,13 +910874,13 @@ var OAuthConfiguration29 = {
|
|
|
910837
910874
|
}
|
|
910838
910875
|
};
|
|
910839
910876
|
|
|
910840
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910877
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/commons/index.mjs
|
|
910841
910878
|
var commons_exports58 = {};
|
|
910842
910879
|
__export(commons_exports58, {
|
|
910843
910880
|
AvailabilityStatus: () => AvailabilityStatus29
|
|
910844
910881
|
});
|
|
910845
910882
|
|
|
910846
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910883
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/commons/types/AvailabilityStatus.mjs
|
|
910847
910884
|
var AvailabilityStatusValues15 = {
|
|
910848
910885
|
InDevelopment: "IN_DEVELOPMENT",
|
|
910849
910886
|
PreRelease: "PRE_RELEASE",
|
|
@@ -910877,10 +910914,10 @@ var AvailabilityStatus29 = Object.assign(Object.assign({}, AvailabilityStatusVal
|
|
|
910877
910914
|
}
|
|
910878
910915
|
} });
|
|
910879
910916
|
|
|
910880
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910917
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/constants/index.mjs
|
|
910881
910918
|
var constants_exports29 = {};
|
|
910882
910919
|
|
|
910883
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910920
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/index.mjs
|
|
910884
910921
|
var dynamic_exports29 = {};
|
|
910885
910922
|
__export(dynamic_exports29, {
|
|
910886
910923
|
Auth: () => Auth29,
|
|
@@ -910913,14 +910950,14 @@ __export(dynamic_exports29, {
|
|
|
910913
910950
|
variables: () => variables_exports45
|
|
910914
910951
|
});
|
|
910915
910952
|
|
|
910916
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910953
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/index.mjs
|
|
910917
910954
|
var auth_exports64 = {};
|
|
910918
910955
|
__export(auth_exports64, {
|
|
910919
910956
|
Auth: () => Auth29,
|
|
910920
910957
|
AuthValues: () => AuthValues29
|
|
910921
910958
|
});
|
|
910922
910959
|
|
|
910923
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910960
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/types/Auth.mjs
|
|
910924
910961
|
var Auth29 = {
|
|
910925
910962
|
basic: (value2) => {
|
|
910926
910963
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -910965,7 +911002,7 @@ var Auth29 = {
|
|
|
910965
911002
|
}
|
|
910966
911003
|
};
|
|
910967
911004
|
|
|
910968
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911005
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/types/AuthValues.mjs
|
|
910969
911006
|
var AuthValues29 = {
|
|
910970
911007
|
basic: (value2) => {
|
|
910971
911008
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -911010,13 +911047,13 @@ var AuthValues29 = {
|
|
|
911010
911047
|
}
|
|
911011
911048
|
};
|
|
911012
911049
|
|
|
911013
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911050
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/commons/index.mjs
|
|
911014
911051
|
var commons_exports59 = {};
|
|
911015
911052
|
|
|
911016
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911053
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/declaration/index.mjs
|
|
911017
911054
|
var declaration_exports29 = {};
|
|
911018
911055
|
|
|
911019
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911056
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/index.mjs
|
|
911020
911057
|
var endpoints_exports29 = {};
|
|
911021
911058
|
__export(endpoints_exports29, {
|
|
911022
911059
|
FileUploadRequestBodyProperty: () => FileUploadRequestBodyProperty29,
|
|
@@ -911026,7 +911063,7 @@ __export(endpoints_exports29, {
|
|
|
911026
911063
|
Response: () => Response43
|
|
911027
911064
|
});
|
|
911028
911065
|
|
|
911029
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911066
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.mjs
|
|
911030
911067
|
var FileUploadRequestBodyProperty29 = {
|
|
911031
911068
|
file: (value2) => {
|
|
911032
911069
|
return Object.assign(Object.assign({}, value2), { type: "file", _visit: function(visitor) {
|
|
@@ -911057,7 +911094,7 @@ var FileUploadRequestBodyProperty29 = {
|
|
|
911057
911094
|
}
|
|
911058
911095
|
};
|
|
911059
911096
|
|
|
911060
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911097
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.mjs
|
|
911061
911098
|
var InlinedRequestBody43 = {
|
|
911062
911099
|
properties: (value2) => {
|
|
911063
911100
|
return {
|
|
@@ -911092,7 +911129,7 @@ var InlinedRequestBody43 = {
|
|
|
911092
911129
|
}
|
|
911093
911130
|
};
|
|
911094
911131
|
|
|
911095
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911132
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.mjs
|
|
911096
911133
|
var ReferencedRequestBodyType29 = {
|
|
911097
911134
|
bytes: () => {
|
|
911098
911135
|
return {
|
|
@@ -911123,7 +911160,7 @@ var ReferencedRequestBodyType29 = {
|
|
|
911123
911160
|
}
|
|
911124
911161
|
};
|
|
911125
911162
|
|
|
911126
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911163
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/Request.mjs
|
|
911127
911164
|
var Request35 = {
|
|
911128
911165
|
body: (value2) => {
|
|
911129
911166
|
return Object.assign(Object.assign({}, value2), { type: "body", _visit: function(visitor) {
|
|
@@ -911147,7 +911184,7 @@ var Request35 = {
|
|
|
911147
911184
|
}
|
|
911148
911185
|
};
|
|
911149
911186
|
|
|
911150
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911187
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/Response.mjs
|
|
911151
911188
|
var Response43 = {
|
|
911152
911189
|
json: () => {
|
|
911153
911190
|
return {
|
|
@@ -911217,13 +911254,13 @@ var Response43 = {
|
|
|
911217
911254
|
}
|
|
911218
911255
|
};
|
|
911219
911256
|
|
|
911220
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911257
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/environment/index.mjs
|
|
911221
911258
|
var environment_exports55 = {};
|
|
911222
911259
|
__export(environment_exports55, {
|
|
911223
911260
|
Environments: () => Environments43
|
|
911224
911261
|
});
|
|
911225
911262
|
|
|
911226
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911263
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/environment/types/Environments.mjs
|
|
911227
911264
|
var Environments43 = {
|
|
911228
911265
|
singleBaseUrl: (value2) => {
|
|
911229
911266
|
return Object.assign(Object.assign({}, value2), { type: "singleBaseUrl", _visit: function(visitor) {
|
|
@@ -911247,13 +911284,13 @@ var Environments43 = {
|
|
|
911247
911284
|
}
|
|
911248
911285
|
};
|
|
911249
911286
|
|
|
911250
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911287
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/http/index.mjs
|
|
911251
911288
|
var http_exports43 = {};
|
|
911252
911289
|
__export(http_exports43, {
|
|
911253
911290
|
HttpMethod: () => HttpMethod47
|
|
911254
911291
|
});
|
|
911255
911292
|
|
|
911256
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911293
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/http/types/HttpMethod.mjs
|
|
911257
911294
|
var HttpMethodValues23 = {
|
|
911258
911295
|
Get: "GET",
|
|
911259
911296
|
Post: "POST",
|
|
@@ -911281,14 +911318,14 @@ var HttpMethod47 = Object.assign(Object.assign({}, HttpMethodValues23), { _visit
|
|
|
911281
911318
|
}
|
|
911282
911319
|
} });
|
|
911283
911320
|
|
|
911284
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911321
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/index.mjs
|
|
911285
911322
|
var ir_exports57 = {};
|
|
911286
911323
|
__export(ir_exports57, {
|
|
911287
911324
|
GeneratorOutputConfig: () => GeneratorOutputConfig35,
|
|
911288
911325
|
PublishInfo: () => PublishInfo21
|
|
911289
911326
|
});
|
|
911290
911327
|
|
|
911291
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911328
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.mjs
|
|
911292
911329
|
var GeneratorOutputConfig35 = {
|
|
911293
911330
|
publish: (value2) => {
|
|
911294
911331
|
return {
|
|
@@ -911319,7 +911356,7 @@ var GeneratorOutputConfig35 = {
|
|
|
911319
911356
|
}
|
|
911320
911357
|
};
|
|
911321
911358
|
|
|
911322
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911359
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/types/PublishInfo.mjs
|
|
911323
911360
|
var PublishInfo21 = {
|
|
911324
911361
|
go: (value2) => {
|
|
911325
911362
|
return Object.assign(Object.assign({}, value2), { type: "go", _visit: function(visitor) {
|
|
@@ -911385,13 +911422,13 @@ var PublishInfo21 = {
|
|
|
911385
911422
|
}
|
|
911386
911423
|
};
|
|
911387
911424
|
|
|
911388
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911425
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/snippets/index.mjs
|
|
911389
911426
|
var snippets_exports29 = {};
|
|
911390
911427
|
__export(snippets_exports29, {
|
|
911391
911428
|
ErrorSeverity: () => ErrorSeverity29
|
|
911392
911429
|
});
|
|
911393
911430
|
|
|
911394
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911431
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/snippets/types/ErrorSeverity.mjs
|
|
911395
911432
|
var ErrorSeverityValues15 = {
|
|
911396
911433
|
Critical: "CRITICAL",
|
|
911397
911434
|
Warning: "WARNING"
|
|
@@ -911407,7 +911444,7 @@ var ErrorSeverity29 = Object.assign(Object.assign({}, ErrorSeverityValues15), {
|
|
|
911407
911444
|
}
|
|
911408
911445
|
} });
|
|
911409
911446
|
|
|
911410
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911447
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/index.mjs
|
|
911411
911448
|
var types_exports66 = {};
|
|
911412
911449
|
__export(types_exports66, {
|
|
911413
911450
|
LiteralType: () => LiteralType29,
|
|
@@ -911418,7 +911455,7 @@ __export(types_exports66, {
|
|
|
911418
911455
|
TypeReference: () => TypeReference57
|
|
911419
911456
|
});
|
|
911420
911457
|
|
|
911421
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911458
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/LiteralType.mjs
|
|
911422
911459
|
var LiteralType29 = {
|
|
911423
911460
|
boolean: (value2) => {
|
|
911424
911461
|
return {
|
|
@@ -911450,7 +911487,7 @@ var LiteralType29 = {
|
|
|
911450
911487
|
}
|
|
911451
911488
|
};
|
|
911452
911489
|
|
|
911453
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911490
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/NamedType.mjs
|
|
911454
911491
|
var NamedType43 = {
|
|
911455
911492
|
alias: (value2) => {
|
|
911456
911493
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -911495,7 +911532,7 @@ var NamedType43 = {
|
|
|
911495
911532
|
}
|
|
911496
911533
|
};
|
|
911497
911534
|
|
|
911498
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911535
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.mjs
|
|
911499
911536
|
var ObjectPropertyAccessValues20 = {
|
|
911500
911537
|
ReadOnly: "READ_ONLY",
|
|
911501
911538
|
WriteOnly: "WRITE_ONLY"
|
|
@@ -911511,7 +911548,7 @@ var ObjectPropertyAccess41 = Object.assign(Object.assign({}, ObjectPropertyAcces
|
|
|
911511
911548
|
}
|
|
911512
911549
|
} });
|
|
911513
911550
|
|
|
911514
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911551
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.mjs
|
|
911515
911552
|
var PrimitiveTypeV1Values22 = {
|
|
911516
911553
|
Integer: "INTEGER",
|
|
911517
911554
|
/**
|
|
@@ -911565,7 +911602,7 @@ var PrimitiveTypeV143 = Object.assign(Object.assign({}, PrimitiveTypeV1Values22)
|
|
|
911565
911602
|
}
|
|
911566
911603
|
} });
|
|
911567
911604
|
|
|
911568
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911605
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.mjs
|
|
911569
911606
|
var SingleDiscriminatedUnionType29 = {
|
|
911570
911607
|
samePropertiesAsObject: (value2) => {
|
|
911571
911608
|
return Object.assign(Object.assign({}, value2), { type: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -911596,7 +911633,7 @@ var SingleDiscriminatedUnionType29 = {
|
|
|
911596
911633
|
}
|
|
911597
911634
|
};
|
|
911598
911635
|
|
|
911599
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911636
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/TypeReference.mjs
|
|
911600
911637
|
var TypeReference57 = {
|
|
911601
911638
|
list: (value2) => {
|
|
911602
911639
|
return {
|
|
@@ -911700,16 +911737,16 @@ var TypeReference57 = {
|
|
|
911700
911737
|
}
|
|
911701
911738
|
};
|
|
911702
911739
|
|
|
911703
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911740
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/variables/index.mjs
|
|
911704
911741
|
var variables_exports45 = {};
|
|
911705
911742
|
|
|
911706
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911743
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/environment/index.mjs
|
|
911707
911744
|
var environment_exports56 = {};
|
|
911708
911745
|
__export(environment_exports56, {
|
|
911709
911746
|
Environments: () => Environments44
|
|
911710
911747
|
});
|
|
911711
911748
|
|
|
911712
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911749
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/environment/types/Environments.mjs
|
|
911713
911750
|
var Environments44 = {
|
|
911714
911751
|
singleBaseUrl: (value2) => {
|
|
911715
911752
|
return Object.assign(Object.assign({}, value2), { type: "singleBaseUrl", _visit: function(visitor) {
|
|
@@ -911733,13 +911770,13 @@ var Environments44 = {
|
|
|
911733
911770
|
}
|
|
911734
911771
|
};
|
|
911735
911772
|
|
|
911736
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911773
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/errors/index.mjs
|
|
911737
911774
|
var errors_exports32 = {};
|
|
911738
911775
|
__export(errors_exports32, {
|
|
911739
911776
|
ErrorDeclarationDiscriminantValue: () => ErrorDeclarationDiscriminantValue29
|
|
911740
911777
|
});
|
|
911741
911778
|
|
|
911742
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911779
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/errors/types/ErrorDeclarationDiscriminantValue.mjs
|
|
911743
911780
|
var ErrorDeclarationDiscriminantValue29 = {
|
|
911744
911781
|
property: (value2) => {
|
|
911745
911782
|
return {
|
|
@@ -911770,7 +911807,7 @@ var ErrorDeclarationDiscriminantValue29 = {
|
|
|
911770
911807
|
}
|
|
911771
911808
|
};
|
|
911772
911809
|
|
|
911773
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911810
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/index.mjs
|
|
911774
911811
|
var examples_exports25 = {};
|
|
911775
911812
|
__export(examples_exports25, {
|
|
911776
911813
|
V2AuthValues: () => V2AuthValues21,
|
|
@@ -911778,7 +911815,7 @@ __export(examples_exports25, {
|
|
|
911778
911815
|
V2HttpEndpointResponseBody: () => V2HttpEndpointResponseBody21
|
|
911779
911816
|
});
|
|
911780
911817
|
|
|
911781
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911818
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2AuthValues.mjs
|
|
911782
911819
|
var V2AuthValues21 = {
|
|
911783
911820
|
basic: (value2) => {
|
|
911784
911821
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -911816,7 +911853,7 @@ var V2AuthValues21 = {
|
|
|
911816
911853
|
}
|
|
911817
911854
|
};
|
|
911818
911855
|
|
|
911819
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911856
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2EndpointLocationHttpMethod.mjs
|
|
911820
911857
|
var V2EndpointLocationHttpMethodValues11 = {
|
|
911821
911858
|
Get: "GET",
|
|
911822
911859
|
Post: "POST",
|
|
@@ -911844,7 +911881,7 @@ var V2EndpointLocationHttpMethod21 = Object.assign(Object.assign({}, V2EndpointL
|
|
|
911844
911881
|
}
|
|
911845
911882
|
} });
|
|
911846
911883
|
|
|
911847
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911884
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2HttpEndpointResponseBody.mjs
|
|
911848
911885
|
var V2HttpEndpointResponseBody21 = {
|
|
911849
911886
|
error: (value2) => {
|
|
911850
911887
|
return {
|
|
@@ -911887,7 +911924,7 @@ var V2HttpEndpointResponseBody21 = {
|
|
|
911887
911924
|
}
|
|
911888
911925
|
};
|
|
911889
911926
|
|
|
911890
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911927
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/index.mjs
|
|
911891
911928
|
var generatorExec_exports29 = {};
|
|
911892
911929
|
__export(generatorExec_exports29, {
|
|
911893
911930
|
GeneratorEnvironment: () => GeneratorEnvironment29,
|
|
@@ -911899,7 +911936,7 @@ __export(generatorExec_exports29, {
|
|
|
911899
911936
|
config: () => config_exports29
|
|
911900
911937
|
});
|
|
911901
911938
|
|
|
911902
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911939
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/index.mjs
|
|
911903
911940
|
var config_exports29 = {};
|
|
911904
911941
|
__export(config_exports29, {
|
|
911905
911942
|
GeneratorEnvironment: () => GeneratorEnvironment29,
|
|
@@ -911910,7 +911947,7 @@ __export(config_exports29, {
|
|
|
911910
911947
|
OutputMode: () => OutputMode31
|
|
911911
911948
|
});
|
|
911912
911949
|
|
|
911913
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911950
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.mjs
|
|
911914
911951
|
var GeneratorEnvironment29 = {
|
|
911915
911952
|
local: () => {
|
|
911916
911953
|
return {
|
|
@@ -911937,7 +911974,7 @@ var GeneratorEnvironment29 = {
|
|
|
911937
911974
|
}
|
|
911938
911975
|
};
|
|
911939
911976
|
|
|
911940
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911977
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.mjs
|
|
911941
911978
|
var GeneratorPublishTarget29 = {
|
|
911942
911979
|
maven: (value2) => {
|
|
911943
911980
|
return Object.assign(Object.assign({}, value2), { type: "maven", _visit: function(visitor) {
|
|
@@ -911996,7 +912033,7 @@ var GeneratorPublishTarget29 = {
|
|
|
911996
912033
|
}
|
|
911997
912034
|
};
|
|
911998
912035
|
|
|
911999
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912036
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GithubPublishInfo.mjs
|
|
912000
912037
|
var GithubPublishInfo31 = {
|
|
912001
912038
|
npm: (value2) => {
|
|
912002
912039
|
return Object.assign(Object.assign({}, value2), { type: "npm", _visit: function(visitor) {
|
|
@@ -912055,7 +912092,7 @@ var GithubPublishInfo31 = {
|
|
|
912055
912092
|
}
|
|
912056
912093
|
};
|
|
912057
912094
|
|
|
912058
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912095
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/LicenseConfig.mjs
|
|
912059
912096
|
var LicenseConfig29 = {
|
|
912060
912097
|
basic: (value2) => {
|
|
912061
912098
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -912079,7 +912116,7 @@ var LicenseConfig29 = {
|
|
|
912079
912116
|
}
|
|
912080
912117
|
};
|
|
912081
912118
|
|
|
912082
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912119
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/LicenseId.mjs
|
|
912083
912120
|
var LicenseIdValues15 = {
|
|
912084
912121
|
Mit: "MIT",
|
|
912085
912122
|
Apache2: "Apache-2.0"
|
|
@@ -912095,7 +912132,7 @@ var LicenseId29 = Object.assign(Object.assign({}, LicenseIdValues15), { _visit:
|
|
|
912095
912132
|
}
|
|
912096
912133
|
} });
|
|
912097
912134
|
|
|
912098
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912135
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/OutputMode.mjs
|
|
912099
912136
|
var OutputMode31 = {
|
|
912100
912137
|
publish: (value2) => {
|
|
912101
912138
|
return Object.assign(Object.assign({}, value2), { type: "publish", _visit: function(visitor) {
|
|
@@ -912129,14 +912166,14 @@ var OutputMode31 = {
|
|
|
912129
912166
|
}
|
|
912130
912167
|
};
|
|
912131
912168
|
|
|
912132
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912169
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/index.mjs
|
|
912133
912170
|
var globalParameters_exports5 = {};
|
|
912134
912171
|
__export(globalParameters_exports5, {
|
|
912135
912172
|
GlobalParameterApplyMode: () => GlobalParameterApplyMode3,
|
|
912136
912173
|
GlobalParameterLocation: () => GlobalParameterLocation3
|
|
912137
912174
|
});
|
|
912138
912175
|
|
|
912139
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912176
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/types/GlobalParameterApplyMode.mjs
|
|
912140
912177
|
var GlobalParameterApplyModeValues2 = {
|
|
912141
912178
|
Explicit: "explicit",
|
|
912142
912179
|
Auto: "auto"
|
|
@@ -912152,7 +912189,7 @@ var GlobalParameterApplyMode3 = Object.assign(Object.assign({}, GlobalParameterA
|
|
|
912152
912189
|
}
|
|
912153
912190
|
} });
|
|
912154
912191
|
|
|
912155
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912192
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/types/GlobalParameterLocation.mjs
|
|
912156
912193
|
var GlobalParameterLocationValues2 = {
|
|
912157
912194
|
Header: "header",
|
|
912158
912195
|
Query: "query",
|
|
@@ -912174,7 +912211,7 @@ var GlobalParameterLocation3 = Object.assign(Object.assign({}, GlobalParameterLo
|
|
|
912174
912211
|
}
|
|
912175
912212
|
} });
|
|
912176
912213
|
|
|
912177
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912214
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/index.mjs
|
|
912178
912215
|
var http_exports44 = {};
|
|
912179
912216
|
__export(http_exports44, {
|
|
912180
912217
|
ExampleCodeSample: () => ExampleCodeSample29,
|
|
@@ -912201,7 +912238,7 @@ __export(http_exports44, {
|
|
|
912201
912238
|
Transport: () => Transport29
|
|
912202
912239
|
});
|
|
912203
912240
|
|
|
912204
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912241
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleCodeSample.mjs
|
|
912205
912242
|
var ExampleCodeSample29 = {
|
|
912206
912243
|
language: (value2) => {
|
|
912207
912244
|
return Object.assign(Object.assign({}, value2), { type: "language", _visit: function(visitor) {
|
|
@@ -912225,7 +912262,7 @@ var ExampleCodeSample29 = {
|
|
|
912225
912262
|
}
|
|
912226
912263
|
};
|
|
912227
912264
|
|
|
912228
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912265
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleEndpointSuccessResponse.mjs
|
|
912229
912266
|
var ExampleEndpointSuccessResponse29 = {
|
|
912230
912267
|
body: (value2) => {
|
|
912231
912268
|
return {
|
|
@@ -912268,7 +912305,7 @@ var ExampleEndpointSuccessResponse29 = {
|
|
|
912268
912305
|
}
|
|
912269
912306
|
};
|
|
912270
912307
|
|
|
912271
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912308
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleQueryParameterShape.mjs
|
|
912272
912309
|
var ExampleQueryParameterShape29 = {
|
|
912273
912310
|
single: () => {
|
|
912274
912311
|
return {
|
|
@@ -912308,7 +912345,7 @@ var ExampleQueryParameterShape29 = {
|
|
|
912308
912345
|
}
|
|
912309
912346
|
};
|
|
912310
912347
|
|
|
912311
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912348
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleRequestBody.mjs
|
|
912312
912349
|
var ExampleRequestBody29 = {
|
|
912313
912350
|
inlinedRequestBody: (value2) => {
|
|
912314
912351
|
return Object.assign(Object.assign({}, value2), { type: "inlinedRequestBody", _visit: function(visitor) {
|
|
@@ -912332,7 +912369,7 @@ var ExampleRequestBody29 = {
|
|
|
912332
912369
|
}
|
|
912333
912370
|
};
|
|
912334
912371
|
|
|
912335
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912372
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleResponse.mjs
|
|
912336
912373
|
var ExampleResponse29 = {
|
|
912337
912374
|
ok: (value2) => {
|
|
912338
912375
|
return {
|
|
@@ -912360,7 +912397,7 @@ var ExampleResponse29 = {
|
|
|
912360
912397
|
}
|
|
912361
912398
|
};
|
|
912362
912399
|
|
|
912363
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912400
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileProperty.mjs
|
|
912364
912401
|
var FileProperty29 = {
|
|
912365
912402
|
file: (value2) => {
|
|
912366
912403
|
return Object.assign(Object.assign({}, value2), { type: "file", _visit: function(visitor) {
|
|
@@ -912384,7 +912421,7 @@ var FileProperty29 = {
|
|
|
912384
912421
|
}
|
|
912385
912422
|
};
|
|
912386
912423
|
|
|
912387
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912424
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileUploadBodyPropertyEncoding.mjs
|
|
912388
912425
|
var FileUploadBodyPropertyEncodingValues13 = {
|
|
912389
912426
|
Exploded: "exploded",
|
|
912390
912427
|
Json: "json",
|
|
@@ -912403,7 +912440,7 @@ var FileUploadBodyPropertyEncoding25 = Object.assign(Object.assign({}, FileUploa
|
|
|
912403
912440
|
}
|
|
912404
912441
|
} });
|
|
912405
912442
|
|
|
912406
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912443
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileUploadRequestProperty.mjs
|
|
912407
912444
|
var FileUploadRequestProperty29 = {
|
|
912408
912445
|
file: (value2) => {
|
|
912409
912446
|
return {
|
|
@@ -912431,7 +912468,7 @@ var FileUploadRequestProperty29 = {
|
|
|
912431
912468
|
}
|
|
912432
912469
|
};
|
|
912433
912470
|
|
|
912434
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912471
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpEndpointSource.mjs
|
|
912435
912472
|
var HttpEndpointSource21 = {
|
|
912436
912473
|
proto: (value2) => {
|
|
912437
912474
|
return Object.assign(Object.assign({}, value2), { type: "proto", _visit: function(visitor) {
|
|
@@ -912468,7 +912505,7 @@ var HttpEndpointSource21 = {
|
|
|
912468
912505
|
}
|
|
912469
912506
|
};
|
|
912470
912507
|
|
|
912471
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912508
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpMethod.mjs
|
|
912472
912509
|
var HttpMethodValues24 = {
|
|
912473
912510
|
Get: "GET",
|
|
912474
912511
|
Post: "POST",
|
|
@@ -912496,7 +912533,7 @@ var HttpMethod48 = Object.assign(Object.assign({}, HttpMethodValues24), { _visit
|
|
|
912496
912533
|
}
|
|
912497
912534
|
} });
|
|
912498
912535
|
|
|
912499
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912536
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpRequestBody.mjs
|
|
912500
912537
|
var HttpRequestBody29 = {
|
|
912501
912538
|
inlinedRequestBody: (value2) => {
|
|
912502
912539
|
return Object.assign(Object.assign({}, value2), { type: "inlinedRequestBody", _visit: function(visitor) {
|
|
@@ -912534,7 +912571,7 @@ var HttpRequestBody29 = {
|
|
|
912534
912571
|
}
|
|
912535
912572
|
};
|
|
912536
912573
|
|
|
912537
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912574
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpResponseBody.mjs
|
|
912538
912575
|
var HttpResponseBody29 = {
|
|
912539
912576
|
json: (value2) => {
|
|
912540
912577
|
return {
|
|
@@ -912594,7 +912631,7 @@ var HttpResponseBody29 = {
|
|
|
912594
912631
|
}
|
|
912595
912632
|
};
|
|
912596
912633
|
|
|
912597
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912634
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/JsonResponse.mjs
|
|
912598
912635
|
var JsonResponse30 = {
|
|
912599
912636
|
response: (value2) => {
|
|
912600
912637
|
return Object.assign(Object.assign({}, value2), { type: "response", _visit: function(visitor) {
|
|
@@ -912618,7 +912655,7 @@ var JsonResponse30 = {
|
|
|
912618
912655
|
}
|
|
912619
912656
|
};
|
|
912620
912657
|
|
|
912621
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912658
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/NonStreamHttpResponseBody.mjs
|
|
912622
912659
|
var NonStreamHttpResponseBody29 = {
|
|
912623
912660
|
json: (value2) => {
|
|
912624
912661
|
return {
|
|
@@ -912660,7 +912697,7 @@ var NonStreamHttpResponseBody29 = {
|
|
|
912660
912697
|
}
|
|
912661
912698
|
};
|
|
912662
912699
|
|
|
912663
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912700
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/Pagination.mjs
|
|
912664
912701
|
var Pagination32 = {
|
|
912665
912702
|
cursor: (value2) => {
|
|
912666
912703
|
return Object.assign(Object.assign({}, value2), { type: "cursor", _visit: function(visitor) {
|
|
@@ -912705,7 +912742,7 @@ var Pagination32 = {
|
|
|
912705
912742
|
}
|
|
912706
912743
|
};
|
|
912707
912744
|
|
|
912708
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912745
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/PathParameterLocation.mjs
|
|
912709
912746
|
var PathParameterLocationValues15 = {
|
|
912710
912747
|
Root: "ROOT",
|
|
912711
912748
|
Service: "SERVICE",
|
|
@@ -912724,7 +912761,7 @@ var PathParameterLocation29 = Object.assign(Object.assign({}, PathParameterLocat
|
|
|
912724
912761
|
}
|
|
912725
912762
|
} });
|
|
912726
912763
|
|
|
912727
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912764
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/RequestPropertyValue.mjs
|
|
912728
912765
|
var RequestPropertyValue29 = {
|
|
912729
912766
|
query: (value2) => {
|
|
912730
912767
|
return Object.assign(Object.assign({}, value2), { type: "query", _visit: function(visitor) {
|
|
@@ -912748,7 +912785,7 @@ var RequestPropertyValue29 = {
|
|
|
912748
912785
|
}
|
|
912749
912786
|
};
|
|
912750
912787
|
|
|
912751
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912788
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SdkRequestBodyType.mjs
|
|
912752
912789
|
var SdkRequestBodyType29 = {
|
|
912753
912790
|
typeReference: (value2) => {
|
|
912754
912791
|
return Object.assign(Object.assign({}, value2), { type: "typeReference", _visit: function(visitor) {
|
|
@@ -912772,7 +912809,7 @@ var SdkRequestBodyType29 = {
|
|
|
912772
912809
|
}
|
|
912773
912810
|
};
|
|
912774
912811
|
|
|
912775
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912812
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SdkRequestShape.mjs
|
|
912776
912813
|
var SdkRequestShape29 = {
|
|
912777
912814
|
justRequestBody: (value2) => {
|
|
912778
912815
|
return {
|
|
@@ -912800,7 +912837,7 @@ var SdkRequestShape29 = {
|
|
|
912800
912837
|
}
|
|
912801
912838
|
};
|
|
912802
912839
|
|
|
912803
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912840
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/StreamingResponse.mjs
|
|
912804
912841
|
var StreamingResponse29 = {
|
|
912805
912842
|
json: (value2) => {
|
|
912806
912843
|
return Object.assign(Object.assign({}, value2), { type: "json", _visit: function(visitor) {
|
|
@@ -912831,7 +912868,7 @@ var StreamingResponse29 = {
|
|
|
912831
912868
|
}
|
|
912832
912869
|
};
|
|
912833
912870
|
|
|
912834
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912871
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SupportedSdkLanguage.mjs
|
|
912835
912872
|
var SupportedSdkLanguageValues16 = {
|
|
912836
912873
|
Curl: "curl",
|
|
912837
912874
|
Python: "python",
|
|
@@ -912874,7 +912911,7 @@ var SupportedSdkLanguage31 = Object.assign(Object.assign({}, SupportedSdkLanguag
|
|
|
912874
912911
|
}
|
|
912875
912912
|
} });
|
|
912876
912913
|
|
|
912877
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912914
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/Transport.mjs
|
|
912878
912915
|
var Transport29 = {
|
|
912879
912916
|
http: () => {
|
|
912880
912917
|
return {
|
|
@@ -912901,7 +912938,7 @@ var Transport29 = {
|
|
|
912901
912938
|
}
|
|
912902
912939
|
};
|
|
912903
912940
|
|
|
912904
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912941
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/index.mjs
|
|
912905
912942
|
var ir_exports58 = {};
|
|
912906
912943
|
__export(ir_exports58, {
|
|
912907
912944
|
ApiDefinitionSource: () => ApiDefinitionSource29,
|
|
@@ -912911,7 +912948,7 @@ __export(ir_exports58, {
|
|
|
912911
912948
|
InvocationSource: () => InvocationSource5
|
|
912912
912949
|
});
|
|
912913
912950
|
|
|
912914
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912951
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ApiDefinitionSource.mjs
|
|
912915
912952
|
var ApiDefinitionSource29 = {
|
|
912916
912953
|
proto: (value2) => {
|
|
912917
912954
|
return Object.assign(Object.assign({}, value2), { type: "proto", _visit: function(visitor) {
|
|
@@ -912938,7 +912975,7 @@ var ApiDefinitionSource29 = {
|
|
|
912938
912975
|
}
|
|
912939
912976
|
};
|
|
912940
912977
|
|
|
912941
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912978
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ApiVersionScheme.mjs
|
|
912942
912979
|
var ApiVersionScheme29 = {
|
|
912943
912980
|
header: (value2) => {
|
|
912944
912981
|
return Object.assign(Object.assign({}, value2), { type: "header", _visit: function(visitor) {
|
|
@@ -912955,7 +912992,7 @@ var ApiVersionScheme29 = {
|
|
|
912955
912992
|
}
|
|
912956
912993
|
};
|
|
912957
912994
|
|
|
912958
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912995
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ErrorDiscriminationStrategy.mjs
|
|
912959
912996
|
var ErrorDiscriminationStrategy29 = {
|
|
912960
912997
|
statusCode: () => {
|
|
912961
912998
|
return {
|
|
@@ -912982,7 +913019,7 @@ var ErrorDiscriminationStrategy29 = {
|
|
|
912982
913019
|
}
|
|
912983
913020
|
};
|
|
912984
913021
|
|
|
912985
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913022
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ExampleStyle.mjs
|
|
912986
913023
|
var ExampleStyleValues7 = {
|
|
912987
913024
|
Minimal: "minimal",
|
|
912988
913025
|
Comprehensive: "comprehensive"
|
|
@@ -912998,7 +913035,7 @@ var ExampleStyle15 = Object.assign(Object.assign({}, ExampleStyleValues7), { _vi
|
|
|
912998
913035
|
}
|
|
912999
913036
|
} });
|
|
913000
913037
|
|
|
913001
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913038
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/InvocationSource.mjs
|
|
913002
913039
|
var InvocationSourceValues3 = {
|
|
913003
913040
|
Autopilot: "autopilot",
|
|
913004
913041
|
Autorelease: "autorelease",
|
|
@@ -913020,7 +913057,7 @@ var InvocationSource5 = Object.assign(Object.assign({}, InvocationSourceValues3)
|
|
|
913020
913057
|
}
|
|
913021
913058
|
} });
|
|
913022
913059
|
|
|
913023
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913060
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/index.mjs
|
|
913024
913061
|
var proto_exports29 = {};
|
|
913025
913062
|
__export(proto_exports29, {
|
|
913026
913063
|
ProtobufMethodType: () => ProtobufMethodType19,
|
|
@@ -913028,7 +913065,7 @@ __export(proto_exports29, {
|
|
|
913028
913065
|
WellKnownProtobufType: () => WellKnownProtobufType29
|
|
913029
913066
|
});
|
|
913030
913067
|
|
|
913031
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913068
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/ProtobufMethodType.mjs
|
|
913032
913069
|
var ProtobufMethodTypeValues10 = {
|
|
913033
913070
|
Unary: "UNARY",
|
|
913034
913071
|
ClientStream: "CLIENT_STREAM",
|
|
@@ -913050,7 +913087,7 @@ var ProtobufMethodType19 = Object.assign(Object.assign({}, ProtobufMethodTypeVal
|
|
|
913050
913087
|
}
|
|
913051
913088
|
} });
|
|
913052
913089
|
|
|
913053
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913090
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/ProtobufType.mjs
|
|
913054
913091
|
var ProtobufType29 = {
|
|
913055
913092
|
wellKnown: (value2) => {
|
|
913056
913093
|
return {
|
|
@@ -913078,7 +913115,7 @@ var ProtobufType29 = {
|
|
|
913078
913115
|
}
|
|
913079
913116
|
};
|
|
913080
913117
|
|
|
913081
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913118
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/WellKnownProtobufType.mjs
|
|
913082
913119
|
var WellKnownProtobufType29 = {
|
|
913083
913120
|
any: () => {
|
|
913084
913121
|
return {
|
|
@@ -913388,14 +913425,14 @@ var WellKnownProtobufType29 = {
|
|
|
913388
913425
|
}
|
|
913389
913426
|
};
|
|
913390
913427
|
|
|
913391
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913428
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/index.mjs
|
|
913392
913429
|
var publish_exports29 = {};
|
|
913393
913430
|
__export(publish_exports29, {
|
|
913394
913431
|
PublishTarget: () => PublishTarget29,
|
|
913395
913432
|
PublishingConfig: () => PublishingConfig29
|
|
913396
913433
|
});
|
|
913397
913434
|
|
|
913398
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913435
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/types/PublishingConfig.mjs
|
|
913399
913436
|
var PublishingConfig29 = {
|
|
913400
913437
|
github: (value2) => {
|
|
913401
913438
|
return Object.assign(Object.assign({}, value2), { type: "github", _visit: function(visitor) {
|
|
@@ -913426,7 +913463,7 @@ var PublishingConfig29 = {
|
|
|
913426
913463
|
}
|
|
913427
913464
|
};
|
|
913428
913465
|
|
|
913429
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913466
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/types/PublishTarget.mjs
|
|
913430
913467
|
var PublishTarget29 = {
|
|
913431
913468
|
postman: (value2) => {
|
|
913432
913469
|
return Object.assign(Object.assign({}, value2), { type: "postman", _visit: function(visitor) {
|
|
@@ -913478,7 +913515,7 @@ var PublishTarget29 = {
|
|
|
913478
913515
|
}
|
|
913479
913516
|
};
|
|
913480
913517
|
|
|
913481
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913518
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/index.mjs
|
|
913482
913519
|
var types_exports67 = {};
|
|
913483
913520
|
__export(types_exports67, {
|
|
913484
913521
|
ContainerType: () => ContainerType29,
|
|
@@ -913501,7 +913538,7 @@ __export(types_exports67, {
|
|
|
913501
913538
|
UnionDiscriminatorContext: () => UnionDiscriminatorContext9
|
|
913502
913539
|
});
|
|
913503
913540
|
|
|
913504
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913541
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ContainerType.mjs
|
|
913505
913542
|
var ContainerType29 = {
|
|
913506
913543
|
list: (value2) => {
|
|
913507
913544
|
return {
|
|
@@ -913573,7 +913610,7 @@ var ContainerType29 = {
|
|
|
913573
913610
|
}
|
|
913574
913611
|
};
|
|
913575
913612
|
|
|
913576
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913613
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleContainer.mjs
|
|
913577
913614
|
var ExampleContainer29 = {
|
|
913578
913615
|
list: (value2) => {
|
|
913579
913616
|
return Object.assign(Object.assign({}, value2), { type: "list", _visit: function(visitor) {
|
|
@@ -913625,7 +913662,7 @@ var ExampleContainer29 = {
|
|
|
913625
913662
|
}
|
|
913626
913663
|
};
|
|
913627
913664
|
|
|
913628
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913665
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExamplePrimitive.mjs
|
|
913629
913666
|
var ExamplePrimitive29 = {
|
|
913630
913667
|
integer: (value2) => {
|
|
913631
913668
|
return {
|
|
@@ -913781,7 +913818,7 @@ var ExamplePrimitive29 = {
|
|
|
913781
913818
|
}
|
|
913782
913819
|
};
|
|
913783
913820
|
|
|
913784
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913821
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleSingleUnionTypeProperties.mjs
|
|
913785
913822
|
var ExampleSingleUnionTypeProperties29 = {
|
|
913786
913823
|
samePropertiesAsObject: (value2) => {
|
|
913787
913824
|
return Object.assign(Object.assign({}, value2), { type: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -913815,7 +913852,7 @@ var ExampleSingleUnionTypeProperties29 = {
|
|
|
913815
913852
|
}
|
|
913816
913853
|
};
|
|
913817
913854
|
|
|
913818
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913855
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleTypeReferenceShape.mjs
|
|
913819
913856
|
var ExampleTypeReferenceShape29 = {
|
|
913820
913857
|
primitive: (value2) => {
|
|
913821
913858
|
return {
|
|
@@ -913865,7 +913902,7 @@ var ExampleTypeReferenceShape29 = {
|
|
|
913865
913902
|
}
|
|
913866
913903
|
};
|
|
913867
913904
|
|
|
913868
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913905
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleTypeShape.mjs
|
|
913869
913906
|
var ExampleTypeShape29 = {
|
|
913870
913907
|
alias: (value2) => {
|
|
913871
913908
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -913910,7 +913947,7 @@ var ExampleTypeShape29 = {
|
|
|
913910
913947
|
}
|
|
913911
913948
|
};
|
|
913912
913949
|
|
|
913913
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913950
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Literal.mjs
|
|
913914
913951
|
var Literal30 = {
|
|
913915
913952
|
string: (value2) => {
|
|
913916
913953
|
return {
|
|
@@ -913942,7 +913979,7 @@ var Literal30 = {
|
|
|
913942
913979
|
}
|
|
913943
913980
|
};
|
|
913944
913981
|
|
|
913945
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913982
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/NamedTypeDefault.mjs
|
|
913946
913983
|
var NamedTypeDefault29 = {
|
|
913947
913984
|
enum: (value2) => {
|
|
913948
913985
|
return Object.assign(Object.assign({}, value2), { type: "enum", _visit: function(visitor) {
|
|
@@ -913959,7 +913996,7 @@ var NamedTypeDefault29 = {
|
|
|
913959
913996
|
}
|
|
913960
913997
|
};
|
|
913961
913998
|
|
|
913962
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913999
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ObjectPropertyAccess.mjs
|
|
913963
914000
|
var ObjectPropertyAccessValues21 = {
|
|
913964
914001
|
ReadOnly: "READ_ONLY",
|
|
913965
914002
|
WriteOnly: "WRITE_ONLY"
|
|
@@ -913975,7 +914012,7 @@ var ObjectPropertyAccess42 = Object.assign(Object.assign({}, ObjectPropertyAcces
|
|
|
913975
914012
|
}
|
|
913976
914013
|
} });
|
|
913977
914014
|
|
|
913978
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914015
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/PrimitiveTypeV1.mjs
|
|
913979
914016
|
var PrimitiveTypeV1Values23 = {
|
|
913980
914017
|
Integer: "INTEGER",
|
|
913981
914018
|
/**
|
|
@@ -914029,7 +914066,7 @@ var PrimitiveTypeV144 = Object.assign(Object.assign({}, PrimitiveTypeV1Values23)
|
|
|
914029
914066
|
}
|
|
914030
914067
|
} });
|
|
914031
914068
|
|
|
914032
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914069
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/PrimitiveTypeV2.mjs
|
|
914033
914070
|
var PrimitiveTypeV229 = {
|
|
914034
914071
|
integer: (value2) => {
|
|
914035
914072
|
return Object.assign(Object.assign({}, value2), { type: "integer", _visit: function(visitor) {
|
|
@@ -914137,7 +914174,7 @@ var PrimitiveTypeV229 = {
|
|
|
914137
914174
|
}
|
|
914138
914175
|
};
|
|
914139
914176
|
|
|
914140
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914177
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ResolvedTypeReference.mjs
|
|
914141
914178
|
var ResolvedTypeReference29 = {
|
|
914142
914179
|
container: (value2) => {
|
|
914143
914180
|
return {
|
|
@@ -914186,7 +914223,7 @@ var ResolvedTypeReference29 = {
|
|
|
914186
914223
|
}
|
|
914187
914224
|
};
|
|
914188
914225
|
|
|
914189
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914226
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ShapeType.mjs
|
|
914190
914227
|
var ShapeTypeValues15 = {
|
|
914191
914228
|
Enum: "ENUM",
|
|
914192
914229
|
Object: "OBJECT",
|
|
@@ -914208,7 +914245,7 @@ var ShapeType29 = Object.assign(Object.assign({}, ShapeTypeValues15), { _visit:
|
|
|
914208
914245
|
}
|
|
914209
914246
|
} });
|
|
914210
914247
|
|
|
914211
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914248
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/SingleUnionTypeProperties.mjs
|
|
914212
914249
|
var SingleUnionTypeProperties29 = {
|
|
914213
914250
|
samePropertiesAsObject: (value2) => {
|
|
914214
914251
|
return Object.assign(Object.assign({}, value2), { propertiesType: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -914242,7 +914279,7 @@ var SingleUnionTypeProperties29 = {
|
|
|
914242
914279
|
}
|
|
914243
914280
|
};
|
|
914244
914281
|
|
|
914245
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914282
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Source.mjs
|
|
914246
914283
|
var Source33 = {
|
|
914247
914284
|
proto: (value2) => {
|
|
914248
914285
|
return {
|
|
@@ -914263,7 +914300,7 @@ var Source33 = {
|
|
|
914263
914300
|
}
|
|
914264
914301
|
};
|
|
914265
914302
|
|
|
914266
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914303
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Type.mjs
|
|
914267
914304
|
var Type30 = {
|
|
914268
914305
|
alias: (value2) => {
|
|
914269
914306
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -914308,7 +914345,7 @@ var Type30 = {
|
|
|
914308
914345
|
}
|
|
914309
914346
|
};
|
|
914310
914347
|
|
|
914311
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914348
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/TypeReference.mjs
|
|
914312
914349
|
var TypeReference58 = {
|
|
914313
914350
|
container: (value2) => {
|
|
914314
914351
|
return {
|
|
@@ -914357,7 +914394,7 @@ var TypeReference58 = {
|
|
|
914357
914394
|
}
|
|
914358
914395
|
};
|
|
914359
914396
|
|
|
914360
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914397
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/UnionDiscriminatorContext.mjs
|
|
914361
914398
|
var UnionDiscriminatorContextValues4 = {
|
|
914362
914399
|
/**
|
|
914363
914400
|
* Discriminator is within the union data itself (e.g., data.type field) */
|
|
@@ -914377,15 +914414,17 @@ var UnionDiscriminatorContext9 = Object.assign(Object.assign({}, UnionDiscrimina
|
|
|
914377
914414
|
}
|
|
914378
914415
|
} });
|
|
914379
914416
|
|
|
914380
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914417
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/variables/index.mjs
|
|
914381
914418
|
var variables_exports46 = {};
|
|
914382
914419
|
|
|
914383
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914420
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/index.mjs
|
|
914384
914421
|
var webhooks_exports31 = {};
|
|
914385
914422
|
__export(webhooks_exports31, {
|
|
914386
914423
|
AsymmetricAlgorithm: () => AsymmetricAlgorithm9,
|
|
914387
914424
|
AsymmetricKeySource: () => AsymmetricKeySource7,
|
|
914388
914425
|
HmacAlgorithm: () => HmacAlgorithm7,
|
|
914426
|
+
WebhookBodyHashAlgorithm: () => WebhookBodyHashAlgorithm5,
|
|
914427
|
+
WebhookBodyHashLocation: () => WebhookBodyHashLocation5,
|
|
914389
914428
|
WebhookHttpMethod: () => WebhookHttpMethod31,
|
|
914390
914429
|
WebhookPayload: () => WebhookPayload29,
|
|
914391
914430
|
WebhookPayloadBodySort: () => WebhookPayloadBodySort9,
|
|
@@ -914395,7 +914434,7 @@ __export(webhooks_exports31, {
|
|
|
914395
914434
|
WebhookTimestampFormat: () => WebhookTimestampFormat9
|
|
914396
914435
|
});
|
|
914397
914436
|
|
|
914398
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914437
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/AsymmetricAlgorithm.mjs
|
|
914399
914438
|
var AsymmetricAlgorithmValues5 = {
|
|
914400
914439
|
RsaSha256: "RSA_SHA256",
|
|
914401
914440
|
RsaSha384: "RSA_SHA384",
|
|
@@ -914426,7 +914465,7 @@ var AsymmetricAlgorithm9 = Object.assign(Object.assign({}, AsymmetricAlgorithmVa
|
|
|
914426
914465
|
}
|
|
914427
914466
|
} });
|
|
914428
914467
|
|
|
914429
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914468
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/AsymmetricKeySource.mjs
|
|
914430
914469
|
var AsymmetricKeySource7 = {
|
|
914431
914470
|
jwks: (value2) => {
|
|
914432
914471
|
return Object.assign(Object.assign({}, value2), { type: "jwks", _visit: function(visitor) {
|
|
@@ -914450,7 +914489,7 @@ var AsymmetricKeySource7 = {
|
|
|
914450
914489
|
}
|
|
914451
914490
|
};
|
|
914452
914491
|
|
|
914453
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914492
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/HmacAlgorithm.mjs
|
|
914454
914493
|
var HmacAlgorithmValues4 = {
|
|
914455
914494
|
Sha256: "SHA256",
|
|
914456
914495
|
Sha1: "SHA1",
|
|
@@ -914472,7 +914511,46 @@ var HmacAlgorithm7 = Object.assign(Object.assign({}, HmacAlgorithmValues4), { _v
|
|
|
914472
914511
|
}
|
|
914473
914512
|
} });
|
|
914474
914513
|
|
|
914475
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914514
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookBodyHashAlgorithm.mjs
|
|
914515
|
+
var WebhookBodyHashAlgorithmValues3 = {
|
|
914516
|
+
Sha256: "SHA256",
|
|
914517
|
+
Sha1: "SHA1",
|
|
914518
|
+
Sha384: "SHA384",
|
|
914519
|
+
Sha512: "SHA512"
|
|
914520
|
+
};
|
|
914521
|
+
var WebhookBodyHashAlgorithm5 = Object.assign(Object.assign({}, WebhookBodyHashAlgorithmValues3), { _visit: (value2, visitor) => {
|
|
914522
|
+
switch (value2) {
|
|
914523
|
+
case WebhookBodyHashAlgorithm5.Sha256:
|
|
914524
|
+
return visitor.sha256();
|
|
914525
|
+
case WebhookBodyHashAlgorithm5.Sha1:
|
|
914526
|
+
return visitor.sha1();
|
|
914527
|
+
case WebhookBodyHashAlgorithm5.Sha384:
|
|
914528
|
+
return visitor.sha384();
|
|
914529
|
+
case WebhookBodyHashAlgorithm5.Sha512:
|
|
914530
|
+
return visitor.sha512();
|
|
914531
|
+
default:
|
|
914532
|
+
return visitor._other();
|
|
914533
|
+
}
|
|
914534
|
+
} });
|
|
914535
|
+
|
|
914536
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookBodyHashLocation.mjs
|
|
914537
|
+
var WebhookBodyHashLocation5 = {
|
|
914538
|
+
queryParameter: (value2) => {
|
|
914539
|
+
return Object.assign(Object.assign({}, value2), { type: "queryParameter", _visit: function(visitor) {
|
|
914540
|
+
return WebhookBodyHashLocation5._visit(this, visitor);
|
|
914541
|
+
} });
|
|
914542
|
+
},
|
|
914543
|
+
_visit: (value2, visitor) => {
|
|
914544
|
+
switch (value2.type) {
|
|
914545
|
+
case "queryParameter":
|
|
914546
|
+
return visitor.queryParameter(value2);
|
|
914547
|
+
default:
|
|
914548
|
+
return visitor._other(value2);
|
|
914549
|
+
}
|
|
914550
|
+
}
|
|
914551
|
+
};
|
|
914552
|
+
|
|
914553
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookHttpMethod.mjs
|
|
914476
914554
|
var WebhookHttpMethodValues16 = {
|
|
914477
914555
|
Get: "GET",
|
|
914478
914556
|
Post: "POST"
|
|
@@ -914488,7 +914566,7 @@ var WebhookHttpMethod31 = Object.assign(Object.assign({}, WebhookHttpMethodValue
|
|
|
914488
914566
|
}
|
|
914489
914567
|
} });
|
|
914490
914568
|
|
|
914491
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914569
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayload.mjs
|
|
914492
914570
|
var WebhookPayload29 = {
|
|
914493
914571
|
inlinedPayload: (value2) => {
|
|
914494
914572
|
return Object.assign(Object.assign({}, value2), { type: "inlinedPayload", _visit: function(visitor) {
|
|
@@ -914512,7 +914590,7 @@ var WebhookPayload29 = {
|
|
|
914512
914590
|
}
|
|
914513
914591
|
};
|
|
914514
914592
|
|
|
914515
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914593
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayloadBodySort.mjs
|
|
914516
914594
|
var WebhookPayloadBodySortValues5 = {
|
|
914517
914595
|
Alphabetical: "ALPHABETICAL"
|
|
914518
914596
|
};
|
|
@@ -914525,7 +914603,7 @@ var WebhookPayloadBodySort9 = Object.assign(Object.assign({}, WebhookPayloadBody
|
|
|
914525
914603
|
}
|
|
914526
914604
|
} });
|
|
914527
914605
|
|
|
914528
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914606
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayloadComponent.mjs
|
|
914529
914607
|
var WebhookPayloadComponentValues5 = {
|
|
914530
914608
|
/**
|
|
914531
914609
|
* The raw request body. */
|
|
@@ -914555,7 +914633,7 @@ var WebhookPayloadComponent9 = Object.assign(Object.assign({}, WebhookPayloadCom
|
|
|
914555
914633
|
}
|
|
914556
914634
|
} });
|
|
914557
914635
|
|
|
914558
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914636
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookSignatureEncoding.mjs
|
|
914559
914637
|
var WebhookSignatureEncodingValues5 = {
|
|
914560
914638
|
Base64: "BASE64",
|
|
914561
914639
|
Hex: "HEX"
|
|
@@ -914571,7 +914649,7 @@ var WebhookSignatureEncoding9 = Object.assign(Object.assign({}, WebhookSignature
|
|
|
914571
914649
|
}
|
|
914572
914650
|
} });
|
|
914573
914651
|
|
|
914574
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914652
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookSignatureVerification.mjs
|
|
914575
914653
|
var WebhookSignatureVerification9 = {
|
|
914576
914654
|
hmac: (value2) => {
|
|
914577
914655
|
return Object.assign(Object.assign({}, value2), { type: "hmac", _visit: function(visitor) {
|
|
@@ -914595,7 +914673,7 @@ var WebhookSignatureVerification9 = {
|
|
|
914595
914673
|
}
|
|
914596
914674
|
};
|
|
914597
914675
|
|
|
914598
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914676
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookTimestampFormat.mjs
|
|
914599
914677
|
var WebhookTimestampFormatValues5 = {
|
|
914600
914678
|
UnixSeconds: "UNIX_SECONDS",
|
|
914601
914679
|
UnixMillis: "UNIX_MILLIS",
|
|
@@ -914614,7 +914692,7 @@ var WebhookTimestampFormat9 = Object.assign(Object.assign({}, WebhookTimestampFo
|
|
|
914614
914692
|
}
|
|
914615
914693
|
} });
|
|
914616
914694
|
|
|
914617
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914695
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/index.mjs
|
|
914618
914696
|
var websocket_exports33 = {};
|
|
914619
914697
|
__export(websocket_exports33, {
|
|
914620
914698
|
ExampleWebSocketMessageBody: () => ExampleWebSocketMessageBody29,
|
|
@@ -914622,7 +914700,7 @@ __export(websocket_exports33, {
|
|
|
914622
914700
|
WebSocketMessageOrigin: () => WebSocketMessageOrigin30
|
|
914623
914701
|
});
|
|
914624
914702
|
|
|
914625
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914703
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/ExampleWebSocketMessageBody.mjs
|
|
914626
914704
|
var ExampleWebSocketMessageBody29 = {
|
|
914627
914705
|
inlinedBody: (value2) => {
|
|
914628
914706
|
return Object.assign(Object.assign({}, value2), { type: "inlinedBody", _visit: function(visitor) {
|
|
@@ -914646,7 +914724,7 @@ var ExampleWebSocketMessageBody29 = {
|
|
|
914646
914724
|
}
|
|
914647
914725
|
};
|
|
914648
914726
|
|
|
914649
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914727
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/WebSocketMessageBody.mjs
|
|
914650
914728
|
var WebSocketMessageBody29 = {
|
|
914651
914729
|
inlinedBody: (value2) => {
|
|
914652
914730
|
return Object.assign(Object.assign({}, value2), { type: "inlinedBody", _visit: function(visitor) {
|
|
@@ -914670,7 +914748,7 @@ var WebSocketMessageBody29 = {
|
|
|
914670
914748
|
}
|
|
914671
914749
|
};
|
|
914672
914750
|
|
|
914673
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
914751
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.14.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/WebSocketMessageOrigin.mjs
|
|
914674
914752
|
var WebSocketMessageOriginValues15 = {
|
|
914675
914753
|
Client: "client",
|
|
914676
914754
|
Server: "server"
|
|
@@ -915490,7 +915568,9 @@ var ClassReference = class extends Node5 {
|
|
|
915490
915568
|
this.namespaceSegments[0] === "System" || // if the first segment in a FQN is ambiguous, then we need to globally qualify the type if it gets expanded
|
|
915491
915569
|
this.registry.isAmbiguousTypeName(this.namespaceSegments[0]) || this.registry.isAmbiguousNamespaceName(this.namespaceSegments[0]) || // if the first namespace segment is both a type name and a namespace root,
|
|
915492
915570
|
// the C# compiler will resolve it to the type instead of the namespace (CS0426)
|
|
915493
|
-
this.registry.hasTypeNamespaceConflict(this.namespaceSegments[0]) || //
|
|
915571
|
+
this.registry.hasTypeNamespaceConflict(this.namespaceSegments[0]) || // a nested type can also shadow the root namespace segment, but only within its
|
|
915572
|
+
// enclosing type's body — qualify only when we are writing inside that scope
|
|
915573
|
+
this.registry.hasNestedTypeShadowInScope(this.namespaceSegments[0], writer2.typeScopeStack) || // or we always are going to be using fully qualified namespaces
|
|
915494
915574
|
writer2.generation.settings.useFullyQualifiedNamespaces);
|
|
915495
915575
|
let fqNameBase = this.csharpQualifiedName;
|
|
915496
915576
|
if (isAttribute && fqNameBase.endsWith("Attribute")) {
|
|
@@ -920483,6 +920563,7 @@ var Class2 = class _Class extends DefinedType {
|
|
|
920483
920563
|
}
|
|
920484
920564
|
writer2.writeNewLineIfLastLineNot();
|
|
920485
920565
|
writer2.pushScope();
|
|
920566
|
+
writer2.pushTypeScope(this.reference.fullyQualifiedName);
|
|
920486
920567
|
this.writeConsts(writer2);
|
|
920487
920568
|
this.writeFieldFields(writer2);
|
|
920488
920569
|
this.writeConstructors(writer2);
|
|
@@ -920492,6 +920573,7 @@ var Class2 = class _Class extends DefinedType {
|
|
|
920492
920573
|
this.writeRawBodyBlocks(writer2);
|
|
920493
920574
|
this.writeNestedClasses(writer2);
|
|
920494
920575
|
this.writeNestedInterfaces(writer2);
|
|
920576
|
+
writer2.popTypeScope();
|
|
920495
920577
|
writer2.popScope();
|
|
920496
920578
|
}
|
|
920497
920579
|
hasBody() {
|
|
@@ -921753,6 +921835,19 @@ var NameRegistry = class _NameRegistry {
|
|
|
921753
921835
|
* Value: Set of parent namespace paths where this segment appears
|
|
921754
921836
|
*/
|
|
921755
921837
|
namespaceNames = /* @__PURE__ */ new Map();
|
|
921838
|
+
/**
|
|
921839
|
+
* Registry tracking nested types whose name equals the root segment of their own
|
|
921840
|
+
* namespace, which shadows that namespace inside the enclosing type's body (CS0426).
|
|
921841
|
+
*
|
|
921842
|
+
* Unlike a top-level type/namespace conflict (which shadows everywhere and is recorded
|
|
921843
|
+
* as a tracked type name), a nested type only shadows the namespace root within its
|
|
921844
|
+
* enclosing type's lexical scope. We therefore record the enclosing types rather than
|
|
921845
|
+
* the name globally, so references are qualified only when written inside that scope.
|
|
921846
|
+
*
|
|
921847
|
+
* Key: Nested type name that shadows its root namespace segment (e.g. "Acme")
|
|
921848
|
+
* Value: Set of enclosing-type fully qualified names the shadow is visible in
|
|
921849
|
+
*/
|
|
921850
|
+
nestedTypeShadows = /* @__PURE__ */ new Map();
|
|
921756
921851
|
/**
|
|
921757
921852
|
* Set of namespaces that are implicitly imported/available.
|
|
921758
921853
|
* Types in nested namespaces under these prefixes are tracked for ambiguity detection.
|
|
@@ -921961,6 +922056,28 @@ var NameRegistry = class _NameRegistry {
|
|
|
921961
922056
|
}
|
|
921962
922057
|
return this.typeNames.has(name2) && (this.namespaceNames.get(name2)?.has("") ?? false);
|
|
921963
922058
|
}
|
|
922059
|
+
/**
|
|
922060
|
+
* Checks whether `name` is a nested type that shadows its own root namespace segment
|
|
922061
|
+
* (see {@link nestedTypeShadows}) AND whether we are currently writing inside one of the
|
|
922062
|
+
* enclosing types where that shadow is visible. This is the scoped counterpart to
|
|
922063
|
+
* {@link hasTypeNamespaceConflict}: it lets reference sites emit a `global::` qualifier
|
|
922064
|
+
* only within the shadow's lexical scope, rather than everywhere the root segment appears.
|
|
922065
|
+
*
|
|
922066
|
+
* @param name - The first namespace segment of the reference being written (optional)
|
|
922067
|
+
* @param typeScopeStack - Fully qualified names of the enclosing types currently open,
|
|
922068
|
+
* outermost first (see `Writer.typeScopeStack`)
|
|
922069
|
+
* @returns `true` if a matching nested-type shadow is in scope, `false` otherwise
|
|
922070
|
+
*/
|
|
922071
|
+
hasNestedTypeShadowInScope(name2, typeScopeStack) {
|
|
922072
|
+
if (!name2 || this.knownBuiltInIdentifiers.has(name2)) {
|
|
922073
|
+
return false;
|
|
922074
|
+
}
|
|
922075
|
+
const enclosers = this.nestedTypeShadows.get(name2);
|
|
922076
|
+
if (!enclosers) {
|
|
922077
|
+
return false;
|
|
922078
|
+
}
|
|
922079
|
+
return typeScopeStack.some((fullyQualifiedName) => enclosers.has(fullyQualifiedName));
|
|
922080
|
+
}
|
|
921964
922081
|
/**
|
|
921965
922082
|
* Generates a fully qualified name string from a class reference identity.
|
|
921966
922083
|
* For nested types, includes the enclosing type in the qualified name.
|
|
@@ -922022,6 +922139,13 @@ var NameRegistry = class _NameRegistry {
|
|
|
922022
922139
|
}
|
|
922023
922140
|
if (!enclosingType) {
|
|
922024
922141
|
this.trackTypeName(name2, namespace);
|
|
922142
|
+
} else if (name2 === namespace.split(".")[0]) {
|
|
922143
|
+
let enclosers = this.nestedTypeShadows.get(name2);
|
|
922144
|
+
if (!enclosers) {
|
|
922145
|
+
enclosers = /* @__PURE__ */ new Set();
|
|
922146
|
+
this.nestedTypeShadows.set(name2, enclosers);
|
|
922147
|
+
}
|
|
922148
|
+
enclosers.add(enclosingType.fullyQualifiedName);
|
|
922025
922149
|
}
|
|
922026
922150
|
for (const each2 of [this.generation.namespaces.root, ...this.implicitNamespaces]) {
|
|
922027
922151
|
if (namespace.startsWith(each2)) {
|
|
@@ -929209,7 +929333,13 @@ var DynamicTypeInstantiationMapper = class {
|
|
|
929209
929333
|
const unionVariant = discriminatedUnionTypeInstance.singleDiscriminatedUnionType;
|
|
929210
929334
|
const baseFields = this.getBaseFields({
|
|
929211
929335
|
discriminatedUnionTypeInstance,
|
|
929212
|
-
singleDiscriminatedUnionType: unionVariant
|
|
929336
|
+
singleDiscriminatedUnionType: unionVariant,
|
|
929337
|
+
// When `dedupeUnionBaseProperties` removes a base property from the union's top-level
|
|
929338
|
+
// fields (exposing it through a discriminant-switching getter instead), that field no
|
|
929339
|
+
// longer exists on the struct, so setting it at the union root would fail to compile.
|
|
929340
|
+
// Those base properties are always carried by the variant's own object, so the value is
|
|
929341
|
+
// still present in the snippet. See getDedupedBasePropertyWireValues.
|
|
929342
|
+
excludeWireValues: this.getDedupedBasePropertyWireValues(discriminatedUnion2)
|
|
929213
929343
|
});
|
|
929214
929344
|
switch (unionVariant.type) {
|
|
929215
929345
|
case "samePropertiesAsObject": {
|
|
@@ -929270,14 +929400,14 @@ var DynamicTypeInstantiationMapper = class {
|
|
|
929270
929400
|
assertNever(unionVariant);
|
|
929271
929401
|
}
|
|
929272
929402
|
}
|
|
929273
|
-
getBaseFields({ discriminatedUnionTypeInstance, singleDiscriminatedUnionType }) {
|
|
929403
|
+
getBaseFields({ discriminatedUnionTypeInstance, singleDiscriminatedUnionType, excludeWireValues }) {
|
|
929274
929404
|
const properties7 = this.context.associateByWireValue({
|
|
929275
929405
|
parameters: singleDiscriminatedUnionType.properties ?? [],
|
|
929276
929406
|
values: this.context.getRecord(discriminatedUnionTypeInstance.value) ?? {},
|
|
929277
929407
|
// We're only selecting the base properties here. The rest of the properties
|
|
929278
929408
|
// are handled by the union variant.
|
|
929279
929409
|
ignoreMissingParameters: true
|
|
929280
|
-
});
|
|
929410
|
+
}).filter((property24) => !(excludeWireValues?.has(property24.name.wireValue) ?? false));
|
|
929281
929411
|
return properties7.map((property24) => {
|
|
929282
929412
|
this.context.errors.scope(property24.name.wireValue);
|
|
929283
929413
|
try {
|
|
@@ -929290,6 +929420,136 @@ var DynamicTypeInstantiationMapper = class {
|
|
|
929290
929420
|
}
|
|
929291
929421
|
});
|
|
929292
929422
|
}
|
|
929423
|
+
/**
|
|
929424
|
+
* Returns the wire values of the union base properties that the Go model generator drops as
|
|
929425
|
+
* top-level struct fields when `dedupeUnionBaseProperties` is enabled — mirroring the model's
|
|
929426
|
+
* `unionInheritedBasePropertyNames` so the snippet and the generated model dedupe an identical
|
|
929427
|
+
* set.
|
|
929428
|
+
*
|
|
929429
|
+
* The decision has a language-agnostic core and a thin Go-specific widening, exactly as in the
|
|
929430
|
+
* model:
|
|
929431
|
+
* - Core: the IR marks (in `DiscriminatedUnionType.inheritedBaseProperties`, the dynamic-IR
|
|
929432
|
+
* mirror of `UnionTypeDeclaration.inheritedBaseProperties`) the base properties every
|
|
929433
|
+
* `samePropertiesAsObject` variant redeclares with a structurally-equal type. This is the
|
|
929434
|
+
* shared source of truth, so the decision is not re-derived per language.
|
|
929435
|
+
* - Go-render widening: Go additionally dedupes a base property that every variant redeclares
|
|
929436
|
+
* with a Go-RENDER-equivalent type (e.g. `list`/`set` both render `[]T`, `optional`/`nullable`
|
|
929437
|
+
* both `*T`) even though the IR's conservative structural equality left it unmarked; the
|
|
929438
|
+
* delegating getter still compiles, so the top-level field is safe to drop.
|
|
929439
|
+
*
|
|
929440
|
+
* Literal base properties are always kept at the union root (they render as `<Name>()` methods,
|
|
929441
|
+
* not delegatable fields), matching the model. Base properties that a variant does not carry, or
|
|
929442
|
+
* that a variant redeclares with a different Go getter type, keep their top-level field and must
|
|
929443
|
+
* still be set at the union root, so they are excluded here.
|
|
929444
|
+
*
|
|
929445
|
+
* To stay in lockstep with the model, base<->variant properties are matched by Go field name (not
|
|
929446
|
+
* wire value) via {@link getObjectExportedProperties}, and compared through
|
|
929447
|
+
* {@link getGoGetterTypeString} — the single comparison primitive that renders a getter's Go type
|
|
929448
|
+
* including the `getters-pass-by-value` `*`-stripping the model applies. Both the structural-core
|
|
929449
|
+
* and the widening path route through it, so the two generators cannot drift.
|
|
929450
|
+
*/
|
|
929451
|
+
getDedupedBasePropertyWireValues(discriminatedUnion2) {
|
|
929452
|
+
if (!this.context.customConfig?.dedupeUnionBaseProperties) {
|
|
929453
|
+
return /* @__PURE__ */ new Set();
|
|
929454
|
+
}
|
|
929455
|
+
const variants = Object.values(discriminatedUnion2.types);
|
|
929456
|
+
if (variants.length === 0 || !variants.every((variant) => variant.type === "samePropertiesAsObject")) {
|
|
929457
|
+
return /* @__PURE__ */ new Set();
|
|
929458
|
+
}
|
|
929459
|
+
const baseProperties = variants[0]?.properties ?? [];
|
|
929460
|
+
if (baseProperties.length === 0) {
|
|
929461
|
+
return /* @__PURE__ */ new Set();
|
|
929462
|
+
}
|
|
929463
|
+
const structurallyInherited = new Set((discriminatedUnion2.inheritedBaseProperties ?? []).map((property24) => property24.wireValue));
|
|
929464
|
+
const errorsBefore = this.context.errors.size();
|
|
929465
|
+
try {
|
|
929466
|
+
const variantPropertiesByField = variants.map((variant) => this.getObjectExportedProperties(variant.typeId));
|
|
929467
|
+
const everyVariantExposesNonLiteralProperty = (fieldName) => variantPropertiesByField.every((declared) => {
|
|
929468
|
+
const variantProperty = declared.get(fieldName);
|
|
929469
|
+
return variantProperty != null && variantProperty.typeReference.type !== "literal";
|
|
929470
|
+
});
|
|
929471
|
+
const deduped = /* @__PURE__ */ new Set();
|
|
929472
|
+
for (const baseProperty2 of baseProperties) {
|
|
929473
|
+
if (baseProperty2.typeReference.type === "literal") {
|
|
929474
|
+
continue;
|
|
929475
|
+
}
|
|
929476
|
+
const fieldName = this.context.getFieldName(baseProperty2.name.name);
|
|
929477
|
+
if (structurallyInherited.has(baseProperty2.name.wireValue)) {
|
|
929478
|
+
if (everyVariantExposesNonLiteralProperty(fieldName)) {
|
|
929479
|
+
deduped.add(baseProperty2.name.wireValue);
|
|
929480
|
+
}
|
|
929481
|
+
continue;
|
|
929482
|
+
}
|
|
929483
|
+
const baseGetterType = this.getGoGetterTypeString(baseProperty2.typeReference);
|
|
929484
|
+
const carriedByEveryVariant = variantPropertiesByField.every((declared) => {
|
|
929485
|
+
const variantProperty = declared.get(fieldName);
|
|
929486
|
+
return variantProperty != null && variantProperty.typeReference.type !== "literal" && this.getGoGetterTypeString(variantProperty.typeReference) === baseGetterType;
|
|
929487
|
+
});
|
|
929488
|
+
if (carriedByEveryVariant) {
|
|
929489
|
+
deduped.add(baseProperty2.name.wireValue);
|
|
929490
|
+
}
|
|
929491
|
+
}
|
|
929492
|
+
return deduped;
|
|
929493
|
+
} finally {
|
|
929494
|
+
this.context.errors.truncate(errorsBefore);
|
|
929495
|
+
}
|
|
929496
|
+
}
|
|
929497
|
+
/**
|
|
929498
|
+
* Collects the properties an object exports, keyed by Go field name, following its `extends` chain
|
|
929499
|
+
* (matching the model's `objectExportedProperties`). Extended properties are collected first so a
|
|
929500
|
+
* property declared directly on the object overrides one inherited via `extends`, exactly as the
|
|
929501
|
+
* model does. Empty for anything that does not resolve to an object.
|
|
929502
|
+
*/
|
|
929503
|
+
getObjectExportedProperties(typeId) {
|
|
929504
|
+
const properties7 = /* @__PURE__ */ new Map();
|
|
929505
|
+
const visited = /* @__PURE__ */ new Set();
|
|
929506
|
+
const collect2 = (id) => {
|
|
929507
|
+
if (visited.has(id)) {
|
|
929508
|
+
return;
|
|
929509
|
+
}
|
|
929510
|
+
visited.add(id);
|
|
929511
|
+
const named = this.context.resolveNamedType({ typeId: id });
|
|
929512
|
+
if (named?.type !== "object") {
|
|
929513
|
+
return;
|
|
929514
|
+
}
|
|
929515
|
+
for (const extended of named.extends ?? []) {
|
|
929516
|
+
collect2(extended);
|
|
929517
|
+
}
|
|
929518
|
+
for (const property24 of named.properties) {
|
|
929519
|
+
properties7.set(this.context.getFieldName(property24.name.name), property24);
|
|
929520
|
+
}
|
|
929521
|
+
};
|
|
929522
|
+
collect2(typeId);
|
|
929523
|
+
return properties7;
|
|
929524
|
+
}
|
|
929525
|
+
/**
|
|
929526
|
+
* Renders the Go type a getter for `typeReference` would return, so two references can be compared
|
|
929527
|
+
* for Go-getter-type equality. This is the single comparison primitive the dedupe decision uses,
|
|
929528
|
+
* mirroring the model's `processTypeFieldForOptional`:
|
|
929529
|
+
* - the type mapper collapses Go-render-equivalent shapes (`list`/`set` -> `[]T`,
|
|
929530
|
+
* `optional`/`nullable` -> `*T`), and
|
|
929531
|
+
* - when `getters-pass-by-value` is enabled the model returns the DEREFERENCED type for an
|
|
929532
|
+
* optional/nullable field, so we render the unwrapped type here to match. Without this the
|
|
929533
|
+
* snippet would keep a base field the model dropped under that config, re-introducing drift.
|
|
929534
|
+
*
|
|
929535
|
+
* `packageName`/`importPath` are arbitrary: the result is only ever compared against another
|
|
929536
|
+
* string produced by this same method, so any consistent values work, and rendering against a
|
|
929537
|
+
* throwaway file means it never registers imports on real output.
|
|
929538
|
+
*/
|
|
929539
|
+
getGoGetterTypeString(typeReference2) {
|
|
929540
|
+
let effectiveTypeReference = typeReference2;
|
|
929541
|
+
if (this.context.customConfig?.gettersPassByValue) {
|
|
929542
|
+
while (effectiveTypeReference.type === "optional" || effectiveTypeReference.type === "nullable") {
|
|
929543
|
+
effectiveTypeReference = effectiveTypeReference.value;
|
|
929544
|
+
}
|
|
929545
|
+
}
|
|
929546
|
+
return this.context.dynamicTypeMapper.convert({ typeReference: effectiveTypeReference }).toString({
|
|
929547
|
+
packageName: "example",
|
|
929548
|
+
importPath: "fern",
|
|
929549
|
+
rootImportPath: this.context.rootImportPath,
|
|
929550
|
+
customConfig: this.context.customConfig ?? {}
|
|
929551
|
+
});
|
|
929552
|
+
}
|
|
929293
929553
|
convertObject({ object_, value: value2 }) {
|
|
929294
929554
|
const properties7 = this.context.associateByWireValue({
|
|
929295
929555
|
parameters: object_.properties,
|
|
@@ -971300,7 +971560,7 @@ function getAutomationContextFromEnv() {
|
|
|
971300
971560
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
971301
971561
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
971302
971562
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
971303
|
-
cli_version: "5.75.
|
|
971563
|
+
cli_version: "5.75.1"
|
|
971304
971564
|
};
|
|
971305
971565
|
}
|
|
971306
971566
|
function isAutomationMode() {
|
|
@@ -972132,7 +972392,7 @@ var CliContext = class _CliContext {
|
|
|
972132
972392
|
if (false) {
|
|
972133
972393
|
this.logger.error("CLI_VERSION is not defined");
|
|
972134
972394
|
}
|
|
972135
|
-
return "5.75.
|
|
972395
|
+
return "5.75.1";
|
|
972136
972396
|
}
|
|
972137
972397
|
getCliName() {
|
|
972138
972398
|
if (false) {
|
|
@@ -981094,7 +981354,7 @@ var import_node_readline6 = require("readline");
|
|
|
981094
981354
|
init_lib6();
|
|
981095
981355
|
|
|
981096
981356
|
// src/commands/docs-theme/themeOrigin.ts
|
|
981097
|
-
var FDR_ORIGIN = process.env.OVERRIDE_FDR_ORIGIN ?? "https://registry.buildwithfern.com";
|
|
981357
|
+
var FDR_ORIGIN = process.env.OVERRIDE_FDR_ORIGIN ?? "https://registry-dev2.buildwithfern.com" ?? "https://registry.buildwithfern.com";
|
|
981098
981358
|
function describeFetchError(error50) {
|
|
981099
981359
|
if (!(error50 instanceof Error)) {
|
|
981100
981360
|
return String(error50);
|
|
@@ -981544,7 +981804,7 @@ ${errors4.map((e2) => ` - ${e2}`).join("\n")}`,
|
|
|
981544
981804
|
}
|
|
981545
981805
|
async uploadToCas(content5, contentType, bindPath, label) {
|
|
981546
981806
|
const hash5 = (0, import_crypto10.createHash)("sha256").update(content5).digest("hex");
|
|
981547
|
-
const casUrl = `${FDR_ORIGIN}/v2/registry/content/${
|
|
981807
|
+
const casUrl = `${FDR_ORIGIN}/v2/registry/content/${encodeURIComponent(this.orgId)}/${hash5}`;
|
|
981548
981808
|
this.context.logger.debug(` CAS check: PUT ${casUrl} (${contentType}, ${content5.byteLength} bytes)`);
|
|
981549
981809
|
let checkRes;
|
|
981550
981810
|
try {
|