File tree Expand file tree Collapse file tree 3 files changed +786
-1576
lines changed
Expand file tree Collapse file tree 3 files changed +786
-1576
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ const phoneAuthentication = async (args) => {
4141 args . envelopeArgs . workflowId = workflowId ;
4242
4343 // Construct your envelope JSON body
44+ // Step 4 start
4445 let envelope = makeEnvelope ( args . envelopeArgs ) ;
46+ // Step 4 end
4547
4648 // Call the eSignature REST API
4749 // Step 5 start
@@ -80,7 +82,6 @@ function makeEnvelope(args) {
8082 docPdfBytes = fs . readFileSync ( args . docFile ) ;
8183
8284 // Create the envelope definition
83- // Step 4 start
8485 let env = new docusign . EnvelopeDefinition ( ) ;
8586 env . emailSubject = "Please sign" ;
8687 env . emailBlurb = "Sample text for email body" ;
@@ -128,7 +129,7 @@ function makeEnvelope(args) {
128129 signers : [ signer1 ] ,
129130 } ) ;
130131 env . recipients = recipients ;
131- // Step 4 end
132+
132133 return env ;
133134}
134135
You can’t perform that action at this time.
0 commit comments