@fern-api/venus-api-sdk 11.1.1 → 11.1.2
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/api/resources/apiKeys/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/apiKeys/client/Client.js +4 -0
- 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/api/resources/apiKeys/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/apiKeys/client/Client.mjs +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +16 -0
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": "11.1.
|
|
47
|
-
"User-Agent": "@fern-api/venus-api-sdk/11.1.
|
|
46
|
+
"X-Fern-SDK-Version": "11.1.2",
|
|
47
|
+
"User-Agent": "@fern-api/venus-api-sdk/11.1.2",
|
|
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);
|
|
@@ -11,6 +11,10 @@ export declare class ApiKeysClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<ApiKeysClient.Options>;
|
|
12
12
|
constructor(options: ApiKeysClient.Options);
|
|
13
13
|
/**
|
|
14
|
+
* Creates an API key for an organization the caller is a member of. Called
|
|
15
|
+
* with the provisioner token, it only works for an unclaimed organization
|
|
16
|
+
* that was created with that token, and returns 403 for any other.
|
|
17
|
+
*
|
|
14
18
|
* @param {FernVenusApi.CreateApiKeyRequest} request
|
|
15
19
|
* @param {ApiKeysClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
20
|
*
|
|
@@ -65,6 +65,10 @@ class ApiKeysClient {
|
|
|
65
65
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
|
+
* Creates an API key for an organization the caller is a member of. Called
|
|
69
|
+
* with the provisioner token, it only works for an unclaimed organization
|
|
70
|
+
* that was created with that token, and returns 403 for any other.
|
|
71
|
+
*
|
|
68
72
|
* @param {FernVenusApi.CreateApiKeyRequest} request
|
|
69
73
|
* @param {ApiKeysClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
74
|
*
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "11.1.
|
|
1
|
+
export declare const SDK_VERSION = "11.1.2";
|
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": "11.1.
|
|
10
|
-
"User-Agent": "@fern-api/venus-api-sdk/11.1.
|
|
9
|
+
"X-Fern-SDK-Version": "11.1.2",
|
|
10
|
+
"User-Agent": "@fern-api/venus-api-sdk/11.1.2",
|
|
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);
|
|
@@ -11,6 +11,10 @@ export declare class ApiKeysClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<ApiKeysClient.Options>;
|
|
12
12
|
constructor(options: ApiKeysClient.Options);
|
|
13
13
|
/**
|
|
14
|
+
* Creates an API key for an organization the caller is a member of. Called
|
|
15
|
+
* with the provisioner token, it only works for an unclaimed organization
|
|
16
|
+
* that was created with that token, and returns 403 for any other.
|
|
17
|
+
*
|
|
14
18
|
* @param {FernVenusApi.CreateApiKeyRequest} request
|
|
15
19
|
* @param {ApiKeysClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
20
|
*
|
|
@@ -29,6 +29,10 @@ export class ApiKeysClient {
|
|
|
29
29
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
+
* Creates an API key for an organization the caller is a member of. Called
|
|
33
|
+
* with the provisioner token, it only works for an unclaimed organization
|
|
34
|
+
* that was created with that token, and returns 403 for any other.
|
|
35
|
+
*
|
|
32
36
|
* @param {FernVenusApi.CreateApiKeyRequest} request
|
|
33
37
|
* @param {ApiKeysClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
38
|
*
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "11.1.
|
|
1
|
+
export declare const SDK_VERSION = "11.1.2";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "11.1.
|
|
1
|
+
export const SDK_VERSION = "11.1.2";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -145,6 +145,22 @@ await client.healthRdsHealthRdsGet();
|
|
|
145
145
|
<dl>
|
|
146
146
|
<dd>
|
|
147
147
|
|
|
148
|
+
#### 📝 Description
|
|
149
|
+
|
|
150
|
+
<dl>
|
|
151
|
+
<dd>
|
|
152
|
+
|
|
153
|
+
<dl>
|
|
154
|
+
<dd>
|
|
155
|
+
|
|
156
|
+
Creates an API key for an organization the caller is a member of. Called
|
|
157
|
+
with the provisioner token, it only works for an unclaimed organization
|
|
158
|
+
that was created with that token, and returns 403 for any other.
|
|
159
|
+
</dd>
|
|
160
|
+
</dl>
|
|
161
|
+
</dd>
|
|
162
|
+
</dl>
|
|
163
|
+
|
|
148
164
|
#### 🔌 Usage
|
|
149
165
|
|
|
150
166
|
<dl>
|