@assinafy/cli 2.7.1 → 2.9.1

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.
Files changed (61) hide show
  1. package/.env.example +2 -0
  2. package/README.en.md +75 -67
  3. package/README.md +39 -25
  4. package/THIRD_PARTY_NOTICES.md +8 -8
  5. package/dist/api.cjs +701 -93
  6. package/dist/api.cjs.map +1 -1
  7. package/dist/api.js +696 -93
  8. package/dist/api.js.map +1 -1
  9. package/dist/cli.cjs +2390 -694
  10. package/dist/types/api/client.d.ts +7 -0
  11. package/dist/types/api/client.d.ts.map +1 -1
  12. package/dist/types/api/envelope-types.d.ts +73 -0
  13. package/dist/types/api/envelope-types.d.ts.map +1 -0
  14. package/dist/types/api/index.d.ts +4 -0
  15. package/dist/types/api/index.d.ts.map +1 -1
  16. package/dist/types/api/resources/assignments.d.ts +7 -1
  17. package/dist/types/api/resources/assignments.d.ts.map +1 -1
  18. package/dist/types/api/resources/contracts.d.ts +3 -1
  19. package/dist/types/api/resources/contracts.d.ts.map +1 -1
  20. package/dist/types/api/resources/documents.d.ts +25 -6
  21. package/dist/types/api/resources/documents.d.ts.map +1 -1
  22. package/dist/types/api/resources/embed.d.ts +14 -0
  23. package/dist/types/api/resources/embed.d.ts.map +1 -0
  24. package/dist/types/api/resources/envelopes.d.ts +37 -0
  25. package/dist/types/api/resources/envelopes.d.ts.map +1 -0
  26. package/dist/types/api/resources/scheduled-sends.d.ts +11 -0
  27. package/dist/types/api/resources/scheduled-sends.d.ts.map +1 -0
  28. package/dist/types/api/resources/signer-documents.d.ts +23 -11
  29. package/dist/types/api/resources/signer-documents.d.ts.map +1 -1
  30. package/dist/types/api/resources/signers.d.ts +1 -1
  31. package/dist/types/api/resources/signers.d.ts.map +1 -1
  32. package/dist/types/api/resources/users.d.ts +3 -1
  33. package/dist/types/api/resources/users.d.ts.map +1 -1
  34. package/dist/types/api/resources/webhooks.d.ts +6 -2
  35. package/dist/types/api/resources/webhooks.d.ts.map +1 -1
  36. package/dist/types/api/resources/workspaces.d.ts +9 -2
  37. package/dist/types/api/resources/workspaces.d.ts.map +1 -1
  38. package/dist/types/api/types.d.ts +138 -8
  39. package/dist/types/api/types.d.ts.map +1 -1
  40. package/dist/types/api/utils.d.ts +9 -0
  41. package/dist/types/api/utils.d.ts.map +1 -1
  42. package/docs/README.md +5 -1
  43. package/docs/api-operations-staging.json +1262 -0
  44. package/docs/api-operations.json +234 -2
  45. package/docs/api-reference-staging.md +18466 -0
  46. package/docs/api-reference.md +11562 -3718
  47. package/docs/assignments.md +62 -14
  48. package/docs/contracts.md +4 -3
  49. package/docs/documents.md +75 -27
  50. package/docs/embed.md +119 -0
  51. package/docs/envelopes.md +239 -0
  52. package/docs/scheduled-sends.md +63 -0
  53. package/docs/sdk-reference.md +278 -30
  54. package/docs/send.md +15 -11
  55. package/docs/signer.md +84 -3
  56. package/docs/users.md +41 -0
  57. package/docs/webhooks.md +22 -6
  58. package/docs/workspaces.md +66 -3
  59. package/install.ps1 +1 -1
  60. package/install.sh +1 -1
  61. package/package.json +4 -4
@@ -21,6 +21,9 @@ Commands:
21
21
  identity-verification <documentId> <assignmentId> <signerId> Fetch a signer identity review and its evidence summary
22
22
  identity-image [options] <documentId> <assignmentId> <signerId> Download identity review evidence while the review is open
23
23
  review-identity [options] <documentId> <assignmentId> <signerId> Approve certification or reject and cancel the document after identity review
24
+ schedule [options] <documentId> Schedule an assignment without sending or charging now (staging)
25
+ signer-capacities <documentId> Read the capacities signers were assigned (staging)
26
+ notification-history <documentId> Read notification delivery/open times (staging)
24
27
  help [command] display help for command
25
28
  ```
26
29
 
@@ -46,22 +49,24 @@ Usage: assinafy assignments create [options] <documentId>
46
49
  Create a signing assignment for a document
47
50
 
48
51
  Arguments:
49
- documentId Document ID
52
+ documentId Document ID
50
53
 
51
54
  Options:
52
- --signer-ids <csv> Comma-separated signer IDs (required)
53
- --signers <json> JSON array of signer refs, with verification_method,
54
- step, … (required)
55
- --method <method> virtual or collect (choices: "virtual", "collect",
56
- default: "virtual")
57
- --message <message> Message shown to signers
58
- --expires-at <iso8601> Expiration timestamp
59
- --copy-receivers <csv> Comma-separated signer IDs to receive a copy of the
60
- document
61
- --entries <json> JSON array of field placement entries, required for
62
- --method collect (e.g.
63
- '[{"page_id":"p1","fields":[{"signer_id":"s1","field_id":"f1"}]}]')
64
- -h, --help display help for command
55
+ --signer-ids <csv> Comma-separated signer IDs (required)
56
+ --signers <json> JSON array of signer refs, with
57
+ verification_method, step, … (required)
58
+ --method <method> virtual or collect (choices: "virtual",
59
+ "collect", default: "virtual")
60
+ --message <message> Message shown to signers
61
+ --max-total-credits <amount> Reject the send if its credit cost exceeds this
62
+ amount
63
+ --expires-at <iso8601> Expiration timestamp
64
+ --copy-receivers <csv> Comma-separated signer IDs to receive a copy of
65
+ the document
66
+ --entries <json> JSON array of field placement entries, required
67
+ for --method collect (e.g.
68
+ '[{"page_id":"p1","fields":[{"signer_id":"s1","field_id":"f1"}]}]')
69
+ -h, --help display help for command
65
70
  ```
66
71
 
67
72
  ### `assinafy assignments estimate-cost`
@@ -203,3 +208,46 @@ Options:
203
208
  -y, --yes Skip the confirmation prompt
204
209
  -h, --help display help for command
205
210
  ```
211
+
212
+ ### `assinafy assignments schedule`
213
+
214
+ ```text
215
+ Usage: assinafy assignments schedule [options] <documentId>
216
+
217
+ Schedule an assignment without sending or charging now (staging)
218
+
219
+ Arguments:
220
+ documentId Document ID
221
+
222
+ Options:
223
+ --data <json> Assignment JSON with send_at (ISO 8601 or Unix seconds)
224
+ -h, --help display help for command
225
+ ```
226
+
227
+ ### `assinafy assignments signer-capacities`
228
+
229
+ ```text
230
+ Usage: assinafy assignments signer-capacities [options] <documentId>
231
+
232
+ Read the capacities signers were assigned (staging)
233
+
234
+ Arguments:
235
+ documentId Document ID
236
+
237
+ Options:
238
+ -h, --help display help for command
239
+ ```
240
+
241
+ ### `assinafy assignments notification-history`
242
+
243
+ ```text
244
+ Usage: assinafy assignments notification-history [options] <documentId>
245
+
246
+ Read notification delivery/open times (staging)
247
+
248
+ Arguments:
249
+ documentId Document ID
250
+
251
+ Options:
252
+ -h, --help display help for command
253
+ ```
package/docs/contracts.md CHANGED
@@ -16,7 +16,7 @@ Commands:
16
16
  amendment link
17
17
  set [options] <documentId> Set terms or link an amendment; null clears,
18
18
  omitted fields stay unchanged
19
- related <documentId> Read the root contract and every linked
19
+ related [options] <documentId> Read the root contract and every linked
20
20
  instrument
21
21
  renew [options] <documentId> Start the next term using the current term
22
22
  or a later end_date
@@ -89,10 +89,11 @@ Usage: assinafy contracts related [options] <documentId>
89
89
  Read the root contract and every linked instrument
90
90
 
91
91
  Arguments:
92
- documentId Contract or amendment document ID
92
+ documentId Contract or amendment document ID
93
93
 
94
94
  Options:
95
- -h, --help display help for command
95
+ --expand <relation> Include document details (choices: "document")
96
+ -h, --help display help for command
96
97
  ```
97
98
 
98
99
  ### `assinafy contracts renew`
package/docs/documents.md CHANGED
@@ -14,7 +14,7 @@ Commands:
14
14
  upload [options] <file> Upload a PDF to the workspace
15
15
  list [options] List workspace documents
16
16
  search [options] [query] Lightweight document search (type-ahead)
17
- get <id> Show details for a document
17
+ get [options] <id> Show details for a document
18
18
  rename <id> <name> Rename a document (only before the signature process starts)
19
19
  download [options] <id> Download a document artifact
20
20
  thumbnail [options] <id> Download the document thumbnail (JPEG)
@@ -33,6 +33,8 @@ Commands:
33
33
  send-token [options] <id> Email a one-time access token to a signer of a pending document
34
34
  progress <id> Show signing progress for a document
35
35
  wait [options] <id> Poll a document until it is ready (or fails / times out)
36
+ watchers <documentId> List document watchers (staging; owner credentials required)
37
+ set-watchers [options] <documentId> Replace contacts notified when the document ends (staging)
36
38
  help [command] display help for command
37
39
  ```
38
40
 
@@ -65,6 +67,7 @@ Options:
65
67
  --method <method> Filter by signature method (virtual or collect) (choices:
66
68
  "virtual", "collect")
67
69
  --tags <ids> Comma-separated tag IDs (AND semantics)
70
+ --envelope <id> Filter by envelope ID
68
71
  --page <n> Page number to fetch
69
72
  --per-page <n> Items per page
70
73
  --search <query> Filter by a search query
@@ -84,6 +87,7 @@ Arguments:
84
87
 
85
88
  Options:
86
89
  --status <status> Filter by document status
90
+ --envelope <id> Filter by envelope ID
87
91
  --page <n> Page number to fetch
88
92
  --per-page <n> Items per page
89
93
  --search <query> Filter by a search query
@@ -99,10 +103,14 @@ Usage: assinafy documents get [options] <id>
99
103
  Show details for a document
100
104
 
101
105
  Arguments:
102
- id Document ID
106
+ id Document ID
103
107
 
104
108
  Options:
105
- -h, --help display help for command
109
+ --access-code <code> Read as a signer instead of the owner (env:
110
+ ASSINAFY_SIGNER_ACCESS_CODE)
111
+ --expand <relation> Include envelope details (choices: "envelope",
112
+ "envelope_id", "envelope,envelope_id")
113
+ -h, --help display help for command
106
114
  ```
107
115
 
108
116
  ### `assinafy documents rename`
@@ -128,14 +136,16 @@ Usage: assinafy documents download [options] <id>
128
136
  Download a document artifact
129
137
 
130
138
  Arguments:
131
- id Document ID
139
+ id Document ID
132
140
 
133
141
  Options:
134
- --artifact <name> original | certificated | certificate-page | pades |
135
- bundle (default: "certificated")
136
- -o, --output <path> Output file path
137
- --force Overwrite the output file if it already exists
138
- -h, --help display help for command
142
+ --access-code <code> Read as a signer instead of the owner (env:
143
+ ASSINAFY_SIGNER_ACCESS_CODE)
144
+ --artifact <name> original | certificated | certificate-page | pades |
145
+ bundle (default: "certificated")
146
+ -o, --output <path> Output file path
147
+ --force Overwrite the output file if it already exists
148
+ -h, --help display help for command
139
149
  ```
140
150
 
141
151
  ### `assinafy documents thumbnail`
@@ -146,12 +156,15 @@ Usage: assinafy documents thumbnail [options] <id>
146
156
  Download the document thumbnail (JPEG)
147
157
 
148
158
  Arguments:
149
- id Document ID
159
+ id Document ID
150
160
 
151
161
  Options:
152
- -o, --output <path> Output file path
153
- --force Overwrite the output file if it already exists
154
- -h, --help display help for command
162
+ --artifact <name> Use the signed PDF (choices: "certificated")
163
+ --access-code <code> Read as a signer instead of the owner (env:
164
+ ASSINAFY_SIGNER_ACCESS_CODE)
165
+ -o, --output <path> Output file path
166
+ --force Overwrite the output file if it already exists
167
+ -h, --help display help for command
155
168
  ```
156
169
 
157
170
  ### `assinafy documents download-page`
@@ -162,13 +175,16 @@ Usage: assinafy documents download-page [options] <id> <pageId>
162
175
  Download a single document page (JPEG)
163
176
 
164
177
  Arguments:
165
- id Document ID
166
- pageId Page ID
178
+ id Document ID
179
+ pageId Page ID
167
180
 
168
181
  Options:
169
- -o, --output <path> Output file path
170
- --force Overwrite the output file if it already exists
171
- -h, --help display help for command
182
+ --artifact <name> Use the signed PDF (choices: "certificated")
183
+ --access-code <code> Read as a signer instead of the owner (env:
184
+ ASSINAFY_SIGNER_ACCESS_CODE)
185
+ -o, --output <path> Output file path
186
+ --force Overwrite the output file if it already exists
187
+ -h, --help display help for command
172
188
  ```
173
189
 
174
190
  ### `assinafy documents activities`
@@ -270,17 +286,20 @@ Usage: assinafy documents create-from-template [options] <templateId>
270
286
  Create a document from a template
271
287
 
272
288
  Arguments:
273
- templateId Template ID
289
+ templateId Template ID
274
290
 
275
291
  Options:
276
- --signers <json> JSON array of signers, e.g.
277
- '[{"role_id":"r","id":"s","verification_method":"Email","notification_methods":["Email"]}]'
278
- --name <name> Document name
279
- --message <message> Message shown to signers
280
- --expires-at <iso8601> Expiration timestamp
281
- --tags <names> Comma-separated tag names to attach
282
- --editor-fields <json> JSON array of editor field placements
283
- -h, --help display help for command
292
+ --idempotency-key <key> Creation key for recovering a lost response
293
+ --max-total-credits <amount> Reject creation if its credit cost exceeds this
294
+ amount
295
+ --signers <json> JSON array of signers, e.g.
296
+ '[{"role_id":"r","id":"s","verification_method":"Email","notification_methods":["Email"]}]'
297
+ --name <name> Document name
298
+ --message <message> Message shown to signers
299
+ --expires-at <iso8601> Expiration timestamp
300
+ --tags <names> Comma-separated tag names to attach
301
+ --editor-fields <json> JSON array of editor field placements
302
+ -h, --help display help for command
284
303
  ```
285
304
 
286
305
  ### `assinafy documents estimate-template-cost`
@@ -383,3 +402,32 @@ Options:
383
402
  --interval <ms> Poll interval in milliseconds (default: "2000")
384
403
  -h, --help display help for command
385
404
  ```
405
+
406
+ ### `assinafy documents watchers`
407
+
408
+ ```text
409
+ Usage: assinafy documents watchers [options] <documentId>
410
+
411
+ List document watchers (staging; owner credentials required)
412
+
413
+ Arguments:
414
+ documentId Document ID
415
+
416
+ Options:
417
+ -h, --help display help for command
418
+ ```
419
+
420
+ ### `assinafy documents set-watchers`
421
+
422
+ ```text
423
+ Usage: assinafy documents set-watchers [options] <documentId>
424
+
425
+ Replace contacts notified when the document ends (staging)
426
+
427
+ Arguments:
428
+ documentId Document ID
429
+
430
+ Options:
431
+ --watcher-ids <json> JSON array of contact IDs; [] removes all watchers
432
+ -h, --help display help for command
433
+ ```
package/docs/embed.md ADDED
@@ -0,0 +1,119 @@
1
+ # `assinafy embed`
2
+
3
+ ## `assinafy embed`
4
+
5
+ ```text
6
+ Usage: assinafy embed [options] [command]
7
+
8
+ Embedded signing origins and sessions
9
+
10
+ Options:
11
+ -h, --help display help for command
12
+
13
+ Commands:
14
+ origins Manage origins allowed to embed signing pages
15
+ session <documentId> <assignmentId> <signerId> Mint a private iframe URL valid for five minutes
16
+ exchange [options] Consume a session token (Assinafy embed page operation)
17
+ help [command] display help for command
18
+ ```
19
+
20
+ ### `assinafy embed origins`
21
+
22
+ ```text
23
+ Usage: assinafy embed origins [options] [command]
24
+
25
+ Manage origins allowed to embed signing pages
26
+
27
+ Options:
28
+ -h, --help display help for command
29
+
30
+ Commands:
31
+ list List allowed origins
32
+ create [options] Allow an exact origin
33
+ update [options] <originId> Replace an allowed origin
34
+ delete [options] <originId> Remove an allowed origin
35
+ help [command] display help for command
36
+ ```
37
+
38
+ #### `assinafy embed origins list`
39
+
40
+ ```text
41
+ Usage: assinafy embed origins list [options]
42
+
43
+ List allowed origins
44
+
45
+ Options:
46
+ -h, --help display help for command
47
+ ```
48
+
49
+ #### `assinafy embed origins create`
50
+
51
+ ```text
52
+ Usage: assinafy embed origins create [options]
53
+
54
+ Allow an exact origin
55
+
56
+ Options:
57
+ --origin <url> HTTPS origin (HTTP allowed for localhost/127.0.0.1)
58
+ -h, --help display help for command
59
+ ```
60
+
61
+ #### `assinafy embed origins update`
62
+
63
+ ```text
64
+ Usage: assinafy embed origins update [options] <originId>
65
+
66
+ Replace an allowed origin
67
+
68
+ Arguments:
69
+ originId Origin ID
70
+
71
+ Options:
72
+ --origin <url> New exact origin
73
+ -h, --help display help for command
74
+ ```
75
+
76
+ #### `assinafy embed origins delete`
77
+
78
+ ```text
79
+ Usage: assinafy embed origins delete [options] <originId>
80
+
81
+ Remove an allowed origin
82
+
83
+ Arguments:
84
+ originId Origin ID
85
+
86
+ Options:
87
+ -y, --yes Skip confirmation
88
+ -h, --help display help for command
89
+ ```
90
+
91
+ ### `assinafy embed session`
92
+
93
+ ```text
94
+ Usage: assinafy embed session [options] <documentId> <assignmentId> <signerId>
95
+
96
+ Mint a private iframe URL valid for five minutes
97
+
98
+ Arguments:
99
+ documentId Document ID
100
+ assignmentId Assignment ID
101
+ signerId Signer ID
102
+
103
+ Options:
104
+ -h, --help display help for command
105
+ ```
106
+
107
+ ### `assinafy embed exchange`
108
+
109
+ ```text
110
+ Usage: assinafy embed exchange [options]
111
+
112
+ Consume a session token (Assinafy embed page operation)
113
+
114
+ Options:
115
+ --session-token <token> Private session token (env:
116
+ ASSINAFY_EMBED_SESSION_TOKEN)
117
+ --parent-origin <url> Origin hosting the iframe
118
+ -h, --help display help for command
119
+ ```
@@ -0,0 +1,239 @@
1
+ # `assinafy envelopes`
2
+
3
+ ## `assinafy envelopes`
4
+
5
+ ```text
6
+ Usage: assinafy envelopes [options] [command]
7
+
8
+ Send and manage groups of documents
9
+
10
+ Options:
11
+ -h, --help display help for command
12
+
13
+ Commands:
14
+ list [options] List workspace envelopes
15
+ create [options] Create an envelope and send invitations
16
+ estimate-cost [options] Estimate without sending or charging
17
+ get <envelopeId> Read an envelope and its documents
18
+ update [options] <envelopeId> Rename, change message, or reorder documents
19
+ cancel [options] <envelopeId> Cancel open documents and notify recipients
20
+ delete [options] <envelopeId> Delete a closed envelope, keeping its documents
21
+ activities [options] <envelopeId> Read a page of document activities
22
+ download [options] <envelopeId> Download a ZIP of document artifacts
23
+ resend <envelopeId> <signerId> Resend one signer’s envelope invitation; paid channels cost credits
24
+ add-document [options] <envelopeId> Add a processed document and notify its envelope signers
25
+ remove-document [options] <envelopeId> <documentId> Cancel and remove an open document, notifying its recipients
26
+ schedule [options] Schedule an envelope without sending or charging now (staging)
27
+ estimate-resend-cost <envelopeId> <signerId> Estimate one envelope reminder without sending or charging (staging)
28
+ help [command] display help for command
29
+ ```
30
+
31
+ ### `assinafy envelopes list`
32
+
33
+ ```text
34
+ Usage: assinafy envelopes list [options]
35
+
36
+ List workspace envelopes
37
+
38
+ Options:
39
+ --page <n> Page number to fetch
40
+ --per-page <n> Items per page
41
+ --search <text> Part of the envelope name
42
+ --status <status> Document lifecycle group (choices: "open", "closed")
43
+ -h, --help display help for command
44
+ ```
45
+
46
+ ### `assinafy envelopes create`
47
+
48
+ ```text
49
+ Usage: assinafy envelopes create [options]
50
+
51
+ Create an envelope and send invitations
52
+
53
+ Options:
54
+ --data <json> Envelope JSON: name, signers, documents, optional
55
+ max_total_credits
56
+ --idempotency-key <key> Creation key for recovering a lost response
57
+ -h, --help display help for command
58
+ ```
59
+
60
+ ### `assinafy envelopes estimate-cost`
61
+
62
+ ```text
63
+ Usage: assinafy envelopes estimate-cost [options]
64
+
65
+ Estimate without sending or charging
66
+
67
+ Options:
68
+ --data <json> Envelope JSON: name, signers, documents, optional
69
+ max_total_credits
70
+ -h, --help display help for command
71
+ ```
72
+
73
+ ### `assinafy envelopes get`
74
+
75
+ ```text
76
+ Usage: assinafy envelopes get [options] <envelopeId>
77
+
78
+ Read an envelope and its documents
79
+
80
+ Arguments:
81
+ envelopeId Envelope ID
82
+
83
+ Options:
84
+ -h, --help display help for command
85
+ ```
86
+
87
+ ### `assinafy envelopes update`
88
+
89
+ ```text
90
+ Usage: assinafy envelopes update [options] <envelopeId>
91
+
92
+ Rename, change message, or reorder documents
93
+
94
+ Arguments:
95
+ envelopeId Envelope ID
96
+
97
+ Options:
98
+ --data <json> Partial JSON: name, message (null clears), document_ids
99
+ -h, --help display help for command
100
+ ```
101
+
102
+ ### `assinafy envelopes cancel`
103
+
104
+ ```text
105
+ Usage: assinafy envelopes cancel [options] <envelopeId>
106
+
107
+ Cancel open documents and notify recipients
108
+
109
+ Arguments:
110
+ envelopeId Envelope ID
111
+
112
+ Options:
113
+ -y, --yes Skip confirmation
114
+ -h, --help display help for command
115
+ ```
116
+
117
+ ### `assinafy envelopes delete`
118
+
119
+ ```text
120
+ Usage: assinafy envelopes delete [options] <envelopeId>
121
+
122
+ Delete a closed envelope, keeping its documents
123
+
124
+ Arguments:
125
+ envelopeId Envelope ID
126
+
127
+ Options:
128
+ -y, --yes Skip confirmation
129
+ -h, --help display help for command
130
+ ```
131
+
132
+ ### `assinafy envelopes activities`
133
+
134
+ ```text
135
+ Usage: assinafy envelopes activities [options] <envelopeId>
136
+
137
+ Read a page of document activities
138
+
139
+ Arguments:
140
+ envelopeId Envelope ID
141
+
142
+ Options:
143
+ --page <n> Page number to fetch
144
+ --per-page <n> Items per page
145
+ --sort <field> id or -id
146
+ -h, --help display help for command
147
+ ```
148
+
149
+ ### `assinafy envelopes download`
150
+
151
+ ```text
152
+ Usage: assinafy envelopes download [options] <envelopeId>
153
+
154
+ Download a ZIP of document artifacts
155
+
156
+ Arguments:
157
+ envelopeId Envelope ID
158
+
159
+ Options:
160
+ -o, --output <path> Output file path
161
+ --force Overwrite the output file if it already exists
162
+ --artifact <name> original, certificated, certificate-page, pades, bundle
163
+ (default: "certificated")
164
+ -h, --help display help for command
165
+ ```
166
+
167
+ ### `assinafy envelopes resend`
168
+
169
+ ```text
170
+ Usage: assinafy envelopes resend [options] <envelopeId> <signerId>
171
+
172
+ Resend one signer’s envelope invitation; paid channels cost credits
173
+
174
+ Arguments:
175
+ envelopeId Envelope ID
176
+ signerId Signer ID
177
+
178
+ Options:
179
+ -h, --help display help for command
180
+ ```
181
+
182
+ ### `assinafy envelopes add-document`
183
+
184
+ ```text
185
+ Usage: assinafy envelopes add-document [options] <envelopeId>
186
+
187
+ Add a processed document and notify its envelope signers
188
+
189
+ Arguments:
190
+ envelopeId Envelope ID
191
+
192
+ Options:
193
+ --data <json> JSON: id, signer_ids, optional method, entries, expires_at,
194
+ copy_receiver_ids, max_total_credits
195
+ -h, --help display help for command
196
+ ```
197
+
198
+ ### `assinafy envelopes remove-document`
199
+
200
+ ```text
201
+ Usage: assinafy envelopes remove-document [options] <envelopeId> <documentId>
202
+
203
+ Cancel and remove an open document, notifying its recipients
204
+
205
+ Arguments:
206
+ envelopeId Envelope ID
207
+ documentId Document ID
208
+
209
+ Options:
210
+ -y, --yes Skip confirmation
211
+ -h, --help display help for command
212
+ ```
213
+
214
+ ### `assinafy envelopes schedule`
215
+
216
+ ```text
217
+ Usage: assinafy envelopes schedule [options]
218
+
219
+ Schedule an envelope without sending or charging now (staging)
220
+
221
+ Options:
222
+ --data <json> Envelope JSON with send_at (ISO 8601 or Unix seconds)
223
+ -h, --help display help for command
224
+ ```
225
+
226
+ ### `assinafy envelopes estimate-resend-cost`
227
+
228
+ ```text
229
+ Usage: assinafy envelopes estimate-resend-cost [options] <envelopeId> <signerId>
230
+
231
+ Estimate one envelope reminder without sending or charging (staging)
232
+
233
+ Arguments:
234
+ envelopeId Envelope ID
235
+ signerId Signer ID
236
+
237
+ Options:
238
+ -h, --help display help for command
239
+ ```