@assinafy/cli 2.0.1 → 2.0.3
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/README.md +41 -9
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/api.cjs +165 -32
- package/dist/api.cjs.map +1 -1
- package/dist/api.js +165 -32
- package/dist/api.js.map +1 -1
- package/dist/cli.cjs +717 -170
- package/dist/types/api/client.d.ts.map +1 -1
- package/dist/types/api/resources/assignments.d.ts +3 -1
- package/dist/types/api/resources/assignments.d.ts.map +1 -1
- package/dist/types/api/resources/documents.d.ts +3 -3
- package/dist/types/api/resources/documents.d.ts.map +1 -1
- package/dist/types/api/resources/fields.d.ts.map +1 -1
- package/dist/types/api/resources/signer-documents.d.ts +9 -5
- package/dist/types/api/resources/signer-documents.d.ts.map +1 -1
- package/dist/types/api/resources/signers.d.ts.map +1 -1
- package/dist/types/api/resources/webhooks.d.ts.map +1 -1
- package/dist/types/api/support/webhook-verifier.d.ts.map +1 -1
- package/dist/types/api/types.d.ts +56 -51
- package/dist/types/api/types.d.ts.map +1 -1
- package/dist/types/api/utils.d.ts +18 -0
- package/dist/types/api/utils.d.ts.map +1 -1
- package/docs/api-operations.json +1 -1
- package/docs/api-reference.md +78 -68
- package/docs/assignments.md +3 -3
- package/docs/documents.md +8 -8
- package/docs/fields.md +4 -4
- package/docs/releasing.md +7 -2
- package/docs/sdk-reference.md +72 -10
- package/docs/signer.md +3 -2
- package/package.json +4 -4
package/docs/api-reference.md
CHANGED
|
@@ -7,7 +7,7 @@ The renderer reuses a generic 400 envelope for several non-400 errors; top-level
|
|
|
7
7
|
- OpenAPI: 3.0.0
|
|
8
8
|
- API document version: 1.0.0
|
|
9
9
|
- Operations: 89
|
|
10
|
-
- Contract SHA-256: `
|
|
10
|
+
- Contract SHA-256: `47fe244e05d7acd9cef0561da4b8c042e1eb549b015f731233475093b5602087`
|
|
11
11
|
|
|
12
12
|
## Accounts
|
|
13
13
|
|
|
@@ -627,8 +627,13 @@ Precomputed per-account document-funnel KPIs. `granularity=monthly` (default) re
|
|
|
627
627
|
"documents_uploaded": 42,
|
|
628
628
|
"documents_sent": 37,
|
|
629
629
|
"signature_requests": 61,
|
|
630
|
-
"
|
|
631
|
-
"
|
|
630
|
+
"signature_requests_notification_email": 55,
|
|
631
|
+
"signature_requests_notification_whatsapp": 18,
|
|
632
|
+
"signature_requests_notification_bypass": 3,
|
|
633
|
+
"signature_requests_verification_email": 48,
|
|
634
|
+
"signature_requests_verification_whatsapp": 6,
|
|
635
|
+
"signature_requests_verification_bypass": 3,
|
|
636
|
+
"signature_requests_verification_digital_certificate": 4,
|
|
632
637
|
"signature_requests_viewed": 44,
|
|
633
638
|
"signature_requests_completed": 52,
|
|
634
639
|
"documents_certified": 30
|
|
@@ -780,7 +785,7 @@ List documents of the workspace.
|
|
|
780
785
|
"assignment": {
|
|
781
786
|
"resource": "assignment",
|
|
782
787
|
"id": "example_id_6",
|
|
783
|
-
"sender_email": "
|
|
788
|
+
"sender_email": "user1@example.com",
|
|
784
789
|
"method": "virtual",
|
|
785
790
|
"expires_at": null,
|
|
786
791
|
"message": "string",
|
|
@@ -806,7 +811,7 @@ List documents of the workspace.
|
|
|
806
811
|
"resource": "signer",
|
|
807
812
|
"id": "example_id_7",
|
|
808
813
|
"full_name": "Example User",
|
|
809
|
-
"email": "
|
|
814
|
+
"email": "user2@example.com",
|
|
810
815
|
"whatsapp_phone_number": "+5500000000000",
|
|
811
816
|
"has_accepted_terms": false
|
|
812
817
|
}
|
|
@@ -934,7 +939,7 @@ Example:
|
|
|
934
939
|
"assignment": {
|
|
935
940
|
"resource": "assignment",
|
|
936
941
|
"id": "example_id_6",
|
|
937
|
-
"sender_email": "
|
|
942
|
+
"sender_email": "user1@example.com",
|
|
938
943
|
"method": "virtual",
|
|
939
944
|
"expires_at": null,
|
|
940
945
|
"message": "string",
|
|
@@ -960,7 +965,7 @@ Example:
|
|
|
960
965
|
"resource": "signer",
|
|
961
966
|
"id": "example_id_7",
|
|
962
967
|
"full_name": "Example User",
|
|
963
|
-
"email": "
|
|
968
|
+
"email": "user2@example.com",
|
|
964
969
|
"whatsapp_phone_number": "+5500000000000",
|
|
965
970
|
"has_accepted_terms": false
|
|
966
971
|
}
|
|
@@ -1088,7 +1093,7 @@ Search documents of the workspace, returning a compact representation (no expand
|
|
|
1088
1093
|
"assignment": {
|
|
1089
1094
|
"resource": "assignment",
|
|
1090
1095
|
"id": "example_id_6",
|
|
1091
|
-
"sender_email": "
|
|
1096
|
+
"sender_email": "user1@example.com",
|
|
1092
1097
|
"method": "virtual",
|
|
1093
1098
|
"expires_at": null,
|
|
1094
1099
|
"message": "string",
|
|
@@ -1114,7 +1119,7 @@ Search documents of the workspace, returning a compact representation (no expand
|
|
|
1114
1119
|
"resource": "signer",
|
|
1115
1120
|
"id": "example_id_7",
|
|
1116
1121
|
"full_name": "Example User",
|
|
1117
|
-
"email": "
|
|
1122
|
+
"email": "user2@example.com",
|
|
1118
1123
|
"whatsapp_phone_number": "+5500000000000",
|
|
1119
1124
|
"has_accepted_terms": false
|
|
1120
1125
|
}
|
|
@@ -1287,7 +1292,7 @@ Get a document by its ID. `decline_reason` is only present when the access token
|
|
|
1287
1292
|
"assignment": {
|
|
1288
1293
|
"resource": "assignment",
|
|
1289
1294
|
"id": "example_id_6",
|
|
1290
|
-
"sender_email": "
|
|
1295
|
+
"sender_email": "user1@example.com",
|
|
1291
1296
|
"method": "virtual",
|
|
1292
1297
|
"expires_at": null,
|
|
1293
1298
|
"message": "string",
|
|
@@ -1313,7 +1318,7 @@ Get a document by its ID. `decline_reason` is only present when the access token
|
|
|
1313
1318
|
"resource": "signer",
|
|
1314
1319
|
"id": "example_id_7",
|
|
1315
1320
|
"full_name": "Example User",
|
|
1316
|
-
"email": "
|
|
1321
|
+
"email": "user2@example.com",
|
|
1317
1322
|
"whatsapp_phone_number": "+5500000000000",
|
|
1318
1323
|
"has_accepted_terms": false
|
|
1319
1324
|
}
|
|
@@ -1506,7 +1511,7 @@ Example:
|
|
|
1506
1511
|
"assignment": {
|
|
1507
1512
|
"resource": "assignment",
|
|
1508
1513
|
"id": "example_id_6",
|
|
1509
|
-
"sender_email": "
|
|
1514
|
+
"sender_email": "user1@example.com",
|
|
1510
1515
|
"method": "virtual",
|
|
1511
1516
|
"expires_at": null,
|
|
1512
1517
|
"message": "string",
|
|
@@ -1532,7 +1537,7 @@ Example:
|
|
|
1532
1537
|
"resource": "signer",
|
|
1533
1538
|
"id": "example_id_7",
|
|
1534
1539
|
"full_name": "Example User",
|
|
1535
|
-
"email": "
|
|
1540
|
+
"email": "user2@example.com",
|
|
1536
1541
|
"whatsapp_phone_number": "+5500000000000",
|
|
1537
1542
|
"has_accepted_terms": false
|
|
1538
1543
|
}
|
|
@@ -2150,7 +2155,7 @@ Example:
|
|
|
2150
2155
|
"assignment": {
|
|
2151
2156
|
"resource": "assignment",
|
|
2152
2157
|
"id": "example_id_6",
|
|
2153
|
-
"sender_email": "
|
|
2158
|
+
"sender_email": "user1@example.com",
|
|
2154
2159
|
"method": "virtual",
|
|
2155
2160
|
"expires_at": null,
|
|
2156
2161
|
"message": "string",
|
|
@@ -2176,7 +2181,7 @@ Example:
|
|
|
2176
2181
|
"resource": "signer",
|
|
2177
2182
|
"id": "example_id_7",
|
|
2178
2183
|
"full_name": "Example User",
|
|
2179
|
-
"email": "
|
|
2184
|
+
"email": "user2@example.com",
|
|
2180
2185
|
"whatsapp_phone_number": "+5500000000000",
|
|
2181
2186
|
"has_accepted_terms": false
|
|
2182
2187
|
}
|
|
@@ -2372,7 +2377,7 @@ List the assignments belonging to the authenticated user's current account.
|
|
|
2372
2377
|
{
|
|
2373
2378
|
"resource": "assignment",
|
|
2374
2379
|
"id": "example_id_6",
|
|
2375
|
-
"sender_email": "
|
|
2380
|
+
"sender_email": "user1@example.com",
|
|
2376
2381
|
"method": "virtual",
|
|
2377
2382
|
"expires_at": null,
|
|
2378
2383
|
"message": "string",
|
|
@@ -2398,7 +2403,7 @@ List the assignments belonging to the authenticated user's current account.
|
|
|
2398
2403
|
"resource": "signer",
|
|
2399
2404
|
"id": "example_id_7",
|
|
2400
2405
|
"full_name": "Example User",
|
|
2401
|
-
"email": "
|
|
2406
|
+
"email": "user2@example.com",
|
|
2402
2407
|
"whatsapp_phone_number": "+5500000000000",
|
|
2403
2408
|
"has_accepted_terms": false
|
|
2404
2409
|
}
|
|
@@ -2657,7 +2662,7 @@ Example — Create with input fields (method: collect):
|
|
|
2657
2662
|
"data": {
|
|
2658
2663
|
"resource": "assignment",
|
|
2659
2664
|
"id": "example_id_21",
|
|
2660
|
-
"sender_email": "
|
|
2665
|
+
"sender_email": "user1@example.com",
|
|
2661
2666
|
"method": "virtual",
|
|
2662
2667
|
"expires_at": "2021-09-30T21:00:00Z",
|
|
2663
2668
|
"message": null,
|
|
@@ -2665,7 +2670,7 @@ Example — Create with input fields (method: collect):
|
|
|
2665
2670
|
{
|
|
2666
2671
|
"id": "example_id_15",
|
|
2667
2672
|
"full_name": "Example User",
|
|
2668
|
-
"email": "
|
|
2673
|
+
"email": "user3@example.com",
|
|
2669
2674
|
"verification_method": "Email",
|
|
2670
2675
|
"notification_methods": [
|
|
2671
2676
|
"Email"
|
|
@@ -2677,7 +2682,7 @@ Example — Create with input fields (method: collect):
|
|
|
2677
2682
|
{
|
|
2678
2683
|
"id": "example_id_16",
|
|
2679
2684
|
"full_name": "Example User",
|
|
2680
|
-
"email": "
|
|
2685
|
+
"email": "user4@example.com",
|
|
2681
2686
|
"verification_method": "Whatsapp",
|
|
2682
2687
|
"notification_methods": [
|
|
2683
2688
|
"Whatsapp"
|
|
@@ -2695,7 +2700,7 @@ Example — Create with input fields (method: collect):
|
|
|
2695
2700
|
"signer": {
|
|
2696
2701
|
"id": "example_id_15",
|
|
2697
2702
|
"full_name": "Example User",
|
|
2698
|
-
"email": "
|
|
2703
|
+
"email": "user3@example.com"
|
|
2699
2704
|
},
|
|
2700
2705
|
"field": {
|
|
2701
2706
|
"id": "example_id_23",
|
|
@@ -2714,13 +2719,13 @@ Example — Create with input fields (method: collect):
|
|
|
2714
2719
|
{
|
|
2715
2720
|
"id": "example_id_15",
|
|
2716
2721
|
"full_name": "Example User",
|
|
2717
|
-
"email": "
|
|
2722
|
+
"email": "user3@example.com",
|
|
2718
2723
|
"completed": false
|
|
2719
2724
|
},
|
|
2720
2725
|
{
|
|
2721
2726
|
"id": "example_id_16",
|
|
2722
2727
|
"full_name": "Example User",
|
|
2723
|
-
"email": "
|
|
2728
|
+
"email": "user4@example.com",
|
|
2724
2729
|
"completed": false
|
|
2725
2730
|
}
|
|
2726
2731
|
]
|
|
@@ -2748,7 +2753,7 @@ Example — Create with input fields (method: collect):
|
|
|
2748
2753
|
"data": {
|
|
2749
2754
|
"resource": "assignment",
|
|
2750
2755
|
"id": "example_id_6",
|
|
2751
|
-
"sender_email": "
|
|
2756
|
+
"sender_email": "user1@example.com",
|
|
2752
2757
|
"method": "collect",
|
|
2753
2758
|
"expires_at": "2021-09-30T21:00:00Z",
|
|
2754
2759
|
"message": null,
|
|
@@ -2756,7 +2761,7 @@ Example — Create with input fields (method: collect):
|
|
|
2756
2761
|
{
|
|
2757
2762
|
"id": "example_id_17",
|
|
2758
2763
|
"full_name": "Example User",
|
|
2759
|
-
"email": "
|
|
2764
|
+
"email": "user5@example.com",
|
|
2760
2765
|
"verification_method": "Email",
|
|
2761
2766
|
"notification_methods": [
|
|
2762
2767
|
"Email"
|
|
@@ -2768,7 +2773,7 @@ Example — Create with input fields (method: collect):
|
|
|
2768
2773
|
{
|
|
2769
2774
|
"id": "example_id_18",
|
|
2770
2775
|
"full_name": "Example User",
|
|
2771
|
-
"email": "
|
|
2776
|
+
"email": "user6@example.com",
|
|
2772
2777
|
"verification_method": "Whatsapp",
|
|
2773
2778
|
"notification_methods": [
|
|
2774
2779
|
"Whatsapp"
|
|
@@ -2792,7 +2797,7 @@ Example — Create with input fields (method: collect):
|
|
|
2792
2797
|
"signer": {
|
|
2793
2798
|
"id": "example_id_17",
|
|
2794
2799
|
"full_name": "Example User",
|
|
2795
|
-
"email": "
|
|
2800
|
+
"email": "user5@example.com"
|
|
2796
2801
|
},
|
|
2797
2802
|
"field": {
|
|
2798
2803
|
"id": "example_id_20",
|
|
@@ -2823,7 +2828,7 @@ Example — Create with input fields (method: collect):
|
|
|
2823
2828
|
"signer": {
|
|
2824
2829
|
"id": "example_id_18",
|
|
2825
2830
|
"full_name": "Example User",
|
|
2826
|
-
"email": "
|
|
2831
|
+
"email": "user6@example.com"
|
|
2827
2832
|
},
|
|
2828
2833
|
"field": {
|
|
2829
2834
|
"id": "example_id_20",
|
|
@@ -2850,13 +2855,13 @@ Example — Create with input fields (method: collect):
|
|
|
2850
2855
|
{
|
|
2851
2856
|
"id": "example_id_17",
|
|
2852
2857
|
"full_name": "Example User",
|
|
2853
|
-
"email": "
|
|
2858
|
+
"email": "user5@example.com",
|
|
2854
2859
|
"completed": false
|
|
2855
2860
|
},
|
|
2856
2861
|
{
|
|
2857
2862
|
"id": "example_id_18",
|
|
2858
2863
|
"full_name": "Example User",
|
|
2859
|
-
"email": "
|
|
2864
|
+
"email": "user6@example.com",
|
|
2860
2865
|
"completed": false
|
|
2861
2866
|
}
|
|
2862
2867
|
]
|
|
@@ -3179,7 +3184,7 @@ Example:
|
|
|
3179
3184
|
"data": {
|
|
3180
3185
|
"resource": "assignment",
|
|
3181
3186
|
"id": "example_id_6",
|
|
3182
|
-
"sender_email": "
|
|
3187
|
+
"sender_email": "user1@example.com",
|
|
3183
3188
|
"method": "virtual",
|
|
3184
3189
|
"expires_at": null,
|
|
3185
3190
|
"message": "string",
|
|
@@ -3205,7 +3210,7 @@ Example:
|
|
|
3205
3210
|
"resource": "signer",
|
|
3206
3211
|
"id": "example_id_7",
|
|
3207
3212
|
"full_name": "Example User",
|
|
3208
|
-
"email": "
|
|
3213
|
+
"email": "user2@example.com",
|
|
3209
3214
|
"whatsapp_phone_number": "+5500000000000",
|
|
3210
3215
|
"has_accepted_terms": false
|
|
3211
3216
|
}
|
|
@@ -3364,7 +3369,7 @@ Example:
|
|
|
3364
3369
|
|
|
3365
3370
|
```json
|
|
3366
3371
|
{
|
|
3367
|
-
"email": "
|
|
3372
|
+
"email": "user7@example.com",
|
|
3368
3373
|
"password": "example_secret"
|
|
3369
3374
|
}
|
|
3370
3375
|
```
|
|
@@ -3380,7 +3385,7 @@ Example:
|
|
|
3380
3385
|
"user": {
|
|
3381
3386
|
"id": "example_id_27",
|
|
3382
3387
|
"name": "John Smith",
|
|
3383
|
-
"email": "
|
|
3388
|
+
"email": "user8@example.com",
|
|
3384
3389
|
"telephone": "+5500000000000",
|
|
3385
3390
|
"government_id": "00000000000",
|
|
3386
3391
|
"is_email_verified": false,
|
|
@@ -3443,7 +3448,7 @@ Example:
|
|
|
3443
3448
|
|
|
3444
3449
|
```json
|
|
3445
3450
|
{
|
|
3446
|
-
"email": "
|
|
3451
|
+
"email": "user7@example.com"
|
|
3447
3452
|
}
|
|
3448
3453
|
```
|
|
3449
3454
|
|
|
@@ -3454,7 +3459,7 @@ Example:
|
|
|
3454
3459
|
```json
|
|
3455
3460
|
{
|
|
3456
3461
|
"data": {
|
|
3457
|
-
"email": "
|
|
3462
|
+
"email": "user7@example.com"
|
|
3458
3463
|
},
|
|
3459
3464
|
"status": 200,
|
|
3460
3465
|
"message": ""
|
|
@@ -3491,7 +3496,7 @@ Example:
|
|
|
3491
3496
|
|
|
3492
3497
|
```json
|
|
3493
3498
|
{
|
|
3494
|
-
"email": "
|
|
3499
|
+
"email": "user7@example.com",
|
|
3495
3500
|
"token": "example_secret",
|
|
3496
3501
|
"new_password": "example_secret"
|
|
3497
3502
|
}
|
|
@@ -3504,7 +3509,7 @@ Example:
|
|
|
3504
3509
|
```json
|
|
3505
3510
|
{
|
|
3506
3511
|
"data": {
|
|
3507
|
-
"email": "
|
|
3512
|
+
"email": "user7@example.com"
|
|
3508
3513
|
},
|
|
3509
3514
|
"status": 200,
|
|
3510
3515
|
"message": ""
|
|
@@ -3551,7 +3556,7 @@ Example:
|
|
|
3551
3556
|
|
|
3552
3557
|
```json
|
|
3553
3558
|
{
|
|
3554
|
-
"email": "
|
|
3559
|
+
"email": "user7@example.com",
|
|
3555
3560
|
"password": "example_secret",
|
|
3556
3561
|
"new_password": "example_secret"
|
|
3557
3562
|
}
|
|
@@ -3564,7 +3569,7 @@ Example:
|
|
|
3564
3569
|
```json
|
|
3565
3570
|
{
|
|
3566
3571
|
"data": {
|
|
3567
|
-
"email": "
|
|
3572
|
+
"email": "user7@example.com"
|
|
3568
3573
|
},
|
|
3569
3574
|
"status": 200,
|
|
3570
3575
|
"message": ""
|
|
@@ -3638,7 +3643,7 @@ Example:
|
|
|
3638
3643
|
"user": {
|
|
3639
3644
|
"id": "example_id_27",
|
|
3640
3645
|
"name": "John Smith",
|
|
3641
|
-
"email": "
|
|
3646
|
+
"email": "user8@example.com",
|
|
3642
3647
|
"telephone": "+5500000000000",
|
|
3643
3648
|
"government_id": "00000000000",
|
|
3644
3649
|
"is_email_verified": false,
|
|
@@ -4598,8 +4603,13 @@ The authenticated user's document-funnel KPIs summed across all accounts they cu
|
|
|
4598
4603
|
"documents_uploaded": 42,
|
|
4599
4604
|
"documents_sent": 37,
|
|
4600
4605
|
"signature_requests": 61,
|
|
4601
|
-
"
|
|
4602
|
-
"
|
|
4606
|
+
"signature_requests_notification_email": 55,
|
|
4607
|
+
"signature_requests_notification_whatsapp": 18,
|
|
4608
|
+
"signature_requests_notification_bypass": 3,
|
|
4609
|
+
"signature_requests_verification_email": 48,
|
|
4610
|
+
"signature_requests_verification_whatsapp": 6,
|
|
4611
|
+
"signature_requests_verification_bypass": 3,
|
|
4612
|
+
"signature_requests_verification_digital_certificate": 4,
|
|
4603
4613
|
"signature_requests_viewed": 44,
|
|
4604
4614
|
"signature_requests_completed": 52,
|
|
4605
4615
|
"documents_certified": 30
|
|
@@ -4657,7 +4667,7 @@ Returns the profile of the user owning the access token.
|
|
|
4657
4667
|
"data": {
|
|
4658
4668
|
"id": "example_id_27",
|
|
4659
4669
|
"name": "John Smith",
|
|
4660
|
-
"email": "
|
|
4670
|
+
"email": "user8@example.com",
|
|
4661
4671
|
"telephone": "+5500000000000",
|
|
4662
4672
|
"government_id": "00000000000",
|
|
4663
4673
|
"is_email_verified": false,
|
|
@@ -4735,7 +4745,7 @@ Retrieve a publicly shared document by ID. Public endpoint.
|
|
|
4735
4745
|
"assignment": {
|
|
4736
4746
|
"resource": "assignment",
|
|
4737
4747
|
"id": "example_id_6",
|
|
4738
|
-
"sender_email": "
|
|
4748
|
+
"sender_email": "user1@example.com",
|
|
4739
4749
|
"method": "virtual",
|
|
4740
4750
|
"expires_at": null,
|
|
4741
4751
|
"message": "string",
|
|
@@ -4761,7 +4771,7 @@ Retrieve a publicly shared document by ID. Public endpoint.
|
|
|
4761
4771
|
"resource": "signer",
|
|
4762
4772
|
"id": "example_id_7",
|
|
4763
4773
|
"full_name": "Example User",
|
|
4764
|
-
"email": "
|
|
4774
|
+
"email": "user2@example.com",
|
|
4765
4775
|
"whatsapp_phone_number": "+5500000000000",
|
|
4766
4776
|
"has_accepted_terms": false
|
|
4767
4777
|
}
|
|
@@ -4855,7 +4865,7 @@ Example:
|
|
|
4855
4865
|
|
|
4856
4866
|
```json
|
|
4857
4867
|
{
|
|
4858
|
-
"email": "
|
|
4868
|
+
"email": "user9@example.com"
|
|
4859
4869
|
}
|
|
4860
4870
|
```
|
|
4861
4871
|
|
|
@@ -4901,7 +4911,7 @@ Return the signer identified by the signer access code, including the `has_signa
|
|
|
4901
4911
|
"resource": "signer",
|
|
4902
4912
|
"id": "example_id_7",
|
|
4903
4913
|
"full_name": "Example User",
|
|
4904
|
-
"email": "
|
|
4914
|
+
"email": "user2@example.com",
|
|
4905
4915
|
"whatsapp_phone_number": "+5500000000000",
|
|
4906
4916
|
"has_accepted_terms": false
|
|
4907
4917
|
},
|
|
@@ -4973,7 +4983,7 @@ Return the document and the signer's assignment items, scoped to the signer acce
|
|
|
4973
4983
|
"assignment": {
|
|
4974
4984
|
"resource": "assignment",
|
|
4975
4985
|
"id": "example_id_6",
|
|
4976
|
-
"sender_email": "
|
|
4986
|
+
"sender_email": "user1@example.com",
|
|
4977
4987
|
"method": "virtual",
|
|
4978
4988
|
"expires_at": null,
|
|
4979
4989
|
"message": "string",
|
|
@@ -4999,7 +5009,7 @@ Return the document and the signer's assignment items, scoped to the signer acce
|
|
|
4999
5009
|
"resource": "signer",
|
|
5000
5010
|
"id": "example_id_7",
|
|
5001
5011
|
"full_name": "Example User",
|
|
5002
|
-
"email": "
|
|
5012
|
+
"email": "user2@example.com",
|
|
5003
5013
|
"whatsapp_phone_number": "+5500000000000",
|
|
5004
5014
|
"has_accepted_terms": false
|
|
5005
5015
|
}
|
|
@@ -5124,7 +5134,7 @@ Retrieve the document a signer has been invited to sign, using the signer access
|
|
|
5124
5134
|
"assignment": {
|
|
5125
5135
|
"resource": "assignment",
|
|
5126
5136
|
"id": "example_id_6",
|
|
5127
|
-
"sender_email": "
|
|
5137
|
+
"sender_email": "user1@example.com",
|
|
5128
5138
|
"method": "virtual",
|
|
5129
5139
|
"expires_at": null,
|
|
5130
5140
|
"message": "string",
|
|
@@ -5150,7 +5160,7 @@ Retrieve the document a signer has been invited to sign, using the signer access
|
|
|
5150
5160
|
"resource": "signer",
|
|
5151
5161
|
"id": "example_id_7",
|
|
5152
5162
|
"full_name": "Example User",
|
|
5153
|
-
"email": "
|
|
5163
|
+
"email": "user2@example.com",
|
|
5154
5164
|
"whatsapp_phone_number": "+5500000000000",
|
|
5155
5165
|
"has_accepted_terms": false
|
|
5156
5166
|
}
|
|
@@ -5557,7 +5567,7 @@ Example:
|
|
|
5557
5567
|
```json
|
|
5558
5568
|
{
|
|
5559
5569
|
"full_name": "Example User",
|
|
5560
|
-
"email": "
|
|
5570
|
+
"email": "user9@example.com",
|
|
5561
5571
|
"government_id": "00000000000"
|
|
5562
5572
|
}
|
|
5563
5573
|
```
|
|
@@ -5572,7 +5582,7 @@ Example:
|
|
|
5572
5582
|
"resource": "signer",
|
|
5573
5583
|
"id": "example_id_7",
|
|
5574
5584
|
"full_name": "Example User",
|
|
5575
|
-
"email": "
|
|
5585
|
+
"email": "user2@example.com",
|
|
5576
5586
|
"whatsapp_phone_number": "+5500000000000",
|
|
5577
5587
|
"has_accepted_terms": false
|
|
5578
5588
|
},
|
|
@@ -5788,7 +5798,7 @@ List the documents a signer is party to. Uses the signer access code.
|
|
|
5788
5798
|
"assignment": {
|
|
5789
5799
|
"resource": "assignment",
|
|
5790
5800
|
"id": "example_id_6",
|
|
5791
|
-
"sender_email": "
|
|
5801
|
+
"sender_email": "user1@example.com",
|
|
5792
5802
|
"method": "virtual",
|
|
5793
5803
|
"expires_at": null,
|
|
5794
5804
|
"message": "string",
|
|
@@ -5814,7 +5824,7 @@ List the documents a signer is party to. Uses the signer access code.
|
|
|
5814
5824
|
"resource": "signer",
|
|
5815
5825
|
"id": "example_id_7",
|
|
5816
5826
|
"full_name": "Example User",
|
|
5817
|
-
"email": "
|
|
5827
|
+
"email": "user2@example.com",
|
|
5818
5828
|
"whatsapp_phone_number": "+5500000000000",
|
|
5819
5829
|
"has_accepted_terms": false
|
|
5820
5830
|
}
|
|
@@ -5930,7 +5940,7 @@ Search the documents a signer is party to (compact representation). Uses the sig
|
|
|
5930
5940
|
"assignment": {
|
|
5931
5941
|
"resource": "assignment",
|
|
5932
5942
|
"id": "example_id_6",
|
|
5933
|
-
"sender_email": "
|
|
5943
|
+
"sender_email": "user1@example.com",
|
|
5934
5944
|
"method": "virtual",
|
|
5935
5945
|
"expires_at": null,
|
|
5936
5946
|
"message": "string",
|
|
@@ -5956,7 +5966,7 @@ Search the documents a signer is party to (compact representation). Uses the sig
|
|
|
5956
5966
|
"resource": "signer",
|
|
5957
5967
|
"id": "example_id_7",
|
|
5958
5968
|
"full_name": "Example User",
|
|
5959
|
-
"email": "
|
|
5969
|
+
"email": "user2@example.com",
|
|
5960
5970
|
"whatsapp_phone_number": "+5500000000000",
|
|
5961
5971
|
"has_accepted_terms": false
|
|
5962
5972
|
}
|
|
@@ -6097,7 +6107,7 @@ List the signers of a workspace.
|
|
|
6097
6107
|
"resource": "signer",
|
|
6098
6108
|
"id": "example_id_7",
|
|
6099
6109
|
"full_name": "Example User",
|
|
6100
|
-
"email": "
|
|
6110
|
+
"email": "user2@example.com",
|
|
6101
6111
|
"whatsapp_phone_number": "+5500000000000",
|
|
6102
6112
|
"has_accepted_terms": false
|
|
6103
6113
|
}
|
|
@@ -6154,7 +6164,7 @@ Example:
|
|
|
6154
6164
|
```json
|
|
6155
6165
|
{
|
|
6156
6166
|
"full_name": "Example User",
|
|
6157
|
-
"email": "
|
|
6167
|
+
"email": "user2@example.com",
|
|
6158
6168
|
"whatsapp_phone_number": "+5500000000000"
|
|
6159
6169
|
}
|
|
6160
6170
|
```
|
|
@@ -6169,7 +6179,7 @@ Example:
|
|
|
6169
6179
|
"resource": "signer",
|
|
6170
6180
|
"id": "example_id_7",
|
|
6171
6181
|
"full_name": "Example User",
|
|
6172
|
-
"email": "
|
|
6182
|
+
"email": "user2@example.com",
|
|
6173
6183
|
"whatsapp_phone_number": "+5500000000000",
|
|
6174
6184
|
"has_accepted_terms": false
|
|
6175
6185
|
},
|
|
@@ -6233,7 +6243,7 @@ Retrieve a signer's information.
|
|
|
6233
6243
|
"resource": "signer",
|
|
6234
6244
|
"id": "example_id_7",
|
|
6235
6245
|
"full_name": "Example User",
|
|
6236
|
-
"email": "
|
|
6246
|
+
"email": "user2@example.com",
|
|
6237
6247
|
"whatsapp_phone_number": "+5500000000000",
|
|
6238
6248
|
"has_accepted_terms": false
|
|
6239
6249
|
},
|
|
@@ -6303,7 +6313,7 @@ Example:
|
|
|
6303
6313
|
```json
|
|
6304
6314
|
{
|
|
6305
6315
|
"full_name": "Example User",
|
|
6306
|
-
"email": "
|
|
6316
|
+
"email": "user2@example.com",
|
|
6307
6317
|
"whatsapp_phone_number": "+5500000000000",
|
|
6308
6318
|
"government_id": "00000000000"
|
|
6309
6319
|
}
|
|
@@ -6319,7 +6329,7 @@ Example:
|
|
|
6319
6329
|
"resource": "signer",
|
|
6320
6330
|
"id": "example_id_7",
|
|
6321
6331
|
"full_name": "Example User",
|
|
6322
|
-
"email": "
|
|
6332
|
+
"email": "user2@example.com",
|
|
6323
6333
|
"whatsapp_phone_number": "+5500000000000",
|
|
6324
6334
|
"has_accepted_terms": false
|
|
6325
6335
|
},
|
|
@@ -6864,7 +6874,7 @@ Retrieve the current webhook subscription for the account — which events it is
|
|
|
6864
6874
|
],
|
|
6865
6875
|
"is_active": true,
|
|
6866
6876
|
"url": "https://example.com/example-url-12",
|
|
6867
|
-
"email": "
|
|
6877
|
+
"email": "user10@example.com",
|
|
6868
6878
|
"updated_at": "2023-05-10T14:58:24Z"
|
|
6869
6879
|
},
|
|
6870
6880
|
"status": 200,
|
|
@@ -6925,7 +6935,7 @@ Example:
|
|
|
6925
6935
|
],
|
|
6926
6936
|
"is_active": true,
|
|
6927
6937
|
"url": "https://example.com/example-url-12",
|
|
6928
|
-
"email": "
|
|
6938
|
+
"email": "user10@example.com"
|
|
6929
6939
|
}
|
|
6930
6940
|
```
|
|
6931
6941
|
|
|
@@ -6942,7 +6952,7 @@ Example:
|
|
|
6942
6952
|
],
|
|
6943
6953
|
"is_active": true,
|
|
6944
6954
|
"url": "https://example.com/example-url-12",
|
|
6945
|
-
"email": "
|
|
6955
|
+
"email": "user10@example.com",
|
|
6946
6956
|
"updated_at": "2023-05-10T14:58:24Z"
|
|
6947
6957
|
},
|
|
6948
6958
|
"status": 200,
|
|
@@ -7007,7 +7017,7 @@ Deactivate the webhook integration for the account. While inactive, no events ar
|
|
|
7007
7017
|
],
|
|
7008
7018
|
"is_active": true,
|
|
7009
7019
|
"url": "https://example.com/example-url-12",
|
|
7010
|
-
"email": "
|
|
7020
|
+
"email": "user10@example.com",
|
|
7011
7021
|
"updated_at": "2023-05-10T14:58:24Z"
|
|
7012
7022
|
},
|
|
7013
7023
|
"status": 200,
|
package/docs/assignments.md
CHANGED
|
@@ -14,7 +14,7 @@ Commands:
|
|
|
14
14
|
list [options] List assignments across the account
|
|
15
15
|
create [options] <documentId> Create a signing assignment for a document
|
|
16
16
|
estimate-cost [options] <documentId> Estimate the credit cost of an assignment
|
|
17
|
-
reset-expiration [options] <documentId> <assignmentId> Update
|
|
17
|
+
reset-expiration [options] <documentId> <assignmentId> Update an assignment expiration date
|
|
18
18
|
resend <documentId> <assignmentId> <signerId> Resend the signing notification to a signer
|
|
19
19
|
estimate-resend-cost <documentId> <assignmentId> <signerId> Estimate the cost of resending a signer notification
|
|
20
20
|
whatsapp-notifications <documentId> <assignmentId> List WhatsApp notifications sent for an assignment
|
|
@@ -84,7 +84,7 @@ Options:
|
|
|
84
84
|
```text
|
|
85
85
|
Usage: assinafy assignments reset-expiration [options] <documentId> <assignmentId>
|
|
86
86
|
|
|
87
|
-
Update
|
|
87
|
+
Update an assignment expiration date
|
|
88
88
|
|
|
89
89
|
Arguments:
|
|
90
90
|
documentId Document ID
|
|
@@ -92,7 +92,7 @@ Arguments:
|
|
|
92
92
|
|
|
93
93
|
Options:
|
|
94
94
|
--expires-at <iso8601> New expiration timestamp
|
|
95
|
-
--clear Remove the expiration
|
|
95
|
+
--clear Remove the expiration when supported by the deployment
|
|
96
96
|
-h, --help display help for command
|
|
97
97
|
```
|
|
98
98
|
|
package/docs/documents.md
CHANGED
|
@@ -22,8 +22,8 @@ Commands:
|
|
|
22
22
|
activities <id> Show the activity log for a document
|
|
23
23
|
delete|rm [options] <id> Delete a document
|
|
24
24
|
tags <id> List the tags attached to a document
|
|
25
|
-
tags-set <id> [
|
|
26
|
-
tags-add <id> <
|
|
25
|
+
tags-set <id> [tagIds...] Replace a document tag set by tag ID
|
|
26
|
+
tags-add <id> <tagIds...> Attach additional tag IDs without removing existing ones
|
|
27
27
|
tags-remove <id> <tagId> Detach a single tag from a document
|
|
28
28
|
create-from-template [options] <templateId> Create a document from a template
|
|
29
29
|
estimate-template-cost [options] <templateId> Estimate the credit cost of creating a document from a template
|
|
@@ -216,13 +216,13 @@ Options:
|
|
|
216
216
|
### `assinafy documents tags-set`
|
|
217
217
|
|
|
218
218
|
```text
|
|
219
|
-
Usage: assinafy documents tags-set [options] <id> [
|
|
219
|
+
Usage: assinafy documents tags-set [options] <id> [tagIds...]
|
|
220
220
|
|
|
221
|
-
Replace a document tag set
|
|
221
|
+
Replace a document tag set by tag ID
|
|
222
222
|
|
|
223
223
|
Arguments:
|
|
224
224
|
id Document ID
|
|
225
|
-
|
|
225
|
+
tagIds Tag IDs (pass none to detach all)
|
|
226
226
|
|
|
227
227
|
Options:
|
|
228
228
|
-h, --help display help for command
|
|
@@ -231,13 +231,13 @@ Options:
|
|
|
231
231
|
### `assinafy documents tags-add`
|
|
232
232
|
|
|
233
233
|
```text
|
|
234
|
-
Usage: assinafy documents tags-add [options] <id> <
|
|
234
|
+
Usage: assinafy documents tags-add [options] <id> <tagIds...>
|
|
235
235
|
|
|
236
|
-
Attach additional
|
|
236
|
+
Attach additional tag IDs without removing existing ones
|
|
237
237
|
|
|
238
238
|
Arguments:
|
|
239
239
|
id Document ID
|
|
240
|
-
|
|
240
|
+
tagIds Tag IDs to attach
|
|
241
241
|
|
|
242
242
|
Options:
|
|
243
243
|
-h, --help display help for command
|