@athenaintel/sdk 4.3.2340 → 4.3.2342
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/types/SharePermissionType.d.ts +2 -0
- package/dist/cjs/api/types/SharePermissionType.js +2 -0
- package/dist/cjs/api/types/ShareRecipient.d.ts +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/api/types/SharePermissionType.d.mts +2 -0
- package/dist/esm/api/types/SharePermissionType.mjs +2 -0
- package/dist/esm/api/types/ShareRecipient.d.mts +1 -1
- 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.2342",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2342",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"X-Athena-Session-Credential": options === null || options === void 0 ? void 0 : options.sessionCredential,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** Permission level to grant when sharing an asset. */
|
|
2
2
|
export declare const SharePermissionType: {
|
|
3
3
|
readonly View: "view";
|
|
4
|
+
readonly ViewDrafts: "view_drafts";
|
|
5
|
+
readonly Publish: "publish";
|
|
4
6
|
readonly Edit: "edit";
|
|
5
7
|
};
|
|
6
8
|
export type SharePermissionType = (typeof SharePermissionType)[keyof typeof SharePermissionType];
|
|
@@ -5,6 +5,6 @@ import type * as AthenaIntelligence from "../index.js";
|
|
|
5
5
|
export interface ShareRecipient {
|
|
6
6
|
/** Email address of the user to share with */
|
|
7
7
|
email: string;
|
|
8
|
-
/** Permission level to grant: 'view' or 'edit' */
|
|
8
|
+
/** Permission level to grant: 'view' or 'edit'. On an asset type that publishes (documents, presentations, Word documents, spreadsheets, interfaces, agents, skills, object types and AOPs), also 'view_drafts' (reads the published asset's draft, nothing more) or 'publish' (reads the draft and publishes it, never edits it); any other type refuses those two with 422. */
|
|
9
9
|
permission?: AthenaIntelligence.SharePermissionType;
|
|
10
10
|
}
|
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.2342";
|
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.2342",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2342",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"X-Athena-Session-Credential": options === null || options === void 0 ? void 0 : options.sessionCredential,
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** Permission level to grant when sharing an asset. */
|
|
2
2
|
export declare const SharePermissionType: {
|
|
3
3
|
readonly View: "view";
|
|
4
|
+
readonly ViewDrafts: "view_drafts";
|
|
5
|
+
readonly Publish: "publish";
|
|
4
6
|
readonly Edit: "edit";
|
|
5
7
|
};
|
|
6
8
|
export type SharePermissionType = (typeof SharePermissionType)[keyof typeof SharePermissionType];
|
|
@@ -5,6 +5,6 @@ import type * as AthenaIntelligence from "../index.mjs";
|
|
|
5
5
|
export interface ShareRecipient {
|
|
6
6
|
/** Email address of the user to share with */
|
|
7
7
|
email: string;
|
|
8
|
-
/** Permission level to grant: 'view' or 'edit' */
|
|
8
|
+
/** Permission level to grant: 'view' or 'edit'. On an asset type that publishes (documents, presentations, Word documents, spreadsheets, interfaces, agents, skills, object types and AOPs), also 'view_drafts' (reads the published asset's draft, nothing more) or 'publish' (reads the draft and publishes it, never edits it); any other type refuses those two with 422. */
|
|
9
9
|
permission?: AthenaIntelligence.SharePermissionType;
|
|
10
10
|
}
|
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.2342";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2342";
|