naftiko: 1.0.0-alpha2 info: label: DocuSign REST API — TemplateDocumentVisibility description: 'DocuSign REST API — TemplateDocumentVisibility. 3 operations. Lead operation: Docusign Updates document visibility for the recipients. Self-contained Naftiko capability covering one Docusign business surface.' tags: - Docusign - TemplateDocumentVisibility created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DOCUSIGN_API_KEY: DOCUSIGN_API_KEY capability: consumes: - type: http namespace: docusign-templatedocumentvisibility baseUri: https://www.docusign.net/restapi description: DocuSign REST API — TemplateDocumentVisibility business capability. Self-contained, no shared references. resources: - name: v2-accounts-accountId-templates-templateId-recipients-document_visibility path: /v2/accounts/{accountId}/templates/{templateId}/recipients/document_visibility operations: - name: recipientsputtemplaterecipientsdocumentvisibility method: PUT description: Docusign Updates document visibility for the recipients outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountId in: path type: string description: The external account number (int) or account id GUID. required: true - name: templateId in: path type: string description: The ID of the template being accessed. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v2-accounts-accountId-templates-templateId-recipients-recipientId-document_visib path: /v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility operations: - name: recipientsgettemplaterecipientdocumentvisibility method: GET description: Docusign Returns document visibility for the recipients outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountId in: path type: string description: The external account number (int) or account id GUID. required: true - name: recipientId in: path type: string description: A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, bu required: true - name: templateId in: path type: string description: The ID of the template being accessed. required: true - name: recipientsputtemplaterecipientdocumentvisibility method: PUT description: Docusign Updates document visibility for the recipients outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountId in: path type: string description: The external account number (int) or account id GUID. required: true - name: recipientId in: path type: string description: A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, bu required: true - name: templateId in: path type: string description: The ID of the template being accessed. required: true - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: docusign-templatedocumentvisibility-rest port: 8080 description: REST adapter for DocuSign REST API — TemplateDocumentVisibility. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/accounts/{accountid}/templates/{templateid}/recipients/document-visibility name: v2-accounts-accountid-templates-templateid-recipients-document-visibility description: REST surface for v2-accounts-accountId-templates-templateId-recipients-document_visibility. operations: - method: PUT name: recipientsputtemplaterecipientsdocumentvisibility description: Docusign Updates document visibility for the recipients call: docusign-templatedocumentvisibility.recipientsputtemplaterecipientsdocumentvisibility with: accountId: rest.accountId templateId: rest.templateId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/accounts/{accountid}/templates/{templateid}/recipients/{recipientid}/document-visibility name: v2-accounts-accountid-templates-templateid-recipients-recipientid-document-visib description: REST surface for v2-accounts-accountId-templates-templateId-recipients-recipientId-document_visib. operations: - method: GET name: recipientsgettemplaterecipientdocumentvisibility description: Docusign Returns document visibility for the recipients call: docusign-templatedocumentvisibility.recipientsgettemplaterecipientdocumentvisibility with: accountId: rest.accountId recipientId: rest.recipientId templateId: rest.templateId outputParameters: - type: object mapping: $. - method: PUT name: recipientsputtemplaterecipientdocumentvisibility description: Docusign Updates document visibility for the recipients call: docusign-templatedocumentvisibility.recipientsputtemplaterecipientdocumentvisibility with: accountId: rest.accountId recipientId: rest.recipientId templateId: rest.templateId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: docusign-templatedocumentvisibility-mcp port: 9090 transport: http description: MCP adapter for DocuSign REST API — TemplateDocumentVisibility. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: docusign-updates-document-visibility-recipients description: Docusign Updates document visibility for the recipients hints: readOnly: false destructive: false idempotent: true call: docusign-templatedocumentvisibility.recipientsputtemplaterecipientsdocumentvisibility with: accountId: tools.accountId templateId: tools.templateId body: tools.body outputParameters: - type: object mapping: $. - name: docusign-returns-document-visibility-recipients description: Docusign Returns document visibility for the recipients hints: readOnly: true destructive: false idempotent: true call: docusign-templatedocumentvisibility.recipientsgettemplaterecipientdocumentvisibility with: accountId: tools.accountId recipientId: tools.recipientId templateId: tools.templateId outputParameters: - type: object mapping: $. - name: docusign-updates-document-visibility-recipients-2 description: Docusign Updates document visibility for the recipients hints: readOnly: false destructive: false idempotent: true call: docusign-templatedocumentvisibility.recipientsputtemplaterecipientdocumentvisibility with: accountId: tools.accountId recipientId: tools.recipientId templateId: tools.templateId body: tools.body outputParameters: - type: object mapping: $.