@fern-api/dynamic-ir-sdk 59.6.0 → 59.6.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 (77) hide show
  1. package/api/resources/commons/types/FernFilepath.d.ts +1 -1
  2. package/api/resources/commons/types/WithDocs.d.ts +1 -1
  3. package/api/resources/dynamic/resources/auth/types/HeaderAuthValues.d.ts +1 -1
  4. package/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +2 -2
  5. package/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +2 -2
  6. package/api/resources/dynamic/resources/endpoints/types/EndpointExample.d.ts +1 -1
  7. package/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +5 -5
  8. package/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +4 -4
  9. package/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.ts +1 -1
  10. package/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.ts +1 -1
  11. package/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.ts +1 -1
  12. package/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.ts +1 -1
  13. package/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.ts +1 -1
  14. package/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.ts +1 -1
  15. package/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.d.ts +7 -7
  16. package/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.d.ts +1 -1
  17. package/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +1 -1
  18. package/api/resources/dynamic/resources/types/types/ObjectType.d.ts +1 -1
  19. package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +1 -1
  20. package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +1 -1
  21. package/api/resources/environment/types/EnvironmentsConfig.d.ts +1 -1
  22. package/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +5 -5
  23. package/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +3 -3
  24. package/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +1 -1
  25. package/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +2 -2
  26. package/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +2 -2
  27. package/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +1 -1
  28. package/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +1 -1
  29. package/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +1 -1
  30. package/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +1 -1
  31. package/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +2 -2
  32. package/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +4 -4
  33. package/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +2 -2
  34. package/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +3 -3
  35. package/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +1 -1
  36. package/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +1 -1
  37. package/dist/api/resources/commons/types/FernFilepath.d.ts +1 -1
  38. package/dist/api/resources/commons/types/WithDocs.d.ts +1 -1
  39. package/dist/api/resources/dynamic/resources/auth/types/HeaderAuthValues.d.ts +1 -1
  40. package/dist/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +2 -2
  41. package/dist/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +2 -2
  42. package/dist/api/resources/dynamic/resources/endpoints/types/EndpointExample.d.ts +1 -1
  43. package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +5 -5
  44. package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +4 -4
  45. package/dist/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.ts +1 -1
  46. package/dist/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.ts +1 -1
  47. package/dist/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.ts +1 -1
  48. package/dist/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.ts +1 -1
  49. package/dist/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.ts +1 -1
  50. package/dist/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.ts +1 -1
  51. package/dist/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.d.ts +7 -7
  52. package/dist/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.d.ts +1 -1
  53. package/dist/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +1 -1
  54. package/dist/api/resources/dynamic/resources/types/types/ObjectType.d.ts +1 -1
  55. package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +1 -1
  56. package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +1 -1
  57. package/dist/api/resources/environment/types/EnvironmentsConfig.d.ts +1 -1
  58. package/dist/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +5 -5
  59. package/dist/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +3 -3
  60. package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +1 -1
  61. package/dist/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +2 -2
  62. package/dist/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +2 -2
  63. package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +1 -1
  64. package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +1 -1
  65. package/dist/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +1 -1
  66. package/dist/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +1 -1
  67. package/dist/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +2 -2
  68. package/dist/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +4 -4
  69. package/dist/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +2 -2
  70. package/dist/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +3 -3
  71. package/dist/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +1 -1
  72. package/dist/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +1 -1
  73. package/dist/version.d.ts +1 -1
  74. package/dist/version.js +1 -1
  75. package/package.json +1 -1
  76. package/version.d.ts +1 -1
  77. package/version.js +1 -1
@@ -5,5 +5,5 @@ import * as FernIr from "../../../index";
5
5
  export interface FernFilepath {
6
6
  allParts: FernIr.Name[];
7
7
  packagePath: FernIr.Name[];
8
- file: FernIr.Name | undefined;
8
+ file?: FernIr.Name;
9
9
  }
@@ -2,5 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface WithDocs {
5
- docs: string | undefined;
5
+ docs?: string;
6
6
  }
@@ -2,5 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface HeaderAuthValues {
5
- value: unknown;
5
+ value?: unknown;
6
6
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface BodyRequest {
6
- pathParameters: FernIr.dynamic.NamedParameter[] | undefined;
7
- body: FernIr.dynamic.ReferencedRequestBodyType | undefined;
6
+ pathParameters?: FernIr.dynamic.NamedParameter[];
7
+ body?: FernIr.dynamic.ReferencedRequestBodyType;
8
8
  }
@@ -3,10 +3,10 @@
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface Endpoint {
6
- auth: FernIr.dynamic.Auth | undefined;
6
+ auth?: FernIr.dynamic.Auth;
7
7
  declaration: FernIr.dynamic.Declaration;
8
8
  location: FernIr.dynamic.EndpointLocation;
9
9
  request: FernIr.dynamic.Request;
10
10
  response: FernIr.dynamic.Response;
11
- examples: FernIr.dynamic.EndpointExample[] | undefined;
11
+ examples?: FernIr.dynamic.EndpointExample[];
12
12
  }
@@ -6,5 +6,5 @@ export interface EndpointExample extends FernIr.dynamic.EndpointSnippetRequest {
6
6
  /** The unique identifier for the example. */
7
7
  id: string;
8
8
  /** The name of the example, if any. */
9
- name: string | undefined;
9
+ name?: string;
10
10
  }
@@ -4,9 +4,9 @@
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface InlinedRequest {
6
6
  declaration: FernIr.dynamic.Declaration;
7
- pathParameters: FernIr.dynamic.NamedParameter[] | undefined;
8
- queryParameters: FernIr.dynamic.NamedParameter[] | undefined;
9
- headers: FernIr.dynamic.NamedParameter[] | undefined;
10
- body: FernIr.dynamic.InlinedRequestBody | undefined;
11
- metadata: FernIr.dynamic.InlinedRequestMetadata | undefined;
7
+ pathParameters?: FernIr.dynamic.NamedParameter[];
8
+ queryParameters?: FernIr.dynamic.NamedParameter[];
9
+ headers?: FernIr.dynamic.NamedParameter[];
10
+ body?: FernIr.dynamic.InlinedRequestBody;
11
+ metadata?: FernIr.dynamic.InlinedRequestMetadata;
12
12
  }
@@ -16,17 +16,17 @@ export interface DynamicIntermediateRepresentation {
16
16
  version: "1.0.0";
17
17
  types: Record<FernIr.TypeId, FernIr.dynamic.NamedType>;
18
18
  endpoints: Record<FernIr.EndpointId, FernIr.dynamic.Endpoint>;
19
- environments: FernIr.EnvironmentsConfig | undefined;
19
+ environments?: FernIr.EnvironmentsConfig;
20
20
  /**
21
21
  * The headers that are required on every request. These headers
22
22
  * are typically included in the SDK's client constructor.
23
23
  */
24
- headers: FernIr.dynamic.NamedParameter[] | undefined;
24
+ headers?: FernIr.dynamic.NamedParameter[];
25
25
  /**
26
26
  * The path parameters that are required on every request. These
27
27
  * path parameters are typically included in the SDK's client
28
28
  * constructor.
29
29
  */
30
- pathParameters: FernIr.dynamic.NamedParameter[] | undefined;
31
- generatorConfig: FernIr.dynamic.GeneratorConfig | undefined;
30
+ pathParameters?: FernIr.dynamic.NamedParameter[];
31
+ generatorConfig?: FernIr.dynamic.GeneratorConfig;
32
32
  }
@@ -13,6 +13,6 @@ export interface GeneratorConfig {
13
13
  */
14
14
  apiName: string;
15
15
  organization: string;
16
- customConfig: unknown;
16
+ customConfig?: unknown;
17
17
  outputConfig: FernIr.dynamic.GeneratorOutputConfig;
18
18
  }
@@ -4,5 +4,5 @@
4
4
  export interface MavenPublishInfo {
5
5
  version: string;
6
6
  coordinate: string;
7
- repoUrl: string | undefined;
7
+ repoUrl?: string;
8
8
  }
@@ -4,5 +4,5 @@
4
4
  export interface NpmPublishInfo {
5
5
  version: string;
6
6
  packageName: string;
7
- repoUrl: string | undefined;
7
+ repoUrl?: string;
8
8
  }
@@ -4,5 +4,5 @@
4
4
  export interface NugetPublishInfo {
5
5
  version: string;
6
6
  packageName: string;
7
- repoUrl: string | undefined;
7
+ repoUrl?: string;
8
8
  }
@@ -4,5 +4,5 @@
4
4
  export interface PypiPublishInfo {
5
5
  version: string;
6
6
  packageName: string;
7
- repoUrl: string | undefined;
7
+ repoUrl?: string;
8
8
  }
@@ -4,5 +4,5 @@
4
4
  export interface RubyGemsPublishInfo {
5
5
  version: string;
6
6
  packageName: string;
7
- repoUrl: string | undefined;
7
+ repoUrl?: string;
8
8
  }
@@ -7,11 +7,11 @@ import * as FernIr from "../../../../../index";
7
7
  */
8
8
  export interface EndpointSnippetRequest {
9
9
  endpoint: FernIr.dynamic.EndpointLocation;
10
- baseURL: string | undefined;
11
- environment: FernIr.dynamic.EnvironmentValues | undefined;
12
- auth: FernIr.dynamic.AuthValues | undefined;
13
- pathParameters: FernIr.dynamic.Values | undefined;
14
- queryParameters: FernIr.dynamic.Values | undefined;
15
- headers: FernIr.dynamic.Values | undefined;
16
- requestBody: unknown | undefined;
10
+ baseURL?: string;
11
+ environment?: FernIr.dynamic.EnvironmentValues;
12
+ auth?: FernIr.dynamic.AuthValues;
13
+ pathParameters?: FernIr.dynamic.Values;
14
+ queryParameters?: FernIr.dynamic.Values;
15
+ headers?: FernIr.dynamic.Values;
16
+ requestBody?: unknown;
17
17
  }
@@ -11,5 +11,5 @@ import * as FernIr from "../../../../../index";
11
11
  */
12
12
  export interface EndpointSnippetResponse {
13
13
  snippet: string;
14
- errors: FernIr.dynamic.Error_[] | undefined;
14
+ errors?: FernIr.dynamic.Error_[];
15
15
  }
@@ -5,5 +5,5 @@ import * as FernIr from "../../../../../index";
5
5
  export interface NamedParameter {
6
6
  name: FernIr.NameAndWireValue;
7
7
  typeReference: FernIr.dynamic.TypeReference;
8
- propertyAccess: FernIr.ObjectPropertyAccess | undefined;
8
+ propertyAccess?: FernIr.ObjectPropertyAccess;
9
9
  }
@@ -6,5 +6,5 @@ export interface ObjectType {
6
6
  declaration: FernIr.dynamic.Declaration;
7
7
  properties: FernIr.dynamic.NamedParameter[];
8
8
  /** Whether the type allows additional properties. */
9
- additionalProperties: boolean | undefined;
9
+ additionalProperties?: boolean;
10
10
  }
@@ -5,5 +5,5 @@ import * as FernIr from "../../../../../index";
5
5
  export interface SingleDiscriminatedUnionTypeNoProperties {
6
6
  discriminantValue: FernIr.NameAndWireValue;
7
7
  /** Any properties included here are the base and/or extended properties from the union. */
8
- properties: FernIr.dynamic.NamedParameter[] | undefined;
8
+ properties?: FernIr.dynamic.NamedParameter[];
9
9
  }
@@ -6,5 +6,5 @@ export interface SingleDiscriminatedUnionTypeSingleProperty {
6
6
  typeReference: FernIr.dynamic.TypeReference;
7
7
  discriminantValue: FernIr.NameAndWireValue;
8
8
  /** Any properties included here are the base and/or extended properties from the union. */
9
- properties: FernIr.dynamic.NamedParameter[] | undefined;
9
+ properties?: FernIr.dynamic.NamedParameter[];
10
10
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as FernIr from "../../../index";
5
5
  export interface EnvironmentsConfig {
6
- defaultEnvironment: FernIr.EnvironmentId | undefined;
6
+ defaultEnvironment?: FernIr.EnvironmentId;
7
7
  environments: FernIr.Environments;
8
8
  }
@@ -5,17 +5,17 @@ import * as FernIr from "../../../../../index";
5
5
  export interface GeneratorConfig {
6
6
  dryRun: boolean;
7
7
  irFilepath: string;
8
- originalReadmeFilepath: string | undefined;
9
- license: FernIr.generatorExec.LicenseConfig | undefined;
8
+ originalReadmeFilepath?: string;
9
+ license?: FernIr.generatorExec.LicenseConfig;
10
10
  output: FernIr.generatorExec.GeneratorOutputConfig;
11
11
  /** Deprecated. Use output.mode instead. */
12
- publish: FernIr.generatorExec.GeneratorPublishConfig | undefined;
12
+ publish?: FernIr.generatorExec.GeneratorPublishConfig;
13
13
  workspaceName: string;
14
14
  organization: string;
15
- customConfig: unknown;
15
+ customConfig?: unknown;
16
16
  environment: FernIr.generatorExec.GeneratorEnvironment;
17
17
  whitelabel: boolean;
18
18
  writeUnitTests: boolean;
19
- generatePaginatedClients: boolean | undefined;
19
+ generatePaginatedClients?: boolean;
20
20
  generateOauthClients: boolean;
21
21
  }
@@ -4,8 +4,8 @@
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface GeneratorOutputConfig {
6
6
  path: string;
7
- snippetFilepath: string | undefined;
8
- snippetTemplateFilepath: string | undefined;
9
- publishingMetadata: FernIr.generatorExec.PublishingMetadata | undefined;
7
+ snippetFilepath?: string;
8
+ snippetTemplateFilepath?: string;
9
+ publishingMetadata?: FernIr.generatorExec.PublishingMetadata;
10
10
  mode: FernIr.generatorExec.OutputMode;
11
11
  }
@@ -7,6 +7,6 @@ export interface GeneratorPublishConfig {
7
7
  registries: FernIr.generatorExec.GeneratorRegistriesConfig;
8
8
  /** Deprecated, use publishTargets instead. */
9
9
  registriesV2: FernIr.generatorExec.GeneratorRegistriesConfigV2;
10
- publishTarget: FernIr.generatorExec.GeneratorPublishTarget | undefined;
10
+ publishTarget?: FernIr.generatorExec.GeneratorPublishTarget;
11
11
  version: string;
12
12
  }
@@ -10,6 +10,6 @@ export interface GithubOutputMode {
10
10
  * The token scoped to installing the repository. If not specified, the generator
11
11
  * should NOT attempt to clone the repository.
12
12
  */
13
- installationToken: string | undefined;
14
- publishInfo: FernIr.generatorExec.GithubPublishInfo | undefined;
13
+ installationToken?: string;
14
+ publishInfo?: FernIr.generatorExec.GithubPublishInfo;
15
15
  }
@@ -7,6 +7,6 @@ export interface MavenGithubPublishInfo {
7
7
  coordinate: string;
8
8
  usernameEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
9
9
  passwordEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
10
- signature: FernIr.generatorExec.MavenCentralSignatureGithubInfo | undefined;
11
- shouldGeneratePublishWorkflow: boolean | undefined;
10
+ signature?: FernIr.generatorExec.MavenCentralSignatureGithubInfo;
11
+ shouldGeneratePublishWorkflow?: boolean;
12
12
  }
@@ -7,5 +7,5 @@ export interface MavenRegistryConfig {
7
7
  username: string;
8
8
  password: string;
9
9
  group: string;
10
- signature: FernIr.generatorExec.MavenCentralSignature | undefined;
10
+ signature?: FernIr.generatorExec.MavenCentralSignature;
11
11
  }
@@ -7,5 +7,5 @@ export interface MavenRegistryConfigV2 {
7
7
  username: string;
8
8
  password: string;
9
9
  coordinate: string;
10
- signature: FernIr.generatorExec.MavenCentralSignature | undefined;
10
+ signature?: FernIr.generatorExec.MavenCentralSignature;
11
11
  }
@@ -6,5 +6,5 @@ export interface NpmGithubPublishInfo {
6
6
  registryUrl: string;
7
7
  packageName: string;
8
8
  tokenEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
9
- shouldGeneratePublishWorkflow: boolean | undefined;
9
+ shouldGeneratePublishWorkflow?: boolean;
10
10
  }
@@ -6,5 +6,5 @@ export interface NugetGithubPublishInfo {
6
6
  registryUrl: string;
7
7
  packageName: string;
8
8
  apiKeyEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
9
- shouldGeneratePublishWorkflow: boolean | undefined;
9
+ shouldGeneratePublishWorkflow?: boolean;
10
10
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface OutputMetadata {
6
- description: string | undefined;
7
- authors: FernIr.generatorExec.OutputMetadataAuthor[] | undefined;
6
+ description?: string;
7
+ authors?: FernIr.generatorExec.OutputMetadataAuthor[];
8
8
  }
@@ -5,8 +5,8 @@
5
5
  * This should effectively be deprecated in favor of a more specific configuration per-output mode (pypi, maven, etc.).
6
6
  */
7
7
  export interface PublishingMetadata {
8
- package_description: string | undefined;
9
- publisher_email: string | undefined;
10
- reference_url: string | undefined;
11
- publisher_name: string | undefined;
8
+ package_description?: string;
9
+ publisher_email?: string;
10
+ reference_url?: string;
11
+ publisher_name?: string;
12
12
  }
@@ -7,6 +7,6 @@ export interface PypiGithubPublishInfo {
7
7
  packageName: string;
8
8
  usernameEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
9
9
  passwordEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
10
- pypiMetadata: FernIr.generatorExec.PypiMetadata | undefined;
11
- shouldGeneratePublishWorkflow: boolean | undefined;
10
+ pypiMetadata?: FernIr.generatorExec.PypiMetadata;
11
+ shouldGeneratePublishWorkflow?: boolean;
12
12
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface PypiMetadata extends FernIr.generatorExec.OutputMetadata {
6
- keywords: string[] | undefined;
7
- documentationLink: string | undefined;
8
- homepageLink: string | undefined;
6
+ keywords?: string[];
7
+ documentationLink?: string;
8
+ homepageLink?: string;
9
9
  }
@@ -7,5 +7,5 @@ export interface PypiRegistryConfig {
7
7
  username: string;
8
8
  password: string;
9
9
  packageName: string;
10
- pypiMetadata: FernIr.generatorExec.PypiMetadata | undefined;
10
+ pypiMetadata?: FernIr.generatorExec.PypiMetadata;
11
11
  }
@@ -6,5 +6,5 @@ export interface RubyGemsGithubPublishInfo {
6
6
  registryUrl: string;
7
7
  packageName: string;
8
8
  apiKeyEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
9
- shouldGeneratePublishWorkflow: boolean | undefined;
9
+ shouldGeneratePublishWorkflow?: boolean;
10
10
  }
@@ -5,5 +5,5 @@ import * as FernIr from "../../../index";
5
5
  export interface FernFilepath {
6
6
  allParts: FernIr.Name[];
7
7
  packagePath: FernIr.Name[];
8
- file: FernIr.Name | undefined;
8
+ file?: FernIr.Name;
9
9
  }
@@ -2,5 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface WithDocs {
5
- docs: string | undefined;
5
+ docs?: string;
6
6
  }
@@ -2,5 +2,5 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface HeaderAuthValues {
5
- value: unknown;
5
+ value?: unknown;
6
6
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface BodyRequest {
6
- pathParameters: FernIr.dynamic.NamedParameter[] | undefined;
7
- body: FernIr.dynamic.ReferencedRequestBodyType | undefined;
6
+ pathParameters?: FernIr.dynamic.NamedParameter[];
7
+ body?: FernIr.dynamic.ReferencedRequestBodyType;
8
8
  }
@@ -3,10 +3,10 @@
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface Endpoint {
6
- auth: FernIr.dynamic.Auth | undefined;
6
+ auth?: FernIr.dynamic.Auth;
7
7
  declaration: FernIr.dynamic.Declaration;
8
8
  location: FernIr.dynamic.EndpointLocation;
9
9
  request: FernIr.dynamic.Request;
10
10
  response: FernIr.dynamic.Response;
11
- examples: FernIr.dynamic.EndpointExample[] | undefined;
11
+ examples?: FernIr.dynamic.EndpointExample[];
12
12
  }
@@ -6,5 +6,5 @@ export interface EndpointExample extends FernIr.dynamic.EndpointSnippetRequest {
6
6
  /** The unique identifier for the example. */
7
7
  id: string;
8
8
  /** The name of the example, if any. */
9
- name: string | undefined;
9
+ name?: string;
10
10
  }
@@ -4,9 +4,9 @@
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface InlinedRequest {
6
6
  declaration: FernIr.dynamic.Declaration;
7
- pathParameters: FernIr.dynamic.NamedParameter[] | undefined;
8
- queryParameters: FernIr.dynamic.NamedParameter[] | undefined;
9
- headers: FernIr.dynamic.NamedParameter[] | undefined;
10
- body: FernIr.dynamic.InlinedRequestBody | undefined;
11
- metadata: FernIr.dynamic.InlinedRequestMetadata | undefined;
7
+ pathParameters?: FernIr.dynamic.NamedParameter[];
8
+ queryParameters?: FernIr.dynamic.NamedParameter[];
9
+ headers?: FernIr.dynamic.NamedParameter[];
10
+ body?: FernIr.dynamic.InlinedRequestBody;
11
+ metadata?: FernIr.dynamic.InlinedRequestMetadata;
12
12
  }
@@ -16,17 +16,17 @@ export interface DynamicIntermediateRepresentation {
16
16
  version: "1.0.0";
17
17
  types: Record<FernIr.TypeId, FernIr.dynamic.NamedType>;
18
18
  endpoints: Record<FernIr.EndpointId, FernIr.dynamic.Endpoint>;
19
- environments: FernIr.EnvironmentsConfig | undefined;
19
+ environments?: FernIr.EnvironmentsConfig;
20
20
  /**
21
21
  * The headers that are required on every request. These headers
22
22
  * are typically included in the SDK's client constructor.
23
23
  */
24
- headers: FernIr.dynamic.NamedParameter[] | undefined;
24
+ headers?: FernIr.dynamic.NamedParameter[];
25
25
  /**
26
26
  * The path parameters that are required on every request. These
27
27
  * path parameters are typically included in the SDK's client
28
28
  * constructor.
29
29
  */
30
- pathParameters: FernIr.dynamic.NamedParameter[] | undefined;
31
- generatorConfig: FernIr.dynamic.GeneratorConfig | undefined;
30
+ pathParameters?: FernIr.dynamic.NamedParameter[];
31
+ generatorConfig?: FernIr.dynamic.GeneratorConfig;
32
32
  }
@@ -13,6 +13,6 @@ export interface GeneratorConfig {
13
13
  */
14
14
  apiName: string;
15
15
  organization: string;
16
- customConfig: unknown;
16
+ customConfig?: unknown;
17
17
  outputConfig: FernIr.dynamic.GeneratorOutputConfig;
18
18
  }
@@ -4,5 +4,5 @@
4
4
  export interface MavenPublishInfo {
5
5
  version: string;
6
6
  coordinate: string;
7
- repoUrl: string | undefined;
7
+ repoUrl?: string;
8
8
  }
@@ -4,5 +4,5 @@
4
4
  export interface NpmPublishInfo {
5
5
  version: string;
6
6
  packageName: string;
7
- repoUrl: string | undefined;
7
+ repoUrl?: string;
8
8
  }
@@ -4,5 +4,5 @@
4
4
  export interface NugetPublishInfo {
5
5
  version: string;
6
6
  packageName: string;
7
- repoUrl: string | undefined;
7
+ repoUrl?: string;
8
8
  }
@@ -4,5 +4,5 @@
4
4
  export interface PypiPublishInfo {
5
5
  version: string;
6
6
  packageName: string;
7
- repoUrl: string | undefined;
7
+ repoUrl?: string;
8
8
  }
@@ -4,5 +4,5 @@
4
4
  export interface RubyGemsPublishInfo {
5
5
  version: string;
6
6
  packageName: string;
7
- repoUrl: string | undefined;
7
+ repoUrl?: string;
8
8
  }
@@ -7,11 +7,11 @@ import * as FernIr from "../../../../../index";
7
7
  */
8
8
  export interface EndpointSnippetRequest {
9
9
  endpoint: FernIr.dynamic.EndpointLocation;
10
- baseURL: string | undefined;
11
- environment: FernIr.dynamic.EnvironmentValues | undefined;
12
- auth: FernIr.dynamic.AuthValues | undefined;
13
- pathParameters: FernIr.dynamic.Values | undefined;
14
- queryParameters: FernIr.dynamic.Values | undefined;
15
- headers: FernIr.dynamic.Values | undefined;
16
- requestBody: unknown | undefined;
10
+ baseURL?: string;
11
+ environment?: FernIr.dynamic.EnvironmentValues;
12
+ auth?: FernIr.dynamic.AuthValues;
13
+ pathParameters?: FernIr.dynamic.Values;
14
+ queryParameters?: FernIr.dynamic.Values;
15
+ headers?: FernIr.dynamic.Values;
16
+ requestBody?: unknown;
17
17
  }
@@ -11,5 +11,5 @@ import * as FernIr from "../../../../../index";
11
11
  */
12
12
  export interface EndpointSnippetResponse {
13
13
  snippet: string;
14
- errors: FernIr.dynamic.Error_[] | undefined;
14
+ errors?: FernIr.dynamic.Error_[];
15
15
  }
@@ -5,5 +5,5 @@ import * as FernIr from "../../../../../index";
5
5
  export interface NamedParameter {
6
6
  name: FernIr.NameAndWireValue;
7
7
  typeReference: FernIr.dynamic.TypeReference;
8
- propertyAccess: FernIr.ObjectPropertyAccess | undefined;
8
+ propertyAccess?: FernIr.ObjectPropertyAccess;
9
9
  }
@@ -6,5 +6,5 @@ export interface ObjectType {
6
6
  declaration: FernIr.dynamic.Declaration;
7
7
  properties: FernIr.dynamic.NamedParameter[];
8
8
  /** Whether the type allows additional properties. */
9
- additionalProperties: boolean | undefined;
9
+ additionalProperties?: boolean;
10
10
  }
@@ -5,5 +5,5 @@ import * as FernIr from "../../../../../index";
5
5
  export interface SingleDiscriminatedUnionTypeNoProperties {
6
6
  discriminantValue: FernIr.NameAndWireValue;
7
7
  /** Any properties included here are the base and/or extended properties from the union. */
8
- properties: FernIr.dynamic.NamedParameter[] | undefined;
8
+ properties?: FernIr.dynamic.NamedParameter[];
9
9
  }
@@ -6,5 +6,5 @@ export interface SingleDiscriminatedUnionTypeSingleProperty {
6
6
  typeReference: FernIr.dynamic.TypeReference;
7
7
  discriminantValue: FernIr.NameAndWireValue;
8
8
  /** Any properties included here are the base and/or extended properties from the union. */
9
- properties: FernIr.dynamic.NamedParameter[] | undefined;
9
+ properties?: FernIr.dynamic.NamedParameter[];
10
10
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as FernIr from "../../../index";
5
5
  export interface EnvironmentsConfig {
6
- defaultEnvironment: FernIr.EnvironmentId | undefined;
6
+ defaultEnvironment?: FernIr.EnvironmentId;
7
7
  environments: FernIr.Environments;
8
8
  }
@@ -5,17 +5,17 @@ import * as FernIr from "../../../../../index";
5
5
  export interface GeneratorConfig {
6
6
  dryRun: boolean;
7
7
  irFilepath: string;
8
- originalReadmeFilepath: string | undefined;
9
- license: FernIr.generatorExec.LicenseConfig | undefined;
8
+ originalReadmeFilepath?: string;
9
+ license?: FernIr.generatorExec.LicenseConfig;
10
10
  output: FernIr.generatorExec.GeneratorOutputConfig;
11
11
  /** Deprecated. Use output.mode instead. */
12
- publish: FernIr.generatorExec.GeneratorPublishConfig | undefined;
12
+ publish?: FernIr.generatorExec.GeneratorPublishConfig;
13
13
  workspaceName: string;
14
14
  organization: string;
15
- customConfig: unknown;
15
+ customConfig?: unknown;
16
16
  environment: FernIr.generatorExec.GeneratorEnvironment;
17
17
  whitelabel: boolean;
18
18
  writeUnitTests: boolean;
19
- generatePaginatedClients: boolean | undefined;
19
+ generatePaginatedClients?: boolean;
20
20
  generateOauthClients: boolean;
21
21
  }
@@ -4,8 +4,8 @@
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface GeneratorOutputConfig {
6
6
  path: string;
7
- snippetFilepath: string | undefined;
8
- snippetTemplateFilepath: string | undefined;
9
- publishingMetadata: FernIr.generatorExec.PublishingMetadata | undefined;
7
+ snippetFilepath?: string;
8
+ snippetTemplateFilepath?: string;
9
+ publishingMetadata?: FernIr.generatorExec.PublishingMetadata;
10
10
  mode: FernIr.generatorExec.OutputMode;
11
11
  }
@@ -7,6 +7,6 @@ export interface GeneratorPublishConfig {
7
7
  registries: FernIr.generatorExec.GeneratorRegistriesConfig;
8
8
  /** Deprecated, use publishTargets instead. */
9
9
  registriesV2: FernIr.generatorExec.GeneratorRegistriesConfigV2;
10
- publishTarget: FernIr.generatorExec.GeneratorPublishTarget | undefined;
10
+ publishTarget?: FernIr.generatorExec.GeneratorPublishTarget;
11
11
  version: string;
12
12
  }
@@ -10,6 +10,6 @@ export interface GithubOutputMode {
10
10
  * The token scoped to installing the repository. If not specified, the generator
11
11
  * should NOT attempt to clone the repository.
12
12
  */
13
- installationToken: string | undefined;
14
- publishInfo: FernIr.generatorExec.GithubPublishInfo | undefined;
13
+ installationToken?: string;
14
+ publishInfo?: FernIr.generatorExec.GithubPublishInfo;
15
15
  }
@@ -7,6 +7,6 @@ export interface MavenGithubPublishInfo {
7
7
  coordinate: string;
8
8
  usernameEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
9
9
  passwordEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
10
- signature: FernIr.generatorExec.MavenCentralSignatureGithubInfo | undefined;
11
- shouldGeneratePublishWorkflow: boolean | undefined;
10
+ signature?: FernIr.generatorExec.MavenCentralSignatureGithubInfo;
11
+ shouldGeneratePublishWorkflow?: boolean;
12
12
  }
@@ -7,5 +7,5 @@ export interface MavenRegistryConfig {
7
7
  username: string;
8
8
  password: string;
9
9
  group: string;
10
- signature: FernIr.generatorExec.MavenCentralSignature | undefined;
10
+ signature?: FernIr.generatorExec.MavenCentralSignature;
11
11
  }
@@ -7,5 +7,5 @@ export interface MavenRegistryConfigV2 {
7
7
  username: string;
8
8
  password: string;
9
9
  coordinate: string;
10
- signature: FernIr.generatorExec.MavenCentralSignature | undefined;
10
+ signature?: FernIr.generatorExec.MavenCentralSignature;
11
11
  }
@@ -6,5 +6,5 @@ export interface NpmGithubPublishInfo {
6
6
  registryUrl: string;
7
7
  packageName: string;
8
8
  tokenEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
9
- shouldGeneratePublishWorkflow: boolean | undefined;
9
+ shouldGeneratePublishWorkflow?: boolean;
10
10
  }
@@ -6,5 +6,5 @@ export interface NugetGithubPublishInfo {
6
6
  registryUrl: string;
7
7
  packageName: string;
8
8
  apiKeyEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
9
- shouldGeneratePublishWorkflow: boolean | undefined;
9
+ shouldGeneratePublishWorkflow?: boolean;
10
10
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface OutputMetadata {
6
- description: string | undefined;
7
- authors: FernIr.generatorExec.OutputMetadataAuthor[] | undefined;
6
+ description?: string;
7
+ authors?: FernIr.generatorExec.OutputMetadataAuthor[];
8
8
  }
@@ -5,8 +5,8 @@
5
5
  * This should effectively be deprecated in favor of a more specific configuration per-output mode (pypi, maven, etc.).
6
6
  */
7
7
  export interface PublishingMetadata {
8
- package_description: string | undefined;
9
- publisher_email: string | undefined;
10
- reference_url: string | undefined;
11
- publisher_name: string | undefined;
8
+ package_description?: string;
9
+ publisher_email?: string;
10
+ reference_url?: string;
11
+ publisher_name?: string;
12
12
  }
@@ -7,6 +7,6 @@ export interface PypiGithubPublishInfo {
7
7
  packageName: string;
8
8
  usernameEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
9
9
  passwordEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
10
- pypiMetadata: FernIr.generatorExec.PypiMetadata | undefined;
11
- shouldGeneratePublishWorkflow: boolean | undefined;
10
+ pypiMetadata?: FernIr.generatorExec.PypiMetadata;
11
+ shouldGeneratePublishWorkflow?: boolean;
12
12
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
5
  export interface PypiMetadata extends FernIr.generatorExec.OutputMetadata {
6
- keywords: string[] | undefined;
7
- documentationLink: string | undefined;
8
- homepageLink: string | undefined;
6
+ keywords?: string[];
7
+ documentationLink?: string;
8
+ homepageLink?: string;
9
9
  }
@@ -7,5 +7,5 @@ export interface PypiRegistryConfig {
7
7
  username: string;
8
8
  password: string;
9
9
  packageName: string;
10
- pypiMetadata: FernIr.generatorExec.PypiMetadata | undefined;
10
+ pypiMetadata?: FernIr.generatorExec.PypiMetadata;
11
11
  }
@@ -6,5 +6,5 @@ export interface RubyGemsGithubPublishInfo {
6
6
  registryUrl: string;
7
7
  packageName: string;
8
8
  apiKeyEnvironmentVariable: FernIr.generatorExec.EnvironmentVariable;
9
- shouldGeneratePublishWorkflow: boolean | undefined;
9
+ shouldGeneratePublishWorkflow?: boolean;
10
10
  }
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "59.6.0";
1
+ export declare const SDK_VERSION = "59.6.1";
package/dist/version.js CHANGED
@@ -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 = "59.6.0";
4
+ exports.SDK_VERSION = "59.6.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/dynamic-ir-sdk",
3
- "version": "59.6.0",
3
+ "version": "59.6.1",
4
4
  "private": false,
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "59.6.0";
1
+ export declare const SDK_VERSION = "59.6.1";
package/version.js CHANGED
@@ -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 = "59.6.0";
4
+ exports.SDK_VERSION = "59.6.1";