@arbol-ai/sdk 5.2.0 → 5.4.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.
- package/dist/saludTotal/affiliations/client.d.ts +23 -0
- package/dist/saludTotal/affiliations/client.js +18 -0
- package/dist/saludTotal/affiliations/index.d.ts +5 -0
- package/dist/saludTotal/affiliations/index.js +4 -0
- package/dist/saludTotal/affiliations/models.d.ts +78 -0
- package/dist/saludTotal/affiliations/models.js +3 -0
- package/dist/saludTotal/authorizations/client.d.ts +22 -0
- package/dist/saludTotal/authorizations/client.js +20 -0
- package/dist/saludTotal/authorizations/index.d.ts +5 -0
- package/dist/saludTotal/authorizations/index.js +4 -0
- package/dist/saludTotal/authorizations/models.d.ts +54 -0
- package/dist/saludTotal/authorizations/models.js +3 -0
- package/dist/saludTotal/client.d.ts +14 -0
- package/dist/saludTotal/client.js +35 -0
- package/dist/saludTotal/connections/client.js +3 -3
- package/dist/saludTotal/connections/index.d.ts +1 -1
- package/dist/saludTotal/connections/models.d.ts +158 -1
- package/dist/saludTotal/filings/client.d.ts +23 -0
- package/dist/saludTotal/filings/client.js +20 -0
- package/dist/saludTotal/filings/index.d.ts +5 -0
- package/dist/saludTotal/filings/index.js +4 -0
- package/dist/saludTotal/filings/models.d.ts +54 -0
- package/dist/saludTotal/filings/models.js +3 -0
- package/dist/saludTotal/index.d.ts +1 -1
- package/dist/saludTotal/models.d.ts +285 -0
- package/dist/saludTotal/models.js +4 -1
- package/dist/saludTotal/portalOperations/client.d.ts +53 -0
- package/dist/saludTotal/portalOperations/client.js +18 -0
- package/dist/saludTotal/portalOperations/index.d.ts +5 -0
- package/dist/saludTotal/portalOperations/index.js +4 -0
- package/dist/saludTotal/portalOperations/models.d.ts +91 -0
- package/dist/saludTotal/portalOperations/models.js +3 -0
- package/dist/saludTotal/portals/client.js +1 -1
- package/dist/saludTotal/portals/index.d.ts +1 -1
- package/dist/saludTotal/portals/models.d.ts +54 -1
- package/dist/saludTotal/referenceOptions/client.d.ts +49 -0
- package/dist/saludTotal/referenceOptions/client.js +18 -0
- package/dist/saludTotal/referenceOptions/index.d.ts +5 -0
- package/dist/saludTotal/referenceOptions/index.js +4 -0
- package/dist/saludTotal/referenceOptions/models.d.ts +84 -0
- package/dist/saludTotal/referenceOptions/models.js +3 -0
- package/dist/saludTotal/sessions/client.d.ts +41 -0
- package/dist/saludTotal/sessions/client.js +27 -0
- package/dist/saludTotal/sessions/index.d.ts +5 -0
- package/dist/saludTotal/sessions/index.js +4 -0
- package/dist/saludTotal/sessions/models.d.ts +90 -0
- package/dist/saludTotal/sessions/models.js +9 -0
- package/dist/saludTotal/workflowPreviews/client.d.ts +36 -0
- package/dist/saludTotal/workflowPreviews/client.js +18 -0
- package/dist/saludTotal/workflowPreviews/index.d.ts +5 -0
- package/dist/saludTotal/workflowPreviews/index.js +4 -0
- package/dist/saludTotal/workflowPreviews/models.d.ts +69 -0
- package/dist/saludTotal/workflowPreviews/models.js +3 -0
- package/package.json +3 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Code generated by forge. DO NOT EDIT.
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
import { Transport, } from "../../_/index.js";
|
|
4
|
+
export function createClient(options) {
|
|
5
|
+
return bind(new Transport(options));
|
|
6
|
+
}
|
|
7
|
+
export function bind(transport) {
|
|
8
|
+
return {
|
|
9
|
+
list: (request, options) => transport.send(ListOperation, request, options),
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
const ListOperation = {
|
|
13
|
+
method: "GET",
|
|
14
|
+
route: "/v1/salud-total/reference-options",
|
|
15
|
+
query: { cursor: "cursor", direction: "direction", limit: "limit", connectionId: "connectionId", catalog: "catalog", branchId: "branchId" },
|
|
16
|
+
response: null,
|
|
17
|
+
errors: { "400": true, "401": true, "403": true, "409": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
18
|
+
};
|
|
@@ -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 { SaludTotalIpsReference, SaludTotalIpsReferencePage, SaludTotalIpsReferencePageResponse, SaludTotalListReferenceOptionsConflictError, SaludTotalListReferenceOptionsConflictFailure, SaludTotalListReferenceOptionsForbiddenError, SaludTotalListReferenceOptionsForbiddenFailure, SaludTotalListReferenceOptionsServiceUnavailableError, SaludTotalListReferenceOptionsServiceUnavailableFailure, SaludTotalListReferenceOptionsTooManyRequestsError, SaludTotalListReferenceOptionsTooManyRequestsFailure, } from "./models.js";
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { ForbiddenFailure, PageInfo, 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 SaludTotalIpsReference {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
}
|
|
7
|
+
export interface SaludTotalIpsReferencePage {
|
|
8
|
+
/**
|
|
9
|
+
* Items admitted by this resource contract within the verified organization.
|
|
10
|
+
*/
|
|
11
|
+
data: SaludTotalIpsReference[];
|
|
12
|
+
/**
|
|
13
|
+
* Discriminator for a resource list response.
|
|
14
|
+
*/
|
|
15
|
+
object: "list";
|
|
16
|
+
/**
|
|
17
|
+
* Opaque navigation cursors for this page’s stable keyset order.
|
|
18
|
+
*/
|
|
19
|
+
pageInfo: PageInfo;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A successful answer.
|
|
23
|
+
*/
|
|
24
|
+
export interface SaludTotalIpsReferencePageResponse {
|
|
25
|
+
data: SaludTotalIpsReferencePage;
|
|
26
|
+
error: null;
|
|
27
|
+
/**
|
|
28
|
+
* What every answer carries besides its data or error.
|
|
29
|
+
*/
|
|
30
|
+
metadata: ResponseMetadata;
|
|
31
|
+
success: true;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A failed answer.
|
|
35
|
+
*/
|
|
36
|
+
export interface SaludTotalListReferenceOptionsConflictError {
|
|
37
|
+
data: null;
|
|
38
|
+
error: SaludTotalListReferenceOptionsConflictFailure;
|
|
39
|
+
/**
|
|
40
|
+
* What every answer carries besides its data or error.
|
|
41
|
+
*/
|
|
42
|
+
metadata: ResponseMetadata;
|
|
43
|
+
success: false;
|
|
44
|
+
}
|
|
45
|
+
export type SaludTotalListReferenceOptionsConflictFailure = SaludTotalConnectionUnavailableFailure | SaludTotalSessionClosedFailure | SaludTotalInteractiveVerificationRequiredFailure | SaludTotalCredentialsRejectedFailure | SaludTotalIpsIdentityMismatchFailure;
|
|
46
|
+
/**
|
|
47
|
+
* A failed answer.
|
|
48
|
+
*/
|
|
49
|
+
export interface SaludTotalListReferenceOptionsForbiddenError {
|
|
50
|
+
data: null;
|
|
51
|
+
error: SaludTotalListReferenceOptionsForbiddenFailure;
|
|
52
|
+
/**
|
|
53
|
+
* What every answer carries besides its data or error.
|
|
54
|
+
*/
|
|
55
|
+
metadata: ResponseMetadata;
|
|
56
|
+
success: false;
|
|
57
|
+
}
|
|
58
|
+
export type SaludTotalListReferenceOptionsForbiddenFailure = ForbiddenFailure | SaludTotalPortalAccessUnverifiedFailure | SaludTotalModuleForbiddenFailure | SaludTotalSiteUnavailableFailure;
|
|
59
|
+
/**
|
|
60
|
+
* A failed answer.
|
|
61
|
+
*/
|
|
62
|
+
export interface SaludTotalListReferenceOptionsServiceUnavailableError {
|
|
63
|
+
data: null;
|
|
64
|
+
error: SaludTotalListReferenceOptionsServiceUnavailableFailure;
|
|
65
|
+
/**
|
|
66
|
+
* What every answer carries besides its data or error.
|
|
67
|
+
*/
|
|
68
|
+
metadata: ResponseMetadata;
|
|
69
|
+
success: false;
|
|
70
|
+
}
|
|
71
|
+
export type SaludTotalListReferenceOptionsServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAccountUnavailableFailure | SaludTotalSessionExpiredFailure | SaludTotalProviderUnavailableFailure;
|
|
72
|
+
/**
|
|
73
|
+
* A failed answer.
|
|
74
|
+
*/
|
|
75
|
+
export interface SaludTotalListReferenceOptionsTooManyRequestsError {
|
|
76
|
+
data: null;
|
|
77
|
+
error: SaludTotalListReferenceOptionsTooManyRequestsFailure;
|
|
78
|
+
/**
|
|
79
|
+
* What every answer carries besides its data or error.
|
|
80
|
+
*/
|
|
81
|
+
metadata: ResponseMetadata;
|
|
82
|
+
success: false;
|
|
83
|
+
}
|
|
84
|
+
export type SaludTotalListReferenceOptionsTooManyRequestsFailure = RateLimitedFailure | SaludTotalLoginCoolingDownFailure;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
+
import { type SaludTotalCloseConnectionSessionBody, type SaludTotalCloseConnectionSessionResultResponse, type SaludTotalGetConnectionSessionResultResponse } 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
|
+
* Delete sessions
|
|
12
|
+
*
|
|
13
|
+
* Discard the local IPS access token and any pending session acquisition for
|
|
14
|
+
* this connection. A subsequent authorized read may open a new session. This
|
|
15
|
+
* does not disable the Account connection.
|
|
16
|
+
*/
|
|
17
|
+
delete(request: DeleteRequest, options?: RequestOptions): Promise<DeleteResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* List sessions
|
|
20
|
+
*
|
|
21
|
+
* Inspect the local IPS session lease. Closed is normal after expiry or
|
|
22
|
+
* Worker eviction. Never returns a provider token, member identifier or
|
|
23
|
+
* guarantee of authorization.
|
|
24
|
+
*/
|
|
25
|
+
get(request: GetRequest, options?: RequestOptions): Promise<GetResponse>;
|
|
26
|
+
}
|
|
27
|
+
export declare function createClient(options: ClientOptions): Client;
|
|
28
|
+
export declare function bind(transport: Transport): Client;
|
|
29
|
+
export type DeleteRequest = SaludTotalCloseConnectionSessionBody;
|
|
30
|
+
export type DeleteResponse = SaludTotalCloseConnectionSessionResultResponse;
|
|
31
|
+
export interface GetRequest {
|
|
32
|
+
/**
|
|
33
|
+
* The connection id.
|
|
34
|
+
*/
|
|
35
|
+
connectionId: string;
|
|
36
|
+
/**
|
|
37
|
+
* The module.
|
|
38
|
+
*/
|
|
39
|
+
module?: "affiliation" | "filing";
|
|
40
|
+
}
|
|
41
|
+
export type GetResponse = SaludTotalGetConnectionSessionResultResponse;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Code generated by forge. DO NOT EDIT.
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
import { Transport, } from "../../_/index.js";
|
|
4
|
+
import { SaludTotalGetConnectionSessionResultResponseCodec, } from "./models.js";
|
|
5
|
+
export function createClient(options) {
|
|
6
|
+
return bind(new Transport(options));
|
|
7
|
+
}
|
|
8
|
+
export function bind(transport) {
|
|
9
|
+
return {
|
|
10
|
+
delete: (request, options) => transport.send(DeleteOperation, request, options),
|
|
11
|
+
get: (request, options) => transport.send(GetOperation, request, options),
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
const DeleteOperation = {
|
|
15
|
+
method: "DELETE",
|
|
16
|
+
route: "/v1/salud-total/sessions",
|
|
17
|
+
body: "flat",
|
|
18
|
+
response: null,
|
|
19
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "415": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
20
|
+
};
|
|
21
|
+
const GetOperation = {
|
|
22
|
+
method: "GET",
|
|
23
|
+
route: "/v1/salud-total/sessions",
|
|
24
|
+
query: { connectionId: "connectionId", module: "module" },
|
|
25
|
+
response: SaludTotalGetConnectionSessionResultResponseCodec,
|
|
26
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
27
|
+
};
|
|
@@ -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, DeleteRequest, DeleteResponse, GetRequest, GetResponse, } from "./client.js";
|
|
5
|
+
export type { SaludTotalCloseConnectionSessionBody, SaludTotalCloseConnectionSessionConflictError, SaludTotalCloseConnectionSessionConflictFailure, SaludTotalCloseConnectionSessionForbiddenError, SaludTotalCloseConnectionSessionForbiddenFailure, SaludTotalCloseConnectionSessionResult, SaludTotalCloseConnectionSessionResultResponse, SaludTotalCloseConnectionSessionServiceUnavailableError, SaludTotalCloseConnectionSessionServiceUnavailableFailure, SaludTotalCloseConnectionSessionTooManyRequestsError, SaludTotalCloseConnectionSessionTooManyRequestsFailure, SaludTotalGetConnectionSessionResult, SaludTotalGetConnectionSessionResultResponse, } from "./models.js";
|
|
@@ -0,0 +1,90 @@
|
|
|
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 SaludTotalCloseConnectionSessionBody {
|
|
4
|
+
connectionId: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A failed answer.
|
|
8
|
+
*/
|
|
9
|
+
export interface SaludTotalCloseConnectionSessionConflictError {
|
|
10
|
+
data: null;
|
|
11
|
+
error: SaludTotalCloseConnectionSessionConflictFailure;
|
|
12
|
+
/**
|
|
13
|
+
* What every answer carries besides its data or error.
|
|
14
|
+
*/
|
|
15
|
+
metadata: ResponseMetadata;
|
|
16
|
+
success: false;
|
|
17
|
+
}
|
|
18
|
+
export type SaludTotalCloseConnectionSessionConflictFailure = SaludTotalConnectionUnavailableFailure | SaludTotalSessionClosedFailure | SaludTotalInteractiveVerificationRequiredFailure | SaludTotalCredentialsRejectedFailure | SaludTotalIpsIdentityMismatchFailure;
|
|
19
|
+
/**
|
|
20
|
+
* A failed answer.
|
|
21
|
+
*/
|
|
22
|
+
export interface SaludTotalCloseConnectionSessionForbiddenError {
|
|
23
|
+
data: null;
|
|
24
|
+
error: SaludTotalCloseConnectionSessionForbiddenFailure;
|
|
25
|
+
/**
|
|
26
|
+
* What every answer carries besides its data or error.
|
|
27
|
+
*/
|
|
28
|
+
metadata: ResponseMetadata;
|
|
29
|
+
success: false;
|
|
30
|
+
}
|
|
31
|
+
export type SaludTotalCloseConnectionSessionForbiddenFailure = ForbiddenFailure | SaludTotalPortalAccessUnverifiedFailure | SaludTotalModuleForbiddenFailure | SaludTotalSiteUnavailableFailure;
|
|
32
|
+
export interface SaludTotalCloseConnectionSessionResult {
|
|
33
|
+
closed: true;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A successful answer.
|
|
37
|
+
*/
|
|
38
|
+
export interface SaludTotalCloseConnectionSessionResultResponse {
|
|
39
|
+
data: SaludTotalCloseConnectionSessionResult;
|
|
40
|
+
error: null;
|
|
41
|
+
/**
|
|
42
|
+
* What every answer carries besides its data or error.
|
|
43
|
+
*/
|
|
44
|
+
metadata: ResponseMetadata;
|
|
45
|
+
success: true;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A failed answer.
|
|
49
|
+
*/
|
|
50
|
+
export interface SaludTotalCloseConnectionSessionServiceUnavailableError {
|
|
51
|
+
data: null;
|
|
52
|
+
error: SaludTotalCloseConnectionSessionServiceUnavailableFailure;
|
|
53
|
+
/**
|
|
54
|
+
* What every answer carries besides its data or error.
|
|
55
|
+
*/
|
|
56
|
+
metadata: ResponseMetadata;
|
|
57
|
+
success: false;
|
|
58
|
+
}
|
|
59
|
+
export type SaludTotalCloseConnectionSessionServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAccountUnavailableFailure | SaludTotalSessionExpiredFailure | SaludTotalProviderUnavailableFailure;
|
|
60
|
+
/**
|
|
61
|
+
* A failed answer.
|
|
62
|
+
*/
|
|
63
|
+
export interface SaludTotalCloseConnectionSessionTooManyRequestsError {
|
|
64
|
+
data: null;
|
|
65
|
+
error: SaludTotalCloseConnectionSessionTooManyRequestsFailure;
|
|
66
|
+
/**
|
|
67
|
+
* What every answer carries besides its data or error.
|
|
68
|
+
*/
|
|
69
|
+
metadata: ResponseMetadata;
|
|
70
|
+
success: false;
|
|
71
|
+
}
|
|
72
|
+
export type SaludTotalCloseConnectionSessionTooManyRequestsFailure = RateLimitedFailure | SaludTotalLoginCoolingDownFailure;
|
|
73
|
+
export interface SaludTotalGetConnectionSessionResult {
|
|
74
|
+
expiresAt: Temporal.Instant | null;
|
|
75
|
+
status: "open" | "opening" | "closed";
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* A successful answer.
|
|
79
|
+
*/
|
|
80
|
+
export interface SaludTotalGetConnectionSessionResultResponse {
|
|
81
|
+
data: SaludTotalGetConnectionSessionResult;
|
|
82
|
+
error: null;
|
|
83
|
+
/**
|
|
84
|
+
* What every answer carries besides its data or error.
|
|
85
|
+
*/
|
|
86
|
+
metadata: ResponseMetadata;
|
|
87
|
+
success: true;
|
|
88
|
+
}
|
|
89
|
+
export declare const SaludTotalGetConnectionSessionResultCodec: import("../../_/codec.js").Codec;
|
|
90
|
+
export declare const SaludTotalGetConnectionSessionResultResponseCodec: import("../../_/codec.js").Codec;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Code generated by forge. DO NOT EDIT.
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
import { instant, object } from "../../_/index.js";
|
|
4
|
+
export const SaludTotalGetConnectionSessionResultCodec = object([
|
|
5
|
+
["expiresAt", null, instant],
|
|
6
|
+
]);
|
|
7
|
+
export const SaludTotalGetConnectionSessionResultResponseCodec = object([
|
|
8
|
+
["data", null, () => SaludTotalGetConnectionSessionResultCodec],
|
|
9
|
+
]);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
+
import type { SaludTotalPreviewWorkflowResultResponse } 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
|
+
* List workflow previews
|
|
12
|
+
*
|
|
13
|
+
* Simulate an IPS workflow using only enums and local fixtures. One workflow
|
|
14
|
+
* parameter returns one line in Spanish. Optional scenarios include missing
|
|
15
|
+
* records, missing documents, ambiguous matches, permissions, expiry and
|
|
16
|
+
* uncertain responses. No connection or member is contacted.
|
|
17
|
+
*/
|
|
18
|
+
get(request: GetRequest, options?: RequestOptions): Promise<GetResponse>;
|
|
19
|
+
}
|
|
20
|
+
export declare function createClient(options: ClientOptions): Client;
|
|
21
|
+
export declare function bind(transport: Transport): Client;
|
|
22
|
+
export interface GetRequest {
|
|
23
|
+
/**
|
|
24
|
+
* The workflow.
|
|
25
|
+
*/
|
|
26
|
+
workflow: "afiliacion" | "aclaracion" | "sesion" | "autorizacion" | "radicacion" | "seguimiento" | "facturacion" | "glosas" | "direccionamiento" | "remisiones" | "programaciones" | "rips" | "mipres" | "diagnostico";
|
|
27
|
+
/**
|
|
28
|
+
* The scenario.
|
|
29
|
+
*/
|
|
30
|
+
scenario?: "normal" | "sin_registro" | "ambiguo" | "sin_permiso" | "sesion_expirada" | "falta_soporte" | "respuesta_perdida" | "desafio_interactivo" | "conexion_inactiva" | "credencial_rechazada";
|
|
31
|
+
/**
|
|
32
|
+
* The view.
|
|
33
|
+
*/
|
|
34
|
+
view?: "brief" | "trace";
|
|
35
|
+
}
|
|
36
|
+
export type GetResponse = SaludTotalPreviewWorkflowResultResponse;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Code generated by forge. DO NOT EDIT.
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
import { Transport, } from "../../_/index.js";
|
|
4
|
+
export function createClient(options) {
|
|
5
|
+
return bind(new Transport(options));
|
|
6
|
+
}
|
|
7
|
+
export function bind(transport) {
|
|
8
|
+
return {
|
|
9
|
+
get: (request, options) => transport.send(GetOperation, request, options),
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
const GetOperation = {
|
|
13
|
+
method: "GET",
|
|
14
|
+
route: "/v1/salud-total/workflow-previews",
|
|
15
|
+
query: { workflow: "workflow", scenario: "scenario", view: "view" },
|
|
16
|
+
response: null,
|
|
17
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
18
|
+
};
|
|
@@ -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, GetRequest, GetResponse, } from "./client.js";
|
|
5
|
+
export type { SaludTotalPreviewWorkflowConflictError, SaludTotalPreviewWorkflowConflictFailure, SaludTotalPreviewWorkflowForbiddenError, SaludTotalPreviewWorkflowForbiddenFailure, SaludTotalPreviewWorkflowResult, SaludTotalPreviewWorkflowResultResponse, SaludTotalPreviewWorkflowServiceUnavailableError, SaludTotalPreviewWorkflowServiceUnavailableFailure, SaludTotalPreviewWorkflowTooManyRequestsError, SaludTotalPreviewWorkflowTooManyRequestsFailure, } from "./models.js";
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
/**
|
|
4
|
+
* A failed answer.
|
|
5
|
+
*/
|
|
6
|
+
export interface SaludTotalPreviewWorkflowConflictError {
|
|
7
|
+
data: null;
|
|
8
|
+
error: SaludTotalPreviewWorkflowConflictFailure;
|
|
9
|
+
/**
|
|
10
|
+
* What every answer carries besides its data or error.
|
|
11
|
+
*/
|
|
12
|
+
metadata: ResponseMetadata;
|
|
13
|
+
success: false;
|
|
14
|
+
}
|
|
15
|
+
export type SaludTotalPreviewWorkflowConflictFailure = SaludTotalConnectionUnavailableFailure | SaludTotalSessionClosedFailure | SaludTotalInteractiveVerificationRequiredFailure | SaludTotalCredentialsRejectedFailure | SaludTotalIpsIdentityMismatchFailure;
|
|
16
|
+
/**
|
|
17
|
+
* A failed answer.
|
|
18
|
+
*/
|
|
19
|
+
export interface SaludTotalPreviewWorkflowForbiddenError {
|
|
20
|
+
data: null;
|
|
21
|
+
error: SaludTotalPreviewWorkflowForbiddenFailure;
|
|
22
|
+
/**
|
|
23
|
+
* What every answer carries besides its data or error.
|
|
24
|
+
*/
|
|
25
|
+
metadata: ResponseMetadata;
|
|
26
|
+
success: false;
|
|
27
|
+
}
|
|
28
|
+
export type SaludTotalPreviewWorkflowForbiddenFailure = ForbiddenFailure | SaludTotalPortalAccessUnverifiedFailure | SaludTotalModuleForbiddenFailure | SaludTotalSiteUnavailableFailure;
|
|
29
|
+
export interface SaludTotalPreviewWorkflowResult {
|
|
30
|
+
text: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A successful answer.
|
|
34
|
+
*/
|
|
35
|
+
export interface SaludTotalPreviewWorkflowResultResponse {
|
|
36
|
+
data: SaludTotalPreviewWorkflowResult;
|
|
37
|
+
error: null;
|
|
38
|
+
/**
|
|
39
|
+
* What every answer carries besides its data or error.
|
|
40
|
+
*/
|
|
41
|
+
metadata: ResponseMetadata;
|
|
42
|
+
success: true;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A failed answer.
|
|
46
|
+
*/
|
|
47
|
+
export interface SaludTotalPreviewWorkflowServiceUnavailableError {
|
|
48
|
+
data: null;
|
|
49
|
+
error: SaludTotalPreviewWorkflowServiceUnavailableFailure;
|
|
50
|
+
/**
|
|
51
|
+
* What every answer carries besides its data or error.
|
|
52
|
+
*/
|
|
53
|
+
metadata: ResponseMetadata;
|
|
54
|
+
success: false;
|
|
55
|
+
}
|
|
56
|
+
export type SaludTotalPreviewWorkflowServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAccountUnavailableFailure | SaludTotalSessionExpiredFailure | SaludTotalProviderUnavailableFailure;
|
|
57
|
+
/**
|
|
58
|
+
* A failed answer.
|
|
59
|
+
*/
|
|
60
|
+
export interface SaludTotalPreviewWorkflowTooManyRequestsError {
|
|
61
|
+
data: null;
|
|
62
|
+
error: SaludTotalPreviewWorkflowTooManyRequestsFailure;
|
|
63
|
+
/**
|
|
64
|
+
* What every answer carries besides its data or error.
|
|
65
|
+
*/
|
|
66
|
+
metadata: ResponseMetadata;
|
|
67
|
+
success: false;
|
|
68
|
+
}
|
|
69
|
+
export type SaludTotalPreviewWorkflowTooManyRequestsFailure = RateLimitedFailure | SaludTotalLoginCoolingDownFailure;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.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.
|
|
60
|
-
"sha256": "
|
|
59
|
+
"release": "1.20261031.203233",
|
|
60
|
+
"sha256": "01ddc752b22d93e45b40ddfbde67328d0916ef3b9168385e572eb6cfbe73ef7c"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|