@fern-api/dynamic-ir-sdk 56.0.0 → 57.1.0

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 (61) hide show
  1. package/api/resources/dynamic/resources/auth/types/Auth.d.ts +4 -1
  2. package/api/resources/dynamic/resources/auth/types/AuthValues.d.ts +4 -1
  3. package/api/resources/dynamic/resources/auth/types/OAuth.d.ts +8 -0
  4. package/api/resources/dynamic/resources/auth/types/OAuth.js +5 -0
  5. package/api/resources/dynamic/resources/auth/types/OAuthValues.d.ts +7 -0
  6. package/api/resources/dynamic/resources/auth/types/OAuthValues.js +5 -0
  7. package/api/resources/dynamic/resources/auth/types/index.d.ts +2 -0
  8. package/api/resources/dynamic/resources/auth/types/index.js +2 -0
  9. package/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +8 -1
  10. package/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.ts +18 -0
  11. package/api/resources/dynamic/resources/ir/types/GeneratorConfig.js +5 -0
  12. package/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.d.ts +18 -0
  13. package/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.js +5 -0
  14. package/api/resources/dynamic/resources/ir/types/GoPublishInfo.d.ts +8 -0
  15. package/api/resources/dynamic/resources/ir/types/GoPublishInfo.js +5 -0
  16. package/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.ts +8 -0
  17. package/api/resources/dynamic/resources/ir/types/MavenPublishInfo.js +5 -0
  18. package/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.ts +8 -0
  19. package/api/resources/dynamic/resources/ir/types/NpmPublishInfo.js +5 -0
  20. package/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.ts +8 -0
  21. package/api/resources/dynamic/resources/ir/types/NugetPublishInfo.js +5 -0
  22. package/api/resources/dynamic/resources/ir/types/PublishInfo.d.ts +25 -0
  23. package/api/resources/dynamic/resources/ir/types/PublishInfo.js +5 -0
  24. package/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.ts +8 -0
  25. package/api/resources/dynamic/resources/ir/types/PypiPublishInfo.js +5 -0
  26. package/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.ts +8 -0
  27. package/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.js +5 -0
  28. package/api/resources/dynamic/resources/ir/types/index.d.ts +9 -0
  29. package/api/resources/dynamic/resources/ir/types/index.js +9 -0
  30. package/api/resources/dynamic/resources/types/types/ObjectType.d.ts +2 -0
  31. package/dist/api/resources/dynamic/resources/auth/types/Auth.d.ts +4 -1
  32. package/dist/api/resources/dynamic/resources/auth/types/AuthValues.d.ts +4 -1
  33. package/dist/api/resources/dynamic/resources/auth/types/OAuth.d.ts +8 -0
  34. package/dist/api/resources/dynamic/resources/auth/types/OAuth.js +5 -0
  35. package/dist/api/resources/dynamic/resources/auth/types/OAuthValues.d.ts +7 -0
  36. package/dist/api/resources/dynamic/resources/auth/types/OAuthValues.js +5 -0
  37. package/dist/api/resources/dynamic/resources/auth/types/index.d.ts +2 -0
  38. package/dist/api/resources/dynamic/resources/auth/types/index.js +2 -0
  39. package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +8 -1
  40. package/dist/api/resources/dynamic/resources/ir/types/GeneratorConfig.d.ts +18 -0
  41. package/dist/api/resources/dynamic/resources/ir/types/GeneratorConfig.js +5 -0
  42. package/dist/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.d.ts +18 -0
  43. package/dist/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.js +5 -0
  44. package/dist/api/resources/dynamic/resources/ir/types/GoPublishInfo.d.ts +8 -0
  45. package/dist/api/resources/dynamic/resources/ir/types/GoPublishInfo.js +5 -0
  46. package/dist/api/resources/dynamic/resources/ir/types/MavenPublishInfo.d.ts +8 -0
  47. package/dist/api/resources/dynamic/resources/ir/types/MavenPublishInfo.js +5 -0
  48. package/dist/api/resources/dynamic/resources/ir/types/NpmPublishInfo.d.ts +8 -0
  49. package/dist/api/resources/dynamic/resources/ir/types/NpmPublishInfo.js +5 -0
  50. package/dist/api/resources/dynamic/resources/ir/types/NugetPublishInfo.d.ts +8 -0
  51. package/dist/api/resources/dynamic/resources/ir/types/NugetPublishInfo.js +5 -0
  52. package/dist/api/resources/dynamic/resources/ir/types/PublishInfo.d.ts +25 -0
  53. package/dist/api/resources/dynamic/resources/ir/types/PublishInfo.js +5 -0
  54. package/dist/api/resources/dynamic/resources/ir/types/PypiPublishInfo.d.ts +8 -0
  55. package/dist/api/resources/dynamic/resources/ir/types/PypiPublishInfo.js +5 -0
  56. package/dist/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.d.ts +8 -0
  57. package/dist/api/resources/dynamic/resources/ir/types/RubyGemsPublishInfo.js +5 -0
  58. package/dist/api/resources/dynamic/resources/ir/types/index.d.ts +9 -0
  59. package/dist/api/resources/dynamic/resources/ir/types/index.js +9 -0
  60. package/dist/api/resources/dynamic/resources/types/types/ObjectType.d.ts +2 -0
  61. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
- export declare type Auth = FernIr.dynamic.Auth.Basic | FernIr.dynamic.Auth.Bearer | FernIr.dynamic.Auth.Header;
5
+ export declare type Auth = FernIr.dynamic.Auth.Basic | FernIr.dynamic.Auth.Bearer | FernIr.dynamic.Auth.Header | FernIr.dynamic.Auth.Oauth;
6
6
  export declare namespace Auth {
7
7
  interface Basic extends FernIr.dynamic.BasicAuth {
8
8
  type: "basic";
@@ -13,4 +13,7 @@ export declare namespace Auth {
13
13
  interface Header extends FernIr.dynamic.HeaderAuth {
14
14
  type: "header";
15
15
  }
16
+ interface Oauth extends FernIr.dynamic.OAuth {
17
+ type: "oauth";
18
+ }
16
19
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
- export declare type AuthValues = FernIr.dynamic.AuthValues.Basic | FernIr.dynamic.AuthValues.Bearer | FernIr.dynamic.AuthValues.Header;
5
+ export declare type AuthValues = FernIr.dynamic.AuthValues.Basic | FernIr.dynamic.AuthValues.Bearer | FernIr.dynamic.AuthValues.Header | FernIr.dynamic.AuthValues.Oauth;
6
6
  export declare namespace AuthValues {
7
7
  interface Basic extends FernIr.dynamic.BasicAuthValues {
8
8
  type: "basic";
@@ -13,4 +13,7 @@ export declare namespace AuthValues {
13
13
  interface Header extends FernIr.dynamic.HeaderAuthValues {
14
14
  type: "header";
15
15
  }
16
+ interface Oauth extends FernIr.dynamic.OAuthValues {
17
+ type: "oauth";
18
+ }
16
19
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as FernIr from "../../../../../index";
5
+ export interface OAuth {
6
+ clientId: FernIr.Name;
7
+ clientSecret: FernIr.Name;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OAuthValues {
5
+ clientId: string;
6
+ clientSecret: string;
7
+ }
@@ -0,0 +1,5 @@
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,3 +6,5 @@ export * from "./BearerAuth";
6
6
  export * from "./BearerAuthValues";
7
7
  export * from "./HeaderAuth";
8
8
  export * from "./HeaderAuthValues";
9
+ export * from "./OAuth";
10
+ export * from "./OAuthValues";
@@ -22,3 +22,5 @@ __exportStar(require("./BearerAuth"), exports);
22
22
  __exportStar(require("./BearerAuthValues"), exports);
23
23
  __exportStar(require("./HeaderAuth"), exports);
24
24
  __exportStar(require("./HeaderAuthValues"), exports);
25
+ __exportStar(require("./OAuth"), exports);
26
+ __exportStar(require("./OAuthValues"), exports);
@@ -16,10 +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
20
  /**
20
21
  * The headers that are required on every request. These headers
21
22
  * are typically included in the SDK's client constructor.
22
23
  */
23
24
  headers: FernIr.dynamic.NamedParameter[] | undefined;
24
- environments: FernIr.EnvironmentsConfig | undefined;
25
+ /**
26
+ * The path parameters that are required on every request. These
27
+ * path parameters are typically included in the SDK's client
28
+ * constructor.
29
+ */
30
+ pathParameters: FernIr.dynamic.NamedParameter[] | undefined;
31
+ generatorConfig: FernIr.dynamic.GeneratorConfig | undefined;
25
32
  }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as FernIr from "../../../../../index";
5
+ /**
6
+ * The configuration for the generator. This is a simplified version of the
7
+ * generator-exec GeneratorConfig configuration.
8
+ */
9
+ export interface GeneratorConfig {
10
+ /**
11
+ * The name of the API. This is equivalent to the workspace name in the
12
+ * generator-exec configuration.
13
+ */
14
+ apiName: string;
15
+ organization: string;
16
+ customConfig: unknown;
17
+ outputConfig: FernIr.dynamic.GeneratorOutputConfig;
18
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as FernIr from "../../../../../index";
5
+ /**
6
+ * The configuration for the output of the generator. This is a simplified version of
7
+ * the generator-exec output.mode configuration.
8
+ */
9
+ export declare type GeneratorOutputConfig = FernIr.dynamic.GeneratorOutputConfig.Publish | FernIr.dynamic.GeneratorOutputConfig.Local;
10
+ export declare namespace GeneratorOutputConfig {
11
+ interface Publish {
12
+ type: "publish";
13
+ value: FernIr.dynamic.PublishInfo;
14
+ }
15
+ interface Local {
16
+ type: "local";
17
+ }
18
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface GoPublishInfo {
5
+ version: string;
6
+ /** A full repo url (i.e. https://github.com/fern-api/fern) */
7
+ repoUrl: string;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface MavenPublishInfo {
5
+ version: string;
6
+ coordinate: string;
7
+ repoUrl: string | undefined;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface NpmPublishInfo {
5
+ version: string;
6
+ packageName: string;
7
+ repoUrl: string | undefined;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface NugetPublishInfo {
5
+ version: string;
6
+ packageName: string;
7
+ repoUrl: string | undefined;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as FernIr from "../../../../../index";
5
+ export declare type PublishInfo = FernIr.dynamic.PublishInfo.Go | FernIr.dynamic.PublishInfo.Maven | FernIr.dynamic.PublishInfo.Npm | FernIr.dynamic.PublishInfo.Nuget | FernIr.dynamic.PublishInfo.Pypi | FernIr.dynamic.PublishInfo.Rubygems;
6
+ export declare namespace PublishInfo {
7
+ interface Go extends FernIr.dynamic.GoPublishInfo {
8
+ type: "go";
9
+ }
10
+ interface Maven extends FernIr.dynamic.MavenPublishInfo {
11
+ type: "maven";
12
+ }
13
+ interface Npm extends FernIr.dynamic.NpmPublishInfo {
14
+ type: "npm";
15
+ }
16
+ interface Nuget extends FernIr.dynamic.NugetPublishInfo {
17
+ type: "nuget";
18
+ }
19
+ interface Pypi extends FernIr.dynamic.PypiPublishInfo {
20
+ type: "pypi";
21
+ }
22
+ interface Rubygems extends FernIr.dynamic.RubyGemsPublishInfo {
23
+ type: "rubygems";
24
+ }
25
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PypiPublishInfo {
5
+ version: string;
6
+ packageName: string;
7
+ repoUrl: string | undefined;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface RubyGemsPublishInfo {
5
+ version: string;
6
+ packageName: string;
7
+ repoUrl: string | undefined;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,10 @@
1
1
  export * from "./DynamicIntermediateRepresentation";
2
+ export * from "./GeneratorConfig";
3
+ export * from "./GeneratorOutputConfig";
4
+ export * from "./PublishInfo";
5
+ export * from "./GoPublishInfo";
6
+ export * from "./MavenPublishInfo";
7
+ export * from "./NpmPublishInfo";
8
+ export * from "./NugetPublishInfo";
9
+ export * from "./PypiPublishInfo";
10
+ export * from "./RubyGemsPublishInfo";
@@ -15,3 +15,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./DynamicIntermediateRepresentation"), exports);
18
+ __exportStar(require("./GeneratorConfig"), exports);
19
+ __exportStar(require("./GeneratorOutputConfig"), exports);
20
+ __exportStar(require("./PublishInfo"), exports);
21
+ __exportStar(require("./GoPublishInfo"), exports);
22
+ __exportStar(require("./MavenPublishInfo"), exports);
23
+ __exportStar(require("./NpmPublishInfo"), exports);
24
+ __exportStar(require("./NugetPublishInfo"), exports);
25
+ __exportStar(require("./PypiPublishInfo"), exports);
26
+ __exportStar(require("./RubyGemsPublishInfo"), exports);
@@ -5,4 +5,6 @@ import * as FernIr from "../../../../../index";
5
5
  export interface ObjectType {
6
6
  declaration: FernIr.dynamic.Declaration;
7
7
  properties: FernIr.dynamic.NamedParameter[];
8
+ /** Whether the type allows additional properties. */
9
+ additionalProperties: boolean | undefined;
8
10
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
- export declare type Auth = FernIr.dynamic.Auth.Basic | FernIr.dynamic.Auth.Bearer | FernIr.dynamic.Auth.Header;
5
+ export declare type Auth = FernIr.dynamic.Auth.Basic | FernIr.dynamic.Auth.Bearer | FernIr.dynamic.Auth.Header | FernIr.dynamic.Auth.Oauth;
6
6
  export declare namespace Auth {
7
7
  interface Basic extends FernIr.dynamic.BasicAuth {
8
8
  type: "basic";
@@ -13,4 +13,7 @@ export declare namespace Auth {
13
13
  interface Header extends FernIr.dynamic.HeaderAuth {
14
14
  type: "header";
15
15
  }
16
+ interface Oauth extends FernIr.dynamic.OAuth {
17
+ type: "oauth";
18
+ }
16
19
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as FernIr from "../../../../../index";
5
- export declare type AuthValues = FernIr.dynamic.AuthValues.Basic | FernIr.dynamic.AuthValues.Bearer | FernIr.dynamic.AuthValues.Header;
5
+ export declare type AuthValues = FernIr.dynamic.AuthValues.Basic | FernIr.dynamic.AuthValues.Bearer | FernIr.dynamic.AuthValues.Header | FernIr.dynamic.AuthValues.Oauth;
6
6
  export declare namespace AuthValues {
7
7
  interface Basic extends FernIr.dynamic.BasicAuthValues {
8
8
  type: "basic";
@@ -13,4 +13,7 @@ export declare namespace AuthValues {
13
13
  interface Header extends FernIr.dynamic.HeaderAuthValues {
14
14
  type: "header";
15
15
  }
16
+ interface Oauth extends FernIr.dynamic.OAuthValues {
17
+ type: "oauth";
18
+ }
16
19
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as FernIr from "../../../../../index";
5
+ export interface OAuth {
6
+ clientId: FernIr.Name;
7
+ clientSecret: FernIr.Name;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OAuthValues {
5
+ clientId: string;
6
+ clientSecret: string;
7
+ }
@@ -0,0 +1,5 @@
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,3 +6,5 @@ export * from "./BearerAuth";
6
6
  export * from "./BearerAuthValues";
7
7
  export * from "./HeaderAuth";
8
8
  export * from "./HeaderAuthValues";
9
+ export * from "./OAuth";
10
+ export * from "./OAuthValues";
@@ -22,3 +22,5 @@ __exportStar(require("./BearerAuth"), exports);
22
22
  __exportStar(require("./BearerAuthValues"), exports);
23
23
  __exportStar(require("./HeaderAuth"), exports);
24
24
  __exportStar(require("./HeaderAuthValues"), exports);
25
+ __exportStar(require("./OAuth"), exports);
26
+ __exportStar(require("./OAuthValues"), exports);
@@ -16,10 +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
20
  /**
20
21
  * The headers that are required on every request. These headers
21
22
  * are typically included in the SDK's client constructor.
22
23
  */
23
24
  headers: FernIr.dynamic.NamedParameter[] | undefined;
24
- environments: FernIr.EnvironmentsConfig | undefined;
25
+ /**
26
+ * The path parameters that are required on every request. These
27
+ * path parameters are typically included in the SDK's client
28
+ * constructor.
29
+ */
30
+ pathParameters: FernIr.dynamic.NamedParameter[] | undefined;
31
+ generatorConfig: FernIr.dynamic.GeneratorConfig | undefined;
25
32
  }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as FernIr from "../../../../../index";
5
+ /**
6
+ * The configuration for the generator. This is a simplified version of the
7
+ * generator-exec GeneratorConfig configuration.
8
+ */
9
+ export interface GeneratorConfig {
10
+ /**
11
+ * The name of the API. This is equivalent to the workspace name in the
12
+ * generator-exec configuration.
13
+ */
14
+ apiName: string;
15
+ organization: string;
16
+ customConfig: unknown;
17
+ outputConfig: FernIr.dynamic.GeneratorOutputConfig;
18
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as FernIr from "../../../../../index";
5
+ /**
6
+ * The configuration for the output of the generator. This is a simplified version of
7
+ * the generator-exec output.mode configuration.
8
+ */
9
+ export declare type GeneratorOutputConfig = FernIr.dynamic.GeneratorOutputConfig.Publish | FernIr.dynamic.GeneratorOutputConfig.Local;
10
+ export declare namespace GeneratorOutputConfig {
11
+ interface Publish {
12
+ type: "publish";
13
+ value: FernIr.dynamic.PublishInfo;
14
+ }
15
+ interface Local {
16
+ type: "local";
17
+ }
18
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface GoPublishInfo {
5
+ version: string;
6
+ /** A full repo url (i.e. https://github.com/fern-api/fern) */
7
+ repoUrl: string;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface MavenPublishInfo {
5
+ version: string;
6
+ coordinate: string;
7
+ repoUrl: string | undefined;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface NpmPublishInfo {
5
+ version: string;
6
+ packageName: string;
7
+ repoUrl: string | undefined;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface NugetPublishInfo {
5
+ version: string;
6
+ packageName: string;
7
+ repoUrl: string | undefined;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as FernIr from "../../../../../index";
5
+ export declare type PublishInfo = FernIr.dynamic.PublishInfo.Go | FernIr.dynamic.PublishInfo.Maven | FernIr.dynamic.PublishInfo.Npm | FernIr.dynamic.PublishInfo.Nuget | FernIr.dynamic.PublishInfo.Pypi | FernIr.dynamic.PublishInfo.Rubygems;
6
+ export declare namespace PublishInfo {
7
+ interface Go extends FernIr.dynamic.GoPublishInfo {
8
+ type: "go";
9
+ }
10
+ interface Maven extends FernIr.dynamic.MavenPublishInfo {
11
+ type: "maven";
12
+ }
13
+ interface Npm extends FernIr.dynamic.NpmPublishInfo {
14
+ type: "npm";
15
+ }
16
+ interface Nuget extends FernIr.dynamic.NugetPublishInfo {
17
+ type: "nuget";
18
+ }
19
+ interface Pypi extends FernIr.dynamic.PypiPublishInfo {
20
+ type: "pypi";
21
+ }
22
+ interface Rubygems extends FernIr.dynamic.RubyGemsPublishInfo {
23
+ type: "rubygems";
24
+ }
25
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PypiPublishInfo {
5
+ version: string;
6
+ packageName: string;
7
+ repoUrl: string | undefined;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface RubyGemsPublishInfo {
5
+ version: string;
6
+ packageName: string;
7
+ repoUrl: string | undefined;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,10 @@
1
1
  export * from "./DynamicIntermediateRepresentation";
2
+ export * from "./GeneratorConfig";
3
+ export * from "./GeneratorOutputConfig";
4
+ export * from "./PublishInfo";
5
+ export * from "./GoPublishInfo";
6
+ export * from "./MavenPublishInfo";
7
+ export * from "./NpmPublishInfo";
8
+ export * from "./NugetPublishInfo";
9
+ export * from "./PypiPublishInfo";
10
+ export * from "./RubyGemsPublishInfo";
@@ -15,3 +15,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./DynamicIntermediateRepresentation"), exports);
18
+ __exportStar(require("./GeneratorConfig"), exports);
19
+ __exportStar(require("./GeneratorOutputConfig"), exports);
20
+ __exportStar(require("./PublishInfo"), exports);
21
+ __exportStar(require("./GoPublishInfo"), exports);
22
+ __exportStar(require("./MavenPublishInfo"), exports);
23
+ __exportStar(require("./NpmPublishInfo"), exports);
24
+ __exportStar(require("./NugetPublishInfo"), exports);
25
+ __exportStar(require("./PypiPublishInfo"), exports);
26
+ __exportStar(require("./RubyGemsPublishInfo"), exports);
@@ -5,4 +5,6 @@ import * as FernIr from "../../../../../index";
5
5
  export interface ObjectType {
6
6
  declaration: FernIr.dynamic.Declaration;
7
7
  properties: FernIr.dynamic.NamedParameter[];
8
+ /** Whether the type allows additional properties. */
9
+ additionalProperties: boolean | undefined;
8
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/dynamic-ir-sdk",
3
- "version": "56.0.0",
3
+ "version": "57.1.0",
4
4
  "private": false,
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",