@fern-api/venus-api-sdk 9.0.0 → 11.0.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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +6 -8
- package/dist/cjs/Client.js +13 -14
- package/dist/cjs/api/client/index.d.ts +1 -1
- package/dist/cjs/api/client/index.js +2 -2
- package/dist/cjs/api/client/{metricsMetricsGet.d.ts → pingPingGet.d.ts} +4 -4
- package/dist/cjs/api/client/{metricsMetricsGet.js → pingPingGet.js} +1 -1
- package/dist/cjs/api/types/Organization.d.ts +1 -1
- package/dist/cjs/serialization/types/Organization.d.ts +1 -1
- package/dist/cjs/serialization/types/Organization.js +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +6 -8
- package/dist/esm/Client.mjs +13 -14
- package/dist/esm/api/client/index.d.mts +1 -1
- package/dist/esm/api/client/index.mjs +1 -1
- package/dist/esm/api/client/{metricsMetricsGet.d.mts → pingPingGet.d.mts} +4 -4
- package/dist/esm/api/client/{metricsMetricsGet.mjs → pingPingGet.mjs} +1 -1
- package/dist/esm/api/types/Organization.d.mts +1 -1
- package/dist/esm/serialization/types/Organization.d.mts +1 -1
- package/dist/esm/serialization/types/Organization.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +4 -18
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@fern-api/venus-api-sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "
|
|
47
|
-
"User-Agent": "@fern-api/venus-api-sdk/
|
|
46
|
+
"X-Fern-SDK-Version": "11.0.0",
|
|
47
|
+
"User-Agent": "@fern-api/venus-api-sdk/11.0.0",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -26,23 +26,21 @@ export declare class FernVenusApiClient {
|
|
|
26
26
|
get registry(): RegistryClient;
|
|
27
27
|
get user(): UserClient;
|
|
28
28
|
/**
|
|
29
|
-
* Endpoint that serves Prometheus metrics.
|
|
30
|
-
*
|
|
31
29
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
30
|
*
|
|
33
31
|
* @example
|
|
34
|
-
* await client.
|
|
32
|
+
* await client.healthHealthGet()
|
|
35
33
|
*/
|
|
36
|
-
|
|
37
|
-
private
|
|
34
|
+
healthHealthGet(requestOptions?: FernVenusApiClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<unknown, FernVenusApi.healthHealthGet.Error>>;
|
|
35
|
+
private __healthHealthGet;
|
|
38
36
|
/**
|
|
39
37
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
38
|
*
|
|
41
39
|
* @example
|
|
42
|
-
* await client.
|
|
40
|
+
* await client.pingPingGet()
|
|
43
41
|
*/
|
|
44
|
-
|
|
45
|
-
private
|
|
42
|
+
pingPingGet(requestOptions?: FernVenusApiClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<string, FernVenusApi.pingPingGet.Error>>;
|
|
43
|
+
private __pingPingGet;
|
|
46
44
|
/**
|
|
47
45
|
* RDS smoke check: ping each configured RDS engine.
|
|
48
46
|
*
|
package/dist/cjs/Client.js
CHANGED
|
@@ -78,23 +78,21 @@ class FernVenusApiClient {
|
|
|
78
78
|
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_js_5.UserClient(this._options)));
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
-
* Endpoint that serves Prometheus metrics.
|
|
82
|
-
*
|
|
83
81
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
84
82
|
*
|
|
85
83
|
* @example
|
|
86
|
-
* await client.
|
|
84
|
+
* await client.healthHealthGet()
|
|
87
85
|
*/
|
|
88
|
-
|
|
89
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
86
|
+
healthHealthGet(requestOptions) {
|
|
87
|
+
return core.HttpResponsePromise.fromPromise(this.__healthHealthGet(requestOptions));
|
|
90
88
|
}
|
|
91
|
-
|
|
89
|
+
__healthHealthGet(requestOptions) {
|
|
92
90
|
return __awaiter(this, void 0, void 0, function* () {
|
|
93
91
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
94
92
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
95
93
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
96
94
|
const _response = yield core.fetcher({
|
|
97
|
-
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "
|
|
95
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "health"),
|
|
98
96
|
method: "GET",
|
|
99
97
|
headers: _headers,
|
|
100
98
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -118,7 +116,7 @@ class FernVenusApiClient {
|
|
|
118
116
|
return {
|
|
119
117
|
data: {
|
|
120
118
|
ok: false,
|
|
121
|
-
error: FernVenusApi.
|
|
119
|
+
error: FernVenusApi.healthHealthGet.Error._unknown(_response.error),
|
|
122
120
|
rawResponse: _response.rawResponse,
|
|
123
121
|
},
|
|
124
122
|
rawResponse: _response.rawResponse,
|
|
@@ -129,21 +127,22 @@ class FernVenusApiClient {
|
|
|
129
127
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
130
128
|
*
|
|
131
129
|
* @example
|
|
132
|
-
* await client.
|
|
130
|
+
* await client.pingPingGet()
|
|
133
131
|
*/
|
|
134
|
-
|
|
135
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
132
|
+
pingPingGet(requestOptions) {
|
|
133
|
+
return core.HttpResponsePromise.fromPromise(this.__pingPingGet(requestOptions));
|
|
136
134
|
}
|
|
137
|
-
|
|
135
|
+
__pingPingGet(requestOptions) {
|
|
138
136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
139
137
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
140
138
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
141
139
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
142
140
|
const _response = yield core.fetcher({
|
|
143
|
-
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "
|
|
141
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "ping"),
|
|
144
142
|
method: "GET",
|
|
145
143
|
headers: _headers,
|
|
146
144
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
145
|
+
responseType: "text",
|
|
147
146
|
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
148
147
|
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
149
148
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -164,7 +163,7 @@ class FernVenusApiClient {
|
|
|
164
163
|
return {
|
|
165
164
|
data: {
|
|
166
165
|
ok: false,
|
|
167
|
-
error: FernVenusApi.
|
|
166
|
+
error: FernVenusApi.pingPingGet.Error._unknown(_response.error),
|
|
168
167
|
rawResponse: _response.rawResponse,
|
|
169
168
|
},
|
|
170
169
|
rawResponse: _response.rawResponse,
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.pingPingGet = exports.healthRdsHealthRdsGet = exports.healthHealthGet = void 0;
|
|
37
37
|
exports.healthHealthGet = __importStar(require("./healthHealthGet.js"));
|
|
38
38
|
exports.healthRdsHealthRdsGet = __importStar(require("./healthRdsHealthRdsGet.js"));
|
|
39
|
-
exports.
|
|
39
|
+
exports.pingPingGet = __importStar(require("./pingPingGet.js"));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type * as core from "../../core/index.js";
|
|
2
2
|
import * as FernVenusApi from "../index.js";
|
|
3
|
-
export type Error = FernVenusApi.
|
|
3
|
+
export type Error = FernVenusApi.pingPingGet.Error._Unknown;
|
|
4
4
|
export declare namespace Error {
|
|
5
5
|
interface _Unknown extends _Utils {
|
|
6
6
|
statusCode: void;
|
|
7
7
|
content: core.Fetcher.Error;
|
|
8
8
|
}
|
|
9
9
|
interface _Utils {
|
|
10
|
-
_visit: <_Result>(visitor: FernVenusApi.
|
|
10
|
+
_visit: <_Result>(visitor: FernVenusApi.pingPingGet.Error._Visitor<_Result>) => _Result;
|
|
11
11
|
}
|
|
12
12
|
interface _Visitor<_Result> {
|
|
13
13
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
export declare const Error: {
|
|
17
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.
|
|
18
|
-
readonly _visit: <_Result>(value: FernVenusApi.
|
|
17
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.pingPingGet.Error._Unknown;
|
|
18
|
+
readonly _visit: <_Result>(value: FernVenusApi.pingPingGet.Error, visitor: FernVenusApi.pingPingGet.Error._Visitor<_Result>) => _Result;
|
|
19
19
|
};
|
|
@@ -6,7 +6,7 @@ export declare const Organization: core.serialization.ObjectSchema<serializers.O
|
|
|
6
6
|
export declare namespace Organization {
|
|
7
7
|
interface Raw {
|
|
8
8
|
organizationId: string;
|
|
9
|
-
auth0Id
|
|
9
|
+
auth0Id?: (string | null | undefined) | null;
|
|
10
10
|
displayName: string;
|
|
11
11
|
artifactReadRequiresToken: boolean;
|
|
12
12
|
users: LightweightUser.Raw[];
|
|
@@ -39,7 +39,7 @@ const core = __importStar(require("../../core/index.js"));
|
|
|
39
39
|
const LightweightUser_js_1 = require("./LightweightUser.js");
|
|
40
40
|
exports.Organization = core.serialization.object({
|
|
41
41
|
organizationId: core.serialization.string(),
|
|
42
|
-
auth0Id: core.serialization.string(),
|
|
42
|
+
auth0Id: core.serialization.string().optionalNullable(),
|
|
43
43
|
displayName: core.serialization.string(),
|
|
44
44
|
artifactReadRequiresToken: core.serialization.boolean(),
|
|
45
45
|
users: core.serialization.list(LightweightUser_js_1.LightweightUser),
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "11.0.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@fern-api/venus-api-sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "
|
|
10
|
-
"User-Agent": "@fern-api/venus-api-sdk/
|
|
9
|
+
"X-Fern-SDK-Version": "11.0.0",
|
|
10
|
+
"User-Agent": "@fern-api/venus-api-sdk/11.0.0",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -26,23 +26,21 @@ export declare class FernVenusApiClient {
|
|
|
26
26
|
get registry(): RegistryClient;
|
|
27
27
|
get user(): UserClient;
|
|
28
28
|
/**
|
|
29
|
-
* Endpoint that serves Prometheus metrics.
|
|
30
|
-
*
|
|
31
29
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
30
|
*
|
|
33
31
|
* @example
|
|
34
|
-
* await client.
|
|
32
|
+
* await client.healthHealthGet()
|
|
35
33
|
*/
|
|
36
|
-
|
|
37
|
-
private
|
|
34
|
+
healthHealthGet(requestOptions?: FernVenusApiClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<unknown, FernVenusApi.healthHealthGet.Error>>;
|
|
35
|
+
private __healthHealthGet;
|
|
38
36
|
/**
|
|
39
37
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
38
|
*
|
|
41
39
|
* @example
|
|
42
|
-
* await client.
|
|
40
|
+
* await client.pingPingGet()
|
|
43
41
|
*/
|
|
44
|
-
|
|
45
|
-
private
|
|
42
|
+
pingPingGet(requestOptions?: FernVenusApiClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<string, FernVenusApi.pingPingGet.Error>>;
|
|
43
|
+
private __pingPingGet;
|
|
46
44
|
/**
|
|
47
45
|
* RDS smoke check: ping each configured RDS engine.
|
|
48
46
|
*
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -42,23 +42,21 @@ export class FernVenusApiClient {
|
|
|
42
42
|
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new UserClient(this._options)));
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
* Endpoint that serves Prometheus metrics.
|
|
46
|
-
*
|
|
47
45
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
46
|
*
|
|
49
47
|
* @example
|
|
50
|
-
* await client.
|
|
48
|
+
* await client.healthHealthGet()
|
|
51
49
|
*/
|
|
52
|
-
|
|
53
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
50
|
+
healthHealthGet(requestOptions) {
|
|
51
|
+
return core.HttpResponsePromise.fromPromise(this.__healthHealthGet(requestOptions));
|
|
54
52
|
}
|
|
55
|
-
|
|
53
|
+
__healthHealthGet(requestOptions) {
|
|
56
54
|
return __awaiter(this, void 0, void 0, function* () {
|
|
57
55
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
58
56
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
59
57
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
60
58
|
const _response = yield core.fetcher({
|
|
61
|
-
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "
|
|
59
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "health"),
|
|
62
60
|
method: "GET",
|
|
63
61
|
headers: _headers,
|
|
64
62
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -82,7 +80,7 @@ export class FernVenusApiClient {
|
|
|
82
80
|
return {
|
|
83
81
|
data: {
|
|
84
82
|
ok: false,
|
|
85
|
-
error: FernVenusApi.
|
|
83
|
+
error: FernVenusApi.healthHealthGet.Error._unknown(_response.error),
|
|
86
84
|
rawResponse: _response.rawResponse,
|
|
87
85
|
},
|
|
88
86
|
rawResponse: _response.rawResponse,
|
|
@@ -93,21 +91,22 @@ export class FernVenusApiClient {
|
|
|
93
91
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
94
92
|
*
|
|
95
93
|
* @example
|
|
96
|
-
* await client.
|
|
94
|
+
* await client.pingPingGet()
|
|
97
95
|
*/
|
|
98
|
-
|
|
99
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
96
|
+
pingPingGet(requestOptions) {
|
|
97
|
+
return core.HttpResponsePromise.fromPromise(this.__pingPingGet(requestOptions));
|
|
100
98
|
}
|
|
101
|
-
|
|
99
|
+
__pingPingGet(requestOptions) {
|
|
102
100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
103
101
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
104
102
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
105
103
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
106
104
|
const _response = yield core.fetcher({
|
|
107
|
-
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "
|
|
105
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "ping"),
|
|
108
106
|
method: "GET",
|
|
109
107
|
headers: _headers,
|
|
110
108
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
109
|
+
responseType: "text",
|
|
111
110
|
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
112
111
|
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
113
112
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -128,7 +127,7 @@ export class FernVenusApiClient {
|
|
|
128
127
|
return {
|
|
129
128
|
data: {
|
|
130
129
|
ok: false,
|
|
131
|
-
error: FernVenusApi.
|
|
130
|
+
error: FernVenusApi.pingPingGet.Error._unknown(_response.error),
|
|
132
131
|
rawResponse: _response.rawResponse,
|
|
133
132
|
},
|
|
134
133
|
rawResponse: _response.rawResponse,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type * as core from "../../core/index.mjs";
|
|
2
2
|
import * as FernVenusApi from "../index.mjs";
|
|
3
|
-
export type Error = FernVenusApi.
|
|
3
|
+
export type Error = FernVenusApi.pingPingGet.Error._Unknown;
|
|
4
4
|
export declare namespace Error {
|
|
5
5
|
interface _Unknown extends _Utils {
|
|
6
6
|
statusCode: void;
|
|
7
7
|
content: core.Fetcher.Error;
|
|
8
8
|
}
|
|
9
9
|
interface _Utils {
|
|
10
|
-
_visit: <_Result>(visitor: FernVenusApi.
|
|
10
|
+
_visit: <_Result>(visitor: FernVenusApi.pingPingGet.Error._Visitor<_Result>) => _Result;
|
|
11
11
|
}
|
|
12
12
|
interface _Visitor<_Result> {
|
|
13
13
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
export declare const Error: {
|
|
17
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.
|
|
18
|
-
readonly _visit: <_Result>(value: FernVenusApi.
|
|
17
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.pingPingGet.Error._Unknown;
|
|
18
|
+
readonly _visit: <_Result>(value: FernVenusApi.pingPingGet.Error, visitor: FernVenusApi.pingPingGet.Error._Visitor<_Result>) => _Result;
|
|
19
19
|
};
|
|
@@ -6,7 +6,7 @@ export declare const Organization: core.serialization.ObjectSchema<serializers.O
|
|
|
6
6
|
export declare namespace Organization {
|
|
7
7
|
interface Raw {
|
|
8
8
|
organizationId: string;
|
|
9
|
-
auth0Id
|
|
9
|
+
auth0Id?: (string | null | undefined) | null;
|
|
10
10
|
displayName: string;
|
|
11
11
|
artifactReadRequiresToken: boolean;
|
|
12
12
|
users: LightweightUser.Raw[];
|
|
@@ -3,7 +3,7 @@ import * as core from "../../core/index.mjs";
|
|
|
3
3
|
import { LightweightUser } from "./LightweightUser.mjs";
|
|
4
4
|
export const Organization = core.serialization.object({
|
|
5
5
|
organizationId: core.serialization.string(),
|
|
6
|
-
auth0Id: core.serialization.string(),
|
|
6
|
+
auth0Id: core.serialization.string().optionalNullable(),
|
|
7
7
|
displayName: core.serialization.string(),
|
|
8
8
|
artifactReadRequiresToken: core.serialization.boolean(),
|
|
9
9
|
users: core.serialization.list(LightweightUser),
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "11.0.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "11.0.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1,22 +1,8 @@
|
|
|
1
1
|
# Reference
|
|
2
|
-
<details><summary><code>client.<a href="/src/Client.ts">
|
|
3
|
-
<dl>
|
|
4
|
-
<dd>
|
|
5
|
-
|
|
6
|
-
#### 📝 Description
|
|
7
|
-
|
|
8
|
-
<dl>
|
|
9
|
-
<dd>
|
|
10
|
-
|
|
2
|
+
<details><summary><code>client.<a href="/src/Client.ts">healthHealthGet</a>() -> core.APIResponse<unknown, FernVenusApi.healthHealthGet.Error></code></summary>
|
|
11
3
|
<dl>
|
|
12
4
|
<dd>
|
|
13
5
|
|
|
14
|
-
Endpoint that serves Prometheus metrics.
|
|
15
|
-
</dd>
|
|
16
|
-
</dl>
|
|
17
|
-
</dd>
|
|
18
|
-
</dl>
|
|
19
|
-
|
|
20
6
|
#### 🔌 Usage
|
|
21
7
|
|
|
22
8
|
<dl>
|
|
@@ -26,7 +12,7 @@ Endpoint that serves Prometheus metrics.
|
|
|
26
12
|
<dd>
|
|
27
13
|
|
|
28
14
|
```typescript
|
|
29
|
-
await client.
|
|
15
|
+
await client.healthHealthGet();
|
|
30
16
|
|
|
31
17
|
```
|
|
32
18
|
</dd>
|
|
@@ -54,7 +40,7 @@ await client.metricsMetricsGet();
|
|
|
54
40
|
</dl>
|
|
55
41
|
</details>
|
|
56
42
|
|
|
57
|
-
<details><summary><code>client.<a href="/src/Client.ts">
|
|
43
|
+
<details><summary><code>client.<a href="/src/Client.ts">pingPingGet</a>() -> core.APIResponse<string, FernVenusApi.pingPingGet.Error></code></summary>
|
|
58
44
|
<dl>
|
|
59
45
|
<dd>
|
|
60
46
|
|
|
@@ -67,7 +53,7 @@ await client.metricsMetricsGet();
|
|
|
67
53
|
<dd>
|
|
68
54
|
|
|
69
55
|
```typescript
|
|
70
|
-
await client.
|
|
56
|
+
await client.pingPingGet();
|
|
71
57
|
|
|
72
58
|
```
|
|
73
59
|
</dd>
|