@arbol-ai/sdk 5.6.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.
- package/dist/saludTotal/affiliations/index.d.ts +1 -1
- package/dist/saludTotal/affiliations/models.d.ts +1 -5
- package/dist/saludTotal/client.d.ts +2 -0
- package/dist/saludTotal/client.js +5 -0
- package/dist/saludTotal/index.d.ts +1 -1
- package/dist/saludTotal/invoices/client.d.ts +2 -1
- package/dist/saludTotal/invoices/index.d.ts +1 -1
- package/dist/saludTotal/invoices/models.d.ts +1 -10
- package/dist/saludTotal/models.d.ts +13 -0
- package/dist/saludTotal/samples/client.d.ts +45 -0
- package/dist/saludTotal/samples/client.js +19 -0
- package/dist/saludTotal/samples/index.d.ts +5 -0
- package/dist/saludTotal/samples/index.js +4 -0
- package/dist/saludTotal/samples/models.d.ts +138 -0
- package/dist/saludTotal/samples/models.js +10 -0
- package/dist/saludTotal/workflowPreviews/client.d.ts +6 -4
- package/package.json +3 -3
|
@@ -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 {
|
|
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,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
|
},
|
|
@@ -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
|
|
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.
|
|
@@ -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 {
|
|
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
|
*/
|
|
@@ -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,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
|
+
]);
|
|
@@ -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
|
-
*
|
|
24
|
+
* IPS workflow, for example affiliation, authorization, filing, billing or
|
|
25
|
+
* session. Earlier Spanish identifiers are also accepted.
|
|
25
26
|
*/
|
|
26
|
-
workflow: "
|
|
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
|
-
*
|
|
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.
|
|
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.
|
|
60
|
-
"sha256": "
|
|
59
|
+
"release": "1.20261031.210042",
|
|
60
|
+
"sha256": "a49d192ebe72709342778d3962fa6098c09f7bb3e1ea1a6ca33efa3b31374316"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|