@fern-api/venus-api-sdk 6.1.0 → 8.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 +0 -10
- package/dist/cjs/Client.js +0 -48
- package/dist/cjs/api/client/index.d.ts +0 -1
- package/dist/cjs/api/client/index.js +1 -2
- package/dist/cjs/api/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +0 -5
- package/dist/cjs/api/types/Organization.d.ts +0 -5
- package/dist/cjs/serialization/resources/organization/client/requests/UpdateOrganizationRequest.d.ts +0 -5
- package/dist/cjs/serialization/resources/organization/client/requests/UpdateOrganizationRequest.js +0 -5
- package/dist/cjs/serialization/types/Organization.d.ts +0 -5
- package/dist/cjs/serialization/types/Organization.js +0 -5
- 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 +0 -10
- package/dist/esm/Client.mjs +0 -48
- package/dist/esm/api/client/index.d.mts +0 -1
- package/dist/esm/api/client/index.mjs +0 -1
- package/dist/esm/api/resources/organization/client/requests/UpdateOrganizationRequest.d.mts +0 -5
- package/dist/esm/api/types/Organization.d.mts +0 -5
- package/dist/esm/serialization/resources/organization/client/requests/UpdateOrganizationRequest.d.mts +0 -5
- package/dist/esm/serialization/resources/organization/client/requests/UpdateOrganizationRequest.mjs +0 -5
- package/dist/esm/serialization/types/Organization.d.mts +0 -5
- package/dist/esm/serialization/types/Organization.mjs +0 -5
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +0 -55
- package/dist/cjs/api/client/metricsMetricsGet.d.ts +0 -19
- package/dist/cjs/api/client/metricsMetricsGet.js +0 -55
- package/dist/esm/api/client/metricsMetricsGet.d.mts +0 -19
- package/dist/esm/api/client/metricsMetricsGet.mjs +0 -19
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": "8.0.0",
|
|
47
|
+
"User-Agent": "@fern-api/venus-api-sdk/8.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
|
@@ -25,16 +25,6 @@ export declare class FernVenusApiClient {
|
|
|
25
25
|
get organization(): OrganizationClient;
|
|
26
26
|
get registry(): RegistryClient;
|
|
27
27
|
get user(): UserClient;
|
|
28
|
-
/**
|
|
29
|
-
* Endpoint that serves Prometheus metrics.
|
|
30
|
-
*
|
|
31
|
-
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* await client.metricsMetricsGet()
|
|
35
|
-
*/
|
|
36
|
-
metricsMetricsGet(requestOptions?: FernVenusApiClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<unknown, FernVenusApi.metricsMetricsGet.Error>>;
|
|
37
|
-
private __metricsMetricsGet;
|
|
38
28
|
/**
|
|
39
29
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
30
|
*
|
package/dist/cjs/Client.js
CHANGED
|
@@ -77,54 +77,6 @@ class FernVenusApiClient {
|
|
|
77
77
|
var _a;
|
|
78
78
|
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_js_5.UserClient(this._options)));
|
|
79
79
|
}
|
|
80
|
-
/**
|
|
81
|
-
* Endpoint that serves Prometheus metrics.
|
|
82
|
-
*
|
|
83
|
-
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
84
|
-
*
|
|
85
|
-
* @example
|
|
86
|
-
* await client.metricsMetricsGet()
|
|
87
|
-
*/
|
|
88
|
-
metricsMetricsGet(requestOptions) {
|
|
89
|
-
return core.HttpResponsePromise.fromPromise(this.__metricsMetricsGet(requestOptions));
|
|
90
|
-
}
|
|
91
|
-
__metricsMetricsGet(requestOptions) {
|
|
92
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
93
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
94
|
-
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
95
|
-
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
|
-
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)), "metrics"),
|
|
98
|
-
method: "GET",
|
|
99
|
-
headers: _headers,
|
|
100
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
101
|
-
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,
|
|
102
|
-
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,
|
|
103
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
104
|
-
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
105
|
-
logging: this._options.logging,
|
|
106
|
-
});
|
|
107
|
-
if (_response.ok) {
|
|
108
|
-
return {
|
|
109
|
-
data: {
|
|
110
|
-
ok: true,
|
|
111
|
-
body: _response.body,
|
|
112
|
-
headers: _response.headers,
|
|
113
|
-
rawResponse: _response.rawResponse,
|
|
114
|
-
},
|
|
115
|
-
rawResponse: _response.rawResponse,
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
return {
|
|
119
|
-
data: {
|
|
120
|
-
ok: false,
|
|
121
|
-
error: FernVenusApi.metricsMetricsGet.Error._unknown(_response.error),
|
|
122
|
-
rawResponse: _response.rawResponse,
|
|
123
|
-
},
|
|
124
|
-
rawResponse: _response.rawResponse,
|
|
125
|
-
};
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
80
|
/**
|
|
129
81
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
130
82
|
*
|
|
@@ -33,8 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.pingPingGet = 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.metricsMetricsGet = __importStar(require("./metricsMetricsGet.js"));
|
|
40
39
|
exports.pingPingGet = __importStar(require("./pingPingGet.js"));
|
|
@@ -10,16 +10,11 @@ export interface UpdateOrganizationRequest {
|
|
|
10
10
|
logoUrl?: string | null;
|
|
11
11
|
artifactReadRequiresToken?: boolean | null;
|
|
12
12
|
isWhitelabeled?: boolean | null;
|
|
13
|
-
previewEnabled?: boolean | null;
|
|
14
|
-
snippetsEnabled?: boolean | null;
|
|
15
13
|
snippetUnitTestsEnabled?: boolean | null;
|
|
16
14
|
snippetsApiAccessEnabled?: boolean | null;
|
|
17
15
|
snippetTemplatesAccessEnabled?: boolean | null;
|
|
18
16
|
paginationEnabled?: boolean | null;
|
|
19
|
-
changeLogEnabled?: boolean | null;
|
|
20
|
-
isFernbotCanary?: boolean | null;
|
|
21
17
|
oauthClientEnabled?: boolean | null;
|
|
22
|
-
apiPlaygroundEnabled?: boolean | null;
|
|
23
18
|
workosOrganizationId?: string | null;
|
|
24
19
|
selfHostedSdKs?: boolean | null;
|
|
25
20
|
postmanTeamId?: string | null;
|
|
@@ -6,16 +6,11 @@ export interface Organization {
|
|
|
6
6
|
artifactReadRequiresToken: boolean;
|
|
7
7
|
users: FernVenusApi.LightweightUser[];
|
|
8
8
|
isWhitelabled: boolean;
|
|
9
|
-
previewEnabled: boolean;
|
|
10
|
-
snippetsEnabled: boolean;
|
|
11
9
|
snippetUnitTestsEnabled: boolean;
|
|
12
10
|
snippetsApiAccessEnabled: boolean;
|
|
13
11
|
snippetTemplatesAccessEnabled: boolean;
|
|
14
12
|
paginationEnabled: boolean;
|
|
15
|
-
changeLogEnabled: boolean;
|
|
16
|
-
isFernbotCanary: boolean;
|
|
17
13
|
oauthClientEnabled: boolean;
|
|
18
|
-
apiPlaygroundEnabled: boolean;
|
|
19
14
|
workosOrganizationId?: string | null;
|
|
20
15
|
selfHostedSdKs: boolean;
|
|
21
16
|
postmanTeamId?: string | null;
|
package/dist/cjs/serialization/resources/organization/client/requests/UpdateOrganizationRequest.d.ts
CHANGED
|
@@ -8,16 +8,11 @@ export declare namespace UpdateOrganizationRequest {
|
|
|
8
8
|
logoUrl?: (string | null | undefined) | null;
|
|
9
9
|
artifactReadRequiresToken?: (boolean | null | undefined) | null;
|
|
10
10
|
isWhitelabeled?: (boolean | null | undefined) | null;
|
|
11
|
-
previewEnabled?: (boolean | null | undefined) | null;
|
|
12
|
-
snippetsEnabled?: (boolean | null | undefined) | null;
|
|
13
11
|
snippetUnitTestsEnabled?: (boolean | null | undefined) | null;
|
|
14
12
|
snippetsApiAccessEnabled?: (boolean | null | undefined) | null;
|
|
15
13
|
snippetTemplatesAccessEnabled?: (boolean | null | undefined) | null;
|
|
16
14
|
paginationEnabled?: (boolean | null | undefined) | null;
|
|
17
|
-
changeLogEnabled?: (boolean | null | undefined) | null;
|
|
18
|
-
isFernbotCanary?: (boolean | null | undefined) | null;
|
|
19
15
|
oauthClientEnabled?: (boolean | null | undefined) | null;
|
|
20
|
-
apiPlaygroundEnabled?: (boolean | null | undefined) | null;
|
|
21
16
|
workosOrganizationId?: (string | null | undefined) | null;
|
|
22
17
|
selfHostedSDKs?: (boolean | null | undefined) | null;
|
|
23
18
|
postmanTeamId?: (string | null | undefined) | null;
|
package/dist/cjs/serialization/resources/organization/client/requests/UpdateOrganizationRequest.js
CHANGED
|
@@ -41,16 +41,11 @@ exports.UpdateOrganizationRequest = core.serialization.object({
|
|
|
41
41
|
logoUrl: core.serialization.string().optionalNullable(),
|
|
42
42
|
artifactReadRequiresToken: core.serialization.boolean().optionalNullable(),
|
|
43
43
|
isWhitelabeled: core.serialization.boolean().optionalNullable(),
|
|
44
|
-
previewEnabled: core.serialization.boolean().optionalNullable(),
|
|
45
|
-
snippetsEnabled: core.serialization.boolean().optionalNullable(),
|
|
46
44
|
snippetUnitTestsEnabled: core.serialization.boolean().optionalNullable(),
|
|
47
45
|
snippetsApiAccessEnabled: core.serialization.boolean().optionalNullable(),
|
|
48
46
|
snippetTemplatesAccessEnabled: core.serialization.boolean().optionalNullable(),
|
|
49
47
|
paginationEnabled: core.serialization.boolean().optionalNullable(),
|
|
50
|
-
changeLogEnabled: core.serialization.boolean().optionalNullable(),
|
|
51
|
-
isFernbotCanary: core.serialization.boolean().optionalNullable(),
|
|
52
48
|
oauthClientEnabled: core.serialization.boolean().optionalNullable(),
|
|
53
|
-
apiPlaygroundEnabled: core.serialization.boolean().optionalNullable(),
|
|
54
49
|
workosOrganizationId: core.serialization.string().optionalNullable(),
|
|
55
50
|
selfHostedSdKs: core.serialization.property("selfHostedSDKs", core.serialization.boolean().optionalNullable()),
|
|
56
51
|
postmanTeamId: core.serialization.string().optionalNullable(),
|
|
@@ -11,16 +11,11 @@ export declare namespace Organization {
|
|
|
11
11
|
artifactReadRequiresToken: boolean;
|
|
12
12
|
users: LightweightUser.Raw[];
|
|
13
13
|
isWhitelabled: boolean;
|
|
14
|
-
previewEnabled: boolean;
|
|
15
|
-
snippetsEnabled: boolean;
|
|
16
14
|
snippetUnitTestsEnabled: boolean;
|
|
17
15
|
snippetsApiAccessEnabled: boolean;
|
|
18
16
|
snippetTemplatesAccessEnabled: boolean;
|
|
19
17
|
paginationEnabled: boolean;
|
|
20
|
-
changeLogEnabled: boolean;
|
|
21
|
-
isFernbotCanary: boolean;
|
|
22
18
|
oauthClientEnabled: boolean;
|
|
23
|
-
apiPlaygroundEnabled: boolean;
|
|
24
19
|
workosOrganizationId?: (string | null | undefined) | null;
|
|
25
20
|
selfHostedSDKs: boolean;
|
|
26
21
|
postmanTeamId?: (string | null | undefined) | null;
|
|
@@ -44,16 +44,11 @@ exports.Organization = core.serialization.object({
|
|
|
44
44
|
artifactReadRequiresToken: core.serialization.boolean(),
|
|
45
45
|
users: core.serialization.list(LightweightUser_js_1.LightweightUser),
|
|
46
46
|
isWhitelabled: core.serialization.boolean(),
|
|
47
|
-
previewEnabled: core.serialization.boolean(),
|
|
48
|
-
snippetsEnabled: core.serialization.boolean(),
|
|
49
47
|
snippetUnitTestsEnabled: core.serialization.boolean(),
|
|
50
48
|
snippetsApiAccessEnabled: core.serialization.boolean(),
|
|
51
49
|
snippetTemplatesAccessEnabled: core.serialization.boolean(),
|
|
52
50
|
paginationEnabled: core.serialization.boolean(),
|
|
53
|
-
changeLogEnabled: core.serialization.boolean(),
|
|
54
|
-
isFernbotCanary: core.serialization.boolean(),
|
|
55
51
|
oauthClientEnabled: core.serialization.boolean(),
|
|
56
|
-
apiPlaygroundEnabled: core.serialization.boolean(),
|
|
57
52
|
workosOrganizationId: core.serialization.string().optionalNullable(),
|
|
58
53
|
selfHostedSdKs: core.serialization.property("selfHostedSDKs", core.serialization.boolean()),
|
|
59
54
|
postmanTeamId: core.serialization.string().optionalNullable(),
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "8.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": "8.0.0",
|
|
10
|
+
"User-Agent": "@fern-api/venus-api-sdk/8.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
|
@@ -25,16 +25,6 @@ export declare class FernVenusApiClient {
|
|
|
25
25
|
get organization(): OrganizationClient;
|
|
26
26
|
get registry(): RegistryClient;
|
|
27
27
|
get user(): UserClient;
|
|
28
|
-
/**
|
|
29
|
-
* Endpoint that serves Prometheus metrics.
|
|
30
|
-
*
|
|
31
|
-
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* await client.metricsMetricsGet()
|
|
35
|
-
*/
|
|
36
|
-
metricsMetricsGet(requestOptions?: FernVenusApiClient.RequestOptions): core.HttpResponsePromise<core.APIResponse<unknown, FernVenusApi.metricsMetricsGet.Error>>;
|
|
37
|
-
private __metricsMetricsGet;
|
|
38
28
|
/**
|
|
39
29
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
30
|
*
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -41,54 +41,6 @@ export class FernVenusApiClient {
|
|
|
41
41
|
var _a;
|
|
42
42
|
return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new UserClient(this._options)));
|
|
43
43
|
}
|
|
44
|
-
/**
|
|
45
|
-
* Endpoint that serves Prometheus metrics.
|
|
46
|
-
*
|
|
47
|
-
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* await client.metricsMetricsGet()
|
|
51
|
-
*/
|
|
52
|
-
metricsMetricsGet(requestOptions) {
|
|
53
|
-
return core.HttpResponsePromise.fromPromise(this.__metricsMetricsGet(requestOptions));
|
|
54
|
-
}
|
|
55
|
-
__metricsMetricsGet(requestOptions) {
|
|
56
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
58
|
-
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
59
|
-
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
|
-
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)), "metrics"),
|
|
62
|
-
method: "GET",
|
|
63
|
-
headers: _headers,
|
|
64
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
65
|
-
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,
|
|
66
|
-
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,
|
|
67
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
68
|
-
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
69
|
-
logging: this._options.logging,
|
|
70
|
-
});
|
|
71
|
-
if (_response.ok) {
|
|
72
|
-
return {
|
|
73
|
-
data: {
|
|
74
|
-
ok: true,
|
|
75
|
-
body: _response.body,
|
|
76
|
-
headers: _response.headers,
|
|
77
|
-
rawResponse: _response.rawResponse,
|
|
78
|
-
},
|
|
79
|
-
rawResponse: _response.rawResponse,
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
return {
|
|
83
|
-
data: {
|
|
84
|
-
ok: false,
|
|
85
|
-
error: FernVenusApi.metricsMetricsGet.Error._unknown(_response.error),
|
|
86
|
-
rawResponse: _response.rawResponse,
|
|
87
|
-
},
|
|
88
|
-
rawResponse: _response.rawResponse,
|
|
89
|
-
};
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
44
|
/**
|
|
93
45
|
* @param {FernVenusApiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
94
46
|
*
|
|
@@ -10,16 +10,11 @@ export interface UpdateOrganizationRequest {
|
|
|
10
10
|
logoUrl?: string | null;
|
|
11
11
|
artifactReadRequiresToken?: boolean | null;
|
|
12
12
|
isWhitelabeled?: boolean | null;
|
|
13
|
-
previewEnabled?: boolean | null;
|
|
14
|
-
snippetsEnabled?: boolean | null;
|
|
15
13
|
snippetUnitTestsEnabled?: boolean | null;
|
|
16
14
|
snippetsApiAccessEnabled?: boolean | null;
|
|
17
15
|
snippetTemplatesAccessEnabled?: boolean | null;
|
|
18
16
|
paginationEnabled?: boolean | null;
|
|
19
|
-
changeLogEnabled?: boolean | null;
|
|
20
|
-
isFernbotCanary?: boolean | null;
|
|
21
17
|
oauthClientEnabled?: boolean | null;
|
|
22
|
-
apiPlaygroundEnabled?: boolean | null;
|
|
23
18
|
workosOrganizationId?: string | null;
|
|
24
19
|
selfHostedSdKs?: boolean | null;
|
|
25
20
|
postmanTeamId?: string | null;
|
|
@@ -6,16 +6,11 @@ export interface Organization {
|
|
|
6
6
|
artifactReadRequiresToken: boolean;
|
|
7
7
|
users: FernVenusApi.LightweightUser[];
|
|
8
8
|
isWhitelabled: boolean;
|
|
9
|
-
previewEnabled: boolean;
|
|
10
|
-
snippetsEnabled: boolean;
|
|
11
9
|
snippetUnitTestsEnabled: boolean;
|
|
12
10
|
snippetsApiAccessEnabled: boolean;
|
|
13
11
|
snippetTemplatesAccessEnabled: boolean;
|
|
14
12
|
paginationEnabled: boolean;
|
|
15
|
-
changeLogEnabled: boolean;
|
|
16
|
-
isFernbotCanary: boolean;
|
|
17
13
|
oauthClientEnabled: boolean;
|
|
18
|
-
apiPlaygroundEnabled: boolean;
|
|
19
14
|
workosOrganizationId?: string | null;
|
|
20
15
|
selfHostedSdKs: boolean;
|
|
21
16
|
postmanTeamId?: string | null;
|
|
@@ -8,16 +8,11 @@ export declare namespace UpdateOrganizationRequest {
|
|
|
8
8
|
logoUrl?: (string | null | undefined) | null;
|
|
9
9
|
artifactReadRequiresToken?: (boolean | null | undefined) | null;
|
|
10
10
|
isWhitelabeled?: (boolean | null | undefined) | null;
|
|
11
|
-
previewEnabled?: (boolean | null | undefined) | null;
|
|
12
|
-
snippetsEnabled?: (boolean | null | undefined) | null;
|
|
13
11
|
snippetUnitTestsEnabled?: (boolean | null | undefined) | null;
|
|
14
12
|
snippetsApiAccessEnabled?: (boolean | null | undefined) | null;
|
|
15
13
|
snippetTemplatesAccessEnabled?: (boolean | null | undefined) | null;
|
|
16
14
|
paginationEnabled?: (boolean | null | undefined) | null;
|
|
17
|
-
changeLogEnabled?: (boolean | null | undefined) | null;
|
|
18
|
-
isFernbotCanary?: (boolean | null | undefined) | null;
|
|
19
15
|
oauthClientEnabled?: (boolean | null | undefined) | null;
|
|
20
|
-
apiPlaygroundEnabled?: (boolean | null | undefined) | null;
|
|
21
16
|
workosOrganizationId?: (string | null | undefined) | null;
|
|
22
17
|
selfHostedSDKs?: (boolean | null | undefined) | null;
|
|
23
18
|
postmanTeamId?: (string | null | undefined) | null;
|
package/dist/esm/serialization/resources/organization/client/requests/UpdateOrganizationRequest.mjs
CHANGED
|
@@ -5,16 +5,11 @@ export const UpdateOrganizationRequest = core.serialization.object({
|
|
|
5
5
|
logoUrl: core.serialization.string().optionalNullable(),
|
|
6
6
|
artifactReadRequiresToken: core.serialization.boolean().optionalNullable(),
|
|
7
7
|
isWhitelabeled: core.serialization.boolean().optionalNullable(),
|
|
8
|
-
previewEnabled: core.serialization.boolean().optionalNullable(),
|
|
9
|
-
snippetsEnabled: core.serialization.boolean().optionalNullable(),
|
|
10
8
|
snippetUnitTestsEnabled: core.serialization.boolean().optionalNullable(),
|
|
11
9
|
snippetsApiAccessEnabled: core.serialization.boolean().optionalNullable(),
|
|
12
10
|
snippetTemplatesAccessEnabled: core.serialization.boolean().optionalNullable(),
|
|
13
11
|
paginationEnabled: core.serialization.boolean().optionalNullable(),
|
|
14
|
-
changeLogEnabled: core.serialization.boolean().optionalNullable(),
|
|
15
|
-
isFernbotCanary: core.serialization.boolean().optionalNullable(),
|
|
16
12
|
oauthClientEnabled: core.serialization.boolean().optionalNullable(),
|
|
17
|
-
apiPlaygroundEnabled: core.serialization.boolean().optionalNullable(),
|
|
18
13
|
workosOrganizationId: core.serialization.string().optionalNullable(),
|
|
19
14
|
selfHostedSdKs: core.serialization.property("selfHostedSDKs", core.serialization.boolean().optionalNullable()),
|
|
20
15
|
postmanTeamId: core.serialization.string().optionalNullable(),
|
|
@@ -11,16 +11,11 @@ export declare namespace Organization {
|
|
|
11
11
|
artifactReadRequiresToken: boolean;
|
|
12
12
|
users: LightweightUser.Raw[];
|
|
13
13
|
isWhitelabled: boolean;
|
|
14
|
-
previewEnabled: boolean;
|
|
15
|
-
snippetsEnabled: boolean;
|
|
16
14
|
snippetUnitTestsEnabled: boolean;
|
|
17
15
|
snippetsApiAccessEnabled: boolean;
|
|
18
16
|
snippetTemplatesAccessEnabled: boolean;
|
|
19
17
|
paginationEnabled: boolean;
|
|
20
|
-
changeLogEnabled: boolean;
|
|
21
|
-
isFernbotCanary: boolean;
|
|
22
18
|
oauthClientEnabled: boolean;
|
|
23
|
-
apiPlaygroundEnabled: boolean;
|
|
24
19
|
workosOrganizationId?: (string | null | undefined) | null;
|
|
25
20
|
selfHostedSDKs: boolean;
|
|
26
21
|
postmanTeamId?: (string | null | undefined) | null;
|
|
@@ -8,16 +8,11 @@ export const Organization = core.serialization.object({
|
|
|
8
8
|
artifactReadRequiresToken: core.serialization.boolean(),
|
|
9
9
|
users: core.serialization.list(LightweightUser),
|
|
10
10
|
isWhitelabled: core.serialization.boolean(),
|
|
11
|
-
previewEnabled: core.serialization.boolean(),
|
|
12
|
-
snippetsEnabled: core.serialization.boolean(),
|
|
13
11
|
snippetUnitTestsEnabled: core.serialization.boolean(),
|
|
14
12
|
snippetsApiAccessEnabled: core.serialization.boolean(),
|
|
15
13
|
snippetTemplatesAccessEnabled: core.serialization.boolean(),
|
|
16
14
|
paginationEnabled: core.serialization.boolean(),
|
|
17
|
-
changeLogEnabled: core.serialization.boolean(),
|
|
18
|
-
isFernbotCanary: core.serialization.boolean(),
|
|
19
15
|
oauthClientEnabled: core.serialization.boolean(),
|
|
20
|
-
apiPlaygroundEnabled: core.serialization.boolean(),
|
|
21
16
|
workosOrganizationId: core.serialization.string().optionalNullable(),
|
|
22
17
|
selfHostedSdKs: core.serialization.property("selfHostedSDKs", core.serialization.boolean()),
|
|
23
18
|
postmanTeamId: core.serialization.string().optionalNullable(),
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "8.0.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "8.0.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1,59 +1,4 @@
|
|
|
1
1
|
# Reference
|
|
2
|
-
<details><summary><code>client.<a href="/src/Client.ts">metricsMetricsGet</a>() -> core.APIResponse<unknown, FernVenusApi.metricsMetricsGet.Error></code></summary>
|
|
3
|
-
<dl>
|
|
4
|
-
<dd>
|
|
5
|
-
|
|
6
|
-
#### 📝 Description
|
|
7
|
-
|
|
8
|
-
<dl>
|
|
9
|
-
<dd>
|
|
10
|
-
|
|
11
|
-
<dl>
|
|
12
|
-
<dd>
|
|
13
|
-
|
|
14
|
-
Endpoint that serves Prometheus metrics.
|
|
15
|
-
</dd>
|
|
16
|
-
</dl>
|
|
17
|
-
</dd>
|
|
18
|
-
</dl>
|
|
19
|
-
|
|
20
|
-
#### 🔌 Usage
|
|
21
|
-
|
|
22
|
-
<dl>
|
|
23
|
-
<dd>
|
|
24
|
-
|
|
25
|
-
<dl>
|
|
26
|
-
<dd>
|
|
27
|
-
|
|
28
|
-
```typescript
|
|
29
|
-
await client.metricsMetricsGet();
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
</dd>
|
|
33
|
-
</dl>
|
|
34
|
-
</dd>
|
|
35
|
-
</dl>
|
|
36
|
-
|
|
37
|
-
#### ⚙️ Parameters
|
|
38
|
-
|
|
39
|
-
<dl>
|
|
40
|
-
<dd>
|
|
41
|
-
|
|
42
|
-
<dl>
|
|
43
|
-
<dd>
|
|
44
|
-
|
|
45
|
-
**requestOptions:** `FernVenusApiClient.RequestOptions`
|
|
46
|
-
|
|
47
|
-
</dd>
|
|
48
|
-
</dl>
|
|
49
|
-
</dd>
|
|
50
|
-
</dl>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</dd>
|
|
54
|
-
</dl>
|
|
55
|
-
</details>
|
|
56
|
-
|
|
57
2
|
<details><summary><code>client.<a href="/src/Client.ts">healthHealthGet</a>() -> core.APIResponse<unknown, FernVenusApi.healthHealthGet.Error></code></summary>
|
|
58
3
|
<dl>
|
|
59
4
|
<dd>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type * as core from "../../core/index.js";
|
|
2
|
-
import * as FernVenusApi from "../index.js";
|
|
3
|
-
export type Error = FernVenusApi.metricsMetricsGet.Error._Unknown;
|
|
4
|
-
export declare namespace Error {
|
|
5
|
-
interface _Unknown extends _Utils {
|
|
6
|
-
statusCode: void;
|
|
7
|
-
content: core.Fetcher.Error;
|
|
8
|
-
}
|
|
9
|
-
interface _Utils {
|
|
10
|
-
_visit: <_Result>(visitor: FernVenusApi.metricsMetricsGet.Error._Visitor<_Result>) => _Result;
|
|
11
|
-
}
|
|
12
|
-
interface _Visitor<_Result> {
|
|
13
|
-
_other: (value: core.Fetcher.Error) => _Result;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export declare const Error: {
|
|
17
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.metricsMetricsGet.Error._Unknown;
|
|
18
|
-
readonly _visit: <_Result>(value: FernVenusApi.metricsMetricsGet.Error, visitor: FernVenusApi.metricsMetricsGet.Error._Visitor<_Result>) => _Result;
|
|
19
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.Error = void 0;
|
|
38
|
-
const FernVenusApi = __importStar(require("../index.js"));
|
|
39
|
-
exports.Error = {
|
|
40
|
-
_unknown: (fetcherError) => {
|
|
41
|
-
return {
|
|
42
|
-
statusCode: undefined,
|
|
43
|
-
content: fetcherError,
|
|
44
|
-
_visit: function (visitor) {
|
|
45
|
-
return FernVenusApi.metricsMetricsGet.Error._visit(this, visitor);
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
},
|
|
49
|
-
_visit: (value, visitor) => {
|
|
50
|
-
switch (value.statusCode) {
|
|
51
|
-
default:
|
|
52
|
-
return visitor._other(value.content);
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type * as core from "../../core/index.mjs";
|
|
2
|
-
import * as FernVenusApi from "../index.mjs";
|
|
3
|
-
export type Error = FernVenusApi.metricsMetricsGet.Error._Unknown;
|
|
4
|
-
export declare namespace Error {
|
|
5
|
-
interface _Unknown extends _Utils {
|
|
6
|
-
statusCode: void;
|
|
7
|
-
content: core.Fetcher.Error;
|
|
8
|
-
}
|
|
9
|
-
interface _Utils {
|
|
10
|
-
_visit: <_Result>(visitor: FernVenusApi.metricsMetricsGet.Error._Visitor<_Result>) => _Result;
|
|
11
|
-
}
|
|
12
|
-
interface _Visitor<_Result> {
|
|
13
|
-
_other: (value: core.Fetcher.Error) => _Result;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export declare const Error: {
|
|
17
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => FernVenusApi.metricsMetricsGet.Error._Unknown;
|
|
18
|
-
readonly _visit: <_Result>(value: FernVenusApi.metricsMetricsGet.Error, visitor: FernVenusApi.metricsMetricsGet.Error._Visitor<_Result>) => _Result;
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import * as FernVenusApi from "../index.mjs";
|
|
3
|
-
export const Error = {
|
|
4
|
-
_unknown: (fetcherError) => {
|
|
5
|
-
return {
|
|
6
|
-
statusCode: undefined,
|
|
7
|
-
content: fetcherError,
|
|
8
|
-
_visit: function (visitor) {
|
|
9
|
-
return FernVenusApi.metricsMetricsGet.Error._visit(this, visitor);
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
|
-
},
|
|
13
|
-
_visit: (value, visitor) => {
|
|
14
|
-
switch (value.statusCode) {
|
|
15
|
-
default:
|
|
16
|
-
return visitor._other(value.content);
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
};
|