@fern-api/dynamic-ir-sdk 53.17.0 → 53.19.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/snippets/types/EndpointSnippetResponse.d.ts +6 -0
- package/api/resources/dynamic/resources/snippets/types/ErrorSeverity.d.ts +8 -0
- package/api/resources/dynamic/resources/snippets/types/ErrorSeverity.js +10 -0
- package/api/resources/dynamic/resources/snippets/types/Error_.d.ts +8 -0
- package/api/resources/dynamic/resources/snippets/types/Error_.js +5 -0
- package/api/resources/dynamic/resources/snippets/types/index.d.ts +2 -0
- package/api/resources/dynamic/resources/snippets/types/index.js +2 -0
- package/dist/api/resources/dynamic/resources/snippets/types/EndpointSnippetResponse.d.ts +6 -0
- package/dist/api/resources/dynamic/resources/snippets/types/ErrorSeverity.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/snippets/types/ErrorSeverity.js +10 -0
- package/dist/api/resources/dynamic/resources/snippets/types/Error_.d.ts +8 -0
- package/dist/api/resources/dynamic/resources/snippets/types/Error_.js +5 -0
- package/dist/api/resources/dynamic/resources/snippets/types/index.d.ts +2 -0
- package/dist/api/resources/dynamic/resources/snippets/types/index.js +2 -0
- package/package.json +1 -1
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* The user-facing response type containing the generated snippet.
|
|
7
|
+
*
|
|
8
|
+
* If there are any errors, the snippet will still sometimes represent a
|
|
9
|
+
* partial and/or valid result. This is useful for rendering a snippet alongside
|
|
10
|
+
* error messages the user can use to diagnose and resolve the problem.
|
|
6
11
|
*/
|
|
7
12
|
export interface EndpointSnippetResponse {
|
|
8
13
|
snippet: string;
|
|
14
|
+
errors: FernIr.dynamic.Error_[] | undefined;
|
|
9
15
|
}
|
|
@@ -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.ErrorSeverity = void 0;
|
|
7
|
+
exports.ErrorSeverity = {
|
|
8
|
+
Critical: "CRITICAL",
|
|
9
|
+
Warning: "WARNING",
|
|
10
|
+
};
|
|
@@ -14,6 +14,8 @@ 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("./ErrorSeverity"), exports);
|
|
18
|
+
__exportStar(require("./Error_"), exports);
|
|
17
19
|
__exportStar(require("./Values"), exports);
|
|
18
20
|
__exportStar(require("./EndpointSnippetRequest"), exports);
|
|
19
21
|
__exportStar(require("./EndpointSnippetResponse"), exports);
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as FernIr from "../../../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* The user-facing response type containing the generated snippet.
|
|
7
|
+
*
|
|
8
|
+
* If there are any errors, the snippet will still sometimes represent a
|
|
9
|
+
* partial and/or valid result. This is useful for rendering a snippet alongside
|
|
10
|
+
* error messages the user can use to diagnose and resolve the problem.
|
|
6
11
|
*/
|
|
7
12
|
export interface EndpointSnippetResponse {
|
|
8
13
|
snippet: string;
|
|
14
|
+
errors: FernIr.dynamic.Error_[] | undefined;
|
|
9
15
|
}
|
|
@@ -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.ErrorSeverity = void 0;
|
|
7
|
+
exports.ErrorSeverity = {
|
|
8
|
+
Critical: "CRITICAL",
|
|
9
|
+
Warning: "WARNING",
|
|
10
|
+
};
|
|
@@ -14,6 +14,8 @@ 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("./ErrorSeverity"), exports);
|
|
18
|
+
__exportStar(require("./Error_"), exports);
|
|
17
19
|
__exportStar(require("./Values"), exports);
|
|
18
20
|
__exportStar(require("./EndpointSnippetRequest"), exports);
|
|
19
21
|
__exportStar(require("./EndpointSnippetResponse"), exports);
|