@cloudpdf/sdk 3.0.0-next.15 → 3.0.0-next.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/errors/ContentTooLargeError.d.ts +1 -3
- package/dist/cjs/api/resources/doc/client/Client.d.ts +7 -1
- package/dist/cjs/api/resources/doc/client/Client.js +23 -13
- package/dist/cjs/api/resources/doc/resources/annotations/client/Client.d.ts +11 -0
- package/dist/cjs/api/resources/doc/resources/annotations/client/Client.js +52 -0
- package/dist/cjs/api/resources/doc/resources/annotations/client/requests/ReadFileAnnotationsRequest.d.ts +19 -0
- package/dist/cjs/api/resources/doc/resources/annotations/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/doc/resources/attachments/client/Client.d.ts +42 -0
- package/dist/cjs/api/resources/doc/resources/attachments/client/Client.js +167 -0
- package/dist/cjs/api/resources/doc/resources/attachments/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/doc/resources/attachments/client/index.js +17 -0
- package/dist/cjs/api/resources/doc/resources/{pages/client/requests/DeletePagesRequest.d.ts → attachments/client/requests/DownloadAttachmentsRequest.d.ts} +4 -8
- package/dist/cjs/api/resources/doc/resources/{pages/client/requests/InsertPagesRequest.d.ts → attachments/client/requests/ListAttachmentsRequest.d.ts} +1 -6
- package/dist/cjs/api/resources/doc/resources/attachments/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/doc/resources/attachments/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/doc/resources/attachments/exports.d.ts +2 -0
- package/dist/cjs/api/resources/doc/resources/attachments/exports.js +21 -0
- package/dist/cjs/api/resources/doc/resources/attachments/index.d.ts +1 -0
- package/dist/cjs/api/resources/doc/resources/attachments/index.js +17 -0
- package/dist/cjs/api/resources/doc/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/doc/resources/index.js +5 -1
- package/dist/cjs/api/resources/doc/resources/outline/client/Client.d.ts +29 -0
- package/dist/cjs/api/resources/doc/resources/outline/client/Client.js +110 -0
- package/dist/cjs/api/resources/doc/resources/outline/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/doc/resources/outline/client/index.js +17 -0
- package/dist/{esm/api/resources/doc/resources/pages/client/requests/InsertPagesRequest.d.mts → cjs/api/resources/doc/resources/outline/client/requests/GetOutlineRequest.d.ts} +1 -6
- package/dist/cjs/api/resources/doc/resources/outline/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/doc/resources/outline/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/doc/resources/outline/exports.d.ts +2 -0
- package/dist/cjs/api/resources/doc/resources/outline/exports.js +21 -0
- package/dist/cjs/api/resources/doc/resources/outline/index.d.ts +1 -0
- package/dist/cjs/api/resources/doc/resources/outline/index.js +17 -0
- package/dist/cjs/api/resources/doc/resources/pages/client/Client.d.ts +1 -106
- package/dist/cjs/api/resources/doc/resources/pages/client/Client.js +1 -316
- package/dist/cjs/api/resources/doc/resources/pages/client/requests/index.d.ts +0 -5
- package/dist/cjs/api/types/Annotation.d.ts +1 -10
- package/dist/cjs/api/types/Attachment.d.ts +23 -0
- package/dist/cjs/api/types/Attachment.js +13 -0
- package/dist/cjs/api/types/AttachmentFileBase.d.ts +5 -0
- package/dist/cjs/api/types/AttachmentFileInfo.d.ts +9 -0
- package/dist/cjs/api/types/AttachmentList.d.ts +4 -0
- package/dist/cjs/api/types/AttachmentMutationMeta.d.ts +23 -0
- package/dist/cjs/api/types/AttachmentMutationMeta.js +16 -0
- package/dist/cjs/api/types/CacheDelta.d.ts +1 -0
- package/dist/cjs/api/types/ChangeItem.d.ts +634 -1
- package/dist/cjs/api/types/ChangeItem.js +129 -0
- package/dist/cjs/api/types/ChangeItemPagesDeleteLayoutNamedPagesItemTarget.d.ts +15 -0
- package/dist/cjs/api/types/ChangeItemPagesInsertBlankLayoutNamedPagesItemTarget.d.ts +15 -0
- package/dist/cjs/api/types/ChangeItemPagesInsertLayoutNamedPagesItemTarget.d.ts +15 -0
- package/dist/cjs/api/types/ChangeItemPagesReorderLayoutNamedPagesItemTarget.d.ts +15 -0
- package/dist/cjs/api/types/ChangeItemPagesRestoreLayoutNamedPagesItemTarget.d.ts +15 -0
- package/dist/cjs/api/types/ChangeItemPagesRotateLayoutNamedPagesItemTarget.d.ts +15 -0
- package/dist/cjs/api/types/ChangeOp.d.ts +93 -1
- package/dist/cjs/api/types/ChangeOp.js +9 -0
- package/dist/cjs/api/types/DocAnnotationsReadFile400Response.d.ts +2 -0
- package/dist/cjs/api/types/DocAnnotationsReadFile404Response.d.ts +2 -0
- package/dist/cjs/api/types/DocAnnotationsReadFile413Response.d.ts +2 -0
- package/dist/cjs/api/types/DocAttachmentsDownload400Response.d.ts +2 -0
- package/dist/cjs/api/types/DocAttachmentsDownload404Response.d.ts +2 -0
- package/dist/cjs/api/types/DocAttachmentsDownload413Response.d.ts +2 -0
- package/dist/cjs/api/types/DocAttachmentsList200Response.d.ts +2 -0
- package/dist/cjs/api/types/DocAttachmentsList404Response.d.ts +2 -0
- package/dist/cjs/api/types/DocManifest200Response.d.ts +7 -0
- package/dist/cjs/api/types/DocManifest200Response.js +4 -0
- package/dist/cjs/api/types/DocOutlineGet200Response.d.ts +2 -0
- package/dist/cjs/api/types/DocOutlineGet404Response.d.ts +2 -0
- package/dist/cjs/api/types/DocumentOutline.d.ts +5 -0
- package/dist/cjs/api/types/DocumentOutline.js +3 -0
- package/dist/cjs/api/types/OutlineItem.d.ts +12 -0
- package/dist/cjs/api/types/OutlineItem.js +3 -0
- package/dist/cjs/api/types/OutlineItemDraft.d.ts +8 -0
- package/dist/cjs/api/types/OutlineItemDraft.js +3 -0
- package/dist/cjs/api/types/OutlineItemPatch.d.ts +9 -0
- package/dist/cjs/api/types/OutlineItemPatch.js +3 -0
- package/dist/cjs/api/types/OutlineItemRef.d.ts +10 -0
- package/dist/cjs/api/types/OutlineItemRef.js +10 -0
- package/dist/cjs/api/types/OutlineMutationMeta.d.ts +8 -0
- package/dist/cjs/api/types/OutlineMutationMeta.js +3 -0
- package/dist/cjs/api/types/OutlineOrder.d.ts +5 -0
- package/dist/cjs/api/types/OutlineOrder.js +3 -0
- package/dist/cjs/api/types/OutlinePosition.d.ts +5 -0
- package/dist/cjs/api/types/OutlinePosition.js +3 -0
- package/dist/cjs/api/types/index.d.ts +29 -23
- package/dist/cjs/api/types/index.js +29 -23
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/errors/ContentTooLargeError.d.mts +1 -3
- package/dist/esm/api/resources/doc/client/Client.d.mts +7 -1
- package/dist/esm/api/resources/doc/client/Client.mjs +11 -1
- package/dist/esm/api/resources/doc/resources/annotations/client/Client.d.mts +11 -0
- package/dist/esm/api/resources/doc/resources/annotations/client/Client.mjs +52 -0
- package/dist/esm/api/resources/doc/resources/annotations/client/requests/ReadFileAnnotationsRequest.d.mts +19 -0
- package/dist/esm/api/resources/doc/resources/annotations/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/doc/resources/attachments/client/Client.d.mts +42 -0
- package/dist/esm/api/resources/doc/resources/attachments/client/Client.mjs +130 -0
- package/dist/esm/api/resources/doc/resources/attachments/client/index.d.mts +1 -0
- package/dist/esm/api/resources/doc/resources/attachments/client/index.mjs +1 -0
- package/dist/{cjs/api/resources/doc/resources/pages/client/requests/RotatePagesRequest.d.ts → esm/api/resources/doc/resources/attachments/client/requests/DownloadAttachmentsRequest.d.mts} +4 -8
- package/dist/esm/api/resources/doc/resources/attachments/client/requests/ListAttachmentsRequest.d.mts +13 -0
- package/dist/esm/api/resources/doc/resources/attachments/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/doc/resources/attachments/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/doc/resources/attachments/exports.d.mts +2 -0
- package/dist/esm/api/resources/doc/resources/attachments/exports.mjs +3 -0
- package/dist/esm/api/resources/doc/resources/attachments/index.d.mts +1 -0
- package/dist/esm/api/resources/doc/resources/attachments/index.mjs +1 -0
- package/dist/esm/api/resources/doc/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/doc/resources/index.mjs +4 -0
- package/dist/esm/api/resources/doc/resources/outline/client/Client.d.mts +29 -0
- package/dist/esm/api/resources/doc/resources/outline/client/Client.mjs +73 -0
- package/dist/esm/api/resources/doc/resources/outline/client/index.d.mts +1 -0
- package/dist/esm/api/resources/doc/resources/outline/client/index.mjs +1 -0
- package/dist/esm/api/resources/doc/resources/outline/client/requests/GetOutlineRequest.d.mts +13 -0
- package/dist/esm/api/resources/doc/resources/outline/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/doc/resources/outline/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/doc/resources/outline/exports.d.mts +2 -0
- package/dist/esm/api/resources/doc/resources/outline/exports.mjs +3 -0
- package/dist/esm/api/resources/doc/resources/outline/index.d.mts +1 -0
- package/dist/esm/api/resources/doc/resources/outline/index.mjs +1 -0
- package/dist/esm/api/resources/doc/resources/pages/client/Client.d.mts +1 -106
- package/dist/esm/api/resources/doc/resources/pages/client/Client.mjs +1 -316
- package/dist/esm/api/resources/doc/resources/pages/client/requests/index.d.mts +0 -5
- package/dist/esm/api/types/Annotation.d.mts +1 -10
- package/dist/esm/api/types/Attachment.d.mts +23 -0
- package/dist/esm/api/types/Attachment.mjs +10 -0
- package/dist/esm/api/types/AttachmentFileBase.d.mts +5 -0
- package/dist/esm/api/types/AttachmentFileInfo.d.mts +9 -0
- package/dist/esm/api/types/AttachmentList.d.mts +4 -0
- package/dist/esm/api/types/AttachmentMutationMeta.d.mts +23 -0
- package/dist/esm/api/types/AttachmentMutationMeta.mjs +13 -0
- package/dist/esm/api/types/CacheDelta.d.mts +1 -0
- package/dist/esm/api/types/ChangeItem.d.mts +634 -1
- package/dist/esm/api/types/ChangeItem.mjs +129 -0
- package/dist/esm/api/types/ChangeItemPagesDeleteLayoutNamedPagesItemTarget.d.mts +15 -0
- package/dist/esm/api/types/ChangeItemPagesInsertBlankLayoutNamedPagesItemTarget.d.mts +15 -0
- package/dist/esm/api/types/ChangeItemPagesInsertLayoutNamedPagesItemTarget.d.mts +15 -0
- package/dist/esm/api/types/ChangeItemPagesReorderLayoutNamedPagesItemTarget.d.mts +15 -0
- package/dist/esm/api/types/ChangeItemPagesRestoreLayoutNamedPagesItemTarget.d.mts +15 -0
- package/dist/esm/api/types/ChangeItemPagesRotateLayoutNamedPagesItemTarget.d.mts +15 -0
- package/dist/esm/api/types/ChangeOp.d.mts +93 -1
- package/dist/esm/api/types/ChangeOp.mjs +9 -0
- package/dist/esm/api/types/DocAnnotationsReadFile400Response.d.mts +2 -0
- package/dist/esm/api/types/DocAnnotationsReadFile404Response.d.mts +2 -0
- package/dist/esm/api/types/DocAnnotationsReadFile413Response.d.mts +2 -0
- package/dist/esm/api/types/DocAttachmentsDownload400Response.d.mts +2 -0
- package/dist/esm/api/types/DocAttachmentsDownload404Response.d.mts +2 -0
- package/dist/esm/api/types/DocAttachmentsDownload413Response.d.mts +2 -0
- package/dist/esm/api/types/DocAttachmentsList200Response.d.mts +2 -0
- package/dist/esm/api/types/DocAttachmentsList404Response.d.mts +2 -0
- package/dist/esm/api/types/DocManifest200Response.d.mts +7 -0
- package/dist/esm/api/types/DocManifest200Response.mjs +4 -0
- package/dist/esm/api/types/DocOutlineGet200Response.d.mts +2 -0
- package/dist/esm/api/types/DocOutlineGet404Response.d.mts +2 -0
- package/dist/esm/api/types/DocumentOutline.d.mts +5 -0
- package/dist/esm/api/types/DocumentOutline.mjs +2 -0
- package/dist/esm/api/types/OutlineItem.d.mts +12 -0
- package/dist/esm/api/types/OutlineItem.mjs +2 -0
- package/dist/esm/api/types/OutlineItemDraft.d.mts +8 -0
- package/dist/esm/api/types/OutlineItemDraft.mjs +2 -0
- package/dist/esm/api/types/OutlineItemPatch.d.mts +9 -0
- package/dist/esm/api/types/OutlineItemPatch.mjs +2 -0
- package/dist/esm/api/types/OutlineItemRef.d.mts +10 -0
- package/dist/esm/api/types/OutlineItemRef.mjs +7 -0
- package/dist/esm/api/types/OutlineMutationMeta.d.mts +8 -0
- package/dist/esm/api/types/OutlineMutationMeta.mjs +2 -0
- package/dist/esm/api/types/OutlineOrder.d.mts +5 -0
- package/dist/esm/api/types/OutlineOrder.mjs +2 -0
- package/dist/esm/api/types/OutlinePosition.d.mts +5 -0
- package/dist/esm/api/types/OutlinePosition.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +29 -23
- package/dist/esm/api/types/index.mjs +29 -23
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +23 -1
- package/reference.md +174 -222
- package/dist/cjs/api/resources/doc/resources/pages/client/requests/DocPagesReorderRequest.d.ts +0 -23
- package/dist/cjs/api/resources/doc/resources/pages/client/requests/InsertBlankPagesRequest.d.ts +0 -20
- package/dist/cjs/api/types/DocPagesDelete200Response.d.ts +0 -95
- package/dist/cjs/api/types/DocPagesDelete200Response.js +0 -23
- package/dist/cjs/api/types/DocPagesDelete200ResponseLayoutNamedPagesItemTarget.d.ts +0 -15
- package/dist/cjs/api/types/DocPagesDelete400Response.d.ts +0 -2
- package/dist/cjs/api/types/DocPagesDelete404Response.d.ts +0 -2
- package/dist/cjs/api/types/DocPagesDeleteRequest.d.ts +0 -1
- package/dist/cjs/api/types/DocPagesInsert200Response.d.ts +0 -96
- package/dist/cjs/api/types/DocPagesInsert200Response.js +0 -23
- package/dist/cjs/api/types/DocPagesInsert200ResponseLayoutNamedPagesItemTarget.d.ts +0 -15
- package/dist/cjs/api/types/DocPagesInsert400Response.d.ts +0 -2
- package/dist/cjs/api/types/DocPagesInsert404Response.d.ts +0 -2
- package/dist/cjs/api/types/DocPagesInsertBlank200Response.d.ts +0 -96
- package/dist/cjs/api/types/DocPagesInsertBlank200Response.js +0 -23
- package/dist/cjs/api/types/DocPagesInsertBlank200ResponseLayoutNamedPagesItemTarget.d.ts +0 -15
- package/dist/cjs/api/types/DocPagesInsertBlank400Response.d.ts +0 -2
- package/dist/cjs/api/types/DocPagesInsertBlank404Response.d.ts +0 -2
- package/dist/cjs/api/types/DocPagesInsertBlankRequest.d.ts +0 -1
- package/dist/cjs/api/types/DocPagesReorder200Response.d.ts +0 -96
- package/dist/cjs/api/types/DocPagesReorder200Response.js +0 -23
- package/dist/cjs/api/types/DocPagesReorder200ResponseLayoutNamedPagesItemTarget.d.ts +0 -15
- package/dist/cjs/api/types/DocPagesReorder400Response.d.ts +0 -2
- package/dist/cjs/api/types/DocPagesReorder404Response.d.ts +0 -2
- package/dist/cjs/api/types/DocPagesRotate200Response.d.ts +0 -95
- package/dist/cjs/api/types/DocPagesRotate200Response.js +0 -23
- package/dist/cjs/api/types/DocPagesRotate200ResponseLayoutNamedPagesItemTarget.d.ts +0 -15
- package/dist/cjs/api/types/DocPagesRotate400Response.d.ts +0 -2
- package/dist/cjs/api/types/DocPagesRotate404Response.d.ts +0 -2
- package/dist/cjs/api/types/DocPagesRotateRequest.d.ts +0 -1
- package/dist/esm/api/resources/doc/resources/pages/client/requests/DeletePagesRequest.d.mts +0 -20
- package/dist/esm/api/resources/doc/resources/pages/client/requests/DocPagesReorderRequest.d.mts +0 -23
- package/dist/esm/api/resources/doc/resources/pages/client/requests/InsertBlankPagesRequest.d.mts +0 -20
- package/dist/esm/api/resources/doc/resources/pages/client/requests/RotatePagesRequest.d.mts +0 -20
- package/dist/esm/api/types/DocPagesDelete200Response.d.mts +0 -95
- package/dist/esm/api/types/DocPagesDelete200Response.mjs +0 -20
- package/dist/esm/api/types/DocPagesDelete200ResponseLayoutNamedPagesItemTarget.d.mts +0 -15
- package/dist/esm/api/types/DocPagesDelete400Response.d.mts +0 -2
- package/dist/esm/api/types/DocPagesDelete404Response.d.mts +0 -2
- package/dist/esm/api/types/DocPagesDeleteRequest.d.mts +0 -1
- package/dist/esm/api/types/DocPagesInsert200Response.d.mts +0 -96
- package/dist/esm/api/types/DocPagesInsert200Response.mjs +0 -20
- package/dist/esm/api/types/DocPagesInsert200ResponseLayoutNamedPagesItemTarget.d.mts +0 -15
- package/dist/esm/api/types/DocPagesInsert400Response.d.mts +0 -2
- package/dist/esm/api/types/DocPagesInsert404Response.d.mts +0 -2
- package/dist/esm/api/types/DocPagesInsertBlank200Response.d.mts +0 -96
- package/dist/esm/api/types/DocPagesInsertBlank200Response.mjs +0 -20
- package/dist/esm/api/types/DocPagesInsertBlank200ResponseLayoutNamedPagesItemTarget.d.mts +0 -15
- package/dist/esm/api/types/DocPagesInsertBlank400Response.d.mts +0 -2
- package/dist/esm/api/types/DocPagesInsertBlank404Response.d.mts +0 -2
- package/dist/esm/api/types/DocPagesInsertBlankRequest.d.mts +0 -1
- package/dist/esm/api/types/DocPagesReorder200Response.d.mts +0 -96
- package/dist/esm/api/types/DocPagesReorder200Response.mjs +0 -20
- package/dist/esm/api/types/DocPagesReorder200ResponseLayoutNamedPagesItemTarget.d.mts +0 -15
- package/dist/esm/api/types/DocPagesReorder400Response.d.mts +0 -2
- package/dist/esm/api/types/DocPagesReorder404Response.d.mts +0 -2
- package/dist/esm/api/types/DocPagesRotate200Response.d.mts +0 -95
- package/dist/esm/api/types/DocPagesRotate200Response.mjs +0 -20
- package/dist/esm/api/types/DocPagesRotate200ResponseLayoutNamedPagesItemTarget.d.mts +0 -15
- package/dist/esm/api/types/DocPagesRotate400Response.d.mts +0 -2
- package/dist/esm/api/types/DocPagesRotate404Response.d.mts +0 -2
- package/dist/esm/api/types/DocPagesRotateRequest.d.mts +0 -1
- /package/dist/cjs/api/resources/doc/resources/{pages/client/requests/DeletePagesRequest.js → annotations/client/requests/ReadFileAnnotationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/doc/resources/{pages/client/requests/DocPagesReorderRequest.js → attachments/client/requests/DownloadAttachmentsRequest.js} +0 -0
- /package/dist/cjs/api/resources/doc/resources/{pages/client/requests/InsertBlankPagesRequest.js → attachments/client/requests/ListAttachmentsRequest.js} +0 -0
- /package/dist/cjs/api/resources/doc/resources/{pages/client/requests/InsertPagesRequest.js → outline/client/requests/GetOutlineRequest.js} +0 -0
- /package/dist/cjs/api/{resources/doc/resources/pages/client/requests/RotatePagesRequest.js → types/AttachmentFileBase.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesDelete200ResponseLayoutNamedPagesItemTarget.js → AttachmentFileInfo.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesDelete400Response.js → AttachmentList.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesDelete404Response.js → ChangeItemPagesDeleteLayoutNamedPagesItemTarget.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesDeleteRequest.js → ChangeItemPagesInsertBlankLayoutNamedPagesItemTarget.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesInsert200ResponseLayoutNamedPagesItemTarget.js → ChangeItemPagesInsertLayoutNamedPagesItemTarget.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesInsert400Response.js → ChangeItemPagesReorderLayoutNamedPagesItemTarget.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesInsert404Response.js → ChangeItemPagesRestoreLayoutNamedPagesItemTarget.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesInsertBlank200ResponseLayoutNamedPagesItemTarget.js → ChangeItemPagesRotateLayoutNamedPagesItemTarget.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesInsertBlank400Response.js → DocAnnotationsReadFile400Response.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesInsertBlank404Response.js → DocAnnotationsReadFile404Response.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesInsertBlankRequest.js → DocAnnotationsReadFile413Response.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesReorder200ResponseLayoutNamedPagesItemTarget.js → DocAttachmentsDownload400Response.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesReorder400Response.js → DocAttachmentsDownload404Response.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesReorder404Response.js → DocAttachmentsDownload413Response.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesRotate200ResponseLayoutNamedPagesItemTarget.js → DocAttachmentsList200Response.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesRotate400Response.js → DocAttachmentsList404Response.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesRotate404Response.js → DocOutlineGet200Response.js} +0 -0
- /package/dist/cjs/api/types/{DocPagesRotateRequest.js → DocOutlineGet404Response.js} +0 -0
- /package/dist/esm/api/resources/doc/resources/{pages/client/requests/DeletePagesRequest.mjs → annotations/client/requests/ReadFileAnnotationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/doc/resources/{pages/client/requests/DocPagesReorderRequest.mjs → attachments/client/requests/DownloadAttachmentsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/doc/resources/{pages/client/requests/InsertBlankPagesRequest.mjs → attachments/client/requests/ListAttachmentsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/doc/resources/{pages/client/requests/InsertPagesRequest.mjs → outline/client/requests/GetOutlineRequest.mjs} +0 -0
- /package/dist/esm/api/{resources/doc/resources/pages/client/requests/RotatePagesRequest.mjs → types/AttachmentFileBase.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesDelete200ResponseLayoutNamedPagesItemTarget.mjs → AttachmentFileInfo.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesDelete400Response.mjs → AttachmentList.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesDelete404Response.mjs → ChangeItemPagesDeleteLayoutNamedPagesItemTarget.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesDeleteRequest.mjs → ChangeItemPagesInsertBlankLayoutNamedPagesItemTarget.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesInsert200ResponseLayoutNamedPagesItemTarget.mjs → ChangeItemPagesInsertLayoutNamedPagesItemTarget.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesInsert400Response.mjs → ChangeItemPagesReorderLayoutNamedPagesItemTarget.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesInsert404Response.mjs → ChangeItemPagesRestoreLayoutNamedPagesItemTarget.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesInsertBlank200ResponseLayoutNamedPagesItemTarget.mjs → ChangeItemPagesRotateLayoutNamedPagesItemTarget.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesInsertBlank400Response.mjs → DocAnnotationsReadFile400Response.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesInsertBlank404Response.mjs → DocAnnotationsReadFile404Response.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesInsertBlankRequest.mjs → DocAnnotationsReadFile413Response.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesReorder200ResponseLayoutNamedPagesItemTarget.mjs → DocAttachmentsDownload400Response.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesReorder400Response.mjs → DocAttachmentsDownload404Response.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesReorder404Response.mjs → DocAttachmentsDownload413Response.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesRotate200ResponseLayoutNamedPagesItemTarget.mjs → DocAttachmentsList200Response.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesRotate400Response.mjs → DocAttachmentsList404Response.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesRotate404Response.mjs → DocOutlineGet200Response.mjs} +0 -0
- /package/dist/esm/api/types/{DocPagesRotateRequest.mjs → DocOutlineGet404Response.mjs} +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../../../core/index.js";
|
|
4
|
+
import * as CloudPDF from "../../../../../index.js";
|
|
5
|
+
export declare namespace OutlineClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class OutlineClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<OutlineClient.Options>;
|
|
12
|
+
constructor(options: OutlineClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* @param {CloudPDF.doc.GetOutlineRequest} request
|
|
15
|
+
* @param {OutlineClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
+
*
|
|
17
|
+
* @throws {@link CloudPDF.NotFoundError}
|
|
18
|
+
* @throws {@link errors.CloudPDFError}
|
|
19
|
+
* @throws {@link errors.CloudPDFTimeoutError}
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* await client.doc.outline.get({
|
|
23
|
+
* docId: "docId",
|
|
24
|
+
* layerName: "layerName"
|
|
25
|
+
* })
|
|
26
|
+
*/
|
|
27
|
+
get(request: CloudPDF.doc.GetOutlineRequest, requestOptions?: OutlineClient.RequestOptions): core.HttpResponsePromise<CloudPDF.DocOutlineGet200Response>;
|
|
28
|
+
private __get;
|
|
29
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.OutlineClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
49
|
+
const core = __importStar(require("../../../../../../core/index.js"));
|
|
50
|
+
const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
|
|
51
|
+
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
52
|
+
const CloudPDF = __importStar(require("../../../../../index.js"));
|
|
53
|
+
class OutlineClient {
|
|
54
|
+
constructor(options) {
|
|
55
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @param {CloudPDF.doc.GetOutlineRequest} request
|
|
59
|
+
* @param {OutlineClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link CloudPDF.NotFoundError}
|
|
62
|
+
* @throws {@link errors.CloudPDFError}
|
|
63
|
+
* @throws {@link errors.CloudPDFTimeoutError}
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* await client.doc.outline.get({
|
|
67
|
+
* docId: "docId",
|
|
68
|
+
* layerName: "layerName"
|
|
69
|
+
* })
|
|
70
|
+
*/
|
|
71
|
+
get(request, requestOptions) {
|
|
72
|
+
return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
|
|
73
|
+
}
|
|
74
|
+
__get(request, requestOptions) {
|
|
75
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
76
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
77
|
+
const { docId, layerName, "X-Document-Password": documentPassword } = request;
|
|
78
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
79
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Document-Password": documentPassword }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
80
|
+
const _response = yield core.fetcher({
|
|
81
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), `v1/docs/${core.url.encodePathParam(docId)}/layers/${core.url.encodePathParam(layerName)}/outline`),
|
|
82
|
+
method: "GET",
|
|
83
|
+
headers: _headers,
|
|
84
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
85
|
+
timeoutMs: ((_e = (_c = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _c !== void 0 ? _c : (_d = this._options) === null || _d === void 0 ? void 0 : _d.timeoutInSeconds) !== null && _e !== void 0 ? _e : 60) * 1000,
|
|
86
|
+
maxRetries: (_f = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _f !== void 0 ? _f : (_g = this._options) === null || _g === void 0 ? void 0 : _g.maxRetries,
|
|
87
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
88
|
+
fetchFn: (_h = this._options) === null || _h === void 0 ? void 0 : _h.fetch,
|
|
89
|
+
logging: this._options.logging,
|
|
90
|
+
});
|
|
91
|
+
if (_response.ok) {
|
|
92
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
93
|
+
}
|
|
94
|
+
if (_response.error.reason === "status-code") {
|
|
95
|
+
switch (_response.error.statusCode) {
|
|
96
|
+
case 404:
|
|
97
|
+
throw new CloudPDF.NotFoundError(_response.error.body, _response.rawResponse);
|
|
98
|
+
default:
|
|
99
|
+
throw new errors.CloudPDFError({
|
|
100
|
+
statusCode: _response.error.statusCode,
|
|
101
|
+
body: _response.error.body,
|
|
102
|
+
rawResponse: _response.rawResponse,
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/docs/{docId}/layers/{layerName}/outline");
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.OutlineClient = OutlineClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import type * as core from "../../../../../../../core/index.mjs";
|
|
2
1
|
/**
|
|
3
2
|
* @example
|
|
4
3
|
* {
|
|
5
|
-
* file: fs.createReadStream("/path/to/your/file"),
|
|
6
4
|
* docId: "docId",
|
|
7
5
|
* layerName: "layerName"
|
|
8
6
|
* }
|
|
9
7
|
*/
|
|
10
|
-
export interface
|
|
8
|
+
export interface GetOutlineRequest {
|
|
11
9
|
docId: string;
|
|
12
10
|
layerName: string;
|
|
13
11
|
/** Base64-encoded password for an encrypted document. Valid only with the API token (403 anywhere else). An encrypted document answers 422 DocPasswordRequired when the header is absent. Viewer doc JWTs use the SDK password-session flow instead. */
|
|
14
12
|
"X-Document-Password"?: string;
|
|
15
|
-
/** Names the change: 1 to 255 printable ASCII characters. A retry under the same key on the same layer answers with what the first request committed, and changes nothing. */
|
|
16
|
-
"Idempotency-Key"?: string;
|
|
17
|
-
file: core.file.Uploadable;
|
|
18
13
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GetOutlineRequest } from "./GetOutlineRequest.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.OutlineClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "OutlineClient", { enumerable: true, get: function () { return Client_js_1.OutlineClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -46,27 +46,7 @@ export declare class PagesClient {
|
|
|
46
46
|
viewports(request: CloudPDF.doc.ViewportsPagesRequest, requestOptions?: PagesClient.RequestOptions): core.HttpResponsePromise<CloudPDF.DocPagesViewports200Response>;
|
|
47
47
|
private __viewports;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
|
-
*
|
|
52
|
-
* @throws {@link CloudPDF.BadRequestError}
|
|
53
|
-
* @throws {@link CloudPDF.NotFoundError}
|
|
54
|
-
* @throws {@link errors.CloudPDFError}
|
|
55
|
-
* @throws {@link errors.CloudPDFTimeoutError}
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* await client.doc.pages.delete({
|
|
59
|
-
* docId: "docId",
|
|
60
|
-
* layerName: "layerName",
|
|
61
|
-
* body: {
|
|
62
|
-
* "key": "value"
|
|
63
|
-
* }
|
|
64
|
-
* })
|
|
65
|
-
*/
|
|
66
|
-
delete(request: CloudPDF.doc.DeletePagesRequest, requestOptions?: PagesClient.RequestOptions): core.HttpResponsePromise<CloudPDF.DocPagesDelete200Response>;
|
|
67
|
-
private __delete;
|
|
68
|
-
/**
|
|
69
|
-
* A read, not a mutation: the source document is untouched and no event is published. Body is `{"pages": PageRef[]}`; the response body is the new PDF.
|
|
49
|
+
* A read, not a mutation: the source document is untouched and no event is published. Body is `{"pages": PageRef[], "flatten"?: {"usage"?: "display" | "print"}, "includeAnnotations"?: boolean, "includeFormFields"?: boolean}`; the response body is the new PDF. With `flatten` the copy is the pages as they draw for `usage` (`"print"`: a print copy): the annotations and form fields painted in, nothing interactive left, layers in their state for the usage. A flattened copy takes `doc.download` or `doc.download.flattened`, and paints only what the caller may read; `includeAnnotations` and `includeFormFields` choose what it paints, and are refused without `flatten`.
|
|
70
50
|
*
|
|
71
51
|
* @throws {@link CloudPDF.BadRequestError}
|
|
72
52
|
* @throws {@link CloudPDF.NotFoundError}
|
|
@@ -95,49 +75,6 @@ export declare class PagesClient {
|
|
|
95
75
|
*/
|
|
96
76
|
flatten(request: CloudPDF.doc.FlattenPagesRequest, requestOptions?: PagesClient.RequestOptions): core.HttpResponsePromise<CloudPDF.DocPagesFlatten200Response>;
|
|
97
77
|
private __flatten;
|
|
98
|
-
/**
|
|
99
|
-
* Multipart: a JSON `body` part `{"position"?: PagePosition, "resources": {"source": "<key>"}}` (position omitted → the end), and the standalone PDF whose pages are copied in as the part `resource:<key>`. The inserted copies get fresh page object numbers, returned in insertion order.
|
|
100
|
-
*
|
|
101
|
-
* @param {CloudPDF.doc.InsertPagesRequest} request
|
|
102
|
-
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
103
|
-
*
|
|
104
|
-
* @throws {@link CloudPDF.BadRequestError}
|
|
105
|
-
* @throws {@link CloudPDF.NotFoundError}
|
|
106
|
-
* @throws {@link errors.CloudPDFError}
|
|
107
|
-
* @throws {@link errors.CloudPDFTimeoutError}
|
|
108
|
-
*
|
|
109
|
-
* @example
|
|
110
|
-
* import { createReadStream } from "fs";
|
|
111
|
-
* await client.doc.pages.insert({
|
|
112
|
-
* file: fs.createReadStream("/path/to/your/file"),
|
|
113
|
-
* docId: "docId",
|
|
114
|
-
* layerName: "layerName"
|
|
115
|
-
* })
|
|
116
|
-
*/
|
|
117
|
-
insert(request: CloudPDF.doc.InsertPagesRequest, requestOptions?: PagesClient.RequestOptions): core.HttpResponsePromise<CloudPDF.DocPagesInsert200Response>;
|
|
118
|
-
private __insert;
|
|
119
|
-
/**
|
|
120
|
-
* Body is `{"size": {"width", "height"}, "count"?, "position"?}` — size in PDF points, count in [1, 100], `position` a `PagePosition` (omitted → the end).
|
|
121
|
-
*
|
|
122
|
-
* @param {CloudPDF.doc.InsertBlankPagesRequest} request
|
|
123
|
-
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
124
|
-
*
|
|
125
|
-
* @throws {@link CloudPDF.BadRequestError}
|
|
126
|
-
* @throws {@link CloudPDF.NotFoundError}
|
|
127
|
-
* @throws {@link errors.CloudPDFError}
|
|
128
|
-
* @throws {@link errors.CloudPDFTimeoutError}
|
|
129
|
-
*
|
|
130
|
-
* @example
|
|
131
|
-
* await client.doc.pages.insertBlank({
|
|
132
|
-
* docId: "docId",
|
|
133
|
-
* layerName: "layerName",
|
|
134
|
-
* body: {
|
|
135
|
-
* "key": "value"
|
|
136
|
-
* }
|
|
137
|
-
* })
|
|
138
|
-
*/
|
|
139
|
-
insertBlank(request: CloudPDF.doc.InsertBlankPagesRequest, requestOptions?: PagesClient.RequestOptions): core.HttpResponsePromise<CloudPDF.DocPagesInsertBlank200Response>;
|
|
140
|
-
private __insertBlank;
|
|
141
78
|
/**
|
|
142
79
|
* @param {CloudPDF.doc.SetNamePagesRequest} request
|
|
143
80
|
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -178,46 +115,4 @@ export declare class PagesClient {
|
|
|
178
115
|
*/
|
|
179
116
|
removeName(request: CloudPDF.doc.RemoveNamePagesRequest, requestOptions?: PagesClient.RequestOptions): core.HttpResponsePromise<CloudPDF.DocPagesRemoveName200Response>;
|
|
180
117
|
private __removeName;
|
|
181
|
-
/**
|
|
182
|
-
* @param {CloudPDF.doc.DocPagesReorderRequest} request
|
|
183
|
-
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
184
|
-
*
|
|
185
|
-
* @throws {@link CloudPDF.BadRequestError}
|
|
186
|
-
* @throws {@link CloudPDF.NotFoundError}
|
|
187
|
-
* @throws {@link errors.CloudPDFError}
|
|
188
|
-
* @throws {@link errors.CloudPDFTimeoutError}
|
|
189
|
-
*
|
|
190
|
-
* @example
|
|
191
|
-
* await client.doc.pages.reorder({
|
|
192
|
-
* docId: "docId",
|
|
193
|
-
* layerName: "layerName",
|
|
194
|
-
* pages: [{
|
|
195
|
-
* kind: "objectNumber",
|
|
196
|
-
* objectNumber: 1
|
|
197
|
-
* }],
|
|
198
|
-
* position: "start"
|
|
199
|
-
* })
|
|
200
|
-
*/
|
|
201
|
-
reorder(request: CloudPDF.doc.DocPagesReorderRequest, requestOptions?: PagesClient.RequestOptions): core.HttpResponsePromise<CloudPDF.DocPagesReorder200Response>;
|
|
202
|
-
private __reorder;
|
|
203
|
-
/**
|
|
204
|
-
* @param {CloudPDF.doc.RotatePagesRequest} request
|
|
205
|
-
* @param {PagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
206
|
-
*
|
|
207
|
-
* @throws {@link CloudPDF.BadRequestError}
|
|
208
|
-
* @throws {@link CloudPDF.NotFoundError}
|
|
209
|
-
* @throws {@link errors.CloudPDFError}
|
|
210
|
-
* @throws {@link errors.CloudPDFTimeoutError}
|
|
211
|
-
*
|
|
212
|
-
* @example
|
|
213
|
-
* await client.doc.pages.rotate({
|
|
214
|
-
* docId: "docId",
|
|
215
|
-
* layerName: "layerName",
|
|
216
|
-
* body: {
|
|
217
|
-
* "key": "value"
|
|
218
|
-
* }
|
|
219
|
-
* })
|
|
220
|
-
*/
|
|
221
|
-
rotate(request: CloudPDF.doc.RotatePagesRequest, requestOptions?: PagesClient.RequestOptions): core.HttpResponsePromise<CloudPDF.DocPagesRotate200Response>;
|
|
222
|
-
private __rotate;
|
|
223
118
|
}
|