@fern-api/dynamic-ir-sdk 54.1.0 → 55.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.
- package/api/resources/dynamic/resources/endpoints/types/InlinedRequestMetadata.d.ts +1 -1
- package/api/resources/dynamic/resources/endpoints/types/Request.d.ts +1 -1
- package/api/resources/dynamic/resources/endpoints/types/Response.d.ts +1 -1
- package/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +1 -1
- package/api/resources/dynamic/resources/types/types/TypeReference.d.ts +5 -1
- package/dist/api/resources/dynamic/resources/endpoints/types/InlinedRequestMetadata.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/endpoints/types/Request.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/endpoints/types/Response.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts +1 -1
- package/dist/api/resources/dynamic/resources/types/types/TypeReference.d.ts +5 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ export interface InlinedRequestMetadata {
|
|
|
14
14
|
* If true, the path parameters are the only parameters specified in the
|
|
15
15
|
* inlined request.
|
|
16
16
|
*
|
|
17
|
-
* In combination with
|
|
17
|
+
* In combination with includePathParameters, this influences whether or not the
|
|
18
18
|
* inlined request type should be generated at all.
|
|
19
19
|
*/
|
|
20
20
|
onlyPathParameters: boolean;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the request parameters required to call a specific endpoint.
|
|
7
7
|
*/
|
|
8
8
|
export declare type Request = FernIr.dynamic.Request.Body | FernIr.dynamic.Request.Inlined;
|
|
9
9
|
export declare namespace Request {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the response returned by a specific endpoint.
|
|
7
7
|
*
|
|
8
8
|
* For now, we only support json responses, but this is set up to support a
|
|
9
9
|
* variety of other endpoint response types (e.g. file download, pagination,
|
|
@@ -10,7 +10,7 @@ import * as FernIr from "../../../../../index";
|
|
|
10
10
|
*/
|
|
11
11
|
export interface DynamicIntermediateRepresentation {
|
|
12
12
|
/**
|
|
13
|
-
* The version of the dynamic IR. This is independent from the
|
|
13
|
+
* The version of the dynamic IR. This is independent from the version
|
|
14
14
|
* of the primary IR.
|
|
15
15
|
*/
|
|
16
16
|
version: "1.0.0";
|
|
@@ -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 TypeReference = FernIr.dynamic.TypeReference.List | FernIr.dynamic.TypeReference.Literal | FernIr.dynamic.TypeReference.Map | FernIr.dynamic.TypeReference.Named | FernIr.dynamic.TypeReference.Optional | FernIr.dynamic.TypeReference.Primitive | FernIr.dynamic.TypeReference.Set | FernIr.dynamic.TypeReference.Unknown;
|
|
5
|
+
export declare type TypeReference = FernIr.dynamic.TypeReference.List | FernIr.dynamic.TypeReference.Literal | FernIr.dynamic.TypeReference.Map | FernIr.dynamic.TypeReference.Named | FernIr.dynamic.TypeReference.Nullable | FernIr.dynamic.TypeReference.Optional | FernIr.dynamic.TypeReference.Primitive | FernIr.dynamic.TypeReference.Set | FernIr.dynamic.TypeReference.Unknown;
|
|
6
6
|
export declare namespace TypeReference {
|
|
7
7
|
interface List {
|
|
8
8
|
type: "list";
|
|
@@ -19,6 +19,10 @@ export declare namespace TypeReference {
|
|
|
19
19
|
type: "named";
|
|
20
20
|
value: FernIr.TypeId;
|
|
21
21
|
}
|
|
22
|
+
interface Nullable {
|
|
23
|
+
type: "nullable";
|
|
24
|
+
value: FernIr.dynamic.TypeReference;
|
|
25
|
+
}
|
|
22
26
|
interface Optional {
|
|
23
27
|
type: "optional";
|
|
24
28
|
value: FernIr.dynamic.TypeReference;
|
|
@@ -14,7 +14,7 @@ export interface InlinedRequestMetadata {
|
|
|
14
14
|
* If true, the path parameters are the only parameters specified in the
|
|
15
15
|
* inlined request.
|
|
16
16
|
*
|
|
17
|
-
* In combination with
|
|
17
|
+
* In combination with includePathParameters, this influences whether or not the
|
|
18
18
|
* inlined request type should be generated at all.
|
|
19
19
|
*/
|
|
20
20
|
onlyPathParameters: boolean;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the request parameters required to call a specific endpoint.
|
|
7
7
|
*/
|
|
8
8
|
export declare type Request = FernIr.dynamic.Request.Body | FernIr.dynamic.Request.Inlined;
|
|
9
9
|
export declare namespace Request {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as FernIr from "../../../../../index";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the response returned by a specific endpoint.
|
|
7
7
|
*
|
|
8
8
|
* For now, we only support json responses, but this is set up to support a
|
|
9
9
|
* variety of other endpoint response types (e.g. file download, pagination,
|
package/dist/api/resources/dynamic/resources/ir/types/DynamicIntermediateRepresentation.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import * as FernIr from "../../../../../index";
|
|
|
10
10
|
*/
|
|
11
11
|
export interface DynamicIntermediateRepresentation {
|
|
12
12
|
/**
|
|
13
|
-
* The version of the dynamic IR. This is independent from the
|
|
13
|
+
* The version of the dynamic IR. This is independent from the version
|
|
14
14
|
* of the primary IR.
|
|
15
15
|
*/
|
|
16
16
|
version: "1.0.0";
|
|
@@ -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 TypeReference = FernIr.dynamic.TypeReference.List | FernIr.dynamic.TypeReference.Literal | FernIr.dynamic.TypeReference.Map | FernIr.dynamic.TypeReference.Named | FernIr.dynamic.TypeReference.Optional | FernIr.dynamic.TypeReference.Primitive | FernIr.dynamic.TypeReference.Set | FernIr.dynamic.TypeReference.Unknown;
|
|
5
|
+
export declare type TypeReference = FernIr.dynamic.TypeReference.List | FernIr.dynamic.TypeReference.Literal | FernIr.dynamic.TypeReference.Map | FernIr.dynamic.TypeReference.Named | FernIr.dynamic.TypeReference.Nullable | FernIr.dynamic.TypeReference.Optional | FernIr.dynamic.TypeReference.Primitive | FernIr.dynamic.TypeReference.Set | FernIr.dynamic.TypeReference.Unknown;
|
|
6
6
|
export declare namespace TypeReference {
|
|
7
7
|
interface List {
|
|
8
8
|
type: "list";
|
|
@@ -19,6 +19,10 @@ export declare namespace TypeReference {
|
|
|
19
19
|
type: "named";
|
|
20
20
|
value: FernIr.TypeId;
|
|
21
21
|
}
|
|
22
|
+
interface Nullable {
|
|
23
|
+
type: "nullable";
|
|
24
|
+
value: FernIr.dynamic.TypeReference;
|
|
25
|
+
}
|
|
22
26
|
interface Optional {
|
|
23
27
|
type: "optional";
|
|
24
28
|
value: FernIr.dynamic.TypeReference;
|