@assinafy/cli 2.10.0 → 2.10.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.
package/README.en.md CHANGED
@@ -4,7 +4,7 @@ _[Leia em português](README.md) · English_
4
4
 
5
5
  The official command-line interface and Node.js SDK for the [Assinafy API](https://api.assinafy.com.br/v1/docs), a Brazilian digital-signature platform. Upload PDFs, manage signers, request signatures, track activity history, and download certified documents — from a terminal, a shell script, or an application.
6
6
 
7
- The CLI is a single self-contained executable. It prints human-readable tables by default and structured JSON with `--json`, so the same commands serve both interactive use and automation. The same package exposes a fully typed SDK at `@assinafy/cli/api`; the HTTP reference covers all 158 published production operations.
7
+ The CLI is a single self-contained executable. It prints human-readable tables by default and structured JSON with `--json`, so the same commands serve both interactive use and automation. The same package exposes a fully typed SDK at `@assinafy/cli/api`; the HTTP reference covers all 147 published production operations.
8
8
 
9
9
  This document reads top to bottom: install, authenticate, send your first signature request, then understand the model well enough to automate it. The [command reference](#command-reference) and [SDK](#nodejs-sdk) sections near the end are lookup tables you can jump to once the flow makes sense.
10
10
 
@@ -450,7 +450,7 @@ Assinafy runs a **separate sandbox** at `https://sandbox.assinafy.com.br/v1`. It
450
450
 
451
451
  ## Command reference
452
452
 
453
- Run `assinafy <command> --help` for the full flags of any command. Every command's help output is mirrored under [`docs/`](./docs), the [API reference](./docs/api-reference.md) holds the official request/response payloads for all 158 published operations, and the [SDK reference](./docs/sdk-reference.md) maps each SDK method to its operation.
453
+ Run `assinafy <command> --help` for the full flags of any command. Every command's help output is mirrored under [`docs/`](./docs), the [API reference](./docs/api-reference.md) holds the official request/response payloads for all 147 published operations, and the [SDK reference](./docs/sdk-reference.md) maps each SDK method to its operation.
454
454
 
455
455
  Global flags accepted by every command: `--api-key`, `--token`, `--account-id`, `--base-url`, `-p, --profile`, `--json`, `-q, --quiet`. `assinafy -v` prints the version.
456
456
 
@@ -654,9 +654,9 @@ The [release runbook](./docs/releasing.md) covers tags, trusted publishing, and
654
654
 
655
655
  ## Contract boundaries
656
656
 
657
- - The production OpenAPI publishes 158 operations. The SDK intentionally omits personal API-key creation; create keys in the Assinafy dashboard. Masked lookup and revocation remain available.
657
+ - The production OpenAPI publishes 147 operations. Personal API-key creation is intentionally absent from the SDK; create keys in the Assinafy dashboard. Masked lookup and revocation remain available as compatibility methods.
658
658
  - The SDK keeps two platform-compatible template routes (`GET /accounts/{id}/templates/{id}` and its page download) that are absent from the published OpenAPI paths.
659
- - Certificate start/complete are deployed production extensions of the public signing frontend, exposed as `signerDocuments.startCertificate(accessCode)` and `signerDocuments.completeCertificate(accessCode, token)`. Start posts `{ "signer-access-code": code }` and returns `{ token }`; complete posts `{ "signer-access-code": code, token }` and returns `{ signerName }`. Both also carry the access code in the query string and strip owner credentials. They supplement, but are not part of, the 158 OpenAPI operations.
659
+ - Certificate start/complete are deployed production extensions of the public signing frontend, exposed as `signerDocuments.startCertificate(accessCode)` and `signerDocuments.completeCertificate(accessCode, token)`. Start posts `{ "signer-access-code": code }` and returns `{ token }`; complete posts `{ "signer-access-code": code, token }` and returns `{ signerName }`. Both also carry the access code in the query string and strip owner credentials. They supplement, but are not part of, the 147 OpenAPI operations.
660
660
  - `send-token` sends the email-only body `{ "channel": "email", "recipient": "..." }`; WhatsApp and the older `{ "email" }` body are rejected by the API with `400`.
661
661
  - `signer documents` and `signer search` accept the workspace API key or token when `--access-code` is omitted.
662
662
  - Webhook signatures follow Standard Webhooks; `WebhookVerifier.verifyDelivery` implements the published scheme. The older `verify(body, signature)` method is deprecated and does not match Assinafy deliveries.
@@ -124,7 +124,7 @@ Source: git+https://github.com/alexindigo/asynckit.git
124
124
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
125
125
  SOFTWARE.
126
126
 
127
- ## axios 1.21.1
127
+ ## axios 1.22.0
128
128
 
129
129
  License: MIT
130
130
 
@@ -888,33 +888,6 @@ Source: alexeyraspopov/picocolors
888
888
  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
889
889
  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
890
890
 
891
- ## proxy-from-env 2.1.0
892
-
893
- License: MIT
894
-
895
- Source: git+https://github.com/Rob--W/proxy-from-env.git
896
-
897
- The MIT License
898
-
899
- Copyright (C) 2016-2018 Rob Wu <rob@robwu.nl>
900
-
901
- Permission is hereby granted, free of charge, to any person obtaining a copy of
902
- this software and associated documentation files (the "Software"), to deal in
903
- the Software without restriction, including without limitation the rights to
904
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
905
- of the Software, and to permit persons to whom the Software is furnished to do
906
- so, subject to the following conditions:
907
-
908
- The above copyright notice and this permission notice shall be included in all
909
- copies or substantial portions of the Software.
910
-
911
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
912
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
913
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
914
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
915
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
916
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
917
-
918
891
  ## sisteransi 2.0.0
919
892
 
920
893
  License: MIT