box-node-sdk 10.1.0 → 10.2.0
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 +4 -4
- package/lib/box/errors.d.ts.map +1 -1
- package/lib/box/errors.js +2 -0
- package/lib/box/errors.js.map +1 -1
- package/lib/box/jwtAuth.d.ts +1 -1
- package/lib/box/jwtAuth.d.ts.map +1 -1
- package/lib/bundle.js +87 -40
- package/lib/bundle.js.map +1 -1
- package/lib/managers/ai.d.ts +17 -14
- package/lib/managers/ai.d.ts.map +1 -1
- package/lib/managers/ai.js +7 -4
- package/lib/managers/ai.js.map +1 -1
- package/lib/managers/aiStudio.d.ts +9 -9
- package/lib/managers/aiStudio.d.ts.map +1 -1
- package/lib/managers/aiStudio.js.map +1 -1
- package/lib/managers/appItemAssociations.d.ts +4 -4
- package/lib/managers/appItemAssociations.d.ts.map +1 -1
- package/lib/managers/appItemAssociations.js.map +1 -1
- package/lib/managers/archives.d.ts +7 -7
- package/lib/managers/archives.d.ts.map +1 -1
- package/lib/managers/archives.js.map +1 -1
- package/lib/managers/authorization.d.ts +8 -8
- package/lib/managers/authorization.d.ts.map +1 -1
- package/lib/managers/authorization.js.map +1 -1
- package/lib/managers/avatars.d.ts +6 -6
- package/lib/managers/avatars.d.ts.map +1 -1
- package/lib/managers/avatars.js.map +1 -1
- package/lib/managers/chunkedUploads.d.ts +24 -24
- package/lib/managers/chunkedUploads.d.ts.map +1 -1
- package/lib/managers/chunkedUploads.js.map +1 -1
- package/lib/managers/classifications.d.ts +7 -7
- package/lib/managers/classifications.d.ts.map +1 -1
- package/lib/managers/classifications.js.map +1 -1
- package/lib/managers/collaborationAllowlistEntries.d.ts +7 -7
- package/lib/managers/collaborationAllowlistEntries.d.ts.map +1 -1
- package/lib/managers/collaborationAllowlistEntries.js.map +1 -1
- package/lib/managers/collaborationAllowlistExemptTargets.d.ts +7 -7
- package/lib/managers/collaborationAllowlistExemptTargets.d.ts.map +1 -1
- package/lib/managers/collaborationAllowlistExemptTargets.js.map +1 -1
- package/lib/managers/collections.d.ts +5 -5
- package/lib/managers/collections.d.ts.map +1 -1
- package/lib/managers/collections.js.map +1 -1
- package/lib/managers/comments.d.ts +10 -10
- package/lib/managers/comments.d.ts.map +1 -1
- package/lib/managers/comments.js.map +1 -1
- package/lib/managers/devicePinners.d.ts +6 -6
- package/lib/managers/devicePinners.d.ts.map +1 -1
- package/lib/managers/devicePinners.js.map +1 -1
- package/lib/managers/docgen.d.ts +7 -7
- package/lib/managers/docgen.d.ts.map +1 -1
- package/lib/managers/docgen.js.map +1 -1
- package/lib/managers/docgenTemplate.d.ts +11 -11
- package/lib/managers/docgenTemplate.d.ts.map +1 -1
- package/lib/managers/docgenTemplate.js.map +1 -1
- package/lib/managers/downloads.d.ts +4 -4
- package/lib/managers/downloads.d.ts.map +1 -1
- package/lib/managers/downloads.js.map +1 -1
- package/lib/managers/emailAliases.d.ts +6 -6
- package/lib/managers/emailAliases.d.ts.map +1 -1
- package/lib/managers/emailAliases.js.map +1 -1
- package/lib/managers/enterpriseConfigurations.d.ts +2 -2
- package/lib/managers/enterpriseConfigurations.d.ts.map +1 -1
- package/lib/managers/enterpriseConfigurations.js.map +1 -1
- package/lib/managers/events.d.ts +3 -3
- package/lib/managers/events.d.ts.map +1 -1
- package/lib/managers/events.js.map +1 -1
- package/lib/managers/externalUsers.d.ts +2 -2
- package/lib/managers/externalUsers.d.ts.map +1 -1
- package/lib/managers/externalUsers.js.map +1 -1
- package/lib/managers/fileClassifications.d.ts +8 -8
- package/lib/managers/fileClassifications.d.ts.map +1 -1
- package/lib/managers/fileClassifications.js.map +1 -1
- package/lib/managers/fileMetadata.d.ts +10 -10
- package/lib/managers/fileMetadata.d.ts.map +1 -1
- package/lib/managers/fileMetadata.js.map +1 -1
- package/lib/managers/fileRequests.d.ts +8 -8
- package/lib/managers/fileRequests.d.ts.map +1 -1
- package/lib/managers/fileRequests.js.map +1 -1
- package/lib/managers/fileVersionLegalHolds.d.ts +4 -4
- package/lib/managers/fileVersionLegalHolds.d.ts.map +1 -1
- package/lib/managers/fileVersionLegalHolds.js.map +1 -1
- package/lib/managers/fileVersionRetentions.d.ts +3 -3
- package/lib/managers/fileVersionRetentions.d.ts.map +1 -1
- package/lib/managers/fileVersionRetentions.js.map +1 -1
- package/lib/managers/fileVersions.d.ts +10 -10
- package/lib/managers/fileVersions.d.ts.map +1 -1
- package/lib/managers/fileVersions.js.map +1 -1
- package/lib/managers/fileWatermarks.d.ts +6 -6
- package/lib/managers/fileWatermarks.d.ts.map +1 -1
- package/lib/managers/fileWatermarks.js.map +1 -1
- package/lib/managers/files.d.ts +12 -12
- package/lib/managers/files.d.ts.map +1 -1
- package/lib/managers/files.js.map +1 -1
- package/lib/managers/folderClassifications.d.ts +8 -8
- package/lib/managers/folderClassifications.d.ts.map +1 -1
- package/lib/managers/folderClassifications.js.map +1 -1
- package/lib/managers/folderLocks.d.ts +6 -6
- package/lib/managers/folderLocks.d.ts.map +1 -1
- package/lib/managers/folderLocks.js.map +1 -1
- package/lib/managers/folderMetadata.d.ts +10 -10
- package/lib/managers/folderMetadata.d.ts.map +1 -1
- package/lib/managers/folderMetadata.js.map +1 -1
- package/lib/managers/folderWatermarks.d.ts +6 -6
- package/lib/managers/folderWatermarks.d.ts.map +1 -1
- package/lib/managers/folderWatermarks.js.map +1 -1
- package/lib/managers/folders.d.ts +12 -12
- package/lib/managers/folders.d.ts.map +1 -1
- package/lib/managers/folders.js.map +1 -1
- package/lib/managers/groups.d.ts +9 -9
- package/lib/managers/groups.d.ts.map +1 -1
- package/lib/managers/groups.js.map +1 -1
- package/lib/managers/hubCollaborations.d.ts +10 -10
- package/lib/managers/hubCollaborations.d.ts.map +1 -1
- package/lib/managers/hubCollaborations.js.map +1 -1
- package/lib/managers/hubItems.d.ts +4 -4
- package/lib/managers/hubItems.d.ts.map +1 -1
- package/lib/managers/hubItems.js.map +1 -1
- package/lib/managers/hubs.d.ts +12 -12
- package/lib/managers/hubs.d.ts.map +1 -1
- package/lib/managers/hubs.js.map +1 -1
- package/lib/managers/integrationMappings.d.ts +14 -14
- package/lib/managers/integrationMappings.d.ts.map +1 -1
- package/lib/managers/integrationMappings.js.map +1 -1
- package/lib/managers/invites.d.ts +4 -4
- package/lib/managers/invites.d.ts.map +1 -1
- package/lib/managers/invites.js.map +1 -1
- package/lib/managers/legalHoldPolicies.d.ts +9 -9
- package/lib/managers/legalHoldPolicies.d.ts.map +1 -1
- package/lib/managers/legalHoldPolicies.js.map +1 -1
- package/lib/managers/legalHoldPolicyAssignments.d.ts +10 -10
- package/lib/managers/legalHoldPolicyAssignments.d.ts.map +1 -1
- package/lib/managers/legalHoldPolicyAssignments.js.map +1 -1
- package/lib/managers/listCollaborations.d.ts +8 -8
- package/lib/managers/listCollaborations.d.ts.map +1 -1
- package/lib/managers/listCollaborations.js.map +1 -1
- package/lib/managers/memberships.d.ts +12 -12
- package/lib/managers/memberships.d.ts.map +1 -1
- package/lib/managers/memberships.js.map +1 -1
- package/lib/managers/metadataCascadePolicies.d.ts +10 -10
- package/lib/managers/metadataCascadePolicies.d.ts.map +1 -1
- package/lib/managers/metadataCascadePolicies.js.map +1 -1
- package/lib/managers/metadataTemplates.d.ts +14 -14
- package/lib/managers/metadataTemplates.d.ts.map +1 -1
- package/lib/managers/metadataTemplates.js.map +1 -1
- package/lib/managers/recentItems.d.ts +1 -1
- package/lib/managers/recentItems.d.ts.map +1 -1
- package/lib/managers/recentItems.js.map +1 -1
- package/lib/managers/retentionPolicies.d.ts +9 -9
- package/lib/managers/retentionPolicies.d.ts.map +1 -1
- package/lib/managers/retentionPolicies.js.map +1 -1
- package/lib/managers/retentionPolicyAssignments.d.ts +10 -10
- package/lib/managers/retentionPolicyAssignments.d.ts.map +1 -1
- package/lib/managers/retentionPolicyAssignments.js.map +1 -1
- package/lib/managers/search.d.ts +3 -3
- package/lib/managers/search.d.ts.map +1 -1
- package/lib/managers/search.js.map +1 -1
- package/lib/managers/sessionTermination.d.ts +4 -4
- package/lib/managers/sessionTermination.d.ts.map +1 -1
- package/lib/managers/sessionTermination.js.map +1 -1
- package/lib/managers/sharedLinksAppItems.d.ts +2 -2
- package/lib/managers/sharedLinksAppItems.d.ts.map +1 -1
- package/lib/managers/sharedLinksAppItems.js.map +1 -1
- package/lib/managers/sharedLinksFiles.d.ts +10 -10
- package/lib/managers/sharedLinksFiles.d.ts.map +1 -1
- package/lib/managers/sharedLinksFiles.js.map +1 -1
- package/lib/managers/sharedLinksFolders.d.ts +10 -10
- package/lib/managers/sharedLinksFolders.d.ts.map +1 -1
- package/lib/managers/sharedLinksFolders.js.map +1 -1
- package/lib/managers/sharedLinksWebLinks.d.ts +10 -10
- package/lib/managers/sharedLinksWebLinks.d.ts.map +1 -1
- package/lib/managers/sharedLinksWebLinks.js.map +1 -1
- package/lib/managers/shieldInformationBarrierReports.d.ts +6 -6
- package/lib/managers/shieldInformationBarrierReports.d.ts.map +1 -1
- package/lib/managers/shieldInformationBarrierReports.js.map +1 -1
- package/lib/managers/shieldInformationBarrierSegmentMembers.d.ts +8 -8
- package/lib/managers/shieldInformationBarrierSegmentMembers.d.ts.map +1 -1
- package/lib/managers/shieldInformationBarrierSegmentMembers.js.map +1 -1
- package/lib/managers/shieldInformationBarrierSegmentRestrictions.d.ts +8 -8
- package/lib/managers/shieldInformationBarrierSegmentRestrictions.d.ts.map +1 -1
- package/lib/managers/shieldInformationBarrierSegmentRestrictions.js.map +1 -1
- package/lib/managers/shieldInformationBarrierSegments.d.ts +10 -10
- package/lib/managers/shieldInformationBarrierSegments.d.ts.map +1 -1
- package/lib/managers/shieldInformationBarrierSegments.js.map +1 -1
- package/lib/managers/shieldInformationBarriers.d.ts +7 -7
- package/lib/managers/shieldInformationBarriers.d.ts.map +1 -1
- package/lib/managers/shieldInformationBarriers.js.map +1 -1
- package/lib/managers/shieldLists.d.ts +9 -9
- package/lib/managers/shieldLists.d.ts.map +1 -1
- package/lib/managers/shieldLists.js.map +1 -1
- package/lib/managers/signRequests.d.ts +9 -9
- package/lib/managers/signRequests.d.ts.map +1 -1
- package/lib/managers/signRequests.js.map +1 -1
- package/lib/managers/signTemplates.d.ts +3 -3
- package/lib/managers/signTemplates.d.ts.map +1 -1
- package/lib/managers/signTemplates.js.map +1 -1
- package/lib/managers/skills.d.ts +10 -10
- package/lib/managers/skills.d.ts.map +1 -1
- package/lib/managers/skills.js.map +1 -1
- package/lib/managers/storagePolicies.d.ts +3 -3
- package/lib/managers/storagePolicies.d.ts.map +1 -1
- package/lib/managers/storagePolicies.js.map +1 -1
- package/lib/managers/storagePolicyAssignments.d.ts +10 -10
- package/lib/managers/storagePolicyAssignments.d.ts.map +1 -1
- package/lib/managers/storagePolicyAssignments.js.map +1 -1
- package/lib/managers/taskAssignments.d.ts +10 -10
- package/lib/managers/taskAssignments.d.ts.map +1 -1
- package/lib/managers/taskAssignments.js.map +1 -1
- package/lib/managers/tasks.d.ts +10 -10
- package/lib/managers/tasks.d.ts.map +1 -1
- package/lib/managers/tasks.js.map +1 -1
- package/lib/managers/termsOfServiceUserStatuses.d.ts +6 -6
- package/lib/managers/termsOfServiceUserStatuses.d.ts.map +1 -1
- package/lib/managers/termsOfServiceUserStatuses.js.map +1 -1
- package/lib/managers/termsOfServices.d.ts +7 -7
- package/lib/managers/termsOfServices.d.ts.map +1 -1
- package/lib/managers/termsOfServices.js.map +1 -1
- package/lib/managers/transfer.d.ts +3 -3
- package/lib/managers/transfer.d.ts.map +1 -1
- package/lib/managers/transfer.js +1 -1
- package/lib/managers/transfer.js.map +1 -1
- package/lib/managers/trashedFiles.d.ts +6 -6
- package/lib/managers/trashedFiles.d.ts.map +1 -1
- package/lib/managers/trashedFiles.js.map +1 -1
- package/lib/managers/trashedFolders.d.ts +6 -6
- package/lib/managers/trashedFolders.d.ts.map +1 -1
- package/lib/managers/trashedFolders.js.map +1 -1
- package/lib/managers/trashedItems.d.ts +1 -1
- package/lib/managers/trashedItems.d.ts.map +1 -1
- package/lib/managers/trashedItems.js.map +1 -1
- package/lib/managers/trashedWebLinks.d.ts +6 -6
- package/lib/managers/trashedWebLinks.d.ts.map +1 -1
- package/lib/managers/trashedWebLinks.js.map +1 -1
- package/lib/managers/uploads.d.ts +7 -7
- package/lib/managers/uploads.d.ts.map +1 -1
- package/lib/managers/uploads.js.map +1 -1
- package/lib/managers/userCollaborations.d.ts +22 -14
- package/lib/managers/userCollaborations.d.ts.map +1 -1
- package/lib/managers/userCollaborations.js.map +1 -1
- package/lib/managers/users.d.ts +10 -10
- package/lib/managers/users.d.ts.map +1 -1
- package/lib/managers/users.js.map +1 -1
- package/lib/managers/webLinks.d.ts +8 -8
- package/lib/managers/webLinks.d.ts.map +1 -1
- package/lib/managers/webLinks.js.map +1 -1
- package/lib/managers/webhooks.d.ts +11 -11
- package/lib/managers/webhooks.d.ts.map +1 -1
- package/lib/managers/webhooks.js.map +1 -1
- package/lib/managers/workflows.d.ts +4 -4
- package/lib/managers/workflows.d.ts.map +1 -1
- package/lib/managers/workflows.js.map +1 -1
- package/lib/managers/zipDownloads.d.ts +8 -8
- package/lib/managers/zipDownloads.d.ts.map +1 -1
- package/lib/managers/zipDownloads.js.map +1 -1
- package/lib/networking/boxNetworkClient.d.ts.map +1 -1
- package/lib/networking/boxNetworkClient.js +11 -2
- package/lib/networking/boxNetworkClient.js.map +1 -1
- package/lib/networking/fetchOptions.d.ts +1 -1
- package/lib/networking/fetchOptions.d.ts.map +1 -1
- package/lib/networking/version.d.ts +1 -1
- package/lib/networking/version.js +1 -1
- package/lib/schemas/index.d.ts +2 -1
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +2 -1
- package/lib/schemas/index.js.map +1 -1
- package/lib/schemas/signRequest.d.ts +9 -0
- package/lib/schemas/signRequest.d.ts.map +1 -1
- package/lib/schemas/signRequest.js +28 -0
- package/lib/schemas/signRequest.js.map +1 -1
- package/lib/schemas/signRequestSigner.d.ts +4 -0
- package/lib/schemas/signRequestSigner.d.ts.map +1 -1
- package/lib/schemas/signRequestSigner.js +20 -0
- package/lib/schemas/signRequestSigner.js.map +1 -1
- package/lib/schemas/signRequestSignerAttachment.d.ts +13 -0
- package/lib/schemas/signRequestSignerAttachment.d.ts.map +1 -0
- package/lib/schemas/signRequestSignerAttachment.js +31 -0
- package/lib/schemas/signRequestSignerAttachment.js.map +1 -0
- package/lib/schemas/v2025R0/docGenJobFullV2025R0.d.ts.map +1 -1
- package/lib/schemas/v2025R0/docGenJobFullV2025R0.js +2 -6
- package/lib/schemas/v2025R0/docGenJobFullV2025R0.js.map +1 -1
- package/lib/schemas/v2025R0/docGenJobV2025R0.d.ts +2 -2
- package/lib/schemas/v2025R0/docGenJobV2025R0.d.ts.map +1 -1
- package/lib/schemas/v2025R0/docGenJobV2025R0.js +4 -12
- package/lib/schemas/v2025R0/docGenJobV2025R0.js.map +1 -1
- package/lib/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.d.ts +2 -2
- package/lib/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.d.ts.map +1 -1
- package/lib/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.js +4 -14
- package/lib/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.js.map +1 -1
- package/lib/schemas/v2025R0/enterpriseConfigurationV2025R0.d.ts +4 -4
- package/lib/schemas/v2025R0/enterpriseConfigurationV2025R0.d.ts.map +1 -1
- package/lib/schemas/v2025R0/enterpriseConfigurationV2025R0.js +8 -24
- package/lib/schemas/v2025R0/enterpriseConfigurationV2025R0.js.map +1 -1
- package/lib-esm/box/errors.js +2 -0
- package/lib-esm/box/errors.js.map +1 -1
- package/lib-esm/box/jwtAuth.d.ts +1 -1
- package/lib-esm/managers/ai.d.ts +17 -14
- package/lib-esm/managers/ai.js +7 -4
- package/lib-esm/managers/ai.js.map +1 -1
- package/lib-esm/managers/aiStudio.d.ts +9 -9
- package/lib-esm/managers/aiStudio.js.map +1 -1
- package/lib-esm/managers/appItemAssociations.d.ts +4 -4
- package/lib-esm/managers/appItemAssociations.js.map +1 -1
- package/lib-esm/managers/archives.d.ts +7 -7
- package/lib-esm/managers/archives.js.map +1 -1
- package/lib-esm/managers/authorization.d.ts +8 -8
- package/lib-esm/managers/authorization.js.map +1 -1
- package/lib-esm/managers/avatars.d.ts +6 -6
- package/lib-esm/managers/avatars.js.map +1 -1
- package/lib-esm/managers/chunkedUploads.d.ts +24 -24
- package/lib-esm/managers/chunkedUploads.js.map +1 -1
- package/lib-esm/managers/classifications.d.ts +7 -7
- package/lib-esm/managers/classifications.js.map +1 -1
- package/lib-esm/managers/collaborationAllowlistEntries.d.ts +7 -7
- package/lib-esm/managers/collaborationAllowlistEntries.js.map +1 -1
- package/lib-esm/managers/collaborationAllowlistExemptTargets.d.ts +7 -7
- package/lib-esm/managers/collaborationAllowlistExemptTargets.js.map +1 -1
- package/lib-esm/managers/collections.d.ts +5 -5
- package/lib-esm/managers/collections.js.map +1 -1
- package/lib-esm/managers/comments.d.ts +10 -10
- package/lib-esm/managers/comments.js.map +1 -1
- package/lib-esm/managers/devicePinners.d.ts +6 -6
- package/lib-esm/managers/devicePinners.js.map +1 -1
- package/lib-esm/managers/docgen.d.ts +7 -7
- package/lib-esm/managers/docgen.js.map +1 -1
- package/lib-esm/managers/docgenTemplate.d.ts +11 -11
- package/lib-esm/managers/docgenTemplate.js.map +1 -1
- package/lib-esm/managers/downloads.d.ts +4 -4
- package/lib-esm/managers/downloads.js.map +1 -1
- package/lib-esm/managers/emailAliases.d.ts +6 -6
- package/lib-esm/managers/emailAliases.js.map +1 -1
- package/lib-esm/managers/enterpriseConfigurations.d.ts +2 -2
- package/lib-esm/managers/enterpriseConfigurations.js.map +1 -1
- package/lib-esm/managers/events.d.ts +3 -3
- package/lib-esm/managers/events.js.map +1 -1
- package/lib-esm/managers/externalUsers.d.ts +2 -2
- package/lib-esm/managers/externalUsers.js.map +1 -1
- package/lib-esm/managers/fileClassifications.d.ts +8 -8
- package/lib-esm/managers/fileClassifications.js.map +1 -1
- package/lib-esm/managers/fileMetadata.d.ts +10 -10
- package/lib-esm/managers/fileMetadata.js.map +1 -1
- package/lib-esm/managers/fileRequests.d.ts +8 -8
- package/lib-esm/managers/fileRequests.js.map +1 -1
- package/lib-esm/managers/fileVersionLegalHolds.d.ts +4 -4
- package/lib-esm/managers/fileVersionLegalHolds.js.map +1 -1
- package/lib-esm/managers/fileVersionRetentions.d.ts +3 -3
- package/lib-esm/managers/fileVersionRetentions.js.map +1 -1
- package/lib-esm/managers/fileVersions.d.ts +10 -10
- package/lib-esm/managers/fileVersions.js.map +1 -1
- package/lib-esm/managers/fileWatermarks.d.ts +6 -6
- package/lib-esm/managers/fileWatermarks.js.map +1 -1
- package/lib-esm/managers/files.d.ts +12 -12
- package/lib-esm/managers/files.js.map +1 -1
- package/lib-esm/managers/folderClassifications.d.ts +8 -8
- package/lib-esm/managers/folderClassifications.js.map +1 -1
- package/lib-esm/managers/folderLocks.d.ts +6 -6
- package/lib-esm/managers/folderLocks.js.map +1 -1
- package/lib-esm/managers/folderMetadata.d.ts +10 -10
- package/lib-esm/managers/folderMetadata.js.map +1 -1
- package/lib-esm/managers/folderWatermarks.d.ts +6 -6
- package/lib-esm/managers/folderWatermarks.js.map +1 -1
- package/lib-esm/managers/folders.d.ts +12 -12
- package/lib-esm/managers/folders.js.map +1 -1
- package/lib-esm/managers/groups.d.ts +9 -9
- package/lib-esm/managers/groups.js.map +1 -1
- package/lib-esm/managers/hubCollaborations.d.ts +10 -10
- package/lib-esm/managers/hubCollaborations.js.map +1 -1
- package/lib-esm/managers/hubItems.d.ts +4 -4
- package/lib-esm/managers/hubItems.js.map +1 -1
- package/lib-esm/managers/hubs.d.ts +12 -12
- package/lib-esm/managers/hubs.js.map +1 -1
- package/lib-esm/managers/integrationMappings.d.ts +14 -14
- package/lib-esm/managers/integrationMappings.js.map +1 -1
- package/lib-esm/managers/invites.d.ts +4 -4
- package/lib-esm/managers/invites.js.map +1 -1
- package/lib-esm/managers/legalHoldPolicies.d.ts +9 -9
- package/lib-esm/managers/legalHoldPolicies.js.map +1 -1
- package/lib-esm/managers/legalHoldPolicyAssignments.d.ts +10 -10
- package/lib-esm/managers/legalHoldPolicyAssignments.js.map +1 -1
- package/lib-esm/managers/listCollaborations.d.ts +8 -8
- package/lib-esm/managers/listCollaborations.js.map +1 -1
- package/lib-esm/managers/memberships.d.ts +12 -12
- package/lib-esm/managers/memberships.js.map +1 -1
- package/lib-esm/managers/metadataCascadePolicies.d.ts +10 -10
- package/lib-esm/managers/metadataCascadePolicies.js.map +1 -1
- package/lib-esm/managers/metadataTemplates.d.ts +14 -14
- package/lib-esm/managers/metadataTemplates.js.map +1 -1
- package/lib-esm/managers/recentItems.d.ts +1 -1
- package/lib-esm/managers/recentItems.js.map +1 -1
- package/lib-esm/managers/retentionPolicies.d.ts +9 -9
- package/lib-esm/managers/retentionPolicies.js.map +1 -1
- package/lib-esm/managers/retentionPolicyAssignments.d.ts +10 -10
- package/lib-esm/managers/retentionPolicyAssignments.js.map +1 -1
- package/lib-esm/managers/search.d.ts +3 -3
- package/lib-esm/managers/search.js.map +1 -1
- package/lib-esm/managers/sessionTermination.d.ts +4 -4
- package/lib-esm/managers/sessionTermination.js.map +1 -1
- package/lib-esm/managers/sharedLinksAppItems.d.ts +2 -2
- package/lib-esm/managers/sharedLinksAppItems.js.map +1 -1
- package/lib-esm/managers/sharedLinksFiles.d.ts +10 -10
- package/lib-esm/managers/sharedLinksFiles.js.map +1 -1
- package/lib-esm/managers/sharedLinksFolders.d.ts +10 -10
- package/lib-esm/managers/sharedLinksFolders.js.map +1 -1
- package/lib-esm/managers/sharedLinksWebLinks.d.ts +10 -10
- package/lib-esm/managers/sharedLinksWebLinks.js.map +1 -1
- package/lib-esm/managers/shieldInformationBarrierReports.d.ts +6 -6
- package/lib-esm/managers/shieldInformationBarrierReports.js.map +1 -1
- package/lib-esm/managers/shieldInformationBarrierSegmentMembers.d.ts +8 -8
- package/lib-esm/managers/shieldInformationBarrierSegmentMembers.js.map +1 -1
- package/lib-esm/managers/shieldInformationBarrierSegmentRestrictions.d.ts +8 -8
- package/lib-esm/managers/shieldInformationBarrierSegmentRestrictions.js.map +1 -1
- package/lib-esm/managers/shieldInformationBarrierSegments.d.ts +10 -10
- package/lib-esm/managers/shieldInformationBarrierSegments.js.map +1 -1
- package/lib-esm/managers/shieldInformationBarriers.d.ts +7 -7
- package/lib-esm/managers/shieldInformationBarriers.js.map +1 -1
- package/lib-esm/managers/shieldLists.d.ts +9 -9
- package/lib-esm/managers/shieldLists.js.map +1 -1
- package/lib-esm/managers/signRequests.d.ts +9 -9
- package/lib-esm/managers/signRequests.js.map +1 -1
- package/lib-esm/managers/signTemplates.d.ts +3 -3
- package/lib-esm/managers/signTemplates.js.map +1 -1
- package/lib-esm/managers/skills.d.ts +10 -10
- package/lib-esm/managers/skills.js.map +1 -1
- package/lib-esm/managers/storagePolicies.d.ts +3 -3
- package/lib-esm/managers/storagePolicies.js.map +1 -1
- package/lib-esm/managers/storagePolicyAssignments.d.ts +10 -10
- package/lib-esm/managers/storagePolicyAssignments.js.map +1 -1
- package/lib-esm/managers/taskAssignments.d.ts +10 -10
- package/lib-esm/managers/taskAssignments.js.map +1 -1
- package/lib-esm/managers/tasks.d.ts +10 -10
- package/lib-esm/managers/tasks.js.map +1 -1
- package/lib-esm/managers/termsOfServiceUserStatuses.d.ts +6 -6
- package/lib-esm/managers/termsOfServiceUserStatuses.js.map +1 -1
- package/lib-esm/managers/termsOfServices.d.ts +7 -7
- package/lib-esm/managers/termsOfServices.js.map +1 -1
- package/lib-esm/managers/transfer.d.ts +3 -3
- package/lib-esm/managers/transfer.js +1 -1
- package/lib-esm/managers/transfer.js.map +1 -1
- package/lib-esm/managers/trashedFiles.d.ts +6 -6
- package/lib-esm/managers/trashedFiles.js.map +1 -1
- package/lib-esm/managers/trashedFolders.d.ts +6 -6
- package/lib-esm/managers/trashedFolders.js.map +1 -1
- package/lib-esm/managers/trashedItems.d.ts +1 -1
- package/lib-esm/managers/trashedItems.js.map +1 -1
- package/lib-esm/managers/trashedWebLinks.d.ts +6 -6
- package/lib-esm/managers/trashedWebLinks.js.map +1 -1
- package/lib-esm/managers/uploads.d.ts +7 -7
- package/lib-esm/managers/uploads.js.map +1 -1
- package/lib-esm/managers/userCollaborations.d.ts +22 -14
- package/lib-esm/managers/userCollaborations.js.map +1 -1
- package/lib-esm/managers/users.d.ts +10 -10
- package/lib-esm/managers/users.js.map +1 -1
- package/lib-esm/managers/webLinks.d.ts +8 -8
- package/lib-esm/managers/webLinks.js.map +1 -1
- package/lib-esm/managers/webhooks.d.ts +11 -11
- package/lib-esm/managers/webhooks.js.map +1 -1
- package/lib-esm/managers/workflows.d.ts +4 -4
- package/lib-esm/managers/workflows.js.map +1 -1
- package/lib-esm/managers/zipDownloads.d.ts +8 -8
- package/lib-esm/managers/zipDownloads.js.map +1 -1
- package/lib-esm/networking/boxNetworkClient.js +11 -2
- package/lib-esm/networking/boxNetworkClient.js.map +1 -1
- package/lib-esm/networking/fetchOptions.d.ts +1 -1
- package/lib-esm/networking/version.d.ts +1 -1
- package/lib-esm/networking/version.js +1 -1
- package/lib-esm/schemas/index.d.ts +2 -1
- package/lib-esm/schemas/index.js +2 -1
- package/lib-esm/schemas/index.js.map +1 -1
- package/lib-esm/schemas/signRequest.d.ts +9 -0
- package/lib-esm/schemas/signRequest.js +28 -0
- package/lib-esm/schemas/signRequest.js.map +1 -1
- package/lib-esm/schemas/signRequestSigner.d.ts +4 -0
- package/lib-esm/schemas/signRequestSigner.js +20 -0
- package/lib-esm/schemas/signRequestSigner.js.map +1 -1
- package/lib-esm/schemas/signRequestSignerAttachment.d.ts +12 -0
- package/lib-esm/schemas/signRequestSignerAttachment.js +31 -0
- package/lib-esm/schemas/signRequestSignerAttachment.js.map +1 -0
- package/lib-esm/schemas/v2025R0/docGenJobFullV2025R0.js +2 -6
- package/lib-esm/schemas/v2025R0/docGenJobFullV2025R0.js.map +1 -1
- package/lib-esm/schemas/v2025R0/docGenJobV2025R0.d.ts +2 -2
- package/lib-esm/schemas/v2025R0/docGenJobV2025R0.js +4 -12
- package/lib-esm/schemas/v2025R0/docGenJobV2025R0.js.map +1 -1
- package/lib-esm/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.d.ts +2 -2
- package/lib-esm/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.js +4 -14
- package/lib-esm/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.js.map +1 -1
- package/lib-esm/schemas/v2025R0/enterpriseConfigurationV2025R0.d.ts +4 -4
- package/lib-esm/schemas/v2025R0/enterpriseConfigurationV2025R0.js +8 -24
- package/lib-esm/schemas/v2025R0/enterpriseConfigurationV2025R0.js.map +1 -1
- package/package.json +1 -1
- package/src/box/errors.ts +2 -0
- package/src/box/jwtAuth.ts +1 -1
- package/src/managers/ai.ts +27 -34
- package/src/managers/aiStudio.ts +19 -29
- package/src/managers/appItemAssociations.ts +8 -12
- package/src/managers/archives.ts +15 -23
- package/src/managers/authorization.ts +16 -24
- package/src/managers/avatars.ts +12 -18
- package/src/managers/chunkedUploads.ts +48 -72
- package/src/managers/classifications.ts +15 -23
- package/src/managers/collaborationAllowlistEntries.ts +15 -23
- package/src/managers/collaborationAllowlistExemptTargets.ts +15 -23
- package/src/managers/collections.ts +11 -17
- package/src/managers/comments.ts +20 -30
- package/src/managers/devicePinners.ts +12 -18
- package/src/managers/docgen.ts +15 -23
- package/src/managers/docgenTemplate.ts +23 -35
- package/src/managers/downloads.ts +8 -12
- package/src/managers/emailAliases.ts +12 -18
- package/src/managers/enterpriseConfigurations.ts +4 -6
- package/src/managers/events.ts +9 -15
- package/src/managers/externalUsers.ts +4 -6
- package/src/managers/fileClassifications.ts +16 -24
- package/src/managers/fileMetadata.ts +20 -30
- package/src/managers/fileRequests.ts +16 -24
- package/src/managers/fileVersionLegalHolds.ts +8 -12
- package/src/managers/fileVersionRetentions.ts +7 -11
- package/src/managers/fileVersions.ts +20 -30
- package/src/managers/fileWatermarks.ts +12 -18
- package/src/managers/files.ts +24 -36
- package/src/managers/folderClassifications.ts +16 -24
- package/src/managers/folderLocks.ts +12 -18
- package/src/managers/folderMetadata.ts +20 -30
- package/src/managers/folderWatermarks.ts +12 -18
- package/src/managers/folders.ts +24 -36
- package/src/managers/groups.ts +19 -29
- package/src/managers/hubCollaborations.ts +20 -30
- package/src/managers/hubItems.ts +8 -12
- package/src/managers/hubs.ts +26 -40
- package/src/managers/integrationMappings.ts +30 -46
- package/src/managers/invites.ts +8 -12
- package/src/managers/legalHoldPolicies.ts +19 -29
- package/src/managers/legalHoldPolicyAssignments.ts +20 -30
- package/src/managers/listCollaborations.ts +16 -24
- package/src/managers/memberships.ts +24 -36
- package/src/managers/metadataCascadePolicies.ts +20 -30
- package/src/managers/metadataTemplates.ts +30 -46
- package/src/managers/recentItems.ts +3 -5
- package/src/managers/retentionPolicies.ts +19 -29
- package/src/managers/retentionPolicyAssignments.ts +20 -30
- package/src/managers/search.ts +7 -11
- package/src/managers/sessionTermination.ts +8 -12
- package/src/managers/sharedLinksAppItems.ts +4 -6
- package/src/managers/sharedLinksFiles.ts +20 -30
- package/src/managers/sharedLinksFolders.ts +20 -30
- package/src/managers/sharedLinksWebLinks.ts +20 -30
- package/src/managers/shieldInformationBarrierReports.ts +12 -18
- package/src/managers/shieldInformationBarrierSegmentMembers.ts +16 -24
- package/src/managers/shieldInformationBarrierSegmentRestrictions.ts +16 -24
- package/src/managers/shieldInformationBarrierSegments.ts +20 -30
- package/src/managers/shieldInformationBarriers.ts +15 -23
- package/src/managers/shieldLists.ts +19 -29
- package/src/managers/signRequests.ts +19 -29
- package/src/managers/signTemplates.ts +7 -11
- package/src/managers/skills.ts +20 -30
- package/src/managers/storagePolicies.ts +7 -11
- package/src/managers/storagePolicyAssignments.ts +20 -30
- package/src/managers/taskAssignments.ts +20 -30
- package/src/managers/tasks.ts +20 -30
- package/src/managers/termsOfServiceUserStatuses.ts +12 -18
- package/src/managers/termsOfServices.ts +15 -23
- package/src/managers/transfer.ts +5 -7
- package/src/managers/trashedFiles.ts +12 -18
- package/src/managers/trashedFolders.ts +12 -18
- package/src/managers/trashedItems.ts +3 -5
- package/src/managers/trashedWebLinks.ts +12 -18
- package/src/managers/uploads.ts +15 -23
- package/src/managers/userCollaborations.ts +30 -30
- package/src/managers/users.ts +22 -34
- package/src/managers/webLinks.ts +16 -24
- package/src/managers/webhooks.ts +21 -31
- package/src/managers/workflows.ts +8 -12
- package/src/managers/zipDownloads.ts +16 -24
- package/src/networking/boxNetworkClient.ts +19 -5
- package/src/networking/fetchOptions.ts +1 -1
- package/src/networking/version.ts +1 -1
- package/src/schemas/index.ts +2 -1
- package/src/schemas/signRequest.ts +42 -0
- package/src/schemas/signRequestSigner.ts +30 -0
- package/src/schemas/signRequestSignerAttachment.ts +46 -0
- package/src/schemas/v2025R0/docGenJobFullV2025R0.ts +4 -8
- package/src/schemas/v2025R0/docGenJobV2025R0.ts +8 -16
- package/src/schemas/v2025R0/enterpriseConfigurationSecurityV2025R0.ts +8 -18
- package/src/schemas/v2025R0/enterpriseConfigurationV2025R0.ts +23 -49
- package/src/test/ai.test.ts +23 -52
- package/src/test/aiStudio.test.ts +3 -3
- package/src/test/enterpriseConfigurations.test.ts +4 -4
|
@@ -47,7 +47,7 @@ export class CreateZipDownloadOptionals {
|
|
|
47
47
|
}
|
|
48
48
|
export interface CreateZipDownloadOptionalsInput {
|
|
49
49
|
readonly headers?: CreateZipDownloadHeaders;
|
|
50
|
-
readonly cancellationToken?:
|
|
50
|
+
readonly cancellationToken?: CancellationToken;
|
|
51
51
|
}
|
|
52
52
|
export class GetZipDownloadContentOptionals {
|
|
53
53
|
readonly headers: GetZipDownloadContentHeaders =
|
|
@@ -72,7 +72,7 @@ export class GetZipDownloadContentOptionals {
|
|
|
72
72
|
}
|
|
73
73
|
export interface GetZipDownloadContentOptionalsInput {
|
|
74
74
|
readonly headers?: GetZipDownloadContentHeaders;
|
|
75
|
-
readonly cancellationToken?:
|
|
75
|
+
readonly cancellationToken?: CancellationToken;
|
|
76
76
|
}
|
|
77
77
|
export class GetZipDownloadStatusOptionals {
|
|
78
78
|
readonly headers: GetZipDownloadStatusHeaders =
|
|
@@ -97,7 +97,7 @@ export class GetZipDownloadStatusOptionals {
|
|
|
97
97
|
}
|
|
98
98
|
export interface GetZipDownloadStatusOptionalsInput {
|
|
99
99
|
readonly headers?: GetZipDownloadStatusHeaders;
|
|
100
|
-
readonly cancellationToken?:
|
|
100
|
+
readonly cancellationToken?: CancellationToken;
|
|
101
101
|
}
|
|
102
102
|
export class DownloadZipOptionals {
|
|
103
103
|
readonly headers: DownloadZipHeaders = new DownloadZipHeaders({});
|
|
@@ -116,7 +116,7 @@ export class DownloadZipOptionals {
|
|
|
116
116
|
}
|
|
117
117
|
export interface DownloadZipOptionalsInput {
|
|
118
118
|
readonly headers?: DownloadZipHeaders;
|
|
119
|
-
readonly cancellationToken?:
|
|
119
|
+
readonly cancellationToken?: CancellationToken;
|
|
120
120
|
}
|
|
121
121
|
export class CreateZipDownloadHeaders {
|
|
122
122
|
/**
|
|
@@ -136,11 +136,9 @@ export class CreateZipDownloadHeaders {
|
|
|
136
136
|
export interface CreateZipDownloadHeadersInput {
|
|
137
137
|
/**
|
|
138
138
|
* Extra headers that will be included in the HTTP request. */
|
|
139
|
-
readonly extraHeaders?:
|
|
140
|
-
|
|
|
141
|
-
|
|
142
|
-
readonly [key: string]: undefined | string;
|
|
143
|
-
};
|
|
139
|
+
readonly extraHeaders?: {
|
|
140
|
+
readonly [key: string]: undefined | string;
|
|
141
|
+
};
|
|
144
142
|
}
|
|
145
143
|
export class GetZipDownloadContentHeaders {
|
|
146
144
|
/**
|
|
@@ -160,11 +158,9 @@ export class GetZipDownloadContentHeaders {
|
|
|
160
158
|
export interface GetZipDownloadContentHeadersInput {
|
|
161
159
|
/**
|
|
162
160
|
* Extra headers that will be included in the HTTP request. */
|
|
163
|
-
readonly extraHeaders?:
|
|
164
|
-
|
|
|
165
|
-
|
|
166
|
-
readonly [key: string]: undefined | string;
|
|
167
|
-
};
|
|
161
|
+
readonly extraHeaders?: {
|
|
162
|
+
readonly [key: string]: undefined | string;
|
|
163
|
+
};
|
|
168
164
|
}
|
|
169
165
|
export class GetZipDownloadStatusHeaders {
|
|
170
166
|
/**
|
|
@@ -184,11 +180,9 @@ export class GetZipDownloadStatusHeaders {
|
|
|
184
180
|
export interface GetZipDownloadStatusHeadersInput {
|
|
185
181
|
/**
|
|
186
182
|
* Extra headers that will be included in the HTTP request. */
|
|
187
|
-
readonly extraHeaders?:
|
|
188
|
-
|
|
|
189
|
-
|
|
190
|
-
readonly [key: string]: undefined | string;
|
|
191
|
-
};
|
|
183
|
+
readonly extraHeaders?: {
|
|
184
|
+
readonly [key: string]: undefined | string;
|
|
185
|
+
};
|
|
192
186
|
}
|
|
193
187
|
export class DownloadZipHeaders {
|
|
194
188
|
/**
|
|
@@ -208,11 +202,9 @@ export class DownloadZipHeaders {
|
|
|
208
202
|
export interface DownloadZipHeadersInput {
|
|
209
203
|
/**
|
|
210
204
|
* Extra headers that will be included in the HTTP request. */
|
|
211
|
-
readonly extraHeaders?:
|
|
212
|
-
|
|
|
213
|
-
|
|
214
|
-
readonly [key: string]: undefined | string;
|
|
215
|
-
};
|
|
205
|
+
readonly extraHeaders?: {
|
|
206
|
+
readonly [key: string]: undefined | string;
|
|
207
|
+
};
|
|
216
208
|
}
|
|
217
209
|
export class ZipDownloadsManager {
|
|
218
210
|
readonly auth?: Authentication;
|
|
@@ -302,9 +302,15 @@ export class BoxNetworkClient implements NetworkClient {
|
|
|
302
302
|
return fetchResponse;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
const [
|
|
306
|
-
|
|
307
|
-
|
|
305
|
+
const [
|
|
306
|
+
code,
|
|
307
|
+
contextInfo,
|
|
308
|
+
requestId,
|
|
309
|
+
helpUrl,
|
|
310
|
+
message,
|
|
311
|
+
error,
|
|
312
|
+
errorDescription,
|
|
313
|
+
] = sdIsMap(fetchResponse.data)
|
|
308
314
|
? [
|
|
309
315
|
sdToJson(fetchResponse.data['code']),
|
|
310
316
|
sdIsMap(fetchResponse.data['context_info'])
|
|
@@ -313,9 +319,10 @@ export class BoxNetworkClient implements NetworkClient {
|
|
|
313
319
|
sdToJson(fetchResponse.data['request_id']),
|
|
314
320
|
sdToJson(fetchResponse.data['help_url']),
|
|
315
321
|
sdToJson(fetchResponse.data['message']),
|
|
322
|
+
sdToJson(fetchResponse.data['error']),
|
|
323
|
+
sdToJson(fetchResponse.data['error_description']),
|
|
316
324
|
]
|
|
317
325
|
: [];
|
|
318
|
-
|
|
319
326
|
if (fetchResponse.status === 0) {
|
|
320
327
|
throw new BoxSdkError({
|
|
321
328
|
message: `Unexpected Error occurred`,
|
|
@@ -324,8 +331,15 @@ export class BoxNetworkClient implements NetworkClient {
|
|
|
324
331
|
});
|
|
325
332
|
}
|
|
326
333
|
|
|
334
|
+
const errorMessage = [
|
|
335
|
+
[fetchResponse.status, code, message].filter(Boolean).join(' '),
|
|
336
|
+
requestId && `Request ID: ${requestId}`,
|
|
337
|
+
error && `${error} - ${errorDescription}`,
|
|
338
|
+
]
|
|
339
|
+
.filter(Boolean)
|
|
340
|
+
.join('; ');
|
|
327
341
|
throw new BoxApiError({
|
|
328
|
-
message:
|
|
342
|
+
message: errorMessage,
|
|
329
343
|
timestamp: `${Date.now()}`,
|
|
330
344
|
requestInfo: {
|
|
331
345
|
method: requestInit.method!,
|
|
@@ -158,5 +158,5 @@ export interface FetchOptionsInput {
|
|
|
158
158
|
readonly cancellationToken?: CancellationToken;
|
|
159
159
|
/**
|
|
160
160
|
* A boolean value indicate if the request should follow redirects. Defaults to True. Not supported in Browser environment. */
|
|
161
|
-
readonly followRedirects?:
|
|
161
|
+
readonly followRedirects?: boolean;
|
|
162
162
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = '10.
|
|
1
|
+
export const sdkVersion = '10.2.0';
|
package/src/schemas/index.ts
CHANGED
|
@@ -138,9 +138,10 @@ export * from './templateSigner';
|
|
|
138
138
|
export * from './signTemplate';
|
|
139
139
|
export * from './signTemplates';
|
|
140
140
|
export * from './signRequestSignerInput';
|
|
141
|
-
export * from './signRequestSigner';
|
|
142
141
|
export * from './signRequestBase';
|
|
143
142
|
export * from './signRequestCreateRequest';
|
|
143
|
+
export * from './signRequestSignerAttachment';
|
|
144
|
+
export * from './signRequestSigner';
|
|
144
145
|
export * from './signRequest';
|
|
145
146
|
export * from './signRequests';
|
|
146
147
|
export * from './statusSkillCard';
|
|
@@ -93,6 +93,15 @@ export type SignRequest = SignRequestBase & {
|
|
|
93
93
|
/**
|
|
94
94
|
* The collaborator level of the user to the sign request. Values can include "owner", "editor", and "viewer". */
|
|
95
95
|
readonly collaboratorLevel?: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* Short identifier for the sign request. */
|
|
98
|
+
readonly shortId?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Timestamp marking when the sign request was created. */
|
|
101
|
+
readonly createdAt?: DateTime;
|
|
102
|
+
/**
|
|
103
|
+
* Timestamp indicating when all signing actions completed. */
|
|
104
|
+
readonly finishedAt?: DateTime | null;
|
|
96
105
|
/**
|
|
97
106
|
* The email address of the sender of the sign request. */
|
|
98
107
|
readonly senderEmail?: string | null;
|
|
@@ -263,6 +272,15 @@ export function serializeSignRequest(val: SignRequest): SerializedData {
|
|
|
263
272
|
? val.parentFolder
|
|
264
273
|
: serializeFolderMini(val.parentFolder),
|
|
265
274
|
['collaborator_level']: val.collaboratorLevel,
|
|
275
|
+
['short_id']: val.shortId,
|
|
276
|
+
['created_at']:
|
|
277
|
+
val.createdAt == void 0
|
|
278
|
+
? val.createdAt
|
|
279
|
+
: serializeDateTime(val.createdAt),
|
|
280
|
+
['finished_at']:
|
|
281
|
+
val.finishedAt == void 0
|
|
282
|
+
? val.finishedAt
|
|
283
|
+
: serializeDateTime(val.finishedAt),
|
|
266
284
|
['sender_email']: val.senderEmail,
|
|
267
285
|
['sender_id']: val.senderId,
|
|
268
286
|
},
|
|
@@ -354,6 +372,27 @@ export function deserializeSignRequest(val: SerializedData): SignRequest {
|
|
|
354
372
|
}
|
|
355
373
|
const collaboratorLevel: undefined | string =
|
|
356
374
|
val.collaborator_level == void 0 ? void 0 : val.collaborator_level;
|
|
375
|
+
if (!(val.short_id == void 0) && !sdIsString(val.short_id)) {
|
|
376
|
+
throw new BoxSdkError({
|
|
377
|
+
message: 'Expecting string for "short_id" of type "SignRequest"',
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
const shortId: undefined | string =
|
|
381
|
+
val.short_id == void 0 ? void 0 : val.short_id;
|
|
382
|
+
if (!(val.created_at == void 0) && !sdIsString(val.created_at)) {
|
|
383
|
+
throw new BoxSdkError({
|
|
384
|
+
message: 'Expecting string for "created_at" of type "SignRequest"',
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
const createdAt: undefined | DateTime =
|
|
388
|
+
val.created_at == void 0 ? void 0 : deserializeDateTime(val.created_at);
|
|
389
|
+
if (!(val.finished_at == void 0) && !sdIsString(val.finished_at)) {
|
|
390
|
+
throw new BoxSdkError({
|
|
391
|
+
message: 'Expecting string for "finished_at" of type "SignRequest"',
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
const finishedAt: undefined | DateTime =
|
|
395
|
+
val.finished_at == void 0 ? void 0 : deserializeDateTime(val.finished_at);
|
|
357
396
|
if (!(val.sender_email == void 0) && !sdIsString(val.sender_email)) {
|
|
358
397
|
throw new BoxSdkError({
|
|
359
398
|
message: 'Expecting string for "sender_email" of type "SignRequest"',
|
|
@@ -503,6 +542,9 @@ export function deserializeSignRequest(val: SerializedData): SignRequest {
|
|
|
503
542
|
autoExpireAt: autoExpireAt,
|
|
504
543
|
parentFolder: parentFolder,
|
|
505
544
|
collaboratorLevel: collaboratorLevel,
|
|
545
|
+
shortId: shortId,
|
|
546
|
+
createdAt: createdAt,
|
|
547
|
+
finishedAt: finishedAt,
|
|
506
548
|
senderEmail: senderEmail,
|
|
507
549
|
senderId: senderId,
|
|
508
550
|
isDocumentPreparationNeeded: isDocumentPreparationNeeded,
|
|
@@ -4,11 +4,14 @@ import { serializeSignRequestCreateSigner } from './signRequestCreateSigner';
|
|
|
4
4
|
import { deserializeSignRequestCreateSigner } from './signRequestCreateSigner';
|
|
5
5
|
import { serializeSignRequestSignerInput } from './signRequestSignerInput';
|
|
6
6
|
import { deserializeSignRequestSignerInput } from './signRequestSignerInput';
|
|
7
|
+
import { serializeSignRequestSignerAttachment } from './signRequestSignerAttachment';
|
|
8
|
+
import { deserializeSignRequestSignerAttachment } from './signRequestSignerAttachment';
|
|
7
9
|
import { serializeDateTime } from '../internal/utils';
|
|
8
10
|
import { deserializeDateTime } from '../internal/utils';
|
|
9
11
|
import { SignRequestCreateSignerRoleField } from './signRequestCreateSigner';
|
|
10
12
|
import { SignRequestCreateSigner } from './signRequestCreateSigner';
|
|
11
13
|
import { SignRequestSignerInput } from './signRequestSignerInput';
|
|
14
|
+
import { SignRequestSignerAttachment } from './signRequestSignerAttachment';
|
|
12
15
|
import { BoxSdkError } from '../box/errors';
|
|
13
16
|
import { DateTime } from '../internal/utils';
|
|
14
17
|
import { SerializedData } from '../serialization/json';
|
|
@@ -50,6 +53,9 @@ export type SignRequestSigner = SignRequestCreateSigner & {
|
|
|
50
53
|
* parameter was passed in the
|
|
51
54
|
* `create Box Sign request` call. */
|
|
52
55
|
readonly iframeableEmbedUrl?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Attachments that the signer uploaded. */
|
|
58
|
+
readonly attachments?: readonly SignRequestSignerAttachment[] | null;
|
|
53
59
|
};
|
|
54
60
|
export function serializeSignRequestSignerSignerDecisionTypeField(
|
|
55
61
|
val: SignRequestSignerSignerDecisionTypeField,
|
|
@@ -145,6 +151,14 @@ export function serializeSignRequestSigner(
|
|
|
145
151
|
}) as readonly any[]),
|
|
146
152
|
['embed_url']: val.embedUrl,
|
|
147
153
|
['iframeable_embed_url']: val.iframeableEmbedUrl,
|
|
154
|
+
['attachments']:
|
|
155
|
+
val.attachments == void 0
|
|
156
|
+
? val.attachments
|
|
157
|
+
: (val.attachments.map(function (
|
|
158
|
+
item: SignRequestSignerAttachment,
|
|
159
|
+
): SerializedData {
|
|
160
|
+
return serializeSignRequestSignerAttachment(item);
|
|
161
|
+
}) as readonly any[]),
|
|
148
162
|
},
|
|
149
163
|
};
|
|
150
164
|
}
|
|
@@ -204,6 +218,21 @@ export function deserializeSignRequestSigner(
|
|
|
204
218
|
}
|
|
205
219
|
const iframeableEmbedUrl: undefined | string =
|
|
206
220
|
val.iframeable_embed_url == void 0 ? void 0 : val.iframeable_embed_url;
|
|
221
|
+
if (!(val.attachments == void 0) && !sdIsList(val.attachments)) {
|
|
222
|
+
throw new BoxSdkError({
|
|
223
|
+
message: 'Expecting array for "attachments" of type "SignRequestSigner"',
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
const attachments: undefined | readonly SignRequestSignerAttachment[] =
|
|
227
|
+
val.attachments == void 0
|
|
228
|
+
? void 0
|
|
229
|
+
: sdIsList(val.attachments)
|
|
230
|
+
? (val.attachments.map(function (
|
|
231
|
+
itm: SerializedData,
|
|
232
|
+
): SignRequestSignerAttachment {
|
|
233
|
+
return deserializeSignRequestSignerAttachment(itm);
|
|
234
|
+
}) as readonly any[])
|
|
235
|
+
: [];
|
|
207
236
|
if (!(val.email == void 0) && !sdIsString(val.email)) {
|
|
208
237
|
throw new BoxSdkError({
|
|
209
238
|
message: 'Expecting string for "email" of type "SignRequestSigner"',
|
|
@@ -313,6 +342,7 @@ export function deserializeSignRequestSigner(
|
|
|
313
342
|
inputs: inputs,
|
|
314
343
|
embedUrl: embedUrl,
|
|
315
344
|
iframeableEmbedUrl: iframeableEmbedUrl,
|
|
345
|
+
attachments: attachments,
|
|
316
346
|
email: email,
|
|
317
347
|
role: role,
|
|
318
348
|
isInPerson: isInPerson,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { BoxSdkError } from '../box/errors';
|
|
2
|
+
import { SerializedData } from '../serialization/json';
|
|
3
|
+
import { sdIsEmpty } from '../serialization/json';
|
|
4
|
+
import { sdIsBoolean } from '../serialization/json';
|
|
5
|
+
import { sdIsNumber } from '../serialization/json';
|
|
6
|
+
import { sdIsString } from '../serialization/json';
|
|
7
|
+
import { sdIsList } from '../serialization/json';
|
|
8
|
+
import { sdIsMap } from '../serialization/json';
|
|
9
|
+
export interface SignRequestSignerAttachment {
|
|
10
|
+
/**
|
|
11
|
+
* Identifier of the attachment file. */
|
|
12
|
+
readonly id?: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* Display name of the attachment file. */
|
|
15
|
+
readonly name?: string | null;
|
|
16
|
+
readonly rawData?: SerializedData;
|
|
17
|
+
}
|
|
18
|
+
export function serializeSignRequestSignerAttachment(
|
|
19
|
+
val: SignRequestSignerAttachment,
|
|
20
|
+
): SerializedData {
|
|
21
|
+
return { ['id']: val.id, ['name']: val.name };
|
|
22
|
+
}
|
|
23
|
+
export function deserializeSignRequestSignerAttachment(
|
|
24
|
+
val: SerializedData,
|
|
25
|
+
): SignRequestSignerAttachment {
|
|
26
|
+
if (!sdIsMap(val)) {
|
|
27
|
+
throw new BoxSdkError({
|
|
28
|
+
message: 'Expecting a map for "SignRequestSignerAttachment"',
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
if (!(val.id == void 0) && !sdIsString(val.id)) {
|
|
32
|
+
throw new BoxSdkError({
|
|
33
|
+
message:
|
|
34
|
+
'Expecting string for "id" of type "SignRequestSignerAttachment"',
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
const id: undefined | string = val.id == void 0 ? void 0 : val.id;
|
|
38
|
+
if (!(val.name == void 0) && !sdIsString(val.name)) {
|
|
39
|
+
throw new BoxSdkError({
|
|
40
|
+
message:
|
|
41
|
+
'Expecting string for "name" of type "SignRequestSignerAttachment"',
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
const name: undefined | string = val.name == void 0 ? void 0 : val.name;
|
|
45
|
+
return { id: id, name: name } satisfies SignRequestSignerAttachment;
|
|
46
|
+
}
|
|
@@ -141,18 +141,14 @@ export function deserializeDocGenJobFullV2025R0(
|
|
|
141
141
|
}
|
|
142
142
|
const templateFileVersion: FileVersionBaseV2025R0 =
|
|
143
143
|
deserializeFileVersionBaseV2025R0(val.template_file_version);
|
|
144
|
-
const outputFile:
|
|
144
|
+
const outputFile: FileReferenceV2025R0 | undefined =
|
|
145
145
|
val.output_file == void 0
|
|
146
146
|
? void 0
|
|
147
|
-
: val.output_file
|
|
148
|
-
|
|
149
|
-
: deserializeFileReferenceV2025R0(val.output_file);
|
|
150
|
-
const outputFileVersion: undefined | (FileVersionBaseV2025R0 | undefined) =
|
|
147
|
+
: deserializeFileReferenceV2025R0(val.output_file);
|
|
148
|
+
const outputFileVersion: FileVersionBaseV2025R0 | undefined =
|
|
151
149
|
val.output_file_version == void 0
|
|
152
150
|
? void 0
|
|
153
|
-
: val.output_file_version
|
|
154
|
-
? void 0
|
|
155
|
-
: deserializeFileVersionBaseV2025R0(val.output_file_version);
|
|
151
|
+
: deserializeFileVersionBaseV2025R0(val.output_file_version);
|
|
156
152
|
if (val.status == void 0) {
|
|
157
153
|
throw new BoxSdkError({
|
|
158
154
|
message:
|
|
@@ -32,8 +32,8 @@ export class DocGenJobV2025R0 extends DocGenJobBaseV2025R0 {
|
|
|
32
32
|
readonly batch!: DocGenBatchBaseV2025R0;
|
|
33
33
|
readonly templateFile!: FileReferenceV2025R0;
|
|
34
34
|
readonly templateFileVersion!: FileVersionBaseV2025R0;
|
|
35
|
-
readonly outputFile?: FileReferenceV2025R0
|
|
36
|
-
readonly outputFileVersion?: FileVersionBaseV2025R0
|
|
35
|
+
readonly outputFile?: FileReferenceV2025R0;
|
|
36
|
+
readonly outputFileVersion?: FileVersionBaseV2025R0;
|
|
37
37
|
readonly status!: DocGenJobV2025R0StatusField;
|
|
38
38
|
readonly outputType!: string;
|
|
39
39
|
constructor(fields: DocGenJobV2025R0) {
|
|
@@ -111,15 +111,11 @@ export function serializeDocGenJobV2025R0(
|
|
|
111
111
|
['output_file']:
|
|
112
112
|
val.outputFile == void 0
|
|
113
113
|
? val.outputFile
|
|
114
|
-
: val.outputFile
|
|
115
|
-
? val.outputFile
|
|
116
|
-
: serializeFileReferenceV2025R0(val.outputFile),
|
|
114
|
+
: serializeFileReferenceV2025R0(val.outputFile),
|
|
117
115
|
['output_file_version']:
|
|
118
116
|
val.outputFileVersion == void 0
|
|
119
117
|
? val.outputFileVersion
|
|
120
|
-
: val.outputFileVersion
|
|
121
|
-
? val.outputFileVersion
|
|
122
|
-
: serializeFileVersionBaseV2025R0(val.outputFileVersion),
|
|
118
|
+
: serializeFileVersionBaseV2025R0(val.outputFileVersion),
|
|
123
119
|
['status']: serializeDocGenJobV2025R0StatusField(val.status),
|
|
124
120
|
['output_type']: val.outputType,
|
|
125
121
|
},
|
|
@@ -158,18 +154,14 @@ export function deserializeDocGenJobV2025R0(
|
|
|
158
154
|
}
|
|
159
155
|
const templateFileVersion: FileVersionBaseV2025R0 =
|
|
160
156
|
deserializeFileVersionBaseV2025R0(val.template_file_version);
|
|
161
|
-
const outputFile:
|
|
157
|
+
const outputFile: FileReferenceV2025R0 | undefined =
|
|
162
158
|
val.output_file == void 0
|
|
163
159
|
? void 0
|
|
164
|
-
: val.output_file
|
|
165
|
-
|
|
166
|
-
: deserializeFileReferenceV2025R0(val.output_file);
|
|
167
|
-
const outputFileVersion: undefined | (FileVersionBaseV2025R0 | undefined) =
|
|
160
|
+
: deserializeFileReferenceV2025R0(val.output_file);
|
|
161
|
+
const outputFileVersion: FileVersionBaseV2025R0 | undefined =
|
|
168
162
|
val.output_file_version == void 0
|
|
169
163
|
? void 0
|
|
170
|
-
: val.output_file_version
|
|
171
|
-
? void 0
|
|
172
|
-
: deserializeFileVersionBaseV2025R0(val.output_file_version);
|
|
164
|
+
: deserializeFileVersionBaseV2025R0(val.output_file_version);
|
|
173
165
|
if (val.status == void 0) {
|
|
174
166
|
throw new BoxSdkError({
|
|
175
167
|
message: 'Expecting "status" of type "DocGenJobV2025R0" to be defined',
|
|
@@ -38,11 +38,11 @@ export type EnterpriseConfigurationSecurityV2025R0LastPasswordResetAtField =
|
|
|
38
38
|
};
|
|
39
39
|
export type EnterpriseConfigurationSecurityV2025R0ExternalCollabMultiFactorAuthSettingsField =
|
|
40
40
|
EnterpriseConfigurationItemV2025R0 & {
|
|
41
|
-
readonly value?: ExternalCollabSecuritySettingsV2025R0
|
|
41
|
+
readonly value?: ExternalCollabSecuritySettingsV2025R0;
|
|
42
42
|
};
|
|
43
43
|
export type EnterpriseConfigurationSecurityV2025R0KeysafeField =
|
|
44
44
|
EnterpriseConfigurationItemV2025R0 & {
|
|
45
|
-
readonly value?: KeysafeSettingsV2025R0
|
|
45
|
+
readonly value?: KeysafeSettingsV2025R0;
|
|
46
46
|
};
|
|
47
47
|
export type EnterpriseConfigurationSecurityV2025R0CustomSessionDurationGroupsField =
|
|
48
48
|
EnterpriseConfigurationItemV2025R0 & {
|
|
@@ -157,9 +157,7 @@ export function serializeEnterpriseConfigurationSecurityV2025R0ExternalCollabMul
|
|
|
157
157
|
['value']:
|
|
158
158
|
val.value == void 0
|
|
159
159
|
? val.value
|
|
160
|
-
: val.value
|
|
161
|
-
? val.value
|
|
162
|
-
: serializeExternalCollabSecuritySettingsV2025R0(val.value),
|
|
160
|
+
: serializeExternalCollabSecuritySettingsV2025R0(val.value),
|
|
163
161
|
},
|
|
164
162
|
};
|
|
165
163
|
}
|
|
@@ -172,12 +170,10 @@ export function deserializeEnterpriseConfigurationSecurityV2025R0ExternalCollabM
|
|
|
172
170
|
'Expecting a map for "EnterpriseConfigurationSecurityV2025R0ExternalCollabMultiFactorAuthSettingsField"',
|
|
173
171
|
});
|
|
174
172
|
}
|
|
175
|
-
const value:
|
|
173
|
+
const value: ExternalCollabSecuritySettingsV2025R0 | undefined =
|
|
176
174
|
val.value == void 0
|
|
177
175
|
? void 0
|
|
178
|
-
: val.value
|
|
179
|
-
? void 0
|
|
180
|
-
: deserializeExternalCollabSecuritySettingsV2025R0(val.value);
|
|
176
|
+
: deserializeExternalCollabSecuritySettingsV2025R0(val.value);
|
|
181
177
|
if (!(val.is_used == void 0) && !sdIsBoolean(val.is_used)) {
|
|
182
178
|
throw new BoxSdkError({
|
|
183
179
|
message:
|
|
@@ -207,9 +203,7 @@ export function serializeEnterpriseConfigurationSecurityV2025R0KeysafeField(
|
|
|
207
203
|
['value']:
|
|
208
204
|
val.value == void 0
|
|
209
205
|
? val.value
|
|
210
|
-
: val.value
|
|
211
|
-
? val.value
|
|
212
|
-
: serializeKeysafeSettingsV2025R0(val.value),
|
|
206
|
+
: serializeKeysafeSettingsV2025R0(val.value),
|
|
213
207
|
},
|
|
214
208
|
};
|
|
215
209
|
}
|
|
@@ -222,12 +216,8 @@ export function deserializeEnterpriseConfigurationSecurityV2025R0KeysafeField(
|
|
|
222
216
|
'Expecting a map for "EnterpriseConfigurationSecurityV2025R0KeysafeField"',
|
|
223
217
|
});
|
|
224
218
|
}
|
|
225
|
-
const value:
|
|
226
|
-
val.value == void 0
|
|
227
|
-
? void 0
|
|
228
|
-
: val.value == void 0
|
|
229
|
-
? void 0
|
|
230
|
-
: deserializeKeysafeSettingsV2025R0(val.value);
|
|
219
|
+
const value: KeysafeSettingsV2025R0 | undefined =
|
|
220
|
+
val.value == void 0 ? void 0 : deserializeKeysafeSettingsV2025R0(val.value);
|
|
231
221
|
if (!(val.is_used == void 0) && !sdIsBoolean(val.is_used)) {
|
|
232
222
|
throw new BoxSdkError({
|
|
233
223
|
message:
|
|
@@ -27,14 +27,10 @@ export interface EnterpriseConfigurationV2025R0 {
|
|
|
27
27
|
/**
|
|
28
28
|
* The value will always be `enterprise_configuration`. */
|
|
29
29
|
readonly type?: EnterpriseConfigurationV2025R0TypeField;
|
|
30
|
-
readonly security?: EnterpriseConfigurationSecurityV2025R0
|
|
31
|
-
readonly contentAndSharing?:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
readonly userSettings?:
|
|
35
|
-
| EnterpriseConfigurationUserSettingsV2025R0
|
|
36
|
-
| undefined;
|
|
37
|
-
readonly shield?: EnterpriseConfigurationShieldV2025R0 | undefined;
|
|
30
|
+
readonly security?: EnterpriseConfigurationSecurityV2025R0;
|
|
31
|
+
readonly contentAndSharing?: EnterpriseConfigurationContentAndSharingV2025R0;
|
|
32
|
+
readonly userSettings?: EnterpriseConfigurationUserSettingsV2025R0;
|
|
33
|
+
readonly shield?: EnterpriseConfigurationShieldV2025R0;
|
|
38
34
|
readonly rawData?: SerializedData;
|
|
39
35
|
}
|
|
40
36
|
export function serializeEnterpriseConfigurationV2025R0TypeField(
|
|
@@ -64,31 +60,21 @@ export function serializeEnterpriseConfigurationV2025R0(
|
|
|
64
60
|
['security']:
|
|
65
61
|
val.security == void 0
|
|
66
62
|
? val.security
|
|
67
|
-
: val.security
|
|
68
|
-
? val.security
|
|
69
|
-
: serializeEnterpriseConfigurationSecurityV2025R0(val.security),
|
|
63
|
+
: serializeEnterpriseConfigurationSecurityV2025R0(val.security),
|
|
70
64
|
['content_and_sharing']:
|
|
71
65
|
val.contentAndSharing == void 0
|
|
72
66
|
? val.contentAndSharing
|
|
73
|
-
:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
val.contentAndSharing,
|
|
77
|
-
),
|
|
67
|
+
: serializeEnterpriseConfigurationContentAndSharingV2025R0(
|
|
68
|
+
val.contentAndSharing,
|
|
69
|
+
),
|
|
78
70
|
['user_settings']:
|
|
79
71
|
val.userSettings == void 0
|
|
80
72
|
? val.userSettings
|
|
81
|
-
: val.userSettings
|
|
82
|
-
? val.userSettings
|
|
83
|
-
: serializeEnterpriseConfigurationUserSettingsV2025R0(
|
|
84
|
-
val.userSettings,
|
|
85
|
-
),
|
|
73
|
+
: serializeEnterpriseConfigurationUserSettingsV2025R0(val.userSettings),
|
|
86
74
|
['shield']:
|
|
87
75
|
val.shield == void 0
|
|
88
76
|
? val.shield
|
|
89
|
-
: val.shield
|
|
90
|
-
? val.shield
|
|
91
|
-
: serializeEnterpriseConfigurationShieldV2025R0(val.shield),
|
|
77
|
+
: serializeEnterpriseConfigurationShieldV2025R0(val.shield),
|
|
92
78
|
};
|
|
93
79
|
}
|
|
94
80
|
export function deserializeEnterpriseConfigurationV2025R0(
|
|
@@ -110,40 +96,28 @@ export function deserializeEnterpriseConfigurationV2025R0(
|
|
|
110
96
|
val.type == void 0
|
|
111
97
|
? void 0
|
|
112
98
|
: deserializeEnterpriseConfigurationV2025R0TypeField(val.type);
|
|
113
|
-
const security:
|
|
114
|
-
| undefined
|
|
115
|
-
| (EnterpriseConfigurationSecurityV2025R0 | undefined) =
|
|
99
|
+
const security: EnterpriseConfigurationSecurityV2025R0 | undefined =
|
|
116
100
|
val.security == void 0
|
|
117
101
|
? void 0
|
|
118
|
-
: val.security
|
|
119
|
-
? void 0
|
|
120
|
-
: deserializeEnterpriseConfigurationSecurityV2025R0(val.security);
|
|
102
|
+
: deserializeEnterpriseConfigurationSecurityV2025R0(val.security);
|
|
121
103
|
const contentAndSharing:
|
|
122
|
-
|
|
|
123
|
-
|
|
|
104
|
+
| EnterpriseConfigurationContentAndSharingV2025R0
|
|
105
|
+
| undefined =
|
|
124
106
|
val.content_and_sharing == void 0
|
|
125
107
|
? void 0
|
|
126
|
-
:
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
);
|
|
131
|
-
const userSettings:
|
|
132
|
-
| undefined
|
|
133
|
-
| (EnterpriseConfigurationUserSettingsV2025R0 | undefined) =
|
|
108
|
+
: deserializeEnterpriseConfigurationContentAndSharingV2025R0(
|
|
109
|
+
val.content_and_sharing,
|
|
110
|
+
);
|
|
111
|
+
const userSettings: EnterpriseConfigurationUserSettingsV2025R0 | undefined =
|
|
134
112
|
val.user_settings == void 0
|
|
135
113
|
? void 0
|
|
136
|
-
:
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
);
|
|
141
|
-
const shield: undefined | (EnterpriseConfigurationShieldV2025R0 | undefined) =
|
|
114
|
+
: deserializeEnterpriseConfigurationUserSettingsV2025R0(
|
|
115
|
+
val.user_settings,
|
|
116
|
+
);
|
|
117
|
+
const shield: EnterpriseConfigurationShieldV2025R0 | undefined =
|
|
142
118
|
val.shield == void 0
|
|
143
119
|
? void 0
|
|
144
|
-
: val.shield
|
|
145
|
-
? void 0
|
|
146
|
-
: deserializeEnterpriseConfigurationShieldV2025R0(val.shield);
|
|
120
|
+
: deserializeEnterpriseConfigurationShieldV2025R0(val.shield);
|
|
147
121
|
return {
|
|
148
122
|
id: id,
|
|
149
123
|
type: type,
|