@assinafy/sdk 2.4.1 → 2.4.2

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/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.4.2] - 2026-09-23
11
+
12
+ ### Changed
13
+
14
+ - The manual live suite requires `--confirm-production` for `--all` on every configured host.
15
+ - Public examples use production URLs while retaining sandbox setup guidance.
16
+
10
17
  ## [2.4.1] - 2026-09-23
11
18
 
12
19
  ### Added
package/README.en.md CHANGED
@@ -126,7 +126,7 @@ operations, so an API key or Bearer token is never attached accidentally:
126
126
 
127
127
  ```ts
128
128
  const publicClient = new AssinafyClient({
129
- baseUrl: 'https://sandbox.assinafy.com.br/v1',
129
+ baseUrl: 'https://api.assinafy.com.br/v1',
130
130
  });
131
131
 
132
132
  await publicClient.auth.login('me@example.com', 'password');
package/README.md CHANGED
@@ -123,7 +123,7 @@ uma chave de API ou token Bearer nunca é anexada por acidente:
123
123
 
124
124
  ```ts
125
125
  const clientePublico = new AssinafyClient({
126
- baseUrl: 'https://sandbox.assinafy.com.br/v1',
126
+ baseUrl: 'https://api.assinafy.com.br/v1',
127
127
  });
128
128
 
129
129
  await clientePublico.auth.login('eu@exemplo.com.br', 'senha');
@@ -1365,13 +1365,9 @@ try {
1365
1365
  | Produção | `https://api.assinafy.com.br/v1` |
1366
1366
  | Sandbox | `https://sandbox.assinafy.com.br/v1` |
1367
1367
 
1368
- O sandbox é gratuito e espelha a produção para testar a integração de ponta a ponta, com a exceção
1369
- das rotas de certificado digital, que existem apenas em produção.
1370
-
1371
1368
  O sandbox tem servidor de autorização próprio em `https://auth-sandbox.assinafy.com.br`, com a tela
1372
- de consentimento em `/oauth/authorize`. Os documentos de descoberta dele, porém, não são
1373
- alcançáveis: o nginx do sandbox recusa qualquer caminho iniciado por ponto, então `/.well-known/…`
1374
- nunca chega à aplicação. Informe os endpoints explicitamente para pular a descoberta:
1369
+ de consentimento em `/oauth/authorize`. Os documentos de descoberta dele não são alcançáveis:
1370
+ o nginx recusa caminhos iniciados por ponto, então informe os endpoints explicitamente:
1375
1371
 
1376
1372
  ```ts
1377
1373
  const client = new AssinafyClient({ baseUrl: 'https://sandbox.assinafy.com.br/v1' });
@@ -1385,8 +1381,8 @@ const requisicao = await client.oauth.createAuthorizationUrl({
1385
1381
  });
1386
1382
  ```
1387
1383
 
1388
- Os endpoints de token, revogação e userinfo seguem o `baseUrl` configurado. Confirme que o deploy de
1389
- sandbox os expõe antes de rodar a etapa de troca por lá — veja
1384
+ Os endpoints de token, revogação e userinfo seguem o `baseUrl` configurado. Confirme que o sandbox
1385
+ os expõe antes de rodar a etapa de troca por lá — veja
1390
1386
  [docs/COMPATIBILITY.md](docs/COMPATIBILITY.md).
1391
1387
 
1392
1388
  ## Desenvolvimento
package/dist/index.d.mts CHANGED
@@ -1383,7 +1383,7 @@ declare class DocumentResource extends BaseResource {
1383
1383
  * "status": "uploaded", // NOT metadata_processing yet
1384
1384
  * "artifacts": { "original": "https://…/documents/103ad216…/download/original" },
1385
1385
  * "is_closed": false,
1386
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103ad216…",
1386
+ * "signing_url": "https://app.assinafy.com.br/sign/103ad216…",
1387
1387
  * "decline_reason": null,
1388
1388
  * "declined_by": null,
1389
1389
  * "tags": [],
@@ -1436,7 +1436,7 @@ declare class DocumentResource extends BaseResource {
1436
1436
  * "thumbnail": "https://…/documents/103acccd…/thumbnail"
1437
1437
  * },
1438
1438
  * "is_closed": false,
1439
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd…",
1439
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd…",
1440
1440
  * "decline_reason": null,
1441
1441
  * "declined_by": null,
1442
1442
  * "tags": [],
@@ -1581,7 +1581,7 @@ declare class DocumentResource extends BaseResource {
1581
1581
  * "thumbnail": "https://…/documents/103ad216…/thumbnail"
1582
1582
  * },
1583
1583
  * "is_closed": false,
1584
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103ad216…",
1584
+ * "signing_url": "https://app.assinafy.com.br/sign/103ad216…",
1585
1585
  * "decline_reason": null,
1586
1586
  * "declined_by": null,
1587
1587
  * "tags": [],
@@ -1923,7 +1923,7 @@ declare class DocumentResource extends BaseResource {
1923
1923
  * "status": "pending_signature",
1924
1924
  * "artifacts": { "original": "https://…/download/original", "thumbnail": "https://…/thumbnail" },
1925
1925
  * "is_closed": false,
1926
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/19f675b7…",
1926
+ * "signing_url": "https://app.assinafy.com.br/sign/19f675b7…",
1927
1927
  * "tags": [{ "id": "103a0992…", "name": "agreements", "color": null }],
1928
1928
  * "assignment": { "id": "103a09a1…", "method": "virtual", "summary": { "signer_count": 1, "completed_count": 0 } },
1929
1929
  * "pages": [{ "id": "103a0992…", "number": 1, "height": 1651, "width": 1275, "download_url": "https://…/download" }],
@@ -2783,7 +2783,7 @@ declare class AssignmentResource extends BaseResource {
2783
2783
  * "signing_urls": [
2784
2784
  * {
2785
2785
  * "signer_id": "19e6b92e7895332ed9708535d8c",
2786
- * "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
2786
+ * "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
2787
2787
  * }
2788
2788
  * ]
2789
2789
  * }
@@ -2878,7 +2878,7 @@ declare class AssignmentResource extends BaseResource {
2878
2878
  * "signing_urls": [
2879
2879
  * {
2880
2880
  * "signer_id": "19e6b92e7895332ed9708535d8c",
2881
- * "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
2881
+ * "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
2882
2882
  * }
2883
2883
  * ]
2884
2884
  * }
@@ -2988,7 +2988,7 @@ declare class AssignmentResource extends BaseResource {
2988
2988
  * ],
2989
2989
  * "summary": { "signer_count": 1, "completed_count": 0 },
2990
2990
  * "signing_urls": [
2991
- * { "signer_id": "19e6b92e7895332ed9708535d8c", "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
2991
+ * { "signer_id": "19e6b92e7895332ed9708535d8c", "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
2992
2992
  * ]
2993
2993
  * }
2994
2994
  * ```
@@ -3094,7 +3094,7 @@ declare class AssignmentResource extends BaseResource {
3094
3094
  * "header": "Assinafy",
3095
3095
  * "body": "Você tem um documento para assinar.",
3096
3096
  * "buttons": [
3097
- * { "text": "Assinar documento", "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
3097
+ * { "text": "Assinar documento", "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
3098
3098
  * ],
3099
3099
  * "phone_number": "+5511999998888",
3100
3100
  * "signer_id": "19e6b92e7895332ed9708535d8c"
@@ -4957,18 +4957,18 @@ declare class SignerDocumentsResource extends BaseResource {
4957
4957
  * "name": "Service agreement.pdf",
4958
4958
  * "status": "pending_signature",
4959
4959
  * "artifacts": {
4960
- * "original": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../download/original",
4961
- * "thumbnail": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../thumbnail"
4960
+ * "original": "https://api.assinafy.com.br/v1/documents/103acccd.../download/original",
4961
+ * "thumbnail": "https://api.assinafy.com.br/v1/documents/103acccd.../thumbnail"
4962
4962
  * },
4963
4963
  * "is_closed": false,
4964
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd...",
4964
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd...",
4965
4965
  * "decline_reason": null,
4966
4966
  * "declined_by": null,
4967
4967
  * "tags": [],
4968
4968
  * "assignment": null, // an IAssignment once signing has started
4969
4969
  * "pages": [
4970
4970
  * { "id": "103acccd5c73...", "number": 1, "height": 1651, "width": 1275,
4971
- * "download_url": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../pages/103acccd5c73.../download" }
4971
+ * "download_url": "https://api.assinafy.com.br/v1/documents/103acccd.../pages/103acccd5c73.../download" }
4972
4972
  * ],
4973
4973
  * "created_at": "2026-07-19T14:56:54Z",
4974
4974
  * "updated_at": "2026-07-19T14:56:56Z"
@@ -5010,7 +5010,7 @@ declare class SignerDocumentsResource extends BaseResource {
5010
5010
  * "status": "pending_signature",
5011
5011
  * "artifacts": { "original": "https://...", "thumbnail": "https://..." },
5012
5012
  * "is_closed": false,
5013
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd...",
5013
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd...",
5014
5014
  * "decline_reason": null,
5015
5015
  * "declined_by": null,
5016
5016
  * "tags": [],
@@ -5851,7 +5851,7 @@ declare class AssinafyClient {
5851
5851
  * { "id": "1032becb82a279550bc3e5df9bbb", "step": 1, "email": "ana@example.com", "full_name": "Ana Souza", "notified": true, "completed": false }
5852
5852
  * ],
5853
5853
  * "signing_urls": [
5854
- * { "signer_id": "1032becb82a279550bc3e5df9bbb", "url": "https://app-sandbox.assinafy.com.br/sign/103ad216846e6b90710cb9acef59?email=ana%40example.com" }
5854
+ * { "signer_id": "1032becb82a279550bc3e5df9bbb", "url": "https://app.assinafy.com.br/sign/103ad216846e6b90710cb9acef59?email=ana%40example.com" }
5855
5855
  * ]
5856
5856
  * },
5857
5857
  * "signer_ids": ["1032becb82a279550bc3e5df9bbb"]
package/dist/index.d.ts CHANGED
@@ -1383,7 +1383,7 @@ declare class DocumentResource extends BaseResource {
1383
1383
  * "status": "uploaded", // NOT metadata_processing yet
1384
1384
  * "artifacts": { "original": "https://…/documents/103ad216…/download/original" },
1385
1385
  * "is_closed": false,
1386
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103ad216…",
1386
+ * "signing_url": "https://app.assinafy.com.br/sign/103ad216…",
1387
1387
  * "decline_reason": null,
1388
1388
  * "declined_by": null,
1389
1389
  * "tags": [],
@@ -1436,7 +1436,7 @@ declare class DocumentResource extends BaseResource {
1436
1436
  * "thumbnail": "https://…/documents/103acccd…/thumbnail"
1437
1437
  * },
1438
1438
  * "is_closed": false,
1439
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd…",
1439
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd…",
1440
1440
  * "decline_reason": null,
1441
1441
  * "declined_by": null,
1442
1442
  * "tags": [],
@@ -1581,7 +1581,7 @@ declare class DocumentResource extends BaseResource {
1581
1581
  * "thumbnail": "https://…/documents/103ad216…/thumbnail"
1582
1582
  * },
1583
1583
  * "is_closed": false,
1584
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103ad216…",
1584
+ * "signing_url": "https://app.assinafy.com.br/sign/103ad216…",
1585
1585
  * "decline_reason": null,
1586
1586
  * "declined_by": null,
1587
1587
  * "tags": [],
@@ -1923,7 +1923,7 @@ declare class DocumentResource extends BaseResource {
1923
1923
  * "status": "pending_signature",
1924
1924
  * "artifacts": { "original": "https://…/download/original", "thumbnail": "https://…/thumbnail" },
1925
1925
  * "is_closed": false,
1926
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/19f675b7…",
1926
+ * "signing_url": "https://app.assinafy.com.br/sign/19f675b7…",
1927
1927
  * "tags": [{ "id": "103a0992…", "name": "agreements", "color": null }],
1928
1928
  * "assignment": { "id": "103a09a1…", "method": "virtual", "summary": { "signer_count": 1, "completed_count": 0 } },
1929
1929
  * "pages": [{ "id": "103a0992…", "number": 1, "height": 1651, "width": 1275, "download_url": "https://…/download" }],
@@ -2783,7 +2783,7 @@ declare class AssignmentResource extends BaseResource {
2783
2783
  * "signing_urls": [
2784
2784
  * {
2785
2785
  * "signer_id": "19e6b92e7895332ed9708535d8c",
2786
- * "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
2786
+ * "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
2787
2787
  * }
2788
2788
  * ]
2789
2789
  * }
@@ -2878,7 +2878,7 @@ declare class AssignmentResource extends BaseResource {
2878
2878
  * "signing_urls": [
2879
2879
  * {
2880
2880
  * "signer_id": "19e6b92e7895332ed9708535d8c",
2881
- * "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
2881
+ * "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
2882
2882
  * }
2883
2883
  * ]
2884
2884
  * }
@@ -2988,7 +2988,7 @@ declare class AssignmentResource extends BaseResource {
2988
2988
  * ],
2989
2989
  * "summary": { "signer_count": 1, "completed_count": 0 },
2990
2990
  * "signing_urls": [
2991
- * { "signer_id": "19e6b92e7895332ed9708535d8c", "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
2991
+ * { "signer_id": "19e6b92e7895332ed9708535d8c", "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
2992
2992
  * ]
2993
2993
  * }
2994
2994
  * ```
@@ -3094,7 +3094,7 @@ declare class AssignmentResource extends BaseResource {
3094
3094
  * "header": "Assinafy",
3095
3095
  * "body": "Você tem um documento para assinar.",
3096
3096
  * "buttons": [
3097
- * { "text": "Assinar documento", "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
3097
+ * { "text": "Assinar documento", "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
3098
3098
  * ],
3099
3099
  * "phone_number": "+5511999998888",
3100
3100
  * "signer_id": "19e6b92e7895332ed9708535d8c"
@@ -4957,18 +4957,18 @@ declare class SignerDocumentsResource extends BaseResource {
4957
4957
  * "name": "Service agreement.pdf",
4958
4958
  * "status": "pending_signature",
4959
4959
  * "artifacts": {
4960
- * "original": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../download/original",
4961
- * "thumbnail": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../thumbnail"
4960
+ * "original": "https://api.assinafy.com.br/v1/documents/103acccd.../download/original",
4961
+ * "thumbnail": "https://api.assinafy.com.br/v1/documents/103acccd.../thumbnail"
4962
4962
  * },
4963
4963
  * "is_closed": false,
4964
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd...",
4964
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd...",
4965
4965
  * "decline_reason": null,
4966
4966
  * "declined_by": null,
4967
4967
  * "tags": [],
4968
4968
  * "assignment": null, // an IAssignment once signing has started
4969
4969
  * "pages": [
4970
4970
  * { "id": "103acccd5c73...", "number": 1, "height": 1651, "width": 1275,
4971
- * "download_url": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../pages/103acccd5c73.../download" }
4971
+ * "download_url": "https://api.assinafy.com.br/v1/documents/103acccd.../pages/103acccd5c73.../download" }
4972
4972
  * ],
4973
4973
  * "created_at": "2026-07-19T14:56:54Z",
4974
4974
  * "updated_at": "2026-07-19T14:56:56Z"
@@ -5010,7 +5010,7 @@ declare class SignerDocumentsResource extends BaseResource {
5010
5010
  * "status": "pending_signature",
5011
5011
  * "artifacts": { "original": "https://...", "thumbnail": "https://..." },
5012
5012
  * "is_closed": false,
5013
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd...",
5013
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd...",
5014
5014
  * "decline_reason": null,
5015
5015
  * "declined_by": null,
5016
5016
  * "tags": [],
@@ -5851,7 +5851,7 @@ declare class AssinafyClient {
5851
5851
  * { "id": "1032becb82a279550bc3e5df9bbb", "step": 1, "email": "ana@example.com", "full_name": "Ana Souza", "notified": true, "completed": false }
5852
5852
  * ],
5853
5853
  * "signing_urls": [
5854
- * { "signer_id": "1032becb82a279550bc3e5df9bbb", "url": "https://app-sandbox.assinafy.com.br/sign/103ad216846e6b90710cb9acef59?email=ana%40example.com" }
5854
+ * { "signer_id": "1032becb82a279550bc3e5df9bbb", "url": "https://app.assinafy.com.br/sign/103ad216846e6b90710cb9acef59?email=ana%40example.com" }
5855
5855
  * ]
5856
5856
  * },
5857
5857
  * "signer_ids": ["1032becb82a279550bc3e5df9bbb"]
package/dist/index.js CHANGED
@@ -634,7 +634,7 @@ var import_axios2 = __toESM(require("axios"));
634
634
  // package.json
635
635
  var package_default = {
636
636
  name: "@assinafy/sdk",
637
- version: "2.4.1",
637
+ version: "2.4.2",
638
638
  packageManager: "bun@1.4.0",
639
639
  description: "TypeScript SDK for Assinafy API - Digital signature platform",
640
640
  type: "commonjs",
@@ -1284,7 +1284,7 @@ var AssignmentResource = class extends BaseResource {
1284
1284
  * "signing_urls": [
1285
1285
  * {
1286
1286
  * "signer_id": "19e6b92e7895332ed9708535d8c",
1287
- * "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
1287
+ * "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
1288
1288
  * }
1289
1289
  * ]
1290
1290
  * }
@@ -1387,7 +1387,7 @@ var AssignmentResource = class extends BaseResource {
1387
1387
  * "signing_urls": [
1388
1388
  * {
1389
1389
  * "signer_id": "19e6b92e7895332ed9708535d8c",
1390
- * "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
1390
+ * "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
1391
1391
  * }
1392
1392
  * ]
1393
1393
  * }
@@ -1521,7 +1521,7 @@ var AssignmentResource = class extends BaseResource {
1521
1521
  * ],
1522
1522
  * "summary": { "signer_count": 1, "completed_count": 0 },
1523
1523
  * "signing_urls": [
1524
- * { "signer_id": "19e6b92e7895332ed9708535d8c", "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
1524
+ * { "signer_id": "19e6b92e7895332ed9708535d8c", "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
1525
1525
  * ]
1526
1526
  * }
1527
1527
  * ```
@@ -1658,7 +1658,7 @@ var AssignmentResource = class extends BaseResource {
1658
1658
  * "header": "Assinafy",
1659
1659
  * "body": "Você tem um documento para assinar.",
1660
1660
  * "buttons": [
1661
- * { "text": "Assinar documento", "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
1661
+ * { "text": "Assinar documento", "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
1662
1662
  * ],
1663
1663
  * "phone_number": "+5511999998888",
1664
1664
  * "signer_id": "19e6b92e7895332ed9708535d8c"
@@ -1735,7 +1735,7 @@ var DocumentResource = class extends BaseResource {
1735
1735
  * "status": "uploaded", // NOT metadata_processing yet
1736
1736
  * "artifacts": { "original": "https://…/documents/103ad216…/download/original" },
1737
1737
  * "is_closed": false,
1738
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103ad216…",
1738
+ * "signing_url": "https://app.assinafy.com.br/sign/103ad216…",
1739
1739
  * "decline_reason": null,
1740
1740
  * "declined_by": null,
1741
1741
  * "tags": [],
@@ -1805,7 +1805,7 @@ var DocumentResource = class extends BaseResource {
1805
1805
  * "thumbnail": "https://…/documents/103acccd…/thumbnail"
1806
1806
  * },
1807
1807
  * "is_closed": false,
1808
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd…",
1808
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd…",
1809
1809
  * "decline_reason": null,
1810
1810
  * "declined_by": null,
1811
1811
  * "tags": [],
@@ -1979,7 +1979,7 @@ var DocumentResource = class extends BaseResource {
1979
1979
  * "thumbnail": "https://…/documents/103ad216…/thumbnail"
1980
1980
  * },
1981
1981
  * "is_closed": false,
1982
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103ad216…",
1982
+ * "signing_url": "https://app.assinafy.com.br/sign/103ad216…",
1983
1983
  * "decline_reason": null,
1984
1984
  * "declined_by": null,
1985
1985
  * "tags": [],
@@ -2457,7 +2457,7 @@ var DocumentResource = class extends BaseResource {
2457
2457
  * "status": "pending_signature",
2458
2458
  * "artifacts": { "original": "https://…/download/original", "thumbnail": "https://…/thumbnail" },
2459
2459
  * "is_closed": false,
2460
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/19f675b7…",
2460
+ * "signing_url": "https://app.assinafy.com.br/sign/19f675b7…",
2461
2461
  * "tags": [{ "id": "103a0992…", "name": "agreements", "color": null }],
2462
2462
  * "assignment": { "id": "103a09a1…", "method": "virtual", "summary": { "signer_count": 1, "completed_count": 0 } },
2463
2463
  * "pages": [{ "id": "103a0992…", "number": 1, "height": 1651, "width": 1275, "download_url": "https://…/download" }],
@@ -6045,18 +6045,18 @@ var SignerDocumentsResource = class extends BaseResource {
6045
6045
  * "name": "Service agreement.pdf",
6046
6046
  * "status": "pending_signature",
6047
6047
  * "artifacts": {
6048
- * "original": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../download/original",
6049
- * "thumbnail": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../thumbnail"
6048
+ * "original": "https://api.assinafy.com.br/v1/documents/103acccd.../download/original",
6049
+ * "thumbnail": "https://api.assinafy.com.br/v1/documents/103acccd.../thumbnail"
6050
6050
  * },
6051
6051
  * "is_closed": false,
6052
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd...",
6052
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd...",
6053
6053
  * "decline_reason": null,
6054
6054
  * "declined_by": null,
6055
6055
  * "tags": [],
6056
6056
  * "assignment": null, // an IAssignment once signing has started
6057
6057
  * "pages": [
6058
6058
  * { "id": "103acccd5c73...", "number": 1, "height": 1651, "width": 1275,
6059
- * "download_url": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../pages/103acccd5c73.../download" }
6059
+ * "download_url": "https://api.assinafy.com.br/v1/documents/103acccd.../pages/103acccd5c73.../download" }
6060
6060
  * ],
6061
6061
  * "created_at": "2026-07-19T14:56:54Z",
6062
6062
  * "updated_at": "2026-07-19T14:56:56Z"
@@ -6107,7 +6107,7 @@ var SignerDocumentsResource = class extends BaseResource {
6107
6107
  * "status": "pending_signature",
6108
6108
  * "artifacts": { "original": "https://...", "thumbnail": "https://..." },
6109
6109
  * "is_closed": false,
6110
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd...",
6110
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd...",
6111
6111
  * "decline_reason": null,
6112
6112
  * "declined_by": null,
6113
6113
  * "tags": [],
@@ -7254,7 +7254,7 @@ var AssinafyClient = class _AssinafyClient {
7254
7254
  * { "id": "1032becb82a279550bc3e5df9bbb", "step": 1, "email": "ana@example.com", "full_name": "Ana Souza", "notified": true, "completed": false }
7255
7255
  * ],
7256
7256
  * "signing_urls": [
7257
- * { "signer_id": "1032becb82a279550bc3e5df9bbb", "url": "https://app-sandbox.assinafy.com.br/sign/103ad216846e6b90710cb9acef59?email=ana%40example.com" }
7257
+ * { "signer_id": "1032becb82a279550bc3e5df9bbb", "url": "https://app.assinafy.com.br/sign/103ad216846e6b90710cb9acef59?email=ana%40example.com" }
7258
7258
  * ]
7259
7259
  * },
7260
7260
  * "signer_ids": ["1032becb82a279550bc3e5df9bbb"]
package/dist/index.mjs CHANGED
@@ -574,7 +574,7 @@ import axios2 from "axios";
574
574
  // package.json
575
575
  var package_default = {
576
576
  name: "@assinafy/sdk",
577
- version: "2.4.1",
577
+ version: "2.4.2",
578
578
  packageManager: "bun@1.4.0",
579
579
  description: "TypeScript SDK for Assinafy API - Digital signature platform",
580
580
  type: "commonjs",
@@ -1224,7 +1224,7 @@ var AssignmentResource = class extends BaseResource {
1224
1224
  * "signing_urls": [
1225
1225
  * {
1226
1226
  * "signer_id": "19e6b92e7895332ed9708535d8c",
1227
- * "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
1227
+ * "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
1228
1228
  * }
1229
1229
  * ]
1230
1230
  * }
@@ -1327,7 +1327,7 @@ var AssignmentResource = class extends BaseResource {
1327
1327
  * "signing_urls": [
1328
1328
  * {
1329
1329
  * "signer_id": "19e6b92e7895332ed9708535d8c",
1330
- * "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
1330
+ * "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c?email=signer%40example.com"
1331
1331
  * }
1332
1332
  * ]
1333
1333
  * }
@@ -1461,7 +1461,7 @@ var AssignmentResource = class extends BaseResource {
1461
1461
  * ],
1462
1462
  * "summary": { "signer_count": 1, "completed_count": 0 },
1463
1463
  * "signing_urls": [
1464
- * { "signer_id": "19e6b92e7895332ed9708535d8c", "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
1464
+ * { "signer_id": "19e6b92e7895332ed9708535d8c", "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
1465
1465
  * ]
1466
1466
  * }
1467
1467
  * ```
@@ -1598,7 +1598,7 @@ var AssignmentResource = class extends BaseResource {
1598
1598
  * "header": "Assinafy",
1599
1599
  * "body": "Você tem um documento para assinar.",
1600
1600
  * "buttons": [
1601
- * { "text": "Assinar documento", "url": "https://app-sandbox.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
1601
+ * { "text": "Assinar documento", "url": "https://app.assinafy.com.br/sign/103033c950d865a248a11c5cf96c" }
1602
1602
  * ],
1603
1603
  * "phone_number": "+5511999998888",
1604
1604
  * "signer_id": "19e6b92e7895332ed9708535d8c"
@@ -1675,7 +1675,7 @@ var DocumentResource = class extends BaseResource {
1675
1675
  * "status": "uploaded", // NOT metadata_processing yet
1676
1676
  * "artifacts": { "original": "https://…/documents/103ad216…/download/original" },
1677
1677
  * "is_closed": false,
1678
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103ad216…",
1678
+ * "signing_url": "https://app.assinafy.com.br/sign/103ad216…",
1679
1679
  * "decline_reason": null,
1680
1680
  * "declined_by": null,
1681
1681
  * "tags": [],
@@ -1745,7 +1745,7 @@ var DocumentResource = class extends BaseResource {
1745
1745
  * "thumbnail": "https://…/documents/103acccd…/thumbnail"
1746
1746
  * },
1747
1747
  * "is_closed": false,
1748
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd…",
1748
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd…",
1749
1749
  * "decline_reason": null,
1750
1750
  * "declined_by": null,
1751
1751
  * "tags": [],
@@ -1919,7 +1919,7 @@ var DocumentResource = class extends BaseResource {
1919
1919
  * "thumbnail": "https://…/documents/103ad216…/thumbnail"
1920
1920
  * },
1921
1921
  * "is_closed": false,
1922
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103ad216…",
1922
+ * "signing_url": "https://app.assinafy.com.br/sign/103ad216…",
1923
1923
  * "decline_reason": null,
1924
1924
  * "declined_by": null,
1925
1925
  * "tags": [],
@@ -2397,7 +2397,7 @@ var DocumentResource = class extends BaseResource {
2397
2397
  * "status": "pending_signature",
2398
2398
  * "artifacts": { "original": "https://…/download/original", "thumbnail": "https://…/thumbnail" },
2399
2399
  * "is_closed": false,
2400
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/19f675b7…",
2400
+ * "signing_url": "https://app.assinafy.com.br/sign/19f675b7…",
2401
2401
  * "tags": [{ "id": "103a0992…", "name": "agreements", "color": null }],
2402
2402
  * "assignment": { "id": "103a09a1…", "method": "virtual", "summary": { "signer_count": 1, "completed_count": 0 } },
2403
2403
  * "pages": [{ "id": "103a0992…", "number": 1, "height": 1651, "width": 1275, "download_url": "https://…/download" }],
@@ -5985,18 +5985,18 @@ var SignerDocumentsResource = class extends BaseResource {
5985
5985
  * "name": "Service agreement.pdf",
5986
5986
  * "status": "pending_signature",
5987
5987
  * "artifacts": {
5988
- * "original": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../download/original",
5989
- * "thumbnail": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../thumbnail"
5988
+ * "original": "https://api.assinafy.com.br/v1/documents/103acccd.../download/original",
5989
+ * "thumbnail": "https://api.assinafy.com.br/v1/documents/103acccd.../thumbnail"
5990
5990
  * },
5991
5991
  * "is_closed": false,
5992
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd...",
5992
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd...",
5993
5993
  * "decline_reason": null,
5994
5994
  * "declined_by": null,
5995
5995
  * "tags": [],
5996
5996
  * "assignment": null, // an IAssignment once signing has started
5997
5997
  * "pages": [
5998
5998
  * { "id": "103acccd5c73...", "number": 1, "height": 1651, "width": 1275,
5999
- * "download_url": "https://sandbox.assinafy.com.br/v1/documents/103acccd.../pages/103acccd5c73.../download" }
5999
+ * "download_url": "https://api.assinafy.com.br/v1/documents/103acccd.../pages/103acccd5c73.../download" }
6000
6000
  * ],
6001
6001
  * "created_at": "2026-07-19T14:56:54Z",
6002
6002
  * "updated_at": "2026-07-19T14:56:56Z"
@@ -6047,7 +6047,7 @@ var SignerDocumentsResource = class extends BaseResource {
6047
6047
  * "status": "pending_signature",
6048
6048
  * "artifacts": { "original": "https://...", "thumbnail": "https://..." },
6049
6049
  * "is_closed": false,
6050
- * "signing_url": "https://app-sandbox.assinafy.com.br/sign/103acccd...",
6050
+ * "signing_url": "https://app.assinafy.com.br/sign/103acccd...",
6051
6051
  * "decline_reason": null,
6052
6052
  * "declined_by": null,
6053
6053
  * "tags": [],
@@ -7194,7 +7194,7 @@ var AssinafyClient = class _AssinafyClient {
7194
7194
  * { "id": "1032becb82a279550bc3e5df9bbb", "step": 1, "email": "ana@example.com", "full_name": "Ana Souza", "notified": true, "completed": false }
7195
7195
  * ],
7196
7196
  * "signing_urls": [
7197
- * { "signer_id": "1032becb82a279550bc3e5df9bbb", "url": "https://app-sandbox.assinafy.com.br/sign/103ad216846e6b90710cb9acef59?email=ana%40example.com" }
7197
+ * { "signer_id": "1032becb82a279550bc3e5df9bbb", "url": "https://app.assinafy.com.br/sign/103ad216846e6b90710cb9acef59?email=ana%40example.com" }
7198
7198
  * ]
7199
7199
  * },
7200
7200
  * "signer_ids": ["1032becb82a279550bc3e5df9bbb"]
package/docs/RELEASING.md CHANGED
@@ -47,25 +47,6 @@ The `publish-gh` job uses the workflow-scoped `GITHUB_TOKEN` with
47
47
  the `@assinafy` scope and that the package remains linked to this repository.
48
48
  No separate personal access token should be stored.
49
49
 
50
- ### Sandbox integration environment
51
-
52
- Create a protected GitHub environment named `sandbox`. Restrict deployments to
53
- the mirrored `main` branch, require reviewer approval, and store these required
54
- environment secrets:
55
-
56
- - `ASSINAFY_API_KEY`
57
- - `ASSINAFY_ACCOUNT_ID`
58
-
59
- The `disposable-full` mode also requires `ASSINAFY_TEST_EMAIL_PRIMARY` and
60
- `ASSINAFY_TEST_EMAIL_SECONDARY`. Optional coverage uses
61
- `ASSINAFY_TEST_WEBHOOK_URL`, `ASSINAFY_TEST_LOGIN_EMAIL`,
62
- `ASSINAFY_TEST_LOGIN_PASSWORD`, `ASSINAFY_SIGNER_ACCESS_CODE`,
63
- `ASSINAFY_SIGNER_OTP`, and `ASSINAFY_PUBLIC_DOCUMENT_ID`.
64
-
65
- Keep secret values out of repository variables, files, and logs. Run the manual
66
- **Sandbox integration** workflow from mirrored `main`; use `read-only` first
67
- and select `disposable-full` only for a deliberate reversible test run.
68
-
69
50
  ### Mirror and tag protection
70
51
 
71
52
  The GitLab push mirror must include tags and be able to update the GitHub
@@ -110,7 +91,7 @@ deleting the same pattern to the mirror/release maintainers. Protect the GitHub
110
91
  ASSINAFY_BASE_URL='https://sandbox.assinafy.com.br/v1' \
111
92
  ASSINAFY_TEST_EMAIL_PRIMARY='first@example.com' \
112
93
  ASSINAFY_TEST_EMAIL_SECONDARY='second@example.com' \
113
- bun scripts/live-smoke.ts --all
94
+ bun scripts/live-smoke.ts --all --confirm-production
114
95
  ```
115
96
 
116
97
  The suite creates and force-deletes a disposable workspace, but an
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assinafy/sdk",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "packageManager": "bun@1.4.0",
5
5
  "description": "TypeScript SDK for Assinafy API - Digital signature platform",
6
6
  "type": "commonjs",