@arbol-ai/sdk 5.65.0 → 5.66.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/client.d.ts +2 -0
- package/dist/client.js +5 -0
- package/dist/famisanar/affiliations/client.d.ts +23 -0
- package/dist/famisanar/affiliations/client.js +19 -0
- package/dist/famisanar/affiliations/index.d.ts +5 -0
- package/dist/famisanar/affiliations/index.js +4 -0
- package/dist/famisanar/affiliations/models.d.ts +268 -0
- package/dist/famisanar/affiliations/models.js +7 -0
- package/dist/famisanar/client.d.ts +13 -0
- package/dist/famisanar/client.js +15 -0
- package/dist/famisanar/index.d.ts +4 -0
- package/dist/famisanar/index.js +4 -0
- package/dist/index.d.ts +1 -1
- package/dist/models.d.ts +21 -0
- package/dist/saludTotal/affiliations/models.d.ts +3 -3
- package/dist/saludTotal/authorizations/models.d.ts +4 -4
- package/dist/saludTotal/filings/models.d.ts +3 -3
- package/dist/saludTotal/index.d.ts +1 -1
- package/dist/saludTotal/invoices/models.d.ts +3 -3
- package/dist/saludTotal/models.d.ts +0 -21
- package/dist/saludTotal/notices/models.d.ts +3 -3
- package/package.json +3 -3
package/dist/client.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { type Client as AdresClient } from "./adres/client.js";
|
|
|
4
4
|
import { type Client as AgendaClient } from "./agenda/client.js";
|
|
5
5
|
import { type Client as AxxaClient } from "./axxa/client.js";
|
|
6
6
|
import { type Client as ComfachocoClient } from "./comfachoco/client.js";
|
|
7
|
+
import { type Client as FamisanarClient } from "./famisanar/client.js";
|
|
7
8
|
import { type Client as GmedicClient } from "./gmedic/client.js";
|
|
8
9
|
import { type Client as InsightsClient } from "./insights/client.js";
|
|
9
10
|
import { type Client as NuevaEpsClient } from "./nuevaEps/client.js";
|
|
@@ -28,6 +29,7 @@ export interface Client {
|
|
|
28
29
|
readonly agenda: AgendaClient;
|
|
29
30
|
readonly axxa: AxxaClient;
|
|
30
31
|
readonly comfachoco: ComfachocoClient;
|
|
32
|
+
readonly famisanar: FamisanarClient;
|
|
31
33
|
readonly gmedic: GmedicClient;
|
|
32
34
|
readonly insights: InsightsClient;
|
|
33
35
|
readonly nuevaEps: NuevaEpsClient;
|
package/dist/client.js
CHANGED
|
@@ -6,6 +6,7 @@ import { bind as bindAdres, } from "./adres/client.js";
|
|
|
6
6
|
import { bind as bindAgenda, } from "./agenda/client.js";
|
|
7
7
|
import { bind as bindAxxa } from "./axxa/client.js";
|
|
8
8
|
import { bind as bindComfachoco, } from "./comfachoco/client.js";
|
|
9
|
+
import { bind as bindFamisanar, } from "./famisanar/client.js";
|
|
9
10
|
import { bind as bindGmedic, } from "./gmedic/client.js";
|
|
10
11
|
import { bind as bindInsights, } from "./insights/client.js";
|
|
11
12
|
import { bind as bindNuevaEps, } from "./nuevaEps/client.js";
|
|
@@ -27,6 +28,7 @@ export function bind(transport) {
|
|
|
27
28
|
let agendaClient;
|
|
28
29
|
let axxaClient;
|
|
29
30
|
let comfachocoClient;
|
|
31
|
+
let famisanarClient;
|
|
30
32
|
let gmedicClient;
|
|
31
33
|
let insightsClient;
|
|
32
34
|
let nuevaEpsClient;
|
|
@@ -55,6 +57,9 @@ export function bind(transport) {
|
|
|
55
57
|
get comfachoco() {
|
|
56
58
|
return (comfachocoClient ??= bindComfachoco(transport));
|
|
57
59
|
},
|
|
60
|
+
get famisanar() {
|
|
61
|
+
return (famisanarClient ??= bindFamisanar(transport));
|
|
62
|
+
},
|
|
58
63
|
get gmedic() {
|
|
59
64
|
return (gmedicClient ??= bindGmedic(transport));
|
|
60
65
|
},
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
+
import { type FamisanarLookupAffiliationBody, type FamisanarLookupAffiliationResultResponse } 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
|
+
* Look up affiliation
|
|
12
|
+
*
|
|
13
|
+
* Look up one document using an active IPS connection. The document type
|
|
14
|
+
* defaults to CC. Observations retain their original checkedAt for at most
|
|
15
|
+
* seven days. Set maxAgeDays to zero to refresh. The provider combines
|
|
16
|
+
* missing and invalid records into one outcome.
|
|
17
|
+
*/
|
|
18
|
+
lookup(request: LookupRequest, options?: RequestOptions): Promise<LookupResponse>;
|
|
19
|
+
}
|
|
20
|
+
export declare function createClient(options: ClientOptions): Client;
|
|
21
|
+
export declare function bind(transport: Transport): Client;
|
|
22
|
+
export type LookupRequest = FamisanarLookupAffiliationBody;
|
|
23
|
+
export type LookupResponse = FamisanarLookupAffiliationResultResponse;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Code generated by forge. DO NOT EDIT.
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
import { Transport, } from "../../_/index.js";
|
|
4
|
+
import { FamisanarLookupAffiliationResultResponseCodec, } from "./models.js";
|
|
5
|
+
export function createClient(options) {
|
|
6
|
+
return bind(new Transport(options));
|
|
7
|
+
}
|
|
8
|
+
export function bind(transport) {
|
|
9
|
+
return {
|
|
10
|
+
lookup: (request, options) => transport.send(LookupOperation, request, options),
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
const LookupOperation = {
|
|
14
|
+
method: "POST",
|
|
15
|
+
route: "/v1/famisanar/affiliations/lookup",
|
|
16
|
+
body: "flat",
|
|
17
|
+
response: FamisanarLookupAffiliationResultResponseCodec,
|
|
18
|
+
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 },
|
|
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, LookupRequest, LookupResponse, } from "./client.js";
|
|
5
|
+
export type { FamisanarAccountUnavailableFailure, FamisanarAffiliationUnresolvedFailure, FamisanarConnectionUnavailableError, FamisanarConnectionUnavailableFailure, FamisanarCredentialsRejectedFailure, FamisanarLookupAffiliationBadGatewayError, FamisanarLookupAffiliationBadGatewayFailure, FamisanarLookupAffiliationBody, FamisanarLookupAffiliationForbiddenError, FamisanarLookupAffiliationForbiddenFailure, FamisanarLookupAffiliationResult, FamisanarLookupAffiliationResultResponse, FamisanarLookupAffiliationServiceUnavailableError, FamisanarLookupAffiliationServiceUnavailableFailure, FamisanarProviderAccessDeniedFailure, FamisanarProviderNotConfiguredFailure, FamisanarProviderUnavailableFailure, FamisanarSelectionRequiredError, FamisanarSelectionRequiredFailure, } from "./models.js";
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import type { Empty, ForbiddenFailure, OutcomeUnknownFailure, ResponseMetadata, SessionExpiredFailure, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
/**
|
|
3
|
+
* Account could not verify this connection.
|
|
4
|
+
*/
|
|
5
|
+
export interface FamisanarAccountUnavailableFailure {
|
|
6
|
+
/**
|
|
7
|
+
* The failure code, stable across releases.
|
|
8
|
+
*/
|
|
9
|
+
code: "ACCOUNT_UNAVAILABLE";
|
|
10
|
+
/**
|
|
11
|
+
* No fields.
|
|
12
|
+
*/
|
|
13
|
+
data: Empty;
|
|
14
|
+
/**
|
|
15
|
+
* What went wrong, for people; it never contains input values.
|
|
16
|
+
*/
|
|
17
|
+
message: string;
|
|
18
|
+
/**
|
|
19
|
+
* Whether repeating the same request may succeed.
|
|
20
|
+
*/
|
|
21
|
+
retryable: false;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* The provider returned no confirmed observation.
|
|
25
|
+
*/
|
|
26
|
+
export interface FamisanarAffiliationUnresolvedFailure {
|
|
27
|
+
/**
|
|
28
|
+
* The failure code, stable across releases.
|
|
29
|
+
*/
|
|
30
|
+
code: "AFFILIATION_UNRESOLVED";
|
|
31
|
+
/**
|
|
32
|
+
* No fields.
|
|
33
|
+
*/
|
|
34
|
+
data: Empty;
|
|
35
|
+
/**
|
|
36
|
+
* What went wrong, for people; it never contains input values.
|
|
37
|
+
*/
|
|
38
|
+
message: string;
|
|
39
|
+
/**
|
|
40
|
+
* Whether repeating the same request may succeed.
|
|
41
|
+
*/
|
|
42
|
+
retryable: false;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A failed answer.
|
|
46
|
+
*/
|
|
47
|
+
export interface FamisanarConnectionUnavailableError {
|
|
48
|
+
data: null;
|
|
49
|
+
/**
|
|
50
|
+
* No active Famisanar connection is available.
|
|
51
|
+
*/
|
|
52
|
+
error: FamisanarConnectionUnavailableFailure;
|
|
53
|
+
/**
|
|
54
|
+
* What every answer carries besides its data or error.
|
|
55
|
+
*/
|
|
56
|
+
metadata: ResponseMetadata;
|
|
57
|
+
success: false;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* No active Famisanar connection is available.
|
|
61
|
+
*/
|
|
62
|
+
export interface FamisanarConnectionUnavailableFailure {
|
|
63
|
+
/**
|
|
64
|
+
* The failure code, stable across releases.
|
|
65
|
+
*/
|
|
66
|
+
code: "CONNECTION_UNAVAILABLE";
|
|
67
|
+
/**
|
|
68
|
+
* No fields.
|
|
69
|
+
*/
|
|
70
|
+
data: Empty;
|
|
71
|
+
/**
|
|
72
|
+
* What went wrong, for people; it never contains input values.
|
|
73
|
+
*/
|
|
74
|
+
message: string;
|
|
75
|
+
/**
|
|
76
|
+
* Whether repeating the same request may succeed.
|
|
77
|
+
*/
|
|
78
|
+
retryable: false;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* The provider rejected these credentials.
|
|
82
|
+
*/
|
|
83
|
+
export interface FamisanarCredentialsRejectedFailure {
|
|
84
|
+
/**
|
|
85
|
+
* The failure code, stable across releases.
|
|
86
|
+
*/
|
|
87
|
+
code: "CREDENTIALS_REJECTED";
|
|
88
|
+
/**
|
|
89
|
+
* No fields.
|
|
90
|
+
*/
|
|
91
|
+
data: Empty;
|
|
92
|
+
/**
|
|
93
|
+
* What went wrong, for people; it never contains input values.
|
|
94
|
+
*/
|
|
95
|
+
message: string;
|
|
96
|
+
/**
|
|
97
|
+
* Whether repeating the same request may succeed.
|
|
98
|
+
*/
|
|
99
|
+
retryable: false;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* A failed answer.
|
|
103
|
+
*/
|
|
104
|
+
export interface FamisanarLookupAffiliationBadGatewayError {
|
|
105
|
+
data: null;
|
|
106
|
+
error: FamisanarLookupAffiliationBadGatewayFailure;
|
|
107
|
+
/**
|
|
108
|
+
* What every answer carries besides its data or error.
|
|
109
|
+
*/
|
|
110
|
+
metadata: ResponseMetadata;
|
|
111
|
+
success: false;
|
|
112
|
+
}
|
|
113
|
+
export type FamisanarLookupAffiliationBadGatewayFailure = OutcomeUnknownFailure | FamisanarAffiliationUnresolvedFailure;
|
|
114
|
+
export interface FamisanarLookupAffiliationBody {
|
|
115
|
+
connectionId: string;
|
|
116
|
+
documentNumber: string;
|
|
117
|
+
documentType?: "CC" | "CD" | "CE" | "CN" | "ME" | "NT" | "PC" | "PE" | "PS" | "PT" | "RC" | "SC" | "TI";
|
|
118
|
+
maxAgeDays?: number;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* A failed answer.
|
|
122
|
+
*/
|
|
123
|
+
export interface FamisanarLookupAffiliationForbiddenError {
|
|
124
|
+
data: null;
|
|
125
|
+
error: FamisanarLookupAffiliationForbiddenFailure;
|
|
126
|
+
/**
|
|
127
|
+
* What every answer carries besides its data or error.
|
|
128
|
+
*/
|
|
129
|
+
metadata: ResponseMetadata;
|
|
130
|
+
success: false;
|
|
131
|
+
}
|
|
132
|
+
export type FamisanarLookupAffiliationForbiddenFailure = ForbiddenFailure | FamisanarProviderAccessDeniedFailure | FamisanarCredentialsRejectedFailure;
|
|
133
|
+
export type FamisanarLookupAffiliationResult = {
|
|
134
|
+
checkedAt: Temporal.Instant;
|
|
135
|
+
outcome: "not_found_or_invalid";
|
|
136
|
+
source: "provider" | "cache";
|
|
137
|
+
} | {
|
|
138
|
+
affiliationStatus: string;
|
|
139
|
+
checkedAt: Temporal.Instant;
|
|
140
|
+
outcome: "affiliation_reported";
|
|
141
|
+
source: "provider" | "cache";
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* A successful answer.
|
|
145
|
+
*/
|
|
146
|
+
export interface FamisanarLookupAffiliationResultResponse {
|
|
147
|
+
data: FamisanarLookupAffiliationResult;
|
|
148
|
+
error: null;
|
|
149
|
+
/**
|
|
150
|
+
* What every answer carries besides its data or error.
|
|
151
|
+
*/
|
|
152
|
+
metadata: ResponseMetadata;
|
|
153
|
+
success: true;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* A failed answer.
|
|
157
|
+
*/
|
|
158
|
+
export interface FamisanarLookupAffiliationServiceUnavailableError {
|
|
159
|
+
data: null;
|
|
160
|
+
error: FamisanarLookupAffiliationServiceUnavailableFailure;
|
|
161
|
+
/**
|
|
162
|
+
* What every answer carries besides its data or error.
|
|
163
|
+
*/
|
|
164
|
+
metadata: ResponseMetadata;
|
|
165
|
+
success: false;
|
|
166
|
+
}
|
|
167
|
+
export type FamisanarLookupAffiliationServiceUnavailableFailure = UpstreamUnavailableFailure | FamisanarAccountUnavailableFailure | FamisanarProviderNotConfiguredFailure | FamisanarProviderUnavailableFailure | SessionExpiredFailure;
|
|
168
|
+
/**
|
|
169
|
+
* The provider declined this request.
|
|
170
|
+
*/
|
|
171
|
+
export interface FamisanarProviderAccessDeniedFailure {
|
|
172
|
+
/**
|
|
173
|
+
* The failure code, stable across releases.
|
|
174
|
+
*/
|
|
175
|
+
code: "PROVIDER_ACCESS_DENIED";
|
|
176
|
+
/**
|
|
177
|
+
* No fields.
|
|
178
|
+
*/
|
|
179
|
+
data: Empty;
|
|
180
|
+
/**
|
|
181
|
+
* What went wrong, for people; it never contains input values.
|
|
182
|
+
*/
|
|
183
|
+
message: string;
|
|
184
|
+
/**
|
|
185
|
+
* Whether repeating the same request may succeed.
|
|
186
|
+
*/
|
|
187
|
+
retryable: false;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* The authorized source has not been connected.
|
|
191
|
+
*/
|
|
192
|
+
export interface FamisanarProviderNotConfiguredFailure {
|
|
193
|
+
/**
|
|
194
|
+
* The failure code, stable across releases.
|
|
195
|
+
*/
|
|
196
|
+
code: "PROVIDER_NOT_CONFIGURED";
|
|
197
|
+
/**
|
|
198
|
+
* No fields.
|
|
199
|
+
*/
|
|
200
|
+
data: Empty;
|
|
201
|
+
/**
|
|
202
|
+
* What went wrong, for people; it never contains input values.
|
|
203
|
+
*/
|
|
204
|
+
message: string;
|
|
205
|
+
/**
|
|
206
|
+
* Whether repeating the same request may succeed.
|
|
207
|
+
*/
|
|
208
|
+
retryable: false;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* The provider is unavailable.
|
|
212
|
+
*/
|
|
213
|
+
export interface FamisanarProviderUnavailableFailure {
|
|
214
|
+
/**
|
|
215
|
+
* The failure code, stable across releases.
|
|
216
|
+
*/
|
|
217
|
+
code: "PROVIDER_UNAVAILABLE";
|
|
218
|
+
/**
|
|
219
|
+
* No fields.
|
|
220
|
+
*/
|
|
221
|
+
data: Empty;
|
|
222
|
+
/**
|
|
223
|
+
* What went wrong, for people; it never contains input values.
|
|
224
|
+
*/
|
|
225
|
+
message: string;
|
|
226
|
+
/**
|
|
227
|
+
* Whether repeating the same request may succeed.
|
|
228
|
+
*/
|
|
229
|
+
retryable: false;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* A failed answer.
|
|
233
|
+
*/
|
|
234
|
+
export interface FamisanarSelectionRequiredError {
|
|
235
|
+
data: null;
|
|
236
|
+
/**
|
|
237
|
+
* Choose an unambiguous IPS and active branch for this account.
|
|
238
|
+
*/
|
|
239
|
+
error: FamisanarSelectionRequiredFailure;
|
|
240
|
+
/**
|
|
241
|
+
* What every answer carries besides its data or error.
|
|
242
|
+
*/
|
|
243
|
+
metadata: ResponseMetadata;
|
|
244
|
+
success: false;
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Choose an unambiguous IPS and active branch for this account.
|
|
248
|
+
*/
|
|
249
|
+
export interface FamisanarSelectionRequiredFailure {
|
|
250
|
+
/**
|
|
251
|
+
* The failure code, stable across releases.
|
|
252
|
+
*/
|
|
253
|
+
code: "SELECTION_REQUIRED";
|
|
254
|
+
/**
|
|
255
|
+
* No fields.
|
|
256
|
+
*/
|
|
257
|
+
data: Empty;
|
|
258
|
+
/**
|
|
259
|
+
* What went wrong, for people; it never contains input values.
|
|
260
|
+
*/
|
|
261
|
+
message: string;
|
|
262
|
+
/**
|
|
263
|
+
* Whether repeating the same request may succeed.
|
|
264
|
+
*/
|
|
265
|
+
retryable: false;
|
|
266
|
+
}
|
|
267
|
+
export declare const FamisanarLookupAffiliationResultCodec: import("../../_/codec.js").Codec;
|
|
268
|
+
export declare const FamisanarLookupAffiliationResultResponseCodec: import("../../_/codec.js").Codec;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated by forge. DO NOT EDIT.
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
import { instant, object, union } from "../../_/index.js";
|
|
4
|
+
export const FamisanarLookupAffiliationResultCodec = union([object([["checkedAt", null, instant]]), object([["checkedAt", null, instant]])]);
|
|
5
|
+
export const FamisanarLookupAffiliationResultResponseCodec = object([
|
|
6
|
+
["data", null, () => FamisanarLookupAffiliationResultCodec],
|
|
7
|
+
]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type BaseClientOptions, Transport } from "../_/index.js";
|
|
2
|
+
import { type Client as AffiliationsClient } from "./affiliations/client.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
|
+
readonly affiliations: AffiliationsClient;
|
|
11
|
+
}
|
|
12
|
+
export declare function createClient(options: ClientOptions): Client;
|
|
13
|
+
export declare function bind(transport: Transport): Client;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Code generated by forge. DO NOT EDIT.
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
import { Transport } from "../_/index.js";
|
|
4
|
+
import { bind as bindAffiliations, } from "./affiliations/client.js";
|
|
5
|
+
export function createClient(options) {
|
|
6
|
+
return bind(new Transport(options));
|
|
7
|
+
}
|
|
8
|
+
export function bind(transport) {
|
|
9
|
+
let affiliationsClient;
|
|
10
|
+
return {
|
|
11
|
+
get affiliations() {
|
|
12
|
+
return (affiliationsClient ??= bindAffiliations(transport));
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -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 { Connection, ConnectionNotFoundError, ConnectionNotFoundFailure, ConnectionPage, ConnectionPageResponse, ConnectionResponse, CredentialsRejectedFailure, DeletedObject, DeletedObjectResponse, Empty, ForbiddenError, ForbiddenFailure, HttpsUrl, InternalError, InternalFailure, InvalidInputError, InvalidInputFailure, InvalidInputFailureData, OutcomeUnknownError, OutcomeUnknownFailure, PageInfo, ProviderProtocolChangedFailure, ProviderUnavailableFailure, RateLimitedError, RateLimitedFailure, RequestTooLargeError, RequestTooLargeFailure, ResponseMetadata, SignedUrl, UnauthorizedError, UnauthorizedFailure, UnsupportedMediaTypeError, UnsupportedMediaTypeFailure, UpstreamTimeoutError, UpstreamTimeoutFailure, UpstreamUnavailableError, UpstreamUnavailableFailure, ValidationIssue, VerifyConnectionResult, VerifyConnectionResultResponse, } from "./models.js";
|
|
5
|
+
export type { Connection, ConnectionNotFoundError, ConnectionNotFoundFailure, ConnectionPage, ConnectionPageResponse, ConnectionResponse, CredentialsRejectedFailure, DeletedObject, DeletedObjectResponse, Empty, ForbiddenError, ForbiddenFailure, HttpsUrl, InternalError, InternalFailure, InvalidInputError, InvalidInputFailure, InvalidInputFailureData, OutcomeUnknownError, OutcomeUnknownFailure, PageInfo, ProviderProtocolChangedFailure, ProviderUnavailableFailure, RateLimitedError, RateLimitedFailure, RequestTooLargeError, RequestTooLargeFailure, ResponseMetadata, SessionExpiredFailure, SignedUrl, UnauthorizedError, UnauthorizedFailure, UnsupportedMediaTypeError, UnsupportedMediaTypeFailure, UpstreamTimeoutError, UpstreamTimeoutFailure, UpstreamUnavailableError, UpstreamUnavailableFailure, ValidationIssue, VerifyConnectionResult, VerifyConnectionResultResponse, } from "./models.js";
|
package/dist/models.d.ts
CHANGED
|
@@ -410,6 +410,27 @@ export interface ResponseMetadata {
|
|
|
410
410
|
*/
|
|
411
411
|
requestId: string;
|
|
412
412
|
}
|
|
413
|
+
/**
|
|
414
|
+
* The provider session expired.
|
|
415
|
+
*/
|
|
416
|
+
export interface SessionExpiredFailure {
|
|
417
|
+
/**
|
|
418
|
+
* The failure code, stable across releases.
|
|
419
|
+
*/
|
|
420
|
+
code: "SESSION_EXPIRED";
|
|
421
|
+
/**
|
|
422
|
+
* No fields.
|
|
423
|
+
*/
|
|
424
|
+
data: Empty;
|
|
425
|
+
/**
|
|
426
|
+
* What went wrong, for people; it never contains input values.
|
|
427
|
+
*/
|
|
428
|
+
message: string;
|
|
429
|
+
/**
|
|
430
|
+
* Whether repeating the same request may succeed.
|
|
431
|
+
*/
|
|
432
|
+
retryable: false;
|
|
433
|
+
}
|
|
413
434
|
export interface SignedUrl {
|
|
414
435
|
/**
|
|
415
436
|
* When the URL stops working.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ForbiddenFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
-
import type { SaludTotalAccountUnavailableFailure, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure,
|
|
1
|
+
import type { ForbiddenFailure, RateLimitedFailure, ResponseMetadata, SessionExpiredFailure, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { SaludTotalAccountUnavailableFailure, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure, SaludTotalSiteUnavailableFailure } from "../models.js";
|
|
3
3
|
export interface SaludTotalAffiliationLookup {
|
|
4
4
|
providerStatus: string | null;
|
|
5
5
|
status: "matched" | "no_match" | "ambiguous";
|
|
@@ -62,7 +62,7 @@ export interface SaludTotalLookupAffiliationServiceUnavailableError {
|
|
|
62
62
|
metadata: ResponseMetadata;
|
|
63
63
|
success: false;
|
|
64
64
|
}
|
|
65
|
-
export type SaludTotalLookupAffiliationServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure |
|
|
65
|
+
export type SaludTotalLookupAffiliationServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure | SessionExpiredFailure | SaludTotalProviderUnavailableFailure;
|
|
66
66
|
/**
|
|
67
67
|
* A failed answer.
|
|
68
68
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ForbiddenFailure, PageInfo, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
-
import type { SaludTotalAccountUnavailableFailure, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure,
|
|
1
|
+
import type { ForbiddenFailure, PageInfo, RateLimitedFailure, ResponseMetadata, SessionExpiredFailure, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { SaludTotalAccountUnavailableFailure, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure, SaludTotalSiteUnavailableFailure } from "../models.js";
|
|
3
3
|
export interface SaludTotalAuthorization {
|
|
4
4
|
approvedAt: Temporal.Instant | null;
|
|
5
5
|
document: {
|
|
@@ -98,7 +98,7 @@ export interface SaludTotalListAuthorizationsServiceUnavailableError {
|
|
|
98
98
|
metadata: ResponseMetadata;
|
|
99
99
|
success: false;
|
|
100
100
|
}
|
|
101
|
-
export type SaludTotalListAuthorizationsServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure |
|
|
101
|
+
export type SaludTotalListAuthorizationsServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure | SessionExpiredFailure | SaludTotalProviderUnavailableFailure;
|
|
102
102
|
/**
|
|
103
103
|
* A failed answer.
|
|
104
104
|
*/
|
|
@@ -196,7 +196,7 @@ export interface SaludTotalLookupAuthorizationsServiceUnavailableError {
|
|
|
196
196
|
metadata: ResponseMetadata;
|
|
197
197
|
success: false;
|
|
198
198
|
}
|
|
199
|
-
export type SaludTotalLookupAuthorizationsServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure |
|
|
199
|
+
export type SaludTotalLookupAuthorizationsServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure | SessionExpiredFailure | SaludTotalProviderUnavailableFailure;
|
|
200
200
|
/**
|
|
201
201
|
* A failed answer.
|
|
202
202
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ForbiddenFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
-
import type { SaludTotalAccountUnavailableFailure, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure,
|
|
1
|
+
import type { ForbiddenFailure, RateLimitedFailure, ResponseMetadata, SessionExpiredFailure, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { SaludTotalAccountUnavailableFailure, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure, SaludTotalSiteUnavailableFailure } from "../models.js";
|
|
3
3
|
/**
|
|
4
4
|
* A failed answer.
|
|
5
5
|
*/
|
|
@@ -38,7 +38,7 @@ export interface SaludTotalLookupFilingsServiceUnavailableError {
|
|
|
38
38
|
metadata: ResponseMetadata;
|
|
39
39
|
success: false;
|
|
40
40
|
}
|
|
41
|
-
export type SaludTotalLookupFilingsServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure |
|
|
41
|
+
export type SaludTotalLookupFilingsServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure | SessionExpiredFailure | SaludTotalProviderUnavailableFailure;
|
|
42
42
|
/**
|
|
43
43
|
* A failed answer.
|
|
44
44
|
*/
|
|
@@ -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, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationNotFoundError, SaludTotalAuthorizationNotFoundFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure,
|
|
5
|
+
export type { SaludTotalAccountUnavailableFailure, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationNotFoundError, SaludTotalAuthorizationNotFoundFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure, SaludTotalSiteUnavailableFailure, } from "./models.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ForbiddenFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
-
import type { SaludTotalAccountUnavailableFailure, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure,
|
|
1
|
+
import type { ForbiddenFailure, RateLimitedFailure, ResponseMetadata, SessionExpiredFailure, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { SaludTotalAccountUnavailableFailure, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure, SaludTotalSiteUnavailableFailure } from "../models.js";
|
|
3
3
|
export interface SaludTotalInvoiceLookupInput {
|
|
4
4
|
connectionId: string;
|
|
5
5
|
invoiceNumber: string;
|
|
@@ -62,7 +62,7 @@ export interface SaludTotalLookupInvoiceServiceUnavailableError {
|
|
|
62
62
|
metadata: ResponseMetadata;
|
|
63
63
|
success: false;
|
|
64
64
|
}
|
|
65
|
-
export type SaludTotalLookupInvoiceServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure |
|
|
65
|
+
export type SaludTotalLookupInvoiceServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure | SessionExpiredFailure | SaludTotalProviderUnavailableFailure;
|
|
66
66
|
/**
|
|
67
67
|
* A failed answer.
|
|
68
68
|
*/
|
|
@@ -289,27 +289,6 @@ export interface SaludTotalSessionClosedFailure {
|
|
|
289
289
|
*/
|
|
290
290
|
retryable: false;
|
|
291
291
|
}
|
|
292
|
-
/**
|
|
293
|
-
* The provider session expired.
|
|
294
|
-
*/
|
|
295
|
-
export interface SaludTotalSessionExpiredFailure {
|
|
296
|
-
/**
|
|
297
|
-
* The failure code, stable across releases.
|
|
298
|
-
*/
|
|
299
|
-
code: "SESSION_EXPIRED";
|
|
300
|
-
/**
|
|
301
|
-
* No fields.
|
|
302
|
-
*/
|
|
303
|
-
data: Empty;
|
|
304
|
-
/**
|
|
305
|
-
* What went wrong, for people; it never contains input values.
|
|
306
|
-
*/
|
|
307
|
-
message: string;
|
|
308
|
-
/**
|
|
309
|
-
* Whether repeating the same request may succeed.
|
|
310
|
-
*/
|
|
311
|
-
retryable: false;
|
|
312
|
-
}
|
|
313
292
|
/**
|
|
314
293
|
* This branch or site is not available to the selected IPS connection.
|
|
315
294
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ForbiddenFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
-
import type { SaludTotalAccountUnavailableFailure, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure,
|
|
1
|
+
import type { ForbiddenFailure, RateLimitedFailure, ResponseMetadata, SessionExpiredFailure, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { SaludTotalAccountUnavailableFailure, SaludTotalAuthorizationDocumentUnavailableFailure, SaludTotalAuthorizationStoreUnavailableFailure, SaludTotalConnectionUnavailableFailure, SaludTotalCredentialsRejectedFailure, SaludTotalInteractiveVerificationRequiredFailure, SaludTotalIpsIdentityMismatchFailure, SaludTotalLoginCoolingDownFailure, SaludTotalModuleForbiddenFailure, SaludTotalPortalAccessUnverifiedFailure, SaludTotalProviderUnavailableFailure, SaludTotalSessionClosedFailure, SaludTotalSiteUnavailableFailure } from "../models.js";
|
|
3
3
|
/**
|
|
4
4
|
* A failed answer.
|
|
5
5
|
*/
|
|
@@ -53,7 +53,7 @@ export interface SaludTotalCountNoticesServiceUnavailableError {
|
|
|
53
53
|
metadata: ResponseMetadata;
|
|
54
54
|
success: false;
|
|
55
55
|
}
|
|
56
|
-
export type SaludTotalCountNoticesServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure |
|
|
56
|
+
export type SaludTotalCountNoticesServiceUnavailableFailure = UpstreamUnavailableFailure | SaludTotalAuthorizationStoreUnavailableFailure | SaludTotalAccountUnavailableFailure | SessionExpiredFailure | SaludTotalProviderUnavailableFailure;
|
|
57
57
|
/**
|
|
58
58
|
* A failed answer.
|
|
59
59
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.66.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",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"packageManager": "bun@1.4.3",
|
|
59
59
|
"arbol": {
|
|
60
60
|
"openapi": {
|
|
61
|
-
"release": "1.
|
|
62
|
-
"sha256": "
|
|
61
|
+
"release": "1.20261119.63051",
|
|
62
|
+
"sha256": "c204d1e1544c8d4bdf8c3bcad39f874fb89b16b52908b5f6423f36e915a3cd26"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|