@fern-api/dynamic-ir-sdk 59.5.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.
- package/api/resources/commons/types/FernFilepath.d.ts +1 -1
- package/api/resources/commons/types/WithDocs.d.ts +1 -1
- package/api/resources/dynamic/resources/auth/types/HeaderAuthValues.d.ts +1 -1
- package/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +2 -2
- package/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +2 -2
- package/api/resources/dynamic/resources/endpoints/types/EndpointExample.d.ts +1 -1
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +5 -5
- package/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +4 -4
- package/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.ts +1 -1
- package/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.ts +1 -1
- package/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.ts +1 -1
- package/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.ts +1 -1
- package/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.ts +1 -1
- package/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.ts +1 -1
- package/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.d.ts +7 -7
- package/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.d.ts +1 -1
- package/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +1 -0
- package/api/resources/dynamic/resources/types/types/ObjectType.d.ts +1 -1
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +1 -1
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +1 -1
- package/api/resources/environment/types/EnvironmentsConfig.d.ts +1 -1
- package/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +5 -5
- package/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +3 -3
- package/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +1 -1
- package/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +2 -2
- package/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +2 -2
- package/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +1 -1
- package/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +1 -1
- package/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +1 -1
- package/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +1 -1
- package/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +2 -2
- package/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +4 -4
- package/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +2 -2
- package/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +3 -3
- package/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +1 -1
- package/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +1 -1
- package/api/resources/types/types/ObjectPropertyAccess.d.ts +8 -0
- package/api/resources/types/types/ObjectPropertyAccess.js +10 -0
- package/api/resources/types/types/index.d.ts +1 -0
- package/api/resources/types/types/index.js +1 -0
- package/dist/api/resources/commons/types/FernFilepath.d.ts +1 -1
- package/dist/api/resources/commons/types/WithDocs.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/auth/types/HeaderAuthValues.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/endpoints/types/BodyRequest.d.ts +2 -2
- package/dist/api/resources/dynamic/resources/endpoints/types/Endpoint.d.ts +2 -2
- package/dist/api/resources/dynamic/resources/endpoints/types/EndpointExample.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequest.d.ts +5 -5
- package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +4 -4
- package/dist/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/snippets/types/EndpointSnippetRequest.d.ts +7 -7
- package/dist/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +1 -0
- package/dist/api/resources/dynamic/resources/types/types/ObjectType.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +1 -1
- package/dist/api/resources/environment/types/EnvironmentsConfig.d.ts +1 -1
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorConfig.d.ts +5 -5
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorOutputConfig.d.ts +3 -3
- package/dist/api/resources/generatorExec/resources/config/types/GeneratorPublishConfig.d.ts +1 -1
- package/dist/api/resources/generatorExec/resources/config/types/GithubOutputMode.d.ts +2 -2
- package/dist/api/resources/generatorExec/resources/config/types/MavenGithubPublishInfo.d.ts +2 -2
- package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfig.d.ts +1 -1
- package/dist/api/resources/generatorExec/resources/config/types/MavenRegistryConfigV2.d.ts +1 -1
- package/dist/api/resources/generatorExec/resources/config/types/NpmGithubPublishInfo.d.ts +1 -1
- package/dist/api/resources/generatorExec/resources/config/types/NugetGithubPublishInfo.d.ts +1 -1
- package/dist/api/resources/generatorExec/resources/config/types/OutputMetadata.d.ts +2 -2
- package/dist/api/resources/generatorExec/resources/config/types/PublishingMetadata.d.ts +4 -4
- package/dist/api/resources/generatorExec/resources/config/types/PypiGithubPublishInfo.d.ts +2 -2
- package/dist/api/resources/generatorExec/resources/config/types/PypiMetadata.d.ts +3 -3
- package/dist/api/resources/generatorExec/resources/config/types/PypiRegistryConfig.d.ts +1 -1
- package/dist/api/resources/generatorExec/resources/config/types/RubyGemsGithubPublishInfo.d.ts +1 -1
- package/dist/api/resources/types/types/ObjectPropertyAccess.d.ts +8 -0
- package/dist/api/resources/types/types/ObjectPropertyAccess.js +10 -0
- package/dist/api/resources/types/types/index.d.ts +1 -0
- package/dist/api/resources/types/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface BodyRequest {
|
|
6
|
-
pathParameters
|
|
7
|
-
body
|
|
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
|
|
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
|
|
11
|
+
examples?: FernIr.dynamic.EndpointExample[];
|
|
12
12
|
}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface InlinedRequest {
|
|
6
6
|
declaration: FernIr.dynamic.Declaration;
|
|
7
|
-
pathParameters
|
|
8
|
-
queryParameters
|
|
9
|
-
headers
|
|
10
|
-
body
|
|
11
|
-
metadata
|
|
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
|
|
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
|
|
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
|
|
31
|
-
generatorConfig
|
|
30
|
+
pathParameters?: FernIr.dynamic.NamedParameter[];
|
|
31
|
+
generatorConfig?: FernIr.dynamic.GeneratorConfig;
|
|
32
32
|
}
|
|
@@ -7,11 +7,11 @@ import * as FernIr from "../../../../../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface EndpointSnippetRequest {
|
|
9
9
|
endpoint: FernIr.dynamic.EndpointLocation;
|
|
10
|
-
baseURL
|
|
11
|
-
environment
|
|
12
|
-
auth
|
|
13
|
-
pathParameters
|
|
14
|
-
queryParameters
|
|
15
|
-
headers
|
|
16
|
-
requestBody
|
|
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
|
}
|
package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts
CHANGED
|
@@ -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
|
|
8
|
+
properties?: FernIr.dynamic.NamedParameter[];
|
|
9
9
|
}
|
package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts
CHANGED
|
@@ -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
|
|
9
|
+
properties?: FernIr.dynamic.NamedParameter[];
|
|
10
10
|
}
|
|
@@ -5,17 +5,17 @@ import * as FernIr from "../../../../../index";
|
|
|
5
5
|
export interface GeneratorConfig {
|
|
6
6
|
dryRun: boolean;
|
|
7
7
|
irFilepath: string;
|
|
8
|
-
originalReadmeFilepath
|
|
9
|
-
license
|
|
8
|
+
originalReadmeFilepath?: string;
|
|
9
|
+
license?: FernIr.generatorExec.LicenseConfig;
|
|
10
10
|
output: FernIr.generatorExec.GeneratorOutputConfig;
|
|
11
11
|
/** Deprecated. Use output.mode instead. */
|
|
12
|
-
publish
|
|
12
|
+
publish?: FernIr.generatorExec.GeneratorPublishConfig;
|
|
13
13
|
workspaceName: string;
|
|
14
14
|
organization: string;
|
|
15
|
-
customConfig
|
|
15
|
+
customConfig?: unknown;
|
|
16
16
|
environment: FernIr.generatorExec.GeneratorEnvironment;
|
|
17
17
|
whitelabel: boolean;
|
|
18
18
|
writeUnitTests: boolean;
|
|
19
|
-
generatePaginatedClients
|
|
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
|
|
8
|
-
snippetTemplateFilepath
|
|
9
|
-
publishingMetadata
|
|
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
|
|
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
|
|
14
|
-
publishInfo
|
|
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
|
|
11
|
-
shouldGeneratePublishWorkflow
|
|
10
|
+
signature?: FernIr.generatorExec.MavenCentralSignatureGithubInfo;
|
|
11
|
+
shouldGeneratePublishWorkflow?: boolean;
|
|
12
12
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface OutputMetadata {
|
|
6
|
-
description
|
|
7
|
-
authors
|
|
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
|
|
9
|
-
publisher_email
|
|
10
|
-
reference_url
|
|
11
|
-
publisher_name
|
|
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
|
|
11
|
-
shouldGeneratePublishWorkflow
|
|
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
|
|
7
|
-
documentationLink
|
|
8
|
-
homepageLink
|
|
6
|
+
keywords?: string[];
|
|
7
|
+
documentationLink?: string;
|
|
8
|
+
homepageLink?: string;
|
|
9
9
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ObjectPropertyAccess = void 0;
|
|
7
|
+
exports.ObjectPropertyAccess = {
|
|
8
|
+
ReadOnly: "READ_ONLY",
|
|
9
|
+
WriteOnly: "WRITE_ONLY",
|
|
10
|
+
};
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ObjectPropertyAccess"), exports);
|
|
17
18
|
__exportStar(require("./PrimitiveTypeV1"), exports);
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface BodyRequest {
|
|
6
|
-
pathParameters
|
|
7
|
-
body
|
|
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
|
|
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
|
|
11
|
+
examples?: FernIr.dynamic.EndpointExample[];
|
|
12
12
|
}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface InlinedRequest {
|
|
6
6
|
declaration: FernIr.dynamic.Declaration;
|
|
7
|
-
pathParameters
|
|
8
|
-
queryParameters
|
|
9
|
-
headers
|
|
10
|
-
body
|
|
11
|
-
metadata
|
|
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
|
}
|
package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
31
|
-
generatorConfig
|
|
30
|
+
pathParameters?: FernIr.dynamic.NamedParameter[];
|
|
31
|
+
generatorConfig?: FernIr.dynamic.GeneratorConfig;
|
|
32
32
|
}
|
|
@@ -7,11 +7,11 @@ import * as FernIr from "../../../../../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface EndpointSnippetRequest {
|
|
9
9
|
endpoint: FernIr.dynamic.EndpointLocation;
|
|
10
|
-
baseURL
|
|
11
|
-
environment
|
|
12
|
-
auth
|
|
13
|
-
pathParameters
|
|
14
|
-
queryParameters
|
|
15
|
-
headers
|
|
16
|
-
requestBody
|
|
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
|
}
|
|
@@ -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
|
|
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
|
|
9
|
+
properties?: FernIr.dynamic.NamedParameter[];
|
|
10
10
|
}
|
|
@@ -5,17 +5,17 @@ import * as FernIr from "../../../../../index";
|
|
|
5
5
|
export interface GeneratorConfig {
|
|
6
6
|
dryRun: boolean;
|
|
7
7
|
irFilepath: string;
|
|
8
|
-
originalReadmeFilepath
|
|
9
|
-
license
|
|
8
|
+
originalReadmeFilepath?: string;
|
|
9
|
+
license?: FernIr.generatorExec.LicenseConfig;
|
|
10
10
|
output: FernIr.generatorExec.GeneratorOutputConfig;
|
|
11
11
|
/** Deprecated. Use output.mode instead. */
|
|
12
|
-
publish
|
|
12
|
+
publish?: FernIr.generatorExec.GeneratorPublishConfig;
|
|
13
13
|
workspaceName: string;
|
|
14
14
|
organization: string;
|
|
15
|
-
customConfig
|
|
15
|
+
customConfig?: unknown;
|
|
16
16
|
environment: FernIr.generatorExec.GeneratorEnvironment;
|
|
17
17
|
whitelabel: boolean;
|
|
18
18
|
writeUnitTests: boolean;
|
|
19
|
-
generatePaginatedClients
|
|
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
|
|
8
|
-
snippetTemplateFilepath
|
|
9
|
-
publishingMetadata
|
|
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
|
|
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
|
|
14
|
-
publishInfo
|
|
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
|
|
11
|
-
shouldGeneratePublishWorkflow
|
|
10
|
+
signature?: FernIr.generatorExec.MavenCentralSignatureGithubInfo;
|
|
11
|
+
shouldGeneratePublishWorkflow?: boolean;
|
|
12
12
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface OutputMetadata {
|
|
6
|
-
description
|
|
7
|
-
authors
|
|
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
|
|
9
|
-
publisher_email
|
|
10
|
-
reference_url
|
|
11
|
-
publisher_name
|
|
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
|
|
11
|
-
shouldGeneratePublishWorkflow
|
|
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
|
|
7
|
-
documentationLink
|
|
8
|
-
homepageLink
|
|
6
|
+
keywords?: string[];
|
|
7
|
+
documentationLink?: string;
|
|
8
|
+
homepageLink?: string;
|
|
9
9
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ObjectPropertyAccess = void 0;
|
|
7
|
+
exports.ObjectPropertyAccess = {
|
|
8
|
+
ReadOnly: "READ_ONLY",
|
|
9
|
+
WriteOnly: "WRITE_ONLY",
|
|
10
|
+
};
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ObjectPropertyAccess"), exports);
|
|
17
18
|
__exportStar(require("./PrimitiveTypeV1"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "59.
|
|
1
|
+
export declare const SDK_VERSION = "59.6.1";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "59.
|
|
1
|
+
export declare const SDK_VERSION = "59.6.1";
|
package/version.js
CHANGED