@fern-api/dynamic-ir-sdk 65.2.0 → 65.2.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.
Files changed (89) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/dynamic/resources/auth/types/HeaderAuthValues.d.ts +1 -1
  3. package/dist/cjs/api/resources/dynamic/resources/auth/types/InferredAuth.d.ts +1 -1
  4. package/dist/cjs/api/resources/dynamic/resources/auth/types/InferredAuthValues.d.ts +1 -1
  5. package/dist/cjs/api/resources/dynamic/resources/commons/types/FernFilepath.d.ts +1 -1
  6. package/dist/cjs/api/resources/dynamic/resources/commons/types/WithDocs.d.ts +1 -1
  7. package/dist/cjs/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +2 -2
  8. package/dist/cjs/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +2 -2
  9. package/dist/cjs/api/resources/dynamic/resources/endpoints/types/EndpointExample.d.ts +1 -1
  10. package/dist/cjs/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +5 -5
  11. package/dist/cjs/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.d.ts +1 -1
  12. package/dist/cjs/api/resources/dynamic/resources/ir/types/CratesPublishInfo.d.ts +1 -1
  13. package/dist/cjs/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +5 -5
  14. package/dist/cjs/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.ts +1 -1
  15. package/dist/cjs/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.ts +1 -1
  16. package/dist/cjs/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.ts +1 -1
  17. package/dist/cjs/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.ts +1 -1
  18. package/dist/cjs/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.ts +1 -1
  19. package/dist/cjs/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.ts +1 -1
  20. package/dist/cjs/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.d.ts +7 -7
  21. package/dist/cjs/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.d.ts +1 -1
  22. package/dist/cjs/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +2 -2
  23. package/dist/cjs/api/resources/dynamic/resources/types/types/ObjectType.d.ts +2 -2
  24. package/dist/cjs/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +1 -1
  25. package/dist/cjs/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +1 -1
  26. package/dist/cjs/api/resources/generatorExec/resources/config/types/CratesGithubPublishInfo.d.ts +1 -1
  27. package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +5 -5
  28. package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +3 -3
  29. package/dist/cjs/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +1 -1
  30. package/dist/cjs/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +3 -3
  31. package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +2 -2
  32. package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +1 -1
  33. package/dist/cjs/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +1 -1
  34. package/dist/cjs/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +1 -1
  35. package/dist/cjs/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +1 -1
  36. package/dist/cjs/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +2 -2
  37. package/dist/cjs/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +4 -4
  38. package/dist/cjs/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +2 -2
  39. package/dist/cjs/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +3 -3
  40. package/dist/cjs/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +1 -1
  41. package/dist/cjs/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +1 -1
  42. package/dist/cjs/core/fetcher/Fetcher.js +7 -1
  43. package/dist/cjs/version.d.ts +1 -1
  44. package/dist/cjs/version.js +1 -1
  45. package/dist/esm/BaseClient.mjs +2 -2
  46. package/dist/esm/api/resources/dynamic/resources/auth/types/HeaderAuthValues.d.mts +1 -1
  47. package/dist/esm/api/resources/dynamic/resources/auth/types/InferredAuth.d.mts +1 -1
  48. package/dist/esm/api/resources/dynamic/resources/auth/types/InferredAuthValues.d.mts +1 -1
  49. package/dist/esm/api/resources/dynamic/resources/commons/types/FernFilepath.d.mts +1 -1
  50. package/dist/esm/api/resources/dynamic/resources/commons/types/WithDocs.d.mts +1 -1
  51. package/dist/esm/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.mts +2 -2
  52. package/dist/esm/api/resources/dynamic/resources/endpoints/types/Endpoint.d.mts +2 -2
  53. package/dist/esm/api/resources/dynamic/resources/endpoints/types/EndpointExample.d.mts +1 -1
  54. package/dist/esm/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.mts +5 -5
  55. package/dist/esm/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.d.mts +1 -1
  56. package/dist/esm/api/resources/dynamic/resources/ir/types/CratesPublishInfo.d.mts +1 -1
  57. package/dist/esm/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.mts +5 -5
  58. package/dist/esm/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.mts +1 -1
  59. package/dist/esm/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.mts +1 -1
  60. package/dist/esm/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.mts +1 -1
  61. package/dist/esm/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.mts +1 -1
  62. package/dist/esm/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.mts +1 -1
  63. package/dist/esm/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.mts +1 -1
  64. package/dist/esm/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.d.mts +7 -7
  65. package/dist/esm/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.d.mts +1 -1
  66. package/dist/esm/api/resources/dynamic/resources/types/types/NamedParameter.d.mts +2 -2
  67. package/dist/esm/api/resources/dynamic/resources/types/types/ObjectType.d.mts +2 -2
  68. package/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.mts +1 -1
  69. package/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.mts +1 -1
  70. package/dist/esm/api/resources/generatorExec/resources/config/types/CratesGithubPublishInfo.d.mts +1 -1
  71. package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.mts +5 -5
  72. package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.mts +3 -3
  73. package/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.mts +1 -1
  74. package/dist/esm/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.mts +3 -3
  75. package/dist/esm/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.mts +2 -2
  76. package/dist/esm/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.mts +1 -1
  77. package/dist/esm/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.mts +1 -1
  78. package/dist/esm/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.mts +1 -1
  79. package/dist/esm/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.mts +1 -1
  80. package/dist/esm/api/resources/generatorExec/resources/config/types/OutputMetadata.d.mts +2 -2
  81. package/dist/esm/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.mts +4 -4
  82. package/dist/esm/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.mts +2 -2
  83. package/dist/esm/api/resources/generatorExec/resources/config/types/PypiMetadata.d.mts +3 -3
  84. package/dist/esm/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.mts +1 -1
  85. package/dist/esm/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.mts +1 -1
  86. package/dist/esm/core/fetcher/Fetcher.mjs +7 -1
  87. package/dist/esm/version.d.mts +1 -1
  88. package/dist/esm/version.mjs +1 -1
  89. package/package.json +2 -2
@@ -41,8 +41,8 @@ function normalizeClientOptions(options) {
41
41
  const headers = (0, headers_js_1.mergeHeaders)({
42
42
  "X-Fern-Language": "JavaScript",
43
43
  "X-Fern-SDK-Name": "@fern-api/dynamic-ir-sdk",
44
- "X-Fern-SDK-Version": "65.2.0",
45
- "User-Agent": "@fern-api/dynamic-ir-sdk/65.2.0",
44
+ "X-Fern-SDK-Version": "65.2.1",
45
+ "User-Agent": "@fern-api/dynamic-ir-sdk/65.2.1",
46
46
  "X-Fern-Runtime": core.RUNTIME.type,
47
47
  "X-Fern-Runtime-Version": core.RUNTIME.version,
48
48
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,3 +1,3 @@
1
1
  export interface HeaderAuthValues {
2
- value?: unknown;
2
+ value?: unknown | undefined;
3
3
  }
@@ -5,5 +5,5 @@ import type * as FernIr from "../../../../../index.js";
5
5
  */
6
6
  export interface InferredAuth {
7
7
  /** List of parameters (from token endpoint) needed for auth, including their types. */
8
- parameters?: FernIr.dynamic.NamedParameter[];
8
+ parameters?: FernIr.dynamic.NamedParameter[] | undefined;
9
9
  }
@@ -4,5 +4,5 @@
4
4
  */
5
5
  export interface InferredAuthValues {
6
6
  /** Map of wire values to their example values for snippets. */
7
- values?: Record<string, unknown>;
7
+ values?: Record<string, unknown> | undefined;
8
8
  }
@@ -2,5 +2,5 @@ import type * as FernIr from "../../../../../index.js";
2
2
  export interface FernFilepath {
3
3
  allParts: FernIr.dynamic.Name[];
4
4
  packagePath: FernIr.dynamic.Name[];
5
- file?: FernIr.dynamic.Name;
5
+ file?: FernIr.dynamic.Name | undefined;
6
6
  }
@@ -1,3 +1,3 @@
1
1
  export interface WithDocs {
2
- docs?: string;
2
+ docs?: string | undefined;
3
3
  }
@@ -1,5 +1,5 @@
1
1
  import type * as FernIr from "../../../../../index.js";
2
2
  export interface BodyRequest {
3
- pathParameters?: FernIr.dynamic.NamedParameter[];
4
- body?: FernIr.dynamic.ReferencedRequestBodyType;
3
+ pathParameters?: FernIr.dynamic.NamedParameter[] | undefined;
4
+ body?: FernIr.dynamic.ReferencedRequestBodyType | undefined;
5
5
  }
@@ -1,9 +1,9 @@
1
1
  import type * as FernIr from "../../../../../index.js";
2
2
  export interface Endpoint {
3
- auth?: FernIr.dynamic.Auth;
3
+ auth?: FernIr.dynamic.Auth | undefined;
4
4
  declaration: FernIr.dynamic.Declaration;
5
5
  location: FernIr.dynamic.EndpointLocation;
6
6
  request: FernIr.dynamic.Request;
7
7
  response: FernIr.dynamic.Response;
8
- examples?: FernIr.dynamic.EndpointExample[];
8
+ examples?: FernIr.dynamic.EndpointExample[] | undefined;
9
9
  }
@@ -3,5 +3,5 @@ export interface EndpointExample extends FernIr.dynamic.EndpointSnippetRequest {
3
3
  /** The unique identifier for the example. */
4
4
  id: string;
5
5
  /** The name of the example, if any. */
6
- name?: string;
6
+ name?: string | undefined;
7
7
  }
@@ -1,9 +1,9 @@
1
1
  import type * as FernIr from "../../../../../index.js";
2
2
  export interface InlinedRequest {
3
3
  declaration: FernIr.dynamic.Declaration;
4
- pathParameters?: FernIr.dynamic.NamedParameter[];
5
- queryParameters?: FernIr.dynamic.NamedParameter[];
6
- headers?: FernIr.dynamic.NamedParameter[];
7
- body?: FernIr.dynamic.InlinedRequestBody;
8
- metadata?: FernIr.dynamic.InlinedRequestMetadata;
4
+ pathParameters?: FernIr.dynamic.NamedParameter[] | undefined;
5
+ queryParameters?: FernIr.dynamic.NamedParameter[] | undefined;
6
+ headers?: FernIr.dynamic.NamedParameter[] | undefined;
7
+ body?: FernIr.dynamic.InlinedRequestBody | undefined;
8
+ metadata?: FernIr.dynamic.InlinedRequestMetadata | undefined;
9
9
  }
@@ -1,5 +1,5 @@
1
1
  import type * as FernIr from "../../../../../index.js";
2
2
  export interface EnvironmentsConfig {
3
- defaultEnvironment?: FernIr.dynamic.EnvironmentId;
3
+ defaultEnvironment?: FernIr.dynamic.EnvironmentId | undefined;
4
4
  environments: FernIr.dynamic.Environments;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export interface CratesPublishInfo {
2
2
  version: string;
3
3
  packageName: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -13,22 +13,22 @@ export interface DynamicIntermediateRepresentation {
13
13
  version: "1.0.0";
14
14
  types: Record<FernIr.dynamic.TypeId, FernIr.dynamic.NamedType>;
15
15
  endpoints: Record<FernIr.dynamic.EndpointId, FernIr.dynamic.Endpoint>;
16
- environments?: FernIr.dynamic.EnvironmentsConfig;
16
+ environments?: FernIr.dynamic.EnvironmentsConfig | undefined;
17
17
  /**
18
18
  * The headers that are required on every request. These headers
19
19
  * are typically included in the SDK's client constructor.
20
20
  */
21
- headers?: FernIr.dynamic.NamedParameter[];
21
+ headers?: FernIr.dynamic.NamedParameter[] | undefined;
22
22
  /**
23
23
  * The path parameters that are required on every request. These
24
24
  * path parameters are typically included in the SDK's client
25
25
  * constructor.
26
26
  */
27
- pathParameters?: FernIr.dynamic.NamedParameter[];
27
+ pathParameters?: FernIr.dynamic.NamedParameter[] | undefined;
28
28
  /**
29
29
  * Variables that are configured at the client level and can be
30
30
  * referenced in path parameters and other contexts.
31
31
  */
32
- variables?: FernIr.dynamic.VariableDeclaration[];
33
- generatorConfig?: FernIr.dynamic.GeneratorConfig;
32
+ variables?: FernIr.dynamic.VariableDeclaration[] | undefined;
33
+ generatorConfig?: FernIr.dynamic.GeneratorConfig | undefined;
34
34
  }
@@ -10,6 +10,6 @@ export interface GeneratorConfig {
10
10
  */
11
11
  apiName: string;
12
12
  organization: string;
13
- customConfig?: unknown;
13
+ customConfig?: unknown | undefined;
14
14
  outputConfig: FernIr.dynamic.GeneratorOutputConfig;
15
15
  }
@@ -1,5 +1,5 @@
1
1
  export interface MavenPublishInfo {
2
2
  version: string;
3
3
  coordinate: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export interface NpmPublishInfo {
2
2
  version: string;
3
3
  packageName: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export interface NugetPublishInfo {
2
2
  version: string;
3
3
  packageName: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export interface PypiPublishInfo {
2
2
  version: string;
3
3
  packageName: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export interface RubyGemsPublishInfo {
2
2
  version: string;
3
3
  packageName: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -4,11 +4,11 @@ import type * as FernIr from "../../../../../index.js";
4
4
  */
5
5
  export interface EndpointSnippetRequest {
6
6
  endpoint: FernIr.dynamic.EndpointLocation;
7
- baseURL?: string;
8
- environment?: FernIr.dynamic.EnvironmentValues;
9
- auth?: FernIr.dynamic.AuthValues;
10
- pathParameters?: FernIr.dynamic.Values;
11
- queryParameters?: FernIr.dynamic.Values;
12
- headers?: FernIr.dynamic.Values;
13
- requestBody?: unknown;
7
+ baseURL?: string | undefined;
8
+ environment?: FernIr.dynamic.EnvironmentValues | undefined;
9
+ auth?: FernIr.dynamic.AuthValues | undefined;
10
+ pathParameters?: FernIr.dynamic.Values | undefined;
11
+ queryParameters?: FernIr.dynamic.Values | undefined;
12
+ headers?: FernIr.dynamic.Values | undefined;
13
+ requestBody?: unknown | undefined;
14
14
  }
@@ -8,5 +8,5 @@ import type * as FernIr from "../../../../../index.js";
8
8
  */
9
9
  export interface EndpointSnippetResponse {
10
10
  snippet: string;
11
- errors?: FernIr.dynamic.Error_[];
11
+ errors?: FernIr.dynamic.Error_[] | undefined;
12
12
  }
@@ -2,7 +2,7 @@ import type * as FernIr from "../../../../../index.js";
2
2
  export interface NamedParameter {
3
3
  name: FernIr.dynamic.NameAndWireValue;
4
4
  typeReference: FernIr.dynamic.TypeReference;
5
- propertyAccess?: FernIr.dynamic.ObjectPropertyAccess;
5
+ propertyAccess?: FernIr.dynamic.ObjectPropertyAccess | undefined;
6
6
  /** If set, this parameter references a variable defined at the client level */
7
- variable?: string;
7
+ variable?: string | undefined;
8
8
  }
@@ -6,7 +6,7 @@ export interface ObjectType {
6
6
  * List of type IDs that this object extends. Used by generators that need to
7
7
  * handle inheritance patterns differently (e.g., Rust uses flattened wrapper fields).
8
8
  */
9
- extends?: FernIr.dynamic.TypeId[];
9
+ extends?: FernIr.dynamic.TypeId[] | undefined;
10
10
  /** Whether the type allows additional properties. */
11
- additionalProperties?: boolean;
11
+ additionalProperties?: boolean | undefined;
12
12
  }
@@ -2,5 +2,5 @@ import type * as FernIr from "../../../../../index.js";
2
2
  export interface SingleDiscriminatedUnionTypeNoProperties {
3
3
  discriminantValue: FernIr.dynamic.NameAndWireValue;
4
4
  /** Any properties included here are the base and/or extended properties from the union. */
5
- properties?: FernIr.dynamic.NamedParameter[];
5
+ properties?: FernIr.dynamic.NamedParameter[] | undefined;
6
6
  }
@@ -3,5 +3,5 @@ export interface SingleDiscriminatedUnionTypeSingleProperty {
3
3
  typeReference: FernIr.dynamic.TypeReference;
4
4
  discriminantValue: FernIr.dynamic.NameAndWireValue;
5
5
  /** Any properties included here are the base and/or extended properties from the union. */
6
- properties?: FernIr.dynamic.NamedParameter[];
6
+ properties?: FernIr.dynamic.NamedParameter[] | undefined;
7
7
  }
@@ -3,5 +3,5 @@ export interface CratesGithubPublishInfo {
3
3
  registryUrl: string;
4
4
  packageName: string;
5
5
  tokenEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
- shouldGeneratePublishWorkflow?: boolean;
6
+ shouldGeneratePublishWorkflow?: boolean | undefined;
7
7
  }
@@ -2,17 +2,17 @@ import type * as FernIr from "../../../../../index.js";
2
2
  export interface GeneratorConfig {
3
3
  dryRun: boolean;
4
4
  irFilepath: string;
5
- originalReadmeFilepath?: string;
6
- license?: FernIr.generatorExec.LicenseConfig;
5
+ originalReadmeFilepath?: string | undefined;
6
+ license?: FernIr.generatorExec.LicenseConfig | undefined;
7
7
  output: FernIr.generatorExec.GeneratorOutputConfig;
8
8
  /** Deprecated. Use output.mode instead. */
9
- publish?: FernIr.generatorExec.GeneratorPublishConfig;
9
+ publish?: FernIr.generatorExec.GeneratorPublishConfig | undefined;
10
10
  workspaceName: string;
11
11
  organization: string;
12
- customConfig?: unknown;
12
+ customConfig?: unknown | undefined;
13
13
  environment: FernIr.generatorExec.GeneratorEnvironment;
14
14
  whitelabel: boolean;
15
15
  writeUnitTests: boolean;
16
- generatePaginatedClients?: boolean;
16
+ generatePaginatedClients?: boolean | undefined;
17
17
  generateOauthClients: boolean;
18
18
  }
@@ -1,8 +1,8 @@
1
1
  import type * as FernIr from "../../../../../index.js";
2
2
  export interface GeneratorOutputConfig {
3
3
  path: string;
4
- snippetFilepath?: string;
5
- snippetTemplateFilepath?: string;
6
- publishingMetadata?: FernIr.generatorExec.PublishingMetadata;
4
+ snippetFilepath?: string | undefined;
5
+ snippetTemplateFilepath?: string | undefined;
6
+ publishingMetadata?: FernIr.generatorExec.PublishingMetadata | undefined;
7
7
  mode: FernIr.generatorExec.OutputMode;
8
8
  }
@@ -4,6 +4,6 @@ export interface GeneratorPublishConfig {
4
4
  registries: FernIr.generatorExec.GeneratorRegistriesConfig;
5
5
  /** Deprecated, use publishTargets instead. */
6
6
  registriesV2: FernIr.generatorExec.GeneratorRegistriesConfigV2;
7
- publishTarget?: FernIr.generatorExec.GeneratorPublishTarget;
7
+ publishTarget?: FernIr.generatorExec.GeneratorPublishTarget | undefined;
8
8
  version: string;
9
9
  }
@@ -7,8 +7,8 @@ export interface GithubOutputMode {
7
7
  * The token scoped to installing the repository. If not specified, the generator
8
8
  * should NOT attempt to clone the repository.
9
9
  */
10
- installationToken?: string;
10
+ installationToken?: string | undefined;
11
11
  /** The branch to use for README cloning. Defaults to the repository's default branch when omitted. */
12
- branch?: string;
13
- publishInfo?: FernIr.generatorExec.GithubPublishInfo;
12
+ branch?: string | undefined;
13
+ publishInfo?: FernIr.generatorExec.GithubPublishInfo | undefined;
14
14
  }
@@ -4,6 +4,6 @@ export interface MavenGithubPublishInfo {
4
4
  coordinate: string;
5
5
  usernameEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
6
  passwordEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
7
- signature?: FernIr.generatorExec.MavenCentralSignatureGithubInfo;
8
- shouldGeneratePublishWorkflow?: boolean;
7
+ signature?: FernIr.generatorExec.MavenCentralSignatureGithubInfo | undefined;
8
+ shouldGeneratePublishWorkflow?: boolean | undefined;
9
9
  }
@@ -4,5 +4,5 @@ export interface MavenRegistryConfig {
4
4
  username: string;
5
5
  password: string;
6
6
  group: string;
7
- signature?: FernIr.generatorExec.MavenCentralSignature;
7
+ signature?: FernIr.generatorExec.MavenCentralSignature | undefined;
8
8
  }
@@ -4,5 +4,5 @@ export interface MavenRegistryConfigV2 {
4
4
  username: string;
5
5
  password: string;
6
6
  coordinate: string;
7
- signature?: FernIr.generatorExec.MavenCentralSignature;
7
+ signature?: FernIr.generatorExec.MavenCentralSignature | undefined;
8
8
  }
@@ -3,5 +3,5 @@ export interface NpmGithubPublishInfo {
3
3
  registryUrl: string;
4
4
  packageName: string;
5
5
  tokenEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
- shouldGeneratePublishWorkflow?: boolean;
6
+ shouldGeneratePublishWorkflow?: boolean | undefined;
7
7
  }
@@ -3,5 +3,5 @@ export interface NugetGithubPublishInfo {
3
3
  registryUrl: string;
4
4
  packageName: string;
5
5
  apiKeyEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
- shouldGeneratePublishWorkflow?: boolean;
6
+ shouldGeneratePublishWorkflow?: boolean | undefined;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import type * as FernIr from "../../../../../index.js";
2
2
  export interface OutputMetadata {
3
- description?: string;
4
- authors?: FernIr.generatorExec.OutputMetadataAuthor[];
3
+ description?: string | undefined;
4
+ authors?: FernIr.generatorExec.OutputMetadataAuthor[] | undefined;
5
5
  }
@@ -2,8 +2,8 @@
2
2
  * This should effectively be deprecated in favor of a more specific configuration per-output mode (pypi, maven, etc.).
3
3
  */
4
4
  export interface PublishingMetadata {
5
- package_description?: string;
6
- publisher_email?: string;
7
- reference_url?: string;
8
- publisher_name?: string;
5
+ package_description?: string | undefined;
6
+ publisher_email?: string | undefined;
7
+ reference_url?: string | undefined;
8
+ publisher_name?: string | undefined;
9
9
  }
@@ -4,6 +4,6 @@ export interface PypiGithubPublishInfo {
4
4
  packageName: string;
5
5
  usernameEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
6
  passwordEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
7
- pypiMetadata?: FernIr.generatorExec.PypiMetadata;
8
- shouldGeneratePublishWorkflow?: boolean;
7
+ pypiMetadata?: FernIr.generatorExec.PypiMetadata | undefined;
8
+ shouldGeneratePublishWorkflow?: boolean | undefined;
9
9
  }
@@ -1,6 +1,6 @@
1
1
  import type * as FernIr from "../../../../../index.js";
2
2
  export interface PypiMetadata extends FernIr.generatorExec.OutputMetadata {
3
- keywords?: string[];
4
- documentationLink?: string;
5
- homepageLink?: string;
3
+ keywords?: string[] | undefined;
4
+ documentationLink?: string | undefined;
5
+ homepageLink?: string | undefined;
6
6
  }
@@ -4,5 +4,5 @@ export interface PypiRegistryConfig {
4
4
  username: string;
5
5
  password: string;
6
6
  packageName: string;
7
- pypiMetadata?: FernIr.generatorExec.PypiMetadata;
7
+ pypiMetadata?: FernIr.generatorExec.PypiMetadata | undefined;
8
8
  }
@@ -3,5 +3,5 @@ export interface RubyGemsGithubPublishInfo {
3
3
  registryUrl: string;
4
4
  packageName: string;
5
5
  apiKeyEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
- shouldGeneratePublishWorkflow?: boolean;
6
+ shouldGeneratePublishWorkflow?: boolean | undefined;
7
7
  }
@@ -156,7 +156,13 @@ function getHeaders(args) {
156
156
  return __awaiter(this, void 0, void 0, function* () {
157
157
  var _a;
158
158
  const newHeaders = new Headers_js_1.Headers();
159
- newHeaders.set("Accept", args.responseType === "json" ? "application/json" : args.responseType === "text" ? "text/plain" : "*/*");
159
+ newHeaders.set("Accept", args.responseType === "json"
160
+ ? "application/json"
161
+ : args.responseType === "text"
162
+ ? "text/plain"
163
+ : args.responseType === "sse"
164
+ ? "text/event-stream"
165
+ : "*/*");
160
166
  if (args.body !== undefined && args.contentType != null) {
161
167
  newHeaders.set("Content-Type", args.contentType);
162
168
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "65.2.0";
1
+ export declare const SDK_VERSION = "65.2.1";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "65.2.0";
4
+ exports.SDK_VERSION = "65.2.1";
@@ -5,8 +5,8 @@ export function normalizeClientOptions(options) {
5
5
  const headers = mergeHeaders({
6
6
  "X-Fern-Language": "JavaScript",
7
7
  "X-Fern-SDK-Name": "@fern-api/dynamic-ir-sdk",
8
- "X-Fern-SDK-Version": "65.2.0",
9
- "User-Agent": "@fern-api/dynamic-ir-sdk/65.2.0",
8
+ "X-Fern-SDK-Version": "65.2.1",
9
+ "User-Agent": "@fern-api/dynamic-ir-sdk/65.2.1",
10
10
  "X-Fern-Runtime": core.RUNTIME.type,
11
11
  "X-Fern-Runtime-Version": core.RUNTIME.version,
12
12
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,3 +1,3 @@
1
1
  export interface HeaderAuthValues {
2
- value?: unknown;
2
+ value?: unknown | undefined;
3
3
  }
@@ -5,5 +5,5 @@ import type * as FernIr from "../../../../../index.mjs";
5
5
  */
6
6
  export interface InferredAuth {
7
7
  /** List of parameters (from token endpoint) needed for auth, including their types. */
8
- parameters?: FernIr.dynamic.NamedParameter[];
8
+ parameters?: FernIr.dynamic.NamedParameter[] | undefined;
9
9
  }
@@ -4,5 +4,5 @@
4
4
  */
5
5
  export interface InferredAuthValues {
6
6
  /** Map of wire values to their example values for snippets. */
7
- values?: Record<string, unknown>;
7
+ values?: Record<string, unknown> | undefined;
8
8
  }
@@ -2,5 +2,5 @@ import type * as FernIr from "../../../../../index.mjs";
2
2
  export interface FernFilepath {
3
3
  allParts: FernIr.dynamic.Name[];
4
4
  packagePath: FernIr.dynamic.Name[];
5
- file?: FernIr.dynamic.Name;
5
+ file?: FernIr.dynamic.Name | undefined;
6
6
  }
@@ -1,3 +1,3 @@
1
1
  export interface WithDocs {
2
- docs?: string;
2
+ docs?: string | undefined;
3
3
  }
@@ -1,5 +1,5 @@
1
1
  import type * as FernIr from "../../../../../index.mjs";
2
2
  export interface BodyRequest {
3
- pathParameters?: FernIr.dynamic.NamedParameter[];
4
- body?: FernIr.dynamic.ReferencedRequestBodyType;
3
+ pathParameters?: FernIr.dynamic.NamedParameter[] | undefined;
4
+ body?: FernIr.dynamic.ReferencedRequestBodyType | undefined;
5
5
  }
@@ -1,9 +1,9 @@
1
1
  import type * as FernIr from "../../../../../index.mjs";
2
2
  export interface Endpoint {
3
- auth?: FernIr.dynamic.Auth;
3
+ auth?: FernIr.dynamic.Auth | undefined;
4
4
  declaration: FernIr.dynamic.Declaration;
5
5
  location: FernIr.dynamic.EndpointLocation;
6
6
  request: FernIr.dynamic.Request;
7
7
  response: FernIr.dynamic.Response;
8
- examples?: FernIr.dynamic.EndpointExample[];
8
+ examples?: FernIr.dynamic.EndpointExample[] | undefined;
9
9
  }
@@ -3,5 +3,5 @@ export interface EndpointExample extends FernIr.dynamic.EndpointSnippetRequest {
3
3
  /** The unique identifier for the example. */
4
4
  id: string;
5
5
  /** The name of the example, if any. */
6
- name?: string;
6
+ name?: string | undefined;
7
7
  }
@@ -1,9 +1,9 @@
1
1
  import type * as FernIr from "../../../../../index.mjs";
2
2
  export interface InlinedRequest {
3
3
  declaration: FernIr.dynamic.Declaration;
4
- pathParameters?: FernIr.dynamic.NamedParameter[];
5
- queryParameters?: FernIr.dynamic.NamedParameter[];
6
- headers?: FernIr.dynamic.NamedParameter[];
7
- body?: FernIr.dynamic.InlinedRequestBody;
8
- metadata?: FernIr.dynamic.InlinedRequestMetadata;
4
+ pathParameters?: FernIr.dynamic.NamedParameter[] | undefined;
5
+ queryParameters?: FernIr.dynamic.NamedParameter[] | undefined;
6
+ headers?: FernIr.dynamic.NamedParameter[] | undefined;
7
+ body?: FernIr.dynamic.InlinedRequestBody | undefined;
8
+ metadata?: FernIr.dynamic.InlinedRequestMetadata | undefined;
9
9
  }
@@ -1,5 +1,5 @@
1
1
  import type * as FernIr from "../../../../../index.mjs";
2
2
  export interface EnvironmentsConfig {
3
- defaultEnvironment?: FernIr.dynamic.EnvironmentId;
3
+ defaultEnvironment?: FernIr.dynamic.EnvironmentId | undefined;
4
4
  environments: FernIr.dynamic.Environments;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export interface CratesPublishInfo {
2
2
  version: string;
3
3
  packageName: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -13,22 +13,22 @@ export interface DynamicIntermediateRepresentation {
13
13
  version: "1.0.0";
14
14
  types: Record<FernIr.dynamic.TypeId, FernIr.dynamic.NamedType>;
15
15
  endpoints: Record<FernIr.dynamic.EndpointId, FernIr.dynamic.Endpoint>;
16
- environments?: FernIr.dynamic.EnvironmentsConfig;
16
+ environments?: FernIr.dynamic.EnvironmentsConfig | undefined;
17
17
  /**
18
18
  * The headers that are required on every request. These headers
19
19
  * are typically included in the SDK's client constructor.
20
20
  */
21
- headers?: FernIr.dynamic.NamedParameter[];
21
+ headers?: FernIr.dynamic.NamedParameter[] | undefined;
22
22
  /**
23
23
  * The path parameters that are required on every request. These
24
24
  * path parameters are typically included in the SDK's client
25
25
  * constructor.
26
26
  */
27
- pathParameters?: FernIr.dynamic.NamedParameter[];
27
+ pathParameters?: FernIr.dynamic.NamedParameter[] | undefined;
28
28
  /**
29
29
  * Variables that are configured at the client level and can be
30
30
  * referenced in path parameters and other contexts.
31
31
  */
32
- variables?: FernIr.dynamic.VariableDeclaration[];
33
- generatorConfig?: FernIr.dynamic.GeneratorConfig;
32
+ variables?: FernIr.dynamic.VariableDeclaration[] | undefined;
33
+ generatorConfig?: FernIr.dynamic.GeneratorConfig | undefined;
34
34
  }
@@ -10,6 +10,6 @@ export interface GeneratorConfig {
10
10
  */
11
11
  apiName: string;
12
12
  organization: string;
13
- customConfig?: unknown;
13
+ customConfig?: unknown | undefined;
14
14
  outputConfig: FernIr.dynamic.GeneratorOutputConfig;
15
15
  }
@@ -1,5 +1,5 @@
1
1
  export interface MavenPublishInfo {
2
2
  version: string;
3
3
  coordinate: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export interface NpmPublishInfo {
2
2
  version: string;
3
3
  packageName: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export interface NugetPublishInfo {
2
2
  version: string;
3
3
  packageName: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export interface PypiPublishInfo {
2
2
  version: string;
3
3
  packageName: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export interface RubyGemsPublishInfo {
2
2
  version: string;
3
3
  packageName: string;
4
- repoUrl?: string;
4
+ repoUrl?: string | undefined;
5
5
  }
@@ -4,11 +4,11 @@ import type * as FernIr from "../../../../../index.mjs";
4
4
  */
5
5
  export interface EndpointSnippetRequest {
6
6
  endpoint: FernIr.dynamic.EndpointLocation;
7
- baseURL?: string;
8
- environment?: FernIr.dynamic.EnvironmentValues;
9
- auth?: FernIr.dynamic.AuthValues;
10
- pathParameters?: FernIr.dynamic.Values;
11
- queryParameters?: FernIr.dynamic.Values;
12
- headers?: FernIr.dynamic.Values;
13
- requestBody?: unknown;
7
+ baseURL?: string | undefined;
8
+ environment?: FernIr.dynamic.EnvironmentValues | undefined;
9
+ auth?: FernIr.dynamic.AuthValues | undefined;
10
+ pathParameters?: FernIr.dynamic.Values | undefined;
11
+ queryParameters?: FernIr.dynamic.Values | undefined;
12
+ headers?: FernIr.dynamic.Values | undefined;
13
+ requestBody?: unknown | undefined;
14
14
  }
@@ -8,5 +8,5 @@ import type * as FernIr from "../../../../../index.mjs";
8
8
  */
9
9
  export interface EndpointSnippetResponse {
10
10
  snippet: string;
11
- errors?: FernIr.dynamic.Error_[];
11
+ errors?: FernIr.dynamic.Error_[] | undefined;
12
12
  }
@@ -2,7 +2,7 @@ import type * as FernIr from "../../../../../index.mjs";
2
2
  export interface NamedParameter {
3
3
  name: FernIr.dynamic.NameAndWireValue;
4
4
  typeReference: FernIr.dynamic.TypeReference;
5
- propertyAccess?: FernIr.dynamic.ObjectPropertyAccess;
5
+ propertyAccess?: FernIr.dynamic.ObjectPropertyAccess | undefined;
6
6
  /** If set, this parameter references a variable defined at the client level */
7
- variable?: string;
7
+ variable?: string | undefined;
8
8
  }
@@ -6,7 +6,7 @@ export interface ObjectType {
6
6
  * List of type IDs that this object extends. Used by generators that need to
7
7
  * handle inheritance patterns differently (e.g., Rust uses flattened wrapper fields).
8
8
  */
9
- extends?: FernIr.dynamic.TypeId[];
9
+ extends?: FernIr.dynamic.TypeId[] | undefined;
10
10
  /** Whether the type allows additional properties. */
11
- additionalProperties?: boolean;
11
+ additionalProperties?: boolean | undefined;
12
12
  }
@@ -2,5 +2,5 @@ import type * as FernIr from "../../../../../index.mjs";
2
2
  export interface SingleDiscriminatedUnionTypeNoProperties {
3
3
  discriminantValue: FernIr.dynamic.NameAndWireValue;
4
4
  /** Any properties included here are the base and/or extended properties from the union. */
5
- properties?: FernIr.dynamic.NamedParameter[];
5
+ properties?: FernIr.dynamic.NamedParameter[] | undefined;
6
6
  }
@@ -3,5 +3,5 @@ export interface SingleDiscriminatedUnionTypeSingleProperty {
3
3
  typeReference: FernIr.dynamic.TypeReference;
4
4
  discriminantValue: FernIr.dynamic.NameAndWireValue;
5
5
  /** Any properties included here are the base and/or extended properties from the union. */
6
- properties?: FernIr.dynamic.NamedParameter[];
6
+ properties?: FernIr.dynamic.NamedParameter[] | undefined;
7
7
  }
@@ -3,5 +3,5 @@ export interface CratesGithubPublishInfo {
3
3
  registryUrl: string;
4
4
  packageName: string;
5
5
  tokenEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
- shouldGeneratePublishWorkflow?: boolean;
6
+ shouldGeneratePublishWorkflow?: boolean | undefined;
7
7
  }
@@ -2,17 +2,17 @@ import type * as FernIr from "../../../../../index.mjs";
2
2
  export interface GeneratorConfig {
3
3
  dryRun: boolean;
4
4
  irFilepath: string;
5
- originalReadmeFilepath?: string;
6
- license?: FernIr.generatorExec.LicenseConfig;
5
+ originalReadmeFilepath?: string | undefined;
6
+ license?: FernIr.generatorExec.LicenseConfig | undefined;
7
7
  output: FernIr.generatorExec.GeneratorOutputConfig;
8
8
  /** Deprecated. Use output.mode instead. */
9
- publish?: FernIr.generatorExec.GeneratorPublishConfig;
9
+ publish?: FernIr.generatorExec.GeneratorPublishConfig | undefined;
10
10
  workspaceName: string;
11
11
  organization: string;
12
- customConfig?: unknown;
12
+ customConfig?: unknown | undefined;
13
13
  environment: FernIr.generatorExec.GeneratorEnvironment;
14
14
  whitelabel: boolean;
15
15
  writeUnitTests: boolean;
16
- generatePaginatedClients?: boolean;
16
+ generatePaginatedClients?: boolean | undefined;
17
17
  generateOauthClients: boolean;
18
18
  }
@@ -1,8 +1,8 @@
1
1
  import type * as FernIr from "../../../../../index.mjs";
2
2
  export interface GeneratorOutputConfig {
3
3
  path: string;
4
- snippetFilepath?: string;
5
- snippetTemplateFilepath?: string;
6
- publishingMetadata?: FernIr.generatorExec.PublishingMetadata;
4
+ snippetFilepath?: string | undefined;
5
+ snippetTemplateFilepath?: string | undefined;
6
+ publishingMetadata?: FernIr.generatorExec.PublishingMetadata | undefined;
7
7
  mode: FernIr.generatorExec.OutputMode;
8
8
  }
@@ -4,6 +4,6 @@ export interface GeneratorPublishConfig {
4
4
  registries: FernIr.generatorExec.GeneratorRegistriesConfig;
5
5
  /** Deprecated, use publishTargets instead. */
6
6
  registriesV2: FernIr.generatorExec.GeneratorRegistriesConfigV2;
7
- publishTarget?: FernIr.generatorExec.GeneratorPublishTarget;
7
+ publishTarget?: FernIr.generatorExec.GeneratorPublishTarget | undefined;
8
8
  version: string;
9
9
  }
@@ -7,8 +7,8 @@ export interface GithubOutputMode {
7
7
  * The token scoped to installing the repository. If not specified, the generator
8
8
  * should NOT attempt to clone the repository.
9
9
  */
10
- installationToken?: string;
10
+ installationToken?: string | undefined;
11
11
  /** The branch to use for README cloning. Defaults to the repository's default branch when omitted. */
12
- branch?: string;
13
- publishInfo?: FernIr.generatorExec.GithubPublishInfo;
12
+ branch?: string | undefined;
13
+ publishInfo?: FernIr.generatorExec.GithubPublishInfo | undefined;
14
14
  }
@@ -4,6 +4,6 @@ export interface MavenGithubPublishInfo {
4
4
  coordinate: string;
5
5
  usernameEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
6
  passwordEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
7
- signature?: FernIr.generatorExec.MavenCentralSignatureGithubInfo;
8
- shouldGeneratePublishWorkflow?: boolean;
7
+ signature?: FernIr.generatorExec.MavenCentralSignatureGithubInfo | undefined;
8
+ shouldGeneratePublishWorkflow?: boolean | undefined;
9
9
  }
@@ -4,5 +4,5 @@ export interface MavenRegistryConfig {
4
4
  username: string;
5
5
  password: string;
6
6
  group: string;
7
- signature?: FernIr.generatorExec.MavenCentralSignature;
7
+ signature?: FernIr.generatorExec.MavenCentralSignature | undefined;
8
8
  }
@@ -4,5 +4,5 @@ export interface MavenRegistryConfigV2 {
4
4
  username: string;
5
5
  password: string;
6
6
  coordinate: string;
7
- signature?: FernIr.generatorExec.MavenCentralSignature;
7
+ signature?: FernIr.generatorExec.MavenCentralSignature | undefined;
8
8
  }
@@ -3,5 +3,5 @@ export interface NpmGithubPublishInfo {
3
3
  registryUrl: string;
4
4
  packageName: string;
5
5
  tokenEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
- shouldGeneratePublishWorkflow?: boolean;
6
+ shouldGeneratePublishWorkflow?: boolean | undefined;
7
7
  }
@@ -3,5 +3,5 @@ export interface NugetGithubPublishInfo {
3
3
  registryUrl: string;
4
4
  packageName: string;
5
5
  apiKeyEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
- shouldGeneratePublishWorkflow?: boolean;
6
+ shouldGeneratePublishWorkflow?: boolean | undefined;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import type * as FernIr from "../../../../../index.mjs";
2
2
  export interface OutputMetadata {
3
- description?: string;
4
- authors?: FernIr.generatorExec.OutputMetadataAuthor[];
3
+ description?: string | undefined;
4
+ authors?: FernIr.generatorExec.OutputMetadataAuthor[] | undefined;
5
5
  }
@@ -2,8 +2,8 @@
2
2
  * This should effectively be deprecated in favor of a more specific configuration per-output mode (pypi, maven, etc.).
3
3
  */
4
4
  export interface PublishingMetadata {
5
- package_description?: string;
6
- publisher_email?: string;
7
- reference_url?: string;
8
- publisher_name?: string;
5
+ package_description?: string | undefined;
6
+ publisher_email?: string | undefined;
7
+ reference_url?: string | undefined;
8
+ publisher_name?: string | undefined;
9
9
  }
@@ -4,6 +4,6 @@ export interface PypiGithubPublishInfo {
4
4
  packageName: string;
5
5
  usernameEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
6
  passwordEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
7
- pypiMetadata?: FernIr.generatorExec.PypiMetadata;
8
- shouldGeneratePublishWorkflow?: boolean;
7
+ pypiMetadata?: FernIr.generatorExec.PypiMetadata | undefined;
8
+ shouldGeneratePublishWorkflow?: boolean | undefined;
9
9
  }
@@ -1,6 +1,6 @@
1
1
  import type * as FernIr from "../../../../../index.mjs";
2
2
  export interface PypiMetadata extends FernIr.generatorExec.OutputMetadata {
3
- keywords?: string[];
4
- documentationLink?: string;
5
- homepageLink?: string;
3
+ keywords?: string[] | undefined;
4
+ documentationLink?: string | undefined;
5
+ homepageLink?: string | undefined;
6
6
  }
@@ -4,5 +4,5 @@ export interface PypiRegistryConfig {
4
4
  username: string;
5
5
  password: string;
6
6
  packageName: string;
7
- pypiMetadata?: FernIr.generatorExec.PypiMetadata;
7
+ pypiMetadata?: FernIr.generatorExec.PypiMetadata | undefined;
8
8
  }
@@ -3,5 +3,5 @@ export interface RubyGemsGithubPublishInfo {
3
3
  registryUrl: string;
4
4
  packageName: string;
5
5
  apiKeyEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
6
- shouldGeneratePublishWorkflow?: boolean;
6
+ shouldGeneratePublishWorkflow?: boolean | undefined;
7
7
  }
@@ -152,7 +152,13 @@ function getHeaders(args) {
152
152
  return __awaiter(this, void 0, void 0, function* () {
153
153
  var _a;
154
154
  const newHeaders = new Headers();
155
- newHeaders.set("Accept", args.responseType === "json" ? "application/json" : args.responseType === "text" ? "text/plain" : "*/*");
155
+ newHeaders.set("Accept", args.responseType === "json"
156
+ ? "application/json"
157
+ : args.responseType === "text"
158
+ ? "text/plain"
159
+ : args.responseType === "sse"
160
+ ? "text/event-stream"
161
+ : "*/*");
156
162
  if (args.body !== undefined && args.contentType != null) {
157
163
  newHeaders.set("Content-Type", args.contentType);
158
164
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "65.2.0";
1
+ export declare const SDK_VERSION = "65.2.1";
@@ -1 +1 @@
1
- export const SDK_VERSION = "65.2.0";
1
+ export const SDK_VERSION = "65.2.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/dynamic-ir-sdk",
3
- "version": "65.2.0",
3
+ "version": "65.2.1",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "main": "./dist/cjs/index.js",
@@ -49,7 +49,7 @@
49
49
  "msw": "2.11.2",
50
50
  "@types/node": "^18.19.70",
51
51
  "typescript": "~5.7.2",
52
- "@biomejs/biome": "2.3.11"
52
+ "@biomejs/biome": "2.4.3"
53
53
  },
54
54
  "browser": {
55
55
  "fs": false,