@arbol-ai/sdk 5.9.0 → 5.10.0

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.
@@ -13,7 +13,9 @@ export interface Client {
13
13
  * Simulate an IPS workflow using only enums and local fixtures. One workflow
14
14
  * parameter returns one line in Spanish. Optional scenarios include missing
15
15
  * records, missing documents, ambiguous matches, permissions, expiry and
16
- * uncertain responses. No connection or member is contacted.
16
+ * uncertain responses. For a lost filing response, stage selects the
17
+ * interrupted attachment, creation or association. No connection or member is
18
+ * contacted.
17
19
  */
18
20
  get(request: GetRequest, options?: RequestOptions): Promise<GetResponse>;
19
21
  }
@@ -30,6 +32,11 @@ export interface GetRequest {
30
32
  * session_expired or response_lost.
31
33
  */
32
34
  scenario?: "normal" | "no_match" | "ambiguous" | "forbidden" | "session_expired" | "missing_attachment" | "response_lost" | "interactive_challenge" | "connection_inactive" | "credentials_rejected" | "sin_registro" | "ambiguo" | "sin_permiso" | "sesion_expirada" | "falta_soporte" | "respuesta_perdida" | "desafio_interactivo" | "conexion_inactiva" | "credencial_rechazada";
35
+ /**
36
+ * Step that loses its response in a filing simulation. With filing and
37
+ * response_lost, the default is association.
38
+ */
39
+ stage?: "first_attachment" | "next_attachment" | "request_creation" | "association";
33
40
  /**
34
41
  * The view.
35
42
  */
@@ -12,7 +12,7 @@ export function bind(transport) {
12
12
  const GetOperation = {
13
13
  method: "GET",
14
14
  route: "/v1/salud-total/workflow-previews",
15
- query: { workflow: "workflow", scenario: "scenario", view: "view" },
15
+ query: { workflow: "workflow", scenario: "scenario", stage: "stage", view: "view" },
16
16
  response: null,
17
17
  errors: { "400": true, "401": true, "403": true, "429": true, "500": true, "502": true, "503": true, "504": true },
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/sdk",
3
- "version": "5.9.0",
3
+ "version": "5.10.0",
4
4
  "description": "The Arbol API for TypeScript and JavaScript, generated by Cloudflare Forge from the platform's public OpenAPI.",
5
5
  "keywords": [
6
6
  "arbol",
@@ -56,8 +56,8 @@
56
56
  "packageManager": "bun@1.4.3",
57
57
  "arbol": {
58
58
  "openapi": {
59
- "release": "1.20261031.212248",
60
- "sha256": "19c357db310e473489cf0ee373c4e87d618f0b3449ce869b97a116b0356cbad1"
59
+ "release": "1.20261031.213743",
60
+ "sha256": "ab2dce1a8569e4af24fac4e30206237d0d673dc5dc4af6efc183f54d0b855015"
61
61
  }
62
62
  }
63
63
  }