@arbol-ai/sdk 5.5.0 → 5.7.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.
@@ -2,4 +2,4 @@ export { ApiError } from "../../_/index.js";
2
2
  export type { RequestOptions } from "../../_/index.js";
3
3
  export { createClient } from "./client.js";
4
4
  export type { Client, ClientOptions, LookupRequest, LookupResponse, } from "./client.js";
5
- export type { SaludTotalAffiliationLookup, SaludTotalAffiliationLookupResponse, SaludTotalLookupAffiliationBody, SaludTotalLookupAffiliationConflictError, SaludTotalLookupAffiliationConflictFailure, SaludTotalLookupAffiliationForbiddenError, SaludTotalLookupAffiliationForbiddenFailure, SaludTotalLookupAffiliationServiceUnavailableError, SaludTotalLookupAffiliationServiceUnavailableFailure, SaludTotalLookupAffiliationTooManyRequestsError, SaludTotalLookupAffiliationTooManyRequestsFailure, } from "./models.js";
5
+ export type { SaludTotalAffiliationLookupResponse, SaludTotalLookupAffiliationBody, SaludTotalLookupAffiliationConflictError, SaludTotalLookupAffiliationConflictFailure, SaludTotalLookupAffiliationForbiddenError, SaludTotalLookupAffiliationForbiddenFailure, SaludTotalLookupAffiliationServiceUnavailableError, SaludTotalLookupAffiliationServiceUnavailableFailure, SaludTotalLookupAffiliationTooManyRequestsError, SaludTotalLookupAffiliationTooManyRequestsFailure, } from "./models.js";
@@ -1,9 +1,5 @@
1
1
  import type { ForbiddenFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
2
- import type { SaludTotalAccountUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure, SaludTotalSessionExpiredFailure, SaludTotalSiteUnavailableFailure } from "../models.js";
3
- export interface SaludTotalAffiliationLookup {
4
- providerStatus: string | null;
5
- status: "matched" | "no_match" | "ambiguous";
6
- }
2
+ import type { SaludTotalAccountUnavailableFailure, SaludTotalAffiliationLookup, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure, SaludTotalSessionExpiredFailure, SaludTotalSiteUnavailableFailure } from "../models.js";
7
3
  /**
8
4
  * A successful answer.
9
5
  */
@@ -8,7 +8,7 @@ export interface ClientOptions extends BaseClientOptions {
8
8
  }
9
9
  export interface Client {
10
10
  /**
11
- * Lookup authorizations
11
+ * Look up authorization records for one member, site and day
12
12
  *
13
13
  * Availability of authorization records for the matched member and selected
14
14
  * site on one calendar day. A missing row is not a denial. Returns counts,
@@ -8,6 +8,7 @@ import { type Client as NoticesClient } from "./notices/client.js";
8
8
  import { type Client as PortalOperationsClient } from "./portalOperations/client.js";
9
9
  import { type Client as PortalsClient } from "./portals/client.js";
10
10
  import { type Client as ReferenceOptionsClient } from "./referenceOptions/client.js";
11
+ import { type Client as SamplesClient } from "./samples/client.js";
11
12
  import { type Client as SessionsClient } from "./sessions/client.js";
12
13
  import { type Client as WorkflowPreviewsClient } from "./workflowPreviews/client.js";
13
14
  export interface ClientOptions extends BaseClientOptions {
@@ -26,6 +27,7 @@ export interface Client {
26
27
  readonly portalOperations: PortalOperationsClient;
27
28
  readonly portals: PortalsClient;
28
29
  readonly referenceOptions: ReferenceOptionsClient;
30
+ readonly samples: SamplesClient;
29
31
  readonly sessions: SessionsClient;
30
32
  readonly workflowPreviews: WorkflowPreviewsClient;
31
33
  }
@@ -10,6 +10,7 @@ import { bind as bindNotices, } from "./notices/client.js";
10
10
  import { bind as bindPortalOperations, } from "./portalOperations/client.js";
11
11
  import { bind as bindPortals, } from "./portals/client.js";
12
12
  import { bind as bindReferenceOptions, } from "./referenceOptions/client.js";
13
+ import { bind as bindSamples, } from "./samples/client.js";
13
14
  import { bind as bindSessions, } from "./sessions/client.js";
14
15
  import { bind as bindWorkflowPreviews, } from "./workflowPreviews/client.js";
15
16
  export function createClient(options) {
@@ -25,6 +26,7 @@ export function bind(transport) {
25
26
  let portalOperationsClient;
26
27
  let portalsClient;
27
28
  let referenceOptionsClient;
29
+ let samplesClient;
28
30
  let sessionsClient;
29
31
  let workflowPreviewsClient;
30
32
  return {
@@ -55,6 +57,9 @@ export function bind(transport) {
55
57
  get referenceOptions() {
56
58
  return (referenceOptionsClient ??= bindReferenceOptions(transport));
57
59
  },
60
+ get samples() {
61
+ return (samplesClient ??= bindSamples(transport));
62
+ },
58
63
  get sessions() {
59
64
  return (sessionsClient ??= bindSessions(transport));
60
65
  },
@@ -8,7 +8,7 @@ export interface ClientOptions extends BaseClientOptions {
8
8
  }
9
9
  export interface Client {
10
10
  /**
11
- * Lookup filings
11
+ * Look up filing records for one member and day
12
12
  *
13
13
  * Availability of requests for the matched member and IPS on one calendar
14
14
  * day. The provider filing search is institution-wide after site admission.
@@ -2,4 +2,4 @@ export { ApiError } from "../_/index.js";
2
2
  export type { RequestOptions } from "../_/index.js";
3
3
  export { createClient } from "./client.js";
4
4
  export type { Client, ClientOptions, } from "./client.js";
5
- export type { SaludTotalAccountUnavailableFailure, SaludTotalConnectionNotFoundError, SaludTotalConnectionNotFoundFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalRecordAvailability, SaludTotalRecordAvailabilityResponse, SaludTotalScopedDayLookup, SaludTotalSessionClosedFailure, SaludTotalSessionExpiredFailure, SaludTotalSiteUnavailableFailure, } from "./models.js";
5
+ export type { SaludTotalAccountUnavailableFailure, SaludTotalAffiliationLookup, SaludTotalConnectionNotFoundError, SaludTotalConnectionNotFoundFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalInvoiceLookupInput, SaludTotalInvoiceLookupResult, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalRecordAvailability, SaludTotalRecordAvailabilityResponse, SaludTotalScopedDayLookup, SaludTotalSessionClosedFailure, SaludTotalSessionExpiredFailure, SaludTotalSiteUnavailableFailure, } from "./models.js";
@@ -1,5 +1,6 @@
1
1
  import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
2
- import type { SaludTotalInvoiceLookupInput, SaludTotalInvoiceLookupResultResponse } from "./models.js";
2
+ import type { SaludTotalInvoiceLookupInput } from "../models.js";
3
+ import type { SaludTotalInvoiceLookupResultResponse } from "./models.js";
3
4
  export interface ClientOptions extends BaseClientOptions {
4
5
  /**
5
6
  * The URL the paths of the API are relative to.
@@ -8,7 +9,7 @@ export interface ClientOptions extends BaseClientOptions {
8
9
  }
9
10
  export interface Client {
10
11
  /**
11
- * Lookup invoices
12
+ * Look up an exact IPS invoice reference
12
13
  *
13
14
  * Look up one exact invoice prefix and number in the active billing
14
15
  * connection’s institution. Returns only the number of matching report rows.
@@ -2,4 +2,4 @@ export { ApiError } from "../../_/index.js";
2
2
  export type { RequestOptions } from "../../_/index.js";
3
3
  export { createClient } from "./client.js";
4
4
  export type { Client, ClientOptions, LookupRequest, LookupResponse, } from "./client.js";
5
- export type { SaludTotalInvoiceLookupInput, SaludTotalInvoiceLookupResult, SaludTotalInvoiceLookupResultResponse, SaludTotalLookupInvoiceConflictError, SaludTotalLookupInvoiceConflictFailure, SaludTotalLookupInvoiceForbiddenError, SaludTotalLookupInvoiceForbiddenFailure, SaludTotalLookupInvoiceServiceUnavailableError, SaludTotalLookupInvoiceServiceUnavailableFailure, SaludTotalLookupInvoiceTooManyRequestsError, SaludTotalLookupInvoiceTooManyRequestsFailure, } from "./models.js";
5
+ export type { SaludTotalInvoiceLookupResultResponse, SaludTotalLookupInvoiceConflictError, SaludTotalLookupInvoiceConflictFailure, SaludTotalLookupInvoiceForbiddenError, SaludTotalLookupInvoiceForbiddenFailure, SaludTotalLookupInvoiceServiceUnavailableError, SaludTotalLookupInvoiceServiceUnavailableFailure, SaludTotalLookupInvoiceTooManyRequestsError, SaludTotalLookupInvoiceTooManyRequestsFailure, } from "./models.js";
@@ -1,14 +1,5 @@
1
1
  import type { ForbiddenFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
2
- import type { SaludTotalAccountUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure, SaludTotalSessionExpiredFailure, SaludTotalSiteUnavailableFailure } from "../models.js";
3
- export interface SaludTotalInvoiceLookupInput {
4
- connectionId: string;
5
- invoiceNumber: string;
6
- prefix: string;
7
- }
8
- export interface SaludTotalInvoiceLookupResult {
9
- recordCount: number;
10
- status: "no_match" | "records_found";
11
- }
2
+ import type { SaludTotalAccountUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalInvoiceLookupResult, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure, SaludTotalSessionExpiredFailure, SaludTotalSiteUnavailableFailure } from "../models.js";
12
3
  /**
13
4
  * A successful answer.
14
5
  */
@@ -20,6 +20,10 @@ export interface SaludTotalAccountUnavailableFailure {
20
20
  */
21
21
  retryable: false;
22
22
  }
23
+ export interface SaludTotalAffiliationLookup {
24
+ providerStatus: string | null;
25
+ status: "matched" | "no_match" | "ambiguous";
26
+ }
23
27
  /**
24
28
  * A failed answer.
25
29
  */
@@ -119,6 +123,15 @@ export interface SaludTotalInteractiveVerificationRequiredFailure {
119
123
  */
120
124
  retryable: false;
121
125
  }
126
+ export interface SaludTotalInvoiceLookupInput {
127
+ connectionId: string;
128
+ invoiceNumber: string;
129
+ prefix: string;
130
+ }
131
+ export interface SaludTotalInvoiceLookupResult {
132
+ recordCount: number;
133
+ status: "no_match" | "records_found";
134
+ }
122
135
  /**
123
136
  * The provider returned a different IPS identity.
124
137
  */
@@ -8,7 +8,7 @@ export interface ClientOptions extends BaseClientOptions {
8
8
  }
9
9
  export interface Client {
10
10
  /**
11
- * Get notices count
11
+ * Count IPS objection and devolution notices
12
12
  *
13
13
  * Read the IPS objection/devolution notification total from the billing
14
14
  * connection. Returns only a count. Never opens or acknowledges a
@@ -45,6 +45,10 @@ export interface ListRequest {
45
45
  * The evidence.
46
46
  */
47
47
  evidence?: "client" | "observed";
48
+ /**
49
+ * The signal.
50
+ */
51
+ signal?: "checks_401_and_refreshes" | "contains_self_retry" | "catch_returns_empty_array" | "catch_returns_null";
48
52
  /**
49
53
  * The q.
50
54
  */
@@ -12,7 +12,7 @@ export function bind(transport) {
12
12
  const ListOperation = {
13
13
  method: "GET",
14
14
  route: "/v1/salud-total/portal-operations",
15
- query: { cursor: "cursor", direction: "direction", limit: "limit", client: "client", method: "method", evidence: "evidence", q: "q" },
15
+ query: { cursor: "cursor", direction: "direction", limit: "limit", client: "client", method: "method", evidence: "evidence", signal: "signal", q: "q" },
16
16
  response: null,
17
17
  errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "429": true, "500": true, "502": true, "503": true, "504": true },
18
18
  };
@@ -56,6 +56,7 @@ export interface SaludTotalPortalOperation {
56
56
  apiBases: string[];
57
57
  bodyFields: string[];
58
58
  client: "OficinaVirtual" | "OFVPerfilIPS";
59
+ clientSignals: ("checks_401_and_refreshes" | "contains_self_retry" | "catch_returns_empty_array" | "catch_returns_null")[];
59
60
  evidence: "client" | "observed";
60
61
  id: string;
61
62
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD";
@@ -8,7 +8,7 @@ export interface ClientOptions extends BaseClientOptions {
8
8
  }
9
9
  export interface Client {
10
10
  /**
11
- * List reference options
11
+ * List permitted IPS reference options
12
12
  *
13
13
  * List live administrative choices for one active IPS connection. Query
14
14
  * branches first, then sites with branchId. Catalogs include document types,
@@ -0,0 +1,45 @@
1
+ import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
2
+ import { type SaludTotalLookupSamplePageResponse } from "./models.js";
3
+ export interface ClientOptions extends BaseClientOptions {
4
+ /**
5
+ * The URL the paths of the API are relative to.
6
+ */
7
+ baseUrl: string;
8
+ }
9
+ export interface Client {
10
+ /**
11
+ * Find a lookup request and sample response
12
+ *
13
+ * Return synthetic examples for the published IPS lookups, filtered by
14
+ * resource or response status. Each gives the REST path, JSON request body
15
+ * and unwrapped response data. No provider is contacted. Replace the example
16
+ * identifiers before making an authorized live call.
17
+ */
18
+ list(request?: ListRequest, options?: RequestOptions): Promise<ListResponse>;
19
+ }
20
+ export declare function createClient(options: ClientOptions): Client;
21
+ export declare function bind(transport: Transport): Client;
22
+ export interface ListRequest {
23
+ /**
24
+ * Opaque cursor returned by pageInfo; omit it to request the first page.
25
+ */
26
+ cursor?: string;
27
+ /**
28
+ * Direction to traverse the stable keyset ordering from the supplied cursor.
29
+ */
30
+ direction?: "forward" | "backward";
31
+ /**
32
+ * Maximum items returned in one page. Defaults to 25; larger reads require
33
+ * another cursor.
34
+ */
35
+ limit?: number;
36
+ /**
37
+ * The resource.
38
+ */
39
+ resource?: "affiliations" | "authorizations" | "filings" | "invoices";
40
+ /**
41
+ * Exact response status, for example no_match, member_no_match or no_records.
42
+ */
43
+ status?: string;
44
+ }
45
+ export type ListResponse = SaludTotalLookupSamplePageResponse;
@@ -0,0 +1,19 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ import { Transport, } from "../../_/index.js";
4
+ import { SaludTotalLookupSamplePageResponseCodec, } from "./models.js";
5
+ export function createClient(options) {
6
+ return bind(new Transport(options));
7
+ }
8
+ export function bind(transport) {
9
+ return {
10
+ list: (request, options) => transport.send(ListOperation, request, options),
11
+ };
12
+ }
13
+ const ListOperation = {
14
+ method: "GET",
15
+ route: "/v1/salud-total/samples",
16
+ query: { cursor: "cursor", direction: "direction", limit: "limit", resource: "resource", status: "status" },
17
+ response: SaludTotalLookupSamplePageResponseCodec,
18
+ errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "429": true, "500": true, "502": true, "503": true, "504": true },
19
+ };
@@ -0,0 +1,5 @@
1
+ export { ApiError } from "../../_/index.js";
2
+ export type { RequestOptions } from "../../_/index.js";
3
+ export { createClient } from "./client.js";
4
+ export type { Client, ClientOptions, ListRequest, ListResponse, } from "./client.js";
5
+ export type { SaludTotalListSamplesConflictError, SaludTotalListSamplesConflictFailure, SaludTotalListSamplesForbiddenError, SaludTotalListSamplesForbiddenFailure, SaludTotalListSamplesServiceUnavailableError, SaludTotalListSamplesServiceUnavailableFailure, SaludTotalListSamplesTooManyRequestsError, SaludTotalListSamplesTooManyRequestsFailure, SaludTotalLookupSample, SaludTotalLookupSamplePage, SaludTotalLookupSamplePageResponse, } from "./models.js";
@@ -0,0 +1,4 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export { ApiError } from "../../_/index.js";
4
+ export { createClient } from "./client.js";
@@ -0,0 +1,138 @@
1
+ import type { ForbiddenFailure, PageInfo, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
2
+ import type { SaludTotalAccountUnavailableFailure, SaludTotalAffiliationLookup, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalInvoiceLookupInput, SaludTotalInvoiceLookupResult, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalRecordAvailability, SaludTotalSessionClosedFailure, SaludTotalSessionExpiredFailure, SaludTotalSiteUnavailableFailure } from "../models.js";
3
+ /**
4
+ * A failed answer.
5
+ */
6
+ export interface SaludTotalListSamplesConflictError {
7
+ data: null;
8
+ error: SaludTotalListSamplesConflictFailure;
9
+ /**
10
+ * What every answer carries besides its data or error.
11
+ */
12
+ metadata: ResponseMetadata;
13
+ success: false;
14
+ }
15
+ export type SaludTotalListSamplesConflictFailure = SaludTotalConnectionUnavailableFailure | SaludTotalSessionClosedFailure | SaludTotalInteractiveVerificationRequiredFailure | SaludTotalCredentialsRejectedFailure | SaludTotalIpsIdentityMismatchFailure;
16
+ /**
17
+ * A failed answer.
18
+ */
19
+ export interface SaludTotalListSamplesForbiddenError {
20
+ data: null;
21
+ error: SaludTotalListSamplesForbiddenFailure;
22
+ /**
23
+ * What every answer carries besides its data or error.
24
+ */
25
+ metadata: ResponseMetadata;
26
+ success: false;
27
+ }
28
+ export type SaludTotalListSamplesForbiddenFailure = ForbiddenFailure | SaludTotalPortalAccessUnverifiedFailure | SaludTotalModuleForbiddenFailure | SaludTotalSiteUnavailableFailure;
29
+ /**
30
+ * A failed answer.
31
+ */
32
+ export interface SaludTotalListSamplesServiceUnavailableError {
33
+ data: null;
34
+ error: SaludTotalListSamplesServiceUnavailableFailure;
35
+ /**
36
+ * What every answer carries besides its data or error.
37
+ */
38
+ metadata: ResponseMetadata;
39
+ success: false;
40
+ }
41
+ export type SaludTotalListSamplesServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAccountUnavailableFailure | SaludTotalSessionExpiredFailure | SaludTotalProviderUnavailableFailure;
42
+ /**
43
+ * A failed answer.
44
+ */
45
+ export interface SaludTotalListSamplesTooManyRequestsError {
46
+ data: null;
47
+ error: SaludTotalListSamplesTooManyRequestsFailure;
48
+ /**
49
+ * What every answer carries besides its data or error.
50
+ */
51
+ metadata: ResponseMetadata;
52
+ success: false;
53
+ }
54
+ export type SaludTotalListSamplesTooManyRequestsFailure = RateLimitedFailure | SaludTotalLoginCoolingDownFailure;
55
+ export type SaludTotalLookupSample = {
56
+ evidence: "observed_shape" | "contract_only";
57
+ id: string;
58
+ method: "POST";
59
+ path: "/v1/salud-total/affiliations/lookup";
60
+ requestBody: {
61
+ connectionId: string;
62
+ documentNumber: string;
63
+ documentType: "CC";
64
+ };
65
+ resource: "affiliations";
66
+ responseData: SaludTotalAffiliationLookup;
67
+ synthetic: true;
68
+ } | {
69
+ evidence: "observed_shape" | "contract_only";
70
+ id: string;
71
+ method: "POST";
72
+ path: "/v1/salud-total/authorizations/lookup";
73
+ requestBody: {
74
+ branchId: number;
75
+ connectionId: string;
76
+ day: Temporal.PlainDate;
77
+ documentNumber: string;
78
+ documentType: "CC";
79
+ siteId: number;
80
+ };
81
+ resource: "authorizations";
82
+ responseData: SaludTotalRecordAvailability;
83
+ synthetic: true;
84
+ } | {
85
+ evidence: "observed_shape" | "contract_only";
86
+ id: string;
87
+ method: "POST";
88
+ path: "/v1/salud-total/filings/lookup";
89
+ requestBody: {
90
+ branchId: number;
91
+ connectionId: string;
92
+ day: Temporal.PlainDate;
93
+ documentNumber: string;
94
+ documentType: "CC";
95
+ siteId: number;
96
+ };
97
+ resource: "filings";
98
+ responseData: SaludTotalRecordAvailability;
99
+ synthetic: true;
100
+ } | {
101
+ evidence: "observed_shape" | "contract_only";
102
+ id: string;
103
+ method: "POST";
104
+ path: "/v1/salud-total/invoices/lookup";
105
+ requestBody: SaludTotalInvoiceLookupInput;
106
+ resource: "invoices";
107
+ responseData: SaludTotalInvoiceLookupResult;
108
+ synthetic: true;
109
+ };
110
+ export interface SaludTotalLookupSamplePage {
111
+ /**
112
+ * Items admitted by this resource contract within the verified organization.
113
+ */
114
+ data: SaludTotalLookupSample[];
115
+ /**
116
+ * Discriminator for a resource list response.
117
+ */
118
+ object: "list";
119
+ /**
120
+ * Opaque navigation cursors for this page’s stable keyset order.
121
+ */
122
+ pageInfo: PageInfo;
123
+ }
124
+ /**
125
+ * A successful answer.
126
+ */
127
+ export interface SaludTotalLookupSamplePageResponse {
128
+ data: SaludTotalLookupSamplePage;
129
+ error: null;
130
+ /**
131
+ * What every answer carries besides its data or error.
132
+ */
133
+ metadata: ResponseMetadata;
134
+ success: true;
135
+ }
136
+ export declare const SaludTotalLookupSampleCodec: import("../../_/codec.js").Codec;
137
+ export declare const SaludTotalLookupSamplePageCodec: import("../../_/codec.js").Codec;
138
+ export declare const SaludTotalLookupSamplePageResponseCodec: import("../../_/codec.js").Codec;
@@ -0,0 +1,10 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ import { array, date, object, union } from "../../_/index.js";
4
+ export const SaludTotalLookupSampleCodec = union([object([["requestBody", null, object([["day", null, date]])]]), object([["requestBody", null, object([["day", null, date]])]])]);
5
+ export const SaludTotalLookupSamplePageCodec = object([
6
+ ["data", null, array(() => SaludTotalLookupSampleCodec)],
7
+ ]);
8
+ export const SaludTotalLookupSamplePageResponseCodec = object([
9
+ ["data", null, () => SaludTotalLookupSamplePageCodec],
10
+ ]);
@@ -8,7 +8,7 @@ export interface ClientOptions extends BaseClientOptions {
8
8
  }
9
9
  export interface Client {
10
10
  /**
11
- * Delete sessions
11
+ * Close all IPS leases for a connection
12
12
  *
13
13
  * Discard the local IPS access token and any pending session acquisition for
14
14
  * this connection. A subsequent authorized read may open a new session. This
@@ -16,7 +16,7 @@ export interface Client {
16
16
  */
17
17
  delete(request: DeleteRequest, options?: RequestOptions): Promise<DeleteResponse>;
18
18
  /**
19
- * List sessions
19
+ * Get the local lease for one IPS module
20
20
  *
21
21
  * Inspect the local IPS session lease. Closed is normal after expiry or
22
22
  * Worker eviction. Never returns a provider token, member identifier or
@@ -8,7 +8,7 @@ export interface ClientOptions extends BaseClientOptions {
8
8
  }
9
9
  export interface Client {
10
10
  /**
11
- * List workflow previews
11
+ * Preview a synthetic IPS workflow
12
12
  *
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
@@ -21,13 +21,15 @@ export declare function createClient(options: ClientOptions): Client;
21
21
  export declare function bind(transport: Transport): Client;
22
22
  export interface GetRequest {
23
23
  /**
24
- * The workflow.
24
+ * IPS workflow, for example affiliation, authorization, filing, billing or
25
+ * session. Earlier Spanish identifiers are also accepted.
25
26
  */
26
- workflow: "afiliacion" | "aclaracion" | "sesion" | "autorizacion" | "radicacion" | "seguimiento" | "facturacion" | "glosas" | "direccionamiento" | "remisiones" | "programaciones" | "rips" | "mipres" | "diagnostico";
27
+ workflow: "affiliation" | "clarification" | "session" | "authorization" | "filing" | "tracking" | "billing" | "objections" | "routing" | "referrals" | "scheduling" | "rips" | "mipres" | "diagnostics" | "afiliacion" | "aclaracion" | "sesion" | "autorizacion" | "radicacion" | "seguimiento" | "facturacion" | "glosas" | "direccionamiento" | "remisiones" | "programaciones" | "diagnostico";
27
28
  /**
28
- * The scenario.
29
+ * Synthetic outcome, for example no_match, missing_attachment,
30
+ * session_expired or response_lost.
29
31
  */
30
- scenario?: "normal" | "sin_registro" | "ambiguo" | "sin_permiso" | "sesion_expirada" | "falta_soporte" | "respuesta_perdida" | "desafio_interactivo" | "conexion_inactiva" | "credencial_rechazada";
32
+ 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";
31
33
  /**
32
34
  * The view.
33
35
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/sdk",
3
- "version": "5.5.0",
3
+ "version": "5.7.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.203956",
60
- "sha256": "8f00e4811ec6105a00d7f80a7cfe19527b49994ed3ce2555d86d415a7bddd284"
59
+ "release": "1.20261031.210042",
60
+ "sha256": "a49d192ebe72709342778d3962fa6098c09f7bb3e1ea1a6ca33efa3b31374316"
61
61
  }
62
62
  }
63
63
  }