frameio 0.1.0 → 1.1.4
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/README.md +5 -1
- package/dist/cjs/Client.d.ts +2 -2
- package/dist/cjs/Client.js +3 -3
- package/dist/cjs/api/resources/accountPermissions/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/accountPermissions/client/Client.js +3 -7
- package/dist/cjs/api/resources/accounts/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/accounts/client/Client.js +3 -7
- package/dist/cjs/api/resources/comments/client/Client.d.ts +16 -9
- package/dist/cjs/api/resources/comments/client/Client.js +40 -16
- package/dist/cjs/api/resources/comments/client/requests/CommentsShowRequest.d.ts +1 -1
- package/dist/cjs/api/resources/comments/client/requests/CreateCommentParams.d.ts +13 -3
- package/dist/cjs/api/resources/comments/client/requests/UpdateCommentParams.d.ts +11 -2
- package/dist/cjs/api/resources/comments/index.d.ts +1 -0
- package/dist/cjs/api/resources/comments/index.js +1 -0
- package/dist/cjs/api/resources/comments/types/CommentsShowRequestInclude.d.ts +6 -0
- package/dist/cjs/api/resources/comments/types/CommentsShowRequestInclude.js +9 -0
- package/dist/cjs/api/resources/comments/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/comments/types/index.js +17 -0
- package/dist/cjs/api/resources/files/client/Client.d.ts +16 -15
- package/dist/cjs/api/resources/files/client/Client.js +33 -20
- package/dist/cjs/api/resources/files/client/requests/FileCopyParams.d.ts +3 -0
- package/dist/cjs/api/resources/folders/client/Client.d.ts +14 -12
- package/dist/cjs/api/resources/folders/client/Client.js +31 -17
- package/dist/cjs/api/resources/folders/client/requests/FolderCopyParams.d.ts +3 -0
- package/dist/cjs/api/resources/index.d.ts +4 -2
- package/dist/cjs/api/resources/index.js +5 -3
- package/dist/cjs/api/resources/metadata/client/Client.d.ts +17 -14
- package/dist/cjs/api/resources/metadata/client/Client.js +16 -17
- package/dist/cjs/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.ts +13 -10
- package/dist/cjs/api/resources/metadataFields/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/metadataFields/client/Client.js +6 -10
- package/dist/cjs/api/resources/projectPermissions/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/projectPermissions/client/Client.js +5 -9
- package/dist/cjs/api/resources/projects/client/Client.d.ts +15 -12
- package/dist/cjs/api/resources/projects/client/Client.js +13 -14
- package/dist/cjs/api/resources/projects/client/requests/ProjectParams.d.ts +20 -0
- package/dist/cjs/api/resources/projects/client/requests/ProjectUpdateParams.d.ts +31 -0
- package/dist/cjs/api/resources/projects/client/requests/ProjectUpdateParams.js +15 -0
- package/dist/cjs/api/resources/projects/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shares/client/Client.d.ts +22 -20
- package/dist/cjs/api/resources/shares/client/Client.js +21 -23
- package/dist/cjs/api/resources/shares/client/requests/AddAssetParams.d.ts +1 -1
- package/dist/cjs/api/resources/shares/client/requests/CreateShareParams.d.ts +3 -2
- package/dist/cjs/api/resources/shares/client/requests/UpdateShareParams.d.ts +3 -1
- package/dist/cjs/api/resources/users/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/users/client/Client.js +3 -7
- package/dist/cjs/api/resources/versionStacks/client/Client.d.ts +34 -10
- package/dist/cjs/api/resources/versionStacks/client/Client.js +115 -15
- package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCopyParams.d.ts +3 -0
- package/dist/cjs/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.ts +2 -2
- package/dist/cjs/api/resources/versionStacks/client/requests/VersionStacksShowRequest.d.ts +11 -0
- package/dist/cjs/api/resources/versionStacks/client/requests/VersionStacksShowRequest.js +3 -0
- package/dist/cjs/api/resources/versionStacks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/versionStacks/index.d.ts +1 -0
- package/dist/cjs/api/resources/versionStacks/index.js +1 -0
- package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.ts +9 -0
- package/dist/cjs/api/resources/versionStacks/types/VersionStacksShowRequestInclude.js +12 -0
- package/dist/cjs/api/resources/versionStacks/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/versionStacks/types/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/webhooks/client/Client.js +6 -10
- package/dist/cjs/api/resources/workspacePermissions/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/workspacePermissions/client/Client.js +5 -9
- package/dist/cjs/api/resources/workspaces/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/workspaces/client/Client.js +7 -11
- package/dist/cjs/api/types/Account.d.ts +2 -0
- package/dist/cjs/api/types/AssetCommonWithIncludes.d.ts +9 -0
- package/dist/cjs/api/types/AssetCommonWithIncludes.js +9 -0
- package/dist/cjs/api/types/AssetShareParams.d.ts +1 -0
- package/dist/cjs/api/types/Comment.d.ts +6 -2
- package/dist/cjs/api/types/DateDefinition.d.ts +16 -0
- package/dist/cjs/api/types/DateDefinition.js +13 -0
- package/dist/cjs/api/types/EmptyJson.d.ts +4 -0
- package/dist/cjs/api/types/EmptyJson.js +3 -0
- package/dist/cjs/api/types/FileWithMediaLinksInclude.d.ts +0 -5
- package/dist/cjs/api/types/FileWithMediaLinksInclude.js +0 -5
- package/dist/cjs/api/types/FolderWithIncludes.d.ts +9 -0
- package/dist/cjs/api/types/FolderWithIncludes.js +9 -0
- package/dist/cjs/api/types/LongTextDefinition.d.ts +16 -0
- package/dist/cjs/api/types/LongTextDefinition.js +17 -0
- package/dist/cjs/api/types/MediaLinksCollection.d.ts +1 -0
- package/dist/cjs/api/types/MultiUserValue.d.ts +1 -1
- package/dist/cjs/api/types/Project.d.ts +12 -0
- package/dist/cjs/api/types/Project.js +9 -0
- package/dist/cjs/api/types/SelectMultiDefinition.d.ts +16 -0
- package/dist/cjs/api/types/SelectMultiDefinition.js +17 -0
- package/dist/cjs/api/types/TextDefinition.d.ts +16 -0
- package/dist/cjs/api/types/TextDefinition.js +17 -0
- package/dist/cjs/api/types/TimeStamp.d.ts +7 -0
- package/dist/cjs/api/types/TimeStamp.js +3 -0
- package/dist/cjs/api/types/UserMultiDefinition.d.ts +16 -0
- package/dist/cjs/api/types/UserMultiDefinition.js +13 -0
- package/dist/cjs/api/types/UserSingleDefinition.d.ts +16 -0
- package/dist/cjs/api/types/UserSingleDefinition.js +13 -0
- package/dist/cjs/api/types/VersionStackWithIncludes.d.ts +9 -0
- package/dist/cjs/api/types/VersionStackWithIncludes.js +9 -0
- package/dist/cjs/api/types/index.d.ts +3 -2
- package/dist/cjs/api/types/index.js +3 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +2 -2
- package/dist/esm/Client.mjs +3 -3
- package/dist/esm/api/resources/accountPermissions/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/accountPermissions/client/Client.mjs +3 -7
- package/dist/esm/api/resources/accounts/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/accounts/client/Client.mjs +3 -7
- package/dist/esm/api/resources/comments/client/Client.d.mts +16 -9
- package/dist/esm/api/resources/comments/client/Client.mjs +40 -16
- package/dist/esm/api/resources/comments/client/requests/CommentsShowRequest.d.mts +1 -1
- package/dist/esm/api/resources/comments/client/requests/CreateCommentParams.d.mts +13 -3
- package/dist/esm/api/resources/comments/client/requests/UpdateCommentParams.d.mts +11 -2
- package/dist/esm/api/resources/comments/index.d.mts +1 -0
- package/dist/esm/api/resources/comments/index.mjs +1 -0
- package/dist/esm/api/resources/comments/types/CommentsShowRequestInclude.d.mts +6 -0
- package/dist/esm/api/resources/comments/types/CommentsShowRequestInclude.mjs +6 -0
- package/dist/esm/api/resources/comments/types/index.d.mts +1 -0
- package/dist/esm/api/resources/comments/types/index.mjs +1 -0
- package/dist/esm/api/resources/files/client/Client.d.mts +16 -15
- package/dist/esm/api/resources/files/client/Client.mjs +33 -20
- package/dist/esm/api/resources/files/client/requests/FileCopyParams.d.mts +3 -0
- package/dist/esm/api/resources/folders/client/Client.d.mts +14 -12
- package/dist/esm/api/resources/folders/client/Client.mjs +31 -17
- package/dist/esm/api/resources/folders/client/requests/FolderCopyParams.d.mts +3 -0
- package/dist/esm/api/resources/index.d.mts +4 -2
- package/dist/esm/api/resources/index.mjs +4 -2
- package/dist/esm/api/resources/metadata/client/Client.d.mts +17 -14
- package/dist/esm/api/resources/metadata/client/Client.mjs +16 -17
- package/dist/esm/api/resources/metadata/client/requests/BulkUpdateMetadataParams.d.mts +13 -10
- package/dist/esm/api/resources/metadataFields/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/metadataFields/client/Client.mjs +6 -10
- package/dist/esm/api/resources/projectPermissions/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/projectPermissions/client/Client.mjs +5 -9
- package/dist/esm/api/resources/projects/client/Client.d.mts +15 -12
- package/dist/esm/api/resources/projects/client/Client.mjs +13 -14
- package/dist/esm/api/resources/projects/client/requests/ProjectParams.d.mts +20 -0
- package/dist/esm/api/resources/projects/client/requests/ProjectUpdateParams.d.mts +31 -0
- package/dist/esm/api/resources/projects/client/requests/ProjectUpdateParams.mjs +12 -0
- package/dist/esm/api/resources/projects/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shares/client/Client.d.mts +22 -20
- package/dist/esm/api/resources/shares/client/Client.mjs +21 -23
- package/dist/esm/api/resources/shares/client/requests/AddAssetParams.d.mts +1 -1
- package/dist/esm/api/resources/shares/client/requests/CreateShareParams.d.mts +3 -2
- package/dist/esm/api/resources/shares/client/requests/UpdateShareParams.d.mts +3 -1
- package/dist/esm/api/resources/users/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/users/client/Client.mjs +3 -7
- package/dist/esm/api/resources/versionStacks/client/Client.d.mts +34 -10
- package/dist/esm/api/resources/versionStacks/client/Client.mjs +115 -15
- package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCopyParams.d.mts +3 -0
- package/dist/esm/api/resources/versionStacks/client/requests/VersionStackCreateParams.d.mts +2 -2
- package/dist/esm/api/resources/versionStacks/client/requests/VersionStacksShowRequest.d.mts +11 -0
- package/dist/esm/api/resources/versionStacks/client/requests/VersionStacksShowRequest.mjs +2 -0
- package/dist/esm/api/resources/versionStacks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/versionStacks/index.d.mts +1 -0
- package/dist/esm/api/resources/versionStacks/index.mjs +1 -0
- package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.d.mts +9 -0
- package/dist/esm/api/resources/versionStacks/types/VersionStacksShowRequestInclude.mjs +9 -0
- package/dist/esm/api/resources/versionStacks/types/index.d.mts +1 -0
- package/dist/esm/api/resources/versionStacks/types/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/webhooks/client/Client.mjs +6 -10
- package/dist/esm/api/resources/workspacePermissions/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/workspacePermissions/client/Client.mjs +5 -9
- package/dist/esm/api/resources/workspaces/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/workspaces/client/Client.mjs +7 -11
- package/dist/esm/api/types/Account.d.mts +2 -0
- package/dist/esm/api/types/AssetCommonWithIncludes.d.mts +9 -0
- package/dist/esm/api/types/AssetCommonWithIncludes.mjs +8 -1
- package/dist/esm/api/types/AssetShareParams.d.mts +1 -0
- package/dist/esm/api/types/Comment.d.mts +6 -2
- package/dist/esm/api/types/DateDefinition.d.mts +16 -0
- package/dist/esm/api/types/DateDefinition.mjs +13 -0
- package/dist/esm/api/types/EmptyJson.d.mts +4 -0
- package/dist/esm/api/types/EmptyJson.mjs +2 -0
- package/dist/esm/api/types/FileWithMediaLinksInclude.d.mts +0 -5
- package/dist/esm/api/types/FileWithMediaLinksInclude.mjs +0 -5
- package/dist/esm/api/types/FolderWithIncludes.d.mts +9 -0
- package/dist/esm/api/types/FolderWithIncludes.mjs +8 -1
- package/dist/esm/api/types/LongTextDefinition.d.mts +16 -0
- package/dist/esm/api/types/LongTextDefinition.mjs +16 -1
- package/dist/esm/api/types/MediaLinksCollection.d.mts +1 -0
- package/dist/esm/api/types/MultiUserValue.d.mts +1 -1
- package/dist/esm/api/types/Project.d.mts +12 -0
- package/dist/esm/api/types/Project.mjs +8 -1
- package/dist/esm/api/types/SelectMultiDefinition.d.mts +16 -0
- package/dist/esm/api/types/SelectMultiDefinition.mjs +16 -1
- package/dist/esm/api/types/TextDefinition.d.mts +16 -0
- package/dist/esm/api/types/TextDefinition.mjs +16 -1
- package/dist/esm/api/types/TimeStamp.d.mts +7 -0
- package/dist/esm/api/types/TimeStamp.mjs +2 -0
- package/dist/esm/api/types/UserMultiDefinition.d.mts +16 -0
- package/dist/esm/api/types/UserMultiDefinition.mjs +13 -0
- package/dist/esm/api/types/UserSingleDefinition.d.mts +16 -0
- package/dist/esm/api/types/UserSingleDefinition.mjs +13 -0
- package/dist/esm/api/types/VersionStackWithIncludes.d.mts +9 -0
- package/dist/esm/api/types/VersionStackWithIncludes.mjs +8 -1
- package/dist/esm/api/types/index.d.mts +3 -2
- package/dist/esm/api/types/index.mjs +3 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +394 -120
- package/dist/cjs/api/types/ProjectParams.d.ts +0 -12
- package/dist/esm/api/types/ProjectParams.d.mts +0 -12
- /package/dist/cjs/api/{types → resources/projects/client/requests}/ProjectParams.js +0 -0
- /package/dist/esm/api/{types → resources/projects/client/requests}/ProjectParams.mjs +0 -0
package/README.md
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
[](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FFrameio%2Ftypescript-sdk)
|
|
4
4
|
[](https://www.npmjs.com/package/frameio)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
|
|
7
|
+
<img width="1644" alt="artboard_small" src="https://user-images.githubusercontent.com/19295862/66240171-ba8dd280-e6b0-11e9-9ccf-573a4fc5961f.png">
|
|
8
|
+
|
|
9
|
+
Frame.io is a cloud-based collaboration hub that allows video professionals to share files, comment on clips real-time, and compare different versions and edits of a clip.
|
|
10
|
+
|
|
7
11
|
|
|
8
12
|
## Installation
|
|
9
13
|
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare namespace FrameioClient {
|
|
|
20
20
|
environment?: core.Supplier<environments.FrameioEnvironment | string>;
|
|
21
21
|
/** Specify a custom URL to connect the client to. */
|
|
22
22
|
baseUrl?: core.Supplier<string>;
|
|
23
|
-
token
|
|
23
|
+
token: core.Supplier<core.BearerToken>;
|
|
24
24
|
/** Additional headers to include in requests. */
|
|
25
25
|
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
26
26
|
}
|
|
@@ -54,7 +54,7 @@ export declare class FrameioClient {
|
|
|
54
54
|
protected _users: Users | undefined;
|
|
55
55
|
protected _projects: Projects | undefined;
|
|
56
56
|
protected _workspaces: Workspaces | undefined;
|
|
57
|
-
constructor(_options
|
|
57
|
+
constructor(_options: FrameioClient.Options);
|
|
58
58
|
get metadataFields(): MetadataFields;
|
|
59
59
|
get projectPermissions(): ProjectPermissions;
|
|
60
60
|
get folders(): Folders;
|
package/dist/cjs/Client.js
CHANGED
|
@@ -53,12 +53,12 @@ const Client_js_13 = require("./api/resources/users/client/Client.js");
|
|
|
53
53
|
const Client_js_14 = require("./api/resources/projects/client/Client.js");
|
|
54
54
|
const Client_js_15 = require("./api/resources/workspaces/client/Client.js");
|
|
55
55
|
class FrameioClient {
|
|
56
|
-
constructor(_options
|
|
56
|
+
constructor(_options) {
|
|
57
57
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
58
58
|
"X-Fern-Language": "JavaScript",
|
|
59
59
|
"X-Fern-SDK-Name": "frameio",
|
|
60
|
-
"X-Fern-SDK-Version": "
|
|
61
|
-
"User-Agent": "frameio/
|
|
60
|
+
"X-Fern-SDK-Version": "1.1.4",
|
|
61
|
+
"User-Agent": "frameio/1.1.4",
|
|
62
62
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
63
63
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
64
64
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -6,7 +6,7 @@ export declare namespace AccountPermissions {
|
|
|
6
6
|
environment?: core.Supplier<environments.FrameioEnvironment | string>;
|
|
7
7
|
/** Specify a custom URL to connect the client to. */
|
|
8
8
|
baseUrl?: core.Supplier<string>;
|
|
9
|
-
token
|
|
9
|
+
token: core.Supplier<core.BearerToken>;
|
|
10
10
|
/** Additional headers to include in requests. */
|
|
11
11
|
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
12
12
|
}
|
|
@@ -28,9 +28,9 @@ export declare namespace AccountPermissions {
|
|
|
28
28
|
*/
|
|
29
29
|
export declare class AccountPermissions {
|
|
30
30
|
protected readonly _options: AccountPermissions.Options;
|
|
31
|
-
constructor(_options
|
|
31
|
+
constructor(_options: AccountPermissions.Options);
|
|
32
32
|
/**
|
|
33
|
-
* List user roles for a given account. <br
|
|
33
|
+
* List user roles for a given account. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
34
34
|
*
|
|
35
35
|
* @param {Frameio.Uuid} accountId -
|
|
36
36
|
* @param {Frameio.AccountPermissionsIndexRequest} request
|
|
@@ -52,5 +52,5 @@ export declare class AccountPermissions {
|
|
|
52
52
|
* })
|
|
53
53
|
*/
|
|
54
54
|
index(accountId: Frameio.Uuid, request?: Frameio.AccountPermissionsIndexRequest, requestOptions?: AccountPermissions.RequestOptions): Promise<core.Page<Frameio.AccountUserRole>>;
|
|
55
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
55
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
56
56
|
}
|
|
@@ -53,11 +53,11 @@ const errors = __importStar(require("../../../../errors/index.js"));
|
|
|
53
53
|
* Manage Account Permissions and related operations.
|
|
54
54
|
*/
|
|
55
55
|
class AccountPermissions {
|
|
56
|
-
constructor(_options
|
|
56
|
+
constructor(_options) {
|
|
57
57
|
this._options = _options;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* List user roles for a given account. <br
|
|
60
|
+
* List user roles for a given account. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
61
61
|
*
|
|
62
62
|
* @param {Frameio.Uuid} accountId -
|
|
63
63
|
* @param {Frameio.AccountPermissionsIndexRequest} request
|
|
@@ -165,11 +165,7 @@ class AccountPermissions {
|
|
|
165
165
|
}
|
|
166
166
|
_getAuthorizationHeader() {
|
|
167
167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
-
|
|
169
|
-
if (bearer != null) {
|
|
170
|
-
return `Bearer ${bearer}`;
|
|
171
|
-
}
|
|
172
|
-
return undefined;
|
|
168
|
+
return `Bearer ${yield core.Supplier.get(this._options.token)}`;
|
|
173
169
|
});
|
|
174
170
|
}
|
|
175
171
|
}
|
|
@@ -6,7 +6,7 @@ export declare namespace Accounts {
|
|
|
6
6
|
environment?: core.Supplier<environments.FrameioEnvironment | string>;
|
|
7
7
|
/** Specify a custom URL to connect the client to. */
|
|
8
8
|
baseUrl?: core.Supplier<string>;
|
|
9
|
-
token
|
|
9
|
+
token: core.Supplier<core.BearerToken>;
|
|
10
10
|
/** Additional headers to include in requests. */
|
|
11
11
|
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
12
12
|
}
|
|
@@ -28,9 +28,9 @@ export declare namespace Accounts {
|
|
|
28
28
|
*/
|
|
29
29
|
export declare class Accounts {
|
|
30
30
|
protected readonly _options: Accounts.Options;
|
|
31
|
-
constructor(_options
|
|
31
|
+
constructor(_options: Accounts.Options);
|
|
32
32
|
/**
|
|
33
|
-
* List accounts for the current user. <br
|
|
33
|
+
* List accounts for the current user. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
34
34
|
*
|
|
35
35
|
* @param {Frameio.AccountsIndexRequest} request
|
|
36
36
|
* @param {Accounts.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -50,5 +50,5 @@ export declare class Accounts {
|
|
|
50
50
|
* })
|
|
51
51
|
*/
|
|
52
52
|
index(request?: Frameio.AccountsIndexRequest, requestOptions?: Accounts.RequestOptions): Promise<core.Page<Frameio.Account>>;
|
|
53
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
53
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
54
54
|
}
|
|
@@ -53,11 +53,11 @@ const errors = __importStar(require("../../../../errors/index.js"));
|
|
|
53
53
|
* Manage Accounts and related operations.
|
|
54
54
|
*/
|
|
55
55
|
class Accounts {
|
|
56
|
-
constructor(_options
|
|
56
|
+
constructor(_options) {
|
|
57
57
|
this._options = _options;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* List accounts for the current user. <br
|
|
60
|
+
* List accounts for the current user. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
61
61
|
*
|
|
62
62
|
* @param {Frameio.AccountsIndexRequest} request
|
|
63
63
|
* @param {Accounts.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -157,11 +157,7 @@ class Accounts {
|
|
|
157
157
|
}
|
|
158
158
|
_getAuthorizationHeader() {
|
|
159
159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
160
|
-
|
|
161
|
-
if (bearer != null) {
|
|
162
|
-
return `Bearer ${bearer}`;
|
|
163
|
-
}
|
|
164
|
-
return undefined;
|
|
160
|
+
return `Bearer ${yield core.Supplier.get(this._options.token)}`;
|
|
165
161
|
});
|
|
166
162
|
}
|
|
167
163
|
}
|
|
@@ -6,7 +6,7 @@ export declare namespace Comments {
|
|
|
6
6
|
environment?: core.Supplier<environments.FrameioEnvironment | string>;
|
|
7
7
|
/** Specify a custom URL to connect the client to. */
|
|
8
8
|
baseUrl?: core.Supplier<string>;
|
|
9
|
-
token
|
|
9
|
+
token: core.Supplier<core.BearerToken>;
|
|
10
10
|
/** Additional headers to include in requests. */
|
|
11
11
|
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
12
12
|
}
|
|
@@ -28,9 +28,9 @@ export declare namespace Comments {
|
|
|
28
28
|
*/
|
|
29
29
|
export declare class Comments {
|
|
30
30
|
protected readonly _options: Comments.Options;
|
|
31
|
-
constructor(_options
|
|
31
|
+
constructor(_options: Comments.Options);
|
|
32
32
|
/**
|
|
33
|
-
* Show a single comment on a file. <br
|
|
33
|
+
* Show a single comment on a file. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
34
34
|
*
|
|
35
35
|
* @param {Frameio.Uuid} accountId -
|
|
36
36
|
* @param {Frameio.Uuid} commentId -
|
|
@@ -52,7 +52,7 @@ export declare class Comments {
|
|
|
52
52
|
show(accountId: Frameio.Uuid, commentId: Frameio.Uuid, request?: Frameio.CommentsShowRequest, requestOptions?: Comments.RequestOptions): core.HttpResponsePromise<Frameio.CommentWithIncludesResponse>;
|
|
53
53
|
private __show;
|
|
54
54
|
/**
|
|
55
|
-
* Delete comment from an asset. <br
|
|
55
|
+
* Delete comment from an asset. <br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
56
56
|
*
|
|
57
57
|
* @param {Frameio.Uuid} accountId -
|
|
58
58
|
* @param {Frameio.Uuid} commentId -
|
|
@@ -71,7 +71,7 @@ export declare class Comments {
|
|
|
71
71
|
delete(accountId: Frameio.Uuid, commentId: Frameio.Uuid, requestOptions?: Comments.RequestOptions): core.HttpResponsePromise<void>;
|
|
72
72
|
private __delete;
|
|
73
73
|
/**
|
|
74
|
-
* Update comment on given asset. <br
|
|
74
|
+
* Update comment on given asset. <br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
75
75
|
*
|
|
76
76
|
* @param {Frameio.Uuid} accountId -
|
|
77
77
|
* @param {Frameio.Uuid} commentId -
|
|
@@ -87,7 +87,10 @@ export declare class Comments {
|
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* await client.comments.update("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
|
|
90
|
+
* timestamp_as_timecode: true,
|
|
90
91
|
* data: {
|
|
92
|
+
* annotation: "[{\"tool\":\"rect\",\"color\":\"#F22237\",\"size\":8,\"x\":0.277726001863933,\"y\":0.12909555568499534,\"w\":0.3153168321877913,\"h\":0.5308131407269339,\"ix\":0.277726001863933,\"iy\":0.12909555568499534,\"radius\":8}]",
|
|
93
|
+
* completed: false,
|
|
91
94
|
* page: 4,
|
|
92
95
|
* text: "This is great!"
|
|
93
96
|
* }
|
|
@@ -96,7 +99,7 @@ export declare class Comments {
|
|
|
96
99
|
update(accountId: Frameio.Uuid, commentId: Frameio.Uuid, request: Frameio.UpdateCommentParams, requestOptions?: Comments.RequestOptions): core.HttpResponsePromise<Frameio.CommentResponse>;
|
|
97
100
|
private __update;
|
|
98
101
|
/**
|
|
99
|
-
* List comments on a given asset. <br
|
|
102
|
+
* List comments on a given asset. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
100
103
|
*
|
|
101
104
|
* @param {Frameio.Uuid} accountId -
|
|
102
105
|
* @param {Frameio.Uuid} fileId -
|
|
@@ -120,7 +123,7 @@ export declare class Comments {
|
|
|
120
123
|
*/
|
|
121
124
|
index(accountId: Frameio.Uuid, fileId: Frameio.Uuid, request?: Frameio.CommentsIndexRequest, requestOptions?: Comments.RequestOptions): Promise<core.Page<Frameio.CommentWithIncludes>>;
|
|
122
125
|
/**
|
|
123
|
-
* Create a comment on a file. <br
|
|
126
|
+
* Create a comment on a file. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
124
127
|
*
|
|
125
128
|
* @param {Frameio.Uuid} accountId -
|
|
126
129
|
* @param {Frameio.Uuid} fileId -
|
|
@@ -136,13 +139,17 @@ export declare class Comments {
|
|
|
136
139
|
*
|
|
137
140
|
* @example
|
|
138
141
|
* await client.comments.create("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
|
|
142
|
+
* timestamp_as_timecode: true,
|
|
139
143
|
* data: {
|
|
144
|
+
* annotation: "[{\"tool\":\"rect\",\"color\":\"#F22237\",\"size\":8,\"x\":0.277726001863933,\"y\":0.12909555568499534,\"w\":0.3153168321877913,\"h\":0.5308131407269339,\"ix\":0.277726001863933,\"iy\":0.12909555568499534,\"radius\":8}]",
|
|
145
|
+
* completed: false,
|
|
140
146
|
* page: 4,
|
|
141
|
-
* text: "This is great!"
|
|
147
|
+
* text: "This is great!",
|
|
148
|
+
* timestamp: "00:00:02:12"
|
|
142
149
|
* }
|
|
143
150
|
* })
|
|
144
151
|
*/
|
|
145
152
|
create(accountId: Frameio.Uuid, fileId: Frameio.Uuid, request: Frameio.CreateCommentParams, requestOptions?: Comments.RequestOptions): core.HttpResponsePromise<Frameio.CommentResponse>;
|
|
146
153
|
private __create;
|
|
147
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
154
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
148
155
|
}
|
|
@@ -42,6 +42,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
42
42
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
46
|
+
var t = {};
|
|
47
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
48
|
+
t[p] = s[p];
|
|
49
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
50
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
51
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
52
|
+
t[p[i]] = s[p[i]];
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
};
|
|
45
56
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
57
|
exports.Comments = void 0;
|
|
47
58
|
const environments = __importStar(require("../../../../environments.js"));
|
|
@@ -53,11 +64,11 @@ const errors = __importStar(require("../../../../errors/index.js"));
|
|
|
53
64
|
* Manage Comments and related operations.
|
|
54
65
|
*/
|
|
55
66
|
class Comments {
|
|
56
|
-
constructor(_options
|
|
67
|
+
constructor(_options) {
|
|
57
68
|
this._options = _options;
|
|
58
69
|
}
|
|
59
70
|
/**
|
|
60
|
-
* Show a single comment on a file. <br
|
|
71
|
+
* Show a single comment on a file. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
61
72
|
*
|
|
62
73
|
* @param {Frameio.Uuid} accountId -
|
|
63
74
|
* @param {Frameio.Uuid} commentId -
|
|
@@ -140,7 +151,7 @@ class Comments {
|
|
|
140
151
|
});
|
|
141
152
|
}
|
|
142
153
|
/**
|
|
143
|
-
* Delete comment from an asset. <br
|
|
154
|
+
* Delete comment from an asset. <br>Rate Limits: 60 calls per 1.00 minute(s) per account_user
|
|
144
155
|
*
|
|
145
156
|
* @param {Frameio.Uuid} accountId -
|
|
146
157
|
* @param {Frameio.Uuid} commentId -
|
|
@@ -215,7 +226,7 @@ class Comments {
|
|
|
215
226
|
});
|
|
216
227
|
}
|
|
217
228
|
/**
|
|
218
|
-
* Update comment on given asset. <br
|
|
229
|
+
* Update comment on given asset. <br>Rate Limits: 10 calls per 1.00 minute(s) per account_user
|
|
219
230
|
*
|
|
220
231
|
* @param {Frameio.Uuid} accountId -
|
|
221
232
|
* @param {Frameio.Uuid} commentId -
|
|
@@ -231,7 +242,10 @@ class Comments {
|
|
|
231
242
|
*
|
|
232
243
|
* @example
|
|
233
244
|
* await client.comments.update("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
|
|
245
|
+
* timestamp_as_timecode: true,
|
|
234
246
|
* data: {
|
|
247
|
+
* annotation: "[{\"tool\":\"rect\",\"color\":\"#F22237\",\"size\":8,\"x\":0.277726001863933,\"y\":0.12909555568499534,\"w\":0.3153168321877913,\"h\":0.5308131407269339,\"ix\":0.277726001863933,\"iy\":0.12909555568499534,\"radius\":8}]",
|
|
248
|
+
* completed: false,
|
|
235
249
|
* page: 4,
|
|
236
250
|
* text: "This is great!"
|
|
237
251
|
* }
|
|
@@ -243,15 +257,20 @@ class Comments {
|
|
|
243
257
|
__update(accountId, commentId, request, requestOptions) {
|
|
244
258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
245
259
|
var _a, _b, _c;
|
|
260
|
+
const { timestamp_as_timecode: timestampAsTimecode } = request, _body = __rest(request, ["timestamp_as_timecode"]);
|
|
261
|
+
const _queryParams = {};
|
|
262
|
+
if (timestampAsTimecode != null) {
|
|
263
|
+
_queryParams["timestamp_as_timecode"] = timestampAsTimecode.toString();
|
|
264
|
+
}
|
|
246
265
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
247
266
|
const _response = yield core.fetcher({
|
|
248
267
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FrameioEnvironment.Default, `v4/accounts/${encodeURIComponent(accountId)}/comments/${encodeURIComponent(commentId)}`),
|
|
249
268
|
method: "PATCH",
|
|
250
269
|
headers: _headers,
|
|
251
270
|
contentType: "application/json",
|
|
252
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
271
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
253
272
|
requestType: "json",
|
|
254
|
-
body:
|
|
273
|
+
body: _body,
|
|
255
274
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
256
275
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
257
276
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -299,7 +318,7 @@ class Comments {
|
|
|
299
318
|
});
|
|
300
319
|
}
|
|
301
320
|
/**
|
|
302
|
-
* List comments on a given asset. <br
|
|
321
|
+
* List comments on a given asset. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
303
322
|
*
|
|
304
323
|
* @param {Frameio.Uuid} accountId -
|
|
305
324
|
* @param {Frameio.Uuid} fileId -
|
|
@@ -407,7 +426,7 @@ class Comments {
|
|
|
407
426
|
});
|
|
408
427
|
}
|
|
409
428
|
/**
|
|
410
|
-
* Create a comment on a file. <br
|
|
429
|
+
* Create a comment on a file. <br>Rate Limits: 100 calls per 1.00 minute(s) per account_user
|
|
411
430
|
*
|
|
412
431
|
* @param {Frameio.Uuid} accountId -
|
|
413
432
|
* @param {Frameio.Uuid} fileId -
|
|
@@ -423,9 +442,13 @@ class Comments {
|
|
|
423
442
|
*
|
|
424
443
|
* @example
|
|
425
444
|
* await client.comments.create("b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", "b2702c44-c6da-4bb6-8bbd-be6e547ccf1b", {
|
|
445
|
+
* timestamp_as_timecode: true,
|
|
426
446
|
* data: {
|
|
447
|
+
* annotation: "[{\"tool\":\"rect\",\"color\":\"#F22237\",\"size\":8,\"x\":0.277726001863933,\"y\":0.12909555568499534,\"w\":0.3153168321877913,\"h\":0.5308131407269339,\"ix\":0.277726001863933,\"iy\":0.12909555568499534,\"radius\":8}]",
|
|
448
|
+
* completed: false,
|
|
427
449
|
* page: 4,
|
|
428
|
-
* text: "This is great!"
|
|
450
|
+
* text: "This is great!",
|
|
451
|
+
* timestamp: "00:00:02:12"
|
|
429
452
|
* }
|
|
430
453
|
* })
|
|
431
454
|
*/
|
|
@@ -435,15 +458,20 @@ class Comments {
|
|
|
435
458
|
__create(accountId, fileId, request, requestOptions) {
|
|
436
459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
437
460
|
var _a, _b, _c;
|
|
461
|
+
const { timestamp_as_timecode: timestampAsTimecode } = request, _body = __rest(request, ["timestamp_as_timecode"]);
|
|
462
|
+
const _queryParams = {};
|
|
463
|
+
if (timestampAsTimecode != null) {
|
|
464
|
+
_queryParams["timestamp_as_timecode"] = timestampAsTimecode.toString();
|
|
465
|
+
}
|
|
438
466
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
439
467
|
const _response = yield core.fetcher({
|
|
440
468
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FrameioEnvironment.Default, `v4/accounts/${encodeURIComponent(accountId)}/files/${encodeURIComponent(fileId)}/comments`),
|
|
441
469
|
method: "POST",
|
|
442
470
|
headers: _headers,
|
|
443
471
|
contentType: "application/json",
|
|
444
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
472
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
445
473
|
requestType: "json",
|
|
446
|
-
body:
|
|
474
|
+
body: _body,
|
|
447
475
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
448
476
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
449
477
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -492,11 +520,7 @@ class Comments {
|
|
|
492
520
|
}
|
|
493
521
|
_getAuthorizationHeader() {
|
|
494
522
|
return __awaiter(this, void 0, void 0, function* () {
|
|
495
|
-
|
|
496
|
-
if (bearer != null) {
|
|
497
|
-
return `Bearer ${bearer}`;
|
|
498
|
-
}
|
|
499
|
-
return undefined;
|
|
523
|
+
return `Bearer ${yield core.Supplier.get(this._options.token)}`;
|
|
500
524
|
});
|
|
501
525
|
}
|
|
502
526
|
}
|
|
@@ -1,22 +1,32 @@
|
|
|
1
|
+
import * as Frameio from "../../../../index.js";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
5
|
+
* timestamp_as_timecode: true,
|
|
4
6
|
* data: {
|
|
7
|
+
* annotation: "[{\"tool\":\"rect\",\"color\":\"#F22237\",\"size\":8,\"x\":0.277726001863933,\"y\":0.12909555568499534,\"w\":0.3153168321877913,\"h\":0.5308131407269339,\"ix\":0.277726001863933,\"iy\":0.12909555568499534,\"radius\":8}]",
|
|
8
|
+
* completed: false,
|
|
5
9
|
* page: 4,
|
|
6
|
-
* text: "This is great!"
|
|
10
|
+
* text: "This is great!",
|
|
11
|
+
* timestamp: "00:00:02:12"
|
|
7
12
|
* }
|
|
8
13
|
* }
|
|
9
14
|
*/
|
|
10
15
|
export interface CreateCommentParams {
|
|
16
|
+
/** */
|
|
17
|
+
timestamp_as_timecode?: boolean;
|
|
11
18
|
data: CreateCommentParams.Data;
|
|
12
19
|
}
|
|
13
20
|
export declare namespace CreateCommentParams {
|
|
14
21
|
interface Data {
|
|
22
|
+
/** JSON geometry for on-screen drawings. Allowed for document, image, video, or stream file types. JSON must be stringified. */
|
|
23
|
+
annotation?: string;
|
|
24
|
+
/** Comment completion status */
|
|
25
|
+
completed?: boolean;
|
|
15
26
|
/** Document page. Only allowed when file type is a pdf document */
|
|
16
27
|
page?: number;
|
|
17
28
|
/** Comment text (required) */
|
|
18
29
|
text: string;
|
|
19
|
-
|
|
20
|
-
timestamp?: number;
|
|
30
|
+
timestamp?: Frameio.TimeStamp;
|
|
21
31
|
}
|
|
22
32
|
}
|
|
@@ -1,22 +1,31 @@
|
|
|
1
|
+
import * as Frameio from "../../../../index.js";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
5
|
+
* timestamp_as_timecode: true,
|
|
4
6
|
* data: {
|
|
7
|
+
* annotation: "[{\"tool\":\"rect\",\"color\":\"#F22237\",\"size\":8,\"x\":0.277726001863933,\"y\":0.12909555568499534,\"w\":0.3153168321877913,\"h\":0.5308131407269339,\"ix\":0.277726001863933,\"iy\":0.12909555568499534,\"radius\":8}]",
|
|
8
|
+
* completed: false,
|
|
5
9
|
* page: 4,
|
|
6
10
|
* text: "This is great!"
|
|
7
11
|
* }
|
|
8
12
|
* }
|
|
9
13
|
*/
|
|
10
14
|
export interface UpdateCommentParams {
|
|
15
|
+
/** */
|
|
16
|
+
timestamp_as_timecode?: boolean;
|
|
11
17
|
data: UpdateCommentParams.Data;
|
|
12
18
|
}
|
|
13
19
|
export declare namespace UpdateCommentParams {
|
|
14
20
|
interface Data {
|
|
21
|
+
/** JSON geometry for on-screen drawings. Allowed for document, image, video, or stream file types. JSON must be stringified. */
|
|
22
|
+
annotation?: string;
|
|
23
|
+
/** Comment completion status */
|
|
24
|
+
completed?: boolean;
|
|
15
25
|
/** Document page. Only allowed when file type is a pdf document */
|
|
16
26
|
page?: number;
|
|
17
27
|
/** Comment text */
|
|
18
28
|
text?: string;
|
|
19
|
-
|
|
20
|
-
timestamp?: number;
|
|
29
|
+
timestamp?: Frameio.TimeStamp;
|
|
21
30
|
}
|
|
22
31
|
}
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types/index.js"), exports);
|
|
17
18
|
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Include query parameter for comments */
|
|
2
|
+
export declare const CommentsShowRequestInclude: {
|
|
3
|
+
readonly Owner: "owner";
|
|
4
|
+
readonly Replies: "replies";
|
|
5
|
+
};
|
|
6
|
+
export type CommentsShowRequestInclude = (typeof CommentsShowRequestInclude)[keyof typeof CommentsShowRequestInclude];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CommentsShowRequestInclude = void 0;
|
|
5
|
+
/** Include query parameter for comments */
|
|
6
|
+
exports.CommentsShowRequestInclude = {
|
|
7
|
+
Owner: "owner",
|
|
8
|
+
Replies: "replies",
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./CommentsShowRequestInclude.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./CommentsShowRequestInclude.js"), exports);
|