@unofficialbox/box-open-sdk 0.4.1 → 0.4.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/README.md +1 -1
- package/dist/types/managers/metadata_taxonomies.d.ts +2 -2
- package/dist/types/managers/retention_policies.d.ts +1 -1
- package/dist/types/models/schemas/authorization.d.ts +2 -2
- package/dist/types/models/schemas/automate_workflows.d.ts +2 -2
- package/dist/types/models/schemas/chunked_uploads.d.ts +2 -2
- package/dist/types/models/schemas/docgen_template.d.ts +2 -2
- package/dist/types/models/schemas/events.d.ts +2 -2
- package/dist/types/models/schemas/groups.d.ts +2 -2
- package/dist/types/models/schemas/retention_policies.d.ts +3 -3
- package/dist/types/models/schemas/shared_links_folders.d.ts +2 -2
- package/dist/types/models/schemas/shield_information_barrier_reports.d.ts +2 -2
- package/dist/types/models/schemas/shield_information_barriers.d.ts +2 -2
- package/dist/types/models/schemas/sign_requests.d.ts +2 -2
- package/dist/types/models/schemas/sign_templates.d.ts +2 -2
- package/dist/types/models/schemas/skills.d.ts +13 -13
- package/dist/types/models/schemas/terms_of_service_user_statuses.d.ts +2 -2
- package/dist/types/models/schemas/workflows.d.ts +12 -12
- package/dist/types/models/schemas.d.ts +41 -41
- package/docs/managers/retention_policies.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- Generated by box-gantry. DO NOT EDIT — regenerate from the specs instead. -->
|
|
2
|
-

|
|
2
|
+

|
|
3
3
|
|
|
4
4
|
# @unofficialbox/box-open-sdk
|
|
5
5
|
|
|
@@ -16,7 +16,7 @@ export interface MetadataTaxonomiesManagerListNodesOptions {
|
|
|
16
16
|
limit?: number;
|
|
17
17
|
}
|
|
18
18
|
/** Optional parameters for MetadataTaxonomiesManager.listMetadataTemplateFieldOptions. */
|
|
19
|
-
export interface
|
|
19
|
+
export interface MetadataTaxonomiesManagerListMetadataTemplateFieldOptions {
|
|
20
20
|
level?: Array<number>;
|
|
21
21
|
parent?: Array<string>;
|
|
22
22
|
ancestor?: Array<string>;
|
|
@@ -49,6 +49,6 @@ export declare class MetadataTaxonomiesManager {
|
|
|
49
49
|
deleteNode(namespace: string, taxonomyKey: string, nodeId: string): Promise<void>;
|
|
50
50
|
updateNode(namespace: string, taxonomyKey: string, nodeId: string, body: models.schemas.UpdateNodeRequest): Promise<models.schemas.MetadataTaxonomyNode>;
|
|
51
51
|
/** Iterate every `models.schemas.MetadataTaxonomyNode` across pages, threading the marker cursor. */
|
|
52
|
-
listMetadataTemplateFieldOptions(namespace: string, templateKey: string, fieldKey: string, opts?:
|
|
52
|
+
listMetadataTemplateFieldOptions(namespace: string, templateKey: string, fieldKey: string, opts?: MetadataTaxonomiesManagerListMetadataTemplateFieldOptions): AsyncIterableIterator<models.schemas.MetadataTaxonomyNode>;
|
|
53
53
|
private listMetadataTemplateFieldOptionsPage;
|
|
54
54
|
}
|
|
@@ -3,7 +3,7 @@ import type * as models from '../models/index.js';
|
|
|
3
3
|
/** Optional parameters for RetentionPoliciesManager.list. */
|
|
4
4
|
export interface RetentionPoliciesManagerListOptions {
|
|
5
5
|
policy_name?: string;
|
|
6
|
-
policy_type?: models.schemas.
|
|
6
|
+
policy_type?: models.schemas.RetentionPolicyType2;
|
|
7
7
|
created_by_user_id?: string;
|
|
8
8
|
fields?: Array<string>;
|
|
9
9
|
limit?: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AccessTokenType, ResourceScope } from '../schemas.js';
|
|
2
2
|
export interface AccessToken {
|
|
3
3
|
access_token?: string;
|
|
4
4
|
expires_in?: number;
|
|
5
|
-
token_type?:
|
|
5
|
+
token_type?: AccessTokenType;
|
|
6
6
|
restricted_to?: Array<ResourceScope>;
|
|
7
7
|
refresh_token?: string;
|
|
8
8
|
issued_token_type?: AccessTokenIssuedTokenType;
|
|
@@ -2,7 +2,7 @@ import type { UserMini } from '../schemas.js';
|
|
|
2
2
|
export interface AutomateWorkflowAction {
|
|
3
3
|
id: string;
|
|
4
4
|
type: AutomateWorkflowActionType;
|
|
5
|
-
action_type:
|
|
5
|
+
action_type: AutomateWorkflowActionType2;
|
|
6
6
|
description?: string;
|
|
7
7
|
created_at?: string;
|
|
8
8
|
updated_at?: string;
|
|
@@ -25,5 +25,5 @@ export interface AutomateWorkflowStartRequest {
|
|
|
25
25
|
file_ids: Array<string>;
|
|
26
26
|
}
|
|
27
27
|
export type AutomateWorkflowActionType = "workflow_action" | (string & {});
|
|
28
|
-
export type
|
|
28
|
+
export type AutomateWorkflowActionType2 = "run_workflow" | (string & {});
|
|
29
29
|
export type AutomateWorkflowReferenceType = "workflow" | (string & {});
|
|
@@ -22,10 +22,10 @@ export interface UploadSession {
|
|
|
22
22
|
part_size?: number;
|
|
23
23
|
total_parts?: number;
|
|
24
24
|
num_parts_processed?: number;
|
|
25
|
-
session_endpoints?:
|
|
25
|
+
session_endpoints?: UploadSessionEndpoints;
|
|
26
26
|
}
|
|
27
27
|
export type UploadSessionType = "upload_session" | (string & {});
|
|
28
|
-
export interface
|
|
28
|
+
export interface UploadSessionEndpoints {
|
|
29
29
|
upload_part?: string;
|
|
30
30
|
commit?: string;
|
|
31
31
|
abort?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FileReference } from '../schemas.js';
|
|
2
2
|
export interface DocGenTag {
|
|
3
3
|
tag_content: string;
|
|
4
|
-
tag_type:
|
|
4
|
+
tag_type: DocGenTagType;
|
|
5
5
|
json_paths: Array<string>;
|
|
6
6
|
}
|
|
7
7
|
export interface DocGenTags {
|
|
@@ -26,4 +26,4 @@ export interface DocGenTemplates {
|
|
|
26
26
|
prev_marker?: string | null;
|
|
27
27
|
entries?: Array<DocGenTemplate>;
|
|
28
28
|
}
|
|
29
|
-
export type
|
|
29
|
+
export type DocGenTagType = "text" | "arithmetic" | "conditional" | "for-loop" | "table-loop" | "image" | (string & {});
|
|
@@ -12,7 +12,7 @@ export interface Event {
|
|
|
12
12
|
recorded_at?: string;
|
|
13
13
|
event_id?: string;
|
|
14
14
|
created_by?: UserMini;
|
|
15
|
-
event_type?:
|
|
15
|
+
event_type?: EventType;
|
|
16
16
|
session_id?: string;
|
|
17
17
|
source?: EventSourceResource;
|
|
18
18
|
additional_details?: Record<string, unknown>;
|
|
@@ -62,7 +62,7 @@ export interface User {
|
|
|
62
62
|
avatar_url?: string;
|
|
63
63
|
notification_email?: UserNotificationEmail | null;
|
|
64
64
|
}
|
|
65
|
-
export type
|
|
65
|
+
export type EventType = "ACCESS_GRANTED" | "ACCESS_REVOKED" | "ADD_DEVICE_ASSOCIATION" | "ADD_LOGIN_ACTIVITY_DEVICE" | "ADMIN_LOGIN" | "ADVANCED_FOLDER_SETTINGS_UPDATE" | "AI_SECURITY_DETECTION" | "ANNOTATIONV2_CREATE" | "ANNOTATIONV2_DELETE" | "ANNOTATIONV2_EDIT" | "APPLICATION_CREATED" | "APPLICATION_PUBLIC_KEY_ADDED" | "APPLICATION_PUBLIC_KEY_DELETED" | "BOX_AI_USER_FAILED_REQUEST" | "BOX_AI_USER_REQUEST" | "CHANGE_ADMIN_ROLE" | "CHANGE_FOLDER_PERMISSION" | "COLLABORATION_ACCEPT" | "COLLABORATION_EXPIRATION" | "COLLABORATION_INVITE" | "COLLABORATION_REMOVE" | "COLLABORATION_ROLE_CHANGE" | "COLLAB_ADD_COLLABORATOR" | "COLLAB_INVITE_COLLABORATOR" | "COLLAB_REMOVE_COLLABORATOR" | "COLLAB_ROLE_CHANGE" | "COLLECTION_CREATE" | "COLLECTION_DELETE" | "COLLECTION_ITEM_CREATE" | "COLLECTION_ITEM_DELETE" | "COLLECTION_ITEM_UPDATE" | "COLLECTION_UPDATE" | "COMMENT_CREATE" | "COMMENT_DELETE" | "COMMENT_EDIT" | "CONTENT_ACCESS" | "CONTENT_RECOVERY_REPORT_CREATE" | "CONTENT_RECOVERY_REPORT_DELETE" | "CONTENT_RECOVERY_REPORT_INITIATE" | "CONTENT_WORKFLOW_ABNORMAL_DOWNLOAD_ACTIVITY" | "CONTENT_WORKFLOW_AUTOMATION_ADD" | "CONTENT_WORKFLOW_AUTOMATION_DELETE" | "CONTENT_WORKFLOW_POLICY_ADD" | "CONTENT_WORKFLOW_SHARING_POLICY_VIOLATION" | "CONTENT_WORKFLOW_UPLOAD_POLICY_VIOLATION" | "COPY" | "DATA_RETENTION_CREATE_RETENTION" | "DATA_RETENTION_REMOVE_RETENTION" | "DELETE" | "DELETE_USER" | "DEVICE_TRUST_CHECK_FAILED" | "DISABLE_MULTI_FACTOR_AUTH" | "DOWNLOAD" | "EDIT" | "EDIT_USER" | "EDR_CROWDSTRIKE_ACCESS_ALLOWED_NO_CROWDSTRIKE_DEVICE" | "EDR_CROWDSTRIKE_ACCESS_REVOKED" | "EDR_CROWDSTRIKE_BOX_TOOLS_OUTDATED" | "EDR_CROWDSTRIKE_DEVICE_DETECTED" | "EDR_CROWDSTRIKE_DRIVE_OUTDATED" | "EDR_CROWDSTRIKE_NO_BOX_TOOLS" | "EMAIL_ALIAS_CONFIRM" | "EMAIL_ALIAS_PRIMARY" | "EMAIL_ALIAS_REMOVE" | "EMAIL_UPLOAD_DISABLED" | "EMAIL_UPLOAD_ENABLED" | "ENABLE_MULTI_FACTOR_AUTH" | "ENABLE_TWO_FACTOR_AUTH" | "ENTERPRISE_APP_AUTHORIZATION_UPDATE" | "EXTERNAL_COLLAB_SECURITY_SETTINGS" | "FAILED_LOGIN" | "FAVORITE" | "FILE_MARKED_MALICIOUS" | "FILE_REQUEST_CREATE" | "FILE_REQUEST_DELETE" | "FILE_REQUEST_UPDATE" | "FILE_VERSION_RESTORE" | "FILE_WATERMARKED_DOWNLOAD" | "GROUP_ADD_ITEM" | "GROUP_ADD_USER" | "GROUP_ADMIN_CREATED" | "GROUP_ADMIN_DELETED" | "GROUP_ADMIN_PERMISSIONS_UPDATED" | "GROUP_CREATION" | "GROUP_DELETION" | "GROUP_EDITED" | "GROUP_REMOVE_ITEM" | "GROUP_REMOVE_USER" | "ILLEGAL_ITEM_OWNERSHIP_TRANSFER_BY_USER" | "ITEM_ASSOCIATION_CREATED" | "ITEM_ASSOCIATION_DELETED" | "ITEM_ASSOCIATION_UPDATED" | "ITEM_COPY" | "ITEM_CREATE" | "ITEM_DOWNLOAD" | "ITEM_EMAIL_SEND" | "ITEM_MAKE_CURRENT_VERSION" | "ITEM_MODIFY" | "ITEM_MOVE" | "ITEM_OPEN" | "ITEM_PREVIEW" | "ITEM_RENAME" | "ITEM_SHARED" | "ITEM_SHARED_CREATE" | "ITEM_SHARED_UNSHARE" | "ITEM_SHARED_UPDATE" | "ITEM_SYNC" | "ITEM_TRASH" | "ITEM_UNDELETE_VIA_TRASH" | "ITEM_UNSYNC" | "ITEM_UPLOAD" | "LEGAL_HOLD_ASSIGNMENT_CREATE" | "LEGAL_HOLD_ASSIGNMENT_DELETE" | "LEGAL_HOLD_POLICY_CREATE" | "LEGAL_HOLD_POLICY_DELETE" | "LEGAL_HOLD_POLICY_UPDATE" | "LOCK" | "LOCK_CREATE" | "LOCK_DESTROY" | "LOGIN" | "MASTER_INVITE_ACCEPT" | "MASTER_INVITE_REJECT" | "METADATA_CASCADE_POLICY_APPLY" | "METADATA_CASCADE_POLICY_CREATE" | "METADATA_INSTANCE_COPY" | "METADATA_INSTANCE_CREATE" | "METADATA_INSTANCE_DELETE" | "METADATA_INSTANCE_UPDATE" | "METADATA_TEMPLATE_CREATE" | "METADATA_TEMPLATE_DELETE" | "METADATA_TEMPLATE_UPDATE" | "MOVE" | "NEW_USER" | "OAUTH2_ACCESS_TOKEN_REVOKE" | "OAUTH2_REFRESH_TOKEN_REVOKE" | "PREVIEW" | "REMOVE_DEVICE_ASSOCIATION" | "REMOVE_LOGIN_ACTIVITY_DEVICE" | "RENAME" | "RETENTION_POLICY_ASSIGNMENT_ADD" | "SHARE" | "SHARED_LINK_REDIRECT_OUT_OF_SHARED_CONTEXT" | "SHARED_LINK_SEND" | "SHARE_EXPIRATION" | "SHIELD_ACCESS_POLICY_CREATED" | "SHIELD_ACCESS_POLICY_DELETED" | "SHIELD_ACCESS_POLICY_UPDATED" | "SHIELD_ALERT" | "SHIELD_DOWNLOAD_BLOCKED" | "SHIELD_EXTERNAL_COLLAB_ACCESS_BLOCKED" | "SHIELD_EXTERNAL_COLLAB_ACCESS_BLOCKED_MISSING_JUSTIFICATION" | "SHIELD_EXTERNAL_COLLAB_INVITE_BLOCKED" | "SHIELD_EXTERNAL_COLLAB_INVITE_BLOCKED_MISSING_JUSTIFICATION" | "SHIELD_EXTERNAL_COLLAB_INVITE_JUSTIFIED" | "SHIELD_INFORMATION_BARRIER_COLLAB_BLOCKED" | "SHIELD_INFORMATION_BARRIER_DISABLED" | "SHIELD_INFORMATION_BARRIER_ENABLED" | "SHIELD_INFORMATION_BARRIER_GROUP_ADD_USER_BLOCKED" | "SHIELD_INFORMATION_BARRIER_ITEM_COPY_BLOCKED" | "SHIELD_INFORMATION_BARRIER_ITEM_MOVE_BLOCKED" | "SHIELD_INFORMATION_BARRIER_ITEM_OWNER_TRANSFER_BLOCKED" | "SHIELD_INFORMATION_BARRIER_PENDING" | "SHIELD_INFORMATION_BARRIER_SHARED_ITEM_ACCESS_BLOCKED" | "SHIELD_JUSTIFICATION_APPROVAL" | "SHIELD_PREVIEW_BLOCKED" | "SHIELD_SHARED_LINK_ACCESS_BLOCKED" | "SHIELD_SHARED_LINK_STATUS_RESTRICTED_ON_CREATE" | "SHIELD_SHARED_LINK_STATUS_RESTRICTED_ON_UPDATE" | "SIGN_DOCUMENT_ASSIGNED" | "SIGN_DOCUMENT_CANCELLED" | "SIGN_DOCUMENT_COMPLETED" | "SIGN_DOCUMENT_CONVERTED" | "SIGN_DOCUMENT_CREATED" | "SIGN_DOCUMENT_DECLINED" | "SIGN_DOCUMENT_EXPIRED" | "SIGN_DOCUMENT_SIGNED" | "SIGN_DOCUMENT_VIEWED_BY_SIGNED" | "SIGN_DOCUMENT_VIEWED_BY_SIGNER" | "SIGNER_DOWNLOADED" | "SIGNER_FORWARDED" | "STORAGE_EXPIRATION" | "TAG_ITEM_CREATE" | "TASK_ASSIGNMENT_CREATE" | "TASK_ASSIGNMENT_DELETE" | "TASK_ASSIGNMENT_UPDATE" | "TASK_CREATE" | "TASK_UPDATE" | "TERMS_OF_SERVICE_ACCEPT" | "TERMS_OF_SERVICE_REJECT" | "UNDELETE" | "UNFAVORITE" | "UNLOCK" | "UNSHARE" | "UPDATE_COLLABORATION_EXPIRATION" | "UPDATE_SHARE_EXPIRATION" | "UPLOAD" | "USER_AUTHENTICATE_OAUTH2_ACCESS_TOKEN_CREATE" | "WATERMARK_LABEL_CREATE" | "WATERMARK_LABEL_DELETE" | "WORKFLOW_AUTOMATION_CREATE" | "WORKFLOW_AUTOMATION_DELETE" | "WORKFLOW_AUTOMATION_UPDATE" | (string & {});
|
|
66
66
|
export type EventsNextStreamPosition = unknown;
|
|
67
67
|
export interface EventSourceClassification {
|
|
68
68
|
name?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { CollectionsOrder,
|
|
1
|
+
import type { CollectionsOrder, GroupType, GroupType2 } from '../schemas.js';
|
|
2
2
|
export interface GroupFull {
|
|
3
3
|
id: string;
|
|
4
4
|
type: GroupType;
|
|
5
5
|
name?: string;
|
|
6
|
-
group_type?:
|
|
6
|
+
group_type?: GroupType2;
|
|
7
7
|
created_at?: string;
|
|
8
8
|
modified_at?: string;
|
|
9
9
|
provenance?: string;
|
|
@@ -12,7 +12,7 @@ export interface RetentionPolicy {
|
|
|
12
12
|
disposition_action?: RetentionPolicyDispositionAction;
|
|
13
13
|
max_extension_length?: RetentionPolicyMaxExtensionLengthResponse;
|
|
14
14
|
description?: string;
|
|
15
|
-
policy_type?:
|
|
15
|
+
policy_type?: RetentionPolicyType2;
|
|
16
16
|
retention_type?: RetentionPolicyRetentionType;
|
|
17
17
|
status?: RetentionPolicyStatus;
|
|
18
18
|
created_by?: UserMini;
|
|
@@ -24,7 +24,7 @@ export interface RetentionPolicy {
|
|
|
24
24
|
assignment_counts?: RetentionPolicyAssignmentCounts;
|
|
25
25
|
}
|
|
26
26
|
export type RetentionPolicyMaxExtensionLengthRequest = unknown;
|
|
27
|
-
export type
|
|
27
|
+
export type RetentionPolicyType2 = "finite" | "indefinite" | (string & {});
|
|
28
28
|
export type RetentionPolicyRetentionType = "modifiable" | "non_modifiable" | (string & {});
|
|
29
29
|
export type RetentionPolicyStatus = "active" | "retired" | (string & {});
|
|
30
30
|
export interface RetentionPolicyAssignmentCounts {
|
|
@@ -36,7 +36,7 @@ export type PostRetentionLength = unknown;
|
|
|
36
36
|
export interface CreateRetentionPolicyRequest {
|
|
37
37
|
policy_name: string;
|
|
38
38
|
description?: string;
|
|
39
|
-
policy_type:
|
|
39
|
+
policy_type: RetentionPolicyType2;
|
|
40
40
|
disposition_action: RetentionPolicyDispositionAction;
|
|
41
41
|
retention_length?: PostRetentionLength;
|
|
42
42
|
retention_type?: RetentionPolicyRetentionType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SharedLinkAccess, UpdateFileAddSharedLinkRequestSharedLinkPermissions } from '../schemas.js';
|
|
2
|
-
export interface
|
|
2
|
+
export interface PutFolderIdUpdateSharedLink {
|
|
3
3
|
access?: SharedLinkAccess;
|
|
4
4
|
password?: string;
|
|
5
5
|
vanity_name?: string;
|
|
@@ -7,5 +7,5 @@ export interface PutFolderIdUpdateSharedLinkSharedLink {
|
|
|
7
7
|
permissions?: UpdateFileAddSharedLinkRequestSharedLinkPermissions;
|
|
8
8
|
}
|
|
9
9
|
export interface UpdateFolderUpdateSharedLinkRequest {
|
|
10
|
-
shared_link?:
|
|
10
|
+
shared_link?: PutFolderIdUpdateSharedLink;
|
|
11
11
|
}
|
|
@@ -13,7 +13,7 @@ export interface ShieldInformationBarrierReport {
|
|
|
13
13
|
updated_at?: string;
|
|
14
14
|
}
|
|
15
15
|
export interface ShieldInformationBarrierReportDetails {
|
|
16
|
-
details?:
|
|
16
|
+
details?: ShieldInformationBarrierReportDetails2;
|
|
17
17
|
}
|
|
18
18
|
export interface ShieldInformationBarrierReports {
|
|
19
19
|
limit?: number;
|
|
@@ -22,6 +22,6 @@ export interface ShieldInformationBarrierReports {
|
|
|
22
22
|
}
|
|
23
23
|
export type ShieldInformationBarrierReportType = "shield_information_barrier_report" | (string & {});
|
|
24
24
|
export type ShieldInformationBarrierReportStatus = "pending" | "error" | "done" | "cancelled" | (string & {});
|
|
25
|
-
export interface
|
|
25
|
+
export interface ShieldInformationBarrierReportDetails2 {
|
|
26
26
|
folder_id?: string;
|
|
27
27
|
}
|
|
@@ -21,10 +21,10 @@ export interface ShieldInformationBarriers {
|
|
|
21
21
|
entries?: Array<ShieldInformationBarrier>;
|
|
22
22
|
}
|
|
23
23
|
export type ShieldInformationBarrierStatus = "draft" | "pending" | "disabled" | "enabled" | "invalid" | (string & {});
|
|
24
|
-
export type
|
|
24
|
+
export type PostChangeStatus = "pending" | "disabled" | (string & {});
|
|
25
25
|
export interface CreateChangeStatusRequest {
|
|
26
26
|
id: string;
|
|
27
|
-
status:
|
|
27
|
+
status: PostChangeStatus;
|
|
28
28
|
}
|
|
29
29
|
export interface CreateShieldInformationBarrierRequest {
|
|
30
30
|
enterprise: EnterpriseBase;
|
|
@@ -97,7 +97,7 @@ export interface SignRequestSigner {
|
|
|
97
97
|
suppress_notifications?: boolean | null;
|
|
98
98
|
language?: string | null;
|
|
99
99
|
has_viewed_document?: boolean;
|
|
100
|
-
signer_decision?:
|
|
100
|
+
signer_decision?: SignRequestSignerDecision | null;
|
|
101
101
|
inputs?: Array<SignRequestSignerInput>;
|
|
102
102
|
embed_url?: string | null;
|
|
103
103
|
iframeable_embed_url?: string | null;
|
|
@@ -128,7 +128,7 @@ export interface SignRequestSignFiles {
|
|
|
128
128
|
}
|
|
129
129
|
export type SignRequestCreateRequestSignatureColor = "blue" | "black" | "red" | (string & {});
|
|
130
130
|
export type SignerDecisionType = "signed" | "declined" | (string & {});
|
|
131
|
-
export interface
|
|
131
|
+
export interface SignRequestSignerDecision {
|
|
132
132
|
type?: SignerDecisionType;
|
|
133
133
|
finalized_at?: string;
|
|
134
134
|
additional_info?: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FileMini, FolderMini, SignRequestCreateSignerRole, SignRequestSignerInputContentType,
|
|
1
|
+
import type { FileMini, FolderMini, SignRequestCreateSignerRole, SignRequestSignerInputContentType, SignRequestSignerInputEmailValidationType, SignRequestSignerInputValidation } from '../schemas.js';
|
|
2
2
|
export interface SignTemplate {
|
|
3
3
|
type?: SignTemplateType;
|
|
4
4
|
id?: string;
|
|
@@ -59,7 +59,7 @@ export interface TemplateSignerInput {
|
|
|
59
59
|
export type SignTemplateType = "sign-template" | (string & {});
|
|
60
60
|
export type AdditionalInfoNonEditable = "email_subject" | "email_message" | "name" | "days_valid" | "signers" | "source_files" | (string & {});
|
|
61
61
|
export interface AdditionalInfoRequired {
|
|
62
|
-
signers?: Array<Array<
|
|
62
|
+
signers?: Array<Array<SignRequestSignerInputEmailValidationType>>;
|
|
63
63
|
}
|
|
64
64
|
export interface SignTemplateAdditionalInfo {
|
|
65
65
|
non_editable?: Array<AdditionalInfoNonEditable>;
|
|
@@ -2,8 +2,8 @@ import type { FileVersionType, PutOp, PutSkillInvocationIdFile } from '../schema
|
|
|
2
2
|
export interface KeywordSkillCard {
|
|
3
3
|
created_at?: string;
|
|
4
4
|
type: KeywordSkillCardType;
|
|
5
|
-
skill_card_type:
|
|
6
|
-
skill_card_title?:
|
|
5
|
+
skill_card_type: KeywordSkillCardType2;
|
|
6
|
+
skill_card_title?: KeywordSkillCardTitle;
|
|
7
7
|
skill: KeywordSkillCardSkill;
|
|
8
8
|
invocation: KeywordSkillCardInvocation;
|
|
9
9
|
entries: Array<KeywordSkillCardEntries>;
|
|
@@ -23,8 +23,8 @@ export interface SkillCardsMetadata {
|
|
|
23
23
|
export interface StatusSkillCard {
|
|
24
24
|
created_at?: string;
|
|
25
25
|
type: KeywordSkillCardType;
|
|
26
|
-
skill_card_type:
|
|
27
|
-
skill_card_title?:
|
|
26
|
+
skill_card_type: StatusSkillCardType;
|
|
27
|
+
skill_card_title?: KeywordSkillCardTitle;
|
|
28
28
|
status: StatusSkillCardStatus;
|
|
29
29
|
skill: KeywordSkillCardSkill;
|
|
30
30
|
invocation: KeywordSkillCardInvocation;
|
|
@@ -32,8 +32,8 @@ export interface StatusSkillCard {
|
|
|
32
32
|
export interface TimelineSkillCard {
|
|
33
33
|
created_at?: string;
|
|
34
34
|
type: KeywordSkillCardType;
|
|
35
|
-
skill_card_type:
|
|
36
|
-
skill_card_title?:
|
|
35
|
+
skill_card_type: TimelineSkillCardType;
|
|
36
|
+
skill_card_title?: KeywordSkillCardTitle;
|
|
37
37
|
skill: KeywordSkillCardSkill;
|
|
38
38
|
invocation: KeywordSkillCardInvocation;
|
|
39
39
|
duration?: number;
|
|
@@ -42,16 +42,16 @@ export interface TimelineSkillCard {
|
|
|
42
42
|
export interface TranscriptSkillCard {
|
|
43
43
|
created_at?: string;
|
|
44
44
|
type: KeywordSkillCardType;
|
|
45
|
-
skill_card_type:
|
|
46
|
-
skill_card_title?:
|
|
45
|
+
skill_card_type: TranscriptSkillCardType;
|
|
46
|
+
skill_card_title?: KeywordSkillCardTitle;
|
|
47
47
|
skill: KeywordSkillCardSkill;
|
|
48
48
|
invocation: KeywordSkillCardInvocation;
|
|
49
49
|
duration?: number;
|
|
50
50
|
entries: Array<TranscriptSkillCardEntries>;
|
|
51
51
|
}
|
|
52
52
|
export type KeywordSkillCardType = "skill_card" | (string & {});
|
|
53
|
-
export type
|
|
54
|
-
export interface
|
|
53
|
+
export type KeywordSkillCardType2 = "keyword" | (string & {});
|
|
54
|
+
export interface KeywordSkillCardTitle {
|
|
55
55
|
code?: string;
|
|
56
56
|
message: string;
|
|
57
57
|
}
|
|
@@ -68,13 +68,13 @@ export interface KeywordSkillCardInvocation {
|
|
|
68
68
|
export interface KeywordSkillCardEntries {
|
|
69
69
|
text?: string;
|
|
70
70
|
}
|
|
71
|
-
export type
|
|
71
|
+
export type StatusSkillCardType = "status" | (string & {});
|
|
72
72
|
export type StatusCode = "invoked" | "processing" | "success" | "transient_failure" | "permanent_failure" | (string & {});
|
|
73
73
|
export interface StatusSkillCardStatus {
|
|
74
74
|
code: StatusCode;
|
|
75
75
|
message?: string;
|
|
76
76
|
}
|
|
77
|
-
export type
|
|
77
|
+
export type TimelineSkillCardType = "timeline" | (string & {});
|
|
78
78
|
export interface EntriesAppears {
|
|
79
79
|
start?: number;
|
|
80
80
|
end?: number;
|
|
@@ -84,7 +84,7 @@ export interface TimelineSkillCardEntries {
|
|
|
84
84
|
appears?: Array<EntriesAppears>;
|
|
85
85
|
image_url?: string;
|
|
86
86
|
}
|
|
87
|
-
export type
|
|
87
|
+
export type TranscriptSkillCardType = "transcript" | (string & {});
|
|
88
88
|
export interface TranscriptSkillCardEntriesAppears {
|
|
89
89
|
start?: number;
|
|
90
90
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CollaboratorVariableValue, TermsOfServiceBase, TermsOfServiceType, UserMini } from '../schemas.js';
|
|
2
2
|
export interface TermsOfServiceUserStatus {
|
|
3
3
|
id: string;
|
|
4
4
|
type: TermsOfServiceUserStatusType;
|
|
@@ -19,7 +19,7 @@ export interface PostTos {
|
|
|
19
19
|
}
|
|
20
20
|
export interface CreateTermsOfServiceUserStatusRequest {
|
|
21
21
|
tos: PostTos;
|
|
22
|
-
user:
|
|
22
|
+
user: CollaboratorVariableValue;
|
|
23
23
|
is_accepted: boolean;
|
|
24
24
|
}
|
|
25
25
|
export interface UpdateTermsOfServiceUserStatusRequest {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CollaboratorVariableValue, FileFullAllowedInviteeRoles, MetadataCascadePolicyParent, PutSkillInvocationIdFile, UserBase } from '../schemas.js';
|
|
2
2
|
export interface CollaboratorVariable {
|
|
3
3
|
type: CollaboratorVariableType;
|
|
4
|
-
variable_type:
|
|
5
|
-
variable_value: Array<
|
|
4
|
+
variable_type: CollaboratorVariableType2;
|
|
5
|
+
variable_value: Array<CollaboratorVariableValue>;
|
|
6
6
|
}
|
|
7
7
|
export interface CompletionRuleVariable {
|
|
8
8
|
type: CollaboratorVariableType;
|
|
9
|
-
variable_type:
|
|
10
|
-
variable_value:
|
|
9
|
+
variable_type: CompletionRuleVariableType;
|
|
10
|
+
variable_value: CompletionRuleVariableValue;
|
|
11
11
|
}
|
|
12
12
|
export interface Outcome {
|
|
13
13
|
id: string;
|
|
@@ -19,7 +19,7 @@ export interface Outcome {
|
|
|
19
19
|
}
|
|
20
20
|
export interface RoleVariable {
|
|
21
21
|
type: CollaboratorVariableType;
|
|
22
|
-
variable_type:
|
|
22
|
+
variable_type: RoleVariableType;
|
|
23
23
|
variable_value: FileFullAllowedInviteeRoles;
|
|
24
24
|
}
|
|
25
25
|
export interface Workflow {
|
|
@@ -37,14 +37,14 @@ export interface Workflows {
|
|
|
37
37
|
entries?: Array<Workflow>;
|
|
38
38
|
}
|
|
39
39
|
export type CollaboratorVariableType = "variable" | (string & {});
|
|
40
|
-
export type
|
|
41
|
-
export type
|
|
42
|
-
export type
|
|
43
|
-
export type
|
|
40
|
+
export type CollaboratorVariableType2 = "user_list" | (string & {});
|
|
41
|
+
export type CompletionRuleVariableType = "task_completion_rule" | (string & {});
|
|
42
|
+
export type CompletionRuleVariableValue = "all_assignees" | "any_assignees" | (string & {});
|
|
43
|
+
export type RoleVariableType = "collaborator_role" | (string & {});
|
|
44
44
|
export type WorkflowType = "workflow" | (string & {});
|
|
45
45
|
export type FlowsType = "flow" | (string & {});
|
|
46
46
|
export type TriggerType = "trigger" | (string & {});
|
|
47
|
-
export type
|
|
47
|
+
export type WorkflowFlowsTriggerType = "WORKFLOW_MANUAL_START" | (string & {});
|
|
48
48
|
export type ScopeType = "trigger_scope" | (string & {});
|
|
49
49
|
export interface TriggerScope {
|
|
50
50
|
type?: ScopeType;
|
|
@@ -53,7 +53,7 @@ export interface TriggerScope {
|
|
|
53
53
|
}
|
|
54
54
|
export interface FlowsTrigger {
|
|
55
55
|
type?: TriggerType;
|
|
56
|
-
trigger_type?:
|
|
56
|
+
trigger_type?: WorkflowFlowsTriggerType;
|
|
57
57
|
scope?: Array<TriggerScope>;
|
|
58
58
|
}
|
|
59
59
|
export type OutcomesType = "outcome" | (string & {});
|
|
@@ -220,7 +220,7 @@ export interface Collection {
|
|
|
220
220
|
id?: string;
|
|
221
221
|
type?: CollectionType;
|
|
222
222
|
name?: CollectionName;
|
|
223
|
-
collection_type?:
|
|
223
|
+
collection_type?: CollectionType2;
|
|
224
224
|
}
|
|
225
225
|
export interface Comment {
|
|
226
226
|
id?: string;
|
|
@@ -374,7 +374,7 @@ export interface Folder {
|
|
|
374
374
|
content_modified_at?: string | null;
|
|
375
375
|
owned_by?: UserMini;
|
|
376
376
|
shared_link?: FileSharedLink | null;
|
|
377
|
-
folder_upload_email?:
|
|
377
|
+
folder_upload_email?: FolderUploadEmail | null;
|
|
378
378
|
parent?: FolderMini | null;
|
|
379
379
|
item_status?: FileItemStatus;
|
|
380
380
|
item_collection?: Items;
|
|
@@ -398,7 +398,7 @@ export interface FolderFull {
|
|
|
398
398
|
content_modified_at?: string | null;
|
|
399
399
|
owned_by?: UserMini;
|
|
400
400
|
shared_link?: FileSharedLink | null;
|
|
401
|
-
folder_upload_email?:
|
|
401
|
+
folder_upload_email?: FolderUploadEmail | null;
|
|
402
402
|
parent?: FolderMini | null;
|
|
403
403
|
item_status?: FileItemStatus;
|
|
404
404
|
item_collection?: Items;
|
|
@@ -434,7 +434,7 @@ export interface Group {
|
|
|
434
434
|
id: string;
|
|
435
435
|
type: GroupType;
|
|
436
436
|
name?: string;
|
|
437
|
-
group_type?:
|
|
437
|
+
group_type?: GroupType2;
|
|
438
438
|
created_at?: string;
|
|
439
439
|
modified_at?: string;
|
|
440
440
|
}
|
|
@@ -442,7 +442,7 @@ export interface GroupMini {
|
|
|
442
442
|
id: string;
|
|
443
443
|
type: GroupType;
|
|
444
444
|
name?: string;
|
|
445
|
-
group_type?:
|
|
445
|
+
group_type?: GroupType2;
|
|
446
446
|
}
|
|
447
447
|
export interface IntegrationMappingBase {
|
|
448
448
|
id: string;
|
|
@@ -528,7 +528,7 @@ export type Resource = (FolderMini & {
|
|
|
528
528
|
[key: string]: unknown;
|
|
529
529
|
};
|
|
530
530
|
export interface ResourceScope {
|
|
531
|
-
scope?:
|
|
531
|
+
scope?: ResourceScope2;
|
|
532
532
|
object?: Resource;
|
|
533
533
|
}
|
|
534
534
|
export interface RetentionPolicyBase {
|
|
@@ -588,40 +588,40 @@ export interface SignRequestBase {
|
|
|
588
588
|
request_flow?: string | null;
|
|
589
589
|
}
|
|
590
590
|
export interface SignRequestSignerInputCustomValidation {
|
|
591
|
-
validation_type:
|
|
591
|
+
validation_type: SignRequestSignerInputCustomValidationType;
|
|
592
592
|
custom_regex: string | null;
|
|
593
593
|
custom_error_message: string | null;
|
|
594
594
|
}
|
|
595
595
|
export interface SignRequestSignerInputDateAsiaValidation {
|
|
596
|
-
validation_type?:
|
|
596
|
+
validation_type?: SignRequestSignerInputDateAsiaValidationType;
|
|
597
597
|
}
|
|
598
598
|
export interface SignRequestSignerInputDateEUValidation {
|
|
599
|
-
validation_type?:
|
|
599
|
+
validation_type?: SignRequestSignerInputDateEUValidationType;
|
|
600
600
|
}
|
|
601
601
|
export interface SignRequestSignerInputDateISOValidation {
|
|
602
|
-
validation_type?:
|
|
602
|
+
validation_type?: SignRequestSignerInputDateISOValidationType;
|
|
603
603
|
}
|
|
604
604
|
export interface SignRequestSignerInputDateUSValidation {
|
|
605
|
-
validation_type?:
|
|
605
|
+
validation_type?: SignRequestSignerInputDateUSValidationType;
|
|
606
606
|
}
|
|
607
607
|
export interface SignRequestSignerInputEmailValidation {
|
|
608
|
-
validation_type:
|
|
608
|
+
validation_type: SignRequestSignerInputEmailValidationType;
|
|
609
609
|
}
|
|
610
610
|
export interface SignRequestSignerInputNumberWithCommaValidation {
|
|
611
|
-
validation_type?:
|
|
611
|
+
validation_type?: SignRequestSignerInputNumberWithCommaValidationType;
|
|
612
612
|
}
|
|
613
613
|
export interface SignRequestSignerInputNumberWithPeriodValidation {
|
|
614
|
-
validation_type?:
|
|
614
|
+
validation_type?: SignRequestSignerInputNumberWithPeriodValidationType;
|
|
615
615
|
}
|
|
616
616
|
export interface SignRequestSignerInputSSNValidation {
|
|
617
|
-
validation_type:
|
|
617
|
+
validation_type: SignRequestSignerInputSSNValidationType;
|
|
618
618
|
}
|
|
619
619
|
export type SignRequestSignerInputValidation = unknown;
|
|
620
620
|
export interface SignRequestSignerInputZIP4Validation {
|
|
621
|
-
validation_type:
|
|
621
|
+
validation_type: SignRequestSignerInputZIP4ValidationType;
|
|
622
622
|
}
|
|
623
623
|
export interface SignRequestSignerInputZIPValidation {
|
|
624
|
-
validation_type:
|
|
624
|
+
validation_type: SignRequestSignerInputZIPValidationType;
|
|
625
625
|
}
|
|
626
626
|
export interface TaskAssignment {
|
|
627
627
|
id?: string;
|
|
@@ -666,7 +666,7 @@ export interface UserMini {
|
|
|
666
666
|
login?: string;
|
|
667
667
|
}
|
|
668
668
|
export interface Watermark {
|
|
669
|
-
watermark?:
|
|
669
|
+
watermark?: Watermark2;
|
|
670
670
|
}
|
|
671
671
|
export interface WebLink {
|
|
672
672
|
id: string;
|
|
@@ -705,7 +705,7 @@ export interface WorkflowMini {
|
|
|
705
705
|
description?: string;
|
|
706
706
|
is_enabled?: boolean;
|
|
707
707
|
}
|
|
708
|
-
export type
|
|
708
|
+
export type AccessTokenType = "bearer" | (string & {});
|
|
709
709
|
export type AiAgentAskType = "ai_agent_ask" | (string & {});
|
|
710
710
|
export interface EmbeddingsStrategy {
|
|
711
711
|
id?: string;
|
|
@@ -757,13 +757,13 @@ export interface CollaborationAllowlistEntryEnterprise {
|
|
|
757
757
|
name?: string;
|
|
758
758
|
}
|
|
759
759
|
export type VariableValueType = "user" | (string & {});
|
|
760
|
-
export interface
|
|
760
|
+
export interface CollaboratorVariableValue {
|
|
761
761
|
type: VariableValueType;
|
|
762
762
|
id: string;
|
|
763
763
|
}
|
|
764
764
|
export type CollectionType = "collection" | (string & {});
|
|
765
765
|
export type CollectionName = "Favorites" | (string & {});
|
|
766
|
-
export type
|
|
766
|
+
export type CollectionType2 = "favorites" | (string & {});
|
|
767
767
|
export type OrderDirection = "ASC" | "DESC" | (string & {});
|
|
768
768
|
export interface CollectionsOrder {
|
|
769
769
|
by?: string;
|
|
@@ -836,7 +836,7 @@ export interface FileFullLock {
|
|
|
836
836
|
export interface FileFullExpiringEmbedLink {
|
|
837
837
|
access_token?: string;
|
|
838
838
|
expires_in?: number;
|
|
839
|
-
token_type?:
|
|
839
|
+
token_type?: AccessTokenType;
|
|
840
840
|
restricted_to?: Array<ResourceScope>;
|
|
841
841
|
url?: string;
|
|
842
842
|
}
|
|
@@ -880,7 +880,7 @@ export type FileFullSharedLinkPermissionOptions = "can_preview" | "can_download"
|
|
|
880
880
|
export type FolderType = "folder" | (string & {});
|
|
881
881
|
export type FileVersionType = "file_version" | (string & {});
|
|
882
882
|
export type FolderUploadEmailAccess = "open" | "collaborators" | (string & {});
|
|
883
|
-
export interface
|
|
883
|
+
export interface FolderUploadEmail {
|
|
884
884
|
access?: FolderUploadEmailAccess;
|
|
885
885
|
email?: string;
|
|
886
886
|
}
|
|
@@ -896,7 +896,7 @@ export interface FolderFullPermissions {
|
|
|
896
896
|
can_apply_watermark?: boolean;
|
|
897
897
|
}
|
|
898
898
|
export type GroupType = "group" | (string & {});
|
|
899
|
-
export type
|
|
899
|
+
export type GroupType2 = "managed_group" | "all_users_group" | (string & {});
|
|
900
900
|
export type LegalHoldPolicyType = "legal_hold_policy" | (string & {});
|
|
901
901
|
export type LegalHoldPolicyAssignedItemType = "file" | "file_version" | "folder" | "user" | "ownership" | "interactions" | (string & {});
|
|
902
902
|
export type LegalHoldPolicyAssignmentType = "legal_hold_policy_assignment" | (string & {});
|
|
@@ -904,7 +904,7 @@ export interface MetadataCascadePolicyParent {
|
|
|
904
904
|
type?: FolderType;
|
|
905
905
|
id?: string;
|
|
906
906
|
}
|
|
907
|
-
export type
|
|
907
|
+
export type ResourceScope2 = "annotation_edit" | "annotation_view_all" | "annotation_view_self" | "base_explorer" | "base_picker" | "base_preview" | "base_upload" | "item_delete" | "item_download" | "item_preview" | "item_rename" | "item_share" | "item_upload" | "item_read" | (string & {});
|
|
908
908
|
export type RetentionPolicyType = "retention_policy" | (string & {});
|
|
909
909
|
export type RetentionPolicyDispositionAction = "permanently_delete" | "remove_retention" | (string & {});
|
|
910
910
|
export type RetentionPolicyMaxExtensionLengthRequestVariant0 = "none" | (string & {});
|
|
@@ -916,17 +916,17 @@ export interface ShieldInformationBarrierSegmentMemberShieldInformationBarrierSe
|
|
|
916
916
|
}
|
|
917
917
|
export type SignRequestCreateSignerRole = "signer" | "approver" | "final_copy_reader" | (string & {});
|
|
918
918
|
export type SignRequestSignerInputContentType = "signature" | "initial" | "stamp" | "date" | "checkbox" | "text" | "full_name" | "first_name" | "last_name" | "company" | "title" | "email" | "attachment" | "radio" | "dropdown" | (string & {});
|
|
919
|
-
export type
|
|
920
|
-
export type
|
|
921
|
-
export type
|
|
922
|
-
export type
|
|
923
|
-
export type
|
|
924
|
-
export type
|
|
925
|
-
export type
|
|
926
|
-
export type
|
|
927
|
-
export type
|
|
928
|
-
export type
|
|
929
|
-
export type
|
|
919
|
+
export type SignRequestSignerInputCustomValidationType = "custom" | (string & {});
|
|
920
|
+
export type SignRequestSignerInputDateAsiaValidationType = "date_asia" | (string & {});
|
|
921
|
+
export type SignRequestSignerInputDateEUValidationType = "date_eu" | (string & {});
|
|
922
|
+
export type SignRequestSignerInputDateISOValidationType = "date_iso" | (string & {});
|
|
923
|
+
export type SignRequestSignerInputDateUSValidationType = "date_us" | (string & {});
|
|
924
|
+
export type SignRequestSignerInputEmailValidationType = "email" | (string & {});
|
|
925
|
+
export type SignRequestSignerInputNumberWithCommaValidationType = "number_with_comma" | (string & {});
|
|
926
|
+
export type SignRequestSignerInputNumberWithPeriodValidationType = "number_with_period" | (string & {});
|
|
927
|
+
export type SignRequestSignerInputSSNValidationType = "ssn" | (string & {});
|
|
928
|
+
export type SignRequestSignerInputZIP4ValidationType = "zip_4" | (string & {});
|
|
929
|
+
export type SignRequestSignerInputZIPValidationType = "zip" | (string & {});
|
|
930
930
|
export type StoragePolicyType = "storage_policy" | (string & {});
|
|
931
931
|
export type TaskType = "task" | (string & {});
|
|
932
932
|
export type TaskAssignmentType = "task_assignment" | (string & {});
|
|
@@ -949,7 +949,7 @@ export interface UserNotificationEmail {
|
|
|
949
949
|
email?: string;
|
|
950
950
|
is_confirmed?: boolean;
|
|
951
951
|
}
|
|
952
|
-
export interface
|
|
952
|
+
export interface Watermark2 {
|
|
953
953
|
created_at?: string;
|
|
954
954
|
modified_at?: string;
|
|
955
955
|
}
|
|
@@ -996,11 +996,11 @@ export interface UpdateFileMetadataRequest {
|
|
|
996
996
|
from?: string;
|
|
997
997
|
}
|
|
998
998
|
export type WatermarkImprint = "default" | (string & {});
|
|
999
|
-
export interface
|
|
999
|
+
export interface PutFileIdWatermark {
|
|
1000
1000
|
imprint: WatermarkImprint;
|
|
1001
1001
|
}
|
|
1002
1002
|
export interface UpdateFileWatermarkRequest {
|
|
1003
|
-
watermark:
|
|
1003
|
+
watermark: PutFileIdWatermark;
|
|
1004
1004
|
}
|
|
1005
1005
|
export type GetDirection = "DESC" | "ASC" | (string & {});
|
|
1006
1006
|
export interface UpdateFileAddSharedLinkRequestSharedLinkPermissions {
|
|
@@ -1008,7 +1008,7 @@ export interface UpdateFileAddSharedLinkRequestSharedLinkPermissions {
|
|
|
1008
1008
|
can_preview?: boolean;
|
|
1009
1009
|
can_edit?: boolean;
|
|
1010
1010
|
}
|
|
1011
|
-
export interface
|
|
1011
|
+
export interface PutFileIdAddSharedLink {
|
|
1012
1012
|
access?: SharedLinkAccess;
|
|
1013
1013
|
password?: string | null;
|
|
1014
1014
|
vanity_name?: string;
|
|
@@ -1016,7 +1016,7 @@ export interface PutFileIdAddSharedLinkSharedLink {
|
|
|
1016
1016
|
permissions?: UpdateFileAddSharedLinkRequestSharedLinkPermissions;
|
|
1017
1017
|
}
|
|
1018
1018
|
export interface UpdateFileAddSharedLinkRequest {
|
|
1019
|
-
shared_link?:
|
|
1019
|
+
shared_link?: PutFileIdAddSharedLink;
|
|
1020
1020
|
}
|
|
1021
1021
|
export interface UpdateFileRemoveSharedLinkRequest {
|
|
1022
1022
|
shared_link?: Record<string, unknown> | null;
|
|
@@ -10,7 +10,7 @@ Reach these methods through the `retentionPolicies` field on `Client`.
|
|
|
10
10
|
| Parameter | In | Type | Required |
|
|
11
11
|
|---|---|---|---|
|
|
12
12
|
| `policy_name` | query | `string` | no |
|
|
13
|
-
| `policy_type` | query | `
|
|
13
|
+
| `policy_type` | query | `RetentionPolicyType2` | no |
|
|
14
14
|
| `created_by_user_id` | query | `string` | no |
|
|
15
15
|
| `fields` | query | `Array<string>` | no |
|
|
16
16
|
| `limit` | query | `number` | no |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unofficialbox/box-open-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Box API client for TypeScript (open source, community, punk rock) — typed models, async managers, and a fetch runtime with retry, backoff, and token refresh.",
|
|
5
5
|
"keywords": ["box", "box-api", "sdk", "api-client", "typescript", "unofficial"],
|
|
6
6
|
"license": "MIT",
|