@athenaintel/sdk 4.3.2169 → 4.3.2170
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/semanticModel/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/semanticModel/client/Client.js +3 -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/semanticModel/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/semanticModel/client/Client.mjs +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
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": "@athenaintel/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "4.3.
|
|
47
|
-
"User-Agent": "@athenaintel/sdk/4.3.
|
|
46
|
+
"X-Fern-SDK-Version": "4.3.2170",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2170",
|
|
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);
|
|
@@ -36,6 +36,7 @@ export declare class SemanticModelClient {
|
|
|
36
36
|
* @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
38
38
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
39
|
+
* @throws {@link AthenaIntelligence.ForbiddenError}
|
|
39
40
|
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
40
41
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
41
42
|
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
@@ -154,6 +154,7 @@ class SemanticModelClient {
|
|
|
154
154
|
* @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
155
155
|
*
|
|
156
156
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
157
|
+
* @throws {@link AthenaIntelligence.ForbiddenError}
|
|
157
158
|
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
158
159
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
159
160
|
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
@@ -193,6 +194,8 @@ class SemanticModelClient {
|
|
|
193
194
|
switch (_response.error.statusCode) {
|
|
194
195
|
case 401:
|
|
195
196
|
throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
197
|
+
case 403:
|
|
198
|
+
throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
196
199
|
case 404:
|
|
197
200
|
throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
|
|
198
201
|
case 422:
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.3.
|
|
1
|
+
export declare const SDK_VERSION = "4.3.2170";
|
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": "@athenaintel/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "4.3.
|
|
10
|
-
"User-Agent": "@athenaintel/sdk/4.3.
|
|
9
|
+
"X-Fern-SDK-Version": "4.3.2170",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2170",
|
|
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);
|
|
@@ -36,6 +36,7 @@ export declare class SemanticModelClient {
|
|
|
36
36
|
* @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
38
38
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
39
|
+
* @throws {@link AthenaIntelligence.ForbiddenError}
|
|
39
40
|
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
40
41
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
41
42
|
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
@@ -118,6 +118,7 @@ export class SemanticModelClient {
|
|
|
118
118
|
* @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
119
119
|
*
|
|
120
120
|
* @throws {@link AthenaIntelligence.UnauthorizedError}
|
|
121
|
+
* @throws {@link AthenaIntelligence.ForbiddenError}
|
|
121
122
|
* @throws {@link AthenaIntelligence.NotFoundError}
|
|
122
123
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
123
124
|
* @throws {@link AthenaIntelligence.BadGatewayError}
|
|
@@ -157,6 +158,8 @@ export class SemanticModelClient {
|
|
|
157
158
|
switch (_response.error.statusCode) {
|
|
158
159
|
case 401:
|
|
159
160
|
throw new AthenaIntelligence.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
161
|
+
case 403:
|
|
162
|
+
throw new AthenaIntelligence.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
160
163
|
case 404:
|
|
161
164
|
throw new AthenaIntelligence.NotFoundError(_response.error.body, _response.rawResponse);
|
|
162
165
|
case 422:
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.3.
|
|
1
|
+
export declare const SDK_VERSION = "4.3.2170";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2170";
|