@fern-api/fern-api-dev 5.94.0 → 5.95.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 +413 -167
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -59707,7 +59707,8 @@ var init_HttpReferencedRequestBodySchema2 = __esm({
|
|
|
59707
59707
|
init_core();
|
|
59708
59708
|
init_WithDocsSchema2();
|
|
59709
59709
|
HttpReferencedRequestBodySchema = schemas_exports.object({
|
|
59710
|
-
type: schemas_exports.string()
|
|
59710
|
+
type: schemas_exports.string(),
|
|
59711
|
+
optional: schemas_exports.boolean().optional()
|
|
59711
59712
|
}).extend(WithDocsSchema);
|
|
59712
59713
|
}
|
|
59713
59714
|
});
|
|
@@ -75053,7 +75054,8 @@ var init_BodyRequest2 = __esm({
|
|
|
75053
75054
|
init_ReferencedRequestBodyType2();
|
|
75054
75055
|
BodyRequest = schemas_exports3.objectWithoutOptionalProperties({
|
|
75055
75056
|
pathParameters: schemas_exports3.list(NamedParameter).optional(),
|
|
75056
|
-
body: ReferencedRequestBodyType2.optional()
|
|
75057
|
+
body: ReferencedRequestBodyType2.optional(),
|
|
75058
|
+
bodyRequired: schemas_exports3.boolean().optional()
|
|
75057
75059
|
});
|
|
75058
75060
|
}
|
|
75059
75061
|
});
|
|
@@ -79073,7 +79075,8 @@ var init_HttpRequestBodyReference2 = __esm({
|
|
|
79073
79075
|
init_WithDocs3();
|
|
79074
79076
|
init_WithV2Examples2();
|
|
79075
79077
|
HttpRequestBodyReference = schemas_exports3.objectWithoutOptionalProperties({
|
|
79076
|
-
requestBodyType: schemas_exports3.lazy(() => TypeReference3)
|
|
79078
|
+
requestBodyType: schemas_exports3.lazy(() => TypeReference3),
|
|
79079
|
+
required: schemas_exports3.boolean().optional()
|
|
79077
79080
|
}).extend(WithDocs).extend(WithContentType).extend(WithV2Examples);
|
|
79078
79081
|
}
|
|
79079
79082
|
});
|
|
@@ -147178,15 +147181,16 @@ function getRequest({ endpoint: endpoint3, declarationFile, context: context3, r
|
|
|
147178
147181
|
requestValue.docs = request7.description;
|
|
147179
147182
|
}
|
|
147180
147183
|
const canCollapse = typeof requestValue.body === "string" && requestValue["path-parameters"] == null && requestValue["query-parameters"] == null && requestValue.headers == null && requestValue.name == null && requestValue.docs == null && (requestValue["content-type"] == null || requestValue["content-type"] === "application/json");
|
|
147181
|
-
|
|
147182
|
-
|
|
147183
|
-
|
|
147184
|
-
|
|
147185
|
-
}
|
|
147184
|
+
const mayOmitBody = isOptionalJsonBody(request7);
|
|
147185
|
+
if (mayOmitBody) {
|
|
147186
|
+
if (canCollapse) {
|
|
147187
|
+
delete requestValue["content-type"];
|
|
147188
|
+
}
|
|
147189
|
+
requestValue.body = typeof requestTypeReference === "string" ? { type: requestTypeReference, optional: true } : { ...requestTypeReference, optional: true };
|
|
147186
147190
|
}
|
|
147187
147191
|
return {
|
|
147188
147192
|
schemaIdsToExclude: [],
|
|
147189
|
-
value: canCollapse ? requestValue.body : requestValue
|
|
147193
|
+
value: canCollapse && !mayOmitBody ? requestValue.body : requestValue
|
|
147190
147194
|
};
|
|
147191
147195
|
}
|
|
147192
147196
|
const propertyToDeclarationFile = /* @__PURE__ */ new Map();
|
|
@@ -147442,9 +147446,6 @@ function getRequest({ endpoint: endpoint3, declarationFile, context: context3, r
|
|
|
147442
147446
|
function isOptionalJsonBody(request7) {
|
|
147443
147447
|
return request7.type === "json" && request7.required !== true;
|
|
147444
147448
|
}
|
|
147445
|
-
function wrapTypeReferenceInOptional(typeReference2) {
|
|
147446
|
-
return typeReference2.startsWith("optional<") ? typeReference2 : `optional<${typeReference2}>`;
|
|
147447
|
-
}
|
|
147448
147449
|
function endpointRequestSupportsInlinedPathParameters({ context: context3, request: request7 }) {
|
|
147449
147450
|
if (!context3.options.inlinePathParameters) {
|
|
147450
147451
|
return false;
|
|
@@ -149301,6 +149302,9 @@ var init_OpenApiIrConverterContext = __esm({
|
|
|
149301
149302
|
// ../api-importers/openapi/openapi-ir-to-fern/lib/convert.js
|
|
149302
149303
|
function convert(opts) {
|
|
149303
149304
|
const context3 = new OpenApiIrConverterContext(opts);
|
|
149305
|
+
if (context3.options.respectOptionalRequestBody) {
|
|
149306
|
+
context3.logger.warn("The `respect-optional-request-body` setting is deprecated and no longer has any effect. A request body that OpenAPI does not mark as required is now always described as omittable in the IR, and each SDK generator opts in to that behaviour through its own configuration.");
|
|
149307
|
+
}
|
|
149304
149308
|
return buildFernDefinition(context3);
|
|
149305
149309
|
}
|
|
149306
149310
|
var init_convert = __esm({
|
|
@@ -272644,9 +272648,11 @@ function getMultipartPartEncodingFromContentType2(contentType) {
|
|
|
272644
272648
|
return encoding;
|
|
272645
272649
|
}
|
|
272646
272650
|
function convertReferenceHttpRequestBody({ requestBody, file: file4, contentType }) {
|
|
272651
|
+
const isOmittable = typeof requestBody !== "string" && requestBody.optional === true;
|
|
272647
272652
|
return {
|
|
272648
272653
|
docs: typeof requestBody !== "string" ? requestBody.docs : void 0,
|
|
272649
272654
|
requestBodyType: file4.parseTypeReference(requestBody),
|
|
272655
|
+
required: isOmittable ? false : void 0,
|
|
272650
272656
|
contentType,
|
|
272651
272657
|
v2Examples: void 0
|
|
272652
272658
|
};
|
|
@@ -275488,7 +275494,8 @@ function convertExampleRequestBody({ endpoint: endpoint3, example, typeResolver,
|
|
|
275488
275494
|
}
|
|
275489
275495
|
if (!isInlineRequestBody(requestType)) {
|
|
275490
275496
|
const rawTypeBeingExemplified = typeof requestType !== "string" ? requestType.type : requestType;
|
|
275491
|
-
|
|
275497
|
+
const isOmittable = typeof requestType !== "string" && requestType.optional === true || isOptionalType({ rawType: rawTypeBeingExemplified, typeResolver, file: file4 });
|
|
275498
|
+
if (example.request === void 0 && isOmittable) {
|
|
275492
275499
|
return void 0;
|
|
275493
275500
|
}
|
|
275494
275501
|
return ExampleRequestBody.reference(convertTypeReferenceExample({
|
|
@@ -276777,7 +276784,7 @@ var init_DynamicSnippetsConverter = __esm({
|
|
|
276777
276784
|
pathParameters: [...endpoint3.servicePathParameters, ...endpoint3.pathParameters]
|
|
276778
276785
|
});
|
|
276779
276786
|
if (endpoint3.sdkRequest == null && endpoint3.requestBody == null) {
|
|
276780
|
-
return dynamic_exports.Request.body({ pathParameters, body: void 0 });
|
|
276787
|
+
return dynamic_exports.Request.body({ pathParameters, body: void 0, bodyRequired: void 0 });
|
|
276781
276788
|
}
|
|
276782
276789
|
if (endpoint3.sdkRequest == null) {
|
|
276783
276790
|
throw new CliError({
|
|
@@ -276789,7 +276796,10 @@ var init_DynamicSnippetsConverter = __esm({
|
|
|
276789
276796
|
case "justRequestBody":
|
|
276790
276797
|
return dynamic_exports.Request.body({
|
|
276791
276798
|
pathParameters,
|
|
276792
|
-
body: this.convertReferencedRequestBodyType({ body: endpoint3.sdkRequest.shape.value })
|
|
276799
|
+
body: this.convertReferencedRequestBodyType({ body: endpoint3.sdkRequest.shape.value }),
|
|
276800
|
+
// carried over from the SDK IR so a snippet generator, which never sees that IR,
|
|
276801
|
+
// can tell an omittable body from a required one. Absent means required.
|
|
276802
|
+
bodyRequired: endpoint3.requestBody?.type === "reference" ? endpoint3.requestBody.required : void 0
|
|
276793
276803
|
});
|
|
276794
276804
|
case "wrapper":
|
|
276795
276805
|
return this.convertInlinedRequest({
|
|
@@ -328164,6 +328174,17 @@ var init_fern_schema = __esm({
|
|
|
328164
328174
|
},
|
|
328165
328175
|
type: {
|
|
328166
328176
|
type: "string"
|
|
328177
|
+
},
|
|
328178
|
+
optional: {
|
|
328179
|
+
oneOf: [
|
|
328180
|
+
{
|
|
328181
|
+
type: "boolean"
|
|
328182
|
+
},
|
|
328183
|
+
{
|
|
328184
|
+
type: "null"
|
|
328185
|
+
}
|
|
328186
|
+
],
|
|
328187
|
+
description: "Whether the endpoint may be called without a request body. When true, an example may\nomit `request`, and the generated SDK lets the caller omit the body. Populated from\n`requestBody.required` when importing from OpenAPI.\n\nThis is distinct from writing `body: optional<Foo>`, which says the body's *value* may\nbe null. Here the body itself may be absent, so the request carries neither content nor\na `Content-Type` header. It maps to `required: false` on the IR's request body reference."
|
|
328167
328188
|
}
|
|
328168
328189
|
},
|
|
328169
328190
|
required: [
|
|
@@ -328364,7 +328385,7 @@ var init_fern_schema = __esm({
|
|
|
328364
328385
|
type: "null"
|
|
328365
328386
|
}
|
|
328366
328387
|
],
|
|
328367
|
-
description: "Whether the endpoint may be called without a request body. When true, an\nexample may omit `request`. Populated from `requestBody.required` when\nimporting from OpenAPI.\n\nThis is read by example validation only: it is not carried into the IR, so it\ndoes not make the request parameter optional in a generated SDK."
|
|
328388
|
+
description: "Whether the endpoint may be called without a request body. When true, an\nexample may omit `request`. Populated from `requestBody.required` when\nimporting from OpenAPI.\n\nThis is read by example validation only: it is not carried into the IR, so it\ndoes not make the request parameter optional in a generated SDK.\n\nNote the asymmetry with the identically named field on\n`HttpReferencedRequestBodySchema`, which does reach the IR as `required: false`. An\ninline body has no single type to mark omittable, so its `optional` stays\nvalidation-only."
|
|
328368
328389
|
}
|
|
328369
328390
|
},
|
|
328370
328391
|
additionalProperties: false
|
|
@@ -332621,6 +332642,17 @@ var init_package_yml_schema = __esm({
|
|
|
332621
332642
|
},
|
|
332622
332643
|
type: {
|
|
332623
332644
|
type: "string"
|
|
332645
|
+
},
|
|
332646
|
+
optional: {
|
|
332647
|
+
oneOf: [
|
|
332648
|
+
{
|
|
332649
|
+
type: "boolean"
|
|
332650
|
+
},
|
|
332651
|
+
{
|
|
332652
|
+
type: "null"
|
|
332653
|
+
}
|
|
332654
|
+
],
|
|
332655
|
+
description: "Whether the endpoint may be called without a request body. When true, an example may\nomit `request`, and the generated SDK lets the caller omit the body. Populated from\n`requestBody.required` when importing from OpenAPI.\n\nThis is distinct from writing `body: optional<Foo>`, which says the body's *value* may\nbe null. Here the body itself may be absent, so the request carries neither content nor\na `Content-Type` header. It maps to `required: false` on the IR's request body reference."
|
|
332624
332656
|
}
|
|
332625
332657
|
},
|
|
332626
332658
|
required: [
|
|
@@ -332821,7 +332853,7 @@ var init_package_yml_schema = __esm({
|
|
|
332821
332853
|
type: "null"
|
|
332822
332854
|
}
|
|
332823
332855
|
],
|
|
332824
|
-
description: "Whether the endpoint may be called without a request body. When true, an\nexample may omit `request`. Populated from `requestBody.required` when\nimporting from OpenAPI.\n\nThis is read by example validation only: it is not carried into the IR, so it\ndoes not make the request parameter optional in a generated SDK."
|
|
332856
|
+
description: "Whether the endpoint may be called without a request body. When true, an\nexample may omit `request`. Populated from `requestBody.required` when\nimporting from OpenAPI.\n\nThis is read by example validation only: it is not carried into the IR, so it\ndoes not make the request parameter optional in a generated SDK.\n\nNote the asymmetry with the identically named field on\n`HttpReferencedRequestBodySchema`, which does reach the IR as `required: false`. An\ninline body has no single type to mark omittable, so its `optional` stays\nvalidation-only."
|
|
332825
332857
|
}
|
|
332826
332858
|
},
|
|
332827
332859
|
additionalProperties: false
|
|
@@ -355375,6 +355407,13 @@ var init_RequestBodyConverter = __esm({
|
|
|
355375
355407
|
this.streamingExtension = streamingExtension;
|
|
355376
355408
|
this.queryParameters = queryParameters ?? [];
|
|
355377
355409
|
}
|
|
355410
|
+
/**
|
|
355411
|
+
* Absent means required, so only an explicit `requestBody.required: false` is carried through.
|
|
355412
|
+
* Generators ignore it unless they opt in, which keeps the field additive for existing users.
|
|
355413
|
+
*/
|
|
355414
|
+
get bodyRequired() {
|
|
355415
|
+
return this.required === false ? false : void 0;
|
|
355416
|
+
}
|
|
355378
355417
|
convert() {
|
|
355379
355418
|
if (this.streamingExtension?.type == "streamCondition") {
|
|
355380
355419
|
return this.convertStreamConditionRequestBody();
|
|
@@ -355439,6 +355478,7 @@ var init_RequestBodyConverter = __esm({
|
|
|
355439
355478
|
contentType,
|
|
355440
355479
|
docs: this.description,
|
|
355441
355480
|
requestBodyType: convertedSchema.type,
|
|
355481
|
+
required: this.bodyRequired,
|
|
355442
355482
|
v2Examples: this.convertMediaTypeObjectExamples({
|
|
355443
355483
|
mediaTypeObject,
|
|
355444
355484
|
exampleGenerationStrategy: "request"
|
|
@@ -355475,6 +355515,7 @@ var init_RequestBodyConverter = __esm({
|
|
|
355475
355515
|
contentType,
|
|
355476
355516
|
docs: this.description,
|
|
355477
355517
|
requestBodyType: convertedSchema.type,
|
|
355518
|
+
required: this.bodyRequired,
|
|
355478
355519
|
v2Examples: this.convertMediaTypeObjectExamples({
|
|
355479
355520
|
mediaTypeObject,
|
|
355480
355521
|
exampleGenerationStrategy: "request"
|
|
@@ -355528,6 +355569,7 @@ var init_RequestBodyConverter = __esm({
|
|
|
355528
355569
|
contentType,
|
|
355529
355570
|
docs: this.description,
|
|
355530
355571
|
requestBodyType: TypeReference2.unknown(),
|
|
355572
|
+
required: this.bodyRequired,
|
|
355531
355573
|
v2Examples
|
|
355532
355574
|
}),
|
|
355533
355575
|
streamRequestBody: void 0,
|
|
@@ -355732,6 +355774,7 @@ var init_RequestBodyConverter = __esm({
|
|
|
355732
355774
|
contentType,
|
|
355733
355775
|
docs: this.description,
|
|
355734
355776
|
requestBodyType: convertedSchema.type,
|
|
355777
|
+
required: this.bodyRequired,
|
|
355735
355778
|
v2Examples: this.convertMediaTypeObjectExamples({
|
|
355736
355779
|
mediaTypeObject: modifiedMediaTypeObject,
|
|
355737
355780
|
exampleGenerationStrategy: "request"
|
|
@@ -690356,6 +690399,9 @@ function validateRequest({ example, endpoint: endpoint3, typeResolver, exampleRe
|
|
|
690356
690399
|
return { severity: val.severity ?? "fatal", message: val.message };
|
|
690357
690400
|
}));
|
|
690358
690401
|
} else {
|
|
690402
|
+
if (example === void 0 && typeof body !== "string" && body.optional === true) {
|
|
690403
|
+
return violations;
|
|
690404
|
+
}
|
|
690359
690405
|
const bodyViolations = examples_exports6.validateTypeReferenceExample({
|
|
690360
690406
|
rawTypeReference: typeof body === "string" ? body : body.type,
|
|
690361
690407
|
example,
|
|
@@ -694260,7 +694306,7 @@ var OpenApiSettingsSchema2 = BaseApiSettingsSchema2.extend({
|
|
|
694260
694306
|
useReadVariantForResponses: external_exports.boolean().optional(),
|
|
694261
694307
|
/** Enables respecting forward compatible enums in OpenAPI specifications. Defaults to false. */
|
|
694262
694308
|
respectForwardCompatibleEnums: external_exports.boolean().optional(),
|
|
694263
|
-
/**
|
|
694309
|
+
/** Deprecated and no longer has any effect. A request body that OpenAPI does not mark as required is always described as omittable in the IR, and each SDK generator opts into that behaviour through its own configuration. */
|
|
694264
694310
|
respectOptionalRequestBody: external_exports.boolean().optional(),
|
|
694265
694311
|
/** Enables using the `bytes` type for binary responses in OpenAPI specifications. Defaults to a file stream. */
|
|
694266
694312
|
useBytesForBinaryResponse: external_exports.boolean().optional(),
|
|
@@ -702921,7 +702967,7 @@ var AccessTokenPosthogManager = class {
|
|
|
702921
702967
|
properties: {
|
|
702922
702968
|
...event,
|
|
702923
702969
|
...event.properties,
|
|
702924
|
-
version: "5.
|
|
702970
|
+
version: "5.95.1",
|
|
702925
702971
|
usingAccessToken: true,
|
|
702926
702972
|
...getRunIdProperties()
|
|
702927
702973
|
}
|
|
@@ -702987,7 +703033,7 @@ var UserPosthogManager = class {
|
|
|
702987
703033
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
702988
703034
|
event: "CLI",
|
|
702989
703035
|
properties: {
|
|
702990
|
-
version: "5.
|
|
703036
|
+
version: "5.95.1",
|
|
702991
703037
|
...event,
|
|
702992
703038
|
...event.properties,
|
|
702993
703039
|
usingAccessToken: false,
|
|
@@ -884153,7 +884199,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
884153
884199
|
var LOGS_FOLDER_NAME = "logs";
|
|
884154
884200
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
884155
884201
|
function getCliSource() {
|
|
884156
|
-
const version7 = "5.
|
|
884202
|
+
const version7 = "5.95.1";
|
|
884157
884203
|
return `cli@${version7}`;
|
|
884158
884204
|
}
|
|
884159
884205
|
var DebugLogger = class {
|
|
@@ -909469,7 +909515,7 @@ var LegacyDocsPublisher = class {
|
|
|
909469
909515
|
previewId,
|
|
909470
909516
|
disableTemplates: void 0,
|
|
909471
909517
|
skipUpload,
|
|
909472
|
-
cliVersion: "5.
|
|
909518
|
+
cliVersion: "5.95.1",
|
|
909473
909519
|
loginCommand: "fern auth login"
|
|
909474
909520
|
});
|
|
909475
909521
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -915379,7 +915425,7 @@ function fail(message) {
|
|
|
915379
915425
|
throw new Error(message ?? "Assertion failed");
|
|
915380
915426
|
}
|
|
915381
915427
|
|
|
915382
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915428
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/index.mjs
|
|
915383
915429
|
var api_exports22 = {};
|
|
915384
915430
|
__export(api_exports22, {
|
|
915385
915431
|
ApiDefinitionSource: () => ApiDefinitionSource29,
|
|
@@ -915421,6 +915467,8 @@ __export(api_exports22, {
|
|
|
915421
915467
|
NamedTypeDefault: () => NamedTypeDefault29,
|
|
915422
915468
|
NonStreamHttpResponseBody: () => NonStreamHttpResponseBody29,
|
|
915423
915469
|
OAuthConfiguration: () => OAuthConfiguration29,
|
|
915470
|
+
OAuthPkceMethod: () => OAuthPkceMethod3,
|
|
915471
|
+
OAuthPublicClientId: () => OAuthPublicClientId3,
|
|
915424
915472
|
ObjectPropertyAccess: () => ObjectPropertyAccess42,
|
|
915425
915473
|
Pagination: () => Pagination32,
|
|
915426
915474
|
PathParameterLocation: () => PathParameterLocation29,
|
|
@@ -915478,18 +915526,20 @@ __export(api_exports22, {
|
|
|
915478
915526
|
websocket: () => websocket_exports33
|
|
915479
915527
|
});
|
|
915480
915528
|
|
|
915481
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915529
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/audience/index.mjs
|
|
915482
915530
|
var audience_exports19 = {};
|
|
915483
915531
|
|
|
915484
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915532
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/index.mjs
|
|
915485
915533
|
var auth_exports63 = {};
|
|
915486
915534
|
__export(auth_exports63, {
|
|
915487
915535
|
AuthScheme: () => AuthScheme29,
|
|
915488
915536
|
AuthSchemesRequirement: () => AuthSchemesRequirement29,
|
|
915489
|
-
OAuthConfiguration: () => OAuthConfiguration29
|
|
915537
|
+
OAuthConfiguration: () => OAuthConfiguration29,
|
|
915538
|
+
OAuthPkceMethod: () => OAuthPkceMethod3,
|
|
915539
|
+
OAuthPublicClientId: () => OAuthPublicClientId3
|
|
915490
915540
|
});
|
|
915491
915541
|
|
|
915492
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915542
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/AuthScheme.mjs
|
|
915493
915543
|
var AuthScheme29 = {
|
|
915494
915544
|
bearer: (value2) => {
|
|
915495
915545
|
return Object.assign(Object.assign({}, value2), { type: "bearer", _visit: function(visitor) {
|
|
@@ -915534,7 +915584,7 @@ var AuthScheme29 = {
|
|
|
915534
915584
|
}
|
|
915535
915585
|
};
|
|
915536
915586
|
|
|
915537
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915587
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/AuthSchemesRequirement.mjs
|
|
915538
915588
|
var AuthSchemesRequirementValues15 = {
|
|
915539
915589
|
All: "ALL",
|
|
915540
915590
|
Any: "ANY",
|
|
@@ -915553,30 +915603,89 @@ var AuthSchemesRequirement29 = Object.assign(Object.assign({}, AuthSchemesRequir
|
|
|
915553
915603
|
}
|
|
915554
915604
|
} });
|
|
915555
915605
|
|
|
915556
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915606
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/OAuthConfiguration.mjs
|
|
915557
915607
|
var OAuthConfiguration29 = {
|
|
915558
915608
|
clientCredentials: (value2) => {
|
|
915559
915609
|
return Object.assign(Object.assign({}, value2), { type: "clientCredentials", _visit: function(visitor) {
|
|
915560
915610
|
return OAuthConfiguration29._visit(this, visitor);
|
|
915561
915611
|
} });
|
|
915562
915612
|
},
|
|
915613
|
+
authorizationCode: (value2) => {
|
|
915614
|
+
return Object.assign(Object.assign({}, value2), { type: "authorizationCode", _visit: function(visitor) {
|
|
915615
|
+
return OAuthConfiguration29._visit(this, visitor);
|
|
915616
|
+
} });
|
|
915617
|
+
},
|
|
915618
|
+
deviceCode: (value2) => {
|
|
915619
|
+
return Object.assign(Object.assign({}, value2), { type: "deviceCode", _visit: function(visitor) {
|
|
915620
|
+
return OAuthConfiguration29._visit(this, visitor);
|
|
915621
|
+
} });
|
|
915622
|
+
},
|
|
915563
915623
|
_visit: (value2, visitor) => {
|
|
915564
915624
|
switch (value2.type) {
|
|
915565
915625
|
case "clientCredentials":
|
|
915566
915626
|
return visitor.clientCredentials(value2);
|
|
915627
|
+
case "authorizationCode":
|
|
915628
|
+
return visitor.authorizationCode(value2);
|
|
915629
|
+
case "deviceCode":
|
|
915630
|
+
return visitor.deviceCode(value2);
|
|
915631
|
+
default:
|
|
915632
|
+
return visitor._other(value2);
|
|
915633
|
+
}
|
|
915634
|
+
}
|
|
915635
|
+
};
|
|
915636
|
+
|
|
915637
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/OAuthPkceMethod.mjs
|
|
915638
|
+
var OAuthPkceMethodValues2 = {
|
|
915639
|
+
S256: "S256"
|
|
915640
|
+
};
|
|
915641
|
+
var OAuthPkceMethod3 = Object.assign(Object.assign({}, OAuthPkceMethodValues2), { _visit: (value2, visitor) => {
|
|
915642
|
+
switch (value2) {
|
|
915643
|
+
case OAuthPkceMethod3.S256:
|
|
915644
|
+
return visitor.s256();
|
|
915645
|
+
default:
|
|
915646
|
+
return visitor._other();
|
|
915647
|
+
}
|
|
915648
|
+
} });
|
|
915649
|
+
|
|
915650
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/OAuthPublicClientId.mjs
|
|
915651
|
+
var OAuthPublicClientId3 = {
|
|
915652
|
+
literal: (value2) => {
|
|
915653
|
+
return {
|
|
915654
|
+
value: value2,
|
|
915655
|
+
type: "literal",
|
|
915656
|
+
_visit: function(visitor) {
|
|
915657
|
+
return OAuthPublicClientId3._visit(this, visitor);
|
|
915658
|
+
}
|
|
915659
|
+
};
|
|
915660
|
+
},
|
|
915661
|
+
environmentVariable: (value2) => {
|
|
915662
|
+
return {
|
|
915663
|
+
value: value2,
|
|
915664
|
+
type: "environmentVariable",
|
|
915665
|
+
_visit: function(visitor) {
|
|
915666
|
+
return OAuthPublicClientId3._visit(this, visitor);
|
|
915667
|
+
}
|
|
915668
|
+
};
|
|
915669
|
+
},
|
|
915670
|
+
_visit: (value2, visitor) => {
|
|
915671
|
+
switch (value2.type) {
|
|
915672
|
+
case "literal":
|
|
915673
|
+
return visitor.literal(value2.value);
|
|
915674
|
+
case "environmentVariable":
|
|
915675
|
+
return visitor.environmentVariable(value2.value);
|
|
915567
915676
|
default:
|
|
915568
915677
|
return visitor._other(value2);
|
|
915569
915678
|
}
|
|
915570
915679
|
}
|
|
915571
915680
|
};
|
|
915572
915681
|
|
|
915573
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915682
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/commons/index.mjs
|
|
915574
915683
|
var commons_exports58 = {};
|
|
915575
915684
|
__export(commons_exports58, {
|
|
915576
915685
|
AvailabilityStatus: () => AvailabilityStatus29
|
|
915577
915686
|
});
|
|
915578
915687
|
|
|
915579
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915688
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/commons/types/AvailabilityStatus.mjs
|
|
915580
915689
|
var AvailabilityStatusValues15 = {
|
|
915581
915690
|
InDevelopment: "IN_DEVELOPMENT",
|
|
915582
915691
|
PreRelease: "PRE_RELEASE",
|
|
@@ -915610,10 +915719,10 @@ var AvailabilityStatus29 = Object.assign(Object.assign({}, AvailabilityStatusVal
|
|
|
915610
915719
|
}
|
|
915611
915720
|
} });
|
|
915612
915721
|
|
|
915613
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915722
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/constants/index.mjs
|
|
915614
915723
|
var constants_exports29 = {};
|
|
915615
915724
|
|
|
915616
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915725
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/index.mjs
|
|
915617
915726
|
var dynamic_exports29 = {};
|
|
915618
915727
|
__export(dynamic_exports29, {
|
|
915619
915728
|
Auth: () => Auth29,
|
|
@@ -915646,14 +915755,14 @@ __export(dynamic_exports29, {
|
|
|
915646
915755
|
variables: () => variables_exports45
|
|
915647
915756
|
});
|
|
915648
915757
|
|
|
915649
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915758
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/index.mjs
|
|
915650
915759
|
var auth_exports64 = {};
|
|
915651
915760
|
__export(auth_exports64, {
|
|
915652
915761
|
Auth: () => Auth29,
|
|
915653
915762
|
AuthValues: () => AuthValues29
|
|
915654
915763
|
});
|
|
915655
915764
|
|
|
915656
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915765
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/types/Auth.mjs
|
|
915657
915766
|
var Auth29 = {
|
|
915658
915767
|
basic: (value2) => {
|
|
915659
915768
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -915698,7 +915807,7 @@ var Auth29 = {
|
|
|
915698
915807
|
}
|
|
915699
915808
|
};
|
|
915700
915809
|
|
|
915701
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915810
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/types/AuthValues.mjs
|
|
915702
915811
|
var AuthValues29 = {
|
|
915703
915812
|
basic: (value2) => {
|
|
915704
915813
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -915743,13 +915852,13 @@ var AuthValues29 = {
|
|
|
915743
915852
|
}
|
|
915744
915853
|
};
|
|
915745
915854
|
|
|
915746
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915855
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/commons/index.mjs
|
|
915747
915856
|
var commons_exports59 = {};
|
|
915748
915857
|
|
|
915749
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915858
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/declaration/index.mjs
|
|
915750
915859
|
var declaration_exports29 = {};
|
|
915751
915860
|
|
|
915752
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915861
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/index.mjs
|
|
915753
915862
|
var endpoints_exports29 = {};
|
|
915754
915863
|
__export(endpoints_exports29, {
|
|
915755
915864
|
FileUploadRequestBodyProperty: () => FileUploadRequestBodyProperty29,
|
|
@@ -915759,7 +915868,7 @@ __export(endpoints_exports29, {
|
|
|
915759
915868
|
Response: () => Response43
|
|
915760
915869
|
});
|
|
915761
915870
|
|
|
915762
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915871
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.mjs
|
|
915763
915872
|
var FileUploadRequestBodyProperty29 = {
|
|
915764
915873
|
file: (value2) => {
|
|
915765
915874
|
return Object.assign(Object.assign({}, value2), { type: "file", _visit: function(visitor) {
|
|
@@ -915790,7 +915899,7 @@ var FileUploadRequestBodyProperty29 = {
|
|
|
915790
915899
|
}
|
|
915791
915900
|
};
|
|
915792
915901
|
|
|
915793
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915902
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.mjs
|
|
915794
915903
|
var InlinedRequestBody43 = {
|
|
915795
915904
|
properties: (value2) => {
|
|
915796
915905
|
return {
|
|
@@ -915825,7 +915934,7 @@ var InlinedRequestBody43 = {
|
|
|
915825
915934
|
}
|
|
915826
915935
|
};
|
|
915827
915936
|
|
|
915828
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915937
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.mjs
|
|
915829
915938
|
var ReferencedRequestBodyType29 = {
|
|
915830
915939
|
bytes: () => {
|
|
915831
915940
|
return {
|
|
@@ -915856,7 +915965,7 @@ var ReferencedRequestBodyType29 = {
|
|
|
915856
915965
|
}
|
|
915857
915966
|
};
|
|
915858
915967
|
|
|
915859
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915968
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/Request.mjs
|
|
915860
915969
|
var Request35 = {
|
|
915861
915970
|
body: (value2) => {
|
|
915862
915971
|
return Object.assign(Object.assign({}, value2), { type: "body", _visit: function(visitor) {
|
|
@@ -915880,7 +915989,7 @@ var Request35 = {
|
|
|
915880
915989
|
}
|
|
915881
915990
|
};
|
|
915882
915991
|
|
|
915883
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
915992
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/Response.mjs
|
|
915884
915993
|
var Response43 = {
|
|
915885
915994
|
json: () => {
|
|
915886
915995
|
return {
|
|
@@ -915950,13 +916059,13 @@ var Response43 = {
|
|
|
915950
916059
|
}
|
|
915951
916060
|
};
|
|
915952
916061
|
|
|
915953
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916062
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/environment/index.mjs
|
|
915954
916063
|
var environment_exports55 = {};
|
|
915955
916064
|
__export(environment_exports55, {
|
|
915956
916065
|
Environments: () => Environments43
|
|
915957
916066
|
});
|
|
915958
916067
|
|
|
915959
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916068
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/environment/types/Environments.mjs
|
|
915960
916069
|
var Environments43 = {
|
|
915961
916070
|
singleBaseUrl: (value2) => {
|
|
915962
916071
|
return Object.assign(Object.assign({}, value2), { type: "singleBaseUrl", _visit: function(visitor) {
|
|
@@ -915980,13 +916089,13 @@ var Environments43 = {
|
|
|
915980
916089
|
}
|
|
915981
916090
|
};
|
|
915982
916091
|
|
|
915983
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916092
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/http/index.mjs
|
|
915984
916093
|
var http_exports43 = {};
|
|
915985
916094
|
__export(http_exports43, {
|
|
915986
916095
|
HttpMethod: () => HttpMethod47
|
|
915987
916096
|
});
|
|
915988
916097
|
|
|
915989
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916098
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/http/types/HttpMethod.mjs
|
|
915990
916099
|
var HttpMethodValues23 = {
|
|
915991
916100
|
Get: "GET",
|
|
915992
916101
|
Post: "POST",
|
|
@@ -916014,14 +916123,14 @@ var HttpMethod47 = Object.assign(Object.assign({}, HttpMethodValues23), { _visit
|
|
|
916014
916123
|
}
|
|
916015
916124
|
} });
|
|
916016
916125
|
|
|
916017
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916126
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/index.mjs
|
|
916018
916127
|
var ir_exports57 = {};
|
|
916019
916128
|
__export(ir_exports57, {
|
|
916020
916129
|
GeneratorOutputConfig: () => GeneratorOutputConfig35,
|
|
916021
916130
|
PublishInfo: () => PublishInfo21
|
|
916022
916131
|
});
|
|
916023
916132
|
|
|
916024
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916133
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.mjs
|
|
916025
916134
|
var GeneratorOutputConfig35 = {
|
|
916026
916135
|
publish: (value2) => {
|
|
916027
916136
|
return {
|
|
@@ -916052,7 +916161,7 @@ var GeneratorOutputConfig35 = {
|
|
|
916052
916161
|
}
|
|
916053
916162
|
};
|
|
916054
916163
|
|
|
916055
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916164
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/types/PublishInfo.mjs
|
|
916056
916165
|
var PublishInfo21 = {
|
|
916057
916166
|
go: (value2) => {
|
|
916058
916167
|
return Object.assign(Object.assign({}, value2), { type: "go", _visit: function(visitor) {
|
|
@@ -916118,13 +916227,13 @@ var PublishInfo21 = {
|
|
|
916118
916227
|
}
|
|
916119
916228
|
};
|
|
916120
916229
|
|
|
916121
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916230
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/snippets/index.mjs
|
|
916122
916231
|
var snippets_exports29 = {};
|
|
916123
916232
|
__export(snippets_exports29, {
|
|
916124
916233
|
ErrorSeverity: () => ErrorSeverity29
|
|
916125
916234
|
});
|
|
916126
916235
|
|
|
916127
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916236
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/snippets/types/ErrorSeverity.mjs
|
|
916128
916237
|
var ErrorSeverityValues15 = {
|
|
916129
916238
|
Critical: "CRITICAL",
|
|
916130
916239
|
Warning: "WARNING"
|
|
@@ -916140,7 +916249,7 @@ var ErrorSeverity29 = Object.assign(Object.assign({}, ErrorSeverityValues15), {
|
|
|
916140
916249
|
}
|
|
916141
916250
|
} });
|
|
916142
916251
|
|
|
916143
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916252
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/index.mjs
|
|
916144
916253
|
var types_exports66 = {};
|
|
916145
916254
|
__export(types_exports66, {
|
|
916146
916255
|
LiteralType: () => LiteralType29,
|
|
@@ -916151,7 +916260,7 @@ __export(types_exports66, {
|
|
|
916151
916260
|
TypeReference: () => TypeReference57
|
|
916152
916261
|
});
|
|
916153
916262
|
|
|
916154
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916263
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/LiteralType.mjs
|
|
916155
916264
|
var LiteralType29 = {
|
|
916156
916265
|
boolean: (value2) => {
|
|
916157
916266
|
return {
|
|
@@ -916183,7 +916292,7 @@ var LiteralType29 = {
|
|
|
916183
916292
|
}
|
|
916184
916293
|
};
|
|
916185
916294
|
|
|
916186
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916295
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/NamedType.mjs
|
|
916187
916296
|
var NamedType43 = {
|
|
916188
916297
|
alias: (value2) => {
|
|
916189
916298
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -916228,7 +916337,7 @@ var NamedType43 = {
|
|
|
916228
916337
|
}
|
|
916229
916338
|
};
|
|
916230
916339
|
|
|
916231
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916340
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.mjs
|
|
916232
916341
|
var ObjectPropertyAccessValues20 = {
|
|
916233
916342
|
ReadOnly: "READ_ONLY",
|
|
916234
916343
|
WriteOnly: "WRITE_ONLY"
|
|
@@ -916244,7 +916353,7 @@ var ObjectPropertyAccess41 = Object.assign(Object.assign({}, ObjectPropertyAcces
|
|
|
916244
916353
|
}
|
|
916245
916354
|
} });
|
|
916246
916355
|
|
|
916247
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916356
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.mjs
|
|
916248
916357
|
var PrimitiveTypeV1Values22 = {
|
|
916249
916358
|
Integer: "INTEGER",
|
|
916250
916359
|
/**
|
|
@@ -916298,7 +916407,7 @@ var PrimitiveTypeV143 = Object.assign(Object.assign({}, PrimitiveTypeV1Values22)
|
|
|
916298
916407
|
}
|
|
916299
916408
|
} });
|
|
916300
916409
|
|
|
916301
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916410
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.mjs
|
|
916302
916411
|
var SingleDiscriminatedUnionType29 = {
|
|
916303
916412
|
samePropertiesAsObject: (value2) => {
|
|
916304
916413
|
return Object.assign(Object.assign({}, value2), { type: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -916329,7 +916438,7 @@ var SingleDiscriminatedUnionType29 = {
|
|
|
916329
916438
|
}
|
|
916330
916439
|
};
|
|
916331
916440
|
|
|
916332
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916441
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/TypeReference.mjs
|
|
916333
916442
|
var TypeReference57 = {
|
|
916334
916443
|
list: (value2) => {
|
|
916335
916444
|
return {
|
|
@@ -916433,16 +916542,16 @@ var TypeReference57 = {
|
|
|
916433
916542
|
}
|
|
916434
916543
|
};
|
|
916435
916544
|
|
|
916436
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916545
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/variables/index.mjs
|
|
916437
916546
|
var variables_exports45 = {};
|
|
916438
916547
|
|
|
916439
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916548
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/environment/index.mjs
|
|
916440
916549
|
var environment_exports56 = {};
|
|
916441
916550
|
__export(environment_exports56, {
|
|
916442
916551
|
Environments: () => Environments44
|
|
916443
916552
|
});
|
|
916444
916553
|
|
|
916445
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916554
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/environment/types/Environments.mjs
|
|
916446
916555
|
var Environments44 = {
|
|
916447
916556
|
singleBaseUrl: (value2) => {
|
|
916448
916557
|
return Object.assign(Object.assign({}, value2), { type: "singleBaseUrl", _visit: function(visitor) {
|
|
@@ -916466,13 +916575,13 @@ var Environments44 = {
|
|
|
916466
916575
|
}
|
|
916467
916576
|
};
|
|
916468
916577
|
|
|
916469
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916578
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/errors/index.mjs
|
|
916470
916579
|
var errors_exports32 = {};
|
|
916471
916580
|
__export(errors_exports32, {
|
|
916472
916581
|
ErrorDeclarationDiscriminantValue: () => ErrorDeclarationDiscriminantValue29
|
|
916473
916582
|
});
|
|
916474
916583
|
|
|
916475
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916584
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/errors/types/ErrorDeclarationDiscriminantValue.mjs
|
|
916476
916585
|
var ErrorDeclarationDiscriminantValue29 = {
|
|
916477
916586
|
property: (value2) => {
|
|
916478
916587
|
return {
|
|
@@ -916503,7 +916612,7 @@ var ErrorDeclarationDiscriminantValue29 = {
|
|
|
916503
916612
|
}
|
|
916504
916613
|
};
|
|
916505
916614
|
|
|
916506
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916615
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/index.mjs
|
|
916507
916616
|
var examples_exports25 = {};
|
|
916508
916617
|
__export(examples_exports25, {
|
|
916509
916618
|
V2AuthValues: () => V2AuthValues21,
|
|
@@ -916511,7 +916620,7 @@ __export(examples_exports25, {
|
|
|
916511
916620
|
V2HttpEndpointResponseBody: () => V2HttpEndpointResponseBody21
|
|
916512
916621
|
});
|
|
916513
916622
|
|
|
916514
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916623
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2AuthValues.mjs
|
|
916515
916624
|
var V2AuthValues21 = {
|
|
916516
916625
|
basic: (value2) => {
|
|
916517
916626
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -916549,7 +916658,7 @@ var V2AuthValues21 = {
|
|
|
916549
916658
|
}
|
|
916550
916659
|
};
|
|
916551
916660
|
|
|
916552
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916661
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2EndpointLocationHttpMethod.mjs
|
|
916553
916662
|
var V2EndpointLocationHttpMethodValues11 = {
|
|
916554
916663
|
Get: "GET",
|
|
916555
916664
|
Post: "POST",
|
|
@@ -916577,7 +916686,7 @@ var V2EndpointLocationHttpMethod21 = Object.assign(Object.assign({}, V2EndpointL
|
|
|
916577
916686
|
}
|
|
916578
916687
|
} });
|
|
916579
916688
|
|
|
916580
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916689
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2HttpEndpointResponseBody.mjs
|
|
916581
916690
|
var V2HttpEndpointResponseBody21 = {
|
|
916582
916691
|
error: (value2) => {
|
|
916583
916692
|
return {
|
|
@@ -916620,7 +916729,7 @@ var V2HttpEndpointResponseBody21 = {
|
|
|
916620
916729
|
}
|
|
916621
916730
|
};
|
|
916622
916731
|
|
|
916623
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916732
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/index.mjs
|
|
916624
916733
|
var generatorExec_exports29 = {};
|
|
916625
916734
|
__export(generatorExec_exports29, {
|
|
916626
916735
|
GeneratorEnvironment: () => GeneratorEnvironment29,
|
|
@@ -916632,7 +916741,7 @@ __export(generatorExec_exports29, {
|
|
|
916632
916741
|
config: () => config_exports29
|
|
916633
916742
|
});
|
|
916634
916743
|
|
|
916635
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916744
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/index.mjs
|
|
916636
916745
|
var config_exports29 = {};
|
|
916637
916746
|
__export(config_exports29, {
|
|
916638
916747
|
GeneratorEnvironment: () => GeneratorEnvironment29,
|
|
@@ -916643,7 +916752,7 @@ __export(config_exports29, {
|
|
|
916643
916752
|
OutputMode: () => OutputMode31
|
|
916644
916753
|
});
|
|
916645
916754
|
|
|
916646
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916755
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.mjs
|
|
916647
916756
|
var GeneratorEnvironment29 = {
|
|
916648
916757
|
local: () => {
|
|
916649
916758
|
return {
|
|
@@ -916670,7 +916779,7 @@ var GeneratorEnvironment29 = {
|
|
|
916670
916779
|
}
|
|
916671
916780
|
};
|
|
916672
916781
|
|
|
916673
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916782
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.mjs
|
|
916674
916783
|
var GeneratorPublishTarget29 = {
|
|
916675
916784
|
maven: (value2) => {
|
|
916676
916785
|
return Object.assign(Object.assign({}, value2), { type: "maven", _visit: function(visitor) {
|
|
@@ -916729,7 +916838,7 @@ var GeneratorPublishTarget29 = {
|
|
|
916729
916838
|
}
|
|
916730
916839
|
};
|
|
916731
916840
|
|
|
916732
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916841
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GithubPublishInfo.mjs
|
|
916733
916842
|
var GithubPublishInfo31 = {
|
|
916734
916843
|
npm: (value2) => {
|
|
916735
916844
|
return Object.assign(Object.assign({}, value2), { type: "npm", _visit: function(visitor) {
|
|
@@ -916788,7 +916897,7 @@ var GithubPublishInfo31 = {
|
|
|
916788
916897
|
}
|
|
916789
916898
|
};
|
|
916790
916899
|
|
|
916791
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916900
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/LicenseConfig.mjs
|
|
916792
916901
|
var LicenseConfig29 = {
|
|
916793
916902
|
basic: (value2) => {
|
|
916794
916903
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -916812,7 +916921,7 @@ var LicenseConfig29 = {
|
|
|
916812
916921
|
}
|
|
916813
916922
|
};
|
|
916814
916923
|
|
|
916815
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916924
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/LicenseId.mjs
|
|
916816
916925
|
var LicenseIdValues15 = {
|
|
916817
916926
|
Mit: "MIT",
|
|
916818
916927
|
Apache2: "Apache-2.0"
|
|
@@ -916828,7 +916937,7 @@ var LicenseId29 = Object.assign(Object.assign({}, LicenseIdValues15), { _visit:
|
|
|
916828
916937
|
}
|
|
916829
916938
|
} });
|
|
916830
916939
|
|
|
916831
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916940
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/OutputMode.mjs
|
|
916832
916941
|
var OutputMode31 = {
|
|
916833
916942
|
publish: (value2) => {
|
|
916834
916943
|
return Object.assign(Object.assign({}, value2), { type: "publish", _visit: function(visitor) {
|
|
@@ -916862,14 +916971,14 @@ var OutputMode31 = {
|
|
|
916862
916971
|
}
|
|
916863
916972
|
};
|
|
916864
916973
|
|
|
916865
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916974
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/index.mjs
|
|
916866
916975
|
var globalParameters_exports5 = {};
|
|
916867
916976
|
__export(globalParameters_exports5, {
|
|
916868
916977
|
GlobalParameterApplyMode: () => GlobalParameterApplyMode3,
|
|
916869
916978
|
GlobalParameterLocation: () => GlobalParameterLocation3
|
|
916870
916979
|
});
|
|
916871
916980
|
|
|
916872
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916981
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/types/GlobalParameterApplyMode.mjs
|
|
916873
916982
|
var GlobalParameterApplyModeValues2 = {
|
|
916874
916983
|
Explicit: "explicit",
|
|
916875
916984
|
Auto: "auto"
|
|
@@ -916885,7 +916994,7 @@ var GlobalParameterApplyMode3 = Object.assign(Object.assign({}, GlobalParameterA
|
|
|
916885
916994
|
}
|
|
916886
916995
|
} });
|
|
916887
916996
|
|
|
916888
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
916997
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/types/GlobalParameterLocation.mjs
|
|
916889
916998
|
var GlobalParameterLocationValues2 = {
|
|
916890
916999
|
Header: "header",
|
|
916891
917000
|
Query: "query",
|
|
@@ -916907,7 +917016,7 @@ var GlobalParameterLocation3 = Object.assign(Object.assign({}, GlobalParameterLo
|
|
|
916907
917016
|
}
|
|
916908
917017
|
} });
|
|
916909
917018
|
|
|
916910
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917019
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/index.mjs
|
|
916911
917020
|
var http_exports44 = {};
|
|
916912
917021
|
__export(http_exports44, {
|
|
916913
917022
|
ExampleCodeSample: () => ExampleCodeSample29,
|
|
@@ -916934,7 +917043,7 @@ __export(http_exports44, {
|
|
|
916934
917043
|
Transport: () => Transport29
|
|
916935
917044
|
});
|
|
916936
917045
|
|
|
916937
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917046
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleCodeSample.mjs
|
|
916938
917047
|
var ExampleCodeSample29 = {
|
|
916939
917048
|
language: (value2) => {
|
|
916940
917049
|
return Object.assign(Object.assign({}, value2), { type: "language", _visit: function(visitor) {
|
|
@@ -916958,7 +917067,7 @@ var ExampleCodeSample29 = {
|
|
|
916958
917067
|
}
|
|
916959
917068
|
};
|
|
916960
917069
|
|
|
916961
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917070
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleEndpointSuccessResponse.mjs
|
|
916962
917071
|
var ExampleEndpointSuccessResponse29 = {
|
|
916963
917072
|
body: (value2) => {
|
|
916964
917073
|
return {
|
|
@@ -917001,7 +917110,7 @@ var ExampleEndpointSuccessResponse29 = {
|
|
|
917001
917110
|
}
|
|
917002
917111
|
};
|
|
917003
917112
|
|
|
917004
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917113
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleQueryParameterShape.mjs
|
|
917005
917114
|
var ExampleQueryParameterShape29 = {
|
|
917006
917115
|
single: () => {
|
|
917007
917116
|
return {
|
|
@@ -917041,7 +917150,7 @@ var ExampleQueryParameterShape29 = {
|
|
|
917041
917150
|
}
|
|
917042
917151
|
};
|
|
917043
917152
|
|
|
917044
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917153
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleRequestBody.mjs
|
|
917045
917154
|
var ExampleRequestBody29 = {
|
|
917046
917155
|
inlinedRequestBody: (value2) => {
|
|
917047
917156
|
return Object.assign(Object.assign({}, value2), { type: "inlinedRequestBody", _visit: function(visitor) {
|
|
@@ -917065,7 +917174,7 @@ var ExampleRequestBody29 = {
|
|
|
917065
917174
|
}
|
|
917066
917175
|
};
|
|
917067
917176
|
|
|
917068
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917177
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleResponse.mjs
|
|
917069
917178
|
var ExampleResponse29 = {
|
|
917070
917179
|
ok: (value2) => {
|
|
917071
917180
|
return {
|
|
@@ -917093,7 +917202,7 @@ var ExampleResponse29 = {
|
|
|
917093
917202
|
}
|
|
917094
917203
|
};
|
|
917095
917204
|
|
|
917096
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917205
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileProperty.mjs
|
|
917097
917206
|
var FileProperty29 = {
|
|
917098
917207
|
file: (value2) => {
|
|
917099
917208
|
return Object.assign(Object.assign({}, value2), { type: "file", _visit: function(visitor) {
|
|
@@ -917117,7 +917226,7 @@ var FileProperty29 = {
|
|
|
917117
917226
|
}
|
|
917118
917227
|
};
|
|
917119
917228
|
|
|
917120
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917229
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileUploadBodyPropertyEncoding.mjs
|
|
917121
917230
|
var FileUploadBodyPropertyEncodingValues13 = {
|
|
917122
917231
|
Exploded: "exploded",
|
|
917123
917232
|
Json: "json",
|
|
@@ -917136,7 +917245,7 @@ var FileUploadBodyPropertyEncoding25 = Object.assign(Object.assign({}, FileUploa
|
|
|
917136
917245
|
}
|
|
917137
917246
|
} });
|
|
917138
917247
|
|
|
917139
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917248
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileUploadRequestProperty.mjs
|
|
917140
917249
|
var FileUploadRequestProperty29 = {
|
|
917141
917250
|
file: (value2) => {
|
|
917142
917251
|
return {
|
|
@@ -917164,7 +917273,7 @@ var FileUploadRequestProperty29 = {
|
|
|
917164
917273
|
}
|
|
917165
917274
|
};
|
|
917166
917275
|
|
|
917167
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917276
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpEndpointSource.mjs
|
|
917168
917277
|
var HttpEndpointSource21 = {
|
|
917169
917278
|
proto: (value2) => {
|
|
917170
917279
|
return Object.assign(Object.assign({}, value2), { type: "proto", _visit: function(visitor) {
|
|
@@ -917201,7 +917310,7 @@ var HttpEndpointSource21 = {
|
|
|
917201
917310
|
}
|
|
917202
917311
|
};
|
|
917203
917312
|
|
|
917204
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917313
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpMethod.mjs
|
|
917205
917314
|
var HttpMethodValues24 = {
|
|
917206
917315
|
Get: "GET",
|
|
917207
917316
|
Post: "POST",
|
|
@@ -917229,7 +917338,7 @@ var HttpMethod48 = Object.assign(Object.assign({}, HttpMethodValues24), { _visit
|
|
|
917229
917338
|
}
|
|
917230
917339
|
} });
|
|
917231
917340
|
|
|
917232
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917341
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpRequestBody.mjs
|
|
917233
917342
|
var HttpRequestBody29 = {
|
|
917234
917343
|
inlinedRequestBody: (value2) => {
|
|
917235
917344
|
return Object.assign(Object.assign({}, value2), { type: "inlinedRequestBody", _visit: function(visitor) {
|
|
@@ -917267,7 +917376,7 @@ var HttpRequestBody29 = {
|
|
|
917267
917376
|
}
|
|
917268
917377
|
};
|
|
917269
917378
|
|
|
917270
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917379
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpResponseBody.mjs
|
|
917271
917380
|
var HttpResponseBody29 = {
|
|
917272
917381
|
json: (value2) => {
|
|
917273
917382
|
return {
|
|
@@ -917327,7 +917436,7 @@ var HttpResponseBody29 = {
|
|
|
917327
917436
|
}
|
|
917328
917437
|
};
|
|
917329
917438
|
|
|
917330
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917439
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/JsonResponse.mjs
|
|
917331
917440
|
var JsonResponse30 = {
|
|
917332
917441
|
response: (value2) => {
|
|
917333
917442
|
return Object.assign(Object.assign({}, value2), { type: "response", _visit: function(visitor) {
|
|
@@ -917351,7 +917460,7 @@ var JsonResponse30 = {
|
|
|
917351
917460
|
}
|
|
917352
917461
|
};
|
|
917353
917462
|
|
|
917354
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917463
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/NonStreamHttpResponseBody.mjs
|
|
917355
917464
|
var NonStreamHttpResponseBody29 = {
|
|
917356
917465
|
json: (value2) => {
|
|
917357
917466
|
return {
|
|
@@ -917393,7 +917502,7 @@ var NonStreamHttpResponseBody29 = {
|
|
|
917393
917502
|
}
|
|
917394
917503
|
};
|
|
917395
917504
|
|
|
917396
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917505
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/Pagination.mjs
|
|
917397
917506
|
var Pagination32 = {
|
|
917398
917507
|
cursor: (value2) => {
|
|
917399
917508
|
return Object.assign(Object.assign({}, value2), { type: "cursor", _visit: function(visitor) {
|
|
@@ -917438,7 +917547,7 @@ var Pagination32 = {
|
|
|
917438
917547
|
}
|
|
917439
917548
|
};
|
|
917440
917549
|
|
|
917441
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917550
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/PathParameterLocation.mjs
|
|
917442
917551
|
var PathParameterLocationValues15 = {
|
|
917443
917552
|
Root: "ROOT",
|
|
917444
917553
|
Service: "SERVICE",
|
|
@@ -917457,7 +917566,7 @@ var PathParameterLocation29 = Object.assign(Object.assign({}, PathParameterLocat
|
|
|
917457
917566
|
}
|
|
917458
917567
|
} });
|
|
917459
917568
|
|
|
917460
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917569
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/RequestPropertyValue.mjs
|
|
917461
917570
|
var RequestPropertyValue29 = {
|
|
917462
917571
|
query: (value2) => {
|
|
917463
917572
|
return Object.assign(Object.assign({}, value2), { type: "query", _visit: function(visitor) {
|
|
@@ -917481,7 +917590,7 @@ var RequestPropertyValue29 = {
|
|
|
917481
917590
|
}
|
|
917482
917591
|
};
|
|
917483
917592
|
|
|
917484
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917593
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SdkRequestBodyType.mjs
|
|
917485
917594
|
var SdkRequestBodyType29 = {
|
|
917486
917595
|
typeReference: (value2) => {
|
|
917487
917596
|
return Object.assign(Object.assign({}, value2), { type: "typeReference", _visit: function(visitor) {
|
|
@@ -917505,7 +917614,7 @@ var SdkRequestBodyType29 = {
|
|
|
917505
917614
|
}
|
|
917506
917615
|
};
|
|
917507
917616
|
|
|
917508
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917617
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SdkRequestShape.mjs
|
|
917509
917618
|
var SdkRequestShape29 = {
|
|
917510
917619
|
justRequestBody: (value2) => {
|
|
917511
917620
|
return {
|
|
@@ -917533,7 +917642,7 @@ var SdkRequestShape29 = {
|
|
|
917533
917642
|
}
|
|
917534
917643
|
};
|
|
917535
917644
|
|
|
917536
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917645
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/StreamingResponse.mjs
|
|
917537
917646
|
var StreamingResponse29 = {
|
|
917538
917647
|
json: (value2) => {
|
|
917539
917648
|
return Object.assign(Object.assign({}, value2), { type: "json", _visit: function(visitor) {
|
|
@@ -917564,7 +917673,7 @@ var StreamingResponse29 = {
|
|
|
917564
917673
|
}
|
|
917565
917674
|
};
|
|
917566
917675
|
|
|
917567
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917676
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SupportedSdkLanguage.mjs
|
|
917568
917677
|
var SupportedSdkLanguageValues16 = {
|
|
917569
917678
|
Curl: "curl",
|
|
917570
917679
|
Python: "python",
|
|
@@ -917607,7 +917716,7 @@ var SupportedSdkLanguage31 = Object.assign(Object.assign({}, SupportedSdkLanguag
|
|
|
917607
917716
|
}
|
|
917608
917717
|
} });
|
|
917609
917718
|
|
|
917610
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917719
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/Transport.mjs
|
|
917611
917720
|
var Transport29 = {
|
|
917612
917721
|
http: () => {
|
|
917613
917722
|
return {
|
|
@@ -917634,7 +917743,7 @@ var Transport29 = {
|
|
|
917634
917743
|
}
|
|
917635
917744
|
};
|
|
917636
917745
|
|
|
917637
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917746
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/index.mjs
|
|
917638
917747
|
var ir_exports58 = {};
|
|
917639
917748
|
__export(ir_exports58, {
|
|
917640
917749
|
ApiDefinitionSource: () => ApiDefinitionSource29,
|
|
@@ -917644,7 +917753,7 @@ __export(ir_exports58, {
|
|
|
917644
917753
|
InvocationSource: () => InvocationSource5
|
|
917645
917754
|
});
|
|
917646
917755
|
|
|
917647
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917756
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ApiDefinitionSource.mjs
|
|
917648
917757
|
var ApiDefinitionSource29 = {
|
|
917649
917758
|
proto: (value2) => {
|
|
917650
917759
|
return Object.assign(Object.assign({}, value2), { type: "proto", _visit: function(visitor) {
|
|
@@ -917671,7 +917780,7 @@ var ApiDefinitionSource29 = {
|
|
|
917671
917780
|
}
|
|
917672
917781
|
};
|
|
917673
917782
|
|
|
917674
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917783
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ApiVersionScheme.mjs
|
|
917675
917784
|
var ApiVersionScheme29 = {
|
|
917676
917785
|
header: (value2) => {
|
|
917677
917786
|
return Object.assign(Object.assign({}, value2), { type: "header", _visit: function(visitor) {
|
|
@@ -917688,7 +917797,7 @@ var ApiVersionScheme29 = {
|
|
|
917688
917797
|
}
|
|
917689
917798
|
};
|
|
917690
917799
|
|
|
917691
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917800
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ErrorDiscriminationStrategy.mjs
|
|
917692
917801
|
var ErrorDiscriminationStrategy29 = {
|
|
917693
917802
|
statusCode: () => {
|
|
917694
917803
|
return {
|
|
@@ -917715,7 +917824,7 @@ var ErrorDiscriminationStrategy29 = {
|
|
|
917715
917824
|
}
|
|
917716
917825
|
};
|
|
917717
917826
|
|
|
917718
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917827
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ExampleStyle.mjs
|
|
917719
917828
|
var ExampleStyleValues7 = {
|
|
917720
917829
|
Minimal: "minimal",
|
|
917721
917830
|
Comprehensive: "comprehensive"
|
|
@@ -917731,7 +917840,7 @@ var ExampleStyle15 = Object.assign(Object.assign({}, ExampleStyleValues7), { _vi
|
|
|
917731
917840
|
}
|
|
917732
917841
|
} });
|
|
917733
917842
|
|
|
917734
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917843
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/InvocationSource.mjs
|
|
917735
917844
|
var InvocationSourceValues3 = {
|
|
917736
917845
|
Autopilot: "autopilot",
|
|
917737
917846
|
Autorelease: "autorelease",
|
|
@@ -917753,7 +917862,7 @@ var InvocationSource5 = Object.assign(Object.assign({}, InvocationSourceValues3)
|
|
|
917753
917862
|
}
|
|
917754
917863
|
} });
|
|
917755
917864
|
|
|
917756
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917865
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/index.mjs
|
|
917757
917866
|
var proto_exports29 = {};
|
|
917758
917867
|
__export(proto_exports29, {
|
|
917759
917868
|
ProtobufMethodType: () => ProtobufMethodType19,
|
|
@@ -917761,7 +917870,7 @@ __export(proto_exports29, {
|
|
|
917761
917870
|
WellKnownProtobufType: () => WellKnownProtobufType29
|
|
917762
917871
|
});
|
|
917763
917872
|
|
|
917764
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917873
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/ProtobufMethodType.mjs
|
|
917765
917874
|
var ProtobufMethodTypeValues10 = {
|
|
917766
917875
|
Unary: "UNARY",
|
|
917767
917876
|
ClientStream: "CLIENT_STREAM",
|
|
@@ -917783,7 +917892,7 @@ var ProtobufMethodType19 = Object.assign(Object.assign({}, ProtobufMethodTypeVal
|
|
|
917783
917892
|
}
|
|
917784
917893
|
} });
|
|
917785
917894
|
|
|
917786
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917895
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/ProtobufType.mjs
|
|
917787
917896
|
var ProtobufType29 = {
|
|
917788
917897
|
wellKnown: (value2) => {
|
|
917789
917898
|
return {
|
|
@@ -917811,7 +917920,7 @@ var ProtobufType29 = {
|
|
|
917811
917920
|
}
|
|
917812
917921
|
};
|
|
917813
917922
|
|
|
917814
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
917923
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/WellKnownProtobufType.mjs
|
|
917815
917924
|
var WellKnownProtobufType29 = {
|
|
917816
917925
|
any: () => {
|
|
917817
917926
|
return {
|
|
@@ -918121,14 +918230,14 @@ var WellKnownProtobufType29 = {
|
|
|
918121
918230
|
}
|
|
918122
918231
|
};
|
|
918123
918232
|
|
|
918124
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918233
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/index.mjs
|
|
918125
918234
|
var publish_exports29 = {};
|
|
918126
918235
|
__export(publish_exports29, {
|
|
918127
918236
|
PublishTarget: () => PublishTarget29,
|
|
918128
918237
|
PublishingConfig: () => PublishingConfig29
|
|
918129
918238
|
});
|
|
918130
918239
|
|
|
918131
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918240
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/types/PublishingConfig.mjs
|
|
918132
918241
|
var PublishingConfig29 = {
|
|
918133
918242
|
github: (value2) => {
|
|
918134
918243
|
return Object.assign(Object.assign({}, value2), { type: "github", _visit: function(visitor) {
|
|
@@ -918159,7 +918268,7 @@ var PublishingConfig29 = {
|
|
|
918159
918268
|
}
|
|
918160
918269
|
};
|
|
918161
918270
|
|
|
918162
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918271
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/types/PublishTarget.mjs
|
|
918163
918272
|
var PublishTarget29 = {
|
|
918164
918273
|
postman: (value2) => {
|
|
918165
918274
|
return Object.assign(Object.assign({}, value2), { type: "postman", _visit: function(visitor) {
|
|
@@ -918191,6 +918300,21 @@ var PublishTarget29 = {
|
|
|
918191
918300
|
return PublishTarget29._visit(this, visitor);
|
|
918192
918301
|
} });
|
|
918193
918302
|
},
|
|
918303
|
+
nuget: (value2) => {
|
|
918304
|
+
return Object.assign(Object.assign({}, value2), { type: "nuget", _visit: function(visitor) {
|
|
918305
|
+
return PublishTarget29._visit(this, visitor);
|
|
918306
|
+
} });
|
|
918307
|
+
},
|
|
918308
|
+
rubygems: (value2) => {
|
|
918309
|
+
return Object.assign(Object.assign({}, value2), { type: "rubygems", _visit: function(visitor) {
|
|
918310
|
+
return PublishTarget29._visit(this, visitor);
|
|
918311
|
+
} });
|
|
918312
|
+
},
|
|
918313
|
+
packagist: (value2) => {
|
|
918314
|
+
return Object.assign(Object.assign({}, value2), { type: "packagist", _visit: function(visitor) {
|
|
918315
|
+
return PublishTarget29._visit(this, visitor);
|
|
918316
|
+
} });
|
|
918317
|
+
},
|
|
918194
918318
|
_visit: (value2, visitor) => {
|
|
918195
918319
|
switch (value2.type) {
|
|
918196
918320
|
case "postman":
|
|
@@ -918205,13 +918329,19 @@ var PublishTarget29 = {
|
|
|
918205
918329
|
return visitor.crates(value2);
|
|
918206
918330
|
case "go":
|
|
918207
918331
|
return visitor.go(value2);
|
|
918332
|
+
case "nuget":
|
|
918333
|
+
return visitor.nuget(value2);
|
|
918334
|
+
case "rubygems":
|
|
918335
|
+
return visitor.rubygems(value2);
|
|
918336
|
+
case "packagist":
|
|
918337
|
+
return visitor.packagist(value2);
|
|
918208
918338
|
default:
|
|
918209
918339
|
return visitor._other(value2);
|
|
918210
918340
|
}
|
|
918211
918341
|
}
|
|
918212
918342
|
};
|
|
918213
918343
|
|
|
918214
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918344
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/index.mjs
|
|
918215
918345
|
var types_exports67 = {};
|
|
918216
918346
|
__export(types_exports67, {
|
|
918217
918347
|
ContainerType: () => ContainerType29,
|
|
@@ -918234,7 +918364,7 @@ __export(types_exports67, {
|
|
|
918234
918364
|
UnionDiscriminatorContext: () => UnionDiscriminatorContext9
|
|
918235
918365
|
});
|
|
918236
918366
|
|
|
918237
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918367
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ContainerType.mjs
|
|
918238
918368
|
var ContainerType29 = {
|
|
918239
918369
|
list: (value2) => {
|
|
918240
918370
|
return {
|
|
@@ -918306,7 +918436,7 @@ var ContainerType29 = {
|
|
|
918306
918436
|
}
|
|
918307
918437
|
};
|
|
918308
918438
|
|
|
918309
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918439
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleContainer.mjs
|
|
918310
918440
|
var ExampleContainer29 = {
|
|
918311
918441
|
list: (value2) => {
|
|
918312
918442
|
return Object.assign(Object.assign({}, value2), { type: "list", _visit: function(visitor) {
|
|
@@ -918358,7 +918488,7 @@ var ExampleContainer29 = {
|
|
|
918358
918488
|
}
|
|
918359
918489
|
};
|
|
918360
918490
|
|
|
918361
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918491
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExamplePrimitive.mjs
|
|
918362
918492
|
var ExamplePrimitive29 = {
|
|
918363
918493
|
integer: (value2) => {
|
|
918364
918494
|
return {
|
|
@@ -918514,7 +918644,7 @@ var ExamplePrimitive29 = {
|
|
|
918514
918644
|
}
|
|
918515
918645
|
};
|
|
918516
918646
|
|
|
918517
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918647
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleSingleUnionTypeProperties.mjs
|
|
918518
918648
|
var ExampleSingleUnionTypeProperties29 = {
|
|
918519
918649
|
samePropertiesAsObject: (value2) => {
|
|
918520
918650
|
return Object.assign(Object.assign({}, value2), { type: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -918548,7 +918678,7 @@ var ExampleSingleUnionTypeProperties29 = {
|
|
|
918548
918678
|
}
|
|
918549
918679
|
};
|
|
918550
918680
|
|
|
918551
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918681
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleTypeReferenceShape.mjs
|
|
918552
918682
|
var ExampleTypeReferenceShape29 = {
|
|
918553
918683
|
primitive: (value2) => {
|
|
918554
918684
|
return {
|
|
@@ -918598,7 +918728,7 @@ var ExampleTypeReferenceShape29 = {
|
|
|
918598
918728
|
}
|
|
918599
918729
|
};
|
|
918600
918730
|
|
|
918601
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918731
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleTypeShape.mjs
|
|
918602
918732
|
var ExampleTypeShape29 = {
|
|
918603
918733
|
alias: (value2) => {
|
|
918604
918734
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -918643,7 +918773,7 @@ var ExampleTypeShape29 = {
|
|
|
918643
918773
|
}
|
|
918644
918774
|
};
|
|
918645
918775
|
|
|
918646
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918776
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Literal.mjs
|
|
918647
918777
|
var Literal30 = {
|
|
918648
918778
|
string: (value2) => {
|
|
918649
918779
|
return {
|
|
@@ -918675,7 +918805,7 @@ var Literal30 = {
|
|
|
918675
918805
|
}
|
|
918676
918806
|
};
|
|
918677
918807
|
|
|
918678
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918808
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/NamedTypeDefault.mjs
|
|
918679
918809
|
var NamedTypeDefault29 = {
|
|
918680
918810
|
enum: (value2) => {
|
|
918681
918811
|
return Object.assign(Object.assign({}, value2), { type: "enum", _visit: function(visitor) {
|
|
@@ -918692,7 +918822,7 @@ var NamedTypeDefault29 = {
|
|
|
918692
918822
|
}
|
|
918693
918823
|
};
|
|
918694
918824
|
|
|
918695
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918825
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ObjectPropertyAccess.mjs
|
|
918696
918826
|
var ObjectPropertyAccessValues21 = {
|
|
918697
918827
|
ReadOnly: "READ_ONLY",
|
|
918698
918828
|
WriteOnly: "WRITE_ONLY"
|
|
@@ -918708,7 +918838,7 @@ var ObjectPropertyAccess42 = Object.assign(Object.assign({}, ObjectPropertyAcces
|
|
|
918708
918838
|
}
|
|
918709
918839
|
} });
|
|
918710
918840
|
|
|
918711
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918841
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/PrimitiveTypeV1.mjs
|
|
918712
918842
|
var PrimitiveTypeV1Values23 = {
|
|
918713
918843
|
Integer: "INTEGER",
|
|
918714
918844
|
/**
|
|
@@ -918762,7 +918892,7 @@ var PrimitiveTypeV144 = Object.assign(Object.assign({}, PrimitiveTypeV1Values23)
|
|
|
918762
918892
|
}
|
|
918763
918893
|
} });
|
|
918764
918894
|
|
|
918765
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
918895
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/PrimitiveTypeV2.mjs
|
|
918766
918896
|
var PrimitiveTypeV229 = {
|
|
918767
918897
|
integer: (value2) => {
|
|
918768
918898
|
return Object.assign(Object.assign({}, value2), { type: "integer", _visit: function(visitor) {
|
|
@@ -918870,7 +919000,7 @@ var PrimitiveTypeV229 = {
|
|
|
918870
919000
|
}
|
|
918871
919001
|
};
|
|
918872
919002
|
|
|
918873
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919003
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ResolvedTypeReference.mjs
|
|
918874
919004
|
var ResolvedTypeReference29 = {
|
|
918875
919005
|
container: (value2) => {
|
|
918876
919006
|
return {
|
|
@@ -918919,7 +919049,7 @@ var ResolvedTypeReference29 = {
|
|
|
918919
919049
|
}
|
|
918920
919050
|
};
|
|
918921
919051
|
|
|
918922
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919052
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ShapeType.mjs
|
|
918923
919053
|
var ShapeTypeValues15 = {
|
|
918924
919054
|
Enum: "ENUM",
|
|
918925
919055
|
Object: "OBJECT",
|
|
@@ -918941,7 +919071,7 @@ var ShapeType29 = Object.assign(Object.assign({}, ShapeTypeValues15), { _visit:
|
|
|
918941
919071
|
}
|
|
918942
919072
|
} });
|
|
918943
919073
|
|
|
918944
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919074
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/SingleUnionTypeProperties.mjs
|
|
918945
919075
|
var SingleUnionTypeProperties29 = {
|
|
918946
919076
|
samePropertiesAsObject: (value2) => {
|
|
918947
919077
|
return Object.assign(Object.assign({}, value2), { propertiesType: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -918975,7 +919105,7 @@ var SingleUnionTypeProperties29 = {
|
|
|
918975
919105
|
}
|
|
918976
919106
|
};
|
|
918977
919107
|
|
|
918978
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919108
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Source.mjs
|
|
918979
919109
|
var Source33 = {
|
|
918980
919110
|
proto: (value2) => {
|
|
918981
919111
|
return {
|
|
@@ -918996,7 +919126,7 @@ var Source33 = {
|
|
|
918996
919126
|
}
|
|
918997
919127
|
};
|
|
918998
919128
|
|
|
918999
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919129
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Type.mjs
|
|
919000
919130
|
var Type30 = {
|
|
919001
919131
|
alias: (value2) => {
|
|
919002
919132
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -919041,7 +919171,7 @@ var Type30 = {
|
|
|
919041
919171
|
}
|
|
919042
919172
|
};
|
|
919043
919173
|
|
|
919044
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919174
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/TypeReference.mjs
|
|
919045
919175
|
var TypeReference58 = {
|
|
919046
919176
|
container: (value2) => {
|
|
919047
919177
|
return {
|
|
@@ -919090,7 +919220,7 @@ var TypeReference58 = {
|
|
|
919090
919220
|
}
|
|
919091
919221
|
};
|
|
919092
919222
|
|
|
919093
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919223
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/UnionDiscriminatorContext.mjs
|
|
919094
919224
|
var UnionDiscriminatorContextValues4 = {
|
|
919095
919225
|
/**
|
|
919096
919226
|
* Discriminator is within the union data itself (e.g., data.type field) */
|
|
@@ -919110,10 +919240,10 @@ var UnionDiscriminatorContext9 = Object.assign(Object.assign({}, UnionDiscrimina
|
|
|
919110
919240
|
}
|
|
919111
919241
|
} });
|
|
919112
919242
|
|
|
919113
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919243
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/variables/index.mjs
|
|
919114
919244
|
var variables_exports46 = {};
|
|
919115
919245
|
|
|
919116
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919246
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/index.mjs
|
|
919117
919247
|
var webhooks_exports31 = {};
|
|
919118
919248
|
__export(webhooks_exports31, {
|
|
919119
919249
|
AsymmetricAlgorithm: () => AsymmetricAlgorithm9,
|
|
@@ -919130,7 +919260,7 @@ __export(webhooks_exports31, {
|
|
|
919130
919260
|
WebhookTimestampFormat: () => WebhookTimestampFormat9
|
|
919131
919261
|
});
|
|
919132
919262
|
|
|
919133
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919263
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/AsymmetricAlgorithm.mjs
|
|
919134
919264
|
var AsymmetricAlgorithmValues5 = {
|
|
919135
919265
|
RsaSha256: "RSA_SHA256",
|
|
919136
919266
|
RsaSha384: "RSA_SHA384",
|
|
@@ -919161,7 +919291,7 @@ var AsymmetricAlgorithm9 = Object.assign(Object.assign({}, AsymmetricAlgorithmVa
|
|
|
919161
919291
|
}
|
|
919162
919292
|
} });
|
|
919163
919293
|
|
|
919164
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919294
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/AsymmetricKeySource.mjs
|
|
919165
919295
|
var AsymmetricKeySource7 = {
|
|
919166
919296
|
jwks: (value2) => {
|
|
919167
919297
|
return Object.assign(Object.assign({}, value2), { type: "jwks", _visit: function(visitor) {
|
|
@@ -919185,7 +919315,7 @@ var AsymmetricKeySource7 = {
|
|
|
919185
919315
|
}
|
|
919186
919316
|
};
|
|
919187
919317
|
|
|
919188
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919318
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/HmacAlgorithm.mjs
|
|
919189
919319
|
var HmacAlgorithmValues4 = {
|
|
919190
919320
|
Sha256: "SHA256",
|
|
919191
919321
|
Sha1: "SHA1",
|
|
@@ -919207,7 +919337,7 @@ var HmacAlgorithm7 = Object.assign(Object.assign({}, HmacAlgorithmValues4), { _v
|
|
|
919207
919337
|
}
|
|
919208
919338
|
} });
|
|
919209
919339
|
|
|
919210
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919340
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookBodyHashAlgorithm.mjs
|
|
919211
919341
|
var WebhookBodyHashAlgorithmValues3 = {
|
|
919212
919342
|
Sha256: "SHA256",
|
|
919213
919343
|
Sha1: "SHA1",
|
|
@@ -919229,7 +919359,7 @@ var WebhookBodyHashAlgorithm5 = Object.assign(Object.assign({}, WebhookBodyHashA
|
|
|
919229
919359
|
}
|
|
919230
919360
|
} });
|
|
919231
919361
|
|
|
919232
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919362
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookBodyHashLocation.mjs
|
|
919233
919363
|
var WebhookBodyHashLocation5 = {
|
|
919234
919364
|
queryParameter: (value2) => {
|
|
919235
919365
|
return Object.assign(Object.assign({}, value2), { type: "queryParameter", _visit: function(visitor) {
|
|
@@ -919246,7 +919376,7 @@ var WebhookBodyHashLocation5 = {
|
|
|
919246
919376
|
}
|
|
919247
919377
|
};
|
|
919248
919378
|
|
|
919249
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919379
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookHttpMethod.mjs
|
|
919250
919380
|
var WebhookHttpMethodValues16 = {
|
|
919251
919381
|
Get: "GET",
|
|
919252
919382
|
Post: "POST"
|
|
@@ -919262,7 +919392,7 @@ var WebhookHttpMethod31 = Object.assign(Object.assign({}, WebhookHttpMethodValue
|
|
|
919262
919392
|
}
|
|
919263
919393
|
} });
|
|
919264
919394
|
|
|
919265
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919395
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayload.mjs
|
|
919266
919396
|
var WebhookPayload29 = {
|
|
919267
919397
|
inlinedPayload: (value2) => {
|
|
919268
919398
|
return Object.assign(Object.assign({}, value2), { type: "inlinedPayload", _visit: function(visitor) {
|
|
@@ -919286,7 +919416,7 @@ var WebhookPayload29 = {
|
|
|
919286
919416
|
}
|
|
919287
919417
|
};
|
|
919288
919418
|
|
|
919289
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919419
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayloadBodySort.mjs
|
|
919290
919420
|
var WebhookPayloadBodySortValues5 = {
|
|
919291
919421
|
Alphabetical: "ALPHABETICAL"
|
|
919292
919422
|
};
|
|
@@ -919299,7 +919429,7 @@ var WebhookPayloadBodySort9 = Object.assign(Object.assign({}, WebhookPayloadBody
|
|
|
919299
919429
|
}
|
|
919300
919430
|
} });
|
|
919301
919431
|
|
|
919302
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919432
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayloadComponent.mjs
|
|
919303
919433
|
var WebhookPayloadComponentValues5 = {
|
|
919304
919434
|
/**
|
|
919305
919435
|
* The raw request body. */
|
|
@@ -919329,7 +919459,7 @@ var WebhookPayloadComponent9 = Object.assign(Object.assign({}, WebhookPayloadCom
|
|
|
919329
919459
|
}
|
|
919330
919460
|
} });
|
|
919331
919461
|
|
|
919332
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919462
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookSignatureEncoding.mjs
|
|
919333
919463
|
var WebhookSignatureEncodingValues5 = {
|
|
919334
919464
|
Base64: "BASE64",
|
|
919335
919465
|
Hex: "HEX"
|
|
@@ -919345,7 +919475,7 @@ var WebhookSignatureEncoding9 = Object.assign(Object.assign({}, WebhookSignature
|
|
|
919345
919475
|
}
|
|
919346
919476
|
} });
|
|
919347
919477
|
|
|
919348
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919478
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookSignatureVerification.mjs
|
|
919349
919479
|
var WebhookSignatureVerification9 = {
|
|
919350
919480
|
hmac: (value2) => {
|
|
919351
919481
|
return Object.assign(Object.assign({}, value2), { type: "hmac", _visit: function(visitor) {
|
|
@@ -919369,7 +919499,7 @@ var WebhookSignatureVerification9 = {
|
|
|
919369
919499
|
}
|
|
919370
919500
|
};
|
|
919371
919501
|
|
|
919372
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919502
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookTimestampFormat.mjs
|
|
919373
919503
|
var WebhookTimestampFormatValues5 = {
|
|
919374
919504
|
UnixSeconds: "UNIX_SECONDS",
|
|
919375
919505
|
UnixMillis: "UNIX_MILLIS",
|
|
@@ -919388,7 +919518,7 @@ var WebhookTimestampFormat9 = Object.assign(Object.assign({}, WebhookTimestampFo
|
|
|
919388
919518
|
}
|
|
919389
919519
|
} });
|
|
919390
919520
|
|
|
919391
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919521
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/index.mjs
|
|
919392
919522
|
var websocket_exports33 = {};
|
|
919393
919523
|
__export(websocket_exports33, {
|
|
919394
919524
|
ExampleWebSocketMessageBody: () => ExampleWebSocketMessageBody29,
|
|
@@ -919396,7 +919526,7 @@ __export(websocket_exports33, {
|
|
|
919396
919526
|
WebSocketMessageOrigin: () => WebSocketMessageOrigin30
|
|
919397
919527
|
});
|
|
919398
919528
|
|
|
919399
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919529
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/ExampleWebSocketMessageBody.mjs
|
|
919400
919530
|
var ExampleWebSocketMessageBody29 = {
|
|
919401
919531
|
inlinedBody: (value2) => {
|
|
919402
919532
|
return Object.assign(Object.assign({}, value2), { type: "inlinedBody", _visit: function(visitor) {
|
|
@@ -919420,7 +919550,7 @@ var ExampleWebSocketMessageBody29 = {
|
|
|
919420
919550
|
}
|
|
919421
919551
|
};
|
|
919422
919552
|
|
|
919423
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919553
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/WebSocketMessageBody.mjs
|
|
919424
919554
|
var WebSocketMessageBody29 = {
|
|
919425
919555
|
inlinedBody: (value2) => {
|
|
919426
919556
|
return Object.assign(Object.assign({}, value2), { type: "inlinedBody", _visit: function(visitor) {
|
|
@@ -919444,7 +919574,7 @@ var WebSocketMessageBody29 = {
|
|
|
919444
919574
|
}
|
|
919445
919575
|
};
|
|
919446
919576
|
|
|
919447
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
919577
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.21.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/WebSocketMessageOrigin.mjs
|
|
919448
919578
|
var WebSocketMessageOriginValues15 = {
|
|
919449
919579
|
Client: "client",
|
|
919450
919580
|
Server: "server"
|
|
@@ -929153,6 +929283,8 @@ var Generation = class {
|
|
|
929153
929283
|
enableExplicitNullableOptional: () => this.customConfig["experimental-explicit-nullable-optional"] ?? false,
|
|
929154
929284
|
/** When true, generates Defaults nested class and WithDefaults() method for request records with default values. Default: false. */
|
|
929155
929285
|
useDefaultRequestParameterValues: () => this.customConfig["use-default-request-parameter-values"] ?? false,
|
|
929286
|
+
/** When true, an endpoint whose request body the API does not require takes that body as `Body? request = null`, and sends no body when the caller leaves it out. Default: false. */
|
|
929287
|
+
respectOptionalRequestBody: () => this.customConfig["respect-optional-request-body"] ?? false,
|
|
929156
929288
|
/** When true, redacts the response body in deserialization error exceptions and adds a custom ToString override to the base API exception. Default: false. */
|
|
929157
929289
|
redactResponseBodyOnError: () => this.customConfig["redact-response-body-on-error"] ?? false,
|
|
929158
929290
|
/** When true, generates inline types as nested classes inside a static Types class on the parent type, instead of as separate top-level files. Default: false. */
|
|
@@ -931839,7 +931971,7 @@ var EndpointSnippetGenerator = class extends WithGeneration {
|
|
|
931839
931971
|
const pathParameterArgs = this.getPathParameterArguments({ namedParameters: pathParameters, snippet });
|
|
931840
931972
|
this.context.errors.unscope();
|
|
931841
931973
|
this.context.errors.scope(Scope4.RequestBody);
|
|
931842
|
-
const bodyArg = request7.body != null ? this.getBodyRequestArg({ body: request7.body, value: snippet.requestBody }) : void 0;
|
|
931974
|
+
const bodyArg = request7.body != null && !this.callOmitsRequestBody({ request: request7, snippet }) ? this.getBodyRequestArg({ body: request7.body, value: snippet.requestBody }) : void 0;
|
|
931843
931975
|
this.context.errors.unscope();
|
|
931844
931976
|
if (pathParameterArgs.length > 0 && bodyArg != null) {
|
|
931845
931977
|
return [
|
|
@@ -931853,6 +931985,20 @@ var EndpointSnippetGenerator = class extends WithGeneration {
|
|
|
931853
931985
|
}
|
|
931854
931986
|
return args;
|
|
931855
931987
|
}
|
|
931988
|
+
/**
|
|
931989
|
+
* Whether the call leaves the body out entirely, which the parameter's null default allows.
|
|
931990
|
+
* Applies only to a body the caller may omit, and only once the generator opts in to that.
|
|
931991
|
+
*/
|
|
931992
|
+
callOmitsRequestBody({ request: request7, snippet }) {
|
|
931993
|
+
if (!this.settings.respectOptionalRequestBody) {
|
|
931994
|
+
return false;
|
|
931995
|
+
}
|
|
931996
|
+
if (request7.bodyRequired !== false) {
|
|
931997
|
+
return false;
|
|
931998
|
+
}
|
|
931999
|
+
const value2 = snippet.requestBody;
|
|
932000
|
+
return value2 == null || typeof value2 === "object" && !Array.isArray(value2) && Object.keys(value2).length === 0;
|
|
932001
|
+
}
|
|
931856
932002
|
getPathParameterArguments({ namedParameters, snippet }) {
|
|
931857
932003
|
const pathParameters = this.context.associateByWireValueOrDefault({
|
|
931858
932004
|
parameters: namedParameters,
|
|
@@ -933488,6 +933634,10 @@ var Type31 = class _Type extends AstNode2 {
|
|
|
933488
933634
|
isOptional() {
|
|
933489
933635
|
return this.internalType.type === "optional";
|
|
933490
933636
|
}
|
|
933637
|
+
/** Whether a value of this type can be compared to nil, and so can express its own absence. */
|
|
933638
|
+
isNilable() {
|
|
933639
|
+
return this.internalType.type === "optional" || NILABLE_TYPES.has(this.internalType.type);
|
|
933640
|
+
}
|
|
933491
933641
|
isIterable() {
|
|
933492
933642
|
return this.internalType.type === "slice" || this.internalType.type === "variadic";
|
|
933493
933643
|
}
|
|
@@ -933606,7 +933756,7 @@ var Type31 = class _Type extends AstNode2 {
|
|
|
933606
933756
|
});
|
|
933607
933757
|
}
|
|
933608
933758
|
static isAlreadyOptional(value2) {
|
|
933609
|
-
return value2.
|
|
933759
|
+
return value2.isNilable();
|
|
933610
933760
|
}
|
|
933611
933761
|
static isAlreadyVariadic(value2) {
|
|
933612
933762
|
return value2.internalType.type === "variadic";
|
|
@@ -935465,7 +935615,10 @@ var EndpointSnippetGenerator2 = class {
|
|
|
935465
935615
|
}
|
|
935466
935616
|
this.context.errors.unscope();
|
|
935467
935617
|
this.context.errors.scope(Scope4.RequestBody);
|
|
935468
|
-
const requestArg = request7.body != null ? this.
|
|
935618
|
+
const requestArg = request7.body != null ? this.callOmitsRequestBody({ request: request7, snippet }) ? (
|
|
935619
|
+
// Go has no optional parameters, so a call that leaves the body out passes nil.
|
|
935620
|
+
go_exports.TypeInstantiation.nop()
|
|
935621
|
+
) : this.getBodyRequestArg({ body: request7.body, value: snippet.requestBody }) : void 0;
|
|
935469
935622
|
this.context.errors.unscope();
|
|
935470
935623
|
return { otherArgs, requestArg };
|
|
935471
935624
|
}
|
|
@@ -935598,6 +935751,40 @@ var EndpointSnippetGenerator2 = class {
|
|
|
935598
935751
|
assertNever(body);
|
|
935599
935752
|
}
|
|
935600
935753
|
}
|
|
935754
|
+
/**
|
|
935755
|
+
* Whether the call leaves the body out entirely, which a nil argument expresses. Applies only to
|
|
935756
|
+
* a body the caller may omit, and only once the generator opts in to that. An example that
|
|
935757
|
+
* supplies nothing for the body reaches the snippet generator as an absent or empty value, since
|
|
935758
|
+
* that is how the importer spells it.
|
|
935759
|
+
*/
|
|
935760
|
+
callOmitsRequestBody({ request: request7, snippet }) {
|
|
935761
|
+
if (this.context.customConfig?.respectOptionalRequestBody !== true) {
|
|
935762
|
+
return false;
|
|
935763
|
+
}
|
|
935764
|
+
if (request7.bodyRequired !== false || request7.body == null) {
|
|
935765
|
+
return false;
|
|
935766
|
+
}
|
|
935767
|
+
if (!this.bodyParameterIsNilable({ body: request7.body })) {
|
|
935768
|
+
return false;
|
|
935769
|
+
}
|
|
935770
|
+
const value2 = snippet.requestBody;
|
|
935771
|
+
return value2 == null || typeof value2 === "object" && !Array.isArray(value2) && Object.keys(value2).length === 0;
|
|
935772
|
+
}
|
|
935773
|
+
/**
|
|
935774
|
+
* Whether the generated body parameter accepts nil, which mirrors the condition the SDK
|
|
935775
|
+
* generator applies before it lets a caller leave the body out. A value type keeps taking a
|
|
935776
|
+
* value, so an example for it must keep supplying one.
|
|
935777
|
+
*/
|
|
935778
|
+
bodyParameterIsNilable({ body }) {
|
|
935779
|
+
switch (body.type) {
|
|
935780
|
+
case "bytes":
|
|
935781
|
+
return true;
|
|
935782
|
+
case "typeReference":
|
|
935783
|
+
return this.context.dynamicTypeMapper.convert({ typeReference: body.value }).isNilable();
|
|
935784
|
+
default:
|
|
935785
|
+
assertNever(body);
|
|
935786
|
+
}
|
|
935787
|
+
}
|
|
935601
935788
|
getFileUploadRequestBodyStructFields({ filePropertyInfo }) {
|
|
935602
935789
|
const inlineFileProperties = this.context.customConfig?.inlineFileProperties ?? true;
|
|
935603
935790
|
if (inlineFileProperties) {
|
|
@@ -939650,7 +939837,13 @@ var EndpointSnippetGenerator3 = class {
|
|
|
939650
939837
|
getReferencedRequestBodyPropertyBuilderParameter({ body, value: value2 }) {
|
|
939651
939838
|
return {
|
|
939652
939839
|
name: this.context.getMethodName(body.bodyKey),
|
|
939653
|
-
|
|
939840
|
+
// The wrapped request requires the body, so an example that sends none still has to
|
|
939841
|
+
// build one. An empty record renders the body type's own empty builder, while the
|
|
939842
|
+
// other body types already render an empty value of their own from an absent one.
|
|
939843
|
+
value: this.getReferencedRequestBodyPropertyTypeLiteral({
|
|
939844
|
+
body: body.bodyType,
|
|
939845
|
+
value: body.bodyType.type === "typeReference" ? value2 ?? {} : value2
|
|
939846
|
+
})
|
|
939654
939847
|
};
|
|
939655
939848
|
}
|
|
939656
939849
|
getReferencedRequestBodyPropertyTypeLiteral({ body, value: value2 }) {
|
|
@@ -943117,7 +943310,8 @@ var EndpointSnippetGenerator4 = class {
|
|
|
943117
943310
|
}
|
|
943118
943311
|
this.context.errors.unscope();
|
|
943119
943312
|
this.context.errors.scope(Scope4.RequestBody);
|
|
943120
|
-
|
|
943313
|
+
const omitBody = optionalIrPathParameters.length === 0 && this.callOmitsRequestBody({ request: request7, snippet });
|
|
943314
|
+
if (request7.body != null && !omitBody) {
|
|
943121
943315
|
const bodyArg = this.getBodyRequestArg({ body: request7.body, value: snippet.requestBody });
|
|
943122
943316
|
if (!php_exports.TypeLiteral.isNop(bodyArg)) {
|
|
943123
943317
|
args.push(bodyArg);
|
|
@@ -943131,6 +943325,21 @@ var EndpointSnippetGenerator4 = class {
|
|
|
943131
943325
|
this.context.errors.unscope();
|
|
943132
943326
|
return args;
|
|
943133
943327
|
}
|
|
943328
|
+
/**
|
|
943329
|
+
* Whether the snippet's call leaves the request body out. `bodyRequired` absent means required,
|
|
943330
|
+
* so a snippet only drops the argument when the API says the body is optional, the generator is
|
|
943331
|
+
* configured to respect that, and the snippet supplies no body of its own.
|
|
943332
|
+
*/
|
|
943333
|
+
callOmitsRequestBody({ request: request7, snippet }) {
|
|
943334
|
+
if (this.context.customConfig?.respectOptionalRequestBody !== true) {
|
|
943335
|
+
return false;
|
|
943336
|
+
}
|
|
943337
|
+
if (request7.bodyRequired !== false) {
|
|
943338
|
+
return false;
|
|
943339
|
+
}
|
|
943340
|
+
const value2 = snippet.requestBody;
|
|
943341
|
+
return value2 == null || typeof value2 === "object" && !Array.isArray(value2) && Object.keys(value2).length === 0;
|
|
943342
|
+
}
|
|
943134
943343
|
getBodyRequestArg({ body, value: value2 }) {
|
|
943135
943344
|
switch (body.type) {
|
|
943136
943345
|
case "bytes": {
|
|
@@ -943260,7 +943469,12 @@ var EndpointSnippetGenerator4 = class {
|
|
|
943260
943469
|
getReferencedRequestBodyPropertyConstructorField({ body, value: value2 }) {
|
|
943261
943470
|
return {
|
|
943262
943471
|
name: this.context.getPropertyName(body.bodyKey),
|
|
943263
|
-
value: this.getReferencedRequestBodyPropertyTypeLiteral({
|
|
943472
|
+
value: this.getReferencedRequestBodyPropertyTypeLiteral({
|
|
943473
|
+
body: body.bodyType,
|
|
943474
|
+
// The generated wrapper requires the body, so an example that omits it still has to
|
|
943475
|
+
// construct one. Only an object body has an empty form to fall back on.
|
|
943476
|
+
value: body.bodyType.type === "typeReference" ? value2 ?? {} : value2
|
|
943477
|
+
})
|
|
943264
943478
|
};
|
|
943265
943479
|
}
|
|
943266
943480
|
getReferencedRequestBodyPropertyTypeLiteral({ body, value: value2 }) {
|
|
@@ -946072,8 +946286,8 @@ var EndpointSnippetGenerator5 = class {
|
|
|
946072
946286
|
this.context.errors.add({ severity: Severity.Warning, message });
|
|
946073
946287
|
}
|
|
946074
946288
|
getConstructorBasicAuthArg({ auth: auth8, values: values2 }) {
|
|
946075
|
-
const usernameOmitted =
|
|
946076
|
-
const passwordOmitted =
|
|
946289
|
+
const usernameOmitted = auth8.usernameOmit === true;
|
|
946290
|
+
const passwordOmitted = auth8.passwordOmit === true;
|
|
946077
946291
|
const args = [];
|
|
946078
946292
|
if (!usernameOmitted) {
|
|
946079
946293
|
args.push({
|
|
@@ -946202,8 +946416,9 @@ var EndpointSnippetGenerator5 = class {
|
|
|
946202
946416
|
const args = [];
|
|
946203
946417
|
this.context.errors.scope(Scope4.PathParameters);
|
|
946204
946418
|
const pathParameters = [...this.context.ir.pathParameters ?? [], ...request7.pathParameters ?? []];
|
|
946419
|
+
const omitsRequestBody = this.callOmitsRequestBody({ request: request7, snippet });
|
|
946205
946420
|
let bodyPropertyNames = /* @__PURE__ */ new Set();
|
|
946206
|
-
if (request7.body != null) {
|
|
946421
|
+
if (request7.body != null && !omitsRequestBody) {
|
|
946207
946422
|
const bodyArgs = this.getBodyRequestArgs({ body: request7.body, value: snippet.requestBody });
|
|
946208
946423
|
bodyPropertyNames = new Set(bodyArgs.map((arg) => arg.name));
|
|
946209
946424
|
if (request7.body.type === "typeReference") {
|
|
@@ -946233,12 +946448,26 @@ var EndpointSnippetGenerator5 = class {
|
|
|
946233
946448
|
}
|
|
946234
946449
|
this.context.errors.unscope();
|
|
946235
946450
|
this.context.errors.scope(Scope4.RequestBody);
|
|
946236
|
-
if (request7.body != null) {
|
|
946451
|
+
if (request7.body != null && !omitsRequestBody) {
|
|
946237
946452
|
args.push(...this.getBodyRequestArgs({ body: request7.body, value: snippet.requestBody }));
|
|
946238
946453
|
}
|
|
946239
946454
|
this.context.errors.unscope();
|
|
946240
946455
|
return args;
|
|
946241
946456
|
}
|
|
946457
|
+
/**
|
|
946458
|
+
* Whether the call leaves the body out entirely, which the sentinel default allows. Applies
|
|
946459
|
+
* only to a body the caller may omit, and only once the generator opts in to that.
|
|
946460
|
+
*/
|
|
946461
|
+
callOmitsRequestBody({ request: request7, snippet }) {
|
|
946462
|
+
if (this.context.customConfig.respect_optional_request_body !== true) {
|
|
946463
|
+
return false;
|
|
946464
|
+
}
|
|
946465
|
+
if (request7.bodyRequired !== false) {
|
|
946466
|
+
return false;
|
|
946467
|
+
}
|
|
946468
|
+
const value2 = snippet.requestBody;
|
|
946469
|
+
return value2 == null || typeof value2 === "object" && !Array.isArray(value2) && Object.keys(value2).length === 0;
|
|
946470
|
+
}
|
|
946242
946471
|
getBodyRequestArgs({ body, value: value2 }) {
|
|
946243
946472
|
switch (body.type) {
|
|
946244
946473
|
case "bytes":
|
|
@@ -949467,7 +949696,7 @@ var EndpointSnippetGenerator6 = class {
|
|
|
949467
949696
|
namedParameters: pathParameters,
|
|
949468
949697
|
values: snippet.pathParameters
|
|
949469
949698
|
}));
|
|
949470
|
-
if (request7.body != null && snippet.requestBody != null) {
|
|
949699
|
+
if (request7.body != null && snippet.requestBody != null && !this.callOmitsRequestBody({ request: request7, snippet })) {
|
|
949471
949700
|
switch (request7.body.type) {
|
|
949472
949701
|
case "bytes":
|
|
949473
949702
|
this.context.errors.add({
|
|
@@ -949516,6 +949745,21 @@ var EndpointSnippetGenerator6 = class {
|
|
|
949516
949745
|
}
|
|
949517
949746
|
return args;
|
|
949518
949747
|
}
|
|
949748
|
+
/**
|
|
949749
|
+
* When the generator is configured to respect optional request bodies and the IR marks
|
|
949750
|
+
* the body as optional, a snippet whose example has no body omits the body arguments
|
|
949751
|
+
* entirely rather than passing an empty object.
|
|
949752
|
+
*/
|
|
949753
|
+
callOmitsRequestBody({ request: request7, snippet }) {
|
|
949754
|
+
if (this.context.customConfig?.respectOptionalRequestBody !== true) {
|
|
949755
|
+
return false;
|
|
949756
|
+
}
|
|
949757
|
+
if (request7.bodyRequired !== false) {
|
|
949758
|
+
return false;
|
|
949759
|
+
}
|
|
949760
|
+
const value2 = snippet.requestBody;
|
|
949761
|
+
return value2 == null || typeof value2 === "object" && !Array.isArray(value2) && Object.keys(value2).length === 0;
|
|
949762
|
+
}
|
|
949519
949763
|
getBodyArgsForNonObjectType({ namedType, typeRef, bodyValue }) {
|
|
949520
949764
|
const args = [];
|
|
949521
949765
|
switch (namedType.type) {
|
|
@@ -973883,6 +974127,8 @@ var MethodConverter2 = class extends AbstractConverter {
|
|
|
973883
974127
|
contentType: "application/proto",
|
|
973884
974128
|
docs: void 0,
|
|
973885
974129
|
requestBodyType: requestBodyType.reference,
|
|
974130
|
+
// a gRPC method always carries a request message, and absent means required
|
|
974131
|
+
required: void 0,
|
|
973886
974132
|
v2Examples: void 0
|
|
973887
974133
|
}),
|
|
973888
974134
|
requestExample: void 0
|
|
@@ -976387,7 +976633,7 @@ function getAutomationContextFromEnv() {
|
|
|
976387
976633
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
976388
976634
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
976389
976635
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
976390
|
-
cli_version: "5.
|
|
976636
|
+
cli_version: "5.95.1"
|
|
976391
976637
|
};
|
|
976392
976638
|
}
|
|
976393
976639
|
function isAutomationMode() {
|
|
@@ -977219,7 +977465,7 @@ var CliContext = class _CliContext {
|
|
|
977219
977465
|
if (false) {
|
|
977220
977466
|
this.logger.error("CLI_VERSION is not defined");
|
|
977221
977467
|
}
|
|
977222
|
-
return "5.
|
|
977468
|
+
return "5.95.1";
|
|
977223
977469
|
}
|
|
977224
977470
|
getCliName() {
|
|
977225
977471
|
if (false) {
|
|
@@ -995244,7 +995490,7 @@ function addDocsThemeCommand(cli, cliContext) {
|
|
|
995244
995490
|
function addDocsThemeDeleteCommand(cli, cliContext) {
|
|
995245
995491
|
cli.command(
|
|
995246
995492
|
"delete",
|
|
995247
|
-
|
|
995493
|
+
"Delete a theme from Fern's cloud",
|
|
995248
995494
|
(yargs) => yargs.option("name", {
|
|
995249
995495
|
alias: "n",
|
|
995250
995496
|
type: "string",
|