@unofficialbox/box-open-sdk 0.3.1 → 0.4.1
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 +2 -0
- package/dist/cjs/auth.js +3 -3
- package/dist/cjs/buildinfo.js +2 -2
- package/dist/cjs/client.js +3 -0
- package/dist/cjs/jwt.js +1 -1
- package/dist/cjs/managers/collaboration_allowlist_entries.js +6 -6
- package/dist/cjs/managers/collaboration_allowlist_exempt_targets.js +6 -6
- package/dist/cjs/managers/index.js +1 -0
- package/dist/cjs/managers/memberships.js +4 -4
- package/dist/cjs/managers/query.js +68 -0
- package/dist/cjs/models/schemas/ai.js +3 -0
- package/dist/cjs/models/schemas/ai_studio.js +3 -0
- package/dist/cjs/models/schemas/app_item_associations.js +3 -0
- package/dist/cjs/models/schemas/archives.js +3 -0
- package/dist/cjs/models/schemas/authorization.js +3 -0
- package/dist/cjs/models/schemas/automate_workflows.js +3 -0
- package/dist/cjs/models/schemas/avatars.js +3 -0
- package/dist/cjs/models/schemas/chunked_uploads.js +3 -0
- package/dist/cjs/models/schemas/classifications.js +3 -0
- package/dist/cjs/models/schemas/collaboration_allowlist_entries.js +3 -0
- package/dist/cjs/models/schemas/collaboration_allowlist_exempt_targets.js +3 -0
- package/dist/cjs/models/schemas/collections.js +3 -0
- package/dist/cjs/models/schemas/comments.js +3 -0
- package/dist/cjs/models/schemas/device_pinners.js +3 -0
- package/dist/cjs/models/schemas/docgen.js +3 -0
- package/dist/cjs/models/schemas/docgen_template.js +3 -0
- package/dist/cjs/models/schemas/email_aliases.js +3 -0
- package/dist/cjs/models/schemas/enterprise_configurations.js +3 -0
- package/dist/cjs/models/schemas/events.js +3 -0
- package/dist/cjs/models/schemas/external_users.js +3 -0
- package/dist/cjs/models/schemas/file_requests.js +3 -0
- package/dist/cjs/models/schemas/file_version_legal_holds.js +3 -0
- package/dist/cjs/models/schemas/file_version_retentions.js +3 -0
- package/dist/cjs/models/schemas/file_versions.js +3 -0
- package/dist/cjs/models/schemas/files.js +3 -0
- package/dist/cjs/models/schemas/folder_locks.js +3 -0
- package/dist/cjs/models/schemas/folders.js +3 -0
- package/dist/cjs/models/schemas/groups.js +3 -0
- package/dist/cjs/models/schemas/hub_collaborations.js +3 -0
- package/dist/cjs/models/schemas/hub_document.js +3 -0
- package/dist/cjs/models/schemas/hub_items.js +3 -0
- package/dist/cjs/models/schemas/hubs.js +3 -0
- package/dist/cjs/models/schemas/integration_mappings.js +3 -0
- package/dist/cjs/models/schemas/invites.js +3 -0
- package/dist/cjs/models/schemas/legal_hold_policies.js +3 -0
- package/dist/cjs/models/schemas/legal_hold_policy_assignments.js +3 -0
- package/dist/cjs/models/schemas/list_collaborations.js +3 -0
- package/dist/cjs/models/schemas/memberships.js +3 -0
- package/dist/cjs/models/schemas/metadata_cascade_policies.js +3 -0
- package/dist/cjs/models/schemas/metadata_taxonomies.js +3 -0
- package/dist/cjs/models/schemas/metadata_templates.js +3 -0
- package/dist/cjs/models/schemas/notes.js +3 -0
- package/dist/cjs/models/schemas/query.js +3 -0
- package/dist/cjs/models/schemas/recent_items.js +3 -0
- package/dist/cjs/models/schemas/retention_policies.js +3 -0
- package/dist/cjs/models/schemas/retention_policy_assignments.js +3 -0
- package/dist/cjs/models/schemas/search.js +3 -0
- package/dist/cjs/models/schemas/session_termination.js +3 -0
- package/dist/cjs/models/schemas/shared_links_folders.js +3 -0
- package/dist/cjs/models/schemas/shield_information_barrier_reports.js +3 -0
- package/dist/cjs/models/schemas/shield_information_barrier_segment_members.js +3 -0
- package/dist/cjs/models/schemas/shield_information_barrier_segment_restrictions.js +3 -0
- package/dist/cjs/models/schemas/shield_information_barrier_segments.js +3 -0
- package/dist/cjs/models/schemas/shield_information_barriers.js +3 -0
- package/dist/cjs/models/schemas/shield_lists.js +3 -0
- package/dist/cjs/models/schemas/sign_requests.js +3 -0
- package/dist/cjs/models/schemas/sign_templates.js +3 -0
- package/dist/cjs/models/schemas/skills.js +3 -0
- package/dist/cjs/models/schemas/storage_policies.js +3 -0
- package/dist/cjs/models/schemas/storage_policy_assignments.js +3 -0
- package/dist/cjs/models/schemas/task_assignments.js +3 -0
- package/dist/cjs/models/schemas/tasks.js +3 -0
- package/dist/cjs/models/schemas/terms_of_service_user_statuses.js +3 -0
- package/dist/cjs/models/schemas/terms_of_services.js +3 -0
- package/dist/cjs/models/schemas/transfer.js +3 -0
- package/dist/cjs/models/schemas/trashed_files.js +3 -0
- package/dist/cjs/models/schemas/trashed_folders.js +3 -0
- package/dist/cjs/models/schemas/trashed_items.js +3 -0
- package/dist/cjs/models/schemas/trashed_web_links.js +3 -0
- package/dist/cjs/models/schemas/uploads.js +3 -0
- package/dist/cjs/models/schemas/user_collaborations.js +3 -0
- package/dist/cjs/models/schemas/users.js +3 -0
- package/dist/cjs/models/schemas/web_links.js +3 -0
- package/dist/cjs/models/schemas/webhooks.js +3 -0
- package/dist/cjs/models/schemas/workflows.js +3 -0
- package/dist/cjs/models/schemas/zip_downloads.js +3 -0
- package/dist/cjs/models/schemas.js +91 -1
- package/dist/cjs/runtime.js +8 -3
- package/dist/cjs/tokens.js +5 -3
- package/dist/esm/auth.js +3 -3
- package/dist/esm/buildinfo.js +2 -2
- package/dist/esm/client.js +3 -0
- package/dist/esm/jwt.js +1 -1
- package/dist/esm/managers/collaboration_allowlist_entries.js +6 -6
- package/dist/esm/managers/collaboration_allowlist_exempt_targets.js +6 -6
- package/dist/esm/managers/index.js +1 -0
- package/dist/esm/managers/memberships.js +4 -4
- package/dist/esm/managers/query.js +31 -0
- package/dist/esm/models/schemas/ai.js +2 -0
- package/dist/esm/models/schemas/ai_studio.js +2 -0
- package/dist/esm/models/schemas/app_item_associations.js +2 -0
- package/dist/esm/models/schemas/archives.js +2 -0
- package/dist/esm/models/schemas/authorization.js +2 -0
- package/dist/esm/models/schemas/automate_workflows.js +2 -0
- package/dist/esm/models/schemas/avatars.js +2 -0
- package/dist/esm/models/schemas/chunked_uploads.js +2 -0
- package/dist/esm/models/schemas/classifications.js +2 -0
- package/dist/esm/models/schemas/collaboration_allowlist_entries.js +2 -0
- package/dist/esm/models/schemas/collaboration_allowlist_exempt_targets.js +2 -0
- package/dist/esm/models/schemas/collections.js +2 -0
- package/dist/esm/models/schemas/comments.js +2 -0
- package/dist/esm/models/schemas/device_pinners.js +2 -0
- package/dist/esm/models/schemas/docgen.js +2 -0
- package/dist/esm/models/schemas/docgen_template.js +2 -0
- package/dist/esm/models/schemas/email_aliases.js +2 -0
- package/dist/esm/models/schemas/enterprise_configurations.js +2 -0
- package/dist/esm/models/schemas/events.js +2 -0
- package/dist/esm/models/schemas/external_users.js +2 -0
- package/dist/esm/models/schemas/file_requests.js +2 -0
- package/dist/esm/models/schemas/file_version_legal_holds.js +2 -0
- package/dist/esm/models/schemas/file_version_retentions.js +2 -0
- package/dist/esm/models/schemas/file_versions.js +2 -0
- package/dist/esm/models/schemas/files.js +2 -0
- package/dist/esm/models/schemas/folder_locks.js +2 -0
- package/dist/esm/models/schemas/folders.js +2 -0
- package/dist/esm/models/schemas/groups.js +2 -0
- package/dist/esm/models/schemas/hub_collaborations.js +2 -0
- package/dist/esm/models/schemas/hub_document.js +2 -0
- package/dist/esm/models/schemas/hub_items.js +2 -0
- package/dist/esm/models/schemas/hubs.js +2 -0
- package/dist/esm/models/schemas/integration_mappings.js +2 -0
- package/dist/esm/models/schemas/invites.js +2 -0
- package/dist/esm/models/schemas/legal_hold_policies.js +2 -0
- package/dist/esm/models/schemas/legal_hold_policy_assignments.js +2 -0
- package/dist/esm/models/schemas/list_collaborations.js +2 -0
- package/dist/esm/models/schemas/memberships.js +2 -0
- package/dist/esm/models/schemas/metadata_cascade_policies.js +2 -0
- package/dist/esm/models/schemas/metadata_taxonomies.js +2 -0
- package/dist/esm/models/schemas/metadata_templates.js +2 -0
- package/dist/esm/models/schemas/notes.js +2 -0
- package/dist/esm/models/schemas/query.js +2 -0
- package/dist/esm/models/schemas/recent_items.js +2 -0
- package/dist/esm/models/schemas/retention_policies.js +2 -0
- package/dist/esm/models/schemas/retention_policy_assignments.js +2 -0
- package/dist/esm/models/schemas/search.js +2 -0
- package/dist/esm/models/schemas/session_termination.js +2 -0
- package/dist/esm/models/schemas/shared_links_folders.js +2 -0
- package/dist/esm/models/schemas/shield_information_barrier_reports.js +2 -0
- package/dist/esm/models/schemas/shield_information_barrier_segment_members.js +2 -0
- package/dist/esm/models/schemas/shield_information_barrier_segment_restrictions.js +2 -0
- package/dist/esm/models/schemas/shield_information_barrier_segments.js +2 -0
- package/dist/esm/models/schemas/shield_information_barriers.js +2 -0
- package/dist/esm/models/schemas/shield_lists.js +2 -0
- package/dist/esm/models/schemas/sign_requests.js +2 -0
- package/dist/esm/models/schemas/sign_templates.js +2 -0
- package/dist/esm/models/schemas/skills.js +2 -0
- package/dist/esm/models/schemas/storage_policies.js +2 -0
- package/dist/esm/models/schemas/storage_policy_assignments.js +2 -0
- package/dist/esm/models/schemas/task_assignments.js +2 -0
- package/dist/esm/models/schemas/tasks.js +2 -0
- package/dist/esm/models/schemas/terms_of_service_user_statuses.js +2 -0
- package/dist/esm/models/schemas/terms_of_services.js +2 -0
- package/dist/esm/models/schemas/transfer.js +2 -0
- package/dist/esm/models/schemas/trashed_files.js +2 -0
- package/dist/esm/models/schemas/trashed_folders.js +2 -0
- package/dist/esm/models/schemas/trashed_items.js +2 -0
- package/dist/esm/models/schemas/trashed_web_links.js +2 -0
- package/dist/esm/models/schemas/uploads.js +2 -0
- package/dist/esm/models/schemas/user_collaborations.js +2 -0
- package/dist/esm/models/schemas/users.js +2 -0
- package/dist/esm/models/schemas/web_links.js +2 -0
- package/dist/esm/models/schemas/webhooks.js +2 -0
- package/dist/esm/models/schemas/workflows.js +2 -0
- package/dist/esm/models/schemas/zip_downloads.js +2 -0
- package/dist/esm/models/schemas.js +77 -2
- package/dist/esm/runtime.js +8 -3
- package/dist/esm/tokens.js +5 -3
- package/dist/types/auth.d.ts +8 -0
- package/dist/types/buildinfo.d.ts +1 -1
- package/dist/types/client.d.ts +2 -0
- package/dist/types/jwt.d.ts +4 -0
- package/dist/types/managers/archives.d.ts +2 -2
- package/dist/types/managers/avatars.d.ts +1 -1
- package/dist/types/managers/chunked_uploads.d.ts +3 -3
- package/dist/types/managers/classifications.d.ts +3 -3
- package/dist/types/managers/collaboration_allowlist_entries.d.ts +7 -7
- package/dist/types/managers/collaboration_allowlist_exempt_targets.d.ts +7 -7
- package/dist/types/managers/comments.d.ts +2 -2
- package/dist/types/managers/email_aliases.d.ts +1 -1
- package/dist/types/managers/file_classifications.d.ts +2 -2
- package/dist/types/managers/file_metadata.d.ts +4 -4
- package/dist/types/managers/file_versions.d.ts +2 -2
- package/dist/types/managers/file_watermarks.d.ts +1 -1
- package/dist/types/managers/files.d.ts +2 -2
- package/dist/types/managers/folder_classifications.d.ts +2 -2
- package/dist/types/managers/folder_locks.d.ts +1 -1
- package/dist/types/managers/folder_metadata.d.ts +4 -4
- package/dist/types/managers/folder_watermarks.d.ts +1 -1
- package/dist/types/managers/folders.d.ts +3 -3
- package/dist/types/managers/groups.d.ts +2 -2
- package/dist/types/managers/index.d.ts +1 -0
- package/dist/types/managers/integration_mappings.d.ts +2 -2
- package/dist/types/managers/invites.d.ts +1 -1
- package/dist/types/managers/legal_hold_policies.d.ts +2 -2
- package/dist/types/managers/legal_hold_policy_assignments.d.ts +1 -1
- package/dist/types/managers/memberships.d.ts +10 -10
- package/dist/types/managers/metadata_cascade_policies.d.ts +2 -2
- package/dist/types/managers/metadata_taxonomies.d.ts +6 -6
- package/dist/types/managers/metadata_templates.d.ts +4 -4
- package/dist/types/managers/query.d.ts +9 -0
- package/dist/types/managers/retention_policies.d.ts +2 -2
- package/dist/types/managers/retention_policy_assignments.d.ts +1 -1
- package/dist/types/managers/session_termination.d.ts +2 -2
- package/dist/types/managers/shared_links_files.d.ts +3 -3
- package/dist/types/managers/shared_links_folders.d.ts +3 -3
- package/dist/types/managers/shared_links_web_links.d.ts +3 -3
- package/dist/types/managers/shield_information_barrier_segment_members.d.ts +1 -1
- package/dist/types/managers/shield_information_barrier_segment_restrictions.d.ts +1 -1
- package/dist/types/managers/shield_information_barrier_segments.d.ts +2 -2
- package/dist/types/managers/shield_information_barriers.d.ts +2 -2
- package/dist/types/managers/skills.d.ts +3 -3
- package/dist/types/managers/storage_policy_assignments.d.ts +2 -2
- package/dist/types/managers/task_assignments.d.ts +2 -2
- package/dist/types/managers/tasks.d.ts +2 -2
- package/dist/types/managers/terms_of_service_user_statuses.d.ts +2 -2
- package/dist/types/managers/terms_of_services.d.ts +2 -2
- package/dist/types/managers/transfer.d.ts +1 -1
- package/dist/types/managers/trashed_files.d.ts +1 -1
- package/dist/types/managers/trashed_folders.d.ts +1 -1
- package/dist/types/managers/trashed_web_links.d.ts +1 -1
- package/dist/types/managers/uploads.d.ts +2 -2
- package/dist/types/managers/user_collaborations.d.ts +2 -2
- package/dist/types/managers/users.d.ts +2 -2
- package/dist/types/managers/web_links.d.ts +2 -2
- package/dist/types/managers/webhooks.d.ts +2 -2
- package/dist/types/managers/workflows.d.ts +1 -1
- package/dist/types/models/schemas/ai.d.ts +240 -0
- package/dist/types/models/schemas/ai_studio.d.ts +172 -0
- package/dist/types/models/schemas/app_item_associations.d.ts +34 -0
- package/dist/types/models/schemas/archives.d.ts +27 -0
- package/dist/types/models/schemas/authorization.d.ts +43 -0
- package/dist/types/models/schemas/automate_workflows.d.ts +29 -0
- package/dist/types/models/schemas/avatars.d.ts +11 -0
- package/dist/types/models/schemas/chunked_uploads.d.ts +47 -0
- package/dist/types/models/schemas/classifications.d.ts +66 -0
- package/dist/types/models/schemas/collaboration_allowlist_entries.d.ts +21 -0
- package/dist/types/models/schemas/collaboration_allowlist_exempt_targets.d.ts +19 -0
- package/dist/types/models/schemas/collections.d.ts +15 -0
- package/dist/types/models/schemas/comments.d.ts +33 -0
- package/dist/types/models/schemas/device_pinners.d.ts +20 -0
- package/dist/types/models/schemas/docgen.d.ts +40 -0
- package/dist/types/models/schemas/docgen_template.d.ts +29 -0
- package/dist/types/models/schemas/email_aliases.d.ts +14 -0
- package/dist/types/models/schemas/enterprise_configurations.d.ts +251 -0
- package/dist/types/models/schemas/events.d.ts +71 -0
- package/dist/types/models/schemas/external_users.d.ts +16 -0
- package/dist/types/models/schemas/file_requests.d.ts +41 -0
- package/dist/types/models/schemas/file_version_legal_holds.d.ts +16 -0
- package/dist/types/models/schemas/file_version_retentions.d.ts +17 -0
- package/dist/types/models/schemas/file_versions.d.ts +32 -0
- package/dist/types/models/schemas/files.d.ts +27 -0
- package/dist/types/models/schemas/folder_locks.d.ts +27 -0
- package/dist/types/models/schemas/folders.d.ts +28 -0
- package/dist/types/models/schemas/groups.d.ts +42 -0
- package/dist/types/models/schemas/hub_collaborations.d.ts +57 -0
- package/dist/types/models/schemas/hub_document.d.ts +67 -0
- package/dist/types/models/schemas/hub_items.d.ts +46 -0
- package/dist/types/models/schemas/hubs.d.ts +43 -0
- package/dist/types/models/schemas/integration_mappings.d.ts +83 -0
- package/dist/types/models/schemas/invites.d.ts +19 -0
- package/dist/types/models/schemas/legal_hold_policies.d.ts +43 -0
- package/dist/types/models/schemas/legal_hold_policy_assignments.d.ts +43 -0
- package/dist/types/models/schemas/list_collaborations.d.ts +14 -0
- package/dist/types/models/schemas/memberships.d.ts +29 -0
- package/dist/types/models/schemas/metadata_cascade_policies.d.ts +29 -0
- package/dist/types/models/schemas/metadata_taxonomies.d.ts +60 -0
- package/dist/types/models/schemas/metadata_templates.d.ts +71 -0
- package/dist/types/models/schemas/notes.d.ts +13 -0
- package/dist/types/models/schemas/query.d.ts +62 -0
- package/dist/types/models/schemas/recent_items.d.ts +25 -0
- package/dist/types/models/schemas/retention_policies.d.ts +60 -0
- package/dist/types/models/schemas/retention_policy_assignments.d.ts +47 -0
- package/dist/types/models/schemas/search.d.ts +98 -0
- package/dist/types/models/schemas/session_termination.d.ts +10 -0
- package/dist/types/models/schemas/shared_links_folders.d.ts +11 -0
- package/dist/types/models/schemas/shield_information_barrier_reports.d.ts +27 -0
- package/dist/types/models/schemas/shield_information_barrier_segment_members.d.ts +24 -0
- package/dist/types/models/schemas/shield_information_barrier_segment_restrictions.d.ts +24 -0
- package/dist/types/models/schemas/shield_information_barrier_segments.d.ts +26 -0
- package/dist/types/models/schemas/shield_information_barriers.d.ts +31 -0
- package/dist/types/models/schemas/shield_lists.d.ts +88 -0
- package/dist/types/models/schemas/sign_requests.d.ts +136 -0
- package/dist/types/models/schemas/sign_templates.d.ts +90 -0
- package/dist/types/models/schemas/skills.d.ts +120 -0
- package/dist/types/models/schemas/storage_policies.d.ts +12 -0
- package/dist/types/models/schemas/storage_policy_assignments.d.ts +34 -0
- package/dist/types/models/schemas/task_assignments.d.ts +17 -0
- package/dist/types/models/schemas/tasks.d.ts +37 -0
- package/dist/types/models/schemas/terms_of_service_user_statuses.d.ts +27 -0
- package/dist/types/models/schemas/terms_of_services.d.ts +27 -0
- package/dist/types/models/schemas/transfer.d.ts +4 -0
- package/dist/types/models/schemas/trashed_files.d.ts +49 -0
- package/dist/types/models/schemas/trashed_folders.d.ts +47 -0
- package/dist/types/models/schemas/trashed_items.d.ts +1 -0
- package/dist/types/models/schemas/trashed_web_links.d.ts +41 -0
- package/dist/types/models/schemas/uploads.d.ts +28 -0
- package/dist/types/models/schemas/user_collaborations.d.ts +26 -0
- package/dist/types/models/schemas/users.d.ts +98 -0
- package/dist/types/models/schemas/web_links.d.ts +20 -0
- package/dist/types/models/schemas/webhooks.d.ts +37 -0
- package/dist/types/models/schemas/workflows.d.ts +93 -0
- package/dist/types/models/schemas/zip_downloads.d.ts +29 -0
- package/dist/types/models/schemas.d.ts +157 -3493
- package/dist/types/runtime.d.ts +10 -0
- package/dist/types/tokens.d.ts +4 -2
- package/docs/README.md +1 -0
- package/docs/managers/archives.md +2 -2
- package/docs/managers/avatars.md +1 -1
- package/docs/managers/chunked_uploads.md +3 -3
- package/docs/managers/classifications.md +3 -3
- package/docs/managers/collaboration_allowlist_entries.md +10 -10
- package/docs/managers/collaboration_allowlist_exempt_targets.md +10 -10
- package/docs/managers/comments.md +2 -2
- package/docs/managers/email_aliases.md +1 -1
- package/docs/managers/file_classifications.md +2 -2
- package/docs/managers/file_metadata.md +5 -5
- package/docs/managers/file_versions.md +2 -2
- package/docs/managers/file_watermarks.md +1 -1
- package/docs/managers/files.md +2 -2
- package/docs/managers/folder_classifications.md +2 -2
- package/docs/managers/folder_locks.md +1 -1
- package/docs/managers/folder_metadata.md +5 -5
- package/docs/managers/folder_watermarks.md +1 -1
- package/docs/managers/folders.md +3 -3
- package/docs/managers/groups.md +2 -2
- package/docs/managers/integration_mappings.md +2 -2
- package/docs/managers/invites.md +1 -1
- package/docs/managers/legal_hold_policies.md +2 -2
- package/docs/managers/legal_hold_policy_assignments.md +1 -1
- package/docs/managers/memberships.md +10 -10
- package/docs/managers/metadata_cascade_policies.md +2 -2
- package/docs/managers/metadata_taxonomies.md +6 -6
- package/docs/managers/metadata_templates.md +5 -5
- package/docs/managers/query.md +33 -0
- package/docs/managers/retention_policies.md +2 -2
- package/docs/managers/retention_policy_assignments.md +1 -1
- package/docs/managers/session_termination.md +2 -2
- package/docs/managers/shared_links_files.md +3 -3
- package/docs/managers/shared_links_folders.md +3 -3
- package/docs/managers/shared_links_web_links.md +3 -3
- package/docs/managers/shield_information_barrier_segment_members.md +1 -1
- package/docs/managers/shield_information_barrier_segment_restrictions.md +1 -1
- package/docs/managers/shield_information_barrier_segments.md +2 -2
- package/docs/managers/shield_information_barriers.md +2 -2
- package/docs/managers/skills.md +3 -3
- package/docs/managers/storage_policy_assignments.md +2 -2
- package/docs/managers/task_assignments.md +2 -2
- package/docs/managers/tasks.md +2 -2
- package/docs/managers/terms_of_service_user_statuses.md +2 -2
- package/docs/managers/terms_of_services.md +2 -2
- package/docs/managers/transfer.md +1 -1
- package/docs/managers/trashed_files.md +1 -1
- package/docs/managers/trashed_folders.md +1 -1
- package/docs/managers/trashed_web_links.md +1 -1
- package/docs/managers/uploads.md +2 -2
- package/docs/managers/user_collaborations.md +2 -2
- package/docs/managers/users.md +2 -2
- package/docs/managers/web_links.md +2 -2
- package/docs/managers/webhooks.md +2 -2
- package/docs/managers/workflows.md +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { FieldsOptions, MetadataTemplateType } from '../schemas.js';
|
|
2
|
+
export interface MetadataTemplate {
|
|
3
|
+
id: string;
|
|
4
|
+
type: MetadataTemplateType;
|
|
5
|
+
scope?: string;
|
|
6
|
+
templateKey?: string;
|
|
7
|
+
displayName?: string;
|
|
8
|
+
hidden?: boolean;
|
|
9
|
+
fields?: Array<MetadataTemplateFields>;
|
|
10
|
+
copyInstanceOnItemCopy?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface MetadataTemplates {
|
|
13
|
+
limit?: number;
|
|
14
|
+
next_marker?: string | null;
|
|
15
|
+
prev_marker?: string | null;
|
|
16
|
+
entries?: Array<MetadataTemplate>;
|
|
17
|
+
}
|
|
18
|
+
export type MetadataTemplateFieldsType = "string" | "float" | "date" | "enum" | "multiSelect" | "taxonomy" | "integer" | (string & {});
|
|
19
|
+
export interface MetadataTemplateFieldsOptions {
|
|
20
|
+
key: string;
|
|
21
|
+
id?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface FieldsOptionsRules {
|
|
24
|
+
multiSelect?: boolean;
|
|
25
|
+
selectableLevels?: Array<number>;
|
|
26
|
+
}
|
|
27
|
+
export interface MetadataTemplateFields {
|
|
28
|
+
type: MetadataTemplateFieldsType;
|
|
29
|
+
key: string;
|
|
30
|
+
displayName: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
hidden?: boolean;
|
|
33
|
+
options?: Array<MetadataTemplateFieldsOptions>;
|
|
34
|
+
taxonomyKey?: string;
|
|
35
|
+
taxonomyId?: string;
|
|
36
|
+
namespace?: string;
|
|
37
|
+
optionsRules?: FieldsOptionsRules;
|
|
38
|
+
id?: string;
|
|
39
|
+
}
|
|
40
|
+
export type PutIdSchemaOp = "editTemplate" | "addField" | "reorderFields" | "addEnumOption" | "reorderEnumOptions" | "reorderMultiSelectOptions" | "addMultiSelectOption" | "editField" | "removeField" | "editEnumOption" | "removeEnumOption" | "editMultiSelectOption" | "removeMultiSelectOption" | (string & {});
|
|
41
|
+
export interface UpdateSchemaRequest {
|
|
42
|
+
op: PutIdSchemaOp;
|
|
43
|
+
data?: Record<string, unknown>;
|
|
44
|
+
fieldKey?: string;
|
|
45
|
+
fieldKeys?: Array<string>;
|
|
46
|
+
enumOptionKey?: string;
|
|
47
|
+
enumOptionKeys?: Array<string>;
|
|
48
|
+
multiSelectOptionKey?: string;
|
|
49
|
+
multiSelectOptionKeys?: Array<string>;
|
|
50
|
+
}
|
|
51
|
+
export type CreateSchemaRequestFieldsType = "string" | "float" | "date" | "enum" | "multiSelect" | "taxonomy" | (string & {});
|
|
52
|
+
export interface PostSchemaFields {
|
|
53
|
+
type: CreateSchemaRequestFieldsType;
|
|
54
|
+
key: string;
|
|
55
|
+
displayName: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
hidden?: boolean;
|
|
58
|
+
options?: Array<FieldsOptions>;
|
|
59
|
+
taxonomyKey?: string;
|
|
60
|
+
taxonomyId?: string;
|
|
61
|
+
namespace?: string;
|
|
62
|
+
optionsRules?: FieldsOptionsRules;
|
|
63
|
+
}
|
|
64
|
+
export interface CreateSchemaRequest {
|
|
65
|
+
scope: string;
|
|
66
|
+
templateKey?: string;
|
|
67
|
+
displayName: string;
|
|
68
|
+
hidden?: boolean;
|
|
69
|
+
fields?: Array<PostSchemaFields>;
|
|
70
|
+
copyInstanceOnItemCopy?: boolean;
|
|
71
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { FolderReference } from '../schemas.js';
|
|
2
|
+
export interface NotesConvertRequestBody {
|
|
3
|
+
content: string;
|
|
4
|
+
content_format: NotesConvertRequestBodyContentFormat;
|
|
5
|
+
parent: FolderReference;
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
8
|
+
export interface NotesConvertResponse {
|
|
9
|
+
type: NotesConvertResponseType;
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
export type NotesConvertRequestBodyContentFormat = "markdown" | (string & {});
|
|
13
|
+
export type NotesConvertResponseType = "file" | (string & {});
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export interface QueryAncestorReference {
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
}
|
|
5
|
+
export interface QueryInsightEntry {
|
|
6
|
+
key: Array<string>;
|
|
7
|
+
type: QueryInsightEntryType;
|
|
8
|
+
metrics: Record<string, QueryInsightMetricResult>;
|
|
9
|
+
}
|
|
10
|
+
export interface QueryInsightMetricResult {
|
|
11
|
+
type: string;
|
|
12
|
+
values: Record<string, number>;
|
|
13
|
+
}
|
|
14
|
+
export interface QueryInsights {
|
|
15
|
+
insights: Array<QueryInsightEntry>;
|
|
16
|
+
}
|
|
17
|
+
export interface QueryInsightsGroupBy {
|
|
18
|
+
field: string;
|
|
19
|
+
bucket_limit?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface QueryInsightsMetricDefinition {
|
|
22
|
+
type: QueryInsightsMetricDefinitionType;
|
|
23
|
+
field: string;
|
|
24
|
+
}
|
|
25
|
+
export interface QueryInsightsRequestBody {
|
|
26
|
+
query: QueryInsightsRequestBodyQuery;
|
|
27
|
+
metrics: Record<string, QueryInsightsMetricDefinition>;
|
|
28
|
+
}
|
|
29
|
+
export interface QueryOrderBy {
|
|
30
|
+
field_key: string;
|
|
31
|
+
direction: QueryOrderByDirection;
|
|
32
|
+
}
|
|
33
|
+
export interface QueryRequestBody {
|
|
34
|
+
query: QueryRequestBodyQuery;
|
|
35
|
+
order_by?: Array<QueryOrderBy>;
|
|
36
|
+
limit?: number;
|
|
37
|
+
fields?: Array<string>;
|
|
38
|
+
marker?: string;
|
|
39
|
+
}
|
|
40
|
+
export type QueryResultEntry = {
|
|
41
|
+
id: string;
|
|
42
|
+
type: string;
|
|
43
|
+
} & Record<string, unknown>;
|
|
44
|
+
export interface QueryResults {
|
|
45
|
+
entries: Array<QueryResultEntry>;
|
|
46
|
+
next_marker: string | null;
|
|
47
|
+
limit: number;
|
|
48
|
+
}
|
|
49
|
+
export type QueryInsightEntryType = "group" | "overall" | "other" | (string & {});
|
|
50
|
+
export type QueryInsightsMetricDefinitionType = "sum" | "avg" | "min" | "max" | "count" | (string & {});
|
|
51
|
+
export interface QueryInsightsRequestBodyQuery {
|
|
52
|
+
predicate: string;
|
|
53
|
+
params?: Record<string, unknown>;
|
|
54
|
+
ancestors?: Array<QueryAncestorReference>;
|
|
55
|
+
group_by?: Array<QueryInsightsGroupBy>;
|
|
56
|
+
}
|
|
57
|
+
export type QueryOrderByDirection = "asc" | "desc" | (string & {});
|
|
58
|
+
export interface QueryRequestBodyQuery {
|
|
59
|
+
predicate: string;
|
|
60
|
+
params?: Record<string, unknown>;
|
|
61
|
+
ancestors?: Array<QueryAncestorReference>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { FileFull, FolderFull, WebLink } from '../schemas.js';
|
|
2
|
+
export interface RecentItem {
|
|
3
|
+
type?: string;
|
|
4
|
+
item?: RecentItemResource;
|
|
5
|
+
interaction_type?: RecentItemInteractionType;
|
|
6
|
+
interacted_at?: string;
|
|
7
|
+
interaction_shared_link?: string;
|
|
8
|
+
}
|
|
9
|
+
export type RecentItemResource = (FileFull & {
|
|
10
|
+
type: "file";
|
|
11
|
+
}) | (FolderFull & {
|
|
12
|
+
type: "folder";
|
|
13
|
+
}) | (WebLink & {
|
|
14
|
+
type: "web_link";
|
|
15
|
+
}) | {
|
|
16
|
+
type: string;
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
};
|
|
19
|
+
export interface RecentItems {
|
|
20
|
+
limit?: number;
|
|
21
|
+
next_marker?: string | null;
|
|
22
|
+
prev_marker?: string | null;
|
|
23
|
+
entries?: Array<RecentItem>;
|
|
24
|
+
}
|
|
25
|
+
export type RecentItemInteractionType = "item_preview" | "item_upload" | "item_comment" | "item_open" | "item_modify" | (string & {});
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { RetentionPolicyDispositionAction, RetentionPolicyMaxExtensionLengthResponse, RetentionPolicyType, UserBase, UserMini } from '../schemas.js';
|
|
2
|
+
export interface RetentionPolicies {
|
|
3
|
+
entries?: Array<RetentionPolicy>;
|
|
4
|
+
limit?: number;
|
|
5
|
+
next_marker?: string | null;
|
|
6
|
+
}
|
|
7
|
+
export interface RetentionPolicy {
|
|
8
|
+
id: string;
|
|
9
|
+
type: RetentionPolicyType;
|
|
10
|
+
policy_name?: string;
|
|
11
|
+
retention_length?: string;
|
|
12
|
+
disposition_action?: RetentionPolicyDispositionAction;
|
|
13
|
+
max_extension_length?: RetentionPolicyMaxExtensionLengthResponse;
|
|
14
|
+
description?: string;
|
|
15
|
+
policy_type?: RetentionPolicyPolicyType;
|
|
16
|
+
retention_type?: RetentionPolicyRetentionType;
|
|
17
|
+
status?: RetentionPolicyStatus;
|
|
18
|
+
created_by?: UserMini;
|
|
19
|
+
created_at?: string;
|
|
20
|
+
modified_at?: string;
|
|
21
|
+
can_owner_extend_retention?: boolean;
|
|
22
|
+
are_owners_notified?: boolean;
|
|
23
|
+
custom_notification_recipients?: Array<UserMini>;
|
|
24
|
+
assignment_counts?: RetentionPolicyAssignmentCounts;
|
|
25
|
+
}
|
|
26
|
+
export type RetentionPolicyMaxExtensionLengthRequest = unknown;
|
|
27
|
+
export type RetentionPolicyPolicyType = "finite" | "indefinite" | (string & {});
|
|
28
|
+
export type RetentionPolicyRetentionType = "modifiable" | "non_modifiable" | (string & {});
|
|
29
|
+
export type RetentionPolicyStatus = "active" | "retired" | (string & {});
|
|
30
|
+
export interface RetentionPolicyAssignmentCounts {
|
|
31
|
+
enterprise?: number;
|
|
32
|
+
folder?: number;
|
|
33
|
+
metadata_template?: number;
|
|
34
|
+
}
|
|
35
|
+
export type PostRetentionLength = unknown;
|
|
36
|
+
export interface CreateRetentionPolicyRequest {
|
|
37
|
+
policy_name: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
policy_type: RetentionPolicyPolicyType;
|
|
40
|
+
disposition_action: RetentionPolicyDispositionAction;
|
|
41
|
+
retention_length?: PostRetentionLength;
|
|
42
|
+
retention_type?: RetentionPolicyRetentionType;
|
|
43
|
+
can_owner_extend_retention?: boolean;
|
|
44
|
+
max_extension_length?: RetentionPolicyMaxExtensionLengthRequest;
|
|
45
|
+
are_owners_notified?: boolean;
|
|
46
|
+
custom_notification_recipients?: Array<UserMini>;
|
|
47
|
+
}
|
|
48
|
+
export type PutIdDispositionAction = unknown;
|
|
49
|
+
export interface UpdateRetentionPolicyRequest {
|
|
50
|
+
policy_name?: string | null;
|
|
51
|
+
description?: string | null;
|
|
52
|
+
disposition_action?: PutIdDispositionAction;
|
|
53
|
+
retention_type?: string | null;
|
|
54
|
+
retention_length?: PostRetentionLength;
|
|
55
|
+
status?: string | null;
|
|
56
|
+
can_owner_extend_retention?: boolean | null;
|
|
57
|
+
max_extension_length?: RetentionPolicyMaxExtensionLengthRequest;
|
|
58
|
+
are_owners_notified?: boolean | null;
|
|
59
|
+
custom_notification_recipients?: Array<UserBase> | null;
|
|
60
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { FileMini, RetentionPolicyMini, UserMini } from '../schemas.js';
|
|
2
|
+
export interface FilesUnderRetention {
|
|
3
|
+
limit?: number;
|
|
4
|
+
next_marker?: string | null;
|
|
5
|
+
prev_marker?: string | null;
|
|
6
|
+
entries?: Array<FileMini>;
|
|
7
|
+
}
|
|
8
|
+
export interface RetentionPolicyAssignment {
|
|
9
|
+
id: string;
|
|
10
|
+
type: RetentionPolicyAssignmentType;
|
|
11
|
+
retention_policy?: RetentionPolicyMini;
|
|
12
|
+
assigned_to?: RetentionPolicyAssignmentAssignedTo;
|
|
13
|
+
filter_fields?: Array<RetentionPolicyAssignmentFilterFields> | null;
|
|
14
|
+
assigned_by?: UserMini;
|
|
15
|
+
assigned_at?: string;
|
|
16
|
+
start_date_field?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface RetentionPolicyAssignments {
|
|
19
|
+
entries?: Array<RetentionPolicyAssignment>;
|
|
20
|
+
limit?: number;
|
|
21
|
+
next_marker?: string | null;
|
|
22
|
+
}
|
|
23
|
+
export type RetentionPolicyAssignmentType = "retention_policy_assignment" | (string & {});
|
|
24
|
+
export type AssignedToType = "folder" | "enterprise" | "metadata_template" | (string & {});
|
|
25
|
+
export interface RetentionPolicyAssignmentAssignedTo {
|
|
26
|
+
id?: string | null;
|
|
27
|
+
type?: AssignedToType;
|
|
28
|
+
}
|
|
29
|
+
export interface RetentionPolicyAssignmentFilterFields {
|
|
30
|
+
field?: string | null;
|
|
31
|
+
value?: string | null;
|
|
32
|
+
}
|
|
33
|
+
export type AssignToType = "enterprise" | "folder" | "metadata_template" | (string & {});
|
|
34
|
+
export interface CreateRetentionPolicyAssignmentRequestAssignTo {
|
|
35
|
+
type: AssignToType;
|
|
36
|
+
id?: string | null;
|
|
37
|
+
}
|
|
38
|
+
export interface PostFilterFields {
|
|
39
|
+
field?: string;
|
|
40
|
+
value?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface CreateRetentionPolicyAssignmentRequest {
|
|
43
|
+
policy_id: string;
|
|
44
|
+
assign_to: CreateRetentionPolicyAssignmentRequestAssignTo;
|
|
45
|
+
filter_fields?: Array<PostFilterFields>;
|
|
46
|
+
start_date_field?: string;
|
|
47
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { FileFull, FolderFull, WebLink } from '../schemas.js';
|
|
2
|
+
export interface MetadataFieldFilterDateRange {
|
|
3
|
+
lt?: string;
|
|
4
|
+
gt?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface MetadataFieldFilterFloatRange {
|
|
7
|
+
lt?: number;
|
|
8
|
+
gt?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface MetadataFilter {
|
|
11
|
+
scope?: MetadataFilterScope;
|
|
12
|
+
templateKey?: string;
|
|
13
|
+
filters?: Record<string, MetadataFilterValue>;
|
|
14
|
+
}
|
|
15
|
+
export type MetadataFilterValue = unknown;
|
|
16
|
+
export interface MetadataQuery {
|
|
17
|
+
from: string;
|
|
18
|
+
query?: string;
|
|
19
|
+
query_params?: Record<string, unknown>;
|
|
20
|
+
ancestor_folder_id: string;
|
|
21
|
+
order_by?: Array<MetadataQueryOrderBy>;
|
|
22
|
+
limit?: number;
|
|
23
|
+
marker?: string;
|
|
24
|
+
fields?: Array<string>;
|
|
25
|
+
}
|
|
26
|
+
export type MetadataQueryResultItem = (FileFull & {
|
|
27
|
+
type: "file";
|
|
28
|
+
}) | (FolderFull & {
|
|
29
|
+
type: "folder";
|
|
30
|
+
}) | {
|
|
31
|
+
type: string;
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
export interface MetadataQueryResults {
|
|
35
|
+
entries?: Array<MetadataQueryResultItem>;
|
|
36
|
+
limit?: number;
|
|
37
|
+
next_marker?: string;
|
|
38
|
+
}
|
|
39
|
+
export type SearchResultItem = (FileFull & {
|
|
40
|
+
type: "file";
|
|
41
|
+
}) | (FolderFull & {
|
|
42
|
+
type: "folder";
|
|
43
|
+
}) | (WebLink & {
|
|
44
|
+
type: "web_link";
|
|
45
|
+
}) | {
|
|
46
|
+
type: string;
|
|
47
|
+
[key: string]: unknown;
|
|
48
|
+
};
|
|
49
|
+
export interface SearchResults {
|
|
50
|
+
total_count?: number;
|
|
51
|
+
limit?: number;
|
|
52
|
+
offset?: number;
|
|
53
|
+
type: SearchResultsType;
|
|
54
|
+
entries?: Array<SearchResultItem>;
|
|
55
|
+
}
|
|
56
|
+
export type SearchResultsResponse = (SearchResults & {
|
|
57
|
+
type: "search_results_items";
|
|
58
|
+
}) | (SearchResultsWithSharedLinks & {
|
|
59
|
+
type: "search_results_with_shared_links";
|
|
60
|
+
}) | {
|
|
61
|
+
type: string;
|
|
62
|
+
[key: string]: unknown;
|
|
63
|
+
};
|
|
64
|
+
export interface SearchResultsWithSharedLinks {
|
|
65
|
+
total_count?: number;
|
|
66
|
+
limit?: number;
|
|
67
|
+
offset?: number;
|
|
68
|
+
type: SearchResultsWithSharedLinksType;
|
|
69
|
+
entries?: Array<SearchResultWithSharedLink>;
|
|
70
|
+
}
|
|
71
|
+
export interface SearchResultWithSharedLink {
|
|
72
|
+
accessible_via_shared_link?: string;
|
|
73
|
+
item?: SearchResultWithSharedLinkItem;
|
|
74
|
+
type?: string;
|
|
75
|
+
}
|
|
76
|
+
export type SearchResultWithSharedLinkItem = (FileFull & {
|
|
77
|
+
type: "file";
|
|
78
|
+
}) | (FolderFull & {
|
|
79
|
+
type: "folder";
|
|
80
|
+
}) | (WebLink & {
|
|
81
|
+
type: "web_link";
|
|
82
|
+
}) | {
|
|
83
|
+
type: string;
|
|
84
|
+
[key: string]: unknown;
|
|
85
|
+
};
|
|
86
|
+
export type MetadataFilterScope = "global" | "enterprise" | "enterprise_{enterprise_id}" | (string & {});
|
|
87
|
+
export type OrderByDirection = "ASC" | "DESC" | "asc" | "desc" | (string & {});
|
|
88
|
+
export interface MetadataQueryOrderBy {
|
|
89
|
+
field_key?: string;
|
|
90
|
+
direction?: OrderByDirection;
|
|
91
|
+
}
|
|
92
|
+
export type SearchResultsType = "search_results_items" | (string & {});
|
|
93
|
+
export type SearchResultsWithSharedLinksType = "search_results_with_shared_links" | (string & {});
|
|
94
|
+
export type GetScope = "user_content" | "enterprise_content" | (string & {});
|
|
95
|
+
export type GetContentTypes = "name" | "description" | "file_content" | "comments" | "tags" | (string & {});
|
|
96
|
+
export type GetType = "file" | "folder" | "web_link" | (string & {});
|
|
97
|
+
export type GetTrashContent = "non_trashed_only" | "trashed_only" | "all_items" | (string & {});
|
|
98
|
+
export type GetSort = "modified_at" | "relevance" | (string & {});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface SessionTerminationMessage {
|
|
2
|
+
message?: string;
|
|
3
|
+
}
|
|
4
|
+
export interface CreateUserTerminateSessionsRequest {
|
|
5
|
+
user_ids: Array<string>;
|
|
6
|
+
user_logins: Array<string>;
|
|
7
|
+
}
|
|
8
|
+
export interface CreateGroupTerminateSessionsRequest {
|
|
9
|
+
group_ids: Array<string>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { SharedLinkAccess, UpdateFileAddSharedLinkRequestSharedLinkPermissions } from '../schemas.js';
|
|
2
|
+
export interface PutFolderIdUpdateSharedLinkSharedLink {
|
|
3
|
+
access?: SharedLinkAccess;
|
|
4
|
+
password?: string;
|
|
5
|
+
vanity_name?: string;
|
|
6
|
+
unshared_at?: string;
|
|
7
|
+
permissions?: UpdateFileAddSharedLinkRequestSharedLinkPermissions;
|
|
8
|
+
}
|
|
9
|
+
export interface UpdateFolderUpdateSharedLinkRequest {
|
|
10
|
+
shared_link?: PutFolderIdUpdateSharedLinkSharedLink;
|
|
11
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ShieldInformationBarrierBase, UserBase } from '../schemas.js';
|
|
2
|
+
export interface ShieldInformationBarrierReference {
|
|
3
|
+
shield_information_barrier?: ShieldInformationBarrierBase;
|
|
4
|
+
}
|
|
5
|
+
export interface ShieldInformationBarrierReport {
|
|
6
|
+
id?: string;
|
|
7
|
+
type?: ShieldInformationBarrierReportType;
|
|
8
|
+
shield_information_barrier?: ShieldInformationBarrierReference;
|
|
9
|
+
status?: ShieldInformationBarrierReportStatus;
|
|
10
|
+
details?: ShieldInformationBarrierReportDetails;
|
|
11
|
+
created_at?: string;
|
|
12
|
+
created_by?: UserBase;
|
|
13
|
+
updated_at?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ShieldInformationBarrierReportDetails {
|
|
16
|
+
details?: ShieldInformationBarrierReportDetailsDetails;
|
|
17
|
+
}
|
|
18
|
+
export interface ShieldInformationBarrierReports {
|
|
19
|
+
limit?: number;
|
|
20
|
+
next_marker?: string | null;
|
|
21
|
+
entries?: Array<ShieldInformationBarrierReport>;
|
|
22
|
+
}
|
|
23
|
+
export type ShieldInformationBarrierReportType = "shield_information_barrier_report" | (string & {});
|
|
24
|
+
export type ShieldInformationBarrierReportStatus = "pending" | "error" | "done" | "cancelled" | (string & {});
|
|
25
|
+
export interface ShieldInformationBarrierReportDetailsDetails {
|
|
26
|
+
folder_id?: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ShieldInformationBarrierBase, ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegment, UserBase } from '../schemas.js';
|
|
2
|
+
export interface ShieldInformationBarrierSegmentMember {
|
|
3
|
+
id?: string;
|
|
4
|
+
type?: ShieldInformationBarrierSegmentMemberType;
|
|
5
|
+
user?: UserBase;
|
|
6
|
+
shield_information_barrier?: ShieldInformationBarrierBase;
|
|
7
|
+
shield_information_barrier_segment?: ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegment;
|
|
8
|
+
created_at?: string;
|
|
9
|
+
created_by?: UserBase;
|
|
10
|
+
updated_at?: string;
|
|
11
|
+
updated_by?: UserBase;
|
|
12
|
+
}
|
|
13
|
+
export interface ShieldInformationBarrierSegmentMembers {
|
|
14
|
+
limit?: number;
|
|
15
|
+
next_marker?: string | null;
|
|
16
|
+
entries?: Array<ShieldInformationBarrierSegmentMember>;
|
|
17
|
+
}
|
|
18
|
+
export type ShieldInformationBarrierSegmentMemberType = "shield_information_barrier_segment_member" | (string & {});
|
|
19
|
+
export interface CreateShieldInformationBarrierSegmentMemberRequest {
|
|
20
|
+
type?: ShieldInformationBarrierSegmentMemberType;
|
|
21
|
+
shield_information_barrier?: ShieldInformationBarrierBase;
|
|
22
|
+
shield_information_barrier_segment: ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegment;
|
|
23
|
+
user: UserBase;
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ShieldInformationBarrierBase, ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegment, UserBase } from '../schemas.js';
|
|
2
|
+
export interface ShieldInformationBarrierSegmentRestriction {
|
|
3
|
+
type?: ShieldInformationBarrierSegmentRestrictionType;
|
|
4
|
+
id?: string;
|
|
5
|
+
shield_information_barrier_segment: ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegment;
|
|
6
|
+
restricted_segment: ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegment;
|
|
7
|
+
shield_information_barrier?: ShieldInformationBarrierBase;
|
|
8
|
+
created_at?: string;
|
|
9
|
+
created_by?: UserBase;
|
|
10
|
+
updated_at?: string;
|
|
11
|
+
updated_by?: UserBase;
|
|
12
|
+
}
|
|
13
|
+
export interface ShieldInformationBarrierSegmentRestrictions {
|
|
14
|
+
limit?: number;
|
|
15
|
+
next_marker?: string | null;
|
|
16
|
+
entries?: Array<ShieldInformationBarrierSegmentRestriction>;
|
|
17
|
+
}
|
|
18
|
+
export type ShieldInformationBarrierSegmentRestrictionType = "shield_information_barrier_segment_restriction" | (string & {});
|
|
19
|
+
export interface CreateShieldInformationBarrierSegmentRestrictionRequest {
|
|
20
|
+
type: ShieldInformationBarrierSegmentRestrictionType;
|
|
21
|
+
shield_information_barrier?: ShieldInformationBarrierBase;
|
|
22
|
+
shield_information_barrier_segment: ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegment;
|
|
23
|
+
restricted_segment: ShieldInformationBarrierSegmentMemberShieldInformationBarrierSegment;
|
|
24
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ShieldInformationBarrierBase, ShieldInformationBarrierSegmentType, UserBase } from '../schemas.js';
|
|
2
|
+
export interface ShieldInformationBarrierSegment {
|
|
3
|
+
id?: string;
|
|
4
|
+
type?: ShieldInformationBarrierSegmentType;
|
|
5
|
+
shield_information_barrier?: ShieldInformationBarrierBase;
|
|
6
|
+
name?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
created_at?: string;
|
|
9
|
+
created_by?: UserBase;
|
|
10
|
+
updated_at?: string;
|
|
11
|
+
updated_by?: UserBase;
|
|
12
|
+
}
|
|
13
|
+
export interface ShieldInformationBarrierSegments {
|
|
14
|
+
limit?: number;
|
|
15
|
+
next_marker?: string | null;
|
|
16
|
+
entries?: Array<ShieldInformationBarrierSegment>;
|
|
17
|
+
}
|
|
18
|
+
export interface UpdateShieldInformationBarrierSegmentRequest {
|
|
19
|
+
name?: string;
|
|
20
|
+
description?: string | null;
|
|
21
|
+
}
|
|
22
|
+
export interface CreateShieldInformationBarrierSegmentRequest {
|
|
23
|
+
shield_information_barrier: ShieldInformationBarrierBase;
|
|
24
|
+
name: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { EnterpriseType, ShieldInformationBarrierType, UserBase } from '../schemas.js';
|
|
2
|
+
export interface EnterpriseBase {
|
|
3
|
+
id?: string;
|
|
4
|
+
type?: EnterpriseType;
|
|
5
|
+
}
|
|
6
|
+
export interface ShieldInformationBarrier {
|
|
7
|
+
id?: string;
|
|
8
|
+
type?: ShieldInformationBarrierType;
|
|
9
|
+
enterprise?: EnterpriseBase;
|
|
10
|
+
status?: ShieldInformationBarrierStatus;
|
|
11
|
+
created_at?: string;
|
|
12
|
+
created_by?: UserBase;
|
|
13
|
+
updated_at?: string;
|
|
14
|
+
updated_by?: UserBase;
|
|
15
|
+
enabled_at?: string;
|
|
16
|
+
enabled_by?: UserBase;
|
|
17
|
+
}
|
|
18
|
+
export interface ShieldInformationBarriers {
|
|
19
|
+
limit?: number;
|
|
20
|
+
next_marker?: string | null;
|
|
21
|
+
entries?: Array<ShieldInformationBarrier>;
|
|
22
|
+
}
|
|
23
|
+
export type ShieldInformationBarrierStatus = "draft" | "pending" | "disabled" | "enabled" | "invalid" | (string & {});
|
|
24
|
+
export type PostChangeStatusStatus = "pending" | "disabled" | (string & {});
|
|
25
|
+
export interface CreateChangeStatusRequest {
|
|
26
|
+
id: string;
|
|
27
|
+
status: PostChangeStatusStatus;
|
|
28
|
+
}
|
|
29
|
+
export interface CreateShieldInformationBarrierRequest {
|
|
30
|
+
enterprise: EnterpriseBase;
|
|
31
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { EnterpriseReference } from '../schemas.js';
|
|
2
|
+
export interface ShieldList {
|
|
3
|
+
id: string;
|
|
4
|
+
type: string;
|
|
5
|
+
name: string;
|
|
6
|
+
enterprise: EnterpriseReference;
|
|
7
|
+
description?: string;
|
|
8
|
+
created_at: string;
|
|
9
|
+
updated_at: string;
|
|
10
|
+
content: ShieldListContent;
|
|
11
|
+
}
|
|
12
|
+
export interface ShieldListMini {
|
|
13
|
+
id: string;
|
|
14
|
+
type: ShieldListMiniType;
|
|
15
|
+
name: string;
|
|
16
|
+
content: ShieldListMiniContent;
|
|
17
|
+
}
|
|
18
|
+
export type ShieldListContent = (ShieldListContentCountry & {
|
|
19
|
+
type: "country";
|
|
20
|
+
}) | (ShieldListContentDomain & {
|
|
21
|
+
type: "domain";
|
|
22
|
+
}) | (ShieldListContentEmail & {
|
|
23
|
+
type: "email";
|
|
24
|
+
}) | (ShieldListContentIp & {
|
|
25
|
+
type: "ip";
|
|
26
|
+
}) | (ShieldListContentIntegration & {
|
|
27
|
+
type: "integration";
|
|
28
|
+
}) | {
|
|
29
|
+
type: string;
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
export interface ShieldListContentCountry {
|
|
33
|
+
type: ShieldListContentCountryType;
|
|
34
|
+
country_codes: Array<string>;
|
|
35
|
+
}
|
|
36
|
+
export interface ShieldListContentDomain {
|
|
37
|
+
type: ShieldListContentDomainType;
|
|
38
|
+
domains: Array<string>;
|
|
39
|
+
}
|
|
40
|
+
export interface ShieldListContentEmail {
|
|
41
|
+
type: ShieldListContentEmailType;
|
|
42
|
+
email_addresses: Array<string>;
|
|
43
|
+
}
|
|
44
|
+
export interface ShieldListContentIntegration {
|
|
45
|
+
type: ShieldListContentIntegrationType;
|
|
46
|
+
integrations: Array<ShieldListContentIntegrationIntegrations>;
|
|
47
|
+
}
|
|
48
|
+
export interface ShieldListContentIp {
|
|
49
|
+
type: ShieldListContentIpType;
|
|
50
|
+
ip_addresses: Array<string>;
|
|
51
|
+
}
|
|
52
|
+
export type ShieldListContentRequest = (ShieldListContentCountry & {
|
|
53
|
+
type: "country";
|
|
54
|
+
}) | (ShieldListContentDomain & {
|
|
55
|
+
type: "domain";
|
|
56
|
+
}) | (ShieldListContentEmail & {
|
|
57
|
+
type: "email";
|
|
58
|
+
}) | (ShieldListContentIp & {
|
|
59
|
+
type: "ip";
|
|
60
|
+
}) | {
|
|
61
|
+
type: string;
|
|
62
|
+
[key: string]: unknown;
|
|
63
|
+
};
|
|
64
|
+
export interface ShieldLists {
|
|
65
|
+
entries?: Array<ShieldListMini>;
|
|
66
|
+
}
|
|
67
|
+
export interface ShieldListsCreate {
|
|
68
|
+
name: string;
|
|
69
|
+
description?: string;
|
|
70
|
+
content: ShieldListContentRequest;
|
|
71
|
+
}
|
|
72
|
+
export interface ShieldListsUpdate {
|
|
73
|
+
name: string;
|
|
74
|
+
description?: string;
|
|
75
|
+
content: ShieldListContentRequest;
|
|
76
|
+
}
|
|
77
|
+
export type ShieldListMiniType = "shield_list" | (string & {});
|
|
78
|
+
export interface ShieldListMiniContent {
|
|
79
|
+
type?: string;
|
|
80
|
+
}
|
|
81
|
+
export type ShieldListContentCountryType = "country" | (string & {});
|
|
82
|
+
export type ShieldListContentDomainType = "domain" | (string & {});
|
|
83
|
+
export type ShieldListContentEmailType = "email" | (string & {});
|
|
84
|
+
export type ShieldListContentIntegrationType = "integration" | (string & {});
|
|
85
|
+
export interface ShieldListContentIntegrationIntegrations {
|
|
86
|
+
id?: string;
|
|
87
|
+
}
|
|
88
|
+
export type ShieldListContentIpType = "ip" | (string & {});
|