@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.
@@ -827,10 +827,8 @@ interface IDocumentStatsRow {
827
827
  signature_requests: number;
828
828
  signature_requests_notification_email: number;
829
829
  signature_requests_notification_whatsapp: number;
830
- signature_requests_notification_bypass: number;
831
830
  signature_requests_verification_email: number;
832
831
  signature_requests_verification_whatsapp: number;
833
- signature_requests_verification_bypass: number;
834
832
  signature_requests_verification_digital_certificate: number;
835
833
  signature_requests_viewed: number;
836
834
  signature_requests_completed: number;
@@ -838,7 +836,7 @@ interface IDocumentStatsRow {
838
836
  }
839
837
  ```
840
838
 
841
- Notification counters can overlap when a request uses multiple delivery channels. The four verification counters are mutually exclusive and add up to `signature_requests`.
839
+ Notification counters can overlap when a request uses multiple delivery channels. The three verification counters are mutually exclusive and add up to `signature_requests`.
842
840
 
843
841
  ## Users (`client.users`)
844
842
 
@@ -862,19 +860,19 @@ Push reads/writes return all eight booleans. Update accepts a non-empty partial
862
860
  | SDK method | HTTP operation | Request / result |
863
861
  | --- | --- | --- |
864
862
  | `login(email, password)` | [`POST /login`](./api-reference.md#login) | `{ email, password }` → `ILoginResponse \| IMfaChallengeResponse` |
865
- | `socialLogin({ provider, token, has_accepted_terms })` | [`POST /authentication/social-login`](./api-reference.md#social-login) | Google token → `ILoginResponse` |
866
- | `linkSocialLogin({ provider, token })` | [`POST /auth/link-social-login`](./api-reference.md#link-social-login) | Google token → `IStatusResponse` |
863
+ | `socialLogin({ provider, token, has_accepted_terms })` | `POST /authentication/social-login` | Google token → `ILoginResponse` |
864
+ | `linkSocialLogin({ provider, token })` | `POST /auth/link-social-login` | Google token → `IStatusResponse` |
867
865
  | `changePassword({ email, password, new_password })` | [`PUT /authentication/change-password`](./api-reference.md#change-password) | `{ email }` |
868
866
  | `requestPasswordReset(email)` | [`PUT /authentication/request-password-reset`](./api-reference.md#request-password-reset) | `{ email }` |
869
867
  | `resetPassword({ email, token?, new_password })` | [`PUT /authentication/reset-password`](./api-reference.md#reset-password) | `{ email }` |
870
- | `getApiKey()` | [`GET /users/api-keys`](./api-reference.md#get-api-key) | `IMaskedApiKeyResponse`; 404 means no key |
871
- | `deleteApiKey()` | [`DELETE /users/api-keys`](./api-reference.md#delete-api-key) | `IEmptyResult` (`unknown[]`) |
872
- | `verifyMfa({ mfa_token, code })` | [`POST /authentication/mfa/verify`](./api-reference.md#complete-a-two-factor-login) | `IMfaVerifyPayload` → `ILoginResponse` |
873
- | `listMfaMethods()` | [`GET /users/self/mfa`](./api-reference.md#list-two-factor-methods) | `IMfaStatus` (`{ methods, recovery_codes_remaining }`) |
874
- | `startTotpEnrollment(label?)` | [`POST /users/self/mfa/totp`](./api-reference.md#start-authenticator-enrollment) | `{ label? }` → `ITotpEnrollment` (`{ id, secret, provisioning_uri }`) |
875
- | `confirmTotpEnrollment({ id, code, password?, reauth_code? })` | [`PUT /users/self/mfa/totp/confirm`](./api-reference.md#confirm-authenticator-enrollment) | `ITotpConfirmPayload` → `IMfaRecoveryCodes` |
876
- | `regenerateRecoveryCodes({ password?, code? })` | [`POST /users/self/mfa/recovery-codes`](./api-reference.md#regenerate-recovery-codes) | `IMfaReauthPayload` → `IMfaRecoveryCodes` |
877
- | `removeMfaMethod(methodId, { password?, code? })` | [`DELETE /users/self/mfa/{methodId}`](./api-reference.md#remove-a-two-factor-method) | JSON body `IMfaReauthPayload` → `{ is_mfa_enabled }` |
868
+ | `getApiKey()` | `GET /users/api-keys` | `IMaskedApiKeyResponse`; 404 means no key |
869
+ | `deleteApiKey()` | `DELETE /users/api-keys` | `IEmptyResult` (`unknown[]`) |
870
+ | `verifyMfa({ mfa_token, code })` | `POST /authentication/mfa/verify` | `IMfaVerifyPayload` → `ILoginResponse` |
871
+ | `listMfaMethods()` | `GET /users/self/mfa` | `IMfaStatus` (`{ methods, recovery_codes_remaining }`) |
872
+ | `startTotpEnrollment(label?)` | `POST /users/self/mfa/totp` | `{ label? }` → `ITotpEnrollment` (`{ id, secret, provisioning_uri }`) |
873
+ | `confirmTotpEnrollment({ id, code, password?, reauth_code? })` | `PUT /users/self/mfa/totp/confirm` | `ITotpConfirmPayload` → `IMfaRecoveryCodes` |
874
+ | `regenerateRecoveryCodes({ password?, code? })` | `POST /users/self/mfa/recovery-codes` | `IMfaReauthPayload` → `IMfaRecoveryCodes` |
875
+ | `removeMfaMethod(methodId, { password?, code? })` | `DELETE /users/self/mfa/{methodId}` | JSON body `IMfaReauthPayload` → `{ is_mfa_enabled }` |
878
876
 
879
877
  ### Two-factor authentication
880
878
 
@@ -1075,7 +1073,7 @@ Verify the raw bytes before parsing; re-serialized JSON does not match. The enve
1075
1073
 
1076
1074
  ## Contract boundaries
1077
1075
 
1078
- - Production OpenAPI publishes 158 operations. Personal API-key creation is intentionally absent from the SDK; masked lookup and revocation remain available.
1079
- - Certificate start/complete are deployed production extensions, exposed by `startCertificate` and `completeCertificate` with the signing application's payloads. They supplement the 158 OpenAPI operations; the API manifest contains only published paths.
1076
+ - Production OpenAPI publishes 147 operations. Personal API-key creation is intentionally absent from the SDK; masked lookup and revocation remain available as compatibility methods.
1077
+ - Certificate start/complete are deployed production extensions, exposed by `startCertificate` and `completeCertificate` with the signing application's payloads. They supplement the 147 OpenAPI operations; the API manifest contains only published paths.
1080
1078
  - The SDK retains the two template compatibility routes above. Both `sendToken` call forms send the email-only production body.
1081
1079
  - Original signer artifacts require a signer code. Completed copies use private expiring download tokens. Older download call forms remain callable for compatibility; server authorization and lifecycle rules apply.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assinafy/cli",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "description": "The official command-line interface for the Assinafy digital-signature API",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -75,7 +75,7 @@
75
75
  },
76
76
  "dependencies": {
77
77
  "@types/node": "^26.6.6",
78
- "axios": "^1.20.0"
78
+ "axios": "^1.22.0"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@biomejs/biome": "^2.5.10",