@@ -99,18 +99,18 @@ eg010SendBinaryDocs.createController = async (req, res) => {
9999/**
100100 * This function does the work of creating the envelope by using
101101 * the API directly with multipart mime
102- * @param {object } args An object with the following elements: <br/>
103- * <tt>accountId</tt>: Current account Id <br/>
104- * <tt> basePath</tt>: base path for making API call <br/>
105- * <tt> accessToken</tt>: a valid access token <br/>
106- * <tt>demoDocsPath</tt>: relative path for the demo docs <br/>
107- * <tt>doc2File: file name for doc 2 <br/>
108- * <tt>doc3File: file name for doc 3 <br/>
109- * <tt>envelopeArgs</tt>: envelopeArgs, an object with elements <br/>
110- * <tt>signerEmail</tt>, <tt>signerName</tt>, <tt>ccEmail</tt>, <tt>ccName</tt>
102+ * @param {object } args object
111103 */
112104// ***DS.worker.start ***DS.snippet.1.start
113105eg010SendBinaryDocs . worker = async ( args ) => {
106+ // Data for this method
107+ // args.basePath
108+ // args.accessToken
109+ // args.accountId
110+ // demoDocsPath: relative path for the demo docs
111+ // doc2File: file name for doc 2
112+ // doc3File: file name for doc 3
113+
114114
115115 // Step 1. Make the envelope JSON request body
116116 let envelopeJSON = makeEnvelopeJSON ( args . envelopeArgs )
@@ -195,12 +195,17 @@ eg010SendBinaryDocs.worker = async (args) => {
195195 * <br>DocuSign will convert all of the documents to the PDF format.
196196 * <br>The recipients' field tags are placed using <b>anchor</b> strings.
197197 * @function
198- * @param {Object } args parameters for the envelope:
199- * <tt>signerEmail</tt>, <tt>signerName</tt>, <tt>ccEmail</tt>, <tt>ccName</tt>
198+ * @param {Object } args object
200199 * @returns {Envelope } An envelope definition
201200 * @private
202201 */
203202function makeEnvelopeJSON ( args ) {
203+ // Data for this method
204+ // args.signerEmail
205+ // args.signerName
206+ // args.ccEmail
207+ // args.ccName
208+
204209 // document 1 (html) has tag **signature_1**
205210 // document 2 (docx) has tag /sn1/
206211 // document 3 (pdf) has tag /sn1/
@@ -291,12 +296,16 @@ function makeEnvelopeJSON(args){
291296 * Creates document 1
292297 * @function
293298 * @private
294- * @param {Object } args parameters for the envelope:
295- * <tt>signerEmail</tt>, <tt>signerName</tt>, <tt>ccEmail</tt>, <tt>ccName</tt>
299+ * @param {Object } args object
296300 * @returns {string } A document in HTML format
297301 */
298-
299302function document1 ( args ) {
303+ // Data for this method
304+ // args.signerEmail
305+ // args.signerName
306+ // args.ccEmail
307+ // args.ccName
308+
300309 return `
301310 <!DOCTYPE html>
302311 <html>
0 commit comments