@fern-api/dynamic-ir-sdk 60.4.0 → 60.5.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.
- package/api/resources/commons/types/index.d.ts +0 -5
- package/api/resources/commons/types/index.js +0 -5
- package/api/resources/dynamic/resources/auth/types/BasicAuth.d.ts +2 -2
- package/api/resources/dynamic/resources/auth/types/BearerAuth.d.ts +1 -1
- package/api/resources/dynamic/resources/auth/types/OAuth.d.ts +2 -2
- package/api/resources/dynamic/resources/commons/types/FernFilepath.d.ts +9 -0
- package/api/resources/dynamic/resources/commons/types/Name.d.ts +11 -0
- package/api/resources/{commons → dynamic/resources/commons}/types/NameAndWireValue.d.ts +2 -2
- package/api/resources/dynamic/resources/commons/types/SafeAndUnsafeString.d.ts +9 -0
- package/api/resources/dynamic/resources/commons/types/index.d.ts +7 -0
- package/api/resources/dynamic/resources/commons/types/index.js +23 -0
- package/api/resources/dynamic/resources/declaration/types/Declaration.d.ts +2 -2
- package/api/resources/dynamic/resources/endpoints/types/EndpointLocation.d.ts +1 -1
- package/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.d.ts +2 -2
- package/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.d.ts +1 -1
- package/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlWithId.d.ts +8 -0
- package/api/resources/dynamic/resources/environment/types/EnvironmentValues.d.ts +1 -1
- package/api/resources/dynamic/resources/environment/types/Environments.d.ts +13 -0
- package/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.d.ts +8 -0
- package/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironment.d.ts +9 -0
- package/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironments.d.ts +8 -0
- package/api/resources/dynamic/resources/environment/types/MultipleEnvironmentUrlValues.d.ts +1 -1
- package/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironment.d.ts +9 -0
- package/{dist/api → api/resources/dynamic}/resources/environment/types/SingleBaseUrlEnvironments.d.ts +2 -2
- package/api/resources/dynamic/resources/environment/types/index.d.ts +10 -0
- package/api/resources/dynamic/resources/environment/types/index.js +10 -0
- package/api/resources/dynamic/resources/index.d.ts +4 -0
- package/api/resources/dynamic/resources/index.js +5 -1
- package/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +3 -3
- package/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.d.ts +1 -1
- package/api/resources/dynamic/resources/types/types/EnumType.d.ts +1 -1
- package/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +4 -2
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +1 -1
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.d.ts +2 -2
- package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +1 -1
- package/api/resources/dynamic/resources/types/types/TypeReference.d.ts +2 -2
- package/api/resources/dynamic/resources/types/types/index.d.ts +2 -0
- package/api/resources/dynamic/resources/types/types/index.js +2 -0
- package/api/resources/index.d.ts +0 -6
- package/api/resources/index.js +1 -7
- package/dist/api/resources/commons/types/index.d.ts +0 -5
- package/dist/api/resources/commons/types/index.js +0 -5
- package/dist/api/resources/dynamic/resources/auth/types/BasicAuth.d.ts +2 -2
- package/dist/api/resources/dynamic/resources/auth/types/BearerAuth.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/auth/types/OAuth.d.ts +2 -2
- package/dist/api/resources/dynamic/resources/commons/types/FernFilepath.d.ts +9 -0
- package/dist/api/resources/dynamic/resources/commons/types/Name.d.ts +11 -0
- package/dist/api/resources/{commons → dynamic/resources/commons}/types/NameAndWireValue.d.ts +2 -2
- package/dist/api/resources/dynamic/resources/commons/types/SafeAndUnsafeString.d.ts +9 -0
- package/dist/api/resources/dynamic/resources/commons/types/index.d.ts +7 -0
- package/dist/api/resources/dynamic/resources/commons/types/index.js +23 -0
- package/dist/api/resources/dynamic/resources/declaration/types/Declaration.d.ts +2 -2
- package/dist/api/resources/dynamic/resources/endpoints/types/EndpointLocation.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.d.ts +2 -2
- package/dist/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBody.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentBaseUrlWithId.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentValues.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/environment/types/Environments.d.ts +13 -0
- package/dist/api/resources/dynamic/resources/environment/types/EnvironmentsConfig.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironment.d.ts +9 -0
- package/dist/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironment.js +5 -0
- package/dist/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironments.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/environment/types/MultipleBaseUrlsEnvironments.js +5 -0
- package/dist/api/resources/dynamic/resources/environment/types/MultipleEnvironmentUrlValues.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironment.d.ts +9 -0
- package/dist/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironment.js +5 -0
- package/{api → dist/api/resources/dynamic}/resources/environment/types/SingleBaseUrlEnvironments.d.ts +2 -2
- package/dist/api/resources/dynamic/resources/environment/types/SingleBaseUrlEnvironments.js +5 -0
- package/dist/api/resources/dynamic/resources/environment/types/index.d.ts +10 -0
- package/dist/api/resources/dynamic/resources/environment/types/index.js +10 -0
- package/dist/api/resources/dynamic/resources/index.d.ts +4 -0
- package/dist/api/resources/dynamic/resources/index.js +5 -1
- package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +3 -3
- package/dist/api/resources/dynamic/resources/types/types/DiscriminatedUnionType.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/types/types/EnumType.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/types/types/NamedParameter.d.ts +4 -2
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeObject.d.ts +2 -2
- package/dist/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/types/types/TypeReference.d.ts +2 -2
- package/dist/api/resources/dynamic/resources/types/types/index.d.ts +2 -0
- package/dist/api/resources/dynamic/resources/types/types/index.js +2 -0
- package/dist/api/resources/index.d.ts +0 -6
- package/dist/api/resources/index.js +1 -7
- 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
- package/api/resources/commons/types/FernFilepath.d.ts +0 -9
- package/api/resources/environment/types/EnvironmentBaseUrlWithId.d.ts +0 -8
- package/api/resources/environment/types/Environments.d.ts +0 -13
- package/api/resources/environment/types/EnvironmentsConfig.d.ts +0 -8
- package/api/resources/environment/types/MultipleBaseUrlsEnvironment.d.ts +0 -9
- package/api/resources/environment/types/MultipleBaseUrlsEnvironments.d.ts +0 -8
- package/api/resources/environment/types/SingleBaseUrlEnvironment.d.ts +0 -9
- package/api/resources/environment/types/index.d.ts +0 -10
- package/api/resources/environment/types/index.js +0 -26
- package/api/resources/types/types/index.d.ts +0 -2
- package/api/resources/types/types/index.js +0 -18
- package/dist/api/resources/commons/types/FernFilepath.d.ts +0 -9
- package/dist/api/resources/environment/types/EnvironmentBaseUrlWithId.d.ts +0 -8
- package/dist/api/resources/environment/types/Environments.d.ts +0 -13
- package/dist/api/resources/environment/types/EnvironmentsConfig.d.ts +0 -8
- package/dist/api/resources/environment/types/MultipleBaseUrlsEnvironment.d.ts +0 -9
- package/dist/api/resources/environment/types/MultipleBaseUrlsEnvironments.d.ts +0 -8
- package/dist/api/resources/environment/types/SingleBaseUrlEnvironment.d.ts +0 -9
- package/dist/api/resources/environment/types/index.d.ts +0 -10
- package/dist/api/resources/environment/types/index.js +0 -26
- package/dist/api/resources/http/index.d.ts +0 -1
- package/dist/api/resources/http/index.js +0 -17
- package/dist/api/resources/types/index.d.ts +0 -1
- package/dist/api/resources/types/index.js +0 -17
- package/dist/api/resources/types/types/index.d.ts +0 -2
- package/dist/api/resources/types/types/index.js +0 -18
- /package/api/resources/{environment → dynamic/resources/commons}/index.d.ts +0 -0
- /package/api/resources/{environment → dynamic/resources/commons}/index.js +0 -0
- /package/api/resources/{commons → dynamic/resources/commons}/types/EndpointId.d.ts +0 -0
- /package/api/resources/{commons → dynamic/resources/commons}/types/EndpointId.js +0 -0
- /package/api/resources/{commons → dynamic/resources/commons}/types/FernFilepath.js +0 -0
- /package/api/resources/{commons/types/NameAndWireValue.js → dynamic/resources/commons/types/Name.js} +0 -0
- /package/{dist/api → api/resources/dynamic}/resources/commons/types/NameAndWireValue.js +0 -0
- /package/api/resources/{commons/types/TypeId.js → dynamic/resources/commons/types/SafeAndUnsafeString.js} +0 -0
- /package/api/resources/{commons → dynamic/resources/commons}/types/TypeId.d.ts +0 -0
- /package/{dist/api → api/resources/dynamic}/resources/commons/types/TypeId.js +0 -0
- /package/api/resources/{commons → dynamic/resources/commons}/types/WithDocs.d.ts +0 -0
- /package/api/resources/{commons → dynamic/resources/commons}/types/WithDocs.js +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/EnvironmentBaseUrlId.d.ts +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/EnvironmentBaseUrlId.js +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/EnvironmentBaseUrlWithId.js +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/EnvironmentId.d.ts +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/EnvironmentId.js +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/EnvironmentUrl.d.ts +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/EnvironmentUrl.js +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/Environments.js +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/EnvironmentsConfig.js +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/MultipleBaseUrlsEnvironment.js +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/MultipleBaseUrlsEnvironments.js +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/SingleBaseUrlEnvironment.js +0 -0
- /package/api/resources/{environment → dynamic/resources/environment}/types/SingleBaseUrlEnvironments.js +0 -0
- /package/api/resources/{http → dynamic/resources/http}/index.d.ts +0 -0
- /package/api/resources/{http → dynamic/resources/http}/index.js +0 -0
- /package/api/resources/{http → dynamic/resources/http}/types/HttpMethod.d.ts +0 -0
- /package/api/resources/{http → dynamic/resources/http}/types/HttpMethod.js +0 -0
- /package/api/resources/{http → dynamic/resources/http}/types/index.d.ts +0 -0
- /package/api/resources/{http → dynamic/resources/http}/types/index.js +0 -0
- /package/api/resources/{types → dynamic/resources/types}/types/ObjectPropertyAccess.d.ts +0 -0
- /package/api/resources/{types → dynamic/resources/types}/types/ObjectPropertyAccess.js +0 -0
- /package/api/resources/{types → dynamic/resources/types}/types/PrimitiveTypeV1.d.ts +0 -0
- /package/api/resources/{types → dynamic/resources/types}/types/PrimitiveTypeV1.js +0 -0
- /package/{api/resources/types → dist/api/resources/dynamic/resources/commons}/index.d.ts +0 -0
- /package/{api/resources/types → dist/api/resources/dynamic/resources/commons}/index.js +0 -0
- /package/dist/api/resources/{commons → dynamic/resources/commons}/types/EndpointId.d.ts +0 -0
- /package/dist/api/resources/{commons → dynamic/resources/commons}/types/EndpointId.js +0 -0
- /package/dist/api/resources/{commons → dynamic/resources/commons}/types/FernFilepath.js +0 -0
- /package/dist/api/resources/{commons/types/WithDocs.js → dynamic/resources/commons/types/Name.js} +0 -0
- /package/dist/api/resources/{environment/types/EnvironmentBaseUrlId.js → dynamic/resources/commons/types/NameAndWireValue.js} +0 -0
- /package/dist/api/resources/{environment/types/EnvironmentBaseUrlWithId.js → dynamic/resources/commons/types/SafeAndUnsafeString.js} +0 -0
- /package/dist/api/resources/{commons → dynamic/resources/commons}/types/TypeId.d.ts +0 -0
- /package/dist/api/resources/{environment/types/EnvironmentId.js → dynamic/resources/commons/types/TypeId.js} +0 -0
- /package/dist/api/resources/{commons → dynamic/resources/commons}/types/WithDocs.d.ts +0 -0
- /package/dist/api/resources/{environment/types/EnvironmentUrl.js → dynamic/resources/commons/types/WithDocs.js} +0 -0
- /package/dist/api/resources/{environment → dynamic/resources/environment}/types/EnvironmentBaseUrlId.d.ts +0 -0
- /package/dist/api/resources/{environment/types/Environments.js → dynamic/resources/environment/types/EnvironmentBaseUrlId.js} +0 -0
- /package/dist/api/resources/{environment/types/EnvironmentsConfig.js → dynamic/resources/environment/types/EnvironmentBaseUrlWithId.js} +0 -0
- /package/dist/api/resources/{environment → dynamic/resources/environment}/types/EnvironmentId.d.ts +0 -0
- /package/dist/api/resources/{environment/types/MultipleBaseUrlsEnvironment.js → dynamic/resources/environment/types/EnvironmentId.js} +0 -0
- /package/dist/api/resources/{environment → dynamic/resources/environment}/types/EnvironmentUrl.d.ts +0 -0
- /package/dist/api/resources/{environment/types/MultipleBaseUrlsEnvironments.js → dynamic/resources/environment/types/EnvironmentUrl.js} +0 -0
- /package/dist/api/resources/{environment/types/SingleBaseUrlEnvironment.js → dynamic/resources/environment/types/Environments.js} +0 -0
- /package/dist/api/resources/{environment/types/SingleBaseUrlEnvironments.js → dynamic/resources/environment/types/EnvironmentsConfig.js} +0 -0
- /package/dist/api/resources/{environment → dynamic/resources/http}/index.d.ts +0 -0
- /package/dist/api/resources/{environment → dynamic/resources/http}/index.js +0 -0
- /package/dist/api/resources/{http → dynamic/resources/http}/types/HttpMethod.d.ts +0 -0
- /package/dist/api/resources/{http → dynamic/resources/http}/types/HttpMethod.js +0 -0
- /package/dist/api/resources/{http → dynamic/resources/http}/types/index.d.ts +0 -0
- /package/dist/api/resources/{http → dynamic/resources/http}/types/index.js +0 -0
- /package/dist/api/resources/{types → dynamic/resources/types}/types/ObjectPropertyAccess.d.ts +0 -0
- /package/dist/api/resources/{types → dynamic/resources/types}/types/ObjectPropertyAccess.js +0 -0
- /package/dist/api/resources/{types → dynamic/resources/types}/types/PrimitiveTypeV1.d.ts +0 -0
- /package/dist/api/resources/{types → dynamic/resources/types}/types/PrimitiveTypeV1.js +0 -0
|
@@ -14,10 +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("./WithDocs"), exports);
|
|
18
|
-
__exportStar(require("./FernFilepath"), exports);
|
|
19
17
|
__exportStar(require("./Name"), exports);
|
|
20
|
-
__exportStar(require("./NameAndWireValue"), exports);
|
|
21
18
|
__exportStar(require("./SafeAndUnsafeString"), exports);
|
|
22
|
-
__exportStar(require("./EndpointId"), exports);
|
|
23
|
-
__exportStar(require("./TypeId"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface FernFilepath {
|
|
6
|
+
allParts: FernIr.dynamic.Name[];
|
|
7
|
+
packagePath: FernIr.dynamic.Name[];
|
|
8
|
+
file?: FernIr.dynamic.Name;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface Name {
|
|
6
|
+
originalName: string;
|
|
7
|
+
camelCase: FernIr.dynamic.SafeAndUnsafeString;
|
|
8
|
+
pascalCase: FernIr.dynamic.SafeAndUnsafeString;
|
|
9
|
+
snakeCase: FernIr.dynamic.SafeAndUnsafeString;
|
|
10
|
+
screamingSnakeCase: FernIr.dynamic.SafeAndUnsafeString;
|
|
11
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as FernIr from "
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface NameAndWireValue {
|
|
6
6
|
wireValue: string;
|
|
7
|
-
name: FernIr.Name;
|
|
7
|
+
name: FernIr.dynamic.Name;
|
|
8
8
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface SafeAndUnsafeString {
|
|
5
|
+
/** this name might overlap with reserved keywords of the language being generated */
|
|
6
|
+
unsafeName: string;
|
|
7
|
+
/** this name will NOT overlap with reserved keywords of the language being generated */
|
|
8
|
+
safeName: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./WithDocs"), exports);
|
|
18
|
+
__exportStar(require("./FernFilepath"), exports);
|
|
19
|
+
__exportStar(require("./Name"), exports);
|
|
20
|
+
__exportStar(require("./NameAndWireValue"), exports);
|
|
21
|
+
__exportStar(require("./SafeAndUnsafeString"), exports);
|
|
22
|
+
__exportStar(require("./EndpointId"), exports);
|
|
23
|
+
__exportStar(require("./TypeId"), exports);
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export type FileUploadRequestBodyProperty = FernIr.dynamic.FileUploadRequestBodyProperty.File_ | FernIr.dynamic.FileUploadRequestBodyProperty.FileArray | FernIr.dynamic.FileUploadRequestBodyProperty.BodyProperty;
|
|
6
6
|
export declare namespace FileUploadRequestBodyProperty {
|
|
7
|
-
interface File_ extends FernIr.NameAndWireValue {
|
|
7
|
+
interface File_ extends FernIr.dynamic.NameAndWireValue {
|
|
8
8
|
type: "file";
|
|
9
9
|
}
|
|
10
|
-
interface FileArray extends FernIr.NameAndWireValue {
|
|
10
|
+
interface FileArray extends FernIr.dynamic.NameAndWireValue {
|
|
11
11
|
type: "fileArray";
|
|
12
12
|
}
|
|
13
13
|
interface BodyProperty extends FernIr.dynamic.NamedParameter {
|
|
@@ -14,4 +14,4 @@ import * as FernIr from "../../../../../index";
|
|
|
14
14
|
* "s3": "https://staging.s3.aws.com"
|
|
15
15
|
* }
|
|
16
16
|
*/
|
|
17
|
-
export type EnvironmentValues = FernIr.EnvironmentId | FernIr.dynamic.MultipleEnvironmentUrlValues;
|
|
17
|
+
export type EnvironmentValues = FernIr.dynamic.EnvironmentId | FernIr.dynamic.MultipleEnvironmentUrlValues;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export type Environments = FernIr.dynamic.Environments.SingleBaseUrl | FernIr.dynamic.Environments.MultipleBaseUrls;
|
|
6
|
+
export declare namespace Environments {
|
|
7
|
+
interface SingleBaseUrl extends FernIr.dynamic.SingleBaseUrlEnvironments {
|
|
8
|
+
type: "singleBaseUrl";
|
|
9
|
+
}
|
|
10
|
+
interface MultipleBaseUrls extends FernIr.dynamic.MultipleBaseUrlsEnvironments {
|
|
11
|
+
type: "multipleBaseUrls";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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 EnvironmentsConfig {
|
|
6
|
+
defaultEnvironment?: FernIr.dynamic.EnvironmentId;
|
|
7
|
+
environments: FernIr.dynamic.Environments;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface MultipleBaseUrlsEnvironment extends FernIr.dynamic.WithDocs {
|
|
6
|
+
id: FernIr.dynamic.EnvironmentId;
|
|
7
|
+
name: FernIr.dynamic.Name;
|
|
8
|
+
urls: Record<FernIr.dynamic.EnvironmentBaseUrlId, FernIr.dynamic.EnvironmentUrl>;
|
|
9
|
+
}
|
|
@@ -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 MultipleBaseUrlsEnvironments {
|
|
6
|
+
baseUrls: FernIr.dynamic.EnvironmentBaseUrlWithId[];
|
|
7
|
+
environments: FernIr.dynamic.MultipleBaseUrlsEnvironment[];
|
|
8
|
+
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
|
-
export type MultipleEnvironmentUrlValues = Record<FernIr.EnvironmentBaseUrlId, FernIr.EnvironmentUrl>;
|
|
5
|
+
export type MultipleEnvironmentUrlValues = Record<FernIr.dynamic.EnvironmentBaseUrlId, FernIr.dynamic.EnvironmentUrl>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface SingleBaseUrlEnvironment extends FernIr.dynamic.WithDocs {
|
|
6
|
+
id: FernIr.dynamic.EnvironmentId;
|
|
7
|
+
name: FernIr.dynamic.Name;
|
|
8
|
+
url: FernIr.dynamic.EnvironmentUrl;
|
|
9
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as FernIr from "
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface SingleBaseUrlEnvironments {
|
|
6
|
-
environments: FernIr.SingleBaseUrlEnvironment[];
|
|
6
|
+
environments: FernIr.dynamic.SingleBaseUrlEnvironment[];
|
|
7
7
|
}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
+
export * from "./EnvironmentId";
|
|
2
|
+
export * from "./EnvironmentBaseUrlId";
|
|
3
|
+
export * from "./EnvironmentUrl";
|
|
4
|
+
export * from "./EnvironmentsConfig";
|
|
5
|
+
export * from "./Environments";
|
|
6
|
+
export * from "./SingleBaseUrlEnvironments";
|
|
7
|
+
export * from "./SingleBaseUrlEnvironment";
|
|
8
|
+
export * from "./MultipleBaseUrlsEnvironments";
|
|
9
|
+
export * from "./MultipleBaseUrlsEnvironment";
|
|
10
|
+
export * from "./EnvironmentBaseUrlWithId";
|
|
1
11
|
export * from "./EnvironmentValues";
|
|
2
12
|
export * from "./MultipleEnvironmentUrlValues";
|
|
@@ -14,5 +14,15 @@ 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("./EnvironmentId"), exports);
|
|
18
|
+
__exportStar(require("./EnvironmentBaseUrlId"), exports);
|
|
19
|
+
__exportStar(require("./EnvironmentUrl"), exports);
|
|
20
|
+
__exportStar(require("./EnvironmentsConfig"), exports);
|
|
21
|
+
__exportStar(require("./Environments"), exports);
|
|
22
|
+
__exportStar(require("./SingleBaseUrlEnvironments"), exports);
|
|
23
|
+
__exportStar(require("./SingleBaseUrlEnvironment"), exports);
|
|
24
|
+
__exportStar(require("./MultipleBaseUrlsEnvironments"), exports);
|
|
25
|
+
__exportStar(require("./MultipleBaseUrlsEnvironment"), exports);
|
|
26
|
+
__exportStar(require("./EnvironmentBaseUrlWithId"), exports);
|
|
17
27
|
__exportStar(require("./EnvironmentValues"), exports);
|
|
18
28
|
__exportStar(require("./MultipleEnvironmentUrlValues"), exports);
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
export * as auth from "./auth";
|
|
2
2
|
export * from "./auth/types";
|
|
3
|
+
export * as commons from "./commons";
|
|
4
|
+
export * from "./commons/types";
|
|
3
5
|
export * as declaration from "./declaration";
|
|
4
6
|
export * from "./declaration/types";
|
|
5
7
|
export * as endpoints from "./endpoints";
|
|
6
8
|
export * from "./endpoints/types";
|
|
7
9
|
export * as environment from "./environment";
|
|
8
10
|
export * from "./environment/types";
|
|
11
|
+
export * as http from "./http";
|
|
12
|
+
export * from "./http/types";
|
|
9
13
|
export * as ir from "./ir";
|
|
10
14
|
export * from "./ir/types";
|
|
11
15
|
export * as snippets from "./snippets";
|
|
@@ -36,15 +36,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.variables = exports.types = exports.snippets = exports.ir = exports.environment = exports.endpoints = exports.declaration = exports.auth = void 0;
|
|
39
|
+
exports.variables = exports.types = exports.snippets = exports.ir = exports.http = exports.environment = exports.endpoints = exports.declaration = exports.commons = exports.auth = void 0;
|
|
40
40
|
exports.auth = __importStar(require("./auth"));
|
|
41
41
|
__exportStar(require("./auth/types"), exports);
|
|
42
|
+
exports.commons = __importStar(require("./commons"));
|
|
43
|
+
__exportStar(require("./commons/types"), exports);
|
|
42
44
|
exports.declaration = __importStar(require("./declaration"));
|
|
43
45
|
__exportStar(require("./declaration/types"), exports);
|
|
44
46
|
exports.endpoints = __importStar(require("./endpoints"));
|
|
45
47
|
__exportStar(require("./endpoints/types"), exports);
|
|
46
48
|
exports.environment = __importStar(require("./environment"));
|
|
47
49
|
__exportStar(require("./environment/types"), exports);
|
|
50
|
+
exports.http = __importStar(require("./http"));
|
|
51
|
+
__exportStar(require("./http/types"), exports);
|
|
48
52
|
exports.ir = __importStar(require("./ir"));
|
|
49
53
|
__exportStar(require("./ir/types"), exports);
|
|
50
54
|
exports.snippets = __importStar(require("./snippets"));
|
|
@@ -14,9 +14,9 @@ export interface DynamicIntermediateRepresentation {
|
|
|
14
14
|
* of the primary IR.
|
|
15
15
|
*/
|
|
16
16
|
version: "1.0.0";
|
|
17
|
-
types: Record<FernIr.TypeId, FernIr.dynamic.NamedType>;
|
|
18
|
-
endpoints: Record<FernIr.EndpointId, FernIr.dynamic.Endpoint>;
|
|
19
|
-
environments?: FernIr.EnvironmentsConfig;
|
|
17
|
+
types: Record<FernIr.dynamic.TypeId, FernIr.dynamic.NamedType>;
|
|
18
|
+
endpoints: Record<FernIr.dynamic.EndpointId, FernIr.dynamic.Endpoint>;
|
|
19
|
+
environments?: FernIr.dynamic.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.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface DiscriminatedUnionType {
|
|
6
6
|
declaration: FernIr.dynamic.Declaration;
|
|
7
|
-
discriminant: FernIr.NameAndWireValue;
|
|
7
|
+
discriminant: FernIr.dynamic.NameAndWireValue;
|
|
8
8
|
/** Map from the discriminant value (e.g. "user") to the type (e.g. User). */
|
|
9
9
|
types: Record<string, FernIr.dynamic.SingleDiscriminatedUnionType>;
|
|
10
10
|
}
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface NamedParameter {
|
|
6
|
-
name: FernIr.NameAndWireValue;
|
|
6
|
+
name: FernIr.dynamic.NameAndWireValue;
|
|
7
7
|
typeReference: FernIr.dynamic.TypeReference;
|
|
8
|
-
propertyAccess?: FernIr.ObjectPropertyAccess;
|
|
8
|
+
propertyAccess?: FernIr.dynamic.ObjectPropertyAccess;
|
|
9
|
+
/** If set, this parameter references a variable defined at the client level */
|
|
10
|
+
variable?: string;
|
|
9
11
|
}
|
package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeNoProperties.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface SingleDiscriminatedUnionTypeNoProperties {
|
|
6
|
-
discriminantValue: FernIr.NameAndWireValue;
|
|
6
|
+
discriminantValue: FernIr.dynamic.NameAndWireValue;
|
|
7
7
|
/** Any properties included here are the base and/or extended properties from the union. */
|
|
8
8
|
properties?: FernIr.dynamic.NamedParameter[];
|
|
9
9
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface SingleDiscriminatedUnionTypeObject {
|
|
6
|
-
typeId: FernIr.TypeId;
|
|
7
|
-
discriminantValue: FernIr.NameAndWireValue;
|
|
6
|
+
typeId: FernIr.dynamic.TypeId;
|
|
7
|
+
discriminantValue: FernIr.dynamic.NameAndWireValue;
|
|
8
8
|
/** Any properties included here are the base and/or extended properties from the union. */
|
|
9
9
|
properties: FernIr.dynamic.NamedParameter[];
|
|
10
10
|
}
|
package/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionTypeSingleProperty.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface SingleDiscriminatedUnionTypeSingleProperty {
|
|
6
6
|
typeReference: FernIr.dynamic.TypeReference;
|
|
7
|
-
discriminantValue: FernIr.NameAndWireValue;
|
|
7
|
+
discriminantValue: FernIr.dynamic.NameAndWireValue;
|
|
8
8
|
/** Any properties included here are the base and/or extended properties from the union. */
|
|
9
9
|
properties?: FernIr.dynamic.NamedParameter[];
|
|
10
10
|
}
|
|
@@ -17,7 +17,7 @@ export declare namespace TypeReference {
|
|
|
17
17
|
}
|
|
18
18
|
interface Named {
|
|
19
19
|
type: "named";
|
|
20
|
-
value: FernIr.TypeId;
|
|
20
|
+
value: FernIr.dynamic.TypeId;
|
|
21
21
|
}
|
|
22
22
|
interface Nullable {
|
|
23
23
|
type: "nullable";
|
|
@@ -29,7 +29,7 @@ export declare namespace TypeReference {
|
|
|
29
29
|
}
|
|
30
30
|
interface Primitive {
|
|
31
31
|
type: "primitive";
|
|
32
|
-
value: FernIr.PrimitiveTypeV1;
|
|
32
|
+
value: FernIr.dynamic.PrimitiveTypeV1;
|
|
33
33
|
}
|
|
34
34
|
interface Set {
|
|
35
35
|
type: "set";
|
|
@@ -12,3 +12,5 @@ export * from "./SingleDiscriminatedUnionTypeSingleProperty";
|
|
|
12
12
|
export * from "./SingleDiscriminatedUnionTypeNoProperties";
|
|
13
13
|
export * from "./UndiscriminatedUnionType";
|
|
14
14
|
export * from "./LiteralType";
|
|
15
|
+
export * from "./ObjectPropertyAccess";
|
|
16
|
+
export * from "./PrimitiveTypeV1";
|
|
@@ -28,3 +28,5 @@ __exportStar(require("./SingleDiscriminatedUnionTypeSingleProperty"), exports);
|
|
|
28
28
|
__exportStar(require("./SingleDiscriminatedUnionTypeNoProperties"), exports);
|
|
29
29
|
__exportStar(require("./UndiscriminatedUnionType"), exports);
|
|
30
30
|
__exportStar(require("./LiteralType"), exports);
|
|
31
|
+
__exportStar(require("./ObjectPropertyAccess"), exports);
|
|
32
|
+
__exportStar(require("./PrimitiveTypeV1"), exports);
|
package/api/resources/index.d.ts
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
export * as commons from "./commons";
|
|
2
2
|
export * from "./commons/types";
|
|
3
3
|
export * as dynamic from "./dynamic";
|
|
4
|
-
export * as environment from "./environment";
|
|
5
|
-
export * from "./environment/types";
|
|
6
4
|
export * as generatorExec from "./generatorExec";
|
|
7
|
-
export * as http from "./http";
|
|
8
|
-
export * from "./http/types";
|
|
9
|
-
export * as types from "./types";
|
|
10
|
-
export * from "./types/types";
|
package/api/resources/index.js
CHANGED
|
@@ -36,14 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.generatorExec = exports.dynamic = exports.commons = void 0;
|
|
40
40
|
exports.commons = __importStar(require("./commons"));
|
|
41
41
|
__exportStar(require("./commons/types"), exports);
|
|
42
42
|
exports.dynamic = __importStar(require("./dynamic"));
|
|
43
|
-
exports.environment = __importStar(require("./environment"));
|
|
44
|
-
__exportStar(require("./environment/types"), exports);
|
|
45
43
|
exports.generatorExec = __importStar(require("./generatorExec"));
|
|
46
|
-
exports.http = __importStar(require("./http"));
|
|
47
|
-
__exportStar(require("./http/types"), exports);
|
|
48
|
-
exports.types = __importStar(require("./types"));
|
|
49
|
-
__exportStar(require("./types/types"), exports);
|
|
@@ -14,10 +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("./WithDocs"), exports);
|
|
18
|
-
__exportStar(require("./FernFilepath"), exports);
|
|
19
17
|
__exportStar(require("./Name"), exports);
|
|
20
|
-
__exportStar(require("./NameAndWireValue"), exports);
|
|
21
18
|
__exportStar(require("./SafeAndUnsafeString"), exports);
|
|
22
|
-
__exportStar(require("./EndpointId"), exports);
|
|
23
|
-
__exportStar(require("./TypeId"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface FernFilepath {
|
|
6
|
+
allParts: FernIr.dynamic.Name[];
|
|
7
|
+
packagePath: FernIr.dynamic.Name[];
|
|
8
|
+
file?: FernIr.dynamic.Name;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
|
+
export interface Name {
|
|
6
|
+
originalName: string;
|
|
7
|
+
camelCase: FernIr.dynamic.SafeAndUnsafeString;
|
|
8
|
+
pascalCase: FernIr.dynamic.SafeAndUnsafeString;
|
|
9
|
+
snakeCase: FernIr.dynamic.SafeAndUnsafeString;
|
|
10
|
+
screamingSnakeCase: FernIr.dynamic.SafeAndUnsafeString;
|
|
11
|
+
}
|
package/dist/api/resources/{commons → dynamic/resources/commons}/types/NameAndWireValue.d.ts
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as FernIr from "
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
5
5
|
export interface NameAndWireValue {
|
|
6
6
|
wireValue: string;
|
|
7
|
-
name: FernIr.Name;
|
|
7
|
+
name: FernIr.dynamic.Name;
|
|
8
8
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface SafeAndUnsafeString {
|
|
5
|
+
/** this name might overlap with reserved keywords of the language being generated */
|
|
6
|
+
unsafeName: string;
|
|
7
|
+
/** this name will NOT overlap with reserved keywords of the language being generated */
|
|
8
|
+
safeName: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./WithDocs"), exports);
|
|
18
|
+
__exportStar(require("./FernFilepath"), exports);
|
|
19
|
+
__exportStar(require("./Name"), exports);
|
|
20
|
+
__exportStar(require("./NameAndWireValue"), exports);
|
|
21
|
+
__exportStar(require("./SafeAndUnsafeString"), exports);
|
|
22
|
+
__exportStar(require("./EndpointId"), exports);
|
|
23
|
+
__exportStar(require("./TypeId"), exports);
|